@webspatial/builder 0.1.14 → 0.1.15

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 _0x263fe5=_0x4ad4;(function(_0x59abef,_0x2eb92b){const _0x22859d=_0x4ad4,_0x299b2f=_0x59abef();while(!![]){try{const _0x3a7c84=-parseInt(_0x22859d(0x1c4))/0x1*(parseInt(_0x22859d(0x1fd))/0x2)+parseInt(_0x22859d(0x1b6))/0x3+parseInt(_0x22859d(0x1bf))/0x4+parseInt(_0x22859d(0x1f2))/0x5+parseInt(_0x22859d(0x1c1))/0x6*(-parseInt(_0x22859d(0x1f4))/0x7)+-parseInt(_0x22859d(0x1ce))/0x8+-parseInt(_0x22859d(0x1f6))/0x9*(-parseInt(_0x22859d(0x1e2))/0xa);if(_0x3a7c84===_0x2eb92b)break;else _0x299b2f['push'](_0x299b2f['shift']());}catch(_0x36b0f6){_0x299b2f['push'](_0x299b2f['shift']());}}}(_0x2f05,0xa85f3));Object[_0x263fe5(0x1d5)](exports,_0x263fe5(0x1ca),{'value':!![]});const commander_1=require(_0x263fe5(0x1c0)),semver_1=require(_0x263fe5(0x1e6)),FetchUtils_1_1=require(_0x263fe5(0x1eb)),build_1=require(_0x263fe5(0x1e4)),version_1=require(_0x263fe5(0x1de)),fetch_1=require('./lib/utils/fetch'),launch_1=require('./lib/cmds/launch'),shutdown_1=require('./lib/cmds/shutdown');function _0x2f05(){const _0x3fee88=['./lib/cmds/version','bundle\x20id','getVersion','--manifest\x20<manifest>','243850DfSdVV','manifest\x20url','./lib/cmds/build','Shutdown\x20Simulator','semver','node','username','--project\x20<project>','--bundle-id\x20<bundleId>','./lib/utils/FetchUtils-1','argv','name','Command','app\x20build\x20type','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','--manifest-url\x20<manifest-url>','2786475sVQYJI','webspatial-builder','7ONHbEv','--export\x20<export>','459aIIOWq','exports','--buildType\x20<buildType>','log','option','fetchUtils','run\x20without\x20build','2tRAZkx','2004600hozmBp','setDecompressResponseBuffer','Launch\x20WebSpatial\x20App','team\x20id','--teamId\x20<teamId>','requiredOption','--u\x20<username>','action','--tryWithoutBuild\x20<tryWithoutBuild>','1102156wydgdl','commander','5975418ExHCOi','build','run','599759WLBtYM','project\x20path','description','parseAsync','--base\x20<base>','--platform\x20<platform>','__esModule','configureHelp','setDownloadFile','fetch','3674848FSQjDA','base\x20path','command','Publish\x20WebSpatial\x20App','app\x20version','--manifest-url\x20<manifestUrl>','export\x20path','defineProperty','version','xr\x20platform','store','manifest\x20path','versions','--version\x20<version>','shutdown','launch'];_0x2f05=function(){return _0x3fee88;};return _0x2f05();}module[_0x263fe5(0x1f7)]=async()=>{const _0x3d385b=_0x263fe5;if((0x0,semver_1['major'])(process[_0x3d385b(0x1da)]['node'])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0x3d385b(0x1e7)]+'.'+_0x3d385b(0x1f0));const _0x5afc67=new commander_1[(_0x3d385b(0x1ee))]();FetchUtils_1_1[_0x3d385b(0x1fb)]['setFetch'](fetch_1[_0x3d385b(0x1cd)]),FetchUtils_1_1[_0x3d385b(0x1fb)][_0x3d385b(0x1cc)](fetch_1['downloadFile']),FetchUtils_1_1['fetchUtils'][_0x3d385b(0x1b7)](fetch_1['decompressResponseBuffer']),await setupCommands(_0x5afc67),await _0x5afc67[_0x3d385b(0x1c7)](process[_0x3d385b(0x1ec)]);};function _0x4ad4(_0x96da52,_0x3d1227){const _0x2f0585=_0x2f05();return _0x4ad4=function(_0x4ad43a,_0x12e14b){_0x4ad43a=_0x4ad43a-0x1b6;let _0x4c1ef7=_0x2f0585[_0x4ad43a];return _0x4c1ef7;},_0x4ad4(_0x96da52,_0x3d1227);}async function setupCommands(_0x530af2){const _0x3def37=_0x263fe5,_0x24a66f=await(0x0,version_1[_0x3def37(0x1e0)])();_0x530af2[_0x3def37(0x1ed)](_0x3def37(0x1f3))[_0x3def37(0x1c6)]('WebSpatial\x20Builder\x20is\x20a\x20client-side\x20CLI\x20tool\x20used\x20to\x20generate\x20cross\x20platform\x20XRApp\x20projects.')[_0x3def37(0x1d6)](_0x24a66f,'-v,\x20--version')[_0x3def37(0x1cb)]({'showGlobalOptions':!![]}),_0x530af2[_0x3def37(0x1d0)](_0x3def37(0x1c3))[_0x3def37(0x1c6)]('By\x20compiling\x20or\x20running\x20directly\x20on\x20the\x20simulator\x20the\x20WebSpatial\x20App')['option'](_0x3def37(0x1e1),_0x3def37(0x1d9))[_0x3def37(0x1fa)](_0x3def37(0x1e9),'project\x20path')[_0x3def37(0x1fa)](_0x3def37(0x1d3),_0x3def37(0x1e3))[_0x3def37(0x1fa)](_0x3def37(0x1c9),'xr\x20platform')[_0x3def37(0x1fa)](_0x3def37(0x1c8),_0x3def37(0x1cf))['option'](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1fa)](_0x3def37(0x1be),_0x3def37(0x1fc))['action'](async _0x1f7db8=>{const _0x513b79=_0x3def37;await(0x0,build_1[_0x513b79(0x1c3)])(_0x1f7db8);}),_0x530af2[_0x3def37(0x1d0)]('build')[_0x3def37(0x1c6)]('Build\x20WebSpatial\x20App')[_0x3def37(0x1fa)](_0x3def37(0x1e1),_0x3def37(0x1d9))[_0x3def37(0x1fa)]('--project\x20<project>',_0x3def37(0x1c5))[_0x3def37(0x1fa)](_0x3def37(0x1f1),_0x3def37(0x1e3))[_0x3def37(0x1fa)](_0x3def37(0x1c9),_0x3def37(0x1d7))[_0x3def37(0x1fa)](_0x3def37(0x1db),'app\x20version')['option'](_0x3def37(0x1f8),_0x3def37(0x1ef))[_0x3def37(0x1fa)]('--export\x20<export>',_0x3def37(0x1d4))[_0x3def37(0x1fa)](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1bb)]('--base\x20<base>',_0x3def37(0x1cf))['requiredOption'](_0x3def37(0x1ba),_0x3def37(0x1b9))[_0x3def37(0x1bd)](async _0x2a560a=>{const _0x2e16a2=_0x3def37;console[_0x2e16a2(0x1f9)](_0x2a560a),await(0x0,build_1[_0x2e16a2(0x1c2)])(_0x2a560a);}),_0x530af2[_0x3def37(0x1d0)]('publish')[_0x3def37(0x1c6)](_0x3def37(0x1d1))['option'](_0x3def37(0x1e1),'manifest\x20path')[_0x3def37(0x1fa)](_0x3def37(0x1e9),'project\x20path')[_0x3def37(0x1fa)]('--manifest-url\x20<manifestUrl>',_0x3def37(0x1e3))['option'](_0x3def37(0x1c9),_0x3def37(0x1d7))['option'](_0x3def37(0x1f8),'app\x20build\x20type')[_0x3def37(0x1fa)](_0x3def37(0x1f5),_0x3def37(0x1d4))[_0x3def37(0x1fa)](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1bb)](_0x3def37(0x1c8),_0x3def37(0x1cf))[_0x3def37(0x1bb)](_0x3def37(0x1ba),_0x3def37(0x1b9))[_0x3def37(0x1bb)]('--version\x20<version>',_0x3def37(0x1d2))[_0x3def37(0x1bb)](_0x3def37(0x1bc),_0x3def37(0x1e8))[_0x3def37(0x1bb)]('--p\x20<password>','password')[_0x3def37(0x1bd)](async _0x5d2d74=>{const _0x5eb10c=_0x3def37;console[_0x5eb10c(0x1f9)](_0x5d2d74),await(0x0,build_1[_0x5eb10c(0x1d8)])(_0x5d2d74);}),_0x530af2[_0x3def37(0x1d0)]('launch')[_0x3def37(0x1c6)](_0x3def37(0x1b8))[_0x3def37(0x1fa)](_0x3def37(0x1ea),'bundle\x20id')[_0x3def37(0x1bd)](async _0x549555=>{const _0x452354=_0x3def37;console[_0x452354(0x1f9)](_0x549555),await(0x0,launch_1[_0x452354(0x1dd)])(_0x549555);}),_0x530af2[_0x3def37(0x1d0)](_0x3def37(0x1dc))['description'](_0x3def37(0x1e5))[_0x3def37(0x1bd)](async _0xc6432d=>{const _0x30381e=_0x3def37;console[_0x30381e(0x1f9)](_0xc6432d),await(0x0,shutdown_1[_0x30381e(0x1dc)])(_0xc6432d);});}
1
+ 'use strict';const _0x5ae9b3=_0x2625;(function(_0x53317a,_0x17ad3f){const _0x108aa2=_0x2625,_0x29d444=_0x53317a();while(!![]){try{const _0x143543=-parseInt(_0x108aa2(0x15a))/0x1+-parseInt(_0x108aa2(0x13f))/0x2*(parseInt(_0x108aa2(0x15f))/0x3)+parseInt(_0x108aa2(0x159))/0x4*(-parseInt(_0x108aa2(0x174))/0x5)+-parseInt(_0x108aa2(0x175))/0x6+parseInt(_0x108aa2(0x16a))/0x7+-parseInt(_0x108aa2(0x140))/0x8*(-parseInt(_0x108aa2(0x148))/0x9)+parseInt(_0x108aa2(0x131))/0xa;if(_0x143543===_0x17ad3f)break;else _0x29d444['push'](_0x29d444['shift']());}catch(_0x431eda){_0x29d444['push'](_0x29d444['shift']());}}}(_0x335b,0xdfb62));function _0x2625(_0x1d8cd9,_0x4c863b){const _0x335ba3=_0x335b();return _0x2625=function(_0x26253e,_0xe58b99){_0x26253e=_0x26253e-0x12f;let _0x1a27f6=_0x335ba3[_0x26253e];return _0x1a27f6;},_0x2625(_0x1d8cd9,_0x4c863b);}function _0x335b(){const _0x4940cb=['manifest\x20path','configureHelp','build','__esModule','By\x20compiling\x20or\x20running\x20directly\x20on\x20the\x20simulator\x20the\x20WebSpatial\x20App','command','requiredOption','--manifest\x20<manifest>','Publish\x20WebSpatial\x20App','username','4211992NIZFDM','379904XQEeDq','name','store','setDecompressResponseBuffer','./lib/cmds/version','152049TKWyPq','defineProperty','Shutdown\x20Simulator','export\x20path','downloadFile','fetch','Command','manifest\x20url','app\x20version','bundle\x20id','./lib/cmds/build','5010936EwVPWB','--manifest-url\x20<manifestUrl>','option','./lib/cmds/shutdown','log','--base\x20<base>','-v,\x20--version','action','major','run','5bnUNuh','9072900LmBmzp','--tryWithoutBuild\x20<tryWithoutBuild>','run\x20without\x20build','--manifest-url\x20<manifest-url>','./lib/cmds/launch','setFetch','exports','--export\x20<export>','19087840mXSqcv','xr\x20platform','publish','team\x20id','decompressResponseBuffer','webspatial-builder','parseAsync','app\x20build\x20type','--u\x20<username>','launch','--teamId\x20<teamId>','./lib/utils/fetch','shutdown','base\x20path','12hozVSf','32jtiHjl','password','argv','--bundle-id\x20<bundleId>','setDownloadFile','--version\x20<version>','project\x20path','--platform\x20<platform>','3466890VZtSBD','description','--buildType\x20<buildType>','fetchUtils','node','Current\x20Node.js\x20version\x20is\x20','getVersion'];_0x335b=function(){return _0x4940cb;};return _0x335b();}Object[_0x5ae9b3(0x160)](exports,_0x5ae9b3(0x152),{'value':!![]});const commander_1=require('commander'),semver_1=require('semver'),FetchUtils_1_1=require('./lib/utils/FetchUtils-1'),build_1=require(_0x5ae9b3(0x169)),version_1=require(_0x5ae9b3(0x15e)),fetch_1=require(_0x5ae9b3(0x13c)),launch_1=require(_0x5ae9b3(0x179)),shutdown_1=require(_0x5ae9b3(0x16d));module[_0x5ae9b3(0x12f)]=async()=>{const _0x454c1e=_0x5ae9b3;if((0x0,semver_1[_0x454c1e(0x172)])(process['versions'][_0x454c1e(0x14c)])<0xe)throw new Error(_0x454c1e(0x14d)+process['versions'][_0x454c1e(0x14c)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');const _0x18d874=new commander_1[(_0x454c1e(0x165))]();FetchUtils_1_1[_0x454c1e(0x14b)][_0x454c1e(0x17a)](fetch_1[_0x454c1e(0x164)]),FetchUtils_1_1[_0x454c1e(0x14b)][_0x454c1e(0x144)](fetch_1[_0x454c1e(0x163)]),FetchUtils_1_1[_0x454c1e(0x14b)][_0x454c1e(0x15d)](fetch_1[_0x454c1e(0x135)]),await setupCommands(_0x18d874),await _0x18d874[_0x454c1e(0x137)](process[_0x454c1e(0x142)]);};async function setupCommands(_0x2dc774){const _0x2c67f6=_0x5ae9b3,_0x2343f3=await(0x0,version_1[_0x2c67f6(0x14e)])();_0x2dc774[_0x2c67f6(0x15b)](_0x2c67f6(0x136))[_0x2c67f6(0x149)]('WebSpatial\x20Builder\x20is\x20a\x20client-side\x20CLI\x20tool\x20used\x20to\x20generate\x20cross\x20platform\x20XRApp\x20projects.')['version'](_0x2343f3,_0x2c67f6(0x170))[_0x2c67f6(0x150)]({'showGlobalOptions':!![]}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x173))[_0x2c67f6(0x149)](_0x2c67f6(0x153))[_0x2c67f6(0x16c)](_0x2c67f6(0x156),'manifest\x20path')[_0x2c67f6(0x16c)]('--project\x20<project>',_0x2c67f6(0x146))[_0x2c67f6(0x16c)](_0x2c67f6(0x16b),_0x2c67f6(0x166))[_0x2c67f6(0x16c)](_0x2c67f6(0x147),_0x2c67f6(0x132))[_0x2c67f6(0x16c)](_0x2c67f6(0x16f),_0x2c67f6(0x13e))[_0x2c67f6(0x16c)](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x16c)](_0x2c67f6(0x176),_0x2c67f6(0x177))['action'](async _0x1e054e=>{await(0x0,build_1['run'])(_0x1e054e);}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x151))['description']('Build\x20WebSpatial\x20App')[_0x2c67f6(0x16c)]('--manifest\x20<manifest>',_0x2c67f6(0x14f))['option']('--project\x20<project>',_0x2c67f6(0x146))[_0x2c67f6(0x16c)](_0x2c67f6(0x178),_0x2c67f6(0x166))['option']('--platform\x20<platform>',_0x2c67f6(0x132))[_0x2c67f6(0x16c)]('--version\x20<version>',_0x2c67f6(0x167))[_0x2c67f6(0x16c)](_0x2c67f6(0x14a),_0x2c67f6(0x138))['option'](_0x2c67f6(0x130),_0x2c67f6(0x162))['option'](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x155)]('--base\x20<base>',_0x2c67f6(0x13e))['requiredOption'](_0x2c67f6(0x13b),'team\x20id')[_0x2c67f6(0x171)](async _0x51413a=>{const _0x3bfac9=_0x2c67f6;console[_0x3bfac9(0x16e)](_0x51413a),await(0x0,build_1['build'])(_0x51413a);}),_0x2dc774['command'](_0x2c67f6(0x133))[_0x2c67f6(0x149)](_0x2c67f6(0x157))[_0x2c67f6(0x16c)](_0x2c67f6(0x156),_0x2c67f6(0x14f))['option']('--project\x20<project>',_0x2c67f6(0x146))[_0x2c67f6(0x16c)](_0x2c67f6(0x16b),_0x2c67f6(0x166))['option'](_0x2c67f6(0x147),_0x2c67f6(0x132))['option'](_0x2c67f6(0x14a),_0x2c67f6(0x138))[_0x2c67f6(0x16c)](_0x2c67f6(0x130),_0x2c67f6(0x162))[_0x2c67f6(0x16c)](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x155)](_0x2c67f6(0x16f),_0x2c67f6(0x13e))[_0x2c67f6(0x155)](_0x2c67f6(0x13b),_0x2c67f6(0x134))[_0x2c67f6(0x155)](_0x2c67f6(0x145),'app\x20version')['requiredOption'](_0x2c67f6(0x139),_0x2c67f6(0x158))[_0x2c67f6(0x155)]('--p\x20<password>',_0x2c67f6(0x141))[_0x2c67f6(0x171)](async _0x21b237=>{const _0x4d8466=_0x2c67f6;console[_0x4d8466(0x16e)](_0x21b237),await(0x0,build_1[_0x4d8466(0x15c)])(_0x21b237);}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x13a))[_0x2c67f6(0x149)]('Launch\x20WebSpatial\x20App')['option'](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x171)](async _0x453484=>{console['log'](_0x453484),await(0x0,launch_1['launch'])(_0x453484);}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x13d))[_0x2c67f6(0x149)](_0x2c67f6(0x161))[_0x2c67f6(0x171)](async _0x24bbf6=>{const _0x104c48=_0x2c67f6;console[_0x104c48(0x16e)](_0x24bbf6),await(0x0,shutdown_1['shutdown'])(_0x24bbf6);});}
@@ -1 +1 @@
1
- 'use strict';function _0x2629(){const _0x210f6a=['1012602NLtHgL','json','111464WSEidw','checkStoreParams','__esModule','stringify','./check','640450HyVQuX','35uYnEGh','export','fromNet','buildType','-------------------\x20parse\x20start\x20-------------------','checkManifest','XcodeManager','3950710iROcHW','platform','ResourceManager','-------------------\x20parse\x20end\x20-------------------','generator','parseProject','project','6546276RoQLyz','1464876rUpPrJ','../pwa','recordManifest','../utils/history','runWithHistory','dist','store','runWithSimulator','upload','../xcode','true','WebSpatialTest','name','default','teamId','22UztAVM','build','285HoaFDG','log','1GmRWXk','7602DFcDhH','PWAGenerator','checkPlatformPath'];_0x2629=function(){return _0x210f6a;};return _0x2629();}const _0x359a3f=_0x5afc;function _0x5afc(_0x473287,_0x1de42f){const _0x262978=_0x2629();return _0x5afc=function(_0x5afc02,_0x4ebb62){_0x5afc02=_0x5afc02-0x75;let _0x2c8d7a=_0x262978[_0x5afc02];return _0x2c8d7a;},_0x5afc(_0x473287,_0x1de42f);}(function(_0x294e08,_0x59bd14){const _0x103963=_0x5afc,_0x5abf8b=_0x294e08();while(!![]){try{const _0x2f2518=-parseInt(_0x103963(0x7b))/0x1*(-parseInt(_0x103963(0x86))/0x2)+-parseInt(_0x103963(0x7f))/0x3+parseInt(_0x103963(0x96))/0x4+-parseInt(_0x103963(0x79))/0x5*(-parseInt(_0x103963(0x7c))/0x6)+parseInt(_0x103963(0x87))/0x7*(parseInt(_0x103963(0x81))/0x8)+parseInt(_0x103963(0x95))/0x9+parseInt(_0x103963(0x8e))/0xa*(-parseInt(_0x103963(0x77))/0xb);if(_0x2f2518===_0x59bd14)break;else _0x5abf8b['push'](_0x5abf8b['shift']());}catch(_0x5d19bc){_0x5abf8b['push'](_0x5abf8b['shift']());}}}(_0x2629,0x687f0));Object['defineProperty'](exports,_0x359a3f(0x83),{'value':!![]}),exports[_0x359a3f(0x78)]=build,exports[_0x359a3f(0x9c)]=store,exports['run']=run;const pwa_1=require(_0x359a3f(0x97)),resource_1=require('../resource'),xcode_1=require(_0x359a3f(0x9f)),check_1=require(_0x359a3f(0x85)),history_1=require(_0x359a3f(0x99));async function build(_0x2604a7){const _0x4275c6=_0x359a3f;var _0x492850;console[_0x4275c6(0x7a)]('-------------------\x20parse\x20start\x20-------------------'),resource_1['ResourceManager']['checkPlatformPath'](_0x2604a7[_0x4275c6(0x8f)]);const _0x164989=await doPwa(_0x2604a7),_0x59998c=await doReadyProject((_0x492850=_0x2604a7[_0x4275c6(0x94)])!==null&&_0x492850!==void 0x0?_0x492850:_0x4275c6(0x9b),_0x164989);return await doXcode(_0x2604a7,_0x59998c,_0x164989),console[_0x4275c6(0x7a)](_0x4275c6(0x91)),await xcode_1[_0x4275c6(0x8d)]['build'](_0x2604a7[_0x4275c6(0x88)]),_0x164989;}async function store(_0x227eb1){const _0x13a689=_0x359a3f;resource_1[_0x13a689(0x90)]['checkPlatformPath'](_0x227eb1[_0x13a689(0x8f)]),(0x0,check_1[_0x13a689(0x82)])(_0x227eb1);let _0x5f067c={'name':_0x13a689(0xa1)};_0x227eb1['buildType']='app-store-connect';if(_0x227eb1[_0x13a689(0xa2)])_0x5f067c[_0x13a689(0xa2)]=_0x227eb1['name'];else{const _0x5b9003=await build(_0x227eb1);_0x5f067c[_0x13a689(0xa2)]=_0x5b9003[_0x13a689(0x80)][_0x13a689(0xa2)];}await xcode_1[_0x13a689(0x8d)][_0x13a689(0x9e)](_0x227eb1,_0x5f067c);}async function run(_0x364ebf){const _0x2440cc=_0x359a3f;var _0x3cddcf;const _0x407334=JSON[_0x2440cc(0x84)](_0x364ebf);history_1[_0x2440cc(0x75)]['init'](_0x407334),console[_0x2440cc(0x7a)](_0x2440cc(0x8b)),resource_1[_0x2440cc(0x90)][_0x2440cc(0x7e)](_0x364ebf[_0x2440cc(0x8f)]);const _0x17fb5d=await doPwa(_0x364ebf,!![]);history_1['default'][_0x2440cc(0x98)](_0x17fb5d[_0x2440cc(0x80)]);if(_0x17fb5d[_0x2440cc(0x89)]||_0x364ebf['tryWithoutBuild']===_0x2440cc(0xa0)){if(history_1['default'][_0x2440cc(0x8c)](_0x17fb5d[_0x2440cc(0x80)])){console[_0x2440cc(0x7a)]('Same\x20as\x20the\x20previous\x20record'),await xcode_1[_0x2440cc(0x8d)][_0x2440cc(0x9a)]();return;}}const _0xccabe1=await doReadyProject((_0x3cddcf=_0x364ebf[_0x2440cc(0x94)])!==null&&_0x3cddcf!==void 0x0?_0x3cddcf:_0x2440cc(0x9b),_0x17fb5d);await doXcode(_0x364ebf,_0xccabe1,_0x17fb5d,!![]),console['log'](_0x2440cc(0x91)),await xcode_1[_0x2440cc(0x8d)][_0x2440cc(0x9d)]();}async function doPwa(_0x23f4fd,_0x2122c1=![]){const _0x3851a3=_0x359a3f;return(0x0,check_1['checkBuildParams'])(_0x23f4fd,_0x2122c1),await pwa_1[_0x3851a3(0x7d)][_0x3851a3(0x92)](_0x23f4fd,_0x2122c1);}async function doReadyProject(_0x55d9a4,_0x8e232f){const _0x3d6c4d=_0x359a3f;return!_0x8e232f[_0x3d6c4d(0x89)]&&(await resource_1[_0x3d6c4d(0x90)]['moveProjectFrom'](_0x55d9a4),console[_0x3d6c4d(0x7a)]('move\x20web\x20project:\x20ok')),await resource_1['ResourceManager']['generateIcon'](_0x8e232f);}async function doXcode(_0x3ff0e9,_0x11b71e,_0x5111a6,_0x57063b=![]){const _0x73fb9=_0x359a3f;await xcode_1['XcodeManager'][_0x73fb9(0x93)]({'icon':_0x11b71e,'manifestInfo':_0x5111a6,'teamId':_0x3ff0e9[_0x73fb9(0x76)],'version':_0x3ff0e9['version'],'buildType':_0x3ff0e9[_0x73fb9(0x8a)],'export':_0x3ff0e9[_0x73fb9(0x88)]},_0x57063b);}
1
+ 'use strict';const _0x10fb9d=_0x17d5;(function(_0x37336b,_0x3f2ea4){const _0x2930c7=_0x17d5,_0x393f34=_0x37336b();while(!![]){try{const _0x4670fd=-parseInt(_0x2930c7(0x1fc))/0x1+parseInt(_0x2930c7(0x1fd))/0x2+parseInt(_0x2930c7(0x200))/0x3+-parseInt(_0x2930c7(0x210))/0x4+parseInt(_0x2930c7(0x20f))/0x5*(parseInt(_0x2930c7(0x20a))/0x6)+parseInt(_0x2930c7(0x20c))/0x7+parseInt(_0x2930c7(0x216))/0x8*(-parseInt(_0x2930c7(0x217))/0x9);if(_0x4670fd===_0x3f2ea4)break;else _0x393f34['push'](_0x393f34['shift']());}catch(_0x33c1de){_0x393f34['push'](_0x393f34['shift']());}}}(_0x38f7,0x9a77d));Object['defineProperty'](exports,_0x10fb9d(0x207),{'value':!![]}),exports[_0x10fb9d(0x1f7)]=build,exports['store']=store,exports[_0x10fb9d(0x20b)]=run;const pwa_1=require(_0x10fb9d(0x1f3)),resource_1=require(_0x10fb9d(0x219)),xcode_1=require(_0x10fb9d(0x1ff)),check_1=require(_0x10fb9d(0x21c)),history_1=require(_0x10fb9d(0x215));async function build(_0x4ac952){const _0xc59367=_0x10fb9d;var _0x34acd2;console[_0xc59367(0x21a)](_0xc59367(0x21b)),resource_1[_0xc59367(0x208)]['checkPlatformPath'](_0x4ac952[_0xc59367(0x1f8)]);const _0x4d50e7=await doPwa(_0x4ac952),_0x4dd485=await doReadyProject((_0x34acd2=_0x4ac952['project'])!==null&&_0x34acd2!==void 0x0?_0x34acd2:_0xc59367(0x1f5),_0x4d50e7);return await doXcode(_0x4ac952,_0x4dd485,_0x4d50e7),console[_0xc59367(0x21a)](_0xc59367(0x1fa)),await xcode_1[_0xc59367(0x206)][_0xc59367(0x1f7)](_0x4ac952['export']),_0x4d50e7;}async function store(_0x42a34b){const _0x8a0148=_0x10fb9d;resource_1['ResourceManager'][_0x8a0148(0x20e)](_0x42a34b['platform']),(0x0,check_1[_0x8a0148(0x212)])(_0x42a34b);let _0x4fff94={'name':_0x8a0148(0x1f4)};_0x42a34b['buildType']=_0x8a0148(0x203);if(_0x42a34b['name'])_0x4fff94[_0x8a0148(0x1f2)]=_0x42a34b[_0x8a0148(0x1f2)];else{const _0xb666df=await build(_0x42a34b);_0x4fff94[_0x8a0148(0x1f2)]=_0xb666df[_0x8a0148(0x211)][_0x8a0148(0x1f2)];}await xcode_1[_0x8a0148(0x206)][_0x8a0148(0x1fb)](_0x42a34b,_0x4fff94);}async function run(_0x793ffa){const _0x556d05=_0x10fb9d;var _0x29691a;const _0x19c40b=JSON[_0x556d05(0x1f9)](_0x793ffa);history_1[_0x556d05(0x213)]['init'](_0x19c40b),console[_0x556d05(0x21a)]('-------------------\x20parse\x20start\x20-------------------'),resource_1[_0x556d05(0x208)][_0x556d05(0x20e)](_0x793ffa['platform']);const _0x40ea72=await doPwa(_0x793ffa,!![]);history_1['default'][_0x556d05(0x1ef)](_0x40ea72[_0x556d05(0x211)]);if(_0x40ea72[_0x556d05(0x1f0)]||_0x793ffa[_0x556d05(0x204)]===_0x556d05(0x209)){if(history_1[_0x556d05(0x213)][_0x556d05(0x1f1)](_0x40ea72[_0x556d05(0x211)])){console[_0x556d05(0x21a)]('Same\x20as\x20the\x20previous\x20record'),await xcode_1['XcodeManager'][_0x556d05(0x1f6)]();return;}}const _0x3f0a76=await doReadyProject((_0x29691a=_0x793ffa[_0x556d05(0x214)])!==null&&_0x29691a!==void 0x0?_0x29691a:_0x556d05(0x1f5),_0x40ea72);await doXcode(_0x793ffa,_0x3f0a76,_0x40ea72,!![]),console[_0x556d05(0x21a)](_0x556d05(0x1fa)),await xcode_1[_0x556d05(0x206)]['runWithSimulator']();}function _0x17d5(_0x38942d,_0x4bebff){const _0x38f735=_0x38f7();return _0x17d5=function(_0x17d5c4,_0x2d024d){_0x17d5c4=_0x17d5c4-0x1ef;let _0x4a32b9=_0x38f735[_0x17d5c4];return _0x4a32b9;},_0x17d5(_0x38942d,_0x4bebff);}async function doPwa(_0x4a02ff,_0x84cc8c=![]){const _0x5a37cf=_0x10fb9d;return(0x0,check_1[_0x5a37cf(0x1fe)])(_0x4a02ff,_0x84cc8c),await pwa_1[_0x5a37cf(0x218)]['generator'](_0x4a02ff,_0x84cc8c);}async function doReadyProject(_0x545dd0,_0x4ba58b){const _0x534d6c=_0x10fb9d;return!_0x4ba58b['fromNet']&&(await resource_1[_0x534d6c(0x208)][_0x534d6c(0x205)](_0x545dd0),console[_0x534d6c(0x21a)]('move\x20web\x20project:\x20ok')),await resource_1[_0x534d6c(0x208)]['generateIcon'](_0x4ba58b);}function _0x38f7(){const _0x1f65c5=['2136252gJPnge','run','4589823YdpGAq','version','checkPlatformPath','15AfYjnJ','3112592NWbeLr','json','checkStoreParams','default','project','../utils/history','2221256obUEEa','18ozMoIx','PWAGenerator','../resource','log','-------------------\x20parse\x20start\x20-------------------','./check','recordManifest','fromNet','checkManifest','name','../pwa','WebSpatialTest','dist','runWithHistory','build','platform','stringify','-------------------\x20parse\x20end\x20-------------------','upload','192006mYgZaT','384898msRonp','checkBuildParams','../xcode','725715IOSYNH','export','parseProject','app-store-connect','tryWithoutBuild','moveProjectFrom','XcodeManager','__esModule','ResourceManager','true'];_0x38f7=function(){return _0x1f65c5;};return _0x38f7();}async function doXcode(_0x529c3c,_0x406792,_0xca4ca6,_0x30c78d=![]){const _0x3473d0=_0x10fb9d;await xcode_1['XcodeManager'][_0x3473d0(0x202)]({'icon':_0x406792,'manifestInfo':_0xca4ca6,'teamId':_0x529c3c['teamId'],'version':_0x529c3c[_0x3473d0(0x20d)],'buildType':_0x529c3c['buildType'],'export':_0x529c3c[_0x3473d0(0x201)]},_0x30c78d);}
@@ -1 +1 @@
1
- 'use strict';const _0x3bb6a6=_0x22a8;(function(_0x3a1af6,_0x1fa67f){const _0x544f8c=_0x22a8,_0x5ad900=_0x3a1af6();while(!![]){try{const _0x5cebb8=-parseInt(_0x544f8c(0xd8))/0x1+-parseInt(_0x544f8c(0xe0))/0x2*(parseInt(_0x544f8c(0xe4))/0x3)+-parseInt(_0x544f8c(0xd2))/0x4*(-parseInt(_0x544f8c(0xe9))/0x5)+-parseInt(_0x544f8c(0xdb))/0x6*(parseInt(_0x544f8c(0xeb))/0x7)+-parseInt(_0x544f8c(0xe5))/0x8*(-parseInt(_0x544f8c(0xd6))/0x9)+parseInt(_0x544f8c(0xec))/0xa*(parseInt(_0x544f8c(0xdf))/0xb)+parseInt(_0x544f8c(0xe1))/0xc*(parseInt(_0x544f8c(0xe6))/0xd);if(_0x5cebb8===_0x1fa67f)break;else _0x5ad900['push'](_0x5ad900['shift']());}catch(_0x26f1e2){_0x5ad900['push'](_0x5ad900['shift']());}}}(_0x5301,0x57eb4));function _0x5301(){const _0x55f21a=['--teamId\x20is\x20required','228126wpPhok','version\x20is\x20required','--u\x20and\x20--p\x20is\x20required','51762bvCuFU','defineProperty','pop','base','55xwMrwH','10nUIZLX','48VBaJCH','teamId','../pwa/validate','370725nzHVLi','8naLpLN','198146wcyzjC','version','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','899785aeDBzE','manifest','42Cntgab','922270MjwWqt','test','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','checkStoreParams','16UkurEl','checkBuildParams','search','manifest-url','143532SDxAIc'];_0x5301=function(){return _0x55f21a;};return _0x5301();}function _0x22a8(_0x1b4771,_0x54dab2){const _0x530159=_0x5301();return _0x22a8=function(_0x22a831,_0x1fa1d9){_0x22a831=_0x22a831-0xcf;let _0xbe6f94=_0x530159[_0x22a831];return _0xbe6f94;},_0x22a8(_0x1b4771,_0x54dab2);}Object[_0x3bb6a6(0xdc)](exports,'__esModule',{'value':!![]}),exports[_0x3bb6a6(0xd3)]=checkBuildParams,exports[_0x3bb6a6(0xd1)]=checkStoreParams;const validate_1=require(_0x3bb6a6(0xe3));function checkBuildParams(_0x51b951,_0x4b74fd=![]){const _0x12753a=_0x3bb6a6;if(_0x51b951[_0x12753a(0xea)]&&_0x51b951[_0x12753a(0xd5)])throw new Error(_0x12753a(0xd0));if(!_0x51b951[_0x12753a(0xe2)]&&!_0x4b74fd)throw new Error(_0x12753a(0xd7));if(_0x51b951[_0x12753a(0xde)]){if((0x0,validate_1['validateURL'])(_0x51b951[_0x12753a(0xde)]))try{const _0x2b18c3=new URL(_0x51b951[_0x12753a(0xde)]);if(_0x2b18c3[_0x12753a(0xd4)]||_0x2b18c3['hash'])throw new Error(_0x12753a(0xe8));}catch(_0x28fe0){throw new Error(_0x12753a(0xe8));}else{const _0x3e2f2a=/(\?.*|\.\w+|#.*)$/,_0x5919ab=_0x51b951[_0x12753a(0xde)]['split']('/')[_0x12753a(0xdd)]()||'';if(_0x3e2f2a[_0x12753a(0xcf)](_0x5919ab))throw new Error(_0x12753a(0xe8));}}}function checkStoreParams(_0x1443e1){const _0x3dcaa6=_0x3bb6a6;if(!(_0x1443e1['u']&&_0x1443e1['p']))throw new Error(_0x3dcaa6(0xda));if(!_0x1443e1[_0x3dcaa6(0xe7)])throw new Error(_0x3dcaa6(0xd9));}
1
+ 'use strict';const _0x3fcb8c=_0x1b91;(function(_0xddda89,_0x2911e4){const _0x398225=_0x1b91,_0x14616f=_0xddda89();while(!![]){try{const _0x12a2b0=-parseInt(_0x398225(0x149))/0x1+parseInt(_0x398225(0x13f))/0x2*(parseInt(_0x398225(0x136))/0x3)+-parseInt(_0x398225(0x13e))/0x4*(-parseInt(_0x398225(0x12f))/0x5)+-parseInt(_0x398225(0x13b))/0x6+parseInt(_0x398225(0x134))/0x7+-parseInt(_0x398225(0x145))/0x8*(parseInt(_0x398225(0x138))/0x9)+-parseInt(_0x398225(0x147))/0xa*(-parseInt(_0x398225(0x140))/0xb);if(_0x12a2b0===_0x2911e4)break;else _0x14616f['push'](_0x14616f['shift']());}catch(_0x127022){_0x14616f['push'](_0x14616f['shift']());}}}(_0x2aa4,0x8609d));Object[_0x3fcb8c(0x146)](exports,_0x3fcb8c(0x13d),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x3fcb8c(0x142)]=checkStoreParams;const validate_1=require(_0x3fcb8c(0x133));function _0x1b91(_0x2d9e36,_0x17f60f){const _0x2aa411=_0x2aa4();return _0x1b91=function(_0x1b91ca,_0x1a0ec5){_0x1b91ca=_0x1b91ca-0x12e;let _0x3c6ca9=_0x2aa411[_0x1b91ca];return _0x3c6ca9;},_0x1b91(_0x2d9e36,_0x17f60f);}function checkBuildParams(_0x1b4909,_0x128fb7=![]){const _0x16b114=_0x3fcb8c;if(_0x1b4909[_0x16b114(0x13a)]&&_0x1b4909[_0x16b114(0x141)])throw new Error(_0x16b114(0x13c));if(!_0x1b4909[_0x16b114(0x143)]&&!_0x128fb7)throw new Error(_0x16b114(0x132));if(_0x1b4909[_0x16b114(0x135)]){if((0x0,validate_1[_0x16b114(0x14a)])(_0x1b4909['base']))try{const _0x7296a5=new URL(_0x1b4909[_0x16b114(0x135)]);if(_0x7296a5[_0x16b114(0x144)]||_0x7296a5[_0x16b114(0x137)])throw new Error(_0x16b114(0x148));}catch(_0x4e912a){throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}else{const _0x20c580=/(\?.*|\.\w+|#.*)$/,_0x2d870f=_0x1b4909[_0x16b114(0x135)][_0x16b114(0x130)]('/')['pop']()||'';if(_0x20c580['test'](_0x2d870f))throw new Error(_0x16b114(0x148));}}}function checkStoreParams(_0x43a901){const _0xabc42b=_0x3fcb8c;if(!(_0x43a901['u']&&_0x43a901['p']))throw new Error(_0xabc42b(0x12e));if(!_0x43a901[_0xabc42b(0x131)])throw new Error(_0xabc42b(0x139));}function _0x2aa4(){const _0x25eadf=['1671285JsPzaK','base','21FtwOFy','hash','495KFbHOI','version\x20is\x20required','manifest','6535788GCgkWa','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','__esModule','969692PDowCf','98792gAjKtB','237303snsiDl','manifest-url','checkStoreParams','teamId','search','158968ozfdyX','defineProperty','890gCiJoy','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','258146SpWbRZ','validateURL','--u\x20and\x20--p\x20is\x20required','10NEpJAd','split','version','--teamId\x20is\x20required','../pwa/validate'];_0x2aa4=function(){return _0x25eadf;};return _0x2aa4();}
@@ -1 +1 @@
1
- 'use strict';function _0xd377(){const _0x3d0687=['ConsoleLog','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','9RJxoEC','dev','help','1943416BIOUsw','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','429736YVziiX','help\x20................\x20shows\x20this\x20menu','build','info','join','1330235TSUXfK','1227484KZCFep','9187724RGgsqs','../utils/Log','1133ZRozFR','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','publish','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','1RXCSAT','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','webspatial\x20[command]\x20<options>','main','Usage:','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','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>','175gEblJw','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','18zFoddm','defineProperty','6EdwQwM','112260LvdAGY','11542460MbyAqw','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'];_0xd377=function(){return _0x3d0687;};return _0xd377();}const _0x1947af=_0x3ad9;(function(_0x2f6c30,_0x176bd1){const _0x5da323=_0x3ad9,_0x3d8910=_0x2f6c30();while(!![]){try{const _0x3a8cf3=-parseInt(_0x5da323(0x14c))/0x1*(-parseInt(_0x5da323(0x161))/0x2)+-parseInt(_0x5da323(0x158))/0x3*(-parseInt(_0x5da323(0x145))/0x4)+parseInt(_0x5da323(0x144))/0x5*(-parseInt(_0x5da323(0x156))/0x6)+-parseInt(_0x5da323(0x154))/0x7*(-parseInt(_0x5da323(0x13f))/0x8)+-parseInt(_0x5da323(0x15e))/0x9*(parseInt(_0x5da323(0x15a))/0xa)+parseInt(_0x5da323(0x148))/0xb*(-parseInt(_0x5da323(0x159))/0xc)+parseInt(_0x5da323(0x146))/0xd;if(_0x3a8cf3===_0x176bd1)break;else _0x3d8910['push'](_0x3d8910['shift']());}catch(_0x3880c0){_0x3d8910['push'](_0x3d8910['shift']());}}}(_0xd377,0xaf943));Object[_0x1947af(0x157)](exports,_0x1947af(0x14e),{'value':!![]}),exports[_0x1947af(0x160)]=help;const Log_1=require(_0x1947af(0x147)),HELP_MESSAGES=new Map([[_0x1947af(0x150),[_0x1947af(0x14f),'','',_0x1947af(0x140),_0x1947af(0x15b)+_0x1947af(0x149),_0x1947af(0x152),_0x1947af(0x162)][_0x1947af(0x143)]('\x0a')],[_0x1947af(0x141),[_0x1947af(0x151),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x1947af(0x14b)]['join']('\x0a')],[_0x1947af(0x15f),[_0x1947af(0x151),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x1947af(0x155)][_0x1947af(0x143)]('\x0a')],[_0x1947af(0x14a),[_0x1947af(0x151),'','',_0x1947af(0x153),'','',_0x1947af(0x15d),'','',_0x1947af(0x14d)]['join']('\x0a')]]);function _0x3ad9(_0xe37f1f,_0x58a863){const _0xd377c0=_0xd377();return _0x3ad9=function(_0x3ad965,_0x37276f){_0x3ad965=_0x3ad965-0x13f;let _0x1a6db5=_0xd377c0[_0x3ad965];return _0x1a6db5;},_0x3ad9(_0xe37f1f,_0x58a863);}async function help(_0x22e15d,_0x1d8375=new Log_1[(_0x1947af(0x15c))](_0x1947af(0x160))){const _0x2b2362=_0x1947af,_0x120786=_0x22e15d['_'][0x1],_0x374a8f=HELP_MESSAGES['get'](_0x120786)||HELP_MESSAGES['get'](_0x2b2362(0x150));return _0x1d8375[_0x2b2362(0x142)](_0x374a8f),!![];}
1
+ 'use strict';const _0x1a5403=_0x5d84;function _0x2a52(){const _0x210760=['webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','get','80628yBGINZ','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','133299ZUNzMK','../utils/Log','__esModule','562520mvIIzA','82046GPIpJf','6PyOiCw','main','322521AeWZtI','help\x20................\x20shows\x20this\x20menu','895993QEjTjm','publish','33220SQkrMH','Usage:','270aDatOo','join','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','dev','build','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','150XnsACm','8HycPhj','3540JtEsvU','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','info','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>','defineProperty'];_0x2a52=function(){return _0x210760;};return _0x2a52();}(function(_0x451022,_0x29c6bc){const _0xe8ab1f=_0x5d84,_0x2f67cd=_0x451022();while(!![]){try{const _0x4c8a44=-parseInt(_0xe8ab1f(0x108))/0x1+parseInt(_0xe8ab1f(0x109))/0x2*(-parseInt(_0xe8ab1f(0x10b))/0x3)+-parseInt(_0xe8ab1f(0x107))/0x4+-parseInt(_0xe8ab1f(0x117))/0x5*(-parseInt(_0xe8ab1f(0x121))/0x6)+parseInt(_0xe8ab1f(0x10d))/0x7*(-parseInt(_0xe8ab1f(0x118))/0x8)+-parseInt(_0xe8ab1f(0x104))/0x9*(parseInt(_0xe8ab1f(0x111))/0xa)+-parseInt(_0xe8ab1f(0x10f))/0xb*(-parseInt(_0xe8ab1f(0x119))/0xc);if(_0x4c8a44===_0x29c6bc)break;else _0x2f67cd['push'](_0x2f67cd['shift']());}catch(_0x5e0b26){_0x2f67cd['push'](_0x2f67cd['shift']());}}}(_0x2a52,0x35f13));function _0x5d84(_0x1e6edd,_0x187d7e){const _0x2a5288=_0x2a52();return _0x5d84=function(_0x5d846a,_0x2d862e){_0x5d846a=_0x5d846a-0x104;let _0x948243=_0x2a5288[_0x5d846a];return _0x948243;},_0x5d84(_0x1e6edd,_0x187d7e);}Object[_0x1a5403(0x11e)](exports,_0x1a5403(0x106),{'value':!![]}),exports[_0x1a5403(0x123)]=help;const Log_1=require(_0x1a5403(0x105)),HELP_MESSAGES=new Map([[_0x1a5403(0x10a),['webspatial\x20[command]\x20<options>','','',_0x1a5403(0x10c),_0x1a5403(0x116)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x1a5403(0x112)]('\x0a')],[_0x1a5403(0x115),[_0x1a5403(0x110),'','',_0x1a5403(0x122),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x1a5403(0x112)]('\x0a')],[_0x1a5403(0x114),['Usage:','','',_0x1a5403(0x11f),'','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0x1a5403(0x112)]('\x0a')],[_0x1a5403(0x10e),[_0x1a5403(0x110),'','',_0x1a5403(0x11d),'','',_0x1a5403(0x113),'','',_0x1a5403(0x11a)][_0x1a5403(0x112)]('\x0a')]]);async function help(_0x2fbe13,_0x5f1f54=new Log_1[(_0x1a5403(0x11c))]('help')){const _0x5c95ec=_0x1a5403,_0x17eca7=_0x2fbe13['_'][0x1],_0x396ca5=HELP_MESSAGES[_0x5c95ec(0x120)](_0x17eca7)||HELP_MESSAGES['get'](_0x5c95ec(0x10a));return _0x5f1f54[_0x5c95ec(0x11b)](_0x396ca5),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x426a(_0xed93c6,_0x237b55){const _0x5a5708=_0x5a57();return _0x426a=function(_0x426a1e,_0x2133cf){_0x426a1e=_0x426a1e-0xe6;let _0x1fca57=_0x5a5708[_0x426a1e];return _0x1fca57;},_0x426a(_0xed93c6,_0x237b55);}const _0x3860cd=_0x426a;(function(_0x1880b6,_0x6a099e){const _0x166979=_0x426a,_0x3c008e=_0x1880b6();while(!![]){try{const _0xf604b4=-parseInt(_0x166979(0xe7))/0x1*(-parseInt(_0x166979(0xec))/0x2)+parseInt(_0x166979(0xf2))/0x3*(-parseInt(_0x166979(0xea))/0x4)+parseInt(_0x166979(0xf4))/0x5+-parseInt(_0x166979(0xe8))/0x6+-parseInt(_0x166979(0xe6))/0x7+parseInt(_0x166979(0xe9))/0x8+parseInt(_0x166979(0xf0))/0x9*(parseInt(_0x166979(0xf5))/0xa);if(_0xf604b4===_0x6a099e)break;else _0x3c008e['push'](_0x3c008e['shift']());}catch(_0x4ede16){_0x3c008e['push'](_0x3c008e['shift']());}}}(_0x5a57,0x72f29));function _0x5a57(){const _0x319576=['710tXGGqg','365232DucRbm','2304464InJOnd','804748QgaJey','launch','1306RkLRJk','defineProperty','com.webspatial.test','default','32607gzuLhb','launchWithSimulator','6lCTQvZ','bundle-id','1631630mfWlQJ','1610lkNAnv','../xcode/xcrun','5090722ZNXPWm'];_0x5a57=function(){return _0x319576;};return _0x5a57();}Object[_0x3860cd(0xed)](exports,'__esModule',{'value':!![]}),exports[_0x3860cd(0xeb)]=launch;const xcrun_1=require(_0x3860cd(0xf6));async function launch(_0x36c79e){const _0x820a9b=_0x3860cd;var _0x5abecb;const _0x4143f8=(_0x5abecb=_0x36c79e[_0x820a9b(0xf3)])!==null&&_0x5abecb!==void 0x0?_0x5abecb:_0x820a9b(0xee),_0xb33010={'name':'','id':_0x4143f8};return xcrun_1[_0x820a9b(0xef)][_0x820a9b(0xf1)](_0xb33010),!![];}
1
+ 'use strict';const _0x449074=_0x2236;(function(_0x4df0b4,_0x5b3849){const _0x16fe27=_0x2236,_0x5c3ee5=_0x4df0b4();while(!![]){try{const _0x391aee=parseInt(_0x16fe27(0x108))/0x1*(-parseInt(_0x16fe27(0x113))/0x2)+parseInt(_0x16fe27(0x110))/0x3*(parseInt(_0x16fe27(0x107))/0x4)+parseInt(_0x16fe27(0x109))/0x5+-parseInt(_0x16fe27(0x10c))/0x6*(-parseInt(_0x16fe27(0x10a))/0x7)+parseInt(_0x16fe27(0x10e))/0x8+parseInt(_0x16fe27(0x10b))/0x9+parseInt(_0x16fe27(0x10f))/0xa*(-parseInt(_0x16fe27(0x115))/0xb);if(_0x391aee===_0x5b3849)break;else _0x5c3ee5['push'](_0x5c3ee5['shift']());}catch(_0x3f36d6){_0x5c3ee5['push'](_0x5c3ee5['shift']());}}}(_0x331e,0x4ef00));function _0x331e(){const _0x245adb=['733545kzdgOj','1141DMRWTm','1321371FIJEvp','20766YcKteA','bundle-id','116648eigIri','873640cppsAh','20319xevPwR','launchWithSimulator','defineProperty','6850BClgvS','default','55UGcdVV','com.webspatial.test','../xcode/xcrun','__esModule','308JdLbZf','185UNdhtg'];_0x331e=function(){return _0x245adb;};return _0x331e();}function _0x2236(_0x365890,_0x137d2d){const _0x331e11=_0x331e();return _0x2236=function(_0x223690,_0x28ad4a){_0x223690=_0x223690-0x104;let _0x575b21=_0x331e11[_0x223690];return _0x575b21;},_0x2236(_0x365890,_0x137d2d);}Object[_0x449074(0x112)](exports,_0x449074(0x106),{'value':!![]}),exports['launch']=launch;const xcrun_1=require(_0x449074(0x105));async function launch(_0x2a5563){const _0x233263=_0x449074;var _0x5c8676;const _0x6361f4=(_0x5c8676=_0x2a5563[_0x233263(0x10d)])!==null&&_0x5c8676!==void 0x0?_0x5c8676:_0x233263(0x104),_0x368a08={'name':'','id':_0x6361f4};return xcrun_1[_0x233263(0x114)][_0x233263(0x111)](_0x368a08),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x1f6a(_0x52ca7c,_0x3a827b){const _0x522f6d=_0x522f();return _0x1f6a=function(_0x1f6a52,_0x29c0b7){_0x1f6a52=_0x1f6a52-0x1dd;let _0x4f1abf=_0x522f6d[_0x1f6a52];return _0x4f1abf;},_0x1f6a(_0x52ca7c,_0x3a827b);}const _0x175dbb=_0x1f6a;function _0x522f(){const _0xe0b8b2=['defineProperty','14QXrQms','5661184KTftyx','__esModule','37707xkEjfc','497871aVjhBo','3574800WxHMqZ','default','2201595vIOIUX','114PrDbEj','24302124iiZAnz','shutdown','../xcode/xcrun','5041016kYKAia'];_0x522f=function(){return _0xe0b8b2;};return _0x522f();}(function(_0x7d32ef,_0x3000fe){const _0x4e104c=_0x1f6a,_0x197927=_0x7d32ef();while(!![]){try{const _0x5042cb=parseInt(_0x4e104c(0x1e3))/0x1+-parseInt(_0x4e104c(0x1e7))/0x2*(parseInt(_0x4e104c(0x1e2))/0x3)+-parseInt(_0x4e104c(0x1dd))/0x4+parseInt(_0x4e104c(0x1e6))/0x5+parseInt(_0x4e104c(0x1e4))/0x6+parseInt(_0x4e104c(0x1df))/0x7*(-parseInt(_0x4e104c(0x1e0))/0x8)+parseInt(_0x4e104c(0x1e8))/0x9;if(_0x5042cb===_0x3000fe)break;else _0x197927['push'](_0x197927['shift']());}catch(_0x30989a){_0x197927['push'](_0x197927['shift']());}}}(_0x522f,0xcda03));Object[_0x175dbb(0x1de)](exports,_0x175dbb(0x1e1),{'value':!![]}),exports[_0x175dbb(0x1e9)]=shutdown;const xcrun_1=require(_0x175dbb(0x1ea));async function shutdown(_0x1ccea7){const _0x1f5cb7=_0x175dbb;return xcrun_1[_0x1f5cb7(0x1e5)]['shutdownSimulator'](),!![];}
1
+ 'use strict';const _0x510643=_0x5356;(function(_0x39008f,_0x3567e3){const _0x486512=_0x5356,_0x360e21=_0x39008f();while(!![]){try{const _0x3f41ba=parseInt(_0x486512(0xc5))/0x1*(-parseInt(_0x486512(0xc2))/0x2)+parseInt(_0x486512(0xce))/0x3*(parseInt(_0x486512(0xcd))/0x4)+-parseInt(_0x486512(0xc9))/0x5+parseInt(_0x486512(0xc8))/0x6+parseInt(_0x486512(0xca))/0x7+-parseInt(_0x486512(0xc4))/0x8*(parseInt(_0x486512(0xcf))/0x9)+-parseInt(_0x486512(0xc3))/0xa*(-parseInt(_0x486512(0xc7))/0xb);if(_0x3f41ba===_0x3567e3)break;else _0x360e21['push'](_0x360e21['shift']());}catch(_0x16ba9f){_0x360e21['push'](_0x360e21['shift']());}}}(_0x35b0,0xf173f));function _0x5356(_0x33f143,_0x42c29d){const _0x35b0d3=_0x35b0();return _0x5356=function(_0x5356b2,_0x26e918){_0x5356b2=_0x5356b2-0xc2;let _0x449e7b=_0x35b0d3[_0x5356b2];return _0x449e7b;},_0x5356(_0x33f143,_0x42c29d);}Object[_0x510643(0xc6)](exports,_0x510643(0xd0),{'value':!![]}),exports[_0x510643(0xcb)]=shutdown;function _0x35b0(){const _0x878cc1=['6zZYnZD','72ZRemdI','__esModule','1182sofXeh','30nHmGNg','1349392gljxgL','1091qbxhqo','defineProperty','1473791cpWqph','5545950YdxfWz','4572385MXOxbi','7431543gWeBhz','shutdown','../xcode/xcrun','3019448WZFqGR'];_0x35b0=function(){return _0x878cc1;};return _0x35b0();}const xcrun_1=require(_0x510643(0xcc));async function shutdown(_0x3e9bda){return xcrun_1['default']['shutdownSimulator'](),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x4a208d=_0x1f0c;(function(_0x9f9f6b,_0x2247f7){const _0x4b9746=_0x1f0c,_0x4da26a=_0x9f9f6b();while(!![]){try{const _0x30f5ef=-parseInt(_0x4b9746(0x135))/0x1+parseInt(_0x4b9746(0x136))/0x2*(-parseInt(_0x4b9746(0x138))/0x3)+parseInt(_0x4b9746(0x13b))/0x4+parseInt(_0x4b9746(0x137))/0x5*(-parseInt(_0x4b9746(0x144))/0x6)+parseInt(_0x4b9746(0x134))/0x7+-parseInt(_0x4b9746(0x143))/0x8+parseInt(_0x4b9746(0x140))/0x9*(parseInt(_0x4b9746(0x13f))/0xa);if(_0x30f5ef===_0x2247f7)break;else _0x4da26a['push'](_0x4da26a['shift']());}catch(_0x1379ae){_0x4da26a['push'](_0x4da26a['shift']());}}}(_0xf8a1,0xa760d));function _0xf8a1(){const _0x473dc3=['34ikYWNd','1353110vuzxSV','3759IWUNYH','promises','defineProperty','3787652gUgNgG','version','join','path','3130ywCJOA','42741HjMgHl','readFile','parse','7341680cLRlJH','30ZtywKp','getVersion','8120812azbbUv','615764QLydBR'];_0xf8a1=function(){return _0x473dc3;};return _0xf8a1();}Object[_0x4a208d(0x13a)](exports,'__esModule',{'value':!![]}),exports[_0x4a208d(0x133)]=getVersion;const fs=require('fs'),path=require(_0x4a208d(0x13e));function _0x1f0c(_0x7c0499,_0x35469b){const _0xf8a1ca=_0xf8a1();return _0x1f0c=function(_0x1f0c09,_0xf4554a){_0x1f0c09=_0x1f0c09-0x133;let _0x2c13c0=_0xf8a1ca[_0x1f0c09];return _0x2c13c0;},_0x1f0c(_0x7c0499,_0x35469b);}async function getVersion(){const _0xffba59=_0x4a208d,_0x185a05=path[_0xffba59(0x13d)](__dirname,'../../../package.json'),_0x3a5773=await(await fs[_0xffba59(0x139)][_0xffba59(0x141)](_0x185a05))['toString'](),_0x3491fa=JSON[_0xffba59(0x142)](_0x3a5773);return _0x3491fa[_0xffba59(0x13c)];}
1
+ 'use strict';const _0x69e615=_0x467d;(function(_0x57ccc1,_0x1d7cf1){const _0x33a591=_0x467d,_0x701f77=_0x57ccc1();while(!![]){try{const _0x39f3b5=parseInt(_0x33a591(0x12d))/0x1*(-parseInt(_0x33a591(0x138))/0x2)+parseInt(_0x33a591(0x12e))/0x3+parseInt(_0x33a591(0x132))/0x4*(-parseInt(_0x33a591(0x136))/0x5)+parseInt(_0x33a591(0x133))/0x6+parseInt(_0x33a591(0x135))/0x7*(parseInt(_0x33a591(0x130))/0x8)+-parseInt(_0x33a591(0x139))/0x9+-parseInt(_0x33a591(0x12f))/0xa;if(_0x39f3b5===_0x1d7cf1)break;else _0x701f77['push'](_0x701f77['shift']());}catch(_0x27a327){_0x701f77['push'](_0x701f77['shift']());}}}(_0x4598,0xc86db));Object[_0x69e615(0x134)](exports,_0x69e615(0x13b),{'value':!![]}),exports['getVersion']=getVersion;const fs=require('fs'),path=require(_0x69e615(0x12a));function _0x467d(_0x73639b,_0xc78254){const _0x4598c7=_0x4598();return _0x467d=function(_0x467d30,_0x347801){_0x467d30=_0x467d30-0x12a;let _0x3bb372=_0x4598c7[_0x467d30];return _0x3bb372;},_0x467d(_0x73639b,_0xc78254);}async function getVersion(){const _0x2ff6f0=_0x69e615,_0x41f172=path[_0x2ff6f0(0x137)](__dirname,_0x2ff6f0(0x13a)),_0x552f6d=await(await fs[_0x2ff6f0(0x12b)][_0x2ff6f0(0x12c)](_0x41f172))['toString'](),_0x5031d7=JSON['parse'](_0x552f6d);return _0x5031d7[_0x2ff6f0(0x131)];}function _0x4598(){const _0x313ced=['join','2jDYKGr','13057668cTlGKB','../../../package.json','__esModule','path','promises','readFile','89633TRjUiq','2631114BuuIWk','8377450LGlmdj','760rWznlF','version','27712cxJfKB','6698106GsOKBi','defineProperty','92932glveik','40THUBsc'];_0x4598=function(){return _0x313ced;};return _0x4598();}
@@ -1 +1 @@
1
- 'use strict';const _0x1f0a40=_0x802b;(function(_0x1e2de0,_0x42c736){const _0x983f30=_0x802b,_0x354264=_0x1e2de0();while(!![]){try{const _0x408224=-parseInt(_0x983f30(0x1d8))/0x1+-parseInt(_0x983f30(0x1ed))/0x2*(-parseInt(_0x983f30(0x1f6))/0x3)+-parseInt(_0x983f30(0x1be))/0x4+-parseInt(_0x983f30(0x1f5))/0x5*(-parseInt(_0x983f30(0x1c3))/0x6)+parseInt(_0x983f30(0x1b8))/0x7*(parseInt(_0x983f30(0x1cf))/0x8)+parseInt(_0x983f30(0x1db))/0x9*(parseInt(_0x983f30(0x1ff))/0xa)+-parseInt(_0x983f30(0x1d7))/0xb*(parseInt(_0x983f30(0x1d6))/0xc);if(_0x408224===_0x42c736)break;else _0x354264['push'](_0x354264['shift']());}catch(_0xabf5af){_0x354264['push'](_0x354264['shift']());}}}(_0x4d2a,0x7a6fa));Object[_0x1f0a40(0x1ef)](exports,'__esModule',{'value':!![]}),exports[_0x1f0a40(0x1c9)]=void 0x0,exports[_0x1f0a40(0x1c1)]=configId,exports[_0x1f0a40(0x1c7)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x1f0a40(0x205)),validate_1=require(_0x1f0a40(0x1fa)),path_1=require('path');function configId(_0xb0c7ef,_0x30f39d){const _0x5144ad=_0x1f0a40;if(_0x30f39d)_0xb0c7ef['id']=_0x30f39d;else try{const _0x1bda12=new URL(_0xb0c7ef['id']);let _0x589842=_0x1bda12[_0x5144ad(0x1ce)][_0x5144ad(0x1ee)]('.')[_0x5144ad(0x1dd)]();_0xb0c7ef['id']=_0x589842[_0x5144ad(0x1ba)]('.');}catch(_0x493df6){throw new Error(_0x5144ad(0x1e6)+_0xb0c7ef['id']+'\x20\x20is\x20not\x20a\x20valid\x20url');}}function configStartUrl(_0x3706ae,_0x5b2b36,_0x654607,_0x270027){const _0x4092ff=_0x1f0a40;var _0x7fae3b;let _0x2a0b95=(_0x7fae3b=_0x3706ae[_0x4092ff(0x1c6)])!==null&&_0x7fae3b!==void 0x0?_0x7fae3b:'/';const _0x3a2f91=(0x0,validate_1[_0x4092ff(0x1f4)])(_0x2a0b95),_0x468a5d=_0x5b2b36[_0x4092ff(0x1fc)]>0x0;if(_0x468a5d){const _0x3a845f=(0x0,validate_1[_0x4092ff(0x1f4)])(_0x5b2b36);if(!_0x3a2f91&&!_0x3a845f){const _0x3fc011=(0x0,path_1[_0x4092ff(0x1d4)])(_0x4092ff(0x1bb)),_0x5400e7=(0x0,path_1[_0x4092ff(0x1d4)])(_0x3fc011,_0x5b2b36,_0x2a0b95),_0x1ee035=(0x0,path_1['normalize'])(_0x5400e7),_0xc90739=(0x0,path_1['join'])(_0x3fc011,_0x1ee035);_0x2a0b95=(0x0,path_1['relative'])(process['cwd'](),_0xc90739)[_0x4092ff(0x1bd)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x3a2f91&&!_0x3a845f){const _0x53d79f=new URL(_0x2a0b95),_0x32e41b=_0x53d79f[_0x4092ff(0x1b6)]+_0x53d79f[_0x4092ff(0x1b9)]+_0x53d79f[_0x4092ff(0x1e4)];let _0xd11e4d=new URL(_0x5b2b36,_0x53d79f[_0x4092ff(0x1e9)]);_0x2a0b95=new URL(_0x32e41b,_0xd11e4d)['href'];}else{if(!_0x3a2f91&&_0x3a845f){if(_0x2a0b95[_0x4092ff(0x1f1)]('/')){const _0x37a201=new URL(_0x5b2b36);_0x2a0b95=_0x37a201[_0x4092ff(0x1e9)]+(0x0,path_1[_0x4092ff(0x1ba)])(_0x37a201[_0x4092ff(0x1b6)],_0x2a0b95);}else _0x2a0b95=new URL(_0x2a0b95,_0x5b2b36)[_0x4092ff(0x1eb)];}else{if(_0x3a2f91&&_0x3a845f){const _0x203559=new URL(_0x2a0b95),_0x5f2fd7=new URL(_0x5b2b36),_0x40ca22=_0x203559[_0x4092ff(0x1b6)]+_0x203559[_0x4092ff(0x1b9)]+_0x203559[_0x4092ff(0x1e4)];_0x2a0b95=new URL(_0x40ca22,_0x5f2fd7[_0x4092ff(0x1e9)]+_0x5f2fd7[_0x4092ff(0x1b6)])[_0x4092ff(0x1eb)];}}}}}else{if(_0x270027){const _0x5739c5=new URL(_0x654607);if(!_0x3a2f91){const _0x292585=new URL(_0x2a0b95,_0x5739c5['origin']);_0x2a0b95=_0x292585[_0x4092ff(0x1eb)];}else{const _0x403c96=new URL(_0x2a0b95);_0x2a0b95=_0x5739c5['origin']+_0x403c96[_0x4092ff(0x1b6)]+_0x403c96['search']+_0x403c96[_0x4092ff(0x1e4)];}}else{if(!_0x3a2f91){const _0x3b8a5b=(0x0,path_1[_0x4092ff(0x1d4)])(_0x4092ff(0x1bb)),_0x58a4c7=(0x0,path_1['resolve'])(_0x3b8a5b,_0x2a0b95),_0x99820b=(0x0,path_1[_0x4092ff(0x1e3)])(_0x58a4c7),_0x2a755a=(0x0,path_1[_0x4092ff(0x1ba)])(_0x3b8a5b,_0x99820b);_0x2a0b95=(0x0,path_1[_0x4092ff(0x203)])(process[_0x4092ff(0x1c2)](),_0x2a755a)['replace'](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}}}return _0x2a0b95;}function configScope(_0x412fa3){const _0x57e99e=_0x1f0a40;var _0x190d69;let _0x3afe00=(_0x190d69=_0x412fa3[_0x57e99e(0x1cd)])!==null&&_0x190d69!==void 0x0?_0x190d69:'/';const _0x3016ab=(0x0,validate_1['validateURL'])(_0x412fa3['start_url']),_0x74218e=(0x0,validate_1[_0x57e99e(0x1f4)])(_0x3afe00);if(_0x3016ab&&_0x74218e){const _0x344e07=new URL(_0x3afe00),_0x1a7537=new URL(_0x412fa3[_0x57e99e(0x1c6)]);(_0x344e07[_0x57e99e(0x1ce)]!==_0x1a7537[_0x57e99e(0x1ce)]||_0x412fa3[_0x57e99e(0x1c6)][_0x57e99e(0x1bc)](_0x3afe00)!==0x0)&&(_0x3afe00=(0x0,utils_1[_0x57e99e(0x1f0)])(_0x412fa3['start_url']));}else{if(_0x3016ab&&!_0x74218e)_0x3afe00=new URL(_0x3afe00,_0x412fa3[_0x57e99e(0x1c6)])[_0x57e99e(0x1eb)];else{if(!_0x3016ab&&_0x74218e){const _0x2ccbce=_0x412fa3[_0x57e99e(0x1c6)]['replace'](/\/[^\/]+$/,'');_0x3afe00=(0x0,path_1[_0x57e99e(0x1e3)])(_0x2ccbce+'/');}else _0x3afe00=(0x0,path_1['join'])((0x0,utils_1['parseRouter'])(_0x412fa3['start_url']),_0x3afe00);}}_0x412fa3[_0x57e99e(0x1cd)]=_0x3afe00;}function _0x4d2a(){const _0x451d2d=['91pPBYOr','search','join','./static-web','indexOf','replace','2606576GFnAjT','magnet','display_override','configId','cwd','12fAKeoJ','index','wtai','start_url','configStartUrl','sftp','safelist','mainScene','height','ftp','scope','host','615416CdfSTS','matrix','mailto','width','nntp','resolve','ftps','202668uYkNOs','451JiviwJ','676727PYWZrG','ssh','protocol_handlers','4239BPZbkH','default_size','reverse','contentSize','openpgp4fpr','irc','sort','display','normalize','hash','minimal-ui','id:','mms','dynamic','origin','bitcoin','href','resizability','5702TOFRsQ','split','defineProperty','parseRouter','startsWith','fullscreen','standalone','validateURL','745955rLbobk','762DIVSOf','string','map','defaultSize','./validate','mode','length','automatic','news','10610Kaumfd','ircs','web+','urn','relative','xr_main_scene','../utils/utils','includes','pathname','protocol'];_0x4d2a=function(){return _0x451d2d;};return _0x4d2a();}function configDisplay(_0x19d553){const _0x25c0ba=_0x1f0a40;let _0x3ece8d=_0x19d553[_0x25c0ba(0x1e2)];const _0x206697=[_0x25c0ba(0x1e5),_0x25c0ba(0x1f3),_0x25c0ba(0x1f2)];!_0x206697[_0x25c0ba(0x1b5)](_0x3ece8d)&&(_0x3ece8d=_0x25c0ba(0x1f3));if(_0x19d553[_0x25c0ba(0x1c0)]&&_0x19d553[_0x25c0ba(0x1c0)]['length']>0x0){const _0x38543b=_0x19d553[_0x25c0ba(0x1c0)][_0x25c0ba(0x1f8)]((_0x4d9307,_0x2645c8)=>({'mode':_0x4d9307,'index':_0x2645c8}))['filter'](({mode:_0x318c3d})=>_0x206697['includes'](_0x318c3d))[_0x25c0ba(0x1e1)]((_0x45b04f,_0x2652d9)=>_0x45b04f[_0x25c0ba(0x1c4)]-_0x2652d9[_0x25c0ba(0x1c4)]);_0x38543b[_0x25c0ba(0x1fc)]>0x0&&(_0x3ece8d=_0x38543b[0x0][_0x25c0ba(0x1fb)]);}_0x19d553[_0x25c0ba(0x1e2)]=_0x3ece8d;}function configMainScene(_0x1c01ab){const _0x34fe12=_0x1f0a40;var _0x4ad8b8,_0x4a3b02;const _0x534b98=['automatic','contentMinSize',_0x34fe12(0x1de)];let _0x342b43={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x1c01ab['xr_main_scene']){if(typeof _0x1c01ab[_0x34fe12(0x204)]==='object')_0x342b43[_0x34fe12(0x1f9)][_0x34fe12(0x1d2)]=Number((_0x4ad8b8=_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)])===null||_0x4ad8b8===void 0x0?void 0x0:_0x4ad8b8[_0x34fe12(0x1d2)])>0x0?_0x1c01ab['xr_main_scene'][_0x34fe12(0x1dc)]['width']:0x500,_0x342b43['defaultSize'][_0x34fe12(0x1cb)]=Number((_0x4a3b02=_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)])===null||_0x4a3b02===void 0x0?void 0x0:_0x4a3b02['height'])>0x0?_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)][_0x34fe12(0x1cb)]:0x500,_0x342b43['resizability']=_0x534b98[_0x34fe12(0x1b5)](_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1ec)])?_0x1c01ab['xr_main_scene'][_0x34fe12(0x1ec)]:_0x34fe12(0x1fd),_0x1c01ab[_0x34fe12(0x1ca)]=_0x342b43;else typeof _0x1c01ab[_0x34fe12(0x204)]===_0x34fe12(0x1f7)&&(_0x1c01ab[_0x34fe12(0x1ca)]=_0x34fe12(0x1e8));}}function _0x802b(_0x4b3cd7,_0x35ed6d){const _0x4d2a8f=_0x4d2a();return _0x802b=function(_0x802b82,_0x4aa1c5){_0x802b82=_0x802b82-0x1b5;let _0x4ffb1d=_0x4d2a8f[_0x802b82];return _0x4ffb1d;},_0x802b(_0x4b3cd7,_0x35ed6d);}function configDeeplink(_0x479523){const _0x5026b5=_0x1f0a40;if(_0x479523[_0x5026b5(0x1da)]&&_0x479523[_0x5026b5(0x1da)][_0x5026b5(0x1fc)]>0x0)for(var _0x4f3a19=0x0;_0x4f3a19<_0x479523[_0x5026b5(0x1da)][_0x5026b5(0x1fc)];_0x4f3a19++){const _0x315401=_0x479523[_0x5026b5(0x1da)][_0x4f3a19];if(_0x315401[_0x5026b5(0x1b7)]&&(exports[_0x5026b5(0x1c9)]['includes'](_0x315401[_0x5026b5(0x1b7)])||_0x315401[_0x5026b5(0x1b7)]['indexOf'](_0x5026b5(0x201))===0x0)){if(!((0x0,validate_1[_0x5026b5(0x1f4)])(_0x315401['url'])&&_0x315401['url'][_0x5026b5(0x1bc)](_0x479523[_0x5026b5(0x1cd)])<0x0))continue;}_0x479523['protocol_handlers']['splice'](_0x4f3a19,0x1),_0x4f3a19--;}}exports['safelist']=[_0x1f0a40(0x1ea),_0x1f0a40(0x1cc),_0x1f0a40(0x1d5),'geo','im',_0x1f0a40(0x1e0),_0x1f0a40(0x200),_0x1f0a40(0x1bf),_0x1f0a40(0x1d1),_0x1f0a40(0x1d0),_0x1f0a40(0x1e7),_0x1f0a40(0x1fe),_0x1f0a40(0x1d3),_0x1f0a40(0x1df),_0x1f0a40(0x1c8),'sip','sms','smsto',_0x1f0a40(0x1d9),'tel',_0x1f0a40(0x202),'webcal',_0x1f0a40(0x1c5),'xmpp'];
1
+ 'use strict';const _0x5ddbb7=_0x2a3d;(function(_0x5aa333,_0x3e4c66){const _0x1564ef=_0x2a3d,_0x53ed58=_0x5aa333();while(!![]){try{const _0x25d156=parseInt(_0x1564ef(0x119))/0x1+-parseInt(_0x1564ef(0x160))/0x2+-parseInt(_0x1564ef(0x16d))/0x3+-parseInt(_0x1564ef(0x124))/0x4+-parseInt(_0x1564ef(0x13d))/0x5*(-parseInt(_0x1564ef(0x11d))/0x6)+-parseInt(_0x1564ef(0x146))/0x7*(-parseInt(_0x1564ef(0x12d))/0x8)+parseInt(_0x1564ef(0x167))/0x9*(parseInt(_0x1564ef(0x159))/0xa);if(_0x25d156===_0x3e4c66)break;else _0x53ed58['push'](_0x53ed58['shift']());}catch(_0x3446d6){_0x53ed58['push'](_0x53ed58['shift']());}}}(_0x40f0,0xa8a4a));Object[_0x5ddbb7(0x149)](exports,_0x5ddbb7(0x16a),{'value':!![]}),exports[_0x5ddbb7(0x13e)]=void 0x0,exports[_0x5ddbb7(0x134)]=configId,exports[_0x5ddbb7(0x12b)]=configStartUrl,exports[_0x5ddbb7(0x139)]=configScope,exports[_0x5ddbb7(0x164)]=configDisplay,exports['configMainScene']=configMainScene,exports[_0x5ddbb7(0x133)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require(_0x5ddbb7(0x12c)),path_1=require(_0x5ddbb7(0x162));function _0x40f0(){const _0x1fc3a5=['configStartUrl','./validate','8sJbEse','normalize','height','resolve','standalone','relative','configDeeplink','configId','href','includes','length','startsWith','configScope','sftp','xmpp','mode','1855585NygZQp','safelist','contentSize','parseRouter','width','scope','sip','url','host','620963LquMfm','irc','smsto','defineProperty','ircs','magnet','automatic','news','mms','webcal','mainScene','string','protocol_handlers','object','./static-web','reverse','sms','urn','ftps','88330GWjKpW','display','origin','display_override','indexOf','index','map','2722160rBqpoC','replace','path','ftp','configDisplay','join','split','765bLCSzr','defaultSize','mailto','__esModule','validateURL','contentMinSize','340920NzELev','wtai','web+','982260yztaJM','start_url','\x20\x20is\x20not\x20a\x20valid\x20url','openpgp4fpr','6efBzcU','splice','cwd','hash','sort','nntp','xr_main_scene','109636kfJkge','fullscreen','pathname','search','resizability','default_size','filter'];_0x40f0=function(){return _0x1fc3a5;};return _0x40f0();}function configId(_0x87cfef,_0x24a122){const _0x3894ac=_0x5ddbb7;if(_0x24a122)_0x87cfef['id']=_0x24a122;else try{const _0x19b4be=new URL(_0x87cfef['id']);let _0x6755db=_0x19b4be[_0x3894ac(0x145)][_0x3894ac(0x166)]('.')[_0x3894ac(0x155)]();_0x87cfef['id']=_0x6755db[_0x3894ac(0x165)]('.');}catch(_0x208ffe){throw new Error('id:'+_0x87cfef['id']+_0x3894ac(0x11b));}}function configStartUrl(_0x345577,_0x1d9ab4,_0x15fcfa,_0x4eee3c){const _0x25165f=_0x5ddbb7;var _0x149876;let _0x32c97b=(_0x149876=_0x345577['start_url'])!==null&&_0x149876!==void 0x0?_0x149876:'/';const _0x3cefe4=(0x0,validate_1['validateURL'])(_0x32c97b),_0x2efbb9=_0x1d9ab4[_0x25165f(0x137)]>0x0;if(_0x2efbb9){const _0x3572d6=(0x0,validate_1['validateURL'])(_0x1d9ab4);if(!_0x3cefe4&&!_0x3572d6){const _0xed8319=(0x0,path_1[_0x25165f(0x130)])(_0x25165f(0x154)),_0x49e09d=(0x0,path_1[_0x25165f(0x130)])(_0xed8319,_0x1d9ab4,_0x32c97b),_0x56582f=(0x0,path_1['normalize'])(_0x49e09d),_0x4068dd=(0x0,path_1['join'])(_0xed8319,_0x56582f);_0x32c97b=(0x0,path_1['relative'])(process[_0x25165f(0x11f)](),_0x4068dd)[_0x25165f(0x161)](/^(\.\.\/)+/,'./')[_0x25165f(0x161)](/\/$/,'');}else{if(_0x3cefe4&&!_0x3572d6){const _0x1ac2f2=new URL(_0x32c97b),_0x100a86=_0x1ac2f2[_0x25165f(0x126)]+_0x1ac2f2['search']+_0x1ac2f2[_0x25165f(0x120)];let _0x4ae894=new URL(_0x1d9ab4,_0x1ac2f2['origin']);_0x32c97b=new URL(_0x100a86,_0x4ae894)[_0x25165f(0x135)];}else{if(!_0x3cefe4&&_0x3572d6){if(_0x32c97b[_0x25165f(0x138)]('/')){const _0x2c1069=new URL(_0x1d9ab4);_0x32c97b=_0x2c1069[_0x25165f(0x15b)]+(0x0,path_1[_0x25165f(0x165)])(_0x2c1069[_0x25165f(0x126)],_0x32c97b);}else _0x32c97b=new URL(_0x32c97b,_0x1d9ab4)['href'];}else{if(_0x3cefe4&&_0x3572d6){const _0x4daffe=new URL(_0x32c97b),_0x678de2=new URL(_0x1d9ab4),_0x225920=_0x4daffe[_0x25165f(0x126)]+_0x4daffe[_0x25165f(0x127)]+_0x4daffe[_0x25165f(0x120)];_0x32c97b=new URL(_0x225920,_0x678de2['origin']+_0x678de2['pathname'])[_0x25165f(0x135)];}}}}}else{if(_0x4eee3c){const _0x4501c7=new URL(_0x15fcfa);if(!_0x3cefe4){const _0x5cc720=new URL(_0x32c97b,_0x4501c7['origin']);_0x32c97b=_0x5cc720[_0x25165f(0x135)];}else{const _0x38fd51=new URL(_0x32c97b);_0x32c97b=_0x4501c7[_0x25165f(0x15b)]+_0x38fd51[_0x25165f(0x126)]+_0x38fd51['search']+_0x38fd51[_0x25165f(0x120)];}}else{if(!_0x3cefe4){const _0x5898a2=(0x0,path_1[_0x25165f(0x130)])(_0x25165f(0x154)),_0x3db9b0=(0x0,path_1[_0x25165f(0x130)])(_0x5898a2,_0x32c97b),_0x4d8479=(0x0,path_1[_0x25165f(0x12e)])(_0x3db9b0),_0x1b9326=(0x0,path_1[_0x25165f(0x165)])(_0x5898a2,_0x4d8479);_0x32c97b=(0x0,path_1[_0x25165f(0x132)])(process['cwd'](),_0x1b9326)[_0x25165f(0x161)](/^(\.\.\/)+/,'./')[_0x25165f(0x161)](/\/$/,'');}}}return _0x32c97b;}function _0x2a3d(_0xea70f5,_0x490d68){const _0x40f0c6=_0x40f0();return _0x2a3d=function(_0x2a3d84,_0x28464f){_0x2a3d84=_0x2a3d84-0x117;let _0xa1e030=_0x40f0c6[_0x2a3d84];return _0xa1e030;},_0x2a3d(_0xea70f5,_0x490d68);}function configScope(_0x1196c9){const _0x8ea497=_0x5ddbb7;var _0x1d7312;let _0x440459=(_0x1d7312=_0x1196c9['scope'])!==null&&_0x1d7312!==void 0x0?_0x1d7312:'/';const _0x2ef073=(0x0,validate_1[_0x8ea497(0x16b)])(_0x1196c9['start_url']),_0x73abda=(0x0,validate_1[_0x8ea497(0x16b)])(_0x440459);if(_0x2ef073&&_0x73abda){const _0xefe19a=new URL(_0x440459),_0x3dbf98=new URL(_0x1196c9['start_url']);(_0xefe19a[_0x8ea497(0x145)]!==_0x3dbf98['host']||_0x1196c9[_0x8ea497(0x11a)][_0x8ea497(0x15d)](_0x440459)!==0x0)&&(_0x440459=(0x0,utils_1[_0x8ea497(0x140)])(_0x1196c9[_0x8ea497(0x11a)]));}else{if(_0x2ef073&&!_0x73abda)_0x440459=new URL(_0x440459,_0x1196c9[_0x8ea497(0x11a)])[_0x8ea497(0x135)];else{if(!_0x2ef073&&_0x73abda){const _0xb05cb7=_0x1196c9[_0x8ea497(0x11a)]['replace'](/\/[^\/]+$/,'');_0x440459=(0x0,path_1['normalize'])(_0xb05cb7+'/');}else _0x440459=(0x0,path_1[_0x8ea497(0x165)])((0x0,utils_1[_0x8ea497(0x140)])(_0x1196c9[_0x8ea497(0x11a)]),_0x440459);}}_0x1196c9['scope']=_0x440459;}function configDisplay(_0xac2bc){const _0x1e5b45=_0x5ddbb7;let _0xb9a576=_0xac2bc['display'];const _0x2569c1=['minimal-ui',_0x1e5b45(0x131),_0x1e5b45(0x125)];!_0x2569c1[_0x1e5b45(0x136)](_0xb9a576)&&(_0xb9a576=_0x1e5b45(0x131));if(_0xac2bc['display_override']&&_0xac2bc[_0x1e5b45(0x15c)][_0x1e5b45(0x137)]>0x0){const _0x16f1a0=_0xac2bc['display_override'][_0x1e5b45(0x15f)]((_0x40cabe,_0x4a3add)=>({'mode':_0x40cabe,'index':_0x4a3add}))[_0x1e5b45(0x12a)](({mode:_0x489f28})=>_0x2569c1[_0x1e5b45(0x136)](_0x489f28))[_0x1e5b45(0x121)]((_0x4fa230,_0xf99863)=>_0x4fa230[_0x1e5b45(0x15e)]-_0xf99863['index']);_0x16f1a0['length']>0x0&&(_0xb9a576=_0x16f1a0[0x0][_0x1e5b45(0x13c)]);}_0xac2bc[_0x1e5b45(0x15a)]=_0xb9a576;}function configMainScene(_0x28e81f){const _0x20def4=_0x5ddbb7;var _0x2f05f5,_0x391056;const _0x15703c=['automatic',_0x20def4(0x16c),_0x20def4(0x13f)];let _0x454fd1={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x20def4(0x14c)};if(_0x28e81f[_0x20def4(0x123)]){if(typeof _0x28e81f[_0x20def4(0x123)]===_0x20def4(0x153))_0x454fd1[_0x20def4(0x168)][_0x20def4(0x141)]=Number((_0x2f05f5=_0x28e81f['xr_main_scene'][_0x20def4(0x129)])===null||_0x2f05f5===void 0x0?void 0x0:_0x2f05f5[_0x20def4(0x141)])>0x0?_0x28e81f[_0x20def4(0x123)][_0x20def4(0x129)][_0x20def4(0x141)]:0x500,_0x454fd1['defaultSize'][_0x20def4(0x12f)]=Number((_0x391056=_0x28e81f[_0x20def4(0x123)][_0x20def4(0x129)])===null||_0x391056===void 0x0?void 0x0:_0x391056[_0x20def4(0x12f)])>0x0?_0x28e81f[_0x20def4(0x123)][_0x20def4(0x129)][_0x20def4(0x12f)]:0x500,_0x454fd1[_0x20def4(0x128)]=_0x15703c['includes'](_0x28e81f[_0x20def4(0x123)][_0x20def4(0x128)])?_0x28e81f[_0x20def4(0x123)][_0x20def4(0x128)]:'automatic',_0x28e81f[_0x20def4(0x150)]=_0x454fd1;else typeof _0x28e81f[_0x20def4(0x123)]===_0x20def4(0x151)&&(_0x28e81f['mainScene']='dynamic');}}function configDeeplink(_0x303196){const _0x57f591=_0x5ddbb7;if(_0x303196[_0x57f591(0x152)]&&_0x303196[_0x57f591(0x152)][_0x57f591(0x137)]>0x0)for(var _0x42d30c=0x0;_0x42d30c<_0x303196[_0x57f591(0x152)][_0x57f591(0x137)];_0x42d30c++){const _0x212dca=_0x303196[_0x57f591(0x152)][_0x42d30c];if(_0x212dca['protocol']&&(exports[_0x57f591(0x13e)][_0x57f591(0x136)](_0x212dca['protocol'])||_0x212dca['protocol'][_0x57f591(0x15d)](_0x57f591(0x118))===0x0)){if(!((0x0,validate_1[_0x57f591(0x16b)])(_0x212dca[_0x57f591(0x144)])&&_0x212dca[_0x57f591(0x144)][_0x57f591(0x15d)](_0x303196[_0x57f591(0x142)])<0x0))continue;}_0x303196[_0x57f591(0x152)][_0x57f591(0x11e)](_0x42d30c,0x1),_0x42d30c--;}}exports[_0x5ddbb7(0x13e)]=['bitcoin',_0x5ddbb7(0x163),_0x5ddbb7(0x158),'geo','im',_0x5ddbb7(0x147),_0x5ddbb7(0x14a),_0x5ddbb7(0x14b),_0x5ddbb7(0x169),'matrix',_0x5ddbb7(0x14e),_0x5ddbb7(0x14d),_0x5ddbb7(0x122),_0x5ddbb7(0x11c),_0x5ddbb7(0x13a),_0x5ddbb7(0x143),_0x5ddbb7(0x156),_0x5ddbb7(0x148),'ssh','tel',_0x5ddbb7(0x157),_0x5ddbb7(0x14f),_0x5ddbb7(0x117),_0x5ddbb7(0x13b)];
@@ -1 +1 @@
1
- 'use strict';const _0x30a875=_0x1de9;(function(_0x277235,_0x13914a){const _0x3d0fe7=_0x1de9,_0x43dadd=_0x277235();while(!![]){try{const _0x2e0c00=-parseInt(_0x3d0fe7(0x17b))/0x1+-parseInt(_0x3d0fe7(0x163))/0x2*(-parseInt(_0x3d0fe7(0x156))/0x3)+-parseInt(_0x3d0fe7(0x175))/0x4*(parseInt(_0x3d0fe7(0x161))/0x5)+parseInt(_0x3d0fe7(0x15b))/0x6*(parseInt(_0x3d0fe7(0x177))/0x7)+-parseInt(_0x3d0fe7(0x16b))/0x8*(-parseInt(_0x3d0fe7(0x16e))/0x9)+parseInt(_0x3d0fe7(0x16a))/0xa+parseInt(_0x3d0fe7(0x152))/0xb*(-parseInt(_0x3d0fe7(0x170))/0xc);if(_0x2e0c00===_0x13914a)break;else _0x43dadd['push'](_0x43dadd['shift']());}catch(_0x1eb2cc){_0x43dadd['push'](_0x43dadd['shift']());}}}(_0x45c1,0xa4b9a));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x30a875(0x16f)]=void 0x0;const path_1=require(_0x30a875(0x172)),config_1=require('./config'),load_1=require(_0x30a875(0x179)),validate_1=require(_0x30a875(0x154)),fs=require('fs'),utils_1=require(_0x30a875(0x174));class PWAGenerator{static async['generator'](_0x492da7,_0x386951=![]){const _0x30e5ca=_0x30a875;let _0x4fbab9=await this[_0x30e5ca(0x166)](_0x492da7,_0x386951);return console[_0x30e5ca(0x157)](_0x30e5ca(0x153)),await this['config'](_0x4fbab9,_0x492da7,_0x386951),console[_0x30e5ca(0x157)]('reset\x20manifest.json:\x20ok'),_0x4fbab9;}static async['validate'](_0x4fc52f,_0x116f89=![]){const _0x2763b2=_0x30a875;var _0x14451c,_0x278be2;let _0x447d2d={},_0x2b4808='',_0x3d9357=![],_0x197d60=![];if(_0x4fc52f[_0x2763b2(0x164)])_0x2b4808=_0x4fc52f[_0x2763b2(0x164)],_0x3d9357=!![],_0x447d2d=await(0x0,load_1[_0x2763b2(0x17c)])(_0x4fc52f[_0x2763b2(0x164)]);else{_0x4fc52f[_0x2763b2(0x178)]?_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x4fc52f[_0x2763b2(0x178)]):(_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x2763b2(0x15d)),!fs[_0x2763b2(0x16d)](_0x2b4808)&&(_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x2763b2(0x15c))));if(!fs[_0x2763b2(0x16d)](_0x2b4808)){if(_0x116f89)_0x197d60=!![],utils_1[_0x2763b2(0x17a)][_0x2763b2(0x176)](_0x2763b2(0x162));else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0x447d2d=_0x197d60?this['defaultManifestJson']:await(0x0,load_1[_0x2763b2(0x165)])(_0x2b4808),this['useDefaultManifestJson']=_0x197d60;}(0x0,validate_1[_0x2763b2(0x15a)])(_0x447d2d,_0x116f89);let _0x3210ad=(0x0,config_1['configStartUrl'])(_0x447d2d,(_0x14451c=_0x4fc52f[_0x2763b2(0x173)])!==null&&_0x14451c!==void 0x0?_0x14451c:'',_0x2b4808,_0x3d9357);var _0x5effe5=(0x0,validate_1['checkStartUrl'])(_0x3210ad,_0x2b4808,_0x3d9357,_0x116f89);_0x447d2d[_0x2763b2(0x160)]=_0x3210ad;if(!_0x116f89)(0x0,validate_1[_0x2763b2(0x15f)])(_0x447d2d,(_0x278be2=_0x4fc52f[_0x2763b2(0x17d)])!==null&&_0x278be2!==void 0x0?_0x278be2:'');return await(0x0,validate_1[_0x2763b2(0x171)])(_0x447d2d,_0x2b4808,_0x116f89),{'json':_0x447d2d,'url':_0x2b4808,'fromNet':_0x5effe5};}static[_0x30a875(0x16c)](_0x31a34f,_0x50e85c,_0x13d695){const _0x46851e=_0x30a875;var _0x160ad3;let _0x55d048=(_0x160ad3=_0x50e85c['bundle-id'])!==null&&_0x160ad3!==void 0x0?_0x160ad3:'';_0x13d695&&!_0x31a34f[_0x46851e(0x168)]['id']&&(_0x55d048=this['defaultBundleId']),(0x0,config_1['configId'])(_0x31a34f['json'],_0x55d048),(0x0,config_1['configScope'])(_0x31a34f[_0x46851e(0x168)]),(0x0,config_1[_0x46851e(0x169)])(_0x31a34f['json']),(0x0,config_1['configDeeplink'])(_0x31a34f[_0x46851e(0x168)]),(0x0,config_1[_0x46851e(0x158)])(_0x31a34f[_0x46851e(0x168)]);}}function _0x1de9(_0xc96dea,_0x3f092a){const _0x45c13c=_0x45c1();return _0x1de9=function(_0x1de9dd,_0x4d81e4){_0x1de9dd=_0x1de9dd-0x152;let _0x575c48=_0x45c13c[_0x1de9dd];return _0x575c48;},_0x1de9(_0xc96dea,_0x3f092a);}function _0x45c1(){const _0xc91ec6=['path','base','../utils/utils','4508596traUFQ','warn','21muDaXC','manifest','../resource/load','CliLog','136770mSkyqu','loadJsonFromNet','bundle-id','join','1551BPVFUh','check\x20manifest.json:\x20ok','./validate','minimal-ui','3WQjPQg','log','configMainScene','cwd','checkManifestJson','2659938uqUkVT','public/manifest.webmanifest','public/manifest.json','useDefaultManifestJson','checkId','start_url','5EfguVN','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','2277778NaFaYt','manifest-url','loadJsonFromDisk','validate','defaultBundleId','json','configDisplay','4299860fkMBIl','69064ekWgLw','config','existsSync','198bWjwEt','PWAGenerator','97884zWdvcw','checkIcons'];_0x45c1=function(){return _0xc91ec6;};return _0x45c1();}exports[_0x30a875(0x16f)]=PWAGenerator,PWAGenerator['DisplayModes']=['standalone',_0x30a875(0x155)],PWAGenerator[_0x30a875(0x167)]='com.webspatial.test',PWAGenerator['defaultManifestJson']={'name':'WebSpatialTest','display':_0x30a875(0x155),'start_url':'/','scope':'/'},PWAGenerator[_0x30a875(0x15e)]=![];
1
+ 'use strict';function _0x22dc(){const _0x35e558=['4433MtlrXc','configId','checkManifestJson','loadJsonFromNet','__esModule','check\x20manifest.json:\x20ok','1048576tvGDYn','configDisplay','configMainScene','join','8427430OikYWV','com.webspatial.test','public/manifest.webmanifest','54NskXND','8WqQmKS','standalone','configScope','minimal-ui','manifest','bundle-id','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','json','useDefaultManifestJson','PWAGenerator','52vbRcjH','manifest-url','6UjpOaK','35678bIWGVn','../utils/utils','configDeeplink','reset\x20manifest.json:\x20ok','13848hsXJDR','./validate','existsSync','defaultBundleId','log','config','../resource/load','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','start_url','public/manifest.json','validate','1037232MHkbgU','cwd','1313367TOGNmh','checkId','3729995EyMtjN','generator'];_0x22dc=function(){return _0x35e558;};return _0x22dc();}const _0x50f9ba=_0x1736;(function(_0x52e308,_0x1cd2a8){const _0x537d3f=_0x1736,_0x189a89=_0x52e308();while(!![]){try{const _0x196049=-parseInt(_0x537d3f(0x17d))/0x1*(-parseInt(_0x537d3f(0x180))/0x2)+parseInt(_0x537d3f(0x161))/0x3*(parseInt(_0x537d3f(0x173))/0x4)+parseInt(_0x537d3f(0x163))/0x5*(-parseInt(_0x537d3f(0x17f))/0x6)+-parseInt(_0x537d3f(0x15f))/0x7+parseInt(_0x537d3f(0x16b))/0x8*(-parseInt(_0x537d3f(0x172))/0x9)+parseInt(_0x537d3f(0x16f))/0xa+parseInt(_0x537d3f(0x165))/0xb*(-parseInt(_0x537d3f(0x184))/0xc);if(_0x196049===_0x1cd2a8)break;else _0x189a89['push'](_0x189a89['shift']());}catch(_0x389b09){_0x189a89['push'](_0x189a89['shift']());}}}(_0x22dc,0x7a238));Object['defineProperty'](exports,_0x50f9ba(0x169),{'value':!![]}),exports[_0x50f9ba(0x17c)]=void 0x0;const path_1=require('path'),config_1=require('./config'),load_1=require(_0x50f9ba(0x15a)),validate_1=require(_0x50f9ba(0x155)),fs=require('fs'),utils_1=require(_0x50f9ba(0x181));function _0x1736(_0x5505c2,_0x313ce1){const _0x22dc15=_0x22dc();return _0x1736=function(_0x173652,_0x340cf8){_0x173652=_0x173652-0x155;let _0xd7035=_0x22dc15[_0x173652];return _0xd7035;},_0x1736(_0x5505c2,_0x313ce1);}class PWAGenerator{static async[_0x50f9ba(0x164)](_0x426c07,_0x2a839d=![]){const _0x562780=_0x50f9ba;let _0x193b0d=await this[_0x562780(0x15e)](_0x426c07,_0x2a839d);return console['log'](_0x562780(0x16a)),await this['config'](_0x193b0d,_0x426c07,_0x2a839d),console[_0x562780(0x158)](_0x562780(0x183)),_0x193b0d;}static async[_0x50f9ba(0x15e)](_0x3b217c,_0x22b51a=![]){const _0x54f723=_0x50f9ba;var _0x526b1f,_0x570250;let _0x20905f={},_0xef61ca='',_0x576cfc=![],_0xd25c54=![];if(_0x3b217c[_0x54f723(0x17e)])_0xef61ca=_0x3b217c[_0x54f723(0x17e)],_0x576cfc=!![],_0x20905f=await(0x0,load_1[_0x54f723(0x168)])(_0x3b217c[_0x54f723(0x17e)]);else{_0x3b217c[_0x54f723(0x177)]?_0xef61ca=(0x0,path_1[_0x54f723(0x16e)])(process[_0x54f723(0x160)](),_0x3b217c['manifest']):(_0xef61ca=(0x0,path_1[_0x54f723(0x16e)])(process['cwd'](),_0x54f723(0x15d)),!fs[_0x54f723(0x156)](_0xef61ca)&&(_0xef61ca=(0x0,path_1[_0x54f723(0x16e)])(process[_0x54f723(0x160)](),_0x54f723(0x171))));if(!fs[_0x54f723(0x156)](_0xef61ca)){if(_0x22b51a)_0xd25c54=!![],utils_1['CliLog']['warn'](_0x54f723(0x179));else throw new Error(_0x54f723(0x15b));}_0x20905f=_0xd25c54?this['defaultManifestJson']:await(0x0,load_1['loadJsonFromDisk'])(_0xef61ca),this[_0x54f723(0x17b)]=_0xd25c54;}(0x0,validate_1[_0x54f723(0x167)])(_0x20905f,_0x22b51a);let _0x28e325=(0x0,config_1['configStartUrl'])(_0x20905f,(_0x526b1f=_0x3b217c['base'])!==null&&_0x526b1f!==void 0x0?_0x526b1f:'',_0xef61ca,_0x576cfc);var _0x1efd2f=(0x0,validate_1['checkStartUrl'])(_0x28e325,_0xef61ca,_0x576cfc,_0x22b51a);_0x20905f[_0x54f723(0x15c)]=_0x28e325;if(!_0x22b51a)(0x0,validate_1[_0x54f723(0x162)])(_0x20905f,(_0x570250=_0x3b217c[_0x54f723(0x178)])!==null&&_0x570250!==void 0x0?_0x570250:'');return await(0x0,validate_1['checkIcons'])(_0x20905f,_0xef61ca,_0x22b51a),{'json':_0x20905f,'url':_0xef61ca,'fromNet':_0x1efd2f};}static[_0x50f9ba(0x159)](_0x28c6c0,_0x54c77b,_0x5c0299){const _0x3b998b=_0x50f9ba;var _0x3d7095;let _0x1e5198=(_0x3d7095=_0x54c77b[_0x3b998b(0x178)])!==null&&_0x3d7095!==void 0x0?_0x3d7095:'';_0x5c0299&&!_0x28c6c0[_0x3b998b(0x17a)]['id']&&(_0x1e5198=this[_0x3b998b(0x157)]),(0x0,config_1[_0x3b998b(0x166)])(_0x28c6c0[_0x3b998b(0x17a)],_0x1e5198),(0x0,config_1[_0x3b998b(0x175)])(_0x28c6c0[_0x3b998b(0x17a)]),(0x0,config_1[_0x3b998b(0x16c)])(_0x28c6c0['json']),(0x0,config_1[_0x3b998b(0x182)])(_0x28c6c0['json']),(0x0,config_1[_0x3b998b(0x16d)])(_0x28c6c0['json']);}}exports[_0x50f9ba(0x17c)]=PWAGenerator,PWAGenerator['DisplayModes']=[_0x50f9ba(0x174),_0x50f9ba(0x176)],PWAGenerator[_0x50f9ba(0x157)]=_0x50f9ba(0x170),PWAGenerator['defaultManifestJson']={'name':'WebSpatialTest','display':_0x50f9ba(0x176),'start_url':'/','scope':'/'},PWAGenerator[_0x50f9ba(0x17b)]=![];
@@ -1 +1 @@
1
- 'use strict';const _0x2b6909=_0x3cbb;(function(_0x38f8f3,_0x2c12c4){const _0x200f88=_0x3cbb,_0x407baf=_0x38f8f3();while(!![]){try{const _0x3fce49=parseInt(_0x200f88(0x95))/0x1*(-parseInt(_0x200f88(0xa5))/0x2)+-parseInt(_0x200f88(0x9a))/0x3+parseInt(_0x200f88(0x82))/0x4+-parseInt(_0x200f88(0xaa))/0x5+parseInt(_0x200f88(0x80))/0x6+-parseInt(_0x200f88(0xac))/0x7+parseInt(_0x200f88(0x92))/0x8*(parseInt(_0x200f88(0xad))/0x9);if(_0x3fce49===_0x2c12c4)break;else _0x407baf['push'](_0x407baf['shift']());}catch(_0x3c0c51){_0x407baf['push'](_0x407baf['shift']());}}}(_0x4368,0x6561e));Object[_0x2b6909(0x97)](exports,_0x2b6909(0xa4),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x2b6909(0x96)]=checkStartUrl,exports[_0x2b6909(0x88)]=checkIcons,exports['checkId']=checkId,exports[_0x2b6909(0x98)]=validateBundleId,exports['validateURL']=validateURL;function _0x3cbb(_0x192c3d,_0x47d56f){const _0x4368c4=_0x4368();return _0x3cbb=function(_0x3cbb3d,_0x3c4977){_0x3cbb3d=_0x3cbb3d-0x76;let _0x2d2e20=_0x4368c4[_0x3cbb3d];return _0x2d2e20;},_0x3cbb(_0x192c3d,_0x47d56f);}const path_1=require(_0x2b6909(0x84)),CustomError_1=require(_0x2b6909(0x85)),utils_1=require(_0x2b6909(0x9b)),imageHelper_1=require(_0x2b6909(0x7d)),load_1=require(_0x2b6909(0xab)),utils_2=require(_0x2b6909(0x9b));function checkManifestJson(_0x29f921,_0x5694bd=![]){const _0x498cfb=_0x2b6909;var _0x610698;const _0x51679c=[];!_0x29f921[_0x498cfb(0x90)]&&!_0x29f921[_0x498cfb(0xa9)]&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbbe,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x610698=_0x29f921[_0x498cfb(0xa8)])===null||_0x610698===void 0x0?void 0x0:_0x610698['length'])&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbbf,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x29f921[_0x498cfb(0x8b)]&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbc0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x51679c[_0x498cfb(0xa7)])throw new CustomError_1[(_0x498cfb(0x93))](_0x51679c);}function checkStartUrl(_0x277d11,_0x3aeb84,_0x28fa50,_0x2ac179=![]){const _0x5a8f9a=_0x2b6909;var _0x450f6f=![];if(_0x2ac179)return _0x277d11[_0x5a8f9a(0xa3)]('https://')||_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0x76));if(_0x28fa50){if(_0x277d11['startsWith']('https://')){const _0xc9d909=new URL(_0x277d11),_0xd19eab=new URL(_0x3aeb84);if(_0xc9d909['host']!==_0xd19eab[_0x5a8f9a(0x8e)])throw new CustomError_1[(_0x5a8f9a(0x93))]({'code':0xfa0,'message':_0x5a8f9a(0x91),'message_staring_params':{}});}else{if(_0x277d11['startsWith']('http://'))throw new CustomError_1[(_0x5a8f9a(0x93))]({'code':0xfa0,'message':_0x5a8f9a(0x99),'message_staring_params':{}});}}else{if(_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0xa6))||_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0x76)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x5a8f9a(0xa1),'message_staring_params':{}});}return _0x450f6f;}async function checkIcons(_0x51002d,_0x175b66,_0x5d80ab=![]){const _0x3398ac=_0x2b6909;var _0x1d8ab6,_0x3a0d9c;if(!((_0x1d8ab6=_0x51002d[_0x3398ac(0xa8)])===null||_0x1d8ab6===void 0x0?void 0x0:_0x1d8ab6['length'])&&_0x5d80ab){_0x51002d[_0x3398ac(0xa8)]=[{'src':(0x0,path_1[_0x3398ac(0x9d)])(__dirname,_0x3398ac(0xa2)),'sizes':_0x3398ac(0x86),'purpose':_0x3398ac(0x8f)}],utils_2[_0x3398ac(0x7e)]['warn'](_0x3398ac(0x77));return;}const _0x21983e=(0x0,utils_1[_0x3398ac(0x8c)])(_0x175b66);let _0x5509d,_0x3b083b,_0x4a8121,_0x42e1ec=0x0;for(var _0x2aba27=0x0;_0x2aba27<_0x51002d[_0x3398ac(0xa8)][_0x3398ac(0xa7)];_0x2aba27++){const _0x319182=_0x51002d[_0x3398ac(0xa8)][_0x2aba27];let _0x2f19de=((_0x3a0d9c=_0x319182[_0x3398ac(0x83)])===null||_0x3a0d9c===void 0x0?void 0x0:_0x3a0d9c['indexOf']('maskable'))>=0x0;if(!_0x2f19de)continue;let _0xb0f2f9=![],_0x3341aa=_0x319182['src'],_0x5ef6d7,_0x434a1b=0x0;!validateURL(_0x3341aa)&&(_0x3341aa=(0x0,path_1[_0x3398ac(0x9d)])(_0x21983e,_0x3341aa));if(_0x319182[_0x3398ac(0x7b)]){const _0xde76c5=_0x319182[_0x3398ac(0x7b)][_0x3398ac(0x9e)]('\x20');_0xde76c5[_0x3398ac(0x7c)](_0x5b1625=>{const _0x42a4ae=_0x3398ac;let _0xb973b2=_0x5b1625[_0x42a4ae(0x9e)]('x');Number(_0xb973b2[0x0])>=0x400&&Number(_0xb973b2[0x1])>=0x400&&(_0xb0f2f9=!![],Number(_0xb973b2[0x0])>_0x434a1b&&(_0x434a1b=Number(_0xb973b2[0x0])));});}else _0x5ef6d7=!_0x3341aa[_0x3398ac(0xa3)](_0x3398ac(0x78))?await(0x0,load_1['loadImageFromDisk'])(_0x3341aa):await(0x0,load_1[_0x3398ac(0x9f)])(_0x3341aa),_0x5ef6d7[_0x3398ac(0x94)]()>=0x400&&_0x5ef6d7['getHeight']()>=0x400&&(_0xb0f2f9=!![],_0x5ef6d7['getWidth']()>_0x434a1b&&(_0x434a1b=_0x5ef6d7[_0x3398ac(0x94)]()));_0xb0f2f9&&_0x2f19de&&(_0x434a1b>_0x42e1ec&&(_0x42e1ec=_0x434a1b,_0x5509d=_0x5ef6d7,_0x3b083b=_0x3341aa,_0x4a8121=_0x319182[_0x3398ac(0x83)]));}if(_0x42e1ec===0x0){if(_0x5d80ab){_0x51002d['icons']=[{'src':(0x0,path_1[_0x3398ac(0x9d)])(__dirname,'../../assets/icon-default.png'),'sizes':_0x3398ac(0x86),'purpose':_0x3398ac(0x8f)}],utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8d)),utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8a));return;}throw new CustomError_1[(_0x3398ac(0x93))]({'code':0xfa0,'message':_0x3398ac(0x8d),'message_staring_params':{}});}else _0x3b083b&&(_0x5509d=!_0x3b083b[_0x3398ac(0xa3)]('http')?await(0x0,load_1[_0x3398ac(0x81)])(_0x3b083b):await(0x0,load_1[_0x3398ac(0x9f)])(_0x3b083b));if(_0x5509d&&!imageHelper_1[_0x3398ac(0x79)][_0x3398ac(0xa0)](_0x5509d)){if(_0x5d80ab){utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8d));return;}throw new CustomError_1[(_0x3398ac(0x93))]({'code':0xfa0,'message':_0x3398ac(0x87),'message_staring_params':{}});}_0x51002d[_0x3398ac(0xa8)]=[{'src':_0x3b083b,'sizes':_0x42e1ec+'x'+_0x42e1ec,'purpose':_0x4a8121}];}function checkId(_0x31bd2c,_0x206b02){const _0x385430=_0x2b6909;if(_0x206b02){if(!validateBundleId(_0x206b02))throw new CustomError_1[(_0x385430(0x93))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','message_staring_params':{}});return;}!_0x31bd2c['id']&&(_0x31bd2c['id']=_0x31bd2c['start_url']);if(!validateURL(_0x31bd2c['id'])&&!_0x206b02)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x385430(0x7f),'message_staring_params':{}});}function validateBundleId(_0x2405d2){const _0x3ca8e1=_0x2b6909,_0x300ee9=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x300ee9[_0x3ca8e1(0x7a)](_0x2405d2);}function _0x4368(){const _0x22145a=['http','ImageHelper','test','sizes','forEach','../resource/imageHelper','CliLog','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','2687760YGUQfs','loadImageFromDisk','2478776IjHexp','purpose','path','../utils/CustomError','1024x1024','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','checkIcons','warn','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode','start_url','parseRouter','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','host','maskable','name','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','16KXpYrP','CustomError','getWidth','1isqzfv','checkStartUrl','defineProperty','validateBundleId','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','2012637kLIsCQ','../utils/utils','push','join','split','loadImageFromNet','isFullyOpaque','Local\x20manifest\x20cannot\x20package\x20network\x20project','../../assets/icon-default.png','startsWith','__esModule','346218QwLZWv','https://','length','icons','short_name','2232895fJUUxG','../resource/load','1263689ycJFCl','3684159oVslFu','http://','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode'];_0x4368=function(){return _0x22145a;};return _0x4368();}function validateURL(_0x3cae20){try{return new URL(_0x3cae20),!![];}catch(_0x4b606f){return![];}}
1
+ 'use strict';const _0x5346c4=_0x5f77;(function(_0x5311bd,_0x1d2c3b){const _0x46357d=_0x5f77,_0x3c1cb9=_0x5311bd();while(!![]){try{const _0x3e7e3f=parseInt(_0x46357d(0x11f))/0x1*(-parseInt(_0x46357d(0x125))/0x2)+-parseInt(_0x46357d(0x11a))/0x3+parseInt(_0x46357d(0x102))/0x4*(parseInt(_0x46357d(0xf6))/0x5)+parseInt(_0x46357d(0x109))/0x6*(-parseInt(_0x46357d(0x10a))/0x7)+parseInt(_0x46357d(0xf8))/0x8+parseInt(_0x46357d(0x10f))/0x9+-parseInt(_0x46357d(0x103))/0xa;if(_0x3e7e3f===_0x1d2c3b)break;else _0x3c1cb9['push'](_0x3c1cb9['shift']());}catch(_0x362429){_0x3c1cb9['push'](_0x3c1cb9['shift']());}}}(_0x26f8,0xd26b2));Object[_0x5346c4(0x100)](exports,_0x5346c4(0x10d),{'value':!![]}),exports[_0x5346c4(0xf9)]=checkManifestJson,exports[_0x5346c4(0x101)]=checkStartUrl,exports[_0x5346c4(0x112)]=checkIcons,exports[_0x5346c4(0x121)]=checkId,exports[_0x5346c4(0x120)]=validateBundleId,exports[_0x5346c4(0x104)]=validateURL;const path_1=require(_0x5346c4(0x117)),CustomError_1=require(_0x5346c4(0x124)),utils_1=require(_0x5346c4(0xfc)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x5346c4(0x119)),utils_2=require('../utils/utils');function _0x5f77(_0x4e54a1,_0x53b549){const _0x26f8d7=_0x26f8();return _0x5f77=function(_0x5f77bb,_0x5c7943){_0x5f77bb=_0x5f77bb-0xf4;let _0x270ec4=_0x26f8d7[_0x5f77bb];return _0x270ec4;},_0x5f77(_0x4e54a1,_0x53b549);}function _0x26f8(){const _0x28b3f5=['In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','1243128nqUgSq','checkManifestJson','src','icons','../utils/utils','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','http','forEach','defineProperty','checkStartUrl','531644wMokVd','11750230AqbiwD','validateURL','getWidth','purpose','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','../../assets/icon-default.png','348FwSboB','16765ZGTCsF','CliLog','split','__esModule','start_url','8935299GFCoTe','join','startsWith','checkIcons','getHeight','loadImageFromDisk','sizes','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','path','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','../resource/load','899205nxeRXk','indexOf','maskable','warn','1024x1024','134681kZtARP','validateBundleId','checkId','name','CustomError','../utils/CustomError','2OsvWKH','length','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','Local\x20manifest\x20cannot\x20package\x20network\x20project','https://','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','loadImageFromNet','test','http://','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','push','55WCiCSp'];_0x26f8=function(){return _0x28b3f5;};return _0x26f8();}function checkManifestJson(_0x4dedd9,_0x2cd5ae=![]){const _0x4c197e=_0x5346c4;var _0xdaff02;const _0x9f925=[];!_0x4dedd9[_0x4c197e(0x122)]&&!_0x4dedd9['short_name']&&!_0x2cd5ae&&_0x9f925['push']({'code':0xbbe,'message':_0x4c197e(0x127),'message_staring_params':{}});!((_0xdaff02=_0x4dedd9[_0x4c197e(0xfb)])===null||_0xdaff02===void 0x0?void 0x0:_0xdaff02['length'])&&!_0x2cd5ae&&_0x9f925[_0x4c197e(0xf5)]({'code':0xbbf,'message':_0x4c197e(0x107),'message_staring_params':{}});!_0x4dedd9[_0x4c197e(0x10e)]&&!_0x2cd5ae&&_0x9f925[_0x4c197e(0xf5)]({'code':0xbc0,'message':_0x4c197e(0xf7),'message_staring_params':{}});if(_0x9f925[_0x4c197e(0x126)])throw new CustomError_1[(_0x4c197e(0x123))](_0x9f925);}function checkStartUrl(_0x312a27,_0x13ba4d,_0x32ed8a,_0x368149=![]){const _0x411759=_0x5346c4;var _0x35cb38=![];if(_0x368149)return _0x312a27[_0x411759(0x111)](_0x411759(0x129))||_0x312a27[_0x411759(0x111)](_0x411759(0x12d));if(_0x32ed8a){if(_0x312a27[_0x411759(0x111)](_0x411759(0x129))){const _0x1d4fc2=new URL(_0x312a27),_0x2575c8=new URL(_0x13ba4d);if(_0x1d4fc2['host']!==_0x2575c8['host'])throw new CustomError_1[(_0x411759(0x123))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x312a27['startsWith'](_0x411759(0x12d)))throw new CustomError_1[(_0x411759(0x123))]({'code':0xfa0,'message':_0x411759(0x116),'message_staring_params':{}});}}else{if(_0x312a27[_0x411759(0x111)](_0x411759(0x129))||_0x312a27['startsWith'](_0x411759(0x12d)))throw new CustomError_1[(_0x411759(0x123))]({'code':0xfa0,'message':_0x411759(0x128),'message_staring_params':{}});}return _0x35cb38;}async function checkIcons(_0x115018,_0x567841,_0x29dce6=![]){const _0x1640ac=_0x5346c4;var _0x1e33aa,_0x3ec758;if(!((_0x1e33aa=_0x115018[_0x1640ac(0xfb)])===null||_0x1e33aa===void 0x0?void 0x0:_0x1e33aa[_0x1640ac(0x126)])&&_0x29dce6){_0x115018['icons']=[{'src':(0x0,path_1[_0x1640ac(0x110)])(__dirname,_0x1640ac(0x108)),'sizes':'1024x1024','purpose':_0x1640ac(0x11c)}],utils_2[_0x1640ac(0x10b)][_0x1640ac(0x11d)](_0x1640ac(0xfd));return;}const _0x3d8e10=(0x0,utils_1['parseRouter'])(_0x567841);let _0x55b0cd,_0x20e777,_0x44c9f1,_0xfba592=0x0;for(var _0x112223=0x0;_0x112223<_0x115018[_0x1640ac(0xfb)][_0x1640ac(0x126)];_0x112223++){const _0x2074df=_0x115018[_0x1640ac(0xfb)][_0x112223];let _0x569bfc=((_0x3ec758=_0x2074df['purpose'])===null||_0x3ec758===void 0x0?void 0x0:_0x3ec758[_0x1640ac(0x11b)]('maskable'))>=0x0;if(!_0x569bfc)continue;let _0xe59e82=![],_0xa3fd0c=_0x2074df[_0x1640ac(0xfa)],_0x1b5c0b,_0x488523=0x0;!validateURL(_0xa3fd0c)&&(_0xa3fd0c=(0x0,path_1[_0x1640ac(0x110)])(_0x3d8e10,_0xa3fd0c));if(_0x2074df[_0x1640ac(0x115)]){const _0x55a2a6=_0x2074df[_0x1640ac(0x115)][_0x1640ac(0x10c)]('\x20');_0x55a2a6[_0x1640ac(0xff)](_0x5a20e2=>{const _0x18d11e=_0x1640ac;let _0x2af879=_0x5a20e2[_0x18d11e(0x10c)]('x');Number(_0x2af879[0x0])>=0x400&&Number(_0x2af879[0x1])>=0x400&&(_0xe59e82=!![],Number(_0x2af879[0x0])>_0x488523&&(_0x488523=Number(_0x2af879[0x0])));});}else _0x1b5c0b=!_0xa3fd0c[_0x1640ac(0x111)](_0x1640ac(0xfe))?await(0x0,load_1[_0x1640ac(0x114)])(_0xa3fd0c):await(0x0,load_1[_0x1640ac(0x12b)])(_0xa3fd0c),_0x1b5c0b[_0x1640ac(0x105)]()>=0x400&&_0x1b5c0b[_0x1640ac(0x113)]()>=0x400&&(_0xe59e82=!![],_0x1b5c0b[_0x1640ac(0x105)]()>_0x488523&&(_0x488523=_0x1b5c0b[_0x1640ac(0x105)]()));_0xe59e82&&_0x569bfc&&(_0x488523>_0xfba592&&(_0xfba592=_0x488523,_0x55b0cd=_0x1b5c0b,_0x20e777=_0xa3fd0c,_0x44c9f1=_0x2074df[_0x1640ac(0x106)]));}if(_0xfba592===0x0){if(_0x29dce6){_0x115018[_0x1640ac(0xfb)]=[{'src':(0x0,path_1['join'])(__dirname,'../../assets/icon-default.png'),'sizes':_0x1640ac(0x11e),'purpose':'maskable'}],utils_2[_0x1640ac(0x10b)][_0x1640ac(0x11d)](_0x1640ac(0x12a)),utils_2[_0x1640ac(0x10b)]['warn']('icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode');return;}throw new CustomError_1[(_0x1640ac(0x123))]({'code':0xfa0,'message':_0x1640ac(0x12a),'message_staring_params':{}});}else _0x20e777&&(_0x55b0cd=!_0x20e777['startsWith'](_0x1640ac(0xfe))?await(0x0,load_1[_0x1640ac(0x114)])(_0x20e777):await(0x0,load_1[_0x1640ac(0x12b)])(_0x20e777));if(_0x55b0cd&&!imageHelper_1['ImageHelper']['isFullyOpaque'](_0x55b0cd)){if(_0x29dce6){utils_2[_0x1640ac(0x10b)][_0x1640ac(0x11d)](_0x1640ac(0x12a));return;}throw new CustomError_1[(_0x1640ac(0x123))]({'code':0xfa0,'message':_0x1640ac(0x118),'message_staring_params':{}});}_0x115018[_0x1640ac(0xfb)]=[{'src':_0x20e777,'sizes':_0xfba592+'x'+_0xfba592,'purpose':_0x44c9f1}];}function checkId(_0x4cdb5d,_0x43cb19){const _0x2d381c=_0x5346c4;if(_0x43cb19){if(!validateBundleId(_0x43cb19))throw new CustomError_1[(_0x2d381c(0x123))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','message_staring_params':{}});return;}!_0x4cdb5d['id']&&(_0x4cdb5d['id']=_0x4cdb5d[_0x2d381c(0x10e)]);if(!validateURL(_0x4cdb5d['id'])&&!_0x43cb19)throw new CustomError_1[(_0x2d381c(0x123))]({'code':0xfa0,'message':_0x2d381c(0xf4),'message_staring_params':{}});}function validateBundleId(_0x4eaff4){const _0x551765=_0x5346c4,_0x3c6ffc=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x3c6ffc[_0x551765(0x12c)](_0x4eaff4);}function validateURL(_0x48da53){try{return new URL(_0x48da53),!![];}catch(_0x2158ee){return![];}}
@@ -1 +1 @@
1
- 'use strict';(function(_0x4f9971,_0x423292){const _0x5c86f1=_0x7ec7,_0x2c39db=_0x4f9971();while(!![]){try{const _0x2f6755=parseInt(_0x5c86f1(0x113))/0x1*(-parseInt(_0x5c86f1(0x10e))/0x2)+parseInt(_0x5c86f1(0x116))/0x3+-parseInt(_0x5c86f1(0x11e))/0x4+-parseInt(_0x5c86f1(0x118))/0x5*(-parseInt(_0x5c86f1(0x10f))/0x6)+-parseInt(_0x5c86f1(0x114))/0x7+-parseInt(_0x5c86f1(0x110))/0x8+parseInt(_0x5c86f1(0x115))/0x9;if(_0x2f6755===_0x423292)break;else _0x2c39db['push'](_0x2c39db['shift']());}catch(_0xdcd263){_0x2c39db['push'](_0x2c39db['shift']());}}}(_0x35f8,0xa3b09));function _0x35f8(){const _0xbc8bbf=['readdirSync','isDirectory','18EGcEFs','4911844JqIxta','23062923vhQoUP','2716506TDRCxs','existsSync','184310VYDJFr','statSync','readFileSync','isFile','unlinkSync','writeFileSync','3887648rQaFGL','forEach','log','119752gSSiEK','42BsePAV','2433904PZYwOH'];_0x35f8=function(){return _0xbc8bbf;};return _0x35f8();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['copyDir']=copyDir,exports['clearDir']=clearDir;const fs=require('fs');function copyDir(_0x2a35af,_0x37fa0b){const _0x5bc53d=_0x7ec7,_0x5c4986=fs[_0x5bc53d(0x111)](_0x2a35af);_0x5c4986[_0x5bc53d(0x11f)](_0x15a274=>{const _0x18baa0=_0x5bc53d,_0x1bc2a5=_0x2a35af+'/'+_0x15a274,_0x13825e=_0x37fa0b+'/'+_0x15a274,_0x1a7144=fs[_0x18baa0(0x119)](_0x1bc2a5);if(_0x1a7144[_0x18baa0(0x11b)]())try{fs[_0x18baa0(0x11d)](_0x13825e,fs[_0x18baa0(0x11a)](_0x1bc2a5));}catch(_0x4779ce){console[_0x18baa0(0x120)](_0x4779ce);}else _0x1a7144[_0x18baa0(0x112)]()&&(!fs[_0x18baa0(0x117)](_0x13825e)&&fs['mkdirSync'](_0x13825e,{'recursive':!![]}),copyDir(_0x1bc2a5,_0x13825e));});}function _0x7ec7(_0x2fe917,_0x3e82b4){const _0x35f8fb=_0x35f8();return _0x7ec7=function(_0x7ec7b8,_0x2cf45d){_0x7ec7b8=_0x7ec7b8-0x10e;let _0x43ebab=_0x35f8fb[_0x7ec7b8];return _0x43ebab;},_0x7ec7(_0x2fe917,_0x3e82b4);}function clearDir(_0x45cbc8){const _0x1b1ea2=fs['readdirSync'](_0x45cbc8);_0x1b1ea2['forEach'](_0x170dd0=>{const _0x40b333=_0x7ec7,_0x5c6713=_0x45cbc8+'/'+_0x170dd0,_0x1ed787=fs[_0x40b333(0x119)](_0x5c6713);if(_0x1ed787['isFile']())try{fs[_0x40b333(0x11c)](_0x5c6713);}catch(_0x21b90f){console[_0x40b333(0x120)](_0x21b90f);}else _0x1ed787[_0x40b333(0x112)]()&&clearDir(_0x5c6713);});}
1
+ 'use strict';const _0x4e20f6=_0x2392;(function(_0x5eee80,_0x179f7e){const _0x324bc4=_0x2392,_0x594d65=_0x5eee80();while(!![]){try{const _0x4048d2=-parseInt(_0x324bc4(0x18c))/0x1*(-parseInt(_0x324bc4(0x18f))/0x2)+parseInt(_0x324bc4(0x182))/0x3+parseInt(_0x324bc4(0x18b))/0x4*(-parseInt(_0x324bc4(0x185))/0x5)+-parseInt(_0x324bc4(0x197))/0x6*(parseInt(_0x324bc4(0x184))/0x7)+-parseInt(_0x324bc4(0x190))/0x8+parseInt(_0x324bc4(0x191))/0x9+-parseInt(_0x324bc4(0x17f))/0xa*(-parseInt(_0x324bc4(0x196))/0xb);if(_0x4048d2===_0x179f7e)break;else _0x594d65['push'](_0x594d65['shift']());}catch(_0x40bd44){_0x594d65['push'](_0x594d65['shift']());}}}(_0x59a8,0x70d97));function _0x2392(_0xcb2c1d,_0x2afd09){const _0x59a8d8=_0x59a8();return _0x2392=function(_0x239216,_0xfc6d67){_0x239216=_0x239216-0x17f;let _0x4531eb=_0x59a8d8[_0x239216];return _0x4531eb;},_0x2392(_0xcb2c1d,_0x2afd09);}Object['defineProperty'](exports,_0x4e20f6(0x194),{'value':!![]}),exports[_0x4e20f6(0x188)]=copyDir,exports[_0x4e20f6(0x193)]=clearDir;function _0x59a8(){const _0x428a95=['isDirectory','4216652TAaoFH','2208GNrGff','10BEfFsF','forEach','statSync','2018490fFtzcv','unlinkSync','12131YiDogk','119445zVzDtt','mkdirSync','readFileSync','copyDir','existsSync','readdirSync','16gytTHr','1zNxqGH','isFile','writeFileSync','532994fHPGnF','6449880RLhvJQ','6111963yFTWek','log','clearDir','__esModule'];_0x59a8=function(){return _0x428a95;};return _0x59a8();}const fs=require('fs');function copyDir(_0x37c266,_0x3b1700){const _0x41cf24=_0x4e20f6,_0x5926c4=fs[_0x41cf24(0x18a)](_0x37c266);_0x5926c4[_0x41cf24(0x180)](_0x17c51c=>{const _0x3850d4=_0x41cf24,_0x2269f7=_0x37c266+'/'+_0x17c51c,_0x40868d=_0x3b1700+'/'+_0x17c51c,_0x41bd04=fs['statSync'](_0x2269f7);if(_0x41bd04[_0x3850d4(0x18d)]())try{fs[_0x3850d4(0x18e)](_0x40868d,fs[_0x3850d4(0x187)](_0x2269f7));}catch(_0x540ac2){console[_0x3850d4(0x192)](_0x540ac2);}else _0x41bd04['isDirectory']()&&(!fs[_0x3850d4(0x189)](_0x40868d)&&fs[_0x3850d4(0x186)](_0x40868d,{'recursive':!![]}),copyDir(_0x2269f7,_0x40868d));});}function clearDir(_0x47097a){const _0x3ec8d3=_0x4e20f6,_0x2d8101=fs[_0x3ec8d3(0x18a)](_0x47097a);_0x2d8101[_0x3ec8d3(0x180)](_0x2fbee2=>{const _0x426d5d=_0x3ec8d3,_0x57a024=_0x47097a+'/'+_0x2fbee2,_0x15eee2=fs[_0x426d5d(0x181)](_0x57a024);if(_0x15eee2[_0x426d5d(0x18d)]())try{fs[_0x426d5d(0x183)](_0x57a024);}catch(_0xfe6062){console['log'](_0xfe6062);}else _0x15eee2[_0x426d5d(0x195)]()&&clearDir(_0x57a024);});}
@@ -1 +1 @@
1
- 'use strict';const _0x4fc19d=_0x154b;(function(_0x30c10d,_0x33f952){const _0x2fd44f=_0x154b,_0x461b71=_0x30c10d();while(!![]){try{const _0x118a84=-parseInt(_0x2fd44f(0xf3))/0x1*(parseInt(_0x2fd44f(0xe6))/0x2)+parseInt(_0x2fd44f(0xef))/0x3+-parseInt(_0x2fd44f(0xed))/0x4*(parseInt(_0x2fd44f(0xe1))/0x5)+parseInt(_0x2fd44f(0xec))/0x6+parseInt(_0x2fd44f(0xe2))/0x7*(-parseInt(_0x2fd44f(0xe9))/0x8)+parseInt(_0x2fd44f(0xdb))/0x9+parseInt(_0x2fd44f(0xe5))/0xa;if(_0x118a84===_0x33f952)break;else _0x461b71['push'](_0x461b71['shift']());}catch(_0x3df5f6){_0x461b71['push'](_0x461b71['shift']());}}}(_0x372d,0x44abb));function _0x154b(_0x18583b,_0x44e351){const _0x372d79=_0x372d();return _0x154b=function(_0x154ba0,_0x229932){_0x154ba0=_0x154ba0-0xdb;let _0x23275f=_0x372d79[_0x154ba0];return _0x23275f;},_0x154b(_0x18583b,_0x44e351);}Object['defineProperty'](exports,_0x4fc19d(0xf0),{'value':!![]}),exports[_0x4fc19d(0xdf)]=void 0x0;function _0x372d(){const _0x3b4612=['render','Resvg','8194790Hyhfyx','2fVetMh','jimp','sharp','455368GhyCdI','toFormat','bitmap','159348RfRWuU','908LhDIjC','webp2PngBuffer','707175OIbGSV','__esModule','getWidth','data','149867QWkBMg','1631538NoJuma','png','isFullyOpaque','asPng','ImageHelper','width','12055DWJnnx','35IiilnL'];_0x372d=function(){return _0x3b4612;};return _0x372d();}const Jimp=require(_0x4fc19d(0xe7)),sharp=require(_0x4fc19d(0xe8)),resvg_js_1=require('@resvg/resvg-js');class ImageHelper{static['createImg'](_0x43f206){return new Jimp(_0x43f206,_0x43f206,0x0);}static async[_0x4fc19d(0xee)](_0x13b85b){const _0x52a6f1=_0x4fc19d;return await sharp(_0x13b85b)[_0x52a6f1(0xea)](_0x52a6f1(0xdc))['toBuffer']();}static async['svg2img'](_0x2fb10f){const _0x37d16f=_0x4fc19d,_0xdfabc6={'fitTo':{'mode':_0x37d16f(0xe0),'value':0x400}},_0x25b491=new resvg_js_1[(_0x37d16f(0xe4))](_0x2fb10f,_0xdfabc6),_0x5cae12=_0x25b491[_0x37d16f(0xe3)](),_0x4cfbca=_0x5cae12[_0x37d16f(0xde)]();return _0x4cfbca;}static[_0x4fc19d(0xdd)](_0x358cde){const _0x59c35c=_0x4fc19d,_0x1f6054=_0x358cde[_0x59c35c(0xf1)]()*_0x358cde['getHeight']();for(var _0x159e7c=0x0;_0x159e7c<_0x1f6054;_0x159e7c++){const _0x267db5=_0x159e7c*0x4+0x3;if(_0x358cde[_0x59c35c(0xeb)][_0x59c35c(0xf2)][_0x267db5]<0xff)return![];}return!![];}}exports[_0x4fc19d(0xdf)]=ImageHelper;
1
+ 'use strict';const _0xaaff49=_0x9632;function _0x4051(){const _0x288280=['3288324uTrqEW','svg2img','bitmap','defineProperty','3429920MOrZnj','getWidth','__esModule','1745160HhfACE','createImg','jimp','ImageHelper','getHeight','isFullyOpaque','webp2PngBuffer','data','1861644LRGmiC','@resvg/resvg-js','sharp','width','toFormat','42166MsQreG','2360721GBGgCl','asPng','14XlsdeU','2uCgwNY','Resvg','png','16286490ULZqVu'];_0x4051=function(){return _0x288280;};return _0x4051();}(function(_0xa1c1fb,_0x28d130){const _0x494928=_0x9632,_0x4f808e=_0xa1c1fb();while(!![]){try{const _0x16e2d5=parseInt(_0x494928(0x184))/0x1+-parseInt(_0x494928(0x16c))/0x2*(parseInt(_0x494928(0x185))/0x3)+parseInt(_0x494928(0x170))/0x4+-parseInt(_0x494928(0x174))/0x5+-parseInt(_0x494928(0x17f))/0x6+-parseInt(_0x494928(0x187))/0x7*(parseInt(_0x494928(0x177))/0x8)+parseInt(_0x494928(0x16f))/0x9;if(_0x16e2d5===_0x28d130)break;else _0x4f808e['push'](_0x4f808e['shift']());}catch(_0x3ef674){_0x4f808e['push'](_0x4f808e['shift']());}}}(_0x4051,0x6ef02));function _0x9632(_0x1d103f,_0x422567){const _0x40512d=_0x4051();return _0x9632=function(_0x96325f,_0x53d8ad){_0x96325f=_0x96325f-0x16c;let _0x4ace38=_0x40512d[_0x96325f];return _0x4ace38;},_0x9632(_0x1d103f,_0x422567);}Object[_0xaaff49(0x173)](exports,_0xaaff49(0x176),{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0xaaff49(0x179)),sharp=require(_0xaaff49(0x181)),resvg_js_1=require(_0xaaff49(0x180));class ImageHelper{static[_0xaaff49(0x178)](_0x49b7bd){return new Jimp(_0x49b7bd,_0x49b7bd,0x0);}static async[_0xaaff49(0x17d)](_0x4fecba){const _0x5e7190=_0xaaff49;return await sharp(_0x4fecba)[_0x5e7190(0x183)](_0x5e7190(0x16e))['toBuffer']();}static async[_0xaaff49(0x171)](_0x42b25a){const _0x46c661=_0xaaff49,_0x2f5f9f={'fitTo':{'mode':_0x46c661(0x182),'value':0x400}},_0x2e05e9=new resvg_js_1[(_0x46c661(0x16d))](_0x42b25a,_0x2f5f9f),_0x3cce55=_0x2e05e9['render'](),_0x596c2e=_0x3cce55[_0x46c661(0x186)]();return _0x596c2e;}static[_0xaaff49(0x17c)](_0x19b990){const _0x1cb519=_0xaaff49,_0x4f2380=_0x19b990[_0x1cb519(0x175)]()*_0x19b990[_0x1cb519(0x17b)]();for(var _0x1b2543=0x0;_0x1b2543<_0x4f2380;_0x1b2543++){const _0x16b233=_0x1b2543*0x4+0x3;if(_0x19b990[_0x1cb519(0x172)][_0x1cb519(0x17e)][_0x16b233]<0xff)return![];}return!![];}}exports[_0xaaff49(0x17a)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x999296=_0x42f2;(function(_0x48d5c4,_0x4ad780){const _0x3df896=_0x42f2,_0x137cc0=_0x48d5c4();while(!![]){try{const _0x4cecd8=-parseInt(_0x3df896(0xdf))/0x1*(parseInt(_0x3df896(0xee))/0x2)+-parseInt(_0x3df896(0xeb))/0x3*(-parseInt(_0x3df896(0xcb))/0x4)+-parseInt(_0x3df896(0xf1))/0x5*(-parseInt(_0x3df896(0xf4))/0x6)+-parseInt(_0x3df896(0xd7))/0x7+parseInt(_0x3df896(0xec))/0x8+parseInt(_0x3df896(0xd9))/0x9*(parseInt(_0x3df896(0xd3))/0xa)+parseInt(_0x3df896(0xe2))/0xb;if(_0x4cecd8===_0x4ad780)break;else _0x137cc0['push'](_0x137cc0['shift']());}catch(_0x40ff4e){_0x137cc0['push'](_0x137cc0['shift']());}}}(_0x6e3a,0x4981b));function _0x42f2(_0x323104,_0x743d41){const _0x6e3a1a=_0x6e3a();return _0x42f2=function(_0x42f230,_0x4f21cb){_0x42f230=_0x42f230-0xca;let _0x3797c4=_0x6e3a1a[_0x42f230];return _0x3797c4;},_0x42f2(_0x323104,_0x743d41);}Object[_0x999296(0xfb)](exports,_0x999296(0xe3),{'value':!![]}),exports[_0x999296(0xf3)]=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x999296(0xea)]=exports[_0x999296(0xde)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x999296(0xfc)]=exports[_0x999296(0xe5)]=exports[_0x999296(0xe1)]=exports[_0x999296(0xf6)]=void 0x0;function _0x6e3a(){const _0x1c541a=[',\x20now\x20WebSpatial\x20only\x20support\x20','platform-','cwd','BACK_APPICON_DIRECTORY','4641lpburf','217192HmsMfX','./test','2696flmvZB','generateIcon','icons','99415CBnZnm','path','ResourceManager','30vwbWVV','loadImageFromNet','PROJECT_DIRECTORY','http','clearDir','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','defineProperty','PROJECT_TEST_DIRECTORY','existsSync','220RJIujH','copyDir','src','../../../','MIDDLE_APPICON_DIRECTORY','not\x20support\x20platform\x20','../../../node_modules/@webspatial/platform-','join','10xJoIZa','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','web-spatial/Assets.xcassets','execSync','2917404RKTacw','json','2158173DRdGrH','./export','./load','moveProjectFrom','cd\x20','ASSET_DIRECTORY','7pQaRmC','../../temp','PROJECT_BUILD_DIRECTORY','3034295fIFXoH','__esModule','mkdirSync','PROJECT_EXPORT_DIRECTORY','loadImageFromDisk'];_0x6e3a=function(){return _0x1c541a;};return _0x6e3a();}const fs=require('fs'),path_1=require(_0x999296(0xf2)),file_1=require('./file'),load_1=require(_0x999296(0xdb)),child_process_1=require('child_process');exports[_0x999296(0xf6)]='',exports[_0x999296(0xe1)]='',exports[_0x999296(0xe5)]='',exports[_0x999296(0xfc)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports['ASSET_DIRECTORY']=_0x999296(0xd5),exports[_0x999296(0xea)]=exports[_0x999296(0xde)]+_0x999296(0xfa),exports[_0x999296(0xcf)]=exports[_0x999296(0xde)]+_0x999296(0xd4);const supportPlatform=['visionos'];class ResourceManager{static async[_0x999296(0xdc)](_0x9be8bc){const _0x1fe033=_0x999296,_0x4c340b=(0x0,path_1[_0x1fe033(0xd2)])(process[_0x1fe033(0xe9)](),_0x9be8bc),_0x5d2044=(0x0,path_1[_0x1fe033(0xd2)])(exports[_0x1fe033(0xf6)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x1fe033(0xca)](_0x5d2044)?fs[_0x1fe033(0xe4)](_0x5d2044,{'recursive':!![]}):(0x0,file_1[_0x1fe033(0xf8)])(_0x5d2044);try{(0x0,file_1[_0x1fe033(0xcc)])(_0x4c340b,_0x5d2044);}catch(_0x2c18c2){console['log'](_0x2c18c2);}}static async[_0x999296(0xef)](_0x250b10){const _0xf0816b=_0x999296,_0x4b4a65=_0x250b10[_0xf0816b(0xd8)],_0x1660cb=_0x4b4a65[_0xf0816b(0xf0)][0x0][_0xf0816b(0xcd)],_0xecc99d=!_0x1660cb['startsWith'](_0xf0816b(0xf7))?await(0x0,load_1[_0xf0816b(0xe6)])(_0x1660cb):await(0x0,load_1[_0xf0816b(0xf5)])(_0x1660cb);return _0xecc99d['resize'](0x400,0x400),_0xecc99d;}static['checkPlatformPath'](_0x2b632f){const _0x2316bc=_0x999296,_0x57f717=_0x2b632f!==null&&_0x2b632f!==void 0x0?_0x2b632f:supportPlatform[0x0];if(!supportPlatform['includes'](_0x57f717))throw new Error(_0x2316bc(0xd0)+_0x57f717+_0x2316bc(0xe7)+supportPlatform[_0x2316bc(0xd2)](','));let _0x3f3957=(0x0,path_1['join'])(process[_0x2316bc(0xe9)](),'node_modules/@webspatial/platform-'+_0x57f717);!fs[_0x2316bc(0xca)](_0x3f3957)&&(_0x3f3957=(0x0,path_1['join'])(__dirname,_0x2316bc(0xd1)+_0x57f717));const _0x374ede=fs['existsSync'](_0x3f3957);!_0x374ede&&(0x0,child_process_1[_0x2316bc(0xd6)])(_0x2316bc(0xdd)+(0x0,path_1[_0x2316bc(0xd2)])(__dirname,_0x2316bc(0xce))+_0x2316bc(0xf9)+_0x57f717);let _0x5470cf=(0x0,path_1['join'])(__dirname,_0x2316bc(0xe0)),_0x313902=(0x0,path_1['join'])(_0x5470cf,_0x2316bc(0xe8)+_0x57f717);fs[_0x2316bc(0xca)](_0x5470cf)&&(0x0,child_process_1[_0x2316bc(0xd6)])('rm\x20-rf\x20'+_0x5470cf),fs['mkdirSync'](_0x5470cf),fs[_0x2316bc(0xe4)](_0x313902),(0x0,file_1[_0x2316bc(0xcc)])(_0x3f3957,_0x313902),exports[_0x2316bc(0xf6)]=_0x313902,exports[_0x2316bc(0xe1)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xf6)],'./build'),exports[_0x2316bc(0xe5)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x2316bc(0xda)),exports[_0x2316bc(0xfc)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xe1)],_0x2316bc(0xed));}}exports[_0x999296(0xf3)]=ResourceManager;
1
+ 'use strict';const _0x4d263e=_0x54ab;function _0x54ab(_0x29cc91,_0x2bb464){const _0xe703f3=_0xe703();return _0x54ab=function(_0x54ab81,_0x5077df){_0x54ab81=_0x54ab81-0x98;let _0x5340e0=_0xe703f3[_0x54ab81];return _0x5340e0;},_0x54ab(_0x29cc91,_0x2bb464);}(function(_0x1884c5,_0xd4716d){const _0x3f49bd=_0x54ab,_0x2bcb0d=_0x1884c5();while(!![]){try{const _0x49315c=-parseInt(_0x3f49bd(0xb9))/0x1*(parseInt(_0x3f49bd(0x9c))/0x2)+parseInt(_0x3f49bd(0xae))/0x3*(parseInt(_0x3f49bd(0xad))/0x4)+parseInt(_0x3f49bd(0xa0))/0x5+-parseInt(_0x3f49bd(0xc9))/0x6*(parseInt(_0x3f49bd(0xaf))/0x7)+parseInt(_0x3f49bd(0xa2))/0x8*(parseInt(_0x3f49bd(0xba))/0x9)+-parseInt(_0x3f49bd(0xaa))/0xa+parseInt(_0x3f49bd(0xc4))/0xb;if(_0x49315c===_0xd4716d)break;else _0x2bcb0d['push'](_0x2bcb0d['shift']());}catch(_0x19b824){_0x2bcb0d['push'](_0x2bcb0d['shift']());}}}(_0xe703,0x79b04));Object[_0x4d263e(0xbb)](exports,_0x4d263e(0xc2),{'value':!![]}),exports[_0x4d263e(0xa5)]=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x4d263e(0xc8)]=exports[_0x4d263e(0x9e)]=exports[_0x4d263e(0xb4)]=exports['PROJECT_TEST_DIRECTORY']=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x4d263e(0xca)]=exports[_0x4d263e(0xa6)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x4d263e(0xac)),load_1=require(_0x4d263e(0xa9)),child_process_1=require(_0x4d263e(0xb8));function _0xe703(){const _0x21d4b2=['resize','ASSET_DIRECTORY','checkPlatformPath','3646010aWlYJd','generateIcon','26776CaCJge','copyDir','json','ResourceManager','PROJECT_DIRECTORY','icons','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','./load','8719480RLrDfR','loadImageFromNet','./file','428MZViBA','8082gdhFXM','36071GxorMt','../../../','moveProjectFrom','web-spatial/Assets.xcassets',',\x20now\x20WebSpatial\x20only\x20support\x20','WEB_PROJECT_DIRECTORY','PROJECT_TEST_DIRECTORY','PROJECT_EXPORT_DIRECTORY','existsSync','child_process','97511gpLUtn','1377SPwrqd','defineProperty','loadImageFromDisk','not\x20support\x20platform\x20','cwd','includes','rm\x20-rf\x20','execSync','__esModule','web-spatial/static-web','15947382FjTZyf','join','mkdirSync','visionos','BACK_APPICON_DIRECTORY','738SQWYhT','PROJECT_BUILD_DIRECTORY','log','startsWith','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','./build','cd\x20','node_modules/@webspatial/platform-','platform-','20iYjkDR'];_0xe703=function(){return _0x21d4b2;};return _0xe703();}exports['PROJECT_DIRECTORY']='',exports[_0x4d263e(0xca)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x4d263e(0xb5)]='',exports[_0x4d263e(0xb4)]=_0x4d263e(0xc3),exports[_0x4d263e(0x9e)]=_0x4d263e(0xb2),exports[_0x4d263e(0xc8)]=exports[_0x4d263e(0x9e)]+_0x4d263e(0xa8),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x4d263e(0x9e)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=[_0x4d263e(0xc7)];class ResourceManager{static async[_0x4d263e(0xb1)](_0x4e3c16){const _0x25c98d=_0x4d263e,_0x1b3cc0=(0x0,path_1[_0x25c98d(0xc5)])(process[_0x25c98d(0xbe)](),_0x4e3c16),_0x2c2cab=(0x0,path_1[_0x25c98d(0xc5)])(exports[_0x25c98d(0xa6)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x25c98d(0xb7)](_0x2c2cab)?fs[_0x25c98d(0xc6)](_0x2c2cab,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x2c2cab);try{(0x0,file_1[_0x25c98d(0xa3)])(_0x1b3cc0,_0x2c2cab);}catch(_0x5b2739){console[_0x25c98d(0xcb)](_0x5b2739);}}static async[_0x4d263e(0xa1)](_0x134b36){const _0x130ec5=_0x4d263e,_0x1f17d1=_0x134b36[_0x130ec5(0xa4)],_0x3d12ff=_0x1f17d1[_0x130ec5(0xa7)][0x0]['src'],_0x3a95d1=!_0x3d12ff[_0x130ec5(0xcc)]('http')?await(0x0,load_1[_0x130ec5(0xbc)])(_0x3d12ff):await(0x0,load_1[_0x130ec5(0xab)])(_0x3d12ff);return _0x3a95d1[_0x130ec5(0x9d)](0x400,0x400),_0x3a95d1;}static[_0x4d263e(0x9f)](_0x283074){const _0x53afcb=_0x4d263e,_0x901326=_0x283074!==null&&_0x283074!==void 0x0?_0x283074:supportPlatform[0x0];if(!supportPlatform[_0x53afcb(0xbf)](_0x901326))throw new Error(_0x53afcb(0xbd)+_0x901326+_0x53afcb(0xb3)+supportPlatform['join'](','));let _0x3cb872=(0x0,path_1[_0x53afcb(0xc5)])(process['cwd'](),_0x53afcb(0x9a)+_0x901326);!fs['existsSync'](_0x3cb872)&&(_0x3cb872=(0x0,path_1[_0x53afcb(0xc5)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x901326));const _0x5071c8=fs[_0x53afcb(0xb7)](_0x3cb872);!_0x5071c8&&(0x0,child_process_1['execSync'])(_0x53afcb(0x99)+(0x0,path_1['join'])(__dirname,_0x53afcb(0xb0))+_0x53afcb(0xcd)+_0x901326);let _0x359211=(0x0,path_1[_0x53afcb(0xc5)])(__dirname,'../../temp'),_0x2bae05=(0x0,path_1['join'])(_0x359211,_0x53afcb(0x9b)+_0x901326);fs[_0x53afcb(0xb7)](_0x359211)&&(0x0,child_process_1[_0x53afcb(0xc1)])(_0x53afcb(0xc0)+_0x359211),fs[_0x53afcb(0xc6)](_0x359211),fs[_0x53afcb(0xc6)](_0x2bae05),(0x0,file_1['copyDir'])(_0x3cb872,_0x2bae05),exports['PROJECT_DIRECTORY']=_0x2bae05,exports[_0x53afcb(0xca)]=(0x0,path_1[_0x53afcb(0xc5)])(exports[_0x53afcb(0xa6)],_0x53afcb(0x98)),exports[_0x53afcb(0xb6)]=(0x0,path_1[_0x53afcb(0xc5)])(exports[_0x53afcb(0xa6)],'./export'),exports[_0x53afcb(0xb5)]=(0x0,path_1[_0x53afcb(0xc5)])(exports[_0x53afcb(0xca)],'./test');}}exports[_0x4d263e(0xa5)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x130637=_0x52f5;(function(_0x3659df,_0x4758fb){const _0x12a098=_0x52f5,_0x55b445=_0x3659df();while(!![]){try{const _0x5269a4=-parseInt(_0x12a098(0x112))/0x1*(-parseInt(_0x12a098(0xf0))/0x2)+-parseInt(_0x12a098(0xfd))/0x3*(-parseInt(_0x12a098(0xfe))/0x4)+-parseInt(_0x12a098(0x10e))/0x5*(-parseInt(_0x12a098(0x107))/0x6)+-parseInt(_0x12a098(0xf5))/0x7*(parseInt(_0x12a098(0x10a))/0x8)+-parseInt(_0x12a098(0xfb))/0x9+parseInt(_0x12a098(0x105))/0xa+-parseInt(_0x12a098(0x106))/0xb;if(_0x5269a4===_0x4758fb)break;else _0x55b445['push'](_0x55b445['shift']());}catch(_0x1959a5){_0x55b445['push'](_0x55b445['shift']());}}}(_0x2071,0xe776a));Object['defineProperty'](exports,_0x130637(0xf8),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x130637(0xed)]=loadJsonFromDisk,exports[_0x130637(0x109)]=loadImageFromNet,exports[_0x130637(0x114)]=loadImageFromDisk,exports[_0x130637(0xe8)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x130637(0xf7)),Jimp=require(_0x130637(0xf3)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x1308b0){const _0x5a14a7=_0x130637,_0x282947=await FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xee)](_0x1308b0,{'encoding':_0x5a14a7(0x115)});if(_0x282947[_0x5a14a7(0xfa)]!==0xc8)throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbc,'message':_0x5a14a7(0xf4)+_0x1308b0+'.'+('The\x20response\x20status\x20is\x20'+_0x282947[_0x5a14a7(0xfa)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x1308b0,'status':_0x282947[_0x5a14a7(0xfa)]}});try{let _0xc09815;return _0x282947['text']?_0xc09815=await _0x282947['text']():['gzip',_0x5a14a7(0xf9),'br'][_0x5a14a7(0x10d)](_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])?_0xc09815=FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xf2)](Buffer['from'](_0x282947[_0x5a14a7(0x116)],'binary'),_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])[_0x5a14a7(0x103)]():_0xc09815=Buffer[_0x5a14a7(0xe9)](_0x282947[_0x5a14a7(0x116)],_0x5a14a7(0x115))['toString'](),JSON[_0x5a14a7(0x100)](_0xc09815[_0x5a14a7(0x113)]());}catch(_0x3f752b){throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbd,'message':_0x5a14a7(0xec),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x39b74a){const _0x124e87=_0x130637,_0x51e461=await loadFileString(_0x39b74a['toString']());return JSON[_0x124e87(0x100)](_0x51e461);}async function loadImageFromNet(_0x57274e){const _0x2f0c85=_0x130637,_0x193551=await FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xee)](_0x57274e,{'encoding':_0x2f0c85(0x115)});if(_0x193551['status']!==0xc8)throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x193551[_0x2f0c85(0xfa)],'message_staring_params':{'icon_url':_0x57274e,'status':_0x193551[_0x2f0c85(0xfa)]}});const _0x53019d=_0x193551['headers'][_0x2f0c85(0x104)]?_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x104)](_0x2f0c85(0xff)):_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0xff)];if(!(_0x53019d===null||_0x53019d===void 0x0?void 0x0:_0x53019d[_0x2f0c85(0x10c)]('image/')))throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d3,'message':_0x2f0c85(0x108)+(_0x2f0c85(0xfc)+_0x53019d+'\x22'),'message_staring_params':{'icon_url':_0x57274e,'contentType':_0x53019d}});let _0x5ed984;_0x193551[_0x2f0c85(0x110)]?_0x5ed984=await _0x193551['arrayBuffer']():[_0x2f0c85(0xea),_0x2f0c85(0xf9),'br'][_0x2f0c85(0x10d)](_0x193551[_0x2f0c85(0x101)]['content-encoding'])?_0x5ed984=FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xf2)](Buffer[_0x2f0c85(0xe9)](_0x193551[_0x2f0c85(0x116)],_0x2f0c85(0x115)),_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x10f)]):_0x5ed984=Buffer[_0x2f0c85(0xe9)](_0x193551['data'],_0x2f0c85(0x115));if(_0x53019d['startsWith'](_0x2f0c85(0xf1))){const _0x313f29=new TextDecoder();try{_0x5ed984=await imageHelper_1[_0x2f0c85(0xef)]['svg2img'](_0x313f29['decode'](_0x5ed984));}catch(_0x36d485){throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x57274e+':\x20'+_0x36d485,'message_staring_params':{'icon_url':_0x57274e,'error':_0x36d485}});}}return _0x53019d[_0x2f0c85(0x10c)](_0x2f0c85(0x102))&&(_0x5ed984=await imageHelper_1['ImageHelper'][_0x2f0c85(0x10b)](_0x5ed984)),await Jimp[_0x2f0c85(0x111)](Buffer['from'](_0x5ed984));}function _0x2071(){const _0x495669=['loadImageFromNet','376oAMFhp','webp2PngBuffer','startsWith','includes','365xSUiCx','content-encoding','arrayBuffer','read','53VtjPUL','trim','loadImageFromDisk','binary','data','loadFileString','from','gzip','CustomError','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadJsonFromDisk','fetch','ImageHelper','7788CYQvkh','image/svg','decompressResponseBuffer','jimp','Failed\x20to\x20download\x20Web\x20Manifest\x20','169960yYHxoM','fetchUtils','../utils/CustomError','__esModule','deflate','status','1450737UlbBlQ','\x20Responded\x20with\x20Content-Type\x20\x22','909eWTKIE','24660XWIuvP','content-type','parse','headers','image/webp','toString','get','16841830CMkqGx','21464476uAGuhF','36426WmIBTn','Received\x20icon\x20with\x20invalid\x20Content-Type.'];_0x2071=function(){return _0x495669;};return _0x2071();}async function loadImageFromDisk(_0x1210c7){const _0x284b08=_0x130637;return await Jimp[_0x284b08(0x111)](_0x1210c7);}function _0x52f5(_0xf334df,_0x3ae905){const _0x2071dd=_0x2071();return _0x52f5=function(_0x52f515,_0x1cb1c2){_0x52f515=_0x52f515-0xe8;let _0x2e5d20=_0x2071dd[_0x52f515];return _0x2e5d20;},_0x52f5(_0xf334df,_0x3ae905);}async function loadFileString(_0x104b97){const _0xfb5a16=_0x130637;let _0x572601=await fs['promises']['readFile'](_0x104b97[_0xfb5a16(0x103)]());return _0x572601[_0xfb5a16(0x103)]();}
1
+ 'use strict';const _0x412202=_0x2a20;(function(_0x1d5120,_0x242393){const _0x43d2c2=_0x2a20,_0x4450f5=_0x1d5120();while(!![]){try{const _0x350e05=-parseInt(_0x43d2c2(0x11e))/0x1+-parseInt(_0x43d2c2(0x122))/0x2+-parseInt(_0x43d2c2(0x131))/0x3*(-parseInt(_0x43d2c2(0x121))/0x4)+-parseInt(_0x43d2c2(0x130))/0x5+parseInt(_0x43d2c2(0x12b))/0x6*(-parseInt(_0x43d2c2(0x11f))/0x7)+parseInt(_0x43d2c2(0x128))/0x8+parseInt(_0x43d2c2(0x11b))/0x9;if(_0x350e05===_0x242393)break;else _0x4450f5['push'](_0x4450f5['shift']());}catch(_0x392f8e){_0x4450f5['push'](_0x4450f5['shift']());}}}(_0x595c,0xe8bb9));Object[_0x412202(0x12d)](exports,_0x412202(0x10f),{'value':!![]}),exports[_0x412202(0x125)]=loadJsonFromNet,exports[_0x412202(0x117)]=loadJsonFromDisk,exports[_0x412202(0x10a)]=loadImageFromNet,exports[_0x412202(0x124)]=loadImageFromDisk,exports[_0x412202(0x127)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x412202(0x123)),imageHelper_1=require(_0x412202(0x120));function _0x2a20(_0x52aa64,_0x381d2c){const _0x595ced=_0x595c();return _0x2a20=function(_0x2a2014,_0x4f51a7){_0x2a2014=_0x2a2014-0x10a;let _0x5ceec3=_0x595ced[_0x2a2014];return _0x5ceec3;},_0x2a20(_0x52aa64,_0x381d2c);}async function loadJsonFromNet(_0xe33a4){const _0x280977=_0x412202,_0x169b62=await FetchUtils_1_1['fetchUtils'][_0x280977(0x113)](_0xe33a4,{'encoding':_0x280977(0x132)});if(_0x169b62[_0x280977(0x111)]!==0xc8)throw new CustomError_1[(_0x280977(0x11a))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0xe33a4+'.'+(_0x280977(0x10e)+_0x169b62[_0x280977(0x111)]+_0x280977(0x12a)),'message_staring_params':{'web_manifest_url':_0xe33a4,'status':_0x169b62['status']}});try{let _0xefdf8;return _0x169b62[_0x280977(0x114)]?_0xefdf8=await _0x169b62[_0x280977(0x114)]():[_0x280977(0x10d),'deflate','br'][_0x280977(0x118)](_0x169b62[_0x280977(0x11c)][_0x280977(0x10c)])?_0xefdf8=FetchUtils_1_1[_0x280977(0x13a)]['decompressResponseBuffer'](Buffer[_0x280977(0x137)](_0x169b62[_0x280977(0x135)],_0x280977(0x132)),_0x169b62[_0x280977(0x11c)][_0x280977(0x10c)])['toString']():_0xefdf8=Buffer[_0x280977(0x137)](_0x169b62['data'],'binary')['toString'](),JSON[_0x280977(0x134)](_0xefdf8[_0x280977(0x12f)]());}catch(_0x3a0641){throw new CustomError_1['CustomError']({'code':0xbbd,'message':_0x280977(0x12e),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x5b4445){const _0x384d52=_0x412202,_0x18aac7=await loadFileString(_0x5b4445[_0x384d52(0x126)]());return JSON[_0x384d52(0x134)](_0x18aac7);}async function loadImageFromNet(_0x5915c7){const _0x34e16e=_0x412202,_0x5dcc2b=await FetchUtils_1_1[_0x34e16e(0x13a)][_0x34e16e(0x113)](_0x5915c7,{'encoding':_0x34e16e(0x132)});if(_0x5dcc2b[_0x34e16e(0x111)]!==0xc8)throw new CustomError_1[(_0x34e16e(0x11a))]({'code':0x7d2,'message':_0x34e16e(0x115)+_0x5dcc2b['status'],'message_staring_params':{'icon_url':_0x5915c7,'status':_0x5dcc2b[_0x34e16e(0x111)]}});const _0x3880f7=_0x5dcc2b[_0x34e16e(0x11c)]['get']?_0x5dcc2b[_0x34e16e(0x11c)][_0x34e16e(0x11d)](_0x34e16e(0x110)):_0x5dcc2b['headers']['content-type'];if(!(_0x3880f7===null||_0x3880f7===void 0x0?void 0x0:_0x3880f7[_0x34e16e(0x119)](_0x34e16e(0x139))))throw new CustomError_1[(_0x34e16e(0x11a))]({'code':0x7d3,'message':_0x34e16e(0x129)+(_0x34e16e(0x138)+_0x3880f7+'\x22'),'message_staring_params':{'icon_url':_0x5915c7,'contentType':_0x3880f7}});let _0x4ceeb1;_0x5dcc2b['arrayBuffer']?_0x4ceeb1=await _0x5dcc2b['arrayBuffer']():[_0x34e16e(0x10d),_0x34e16e(0x10b),'br'][_0x34e16e(0x118)](_0x5dcc2b[_0x34e16e(0x11c)][_0x34e16e(0x10c)])?_0x4ceeb1=FetchUtils_1_1[_0x34e16e(0x13a)][_0x34e16e(0x12c)](Buffer[_0x34e16e(0x137)](_0x5dcc2b[_0x34e16e(0x135)],_0x34e16e(0x132)),_0x5dcc2b[_0x34e16e(0x11c)][_0x34e16e(0x10c)]):_0x4ceeb1=Buffer[_0x34e16e(0x137)](_0x5dcc2b[_0x34e16e(0x135)],'binary');if(_0x3880f7[_0x34e16e(0x119)](_0x34e16e(0x133))){const _0x45ba99=new TextDecoder();try{_0x4ceeb1=await imageHelper_1[_0x34e16e(0x112)]['svg2img'](_0x45ba99['decode'](_0x4ceeb1));}catch(_0x2fa5b9){throw new CustomError_1['CustomError']({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x5915c7+':\x20'+_0x2fa5b9,'message_staring_params':{'icon_url':_0x5915c7,'error':_0x2fa5b9}});}}return _0x3880f7[_0x34e16e(0x119)](_0x34e16e(0x116))&&(_0x4ceeb1=await imageHelper_1['ImageHelper']['webp2PngBuffer'](_0x4ceeb1)),await Jimp[_0x34e16e(0x136)](Buffer[_0x34e16e(0x137)](_0x4ceeb1));}function _0x595c(){const _0x4b29fc=['loadImageFromDisk','loadJsonFromNet','toString','loadFileString','1900624LlZzZN','Received\x20icon\x20with\x20invalid\x20Content-Type.',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','12XpDace','decompressResponseBuffer','defineProperty','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','trim','1925080fdftlV','6rWZElU','binary','image/svg','parse','data','read','from','\x20Responded\x20with\x20Content-Type\x20\x22','image/','fetchUtils','loadImageFromNet','deflate','content-encoding','gzip','The\x20response\x20status\x20is\x20','__esModule','content-type','status','ImageHelper','fetch','text','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','image/webp','loadJsonFromDisk','includes','startsWith','CustomError','30371058dOVEKD','headers','get','633421wflrlG','5036591zowQhe','./imageHelper','2272476RSfbmK','2675284KKVZUr','jimp'];_0x595c=function(){return _0x4b29fc;};return _0x595c();}async function loadImageFromDisk(_0x1362b5){const _0x15ef22=_0x412202;return await Jimp[_0x15ef22(0x136)](_0x1362b5);}async function loadFileString(_0x4c44cb){const _0x28d6ea=_0x412202;let _0x4e24d4=await fs['promises']['readFile'](_0x4c44cb['toString']());return _0x4e24d4[_0x28d6ea(0x126)]();}
package/dist/lib/types.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3fc6(_0x15c879,_0x12f96c){var _0x2b1c0e=_0x2b1c();return _0x3fc6=function(_0x3fc6a6,_0x3b1faf){_0x3fc6a6=_0x3fc6a6-0x178;var _0x216781=_0x2b1c0e[_0x3fc6a6];return _0x216781;},_0x3fc6(_0x15c879,_0x12f96c);}var _0x3afb37=_0x3fc6;(function(_0x4dd779,_0x537568){var _0x28766a=_0x3fc6,_0x116252=_0x4dd779();while(!![]){try{var _0x376dfa=-parseInt(_0x28766a(0x17e))/0x1+-parseInt(_0x28766a(0x183))/0x2+parseInt(_0x28766a(0x17b))/0x3*(parseInt(_0x28766a(0x179))/0x4)+parseInt(_0x28766a(0x181))/0x5*(parseInt(_0x28766a(0x17f))/0x6)+-parseInt(_0x28766a(0x17d))/0x7*(parseInt(_0x28766a(0x182))/0x8)+-parseInt(_0x28766a(0x180))/0x9*(-parseInt(_0x28766a(0x184))/0xa)+-parseInt(_0x28766a(0x178))/0xb*(-parseInt(_0x28766a(0x17a))/0xc);if(_0x376dfa===_0x537568)break;else _0x116252['push'](_0x116252['shift']());}catch(_0x3d685a){_0x116252['push'](_0x116252['shift']());}}}(_0x2b1c,0x1ef13));function _0x2b1c(){var _0x405a79=['330pYpXrt','22UDJATI','2740dJRiqI','1091148dydHlN','390NGQGXj','__esModule','986069bBmrle','136785LNTDnz','234DvdACD','44397XozypD','6130VrUIAr','8JsFpjh','154240cLuPnP'];_0x2b1c=function(){return _0x405a79;};return _0x2b1c();}Object['defineProperty'](exports,_0x3afb37(0x17c),{'value':!![]});
1
+ 'use strict';function _0x1a61(_0x1bff02,_0x34859b){var _0x56b672=_0x56b6();return _0x1a61=function(_0x1a6166,_0x5e5502){_0x1a6166=_0x1a6166-0x116;var _0x140e5c=_0x56b672[_0x1a6166];return _0x140e5c;},_0x1a61(_0x1bff02,_0x34859b);}var _0x5afae7=_0x1a61;(function(_0x5b0a7e,_0x43f965){var _0xd8ad69=_0x1a61,_0x493ffa=_0x5b0a7e();while(!![]){try{var _0x3727c2=parseInt(_0xd8ad69(0x117))/0x1*(parseInt(_0xd8ad69(0x120))/0x2)+parseInt(_0xd8ad69(0x11e))/0x3*(-parseInt(_0xd8ad69(0x11c))/0x4)+-parseInt(_0xd8ad69(0x119))/0x5+parseInt(_0xd8ad69(0x11f))/0x6+parseInt(_0xd8ad69(0x118))/0x7*(-parseInt(_0xd8ad69(0x11d))/0x8)+-parseInt(_0xd8ad69(0x11b))/0x9*(-parseInt(_0xd8ad69(0x121))/0xa)+-parseInt(_0xd8ad69(0x122))/0xb;if(_0x3727c2===_0x43f965)break;else _0x493ffa['push'](_0x493ffa['shift']());}catch(_0x3dd899){_0x493ffa['push'](_0x493ffa['shift']());}}}(_0x56b6,0xb3852));Object[_0x5afae7(0x11a)](exports,_0x5afae7(0x116),{'value':!![]});function _0x56b6(){var _0x1545a7=['19467195rSPcAE','__esModule','646815TtDlhc','187558HLMdvW','310690EUxXRh','defineProperty','12013623UhYnXt','339548jHKGpE','136sXYVXg','9HXZlzj','7774164jAdtnx','2CBTutB','10ZjtcxM'];_0x56b6=function(){return _0x1545a7;};return _0x56b6();}
@@ -1 +1 @@
1
- 'use strict';function _0x1c5a(){var _0x163165=['stringify','3694970VIRjak','9BhwWbF','__esModule','91tDqkCS','info','customMessage','18bXccmC','CustomError','175860HXGRUJ','1941104JGcwUb','12WMBSSu','431724jrFVmL','45COOoyf','182608KYtkMB','17508414QvjUXc','43268GCutoO'];_0x1c5a=function(){return _0x163165;};return _0x1c5a();}var _0x37a85d=_0x37c6;(function(_0x2a2589,_0xabbbe3){var _0x1bf1d8=_0x37c6,_0x1375be=_0x2a2589();while(!![]){try{var _0x5409f9=parseInt(_0x1bf1d8(0x69))/0x1*(-parseInt(_0x1bf1d8(0x75))/0x2)+-parseInt(_0x1bf1d8(0x74))/0x3*(parseInt(_0x1bf1d8(0x77))/0x4)+-parseInt(_0x1bf1d8(0x70))/0x5+parseInt(_0x1bf1d8(0x73))/0x6*(parseInt(_0x1bf1d8(0x6b))/0x7)+-parseInt(_0x1bf1d8(0x71))/0x8+-parseInt(_0x1bf1d8(0x6e))/0x9*(parseInt(_0x1bf1d8(0x79))/0xa)+parseInt(_0x1bf1d8(0x76))/0xb*(parseInt(_0x1bf1d8(0x72))/0xc);if(_0x5409f9===_0xabbbe3)break;else _0x1375be['push'](_0x1375be['shift']());}catch(_0x5bd76f){_0x1375be['push'](_0x1375be['shift']());}}}(_0x1c5a,0x807c9));function _0x37c6(_0x1ad943,_0x11d30f){var _0x1c5a7b=_0x1c5a();return _0x37c6=function(_0x37c632,_0x1018bf){_0x37c632=_0x37c632-0x69;var _0x8a4a12=_0x1c5a7b[_0x37c632];return _0x8a4a12;},_0x37c6(_0x1ad943,_0x11d30f);}Object['defineProperty'](exports,_0x37a85d(0x6a),{'value':!![]}),exports[_0x37a85d(0x6f)]=void 0x0;class CustomError extends Error{constructor(_0x2cc935,_0x1236ea){var _0x5ef2aa=_0x37a85d;super(JSON[_0x5ef2aa(0x78)](_0x2cc935)),this[_0x5ef2aa(0x6d)]=_0x2cc935,this['type']=_0x1236ea||_0x5ef2aa(0x6c);}}exports[_0x37a85d(0x6f)]=CustomError;
1
+ 'use strict';var _0x465331=_0x1316;(function(_0x5e4a2f,_0x21c326){var _0x22719f=_0x1316,_0x4b05af=_0x5e4a2f();while(!![]){try{var _0x486c55=-parseInt(_0x22719f(0x72))/0x1*(parseInt(_0x22719f(0x7a))/0x2)+-parseInt(_0x22719f(0x75))/0x3+parseInt(_0x22719f(0x71))/0x4+-parseInt(_0x22719f(0x74))/0x5*(-parseInt(_0x22719f(0x7b))/0x6)+-parseInt(_0x22719f(0x73))/0x7*(-parseInt(_0x22719f(0x7e))/0x8)+parseInt(_0x22719f(0x79))/0x9+-parseInt(_0x22719f(0x76))/0xa*(parseInt(_0x22719f(0x77))/0xb);if(_0x486c55===_0x21c326)break;else _0x4b05af['push'](_0x4b05af['shift']());}catch(_0x418129){_0x4b05af['push'](_0x4b05af['shift']());}}}(_0x1112,0x19931));function _0x1316(_0x317a1a,_0x52ea75){var _0x11127a=_0x1112();return _0x1316=function(_0x131687,_0x2f80a3){_0x131687=_0x131687-0x71;var _0xbbb44d=_0x11127a[_0x131687];return _0xbbb44d;},_0x1316(_0x317a1a,_0x52ea75);}Object[_0x465331(0x7c)](exports,'__esModule',{'value':!![]}),exports['CustomError']=void 0x0;class CustomError extends Error{constructor(_0x34b546,_0x42073a){var _0x268920=_0x465331;super(JSON['stringify'](_0x34b546)),this[_0x268920(0x78)]=_0x34b546,this[_0x268920(0x7f)]=_0x42073a||_0x268920(0x7d);}}function _0x1112(){var _0x408bfc=['10cEFTdw','66wPdYWZ','defineProperty','info','17160okCXrg','type','367468xIkxuR','34419ojBaCe','532aEUSPO','19385SMlJKm','98826OPdvTU','10NFtWVu','1214444fVDSnf','customMessage','1103940lNtsGj'];_0x1112=function(){return _0x408bfc;};return _0x1112();}exports['CustomError']=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x2ac1dc=_0x5171;(function(_0x10fc45,_0x17dbb1){const _0x273749=_0x5171,_0x2d9d8c=_0x10fc45();while(!![]){try{const _0x3aa1b1=parseInt(_0x273749(0x122))/0x1+parseInt(_0x273749(0x119))/0x2*(parseInt(_0x273749(0x118))/0x3)+-parseInt(_0x273749(0x11c))/0x4+parseInt(_0x273749(0x11f))/0x5+parseInt(_0x273749(0x11d))/0x6+-parseInt(_0x273749(0x11b))/0x7+parseInt(_0x273749(0x111))/0x8*(-parseInt(_0x273749(0x113))/0x9);if(_0x3aa1b1===_0x17dbb1)break;else _0x2d9d8c['push'](_0x2d9d8c['shift']());}catch(_0x28fdf2){_0x2d9d8c['push'](_0x2d9d8c['shift']());}}}(_0x6f35,0x93767));function _0x6f35(){const _0x1bb194=['15rUelkx','239566PmsvkO','downloadFile','7771015BIxWAD','1857492yvsoRf','2059062zKCgYS','setDownloadFile','5876315PoDGnW','fetchUtils','setFetch','988766eHHiqv','defineProperty','setFetchEngine','16OGuZwk','fetchEngine','4174182IWRDpc','setDecompressResponseBuffer','__esModule','decompressResponseBuffer','fetch'];_0x6f35=function(){return _0x1bb194;};return _0x6f35();}function _0x5171(_0x59894d,_0x5a2548){const _0x6f35c6=_0x6f35();return _0x5171=function(_0x51710d,_0x495f5f){_0x51710d=_0x51710d-0x110;let _0x1be1ec=_0x6f35c6[_0x51710d];return _0x1be1ec;},_0x5171(_0x59894d,_0x5a2548);}Object[_0x2ac1dc(0x123)](exports,_0x2ac1dc(0x115),{'value':!![]}),exports[_0x2ac1dc(0x120)]=void 0x0;class FetchUtils{constructor(){const _0x59b8bf=_0x2ac1dc;this[_0x59b8bf(0x112)]=null,this[_0x59b8bf(0x117)]=null,this[_0x59b8bf(0x11a)]=null,this['decompressResponseBuffer']=null;}[_0x2ac1dc(0x110)](_0xaf525b){const _0x20e170=_0x2ac1dc;this[_0x20e170(0x112)]=_0xaf525b;}[_0x2ac1dc(0x121)](_0x333e8e){const _0x1219a0=_0x2ac1dc;this[_0x1219a0(0x117)]=_0x333e8e;}[_0x2ac1dc(0x11e)](_0x5138be){const _0x18c572=_0x2ac1dc;this[_0x18c572(0x11a)]=_0x5138be;}[_0x2ac1dc(0x114)](_0x21f929){const _0x3cb79a=_0x2ac1dc;this[_0x3cb79a(0x116)]=_0x21f929;}}const fetchUtils=new FetchUtils();exports[_0x2ac1dc(0x120)]=fetchUtils;
1
+ 'use strict';function _0xf659(_0x177ebc,_0x57be84){const _0x2d4d51=_0x2d4d();return _0xf659=function(_0xf6592a,_0x45a5b2){_0xf6592a=_0xf6592a-0xda;let _0x586768=_0x2d4d51[_0xf6592a];return _0x586768;},_0xf659(_0x177ebc,_0x57be84);}const _0x1e181f=_0xf659;(function(_0x46ad35,_0x2f536d){const _0x3986ce=_0xf659,_0x2697fa=_0x46ad35();while(!![]){try{const _0x25e875=parseInt(_0x3986ce(0xda))/0x1*(parseInt(_0x3986ce(0xee))/0x2)+parseInt(_0x3986ce(0xe3))/0x3*(-parseInt(_0x3986ce(0xea))/0x4)+-parseInt(_0x3986ce(0xed))/0x5*(parseInt(_0x3986ce(0xe7))/0x6)+parseInt(_0x3986ce(0xe2))/0x7*(parseInt(_0x3986ce(0xe9))/0x8)+-parseInt(_0x3986ce(0xdf))/0x9+-parseInt(_0x3986ce(0xec))/0xa*(parseInt(_0x3986ce(0xdc))/0xb)+parseInt(_0x3986ce(0xe8))/0xc*(parseInt(_0x3986ce(0xe6))/0xd);if(_0x25e875===_0x2f536d)break;else _0x2697fa['push'](_0x2697fa['shift']());}catch(_0x445449){_0x2697fa['push'](_0x2697fa['shift']());}}}(_0x2d4d,0x9eaa3));Object[_0x1e181f(0xe0)](exports,_0x1e181f(0xe5),{'value':!![]}),exports[_0x1e181f(0xdd)]=void 0x0;class FetchUtils{constructor(){const _0x3544e1=_0x1e181f;this['fetchEngine']=null,this['fetch']=null,this[_0x3544e1(0xef)]=null,this['decompressResponseBuffer']=null;}[_0x1e181f(0xe1)](_0x19c3a6){this['fetchEngine']=_0x19c3a6;}[_0x1e181f(0xf0)](_0x48390d){const _0x1d78ba=_0x1e181f;this[_0x1d78ba(0xdb)]=_0x48390d;}[_0x1e181f(0xeb)](_0x265be1){this['downloadFile']=_0x265be1;}[_0x1e181f(0xe4)](_0x5d6cbb){const _0x393a8e=_0x1e181f;this[_0x393a8e(0xde)]=_0x5d6cbb;}}const fetchUtils=new FetchUtils();exports[_0x1e181f(0xdd)]=fetchUtils;function _0x2d4d(){const _0x1d5f12=['__esModule','127309TXlNIx','12xQEAFE','2220duOOgk','40ebOCho','132SqCVLf','setDownloadFile','842360LHbTBd','1608645vAOJfS','2JXPwda','downloadFile','setFetch','714874zFjVYB','fetch','11ZBVNSu','fetchUtils','decompressResponseBuffer','7517484gwQsvk','defineProperty','setFetchEngine','825335BUbWxq','82113eTjQFJ','setDecompressResponseBuffer'];_0x2d4d=function(){return _0x1d5f12;};return _0x2d4d();}
@@ -1 +1 @@
1
- 'use strict';function _0x57c7(){var _0x26e610=['3rzAWOU','yellow','tag','12tZPhqG','\x1b[0m','119131qKxiuH','concat','2840eVkUgV','warn','info','12dqLhOI','1352bTkFDi','17706247pDuJXN','27801gYKTQk','output','2256076ykfwNi','\x1b[31m','2022419izqtow','debug','\x1b[36m','setVerbose','1123860UVvRbm','2qvYwdM','verbose','WARNING\x20','\x1b[33m','log','error','671oCuOFr','ERROR\x20','inverse','dim','red','__esModule','prefix'];_0x57c7=function(){return _0x26e610;};return _0x57c7();}var _0x555314=_0x2f45;(function(_0x5177f3,_0x1696d3){var _0x53944f=_0x2f45,_0x262884=_0x5177f3();while(!![]){try{var _0x3381a1=-parseInt(_0x53944f(0xd0))/0x1*(parseInt(_0x53944f(0xe1))/0x2)+parseInt(_0x53944f(0xcb))/0x3*(parseInt(_0x53944f(0xda))/0x4)+-parseInt(_0x53944f(0xe0))/0x5*(-parseInt(_0x53944f(0xd5))/0x6)+parseInt(_0x53944f(0xdc))/0x7+parseInt(_0x53944f(0xd6))/0x8*(parseInt(_0x53944f(0xd8))/0x9)+parseInt(_0x53944f(0xd2))/0xa*(parseInt(_0x53944f(0xc4))/0xb)+-parseInt(_0x53944f(0xce))/0xc*(parseInt(_0x53944f(0xd7))/0xd);if(_0x3381a1===_0x1696d3)break;else _0x262884['push'](_0x262884['shift']());}catch(_0x5ef4bd){_0x262884['push'](_0x262884['shift']());}}}(_0x57c7,0x580f7));Object['defineProperty'](exports,_0x555314(0xc9),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x702f18='',_0x500d8b=![],_0x14ae0f=console){var _0x4081ef=_0x555314;this[_0x4081ef(0xcd)]=_0x702f18,this[_0x4081ef(0xe2)]=_0x500d8b,this[_0x4081ef(0xca)]=this[_0x4081ef(0xc6)](_0x702f18),this[_0x4081ef(0xd9)]=_0x14ae0f;}[_0x555314(0xdd)](_0x18805c,..._0x454de1){var _0x2d3d66=_0x555314;if(!this[_0x2d3d66(0xe2)])return;this['log'](this['output'][_0x2d3d66(0xc2)],this[_0x2d3d66(0xc7)](_0x18805c),..._0x454de1);}[_0x555314(0xd4)](_0x2b2ebd,..._0x1af969){var _0x3a5bf0=_0x555314;this[_0x3a5bf0(0xc2)](this[_0x3a5bf0(0xd9)][_0x3a5bf0(0xc2)],_0x2b2ebd,..._0x1af969);}[_0x555314(0xd3)](_0x317fac,..._0x416691){var _0x9295de=_0x555314;this[_0x9295de(0xc2)](this['output'][_0x9295de(0xd3)],this[_0x9295de(0xcc)](_0x9295de(0xe3)+_0x317fac),..._0x416691);}[_0x555314(0xc3)](_0x56174f,..._0x63d89c){var _0x2e5299=_0x555314;this[_0x2e5299(0xd9)][_0x2e5299(0xc3)]('\x0a'),this[_0x2e5299(0xc2)](this[_0x2e5299(0xd9)][_0x2e5299(0xc3)],this[_0x2e5299(0xc8)](_0x2e5299(0xc5)+_0x56174f),..._0x63d89c),this['output'][_0x2e5299(0xc3)]('\x0a');}[_0x555314(0xdf)](_0xcf26ec){var _0x1e39ce=_0x555314;this[_0x1e39ce(0xe2)]=_0xcf26ec;}['newLog'](_0x1a6dec){var _0x2c5f98=_0x555314;return this[_0x2c5f98(0xcd)]&&(_0x1a6dec=this['tag']+'\x20'+_0x1a6dec),new ConsoleLog(_0x1a6dec,this[_0x2c5f98(0xe2)],this[_0x2c5f98(0xd9)]);}['log'](_0x2b8e94,_0x2128b8,..._0x3d81b1){var _0x4d82da=_0x555314;this[_0x4d82da(0xca)]&&(_0x2128b8=this[_0x4d82da(0xca)]+'\x20'+_0x2128b8),_0x3d81b1?_0x2b8e94(...[_0x2128b8][_0x4d82da(0xd1)](_0x3d81b1)):_0x2b8e94(_0x2128b8);}[_0x555314(0xc6)](_0x5bb97c){return'\x1b[7m'+_0x5bb97c+'\x1b[0m';}[_0x555314(0xc7)](_0xb6e61){var _0x45787c=_0x555314;return _0x45787c(0xde)+_0xb6e61+'\x1b[0m';}[_0x555314(0xcc)](_0x193bbe){var _0x3d8830=_0x555314;return _0x3d8830(0xe4)+_0x193bbe+_0x3d8830(0xcf);}['red'](_0x507956){var _0x16e50a=_0x555314;return _0x16e50a(0xdb)+_0x507956+_0x16e50a(0xcf);}}function _0x2f45(_0x34e8cc,_0x22aeea){var _0x57c797=_0x57c7();return _0x2f45=function(_0x2f451a,_0x1600b0){_0x2f451a=_0x2f451a-0xc2;var _0x51e0fc=_0x57c797[_0x2f451a];return _0x51e0fc;},_0x2f45(_0x34e8cc,_0x22aeea);}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x266923=_0x3eaa;(function(_0x8c73e5,_0x428b31){var _0x17bc62=_0x3eaa,_0x32c5ef=_0x8c73e5();while(!![]){try{var _0x169f80=-parseInt(_0x17bc62(0x149))/0x1+-parseInt(_0x17bc62(0x14c))/0x2*(-parseInt(_0x17bc62(0x165))/0x3)+parseInt(_0x17bc62(0x15d))/0x4*(parseInt(_0x17bc62(0x167))/0x5)+parseInt(_0x17bc62(0x14f))/0x6+parseInt(_0x17bc62(0x154))/0x7+parseInt(_0x17bc62(0x157))/0x8+parseInt(_0x17bc62(0x159))/0x9;if(_0x169f80===_0x428b31)break;else _0x32c5ef['push'](_0x32c5ef['shift']());}catch(_0x3c7618){_0x32c5ef['push'](_0x32c5ef['shift']());}}}(_0x595f,0xc5c0b));function _0x595f(){var _0x5f212b=['log','430884rulcmS','__esModule','\x1b[0m','setVerbose','prefix','inverse','ERROR\x20','red','3PzcpmL','output','5VlwsCB','warn','700397qMUTRa','\x1b[36m','verbose','221474bABtnl','newLog','info','4357140pjKhlO','tag','WARNING\x20','ConsoleLog','yellow','1641276IjxxjQ','defineProperty','dim','289200hzIjqb','error','2656134sMObYy','concat','\x1b[31m'];_0x595f=function(){return _0x5f212b;};return _0x595f();}function _0x3eaa(_0x5e5ce0,_0x2bc479){var _0x595f23=_0x595f();return _0x3eaa=function(_0x3eaa9c,_0x4fc847){_0x3eaa9c=_0x3eaa9c-0x148;var _0xfa59bc=_0x595f23[_0x3eaa9c];return _0xfa59bc;},_0x3eaa(_0x5e5ce0,_0x2bc479);}Object[_0x266923(0x155)](exports,_0x266923(0x15e),{'value':!![]}),exports[_0x266923(0x152)]=void 0x0;class ConsoleLog{constructor(_0x4b1ef3='',_0x22be61=![],_0x3ee38c=console){var _0x2097ed=_0x266923;this[_0x2097ed(0x150)]=_0x4b1ef3,this['verbose']=_0x22be61,this['prefix']=this[_0x2097ed(0x162)](_0x4b1ef3),this[_0x2097ed(0x166)]=_0x3ee38c;}['debug'](_0x1346dd,..._0x382156){var _0x332823=_0x266923;if(!this[_0x332823(0x14b)])return;this[_0x332823(0x15c)](this[_0x332823(0x166)][_0x332823(0x15c)],this[_0x332823(0x156)](_0x1346dd),..._0x382156);}[_0x266923(0x14e)](_0xa0473c,..._0x132244){var _0x4c7d81=_0x266923;this['log'](this[_0x4c7d81(0x166)][_0x4c7d81(0x15c)],_0xa0473c,..._0x132244);}[_0x266923(0x148)](_0x11da2a,..._0x44c687){var _0x3b6b32=_0x266923;this['log'](this[_0x3b6b32(0x166)][_0x3b6b32(0x148)],this['yellow'](_0x3b6b32(0x151)+_0x11da2a),..._0x44c687);}[_0x266923(0x158)](_0x325bc5,..._0x101834){var _0x3768ac=_0x266923;this[_0x3768ac(0x166)]['error']('\x0a'),this['log'](this[_0x3768ac(0x166)][_0x3768ac(0x158)],this['red'](_0x3768ac(0x163)+_0x325bc5),..._0x101834),this[_0x3768ac(0x166)][_0x3768ac(0x158)]('\x0a');}[_0x266923(0x160)](_0x2084ce){var _0x57b4bf=_0x266923;this[_0x57b4bf(0x14b)]=_0x2084ce;}[_0x266923(0x14d)](_0xaf5348){var _0x57e7e0=_0x266923;return this[_0x57e7e0(0x150)]&&(_0xaf5348=this[_0x57e7e0(0x150)]+'\x20'+_0xaf5348),new ConsoleLog(_0xaf5348,this[_0x57e7e0(0x14b)],this['output']);}[_0x266923(0x15c)](_0x2ebedb,_0x308117,..._0x34452f){var _0x5814c4=_0x266923;this[_0x5814c4(0x161)]&&(_0x308117=this[_0x5814c4(0x161)]+'\x20'+_0x308117),_0x34452f?_0x2ebedb(...[_0x308117][_0x5814c4(0x15a)](_0x34452f)):_0x2ebedb(_0x308117);}[_0x266923(0x162)](_0x47ca6f){return'\x1b[7m'+_0x47ca6f+'\x1b[0m';}['dim'](_0x8c97c9){var _0x510fe0=_0x266923;return _0x510fe0(0x14a)+_0x8c97c9+'\x1b[0m';}[_0x266923(0x153)](_0x433cbe){return'\x1b[33m'+_0x433cbe+'\x1b[0m';}[_0x266923(0x164)](_0x5bb7d8){var _0x502f35=_0x266923;return _0x502f35(0x15b)+_0x5bb7d8+_0x502f35(0x15f);}}exports[_0x266923(0x152)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x265007=_0x2118;function _0x2118(_0x244931,_0xe3facf){const _0x418d82=_0x418d();return _0x2118=function(_0x21181b,_0x426578){_0x21181b=_0x21181b-0x12d;let _0x3f28bd=_0x418d82[_0x21181b];return _0x3f28bd;},_0x2118(_0x244931,_0xe3facf);}(function(_0x2b1815,_0x2f60fe){const _0x566ea9=_0x2118,_0x459b39=_0x2b1815();while(!![]){try{const _0x5d730c=parseInt(_0x566ea9(0x13b))/0x1+parseInt(_0x566ea9(0x13d))/0x2*(parseInt(_0x566ea9(0x147))/0x3)+-parseInt(_0x566ea9(0x142))/0x4+parseInt(_0x566ea9(0x135))/0x5*(-parseInt(_0x566ea9(0x137))/0x6)+parseInt(_0x566ea9(0x132))/0x7+-parseInt(_0x566ea9(0x12f))/0x8+-parseInt(_0x566ea9(0x12e))/0x9*(-parseInt(_0x566ea9(0x13e))/0xa);if(_0x5d730c===_0x2f60fe)break;else _0x459b39['push'](_0x459b39['shift']());}catch(_0x1356ae){_0x459b39['push'](_0x459b39['shift']());}}}(_0x418d,0xb56f0));Object[_0x265007(0x141)](exports,_0x265007(0x13a),{'value':!![]}),exports[_0x265007(0x143)]=fetch,exports['downloadFile']=downloadFile,exports[_0x265007(0x146)]=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x265007(0x12d)),userAgent=_0x265007(0x144),fetchh2Ctx=(0x0,fetch_h2_1[_0x265007(0x13c)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x265007(0x143)];async function fetch(_0x1d701d,_0x162ab){const _0x35ffd6=_0x265007;return await fetchh2(_0x1d701d,_0x162ab?{'redirect':_0x35ffd6(0x131),..._0x162ab}:{'redirect':'follow'});}async function downloadFile(_0x96065,_0x3d0dd1,_0x363062){const _0x35bc1c=_0x265007;let _0x179d27,_0x47722e;_0x179d27=await fetchh2(_0x96065,{'redirect':_0x35bc1c(0x131)}),_0x47722e=await _0x179d27['readable']();const _0x39cb96=_0x179d27['headers']['get']('Content-Length'),_0x51a74f=_0x39cb96?parseInt(_0x39cb96):-0x1,_0x44e021=fs[_0x35bc1c(0x133)](_0x3d0dd1);let _0x4bbfa0=0x0;await new Promise((_0x5495fe,_0x2df550)=>{const _0x47600f=_0x35bc1c;_0x47722e[_0x47600f(0x139)](_0x44e021),_0x363062&&_0x47722e['on'](_0x47600f(0x13f),_0x5e11d8=>{_0x4bbfa0=_0x4bbfa0+_0x5e11d8['length'],_0x363062(_0x4bbfa0,_0x51a74f);}),_0x47722e['on']('error',_0x1a4e9f=>{_0x2df550(_0x1a4e9f);}),_0x44e021['on'](_0x47600f(0x138),()=>{_0x5495fe();});});}function decompressResponseBuffer(_0x12fa88,_0x5d8678){const _0x1242e8=_0x265007;let _0x2a56f7=_0x12fa88;if(/\bgzip\b/[_0x1242e8(0x145)](_0x5d8678)||/\bdeflate\b/[_0x1242e8(0x145)](_0x5d8678))_0x2a56f7=zlib[_0x1242e8(0x136)](_0x12fa88,{'flush':zlib[_0x1242e8(0x140)][_0x1242e8(0x134)],'finishFlush':zlib[_0x1242e8(0x140)][_0x1242e8(0x134)]});else/\bbr\b/[_0x1242e8(0x145)](_0x5d8678)&&(_0x2a56f7=zlib[_0x1242e8(0x130)](_0x12fa88));return _0x2a56f7;}function _0x418d(){const _0x161812=['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','test','decompressResponseBuffer','471qirHtl','zlib','160191oDbEca','6370744dWWhro','brotliDecompressSync','follow','1915410vScFUB','createWriteStream','Z_SYNC_FLUSH','15Xxordz','unzipSync','849582fhCWEa','finish','pipe','__esModule','486526CrJgZm','context','1538zkNWSO','780lIgLXS','data','constants','defineProperty','1219700cIJenj','fetch'];_0x418d=function(){return _0x161812;};return _0x418d();}
1
+ 'use strict';const _0x4a2536=_0xcc7f;(function(_0x19b3e5,_0x4eb197){const _0x2ed957=_0xcc7f,_0x50b293=_0x19b3e5();while(!![]){try{const _0x449019=-parseInt(_0x2ed957(0x1c9))/0x1*(parseInt(_0x2ed957(0x1b4))/0x2)+parseInt(_0x2ed957(0x1c1))/0x3+parseInt(_0x2ed957(0x1b2))/0x4*(-parseInt(_0x2ed957(0x1bb))/0x5)+parseInt(_0x2ed957(0x1b9))/0x6+parseInt(_0x2ed957(0x1ce))/0x7+parseInt(_0x2ed957(0x1b5))/0x8*(-parseInt(_0x2ed957(0x1b0))/0x9)+-parseInt(_0x2ed957(0x1b8))/0xa*(parseInt(_0x2ed957(0x1c4))/0xb);if(_0x449019===_0x4eb197)break;else _0x50b293['push'](_0x50b293['shift']());}catch(_0x39cdb0){_0x50b293['push'](_0x50b293['shift']());}}}(_0x3faa,0x7edbf));Object['defineProperty'](exports,_0x4a2536(0x1bc),{'value':!![]}),exports[_0x4a2536(0x1be)]=fetch,exports['downloadFile']=downloadFile,exports[_0x4a2536(0x1cc)]=decompressResponseBuffer;function _0x3faa(){const _0x1fc2cf=['Z_SYNC_FLUSH','388998kruSKL','Content-Length','186376aChSkJ','unzipSync','6NtlJmX','32qPrRlu','constants','length','6400jQwwls','4375116DLvWlU','finish','20ZTqbsu','__esModule','createWriteStream','fetch','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','test','2771625uhXAOa','headers','follow','14069kdXsKa','error','get','brotliDecompressSync','data','247519hmbKWW','pipe','fetch-h2','decompressResponseBuffer','readable','5508545tpeaLs'];_0x3faa=function(){return _0x1fc2cf;};return _0x3faa();}const fetch_h2_1=require(_0x4a2536(0x1cb)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x4a2536(0x1bf),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x5b6294,_0x1ea635){const _0x406741=_0x4a2536;return await fetchh2(_0x5b6294,_0x1ea635?{'redirect':_0x406741(0x1c3),..._0x1ea635}:{'redirect':_0x406741(0x1c3)});}async function downloadFile(_0x34f418,_0x50c06a,_0x1bd227){const _0x42fdfa=_0x4a2536;let _0x409aa0,_0x291725;_0x409aa0=await fetchh2(_0x34f418,{'redirect':_0x42fdfa(0x1c3)}),_0x291725=await _0x409aa0[_0x42fdfa(0x1cd)]();const _0x1ec1a7=_0x409aa0[_0x42fdfa(0x1c2)][_0x42fdfa(0x1c6)](_0x42fdfa(0x1b1)),_0x1c3d98=_0x1ec1a7?parseInt(_0x1ec1a7):-0x1,_0x4e1350=fs[_0x42fdfa(0x1bd)](_0x50c06a);let _0x312916=0x0;await new Promise((_0x223602,_0x4f25ae)=>{const _0x190c94=_0x42fdfa;_0x291725[_0x190c94(0x1ca)](_0x4e1350),_0x1bd227&&_0x291725['on'](_0x190c94(0x1c8),_0x275ab8=>{const _0x5bbe97=_0x190c94;_0x312916=_0x312916+_0x275ab8[_0x5bbe97(0x1b7)],_0x1bd227(_0x312916,_0x1c3d98);}),_0x291725['on'](_0x190c94(0x1c5),_0xae8774=>{_0x4f25ae(_0xae8774);}),_0x4e1350['on'](_0x190c94(0x1ba),()=>{_0x223602();});});}function _0xcc7f(_0x1d30fd,_0x13c78b){const _0x3faa26=_0x3faa();return _0xcc7f=function(_0xcc7f2f,_0x47f7c0){_0xcc7f2f=_0xcc7f2f-0x1b0;let _0x512143=_0x3faa26[_0xcc7f2f];return _0x512143;},_0xcc7f(_0x1d30fd,_0x13c78b);}function decompressResponseBuffer(_0x5e6c37,_0xb8a19a){const _0x1f412b=_0x4a2536;let _0xaf8482=_0x5e6c37;if(/\bgzip\b/[_0x1f412b(0x1c0)](_0xb8a19a)||/\bdeflate\b/[_0x1f412b(0x1c0)](_0xb8a19a))_0xaf8482=zlib[_0x1f412b(0x1b3)](_0x5e6c37,{'flush':zlib['constants'][_0x1f412b(0x1cf)],'finishFlush':zlib[_0x1f412b(0x1b6)][_0x1f412b(0x1cf)]});else/\bbr\b/[_0x1f412b(0x1c0)](_0xb8a19a)&&(_0xaf8482=zlib[_0x1f412b(0x1c7)](_0x5e6c37));return _0xaf8482;}
@@ -1 +1 @@
1
- 'use strict';const _0x170edb=_0x3eae;(function(_0x1fa595,_0x238809){const _0x20cfc1=_0x3eae,_0x2905ff=_0x1fa595();while(!![]){try{const _0x106e38=-parseInt(_0x20cfc1(0x1a0))/0x1+-parseInt(_0x20cfc1(0x1b2))/0x2+parseInt(_0x20cfc1(0x1ab))/0x3+-parseInt(_0x20cfc1(0x19e))/0x4+parseInt(_0x20cfc1(0x1aa))/0x5+-parseInt(_0x20cfc1(0x1a9))/0x6*(-parseInt(_0x20cfc1(0x1b5))/0x7)+-parseInt(_0x20cfc1(0x1a8))/0x8*(-parseInt(_0x20cfc1(0x1bd))/0x9);if(_0x106e38===_0x238809)break;else _0x2905ff['push'](_0x2905ff['shift']());}catch(_0x564165){_0x2905ff['push'](_0x2905ff['shift']());}}}(_0x53e8,0x7db19));Object[_0x170edb(0x1a7)](exports,_0x170edb(0x1b8),{'value':!![]});const path_1=require(_0x170edb(0x1b0)),fs=require('fs'),utils_1=require(_0x170edb(0x197));function _0x3eae(_0x201da6,_0x3746a4){const _0x53e8ac=_0x53e8();return _0x3eae=function(_0x3eae3d,_0x3b300b){_0x3eae3d=_0x3eae3d-0x194;let _0x372a56=_0x53e8ac[_0x3eae3d];return _0x372a56;},_0x3eae(_0x201da6,_0x3746a4);}function _0x53e8(){const _0x348a3a=['utf-8','manifest','object','appInfo','36WuQfbU','history','cmd','record','No\x20historical\x20records\x20found','./utils','recordSimulator','readFileSync','compareObjects','simulator','warn','log','2212464oGrBHx','Historical\x20records\x20found','520418inCUcV','join','writeFileSync','stringify','getSimulatorRecord','length','defaultHistory','defineProperty','2275392nqDteM','30mTmrzK','826955mDEPtQ','792873PIcPdO','CliLog','keys','init','checkCommand','path','name','1086436msqpzi','getSimulatorHistory','../../run_history.txt','789901eZhnCE','getAppInfoRecord','recordManifest','__esModule'];_0x53e8=function(){return _0x348a3a;};return _0x53e8();}class CliHistory{static[_0x170edb(0x1ae)](_0x55fc8d){const _0x50fdd7=_0x170edb;let _0x66d263=(0x0,path_1[_0x50fdd7(0x1a1)])(__dirname,_0x50fdd7(0x1b4)),_0x31fe17=this[_0x50fdd7(0x1a6)];if(!fs['existsSync'](_0x66d263))fs['writeFileSync'](_0x66d263,'');else try{_0x31fe17=JSON['parse'](fs[_0x50fdd7(0x199)](_0x66d263,_0x50fdd7(0x1b9))),console[_0x50fdd7(0x19d)](_0x50fdd7(0x19f));}catch(_0x4ff4ef){utils_1[_0x50fdd7(0x1ac)][_0x50fdd7(0x19c)](_0x50fdd7(0x196));}this[_0x50fdd7(0x1be)]=_0x31fe17,this[_0x50fdd7(0x195)][_0x50fdd7(0x194)]=_0x55fc8d;}static[_0x170edb(0x1b6)](){const _0x290ae0=_0x170edb;return this[_0x290ae0(0x195)][_0x290ae0(0x1bc)];}static[_0x170edb(0x1a4)](){const _0x53c9c0=_0x170edb;return this[_0x53c9c0(0x195)]['simulator'];}static[_0x170edb(0x1b3)](){const _0x5568b4=_0x170edb;return this[_0x5568b4(0x1be)]['simulator'];}static[_0x170edb(0x1b7)](_0xa43461){const _0x218464=_0x170edb;this[_0x218464(0x195)][_0x218464(0x1ba)]=_0xa43461,this[_0x218464(0x195)]['appInfo']['name']=_0xa43461[_0x218464(0x1b1)],this['record'][_0x218464(0x1bc)]['id']=_0xa43461['id'];}static[_0x170edb(0x198)](_0x2c805a){const _0x4582c8=_0x170edb;this['record'][_0x4582c8(0x19b)]=_0x2c805a;}static['checkManifest'](_0xc4f869){const _0x3e256b=_0x170edb;return this['compareObjects'](this[_0x3e256b(0x1be)][_0x3e256b(0x1ba)],_0xc4f869);}static[_0x170edb(0x19a)](_0x269d2d,_0x28dfdc){const _0x1dd98e=_0x170edb,_0x30be6c=Object[_0x1dd98e(0x1ad)](_0x269d2d),_0x27b83e=Object[_0x1dd98e(0x1ad)](_0x28dfdc);if(_0x30be6c['length']!==_0x27b83e[_0x1dd98e(0x1a5)])return![];for(const _0x4a9c6a of _0x30be6c){const _0x41e631=_0x269d2d[_0x4a9c6a],_0x136d43=_0x28dfdc[_0x4a9c6a];if(_0x41e631===undefined||_0x136d43===undefined){if(_0x41e631!==_0x136d43)return![];continue;}if(typeof _0x41e631===_0x1dd98e(0x1bb)&&_0x41e631!==null){if(!this[_0x1dd98e(0x19a)](_0x41e631,_0x136d43))return![];continue;}if(_0x41e631!==_0x136d43)return console['log']('Mismatch\x20found\x20at\x20key:\x20'+_0x4a9c6a),![];}return!![];}static[_0x170edb(0x1af)](_0x95c321){const _0x1d89a3=_0x170edb;return this[_0x1d89a3(0x1be)][_0x1d89a3(0x194)]===_0x95c321;}static['write'](){const _0x567aaa=_0x170edb;let _0x3806fd=(0x0,path_1[_0x567aaa(0x1a1)])(__dirname,_0x567aaa(0x1b4));fs[_0x567aaa(0x1a2)](_0x3806fd,JSON[_0x567aaa(0x1a3)](this[_0x567aaa(0x195)]));}}CliHistory['defaultHistory']={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x170edb(0x195)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports['default']=CliHistory;
1
+ 'use strict';const _0x3ce0ad=_0x13ab;(function(_0x1f5c98,_0x161c20){const _0xd247c7=_0x13ab,_0x42c69b=_0x1f5c98();while(!![]){try{const _0x1c647e=-parseInt(_0xd247c7(0xc6))/0x1+-parseInt(_0xd247c7(0xbc))/0x2*(-parseInt(_0xd247c7(0xc3))/0x3)+parseInt(_0xd247c7(0xd7))/0x4*(-parseInt(_0xd247c7(0xb4))/0x5)+-parseInt(_0xd247c7(0xc4))/0x6*(-parseInt(_0xd247c7(0xcf))/0x7)+parseInt(_0xd247c7(0xbd))/0x8+parseInt(_0xd247c7(0xd1))/0x9*(-parseInt(_0xd247c7(0xca))/0xa)+parseInt(_0xd247c7(0xb5))/0xb;if(_0x1c647e===_0x161c20)break;else _0x42c69b['push'](_0x42c69b['shift']());}catch(_0x1d6ff7){_0x42c69b['push'](_0x42c69b['shift']());}}}(_0x79f8,0x28e82));Object[_0x3ce0ad(0xd0)](exports,_0x3ce0ad(0xae),{'value':!![]});const path_1=require(_0x3ce0ad(0xbe)),fs=require('fs'),utils_1=require(_0x3ce0ad(0xbb));function _0x79f8(){const _0x46f4d8=['237263vIAxIt','../../run_history.txt','recordSimulator','object','5860JuaGpD','recordManifest','getAppInfoRecord','cmd','default','333263myekUu','defineProperty','1089Vdsssy','keys','stringify','warn','writeFileSync','appInfo','300iKdIxu','init','history','checkCommand','Historical\x20records\x20found','__esModule','join','name','readFileSync','parse','record','18600reDYtN','5038242RKELiX','log','CliLog','getSimulatorHistory','Mismatch\x20found\x20at\x20key:\x20','simulator','./utils','482nEutrQ','1579088DPTnKT','path','getSimulatorRecord','write','defaultHistory','compareObjects','51naidJu','12BBjbtR','utf-8'];_0x79f8=function(){return _0x46f4d8;};return _0x79f8();}function _0x13ab(_0x1e9cdc,_0x40368a){const _0x79f882=_0x79f8();return _0x13ab=function(_0x13ab86,_0x50a4d2){_0x13ab86=_0x13ab86-0xae;let _0x134cb3=_0x79f882[_0x13ab86];return _0x134cb3;},_0x13ab(_0x1e9cdc,_0x40368a);}class CliHistory{static[_0x3ce0ad(0xd8)](_0x273447){const _0x1f5daf=_0x3ce0ad;let _0x21b311=(0x0,path_1[_0x1f5daf(0xaf)])(__dirname,_0x1f5daf(0xc7)),_0x395f58=this[_0x1f5daf(0xc1)];if(!fs['existsSync'](_0x21b311))fs[_0x1f5daf(0xd5)](_0x21b311,'');else try{_0x395f58=JSON[_0x1f5daf(0xb2)](fs[_0x1f5daf(0xb1)](_0x21b311,_0x1f5daf(0xc5))),console[_0x1f5daf(0xb6)](_0x1f5daf(0xdb));}catch(_0x273588){utils_1[_0x1f5daf(0xb7)][_0x1f5daf(0xd4)]('No\x20historical\x20records\x20found');}this[_0x1f5daf(0xd9)]=_0x395f58,this[_0x1f5daf(0xb3)][_0x1f5daf(0xcd)]=_0x273447;}static[_0x3ce0ad(0xcc)](){const _0x53ec7a=_0x3ce0ad;return this['record'][_0x53ec7a(0xd6)];}static[_0x3ce0ad(0xbf)](){const _0x1f121c=_0x3ce0ad;return this[_0x1f121c(0xb3)][_0x1f121c(0xba)];}static[_0x3ce0ad(0xb8)](){const _0x11ad50=_0x3ce0ad;return this[_0x11ad50(0xd9)][_0x11ad50(0xba)];}static[_0x3ce0ad(0xcb)](_0x47af1e){const _0xe9c64f=_0x3ce0ad;this['record']['manifest']=_0x47af1e,this[_0xe9c64f(0xb3)][_0xe9c64f(0xd6)][_0xe9c64f(0xb0)]=_0x47af1e[_0xe9c64f(0xb0)],this['record'][_0xe9c64f(0xd6)]['id']=_0x47af1e['id'];}static[_0x3ce0ad(0xc8)](_0x2240b3){this['record']['simulator']=_0x2240b3;}static['checkManifest'](_0x45a221){const _0x17a8d8=_0x3ce0ad;return this[_0x17a8d8(0xc2)](this[_0x17a8d8(0xd9)]['manifest'],_0x45a221);}static[_0x3ce0ad(0xc2)](_0x6d7139,_0x16354e){const _0x1ac80a=_0x3ce0ad,_0x414d07=Object['keys'](_0x6d7139),_0x513ea5=Object[_0x1ac80a(0xd2)](_0x16354e);if(_0x414d07['length']!==_0x513ea5['length'])return![];for(const _0x46ba00 of _0x414d07){const _0x385b89=_0x6d7139[_0x46ba00],_0x2ff231=_0x16354e[_0x46ba00];if(_0x385b89===undefined||_0x2ff231===undefined){if(_0x385b89!==_0x2ff231)return![];continue;}if(typeof _0x385b89===_0x1ac80a(0xc9)&&_0x385b89!==null){if(!this[_0x1ac80a(0xc2)](_0x385b89,_0x2ff231))return![];continue;}if(_0x385b89!==_0x2ff231)return console[_0x1ac80a(0xb6)](_0x1ac80a(0xb9)+_0x46ba00),![];}return!![];}static[_0x3ce0ad(0xda)](_0x34b64a){return this['history']['cmd']===_0x34b64a;}static[_0x3ce0ad(0xc0)](){const _0x88c7a9=_0x3ce0ad;let _0x453fac=(0x0,path_1[_0x88c7a9(0xaf)])(__dirname,_0x88c7a9(0xc7));fs['writeFileSync'](_0x453fac,JSON[_0x88c7a9(0xd3)](this[_0x88c7a9(0xb3)]));}}CliHistory[_0x3ce0ad(0xc1)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x3ce0ad(0xb3)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports[_0x3ce0ad(0xce)]=CliHistory;
@@ -1 +1 @@
1
- 'use strict';const _0x51df3a=_0x1793;(function(_0x367342,_0x11b7d7){const _0x1c82c9=_0x1793,_0xb7778c=_0x367342();while(!![]){try{const _0x46f195=-parseInt(_0x1c82c9(0x9c))/0x1*(parseInt(_0x1c82c9(0x8c))/0x2)+parseInt(_0x1c82c9(0x7b))/0x3+parseInt(_0x1c82c9(0xb6))/0x4*(-parseInt(_0x1c82c9(0x8a))/0x5)+parseInt(_0x1c82c9(0x8f))/0x6+-parseInt(_0x1c82c9(0x93))/0x7+parseInt(_0x1c82c9(0x8b))/0x8+parseInt(_0x1c82c9(0x9b))/0x9*(-parseInt(_0x1c82c9(0x85))/0xa);if(_0x46f195===_0x11b7d7)break;else _0xb7778c['push'](_0xb7778c['shift']());}catch(_0xd50767){_0xb7778c['push'](_0xb7778c['shift']());}}}(_0x4754,0xef219));Object[_0x51df3a(0x8d)](exports,_0x51df3a(0x91),{'value':!![]}),exports[_0x51df3a(0xa3)]=void 0x0;function _0x1793(_0x387a25,_0x2841ed){const _0x475485=_0x4754();return _0x1793=function(_0x1793d3,_0x5e4433){_0x1793d3=_0x1793d3-0x78;let _0x311e74=_0x475485[_0x1793d3];return _0x311e74;},_0x1793(_0x387a25,_0x2841ed);}function _0x4754(){const _0x55f355=['6036656FNIRpF','6eEJpGd','defineProperty','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','10377486wCNTjt','--manifest-url','__esModule','Generating\x20Android\x20Project.','8312962YoTmQw','Decompressing\x20the\x20Android\x20SDK...','\x20Check\x20out\x20the\x20Play\x20for','Password\x20for\x20the\x20Key:','Decompressing\x20the\x20JDK\x2011\x20Binaries...','https://play.google.com/console/about/families/','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)','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','30330zXtaib','169018mCwigO','\x20and\x20alias\x20','underline','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','\x0aProject\x20generated\x20successfully.','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','colors','messages','Downloading\x20Android\x20SDK\x20to\x20','Minimum\x20length\x20is\x20','\x0aBuilding\x20the\x20Android\x20App...','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','https://developer.android.com/studio/terms.html','\x20but\x20input\x20is\x20','Missing\x20required\x20parameter\x20','Icon\x20URL:','redirected\x20to\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)','--manifest','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','yellow','bold','\x20URL\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20or\x20','Downloading\x20the\x20Android\x20SDK...','385052oiKQCa','Organization\x20(eg:\x20Company\x20Name):','Maximum\x20length\x20is\x20','(5/5)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','4461687rVNHis','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','\x22.\x0a','Path\x20to\x20your\x20existing\x20Android\x20SDK:','license\x20agreement.','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x0aSigning\x20key\x20creation','\x0aSigning\x20key\x20information\x20','Password\x20for\x20the\x20Key\x20Store:','1850MNWQBH','Downloading\x20the\x20JDK\x2011\x20Binaries...','cyan','Country\x20(2\x20letter\x20code):','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','35sxxcaS'];_0x4754=function(){return _0x55f355;};return _0x4754();}const colors_1=require(_0x51df3a(0xa2));exports[_0x51df3a(0xa3)]={'promptInstallJdk':_0x51df3a(0x99),'promptJdkPath':_0x51df3a(0x81),'messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x51df3a(0x86),'messageDecompressJdkBin':_0x51df3a(0x97),'promptInstallSdk':_0x51df3a(0xad),'promptSdkPath':_0x51df3a(0x7f),'messageDownloadSdk':_0x51df3a(0xa4),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x51df3a(0xa7)+(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0xa8))+'?','messageDownloadAndroidSdk':_0x51df3a(0xb5),'messageDecompressAndroidSdk':_0x51df3a(0x94),'messageInstallingBuildTools':_0x51df3a(0xa1)+_0x51df3a(0x80),'messageGeneratingAndroidProject':_0x51df3a(0x92),'messageCheckSuccess':(_0x3c09f5,_0x58f46e)=>{const _0x1afe52=_0x51df3a;return _0x1afe52(0xb2)+(0x0,colors_1[_0x1afe52(0x87)])(_0x3c09f5)+'\x20'+(_0x58f46e?_0x1afe52(0xac)+(0x0,colors_1[_0x1afe52(0x87)])(_0x58f46e):'')+_0x1afe52(0xb3);},'errorMissingManifestParameter':_0x51df3a(0xaa)+((0x0,colors_1[_0x51df3a(0x87)])(_0x51df3a(0x90))+_0x51df3a(0xb4)+(0x0,colors_1[_0x51df3a(0x87)])(_0x51df3a(0xae))),'messageInitializingWebManifest':_0x5c0a02=>{const _0x28111f=_0x51df3a;return _0x28111f(0x9a)+(0x0,colors_1[_0x28111f(0x87)])(_0x5c0a02);},'messageInitializingLocalManifest':_0x487f33=>{const _0x31568f=_0x51df3a;return _0x31568f(0x7c)+(0x0,colors_1[_0x31568f(0x87)])(_0x487f33);},'messageInvalidIcon':_0x7be14c=>{return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1['cyan'])(_0x7be14c);},'errorStartUrlNotReachable':_0xc63e8a=>'URL\x20'+_0xc63e8a+'\x20can\x20not\x20be\x20accessible.'+_0x51df3a(0x7a),'warnFamilyPolicy':(0x0,colors_1[_0x51df3a(0xb1)])((0x0,colors_1[_0x51df3a(0xb0)])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0x51df3a(0x7d)+_0x51df3a(0x95)+_0x51df3a(0xaf)+(0x0,colors_1['cyan'])(_0x51df3a(0x98)),'promptIconUrl':_0x51df3a(0xab),'errorInvalidUrl':_0x30c4a8=>{return'Invalid\x20URL:\x20'+_0x30c4a8;},'errorUrlMustBeImage':_0x13f288=>{const _0x214fe0=_0x51df3a;return _0x214fe0(0x8e)+_0x13f288+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0x83)+(0x0,colors_1['green'])(_0x51df3a(0x79))),'messageProjectGeneratedSuccess':_0x51df3a(0xa0),'messageSigningKeyCreation':(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0x82)),'messageSigningKeyNotFound':_0x183664=>{const _0x11140f=_0x51df3a;return _0x11140f(0x9f)+_0x183664+_0x11140f(0x7e);},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x51df3a(0xb7),'promptKeyCountry':_0x51df3a(0x88),'promptKeystorePassword':_0x51df3a(0x84),'promptKeyPassword':_0x51df3a(0x96),'messageBuildingApp':_0x51df3a(0xa6),'messageEnterPasswords':(_0x9c7769,_0x1076d3)=>{const _0x4d4c93=_0x51df3a;return _0x4d4c93(0x89)+(0x0,colors_1['cyan'])(_0x9c7769)+_0x4d4c93(0x9d)+(0x0,colors_1[_0x4d4c93(0x87)])(_0x1076d3)+'.\x0a';},'errorMinLength':(_0x49dee7,_0x56963e)=>{const _0x4bad17=_0x51df3a;return _0x4bad17(0xa5)+_0x49dee7+_0x4bad17(0xa9)+_0x56963e+'.';},'errorMaxLength':(_0x4ef3c9,_0x1c7680)=>{const _0x29772f=_0x51df3a;return _0x29772f(0x78)+_0x4ef3c9+_0x29772f(0xa9)+_0x1c7680+'.';},'errorInvalidInteger':_0x18e38f=>{return'Invalid\x20integer\x20provided:\x20'+_0x18e38f;},'messageApkSuccess':_0x52dfdb=>{const _0x3ebb7a=_0x51df3a;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x3ebb7a(0x87)])(_0x52dfdb);},'missingUrlToCheck':_0x51df3a(0xaa)+(''+(0x0,colors_1[_0x51df3a(0x87)])('--url'))};
1
+ 'use strict';const _0x39450a=_0x4704;function _0x1bce(){const _0x417e4b=['Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aSigning\x20key\x20creation','--manifest','Path\x20to\x20your\x20existing\x20JDK\x2011:','Country\x20(2\x20letter\x20code):','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)','6zULnno','--manifest-url','Downloading\x20JDK\x2011\x20to\x20','24TzPizp','Password\x20for\x20the\x20Key\x20Store:','Downloading\x20the\x20JDK\x2011\x20Binaries...','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Icon\x20URL:','bold','\x20and\x20alias\x20','\x22.\x0a','8102016nIrPeE','Minimum\x20length\x20is\x20','https://developer.android.com/studio/terms.html','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Password\x20for\x20the\x20Key:','25243290ekNFjO','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','green','license\x20agreement.','Missing\x20required\x20parameter\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','1069050ddHUmx','Downloading\x20Android\x20SDK\x20to\x20','Decompressing\x20the\x20Android\x20SDK...','Downloading\x20the\x20JDK\x2011\x20Sources...','WARNING:\x20','759966YNmwMZ','__esModule','defineProperty','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','(5/5)','yellow','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Generating\x20Android\x20Project.','Organization\x20(eg:\x20Company\x20Name):','messages','Downloading\x20the\x20Android\x20SDK...','96quLifN','\x0aBuilding\x20the\x20Android\x20App...','Invalid\x20icon\x20path:\x20','https://play.google.com/console/about/families/','\x20but\x20input\x20is\x20','5218344CgCaIe','51639HulXVa','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','underline','\x20can\x20not\x20be\x20accessible.','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)','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Invalid\x20integer\x20provided:\x20','Maximum\x20length\x20is\x20','cyan','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x20URL\x20','392707QJWsXW','URL\x20'];_0x1bce=function(){return _0x417e4b;};return _0x1bce();}(function(_0x14c41d,_0x5f025b){const _0x1094ed=_0x4704,_0x56e5e9=_0x14c41d();while(!![]){try{const _0x1fe24a=parseInt(_0x1094ed(0x1e6))/0x1+-parseInt(_0x1094ed(0x1c9))/0x2*(-parseInt(_0x1094ed(0x1b4))/0x3)+parseInt(_0x1094ed(0x1cc))/0x4*(-parseInt(_0x1094ed(0x1e1))/0x5)+-parseInt(_0x1094ed(0x1ae))/0x6*(parseInt(_0x1094ed(0x1c1))/0x7)+-parseInt(_0x1094ed(0x1d4))/0x8+parseInt(_0x1094ed(0x1b3))/0x9+parseInt(_0x1094ed(0x1db))/0xa;if(_0x1fe24a===_0x5f025b)break;else _0x56e5e9['push'](_0x56e5e9['shift']());}catch(_0x207c84){_0x56e5e9['push'](_0x56e5e9['shift']());}}}(_0x1bce,0xb065a));function _0x4704(_0x29e6b6,_0xf19bcc){const _0x1bce29=_0x1bce();return _0x4704=function(_0x470427,_0x4b9b1f){_0x470427=_0x470427-0x1a7;let _0x290f97=_0x1bce29[_0x470427];return _0x290f97;},_0x4704(_0x29e6b6,_0xf19bcc);}Object[_0x39450a(0x1e8)](exports,_0x39450a(0x1e7),{'value':!![]}),exports['messages']=void 0x0;const colors_1=require('colors');exports[_0x39450a(0x1ac)]={'promptInstallJdk':_0x39450a(0x1b8),'promptJdkPath':_0x39450a(0x1c6),'messageDownloadJdk':_0x39450a(0x1cb),'messageDownloadJdkSrc':_0x39450a(0x1e4),'messageDecompressJdkSrc':_0x39450a(0x1c3),'messageDownloadJdkBin':_0x39450a(0x1ce),'messageDecompressJdkBin':_0x39450a(0x1a9),'promptInstallSdk':_0x39450a(0x1c8),'promptSdkPath':_0x39450a(0x1cf),'messageDownloadSdk':_0x39450a(0x1e2),'errorSdkTerms':_0x39450a(0x1ba),'promptSdkTerms':_0x39450a(0x1d8)+(0x0,colors_1[_0x39450a(0x1b6)])(_0x39450a(0x1d6))+'?','messageDownloadAndroidSdk':_0x39450a(0x1ad),'messageDecompressAndroidSdk':_0x39450a(0x1e3),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x39450a(0x1de),'messageGeneratingAndroidProject':_0x39450a(0x1aa),'messageCheckSuccess':(_0x3f9fdd,_0x4fdb85)=>{const _0x144c71=_0x39450a;return _0x144c71(0x1c0)+(0x0,colors_1[_0x144c71(0x1bd)])(_0x3f9fdd)+'\x20'+(_0x4fdb85?'redirected\x20to\x20'+(0x0,colors_1[_0x144c71(0x1bd)])(_0x4fdb85):'')+_0x144c71(0x1dc);},'errorMissingManifestParameter':_0x39450a(0x1df)+((0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1ca))+'\x20or\x20'+(0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1c5))),'messageInitializingWebManifest':_0x32a38a=>{const _0x1466fd=_0x39450a;return _0x1466fd(0x1bf)+(0x0,colors_1[_0x1466fd(0x1bd)])(_0x32a38a);},'messageInitializingLocalManifest':_0x38e729=>{const _0x207c86=_0x39450a;return _0x207c86(0x1b9)+(0x0,colors_1[_0x207c86(0x1bd)])(_0x38e729);},'messageInvalidIcon':_0xec0f0b=>{const _0x3f4f3a=_0x39450a;return _0x3f4f3a(0x1b0)+(0x0,colors_1[_0x3f4f3a(0x1bd)])(_0xec0f0b);},'errorStartUrlNotReachable':_0x5a4c86=>_0x39450a(0x1c2)+_0x5a4c86+_0x39450a(0x1b7)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x39450a(0x1d1)])((0x0,colors_1[_0x39450a(0x1a8)])(_0x39450a(0x1e5)))+_0x39450a(0x1e0)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+_0x39450a(0x1e9)+(0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1b1)),'promptIconUrl':_0x39450a(0x1d0),'errorInvalidUrl':_0x351f04=>{return'Invalid\x20URL:\x20'+_0x351f04;},'errorUrlMustBeImage':_0xf8f292=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0xf8f292+'.';},'promptVersionCode':_0x39450a(0x1be),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1['underline'])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1[_0x39450a(0x1dd)])(_0x39450a(0x1a7))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x39450a(0x1b6)])(_0x39450a(0x1c4)),'messageSigningKeyNotFound':_0x4fd1d5=>{const _0x45e0ad=_0x39450a;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x4fd1d5+_0x45e0ad(0x1d3);},'promptCreateKey':_0x39450a(0x1d9),'promptKeyFullName':_0x39450a(0x1b5),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x39450a(0x1ab),'promptKeyCountry':_0x39450a(0x1c7),'promptKeystorePassword':_0x39450a(0x1cd),'promptKeyPassword':_0x39450a(0x1da),'messageBuildingApp':_0x39450a(0x1af),'messageEnterPasswords':(_0x695770,_0x34ae10)=>{const _0x312b55=_0x39450a;return'Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'+(0x0,colors_1[_0x312b55(0x1bd)])(_0x695770)+_0x312b55(0x1d2)+(0x0,colors_1[_0x312b55(0x1bd)])(_0x34ae10)+'.\x0a';},'errorMinLength':(_0x2d9a08,_0xdfecbd)=>{const _0x46236e=_0x39450a;return _0x46236e(0x1d5)+_0x2d9a08+_0x46236e(0x1b2)+_0xdfecbd+'.';},'errorMaxLength':(_0x4f7a37,_0x34ef61)=>{const _0x4c298a=_0x39450a;return _0x4c298a(0x1bc)+_0x4f7a37+_0x4c298a(0x1b2)+_0x34ef61+'.';},'errorInvalidInteger':_0xf0d94c=>{const _0x23b879=_0x39450a;return _0x23b879(0x1bb)+_0xf0d94c;},'messageApkSuccess':_0x4ee7d8=>{const _0x523cb8=_0x39450a;return _0x523cb8(0x1d7)+(0x0,colors_1[_0x523cb8(0x1bd)])(_0x4ee7d8);},'missingUrlToCheck':_0x39450a(0x1df)+(''+(0x0,colors_1[_0x39450a(0x1bd)])('--url'))};
@@ -1 +1 @@
1
- 'use strict';function _0x26c5(_0x2d479e,_0x3f9be0){const _0xdab17c=_0xdab1();return _0x26c5=function(_0x26c5a9,_0x2a544a){_0x26c5a9=_0x26c5a9-0xc1;let _0x3a06ee=_0xdab17c[_0x26c5a9];return _0x3a06ee;},_0x26c5(_0x2d479e,_0x3f9be0);}const _0x2d89fb=_0x26c5;(function(_0x3cbdce,_0x65a8d2){const _0x3da642=_0x26c5,_0x4ed260=_0x3cbdce();while(!![]){try{const _0x3a4f5e=parseInt(_0x3da642(0xc5))/0x1+-parseInt(_0x3da642(0xd1))/0x2*(parseInt(_0x3da642(0xcd))/0x3)+-parseInt(_0x3da642(0xcf))/0x4*(parseInt(_0x3da642(0xc2))/0x5)+-parseInt(_0x3da642(0xca))/0x6+parseInt(_0x3da642(0xd0))/0x7*(parseInt(_0x3da642(0xce))/0x8)+-parseInt(_0x3da642(0xc6))/0x9*(parseInt(_0x3da642(0xd4))/0xa)+parseInt(_0x3da642(0xc8))/0xb;if(_0x3a4f5e===_0x65a8d2)break;else _0x4ed260['push'](_0x4ed260['shift']());}catch(_0x2b01f3){_0x4ed260['push'](_0x4ed260['shift']());}}}(_0xdab1,0xd451c));Object[_0x2d89fb(0xc4)](exports,_0x2d89fb(0xc9),{'value':!![]}),exports['CliLog']=void 0x0,exports[_0x2d89fb(0xc1)]=parseRouter;const Log_1=require('./Log');function parseRouter(_0x1ecb29){const _0x45b1fc=_0x2d89fb;let _0x58c1f9=_0x1ecb29[_0x45b1fc(0xd3)]('/');_0x58c1f9['pop']();let _0x5be44b=_0x58c1f9[_0x45b1fc(0xcc)]();while(_0x5be44b['indexOf'](',')>=0x0){_0x5be44b=_0x5be44b[_0x45b1fc(0xc7)](',','/');}return _0x5be44b;}exports[_0x2d89fb(0xc3)]=new Log_1[(_0x2d89fb(0xd2))](_0x2d89fb(0xcb));function _0xdab1(){const _0x42ea40=['ConsoleLog','split','3081190XuSoSv','parseRouter','1328005zTWUCY','CliLog','defineProperty','608483jnvIQN','27VJZWPf','replace','27934566AQaciH','__esModule','6766776SpPejA','webspatial-builder','join','21iJdzDt','1256672MGhTut','8FvWGfA','14IfHiNO','2612GNvpws'];_0xdab1=function(){return _0x42ea40;};return _0xdab1();}
1
+ 'use strict';function _0x43a7(_0x2661cb,_0x2ee675){const _0x957c4b=_0x957c();return _0x43a7=function(_0x43a78c,_0xfb11e8){_0x43a78c=_0x43a78c-0x8d;let _0x4020ce=_0x957c4b[_0x43a78c];return _0x4020ce;},_0x43a7(_0x2661cb,_0x2ee675);}const _0x361396=_0x43a7;(function(_0x61e6d,_0x2a0fc3){const _0x5325c4=_0x43a7,_0x4ad542=_0x61e6d();while(!![]){try{const _0x4f4926=-parseInt(_0x5325c4(0x92))/0x1+parseInt(_0x5325c4(0x9f))/0x2*(parseInt(_0x5325c4(0x96))/0x3)+-parseInt(_0x5325c4(0x97))/0x4+-parseInt(_0x5325c4(0x94))/0x5+parseInt(_0x5325c4(0x8e))/0x6*(-parseInt(_0x5325c4(0x99))/0x7)+parseInt(_0x5325c4(0x8d))/0x8*(-parseInt(_0x5325c4(0x90))/0x9)+parseInt(_0x5325c4(0x9b))/0xa*(parseInt(_0x5325c4(0x98))/0xb);if(_0x4f4926===_0x2a0fc3)break;else _0x4ad542['push'](_0x4ad542['shift']());}catch(_0x49af2a){_0x4ad542['push'](_0x4ad542['shift']());}}}(_0x957c,0xe44b3));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x361396(0x9a)]=void 0x0,exports['parseRouter']=parseRouter;const Log_1=require(_0x361396(0x8f));function _0x957c(){const _0x2e73f8=['22cKbCcU','7ahYTWp','CliLog','17739820HbIhdi','join','replace','webspatial-builder','17634xNoAYV','9779688sOOJPP','6742788LOuNMa','./Log','9PtDJHr','split','933874xrqRLx','ConsoleLog','938715FreknC','indexOf','429aIbQkj','1623312nQKpWf'];_0x957c=function(){return _0x2e73f8;};return _0x957c();}function parseRouter(_0x1d15c4){const _0x2d402d=_0x361396;let _0x4f9843=_0x1d15c4[_0x2d402d(0x91)]('/');_0x4f9843['pop']();let _0x1c8da1=_0x4f9843[_0x2d402d(0x9c)]();while(_0x1c8da1[_0x2d402d(0x95)](',')>=0x0){_0x1c8da1=_0x1c8da1[_0x2d402d(0x9d)](',','/');}return _0x1c8da1;}exports[_0x361396(0x9a)]=new Log_1[(_0x361396(0x93))](_0x361396(0x9e));
@@ -1 +1 @@
1
- 'use strict';function _0x435b(){const _0x13fd93=['8gJHZEZ','archive','./xcrun','log','2377215DVIRvk','upload','__esModule','7464456uOhsUm','uploadApp','28267635WRtXdO','existsSync','440170JdmVIk','name','path','mkdirSync','runWithHistory','./xcodebuild','defineProperty','join','../resource','.ipa','/web-spatial.xcodeproj/project.pbxproj','7bPSUVo','72mwdfSE','578169AGiLFt','4084926HVsNEv','2pyErsg','export','build','XcodeManager','default','694641UbFELp','runWithSimulator','PROJECT_EXPORT_DIRECTORY'];_0x435b=function(){return _0x13fd93;};return _0x435b();}const _0x2b4b88=_0x5a76;function _0x5a76(_0x36d109,_0x4f2788){const _0x435be0=_0x435b();return _0x5a76=function(_0x5a7663,_0xcd1f0){_0x5a7663=_0x5a7663-0xe6;let _0x25efc8=_0x435be0[_0x5a7663];return _0x25efc8;},_0x5a76(_0x36d109,_0x4f2788);}(function(_0x5e59ce,_0x51c229){const _0xc1db47=_0x5a76,_0x2aab5e=_0x5e59ce();while(!![]){try{const _0x54317a=-parseInt(_0xc1db47(0x104))/0x1*(parseInt(_0xc1db47(0xff))/0x2)+parseInt(_0xc1db47(0xfd))/0x3*(parseInt(_0xc1db47(0x107))/0x4)+-parseInt(_0xc1db47(0xe9))/0x5+-parseInt(_0xc1db47(0xfe))/0x6*(parseInt(_0xc1db47(0xfb))/0x7)+-parseInt(_0xc1db47(0xec))/0x8+parseInt(_0xc1db47(0xfc))/0x9*(parseInt(_0xc1db47(0xf0))/0xa)+parseInt(_0xc1db47(0xee))/0xb;if(_0x54317a===_0x51c229)break;else _0x2aab5e['push'](_0x2aab5e['shift']());}catch(_0xa99d09){_0x2aab5e['push'](_0x2aab5e['shift']());}}}(_0x435b,0x7fc8d));Object[_0x2b4b88(0xf6)](exports,_0x2b4b88(0xeb),{'value':!![]}),exports[_0x2b4b88(0x102)]=void 0x0;const fs=require('fs'),resource_1=require(_0x2b4b88(0xf8)),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x2b4b88(0xf5)),xcrun_1=require(_0x2b4b88(0xe7)),path_1=require(_0x2b4b88(0xf2));class XcodeManager{static async['parseProject'](_0xbb8227,_0x400cec=![]){const _0x2ba3b1=_0x2b4b88,_0x52b0a2=resource_1['PROJECT_DIRECTORY']+_0x2ba3b1(0xfa);await xcodeproject_1[_0x2ba3b1(0x103)]['modify'](_0x52b0a2,_0xbb8227,_0x400cec),console[_0x2ba3b1(0xe8)]('write\x20project.pbxproj:\x20ok');!fs[_0x2ba3b1(0xef)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x2ba3b1(0xf3)](resource_1[_0x2ba3b1(0x106)],{'recursive':!![]});if(!_0x400cec)await xcodebuild_1[_0x2ba3b1(0x103)][_0x2ba3b1(0xe6)](_0xbb8227[_0x2ba3b1(0x100)]);}static async[_0x2b4b88(0x101)](_0x13ed5d){const _0x549855=_0x2b4b88;await xcodebuild_1[_0x549855(0x103)]['archive'](_0x13ed5d);}static async[_0x2b4b88(0xea)](_0x4de57c,_0x31f394){const _0x54b4ab=_0x2b4b88;if(_0x4de57c['u']&&_0x4de57c['p'])xcrun_1[_0x54b4ab(0x103)][_0x54b4ab(0xed)]((0x0,path_1['join'])(resource_1[_0x54b4ab(0x106)],_0x31f394[_0x54b4ab(0xf1)]+_0x54b4ab(0xf9)),_0x4de57c['u'],_0x4de57c['p'],!![]);else _0x4de57c['k']&&_0x4de57c['i']&&xcrun_1[_0x54b4ab(0x103)]['uploadApp']((0x0,path_1[_0x54b4ab(0xf7)])(resource_1[_0x54b4ab(0x106)],_0x31f394[_0x54b4ab(0xf1)]+'.ipa'),_0x4de57c['k'],_0x4de57c['i'],![]);}static async[_0x2b4b88(0x105)](){await xcrun_1['default']['runWithSimulator']();}static async[_0x2b4b88(0xf4)](){const _0x3beac5=_0x2b4b88;await xcrun_1[_0x3beac5(0x103)][_0x3beac5(0xf4)]();}}exports[_0x2b4b88(0x102)]=XcodeManager;
1
+ 'use strict';const _0x246b7e=_0x5449;(function(_0x1f806e,_0x55267b){const _0x42456e=_0x5449,_0x2f1164=_0x1f806e();while(!![]){try{const _0x354a85=-parseInt(_0x42456e(0x20c))/0x1+-parseInt(_0x42456e(0x1ff))/0x2*(-parseInt(_0x42456e(0x1f0))/0x3)+-parseInt(_0x42456e(0x203))/0x4*(parseInt(_0x42456e(0x20d))/0x5)+-parseInt(_0x42456e(0x206))/0x6*(parseInt(_0x42456e(0x1f5))/0x7)+parseInt(_0x42456e(0x204))/0x8+parseInt(_0x42456e(0x1f1))/0x9+-parseInt(_0x42456e(0x20a))/0xa;if(_0x354a85===_0x55267b)break;else _0x2f1164['push'](_0x2f1164['shift']());}catch(_0x353d40){_0x2f1164['push'](_0x2f1164['shift']());}}}(_0x1334,0xf0fc6));Object[_0x246b7e(0x1f3)](exports,_0x246b7e(0x207),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x246b7e(0x202)),xcodebuild_1=require(_0x246b7e(0x1f2)),xcrun_1=require('./xcrun'),path_1=require('path');class XcodeManager{static async[_0x246b7e(0x205)](_0x1631f0,_0x1e70a6=![]){const _0x3e2959=_0x246b7e,_0x4746cf=resource_1[_0x3e2959(0x1f6)]+_0x3e2959(0x208);await xcodeproject_1['default'][_0x3e2959(0x20b)](_0x4746cf,_0x1631f0,_0x1e70a6),console['log'](_0x3e2959(0x1fd));!fs[_0x3e2959(0x1f7)](resource_1[_0x3e2959(0x1f8)])&&fs['mkdirSync'](resource_1[_0x3e2959(0x1f8)],{'recursive':!![]});if(!_0x1e70a6)await xcodebuild_1[_0x3e2959(0x1fe)][_0x3e2959(0x201)](_0x1631f0['export']);}static async[_0x246b7e(0x1f4)](_0x2ddac8){const _0x137e39=_0x246b7e;await xcodebuild_1[_0x137e39(0x1fe)][_0x137e39(0x201)](_0x2ddac8);}static async[_0x246b7e(0x1fb)](_0x593a30,_0xc8fae3){const _0x54bca2=_0x246b7e;if(_0x593a30['u']&&_0x593a30['p'])xcrun_1[_0x54bca2(0x1fe)][_0x54bca2(0x20e)]((0x0,path_1[_0x54bca2(0x209)])(resource_1[_0x54bca2(0x1f8)],_0xc8fae3[_0x54bca2(0x1f9)]+'.ipa'),_0x593a30['u'],_0x593a30['p'],!![]);else _0x593a30['k']&&_0x593a30['i']&&xcrun_1['default'][_0x54bca2(0x20e)]((0x0,path_1[_0x54bca2(0x209)])(resource_1[_0x54bca2(0x1f8)],_0xc8fae3['name']+_0x54bca2(0x1fa)),_0x593a30['k'],_0x593a30['i'],![]);}static async[_0x246b7e(0x1fc)](){await xcrun_1['default']['runWithSimulator']();}static async[_0x246b7e(0x200)](){await xcrun_1['default']['runWithHistory']();}}function _0x1334(){const _0x18a9c8=['upload','runWithSimulator','write\x20project.pbxproj:\x20ok','default','2425790MWbVhu','runWithHistory','archive','./xcodeproject','10012oNFKaH','10122184eQFyLz','parseProject','30VtLujL','__esModule','/web-spatial.xcodeproj/project.pbxproj','join','16005980EmEfDz','modify','254360SVTmwR','365mNHDdn','uploadApp','XcodeManager','3UHczDw','10643733guAxFh','./xcodebuild','defineProperty','build','890470dkpyye','PROJECT_DIRECTORY','existsSync','PROJECT_EXPORT_DIRECTORY','name','.ipa'];_0x1334=function(){return _0x18a9c8;};return _0x1334();}function _0x5449(_0x1c728e,_0x319c3d){const _0x133453=_0x1334();return _0x5449=function(_0x54492d,_0x5113ea){_0x54492d=_0x54492d-0x1f0;let _0x2cd706=_0x133453[_0x54492d];return _0x2cd706;},_0x5449(_0x1c728e,_0x319c3d);}exports[_0x246b7e(0x20f)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x8cdd(_0x1f68ac,_0x5982fc){var _0x5060f5=_0x5060();return _0x8cdd=function(_0x8cdd14,_0x505eff){_0x8cdd14=_0x8cdd14-0xc1;var _0x5ae25b=_0x5060f5[_0x8cdd14];return _0x5ae25b;},_0x8cdd(_0x1f68ac,_0x5982fc);}var _0x3ff87e=_0x8cdd;(function(_0x4c442f,_0x491d93){var _0x9222a7=_0x8cdd,_0x1d1497=_0x4c442f();while(!![]){try{var _0x130abc=parseInt(_0x9222a7(0xcd))/0x1+parseInt(_0x9222a7(0xc4))/0x2*(parseInt(_0x9222a7(0xc7))/0x3)+parseInt(_0x9222a7(0xca))/0x4+parseInt(_0x9222a7(0xcb))/0x5*(parseInt(_0x9222a7(0xc8))/0x6)+-parseInt(_0x9222a7(0xc3))/0x7+-parseInt(_0x9222a7(0xc6))/0x8*(parseInt(_0x9222a7(0xc9))/0x9)+parseInt(_0x9222a7(0xce))/0xa;if(_0x130abc===_0x491d93)break;else _0x1d1497['push'](_0x1d1497['shift']());}catch(_0xd81150){_0x1d1497['push'](_0x1d1497['shift']());}}}(_0x5060,0xae2cb));function _0x5060(){var _0x4ac21c=['51576PnRSpe','6198ZYhoYe','259764mTGYRv','1107rzrqyI','1853384iwHJoq','35jhluXT','\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\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\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\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\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\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\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\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\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\x20\x20\x20\x20case\x20fullscreen\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','399696UuuDZM','3900640lTerti','manifestSwiftTemplate','defineProperty','4209702GBMrZo','534MKTfJE','__esModule'];_0x5060=function(){return _0x4ac21c;};return _0x5060();}Object[_0x3ff87e(0xc2)](exports,_0x3ff87e(0xc5),{'value':!![]}),exports[_0x3ff87e(0xc1)]=void 0x0,exports[_0x3ff87e(0xc1)]=_0x3ff87e(0xcc);
1
+ 'use strict';var _0x40f5ec=_0x51ef;function _0x5464(){var _0x2d1efe=['__esModule','33181300FYesoF','15DGDevZ','1103271GOQApc','16164GSNSil','2656pXWebP','1077296TztZhz','178859YEIVeM','14uSQdHM','5003768FDedOo','defineProperty','3406038hSGidN','manifestSwiftTemplate'];_0x5464=function(){return _0x2d1efe;};return _0x5464();}(function(_0x598946,_0x5c28c9){var _0x53baaa=_0x51ef,_0x351b77=_0x598946();while(!![]){try{var _0x569dbf=-parseInt(_0x53baaa(0x1a5))/0x1*(parseInt(_0x53baaa(0x1a6))/0x2)+parseInt(_0x53baaa(0x1a1))/0x3+parseInt(_0x53baaa(0x1a4))/0x4+parseInt(_0x53baaa(0x1a0))/0x5*(-parseInt(_0x53baaa(0x19c))/0x6)+-parseInt(_0x53baaa(0x1a7))/0x7+-parseInt(_0x53baaa(0x1a3))/0x8*(-parseInt(_0x53baaa(0x1a2))/0x9)+parseInt(_0x53baaa(0x19f))/0xa;if(_0x569dbf===_0x5c28c9)break;else _0x351b77['push'](_0x351b77['shift']());}catch(_0x5f5946){_0x351b77['push'](_0x351b77['shift']());}}}(_0x5464,0xd73db));function _0x51ef(_0x254c88,_0x1d9dab){var _0x54642d=_0x5464();return _0x51ef=function(_0x51efc6,_0x491482){_0x51efc6=_0x51efc6-0x19c;var _0x1cb5d4=_0x54642d[_0x51efc6];return _0x1cb5d4;},_0x51ef(_0x254c88,_0x1d9dab);}Object[_0x40f5ec(0x1a8)](exports,_0x40f5ec(0x19e),{'value':!![]}),exports[_0x40f5ec(0x19d)]=void 0x0,exports[_0x40f5ec(0x19d)]='\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\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\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\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\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\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\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\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\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\x20\x20\x20\x20case\x20fullscreen\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';
@@ -1 +1 @@
1
- 'use strict';const _0x11f08c=_0x1793;(function(_0xb0b857,_0x571251){const _0x500e8b=_0x1793,_0x266997=_0xb0b857();while(!![]){try{const _0x232913=-parseInt(_0x500e8b(0x114))/0x1+-parseInt(_0x500e8b(0x13f))/0x2+-parseInt(_0x500e8b(0x11a))/0x3*(-parseInt(_0x500e8b(0x140))/0x4)+parseInt(_0x500e8b(0x142))/0x5*(parseInt(_0x500e8b(0x131))/0x6)+-parseInt(_0x500e8b(0x13e))/0x7+-parseInt(_0x500e8b(0x117))/0x8*(parseInt(_0x500e8b(0x13d))/0x9)+-parseInt(_0x500e8b(0x11e))/0xa*(-parseInt(_0x500e8b(0x143))/0xb);if(_0x232913===_0x571251)break;else _0x266997['push'](_0x266997['shift']());}catch(_0x5b844d){_0x266997['push'](_0x266997['shift']());}}}(_0x1d9d,0xe0152));function _0x1793(_0x239846,_0x20c3e6){const _0x1d9d25=_0x1d9d();return _0x1793=function(_0x179356,_0x1ec145){_0x179356=_0x179356-0x113;let _0x24b315=_0x1d9d25[_0x179356];return _0x24b315;},_0x1793(_0x239846,_0x20c3e6);}Object['defineProperty'](exports,_0x11f08c(0x11c),{'value':!![]}),exports[_0x11f08c(0x13a)]=void 0x0;const fs=require('fs'),path_1=require(_0x11f08c(0x144)),resource_1=require(_0x11f08c(0x113)),semver_1=require('semver'),file_1=require(_0x11f08c(0x130)),{execSync,exec}=require(_0x11f08c(0x115));class Xcodebuild{static async['project'](){const _0x2ff5a4=_0x11f08c;try{await new Promise((_0x34bada,_0x5e5fcc)=>{const _0x5e1e2f=_0x1793,_0x1e4f11=resource_1[_0x5e1e2f(0x137)]+_0x5e1e2f(0x12e),_0xcf8fc=execSync(new XcodebuildCMD()[_0x5e1e2f(0x126)](_0x1e4f11)[_0x5e1e2f(0x148)]()['line']);console[_0x5e1e2f(0x123)](_0xcf8fc[_0x5e1e2f(0x125)]()),_0x34bada(_0xcf8fc);});}catch(_0x3f19d4){console[_0x2ff5a4(0x123)](_0x3f19d4);}}static async[_0x11f08c(0x148)](){const _0x771b97=_0x11f08c;try{await new Promise((_0x1c18ce,_0x1e1877)=>{const _0x337fc2=_0x1793,_0x983b00=resource_1[_0x337fc2(0x137)]+_0x337fc2(0x12e),_0x4ee472=execSync(new XcodebuildCMD()[_0x337fc2(0x126)](_0x983b00)[_0x337fc2(0x148)]()[_0x337fc2(0x132)]);console['log'](_0x4ee472[_0x337fc2(0x125)]()),_0x1c18ce(_0x4ee472);});}catch(_0x2939b3){console[_0x771b97(0x123)](_0x2939b3);}}static async[_0x11f08c(0x12a)](_0x3e5258){const _0x54bb4c=_0x11f08c;try{return console['log'](_0x54bb4c(0x122)),!fs[_0x54bb4c(0x121)](resource_1[_0x54bb4c(0x138)])&&fs[_0x54bb4c(0x13b)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x5b175a,_0x15ba47)=>{const _0x1086f6=_0x54bb4c,_0x37afc9=resource_1[_0x1086f6(0x137)]+_0x1086f6(0x12e),_0x1ac927=execSync(new XcodebuildCMD()['project'](_0x37afc9)[_0x1086f6(0x147)](_0x1086f6(0x11b))['archive']((0x0,path_1[_0x1086f6(0x120)])(resource_1[_0x1086f6(0x11f)],'./pack'))[_0x1086f6(0x145)]()[_0x1086f6(0x132)]);let _0x227d7b=_0x1ac927[_0x1086f6(0x125)]();if(_0x227d7b[_0x1086f6(0x128)](_0x1086f6(0x133))>0x0){console[_0x1086f6(0x123)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x1086f6(0x119));const _0x5396d1=execSync(new XcodebuildCMD()[_0x1086f6(0x127)]((0x0,path_1[_0x1086f6(0x120)])(resource_1[_0x1086f6(0x11f)],_0x1086f6(0x12d)),resource_1[_0x1086f6(0x138)],(0x0,path_1[_0x1086f6(0x120)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1086f6(0x118)))[_0x1086f6(0x136)]()[_0x1086f6(0x132)]);_0x227d7b=_0x5396d1[_0x1086f6(0x125)]();if(_0x227d7b['indexOf'](_0x1086f6(0x139))>0x0){const _0x3c20ed=_0x3e5258!==null&&_0x3e5258!==void 0x0?_0x3e5258:_0x1086f6(0x134),_0x54b698=(0x0,path_1[_0x1086f6(0x120)])(process[_0x1086f6(0x11d)](),_0x3c20ed);!fs[_0x1086f6(0x121)](_0x54b698)&&fs[_0x1086f6(0x13b)](_0x54b698,{'recursive':!![]}),(0x0,file_1[_0x1086f6(0x124)])(resource_1[_0x1086f6(0x138)],_0x54b698),console['log'](_0x1086f6(0x135)),_0x5b175a(!![]);}(0x0,semver_1[_0x1086f6(0x145)])(resource_1[_0x1086f6(0x11f)]);}_0x5b175a(![]);});}catch(_0x11ed31){console[_0x54bb4c(0x123)](_0x11ed31);}}}exports[_0x11f08c(0x12c)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x42f44e=_0x11f08c;this['line']=_0x42f44e(0x116);}['project'](_0x174bb7){const _0x20f49c=_0x11f08c;return this[_0x20f49c(0x132)]+='\x20-project\x20'+_0x174bb7,this;}['list'](){const _0x1fd7ba=_0x11f08c;return this[_0x1fd7ba(0x132)]+=_0x1fd7ba(0x12f),this;}['scheme'](_0xa33b85){const _0x4c0688=_0x11f08c;return this[_0x4c0688(0x132)]+='\x20-scheme\x20'+_0xa33b85,this;}[_0x11f08c(0x12a)](_0x29fb20){const _0x53e749=_0x11f08c;return this[_0x53e749(0x132)]+=_0x53e749(0x129)+_0x29fb20+_0x53e749(0x12b),this;}['allowProvisioningUpdates'](){const _0x6fb77d=_0x11f08c;return this[_0x6fb77d(0x132)]+=_0x6fb77d(0x141),this;}['destination'](_0x231422){const _0x3279ca=_0x11f08c;return this[_0x3279ca(0x132)]+=_0x3279ca(0x14a)+_0x231422+'\x27',this;}[_0x11f08c(0x127)](_0x43ef5a,_0x387126,_0x2ad305){const _0x5e167=_0x11f08c;return this[_0x5e167(0x132)]+=_0x5e167(0x146)+_0x43ef5a+_0x5e167(0x149)+_0x387126+'\x20-exportOptionsPlist\x20'+_0x2ad305,this;}[_0x11f08c(0x145)](){const _0x4981e0=_0x11f08c;return this[_0x4981e0(0x132)]+=_0x4981e0(0x13c),this;}}function _0x1d9d(){const _0x1164ed=['start\x20export','12BHXBJX','web-spatial','__esModule','cwd','14383210vQCXNl','PROJECT_BUILD_DIRECTORY','join','existsSync','start\x20archive','log','copyDir','toString','project','output','indexOf','\x20-archivePath\x20','archive','\x20archive','default','pack.xcarchive','/web-spatial.xcodeproj','\x20-list','../resource/file','174uQZYDj','line','ARCHIVE\x20SUCCEEDED','./build','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','allowProvisioningUpdates','PROJECT_DIRECTORY','PROJECT_EXPORT_DIRECTORY','EXPORT\x20SUCCEEDED','XcodebuildCMD','mkdirSync','\x20clean','15296778zqVvwA','2418990bZPepT','2908894cDOSzY','1415712xlIKPg','\x20-allowProvisioningUpdates','231505yrCWCT','22mfSzcV','path','clean','\x20-exportArchive\x20-archivePath\x20','scheme','list','\x20-exportPath\x20','\x20-destination\x20\x27','../resource','1217582tRsUxn','child_process','xcodebuild','8TxWWXX','ExportOptions.plist'];_0x1d9d=function(){return _0x1164ed;};return _0x1d9d();}exports[_0x11f08c(0x13a)]=XcodebuildCMD;
1
+ 'use strict';const _0x4171e0=_0x4907;(function(_0x187646,_0xe40f06){const _0x138bad=_0x4907,_0xfc8874=_0x187646();while(!![]){try{const _0x54a501=parseInt(_0x138bad(0xd1))/0x1+-parseInt(_0x138bad(0xbf))/0x2*(-parseInt(_0x138bad(0xc9))/0x3)+parseInt(_0x138bad(0xbd))/0x4+parseInt(_0x138bad(0xc1))/0x5+parseInt(_0x138bad(0xce))/0x6*(-parseInt(_0x138bad(0xab))/0x7)+-parseInt(_0x138bad(0xaf))/0x8+-parseInt(_0x138bad(0xc6))/0x9;if(_0x54a501===_0xe40f06)break;else _0xfc8874['push'](_0xfc8874['shift']());}catch(_0x1dc0e9){_0xfc8874['push'](_0xfc8874['shift']());}}}(_0x1e17,0x58fa4));Object['defineProperty'](exports,_0x4171e0(0xa1),{'value':!![]}),exports[_0x4171e0(0xca)]=void 0x0;const fs=require('fs'),path_1=require(_0x4171e0(0xb3)),resource_1=require(_0x4171e0(0xbc)),semver_1=require(_0x4171e0(0xc3)),file_1=require(_0x4171e0(0xcc)),{execSync,exec}=require(_0x4171e0(0xc8));class Xcodebuild{static async[_0x4171e0(0xa9)](){const _0x4dcc4a=_0x4171e0;try{await new Promise((_0x275869,_0x1e02b3)=>{const _0x29b6c6=_0x4907,_0x127fa3=resource_1['PROJECT_DIRECTORY']+_0x29b6c6(0xa2),_0x251523=execSync(new XcodebuildCMD()[_0x29b6c6(0xa9)](_0x127fa3)[_0x29b6c6(0xc2)]()[_0x29b6c6(0xb2)]);console[_0x29b6c6(0xa6)](_0x251523['toString']()),_0x275869(_0x251523);});}catch(_0x192105){console[_0x4dcc4a(0xa6)](_0x192105);}}static async['list'](){const _0x3a2120=_0x4171e0;try{await new Promise((_0x4463da,_0x3adab6)=>{const _0x37d0c4=_0x4907,_0x106125=resource_1[_0x37d0c4(0xaa)]+_0x37d0c4(0xa2),_0x2f99c2=execSync(new XcodebuildCMD()['project'](_0x106125)['list']()[_0x37d0c4(0xb2)]);console[_0x37d0c4(0xa6)](_0x2f99c2[_0x37d0c4(0xa7)]()),_0x4463da(_0x2f99c2);});}catch(_0x5464d5){console[_0x3a2120(0xa6)](_0x5464d5);}}static async[_0x4171e0(0xb8)](_0x3ab8c5){const _0xa8dd39=_0x4171e0;try{return console[_0xa8dd39(0xa6)](_0xa8dd39(0xd3)),!fs['existsSync'](resource_1[_0xa8dd39(0xd0)])&&fs[_0xa8dd39(0xc4)](resource_1[_0xa8dd39(0xd0)],{'recursive':!![]}),await new Promise((_0x755db3,_0xd31497)=>{const _0x59b4e8=_0xa8dd39,_0xd01fe3=resource_1[_0x59b4e8(0xaa)]+'/web-spatial.xcodeproj',_0x475ebb=execSync(new XcodebuildCMD()[_0x59b4e8(0xa9)](_0xd01fe3)['scheme']('web-spatial')['archive']((0x0,path_1[_0x59b4e8(0xcd)])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))['clean']()[_0x59b4e8(0xb2)]);let _0x175f37=_0x475ebb[_0x59b4e8(0xa7)]();if(_0x175f37[_0x59b4e8(0xb6)](_0x59b4e8(0xcf))>0x0){console[_0x59b4e8(0xa6)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x59b4e8(0xbb));const _0x1fdae0=execSync(new XcodebuildCMD()[_0x59b4e8(0xcb)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x59b4e8(0xd2)),resource_1[_0x59b4e8(0xd0)],(0x0,path_1[_0x59b4e8(0xcd)])(resource_1[_0x59b4e8(0xa8)],_0x59b4e8(0xa5)))['allowProvisioningUpdates']()['line']);_0x175f37=_0x1fdae0[_0x59b4e8(0xa7)]();if(_0x175f37[_0x59b4e8(0xb6)](_0x59b4e8(0xba))>0x0){const _0x28277b=_0x3ab8c5!==null&&_0x3ab8c5!==void 0x0?_0x3ab8c5:'./build',_0x423c2c=(0x0,path_1['join'])(process['cwd'](),_0x28277b);!fs['existsSync'](_0x423c2c)&&fs['mkdirSync'](_0x423c2c,{'recursive':!![]}),(0x0,file_1[_0x59b4e8(0xc0)])(resource_1[_0x59b4e8(0xd0)],_0x423c2c),console['log'](_0x59b4e8(0xb0)),_0x755db3(!![]);}(0x0,semver_1[_0x59b4e8(0xb9)])(resource_1[_0x59b4e8(0xa8)]);}_0x755db3(![]);});}catch(_0x334b88){console[_0xa8dd39(0xa6)](_0x334b88);}}}exports['default']=Xcodebuild;function _0x1e17(){const _0x56362b=['XcodebuildCMD','output','../resource/file','join','12AHEBTv','ARCHIVE\x20SUCCEEDED','PROJECT_EXPORT_DIRECTORY','363237DtkXKZ','pack.xcarchive','start\x20archive','xcodebuild','__esModule','/web-spatial.xcodeproj','\x20-destination\x20\x27','\x20-scheme\x20','ExportOptions.plist','log','toString','PROJECT_BUILD_DIRECTORY','project','PROJECT_DIRECTORY','2083893AGSgMm','\x20-exportPath\x20','allowProvisioningUpdates','\x20-exportOptionsPlist\x20','763184KeoXxx','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-archivePath\x20','line','path','scheme','\x20-exportArchive\x20-archivePath\x20','indexOf','\x20-allowProvisioningUpdates','archive','clean','EXPORT\x20SUCCEEDED','start\x20export','../resource','725360kSJEkX','destination','16hUgyAq','copyDir','2675990nhSIgy','list','semver','mkdirSync','\x20archive','2447055EYOJjs','\x20clean','child_process','92763AZBIQg'];_0x1e17=function(){return _0x56362b;};return _0x1e17();}class XcodebuildCMD{constructor(){const _0x495041=_0x4171e0;this[_0x495041(0xb2)]=_0x495041(0xd4);}[_0x4171e0(0xa9)](_0x4b4776){const _0x141dbf=_0x4171e0;return this[_0x141dbf(0xb2)]+='\x20-project\x20'+_0x4b4776,this;}[_0x4171e0(0xc2)](){const _0x6a99dd=_0x4171e0;return this[_0x6a99dd(0xb2)]+='\x20-list',this;}[_0x4171e0(0xb4)](_0x424e90){const _0x53c24e=_0x4171e0;return this[_0x53c24e(0xb2)]+=_0x53c24e(0xa4)+_0x424e90,this;}[_0x4171e0(0xb8)](_0x92535f){const _0x199bdb=_0x4171e0;return this[_0x199bdb(0xb2)]+=_0x199bdb(0xb1)+_0x92535f+_0x199bdb(0xc5),this;}[_0x4171e0(0xad)](){const _0x9fbea=_0x4171e0;return this[_0x9fbea(0xb2)]+=_0x9fbea(0xb7),this;}[_0x4171e0(0xbe)](_0x217fb3){const _0x4c8d6c=_0x4171e0;return this[_0x4c8d6c(0xb2)]+=_0x4c8d6c(0xa3)+_0x217fb3+'\x27',this;}[_0x4171e0(0xcb)](_0x538de5,_0x592836,_0x342866){const _0x3eeecf=_0x4171e0;return this[_0x3eeecf(0xb2)]+=_0x3eeecf(0xb5)+_0x538de5+_0x3eeecf(0xac)+_0x592836+_0x3eeecf(0xae)+_0x342866,this;}['clean'](){const _0x54daf1=_0x4171e0;return this['line']+=_0x54daf1(0xc7),this;}}function _0x4907(_0x346b18,_0x561035){const _0x1e170f=_0x1e17();return _0x4907=function(_0x490707,_0x2d57b1){_0x490707=_0x490707-0xa1;let _0xae2ce1=_0x1e170f[_0x490707];return _0xae2ce1;},_0x4907(_0x346b18,_0x561035);}exports[_0x4171e0(0xca)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0x49f8(){const _0x5a8e76=['writeAsync','buildSettings','parseSync','writeFileSync','split','<?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','YOURTEAMID','USE_MAIN_SCENE','BACK_APPICON_DIRECTORY','url','buildType','modify','length','updateTeamId','64930UTTATi','pbxGroupByName','585660wRqjAY','./web-spatial/libs/webView/manifest.swift','protocol_handlers','join','182005peVOyN','SceneWidth','false','defaultSize','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','manifestSwiftTemplate','PBXGroup','pbxXCConfigurationList','162gqeHtD','START_URL','.minimal','mkdirSync','MIDDLE_APPICON_DIRECTORY','value','width','PROJECT_BUILD_DIRECTORY','</string>','utf-8','mainScene','updateExportOptions','388940zXGYqq','description','pbxTargetByName','images','resizability','CURRENT_PROJECT_VERSION','enterprise','scope','minimal-ui','1581668RcNhCY','6TEoohf','updateBuildProperty','PROJECT_DIRECTORY','buildConfigurationList','206JjaTiK','ExportOptions.plist','updateDeeplink','json','../resource/load','bindManifestInfo','modifySwift','app-store-connect','filename','./manifestSwiftTemplate','debugging','icon.','default','AppName','<?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>','project','SceneResizability','writeSync','1486yzHykx','replace','21jEBdps','getMIME','objects','display','../resource/imageHelper','image/','<string>','stringify','ImageHelper','protocol','loadJsonFromDisk','name','xcode','start_url','__esModule','release-testing','DEEPLINK','object','includes','pbxXCBuildConfigurationSection','147912aYBBbJ','Contents.json','true','../resource','1280','bindIcon','\x22),','defineProperty','updateVersion','test','teamId','\x22,\x20url:\x20\x22','PRODUCT_BUNDLE_IDENTIFIER','Description','fixProjectFunction','SceneHeight'];_0x49f8=function(){return _0x5a8e76;};return _0x49f8();}const _0xb9c5d8=_0x36d3;(function(_0x352572,_0x5307f4){const _0x30f7b8=_0x36d3,_0x5c1857=_0x352572();while(!![]){try{const _0x217b76=-parseInt(_0x30f7b8(0x151))/0x1*(parseInt(_0x30f7b8(0x163))/0x2)+parseInt(_0x30f7b8(0x12b))/0x3+parseInt(_0x30f7b8(0x143))/0x4+-parseInt(_0x30f7b8(0x12f))/0x5*(-parseInt(_0x30f7b8(0x14d))/0x6)+parseInt(_0x30f7b8(0x165))/0x7*(-parseInt(_0x30f7b8(0x10b))/0x8)+-parseInt(_0x30f7b8(0x137))/0x9*(parseInt(_0x30f7b8(0x129))/0xa)+parseInt(_0x30f7b8(0x14c))/0xb;if(_0x217b76===_0x5307f4)break;else _0x5c1857['push'](_0x5c1857['shift']());}catch(_0x5190ef){_0x5c1857['push'](_0x5c1857['shift']());}}}(_0x49f8,0x23f2d));Object[_0xb9c5d8(0x112)](exports,_0xb9c5d8(0x105),{'value':!![]});function _0x36d3(_0x3b5b5b,_0x4de080){const _0x49f83f=_0x49f8();return _0x36d3=function(_0x36d325,_0x43d0a7){_0x36d325=_0x36d325-0xfb;let _0x2792b3=_0x49f83f[_0x36d325];return _0x2792b3;},_0x36d3(_0x3b5b5b,_0x4de080);}const fs=require('fs'),resource_1=require(_0xb9c5d8(0x10e)),path_1=require('path'),load_1=require(_0xb9c5d8(0x155)),imageHelper_1=require(_0xb9c5d8(0xfb)),manifestSwiftTemplate_1=require(_0xb9c5d8(0x15a)),xcode=require(_0xb9c5d8(0x103)),exportOptionsXML=_0xb9c5d8(0x15f),infoPlistXML=_0xb9c5d8(0x120);let useExportOptionsXML='';class XcodeProject{static async[_0xb9c5d8(0x126)](_0x41e7cd,_0x38df97,_0x340c9=![]){const _0x4a7e19=_0xb9c5d8;let _0x3d8094=xcode[_0x4a7e19(0x160)](_0x41e7cd);this[_0x4a7e19(0x119)](_0x3d8094),_0x3d8094[_0x4a7e19(0x11d)]();let _0x18b7f7=_0x38df97[_0x4a7e19(0x125)];const _0x4ba06a=[_0x4a7e19(0x106),_0x4a7e19(0x158),_0x4a7e19(0x15b),_0x4a7e19(0x149)];useExportOptionsXML=exportOptionsXML['replace']('BUILDTYPE',_0x4ba06a['includes'](_0x18b7f7)?_0x18b7f7:'release-testing');_0x38df97[_0x4a7e19(0x115)]&&this['updateTeamId'](_0x3d8094,_0x38df97[_0x4a7e19(0x115)]);this[_0x4a7e19(0x142)]();if(_0x38df97['icon'])await this[_0x4a7e19(0x110)](_0x38df97['icon']);this[_0x4a7e19(0x156)](_0x3d8094,_0x38df97['manifestInfo'][_0x4a7e19(0x154)],_0x340c9);_0x38df97['version']?this[_0x4a7e19(0x113)](_0x3d8094,_0x38df97['version']):this[_0x4a7e19(0x113)](_0x3d8094,'1.0');try{fs['writeFileSync'](_0x41e7cd,_0x3d8094[_0x4a7e19(0x162)]());}catch(_0x2ac6f2){console['log'](_0x2ac6f2);}}static[_0xb9c5d8(0x119)](_0x40fcf5){const _0x384206=_0xb9c5d8;_0x40fcf5[_0x384206(0x12a)]=function(_0x35a964){const _0xbcd6d=_0x384206;var _0x1c343c=this['hash']['project'][_0xbcd6d(0x167)][_0xbcd6d(0x135)],_0x4bc567,_0x1709e1;for(_0x4bc567 in _0x1c343c){if(!/_comment$/['test'](_0x4bc567))continue;if(_0x1c343c[_0x4bc567]==_0x35a964)return _0x1709e1=_0x4bc567[_0xbcd6d(0x11f)](/_comment$/)[0x0],_0x1c343c[_0x1709e1];}return![];},_0x40fcf5[_0x384206(0x14e)]=function(_0x26369d,_0x193d4f,_0x26273c,_0x3d91eb){const _0x357817=_0x384206;let _0x1e61e7=[];const _0x293100=/_comment$/;if(_0x3d91eb){const _0x4d4816=this[_0x357817(0x145)](_0x3d91eb),_0x398429=_0x4d4816&&_0x4d4816[_0x357817(0x150)],_0x3b050b=this[_0x357817(0x136)]();for(const _0x444724 in _0x3b050b){if(!_0x293100[_0x357817(0x114)](_0x444724)&&_0x398429===_0x444724){const _0x138c2b=_0x3b050b[_0x444724]['buildConfigurations'];for(const _0x1cfabe of _0x138c2b){_0x1e61e7['push'](_0x1cfabe[_0x357817(0x13c)]);}break;}}}var _0x506f55=this[_0x357817(0x10a)]();for(var _0xb0f070 in _0x506f55){if(!_0x293100[_0x357817(0x114)](_0xb0f070)){if(_0x3d91eb&&!_0x1e61e7[_0x357817(0x109)](_0xb0f070))continue;var _0x35b01b=_0x506f55[_0xb0f070];(_0x26273c&&_0x35b01b[_0x357817(0x102)]===_0x26273c||!_0x26273c)&&_0x35b01b[_0x357817(0x11c)][_0x26369d]&&(_0x35b01b[_0x357817(0x11c)][_0x26369d]=_0x193d4f);}}};}static async[_0xb9c5d8(0x110)](_0x18ba60){const _0x41f2ef=_0xb9c5d8;if(_0x18ba60){const _0x438838=(0x0,path_1[_0x41f2ef(0x12e)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x41f2ef(0x123)]),_0xa150a5=(0x0,path_1[_0x41f2ef(0x12e)])(_0x438838,_0x41f2ef(0x10c)),_0x3dd7f7=_0x41f2ef(0x15c)+_0x18ba60[_0x41f2ef(0x166)]()['replace'](_0x41f2ef(0xfc),''),_0x204552=(0x0,path_1['join'])(_0x438838,_0x3dd7f7);let _0x443af3=await(0x0,load_1[_0x41f2ef(0x101)])(_0xa150a5);_0x443af3[_0x41f2ef(0x146)][0x0][_0x41f2ef(0x159)]=_0x3dd7f7,await _0x18ba60[_0x41f2ef(0x11b)](_0x204552),await fs[_0x41f2ef(0x11e)](_0xa150a5,JSON[_0x41f2ef(0xfe)](_0x443af3));const _0x516901=(0x0,path_1['join'])(resource_1[_0x41f2ef(0x14f)],resource_1[_0x41f2ef(0x13b)]),_0x4f9433=(0x0,path_1[_0x41f2ef(0x12e)])(_0x516901,_0x41f2ef(0x10c)),_0x55336f='icon.png',_0x3021e1=(0x0,path_1[_0x41f2ef(0x12e)])(_0x516901,_0x55336f);let _0x2aa87d=await(0x0,load_1[_0x41f2ef(0x101)])(_0x4f9433),_0x565e9d=imageHelper_1[_0x41f2ef(0xff)]['createImg'](0x200);_0x2aa87d[_0x41f2ef(0x146)][0x0]['filename']=_0x55336f,await _0x565e9d[_0x41f2ef(0x11b)](_0x3021e1),await fs[_0x41f2ef(0x11e)](_0x4f9433,JSON[_0x41f2ef(0xfe)](_0x2aa87d));}}static[_0xb9c5d8(0x128)](_0x4725cb,_0x33a9b4){const _0x58d45c=_0xb9c5d8;_0x4725cb['updateBuildProperty']('DEVELOPMENT_TEAM',_0x33a9b4),useExportOptionsXML=useExportOptionsXML[_0x58d45c(0x164)](_0x58d45c(0x121),_0x33a9b4);}static['updateExportOptions'](){const _0x4a51b2=_0xb9c5d8;!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x4a51b2(0x13a)](resource_1[_0x4a51b2(0x13e)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x4a51b2(0x13e)],_0x4a51b2(0x152)),useExportOptionsXML);}static['bindManifestInfo'](_0xcbed67,_0x54cab9,_0x10db5b=![]){const _0x42918f=_0xb9c5d8;var _0x4bef20;_0xcbed67['updateProductName'](_0x54cab9[_0x42918f(0x102)]),_0x54cab9['id']&&!_0x10db5b&&_0xcbed67['updateBuildProperty'](_0x42918f(0x117),'\x22'+_0x54cab9['id']+'\x22'),this[_0x42918f(0x153)]((_0x4bef20=_0x54cab9['protocol_handlers'])!==null&&_0x4bef20!==void 0x0?_0x4bef20:[]),this[_0x42918f(0x157)](_0x54cab9);}static['updateVersion'](_0x112dad,_0x192c25){const _0x4b10e9=_0xb9c5d8;_0x112dad[_0x4b10e9(0x14e)](_0x4b10e9(0x148),_0x192c25);}static['updateDeeplink'](_0x3fb742){const _0x452fdb=_0xb9c5d8;let _0x1a402b=(0x0,path_1['join'])(resource_1[_0x452fdb(0x14f)],'./web-spatial/Info.plist'),_0x3e3814='';for(let _0xc62497=0x0;_0xc62497<_0x3fb742[_0x452fdb(0x127)];_0xc62497++){_0x3e3814+=_0x452fdb(0xfd)+_0x3fb742[_0xc62497][_0x452fdb(0x100)]+_0x452fdb(0x13f);}const _0x2bdd93=infoPlistXML[_0x452fdb(0x164)](_0x452fdb(0x107),_0x3e3814);fs[_0x452fdb(0x11e)](_0x1a402b,_0x2bdd93);}static['modifySwift'](_0x113014){const _0x3b3272=_0xb9c5d8,_0x44836d=(0x0,path_1[_0x3b3272(0x12e)])(resource_1[_0x3b3272(0x14f)],_0x3b3272(0x12c));let _0x4f0e54=manifestSwiftTemplate_1[_0x3b3272(0x134)];_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x138),_0x113014[_0x3b3272(0x104)]),_0x4f0e54=_0x4f0e54['replace']('SCOPE',_0x113014[_0x3b3272(0x14a)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x15e),_0x113014['name']),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x118),_0x113014[_0x3b3272(0x144)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('AppID',_0x113014['id']),_0x4f0e54=_0x4f0e54['replace']('.minimal',_0x113014[_0x3b3272(0x168)]==_0x3b3272(0x14b)?_0x3b3272(0x139):'.'+_0x113014['display']);if(_0x113014[_0x3b3272(0x12d)]){let _0x2b99b9='';for(let _0x2952cb=0x0;_0x2952cb<_0x113014[_0x3b3272(0x12d)]['length'];_0x2952cb++){_0x2b99b9+='PWAProtocol(protocolValue:\x20\x22'+_0x113014[_0x3b3272(0x12d)][_0x2952cb][_0x3b3272(0x100)]+_0x3b3272(0x116)+_0x113014[_0x3b3272(0x12d)][_0x2952cb][_0x3b3272(0x124)]+_0x3b3272(0x111);}_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x133),_0x2b99b9);}typeof _0x113014[_0x3b3272(0x141)]===_0x3b3272(0x108)?(_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('SceneWidth',_0x113014[_0x3b3272(0x141)][_0x3b3272(0x132)][_0x3b3272(0x13d)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x11a),_0x113014[_0x3b3272(0x141)]['defaultSize']['height']),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x161),'\x22'+_0x113014['mainScene'][_0x3b3272(0x147)]+'\x22'),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('USE_MAIN_SCENE',_0x3b3272(0x10d))):(_0x4f0e54=_0x4f0e54['replace'](_0x3b3272(0x130),_0x3b3272(0x10f)),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('SceneHeight',_0x3b3272(0x10f)),_0x4f0e54=_0x4f0e54['replace'](_0x3b3272(0x161),'\x22automatic\x22'),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x122),_0x3b3272(0x131))),fs['writeFileSync'](_0x44836d,_0x4f0e54,_0x3b3272(0x140));}}exports[_0xb9c5d8(0x15d)]=XcodeProject;
1
+ 'use strict';function _0x1916(_0x18a5eb,_0x5e069c){const _0x198373=_0x1983();return _0x1916=function(_0x19167a,_0x400c65){_0x19167a=_0x19167a-0x10f;let _0x10d710=_0x198373[_0x19167a];return _0x10d710;},_0x1916(_0x18a5eb,_0x5e069c);}const _0x4ef98a=_0x1916;(function(_0x2d0c03,_0x421f5c){const _0x50de9f=_0x1916,_0x2aa97a=_0x2d0c03();while(!![]){try{const _0x4a792d=parseInt(_0x50de9f(0x13f))/0x1*(-parseInt(_0x50de9f(0x173))/0x2)+-parseInt(_0x50de9f(0x110))/0x3+parseInt(_0x50de9f(0x179))/0x4+-parseInt(_0x50de9f(0x153))/0x5*(parseInt(_0x50de9f(0x146))/0x6)+-parseInt(_0x50de9f(0x160))/0x7*(parseInt(_0x50de9f(0x13a))/0x8)+parseInt(_0x50de9f(0x158))/0x9+parseInt(_0x50de9f(0x119))/0xa;if(_0x4a792d===_0x421f5c)break;else _0x2aa97a['push'](_0x2aa97a['shift']());}catch(_0x528321){_0x2aa97a['push'](_0x2aa97a['shift']());}}}(_0x1983,0xd63a5));function _0x1983(){const _0x295b9b=['14mWTNSz','\x22,\x20url:\x20\x22','default','mainScene','../resource/load','split','updateBuildProperty','height','bindIcon','../resource','release-testing','MIDDLE_APPICON_DIRECTORY','PRODUCT_BUNDLE_IDENTIFIER','display','fixProjectFunction','version','SceneWidth','description','updateProductName','321228uRbUXq','minimal-ui','modify','PROJECT_BUILD_DIRECTORY','test','false','2403464tkUFAu','value','images','protocol_handlers','Description','loadJsonFromDisk','PROJECT_DIRECTORY','3709125aaawCC','image/','Contents.json','writeAsync','name','DEEPLINK','icon.','SceneHeight','app-store-connect','24412280bnwVQa','updateVersion','manifestSwiftTemplate','buildConfigurations','join','<?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>','createImg','getMIME','debugging','./manifestSwiftTemplate','replace','path','pbxGroupByName','buildType','updateDeeplink','writeFileSync','stringify','pbxXCConfigurationList','../resource/imageHelper','width','1280','__esModule','project','./web-spatial/Info.plist','modifySwift','icon.png','true','updateExportOptions','ExportOptions.plist','BACK_APPICON_DIRECTORY','start_url','objects','\x22automatic\x22','1711664TUGoDe','.minimal','defaultSize','filename','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','1mXhhIE','ImageHelper','defineProperty','teamId','protocol','hash','enterprise','4092qFpuOD','DEVELOPMENT_TEAM','USE_MAIN_SCENE','BUILDTYPE','CURRENT_PROJECT_VERSION','SCOPE','1.0','scope','START_URL','existsSync','SceneResizability','AppName','updateTeamId','2955iFMAEB','\x22),','manifestInfo','YOURTEAMID','</string>','570150mZpbiR','xcode','mkdirSync','length','PBXGroup','buildSettings','includes','parseSync'];_0x1983=function(){return _0x295b9b;};return _0x1983();}Object[_0x4ef98a(0x141)](exports,_0x4ef98a(0x12e),{'value':!![]});const fs=require('fs'),resource_1=require(_0x4ef98a(0x169)),path_1=require(_0x4ef98a(0x124)),load_1=require(_0x4ef98a(0x164)),imageHelper_1=require(_0x4ef98a(0x12b)),manifestSwiftTemplate_1=require(_0x4ef98a(0x122)),xcode=require(_0x4ef98a(0x159)),exportOptionsXML=_0x4ef98a(0x11e),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';class XcodeProject{static async[_0x4ef98a(0x175)](_0x4b009c,_0x186d09,_0x35f587=![]){const _0xe98e72=_0x4ef98a;let _0x3c6cb3=xcode[_0xe98e72(0x12f)](_0x4b009c);this[_0xe98e72(0x16e)](_0x3c6cb3),_0x3c6cb3[_0xe98e72(0x15f)]();let _0x34227f=_0x186d09[_0xe98e72(0x126)];const _0x54f1da=[_0xe98e72(0x16a),_0xe98e72(0x118),_0xe98e72(0x121),_0xe98e72(0x145)];useExportOptionsXML=exportOptionsXML['replace'](_0xe98e72(0x149),_0x54f1da[_0xe98e72(0x15e)](_0x34227f)?_0x34227f:_0xe98e72(0x16a));_0x186d09[_0xe98e72(0x142)]&&this[_0xe98e72(0x152)](_0x3c6cb3,_0x186d09[_0xe98e72(0x142)]);this[_0xe98e72(0x134)]();if(_0x186d09['icon'])await this[_0xe98e72(0x168)](_0x186d09['icon']);this['bindManifestInfo'](_0x3c6cb3,_0x186d09[_0xe98e72(0x155)]['json'],_0x35f587);_0x186d09[_0xe98e72(0x16f)]?this[_0xe98e72(0x11a)](_0x3c6cb3,_0x186d09[_0xe98e72(0x16f)]):this[_0xe98e72(0x11a)](_0x3c6cb3,_0xe98e72(0x14c));try{fs[_0xe98e72(0x128)](_0x4b009c,_0x3c6cb3['writeSync']());}catch(_0x1b847f){console['log'](_0x1b847f);}}static[_0x4ef98a(0x16e)](_0xd1f8df){const _0x578029=_0x4ef98a;_0xd1f8df[_0x578029(0x125)]=function(_0x2066da){const _0x4c0bd5=_0x578029;var _0x3d5d19=this[_0x4c0bd5(0x144)][_0x4c0bd5(0x12f)][_0x4c0bd5(0x138)][_0x4c0bd5(0x15c)],_0x89bcab,_0x5073d7;for(_0x89bcab in _0x3d5d19){if(!/_comment$/[_0x4c0bd5(0x177)](_0x89bcab))continue;if(_0x3d5d19[_0x89bcab]==_0x2066da)return _0x5073d7=_0x89bcab[_0x4c0bd5(0x165)](/_comment$/)[0x0],_0x3d5d19[_0x5073d7];}return![];},_0xd1f8df['updateBuildProperty']=function(_0x1be9d9,_0x2f54c0,_0x1499b9,_0x2a6c87){const _0x32cf7b=_0x578029;let _0x49362c=[];const _0x42a34e=/_comment$/;if(_0x2a6c87){const _0x11b991=this['pbxTargetByName'](_0x2a6c87),_0x4eae1d=_0x11b991&&_0x11b991['buildConfigurationList'],_0x364303=this[_0x32cf7b(0x12a)]();for(const _0x26b091 in _0x364303){if(!_0x42a34e['test'](_0x26b091)&&_0x4eae1d===_0x26b091){const _0x4fe99d=_0x364303[_0x26b091][_0x32cf7b(0x11c)];for(const _0x43d9 of _0x4fe99d){_0x49362c['push'](_0x43d9[_0x32cf7b(0x17a)]);}break;}}}var _0x186539=this['pbxXCBuildConfigurationSection']();for(var _0x1dbe43 in _0x186539){if(!_0x42a34e[_0x32cf7b(0x177)](_0x1dbe43)){if(_0x2a6c87&&!_0x49362c[_0x32cf7b(0x15e)](_0x1dbe43))continue;var _0x49e4e5=_0x186539[_0x1dbe43];(_0x1499b9&&_0x49e4e5[_0x32cf7b(0x114)]===_0x1499b9||!_0x1499b9)&&_0x49e4e5[_0x32cf7b(0x15d)][_0x1be9d9]&&(_0x49e4e5[_0x32cf7b(0x15d)][_0x1be9d9]=_0x2f54c0);}}};}static async[_0x4ef98a(0x168)](_0x2bd54c){const _0x4b632d=_0x4ef98a;if(_0x2bd54c){const _0xa8621c=(0x0,path_1[_0x4b632d(0x11d)])(resource_1[_0x4b632d(0x10f)],resource_1[_0x4b632d(0x136)]),_0x3b3472=(0x0,path_1[_0x4b632d(0x11d)])(_0xa8621c,_0x4b632d(0x112)),_0xcac5d7=_0x4b632d(0x116)+_0x2bd54c[_0x4b632d(0x120)]()[_0x4b632d(0x123)](_0x4b632d(0x111),''),_0x3afe0e=(0x0,path_1[_0x4b632d(0x11d)])(_0xa8621c,_0xcac5d7);let _0x4e0b6e=await(0x0,load_1[_0x4b632d(0x17e)])(_0x3b3472);_0x4e0b6e[_0x4b632d(0x17b)][0x0]['filename']=_0xcac5d7,await _0x2bd54c['writeAsync'](_0x3afe0e),await fs[_0x4b632d(0x128)](_0x3b3472,JSON[_0x4b632d(0x129)](_0x4e0b6e));const _0x1d0f95=(0x0,path_1[_0x4b632d(0x11d)])(resource_1[_0x4b632d(0x10f)],resource_1[_0x4b632d(0x16b)]),_0x4704e6=(0x0,path_1[_0x4b632d(0x11d)])(_0x1d0f95,_0x4b632d(0x112)),_0x727afe=_0x4b632d(0x132),_0x13c5f0=(0x0,path_1['join'])(_0x1d0f95,_0x727afe);let _0xd9613a=await(0x0,load_1[_0x4b632d(0x17e)])(_0x4704e6),_0x425ab0=imageHelper_1[_0x4b632d(0x140)][_0x4b632d(0x11f)](0x200);_0xd9613a[_0x4b632d(0x17b)][0x0][_0x4b632d(0x13d)]=_0x727afe,await _0x425ab0[_0x4b632d(0x113)](_0x13c5f0),await fs[_0x4b632d(0x128)](_0x4704e6,JSON[_0x4b632d(0x129)](_0xd9613a));}}static['updateTeamId'](_0x475fe2,_0x45ebeb){const _0x6cd130=_0x4ef98a;_0x475fe2['updateBuildProperty'](_0x6cd130(0x147),_0x45ebeb),useExportOptionsXML=useExportOptionsXML[_0x6cd130(0x123)](_0x6cd130(0x156),_0x45ebeb);}static[_0x4ef98a(0x134)](){const _0x38cc09=_0x4ef98a;!fs[_0x38cc09(0x14f)](resource_1[_0x38cc09(0x176)])&&fs[_0x38cc09(0x15a)](resource_1[_0x38cc09(0x176)],{'recursive':!![]}),fs[_0x38cc09(0x128)]((0x0,path_1[_0x38cc09(0x11d)])(resource_1[_0x38cc09(0x176)],_0x38cc09(0x135)),useExportOptionsXML);}static['bindManifestInfo'](_0x172af3,_0x5dfb8f,_0x4c562e=![]){const _0x26c333=_0x4ef98a;var _0x4c73bd;_0x172af3[_0x26c333(0x172)](_0x5dfb8f[_0x26c333(0x114)]),_0x5dfb8f['id']&&!_0x4c562e&&_0x172af3[_0x26c333(0x166)](_0x26c333(0x16c),'\x22'+_0x5dfb8f['id']+'\x22'),this[_0x26c333(0x127)]((_0x4c73bd=_0x5dfb8f[_0x26c333(0x17c)])!==null&&_0x4c73bd!==void 0x0?_0x4c73bd:[]),this[_0x26c333(0x131)](_0x5dfb8f);}static['updateVersion'](_0x3b4beb,_0x53e4f9){const _0x3d8adb=_0x4ef98a;_0x3b4beb['updateBuildProperty'](_0x3d8adb(0x14a),_0x53e4f9);}static['updateDeeplink'](_0x144c3c){const _0x2c3e78=_0x4ef98a;let _0x3b21b7=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],_0x2c3e78(0x130)),_0x3e8ad5='';for(let _0x10b713=0x0;_0x10b713<_0x144c3c[_0x2c3e78(0x15b)];_0x10b713++){_0x3e8ad5+='<string>'+_0x144c3c[_0x10b713][_0x2c3e78(0x143)]+_0x2c3e78(0x157);}const _0x45ccb5=infoPlistXML[_0x2c3e78(0x123)](_0x2c3e78(0x115),_0x3e8ad5);fs['writeFileSync'](_0x3b21b7,_0x45ccb5);}static[_0x4ef98a(0x131)](_0xbe4613){const _0x85c92f=_0x4ef98a,_0x189e2a=(0x0,path_1['join'])(resource_1[_0x85c92f(0x10f)],'./web-spatial/libs/webView/manifest.swift');let _0x37354a=manifestSwiftTemplate_1[_0x85c92f(0x11b)];_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x14e),_0xbe4613[_0x85c92f(0x137)]),_0x37354a=_0x37354a['replace'](_0x85c92f(0x14b),_0xbe4613[_0x85c92f(0x14d)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x151),_0xbe4613[_0x85c92f(0x114)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x17d),_0xbe4613[_0x85c92f(0x171)]),_0x37354a=_0x37354a[_0x85c92f(0x123)]('AppID',_0xbe4613['id']),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x13b),_0xbe4613[_0x85c92f(0x16d)]==_0x85c92f(0x174)?_0x85c92f(0x13b):'.'+_0xbe4613[_0x85c92f(0x16d)]);if(_0xbe4613['protocol_handlers']){let _0x1a580d='';for(let _0xd1d6b8=0x0;_0xd1d6b8<_0xbe4613[_0x85c92f(0x17c)]['length'];_0xd1d6b8++){_0x1a580d+='PWAProtocol(protocolValue:\x20\x22'+_0xbe4613[_0x85c92f(0x17c)][_0xd1d6b8][_0x85c92f(0x143)]+_0x85c92f(0x161)+_0xbe4613['protocol_handlers'][_0xd1d6b8]['url']+_0x85c92f(0x154);}_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x13e),_0x1a580d);}typeof _0xbe4613['mainScene']==='object'?(_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x170),_0xbe4613[_0x85c92f(0x163)]['defaultSize'][_0x85c92f(0x12c)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x117),_0xbe4613[_0x85c92f(0x163)][_0x85c92f(0x13c)][_0x85c92f(0x167)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x150),'\x22'+_0xbe4613['mainScene']['resizability']+'\x22'),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x148),_0x85c92f(0x133))):(_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x170),_0x85c92f(0x12d)),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x117),'1280'),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x150),_0x85c92f(0x139)),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x148),_0x85c92f(0x178))),fs[_0x85c92f(0x128)](_0x189e2a,_0x37354a,'utf-8');}}exports[_0x4ef98a(0x162)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0xf1c517=_0x1511;(function(_0x119008,_0x1e3ec5){const _0x551256=_0x1511,_0x448a81=_0x119008();while(!![]){try{const _0x6ead40=-parseInt(_0x551256(0x1b4))/0x1+-parseInt(_0x551256(0x1c5))/0x2+parseInt(_0x551256(0x16e))/0x3*(-parseInt(_0x551256(0x198))/0x4)+parseInt(_0x551256(0x1bf))/0x5+parseInt(_0x551256(0x1bb))/0x6*(parseInt(_0x551256(0x171))/0x7)+parseInt(_0x551256(0x1c2))/0x8*(-parseInt(_0x551256(0x167))/0x9)+-parseInt(_0x551256(0x149))/0xa*(-parseInt(_0x551256(0x19e))/0xb);if(_0x6ead40===_0x1e3ec5)break;else _0x448a81['push'](_0x448a81['shift']());}catch(_0x576628){_0x448a81['push'](_0x448a81['shift']());}}}(_0x52e0,0xc37c1));function _0x52e0(){const _0x5c7ca1=['../utils/utils','listSimulator','no\x20visionOS\x20simulator\x20found','\x20--validate-app\x20-f\x20','launchWithSimulator','\x27\x20-derivedDataPath\x20','973350JKgMLD','shutdownSimulator','write','verbose','parseSupportRuntimes','\x20--apiKey\x20','listDeviceTypes','3030uLvTWV','listDevices','No\x20visionOS\x20rumtime\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','replace','7860585WNXOBh','project','create\x20visionOS\x20simulator:\x20','24MZDxVQ','\x20and\x20','No\x20Apple\x20Vision\x20Pro\x20simulator\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','1438258bljeDf','Shutdown','visionos','\x20&&\x20xcodebuild\x20-showdestinations\x20-scheme\x20web-spatial','\x20--verbose','state','terminate','listRuntimes','\x20--bundle-version\x20','\x20--apiIssuer\x20','validate','../utils/history','\x20simctl','buildTestApp','line','find\x20simulators:','\x20boot\x20\x22','shutdown','15009020aXqHTu','install','uploadApp','altool','no\x20simulator\x20available','execSync','../resource','mkdirSync','cd\x20','appleId',',\x20try\x20next\x20device','getSimulatorHistory','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','runWithSimulator','createSimulator','xcrun','--\x20','findSimulator','__esModule','parseDeviceInfo','com','version','installApp','PROJECT_DIRECTORY','authApi','log','\x22\x20\x22','create','info','simctl','1106514atgaHU','**\x20BUILD\x20FAILED\x20**','error','runWithHistory','uploadPackage','split','indexOf','23367oWvjHa','\x20launch\x20\x22','PROJECT_BUILD_DIRECTORY','4417iDizCk','try\x20create\x20a\x20visionOS\x20simulator','\x20to\x20create\x20visionOS\x20simulator','\x20list\x20runtimes','installing\x20app','platform','includes','PROJECT_TEST_DIRECTORY','test','platform:visionOS\x20Simulator','join','----\x20build\x20start\x20on\x20','existsSync','trim','Build/Products/Debug-xrsimulator/','--\x20visionOS','install\x20success',',\x20name','launchApp','authAccount','toString','length','deviceId','default','launch','push','parseDestinationDevices','-------------------\x20build\x20end\x20-------------------','\x20list','visionOS','launchSimulator','id:','warn','../resource/file','find\x20simulator:\x20','getAppInfoRecord','parseListDevices','open\x20-a\x20Simulator\x20--args\x20-CurrentDeviceUDID\x20','\x20--apple-id\x20','272lKcAOl','\x20-p\x20','/web-spatial.xcodeproj','sleep\x2010','Apple\x20Vision\x20Pro','XcodebuildCMD','11NOmpUD','use\x20','\x20--upload-app\x20-f\x20','list','parseSupportDevices','CliLog','recordSimulator','simulator\x20is\x20already\x20shutdown','find\x20destination\x20device:\x20','.app','slice','use\x20simulator:\x20','boot','\x20----','./xcodebuild','name'];_0x52e0=function(){return _0x5c7ca1;};return _0x52e0();}Object['defineProperty'](exports,_0xf1c517(0x15b),{'value':!![]});const child_process_1=require('child_process'),resource_1=require(_0xf1c517(0x14f)),path_1=require('path'),fs=require('fs'),xcodebuild_1=require(_0xf1c517(0x1ac)),file_1=require(_0xf1c517(0x192)),utils_1=require(_0xf1c517(0x1ae)),history_1=require(_0xf1c517(0x1d0));function _0x1511(_0x135d46,_0x1f8d86){const _0x52e075=_0x52e0();return _0x1511=function(_0x1511a6,_0x2760ca){_0x1511a6=_0x1511a6-0x144;let _0x70a3d5=_0x52e075[_0x1511a6];return _0x70a3d5;},_0x1511(_0x135d46,_0x1f8d86);}class Xcrun{static async['validate'](_0x22c531,_0x1c4fb3,_0x7f3d71,_0x28616f){const _0x1650d1=_0xf1c517,_0x1f2519=new XcrunCMD()[_0x1650d1(0x14c)]();_0x1f2519[_0x1650d1(0x1cf)](_0x22c531);_0x28616f?_0x1f2519[_0x1650d1(0x184)](_0x1c4fb3,_0x7f3d71):_0x1f2519[_0x1650d1(0x161)](_0x1c4fb3,_0x7f3d71);_0x1f2519[_0x1650d1(0x176)](_0x1650d1(0x1c7));const _0x3af795=(0x0,child_process_1[_0x1650d1(0x14e)])(_0x1f2519[_0x1650d1(0x145)]);return _0x3af795['toString']();}static async[_0xf1c517(0x16b)](_0x5bd2f1,_0x3cc021,_0x5eb053,_0x5b5684,_0x394e42){const _0x2e5391=_0xf1c517,_0x59fcb7=new XcrunCMD()[_0x2e5391(0x14c)]();_0x59fcb7['uploadPackage'](_0x5bd2f1);_0x394e42?_0x59fcb7['authAccount'](_0x3cc021,_0x5eb053):_0x59fcb7[_0x2e5391(0x161)](_0x3cc021,_0x5eb053);_0x59fcb7['platform'](_0x2e5391(0x1c7)),_0x59fcb7['appleId'](_0x5b5684);const _0x2390a4=(0x0,child_process_1[_0x2e5391(0x14e)])(_0x59fcb7['line']);return _0x2390a4[_0x2e5391(0x185)]();}static async[_0xf1c517(0x14b)](_0x3aa21c,_0x4030b0,_0x42a358,_0x22f0f4){const _0xa311c9=_0xf1c517,_0x52ad94=new XcrunCMD()[_0xa311c9(0x14c)]();_0x52ad94[_0xa311c9(0x14b)](_0x3aa21c);_0x22f0f4?_0x52ad94[_0xa311c9(0x184)](_0x4030b0,_0x42a358):_0x52ad94[_0xa311c9(0x161)](_0x4030b0,_0x42a358);_0x52ad94[_0xa311c9(0x176)](_0xa311c9(0x1c7));const _0x160758=(0x0,child_process_1['execSync'])(_0x52ad94[_0xa311c9(0x145)]);return _0x160758[_0xa311c9(0x185)]();}static async[_0xf1c517(0x156)](){const _0x13b494=_0xf1c517;let _0x1d52e7=this['findSimulator']();!_0x1d52e7[0x0]&&(_0x1d52e7=[this[_0x13b494(0x157)]()]);const _0x9d4d04=history_1[_0x13b494(0x188)][_0x13b494(0x194)]();for(var _0x51488d=0x0;_0x51488d<_0x1d52e7[_0x13b494(0x186)];_0x51488d++){if(this[_0x13b494(0x144)](_0x1d52e7[_0x51488d][_0x13b494(0x187)])){const _0x260f04=this[_0x13b494(0x1b2)](_0x9d4d04,_0x1d52e7[_0x51488d][_0x13b494(0x187)],!![],![]);history_1[_0x13b494(0x188)][_0x13b494(0x1a4)](_0x260f04),history_1[_0x13b494(0x188)][_0x13b494(0x1b6)]();return;}else utils_1[_0x13b494(0x1a3)][_0x13b494(0x169)]('build\x20failed\x20on\x20'+_0x1d52e7[_0x51488d][_0x13b494(0x187)]+_0x13b494(0x153));}utils_1[_0x13b494(0x1a3)][_0x13b494(0x169)](_0x13b494(0x14d));}static async[_0xf1c517(0x16a)](){const _0x2b5e0d=_0xf1c517,_0x299a4a=history_1[_0x2b5e0d(0x188)][_0x2b5e0d(0x154)](),_0x1b03a4=history_1[_0x2b5e0d(0x188)][_0x2b5e0d(0x194)](),_0x3456ec=this['launchWithSimulator'](_0x1b03a4,_0x299a4a);history_1[_0x2b5e0d(0x188)][_0x2b5e0d(0x1a4)](_0x3456ec),history_1['default'][_0x2b5e0d(0x1b6)]();}static[_0xf1c517(0x1b2)](_0xb67382,_0x3512b5='',_0x556fe2=![],_0x12224f=!![]){const _0x41b0d2=_0xf1c517;let _0x104607,_0x1a11c0=![];return _0x12224f?_0x104607=this[_0x41b0d2(0x15a)](_0x3512b5)[0x0]:_0x104607=this['searchSimulator'](_0x3512b5),(!_0x104607||_0x104607[_0x41b0d2(0x187)]==='')&&(_0x104607=this[_0x41b0d2(0x157)](),_0x1a11c0=!![]),console[_0x41b0d2(0x162)](_0x41b0d2(0x1a9)+_0x104607[_0x41b0d2(0x187)]),this[_0x41b0d2(0x18f)](_0x104607),(_0x556fe2||_0x1a11c0)&&(console[_0x41b0d2(0x162)](_0x41b0d2(0x175)),this[_0x41b0d2(0x15f)](resource_1[_0x41b0d2(0x178)],_0x104607[_0x41b0d2(0x187)],_0xb67382[_0x41b0d2(0x1ad)]),console['log'](_0x41b0d2(0x181))),console[_0x41b0d2(0x162)]('launch\x20app'),this[_0x41b0d2(0x183)](_0x104607[_0x41b0d2(0x187)],_0xb67382['id']),_0x104607['deviceId'];}static async[_0xf1c517(0x1b5)](){const _0x33401f=_0xf1c517;let _0x43ec5c=this[_0x33401f(0x15a)]()[0x0];console[_0x33401f(0x162)](_0x33401f(0x193)+_0x43ec5c[_0x33401f(0x187)]);if(_0x43ec5c[_0x33401f(0x1ca)]!==_0x33401f(0x1c6)){let _0x3aa323=new XcrunCMD()[_0x33401f(0x166)]();_0x3aa323[_0x33401f(0x148)](_0x43ec5c[_0x33401f(0x187)]),(0x0,child_process_1['execSync'])(_0x3aa323[_0x33401f(0x145)]);}else console[_0x33401f(0x162)](_0x33401f(0x1a5));}static[_0xf1c517(0x18f)](_0x32adfe){const _0x19210=_0xf1c517;if(_0x32adfe[_0x19210(0x1ca)]===_0x19210(0x1c6)){let _0x269bbc=new XcrunCMD()[_0x19210(0x166)]();_0x269bbc[_0x19210(0x1aa)](_0x32adfe[_0x19210(0x187)]),(0x0,child_process_1[_0x19210(0x14e)])(_0x269bbc[_0x19210(0x145)]),(0x0,child_process_1[_0x19210(0x14e)])(_0x19210(0x19b));}(0x0,child_process_1[_0x19210(0x14e)])(_0x19210(0x196)+_0x32adfe['deviceId']);}static['buildTestApp'](_0x9d1286){const _0x51f320=_0xf1c517,_0xe49ee4=resource_1[_0x51f320(0x160)]+_0x51f320(0x19a);!fs[_0x51f320(0x17d)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x51f320(0x150)](resource_1[_0x51f320(0x170)],{'recursive':!![]});!fs[_0x51f320(0x17d)](resource_1['PROJECT_TEST_DIRECTORY'])&&fs[_0x51f320(0x150)](resource_1[_0x51f320(0x178)],{'recursive':!![]});(0x0,file_1['clearDir'])(resource_1[_0x51f320(0x178)]);const _0x234c57=new xcodebuild_1[(_0x51f320(0x19d))]()[_0x51f320(0x1c0)](_0xe49ee4)[_0x51f320(0x145)]+(_0x51f320(0x155)+_0x9d1286+_0x51f320(0x1b3)+resource_1['PROJECT_TEST_DIRECTORY']);console[_0x51f320(0x162)](_0x51f320(0x17c)+_0x9d1286+_0x51f320(0x1ab));try{const _0x5ad480=(0x0,child_process_1[_0x51f320(0x14e)])(_0x234c57);if(_0x5ad480['toString']()['includes'](_0x51f320(0x168)))return![];}catch(_0x4fc10e){}return console[_0x51f320(0x162)](_0x51f320(0x18c)),!![];}static[_0xf1c517(0x15f)](_0xe8043c,_0x46614a,_0x42d219){const _0x33179a=_0xf1c517,_0x26783c=(0x0,path_1[_0x33179a(0x17b)])(_0xe8043c,_0x33179a(0x17f)+_0x42d219+_0x33179a(0x1a7));let _0x1b644a=new XcrunCMD()[_0x33179a(0x166)]();_0x1b644a[_0x33179a(0x14a)](_0x46614a,_0x26783c),(0x0,child_process_1[_0x33179a(0x14e)])(_0x1b644a[_0x33179a(0x145)]);}static['launchApp'](_0x19c0af,_0x3ec0be){const _0x4774d4=_0xf1c517;try{(0x0,child_process_1[_0x4774d4(0x14e)])(new XcrunCMD()[_0x4774d4(0x166)]()[_0x4774d4(0x1cb)](_0x19c0af,_0x3ec0be)[_0x4774d4(0x145)]);}catch(_0x55d8b9){}(0x0,child_process_1[_0x4774d4(0x14e)])(new XcrunCMD()[_0x4774d4(0x166)]()[_0x4774d4(0x189)](_0x19c0af,_0x3ec0be)[_0x4774d4(0x145)]);}static[_0xf1c517(0x18b)](_0x172394){const _0x11be7b=_0xf1c517;let _0x2982f8=_0x172394['split']('\x0a');const _0x77cef=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/;let _0x433108=[];for(let _0x426ae4=0x0;_0x426ae4<_0x2982f8[_0x11be7b(0x186)];_0x426ae4++){if(_0x2982f8[_0x426ae4][_0x11be7b(0x177)](_0x11be7b(0x17a))){const _0x489d68=_0x2982f8[_0x426ae4][_0x11be7b(0x1a8)](_0x2982f8[_0x426ae4][_0x11be7b(0x16d)](_0x11be7b(0x190))+0x3,_0x2982f8[_0x426ae4][_0x11be7b(0x16d)](_0x11be7b(0x182)));_0x77cef[_0x11be7b(0x179)](_0x489d68)&&(_0x433108['push'](_0x489d68),console[_0x11be7b(0x162)](_0x11be7b(0x1a6)+_0x2982f8[_0x426ae4]+')'));}}return _0x433108;}static[_0xf1c517(0x1a2)](_0x3104ca){const _0x31a8d0=_0xf1c517;let _0xb1d50e=_0x3104ca[_0x31a8d0(0x16c)]('\x0a');for(let _0x4b06a6=0x0;_0x4b06a6<_0xb1d50e[_0x31a8d0(0x186)];_0x4b06a6++){if(_0xb1d50e[_0x4b06a6][_0x31a8d0(0x177)](_0x31a8d0(0x19c)))return _0xb1d50e[_0x4b06a6]=_0xb1d50e[_0x4b06a6][_0x31a8d0(0x1be)](_0x31a8d0(0x19c),'')['trim'](),_0xb1d50e[_0x4b06a6]=_0xb1d50e[_0x4b06a6][_0x31a8d0(0x1be)]('(',''),_0xb1d50e[_0x4b06a6]=_0xb1d50e[_0x4b06a6][_0x31a8d0(0x1be)](')',''),_0xb1d50e[_0x4b06a6];}throw new Error(_0x31a8d0(0x1c4));}static['parseSupportRuntimes'](_0x5bb450){const _0x34b5d0=_0xf1c517;let _0x119094=_0x5bb450[_0x34b5d0(0x16c)]('\x0a');for(let _0x4e79d2=0x0;_0x4e79d2<_0x119094[_0x34b5d0(0x186)];_0x4e79d2++){if(_0x119094[_0x4e79d2][_0x34b5d0(0x177)](_0x34b5d0(0x18e)))return _0x119094[_0x4e79d2][_0x34b5d0(0x1a8)](_0x119094[_0x4e79d2]['indexOf'](_0x34b5d0(0x15d)))[_0x34b5d0(0x17e)]();}throw new Error(_0x34b5d0(0x1bd));}static[_0xf1c517(0x195)](_0x487406){const _0x3d4022=_0xf1c517;let _0x18cda3=_0x487406[_0x3d4022(0x16c)]('\x0a'),_0x44a587=[],_0x1c6eae=-0x1;for(let _0x10417b=0x0;_0x10417b<_0x18cda3[_0x3d4022(0x186)];_0x10417b++){if(_0x18cda3[_0x10417b][_0x3d4022(0x177)](_0x3d4022(0x180)))_0x1c6eae=_0x10417b;else{if(_0x1c6eae>0x0){if(_0x18cda3[_0x10417b][_0x3d4022(0x177)](_0x3d4022(0x159)))break;_0x18cda3[_0x10417b]['length']>0x0&&_0x44a587[_0x3d4022(0x18a)](this[_0x3d4022(0x15c)](_0x18cda3[_0x10417b]));}}}return _0x44a587;}static['parseDeviceInfo'](_0x2f1d78){const _0x5c23b7=_0xf1c517,_0x40ff26=_0x2f1d78[_0x5c23b7(0x16c)]('('),_0x2da8aa={'name':_0x40ff26[0x0]['trim'](),'deviceId':_0x40ff26[0x1]['split'](')')[0x0]['trim'](),'state':_0x40ff26[0x2][_0x5c23b7(0x16c)](')')[0x0]['trim']()};return _0x2da8aa;}static[_0xf1c517(0x15a)](_0x23cd3c){const _0x2fb24f=_0xf1c517;let _0x5c17fd=[_0x23cd3c!==null&&_0x23cd3c!==void 0x0?_0x23cd3c:''];const _0x56bb91=(0x0,child_process_1[_0x2fb24f(0x14e)])(_0x2fb24f(0x151)+resource_1[_0x2fb24f(0x160)]+_0x2fb24f(0x1c8)),_0x54cb70=this['parseDestinationDevices'](_0x56bb91[_0x2fb24f(0x185)]());_0x5c17fd=[..._0x5c17fd,..._0x54cb70];let _0x24dbba=this['listSimulator']();return _0x24dbba['sort']((_0x9c0a45,_0x54d16c)=>{const _0xfcf420=_0x2fb24f,_0x1a3432=_0x5c17fd['indexOf'](_0x9c0a45[_0xfcf420(0x187)]),_0x4f6829=_0x5c17fd[_0xfcf420(0x16d)](_0x54d16c[_0xfcf420(0x187)]);if(_0x1a3432!==-0x1&&_0x4f6829!==-0x1)return _0x1a3432-_0x4f6829;else{if(_0x1a3432!==-0x1)return-0x1;else{if(_0x4f6829!==-0x1)return 0x1;}}return 0x0;}),console[_0x2fb24f(0x162)](_0x2fb24f(0x146)),console[_0x2fb24f(0x162)](_0x24dbba),_0x24dbba;}static['searchSimulator'](_0x1eed75){const _0x3f78e2=_0xf1c517,_0x4d917a=new XcrunCMD()[_0x3f78e2(0x166)]()[_0x3f78e2(0x1bc)]('Apple\x20Vision\x20Pro')['line']+('\x20|\x20grep\x20'+_0x1eed75);console['log'](_0x4d917a);let _0x579921=(0x0,child_process_1['execSync'])(_0x4d917a);return console[_0x3f78e2(0x162)](_0x579921['toString']()),this[_0x3f78e2(0x15c)](_0x579921[_0x3f78e2(0x185)]());}static['createSimulator'](){const _0x340206=_0xf1c517;utils_1[_0x340206(0x1a3)][_0x340206(0x191)](_0x340206(0x1b0)),utils_1[_0x340206(0x1a3)]['warn'](_0x340206(0x172));let _0x444bb8=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x340206(0x166)]()['listDeviceTypes']()[_0x340206(0x145)]);const _0x3a599b=this[_0x340206(0x1a2)](_0x444bb8['toString']());_0x444bb8=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x340206(0x166)]()[_0x340206(0x1cc)]()[_0x340206(0x145)]);const _0x351dec=this[_0x340206(0x1b8)](_0x444bb8[_0x340206(0x185)]());utils_1[_0x340206(0x1a3)][_0x340206(0x165)](_0x340206(0x19f)+_0x3a599b+_0x340206(0x1c3)+_0x351dec+_0x340206(0x173)),_0x444bb8=(0x0,child_process_1[_0x340206(0x14e)])(new XcrunCMD()[_0x340206(0x166)]()[_0x340206(0x164)](_0x3a599b,_0x351dec)[_0x340206(0x145)]);const _0x221837=_0x444bb8[_0x340206(0x185)]()[_0x340206(0x17e)]();return console['log'](_0x340206(0x1c1)+_0x221837),{'name':'WebSpatial\x20Simulator','deviceId':_0x221837,'state':'Shutdown'};}static[_0xf1c517(0x1af)](){const _0x3f38ff=_0xf1c517;let _0x3540bb=(0x0,child_process_1[_0x3f38ff(0x14e)])(new XcrunCMD()[_0x3f38ff(0x166)]()[_0x3f38ff(0x1bc)](_0x3f38ff(0x19c))['line']);return this[_0x3f38ff(0x195)](_0x3540bb[_0x3f38ff(0x185)]());}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x169df3=_0xf1c517;this[_0x169df3(0x145)]=_0x169df3(0x158);}[_0xf1c517(0x14c)](){const _0x29ebcb=_0xf1c517;return this[_0x29ebcb(0x145)]+='\x20altool',this;}[_0xf1c517(0x166)](){const _0x3be64a=_0xf1c517;return this[_0x3be64a(0x145)]+=_0x3be64a(0x1d1),this;}[_0xf1c517(0x1a1)](){const _0x3dd623=_0xf1c517;return this[_0x3dd623(0x145)]+=_0x3dd623(0x18d),this;}[_0xf1c517(0x1bc)](_0x10eef8){const _0x1eb56c=_0xf1c517;return this[_0x1eb56c(0x145)]+='\x20list\x20devices\x20\x22'+_0x10eef8+'\x22',this;}[_0xf1c517(0x1ba)](){return this['line']+='\x20list\x20devicetypes',this;}[_0xf1c517(0x1cc)](){const _0x15f3e3=_0xf1c517;return this[_0x15f3e3(0x145)]+=_0x15f3e3(0x174),this;}[_0xf1c517(0x1cf)](_0x519a56){const _0x186071=_0xf1c517;return this['line']+=_0x186071(0x1b1)+_0x519a56,this;}['uploadApp'](_0x4f7451){const _0x3c7512=_0xf1c517;return this[_0x3c7512(0x145)]+=_0x3c7512(0x1a0)+_0x4f7451,this;}['uploadPackage'](_0x2a9cb){const _0x128198=_0xf1c517;return this[_0x128198(0x145)]+='\x20--upload-package\x20'+_0x2a9cb,this;}[_0xf1c517(0x184)](_0x214381,_0x83a9f8){const _0x82c84a=_0xf1c517;return this[_0x82c84a(0x145)]+='\x20-u\x20'+_0x214381+_0x82c84a(0x199)+_0x83a9f8,this;}[_0xf1c517(0x161)](_0x1d5243,_0x457f73){const _0x4e6a2b=_0xf1c517;return this[_0x4e6a2b(0x145)]+=_0x4e6a2b(0x1b9)+_0x1d5243+_0x4e6a2b(0x1ce)+_0x457f73,this;}[_0xf1c517(0x152)](_0x420d1e){const _0x1dda06=_0xf1c517;return this[_0x1dda06(0x145)]+=_0x1dda06(0x197)+_0x420d1e,this;}[_0xf1c517(0x176)](_0x88dfc2){const _0x1a9dc7=_0xf1c517;return this[_0x1a9dc7(0x145)]+='\x20-t\x20'+_0x88dfc2,this;}[_0xf1c517(0x15e)](_0x35b3e7){const _0x1dc932=_0xf1c517;return this['line']+=_0x1dc932(0x1cd)+_0x35b3e7,this;}[_0xf1c517(0x1b7)](){const _0x4fcd47=_0xf1c517;return this['line']+=_0x4fcd47(0x1c9),this;}['create'](_0x2453b6,_0x155f69){const _0x1b5d5a=_0xf1c517;return this['line']+='\x20create\x20\x22WebSpatialSimulator\x22\x20\x22'+_0x2453b6+_0x1b5d5a(0x163)+_0x155f69+'\x22',this;}[_0xf1c517(0x148)](_0x5329e7){const _0xaa1361=_0xf1c517;return this[_0xaa1361(0x145)]+='\x20shutdown\x20\x22'+_0x5329e7+'\x22',this;}['boot'](_0x33e5ba){const _0x1aea0c=_0xf1c517;return this[_0x1aea0c(0x145)]+=_0x1aea0c(0x147)+_0x33e5ba+'\x22',this;}[_0xf1c517(0x14a)](_0xe30f1e,_0x5b91ca){const _0x5d2fb5=_0xf1c517;return this[_0x5d2fb5(0x145)]+='\x20install\x20\x22'+_0xe30f1e+_0x5d2fb5(0x163)+_0x5b91ca+'\x22',this;}['launch'](_0x595049,_0x51ed4b){const _0x4b9a1e=_0xf1c517;return this['line']+=_0x4b9a1e(0x16f)+_0x595049+_0x4b9a1e(0x163)+_0x51ed4b+'\x22',this;}[_0xf1c517(0x1cb)](_0x100995,_0x437d0a){const _0x1c23d7=_0xf1c517;return this[_0x1c23d7(0x145)]+='\x20terminate\x20\x22'+_0x100995+_0x1c23d7(0x163)+_0x437d0a+'\x22',this;}}
1
+ 'use strict';const _0xd61acb=_0x4e80;(function(_0x20be87,_0x1944a6){const _0x1f520e=_0x4e80,_0x510d57=_0x20be87();while(!![]){try{const _0x3265aa=-parseInt(_0x1f520e(0xf3))/0x1+parseInt(_0x1f520e(0xab))/0x2+parseInt(_0x1f520e(0x78))/0x3*(-parseInt(_0x1f520e(0x98))/0x4)+parseInt(_0x1f520e(0xce))/0x5*(-parseInt(_0x1f520e(0xbf))/0x6)+-parseInt(_0x1f520e(0x9a))/0x7+parseInt(_0x1f520e(0xbd))/0x8+parseInt(_0x1f520e(0x84))/0x9*(parseInt(_0x1f520e(0xea))/0xa);if(_0x3265aa===_0x1944a6)break;else _0x510d57['push'](_0x510d57['shift']());}catch(_0x30c26d){_0x510d57['push'](_0x510d57['shift']());}}}(_0x3f67,0xdfc7d));function _0x3f67(){const _0x2dc6c2=['\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','\x20--apple-id\x20','\x20shutdown\x20\x22','indexOf','log','\x20list','appleId','60210PKOZhS','uploadPackage','getSimulatorHistory','buildTestApp','\x20altool','\x20--upload-package\x20','error','\x20--apiIssuer\x20','authApi','301816cfSpdr','../resource','No\x20visionOS\x20rumtime\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','\x20list\x20devicetypes','mkdirSync','\x20--validate-app\x20-f\x20','--\x20visionOS','\x20--bundle-version\x20','\x20list\x20devices\x20\x22','/web-spatial.xcodeproj','getAppInfoRecord','try\x20create\x20a\x20visionOS\x20simulator','xcrun',',\x20name','3YWNOFl','\x20-t\x20','\x20|\x20grep\x20','path','test','length','slice','uploadApp','__esModule','parseDeviceInfo','\x20--apiKey\x20','PROJECT_DIRECTORY','4698TfwDlC','listDevices','cd\x20','PROJECT_BUILD_DIRECTORY','Build/Products/Debug-xrsimulator/','no\x20visionOS\x20simulator\x20found','\x20and\x20','launch','Apple\x20Vision\x20Pro','includes','\x20boot\x20\x22','version','parseDestinationDevices','\x22\x20\x22','\x20simctl','listSimulator','Shutdown','platform:visionOS\x20Simulator','simctl','create','350156RohOHE','existsSync','9605540rCWEDZ','runWithSimulator','No\x20Apple\x20Vision\x20Pro\x20simulator\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','use\x20simulator:\x20','terminate','write','altool','\x20-u\x20','findSimulator','project','visionOS','child_process','push','launchSimulator','listDeviceTypes','execSync','installing\x20app','1248804iBPBuG','parseSupportDevices','com','id:','line','use\x20','.app','validate','\x27\x20-derivedDataPath\x20','./xcodebuild','simulator\x20is\x20already\x20shutdown','../utils/utils','parseSupportRuntimes','build\x20failed\x20on\x20','warn','launchApp','no\x20simulator\x20available','-------------------\x20build\x20end\x20-------------------','3632760iwCoYG','visionos','9259674ntDDqT','deviceId','createSimulator','find\x20simulators:',',\x20try\x20next\x20device','sort','trim','create\x20visionOS\x20simulator:\x20','join','install','\x20&&\x20xcodebuild\x20-showdestinations\x20-scheme\x20web-spatial','defineProperty','\x20list\x20runtimes','\x20----','listRuntimes','5SKAIEQ','boot','shutdownSimulator','find\x20destination\x20device:\x20','searchSimulator','recordSimulator','authAccount','default','runWithHistory','toString','\x20create\x20\x22WebSpatialSimulator\x22\x20\x22','launchWithSimulator','XcodebuildCMD','----\x20build\x20start\x20on\x20','replace','open\x20-a\x20Simulator\x20--args\x20-CurrentDeviceUDID\x20','split','\x20--verbose','platform','PROJECT_TEST_DIRECTORY','CliLog'];_0x3f67=function(){return _0x2dc6c2;};return _0x3f67();}function _0x4e80(_0x143f95,_0x3eae63){const _0x3f675a=_0x3f67();return _0x4e80=function(_0x4e8091,_0x28612f){_0x4e8091=_0x4e8091-0x6b;let _0x1a6a47=_0x3f675a[_0x4e8091];return _0x1a6a47;},_0x4e80(_0x143f95,_0x3eae63);}Object[_0xd61acb(0xca)](exports,_0xd61acb(0x80),{'value':!![]});const child_process_1=require(_0xd61acb(0xa5)),resource_1=require(_0xd61acb(0x6b)),path_1=require(_0xd61acb(0x7b)),fs=require('fs'),xcodebuild_1=require(_0xd61acb(0xb4)),file_1=require('../resource/file'),utils_1=require(_0xd61acb(0xb6)),history_1=require('../utils/history');class Xcrun{static async[_0xd61acb(0xb2)](_0x53bf46,_0x5038f2,_0x3a2ef2,_0x1ec471){const _0x15c93c=_0xd61acb,_0x506428=new XcrunCMD()[_0x15c93c(0xa0)]();_0x506428[_0x15c93c(0xb2)](_0x53bf46);_0x1ec471?_0x506428[_0x15c93c(0xd4)](_0x5038f2,_0x3a2ef2):_0x506428[_0x15c93c(0xf2)](_0x5038f2,_0x3a2ef2);_0x506428[_0x15c93c(0xe0)](_0x15c93c(0xbe));const _0x31423f=(0x0,child_process_1[_0x15c93c(0xa9)])(_0x506428[_0x15c93c(0xaf)]);return _0x31423f[_0x15c93c(0xd7)]();}static async[_0xd61acb(0xeb)](_0x245a47,_0x1e2d20,_0x4a4f74,_0x1b8378,_0x331cc0){const _0x411f9f=_0xd61acb,_0x519f0f=new XcrunCMD()['altool']();_0x519f0f[_0x411f9f(0xeb)](_0x245a47);_0x331cc0?_0x519f0f['authAccount'](_0x1e2d20,_0x4a4f74):_0x519f0f[_0x411f9f(0xf2)](_0x1e2d20,_0x4a4f74);_0x519f0f[_0x411f9f(0xe0)](_0x411f9f(0xbe)),_0x519f0f['appleId'](_0x1b8378);const _0x38f073=(0x0,child_process_1[_0x411f9f(0xa9)])(_0x519f0f[_0x411f9f(0xaf)]);return _0x38f073['toString']();}static async[_0xd61acb(0x7f)](_0x101a93,_0x5eaf62,_0x11ff47,_0x3fc336){const _0x39efa9=_0xd61acb,_0x59219a=new XcrunCMD()[_0x39efa9(0xa0)]();_0x59219a[_0x39efa9(0x7f)](_0x101a93);_0x3fc336?_0x59219a[_0x39efa9(0xd4)](_0x5eaf62,_0x11ff47):_0x59219a[_0x39efa9(0xf2)](_0x5eaf62,_0x11ff47);_0x59219a[_0x39efa9(0xe0)](_0x39efa9(0xbe));const _0x24e1ed=(0x0,child_process_1[_0x39efa9(0xa9)])(_0x59219a[_0x39efa9(0xaf)]);return _0x24e1ed[_0x39efa9(0xd7)]();}static async[_0xd61acb(0x9b)](){const _0x105530=_0xd61acb;let _0x1368c9=this['findSimulator']();!_0x1368c9[0x0]&&(_0x1368c9=[this[_0x105530(0xc1)]()]);const _0x10f53b=history_1[_0x105530(0xd5)]['getAppInfoRecord']();for(var _0x2b7c9e=0x0;_0x2b7c9e<_0x1368c9[_0x105530(0x7d)];_0x2b7c9e++){if(this['buildTestApp'](_0x1368c9[_0x2b7c9e][_0x105530(0xc0)])){const _0x30e1fd=this[_0x105530(0xd9)](_0x10f53b,_0x1368c9[_0x2b7c9e][_0x105530(0xc0)],!![],![]);history_1['default'][_0x105530(0xd3)](_0x30e1fd),history_1[_0x105530(0xd5)]['write']();return;}else utils_1[_0x105530(0xe2)][_0x105530(0xf0)](_0x105530(0xb8)+_0x1368c9[_0x2b7c9e][_0x105530(0xc0)]+_0x105530(0xc3));}utils_1[_0x105530(0xe2)]['error'](_0x105530(0xbb));}static async[_0xd61acb(0xd6)](){const _0x4190a9=_0xd61acb,_0x3d782e=history_1[_0x4190a9(0xd5)][_0x4190a9(0xec)](),_0x17f65c=history_1[_0x4190a9(0xd5)][_0x4190a9(0x74)](),_0x1e1099=this['launchWithSimulator'](_0x17f65c,_0x3d782e);history_1[_0x4190a9(0xd5)][_0x4190a9(0xd3)](_0x1e1099),history_1[_0x4190a9(0xd5)][_0x4190a9(0x9f)]();}static[_0xd61acb(0xd9)](_0x4ad7aa,_0x26803e='',_0x23e707=![],_0x225ea3=!![]){const _0x4ab596=_0xd61acb;let _0x393250,_0x17f586=![];return _0x225ea3?_0x393250=this[_0x4ab596(0xa2)](_0x26803e)[0x0]:_0x393250=this['searchSimulator'](_0x26803e),(!_0x393250||_0x393250['deviceId']==='')&&(_0x393250=this['createSimulator'](),_0x17f586=!![]),console[_0x4ab596(0xe7)](_0x4ab596(0x9d)+_0x393250['deviceId']),this[_0x4ab596(0xa7)](_0x393250),(_0x23e707||_0x17f586)&&(console[_0x4ab596(0xe7)](_0x4ab596(0xaa)),this['installApp'](resource_1['PROJECT_TEST_DIRECTORY'],_0x393250['deviceId'],_0x4ad7aa['name']),console[_0x4ab596(0xe7)]('install\x20success')),console[_0x4ab596(0xe7)]('launch\x20app'),this[_0x4ab596(0xba)](_0x393250['deviceId'],_0x4ad7aa['id']),_0x393250[_0x4ab596(0xc0)];}static async[_0xd61acb(0xd0)](){const _0x3bb944=_0xd61acb;let _0x3dab08=this[_0x3bb944(0xa2)]()[0x0];console[_0x3bb944(0xe7)]('find\x20simulator:\x20'+_0x3dab08['deviceId']);if(_0x3dab08['state']!=='Shutdown'){let _0x21c73e=new XcrunCMD()[_0x3bb944(0x96)]();_0x21c73e['shutdown'](_0x3dab08[_0x3bb944(0xc0)]),(0x0,child_process_1[_0x3bb944(0xa9)])(_0x21c73e['line']);}else console[_0x3bb944(0xe7)](_0x3bb944(0xb5));}static[_0xd61acb(0xa7)](_0x71f4d){const _0x2c28a0=_0xd61acb;if(_0x71f4d['state']===_0x2c28a0(0x94)){let _0x3d9d7c=new XcrunCMD()['simctl']();_0x3d9d7c[_0x2c28a0(0xcf)](_0x71f4d[_0x2c28a0(0xc0)]),(0x0,child_process_1['execSync'])(_0x3d9d7c[_0x2c28a0(0xaf)]),(0x0,child_process_1[_0x2c28a0(0xa9)])('sleep\x2010');}(0x0,child_process_1[_0x2c28a0(0xa9)])(_0x2c28a0(0xdd)+_0x71f4d['deviceId']);}static[_0xd61acb(0xed)](_0x5d2995){const _0x1dd82f=_0xd61acb,_0x52f627=resource_1[_0x1dd82f(0x83)]+_0x1dd82f(0x73);!fs[_0x1dd82f(0x99)](resource_1[_0x1dd82f(0x87)])&&fs[_0x1dd82f(0x6e)](resource_1[_0x1dd82f(0x87)],{'recursive':!![]});!fs[_0x1dd82f(0x99)](resource_1[_0x1dd82f(0xe1)])&&fs['mkdirSync'](resource_1[_0x1dd82f(0xe1)],{'recursive':!![]});(0x0,file_1['clearDir'])(resource_1[_0x1dd82f(0xe1)]);const _0x4ce3da=new xcodebuild_1[(_0x1dd82f(0xda))]()[_0x1dd82f(0xa3)](_0x52f627)['line']+(_0x1dd82f(0xe3)+_0x5d2995+_0x1dd82f(0xb3)+resource_1[_0x1dd82f(0xe1)]);console[_0x1dd82f(0xe7)](_0x1dd82f(0xdb)+_0x5d2995+_0x1dd82f(0xcc));try{const _0x27c50b=(0x0,child_process_1[_0x1dd82f(0xa9)])(_0x4ce3da);if(_0x27c50b[_0x1dd82f(0xd7)]()[_0x1dd82f(0x8d)]('**\x20BUILD\x20FAILED\x20**'))return![];}catch(_0x289946){}return console[_0x1dd82f(0xe7)](_0x1dd82f(0xbc)),!![];}static['installApp'](_0x2bfd93,_0x5cd157,_0x5834a8){const _0x4d7de4=_0xd61acb,_0x59610c=(0x0,path_1[_0x4d7de4(0xc7)])(_0x2bfd93,_0x4d7de4(0x88)+_0x5834a8+_0x4d7de4(0xb1));let _0x23449e=new XcrunCMD()[_0x4d7de4(0x96)]();_0x23449e['install'](_0x5cd157,_0x59610c),(0x0,child_process_1[_0x4d7de4(0xa9)])(_0x23449e[_0x4d7de4(0xaf)]);}static[_0xd61acb(0xba)](_0x50b6c3,_0xcc3f1a){const _0x17f830=_0xd61acb;try{(0x0,child_process_1[_0x17f830(0xa9)])(new XcrunCMD()[_0x17f830(0x96)]()['terminate'](_0x50b6c3,_0xcc3f1a)[_0x17f830(0xaf)]);}catch(_0x156c25){}(0x0,child_process_1[_0x17f830(0xa9)])(new XcrunCMD()[_0x17f830(0x96)]()[_0x17f830(0x8b)](_0x50b6c3,_0xcc3f1a)[_0x17f830(0xaf)]);}static[_0xd61acb(0x90)](_0xcbf254){const _0x2e9ebf=_0xd61acb;let _0x487b96=_0xcbf254[_0x2e9ebf(0xde)]('\x0a');const _0x2dc851=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/;let _0x5a02a1=[];for(let _0x3bb9c3=0x0;_0x3bb9c3<_0x487b96[_0x2e9ebf(0x7d)];_0x3bb9c3++){if(_0x487b96[_0x3bb9c3][_0x2e9ebf(0x8d)](_0x2e9ebf(0x95))){const _0x373307=_0x487b96[_0x3bb9c3][_0x2e9ebf(0x7e)](_0x487b96[_0x3bb9c3][_0x2e9ebf(0xe6)](_0x2e9ebf(0xae))+0x3,_0x487b96[_0x3bb9c3][_0x2e9ebf(0xe6)](_0x2e9ebf(0x77)));_0x2dc851[_0x2e9ebf(0x7c)](_0x373307)&&(_0x5a02a1['push'](_0x373307),console['log'](_0x2e9ebf(0xd1)+_0x487b96[_0x3bb9c3]+')'));}}return _0x5a02a1;}static[_0xd61acb(0xac)](_0x579c01){const _0x2e6d9b=_0xd61acb;let _0x57b120=_0x579c01['split']('\x0a');for(let _0x685f00=0x0;_0x685f00<_0x57b120[_0x2e6d9b(0x7d)];_0x685f00++){if(_0x57b120[_0x685f00]['includes']('Apple\x20Vision\x20Pro'))return _0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)](_0x2e6d9b(0x8c),'')['trim'](),_0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)]('(',''),_0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)](')',''),_0x57b120[_0x685f00];}throw new Error(_0x2e6d9b(0x9c));}static[_0xd61acb(0xb7)](_0x14e2a4){const _0xf453f1=_0xd61acb;let _0x36864a=_0x14e2a4[_0xf453f1(0xde)]('\x0a');for(let _0x395cb6=0x0;_0x395cb6<_0x36864a[_0xf453f1(0x7d)];_0x395cb6++){if(_0x36864a[_0x395cb6][_0xf453f1(0x8d)](_0xf453f1(0xa4)))return _0x36864a[_0x395cb6][_0xf453f1(0x7e)](_0x36864a[_0x395cb6][_0xf453f1(0xe6)](_0xf453f1(0xad)))['trim']();}throw new Error(_0xf453f1(0x6c));}static['parseListDevices'](_0x20652f){const _0x47860b=_0xd61acb;let _0x4c4735=_0x20652f[_0x47860b(0xde)]('\x0a'),_0xd4f521=[],_0x1f315a=-0x1;for(let _0x197059=0x0;_0x197059<_0x4c4735['length'];_0x197059++){if(_0x4c4735[_0x197059][_0x47860b(0x8d)](_0x47860b(0x70)))_0x1f315a=_0x197059;else{if(_0x1f315a>0x0){if(_0x4c4735[_0x197059]['includes']('--\x20'))break;_0x4c4735[_0x197059][_0x47860b(0x7d)]>0x0&&_0xd4f521[_0x47860b(0xa6)](this[_0x47860b(0x81)](_0x4c4735[_0x197059]));}}}return _0xd4f521;}static[_0xd61acb(0x81)](_0x1092c){const _0x566781=_0xd61acb,_0xc3c966=_0x1092c[_0x566781(0xde)]('('),_0xfe9ba2={'name':_0xc3c966[0x0]['trim'](),'deviceId':_0xc3c966[0x1][_0x566781(0xde)](')')[0x0][_0x566781(0xc5)](),'state':_0xc3c966[0x2][_0x566781(0xde)](')')[0x0][_0x566781(0xc5)]()};return _0xfe9ba2;}static[_0xd61acb(0xa2)](_0x2d9d38){const _0xfcf48f=_0xd61acb;let _0x58802c=[_0x2d9d38!==null&&_0x2d9d38!==void 0x0?_0x2d9d38:''];const _0x5dafac=(0x0,child_process_1[_0xfcf48f(0xa9)])(_0xfcf48f(0x86)+resource_1['PROJECT_DIRECTORY']+_0xfcf48f(0xc9)),_0x1126f2=this['parseDestinationDevices'](_0x5dafac[_0xfcf48f(0xd7)]());_0x58802c=[..._0x58802c,..._0x1126f2];let _0x17b803=this[_0xfcf48f(0x93)]();return _0x17b803[_0xfcf48f(0xc4)]((_0x172a0e,_0x44510f)=>{const _0x4dadec=_0xfcf48f,_0x4452f8=_0x58802c[_0x4dadec(0xe6)](_0x172a0e[_0x4dadec(0xc0)]),_0x3125bd=_0x58802c[_0x4dadec(0xe6)](_0x44510f['deviceId']);if(_0x4452f8!==-0x1&&_0x3125bd!==-0x1)return _0x4452f8-_0x3125bd;else{if(_0x4452f8!==-0x1)return-0x1;else{if(_0x3125bd!==-0x1)return 0x1;}}return 0x0;}),console['log'](_0xfcf48f(0xc2)),console[_0xfcf48f(0xe7)](_0x17b803),_0x17b803;}static[_0xd61acb(0xd2)](_0x44c25d){const _0x410e28=_0xd61acb,_0x157702=new XcrunCMD()[_0x410e28(0x96)]()[_0x410e28(0x85)](_0x410e28(0x8c))['line']+(_0x410e28(0x7a)+_0x44c25d);console['log'](_0x157702);let _0x3af0bf=(0x0,child_process_1['execSync'])(_0x157702);return console[_0x410e28(0xe7)](_0x3af0bf[_0x410e28(0xd7)]()),this[_0x410e28(0x81)](_0x3af0bf['toString']());}static[_0xd61acb(0xc1)](){const _0x32b850=_0xd61acb;utils_1[_0x32b850(0xe2)][_0x32b850(0xb9)](_0x32b850(0x89)),utils_1[_0x32b850(0xe2)][_0x32b850(0xb9)](_0x32b850(0x75));let _0x540a51=(0x0,child_process_1[_0x32b850(0xa9)])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0xa8)]()['line']);const _0x25d365=this[_0x32b850(0xac)](_0x540a51[_0x32b850(0xd7)]());_0x540a51=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0xcd)]()['line']);const _0x4e0e9b=this['parseSupportRuntimes'](_0x540a51[_0x32b850(0xd7)]());utils_1[_0x32b850(0xe2)]['info'](_0x32b850(0xb0)+_0x25d365+_0x32b850(0x8a)+_0x4e0e9b+'\x20to\x20create\x20visionOS\x20simulator'),_0x540a51=(0x0,child_process_1[_0x32b850(0xa9)])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0x97)](_0x25d365,_0x4e0e9b)[_0x32b850(0xaf)]);const _0x46f17a=_0x540a51[_0x32b850(0xd7)]()[_0x32b850(0xc5)]();return console['log'](_0x32b850(0xc6)+_0x46f17a),{'name':'WebSpatial\x20Simulator','deviceId':_0x46f17a,'state':_0x32b850(0x94)};}static['listSimulator'](){const _0x4b81c2=_0xd61acb;let _0x37ae0c=(0x0,child_process_1[_0x4b81c2(0xa9)])(new XcrunCMD()[_0x4b81c2(0x96)]()[_0x4b81c2(0x85)]('Apple\x20Vision\x20Pro')[_0x4b81c2(0xaf)]);return this['parseListDevices'](_0x37ae0c[_0x4b81c2(0xd7)]());}}exports[_0xd61acb(0xd5)]=Xcrun;class XcrunCMD{constructor(){const _0x56d6d5=_0xd61acb;this[_0x56d6d5(0xaf)]=_0x56d6d5(0x76);}['altool'](){const _0x463ba0=_0xd61acb;return this['line']+=_0x463ba0(0xee),this;}[_0xd61acb(0x96)](){const _0x2a8e46=_0xd61acb;return this[_0x2a8e46(0xaf)]+=_0x2a8e46(0x92),this;}['list'](){const _0x4eb5fe=_0xd61acb;return this['line']+=_0x4eb5fe(0xe8),this;}['listDevices'](_0x5a23be){const _0x50c17e=_0xd61acb;return this[_0x50c17e(0xaf)]+=_0x50c17e(0x72)+_0x5a23be+'\x22',this;}[_0xd61acb(0xa8)](){const _0x563b96=_0xd61acb;return this[_0x563b96(0xaf)]+=_0x563b96(0x6d),this;}['listRuntimes'](){const _0x406b06=_0xd61acb;return this[_0x406b06(0xaf)]+=_0x406b06(0xcb),this;}[_0xd61acb(0xb2)](_0x368fce){const _0x53e96c=_0xd61acb;return this['line']+=_0x53e96c(0x6f)+_0x368fce,this;}[_0xd61acb(0x7f)](_0x5b0c95){return this['line']+='\x20--upload-app\x20-f\x20'+_0x5b0c95,this;}[_0xd61acb(0xeb)](_0x96b5ee){const _0xbbb83=_0xd61acb;return this['line']+=_0xbbb83(0xef)+_0x96b5ee,this;}['authAccount'](_0x1299b6,_0x4e8072){const _0x120760=_0xd61acb;return this[_0x120760(0xaf)]+=_0x120760(0xa1)+_0x1299b6+'\x20-p\x20'+_0x4e8072,this;}[_0xd61acb(0xf2)](_0x3965d8,_0x3502a5){const _0x1a2567=_0xd61acb;return this['line']+=_0x1a2567(0x82)+_0x3965d8+_0x1a2567(0xf1)+_0x3502a5,this;}[_0xd61acb(0xe9)](_0x5588d1){const _0x3f5504=_0xd61acb;return this['line']+=_0x3f5504(0xe4)+_0x5588d1,this;}['platform'](_0x49c4cb){const _0x2e7c42=_0xd61acb;return this['line']+=_0x2e7c42(0x79)+_0x49c4cb,this;}[_0xd61acb(0x8f)](_0x46f80e){const _0x12da92=_0xd61acb;return this[_0x12da92(0xaf)]+=_0x12da92(0x71)+_0x46f80e,this;}['verbose'](){const _0x5f28a0=_0xd61acb;return this[_0x5f28a0(0xaf)]+=_0x5f28a0(0xdf),this;}['create'](_0x23f3d1,_0x57f228){const _0x4c76b3=_0xd61acb;return this[_0x4c76b3(0xaf)]+=_0x4c76b3(0xd8)+_0x23f3d1+_0x4c76b3(0x91)+_0x57f228+'\x22',this;}['shutdown'](_0xfddc45){const _0xa02873=_0xd61acb;return this[_0xa02873(0xaf)]+=_0xa02873(0xe5)+_0xfddc45+'\x22',this;}[_0xd61acb(0xcf)](_0x12df37){const _0x1002a8=_0xd61acb;return this[_0x1002a8(0xaf)]+=_0x1002a8(0x8e)+_0x12df37+'\x22',this;}[_0xd61acb(0xc8)](_0x2dd1c4,_0x396b45){const _0x5bc12a=_0xd61acb;return this[_0x5bc12a(0xaf)]+='\x20install\x20\x22'+_0x2dd1c4+_0x5bc12a(0x91)+_0x396b45+'\x22',this;}[_0xd61acb(0x8b)](_0xac48f5,_0x4583ac){const _0x3b5ecb=_0xd61acb;return this['line']+='\x20launch\x20\x22'+_0xac48f5+_0x3b5ecb(0x91)+_0x4583ac+'\x22',this;}[_0xd61acb(0x9e)](_0x566c6a,_0x1ec284){const _0x54c6d5=_0xd61acb;return this[_0x54c6d5(0xaf)]+='\x20terminate\x20\x22'+_0x566c6a+_0x54c6d5(0x91)+_0x1ec284+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  "sharp": "^0.33.5",
40
40
  "valid-url": "^1.0.9",
41
41
  "xcode": "^3.0.1",
42
- "@webspatial/platform-visionos": "^0.1.14"
42
+ "@webspatial/platform-visionos": "^0.1.15"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@rollup/plugin-terser": "^0.4.3",