@webspatial/builder 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3611e1=_0x1a76;function _0x1a76(_0x130c7d,_0x3bbca4){const _0x2ec980=_0x2ec9();return _0x1a76=function(_0x1a765d,_0x21e748){_0x1a765d=_0x1a765d-0x1a7;let _0x4fbb41=_0x2ec980[_0x1a765d];return _0x4fbb41;},_0x1a76(_0x130c7d,_0x3bbca4);}(function(_0x169f18,_0x2ae4e1){const _0x43e311=_0x1a76,_0x1685e9=_0x169f18();while(!![]){try{const _0x429287=parseInt(_0x43e311(0x1a7))/0x1*(parseInt(_0x43e311(0x1bb))/0x2)+parseInt(_0x43e311(0x1bc))/0x3*(-parseInt(_0x43e311(0x1b4))/0x4)+parseInt(_0x43e311(0x1b7))/0x5+parseInt(_0x43e311(0x1bf))/0x6*(-parseInt(_0x43e311(0x1bd))/0x7)+-parseInt(_0x43e311(0x1ab))/0x8*(parseInt(_0x43e311(0x1ad))/0x9)+parseInt(_0x43e311(0x1b2))/0xa*(-parseInt(_0x43e311(0x1b8))/0xb)+parseInt(_0x43e311(0x1b9))/0xc*(parseInt(_0x43e311(0x1ba))/0xd);if(_0x429287===_0x2ae4e1)break;else _0x1685e9['push'](_0x1685e9['shift']());}catch(_0x451288){_0x1685e9['push'](_0x1685e9['shift']());}}}(_0x2ec9,0x2d7b9));Object['defineProperty'](exports,'__esModule',{'value':!![]});function _0x2ec9(){const _0x2f9435=['11SgUsCV','4707852PwZnNx','13tBcfqj','263844fktvOc','23568tlFwLr','567EVXdxC','Cli','11226RZQOcR','2MeJrbJ','isArray','message','code','920CSYpTE','exit','5544anWaTq','./lib/Cli','error','customMessage','exports','2062030ZTMVWL','CustomError','64ZOhiHm','run','./lib/utils/CustomError','422110ZTXWpH'];_0x2ec9=function(){return _0x2f9435;};return _0x2ec9();}const Cli_1=require(_0x3611e1(0x1ae)),CustomError_1=require(_0x3611e1(0x1b6));module[_0x3611e1(0x1b1)]=async()=>{const _0x3db54b=_0x3611e1,_0x27d8b2=new Cli_1['Cli'](),_0x6fca86=Cli_1[_0x3db54b(0x1be)]['log'],_0xbab15e=process['argv']['slice'](0x2);let _0x3cd261;try{_0x3cd261=await _0x27d8b2[_0x3db54b(0x1b5)](_0xbab15e);}catch(_0x230852){if(_0x230852 instanceof CustomError_1[_0x3db54b(0x1b3)]){const _0x1a33eb=_0x230852[_0x3db54b(0x1b0)];Array[_0x3db54b(0x1a8)](_0x1a33eb)?_0x1a33eb['forEach'](_0x3c96fb=>{const _0x3ae3b3=_0x3db54b;_0x6fca86[_0x3ae3b3(0x1af)](_0x3c96fb[_0x3ae3b3(0x1aa)]+':\x20'+_0x3c96fb['message']);}):_0x6fca86[_0x3db54b(0x1af)](_0x1a33eb[_0x3db54b(0x1aa)]+':\x20'+_0x1a33eb[_0x3db54b(0x1a9)]);}else _0x6fca86['error'](_0x230852[_0x3db54b(0x1a9)]);_0x3cd261=![];}!_0x3cd261?process[_0x3db54b(0x1ac)](0x1):process['exit'](0x0);};
1
+ 'use strict';function _0x43c6(_0x5bed1f,_0x3be326){const _0x554daf=_0x554d();return _0x43c6=function(_0x43c67a,_0xc3ab69){_0x43c67a=_0x43c67a-0xaf;let _0x543ca4=_0x554daf[_0x43c67a];return _0x543ca4;},_0x43c6(_0x5bed1f,_0x3be326);}function _0x554d(){const _0xc2d23e=['__esModule','error','2297TtBVUO','164367MIljRu','defineProperty','12tXtIyP','argv','log','exit','./lib/utils/CustomError','4358228smpnSs','customMessage','code','Cli','8YkmqXe','CustomError','message','exports','991920EynGLp','slice','322LDIKgD','3197100ijVxdq','1023804wlzfXW','./lib/Cli','111400FUupxa'];_0x554d=function(){return _0xc2d23e;};return _0x554d();}const _0x5c62bb=_0x43c6;(function(_0x58a6e9,_0x2a483f){const _0x354125=_0x43c6,_0x3b3b46=_0x58a6e9();while(!![]){try{const _0x5d1e9d=-parseInt(_0x354125(0xb5))/0x1*(-parseInt(_0x354125(0xc7))/0x2)+-parseInt(_0x354125(0xb6))/0x3*(parseInt(_0x354125(0xb8))/0x4)+parseInt(_0x354125(0xb2))/0x5+-parseInt(_0x354125(0xaf))/0x6+-parseInt(_0x354125(0xbd))/0x7*(-parseInt(_0x354125(0xc1))/0x8)+parseInt(_0x354125(0xb0))/0x9+-parseInt(_0x354125(0xc5))/0xa;if(_0x5d1e9d===_0x2a483f)break;else _0x3b3b46['push'](_0x3b3b46['shift']());}catch(_0x350e03){_0x3b3b46['push'](_0x3b3b46['shift']());}}}(_0x554d,0x51110));Object[_0x5c62bb(0xb7)](exports,_0x5c62bb(0xb3),{'value':!![]});const Cli_1=require(_0x5c62bb(0xb1)),CustomError_1=require(_0x5c62bb(0xbc));module[_0x5c62bb(0xc4)]=async()=>{const _0x5c5699=_0x5c62bb,_0x325532=new Cli_1[(_0x5c5699(0xc0))](),_0x592edd=Cli_1[_0x5c5699(0xc0)][_0x5c5699(0xba)],_0xaa412=process[_0x5c5699(0xb9)][_0x5c5699(0xc6)](0x2);let _0x3cd211;try{_0x3cd211=await _0x325532['run'](_0xaa412);}catch(_0x27ba86){if(_0x27ba86 instanceof CustomError_1[_0x5c5699(0xc2)]){const _0x5471ea=_0x27ba86[_0x5c5699(0xbe)];Array['isArray'](_0x5471ea)?_0x5471ea['forEach'](_0x1b7c81=>{const _0x35d9a1=_0x5c5699;_0x592edd[_0x35d9a1(0xb4)](_0x1b7c81[_0x35d9a1(0xbf)]+':\x20'+_0x1b7c81[_0x35d9a1(0xc3)]);}):_0x592edd[_0x5c5699(0xb4)](_0x5471ea[_0x5c5699(0xbf)]+':\x20'+_0x5471ea[_0x5c5699(0xc3)]);}else _0x592edd[_0x5c5699(0xb4)](_0x27ba86[_0x5c5699(0xc3)]);_0x3cd211=![];}!_0x3cd211?process[_0x5c5699(0xbb)](0x1):process[_0x5c5699(0xbb)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x537e49=_0x40cb;function _0x3e26(){const _0x286f56=['node','20yjwJDL','./cmds/build','__esModule','start','setDecompressResponseBuffer','run','fetchUtils','downloadFile','semver','../lib/utils/Log','store','22OSZIBK','length','fetch','10251SJbUHt','242578mPFSVD','setDownloadFile','326052rvDYjL','build','ConsoleLog','5213635pdmliP','./utils/FetchUtils-1','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','defineProperty','3LuNTOU','./cmds/version','974800JhMinY','version','9070zPVlju','versions','major','16dOFvmU','publish','help','setFetch','./cmds/help','Cli','515898EeGWpP','webspatial-builder','1586102CzezGl','./utils/fetch'];_0x3e26=function(){return _0x286f56;};return _0x3e26();}(function(_0x319953,_0x5bbc48){const _0x108470=_0x40cb,_0x2aeca6=_0x319953();while(!![]){try{const _0x5ef192=-parseInt(_0x108470(0x138))/0x1+-parseInt(_0x108470(0x126))/0x2*(-parseInt(_0x108470(0x141))/0x3)+parseInt(_0x108470(0x143))/0x4+-parseInt(_0x108470(0x129))/0x5*(parseInt(_0x108470(0x14e))/0x6)+parseInt(_0x108470(0x13d))/0x7*(parseInt(_0x108470(0x148))/0x8)+parseInt(_0x108470(0x137))/0x9*(-parseInt(_0x108470(0x145))/0xa)+-parseInt(_0x108470(0x134))/0xb*(-parseInt(_0x108470(0x13a))/0xc);if(_0x5ef192===_0x5bbc48)break;else _0x2aeca6['push'](_0x2aeca6['shift']());}catch(_0x554c5e){_0x2aeca6['push'](_0x2aeca6['shift']());}}}(_0x3e26,0xeaa60));Object[_0x537e49(0x140)](exports,_0x537e49(0x12b),{'value':!![]}),exports['Cli']=void 0x0;function _0x40cb(_0x142bec,_0x5924d0){const _0x3e2608=_0x3e26();return _0x40cb=function(_0x40cbe3,_0x206884){_0x40cbe3=_0x40cbe3-0x126;let _0x39fd0b=_0x3e2608[_0x40cbe3];return _0x39fd0b;},_0x40cb(_0x142bec,_0x5924d0);}const minimist=require('minimist'),semver_1=require(_0x537e49(0x131)),Log_1=require(_0x537e49(0x132)),FetchUtils_1_1=require(_0x537e49(0x13e)),help_1=require(_0x537e49(0x14c)),build_1=require(_0x537e49(0x12a)),version_1=require(_0x537e49(0x142)),fetch_1=require(_0x537e49(0x127));class Cli{async[_0x537e49(0x12e)](_0x1fc8ef){const _0x50c691=_0x537e49;if((0x0,semver_1[_0x50c691(0x147)])(process[_0x50c691(0x146)][_0x50c691(0x128)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0x50c691(0x128)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1['fetchUtils'][_0x50c691(0x14b)](fetch_1[_0x50c691(0x136)]),FetchUtils_1_1[_0x50c691(0x12f)][_0x50c691(0x139)](fetch_1[_0x50c691(0x130)]),FetchUtils_1_1['fetchUtils'][_0x50c691(0x12d)](fetch_1['decompressResponseBuffer']);const _0x3984b7=minimist(_0x1fc8ef);let _0x41d7a0=undefined;if(_0x3984b7['_'][_0x50c691(0x135)]===0x0){if(_0x3984b7[_0x50c691(0x144)])_0x41d7a0=_0x50c691(0x144);else _0x3984b7[_0x50c691(0x14a)]&&(_0x41d7a0='help');}else _0x41d7a0=_0x3984b7['_'][0x0];!_0x41d7a0&&(_0x41d7a0=_0x50c691(0x14a));switch(_0x41d7a0){case'help':case'h':return await(0x0,help_1[_0x50c691(0x14a)])(_0x3984b7);case _0x50c691(0x13b):return await(0x0,build_1[_0x50c691(0x12c)])(_0x3984b7);case _0x50c691(0x149):return await(0x0,build_1[_0x50c691(0x133)])(_0x3984b7);case _0x50c691(0x12e):return await(0x0,build_1['run'])(_0x3984b7);case _0x50c691(0x144):{return await(0x0,version_1[_0x50c691(0x144)])();}default:throw new Error('\x22'+_0x41d7a0+_0x50c691(0x13f));}}}exports[_0x537e49(0x14d)]=Cli,Cli['log']=new Log_1[(_0x537e49(0x13c))](_0x537e49(0x14f));
1
+ 'use strict';const _0x184efa=_0x57a1;(function(_0x266ccc,_0xee0d22){const _0x401d84=_0x57a1,_0x10dfc0=_0x266ccc();while(!![]){try{const _0x3ca7f1=-parseInt(_0x401d84(0x1a2))/0x1+parseInt(_0x401d84(0x1ad))/0x2*(parseInt(_0x401d84(0x19e))/0x3)+parseInt(_0x401d84(0x1b9))/0x4+parseInt(_0x401d84(0x1b1))/0x5*(-parseInt(_0x401d84(0x196))/0x6)+-parseInt(_0x401d84(0x19f))/0x7*(-parseInt(_0x401d84(0x1a8))/0x8)+-parseInt(_0x401d84(0x1b2))/0x9*(parseInt(_0x401d84(0x199))/0xa)+parseInt(_0x401d84(0x1b4))/0xb;if(_0x3ca7f1===_0xee0d22)break;else _0x10dfc0['push'](_0x10dfc0['shift']());}catch(_0xca78d1){_0x10dfc0['push'](_0x10dfc0['shift']());}}}(_0x4b7b,0xe2b06));function _0x57a1(_0x3ee9b4,_0x437a2f){const _0x4b7b71=_0x4b7b();return _0x57a1=function(_0x57a16d,_0x42c6db){_0x57a16d=_0x57a16d-0x196;let _0x1d4d63=_0x4b7b71[_0x57a16d];return _0x1d4d63;},_0x57a1(_0x3ee9b4,_0x437a2f);}Object['defineProperty'](exports,_0x184efa(0x1b5),{'value':!![]}),exports[_0x184efa(0x1af)]=void 0x0;const minimist=require(_0x184efa(0x1aa)),semver_1=require(_0x184efa(0x1a3)),Log_1=require(_0x184efa(0x198)),FetchUtils_1_1=require(_0x184efa(0x197)),help_1=require('./cmds/help'),build_1=require('./cmds/build'),version_1=require(_0x184efa(0x1b3)),fetch_1=require(_0x184efa(0x1b6));class Cli{async[_0x184efa(0x1a7)](_0x2c6994){const _0xef34c2=_0x184efa;if((0x0,semver_1['major'])(process[_0xef34c2(0x19a)][_0xef34c2(0x1ab)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0xef34c2(0x1ab)]+'.'+_0xef34c2(0x1b8));FetchUtils_1_1[_0xef34c2(0x1a9)][_0xef34c2(0x19c)](fetch_1[_0xef34c2(0x19d)]),FetchUtils_1_1['fetchUtils']['setDownloadFile'](fetch_1['downloadFile']),FetchUtils_1_1[_0xef34c2(0x1a9)]['setDecompressResponseBuffer'](fetch_1['decompressResponseBuffer']);const _0x125238=minimist(_0x2c6994);let _0x1c43a0=undefined;if(_0x125238['_'][_0xef34c2(0x1a0)]===0x0){if(_0x125238['version'])_0x1c43a0='version';else _0x125238['help']&&(_0x1c43a0=_0xef34c2(0x1b7));}else _0x1c43a0=_0x125238['_'][0x0];!_0x1c43a0&&(_0x1c43a0='help');switch(_0x1c43a0){case _0xef34c2(0x1b7):case'h':return await(0x0,help_1[_0xef34c2(0x1b7)])(_0x125238);case'build':return await(0x0,build_1[_0xef34c2(0x1a1)])(_0x125238);case _0xef34c2(0x1a4):return await(0x0,build_1[_0xef34c2(0x1b0)])(_0x125238);case'run':return await(0x0,build_1['run'])(_0x125238);case _0xef34c2(0x1ae):{return await(0x0,version_1[_0xef34c2(0x1ae)])();}default:throw new Error('\x22'+_0x1c43a0+_0xef34c2(0x19b));}}}exports['Cli']=Cli,Cli[_0x184efa(0x1a6)]=new Log_1[(_0x184efa(0x1ac))](_0x184efa(0x1a5));function _0x4b7b(){const _0x40eefa=['./cmds/version','2642805QuuZqM','__esModule','./utils/fetch','help','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','6830940OUqQCd','10482JLYIhN','./utils/FetchUtils-1','../lib/utils/Log','10RbnIwp','versions','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','setFetch','fetch','9fIvonN','448goFLcM','length','start','686309HsmWGJ','semver','publish','webspatial-builder','log','run','98488RmWRVI','fetchUtils','minimist','node','ConsoleLog','256394hzwAlj','version','Cli','store','355WNMWoW','12434589uyckpJ'];_0x4b7b=function(){return _0x40eefa;};return _0x4b7b();}
@@ -1 +1 @@
1
- 'use strict';function _0x8090(){const _0x4b42dd=['-------------------\x20build\x20start\x20-------------------','generator','18bOpMpa','platform','icons','WebSpatialTest','dist','954pTsJdN','52lqVhBy','./check','log','app-store-connect','runWithSimulator','2718260zHYGRX','checkStoreParams','move\x20web\x20project:\x20ok','19432578vqNuRO','12561oeayrf','export','3736344hAtQjN','json','19525dluNed','moveProjectFrom','upload','ResourceManager','generate\x20icon:\x20ok','length','run','start','XcodeManager','3583671CNsjSh','checkPlatformPath','11588fwzdDU','__esModule','51hEDdxe','buildType','name','store','teamId','defineProperty'];_0x8090=function(){return _0x4b42dd;};return _0x8090();}const _0x41cd33=_0x4792;(function(_0x2c322c,_0x23c62b){const _0x148b3e=_0x4792,_0x368db7=_0x2c322c();while(!![]){try{const _0x535473=parseInt(_0x148b3e(0x128))/0x1*(-parseInt(_0x148b3e(0x126))/0x2)+-parseInt(_0x148b3e(0x13f))/0x3*(-parseInt(_0x148b3e(0x136))/0x4)+-parseInt(_0x148b3e(0x143))/0x5*(parseInt(_0x148b3e(0x135))/0x6)+parseInt(_0x148b3e(0x124))/0x7+-parseInt(_0x148b3e(0x141))/0x8+parseInt(_0x148b3e(0x130))/0x9*(-parseInt(_0x148b3e(0x13b))/0xa)+parseInt(_0x148b3e(0x13e))/0xb;if(_0x535473===_0x23c62b)break;else _0x368db7['push'](_0x368db7['shift']());}catch(_0x5f2d96){_0x368db7['push'](_0x368db7['shift']());}}}(_0x8090,0x6318a));Object[_0x41cd33(0x12d)](exports,_0x41cd33(0x127),{'value':!![]}),exports[_0x41cd33(0x122)]=start,exports[_0x41cd33(0x12b)]=store,exports[_0x41cd33(0x121)]=run;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require('../xcode'),check_1=require(_0x41cd33(0x137));async function start(_0xfb8011,_0x170b25=![]){const _0x4702d3=_0x41cd33;var _0x163d38,_0x389ead;(0x0,check_1['checkBuildParams'])(_0xfb8011,_0x170b25),resource_1[_0x4702d3(0x146)][_0x4702d3(0x125)](_0xfb8011[_0x4702d3(0x131)]),console['log'](_0x4702d3(0x12e));let _0x478d75=await pwa_1['PWAGenerator'][_0x4702d3(0x12f)](_0xfb8011,_0x170b25);!_0x478d75['fromNet']&&(await resource_1[_0x4702d3(0x146)][_0x4702d3(0x144)]((_0x163d38=_0xfb8011['project'])!==null&&_0x163d38!==void 0x0?_0x163d38:_0x4702d3(0x134)),console['log'](_0x4702d3(0x13d)));let _0x11ba66;return((_0x389ead=_0x478d75[_0x4702d3(0x142)][_0x4702d3(0x132)])===null||_0x389ead===void 0x0?void 0x0:_0x389ead[_0x4702d3(0x120)])&&_0x170b25&&(_0x11ba66=await resource_1[_0x4702d3(0x146)]['generateIcon'](_0x478d75)),console[_0x4702d3(0x138)](_0x4702d3(0x147)),await xcode_1['XcodeManager']['parseProject']({'icon':_0x11ba66,'manifestInfo':_0x478d75,'teamId':_0xfb8011[_0x4702d3(0x12c)],'version':_0xfb8011['version'],'buildType':_0xfb8011[_0x4702d3(0x129)],'export':_0xfb8011[_0x4702d3(0x140)]},_0x170b25),console['log']('-------------------\x20build\x20end\x20-------------------'),_0x478d75;}async function store(_0x3b747f){const _0x552fe6=_0x41cd33;resource_1['ResourceManager']['checkPlatformPath'](_0x3b747f[_0x552fe6(0x131)]),(0x0,check_1[_0x552fe6(0x13c)])(_0x3b747f);let _0x262b4f={'name':'WebSpatialTest'};_0x3b747f['buildType']=_0x552fe6(0x139);if(_0x3b747f[_0x552fe6(0x12a)])_0x262b4f[_0x552fe6(0x12a)]=_0x3b747f[_0x552fe6(0x12a)];else{const _0xb3bfd0=await start(_0x3b747f);if(!_0xb3bfd0)return![];_0x262b4f[_0x552fe6(0x12a)]=_0xb3bfd0[_0x552fe6(0x142)][_0x552fe6(0x12a)];}return await xcode_1[_0x552fe6(0x123)][_0x552fe6(0x145)](_0x3b747f,_0x262b4f),!![];}function _0x4792(_0x56f97e,_0x513437){const _0x8090d5=_0x8090();return _0x4792=function(_0x479266,_0x51f80d){_0x479266=_0x479266-0x120;let _0x69edf8=_0x8090d5[_0x479266];return _0x69edf8;},_0x4792(_0x56f97e,_0x513437);}async function run(_0x2e6941){const _0x1d6558=_0x41cd33;let _0x1096bc={'name':_0x1d6558(0x133),'id':''};const _0x2d3516=await start(_0x2e6941,!![]);if(!_0x2d3516)return![];return _0x1096bc['name']=_0x2d3516['json'][_0x1d6558(0x12a)],_0x1096bc['id']=_0x2d3516[_0x1d6558(0x142)]['id'],await xcode_1[_0x1d6558(0x123)][_0x1d6558(0x13a)](_0x1096bc),!![];}
1
+ 'use strict';const _0x44d09a=_0x430a;function _0x30bf(){const _0x50dd9e=['17310yftwFh','upload','icons','name','log','dist','export','PWAGenerator','9ZlnitQ','30wPVRkM','WebSpatialTest','ResourceManager','485qJxOKX','7442144wMaDjF','move\x20web\x20project:\x20ok','../pwa','3227724vOADgz','json','run','__esModule','3ulPOxK','checkBuildParams','2629MjZFdQ','platform','295868uyndyN','../xcode','version','start','fromNet','347963LWgoij','-------------------\x20build\x20start\x20-------------------','moveProjectFrom','1350051pXcrid','91gUeuRS','app-store-connect','length','XcodeManager','checkPlatformPath','1332xQSJQO','-------------------\x20build\x20end\x20-------------------'];_0x30bf=function(){return _0x50dd9e;};return _0x30bf();}(function(_0x5a9406,_0x14120e){const _0x174371=_0x430a,_0x3d5a0c=_0x5a9406();while(!![]){try{const _0x13a67e=parseInt(_0x174371(0x8d))/0x1*(parseInt(_0x174371(0x91))/0x2)+parseInt(_0x174371(0x99))/0x3+-parseInt(_0x174371(0x9f))/0x4*(parseInt(_0x174371(0xad))/0x5)+parseInt(_0x174371(0xaa))/0x6*(parseInt(_0x174371(0x96))/0x7)+-parseInt(_0x174371(0x86))/0x8*(-parseInt(_0x174371(0xa9))/0x9)+-parseInt(_0x174371(0xa1))/0xa*(-parseInt(_0x174371(0x8f))/0xb)+parseInt(_0x174371(0x89))/0xc*(-parseInt(_0x174371(0x9a))/0xd);if(_0x13a67e===_0x14120e)break;else _0x3d5a0c['push'](_0x3d5a0c['shift']());}catch(_0x318937){_0x3d5a0c['push'](_0x3d5a0c['shift']());}}}(_0x30bf,0x8b741));Object['defineProperty'](exports,_0x44d09a(0x8c),{'value':!![]}),exports[_0x44d09a(0x94)]=start,exports['store']=store,exports[_0x44d09a(0x8b)]=run;function _0x430a(_0x10037f,_0x3e731e){const _0x30bfd2=_0x30bf();return _0x430a=function(_0x430ac5,_0x5a8a37){_0x430ac5=_0x430ac5-0x86;let _0x4553e9=_0x30bfd2[_0x430ac5];return _0x4553e9;},_0x430a(_0x10037f,_0x3e731e);}const pwa_1=require(_0x44d09a(0x88)),resource_1=require('../resource'),xcode_1=require(_0x44d09a(0x92)),check_1=require('./check');async function start(_0x557fba,_0x516068=![]){const _0x51ada3=_0x44d09a;var _0x22e9a6,_0x1432e9;(0x0,check_1[_0x51ada3(0x8e)])(_0x557fba,_0x516068),resource_1[_0x51ada3(0xac)][_0x51ada3(0x9e)](_0x557fba[_0x51ada3(0x90)]),console[_0x51ada3(0xa5)](_0x51ada3(0x97));let _0x2559e5=await pwa_1[_0x51ada3(0xa8)]['generator'](_0x557fba,_0x516068);!_0x2559e5[_0x51ada3(0x95)]&&(await resource_1[_0x51ada3(0xac)][_0x51ada3(0x98)]((_0x22e9a6=_0x557fba['project'])!==null&&_0x22e9a6!==void 0x0?_0x22e9a6:_0x51ada3(0xa6)),console[_0x51ada3(0xa5)](_0x51ada3(0x87)));let _0x46d2ec;return((_0x1432e9=_0x2559e5[_0x51ada3(0x8a)][_0x51ada3(0xa3)])===null||_0x1432e9===void 0x0?void 0x0:_0x1432e9[_0x51ada3(0x9c)])&&_0x516068&&(_0x46d2ec=await resource_1[_0x51ada3(0xac)]['generateIcon'](_0x2559e5)),console[_0x51ada3(0xa5)]('generate\x20icon:\x20ok'),await xcode_1[_0x51ada3(0x9d)]['parseProject']({'icon':_0x46d2ec,'manifestInfo':_0x2559e5,'teamId':_0x557fba['teamId'],'version':_0x557fba[_0x51ada3(0x93)],'buildType':_0x557fba['buildType'],'export':_0x557fba[_0x51ada3(0xa7)]},_0x516068),console[_0x51ada3(0xa5)](_0x51ada3(0xa0)),_0x2559e5;}async function store(_0x3d7a0f){const _0x1fd5d5=_0x44d09a;resource_1['ResourceManager']['checkPlatformPath'](_0x3d7a0f['platform']),(0x0,check_1['checkStoreParams'])(_0x3d7a0f);let _0x4bfb95={'name':'WebSpatialTest'};_0x3d7a0f['buildType']=_0x1fd5d5(0x9b);if(_0x3d7a0f[_0x1fd5d5(0xa4)])_0x4bfb95[_0x1fd5d5(0xa4)]=_0x3d7a0f[_0x1fd5d5(0xa4)];else{const _0x4836fe=await start(_0x3d7a0f);if(!_0x4836fe)return![];_0x4bfb95[_0x1fd5d5(0xa4)]=_0x4836fe[_0x1fd5d5(0x8a)][_0x1fd5d5(0xa4)];}return await xcode_1[_0x1fd5d5(0x9d)][_0x1fd5d5(0xa2)](_0x3d7a0f,_0x4bfb95),!![];}async function run(_0x1af037){const _0xca2c25=_0x44d09a;let _0x50f8ca={'name':_0xca2c25(0xab),'id':''};const _0x2c72db=await start(_0x1af037,!![]);if(!_0x2c72db)return![];return _0x50f8ca[_0xca2c25(0xa4)]=_0x2c72db['json'][_0xca2c25(0xa4)],_0x50f8ca['id']=_0x2c72db[_0xca2c25(0x8a)]['id'],await xcode_1['XcodeManager']['runWithSimulator'](_0x50f8ca),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x37b6eb=_0x42e4;(function(_0x3b4c11,_0x3cb797){const _0x13465d=_0x42e4,_0x3baa35=_0x3b4c11();while(!![]){try{const _0x4a5bc5=parseInt(_0x13465d(0x103))/0x1*(parseInt(_0x13465d(0xef))/0x2)+-parseInt(_0x13465d(0xee))/0x3*(-parseInt(_0x13465d(0xfd))/0x4)+parseInt(_0x13465d(0xec))/0x5+parseInt(_0x13465d(0xf8))/0x6+parseInt(_0x13465d(0xfc))/0x7+parseInt(_0x13465d(0xf3))/0x8*(parseInt(_0x13465d(0xed))/0x9)+-parseInt(_0x13465d(0xf4))/0xa*(parseInt(_0x13465d(0xf0))/0xb);if(_0x4a5bc5===_0x3cb797)break;else _0x3baa35['push'](_0x3baa35['shift']());}catch(_0x207662){_0x3baa35['push'](_0x3baa35['shift']());}}}(_0xcc82,0x47ef0));function _0x42e4(_0x2f9620,_0x539237){const _0xcc820=_0xcc82();return _0x42e4=function(_0x42e414,_0x430960){_0x42e414=_0x42e414-0xeb;let _0x5bd21b=_0xcc820[_0x42e414];return _0x5bd21b;},_0x42e4(_0x2f9620,_0x539237);}function _0xcc82(){const _0x17cce3=['validateURL','--teamId\x20is\x20required','2081408ULBXqM','20fINskY','base','hash','manifest-url','--u\x20and\x20--p\x20is\x20required','checkBuildParams','1fQxVDp','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','defineProperty','search','98500BcrTNS','4428279VkQOcg','99531lrMhDg','1048738BsmlHp','407kvbpsa','version','manifest','8wpcJEq','475250UZhtGg','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','__esModule','test','3322416udeBnD','version\x20is\x20required'];_0xcc82=function(){return _0x17cce3;};return _0xcc82();}Object[_0x37b6eb(0x105)](exports,_0x37b6eb(0xf6),{'value':!![]}),exports[_0x37b6eb(0x102)]=checkBuildParams,exports['checkStoreParams']=checkStoreParams;const validate_1=require('../pwa/validate');function checkBuildParams(_0x447032,_0x2fea26=![]){const _0x591719=_0x37b6eb;if(_0x447032[_0x591719(0xf2)]&&_0x447032[_0x591719(0x100)])throw new Error(_0x591719(0x104));if(!_0x447032['teamId']&&!_0x2fea26)throw new Error(_0x591719(0xfb));if(_0x447032[_0x591719(0xfe)]){if((0x0,validate_1[_0x591719(0xfa)])(_0x447032[_0x591719(0xfe)]))try{const _0x2b0d82=new URL(_0x447032[_0x591719(0xfe)]);if(_0x2b0d82[_0x591719(0xeb)]||_0x2b0d82[_0x591719(0xff)])throw new Error(_0x591719(0xf5));}catch(_0x35a472){throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}else{const _0x29982e=/(\?.*|\.\w+|#.*)$/,_0x55dd98=_0x447032[_0x591719(0xfe)]['split']('/')['pop']()||'';if(_0x29982e[_0x591719(0xf7)](_0x55dd98))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x1eb950){const _0xbfa564=_0x37b6eb;if(!(_0x1eb950['u']&&_0x1eb950['p']))throw new Error(_0xbfa564(0x101));if(!_0x1eb950[_0xbfa564(0xf1)])throw new Error(_0xbfa564(0xf9));}
1
+ 'use strict';const _0x1dea52=_0x11b8;(function(_0x2d579f,_0x14a5f7){const _0x108176=_0x11b8,_0x2418de=_0x2d579f();while(!![]){try{const _0x2676c3=-parseInt(_0x108176(0x173))/0x1*(-parseInt(_0x108176(0x170))/0x2)+parseInt(_0x108176(0x163))/0x3*(-parseInt(_0x108176(0x160))/0x4)+parseInt(_0x108176(0x177))/0x5+parseInt(_0x108176(0x174))/0x6*(-parseInt(_0x108176(0x164))/0x7)+parseInt(_0x108176(0x16c))/0x8+-parseInt(_0x108176(0x168))/0x9*(-parseInt(_0x108176(0x178))/0xa)+parseInt(_0x108176(0x176))/0xb;if(_0x2676c3===_0x14a5f7)break;else _0x2418de['push'](_0x2418de['shift']());}catch(_0x415baf){_0x2418de['push'](_0x2418de['shift']());}}}(_0x5860,0xb99d3));Object[_0x1dea52(0x172)](exports,_0x1dea52(0x16a),{'value':!![]}),exports[_0x1dea52(0x175)]=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function _0x11b8(_0x370bc1,_0x55dc23){const _0x586047=_0x5860();return _0x11b8=function(_0x11b860,_0x382f09){_0x11b860=_0x11b860-0x15f;let _0xd623b8=_0x586047[_0x11b860];return _0xd623b8;},_0x11b8(_0x370bc1,_0x55dc23);}const validate_1=require(_0x1dea52(0x169));function checkBuildParams(_0x1d4974,_0x42d26d=![]){const _0x57897c=_0x1dea52;if(_0x1d4974['manifest']&&_0x1d4974[_0x57897c(0x16d)])throw new Error('--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time');if(!_0x1d4974[_0x57897c(0x161)]&&!_0x42d26d)throw new Error(_0x57897c(0x166));if(_0x1d4974[_0x57897c(0x16e)]){if((0x0,validate_1[_0x57897c(0x167)])(_0x1d4974[_0x57897c(0x16e)]))try{const _0x28d12e=new URL(_0x1d4974[_0x57897c(0x16e)]);if(_0x28d12e[_0x57897c(0x15f)]||_0x28d12e[_0x57897c(0x16f)])throw new Error(_0x57897c(0x162));}catch(_0x19edc2){throw new Error(_0x57897c(0x162));}else{const _0x55a7bb=/(\?.*|\.\w+|#.*)$/,_0x247d45=_0x1d4974[_0x57897c(0x16e)]['split']('/')['pop']()||'';if(_0x55a7bb[_0x57897c(0x165)](_0x247d45))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x3f9d82){const _0x45805f=_0x1dea52;if(!(_0x3f9d82['u']&&_0x3f9d82['p']))throw new Error(_0x45805f(0x16b));if(!_0x3f9d82[_0x45805f(0x171)])throw new Error('version\x20is\x20required');}function _0x5860(){const _0x14c94a=['1047750IJoPXn','3693420myiydL','3713210CDzMUO','search','5448baBpXS','teamId','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','516tCtxVP','5614EUPtrr','test','--teamId\x20is\x20required','validateURL','9OMSquv','../pwa/validate','__esModule','--u\x20and\x20--p\x20is\x20required','4611232OmaefP','manifest-url','base','hash','20272YfZlae','version','defineProperty','4tYqkHv','6192NfpWJl','checkBuildParams'];_0x5860=function(){return _0x14c94a;};return _0x5860();}
@@ -1 +1 @@
1
- 'use strict';const _0xae9965=_0x2ec9;(function(_0x2d7ca3,_0x2b33e8){const _0x2da423=_0x2ec9,_0x2e3567=_0x2d7ca3();while(!![]){try{const _0x5ebc94=-parseInt(_0x2da423(0x80))/0x1+-parseInt(_0x2da423(0x76))/0x2*(-parseInt(_0x2da423(0x7b))/0x3)+parseInt(_0x2da423(0x73))/0x4+-parseInt(_0x2da423(0x6f))/0x5+-parseInt(_0x2da423(0x77))/0x6*(parseInt(_0x2da423(0x7f))/0x7)+-parseInt(_0x2da423(0x81))/0x8+parseInt(_0x2da423(0x74))/0x9;if(_0x5ebc94===_0x2b33e8)break;else _0x2e3567['push'](_0x2e3567['shift']());}catch(_0x40a6d2){_0x2e3567['push'](_0x2e3567['shift']());}}}(_0x4414,0x71af3));function _0x2ec9(_0x35bf10,_0x42f248){const _0x44142a=_0x4414();return _0x2ec9=function(_0x2ec9a1,_0x4b18ae){_0x2ec9a1=_0x2ec9a1-0x6b;let _0x2a8981=_0x44142a[_0x2ec9a1];return _0x2a8981;},_0x2ec9(_0x35bf10,_0x42f248);}function _0x4414(){const _0x1f9a80=['99392INsbCq','get','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','build','__esModule','ConsoleLog','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>','dev','help','1774570FBVvmp','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','help\x20................\x20shows\x20this\x20menu','webspatial\x20[command]\x20<options>','2954200iyiRWX','6050970fEDzfy','info','86HtwwMA','6UBxIGy','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','join','main','17718mEEhDt','Usage:','defineProperty','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','4609577osweyi','173338mqLxBz'];_0x4414=function(){return _0x1f9a80;};return _0x4414();}Object[_0xae9965(0x7d)](exports,_0xae9965(0x87),{'value':!![]}),exports[_0xae9965(0x6e)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0xae9965(0x7a),[_0xae9965(0x72),'','',_0xae9965(0x71),_0xae9965(0x83)+_0xae9965(0x85),'run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator',_0xae9965(0x84)][_0xae9965(0x79)]('\x0a')],[_0xae9965(0x86),['Usage:','','',_0xae9965(0x7e),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]']['join']('\x0a')],[_0xae9965(0x6d),[_0xae9965(0x7c),'','',_0xae9965(0x70),'','',_0xae9965(0x78)][_0xae9965(0x79)]('\x0a')],['publish',[_0xae9965(0x7c),'','',_0xae9965(0x6b),'','',_0xae9965(0x6c),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>']['join']('\x0a')]]);async function help(_0x7dfcc0,_0x35deff=new Log_1[(_0xae9965(0x88))](_0xae9965(0x6e))){const _0x2f72e5=_0xae9965,_0xd784f3=_0x7dfcc0['_'][0x1],_0x4cde92=HELP_MESSAGES['get'](_0xd784f3)||HELP_MESSAGES[_0x2f72e5(0x82)](_0x2f72e5(0x7a));return _0x35deff[_0x2f72e5(0x75)](_0x4cde92),!![];}
1
+ 'use strict';function _0x428c(){const _0x58c851=['get','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','join','../utils/Log','2922244rKJGeA','12UMRXNW','build','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','257425ynoBOd','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','main','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','115880Xospli','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>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','1220fASnUb','publish','dev','1CIOUIx','Usage:','help','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','5773284WVTwjM','1306042uewXPg','42ClIgbX','ConsoleLog','info','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','webspatial\x20[command]\x20<options>','223752MKZeKt','93ulSrGE','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','203hUplLb','defineProperty','47993KlbnJh'];_0x428c=function(){return _0x58c851;};return _0x428c();}const _0xc717f=_0x2fbd;(function(_0xbb1fb9,_0x56b695){const _0x2e8f77=_0x2fbd,_0x33cbe8=_0xbb1fb9();while(!![]){try{const _0x47c7a5=-parseInt(_0x2e8f77(0xab))/0x1*(parseInt(_0x2e8f77(0xb0))/0x2)+-parseInt(_0x2e8f77(0xb7))/0x3*(-parseInt(_0x2e8f77(0xa5))/0x4)+-parseInt(_0x2e8f77(0xa0))/0x5*(parseInt(_0x2e8f77(0xb1))/0x6)+parseInt(_0x2e8f77(0xb9))/0x7*(-parseInt(_0x2e8f77(0xb6))/0x8)+parseInt(_0x2e8f77(0xaf))/0x9+parseInt(_0x2e8f77(0xa8))/0xa*(parseInt(_0x2e8f77(0xbb))/0xb)+parseInt(_0x2e8f77(0x9c))/0xc*(parseInt(_0x2e8f77(0x9b))/0xd);if(_0x47c7a5===_0x56b695)break;else _0x33cbe8['push'](_0x33cbe8['shift']());}catch(_0x268a10){_0x33cbe8['push'](_0x33cbe8['shift']());}}}(_0x428c,0x73427));Object[_0xc717f(0xba)](exports,_0xc717f(0x9f),{'value':!![]}),exports[_0xc717f(0xad)]=help;const Log_1=require(_0xc717f(0x9a)),HELP_MESSAGES=new Map([[_0xc717f(0xa2),[_0xc717f(0xb5),'','','help\x20................\x20shows\x20this\x20menu',_0xc717f(0x98)+_0xc717f(0xa4),_0xc717f(0xa7),_0xc717f(0xae)]['join']('\x0a')],[_0xc717f(0x9d),[_0xc717f(0xac),'','',_0xc717f(0xa3),'','',_0xc717f(0xa1)][_0xc717f(0x99)]('\x0a')],[_0xc717f(0xaa),['Usage:','','',_0xc717f(0xb8),'','',_0xc717f(0xb4)]['join']('\x0a')],[_0xc717f(0xa9),['Usage:','','',_0xc717f(0xa6),'','',_0xc717f(0x9e),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0xc717f(0x99)]('\x0a')]]);function _0x2fbd(_0x50e166,_0x3b3b91){const _0x428cdf=_0x428c();return _0x2fbd=function(_0x2fbd36,_0x202f94){_0x2fbd36=_0x2fbd36-0x98;let _0x597f8d=_0x428cdf[_0x2fbd36];return _0x597f8d;},_0x2fbd(_0x50e166,_0x3b3b91);}async function help(_0x295041,_0x391877=new Log_1[(_0xc717f(0xb2))](_0xc717f(0xad))){const _0x2ca30d=_0xc717f,_0x1deac0=_0x295041['_'][0x1],_0x5e86a3=HELP_MESSAGES['get'](_0x1deac0)||HELP_MESSAGES[_0x2ca30d(0xbc)](_0x2ca30d(0xa2));return _0x391877[_0x2ca30d(0xb3)](_0x5e86a3),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x384bd1=_0x32b4;(function(_0xaeb5fd,_0x4aff30){const _0x5ac0fa=_0x32b4,_0x2bbf52=_0xaeb5fd();while(!![]){try{const _0x530041=-parseInt(_0x5ac0fa(0xb7))/0x1*(-parseInt(_0x5ac0fa(0xb3))/0x2)+parseInt(_0x5ac0fa(0xa7))/0x3*(parseInt(_0x5ac0fa(0xbc))/0x4)+-parseInt(_0x5ac0fa(0xae))/0x5*(parseInt(_0x5ac0fa(0xba))/0x6)+-parseInt(_0x5ac0fa(0xb9))/0x7*(parseInt(_0x5ac0fa(0xb1))/0x8)+parseInt(_0x5ac0fa(0xac))/0x9*(-parseInt(_0x5ac0fa(0xab))/0xa)+-parseInt(_0x5ac0fa(0xa9))/0xb*(-parseInt(_0x5ac0fa(0xb8))/0xc)+parseInt(_0x5ac0fa(0xb2))/0xd;if(_0x530041===_0x4aff30)break;else _0x2bbf52['push'](_0x2bbf52['shift']());}catch(_0x27d3f7){_0x2bbf52['push'](_0x2bbf52['shift']());}}}(_0x3146,0x3fcd8));function _0x32b4(_0x5eb3d0,_0x482b8d){const _0x3146fb=_0x3146();return _0x32b4=function(_0x32b4c3,_0x5343ed){_0x32b4c3=_0x32b4c3-0xa6;let _0x476594=_0x3146fb[_0x32b4c3];return _0x476594;},_0x32b4(_0x5eb3d0,_0x482b8d);}Object[_0x384bd1(0xbd)](exports,_0x384bd1(0xb4),{'value':!![]}),exports['version']=version;function _0x3146(){const _0x65810c=['2bjdcUY','__esModule','path','version','338207lWdNoC','69588fvwtPN','1138543ctpHkf','261096CPzoap','../../../package.json','820xrieQj','defineProperty','join','readFile','1611ELOpey','../utils/Log','22TQtIIo','toString','1785390JFXNrY','9twnKiD','promises','5bqQrJp','parse','info','8QoWpUJ','2419950FMxGCJ'];_0x3146=function(){return _0x65810c;};return _0x3146();}const fs=require('fs'),path=require(_0x384bd1(0xb5)),Log_1=require(_0x384bd1(0xa8));async function version(_0x1d756e=new Log_1['ConsoleLog'](_0x384bd1(0xb6))){const _0x1585fc=_0x384bd1,_0x3d342c=path[_0x1585fc(0xbe)](__dirname,_0x1585fc(0xbb)),_0x3e4b88=await(await fs[_0x1585fc(0xad)][_0x1585fc(0xa6)](_0x3d342c))[_0x1585fc(0xaa)](),_0x11dcdc=JSON[_0x1585fc(0xaf)](_0x3e4b88);return _0x1d756e[_0x1585fc(0xb0)](_0x11dcdc[_0x1585fc(0xb6)]),!![];}
1
+ 'use strict';const _0x4b226f=_0x4533;function _0x17af(){const _0x5c9bc4=['1220YFSChj','1bpmjTV','join','readFile','1111WJEWEb','114132UyzclY','574fusmFd','toString','378346MmKTZr','3246qcHaCy','4848590hzEkjT','ConsoleLog','parse','70504eLSKbV','path','../../../package.json','defineProperty','version','__esModule','1070172tRQsWA','info','665217XXerMp','20HtVseL'];_0x17af=function(){return _0x5c9bc4;};return _0x17af();}(function(_0x585c1b,_0x14b598){const _0x5bd60b=_0x4533,_0x4bb88a=_0x585c1b();while(!![]){try{const _0x3643b8=parseInt(_0x5bd60b(0x105))/0x1*(-parseInt(_0x5bd60b(0x10c))/0x2)+-parseInt(_0x5bd60b(0x119))/0x3*(parseInt(_0x5bd60b(0x103))/0x4)+parseInt(_0x5bd60b(0x104))/0x5*(-parseInt(_0x5bd60b(0x10d))/0x6)+-parseInt(_0x5bd60b(0x10a))/0x7*(-parseInt(_0x5bd60b(0x111))/0x8)+-parseInt(_0x5bd60b(0x117))/0x9+parseInt(_0x5bd60b(0x10e))/0xa+parseInt(_0x5bd60b(0x108))/0xb*(parseInt(_0x5bd60b(0x109))/0xc);if(_0x3643b8===_0x14b598)break;else _0x4bb88a['push'](_0x4bb88a['shift']());}catch(_0x2365bb){_0x4bb88a['push'](_0x4bb88a['shift']());}}}(_0x17af,0x9735c));Object[_0x4b226f(0x114)](exports,_0x4b226f(0x116),{'value':!![]}),exports[_0x4b226f(0x115)]=version;function _0x4533(_0x33bbe0,_0x1ae8d3){const _0x17af6d=_0x17af();return _0x4533=function(_0x453372,_0x3c784e){_0x453372=_0x453372-0x103;let _0x2f4b93=_0x17af6d[_0x453372];return _0x2f4b93;},_0x4533(_0x33bbe0,_0x1ae8d3);}const fs=require('fs'),path=require(_0x4b226f(0x112)),Log_1=require('../utils/Log');async function version(_0x56595c=new Log_1[(_0x4b226f(0x10f))](_0x4b226f(0x115))){const _0x578dd8=_0x4b226f,_0x31601d=path[_0x578dd8(0x106)](__dirname,_0x578dd8(0x113)),_0x417abc=await(await fs['promises'][_0x578dd8(0x107)](_0x31601d))[_0x578dd8(0x10b)](),_0x3e079f=JSON[_0x578dd8(0x110)](_0x417abc);return _0x56595c[_0x578dd8(0x118)](_0x3e079f[_0x578dd8(0x115)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x574875=_0x5661;(function(_0x411ae0,_0x2f3526){const _0x164117=_0x5661,_0x52aacd=_0x411ae0();while(!![]){try{const _0xe4816d=-parseInt(_0x164117(0x13a))/0x1*(-parseInt(_0x164117(0x128))/0x2)+parseInt(_0x164117(0x167))/0x3+parseInt(_0x164117(0x125))/0x4*(parseInt(_0x164117(0x12b))/0x5)+-parseInt(_0x164117(0x12d))/0x6*(-parseInt(_0x164117(0x152))/0x7)+parseInt(_0x164117(0x145))/0x8*(parseInt(_0x164117(0x147))/0x9)+-parseInt(_0x164117(0x130))/0xa+-parseInt(_0x164117(0x135))/0xb;if(_0xe4816d===_0x2f3526)break;else _0x52aacd['push'](_0x52aacd['shift']());}catch(_0x32373d){_0x52aacd['push'](_0x52aacd['shift']());}}}(_0x33a1,0x575c4));function _0x5661(_0x395873,_0x2b7e72){const _0x33a18c=_0x33a1();return _0x5661=function(_0x56612c,_0x15367b){_0x56612c=_0x56612c-0x122;let _0x5d2e4c=_0x33a18c[_0x56612c];return _0x5d2e4c;},_0x5661(_0x395873,_0x2b7e72);}Object[_0x574875(0x131)](exports,_0x574875(0x142),{'value':!![]}),exports[_0x574875(0x13b)]=void 0x0,exports['configId']=configId,exports[_0x574875(0x134)]=configStartUrl,exports[_0x574875(0x15e)]=configScope,exports[_0x574875(0x146)]=configDisplay,exports['configMainScene']=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x574875(0x13c)),validate_1=require(_0x574875(0x127)),path_1=require(_0x574875(0x155));function _0x33a1(){const _0x3ae4ed=['pathname','sftp','splice','string','ircs','7RowQTY','indexOf','automatic','path','minimal-ui','parseRouter','matrix','protocol','includes','origin','replace','host','configScope','startsWith','sip','search','urn','width','standalone','bitcoin','join','1013127snTcDS','ssh','mms','news','defaultSize','xr_main_scene','hash','4QFdmnr','length','./validate','10056kEXpch','sms','display','1190185OeGlGi','irc','1520868qrvAyH','height','./static-web','5677360aPmRiR','defineProperty','nntp','mailto','configStartUrl','6012787odEhNX','tel','display_override','com.webspatial.test','resolve','67pGqkHw','safelist','../utils/utils','xmpp','protocol_handlers','url','resizability','default_size','__esModule','start_url','href','3832pugPYj','configDisplay','5751MYGgPb','mainScene','ftps','validateURL','scope','normalize'];_0x33a1=function(){return _0x3ae4ed;};return _0x33a1();}function configId(_0x54360f,_0x155cec,_0x4ba5e4){const _0xb3b14=_0x574875;if(_0x4ba5e4)_0x54360f['id']=_0xb3b14(0x138);else{if(_0x155cec)_0x54360f['id']=_0x155cec;else{const _0xdd7570=new URL(_0x54360f['id']);let _0x52e2a4=_0xdd7570['host']['split']('.')['reverse']();_0x54360f['id']=_0x52e2a4[_0xb3b14(0x166)]('.');}}}function configStartUrl(_0x1b79d4,_0x201a4e){const _0x3937b6=_0x574875,_0x36c169=(0x0,validate_1['validateURL'])(_0x1b79d4['start_url']),_0x1737a6=(0x0,validate_1['validateURL'])(_0x201a4e);let _0x10cacf=_0x1b79d4[_0x3937b6(0x143)];if(!_0x36c169&&!_0x1737a6){const _0x3a79e4=(0x0,path_1[_0x3937b6(0x139)])(_0x3937b6(0x12f)),_0x1c023c=(0x0,path_1['resolve'])(_0x3a79e4,_0x201a4e,_0x10cacf),_0x5d2a0b=(0x0,path_1[_0x3937b6(0x14c)])(_0x1c023c),_0xf5ee7=(0x0,path_1[_0x3937b6(0x166)])(_0x3a79e4,_0x5d2a0b);_0x10cacf=(0x0,path_1['relative'])(process['cwd'](),_0xf5ee7)[_0x3937b6(0x15c)](/^(\.\.\/)+/,'./')[_0x3937b6(0x15c)](/\/$/,'');}else{if(_0x36c169&&!_0x1737a6){const _0x331308=new URL(_0x10cacf),_0x5c34ff=_0x331308[_0x3937b6(0x14d)]+_0x331308[_0x3937b6(0x161)]+_0x331308[_0x3937b6(0x124)];let _0x5e01d8=new URL(_0x201a4e,_0x331308['origin']);_0x10cacf=new URL(_0x5c34ff,_0x5e01d8)[_0x3937b6(0x144)];}else{if(!_0x36c169&&_0x1737a6){if(_0x10cacf[_0x3937b6(0x15f)]('/')){const _0x2c71ba=new URL(_0x201a4e);_0x10cacf=_0x2c71ba[_0x3937b6(0x15b)]+(0x0,path_1[_0x3937b6(0x166)])(_0x2c71ba[_0x3937b6(0x14d)],_0x10cacf);}else _0x10cacf=new URL(_0x10cacf,_0x201a4e)['href'];}else{if(_0x36c169&&_0x1737a6){const _0x138bb6=new URL(_0x10cacf),_0x4718b4=new URL(_0x201a4e),_0xc84abc=_0x138bb6[_0x3937b6(0x14d)]+_0x138bb6['search']+_0x138bb6[_0x3937b6(0x124)];_0x10cacf=new URL(_0xc84abc,_0x4718b4[_0x3937b6(0x15b)]+_0x4718b4['pathname'])[_0x3937b6(0x144)];}}}}return _0x10cacf;}function configScope(_0x347322){const _0x1a12ef=_0x574875;var _0x51fbbc;let _0x406c7d=(_0x51fbbc=_0x347322['scope'])!==null&&_0x51fbbc!==void 0x0?_0x51fbbc:'';const _0x1db855=(0x0,validate_1[_0x1a12ef(0x14a)])(_0x347322['start_url']),_0x509608=(0x0,validate_1['validateURL'])(_0x406c7d);if(_0x1db855&&_0x509608){const _0x1b6044=new URL(_0x406c7d),_0x1676a9=new URL(_0x347322[_0x1a12ef(0x143)]);(_0x1b6044['host']!==_0x1676a9[_0x1a12ef(0x15d)]||_0x347322['start_url'][_0x1a12ef(0x153)](_0x406c7d)!==0x0)&&(_0x406c7d=(0x0,utils_1[_0x1a12ef(0x157)])(_0x347322['start_url']));}else{if(_0x1db855&&!_0x509608)_0x406c7d=new URL(_0x406c7d,_0x347322[_0x1a12ef(0x143)])[_0x1a12ef(0x144)];else{if(!_0x1db855&&_0x509608){const _0x256cac=_0x347322[_0x1a12ef(0x143)][_0x1a12ef(0x15c)](/\/[^\/]+$/,'');_0x406c7d=(0x0,path_1[_0x1a12ef(0x14c)])(_0x256cac+'/');}else _0x406c7d=(0x0,path_1['join'])((0x0,utils_1[_0x1a12ef(0x157)])(_0x347322[_0x1a12ef(0x143)]),_0x406c7d);}}_0x347322[_0x1a12ef(0x14b)]=_0x406c7d;}function configDisplay(_0x35a2bc){const _0x3a0259=_0x574875;let _0x5c379e=_0x35a2bc[_0x3a0259(0x12a)];_0x5c379e!==_0x3a0259(0x156)&&_0x5c379e!=='standalone'&&(_0x5c379e='standalone');if(_0x35a2bc[_0x3a0259(0x137)]&&_0x35a2bc[_0x3a0259(0x137)][_0x3a0259(0x126)]>0x0){const _0x4ad45e=_0x35a2bc['display_override']['indexOf']('minimal-ui'),_0x1a43e9=_0x35a2bc[_0x3a0259(0x137)][_0x3a0259(0x153)](_0x3a0259(0x164));if(_0x4ad45e>=0x0&&_0x1a43e9>=0x0)_0x5c379e=_0x1a43e9>_0x4ad45e?_0x3a0259(0x164):'minimal-ui';else{if(_0x4ad45e>=0x0)_0x5c379e=_0x3a0259(0x156);else _0x1a43e9>=0x0&&(_0x5c379e=_0x3a0259(0x164));}}_0x35a2bc['display']=_0x5c379e;}function configMainScene(_0x3936a8){const _0x3e105c=_0x574875;var _0x59e690,_0x38e8cc;const _0x167682=[_0x3e105c(0x154),'contentMinSize','contentSize'];let _0x522ba0={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x3936a8['xr_main_scene']){if(typeof _0x3936a8[_0x3e105c(0x123)]==='object')_0x522ba0[_0x3e105c(0x122)][_0x3e105c(0x163)]=Number((_0x59e690=_0x3936a8[_0x3e105c(0x123)]['default_size'])===null||_0x59e690===void 0x0?void 0x0:_0x59e690[_0x3e105c(0x163)])>0x0?_0x3936a8[_0x3e105c(0x123)][_0x3e105c(0x141)]['width']:0x500,_0x522ba0[_0x3e105c(0x122)]['height']=Number((_0x38e8cc=_0x3936a8[_0x3e105c(0x123)][_0x3e105c(0x141)])===null||_0x38e8cc===void 0x0?void 0x0:_0x38e8cc['height'])>0x0?_0x3936a8[_0x3e105c(0x123)]['default_size'][_0x3e105c(0x12e)]:0x500,_0x522ba0[_0x3e105c(0x140)]=_0x167682[_0x3e105c(0x15a)](_0x3936a8['xr_main_scene'][_0x3e105c(0x140)])?_0x3936a8[_0x3e105c(0x123)]['resizability']:_0x3e105c(0x154),_0x3936a8['mainScene']=_0x522ba0;else typeof _0x3936a8[_0x3e105c(0x123)]===_0x3e105c(0x150)&&(_0x3936a8[_0x3e105c(0x148)]='dynamic');}}function configDeeplink(_0x4bac31){const _0x13c39c=_0x574875;if(_0x4bac31['protocol_handlers']&&_0x4bac31[_0x13c39c(0x13e)][_0x13c39c(0x126)]>0x0)for(var _0x3386d1=0x0;_0x3386d1<_0x4bac31[_0x13c39c(0x13e)][_0x13c39c(0x126)];_0x3386d1++){const _0x4305ee=_0x4bac31[_0x13c39c(0x13e)][_0x3386d1];if(_0x4305ee[_0x13c39c(0x159)]&&(exports['safelist'][_0x13c39c(0x15a)](_0x4305ee[_0x13c39c(0x159)])||_0x4305ee['protocol']['indexOf']('web+')===0x0)){if(!((0x0,validate_1[_0x13c39c(0x14a)])(_0x4305ee[_0x13c39c(0x13f)])&&_0x4305ee[_0x13c39c(0x13f)][_0x13c39c(0x153)](_0x4bac31[_0x13c39c(0x14b)])<0x0))continue;}_0x4bac31[_0x13c39c(0x13e)][_0x13c39c(0x14f)](_0x3386d1,0x1),_0x3386d1--;}}exports[_0x574875(0x13b)]=[_0x574875(0x165),'ftp',_0x574875(0x149),'geo','im',_0x574875(0x12c),_0x574875(0x151),'magnet',_0x574875(0x133),_0x574875(0x158),_0x574875(0x169),_0x574875(0x16a),_0x574875(0x132),'openpgp4fpr',_0x574875(0x14e),_0x574875(0x160),_0x574875(0x129),'smsto',_0x574875(0x168),_0x574875(0x136),_0x574875(0x162),'webcal','wtai',_0x574875(0x13d)];
1
+ 'use strict';function _0x1323(_0xd612a,_0x55301f){const _0xce2069=_0xce20();return _0x1323=function(_0x1323be,_0x70808c){_0x1323be=_0x1323be-0x15e;let _0x493f52=_0xce2069[_0x1323be];return _0x493f52;},_0x1323(_0xd612a,_0x55301f);}const _0x35eb78=_0x1323;(function(_0x41d4f3,_0x13a8a4){const _0x590e34=_0x1323,_0x304766=_0x41d4f3();while(!![]){try{const _0x18e5fd=parseInt(_0x590e34(0x19c))/0x1+parseInt(_0x590e34(0x176))/0x2+-parseInt(_0x590e34(0x16e))/0x3*(-parseInt(_0x590e34(0x16a))/0x4)+-parseInt(_0x590e34(0x1a9))/0x5+parseInt(_0x590e34(0x198))/0x6+-parseInt(_0x590e34(0x197))/0x7*(parseInt(_0x590e34(0x184))/0x8)+parseInt(_0x590e34(0x189))/0x9*(-parseInt(_0x590e34(0x164))/0xa);if(_0x18e5fd===_0x13a8a4)break;else _0x304766['push'](_0x304766['shift']());}catch(_0x397d25){_0x304766['push'](_0x304766['shift']());}}}(_0xce20,0xf088b));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x35eb78(0x19d)]=void 0x0,exports[_0x35eb78(0x193)]=configId,exports[_0x35eb78(0x175)]=configStartUrl,exports[_0x35eb78(0x168)]=configScope,exports['configDisplay']=configDisplay,exports[_0x35eb78(0x18e)]=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x35eb78(0x1ab)),validate_1=require('./validate'),path_1=require(_0x35eb78(0x1a7));function configId(_0x559556,_0x43549b,_0x4f1077){const _0x473e74=_0x35eb78;if(_0x4f1077)_0x559556['id']=_0x473e74(0x191);else{if(_0x43549b)_0x559556['id']=_0x43549b;else{const _0x574ba0=new URL(_0x559556['id']);let _0xb0aac=_0x574ba0[_0x473e74(0x174)][_0x473e74(0x179)]('.')[_0x473e74(0x186)]();_0x559556['id']=_0xb0aac[_0x473e74(0x19f)]('.');}}}function configStartUrl(_0x174369,_0x405e4d){const _0x36bf57=_0x35eb78,_0x1548c7=(0x0,validate_1['validateURL'])(_0x174369[_0x36bf57(0x185)]),_0x5eb1d1=(0x0,validate_1['validateURL'])(_0x405e4d);let _0x557ffd=_0x174369['start_url'];if(!_0x1548c7&&!_0x5eb1d1){const _0x62a1c5=(0x0,path_1[_0x36bf57(0x15f)])(_0x36bf57(0x18d)),_0x6c9927=(0x0,path_1[_0x36bf57(0x15f)])(_0x62a1c5,_0x405e4d,_0x557ffd),_0x47b029=(0x0,path_1[_0x36bf57(0x17f)])(_0x6c9927),_0x270646=(0x0,path_1['join'])(_0x62a1c5,_0x47b029);_0x557ffd=(0x0,path_1[_0x36bf57(0x170)])(process[_0x36bf57(0x1aa)](),_0x270646)[_0x36bf57(0x18c)](/^(\.\.\/)+/,'./')[_0x36bf57(0x18c)](/\/$/,'');}else{if(_0x1548c7&&!_0x5eb1d1){const _0x298f7f=new URL(_0x557ffd),_0x1d6009=_0x298f7f[_0x36bf57(0x182)]+_0x298f7f['search']+_0x298f7f[_0x36bf57(0x161)];let _0x16ec1c=new URL(_0x405e4d,_0x298f7f[_0x36bf57(0x17e)]);_0x557ffd=new URL(_0x1d6009,_0x16ec1c)[_0x36bf57(0x196)];}else{if(!_0x1548c7&&_0x5eb1d1){if(_0x557ffd[_0x36bf57(0x195)]('/')){const _0x53b1d2=new URL(_0x405e4d);_0x557ffd=_0x53b1d2[_0x36bf57(0x17e)]+(0x0,path_1['join'])(_0x53b1d2[_0x36bf57(0x182)],_0x557ffd);}else _0x557ffd=new URL(_0x557ffd,_0x405e4d)[_0x36bf57(0x196)];}else{if(_0x1548c7&&_0x5eb1d1){const _0x11c9aa=new URL(_0x557ffd),_0x3a01b4=new URL(_0x405e4d),_0x464ee2=_0x11c9aa['pathname']+_0x11c9aa['search']+_0x11c9aa[_0x36bf57(0x161)];_0x557ffd=new URL(_0x464ee2,_0x3a01b4[_0x36bf57(0x17e)]+_0x3a01b4['pathname'])[_0x36bf57(0x196)];}}}}return _0x557ffd;}function configScope(_0x1e93b7){const _0x5970db=_0x35eb78;var _0x37b550;let _0x28ae58=(_0x37b550=_0x1e93b7[_0x5970db(0x15e)])!==null&&_0x37b550!==void 0x0?_0x37b550:'';const _0x22c943=(0x0,validate_1[_0x5970db(0x1a3)])(_0x1e93b7[_0x5970db(0x185)]),_0x2b76a2=(0x0,validate_1[_0x5970db(0x1a3)])(_0x28ae58);if(_0x22c943&&_0x2b76a2){const _0x5c5b41=new URL(_0x28ae58),_0x82c14e=new URL(_0x1e93b7[_0x5970db(0x185)]);(_0x5c5b41[_0x5970db(0x174)]!==_0x82c14e['host']||_0x1e93b7[_0x5970db(0x185)][_0x5970db(0x178)](_0x28ae58)!==0x0)&&(_0x28ae58=(0x0,utils_1['parseRouter'])(_0x1e93b7[_0x5970db(0x185)]));}else{if(_0x22c943&&!_0x2b76a2)_0x28ae58=new URL(_0x28ae58,_0x1e93b7[_0x5970db(0x185)])[_0x5970db(0x196)];else{if(!_0x22c943&&_0x2b76a2){const _0x534663=_0x1e93b7['start_url'][_0x5970db(0x18c)](/\/[^\/]+$/,'');_0x28ae58=(0x0,path_1[_0x5970db(0x17f)])(_0x534663+'/');}else _0x28ae58=(0x0,path_1[_0x5970db(0x19f)])((0x0,utils_1['parseRouter'])(_0x1e93b7[_0x5970db(0x185)]),_0x28ae58);}}_0x1e93b7[_0x5970db(0x15e)]=_0x28ae58;}function _0xce20(){const _0x255eec=['standalone','2167180EHsAah','cwd','../utils/utils','contentMinSize','scope','resolve','ssh','hash','mailto','display','1390LfzsIE','protocol','magnet','nntp','configScope','height','4kiWFTh','resizability','width','mms','1094529AqlbkF','tel','relative','news','urn','display_override','host','configStartUrl','2867974pRaFny','matrix','indexOf','split','sms','splice','ftps','minimal-ui','origin','normalize','mainScene','length','pathname','dynamic','38936MabkXl','start_url','reverse','url','automatic','182178EdbRxA','object','ircs','replace','./static-web','configMainScene','openpgp4fpr','xr_main_scene','com.webspatial.test','bitcoin','configId','webcal','startsWith','href','1050CZwhka','9265092ddwkrr','protocol_handlers','sip','includes','1619339tSmMgL','safelist','irc','join','string','wtai','defaultSize','validateURL','default_size','geo','contentSize','path'];_0xce20=function(){return _0x255eec;};return _0xce20();}function configDisplay(_0x5524be){const _0x5347ba=_0x35eb78;let _0x48f96d=_0x5524be[_0x5347ba(0x163)];_0x48f96d!=='minimal-ui'&&_0x48f96d!==_0x5347ba(0x1a8)&&(_0x48f96d=_0x5347ba(0x1a8));if(_0x5524be[_0x5347ba(0x173)]&&_0x5524be['display_override']['length']>0x0){const _0x49de08=_0x5524be[_0x5347ba(0x173)][_0x5347ba(0x178)](_0x5347ba(0x17d)),_0x42d1fa=_0x5524be[_0x5347ba(0x173)]['indexOf'](_0x5347ba(0x1a8));if(_0x49de08>=0x0&&_0x42d1fa>=0x0)_0x48f96d=_0x42d1fa>_0x49de08?'standalone':'minimal-ui';else{if(_0x49de08>=0x0)_0x48f96d=_0x5347ba(0x17d);else _0x42d1fa>=0x0&&(_0x48f96d='standalone');}}_0x5524be[_0x5347ba(0x163)]=_0x48f96d;}function configMainScene(_0x2398ce){const _0x40692d=_0x35eb78;var _0x37e6a2,_0x5e9b56;const _0x1ffe39=['automatic',_0x40692d(0x1ac),_0x40692d(0x1a6)];let _0x564572={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x40692d(0x188)};if(_0x2398ce[_0x40692d(0x190)]){if(typeof _0x2398ce[_0x40692d(0x190)]===_0x40692d(0x18a))_0x564572[_0x40692d(0x1a2)][_0x40692d(0x16c)]=Number((_0x37e6a2=_0x2398ce[_0x40692d(0x190)][_0x40692d(0x1a4)])===null||_0x37e6a2===void 0x0?void 0x0:_0x37e6a2[_0x40692d(0x16c)])>0x0?_0x2398ce[_0x40692d(0x190)]['default_size'][_0x40692d(0x16c)]:0x500,_0x564572[_0x40692d(0x1a2)][_0x40692d(0x169)]=Number((_0x5e9b56=_0x2398ce[_0x40692d(0x190)][_0x40692d(0x1a4)])===null||_0x5e9b56===void 0x0?void 0x0:_0x5e9b56[_0x40692d(0x169)])>0x0?_0x2398ce[_0x40692d(0x190)]['default_size'][_0x40692d(0x169)]:0x500,_0x564572['resizability']=_0x1ffe39['includes'](_0x2398ce[_0x40692d(0x190)][_0x40692d(0x16b)])?_0x2398ce[_0x40692d(0x190)]['resizability']:_0x40692d(0x188),_0x2398ce['mainScene']=_0x564572;else typeof _0x2398ce[_0x40692d(0x190)]===_0x40692d(0x1a0)&&(_0x2398ce[_0x40692d(0x180)]=_0x40692d(0x183));}}function configDeeplink(_0x23aa60){const _0x2b0dfb=_0x35eb78;if(_0x23aa60[_0x2b0dfb(0x199)]&&_0x23aa60[_0x2b0dfb(0x199)][_0x2b0dfb(0x181)]>0x0)for(var _0xa4073=0x0;_0xa4073<_0x23aa60[_0x2b0dfb(0x199)][_0x2b0dfb(0x181)];_0xa4073++){const _0x5aa563=_0x23aa60[_0x2b0dfb(0x199)][_0xa4073];if(_0x5aa563[_0x2b0dfb(0x165)]&&(exports[_0x2b0dfb(0x19d)][_0x2b0dfb(0x19b)](_0x5aa563[_0x2b0dfb(0x165)])||_0x5aa563['protocol']['indexOf']('web+')===0x0)){if(!((0x0,validate_1[_0x2b0dfb(0x1a3)])(_0x5aa563[_0x2b0dfb(0x187)])&&_0x5aa563[_0x2b0dfb(0x187)][_0x2b0dfb(0x178)](_0x23aa60[_0x2b0dfb(0x15e)])<0x0))continue;}_0x23aa60[_0x2b0dfb(0x199)][_0x2b0dfb(0x17b)](_0xa4073,0x1),_0xa4073--;}}exports[_0x35eb78(0x19d)]=[_0x35eb78(0x192),'ftp',_0x35eb78(0x17c),_0x35eb78(0x1a5),'im',_0x35eb78(0x19e),_0x35eb78(0x18b),_0x35eb78(0x166),_0x35eb78(0x162),_0x35eb78(0x177),_0x35eb78(0x16d),_0x35eb78(0x171),_0x35eb78(0x167),_0x35eb78(0x18f),'sftp',_0x35eb78(0x19a),_0x35eb78(0x17a),'smsto',_0x35eb78(0x160),_0x35eb78(0x16f),_0x35eb78(0x172),_0x35eb78(0x194),_0x35eb78(0x1a1),'xmpp'];
@@ -1 +1 @@
1
- 'use strict';const _0x2d2a32=_0x3cd2;(function(_0x467c04,_0x56b761){const _0x29bb4b=_0x3cd2,_0x4b437f=_0x467c04();while(!![]){try{const _0x1ab717=parseInt(_0x29bb4b(0xe0))/0x1*(parseInt(_0x29bb4b(0xf5))/0x2)+parseInt(_0x29bb4b(0xf1))/0x3*(parseInt(_0x29bb4b(0xe8))/0x4)+parseInt(_0x29bb4b(0x105))/0x5+parseInt(_0x29bb4b(0xe6))/0x6*(parseInt(_0x29bb4b(0xf9))/0x7)+-parseInt(_0x29bb4b(0xeb))/0x8+-parseInt(_0x29bb4b(0xf7))/0x9*(parseInt(_0x29bb4b(0xfa))/0xa)+parseInt(_0x29bb4b(0xf6))/0xb*(-parseInt(_0x29bb4b(0xfd))/0xc);if(_0x1ab717===_0x56b761)break;else _0x4b437f['push'](_0x4b437f['shift']());}catch(_0x5b9f7d){_0x4b437f['push'](_0x4b437f['shift']());}}}(_0x5bfa,0x92fde));Object[_0x2d2a32(0xf2)](exports,_0x2d2a32(0xea),{'value':!![]}),exports['PWAGenerator']=void 0x0;function _0x3cd2(_0x366349,_0x5bbd3a){const _0x5bfa65=_0x5bfa();return _0x3cd2=function(_0x3cd2d9,_0x466b03){_0x3cd2d9=_0x3cd2d9-0xd6;let _0x10e7a6=_0x5bfa65[_0x3cd2d9];return _0x10e7a6;},_0x3cd2(_0x366349,_0x5bbd3a);}const path_1=require('path'),config_1=require(_0x2d2a32(0xe2)),load_1=require('../resource/load'),validate_1=require(_0x2d2a32(0xfc)),fs=require('fs'),Cli_1=require('../Cli');function _0x5bfa(){const _0x51df82=['generator','135053zMPJHH','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','./config','checkId','WebSpatialTest','bundle-id','6TZAgpl','DisplayModes','4wARLpa','useDefaultManifestJson','__esModule','2758024kthshC','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','loadJsonFromNet','join','json','configId','1853559ZAxZTR','defineProperty','configDeeplink','manifest','14JOeLiu','551254KELYkG','2421vxNAXU','log','5895813kEUTrc','7310TUWKwF','warn','./validate','564jQHhxc','minimal-ui','cwd','config','public/manifest.webmanifest','Cli','existsSync','configScope','5466725VwwnHr','base','manifest-url','start_url','PWAGenerator','checkIcons','validate','checkStartUrl','configMainScene','defaultManifestJson','loadJsonFromDisk'];_0x5bfa=function(){return _0x51df82;};return _0x5bfa();}class PWAGenerator{static async[_0x2d2a32(0xdf)](_0x35bffb,_0x19cc63=![]){const _0x17d142=_0x2d2a32;let _0x2c9bb2=await this[_0x17d142(0xda)](_0x35bffb,_0x19cc63);return console[_0x17d142(0xf8)]('check\x20manifest.json:\x20ok'),await this[_0x17d142(0x100)](_0x2c9bb2,_0x35bffb,_0x19cc63),console[_0x17d142(0xf8)]('reset\x20manifest.json:\x20ok'),_0x2c9bb2;}static async[_0x2d2a32(0xda)](_0x44ae15,_0x37bdcb=![]){const _0x48787c=_0x2d2a32;var _0x298e29,_0x4d6c5e;let _0x382b82={},_0x53c2ba='',_0x435993=![],_0x5e0a22=![];if(_0x44ae15['manifest-url'])_0x53c2ba=_0x44ae15[_0x48787c(0xd6)],_0x435993=!![],_0x382b82=await(0x0,load_1[_0x48787c(0xed)])(_0x44ae15[_0x48787c(0xd6)]);else{_0x44ae15[_0x48787c(0xf4)]?_0x53c2ba=(0x0,path_1[_0x48787c(0xee)])(process['cwd'](),_0x44ae15[_0x48787c(0xf4)]):(_0x53c2ba=(0x0,path_1[_0x48787c(0xee)])(process[_0x48787c(0xff)](),'public/manifest.json'),!fs[_0x48787c(0x103)](_0x53c2ba)&&(_0x53c2ba=(0x0,path_1[_0x48787c(0xee)])(process[_0x48787c(0xff)](),_0x48787c(0x101))));if(!fs['existsSync'](_0x53c2ba)){if(_0x37bdcb)_0x5e0a22=!![],Cli_1[_0x48787c(0x102)][_0x48787c(0xf8)][_0x48787c(0xfb)](_0x48787c(0xe1));else throw new Error(_0x48787c(0xec));}_0x382b82=_0x5e0a22?this[_0x48787c(0xdd)]:await(0x0,load_1[_0x48787c(0xde)])(_0x53c2ba),this[_0x48787c(0xe9)]=_0x5e0a22;}(0x0,validate_1['checkManifestJson'])(_0x382b82,_0x37bdcb);let _0x40bd9b=(0x0,config_1['configStartUrl'])(_0x382b82,(_0x298e29=_0x44ae15[_0x48787c(0x106)])!==null&&_0x298e29!==void 0x0?_0x298e29:'');var _0x1fccbd=(0x0,validate_1[_0x48787c(0xdb)])(_0x40bd9b,_0x53c2ba,_0x435993,_0x37bdcb);_0x382b82[_0x48787c(0xd7)]=_0x40bd9b;if(!_0x37bdcb)(0x0,validate_1[_0x48787c(0xe3)])(_0x382b82,(_0x4d6c5e=_0x44ae15[_0x48787c(0xe5)])!==null&&_0x4d6c5e!==void 0x0?_0x4d6c5e:'');return await(0x0,validate_1[_0x48787c(0xd9)])(_0x382b82,_0x53c2ba,_0x37bdcb),{'json':_0x382b82,'url':_0x53c2ba,'fromNet':_0x1fccbd};}static[_0x2d2a32(0x100)](_0x41253d,_0x116a6a,_0x204121){const _0x3660d8=_0x2d2a32;var _0x3f8e85;(0x0,config_1[_0x3660d8(0xf0)])(_0x41253d[_0x3660d8(0xef)],(_0x3f8e85=_0x116a6a[_0x3660d8(0xe5)])!==null&&_0x3f8e85!==void 0x0?_0x3f8e85:'',_0x204121),(0x0,config_1[_0x3660d8(0x104)])(_0x41253d[_0x3660d8(0xef)]),(0x0,config_1['configDisplay'])(_0x41253d[_0x3660d8(0xef)]),(0x0,config_1[_0x3660d8(0xf3)])(_0x41253d[_0x3660d8(0xef)]),(0x0,config_1[_0x3660d8(0xdc)])(_0x41253d[_0x3660d8(0xef)]);}}exports[_0x2d2a32(0xd8)]=PWAGenerator,PWAGenerator[_0x2d2a32(0xe7)]=['standalone',_0x2d2a32(0xfe)],PWAGenerator['defaultManifestJson']={'name':_0x2d2a32(0xe4),'display':_0x2d2a32(0xfe),'start_url':'/','scope':'/'},PWAGenerator[_0x2d2a32(0xe9)]=![];
1
+ 'use strict';const _0x2678fa=_0x2401;(function(_0xafaefc,_0xb69e9e){const _0xb6459a=_0x2401,_0x1c72a1=_0xafaefc();while(!![]){try{const _0x5ddae4=parseInt(_0xb6459a(0xca))/0x1+-parseInt(_0xb6459a(0xeb))/0x2*(-parseInt(_0xb6459a(0xd9))/0x3)+-parseInt(_0xb6459a(0xde))/0x4+-parseInt(_0xb6459a(0xea))/0x5+parseInt(_0xb6459a(0xd0))/0x6+parseInt(_0xb6459a(0xf0))/0x7+-parseInt(_0xb6459a(0xe9))/0x8;if(_0x5ddae4===_0xb69e9e)break;else _0x1c72a1['push'](_0x1c72a1['shift']());}catch(_0x2bc5f0){_0x1c72a1['push'](_0x1c72a1['shift']());}}}(_0x44a1,0x95b59));Object[_0x2678fa(0xe0)](exports,_0x2678fa(0xd2),{'value':!![]}),exports[_0x2678fa(0xcd)]=void 0x0;const path_1=require(_0x2678fa(0xc8)),config_1=require('./config'),load_1=require(_0x2678fa(0xe5)),validate_1=require(_0x2678fa(0xcb)),fs=require('fs'),Cli_1=require('../Cli');function _0x2401(_0x36905b,_0x38b252){const _0x44a16a=_0x44a1();return _0x2401=function(_0x2401be,_0x598d56){_0x2401be=_0x2401be-0xc6;let _0x10d4a0=_0x44a16a[_0x2401be];return _0x10d4a0;},_0x2401(_0x36905b,_0x38b252);}class PWAGenerator{static async['generator'](_0xa35ef0,_0x41668e=![]){const _0x444a77=_0x2678fa;let _0x55bb22=await this[_0x444a77(0xe2)](_0xa35ef0,_0x41668e);return console[_0x444a77(0xc7)](_0x444a77(0xce)),await this['config'](_0x55bb22,_0xa35ef0,_0x41668e),console[_0x444a77(0xc7)]('reset\x20manifest.json:\x20ok'),_0x55bb22;}static async[_0x2678fa(0xe2)](_0x1fc85d,_0x5dca4a=![]){const _0x3ea87d=_0x2678fa;var _0x304b8e,_0x306b89;let _0xb00522={},_0x64eb70='',_0x352cb4=![],_0x5c93d6=![];if(_0x1fc85d[_0x3ea87d(0xec)])_0x64eb70=_0x1fc85d[_0x3ea87d(0xec)],_0x352cb4=!![],_0xb00522=await(0x0,load_1['loadJsonFromNet'])(_0x1fc85d[_0x3ea87d(0xec)]);else{_0x1fc85d[_0x3ea87d(0xd8)]?_0x64eb70=(0x0,path_1[_0x3ea87d(0xd1)])(process[_0x3ea87d(0xf2)](),_0x1fc85d[_0x3ea87d(0xd8)]):(_0x64eb70=(0x0,path_1['join'])(process['cwd'](),'public/manifest.json'),!fs['existsSync'](_0x64eb70)&&(_0x64eb70=(0x0,path_1[_0x3ea87d(0xd1)])(process[_0x3ea87d(0xf2)](),'public/manifest.webmanifest')));if(!fs[_0x3ea87d(0xe1)](_0x64eb70)){if(_0x5dca4a)_0x5c93d6=!![],Cli_1[_0x3ea87d(0xd7)][_0x3ea87d(0xc7)]['warn'](_0x3ea87d(0xcc));else throw new Error(_0x3ea87d(0xcf));}_0xb00522=_0x5c93d6?this[_0x3ea87d(0xdb)]:await(0x0,load_1[_0x3ea87d(0xdd)])(_0x64eb70),this[_0x3ea87d(0xe8)]=_0x5c93d6;}(0x0,validate_1[_0x3ea87d(0xd5)])(_0xb00522,_0x5dca4a);let _0x51793f=(0x0,config_1[_0x3ea87d(0xdc)])(_0xb00522,(_0x304b8e=_0x1fc85d[_0x3ea87d(0xe7)])!==null&&_0x304b8e!==void 0x0?_0x304b8e:'');var _0x3f2de7=(0x0,validate_1[_0x3ea87d(0xc6)])(_0x51793f,_0x64eb70,_0x352cb4,_0x5dca4a);_0xb00522[_0x3ea87d(0xd6)]=_0x51793f;if(!_0x5dca4a)(0x0,validate_1[_0x3ea87d(0xdf)])(_0xb00522,(_0x306b89=_0x1fc85d[_0x3ea87d(0xf1)])!==null&&_0x306b89!==void 0x0?_0x306b89:'');return await(0x0,validate_1[_0x3ea87d(0xed)])(_0xb00522,_0x64eb70,_0x5dca4a),{'json':_0xb00522,'url':_0x64eb70,'fromNet':_0x3f2de7};}static[_0x2678fa(0xd4)](_0x92b624,_0x4f7d8b,_0x30d83f){const _0xd33ac1=_0x2678fa;var _0x5dc172;(0x0,config_1[_0xd33ac1(0xd3)])(_0x92b624[_0xd33ac1(0xe4)],(_0x5dc172=_0x4f7d8b[_0xd33ac1(0xf1)])!==null&&_0x5dc172!==void 0x0?_0x5dc172:'',_0x30d83f),(0x0,config_1[_0xd33ac1(0xe3)])(_0x92b624[_0xd33ac1(0xe4)]),(0x0,config_1[_0xd33ac1(0xee)])(_0x92b624[_0xd33ac1(0xe4)]),(0x0,config_1[_0xd33ac1(0xc9)])(_0x92b624[_0xd33ac1(0xe4)]),(0x0,config_1['configMainScene'])(_0x92b624[_0xd33ac1(0xe4)]);}}exports[_0x2678fa(0xcd)]=PWAGenerator,PWAGenerator[_0x2678fa(0xe6)]=[_0x2678fa(0xf3),'minimal-ui'],PWAGenerator['defaultManifestJson']={'name':_0x2678fa(0xda),'display':_0x2678fa(0xef),'start_url':'/','scope':'/'},PWAGenerator[_0x2678fa(0xe8)]=![];function _0x44a1(){const _0x13179d=['defaultManifestJson','configStartUrl','loadJsonFromDisk','2310872vprlGZ','checkId','defineProperty','existsSync','validate','configScope','json','../resource/load','DisplayModes','base','useDefaultManifestJson','1790152qoQjjI','3261885iVtDEB','76xeICDc','manifest-url','checkIcons','configDisplay','minimal-ui','379960ShhOWl','bundle-id','cwd','standalone','checkStartUrl','log','path','configDeeplink','757042tBcCpr','./validate','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','PWAGenerator','check\x20manifest.json:\x20ok','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','5743566HZXzpj','join','__esModule','configId','config','checkManifestJson','start_url','Cli','manifest','23565JlVbIL','WebSpatialTest'];_0x44a1=function(){return _0x13179d;};return _0x44a1();}
@@ -1 +1 @@
1
- 'use strict';const _0x9cc4ff=_0x5b12;function _0xead3(){const _0x4c0bf6=['../utils/utils','getHeight','purpose','Cli','60AZnACx','loadImageFromDisk','CustomError','../resource/load','Local\x20manifest\x20cannot\x20package\x20network\x20project','split','13202436Dlznbc','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','log','https://','validateBundleId','getWidth','push','startsWith','107015msEXsn','../resource/imageHelper','validateURL','http','2167759LCPNWA','isFullyOpaque','maskable','665176iYOzMi','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','src','http://','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','warn','checkId','36fRdFDj','checkManifestJson','checkStartUrl','loadImageFromNet','7088110CvJnMQ','ImageHelper','start_url','forEach','14WPOhzX','parseRouter','9FIVHZu','name','icons','join','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','8tIYpHt','length','path','1733876cQBANm','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','2goWDXs','198318AdPtTa','test'];_0xead3=function(){return _0x4c0bf6;};return _0xead3();}(function(_0x2782dd,_0x412ee3){const _0x408908=_0x5b12,_0xc98b97=_0x2782dd();while(!![]){try{const _0x53834d=-parseInt(_0x408908(0x78))/0x1*(parseInt(_0x408908(0x76))/0x2)+parseInt(_0x408908(0x79))/0x3*(parseInt(_0x408908(0x73))/0x4)+parseInt(_0x408908(0x8d))/0x5*(-parseInt(_0x408908(0x7f))/0x6)+-parseInt(_0x408908(0xa3))/0x7*(-parseInt(_0x408908(0x94))/0x8)+-parseInt(_0x408908(0xa5))/0x9*(parseInt(_0x408908(0x9f))/0xa)+parseInt(_0x408908(0x91))/0xb+parseInt(_0x408908(0x9b))/0xc*(parseInt(_0x408908(0x85))/0xd);if(_0x53834d===_0x412ee3)break;else _0xc98b97['push'](_0xc98b97['shift']());}catch(_0x4b80e4){_0xc98b97['push'](_0xc98b97['shift']());}}}(_0xead3,0xd8346));function _0x5b12(_0x51e967,_0x2e702e){const _0xead3f6=_0xead3();return _0x5b12=function(_0x5b126b,_0x4a2dfc){_0x5b126b=_0x5b126b-0x6d;let _0x80ec01=_0xead3f6[_0x5b126b];return _0x80ec01;},_0x5b12(_0x51e967,_0x2e702e);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x9cc4ff(0x9c)]=checkManifestJson,exports[_0x9cc4ff(0x9d)]=checkStartUrl,exports['checkIcons']=checkIcons,exports[_0x9cc4ff(0x9a)]=checkId,exports[_0x9cc4ff(0x89)]=validateBundleId,exports[_0x9cc4ff(0x8f)]=validateURL;const path_1=require(_0x9cc4ff(0x75)),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x9cc4ff(0x7b)),imageHelper_1=require(_0x9cc4ff(0x8e)),load_1=require(_0x9cc4ff(0x82)),Cli_1=require('../Cli');function checkManifestJson(_0x48ef16,_0x2363cb=![]){const _0x24d895=_0x9cc4ff;var _0x59eb57;const _0x100fac=[];!_0x48ef16[_0x24d895(0x6d)]&&!_0x48ef16['short_name']&&!_0x2363cb&&_0x100fac[_0x24d895(0x8b)]({'code':0xbbe,'message':_0x24d895(0x77),'message_staring_params':{}});!((_0x59eb57=_0x48ef16['icons'])===null||_0x59eb57===void 0x0?void 0x0:_0x59eb57['length'])&&!_0x2363cb&&_0x100fac[_0x24d895(0x8b)]({'code':0xbbf,'message':_0x24d895(0x71),'message_staring_params':{}});!_0x48ef16[_0x24d895(0xa1)]&&_0x100fac[_0x24d895(0x8b)]({'code':0xbc0,'message':_0x24d895(0x70),'message_staring_params':{}});if(_0x100fac['length'])throw new CustomError_1[(_0x24d895(0x81))](_0x100fac);}function checkStartUrl(_0x45e640,_0x1eec1e,_0x5c5df3,_0x1410e2=![]){const _0x38488a=_0x9cc4ff;var _0x27d7ed=![];if(_0x1410e2)return _0x45e640['startsWith'](_0x38488a(0x88))||_0x45e640[_0x38488a(0x8c)]('http://');if(_0x5c5df3){if(_0x45e640[_0x38488a(0x8c)](_0x38488a(0x88))){const _0x1ef773=new URL(_0x45e640),_0x4aa1c1=new URL(_0x1eec1e);if(_0x1ef773['host']!==_0x4aa1c1['host'])throw new CustomError_1[(_0x38488a(0x81))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x45e640['startsWith'](_0x38488a(0x97)))throw new CustomError_1[(_0x38488a(0x81))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x45e640[_0x38488a(0x8c)](_0x38488a(0x88))||_0x45e640[_0x38488a(0x8c)](_0x38488a(0x97)))throw new CustomError_1[(_0x38488a(0x81))]({'code':0xfa0,'message':_0x38488a(0x83),'message_staring_params':{}});}return _0x27d7ed;}async function checkIcons(_0x126263,_0x97fb4f,_0x24ca37=![]){const _0x548f63=_0x9cc4ff;var _0x20e560,_0x3a1c25;if(!((_0x20e560=_0x126263[_0x548f63(0x6e)])===null||_0x20e560===void 0x0?void 0x0:_0x20e560[_0x548f63(0x74)])&&_0x24ca37){Cli_1[_0x548f63(0x7e)][_0x548f63(0x87)][_0x548f63(0x99)](_0x548f63(0x95));return;}const _0x2badfe=(0x0,utils_1[_0x548f63(0xa4)])(_0x97fb4f);let _0xdc5098,_0x4474dc,_0x1681a7,_0x382f79=0x0;for(var _0x54ce58=0x0;_0x54ce58<_0x126263['icons'][_0x548f63(0x74)];_0x54ce58++){const _0x4bc057=_0x126263[_0x548f63(0x6e)][_0x54ce58];let _0x2f7e3c=((_0x3a1c25=_0x4bc057[_0x548f63(0x7d)])===null||_0x3a1c25===void 0x0?void 0x0:_0x3a1c25['indexOf'](_0x548f63(0x93)))>=0x0;if(!_0x2f7e3c)continue;let _0x56181e=![],_0x3745da=_0x4bc057[_0x548f63(0x96)],_0x2e6e5c,_0x325b3a=0x0;!validateURL(_0x3745da)&&(_0x3745da=(0x0,path_1[_0x548f63(0x6f)])(_0x2badfe,_0x3745da));if(_0x4bc057['sizes']){const _0x27f23e=_0x4bc057['sizes'][_0x548f63(0x84)]('\x20');_0x27f23e[_0x548f63(0xa2)](_0x40f232=>{let _0x48afb1=_0x40f232['split']('x');Number(_0x48afb1[0x0])>=0x400&&Number(_0x48afb1[0x1])>=0x400&&(_0x56181e=!![],Number(_0x48afb1[0x0])>_0x325b3a&&(_0x325b3a=Number(_0x48afb1[0x0])));});}else _0x2e6e5c=!_0x3745da[_0x548f63(0x8c)](_0x548f63(0x90))?await(0x0,load_1[_0x548f63(0x80)])(_0x3745da):await(0x0,load_1[_0x548f63(0x9e)])(_0x3745da),_0x2e6e5c[_0x548f63(0x8a)]()>=0x400&&_0x2e6e5c[_0x548f63(0x7c)]()>=0x400&&(_0x56181e=!![],_0x2e6e5c[_0x548f63(0x8a)]()>_0x325b3a&&(_0x325b3a=_0x2e6e5c[_0x548f63(0x8a)]()));_0x56181e&&_0x2f7e3c&&(_0x325b3a>_0x382f79&&(_0x382f79=_0x325b3a,_0xdc5098=_0x2e6e5c,_0x4474dc=_0x3745da,_0x1681a7=_0x4bc057[_0x548f63(0x7d)]));}if(_0x382f79===0x0){if(_0x24ca37){Cli_1['Cli'][_0x548f63(0x87)]['warn'](_0x548f63(0x72));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x548f63(0x72),'message_staring_params':{}});}else _0x4474dc&&(_0xdc5098=!_0x4474dc[_0x548f63(0x8c)]('http')?await(0x0,load_1[_0x548f63(0x80)])(_0x4474dc):await(0x0,load_1[_0x548f63(0x9e)])(_0x4474dc));if(_0xdc5098&&!imageHelper_1[_0x548f63(0xa0)][_0x548f63(0x92)](_0xdc5098)){if(_0x24ca37){Cli_1[_0x548f63(0x7e)][_0x548f63(0x87)][_0x548f63(0x99)](_0x548f63(0x72));return;}throw new CustomError_1[(_0x548f63(0x81))]({'code':0xfa0,'message':_0x548f63(0x98),'message_staring_params':{}});}_0x126263[_0x548f63(0x6e)]=[{'src':_0x4474dc,'sizes':_0x382f79+'x'+_0x382f79,'purpose':_0x1681a7}];}function checkId(_0x1d2e1b,_0x10c9a0){const _0x4c94e0=_0x9cc4ff;if(_0x10c9a0){if(!validateBundleId(_0x10c9a0))throw new CustomError_1[(_0x4c94e0(0x81))]({'code':0xfa0,'message':_0x4c94e0(0x86),'message_staring_params':{}});return;}!_0x1d2e1b['id']&&(_0x1d2e1b['id']=_0x1d2e1b['start_url']);if(!validateURL(_0x1d2e1b['id'])&&!_0x10c9a0)throw new CustomError_1[(_0x4c94e0(0x81))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','message_staring_params':{}});}function validateBundleId(_0x444514){const _0x3ca6d7=_0x9cc4ff,_0x1d4b4a=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x1d4b4a[_0x3ca6d7(0x7a)](_0x444514);}function validateURL(_0x33645d){try{return new URL(_0x33645d),!![];}catch(_0x5a175c){return![];}}
1
+ 'use strict';const _0x58c4fd=_0x4e91;(function(_0x5b3871,_0x3730ee){const _0xbff8a1=_0x4e91,_0x2e6c34=_0x5b3871();while(!![]){try{const _0x520253=parseInt(_0xbff8a1(0x1fa))/0x1*(-parseInt(_0xbff8a1(0x1fc))/0x2)+-parseInt(_0xbff8a1(0x22a))/0x3*(-parseInt(_0xbff8a1(0x219))/0x4)+parseInt(_0xbff8a1(0x1ff))/0x5*(-parseInt(_0xbff8a1(0x1fe))/0x6)+-parseInt(_0xbff8a1(0x1fd))/0x7*(parseInt(_0xbff8a1(0x21f))/0x8)+-parseInt(_0xbff8a1(0x216))/0x9+parseInt(_0xbff8a1(0x211))/0xa*(-parseInt(_0xbff8a1(0x22e))/0xb)+parseInt(_0xbff8a1(0x21c))/0xc;if(_0x520253===_0x3730ee)break;else _0x2e6c34['push'](_0x2e6c34['shift']());}catch(_0x20a2ad){_0x2e6c34['push'](_0x2e6c34['shift']());}}}(_0x331a,0x6087f));Object['defineProperty'](exports,_0x58c4fd(0x205),{'value':!![]}),exports[_0x58c4fd(0x204)]=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x58c4fd(0x21b)]=checkIcons,exports[_0x58c4fd(0x1f6)]=checkId,exports[_0x58c4fd(0x218)]=validateBundleId,exports['validateURL']=validateURL;const path_1=require('path'),CustomError_1=require(_0x58c4fd(0x1f5)),utils_1=require(_0x58c4fd(0x20c)),imageHelper_1=require(_0x58c4fd(0x21e)),load_1=require('../resource/load'),Cli_1=require(_0x58c4fd(0x227));function _0x4e91(_0x4d7c5e,_0x2965af){const _0x331a12=_0x331a();return _0x4e91=function(_0x4e9162,_0x4c2531){_0x4e9162=_0x4e9162-0x1f4;let _0x54f683=_0x331a12[_0x4e9162];return _0x54f683;},_0x4e91(_0x4d7c5e,_0x2965af);}function checkManifestJson(_0x29535d,_0x58ec90=![]){const _0x40ec68=_0x58c4fd;var _0x1f8bf5;const _0x10deaa=[];!_0x29535d['name']&&!_0x29535d[_0x40ec68(0x210)]&&!_0x58ec90&&_0x10deaa['push']({'code':0xbbe,'message':_0x40ec68(0x228),'message_staring_params':{}});!((_0x1f8bf5=_0x29535d[_0x40ec68(0x1f9)])===null||_0x1f8bf5===void 0x0?void 0x0:_0x1f8bf5[_0x40ec68(0x203)])&&!_0x58ec90&&_0x10deaa[_0x40ec68(0x20e)]({'code':0xbbf,'message':_0x40ec68(0x221),'message_staring_params':{}});!_0x29535d[_0x40ec68(0x226)]&&_0x10deaa['push']({'code':0xbc0,'message':_0x40ec68(0x1fb),'message_staring_params':{}});if(_0x10deaa[_0x40ec68(0x203)])throw new CustomError_1['CustomError'](_0x10deaa);}function checkStartUrl(_0x2d5132,_0x1db741,_0x38f8e,_0x51e8ad=![]){const _0x1782df=_0x58c4fd;var _0x23d93d=![];if(_0x51e8ad)return _0x2d5132[_0x1782df(0x214)]('https://')||_0x2d5132[_0x1782df(0x214)](_0x1782df(0x209));if(_0x38f8e){if(_0x2d5132['startsWith'](_0x1782df(0x21a))){const _0x1028ef=new URL(_0x2d5132),_0x3cbbcc=new URL(_0x1db741);if(_0x1028ef[_0x1782df(0x22b)]!==_0x3cbbcc[_0x1782df(0x22b)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1782df(0x206),'message_staring_params':{}});}else{if(_0x2d5132[_0x1782df(0x214)]('http://'))throw new CustomError_1[(_0x1782df(0x20b))]({'code':0xfa0,'message':_0x1782df(0x220),'message_staring_params':{}});}}else{if(_0x2d5132[_0x1782df(0x214)]('https://')||_0x2d5132[_0x1782df(0x214)](_0x1782df(0x209)))throw new CustomError_1[(_0x1782df(0x20b))]({'code':0xfa0,'message':'Local\x20manifest\x20cannot\x20package\x20network\x20project','message_staring_params':{}});}return _0x23d93d;}async function checkIcons(_0xa8fa22,_0x557fe0,_0x1fe1d2=![]){const _0x1fcfb5=_0x58c4fd;var _0x30fc58,_0x11b1b1;if(!((_0x30fc58=_0xa8fa22[_0x1fcfb5(0x1f9)])===null||_0x30fc58===void 0x0?void 0x0:_0x30fc58[_0x1fcfb5(0x203)])&&_0x1fe1d2){Cli_1[_0x1fcfb5(0x200)][_0x1fcfb5(0x21d)][_0x1fcfb5(0x207)](_0x1fcfb5(0x212));return;}const _0x273c62=(0x0,utils_1[_0x1fcfb5(0x225)])(_0x557fe0);let _0xac27f2,_0x4adc6a,_0x5d8c25,_0x455971=0x0;for(var _0x289b29=0x0;_0x289b29<_0xa8fa22['icons'][_0x1fcfb5(0x203)];_0x289b29++){const _0x340ffe=_0xa8fa22[_0x1fcfb5(0x1f9)][_0x289b29];let _0x1a7aff=((_0x11b1b1=_0x340ffe[_0x1fcfb5(0x217)])===null||_0x11b1b1===void 0x0?void 0x0:_0x11b1b1[_0x1fcfb5(0x1f7)](_0x1fcfb5(0x20a)))>=0x0;if(!_0x1a7aff)continue;let _0x549af7=![],_0x1c3a75=_0x340ffe[_0x1fcfb5(0x22c)],_0x1c3f87,_0x300d3a=0x0;!validateURL(_0x1c3a75)&&(_0x1c3a75=(0x0,path_1['join'])(_0x273c62,_0x1c3a75));if(_0x340ffe['sizes']){const _0x3bdab0=_0x340ffe[_0x1fcfb5(0x208)][_0x1fcfb5(0x222)]('\x20');_0x3bdab0[_0x1fcfb5(0x201)](_0x4f2260=>{const _0x4e8fd9=_0x1fcfb5;let _0x4d38cd=_0x4f2260[_0x4e8fd9(0x222)]('x');Number(_0x4d38cd[0x0])>=0x400&&Number(_0x4d38cd[0x1])>=0x400&&(_0x549af7=!![],Number(_0x4d38cd[0x0])>_0x300d3a&&(_0x300d3a=Number(_0x4d38cd[0x0])));});}else _0x1c3f87=!_0x1c3a75['startsWith']('http')?await(0x0,load_1[_0x1fcfb5(0x20d)])(_0x1c3a75):await(0x0,load_1[_0x1fcfb5(0x1f8)])(_0x1c3a75),_0x1c3f87[_0x1fcfb5(0x224)]()>=0x400&&_0x1c3f87['getHeight']()>=0x400&&(_0x549af7=!![],_0x1c3f87[_0x1fcfb5(0x224)]()>_0x300d3a&&(_0x300d3a=_0x1c3f87['getWidth']()));_0x549af7&&_0x1a7aff&&(_0x300d3a>_0x455971&&(_0x455971=_0x300d3a,_0xac27f2=_0x1c3f87,_0x4adc6a=_0x1c3a75,_0x5d8c25=_0x340ffe[_0x1fcfb5(0x217)]));}if(_0x455971===0x0){if(_0x1fe1d2){Cli_1[_0x1fcfb5(0x200)]['log'][_0x1fcfb5(0x207)](_0x1fcfb5(0x202));return;}throw new CustomError_1[(_0x1fcfb5(0x20b))]({'code':0xfa0,'message':_0x1fcfb5(0x202),'message_staring_params':{}});}else _0x4adc6a&&(_0xac27f2=!_0x4adc6a[_0x1fcfb5(0x214)](_0x1fcfb5(0x223))?await(0x0,load_1['loadImageFromDisk'])(_0x4adc6a):await(0x0,load_1[_0x1fcfb5(0x1f8)])(_0x4adc6a));if(_0xac27f2&&!imageHelper_1[_0x1fcfb5(0x20f)][_0x1fcfb5(0x22d)](_0xac27f2)){if(_0x1fe1d2){Cli_1[_0x1fcfb5(0x200)][_0x1fcfb5(0x21d)][_0x1fcfb5(0x207)](_0x1fcfb5(0x202));return;}throw new CustomError_1[(_0x1fcfb5(0x20b))]({'code':0xfa0,'message':_0x1fcfb5(0x213),'message_staring_params':{}});}_0xa8fa22[_0x1fcfb5(0x1f9)]=[{'src':_0x4adc6a,'sizes':_0x455971+'x'+_0x455971,'purpose':_0x5d8c25}];}function _0x331a(){const _0x33a414=['getWidth','parseRouter','start_url','../Cli','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','87avGFlk','host','src','isFullyOpaque','6596777jBNhJn','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','../utils/CustomError','checkId','indexOf','loadImageFromNet','icons','22681ntNand','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','46IAjknZ','21fYjebz','1444380PgaadU','10MUPgJT','Cli','forEach','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','length','checkManifestJson','__esModule','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','warn','sizes','http://','maskable','CustomError','../utils/utils','loadImageFromDisk','push','ImageHelper','short_name','10sikxpx','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','startsWith','test','6943509piTWzs','purpose','validateBundleId','12724UYtMot','https://','checkIcons','36192816RkDmNU','log','../resource/imageHelper','902920ooUKfG','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','split','http'];_0x331a=function(){return _0x33a414;};return _0x331a();}function checkId(_0x10fb53,_0x8c5e70){const _0x4f61dd=_0x58c4fd;if(_0x8c5e70){if(!validateBundleId(_0x8c5e70))throw new CustomError_1[(_0x4f61dd(0x20b))]({'code':0xfa0,'message':_0x4f61dd(0x1f4),'message_staring_params':{}});return;}!_0x10fb53['id']&&(_0x10fb53['id']=_0x10fb53[_0x4f61dd(0x226)]);if(!validateURL(_0x10fb53['id'])&&!_0x8c5e70)throw new CustomError_1[(_0x4f61dd(0x20b))]({'code':0xfa0,'message':_0x4f61dd(0x229),'message_staring_params':{}});}function validateBundleId(_0x70d19c){const _0x104455=_0x58c4fd,_0x5a3614=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x5a3614[_0x104455(0x215)](_0x70d19c);}function validateURL(_0x3211fe){try{return new URL(_0x3211fe),!![];}catch(_0x11292d){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x11a17e=_0x5b51;(function(_0x51838b,_0x2dc510){const _0x100eeb=_0x5b51,_0x55eaaf=_0x51838b();while(!![]){try{const _0x5e39b6=parseInt(_0x100eeb(0x204))/0x1+-parseInt(_0x100eeb(0x1f3))/0x2+-parseInt(_0x100eeb(0x1fd))/0x3*(parseInt(_0x100eeb(0x1ff))/0x4)+-parseInt(_0x100eeb(0x1f4))/0x5+parseInt(_0x100eeb(0x1f8))/0x6+-parseInt(_0x100eeb(0x200))/0x7*(parseInt(_0x100eeb(0x1f7))/0x8)+parseInt(_0x100eeb(0x1f5))/0x9*(parseInt(_0x100eeb(0x202))/0xa);if(_0x5e39b6===_0x2dc510)break;else _0x55eaaf['push'](_0x55eaaf['shift']());}catch(_0x5d0191){_0x55eaaf['push'](_0x55eaaf['shift']());}}}(_0x5363,0x8c6d6));function _0x5363(){const _0x1518b0=['mkdirSync','defineProperty','existsSync','3bJAGvB','log','2843548lUJQxZ','49KrUCpe','readdirSync','210legmSk','isDirectory','496841DMEzuC','isFile','unlinkSync','forEach','1530506gkYtTp','1794270udAinw','621171FgMkgx','__esModule','33552KFdKKe','2959812qVLJds','clearDir'];_0x5363=function(){return _0x1518b0;};return _0x5363();}function _0x5b51(_0x349ac3,_0x69252e){const _0x53634b=_0x5363();return _0x5b51=function(_0x5b5123,_0x38c163){_0x5b5123=_0x5b5123-0x1f0;let _0x560245=_0x53634b[_0x5b5123];return _0x560245;},_0x5b51(_0x349ac3,_0x69252e);}Object[_0x11a17e(0x1fb)](exports,_0x11a17e(0x1f6),{'value':!![]}),exports['copyDir']=copyDir,exports[_0x11a17e(0x1f9)]=clearDir;const fs=require('fs');function copyDir(_0xb0cbfc,_0x4b2916){const _0x391cb0=_0x11a17e,_0x269399=fs['readdirSync'](_0xb0cbfc);_0x269399[_0x391cb0(0x1f2)](_0x425259=>{const _0x3120b1=_0x391cb0,_0x4561e7=_0xb0cbfc+'/'+_0x425259,_0x4b6ad=_0x4b2916+'/'+_0x425259,_0xbf420=fs['statSync'](_0x4561e7);if(_0xbf420[_0x3120b1(0x1f0)]())try{fs['writeFileSync'](_0x4b6ad,fs['readFileSync'](_0x4561e7));}catch(_0x20ccd6){console['log'](_0x20ccd6);}else _0xbf420[_0x3120b1(0x203)]()&&(!fs[_0x3120b1(0x1fc)](_0x4b6ad)&&fs[_0x3120b1(0x1fa)](_0x4b6ad,{'recursive':!![]}),copyDir(_0x4561e7,_0x4b6ad));});}function clearDir(_0x17d767){const _0x6bf467=_0x11a17e,_0x599fb0=fs[_0x6bf467(0x201)](_0x17d767);_0x599fb0['forEach'](_0x3ed58b=>{const _0x5507f4=_0x6bf467,_0x575155=_0x17d767+'/'+_0x3ed58b,_0x56195a=fs['statSync'](_0x575155);if(_0x56195a[_0x5507f4(0x1f0)]())try{fs[_0x5507f4(0x1f1)](_0x575155);}catch(_0x3ffd83){console[_0x5507f4(0x1fe)](_0x3ffd83);}else _0x56195a[_0x5507f4(0x203)]()&&clearDir(_0x575155);});}
1
+ 'use strict';function _0x4849(_0x42666a,_0x50154e){const _0x289003=_0x2890();return _0x4849=function(_0x4849f7,_0x4c2b92){_0x4849f7=_0x4849f7-0x131;let _0x590899=_0x289003[_0x4849f7];return _0x590899;},_0x4849(_0x42666a,_0x50154e);}const _0x4915a0=_0x4849;(function(_0xf39bd5,_0xeeacf){const _0x2d7556=_0x4849,_0x25e305=_0xf39bd5();while(!![]){try{const _0x37351f=-parseInt(_0x2d7556(0x138))/0x1*(parseInt(_0x2d7556(0x131))/0x2)+parseInt(_0x2d7556(0x135))/0x3+-parseInt(_0x2d7556(0x132))/0x4*(-parseInt(_0x2d7556(0x141))/0x5)+-parseInt(_0x2d7556(0x148))/0x6*(parseInt(_0x2d7556(0x143))/0x7)+parseInt(_0x2d7556(0x13e))/0x8+-parseInt(_0x2d7556(0x13f))/0x9*(-parseInt(_0x2d7556(0x139))/0xa)+-parseInt(_0x2d7556(0x142))/0xb*(parseInt(_0x2d7556(0x134))/0xc);if(_0x37351f===_0xeeacf)break;else _0x25e305['push'](_0x25e305['shift']());}catch(_0x2f315d){_0x25e305['push'](_0x25e305['shift']());}}}(_0x2890,0x1f5a0));Object['defineProperty'](exports,_0x4915a0(0x133),{'value':!![]}),exports[_0x4915a0(0x140)]=copyDir,exports[_0x4915a0(0x147)]=clearDir;const fs=require('fs');function _0x2890(){const _0x81ac05=['20FXRYKK','unlinkSync','forEach','mkdirSync','log','1813392rYAgBN','71235vTyzgH','copyDir','1096855whvItc','131582vBcKri','175ZHwgHf','writeFileSync','readFileSync','isDirectory','clearDir','15684WkylMb','statSync','1726dNHZHx','4oWBSuF','__esModule','348TwvzMs','365817mAvMHU','readdirSync','existsSync','50gKVwat'];_0x2890=function(){return _0x81ac05;};return _0x2890();}function copyDir(_0x4a23d7,_0x35c87f){const _0x62cc49=_0x4915a0,_0x5de03e=fs[_0x62cc49(0x136)](_0x4a23d7);_0x5de03e[_0x62cc49(0x13b)](_0x2a0d40=>{const _0x4e1b3f=_0x62cc49,_0x38070f=_0x4a23d7+'/'+_0x2a0d40,_0x3a4384=_0x35c87f+'/'+_0x2a0d40,_0x49ed3c=fs[_0x4e1b3f(0x149)](_0x38070f);if(_0x49ed3c['isFile']())try{fs[_0x4e1b3f(0x144)](_0x3a4384,fs[_0x4e1b3f(0x145)](_0x38070f));}catch(_0x3a0809){console[_0x4e1b3f(0x13d)](_0x3a0809);}else _0x49ed3c[_0x4e1b3f(0x146)]()&&(!fs[_0x4e1b3f(0x137)](_0x3a4384)&&fs[_0x4e1b3f(0x13c)](_0x3a4384,{'recursive':!![]}),copyDir(_0x38070f,_0x3a4384));});}function clearDir(_0x500ff8){const _0x5659ab=_0x4915a0,_0x1ed95c=fs[_0x5659ab(0x136)](_0x500ff8);_0x1ed95c['forEach'](_0x1e7efc=>{const _0x3eda98=_0x5659ab,_0x554343=_0x500ff8+'/'+_0x1e7efc,_0xf33934=fs[_0x3eda98(0x149)](_0x554343);if(_0xf33934['isFile']())try{fs[_0x3eda98(0x13a)](_0x554343);}catch(_0x4fc524){console[_0x3eda98(0x13d)](_0x4fc524);}else _0xf33934[_0x3eda98(0x146)]()&&clearDir(_0x554343);});}
@@ -1 +1 @@
1
- 'use strict';const _0x11cdf5=_0xe90b;(function(_0x10e2c9,_0x2f5f71){const _0xf80af6=_0xe90b,_0x2b235d=_0x10e2c9();while(!![]){try{const _0x1809cc=-parseInt(_0xf80af6(0x19b))/0x1+parseInt(_0xf80af6(0x1a9))/0x2*(parseInt(_0xf80af6(0x199))/0x3)+-parseInt(_0xf80af6(0x1a1))/0x4+-parseInt(_0xf80af6(0x1a3))/0x5*(parseInt(_0xf80af6(0x193))/0x6)+parseInt(_0xf80af6(0x19f))/0x7*(parseInt(_0xf80af6(0x1a4))/0x8)+-parseInt(_0xf80af6(0x1a6))/0x9*(-parseInt(_0xf80af6(0x1ab))/0xa)+parseInt(_0xf80af6(0x197))/0xb;if(_0x1809cc===_0x2f5f71)break;else _0x2b235d['push'](_0x2b235d['shift']());}catch(_0x52c5aa){_0x2b235d['push'](_0x2b235d['shift']());}}}(_0x4b92,0x42b88));Object[_0x11cdf5(0x19c)](exports,_0x11cdf5(0x198),{'value':!![]}),exports[_0x11cdf5(0x192)]=void 0x0;const Jimp=require(_0x11cdf5(0x19e)),sharp=require(_0x11cdf5(0x196)),resvg_js_1=require('@resvg/resvg-js');function _0xe90b(_0x5d0a7b,_0x3fdc27){const _0x4b9259=_0x4b92();return _0xe90b=function(_0xe90b3d,_0x1beafb){_0xe90b3d=_0xe90b3d-0x190;let _0x263d94=_0x4b9259[_0xe90b3d];return _0x263d94;},_0xe90b(_0x5d0a7b,_0x3fdc27);}function _0x4b92(){const _0x5dec2a=['3234606azCLqU','width','getWidth','sharp','5344790BeuqnF','__esModule','36231TwvVhA','Resvg','476239SllWTu','defineProperty','svg2img','jimp','70anZUvG','png','252968hEWhNg','isFullyOpaque','5TiCJgG','181592nFIpep','toFormat','1511883mcfRqf','getHeight','webp2PngBuffer','78aaTqcJ','data','10tNloWB','render','asPng','ImageHelper'];_0x4b92=function(){return _0x5dec2a;};return _0x4b92();}class ImageHelper{static['createImg'](_0x275961){return new Jimp(_0x275961,_0x275961,0x0);}static async[_0x11cdf5(0x1a8)](_0x590a25){const _0x4f4476=_0x11cdf5;return await sharp(_0x590a25)[_0x4f4476(0x1a5)](_0x4f4476(0x1a0))['toBuffer']();}static async[_0x11cdf5(0x19d)](_0x567e19){const _0x35f0f7=_0x11cdf5,_0x2f0035={'fitTo':{'mode':_0x35f0f7(0x194),'value':0x400}},_0x5b9518=new resvg_js_1[(_0x35f0f7(0x19a))](_0x567e19,_0x2f0035),_0x2d5b58=_0x5b9518[_0x35f0f7(0x190)](),_0x6dbc3d=_0x2d5b58[_0x35f0f7(0x191)]();return _0x6dbc3d;}static[_0x11cdf5(0x1a2)](_0x355614){const _0x3c2f65=_0x11cdf5,_0x2cd50c=_0x355614[_0x3c2f65(0x195)]()*_0x355614[_0x3c2f65(0x1a7)]();for(var _0x4b12cf=0x0;_0x4b12cf<_0x2cd50c;_0x4b12cf++){const _0x5704e3=_0x4b12cf*0x4+0x3;if(_0x355614['bitmap'][_0x3c2f65(0x1aa)][_0x5704e3]<0xff)return![];}return!![];}}exports[_0x11cdf5(0x192)]=ImageHelper;
1
+ 'use strict';const _0x31a151=_0x3839;function _0x3839(_0x36e625,_0xd3fea6){const _0x2457da=_0x2457();return _0x3839=function(_0x383976,_0x56b03e){_0x383976=_0x383976-0x1d2;let _0x2cb6a5=_0x2457da[_0x383976];return _0x2cb6a5;},_0x3839(_0x36e625,_0xd3fea6);}(function(_0x42c143,_0x2e1874){const _0x7cc487=_0x3839,_0x1ccf0d=_0x42c143();while(!![]){try{const _0x41e9a4=-parseInt(_0x7cc487(0x1e5))/0x1+-parseInt(_0x7cc487(0x1d2))/0x2+-parseInt(_0x7cc487(0x1e9))/0x3*(-parseInt(_0x7cc487(0x1e4))/0x4)+-parseInt(_0x7cc487(0x1e3))/0x5+parseInt(_0x7cc487(0x1ec))/0x6+parseInt(_0x7cc487(0x1dd))/0x7*(parseInt(_0x7cc487(0x1d5))/0x8)+parseInt(_0x7cc487(0x1e1))/0x9*(parseInt(_0x7cc487(0x1db))/0xa);if(_0x41e9a4===_0x2e1874)break;else _0x1ccf0d['push'](_0x1ccf0d['shift']());}catch(_0x1f2963){_0x1ccf0d['push'](_0x1ccf0d['shift']());}}}(_0x2457,0x2640b));Object[_0x31a151(0x1dc)](exports,_0x31a151(0x1ea),{'value':!![]}),exports[_0x31a151(0x1de)]=void 0x0;const Jimp=require(_0x31a151(0x1d4)),sharp=require(_0x31a151(0x1eb)),resvg_js_1=require(_0x31a151(0x1df));function _0x2457(){const _0x4bc9fe=['1787406rdenvT','570240dCwrJJ','render','jimp','8lfzdvj','getHeight','asPng','png','Resvg','toBuffer','124390caLTDF','defineProperty','2164743atWeUN','ImageHelper','@resvg/resvg-js','bitmap','18YJVSjt','data','1447780JTyfoH','8bJGbIJ','83295ffKWUE','webp2PngBuffer','createImg','getWidth','273939OjibfR','__esModule','sharp'];_0x2457=function(){return _0x4bc9fe;};return _0x2457();}class ImageHelper{static[_0x31a151(0x1e7)](_0x2bddd9){return new Jimp(_0x2bddd9,_0x2bddd9,0x0);}static async[_0x31a151(0x1e6)](_0x9990c0){const _0x348459=_0x31a151;return await sharp(_0x9990c0)['toFormat'](_0x348459(0x1d8))[_0x348459(0x1da)]();}static async['svg2img'](_0x1d1664){const _0x2f11cb=_0x31a151,_0x20c0e0={'fitTo':{'mode':'width','value':0x400}},_0x16df6f=new resvg_js_1[(_0x2f11cb(0x1d9))](_0x1d1664,_0x20c0e0),_0x210c2b=_0x16df6f[_0x2f11cb(0x1d3)](),_0x4e1eff=_0x210c2b[_0x2f11cb(0x1d7)]();return _0x4e1eff;}static['isFullyOpaque'](_0x2e0336){const _0x30adf5=_0x31a151,_0xcabf41=_0x2e0336[_0x30adf5(0x1e8)]()*_0x2e0336[_0x30adf5(0x1d6)]();for(var _0x188c4d=0x0;_0x188c4d<_0xcabf41;_0x188c4d++){const _0x24c8a8=_0x188c4d*0x4+0x3;if(_0x2e0336[_0x30adf5(0x1e0)][_0x30adf5(0x1e2)][_0x24c8a8]<0xff)return![];}return!![];}}exports[_0x31a151(0x1de)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x368d7f=_0x7ca4;(function(_0x313a06,_0x4a84e3){const _0x58697c=_0x7ca4,_0x2e1552=_0x313a06();while(!![]){try{const _0x237fbc=-parseInt(_0x58697c(0x20a))/0x1+-parseInt(_0x58697c(0x20d))/0x2*(parseInt(_0x58697c(0x202))/0x3)+parseInt(_0x58697c(0x1fb))/0x4*(-parseInt(_0x58697c(0x1f9))/0x5)+-parseInt(_0x58697c(0x1ff))/0x6*(-parseInt(_0x58697c(0x1fc))/0x7)+parseInt(_0x58697c(0x1f4))/0x8*(-parseInt(_0x58697c(0x1f8))/0x9)+parseInt(_0x58697c(0x21c))/0xa+parseInt(_0x58697c(0x220))/0xb;if(_0x237fbc===_0x4a84e3)break;else _0x2e1552['push'](_0x2e1552['shift']());}catch(_0x66cfaa){_0x2e1552['push'](_0x2e1552['shift']());}}}(_0x3ebb,0x93d4a));Object['defineProperty'](exports,_0x368d7f(0x1fd),{'value':!![]}),exports[_0x368d7f(0x21a)]=exports[_0x368d7f(0x21f)]=exports[_0x368d7f(0x203)]=exports['ASSET_DIRECTORY']=exports[_0x368d7f(0x218)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x368d7f(0x200)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x368d7f(0x21d)),load_1=require(_0x368d7f(0x211)),child_process_1=require('child_process');exports['PROJECT_DIRECTORY']='',exports[_0x368d7f(0x200)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports[_0x368d7f(0x210)]=_0x368d7f(0x20b),exports[_0x368d7f(0x203)]=exports[_0x368d7f(0x210)]+_0x368d7f(0x208),exports[_0x368d7f(0x21f)]=exports[_0x368d7f(0x210)]+_0x368d7f(0x217);function _0x3ebb(){const _0x90da61=['not\x20support\x20platform\x20','ASSET_DIRECTORY','./load','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','execSync','existsSync','moveProjectFrom','loadImageFromDisk','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','WEB_PROJECT_DIRECTORY','includes','ResourceManager','mkdirSync','4027930LGdDfJ','./file','cwd','MIDDLE_APPICON_DIRECTORY','23938794ySxmpU','8SUXzlf','./export','./build','icons','8244072tpWSdw','870muOkMD','startsWith','10492ySCJrp','63JFMDMw','__esModule','resize','228366hBWpCB','PROJECT_BUILD_DIRECTORY','json','384dyrint','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','join','checkPlatformPath','node_modules/@webspatial/platform-','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','../../../','323384DywQtK','web-spatial/Assets.xcassets','generateIcon','9692LBeJaG','http'];_0x3ebb=function(){return _0x90da61;};return _0x3ebb();}const supportPlatform=['visionos'];function _0x7ca4(_0x26683c,_0x1939dd){const _0x3ebb8d=_0x3ebb();return _0x7ca4=function(_0x7ca44d,_0x45d1f2){_0x7ca44d=_0x7ca44d-0x1f4;let _0x5506de=_0x3ebb8d[_0x7ca44d];return _0x5506de;},_0x7ca4(_0x26683c,_0x1939dd);}class ResourceManager{static async[_0x368d7f(0x215)](_0x3d2297){const _0x1e398c=_0x368d7f,_0x5295f1=(0x0,path_1[_0x1e398c(0x205)])(process[_0x1e398c(0x21e)](),_0x3d2297),_0x2184c2=(0x0,path_1['join'])(exports[_0x1e398c(0x204)],exports[_0x1e398c(0x218)]);!fs[_0x1e398c(0x214)](_0x2184c2)?fs[_0x1e398c(0x21b)](_0x2184c2,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x2184c2);try{(0x0,file_1['copyDir'])(_0x5295f1,_0x2184c2);}catch(_0x4f7f75){console['log'](_0x4f7f75);}}static async[_0x368d7f(0x20c)](_0x4da269){const _0x559579=_0x368d7f,_0x577d3b=_0x4da269[_0x559579(0x201)],_0x55dc8b=_0x577d3b[_0x559579(0x1f7)][0x0]['src'],_0x48b978=!_0x55dc8b[_0x559579(0x1fa)](_0x559579(0x20e))?await(0x0,load_1[_0x559579(0x216)])(_0x55dc8b):await(0x0,load_1['loadImageFromNet'])(_0x55dc8b);return _0x48b978[_0x559579(0x1fe)](0x400,0x400),_0x48b978;}static[_0x368d7f(0x206)](_0x3ae9b9){const _0x479bf8=_0x368d7f,_0x764f9c=_0x3ae9b9!==null&&_0x3ae9b9!==void 0x0?_0x3ae9b9:supportPlatform[0x0];if(!supportPlatform[_0x479bf8(0x219)](_0x764f9c))throw new Error(_0x479bf8(0x20f)+_0x764f9c+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform['join'](','));let _0x19b001=(0x0,path_1[_0x479bf8(0x205)])(process[_0x479bf8(0x21e)](),_0x479bf8(0x207)+_0x764f9c);!fs[_0x479bf8(0x214)](_0x19b001)&&(_0x19b001=(0x0,path_1[_0x479bf8(0x205)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x764f9c));const _0xc178b8=fs[_0x479bf8(0x214)](_0x19b001);!_0xc178b8&&(0x0,child_process_1[_0x479bf8(0x213)])('cd\x20'+(0x0,path_1[_0x479bf8(0x205)])(__dirname,_0x479bf8(0x209))+_0x479bf8(0x212)+_0x764f9c),exports[_0x479bf8(0x204)]=_0x19b001,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x479bf8(0x205)])(exports['PROJECT_DIRECTORY'],_0x479bf8(0x1f6)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x479bf8(0x205)])(exports[_0x479bf8(0x204)],_0x479bf8(0x1f5));}}exports[_0x368d7f(0x21a)]=ResourceManager;
1
+ 'use strict';const _0x21d307=_0x3cb6;(function(_0x3cbfb8,_0x91594b){const _0x5d583b=_0x3cb6,_0x180a51=_0x3cbfb8();while(!![]){try{const _0x4ef1bf=-parseInt(_0x5d583b(0x156))/0x1*(parseInt(_0x5d583b(0x140))/0x2)+parseInt(_0x5d583b(0x155))/0x3*(-parseInt(_0x5d583b(0x142))/0x4)+parseInt(_0x5d583b(0x153))/0x5+parseInt(_0x5d583b(0x14a))/0x6+parseInt(_0x5d583b(0x150))/0x7+parseInt(_0x5d583b(0x15f))/0x8+-parseInt(_0x5d583b(0x13c))/0x9*(parseInt(_0x5d583b(0x13a))/0xa);if(_0x4ef1bf===_0x91594b)break;else _0x180a51['push'](_0x180a51['shift']());}catch(_0x45ab05){_0x180a51['push'](_0x180a51['shift']());}}}(_0xffcd,0x5fa5a));function _0x3cb6(_0x5a52cd,_0x2c341f){const _0xffcdb7=_0xffcd();return _0x3cb6=function(_0x3cb60d,_0x2a7bcc){_0x3cb60d=_0x3cb60d-0x136;let _0x32f120=_0xffcdb7[_0x3cb60d];return _0x32f120;},_0x3cb6(_0x5a52cd,_0x2c341f);}Object[_0x21d307(0x148)](exports,_0x21d307(0x14f),{'value':!![]}),exports['ResourceManager']=exports[_0x21d307(0x14d)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x21d307(0x157)]=exports[_0x21d307(0x158)]=exports[_0x21d307(0x14e)]=exports[_0x21d307(0x162)]=exports[_0x21d307(0x159)]=void 0x0;function _0xffcd(){const _0x2d7df8=['node_modules/@webspatial/platform-','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','6700fUwmLe','join','10827PBjzrc','path','generateIcon','includes','364178YDDNXB','cwd','24yFoiXb','copyDir','http','existsSync','./build','log','defineProperty','ResourceManager','1729122xAiVDQ','resize','loadImageFromDisk','MIDDLE_APPICON_DIRECTORY','PROJECT_EXPORT_DIRECTORY','__esModule','4462857ngrpKS','../../../','BACK_APPICON_DIRECTORY','632145KHTjJn','clearDir','37404WYRmBo','1tbQvHl','ASSET_DIRECTORY','WEB_PROJECT_DIRECTORY','PROJECT_DIRECTORY','icons','../../../node_modules/@webspatial/platform-','startsWith','execSync','cd\x20','3220080nncROM','json','checkPlatformPath','PROJECT_BUILD_DIRECTORY','child_process','./export','web-spatial/static-web','src','./load'];_0xffcd=function(){return _0x2d7df8;};return _0xffcd();}const fs=require('fs'),path_1=require(_0x21d307(0x13d)),file_1=require('./file'),load_1=require(_0x21d307(0x137)),child_process_1=require(_0x21d307(0x163));exports['PROJECT_DIRECTORY']='',exports[_0x21d307(0x162)]='',exports[_0x21d307(0x14e)]='',exports['WEB_PROJECT_DIRECTORY']=_0x21d307(0x165),exports[_0x21d307(0x157)]='web-spatial/Assets.xcassets',exports[_0x21d307(0x152)]=exports[_0x21d307(0x157)]+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x21d307(0x14d)]=exports['ASSET_DIRECTORY']+_0x21d307(0x139);const supportPlatform=['visionos'];class ResourceManager{static async['moveProjectFrom'](_0x2bf813){const _0x560662=_0x21d307,_0x1890c3=(0x0,path_1[_0x560662(0x13b)])(process['cwd'](),_0x2bf813),_0x1db062=(0x0,path_1[_0x560662(0x13b)])(exports[_0x560662(0x159)],exports[_0x560662(0x158)]);!fs[_0x560662(0x145)](_0x1db062)?fs['mkdirSync'](_0x1db062,{'recursive':!![]}):(0x0,file_1[_0x560662(0x154)])(_0x1db062);try{(0x0,file_1[_0x560662(0x143)])(_0x1890c3,_0x1db062);}catch(_0x41a77d){console[_0x560662(0x147)](_0x41a77d);}}static async[_0x21d307(0x13e)](_0x2dc1b8){const _0x478e56=_0x21d307,_0xea92c1=_0x2dc1b8[_0x478e56(0x160)],_0x2ce2b2=_0xea92c1[_0x478e56(0x15a)][0x0][_0x478e56(0x136)],_0x464b20=!_0x2ce2b2[_0x478e56(0x15c)](_0x478e56(0x144))?await(0x0,load_1[_0x478e56(0x14c)])(_0x2ce2b2):await(0x0,load_1['loadImageFromNet'])(_0x2ce2b2);return _0x464b20[_0x478e56(0x14b)](0x400,0x400),_0x464b20;}static[_0x21d307(0x161)](_0x29196c){const _0x4e2b7d=_0x21d307,_0x40fe0d=_0x29196c!==null&&_0x29196c!==void 0x0?_0x29196c:supportPlatform[0x0];if(!supportPlatform[_0x4e2b7d(0x13f)](_0x40fe0d))throw new Error('not\x20support\x20platform\x20'+_0x40fe0d+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform['join'](','));let _0x10e3c5=(0x0,path_1['join'])(process[_0x4e2b7d(0x141)](),_0x4e2b7d(0x138)+_0x40fe0d);!fs[_0x4e2b7d(0x145)](_0x10e3c5)&&(_0x10e3c5=(0x0,path_1[_0x4e2b7d(0x13b)])(__dirname,_0x4e2b7d(0x15b)+_0x40fe0d));const _0x270f5b=fs[_0x4e2b7d(0x145)](_0x10e3c5);!_0x270f5b&&(0x0,child_process_1[_0x4e2b7d(0x15d)])(_0x4e2b7d(0x15e)+(0x0,path_1[_0x4e2b7d(0x13b)])(__dirname,_0x4e2b7d(0x151))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x40fe0d),exports[_0x4e2b7d(0x159)]=_0x10e3c5,exports[_0x4e2b7d(0x162)]=(0x0,path_1['join'])(exports[_0x4e2b7d(0x159)],_0x4e2b7d(0x146)),exports[_0x4e2b7d(0x14e)]=(0x0,path_1[_0x4e2b7d(0x13b)])(exports[_0x4e2b7d(0x159)],_0x4e2b7d(0x164));}}exports[_0x21d307(0x149)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x8f3652=_0x48d5;(function(_0x1473f3,_0x52562f){const _0x518ed0=_0x48d5,_0x2c5c3e=_0x1473f3();while(!![]){try{const _0x245e82=parseInt(_0x518ed0(0x1b1))/0x1*(parseInt(_0x518ed0(0x18b))/0x2)+parseInt(_0x518ed0(0x1a7))/0x3*(parseInt(_0x518ed0(0x1a8))/0x4)+-parseInt(_0x518ed0(0x1a2))/0x5+-parseInt(_0x518ed0(0x1ad))/0x6+-parseInt(_0x518ed0(0x196))/0x7*(parseInt(_0x518ed0(0x1ac))/0x8)+-parseInt(_0x518ed0(0x193))/0x9*(parseInt(_0x518ed0(0x19b))/0xa)+-parseInt(_0x518ed0(0x1b9))/0xb*(-parseInt(_0x518ed0(0x1b7))/0xc);if(_0x245e82===_0x52562f)break;else _0x2c5c3e['push'](_0x2c5c3e['shift']());}catch(_0x5db345){_0x2c5c3e['push'](_0x2c5c3e['shift']());}}}(_0x564d,0x98e9b));Object['defineProperty'](exports,_0x8f3652(0x19e),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x8f3652(0x1af)]=loadJsonFromDisk,exports[_0x8f3652(0x1bb)]=loadImageFromNet,exports[_0x8f3652(0x1ae)]=loadImageFromDisk,exports[_0x8f3652(0x194)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x8f3652(0x1bf)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x8f3652(0x1b5)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x2068da){const _0x32de37=_0x8f3652,_0x3a1061=await FetchUtils_1_1[_0x32de37(0x1a5)][_0x32de37(0x1a6)](_0x2068da,{'encoding':_0x32de37(0x1a4)});if(_0x3a1061['status']!==0xc8)throw new CustomError_1[(_0x32de37(0x18d))]({'code':0xbbc,'message':_0x32de37(0x1be)+_0x2068da+'.'+(_0x32de37(0x195)+_0x3a1061[_0x32de37(0x1ba)]+_0x32de37(0x1a3)),'message_staring_params':{'web_manifest_url':_0x2068da,'status':_0x3a1061[_0x32de37(0x1ba)]}});try{let _0x5f213e;return _0x3a1061['text']?_0x5f213e=await _0x3a1061['text']():[_0x32de37(0x199),_0x32de37(0x1b8),'br'][_0x32de37(0x1c1)](_0x3a1061[_0x32de37(0x1ab)][_0x32de37(0x1b6)])?_0x5f213e=FetchUtils_1_1[_0x32de37(0x1a5)][_0x32de37(0x1b2)](Buffer[_0x32de37(0x18c)](_0x3a1061[_0x32de37(0x19c)],_0x32de37(0x1a4)),_0x3a1061['headers'][_0x32de37(0x1b6)])[_0x32de37(0x1b3)]():_0x5f213e=Buffer[_0x32de37(0x18c)](_0x3a1061['data'],'binary')[_0x32de37(0x1b3)](),JSON['parse'](_0x5f213e['trim']());}catch(_0x53acf1){throw new CustomError_1[(_0x32de37(0x18d))]({'code':0xbbd,'message':_0x32de37(0x1bd),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x269acc){const _0x483b54=_0x8f3652,_0x5e5379=await loadFileString(_0x269acc[_0x483b54(0x1b3)]());return JSON[_0x483b54(0x190)](_0x5e5379);}async function loadImageFromNet(_0x17b795){const _0x2c47c6=_0x8f3652,_0x572d8a=await FetchUtils_1_1[_0x2c47c6(0x1a5)][_0x2c47c6(0x1a6)](_0x17b795,{'encoding':_0x2c47c6(0x1a4)});if(_0x572d8a['status']!==0xc8)throw new CustomError_1[(_0x2c47c6(0x18d))]({'code':0x7d2,'message':_0x2c47c6(0x197)+_0x572d8a[_0x2c47c6(0x1ba)],'message_staring_params':{'icon_url':_0x17b795,'status':_0x572d8a[_0x2c47c6(0x1ba)]}});const _0x2d0839=_0x572d8a['headers']['get']?_0x572d8a[_0x2c47c6(0x1ab)]['get'](_0x2c47c6(0x19a)):_0x572d8a[_0x2c47c6(0x1ab)][_0x2c47c6(0x19a)];if(!(_0x2d0839===null||_0x2d0839===void 0x0?void 0x0:_0x2d0839[_0x2c47c6(0x1c0)](_0x2c47c6(0x192))))throw new CustomError_1[(_0x2c47c6(0x18d))]({'code':0x7d3,'message':_0x2c47c6(0x1bc)+(_0x2c47c6(0x18e)+_0x2d0839+'\x22'),'message_staring_params':{'icon_url':_0x17b795,'contentType':_0x2d0839}});let _0x190c2b;_0x572d8a[_0x2c47c6(0x1a9)]?_0x190c2b=await _0x572d8a[_0x2c47c6(0x1a9)]():[_0x2c47c6(0x199),_0x2c47c6(0x1b8),'br'][_0x2c47c6(0x1c1)](_0x572d8a[_0x2c47c6(0x1ab)]['content-encoding'])?_0x190c2b=FetchUtils_1_1['fetchUtils'][_0x2c47c6(0x1b2)](Buffer[_0x2c47c6(0x18c)](_0x572d8a[_0x2c47c6(0x19c)],'binary'),_0x572d8a[_0x2c47c6(0x1ab)]['content-encoding']):_0x190c2b=Buffer['from'](_0x572d8a[_0x2c47c6(0x19c)],_0x2c47c6(0x1a4));if(_0x2d0839[_0x2c47c6(0x1c0)](_0x2c47c6(0x198))){const _0x3b4ef9=new TextDecoder();try{_0x190c2b=await imageHelper_1[_0x2c47c6(0x19d)][_0x2c47c6(0x1a1)](_0x3b4ef9[_0x2c47c6(0x19f)](_0x190c2b));}catch(_0x339d0e){throw new CustomError_1[(_0x2c47c6(0x18d))]({'code':0x7d4,'message':_0x2c47c6(0x191)+_0x17b795+':\x20'+_0x339d0e,'message_staring_params':{'icon_url':_0x17b795,'error':_0x339d0e}});}}return _0x2d0839['startsWith'](_0x2c47c6(0x1a0))&&(_0x190c2b=await imageHelper_1[_0x2c47c6(0x19d)][_0x2c47c6(0x1aa)](_0x190c2b)),await Jimp[_0x2c47c6(0x1b4)](Buffer['from'](_0x190c2b));}function _0x48d5(_0x4b5d32,_0x3b558d){const _0x564d13=_0x564d();return _0x48d5=function(_0x48d530,_0x374141){_0x48d530=_0x48d530-0x18b;let _0x32eab4=_0x564d13[_0x48d530];return _0x32eab4;},_0x48d5(_0x4b5d32,_0x3b558d);}function _0x564d(){const _0x5a487b=['arrayBuffer','webp2PngBuffer','headers','8ZKRYTQ','5707554HblRKO','loadImageFromDisk','loadJsonFromDisk','promises','13ujAsmh','decompressResponseBuffer','toString','read','jimp','content-encoding','105672NzuHHi','deflate','2783RwfSYW','status','loadImageFromNet','Received\x20icon\x20with\x20invalid\x20Content-Type.','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','Failed\x20to\x20download\x20Web\x20Manifest\x20','../utils/FetchUtils-1','startsWith','includes','45238HokQlO','from','CustomError','\x20Responded\x20with\x20Content-Type\x20\x22','readFile','parse','Problem\x20reading\x20','image/','549Znlxpk','loadFileString','The\x20response\x20status\x20is\x20','1464218QWynrS','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','image/svg','gzip','content-type','88940IVhLXy','data','ImageHelper','__esModule','decode','image/webp','svg2img','4069485xcdSYC',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','binary','fetchUtils','fetch','3QHnQlh','2484920LNRRJq'];_0x564d=function(){return _0x5a487b;};return _0x564d();}async function loadImageFromDisk(_0x20f88d){const _0xfad974=_0x8f3652;return await Jimp[_0xfad974(0x1b4)](_0x20f88d);}async function loadFileString(_0x174bca){const _0x5b78cc=_0x8f3652;let _0x251877=await fs[_0x5b78cc(0x1b0)][_0x5b78cc(0x18f)](_0x174bca[_0x5b78cc(0x1b3)]());return _0x251877[_0x5b78cc(0x1b3)]();}
1
+ 'use strict';const _0x10dd34=_0xd8ad;(function(_0x354ba0,_0xba8b7){const _0x275949=_0xd8ad,_0x3ecc92=_0x354ba0();while(!![]){try{const _0x3e7ff7=parseInt(_0x275949(0xd5))/0x1+-parseInt(_0x275949(0xcb))/0x2+parseInt(_0x275949(0xe8))/0x3+-parseInt(_0x275949(0xd2))/0x4+-parseInt(_0x275949(0xed))/0x5*(-parseInt(_0x275949(0xbd))/0x6)+parseInt(_0x275949(0xdf))/0x7*(parseInt(_0x275949(0xca))/0x8)+-parseInt(_0x275949(0xc8))/0x9*(parseInt(_0x275949(0xbb))/0xa);if(_0x3e7ff7===_0xba8b7)break;else _0x3ecc92['push'](_0x3ecc92['shift']());}catch(_0x23aeda){_0x3ecc92['push'](_0x3ecc92['shift']());}}}(_0x5972,0xb49d6));Object[_0x10dd34(0xea)](exports,_0x10dd34(0xd8),{'value':!![]}),exports[_0x10dd34(0xc5)]=loadJsonFromNet,exports[_0x10dd34(0xbf)]=loadJsonFromDisk,exports[_0x10dd34(0xe3)]=loadImageFromNet,exports[_0x10dd34(0xdd)]=loadImageFromDisk,exports[_0x10dd34(0xd4)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x10dd34(0xeb)),CustomError_1=require(_0x10dd34(0xd7)),Jimp=require(_0x10dd34(0xbe)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x2bba3b){const _0x543959=_0x10dd34,_0x4ad468=await FetchUtils_1_1[_0x543959(0xe6)][_0x543959(0xd6)](_0x2bba3b,{'encoding':_0x543959(0xe4)});if(_0x4ad468[_0x543959(0xc0)]!==0xc8)throw new CustomError_1[(_0x543959(0xec))]({'code':0xbbc,'message':_0x543959(0xc3)+_0x2bba3b+'.'+(_0x543959(0xc2)+_0x4ad468[_0x543959(0xc0)]+_0x543959(0xcc)),'message_staring_params':{'web_manifest_url':_0x2bba3b,'status':_0x4ad468[_0x543959(0xc0)]}});try{let _0x491695;return _0x4ad468[_0x543959(0xe7)]?_0x491695=await _0x4ad468[_0x543959(0xe7)]():[_0x543959(0xe1),_0x543959(0xd0),'br'][_0x543959(0xb9)](_0x4ad468[_0x543959(0xcd)][_0x543959(0xd1)])?_0x491695=FetchUtils_1_1['fetchUtils'][_0x543959(0xd9)](Buffer[_0x543959(0xdc)](_0x4ad468[_0x543959(0xc4)],_0x543959(0xe4)),_0x4ad468['headers']['content-encoding'])[_0x543959(0xba)]():_0x491695=Buffer['from'](_0x4ad468[_0x543959(0xc4)],'binary')['toString'](),JSON[_0x543959(0xe0)](_0x491695['trim']());}catch(_0x368e43){throw new CustomError_1[(_0x543959(0xec))]({'code':0xbbd,'message':_0x543959(0xc7),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x4358c6){const _0x2d52ae=_0x10dd34,_0x511c99=await loadFileString(_0x4358c6[_0x2d52ae(0xba)]());return JSON['parse'](_0x511c99);}async function loadImageFromNet(_0x3ba9ab){const _0xeaafd7=_0x10dd34,_0x3594f8=await FetchUtils_1_1[_0xeaafd7(0xe6)][_0xeaafd7(0xd6)](_0x3ba9ab,{'encoding':_0xeaafd7(0xe4)});if(_0x3594f8[_0xeaafd7(0xc0)]!==0xc8)throw new CustomError_1[(_0xeaafd7(0xec))]({'code':0x7d2,'message':_0xeaafd7(0xe9)+_0x3594f8[_0xeaafd7(0xc0)],'message_staring_params':{'icon_url':_0x3ba9ab,'status':_0x3594f8[_0xeaafd7(0xc0)]}});const _0x314d40=_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xcf)]?_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xcf)](_0xeaafd7(0xd3)):_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xd3)];if(!(_0x314d40===null||_0x314d40===void 0x0?void 0x0:_0x314d40['startsWith'](_0xeaafd7(0xde))))throw new CustomError_1[(_0xeaafd7(0xec))]({'code':0x7d3,'message':_0xeaafd7(0xdb)+(_0xeaafd7(0xda)+_0x314d40+'\x22'),'message_staring_params':{'icon_url':_0x3ba9ab,'contentType':_0x314d40}});let _0x2ea52f;_0x3594f8[_0xeaafd7(0xc9)]?_0x2ea52f=await _0x3594f8[_0xeaafd7(0xc9)]():[_0xeaafd7(0xe1),_0xeaafd7(0xd0),'br']['includes'](_0x3594f8[_0xeaafd7(0xcd)]['content-encoding'])?_0x2ea52f=FetchUtils_1_1[_0xeaafd7(0xe6)]['decompressResponseBuffer'](Buffer[_0xeaafd7(0xdc)](_0x3594f8['data'],_0xeaafd7(0xe4)),_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xd1)]):_0x2ea52f=Buffer['from'](_0x3594f8[_0xeaafd7(0xc4)],'binary');if(_0x314d40[_0xeaafd7(0xbc)]('image/svg')){const _0x2765ca=new TextDecoder();try{_0x2ea52f=await imageHelper_1[_0xeaafd7(0xce)]['svg2img'](_0x2765ca[_0xeaafd7(0xc6)](_0x2ea52f));}catch(_0x50a708){throw new CustomError_1[(_0xeaafd7(0xec))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x3ba9ab+':\x20'+_0x50a708,'message_staring_params':{'icon_url':_0x3ba9ab,'error':_0x50a708}});}}return _0x314d40[_0xeaafd7(0xbc)](_0xeaafd7(0xe5))&&(_0x2ea52f=await imageHelper_1[_0xeaafd7(0xce)][_0xeaafd7(0xee)](_0x2ea52f)),await Jimp['read'](Buffer[_0xeaafd7(0xdc)](_0x2ea52f));}function _0x5972(){const _0x38c49e=['readFile','loadImageFromNet','binary','image/webp','fetchUtils','text','1823472NQgGTo','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','defineProperty','../utils/FetchUtils-1','CustomError','253490CpYwNV','webp2PngBuffer','includes','toString','2118230HBvIxS','startsWith','150wNhQqL','jimp','loadJsonFromDisk','status','read','The\x20response\x20status\x20is\x20','Failed\x20to\x20download\x20Web\x20Manifest\x20','data','loadJsonFromNet','decode','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','45cIctSQ','arrayBuffer','8nRrlaN','1587952jelVOE',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','headers','ImageHelper','get','deflate','content-encoding','4802408qBCFcV','content-type','loadFileString','538654fLObBd','fetch','../utils/CustomError','__esModule','decompressResponseBuffer','\x20Responded\x20with\x20Content-Type\x20\x22','Received\x20icon\x20with\x20invalid\x20Content-Type.','from','loadImageFromDisk','image/','9656941CTgqll','parse','gzip'];_0x5972=function(){return _0x38c49e;};return _0x5972();}function _0xd8ad(_0xd1fed0,_0x5cceae){const _0x597240=_0x5972();return _0xd8ad=function(_0xd8ada5,_0x571071){_0xd8ada5=_0xd8ada5-0xb9;let _0x35f9ef=_0x597240[_0xd8ada5];return _0x35f9ef;},_0xd8ad(_0xd1fed0,_0x5cceae);}async function loadImageFromDisk(_0x3d18b5){const _0xfcf5d6=_0x10dd34;return await Jimp[_0xfcf5d6(0xc1)](_0x3d18b5);}async function loadFileString(_0x43ae08){const _0x3dd812=_0x10dd34;let _0x5d0596=await fs['promises'][_0x3dd812(0xe2)](_0x43ae08['toString']());return _0x5d0596['toString']();}
@@ -1 +1 @@
1
- 'use strict';var _0x4a60eb=_0x1db2;(function(_0x2409af,_0x487500){var _0x5c5511=_0x1db2,_0x50545a=_0x2409af();while(!![]){try{var _0x2a2be1=-parseInt(_0x5c5511(0x1b2))/0x1*(parseInt(_0x5c5511(0x1ab))/0x2)+parseInt(_0x5c5511(0x1aa))/0x3*(-parseInt(_0x5c5511(0x1b5))/0x4)+-parseInt(_0x5c5511(0x1b4))/0x5+parseInt(_0x5c5511(0x1b1))/0x6*(-parseInt(_0x5c5511(0x1ae))/0x7)+-parseInt(_0x5c5511(0x1b6))/0x8+-parseInt(_0x5c5511(0x1ad))/0x9*(-parseInt(_0x5c5511(0x1a8))/0xa)+parseInt(_0x5c5511(0x1b8))/0xb;if(_0x2a2be1===_0x487500)break;else _0x50545a['push'](_0x50545a['shift']());}catch(_0x383235){_0x50545a['push'](_0x50545a['shift']());}}}(_0x23ef,0x623f8));Object[_0x4a60eb(0x1b0)](exports,_0x4a60eb(0x1b7),{'value':!![]}),exports[_0x4a60eb(0x1b3)]=void 0x0;class CustomError extends Error{constructor(_0xf39d42,_0x20e6d1){var _0x543054=_0x4a60eb;super(JSON['stringify'](_0xf39d42)),this[_0x543054(0x1af)]=_0xf39d42,this[_0x543054(0x1a9)]=_0x20e6d1||_0x543054(0x1ac);}}exports[_0x4a60eb(0x1b3)]=CustomError;function _0x1db2(_0x184f33,_0x18c720){var _0x23ef81=_0x23ef();return _0x1db2=function(_0x1db2af,_0x36cc2b){_0x1db2af=_0x1db2af-0x1a8;var _0x153350=_0x23ef81[_0x1db2af];return _0x153350;},_0x1db2(_0x184f33,_0x18c720);}function _0x23ef(){var _0x53ffb4=['type','6IizmMa','1438NJqcAy','info','9affZEe','49zommJQ','customMessage','defineProperty','347610HBEmKx','1013ulpXpr','CustomError','1407035UusCwu','1429144auHuGw','4715168wRCnNz','__esModule','34264967JqdPnK','66940mVJEAt'];_0x23ef=function(){return _0x53ffb4;};return _0x23ef();}
1
+ 'use strict';function _0x25c5(_0x52c911,_0x1cf872){var _0x7c4df9=_0x7c4d();return _0x25c5=function(_0x25c54f,_0x4e9c43){_0x25c54f=_0x25c54f-0x1be;var _0x3d3360=_0x7c4df9[_0x25c54f];return _0x3d3360;},_0x25c5(_0x52c911,_0x1cf872);}var _0x5a5e31=_0x25c5;(function(_0x20cae6,_0x4109df){var _0x36661c=_0x25c5,_0x6a9054=_0x20cae6();while(!![]){try{var _0x5aa051=parseInt(_0x36661c(0x1c4))/0x1*(-parseInt(_0x36661c(0x1c2))/0x2)+parseInt(_0x36661c(0x1c3))/0x3*(parseInt(_0x36661c(0x1c6))/0x4)+parseInt(_0x36661c(0x1c5))/0x5+parseInt(_0x36661c(0x1c8))/0x6+-parseInt(_0x36661c(0x1cf))/0x7*(parseInt(_0x36661c(0x1c7))/0x8)+parseInt(_0x36661c(0x1c9))/0x9+-parseInt(_0x36661c(0x1cb))/0xa*(parseInt(_0x36661c(0x1be))/0xb);if(_0x5aa051===_0x4109df)break;else _0x6a9054['push'](_0x6a9054['shift']());}catch(_0xba54c){_0x6a9054['push'](_0x6a9054['shift']());}}}(_0x7c4d,0x930f0));Object[_0x5a5e31(0x1bf)](exports,_0x5a5e31(0x1cd),{'value':!![]}),exports[_0x5a5e31(0x1c0)]=void 0x0;class CustomError extends Error{constructor(_0x495df3,_0x2637b5){var _0x367e0d=_0x5a5e31;super(JSON[_0x367e0d(0x1ce)](_0x495df3)),this[_0x367e0d(0x1ca)]=_0x495df3,this[_0x367e0d(0x1c1)]=_0x2637b5||_0x367e0d(0x1cc);}}function _0x7c4d(){var _0x34d347=['297604NpzLzN','3438130skhalz','39752zJldeq','8BmeWfo','2238744UFEVoC','8575902iDTGTI','customMessage','16053090srhGRO','info','__esModule','stringify','2054255NiulGP','11tJWwOL','defineProperty','CustomError','type','2aPHilh','237iRTGfp'];_0x7c4d=function(){return _0x34d347;};return _0x7c4d();}exports[_0x5a5e31(0x1c0)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';function _0x35cb(_0x1dbf3c,_0x12d380){const _0x3cc971=_0x3cc9();return _0x35cb=function(_0x35cbf6,_0x462e0c){_0x35cbf6=_0x35cbf6-0x1e9;let _0x188544=_0x3cc971[_0x35cbf6];return _0x188544;},_0x35cb(_0x1dbf3c,_0x12d380);}function _0x3cc9(){const _0x56dbd2=['setDecompressResponseBuffer','2872588EoPQXh','7DkQEqT','__esModule','5596HUPPGN','decompressResponseBuffer','setFetch','fetchUtils','setDownloadFile','2477336uoETsq','4792260EMiVdN','2393250Jqsjqx','downloadFile','10NHQunP','761970KjzeEv','defineProperty','fetch','12622311vQzuav','1587jEeNhi','fetchEngine','setFetchEngine'];_0x3cc9=function(){return _0x56dbd2;};return _0x3cc9();}const _0x37f902=_0x35cb;(function(_0x1a9871,_0x41d5c4){const _0x38cd94=_0x35cb,_0x3d848a=_0x1a9871();while(!![]){try{const _0x17398e=parseInt(_0x38cd94(0x1f5))/0x1+-parseInt(_0x38cd94(0x1fd))/0x2+parseInt(_0x38cd94(0x1f9))/0x3*(-parseInt(_0x38cd94(0x1eb))/0x4)+parseInt(_0x38cd94(0x1f1))/0x5+-parseInt(_0x38cd94(0x1f2))/0x6+-parseInt(_0x38cd94(0x1e9))/0x7*(-parseInt(_0x38cd94(0x1f0))/0x8)+-parseInt(_0x38cd94(0x1f8))/0x9*(-parseInt(_0x38cd94(0x1f4))/0xa);if(_0x17398e===_0x41d5c4)break;else _0x3d848a['push'](_0x3d848a['shift']());}catch(_0xa1b921){_0x3d848a['push'](_0x3d848a['shift']());}}}(_0x3cc9,0xd14f0));Object[_0x37f902(0x1f6)](exports,_0x37f902(0x1ea),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x1cd988=_0x37f902;this[_0x1cd988(0x1fa)]=null,this['fetch']=null,this[_0x1cd988(0x1f3)]=null,this[_0x1cd988(0x1ec)]=null;}[_0x37f902(0x1fb)](_0x5073bf){const _0x6ea08f=_0x37f902;this[_0x6ea08f(0x1fa)]=_0x5073bf;}[_0x37f902(0x1ed)](_0x25a9cb){const _0x476c03=_0x37f902;this[_0x476c03(0x1f7)]=_0x25a9cb;}[_0x37f902(0x1ef)](_0x37b305){this['downloadFile']=_0x37b305;}[_0x37f902(0x1fc)](_0x263cfd){this['decompressResponseBuffer']=_0x263cfd;}}const fetchUtils=new FetchUtils();exports[_0x37f902(0x1ee)]=fetchUtils;
1
+ 'use strict';const _0x1c0603=_0x6f65;function _0x2655(){const _0x507466=['setFetchEngine','3396702xrAnmu','fetch','1197kGODyP','decompressResponseBuffer','8252brWefb','setDownloadFile','fetchEngine','fetchUtils','1495bYCbfB','__esModule','1032102hHmbFL','54904NnqFDE','7457814YcMruJ','downloadFile','134221liOnES','6622608PjLhsD'];_0x2655=function(){return _0x507466;};return _0x2655();}(function(_0x3c5bb5,_0xbb75b4){const _0x3780aa=_0x6f65,_0x2aa9b0=_0x3c5bb5();while(!![]){try{const _0x47d363=-parseInt(_0x3780aa(0x145))/0x1+parseInt(_0x3780aa(0x141))/0x2+parseInt(_0x3780aa(0x137))/0x3+parseInt(_0x3780aa(0x13b))/0x4*(parseInt(_0x3780aa(0x13f))/0x5)+-parseInt(_0x3780aa(0x146))/0x6+-parseInt(_0x3780aa(0x139))/0x7*(parseInt(_0x3780aa(0x142))/0x8)+parseInt(_0x3780aa(0x143))/0x9;if(_0x47d363===_0xbb75b4)break;else _0x2aa9b0['push'](_0x2aa9b0['shift']());}catch(_0x4056cd){_0x2aa9b0['push'](_0x2aa9b0['shift']());}}}(_0x2655,0xa68de));Object['defineProperty'](exports,_0x1c0603(0x140),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x339634=_0x1c0603;this['fetchEngine']=null,this[_0x339634(0x138)]=null,this[_0x339634(0x144)]=null,this['decompressResponseBuffer']=null;}[_0x1c0603(0x136)](_0x51bada){const _0x26cd5a=_0x1c0603;this[_0x26cd5a(0x13d)]=_0x51bada;}['setFetch'](_0x1451a2){const _0x46ac53=_0x1c0603;this[_0x46ac53(0x138)]=_0x1451a2;}[_0x1c0603(0x13c)](_0x25f940){this['downloadFile']=_0x25f940;}['setDecompressResponseBuffer'](_0x49ff29){const _0x51ac06=_0x1c0603;this[_0x51ac06(0x13a)]=_0x49ff29;}}function _0x6f65(_0x275fb2,_0x3d069d){const _0x265503=_0x2655();return _0x6f65=function(_0x6f654e,_0x1b37f4){_0x6f654e=_0x6f654e-0x136;let _0x572600=_0x265503[_0x6f654e];return _0x572600;},_0x6f65(_0x275fb2,_0x3d069d);}const fetchUtils=new FetchUtils();exports[_0x1c0603(0x13e)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x184739=_0x3f2a;function _0x37fd(){var _0x4e9dc4=['red','warn','defineProperty','ConsoleLog','concat','__esModule','ERROR\x20','1119BQprqT','\x1b[7m','485981exLAPm','87456JxhcIe','debug','setVerbose','162alYLbX','inverse','3073180oBgGgR','\x1b[33m','\x1b[36m','newLog','2858DYtWmd','759448GzAqMq','output','verbose','dim','error','\x1b[31m','tag','prefix','log','\x1b[0m','800620wEZdnb','yellow','info','4628UQhSyd','21XIfjux'];_0x37fd=function(){return _0x4e9dc4;};return _0x37fd();}function _0x3f2a(_0x13e7a5,_0x348543){var _0x37fdb3=_0x37fd();return _0x3f2a=function(_0x3f2ad9,_0x6b5111){_0x3f2ad9=_0x3f2ad9-0xff;var _0x41d38c=_0x37fdb3[_0x3f2ad9];return _0x41d38c;},_0x3f2a(_0x13e7a5,_0x348543);}(function(_0x2e2a71,_0x376d33){var _0x3cf1b6=_0x3f2a,_0x2e0ca5=_0x2e2a71();while(!![]){try{var _0x52bb33=parseInt(_0x3cf1b6(0x110))/0x1+parseInt(_0x3cf1b6(0x11a))/0x2*(parseInt(_0x3cf1b6(0x10e))/0x3)+parseInt(_0x3cf1b6(0x105))/0x4+parseInt(_0x3cf1b6(0x116))/0x5+-parseInt(_0x3cf1b6(0x111))/0x6*(-parseInt(_0x3cf1b6(0x106))/0x7)+parseInt(_0x3cf1b6(0x11b))/0x8+parseInt(_0x3cf1b6(0x114))/0x9*(-parseInt(_0x3cf1b6(0x102))/0xa);if(_0x52bb33===_0x376d33)break;else _0x2e0ca5['push'](_0x2e0ca5['shift']());}catch(_0x4aa4c1){_0x2e0ca5['push'](_0x2e0ca5['shift']());}}}(_0x37fd,0x5122e));Object[_0x184739(0x109)](exports,_0x184739(0x10c),{'value':!![]}),exports[_0x184739(0x10a)]=void 0x0;class ConsoleLog{constructor(_0x4450b8='',_0x333ff2=![],_0x5b5dd6=console){var _0xb5cf62=_0x184739;this[_0xb5cf62(0x121)]=_0x4450b8,this[_0xb5cf62(0x11d)]=_0x333ff2,this[_0xb5cf62(0xff)]=this[_0xb5cf62(0x115)](_0x4450b8),this[_0xb5cf62(0x11c)]=_0x5b5dd6;}[_0x184739(0x112)](_0x5e01c8,..._0x3f05a6){var _0x57a6c6=_0x184739;if(!this[_0x57a6c6(0x11d)])return;this[_0x57a6c6(0x100)](this[_0x57a6c6(0x11c)][_0x57a6c6(0x100)],this['dim'](_0x5e01c8),..._0x3f05a6);}[_0x184739(0x104)](_0x472c96,..._0x529391){var _0x15715c=_0x184739;this[_0x15715c(0x100)](this[_0x15715c(0x11c)]['log'],_0x472c96,..._0x529391);}[_0x184739(0x108)](_0x52628c,..._0x3a01fd){var _0x1c8c34=_0x184739;this[_0x1c8c34(0x100)](this[_0x1c8c34(0x11c)]['warn'],this[_0x1c8c34(0x103)]('WARNING\x20'+_0x52628c),..._0x3a01fd);}[_0x184739(0x11f)](_0x128a10,..._0x74b542){var _0x31faa1=_0x184739;this[_0x31faa1(0x11c)][_0x31faa1(0x11f)]('\x0a'),this[_0x31faa1(0x100)](this[_0x31faa1(0x11c)][_0x31faa1(0x11f)],this['red'](_0x31faa1(0x10d)+_0x128a10),..._0x74b542),this[_0x31faa1(0x11c)][_0x31faa1(0x11f)]('\x0a');}[_0x184739(0x113)](_0x7ed4df){this['verbose']=_0x7ed4df;}[_0x184739(0x119)](_0x91811d){var _0x26482e=_0x184739;return this[_0x26482e(0x121)]&&(_0x91811d=this[_0x26482e(0x121)]+'\x20'+_0x91811d),new ConsoleLog(_0x91811d,this['verbose'],this[_0x26482e(0x11c)]);}[_0x184739(0x100)](_0x6f2e42,_0x21ffdb,..._0xec7b8d){var _0x275d59=_0x184739;this['prefix']&&(_0x21ffdb=this[_0x275d59(0xff)]+'\x20'+_0x21ffdb),_0xec7b8d?_0x6f2e42(...[_0x21ffdb][_0x275d59(0x10b)](_0xec7b8d)):_0x6f2e42(_0x21ffdb);}['inverse'](_0x4767ff){var _0x1b6dd5=_0x184739;return _0x1b6dd5(0x10f)+_0x4767ff+'\x1b[0m';}[_0x184739(0x11e)](_0x5d6fc3){var _0x347149=_0x184739;return _0x347149(0x118)+_0x5d6fc3+_0x347149(0x101);}[_0x184739(0x103)](_0x3b1c74){var _0x5b83b5=_0x184739;return _0x5b83b5(0x117)+_0x3b1c74+_0x5b83b5(0x101);}[_0x184739(0x107)](_0x54ecf6){var _0x2b6ff6=_0x184739;return _0x2b6ff6(0x120)+_0x54ecf6+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x3828f6=_0x5c2e;(function(_0x2aa49b,_0x247074){var _0x4de64e=_0x5c2e,_0x53ef96=_0x2aa49b();while(!![]){try{var _0xafca44=parseInt(_0x4de64e(0x77))/0x1*(parseInt(_0x4de64e(0x71))/0x2)+parseInt(_0x4de64e(0x79))/0x3+parseInt(_0x4de64e(0x78))/0x4*(parseInt(_0x4de64e(0x83))/0x5)+parseInt(_0x4de64e(0x7c))/0x6*(parseInt(_0x4de64e(0x8b))/0x7)+parseInt(_0x4de64e(0x72))/0x8+parseInt(_0x4de64e(0x7d))/0x9*(-parseInt(_0x4de64e(0x6a))/0xa)+-parseInt(_0x4de64e(0x7a))/0xb*(parseInt(_0x4de64e(0x80))/0xc);if(_0xafca44===_0x247074)break;else _0x53ef96['push'](_0x53ef96['shift']());}catch(_0x2ac172){_0x53ef96['push'](_0x53ef96['shift']());}}}(_0x56b9,0x342a1));function _0x5c2e(_0x1ee67d,_0x5d6658){var _0x56b9a7=_0x56b9();return _0x5c2e=function(_0x5c2e0a,_0x24e9ed){_0x5c2e0a=_0x5c2e0a-0x6a;var _0x2215f3=_0x56b9a7[_0x5c2e0a];return _0x2215f3;},_0x5c2e(_0x1ee67d,_0x5d6658);}function _0x56b9(){var _0x479c2b=['prefix','setVerbose','red','361327RjxKhm','4JSBkPY','201144PQyrpC','11HxsVOJ','warn','628662HeUjcY','171GsMood','inverse','dim','6971460hPxQxS','verbose','log','1411880ruvoBD','\x1b[0m','ConsoleLog','output','\x1b[7m','debug','ERROR\x20','error','7MuvBQC','205210BhtfTf','WARNING\x20','__esModule','newLog','concat','tag','yellow','2SaUCFs','2951928cKFSLJ','info'];_0x56b9=function(){return _0x479c2b;};return _0x56b9();}Object['defineProperty'](exports,_0x3828f6(0x6c),{'value':!![]}),exports[_0x3828f6(0x85)]=void 0x0;class ConsoleLog{constructor(_0xd7118b='',_0x181a93=![],_0x4f720e=console){var _0x33fc17=_0x3828f6;this['tag']=_0xd7118b,this[_0x33fc17(0x81)]=_0x181a93,this[_0x33fc17(0x74)]=this[_0x33fc17(0x7e)](_0xd7118b),this['output']=_0x4f720e;}[_0x3828f6(0x88)](_0x366a2d,..._0x576bc9){var _0x32b638=_0x3828f6;if(!this[_0x32b638(0x81)])return;this[_0x32b638(0x82)](this[_0x32b638(0x86)]['log'],this[_0x32b638(0x7f)](_0x366a2d),..._0x576bc9);}[_0x3828f6(0x73)](_0x5cad48,..._0x213e4e){var _0x11502e=_0x3828f6;this['log'](this[_0x11502e(0x86)][_0x11502e(0x82)],_0x5cad48,..._0x213e4e);}[_0x3828f6(0x7b)](_0x70172b,..._0x3bce9e){var _0x3cac6d=_0x3828f6;this[_0x3cac6d(0x82)](this[_0x3cac6d(0x86)]['warn'],this[_0x3cac6d(0x70)](_0x3cac6d(0x6b)+_0x70172b),..._0x3bce9e);}['error'](_0x5e92fd,..._0x5724b7){var _0x290ce7=_0x3828f6;this['output'][_0x290ce7(0x8a)]('\x0a'),this['log'](this[_0x290ce7(0x86)]['error'],this['red'](_0x290ce7(0x89)+_0x5e92fd),..._0x5724b7),this[_0x290ce7(0x86)][_0x290ce7(0x8a)]('\x0a');}[_0x3828f6(0x75)](_0x1eb522){this['verbose']=_0x1eb522;}[_0x3828f6(0x6d)](_0xf77f87){var _0x152930=_0x3828f6;return this[_0x152930(0x6f)]&&(_0xf77f87=this[_0x152930(0x6f)]+'\x20'+_0xf77f87),new ConsoleLog(_0xf77f87,this[_0x152930(0x81)],this[_0x152930(0x86)]);}[_0x3828f6(0x82)](_0xea445e,_0xa2002e,..._0x3376b0){var _0x32d06b=_0x3828f6;this[_0x32d06b(0x74)]&&(_0xa2002e=this['prefix']+'\x20'+_0xa2002e),_0x3376b0?_0xea445e(...[_0xa2002e][_0x32d06b(0x6e)](_0x3376b0)):_0xea445e(_0xa2002e);}[_0x3828f6(0x7e)](_0x40102d){var _0x10e95c=_0x3828f6;return _0x10e95c(0x87)+_0x40102d+_0x10e95c(0x84);}[_0x3828f6(0x7f)](_0x2848d4){var _0x1bf809=_0x3828f6;return'\x1b[36m'+_0x2848d4+_0x1bf809(0x84);}['yellow'](_0x42aa07){var _0x25c743=_0x3828f6;return'\x1b[33m'+_0x42aa07+_0x25c743(0x84);}[_0x3828f6(0x76)](_0x26b2e4){var _0x1b7979=_0x3828f6;return'\x1b[31m'+_0x26b2e4+_0x1b7979(0x84);}}exports[_0x3828f6(0x85)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x476c5f=_0x1627;(function(_0x499047,_0x23a287){const _0x2e00ce=_0x1627,_0x438687=_0x499047();while(!![]){try{const _0x5ed822=-parseInt(_0x2e00ce(0x146))/0x1+parseInt(_0x2e00ce(0x135))/0x2+-parseInt(_0x2e00ce(0x138))/0x3*(-parseInt(_0x2e00ce(0x143))/0x4)+parseInt(_0x2e00ce(0x149))/0x5+-parseInt(_0x2e00ce(0x130))/0x6*(-parseInt(_0x2e00ce(0x141))/0x7)+-parseInt(_0x2e00ce(0x13f))/0x8*(-parseInt(_0x2e00ce(0x148))/0x9)+-parseInt(_0x2e00ce(0x147))/0xa;if(_0x5ed822===_0x23a287)break;else _0x438687['push'](_0x438687['shift']());}catch(_0x50fb4f){_0x438687['push'](_0x438687['shift']());}}}(_0x514a,0x3e21f));function _0x1627(_0x4da55d,_0x392613){const _0x514a26=_0x514a();return _0x1627=function(_0x1627fc,_0x244499){_0x1627fc=_0x1627fc-0x12f;let _0x991e2f=_0x514a26[_0x1627fc];return _0x991e2f;},_0x1627(_0x4da55d,_0x392613);}function _0x514a(){const _0x276e31=['18EIDYeH','566905GFGKmn','brotliDecompressSync','defineProperty','unzipSync','readable','150UotbtR','zlib','test','fetch','error','992382BvkZQM','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','headers','411lNuCkj','Content-Length','data','downloadFile','context','finish','Z_SYNC_FLUSH','618632JgGYcG','constants','47992LUmRRB','follow','9332inrljl','get','__esModule','35249zDGSPl','9655070DBCbmU'];_0x514a=function(){return _0x276e31;};return _0x514a();}Object[_0x476c5f(0x14b)](exports,_0x476c5f(0x145),{'value':!![]}),exports['fetch']=fetch,exports[_0x476c5f(0x13b)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x476c5f(0x131)),userAgent=_0x476c5f(0x136),fetchh2Ctx=(0x0,fetch_h2_1[_0x476c5f(0x13c)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x476c5f(0x133)];async function fetch(_0x4c92d4,_0x5ebd94){const _0x53d425=_0x476c5f;return await fetchh2(_0x4c92d4,_0x5ebd94?{'redirect':_0x53d425(0x142),..._0x5ebd94}:{'redirect':'follow'});}async function downloadFile(_0x5a99f3,_0x515e5c,_0x44954f){const _0x18e7be=_0x476c5f;let _0x34e62c,_0x5baff8;_0x34e62c=await fetchh2(_0x5a99f3,{'redirect':_0x18e7be(0x142)}),_0x5baff8=await _0x34e62c[_0x18e7be(0x12f)]();const _0x22eb42=_0x34e62c[_0x18e7be(0x137)][_0x18e7be(0x144)](_0x18e7be(0x139)),_0x259f78=_0x22eb42?parseInt(_0x22eb42):-0x1,_0xff41a9=fs['createWriteStream'](_0x515e5c);let _0xc70408=0x0;await new Promise((_0x12ce1d,_0x52c398)=>{const _0x40073e=_0x18e7be;_0x5baff8['pipe'](_0xff41a9),_0x44954f&&_0x5baff8['on'](_0x40073e(0x13a),_0x576418=>{_0xc70408=_0xc70408+_0x576418['length'],_0x44954f(_0xc70408,_0x259f78);}),_0x5baff8['on'](_0x40073e(0x134),_0x45fa56=>{_0x52c398(_0x45fa56);}),_0xff41a9['on'](_0x40073e(0x13d),()=>{_0x12ce1d();});});}function decompressResponseBuffer(_0x4e680b,_0xfbdb4b){const _0x4c883a=_0x476c5f;let _0x28df73=_0x4e680b;if(/\bgzip\b/['test'](_0xfbdb4b)||/\bdeflate\b/['test'](_0xfbdb4b))_0x28df73=zlib[_0x4c883a(0x14c)](_0x4e680b,{'flush':zlib[_0x4c883a(0x140)][_0x4c883a(0x13e)],'finishFlush':zlib[_0x4c883a(0x140)][_0x4c883a(0x13e)]});else/\bbr\b/[_0x4c883a(0x132)](_0xfbdb4b)&&(_0x28df73=zlib[_0x4c883a(0x14a)](_0x4e680b));return _0x28df73;}
1
+ 'use strict';const _0x1376f9=_0x5224;(function(_0x578269,_0x475ffe){const _0x531e99=_0x5224,_0x343eb6=_0x578269();while(!![]){try{const _0x25ab7a=parseInt(_0x531e99(0x1db))/0x1*(parseInt(_0x531e99(0x1f4))/0x2)+-parseInt(_0x531e99(0x1e1))/0x3*(-parseInt(_0x531e99(0x1ef))/0x4)+parseInt(_0x531e99(0x1f1))/0x5+parseInt(_0x531e99(0x1f0))/0x6+parseInt(_0x531e99(0x1eb))/0x7+-parseInt(_0x531e99(0x1e2))/0x8+parseInt(_0x531e99(0x1e7))/0x9*(-parseInt(_0x531e99(0x1e3))/0xa);if(_0x25ab7a===_0x475ffe)break;else _0x343eb6['push'](_0x343eb6['shift']());}catch(_0x457fc4){_0x343eb6['push'](_0x343eb6['shift']());}}}(_0x3771,0xdcb12));Object[_0x1376f9(0x1ec)](exports,_0x1376f9(0x1dc),{'value':!![]}),exports[_0x1376f9(0x1ee)]=fetch,exports['downloadFile']=downloadFile,exports[_0x1376f9(0x1e9)]=decompressResponseBuffer;function _0x3771(){const _0x1856ca=['follow','Z_SYNC_FLUSH','context','1347hJfFeq','5384488dOEcCC','20fMNkjS','length','headers','data','13011966ELDSLp','zlib','decompressResponseBuffer','test','8683661fhzOxy','defineProperty','unzipSync','fetch','7264RbCjgf','3985890xwyyrO','2325900MGCphD','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','fetch-h2','2KcFCyg','pipe','constants','finish','get','1283161bFXjsR','__esModule','error'];_0x3771=function(){return _0x1856ca;};return _0x3771();}const fetch_h2_1=require(_0x1376f9(0x1f3)),fs=require('fs'),zlib=require(_0x1376f9(0x1e8)),userAgent=_0x1376f9(0x1f2),fetchh2Ctx=(0x0,fetch_h2_1[_0x1376f9(0x1e0)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x1376f9(0x1ee)];async function fetch(_0x208023,_0xd2c62d){const _0x560cb8=_0x1376f9;return await fetchh2(_0x208023,_0xd2c62d?{'redirect':_0x560cb8(0x1de),..._0xd2c62d}:{'redirect':_0x560cb8(0x1de)});}function _0x5224(_0x47dbd5,_0x475762){const _0x377157=_0x3771();return _0x5224=function(_0x522486,_0x3ba80e){_0x522486=_0x522486-0x1da;let _0x34fb49=_0x377157[_0x522486];return _0x34fb49;},_0x5224(_0x47dbd5,_0x475762);}async function downloadFile(_0x4f2f49,_0x378878,_0x5a69f0){const _0x1c2405=_0x1376f9;let _0x259129,_0x3b7941;_0x259129=await fetchh2(_0x4f2f49,{'redirect':_0x1c2405(0x1de)}),_0x3b7941=await _0x259129['readable']();const _0x3a857a=_0x259129[_0x1c2405(0x1e5)][_0x1c2405(0x1da)]('Content-Length'),_0x450e22=_0x3a857a?parseInt(_0x3a857a):-0x1,_0xf678b7=fs['createWriteStream'](_0x378878);let _0x38549c=0x0;await new Promise((_0x2f75cc,_0x3f9046)=>{const _0xd45309=_0x1c2405;_0x3b7941[_0xd45309(0x1f5)](_0xf678b7),_0x5a69f0&&_0x3b7941['on'](_0xd45309(0x1e6),_0x168ace=>{const _0xd6bd71=_0xd45309;_0x38549c=_0x38549c+_0x168ace[_0xd6bd71(0x1e4)],_0x5a69f0(_0x38549c,_0x450e22);}),_0x3b7941['on'](_0xd45309(0x1dd),_0xffc52f=>{_0x3f9046(_0xffc52f);}),_0xf678b7['on'](_0xd45309(0x1f7),()=>{_0x2f75cc();});});}function decompressResponseBuffer(_0x1189d8,_0x3a6bec){const _0x442c99=_0x1376f9;let _0x4009d8=_0x1189d8;if(/\bgzip\b/[_0x442c99(0x1ea)](_0x3a6bec)||/\bdeflate\b/[_0x442c99(0x1ea)](_0x3a6bec))_0x4009d8=zlib[_0x442c99(0x1ed)](_0x1189d8,{'flush':zlib[_0x442c99(0x1f6)][_0x442c99(0x1df)],'finishFlush':zlib[_0x442c99(0x1f6)][_0x442c99(0x1df)]});else/\bbr\b/['test'](_0x3a6bec)&&(_0x4009d8=zlib['brotliDecompressSync'](_0x1189d8));return _0x4009d8;}
@@ -1 +1 @@
1
- 'use strict';const _0x507ae3=_0x2763;function _0x2763(_0x17c602,_0x5a7741){const _0x18a2fc=_0x18a2();return _0x2763=function(_0x276378,_0x3a7adc){_0x276378=_0x276378-0x175;let _0x5e8f36=_0x18a2fc[_0x276378];return _0x5e8f36;},_0x2763(_0x17c602,_0x5a7741);}(function(_0x51a315,_0x28e3ec){const _0x5cda4c=_0x2763,_0x1250e3=_0x51a315();while(!![]){try{const _0x224d9b=parseInt(_0x5cda4c(0x17f))/0x1*(parseInt(_0x5cda4c(0x1ac))/0x2)+-parseInt(_0x5cda4c(0x190))/0x3*(parseInt(_0x5cda4c(0x198))/0x4)+parseInt(_0x5cda4c(0x178))/0x5+parseInt(_0x5cda4c(0x179))/0x6+parseInt(_0x5cda4c(0x1b3))/0x7*(-parseInt(_0x5cda4c(0x196))/0x8)+parseInt(_0x5cda4c(0x199))/0x9+-parseInt(_0x5cda4c(0x17d))/0xa*(-parseInt(_0x5cda4c(0x192))/0xb);if(_0x224d9b===_0x28e3ec)break;else _0x1250e3['push'](_0x1250e3['shift']());}catch(_0x1e2cd5){_0x1250e3['push'](_0x1250e3['shift']());}}}(_0x18a2,0x778c3));function _0x18a2(){const _0x3820ff=['941CsAXQC','bold','messages','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','\x20and\x20alias\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20URL\x20','Password\x20for\x20the\x20Key\x20Store:','yellow','underline','URL\x20','--manifest-url','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','WARNING:\x20','3qDmaCK','Downloading\x20Android\x20SDK\x20to\x20','1875819nstZez','cyan','Generating\x20Android\x20Project.','green','32RYfCgh','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','3491420pVOCTb','2748888slouuS','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','license\x20agreement.','--manifest','Invalid\x20icon\x20path:\x20','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','--url','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x09-\x20Generated\x20Android\x20APK\x20at\x20','(5/5)','Organization\x20(eg:\x20Company\x20Name):','Minimum\x20length\x20is\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Downloading\x20the\x20JDK\x2011\x20Binaries...','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Invalid\x20URL:\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)','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Icon\x20URL:','562tZVSCL','Path\x20to\x20your\x20existing\x20JDK\x2011:','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x20but\x20input\x20is\x20','Downloading\x20the\x20Android\x20SDK...','Password\x20for\x20the\x20Key:','redirected\x20to\x20','717962DitHNs','\x0aBuilding\x20the\x20Android\x20App...','Decompressing\x20the\x20JDK\x2011\x20Binaries...','\x20Check\x20out\x20the\x20Play\x20for','Downloading\x20the\x20JDK\x2011\x20Sources...','Downloading\x20JDK\x2011\x20to\x20','https://developer.android.com/studio/terms.html','\x20can\x20not\x20be\x20accessible.','2150415igDIcL','2590752SANmLV','Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aSigning\x20key\x20information\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','20mmYEKI','colors'];_0x18a2=function(){return _0x3820ff;};return _0x18a2();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x507ae3(0x181)]=void 0x0;const colors_1=require(_0x507ae3(0x17e));exports[_0x507ae3(0x181)]={'promptInstallJdk':_0x507ae3(0x1a9),'promptJdkPath':_0x507ae3(0x1ad),'messageDownloadJdk':_0x507ae3(0x175),'messageDownloadJdkSrc':_0x507ae3(0x1b7),'messageDecompressJdkSrc':_0x507ae3(0x17a),'messageDownloadJdkBin':_0x507ae3(0x1a6),'messageDecompressJdkBin':_0x507ae3(0x1b5),'promptInstallSdk':_0x507ae3(0x184),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x507ae3(0x191),'errorSdkTerms':_0x507ae3(0x18e),'promptSdkTerms':_0x507ae3(0x197)+(0x0,colors_1[_0x507ae3(0x18b)])(_0x507ae3(0x176))+'?','messageDownloadAndroidSdk':_0x507ae3(0x1b0),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x507ae3(0x182)+_0x507ae3(0x19b),'messageGeneratingAndroidProject':_0x507ae3(0x194),'messageCheckSuccess':(_0x236d4c,_0x58a2f6)=>{const _0x496a94=_0x507ae3;return _0x496a94(0x188)+(0x0,colors_1[_0x496a94(0x193)])(_0x236d4c)+'\x20'+(_0x58a2f6?_0x496a94(0x1b2)+(0x0,colors_1[_0x496a94(0x193)])(_0x58a2f6):'')+_0x496a94(0x187);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1['cyan'])(_0x507ae3(0x18d))+'\x20or\x20'+(0x0,colors_1[_0x507ae3(0x193)])(_0x507ae3(0x19c))),'messageInitializingWebManifest':_0x4030fa=>{const _0x54fac9=_0x507ae3;return _0x54fac9(0x1a7)+(0x0,colors_1[_0x54fac9(0x193)])(_0x4030fa);},'messageInitializingLocalManifest':_0xe4f128=>{const _0x14bc9d=_0x507ae3;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x14bc9d(0x193)])(_0xe4f128);},'messageInvalidIcon':_0x1ebcf1=>{const _0x5a8790=_0x507ae3;return _0x5a8790(0x19d)+(0x0,colors_1[_0x5a8790(0x193)])(_0x1ebcf1);},'errorStartUrlNotReachable':_0x370b6c=>_0x507ae3(0x18c)+_0x370b6c+_0x507ae3(0x177)+_0x507ae3(0x185),'warnFamilyPolicy':(0x0,colors_1[_0x507ae3(0x180)])((0x0,colors_1[_0x507ae3(0x18a)])(_0x507ae3(0x18f)))+_0x507ae3(0x1aa)+_0x507ae3(0x1a5)+_0x507ae3(0x1b6)+_0x507ae3(0x1a0)+(0x0,colors_1['cyan'])('https://play.google.com/console/about/families/'),'promptIconUrl':_0x507ae3(0x1ab),'errorInvalidUrl':_0x543c49=>{const _0x3f57a7=_0x507ae3;return _0x3f57a7(0x1a8)+_0x543c49;},'errorUrlMustBeImage':_0x532ab6=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0x532ab6+'.';},'promptVersionCode':_0x507ae3(0x19a),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x507ae3(0x17b)+(0x0,colors_1[_0x507ae3(0x195)])(_0x507ae3(0x1a2))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x507ae3(0x18b)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0xd28d25=>{const _0x430c77=_0x507ae3;return _0x430c77(0x19e)+_0xd28d25+'\x22.\x0a';},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':_0x507ae3(0x186),'promptKeyOrganizationalUnit':_0x507ae3(0x1ae),'promptKeyOrganization':_0x507ae3(0x1a3),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x507ae3(0x189),'promptKeyPassword':_0x507ae3(0x1b1),'messageBuildingApp':_0x507ae3(0x1b4),'messageEnterPasswords':(_0x46cc40,_0x11f5e9)=>{const _0x1ceee1=_0x507ae3;return _0x1ceee1(0x17c)+(0x0,colors_1[_0x1ceee1(0x193)])(_0x46cc40)+_0x1ceee1(0x183)+(0x0,colors_1['cyan'])(_0x11f5e9)+'.\x0a';},'errorMinLength':(_0x39da60,_0x18b7f7)=>{const _0x2f8188=_0x507ae3;return _0x2f8188(0x1a4)+_0x39da60+'\x20but\x20input\x20is\x20'+_0x18b7f7+'.';},'errorMaxLength':(_0x27e6f4,_0xc31d61)=>{const _0x5b483c=_0x507ae3;return'Maximum\x20length\x20is\x20'+_0x27e6f4+_0x5b483c(0x1af)+_0xc31d61+'.';},'errorInvalidInteger':_0xd8c0a=>{return'Invalid\x20integer\x20provided:\x20'+_0xd8c0a;},'messageApkSuccess':_0x44ae61=>{const _0x4326da=_0x507ae3;return _0x4326da(0x1a1)+(0x0,colors_1[_0x4326da(0x193)])(_0x44ae61);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])(_0x507ae3(0x19f)))};
1
+ 'use strict';const _0x2368b2=_0x3091;function _0x3a14(){const _0x2badfc=['Missing\x20required\x20parameter\x20','\x09-\x20Generated\x20Android\x20APK\x20at\x20','yellow','3027267iTEmMx','Decompressing\x20the\x20Android\x20SDK...','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Decompressing\x20the\x20JDK\x2011\x20Sources...','766jHvOPY','Password\x20for\x20the\x20Key\x20Store:','540VDWOCX','Downloading\x20JDK\x2011\x20to\x20','2737KixbCD','green','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','cyan','Downloading\x20Android\x20SDK\x20to\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)','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x20or\x20','\x0aSigning\x20key\x20creation','license\x20agreement.','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x20URL\x20','redirected\x20to\x20','\x20but\x20input\x20is\x20','https://developer.android.com/studio/terms.html','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Generating\x20Android\x20Project.','--url','\x0aBuilding\x20the\x20Android\x20App...','612CmrVge','\x0aSigning\x20key\x20information\x20','WARNING:\x20','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','1039188BdleSO','Invalid\x20URL:\x20','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','(5/5)','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Downloading\x20the\x20Android\x20SDK...','URL\x20','defineProperty','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Minimum\x20length\x20is\x20','\x20Check\x20out\x20the\x20Play\x20for','\x22.\x0a','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','1088560khcCLv','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','814645TlmVSg','--manifest','underline','Downloading\x20the\x20JDK\x2011\x20Binaries...','messages','Password\x20for\x20the\x20Key:','263111rSeNQa','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Organization\x20(eg:\x20Company\x20Name):','\x20can\x20not\x20be\x20accessible.','\x0aProject\x20generated\x20successfully.','bold','Downloading\x20the\x20JDK\x2011\x20Sources...'];_0x3a14=function(){return _0x2badfc;};return _0x3a14();}(function(_0x116185,_0x2e4ea2){const _0x3d624a=_0x3091,_0x2403ea=_0x116185();while(!![]){try{const _0x113dc8=-parseInt(_0x3d624a(0x200))/0x1+parseInt(_0x3d624a(0x20e))/0x2*(parseInt(_0x3d624a(0x210))/0x3)+-parseInt(_0x3d624a(0x1ea))/0x4+parseInt(_0x3d624a(0x1fa))/0x5+parseInt(_0x3d624a(0x1e5))/0x6*(-parseInt(_0x3d624a(0x212))/0x7)+parseInt(_0x3d624a(0x1f8))/0x8+parseInt(_0x3d624a(0x20a))/0x9;if(_0x113dc8===_0x2e4ea2)break;else _0x2403ea['push'](_0x2403ea['shift']());}catch(_0x4c6edc){_0x2403ea['push'](_0x2403ea['shift']());}}}(_0x3a14,0x228c8));function _0x3091(_0x4e5379,_0x4a337c){const _0x3a141d=_0x3a14();return _0x3091=function(_0x309191,_0x43fd0a){_0x309191=_0x309191-0x1d5;let _0x106091=_0x3a141d[_0x309191];return _0x106091;},_0x3091(_0x4e5379,_0x4a337c);}Object[_0x2368b2(0x1f2)](exports,'__esModule',{'value':!![]}),exports[_0x2368b2(0x1fe)]=void 0x0;const colors_1=require('colors');exports['messages']={'promptInstallJdk':_0x2368b2(0x1d7),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x2368b2(0x211),'messageDownloadJdkSrc':_0x2368b2(0x206),'messageDecompressJdkSrc':_0x2368b2(0x20d),'messageDownloadJdkBin':_0x2368b2(0x1fd),'messageDecompressJdkBin':_0x2368b2(0x20c),'promptInstallSdk':_0x2368b2(0x214),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x2368b2(0x1d6),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x2368b2(0x1ef)+(0x0,colors_1[_0x2368b2(0x1fc)])(_0x2368b2(0x1e0))+'?','messageDownloadAndroidSdk':_0x2368b2(0x1f0),'messageDecompressAndroidSdk':_0x2368b2(0x20b),'messageInstallingBuildTools':_0x2368b2(0x1e8)+_0x2368b2(0x1db),'messageGeneratingAndroidProject':_0x2368b2(0x1e2),'messageCheckSuccess':(_0x26d2d9,_0x599cc0)=>{const _0x52f78f=_0x2368b2;return _0x52f78f(0x1dd)+(0x0,colors_1[_0x52f78f(0x1d5)])(_0x26d2d9)+'\x20'+(_0x599cc0?_0x52f78f(0x1de)+(0x0,colors_1[_0x52f78f(0x1d5)])(_0x599cc0):'')+_0x52f78f(0x1f9);},'errorMissingManifestParameter':_0x2368b2(0x207)+((0x0,colors_1['cyan'])('--manifest-url')+_0x2368b2(0x1d9)+(0x0,colors_1['cyan'])(_0x2368b2(0x1fb))),'messageInitializingWebManifest':_0x2bbeef=>{const _0x4b4639=_0x2368b2;return _0x4b4639(0x1e9)+(0x0,colors_1[_0x4b4639(0x1d5)])(_0x2bbeef);},'messageInitializingLocalManifest':_0xac8ddb=>{const _0x254950=_0x2368b2;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x254950(0x1d5)])(_0xac8ddb);},'messageInvalidIcon':_0x2eee02=>{const _0x224dc7=_0x2368b2;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x224dc7(0x1d5)])(_0x2eee02);},'errorStartUrlNotReachable':_0x3c3db8=>_0x2368b2(0x1f1)+_0x3c3db8+_0x2368b2(0x203)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x2368b2(0x205)])((0x0,colors_1[_0x2368b2(0x209)])(_0x2368b2(0x1e7)))+_0x2368b2(0x201)+_0x2368b2(0x1f3)+_0x2368b2(0x1f5)+_0x2368b2(0x1d8)+(0x0,colors_1['cyan'])('https://play.google.com/console/about/families/'),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x32d8b0=>{const _0x4479ce=_0x2368b2;return _0x4479ce(0x1eb)+_0x32d8b0;},'errorUrlMustBeImage':_0x5932fe=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0x5932fe+'.';},'promptVersionCode':_0x2368b2(0x1dc),'promptVersionName':_0x2368b2(0x215),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x2368b2(0x1e6)+(0x0,colors_1[_0x2368b2(0x213)])(_0x2368b2(0x1ee))),'messageProjectGeneratedSuccess':_0x2368b2(0x204),'messageSigningKeyCreation':(0x0,colors_1[_0x2368b2(0x1fc)])(_0x2368b2(0x1da)),'messageSigningKeyNotFound':_0x4a0da5=>{const _0x531b69=_0x2368b2;return _0x531b69(0x1ec)+_0x4a0da5+_0x531b69(0x1f6);},'promptCreateKey':_0x2368b2(0x1e1),'promptKeyFullName':_0x2368b2(0x1ed),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x2368b2(0x202),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x2368b2(0x20f),'promptKeyPassword':_0x2368b2(0x1ff),'messageBuildingApp':_0x2368b2(0x1e4),'messageEnterPasswords':(_0x1a247b,_0x520b78)=>{const _0x4b52fd=_0x2368b2;return _0x4b52fd(0x1f7)+(0x0,colors_1[_0x4b52fd(0x1d5)])(_0x1a247b)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x4b52fd(0x1d5)])(_0x520b78)+'.\x0a';},'errorMinLength':(_0x200e49,_0x22317b)=>{const _0xa2700a=_0x2368b2;return _0xa2700a(0x1f4)+_0x200e49+_0xa2700a(0x1df)+_0x22317b+'.';},'errorMaxLength':(_0xfcce00,_0x347475)=>{const _0x39f9d1=_0x2368b2;return'Maximum\x20length\x20is\x20'+_0xfcce00+_0x39f9d1(0x1df)+_0x347475+'.';},'errorInvalidInteger':_0x51a163=>{return'Invalid\x20integer\x20provided:\x20'+_0x51a163;},'messageApkSuccess':_0x56ccce=>{const _0x429961=_0x2368b2;return _0x429961(0x208)+(0x0,colors_1[_0x429961(0x1d5)])(_0x56ccce);},'missingUrlToCheck':_0x2368b2(0x207)+(''+(0x0,colors_1['cyan'])(_0x2368b2(0x1e3)))};
@@ -1 +1 @@
1
- 'use strict';function _0x1ca7(_0x487ce6,_0x256106){const _0x1f28f2=_0x1f28();return _0x1ca7=function(_0x1ca738,_0x56e3a8){_0x1ca738=_0x1ca738-0x96;let _0x1c7d21=_0x1f28f2[_0x1ca738];return _0x1c7d21;},_0x1ca7(_0x487ce6,_0x256106);}function _0x1f28(){const _0x1cf653=['323015BcqTHQ','2965500OFMOVE','parseRouter','96924FkGYBh','93457hTOgXr','75256WwszCb','indexOf','split','2CxYHpf','6942411wgwjPO','348ySKnMX','65WMegsX','963728XKBFxd','__esModule','replace'];_0x1f28=function(){return _0x1cf653;};return _0x1f28();}const _0x59de2a=_0x1ca7;(function(_0x5b6d91,_0x33aec1){const _0xad18b7=_0x1ca7,_0x45c30b=_0x5b6d91();while(!![]){try{const _0x4c9714=parseInt(_0xad18b7(0x97))/0x1+parseInt(_0xad18b7(0x9f))/0x2*(parseInt(_0xad18b7(0x9a))/0x3)+parseInt(_0xad18b7(0x9c))/0x4*(parseInt(_0xad18b7(0xa2))/0x5)+-parseInt(_0xad18b7(0xa1))/0x6*(parseInt(_0xad18b7(0x9b))/0x7)+parseInt(_0xad18b7(0xa3))/0x8+parseInt(_0xad18b7(0xa0))/0x9+-parseInt(_0xad18b7(0x98))/0xa;if(_0x4c9714===_0x33aec1)break;else _0x45c30b['push'](_0x45c30b['shift']());}catch(_0x35e999){_0x45c30b['push'](_0x45c30b['shift']());}}}(_0x1f28,0x66bea));Object['defineProperty'](exports,_0x59de2a(0xa4),{'value':!![]}),exports[_0x59de2a(0x99)]=parseRouter;function parseRouter(_0x105dec){const _0x4c7206=_0x59de2a;let _0xcd04cb=_0x105dec[_0x4c7206(0x9e)]('/');_0xcd04cb['pop']();let _0x320220=_0xcd04cb['join']();while(_0x320220[_0x4c7206(0x9d)](',')>=0x0){_0x320220=_0x320220[_0x4c7206(0x96)](',','/');}return _0x320220;}
1
+ 'use strict';const _0x3e9fa7=_0x5534;(function(_0x5a474c,_0x3e4970){const _0x5b0bd6=_0x5534,_0x3677e7=_0x5a474c();while(!![]){try{const _0x3d7f01=parseInt(_0x5b0bd6(0x14b))/0x1*(parseInt(_0x5b0bd6(0x145))/0x2)+parseInt(_0x5b0bd6(0x151))/0x3*(-parseInt(_0x5b0bd6(0x146))/0x4)+-parseInt(_0x5b0bd6(0x14a))/0x5*(parseInt(_0x5b0bd6(0x14c))/0x6)+parseInt(_0x5b0bd6(0x149))/0x7+-parseInt(_0x5b0bd6(0x140))/0x8*(-parseInt(_0x5b0bd6(0x141))/0x9)+-parseInt(_0x5b0bd6(0x14f))/0xa+parseInt(_0x5b0bd6(0x147))/0xb;if(_0x3d7f01===_0x3e4970)break;else _0x3677e7['push'](_0x3677e7['shift']());}catch(_0xb5eb58){_0x3677e7['push'](_0x3677e7['shift']());}}}(_0x483b,0x38922));Object[_0x3e9fa7(0x142)](exports,_0x3e9fa7(0x14d),{'value':!![]}),exports[_0x3e9fa7(0x143)]=parseRouter;function _0x5534(_0x3bc6b5,_0x381c10){const _0x483b2e=_0x483b();return _0x5534=function(_0x553404,_0x46c49f){_0x553404=_0x553404-0x140;let _0x3c0797=_0x483b2e[_0x553404];return _0x3c0797;},_0x5534(_0x3bc6b5,_0x381c10);}function parseRouter(_0x3ea03e){const _0x511bc9=_0x3e9fa7;let _0x52a778=_0x3ea03e[_0x511bc9(0x14e)]('/');_0x52a778[_0x511bc9(0x148)]();let _0x5eda7d=_0x52a778[_0x511bc9(0x150)]();while(_0x5eda7d['indexOf'](',')>=0x0){_0x5eda7d=_0x5eda7d[_0x511bc9(0x144)](',','/');}return _0x5eda7d;}function _0x483b(){const _0x5a7d12=['1038IRLLOo','__esModule','split','3592740OJsWms','join','1217751GxvKKH','1834304qcUwsY','9rjFrWx','defineProperty','parseRouter','replace','138KzBfYd','4BiywTd','8159404QWQwra','pop','423206YziyHH','10020RMQUNd','4523eUQQxB'];_0x483b=function(){return _0x5a7d12;};return _0x483b();}
@@ -1 +1 @@
1
- 'use strict';function _0x7f9b(_0x2b8637,_0x18741a){const _0x20c3a7=_0x20c3();return _0x7f9b=function(_0x7f9b9a,_0x65f3a2){_0x7f9b9a=_0x7f9b9a-0xad;let _0x285dd3=_0x20c3a7[_0x7f9b9a];return _0x285dd3;},_0x7f9b(_0x2b8637,_0x18741a);}const _0x1c77e3=_0x7f9b;(function(_0x953af7,_0xc649f){const _0x1c9dcd=_0x7f9b,_0x4ec2b6=_0x953af7();while(!![]){try{const _0x5f14fe=-parseInt(_0x1c9dcd(0xc4))/0x1+parseInt(_0x1c9dcd(0xc2))/0x2*(-parseInt(_0x1c9dcd(0xbb))/0x3)+parseInt(_0x1c9dcd(0xc7))/0x4+-parseInt(_0x1c9dcd(0xc3))/0x5*(-parseInt(_0x1c9dcd(0xb2))/0x6)+-parseInt(_0x1c9dcd(0xbc))/0x7+-parseInt(_0x1c9dcd(0xb6))/0x8*(-parseInt(_0x1c9dcd(0xb1))/0x9)+-parseInt(_0x1c9dcd(0xad))/0xa;if(_0x5f14fe===_0xc649f)break;else _0x4ec2b6['push'](_0x4ec2b6['shift']());}catch(_0x2e28cf){_0x4ec2b6['push'](_0x4ec2b6['shift']());}}}(_0x20c3,0x3e024));Object[_0x1c77e3(0xc8)](exports,_0x1c77e3(0xb7),{'value':!![]}),exports[_0x1c77e3(0xc6)]=void 0x0;const fs=require('fs'),resource_1=require(_0x1c77e3(0xbf)),xcodeproject_1=require(_0x1c77e3(0xc0)),xcodebuild_1=require(_0x1c77e3(0xaf)),xcrun_1=require(_0x1c77e3(0xb5)),path_1=require(_0x1c77e3(0xc1));function _0x20c3(){const _0x2bed99=['346492bpxCJr','15CvADVl','78535PHphrv','default','XcodeManager','833836runLJT','defineProperty','1565110AZUdPS','PROJECT_EXPORT_DIRECTORY','./xcodebuild','runWithSimulator','4131Dceooc','633540xTlOJL','archive','parseProject','./xcrun','7304xwyynr','__esModule','join','upload','.ipa','3nkjqfV','1974112QEvwIw','mkdirSync','uploadApp','../resource','./xcodeproject','path'];_0x20c3=function(){return _0x2bed99;};return _0x20c3();}class XcodeManager{static async[_0x1c77e3(0xb4)](_0x546c5d,_0x1bcd73=![]){const _0x5a58fb=_0x1c77e3,_0x62003b=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1['default']['modify'](_0x62003b,_0x546c5d,_0x1bcd73),console['log']('write\x20project.pbxproj:\x20ok');!fs['existsSync'](resource_1[_0x5a58fb(0xae)])&&fs[_0x5a58fb(0xbd)](resource_1[_0x5a58fb(0xae)],{'recursive':!![]});if(!_0x1bcd73)await xcodebuild_1[_0x5a58fb(0xc5)][_0x5a58fb(0xb3)](_0x546c5d['export']);}static async[_0x1c77e3(0xb9)](_0x3fdd6f,_0x39ccd8){const _0x3eb8ae=_0x1c77e3;if(_0x3fdd6f['u']&&_0x3fdd6f['p'])xcrun_1[_0x3eb8ae(0xc5)][_0x3eb8ae(0xbe)]((0x0,path_1[_0x3eb8ae(0xb8)])(resource_1[_0x3eb8ae(0xae)],_0x39ccd8['name']+_0x3eb8ae(0xba)),_0x3fdd6f['u'],_0x3fdd6f['p'],!![]);else _0x3fdd6f['k']&&_0x3fdd6f['i']&&xcrun_1[_0x3eb8ae(0xc5)][_0x3eb8ae(0xbe)]((0x0,path_1[_0x3eb8ae(0xb8)])(resource_1[_0x3eb8ae(0xae)],_0x39ccd8['name']+_0x3eb8ae(0xba)),_0x3fdd6f['k'],_0x3fdd6f['i'],![]);}static async[_0x1c77e3(0xb0)](_0x136571){await xcrun_1['default']['runWithSimulator'](_0x136571);}}exports[_0x1c77e3(0xc6)]=XcodeManager;
1
+ 'use strict';const _0x1dc1a8=_0x204a;(function(_0x361fab,_0x4655de){const _0x2da45a=_0x204a,_0x5749ba=_0x361fab();while(!![]){try{const _0x503078=parseInt(_0x2da45a(0x189))/0x1*(-parseInt(_0x2da45a(0x17a))/0x2)+-parseInt(_0x2da45a(0x17f))/0x3+parseInt(_0x2da45a(0x182))/0x4*(parseInt(_0x2da45a(0x194))/0x5)+-parseInt(_0x2da45a(0x196))/0x6*(parseInt(_0x2da45a(0x18a))/0x7)+-parseInt(_0x2da45a(0x18f))/0x8+-parseInt(_0x2da45a(0x18e))/0x9*(parseInt(_0x2da45a(0x17e))/0xa)+parseInt(_0x2da45a(0x198))/0xb*(parseInt(_0x2da45a(0x18c))/0xc);if(_0x503078===_0x4655de)break;else _0x5749ba['push'](_0x5749ba['shift']());}catch(_0xf80960){_0x5749ba['push'](_0x5749ba['shift']());}}}(_0x1ccc,0x6731b));function _0x204a(_0x12a54c,_0xb5af8f){const _0x1cccba=_0x1ccc();return _0x204a=function(_0x204ab7,_0x430131){_0x204ab7=_0x204ab7-0x178;let _0x1adaeb=_0x1cccba[_0x204ab7];return _0x1adaeb;},_0x204a(_0x12a54c,_0xb5af8f);}Object[_0x1dc1a8(0x180)](exports,'__esModule',{'value':!![]}),exports[_0x1dc1a8(0x185)]=void 0x0;function _0x1ccc(){const _0x3ea41a=['uploadApp','1556991mTZRXH','2157728MFSKEe','name','join','path','parseProject','10945vopRGK','../resource','250986TVQDuj','./xcrun','455125IhuzBA','runWithSimulator','./xcodebuild','log','21234OYHNYI','mkdirSync','write\x20project.pbxproj:\x20ok','./xcodeproject','30fEeMZw','2004354MOhnZv','defineProperty','/web-spatial.xcodeproj/project.pbxproj','1028gRKyDe','default','.ipa','XcodeManager','PROJECT_DIRECTORY','archive','PROJECT_EXPORT_DIRECTORY','47fJSCMk','70iNTFqD','upload','648pZxDkS'];_0x1ccc=function(){return _0x3ea41a;};return _0x1ccc();}const fs=require('fs'),resource_1=require(_0x1dc1a8(0x195)),xcodeproject_1=require(_0x1dc1a8(0x17d)),xcodebuild_1=require(_0x1dc1a8(0x178)),xcrun_1=require(_0x1dc1a8(0x197)),path_1=require(_0x1dc1a8(0x192));class XcodeManager{static async[_0x1dc1a8(0x193)](_0x25d37b,_0x39e935=![]){const _0x16bf5c=_0x1dc1a8,_0x13ce9b=resource_1[_0x16bf5c(0x186)]+_0x16bf5c(0x181);await xcodeproject_1[_0x16bf5c(0x183)]['modify'](_0x13ce9b,_0x25d37b,_0x39e935),console[_0x16bf5c(0x179)](_0x16bf5c(0x17c));!fs['existsSync'](resource_1[_0x16bf5c(0x188)])&&fs[_0x16bf5c(0x17b)](resource_1[_0x16bf5c(0x188)],{'recursive':!![]});if(!_0x39e935)await xcodebuild_1[_0x16bf5c(0x183)][_0x16bf5c(0x187)](_0x25d37b['export']);}static async[_0x1dc1a8(0x18b)](_0x504935,_0x40fac9){const _0x2b99c1=_0x1dc1a8;if(_0x504935['u']&&_0x504935['p'])xcrun_1[_0x2b99c1(0x183)]['uploadApp']((0x0,path_1[_0x2b99c1(0x191)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x40fac9[_0x2b99c1(0x190)]+_0x2b99c1(0x184)),_0x504935['u'],_0x504935['p'],!![]);else _0x504935['k']&&_0x504935['i']&&xcrun_1[_0x2b99c1(0x183)][_0x2b99c1(0x18d)]((0x0,path_1[_0x2b99c1(0x191)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x40fac9['name']+_0x2b99c1(0x184)),_0x504935['k'],_0x504935['i'],![]);}static async[_0x1dc1a8(0x199)](_0x3576ad){const _0x53d312=_0x1dc1a8;await xcrun_1[_0x53d312(0x183)][_0x53d312(0x199)](_0x3576ad);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x308cf4=_0x2afc;(function(_0x3d7a1f,_0x83ef28){var _0x49f450=_0x2afc,_0x3ed2a7=_0x3d7a1f();while(!![]){try{var _0x12b295=-parseInt(_0x49f450(0x8e))/0x1*(parseInt(_0x49f450(0x94))/0x2)+parseInt(_0x49f450(0x8a))/0x3*(parseInt(_0x49f450(0x91))/0x4)+parseInt(_0x49f450(0x90))/0x5+parseInt(_0x49f450(0x8c))/0x6*(-parseInt(_0x49f450(0x93))/0x7)+parseInt(_0x49f450(0x8f))/0x8+parseInt(_0x49f450(0x8b))/0x9*(parseInt(_0x49f450(0x89))/0xa)+-parseInt(_0x49f450(0x8d))/0xb;if(_0x12b295===_0x83ef28)break;else _0x3ed2a7['push'](_0x3ed2a7['shift']());}catch(_0x4760ac){_0x3ed2a7['push'](_0x3ed2a7['shift']());}}}(_0x37e9,0xdfeb0));Object['defineProperty'](exports,_0x308cf4(0x88),{'value':!![]}),exports[_0x308cf4(0x92)]=void 0x0,exports[_0x308cf4(0x92)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x2afc(_0x530e93,_0x481944){var _0x37e9a3=_0x37e9();return _0x2afc=function(_0x2afc23,_0x53b1f5){_0x2afc23=_0x2afc23-0x88;var _0xc3e4cc=_0x37e9a3[_0x2afc23];return _0xc3e4cc;},_0x2afc(_0x530e93,_0x481944);}function _0x37e9(){var _0xed963d=['11985200gnuHuv','7655570lazjuq','32EesSPU','manifestSwiftTemplate','19768gAQGoj','626IpIRhh','__esModule','20cpqkOC','479037XstkPZ','5534433lOumLZ','276PFBwRo','41889067lxJLcx','2177nHUlAJ'];_0x37e9=function(){return _0xed963d;};return _0x37e9();}
1
+ 'use strict';function _0x19ca(){var _0x50046a=['manifestSwiftTemplate','__esModule','10483CzqaGH','2uZKGla','1248xdwZmn','94199yfjkVJ','662882VzDZok','413680cyCpMY','3MSQael','9DyCCJe','18vcLASO','1325532rSnZlv','10574290IXhuNT','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','199855vwLNHP'];_0x19ca=function(){return _0x50046a;};return _0x19ca();}var _0x64dbf9=_0x545e;(function(_0x22538c,_0x4c175a){var _0x21758b=_0x545e,_0x470304=_0x22538c();while(!![]){try{var _0x5bfce8=parseInt(_0x21758b(0x72))/0x1*(-parseInt(_0x21758b(0x75))/0x2)+parseInt(_0x21758b(0x77))/0x3*(parseInt(_0x21758b(0x7a))/0x4)+parseInt(_0x21758b(0x6e))/0x5+-parseInt(_0x21758b(0x79))/0x6*(parseInt(_0x21758b(0x74))/0x7)+parseInt(_0x21758b(0x76))/0x8*(-parseInt(_0x21758b(0x78))/0x9)+parseInt(_0x21758b(0x7b))/0xa+parseInt(_0x21758b(0x71))/0xb*(-parseInt(_0x21758b(0x73))/0xc);if(_0x5bfce8===_0x4c175a)break;else _0x470304['push'](_0x470304['shift']());}catch(_0x3e99e0){_0x470304['push'](_0x470304['shift']());}}}(_0x19ca,0x8c4f4));function _0x545e(_0x7c9f5b,_0x319216){var _0x19ca5f=_0x19ca();return _0x545e=function(_0x545eaa,_0x4800be){_0x545eaa=_0x545eaa-0x6e;var _0x3782f1=_0x19ca5f[_0x545eaa];return _0x3782f1;},_0x545e(_0x7c9f5b,_0x319216);}Object['defineProperty'](exports,_0x64dbf9(0x70),{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports[_0x64dbf9(0x6f)]=_0x64dbf9(0x7c);
@@ -1 +1 @@
1
- 'use strict';const _0x26d096=_0x10e8;(function(_0x7d4ab1,_0x34abc2){const _0x949f6e=_0x10e8,_0xb551d=_0x7d4ab1();while(!![]){try{const _0x2dbc8d=-parseInt(_0x949f6e(0x1c8))/0x1*(parseInt(_0x949f6e(0x1ca))/0x2)+parseInt(_0x949f6e(0x1ee))/0x3+parseInt(_0x949f6e(0x1f1))/0x4+-parseInt(_0x949f6e(0x1d6))/0x5*(parseInt(_0x949f6e(0x1d7))/0x6)+parseInt(_0x949f6e(0x1cb))/0x7+parseInt(_0x949f6e(0x1ea))/0x8*(-parseInt(_0x949f6e(0x1e0))/0x9)+parseInt(_0x949f6e(0x1d0))/0xa;if(_0x2dbc8d===_0x34abc2)break;else _0xb551d['push'](_0xb551d['shift']());}catch(_0x4d480d){_0xb551d['push'](_0xb551d['shift']());}}}(_0x3fbd,0x4e7c3));function _0x10e8(_0x285c7d,_0x387d97){const _0x3fbdf8=_0x3fbd();return _0x10e8=function(_0x10e8ba,_0x4e452f){_0x10e8ba=_0x10e8ba-0x1c1;let _0x801ab9=_0x3fbdf8[_0x10e8ba];return _0x801ab9;},_0x10e8(_0x285c7d,_0x387d97);}Object[_0x26d096(0x1c9)](exports,'__esModule',{'value':!![]}),exports['XcodebuildCMD']=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require('../resource'),semver_1=require(_0x26d096(0x1db)),file_1=require(_0x26d096(0x1f2)),{execSync,exec}=require('child_process');class Xcodebuild{static async['project'](){const _0x5025db=_0x26d096;try{await new Promise((_0x31ae5d,_0x513956)=>{const _0x1faf0f=_0x10e8,_0x4d8cf6=resource_1[_0x1faf0f(0x1dd)]+'/web-spatial.xcodeproj',_0x3c7166=execSync(new XcodebuildCMD()[_0x1faf0f(0x1e3)](_0x4d8cf6)[_0x1faf0f(0x1cf)]()[_0x1faf0f(0x1c6)]);console[_0x1faf0f(0x1c2)](_0x3c7166[_0x1faf0f(0x1f0)]()),_0x31ae5d(_0x3c7166);});}catch(_0x3ae689){console[_0x5025db(0x1c2)](_0x3ae689);}}static async[_0x26d096(0x1cf)](){const _0x24cd00=_0x26d096;try{await new Promise((_0x31ab79,_0x345607)=>{const _0x5bfaf9=_0x10e8,_0x53c435=resource_1[_0x5bfaf9(0x1dd)]+_0x5bfaf9(0x1cd),_0x30e515=execSync(new XcodebuildCMD()[_0x5bfaf9(0x1e3)](_0x53c435)[_0x5bfaf9(0x1cf)]()[_0x5bfaf9(0x1c6)]);console['log'](_0x30e515[_0x5bfaf9(0x1f0)]()),_0x31ab79(_0x30e515);});}catch(_0x515e4e){console[_0x24cd00(0x1c2)](_0x515e4e);}}static async['archive'](_0x1467f4){const _0x48838d=_0x26d096;try{return console[_0x48838d(0x1c2)](_0x48838d(0x1e9)),!fs[_0x48838d(0x1d3)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x48838d(0x1c7)](resource_1[_0x48838d(0x1e5)],{'recursive':!![]}),await new Promise((_0x1de8de,_0x48d8bb)=>{const _0x523054=_0x48838d,_0x17fac5=resource_1[_0x523054(0x1dd)]+_0x523054(0x1cd),_0x41f3fe=execSync(new XcodebuildCMD()[_0x523054(0x1e3)](_0x17fac5)[_0x523054(0x1dc)](_0x523054(0x1d8))['archive']((0x0,path_1[_0x523054(0x1e8)])(resource_1[_0x523054(0x1e6)],_0x523054(0x1d4)))[_0x523054(0x1ce)]()['line']);let _0x55aa36=_0x41f3fe[_0x523054(0x1f0)]();if(_0x55aa36[_0x523054(0x1d5)](_0x523054(0x1e2))>0x0){console[_0x523054(0x1c2)](_0x523054(0x1cc)),console['log']('start\x20export');const _0x8ace7a=execSync(new XcodebuildCMD()[_0x523054(0x1ed)]((0x0,path_1[_0x523054(0x1e8)])(resource_1[_0x523054(0x1e6)],_0x523054(0x1e1)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x523054(0x1e8)])(resource_1[_0x523054(0x1e6)],_0x523054(0x1d9)))[_0x523054(0x1ef)]()[_0x523054(0x1c6)]);_0x55aa36=_0x8ace7a[_0x523054(0x1f0)]();if(_0x55aa36[_0x523054(0x1d5)]('EXPORT\x20SUCCEEDED')>0x0){if(_0x1467f4){const _0x324aa8=(0x0,path_1[_0x523054(0x1e8)])(process[_0x523054(0x1e7)](),_0x1467f4);!fs[_0x523054(0x1d3)](_0x324aa8)&&fs[_0x523054(0x1c7)](_0x324aa8,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x324aa8);}console[_0x523054(0x1c2)](_0x523054(0x1c1)),_0x1de8de(!![]);}(0x0,semver_1[_0x523054(0x1ce)])(resource_1[_0x523054(0x1e6)]);}_0x1de8de(![]);});}catch(_0x434cea){console[_0x48838d(0x1c2)](_0x434cea);}}}exports[_0x26d096(0x1de)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x1ea620=_0x26d096;this[_0x1ea620(0x1c6)]=_0x1ea620(0x1ec);}[_0x26d096(0x1e3)](_0x85ad7f){const _0x398a4b=_0x26d096;return this[_0x398a4b(0x1c6)]+=_0x398a4b(0x1df)+_0x85ad7f,this;}['list'](){const _0x52b214=_0x26d096;return this[_0x52b214(0x1c6)]+='\x20-list',this;}[_0x26d096(0x1dc)](_0x4f9bc4){const _0x5d912e=_0x26d096;return this[_0x5d912e(0x1c6)]+=_0x5d912e(0x1d2)+_0x4f9bc4,this;}['archive'](_0x5bf70e){const _0x1d8322=_0x26d096;return this[_0x1d8322(0x1c6)]+='\x20-archivePath\x20'+_0x5bf70e+_0x1d8322(0x1e4),this;}[_0x26d096(0x1ef)](){const _0x109bf6=_0x26d096;return this['line']+=_0x109bf6(0x1c4),this;}[_0x26d096(0x1c3)](_0x558104){const _0x323e27=_0x26d096;return this[_0x323e27(0x1c6)]+='\x20-destination\x20\x27'+_0x558104+'\x27',this;}['output'](_0x939aa0,_0x489c77,_0x2c3ee7){const _0x20ea0e=_0x26d096;return this[_0x20ea0e(0x1c6)]+=_0x20ea0e(0x1da)+_0x939aa0+_0x20ea0e(0x1c5)+_0x489c77+_0x20ea0e(0x1d1)+_0x2c3ee7,this;}[_0x26d096(0x1ce)](){const _0x2c0661=_0x26d096;return this[_0x2c0661(0x1c6)]+='\x20clean',this;}}function _0x3fbd(){const _0x4a8f44=['semver','scheme','PROJECT_DIRECTORY','default','\x20-project\x20','35379BYZlRc','pack.xcarchive','ARCHIVE\x20SUCCEEDED','project','\x20archive','PROJECT_EXPORT_DIRECTORY','PROJECT_BUILD_DIRECTORY','cwd','join','start\x20archive','552Yqjcjw','XcodebuildCMD','xcodebuild','output','1793676feiWPm','allowProvisioningUpdates','toString','1457588GjDwDp','../resource/file','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','log','destination','\x20-allowProvisioningUpdates','\x20-exportPath\x20','line','mkdirSync','262hXLyfI','defineProperty','4740aylMyM','2228919NmUFJY','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','/web-spatial.xcodeproj','clean','list','3723440hVHGYl','\x20-exportOptionsPlist\x20','\x20-scheme\x20','existsSync','./pack','indexOf','549245wSuBAH','24ZkVeTT','web-spatial','ExportOptions.plist','\x20-exportArchive\x20-archivePath\x20'];_0x3fbd=function(){return _0x4a8f44;};return _0x3fbd();}exports[_0x26d096(0x1eb)]=XcodebuildCMD;
1
+ 'use strict';const _0x3c8923=_0x2f33;(function(_0x4772d7,_0x39932a){const _0x5af04a=_0x2f33,_0x2f49c3=_0x4772d7();while(!![]){try{const _0x3a1413=parseInt(_0x5af04a(0x19d))/0x1+-parseInt(_0x5af04a(0x180))/0x2+-parseInt(_0x5af04a(0x17a))/0x3+-parseInt(_0x5af04a(0x186))/0x4+parseInt(_0x5af04a(0x188))/0x5*(parseInt(_0x5af04a(0x195))/0x6)+-parseInt(_0x5af04a(0x1a5))/0x7*(parseInt(_0x5af04a(0x17b))/0x8)+parseInt(_0x5af04a(0x1a7))/0x9;if(_0x3a1413===_0x39932a)break;else _0x2f49c3['push'](_0x2f49c3['shift']());}catch(_0x5ed1fd){_0x2f49c3['push'](_0x2f49c3['shift']());}}}(_0xa18e,0x7aef9));Object['defineProperty'](exports,_0x3c8923(0x18d),{'value':!![]}),exports[_0x3c8923(0x190)]=void 0x0;const fs=require('fs'),path_1=require(_0x3c8923(0x185)),resource_1=require('../resource'),semver_1=require('semver'),file_1=require(_0x3c8923(0x1aa)),{execSync,exec}=require('child_process');class Xcodebuild{static async[_0x3c8923(0x189)](){try{await new Promise((_0x4fb674,_0x5e582d)=>{const _0x472b9e=_0x2f33,_0xf8beac=resource_1[_0x472b9e(0x17e)]+_0x472b9e(0x182),_0x9bbe5e=execSync(new XcodebuildCMD()[_0x472b9e(0x189)](_0xf8beac)['list']()['line']);console[_0x472b9e(0x1a0)](_0x9bbe5e[_0x472b9e(0x19b)]()),_0x4fb674(_0x9bbe5e);});}catch(_0x58cb57){console['log'](_0x58cb57);}}static async['list'](){const _0x2d0730=_0x3c8923;try{await new Promise((_0x33cbfc,_0x146dc1)=>{const _0x36fa8c=_0x2f33,_0x179ad2=resource_1[_0x36fa8c(0x17e)]+'/web-spatial.xcodeproj',_0x32aa82=execSync(new XcodebuildCMD()[_0x36fa8c(0x189)](_0x179ad2)[_0x36fa8c(0x19a)]()['line']);console[_0x36fa8c(0x1a0)](_0x32aa82[_0x36fa8c(0x19b)]()),_0x33cbfc(_0x32aa82);});}catch(_0x4c91c2){console[_0x2d0730(0x1a0)](_0x4c91c2);}}static async[_0x3c8923(0x1ab)](_0x176082){const _0x4e1274=_0x3c8923;try{return console['log'](_0x4e1274(0x1a9)),!fs[_0x4e1274(0x183)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x4e1274(0x18c)](resource_1[_0x4e1274(0x1a8)],{'recursive':!![]}),await new Promise((_0x522c0b,_0x2ef56e)=>{const _0x3b61e0=_0x4e1274,_0x1840ad=resource_1[_0x3b61e0(0x17e)]+'/web-spatial.xcodeproj',_0x483136=execSync(new XcodebuildCMD()[_0x3b61e0(0x189)](_0x1840ad)[_0x3b61e0(0x1a3)](_0x3b61e0(0x1a4))['archive']((0x0,path_1[_0x3b61e0(0x18e)])(resource_1[_0x3b61e0(0x19c)],_0x3b61e0(0x187)))['clean']()[_0x3b61e0(0x192)]);let _0xcbdb94=_0x483136['toString']();if(_0xcbdb94[_0x3b61e0(0x191)](_0x3b61e0(0x1a6))>0x0){console[_0x3b61e0(0x1a0)](_0x3b61e0(0x19f)),console[_0x3b61e0(0x1a0)](_0x3b61e0(0x18b));const _0x396e96=execSync(new XcodebuildCMD()[_0x3b61e0(0x196)]((0x0,path_1[_0x3b61e0(0x18e)])(resource_1[_0x3b61e0(0x19c)],_0x3b61e0(0x193)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x3b61e0(0x18e)])(resource_1[_0x3b61e0(0x19c)],_0x3b61e0(0x1a1)))[_0x3b61e0(0x19e)]()['line']);_0xcbdb94=_0x396e96[_0x3b61e0(0x19b)]();if(_0xcbdb94[_0x3b61e0(0x191)](_0x3b61e0(0x1ac))>0x0){if(_0x176082){const _0x14c5da=(0x0,path_1[_0x3b61e0(0x18e)])(process[_0x3b61e0(0x17d)](),_0x176082);!fs[_0x3b61e0(0x183)](_0x14c5da)&&fs[_0x3b61e0(0x18c)](_0x14c5da,{'recursive':!![]}),(0x0,file_1[_0x3b61e0(0x198)])(resource_1[_0x3b61e0(0x1a8)],_0x14c5da);}console[_0x3b61e0(0x1a0)](_0x3b61e0(0x1a2)),_0x522c0b(!![]);}(0x0,semver_1['clean'])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x522c0b(![]);});}catch(_0x1c11fd){console[_0x4e1274(0x1a0)](_0x1c11fd);}}}function _0x2f33(_0xea0426,_0xd7ae71){const _0xa18e60=_0xa18e();return _0x2f33=function(_0x2f3311,_0x575c87){_0x2f3311=_0x2f3311-0x17a;let _0x329e1e=_0xa18e60[_0x2f3311];return _0x329e1e;},_0x2f33(_0xea0426,_0xd7ae71);}exports['default']=Xcodebuild;function _0xa18e(){const _0x566fd6=['ARCHIVE\x20SUCCEEDED','4848291AhWzaR','PROJECT_EXPORT_DIRECTORY','start\x20archive','../resource/file','archive','EXPORT\x20SUCCEEDED','1081263PRaTBI','244696vmmIjd','\x20-scheme\x20','cwd','PROJECT_DIRECTORY','\x20-exportOptionsPlist\x20','54798JTsqzS','xcodebuild','/web-spatial.xcodeproj','existsSync','\x20-project\x20','path','3427328hofror','./pack','12615WahLzS','project','\x20-exportArchive\x20-archivePath\x20','start\x20export','mkdirSync','__esModule','join','\x20-archivePath\x20','XcodebuildCMD','indexOf','line','pack.xcarchive','\x20-list','1866qfHAsu','output','\x20clean','copyDir','\x20-allowProvisioningUpdates','list','toString','PROJECT_BUILD_DIRECTORY','761302yNjvSN','allowProvisioningUpdates','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','log','ExportOptions.plist','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','scheme','web-spatial','77YUqpGk'];_0xa18e=function(){return _0x566fd6;};return _0xa18e();}class XcodebuildCMD{constructor(){const _0x154d23=_0x3c8923;this['line']=_0x154d23(0x181);}['project'](_0x16128b){const _0x22fa90=_0x3c8923;return this[_0x22fa90(0x192)]+=_0x22fa90(0x184)+_0x16128b,this;}[_0x3c8923(0x19a)](){const _0x500881=_0x3c8923;return this[_0x500881(0x192)]+=_0x500881(0x194),this;}[_0x3c8923(0x1a3)](_0x2123be){const _0x335db1=_0x3c8923;return this[_0x335db1(0x192)]+=_0x335db1(0x17c)+_0x2123be,this;}[_0x3c8923(0x1ab)](_0x29ef5a){const _0x24a4b6=_0x3c8923;return this['line']+=_0x24a4b6(0x18f)+_0x29ef5a+'\x20archive',this;}[_0x3c8923(0x19e)](){const _0x5b72b8=_0x3c8923;return this[_0x5b72b8(0x192)]+=_0x5b72b8(0x199),this;}['destination'](_0x37bcdf){const _0x338a48=_0x3c8923;return this[_0x338a48(0x192)]+='\x20-destination\x20\x27'+_0x37bcdf+'\x27',this;}[_0x3c8923(0x196)](_0x4bb4c1,_0x3d8c70,_0x795a2e){const _0x3ee481=_0x3c8923;return this[_0x3ee481(0x192)]+=_0x3ee481(0x18a)+_0x4bb4c1+'\x20-exportPath\x20'+_0x3d8c70+_0x3ee481(0x17f)+_0x795a2e,this;}['clean'](){const _0x5b14cf=_0x3c8923;return this[_0x5b14cf(0x192)]+=_0x5b14cf(0x197),this;}}exports[_0x3c8923(0x190)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0xadc1(_0x35980c,_0x5bcfbc){const _0x178f62=_0x178f();return _0xadc1=function(_0xadc165,_0x34574e){_0xadc165=_0xadc165-0xc2;let _0x154cb1=_0x178f62[_0xadc165];return _0x154cb1;},_0xadc1(_0x35980c,_0x5bcfbc);}const _0x3a8713=_0xadc1;(function(_0x53a07c,_0x4f11a4){const _0x42f67e=_0xadc1,_0x426b16=_0x53a07c();while(!![]){try{const _0x496a3c=-parseInt(_0x42f67e(0xee))/0x1*(parseInt(_0x42f67e(0xd7))/0x2)+-parseInt(_0x42f67e(0xe6))/0x3+-parseInt(_0x42f67e(0x118))/0x4+-parseInt(_0x42f67e(0xe4))/0x5*(parseInt(_0x42f67e(0xe8))/0x6)+-parseInt(_0x42f67e(0xf3))/0x7+parseInt(_0x42f67e(0xf8))/0x8+parseInt(_0x42f67e(0x115))/0x9;if(_0x496a3c===_0x4f11a4)break;else _0x426b16['push'](_0x426b16['shift']());}catch(_0x323d9d){_0x426b16['push'](_0x426b16['shift']());}}}(_0x178f,0xde110));Object[_0x3a8713(0xd0)](exports,_0x3a8713(0xce),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x3a8713(0xd9)),load_1=require(_0x3a8713(0xfb)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x3a8713(0xf6)),exportOptionsXML='<?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>',infoPlistXML=_0x3a8713(0x110);let useExportOptionsXML='';class XcodeProject{static async[_0x3a8713(0x123)](_0x418e31,_0x193afe,_0x2f7cfb=![]){const _0x2af954=_0x3a8713;let _0x5aa3dd=xcode[_0x2af954(0x10c)](_0x418e31);this[_0x2af954(0xc6)](_0x5aa3dd),_0x5aa3dd[_0x2af954(0xda)]();let _0x5bb691=_0x193afe[_0x2af954(0x107)];const _0x38feb5=['release-testing',_0x2af954(0xea),'debugging','enterprise'];useExportOptionsXML=exportOptionsXML[_0x2af954(0xe2)](_0x2af954(0xc7),_0x38feb5[_0x2af954(0x109)](_0x5bb691)?_0x5bb691:_0x2af954(0xc9));_0x193afe[_0x2af954(0x129)]&&this['updateTeamId'](_0x5aa3dd,_0x193afe[_0x2af954(0x129)]);this[_0x2af954(0x11f)]();if(_0x193afe[_0x2af954(0x10b)])await this[_0x2af954(0x126)](_0x193afe[_0x2af954(0x10b)]);this[_0x2af954(0xe7)](_0x5aa3dd,_0x193afe['manifestInfo'][_0x2af954(0xf1)],_0x2f7cfb);_0x193afe['version']?this[_0x2af954(0x122)](_0x5aa3dd,_0x193afe[_0x2af954(0x116)]):this[_0x2af954(0x122)](_0x5aa3dd,_0x2af954(0xd5));try{fs[_0x2af954(0xf5)](_0x418e31,_0x5aa3dd[_0x2af954(0x112)]());}catch(_0x2c9354){console[_0x2af954(0xff)](_0x2c9354);}}static[_0x3a8713(0xc6)](_0x24a1bc){const _0x444d7e=_0x3a8713;_0x24a1bc[_0x444d7e(0xd1)]=function(_0x53fd81){const _0x26e4b4=_0x444d7e;var _0x198360=this[_0x26e4b4(0x104)][_0x26e4b4(0x10c)][_0x26e4b4(0xf7)][_0x26e4b4(0x125)],_0x3568db,_0x554e18;for(_0x3568db in _0x198360){if(!/_comment$/[_0x26e4b4(0xf2)](_0x3568db))continue;if(_0x198360[_0x3568db]==_0x53fd81)return _0x554e18=_0x3568db[_0x26e4b4(0xd8)](/_comment$/)[0x0],_0x198360[_0x554e18];}return![];},_0x24a1bc[_0x444d7e(0xf0)]=function(_0x104c55,_0x569599,_0x2fcc1f,_0x1c2476){const _0x182910=_0x444d7e;let _0x40a037=[];const _0x56bc0f=/_comment$/;if(_0x1c2476){const _0x117175=this[_0x182910(0x10e)](_0x1c2476),_0x281631=_0x117175&&_0x117175[_0x182910(0x100)],_0xabfac3=this[_0x182910(0x124)]();for(const _0x46ace3 in _0xabfac3){if(!_0x56bc0f[_0x182910(0xf2)](_0x46ace3)&&_0x281631===_0x46ace3){const _0x1c5b0c=_0xabfac3[_0x46ace3]['buildConfigurations'];for(const _0x43f311 of _0x1c5b0c){_0x40a037['push'](_0x43f311[_0x182910(0x127)]);}break;}}}var _0x3b923b=this[_0x182910(0xcd)]();for(var _0x193cd7 in _0x3b923b){if(!_0x56bc0f['test'](_0x193cd7)){if(_0x1c2476&&!_0x40a037[_0x182910(0x109)](_0x193cd7))continue;var _0x5d1339=_0x3b923b[_0x193cd7];(_0x2fcc1f&&_0x5d1339[_0x182910(0xc4)]===_0x2fcc1f||!_0x2fcc1f)&&_0x5d1339[_0x182910(0x117)][_0x104c55]&&(_0x5d1339['buildSettings'][_0x104c55]=_0x569599);}}};}static async[_0x3a8713(0x126)](_0x7b15af){const _0x41efe3=_0x3a8713;if(_0x7b15af){const _0x37c847=(0x0,path_1[_0x41efe3(0x119)])(resource_1[_0x41efe3(0x111)],resource_1[_0x41efe3(0x10d)]),_0x5b9639=(0x0,path_1[_0x41efe3(0x119)])(_0x37c847,'Contents.json'),_0xa6da48=_0x41efe3(0xc3)+_0x7b15af[_0x41efe3(0xfc)]()[_0x41efe3(0xe2)]('image/',''),_0x3b40fe=(0x0,path_1[_0x41efe3(0x119)])(_0x37c847,_0xa6da48);let _0x2d7bf8=await(0x0,load_1[_0x41efe3(0x11a)])(_0x5b9639);_0x2d7bf8[_0x41efe3(0x120)][0x0][_0x41efe3(0x121)]=_0xa6da48,await _0x7b15af[_0x41efe3(0xfe)](_0x3b40fe),await fs['writeFileSync'](_0x5b9639,JSON[_0x41efe3(0xed)](_0x2d7bf8));const _0x3f8869=(0x0,path_1[_0x41efe3(0x119)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x41efe3(0xe3)]),_0x428045=(0x0,path_1[_0x41efe3(0x119)])(_0x3f8869,'Contents.json'),_0xb0ccd4=_0x41efe3(0x103),_0x238082=(0x0,path_1[_0x41efe3(0x119)])(_0x3f8869,_0xb0ccd4);let _0x33ad95=await(0x0,load_1[_0x41efe3(0x11a)])(_0x428045),_0x3d999a=imageHelper_1['ImageHelper']['createImg'](0x200);_0x33ad95[_0x41efe3(0x120)][0x0]['filename']=_0xb0ccd4,await _0x3d999a[_0x41efe3(0xfe)](_0x238082),await fs[_0x41efe3(0xf5)](_0x428045,JSON[_0x41efe3(0xed)](_0x33ad95));}}static[_0x3a8713(0x102)](_0x153822,_0x18a2e2){const _0x28f8bc=_0x3a8713;_0x153822['updateBuildProperty'](_0x28f8bc(0xe5),_0x18a2e2),useExportOptionsXML=useExportOptionsXML['replace'](_0x28f8bc(0xd3),_0x18a2e2);}static['updateExportOptions'](){const _0x499856=_0x3a8713;!fs[_0x499856(0x106)](resource_1[_0x499856(0xdc)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x499856(0xf5)]((0x0,path_1[_0x499856(0x119)])(resource_1[_0x499856(0xdc)],'ExportOptions.plist'),useExportOptionsXML);}static[_0x3a8713(0xe7)](_0x57efce,_0x48355c,_0x53aedf=![]){const _0xfa3217=_0x3a8713;var _0x9464c8;_0x57efce[_0xfa3217(0xcc)](_0x48355c[_0xfa3217(0xc4)]),_0x48355c['id']&&!_0x53aedf&&_0x57efce[_0xfa3217(0xf0)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x48355c['id']+'\x22'),this[_0xfa3217(0xfd)]((_0x9464c8=_0x48355c[_0xfa3217(0xeb)])!==null&&_0x9464c8!==void 0x0?_0x9464c8:[]),this[_0xfa3217(0x114)](_0x48355c);}static['updateVersion'](_0x1e93ab,_0x50d440){_0x1e93ab['updateBuildProperty']('CURRENT_PROJECT_VERSION',_0x50d440);}static['updateDeeplink'](_0x54cdbd){const _0x192286=_0x3a8713;let _0x1ddbe9=(0x0,path_1[_0x192286(0x119)])(resource_1[_0x192286(0x111)],_0x192286(0x128)),_0x10e68c='';for(let _0x1ac799=0x0;_0x1ac799<_0x54cdbd[_0x192286(0xdf)];_0x1ac799++){_0x10e68c+='<string>'+_0x54cdbd[_0x1ac799][_0x192286(0x113)]+_0x192286(0xca);}const _0xb2f4a6=infoPlistXML[_0x192286(0xe2)]('DEEPLINK',_0x10e68c);fs['writeFileSync'](_0x1ddbe9,_0xb2f4a6);}static[_0x3a8713(0x114)](_0x53c3c5){const _0x131349=_0x3a8713,_0x36a5bd=(0x0,path_1[_0x131349(0x119)])(resource_1[_0x131349(0x111)],_0x131349(0xd2));let _0x59271a=manifestSwiftTemplate_1[_0x131349(0x11d)];_0x59271a=_0x59271a['replace']('START_URL',_0x53c3c5[_0x131349(0xe0)]),_0x59271a=_0x59271a[_0x131349(0xe2)]('SCOPE',_0x53c3c5[_0x131349(0xc2)]),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xec),_0x53c3c5['name']),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xef),_0x53c3c5[_0x131349(0xf4)]),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x10a),_0x53c3c5['id']),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xc5),_0x53c3c5['display']==_0x131349(0x11b)?_0x131349(0xc5):_0x131349(0xfa));if(_0x53c3c5['protocol_handlers']){let _0x5b5d44='';for(let _0x4431aa=0x0;_0x4431aa<_0x53c3c5['protocol_handlers']['length'];_0x4431aa++){_0x5b5d44+=_0x131349(0xdd)+_0x53c3c5[_0x131349(0xeb)][_0x4431aa]['protocol']+'\x22,\x20url:\x20\x22'+_0x53c3c5[_0x131349(0xeb)][_0x4431aa][_0x131349(0xdb)]+_0x131349(0x108);}_0x59271a=_0x59271a[_0x131349(0xe2)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x5b5d44);}typeof _0x53c3c5[_0x131349(0x105)]===_0x131349(0x101)?(_0x59271a=_0x59271a['replace'](_0x131349(0xe9),_0x53c3c5[_0x131349(0x105)][_0x131349(0xd4)][_0x131349(0xd6)]),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x12a),_0x53c3c5[_0x131349(0x105)][_0x131349(0xd4)][_0x131349(0xc8)]),_0x59271a=_0x59271a['replace'](_0x131349(0x11c),'\x22'+_0x53c3c5[_0x131349(0x105)]['resizability']+'\x22'),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x10f),_0x131349(0xde))):(_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xe9),_0x131349(0xcb)),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x12a),_0x131349(0xcb)),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x11c),_0x131349(0xcf)),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x10f),_0x131349(0xf9))),fs['writeFileSync'](_0x36a5bd,_0x59271a,_0x131349(0x11e));}}exports[_0x3a8713(0xe1)]=XcodeProject;function _0x178f(){const _0xacdbac=['defaultSize','1.0','width','12vMrpfk','split','path','parseSync','url','PROJECT_BUILD_DIRECTORY','PWAProtocol(protocolValue:\x20\x22','true','length','start_url','default','replace','MIDDLE_APPICON_DIRECTORY','973970BIUpZi','DEVELOPMENT_TEAM','302121KtFegP','bindManifestInfo','42fZqbvZ','SceneWidth','app-store-connect','protocol_handlers','AppName','stringify','219291MvJHTE','Description','updateBuildProperty','json','test','5618172TlBXyU','description','writeFileSync','xcode','objects','11110912VmcIIk','false','.standalone','../resource/load','getMIME','updateDeeplink','writeAsync','log','buildConfigurationList','object','updateTeamId','icon.png','hash','mainScene','existsSync','buildType','\x22),','includes','AppID','icon','project','BACK_APPICON_DIRECTORY','pbxTargetByName','USE_MAIN_SCENE','<?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','PROJECT_DIRECTORY','writeSync','protocol','modifySwift','35341776prjTBI','version','buildSettings','3294148qGIxqr','join','loadJsonFromDisk','minimal-ui','SceneResizability','manifestSwiftTemplate','utf-8','updateExportOptions','images','filename','updateVersion','modify','pbxXCConfigurationList','PBXGroup','bindIcon','value','./web-spatial/Info.plist','teamId','SceneHeight','scope','icon.','name','.minimal','fixProjectFunction','BUILDTYPE','height','release-testing','</string>','1280','updateProductName','pbxXCBuildConfigurationSection','__esModule','\x22automatic\x22','defineProperty','pbxGroupByName','./web-spatial/libs/webView/manifest.swift','YOURTEAMID'];_0x178f=function(){return _0xacdbac;};return _0x178f();}
1
+ 'use strict';const _0x44433c=_0x3672;(function(_0x4226a5,_0x546c63){const _0x5d22de=_0x3672,_0x2d8338=_0x4226a5();while(!![]){try{const _0x20a3ad=parseInt(_0x5d22de(0x1b4))/0x1+parseInt(_0x5d22de(0x1ac))/0x2*(parseInt(_0x5d22de(0x159))/0x3)+parseInt(_0x5d22de(0x1a2))/0x4*(parseInt(_0x5d22de(0x196))/0x5)+-parseInt(_0x5d22de(0x16b))/0x6*(-parseInt(_0x5d22de(0x19c))/0x7)+parseInt(_0x5d22de(0x1ba))/0x8*(-parseInt(_0x5d22de(0x1ae))/0x9)+parseInt(_0x5d22de(0x191))/0xa+parseInt(_0x5d22de(0x151))/0xb*(-parseInt(_0x5d22de(0x183))/0xc);if(_0x20a3ad===_0x546c63)break;else _0x2d8338['push'](_0x2d8338['shift']());}catch(_0x1196e1){_0x2d8338['push'](_0x2d8338['shift']());}}}(_0xea7d,0x22ceb));function _0xea7d(){const _0x255bae=['join','buildConfigurationList','push','images','name','protocol_handlers','.minimal','filename','6Bnljaa','../resource/imageHelper','mkdirSync','../resource/load','MIDDLE_APPICON_DIRECTORY','AppName','Contents.json','SCOPE','writeAsync','PRODUCT_BUNDLE_IDENTIFIER','pbxXCConfigurationList','updateProductName','PROJECT_DIRECTORY','parseSync','USE_MAIN_SCENE','loadJsonFromDisk','height','json','__esModule','start_url','xcode','manifestInfo','<?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','display','6219732JmpSxu','path','hash','SceneHeight','buildType','debugging','DEVELOPMENT_TEAM','protocol','true','<?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>','Description','test','updateTeamId','updateExportOptions','2340960OVXwyO','CURRENT_PROJECT_VERSION','bindManifestInfo','manifestSwiftTemplate','replace','10IHYGKW','updateBuildProperty','PBXGroup','description','AppID','objects','141071DZVOGR','writeFileSync','pbxGroupByName','utf-8','existsSync','modify','302952asCTnm','split','.standalone','getMIME','default','release-testing','modifySwift','teamId','mainScene','false','69388CLmYMr','image/','36QPNbgu','\x22automatic\x22','width','PROJECT_BUILD_DIRECTORY','SceneWidth','log','37549CXkJbz','fixProjectFunction','stringify','./web-spatial/Info.plist','\x22,\x20url:\x20\x22','value','119888OWdyNi','START_URL','./manifestSwiftTemplate','1.0','project','DEEPLINK','defaultSize','11jDTOaL','writeSync','../resource','defineProperty','pbxXCBuildConfigurationSection','BACK_APPICON_DIRECTORY','length','buildConfigurations','24vcROzs','includes','1280','./web-spatial/libs/webView/manifest.swift','PWAProtocol(protocolValue:\x20\x22','updateVersion','updateDeeplink','buildSettings','SceneResizability','version'];_0xea7d=function(){return _0x255bae;};return _0xea7d();}Object[_0x44433c(0x154)](exports,_0x44433c(0x17d),{'value':!![]});const fs=require('fs'),resource_1=require(_0x44433c(0x153)),path_1=require(_0x44433c(0x184)),load_1=require(_0x44433c(0x16e)),imageHelper_1=require(_0x44433c(0x16c)),manifestSwiftTemplate_1=require(_0x44433c(0x1bc)),xcode=require(_0x44433c(0x17f)),exportOptionsXML=_0x44433c(0x18c),infoPlistXML=_0x44433c(0x181);let useExportOptionsXML='';function _0x3672(_0xf24faa,_0x3ccf09){const _0xea7dd6=_0xea7d();return _0x3672=function(_0x36729b,_0x224a2e){_0x36729b=_0x36729b-0x14d;let _0x54e2fd=_0xea7dd6[_0x36729b];return _0x54e2fd;},_0x3672(_0xf24faa,_0x3ccf09);}class XcodeProject{static async[_0x44433c(0x1a1)](_0x5a266d,_0x51de31,_0x3e4974=![]){const _0x4fb1c3=_0x44433c;let _0x82219b=xcode[_0x4fb1c3(0x14e)](_0x5a266d);this['fixProjectFunction'](_0x82219b),_0x82219b[_0x4fb1c3(0x178)]();let _0x446267=_0x51de31[_0x4fb1c3(0x187)];const _0x31f506=[_0x4fb1c3(0x1a7),'app-store-connect',_0x4fb1c3(0x188),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x4fb1c3(0x195)]('BUILDTYPE',_0x31f506['includes'](_0x446267)?_0x446267:_0x4fb1c3(0x1a7));_0x51de31[_0x4fb1c3(0x1a9)]&&this[_0x4fb1c3(0x18f)](_0x82219b,_0x51de31[_0x4fb1c3(0x1a9)]);this['updateExportOptions']();if(_0x51de31['icon'])await this['bindIcon'](_0x51de31['icon']);this[_0x4fb1c3(0x193)](_0x82219b,_0x51de31[_0x4fb1c3(0x180)][_0x4fb1c3(0x17c)],_0x3e4974);_0x51de31[_0x4fb1c3(0x162)]?this['updateVersion'](_0x82219b,_0x51de31['version']):this[_0x4fb1c3(0x15e)](_0x82219b,_0x4fb1c3(0x14d));try{fs[_0x4fb1c3(0x19d)](_0x5a266d,_0x82219b[_0x4fb1c3(0x152)]());}catch(_0x3e9e8e){console[_0x4fb1c3(0x1b3)](_0x3e9e8e);}}static[_0x44433c(0x1b5)](_0xeca1a6){const _0x5053e6=_0x44433c;_0xeca1a6[_0x5053e6(0x19e)]=function(_0x42da7a){const _0x31b2c9=_0x5053e6;var _0xbb7214=this[_0x31b2c9(0x185)]['project'][_0x31b2c9(0x19b)][_0x31b2c9(0x198)],_0x3ec1c7,_0x4bee76;for(_0x3ec1c7 in _0xbb7214){if(!/_comment$/[_0x31b2c9(0x18e)](_0x3ec1c7))continue;if(_0xbb7214[_0x3ec1c7]==_0x42da7a)return _0x4bee76=_0x3ec1c7[_0x31b2c9(0x1a3)](/_comment$/)[0x0],_0xbb7214[_0x4bee76];}return![];},_0xeca1a6[_0x5053e6(0x197)]=function(_0x11256c,_0x237b70,_0x2fdca5,_0x48145f){const _0x3e6b29=_0x5053e6;let _0x25e5b8=[];const _0x3b8082=/_comment$/;if(_0x48145f){const _0x480195=this['pbxTargetByName'](_0x48145f),_0x3126af=_0x480195&&_0x480195[_0x3e6b29(0x164)],_0x1fd6f5=this[_0x3e6b29(0x175)]();for(const _0x4a1246 in _0x1fd6f5){if(!_0x3b8082[_0x3e6b29(0x18e)](_0x4a1246)&&_0x3126af===_0x4a1246){const _0x568242=_0x1fd6f5[_0x4a1246][_0x3e6b29(0x158)];for(const _0xf6c2ba of _0x568242){_0x25e5b8[_0x3e6b29(0x165)](_0xf6c2ba[_0x3e6b29(0x1b9)]);}break;}}}var _0x137fd7=this[_0x3e6b29(0x155)]();for(var _0xa6ce2 in _0x137fd7){if(!_0x3b8082[_0x3e6b29(0x18e)](_0xa6ce2)){if(_0x48145f&&!_0x25e5b8[_0x3e6b29(0x15a)](_0xa6ce2))continue;var _0x554bc8=_0x137fd7[_0xa6ce2];(_0x2fdca5&&_0x554bc8[_0x3e6b29(0x167)]===_0x2fdca5||!_0x2fdca5)&&_0x554bc8[_0x3e6b29(0x160)][_0x11256c]&&(_0x554bc8[_0x3e6b29(0x160)][_0x11256c]=_0x237b70);}}};}static async['bindIcon'](_0x22cb73){const _0x3c48c1=_0x44433c;if(_0x22cb73){const _0x23fd4a=(0x0,path_1[_0x3c48c1(0x163)])(resource_1[_0x3c48c1(0x177)],resource_1[_0x3c48c1(0x156)]),_0x302f9f=(0x0,path_1['join'])(_0x23fd4a,'Contents.json'),_0x21b624='icon.'+_0x22cb73[_0x3c48c1(0x1a5)]()['replace'](_0x3c48c1(0x1ad),''),_0x6bea7a=(0x0,path_1[_0x3c48c1(0x163)])(_0x23fd4a,_0x21b624);let _0x59e6c3=await(0x0,load_1[_0x3c48c1(0x17a)])(_0x302f9f);_0x59e6c3[_0x3c48c1(0x166)][0x0]['filename']=_0x21b624,await _0x22cb73[_0x3c48c1(0x173)](_0x6bea7a),await fs[_0x3c48c1(0x19d)](_0x302f9f,JSON[_0x3c48c1(0x1b6)](_0x59e6c3));const _0x387afd=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3c48c1(0x16f)]),_0x20780f=(0x0,path_1['join'])(_0x387afd,_0x3c48c1(0x171)),_0x261873='icon.png',_0x6d4807=(0x0,path_1[_0x3c48c1(0x163)])(_0x387afd,_0x261873);let _0x2bc435=await(0x0,load_1['loadJsonFromDisk'])(_0x20780f),_0x5d7fae=imageHelper_1['ImageHelper']['createImg'](0x200);_0x2bc435[_0x3c48c1(0x166)][0x0][_0x3c48c1(0x16a)]=_0x261873,await _0x5d7fae['writeAsync'](_0x6d4807),await fs[_0x3c48c1(0x19d)](_0x20780f,JSON[_0x3c48c1(0x1b6)](_0x2bc435));}}static[_0x44433c(0x18f)](_0x43e382,_0x426360){const _0x4bff8b=_0x44433c;_0x43e382[_0x4bff8b(0x197)](_0x4bff8b(0x189),_0x426360),useExportOptionsXML=useExportOptionsXML['replace']('YOURTEAMID',_0x426360);}static[_0x44433c(0x190)](){const _0x32b69c=_0x44433c;!fs[_0x32b69c(0x1a0)](resource_1[_0x32b69c(0x1b1)])&&fs[_0x32b69c(0x16d)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x32b69c(0x19d)]((0x0,path_1[_0x32b69c(0x163)])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'),useExportOptionsXML);}static['bindManifestInfo'](_0x12d072,_0x2fc71e,_0x27948d=![]){const _0x14b1b8=_0x44433c;var _0x47143b;_0x12d072[_0x14b1b8(0x176)](_0x2fc71e[_0x14b1b8(0x167)]),_0x2fc71e['id']&&!_0x27948d&&_0x12d072[_0x14b1b8(0x197)](_0x14b1b8(0x174),'\x22'+_0x2fc71e['id']+'\x22'),this[_0x14b1b8(0x15f)]((_0x47143b=_0x2fc71e[_0x14b1b8(0x168)])!==null&&_0x47143b!==void 0x0?_0x47143b:[]),this['modifySwift'](_0x2fc71e);}static[_0x44433c(0x15e)](_0x11b628,_0x3f2ef1){const _0x47bb35=_0x44433c;_0x11b628[_0x47bb35(0x197)](_0x47bb35(0x192),_0x3f2ef1);}static[_0x44433c(0x15f)](_0x4fea30){const _0x2a7bea=_0x44433c;let _0x1c53a6=(0x0,path_1[_0x2a7bea(0x163)])(resource_1[_0x2a7bea(0x177)],_0x2a7bea(0x1b7)),_0x366421='';for(let _0x566e81=0x0;_0x566e81<_0x4fea30[_0x2a7bea(0x157)];_0x566e81++){_0x366421+='<string>'+_0x4fea30[_0x566e81][_0x2a7bea(0x18a)]+'</string>';}const _0x3e1355=infoPlistXML[_0x2a7bea(0x195)](_0x2a7bea(0x14f),_0x366421);fs[_0x2a7bea(0x19d)](_0x1c53a6,_0x3e1355);}static[_0x44433c(0x1a8)](_0x44a8a2){const _0x23b34f=_0x44433c,_0x5440df=(0x0,path_1[_0x23b34f(0x163)])(resource_1[_0x23b34f(0x177)],_0x23b34f(0x15c));let _0x26d95f=manifestSwiftTemplate_1[_0x23b34f(0x194)];_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x1bb),_0x44a8a2[_0x23b34f(0x17e)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x172),_0x44a8a2['scope']),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x170),_0x44a8a2[_0x23b34f(0x167)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x18d),_0x44a8a2[_0x23b34f(0x199)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x19a),_0x44a8a2['id']),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x169),_0x44a8a2[_0x23b34f(0x182)]=='minimal-ui'?_0x23b34f(0x169):_0x23b34f(0x1a4));if(_0x44a8a2[_0x23b34f(0x168)]){let _0x2f9ed1='';for(let _0x34d3a6=0x0;_0x34d3a6<_0x44a8a2[_0x23b34f(0x168)][_0x23b34f(0x157)];_0x34d3a6++){_0x2f9ed1+=_0x23b34f(0x15d)+_0x44a8a2['protocol_handlers'][_0x34d3a6]['protocol']+_0x23b34f(0x1b8)+_0x44a8a2[_0x23b34f(0x168)][_0x34d3a6]['url']+'\x22),';}_0x26d95f=_0x26d95f[_0x23b34f(0x195)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2f9ed1);}typeof _0x44a8a2[_0x23b34f(0x1aa)]==='object'?(_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x1b2),_0x44a8a2['mainScene'][_0x23b34f(0x150)][_0x23b34f(0x1b0)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)]('SceneHeight',_0x44a8a2['mainScene']['defaultSize'][_0x23b34f(0x17b)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)]('SceneResizability','\x22'+_0x44a8a2[_0x23b34f(0x1aa)]['resizability']+'\x22'),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x179),_0x23b34f(0x18b))):(_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x1b2),'1280'),_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x186),_0x23b34f(0x15b)),_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x161),_0x23b34f(0x1af)),_0x26d95f=_0x26d95f['replace']('USE_MAIN_SCENE',_0x23b34f(0x1ab))),fs['writeFileSync'](_0x5440df,_0x26d95f,_0x23b34f(0x19f));}}exports[_0x44433c(0x1a6)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x1fad42=_0x322b;function _0x5b38(){const _0x51623c=['\x20-t\x20','visionos','24HVBIzQ','/web-spatial.xcodeproj','split','\x20--validate-app\x20-f\x20','Booted','launch','PROJECT_DIRECTORY','uploadApp','Shutdown','name','./xcodebuild','execSync','27760359OywEux','deviceId','listDevices','10bhujLk','platform','39268aMIfuk','\x20list\x20devices\x20\x22','\x20-u\x20','\x20altool','\x22\x20\x22','find\x20simulator:\x20','altool','\x20--verbose','\x20launch\x20\x22','install','log','\x20-p\x20','\x20install\x20\x22','\x27\x20-derivedDataPath\x20','installing\x20app','\x20--upload-package\x20','launch\x20app','install\x20success','\x20--apiIssuer\x20','XcodebuildCMD','PROJECT_BUILD_DIRECTORY','Build/Products/Debug-xrsimulator/','boot','/test','line','\x20simctl','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','existsSync','path','618251bYMsgq','start\x20building','2nunXDy','no\x20visionOS\x20simulator\x20found','state','mkdirSync','9307404XIJIhl','../resource','runWithSimulator','toString','3476420ZhlVCq','authApi','join','project','__esModule','includes','appleId','\x20--apple-id\x20','uploadPackage','default','child_process','authAccount','defineProperty','simctl','Apple\x20Vision\x20Pro','version','849716qZehHV','237VBElsm','\x20shutdown\x20booted','verbose','trim','parseListDevices','list','validate','3736024HghTof','\x20--apiKey\x20','length'];_0x5b38=function(){return _0x51623c;};return _0x5b38();}(function(_0x21f779,_0x389b5b){const _0x4ecc89=_0x322b,_0x199d82=_0x21f779();while(!![]){try{const _0x474567=-parseInt(_0x4ecc89(0xda))/0x1*(-parseInt(_0x4ecc89(0xdc))/0x2)+-parseInt(_0x4ecc89(0xf5))/0x3*(-parseInt(_0x4ecc89(0xbd))/0x4)+parseInt(_0x4ecc89(0xe4))/0x5+parseInt(_0x4ecc89(0x101))/0x6*(parseInt(_0x4ecc89(0xf4))/0x7)+-parseInt(_0x4ecc89(0xfc))/0x8+parseInt(_0x4ecc89(0xe0))/0x9+parseInt(_0x4ecc89(0xbb))/0xa*(-parseInt(_0x4ecc89(0x10d))/0xb);if(_0x474567===_0x389b5b)break;else _0x199d82['push'](_0x199d82['shift']());}catch(_0x4a5736){_0x199d82['push'](_0x199d82['shift']());}}}(_0x5b38,0x96e82));Object[_0x1fad42(0xf0)](exports,_0x1fad42(0xe8),{'value':!![]});const child_process_1=require(_0x1fad42(0xee)),resource_1=require(_0x1fad42(0xe1)),path_1=require(_0x1fad42(0xd9)),fs=require('fs'),xcodebuild_1=require(_0x1fad42(0x10b));class Xcrun{static async[_0x1fad42(0xfb)](_0x2dbae1,_0x2405dc,_0x375aaf,_0x53c570){const _0x58199d=_0x1fad42,_0xfaa3ef=new XcrunCMD()[_0x58199d(0xc3)]();_0xfaa3ef[_0x58199d(0xfb)](_0x2dbae1);_0x53c570?_0xfaa3ef[_0x58199d(0xef)](_0x2405dc,_0x375aaf):_0xfaa3ef['authApi'](_0x2405dc,_0x375aaf);_0xfaa3ef[_0x58199d(0xbc)](_0x58199d(0x100));const _0x4194cd=(0x0,child_process_1[_0x58199d(0x10c)])(_0xfaa3ef[_0x58199d(0xd5)]);return _0x4194cd[_0x58199d(0xe3)]();}static async[_0x1fad42(0xec)](_0x2833b1,_0x302bbd,_0x21a473,_0x1abb00,_0xe8f2e5){const _0x3a9cbd=_0x1fad42,_0x4531f1=new XcrunCMD()[_0x3a9cbd(0xc3)]();_0x4531f1[_0x3a9cbd(0xec)](_0x2833b1);_0xe8f2e5?_0x4531f1[_0x3a9cbd(0xef)](_0x302bbd,_0x21a473):_0x4531f1[_0x3a9cbd(0xe5)](_0x302bbd,_0x21a473);_0x4531f1['platform'](_0x3a9cbd(0x100)),_0x4531f1[_0x3a9cbd(0xea)](_0x1abb00);const _0x2feed8=(0x0,child_process_1[_0x3a9cbd(0x10c)])(_0x4531f1[_0x3a9cbd(0xd5)]);return _0x2feed8[_0x3a9cbd(0xe3)]();}static async[_0x1fad42(0x108)](_0x5d371b,_0x4e3da6,_0x128a32,_0x3e1c87){const _0xe4d610=_0x1fad42,_0xe591d5=new XcrunCMD()['altool']();_0xe591d5['uploadApp'](_0x5d371b);_0x3e1c87?_0xe591d5[_0xe4d610(0xef)](_0x4e3da6,_0x128a32):_0xe591d5[_0xe4d610(0xe5)](_0x4e3da6,_0x128a32);_0xe591d5[_0xe4d610(0xbc)](_0xe4d610(0x100));const _0x2ad378=(0x0,child_process_1[_0xe4d610(0x10c)])(_0xe591d5[_0xe4d610(0xd5)]);return _0x2ad378[_0xe4d610(0xe3)]();}static async[_0x1fad42(0xe2)](_0x24446c){const _0x20c8fe=_0x1fad42;let _0x3723a9=new XcrunCMD()[_0x20c8fe(0xf1)]();_0x3723a9[_0x20c8fe(0xba)](_0x20c8fe(0xf2));const _0x5aa54e=(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9[_0x20c8fe(0xd5)]),_0x446ee4=this[_0x20c8fe(0xf9)](_0x5aa54e['toString']());if(_0x446ee4[_0x20c8fe(0xfe)]===0x0)throw new Error(_0x20c8fe(0xdd));let _0x27ee34=_0x446ee4[0x0];for(let _0x82f42=0x0;_0x82f42<_0x446ee4[_0x20c8fe(0xfe)];_0x82f42++){if(_0x446ee4[_0x82f42][_0x20c8fe(0xde)]===_0x20c8fe(0x105)){_0x27ee34=_0x446ee4[_0x82f42];break;}}console[_0x20c8fe(0xc7)](_0x20c8fe(0xc2)+_0x27ee34['deviceId']);const _0xcda592=resource_1[_0x20c8fe(0x107)]+_0x20c8fe(0x102),_0x5a1087=resource_1['PROJECT_BUILD_DIRECTORY']+_0x20c8fe(0xd4);!fs[_0x20c8fe(0xd8)](resource_1[_0x20c8fe(0xd1)])&&fs['mkdirSync'](resource_1[_0x20c8fe(0xd1)],{'recursive':!![]});!fs['existsSync'](_0x5a1087)&&fs[_0x20c8fe(0xdf)](_0x5a1087,{'recursive':!![]});const _0x45e117=new xcodebuild_1[(_0x20c8fe(0xd0))]()[_0x20c8fe(0xe7)](_0xcda592)[_0x20c8fe(0xd5)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x27ee34[_0x20c8fe(0xb9)]+_0x20c8fe(0xca)+_0x5a1087);console['log'](_0x20c8fe(0xdb)),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x45e117),console[_0x20c8fe(0xc7)]('build\x20success');_0x27ee34[_0x20c8fe(0xde)]===_0x20c8fe(0x109)&&(_0x3723a9=new XcrunCMD()[_0x20c8fe(0xf1)](),_0x3723a9[_0x20c8fe(0xd3)](_0x27ee34['deviceId']),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9[_0x20c8fe(0xd5)]));(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x20c8fe(0xd7)),console[_0x20c8fe(0xc7)](_0x20c8fe(0xcb));const _0x49901f=(0x0,path_1[_0x20c8fe(0xe6)])(_0x5a1087,_0x20c8fe(0xd2)+_0x24446c[_0x20c8fe(0x10a)]+'.app');_0x3723a9=new XcrunCMD()['simctl'](),_0x3723a9['install'](_0x27ee34[_0x20c8fe(0xb9)],_0x49901f),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9[_0x20c8fe(0xd5)]),console[_0x20c8fe(0xc7)](_0x20c8fe(0xce)),console[_0x20c8fe(0xc7)](_0x20c8fe(0xcd)),_0x3723a9=new XcrunCMD()[_0x20c8fe(0xf1)](),_0x3723a9[_0x20c8fe(0x106)](_0x27ee34[_0x20c8fe(0xb9)],_0x24446c['id']),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9['line']);}static[_0x1fad42(0xf9)](_0xc6411c){const _0x34814c=_0x1fad42;let _0x38a7fc=_0xc6411c['split']('\x0a'),_0x1e8d7a=[],_0x2d5ef5=-0x1;for(let _0x1ba7d5=0x0;_0x1ba7d5<_0x38a7fc['length'];_0x1ba7d5++){if(_0x38a7fc[_0x1ba7d5][_0x34814c(0xe9)]('--\x20visionOS'))_0x2d5ef5=_0x1ba7d5;else{if(_0x2d5ef5>0x0){if(_0x38a7fc[_0x1ba7d5][_0x34814c(0xe9)]('--\x20'))break;if(_0x38a7fc[_0x1ba7d5][_0x34814c(0xfe)]>0x0){const _0x20de15=_0x38a7fc[_0x1ba7d5][_0x34814c(0x103)]('('),_0x951ce9={'name':_0x20de15[0x0]['trim'](),'deviceId':_0x20de15[0x1]['split'](')')[0x0]['trim'](),'state':_0x20de15[0x2][_0x34814c(0x103)](')')[0x0][_0x34814c(0xf8)]()};_0x1e8d7a['push'](_0x951ce9);}}}}return _0x1e8d7a;}}exports[_0x1fad42(0xed)]=Xcrun;function _0x322b(_0x55327c,_0x38ef7b){const _0x5b3815=_0x5b38();return _0x322b=function(_0x322bf5,_0x4141dc){_0x322bf5=_0x322bf5-0xb9;let _0x344d01=_0x5b3815[_0x322bf5];return _0x344d01;},_0x322b(_0x55327c,_0x38ef7b);}class XcrunCMD{constructor(){this['line']='xcrun';}['altool'](){const _0x2c3235=_0x1fad42;return this[_0x2c3235(0xd5)]+=_0x2c3235(0xc0),this;}[_0x1fad42(0xf1)](){const _0x1f8169=_0x1fad42;return this[_0x1f8169(0xd5)]+=_0x1f8169(0xd6),this;}[_0x1fad42(0xfa)](){const _0x336fef=_0x1fad42;return this[_0x336fef(0xd5)]+='\x20list',this;}[_0x1fad42(0xba)](_0x3df2e9){const _0x26acaf=_0x1fad42;return this['line']+=_0x26acaf(0xbe)+_0x3df2e9+'\x22',this;}[_0x1fad42(0xfb)](_0x15aa58){const _0x202eae=_0x1fad42;return this[_0x202eae(0xd5)]+=_0x202eae(0x104)+_0x15aa58,this;}[_0x1fad42(0x108)](_0x1d65ba){const _0x4aaa78=_0x1fad42;return this[_0x4aaa78(0xd5)]+='\x20--upload-app\x20-f\x20'+_0x1d65ba,this;}[_0x1fad42(0xec)](_0x365955){const _0x5b05f8=_0x1fad42;return this[_0x5b05f8(0xd5)]+=_0x5b05f8(0xcc)+_0x365955,this;}['authAccount'](_0x8867b6,_0x524f1d){const _0x5e41af=_0x1fad42;return this[_0x5e41af(0xd5)]+=_0x5e41af(0xbf)+_0x8867b6+_0x5e41af(0xc8)+_0x524f1d,this;}[_0x1fad42(0xe5)](_0x162234,_0x122d30){const _0x18ba0f=_0x1fad42;return this['line']+=_0x18ba0f(0xfd)+_0x162234+_0x18ba0f(0xcf)+_0x122d30,this;}[_0x1fad42(0xea)](_0x410215){const _0x49b4ce=_0x1fad42;return this[_0x49b4ce(0xd5)]+=_0x49b4ce(0xeb)+_0x410215,this;}[_0x1fad42(0xbc)](_0x10a56e){const _0x855bb3=_0x1fad42;return this['line']+=_0x855bb3(0xff)+_0x10a56e,this;}[_0x1fad42(0xf3)](_0x1e767c){return this['line']+='\x20--bundle-version\x20'+_0x1e767c,this;}[_0x1fad42(0xf7)](){const _0x59aa62=_0x1fad42;return this[_0x59aa62(0xd5)]+=_0x59aa62(0xc4),this;}['shutdown'](){const _0x124267=_0x1fad42;return this[_0x124267(0xd5)]+=_0x124267(0xf6),this;}[_0x1fad42(0xd3)](_0x491691){const _0xc60969=_0x1fad42;return this[_0xc60969(0xd5)]+='\x20boot\x20\x22'+_0x491691+'\x22',this;}[_0x1fad42(0xc6)](_0x1fa219,_0x57183b){const _0x1272b6=_0x1fad42;return this[_0x1272b6(0xd5)]+=_0x1272b6(0xc9)+_0x1fa219+'\x22\x20\x22'+_0x57183b+'\x22',this;}[_0x1fad42(0x106)](_0x2a93cb,_0x47f907){const _0x40f5ff=_0x1fad42;return this[_0x40f5ff(0xd5)]+=_0x40f5ff(0xc5)+_0x2a93cb+_0x40f5ff(0xc1)+_0x47f907+'\x22',this;}}
1
+ 'use strict';const _0x17ee1a=_0x218d;(function(_0x3b89ff,_0x1b59cd){const _0x53cffd=_0x218d,_0x14f283=_0x3b89ff();while(!![]){try{const _0x2e317d=-parseInt(_0x53cffd(0xbc))/0x1+parseInt(_0x53cffd(0xb7))/0x2+-parseInt(_0x53cffd(0xbf))/0x3+-parseInt(_0x53cffd(0xcc))/0x4+parseInt(_0x53cffd(0xa6))/0x5*(parseInt(_0x53cffd(0xca))/0x6)+parseInt(_0x53cffd(0xc1))/0x7*(parseInt(_0x53cffd(0x92))/0x8)+-parseInt(_0x53cffd(0xc6))/0x9*(-parseInt(_0x53cffd(0xd2))/0xa);if(_0x2e317d===_0x1b59cd)break;else _0x14f283['push'](_0x14f283['shift']());}catch(_0x2df5e2){_0x14f283['push'](_0x14f283['shift']());}}}(_0x1c16,0xdaa2b));function _0x218d(_0x1509c2,_0x411b53){const _0x1c16c6=_0x1c16();return _0x218d=function(_0x218db2,_0x12dcc0){_0x218db2=_0x218db2-0x8c;let _0x4fbfc6=_0x1c16c6[_0x218db2];return _0x4fbfc6;},_0x218d(_0x1509c2,_0x411b53);}Object[_0x17ee1a(0x94)](exports,_0x17ee1a(0xb3),{'value':!![]});const child_process_1=require('child_process'),resource_1=require('../resource'),path_1=require(_0x17ee1a(0xc9)),fs=require('fs'),xcodebuild_1=require(_0x17ee1a(0xa3));class Xcrun{static async['validate'](_0x29f8c1,_0x1771b4,_0x27ba23,_0xf8e61f){const _0x1696e5=_0x17ee1a,_0x6e1e48=new XcrunCMD()[_0x1696e5(0xa7)]();_0x6e1e48[_0x1696e5(0xd5)](_0x29f8c1);_0xf8e61f?_0x6e1e48[_0x1696e5(0xb5)](_0x1771b4,_0x27ba23):_0x6e1e48[_0x1696e5(0xc4)](_0x1771b4,_0x27ba23);_0x6e1e48[_0x1696e5(0xb1)](_0x1696e5(0xc7));const _0x1f0d53=(0x0,child_process_1[_0x1696e5(0x97)])(_0x6e1e48[_0x1696e5(0xaa)]);return _0x1f0d53[_0x1696e5(0xb8)]();}static async[_0x17ee1a(0xb2)](_0x359ee4,_0x431855,_0xa0e023,_0xb37774,_0x4984be){const _0x3379ac=_0x17ee1a,_0x1a7259=new XcrunCMD()[_0x3379ac(0xa7)]();_0x1a7259[_0x3379ac(0xb2)](_0x359ee4);_0x4984be?_0x1a7259[_0x3379ac(0xb5)](_0x431855,_0xa0e023):_0x1a7259['authApi'](_0x431855,_0xa0e023);_0x1a7259[_0x3379ac(0xb1)]('visionos'),_0x1a7259['appleId'](_0xb37774);const _0x1cd78d=(0x0,child_process_1[_0x3379ac(0x97)])(_0x1a7259[_0x3379ac(0xaa)]);return _0x1cd78d[_0x3379ac(0xb8)]();}static async[_0x17ee1a(0xbb)](_0x4aa49f,_0x253bfa,_0x23a627,_0x1b38d3){const _0x46f162=_0x17ee1a,_0x4b0a08=new XcrunCMD()[_0x46f162(0xa7)]();_0x4b0a08['uploadApp'](_0x4aa49f);_0x1b38d3?_0x4b0a08[_0x46f162(0xb5)](_0x253bfa,_0x23a627):_0x4b0a08[_0x46f162(0xc4)](_0x253bfa,_0x23a627);_0x4b0a08[_0x46f162(0xb1)](_0x46f162(0xc7));const _0x2cf7af=(0x0,child_process_1[_0x46f162(0x97)])(_0x4b0a08[_0x46f162(0xaa)]);return _0x2cf7af['toString']();}static async['runWithSimulator'](_0x48d393){const _0x2fd8ed=_0x17ee1a;let _0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)]();_0x57d0f0[_0x2fd8ed(0xd1)](_0x2fd8ed(0x8f));const _0x11f833=(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x57d0f0['line']),_0x384ddd=this['parseListDevices'](_0x11f833[_0x2fd8ed(0xb8)]());if(_0x384ddd[_0x2fd8ed(0xb9)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x307664=_0x384ddd[0x0];for(let _0xb2a6be=0x0;_0xb2a6be<_0x384ddd[_0x2fd8ed(0xb9)];_0xb2a6be++){if(_0x384ddd[_0xb2a6be][_0x2fd8ed(0x91)]===_0x2fd8ed(0xa0)){_0x307664=_0x384ddd[_0xb2a6be];break;}}console[_0x2fd8ed(0xaf)]('find\x20simulator:\x20'+_0x307664[_0x2fd8ed(0x95)]);const _0x226c80=resource_1[_0x2fd8ed(0xad)]+_0x2fd8ed(0x9b),_0x49744b=resource_1[_0x2fd8ed(0xd7)]+'/test';!fs[_0x2fd8ed(0xbe)](resource_1[_0x2fd8ed(0xd7)])&&fs[_0x2fd8ed(0xc3)](resource_1[_0x2fd8ed(0xd7)],{'recursive':!![]});!fs[_0x2fd8ed(0xbe)](_0x49744b)&&fs[_0x2fd8ed(0xc3)](_0x49744b,{'recursive':!![]});const _0x218c3e=new xcodebuild_1[(_0x2fd8ed(0xb4))]()['project'](_0x226c80)['line']+(_0x2fd8ed(0xd6)+_0x307664[_0x2fd8ed(0x95)]+'\x27\x20-derivedDataPath\x20'+_0x49744b);console[_0x2fd8ed(0xaf)]('start\x20building'),(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x218c3e),console['log'](_0x2fd8ed(0xa2));_0x307664[_0x2fd8ed(0x91)]===_0x2fd8ed(0x9f)&&(_0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)](),_0x57d0f0['boot'](_0x307664[_0x2fd8ed(0x95)]),(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x57d0f0[_0x2fd8ed(0xaa)]));(0x0,child_process_1['execSync'])('open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/'),console[_0x2fd8ed(0xaf)]('installing\x20app');const _0x211be6=(0x0,path_1[_0x2fd8ed(0xcf)])(_0x49744b,_0x2fd8ed(0xa5)+_0x48d393['name']+_0x2fd8ed(0xac));_0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)](),_0x57d0f0[_0x2fd8ed(0xcb)](_0x307664[_0x2fd8ed(0x95)],_0x211be6),(0x0,child_process_1['execSync'])(_0x57d0f0[_0x2fd8ed(0xaa)]),console[_0x2fd8ed(0xaf)](_0x2fd8ed(0xbd)),console[_0x2fd8ed(0xaf)](_0x2fd8ed(0xb0)),_0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)](),_0x57d0f0[_0x2fd8ed(0xd3)](_0x307664[_0x2fd8ed(0x95)],_0x48d393['id']),(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x57d0f0['line']);}static[_0x17ee1a(0x9a)](_0x14b368){const _0x151d6f=_0x17ee1a;let _0x41ceea=_0x14b368[_0x151d6f(0xc8)]('\x0a'),_0x20c3f7=[],_0x8edbc2=-0x1;for(let _0x441d86=0x0;_0x441d86<_0x41ceea['length'];_0x441d86++){if(_0x41ceea[_0x441d86][_0x151d6f(0x99)](_0x151d6f(0x9d)))_0x8edbc2=_0x441d86;else{if(_0x8edbc2>0x0){if(_0x41ceea[_0x441d86]['includes'](_0x151d6f(0xce)))break;if(_0x41ceea[_0x441d86][_0x151d6f(0xb9)]>0x0){const _0x1682be=_0x41ceea[_0x441d86]['split']('('),_0x11697c={'name':_0x1682be[0x0][_0x151d6f(0xa1)](),'deviceId':_0x1682be[0x1]['split'](')')[0x0][_0x151d6f(0xa1)](),'state':_0x1682be[0x2][_0x151d6f(0xc8)](')')[0x0][_0x151d6f(0xa1)]()};_0x20c3f7['push'](_0x11697c);}}}}return _0x20c3f7;}}exports[_0x17ee1a(0xa4)]=Xcrun;function _0x1c16(){const _0x552d15=['\x20--validate-app\x20-f\x20','\x20--upload-package\x20','simctl','Apple\x20Vision\x20Pro','\x20install\x20\x22','state','8KAXIio','version','defineProperty','deviceId','appleId','execSync','shutdown','includes','parseListDevices','/web-spatial.xcodeproj','\x20--apiKey\x20','--\x20visionOS','\x20simctl','Shutdown','Booted','trim','build\x20success','./xcodebuild','default','Build/Products/Debug-xrsimulator/','10liUkzu','altool','\x20--bundle-version\x20','\x20--apiIssuer\x20','line','verbose','.app','PROJECT_DIRECTORY','\x20altool','log','launch\x20app','platform','uploadPackage','__esModule','XcodebuildCMD','authAccount','\x20-u\x20','898924DRisPa','toString','length','xcrun','uploadApp','1060490nqtvAZ','install\x20success','existsSync','4734423KkrXcg','\x20launch\x20\x22','10105025qTGqhG','\x20--apple-id\x20','mkdirSync','authApi','list','1494SWUvyZ','visionos','split','path','694974cCXuuj','install','4828764qVbiTB','\x20-p\x20','--\x20','join','boot','listDevices','157630ppspXV','launch','\x22\x20\x22','validate','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','PROJECT_BUILD_DIRECTORY','\x20--verbose'];_0x1c16=function(){return _0x552d15;};return _0x1c16();}class XcrunCMD{constructor(){const _0x459294=_0x17ee1a;this[_0x459294(0xaa)]=_0x459294(0xba);}[_0x17ee1a(0xa7)](){const _0x49defd=_0x17ee1a;return this[_0x49defd(0xaa)]+=_0x49defd(0xae),this;}[_0x17ee1a(0x8e)](){const _0x14559c=_0x17ee1a;return this[_0x14559c(0xaa)]+=_0x14559c(0x9e),this;}[_0x17ee1a(0xc5)](){const _0x3e3d4f=_0x17ee1a;return this[_0x3e3d4f(0xaa)]+='\x20list',this;}['listDevices'](_0x5443b2){const _0x245a1c=_0x17ee1a;return this[_0x245a1c(0xaa)]+='\x20list\x20devices\x20\x22'+_0x5443b2+'\x22',this;}[_0x17ee1a(0xd5)](_0x15846a){const _0x57b3a8=_0x17ee1a;return this['line']+=_0x57b3a8(0x8c)+_0x15846a,this;}[_0x17ee1a(0xbb)](_0x2a4c1b){return this['line']+='\x20--upload-app\x20-f\x20'+_0x2a4c1b,this;}['uploadPackage'](_0x208dd4){const _0x9037af=_0x17ee1a;return this[_0x9037af(0xaa)]+=_0x9037af(0x8d)+_0x208dd4,this;}['authAccount'](_0x1bb679,_0x549dda){const _0x452946=_0x17ee1a;return this[_0x452946(0xaa)]+=_0x452946(0xb6)+_0x1bb679+_0x452946(0xcd)+_0x549dda,this;}[_0x17ee1a(0xc4)](_0x45a33c,_0x41c325){const _0x41aac6=_0x17ee1a;return this[_0x41aac6(0xaa)]+=_0x41aac6(0x9c)+_0x45a33c+_0x41aac6(0xa9)+_0x41c325,this;}[_0x17ee1a(0x96)](_0x1e1e77){const _0x4c75a=_0x17ee1a;return this[_0x4c75a(0xaa)]+=_0x4c75a(0xc2)+_0x1e1e77,this;}[_0x17ee1a(0xb1)](_0xa0439e){const _0x294ff5=_0x17ee1a;return this[_0x294ff5(0xaa)]+='\x20-t\x20'+_0xa0439e,this;}[_0x17ee1a(0x93)](_0x225010){const _0x3e411a=_0x17ee1a;return this[_0x3e411a(0xaa)]+=_0x3e411a(0xa8)+_0x225010,this;}[_0x17ee1a(0xab)](){const _0x34fd01=_0x17ee1a;return this[_0x34fd01(0xaa)]+=_0x34fd01(0xd8),this;}[_0x17ee1a(0x98)](){const _0x4c55c5=_0x17ee1a;return this[_0x4c55c5(0xaa)]+='\x20shutdown\x20booted',this;}[_0x17ee1a(0xd0)](_0x3b11ad){const _0xe12447=_0x17ee1a;return this[_0xe12447(0xaa)]+='\x20boot\x20\x22'+_0x3b11ad+'\x22',this;}['install'](_0x398686,_0xb268a6){const _0x4883ef=_0x17ee1a;return this['line']+=_0x4883ef(0x90)+_0x398686+_0x4883ef(0xd4)+_0xb268a6+'\x22',this;}['launch'](_0x3bdb48,_0x57283e){const _0x3fd3c2=_0x17ee1a;return this['line']+=_0x3fd3c2(0xc0)+_0x3bdb48+_0x3fd3c2(0xd4)+_0x57283e+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "sharp": "^0.33.5",
39
39
  "valid-url": "^1.0.9",
40
40
  "xcode": "^3.0.1",
41
- "@webspatial/platform-visionos": "^0.1.2"
41
+ "@webspatial/platform-visionos": "^0.1.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-terser": "^0.4.3",