@webspatial/builder 0.0.17 → 0.0.18-alpha.0

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 _0xeec449=_0xc496;(function(_0x2db4a9,_0x5ce335){const _0x1fbe8a=_0xc496,_0x2fdc04=_0x2db4a9();while(!![]){try{const _0x1e8fc0=-parseInt(_0x1fbe8a(0x73))/0x1+parseInt(_0x1fbe8a(0x7f))/0x2*(parseInt(_0x1fbe8a(0x7c))/0x3)+parseInt(_0x1fbe8a(0x76))/0x4*(parseInt(_0x1fbe8a(0x77))/0x5)+-parseInt(_0x1fbe8a(0x83))/0x6*(-parseInt(_0x1fbe8a(0x87))/0x7)+parseInt(_0x1fbe8a(0x82))/0x8+-parseInt(_0x1fbe8a(0x72))/0x9+-parseInt(_0x1fbe8a(0x70))/0xa;if(_0x1e8fc0===_0x5ce335)break;else _0x2fdc04['push'](_0x2fdc04['shift']());}catch(_0x5467bc){_0x2fdc04['push'](_0x2fdc04['shift']());}}}(_0x1659,0x943b9));Object[_0xeec449(0x78)](exports,_0xeec449(0x85),{'value':!![]});function _0xc496(_0x4af786,_0x11ae79){const _0x1659a6=_0x1659();return _0xc496=function(_0xc49682,_0x49d6b9){_0xc49682=_0xc49682-0x70;let _0x357c63=_0x1659a6[_0xc49682];return _0x357c63;},_0xc496(_0x4af786,_0x11ae79);}function _0x1659(){const _0xbd91ff=['2371288SiIkpx','2633394PHczrJ','./lib/utils/CustomError','__esModule','isArray','7clPKat','customMessage','2709540twyGAa','exports','8897895ATYloC','896473PSVxSd','run','Cli','4325848fzrZYe','5EGtVXn','defineProperty','./lib/utils/Log','message','exit','3GidIKu','forEach','slice','1892942AyxfCo','CustomError','error'];_0x1659=function(){return _0xbd91ff;};return _0x1659();}const Cli_1=require('./lib/Cli'),Log_1=require(_0xeec449(0x79)),CustomError_1=require(_0xeec449(0x84));module[_0xeec449(0x71)]=async()=>{const _0xc78e3d=_0xeec449,_0x3386ef=new Cli_1[(_0xc78e3d(0x75))](),_0x5c4b9a=new Log_1['ConsoleLog']('cli'),_0x45bdc7=process['argv'][_0xc78e3d(0x7e)](0x2);let _0x25f0a2;try{_0x25f0a2=await _0x3386ef[_0xc78e3d(0x74)](_0x45bdc7);}catch(_0x40d66a){if(_0x40d66a instanceof CustomError_1[_0xc78e3d(0x80)]){const _0x755c3c=_0x40d66a[_0xc78e3d(0x88)];Array[_0xc78e3d(0x86)](_0x755c3c)?_0x755c3c[_0xc78e3d(0x7d)](_0x51505c=>{const _0x118528=_0xc78e3d;_0x5c4b9a[_0x118528(0x81)](_0x51505c['code']+':\x20'+_0x51505c[_0x118528(0x7a)]);}):_0x5c4b9a[_0xc78e3d(0x81)](_0x755c3c['code']+':\x20'+_0x755c3c[_0xc78e3d(0x7a)]);}else _0x5c4b9a[_0xc78e3d(0x81)](_0x40d66a[_0xc78e3d(0x7a)]);_0x25f0a2=![];}!_0x25f0a2?process[_0xc78e3d(0x7b)](0x1):process[_0xc78e3d(0x7b)](0x0);};
1
+ 'use strict';function _0x25eb(_0x59fcc3,_0x3dbf7a){const _0xbbf6a0=_0xbbf6();return _0x25eb=function(_0x25eba3,_0x4f76ed){_0x25eba3=_0x25eba3-0x1a2;let _0x53d911=_0xbbf6a0[_0x25eba3];return _0x53d911;},_0x25eb(_0x59fcc3,_0x3dbf7a);}const _0x4d953a=_0x25eb;(function(_0x41ed0c,_0x441b32){const _0x48e629=_0x25eb,_0x1db5ae=_0x41ed0c();while(!![]){try{const _0x247876=parseInt(_0x48e629(0x1a8))/0x1*(-parseInt(_0x48e629(0x1ab))/0x2)+parseInt(_0x48e629(0x1ae))/0x3*(parseInt(_0x48e629(0x1b1))/0x4)+-parseInt(_0x48e629(0x1b7))/0x5*(parseInt(_0x48e629(0x1b3))/0x6)+-parseInt(_0x48e629(0x1bb))/0x7*(parseInt(_0x48e629(0x1af))/0x8)+-parseInt(_0x48e629(0x1b4))/0x9+parseInt(_0x48e629(0x1a4))/0xa+parseInt(_0x48e629(0x1b9))/0xb;if(_0x247876===_0x441b32)break;else _0x1db5ae['push'](_0x1db5ae['shift']());}catch(_0x535f0e){_0x1db5ae['push'](_0x1db5ae['shift']());}}}(_0xbbf6,0x91937));function _0xbbf6(){const _0xeafd6=['./lib/utils/CustomError','forEach','321791QHgFZl','isArray','error','6KumFgt','run','argv','12ndLfJJ','760yVbTlX','./lib/Cli','779516ygaukd','customMessage','6gQMmVQ','3824496NTefRs','exit','code','5618335htHoUM','defineProperty','31819788iUjPNA','message','46109qyBNpi','log','CustomError','638040WFCEWV','__esModule'];_0xbbf6=function(){return _0xeafd6;};return _0xbbf6();}Object[_0x4d953a(0x1b8)](exports,_0x4d953a(0x1a5),{'value':!![]});const Cli_1=require(_0x4d953a(0x1b0)),CustomError_1=require(_0x4d953a(0x1a6));module['exports']=async()=>{const _0xa3aae7=_0x4d953a,_0x5ead08=new Cli_1['Cli'](),_0x4e2cd1=Cli_1['Cli'][_0xa3aae7(0x1a2)],_0xdf3b53=process[_0xa3aae7(0x1ad)]['slice'](0x2);let _0x22285e;try{_0x22285e=await _0x5ead08[_0xa3aae7(0x1ac)](_0xdf3b53);}catch(_0x5eb74a){if(_0x5eb74a instanceof CustomError_1[_0xa3aae7(0x1a3)]){const _0x41a413=_0x5eb74a[_0xa3aae7(0x1b2)];Array[_0xa3aae7(0x1a9)](_0x41a413)?_0x41a413[_0xa3aae7(0x1a7)](_0x2f7c1b=>{const _0x50d440=_0xa3aae7;_0x4e2cd1[_0x50d440(0x1aa)](_0x2f7c1b['code']+':\x20'+_0x2f7c1b[_0x50d440(0x1ba)]);}):_0x4e2cd1[_0xa3aae7(0x1aa)](_0x41a413[_0xa3aae7(0x1b6)]+':\x20'+_0x41a413[_0xa3aae7(0x1ba)]);}else _0x4e2cd1[_0xa3aae7(0x1aa)](_0x5eb74a[_0xa3aae7(0x1ba)]);_0x22285e=![];}!_0x22285e?process[_0xa3aae7(0x1b5)](0x1):process[_0xa3aae7(0x1b5)](0x0);};
package/dist/lib/Cli.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { ConsoleLog } from '../lib/utils/Log';
1
2
  export declare class Cli {
3
+ static log: ConsoleLog;
2
4
  run(args: string[]): Promise<boolean>;
3
5
  }
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2ba0ce=_0x5903;(function(_0x40717e,_0x39a125){const _0xa53583=_0x5903,_0x2da24b=_0x40717e();while(!![]){try{const _0x177ae8=parseInt(_0xa53583(0x165))/0x1+parseInt(_0xa53583(0x169))/0x2+-parseInt(_0xa53583(0x176))/0x3+parseInt(_0xa53583(0x164))/0x4*(parseInt(_0xa53583(0x175))/0x5)+parseInt(_0xa53583(0x17c))/0x6+parseInt(_0xa53583(0x171))/0x7+-parseInt(_0xa53583(0x168))/0x8*(parseInt(_0xa53583(0x163))/0x9);if(_0x177ae8===_0x39a125)break;else _0x2da24b['push'](_0x2da24b['shift']());}catch(_0xa6545){_0x2da24b['push'](_0x2da24b['shift']());}}}(_0x4c51,0x4b589));Object[_0x2ba0ce(0x15b)](exports,_0x2ba0ce(0x15c),{'value':!![]}),exports[_0x2ba0ce(0x15d)]=void 0x0;function _0x4c51(){const _0x18c9c6=['build','98307sKvoAu','41012ImyGow','353984updDwr','./utils/FetchUtils-1','version','776NDfiQm','788666OAjYNr','length','./cmds/help','fetchUtils','setFetch','./utils/fetch','store','setDownloadFile','3134747Tcrawb','decompressResponseBuffer','Current\x20Node.js\x20version\x20is\x20','versions','185ERDzFJ','1364991uXwesc','downloadFile','node','./cmds/version','help','start','1485876kpKYZt','setDecompressResponseBuffer','major','defineProperty','__esModule','Cli','run','publish','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','fetch'];_0x4c51=function(){return _0x18c9c6;};return _0x4c51();}const minimist=require('minimist'),semver_1=require('semver'),FetchUtils_1_1=require(_0x2ba0ce(0x166)),help_1=require(_0x2ba0ce(0x16b)),build_1=require('./cmds/build'),version_1=require(_0x2ba0ce(0x179)),fetch_1=require(_0x2ba0ce(0x16e));function _0x5903(_0x4cf4f5,_0x53d56f){const _0x4c51bb=_0x4c51();return _0x5903=function(_0x59032d,_0x3167b5){_0x59032d=_0x59032d-0x159;let _0xbb17e2=_0x4c51bb[_0x59032d];return _0xbb17e2;},_0x5903(_0x4cf4f5,_0x53d56f);}class Cli{async['run'](_0x160977){const _0x4b378c=_0x2ba0ce;if((0x0,semver_1[_0x4b378c(0x15a)])(process['versions'][_0x4b378c(0x178)])<0xe)throw new Error(_0x4b378c(0x173)+process[_0x4b378c(0x174)][_0x4b378c(0x178)]+'.'+_0x4b378c(0x160));FetchUtils_1_1[_0x4b378c(0x16c)][_0x4b378c(0x16d)](fetch_1[_0x4b378c(0x161)]),FetchUtils_1_1[_0x4b378c(0x16c)][_0x4b378c(0x170)](fetch_1[_0x4b378c(0x177)]),FetchUtils_1_1[_0x4b378c(0x16c)][_0x4b378c(0x159)](fetch_1[_0x4b378c(0x172)]);const _0x515e0d=minimist(_0x160977);let _0x377834=undefined;if(_0x515e0d['_'][_0x4b378c(0x16a)]===0x0){if(_0x515e0d['version'])_0x377834=_0x4b378c(0x167);else _0x515e0d[_0x4b378c(0x17a)]&&(_0x377834=_0x4b378c(0x17a));}else _0x377834=_0x515e0d['_'][0x0];!_0x377834&&(_0x377834=_0x4b378c(0x17a));switch(_0x377834){case'help':case'h':return await(0x0,help_1[_0x4b378c(0x17a)])(_0x515e0d);case _0x4b378c(0x162):return await(0x0,build_1[_0x4b378c(0x17b)])(_0x515e0d);case _0x4b378c(0x15f):return await(0x0,build_1[_0x4b378c(0x16f)])(_0x515e0d);case _0x4b378c(0x15e):return await(0x0,build_1[_0x4b378c(0x15e)])(_0x515e0d);case _0x4b378c(0x167):{return await(0x0,version_1[_0x4b378c(0x167)])();}default:throw new Error('\x22'+_0x377834+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports[_0x2ba0ce(0x15d)]=Cli;
1
+ 'use strict';function _0x1b0b(){const _0x4dcea1=['./utils/fetch','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','__esModule','semver','defineProperty','4979995wOjPdx','../lib/utils/Log','fetchUtils','versions','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','13433NQFFnn','build','Current\x20Node.js\x20version\x20is\x20','node','decompressResponseBuffer','892496HNadTG','setDownloadFile','1592271EBxOnu','ConsoleLog','Cli','2094OXqiRP','length','version','run','help','462175UfVGqz','./cmds/build','cli','downloadFile','49136lySYPO','./utils/FetchUtils-1','172706rRLJaw','start','./cmds/version','1782tJoJYV'];_0x1b0b=function(){return _0x4dcea1;};return _0x1b0b();}const _0x268566=_0x880d;(function(_0x183f1b,_0x20b902){const _0x416450=_0x880d,_0xa8602f=_0x183f1b();while(!![]){try{const _0x532431=parseInt(_0x416450(0x1e0))/0x1+-parseInt(_0x416450(0x1e6))/0x2+-parseInt(_0x416450(0x1d8))/0x3+parseInt(_0x416450(0x1d6))/0x4+parseInt(_0x416450(0x1cc))/0x5+parseInt(_0x416450(0x1db))/0x6*(parseInt(_0x416450(0x1d1))/0x7)+parseInt(_0x416450(0x1e4))/0x8*(-parseInt(_0x416450(0x1c6))/0x9);if(_0x532431===_0x20b902)break;else _0xa8602f['push'](_0xa8602f['shift']());}catch(_0x44c056){_0xa8602f['push'](_0xa8602f['shift']());}}}(_0x1b0b,0x7e6ab));Object[_0x268566(0x1cb)](exports,_0x268566(0x1c9),{'value':!![]}),exports[_0x268566(0x1da)]=void 0x0;const minimist=require('minimist'),semver_1=require(_0x268566(0x1ca)),Log_1=require(_0x268566(0x1cd)),FetchUtils_1_1=require(_0x268566(0x1e5)),help_1=require('./cmds/help'),build_1=require(_0x268566(0x1e1)),version_1=require(_0x268566(0x1c5)),fetch_1=require(_0x268566(0x1c7));function _0x880d(_0x33854c,_0x2fc5cc){const _0x1b0ba6=_0x1b0b();return _0x880d=function(_0x880d3a,_0x24272c){_0x880d3a=_0x880d3a-0x1c4;let _0x3c1975=_0x1b0ba6[_0x880d3a];return _0x3c1975;},_0x880d(_0x33854c,_0x2fc5cc);}class Cli{async[_0x268566(0x1de)](_0x4e5e8c){const _0x191ec3=_0x268566;if((0x0,semver_1['major'])(process[_0x191ec3(0x1cf)][_0x191ec3(0x1d4)])<0xe)throw new Error(_0x191ec3(0x1d3)+process['versions'][_0x191ec3(0x1d4)]+'.'+_0x191ec3(0x1c8));FetchUtils_1_1[_0x191ec3(0x1ce)]['setFetch'](fetch_1['fetch']),FetchUtils_1_1[_0x191ec3(0x1ce)][_0x191ec3(0x1d7)](fetch_1[_0x191ec3(0x1e3)]),FetchUtils_1_1[_0x191ec3(0x1ce)]['setDecompressResponseBuffer'](fetch_1[_0x191ec3(0x1d5)]);const _0x2aa438=minimist(_0x4e5e8c);let _0x115f27=undefined;if(_0x2aa438['_'][_0x191ec3(0x1dc)]===0x0){if(_0x2aa438['version'])_0x115f27='version';else _0x2aa438['help']&&(_0x115f27=_0x191ec3(0x1df));}else _0x115f27=_0x2aa438['_'][0x0];!_0x115f27&&(_0x115f27=_0x191ec3(0x1df));switch(_0x115f27){case'help':case'h':return await(0x0,help_1['help'])(_0x2aa438);case _0x191ec3(0x1d2):return await(0x0,build_1[_0x191ec3(0x1c4)])(_0x2aa438);case'publish':return await(0x0,build_1['store'])(_0x2aa438);case _0x191ec3(0x1de):return await(0x0,build_1['run'])(_0x2aa438);case _0x191ec3(0x1dd):{return await(0x0,version_1[_0x191ec3(0x1dd)])();}default:throw new Error('\x22'+_0x115f27+_0x191ec3(0x1d0));}}}exports[_0x268566(0x1da)]=Cli,Cli['log']=new Log_1[(_0x268566(0x1d9))](_0x268566(0x1e2));
@@ -1 +1 @@
1
- 'use strict';const _0x30865d=_0x50c3;(function(_0x43e309,_0x29c01f){const _0xd75632=_0x50c3,_0x11443a=_0x43e309();while(!![]){try{const _0x35bc54=parseInt(_0xd75632(0x154))/0x1+-parseInt(_0xd75632(0x158))/0x2+-parseInt(_0xd75632(0x13a))/0x3*(-parseInt(_0xd75632(0x149))/0x4)+parseInt(_0xd75632(0x13f))/0x5*(parseInt(_0xd75632(0x140))/0x6)+parseInt(_0xd75632(0x138))/0x7+-parseInt(_0xd75632(0x141))/0x8*(parseInt(_0xd75632(0x144))/0x9)+-parseInt(_0xd75632(0x13b))/0xa;if(_0x35bc54===_0x29c01f)break;else _0x11443a['push'](_0x11443a['shift']());}catch(_0x19d8a8){_0x11443a['push'](_0x11443a['shift']());}}}(_0x1c2e,0x1eaa2));Object[_0x30865d(0x136)](exports,_0x30865d(0x146),{'value':!![]}),exports[_0x30865d(0x132)]=start,exports[_0x30865d(0x159)]=store,exports['run']=run;const pwa_1=require('../pwa'),resource_1=require(_0x30865d(0x13d)),xcode_1=require('../xcode'),check_1=require(_0x30865d(0x135));async function start(_0x26b2d9,_0x48f462=![]){const _0xae7b44=_0x30865d;var _0x2b0156;(0x0,check_1[_0xae7b44(0x134)])(_0x26b2d9,_0x48f462),resource_1[_0xae7b44(0x131)][_0xae7b44(0x147)](_0x26b2d9[_0xae7b44(0x133)]),console['log'](_0xae7b44(0x150));let _0x36a71a=await pwa_1['PWAGenerator'][_0xae7b44(0x14a)](_0x26b2d9,_0x48f462);!_0x36a71a['fromNet']&&(await resource_1[_0xae7b44(0x131)][_0xae7b44(0x143)]((_0x2b0156=_0x26b2d9[_0xae7b44(0x13e)])!==null&&_0x2b0156!==void 0x0?_0x2b0156:_0xae7b44(0x153)),console['log'](_0xae7b44(0x151)));const _0x4f6fac=await resource_1[_0xae7b44(0x131)][_0xae7b44(0x14b)](_0x36a71a);return console[_0xae7b44(0x14f)](_0xae7b44(0x148)),await xcode_1[_0xae7b44(0x14e)][_0xae7b44(0x156)]({'icon':_0x4f6fac,'manifestInfo':_0x36a71a,'teamId':_0x26b2d9['teamId'],'version':_0x26b2d9[_0xae7b44(0x142)],'buildType':_0x26b2d9[_0xae7b44(0x137)],'export':_0x26b2d9['export']},_0x48f462),console[_0xae7b44(0x14f)](_0xae7b44(0x155)),_0x36a71a;}function _0x1c2e(){const _0x6ccafc=['moveProjectFrom','360CFZaFe','SpatialWebTest','__esModule','checkPlatformPath','generate\x20icon:\x20ok','248312FHCjKN','generator','generateIcon','name','runWithSimulator','XcodeManager','log','-------------------\x20build\x20start\x20-------------------','move\x20web\x20project:\x20ok','checkStoreParams','dist','120982Acljna','-------------------\x20build\x20end\x20-------------------','parseProject','com.SpatialWeb.test','443400qdwHhP','store','json','ResourceManager','start','platform','checkBuildParams','./check','defineProperty','buildType','1578633Extlxt','upload','6YBtwXR','2039760vigmLs','app-store-connect','../resource','project','1115tgyntA','5442KjmyhR','24328aQldJz','version'];_0x1c2e=function(){return _0x6ccafc;};return _0x1c2e();}function _0x50c3(_0x3d580e,_0x8d10e2){const _0x1c2e01=_0x1c2e();return _0x50c3=function(_0x50c3b8,_0x3a34f3){_0x50c3b8=_0x50c3b8-0x131;let _0xa3c3b9=_0x1c2e01[_0x50c3b8];return _0xa3c3b9;},_0x50c3(_0x3d580e,_0x8d10e2);}async function store(_0x28bc55){const _0x5fdf75=_0x30865d;resource_1[_0x5fdf75(0x131)][_0x5fdf75(0x147)](_0x28bc55[_0x5fdf75(0x133)]),(0x0,check_1[_0x5fdf75(0x152)])(_0x28bc55);let _0x23899c={'name':_0x5fdf75(0x145)};_0x28bc55[_0x5fdf75(0x137)]=_0x5fdf75(0x13c);if(_0x28bc55['name'])_0x23899c[_0x5fdf75(0x14c)]=_0x28bc55[_0x5fdf75(0x14c)];else{const _0x3c425f=await start(_0x28bc55);if(!_0x3c425f)return![];_0x23899c[_0x5fdf75(0x14c)]=_0x3c425f['json'][_0x5fdf75(0x14c)];}return await xcode_1[_0x5fdf75(0x14e)][_0x5fdf75(0x139)](_0x28bc55,_0x23899c),!![];}async function run(_0x4b6eaa){const _0x4a5b72=_0x30865d;let _0x454e86={'name':_0x4a5b72(0x145),'id':_0x4a5b72(0x157)};const _0x7bcd6e=await start(_0x4b6eaa,!![]);if(!_0x7bcd6e)return![];return _0x454e86[_0x4a5b72(0x14c)]=_0x7bcd6e[_0x4a5b72(0x15a)]['name'],_0x454e86['id']=_0x7bcd6e['json']['id'],await xcode_1[_0x4a5b72(0x14e)][_0x4a5b72(0x14d)](_0x454e86),!![];}
1
+ 'use strict';const _0x475c77=_0x30b2;(function(_0x4bca81,_0x442d8f){const _0x5baf7d=_0x30b2,_0x487c1d=_0x4bca81();while(!![]){try{const _0x398ecd=-parseInt(_0x5baf7d(0xe3))/0x1+-parseInt(_0x5baf7d(0x10b))/0x2*(parseInt(_0x5baf7d(0xf2))/0x3)+parseInt(_0x5baf7d(0xeb))/0x4+-parseInt(_0x5baf7d(0xf7))/0x5*(parseInt(_0x5baf7d(0xf4))/0x6)+-parseInt(_0x5baf7d(0xfd))/0x7+parseInt(_0x5baf7d(0xe7))/0x8*(-parseInt(_0x5baf7d(0xf8))/0x9)+parseInt(_0x5baf7d(0xed))/0xa;if(_0x398ecd===_0x442d8f)break;else _0x487c1d['push'](_0x487c1d['shift']());}catch(_0xc0fce0){_0x487c1d['push'](_0x487c1d['shift']());}}}(_0x2b52,0x919bb));Object[_0x475c77(0xe6)](exports,_0x475c77(0x107),{'value':!![]}),exports[_0x475c77(0xf5)]=start,exports['store']=store,exports[_0x475c77(0xec)]=run;const pwa_1=require('../pwa'),resource_1=require(_0x475c77(0xef)),xcode_1=require(_0x475c77(0xf0)),check_1=require(_0x475c77(0x105));function _0x2b52(){const _0x57e8c8=['650047FicCOh','runWithSimulator','fromNet','defineProperty','1426224ReHOEK','com.SpatialWeb.test','XcodeManager','name','2545228IUPZhP','run','37483400KDJAMM','buildType','../resource','../xcode','json','907233qovivw','checkBuildParams','1691556bNoptk','start','generateIcon','15zaWMni','36vCpoXb','generator','generate\x20icon:\x20ok','ResourceManager','PWAGenerator','4704462rtfhEz','version','app-store-connect','upload','-------------------\x20build\x20start\x20-------------------','checkPlatformPath','checkStoreParams','log','./check','teamId','__esModule','move\x20web\x20project:\x20ok','export','SpatialWebTest','6Hqwyet','platform'];_0x2b52=function(){return _0x57e8c8;};return _0x2b52();}async function start(_0x5e2961,_0x4f9c98=![]){const _0x8a6144=_0x475c77;var _0x3627d7;(0x0,check_1[_0x8a6144(0xf3)])(_0x5e2961,_0x4f9c98),resource_1['ResourceManager']['checkPlatformPath'](_0x5e2961[_0x8a6144(0x10c)]),console['log'](_0x8a6144(0x101));let _0x409bac=await pwa_1[_0x8a6144(0xfc)][_0x8a6144(0xf9)](_0x5e2961,_0x4f9c98);!_0x409bac[_0x8a6144(0xe5)]&&(await resource_1['ResourceManager']['moveProjectFrom']((_0x3627d7=_0x5e2961['project'])!==null&&_0x3627d7!==void 0x0?_0x3627d7:'dist'),console[_0x8a6144(0x104)](_0x8a6144(0x108)));const _0x55d5e3=await resource_1['ResourceManager'][_0x8a6144(0xf6)](_0x409bac);return console[_0x8a6144(0x104)](_0x8a6144(0xfa)),await xcode_1['XcodeManager']['parseProject']({'icon':_0x55d5e3,'manifestInfo':_0x409bac,'teamId':_0x5e2961[_0x8a6144(0x106)],'version':_0x5e2961[_0x8a6144(0xfe)],'buildType':_0x5e2961[_0x8a6144(0xee)],'export':_0x5e2961[_0x8a6144(0x109)]},_0x4f9c98),console[_0x8a6144(0x104)]('-------------------\x20build\x20end\x20-------------------'),_0x409bac;}function _0x30b2(_0x394e17,_0x200614){const _0x2b52af=_0x2b52();return _0x30b2=function(_0x30b26f,_0x3820cf){_0x30b26f=_0x30b26f-0xe3;let _0x8c84b8=_0x2b52af[_0x30b26f];return _0x8c84b8;},_0x30b2(_0x394e17,_0x200614);}async function store(_0x56bd30){const _0x124bcd=_0x475c77;resource_1[_0x124bcd(0xfb)][_0x124bcd(0x102)](_0x56bd30[_0x124bcd(0x10c)]),(0x0,check_1[_0x124bcd(0x103)])(_0x56bd30);let _0x38ac2a={'name':'SpatialWebTest'};_0x56bd30[_0x124bcd(0xee)]=_0x124bcd(0xff);if(_0x56bd30[_0x124bcd(0xea)])_0x38ac2a[_0x124bcd(0xea)]=_0x56bd30[_0x124bcd(0xea)];else{const _0x5cf6ed=await start(_0x56bd30);if(!_0x5cf6ed)return![];_0x38ac2a[_0x124bcd(0xea)]=_0x5cf6ed['json'][_0x124bcd(0xea)];}return await xcode_1[_0x124bcd(0xe9)][_0x124bcd(0x100)](_0x56bd30,_0x38ac2a),!![];}async function run(_0x3d32d9){const _0x10d34e=_0x475c77;let _0x92b26f={'name':_0x10d34e(0x10a),'id':_0x10d34e(0xe8)};const _0x5db84a=await start(_0x3d32d9,!![]);if(!_0x5db84a)return![];return _0x92b26f[_0x10d34e(0xea)]=_0x5db84a['json'][_0x10d34e(0xea)],_0x92b26f['id']=_0x5db84a[_0x10d34e(0xf1)]['id'],await xcode_1[_0x10d34e(0xe9)][_0x10d34e(0xe4)](_0x92b26f),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x23deff=_0x3f3d;function _0x57b6(){const _0x203387=['1908442JSTmny','test','../pwa/validate','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','11yZUASA','432VmvZdS','207zmBXYf','manifest','13785708fukFWD','2556525PBokrz','pop','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','222110rahhJE','checkStoreParams','version','8MeuEAh','17916CUbCuA','base','1551096RKVIWS','defineProperty','split','2723245ZALiTD','version\x20is\x20required','--teamId\x20is\x20required','1BSGgfW','checkBuildParams'];_0x57b6=function(){return _0x203387;};return _0x57b6();}(function(_0x3f3f5f,_0x2f4c76){const _0x269019=_0x3f3d,_0x6755fd=_0x3f3f5f();while(!![]){try{const _0x3685a0=parseInt(_0x269019(0xe4))/0x1*(parseInt(_0x269019(0xe6))/0x2)+parseInt(_0x269019(0xeb))/0x3*(-parseInt(_0x269019(0xdc))/0x4)+parseInt(_0x269019(0xef))/0x5+parseInt(_0x269019(0xde))/0x6+parseInt(_0x269019(0xe1))/0x7*(parseInt(_0x269019(0xdb))/0x8)+parseInt(_0x269019(0xec))/0x9*(parseInt(_0x269019(0xf2))/0xa)+-parseInt(_0x269019(0xea))/0xb*(parseInt(_0x269019(0xee))/0xc);if(_0x3685a0===_0x2f4c76)break;else _0x6755fd['push'](_0x6755fd['shift']());}catch(_0x27e110){_0x6755fd['push'](_0x6755fd['shift']());}}}(_0x57b6,0xcaac1));Object[_0x23deff(0xdf)](exports,'__esModule',{'value':!![]}),exports[_0x23deff(0xe5)]=checkBuildParams,exports[_0x23deff(0xd9)]=checkStoreParams;function _0x3f3d(_0x5cbdcd,_0x1b2a41){const _0x57b62a=_0x57b6();return _0x3f3d=function(_0x3f3d78,_0x4a90eb){_0x3f3d78=_0x3f3d78-0xd9;let _0x589dfe=_0x57b62a[_0x3f3d78];return _0x589dfe;},_0x3f3d(_0x5cbdcd,_0x1b2a41);}const validate_1=require(_0x23deff(0xe8));function checkBuildParams(_0x389467,_0x586d88=![]){const _0xba871=_0x23deff;if(_0x389467[_0xba871(0xed)]&&_0x389467['manifest-url'])throw new Error(_0xba871(0xf1));if(!_0x389467['teamId']&&!_0x586d88)throw new Error(_0xba871(0xe3));if(_0x389467[_0xba871(0xdd)]){if((0x0,validate_1['validateURL'])(_0x389467[_0xba871(0xdd)]))try{const _0x5309e8=new URL(_0x389467[_0xba871(0xdd)]);if(_0x5309e8['search']||_0x5309e8['hash'])throw new Error(_0xba871(0xe9));}catch(_0x33128e){throw new Error(_0xba871(0xe9));}else{const _0x4f9f96=/(\?.*|\.\w+|#.*)$/,_0x55fb75=_0x389467[_0xba871(0xdd)][_0xba871(0xe0)]('/')[_0xba871(0xf0)]()||'';if(_0x4f9f96[_0xba871(0xe7)](_0x55fb75))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x4d21ec){const _0x49df6b=_0x23deff;if(!(_0x4d21ec['u']&&_0x4d21ec['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x4d21ec[_0x49df6b(0xda)])throw new Error(_0x49df6b(0xe2));}
1
+ 'use strict';function _0x4287(){const _0x1c60cc=['base','checkBuildParams','--teamId\x20is\x20required','hash','76162NGLbHW','6096kUWbNN','manifest-url','manifest','version','validateURL','teamId','918140KIIQSO','5873472qcREUy','389538NFYuwQ','../pwa/validate','5yWOrzn','checkStoreParams','674261eMRgud','1422vCnkOn','test','12sXpuLO','defineProperty','pop','search','2114710bCAGng','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','4mngbSb','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','split'];_0x4287=function(){return _0x1c60cc;};return _0x4287();}function _0x2ce7(_0x28f59c,_0x2378cf){const _0x428783=_0x4287();return _0x2ce7=function(_0x2ce71b,_0x232c43){_0x2ce71b=_0x2ce71b-0x1da;let _0x3ae879=_0x428783[_0x2ce71b];return _0x3ae879;},_0x2ce7(_0x28f59c,_0x2378cf);}const _0x3d25b9=_0x2ce7;(function(_0x38dc40,_0x43fa00){const _0x1ca30a=_0x2ce7,_0x32b5d6=_0x38dc40();while(!![]){try{const _0x3075e0=parseInt(_0x1ca30a(0x1f5))/0x1*(parseInt(_0x1ca30a(0x1ea))/0x2)+parseInt(_0x1ca30a(0x1f3))/0x3+parseInt(_0x1ca30a(0x1e3))/0x4*(-parseInt(_0x1ca30a(0x1f1))/0x5)+parseInt(_0x1ca30a(0x1dd))/0x6*(parseInt(_0x1ca30a(0x1da))/0x7)+-parseInt(_0x1ca30a(0x1eb))/0x8*(-parseInt(_0x1ca30a(0x1db))/0x9)+parseInt(_0x1ca30a(0x1e1))/0xa+-parseInt(_0x1ca30a(0x1f2))/0xb;if(_0x3075e0===_0x43fa00)break;else _0x32b5d6['push'](_0x32b5d6['shift']());}catch(_0x2030bd){_0x32b5d6['push'](_0x32b5d6['shift']());}}}(_0x4287,0x1f0d0));Object[_0x3d25b9(0x1de)](exports,'__esModule',{'value':!![]}),exports[_0x3d25b9(0x1e7)]=checkBuildParams,exports[_0x3d25b9(0x1f6)]=checkStoreParams;const validate_1=require(_0x3d25b9(0x1f4));function checkBuildParams(_0x48e3af,_0x2d00f5=![]){const _0x4a5153=_0x3d25b9;if(_0x48e3af[_0x4a5153(0x1ed)]&&_0x48e3af[_0x4a5153(0x1ec)])throw new Error(_0x4a5153(0x1e4));if(!_0x48e3af[_0x4a5153(0x1f0)]&&!_0x2d00f5)throw new Error(_0x4a5153(0x1e8));if(_0x48e3af[_0x4a5153(0x1e6)]){if((0x0,validate_1[_0x4a5153(0x1ef)])(_0x48e3af[_0x4a5153(0x1e6)]))try{const _0xf319f0=new URL(_0x48e3af[_0x4a5153(0x1e6)]);if(_0xf319f0[_0x4a5153(0x1e0)]||_0xf319f0[_0x4a5153(0x1e9)])throw new Error(_0x4a5153(0x1e2));}catch(_0x3b97ca){throw new Error(_0x4a5153(0x1e2));}else{const _0x355dd3=/(\?.*|\.\w+|#.*)$/,_0x5a9fd9=_0x48e3af[_0x4a5153(0x1e6)][_0x4a5153(0x1e5)]('/')[_0x4a5153(0x1df)]()||'';if(_0x355dd3[_0x4a5153(0x1dc)](_0x5a9fd9))throw new Error(_0x4a5153(0x1e2));}}}function checkStoreParams(_0x9c9ee7){const _0x5c9913=_0x3d25b9;if(!(_0x9c9ee7['u']&&_0x9c9ee7['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x9c9ee7[_0x5c9913(0x1ee)])throw new Error('version\x20is\x20required');}
@@ -1 +1 @@
1
- 'use strict';const _0x2aa2a7=_0x3c29;(function(_0x2c83e3,_0x31534c){const _0x2262be=_0x3c29,_0x33678f=_0x2c83e3();while(!![]){try{const _0x55879f=parseInt(_0x2262be(0x159))/0x1*(-parseInt(_0x2262be(0x155))/0x2)+parseInt(_0x2262be(0x14a))/0x3*(-parseInt(_0x2262be(0x164))/0x4)+parseInt(_0x2262be(0x158))/0x5+parseInt(_0x2262be(0x162))/0x6*(-parseInt(_0x2262be(0x15c))/0x7)+parseInt(_0x2262be(0x143))/0x8*(parseInt(_0x2262be(0x15a))/0x9)+-parseInt(_0x2262be(0x151))/0xa*(parseInt(_0x2262be(0x14c))/0xb)+parseInt(_0x2262be(0x15f))/0xc;if(_0x55879f===_0x31534c)break;else _0x33678f['push'](_0x33678f['shift']());}catch(_0x200c19){_0x33678f['push'](_0x33678f['shift']());}}}(_0x5f2b,0x5d485));function _0x3c29(_0x21e468,_0x1b857c){const _0x5f2bfb=_0x5f2b();return _0x3c29=function(_0x3c2969,_0x598733){_0x3c2969=_0x3c2969-0x143;let _0x2d2274=_0x5f2bfb[_0x3c2969];return _0x2d2274;},_0x3c29(_0x21e468,_0x1b857c);}function _0x5f2b(){const _0x15205a=['426129qGuVLW','../utils/Log','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','Usage:','ConsoleLog','10lirjwq','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','help\x20................\x20shows\x20this\x20menu','defineProperty','1190eenXQE','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','2798830sGHglA','311gRouIR','63cFtLmX','publish','3196718mGKTch','dev','help','8357988Bqueax','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>','info','6UVnqBN','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','1836zGtNzS','32496lfSAjh','main','webspatial\x20[command]\x20<options>','join','__esModule','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','get','1452mdtpss','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project'];_0x5f2b=function(){return _0x15205a;};return _0x5f2b();}Object[_0x2aa2a7(0x154)](exports,_0x2aa2a7(0x147),{'value':!![]}),exports[_0x2aa2a7(0x15e)]=help;const Log_1=require(_0x2aa2a7(0x14d)),HELP_MESSAGES=new Map([[_0x2aa2a7(0x144),[_0x2aa2a7(0x145),'','',_0x2aa2a7(0x153),_0x2aa2a7(0x148)+_0x2aa2a7(0x14b),_0x2aa2a7(0x156),_0x2aa2a7(0x14e)][_0x2aa2a7(0x146)]('\x0a')],['build',[_0x2aa2a7(0x14f),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x2aa2a7(0x163)]['join']('\x0a')],[_0x2aa2a7(0x15d),[_0x2aa2a7(0x14f),'','',_0x2aa2a7(0x152),'','',_0x2aa2a7(0x157)][_0x2aa2a7(0x146)]('\x0a')],[_0x2aa2a7(0x15b),[_0x2aa2a7(0x14f),'','',_0x2aa2a7(0x160),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x2aa2a7(0x146)]('\x0a')]]);async function help(_0x383046,_0x244e84=new Log_1[(_0x2aa2a7(0x150))](_0x2aa2a7(0x15e))){const _0x4f8a86=_0x2aa2a7,_0x3d6ea1=_0x383046['_'][0x1],_0x18df29=HELP_MESSAGES[_0x4f8a86(0x149)](_0x3d6ea1)||HELP_MESSAGES[_0x4f8a86(0x149)](_0x4f8a86(0x144));return _0x244e84[_0x4f8a86(0x161)](_0x18df29),!![];}
1
+ 'use strict';const _0x93e3a=_0x1e1d;(function(_0x4985fa,_0x11d590){const _0x2996b1=_0x1e1d,_0x10ed30=_0x4985fa();while(!![]){try{const _0x3df6ec=parseInt(_0x2996b1(0x193))/0x1+parseInt(_0x2996b1(0x185))/0x2*(-parseInt(_0x2996b1(0x195))/0x3)+-parseInt(_0x2996b1(0x18b))/0x4+-parseInt(_0x2996b1(0x186))/0x5*(parseInt(_0x2996b1(0x19a))/0x6)+-parseInt(_0x2996b1(0x197))/0x7+-parseInt(_0x2996b1(0x18e))/0x8+parseInt(_0x2996b1(0x192))/0x9;if(_0x3df6ec===_0x11d590)break;else _0x10ed30['push'](_0x10ed30['shift']());}catch(_0x24d871){_0x10ed30['push'](_0x10ed30['shift']());}}}(_0xc69c,0x4e025));Object[_0x93e3a(0x1a1)](exports,_0x93e3a(0x188),{'value':!![]}),exports[_0x93e3a(0x19c)]=help;const Log_1=require(_0x93e3a(0x190)),HELP_MESSAGES=new Map([[_0x93e3a(0x189),['webspatial\x20[command]\x20<options>','','','help\x20................\x20shows\x20this\x20menu',_0x93e3a(0x19f)+_0x93e3a(0x19d),_0x93e3a(0x199),_0x93e3a(0x196)][_0x93e3a(0x19e)]('\x0a')],[_0x93e3a(0x198),[_0x93e3a(0x19b),'','',_0x93e3a(0x191),'','',_0x93e3a(0x187)][_0x93e3a(0x19e)]('\x0a')],[_0x93e3a(0x194),[_0x93e3a(0x19b),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>']['join']('\x0a')],[_0x93e3a(0x18f),[_0x93e3a(0x19b),'','',_0x93e3a(0x18c),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x93e3a(0x19e)]('\x0a')]]);function _0x1e1d(_0x564e45,_0x45a78f){const _0xc69c61=_0xc69c();return _0x1e1d=function(_0x1e1dab,_0x2c6561){_0x1e1dab=_0x1e1dab-0x185;let _0x448d6c=_0xc69c61[_0x1e1dab];return _0x448d6c;},_0x1e1d(_0x564e45,_0x45a78f);}function _0xc69c(){const _0x2df16c=['ConsoleLog','2482552DqQeGZ','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>','info','592576JvnJiB','publish','../utils/Log','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','15237423WfNoQD','391804QaFCaj','dev','33sspQvd','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','2597791lbkSnI','build','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','200118hPsFNv','Usage:','help','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','join','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','get','defineProperty','115054lzHavk','10jhEwUP','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','__esModule','main'];_0xc69c=function(){return _0x2df16c;};return _0xc69c();}async function help(_0x3de1e8,_0x28af03=new Log_1[(_0x93e3a(0x18a))](_0x93e3a(0x19c))){const _0x427871=_0x93e3a,_0x36cef9=_0x3de1e8['_'][0x1],_0xc711f1=HELP_MESSAGES['get'](_0x36cef9)||HELP_MESSAGES[_0x427871(0x1a0)](_0x427871(0x189));return _0x28af03[_0x427871(0x18d)](_0xc711f1),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x28746f=_0x157b;(function(_0x1c6e36,_0x5ca527){const _0x2c767f=_0x157b,_0x3bcae0=_0x1c6e36();while(!![]){try{const _0x5202d2=-parseInt(_0x2c767f(0xc8))/0x1+parseInt(_0x2c767f(0xbb))/0x2*(-parseInt(_0x2c767f(0xc7))/0x3)+parseInt(_0x2c767f(0xca))/0x4*(parseInt(_0x2c767f(0xc4))/0x5)+-parseInt(_0x2c767f(0xcb))/0x6*(parseInt(_0x2c767f(0xc9))/0x7)+-parseInt(_0x2c767f(0xc6))/0x8+-parseInt(_0x2c767f(0xc3))/0x9*(parseInt(_0x2c767f(0xc2))/0xa)+parseInt(_0x2c767f(0xbf))/0xb;if(_0x5202d2===_0x5ca527)break;else _0x3bcae0['push'](_0x3bcae0['shift']());}catch(_0x270cc4){_0x3bcae0['push'](_0x3bcae0['shift']());}}}(_0x4c22,0x7fb23));function _0x157b(_0xb8f365,_0x869853){const _0x4c226d=_0x4c22();return _0x157b=function(_0x157bf5,_0x24ccc0){_0x157bf5=_0x157bf5-0xb8;let _0x2a453a=_0x4c226d[_0x157bf5];return _0x2a453a;},_0x157b(_0xb8f365,_0x869853);}Object[_0x28746f(0xb8)](exports,_0x28746f(0xc5),{'value':!![]}),exports[_0x28746f(0xbe)]=version;const fs=require('fs'),path=require(_0x28746f(0xba)),Log_1=require(_0x28746f(0xb9));async function version(_0x5f49c3=new Log_1[(_0x28746f(0xc0))](_0x28746f(0xbe))){const _0x38868b=_0x28746f,_0x2d84f8=path[_0x38868b(0xbc)](__dirname,'../../../package.json'),_0x4310bf=await(await fs[_0x38868b(0xc1)][_0x38868b(0xcd)](_0x2d84f8))['toString'](),_0x44cf36=JSON[_0x38868b(0xcc)](_0x4310bf);return _0x5f49c3[_0x38868b(0xbd)](_0x44cf36[_0x38868b(0xbe)]),!![];}function _0x4c22(){const _0x3c021b=['join','info','version','12558821yXOIMb','ConsoleLog','promises','1767790kNGZTz','18WwccEq','5lDPxEL','__esModule','3785864NxwJrG','3wRbHua','605142RjiUMh','42jByjCY','3636432WVZJAB','27156ItRZHX','parse','readFile','defineProperty','../utils/Log','path','137374bjNLYo'];_0x4c22=function(){return _0x3c021b;};return _0x4c22();}
1
+ 'use strict';function _0x1d7f(){const _0x55c266=['join','version','250611fcImhx','parse','toString','929230FPNIPx','12529zoyBvR','975835URIOrz','882180HmMOAl','../utils/Log','path','52iaIjcN','24ehFlNo','29930YwPAjY','122968BQVedy','../../../package.json','2488577wWWzBB','info','261EDZqol'];_0x1d7f=function(){return _0x55c266;};return _0x1d7f();}const _0x4692a2=_0x11a8;(function(_0xd713e6,_0x3d0248){const _0x22cda1=_0x11a8,_0xa8c185=_0xd713e6();while(!![]){try{const _0x572216=parseInt(_0x22cda1(0x136))/0x1+parseInt(_0x22cda1(0x126))/0x2+-parseInt(_0x22cda1(0x133))/0x3*(-parseInt(_0x22cda1(0x129))/0x4)+parseInt(_0x22cda1(0x125))/0x5*(parseInt(_0x22cda1(0x12a))/0x6)+parseInt(_0x22cda1(0x12e))/0x7+-parseInt(_0x22cda1(0x12c))/0x8*(-parseInt(_0x22cda1(0x130))/0x9)+-parseInt(_0x22cda1(0x12b))/0xa*(parseInt(_0x22cda1(0x124))/0xb);if(_0x572216===_0x3d0248)break;else _0xa8c185['push'](_0xa8c185['shift']());}catch(_0x19525b){_0xa8c185['push'](_0xa8c185['shift']());}}}(_0x1d7f,0x999dc));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4692a2(0x132)]=version;const fs=require('fs'),path=require(_0x4692a2(0x128)),Log_1=require(_0x4692a2(0x127));function _0x11a8(_0x538421,_0x4e47e7){const _0x1d7f13=_0x1d7f();return _0x11a8=function(_0x11a888,_0x9275d){_0x11a888=_0x11a888-0x124;let _0x4d3ee9=_0x1d7f13[_0x11a888];return _0x4d3ee9;},_0x11a8(_0x538421,_0x4e47e7);}async function version(_0x4ee896=new Log_1['ConsoleLog'](_0x4692a2(0x132))){const _0x331744=_0x4692a2,_0x57ae6f=path[_0x331744(0x131)](__dirname,_0x331744(0x12d)),_0x200cab=await(await fs['promises']['readFile'](_0x57ae6f))[_0x331744(0x135)](),_0x50bbb3=JSON[_0x331744(0x134)](_0x200cab);return _0x4ee896[_0x331744(0x12f)](_0x50bbb3[_0x331744(0x132)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x5762a3=_0x671b;(function(_0x69e706,_0x54c5ef){const _0x529809=_0x671b,_0x2d9b93=_0x69e706();while(!![]){try{const _0x5b6347=-parseInt(_0x529809(0x151))/0x1*(parseInt(_0x529809(0x13d))/0x2)+-parseInt(_0x529809(0x156))/0x3+parseInt(_0x529809(0x143))/0x4*(-parseInt(_0x529809(0x15a))/0x5)+-parseInt(_0x529809(0x132))/0x6+-parseInt(_0x529809(0x12b))/0x7*(parseInt(_0x529809(0x11f))/0x8)+-parseInt(_0x529809(0x12e))/0x9*(parseInt(_0x529809(0x142))/0xa)+parseInt(_0x529809(0x161))/0xb;if(_0x5b6347===_0x54c5ef)break;else _0x2d9b93['push'](_0x2d9b93['shift']());}catch(_0x40ac3c){_0x2d9b93['push'](_0x2d9b93['shift']());}}}(_0x1fc3,0x50482));function _0x671b(_0x123d3d,_0x1820ec){const _0x1fc37f=_0x1fc3();return _0x671b=function(_0x671b72,_0x28c4c3){_0x671b72=_0x671b72-0x116;let _0x2a0158=_0x1fc37f[_0x671b72];return _0x2a0158;},_0x671b(_0x123d3d,_0x1820ec);}Object[_0x5762a3(0x121)](exports,_0x5762a3(0x14d),{'value':!![]}),exports[_0x5762a3(0x128)]=void 0x0,exports[_0x5762a3(0x120)]=configId,exports[_0x5762a3(0x163)]=configStartUrl,exports['configScope']=configScope,exports[_0x5762a3(0x153)]=configDisplay,exports[_0x5762a3(0x15f)]=configMainScene,exports[_0x5762a3(0x122)]=configDeeplink;function _0x1fc3(){const _0x5594db=['1173928pGazxZ','configId','defineProperty','configDeeplink','automatic','web+','hash','tel','wtai','safelist','defaultSize','ftp','14nBnlwS','mainScene','news','9FJwHyA','splice','string','host','461268NPHejV','search','start_url','object','./validate','resizability','url','display_override','bitcoin','./static-web','startsWith','1882AUvcDw','protocol_handlers','../utils/utils','protocol','sip','2789550cAYcDI','1759696QbLZaW','matrix','scope','path','indexOf','replace','ircs','reverse','cwd','pathname','__esModule','parseRouter','geo','normalize','543IBTNRe','origin','configDisplay','urn','nntp','172158IwEgqL','minimal-ui','default_size','mms','5txCGSG','width','ssh','length','href','configMainScene','magnet','21850642qOsggF','xr_main_scene','configStartUrl','openpgp4fpr','standalone','sms','xmpp','join','validateURL','contentSize','resolve','height'];_0x1fc3=function(){return _0x5594db;};return _0x1fc3();}const utils_1=require(_0x5762a3(0x13f)),validate_1=require(_0x5762a3(0x136)),path_1=require(_0x5762a3(0x146));function configId(_0x5e4af1,_0x31eeca){const _0x292d71=_0x5762a3;if(_0x31eeca)_0x5e4af1['id']=_0x31eeca;else{const _0x52905d=new URL(_0x5e4af1['id']);let _0x41d275=_0x52905d[_0x292d71(0x131)]['split']('.')[_0x292d71(0x14a)]();_0x5e4af1['id']=_0x41d275[_0x292d71(0x11a)]('.');}}function configStartUrl(_0x45e3ab,_0x140cb1){const _0x150f66=_0x5762a3,_0x1c9ed3=(0x0,validate_1[_0x150f66(0x11b)])(_0x45e3ab[_0x150f66(0x134)]),_0x492180=(0x0,validate_1[_0x150f66(0x11b)])(_0x140cb1);let _0x22c4eb=_0x45e3ab[_0x150f66(0x134)];if(!_0x1c9ed3&&!_0x492180){const _0xc0ee60=(0x0,path_1[_0x150f66(0x11d)])(_0x150f66(0x13b)),_0x1dbf1f=(0x0,path_1[_0x150f66(0x11d)])(_0xc0ee60,_0x140cb1,_0x22c4eb),_0x2efd07=(0x0,path_1[_0x150f66(0x150)])(_0x1dbf1f),_0x240918=(0x0,path_1[_0x150f66(0x11a)])(_0xc0ee60,_0x2efd07);_0x22c4eb=(0x0,path_1['relative'])(process[_0x150f66(0x14b)](),_0x240918)[_0x150f66(0x148)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x1c9ed3&&!_0x492180){const _0x2f0264=new URL(_0x22c4eb),_0x59b96e=_0x2f0264[_0x150f66(0x14c)]+_0x2f0264[_0x150f66(0x133)]+_0x2f0264[_0x150f66(0x125)];let _0x4374ea=new URL(_0x140cb1,_0x2f0264[_0x150f66(0x152)]);_0x22c4eb=new URL(_0x59b96e,_0x4374ea)[_0x150f66(0x15e)];}else{if(!_0x1c9ed3&&_0x492180){if(_0x22c4eb[_0x150f66(0x13c)]('/')){const _0x1d7f3a=new URL(_0x140cb1);_0x22c4eb=_0x1d7f3a[_0x150f66(0x152)]+(0x0,path_1['join'])(_0x1d7f3a[_0x150f66(0x14c)],_0x22c4eb);}else _0x22c4eb=new URL(_0x22c4eb,_0x140cb1)['href'];}else{if(_0x1c9ed3&&_0x492180){const _0x4e2c96=new URL(_0x22c4eb),_0x3eb21a=new URL(_0x140cb1),_0xbac73c=_0x4e2c96[_0x150f66(0x14c)]+_0x4e2c96[_0x150f66(0x133)]+_0x4e2c96[_0x150f66(0x125)];_0x22c4eb=new URL(_0xbac73c,_0x3eb21a['origin']+_0x3eb21a[_0x150f66(0x14c)])['href'];}}}}_0x45e3ab['start_url']=_0x22c4eb;}function configScope(_0x4f2ba6){const _0x2f11bf=_0x5762a3;var _0x5eabd2;let _0x2de20f=(_0x5eabd2=_0x4f2ba6[_0x2f11bf(0x145)])!==null&&_0x5eabd2!==void 0x0?_0x5eabd2:'';const _0x4c5720=(0x0,validate_1[_0x2f11bf(0x11b)])(_0x4f2ba6['start_url']),_0x3539cc=(0x0,validate_1['validateURL'])(_0x2de20f);if(_0x4c5720&&_0x3539cc){const _0x4650a6=new URL(_0x2de20f),_0x2ed60f=new URL(_0x4f2ba6[_0x2f11bf(0x134)]);(_0x4650a6[_0x2f11bf(0x131)]!==_0x2ed60f[_0x2f11bf(0x131)]||_0x4f2ba6[_0x2f11bf(0x134)][_0x2f11bf(0x147)](_0x2de20f)!==0x0)&&(_0x2de20f=(0x0,utils_1[_0x2f11bf(0x14e)])(_0x4f2ba6[_0x2f11bf(0x134)]));}else{if(_0x4c5720&&!_0x3539cc)_0x2de20f=new URL(_0x2de20f,_0x4f2ba6[_0x2f11bf(0x134)])[_0x2f11bf(0x15e)];else{if(!_0x4c5720&&_0x3539cc){const _0x1a0133=_0x4f2ba6[_0x2f11bf(0x134)]['replace'](/\/[^\/]+$/,'');_0x2de20f=(0x0,path_1[_0x2f11bf(0x150)])(_0x1a0133+'/');}else _0x2de20f=(0x0,path_1['join'])((0x0,utils_1[_0x2f11bf(0x14e)])(_0x4f2ba6['start_url']),_0x2de20f);}}_0x4f2ba6[_0x2f11bf(0x145)]=_0x2de20f;}function configDisplay(_0x2fc5ec){const _0x4e41e7=_0x5762a3;let _0x1cbb14=_0x2fc5ec['display'];_0x1cbb14!=='minimal-ui'&&_0x1cbb14!==_0x4e41e7(0x117)&&(_0x1cbb14=_0x4e41e7(0x117));if(_0x2fc5ec[_0x4e41e7(0x139)]&&_0x2fc5ec[_0x4e41e7(0x139)][_0x4e41e7(0x15d)]>0x0){const _0xad4b42=_0x2fc5ec[_0x4e41e7(0x139)]['indexOf']('minimal-ui'),_0x22f961=_0x2fc5ec[_0x4e41e7(0x139)]['indexOf'](_0x4e41e7(0x117));if(_0xad4b42>=0x0&&_0x22f961>=0x0)_0x1cbb14=_0x22f961>_0xad4b42?_0x4e41e7(0x117):_0x4e41e7(0x157);else{if(_0xad4b42>=0x0)_0x1cbb14='minimal-ui';else _0x22f961>=0x0&&(_0x1cbb14=_0x4e41e7(0x117));}}}function configMainScene(_0x5c6847){const _0xdf32e5=_0x5762a3;var _0x3f3eec,_0x1ced9c;const _0x1d70ca=[_0xdf32e5(0x123),'contentMinSize',_0xdf32e5(0x11c)];let _0x58979d={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x5c6847[_0xdf32e5(0x162)]){if(typeof _0x5c6847[_0xdf32e5(0x162)]===_0xdf32e5(0x135))_0x58979d['defaultSize'][_0xdf32e5(0x15b)]=Number((_0x3f3eec=_0x5c6847[_0xdf32e5(0x162)]['default_size'])===null||_0x3f3eec===void 0x0?void 0x0:_0x3f3eec['width'])>0x0?_0x5c6847['xr_main_scene'][_0xdf32e5(0x158)]['width']:0x500,_0x58979d[_0xdf32e5(0x129)][_0xdf32e5(0x11e)]=Number((_0x1ced9c=_0x5c6847[_0xdf32e5(0x162)][_0xdf32e5(0x158)])===null||_0x1ced9c===void 0x0?void 0x0:_0x1ced9c[_0xdf32e5(0x11e)])>0x0?_0x5c6847[_0xdf32e5(0x162)][_0xdf32e5(0x158)]['height']:0x500,_0x58979d[_0xdf32e5(0x137)]=_0x1d70ca['includes'](_0x5c6847[_0xdf32e5(0x162)][_0xdf32e5(0x137)])?_0x5c6847[_0xdf32e5(0x162)][_0xdf32e5(0x137)]:_0xdf32e5(0x123),_0x5c6847[_0xdf32e5(0x12c)]=_0x58979d;else typeof _0x5c6847[_0xdf32e5(0x162)]===_0xdf32e5(0x130)&&(_0x5c6847[_0xdf32e5(0x12c)]='dynamic');}}function configDeeplink(_0x3b85aa){const _0x42db5d=_0x5762a3;if(_0x3b85aa[_0x42db5d(0x13e)]&&_0x3b85aa[_0x42db5d(0x13e)]['length']>0x0)for(var _0x25197e=0x0;_0x25197e<_0x3b85aa[_0x42db5d(0x13e)][_0x42db5d(0x15d)];_0x25197e++){const _0x3559a1=_0x3b85aa[_0x42db5d(0x13e)][_0x25197e];if(_0x3559a1['protocol']&&(exports['safelist']['includes'](_0x3559a1['protocol'])||_0x3559a1[_0x42db5d(0x140)][_0x42db5d(0x147)](_0x42db5d(0x124))===0x0)){if(!((0x0,validate_1['validateURL'])(_0x3559a1[_0x42db5d(0x138)])&&_0x3559a1[_0x42db5d(0x138)]['indexOf'](_0x3b85aa['scope'])<0x0))continue;}_0x3b85aa[_0x42db5d(0x13e)][_0x42db5d(0x12f)](_0x25197e,0x1),_0x25197e--;}}exports[_0x5762a3(0x128)]=[_0x5762a3(0x13a),_0x5762a3(0x12a),'ftps',_0x5762a3(0x14f),'im','irc',_0x5762a3(0x149),_0x5762a3(0x160),'mailto',_0x5762a3(0x144),_0x5762a3(0x159),_0x5762a3(0x12d),_0x5762a3(0x155),_0x5762a3(0x116),'sftp',_0x5762a3(0x141),_0x5762a3(0x118),'smsto',_0x5762a3(0x15c),_0x5762a3(0x126),_0x5762a3(0x154),'webcal',_0x5762a3(0x127),_0x5762a3(0x119)];
1
+ 'use strict';const _0x2c7cd=_0x4017;function _0x4017(_0x1b09a2,_0x570ffe){const _0x37e9c4=_0x37e9();return _0x4017=function(_0x401766,_0xb6f0b9){_0x401766=_0x401766-0x1b1;let _0x393edb=_0x37e9c4[_0x401766];return _0x393edb;},_0x4017(_0x1b09a2,_0x570ffe);}(function(_0x5f1608,_0x244567){const _0x456868=_0x4017,_0x412910=_0x5f1608();while(!![]){try{const _0x3e869a=parseInt(_0x456868(0x1e4))/0x1*(parseInt(_0x456868(0x1d4))/0x2)+parseInt(_0x456868(0x1ce))/0x3+parseInt(_0x456868(0x1cb))/0x4*(parseInt(_0x456868(0x1cc))/0x5)+parseInt(_0x456868(0x1e1))/0x6*(-parseInt(_0x456868(0x1f9))/0x7)+-parseInt(_0x456868(0x1ca))/0x8*(parseInt(_0x456868(0x1d8))/0x9)+-parseInt(_0x456868(0x1c8))/0xa+parseInt(_0x456868(0x1b8))/0xb;if(_0x3e869a===_0x244567)break;else _0x412910['push'](_0x412910['shift']());}catch(_0x5e36b5){_0x412910['push'](_0x412910['shift']());}}}(_0x37e9,0xbdb5c));Object['defineProperty'](exports,_0x2c7cd(0x1c7),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x2c7cd(0x1e0)]=configId,exports['configStartUrl']=configStartUrl,exports[_0x2c7cd(0x1f4)]=configScope,exports['configDisplay']=configDisplay,exports[_0x2c7cd(0x1f7)]=configMainScene,exports[_0x2c7cd(0x1d6)]=configDeeplink;const utils_1=require(_0x2c7cd(0x1e8)),validate_1=require('./validate'),path_1=require(_0x2c7cd(0x1eb));function configId(_0x4ada58,_0x45201e){const _0x286d85=_0x2c7cd;if(_0x45201e)_0x4ada58['id']=_0x45201e;else{const _0x299667=new URL(_0x4ada58['id']);let _0x29563d=_0x299667[_0x286d85(0x1bb)][_0x286d85(0x1be)]('.')['reverse']();_0x4ada58['id']=_0x29563d[_0x286d85(0x1ba)]('.');}}function configStartUrl(_0x478b86,_0xc2903){const _0x38a280=_0x2c7cd,_0x10e93b=(0x0,validate_1[_0x38a280(0x1e3)])(_0x478b86[_0x38a280(0x1ec)]),_0x4fd14d=(0x0,validate_1[_0x38a280(0x1e3)])(_0xc2903);let _0x295c0b=_0x478b86[_0x38a280(0x1ec)];if(!_0x10e93b&&!_0x4fd14d){const _0x2b7364=(0x0,path_1[_0x38a280(0x1df)])(_0x38a280(0x1dc)),_0xbd864a=(0x0,path_1['resolve'])(_0x2b7364,_0xc2903,_0x295c0b),_0x46aaaa=(0x0,path_1[_0x38a280(0x1d1)])(_0xbd864a),_0x2050b9=(0x0,path_1[_0x38a280(0x1ba)])(_0x2b7364,_0x46aaaa);_0x295c0b=(0x0,path_1[_0x38a280(0x1ef)])(process[_0x38a280(0x1e2)](),_0x2050b9)[_0x38a280(0x1da)](/^(\.\.\/)+/,'./')[_0x38a280(0x1da)](/\/$/,'');}else{if(_0x10e93b&&!_0x4fd14d){const _0x3ed1d1=new URL(_0x295c0b),_0x5c1855=_0x3ed1d1[_0x38a280(0x1f8)]+_0x3ed1d1[_0x38a280(0x1de)]+_0x3ed1d1[_0x38a280(0x1dd)];let _0x177b9d=new URL(_0xc2903,_0x3ed1d1[_0x38a280(0x1c3)]);_0x295c0b=new URL(_0x5c1855,_0x177b9d)[_0x38a280(0x1b4)];}else{if(!_0x10e93b&&_0x4fd14d){if(_0x295c0b[_0x38a280(0x1f1)]('/')){const _0x47c862=new URL(_0xc2903);_0x295c0b=_0x47c862[_0x38a280(0x1c3)]+(0x0,path_1[_0x38a280(0x1ba)])(_0x47c862['pathname'],_0x295c0b);}else _0x295c0b=new URL(_0x295c0b,_0xc2903)[_0x38a280(0x1b4)];}else{if(_0x10e93b&&_0x4fd14d){const _0x10854d=new URL(_0x295c0b),_0x16b340=new URL(_0xc2903),_0x19057c=_0x10854d[_0x38a280(0x1f8)]+_0x10854d['search']+_0x10854d[_0x38a280(0x1dd)];_0x295c0b=new URL(_0x19057c,_0x16b340['origin']+_0x16b340['pathname'])[_0x38a280(0x1b4)];}}}}_0x478b86[_0x38a280(0x1ec)]=_0x295c0b;}function _0x37e9(){const _0x219b36=['5QCKmEW','indexOf','1559184YJnUwm','resizability','protocol','normalize','mainScene','display_override','886veOAUa','mailto','configDeeplink','xr_main_scene','147141lIybcY','irc','replace','defaultSize','./static-web','hash','search','resolve','configId','66RfkwII','cwd','validateURL','2147kedCfL','minimal-ui','standalone','sip','../utils/utils','sms','default_size','path','start_url','display','length','relative','parseRouter','startsWith','dynamic','tel','configScope','protocol_handlers','splice','configMainScene','pathname','687589ScTGFS','wtai','includes','nntp','bitcoin','scope','sftp','geo','magnet','href','width','ircs','mms','19735650iUyfFh','height','join','host','smsto','automatic','split','string','matrix','urn','xmpp','origin','safelist','ssh','web+','__esModule','14465600sgpYGT','contentSize','24LuWfzH','352628WYUcVM'];_0x37e9=function(){return _0x219b36;};return _0x37e9();}function configScope(_0x14e490){const _0x250fba=_0x2c7cd;var _0x8fc10;let _0x4d8be1=(_0x8fc10=_0x14e490[_0x250fba(0x1fe)])!==null&&_0x8fc10!==void 0x0?_0x8fc10:'';const _0x3ea50f=(0x0,validate_1[_0x250fba(0x1e3)])(_0x14e490['start_url']),_0xe7924f=(0x0,validate_1[_0x250fba(0x1e3)])(_0x4d8be1);if(_0x3ea50f&&_0xe7924f){const _0xf95121=new URL(_0x4d8be1),_0x131e02=new URL(_0x14e490[_0x250fba(0x1ec)]);(_0xf95121[_0x250fba(0x1bb)]!==_0x131e02[_0x250fba(0x1bb)]||_0x14e490[_0x250fba(0x1ec)][_0x250fba(0x1cd)](_0x4d8be1)!==0x0)&&(_0x4d8be1=(0x0,utils_1[_0x250fba(0x1f0)])(_0x14e490[_0x250fba(0x1ec)]));}else{if(_0x3ea50f&&!_0xe7924f)_0x4d8be1=new URL(_0x4d8be1,_0x14e490['start_url'])[_0x250fba(0x1b4)];else{if(!_0x3ea50f&&_0xe7924f){const _0x460ec2=_0x14e490['start_url'][_0x250fba(0x1da)](/\/[^\/]+$/,'');_0x4d8be1=(0x0,path_1[_0x250fba(0x1d1)])(_0x460ec2+'/');}else _0x4d8be1=(0x0,path_1['join'])((0x0,utils_1[_0x250fba(0x1f0)])(_0x14e490[_0x250fba(0x1ec)]),_0x4d8be1);}}_0x14e490['scope']=_0x4d8be1;}function configDisplay(_0x1ef7d6){const _0x2533a9=_0x2c7cd;let _0x1b1bb2=_0x1ef7d6[_0x2533a9(0x1ed)];_0x1b1bb2!==_0x2533a9(0x1e5)&&_0x1b1bb2!==_0x2533a9(0x1e6)&&(_0x1b1bb2=_0x2533a9(0x1e6));if(_0x1ef7d6[_0x2533a9(0x1d3)]&&_0x1ef7d6[_0x2533a9(0x1d3)][_0x2533a9(0x1ee)]>0x0){const _0x1a9438=_0x1ef7d6['display_override'][_0x2533a9(0x1cd)](_0x2533a9(0x1e5)),_0x2296e7=_0x1ef7d6[_0x2533a9(0x1d3)][_0x2533a9(0x1cd)](_0x2533a9(0x1e6));if(_0x1a9438>=0x0&&_0x2296e7>=0x0)_0x1b1bb2=_0x2296e7>_0x1a9438?_0x2533a9(0x1e6):_0x2533a9(0x1e5);else{if(_0x1a9438>=0x0)_0x1b1bb2=_0x2533a9(0x1e5);else _0x2296e7>=0x0&&(_0x1b1bb2=_0x2533a9(0x1e6));}}}function configMainScene(_0x1aaa9a){const _0x46ea2d=_0x2c7cd;var _0x904688,_0x3f95fa;const _0x1a34d8=[_0x46ea2d(0x1bd),'contentMinSize',_0x46ea2d(0x1c9)];let _0x190adb={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x46ea2d(0x1bd)};if(_0x1aaa9a[_0x46ea2d(0x1d7)]){if(typeof _0x1aaa9a[_0x46ea2d(0x1d7)]==='object')_0x190adb['defaultSize']['width']=Number((_0x904688=_0x1aaa9a['xr_main_scene'][_0x46ea2d(0x1ea)])===null||_0x904688===void 0x0?void 0x0:_0x904688[_0x46ea2d(0x1b5)])>0x0?_0x1aaa9a[_0x46ea2d(0x1d7)]['default_size'][_0x46ea2d(0x1b5)]:0x500,_0x190adb[_0x46ea2d(0x1db)][_0x46ea2d(0x1b9)]=Number((_0x3f95fa=_0x1aaa9a[_0x46ea2d(0x1d7)]['default_size'])===null||_0x3f95fa===void 0x0?void 0x0:_0x3f95fa['height'])>0x0?_0x1aaa9a[_0x46ea2d(0x1d7)]['default_size'][_0x46ea2d(0x1b9)]:0x500,_0x190adb[_0x46ea2d(0x1cf)]=_0x1a34d8[_0x46ea2d(0x1fb)](_0x1aaa9a[_0x46ea2d(0x1d7)][_0x46ea2d(0x1cf)])?_0x1aaa9a[_0x46ea2d(0x1d7)][_0x46ea2d(0x1cf)]:'automatic',_0x1aaa9a[_0x46ea2d(0x1d2)]=_0x190adb;else typeof _0x1aaa9a[_0x46ea2d(0x1d7)]===_0x46ea2d(0x1bf)&&(_0x1aaa9a[_0x46ea2d(0x1d2)]=_0x46ea2d(0x1f2));}}function configDeeplink(_0x589214){const _0x546567=_0x2c7cd;if(_0x589214['protocol_handlers']&&_0x589214[_0x546567(0x1f5)][_0x546567(0x1ee)]>0x0)for(var _0x59e72f=0x0;_0x59e72f<_0x589214[_0x546567(0x1f5)]['length'];_0x59e72f++){const _0x1dcb9c=_0x589214[_0x546567(0x1f5)][_0x59e72f];if(_0x1dcb9c[_0x546567(0x1d0)]&&(exports['safelist'][_0x546567(0x1fb)](_0x1dcb9c[_0x546567(0x1d0)])||_0x1dcb9c[_0x546567(0x1d0)][_0x546567(0x1cd)](_0x546567(0x1c6))===0x0)){if(!((0x0,validate_1[_0x546567(0x1e3)])(_0x1dcb9c['url'])&&_0x1dcb9c['url'][_0x546567(0x1cd)](_0x589214['scope'])<0x0))continue;}_0x589214['protocol_handlers'][_0x546567(0x1f6)](_0x59e72f,0x1),_0x59e72f--;}}exports[_0x2c7cd(0x1c4)]=[_0x2c7cd(0x1fd),'ftp','ftps',_0x2c7cd(0x1b2),'im',_0x2c7cd(0x1d9),_0x2c7cd(0x1b6),_0x2c7cd(0x1b3),_0x2c7cd(0x1d5),_0x2c7cd(0x1c0),_0x2c7cd(0x1b7),'news',_0x2c7cd(0x1fc),'openpgp4fpr',_0x2c7cd(0x1b1),_0x2c7cd(0x1e7),_0x2c7cd(0x1e9),_0x2c7cd(0x1bc),_0x2c7cd(0x1c5),_0x2c7cd(0x1f3),_0x2c7cd(0x1c1),'webcal',_0x2c7cd(0x1fa),_0x2c7cd(0x1c2)];
@@ -12,6 +12,8 @@ export interface ManifestInfo {
12
12
  }
13
13
  export declare class PWAGenerator {
14
14
  static DisplayModes: string[];
15
+ private static defaultManifestJson;
16
+ private static useDefaultManifestJson;
15
17
  static generator(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
16
18
  static validate(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
17
19
  static config(manifestInfo: ManifestInfo, args: InitArgs, isDev: boolean): void;
@@ -1 +1 @@
1
- 'use strict';function _0xbc3c(_0xa17a35,_0x55c21d){const _0x2e8da9=_0x2e8d();return _0xbc3c=function(_0xbc3c35,_0x483ecf){_0xbc3c35=_0xbc3c35-0x1bd;let _0x2bab39=_0x2e8da9[_0xbc3c35];return _0x2bab39;},_0xbc3c(_0xa17a35,_0x55c21d);}const _0x1598b1=_0xbc3c;(function(_0x30c24b,_0x525d21){const _0x4ede1c=_0xbc3c,_0x37e8bf=_0x30c24b();while(!![]){try{const _0x3b7a00=parseInt(_0x4ede1c(0x1cf))/0x1+-parseInt(_0x4ede1c(0x1bf))/0x2+parseInt(_0x4ede1c(0x1c1))/0x3*(parseInt(_0x4ede1c(0x1d4))/0x4)+parseInt(_0x4ede1c(0x1d3))/0x5*(-parseInt(_0x4ede1c(0x1e4))/0x6)+-parseInt(_0x4ede1c(0x1be))/0x7*(parseInt(_0x4ede1c(0x1c3))/0x8)+parseInt(_0x4ede1c(0x1d6))/0x9*(-parseInt(_0x4ede1c(0x1c9))/0xa)+parseInt(_0x4ede1c(0x1ce))/0xb*(parseInt(_0x4ede1c(0x1d0))/0xc);if(_0x3b7a00===_0x525d21)break;else _0x37e8bf['push'](_0x37e8bf['shift']());}catch(_0x40501d){_0x37e8bf['push'](_0x37e8bf['shift']());}}}(_0x2e8d,0xc16c7));function _0x2e8d(){const _0x548799=['config','configId','manifest\x20not\x20found','configDisplay','base','14519060UuxDlZ','json','manifest','path','checkManifestJson','52186310PyzRvx','155056RSvvhE','12fNDzxQ','PWAGenerator','configScope','5TUoYrd','58612uCaJVQ','cwd','9xHPrtC','public/manifest.webmanifest','reset\x20manifest.json:\x20ok','./config','check\x20manifest.json:\x20ok','configDeeplink','configMainScene','log','generator','../resource/load','validate','existsSync','DisplayModes','manifest-url','9105132ZPjJJo','configStartUrl','10725106DmxPHs','470992FRChaP','public/manifest.json','129XzmbrZ','join','8ykMYlU'];_0x2e8d=function(){return _0x548799;};return _0x2e8d();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['PWAGenerator']=void 0x0;const path_1=require(_0x1598b1(0x1cc)),config_1=require(_0x1598b1(0x1d9)),load_1=require(_0x1598b1(0x1df)),validate_1=require('./validate'),fs=require('fs');class PWAGenerator{static async[_0x1598b1(0x1de)](_0x494bfa,_0x3b6f8a=![]){const _0x326c33=_0x1598b1;let _0x1103b9=await this[_0x326c33(0x1e0)](_0x494bfa,_0x3b6f8a);return console[_0x326c33(0x1dd)](_0x326c33(0x1da)),await this[_0x326c33(0x1c4)](_0x1103b9,_0x494bfa,_0x3b6f8a),console[_0x326c33(0x1dd)](_0x326c33(0x1d8)),_0x1103b9;}static async[_0x1598b1(0x1e0)](_0x84f114,_0x1f26a=![]){const _0x4d0a60=_0x1598b1;var _0x25fcb1;let _0xbce257={},_0x2f9f42='',_0x53a1fb=![];if(_0x84f114['manifest-url'])_0x2f9f42=_0x84f114[_0x4d0a60(0x1e3)],_0x53a1fb=!![],_0xbce257=await(0x0,load_1['loadJsonFromNet'])(_0x84f114[_0x4d0a60(0x1e3)]);else{_0x84f114[_0x4d0a60(0x1cb)]?_0x2f9f42=(0x0,path_1[_0x4d0a60(0x1c2)])(process[_0x4d0a60(0x1d5)](),_0x84f114['manifest']):(_0x2f9f42=(0x0,path_1[_0x4d0a60(0x1c2)])(process['cwd'](),_0x4d0a60(0x1c0)),!fs[_0x4d0a60(0x1e1)](_0x2f9f42)&&(_0x2f9f42=(0x0,path_1[_0x4d0a60(0x1c2)])(process[_0x4d0a60(0x1d5)](),_0x4d0a60(0x1d7))));if(!fs[_0x4d0a60(0x1e1)](_0x2f9f42))throw new Error(_0x4d0a60(0x1c6));_0xbce257=await(0x0,load_1['loadJsonFromDisk'])(_0x2f9f42);}(0x0,validate_1[_0x4d0a60(0x1cd)])(_0xbce257);var _0x208781=(0x0,validate_1['checkStartUrl'])(_0xbce257,_0x2f9f42,_0x53a1fb,_0x1f26a);if(!_0x1f26a)(0x0,validate_1['checkId'])(_0xbce257,(_0x25fcb1=_0x84f114['bundle-id'])!==null&&_0x25fcb1!==void 0x0?_0x25fcb1:'');return await(0x0,validate_1['checkIcons'])(_0xbce257,_0x2f9f42),{'json':_0xbce257,'url':_0x2f9f42,'fromNet':_0x208781};}static['config'](_0x1f03be,_0x4ddd34,_0x1d85d2){const _0x30e8c3=_0x1598b1;var _0x4c3a42,_0x1b5009;(0x0,config_1[_0x30e8c3(0x1bd)])(_0x1f03be[_0x30e8c3(0x1ca)],(_0x4c3a42=_0x4ddd34[_0x30e8c3(0x1c8)])!==null&&_0x4c3a42!==void 0x0?_0x4c3a42:'');if(!_0x1d85d2)(0x0,config_1[_0x30e8c3(0x1c5)])(_0x1f03be[_0x30e8c3(0x1ca)],(_0x1b5009=_0x4ddd34['bundle-id'])!==null&&_0x1b5009!==void 0x0?_0x1b5009:'');(0x0,config_1[_0x30e8c3(0x1d2)])(_0x1f03be[_0x30e8c3(0x1ca)]),(0x0,config_1[_0x30e8c3(0x1c7)])(_0x1f03be[_0x30e8c3(0x1ca)]),(0x0,config_1[_0x30e8c3(0x1db)])(_0x1f03be['json']),(0x0,config_1[_0x30e8c3(0x1dc)])(_0x1f03be['json']);}}exports[_0x1598b1(0x1d1)]=PWAGenerator,PWAGenerator[_0x1598b1(0x1e2)]=['standalone','minimal-ui'];
1
+ 'use strict';function _0x2b80(){const _0x6c1193=['1535632DPBwmv','DisplayModes','standalone','loadJsonFromDisk','1029MvKkAn','103204AHwiaO','configId','base','9696MomvTl','log','bundle-id','checkId','__esModule','./validate','manifest-url','existsSync','join','json','737829Nxgaew','useDefaultManifestJson','cwd','10wbfQRi','PWAGenerator','41FSqvUx','checkManifestJson','2305863tLvLoP','manifest','configDisplay','5061620QyFdOa','configMainScene','public/manifest.webmanifest','loadJsonFromNet','configStartUrl','defaultManifestJson','checkStartUrl','path','check\x20manifest.json:\x20ok','manifest\x20not\x20found','minimal-ui','config','validate','configScope','../resource/load','WebSpatialTest','7674tRGWPD'];_0x2b80=function(){return _0x6c1193;};return _0x2b80();}const _0x3bdb07=_0x5a99;function _0x5a99(_0x123afd,_0x48f0c3){const _0x2b80a2=_0x2b80();return _0x5a99=function(_0x5a999b,_0xc32ba1){_0x5a999b=_0x5a999b-0x1f0;let _0x258f50=_0x2b80a2[_0x5a999b];return _0x258f50;},_0x5a99(_0x123afd,_0x48f0c3);}(function(_0x5ae81f,_0x30c5d0){const _0xf73cdb=_0x5a99,_0x5776d9=_0x5ae81f();while(!![]){try{const _0x778e24=-parseInt(_0xf73cdb(0x20c))/0x1*(-parseInt(_0xf73cdb(0x1f4))/0x2)+-parseInt(_0xf73cdb(0x207))/0x3+-parseInt(_0xf73cdb(0x1fa))/0x4*(-parseInt(_0xf73cdb(0x20a))/0x5)+-parseInt(_0xf73cdb(0x1fd))/0x6*(-parseInt(_0xf73cdb(0x1f9))/0x7)+parseInt(_0xf73cdb(0x1f5))/0x8+parseInt(_0xf73cdb(0x20e))/0x9+-parseInt(_0xf73cdb(0x211))/0xa;if(_0x778e24===_0x30c5d0)break;else _0x5776d9['push'](_0x5776d9['shift']());}catch(_0x1a4e29){_0x5776d9['push'](_0x5776d9['shift']());}}}(_0x2b80,0x22cbf));Object['defineProperty'](exports,_0x3bdb07(0x201),{'value':!![]}),exports[_0x3bdb07(0x20b)]=void 0x0;const path_1=require(_0x3bdb07(0x218)),config_1=require('./config'),load_1=require(_0x3bdb07(0x1f2)),validate_1=require(_0x3bdb07(0x202)),fs=require('fs');class PWAGenerator{static async['generator'](_0x2962aa,_0x1713a8=![]){const _0xbd0a51=_0x3bdb07;let _0x2742bb=await this[_0xbd0a51(0x1f0)](_0x2962aa,_0x1713a8);return console[_0xbd0a51(0x1fe)](_0xbd0a51(0x219)),await this[_0xbd0a51(0x21c)](_0x2742bb,_0x2962aa,_0x1713a8),console[_0xbd0a51(0x1fe)]('reset\x20manifest.json:\x20ok'),_0x2742bb;}static async['validate'](_0x49ee3b,_0x3bbf2c=![]){const _0x41a7fe=_0x3bdb07;var _0x423e52;let _0x20e8fc={},_0x9311ca='',_0x1d1a37=![],_0x521d1e=![];if(_0x49ee3b[_0x41a7fe(0x203)])_0x9311ca=_0x49ee3b[_0x41a7fe(0x203)],_0x1d1a37=!![],_0x20e8fc=await(0x0,load_1[_0x41a7fe(0x214)])(_0x49ee3b['manifest-url']);else{_0x49ee3b[_0x41a7fe(0x20f)]?_0x9311ca=(0x0,path_1[_0x41a7fe(0x205)])(process['cwd'](),_0x49ee3b[_0x41a7fe(0x20f)]):(_0x9311ca=(0x0,path_1[_0x41a7fe(0x205)])(process[_0x41a7fe(0x209)](),'public/manifest.json'),!fs['existsSync'](_0x9311ca)&&(_0x9311ca=(0x0,path_1[_0x41a7fe(0x205)])(process['cwd'](),_0x41a7fe(0x213))));if(!fs[_0x41a7fe(0x204)](_0x9311ca)){if(_0x3bbf2c)_0x521d1e=!![];else throw new Error(_0x41a7fe(0x21a));}_0x20e8fc=_0x521d1e?this[_0x41a7fe(0x216)]:await(0x0,load_1[_0x41a7fe(0x1f8)])(_0x9311ca),this[_0x41a7fe(0x208)]=_0x521d1e;}(0x0,validate_1[_0x41a7fe(0x20d)])(_0x20e8fc,_0x3bbf2c);var _0x15cb27=(0x0,validate_1[_0x41a7fe(0x217)])(_0x20e8fc,_0x9311ca,_0x49ee3b['base'],_0x1d1a37,_0x3bbf2c);if(!_0x3bbf2c)(0x0,validate_1[_0x41a7fe(0x200)])(_0x20e8fc,(_0x423e52=_0x49ee3b[_0x41a7fe(0x1ff)])!==null&&_0x423e52!==void 0x0?_0x423e52:'');return await(0x0,validate_1['checkIcons'])(_0x20e8fc,_0x9311ca,_0x3bbf2c),{'json':_0x20e8fc,'url':_0x9311ca,'fromNet':_0x15cb27};}static[_0x3bdb07(0x21c)](_0x35427a,_0x5e88c7,_0x2a91e0){const _0x4f2ae4=_0x3bdb07;var _0x415783,_0x373f0f;(0x0,config_1[_0x4f2ae4(0x215)])(_0x35427a[_0x4f2ae4(0x206)],(_0x415783=_0x5e88c7[_0x4f2ae4(0x1fc)])!==null&&_0x415783!==void 0x0?_0x415783:'');if(!_0x2a91e0)(0x0,config_1[_0x4f2ae4(0x1fb)])(_0x35427a[_0x4f2ae4(0x206)],(_0x373f0f=_0x5e88c7['bundle-id'])!==null&&_0x373f0f!==void 0x0?_0x373f0f:'');(0x0,config_1[_0x4f2ae4(0x1f1)])(_0x35427a[_0x4f2ae4(0x206)]),(0x0,config_1[_0x4f2ae4(0x210)])(_0x35427a[_0x4f2ae4(0x206)]),(0x0,config_1['configDeeplink'])(_0x35427a['json']),(0x0,config_1[_0x4f2ae4(0x212)])(_0x35427a[_0x4f2ae4(0x206)]);}}exports[_0x3bdb07(0x20b)]=PWAGenerator,PWAGenerator[_0x3bdb07(0x1f6)]=[_0x3bdb07(0x1f7),'minimal-ui'],PWAGenerator[_0x3bdb07(0x216)]={'name':_0x3bdb07(0x1f3),'display':_0x3bdb07(0x21b),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];
@@ -1,5 +1,5 @@
1
- export declare function checkManifestJson(manifestJson: Record<string, any>): void;
2
- export declare function checkStartUrl(manifest: Record<string, any>, manifestUrl: string, isNet: boolean, isDev?: boolean): boolean;
3
- export declare function checkIcons(manifest: Record<string, any>, manifestUrl: string): Promise<void>;
1
+ export declare function checkManifestJson(manifestJson: Record<string, any>, isDev?: boolean): void;
2
+ export declare function checkStartUrl(manifest: Record<string, any>, manifestUrl: string, base: string, isNet: boolean, isDev?: boolean): boolean;
3
+ export declare function checkIcons(manifest: Record<string, any>, manifestUrl: string, isDev?: boolean): Promise<void>;
4
4
  export declare function checkId(manifest: Record<string, any>, bundleId: string): void;
5
5
  export declare function validateURL(url: string): boolean;
@@ -1 +1 @@
1
- 'use strict';const _0x4fdabd=_0x1f6f;(function(_0x44c9bc,_0x13773e){const _0x1eb4d9=_0x1f6f,_0x176801=_0x44c9bc();while(!![]){try{const _0x1deb76=parseInt(_0x1eb4d9(0xd3))/0x1+-parseInt(_0x1eb4d9(0xd0))/0x2+parseInt(_0x1eb4d9(0xc4))/0x3+parseInt(_0x1eb4d9(0xc9))/0x4*(parseInt(_0x1eb4d9(0xd8))/0x5)+-parseInt(_0x1eb4d9(0xcb))/0x6*(parseInt(_0x1eb4d9(0xc7))/0x7)+-parseInt(_0x1eb4d9(0xc3))/0x8+parseInt(_0x1eb4d9(0xc5))/0x9;if(_0x1deb76===_0x13773e)break;else _0x176801['push'](_0x176801['shift']());}catch(_0x44e2c6){_0x176801['push'](_0x176801['shift']());}}}(_0x2f9a,0xd20a7));function _0x1f6f(_0xd441c0,_0x5c22f8){const _0x2f9a01=_0x2f9a();return _0x1f6f=function(_0x1f6f14,_0x2c8223){_0x1f6f14=_0x1f6f14-0xab;let _0x461c72=_0x2f9a01[_0x1f6f14];return _0x461c72;},_0x1f6f(_0xd441c0,_0x5c22f8);}function _0x2f9a(){const _0x412a1f=['In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','icons','getHeight','loadImageFromNet','1654360pVDogp','parseRouter','CustomError','931807lESRfY','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','maskable','includes','split','5xgzMnY','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','DisplayModes','purpose','Local\x20manifest\x20cannot\x20package\x20network\x20project','__esModule','indexOf','checkStartUrl','short_name','../resource/load','host','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','sizes','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','start_url','https://','path','loadImageFromDisk','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','http','isFullyOpaque','src','startsWith','checkIcons','../resource/imageHelper','name','getWidth','display','length','join','defineProperty','http://','checkManifestJson','10481272hWeYGY','4682571ExohXV','195066lLxXxE','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','5987233IHPjjf','forEach','5354588SMFjNN','push','6NncwII'];_0x2f9a=function(){return _0x412a1f;};return _0x2f9a();}Object[_0x4fdabd(0xc0)](exports,_0x4fdabd(0xdd),{'value':!![]}),exports[_0x4fdabd(0xc2)]=checkManifestJson,exports[_0x4fdabd(0xdf)]=checkStartUrl,exports[_0x4fdabd(0xb9)]=checkIcons,exports['checkId']=checkId,exports['validateURL']=validateURL;const path_1=require(_0x4fdabd(0xb2)),_1=require('.'),CustomError_1=require('../utils/CustomError'),utils_1=require('../utils/utils'),imageHelper_1=require(_0x4fdabd(0xba)),load_1=require(_0x4fdabd(0xab));function checkManifestJson(_0x1a488e){const _0x2d6e35=_0x4fdabd;var _0x5e8578;const _0x1c4d0e=[];!_0x1a488e[_0x2d6e35(0xbb)]&&!_0x1a488e[_0x2d6e35(0xe0)]&&_0x1c4d0e[_0x2d6e35(0xca)]({'code':0xbbe,'message':_0x2d6e35(0xcc),'message_staring_params':{}});!((_0x5e8578=_0x1a488e['icons'])===null||_0x5e8578===void 0x0?void 0x0:_0x5e8578['length'])&&_0x1c4d0e[_0x2d6e35(0xca)]({'code':0xbbf,'message':_0x2d6e35(0xc6),'message_staring_params':{}});!_0x1a488e[_0x2d6e35(0xb0)]&&_0x1c4d0e[_0x2d6e35(0xca)]({'code':0xbc0,'message':_0x2d6e35(0xaf),'message_staring_params':{}});!_1['PWAGenerator'][_0x2d6e35(0xda)][_0x2d6e35(0xd6)](_0x1a488e[_0x2d6e35(0xbd)])&&_0x1c4d0e[_0x2d6e35(0xca)]({'code':0xbc1,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value'+(_0x2d6e35(0xb4)+_0x1a488e['display']+')'),'message_staring_params':{'display':_0x1a488e[_0x2d6e35(0xbd)]}});if(_0x1c4d0e[_0x2d6e35(0xbe)])throw new CustomError_1[(_0x2d6e35(0xd2))](_0x1c4d0e);}function checkStartUrl(_0x4beaf2,_0x80ef16,_0x4e2de7,_0x56a73a=![]){const _0x1dd3d2=_0x4fdabd;var _0x55e2cd=![];if(_0x56a73a)return _0x55e2cd=_0x4beaf2[_0x1dd3d2(0xb0)][_0x1dd3d2(0xde)]('https://')===0x0||_0x4beaf2['start_url'][_0x1dd3d2(0xde)]('http://')===0x0,_0x55e2cd;if(_0x4e2de7){if(_0x4beaf2[_0x1dd3d2(0xb0)][_0x1dd3d2(0xde)](_0x1dd3d2(0xb1))==0x0){const _0x47f6d4=new URL(_0x4beaf2['start_url']),_0x5ecffd=new URL(_0x80ef16);if(_0x47f6d4['host']!==_0x5ecffd[_0x1dd3d2(0xac)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x4beaf2['start_url']['indexOf'](_0x1dd3d2(0xc1))==0x0)throw new CustomError_1[(_0x1dd3d2(0xd2))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x4beaf2[_0x1dd3d2(0xb0)]['indexOf'](_0x1dd3d2(0xb1))==0x0||_0x4beaf2[_0x1dd3d2(0xb0)][_0x1dd3d2(0xde)](_0x1dd3d2(0xc1))==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1dd3d2(0xdc),'message_staring_params':{}});}return _0x55e2cd;}async function checkIcons(_0x44ce1b,_0x1fc609){const _0x1eff1c=_0x4fdabd;var _0x4215b7;const _0x3b3654=(0x0,utils_1[_0x1eff1c(0xd1)])(_0x1fc609);let _0x51ef43,_0x4d0c4c,_0x484f08,_0x2020d4=0x0;for(var _0x2de707=0x0;_0x2de707<_0x44ce1b[_0x1eff1c(0xcd)][_0x1eff1c(0xbe)];_0x2de707++){const _0x75d40d=_0x44ce1b[_0x1eff1c(0xcd)][_0x2de707];let _0x3dc80d=((_0x4215b7=_0x75d40d['purpose'])===null||_0x4215b7===void 0x0?void 0x0:_0x4215b7['indexOf'](_0x1eff1c(0xd5)))>=0x0;if(!_0x3dc80d)continue;let _0x563d39=![],_0x52cdb0=_0x75d40d[_0x1eff1c(0xb7)],_0x568023,_0x3b8af4=0x0;!validateURL(_0x52cdb0)&&(_0x52cdb0=(0x0,path_1[_0x1eff1c(0xbf)])(_0x3b3654,_0x52cdb0));if(_0x75d40d[_0x1eff1c(0xae)]){const _0x4f27cc=_0x75d40d[_0x1eff1c(0xae)][_0x1eff1c(0xd7)]('\x20');_0x4f27cc[_0x1eff1c(0xc8)](_0x1b688c=>{const _0x1bd7f0=_0x1eff1c;let _0x433061=_0x1b688c[_0x1bd7f0(0xd7)]('x');Number(_0x433061[0x0])>=0x400&&Number(_0x433061[0x1])>=0x400&&(_0x563d39=!![],Number(_0x433061[0x0])>_0x3b8af4&&(_0x3b8af4=Number(_0x433061[0x0])));});}else _0x568023=!_0x52cdb0[_0x1eff1c(0xb8)](_0x1eff1c(0xb5))?await(0x0,load_1[_0x1eff1c(0xb3)])(_0x52cdb0):await(0x0,load_1[_0x1eff1c(0xcf)])(_0x52cdb0),_0x568023[_0x1eff1c(0xbc)]()>=0x400&&_0x568023[_0x1eff1c(0xce)]()>=0x400&&(_0x563d39=!![],_0x568023['getWidth']()>_0x3b8af4&&(_0x3b8af4=_0x568023[_0x1eff1c(0xbc)]()));_0x563d39&&_0x3dc80d&&(_0x3b8af4>_0x2020d4&&(_0x2020d4=_0x3b8af4,_0x51ef43=_0x568023,_0x4d0c4c=_0x52cdb0,_0x484f08=_0x75d40d[_0x1eff1c(0xdb)]));}if(_0x2020d4===0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1eff1c(0xd9),'message_staring_params':{}});else _0x4d0c4c&&(_0x51ef43=!_0x4d0c4c['startsWith'](_0x1eff1c(0xb5))?await(0x0,load_1[_0x1eff1c(0xb3)])(_0x4d0c4c):await(0x0,load_1[_0x1eff1c(0xcf)])(_0x4d0c4c));if(_0x51ef43&&!imageHelper_1['ImageHelper'][_0x1eff1c(0xb6)](_0x51ef43))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1eff1c(0xad),'message_staring_params':{}});_0x44ce1b['icons']=[{'src':_0x4d0c4c,'sizes':_0x2020d4+'x'+_0x2020d4,'purpose':_0x484f08}];}function checkId(_0x14a2bd,_0x218a7e){const _0x3d8d1a=_0x4fdabd;!_0x14a2bd['id']&&(_0x14a2bd['id']=_0x14a2bd[_0x3d8d1a(0xb0)]);if(!validateURL(_0x14a2bd['id'])&&!_0x218a7e)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x3d8d1a(0xd4),'message_staring_params':{}});}function validateURL(_0x179a14){try{return new URL(_0x179a14),!![];}catch(_0x3c14e3){return![];}}
1
+ 'use strict';const _0x50f7c7=_0x39e4;(function(_0x71af6a,_0x3283de){const _0x468429=_0x39e4,_0x28e685=_0x71af6a();while(!![]){try{const _0x27053e=parseInt(_0x468429(0x6a))/0x1+-parseInt(_0x468429(0x8a))/0x2+parseInt(_0x468429(0x72))/0x3*(parseInt(_0x468429(0x86))/0x4)+parseInt(_0x468429(0x85))/0x5+-parseInt(_0x468429(0x6e))/0x6*(parseInt(_0x468429(0x92))/0x7)+-parseInt(_0x468429(0x7f))/0x8+parseInt(_0x468429(0x6b))/0x9*(parseInt(_0x468429(0x9a))/0xa);if(_0x27053e===_0x3283de)break;else _0x28e685['push'](_0x28e685['shift']());}catch(_0x4c3c95){_0x28e685['push'](_0x28e685['shift']());}}}(_0x3ad2,0x1d77a));Object['defineProperty'](exports,_0x50f7c7(0x8d),{'value':!![]}),exports[_0x50f7c7(0x77)]=checkManifestJson,exports[_0x50f7c7(0x79)]=checkStartUrl,exports[_0x50f7c7(0x7d)]=checkIcons,exports[_0x50f7c7(0x82)]=checkId,exports[_0x50f7c7(0x73)]=validateURL;function _0x3ad2(){const _0x35325c=['forEach','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','checkId','name','startsWith','700715DGWiPy','2312jaXboF','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','CustomError','indexOf','283268bKCrGI','purpose','join','__esModule','length','Local\x20manifest\x20cannot\x20package\x20network\x20project','split','http','7HrUJJo','maskable','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','getWidth','../utils/CustomError','../resource/load','sizes','push','5680TpAgSd','host','82709YKRTXD','3924AjcqtZ','../utils/utils','loadImageFromNet','1118790NQCfMI','getHeight','src','start_url','921hCbLqP','validateURL','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','ImageHelper','loadImageFromDisk','checkManifestJson','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','checkStartUrl','https://','parseRouter','icons','checkIcons','http://','1593192TqXoOj'];_0x3ad2=function(){return _0x35325c;};return _0x3ad2();}const path_1=require('path'),CustomError_1=require(_0x50f7c7(0x96)),utils_1=require(_0x50f7c7(0x6c)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x50f7c7(0x97));function checkManifestJson(_0x4ae005,_0x5af149=![]){const _0x1dcb25=_0x50f7c7;var _0x290041;const _0x13fd0e=[];!_0x4ae005[_0x1dcb25(0x83)]&&!_0x4ae005['short_name']&&!_0x5af149&&_0x13fd0e[_0x1dcb25(0x99)]({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x290041=_0x4ae005[_0x1dcb25(0x7c)])===null||_0x290041===void 0x0?void 0x0:_0x290041[_0x1dcb25(0x8e)])&&!_0x5af149&&_0x13fd0e[_0x1dcb25(0x99)]({'code':0xbbf,'message':_0x1dcb25(0x87),'message_staring_params':{}});!_0x4ae005['start_url']&&_0x13fd0e['push']({'code':0xbc0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x13fd0e[_0x1dcb25(0x8e)])throw new CustomError_1[(_0x1dcb25(0x88))](_0x13fd0e);}function checkStartUrl(_0x37da12,_0x3e2e18,_0x1f0d3f,_0x58928e,_0x34f868=![]){const _0x547d82=_0x50f7c7;var _0x4d1804=![];if(_0x34f868)return _0x4d1804=_0x37da12[_0x547d82(0x71)][_0x547d82(0x84)](_0x547d82(0x7a))||_0x37da12['start_url'][_0x547d82(0x84)]('http://')||_0x1f0d3f['startsWith'](_0x547d82(0x7a))||_0x1f0d3f['startsWith'](_0x547d82(0x7e)),_0x4d1804;if(_0x58928e){if(_0x37da12[_0x547d82(0x71)]['indexOf'](_0x547d82(0x7a))==0x0){const _0x1ad4b1=new URL(_0x37da12[_0x547d82(0x71)]),_0x41bca5=new URL(_0x3e2e18);if(_0x1ad4b1[_0x547d82(0x9b)]!==_0x41bca5['host'])throw new CustomError_1[(_0x547d82(0x88))]({'code':0xfa0,'message':_0x547d82(0x94),'message_staring_params':{}});}else{if(_0x37da12[_0x547d82(0x71)][_0x547d82(0x89)](_0x547d82(0x7e))==0x0)throw new CustomError_1[(_0x547d82(0x88))]({'code':0xfa0,'message':_0x547d82(0x78),'message_staring_params':{}});}}else{if(_0x37da12[_0x547d82(0x71)]['indexOf'](_0x547d82(0x7a))==0x0||_0x37da12[_0x547d82(0x71)][_0x547d82(0x89)](_0x547d82(0x7e))==0x0)throw new CustomError_1[(_0x547d82(0x88))]({'code':0xfa0,'message':_0x547d82(0x8f),'message_staring_params':{}});}return _0x4d1804;}function _0x39e4(_0x21398a,_0x795eba){const _0x3ad224=_0x3ad2();return _0x39e4=function(_0x39e44b,_0x4544a3){_0x39e44b=_0x39e44b-0x6a;let _0x4495da=_0x3ad224[_0x39e44b];return _0x4495da;},_0x39e4(_0x21398a,_0x795eba);}async function checkIcons(_0x50aaea,_0x4259ba,_0x151ffc=![]){const _0x3a7aca=_0x50f7c7;var _0x2a423a,_0x5735ab;if(!((_0x2a423a=_0x50aaea['icons'])===null||_0x2a423a===void 0x0?void 0x0:_0x2a423a[_0x3a7aca(0x8e)])&&_0x151ffc)return;const _0x3a4d19=(0x0,utils_1[_0x3a7aca(0x7b)])(_0x4259ba);let _0x42d57c,_0x58c363,_0x36c6fb,_0x2ba9b5=0x0;for(var _0x274161=0x0;_0x274161<_0x50aaea[_0x3a7aca(0x7c)]['length'];_0x274161++){const _0x352f35=_0x50aaea[_0x3a7aca(0x7c)][_0x274161];let _0x5a9e26=((_0x5735ab=_0x352f35[_0x3a7aca(0x8b)])===null||_0x5735ab===void 0x0?void 0x0:_0x5735ab[_0x3a7aca(0x89)](_0x3a7aca(0x93)))>=0x0;if(!_0x5a9e26)continue;let _0x4bb83e=![],_0x14ed48=_0x352f35[_0x3a7aca(0x70)],_0x37c491,_0x115e7c=0x0;!validateURL(_0x14ed48)&&(_0x14ed48=(0x0,path_1[_0x3a7aca(0x8c)])(_0x3a4d19,_0x14ed48));if(_0x352f35['sizes']){const _0x5e4ed2=_0x352f35[_0x3a7aca(0x98)]['split']('\x20');_0x5e4ed2[_0x3a7aca(0x80)](_0x5db9bc=>{const _0xd2d911=_0x3a7aca;let _0x5c894a=_0x5db9bc[_0xd2d911(0x90)]('x');Number(_0x5c894a[0x0])>=0x400&&Number(_0x5c894a[0x1])>=0x400&&(_0x4bb83e=!![],Number(_0x5c894a[0x0])>_0x115e7c&&(_0x115e7c=Number(_0x5c894a[0x0])));});}else _0x37c491=!_0x14ed48['startsWith'](_0x3a7aca(0x91))?await(0x0,load_1['loadImageFromDisk'])(_0x14ed48):await(0x0,load_1['loadImageFromNet'])(_0x14ed48),_0x37c491[_0x3a7aca(0x95)]()>=0x400&&_0x37c491[_0x3a7aca(0x6f)]()>=0x400&&(_0x4bb83e=!![],_0x37c491[_0x3a7aca(0x95)]()>_0x115e7c&&(_0x115e7c=_0x37c491['getWidth']()));_0x4bb83e&&_0x5a9e26&&(_0x115e7c>_0x2ba9b5&&(_0x2ba9b5=_0x115e7c,_0x42d57c=_0x37c491,_0x58c363=_0x14ed48,_0x36c6fb=_0x352f35[_0x3a7aca(0x8b)]));}if(_0x2ba9b5===0x0)throw new CustomError_1[(_0x3a7aca(0x88))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});else _0x58c363&&(_0x42d57c=!_0x58c363[_0x3a7aca(0x84)](_0x3a7aca(0x91))?await(0x0,load_1[_0x3a7aca(0x76)])(_0x58c363):await(0x0,load_1[_0x3a7aca(0x6d)])(_0x58c363));if(_0x42d57c&&!imageHelper_1[_0x3a7aca(0x75)]['isFullyOpaque'](_0x42d57c))throw new CustomError_1[(_0x3a7aca(0x88))]({'code':0xfa0,'message':_0x3a7aca(0x81),'message_staring_params':{}});_0x50aaea[_0x3a7aca(0x7c)]=[{'src':_0x58c363,'sizes':_0x2ba9b5+'x'+_0x2ba9b5,'purpose':_0x36c6fb}];}function checkId(_0x40a7d3,_0x13cb94){const _0x29eaa3=_0x50f7c7;!_0x40a7d3['id']&&(_0x40a7d3['id']=_0x40a7d3[_0x29eaa3(0x71)]);if(!validateURL(_0x40a7d3['id'])&&!_0x13cb94)throw new CustomError_1[(_0x29eaa3(0x88))]({'code':0xfa0,'message':_0x29eaa3(0x74),'message_staring_params':{}});}function validateURL(_0x9354d){try{return new URL(_0x9354d),!![];}catch(_0x18f8d3){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0xb361(){const _0x496365=['__esModule','clearDir','645pnKrnV','log','11prQIfr','copyDir','189515fLfaQA','writeFileSync','2484cCNYXs','444270EYLeyl','28oyBLSA','14141412oJWUjC','27TLLtVz','readFileSync','defineProperty','12HwSrWB','readdirSync','statSync','isFile','5188pwMsSC','forEach','566840tbtvlH','1636936TaOvrR','isDirectory','unlinkSync'];_0xb361=function(){return _0x496365;};return _0xb361();}const _0x137177=_0x4a87;(function(_0xbd0bfb,_0x181232){const _0x10aa25=_0x4a87,_0xd8b41e=_0xbd0bfb();while(!![]){try{const _0x4ea3dd=-parseInt(_0x10aa25(0x132))/0x1+parseInt(_0x10aa25(0x134))/0x2*(parseInt(_0x10aa25(0x13b))/0x3)+parseInt(_0x10aa25(0x126))/0x4*(-parseInt(_0x10aa25(0x12e))/0x5)+parseInt(_0x10aa25(0x135))/0x6*(-parseInt(_0x10aa25(0x136))/0x7)+-parseInt(_0x10aa25(0x129))/0x8+-parseInt(_0x10aa25(0x138))/0x9*(parseInt(_0x10aa25(0x128))/0xa)+parseInt(_0x10aa25(0x130))/0xb*(parseInt(_0x10aa25(0x137))/0xc);if(_0x4ea3dd===_0x181232)break;else _0xd8b41e['push'](_0xd8b41e['shift']());}catch(_0x2450a1){_0xd8b41e['push'](_0xd8b41e['shift']());}}}(_0xb361,0x2605e));Object[_0x137177(0x13a)](exports,_0x137177(0x12c),{'value':!![]}),exports[_0x137177(0x131)]=copyDir,exports[_0x137177(0x12d)]=clearDir;const fs=require('fs');function _0x4a87(_0x18477f,_0x1b064a){const _0xb36160=_0xb361();return _0x4a87=function(_0x4a8713,_0x27186a){_0x4a8713=_0x4a8713-0x125;let _0x30e180=_0xb36160[_0x4a8713];return _0x30e180;},_0x4a87(_0x18477f,_0x1b064a);}function copyDir(_0x30b56e,_0x3af415){const _0x22e50e=_0x137177,_0x4d9a85=fs[_0x22e50e(0x13c)](_0x30b56e);_0x4d9a85['forEach'](_0x186bb9=>{const _0x3241e7=_0x22e50e,_0x42d413=_0x30b56e+'/'+_0x186bb9,_0x31419c=_0x3af415+'/'+_0x186bb9,_0x5e2944=fs[_0x3241e7(0x13d)](_0x42d413);if(_0x5e2944[_0x3241e7(0x125)]())try{fs[_0x3241e7(0x133)](_0x31419c,fs[_0x3241e7(0x139)](_0x42d413));}catch(_0x42f0a6){console[_0x3241e7(0x12f)](_0x42f0a6);}else _0x5e2944[_0x3241e7(0x12a)]()&&(!fs['existsSync'](_0x31419c)&&fs['mkdirSync'](_0x31419c,{'recursive':!![]}),copyDir(_0x42d413,_0x31419c));});}function clearDir(_0x35ae15){const _0x12f744=_0x137177,_0x3791b0=fs['readdirSync'](_0x35ae15);_0x3791b0[_0x12f744(0x127)](_0x38744d=>{const _0x20a929=_0x12f744,_0x18f93e=_0x35ae15+'/'+_0x38744d,_0x3a23c6=fs[_0x20a929(0x13d)](_0x18f93e);if(_0x3a23c6['isFile']())try{fs[_0x20a929(0x12b)](_0x18f93e);}catch(_0x5bcad9){console['log'](_0x5bcad9);}else _0x3a23c6[_0x20a929(0x12a)]()&&clearDir(_0x18f93e);});}
1
+ 'use strict';const _0x5416fc=_0x3a52;(function(_0x338720,_0x4d67ef){const _0x2dd814=_0x3a52,_0x185a1b=_0x338720();while(!![]){try{const _0x3530c5=-parseInt(_0x2dd814(0x1d4))/0x1*(-parseInt(_0x2dd814(0x1de))/0x2)+parseInt(_0x2dd814(0x1e0))/0x3+parseInt(_0x2dd814(0x1dd))/0x4*(-parseInt(_0x2dd814(0x1dc))/0x5)+parseInt(_0x2dd814(0x1e3))/0x6+parseInt(_0x2dd814(0x1e2))/0x7*(parseInt(_0x2dd814(0x1e5))/0x8)+-parseInt(_0x2dd814(0x1e9))/0x9*(parseInt(_0x2dd814(0x1d7))/0xa)+-parseInt(_0x2dd814(0x1e4))/0xb;if(_0x3530c5===_0x4d67ef)break;else _0x185a1b['push'](_0x185a1b['shift']());}catch(_0x478e57){_0x185a1b['push'](_0x185a1b['shift']());}}}(_0x353d,0x87dba));function _0x353d(){const _0x586469=['clearDir','defineProperty','13120qKuYxy','log','mkdirSync','isDirectory','unlinkSync','10UsYVOl','2035452IvhmbU','2TUlfYx','isFile','1408146HrTfVM','copyDir','569548XCfNTW','4695582puxTBX','13027135Mcayfq','88nLsuji','forEach','statSync','readdirSync','1908MuHZSz','__esModule','889646pwlSQp'];_0x353d=function(){return _0x586469;};return _0x353d();}Object[_0x5416fc(0x1d6)](exports,_0x5416fc(0x1ea),{'value':!![]}),exports[_0x5416fc(0x1e1)]=copyDir,exports[_0x5416fc(0x1d5)]=clearDir;const fs=require('fs');function _0x3a52(_0x414e96,_0x498907){const _0x353d27=_0x353d();return _0x3a52=function(_0x3a52fc,_0x29b6db){_0x3a52fc=_0x3a52fc-0x1d4;let _0x4b8521=_0x353d27[_0x3a52fc];return _0x4b8521;},_0x3a52(_0x414e96,_0x498907);}function copyDir(_0x4561ad,_0x3b078d){const _0x3e59e5=_0x5416fc,_0x380d1d=fs[_0x3e59e5(0x1e8)](_0x4561ad);_0x380d1d['forEach'](_0x3ba491=>{const _0x2f725b=_0x3e59e5,_0x364e18=_0x4561ad+'/'+_0x3ba491,_0x3bc0be=_0x3b078d+'/'+_0x3ba491,_0x3f72df=fs[_0x2f725b(0x1e7)](_0x364e18);if(_0x3f72df[_0x2f725b(0x1df)]())try{fs['writeFileSync'](_0x3bc0be,fs['readFileSync'](_0x364e18));}catch(_0x5b61a7){console[_0x2f725b(0x1d8)](_0x5b61a7);}else _0x3f72df[_0x2f725b(0x1da)]()&&(!fs['existsSync'](_0x3bc0be)&&fs[_0x2f725b(0x1d9)](_0x3bc0be,{'recursive':!![]}),copyDir(_0x364e18,_0x3bc0be));});}function clearDir(_0x71d906){const _0x37c3b7=_0x5416fc,_0x4f326d=fs[_0x37c3b7(0x1e8)](_0x71d906);_0x4f326d[_0x37c3b7(0x1e6)](_0x2627a0=>{const _0x2ca12a=_0x37c3b7,_0x7b0a9d=_0x71d906+'/'+_0x2627a0,_0x1cfb39=fs['statSync'](_0x7b0a9d);if(_0x1cfb39['isFile']())try{fs[_0x2ca12a(0x1db)](_0x7b0a9d);}catch(_0x1456fd){console[_0x2ca12a(0x1d8)](_0x1456fd);}else _0x1cfb39['isDirectory']()&&clearDir(_0x7b0a9d);});}
@@ -1 +1 @@
1
- 'use strict';const _0x1d4c1c=_0x417c;(function(_0xa29d74,_0xdea359){const _0x2d78eb=_0x417c,_0x1886a0=_0xa29d74();while(!![]){try{const _0x6d5df8=-parseInt(_0x2d78eb(0x1ab))/0x1+parseInt(_0x2d78eb(0x1b8))/0x2+parseInt(_0x2d78eb(0x1ba))/0x3*(-parseInt(_0x2d78eb(0x1a8))/0x4)+parseInt(_0x2d78eb(0x1a7))/0x5*(-parseInt(_0x2d78eb(0x1b7))/0x6)+parseInt(_0x2d78eb(0x1a5))/0x7+parseInt(_0x2d78eb(0x1aa))/0x8+parseInt(_0x2d78eb(0x1a6))/0x9*(parseInt(_0x2d78eb(0x1a9))/0xa);if(_0x6d5df8===_0xdea359)break;else _0x1886a0['push'](_0x1886a0['shift']());}catch(_0xef817b){_0x1886a0['push'](_0x1886a0['shift']());}}}(_0x4372,0xc2723));function _0x4372(){const _0x2b8d7d=['asPng','toBuffer','sharp','width','getWidth','__esModule','423210xKPrqo','629990kYvfSy','png','739923yhWPWg','defineProperty','ImageHelper','svg2img','bitmap','@resvg/resvg-js','9629368ToTJHx','6107967oHwrZv','10Ygzkaz','12DyXsRZ','10UlQVap','5580352XiWjFP','1389382vIfbPe','data','jimp','toFormat','getHeight','createImg'];_0x4372=function(){return _0x2b8d7d;};return _0x4372();}function _0x417c(_0x2779f4,_0x424a67){const _0x437213=_0x4372();return _0x417c=function(_0x417cc8,_0xf43272){_0x417cc8=_0x417cc8-0x1a2;let _0x26a07e=_0x437213[_0x417cc8];return _0x26a07e;},_0x417c(_0x2779f4,_0x424a67);}Object[_0x1d4c1c(0x1bb)](exports,_0x1d4c1c(0x1b6),{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0x1d4c1c(0x1ad)),sharp=require(_0x1d4c1c(0x1b3)),resvg_js_1=require(_0x1d4c1c(0x1a4));class ImageHelper{static[_0x1d4c1c(0x1b0)](_0xcd3fee){return new Jimp(_0xcd3fee,_0xcd3fee,0x0);}static async['webp2PngBuffer'](_0x4de49b){const _0x51c3ac=_0x1d4c1c;return await sharp(_0x4de49b)[_0x51c3ac(0x1ae)](_0x51c3ac(0x1b9))[_0x51c3ac(0x1b2)]();}static async[_0x1d4c1c(0x1a2)](_0x4653fc){const _0x5ac194=_0x1d4c1c,_0x80c71e={'fitTo':{'mode':_0x5ac194(0x1b4),'value':0x400}},_0x247833=new resvg_js_1['Resvg'](_0x4653fc,_0x80c71e),_0x25a616=_0x247833['render'](),_0x28dfe5=_0x25a616[_0x5ac194(0x1b1)]();return _0x28dfe5;}static['isFullyOpaque'](_0x3266ca){const _0x11bd34=_0x1d4c1c,_0x2be32f=_0x3266ca[_0x11bd34(0x1b5)]()*_0x3266ca[_0x11bd34(0x1af)]();for(var _0x3e203f=0x0;_0x3e203f<_0x2be32f;_0x3e203f++){const _0x3a1923=_0x3e203f*0x4+0x3;if(_0x3266ca[_0x11bd34(0x1a3)][_0x11bd34(0x1ac)][_0x3a1923]<0xff)return![];}return!![];}}exports[_0x1d4c1c(0x1bc)]=ImageHelper;
1
+ 'use strict';const _0x4b5ffb=_0x43a5;(function(_0x251409,_0x522a7c){const _0x4c2bd7=_0x43a5,_0x54ad6c=_0x251409();while(!![]){try{const _0x58daa9=parseInt(_0x4c2bd7(0x8b))/0x1+parseInt(_0x4c2bd7(0x82))/0x2*(parseInt(_0x4c2bd7(0x86))/0x3)+parseInt(_0x4c2bd7(0x7a))/0x4+parseInt(_0x4c2bd7(0x91))/0x5+parseInt(_0x4c2bd7(0x87))/0x6+-parseInt(_0x4c2bd7(0x83))/0x7+-parseInt(_0x4c2bd7(0x85))/0x8;if(_0x58daa9===_0x522a7c)break;else _0x54ad6c['push'](_0x54ad6c['shift']());}catch(_0x4b03d7){_0x54ad6c['push'](_0x54ad6c['shift']());}}}(_0x3931,0x833d0));function _0x43a5(_0x322d27,_0x5f2342){const _0x393143=_0x3931();return _0x43a5=function(_0x43a5da,_0x2a05f5){_0x43a5da=_0x43a5da-0x7a;let _0x58ca1a=_0x393143[_0x43a5da];return _0x58ca1a;},_0x43a5(_0x322d27,_0x5f2342);}Object[_0x4b5ffb(0x92)](exports,_0x4b5ffb(0x88),{'value':!![]}),exports[_0x4b5ffb(0x7d)]=void 0x0;const Jimp=require(_0x4b5ffb(0x7f)),sharp=require(_0x4b5ffb(0x90)),resvg_js_1=require(_0x4b5ffb(0x80));function _0x3931(){const _0x1f6b70=['png','2wdpPLz','1531005weBJjI','svg2img','21019144PHVpXz','308031EeBptg','4202850jPsYSu','__esModule','toBuffer','asPng','1018090PEwmoZ','bitmap','render','width','webp2PngBuffer','sharp','3057615eUYYIP','defineProperty','3803580BZODMl','isFullyOpaque','getWidth','ImageHelper','Resvg','jimp','@resvg/resvg-js'];_0x3931=function(){return _0x1f6b70;};return _0x3931();}class ImageHelper{static['createImg'](_0x4fc73c){return new Jimp(_0x4fc73c,_0x4fc73c,0x0);}static async[_0x4b5ffb(0x8f)](_0x2eb3b7){const _0x14cc46=_0x4b5ffb;return await sharp(_0x2eb3b7)['toFormat'](_0x14cc46(0x81))[_0x14cc46(0x89)]();}static async[_0x4b5ffb(0x84)](_0x86e238){const _0x2cfb94=_0x4b5ffb,_0xd98a3a={'fitTo':{'mode':_0x2cfb94(0x8e),'value':0x400}},_0x5e98ac=new resvg_js_1[(_0x2cfb94(0x7e))](_0x86e238,_0xd98a3a),_0x1f2ac3=_0x5e98ac[_0x2cfb94(0x8d)](),_0x4ac2a2=_0x1f2ac3[_0x2cfb94(0x8a)]();return _0x4ac2a2;}static[_0x4b5ffb(0x7b)](_0xd7d4bb){const _0xec1ef=_0x4b5ffb,_0x4a3788=_0xd7d4bb[_0xec1ef(0x7c)]()*_0xd7d4bb['getHeight']();for(var _0x217f1b=0x0;_0x217f1b<_0x4a3788;_0x217f1b++){const _0xd30ceb=_0x217f1b*0x4+0x3;if(_0xd7d4bb[_0xec1ef(0x8c)]['data'][_0xd30ceb]<0xff)return![];}return!![];}}exports[_0x4b5ffb(0x7d)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';function _0x5959(_0x46c410,_0x2871fb){const _0x96879d=_0x9687();return _0x5959=function(_0x595931,_0x373693){_0x595931=_0x595931-0x119;let _0x71d4ae=_0x96879d[_0x595931];return _0x71d4ae;},_0x5959(_0x46c410,_0x2871fb);}const _0x560e93=_0x5959;(function(_0x5e96b1,_0x2dd9d6){const _0x17c96e=_0x5959,_0x35c54=_0x5e96b1();while(!![]){try{const _0x5a37a2=parseInt(_0x17c96e(0x144))/0x1+-parseInt(_0x17c96e(0x119))/0x2+parseInt(_0x17c96e(0x120))/0x3+-parseInt(_0x17c96e(0x139))/0x4+parseInt(_0x17c96e(0x11c))/0x5*(parseInt(_0x17c96e(0x12e))/0x6)+-parseInt(_0x17c96e(0x124))/0x7*(parseInt(_0x17c96e(0x11f))/0x8)+-parseInt(_0x17c96e(0x133))/0x9;if(_0x5a37a2===_0x2dd9d6)break;else _0x35c54['push'](_0x35c54['shift']());}catch(_0x3c8c4b){_0x35c54['push'](_0x35c54['shift']());}}}(_0x9687,0x636cf));Object[_0x560e93(0x13b)](exports,_0x560e93(0x11a),{'value':!![]}),exports['ResourceManager']=exports[_0x560e93(0x122)]=exports[_0x560e93(0x127)]=exports[_0x560e93(0x123)]=exports[_0x560e93(0x142)]=exports[_0x560e93(0x137)]=exports[_0x560e93(0x145)]=exports[_0x560e93(0x13a)]=void 0x0;const fs=require('fs'),path_1=require(_0x560e93(0x11e)),file_1=require('./file'),load_1=require(_0x560e93(0x136)),child_process_1=require('child_process');exports['PROJECT_DIRECTORY']='',exports['PROJECT_BUILD_DIRECTORY']='',exports[_0x560e93(0x137)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports[_0x560e93(0x123)]=_0x560e93(0x13d),exports[_0x560e93(0x127)]=exports['ASSET_DIRECTORY']+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x560e93(0x122)]=exports[_0x560e93(0x123)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=['visionos'];class ResourceManager{static async[_0x560e93(0x12b)](_0x41f61a){const _0x200b00=_0x560e93,_0x3bfeb4=(0x0,path_1['join'])(process['cwd'](),_0x41f61a),_0x5012e7=(0x0,path_1[_0x200b00(0x146)])(exports[_0x200b00(0x13a)],exports[_0x200b00(0x142)]);!fs['existsSync'](_0x5012e7)?fs[_0x200b00(0x121)](_0x5012e7,{'recursive':!![]}):(0x0,file_1[_0x200b00(0x125)])(_0x5012e7);try{(0x0,file_1[_0x200b00(0x12a)])(_0x3bfeb4,_0x5012e7);}catch(_0x404608){console[_0x200b00(0x131)](_0x404608);}}static async['generateIcon'](_0x45a54b){const _0x5279ad=_0x560e93,_0x50b2d8=_0x45a54b[_0x5279ad(0x128)],_0x55767a=_0x50b2d8[_0x5279ad(0x12c)][0x0]['src'],_0x3ce8f9=!_0x55767a[_0x5279ad(0x138)](_0x5279ad(0x126))?await(0x0,load_1[_0x5279ad(0x13c)])(_0x55767a):await(0x0,load_1[_0x5279ad(0x135)])(_0x55767a);return _0x3ce8f9[_0x5279ad(0x130)](0x400,0x400),_0x3ce8f9;}static[_0x560e93(0x11d)](_0x3d0a66){const _0x298b35=_0x560e93,_0x4177b7=_0x3d0a66!==null&&_0x3d0a66!==void 0x0?_0x3d0a66:supportPlatform[0x0];if(!supportPlatform[_0x298b35(0x12d)](_0x4177b7))throw new Error('not\x20support\x20platform\x20'+_0x4177b7+_0x298b35(0x13f)+supportPlatform['join'](','));let _0x4675cc=(0x0,path_1['join'])(process[_0x298b35(0x140)](),_0x298b35(0x11b)+_0x4177b7);!fs[_0x298b35(0x12f)](_0x4675cc)&&(_0x4675cc=(0x0,path_1[_0x298b35(0x146)])(__dirname,_0x298b35(0x143)+_0x4177b7));const _0xf90072=fs[_0x298b35(0x12f)](_0x4675cc);!_0xf90072&&(0x0,child_process_1[_0x298b35(0x134)])(_0x298b35(0x129)+(0x0,path_1[_0x298b35(0x146)])(__dirname,_0x298b35(0x132))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x4177b7),exports['PROJECT_DIRECTORY']=_0x4675cc,exports[_0x298b35(0x145)]=(0x0,path_1[_0x298b35(0x146)])(exports[_0x298b35(0x13a)],_0x298b35(0x141)),exports[_0x298b35(0x137)]=(0x0,path_1['join'])(exports[_0x298b35(0x13a)],_0x298b35(0x13e));}}function _0x9687(){const _0x3a62b2=['http','BACK_APPICON_DIRECTORY','json','cd\x20','copyDir','moveProjectFrom','icons','includes','1966398VGqwii','existsSync','resize','log','../../../','2479707nOvJjG','execSync','loadImageFromNet','./load','PROJECT_EXPORT_DIRECTORY','startsWith','2404032mebkRl','PROJECT_DIRECTORY','defineProperty','loadImageFromDisk','web-spatial/Assets.xcassets','./export',',\x20now\x20WebSpatial\x20only\x20support\x20','cwd','./build','WEB_PROJECT_DIRECTORY','../../../node_modules/@webspatial/platform-','598349EmIwaG','PROJECT_BUILD_DIRECTORY','join','ResourceManager','1014452dwNIvi','__esModule','node_modules/@webspatial/platform-','10qZmhYX','checkPlatformPath','path','24mHDwYR','2218023IfkJKc','mkdirSync','MIDDLE_APPICON_DIRECTORY','ASSET_DIRECTORY','471688hAJRMq','clearDir'];_0x9687=function(){return _0x3a62b2;};return _0x9687();}exports[_0x560e93(0x147)]=ResourceManager;
1
+ 'use strict';const _0x51a6f5=_0x4074;(function(_0x21a44d,_0x18385b){const _0x3c1920=_0x4074,_0x5a99d4=_0x21a44d();while(!![]){try{const _0x38392f=parseInt(_0x3c1920(0x138))/0x1+parseInt(_0x3c1920(0x11e))/0x2*(parseInt(_0x3c1920(0x12a))/0x3)+parseInt(_0x3c1920(0x120))/0x4*(-parseInt(_0x3c1920(0x12b))/0x5)+parseInt(_0x3c1920(0x11d))/0x6*(-parseInt(_0x3c1920(0x13c))/0x7)+parseInt(_0x3c1920(0x115))/0x8+parseInt(_0x3c1920(0x130))/0x9*(-parseInt(_0x3c1920(0x112))/0xa)+parseInt(_0x3c1920(0x125))/0xb;if(_0x38392f===_0x18385b)break;else _0x5a99d4['push'](_0x5a99d4['shift']());}catch(_0x55a620){_0x5a99d4['push'](_0x5a99d4['shift']());}}}(_0x3cde,0x5b574));Object['defineProperty'](exports,_0x51a6f5(0x116),{'value':!![]}),exports[_0x51a6f5(0x11a)]=exports[_0x51a6f5(0x13d)]=exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']=exports[_0x51a6f5(0x13e)]=exports[_0x51a6f5(0x12d)]=exports['PROJECT_BUILD_DIRECTORY']=exports['PROJECT_DIRECTORY']=void 0x0;function _0x3cde(){const _0x8889bc=['src','927072wvpfzV','__esModule','log','icons','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','ResourceManager','ASSET_DIRECTORY','not\x20support\x20platform\x20','42zRXxcz','766058LEUnAI','./build','963156GUyhDX','./export','loadImageFromDisk','../../../node_modules/@webspatial/platform-','join','4492268KvwJLM','includes','path','loadImageFromNet','web-spatial/static-web','3dFLMdw','10MGOVoG','../../../','PROJECT_EXPORT_DIRECTORY','./load',',\x20now\x20WebSpatial\x20only\x20support\x20','1341qCJlGy','cwd','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','PROJECT_DIRECTORY','mkdirSync','http','existsSync','moveProjectFrom','655357JfqBKr','PROJECT_BUILD_DIRECTORY','generateIcon','resize','269633sBFTQf','MIDDLE_APPICON_DIRECTORY','WEB_PROJECT_DIRECTORY','BACK_APPICON_DIRECTORY','visionos','29350FMDvHW','startsWith'];_0x3cde=function(){return _0x8889bc;};return _0x3cde();}function _0x4074(_0x428402,_0x427506){const _0x3cdede=_0x3cde();return _0x4074=function(_0x4074cc,_0x34be83){_0x4074cc=_0x4074cc-0x111;let _0x30f79a=_0x3cdede[_0x4074cc];return _0x30f79a;},_0x4074(_0x428402,_0x427506);}const fs=require('fs'),path_1=require(_0x51a6f5(0x127)),file_1=require('./file'),load_1=require(_0x51a6f5(0x12e)),child_process_1=require('child_process');exports[_0x51a6f5(0x133)]='',exports[_0x51a6f5(0x139)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x51a6f5(0x13e)]=_0x51a6f5(0x129),exports['ASSET_DIRECTORY']='web-spatial/Assets.xcassets',exports[_0x51a6f5(0x13f)]=exports[_0x51a6f5(0x11b)]+_0x51a6f5(0x132),exports[_0x51a6f5(0x13d)]=exports['ASSET_DIRECTORY']+_0x51a6f5(0x119);const supportPlatform=[_0x51a6f5(0x111)];class ResourceManager{static async[_0x51a6f5(0x137)](_0x568f65){const _0x5c00d5=_0x51a6f5,_0x506724=(0x0,path_1[_0x5c00d5(0x124)])(process[_0x5c00d5(0x131)](),_0x568f65),_0x53def8=(0x0,path_1[_0x5c00d5(0x124)])(exports[_0x5c00d5(0x133)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x5c00d5(0x136)](_0x53def8)?fs[_0x5c00d5(0x134)](_0x53def8,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x53def8);try{(0x0,file_1['copyDir'])(_0x506724,_0x53def8);}catch(_0x1673e5){console[_0x5c00d5(0x117)](_0x1673e5);}}static async[_0x51a6f5(0x13a)](_0x2a93b3){const _0x42013d=_0x51a6f5,_0x49393a=_0x2a93b3['json'],_0x1e9dd1=_0x49393a[_0x42013d(0x118)][0x0][_0x42013d(0x114)],_0x10025d=!_0x1e9dd1[_0x42013d(0x113)](_0x42013d(0x135))?await(0x0,load_1[_0x42013d(0x122)])(_0x1e9dd1):await(0x0,load_1[_0x42013d(0x128)])(_0x1e9dd1);return _0x10025d[_0x42013d(0x13b)](0x400,0x400),_0x10025d;}static['checkPlatformPath'](_0x3aa353){const _0x1ed592=_0x51a6f5,_0x297771=_0x3aa353!==null&&_0x3aa353!==void 0x0?_0x3aa353:supportPlatform[0x0];if(!supportPlatform[_0x1ed592(0x126)](_0x297771))throw new Error(_0x1ed592(0x11c)+_0x297771+_0x1ed592(0x12f)+supportPlatform[_0x1ed592(0x124)](','));let _0x4dd8d7=(0x0,path_1['join'])(process['cwd'](),'node_modules/@webspatial/platform-'+_0x297771);!fs[_0x1ed592(0x136)](_0x4dd8d7)&&(_0x4dd8d7=(0x0,path_1['join'])(__dirname,_0x1ed592(0x123)+_0x297771));const _0x1763ed=fs[_0x1ed592(0x136)](_0x4dd8d7);!_0x1763ed&&(0x0,child_process_1['execSync'])('cd\x20'+(0x0,path_1['join'])(__dirname,_0x1ed592(0x12c))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x297771),exports['PROJECT_DIRECTORY']=_0x4dd8d7,exports[_0x1ed592(0x139)]=(0x0,path_1[_0x1ed592(0x124)])(exports[_0x1ed592(0x133)],_0x1ed592(0x11f)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x1ed592(0x124)])(exports[_0x1ed592(0x133)],_0x1ed592(0x121));}}exports['ResourceManager']=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x4f5922=_0x5d06;(function(_0x115c7f,_0x59d916){const _0x491068=_0x5d06,_0x4e10ff=_0x115c7f();while(!![]){try{const _0x170159=-parseInt(_0x491068(0x13f))/0x1*(parseInt(_0x491068(0x136))/0x2)+-parseInt(_0x491068(0x146))/0x3+-parseInt(_0x491068(0x11c))/0x4+-parseInt(_0x491068(0x12d))/0x5+parseInt(_0x491068(0x14f))/0x6*(parseInt(_0x491068(0x124))/0x7)+parseInt(_0x491068(0x12b))/0x8*(parseInt(_0x491068(0x149))/0x9)+parseInt(_0x491068(0x134))/0xa;if(_0x170159===_0x59d916)break;else _0x4e10ff['push'](_0x4e10ff['shift']());}catch(_0x436bd6){_0x4e10ff['push'](_0x4e10ff['shift']());}}}(_0x748a,0xcaf88));Object[_0x4f5922(0x120)](exports,_0x4f5922(0x143),{'value':!![]}),exports[_0x4f5922(0x11b)]=loadJsonFromNet,exports['loadJsonFromDisk']=loadJsonFromDisk,exports[_0x4f5922(0x14b)]=loadImageFromNet,exports[_0x4f5922(0x11d)]=loadImageFromDisk,exports[_0x4f5922(0x152)]=loadFileString;function _0x748a(){const _0x216795=['content-type','292061QouQYS','get','trim','headers','../utils/FetchUtils-1','image/webp','startsWith','64CEvQDn','readFile','1481530tKyIZf','./imageHelper','toString','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','webp2PngBuffer','deflate','Problem\x20reading\x20','32295430MDJgCa','parse','4EAhtPD','The\x20response\x20status\x20is\x20','fetch','from','ImageHelper','content-encoding','arrayBuffer','svg2img','jimp','467822LUaCcg','CustomError','image/svg','decompressResponseBuffer','__esModule','read','includes','2962248FfNbec','data','Failed\x20to\x20download\x20Web\x20Manifest\x20','585612UtZsIL','../utils/CustomError','loadImageFromNet','image/','gzip','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','42mBnphr','Received\x20icon\x20with\x20invalid\x20Content-Type.',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','loadFileString','promises','binary','loadJsonFromNet','3965656PgwpNb','loadImageFromDisk','fetchUtils','status','defineProperty','\x20Responded\x20with\x20Content-Type\x20\x22','text'];_0x748a=function(){return _0x216795;};return _0x748a();}const fs=require('fs'),FetchUtils_1_1=require(_0x4f5922(0x128)),CustomError_1=require(_0x4f5922(0x14a)),Jimp=require(_0x4f5922(0x13e)),imageHelper_1=require(_0x4f5922(0x12e));async function loadJsonFromNet(_0x3216ba){const _0x3524db=_0x4f5922,_0x585a72=await FetchUtils_1_1[_0x3524db(0x11e)][_0x3524db(0x138)](_0x3216ba,{'encoding':_0x3524db(0x11a)});if(_0x585a72[_0x3524db(0x11f)]!==0xc8)throw new CustomError_1[(_0x3524db(0x140))]({'code':0xbbc,'message':_0x3524db(0x148)+_0x3216ba+'.'+(_0x3524db(0x137)+_0x585a72['status']+_0x3524db(0x151)),'message_staring_params':{'web_manifest_url':_0x3216ba,'status':_0x585a72['status']}});try{let _0x5b5e3e;return _0x585a72[_0x3524db(0x122)]?_0x5b5e3e=await _0x585a72[_0x3524db(0x122)]():['gzip',_0x3524db(0x132),'br']['includes'](_0x585a72[_0x3524db(0x127)][_0x3524db(0x13b)])?_0x5b5e3e=FetchUtils_1_1[_0x3524db(0x11e)][_0x3524db(0x142)](Buffer['from'](_0x585a72[_0x3524db(0x147)],'binary'),_0x585a72[_0x3524db(0x127)]['content-encoding'])[_0x3524db(0x12f)]():_0x5b5e3e=Buffer[_0x3524db(0x139)](_0x585a72[_0x3524db(0x147)],_0x3524db(0x11a))[_0x3524db(0x12f)](),JSON[_0x3524db(0x135)](_0x5b5e3e[_0x3524db(0x126)]());}catch(_0x67a6a7){throw new CustomError_1[(_0x3524db(0x140))]({'code':0xbbd,'message':_0x3524db(0x130),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x575dcf){const _0x3f0e5a=_0x4f5922,_0x2ef8e8=await loadFileString(_0x575dcf['toString']());return JSON[_0x3f0e5a(0x135)](_0x2ef8e8);}async function loadImageFromNet(_0x3fbf83){const _0x29102c=_0x4f5922,_0xa1f5c1=await FetchUtils_1_1['fetchUtils'][_0x29102c(0x138)](_0x3fbf83,{'encoding':_0x29102c(0x11a)});if(_0xa1f5c1['status']!==0xc8)throw new CustomError_1[(_0x29102c(0x140))]({'code':0x7d2,'message':_0x29102c(0x14e)+_0xa1f5c1['status'],'message_staring_params':{'icon_url':_0x3fbf83,'status':_0xa1f5c1[_0x29102c(0x11f)]}});const _0x5e45d5=_0xa1f5c1[_0x29102c(0x127)][_0x29102c(0x125)]?_0xa1f5c1[_0x29102c(0x127)]['get'](_0x29102c(0x123)):_0xa1f5c1[_0x29102c(0x127)]['content-type'];if(!(_0x5e45d5===null||_0x5e45d5===void 0x0?void 0x0:_0x5e45d5[_0x29102c(0x12a)](_0x29102c(0x14c))))throw new CustomError_1[(_0x29102c(0x140))]({'code':0x7d3,'message':_0x29102c(0x150)+(_0x29102c(0x121)+_0x5e45d5+'\x22'),'message_staring_params':{'icon_url':_0x3fbf83,'contentType':_0x5e45d5}});let _0x19e027;_0xa1f5c1[_0x29102c(0x13c)]?_0x19e027=await _0xa1f5c1[_0x29102c(0x13c)]():[_0x29102c(0x14d),_0x29102c(0x132),'br'][_0x29102c(0x145)](_0xa1f5c1[_0x29102c(0x127)][_0x29102c(0x13b)])?_0x19e027=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer[_0x29102c(0x139)](_0xa1f5c1[_0x29102c(0x147)],_0x29102c(0x11a)),_0xa1f5c1['headers'][_0x29102c(0x13b)]):_0x19e027=Buffer[_0x29102c(0x139)](_0xa1f5c1[_0x29102c(0x147)],_0x29102c(0x11a));if(_0x5e45d5[_0x29102c(0x12a)](_0x29102c(0x141))){const _0x5307f8=new TextDecoder();try{_0x19e027=await imageHelper_1[_0x29102c(0x13a)][_0x29102c(0x13d)](_0x5307f8['decode'](_0x19e027));}catch(_0x4aec90){throw new CustomError_1[(_0x29102c(0x140))]({'code':0x7d4,'message':_0x29102c(0x133)+_0x3fbf83+':\x20'+_0x4aec90,'message_staring_params':{'icon_url':_0x3fbf83,'error':_0x4aec90}});}}return _0x5e45d5[_0x29102c(0x12a)](_0x29102c(0x129))&&(_0x19e027=await imageHelper_1[_0x29102c(0x13a)][_0x29102c(0x131)](_0x19e027)),await Jimp[_0x29102c(0x144)](Buffer['from'](_0x19e027));}function _0x5d06(_0x5d0ab2,_0x594085){const _0x748adb=_0x748a();return _0x5d06=function(_0x5d06be,_0x46f5c9){_0x5d06be=_0x5d06be-0x119;let _0x162845=_0x748adb[_0x5d06be];return _0x162845;},_0x5d06(_0x5d0ab2,_0x594085);}async function loadImageFromDisk(_0x510959){return await Jimp['read'](_0x510959);}async function loadFileString(_0x52bbb2){const _0x3bc7e8=_0x4f5922;let _0x2a06cc=await fs[_0x3bc7e8(0x119)][_0x3bc7e8(0x12c)](_0x52bbb2[_0x3bc7e8(0x12f)]());return _0x2a06cc[_0x3bc7e8(0x12f)]();}
1
+ 'use strict';const _0x55115e=_0xb731;function _0xb731(_0x2aa3c1,_0x28c485){const _0x423316=_0x4233();return _0xb731=function(_0xb7317e,_0xa1d51d){_0xb7317e=_0xb7317e-0x1a5;let _0x2bd0b4=_0x423316[_0xb7317e];return _0x2bd0b4;},_0xb731(_0x2aa3c1,_0x28c485);}(function(_0x3ff85a,_0x3d1557){const _0x126ca3=_0xb731,_0x48c911=_0x3ff85a();while(!![]){try{const _0x389a26=-parseInt(_0x126ca3(0x1b6))/0x1*(-parseInt(_0x126ca3(0x1a8))/0x2)+parseInt(_0x126ca3(0x1d8))/0x3*(-parseInt(_0x126ca3(0x1ac))/0x4)+-parseInt(_0x126ca3(0x1c4))/0x5*(parseInt(_0x126ca3(0x1b0))/0x6)+-parseInt(_0x126ca3(0x1d0))/0x7*(-parseInt(_0x126ca3(0x1b2))/0x8)+parseInt(_0x126ca3(0x1a9))/0x9*(parseInt(_0x126ca3(0x1b7))/0xa)+parseInt(_0x126ca3(0x1c5))/0xb*(-parseInt(_0x126ca3(0x1d5))/0xc)+-parseInt(_0x126ca3(0x1bb))/0xd;if(_0x389a26===_0x3d1557)break;else _0x48c911['push'](_0x48c911['shift']());}catch(_0x4ea83b){_0x48c911['push'](_0x48c911['shift']());}}}(_0x4233,0x6194f));function _0x4233(){const _0x304a85=['2765dsMWAQ','./imageHelper','toString','gzip','decode','221436wWnlry','parse','__esModule','669ZFdspa',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','from','headers','\x20Responded\x20with\x20Content-Type\x20\x22','CustomError','2xhiUvB','3062115aqqOWx','fetchUtils','deflate','1228UWtYWQ','status','The\x20response\x20status\x20is\x20','image/svg','156QCJZAO','promises','9704bTtyUT','text','image/webp','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','738032vGIqUM','10sDDyRg','../utils/FetchUtils-1','loadImageFromNet','image/','8964683KAwBtp','read','defineProperty','arrayBuffer','jimp','binary','data','webp2PngBuffer','decompressResponseBuffer','2335rgbPBC','231JnJfVF','content-encoding','svg2img','fetch','ImageHelper','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadFileString','includes','Problem\x20reading\x20','content-type','loadJsonFromNet'];_0x4233=function(){return _0x304a85;};return _0x4233();}Object[_0x55115e(0x1bd)](exports,_0x55115e(0x1d7),{'value':!![]}),exports[_0x55115e(0x1cf)]=loadJsonFromNet,exports['loadJsonFromDisk']=loadJsonFromDisk,exports[_0x55115e(0x1b9)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x55115e(0x1cb)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x55115e(0x1b8)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x55115e(0x1bf)),imageHelper_1=require(_0x55115e(0x1d1));async function loadJsonFromNet(_0x43fff2){const _0x3947e5=_0x55115e,_0x399b81=await FetchUtils_1_1[_0x3947e5(0x1aa)][_0x3947e5(0x1c8)](_0x43fff2,{'encoding':_0x3947e5(0x1c0)});if(_0x399b81[_0x3947e5(0x1ad)]!==0xc8)throw new CustomError_1[(_0x3947e5(0x1a7))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x43fff2+'.'+(_0x3947e5(0x1ae)+_0x399b81['status']+_0x3947e5(0x1d9)),'message_staring_params':{'web_manifest_url':_0x43fff2,'status':_0x399b81['status']}});try{let _0x4dc64c;return _0x399b81[_0x3947e5(0x1b3)]?_0x4dc64c=await _0x399b81[_0x3947e5(0x1b3)]():[_0x3947e5(0x1d3),_0x3947e5(0x1ab),'br']['includes'](_0x399b81['headers'][_0x3947e5(0x1c6)])?_0x4dc64c=FetchUtils_1_1[_0x3947e5(0x1aa)]['decompressResponseBuffer'](Buffer[_0x3947e5(0x1db)](_0x399b81[_0x3947e5(0x1c1)],_0x3947e5(0x1c0)),_0x399b81[_0x3947e5(0x1a5)][_0x3947e5(0x1c6)])['toString']():_0x4dc64c=Buffer['from'](_0x399b81[_0x3947e5(0x1c1)],_0x3947e5(0x1c0))[_0x3947e5(0x1d2)](),JSON['parse'](_0x4dc64c['trim']());}catch(_0x1429b1){throw new CustomError_1[(_0x3947e5(0x1a7))]({'code':0xbbd,'message':_0x3947e5(0x1ca),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x2b50db){const _0x51193f=_0x55115e,_0x1c5cf7=await loadFileString(_0x2b50db['toString']());return JSON[_0x51193f(0x1d6)](_0x1c5cf7);}async function loadImageFromNet(_0x5b2b08){const _0x20e924=_0x55115e,_0x5f3321=await FetchUtils_1_1['fetchUtils'][_0x20e924(0x1c8)](_0x5b2b08,{'encoding':_0x20e924(0x1c0)});if(_0x5f3321[_0x20e924(0x1ad)]!==0xc8)throw new CustomError_1[(_0x20e924(0x1a7))]({'code':0x7d2,'message':_0x20e924(0x1b5)+_0x5f3321[_0x20e924(0x1ad)],'message_staring_params':{'icon_url':_0x5b2b08,'status':_0x5f3321[_0x20e924(0x1ad)]}});const _0x47cf4c=_0x5f3321[_0x20e924(0x1a5)]['get']?_0x5f3321[_0x20e924(0x1a5)]['get'](_0x20e924(0x1ce)):_0x5f3321[_0x20e924(0x1a5)][_0x20e924(0x1ce)];if(!(_0x47cf4c===null||_0x47cf4c===void 0x0?void 0x0:_0x47cf4c[_0x20e924(0x1da)](_0x20e924(0x1ba))))throw new CustomError_1[(_0x20e924(0x1a7))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x20e924(0x1a6)+_0x47cf4c+'\x22'),'message_staring_params':{'icon_url':_0x5b2b08,'contentType':_0x47cf4c}});let _0x59854d;_0x5f3321[_0x20e924(0x1be)]?_0x59854d=await _0x5f3321['arrayBuffer']():[_0x20e924(0x1d3),_0x20e924(0x1ab),'br'][_0x20e924(0x1cc)](_0x5f3321[_0x20e924(0x1a5)]['content-encoding'])?_0x59854d=FetchUtils_1_1[_0x20e924(0x1aa)][_0x20e924(0x1c3)](Buffer['from'](_0x5f3321[_0x20e924(0x1c1)],_0x20e924(0x1c0)),_0x5f3321['headers'][_0x20e924(0x1c6)]):_0x59854d=Buffer[_0x20e924(0x1db)](_0x5f3321[_0x20e924(0x1c1)],_0x20e924(0x1c0));if(_0x47cf4c[_0x20e924(0x1da)](_0x20e924(0x1af))){const _0x46a1c7=new TextDecoder();try{_0x59854d=await imageHelper_1[_0x20e924(0x1c9)][_0x20e924(0x1c7)](_0x46a1c7[_0x20e924(0x1d4)](_0x59854d));}catch(_0x16064b){throw new CustomError_1[(_0x20e924(0x1a7))]({'code':0x7d4,'message':_0x20e924(0x1cd)+_0x5b2b08+':\x20'+_0x16064b,'message_staring_params':{'icon_url':_0x5b2b08,'error':_0x16064b}});}}return _0x47cf4c['startsWith'](_0x20e924(0x1b4))&&(_0x59854d=await imageHelper_1[_0x20e924(0x1c9)][_0x20e924(0x1c2)](_0x59854d)),await Jimp[_0x20e924(0x1bc)](Buffer[_0x20e924(0x1db)](_0x59854d));}async function loadImageFromDisk(_0x9d2abf){return await Jimp['read'](_0x9d2abf);}async function loadFileString(_0x596fef){const _0xb76696=_0x55115e;let _0x375a7b=await fs[_0xb76696(0x1b1)]['readFile'](_0x596fef[_0xb76696(0x1d2)]());return _0x375a7b[_0xb76696(0x1d2)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x230998=_0x9aa0;(function(_0x11dfd8,_0x169488){var _0x2944de=_0x9aa0,_0x1938a9=_0x11dfd8();while(!![]){try{var _0x3e86c6=-parseInt(_0x2944de(0xf8))/0x1*(-parseInt(_0x2944de(0xf0))/0x2)+parseInt(_0x2944de(0xfa))/0x3*(parseInt(_0x2944de(0xf1))/0x4)+-parseInt(_0x2944de(0xf7))/0x5*(-parseInt(_0x2944de(0xee))/0x6)+parseInt(_0x2944de(0xec))/0x7*(parseInt(_0x2944de(0xea))/0x8)+parseInt(_0x2944de(0xef))/0x9*(parseInt(_0x2944de(0xed))/0xa)+-parseInt(_0x2944de(0xf2))/0xb+-parseInt(_0x2944de(0xf9))/0xc;if(_0x3e86c6===_0x169488)break;else _0x1938a9['push'](_0x1938a9['shift']());}catch(_0x1034da){_0x1938a9['push'](_0x1938a9['shift']());}}}(_0x4ca0,0xe931e));Object[_0x230998(0xf4)](exports,_0x230998(0xf6),{'value':!![]}),exports[_0x230998(0xeb)]=void 0x0;class CustomError extends Error{constructor(_0x4bdfa8,_0x306dce){var _0x22054f=_0x230998;super(JSON[_0x22054f(0xf3)](_0x4bdfa8)),this['customMessage']=_0x4bdfa8,this[_0x22054f(0xf5)]=_0x306dce||'info';}}function _0x4ca0(){var _0x211db6=['56326080DKLrHH','167298kiGbtB','40wqWWZw','CustomError','1183217NFpphi','6703290ILpoNq','1066050HTRzvt','9acAoar','1005968QOjzYJ','124IaDTit','9690186tMWHhH','stringify','defineProperty','type','__esModule','50RswJqf','3nSNygv'];_0x4ca0=function(){return _0x211db6;};return _0x4ca0();}function _0x9aa0(_0x11e77e,_0x5adecc){var _0x4ca093=_0x4ca0();return _0x9aa0=function(_0x9aa017,_0x35e513){_0x9aa017=_0x9aa017-0xea;var _0x4ae660=_0x4ca093[_0x9aa017];return _0x4ae660;},_0x9aa0(_0x11e77e,_0x5adecc);}exports['CustomError']=CustomError;
1
+ 'use strict';var _0x5b0730=_0xb57b;(function(_0x376da7,_0x362a82){var _0x4a236f=_0xb57b,_0x3c3a3d=_0x376da7();while(!![]){try{var _0x8a2968=parseInt(_0x4a236f(0x95))/0x1*(-parseInt(_0x4a236f(0x8b))/0x2)+-parseInt(_0x4a236f(0x91))/0x3*(-parseInt(_0x4a236f(0x8e))/0x4)+-parseInt(_0x4a236f(0x92))/0x5+-parseInt(_0x4a236f(0x8c))/0x6*(parseInt(_0x4a236f(0x98))/0x7)+parseInt(_0x4a236f(0x99))/0x8*(-parseInt(_0x4a236f(0x96))/0x9)+-parseInt(_0x4a236f(0x97))/0xa*(parseInt(_0x4a236f(0x8d))/0xb)+parseInt(_0x4a236f(0x8f))/0xc*(parseInt(_0x4a236f(0x90))/0xd);if(_0x8a2968===_0x362a82)break;else _0x3c3a3d['push'](_0x3c3a3d['shift']());}catch(_0x3876cb){_0x3c3a3d['push'](_0x3c3a3d['shift']());}}}(_0x43bd,0xd4ee9));Object[_0x5b0730(0x94)](exports,_0x5b0730(0x9b),{'value':!![]}),exports['CustomError']=void 0x0;function _0xb57b(_0x168db6,_0x507c2e){var _0x43bd08=_0x43bd();return _0xb57b=function(_0xb57b1,_0x119237){_0xb57b1=_0xb57b1-0x8b;var _0x5603dd=_0x43bd08[_0xb57b1];return _0x5603dd;},_0xb57b(_0x168db6,_0x507c2e);}class CustomError extends Error{constructor(_0x626bdd,_0x4f8101){var _0xeca3ce=_0x5b0730;super(JSON[_0xeca3ce(0x9c)](_0x626bdd)),this[_0xeca3ce(0x9a)]=_0x626bdd,this[_0xeca3ce(0x93)]=_0x4f8101||'info';}}exports['CustomError']=CustomError;function _0x43bd(){var _0x8aea31=['6316254bbkblE','20JxBoSs','21KipXqQ','8VUlrYM','customMessage','__esModule','stringify','2knwKwu','1659222BMmsdA','217701GscZCb','668bQbwHA','117612djrpsG','3523GWrjaH','26766tTyxDl','6212640hzGNSk','type','defineProperty','460349FPWipR'];_0x43bd=function(){return _0x8aea31;};return _0x43bd();}
@@ -1 +1 @@
1
- 'use strict';const _0x255140=_0x16c2;(function(_0x17bbc0,_0x4c08db){const _0x1e28d1=_0x16c2,_0x20b86a=_0x17bbc0();while(!![]){try{const _0x198f3d=parseInt(_0x1e28d1(0x181))/0x1*(-parseInt(_0x1e28d1(0x187))/0x2)+parseInt(_0x1e28d1(0x177))/0x3*(parseInt(_0x1e28d1(0x17b))/0x4)+-parseInt(_0x1e28d1(0x184))/0x5*(-parseInt(_0x1e28d1(0x185))/0x6)+-parseInt(_0x1e28d1(0x17a))/0x7*(parseInt(_0x1e28d1(0x183))/0x8)+-parseInt(_0x1e28d1(0x179))/0x9+parseInt(_0x1e28d1(0x17f))/0xa*(-parseInt(_0x1e28d1(0x182))/0xb)+-parseInt(_0x1e28d1(0x180))/0xc*(-parseInt(_0x1e28d1(0x173))/0xd);if(_0x198f3d===_0x4c08db)break;else _0x20b86a['push'](_0x20b86a['shift']());}catch(_0x47f7c5){_0x20b86a['push'](_0x20b86a['shift']());}}}(_0x4239,0x5b72b));function _0x4239(){const _0x38f8a5=['2qiPXWo','fetchEngine','defineProperty','9428835PTjUtr','fetch','__esModule','setFetchEngine','360024GLrypu','setDecompressResponseBuffer','6314508wnPQiQ','14gjIxSF','24tlQyKJ','fetchUtils','decompressResponseBuffer','downloadFile','104590lMOyTJ','12eapIjo','176201xykHqS','143wMmGsB','2847040hxKTjm','3273840Kneujp','6xqnjVb','setFetch'];_0x4239=function(){return _0x38f8a5;};return _0x4239();}Object[_0x255140(0x172)](exports,_0x255140(0x175),{'value':!![]}),exports[_0x255140(0x17c)]=void 0x0;class FetchUtils{constructor(){const _0x53b012=_0x255140;this[_0x53b012(0x188)]=null,this[_0x53b012(0x174)]=null,this[_0x53b012(0x17e)]=null,this[_0x53b012(0x17d)]=null;}[_0x255140(0x176)](_0x5b026f){const _0x4e29b7=_0x255140;this[_0x4e29b7(0x188)]=_0x5b026f;}[_0x255140(0x186)](_0x152ee1){this['fetch']=_0x152ee1;}['setDownloadFile'](_0x1dfe22){const _0x327c55=_0x255140;this[_0x327c55(0x17e)]=_0x1dfe22;}[_0x255140(0x178)](_0x12b2d7){const _0x3cded5=_0x255140;this[_0x3cded5(0x17d)]=_0x12b2d7;}}function _0x16c2(_0x19f636,_0x5cbf8b){const _0x4239aa=_0x4239();return _0x16c2=function(_0x16c27f,_0x3fdf30){_0x16c27f=_0x16c27f-0x172;let _0x1ba1a3=_0x4239aa[_0x16c27f];return _0x1ba1a3;},_0x16c2(_0x19f636,_0x5cbf8b);}const fetchUtils=new FetchUtils();exports[_0x255140(0x17c)]=fetchUtils;
1
+ 'use strict';function _0x3d31(_0x55d72b,_0x19369c){const _0x21dcb1=_0x21dc();return _0x3d31=function(_0x3d31cc,_0x4f2a1e){_0x3d31cc=_0x3d31cc-0x1a6;let _0x141b78=_0x21dcb1[_0x3d31cc];return _0x141b78;},_0x3d31(_0x55d72b,_0x19369c);}const _0x2a3fc5=_0x3d31;function _0x21dc(){const _0x44e146=['defineProperty','294fazKXP','fetchEngine','80CxOnuh','fetchUtils','802611KbIiae','3osfzHF','868677MrwvHE','__esModule','downloadFile','901659bcQNLz','fetch','setDecompressResponseBuffer','setFetch','setDownloadFile','83358HCzEzN','8qbqPLe','2472160DigFwm','60RiHlWg','67930PqCFBv','decompressResponseBuffer','158402rbiESv','setFetchEngine'];_0x21dc=function(){return _0x44e146;};return _0x21dc();}(function(_0x143dd9,_0x5ca9a7){const _0x314bb0=_0x3d31,_0x39449a=_0x143dd9();while(!![]){try{const _0x42413=-parseInt(_0x314bb0(0x1b1))/0x1*(parseInt(_0x314bb0(0x1a9))/0x2)+parseInt(_0x314bb0(0x1b2))/0x3+-parseInt(_0x314bb0(0x1ae))/0x4*(-parseInt(_0x314bb0(0x1a7))/0x5)+-parseInt(_0x314bb0(0x1ba))/0x6*(-parseInt(_0x314bb0(0x1ac))/0x7)+-parseInt(_0x314bb0(0x1bb))/0x8*(-parseInt(_0x314bb0(0x1b0))/0x9)+-parseInt(_0x314bb0(0x1bc))/0xa+parseInt(_0x314bb0(0x1b5))/0xb*(-parseInt(_0x314bb0(0x1a6))/0xc);if(_0x42413===_0x5ca9a7)break;else _0x39449a['push'](_0x39449a['shift']());}catch(_0x161e0e){_0x39449a['push'](_0x39449a['shift']());}}}(_0x21dc,0x52d64));Object[_0x2a3fc5(0x1ab)](exports,_0x2a3fc5(0x1b3),{'value':!![]}),exports[_0x2a3fc5(0x1af)]=void 0x0;class FetchUtils{constructor(){const _0x2f36fa=_0x2a3fc5;this[_0x2f36fa(0x1ad)]=null,this[_0x2f36fa(0x1b6)]=null,this[_0x2f36fa(0x1b4)]=null,this[_0x2f36fa(0x1a8)]=null;}[_0x2a3fc5(0x1aa)](_0x33a7f8){const _0x81675a=_0x2a3fc5;this[_0x81675a(0x1ad)]=_0x33a7f8;}[_0x2a3fc5(0x1b8)](_0xadf963){const _0x40db7a=_0x2a3fc5;this[_0x40db7a(0x1b6)]=_0xadf963;}[_0x2a3fc5(0x1b9)](_0x1d99ce){const _0x4534f4=_0x2a3fc5;this[_0x4534f4(0x1b4)]=_0x1d99ce;}[_0x2a3fc5(0x1b7)](_0x395f1e){const _0x3a3c59=_0x2a3fc5;this[_0x3a3c59(0x1a8)]=_0x395f1e;}}const fetchUtils=new FetchUtils();exports[_0x2a3fc5(0x1af)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x1c207f=_0xa97b;function _0xa97b(_0x10018c,_0x35ce6f){var _0x2bafe0=_0x2baf();return _0xa97b=function(_0xa97bbf,_0x2317ab){_0xa97bbf=_0xa97bbf-0x18f;var _0x2c4b22=_0x2bafe0[_0xa97bbf];return _0x2c4b22;},_0xa97b(_0x10018c,_0x35ce6f);}(function(_0x4a9fff,_0x3d9bfe){var _0x434b64=_0xa97b,_0x4bea18=_0x4a9fff();while(!![]){try{var _0x580cc1=-parseInt(_0x434b64(0x19c))/0x1+parseInt(_0x434b64(0x1a9))/0x2*(parseInt(_0x434b64(0x1aa))/0x3)+parseInt(_0x434b64(0x199))/0x4+-parseInt(_0x434b64(0x19a))/0x5+parseInt(_0x434b64(0x193))/0x6*(parseInt(_0x434b64(0x1ad))/0x7)+parseInt(_0x434b64(0x194))/0x8*(-parseInt(_0x434b64(0x19b))/0x9)+parseInt(_0x434b64(0x190))/0xa*(parseInt(_0x434b64(0x19f))/0xb);if(_0x580cc1===_0x3d9bfe)break;else _0x4bea18['push'](_0x4bea18['shift']());}catch(_0x114af3){_0x4bea18['push'](_0x4bea18['shift']());}}}(_0x2baf,0xdffcd));Object[_0x1c207f(0x18f)](exports,_0x1c207f(0x195),{'value':!![]}),exports[_0x1c207f(0x1a2)]=void 0x0;class ConsoleLog{constructor(_0x118b8d='',_0x453e5c=![],_0x1dd7b1=console){var _0x3ae9e2=_0x1c207f;this['tag']=_0x118b8d,this['verbose']=_0x453e5c,this[_0x3ae9e2(0x1b0)]=this[_0x3ae9e2(0x1a4)](_0x118b8d),this['output']=_0x1dd7b1;}['debug'](_0x29f0e9,..._0x2d1a30){var _0x59e2f9=_0x1c207f;if(!this[_0x59e2f9(0x1ae)])return;this['log'](this[_0x59e2f9(0x191)][_0x59e2f9(0x1af)],this[_0x59e2f9(0x1a8)](_0x29f0e9),..._0x2d1a30);}['info'](_0x3136ed,..._0x11972a){var _0x285c5=_0x1c207f;this[_0x285c5(0x1af)](this[_0x285c5(0x191)][_0x285c5(0x1af)],_0x3136ed,..._0x11972a);}[_0x1c207f(0x1a1)](_0x557078,..._0x208ce6){var _0xb98642=_0x1c207f;this[_0xb98642(0x1af)](this[_0xb98642(0x191)]['warn'],this['yellow'](_0xb98642(0x1a6)+_0x557078),..._0x208ce6);}[_0x1c207f(0x198)](_0x20f9bd,..._0x2d5c76){var _0x32a146=_0x1c207f;this[_0x32a146(0x191)][_0x32a146(0x198)]('\x0a'),this[_0x32a146(0x1af)](this[_0x32a146(0x191)]['error'],this[_0x32a146(0x1ab)](_0x32a146(0x1a5)+_0x20f9bd),..._0x2d5c76),this['output'][_0x32a146(0x198)]('\x0a');}['setVerbose'](_0x13d272){this['verbose']=_0x13d272;}[_0x1c207f(0x197)](_0x53a2f3){var _0x5a29c8=_0x1c207f;return this[_0x5a29c8(0x1a7)]&&(_0x53a2f3=this['tag']+'\x20'+_0x53a2f3),new ConsoleLog(_0x53a2f3,this[_0x5a29c8(0x1ae)],this[_0x5a29c8(0x191)]);}[_0x1c207f(0x1af)](_0x4ebb64,_0x205d94,..._0x40376e){var _0x5b5cce=_0x1c207f;this['prefix']&&(_0x205d94=this[_0x5b5cce(0x1b0)]+'\x20'+_0x205d94),_0x40376e?_0x4ebb64(...[_0x205d94][_0x5b5cce(0x1a0)](_0x40376e)):_0x4ebb64(_0x205d94);}['inverse'](_0x45864b){var _0x2d3f8e=_0x1c207f;return _0x2d3f8e(0x19d)+_0x45864b+_0x2d3f8e(0x192);}[_0x1c207f(0x1a8)](_0x2b072c){var _0x280e9c=_0x1c207f;return _0x280e9c(0x1ac)+_0x2b072c+'\x1b[0m';}[_0x1c207f(0x19e)](_0x43126c){var _0x493ced=_0x1c207f;return _0x493ced(0x1a3)+_0x43126c+_0x493ced(0x192);}['red'](_0x14793d){var _0x381db3=_0x1c207f;return _0x381db3(0x196)+_0x14793d+_0x381db3(0x192);}}function _0x2baf(){var _0x378496=['\x1b[0m','5874YdnJhz','33192EhzCyv','__esModule','\x1b[31m','newLog','error','4457916ZDeZHe','3526215uwFvIF','72rBrLCB','1601930eMZyIy','\x1b[7m','yellow','77gkDqnB','concat','warn','ConsoleLog','\x1b[33m','inverse','ERROR\x20','WARNING\x20','tag','dim','22114QXTFGE','165lpVAFm','red','\x1b[36m','3633ePyAcJ','verbose','log','prefix','defineProperty','1467290TiMBCg','output'];_0x2baf=function(){return _0x378496;};return _0x2baf();}exports[_0x1c207f(0x1a2)]=ConsoleLog;
1
+ 'use strict';var _0x5a2aa9=_0x2a8b;(function(_0x1a3282,_0x1251c3){var _0x3f3011=_0x2a8b,_0x3154d8=_0x1a3282();while(!![]){try{var _0x3a7c95=-parseInt(_0x3f3011(0xed))/0x1*(parseInt(_0x3f3011(0xe3))/0x2)+-parseInt(_0x3f3011(0xfc))/0x3*(-parseInt(_0x3f3011(0xf1))/0x4)+parseInt(_0x3f3011(0xf3))/0x5+parseInt(_0x3f3011(0xef))/0x6+-parseInt(_0x3f3011(0xfb))/0x7*(-parseInt(_0x3f3011(0xf6))/0x8)+-parseInt(_0x3f3011(0xeb))/0x9+-parseInt(_0x3f3011(0xe7))/0xa;if(_0x3a7c95===_0x1251c3)break;else _0x3154d8['push'](_0x3154d8['shift']());}catch(_0xc319cc){_0x3154d8['push'](_0x3154d8['shift']());}}}(_0x26b1,0xd1e0e));function _0x2a8b(_0xb0519d,_0x4aecbf){var _0x26b11c=_0x26b1();return _0x2a8b=function(_0x2a8bab,_0x3091e4){_0x2a8bab=_0x2a8bab-0xdd;var _0x16df88=_0x26b11c[_0x2a8bab];return _0x16df88;},_0x2a8b(_0xb0519d,_0x4aecbf);}Object['defineProperty'](exports,_0x5a2aa9(0xde),{'value':!![]}),exports[_0x5a2aa9(0xdf)]=void 0x0;class ConsoleLog{constructor(_0x46dac1='',_0x46a03a=![],_0x36249e=console){var _0x3d41a3=_0x5a2aa9;this[_0x3d41a3(0xf7)]=_0x46dac1,this[_0x3d41a3(0xea)]=_0x46a03a,this[_0x3d41a3(0xe4)]=this[_0x3d41a3(0xdd)](_0x46dac1),this[_0x3d41a3(0xe6)]=_0x36249e;}['debug'](_0x1f5c8d,..._0x5ed615){var _0x7e81f4=_0x5a2aa9;if(!this['verbose'])return;this[_0x7e81f4(0xee)](this['output'][_0x7e81f4(0xee)],this['dim'](_0x1f5c8d),..._0x5ed615);}['info'](_0x10228a,..._0x19c6ca){var _0x5c1321=_0x5a2aa9;this[_0x5c1321(0xee)](this[_0x5c1321(0xe6)][_0x5c1321(0xee)],_0x10228a,..._0x19c6ca);}[_0x5a2aa9(0xe9)](_0x285af6,..._0x25bb0d){var _0x3005ba=_0x5a2aa9;this[_0x3005ba(0xee)](this[_0x3005ba(0xe6)][_0x3005ba(0xe9)],this[_0x3005ba(0xe2)](_0x3005ba(0xf0)+_0x285af6),..._0x25bb0d);}[_0x5a2aa9(0xf2)](_0x49a849,..._0x161e56){var _0x102de6=_0x5a2aa9;this[_0x102de6(0xe6)][_0x102de6(0xf2)]('\x0a'),this[_0x102de6(0xee)](this[_0x102de6(0xe6)][_0x102de6(0xf2)],this[_0x102de6(0xf9)](_0x102de6(0xf8)+_0x49a849),..._0x161e56),this[_0x102de6(0xe6)][_0x102de6(0xf2)]('\x0a');}[_0x5a2aa9(0xe0)](_0x338ca1){var _0x19c946=_0x5a2aa9;this[_0x19c946(0xea)]=_0x338ca1;}[_0x5a2aa9(0xe8)](_0x43cfb8){var _0x2533b0=_0x5a2aa9;return this[_0x2533b0(0xf7)]&&(_0x43cfb8=this[_0x2533b0(0xf7)]+'\x20'+_0x43cfb8),new ConsoleLog(_0x43cfb8,this[_0x2533b0(0xea)],this[_0x2533b0(0xe6)]);}[_0x5a2aa9(0xee)](_0x3ac146,_0x57387f,..._0x37d90f){var _0x333d4c=_0x5a2aa9;this[_0x333d4c(0xe4)]&&(_0x57387f=this[_0x333d4c(0xe4)]+'\x20'+_0x57387f),_0x37d90f?_0x3ac146(...[_0x57387f][_0x333d4c(0xf4)](_0x37d90f)):_0x3ac146(_0x57387f);}['inverse'](_0x5a8f10){var _0x4b0216=_0x5a2aa9;return _0x4b0216(0xe5)+_0x5a8f10+'\x1b[0m';}['dim'](_0x2d034b){var _0x5b8d98=_0x5a2aa9;return _0x5b8d98(0xec)+_0x2d034b+_0x5b8d98(0xe1);}[_0x5a2aa9(0xe2)](_0x581863){var _0x4aadae=_0x5a2aa9;return _0x4aadae(0xfa)+_0x581863+_0x4aadae(0xe1);}[_0x5a2aa9(0xf9)](_0x373e2b){var _0x1d9f10=_0x5a2aa9;return _0x1d9f10(0xf5)+_0x373e2b+_0x1d9f10(0xe1);}}function _0x26b1(){var _0x1b7793=['40AFDBKN','error','8276870DXqdJu','concat','\x1b[31m','14128LECMVs','tag','ERROR\x20','red','\x1b[33m','4235lalzbx','195LUtZTH','inverse','__esModule','ConsoleLog','setVerbose','\x1b[0m','yellow','2VgyvKR','prefix','\x1b[7m','output','9260550paYZog','newLog','warn','verbose','5977809jwcFAH','\x1b[36m','716051SmnNCJ','log','2649090HQoCaC','WARNING\x20'];_0x26b1=function(){return _0x1b7793;};return _0x26b1();}exports['ConsoleLog']=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x536c09=_0x390d;(function(_0x446ed3,_0x98cd67){const _0x7d993d=_0x390d,_0x224671=_0x446ed3();while(!![]){try{const _0x3f5b3a=parseInt(_0x7d993d(0xaa))/0x1*(parseInt(_0x7d993d(0x98))/0x2)+parseInt(_0x7d993d(0xa6))/0x3+parseInt(_0x7d993d(0x9a))/0x4*(-parseInt(_0x7d993d(0xab))/0x5)+-parseInt(_0x7d993d(0x99))/0x6+parseInt(_0x7d993d(0x91))/0x7*(-parseInt(_0x7d993d(0x8e))/0x8)+-parseInt(_0x7d993d(0x96))/0x9*(-parseInt(_0x7d993d(0xad))/0xa)+-parseInt(_0x7d993d(0xaf))/0xb;if(_0x3f5b3a===_0x98cd67)break;else _0x224671['push'](_0x224671['shift']());}catch(_0x543c8f){_0x224671['push'](_0x224671['shift']());}}}(_0x40e9,0x85844));Object[_0x536c09(0xae)](exports,_0x536c09(0xac),{'value':!![]}),exports[_0x536c09(0xa4)]=fetch,exports[_0x536c09(0x93)]=downloadFile,exports[_0x536c09(0xa5)]=decompressResponseBuffer;const fetch_h2_1=require(_0x536c09(0x92)),fs=require('fs'),zlib=require(_0x536c09(0x9e)),userAgent=_0x536c09(0x97),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x536c09(0xa4)];async function fetch(_0x82b0a8,_0x5caa52){const _0x6bebde=_0x536c09;return await fetchh2(_0x82b0a8,_0x5caa52?{'redirect':_0x6bebde(0x95),..._0x5caa52}:{'redirect':_0x6bebde(0x95)});}async function downloadFile(_0x429391,_0x55ec13,_0x2ac8be){const _0x524225=_0x536c09;let _0x5dec78,_0x445fb4;_0x5dec78=await fetchh2(_0x429391,{'redirect':'follow'}),_0x445fb4=await _0x5dec78[_0x524225(0x9c)]();const _0x25f0a1=_0x5dec78[_0x524225(0xa3)][_0x524225(0x94)](_0x524225(0xa7)),_0x4e8844=_0x25f0a1?parseInt(_0x25f0a1):-0x1,_0x105f63=fs[_0x524225(0x8f)](_0x55ec13);let _0x616a6e=0x0;await new Promise((_0x259232,_0x1d632b)=>{const _0x488477=_0x524225;_0x445fb4[_0x488477(0xa0)](_0x105f63),_0x2ac8be&&_0x445fb4['on'](_0x488477(0x90),_0x533ad8=>{const _0x199f22=_0x488477;_0x616a6e=_0x616a6e+_0x533ad8[_0x199f22(0xa1)],_0x2ac8be(_0x616a6e,_0x4e8844);}),_0x445fb4['on'](_0x488477(0x9d),_0x50acc9=>{_0x1d632b(_0x50acc9);}),_0x105f63['on'](_0x488477(0x9b),()=>{_0x259232();});});}function _0x40e9(){const _0xa3cb5d=['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','54MMPsQe','2597604GeIFbD','4bKwdVW','finish','readable','error','zlib','brotliDecompressSync','pipe','length','constants','headers','fetch','decompressResponseBuffer','1733079EimBnu','Content-Length','test','Z_SYNC_FLUSH','38705cVIgSK','3249255yqgKaR','__esModule','8400aqzqsR','defineProperty','5664967ETsKor','8dhUWNf','createWriteStream','data','2144114Awggaf','fetch-h2','downloadFile','get','follow','8874GCwXFP'];_0x40e9=function(){return _0xa3cb5d;};return _0x40e9();}function _0x390d(_0x2cf673,_0x14caa4){const _0x40e95d=_0x40e9();return _0x390d=function(_0x390dca,_0x49fbfd){_0x390dca=_0x390dca-0x8e;let _0x11178a=_0x40e95d[_0x390dca];return _0x11178a;},_0x390d(_0x2cf673,_0x14caa4);}function decompressResponseBuffer(_0x5cdcfd,_0xe98974){const _0x4157d2=_0x536c09;let _0x2f4f93=_0x5cdcfd;if(/\bgzip\b/[_0x4157d2(0xa8)](_0xe98974)||/\bdeflate\b/[_0x4157d2(0xa8)](_0xe98974))_0x2f4f93=zlib['unzipSync'](_0x5cdcfd,{'flush':zlib[_0x4157d2(0xa2)]['Z_SYNC_FLUSH'],'finishFlush':zlib[_0x4157d2(0xa2)][_0x4157d2(0xa9)]});else/\bbr\b/[_0x4157d2(0xa8)](_0xe98974)&&(_0x2f4f93=zlib[_0x4157d2(0x9f)](_0x5cdcfd));return _0x2f4f93;}
1
+ 'use strict';const _0x6af55b=_0x2209;function _0x426d(){const _0x58880f=['532636TyKaqw','fetch','brotliDecompressSync','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','Z_SYNC_FLUSH','3plelmE','4870xzIzMh','9JzBeHn','downloadFile','defineProperty','1745730fEqcmb','follow','readable','fetch-h2','headers','__esModule','unzipSync','constants','context','length','601060mGtihs','169096fSSlwJ','error','161714qTstNL','177798mOkZKV','zlib','test','Content-Length','49JqodvF'];_0x426d=function(){return _0x58880f;};return _0x426d();}(function(_0x3dccac,_0x3e8e97){const _0x2a1378=_0x2209,_0x6fd7e8=_0x3dccac();while(!![]){try{const _0x2332fe=-parseInt(_0x2a1378(0x1cc))/0x1+-parseInt(_0x2a1378(0x1d8))/0x2+parseInt(_0x2a1378(0x1d7))/0x3*(parseInt(_0x2a1378(0x1d2))/0x4)+parseInt(_0x2a1378(0x1c9))/0x5+-parseInt(_0x2a1378(0x1cd))/0x6*(-parseInt(_0x2a1378(0x1d1))/0x7)+parseInt(_0x2a1378(0x1ca))/0x8*(parseInt(_0x2a1378(0x1d9))/0x9)+-parseInt(_0x2a1378(0x1dc))/0xa;if(_0x2332fe===_0x3e8e97)break;else _0x6fd7e8['push'](_0x6fd7e8['shift']());}catch(_0x348e0b){_0x6fd7e8['push'](_0x6fd7e8['shift']());}}}(_0x426d,0x22f71));Object[_0x6af55b(0x1db)](exports,_0x6af55b(0x1e1),{'value':!![]}),exports[_0x6af55b(0x1d3)]=fetch,exports[_0x6af55b(0x1da)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;function _0x2209(_0x159baf,_0x4ee2a4){const _0x426d71=_0x426d();return _0x2209=function(_0x220994,_0x300ea4){_0x220994=_0x220994-0x1c5;let _0xee058d=_0x426d71[_0x220994];return _0xee058d;},_0x2209(_0x159baf,_0x4ee2a4);}const fetch_h2_1=require(_0x6af55b(0x1df)),fs=require('fs'),zlib=require(_0x6af55b(0x1ce)),userAgent=_0x6af55b(0x1d5),fetchh2Ctx=(0x0,fetch_h2_1[_0x6af55b(0x1c7)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x6af55b(0x1d3)];async function fetch(_0x2569f6,_0x554ede){const _0x5b6544=_0x6af55b;return await fetchh2(_0x2569f6,_0x554ede?{'redirect':'follow',..._0x554ede}:{'redirect':_0x5b6544(0x1dd)});}async function downloadFile(_0x257b54,_0x36ef74,_0x2c61b4){const _0x3da96b=_0x6af55b;let _0x9e3422,_0x2a1d8d;_0x9e3422=await fetchh2(_0x257b54,{'redirect':'follow'}),_0x2a1d8d=await _0x9e3422[_0x3da96b(0x1de)]();const _0x3527bb=_0x9e3422[_0x3da96b(0x1e0)]['get'](_0x3da96b(0x1d0)),_0x331193=_0x3527bb?parseInt(_0x3527bb):-0x1,_0x46d121=fs['createWriteStream'](_0x36ef74);let _0x537b49=0x0;await new Promise((_0x58bea1,_0x4b5f15)=>{const _0x498548=_0x3da96b;_0x2a1d8d['pipe'](_0x46d121),_0x2c61b4&&_0x2a1d8d['on']('data',_0x177cd1=>{const _0x27c015=_0x2209;_0x537b49=_0x537b49+_0x177cd1[_0x27c015(0x1c8)],_0x2c61b4(_0x537b49,_0x331193);}),_0x2a1d8d['on'](_0x498548(0x1cb),_0x24d3e9=>{_0x4b5f15(_0x24d3e9);}),_0x46d121['on']('finish',()=>{_0x58bea1();});});}function decompressResponseBuffer(_0x584182,_0x4c6956){const _0x1e8a21=_0x6af55b;let _0x5e9186=_0x584182;if(/\bgzip\b/[_0x1e8a21(0x1cf)](_0x4c6956)||/\bdeflate\b/['test'](_0x4c6956))_0x5e9186=zlib[_0x1e8a21(0x1c5)](_0x584182,{'flush':zlib['constants'][_0x1e8a21(0x1d6)],'finishFlush':zlib[_0x1e8a21(0x1c6)][_0x1e8a21(0x1d6)]});else/\bbr\b/[_0x1e8a21(0x1cf)](_0x4c6956)&&(_0x5e9186=zlib[_0x1e8a21(0x1d4)](_0x584182));return _0x5e9186;}
@@ -1 +1 @@
1
- 'use strict';const _0x392412=_0x1a8c;(function(_0x588bd4,_0x27095f){const _0x1a9404=_0x1a8c,_0x1b7868=_0x588bd4();while(!![]){try{const _0x3d8ec3=parseInt(_0x1a9404(0x1f1))/0x1*(-parseInt(_0x1a9404(0x1d2))/0x2)+-parseInt(_0x1a9404(0x1ec))/0x3+-parseInt(_0x1a9404(0x1fc))/0x4*(parseInt(_0x1a9404(0x200))/0x5)+parseInt(_0x1a9404(0x1d1))/0x6+-parseInt(_0x1a9404(0x1d0))/0x7*(-parseInt(_0x1a9404(0x1d4))/0x8)+-parseInt(_0x1a9404(0x1f4))/0x9+parseInt(_0x1a9404(0x1fa))/0xa;if(_0x3d8ec3===_0x27095f)break;else _0x1b7868['push'](_0x1b7868['shift']());}catch(_0x4dd586){_0x1b7868['push'](_0x1b7868['shift']());}}}(_0x3bfd,0xa0f61));Object[_0x392412(0x1c9)](exports,_0x392412(0x1f8),{'value':!![]}),exports[_0x392412(0x1e6)]=void 0x0;function _0x1a8c(_0x481472,_0x50c4de){const _0x3bfd9d=_0x3bfd();return _0x1a8c=function(_0x1a8cd3,_0x7a06a6){_0x1a8cd3=_0x1a8cd3-0x1c8;let _0x2767e2=_0x3bfd9d[_0x1a8cd3];return _0x2767e2;},_0x1a8c(_0x481472,_0x50c4de);}function _0x3bfd(){const _0x45e64f=['Invalid\x20URL:\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','Downloading\x20the\x20JDK\x2011\x20Sources...','--url','redirected\x20to\x20','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','defineProperty','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x0aBuilding\x20the\x20Android\x20App...','Password\x20for\x20the\x20Key:','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x0aSigning\x20key\x20information\x20','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','4906643rINlQn','5569248ZeqFfj','4tDoENi','URL\x20','8krAVYj','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','\x0aSigning\x20key\x20creation','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Icon\x20URL:','\x20Check\x20out\x20the\x20Play\x20for','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','green','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Downloading\x20Android\x20SDK\x20to\x20','\x22.\x0a','\x20but\x20input\x20is\x20','cyan','Country\x20(2\x20letter\x20code):','license\x20agreement.','bold','--manifest','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','messages','Decompressing\x20the\x20JDK\x2011\x20Binaries...','\x20URL\x20','Password\x20for\x20the\x20Key\x20Store:','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Downloading\x20the\x20JDK\x2011\x20Binaries...','1490520cFuxGz','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Missing\x20required\x20parameter\x20','https://play.google.com/console/about/families/','\x09-\x20Generated\x20Android\x20APK\x20at\x20','385694sXYGjq','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Generating\x20Android\x20Project.','2466450KaULFh','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','https://developer.android.com/studio/terms.html','__esModule','colors','17349020ROERPb','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','8ASzdXo','Minimum\x20length\x20is\x20','underline','\x20can\x20not\x20be\x20accessible.','2906210wPtEWH'];_0x3bfd=function(){return _0x45e64f;};return _0x3bfd();}const colors_1=require(_0x392412(0x1f9));exports[_0x392412(0x1e6)]={'promptInstallJdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','promptJdkPath':_0x392412(0x202),'messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':_0x392412(0x203),'messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x392412(0x1eb),'messageDecompressJdkBin':_0x392412(0x1e7),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x392412(0x1dd),'errorSdkTerms':_0x392412(0x1d7),'promptSdkTerms':_0x392412(0x1f5)+(0x0,colors_1[_0x392412(0x1fe)])(_0x392412(0x1f7))+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x392412(0x1e5)+_0x392412(0x1e2),'messageGeneratingAndroidProject':_0x392412(0x1f3),'messageCheckSuccess':(_0x45a96c,_0x363e58)=>{const _0x55e621=_0x392412;return _0x55e621(0x1e8)+(0x0,colors_1[_0x55e621(0x1e0)])(_0x45a96c)+'\x20'+(_0x363e58?_0x55e621(0x205)+(0x0,colors_1['cyan'])(_0x363e58):'')+_0x55e621(0x1cd);},'errorMissingManifestParameter':_0x392412(0x1ee)+((0x0,colors_1['cyan'])('--manifest-url')+'\x20or\x20'+(0x0,colors_1['cyan'])(_0x392412(0x1e4))),'messageInitializingWebManifest':_0x3b3db8=>{const _0x5580dd=_0x392412;return _0x5580dd(0x1f6)+(0x0,colors_1['cyan'])(_0x3b3db8);},'messageInitializingLocalManifest':_0x3e5de0=>{const _0x2af708=_0x392412;return _0x2af708(0x1c8)+(0x0,colors_1['cyan'])(_0x3e5de0);},'messageInvalidIcon':_0x2d4ceb=>{const _0x185101=_0x392412;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x185101(0x1e0)])(_0x2d4ceb);},'errorStartUrlNotReachable':_0x518b34=>_0x392412(0x1d3)+_0x518b34+_0x392412(0x1ff)+_0x392412(0x1ea),'warnFamilyPolicy':(0x0,colors_1[_0x392412(0x1e3)])((0x0,colors_1['yellow'])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0x392412(0x1d5)+_0x392412(0x1d9)+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1['cyan'])(_0x392412(0x1ef)),'promptIconUrl':_0x392412(0x1d8),'errorInvalidUrl':_0x17537c=>{const _0x3540f1=_0x392412;return _0x3540f1(0x201)+_0x17537c;},'errorUrlMustBeImage':_0x572f14=>{const _0xa90f73=_0x392412;return _0xa90f73(0x1dc)+_0x572f14+'.';},'promptVersionCode':_0x392412(0x1ca),'promptVersionName':_0x392412(0x1cf),'messageSigningKeyInformation':(0x0,colors_1[_0x392412(0x1fe)])(_0x392412(0x1ce)+(0x0,colors_1[_0x392412(0x1db)])('(5/5)')),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x392412(0x1fe)])(_0x392412(0x1d6)),'messageSigningKeyNotFound':_0x5727b5=>{const _0x48a5f6=_0x392412;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x5727b5+_0x48a5f6(0x1de);},'promptCreateKey':_0x392412(0x1ed),'promptKeyFullName':_0x392412(0x1f2),'promptKeyOrganizationalUnit':_0x392412(0x1da),'promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x392412(0x1e1),'promptKeystorePassword':_0x392412(0x1e9),'promptKeyPassword':_0x392412(0x1cc),'messageBuildingApp':_0x392412(0x1cb),'messageEnterPasswords':(_0x527320,_0x514895)=>{const _0x474169=_0x392412;return _0x474169(0x1fb)+(0x0,colors_1[_0x474169(0x1e0)])(_0x527320)+'\x20and\x20alias\x20'+(0x0,colors_1['cyan'])(_0x514895)+'.\x0a';},'errorMinLength':(_0xed0a51,_0x15aa1c)=>{const _0xeb7f33=_0x392412;return _0xeb7f33(0x1fd)+_0xed0a51+_0xeb7f33(0x1df)+_0x15aa1c+'.';},'errorMaxLength':(_0x4687f1,_0x3b273b)=>{return'Maximum\x20length\x20is\x20'+_0x4687f1+'\x20but\x20input\x20is\x20'+_0x3b273b+'.';},'errorInvalidInteger':_0xadb1e0=>{return'Invalid\x20integer\x20provided:\x20'+_0xadb1e0;},'messageApkSuccess':_0x472f3d=>{const _0x1c3f79=_0x392412;return _0x1c3f79(0x1f0)+(0x0,colors_1['cyan'])(_0x472f3d);},'missingUrlToCheck':_0x392412(0x1ee)+(''+(0x0,colors_1[_0x392412(0x1e0)])(_0x392412(0x204)))};
1
+ 'use strict';function _0x98cf(_0x3857b9,_0x32e96d){const _0x140393=_0x1403();return _0x98cf=function(_0x98cf12,_0x316558){_0x98cf12=_0x98cf12-0xe3;let _0x484c83=_0x140393[_0x98cf12];return _0x484c83;},_0x98cf(_0x3857b9,_0x32e96d);}function _0x1403(){const _0x34bef8=['Password\x20for\x20the\x20Key:','Downloading\x20the\x20JDK\x2011\x20Sources...','2406886DJGOml','--url','\x22.\x0a','\x0aSigning\x20key\x20information\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Decompressing\x20the\x20Android\x20SDK...','Organization\x20(eg:\x20Company\x20Name):','11982400HcbSrQ','redirected\x20to\x20','Maximum\x20length\x20is\x20','Downloading\x20JDK\x2011\x20to\x20','--manifest','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','green','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','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)','Invalid\x20integer\x20provided:\x20','Invalid\x20URL:\x20','Downloading\x20the\x20Android\x20SDK...','colors','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','URL\x20','Downloading\x20the\x20JDK\x2011\x20Binaries...','yellow','Missing\x20required\x20parameter\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','1260981CwhrAg','62598aEQwWi','__esModule','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Decompressing\x20the\x20JDK\x2011\x20Binaries...','329984vPIHFe','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','45NBJBjR','\x20but\x20input\x20is\x20','messages','Password\x20for\x20the\x20Key\x20Store:','1pULcWO','Decompressing\x20the\x20JDK\x2011\x20Sources...','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','\x0aProject\x20generated\x20successfully.','(5/5)','77076CwPdqg','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x20and\x20alias\x20','\x20or\x20','Minimum\x20length\x20is\x20','\x20can\x20not\x20be\x20accessible.','WARNING:\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','underline','defineProperty','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)','119jwJPve','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x20URL\x20','\x0aBuilding\x20the\x20Android\x20App...','license\x20agreement.','cyan','Downloading\x20Android\x20SDK\x20to\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Invalid\x20icon\x20path:\x20','\x09-\x20Generated\x20Android\x20APK\x20at\x20','6856690iNGpYC','--manifest-url','\x20Check\x20out\x20the\x20Play\x20for','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'];_0x1403=function(){return _0x34bef8;};return _0x1403();}const _0x3947af=_0x98cf;(function(_0x1acf22,_0x55e509){const _0x52a2fe=_0x98cf,_0x26f9b5=_0x1acf22();while(!![]){try{const _0x5b5bde=-parseInt(_0x52a2fe(0xf5))/0x1*(parseInt(_0x52a2fe(0x116))/0x2)+-parseInt(_0x52a2fe(0xea))/0x3+-parseInt(_0x52a2fe(0xfa))/0x4+parseInt(_0x52a2fe(0x110))/0x5+parseInt(_0x52a2fe(0xeb))/0x6*(parseInt(_0x52a2fe(0x106))/0x7)+parseInt(_0x52a2fe(0xef))/0x8*(-parseInt(_0x52a2fe(0xf1))/0x9)+parseInt(_0x52a2fe(0x11d))/0xa;if(_0x5b5bde===_0x55e509)break;else _0x26f9b5['push'](_0x26f9b5['shift']());}catch(_0xf1b256){_0x26f9b5['push'](_0x26f9b5['shift']());}}}(_0x1403,0xdb27c));Object[_0x3947af(0x104)](exports,_0x3947af(0xec),{'value':!![]}),exports[_0x3947af(0xf3)]=void 0x0;const colors_1=require(_0x3947af(0xe3));exports[_0x3947af(0xf3)]={'promptInstallJdk':_0x3947af(0x125),'promptJdkPath':_0x3947af(0x107),'messageDownloadJdk':_0x3947af(0x120),'messageDownloadJdkSrc':_0x3947af(0x115),'messageDecompressJdkSrc':_0x3947af(0xf6),'messageDownloadJdkBin':_0x3947af(0xe6),'messageDecompressJdkBin':_0x3947af(0xee),'promptInstallSdk':_0x3947af(0x105),'promptSdkPath':_0x3947af(0xfb),'messageDownloadSdk':_0x3947af(0x10c),'errorSdkTerms':_0x3947af(0x124),'promptSdkTerms':_0x3947af(0x122)+(0x0,colors_1[_0x3947af(0x103)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':_0x3947af(0x128),'messageDecompressAndroidSdk':_0x3947af(0x11b),'messageInstallingBuildTools':_0x3947af(0xf0)+_0x3947af(0x10a),'messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x2b41e9,_0x3fca33)=>{const _0x39a394=_0x3947af;return _0x39a394(0x108)+(0x0,colors_1[_0x39a394(0x10b)])(_0x2b41e9)+'\x20'+(_0x3fca33?_0x39a394(0x11e)+(0x0,colors_1[_0x39a394(0x10b)])(_0x3fca33):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x3947af(0xe8)+((0x0,colors_1[_0x3947af(0x10b)])(_0x3947af(0x111))+_0x3947af(0xfe)+(0x0,colors_1[_0x3947af(0x10b)])(_0x3947af(0x121))),'messageInitializingWebManifest':_0x51d3b8=>{const _0xce4d40=_0x3947af;return _0xce4d40(0xe9)+(0x0,colors_1['cyan'])(_0x51d3b8);},'messageInitializingLocalManifest':_0x56013a=>{const _0x47cbce=_0x3947af;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x47cbce(0x10b)])(_0x56013a);},'messageInvalidIcon':_0x529862=>{const _0x2b0c0f=_0x3947af;return _0x2b0c0f(0x10e)+(0x0,colors_1[_0x2b0c0f(0x10b)])(_0x529862);},'errorStartUrlNotReachable':_0x4d4a0e=>_0x3947af(0xe5)+_0x4d4a0e+_0x3947af(0x100)+_0x3947af(0xed),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1[_0x3947af(0xe7)])(_0x3947af(0x101)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0x3947af(0x10d)+_0x3947af(0x112)+_0x3947af(0x102)+(0x0,colors_1['cyan'])('https://play.google.com/console/about/families/'),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x525bde=>{const _0x26295e=_0x3947af;return _0x26295e(0x127)+_0x525bde;},'errorUrlMustBeImage':_0x3b044d=>{const _0x3bb8a8=_0x3947af;return _0x3bb8a8(0x113)+_0x3b044d+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x3947af(0xf7),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x3947af(0x119)+(0x0,colors_1[_0x3947af(0x123)])(_0x3947af(0xf9))),'messageProjectGeneratedSuccess':_0x3947af(0xf8),'messageSigningKeyCreation':(0x0,colors_1[_0x3947af(0x103)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x371583=>{const _0x2d9784=_0x3947af;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x371583+_0x2d9784(0x118);},'promptCreateKey':_0x3947af(0xfc),'promptKeyFullName':_0x3947af(0x11a),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x3947af(0x11c),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x3947af(0xf4),'promptKeyPassword':_0x3947af(0x114),'messageBuildingApp':_0x3947af(0x109),'messageEnterPasswords':(_0x707a97,_0x2da6de)=>{const _0x40d847=_0x3947af;return _0x40d847(0xe4)+(0x0,colors_1[_0x40d847(0x10b)])(_0x707a97)+_0x40d847(0xfd)+(0x0,colors_1[_0x40d847(0x10b)])(_0x2da6de)+'.\x0a';},'errorMinLength':(_0x464e9f,_0x3244e5)=>{const _0x1eb372=_0x3947af;return _0x1eb372(0xff)+_0x464e9f+_0x1eb372(0xf2)+_0x3244e5+'.';},'errorMaxLength':(_0x4c7288,_0x15e5a6)=>{const _0x20fbd7=_0x3947af;return _0x20fbd7(0x11f)+_0x4c7288+_0x20fbd7(0xf2)+_0x15e5a6+'.';},'errorInvalidInteger':_0x44d76e=>{const _0x2f63f8=_0x3947af;return _0x2f63f8(0x126)+_0x44d76e;},'messageApkSuccess':_0xfb60da=>{const _0x2007f2=_0x3947af;return _0x2007f2(0x10f)+(0x0,colors_1['cyan'])(_0xfb60da);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1[_0x3947af(0x10b)])(_0x3947af(0x117)))};
@@ -1 +1 @@
1
- 'use strict';const _0x21d1af=_0x5d43;function _0x5d43(_0x373d8f,_0x3186e2){const _0x181ed3=_0x181e();return _0x5d43=function(_0x5d437b,_0x2fb8c9){_0x5d437b=_0x5d437b-0x123;let _0x502982=_0x181ed3[_0x5d437b];return _0x502982;},_0x5d43(_0x373d8f,_0x3186e2);}(function(_0x25b5b0,_0x4b6d93){const _0x46f065=_0x5d43,_0x98bd0a=_0x25b5b0();while(!![]){try{const _0x593349=-parseInt(_0x46f065(0x12d))/0x1*(parseInt(_0x46f065(0x12c))/0x2)+parseInt(_0x46f065(0x12f))/0x3+parseInt(_0x46f065(0x133))/0x4*(parseInt(_0x46f065(0x128))/0x5)+-parseInt(_0x46f065(0x127))/0x6*(-parseInt(_0x46f065(0x12a))/0x7)+-parseInt(_0x46f065(0x130))/0x8*(parseInt(_0x46f065(0x131))/0x9)+parseInt(_0x46f065(0x135))/0xa*(parseInt(_0x46f065(0x126))/0xb)+parseInt(_0x46f065(0x134))/0xc*(-parseInt(_0x46f065(0x125))/0xd);if(_0x593349===_0x4b6d93)break;else _0x98bd0a['push'](_0x98bd0a['shift']());}catch(_0x2d16ae){_0x98bd0a['push'](_0x98bd0a['shift']());}}}(_0x181e,0x74a83));function _0x181e(){const _0x146832=['130ZcbLoU','__esModule','split','22113SBixYm','610313JOGUDI','66HqrTjO','100DmRKGd','join','576268WBYQAv','parseRouter','753492cVVUBy','2bSDaSw','replace','2652243aYnNHw','32qQLAsN','526122aUGFBe','defineProperty','40212Udcink','8796ZpNMRg'];_0x181e=function(){return _0x146832;};return _0x181e();}Object[_0x21d1af(0x132)](exports,_0x21d1af(0x123),{'value':!![]}),exports[_0x21d1af(0x12b)]=parseRouter;function parseRouter(_0x7ac1e4){const _0x2200e8=_0x21d1af;let _0x57d616=_0x7ac1e4[_0x2200e8(0x124)]('/');_0x57d616['pop']();let _0x577f3d=_0x57d616[_0x2200e8(0x129)]();while(_0x577f3d['indexOf'](',')>=0x0){_0x577f3d=_0x577f3d[_0x2200e8(0x12e)](',','/');}return _0x577f3d;}
1
+ 'use strict';const _0x5c8f90=_0x322b;(function(_0x26a41d,_0x11c093){const _0xc92a68=_0x322b,_0x35cb95=_0x26a41d();while(!![]){try{const _0x350ffa=parseInt(_0xc92a68(0x13d))/0x1*(-parseInt(_0xc92a68(0x12f))/0x2)+-parseInt(_0xc92a68(0x132))/0x3*(parseInt(_0xc92a68(0x138))/0x4)+parseInt(_0xc92a68(0x13f))/0x5+-parseInt(_0xc92a68(0x135))/0x6*(-parseInt(_0xc92a68(0x13a))/0x7)+-parseInt(_0xc92a68(0x133))/0x8+-parseInt(_0xc92a68(0x13c))/0x9*(parseInt(_0xc92a68(0x139))/0xa)+parseInt(_0xc92a68(0x134))/0xb;if(_0x350ffa===_0x11c093)break;else _0x35cb95['push'](_0x35cb95['shift']());}catch(_0x483db9){_0x35cb95['push'](_0x35cb95['shift']());}}}(_0x14f0,0xa8f42));function _0x322b(_0x337a6f,_0x17fb28){const _0x14f003=_0x14f0();return _0x322b=function(_0x322b5e,_0x3bf567){_0x322b5e=_0x322b5e-0x12f;let _0x911703=_0x14f003[_0x322b5e];return _0x911703;},_0x322b(_0x337a6f,_0x17fb28);}Object['defineProperty'](exports,_0x5c8f90(0x131),{'value':!![]}),exports[_0x5c8f90(0x13b)]=parseRouter;function parseRouter(_0x52dfbb){const _0x439316=_0x5c8f90;let _0x6d8564=_0x52dfbb[_0x439316(0x130)]('/');_0x6d8564['pop']();let _0x3d1731=_0x6d8564[_0x439316(0x13e)]();while(_0x3d1731[_0x439316(0x137)](',')>=0x0){_0x3d1731=_0x3d1731[_0x439316(0x136)](',','/');}return _0x3d1731;}function _0x14f0(){const _0x1c3cf8=['1622649yCLfha','parseRouter','135549keiPca','462NlRzID','join','3646230aXWCiE','444YUnYTm','split','__esModule','3YGzFwj','10540832VTPJmj','20210729ksvqnA','30vOgWfw','replace','indexOf','1091956SVwngx','890GKpQeA'];_0x14f0=function(){return _0x1c3cf8;};return _0x14f0();}
@@ -1 +1 @@
1
- 'use strict';const _0x18f6df=_0x573f;(function(_0xbe34e5,_0x46191a){const _0x590f46=_0x573f,_0x5b0145=_0xbe34e5();while(!![]){try{const _0x16d434=-parseInt(_0x590f46(0xbc))/0x1+parseInt(_0x590f46(0xae))/0x2*(-parseInt(_0x590f46(0xb7))/0x3)+parseInt(_0x590f46(0xb1))/0x4*(-parseInt(_0x590f46(0xc0))/0x5)+parseInt(_0x590f46(0xb9))/0x6*(-parseInt(_0x590f46(0xc9))/0x7)+parseInt(_0x590f46(0xc3))/0x8+parseInt(_0x590f46(0xcc))/0x9*(-parseInt(_0x590f46(0xbe))/0xa)+parseInt(_0x590f46(0xb4))/0xb;if(_0x16d434===_0x46191a)break;else _0x5b0145['push'](_0x5b0145['shift']());}catch(_0x332b00){_0x5b0145['push'](_0x5b0145['shift']());}}}(_0xc5d4,0xcbff9));Object[_0x18f6df(0xc8)](exports,_0x18f6df(0xc1),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require(_0x18f6df(0xcf)),xcodeproject_1=require(_0x18f6df(0xca)),xcodebuild_1=require(_0x18f6df(0xc5)),xcrun_1=require(_0x18f6df(0xc4)),path_1=require(_0x18f6df(0xce));class XcodeManager{static async[_0x18f6df(0xb8)](_0x1c2a4a,_0x472f23=![]){const _0x20ddc8=_0x18f6df,_0x11b269=resource_1[_0x20ddc8(0xb5)]+_0x20ddc8(0xd1);await xcodeproject_1[_0x20ddc8(0xbd)][_0x20ddc8(0xd0)](_0x11b269,_0x1c2a4a),console['log'](_0x20ddc8(0xcb));!fs[_0x20ddc8(0xba)](resource_1[_0x20ddc8(0xc2)])&&fs[_0x20ddc8(0xb6)](resource_1[_0x20ddc8(0xc2)],{'recursive':!![]});if(!_0x472f23)await xcodebuild_1[_0x20ddc8(0xbd)][_0x20ddc8(0xbf)](_0x1c2a4a[_0x20ddc8(0xc6)]);}static async[_0x18f6df(0xc7)](_0x5a1401,_0x29a299){const _0x4cc37c=_0x18f6df;if(_0x5a1401['u']&&_0x5a1401['p'])xcrun_1[_0x4cc37c(0xbd)][_0x4cc37c(0xaf)]((0x0,path_1['join'])(resource_1[_0x4cc37c(0xc2)],_0x29a299[_0x4cc37c(0xb3)]+_0x4cc37c(0xb2)),_0x5a1401['u'],_0x5a1401['p'],!![]);else _0x5a1401['k']&&_0x5a1401['i']&&xcrun_1[_0x4cc37c(0xbd)][_0x4cc37c(0xaf)]((0x0,path_1[_0x4cc37c(0xbb)])(resource_1[_0x4cc37c(0xc2)],_0x29a299[_0x4cc37c(0xb3)]+'.ipa'),_0x5a1401['k'],_0x5a1401['i'],![]);}static async[_0x18f6df(0xb0)](_0x43c793){const _0x5f0802=_0x18f6df;await xcrun_1[_0x5f0802(0xbd)][_0x5f0802(0xb0)](_0x43c793);}}function _0x573f(_0x16955c,_0x49ac83){const _0xc5d4b=_0xc5d4();return _0x573f=function(_0x573ff9,_0x18c038){_0x573ff9=_0x573ff9-0xae;let _0xb72bd6=_0xc5d4b[_0x573ff9];return _0xb72bd6;},_0x573f(_0x16955c,_0x49ac83);}function _0xc5d4(){const _0x32f87c=['./xcrun','./xcodebuild','export','upload','defineProperty','7XgklsE','./xcodeproject','write\x20project.pbxproj:\x20ok','9dSfqlZ','XcodeManager','path','../resource','modify','/web-spatial.xcodeproj/project.pbxproj','604dAVwxs','uploadApp','runWithSimulator','12KKaZUd','.ipa','name','47168374EMlOlb','PROJECT_DIRECTORY','mkdirSync','5847uDkbqo','parseProject','7596804rAGmrF','existsSync','join','419542nyTpVJ','default','13945320TvbNCT','archive','290055pOhYCy','__esModule','PROJECT_EXPORT_DIRECTORY','3123056BvAqMT'];_0xc5d4=function(){return _0x32f87c;};return _0xc5d4();}exports[_0x18f6df(0xcd)]=XcodeManager;
1
+ 'use strict';const _0x21df4b=_0x2c30;(function(_0x80298d,_0x2871b9){const _0x4cf480=_0x2c30,_0x1a6115=_0x80298d();while(!![]){try{const _0x449cad=parseInt(_0x4cf480(0x85))/0x1*(parseInt(_0x4cf480(0x86))/0x2)+-parseInt(_0x4cf480(0x83))/0x3+parseInt(_0x4cf480(0x79))/0x4+-parseInt(_0x4cf480(0x72))/0x5+-parseInt(_0x4cf480(0x7a))/0x6+-parseInt(_0x4cf480(0x82))/0x7*(-parseInt(_0x4cf480(0x7f))/0x8)+parseInt(_0x4cf480(0x8b))/0x9*(parseInt(_0x4cf480(0x81))/0xa);if(_0x449cad===_0x2871b9)break;else _0x1a6115['push'](_0x1a6115['shift']());}catch(_0x5bda15){_0x1a6115['push'](_0x1a6115['shift']());}}}(_0x401d,0xd2968));function _0x2c30(_0x29a37e,_0x53250a){const _0x401dd3=_0x401d();return _0x2c30=function(_0x2c3049,_0x5a1913){_0x2c3049=_0x2c3049-0x72;let _0x952537=_0x401dd3[_0x2c3049];return _0x952537;},_0x2c30(_0x29a37e,_0x53250a);}Object[_0x21df4b(0x8e)](exports,_0x21df4b(0x8f),{'value':!![]}),exports[_0x21df4b(0x75)]=void 0x0;function _0x401d(){const _0x148d07=['1000yivQFp','693203DVlyrz','1607250ebgJOI','join','4NalddP','194792iyVTCU','export','./xcodebuild','PROJECT_DIRECTORY','log','101943gnembG','path','archive','defineProperty','__esModule','5774445EaDHyB','name','runWithSimulator','XcodeManager','uploadApp','mkdirSync','default','659960PrUGVr','4905360kBzkwj','modify','/web-spatial.xcodeproj/project.pbxproj','upload','PROJECT_EXPORT_DIRECTORY','136RqccwZ','write\x20project.pbxproj:\x20ok'];_0x401d=function(){return _0x148d07;};return _0x401d();}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x21df4b(0x88)),xcrun_1=require('./xcrun'),path_1=require(_0x21df4b(0x8c));class XcodeManager{static async['parseProject'](_0x1268ee,_0x295abc=![]){const _0x48385e=_0x21df4b,_0x345761=resource_1[_0x48385e(0x89)]+_0x48385e(0x7c);await xcodeproject_1[_0x48385e(0x78)][_0x48385e(0x7b)](_0x345761,_0x1268ee),console[_0x48385e(0x8a)](_0x48385e(0x80));!fs['existsSync'](resource_1[_0x48385e(0x7e)])&&fs[_0x48385e(0x77)](resource_1[_0x48385e(0x7e)],{'recursive':!![]});if(!_0x295abc)await xcodebuild_1['default'][_0x48385e(0x8d)](_0x1268ee[_0x48385e(0x87)]);}static async[_0x21df4b(0x7d)](_0x53c25c,_0x20d943){const _0x192cca=_0x21df4b;if(_0x53c25c['u']&&_0x53c25c['p'])xcrun_1[_0x192cca(0x78)][_0x192cca(0x76)]((0x0,path_1['join'])(resource_1[_0x192cca(0x7e)],_0x20d943[_0x192cca(0x73)]+'.ipa'),_0x53c25c['u'],_0x53c25c['p'],!![]);else _0x53c25c['k']&&_0x53c25c['i']&&xcrun_1[_0x192cca(0x78)][_0x192cca(0x76)]((0x0,path_1[_0x192cca(0x84)])(resource_1[_0x192cca(0x7e)],_0x20d943[_0x192cca(0x73)]+'.ipa'),_0x53c25c['k'],_0x53c25c['i'],![]);}static async[_0x21df4b(0x74)](_0x5533c3){const _0x126a9f=_0x21df4b;await xcrun_1[_0x126a9f(0x78)][_0x126a9f(0x74)](_0x5533c3);}}exports[_0x21df4b(0x75)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x52db(_0x3babde,_0x2b76a2){var _0x1f5678=_0x1f56();return _0x52db=function(_0x52dbf1,_0x344bf3){_0x52dbf1=_0x52dbf1-0x16f;var _0x4ca74f=_0x1f5678[_0x52dbf1];return _0x4ca74f;},_0x52db(_0x3babde,_0x2b76a2);}var _0x2f3358=_0x52db;function _0x1f56(){var _0x584383=['1057762wjsFUY','32YwVeat','6925833vRtJtv','18315Afrqde','9gfhPyn','defineProperty','33132490YBravr','5356332EnvpFk','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','244ATQKMj','1678876RwcedG','1491553VHzVfH','manifestSwiftTemplate'];_0x1f56=function(){return _0x584383;};return _0x1f56();}(function(_0x56a5d7,_0x37be2a){var _0x281a81=_0x52db,_0x1d5117=_0x56a5d7();while(!![]){try{var _0x52cedb=parseInt(_0x281a81(0x173))/0x1+-parseInt(_0x281a81(0x176))/0x2*(-parseInt(_0x281a81(0x17a))/0x3)+parseInt(_0x281a81(0x172))/0x4*(parseInt(_0x281a81(0x179))/0x5)+-parseInt(_0x281a81(0x170))/0x6+parseInt(_0x281a81(0x174))/0x7*(parseInt(_0x281a81(0x177))/0x8)+parseInt(_0x281a81(0x178))/0x9+-parseInt(_0x281a81(0x16f))/0xa;if(_0x52cedb===_0x37be2a)break;else _0x1d5117['push'](_0x1d5117['shift']());}catch(_0x1e461c){_0x1d5117['push'](_0x1d5117['shift']());}}}(_0x1f56,0xdce8c));Object[_0x2f3358(0x17b)](exports,'__esModule',{'value':!![]}),exports[_0x2f3358(0x175)]=void 0x0,exports[_0x2f3358(0x175)]=_0x2f3358(0x171);
1
+ 'use strict';var _0x3b2115=_0x3189;(function(_0x4b8e2e,_0x3427ec){var _0x2400c6=_0x3189,_0x14cc56=_0x4b8e2e();while(!![]){try{var _0xca2b0a=-parseInt(_0x2400c6(0x8b))/0x1*(-parseInt(_0x2400c6(0x8f))/0x2)+-parseInt(_0x2400c6(0x95))/0x3*(parseInt(_0x2400c6(0x8d))/0x4)+parseInt(_0x2400c6(0x8a))/0x5+-parseInt(_0x2400c6(0x92))/0x6+-parseInt(_0x2400c6(0x94))/0x7+parseInt(_0x2400c6(0x91))/0x8+parseInt(_0x2400c6(0x90))/0x9;if(_0xca2b0a===_0x3427ec)break;else _0x14cc56['push'](_0x14cc56['shift']());}catch(_0x205982){_0x14cc56['push'](_0x14cc56['shift']());}}}(_0x17a1,0x786a6));function _0x17a1(){var _0x271700=['4320150SKXolf','141433jfmebk','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','12YFhbWG','manifestSwiftTemplate','2rRWXSq','13449402dFrfnb','658416NOGITm','3173778AIuxdP','__esModule','6059025twzvgF','694383aExAXw'];_0x17a1=function(){return _0x271700;};return _0x17a1();}function _0x3189(_0x37193d,_0x14827d){var _0x17a174=_0x17a1();return _0x3189=function(_0x3189e3,_0x3f287d){_0x3189e3=_0x3189e3-0x8a;var _0x9dbb0f=_0x17a174[_0x3189e3];return _0x9dbb0f;},_0x3189(_0x37193d,_0x14827d);}Object['defineProperty'](exports,_0x3b2115(0x93),{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports[_0x3b2115(0x8e)]=_0x3b2115(0x8c);
@@ -1 +1 @@
1
- 'use strict';const _0x5186c2=_0x5880;(function(_0x9c6602,_0x3fea0d){const _0x2e40e2=_0x5880,_0x3c2be1=_0x9c6602();while(!![]){try{const _0x41e395=-parseInt(_0x2e40e2(0x18a))/0x1*(parseInt(_0x2e40e2(0x18e))/0x2)+parseInt(_0x2e40e2(0x19e))/0x3*(parseInt(_0x2e40e2(0x185))/0x4)+parseInt(_0x2e40e2(0x1a2))/0x5+-parseInt(_0x2e40e2(0x181))/0x6*(-parseInt(_0x2e40e2(0x180))/0x7)+-parseInt(_0x2e40e2(0x17d))/0x8*(-parseInt(_0x2e40e2(0x192))/0x9)+parseInt(_0x2e40e2(0x1a6))/0xa+-parseInt(_0x2e40e2(0x17e))/0xb;if(_0x41e395===_0x3fea0d)break;else _0x3c2be1['push'](_0x3c2be1['shift']());}catch(_0x207120){_0x3c2be1['push'](_0x3c2be1['shift']());}}}(_0x26d5,0x6e665));Object[_0x5186c2(0x1a3)](exports,'__esModule',{'value':!![]}),exports[_0x5186c2(0x1b1)]=void 0x0;const fs=require('fs'),path_1=require(_0x5186c2(0x1ab)),resource_1=require('../resource'),semver_1=require(_0x5186c2(0x1a4)),file_1=require('../resource/file'),{execSync,exec}=require(_0x5186c2(0x1ad));class Xcodebuild{static async[_0x5186c2(0x1af)](){const _0x3dde78=_0x5186c2;try{await new Promise((_0x54151c,_0x23cc4f)=>{const _0x3e6eea=_0x5880,_0x3937c9=resource_1[_0x3e6eea(0x19b)]+_0x3e6eea(0x19c),_0x27f471=execSync(new XcodebuildCMD()[_0x3e6eea(0x1af)](_0x3937c9)['list']()[_0x3e6eea(0x18f)]);console[_0x3e6eea(0x197)](_0x27f471[_0x3e6eea(0x193)]()),_0x54151c(_0x27f471);});}catch(_0x7655f8){console[_0x3dde78(0x197)](_0x7655f8);}}static async['list'](){const _0x5d7bfc=_0x5186c2;try{await new Promise((_0x13065e,_0x41e8d3)=>{const _0x597231=_0x5880,_0x2c995a=resource_1[_0x597231(0x19b)]+_0x597231(0x19c),_0x28a2d2=execSync(new XcodebuildCMD()['project'](_0x2c995a)[_0x597231(0x1ae)]()[_0x597231(0x18f)]);console[_0x597231(0x197)](_0x28a2d2[_0x597231(0x193)]()),_0x13065e(_0x28a2d2);});}catch(_0x1b0610){console[_0x5d7bfc(0x197)](_0x1b0610);}}static async['archive'](_0x9de0e1){const _0x175c44=_0x5186c2;try{return console['log'](_0x175c44(0x182)),!fs['existsSync'](resource_1[_0x175c44(0x1b0)])&&fs['mkdirSync'](resource_1[_0x175c44(0x1b0)],{'recursive':!![]}),await new Promise((_0x5da6de,_0x462b5c)=>{const _0xdf4ffd=_0x175c44,_0x2462e0=resource_1['PROJECT_DIRECTORY']+_0xdf4ffd(0x19c),_0x4c44e6=execSync(new XcodebuildCMD()[_0xdf4ffd(0x1af)](_0x2462e0)[_0xdf4ffd(0x1a0)](_0xdf4ffd(0x191))[_0xdf4ffd(0x199)]((0x0,path_1[_0xdf4ffd(0x188)])(resource_1[_0xdf4ffd(0x183)],_0xdf4ffd(0x19f)))[_0xdf4ffd(0x1b2)]()[_0xdf4ffd(0x18f)]);let _0x22efa5=_0x4c44e6['toString']();if(_0x22efa5[_0xdf4ffd(0x1a1)](_0xdf4ffd(0x19d))>0x0){console[_0xdf4ffd(0x197)](_0xdf4ffd(0x190)),console['log']('start\x20export');const _0x34197f=execSync(new XcodebuildCMD()[_0xdf4ffd(0x19a)]((0x0,path_1[_0xdf4ffd(0x188)])(resource_1['PROJECT_BUILD_DIRECTORY'],'pack.xcarchive'),resource_1[_0xdf4ffd(0x1b0)],(0x0,path_1['join'])(resource_1[_0xdf4ffd(0x183)],_0xdf4ffd(0x1a7)))['allowProvisioningUpdates']()[_0xdf4ffd(0x18f)]);_0x22efa5=_0x34197f['toString']();if(_0x22efa5[_0xdf4ffd(0x1a1)](_0xdf4ffd(0x184))>0x0){if(_0x9de0e1){const _0x9617c6=(0x0,path_1['join'])(process[_0xdf4ffd(0x17f)](),_0x9de0e1);!fs[_0xdf4ffd(0x194)](_0x9617c6)&&fs[_0xdf4ffd(0x1aa)](_0x9617c6,{'recursive':!![]}),(0x0,file_1[_0xdf4ffd(0x1a5)])(resource_1[_0xdf4ffd(0x1b0)],_0x9617c6);}console[_0xdf4ffd(0x197)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x5da6de(!![]);}(0x0,semver_1['clean'])(resource_1[_0xdf4ffd(0x183)]);}_0x5da6de(![]);});}catch(_0x3b710d){console['log'](_0x3b710d);}}}function _0x5880(_0x5912dc,_0x242b71){const _0x26d5fe=_0x26d5();return _0x5880=function(_0x58809a,_0x21986b){_0x58809a=_0x58809a-0x17d;let _0x2737e9=_0x26d5fe[_0x58809a];return _0x2737e9;},_0x5880(_0x5912dc,_0x242b71);}exports[_0x5186c2(0x18d)]=Xcodebuild;function _0x26d5(){const _0x1a0d64=['1632376rMuaZW','3794670ZekMXj','cwd','7PcYRRu','870462Ftfshc','start\x20archive','PROJECT_BUILD_DIRECTORY','EXPORT\x20SUCCEEDED','4sbqdYl','\x20clean','allowProvisioningUpdates','join','\x20-destination\x20\x27','3ddDluF','\x20-exportPath\x20','\x20-archivePath\x20','default','495676nelglU','line','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','web-spatial','27lFEECI','toString','existsSync','\x20-project\x20','xcodebuild','log','\x20-scheme\x20','archive','output','PROJECT_DIRECTORY','/web-spatial.xcodeproj','ARCHIVE\x20SUCCEEDED','1470117atrbuF','./pack','scheme','indexOf','232615LwRXfz','defineProperty','semver','copyDir','2469010YivGjv','ExportOptions.plist','\x20-list','\x20-exportArchive\x20-archivePath\x20','mkdirSync','path','\x20-allowProvisioningUpdates','child_process','list','project','PROJECT_EXPORT_DIRECTORY','XcodebuildCMD','clean'];_0x26d5=function(){return _0x1a0d64;};return _0x26d5();}class XcodebuildCMD{constructor(){const _0x4e053c=_0x5186c2;this[_0x4e053c(0x18f)]=_0x4e053c(0x196);}[_0x5186c2(0x1af)](_0x6c997){const _0x1411a1=_0x5186c2;return this['line']+=_0x1411a1(0x195)+_0x6c997,this;}[_0x5186c2(0x1ae)](){const _0xe00efa=_0x5186c2;return this[_0xe00efa(0x18f)]+=_0xe00efa(0x1a8),this;}[_0x5186c2(0x1a0)](_0x4d4326){const _0x18b109=_0x5186c2;return this[_0x18b109(0x18f)]+=_0x18b109(0x198)+_0x4d4326,this;}[_0x5186c2(0x199)](_0x2fbec2){const _0x1370d6=_0x5186c2;return this[_0x1370d6(0x18f)]+=_0x1370d6(0x18c)+_0x2fbec2+'\x20archive',this;}[_0x5186c2(0x187)](){const _0x3434dc=_0x5186c2;return this[_0x3434dc(0x18f)]+=_0x3434dc(0x1ac),this;}['destination'](_0xc362e8){const _0x3e8565=_0x5186c2;return this[_0x3e8565(0x18f)]+=_0x3e8565(0x189)+_0xc362e8+'\x27',this;}[_0x5186c2(0x19a)](_0x59a39,_0x3d804e,_0xab5741){const _0x1b1735=_0x5186c2;return this[_0x1b1735(0x18f)]+=_0x1b1735(0x1a9)+_0x59a39+_0x1b1735(0x18b)+_0x3d804e+'\x20-exportOptionsPlist\x20'+_0xab5741,this;}[_0x5186c2(0x1b2)](){const _0x4a8e4f=_0x5186c2;return this[_0x4a8e4f(0x18f)]+=_0x4a8e4f(0x186),this;}}exports[_0x5186c2(0x1b1)]=XcodebuildCMD;
1
+ 'use strict';const _0x4c3687=_0x3171;(function(_0x17bf8f,_0x2281b0){const _0x32b81f=_0x3171,_0x4274ba=_0x17bf8f();while(!![]){try{const _0x24c70f=parseInt(_0x32b81f(0x103))/0x1+parseInt(_0x32b81f(0xeb))/0x2*(parseInt(_0x32b81f(0xe3))/0x3)+-parseInt(_0x32b81f(0xe5))/0x4+-parseInt(_0x32b81f(0xf5))/0x5+-parseInt(_0x32b81f(0x105))/0x6*(-parseInt(_0x32b81f(0x102))/0x7)+parseInt(_0x32b81f(0xfe))/0x8+parseInt(_0x32b81f(0xe0))/0x9*(-parseInt(_0x32b81f(0xdb))/0xa);if(_0x24c70f===_0x2281b0)break;else _0x4274ba['push'](_0x4274ba['shift']());}catch(_0x4e5787){_0x4274ba['push'](_0x4274ba['shift']());}}}(_0x51f9,0x712df));Object['defineProperty'](exports,_0x4c3687(0xfa),{'value':!![]}),exports['XcodebuildCMD']=void 0x0;const fs=require('fs'),path_1=require(_0x4c3687(0xf9)),resource_1=require(_0x4c3687(0xdd)),semver_1=require(_0x4c3687(0x107)),file_1=require(_0x4c3687(0xe8)),{execSync,exec}=require('child_process');class Xcodebuild{static async[_0x4c3687(0xde)](){const _0x56a9c1=_0x4c3687;try{await new Promise((_0x323c22,_0x51df77)=>{const _0x1fa989=_0x3171,_0x15eea0=resource_1[_0x1fa989(0xe4)]+_0x1fa989(0xdc),_0x5d879e=execSync(new XcodebuildCMD()[_0x1fa989(0xde)](_0x15eea0)['list']()['line']);console[_0x1fa989(0xf3)](_0x5d879e[_0x1fa989(0xe6)]()),_0x323c22(_0x5d879e);});}catch(_0x51a302){console[_0x56a9c1(0xf3)](_0x51a302);}}static async[_0x4c3687(0xf1)](){const _0x4f4cfb=_0x4c3687;try{await new Promise((_0x5c2350,_0x2b603e)=>{const _0x50fbc9=_0x3171,_0x22db05=resource_1['PROJECT_DIRECTORY']+_0x50fbc9(0xdc),_0x15fe5c=execSync(new XcodebuildCMD()[_0x50fbc9(0xde)](_0x22db05)[_0x50fbc9(0xf1)]()['line']);console['log'](_0x15fe5c[_0x50fbc9(0xe6)]()),_0x5c2350(_0x15fe5c);});}catch(_0x23cd13){console[_0x4f4cfb(0xf3)](_0x23cd13);}}static async[_0x4c3687(0xd3)](_0x2c7e16){const _0x25c1dd=_0x4c3687;try{return console[_0x25c1dd(0xf3)]('start\x20archive'),!fs['existsSync'](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x25c1dd(0xee)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x4c6eb0,_0x38e7ca)=>{const _0x5b2d57=_0x25c1dd,_0x3a99b0=resource_1[_0x5b2d57(0xe4)]+_0x5b2d57(0xdc),_0x480907=execSync(new XcodebuildCMD()[_0x5b2d57(0xde)](_0x3a99b0)[_0x5b2d57(0xf6)]('web-spatial')['archive']((0x0,path_1['join'])(resource_1[_0x5b2d57(0xf0)],_0x5b2d57(0xea)))['clean']()[_0x5b2d57(0x108)]);let _0x9b0da9=_0x480907[_0x5b2d57(0xe6)]();if(_0x9b0da9[_0x5b2d57(0xe2)]('ARCHIVE\x20SUCCEEDED')>0x0){console['log'](_0x5b2d57(0xfb)),console[_0x5b2d57(0xf3)](_0x5b2d57(0xf8));const _0x878fcd=execSync(new XcodebuildCMD()['output']((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x5b2d57(0xe7)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1['join'])(resource_1[_0x5b2d57(0xf0)],_0x5b2d57(0xf4)))[_0x5b2d57(0xd6)]()['line']);_0x9b0da9=_0x878fcd[_0x5b2d57(0xe6)]();if(_0x9b0da9['indexOf'](_0x5b2d57(0xd4))>0x0){if(_0x2c7e16){const _0x440a81=(0x0,path_1[_0x5b2d57(0xf7)])(process[_0x5b2d57(0xec)](),_0x2c7e16);!fs[_0x5b2d57(0xfd)](_0x440a81)&&fs[_0x5b2d57(0xee)](_0x440a81,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1[_0x5b2d57(0x106)],_0x440a81);}console[_0x5b2d57(0xf3)](_0x5b2d57(0xe1)),_0x4c6eb0(!![]);}(0x0,semver_1['clean'])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x4c6eb0(![]);});}catch(_0x1cf588){console[_0x25c1dd(0xf3)](_0x1cf588);}}}exports[_0x4c3687(0xda)]=Xcodebuild;function _0x3171(_0x2d6c0c,_0x27c809){const _0x51f94e=_0x51f9();return _0x3171=function(_0x317159,_0x5f01ad){_0x317159=_0x317159-0xd3;let _0x2c4c40=_0x51f94e[_0x317159];return _0x2c4c40;},_0x3171(_0x2d6c0c,_0x27c809);}function _0x51f9(){const _0x48ec5e=['default','10919960GLIooY','/web-spatial.xcodeproj','../resource','project','\x20clean','9BBOJhf','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','indexOf','9027zGPNPJ','PROJECT_DIRECTORY','3282264yPByzN','toString','pack.xcarchive','../resource/file','clean','./pack','438bVAZgD','cwd','\x20-scheme\x20','mkdirSync','\x20-exportOptionsPlist\x20','PROJECT_BUILD_DIRECTORY','list','xcodebuild','log','ExportOptions.plist','727655GgVBzQ','scheme','join','start\x20export','path','__esModule','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','\x20-project\x20','existsSync','2733968YsKvVg','\x20-exportPath\x20','XcodebuildCMD','\x20-list','2184vJmQsa','680431zHwYUp','destination','16164IzubVX','PROJECT_EXPORT_DIRECTORY','semver','line','archive','EXPORT\x20SUCCEEDED','\x20-exportArchive\x20-archivePath\x20','allowProvisioningUpdates','\x20-allowProvisioningUpdates','\x20-destination\x20\x27','\x20archive'];_0x51f9=function(){return _0x48ec5e;};return _0x51f9();}class XcodebuildCMD{constructor(){const _0x3b6334=_0x4c3687;this['line']=_0x3b6334(0xf2);}[_0x4c3687(0xde)](_0x715e91){const _0x3b35b5=_0x4c3687;return this['line']+=_0x3b35b5(0xfc)+_0x715e91,this;}[_0x4c3687(0xf1)](){const _0x45c8f3=_0x4c3687;return this[_0x45c8f3(0x108)]+=_0x45c8f3(0x101),this;}[_0x4c3687(0xf6)](_0x469ba0){const _0x37e0d6=_0x4c3687;return this[_0x37e0d6(0x108)]+=_0x37e0d6(0xed)+_0x469ba0,this;}[_0x4c3687(0xd3)](_0x1124af){const _0x35dcaa=_0x4c3687;return this[_0x35dcaa(0x108)]+='\x20-archivePath\x20'+_0x1124af+_0x35dcaa(0xd9),this;}[_0x4c3687(0xd6)](){const _0x138e2d=_0x4c3687;return this['line']+=_0x138e2d(0xd7),this;}[_0x4c3687(0x104)](_0x33bf3d){const _0x1cff54=_0x4c3687;return this[_0x1cff54(0x108)]+=_0x1cff54(0xd8)+_0x33bf3d+'\x27',this;}['output'](_0x64757d,_0x3d006b,_0x34a662){const _0x274d52=_0x4c3687;return this[_0x274d52(0x108)]+=_0x274d52(0xd5)+_0x64757d+_0x274d52(0xff)+_0x3d006b+_0x274d52(0xef)+_0x34a662,this;}[_0x4c3687(0xe9)](){const _0x4a9318=_0x4c3687;return this[_0x4a9318(0x108)]+=_0x4a9318(0xdf),this;}}exports[_0x4c3687(0x100)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0x5715(_0x47068d,_0x1c31c6){const _0xae4458=_0xae44();return _0x5715=function(_0x57158c,_0x259f4b){_0x57158c=_0x57158c-0x1db;let _0x58803f=_0xae4458[_0x57158c];return _0x58803f;},_0x5715(_0x47068d,_0x1c31c6);}const _0x2e88a7=_0x5715;function _0xae44(){const _0xdd718=['SceneResizability','parseSync','updateExportOptions','name','bindManifestInfo','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','icon.png','PBXGroup','../resource/load','url','1346681THKQyO','buildType','width','.minimal','CURRENT_PROJECT_VERSION','release-testing','Contents.json','mainScene','version','../resource/imageHelper','xcode','68ApyGZo','getMIME','AppID','YOURTEAMID','updateBuildProperty','SceneHeight','height','object','false','PROJECT_BUILD_DIRECTORY','utf-8','description','protocol','./web-spatial/libs/webView/manifest.swift','app-store-connect','updateVersion','writeFileSync','fixProjectFunction','DEVELOPMENT_TEAM','defineProperty','log','USE_MAIN_SCENE','resizability','debugging','\x22),','objects','\x22automatic\x22','5385800zadsVV','replace','filename','image/','createImg','defaultSize','modify','DEEPLINK','split','ExportOptions.plist','path','manifestInfo','value','<string>','start_url','BACK_APPICON_DIRECTORY','writeAsync','SCOPE','pbxTargetByName','existsSync','MIDDLE_APPICON_DIRECTORY','SceneWidth','test','updateProductName','minimal-ui','display','scope','json','ImageHelper','__esModule','loadJsonFromDisk','37896560qWhLXm','\x22,\x20url:\x20\x22','manifestSwiftTemplate','PWAProtocol(protocolValue:\x20\x22','PROJECT_DIRECTORY','includes','protocol_handlers','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','Description','enterprise','BUILDTYPE','join','mkdirSync','</string>','buildSettings','bindIcon','hash','pbxXCConfigurationList','images','134595YLtNzT','1524950ZtlwYa','modifySwift','stringify','updateTeamId','length','1.0','teamId','8728548uSKzly','1592716FCjrdl','1280'];_0xae44=function(){return _0xdd718;};return _0xae44();}(function(_0x8c305f,_0x178cd7){const _0xa1936c=_0x5715,_0x104c7e=_0x8c305f();while(!![]){try{const _0x1daeba=-parseInt(_0xa1936c(0x1e5))/0x1+-parseInt(_0xa1936c(0x246))/0x2+parseInt(_0xa1936c(0x23d))/0x3*(-parseInt(_0xa1936c(0x1f0))/0x4)+-parseInt(_0xa1936c(0x23e))/0x5+-parseInt(_0xa1936c(0x245))/0x6+parseInt(_0xa1936c(0x20b))/0x7+parseInt(_0xa1936c(0x22a))/0x8;if(_0x1daeba===_0x178cd7)break;else _0x104c7e['push'](_0x104c7e['shift']());}catch(_0x4ae652){_0x104c7e['push'](_0x104c7e['shift']());}}}(_0xae44,0xcd512));Object[_0x2e88a7(0x203)](exports,_0x2e88a7(0x228),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x2e88a7(0x215)),load_1=require(_0x2e88a7(0x1e3)),imageHelper_1=require(_0x2e88a7(0x1ee)),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x2e88a7(0x1ef)),exportOptionsXML=_0x2e88a7(0x231),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[_0x2e88a7(0x211)](_0x20dc73,_0xcd5c3f){const _0x3c1935=_0x2e88a7;let _0x17dcd9=xcode['project'](_0x20dc73);this[_0x3c1935(0x201)](_0x17dcd9),_0x17dcd9[_0x3c1935(0x1dc)]();let _0x422206=_0xcd5c3f[_0x3c1935(0x1e6)];const _0x41986d=[_0x3c1935(0x1ea),_0x3c1935(0x1fe),_0x3c1935(0x207),_0x3c1935(0x233)];useExportOptionsXML=exportOptionsXML[_0x3c1935(0x20c)](_0x3c1935(0x234),_0x41986d[_0x3c1935(0x22f)](_0x422206)?_0x422206:_0x3c1935(0x1ea));_0xcd5c3f[_0x3c1935(0x244)]&&this[_0x3c1935(0x241)](_0x17dcd9,_0xcd5c3f['teamId']);this['updateExportOptions'](),await this[_0x3c1935(0x239)](_0xcd5c3f['icon']),this[_0x3c1935(0x1df)](_0x17dcd9,_0xcd5c3f[_0x3c1935(0x216)][_0x3c1935(0x226)]);_0xcd5c3f['version']?this[_0x3c1935(0x1ff)](_0x17dcd9,_0xcd5c3f[_0x3c1935(0x1ed)]):this[_0x3c1935(0x1ff)](_0x17dcd9,_0x3c1935(0x243));try{fs[_0x3c1935(0x200)](_0x20dc73,_0x17dcd9['writeSync']());}catch(_0x4b5dba){console[_0x3c1935(0x204)](_0x4b5dba);}}static[_0x2e88a7(0x201)](_0x356177){_0x356177['pbxGroupByName']=function(_0x12781b){const _0x1d5e66=_0x5715;var _0x8bb582=this[_0x1d5e66(0x23a)]['project'][_0x1d5e66(0x209)][_0x1d5e66(0x1e2)],_0x27d699,_0x33c88d;for(_0x27d699 in _0x8bb582){if(!/_comment$/[_0x1d5e66(0x221)](_0x27d699))continue;if(_0x8bb582[_0x27d699]==_0x12781b)return _0x33c88d=_0x27d699[_0x1d5e66(0x213)](/_comment$/)[0x0],_0x8bb582[_0x33c88d];}return![];},_0x356177['updateBuildProperty']=function(_0x33dff0,_0x16f234,_0x13eca5,_0x50b6bd){const _0x4f1b90=_0x5715;let _0x278324=[];const _0x518670=/_comment$/;if(_0x50b6bd){const _0x8150e=this[_0x4f1b90(0x21d)](_0x50b6bd),_0x2b961d=_0x8150e&&_0x8150e['buildConfigurationList'],_0x2e2f69=this[_0x4f1b90(0x23b)]();for(const _0x819fc5 in _0x2e2f69){if(!_0x518670[_0x4f1b90(0x221)](_0x819fc5)&&_0x2b961d===_0x819fc5){const _0x15701e=_0x2e2f69[_0x819fc5]['buildConfigurations'];for(const _0x215d77 of _0x15701e){_0x278324['push'](_0x215d77[_0x4f1b90(0x217)]);}break;}}}var _0x8e6993=this['pbxXCBuildConfigurationSection']();for(var _0x564c43 in _0x8e6993){if(!_0x518670[_0x4f1b90(0x221)](_0x564c43)){if(_0x50b6bd&&!_0x278324[_0x4f1b90(0x22f)](_0x564c43))continue;var _0x3c7090=_0x8e6993[_0x564c43];(_0x13eca5&&_0x3c7090['name']===_0x13eca5||!_0x13eca5)&&_0x3c7090[_0x4f1b90(0x238)][_0x33dff0]&&(_0x3c7090[_0x4f1b90(0x238)][_0x33dff0]=_0x16f234);}}};}static async[_0x2e88a7(0x239)](_0x4603a3){const _0x1d8765=_0x2e88a7;if(_0x4603a3){const _0x9b295d=(0x0,path_1[_0x1d8765(0x235)])(resource_1[_0x1d8765(0x22e)],resource_1[_0x1d8765(0x21a)]),_0x1040c8=(0x0,path_1[_0x1d8765(0x235)])(_0x9b295d,'Contents.json'),_0x2640e5='icon.'+_0x4603a3[_0x1d8765(0x1f1)]()[_0x1d8765(0x20c)](_0x1d8765(0x20e),''),_0x1a3ae8=(0x0,path_1[_0x1d8765(0x235)])(_0x9b295d,_0x2640e5);let _0x5db882=await(0x0,load_1[_0x1d8765(0x229)])(_0x1040c8);_0x5db882[_0x1d8765(0x23c)][0x0][_0x1d8765(0x20d)]=_0x2640e5,await _0x4603a3[_0x1d8765(0x21b)](_0x1a3ae8),await fs[_0x1d8765(0x200)](_0x1040c8,JSON[_0x1d8765(0x240)](_0x5db882));const _0x39e39e=(0x0,path_1[_0x1d8765(0x235)])(resource_1[_0x1d8765(0x22e)],resource_1[_0x1d8765(0x21f)]),_0x29c1db=(0x0,path_1[_0x1d8765(0x235)])(_0x39e39e,_0x1d8765(0x1eb)),_0x2c6ecd=_0x1d8765(0x1e1),_0x8fc01b=(0x0,path_1[_0x1d8765(0x235)])(_0x39e39e,_0x2c6ecd);let _0xddc3cd=await(0x0,load_1[_0x1d8765(0x229)])(_0x29c1db),_0x441227=imageHelper_1[_0x1d8765(0x227)][_0x1d8765(0x20f)](0x200);_0xddc3cd[_0x1d8765(0x23c)][0x0][_0x1d8765(0x20d)]=_0x2c6ecd,await _0x441227[_0x1d8765(0x21b)](_0x8fc01b),await fs[_0x1d8765(0x200)](_0x29c1db,JSON[_0x1d8765(0x240)](_0xddc3cd));}}static[_0x2e88a7(0x241)](_0x132d18,_0x180aeb){const _0x168029=_0x2e88a7;_0x132d18[_0x168029(0x1f4)](_0x168029(0x202),_0x180aeb),useExportOptionsXML=useExportOptionsXML['replace'](_0x168029(0x1f3),_0x180aeb);}static[_0x2e88a7(0x1dd)](){const _0x2ec3bc=_0x2e88a7;!fs[_0x2ec3bc(0x21e)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x2ec3bc(0x236)](resource_1[_0x2ec3bc(0x1f9)],{'recursive':!![]}),fs[_0x2ec3bc(0x200)]((0x0,path_1[_0x2ec3bc(0x235)])(resource_1[_0x2ec3bc(0x1f9)],_0x2ec3bc(0x214)),useExportOptionsXML);}static[_0x2e88a7(0x1df)](_0xd9c872,_0x3762e4){const _0x2c6dcf=_0x2e88a7;var _0x2089c4;_0xd9c872[_0x2c6dcf(0x222)](_0x3762e4['name']),_0xd9c872[_0x2c6dcf(0x1f4)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x3762e4['id']+'\x22'),this['updateDeeplink']((_0x2089c4=_0x3762e4[_0x2c6dcf(0x230)])!==null&&_0x2089c4!==void 0x0?_0x2089c4:[]),this[_0x2c6dcf(0x23f)](_0x3762e4);}static['updateVersion'](_0x14b0ac,_0x2f1b93){const _0xd43ac=_0x2e88a7;_0x14b0ac[_0xd43ac(0x1f4)](_0xd43ac(0x1e9),_0x2f1b93);}static['updateDeeplink'](_0xaaeb37){const _0x35f1e7=_0x2e88a7;let _0x2fa407=(0x0,path_1[_0x35f1e7(0x235)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/Info.plist'),_0x47bb38='';for(let _0x2e1e5f=0x0;_0x2e1e5f<_0xaaeb37[_0x35f1e7(0x242)];_0x2e1e5f++){_0x47bb38+=_0x35f1e7(0x218)+_0xaaeb37[_0x2e1e5f][_0x35f1e7(0x1fc)]+_0x35f1e7(0x237);}const _0x88f080=infoPlistXML[_0x35f1e7(0x20c)](_0x35f1e7(0x212),_0x47bb38);fs['writeFileSync'](_0x2fa407,_0x88f080);}static['modifySwift'](_0x340088){const _0x26f8a4=_0x2e88a7,_0x3e07ed=(0x0,path_1[_0x26f8a4(0x235)])(resource_1[_0x26f8a4(0x22e)],_0x26f8a4(0x1fd));let _0x2a42a6=manifestSwiftTemplate_1[_0x26f8a4(0x22c)];_0x2a42a6=_0x2a42a6['replace']('START_URL',_0x340088[_0x26f8a4(0x219)]),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x21c),_0x340088[_0x26f8a4(0x225)]),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)]('AppName',_0x340088[_0x26f8a4(0x1de)]),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x232),_0x340088[_0x26f8a4(0x1fb)]),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x1f2),_0x340088['id']),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x1e8),_0x340088[_0x26f8a4(0x224)]==_0x26f8a4(0x223)?_0x26f8a4(0x1e8):'.standalone');if(_0x340088[_0x26f8a4(0x230)]){let _0x5a9719='';for(let _0x2cb9da=0x0;_0x2cb9da<_0x340088[_0x26f8a4(0x230)][_0x26f8a4(0x242)];_0x2cb9da++){_0x5a9719+=_0x26f8a4(0x22d)+_0x340088[_0x26f8a4(0x230)][_0x2cb9da][_0x26f8a4(0x1fc)]+_0x26f8a4(0x22b)+_0x340088[_0x26f8a4(0x230)][_0x2cb9da][_0x26f8a4(0x1e4)]+_0x26f8a4(0x208);}_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x1e0),_0x5a9719);}typeof _0x340088[_0x26f8a4(0x1ec)]===_0x26f8a4(0x1f7)?(_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x220),_0x340088[_0x26f8a4(0x1ec)][_0x26f8a4(0x210)][_0x26f8a4(0x1e7)]),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x1f5),_0x340088[_0x26f8a4(0x1ec)][_0x26f8a4(0x210)][_0x26f8a4(0x1f6)]),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)]('SceneResizability','\x22'+_0x340088[_0x26f8a4(0x1ec)][_0x26f8a4(0x206)]+'\x22'),_0x2a42a6=_0x2a42a6['replace'](_0x26f8a4(0x205),'true')):(_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)]('SceneWidth',_0x26f8a4(0x247)),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)](_0x26f8a4(0x1f5),_0x26f8a4(0x247)),_0x2a42a6=_0x2a42a6['replace'](_0x26f8a4(0x1db),_0x26f8a4(0x20a)),_0x2a42a6=_0x2a42a6[_0x26f8a4(0x20c)]('USE_MAIN_SCENE',_0x26f8a4(0x1f8))),fs[_0x26f8a4(0x200)](_0x3e07ed,_0x2a42a6,_0x26f8a4(0x1fa));}}exports['default']=XcodeProject;
1
+ 'use strict';function _0x1f9e(_0x32be51,_0x7d6fe8){const _0x14ea9d=_0x14ea();return _0x1f9e=function(_0x1f9ed8,_0xc8f8e2){_0x1f9ed8=_0x1f9ed8-0x1bc;let _0x14c409=_0x14ea9d[_0x1f9ed8];return _0x14c409;},_0x1f9e(_0x32be51,_0x7d6fe8);}const _0x2826c9=_0x1f9e;(function(_0x459da6,_0x4dcb11){const _0x49a206=_0x1f9e,_0x2ea9d7=_0x459da6();while(!![]){try{const _0x224c4e=-parseInt(_0x49a206(0x1ee))/0x1*(-parseInt(_0x49a206(0x1f8))/0x2)+-parseInt(_0x49a206(0x1e8))/0x3+parseInt(_0x49a206(0x1e7))/0x4+parseInt(_0x49a206(0x210))/0x5*(parseInt(_0x49a206(0x1ec))/0x6)+-parseInt(_0x49a206(0x1c2))/0x7*(parseInt(_0x49a206(0x203))/0x8)+parseInt(_0x49a206(0x211))/0x9*(parseInt(_0x49a206(0x20c))/0xa)+parseInt(_0x49a206(0x1d1))/0xb*(parseInt(_0x49a206(0x1df))/0xc);if(_0x224c4e===_0x4dcb11)break;else _0x2ea9d7['push'](_0x2ea9d7['shift']());}catch(_0x3823c3){_0x2ea9d7['push'](_0x2ea9d7['shift']());}}}(_0x14ea,0x3eca3));Object[_0x2826c9(0x1f9)](exports,_0x2826c9(0x1e6),{'value':!![]});const fs=require('fs'),resource_1=require(_0x2826c9(0x20e)),path_1=require(_0x2826c9(0x1c0)),load_1=require('../resource/load'),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x2826c9(0x1cf)),xcode=require(_0x2826c9(0x1cd)),exportOptionsXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>',infoPlistXML=_0x2826c9(0x1d7);let useExportOptionsXML='';function _0x14ea(){const _0x47e9ad=['updateDeeplink','manifestInfo','resizability','width','utf-8','images','SceneHeight','2660tLMMST','start_url','../resource','version','65ZryKwZ','2763TivHTd','true','defaultSize','BACK_APPICON_DIRECTORY','protocol_handlers','updateProductName','PWAProtocol(protocolValue:\x20\x22','./web-spatial/libs/webView/manifest.swift','test','PBXGroup','PROJECT_BUILD_DIRECTORY','url','mkdirSync','loadJsonFromDisk','replace','join','AppID','split','SCOPE','\x22,\x20url:\x20\x22','scope','path','modify','130151SeisMV','enterprise','\x22automatic\x22','PROJECT_DIRECTORY','fixProjectFunction','DEEPLINK','MIDDLE_APPICON_DIRECTORY','.minimal','Contents.json','bindManifestInfo','bindIcon','xcode','ExportOptions.plist','./manifestSwiftTemplate','updateTeamId','3025858YQpujc','description','pbxTargetByName','writeAsync','1.0','filename','<?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','log','stringify','icon.','display','mainScene','name','objects','12UHjOQd','updateVersion','Description','updateExportOptions','updateBuildProperty','json','buildConfigurationList','__esModule','380552ffBuWt','906942tEMrbx','release-testing','app-store-connect','height','18138ldPwrD','icon','36514roVFdL','teamId','writeSync','push','protocol','hash','<string>','BUILDTYPE','pbxXCConfigurationList','default','18KeMmbS','defineProperty','SceneResizability','.standalone','modifySwift','writeFileSync','PRODUCT_BUNDLE_IDENTIFIER','image/','debugging','buildSettings','SceneWidth','112jbusFk','AppName'];_0x14ea=function(){return _0x47e9ad;};return _0x14ea();}class XcodeProject{static async[_0x2826c9(0x1c1)](_0x3c91ce,_0x5ba080){const _0x3f56d8=_0x2826c9;let _0x4b4f99=xcode['project'](_0x3c91ce);this['fixProjectFunction'](_0x4b4f99),_0x4b4f99['parseSync']();let _0x20472f=_0x5ba080['buildType'];const _0x31c12b=[_0x3f56d8(0x1e9),_0x3f56d8(0x1ea),_0x3f56d8(0x200),_0x3f56d8(0x1c3)];useExportOptionsXML=exportOptionsXML[_0x3f56d8(0x21f)](_0x3f56d8(0x1f5),_0x31c12b['includes'](_0x20472f)?_0x20472f:_0x3f56d8(0x1e9));_0x5ba080['teamId']&&this[_0x3f56d8(0x1d0)](_0x4b4f99,_0x5ba080[_0x3f56d8(0x1ef)]);this[_0x3f56d8(0x1e2)](),await this[_0x3f56d8(0x1cc)](_0x5ba080[_0x3f56d8(0x1ed)]),this[_0x3f56d8(0x1cb)](_0x4b4f99,_0x5ba080[_0x3f56d8(0x206)][_0x3f56d8(0x1e4)]);_0x5ba080[_0x3f56d8(0x20f)]?this[_0x3f56d8(0x1e0)](_0x4b4f99,_0x5ba080[_0x3f56d8(0x20f)]):this['updateVersion'](_0x4b4f99,_0x3f56d8(0x1d5));try{fs[_0x3f56d8(0x1fd)](_0x3c91ce,_0x4b4f99[_0x3f56d8(0x1f0)]());}catch(_0x265f6c){console[_0x3f56d8(0x1d8)](_0x265f6c);}}static[_0x2826c9(0x1c6)](_0x214511){const _0xe04a79=_0x2826c9;_0x214511['pbxGroupByName']=function(_0x2fc701){const _0x3f18bc=_0x1f9e;var _0xe9ee91=this[_0x3f18bc(0x1f3)]['project'][_0x3f18bc(0x1de)][_0x3f18bc(0x21a)],_0x26f372,_0x2f7091;for(_0x26f372 in _0xe9ee91){if(!/_comment$/['test'](_0x26f372))continue;if(_0xe9ee91[_0x26f372]==_0x2fc701)return _0x2f7091=_0x26f372[_0x3f18bc(0x1bc)](/_comment$/)[0x0],_0xe9ee91[_0x2f7091];}return![];},_0x214511[_0xe04a79(0x1e3)]=function(_0x5370b7,_0x6f0c76,_0x456562,_0x3f8fc3){const _0x37b9c8=_0xe04a79;let _0x56281a=[];const _0x3f9f62=/_comment$/;if(_0x3f8fc3){const _0xc9651d=this[_0x37b9c8(0x1d3)](_0x3f8fc3),_0x4a2413=_0xc9651d&&_0xc9651d[_0x37b9c8(0x1e5)],_0x4d46b3=this[_0x37b9c8(0x1f6)]();for(const _0x5e8a14 in _0x4d46b3){if(!_0x3f9f62[_0x37b9c8(0x219)](_0x5e8a14)&&_0x4a2413===_0x5e8a14){const _0x249812=_0x4d46b3[_0x5e8a14]['buildConfigurations'];for(const _0x2943d2 of _0x249812){_0x56281a[_0x37b9c8(0x1f1)](_0x2943d2['value']);}break;}}}var _0x192caa=this['pbxXCBuildConfigurationSection']();for(var _0x31b5ae in _0x192caa){if(!_0x3f9f62[_0x37b9c8(0x219)](_0x31b5ae)){if(_0x3f8fc3&&!_0x56281a['includes'](_0x31b5ae))continue;var _0x23471d=_0x192caa[_0x31b5ae];(_0x456562&&_0x23471d['name']===_0x456562||!_0x456562)&&_0x23471d[_0x37b9c8(0x201)][_0x5370b7]&&(_0x23471d[_0x37b9c8(0x201)][_0x5370b7]=_0x6f0c76);}}};}static async[_0x2826c9(0x1cc)](_0x3188cc){const _0x47f1e7=_0x2826c9;if(_0x3188cc){const _0x4a15d2=(0x0,path_1[_0x47f1e7(0x220)])(resource_1[_0x47f1e7(0x1c5)],resource_1[_0x47f1e7(0x214)]),_0x1052a2=(0x0,path_1[_0x47f1e7(0x220)])(_0x4a15d2,_0x47f1e7(0x1ca)),_0x4f0543=_0x47f1e7(0x1da)+_0x3188cc['getMIME']()['replace'](_0x47f1e7(0x1ff),''),_0x12f265=(0x0,path_1[_0x47f1e7(0x220)])(_0x4a15d2,_0x4f0543);let _0x49adad=await(0x0,load_1[_0x47f1e7(0x21e)])(_0x1052a2);_0x49adad[_0x47f1e7(0x20a)][0x0][_0x47f1e7(0x1d6)]=_0x4f0543,await _0x3188cc[_0x47f1e7(0x1d4)](_0x12f265),await fs[_0x47f1e7(0x1fd)](_0x1052a2,JSON[_0x47f1e7(0x1d9)](_0x49adad));const _0x109db0=(0x0,path_1['join'])(resource_1[_0x47f1e7(0x1c5)],resource_1[_0x47f1e7(0x1c8)]),_0xb96e6a=(0x0,path_1[_0x47f1e7(0x220)])(_0x109db0,_0x47f1e7(0x1ca)),_0x526852='icon.png',_0x2e8826=(0x0,path_1[_0x47f1e7(0x220)])(_0x109db0,_0x526852);let _0x4e553f=await(0x0,load_1[_0x47f1e7(0x21e)])(_0xb96e6a),_0x5940b2=imageHelper_1['ImageHelper']['createImg'](0x200);_0x4e553f[_0x47f1e7(0x20a)][0x0][_0x47f1e7(0x1d6)]=_0x526852,await _0x5940b2['writeAsync'](_0x2e8826),await fs[_0x47f1e7(0x1fd)](_0xb96e6a,JSON[_0x47f1e7(0x1d9)](_0x4e553f));}}static['updateTeamId'](_0x4ea80b,_0x38578a){const _0x3cf511=_0x2826c9;_0x4ea80b['updateBuildProperty']('DEVELOPMENT_TEAM',_0x38578a),useExportOptionsXML=useExportOptionsXML[_0x3cf511(0x21f)]('YOURTEAMID',_0x38578a);}static['updateExportOptions'](){const _0x325ac9=_0x2826c9;!fs['existsSync'](resource_1[_0x325ac9(0x21b)])&&fs[_0x325ac9(0x21d)](resource_1[_0x325ac9(0x21b)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1[_0x325ac9(0x220)])(resource_1[_0x325ac9(0x21b)],_0x325ac9(0x1ce)),useExportOptionsXML);}static['bindManifestInfo'](_0x14b632,_0x9c3452){const _0x33cd92=_0x2826c9;var _0x58bd74;_0x14b632[_0x33cd92(0x216)](_0x9c3452['name']),_0x14b632[_0x33cd92(0x1e3)](_0x33cd92(0x1fe),'\x22'+_0x9c3452['id']+'\x22'),this[_0x33cd92(0x205)]((_0x58bd74=_0x9c3452[_0x33cd92(0x215)])!==null&&_0x58bd74!==void 0x0?_0x58bd74:[]),this[_0x33cd92(0x1fc)](_0x9c3452);}static['updateVersion'](_0x2e963c,_0x44d7ac){const _0x49b6aa=_0x2826c9;_0x2e963c[_0x49b6aa(0x1e3)]('CURRENT_PROJECT_VERSION',_0x44d7ac);}static['updateDeeplink'](_0x163059){const _0x2b871=_0x2826c9;let _0x3ae343=(0x0,path_1[_0x2b871(0x220)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/Info.plist'),_0x5b9d29='';for(let _0x3935f6=0x0;_0x3935f6<_0x163059['length'];_0x3935f6++){_0x5b9d29+=_0x2b871(0x1f4)+_0x163059[_0x3935f6][_0x2b871(0x1f2)]+'</string>';}const _0x26860e=infoPlistXML[_0x2b871(0x21f)](_0x2b871(0x1c7),_0x5b9d29);fs[_0x2b871(0x1fd)](_0x3ae343,_0x26860e);}static[_0x2826c9(0x1fc)](_0xaa6be5){const _0x3d82c6=_0x2826c9,_0x5e1ca3=(0x0,path_1[_0x3d82c6(0x220)])(resource_1[_0x3d82c6(0x1c5)],_0x3d82c6(0x218));let _0x1976f4=manifestSwiftTemplate_1['manifestSwiftTemplate'];_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('START_URL',_0xaa6be5[_0x3d82c6(0x20d)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x1bd),_0xaa6be5[_0x3d82c6(0x1bf)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x204),_0xaa6be5[_0x3d82c6(0x1dd)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x1e1),_0xaa6be5[_0x3d82c6(0x1d2)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x221),_0xaa6be5['id']),_0x1976f4=_0x1976f4['replace'](_0x3d82c6(0x1c9),_0xaa6be5[_0x3d82c6(0x1db)]=='minimal-ui'?_0x3d82c6(0x1c9):_0x3d82c6(0x1fb));if(_0xaa6be5[_0x3d82c6(0x215)]){let _0x3fd7c3='';for(let _0x1dd00b=0x0;_0x1dd00b<_0xaa6be5[_0x3d82c6(0x215)]['length'];_0x1dd00b++){_0x3fd7c3+=_0x3d82c6(0x217)+_0xaa6be5[_0x3d82c6(0x215)][_0x1dd00b][_0x3d82c6(0x1f2)]+_0x3d82c6(0x1be)+_0xaa6be5[_0x3d82c6(0x215)][_0x1dd00b][_0x3d82c6(0x21c)]+'\x22),';}_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x3fd7c3);}typeof _0xaa6be5[_0x3d82c6(0x1dc)]==='object'?(_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x202),_0xaa6be5[_0x3d82c6(0x1dc)][_0x3d82c6(0x213)][_0x3d82c6(0x208)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x20b),_0xaa6be5[_0x3d82c6(0x1dc)][_0x3d82c6(0x213)][_0x3d82c6(0x1eb)]),_0x1976f4=_0x1976f4['replace'](_0x3d82c6(0x1fa),'\x22'+_0xaa6be5['mainScene'][_0x3d82c6(0x207)]+'\x22'),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('USE_MAIN_SCENE',_0x3d82c6(0x212))):(_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x202),'1280'),_0x1976f4=_0x1976f4['replace'](_0x3d82c6(0x20b),'1280'),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('SceneResizability',_0x3d82c6(0x1c4)),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('USE_MAIN_SCENE','false')),fs[_0x3d82c6(0x1fd)](_0x5e1ca3,_0x1976f4,_0x3d82c6(0x209));}}exports[_0x2826c9(0x1f7)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x25d825=_0x4518;function _0x5993(){const _0x5571ae=['includes','96LIGmxy','runWithSimulator','no\x20visionOS\x20simulator\x20found','--\x20visionOS','\x20--validate-app\x20-f\x20','default','64810OFdMwG','version','visionos','\x20--apiKey\x20','119985wvJcdh','\x20--upload-package\x20','\x20simctl','\x20--upload-app\x20-f\x20','--\x20','./xcodebuild','path','8643912iZlTBl','2365bdAAdJ','parseListDevices','build\x20success','.app','authAccount','PROJECT_DIRECTORY','\x20launch\x20\x22','12392487aCFAKb','mkdirSync','Booted','uploadApp','install\x20success','find\x20simulator:\x20','88CYKvVX','deviceId','xcrun','trim','356704ErdYdD','\x20list','validate','/web-spatial.xcodeproj','\x20-t\x20','project','length','install','\x20-u\x20','authApi','push','altool','verbose','Apple\x20Vision\x20Pro','uploadPackage','launch\x20app','\x20shutdown\x20booted','__esModule','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','toString','state','1119401kxqbuz','\x20--apiIssuer\x20','split','name','24xRwHMz','launch','\x20install\x20\x22','simctl','boot','line','\x22\x20\x22','join','\x20list\x20devices\x20\x22','log','XcodebuildCMD','\x27\x20-derivedDataPath\x20','shutdown','listDevices','execSync','214865IjthvE','/test','platform'];_0x5993=function(){return _0x5571ae;};return _0x5993();}(function(_0x482e32,_0x38a525){const _0x57454f=_0x4518,_0xc9d3d2=_0x482e32();while(!![]){try{const _0xc04d6e=-parseInt(_0x57454f(0xd9))/0x1+-parseInt(_0x57454f(0xc4))/0x2*(-parseInt(_0x57454f(0x8e))/0x3)+parseInt(_0x57454f(0xa1))/0x4*(-parseInt(_0x57454f(0xab))/0x5)+-parseInt(_0x57454f(0xb2))/0x6+-parseInt(_0x57454f(0x9d))/0x7*(parseInt(_0x57454f(0xc0))/0x8)+parseInt(_0x57454f(0xba))/0x9+-parseInt(_0x57454f(0xa7))/0xa*(-parseInt(_0x57454f(0xb3))/0xb);if(_0xc04d6e===_0x38a525)break;else _0xc9d3d2['push'](_0xc9d3d2['shift']());}catch(_0x410434){_0xc9d3d2['push'](_0xc9d3d2['shift']());}}}(_0x5993,0xb0a5c));Object['defineProperty'](exports,_0x25d825(0xd5),{'value':!![]});const child_process_1=require('child_process'),resource_1=require('../resource'),path_1=require(_0x25d825(0xb1)),fs=require('fs'),xcodebuild_1=require(_0x25d825(0xb0));function _0x4518(_0x55ba52,_0x579bd8){const _0x5993f1=_0x5993();return _0x4518=function(_0x4518b8,_0x29958a){_0x4518b8=_0x4518b8-0x8d;let _0x52d15e=_0x5993f1[_0x4518b8];return _0x52d15e;},_0x4518(_0x55ba52,_0x579bd8);}class Xcrun{static async[_0x25d825(0xc6)](_0x139e50,_0x5149bb,_0x511e5d,_0x374065){const _0x387e3b=_0x25d825,_0x460a28=new XcrunCMD()[_0x387e3b(0xcf)]();_0x460a28['validate'](_0x139e50);_0x374065?_0x460a28[_0x387e3b(0xb7)](_0x5149bb,_0x511e5d):_0x460a28[_0x387e3b(0xcd)](_0x5149bb,_0x511e5d);_0x460a28[_0x387e3b(0x9f)](_0x387e3b(0xa9));const _0x43f238=(0x0,child_process_1[_0x387e3b(0x9c)])(_0x460a28[_0x387e3b(0x93)]);return _0x43f238['toString']();}static async[_0x25d825(0xd2)](_0xce7101,_0x4c7323,_0x5c0245,_0x2ca6a7,_0xe355a0){const _0x31d3ee=_0x25d825,_0x45fa39=new XcrunCMD()[_0x31d3ee(0xcf)]();_0x45fa39[_0x31d3ee(0xd2)](_0xce7101);_0xe355a0?_0x45fa39[_0x31d3ee(0xb7)](_0x4c7323,_0x5c0245):_0x45fa39[_0x31d3ee(0xcd)](_0x4c7323,_0x5c0245);_0x45fa39[_0x31d3ee(0x9f)](_0x31d3ee(0xa9)),_0x45fa39['appleId'](_0x2ca6a7);const _0x3d4572=(0x0,child_process_1[_0x31d3ee(0x9c)])(_0x45fa39[_0x31d3ee(0x93)]);return _0x3d4572['toString']();}static async[_0x25d825(0xbd)](_0x57bede,_0x14313a,_0x4ee674,_0x5cdcc8){const _0x355330=_0x25d825,_0x53aefa=new XcrunCMD()[_0x355330(0xcf)]();_0x53aefa[_0x355330(0xbd)](_0x57bede);_0x5cdcc8?_0x53aefa[_0x355330(0xb7)](_0x14313a,_0x4ee674):_0x53aefa['authApi'](_0x14313a,_0x4ee674);_0x53aefa[_0x355330(0x9f)](_0x355330(0xa9));const _0x1def12=(0x0,child_process_1['execSync'])(_0x53aefa['line']);return _0x1def12[_0x355330(0xd7)]();}static async[_0x25d825(0xa2)](_0x2b26b6){const _0xac0dd0=_0x25d825;let _0x522ae5=new XcrunCMD()['simctl']();_0x522ae5[_0xac0dd0(0x9b)](_0xac0dd0(0xd1));const _0x50a2cf=(0x0,child_process_1[_0xac0dd0(0x9c)])(_0x522ae5['line']),_0x428836=this[_0xac0dd0(0xb4)](_0x50a2cf['toString']());if(_0x428836[_0xac0dd0(0xca)]===0x0)throw new Error(_0xac0dd0(0xa3));let _0x4058ac=_0x428836[0x0];for(let _0x2422e5=0x0;_0x2422e5<_0x428836[_0xac0dd0(0xca)];_0x2422e5++){if(_0x428836[_0x2422e5][_0xac0dd0(0xd8)]===_0xac0dd0(0xbc)){_0x4058ac=_0x428836[_0x2422e5];break;}}console[_0xac0dd0(0x97)](_0xac0dd0(0xbf)+_0x4058ac[_0xac0dd0(0xc1)]);const _0xd05225=resource_1[_0xac0dd0(0xb8)]+_0xac0dd0(0xc7),_0x50f87c=resource_1['PROJECT_BUILD_DIRECTORY']+_0xac0dd0(0x9e);!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0xac0dd0(0xbb)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs['existsSync'](_0x50f87c)&&fs[_0xac0dd0(0xbb)](_0x50f87c,{'recursive':!![]});const _0x1065e1=new xcodebuild_1[(_0xac0dd0(0x98))]()[_0xac0dd0(0xc9)](_0xd05225)[_0xac0dd0(0x93)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x4058ac[_0xac0dd0(0xc1)]+_0xac0dd0(0x99)+_0x50f87c);console[_0xac0dd0(0x97)]('start\x20building'),(0x0,child_process_1[_0xac0dd0(0x9c)])(_0x1065e1),console[_0xac0dd0(0x97)](_0xac0dd0(0xb5));_0x4058ac[_0xac0dd0(0xd8)]==='Shutdown'&&(_0x522ae5=new XcrunCMD()[_0xac0dd0(0x91)](),_0x522ae5[_0xac0dd0(0x92)](_0x4058ac[_0xac0dd0(0xc1)]),(0x0,child_process_1[_0xac0dd0(0x9c)])(_0x522ae5[_0xac0dd0(0x93)]));(0x0,child_process_1[_0xac0dd0(0x9c)])(_0xac0dd0(0xd6)),console[_0xac0dd0(0x97)]('installing\x20app');const _0x37452f=(0x0,path_1[_0xac0dd0(0x95)])(_0x50f87c,'Build/Products/Debug-xrsimulator/'+_0x2b26b6[_0xac0dd0(0x8d)]+_0xac0dd0(0xb6));_0x522ae5=new XcrunCMD()[_0xac0dd0(0x91)](),_0x522ae5[_0xac0dd0(0xcb)](_0x4058ac[_0xac0dd0(0xc1)],_0x37452f),(0x0,child_process_1['execSync'])(_0x522ae5[_0xac0dd0(0x93)]),console[_0xac0dd0(0x97)](_0xac0dd0(0xbe)),console[_0xac0dd0(0x97)](_0xac0dd0(0xd3)),_0x522ae5=new XcrunCMD()[_0xac0dd0(0x91)](),_0x522ae5['launch'](_0x4058ac[_0xac0dd0(0xc1)],_0x2b26b6['id']),(0x0,child_process_1['execSync'])(_0x522ae5[_0xac0dd0(0x93)]);}static['parseListDevices'](_0x18a616){const _0x47b349=_0x25d825;let _0x23dc12=_0x18a616['split']('\x0a'),_0x260aff=[],_0xc20898=-0x1;for(let _0x243078=0x0;_0x243078<_0x23dc12[_0x47b349(0xca)];_0x243078++){if(_0x23dc12[_0x243078][_0x47b349(0xa0)](_0x47b349(0xa4)))_0xc20898=_0x243078;else{if(_0xc20898>0x0){if(_0x23dc12[_0x243078][_0x47b349(0xa0)](_0x47b349(0xaf)))break;if(_0x23dc12[_0x243078][_0x47b349(0xca)]>0x0){const _0x2bdc3c=_0x23dc12[_0x243078][_0x47b349(0xdb)]('('),_0x266ff8={'name':_0x2bdc3c[0x0][_0x47b349(0xc3)](),'deviceId':_0x2bdc3c[0x1]['split'](')')[0x0]['trim'](),'state':_0x2bdc3c[0x2][_0x47b349(0xdb)](')')[0x0][_0x47b349(0xc3)]()};_0x260aff[_0x47b349(0xce)](_0x266ff8);}}}}return _0x260aff;}}exports[_0x25d825(0xa6)]=Xcrun;class XcrunCMD{constructor(){const _0x7a93fd=_0x25d825;this[_0x7a93fd(0x93)]=_0x7a93fd(0xc2);}[_0x25d825(0xcf)](){return this['line']+='\x20altool',this;}['simctl'](){const _0x54aa13=_0x25d825;return this[_0x54aa13(0x93)]+=_0x54aa13(0xad),this;}['list'](){const _0x30c28d=_0x25d825;return this[_0x30c28d(0x93)]+=_0x30c28d(0xc5),this;}[_0x25d825(0x9b)](_0x24b524){const _0x5c30e3=_0x25d825;return this[_0x5c30e3(0x93)]+=_0x5c30e3(0x96)+_0x24b524+'\x22',this;}[_0x25d825(0xc6)](_0x15e347){const _0x2f210e=_0x25d825;return this[_0x2f210e(0x93)]+=_0x2f210e(0xa5)+_0x15e347,this;}[_0x25d825(0xbd)](_0x531d2b){const _0x548565=_0x25d825;return this[_0x548565(0x93)]+=_0x548565(0xae)+_0x531d2b,this;}[_0x25d825(0xd2)](_0x4ec4cc){const _0x5c79b2=_0x25d825;return this[_0x5c79b2(0x93)]+=_0x5c79b2(0xac)+_0x4ec4cc,this;}[_0x25d825(0xb7)](_0x46fcf2,_0x4552a1){const _0xbbc5d6=_0x25d825;return this[_0xbbc5d6(0x93)]+=_0xbbc5d6(0xcc)+_0x46fcf2+'\x20-p\x20'+_0x4552a1,this;}['authApi'](_0x22d143,_0x33a7bb){const _0x45ed6a=_0x25d825;return this['line']+=_0x45ed6a(0xaa)+_0x22d143+_0x45ed6a(0xda)+_0x33a7bb,this;}['appleId'](_0x178ae2){const _0x3bf4fe=_0x25d825;return this[_0x3bf4fe(0x93)]+='\x20--apple-id\x20'+_0x178ae2,this;}[_0x25d825(0x9f)](_0x207297){const _0x3195fc=_0x25d825;return this[_0x3195fc(0x93)]+=_0x3195fc(0xc8)+_0x207297,this;}[_0x25d825(0xa8)](_0x2a2e67){return this['line']+='\x20--bundle-version\x20'+_0x2a2e67,this;}[_0x25d825(0xd0)](){const _0x4c0b5e=_0x25d825;return this[_0x4c0b5e(0x93)]+='\x20--verbose',this;}[_0x25d825(0x9a)](){const _0x2df297=_0x25d825;return this[_0x2df297(0x93)]+=_0x2df297(0xd4),this;}[_0x25d825(0x92)](_0x205e4d){const _0x241393=_0x25d825;return this[_0x241393(0x93)]+='\x20boot\x20\x22'+_0x205e4d+'\x22',this;}['install'](_0x297f57,_0x5ba40a){const _0x5f10be=_0x25d825;return this[_0x5f10be(0x93)]+=_0x5f10be(0x90)+_0x297f57+_0x5f10be(0x94)+_0x5ba40a+'\x22',this;}[_0x25d825(0x8f)](_0x32d068,_0x34672f){const _0x4219e3=_0x25d825;return this[_0x4219e3(0x93)]+=_0x4219e3(0xb9)+_0x32d068+'\x22\x20\x22'+_0x34672f+'\x22',this;}}
1
+ 'use strict';const _0x573fe3=_0x2c93;(function(_0x3303d8,_0x1d7462){const _0xa912d2=_0x2c93,_0x27bb0d=_0x3303d8();while(!![]){try{const _0x519d87=-parseInt(_0xa912d2(0x199))/0x1*(parseInt(_0xa912d2(0x1c5))/0x2)+parseInt(_0xa912d2(0x1bc))/0x3+-parseInt(_0xa912d2(0x1a8))/0x4+parseInt(_0xa912d2(0x18f))/0x5+-parseInt(_0xa912d2(0x1a0))/0x6*(-parseInt(_0xa912d2(0x193))/0x7)+-parseInt(_0xa912d2(0x1d0))/0x8+parseInt(_0xa912d2(0x1d2))/0x9;if(_0x519d87===_0x1d7462)break;else _0x27bb0d['push'](_0x27bb0d['shift']());}catch(_0x27a724){_0x27bb0d['push'](_0x27bb0d['shift']());}}}(_0x31e7,0x7e47f));Object['defineProperty'](exports,_0x573fe3(0x1b0),{'value':!![]});function _0x31e7(){const _0x5bcc60=['default','join','\x20list','\x22\x20\x22','18nmtyby','\x20shutdown\x20booted','\x20list\x20devices\x20\x22','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','path','split','no\x20visionOS\x20simulator\x20found','push','2024472HATZLE','installing\x20app','authAccount','\x20--upload-package\x20','xcrun','simctl','--\x20visionOS','Apple\x20Vision\x20Pro','__esModule','build\x20success','install','/test','\x20simctl','Booted','list','child_process','./xcodebuild','\x20boot\x20\x22','appleId','platform','1332432UkNACk','start\x20building','line','launch','\x20--apple-id\x20','launch\x20app','\x20install\x20\x22','includes','PROJECT_DIRECTORY','26DVJKYD','validate','length','uploadApp','parseListDevices','\x20--apiIssuer\x20','Build/Products/Debug-xrsimulator/','visionos','authApi','\x20--validate-app\x20-f\x20','runWithSimulator','2685328OuvZmO','PROJECT_BUILD_DIRECTORY','5124006OccBXu','/web-spatial.xcodeproj','install\x20success','XcodebuildCMD','\x27\x20-derivedDataPath\x20','shutdown','--\x20','deviceId','existsSync','\x20--bundle-version\x20','state','.app','log','uploadPackage','mkdirSync','\x20-u\x20','verbose','4826680bVsbrk','listDevices','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','execSync','785827fuFCUM','boot','altool','name','toString','trim','73582eVBuwl','find\x20simulator:\x20','\x20altool'];_0x31e7=function(){return _0x5bcc60;};return _0x31e7();}const child_process_1=require(_0x573fe3(0x1b7)),resource_1=require('../resource'),path_1=require(_0x573fe3(0x1a4)),fs=require('fs'),xcodebuild_1=require(_0x573fe3(0x1b8));function _0x2c93(_0x1bf645,_0x4369e7){const _0x31e7a0=_0x31e7();return _0x2c93=function(_0x2c93fe,_0x1ac459){_0x2c93fe=_0x2c93fe-0x18f;let _0x146a18=_0x31e7a0[_0x2c93fe];return _0x146a18;},_0x2c93(_0x1bf645,_0x4369e7);}class Xcrun{static async[_0x573fe3(0x1c6)](_0x2cf6bb,_0x39d886,_0x82b780,_0x2b65a6){const _0x40c269=_0x573fe3,_0x5d3ce0=new XcrunCMD()[_0x40c269(0x195)]();_0x5d3ce0[_0x40c269(0x1c6)](_0x2cf6bb);_0x2b65a6?_0x5d3ce0[_0x40c269(0x1aa)](_0x39d886,_0x82b780):_0x5d3ce0['authApi'](_0x39d886,_0x82b780);_0x5d3ce0[_0x40c269(0x1bb)]('visionos');const _0x4d0289=(0x0,child_process_1[_0x40c269(0x192)])(_0x5d3ce0[_0x40c269(0x1be)]);return _0x4d0289[_0x40c269(0x197)]();}static async[_0x573fe3(0x1df)](_0x568832,_0x1a0935,_0x4bd6f7,_0x16f54f,_0x5e2ec7){const _0x811e55=_0x573fe3,_0x13d443=new XcrunCMD()[_0x811e55(0x195)]();_0x13d443[_0x811e55(0x1df)](_0x568832);_0x5e2ec7?_0x13d443['authAccount'](_0x1a0935,_0x4bd6f7):_0x13d443[_0x811e55(0x1cd)](_0x1a0935,_0x4bd6f7);_0x13d443['platform'](_0x811e55(0x1cc)),_0x13d443[_0x811e55(0x1ba)](_0x16f54f);const _0x5ccb2b=(0x0,child_process_1[_0x811e55(0x192)])(_0x13d443[_0x811e55(0x1be)]);return _0x5ccb2b[_0x811e55(0x197)]();}static async['uploadApp'](_0x2a3f74,_0xf5fe1b,_0x7ed2f4,_0x220f59){const _0x3156e3=_0x573fe3,_0x22250d=new XcrunCMD()[_0x3156e3(0x195)]();_0x22250d[_0x3156e3(0x1c8)](_0x2a3f74);_0x220f59?_0x22250d[_0x3156e3(0x1aa)](_0xf5fe1b,_0x7ed2f4):_0x22250d['authApi'](_0xf5fe1b,_0x7ed2f4);_0x22250d[_0x3156e3(0x1bb)](_0x3156e3(0x1cc));const _0x2fcf2d=(0x0,child_process_1[_0x3156e3(0x192)])(_0x22250d[_0x3156e3(0x1be)]);return _0x2fcf2d['toString']();}static async[_0x573fe3(0x1cf)](_0x496a94){const _0x5a0ce8=_0x573fe3;let _0x1cedc5=new XcrunCMD()[_0x5a0ce8(0x1ad)]();_0x1cedc5[_0x5a0ce8(0x190)](_0x5a0ce8(0x1af));const _0x5f1489=(0x0,child_process_1[_0x5a0ce8(0x192)])(_0x1cedc5[_0x5a0ce8(0x1be)]),_0x5916c4=this[_0x5a0ce8(0x1c9)](_0x5f1489[_0x5a0ce8(0x197)]());if(_0x5916c4['length']===0x0)throw new Error(_0x5a0ce8(0x1a6));let _0x24449f=_0x5916c4[0x0];for(let _0x5f56bb=0x0;_0x5f56bb<_0x5916c4[_0x5a0ce8(0x1c7)];_0x5f56bb++){if(_0x5916c4[_0x5f56bb][_0x5a0ce8(0x1dc)]===_0x5a0ce8(0x1b5)){_0x24449f=_0x5916c4[_0x5f56bb];break;}}console[_0x5a0ce8(0x1de)](_0x5a0ce8(0x19a)+_0x24449f['deviceId']);const _0x1975a4=resource_1[_0x5a0ce8(0x1c4)]+_0x5a0ce8(0x1d3),_0x3c9b2b=resource_1[_0x5a0ce8(0x1d1)]+_0x5a0ce8(0x1b3);!fs[_0x5a0ce8(0x1da)](resource_1[_0x5a0ce8(0x1d1)])&&fs[_0x5a0ce8(0x1e0)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x5a0ce8(0x1da)](_0x3c9b2b)&&fs[_0x5a0ce8(0x1e0)](_0x3c9b2b,{'recursive':!![]});const _0x2c6b77=new xcodebuild_1[(_0x5a0ce8(0x1d5))]()['project'](_0x1975a4)[_0x5a0ce8(0x1be)]+(_0x5a0ce8(0x191)+_0x24449f['deviceId']+_0x5a0ce8(0x1d6)+_0x3c9b2b);console[_0x5a0ce8(0x1de)](_0x5a0ce8(0x1bd)),(0x0,child_process_1['execSync'])(_0x2c6b77),console['log'](_0x5a0ce8(0x1b1));_0x24449f[_0x5a0ce8(0x1dc)]==='Shutdown'&&(_0x1cedc5=new XcrunCMD()['simctl'](),_0x1cedc5[_0x5a0ce8(0x194)](_0x24449f['deviceId']),(0x0,child_process_1[_0x5a0ce8(0x192)])(_0x1cedc5[_0x5a0ce8(0x1be)]));(0x0,child_process_1['execSync'])(_0x5a0ce8(0x1a3)),console['log'](_0x5a0ce8(0x1a9));const _0x4ce63d=(0x0,path_1[_0x5a0ce8(0x19d)])(_0x3c9b2b,_0x5a0ce8(0x1cb)+_0x496a94[_0x5a0ce8(0x196)]+_0x5a0ce8(0x1dd));_0x1cedc5=new XcrunCMD()[_0x5a0ce8(0x1ad)](),_0x1cedc5[_0x5a0ce8(0x1b2)](_0x24449f[_0x5a0ce8(0x1d9)],_0x4ce63d),(0x0,child_process_1['execSync'])(_0x1cedc5['line']),console['log'](_0x5a0ce8(0x1d4)),console[_0x5a0ce8(0x1de)](_0x5a0ce8(0x1c1)),_0x1cedc5=new XcrunCMD()[_0x5a0ce8(0x1ad)](),_0x1cedc5[_0x5a0ce8(0x1bf)](_0x24449f[_0x5a0ce8(0x1d9)],_0x496a94['id']),(0x0,child_process_1[_0x5a0ce8(0x192)])(_0x1cedc5[_0x5a0ce8(0x1be)]);}static[_0x573fe3(0x1c9)](_0x28f60a){const _0x153f09=_0x573fe3;let _0x3715b4=_0x28f60a[_0x153f09(0x1a5)]('\x0a'),_0x57a3f1=[],_0xe70c1f=-0x1;for(let _0x1861c8=0x0;_0x1861c8<_0x3715b4['length'];_0x1861c8++){if(_0x3715b4[_0x1861c8][_0x153f09(0x1c3)](_0x153f09(0x1ae)))_0xe70c1f=_0x1861c8;else{if(_0xe70c1f>0x0){if(_0x3715b4[_0x1861c8][_0x153f09(0x1c3)](_0x153f09(0x1d8)))break;if(_0x3715b4[_0x1861c8]['length']>0x0){const _0x21ebf0=_0x3715b4[_0x1861c8][_0x153f09(0x1a5)]('('),_0xde8ecd={'name':_0x21ebf0[0x0]['trim'](),'deviceId':_0x21ebf0[0x1][_0x153f09(0x1a5)](')')[0x0][_0x153f09(0x198)](),'state':_0x21ebf0[0x2][_0x153f09(0x1a5)](')')[0x0][_0x153f09(0x198)]()};_0x57a3f1[_0x153f09(0x1a7)](_0xde8ecd);}}}}return _0x57a3f1;}}exports[_0x573fe3(0x19c)]=Xcrun;class XcrunCMD{constructor(){const _0x509a1f=_0x573fe3;this[_0x509a1f(0x1be)]=_0x509a1f(0x1ac);}[_0x573fe3(0x195)](){const _0x561af3=_0x573fe3;return this[_0x561af3(0x1be)]+=_0x561af3(0x19b),this;}[_0x573fe3(0x1ad)](){const _0x323789=_0x573fe3;return this[_0x323789(0x1be)]+=_0x323789(0x1b4),this;}[_0x573fe3(0x1b6)](){const _0x36bf2d=_0x573fe3;return this[_0x36bf2d(0x1be)]+=_0x36bf2d(0x19e),this;}[_0x573fe3(0x190)](_0x53fd6f){const _0x1fc5f5=_0x573fe3;return this[_0x1fc5f5(0x1be)]+=_0x1fc5f5(0x1a2)+_0x53fd6f+'\x22',this;}[_0x573fe3(0x1c6)](_0x411a35){const _0x58401a=_0x573fe3;return this[_0x58401a(0x1be)]+=_0x58401a(0x1ce)+_0x411a35,this;}['uploadApp'](_0x2e6a1d){const _0x132c3c=_0x573fe3;return this[_0x132c3c(0x1be)]+='\x20--upload-app\x20-f\x20'+_0x2e6a1d,this;}[_0x573fe3(0x1df)](_0x267ec5){const _0x2f827d=_0x573fe3;return this[_0x2f827d(0x1be)]+=_0x2f827d(0x1ab)+_0x267ec5,this;}[_0x573fe3(0x1aa)](_0x593223,_0xe444fd){const _0x3435bb=_0x573fe3;return this[_0x3435bb(0x1be)]+=_0x3435bb(0x1e1)+_0x593223+'\x20-p\x20'+_0xe444fd,this;}[_0x573fe3(0x1cd)](_0x58dcf7,_0x22c735){const _0x276449=_0x573fe3;return this[_0x276449(0x1be)]+='\x20--apiKey\x20'+_0x58dcf7+_0x276449(0x1ca)+_0x22c735,this;}[_0x573fe3(0x1ba)](_0x55be13){const _0x1630f3=_0x573fe3;return this[_0x1630f3(0x1be)]+=_0x1630f3(0x1c0)+_0x55be13,this;}['platform'](_0x132a5e){const _0x54030c=_0x573fe3;return this[_0x54030c(0x1be)]+='\x20-t\x20'+_0x132a5e,this;}['version'](_0x38f9da){const _0x489cdc=_0x573fe3;return this[_0x489cdc(0x1be)]+=_0x489cdc(0x1db)+_0x38f9da,this;}[_0x573fe3(0x1e2)](){const _0xa02691=_0x573fe3;return this[_0xa02691(0x1be)]+='\x20--verbose',this;}[_0x573fe3(0x1d7)](){const _0x2295b7=_0x573fe3;return this['line']+=_0x2295b7(0x1a1),this;}[_0x573fe3(0x194)](_0x3de909){const _0x1fd8e7=_0x573fe3;return this[_0x1fd8e7(0x1be)]+=_0x1fd8e7(0x1b9)+_0x3de909+'\x22',this;}[_0x573fe3(0x1b2)](_0x3bb390,_0x5dd982){const _0x1e80ba=_0x573fe3;return this[_0x1e80ba(0x1be)]+=_0x1e80ba(0x1c2)+_0x3bb390+_0x1e80ba(0x19f)+_0x5dd982+'\x22',this;}['launch'](_0x5afbd8,_0x48e251){const _0x415a83=_0x573fe3;return this[_0x415a83(0x1be)]+='\x20launch\x20\x22'+_0x5afbd8+_0x415a83(0x19f)+_0x48e251+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.17",
3
+ "version": "0.0.18-alpha.0",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {