@webspatial/builder 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xf26f83=_0x2f85;(function(_0x4434d2,_0x29a86a){const _0x65d92d=_0x2f85,_0x5c6648=_0x4434d2();while(!![]){try{const _0x39cd41=parseInt(_0x65d92d(0x190))/0x1*(-parseInt(_0x65d92d(0x196))/0x2)+-parseInt(_0x65d92d(0x18c))/0x3*(parseInt(_0x65d92d(0x18a))/0x4)+parseInt(_0x65d92d(0x198))/0x5*(-parseInt(_0x65d92d(0x181))/0x6)+parseInt(_0x65d92d(0x18b))/0x7*(-parseInt(_0x65d92d(0x183))/0x8)+parseInt(_0x65d92d(0x184))/0x9+parseInt(_0x65d92d(0x187))/0xa*(parseInt(_0x65d92d(0x197))/0xb)+-parseInt(_0x65d92d(0x195))/0xc*(-parseInt(_0x65d92d(0x192))/0xd);if(_0x39cd41===_0x29a86a)break;else _0x5c6648['push'](_0x5c6648['shift']());}catch(_0x19b07b){_0x5c6648['push'](_0x5c6648['shift']());}}}(_0x1060,0xbae75));Object['defineProperty'](exports,'__esModule',{'value':!![]});function _0x1060(){const _0x15cced=['./lib/utils/CustomError','./lib/Cli','36460oVtRbJ','run','message','28416kIzZmO','14RmCKGW','39xsCyIA','CustomError','isArray','exit','31589Retdtq','code','26sSuJwM','exports','argv','10497156VdmjqP','6hDYKab','1760NpxLXt','10HVECOx','error','2962788zWMyZw','log','4891624eWMYAi','7472628DLFISY'];_0x1060=function(){return _0x15cced;};return _0x1060();}const Cli_1=require(_0xf26f83(0x186)),CustomError_1=require(_0xf26f83(0x185));function _0x2f85(_0x422447,_0x585ca7){const _0x1060a8=_0x1060();return _0x2f85=function(_0x2f85d6,_0x340670){_0x2f85d6=_0x2f85d6-0x180;let _0x352a44=_0x1060a8[_0x2f85d6];return _0x352a44;},_0x2f85(_0x422447,_0x585ca7);}module[_0xf26f83(0x193)]=async()=>{const _0x285266=_0xf26f83,_0x4040fa=new Cli_1['Cli'](),_0x38fe35=Cli_1['Cli'][_0x285266(0x182)],_0x11f68d=process[_0x285266(0x194)]['slice'](0x2);let _0x2fd188;try{_0x2fd188=await _0x4040fa[_0x285266(0x188)](_0x11f68d);}catch(_0x9fd7e1){if(_0x9fd7e1 instanceof CustomError_1[_0x285266(0x18d)]){const _0x537566=_0x9fd7e1['customMessage'];Array[_0x285266(0x18e)](_0x537566)?_0x537566['forEach'](_0x171a38=>{const _0x30cbff=_0x285266;_0x38fe35[_0x30cbff(0x180)](_0x171a38[_0x30cbff(0x191)]+':\x20'+_0x171a38[_0x30cbff(0x189)]);}):_0x38fe35[_0x285266(0x180)](_0x537566['code']+':\x20'+_0x537566['message']);}else _0x38fe35[_0x285266(0x180)](_0x9fd7e1['message']);_0x2fd188=![];}!_0x2fd188?process[_0x285266(0x18f)](0x1):process[_0x285266(0x18f)](0x0);};
1
+ 'use strict';function _0x43c6(_0x5bed1f,_0x3be326){const _0x554daf=_0x554d();return _0x43c6=function(_0x43c67a,_0xc3ab69){_0x43c67a=_0x43c67a-0xaf;let _0x543ca4=_0x554daf[_0x43c67a];return _0x543ca4;},_0x43c6(_0x5bed1f,_0x3be326);}function _0x554d(){const _0xc2d23e=['__esModule','error','2297TtBVUO','164367MIljRu','defineProperty','12tXtIyP','argv','log','exit','./lib/utils/CustomError','4358228smpnSs','customMessage','code','Cli','8YkmqXe','CustomError','message','exports','991920EynGLp','slice','322LDIKgD','3197100ijVxdq','1023804wlzfXW','./lib/Cli','111400FUupxa'];_0x554d=function(){return _0xc2d23e;};return _0x554d();}const _0x5c62bb=_0x43c6;(function(_0x58a6e9,_0x2a483f){const _0x354125=_0x43c6,_0x3b3b46=_0x58a6e9();while(!![]){try{const _0x5d1e9d=-parseInt(_0x354125(0xb5))/0x1*(-parseInt(_0x354125(0xc7))/0x2)+-parseInt(_0x354125(0xb6))/0x3*(parseInt(_0x354125(0xb8))/0x4)+parseInt(_0x354125(0xb2))/0x5+-parseInt(_0x354125(0xaf))/0x6+-parseInt(_0x354125(0xbd))/0x7*(-parseInt(_0x354125(0xc1))/0x8)+parseInt(_0x354125(0xb0))/0x9+-parseInt(_0x354125(0xc5))/0xa;if(_0x5d1e9d===_0x2a483f)break;else _0x3b3b46['push'](_0x3b3b46['shift']());}catch(_0x350e03){_0x3b3b46['push'](_0x3b3b46['shift']());}}}(_0x554d,0x51110));Object[_0x5c62bb(0xb7)](exports,_0x5c62bb(0xb3),{'value':!![]});const Cli_1=require(_0x5c62bb(0xb1)),CustomError_1=require(_0x5c62bb(0xbc));module[_0x5c62bb(0xc4)]=async()=>{const _0x5c5699=_0x5c62bb,_0x325532=new Cli_1[(_0x5c5699(0xc0))](),_0x592edd=Cli_1[_0x5c5699(0xc0)][_0x5c5699(0xba)],_0xaa412=process[_0x5c5699(0xb9)][_0x5c5699(0xc6)](0x2);let _0x3cd211;try{_0x3cd211=await _0x325532['run'](_0xaa412);}catch(_0x27ba86){if(_0x27ba86 instanceof CustomError_1[_0x5c5699(0xc2)]){const _0x5471ea=_0x27ba86[_0x5c5699(0xbe)];Array['isArray'](_0x5471ea)?_0x5471ea['forEach'](_0x1b7c81=>{const _0x35d9a1=_0x5c5699;_0x592edd[_0x35d9a1(0xb4)](_0x1b7c81[_0x35d9a1(0xbf)]+':\x20'+_0x1b7c81[_0x35d9a1(0xc3)]);}):_0x592edd[_0x5c5699(0xb4)](_0x5471ea[_0x5c5699(0xbf)]+':\x20'+_0x5471ea[_0x5c5699(0xc3)]);}else _0x592edd[_0x5c5699(0xb4)](_0x27ba86[_0x5c5699(0xc3)]);_0x3cd211=![];}!_0x3cd211?process[_0x5c5699(0xbb)](0x1):process[_0x5c5699(0xbb)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b7364=_0x100f;function _0x100f(_0x23fe13,_0x3d2252){const _0x413a8c=_0x413a();return _0x100f=function(_0x100ff5,_0x3970f9){_0x100ff5=_0x100ff5-0x1f4;let _0x55d1d3=_0x413a8c[_0x100ff5];return _0x55d1d3;},_0x100f(_0x23fe13,_0x3d2252);}(function(_0x5693b5,_0x442063){const _0x219596=_0x100f,_0x11d285=_0x5693b5();while(!![]){try{const _0x10247b=-parseInt(_0x219596(0x205))/0x1+-parseInt(_0x219596(0x209))/0x2*(-parseInt(_0x219596(0x219))/0x3)+-parseInt(_0x219596(0x1f6))/0x4+parseInt(_0x219596(0x211))/0x5*(-parseInt(_0x219596(0x206))/0x6)+parseInt(_0x219596(0x20b))/0x7*(-parseInt(_0x219596(0x203))/0x8)+-parseInt(_0x219596(0x216))/0x9+parseInt(_0x219596(0x1fb))/0xa;if(_0x10247b===_0x442063)break;else _0x11d285['push'](_0x11d285['shift']());}catch(_0x2f34ed){_0x11d285['push'](_0x11d285['shift']());}}}(_0x413a,0xe85b6));Object[_0x1b7364(0x217)](exports,_0x1b7364(0x215),{'value':!![]}),exports[_0x1b7364(0x1f4)]=void 0x0;const minimist=require(_0x1b7364(0x20e)),semver_1=require('semver'),Log_1=require(_0x1b7364(0x20d)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x1b7364(0x1fa)),build_1=require(_0x1b7364(0x20a)),version_1=require(_0x1b7364(0x210)),fetch_1=require(_0x1b7364(0x1fc));class Cli{async['run'](_0x127bd2){const _0x52ade3=_0x1b7364;if((0x0,semver_1['major'])(process[_0x52ade3(0x204)][_0x52ade3(0x1f7)])<0xe)throw new Error(_0x52ade3(0x20f)+process['versions'][_0x52ade3(0x1f7)]+'.'+_0x52ade3(0x214));FetchUtils_1_1['fetchUtils'][_0x52ade3(0x1f5)](fetch_1[_0x52ade3(0x207)]),FetchUtils_1_1['fetchUtils'][_0x52ade3(0x1ff)](fetch_1[_0x52ade3(0x1f8)]),FetchUtils_1_1['fetchUtils']['setDecompressResponseBuffer'](fetch_1[_0x52ade3(0x212)]);const _0x72cc08=minimist(_0x127bd2);let _0x113ed7=undefined;if(_0x72cc08['_']['length']===0x0){if(_0x72cc08[_0x52ade3(0x20c)])_0x113ed7=_0x52ade3(0x20c);else _0x72cc08['help']&&(_0x113ed7='help');}else _0x113ed7=_0x72cc08['_'][0x0];!_0x113ed7&&(_0x113ed7='help');switch(_0x113ed7){case _0x52ade3(0x201):case'h':return await(0x0,help_1['help'])(_0x72cc08);case'build':return await(0x0,build_1[_0x52ade3(0x200)])(_0x72cc08);case _0x52ade3(0x202):return await(0x0,build_1[_0x52ade3(0x1fe)])(_0x72cc08);case _0x52ade3(0x1f9):return await(0x0,build_1[_0x52ade3(0x1f9)])(_0x72cc08);case'version':{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x113ed7+_0x52ade3(0x1fd));}}}function _0x413a(){const _0x2eb79a=['2024735gOLJkh','decompressResponseBuffer','ConsoleLog','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','__esModule','12952935iUDrzc','defineProperty','log','643773orQpIT','Cli','setFetch','1322628meGOWn','node','downloadFile','run','./cmds/help','51500360YJjOkm','./utils/fetch','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','store','setDownloadFile','start','help','publish','1032ndokFx','versions','1867070BHuNfK','6ZvRKHT','fetch','webspatial-builder','2hPZLRB','./cmds/build','20132cFDUyR','version','../lib/utils/Log','minimist','Current\x20Node.js\x20version\x20is\x20','./cmds/version'];_0x413a=function(){return _0x2eb79a;};return _0x413a();}exports[_0x1b7364(0x1f4)]=Cli,Cli[_0x1b7364(0x218)]=new Log_1[(_0x1b7364(0x213))](_0x1b7364(0x208));
1
+ 'use strict';const _0x184efa=_0x57a1;(function(_0x266ccc,_0xee0d22){const _0x401d84=_0x57a1,_0x10dfc0=_0x266ccc();while(!![]){try{const _0x3ca7f1=-parseInt(_0x401d84(0x1a2))/0x1+parseInt(_0x401d84(0x1ad))/0x2*(parseInt(_0x401d84(0x19e))/0x3)+parseInt(_0x401d84(0x1b9))/0x4+parseInt(_0x401d84(0x1b1))/0x5*(-parseInt(_0x401d84(0x196))/0x6)+-parseInt(_0x401d84(0x19f))/0x7*(-parseInt(_0x401d84(0x1a8))/0x8)+-parseInt(_0x401d84(0x1b2))/0x9*(parseInt(_0x401d84(0x199))/0xa)+parseInt(_0x401d84(0x1b4))/0xb;if(_0x3ca7f1===_0xee0d22)break;else _0x10dfc0['push'](_0x10dfc0['shift']());}catch(_0xca78d1){_0x10dfc0['push'](_0x10dfc0['shift']());}}}(_0x4b7b,0xe2b06));function _0x57a1(_0x3ee9b4,_0x437a2f){const _0x4b7b71=_0x4b7b();return _0x57a1=function(_0x57a16d,_0x42c6db){_0x57a16d=_0x57a16d-0x196;let _0x1d4d63=_0x4b7b71[_0x57a16d];return _0x1d4d63;},_0x57a1(_0x3ee9b4,_0x437a2f);}Object['defineProperty'](exports,_0x184efa(0x1b5),{'value':!![]}),exports[_0x184efa(0x1af)]=void 0x0;const minimist=require(_0x184efa(0x1aa)),semver_1=require(_0x184efa(0x1a3)),Log_1=require(_0x184efa(0x198)),FetchUtils_1_1=require(_0x184efa(0x197)),help_1=require('./cmds/help'),build_1=require('./cmds/build'),version_1=require(_0x184efa(0x1b3)),fetch_1=require(_0x184efa(0x1b6));class Cli{async[_0x184efa(0x1a7)](_0x2c6994){const _0xef34c2=_0x184efa;if((0x0,semver_1['major'])(process[_0xef34c2(0x19a)][_0xef34c2(0x1ab)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0xef34c2(0x1ab)]+'.'+_0xef34c2(0x1b8));FetchUtils_1_1[_0xef34c2(0x1a9)][_0xef34c2(0x19c)](fetch_1[_0xef34c2(0x19d)]),FetchUtils_1_1['fetchUtils']['setDownloadFile'](fetch_1['downloadFile']),FetchUtils_1_1[_0xef34c2(0x1a9)]['setDecompressResponseBuffer'](fetch_1['decompressResponseBuffer']);const _0x125238=minimist(_0x2c6994);let _0x1c43a0=undefined;if(_0x125238['_'][_0xef34c2(0x1a0)]===0x0){if(_0x125238['version'])_0x1c43a0='version';else _0x125238['help']&&(_0x1c43a0=_0xef34c2(0x1b7));}else _0x1c43a0=_0x125238['_'][0x0];!_0x1c43a0&&(_0x1c43a0='help');switch(_0x1c43a0){case _0xef34c2(0x1b7):case'h':return await(0x0,help_1[_0xef34c2(0x1b7)])(_0x125238);case'build':return await(0x0,build_1[_0xef34c2(0x1a1)])(_0x125238);case _0xef34c2(0x1a4):return await(0x0,build_1[_0xef34c2(0x1b0)])(_0x125238);case'run':return await(0x0,build_1['run'])(_0x125238);case _0xef34c2(0x1ae):{return await(0x0,version_1[_0xef34c2(0x1ae)])();}default:throw new Error('\x22'+_0x1c43a0+_0xef34c2(0x19b));}}}exports['Cli']=Cli,Cli[_0x184efa(0x1a6)]=new Log_1[(_0x184efa(0x1ac))](_0x184efa(0x1a5));function _0x4b7b(){const _0x40eefa=['./cmds/version','2642805QuuZqM','__esModule','./utils/fetch','help','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','6830940OUqQCd','10482JLYIhN','./utils/FetchUtils-1','../lib/utils/Log','10RbnIwp','versions','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','setFetch','fetch','9fIvonN','448goFLcM','length','start','686309HsmWGJ','semver','publish','webspatial-builder','log','run','98488RmWRVI','fetchUtils','minimist','node','ConsoleLog','256394hzwAlj','version','Cli','store','355WNMWoW','12434589uyckpJ'];_0x4b7b=function(){return _0x40eefa;};return _0x4b7b();}
@@ -1 +1 @@
1
- 'use strict';function _0x11bf(_0x351968,_0x4b7e42){const _0x32aa7a=_0x32aa();return _0x11bf=function(_0x11bfe9,_0x5c39d7){_0x11bfe9=_0x11bfe9-0xa4;let _0x4aa96d=_0x32aa7a[_0x11bfe9];return _0x4aa96d;},_0x11bf(_0x351968,_0x4b7e42);}const _0x511806=_0x11bf;(function(_0x3dc6bb,_0x5736fe){const _0x4a5d76=_0x11bf,_0x5c2c05=_0x3dc6bb();while(!![]){try{const _0x45e8d3=parseInt(_0x4a5d76(0xb5))/0x1*(parseInt(_0x4a5d76(0xb0))/0x2)+-parseInt(_0x4a5d76(0xc7))/0x3*(-parseInt(_0x4a5d76(0xaf))/0x4)+parseInt(_0x4a5d76(0xa6))/0x5*(-parseInt(_0x4a5d76(0xaa))/0x6)+parseInt(_0x4a5d76(0xb2))/0x7+parseInt(_0x4a5d76(0xab))/0x8*(-parseInt(_0x4a5d76(0xc3))/0x9)+parseInt(_0x4a5d76(0xba))/0xa+-parseInt(_0x4a5d76(0xa7))/0xb;if(_0x45e8d3===_0x5736fe)break;else _0x5c2c05['push'](_0x5c2c05['shift']());}catch(_0x5bd9c5){_0x5c2c05['push'](_0x5c2c05['shift']());}}}(_0x32aa,0x8fd35));Object[_0x511806(0xc0)](exports,_0x511806(0xb1),{'value':!![]}),exports[_0x511806(0xbd)]=start,exports[_0x511806(0xac)]=store,exports[_0x511806(0xa5)]=run;const pwa_1=require(_0x511806(0xb3)),resource_1=require('../resource'),xcode_1=require('../xcode'),check_1=require(_0x511806(0xb6));async function start(_0x37bc40,_0x57890d=![]){const _0x3d0221=_0x511806;var _0x37b76b,_0x5ca178;(0x0,check_1[_0x3d0221(0xb7)])(_0x37bc40,_0x57890d),resource_1[_0x3d0221(0xb4)][_0x3d0221(0xc5)](_0x37bc40[_0x3d0221(0xa8)]),console[_0x3d0221(0xa9)]('-------------------\x20build\x20start\x20-------------------');let _0x5e87db=await pwa_1[_0x3d0221(0xbb)][_0x3d0221(0xbc)](_0x37bc40,_0x57890d);!_0x5e87db['fromNet']&&(await resource_1[_0x3d0221(0xb4)][_0x3d0221(0xc2)]((_0x37b76b=_0x37bc40['project'])!==null&&_0x37b76b!==void 0x0?_0x37b76b:_0x3d0221(0xbf)),console[_0x3d0221(0xa9)]('move\x20web\x20project:\x20ok'));let _0x17e855;return((_0x5ca178=_0x5e87db[_0x3d0221(0xc6)]['icons'])===null||_0x5ca178===void 0x0?void 0x0:_0x5ca178[_0x3d0221(0xca)])&&_0x57890d&&(_0x17e855=await resource_1[_0x3d0221(0xb4)][_0x3d0221(0xc8)](_0x5e87db)),console[_0x3d0221(0xa9)]('generate\x20icon:\x20ok'),await xcode_1['XcodeManager']['parseProject']({'icon':_0x17e855,'manifestInfo':_0x5e87db,'teamId':_0x37bc40[_0x3d0221(0xcb)],'version':_0x37bc40[_0x3d0221(0xc4)],'buildType':_0x37bc40['buildType'],'export':_0x37bc40['export']},_0x57890d),console[_0x3d0221(0xa9)]('-------------------\x20build\x20end\x20-------------------'),_0x5e87db;}async function store(_0x2f6816){const _0x1f3dc7=_0x511806;resource_1[_0x1f3dc7(0xb4)][_0x1f3dc7(0xc5)](_0x2f6816['platform']),(0x0,check_1[_0x1f3dc7(0xb9)])(_0x2f6816);let _0x24a8f4={'name':'WebSpatialTest'};_0x2f6816[_0x1f3dc7(0xae)]=_0x1f3dc7(0xa4);if(_0x2f6816[_0x1f3dc7(0xad)])_0x24a8f4[_0x1f3dc7(0xad)]=_0x2f6816[_0x1f3dc7(0xad)];else{const _0xec8427=await start(_0x2f6816);if(!_0xec8427)return![];_0x24a8f4['name']=_0xec8427[_0x1f3dc7(0xc6)]['name'];}return await xcode_1[_0x1f3dc7(0xc1)][_0x1f3dc7(0xbe)](_0x2f6816,_0x24a8f4),!![];}function _0x32aa(){const _0x6fe5f5=['947EmJrdv','./check','checkBuildParams','WebSpatialTest','checkStoreParams','6025330dIyZsI','PWAGenerator','generator','start','upload','dist','defineProperty','XcodeManager','moveProjectFrom','6894162TZBnfw','version','checkPlatformPath','json','267zWRoTM','generateIcon','runWithSimulator','length','teamId','app-store-connect','run','12405RmDIUI','8605289gQFfax','platform','log','2010oINxlD','8DNggWo','store','name','buildType','21776faxnMB','2246rBGvsd','__esModule','5726217gYwJZG','../pwa','ResourceManager'];_0x32aa=function(){return _0x6fe5f5;};return _0x32aa();}async function run(_0x5e0ada){const _0x5d225d=_0x511806;let _0x97028c={'name':_0x5d225d(0xb8),'id':''};const _0xeddc19=await start(_0x5e0ada,!![]);if(!_0xeddc19)return![];return _0x97028c[_0x5d225d(0xad)]=_0xeddc19[_0x5d225d(0xc6)]['name'],_0x97028c['id']=_0xeddc19[_0x5d225d(0xc6)]['id'],await xcode_1[_0x5d225d(0xc1)][_0x5d225d(0xc9)](_0x97028c),!![];}
1
+ 'use strict';const _0x44d09a=_0x430a;function _0x30bf(){const _0x50dd9e=['17310yftwFh','upload','icons','name','log','dist','export','PWAGenerator','9ZlnitQ','30wPVRkM','WebSpatialTest','ResourceManager','485qJxOKX','7442144wMaDjF','move\x20web\x20project:\x20ok','../pwa','3227724vOADgz','json','run','__esModule','3ulPOxK','checkBuildParams','2629MjZFdQ','platform','295868uyndyN','../xcode','version','start','fromNet','347963LWgoij','-------------------\x20build\x20start\x20-------------------','moveProjectFrom','1350051pXcrid','91gUeuRS','app-store-connect','length','XcodeManager','checkPlatformPath','1332xQSJQO','-------------------\x20build\x20end\x20-------------------'];_0x30bf=function(){return _0x50dd9e;};return _0x30bf();}(function(_0x5a9406,_0x14120e){const _0x174371=_0x430a,_0x3d5a0c=_0x5a9406();while(!![]){try{const _0x13a67e=parseInt(_0x174371(0x8d))/0x1*(parseInt(_0x174371(0x91))/0x2)+parseInt(_0x174371(0x99))/0x3+-parseInt(_0x174371(0x9f))/0x4*(parseInt(_0x174371(0xad))/0x5)+parseInt(_0x174371(0xaa))/0x6*(parseInt(_0x174371(0x96))/0x7)+-parseInt(_0x174371(0x86))/0x8*(-parseInt(_0x174371(0xa9))/0x9)+-parseInt(_0x174371(0xa1))/0xa*(-parseInt(_0x174371(0x8f))/0xb)+parseInt(_0x174371(0x89))/0xc*(-parseInt(_0x174371(0x9a))/0xd);if(_0x13a67e===_0x14120e)break;else _0x3d5a0c['push'](_0x3d5a0c['shift']());}catch(_0x318937){_0x3d5a0c['push'](_0x3d5a0c['shift']());}}}(_0x30bf,0x8b741));Object['defineProperty'](exports,_0x44d09a(0x8c),{'value':!![]}),exports[_0x44d09a(0x94)]=start,exports['store']=store,exports[_0x44d09a(0x8b)]=run;function _0x430a(_0x10037f,_0x3e731e){const _0x30bfd2=_0x30bf();return _0x430a=function(_0x430ac5,_0x5a8a37){_0x430ac5=_0x430ac5-0x86;let _0x4553e9=_0x30bfd2[_0x430ac5];return _0x4553e9;},_0x430a(_0x10037f,_0x3e731e);}const pwa_1=require(_0x44d09a(0x88)),resource_1=require('../resource'),xcode_1=require(_0x44d09a(0x92)),check_1=require('./check');async function start(_0x557fba,_0x516068=![]){const _0x51ada3=_0x44d09a;var _0x22e9a6,_0x1432e9;(0x0,check_1[_0x51ada3(0x8e)])(_0x557fba,_0x516068),resource_1[_0x51ada3(0xac)][_0x51ada3(0x9e)](_0x557fba[_0x51ada3(0x90)]),console[_0x51ada3(0xa5)](_0x51ada3(0x97));let _0x2559e5=await pwa_1[_0x51ada3(0xa8)]['generator'](_0x557fba,_0x516068);!_0x2559e5[_0x51ada3(0x95)]&&(await resource_1[_0x51ada3(0xac)][_0x51ada3(0x98)]((_0x22e9a6=_0x557fba['project'])!==null&&_0x22e9a6!==void 0x0?_0x22e9a6:_0x51ada3(0xa6)),console[_0x51ada3(0xa5)](_0x51ada3(0x87)));let _0x46d2ec;return((_0x1432e9=_0x2559e5[_0x51ada3(0x8a)][_0x51ada3(0xa3)])===null||_0x1432e9===void 0x0?void 0x0:_0x1432e9[_0x51ada3(0x9c)])&&_0x516068&&(_0x46d2ec=await resource_1[_0x51ada3(0xac)]['generateIcon'](_0x2559e5)),console[_0x51ada3(0xa5)]('generate\x20icon:\x20ok'),await xcode_1[_0x51ada3(0x9d)]['parseProject']({'icon':_0x46d2ec,'manifestInfo':_0x2559e5,'teamId':_0x557fba['teamId'],'version':_0x557fba[_0x51ada3(0x93)],'buildType':_0x557fba['buildType'],'export':_0x557fba[_0x51ada3(0xa7)]},_0x516068),console[_0x51ada3(0xa5)](_0x51ada3(0xa0)),_0x2559e5;}async function store(_0x3d7a0f){const _0x1fd5d5=_0x44d09a;resource_1['ResourceManager']['checkPlatformPath'](_0x3d7a0f['platform']),(0x0,check_1['checkStoreParams'])(_0x3d7a0f);let _0x4bfb95={'name':'WebSpatialTest'};_0x3d7a0f['buildType']=_0x1fd5d5(0x9b);if(_0x3d7a0f[_0x1fd5d5(0xa4)])_0x4bfb95[_0x1fd5d5(0xa4)]=_0x3d7a0f[_0x1fd5d5(0xa4)];else{const _0x4836fe=await start(_0x3d7a0f);if(!_0x4836fe)return![];_0x4bfb95[_0x1fd5d5(0xa4)]=_0x4836fe[_0x1fd5d5(0x8a)][_0x1fd5d5(0xa4)];}return await xcode_1[_0x1fd5d5(0x9d)][_0x1fd5d5(0xa2)](_0x3d7a0f,_0x4bfb95),!![];}async function run(_0x1af037){const _0xca2c25=_0x44d09a;let _0x50f8ca={'name':_0xca2c25(0xab),'id':''};const _0x2c72db=await start(_0x1af037,!![]);if(!_0x2c72db)return![];return _0x50f8ca[_0xca2c25(0xa4)]=_0x2c72db['json'][_0xca2c25(0xa4)],_0x50f8ca['id']=_0x2c72db[_0xca2c25(0x8a)]['id'],await xcode_1['XcodeManager']['runWithSimulator'](_0x50f8ca),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x30df(){const _0x17431a=['../pwa/validate','5LQOhGM','513864XrklXE','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','7jOUvZg','base','345248LaagpZ','33936MqNajI','840990NqgNry','8pcIihm','search','manifest','--u\x20and\x20--p\x20is\x20required','pop','436140kJQjze','version\x20is\x20required','--teamId\x20is\x20required','__esModule','validateURL','split','hash','388173ghcYww','teamId','5507710wUXJzp'];_0x30df=function(){return _0x17431a;};return _0x30df();}const _0x313147=_0x49ea;(function(_0x2c2e17,_0x5dfe5b){const _0x126a69=_0x49ea,_0x47759=_0x2c2e17();while(!![]){try{const _0x4e6a57=parseInt(_0x126a69(0x187))/0x1+parseInt(_0x126a69(0x17f))/0x2+parseInt(_0x126a69(0x18e))/0x3*(parseInt(_0x126a69(0x182))/0x4)+parseInt(_0x126a69(0x17a))/0x5*(-parseInt(_0x126a69(0x181))/0x6)+parseInt(_0x126a69(0x17d))/0x7*(-parseInt(_0x126a69(0x180))/0x8)+parseInt(_0x126a69(0x17b))/0x9+-parseInt(_0x126a69(0x178))/0xa;if(_0x4e6a57===_0x5dfe5b)break;else _0x47759['push'](_0x47759['shift']());}catch(_0xeee20a){_0x47759['push'](_0x47759['shift']());}}}(_0x30df,0x38058));Object['defineProperty'](exports,_0x313147(0x18a),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;const validate_1=require(_0x313147(0x179));function checkBuildParams(_0x4bc0e4,_0x557c19=![]){const _0x11ecd6=_0x313147;if(_0x4bc0e4[_0x11ecd6(0x184)]&&_0x4bc0e4['manifest-url'])throw new Error('--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time');if(!_0x4bc0e4[_0x11ecd6(0x177)]&&!_0x557c19)throw new Error(_0x11ecd6(0x189));if(_0x4bc0e4[_0x11ecd6(0x17e)]){if((0x0,validate_1[_0x11ecd6(0x18b)])(_0x4bc0e4[_0x11ecd6(0x17e)]))try{const _0x43762c=new URL(_0x4bc0e4[_0x11ecd6(0x17e)]);if(_0x43762c[_0x11ecd6(0x183)]||_0x43762c[_0x11ecd6(0x18d)])throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}catch(_0x41b886){throw new Error(_0x11ecd6(0x17c));}else{const _0x162340=/(\?.*|\.\w+|#.*)$/,_0x4156c1=_0x4bc0e4[_0x11ecd6(0x17e)][_0x11ecd6(0x18c)]('/')[_0x11ecd6(0x186)]()||'';if(_0x162340['test'](_0x4156c1))throw new Error(_0x11ecd6(0x17c));}}}function _0x49ea(_0x477d9d,_0x5d6074){const _0x30dfef=_0x30df();return _0x49ea=function(_0x49eaed,_0x379724){_0x49eaed=_0x49eaed-0x177;let _0xc761b=_0x30dfef[_0x49eaed];return _0xc761b;},_0x49ea(_0x477d9d,_0x5d6074);}function checkStoreParams(_0x4dcd44){const _0x160db3=_0x313147;if(!(_0x4dcd44['u']&&_0x4dcd44['p']))throw new Error(_0x160db3(0x185));if(!_0x4dcd44['version'])throw new Error(_0x160db3(0x188));}
1
+ 'use strict';const _0x1dea52=_0x11b8;(function(_0x2d579f,_0x14a5f7){const _0x108176=_0x11b8,_0x2418de=_0x2d579f();while(!![]){try{const _0x2676c3=-parseInt(_0x108176(0x173))/0x1*(-parseInt(_0x108176(0x170))/0x2)+parseInt(_0x108176(0x163))/0x3*(-parseInt(_0x108176(0x160))/0x4)+parseInt(_0x108176(0x177))/0x5+parseInt(_0x108176(0x174))/0x6*(-parseInt(_0x108176(0x164))/0x7)+parseInt(_0x108176(0x16c))/0x8+-parseInt(_0x108176(0x168))/0x9*(-parseInt(_0x108176(0x178))/0xa)+parseInt(_0x108176(0x176))/0xb;if(_0x2676c3===_0x14a5f7)break;else _0x2418de['push'](_0x2418de['shift']());}catch(_0x415baf){_0x2418de['push'](_0x2418de['shift']());}}}(_0x5860,0xb99d3));Object[_0x1dea52(0x172)](exports,_0x1dea52(0x16a),{'value':!![]}),exports[_0x1dea52(0x175)]=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function _0x11b8(_0x370bc1,_0x55dc23){const _0x586047=_0x5860();return _0x11b8=function(_0x11b860,_0x382f09){_0x11b860=_0x11b860-0x15f;let _0xd623b8=_0x586047[_0x11b860];return _0xd623b8;},_0x11b8(_0x370bc1,_0x55dc23);}const validate_1=require(_0x1dea52(0x169));function checkBuildParams(_0x1d4974,_0x42d26d=![]){const _0x57897c=_0x1dea52;if(_0x1d4974['manifest']&&_0x1d4974[_0x57897c(0x16d)])throw new Error('--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time');if(!_0x1d4974[_0x57897c(0x161)]&&!_0x42d26d)throw new Error(_0x57897c(0x166));if(_0x1d4974[_0x57897c(0x16e)]){if((0x0,validate_1[_0x57897c(0x167)])(_0x1d4974[_0x57897c(0x16e)]))try{const _0x28d12e=new URL(_0x1d4974[_0x57897c(0x16e)]);if(_0x28d12e[_0x57897c(0x15f)]||_0x28d12e[_0x57897c(0x16f)])throw new Error(_0x57897c(0x162));}catch(_0x19edc2){throw new Error(_0x57897c(0x162));}else{const _0x55a7bb=/(\?.*|\.\w+|#.*)$/,_0x247d45=_0x1d4974[_0x57897c(0x16e)]['split']('/')['pop']()||'';if(_0x55a7bb[_0x57897c(0x165)](_0x247d45))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x3f9d82){const _0x45805f=_0x1dea52;if(!(_0x3f9d82['u']&&_0x3f9d82['p']))throw new Error(_0x45805f(0x16b));if(!_0x3f9d82[_0x45805f(0x171)])throw new Error('version\x20is\x20required');}function _0x5860(){const _0x14c94a=['1047750IJoPXn','3693420myiydL','3713210CDzMUO','search','5448baBpXS','teamId','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','516tCtxVP','5614EUPtrr','test','--teamId\x20is\x20required','validateURL','9OMSquv','../pwa/validate','__esModule','--u\x20and\x20--p\x20is\x20required','4611232OmaefP','manifest-url','base','hash','20272YfZlae','version','defineProperty','4tYqkHv','6192NfpWJl','checkBuildParams'];_0x5860=function(){return _0x14c94a;};return _0x5860();}
@@ -1 +1 @@
1
- 'use strict';const _0x240e3c=_0x2c7a;(function(_0x3234ba,_0x2dfc99){const _0x17dea=_0x2c7a,_0x58bcb4=_0x3234ba();while(!![]){try{const _0x592f82=-parseInt(_0x17dea(0x1a2))/0x1*(parseInt(_0x17dea(0x1a0))/0x2)+-parseInt(_0x17dea(0x1b4))/0x3*(-parseInt(_0x17dea(0x1b0))/0x4)+parseInt(_0x17dea(0x1a8))/0x5*(parseInt(_0x17dea(0x1b7))/0x6)+-parseInt(_0x17dea(0x1b2))/0x7+parseInt(_0x17dea(0x1ac))/0x8+-parseInt(_0x17dea(0x1bb))/0x9+parseInt(_0x17dea(0x1bf))/0xa*(parseInt(_0x17dea(0x1bc))/0xb);if(_0x592f82===_0x2dfc99)break;else _0x58bcb4['push'](_0x58bcb4['shift']());}catch(_0x21e078){_0x58bcb4['push'](_0x58bcb4['shift']());}}}(_0xbe44,0xcf158));function _0x2c7a(_0x24349a,_0x444d36){const _0xbe443b=_0xbe44();return _0x2c7a=function(_0x2c7ae6,_0x41fa99){_0x2c7ae6=_0x2c7ae6-0x1a0;let _0xaa714e=_0xbe443b[_0x2c7ae6];return _0xaa714e;},_0x2c7a(_0x24349a,_0x444d36);}Object[_0x240e3c(0x1ba)](exports,_0x240e3c(0x1ae),{'value':!![]}),exports[_0x240e3c(0x1a7)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x240e3c(0x1be),[_0x240e3c(0x1c0),'','',_0x240e3c(0x1ab),'build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+_0x240e3c(0x1b1),_0x240e3c(0x1a9),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x240e3c(0x1a5)]('\x0a')],[_0x240e3c(0x1a4),[_0x240e3c(0x1b5),'','',_0x240e3c(0x1af),'','',_0x240e3c(0x1b8)][_0x240e3c(0x1a5)]('\x0a')],[_0x240e3c(0x1aa),['Usage:','','',_0x240e3c(0x1a3),'','',_0x240e3c(0x1b6)][_0x240e3c(0x1a5)]('\x0a')],[_0x240e3c(0x1a6),['Usage:','','',_0x240e3c(0x1bd),'','',_0x240e3c(0x1ad),'','',_0x240e3c(0x1b3)][_0x240e3c(0x1a5)]('\x0a')]]);function _0xbe44(){const _0x20dda8=['5898075RsktzF','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','dev','help\x20................\x20shows\x20this\x20menu','738920ZYKJnU','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','24RRweri','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','31087bXdoLG','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','387579anILIy','Usage:','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','6GvaUrL','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','get','defineProperty','12081150gRzYmt','385qkwage','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>','main','299770pCCocQ','webspatial\x20[command]\x20<options>','901326QcVnNs','ConsoleLog','2oZoPVD','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','build','join','publish','help'];_0xbe44=function(){return _0x20dda8;};return _0xbe44();}async function help(_0xe4ef32,_0x4856c9=new Log_1[(_0x240e3c(0x1a1))]('help')){const _0x3642a0=_0x240e3c,_0x22b3d5=_0xe4ef32['_'][0x1],_0x385bfc=HELP_MESSAGES[_0x3642a0(0x1b9)](_0x22b3d5)||HELP_MESSAGES[_0x3642a0(0x1b9)](_0x3642a0(0x1be));return _0x4856c9['info'](_0x385bfc),!![];}
1
+ 'use strict';function _0x428c(){const _0x58c851=['get','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','join','../utils/Log','2922244rKJGeA','12UMRXNW','build','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','257425ynoBOd','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','main','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','115880Xospli','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','1220fASnUb','publish','dev','1CIOUIx','Usage:','help','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','5773284WVTwjM','1306042uewXPg','42ClIgbX','ConsoleLog','info','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','webspatial\x20[command]\x20<options>','223752MKZeKt','93ulSrGE','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','203hUplLb','defineProperty','47993KlbnJh'];_0x428c=function(){return _0x58c851;};return _0x428c();}const _0xc717f=_0x2fbd;(function(_0xbb1fb9,_0x56b695){const _0x2e8f77=_0x2fbd,_0x33cbe8=_0xbb1fb9();while(!![]){try{const _0x47c7a5=-parseInt(_0x2e8f77(0xab))/0x1*(parseInt(_0x2e8f77(0xb0))/0x2)+-parseInt(_0x2e8f77(0xb7))/0x3*(-parseInt(_0x2e8f77(0xa5))/0x4)+-parseInt(_0x2e8f77(0xa0))/0x5*(parseInt(_0x2e8f77(0xb1))/0x6)+parseInt(_0x2e8f77(0xb9))/0x7*(-parseInt(_0x2e8f77(0xb6))/0x8)+parseInt(_0x2e8f77(0xaf))/0x9+parseInt(_0x2e8f77(0xa8))/0xa*(parseInt(_0x2e8f77(0xbb))/0xb)+parseInt(_0x2e8f77(0x9c))/0xc*(parseInt(_0x2e8f77(0x9b))/0xd);if(_0x47c7a5===_0x56b695)break;else _0x33cbe8['push'](_0x33cbe8['shift']());}catch(_0x268a10){_0x33cbe8['push'](_0x33cbe8['shift']());}}}(_0x428c,0x73427));Object[_0xc717f(0xba)](exports,_0xc717f(0x9f),{'value':!![]}),exports[_0xc717f(0xad)]=help;const Log_1=require(_0xc717f(0x9a)),HELP_MESSAGES=new Map([[_0xc717f(0xa2),[_0xc717f(0xb5),'','','help\x20................\x20shows\x20this\x20menu',_0xc717f(0x98)+_0xc717f(0xa4),_0xc717f(0xa7),_0xc717f(0xae)]['join']('\x0a')],[_0xc717f(0x9d),[_0xc717f(0xac),'','',_0xc717f(0xa3),'','',_0xc717f(0xa1)][_0xc717f(0x99)]('\x0a')],[_0xc717f(0xaa),['Usage:','','',_0xc717f(0xb8),'','',_0xc717f(0xb4)]['join']('\x0a')],[_0xc717f(0xa9),['Usage:','','',_0xc717f(0xa6),'','',_0xc717f(0x9e),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0xc717f(0x99)]('\x0a')]]);function _0x2fbd(_0x50e166,_0x3b3b91){const _0x428cdf=_0x428c();return _0x2fbd=function(_0x2fbd36,_0x202f94){_0x2fbd36=_0x2fbd36-0x98;let _0x597f8d=_0x428cdf[_0x2fbd36];return _0x597f8d;},_0x2fbd(_0x50e166,_0x3b3b91);}async function help(_0x295041,_0x391877=new Log_1[(_0xc717f(0xb2))](_0xc717f(0xad))){const _0x2ca30d=_0xc717f,_0x1deac0=_0x295041['_'][0x1],_0x5e86a3=HELP_MESSAGES['get'](_0x1deac0)||HELP_MESSAGES[_0x2ca30d(0xbc)](_0x2ca30d(0xa2));return _0x391877[_0x2ca30d(0xb3)](_0x5e86a3),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x58b42f=_0x224d;(function(_0x4085ed,_0x157163){const _0x56a633=_0x224d,_0xef7bd9=_0x4085ed();while(!![]){try{const _0x55899d=parseInt(_0x56a633(0xff))/0x1+-parseInt(_0x56a633(0xef))/0x2+parseInt(_0x56a633(0xf2))/0x3*(parseInt(_0x56a633(0xf8))/0x4)+-parseInt(_0x56a633(0x102))/0x5+parseInt(_0x56a633(0x100))/0x6*(parseInt(_0x56a633(0xf5))/0x7)+parseInt(_0x56a633(0xf9))/0x8*(-parseInt(_0x56a633(0xfa))/0x9)+-parseInt(_0x56a633(0xfb))/0xa;if(_0x55899d===_0x157163)break;else _0xef7bd9['push'](_0xef7bd9['shift']());}catch(_0xc5e2c5){_0xef7bd9['push'](_0xef7bd9['shift']());}}}(_0x3642,0xeadd5));function _0x224d(_0xeec2c8,_0x1b09da){const _0x36426c=_0x3642();return _0x224d=function(_0x224d30,_0xb3be2c){_0x224d30=_0x224d30-0xef;let _0x16fb7b=_0x36426c[_0x224d30];return _0x16fb7b;},_0x224d(_0xeec2c8,_0x1b09da);}function _0x3642(){const _0x4cba78=['promises','24766nAuuWv','__esModule','defineProperty','4475940uVODAT','216fLHHmC','178533zUvmqP','1707190wiGGJf','version','../utils/Log','ConsoleLog','1590783vngPSP','1182JYBokY','info','302950IgWDyu','path','3355682wYkNkw','join','toString','3qiCwFn','../../../package.json'];_0x3642=function(){return _0x4cba78;};return _0x3642();}Object[_0x58b42f(0xf7)](exports,_0x58b42f(0xf6),{'value':!![]}),exports[_0x58b42f(0xfc)]=version;const fs=require('fs'),path=require(_0x58b42f(0x103)),Log_1=require(_0x58b42f(0xfd));async function version(_0x631a93=new Log_1[(_0x58b42f(0xfe))](_0x58b42f(0xfc))){const _0x458a84=_0x58b42f,_0x4e5a7f=path[_0x458a84(0xf0)](__dirname,_0x458a84(0xf3)),_0x2f93fd=await(await fs[_0x458a84(0xf4)]['readFile'](_0x4e5a7f))[_0x458a84(0xf1)](),_0x57a06d=JSON['parse'](_0x2f93fd);return _0x631a93[_0x458a84(0x101)](_0x57a06d[_0x458a84(0xfc)]),!![];}
1
+ 'use strict';const _0x4b226f=_0x4533;function _0x17af(){const _0x5c9bc4=['1220YFSChj','1bpmjTV','join','readFile','1111WJEWEb','114132UyzclY','574fusmFd','toString','378346MmKTZr','3246qcHaCy','4848590hzEkjT','ConsoleLog','parse','70504eLSKbV','path','../../../package.json','defineProperty','version','__esModule','1070172tRQsWA','info','665217XXerMp','20HtVseL'];_0x17af=function(){return _0x5c9bc4;};return _0x17af();}(function(_0x585c1b,_0x14b598){const _0x5bd60b=_0x4533,_0x4bb88a=_0x585c1b();while(!![]){try{const _0x3643b8=parseInt(_0x5bd60b(0x105))/0x1*(-parseInt(_0x5bd60b(0x10c))/0x2)+-parseInt(_0x5bd60b(0x119))/0x3*(parseInt(_0x5bd60b(0x103))/0x4)+parseInt(_0x5bd60b(0x104))/0x5*(-parseInt(_0x5bd60b(0x10d))/0x6)+-parseInt(_0x5bd60b(0x10a))/0x7*(-parseInt(_0x5bd60b(0x111))/0x8)+-parseInt(_0x5bd60b(0x117))/0x9+parseInt(_0x5bd60b(0x10e))/0xa+parseInt(_0x5bd60b(0x108))/0xb*(parseInt(_0x5bd60b(0x109))/0xc);if(_0x3643b8===_0x14b598)break;else _0x4bb88a['push'](_0x4bb88a['shift']());}catch(_0x2365bb){_0x4bb88a['push'](_0x4bb88a['shift']());}}}(_0x17af,0x9735c));Object[_0x4b226f(0x114)](exports,_0x4b226f(0x116),{'value':!![]}),exports[_0x4b226f(0x115)]=version;function _0x4533(_0x33bbe0,_0x1ae8d3){const _0x17af6d=_0x17af();return _0x4533=function(_0x453372,_0x3c784e){_0x453372=_0x453372-0x103;let _0x2f4b93=_0x17af6d[_0x453372];return _0x2f4b93;},_0x4533(_0x33bbe0,_0x1ae8d3);}const fs=require('fs'),path=require(_0x4b226f(0x112)),Log_1=require('../utils/Log');async function version(_0x56595c=new Log_1[(_0x4b226f(0x10f))](_0x4b226f(0x115))){const _0x578dd8=_0x4b226f,_0x31601d=path[_0x578dd8(0x106)](__dirname,_0x578dd8(0x113)),_0x417abc=await(await fs['promises'][_0x578dd8(0x107)](_0x31601d))[_0x578dd8(0x10b)](),_0x3e079f=JSON[_0x578dd8(0x110)](_0x417abc);return _0x56595c[_0x578dd8(0x118)](_0x3e079f[_0x578dd8(0x115)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x5b6e2c=_0x2198;(function(_0x4d555c,_0x12fc77){const _0x439706=_0x2198,_0x404675=_0x4d555c();while(!![]){try{const _0x566e5b=parseInt(_0x439706(0x1d8))/0x1+parseInt(_0x439706(0x1c6))/0x2+-parseInt(_0x439706(0x1f0))/0x3*(parseInt(_0x439706(0x1ec))/0x4)+parseInt(_0x439706(0x1f8))/0x5+-parseInt(_0x439706(0x1eb))/0x6+-parseInt(_0x439706(0x1ed))/0x7+-parseInt(_0x439706(0x1c8))/0x8;if(_0x566e5b===_0x12fc77)break;else _0x404675['push'](_0x404675['shift']());}catch(_0x4cd29b){_0x404675['push'](_0x404675['shift']());}}}(_0x5752,0x85b59));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x5b6e2c(0x1f6)]=void 0x0,exports[_0x5b6e2c(0x1d9)]=configId,exports['configStartUrl']=configStartUrl,exports[_0x5b6e2c(0x1cc)]=configScope,exports['configDisplay']=configDisplay,exports[_0x5b6e2c(0x1e7)]=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x5b6e2c(0x1fb)),validate_1=require(_0x5b6e2c(0x1e6)),path_1=require(_0x5b6e2c(0x1de));function _0x2198(_0x6ca5dd,_0x1a7dc6){const _0x575211=_0x5752();return _0x2198=function(_0x219878,_0x285e6b){_0x219878=_0x219878-0x1ac;let _0x5c9614=_0x575211[_0x219878];return _0x5c9614;},_0x2198(_0x6ca5dd,_0x1a7dc6);}function configId(_0x4c2c78,_0x1aefd1,_0x1b399d){const _0x13265d=_0x5b6e2c;if(_0x1b399d)_0x4c2c78['id']=_0x13265d(0x1dc);else{if(_0x1aefd1)_0x4c2c78['id']=_0x1aefd1;else{const _0x4e3c8e=new URL(_0x4c2c78['id']);let _0x4eaceb=_0x4e3c8e[_0x13265d(0x1c0)][_0x13265d(0x1e4)]('.')[_0x13265d(0x1fa)]();_0x4c2c78['id']=_0x4eaceb[_0x13265d(0x1e0)]('.');}}}function configStartUrl(_0x53b442,_0x520363){const _0xac1e0a=_0x5b6e2c,_0x4f06b9=(0x0,validate_1[_0xac1e0a(0x1b4)])(_0x53b442[_0xac1e0a(0x1bf)]),_0x453070=(0x0,validate_1['validateURL'])(_0x520363);let _0x24b8a5=_0x53b442['start_url'];if(!_0x4f06b9&&!_0x453070){const _0x536ff7=(0x0,path_1['resolve'])(_0xac1e0a(0x1c3)),_0x167516=(0x0,path_1[_0xac1e0a(0x1b9)])(_0x536ff7,_0x520363,_0x24b8a5),_0x342823=(0x0,path_1[_0xac1e0a(0x1f1)])(_0x167516),_0x43f13e=(0x0,path_1[_0xac1e0a(0x1e0)])(_0x536ff7,_0x342823);_0x24b8a5=(0x0,path_1[_0xac1e0a(0x1db)])(process[_0xac1e0a(0x1bb)](),_0x43f13e)[_0xac1e0a(0x1cd)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x4f06b9&&!_0x453070){const _0x37cddd=new URL(_0x24b8a5),_0x42a24c=_0x37cddd[_0xac1e0a(0x1d5)]+_0x37cddd[_0xac1e0a(0x1e5)]+_0x37cddd['hash'];let _0x3759f9=new URL(_0x520363,_0x37cddd['origin']);_0x24b8a5=new URL(_0x42a24c,_0x3759f9)[_0xac1e0a(0x1d7)];}else{if(!_0x4f06b9&&_0x453070){if(_0x24b8a5[_0xac1e0a(0x1b2)]('/')){const _0x40b335=new URL(_0x520363);_0x24b8a5=_0x40b335[_0xac1e0a(0x1af)]+(0x0,path_1[_0xac1e0a(0x1e0)])(_0x40b335['pathname'],_0x24b8a5);}else _0x24b8a5=new URL(_0x24b8a5,_0x520363)[_0xac1e0a(0x1d7)];}else{if(_0x4f06b9&&_0x453070){const _0x5d442d=new URL(_0x24b8a5),_0x50a893=new URL(_0x520363),_0x1dd9ae=_0x5d442d['pathname']+_0x5d442d['search']+_0x5d442d[_0xac1e0a(0x1c9)];_0x24b8a5=new URL(_0x1dd9ae,_0x50a893[_0xac1e0a(0x1af)]+_0x50a893['pathname'])[_0xac1e0a(0x1d7)];}}}}return _0x24b8a5;}function configScope(_0x37c93e){const _0x1be728=_0x5b6e2c;var _0x17b7d2;let _0x396043=(_0x17b7d2=_0x37c93e[_0x1be728(0x1ee)])!==null&&_0x17b7d2!==void 0x0?_0x17b7d2:'';const _0x344154=(0x0,validate_1[_0x1be728(0x1b4)])(_0x37c93e[_0x1be728(0x1bf)]),_0x4b7474=(0x0,validate_1[_0x1be728(0x1b4)])(_0x396043);if(_0x344154&&_0x4b7474){const _0x479c23=new URL(_0x396043),_0x5bad25=new URL(_0x37c93e[_0x1be728(0x1bf)]);(_0x479c23[_0x1be728(0x1c0)]!==_0x5bad25['host']||_0x37c93e[_0x1be728(0x1bf)][_0x1be728(0x1ae)](_0x396043)!==0x0)&&(_0x396043=(0x0,utils_1[_0x1be728(0x1d0)])(_0x37c93e[_0x1be728(0x1bf)]));}else{if(_0x344154&&!_0x4b7474)_0x396043=new URL(_0x396043,_0x37c93e[_0x1be728(0x1bf)])[_0x1be728(0x1d7)];else{if(!_0x344154&&_0x4b7474){const _0x2b51b1=_0x37c93e[_0x1be728(0x1bf)]['replace'](/\/[^\/]+$/,'');_0x396043=(0x0,path_1[_0x1be728(0x1f1)])(_0x2b51b1+'/');}else _0x396043=(0x0,path_1[_0x1be728(0x1e0)])((0x0,utils_1[_0x1be728(0x1d0)])(_0x37c93e[_0x1be728(0x1bf)]),_0x396043);}}_0x37c93e[_0x1be728(0x1ee)]=_0x396043;}function configDisplay(_0x2694dc){const _0x105b95=_0x5b6e2c;let _0x275448=_0x2694dc['display'];_0x275448!==_0x105b95(0x1c5)&&_0x275448!==_0x105b95(0x1f3)&&(_0x275448=_0x105b95(0x1f3));if(_0x2694dc['display_override']&&_0x2694dc['display_override']['length']>0x0){const _0x53e5c6=_0x2694dc['display_override'][_0x105b95(0x1ae)](_0x105b95(0x1c5)),_0x2ebb2d=_0x2694dc['display_override'][_0x105b95(0x1ae)](_0x105b95(0x1f3));if(_0x53e5c6>=0x0&&_0x2ebb2d>=0x0)_0x275448=_0x2ebb2d>_0x53e5c6?_0x105b95(0x1f3):_0x105b95(0x1c5);else{if(_0x53e5c6>=0x0)_0x275448=_0x105b95(0x1c5);else _0x2ebb2d>=0x0&&(_0x275448='standalone');}}_0x2694dc[_0x105b95(0x1e3)]=_0x275448;}function configMainScene(_0x40f088){const _0x3a0142=_0x5b6e2c;var _0x37963d,_0x292a2f;const _0x500f71=[_0x3a0142(0x1b1),_0x3a0142(0x1c7),_0x3a0142(0x1e1)];let _0x5da653={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x3a0142(0x1b1)};if(_0x40f088[_0x3a0142(0x1ef)]){if(typeof _0x40f088[_0x3a0142(0x1ef)]===_0x3a0142(0x1d2))_0x5da653['defaultSize'][_0x3a0142(0x1b0)]=Number((_0x37963d=_0x40f088[_0x3a0142(0x1ef)][_0x3a0142(0x1c1)])===null||_0x37963d===void 0x0?void 0x0:_0x37963d[_0x3a0142(0x1b0)])>0x0?_0x40f088[_0x3a0142(0x1ef)][_0x3a0142(0x1c1)][_0x3a0142(0x1b0)]:0x500,_0x5da653[_0x3a0142(0x1ac)][_0x3a0142(0x1cf)]=Number((_0x292a2f=_0x40f088['xr_main_scene'][_0x3a0142(0x1c1)])===null||_0x292a2f===void 0x0?void 0x0:_0x292a2f['height'])>0x0?_0x40f088[_0x3a0142(0x1ef)]['default_size']['height']:0x500,_0x5da653[_0x3a0142(0x1b5)]=_0x500f71[_0x3a0142(0x1d4)](_0x40f088[_0x3a0142(0x1ef)]['resizability'])?_0x40f088[_0x3a0142(0x1ef)][_0x3a0142(0x1b5)]:_0x3a0142(0x1b1),_0x40f088['mainScene']=_0x5da653;else typeof _0x40f088[_0x3a0142(0x1ef)]===_0x3a0142(0x1f4)&&(_0x40f088[_0x3a0142(0x1b3)]=_0x3a0142(0x1c4));}}function configDeeplink(_0x4437c8){const _0x21833e=_0x5b6e2c;if(_0x4437c8[_0x21833e(0x1d3)]&&_0x4437c8[_0x21833e(0x1d3)][_0x21833e(0x1cb)]>0x0)for(var _0x50579b=0x0;_0x50579b<_0x4437c8[_0x21833e(0x1d3)][_0x21833e(0x1cb)];_0x50579b++){const _0x1bdd9f=_0x4437c8[_0x21833e(0x1d3)][_0x50579b];if(_0x1bdd9f[_0x21833e(0x1be)]&&(exports[_0x21833e(0x1f6)][_0x21833e(0x1d4)](_0x1bdd9f['protocol'])||_0x1bdd9f[_0x21833e(0x1be)][_0x21833e(0x1ae)](_0x21833e(0x1e8))===0x0)){if(!((0x0,validate_1[_0x21833e(0x1b4)])(_0x1bdd9f[_0x21833e(0x1f9)])&&_0x1bdd9f[_0x21833e(0x1f9)][_0x21833e(0x1ae)](_0x4437c8[_0x21833e(0x1ee)])<0x0))continue;}_0x4437c8[_0x21833e(0x1d3)][_0x21833e(0x1bd)](_0x50579b,0x1),_0x50579b--;}}exports[_0x5b6e2c(0x1f6)]=[_0x5b6e2c(0x1d1),_0x5b6e2c(0x1ba),_0x5b6e2c(0x1b7),_0x5b6e2c(0x1f7),'im',_0x5b6e2c(0x1df),_0x5b6e2c(0x1f5),_0x5b6e2c(0x1ea),_0x5b6e2c(0x1f2),_0x5b6e2c(0x1bc),'mms','news',_0x5b6e2c(0x1d6),_0x5b6e2c(0x1ce),_0x5b6e2c(0x1ca),_0x5b6e2c(0x1c2),_0x5b6e2c(0x1b8),_0x5b6e2c(0x1da),_0x5b6e2c(0x1dd),'tel',_0x5b6e2c(0x1e9),_0x5b6e2c(0x1b6),_0x5b6e2c(0x1e2),_0x5b6e2c(0x1ad)];function _0x5752(){const _0x51bb71=['parseRouter','bitcoin','object','protocol_handlers','includes','pathname','nntp','href','185634phVVXE','configId','smsto','relative','com.webspatial.test','ssh','path','irc','join','contentSize','wtai','display','split','search','./validate','configMainScene','web+','urn','magnet','1745232aWBaGS','171944iErOZr','1302098fIWlHn','scope','xr_main_scene','6jGsXgB','normalize','mailto','standalone','string','ircs','safelist','geo','2715800rSkDGi','url','reverse','../utils/utils','defaultSize','xmpp','indexOf','origin','width','automatic','startsWith','mainScene','validateURL','resizability','webcal','ftps','sms','resolve','ftp','cwd','matrix','splice','protocol','start_url','host','default_size','sip','./static-web','dynamic','minimal-ui','1613570zeEhrf','contentMinSize','3400384BGNGcv','hash','sftp','length','configScope','replace','openpgp4fpr','height'];_0x5752=function(){return _0x51bb71;};return _0x5752();}
1
+ 'use strict';function _0x1323(_0xd612a,_0x55301f){const _0xce2069=_0xce20();return _0x1323=function(_0x1323be,_0x70808c){_0x1323be=_0x1323be-0x15e;let _0x493f52=_0xce2069[_0x1323be];return _0x493f52;},_0x1323(_0xd612a,_0x55301f);}const _0x35eb78=_0x1323;(function(_0x41d4f3,_0x13a8a4){const _0x590e34=_0x1323,_0x304766=_0x41d4f3();while(!![]){try{const _0x18e5fd=parseInt(_0x590e34(0x19c))/0x1+parseInt(_0x590e34(0x176))/0x2+-parseInt(_0x590e34(0x16e))/0x3*(-parseInt(_0x590e34(0x16a))/0x4)+-parseInt(_0x590e34(0x1a9))/0x5+parseInt(_0x590e34(0x198))/0x6+-parseInt(_0x590e34(0x197))/0x7*(parseInt(_0x590e34(0x184))/0x8)+parseInt(_0x590e34(0x189))/0x9*(-parseInt(_0x590e34(0x164))/0xa);if(_0x18e5fd===_0x13a8a4)break;else _0x304766['push'](_0x304766['shift']());}catch(_0x397d25){_0x304766['push'](_0x304766['shift']());}}}(_0xce20,0xf088b));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x35eb78(0x19d)]=void 0x0,exports[_0x35eb78(0x193)]=configId,exports[_0x35eb78(0x175)]=configStartUrl,exports[_0x35eb78(0x168)]=configScope,exports['configDisplay']=configDisplay,exports[_0x35eb78(0x18e)]=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x35eb78(0x1ab)),validate_1=require('./validate'),path_1=require(_0x35eb78(0x1a7));function configId(_0x559556,_0x43549b,_0x4f1077){const _0x473e74=_0x35eb78;if(_0x4f1077)_0x559556['id']=_0x473e74(0x191);else{if(_0x43549b)_0x559556['id']=_0x43549b;else{const _0x574ba0=new URL(_0x559556['id']);let _0xb0aac=_0x574ba0[_0x473e74(0x174)][_0x473e74(0x179)]('.')[_0x473e74(0x186)]();_0x559556['id']=_0xb0aac[_0x473e74(0x19f)]('.');}}}function configStartUrl(_0x174369,_0x405e4d){const _0x36bf57=_0x35eb78,_0x1548c7=(0x0,validate_1['validateURL'])(_0x174369[_0x36bf57(0x185)]),_0x5eb1d1=(0x0,validate_1['validateURL'])(_0x405e4d);let _0x557ffd=_0x174369['start_url'];if(!_0x1548c7&&!_0x5eb1d1){const _0x62a1c5=(0x0,path_1[_0x36bf57(0x15f)])(_0x36bf57(0x18d)),_0x6c9927=(0x0,path_1[_0x36bf57(0x15f)])(_0x62a1c5,_0x405e4d,_0x557ffd),_0x47b029=(0x0,path_1[_0x36bf57(0x17f)])(_0x6c9927),_0x270646=(0x0,path_1['join'])(_0x62a1c5,_0x47b029);_0x557ffd=(0x0,path_1[_0x36bf57(0x170)])(process[_0x36bf57(0x1aa)](),_0x270646)[_0x36bf57(0x18c)](/^(\.\.\/)+/,'./')[_0x36bf57(0x18c)](/\/$/,'');}else{if(_0x1548c7&&!_0x5eb1d1){const _0x298f7f=new URL(_0x557ffd),_0x1d6009=_0x298f7f[_0x36bf57(0x182)]+_0x298f7f['search']+_0x298f7f[_0x36bf57(0x161)];let _0x16ec1c=new URL(_0x405e4d,_0x298f7f[_0x36bf57(0x17e)]);_0x557ffd=new URL(_0x1d6009,_0x16ec1c)[_0x36bf57(0x196)];}else{if(!_0x1548c7&&_0x5eb1d1){if(_0x557ffd[_0x36bf57(0x195)]('/')){const _0x53b1d2=new URL(_0x405e4d);_0x557ffd=_0x53b1d2[_0x36bf57(0x17e)]+(0x0,path_1['join'])(_0x53b1d2[_0x36bf57(0x182)],_0x557ffd);}else _0x557ffd=new URL(_0x557ffd,_0x405e4d)[_0x36bf57(0x196)];}else{if(_0x1548c7&&_0x5eb1d1){const _0x11c9aa=new URL(_0x557ffd),_0x3a01b4=new URL(_0x405e4d),_0x464ee2=_0x11c9aa['pathname']+_0x11c9aa['search']+_0x11c9aa[_0x36bf57(0x161)];_0x557ffd=new URL(_0x464ee2,_0x3a01b4[_0x36bf57(0x17e)]+_0x3a01b4['pathname'])[_0x36bf57(0x196)];}}}}return _0x557ffd;}function configScope(_0x1e93b7){const _0x5970db=_0x35eb78;var _0x37b550;let _0x28ae58=(_0x37b550=_0x1e93b7[_0x5970db(0x15e)])!==null&&_0x37b550!==void 0x0?_0x37b550:'';const _0x22c943=(0x0,validate_1[_0x5970db(0x1a3)])(_0x1e93b7[_0x5970db(0x185)]),_0x2b76a2=(0x0,validate_1[_0x5970db(0x1a3)])(_0x28ae58);if(_0x22c943&&_0x2b76a2){const _0x5c5b41=new URL(_0x28ae58),_0x82c14e=new URL(_0x1e93b7[_0x5970db(0x185)]);(_0x5c5b41[_0x5970db(0x174)]!==_0x82c14e['host']||_0x1e93b7[_0x5970db(0x185)][_0x5970db(0x178)](_0x28ae58)!==0x0)&&(_0x28ae58=(0x0,utils_1['parseRouter'])(_0x1e93b7[_0x5970db(0x185)]));}else{if(_0x22c943&&!_0x2b76a2)_0x28ae58=new URL(_0x28ae58,_0x1e93b7[_0x5970db(0x185)])[_0x5970db(0x196)];else{if(!_0x22c943&&_0x2b76a2){const _0x534663=_0x1e93b7['start_url'][_0x5970db(0x18c)](/\/[^\/]+$/,'');_0x28ae58=(0x0,path_1[_0x5970db(0x17f)])(_0x534663+'/');}else _0x28ae58=(0x0,path_1[_0x5970db(0x19f)])((0x0,utils_1['parseRouter'])(_0x1e93b7[_0x5970db(0x185)]),_0x28ae58);}}_0x1e93b7[_0x5970db(0x15e)]=_0x28ae58;}function _0xce20(){const _0x255eec=['standalone','2167180EHsAah','cwd','../utils/utils','contentMinSize','scope','resolve','ssh','hash','mailto','display','1390LfzsIE','protocol','magnet','nntp','configScope','height','4kiWFTh','resizability','width','mms','1094529AqlbkF','tel','relative','news','urn','display_override','host','configStartUrl','2867974pRaFny','matrix','indexOf','split','sms','splice','ftps','minimal-ui','origin','normalize','mainScene','length','pathname','dynamic','38936MabkXl','start_url','reverse','url','automatic','182178EdbRxA','object','ircs','replace','./static-web','configMainScene','openpgp4fpr','xr_main_scene','com.webspatial.test','bitcoin','configId','webcal','startsWith','href','1050CZwhka','9265092ddwkrr','protocol_handlers','sip','includes','1619339tSmMgL','safelist','irc','join','string','wtai','defaultSize','validateURL','default_size','geo','contentSize','path'];_0xce20=function(){return _0x255eec;};return _0xce20();}function configDisplay(_0x5524be){const _0x5347ba=_0x35eb78;let _0x48f96d=_0x5524be[_0x5347ba(0x163)];_0x48f96d!=='minimal-ui'&&_0x48f96d!==_0x5347ba(0x1a8)&&(_0x48f96d=_0x5347ba(0x1a8));if(_0x5524be[_0x5347ba(0x173)]&&_0x5524be['display_override']['length']>0x0){const _0x49de08=_0x5524be[_0x5347ba(0x173)][_0x5347ba(0x178)](_0x5347ba(0x17d)),_0x42d1fa=_0x5524be[_0x5347ba(0x173)]['indexOf'](_0x5347ba(0x1a8));if(_0x49de08>=0x0&&_0x42d1fa>=0x0)_0x48f96d=_0x42d1fa>_0x49de08?'standalone':'minimal-ui';else{if(_0x49de08>=0x0)_0x48f96d=_0x5347ba(0x17d);else _0x42d1fa>=0x0&&(_0x48f96d='standalone');}}_0x5524be[_0x5347ba(0x163)]=_0x48f96d;}function configMainScene(_0x2398ce){const _0x40692d=_0x35eb78;var _0x37e6a2,_0x5e9b56;const _0x1ffe39=['automatic',_0x40692d(0x1ac),_0x40692d(0x1a6)];let _0x564572={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x40692d(0x188)};if(_0x2398ce[_0x40692d(0x190)]){if(typeof _0x2398ce[_0x40692d(0x190)]===_0x40692d(0x18a))_0x564572[_0x40692d(0x1a2)][_0x40692d(0x16c)]=Number((_0x37e6a2=_0x2398ce[_0x40692d(0x190)][_0x40692d(0x1a4)])===null||_0x37e6a2===void 0x0?void 0x0:_0x37e6a2[_0x40692d(0x16c)])>0x0?_0x2398ce[_0x40692d(0x190)]['default_size'][_0x40692d(0x16c)]:0x500,_0x564572[_0x40692d(0x1a2)][_0x40692d(0x169)]=Number((_0x5e9b56=_0x2398ce[_0x40692d(0x190)][_0x40692d(0x1a4)])===null||_0x5e9b56===void 0x0?void 0x0:_0x5e9b56[_0x40692d(0x169)])>0x0?_0x2398ce[_0x40692d(0x190)]['default_size'][_0x40692d(0x169)]:0x500,_0x564572['resizability']=_0x1ffe39['includes'](_0x2398ce[_0x40692d(0x190)][_0x40692d(0x16b)])?_0x2398ce[_0x40692d(0x190)]['resizability']:_0x40692d(0x188),_0x2398ce['mainScene']=_0x564572;else typeof _0x2398ce[_0x40692d(0x190)]===_0x40692d(0x1a0)&&(_0x2398ce[_0x40692d(0x180)]=_0x40692d(0x183));}}function configDeeplink(_0x23aa60){const _0x2b0dfb=_0x35eb78;if(_0x23aa60[_0x2b0dfb(0x199)]&&_0x23aa60[_0x2b0dfb(0x199)][_0x2b0dfb(0x181)]>0x0)for(var _0xa4073=0x0;_0xa4073<_0x23aa60[_0x2b0dfb(0x199)][_0x2b0dfb(0x181)];_0xa4073++){const _0x5aa563=_0x23aa60[_0x2b0dfb(0x199)][_0xa4073];if(_0x5aa563[_0x2b0dfb(0x165)]&&(exports[_0x2b0dfb(0x19d)][_0x2b0dfb(0x19b)](_0x5aa563[_0x2b0dfb(0x165)])||_0x5aa563['protocol']['indexOf']('web+')===0x0)){if(!((0x0,validate_1[_0x2b0dfb(0x1a3)])(_0x5aa563[_0x2b0dfb(0x187)])&&_0x5aa563[_0x2b0dfb(0x187)][_0x2b0dfb(0x178)](_0x23aa60[_0x2b0dfb(0x15e)])<0x0))continue;}_0x23aa60[_0x2b0dfb(0x199)][_0x2b0dfb(0x17b)](_0xa4073,0x1),_0xa4073--;}}exports[_0x35eb78(0x19d)]=[_0x35eb78(0x192),'ftp',_0x35eb78(0x17c),_0x35eb78(0x1a5),'im',_0x35eb78(0x19e),_0x35eb78(0x18b),_0x35eb78(0x166),_0x35eb78(0x162),_0x35eb78(0x177),_0x35eb78(0x16d),_0x35eb78(0x171),_0x35eb78(0x167),_0x35eb78(0x18f),'sftp',_0x35eb78(0x19a),_0x35eb78(0x17a),'smsto',_0x35eb78(0x160),_0x35eb78(0x16f),_0x35eb78(0x172),_0x35eb78(0x194),_0x35eb78(0x1a1),'xmpp'];
@@ -1 +1 @@
1
- 'use strict';function _0x2150(_0x52d7ad,_0x26f5c2){const _0x4609cc=_0x4609();return _0x2150=function(_0x21504a,_0x57fae8){_0x21504a=_0x21504a-0x192;let _0x40a138=_0x4609cc[_0x21504a];return _0x40a138;},_0x2150(_0x52d7ad,_0x26f5c2);}const _0x20a8ec=_0x2150;(function(_0x5c235b,_0xd3229e){const _0x5007db=_0x2150,_0x2db7be=_0x5c235b();while(!![]){try{const _0x306adb=-parseInt(_0x5007db(0x19b))/0x1+-parseInt(_0x5007db(0x1bd))/0x2+-parseInt(_0x5007db(0x1a1))/0x3+parseInt(_0x5007db(0x1a9))/0x4+-parseInt(_0x5007db(0x196))/0x5*(parseInt(_0x5007db(0x1a5))/0x6)+parseInt(_0x5007db(0x1bb))/0x7*(-parseInt(_0x5007db(0x1ba))/0x8)+parseInt(_0x5007db(0x1ab))/0x9;if(_0x306adb===_0xd3229e)break;else _0x2db7be['push'](_0x2db7be['shift']());}catch(_0x8d962b){_0x2db7be['push'](_0x2db7be['shift']());}}}(_0x4609,0x57812));Object['defineProperty'](exports,_0x20a8ec(0x197),{'value':!![]}),exports[_0x20a8ec(0x1b0)]=void 0x0;const path_1=require(_0x20a8ec(0x1b9)),config_1=require(_0x20a8ec(0x1b8)),load_1=require(_0x20a8ec(0x1ad)),validate_1=require(_0x20a8ec(0x1a2)),fs=require('fs'),Cli_1=require('../Cli');class PWAGenerator{static async[_0x20a8ec(0x1b2)](_0x23a85d,_0x4cbb83=![]){const _0x436c0e=_0x20a8ec;let _0x574598=await this[_0x436c0e(0x1a7)](_0x23a85d,_0x4cbb83);return console[_0x436c0e(0x1b6)](_0x436c0e(0x19c)),await this['config'](_0x574598,_0x23a85d,_0x4cbb83),console['log']('reset\x20manifest.json:\x20ok'),_0x574598;}static async[_0x20a8ec(0x1a7)](_0x193780,_0x1692d1=![]){const _0x15ed5e=_0x20a8ec;var _0x91986d,_0x28cd2;let _0x4b0402={},_0x319531='',_0x182bf8=![],_0xc8342a=![];if(_0x193780[_0x15ed5e(0x19e)])_0x319531=_0x193780['manifest-url'],_0x182bf8=!![],_0x4b0402=await(0x0,load_1['loadJsonFromNet'])(_0x193780[_0x15ed5e(0x19e)]);else{_0x193780[_0x15ed5e(0x1be)]?_0x319531=(0x0,path_1['join'])(process[_0x15ed5e(0x19f)](),_0x193780[_0x15ed5e(0x1be)]):(_0x319531=(0x0,path_1[_0x15ed5e(0x192)])(process[_0x15ed5e(0x19f)](),_0x15ed5e(0x1a0)),!fs[_0x15ed5e(0x1c2)](_0x319531)&&(_0x319531=(0x0,path_1[_0x15ed5e(0x192)])(process[_0x15ed5e(0x19f)](),_0x15ed5e(0x1bf))));if(!fs[_0x15ed5e(0x1c2)](_0x319531)){if(_0x1692d1)_0xc8342a=!![],Cli_1[_0x15ed5e(0x1bc)][_0x15ed5e(0x1b6)][_0x15ed5e(0x1b4)](_0x15ed5e(0x1ae));else throw new Error(_0x15ed5e(0x1aa));}_0x4b0402=_0xc8342a?this[_0x15ed5e(0x1ac)]:await(0x0,load_1[_0x15ed5e(0x193)])(_0x319531),this[_0x15ed5e(0x199)]=_0xc8342a;}(0x0,validate_1[_0x15ed5e(0x1a3)])(_0x4b0402,_0x1692d1);let _0x1a0ccd=(0x0,config_1[_0x15ed5e(0x194)])(_0x4b0402,(_0x91986d=_0x193780[_0x15ed5e(0x1c1)])!==null&&_0x91986d!==void 0x0?_0x91986d:'');var _0x327694=(0x0,validate_1[_0x15ed5e(0x195)])(_0x1a0ccd,_0x319531,_0x182bf8,_0x1692d1);_0x4b0402[_0x15ed5e(0x1b7)]=_0x1a0ccd;if(!_0x1692d1)(0x0,validate_1[_0x15ed5e(0x1b5)])(_0x4b0402,(_0x28cd2=_0x193780[_0x15ed5e(0x198)])!==null&&_0x28cd2!==void 0x0?_0x28cd2:'');return await(0x0,validate_1[_0x15ed5e(0x19d)])(_0x4b0402,_0x319531,_0x1692d1),{'json':_0x4b0402,'url':_0x319531,'fromNet':_0x327694};}static['config'](_0x4d3f6e,_0xa9d217,_0x13729e){const _0x34d4e6=_0x20a8ec;var _0x1f43a4;(0x0,config_1[_0x34d4e6(0x1b1)])(_0x4d3f6e[_0x34d4e6(0x1a8)],(_0x1f43a4=_0xa9d217['bundle-id'])!==null&&_0x1f43a4!==void 0x0?_0x1f43a4:'',_0x13729e),(0x0,config_1[_0x34d4e6(0x1a4)])(_0x4d3f6e[_0x34d4e6(0x1a8)]),(0x0,config_1[_0x34d4e6(0x1a6)])(_0x4d3f6e[_0x34d4e6(0x1a8)]),(0x0,config_1[_0x34d4e6(0x19a)])(_0x4d3f6e[_0x34d4e6(0x1a8)]),(0x0,config_1['configMainScene'])(_0x4d3f6e[_0x34d4e6(0x1a8)]);}}function _0x4609(){const _0x3eef3f=['cwd','public/manifest.json','586101weKZov','./validate','checkManifestJson','configScope','1458966jNlZPT','configDisplay','validate','json','248596VtSaPA','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','16309836hqapnx','defaultManifestJson','../resource/load','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','minimal-ui','PWAGenerator','configId','generator','WebSpatialTest','warn','checkId','log','start_url','./config','path','872hdofqp','17759qpMWlf','Cli','1054216kGYiak','manifest','public/manifest.webmanifest','standalone','base','existsSync','join','loadJsonFromDisk','configStartUrl','checkStartUrl','5XSTpIs','__esModule','bundle-id','useDefaultManifestJson','configDeeplink','273766YcZzEZ','check\x20manifest.json:\x20ok','checkIcons','manifest-url'];_0x4609=function(){return _0x3eef3f;};return _0x4609();}exports[_0x20a8ec(0x1b0)]=PWAGenerator,PWAGenerator['DisplayModes']=[_0x20a8ec(0x1c0),'minimal-ui'],PWAGenerator[_0x20a8ec(0x1ac)]={'name':_0x20a8ec(0x1b3),'display':_0x20a8ec(0x1af),'start_url':'/','scope':'/'},PWAGenerator[_0x20a8ec(0x199)]=![];
1
+ 'use strict';const _0x2678fa=_0x2401;(function(_0xafaefc,_0xb69e9e){const _0xb6459a=_0x2401,_0x1c72a1=_0xafaefc();while(!![]){try{const _0x5ddae4=parseInt(_0xb6459a(0xca))/0x1+-parseInt(_0xb6459a(0xeb))/0x2*(-parseInt(_0xb6459a(0xd9))/0x3)+-parseInt(_0xb6459a(0xde))/0x4+-parseInt(_0xb6459a(0xea))/0x5+parseInt(_0xb6459a(0xd0))/0x6+parseInt(_0xb6459a(0xf0))/0x7+-parseInt(_0xb6459a(0xe9))/0x8;if(_0x5ddae4===_0xb69e9e)break;else _0x1c72a1['push'](_0x1c72a1['shift']());}catch(_0x2bc5f0){_0x1c72a1['push'](_0x1c72a1['shift']());}}}(_0x44a1,0x95b59));Object[_0x2678fa(0xe0)](exports,_0x2678fa(0xd2),{'value':!![]}),exports[_0x2678fa(0xcd)]=void 0x0;const path_1=require(_0x2678fa(0xc8)),config_1=require('./config'),load_1=require(_0x2678fa(0xe5)),validate_1=require(_0x2678fa(0xcb)),fs=require('fs'),Cli_1=require('../Cli');function _0x2401(_0x36905b,_0x38b252){const _0x44a16a=_0x44a1();return _0x2401=function(_0x2401be,_0x598d56){_0x2401be=_0x2401be-0xc6;let _0x10d4a0=_0x44a16a[_0x2401be];return _0x10d4a0;},_0x2401(_0x36905b,_0x38b252);}class PWAGenerator{static async['generator'](_0xa35ef0,_0x41668e=![]){const _0x444a77=_0x2678fa;let _0x55bb22=await this[_0x444a77(0xe2)](_0xa35ef0,_0x41668e);return console[_0x444a77(0xc7)](_0x444a77(0xce)),await this['config'](_0x55bb22,_0xa35ef0,_0x41668e),console[_0x444a77(0xc7)]('reset\x20manifest.json:\x20ok'),_0x55bb22;}static async[_0x2678fa(0xe2)](_0x1fc85d,_0x5dca4a=![]){const _0x3ea87d=_0x2678fa;var _0x304b8e,_0x306b89;let _0xb00522={},_0x64eb70='',_0x352cb4=![],_0x5c93d6=![];if(_0x1fc85d[_0x3ea87d(0xec)])_0x64eb70=_0x1fc85d[_0x3ea87d(0xec)],_0x352cb4=!![],_0xb00522=await(0x0,load_1['loadJsonFromNet'])(_0x1fc85d[_0x3ea87d(0xec)]);else{_0x1fc85d[_0x3ea87d(0xd8)]?_0x64eb70=(0x0,path_1[_0x3ea87d(0xd1)])(process[_0x3ea87d(0xf2)](),_0x1fc85d[_0x3ea87d(0xd8)]):(_0x64eb70=(0x0,path_1['join'])(process['cwd'](),'public/manifest.json'),!fs['existsSync'](_0x64eb70)&&(_0x64eb70=(0x0,path_1[_0x3ea87d(0xd1)])(process[_0x3ea87d(0xf2)](),'public/manifest.webmanifest')));if(!fs[_0x3ea87d(0xe1)](_0x64eb70)){if(_0x5dca4a)_0x5c93d6=!![],Cli_1[_0x3ea87d(0xd7)][_0x3ea87d(0xc7)]['warn'](_0x3ea87d(0xcc));else throw new Error(_0x3ea87d(0xcf));}_0xb00522=_0x5c93d6?this[_0x3ea87d(0xdb)]:await(0x0,load_1[_0x3ea87d(0xdd)])(_0x64eb70),this[_0x3ea87d(0xe8)]=_0x5c93d6;}(0x0,validate_1[_0x3ea87d(0xd5)])(_0xb00522,_0x5dca4a);let _0x51793f=(0x0,config_1[_0x3ea87d(0xdc)])(_0xb00522,(_0x304b8e=_0x1fc85d[_0x3ea87d(0xe7)])!==null&&_0x304b8e!==void 0x0?_0x304b8e:'');var _0x3f2de7=(0x0,validate_1[_0x3ea87d(0xc6)])(_0x51793f,_0x64eb70,_0x352cb4,_0x5dca4a);_0xb00522[_0x3ea87d(0xd6)]=_0x51793f;if(!_0x5dca4a)(0x0,validate_1[_0x3ea87d(0xdf)])(_0xb00522,(_0x306b89=_0x1fc85d[_0x3ea87d(0xf1)])!==null&&_0x306b89!==void 0x0?_0x306b89:'');return await(0x0,validate_1[_0x3ea87d(0xed)])(_0xb00522,_0x64eb70,_0x5dca4a),{'json':_0xb00522,'url':_0x64eb70,'fromNet':_0x3f2de7};}static[_0x2678fa(0xd4)](_0x92b624,_0x4f7d8b,_0x30d83f){const _0xd33ac1=_0x2678fa;var _0x5dc172;(0x0,config_1[_0xd33ac1(0xd3)])(_0x92b624[_0xd33ac1(0xe4)],(_0x5dc172=_0x4f7d8b[_0xd33ac1(0xf1)])!==null&&_0x5dc172!==void 0x0?_0x5dc172:'',_0x30d83f),(0x0,config_1[_0xd33ac1(0xe3)])(_0x92b624[_0xd33ac1(0xe4)]),(0x0,config_1[_0xd33ac1(0xee)])(_0x92b624[_0xd33ac1(0xe4)]),(0x0,config_1[_0xd33ac1(0xc9)])(_0x92b624[_0xd33ac1(0xe4)]),(0x0,config_1['configMainScene'])(_0x92b624[_0xd33ac1(0xe4)]);}}exports[_0x2678fa(0xcd)]=PWAGenerator,PWAGenerator[_0x2678fa(0xe6)]=[_0x2678fa(0xf3),'minimal-ui'],PWAGenerator['defaultManifestJson']={'name':_0x2678fa(0xda),'display':_0x2678fa(0xef),'start_url':'/','scope':'/'},PWAGenerator[_0x2678fa(0xe8)]=![];function _0x44a1(){const _0x13179d=['defaultManifestJson','configStartUrl','loadJsonFromDisk','2310872vprlGZ','checkId','defineProperty','existsSync','validate','configScope','json','../resource/load','DisplayModes','base','useDefaultManifestJson','1790152qoQjjI','3261885iVtDEB','76xeICDc','manifest-url','checkIcons','configDisplay','minimal-ui','379960ShhOWl','bundle-id','cwd','standalone','checkStartUrl','log','path','configDeeplink','757042tBcCpr','./validate','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','PWAGenerator','check\x20manifest.json:\x20ok','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','5743566HZXzpj','join','__esModule','configId','config','checkManifestJson','start_url','Cli','manifest','23565JlVbIL','WebSpatialTest'];_0x44a1=function(){return _0x13179d;};return _0x44a1();}
@@ -1 +1 @@
1
- 'use strict';const _0xa33e13=_0x4290;(function(_0xaa6052,_0x4ec9ea){const _0x5db44a=_0x4290,_0x5baa26=_0xaa6052();while(!![]){try{const _0x2b0746=parseInt(_0x5db44a(0xe9))/0x1*(-parseInt(_0x5db44a(0xd8))/0x2)+parseInt(_0x5db44a(0xe1))/0x3*(parseInt(_0x5db44a(0xd4))/0x4)+-parseInt(_0x5db44a(0xf1))/0x5+parseInt(_0x5db44a(0xc7))/0x6*(parseInt(_0x5db44a(0xcf))/0x7)+-parseInt(_0x5db44a(0xcc))/0x8*(parseInt(_0x5db44a(0xe4))/0x9)+-parseInt(_0x5db44a(0xf4))/0xa+parseInt(_0x5db44a(0xe8))/0xb;if(_0x2b0746===_0x4ec9ea)break;else _0x5baa26['push'](_0x5baa26['shift']());}catch(_0x2a8ae2){_0x5baa26['push'](_0x5baa26['shift']());}}}(_0x2c7b,0x5a3d8));Object[_0xa33e13(0xf5)](exports,_0xa33e13(0xfa),{'value':!![]}),exports[_0xa33e13(0xd5)]=checkManifestJson,exports[_0xa33e13(0xf9)]=checkStartUrl,exports[_0xa33e13(0xc5)]=checkIcons,exports[_0xa33e13(0xd9)]=checkId,exports[_0xa33e13(0xfc)]=validateBundleId,exports['validateURL']=validateURL;const path_1=require('path'),CustomError_1=require(_0xa33e13(0xce)),utils_1=require(_0xa33e13(0xe6)),imageHelper_1=require(_0xa33e13(0xea)),load_1=require('../resource/load'),Cli_1=require(_0xa33e13(0xcd));function checkManifestJson(_0x5f3b1b,_0xf85c81=![]){const _0xd99482=_0xa33e13;var _0x5b64ce;const _0x2a7721=[];!_0x5f3b1b[_0xd99482(0xf6)]&&!_0x5f3b1b['short_name']&&!_0xf85c81&&_0x2a7721[_0xd99482(0xd0)]({'code':0xbbe,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x5b64ce=_0x5f3b1b[_0xd99482(0xda)])===null||_0x5b64ce===void 0x0?void 0x0:_0x5b64ce['length'])&&!_0xf85c81&&_0x2a7721['push']({'code':0xbbf,'message':_0xd99482(0xdd),'message_staring_params':{}});!_0x5f3b1b[_0xd99482(0xee)]&&_0x2a7721[_0xd99482(0xd0)]({'code':0xbc0,'message':_0xd99482(0xde),'message_staring_params':{}});if(_0x2a7721[_0xd99482(0xfd)])throw new CustomError_1[(_0xd99482(0xef))](_0x2a7721);}function _0x2c7b(){const _0x2a6ba1=['24885509xNUCFc','34ixGmxK','../resource/imageHelper','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','loadImageFromNet','ImageHelper','start_url','CustomError','host','472965kNEpRm','http://','maskable','7303480VFUgqx','defineProperty','name','log','indexOf','checkStartUrl','__esModule','loadImageFromDisk','validateBundleId','length','https://','checkIcons','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','978srzvYY','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','split','src','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','8mwLOWa','../Cli','../utils/CustomError','2786KqtxVZ','push','getHeight','sizes','purpose','16aWroLA','checkManifestJson','forEach','startsWith','43036aajXac','checkId','icons','test','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','warn','getWidth','209136RCiiXn','join','http','6118776NhoJFf','isFullyOpaque','../utils/utils','Cli'];_0x2c7b=function(){return _0x2a6ba1;};return _0x2c7b();}function checkStartUrl(_0x113681,_0x3c8e0e,_0x2c905a,_0x4395c9=![]){const _0x5e7531=_0xa33e13;var _0x522017=![];if(_0x4395c9)return _0x113681[_0x5e7531(0xd7)]('https://')||_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xf2));if(_0x2c905a){if(_0x113681['startsWith'](_0x5e7531(0xc4))){const _0x523b68=new URL(_0x113681),_0x5e068a=new URL(_0x3c8e0e);if(_0x523b68[_0x5e7531(0xf0)]!==_0x5e068a['host'])throw new CustomError_1[(_0x5e7531(0xef))]({'code':0xfa0,'message':_0x5e7531(0xc6),'message_staring_params':{}});}else{if(_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xf2)))throw new CustomError_1[(_0x5e7531(0xef))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xc4))||_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xf2)))throw new CustomError_1[(_0x5e7531(0xef))]({'code':0xfa0,'message':'Local\x20manifest\x20cannot\x20package\x20network\x20project','message_staring_params':{}});}return _0x522017;}async function checkIcons(_0x307ccd,_0x4199de,_0x51e5de=![]){const _0x3f8c64=_0xa33e13;var _0x5398d2,_0x1a123a;if(!((_0x5398d2=_0x307ccd['icons'])===null||_0x5398d2===void 0x0?void 0x0:_0x5398d2['length'])&&_0x51e5de){Cli_1['Cli']['log']['warn'](_0x3f8c64(0xdc));return;}const _0x16032a=(0x0,utils_1['parseRouter'])(_0x4199de);let _0x461069,_0x1712d8,_0xec10e,_0x38f556=0x0;for(var _0x1c8464=0x0;_0x1c8464<_0x307ccd[_0x3f8c64(0xda)][_0x3f8c64(0xfd)];_0x1c8464++){const _0xa156d4=_0x307ccd[_0x3f8c64(0xda)][_0x1c8464];let _0x344e52=((_0x1a123a=_0xa156d4[_0x3f8c64(0xd3)])===null||_0x1a123a===void 0x0?void 0x0:_0x1a123a[_0x3f8c64(0xf8)](_0x3f8c64(0xf3)))>=0x0;if(!_0x344e52)continue;let _0xd100f7=![],_0x48c03c=_0xa156d4[_0x3f8c64(0xca)],_0x157e9a,_0x1838e5=0x0;!validateURL(_0x48c03c)&&(_0x48c03c=(0x0,path_1[_0x3f8c64(0xe2)])(_0x16032a,_0x48c03c));if(_0xa156d4['sizes']){const _0x2a4840=_0xa156d4[_0x3f8c64(0xd2)][_0x3f8c64(0xc9)]('\x20');_0x2a4840[_0x3f8c64(0xd6)](_0x58c185=>{const _0x3a8594=_0x3f8c64;let _0x4ad147=_0x58c185[_0x3a8594(0xc9)]('x');Number(_0x4ad147[0x0])>=0x400&&Number(_0x4ad147[0x1])>=0x400&&(_0xd100f7=!![],Number(_0x4ad147[0x0])>_0x1838e5&&(_0x1838e5=Number(_0x4ad147[0x0])));});}else _0x157e9a=!_0x48c03c[_0x3f8c64(0xd7)]('http')?await(0x0,load_1[_0x3f8c64(0xfb)])(_0x48c03c):await(0x0,load_1[_0x3f8c64(0xec)])(_0x48c03c),_0x157e9a[_0x3f8c64(0xe0)]()>=0x400&&_0x157e9a[_0x3f8c64(0xd1)]()>=0x400&&(_0xd100f7=!![],_0x157e9a['getWidth']()>_0x1838e5&&(_0x1838e5=_0x157e9a[_0x3f8c64(0xe0)]()));_0xd100f7&&_0x344e52&&(_0x1838e5>_0x38f556&&(_0x38f556=_0x1838e5,_0x461069=_0x157e9a,_0x1712d8=_0x48c03c,_0xec10e=_0xa156d4[_0x3f8c64(0xd3)]));}if(_0x38f556===0x0){if(_0x51e5de){Cli_1[_0x3f8c64(0xe7)][_0x3f8c64(0xf7)][_0x3f8c64(0xdf)](_0x3f8c64(0xcb));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x3f8c64(0xcb),'message_staring_params':{}});}else _0x1712d8&&(_0x461069=!_0x1712d8['startsWith'](_0x3f8c64(0xe3))?await(0x0,load_1[_0x3f8c64(0xfb)])(_0x1712d8):await(0x0,load_1[_0x3f8c64(0xec)])(_0x1712d8));if(_0x461069&&!imageHelper_1[_0x3f8c64(0xed)][_0x3f8c64(0xe5)](_0x461069)){if(_0x51e5de){Cli_1[_0x3f8c64(0xe7)][_0x3f8c64(0xf7)]['warn'](_0x3f8c64(0xcb));return;}throw new CustomError_1[(_0x3f8c64(0xef))]({'code':0xfa0,'message':_0x3f8c64(0xc8),'message_staring_params':{}});}_0x307ccd[_0x3f8c64(0xda)]=[{'src':_0x1712d8,'sizes':_0x38f556+'x'+_0x38f556,'purpose':_0xec10e}];}function checkId(_0x556f0d,_0x29d8f2){const _0x4351da=_0xa33e13;if(_0x29d8f2){if(!validateBundleId(_0x29d8f2))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x4351da(0xeb),'message_staring_params':{}});return;}!_0x556f0d['id']&&(_0x556f0d['id']=_0x556f0d[_0x4351da(0xee)]);if(!validateURL(_0x556f0d['id'])&&!_0x29d8f2)throw new CustomError_1[(_0x4351da(0xef))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','message_staring_params':{}});}function validateBundleId(_0x2b4be3){const _0x1cdd82=_0xa33e13,_0x3d7f22=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x3d7f22[_0x1cdd82(0xdb)](_0x2b4be3);}function _0x4290(_0x236e90,_0x353b58){const _0x2c7b00=_0x2c7b();return _0x4290=function(_0x4290f6,_0x16c674){_0x4290f6=_0x4290f6-0xc4;let _0x4afe80=_0x2c7b00[_0x4290f6];return _0x4afe80;},_0x4290(_0x236e90,_0x353b58);}function validateURL(_0x36b5df){try{return new URL(_0x36b5df),!![];}catch(_0x10dffd){return![];}}
1
+ 'use strict';const _0x58c4fd=_0x4e91;(function(_0x5b3871,_0x3730ee){const _0xbff8a1=_0x4e91,_0x2e6c34=_0x5b3871();while(!![]){try{const _0x520253=parseInt(_0xbff8a1(0x1fa))/0x1*(-parseInt(_0xbff8a1(0x1fc))/0x2)+-parseInt(_0xbff8a1(0x22a))/0x3*(-parseInt(_0xbff8a1(0x219))/0x4)+parseInt(_0xbff8a1(0x1ff))/0x5*(-parseInt(_0xbff8a1(0x1fe))/0x6)+-parseInt(_0xbff8a1(0x1fd))/0x7*(parseInt(_0xbff8a1(0x21f))/0x8)+-parseInt(_0xbff8a1(0x216))/0x9+parseInt(_0xbff8a1(0x211))/0xa*(-parseInt(_0xbff8a1(0x22e))/0xb)+parseInt(_0xbff8a1(0x21c))/0xc;if(_0x520253===_0x3730ee)break;else _0x2e6c34['push'](_0x2e6c34['shift']());}catch(_0x20a2ad){_0x2e6c34['push'](_0x2e6c34['shift']());}}}(_0x331a,0x6087f));Object['defineProperty'](exports,_0x58c4fd(0x205),{'value':!![]}),exports[_0x58c4fd(0x204)]=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x58c4fd(0x21b)]=checkIcons,exports[_0x58c4fd(0x1f6)]=checkId,exports[_0x58c4fd(0x218)]=validateBundleId,exports['validateURL']=validateURL;const path_1=require('path'),CustomError_1=require(_0x58c4fd(0x1f5)),utils_1=require(_0x58c4fd(0x20c)),imageHelper_1=require(_0x58c4fd(0x21e)),load_1=require('../resource/load'),Cli_1=require(_0x58c4fd(0x227));function _0x4e91(_0x4d7c5e,_0x2965af){const _0x331a12=_0x331a();return _0x4e91=function(_0x4e9162,_0x4c2531){_0x4e9162=_0x4e9162-0x1f4;let _0x54f683=_0x331a12[_0x4e9162];return _0x54f683;},_0x4e91(_0x4d7c5e,_0x2965af);}function checkManifestJson(_0x29535d,_0x58ec90=![]){const _0x40ec68=_0x58c4fd;var _0x1f8bf5;const _0x10deaa=[];!_0x29535d['name']&&!_0x29535d[_0x40ec68(0x210)]&&!_0x58ec90&&_0x10deaa['push']({'code':0xbbe,'message':_0x40ec68(0x228),'message_staring_params':{}});!((_0x1f8bf5=_0x29535d[_0x40ec68(0x1f9)])===null||_0x1f8bf5===void 0x0?void 0x0:_0x1f8bf5[_0x40ec68(0x203)])&&!_0x58ec90&&_0x10deaa[_0x40ec68(0x20e)]({'code':0xbbf,'message':_0x40ec68(0x221),'message_staring_params':{}});!_0x29535d[_0x40ec68(0x226)]&&_0x10deaa['push']({'code':0xbc0,'message':_0x40ec68(0x1fb),'message_staring_params':{}});if(_0x10deaa[_0x40ec68(0x203)])throw new CustomError_1['CustomError'](_0x10deaa);}function checkStartUrl(_0x2d5132,_0x1db741,_0x38f8e,_0x51e8ad=![]){const _0x1782df=_0x58c4fd;var _0x23d93d=![];if(_0x51e8ad)return _0x2d5132[_0x1782df(0x214)]('https://')||_0x2d5132[_0x1782df(0x214)](_0x1782df(0x209));if(_0x38f8e){if(_0x2d5132['startsWith'](_0x1782df(0x21a))){const _0x1028ef=new URL(_0x2d5132),_0x3cbbcc=new URL(_0x1db741);if(_0x1028ef[_0x1782df(0x22b)]!==_0x3cbbcc[_0x1782df(0x22b)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1782df(0x206),'message_staring_params':{}});}else{if(_0x2d5132[_0x1782df(0x214)]('http://'))throw new CustomError_1[(_0x1782df(0x20b))]({'code':0xfa0,'message':_0x1782df(0x220),'message_staring_params':{}});}}else{if(_0x2d5132[_0x1782df(0x214)]('https://')||_0x2d5132[_0x1782df(0x214)](_0x1782df(0x209)))throw new CustomError_1[(_0x1782df(0x20b))]({'code':0xfa0,'message':'Local\x20manifest\x20cannot\x20package\x20network\x20project','message_staring_params':{}});}return _0x23d93d;}async function checkIcons(_0xa8fa22,_0x557fe0,_0x1fe1d2=![]){const _0x1fcfb5=_0x58c4fd;var _0x30fc58,_0x11b1b1;if(!((_0x30fc58=_0xa8fa22[_0x1fcfb5(0x1f9)])===null||_0x30fc58===void 0x0?void 0x0:_0x30fc58[_0x1fcfb5(0x203)])&&_0x1fe1d2){Cli_1[_0x1fcfb5(0x200)][_0x1fcfb5(0x21d)][_0x1fcfb5(0x207)](_0x1fcfb5(0x212));return;}const _0x273c62=(0x0,utils_1[_0x1fcfb5(0x225)])(_0x557fe0);let _0xac27f2,_0x4adc6a,_0x5d8c25,_0x455971=0x0;for(var _0x289b29=0x0;_0x289b29<_0xa8fa22['icons'][_0x1fcfb5(0x203)];_0x289b29++){const _0x340ffe=_0xa8fa22[_0x1fcfb5(0x1f9)][_0x289b29];let _0x1a7aff=((_0x11b1b1=_0x340ffe[_0x1fcfb5(0x217)])===null||_0x11b1b1===void 0x0?void 0x0:_0x11b1b1[_0x1fcfb5(0x1f7)](_0x1fcfb5(0x20a)))>=0x0;if(!_0x1a7aff)continue;let _0x549af7=![],_0x1c3a75=_0x340ffe[_0x1fcfb5(0x22c)],_0x1c3f87,_0x300d3a=0x0;!validateURL(_0x1c3a75)&&(_0x1c3a75=(0x0,path_1['join'])(_0x273c62,_0x1c3a75));if(_0x340ffe['sizes']){const _0x3bdab0=_0x340ffe[_0x1fcfb5(0x208)][_0x1fcfb5(0x222)]('\x20');_0x3bdab0[_0x1fcfb5(0x201)](_0x4f2260=>{const _0x4e8fd9=_0x1fcfb5;let _0x4d38cd=_0x4f2260[_0x4e8fd9(0x222)]('x');Number(_0x4d38cd[0x0])>=0x400&&Number(_0x4d38cd[0x1])>=0x400&&(_0x549af7=!![],Number(_0x4d38cd[0x0])>_0x300d3a&&(_0x300d3a=Number(_0x4d38cd[0x0])));});}else _0x1c3f87=!_0x1c3a75['startsWith']('http')?await(0x0,load_1[_0x1fcfb5(0x20d)])(_0x1c3a75):await(0x0,load_1[_0x1fcfb5(0x1f8)])(_0x1c3a75),_0x1c3f87[_0x1fcfb5(0x224)]()>=0x400&&_0x1c3f87['getHeight']()>=0x400&&(_0x549af7=!![],_0x1c3f87[_0x1fcfb5(0x224)]()>_0x300d3a&&(_0x300d3a=_0x1c3f87['getWidth']()));_0x549af7&&_0x1a7aff&&(_0x300d3a>_0x455971&&(_0x455971=_0x300d3a,_0xac27f2=_0x1c3f87,_0x4adc6a=_0x1c3a75,_0x5d8c25=_0x340ffe[_0x1fcfb5(0x217)]));}if(_0x455971===0x0){if(_0x1fe1d2){Cli_1[_0x1fcfb5(0x200)]['log'][_0x1fcfb5(0x207)](_0x1fcfb5(0x202));return;}throw new CustomError_1[(_0x1fcfb5(0x20b))]({'code':0xfa0,'message':_0x1fcfb5(0x202),'message_staring_params':{}});}else _0x4adc6a&&(_0xac27f2=!_0x4adc6a[_0x1fcfb5(0x214)](_0x1fcfb5(0x223))?await(0x0,load_1['loadImageFromDisk'])(_0x4adc6a):await(0x0,load_1[_0x1fcfb5(0x1f8)])(_0x4adc6a));if(_0xac27f2&&!imageHelper_1[_0x1fcfb5(0x20f)][_0x1fcfb5(0x22d)](_0xac27f2)){if(_0x1fe1d2){Cli_1[_0x1fcfb5(0x200)][_0x1fcfb5(0x21d)][_0x1fcfb5(0x207)](_0x1fcfb5(0x202));return;}throw new CustomError_1[(_0x1fcfb5(0x20b))]({'code':0xfa0,'message':_0x1fcfb5(0x213),'message_staring_params':{}});}_0xa8fa22[_0x1fcfb5(0x1f9)]=[{'src':_0x4adc6a,'sizes':_0x455971+'x'+_0x455971,'purpose':_0x5d8c25}];}function _0x331a(){const _0x33a414=['getWidth','parseRouter','start_url','../Cli','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','87avGFlk','host','src','isFullyOpaque','6596777jBNhJn','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','../utils/CustomError','checkId','indexOf','loadImageFromNet','icons','22681ntNand','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','46IAjknZ','21fYjebz','1444380PgaadU','10MUPgJT','Cli','forEach','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','length','checkManifestJson','__esModule','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','warn','sizes','http://','maskable','CustomError','../utils/utils','loadImageFromDisk','push','ImageHelper','short_name','10sikxpx','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','startsWith','test','6943509piTWzs','purpose','validateBundleId','12724UYtMot','https://','checkIcons','36192816RkDmNU','log','../resource/imageHelper','902920ooUKfG','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','split','http'];_0x331a=function(){return _0x33a414;};return _0x331a();}function checkId(_0x10fb53,_0x8c5e70){const _0x4f61dd=_0x58c4fd;if(_0x8c5e70){if(!validateBundleId(_0x8c5e70))throw new CustomError_1[(_0x4f61dd(0x20b))]({'code':0xfa0,'message':_0x4f61dd(0x1f4),'message_staring_params':{}});return;}!_0x10fb53['id']&&(_0x10fb53['id']=_0x10fb53[_0x4f61dd(0x226)]);if(!validateURL(_0x10fb53['id'])&&!_0x8c5e70)throw new CustomError_1[(_0x4f61dd(0x20b))]({'code':0xfa0,'message':_0x4f61dd(0x229),'message_staring_params':{}});}function validateBundleId(_0x70d19c){const _0x104455=_0x58c4fd,_0x5a3614=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x5a3614[_0x104455(0x215)](_0x70d19c);}function validateURL(_0x3211fe){try{return new URL(_0x3211fe),!![];}catch(_0x11292d){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0x416d(_0x54d8eb,_0x37a976){const _0x3d0217=_0x3d02();return _0x416d=function(_0x416d06,_0x5a2849){_0x416d06=_0x416d06-0x1c7;let _0x3de0bd=_0x3d0217[_0x416d06];return _0x3de0bd;},_0x416d(_0x54d8eb,_0x37a976);}function _0x3d02(){const _0x45f840=['existsSync','statSync','readFileSync','forEach','2758611wklRmm','4NRnHYe','readdirSync','2429maWlhN','12MrNYSP','2750vESCBP','isFile','2SIDuaV','3749080MXKQDq','246858enBHfv','clearDir','22880DeOmkB','109031kVypnV','isDirectory','15666jlQIcH','344142MOiipG','defineProperty','log','unlinkSync','__esModule','120gdqruK'];_0x3d02=function(){return _0x45f840;};return _0x3d02();}const _0x2b2542=_0x416d;(function(_0x38c8a8,_0x19bc6c){const _0x3bbcfa=_0x416d,_0x235bca=_0x38c8a8();while(!![]){try{const _0x507690=-parseInt(_0x3bbcfa(0x1dc))/0x1+parseInt(_0x3bbcfa(0x1da))/0x2*(-parseInt(_0x3bbcfa(0x1d3))/0x3)+-parseInt(_0x3bbcfa(0x1d4))/0x4*(-parseInt(_0x3bbcfa(0x1db))/0x5)+-parseInt(_0x3bbcfa(0x1c8))/0x6*(-parseInt(_0x3bbcfa(0x1d6))/0x7)+-parseInt(_0x3bbcfa(0x1ce))/0x8*(parseInt(_0x3bbcfa(0x1c9))/0x9)+-parseInt(_0x3bbcfa(0x1de))/0xa*(-parseInt(_0x3bbcfa(0x1d8))/0xb)+parseInt(_0x3bbcfa(0x1d7))/0xc*(parseInt(_0x3bbcfa(0x1df))/0xd);if(_0x507690===_0x19bc6c)break;else _0x235bca['push'](_0x235bca['shift']());}catch(_0x24c136){_0x235bca['push'](_0x235bca['shift']());}}}(_0x3d02,0x7927f));Object[_0x2b2542(0x1ca)](exports,_0x2b2542(0x1cd),{'value':!![]}),exports['copyDir']=copyDir,exports[_0x2b2542(0x1dd)]=clearDir;const fs=require('fs');function copyDir(_0x5c4f64,_0x28f582){const _0x4a87f7=_0x2b2542,_0x3cfa69=fs[_0x4a87f7(0x1d5)](_0x5c4f64);_0x3cfa69['forEach'](_0x3f8678=>{const _0x123b95=_0x4a87f7,_0x2ec4fb=_0x5c4f64+'/'+_0x3f8678,_0x55d8ea=_0x28f582+'/'+_0x3f8678,_0x4bd63e=fs[_0x123b95(0x1d0)](_0x2ec4fb);if(_0x4bd63e[_0x123b95(0x1d9)]())try{fs['writeFileSync'](_0x55d8ea,fs[_0x123b95(0x1d1)](_0x2ec4fb));}catch(_0x18cf57){console[_0x123b95(0x1cb)](_0x18cf57);}else _0x4bd63e[_0x123b95(0x1c7)]()&&(!fs[_0x123b95(0x1cf)](_0x55d8ea)&&fs['mkdirSync'](_0x55d8ea,{'recursive':!![]}),copyDir(_0x2ec4fb,_0x55d8ea));});}function clearDir(_0x3505e3){const _0x3aed8d=_0x2b2542,_0x579dcc=fs[_0x3aed8d(0x1d5)](_0x3505e3);_0x579dcc[_0x3aed8d(0x1d2)](_0x41bdc9=>{const _0x525baf=_0x3aed8d,_0x41bf85=_0x3505e3+'/'+_0x41bdc9,_0x25089a=fs[_0x525baf(0x1d0)](_0x41bf85);if(_0x25089a[_0x525baf(0x1d9)]())try{fs[_0x525baf(0x1cc)](_0x41bf85);}catch(_0x551a9e){console[_0x525baf(0x1cb)](_0x551a9e);}else _0x25089a[_0x525baf(0x1c7)]()&&clearDir(_0x41bf85);});}
1
+ 'use strict';function _0x4849(_0x42666a,_0x50154e){const _0x289003=_0x2890();return _0x4849=function(_0x4849f7,_0x4c2b92){_0x4849f7=_0x4849f7-0x131;let _0x590899=_0x289003[_0x4849f7];return _0x590899;},_0x4849(_0x42666a,_0x50154e);}const _0x4915a0=_0x4849;(function(_0xf39bd5,_0xeeacf){const _0x2d7556=_0x4849,_0x25e305=_0xf39bd5();while(!![]){try{const _0x37351f=-parseInt(_0x2d7556(0x138))/0x1*(parseInt(_0x2d7556(0x131))/0x2)+parseInt(_0x2d7556(0x135))/0x3+-parseInt(_0x2d7556(0x132))/0x4*(-parseInt(_0x2d7556(0x141))/0x5)+-parseInt(_0x2d7556(0x148))/0x6*(parseInt(_0x2d7556(0x143))/0x7)+parseInt(_0x2d7556(0x13e))/0x8+-parseInt(_0x2d7556(0x13f))/0x9*(-parseInt(_0x2d7556(0x139))/0xa)+-parseInt(_0x2d7556(0x142))/0xb*(parseInt(_0x2d7556(0x134))/0xc);if(_0x37351f===_0xeeacf)break;else _0x25e305['push'](_0x25e305['shift']());}catch(_0x2f315d){_0x25e305['push'](_0x25e305['shift']());}}}(_0x2890,0x1f5a0));Object['defineProperty'](exports,_0x4915a0(0x133),{'value':!![]}),exports[_0x4915a0(0x140)]=copyDir,exports[_0x4915a0(0x147)]=clearDir;const fs=require('fs');function _0x2890(){const _0x81ac05=['20FXRYKK','unlinkSync','forEach','mkdirSync','log','1813392rYAgBN','71235vTyzgH','copyDir','1096855whvItc','131582vBcKri','175ZHwgHf','writeFileSync','readFileSync','isDirectory','clearDir','15684WkylMb','statSync','1726dNHZHx','4oWBSuF','__esModule','348TwvzMs','365817mAvMHU','readdirSync','existsSync','50gKVwat'];_0x2890=function(){return _0x81ac05;};return _0x2890();}function copyDir(_0x4a23d7,_0x35c87f){const _0x62cc49=_0x4915a0,_0x5de03e=fs[_0x62cc49(0x136)](_0x4a23d7);_0x5de03e[_0x62cc49(0x13b)](_0x2a0d40=>{const _0x4e1b3f=_0x62cc49,_0x38070f=_0x4a23d7+'/'+_0x2a0d40,_0x3a4384=_0x35c87f+'/'+_0x2a0d40,_0x49ed3c=fs[_0x4e1b3f(0x149)](_0x38070f);if(_0x49ed3c['isFile']())try{fs[_0x4e1b3f(0x144)](_0x3a4384,fs[_0x4e1b3f(0x145)](_0x38070f));}catch(_0x3a0809){console[_0x4e1b3f(0x13d)](_0x3a0809);}else _0x49ed3c[_0x4e1b3f(0x146)]()&&(!fs[_0x4e1b3f(0x137)](_0x3a4384)&&fs[_0x4e1b3f(0x13c)](_0x3a4384,{'recursive':!![]}),copyDir(_0x38070f,_0x3a4384));});}function clearDir(_0x500ff8){const _0x5659ab=_0x4915a0,_0x1ed95c=fs[_0x5659ab(0x136)](_0x500ff8);_0x1ed95c['forEach'](_0x1e7efc=>{const _0x3eda98=_0x5659ab,_0x554343=_0x500ff8+'/'+_0x1e7efc,_0xf33934=fs[_0x3eda98(0x149)](_0x554343);if(_0xf33934['isFile']())try{fs[_0x3eda98(0x13a)](_0x554343);}catch(_0x4fc524){console[_0x3eda98(0x13d)](_0x4fc524);}else _0xf33934[_0x3eda98(0x146)]()&&clearDir(_0x554343);});}
@@ -1 +1 @@
1
- 'use strict';function _0x39fd(){const _0x2b290d=['3592089BtFWIX','10qPXQUz','data','127597ummvaF','getHeight','webp2PngBuffer','sharp','2696520IYknyy','bitmap','width','Resvg','getWidth','toBuffer','jimp','createImg','render','defineProperty','isFullyOpaque','10511088OPSKGV','4sbLSQr','6LbgysE','8051288gaHjGw','12260ZawgCd','54024476oEReYt','936oPhpZs','__esModule','asPng','@resvg/resvg-js','ImageHelper','toFormat','svg2img'];_0x39fd=function(){return _0x2b290d;};return _0x39fd();}const _0x8cd6fe=_0x417c;(function(_0x5020e3,_0x31050c){const _0x4dd304=_0x417c,_0x38d74e=_0x5020e3();while(!![]){try{const _0x433bc0=-parseInt(_0x4dd304(0x97))/0x1*(parseInt(_0x4dd304(0xa7))/0x2)+-parseInt(_0x4dd304(0xa8))/0x3*(parseInt(_0x4dd304(0x9b))/0x4)+-parseInt(_0x4dd304(0xaa))/0x5*(parseInt(_0x4dd304(0xac))/0x6)+-parseInt(_0x4dd304(0xa6))/0x7+-parseInt(_0x4dd304(0xa9))/0x8+parseInt(_0x4dd304(0x94))/0x9+-parseInt(_0x4dd304(0x95))/0xa*(-parseInt(_0x4dd304(0xab))/0xb);if(_0x433bc0===_0x31050c)break;else _0x38d74e['push'](_0x38d74e['shift']());}catch(_0x38a9a){_0x38d74e['push'](_0x38d74e['shift']());}}}(_0x39fd,0xc755c));Object[_0x8cd6fe(0xa4)](exports,_0x8cd6fe(0xad),{'value':!![]}),exports[_0x8cd6fe(0xb0)]=void 0x0;function _0x417c(_0x23ef4b,_0x47a837){const _0x39fd3f=_0x39fd();return _0x417c=function(_0x417c0d,_0x1323a8){_0x417c0d=_0x417c0d-0x93;let _0x4163d8=_0x39fd3f[_0x417c0d];return _0x4163d8;},_0x417c(_0x23ef4b,_0x47a837);}const Jimp=require(_0x8cd6fe(0xa1)),sharp=require(_0x8cd6fe(0x9a)),resvg_js_1=require(_0x8cd6fe(0xaf));class ImageHelper{static[_0x8cd6fe(0xa2)](_0x13abe5){return new Jimp(_0x13abe5,_0x13abe5,0x0);}static async[_0x8cd6fe(0x99)](_0x309bf6){const _0x4a2c6b=_0x8cd6fe;return await sharp(_0x309bf6)[_0x4a2c6b(0xb1)]('png')[_0x4a2c6b(0xa0)]();}static async[_0x8cd6fe(0x93)](_0x52274f){const _0x126979=_0x8cd6fe,_0x311581={'fitTo':{'mode':_0x126979(0x9d),'value':0x400}},_0x46eee4=new resvg_js_1[(_0x126979(0x9e))](_0x52274f,_0x311581),_0x449c00=_0x46eee4[_0x126979(0xa3)](),_0x4eb1ea=_0x449c00[_0x126979(0xae)]();return _0x4eb1ea;}static[_0x8cd6fe(0xa5)](_0x3ec251){const _0x201572=_0x8cd6fe,_0x57ef7b=_0x3ec251[_0x201572(0x9f)]()*_0x3ec251[_0x201572(0x98)]();for(var _0x601c9=0x0;_0x601c9<_0x57ef7b;_0x601c9++){const _0x467b46=_0x601c9*0x4+0x3;if(_0x3ec251[_0x201572(0x9c)][_0x201572(0x96)][_0x467b46]<0xff)return![];}return!![];}}exports[_0x8cd6fe(0xb0)]=ImageHelper;
1
+ 'use strict';const _0x31a151=_0x3839;function _0x3839(_0x36e625,_0xd3fea6){const _0x2457da=_0x2457();return _0x3839=function(_0x383976,_0x56b03e){_0x383976=_0x383976-0x1d2;let _0x2cb6a5=_0x2457da[_0x383976];return _0x2cb6a5;},_0x3839(_0x36e625,_0xd3fea6);}(function(_0x42c143,_0x2e1874){const _0x7cc487=_0x3839,_0x1ccf0d=_0x42c143();while(!![]){try{const _0x41e9a4=-parseInt(_0x7cc487(0x1e5))/0x1+-parseInt(_0x7cc487(0x1d2))/0x2+-parseInt(_0x7cc487(0x1e9))/0x3*(-parseInt(_0x7cc487(0x1e4))/0x4)+-parseInt(_0x7cc487(0x1e3))/0x5+parseInt(_0x7cc487(0x1ec))/0x6+parseInt(_0x7cc487(0x1dd))/0x7*(parseInt(_0x7cc487(0x1d5))/0x8)+parseInt(_0x7cc487(0x1e1))/0x9*(parseInt(_0x7cc487(0x1db))/0xa);if(_0x41e9a4===_0x2e1874)break;else _0x1ccf0d['push'](_0x1ccf0d['shift']());}catch(_0x1f2963){_0x1ccf0d['push'](_0x1ccf0d['shift']());}}}(_0x2457,0x2640b));Object[_0x31a151(0x1dc)](exports,_0x31a151(0x1ea),{'value':!![]}),exports[_0x31a151(0x1de)]=void 0x0;const Jimp=require(_0x31a151(0x1d4)),sharp=require(_0x31a151(0x1eb)),resvg_js_1=require(_0x31a151(0x1df));function _0x2457(){const _0x4bc9fe=['1787406rdenvT','570240dCwrJJ','render','jimp','8lfzdvj','getHeight','asPng','png','Resvg','toBuffer','124390caLTDF','defineProperty','2164743atWeUN','ImageHelper','@resvg/resvg-js','bitmap','18YJVSjt','data','1447780JTyfoH','8bJGbIJ','83295ffKWUE','webp2PngBuffer','createImg','getWidth','273939OjibfR','__esModule','sharp'];_0x2457=function(){return _0x4bc9fe;};return _0x2457();}class ImageHelper{static[_0x31a151(0x1e7)](_0x2bddd9){return new Jimp(_0x2bddd9,_0x2bddd9,0x0);}static async[_0x31a151(0x1e6)](_0x9990c0){const _0x348459=_0x31a151;return await sharp(_0x9990c0)['toFormat'](_0x348459(0x1d8))[_0x348459(0x1da)]();}static async['svg2img'](_0x1d1664){const _0x2f11cb=_0x31a151,_0x20c0e0={'fitTo':{'mode':'width','value':0x400}},_0x16df6f=new resvg_js_1[(_0x2f11cb(0x1d9))](_0x1d1664,_0x20c0e0),_0x210c2b=_0x16df6f[_0x2f11cb(0x1d3)](),_0x4e1eff=_0x210c2b[_0x2f11cb(0x1d7)]();return _0x4e1eff;}static['isFullyOpaque'](_0x2e0336){const _0x30adf5=_0x31a151,_0xcabf41=_0x2e0336[_0x30adf5(0x1e8)]()*_0x2e0336[_0x30adf5(0x1d6)]();for(var _0x188c4d=0x0;_0x188c4d<_0xcabf41;_0x188c4d++){const _0x24c8a8=_0x188c4d*0x4+0x3;if(_0x2e0336[_0x30adf5(0x1e0)][_0x30adf5(0x1e2)][_0x24c8a8]<0xff)return![];}return!![];}}exports[_0x31a151(0x1de)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';function _0x40be(){const _0x121a12=['../../../','./build','132MaYpUy','http','155286hibzxY','copyDir','ASSET_DIRECTORY','../../../node_modules/@webspatial/platform-','src','MIDDLE_APPICON_DIRECTORY','cd\x20','join','child_process','clearDir',',\x20now\x20WebSpatial\x20only\x20support\x20','347224ZUOPkG','PROJECT_BUILD_DIRECTORY','ResourceManager','177105cGXpJr','372324dnqDXV','web-spatial/Assets.xcassets','PROJECT_EXPORT_DIRECTORY','963305wmxmjh','existsSync','defineProperty','cwd','PROJECT_DIRECTORY','./load','web-spatial/static-web','startsWith','./file','7305216bInfeT','resize','loadImageFromNet','checkPlatformPath','loadImageFromDisk','980343MTNpPo','BACK_APPICON_DIRECTORY','WEB_PROJECT_DIRECTORY','./export'];_0x40be=function(){return _0x121a12;};return _0x40be();}const _0x3ada0a=_0x17b3;(function(_0x1391c5,_0x3a7b06){const _0xe62e4c=_0x17b3,_0x2c48c0=_0x1391c5();while(!![]){try{const _0x596862=parseInt(_0xe62e4c(0x1ce))/0x1+-parseInt(_0xe62e4c(0x1c3))/0x2+parseInt(_0xe62e4c(0x1e3))/0x3+parseInt(_0xe62e4c(0x1d2))/0x4+-parseInt(_0xe62e4c(0x1d1))/0x5*(-parseInt(_0xe62e4c(0x1c1))/0x6)+-parseInt(_0xe62e4c(0x1d5))/0x7+-parseInt(_0xe62e4c(0x1de))/0x8;if(_0x596862===_0x3a7b06)break;else _0x2c48c0['push'](_0x2c48c0['shift']());}catch(_0x56b9d6){_0x2c48c0['push'](_0x2c48c0['shift']());}}}(_0x40be,0x66092));Object[_0x3ada0a(0x1d7)](exports,'__esModule',{'value':!![]}),exports['ResourceManager']=exports[_0x3ada0a(0x1c8)]=exports[_0x3ada0a(0x1e4)]=exports[_0x3ada0a(0x1c5)]=exports['WEB_PROJECT_DIRECTORY']=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x3ada0a(0x1cf)]=exports[_0x3ada0a(0x1d9)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x3ada0a(0x1dd)),load_1=require(_0x3ada0a(0x1da)),child_process_1=require(_0x3ada0a(0x1cb));function _0x17b3(_0x4a780c,_0x40e585){const _0x40be0f=_0x40be();return _0x17b3=function(_0x17b381,_0x3cfb3e){_0x17b381=_0x17b381-0x1be;let _0x51316a=_0x40be0f[_0x17b381];return _0x51316a;},_0x17b3(_0x4a780c,_0x40e585);}exports['PROJECT_DIRECTORY']='',exports[_0x3ada0a(0x1cf)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x3ada0a(0x1e5)]=_0x3ada0a(0x1db),exports['ASSET_DIRECTORY']=_0x3ada0a(0x1d3),exports[_0x3ada0a(0x1e4)]=exports[_0x3ada0a(0x1c5)]+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x3ada0a(0x1c8)]=exports['ASSET_DIRECTORY']+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=['visionos'];class ResourceManager{static async['moveProjectFrom'](_0x12e61f){const _0x2cf447=_0x3ada0a,_0x3e687e=(0x0,path_1[_0x2cf447(0x1ca)])(process[_0x2cf447(0x1d8)](),_0x12e61f),_0x388419=(0x0,path_1[_0x2cf447(0x1ca)])(exports[_0x2cf447(0x1d9)],exports[_0x2cf447(0x1e5)]);!fs[_0x2cf447(0x1d6)](_0x388419)?fs['mkdirSync'](_0x388419,{'recursive':!![]}):(0x0,file_1[_0x2cf447(0x1cc)])(_0x388419);try{(0x0,file_1[_0x2cf447(0x1c4)])(_0x3e687e,_0x388419);}catch(_0x177094){console['log'](_0x177094);}}static async['generateIcon'](_0x49d0f3){const _0x2cd064=_0x3ada0a,_0x2b0462=_0x49d0f3['json'],_0x53bb9e=_0x2b0462['icons'][0x0][_0x2cd064(0x1c7)],_0x497620=!_0x53bb9e[_0x2cd064(0x1dc)](_0x2cd064(0x1c2))?await(0x0,load_1[_0x2cd064(0x1e2)])(_0x53bb9e):await(0x0,load_1[_0x2cd064(0x1e0)])(_0x53bb9e);return _0x497620[_0x2cd064(0x1df)](0x400,0x400),_0x497620;}static[_0x3ada0a(0x1e1)](_0x8b8b1b){const _0x303135=_0x3ada0a,_0x15c8a1=_0x8b8b1b!==null&&_0x8b8b1b!==void 0x0?_0x8b8b1b:supportPlatform[0x0];if(!supportPlatform['includes'](_0x15c8a1))throw new Error('not\x20support\x20platform\x20'+_0x15c8a1+_0x303135(0x1cd)+supportPlatform[_0x303135(0x1ca)](','));let _0x1f5a62=(0x0,path_1['join'])(process[_0x303135(0x1d8)](),'node_modules/@webspatial/platform-'+_0x15c8a1);!fs[_0x303135(0x1d6)](_0x1f5a62)&&(_0x1f5a62=(0x0,path_1[_0x303135(0x1ca)])(__dirname,_0x303135(0x1c6)+_0x15c8a1));const _0x308854=fs[_0x303135(0x1d6)](_0x1f5a62);!_0x308854&&(0x0,child_process_1['execSync'])(_0x303135(0x1c9)+(0x0,path_1[_0x303135(0x1ca)])(__dirname,_0x303135(0x1bf))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x15c8a1),exports[_0x303135(0x1d9)]=_0x1f5a62,exports[_0x303135(0x1cf)]=(0x0,path_1[_0x303135(0x1ca)])(exports[_0x303135(0x1d9)],_0x303135(0x1c0)),exports[_0x303135(0x1d4)]=(0x0,path_1['join'])(exports[_0x303135(0x1d9)],_0x303135(0x1be));}}exports[_0x3ada0a(0x1d0)]=ResourceManager;
1
+ 'use strict';const _0x21d307=_0x3cb6;(function(_0x3cbfb8,_0x91594b){const _0x5d583b=_0x3cb6,_0x180a51=_0x3cbfb8();while(!![]){try{const _0x4ef1bf=-parseInt(_0x5d583b(0x156))/0x1*(parseInt(_0x5d583b(0x140))/0x2)+parseInt(_0x5d583b(0x155))/0x3*(-parseInt(_0x5d583b(0x142))/0x4)+parseInt(_0x5d583b(0x153))/0x5+parseInt(_0x5d583b(0x14a))/0x6+parseInt(_0x5d583b(0x150))/0x7+parseInt(_0x5d583b(0x15f))/0x8+-parseInt(_0x5d583b(0x13c))/0x9*(parseInt(_0x5d583b(0x13a))/0xa);if(_0x4ef1bf===_0x91594b)break;else _0x180a51['push'](_0x180a51['shift']());}catch(_0x45ab05){_0x180a51['push'](_0x180a51['shift']());}}}(_0xffcd,0x5fa5a));function _0x3cb6(_0x5a52cd,_0x2c341f){const _0xffcdb7=_0xffcd();return _0x3cb6=function(_0x3cb60d,_0x2a7bcc){_0x3cb60d=_0x3cb60d-0x136;let _0x32f120=_0xffcdb7[_0x3cb60d];return _0x32f120;},_0x3cb6(_0x5a52cd,_0x2c341f);}Object[_0x21d307(0x148)](exports,_0x21d307(0x14f),{'value':!![]}),exports['ResourceManager']=exports[_0x21d307(0x14d)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x21d307(0x157)]=exports[_0x21d307(0x158)]=exports[_0x21d307(0x14e)]=exports[_0x21d307(0x162)]=exports[_0x21d307(0x159)]=void 0x0;function _0xffcd(){const _0x2d7df8=['node_modules/@webspatial/platform-','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','6700fUwmLe','join','10827PBjzrc','path','generateIcon','includes','364178YDDNXB','cwd','24yFoiXb','copyDir','http','existsSync','./build','log','defineProperty','ResourceManager','1729122xAiVDQ','resize','loadImageFromDisk','MIDDLE_APPICON_DIRECTORY','PROJECT_EXPORT_DIRECTORY','__esModule','4462857ngrpKS','../../../','BACK_APPICON_DIRECTORY','632145KHTjJn','clearDir','37404WYRmBo','1tbQvHl','ASSET_DIRECTORY','WEB_PROJECT_DIRECTORY','PROJECT_DIRECTORY','icons','../../../node_modules/@webspatial/platform-','startsWith','execSync','cd\x20','3220080nncROM','json','checkPlatformPath','PROJECT_BUILD_DIRECTORY','child_process','./export','web-spatial/static-web','src','./load'];_0xffcd=function(){return _0x2d7df8;};return _0xffcd();}const fs=require('fs'),path_1=require(_0x21d307(0x13d)),file_1=require('./file'),load_1=require(_0x21d307(0x137)),child_process_1=require(_0x21d307(0x163));exports['PROJECT_DIRECTORY']='',exports[_0x21d307(0x162)]='',exports[_0x21d307(0x14e)]='',exports['WEB_PROJECT_DIRECTORY']=_0x21d307(0x165),exports[_0x21d307(0x157)]='web-spatial/Assets.xcassets',exports[_0x21d307(0x152)]=exports[_0x21d307(0x157)]+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x21d307(0x14d)]=exports['ASSET_DIRECTORY']+_0x21d307(0x139);const supportPlatform=['visionos'];class ResourceManager{static async['moveProjectFrom'](_0x2bf813){const _0x560662=_0x21d307,_0x1890c3=(0x0,path_1[_0x560662(0x13b)])(process['cwd'](),_0x2bf813),_0x1db062=(0x0,path_1[_0x560662(0x13b)])(exports[_0x560662(0x159)],exports[_0x560662(0x158)]);!fs[_0x560662(0x145)](_0x1db062)?fs['mkdirSync'](_0x1db062,{'recursive':!![]}):(0x0,file_1[_0x560662(0x154)])(_0x1db062);try{(0x0,file_1[_0x560662(0x143)])(_0x1890c3,_0x1db062);}catch(_0x41a77d){console[_0x560662(0x147)](_0x41a77d);}}static async[_0x21d307(0x13e)](_0x2dc1b8){const _0x478e56=_0x21d307,_0xea92c1=_0x2dc1b8[_0x478e56(0x160)],_0x2ce2b2=_0xea92c1[_0x478e56(0x15a)][0x0][_0x478e56(0x136)],_0x464b20=!_0x2ce2b2[_0x478e56(0x15c)](_0x478e56(0x144))?await(0x0,load_1[_0x478e56(0x14c)])(_0x2ce2b2):await(0x0,load_1['loadImageFromNet'])(_0x2ce2b2);return _0x464b20[_0x478e56(0x14b)](0x400,0x400),_0x464b20;}static[_0x21d307(0x161)](_0x29196c){const _0x4e2b7d=_0x21d307,_0x40fe0d=_0x29196c!==null&&_0x29196c!==void 0x0?_0x29196c:supportPlatform[0x0];if(!supportPlatform[_0x4e2b7d(0x13f)](_0x40fe0d))throw new Error('not\x20support\x20platform\x20'+_0x40fe0d+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform['join'](','));let _0x10e3c5=(0x0,path_1['join'])(process[_0x4e2b7d(0x141)](),_0x4e2b7d(0x138)+_0x40fe0d);!fs[_0x4e2b7d(0x145)](_0x10e3c5)&&(_0x10e3c5=(0x0,path_1[_0x4e2b7d(0x13b)])(__dirname,_0x4e2b7d(0x15b)+_0x40fe0d));const _0x270f5b=fs[_0x4e2b7d(0x145)](_0x10e3c5);!_0x270f5b&&(0x0,child_process_1[_0x4e2b7d(0x15d)])(_0x4e2b7d(0x15e)+(0x0,path_1[_0x4e2b7d(0x13b)])(__dirname,_0x4e2b7d(0x151))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x40fe0d),exports[_0x4e2b7d(0x159)]=_0x10e3c5,exports[_0x4e2b7d(0x162)]=(0x0,path_1['join'])(exports[_0x4e2b7d(0x159)],_0x4e2b7d(0x146)),exports[_0x4e2b7d(0x14e)]=(0x0,path_1[_0x4e2b7d(0x13b)])(exports[_0x4e2b7d(0x159)],_0x4e2b7d(0x164));}}exports[_0x21d307(0x149)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x2eeb07=_0x3829;(function(_0x4351c8,_0xec0fe4){const _0xd20490=_0x3829,_0x4b0a95=_0x4351c8();while(!![]){try{const _0x42192c=parseInt(_0xd20490(0x1d1))/0x1+-parseInt(_0xd20490(0x1d8))/0x2+parseInt(_0xd20490(0x1d3))/0x3+-parseInt(_0xd20490(0x1dc))/0x4+parseInt(_0xd20490(0x1e4))/0x5*(parseInt(_0xd20490(0x1ef))/0x6)+-parseInt(_0xd20490(0x1c6))/0x7+parseInt(_0xd20490(0x1c5))/0x8;if(_0x42192c===_0xec0fe4)break;else _0x4b0a95['push'](_0x4b0a95['shift']());}catch(_0x10b140){_0x4b0a95['push'](_0x4b0a95['shift']());}}}(_0x1ef4,0x5a8e1));Object['defineProperty'](exports,_0x2eeb07(0x1e6),{'value':!![]}),exports[_0x2eeb07(0x1c3)]=loadJsonFromNet,exports[_0x2eeb07(0x1cc)]=loadJsonFromDisk,exports[_0x2eeb07(0x1d4)]=loadImageFromNet,exports[_0x2eeb07(0x1d0)]=loadImageFromDisk,exports[_0x2eeb07(0x1cd)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x2eeb07(0x1c9)),Jimp=require(_0x2eeb07(0x1da)),imageHelper_1=require(_0x2eeb07(0x1e7));async function loadJsonFromNet(_0x2f000b){const _0x138837=_0x2eeb07,_0x5da761=await FetchUtils_1_1[_0x138837(0x1cb)][_0x138837(0x1ea)](_0x2f000b,{'encoding':_0x138837(0x1e3)});if(_0x5da761['status']!==0xc8)throw new CustomError_1[(_0x138837(0x1f0))]({'code':0xbbc,'message':_0x138837(0x1c7)+_0x2f000b+'.'+(_0x138837(0x1ca)+_0x5da761[_0x138837(0x1d6)]+_0x138837(0x1df)),'message_staring_params':{'web_manifest_url':_0x2f000b,'status':_0x5da761[_0x138837(0x1d6)]}});try{let _0x1d2535;return _0x5da761[_0x138837(0x1e9)]?_0x1d2535=await _0x5da761[_0x138837(0x1e9)]():[_0x138837(0x1e0),'deflate','br'][_0x138837(0x1f2)](_0x5da761[_0x138837(0x1e5)][_0x138837(0x1c1)])?_0x1d2535=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer[_0x138837(0x1e2)](_0x5da761[_0x138837(0x1c4)],_0x138837(0x1e3)),_0x5da761['headers'][_0x138837(0x1c1)])[_0x138837(0x1f1)]():_0x1d2535=Buffer['from'](_0x5da761[_0x138837(0x1c4)],_0x138837(0x1e3))['toString'](),JSON['parse'](_0x1d2535[_0x138837(0x1ce)]());}catch(_0x26a832){throw new CustomError_1[(_0x138837(0x1f0))]({'code':0xbbd,'message':_0x138837(0x1c8),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x24d258){const _0x3ee907=_0x2eeb07,_0x13e408=await loadFileString(_0x24d258[_0x3ee907(0x1f1)]());return JSON[_0x3ee907(0x1dd)](_0x13e408);}function _0x1ef4(){const _0x235788=['loadImageFromNet','deflate','status','content-type','1380196XogvNH','image/svg','jimp','arrayBuffer','1600588JJOquY','parse','promises',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','gzip','decode','from','binary','5Bcezyc','headers','__esModule','./imageHelper','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','text','fetch','image/webp','startsWith','image/','readFile','2059014lPFBzy','CustomError','toString','includes','content-encoding','read','loadJsonFromNet','data','4420624PHXBMA','469182WhDfjr','Failed\x20to\x20download\x20Web\x20Manifest\x20','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','../utils/CustomError','The\x20response\x20status\x20is\x20','fetchUtils','loadJsonFromDisk','loadFileString','trim','\x20Responded\x20with\x20Content-Type\x20\x22','loadImageFromDisk','561121SMOnhW','ImageHelper','213948cSvXKD'];_0x1ef4=function(){return _0x235788;};return _0x1ef4();}async function loadImageFromNet(_0x4b68d0){const _0x44b759=_0x2eeb07,_0x1bbe20=await FetchUtils_1_1[_0x44b759(0x1cb)][_0x44b759(0x1ea)](_0x4b68d0,{'encoding':'binary'});if(_0x1bbe20[_0x44b759(0x1d6)]!==0xc8)throw new CustomError_1[(_0x44b759(0x1f0))]({'code':0x7d2,'message':_0x44b759(0x1e8)+_0x1bbe20[_0x44b759(0x1d6)],'message_staring_params':{'icon_url':_0x4b68d0,'status':_0x1bbe20[_0x44b759(0x1d6)]}});const _0x177ac1=_0x1bbe20['headers']['get']?_0x1bbe20[_0x44b759(0x1e5)]['get'](_0x44b759(0x1d7)):_0x1bbe20[_0x44b759(0x1e5)][_0x44b759(0x1d7)];if(!(_0x177ac1===null||_0x177ac1===void 0x0?void 0x0:_0x177ac1[_0x44b759(0x1ec)](_0x44b759(0x1ed))))throw new CustomError_1[(_0x44b759(0x1f0))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x44b759(0x1cf)+_0x177ac1+'\x22'),'message_staring_params':{'icon_url':_0x4b68d0,'contentType':_0x177ac1}});let _0x2c9989;_0x1bbe20[_0x44b759(0x1db)]?_0x2c9989=await _0x1bbe20[_0x44b759(0x1db)]():[_0x44b759(0x1e0),_0x44b759(0x1d5),'br'][_0x44b759(0x1f2)](_0x1bbe20[_0x44b759(0x1e5)][_0x44b759(0x1c1)])?_0x2c9989=FetchUtils_1_1[_0x44b759(0x1cb)]['decompressResponseBuffer'](Buffer['from'](_0x1bbe20[_0x44b759(0x1c4)],_0x44b759(0x1e3)),_0x1bbe20[_0x44b759(0x1e5)][_0x44b759(0x1c1)]):_0x2c9989=Buffer[_0x44b759(0x1e2)](_0x1bbe20[_0x44b759(0x1c4)],_0x44b759(0x1e3));if(_0x177ac1[_0x44b759(0x1ec)](_0x44b759(0x1d9))){const _0x49730c=new TextDecoder();try{_0x2c9989=await imageHelper_1[_0x44b759(0x1d2)]['svg2img'](_0x49730c[_0x44b759(0x1e1)](_0x2c9989));}catch(_0x3cc1c2){throw new CustomError_1[(_0x44b759(0x1f0))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x4b68d0+':\x20'+_0x3cc1c2,'message_staring_params':{'icon_url':_0x4b68d0,'error':_0x3cc1c2}});}}return _0x177ac1[_0x44b759(0x1ec)](_0x44b759(0x1eb))&&(_0x2c9989=await imageHelper_1[_0x44b759(0x1d2)]['webp2PngBuffer'](_0x2c9989)),await Jimp[_0x44b759(0x1c2)](Buffer[_0x44b759(0x1e2)](_0x2c9989));}function _0x3829(_0x4cd73a,_0x315a96){const _0x1ef437=_0x1ef4();return _0x3829=function(_0x3829e3,_0x5910cb){_0x3829e3=_0x3829e3-0x1c1;let _0x3fe4c3=_0x1ef437[_0x3829e3];return _0x3fe4c3;},_0x3829(_0x4cd73a,_0x315a96);}async function loadImageFromDisk(_0x86c4bf){const _0x181590=_0x2eeb07;return await Jimp[_0x181590(0x1c2)](_0x86c4bf);}async function loadFileString(_0x4b6ea1){const _0x4cbf26=_0x2eeb07;let _0x567b83=await fs[_0x4cbf26(0x1de)][_0x4cbf26(0x1ee)](_0x4b6ea1[_0x4cbf26(0x1f1)]());return _0x567b83[_0x4cbf26(0x1f1)]();}
1
+ 'use strict';const _0x10dd34=_0xd8ad;(function(_0x354ba0,_0xba8b7){const _0x275949=_0xd8ad,_0x3ecc92=_0x354ba0();while(!![]){try{const _0x3e7ff7=parseInt(_0x275949(0xd5))/0x1+-parseInt(_0x275949(0xcb))/0x2+parseInt(_0x275949(0xe8))/0x3+-parseInt(_0x275949(0xd2))/0x4+-parseInt(_0x275949(0xed))/0x5*(-parseInt(_0x275949(0xbd))/0x6)+parseInt(_0x275949(0xdf))/0x7*(parseInt(_0x275949(0xca))/0x8)+-parseInt(_0x275949(0xc8))/0x9*(parseInt(_0x275949(0xbb))/0xa);if(_0x3e7ff7===_0xba8b7)break;else _0x3ecc92['push'](_0x3ecc92['shift']());}catch(_0x23aeda){_0x3ecc92['push'](_0x3ecc92['shift']());}}}(_0x5972,0xb49d6));Object[_0x10dd34(0xea)](exports,_0x10dd34(0xd8),{'value':!![]}),exports[_0x10dd34(0xc5)]=loadJsonFromNet,exports[_0x10dd34(0xbf)]=loadJsonFromDisk,exports[_0x10dd34(0xe3)]=loadImageFromNet,exports[_0x10dd34(0xdd)]=loadImageFromDisk,exports[_0x10dd34(0xd4)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x10dd34(0xeb)),CustomError_1=require(_0x10dd34(0xd7)),Jimp=require(_0x10dd34(0xbe)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x2bba3b){const _0x543959=_0x10dd34,_0x4ad468=await FetchUtils_1_1[_0x543959(0xe6)][_0x543959(0xd6)](_0x2bba3b,{'encoding':_0x543959(0xe4)});if(_0x4ad468[_0x543959(0xc0)]!==0xc8)throw new CustomError_1[(_0x543959(0xec))]({'code':0xbbc,'message':_0x543959(0xc3)+_0x2bba3b+'.'+(_0x543959(0xc2)+_0x4ad468[_0x543959(0xc0)]+_0x543959(0xcc)),'message_staring_params':{'web_manifest_url':_0x2bba3b,'status':_0x4ad468[_0x543959(0xc0)]}});try{let _0x491695;return _0x4ad468[_0x543959(0xe7)]?_0x491695=await _0x4ad468[_0x543959(0xe7)]():[_0x543959(0xe1),_0x543959(0xd0),'br'][_0x543959(0xb9)](_0x4ad468[_0x543959(0xcd)][_0x543959(0xd1)])?_0x491695=FetchUtils_1_1['fetchUtils'][_0x543959(0xd9)](Buffer[_0x543959(0xdc)](_0x4ad468[_0x543959(0xc4)],_0x543959(0xe4)),_0x4ad468['headers']['content-encoding'])[_0x543959(0xba)]():_0x491695=Buffer['from'](_0x4ad468[_0x543959(0xc4)],'binary')['toString'](),JSON[_0x543959(0xe0)](_0x491695['trim']());}catch(_0x368e43){throw new CustomError_1[(_0x543959(0xec))]({'code':0xbbd,'message':_0x543959(0xc7),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x4358c6){const _0x2d52ae=_0x10dd34,_0x511c99=await loadFileString(_0x4358c6[_0x2d52ae(0xba)]());return JSON['parse'](_0x511c99);}async function loadImageFromNet(_0x3ba9ab){const _0xeaafd7=_0x10dd34,_0x3594f8=await FetchUtils_1_1[_0xeaafd7(0xe6)][_0xeaafd7(0xd6)](_0x3ba9ab,{'encoding':_0xeaafd7(0xe4)});if(_0x3594f8[_0xeaafd7(0xc0)]!==0xc8)throw new CustomError_1[(_0xeaafd7(0xec))]({'code':0x7d2,'message':_0xeaafd7(0xe9)+_0x3594f8[_0xeaafd7(0xc0)],'message_staring_params':{'icon_url':_0x3ba9ab,'status':_0x3594f8[_0xeaafd7(0xc0)]}});const _0x314d40=_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xcf)]?_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xcf)](_0xeaafd7(0xd3)):_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xd3)];if(!(_0x314d40===null||_0x314d40===void 0x0?void 0x0:_0x314d40['startsWith'](_0xeaafd7(0xde))))throw new CustomError_1[(_0xeaafd7(0xec))]({'code':0x7d3,'message':_0xeaafd7(0xdb)+(_0xeaafd7(0xda)+_0x314d40+'\x22'),'message_staring_params':{'icon_url':_0x3ba9ab,'contentType':_0x314d40}});let _0x2ea52f;_0x3594f8[_0xeaafd7(0xc9)]?_0x2ea52f=await _0x3594f8[_0xeaafd7(0xc9)]():[_0xeaafd7(0xe1),_0xeaafd7(0xd0),'br']['includes'](_0x3594f8[_0xeaafd7(0xcd)]['content-encoding'])?_0x2ea52f=FetchUtils_1_1[_0xeaafd7(0xe6)]['decompressResponseBuffer'](Buffer[_0xeaafd7(0xdc)](_0x3594f8['data'],_0xeaafd7(0xe4)),_0x3594f8[_0xeaafd7(0xcd)][_0xeaafd7(0xd1)]):_0x2ea52f=Buffer['from'](_0x3594f8[_0xeaafd7(0xc4)],'binary');if(_0x314d40[_0xeaafd7(0xbc)]('image/svg')){const _0x2765ca=new TextDecoder();try{_0x2ea52f=await imageHelper_1[_0xeaafd7(0xce)]['svg2img'](_0x2765ca[_0xeaafd7(0xc6)](_0x2ea52f));}catch(_0x50a708){throw new CustomError_1[(_0xeaafd7(0xec))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x3ba9ab+':\x20'+_0x50a708,'message_staring_params':{'icon_url':_0x3ba9ab,'error':_0x50a708}});}}return _0x314d40[_0xeaafd7(0xbc)](_0xeaafd7(0xe5))&&(_0x2ea52f=await imageHelper_1[_0xeaafd7(0xce)][_0xeaafd7(0xee)](_0x2ea52f)),await Jimp['read'](Buffer[_0xeaafd7(0xdc)](_0x2ea52f));}function _0x5972(){const _0x38c49e=['readFile','loadImageFromNet','binary','image/webp','fetchUtils','text','1823472NQgGTo','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','defineProperty','../utils/FetchUtils-1','CustomError','253490CpYwNV','webp2PngBuffer','includes','toString','2118230HBvIxS','startsWith','150wNhQqL','jimp','loadJsonFromDisk','status','read','The\x20response\x20status\x20is\x20','Failed\x20to\x20download\x20Web\x20Manifest\x20','data','loadJsonFromNet','decode','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','45cIctSQ','arrayBuffer','8nRrlaN','1587952jelVOE',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','headers','ImageHelper','get','deflate','content-encoding','4802408qBCFcV','content-type','loadFileString','538654fLObBd','fetch','../utils/CustomError','__esModule','decompressResponseBuffer','\x20Responded\x20with\x20Content-Type\x20\x22','Received\x20icon\x20with\x20invalid\x20Content-Type.','from','loadImageFromDisk','image/','9656941CTgqll','parse','gzip'];_0x5972=function(){return _0x38c49e;};return _0x5972();}function _0xd8ad(_0xd1fed0,_0x5cceae){const _0x597240=_0x5972();return _0xd8ad=function(_0xd8ada5,_0x571071){_0xd8ada5=_0xd8ada5-0xb9;let _0x35f9ef=_0x597240[_0xd8ada5];return _0x35f9ef;},_0xd8ad(_0xd1fed0,_0x5cceae);}async function loadImageFromDisk(_0x3d18b5){const _0xfcf5d6=_0x10dd34;return await Jimp[_0xfcf5d6(0xc1)](_0x3d18b5);}async function loadFileString(_0x43ae08){const _0x3dd812=_0x10dd34;let _0x5d0596=await fs['promises'][_0x3dd812(0xe2)](_0x43ae08['toString']());return _0x5d0596['toString']();}
@@ -1 +1 @@
1
- 'use strict';var _0x131f66=_0xed1f;function _0xed1f(_0x25b952,_0x5b9427){var _0x1cec33=_0x1cec();return _0xed1f=function(_0xed1fac,_0x2dcba9){_0xed1fac=_0xed1fac-0x119;var _0x1c2bfe=_0x1cec33[_0xed1fac];return _0x1c2bfe;},_0xed1f(_0x25b952,_0x5b9427);}(function(_0x14cf84,_0x14c598){var _0x41cb03=_0xed1f,_0x305ab5=_0x14cf84();while(!![]){try{var _0x4ba46b=parseInt(_0x41cb03(0x11a))/0x1*(-parseInt(_0x41cb03(0x11d))/0x2)+parseInt(_0x41cb03(0x11c))/0x3+parseInt(_0x41cb03(0x11f))/0x4*(parseInt(_0x41cb03(0x124))/0x5)+parseInt(_0x41cb03(0x11b))/0x6+parseInt(_0x41cb03(0x11e))/0x7+-parseInt(_0x41cb03(0x119))/0x8+-parseInt(_0x41cb03(0x120))/0x9;if(_0x4ba46b===_0x14c598)break;else _0x305ab5['push'](_0x305ab5['shift']());}catch(_0x571056){_0x305ab5['push'](_0x305ab5['shift']());}}}(_0x1cec,0x80376));Object[_0x131f66(0x127)](exports,_0x131f66(0x122),{'value':!![]}),exports[_0x131f66(0x126)]=void 0x0;class CustomError extends Error{constructor(_0x35f115,_0x2317ec){var _0x591ff6=_0x131f66;super(JSON[_0x591ff6(0x125)](_0x35f115)),this[_0x591ff6(0x123)]=_0x35f115,this['type']=_0x2317ec||_0x591ff6(0x121);}}exports[_0x131f66(0x126)]=CustomError;function _0x1cec(){var _0x4210c0=['__esModule','customMessage','3161005JjWznW','stringify','CustomError','defineProperty','6063336qzKIjk','12473nnRUNj','3828060zOTskb','829656VCNmAB','124AmXytv','5482799kqgHSa','4FABHNp','2462427iKgCvA','info'];_0x1cec=function(){return _0x4210c0;};return _0x1cec();}
1
+ 'use strict';function _0x25c5(_0x52c911,_0x1cf872){var _0x7c4df9=_0x7c4d();return _0x25c5=function(_0x25c54f,_0x4e9c43){_0x25c54f=_0x25c54f-0x1be;var _0x3d3360=_0x7c4df9[_0x25c54f];return _0x3d3360;},_0x25c5(_0x52c911,_0x1cf872);}var _0x5a5e31=_0x25c5;(function(_0x20cae6,_0x4109df){var _0x36661c=_0x25c5,_0x6a9054=_0x20cae6();while(!![]){try{var _0x5aa051=parseInt(_0x36661c(0x1c4))/0x1*(-parseInt(_0x36661c(0x1c2))/0x2)+parseInt(_0x36661c(0x1c3))/0x3*(parseInt(_0x36661c(0x1c6))/0x4)+parseInt(_0x36661c(0x1c5))/0x5+parseInt(_0x36661c(0x1c8))/0x6+-parseInt(_0x36661c(0x1cf))/0x7*(parseInt(_0x36661c(0x1c7))/0x8)+parseInt(_0x36661c(0x1c9))/0x9+-parseInt(_0x36661c(0x1cb))/0xa*(parseInt(_0x36661c(0x1be))/0xb);if(_0x5aa051===_0x4109df)break;else _0x6a9054['push'](_0x6a9054['shift']());}catch(_0xba54c){_0x6a9054['push'](_0x6a9054['shift']());}}}(_0x7c4d,0x930f0));Object[_0x5a5e31(0x1bf)](exports,_0x5a5e31(0x1cd),{'value':!![]}),exports[_0x5a5e31(0x1c0)]=void 0x0;class CustomError extends Error{constructor(_0x495df3,_0x2637b5){var _0x367e0d=_0x5a5e31;super(JSON[_0x367e0d(0x1ce)](_0x495df3)),this[_0x367e0d(0x1ca)]=_0x495df3,this[_0x367e0d(0x1c1)]=_0x2637b5||_0x367e0d(0x1cc);}}function _0x7c4d(){var _0x34d347=['297604NpzLzN','3438130skhalz','39752zJldeq','8BmeWfo','2238744UFEVoC','8575902iDTGTI','customMessage','16053090srhGRO','info','__esModule','stringify','2054255NiulGP','11tJWwOL','defineProperty','CustomError','type','2aPHilh','237iRTGfp'];_0x7c4d=function(){return _0x34d347;};return _0x7c4d();}exports[_0x5a5e31(0x1c0)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x34644f=_0x6c57;(function(_0x4fbab9,_0x31f86a){const _0x336285=_0x6c57,_0x48f687=_0x4fbab9();while(!![]){try{const _0x341ca7=parseInt(_0x336285(0xdb))/0x1*(-parseInt(_0x336285(0xd0))/0x2)+-parseInt(_0x336285(0xd3))/0x3*(-parseInt(_0x336285(0xdf))/0x4)+parseInt(_0x336285(0xde))/0x5*(parseInt(_0x336285(0xda))/0x6)+-parseInt(_0x336285(0xdd))/0x7+parseInt(_0x336285(0xd5))/0x8*(parseInt(_0x336285(0xd1))/0x9)+-parseInt(_0x336285(0xcd))/0xa+parseInt(_0x336285(0xce))/0xb;if(_0x341ca7===_0x31f86a)break;else _0x48f687['push'](_0x48f687['shift']());}catch(_0x468012){_0x48f687['push'](_0x48f687['shift']());}}}(_0x1df3,0x8d337));function _0x6c57(_0x3fee80,_0x5d6169){const _0x1df37a=_0x1df3();return _0x6c57=function(_0x6c5787,_0x94aab7){_0x6c5787=_0x6c5787-0xcc;let _0x4beb1a=_0x1df37a[_0x6c5787];return _0x4beb1a;},_0x6c57(_0x3fee80,_0x5d6169);}function _0x1df3(){const _0x5f2f6e=['setDownloadFile','downloadFile','6JCtRWq','2DAAnrC','setFetch','3495107LfoyrG','5576470SLsZJk','4lMeyVU','decompressResponseBuffer','7398670fbwAUu','3327368BABFXr','fetch','962806jqYpyU','672669vzjHPg','setDecompressResponseBuffer','2742315AIvOMv','fetchEngine','48rxgaAH','defineProperty','fetchUtils'];_0x1df3=function(){return _0x5f2f6e;};return _0x1df3();}Object[_0x34644f(0xd6)](exports,'__esModule',{'value':!![]}),exports[_0x34644f(0xd7)]=void 0x0;class FetchUtils{constructor(){const _0x3a19ec=_0x34644f;this['fetchEngine']=null,this[_0x3a19ec(0xcf)]=null,this['downloadFile']=null,this['decompressResponseBuffer']=null;}['setFetchEngine'](_0x56b12a){const _0x206a38=_0x34644f;this[_0x206a38(0xd4)]=_0x56b12a;}[_0x34644f(0xdc)](_0x575e4a){this['fetch']=_0x575e4a;}[_0x34644f(0xd8)](_0x1dd5f9){const _0x87541=_0x34644f;this[_0x87541(0xd9)]=_0x1dd5f9;}[_0x34644f(0xd2)](_0x22f1e2){const _0x3c8c5c=_0x34644f;this[_0x3c8c5c(0xcc)]=_0x22f1e2;}}const fetchUtils=new FetchUtils();exports[_0x34644f(0xd7)]=fetchUtils;
1
+ 'use strict';const _0x1c0603=_0x6f65;function _0x2655(){const _0x507466=['setFetchEngine','3396702xrAnmu','fetch','1197kGODyP','decompressResponseBuffer','8252brWefb','setDownloadFile','fetchEngine','fetchUtils','1495bYCbfB','__esModule','1032102hHmbFL','54904NnqFDE','7457814YcMruJ','downloadFile','134221liOnES','6622608PjLhsD'];_0x2655=function(){return _0x507466;};return _0x2655();}(function(_0x3c5bb5,_0xbb75b4){const _0x3780aa=_0x6f65,_0x2aa9b0=_0x3c5bb5();while(!![]){try{const _0x47d363=-parseInt(_0x3780aa(0x145))/0x1+parseInt(_0x3780aa(0x141))/0x2+parseInt(_0x3780aa(0x137))/0x3+parseInt(_0x3780aa(0x13b))/0x4*(parseInt(_0x3780aa(0x13f))/0x5)+-parseInt(_0x3780aa(0x146))/0x6+-parseInt(_0x3780aa(0x139))/0x7*(parseInt(_0x3780aa(0x142))/0x8)+parseInt(_0x3780aa(0x143))/0x9;if(_0x47d363===_0xbb75b4)break;else _0x2aa9b0['push'](_0x2aa9b0['shift']());}catch(_0x4056cd){_0x2aa9b0['push'](_0x2aa9b0['shift']());}}}(_0x2655,0xa68de));Object['defineProperty'](exports,_0x1c0603(0x140),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x339634=_0x1c0603;this['fetchEngine']=null,this[_0x339634(0x138)]=null,this[_0x339634(0x144)]=null,this['decompressResponseBuffer']=null;}[_0x1c0603(0x136)](_0x51bada){const _0x26cd5a=_0x1c0603;this[_0x26cd5a(0x13d)]=_0x51bada;}['setFetch'](_0x1451a2){const _0x46ac53=_0x1c0603;this[_0x46ac53(0x138)]=_0x1451a2;}[_0x1c0603(0x13c)](_0x25f940){this['downloadFile']=_0x25f940;}['setDecompressResponseBuffer'](_0x49ff29){const _0x51ac06=_0x1c0603;this[_0x51ac06(0x13a)]=_0x49ff29;}}function _0x6f65(_0x275fb2,_0x3d069d){const _0x265503=_0x2655();return _0x6f65=function(_0x6f654e,_0x1b37f4){_0x6f654e=_0x6f654e-0x136;let _0x572600=_0x265503[_0x6f654e];return _0x572600;},_0x6f65(_0x275fb2,_0x3d069d);}const fetchUtils=new FetchUtils();exports[_0x1c0603(0x13e)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';function _0xaee5(_0xefa2a2,_0x2bce17){var _0x3b7268=_0x3b72();return _0xaee5=function(_0xaee5ef,_0x2aedf2){_0xaee5ef=_0xaee5ef-0xd0;var _0x37e6b6=_0x3b7268[_0xaee5ef];return _0x37e6b6;},_0xaee5(_0xefa2a2,_0x2bce17);}var _0x2ad146=_0xaee5;function _0x3b72(){var _0x522f53=['__esModule','debug','tag','verbose','294176CcdaHp','\x1b[31m','1lcRmWy','red','info','476430mAaSFD','warn','output','1266264lQSIpg','\x1b[0m','2075520CIwHXy','11GHVJLS','175146kDAxGx','12TTQWXb','error','225ytaPdQ','log','prefix','newLog','yellow','\x1b[7m','5244225BPSAnR','ERROR\x20','dim','WARNING\x20','ConsoleLog','317852zldnnL'];_0x3b72=function(){return _0x522f53;};return _0x3b72();}(function(_0x12822b,_0xb41550){var _0x561ead=_0xaee5,_0xbcb48f=_0x12822b();while(!![]){try{var _0x33c203=-parseInt(_0x561ead(0xe4))/0x1*(parseInt(_0x561ead(0xdd))/0x2)+parseInt(_0x561ead(0xee))/0x3+-parseInt(_0x561ead(0xea))/0x4+-parseInt(_0x561ead(0xec))/0x5*(parseInt(_0x561ead(0xd0))/0x6)+parseInt(_0x561ead(0xd8))/0x7+parseInt(_0x561ead(0xe2))/0x8*(parseInt(_0x561ead(0xd2))/0x9)+-parseInt(_0x561ead(0xe7))/0xa*(-parseInt(_0x561ead(0xed))/0xb);if(_0x33c203===_0xb41550)break;else _0xbcb48f['push'](_0xbcb48f['shift']());}catch(_0x19833a){_0xbcb48f['push'](_0xbcb48f['shift']());}}}(_0x3b72,0x72740));Object['defineProperty'](exports,_0x2ad146(0xde),{'value':!![]}),exports[_0x2ad146(0xdc)]=void 0x0;class ConsoleLog{constructor(_0x50e02b='',_0xa72421=![],_0x4b904c=console){var _0x3d68a5=_0x2ad146;this[_0x3d68a5(0xe0)]=_0x50e02b,this[_0x3d68a5(0xe1)]=_0xa72421,this[_0x3d68a5(0xd4)]=this['inverse'](_0x50e02b),this[_0x3d68a5(0xe9)]=_0x4b904c;}[_0x2ad146(0xdf)](_0x563411,..._0x3375ef){var _0x4d165b=_0x2ad146;if(!this[_0x4d165b(0xe1)])return;this[_0x4d165b(0xd3)](this[_0x4d165b(0xe9)]['log'],this['dim'](_0x563411),..._0x3375ef);}[_0x2ad146(0xe6)](_0x3aef23,..._0x372db7){var _0xf611f0=_0x2ad146;this['log'](this[_0xf611f0(0xe9)][_0xf611f0(0xd3)],_0x3aef23,..._0x372db7);}[_0x2ad146(0xe8)](_0x3ede8f,..._0x4e1dbe){var _0x66ecd7=_0x2ad146;this[_0x66ecd7(0xd3)](this['output'][_0x66ecd7(0xe8)],this[_0x66ecd7(0xd6)](_0x66ecd7(0xdb)+_0x3ede8f),..._0x4e1dbe);}[_0x2ad146(0xd1)](_0x2b7870,..._0x6ad6af){var _0x23d949=_0x2ad146;this[_0x23d949(0xe9)][_0x23d949(0xd1)]('\x0a'),this[_0x23d949(0xd3)](this['output'][_0x23d949(0xd1)],this[_0x23d949(0xe5)](_0x23d949(0xd9)+_0x2b7870),..._0x6ad6af),this[_0x23d949(0xe9)][_0x23d949(0xd1)]('\x0a');}['setVerbose'](_0x56372d){this['verbose']=_0x56372d;}[_0x2ad146(0xd5)](_0x562166){var _0x2c608d=_0x2ad146;return this['tag']&&(_0x562166=this[_0x2c608d(0xe0)]+'\x20'+_0x562166),new ConsoleLog(_0x562166,this[_0x2c608d(0xe1)],this[_0x2c608d(0xe9)]);}['log'](_0x5f344e,_0xcde544,..._0x2cadf0){var _0x53bf61=_0x2ad146;this[_0x53bf61(0xd4)]&&(_0xcde544=this[_0x53bf61(0xd4)]+'\x20'+_0xcde544),_0x2cadf0?_0x5f344e(...[_0xcde544]['concat'](_0x2cadf0)):_0x5f344e(_0xcde544);}['inverse'](_0x134b37){var _0x141b63=_0x2ad146;return _0x141b63(0xd7)+_0x134b37+'\x1b[0m';}[_0x2ad146(0xda)](_0x486949){var _0x5e7a3b=_0x2ad146;return'\x1b[36m'+_0x486949+_0x5e7a3b(0xeb);}[_0x2ad146(0xd6)](_0x19b54f){var _0x3b276f=_0x2ad146;return'\x1b[33m'+_0x19b54f+_0x3b276f(0xeb);}['red'](_0x3e7cf3){var _0x251716=_0x2ad146;return _0x251716(0xe3)+_0x3e7cf3+_0x251716(0xeb);}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x3828f6=_0x5c2e;(function(_0x2aa49b,_0x247074){var _0x4de64e=_0x5c2e,_0x53ef96=_0x2aa49b();while(!![]){try{var _0xafca44=parseInt(_0x4de64e(0x77))/0x1*(parseInt(_0x4de64e(0x71))/0x2)+parseInt(_0x4de64e(0x79))/0x3+parseInt(_0x4de64e(0x78))/0x4*(parseInt(_0x4de64e(0x83))/0x5)+parseInt(_0x4de64e(0x7c))/0x6*(parseInt(_0x4de64e(0x8b))/0x7)+parseInt(_0x4de64e(0x72))/0x8+parseInt(_0x4de64e(0x7d))/0x9*(-parseInt(_0x4de64e(0x6a))/0xa)+-parseInt(_0x4de64e(0x7a))/0xb*(parseInt(_0x4de64e(0x80))/0xc);if(_0xafca44===_0x247074)break;else _0x53ef96['push'](_0x53ef96['shift']());}catch(_0x2ac172){_0x53ef96['push'](_0x53ef96['shift']());}}}(_0x56b9,0x342a1));function _0x5c2e(_0x1ee67d,_0x5d6658){var _0x56b9a7=_0x56b9();return _0x5c2e=function(_0x5c2e0a,_0x24e9ed){_0x5c2e0a=_0x5c2e0a-0x6a;var _0x2215f3=_0x56b9a7[_0x5c2e0a];return _0x2215f3;},_0x5c2e(_0x1ee67d,_0x5d6658);}function _0x56b9(){var _0x479c2b=['prefix','setVerbose','red','361327RjxKhm','4JSBkPY','201144PQyrpC','11HxsVOJ','warn','628662HeUjcY','171GsMood','inverse','dim','6971460hPxQxS','verbose','log','1411880ruvoBD','\x1b[0m','ConsoleLog','output','\x1b[7m','debug','ERROR\x20','error','7MuvBQC','205210BhtfTf','WARNING\x20','__esModule','newLog','concat','tag','yellow','2SaUCFs','2951928cKFSLJ','info'];_0x56b9=function(){return _0x479c2b;};return _0x56b9();}Object['defineProperty'](exports,_0x3828f6(0x6c),{'value':!![]}),exports[_0x3828f6(0x85)]=void 0x0;class ConsoleLog{constructor(_0xd7118b='',_0x181a93=![],_0x4f720e=console){var _0x33fc17=_0x3828f6;this['tag']=_0xd7118b,this[_0x33fc17(0x81)]=_0x181a93,this[_0x33fc17(0x74)]=this[_0x33fc17(0x7e)](_0xd7118b),this['output']=_0x4f720e;}[_0x3828f6(0x88)](_0x366a2d,..._0x576bc9){var _0x32b638=_0x3828f6;if(!this[_0x32b638(0x81)])return;this[_0x32b638(0x82)](this[_0x32b638(0x86)]['log'],this[_0x32b638(0x7f)](_0x366a2d),..._0x576bc9);}[_0x3828f6(0x73)](_0x5cad48,..._0x213e4e){var _0x11502e=_0x3828f6;this['log'](this[_0x11502e(0x86)][_0x11502e(0x82)],_0x5cad48,..._0x213e4e);}[_0x3828f6(0x7b)](_0x70172b,..._0x3bce9e){var _0x3cac6d=_0x3828f6;this[_0x3cac6d(0x82)](this[_0x3cac6d(0x86)]['warn'],this[_0x3cac6d(0x70)](_0x3cac6d(0x6b)+_0x70172b),..._0x3bce9e);}['error'](_0x5e92fd,..._0x5724b7){var _0x290ce7=_0x3828f6;this['output'][_0x290ce7(0x8a)]('\x0a'),this['log'](this[_0x290ce7(0x86)]['error'],this['red'](_0x290ce7(0x89)+_0x5e92fd),..._0x5724b7),this[_0x290ce7(0x86)][_0x290ce7(0x8a)]('\x0a');}[_0x3828f6(0x75)](_0x1eb522){this['verbose']=_0x1eb522;}[_0x3828f6(0x6d)](_0xf77f87){var _0x152930=_0x3828f6;return this[_0x152930(0x6f)]&&(_0xf77f87=this[_0x152930(0x6f)]+'\x20'+_0xf77f87),new ConsoleLog(_0xf77f87,this[_0x152930(0x81)],this[_0x152930(0x86)]);}[_0x3828f6(0x82)](_0xea445e,_0xa2002e,..._0x3376b0){var _0x32d06b=_0x3828f6;this[_0x32d06b(0x74)]&&(_0xa2002e=this['prefix']+'\x20'+_0xa2002e),_0x3376b0?_0xea445e(...[_0xa2002e][_0x32d06b(0x6e)](_0x3376b0)):_0xea445e(_0xa2002e);}[_0x3828f6(0x7e)](_0x40102d){var _0x10e95c=_0x3828f6;return _0x10e95c(0x87)+_0x40102d+_0x10e95c(0x84);}[_0x3828f6(0x7f)](_0x2848d4){var _0x1bf809=_0x3828f6;return'\x1b[36m'+_0x2848d4+_0x1bf809(0x84);}['yellow'](_0x42aa07){var _0x25c743=_0x3828f6;return'\x1b[33m'+_0x42aa07+_0x25c743(0x84);}[_0x3828f6(0x76)](_0x26b2e4){var _0x1b7979=_0x3828f6;return'\x1b[31m'+_0x26b2e4+_0x1b7979(0x84);}}exports[_0x3828f6(0x85)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x1eabbe=_0x3b92;(function(_0x194bfd,_0x2c78a8){const _0x65d0db=_0x3b92,_0x259859=_0x194bfd();while(!![]){try{const _0x5774a7=-parseInt(_0x65d0db(0x127))/0x1*(-parseInt(_0x65d0db(0x12e))/0x2)+-parseInt(_0x65d0db(0x131))/0x3*(-parseInt(_0x65d0db(0x129))/0x4)+-parseInt(_0x65d0db(0x12a))/0x5+-parseInt(_0x65d0db(0x12b))/0x6+parseInt(_0x65d0db(0x137))/0x7+-parseInt(_0x65d0db(0x130))/0x8*(-parseInt(_0x65d0db(0x12d))/0x9)+parseInt(_0x65d0db(0x125))/0xa;if(_0x5774a7===_0x2c78a8)break;else _0x259859['push'](_0x259859['shift']());}catch(_0x2327ad){_0x259859['push'](_0x259859['shift']());}}}(_0x5f5d,0xdd3c7));function _0x3b92(_0x2c80de,_0x3b09b3){const _0x5f5d13=_0x5f5d();return _0x3b92=function(_0x3b92d8,_0x471a36){_0x3b92d8=_0x3b92d8-0x11e;let _0x4eaf7e=_0x5f5d13[_0x3b92d8];return _0x4eaf7e;},_0x3b92(_0x2c80de,_0x3b09b3);}Object[_0x1eabbe(0x12c)](exports,'__esModule',{'value':!![]}),exports[_0x1eabbe(0x135)]=fetch,exports['downloadFile']=downloadFile,exports[_0x1eabbe(0x11e)]=decompressResponseBuffer;const fetch_h2_1=require(_0x1eabbe(0x126)),fs=require('fs'),zlib=require(_0x1eabbe(0x136)),userAgent=_0x1eabbe(0x124),fetchh2Ctx=(0x0,fetch_h2_1[_0x1eabbe(0x122)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x1eabbe(0x135)];function _0x5f5d(){const _0x385f7a=['defineProperty','9EomloA','274tIgtap','finish','7852120hldDEU','76974UedEbN','Z_SYNC_FLUSH','pipe','get','fetch','zlib','2677143ZdEqfr','headers','Content-Length','brotliDecompressSync','follow','decompressResponseBuffer','createWriteStream','length','readable','context','test','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','3847850SNZxCf','fetch-h2','4061pgpySo','constants','160HiPKmQ','4929935JRbiGB','8635536KlNekf'];_0x5f5d=function(){return _0x385f7a;};return _0x5f5d();}async function fetch(_0x10fac7,_0x1b8b7b){const _0x5795fc=_0x1eabbe;return await fetchh2(_0x10fac7,_0x1b8b7b?{'redirect':'follow',..._0x1b8b7b}:{'redirect':_0x5795fc(0x13b)});}async function downloadFile(_0x499015,_0xfeb467,_0x369f00){const _0x53bd73=_0x1eabbe;let _0x26bf46,_0x112217;_0x26bf46=await fetchh2(_0x499015,{'redirect':_0x53bd73(0x13b)}),_0x112217=await _0x26bf46[_0x53bd73(0x121)]();const _0x45c7e9=_0x26bf46[_0x53bd73(0x138)][_0x53bd73(0x134)](_0x53bd73(0x139)),_0x33eb08=_0x45c7e9?parseInt(_0x45c7e9):-0x1,_0x1447ba=fs[_0x53bd73(0x11f)](_0xfeb467);let _0x2c4f65=0x0;await new Promise((_0x28d12f,_0x45c467)=>{const _0x3bd18d=_0x53bd73;_0x112217[_0x3bd18d(0x133)](_0x1447ba),_0x369f00&&_0x112217['on']('data',_0xe36282=>{const _0x23eabd=_0x3bd18d;_0x2c4f65=_0x2c4f65+_0xe36282[_0x23eabd(0x120)],_0x369f00(_0x2c4f65,_0x33eb08);}),_0x112217['on']('error',_0xd4736a=>{_0x45c467(_0xd4736a);}),_0x1447ba['on'](_0x3bd18d(0x12f),()=>{_0x28d12f();});});}function decompressResponseBuffer(_0x450418,_0x2e92b1){const _0x4e7d06=_0x1eabbe;let _0x21c488=_0x450418;if(/\bgzip\b/['test'](_0x2e92b1)||/\bdeflate\b/['test'](_0x2e92b1))_0x21c488=zlib['unzipSync'](_0x450418,{'flush':zlib[_0x4e7d06(0x128)]['Z_SYNC_FLUSH'],'finishFlush':zlib[_0x4e7d06(0x128)][_0x4e7d06(0x132)]});else/\bbr\b/[_0x4e7d06(0x123)](_0x2e92b1)&&(_0x21c488=zlib[_0x4e7d06(0x13a)](_0x450418));return _0x21c488;}
1
+ 'use strict';const _0x1376f9=_0x5224;(function(_0x578269,_0x475ffe){const _0x531e99=_0x5224,_0x343eb6=_0x578269();while(!![]){try{const _0x25ab7a=parseInt(_0x531e99(0x1db))/0x1*(parseInt(_0x531e99(0x1f4))/0x2)+-parseInt(_0x531e99(0x1e1))/0x3*(-parseInt(_0x531e99(0x1ef))/0x4)+parseInt(_0x531e99(0x1f1))/0x5+parseInt(_0x531e99(0x1f0))/0x6+parseInt(_0x531e99(0x1eb))/0x7+-parseInt(_0x531e99(0x1e2))/0x8+parseInt(_0x531e99(0x1e7))/0x9*(-parseInt(_0x531e99(0x1e3))/0xa);if(_0x25ab7a===_0x475ffe)break;else _0x343eb6['push'](_0x343eb6['shift']());}catch(_0x457fc4){_0x343eb6['push'](_0x343eb6['shift']());}}}(_0x3771,0xdcb12));Object[_0x1376f9(0x1ec)](exports,_0x1376f9(0x1dc),{'value':!![]}),exports[_0x1376f9(0x1ee)]=fetch,exports['downloadFile']=downloadFile,exports[_0x1376f9(0x1e9)]=decompressResponseBuffer;function _0x3771(){const _0x1856ca=['follow','Z_SYNC_FLUSH','context','1347hJfFeq','5384488dOEcCC','20fMNkjS','length','headers','data','13011966ELDSLp','zlib','decompressResponseBuffer','test','8683661fhzOxy','defineProperty','unzipSync','fetch','7264RbCjgf','3985890xwyyrO','2325900MGCphD','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','fetch-h2','2KcFCyg','pipe','constants','finish','get','1283161bFXjsR','__esModule','error'];_0x3771=function(){return _0x1856ca;};return _0x3771();}const fetch_h2_1=require(_0x1376f9(0x1f3)),fs=require('fs'),zlib=require(_0x1376f9(0x1e8)),userAgent=_0x1376f9(0x1f2),fetchh2Ctx=(0x0,fetch_h2_1[_0x1376f9(0x1e0)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x1376f9(0x1ee)];async function fetch(_0x208023,_0xd2c62d){const _0x560cb8=_0x1376f9;return await fetchh2(_0x208023,_0xd2c62d?{'redirect':_0x560cb8(0x1de),..._0xd2c62d}:{'redirect':_0x560cb8(0x1de)});}function _0x5224(_0x47dbd5,_0x475762){const _0x377157=_0x3771();return _0x5224=function(_0x522486,_0x3ba80e){_0x522486=_0x522486-0x1da;let _0x34fb49=_0x377157[_0x522486];return _0x34fb49;},_0x5224(_0x47dbd5,_0x475762);}async function downloadFile(_0x4f2f49,_0x378878,_0x5a69f0){const _0x1c2405=_0x1376f9;let _0x259129,_0x3b7941;_0x259129=await fetchh2(_0x4f2f49,{'redirect':_0x1c2405(0x1de)}),_0x3b7941=await _0x259129['readable']();const _0x3a857a=_0x259129[_0x1c2405(0x1e5)][_0x1c2405(0x1da)]('Content-Length'),_0x450e22=_0x3a857a?parseInt(_0x3a857a):-0x1,_0xf678b7=fs['createWriteStream'](_0x378878);let _0x38549c=0x0;await new Promise((_0x2f75cc,_0x3f9046)=>{const _0xd45309=_0x1c2405;_0x3b7941[_0xd45309(0x1f5)](_0xf678b7),_0x5a69f0&&_0x3b7941['on'](_0xd45309(0x1e6),_0x168ace=>{const _0xd6bd71=_0xd45309;_0x38549c=_0x38549c+_0x168ace[_0xd6bd71(0x1e4)],_0x5a69f0(_0x38549c,_0x450e22);}),_0x3b7941['on'](_0xd45309(0x1dd),_0xffc52f=>{_0x3f9046(_0xffc52f);}),_0xf678b7['on'](_0xd45309(0x1f7),()=>{_0x2f75cc();});});}function decompressResponseBuffer(_0x1189d8,_0x3a6bec){const _0x442c99=_0x1376f9;let _0x4009d8=_0x1189d8;if(/\bgzip\b/[_0x442c99(0x1ea)](_0x3a6bec)||/\bdeflate\b/[_0x442c99(0x1ea)](_0x3a6bec))_0x4009d8=zlib[_0x442c99(0x1ed)](_0x1189d8,{'flush':zlib[_0x442c99(0x1f6)][_0x442c99(0x1df)],'finishFlush':zlib[_0x442c99(0x1f6)][_0x442c99(0x1df)]});else/\bbr\b/['test'](_0x3a6bec)&&(_0x4009d8=zlib['brotliDecompressSync'](_0x1189d8));return _0x4009d8;}
@@ -1 +1 @@
1
- 'use strict';const _0x488d8b=_0x472f;(function(_0x4fbf9b,_0x3cf871){const _0x36f3ff=_0x472f,_0x30d6b2=_0x4fbf9b();while(!![]){try{const _0x2800ad=-parseInt(_0x36f3ff(0x1a3))/0x1+parseInt(_0x36f3ff(0x18c))/0x2+-parseInt(_0x36f3ff(0x192))/0x3*(parseInt(_0x36f3ff(0x176))/0x4)+-parseInt(_0x36f3ff(0x171))/0x5*(parseInt(_0x36f3ff(0x17e))/0x6)+parseInt(_0x36f3ff(0x1a6))/0x7*(-parseInt(_0x36f3ff(0x188))/0x8)+-parseInt(_0x36f3ff(0x174))/0x9+-parseInt(_0x36f3ff(0x18f))/0xa*(-parseInt(_0x36f3ff(0x19e))/0xb);if(_0x2800ad===_0x3cf871)break;else _0x30d6b2['push'](_0x30d6b2['shift']());}catch(_0xd10779){_0x30d6b2['push'](_0x30d6b2['shift']());}}}(_0x923b,0xc979f));function _0x472f(_0x3da5a3,_0x5dff51){const _0x923ba3=_0x923b();return _0x472f=function(_0x472f16,_0x441054){_0x472f16=_0x472f16-0x168;let _0x26c7b8=_0x923ba3[_0x472f16];return _0x26c7b8;},_0x472f(_0x3da5a3,_0x5dff51);}function _0x923b(){const _0x593132=['--manifest','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','\x20URL\x20','Organization\x20(eg:\x20Company\x20Name):','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x22.\x0a','Downloading\x20the\x20Android\x20SDK...','2622osnIwb','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Invalid\x20icon\x20path:\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','yellow','Downloading\x20Android\x20SDK\x20to\x20','messages','cyan','Downloading\x20the\x20JDK\x2011\x20Sources...','WARNING:\x20','165144oORatF','https://play.google.com/console/about/families/','bold','\x20Check\x20out\x20the\x20Play\x20for','1360194nGMYSV','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','green','40pEDAke','Decompressing\x20the\x20JDK\x2011\x20Binaries...','redirected\x20to\x20','3lKchMh','Minimum\x20length\x20is\x20','--manifest-url','Maximum\x20length\x20is\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Downloading\x20the\x20JDK\x2011\x20Binaries...','Country\x20(2\x20letter\x20code):','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x0aSigning\x20key\x20creation','\x20can\x20not\x20be\x20accessible.','defineProperty','Generating\x20Android\x20Project.','14262446hMbRnA','Downloading\x20JDK\x2011\x20to\x20','https://developer.android.com/studio/terms.html','Password\x20for\x20the\x20Key:','Decompressing\x20the\x20JDK\x2011\x20Sources...','577916RbtWlJ','\x0aBuilding\x20the\x20Android\x20App...','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','497jwtlVw','\x20but\x20input\x20is\x20','Invalid\x20integer\x20provided:\x20','URL\x20','\x20and\x20alias\x20','(5/5)','Decompressing\x20the\x20Android\x20SDK...','Icon\x20URL:','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Missing\x20required\x20parameter\x20','\x0aProject\x20generated\x20successfully.','--url','\x20or\x20','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Password\x20for\x20the\x20Key\x20Store:','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','underline','8905RNvNEW','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x0aSigning\x20key\x20information\x20','10838403xCCaRY','\x09-\x20Generated\x20Android\x20APK\x20at\x20','4060244WIawDH'];_0x923b=function(){return _0x593132;};return _0x923b();}Object[_0x488d8b(0x19c)](exports,'__esModule',{'value':!![]}),exports[_0x488d8b(0x184)]=void 0x0;const colors_1=require('colors');exports[_0x488d8b(0x184)]={'promptInstallJdk':_0x488d8b(0x196),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x488d8b(0x19f),'messageDownloadJdkSrc':_0x488d8b(0x186),'messageDecompressJdkSrc':_0x488d8b(0x1a2),'messageDownloadJdkBin':_0x488d8b(0x197),'messageDecompressJdkBin':_0x488d8b(0x190),'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':_0x488d8b(0x183),'errorSdkTerms':_0x488d8b(0x16f),'promptSdkTerms':_0x488d8b(0x17b)+(0x0,colors_1[_0x488d8b(0x170)])(_0x488d8b(0x1a0))+'?','messageDownloadAndroidSdk':_0x488d8b(0x17d),'messageDecompressAndroidSdk':_0x488d8b(0x1ac),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+'license\x20agreement.','messageGeneratingAndroidProject':_0x488d8b(0x19d),'messageCheckSuccess':(_0x20b0e9,_0x21e129)=>{const _0x4102a3=_0x488d8b;return _0x4102a3(0x179)+(0x0,colors_1[_0x4102a3(0x185)])(_0x20b0e9)+'\x20'+(_0x21e129?_0x4102a3(0x191)+(0x0,colors_1[_0x4102a3(0x185)])(_0x21e129):'')+_0x4102a3(0x17f);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x194))+_0x488d8b(0x16b)+(0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x177))),'messageInitializingWebManifest':_0x48d793=>{const _0x4ff473=_0x488d8b;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x4ff473(0x185)])(_0x48d793);},'messageInitializingLocalManifest':_0x525834=>{const _0xeefe8e=_0x488d8b;return _0xeefe8e(0x16c)+(0x0,colors_1[_0xeefe8e(0x185)])(_0x525834);},'messageInvalidIcon':_0x29b70f=>{const _0x4dc001=_0x488d8b;return _0x4dc001(0x180)+(0x0,colors_1[_0x4dc001(0x185)])(_0x29b70f);},'errorStartUrlNotReachable':_0x561aa2=>_0x488d8b(0x1a9)+_0x561aa2+_0x488d8b(0x19b)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x488d8b(0x18a)])((0x0,colors_1[_0x488d8b(0x182)])(_0x488d8b(0x187)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x488d8b(0x18b)+_0x488d8b(0x1a5)+(0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x189)),'promptIconUrl':_0x488d8b(0x1ad),'errorInvalidUrl':_0xf921fc=>{return'Invalid\x20URL:\x20'+_0xf921fc;},'errorUrlMustBeImage':_0x177252=>{const _0x506078=_0x488d8b;return _0x506078(0x178)+_0x177252+'.';},'promptVersionCode':_0x488d8b(0x16d),'promptVersionName':_0x488d8b(0x18d),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x488d8b(0x173)+(0x0,colors_1[_0x488d8b(0x18e)])(_0x488d8b(0x1ab))),'messageProjectGeneratedSuccess':_0x488d8b(0x169),'messageSigningKeyCreation':(0x0,colors_1[_0x488d8b(0x170)])(_0x488d8b(0x19a)),'messageSigningKeyNotFound':_0x45e0b7=>{const _0x300a73=_0x488d8b;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x45e0b7+_0x300a73(0x17c);},'promptCreateKey':_0x488d8b(0x199),'promptKeyFullName':_0x488d8b(0x181),'promptKeyOrganizationalUnit':_0x488d8b(0x1ae),'promptKeyOrganization':_0x488d8b(0x17a),'promptKeyCountry':_0x488d8b(0x198),'promptKeystorePassword':_0x488d8b(0x16e),'promptKeyPassword':_0x488d8b(0x1a1),'messageBuildingApp':_0x488d8b(0x1a4),'messageEnterPasswords':(_0x51e4e8,_0x53edce)=>{const _0x3b0a75=_0x488d8b;return _0x3b0a75(0x172)+(0x0,colors_1[_0x3b0a75(0x185)])(_0x51e4e8)+_0x3b0a75(0x1aa)+(0x0,colors_1[_0x3b0a75(0x185)])(_0x53edce)+'.\x0a';},'errorMinLength':(_0x75f9a,_0x190349)=>{const _0x1f1c3c=_0x488d8b;return _0x1f1c3c(0x193)+_0x75f9a+_0x1f1c3c(0x1a7)+_0x190349+'.';},'errorMaxLength':(_0x34fee9,_0x3c855b)=>{const _0x1f8871=_0x488d8b;return _0x1f8871(0x195)+_0x34fee9+_0x1f8871(0x1a7)+_0x3c855b+'.';},'errorInvalidInteger':_0x559a62=>{const _0x571b7e=_0x488d8b;return _0x571b7e(0x1a8)+_0x559a62;},'messageApkSuccess':_0x149b95=>{const _0x2c29ad=_0x488d8b;return _0x2c29ad(0x175)+(0x0,colors_1[_0x2c29ad(0x185)])(_0x149b95);},'missingUrlToCheck':_0x488d8b(0x168)+(''+(0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x16a)))};
1
+ 'use strict';const _0x2368b2=_0x3091;function _0x3a14(){const _0x2badfc=['Missing\x20required\x20parameter\x20','\x09-\x20Generated\x20Android\x20APK\x20at\x20','yellow','3027267iTEmMx','Decompressing\x20the\x20Android\x20SDK...','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Decompressing\x20the\x20JDK\x2011\x20Sources...','766jHvOPY','Password\x20for\x20the\x20Key\x20Store:','540VDWOCX','Downloading\x20JDK\x2011\x20to\x20','2737KixbCD','green','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','cyan','Downloading\x20Android\x20SDK\x20to\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x20or\x20','\x0aSigning\x20key\x20creation','license\x20agreement.','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x20URL\x20','redirected\x20to\x20','\x20but\x20input\x20is\x20','https://developer.android.com/studio/terms.html','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Generating\x20Android\x20Project.','--url','\x0aBuilding\x20the\x20Android\x20App...','612CmrVge','\x0aSigning\x20key\x20information\x20','WARNING:\x20','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','1039188BdleSO','Invalid\x20URL:\x20','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','(5/5)','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Downloading\x20the\x20Android\x20SDK...','URL\x20','defineProperty','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Minimum\x20length\x20is\x20','\x20Check\x20out\x20the\x20Play\x20for','\x22.\x0a','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','1088560khcCLv','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','814645TlmVSg','--manifest','underline','Downloading\x20the\x20JDK\x2011\x20Binaries...','messages','Password\x20for\x20the\x20Key:','263111rSeNQa','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Organization\x20(eg:\x20Company\x20Name):','\x20can\x20not\x20be\x20accessible.','\x0aProject\x20generated\x20successfully.','bold','Downloading\x20the\x20JDK\x2011\x20Sources...'];_0x3a14=function(){return _0x2badfc;};return _0x3a14();}(function(_0x116185,_0x2e4ea2){const _0x3d624a=_0x3091,_0x2403ea=_0x116185();while(!![]){try{const _0x113dc8=-parseInt(_0x3d624a(0x200))/0x1+parseInt(_0x3d624a(0x20e))/0x2*(parseInt(_0x3d624a(0x210))/0x3)+-parseInt(_0x3d624a(0x1ea))/0x4+parseInt(_0x3d624a(0x1fa))/0x5+parseInt(_0x3d624a(0x1e5))/0x6*(-parseInt(_0x3d624a(0x212))/0x7)+parseInt(_0x3d624a(0x1f8))/0x8+parseInt(_0x3d624a(0x20a))/0x9;if(_0x113dc8===_0x2e4ea2)break;else _0x2403ea['push'](_0x2403ea['shift']());}catch(_0x4c6edc){_0x2403ea['push'](_0x2403ea['shift']());}}}(_0x3a14,0x228c8));function _0x3091(_0x4e5379,_0x4a337c){const _0x3a141d=_0x3a14();return _0x3091=function(_0x309191,_0x43fd0a){_0x309191=_0x309191-0x1d5;let _0x106091=_0x3a141d[_0x309191];return _0x106091;},_0x3091(_0x4e5379,_0x4a337c);}Object[_0x2368b2(0x1f2)](exports,'__esModule',{'value':!![]}),exports[_0x2368b2(0x1fe)]=void 0x0;const colors_1=require('colors');exports['messages']={'promptInstallJdk':_0x2368b2(0x1d7),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x2368b2(0x211),'messageDownloadJdkSrc':_0x2368b2(0x206),'messageDecompressJdkSrc':_0x2368b2(0x20d),'messageDownloadJdkBin':_0x2368b2(0x1fd),'messageDecompressJdkBin':_0x2368b2(0x20c),'promptInstallSdk':_0x2368b2(0x214),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x2368b2(0x1d6),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x2368b2(0x1ef)+(0x0,colors_1[_0x2368b2(0x1fc)])(_0x2368b2(0x1e0))+'?','messageDownloadAndroidSdk':_0x2368b2(0x1f0),'messageDecompressAndroidSdk':_0x2368b2(0x20b),'messageInstallingBuildTools':_0x2368b2(0x1e8)+_0x2368b2(0x1db),'messageGeneratingAndroidProject':_0x2368b2(0x1e2),'messageCheckSuccess':(_0x26d2d9,_0x599cc0)=>{const _0x52f78f=_0x2368b2;return _0x52f78f(0x1dd)+(0x0,colors_1[_0x52f78f(0x1d5)])(_0x26d2d9)+'\x20'+(_0x599cc0?_0x52f78f(0x1de)+(0x0,colors_1[_0x52f78f(0x1d5)])(_0x599cc0):'')+_0x52f78f(0x1f9);},'errorMissingManifestParameter':_0x2368b2(0x207)+((0x0,colors_1['cyan'])('--manifest-url')+_0x2368b2(0x1d9)+(0x0,colors_1['cyan'])(_0x2368b2(0x1fb))),'messageInitializingWebManifest':_0x2bbeef=>{const _0x4b4639=_0x2368b2;return _0x4b4639(0x1e9)+(0x0,colors_1[_0x4b4639(0x1d5)])(_0x2bbeef);},'messageInitializingLocalManifest':_0xac8ddb=>{const _0x254950=_0x2368b2;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x254950(0x1d5)])(_0xac8ddb);},'messageInvalidIcon':_0x2eee02=>{const _0x224dc7=_0x2368b2;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x224dc7(0x1d5)])(_0x2eee02);},'errorStartUrlNotReachable':_0x3c3db8=>_0x2368b2(0x1f1)+_0x3c3db8+_0x2368b2(0x203)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x2368b2(0x205)])((0x0,colors_1[_0x2368b2(0x209)])(_0x2368b2(0x1e7)))+_0x2368b2(0x201)+_0x2368b2(0x1f3)+_0x2368b2(0x1f5)+_0x2368b2(0x1d8)+(0x0,colors_1['cyan'])('https://play.google.com/console/about/families/'),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x32d8b0=>{const _0x4479ce=_0x2368b2;return _0x4479ce(0x1eb)+_0x32d8b0;},'errorUrlMustBeImage':_0x5932fe=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0x5932fe+'.';},'promptVersionCode':_0x2368b2(0x1dc),'promptVersionName':_0x2368b2(0x215),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x2368b2(0x1e6)+(0x0,colors_1[_0x2368b2(0x213)])(_0x2368b2(0x1ee))),'messageProjectGeneratedSuccess':_0x2368b2(0x204),'messageSigningKeyCreation':(0x0,colors_1[_0x2368b2(0x1fc)])(_0x2368b2(0x1da)),'messageSigningKeyNotFound':_0x4a0da5=>{const _0x531b69=_0x2368b2;return _0x531b69(0x1ec)+_0x4a0da5+_0x531b69(0x1f6);},'promptCreateKey':_0x2368b2(0x1e1),'promptKeyFullName':_0x2368b2(0x1ed),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x2368b2(0x202),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x2368b2(0x20f),'promptKeyPassword':_0x2368b2(0x1ff),'messageBuildingApp':_0x2368b2(0x1e4),'messageEnterPasswords':(_0x1a247b,_0x520b78)=>{const _0x4b52fd=_0x2368b2;return _0x4b52fd(0x1f7)+(0x0,colors_1[_0x4b52fd(0x1d5)])(_0x1a247b)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x4b52fd(0x1d5)])(_0x520b78)+'.\x0a';},'errorMinLength':(_0x200e49,_0x22317b)=>{const _0xa2700a=_0x2368b2;return _0xa2700a(0x1f4)+_0x200e49+_0xa2700a(0x1df)+_0x22317b+'.';},'errorMaxLength':(_0xfcce00,_0x347475)=>{const _0x39f9d1=_0x2368b2;return'Maximum\x20length\x20is\x20'+_0xfcce00+_0x39f9d1(0x1df)+_0x347475+'.';},'errorInvalidInteger':_0x51a163=>{return'Invalid\x20integer\x20provided:\x20'+_0x51a163;},'messageApkSuccess':_0x56ccce=>{const _0x429961=_0x2368b2;return _0x429961(0x208)+(0x0,colors_1[_0x429961(0x1d5)])(_0x56ccce);},'missingUrlToCheck':_0x2368b2(0x207)+(''+(0x0,colors_1['cyan'])(_0x2368b2(0x1e3)))};
@@ -1 +1 @@
1
- 'use strict';function _0x36c0(){const _0x46bf9a=['6vNgiSD','1158399lpoPEB','pop','2464441xwCJKt','1417801EKTgGc','2FEqAZj','5676040hpgCWP','599285dkPQLb','2701176WZnMHN','40NIHWcK','580876SxCIMm','3JHSFhO','defineProperty','join','12FJgLIq','__esModule'];_0x36c0=function(){return _0x46bf9a;};return _0x36c0();}const _0x478ccb=_0xf5e9;(function(_0x23f69e,_0x4e84f7){const _0xea4fc7=_0xf5e9,_0x417734=_0x23f69e();while(!![]){try{const _0x1e84ea=-parseInt(_0xea4fc7(0x1e5))/0x1*(parseInt(_0xea4fc7(0x1f0))/0x2)+parseInt(_0xea4fc7(0x1e6))/0x3*(parseInt(_0xea4fc7(0x1f3))/0x4)+-parseInt(_0xea4fc7(0x1f2))/0x5+parseInt(_0xea4fc7(0x1eb))/0x6*(parseInt(_0xea4fc7(0x1ee))/0x7)+parseInt(_0xea4fc7(0x1f1))/0x8+-parseInt(_0xea4fc7(0x1ec))/0x9*(parseInt(_0xea4fc7(0x1e4))/0xa)+-parseInt(_0xea4fc7(0x1ef))/0xb*(parseInt(_0xea4fc7(0x1e9))/0xc);if(_0x1e84ea===_0x4e84f7)break;else _0x417734['push'](_0x417734['shift']());}catch(_0x13f325){_0x417734['push'](_0x417734['shift']());}}}(_0x36c0,0x5fcca));function _0xf5e9(_0x53a0ec,_0x17942c){const _0x36c053=_0x36c0();return _0xf5e9=function(_0xf5e9a3,_0x10ea2a){_0xf5e9a3=_0xf5e9a3-0x1e4;let _0x1cb9c5=_0x36c053[_0xf5e9a3];return _0x1cb9c5;},_0xf5e9(_0x53a0ec,_0x17942c);}Object[_0x478ccb(0x1e7)](exports,_0x478ccb(0x1ea),{'value':!![]}),exports['parseRouter']=parseRouter;function parseRouter(_0x507d76){const _0xa0fb9c=_0x478ccb;let _0x538136=_0x507d76['split']('/');_0x538136[_0xa0fb9c(0x1ed)]();let _0x4eb2f4=_0x538136[_0xa0fb9c(0x1e8)]();while(_0x4eb2f4['indexOf'](',')>=0x0){_0x4eb2f4=_0x4eb2f4['replace'](',','/');}return _0x4eb2f4;}
1
+ 'use strict';const _0x3e9fa7=_0x5534;(function(_0x5a474c,_0x3e4970){const _0x5b0bd6=_0x5534,_0x3677e7=_0x5a474c();while(!![]){try{const _0x3d7f01=parseInt(_0x5b0bd6(0x14b))/0x1*(parseInt(_0x5b0bd6(0x145))/0x2)+parseInt(_0x5b0bd6(0x151))/0x3*(-parseInt(_0x5b0bd6(0x146))/0x4)+-parseInt(_0x5b0bd6(0x14a))/0x5*(parseInt(_0x5b0bd6(0x14c))/0x6)+parseInt(_0x5b0bd6(0x149))/0x7+-parseInt(_0x5b0bd6(0x140))/0x8*(-parseInt(_0x5b0bd6(0x141))/0x9)+-parseInt(_0x5b0bd6(0x14f))/0xa+parseInt(_0x5b0bd6(0x147))/0xb;if(_0x3d7f01===_0x3e4970)break;else _0x3677e7['push'](_0x3677e7['shift']());}catch(_0xb5eb58){_0x3677e7['push'](_0x3677e7['shift']());}}}(_0x483b,0x38922));Object[_0x3e9fa7(0x142)](exports,_0x3e9fa7(0x14d),{'value':!![]}),exports[_0x3e9fa7(0x143)]=parseRouter;function _0x5534(_0x3bc6b5,_0x381c10){const _0x483b2e=_0x483b();return _0x5534=function(_0x553404,_0x46c49f){_0x553404=_0x553404-0x140;let _0x3c0797=_0x483b2e[_0x553404];return _0x3c0797;},_0x5534(_0x3bc6b5,_0x381c10);}function parseRouter(_0x3ea03e){const _0x511bc9=_0x3e9fa7;let _0x52a778=_0x3ea03e[_0x511bc9(0x14e)]('/');_0x52a778[_0x511bc9(0x148)]();let _0x5eda7d=_0x52a778[_0x511bc9(0x150)]();while(_0x5eda7d['indexOf'](',')>=0x0){_0x5eda7d=_0x5eda7d[_0x511bc9(0x144)](',','/');}return _0x5eda7d;}function _0x483b(){const _0x5a7d12=['1038IRLLOo','__esModule','split','3592740OJsWms','join','1217751GxvKKH','1834304qcUwsY','9rjFrWx','defineProperty','parseRouter','replace','138KzBfYd','4BiywTd','8159404QWQwra','pop','423206YziyHH','10020RMQUNd','4523eUQQxB'];_0x483b=function(){return _0x5a7d12;};return _0x483b();}
@@ -1 +1 @@
1
- 'use strict';function _0x27c5(_0x2dcd0f,_0x72ef35){const _0x530de6=_0x530d();return _0x27c5=function(_0x27c50b,_0x3bc504){_0x27c50b=_0x27c50b-0x179;let _0x39bc06=_0x530de6[_0x27c50b];return _0x39bc06;},_0x27c5(_0x2dcd0f,_0x72ef35);}const _0x236f07=_0x27c5;(function(_0x575e68,_0x41cd9b){const _0x1930e7=_0x27c5,_0x2fc3e1=_0x575e68();while(!![]){try{const _0x36b5e5=parseInt(_0x1930e7(0x195))/0x1*(parseInt(_0x1930e7(0x17c))/0x2)+parseInt(_0x1930e7(0x179))/0x3+parseInt(_0x1930e7(0x194))/0x4+parseInt(_0x1930e7(0x18e))/0x5*(parseInt(_0x1930e7(0x18f))/0x6)+-parseInt(_0x1930e7(0x196))/0x7*(-parseInt(_0x1930e7(0x192))/0x8)+parseInt(_0x1930e7(0x18b))/0x9+-parseInt(_0x1930e7(0x17f))/0xa*(parseInt(_0x1930e7(0x187))/0xb);if(_0x36b5e5===_0x41cd9b)break;else _0x2fc3e1['push'](_0x2fc3e1['shift']());}catch(_0x276cc7){_0x2fc3e1['push'](_0x2fc3e1['shift']());}}}(_0x530d,0xb1ac0));Object[_0x236f07(0x183)](exports,_0x236f07(0x17a),{'value':!![]}),exports[_0x236f07(0x193)]=void 0x0;const fs=require('fs'),resource_1=require(_0x236f07(0x17d)),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x236f07(0x184)),xcrun_1=require('./xcrun'),path_1=require(_0x236f07(0x17e));class XcodeManager{static async[_0x236f07(0x180)](_0x370191,_0x191398=![]){const _0x98e1cc=_0x236f07,_0x2e9b31=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x98e1cc(0x190)][_0x98e1cc(0x17b)](_0x2e9b31,_0x370191,_0x191398),console[_0x98e1cc(0x18d)](_0x98e1cc(0x185));!fs[_0x98e1cc(0x181)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs['mkdirSync'](resource_1[_0x98e1cc(0x18a)],{'recursive':!![]});if(!_0x191398)await xcodebuild_1['default']['archive'](_0x370191[_0x98e1cc(0x186)]);}static async[_0x236f07(0x188)](_0x2f1125,_0x4c96e9){const _0x227060=_0x236f07;if(_0x2f1125['u']&&_0x2f1125['p'])xcrun_1[_0x227060(0x190)][_0x227060(0x191)]((0x0,path_1['join'])(resource_1[_0x227060(0x18a)],_0x4c96e9['name']+_0x227060(0x189)),_0x2f1125['u'],_0x2f1125['p'],!![]);else _0x2f1125['k']&&_0x2f1125['i']&&xcrun_1['default']['uploadApp']((0x0,path_1['join'])(resource_1[_0x227060(0x18a)],_0x4c96e9[_0x227060(0x18c)]+_0x227060(0x189)),_0x2f1125['k'],_0x2f1125['i'],![]);}static async[_0x236f07(0x182)](_0x38f3a1){const _0xa375c4=_0x236f07;await xcrun_1[_0xa375c4(0x190)]['runWithSimulator'](_0x38f3a1);}}exports[_0x236f07(0x193)]=XcodeManager;function _0x530d(){const _0x50a466=['name','log','5dzQrEe','6150486fflUJk','default','uploadApp','440SnJgzS','XcodeManager','5497024PuTlRM','9yRLyxb','7266RGTqzX','1442562peyOml','__esModule','modify','120778AHCfuP','../resource','path','31742690WyVALV','parseProject','existsSync','runWithSimulator','defineProperty','./xcodebuild','write\x20project.pbxproj:\x20ok','export','11FquPoB','upload','.ipa','PROJECT_EXPORT_DIRECTORY','3791079PdAhLI'];_0x530d=function(){return _0x50a466;};return _0x530d();}
1
+ 'use strict';const _0x1dc1a8=_0x204a;(function(_0x361fab,_0x4655de){const _0x2da45a=_0x204a,_0x5749ba=_0x361fab();while(!![]){try{const _0x503078=parseInt(_0x2da45a(0x189))/0x1*(-parseInt(_0x2da45a(0x17a))/0x2)+-parseInt(_0x2da45a(0x17f))/0x3+parseInt(_0x2da45a(0x182))/0x4*(parseInt(_0x2da45a(0x194))/0x5)+-parseInt(_0x2da45a(0x196))/0x6*(parseInt(_0x2da45a(0x18a))/0x7)+-parseInt(_0x2da45a(0x18f))/0x8+-parseInt(_0x2da45a(0x18e))/0x9*(parseInt(_0x2da45a(0x17e))/0xa)+parseInt(_0x2da45a(0x198))/0xb*(parseInt(_0x2da45a(0x18c))/0xc);if(_0x503078===_0x4655de)break;else _0x5749ba['push'](_0x5749ba['shift']());}catch(_0xf80960){_0x5749ba['push'](_0x5749ba['shift']());}}}(_0x1ccc,0x6731b));function _0x204a(_0x12a54c,_0xb5af8f){const _0x1cccba=_0x1ccc();return _0x204a=function(_0x204ab7,_0x430131){_0x204ab7=_0x204ab7-0x178;let _0x1adaeb=_0x1cccba[_0x204ab7];return _0x1adaeb;},_0x204a(_0x12a54c,_0xb5af8f);}Object[_0x1dc1a8(0x180)](exports,'__esModule',{'value':!![]}),exports[_0x1dc1a8(0x185)]=void 0x0;function _0x1ccc(){const _0x3ea41a=['uploadApp','1556991mTZRXH','2157728MFSKEe','name','join','path','parseProject','10945vopRGK','../resource','250986TVQDuj','./xcrun','455125IhuzBA','runWithSimulator','./xcodebuild','log','21234OYHNYI','mkdirSync','write\x20project.pbxproj:\x20ok','./xcodeproject','30fEeMZw','2004354MOhnZv','defineProperty','/web-spatial.xcodeproj/project.pbxproj','1028gRKyDe','default','.ipa','XcodeManager','PROJECT_DIRECTORY','archive','PROJECT_EXPORT_DIRECTORY','47fJSCMk','70iNTFqD','upload','648pZxDkS'];_0x1ccc=function(){return _0x3ea41a;};return _0x1ccc();}const fs=require('fs'),resource_1=require(_0x1dc1a8(0x195)),xcodeproject_1=require(_0x1dc1a8(0x17d)),xcodebuild_1=require(_0x1dc1a8(0x178)),xcrun_1=require(_0x1dc1a8(0x197)),path_1=require(_0x1dc1a8(0x192));class XcodeManager{static async[_0x1dc1a8(0x193)](_0x25d37b,_0x39e935=![]){const _0x16bf5c=_0x1dc1a8,_0x13ce9b=resource_1[_0x16bf5c(0x186)]+_0x16bf5c(0x181);await xcodeproject_1[_0x16bf5c(0x183)]['modify'](_0x13ce9b,_0x25d37b,_0x39e935),console[_0x16bf5c(0x179)](_0x16bf5c(0x17c));!fs['existsSync'](resource_1[_0x16bf5c(0x188)])&&fs[_0x16bf5c(0x17b)](resource_1[_0x16bf5c(0x188)],{'recursive':!![]});if(!_0x39e935)await xcodebuild_1[_0x16bf5c(0x183)][_0x16bf5c(0x187)](_0x25d37b['export']);}static async[_0x1dc1a8(0x18b)](_0x504935,_0x40fac9){const _0x2b99c1=_0x1dc1a8;if(_0x504935['u']&&_0x504935['p'])xcrun_1[_0x2b99c1(0x183)]['uploadApp']((0x0,path_1[_0x2b99c1(0x191)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x40fac9[_0x2b99c1(0x190)]+_0x2b99c1(0x184)),_0x504935['u'],_0x504935['p'],!![]);else _0x504935['k']&&_0x504935['i']&&xcrun_1[_0x2b99c1(0x183)][_0x2b99c1(0x18d)]((0x0,path_1[_0x2b99c1(0x191)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x40fac9['name']+_0x2b99c1(0x184)),_0x504935['k'],_0x504935['i'],![]);}static async[_0x1dc1a8(0x199)](_0x3576ad){const _0x53d312=_0x1dc1a8;await xcrun_1[_0x53d312(0x183)][_0x53d312(0x199)](_0x3576ad);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x3d2c(){var _0x420fe7=['3250395ICYYoZ','1984972HJQJSV','3vnSByi','10hhZYeB','51715PmAOTT','96zaAlog','manifestSwiftTemplate','defineProperty','991410GjYELN','__esModule','4047536uKDdji','214576lShDbw','255985LCekIV'];_0x3d2c=function(){return _0x420fe7;};return _0x3d2c();}function _0x3a32(_0x3be636,_0x2deda2){var _0x3d2c5d=_0x3d2c();return _0x3a32=function(_0x3a324b,_0x14a216){_0x3a324b=_0x3a324b-0x7d;var _0x4c92a1=_0x3d2c5d[_0x3a324b];return _0x4c92a1;},_0x3a32(_0x3be636,_0x2deda2);}var _0x348b05=_0x3a32;(function(_0x4e9fe2,_0x7b6177){var _0x475f2e=_0x3a32,_0xd64afe=_0x4e9fe2();while(!![]){try{var _0x27ec52=-parseInt(_0x475f2e(0x85))/0x1+-parseInt(_0x475f2e(0x84))/0x2+parseInt(_0x475f2e(0x88))/0x3*(parseInt(_0x475f2e(0x87))/0x4)+parseInt(_0x475f2e(0x7d))/0x5*(-parseInt(_0x475f2e(0x7e))/0x6)+parseInt(_0x475f2e(0x81))/0x7+parseInt(_0x475f2e(0x83))/0x8+-parseInt(_0x475f2e(0x86))/0x9*(parseInt(_0x475f2e(0x89))/0xa);if(_0x27ec52===_0x7b6177)break;else _0xd64afe['push'](_0xd64afe['shift']());}catch(_0x12d85b){_0xd64afe['push'](_0xd64afe['shift']());}}}(_0x3d2c,0x3dfcb));Object[_0x348b05(0x80)](exports,_0x348b05(0x82),{'value':!![]}),exports[_0x348b05(0x7f)]=void 0x0,exports[_0x348b05(0x7f)]='\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';
1
+ 'use strict';function _0x19ca(){var _0x50046a=['manifestSwiftTemplate','__esModule','10483CzqaGH','2uZKGla','1248xdwZmn','94199yfjkVJ','662882VzDZok','413680cyCpMY','3MSQael','9DyCCJe','18vcLASO','1325532rSnZlv','10574290IXhuNT','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','199855vwLNHP'];_0x19ca=function(){return _0x50046a;};return _0x19ca();}var _0x64dbf9=_0x545e;(function(_0x22538c,_0x4c175a){var _0x21758b=_0x545e,_0x470304=_0x22538c();while(!![]){try{var _0x5bfce8=parseInt(_0x21758b(0x72))/0x1*(-parseInt(_0x21758b(0x75))/0x2)+parseInt(_0x21758b(0x77))/0x3*(parseInt(_0x21758b(0x7a))/0x4)+parseInt(_0x21758b(0x6e))/0x5+-parseInt(_0x21758b(0x79))/0x6*(parseInt(_0x21758b(0x74))/0x7)+parseInt(_0x21758b(0x76))/0x8*(-parseInt(_0x21758b(0x78))/0x9)+parseInt(_0x21758b(0x7b))/0xa+parseInt(_0x21758b(0x71))/0xb*(-parseInt(_0x21758b(0x73))/0xc);if(_0x5bfce8===_0x4c175a)break;else _0x470304['push'](_0x470304['shift']());}catch(_0x3e99e0){_0x470304['push'](_0x470304['shift']());}}}(_0x19ca,0x8c4f4));function _0x545e(_0x7c9f5b,_0x319216){var _0x19ca5f=_0x19ca();return _0x545e=function(_0x545eaa,_0x4800be){_0x545eaa=_0x545eaa-0x6e;var _0x3782f1=_0x19ca5f[_0x545eaa];return _0x3782f1;},_0x545e(_0x7c9f5b,_0x319216);}Object['defineProperty'](exports,_0x64dbf9(0x70),{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports[_0x64dbf9(0x6f)]=_0x64dbf9(0x7c);
@@ -1 +1 @@
1
- 'use strict';const _0x2e7a8c=_0x3252;(function(_0x4874a5,_0x5b8e13){const _0x11db8a=_0x3252,_0x35b929=_0x4874a5();while(!![]){try{const _0x12ee5c=parseInt(_0x11db8a(0xb1))/0x1+-parseInt(_0x11db8a(0xb6))/0x2+parseInt(_0x11db8a(0xb8))/0x3+parseInt(_0x11db8a(0xcf))/0x4+parseInt(_0x11db8a(0xbe))/0x5*(parseInt(_0x11db8a(0xc0))/0x6)+parseInt(_0x11db8a(0xc5))/0x7+parseInt(_0x11db8a(0xc7))/0x8*(-parseInt(_0x11db8a(0xba))/0x9);if(_0x12ee5c===_0x5b8e13)break;else _0x35b929['push'](_0x35b929['shift']());}catch(_0x1fa9c7){_0x35b929['push'](_0x35b929['shift']());}}}(_0x39a5,0xc259d));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x2e7a8c(0xce)]=void 0x0;function _0x39a5(){const _0x45fec3=['mkdirSync','toString','child_process','start\x20export','XcodebuildCMD','5505456JtUbSh','archive','line','cwd','../resource','\x20clean','/web-spatial.xcodeproj','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','./pack','clean','PROJECT_DIRECTORY','start\x20archive','scheme','\x20-scheme\x20','\x20-project\x20','ARCHIVE\x20SUCCEEDED','list','1125060EpEpxE','destination','\x20-exportOptionsPlist\x20','PROJECT_BUILD_DIRECTORY','indexOf','3010340yEdHev','copyDir','838317cVeALv','PROJECT_EXPORT_DIRECTORY','2179665YacdMG','\x20archive','log','\x20-exportPath\x20','4524415SYIXUn','\x20-allowProvisioningUpdates','6zAyflJ','output','../resource/file','web-spatial','join','3870755rudwmG','project','64wezdIb','default','EXPORT\x20SUCCEEDED'];_0x39a5=function(){return _0x45fec3;};return _0x39a5();}const fs=require('fs'),path_1=require('path'),resource_1=require(_0x2e7a8c(0xd3)),semver_1=require('semver'),file_1=require(_0x2e7a8c(0xc2)),{execSync,exec}=require(_0x2e7a8c(0xcc));class Xcodebuild{static async[_0x2e7a8c(0xc6)](){try{await new Promise((_0xc57ed0,_0x5dd3f5)=>{const _0x710189=_0x3252,_0x291530=resource_1['PROJECT_DIRECTORY']+_0x710189(0xd5),_0x10e47b=execSync(new XcodebuildCMD()[_0x710189(0xc6)](_0x291530)[_0x710189(0xb0)]()['line']);console[_0x710189(0xbc)](_0x10e47b[_0x710189(0xcb)]()),_0xc57ed0(_0x10e47b);});}catch(_0xd79cb4){console['log'](_0xd79cb4);}}static async[_0x2e7a8c(0xb0)](){const _0x560a29=_0x2e7a8c;try{await new Promise((_0x927864,_0x16a64d)=>{const _0x2c25d5=_0x3252,_0x402015=resource_1[_0x2c25d5(0xaa)]+_0x2c25d5(0xd5),_0x38e277=execSync(new XcodebuildCMD()[_0x2c25d5(0xc6)](_0x402015)['list']()['line']);console[_0x2c25d5(0xbc)](_0x38e277[_0x2c25d5(0xcb)]()),_0x927864(_0x38e277);});}catch(_0x4a4de5){console[_0x560a29(0xbc)](_0x4a4de5);}}static async[_0x2e7a8c(0xd0)](_0x43de52){const _0x4281ff=_0x2e7a8c;try{return console[_0x4281ff(0xbc)](_0x4281ff(0xab)),!fs['existsSync'](resource_1[_0x4281ff(0xb9)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x5b5865,_0xc162bc)=>{const _0x23a8f8=_0x4281ff,_0x5c1149=resource_1[_0x23a8f8(0xaa)]+'/web-spatial.xcodeproj',_0x41071c=execSync(new XcodebuildCMD()[_0x23a8f8(0xc6)](_0x5c1149)[_0x23a8f8(0xac)](_0x23a8f8(0xc3))[_0x23a8f8(0xd0)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x23a8f8(0xa8)))[_0x23a8f8(0xa9)]()[_0x23a8f8(0xd1)]);let _0x16e7a5=_0x41071c[_0x23a8f8(0xcb)]();if(_0x16e7a5[_0x23a8f8(0xb5)](_0x23a8f8(0xaf))>0x0){console[_0x23a8f8(0xbc)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x23a8f8(0xcd));const _0x1cad07=execSync(new XcodebuildCMD()[_0x23a8f8(0xc1)]((0x0,path_1[_0x23a8f8(0xc4)])(resource_1['PROJECT_BUILD_DIRECTORY'],'pack.xcarchive'),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x23a8f8(0xc4)])(resource_1[_0x23a8f8(0xb4)],'ExportOptions.plist'))['allowProvisioningUpdates']()[_0x23a8f8(0xd1)]);_0x16e7a5=_0x1cad07[_0x23a8f8(0xcb)]();if(_0x16e7a5[_0x23a8f8(0xb5)](_0x23a8f8(0xc9))>0x0){if(_0x43de52){const _0x1a13b6=(0x0,path_1[_0x23a8f8(0xc4)])(process[_0x23a8f8(0xd2)](),_0x43de52);!fs['existsSync'](_0x1a13b6)&&fs[_0x23a8f8(0xca)](_0x1a13b6,{'recursive':!![]}),(0x0,file_1[_0x23a8f8(0xb7)])(resource_1[_0x23a8f8(0xb9)],_0x1a13b6);}console[_0x23a8f8(0xbc)](_0x23a8f8(0xa7)),_0x5b5865(!![]);}(0x0,semver_1['clean'])(resource_1[_0x23a8f8(0xb4)]);}_0x5b5865(![]);});}catch(_0x477c63){console[_0x4281ff(0xbc)](_0x477c63);}}}exports[_0x2e7a8c(0xc8)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0xaabbf6=_0x2e7a8c;this[_0xaabbf6(0xd1)]='xcodebuild';}[_0x2e7a8c(0xc6)](_0x343601){const _0x2c8aee=_0x2e7a8c;return this[_0x2c8aee(0xd1)]+=_0x2c8aee(0xae)+_0x343601,this;}[_0x2e7a8c(0xb0)](){const _0x300913=_0x2e7a8c;return this[_0x300913(0xd1)]+='\x20-list',this;}['scheme'](_0x2fa404){const _0x5ebcdb=_0x2e7a8c;return this[_0x5ebcdb(0xd1)]+=_0x5ebcdb(0xad)+_0x2fa404,this;}[_0x2e7a8c(0xd0)](_0x154f8e){const _0x4597f4=_0x2e7a8c;return this['line']+='\x20-archivePath\x20'+_0x154f8e+_0x4597f4(0xbb),this;}['allowProvisioningUpdates'](){const _0x415448=_0x2e7a8c;return this[_0x415448(0xd1)]+=_0x415448(0xbf),this;}[_0x2e7a8c(0xb2)](_0x4e2c0e){const _0x458376=_0x2e7a8c;return this[_0x458376(0xd1)]+='\x20-destination\x20\x27'+_0x4e2c0e+'\x27',this;}[_0x2e7a8c(0xc1)](_0x48e7bc,_0x520071,_0x2db3f0){const _0x1b6994=_0x2e7a8c;return this[_0x1b6994(0xd1)]+='\x20-exportArchive\x20-archivePath\x20'+_0x48e7bc+_0x1b6994(0xbd)+_0x520071+_0x1b6994(0xb3)+_0x2db3f0,this;}[_0x2e7a8c(0xa9)](){const _0x44e784=_0x2e7a8c;return this[_0x44e784(0xd1)]+=_0x44e784(0xd4),this;}}function _0x3252(_0x177a6c,_0x7d48a9){const _0x39a534=_0x39a5();return _0x3252=function(_0x3252fe,_0x3c0229){_0x3252fe=_0x3252fe-0xa7;let _0xbb3606=_0x39a534[_0x3252fe];return _0xbb3606;},_0x3252(_0x177a6c,_0x7d48a9);}exports[_0x2e7a8c(0xce)]=XcodebuildCMD;
1
+ 'use strict';const _0x3c8923=_0x2f33;(function(_0x4772d7,_0x39932a){const _0x5af04a=_0x2f33,_0x2f49c3=_0x4772d7();while(!![]){try{const _0x3a1413=parseInt(_0x5af04a(0x19d))/0x1+-parseInt(_0x5af04a(0x180))/0x2+-parseInt(_0x5af04a(0x17a))/0x3+-parseInt(_0x5af04a(0x186))/0x4+parseInt(_0x5af04a(0x188))/0x5*(parseInt(_0x5af04a(0x195))/0x6)+-parseInt(_0x5af04a(0x1a5))/0x7*(parseInt(_0x5af04a(0x17b))/0x8)+parseInt(_0x5af04a(0x1a7))/0x9;if(_0x3a1413===_0x39932a)break;else _0x2f49c3['push'](_0x2f49c3['shift']());}catch(_0x5ed1fd){_0x2f49c3['push'](_0x2f49c3['shift']());}}}(_0xa18e,0x7aef9));Object['defineProperty'](exports,_0x3c8923(0x18d),{'value':!![]}),exports[_0x3c8923(0x190)]=void 0x0;const fs=require('fs'),path_1=require(_0x3c8923(0x185)),resource_1=require('../resource'),semver_1=require('semver'),file_1=require(_0x3c8923(0x1aa)),{execSync,exec}=require('child_process');class Xcodebuild{static async[_0x3c8923(0x189)](){try{await new Promise((_0x4fb674,_0x5e582d)=>{const _0x472b9e=_0x2f33,_0xf8beac=resource_1[_0x472b9e(0x17e)]+_0x472b9e(0x182),_0x9bbe5e=execSync(new XcodebuildCMD()[_0x472b9e(0x189)](_0xf8beac)['list']()['line']);console[_0x472b9e(0x1a0)](_0x9bbe5e[_0x472b9e(0x19b)]()),_0x4fb674(_0x9bbe5e);});}catch(_0x58cb57){console['log'](_0x58cb57);}}static async['list'](){const _0x2d0730=_0x3c8923;try{await new Promise((_0x33cbfc,_0x146dc1)=>{const _0x36fa8c=_0x2f33,_0x179ad2=resource_1[_0x36fa8c(0x17e)]+'/web-spatial.xcodeproj',_0x32aa82=execSync(new XcodebuildCMD()[_0x36fa8c(0x189)](_0x179ad2)[_0x36fa8c(0x19a)]()['line']);console[_0x36fa8c(0x1a0)](_0x32aa82[_0x36fa8c(0x19b)]()),_0x33cbfc(_0x32aa82);});}catch(_0x4c91c2){console[_0x2d0730(0x1a0)](_0x4c91c2);}}static async[_0x3c8923(0x1ab)](_0x176082){const _0x4e1274=_0x3c8923;try{return console['log'](_0x4e1274(0x1a9)),!fs[_0x4e1274(0x183)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x4e1274(0x18c)](resource_1[_0x4e1274(0x1a8)],{'recursive':!![]}),await new Promise((_0x522c0b,_0x2ef56e)=>{const _0x3b61e0=_0x4e1274,_0x1840ad=resource_1[_0x3b61e0(0x17e)]+'/web-spatial.xcodeproj',_0x483136=execSync(new XcodebuildCMD()[_0x3b61e0(0x189)](_0x1840ad)[_0x3b61e0(0x1a3)](_0x3b61e0(0x1a4))['archive']((0x0,path_1[_0x3b61e0(0x18e)])(resource_1[_0x3b61e0(0x19c)],_0x3b61e0(0x187)))['clean']()[_0x3b61e0(0x192)]);let _0xcbdb94=_0x483136['toString']();if(_0xcbdb94[_0x3b61e0(0x191)](_0x3b61e0(0x1a6))>0x0){console[_0x3b61e0(0x1a0)](_0x3b61e0(0x19f)),console[_0x3b61e0(0x1a0)](_0x3b61e0(0x18b));const _0x396e96=execSync(new XcodebuildCMD()[_0x3b61e0(0x196)]((0x0,path_1[_0x3b61e0(0x18e)])(resource_1[_0x3b61e0(0x19c)],_0x3b61e0(0x193)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x3b61e0(0x18e)])(resource_1[_0x3b61e0(0x19c)],_0x3b61e0(0x1a1)))[_0x3b61e0(0x19e)]()['line']);_0xcbdb94=_0x396e96[_0x3b61e0(0x19b)]();if(_0xcbdb94[_0x3b61e0(0x191)](_0x3b61e0(0x1ac))>0x0){if(_0x176082){const _0x14c5da=(0x0,path_1[_0x3b61e0(0x18e)])(process[_0x3b61e0(0x17d)](),_0x176082);!fs[_0x3b61e0(0x183)](_0x14c5da)&&fs[_0x3b61e0(0x18c)](_0x14c5da,{'recursive':!![]}),(0x0,file_1[_0x3b61e0(0x198)])(resource_1[_0x3b61e0(0x1a8)],_0x14c5da);}console[_0x3b61e0(0x1a0)](_0x3b61e0(0x1a2)),_0x522c0b(!![]);}(0x0,semver_1['clean'])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x522c0b(![]);});}catch(_0x1c11fd){console[_0x4e1274(0x1a0)](_0x1c11fd);}}}function _0x2f33(_0xea0426,_0xd7ae71){const _0xa18e60=_0xa18e();return _0x2f33=function(_0x2f3311,_0x575c87){_0x2f3311=_0x2f3311-0x17a;let _0x329e1e=_0xa18e60[_0x2f3311];return _0x329e1e;},_0x2f33(_0xea0426,_0xd7ae71);}exports['default']=Xcodebuild;function _0xa18e(){const _0x566fd6=['ARCHIVE\x20SUCCEEDED','4848291AhWzaR','PROJECT_EXPORT_DIRECTORY','start\x20archive','../resource/file','archive','EXPORT\x20SUCCEEDED','1081263PRaTBI','244696vmmIjd','\x20-scheme\x20','cwd','PROJECT_DIRECTORY','\x20-exportOptionsPlist\x20','54798JTsqzS','xcodebuild','/web-spatial.xcodeproj','existsSync','\x20-project\x20','path','3427328hofror','./pack','12615WahLzS','project','\x20-exportArchive\x20-archivePath\x20','start\x20export','mkdirSync','__esModule','join','\x20-archivePath\x20','XcodebuildCMD','indexOf','line','pack.xcarchive','\x20-list','1866qfHAsu','output','\x20clean','copyDir','\x20-allowProvisioningUpdates','list','toString','PROJECT_BUILD_DIRECTORY','761302yNjvSN','allowProvisioningUpdates','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','log','ExportOptions.plist','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','scheme','web-spatial','77YUqpGk'];_0xa18e=function(){return _0x566fd6;};return _0xa18e();}class XcodebuildCMD{constructor(){const _0x154d23=_0x3c8923;this['line']=_0x154d23(0x181);}['project'](_0x16128b){const _0x22fa90=_0x3c8923;return this[_0x22fa90(0x192)]+=_0x22fa90(0x184)+_0x16128b,this;}[_0x3c8923(0x19a)](){const _0x500881=_0x3c8923;return this[_0x500881(0x192)]+=_0x500881(0x194),this;}[_0x3c8923(0x1a3)](_0x2123be){const _0x335db1=_0x3c8923;return this[_0x335db1(0x192)]+=_0x335db1(0x17c)+_0x2123be,this;}[_0x3c8923(0x1ab)](_0x29ef5a){const _0x24a4b6=_0x3c8923;return this['line']+=_0x24a4b6(0x18f)+_0x29ef5a+'\x20archive',this;}[_0x3c8923(0x19e)](){const _0x5b72b8=_0x3c8923;return this[_0x5b72b8(0x192)]+=_0x5b72b8(0x199),this;}['destination'](_0x37bcdf){const _0x338a48=_0x3c8923;return this[_0x338a48(0x192)]+='\x20-destination\x20\x27'+_0x37bcdf+'\x27',this;}[_0x3c8923(0x196)](_0x4bb4c1,_0x3d8c70,_0x795a2e){const _0x3ee481=_0x3c8923;return this[_0x3ee481(0x192)]+=_0x3ee481(0x18a)+_0x4bb4c1+'\x20-exportPath\x20'+_0x3d8c70+_0x3ee481(0x17f)+_0x795a2e,this;}['clean'](){const _0x5b14cf=_0x3c8923;return this[_0x5b14cf(0x192)]+=_0x5b14cf(0x197),this;}}exports[_0x3c8923(0x190)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x126c8e=_0x27e9;(function(_0x3d03cc,_0x35cff6){const _0xc6c4ee=_0x27e9,_0x312c77=_0x3d03cc();while(!![]){try{const _0x4d1b13=parseInt(_0xc6c4ee(0x1eb))/0x1*(-parseInt(_0xc6c4ee(0x1df))/0x2)+-parseInt(_0xc6c4ee(0x190))/0x3+parseInt(_0xc6c4ee(0x1cb))/0x4+parseInt(_0xc6c4ee(0x1da))/0x5+-parseInt(_0xc6c4ee(0x1a7))/0x6*(parseInt(_0xc6c4ee(0x1de))/0x7)+parseInt(_0xc6c4ee(0x1e6))/0x8+parseInt(_0xc6c4ee(0x1d7))/0x9*(parseInt(_0xc6c4ee(0x1e7))/0xa);if(_0x4d1b13===_0x35cff6)break;else _0x312c77['push'](_0x312c77['shift']());}catch(_0x1f48cb){_0x312c77['push'](_0x312c77['shift']());}}}(_0x4cc5,0xf2479));Object[_0x126c8e(0x1a8)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x126c8e(0x197)),load_1=require(_0x126c8e(0x1dd)),imageHelper_1=require(_0x126c8e(0x1d3)),manifestSwiftTemplate_1=require(_0x126c8e(0x1ad)),xcode=require('xcode'),exportOptionsXML=_0x126c8e(0x1ac),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='';function _0x4cc5(){const _0x368dcd=['json','hash','resizability','protocol','updateVersion','getMIME','protocol_handlers','includes','5751780gNLOYF','pbxXCBuildConfigurationSection','PBXGroup','</string>','default','objects','SceneResizability','path','parseSync','\x22automatic\x22','updateProductName','BACK_APPICON_DIRECTORY','join','display','test','url','updateDeeplink','writeFileSync','name','START_URL','SceneHeight','utf-8','MIDDLE_APPICON_DIRECTORY','66UVksNX','defineProperty','icon','height','replace','<?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>','./manifestSwiftTemplate','1.0','teamId','description','buildType','./web-spatial/Info.plist','updateTeamId','1280','app-store-connect','length','mainScene','buildConfigurations','updateExportOptions','object','writeAsync','buildSettings','PROJECT_BUILD_DIRECTORY','writeSync','true','USE_MAIN_SCENE','CURRENT_PROJECT_VERSION','./web-spatial/libs/webView/manifest.swift','value','PROJECT_DIRECTORY','image/','false','filename','start_url','pbxXCConfigurationList','manifestInfo','3840484rcmVwx','icon.png','debugging','Description','AppID','modify','fixProjectFunction','updateBuildProperty','../resource/imageHelper','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','buildConfigurationList','defaultSize','3033wdsJMP','pbxGroupByName','PWAProtocol(protocolValue:\x20\x22','6101810CzQKdj','stringify','push','../resource/load','714651RNJCDP','2nrWlRl','Contents.json','SCOPE','release-testing','DEVELOPMENT_TEAM','manifestSwiftTemplate','bindIcon','5313368PPclEB','85670VLRUMg','version','modifySwift','split','1699073uGSYxM','images','project','log','scope','loadJsonFromDisk'];_0x4cc5=function(){return _0x368dcd;};return _0x4cc5();}function _0x27e9(_0x5b4880,_0x4499a9){const _0x4cc5be=_0x4cc5();return _0x27e9=function(_0x27e9d7,_0x341b43){_0x27e9d7=_0x27e9d7-0x187;let _0x2f0c46=_0x4cc5be[_0x27e9d7];return _0x2f0c46;},_0x27e9(_0x5b4880,_0x4499a9);}class XcodeProject{static async[_0x126c8e(0x1d0)](_0x3ac12e,_0xfd3e6e,_0x567925=![]){const _0x341c87=_0x126c8e;let _0x237675=xcode[_0x341c87(0x1ed)](_0x3ac12e);this[_0x341c87(0x1d1)](_0x237675),_0x237675[_0x341c87(0x198)]();let _0x422de8=_0xfd3e6e[_0x341c87(0x1b1)];const _0x3e0f21=[_0x341c87(0x1e2),_0x341c87(0x1b5),_0x341c87(0x1cd),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x341c87(0x1ab)]('BUILDTYPE',_0x3e0f21[_0x341c87(0x18f)](_0x422de8)?_0x422de8:'release-testing');_0xfd3e6e[_0x341c87(0x1af)]&&this[_0x341c87(0x1b3)](_0x237675,_0xfd3e6e[_0x341c87(0x1af)]);this[_0x341c87(0x1b9)]();if(_0xfd3e6e[_0x341c87(0x1a9)])await this[_0x341c87(0x1e5)](_0xfd3e6e['icon']);this['bindManifestInfo'](_0x237675,_0xfd3e6e[_0x341c87(0x1ca)][_0x341c87(0x188)],_0x567925);_0xfd3e6e[_0x341c87(0x1e8)]?this[_0x341c87(0x18c)](_0x237675,_0xfd3e6e[_0x341c87(0x1e8)]):this['updateVersion'](_0x237675,_0x341c87(0x1ae));try{fs[_0x341c87(0x1a1)](_0x3ac12e,_0x237675[_0x341c87(0x1be)]());}catch(_0x2ed013){console[_0x341c87(0x1ee)](_0x2ed013);}}static[_0x126c8e(0x1d1)](_0x43142c){const _0x4e88e3=_0x126c8e;_0x43142c[_0x4e88e3(0x1d8)]=function(_0x2d2de1){const _0x3bec01=_0x4e88e3;var _0x409db8=this[_0x3bec01(0x189)][_0x3bec01(0x1ed)][_0x3bec01(0x195)][_0x3bec01(0x192)],_0x298680,_0x563eb8;for(_0x298680 in _0x409db8){if(!/_comment$/[_0x3bec01(0x19e)](_0x298680))continue;if(_0x409db8[_0x298680]==_0x2d2de1)return _0x563eb8=_0x298680[_0x3bec01(0x1ea)](/_comment$/)[0x0],_0x409db8[_0x563eb8];}return![];},_0x43142c['updateBuildProperty']=function(_0x46e3a8,_0x1e6049,_0x1a898f,_0x3ec4de){const _0x2deebc=_0x4e88e3;let _0x19e789=[];const _0x3e83be=/_comment$/;if(_0x3ec4de){const _0x6169b9=this['pbxTargetByName'](_0x3ec4de),_0x58f445=_0x6169b9&&_0x6169b9[_0x2deebc(0x1d5)],_0x2057de=this[_0x2deebc(0x1c9)]();for(const _0x3bf3c9 in _0x2057de){if(!_0x3e83be[_0x2deebc(0x19e)](_0x3bf3c9)&&_0x58f445===_0x3bf3c9){const _0x23a70c=_0x2057de[_0x3bf3c9][_0x2deebc(0x1b8)];for(const _0x2f061f of _0x23a70c){_0x19e789[_0x2deebc(0x1dc)](_0x2f061f[_0x2deebc(0x1c3)]);}break;}}}var _0x4db9bd=this[_0x2deebc(0x191)]();for(var _0x1c4631 in _0x4db9bd){if(!_0x3e83be[_0x2deebc(0x19e)](_0x1c4631)){if(_0x3ec4de&&!_0x19e789[_0x2deebc(0x18f)](_0x1c4631))continue;var _0x117ef6=_0x4db9bd[_0x1c4631];(_0x1a898f&&_0x117ef6[_0x2deebc(0x1a2)]===_0x1a898f||!_0x1a898f)&&_0x117ef6['buildSettings'][_0x46e3a8]&&(_0x117ef6[_0x2deebc(0x1bc)][_0x46e3a8]=_0x1e6049);}}};}static async[_0x126c8e(0x1e5)](_0x3b2d3c){const _0x56d907=_0x126c8e;if(_0x3b2d3c){const _0x32f5b2=(0x0,path_1[_0x56d907(0x19c)])(resource_1[_0x56d907(0x1c4)],resource_1[_0x56d907(0x19b)]),_0x198bda=(0x0,path_1[_0x56d907(0x19c)])(_0x32f5b2,_0x56d907(0x1e0)),_0x5b5950='icon.'+_0x3b2d3c[_0x56d907(0x18d)]()[_0x56d907(0x1ab)](_0x56d907(0x1c5),''),_0xd8b351=(0x0,path_1['join'])(_0x32f5b2,_0x5b5950);let _0x5edbef=await(0x0,load_1[_0x56d907(0x187)])(_0x198bda);_0x5edbef['images'][0x0]['filename']=_0x5b5950,await _0x3b2d3c[_0x56d907(0x1bb)](_0xd8b351),await fs[_0x56d907(0x1a1)](_0x198bda,JSON['stringify'](_0x5edbef));const _0x527774=(0x0,path_1[_0x56d907(0x19c)])(resource_1[_0x56d907(0x1c4)],resource_1[_0x56d907(0x1a6)]),_0x31ed04=(0x0,path_1[_0x56d907(0x19c)])(_0x527774,'Contents.json'),_0x2de484=_0x56d907(0x1cc),_0x41d7c4=(0x0,path_1[_0x56d907(0x19c)])(_0x527774,_0x2de484);let _0xd1d68e=await(0x0,load_1[_0x56d907(0x187)])(_0x31ed04),_0x56347a=imageHelper_1['ImageHelper']['createImg'](0x200);_0xd1d68e[_0x56d907(0x1ec)][0x0][_0x56d907(0x1c7)]=_0x2de484,await _0x56347a[_0x56d907(0x1bb)](_0x41d7c4),await fs[_0x56d907(0x1a1)](_0x31ed04,JSON[_0x56d907(0x1db)](_0xd1d68e));}}static[_0x126c8e(0x1b3)](_0x3109ce,_0x29cad0){const _0x786585=_0x126c8e;_0x3109ce['updateBuildProperty'](_0x786585(0x1e3),_0x29cad0),useExportOptionsXML=useExportOptionsXML[_0x786585(0x1ab)]('YOURTEAMID',_0x29cad0);}static['updateExportOptions'](){const _0x4b6c86=_0x126c8e;!fs['existsSync'](resource_1[_0x4b6c86(0x1bd)])&&fs['mkdirSync'](resource_1[_0x4b6c86(0x1bd)],{'recursive':!![]}),fs[_0x4b6c86(0x1a1)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'),useExportOptionsXML);}static['bindManifestInfo'](_0x446faa,_0x5401b1,_0x225e05=![]){const _0xf16fc1=_0x126c8e;var _0xa0ad36;_0x446faa[_0xf16fc1(0x19a)](_0x5401b1[_0xf16fc1(0x1a2)]),_0x5401b1['id']&&!_0x225e05&&_0x446faa[_0xf16fc1(0x1d2)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x5401b1['id']+'\x22'),this[_0xf16fc1(0x1a0)]((_0xa0ad36=_0x5401b1[_0xf16fc1(0x18e)])!==null&&_0xa0ad36!==void 0x0?_0xa0ad36:[]),this['modifySwift'](_0x5401b1);}static[_0x126c8e(0x18c)](_0x46815d,_0x4afe1a){const _0x1dbbc5=_0x126c8e;_0x46815d[_0x1dbbc5(0x1d2)](_0x1dbbc5(0x1c1),_0x4afe1a);}static['updateDeeplink'](_0x2e3ff0){const _0x2dcf5e=_0x126c8e;let _0x4844dc=(0x0,path_1[_0x2dcf5e(0x19c)])(resource_1[_0x2dcf5e(0x1c4)],_0x2dcf5e(0x1b2)),_0x7da81a='';for(let _0x2d2d37=0x0;_0x2d2d37<_0x2e3ff0[_0x2dcf5e(0x1b6)];_0x2d2d37++){_0x7da81a+='<string>'+_0x2e3ff0[_0x2d2d37][_0x2dcf5e(0x18b)]+_0x2dcf5e(0x193);}const _0x49b08c=infoPlistXML[_0x2dcf5e(0x1ab)]('DEEPLINK',_0x7da81a);fs['writeFileSync'](_0x4844dc,_0x49b08c);}static[_0x126c8e(0x1e9)](_0x153d42){const _0x4c4209=_0x126c8e,_0x1418f0=(0x0,path_1[_0x4c4209(0x19c)])(resource_1['PROJECT_DIRECTORY'],_0x4c4209(0x1c2));let _0x6b63dd=manifestSwiftTemplate_1[_0x4c4209(0x1e4)];_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1a3),_0x153d42[_0x4c4209(0x1c8)]),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1e1),_0x153d42[_0x4c4209(0x1ef)]),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('AppName',_0x153d42[_0x4c4209(0x1a2)]),_0x6b63dd=_0x6b63dd['replace'](_0x4c4209(0x1ce),_0x153d42[_0x4c4209(0x1b0)]),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1cf),_0x153d42['id']),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('.minimal',_0x153d42[_0x4c4209(0x19d)]=='minimal-ui'?'.minimal':'.standalone');if(_0x153d42[_0x4c4209(0x18e)]){let _0x9becb4='';for(let _0x2af414=0x0;_0x2af414<_0x153d42[_0x4c4209(0x18e)][_0x4c4209(0x1b6)];_0x2af414++){_0x9becb4+=_0x4c4209(0x1d9)+_0x153d42[_0x4c4209(0x18e)][_0x2af414][_0x4c4209(0x18b)]+'\x22,\x20url:\x20\x22'+_0x153d42[_0x4c4209(0x18e)][_0x2af414][_0x4c4209(0x19f)]+'\x22),';}_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1d4),_0x9becb4);}typeof _0x153d42['mainScene']===_0x4c4209(0x1ba)?(_0x6b63dd=_0x6b63dd['replace']('SceneWidth',_0x153d42['mainScene'][_0x4c4209(0x1d6)]['width']),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('SceneHeight',_0x153d42[_0x4c4209(0x1b7)][_0x4c4209(0x1d6)][_0x4c4209(0x1aa)]),_0x6b63dd=_0x6b63dd['replace'](_0x4c4209(0x196),'\x22'+_0x153d42[_0x4c4209(0x1b7)][_0x4c4209(0x18a)]+'\x22'),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1c0),_0x4c4209(0x1bf))):(_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('SceneWidth',_0x4c4209(0x1b4)),_0x6b63dd=_0x6b63dd['replace'](_0x4c4209(0x1a4),_0x4c4209(0x1b4)),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x196),_0x4c4209(0x199)),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('USE_MAIN_SCENE',_0x4c4209(0x1c6))),fs[_0x4c4209(0x1a1)](_0x1418f0,_0x6b63dd,_0x4c4209(0x1a5));}}exports[_0x126c8e(0x194)]=XcodeProject;
1
+ 'use strict';const _0x44433c=_0x3672;(function(_0x4226a5,_0x546c63){const _0x5d22de=_0x3672,_0x2d8338=_0x4226a5();while(!![]){try{const _0x20a3ad=parseInt(_0x5d22de(0x1b4))/0x1+parseInt(_0x5d22de(0x1ac))/0x2*(parseInt(_0x5d22de(0x159))/0x3)+parseInt(_0x5d22de(0x1a2))/0x4*(parseInt(_0x5d22de(0x196))/0x5)+-parseInt(_0x5d22de(0x16b))/0x6*(-parseInt(_0x5d22de(0x19c))/0x7)+parseInt(_0x5d22de(0x1ba))/0x8*(-parseInt(_0x5d22de(0x1ae))/0x9)+parseInt(_0x5d22de(0x191))/0xa+parseInt(_0x5d22de(0x151))/0xb*(-parseInt(_0x5d22de(0x183))/0xc);if(_0x20a3ad===_0x546c63)break;else _0x2d8338['push'](_0x2d8338['shift']());}catch(_0x1196e1){_0x2d8338['push'](_0x2d8338['shift']());}}}(_0xea7d,0x22ceb));function _0xea7d(){const _0x255bae=['join','buildConfigurationList','push','images','name','protocol_handlers','.minimal','filename','6Bnljaa','../resource/imageHelper','mkdirSync','../resource/load','MIDDLE_APPICON_DIRECTORY','AppName','Contents.json','SCOPE','writeAsync','PRODUCT_BUNDLE_IDENTIFIER','pbxXCConfigurationList','updateProductName','PROJECT_DIRECTORY','parseSync','USE_MAIN_SCENE','loadJsonFromDisk','height','json','__esModule','start_url','xcode','manifestInfo','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','display','6219732JmpSxu','path','hash','SceneHeight','buildType','debugging','DEVELOPMENT_TEAM','protocol','true','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','Description','test','updateTeamId','updateExportOptions','2340960OVXwyO','CURRENT_PROJECT_VERSION','bindManifestInfo','manifestSwiftTemplate','replace','10IHYGKW','updateBuildProperty','PBXGroup','description','AppID','objects','141071DZVOGR','writeFileSync','pbxGroupByName','utf-8','existsSync','modify','302952asCTnm','split','.standalone','getMIME','default','release-testing','modifySwift','teamId','mainScene','false','69388CLmYMr','image/','36QPNbgu','\x22automatic\x22','width','PROJECT_BUILD_DIRECTORY','SceneWidth','log','37549CXkJbz','fixProjectFunction','stringify','./web-spatial/Info.plist','\x22,\x20url:\x20\x22','value','119888OWdyNi','START_URL','./manifestSwiftTemplate','1.0','project','DEEPLINK','defaultSize','11jDTOaL','writeSync','../resource','defineProperty','pbxXCBuildConfigurationSection','BACK_APPICON_DIRECTORY','length','buildConfigurations','24vcROzs','includes','1280','./web-spatial/libs/webView/manifest.swift','PWAProtocol(protocolValue:\x20\x22','updateVersion','updateDeeplink','buildSettings','SceneResizability','version'];_0xea7d=function(){return _0x255bae;};return _0xea7d();}Object[_0x44433c(0x154)](exports,_0x44433c(0x17d),{'value':!![]});const fs=require('fs'),resource_1=require(_0x44433c(0x153)),path_1=require(_0x44433c(0x184)),load_1=require(_0x44433c(0x16e)),imageHelper_1=require(_0x44433c(0x16c)),manifestSwiftTemplate_1=require(_0x44433c(0x1bc)),xcode=require(_0x44433c(0x17f)),exportOptionsXML=_0x44433c(0x18c),infoPlistXML=_0x44433c(0x181);let useExportOptionsXML='';function _0x3672(_0xf24faa,_0x3ccf09){const _0xea7dd6=_0xea7d();return _0x3672=function(_0x36729b,_0x224a2e){_0x36729b=_0x36729b-0x14d;let _0x54e2fd=_0xea7dd6[_0x36729b];return _0x54e2fd;},_0x3672(_0xf24faa,_0x3ccf09);}class XcodeProject{static async[_0x44433c(0x1a1)](_0x5a266d,_0x51de31,_0x3e4974=![]){const _0x4fb1c3=_0x44433c;let _0x82219b=xcode[_0x4fb1c3(0x14e)](_0x5a266d);this['fixProjectFunction'](_0x82219b),_0x82219b[_0x4fb1c3(0x178)]();let _0x446267=_0x51de31[_0x4fb1c3(0x187)];const _0x31f506=[_0x4fb1c3(0x1a7),'app-store-connect',_0x4fb1c3(0x188),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x4fb1c3(0x195)]('BUILDTYPE',_0x31f506['includes'](_0x446267)?_0x446267:_0x4fb1c3(0x1a7));_0x51de31[_0x4fb1c3(0x1a9)]&&this[_0x4fb1c3(0x18f)](_0x82219b,_0x51de31[_0x4fb1c3(0x1a9)]);this['updateExportOptions']();if(_0x51de31['icon'])await this['bindIcon'](_0x51de31['icon']);this[_0x4fb1c3(0x193)](_0x82219b,_0x51de31[_0x4fb1c3(0x180)][_0x4fb1c3(0x17c)],_0x3e4974);_0x51de31[_0x4fb1c3(0x162)]?this['updateVersion'](_0x82219b,_0x51de31['version']):this[_0x4fb1c3(0x15e)](_0x82219b,_0x4fb1c3(0x14d));try{fs[_0x4fb1c3(0x19d)](_0x5a266d,_0x82219b[_0x4fb1c3(0x152)]());}catch(_0x3e9e8e){console[_0x4fb1c3(0x1b3)](_0x3e9e8e);}}static[_0x44433c(0x1b5)](_0xeca1a6){const _0x5053e6=_0x44433c;_0xeca1a6[_0x5053e6(0x19e)]=function(_0x42da7a){const _0x31b2c9=_0x5053e6;var _0xbb7214=this[_0x31b2c9(0x185)]['project'][_0x31b2c9(0x19b)][_0x31b2c9(0x198)],_0x3ec1c7,_0x4bee76;for(_0x3ec1c7 in _0xbb7214){if(!/_comment$/[_0x31b2c9(0x18e)](_0x3ec1c7))continue;if(_0xbb7214[_0x3ec1c7]==_0x42da7a)return _0x4bee76=_0x3ec1c7[_0x31b2c9(0x1a3)](/_comment$/)[0x0],_0xbb7214[_0x4bee76];}return![];},_0xeca1a6[_0x5053e6(0x197)]=function(_0x11256c,_0x237b70,_0x2fdca5,_0x48145f){const _0x3e6b29=_0x5053e6;let _0x25e5b8=[];const _0x3b8082=/_comment$/;if(_0x48145f){const _0x480195=this['pbxTargetByName'](_0x48145f),_0x3126af=_0x480195&&_0x480195[_0x3e6b29(0x164)],_0x1fd6f5=this[_0x3e6b29(0x175)]();for(const _0x4a1246 in _0x1fd6f5){if(!_0x3b8082[_0x3e6b29(0x18e)](_0x4a1246)&&_0x3126af===_0x4a1246){const _0x568242=_0x1fd6f5[_0x4a1246][_0x3e6b29(0x158)];for(const _0xf6c2ba of _0x568242){_0x25e5b8[_0x3e6b29(0x165)](_0xf6c2ba[_0x3e6b29(0x1b9)]);}break;}}}var _0x137fd7=this[_0x3e6b29(0x155)]();for(var _0xa6ce2 in _0x137fd7){if(!_0x3b8082[_0x3e6b29(0x18e)](_0xa6ce2)){if(_0x48145f&&!_0x25e5b8[_0x3e6b29(0x15a)](_0xa6ce2))continue;var _0x554bc8=_0x137fd7[_0xa6ce2];(_0x2fdca5&&_0x554bc8[_0x3e6b29(0x167)]===_0x2fdca5||!_0x2fdca5)&&_0x554bc8[_0x3e6b29(0x160)][_0x11256c]&&(_0x554bc8[_0x3e6b29(0x160)][_0x11256c]=_0x237b70);}}};}static async['bindIcon'](_0x22cb73){const _0x3c48c1=_0x44433c;if(_0x22cb73){const _0x23fd4a=(0x0,path_1[_0x3c48c1(0x163)])(resource_1[_0x3c48c1(0x177)],resource_1[_0x3c48c1(0x156)]),_0x302f9f=(0x0,path_1['join'])(_0x23fd4a,'Contents.json'),_0x21b624='icon.'+_0x22cb73[_0x3c48c1(0x1a5)]()['replace'](_0x3c48c1(0x1ad),''),_0x6bea7a=(0x0,path_1[_0x3c48c1(0x163)])(_0x23fd4a,_0x21b624);let _0x59e6c3=await(0x0,load_1[_0x3c48c1(0x17a)])(_0x302f9f);_0x59e6c3[_0x3c48c1(0x166)][0x0]['filename']=_0x21b624,await _0x22cb73[_0x3c48c1(0x173)](_0x6bea7a),await fs[_0x3c48c1(0x19d)](_0x302f9f,JSON[_0x3c48c1(0x1b6)](_0x59e6c3));const _0x387afd=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3c48c1(0x16f)]),_0x20780f=(0x0,path_1['join'])(_0x387afd,_0x3c48c1(0x171)),_0x261873='icon.png',_0x6d4807=(0x0,path_1[_0x3c48c1(0x163)])(_0x387afd,_0x261873);let _0x2bc435=await(0x0,load_1['loadJsonFromDisk'])(_0x20780f),_0x5d7fae=imageHelper_1['ImageHelper']['createImg'](0x200);_0x2bc435[_0x3c48c1(0x166)][0x0][_0x3c48c1(0x16a)]=_0x261873,await _0x5d7fae['writeAsync'](_0x6d4807),await fs[_0x3c48c1(0x19d)](_0x20780f,JSON[_0x3c48c1(0x1b6)](_0x2bc435));}}static[_0x44433c(0x18f)](_0x43e382,_0x426360){const _0x4bff8b=_0x44433c;_0x43e382[_0x4bff8b(0x197)](_0x4bff8b(0x189),_0x426360),useExportOptionsXML=useExportOptionsXML['replace']('YOURTEAMID',_0x426360);}static[_0x44433c(0x190)](){const _0x32b69c=_0x44433c;!fs[_0x32b69c(0x1a0)](resource_1[_0x32b69c(0x1b1)])&&fs[_0x32b69c(0x16d)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x32b69c(0x19d)]((0x0,path_1[_0x32b69c(0x163)])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'),useExportOptionsXML);}static['bindManifestInfo'](_0x12d072,_0x2fc71e,_0x27948d=![]){const _0x14b1b8=_0x44433c;var _0x47143b;_0x12d072[_0x14b1b8(0x176)](_0x2fc71e[_0x14b1b8(0x167)]),_0x2fc71e['id']&&!_0x27948d&&_0x12d072[_0x14b1b8(0x197)](_0x14b1b8(0x174),'\x22'+_0x2fc71e['id']+'\x22'),this[_0x14b1b8(0x15f)]((_0x47143b=_0x2fc71e[_0x14b1b8(0x168)])!==null&&_0x47143b!==void 0x0?_0x47143b:[]),this['modifySwift'](_0x2fc71e);}static[_0x44433c(0x15e)](_0x11b628,_0x3f2ef1){const _0x47bb35=_0x44433c;_0x11b628[_0x47bb35(0x197)](_0x47bb35(0x192),_0x3f2ef1);}static[_0x44433c(0x15f)](_0x4fea30){const _0x2a7bea=_0x44433c;let _0x1c53a6=(0x0,path_1[_0x2a7bea(0x163)])(resource_1[_0x2a7bea(0x177)],_0x2a7bea(0x1b7)),_0x366421='';for(let _0x566e81=0x0;_0x566e81<_0x4fea30[_0x2a7bea(0x157)];_0x566e81++){_0x366421+='<string>'+_0x4fea30[_0x566e81][_0x2a7bea(0x18a)]+'</string>';}const _0x3e1355=infoPlistXML[_0x2a7bea(0x195)](_0x2a7bea(0x14f),_0x366421);fs[_0x2a7bea(0x19d)](_0x1c53a6,_0x3e1355);}static[_0x44433c(0x1a8)](_0x44a8a2){const _0x23b34f=_0x44433c,_0x5440df=(0x0,path_1[_0x23b34f(0x163)])(resource_1[_0x23b34f(0x177)],_0x23b34f(0x15c));let _0x26d95f=manifestSwiftTemplate_1[_0x23b34f(0x194)];_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x1bb),_0x44a8a2[_0x23b34f(0x17e)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x172),_0x44a8a2['scope']),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x170),_0x44a8a2[_0x23b34f(0x167)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x18d),_0x44a8a2[_0x23b34f(0x199)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x19a),_0x44a8a2['id']),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x169),_0x44a8a2[_0x23b34f(0x182)]=='minimal-ui'?_0x23b34f(0x169):_0x23b34f(0x1a4));if(_0x44a8a2[_0x23b34f(0x168)]){let _0x2f9ed1='';for(let _0x34d3a6=0x0;_0x34d3a6<_0x44a8a2[_0x23b34f(0x168)][_0x23b34f(0x157)];_0x34d3a6++){_0x2f9ed1+=_0x23b34f(0x15d)+_0x44a8a2['protocol_handlers'][_0x34d3a6]['protocol']+_0x23b34f(0x1b8)+_0x44a8a2[_0x23b34f(0x168)][_0x34d3a6]['url']+'\x22),';}_0x26d95f=_0x26d95f[_0x23b34f(0x195)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2f9ed1);}typeof _0x44a8a2[_0x23b34f(0x1aa)]==='object'?(_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x1b2),_0x44a8a2['mainScene'][_0x23b34f(0x150)][_0x23b34f(0x1b0)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)]('SceneHeight',_0x44a8a2['mainScene']['defaultSize'][_0x23b34f(0x17b)]),_0x26d95f=_0x26d95f[_0x23b34f(0x195)]('SceneResizability','\x22'+_0x44a8a2[_0x23b34f(0x1aa)]['resizability']+'\x22'),_0x26d95f=_0x26d95f[_0x23b34f(0x195)](_0x23b34f(0x179),_0x23b34f(0x18b))):(_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x1b2),'1280'),_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x186),_0x23b34f(0x15b)),_0x26d95f=_0x26d95f['replace'](_0x23b34f(0x161),_0x23b34f(0x1af)),_0x26d95f=_0x26d95f['replace']('USE_MAIN_SCENE',_0x23b34f(0x1ab))),fs['writeFileSync'](_0x5440df,_0x26d95f,_0x23b34f(0x19f));}}exports[_0x44433c(0x1a6)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x490280=_0xe252;(function(_0x22274c,_0x2906f8){const _0x23b975=_0xe252,_0x50ce5d=_0x22274c();while(!![]){try{const _0x851f97=-parseInt(_0x23b975(0x1e0))/0x1+-parseInt(_0x23b975(0x1be))/0x2*(-parseInt(_0x23b975(0x1ef))/0x3)+parseInt(_0x23b975(0x1b9))/0x4+parseInt(_0x23b975(0x1c8))/0x5+parseInt(_0x23b975(0x1cd))/0x6*(parseInt(_0x23b975(0x1dd))/0x7)+parseInt(_0x23b975(0x209))/0x8*(-parseInt(_0x23b975(0x1f6))/0x9)+parseInt(_0x23b975(0x1f4))/0xa*(-parseInt(_0x23b975(0x1eb))/0xb);if(_0x851f97===_0x2906f8)break;else _0x50ce5d['push'](_0x50ce5d['shift']());}catch(_0x331d82){_0x50ce5d['push'](_0x50ce5d['shift']());}}}(_0x5fdc,0x52845));function _0x5fdc(){const _0x5d11d7=['Booted','uploadPackage','toString','PROJECT_DIRECTORY','length','path','\x20launch\x20\x22','14sSmtoX','installing\x20app','\x20-u\x20','476982gJHmla','\x20altool','--\x20','\x20boot\x20\x22','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','Build/Products/Debug-xrsimulator/','authApi','boot','log','altool','\x20--verbose','11kvCGjS','--\x20visionOS','\x20simctl','launch','5895aCYixx','visionos','validate','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','name','3914890IVbyRl','install','1683UJkgAx','authAccount','appleId','build\x20success','default','xcrun','\x20shutdown\x20booted','\x20--apiKey\x20','\x20-p\x20','push','\x22\x20\x22','PROJECT_BUILD_DIRECTORY','child_process','Apple\x20Vision\x20Pro','split','../resource','trim','\x20install\x20\x22','line','6424SPPmDR','uploadApp','\x20--apiIssuer\x20','deviceId','2162996xcahlX','\x20--upload-app\x20-f\x20','shutdown','Shutdown','\x20list\x20devices\x20\x22','126gNBjfA','\x20list','simctl','listDevices','\x20-t\x20','platform','parseListDevices','__esModule','defineProperty','list','695355xUcaqF','find\x20simulator:\x20','\x20--apple-id\x20','execSync','mkdirSync','1659018UzbZJU','verbose','includes','\x27\x20-derivedDataPath\x20','state','existsSync','XcodebuildCMD','/test','launch\x20app'];_0x5fdc=function(){return _0x5d11d7;};return _0x5fdc();}function _0xe252(_0x4cdeef,_0x16bacb){const _0x5fdcd4=_0x5fdc();return _0xe252=function(_0xe252f9,_0x1cec25){_0xe252f9=_0xe252f9-0x1b6;let _0x42063e=_0x5fdcd4[_0xe252f9];return _0x42063e;},_0xe252(_0x4cdeef,_0x16bacb);}Object[_0x490280(0x1c6)](exports,_0x490280(0x1c5),{'value':!![]});const child_process_1=require(_0x490280(0x202)),resource_1=require(_0x490280(0x205)),path_1=require(_0x490280(0x1db)),fs=require('fs'),xcodebuild_1=require('./xcodebuild');class Xcrun{static async[_0x490280(0x1f1)](_0x537fc1,_0x4eee4c,_0x4affae,_0x23fc97){const _0x572a20=_0x490280,_0x2aa4fa=new XcrunCMD()[_0x572a20(0x1e9)]();_0x2aa4fa[_0x572a20(0x1f1)](_0x537fc1);_0x23fc97?_0x2aa4fa[_0x572a20(0x1f7)](_0x4eee4c,_0x4affae):_0x2aa4fa[_0x572a20(0x1e6)](_0x4eee4c,_0x4affae);_0x2aa4fa[_0x572a20(0x1c3)](_0x572a20(0x1f0));const _0x108842=(0x0,child_process_1[_0x572a20(0x1cb)])(_0x2aa4fa['line']);return _0x108842[_0x572a20(0x1d8)]();}static async['uploadPackage'](_0x2cfa33,_0x4559fb,_0x2c6a0a,_0x1c0ed1,_0x5e46fb){const _0x1cd38b=_0x490280,_0x1d0ea4=new XcrunCMD()['altool']();_0x1d0ea4[_0x1cd38b(0x1d7)](_0x2cfa33);_0x5e46fb?_0x1d0ea4[_0x1cd38b(0x1f7)](_0x4559fb,_0x2c6a0a):_0x1d0ea4[_0x1cd38b(0x1e6)](_0x4559fb,_0x2c6a0a);_0x1d0ea4[_0x1cd38b(0x1c3)](_0x1cd38b(0x1f0)),_0x1d0ea4[_0x1cd38b(0x1f8)](_0x1c0ed1);const _0x362df6=(0x0,child_process_1[_0x1cd38b(0x1cb)])(_0x1d0ea4[_0x1cd38b(0x208)]);return _0x362df6[_0x1cd38b(0x1d8)]();}static async[_0x490280(0x1b6)](_0x4cdd6a,_0x341be7,_0xda9428,_0x3c30a8){const _0x497bea=_0x490280,_0x3a1b73=new XcrunCMD()[_0x497bea(0x1e9)]();_0x3a1b73[_0x497bea(0x1b6)](_0x4cdd6a);_0x3c30a8?_0x3a1b73[_0x497bea(0x1f7)](_0x341be7,_0xda9428):_0x3a1b73[_0x497bea(0x1e6)](_0x341be7,_0xda9428);_0x3a1b73[_0x497bea(0x1c3)]('visionos');const _0x1bdd0a=(0x0,child_process_1[_0x497bea(0x1cb)])(_0x3a1b73[_0x497bea(0x208)]);return _0x1bdd0a[_0x497bea(0x1d8)]();}static async['runWithSimulator'](_0x9b0c45){const _0x5aaae5=_0x490280;let _0x291369=new XcrunCMD()['simctl']();_0x291369[_0x5aaae5(0x1c1)](_0x5aaae5(0x203));const _0x2820e8=(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x291369['line']),_0x237a0c=this['parseListDevices'](_0x2820e8[_0x5aaae5(0x1d8)]());if(_0x237a0c[_0x5aaae5(0x1da)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x4ebbc0=_0x237a0c[0x0];for(let _0x551131=0x0;_0x551131<_0x237a0c[_0x5aaae5(0x1da)];_0x551131++){if(_0x237a0c[_0x551131][_0x5aaae5(0x1d1)]===_0x5aaae5(0x1d6)){_0x4ebbc0=_0x237a0c[_0x551131];break;}}console[_0x5aaae5(0x1e8)](_0x5aaae5(0x1c9)+_0x4ebbc0[_0x5aaae5(0x1b8)]);const _0x492cfe=resource_1[_0x5aaae5(0x1d9)]+'/web-spatial.xcodeproj',_0x120bd7=resource_1[_0x5aaae5(0x201)]+_0x5aaae5(0x1d4);!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x5aaae5(0x1cc)](resource_1[_0x5aaae5(0x201)],{'recursive':!![]});!fs[_0x5aaae5(0x1d2)](_0x120bd7)&&fs['mkdirSync'](_0x120bd7,{'recursive':!![]});const _0x39f5c4=new xcodebuild_1[(_0x5aaae5(0x1d3))]()['project'](_0x492cfe)[_0x5aaae5(0x208)]+(_0x5aaae5(0x1e4)+_0x4ebbc0[_0x5aaae5(0x1b8)]+_0x5aaae5(0x1d0)+_0x120bd7);console[_0x5aaae5(0x1e8)]('start\x20building'),(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x39f5c4),console[_0x5aaae5(0x1e8)](_0x5aaae5(0x1f9));_0x4ebbc0[_0x5aaae5(0x1d1)]===_0x5aaae5(0x1bc)&&(_0x291369=new XcrunCMD()[_0x5aaae5(0x1c0)](),_0x291369[_0x5aaae5(0x1e7)](_0x4ebbc0[_0x5aaae5(0x1b8)]),(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x291369['line']));(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x5aaae5(0x1f2)),console['log'](_0x5aaae5(0x1de));const _0x1243ac=(0x0,path_1['join'])(_0x120bd7,_0x5aaae5(0x1e5)+_0x9b0c45[_0x5aaae5(0x1f3)]+'.app');_0x291369=new XcrunCMD()[_0x5aaae5(0x1c0)](),_0x291369[_0x5aaae5(0x1f5)](_0x4ebbc0[_0x5aaae5(0x1b8)],_0x1243ac),(0x0,child_process_1['execSync'])(_0x291369[_0x5aaae5(0x208)]),console['log']('install\x20success'),console['log'](_0x5aaae5(0x1d5)),_0x291369=new XcrunCMD()[_0x5aaae5(0x1c0)](),_0x291369['launch'](_0x4ebbc0[_0x5aaae5(0x1b8)],_0x9b0c45['id']),(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x291369[_0x5aaae5(0x208)]);}static[_0x490280(0x1c4)](_0x48d8f2){const _0x31002f=_0x490280;let _0x1b5794=_0x48d8f2[_0x31002f(0x204)]('\x0a'),_0x4fb28d=[],_0x5eeb4b=-0x1;for(let _0x254302=0x0;_0x254302<_0x1b5794[_0x31002f(0x1da)];_0x254302++){if(_0x1b5794[_0x254302][_0x31002f(0x1cf)](_0x31002f(0x1ec)))_0x5eeb4b=_0x254302;else{if(_0x5eeb4b>0x0){if(_0x1b5794[_0x254302][_0x31002f(0x1cf)](_0x31002f(0x1e2)))break;if(_0x1b5794[_0x254302][_0x31002f(0x1da)]>0x0){const _0x5c3fbc=_0x1b5794[_0x254302]['split']('('),_0x31aed4={'name':_0x5c3fbc[0x0]['trim'](),'deviceId':_0x5c3fbc[0x1]['split'](')')[0x0][_0x31002f(0x206)](),'state':_0x5c3fbc[0x2][_0x31002f(0x204)](')')[0x0][_0x31002f(0x206)]()};_0x4fb28d[_0x31002f(0x1ff)](_0x31aed4);}}}}return _0x4fb28d;}}exports[_0x490280(0x1fa)]=Xcrun;class XcrunCMD{constructor(){const _0x2e7698=_0x490280;this[_0x2e7698(0x208)]=_0x2e7698(0x1fb);}[_0x490280(0x1e9)](){const _0x4ea2f2=_0x490280;return this['line']+=_0x4ea2f2(0x1e1),this;}[_0x490280(0x1c0)](){const _0x273e7d=_0x490280;return this[_0x273e7d(0x208)]+=_0x273e7d(0x1ed),this;}[_0x490280(0x1c7)](){const _0x3c9314=_0x490280;return this['line']+=_0x3c9314(0x1bf),this;}[_0x490280(0x1c1)](_0x2c8423){const _0x383d1f=_0x490280;return this[_0x383d1f(0x208)]+=_0x383d1f(0x1bd)+_0x2c8423+'\x22',this;}['validate'](_0x5d59d1){const _0x4485db=_0x490280;return this[_0x4485db(0x208)]+='\x20--validate-app\x20-f\x20'+_0x5d59d1,this;}['uploadApp'](_0x42667b){const _0x2b89c5=_0x490280;return this[_0x2b89c5(0x208)]+=_0x2b89c5(0x1ba)+_0x42667b,this;}[_0x490280(0x1d7)](_0x7912d0){return this['line']+='\x20--upload-package\x20'+_0x7912d0,this;}['authAccount'](_0x2cf93e,_0x1eee24){const _0x59eb94=_0x490280;return this[_0x59eb94(0x208)]+=_0x59eb94(0x1df)+_0x2cf93e+_0x59eb94(0x1fe)+_0x1eee24,this;}[_0x490280(0x1e6)](_0x8e4c60,_0x1e8d3d){const _0x37afe3=_0x490280;return this[_0x37afe3(0x208)]+=_0x37afe3(0x1fd)+_0x8e4c60+_0x37afe3(0x1b7)+_0x1e8d3d,this;}[_0x490280(0x1f8)](_0x5a4f2a){const _0x2ceba5=_0x490280;return this[_0x2ceba5(0x208)]+=_0x2ceba5(0x1ca)+_0x5a4f2a,this;}[_0x490280(0x1c3)](_0x25e6de){const _0x1eed31=_0x490280;return this['line']+=_0x1eed31(0x1c2)+_0x25e6de,this;}['version'](_0x4c011e){const _0x19adad=_0x490280;return this[_0x19adad(0x208)]+='\x20--bundle-version\x20'+_0x4c011e,this;}[_0x490280(0x1ce)](){const _0x21c838=_0x490280;return this[_0x21c838(0x208)]+=_0x21c838(0x1ea),this;}[_0x490280(0x1bb)](){const _0x2666ac=_0x490280;return this['line']+=_0x2666ac(0x1fc),this;}[_0x490280(0x1e7)](_0x585a19){const _0xea56b7=_0x490280;return this[_0xea56b7(0x208)]+=_0xea56b7(0x1e3)+_0x585a19+'\x22',this;}['install'](_0x2f5b50,_0x12e30f){const _0x40c112=_0x490280;return this[_0x40c112(0x208)]+=_0x40c112(0x207)+_0x2f5b50+'\x22\x20\x22'+_0x12e30f+'\x22',this;}[_0x490280(0x1ee)](_0x27102e,_0x53af8e){const _0x5ec99b=_0x490280;return this[_0x5ec99b(0x208)]+=_0x5ec99b(0x1dc)+_0x27102e+_0x5ec99b(0x200)+_0x53af8e+'\x22',this;}}
1
+ 'use strict';const _0x17ee1a=_0x218d;(function(_0x3b89ff,_0x1b59cd){const _0x53cffd=_0x218d,_0x14f283=_0x3b89ff();while(!![]){try{const _0x2e317d=-parseInt(_0x53cffd(0xbc))/0x1+parseInt(_0x53cffd(0xb7))/0x2+-parseInt(_0x53cffd(0xbf))/0x3+-parseInt(_0x53cffd(0xcc))/0x4+parseInt(_0x53cffd(0xa6))/0x5*(parseInt(_0x53cffd(0xca))/0x6)+parseInt(_0x53cffd(0xc1))/0x7*(parseInt(_0x53cffd(0x92))/0x8)+-parseInt(_0x53cffd(0xc6))/0x9*(-parseInt(_0x53cffd(0xd2))/0xa);if(_0x2e317d===_0x1b59cd)break;else _0x14f283['push'](_0x14f283['shift']());}catch(_0x2df5e2){_0x14f283['push'](_0x14f283['shift']());}}}(_0x1c16,0xdaa2b));function _0x218d(_0x1509c2,_0x411b53){const _0x1c16c6=_0x1c16();return _0x218d=function(_0x218db2,_0x12dcc0){_0x218db2=_0x218db2-0x8c;let _0x4fbfc6=_0x1c16c6[_0x218db2];return _0x4fbfc6;},_0x218d(_0x1509c2,_0x411b53);}Object[_0x17ee1a(0x94)](exports,_0x17ee1a(0xb3),{'value':!![]});const child_process_1=require('child_process'),resource_1=require('../resource'),path_1=require(_0x17ee1a(0xc9)),fs=require('fs'),xcodebuild_1=require(_0x17ee1a(0xa3));class Xcrun{static async['validate'](_0x29f8c1,_0x1771b4,_0x27ba23,_0xf8e61f){const _0x1696e5=_0x17ee1a,_0x6e1e48=new XcrunCMD()[_0x1696e5(0xa7)]();_0x6e1e48[_0x1696e5(0xd5)](_0x29f8c1);_0xf8e61f?_0x6e1e48[_0x1696e5(0xb5)](_0x1771b4,_0x27ba23):_0x6e1e48[_0x1696e5(0xc4)](_0x1771b4,_0x27ba23);_0x6e1e48[_0x1696e5(0xb1)](_0x1696e5(0xc7));const _0x1f0d53=(0x0,child_process_1[_0x1696e5(0x97)])(_0x6e1e48[_0x1696e5(0xaa)]);return _0x1f0d53[_0x1696e5(0xb8)]();}static async[_0x17ee1a(0xb2)](_0x359ee4,_0x431855,_0xa0e023,_0xb37774,_0x4984be){const _0x3379ac=_0x17ee1a,_0x1a7259=new XcrunCMD()[_0x3379ac(0xa7)]();_0x1a7259[_0x3379ac(0xb2)](_0x359ee4);_0x4984be?_0x1a7259[_0x3379ac(0xb5)](_0x431855,_0xa0e023):_0x1a7259['authApi'](_0x431855,_0xa0e023);_0x1a7259[_0x3379ac(0xb1)]('visionos'),_0x1a7259['appleId'](_0xb37774);const _0x1cd78d=(0x0,child_process_1[_0x3379ac(0x97)])(_0x1a7259[_0x3379ac(0xaa)]);return _0x1cd78d[_0x3379ac(0xb8)]();}static async[_0x17ee1a(0xbb)](_0x4aa49f,_0x253bfa,_0x23a627,_0x1b38d3){const _0x46f162=_0x17ee1a,_0x4b0a08=new XcrunCMD()[_0x46f162(0xa7)]();_0x4b0a08['uploadApp'](_0x4aa49f);_0x1b38d3?_0x4b0a08[_0x46f162(0xb5)](_0x253bfa,_0x23a627):_0x4b0a08[_0x46f162(0xc4)](_0x253bfa,_0x23a627);_0x4b0a08[_0x46f162(0xb1)](_0x46f162(0xc7));const _0x2cf7af=(0x0,child_process_1[_0x46f162(0x97)])(_0x4b0a08[_0x46f162(0xaa)]);return _0x2cf7af['toString']();}static async['runWithSimulator'](_0x48d393){const _0x2fd8ed=_0x17ee1a;let _0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)]();_0x57d0f0[_0x2fd8ed(0xd1)](_0x2fd8ed(0x8f));const _0x11f833=(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x57d0f0['line']),_0x384ddd=this['parseListDevices'](_0x11f833[_0x2fd8ed(0xb8)]());if(_0x384ddd[_0x2fd8ed(0xb9)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x307664=_0x384ddd[0x0];for(let _0xb2a6be=0x0;_0xb2a6be<_0x384ddd[_0x2fd8ed(0xb9)];_0xb2a6be++){if(_0x384ddd[_0xb2a6be][_0x2fd8ed(0x91)]===_0x2fd8ed(0xa0)){_0x307664=_0x384ddd[_0xb2a6be];break;}}console[_0x2fd8ed(0xaf)]('find\x20simulator:\x20'+_0x307664[_0x2fd8ed(0x95)]);const _0x226c80=resource_1[_0x2fd8ed(0xad)]+_0x2fd8ed(0x9b),_0x49744b=resource_1[_0x2fd8ed(0xd7)]+'/test';!fs[_0x2fd8ed(0xbe)](resource_1[_0x2fd8ed(0xd7)])&&fs[_0x2fd8ed(0xc3)](resource_1[_0x2fd8ed(0xd7)],{'recursive':!![]});!fs[_0x2fd8ed(0xbe)](_0x49744b)&&fs[_0x2fd8ed(0xc3)](_0x49744b,{'recursive':!![]});const _0x218c3e=new xcodebuild_1[(_0x2fd8ed(0xb4))]()['project'](_0x226c80)['line']+(_0x2fd8ed(0xd6)+_0x307664[_0x2fd8ed(0x95)]+'\x27\x20-derivedDataPath\x20'+_0x49744b);console[_0x2fd8ed(0xaf)]('start\x20building'),(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x218c3e),console['log'](_0x2fd8ed(0xa2));_0x307664[_0x2fd8ed(0x91)]===_0x2fd8ed(0x9f)&&(_0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)](),_0x57d0f0['boot'](_0x307664[_0x2fd8ed(0x95)]),(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x57d0f0[_0x2fd8ed(0xaa)]));(0x0,child_process_1['execSync'])('open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/'),console[_0x2fd8ed(0xaf)]('installing\x20app');const _0x211be6=(0x0,path_1[_0x2fd8ed(0xcf)])(_0x49744b,_0x2fd8ed(0xa5)+_0x48d393['name']+_0x2fd8ed(0xac));_0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)](),_0x57d0f0[_0x2fd8ed(0xcb)](_0x307664[_0x2fd8ed(0x95)],_0x211be6),(0x0,child_process_1['execSync'])(_0x57d0f0[_0x2fd8ed(0xaa)]),console[_0x2fd8ed(0xaf)](_0x2fd8ed(0xbd)),console[_0x2fd8ed(0xaf)](_0x2fd8ed(0xb0)),_0x57d0f0=new XcrunCMD()[_0x2fd8ed(0x8e)](),_0x57d0f0[_0x2fd8ed(0xd3)](_0x307664[_0x2fd8ed(0x95)],_0x48d393['id']),(0x0,child_process_1[_0x2fd8ed(0x97)])(_0x57d0f0['line']);}static[_0x17ee1a(0x9a)](_0x14b368){const _0x151d6f=_0x17ee1a;let _0x41ceea=_0x14b368[_0x151d6f(0xc8)]('\x0a'),_0x20c3f7=[],_0x8edbc2=-0x1;for(let _0x441d86=0x0;_0x441d86<_0x41ceea['length'];_0x441d86++){if(_0x41ceea[_0x441d86][_0x151d6f(0x99)](_0x151d6f(0x9d)))_0x8edbc2=_0x441d86;else{if(_0x8edbc2>0x0){if(_0x41ceea[_0x441d86]['includes'](_0x151d6f(0xce)))break;if(_0x41ceea[_0x441d86][_0x151d6f(0xb9)]>0x0){const _0x1682be=_0x41ceea[_0x441d86]['split']('('),_0x11697c={'name':_0x1682be[0x0][_0x151d6f(0xa1)](),'deviceId':_0x1682be[0x1]['split'](')')[0x0][_0x151d6f(0xa1)](),'state':_0x1682be[0x2][_0x151d6f(0xc8)](')')[0x0][_0x151d6f(0xa1)]()};_0x20c3f7['push'](_0x11697c);}}}}return _0x20c3f7;}}exports[_0x17ee1a(0xa4)]=Xcrun;function _0x1c16(){const _0x552d15=['\x20--validate-app\x20-f\x20','\x20--upload-package\x20','simctl','Apple\x20Vision\x20Pro','\x20install\x20\x22','state','8KAXIio','version','defineProperty','deviceId','appleId','execSync','shutdown','includes','parseListDevices','/web-spatial.xcodeproj','\x20--apiKey\x20','--\x20visionOS','\x20simctl','Shutdown','Booted','trim','build\x20success','./xcodebuild','default','Build/Products/Debug-xrsimulator/','10liUkzu','altool','\x20--bundle-version\x20','\x20--apiIssuer\x20','line','verbose','.app','PROJECT_DIRECTORY','\x20altool','log','launch\x20app','platform','uploadPackage','__esModule','XcodebuildCMD','authAccount','\x20-u\x20','898924DRisPa','toString','length','xcrun','uploadApp','1060490nqtvAZ','install\x20success','existsSync','4734423KkrXcg','\x20launch\x20\x22','10105025qTGqhG','\x20--apple-id\x20','mkdirSync','authApi','list','1494SWUvyZ','visionos','split','path','694974cCXuuj','install','4828764qVbiTB','\x20-p\x20','--\x20','join','boot','listDevices','157630ppspXV','launch','\x22\x20\x22','validate','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','PROJECT_BUILD_DIRECTORY','\x20--verbose'];_0x1c16=function(){return _0x552d15;};return _0x1c16();}class XcrunCMD{constructor(){const _0x459294=_0x17ee1a;this[_0x459294(0xaa)]=_0x459294(0xba);}[_0x17ee1a(0xa7)](){const _0x49defd=_0x17ee1a;return this[_0x49defd(0xaa)]+=_0x49defd(0xae),this;}[_0x17ee1a(0x8e)](){const _0x14559c=_0x17ee1a;return this[_0x14559c(0xaa)]+=_0x14559c(0x9e),this;}[_0x17ee1a(0xc5)](){const _0x3e3d4f=_0x17ee1a;return this[_0x3e3d4f(0xaa)]+='\x20list',this;}['listDevices'](_0x5443b2){const _0x245a1c=_0x17ee1a;return this[_0x245a1c(0xaa)]+='\x20list\x20devices\x20\x22'+_0x5443b2+'\x22',this;}[_0x17ee1a(0xd5)](_0x15846a){const _0x57b3a8=_0x17ee1a;return this['line']+=_0x57b3a8(0x8c)+_0x15846a,this;}[_0x17ee1a(0xbb)](_0x2a4c1b){return this['line']+='\x20--upload-app\x20-f\x20'+_0x2a4c1b,this;}['uploadPackage'](_0x208dd4){const _0x9037af=_0x17ee1a;return this[_0x9037af(0xaa)]+=_0x9037af(0x8d)+_0x208dd4,this;}['authAccount'](_0x1bb679,_0x549dda){const _0x452946=_0x17ee1a;return this[_0x452946(0xaa)]+=_0x452946(0xb6)+_0x1bb679+_0x452946(0xcd)+_0x549dda,this;}[_0x17ee1a(0xc4)](_0x45a33c,_0x41c325){const _0x41aac6=_0x17ee1a;return this[_0x41aac6(0xaa)]+=_0x41aac6(0x9c)+_0x45a33c+_0x41aac6(0xa9)+_0x41c325,this;}[_0x17ee1a(0x96)](_0x1e1e77){const _0x4c75a=_0x17ee1a;return this[_0x4c75a(0xaa)]+=_0x4c75a(0xc2)+_0x1e1e77,this;}[_0x17ee1a(0xb1)](_0xa0439e){const _0x294ff5=_0x17ee1a;return this[_0x294ff5(0xaa)]+='\x20-t\x20'+_0xa0439e,this;}[_0x17ee1a(0x93)](_0x225010){const _0x3e411a=_0x17ee1a;return this[_0x3e411a(0xaa)]+=_0x3e411a(0xa8)+_0x225010,this;}[_0x17ee1a(0xab)](){const _0x34fd01=_0x17ee1a;return this[_0x34fd01(0xaa)]+=_0x34fd01(0xd8),this;}[_0x17ee1a(0x98)](){const _0x4c55c5=_0x17ee1a;return this[_0x4c55c5(0xaa)]+='\x20shutdown\x20booted',this;}[_0x17ee1a(0xd0)](_0x3b11ad){const _0xe12447=_0x17ee1a;return this[_0xe12447(0xaa)]+='\x20boot\x20\x22'+_0x3b11ad+'\x22',this;}['install'](_0x398686,_0xb268a6){const _0x4883ef=_0x17ee1a;return this['line']+=_0x4883ef(0x90)+_0x398686+_0x4883ef(0xd4)+_0xb268a6+'\x22',this;}['launch'](_0x3bdb48,_0x57283e){const _0x3fd3c2=_0x17ee1a;return this['line']+=_0x3fd3c2(0xc0)+_0x3bdb48+_0x3fd3c2(0xd4)+_0x57283e+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "sharp": "^0.33.5",
39
39
  "valid-url": "^1.0.9",
40
40
  "xcode": "^3.0.1",
41
- "@webspatial/platform-visionos": "^0.1.1"
41
+ "@webspatial/platform-visionos": "^0.1.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-terser": "^0.4.3",