@webspatial/builder 0.0.7 → 0.0.8

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 _0x3dceaa=_0xbde6;(function(_0x39bcf0,_0x57ae3e){const _0x216db1=_0xbde6,_0x23b1f4=_0x39bcf0();while(!![]){try{const _0x4c12bd=parseInt(_0x216db1(0x17d))/0x1*(parseInt(_0x216db1(0x18f))/0x2)+-parseInt(_0x216db1(0x198))/0x3+-parseInt(_0x216db1(0x186))/0x4+-parseInt(_0x216db1(0x196))/0x5+-parseInt(_0x216db1(0x180))/0x6*(parseInt(_0x216db1(0x17e))/0x7)+parseInt(_0x216db1(0x17f))/0x8*(parseInt(_0x216db1(0x193))/0x9)+parseInt(_0x216db1(0x190))/0xa;if(_0x4c12bd===_0x57ae3e)break;else _0x23b1f4['push'](_0x23b1f4['shift']());}catch(_0x2cf61b){_0x23b1f4['push'](_0x23b1f4['shift']());}}}(_0x277f,0x4468a));function _0xbde6(_0x20f5c0,_0x1193d2){const _0x277fd7=_0x277f();return _0xbde6=function(_0xbde60b,_0x7e9089){_0xbde60b=_0xbde60b-0x17d;let _0x28a4c6=_0x277fd7[_0xbde60b];return _0x28a4c6;},_0xbde6(_0x20f5c0,_0x1193d2);}Object[_0x3dceaa(0x191)](exports,_0x3dceaa(0x194),{'value':!![]});function _0x277f(){const _0x1f7ec9=['./lib/utils/CustomError','code','isArray','833292GyYufr','error','./lib/Cli','forEach','exit','message','ConsoleLog','run','Cli','485448OilUox','2034610RsAtvb','defineProperty','slice','3883743JEdTji','__esModule','argv','214750XvKnsQ','./lib/utils/Log','140721JAazSw','2YaExNq','14eTRshN','8NCLfqg','1626162VfZQZs','customMessage','cli'];_0x277f=function(){return _0x1f7ec9;};return _0x277f();}const Cli_1=require(_0x3dceaa(0x188)),Log_1=require(_0x3dceaa(0x197)),CustomError_1=require(_0x3dceaa(0x183));module['exports']=async()=>{const _0x483953=_0x3dceaa,_0x2627eb=new Cli_1[(_0x483953(0x18e))](),_0x222c5c=new Log_1[(_0x483953(0x18c))](_0x483953(0x182)),_0x5872f3=process[_0x483953(0x195)][_0x483953(0x192)](0x2);let _0x5d5440;try{_0x5d5440=await _0x2627eb[_0x483953(0x18d)](_0x5872f3);}catch(_0x2c7496){if(_0x2c7496 instanceof CustomError_1['CustomError']){const _0x3c4188=_0x2c7496[_0x483953(0x181)];Array[_0x483953(0x185)](_0x3c4188)?_0x3c4188[_0x483953(0x189)](_0x1e0c9e=>{const _0x3caad7=_0x483953;_0x222c5c['error'](_0x1e0c9e[_0x3caad7(0x184)]+':\x20'+_0x1e0c9e[_0x3caad7(0x18b)]);}):_0x222c5c[_0x483953(0x187)](_0x3c4188[_0x483953(0x184)]+':\x20'+_0x3c4188['message']);}else _0x222c5c[_0x483953(0x187)](_0x2c7496['message']);_0x5d5440=![];}!_0x5d5440?process['exit'](0x1):process[_0x483953(0x18a)](0x0);};
1
+ 'use strict';const _0x1f047b=_0x2d5d;(function(_0x2dd693,_0x3a8f6c){const _0x575f02=_0x2d5d,_0x5da564=_0x2dd693();while(!![]){try{const _0x5ed563=-parseInt(_0x575f02(0x100))/0x1*(parseInt(_0x575f02(0x113))/0x2)+parseInt(_0x575f02(0xf8))/0x3*(parseInt(_0x575f02(0x115))/0x4)+-parseInt(_0x575f02(0x104))/0x5*(-parseInt(_0x575f02(0x10c))/0x6)+-parseInt(_0x575f02(0x101))/0x7+parseInt(_0x575f02(0xfb))/0x8+-parseInt(_0x575f02(0x108))/0x9*(parseInt(_0x575f02(0x10a))/0xa)+-parseInt(_0x575f02(0xfd))/0xb*(-parseInt(_0x575f02(0x112))/0xc);if(_0x5ed563===_0x3a8f6c)break;else _0x5da564['push'](_0x5da564['shift']());}catch(_0x5f0566){_0x5da564['push'](_0x5da564['shift']());}}}(_0xefe2,0x7c74a));function _0x2d5d(_0x8353a0,_0x1c5e7b){const _0xefe268=_0xefe2();return _0x2d5d=function(_0x2d5d53,_0x2cbe48){_0x2d5d53=_0x2d5d53-0xf7;let _0x2419a2=_0xefe268[_0x2d5d53];return _0x2419a2;},_0x2d5d(_0x8353a0,_0x1c5e7b);}function _0xefe2(){const _0x42226e=['message','100mgjOeA','./lib/Cli','216318UgyQJy','./lib/utils/Log','defineProperty','./lib/utils/CustomError','exit','CustomError','2389308QAdXlb','18tXZCAz','argv','4IKJIAQ','error','1783851cXFNoV','customMessage','ConsoleLog','1985144KKueQX','Cli','77TjxaBB','run','exports','54269EuqKKt','3401671OWeucr','code','forEach','35pMrpZB','cli','isArray','slice','904275UqYTBH'];_0xefe2=function(){return _0x42226e;};return _0xefe2();}Object[_0x1f047b(0x10e)](exports,'__esModule',{'value':!![]});const Cli_1=require(_0x1f047b(0x10b)),Log_1=require(_0x1f047b(0x10d)),CustomError_1=require(_0x1f047b(0x10f));module[_0x1f047b(0xff)]=async()=>{const _0xec1af2=_0x1f047b,_0x1065a3=new Cli_1[(_0xec1af2(0xfc))](),_0x5a9083=new Log_1[(_0xec1af2(0xfa))](_0xec1af2(0x105)),_0x1198e8=process[_0xec1af2(0x114)][_0xec1af2(0x107)](0x2);let _0x4b3a98;try{_0x4b3a98=await _0x1065a3[_0xec1af2(0xfe)](_0x1198e8);}catch(_0x55c79f){if(_0x55c79f instanceof CustomError_1[_0xec1af2(0x111)]){const _0x31af61=_0x55c79f[_0xec1af2(0xf9)];Array[_0xec1af2(0x106)](_0x31af61)?_0x31af61[_0xec1af2(0x103)](_0x4ec411=>{const _0x47a95a=_0xec1af2;_0x5a9083[_0x47a95a(0xf7)](_0x4ec411['code']+':\x20'+_0x4ec411[_0x47a95a(0x109)]);}):_0x5a9083[_0xec1af2(0xf7)](_0x31af61[_0xec1af2(0x102)]+':\x20'+_0x31af61[_0xec1af2(0x109)]);}else _0x5a9083[_0xec1af2(0xf7)](_0x55c79f[_0xec1af2(0x109)]);_0x4b3a98=![];}!_0x4b3a98?process[_0xec1af2(0x110)](0x1):process['exit'](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2c828b=_0xa08b;(function(_0x37f954,_0xdc1f9d){const _0x1b58b9=_0xa08b,_0xd38f18=_0x37f954();while(!![]){try{const _0x1c1888=-parseInt(_0x1b58b9(0x1ab))/0x1*(parseInt(_0x1b58b9(0x1bb))/0x2)+-parseInt(_0x1b58b9(0x1c2))/0x3*(-parseInt(_0x1b58b9(0x19e))/0x4)+-parseInt(_0x1b58b9(0x1b9))/0x5*(-parseInt(_0x1b58b9(0x1ae))/0x6)+parseInt(_0x1b58b9(0x1a0))/0x7+-parseInt(_0x1b58b9(0x1af))/0x8*(-parseInt(_0x1b58b9(0x1b3))/0x9)+-parseInt(_0x1b58b9(0x19c))/0xa*(parseInt(_0x1b58b9(0x1b5))/0xb)+parseInt(_0x1b58b9(0x1a4))/0xc*(-parseInt(_0x1b58b9(0x1ba))/0xd);if(_0x1c1888===_0xdc1f9d)break;else _0xd38f18['push'](_0xd38f18['shift']());}catch(_0x26e3f7){_0xd38f18['push'](_0xd38f18['shift']());}}}(_0xfbd2,0x268f8));Object[_0x2c828b(0x19d)](exports,_0x2c828b(0x1a1),{'value':!![]}),exports['Cli']=void 0x0;function _0xa08b(_0x582553,_0x5a4472){const _0xfbd2d1=_0xfbd2();return _0xa08b=function(_0xa08bea,_0x4f9007){_0xa08bea=_0xa08bea-0x198;let _0x38ba31=_0xfbd2d1[_0xa08bea];return _0x38ba31;},_0xa08b(_0x582553,_0x5a4472);}const minimist=require(_0x2c828b(0x1b6)),semver_1=require(_0x2c828b(0x1bd)),FetchUtils_1_1=require(_0x2c828b(0x1b1)),help_1=require(_0x2c828b(0x1be)),build_1=require(_0x2c828b(0x1b8)),version_1=require(_0x2c828b(0x1a9)),fetch_1=require(_0x2c828b(0x19f));class Cli{async[_0x2c828b(0x19b)](_0x38b447){const _0x4ca313=_0x2c828b;if((0x0,semver_1[_0x4ca313(0x199)])(process['versions']['node'])<0xe)throw new Error(_0x4ca313(0x1bc)+process[_0x4ca313(0x1a6)][_0x4ca313(0x19a)]+'.'+_0x4ca313(0x1c1));FetchUtils_1_1[_0x4ca313(0x1bf)][_0x4ca313(0x1a8)](fetch_1[_0x4ca313(0x1ad)]),FetchUtils_1_1[_0x4ca313(0x1bf)][_0x4ca313(0x1aa)](fetch_1[_0x4ca313(0x1ac)]),FetchUtils_1_1[_0x4ca313(0x1bf)][_0x4ca313(0x1a5)](fetch_1[_0x4ca313(0x1b4)]);const _0x43da4f=minimist(_0x38b447);let _0x1129c2=undefined;if(_0x43da4f['_'][_0x4ca313(0x1b0)]===0x0){if(_0x43da4f[_0x4ca313(0x198)])_0x1129c2='version';else _0x43da4f[_0x4ca313(0x1a7)]&&(_0x1129c2=_0x4ca313(0x1a7));}else _0x1129c2=_0x43da4f['_'][0x0];!_0x1129c2&&(_0x1129c2=_0x4ca313(0x1a7));switch(_0x1129c2){case _0x4ca313(0x1a7):case'h':return await(0x0,help_1[_0x4ca313(0x1a7)])(_0x43da4f);case _0x4ca313(0x1b2):return await(0x0,build_1[_0x4ca313(0x1a2)])(_0x43da4f);case'publish':return await(0x0,build_1[_0x4ca313(0x1a3)])(_0x43da4f);case _0x4ca313(0x1b7):return await(0x0,build_1['dev'])(_0x43da4f);case'version':{return await(0x0,version_1[_0x4ca313(0x198)])();}default:throw new Error('\x22'+_0x1129c2+_0x4ca313(0x1c0));}}}function _0xfbd2(){const _0x483956=['682980ESbqaK','setDecompressResponseBuffer','versions','help','setFetch','./cmds/version','setDownloadFile','35454bhrBCB','downloadFile','fetch','437214WJvRht','153568BkRTwL','length','./utils/FetchUtils-1','build','9LLsIIV','decompressResponseBuffer','11FjhtZA','minimist','dev','./cmds/build','10ruKxpE','13TYBQSj','6irglvD','Current\x20Node.js\x20version\x20is\x20','semver','./cmds/help','fetchUtils','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','3xWHaBr','version','major','node','run','2550130ZVdNLn','defineProperty','859756tmpiQg','./utils/fetch','1374527zfAxEj','__esModule','start','store'];_0xfbd2=function(){return _0x483956;};return _0xfbd2();}exports['Cli']=Cli;
1
+ 'use strict';const _0x9edd21=_0x2ae0;function _0x2ae0(_0x11d165,_0x1de326){const _0xc30517=_0xc305();return _0x2ae0=function(_0x2ae0da,_0x4852fe){_0x2ae0da=_0x2ae0da-0xff;let _0x5e7b36=_0xc30517[_0x2ae0da];return _0x5e7b36;},_0x2ae0(_0x11d165,_0x1de326);}(function(_0x549c5d,_0x24a27d){const _0x17b72e=_0x2ae0,_0x34cdbd=_0x549c5d();while(!![]){try{const _0x5e54d1=parseInt(_0x17b72e(0x10a))/0x1+-parseInt(_0x17b72e(0x112))/0x2+-parseInt(_0x17b72e(0xff))/0x3+parseInt(_0x17b72e(0x10c))/0x4*(parseInt(_0x17b72e(0x106))/0x5)+-parseInt(_0x17b72e(0x111))/0x6+parseInt(_0x17b72e(0x10b))/0x7+parseInt(_0x17b72e(0x10d))/0x8*(parseInt(_0x17b72e(0x118))/0x9);if(_0x5e54d1===_0x24a27d)break;else _0x34cdbd['push'](_0x34cdbd['shift']());}catch(_0x28b9d9){_0x34cdbd['push'](_0x34cdbd['shift']());}}}(_0xc305,0xbaa4b));function _0xc305(){const _0x32d76e=['365cXrSbn','dev','__esModule','start','453154EUNjfD','809585bcXJjz','19340QFREcF','22315080ugBHNi','./utils/FetchUtils-1','setDownloadFile','./cmds/help','3983268IjJibe','2926878oWeKEv','semver','run','./cmds/version','help','fetch','9HvlNYl','node','version','setFetch','build','versions','Current\x20Node.js\x20version\x20is\x20','setDecompressResponseBuffer','Cli','store','decompressResponseBuffer','minimist','2458023sUYscf','./utils/fetch','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','major','publish','length','fetchUtils'];_0xc305=function(){return _0x32d76e;};return _0xc305();}Object['defineProperty'](exports,_0x9edd21(0x108),{'value':!![]}),exports[_0x9edd21(0x120)]=void 0x0;const minimist=require(_0x9edd21(0x123)),semver_1=require(_0x9edd21(0x113)),FetchUtils_1_1=require(_0x9edd21(0x10e)),help_1=require(_0x9edd21(0x110)),build_1=require('./cmds/build'),version_1=require(_0x9edd21(0x115)),fetch_1=require(_0x9edd21(0x100));class Cli{async[_0x9edd21(0x114)](_0x36c8b0){const _0x3f9935=_0x9edd21;if((0x0,semver_1[_0x3f9935(0x102)])(process[_0x3f9935(0x11d)][_0x3f9935(0x119)])<0xe)throw new Error(_0x3f9935(0x11e)+process[_0x3f9935(0x11d)]['node']+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0x3f9935(0x105)][_0x3f9935(0x11b)](fetch_1[_0x3f9935(0x117)]),FetchUtils_1_1[_0x3f9935(0x105)][_0x3f9935(0x10f)](fetch_1['downloadFile']),FetchUtils_1_1[_0x3f9935(0x105)][_0x3f9935(0x11f)](fetch_1[_0x3f9935(0x122)]);const _0x5c1e7e=minimist(_0x36c8b0);let _0x53912f=undefined;if(_0x5c1e7e['_'][_0x3f9935(0x104)]===0x0){if(_0x5c1e7e['version'])_0x53912f='version';else _0x5c1e7e['help']&&(_0x53912f='help');}else _0x53912f=_0x5c1e7e['_'][0x0];!_0x53912f&&(_0x53912f=_0x3f9935(0x116));switch(_0x53912f){case _0x3f9935(0x116):case'h':return await(0x0,help_1[_0x3f9935(0x116)])(_0x5c1e7e);case _0x3f9935(0x11c):return await(0x0,build_1[_0x3f9935(0x109)])(_0x5c1e7e);case _0x3f9935(0x103):return await(0x0,build_1[_0x3f9935(0x121)])(_0x5c1e7e);case _0x3f9935(0x107):return await(0x0,build_1['dev'])(_0x5c1e7e);case'version':{return await(0x0,version_1[_0x3f9935(0x11a)])();}default:throw new Error('\x22'+_0x53912f+_0x3f9935(0x101));}}}exports[_0x9edd21(0x120)]=Cli;
@@ -1 +1 @@
1
- 'use strict';const _0x5d21e4=_0x2d5a;(function(_0x48c70e,_0x2fee66){const _0x151f8c=_0x2d5a,_0x9cf4a=_0x48c70e();while(!![]){try{const _0x450ba8=-parseInt(_0x151f8c(0x1c4))/0x1+-parseInt(_0x151f8c(0x1d3))/0x2+-parseInt(_0x151f8c(0x1cf))/0x3*(parseInt(_0x151f8c(0x1c7))/0x4)+parseInt(_0x151f8c(0x1cd))/0x5*(parseInt(_0x151f8c(0x1d8))/0x6)+parseInt(_0x151f8c(0x1c9))/0x7*(-parseInt(_0x151f8c(0x1d7))/0x8)+-parseInt(_0x151f8c(0x1c8))/0x9+parseInt(_0x151f8c(0x1e7))/0xa*(parseInt(_0x151f8c(0x1cb))/0xb);if(_0x450ba8===_0x2fee66)break;else _0x9cf4a['push'](_0x9cf4a['shift']());}catch(_0x553dac){_0x9cf4a['push'](_0x9cf4a['shift']());}}}(_0x1f13,0x948d7));Object[_0x5d21e4(0x1e4)](exports,'__esModule',{'value':!![]}),exports[_0x5d21e4(0x1e0)]=start,exports['store']=store,exports[_0x5d21e4(0x1df)]=dev;function _0x1f13(){const _0x2b44cb=['com.SpatialWeb.test','../resource','327486WkYaHZ','move\x20web\x20project:\x20ok','generate\x20icon:\x20ok','4rtoCPH','5843412BPdQnq','161735lHmXkz','parseProject','91124KVxUVu','checkStoreParams','40DJAwnq','SpatialWebTest','3403965jWvoIh','name','buildType','generateIcon','1017750uDbyuq','log','-------------------\x20build\x20end\x20-------------------','upload','8RbDykq','158724ZUAmJN','XcodeManager','../xcode','fromNet','./check','ResourceManager','PWAGenerator','dev','start','checkBuildParams','json','version','defineProperty','-------------------\x20build\x20start\x20-------------------','app-store-connect','3670VkCRyV'];_0x1f13=function(){return _0x2b44cb;};return _0x1f13();}function _0x2d5a(_0x59963f,_0x5326c4){const _0x1f13b8=_0x1f13();return _0x2d5a=function(_0x2d5af4,_0x19d134){_0x2d5af4=_0x2d5af4-0x1c4;let _0x585cd1=_0x1f13b8[_0x2d5af4];return _0x585cd1;},_0x2d5a(_0x59963f,_0x5326c4);}const pwa_1=require('../pwa'),resource_1=require(_0x5d21e4(0x1e9)),xcode_1=require(_0x5d21e4(0x1da)),check_1=require(_0x5d21e4(0x1dc));async function start(_0x4357fa,_0x4a1c2c=![]){const _0x494df3=_0x5d21e4;(0x0,check_1[_0x494df3(0x1e1)])(_0x4357fa,_0x4a1c2c),console['log'](_0x494df3(0x1e5));let _0x58f243=await pwa_1[_0x494df3(0x1de)]['generator'](_0x4357fa,_0x4a1c2c);!_0x58f243[_0x494df3(0x1db)]&&(await resource_1[_0x494df3(0x1dd)]['moveProjectFrom'](_0x4357fa['project']),console['log'](_0x494df3(0x1c5)));const _0xf170e8=await resource_1[_0x494df3(0x1dd)][_0x494df3(0x1d2)](_0x58f243);return console[_0x494df3(0x1d4)](_0x494df3(0x1c6)),await xcode_1[_0x494df3(0x1d9)][_0x494df3(0x1ca)]({'icon':_0xf170e8,'manifestInfo':_0x58f243,'teamId':_0x4357fa['teamId'],'version':_0x4357fa[_0x494df3(0x1e3)],'buildType':_0x4357fa['buildType'],'export':_0x4357fa['export']},_0x4a1c2c),console['log'](_0x494df3(0x1d5)),_0x58f243;}async function store(_0x11afa5){const _0x356e5f=_0x5d21e4;(0x0,check_1[_0x356e5f(0x1cc)])(_0x11afa5);let _0xe06f45={'name':'SpatialWebTest'};_0x11afa5[_0x356e5f(0x1d1)]=_0x356e5f(0x1e6);if(_0x11afa5[_0x356e5f(0x1d0)])_0xe06f45[_0x356e5f(0x1d0)]=_0x11afa5['name'];else{const _0xb419d2=await start(_0x11afa5);if(!_0xb419d2)return![];_0xe06f45[_0x356e5f(0x1d0)]=_0xb419d2[_0x356e5f(0x1e2)][_0x356e5f(0x1d0)];}return await xcode_1[_0x356e5f(0x1d9)][_0x356e5f(0x1d6)](_0x11afa5,_0xe06f45),!![];}async function dev(_0x6fc2dd){const _0x107479=_0x5d21e4;let _0x5aa796={'name':_0x107479(0x1ce),'id':_0x107479(0x1e8)};const _0x2ee511=await start(_0x6fc2dd,!![]);if(!_0x2ee511)return![];return _0x5aa796[_0x107479(0x1d0)]=_0x2ee511[_0x107479(0x1e2)][_0x107479(0x1d0)],_0x5aa796['id']=_0x2ee511[_0x107479(0x1e2)]['id'],await xcode_1[_0x107479(0x1d9)]['runWithSimulator'](_0x5aa796),!![];}
1
+ 'use strict';const _0xb166f7=_0x5b52;(function(_0x186b57,_0x5d120a){const _0xe3ce8f=_0x5b52,_0x289b98=_0x186b57();while(!![]){try{const _0x36be6e=-parseInt(_0xe3ce8f(0x1a7))/0x1*(-parseInt(_0xe3ce8f(0x1ca))/0x2)+parseInt(_0xe3ce8f(0x1cc))/0x3+parseInt(_0xe3ce8f(0x1c8))/0x4+-parseInt(_0xe3ce8f(0x1b1))/0x5*(-parseInt(_0xe3ce8f(0x1c6))/0x6)+-parseInt(_0xe3ce8f(0x1c2))/0x7*(parseInt(_0xe3ce8f(0x1b6))/0x8)+parseInt(_0xe3ce8f(0x1ac))/0x9*(-parseInt(_0xe3ce8f(0x1b8))/0xa)+-parseInt(_0xe3ce8f(0x1c4))/0xb*(parseInt(_0xe3ce8f(0x1b0))/0xc);if(_0x36be6e===_0x5d120a)break;else _0x289b98['push'](_0x289b98['shift']());}catch(_0x36318f){_0x289b98['push'](_0x289b98['shift']());}}}(_0x3eb1,0x535d3));Object[_0xb166f7(0x1bb)](exports,_0xb166f7(0x1ae),{'value':!![]}),exports['start']=start,exports[_0xb166f7(0x1a9)]=store,exports['dev']=dev;const pwa_1=require(_0xb166f7(0x1b4)),resource_1=require(_0xb166f7(0x1c1)),xcode_1=require('../xcode'),check_1=require(_0xb166f7(0x1b3));function _0x3eb1(){const _0x146a06=['1314372fwtUlY','moveProjectFrom','48200QLbGfI','json','168333IywBdj','6djnAiK','com.SpatialWeb.test','store','checkBuildParams','name','19593amwaEN','-------------------\x20build\x20start\x20-------------------','__esModule','checkStoreParams','769596ootYLI','546765kETKIf','runWithSimulator','./check','../pwa','ResourceManager','796384EdeMcq','generate\x20icon:\x20ok','190okVgxd','-------------------\x20build\x20end\x20-------------------','XcodeManager','defineProperty','export','parseProject','upload','SpatialWebTest','move\x20web\x20project:\x20ok','../resource','14hnnieT','log','66iifBKp','buildType','24jiLoVF','project'];_0x3eb1=function(){return _0x146a06;};return _0x3eb1();}async function start(_0x1d503d,_0x2f227a=![]){const _0x4b47ea=_0xb166f7;(0x0,check_1[_0x4b47ea(0x1aa)])(_0x1d503d,_0x2f227a),console[_0x4b47ea(0x1c3)](_0x4b47ea(0x1ad));let _0x318e21=await pwa_1['PWAGenerator']['generator'](_0x1d503d,_0x2f227a);!_0x318e21['fromNet']&&(await resource_1['ResourceManager'][_0x4b47ea(0x1c9)](_0x1d503d[_0x4b47ea(0x1c7)]),console['log'](_0x4b47ea(0x1c0)));const _0x3a4651=await resource_1[_0x4b47ea(0x1b5)]['generateIcon'](_0x318e21);return console[_0x4b47ea(0x1c3)](_0x4b47ea(0x1b7)),await xcode_1[_0x4b47ea(0x1ba)][_0x4b47ea(0x1bd)]({'icon':_0x3a4651,'manifestInfo':_0x318e21,'teamId':_0x1d503d['teamId'],'version':_0x1d503d['version'],'buildType':_0x1d503d[_0x4b47ea(0x1c5)],'export':_0x1d503d[_0x4b47ea(0x1bc)]},_0x2f227a),console['log'](_0x4b47ea(0x1b9)),_0x318e21;}async function store(_0x37f8af){const _0x14c886=_0xb166f7;(0x0,check_1[_0x14c886(0x1af)])(_0x37f8af);let _0x2b230f={'name':_0x14c886(0x1bf)};_0x37f8af[_0x14c886(0x1c5)]='app-store-connect';if(_0x37f8af[_0x14c886(0x1ab)])_0x2b230f[_0x14c886(0x1ab)]=_0x37f8af[_0x14c886(0x1ab)];else{const _0xf573a6=await start(_0x37f8af);if(!_0xf573a6)return![];_0x2b230f[_0x14c886(0x1ab)]=_0xf573a6[_0x14c886(0x1cb)][_0x14c886(0x1ab)];}return await xcode_1[_0x14c886(0x1ba)][_0x14c886(0x1be)](_0x37f8af,_0x2b230f),!![];}function _0x5b52(_0x56ea60,_0x2e5cb8){const _0x3eb19f=_0x3eb1();return _0x5b52=function(_0x5b52d3,_0x28c585){_0x5b52d3=_0x5b52d3-0x1a7;let _0x2c2cac=_0x3eb19f[_0x5b52d3];return _0x2c2cac;},_0x5b52(_0x56ea60,_0x2e5cb8);}async function dev(_0x5a033b){const _0x471707=_0xb166f7;let _0x37b5bf={'name':_0x471707(0x1bf),'id':_0x471707(0x1a8)};const _0x2c2407=await start(_0x5a033b,!![]);if(!_0x2c2407)return![];return _0x37b5bf[_0x471707(0x1ab)]=_0x2c2407['json'][_0x471707(0x1ab)],_0x37b5bf['id']=_0x2c2407[_0x471707(0x1cb)]['id'],await xcode_1[_0x471707(0x1ba)][_0x471707(0x1b2)](_0x37b5bf),!![];}
@@ -1 +1 @@
1
- 'use strict';(function(_0x5b0dc4,_0x414322){var _0x27d368=_0x3218,_0x9af4b3=_0x5b0dc4();while(!![]){try{var _0x760359=parseInt(_0x27d368(0x92))/0x1+parseInt(_0x27d368(0x9a))/0x2+parseInt(_0x27d368(0x99))/0x3*(parseInt(_0x27d368(0x91))/0x4)+-parseInt(_0x27d368(0x9c))/0x5+parseInt(_0x27d368(0x96))/0x6*(-parseInt(_0x27d368(0x9d))/0x7)+-parseInt(_0x27d368(0x9b))/0x8+-parseInt(_0x27d368(0x97))/0x9*(-parseInt(_0x27d368(0x90))/0xa);if(_0x760359===_0x414322)break;else _0x9af4b3['push'](_0x9af4b3['shift']());}catch(_0xce022){_0x9af4b3['push'](_0x9af4b3['shift']());}}}(_0x43b5,0xce19a));function _0x3218(_0x29b5d0,_0x213ae5){var _0x43b52d=_0x43b5();return _0x3218=function(_0x3218e0,_0x2fd901){_0x3218e0=_0x3218e0-0x8e;var _0x4323e4=_0x43b52d[_0x3218e0];return _0x4323e4;},_0x3218(_0x29b5d0,_0x213ae5);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function checkBuildParams(_0x122204,_0x518d0c=![]){var _0x192cc2=_0x3218;if(!_0x122204[_0x192cc2(0x94)]&&!_0x122204[_0x192cc2(0x9f)])throw new Error(_0x192cc2(0x9e));if(_0x122204[_0x192cc2(0x94)]&&_0x122204['manifest-url'])throw new Error(_0x192cc2(0x93));if(!_0x122204['teamId']&&!_0x518d0c)throw new Error(_0x192cc2(0x98));}function checkStoreParams(_0x44a151){var _0x1d4758=_0x3218;if(!(_0x44a151['u']&&_0x44a151['p'])&&!(_0x44a151['k']&&_0x44a151['i']))throw new Error(_0x1d4758(0x8e));if(!_0x44a151[_0x1d4758(0x95)])throw new Error(_0x1d4758(0x8f));}function _0x43b5(){var _0x42689e=['6ZxXPzO','2394855MIznYv','teamId\x20is\x20required','1212WsqDgG','218738IJvvVY','7611664LLlStK','400680OzymRj','7226268WbxLnP','manifest\x20or\x20manifest-url\x20is\x20required','manifest-url','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','version\x20is\x20required','20GQddSo','15508ieZDXP','700237FRuqgS','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','manifest','version'];_0x43b5=function(){return _0x42689e;};return _0x43b5();}
1
+ 'use strict';var _0x245180=_0x49f4;(function(_0x5bed05,_0x5162a3){var _0x4c9f17=_0x49f4,_0xfed284=_0x5bed05();while(!![]){try{var _0xf52488=parseInt(_0x4c9f17(0x195))/0x1*(-parseInt(_0x4c9f17(0x196))/0x2)+-parseInt(_0x4c9f17(0x19d))/0x3+parseInt(_0x4c9f17(0x197))/0x4*(parseInt(_0x4c9f17(0x1a0))/0x5)+parseInt(_0x4c9f17(0x19c))/0x6*(-parseInt(_0x4c9f17(0x19a))/0x7)+-parseInt(_0x4c9f17(0x192))/0x8*(parseInt(_0x4c9f17(0x1a1))/0x9)+parseInt(_0x4c9f17(0x191))/0xa*(-parseInt(_0x4c9f17(0x193))/0xb)+-parseInt(_0x4c9f17(0x19f))/0xc*(-parseInt(_0x4c9f17(0x19e))/0xd);if(_0xf52488===_0x5162a3)break;else _0xfed284['push'](_0xfed284['shift']());}catch(_0x56571b){_0xfed284['push'](_0xfed284['shift']());}}}(_0x4d36,0x6f484));Object['defineProperty'](exports,_0x245180(0x18f),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x245180(0x18e)]=checkStoreParams;function checkBuildParams(_0x45703c,_0x3296c2=![]){var _0x5b588c=_0x245180;if(!_0x45703c[_0x5b588c(0x18c)]&&!_0x45703c[_0x5b588c(0x194)])throw new Error(_0x5b588c(0x190));if(_0x45703c[_0x5b588c(0x18c)]&&_0x45703c[_0x5b588c(0x194)])throw new Error(_0x5b588c(0x199));if(!_0x45703c['teamId']&&!_0x3296c2)throw new Error(_0x5b588c(0x19b));}function checkStoreParams(_0x444b08){var _0x5f074d=_0x245180;if(!(_0x444b08['u']&&_0x444b08['p'])&&!(_0x444b08['k']&&_0x444b08['i']))throw new Error(_0x5f074d(0x18d));if(!_0x444b08['version'])throw new Error(_0x5f074d(0x198));}function _0x49f4(_0x271215,_0x299774){var _0x4d3646=_0x4d36();return _0x49f4=function(_0x49f4e0,_0x1d3093){_0x49f4e0=_0x49f4e0-0x18c;var _0x4334de=_0x4d3646[_0x49f4e0];return _0x4334de;},_0x49f4(_0x271215,_0x299774);}function _0x4d36(){var _0x556d32=['381084SFEbMC','800sVVrgB','9toEHpX','manifest','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','checkStoreParams','__esModule','manifest\x20or\x20manifest-url\x20is\x20required','3150670iuqIBh','1545144ifrEOF','11oISQIo','manifest-url','43gTOUDN','29662UyTniu','19264LmwsSM','version\x20is\x20required','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','13608HZwyJV','teamId\x20is\x20required','606raTbiv','1014036BEISTZ','559LgYBtj'];_0x4d36=function(){return _0x556d32;};return _0x4d36();}
@@ -1 +1 @@
1
- 'use strict';const _0x5912d9=_0x93ca;(function(_0x43613f,_0x2c8f6f){const _0x4e1398=_0x93ca,_0x20e0de=_0x43613f();while(!![]){try{const _0x5eba2a=parseInt(_0x4e1398(0xbc))/0x1*(parseInt(_0x4e1398(0xc2))/0x2)+parseInt(_0x4e1398(0xc0))/0x3*(-parseInt(_0x4e1398(0xc6))/0x4)+parseInt(_0x4e1398(0xc3))/0x5+-parseInt(_0x4e1398(0xc1))/0x6+-parseInt(_0x4e1398(0xc8))/0x7+-parseInt(_0x4e1398(0xb6))/0x8*(-parseInt(_0x4e1398(0xad))/0x9)+-parseInt(_0x4e1398(0xb4))/0xa*(-parseInt(_0x4e1398(0xaf))/0xb);if(_0x5eba2a===_0x2c8f6f)break;else _0x20e0de['push'](_0x20e0de['shift']());}catch(_0xbefc50){_0x20e0de['push'](_0x20e0de['shift']());}}}(_0x18f4,0x32d29));Object[_0x5912d9(0xbe)](exports,_0x5912d9(0xb8),{'value':!![]}),exports[_0x5912d9(0xb9)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([['main',['webspatial\x20[command]\x20<options>','','',_0x5912d9(0xae),_0x5912d9(0xc4)+_0x5912d9(0xb2),_0x5912d9(0xb1),_0x5912d9(0xc5)][_0x5912d9(0xbf)]('\x0a')],['build',[_0x5912d9(0xb5),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x5912d9(0xbf)]('\x0a')],[_0x5912d9(0xb0),[_0x5912d9(0xb5),'','',_0x5912d9(0xbb),'','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0x5912d9(0xbf)]('\x0a')],['publish',['Usage:','','',_0x5912d9(0xb7),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x5912d9(0xb3)][_0x5912d9(0xbf)]('\x0a')]]);function _0x18f4(){const _0x3e6d87=['35410XzZWPl','Usage:','1130056WxxArB','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>','__esModule','help','main','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','149865EiSFrm','get','defineProperty','join','1036683JqPNHn','2242014isQKIa','2mgwgOf','478050FtBmXy','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','4AUZNcs','info','2907821FtrAAN','9ffPHIN','help\x20................\x20shows\x20this\x20menu','2970eYYpGy','dev','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'];_0x18f4=function(){return _0x3e6d87;};return _0x18f4();}function _0x93ca(_0x9b7a8a,_0x4fc266){const _0x18f4e4=_0x18f4();return _0x93ca=function(_0x93cadb,_0x41b4b9){_0x93cadb=_0x93cadb-0xad;let _0x15a2e=_0x18f4e4[_0x93cadb];return _0x15a2e;},_0x93ca(_0x9b7a8a,_0x4fc266);}async function help(_0x53ff0e,_0x2cb3b8=new Log_1['ConsoleLog']('help')){const _0x113640=_0x5912d9,_0x3e37e3=_0x53ff0e['_'][0x1],_0x3517f4=HELP_MESSAGES[_0x113640(0xbd)](_0x3e37e3)||HELP_MESSAGES['get'](_0x113640(0xba));return _0x2cb3b8[_0x113640(0xc7)](_0x3517f4),!![];}
1
+ 'use strict';const _0x567ec6=_0x48d6;(function(_0x21660d,_0x207743){const _0xf08d45=_0x48d6,_0x26d316=_0x21660d();while(!![]){try{const _0x71f247=-parseInt(_0xf08d45(0xbc))/0x1*(parseInt(_0xf08d45(0xc6))/0x2)+parseInt(_0xf08d45(0xbe))/0x3+-parseInt(_0xf08d45(0xd6))/0x4*(-parseInt(_0xf08d45(0xc9))/0x5)+parseInt(_0xf08d45(0xc0))/0x6+-parseInt(_0xf08d45(0xbd))/0x7+parseInt(_0xf08d45(0xcb))/0x8+-parseInt(_0xf08d45(0xd5))/0x9;if(_0x71f247===_0x207743)break;else _0x26d316['push'](_0x26d316['shift']());}catch(_0xf5cbb3){_0x26d316['push'](_0x26d316['shift']());}}}(_0x3fa4,0x1f363));function _0x3fa4(){const _0x340347=['ConsoleLog','main','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','publish','info','64986IEIiiO','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','dev','760EmWWzt','help\x20................\x20shows\x20this\x20menu','1836056JvvqmQ','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','get','build','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','join','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','Usage:','3054663GwYNmV','3308tVVdbj','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','__esModule','3NtLVXp','548695roVlUd','703188jeNRTy','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','321042ZvdiMR'];_0x3fa4=function(){return _0x340347;};return _0x3fa4();}function _0x48d6(_0x476f15,_0x4ef2ac){const _0x3fa470=_0x3fa4();return _0x48d6=function(_0x48d658,_0x44cb7c){_0x48d658=_0x48d658-0xbc;let _0x4f42b3=_0x3fa470[_0x48d658];return _0x4f42b3;},_0x48d6(_0x476f15,_0x4ef2ac);}Object['defineProperty'](exports,_0x567ec6(0xd8),{'value':!![]}),exports[_0x567ec6(0xd3)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x567ec6(0xc2),['webspatial\x20[command]\x20<options>','','',_0x567ec6(0xca),_0x567ec6(0xcc)+_0x567ec6(0xc7),_0x567ec6(0xd0),_0x567ec6(0xbf)][_0x567ec6(0xd1)]('\x0a')],[_0x567ec6(0xce),[_0x567ec6(0xd4),'','',_0x567ec6(0xd2),'','',_0x567ec6(0xc3)]['join']('\x0a')],[_0x567ec6(0xc8),[_0x567ec6(0xd4),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x567ec6(0xd7)][_0x567ec6(0xd1)]('\x0a')],[_0x567ec6(0xc4),[_0x567ec6(0xd4),'','','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>','','',_0x567ec6(0xcf),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x567ec6(0xd1)]('\x0a')]]);async function help(_0x220bd3,_0x362cb9=new Log_1[(_0x567ec6(0xc1))](_0x567ec6(0xd3))){const _0x11bb38=_0x567ec6,_0x3911f1=_0x220bd3['_'][0x1],_0x38f6d8=HELP_MESSAGES[_0x11bb38(0xcd)](_0x3911f1)||HELP_MESSAGES['get']('main');return _0x362cb9[_0x11bb38(0xc5)](_0x38f6d8),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x5c80bb=_0x49fb;function _0x49fb(_0x293eb2,_0x511ca1){const _0x304346=_0x3043();return _0x49fb=function(_0x49fbf1,_0x20b160){_0x49fbf1=_0x49fbf1-0x100;let _0x33c470=_0x304346[_0x49fbf1];return _0x33c470;},_0x49fb(_0x293eb2,_0x511ca1);}function _0x3043(){const _0x4a3f1d=['../utils/Log','848aiClbf','898281FTSwZD','6836510dCoaTM','join','__esModule','9573984awUUCs','420xxrwga','readFile','ConsoleLog','toString','version','43141GoprEH','../../../package.json','7580VNbcly','defineProperty','info','19828180cnZLfB','10405BKOwey','214CTxyvj'];_0x3043=function(){return _0x4a3f1d;};return _0x3043();}(function(_0xdc96a,_0x3a6782){const _0x222b06=_0x49fb,_0x4c3c44=_0xdc96a();while(!![]){try{const _0x718494=-parseInt(_0x222b06(0x112))/0x1*(parseInt(_0x222b06(0x113))/0x2)+parseInt(_0x222b06(0x107))/0x3*(-parseInt(_0x222b06(0x10e))/0x4)+parseInt(_0x222b06(0x103))/0x5+-parseInt(_0x222b06(0x106))/0x6+parseInt(_0x222b06(0x10c))/0x7*(parseInt(_0x222b06(0x101))/0x8)+-parseInt(_0x222b06(0x102))/0x9+parseInt(_0x222b06(0x111))/0xa;if(_0x718494===_0x3a6782)break;else _0x4c3c44['push'](_0x4c3c44['shift']());}catch(_0x2dc1de){_0x4c3c44['push'](_0x4c3c44['shift']());}}}(_0x3043,0xe2e0a));Object[_0x5c80bb(0x10f)](exports,_0x5c80bb(0x105),{'value':!![]}),exports[_0x5c80bb(0x10b)]=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x5c80bb(0x100));async function version(_0x242292=new Log_1[(_0x5c80bb(0x109))](_0x5c80bb(0x10b))){const _0x14c7ce=_0x5c80bb,_0x5e5399=path[_0x14c7ce(0x104)](__dirname,_0x14c7ce(0x10d)),_0x3c219e=await(await fs['promises'][_0x14c7ce(0x108)](_0x5e5399))[_0x14c7ce(0x10a)](),_0x2ce413=JSON['parse'](_0x3c219e);return _0x242292[_0x14c7ce(0x110)](_0x2ce413[_0x14c7ce(0x10b)]),!![];}
1
+ 'use strict';const _0x453650=_0xc091;function _0x5e4d(){const _0x209d3e=['1807407FuZafI','3240324UyAZVA','version','info','join','1944978hiLUZG','4314312UyDTNX','../utils/Log','ConsoleLog','parse','1vxvLJg','318326ocMDIK','promises','__esModule','readFile','1805EtoqJj','toString','4468ORSSPy','../../../package.json','3671934jJEKxf'];_0x5e4d=function(){return _0x209d3e;};return _0x5e4d();}(function(_0x1416f1,_0xadc55f){const _0x18967d=_0xc091,_0x2f2348=_0x1416f1();while(!![]){try{const _0x2107ce=-parseInt(_0x18967d(0xf5))/0x1*(-parseInt(_0x18967d(0xf6))/0x2)+parseInt(_0x18967d(0x104))/0x3+-parseInt(_0x18967d(0xfc))/0x4*(parseInt(_0x18967d(0xfa))/0x5)+-parseInt(_0x18967d(0xfe))/0x6+-parseInt(_0x18967d(0xff))/0x7+parseInt(_0x18967d(0x105))/0x8+parseInt(_0x18967d(0x100))/0x9;if(_0x2107ce===_0xadc55f)break;else _0x2f2348['push'](_0x2f2348['shift']());}catch(_0x5babb2){_0x2f2348['push'](_0x2f2348['shift']());}}}(_0x5e4d,0x69ceb));function _0xc091(_0x3c8f13,_0xd088d3){const _0x5e4d55=_0x5e4d();return _0xc091=function(_0xc09177,_0x4ae86a){_0xc09177=_0xc09177-0xf2;let _0x5a3243=_0x5e4d55[_0xc09177];return _0x5a3243;},_0xc091(_0x3c8f13,_0xd088d3);}Object['defineProperty'](exports,_0x453650(0xf8),{'value':!![]}),exports[_0x453650(0x101)]=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x453650(0xf2));async function version(_0x1c6197=new Log_1[(_0x453650(0xf3))](_0x453650(0x101))){const _0x1a823c=_0x453650,_0x340ea1=path[_0x1a823c(0x103)](__dirname,_0x1a823c(0xfd)),_0x383c65=await(await fs[_0x1a823c(0xf7)][_0x1a823c(0xf9)](_0x340ea1))[_0x1a823c(0xfb)](),_0x22bfa4=JSON[_0x1a823c(0xf4)](_0x383c65);return _0x1c6197[_0x1a823c(0x102)](_0x22bfa4[_0x1a823c(0x101)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x18c74e=_0x25da;(function(_0x5a009c,_0x46fb2f){const _0xd77819=_0x25da,_0x40d29f=_0x5a009c();while(!![]){try{const _0x10bc1c=-parseInt(_0xd77819(0x93))/0x1*(parseInt(_0xd77819(0x8f))/0x2)+-parseInt(_0xd77819(0xb4))/0x3+parseInt(_0xd77819(0x99))/0x4+-parseInt(_0xd77819(0xb5))/0x5+-parseInt(_0xd77819(0x85))/0x6*(parseInt(_0xd77819(0x8e))/0x7)+parseInt(_0xd77819(0x8c))/0x8+parseInt(_0xd77819(0x84))/0x9*(parseInt(_0xd77819(0xbf))/0xa);if(_0x10bc1c===_0x46fb2f)break;else _0x40d29f['push'](_0x40d29f['shift']());}catch(_0xba9be4){_0x40d29f['push'](_0x40d29f['shift']());}}}(_0x3ae5,0xba559));function _0x25da(_0x1d468b,_0x510670){const _0x3ae568=_0x3ae5();return _0x25da=function(_0x25daed,_0x38b52d){_0x25daed=_0x25daed-0x84;let _0x6793e7=_0x3ae568[_0x25daed];return _0x6793e7;},_0x25da(_0x1d468b,_0x510670);}Object[_0x18c74e(0xc4)](exports,_0x18c74e(0x8b),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x18c74e(0xb3)]=configId,exports[_0x18c74e(0xb0)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports[_0x18c74e(0xbe)]=configMainScene,exports[_0x18c74e(0x8a)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require(_0x18c74e(0xac));function configId(_0x453ebd){const _0x211227=_0x18c74e,_0x14718f=new URL(_0x453ebd['id']);let _0x4f00b1=_0x14718f[_0x211227(0xb6)][_0x211227(0xb9)]('.')['reverse']();_0x453ebd['id']=_0x4f00b1['join']('.');}function configStartUrl(_0xeb4e5e,_0x27de17,_0x435641){const _0x454261=_0x18c74e,_0x1f2cc8=(0x0,validate_1[_0x454261(0xc3)])(_0xeb4e5e[_0x454261(0xa1)]);let _0x2ac523=_0xeb4e5e[_0x454261(0xa1)];_0x435641?!_0x1f2cc8&&(_0x2ac523=(0x0,path_1['join'])((0x0,utils_1[_0x454261(0xc0)])(_0x27de17),_0xeb4e5e['start_url'])):!_0x1f2cc8&&(_0x2ac523=(0x0,path_1[_0x454261(0xae)])('./static-web',_0xeb4e5e['start_url'])),_0xeb4e5e[_0x454261(0xa1)]=_0x2ac523;}function configScope(_0x557bcd,_0x2e9122){const _0x3cbed1=_0x18c74e;var _0x20ce0b,_0x2447ea,_0x35eb44;let _0x577728='';const _0x543361=(0x0,validate_1[_0x3cbed1(0xc3)])(_0x557bcd[_0x3cbed1(0x8d)]);if(_0x2e9122&&_0x543361){const _0x44b490=new URL((_0x20ce0b=_0x557bcd[_0x3cbed1(0x8d)])!==null&&_0x20ce0b!==void 0x0?_0x20ce0b:''),_0x3b77e1=new URL(_0x557bcd[_0x3cbed1(0xa1)]);(_0x44b490[_0x3cbed1(0xb6)]!==_0x3b77e1[_0x3cbed1(0xb6)]||_0x557bcd['start_url'][_0x3cbed1(0xad)](_0x577728)!==0x0)&&(_0x577728=(0x0,utils_1[_0x3cbed1(0xc0)])(_0x557bcd[_0x3cbed1(0xa1)]));}else{if(_0x2e9122&&!_0x543361){const _0x2ae742=_0x557bcd[_0x3cbed1(0xa1)][_0x3cbed1(0xad)](_0x3cbed1(0xbc))===0x0?_0x3cbed1(0xbc):_0x3cbed1(0x9f);_0x577728=(0x0,path_1[_0x3cbed1(0xae)])(_0x557bcd[_0x3cbed1(0xa1)]['replace'](_0x2ae742,''),(_0x2447ea=_0x557bcd[_0x3cbed1(0x8d)])!==null&&_0x2447ea!==void 0x0?_0x2447ea:''),_0x577728=_0x2ae742+_0x577728;}else _0x577728=(0x0,path_1['join'])((0x0,utils_1[_0x3cbed1(0xc0)])(_0x557bcd['start_url']),(_0x35eb44=_0x557bcd[_0x3cbed1(0x8d)])!==null&&_0x35eb44!==void 0x0?_0x35eb44:'');}_0x557bcd['scope']=_0x577728;}function configDisplay(_0x2595e5){const _0x3c20d8=_0x18c74e;let _0x3ad48c=_0x2595e5['display'];_0x3ad48c!=='minimal-ui'&&_0x3ad48c!==_0x3c20d8(0xaf)&&(_0x3ad48c=_0x3c20d8(0xaf));if(_0x2595e5[_0x3c20d8(0xb2)]&&_0x2595e5[_0x3c20d8(0xb2)][_0x3c20d8(0xbd)]>0x0){const _0xc874ea=_0x2595e5['display_override'][_0x3c20d8(0xad)](_0x3c20d8(0xbb)),_0x4540e4=_0x2595e5[_0x3c20d8(0xb2)][_0x3c20d8(0xad)]('standalone');if(_0xc874ea>=0x0&&_0x4540e4>=0x0)_0x3ad48c=_0x4540e4>_0xc874ea?'standalone':_0x3c20d8(0xbb);else{if(_0xc874ea>=0x0)_0x3ad48c='minimal-ui';else _0x4540e4>=0x0&&(_0x3ad48c=_0x3c20d8(0xaf));}}}function configMainScene(_0x4c506e){const _0x180bac=_0x18c74e;var _0x4017da,_0x49f15a;const _0x40cf9f=[_0x180bac(0x9c),_0x180bac(0xc6),_0x180bac(0xc7)];let _0x802c0a={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x180bac(0x9c)};_0x4c506e[_0x180bac(0x9b)]&&(_0x802c0a[_0x180bac(0x94)][_0x180bac(0xba)]=Number((_0x4017da=_0x4c506e['xr_main_scene']['default_size'])===null||_0x4017da===void 0x0?void 0x0:_0x4017da[_0x180bac(0xba)])>0x0?_0x4c506e[_0x180bac(0x9b)][_0x180bac(0xa5)][_0x180bac(0xba)]:0x500,_0x802c0a[_0x180bac(0x94)]['height']=Number((_0x49f15a=_0x4c506e[_0x180bac(0x9b)][_0x180bac(0xa5)])===null||_0x49f15a===void 0x0?void 0x0:_0x49f15a[_0x180bac(0xb7)])>0x0?_0x4c506e[_0x180bac(0x9b)][_0x180bac(0xa5)][_0x180bac(0xb7)]:0x500,_0x802c0a[_0x180bac(0x9e)]=_0x40cf9f['includes'](_0x4c506e[_0x180bac(0x9b)][_0x180bac(0x9e)])?_0x4c506e[_0x180bac(0x9b)][_0x180bac(0x9e)]:_0x180bac(0x9c)),_0x4c506e[_0x180bac(0x98)]=_0x802c0a;}function configDeeplink(_0x365d9a){const _0x368872=_0x18c74e;if(_0x365d9a[_0x368872(0xb1)]&&_0x365d9a[_0x368872(0xb1)][_0x368872(0xbd)]>0x0)for(var _0x3e9c05=0x0;_0x3e9c05<_0x365d9a[_0x368872(0xb1)][_0x368872(0xbd)];_0x3e9c05++){const _0x36e820=_0x365d9a[_0x368872(0xb1)][_0x3e9c05];if(_0x36e820[_0x368872(0xaa)]&&(exports[_0x368872(0x87)][_0x368872(0x90)](_0x36e820['protocol'])||_0x36e820[_0x368872(0xaa)][_0x368872(0xad)](_0x368872(0xa8))===0x0)){if(!((0x0,validate_1[_0x368872(0xc3)])(_0x36e820[_0x368872(0x88)])&&_0x36e820[_0x368872(0x88)][_0x368872(0xad)](_0x365d9a[_0x368872(0x8d)])<0x0))continue;}_0x365d9a[_0x368872(0xb1)][_0x368872(0xa7)](_0x3e9c05,0x1),_0x3e9c05--;}}exports['safelist']=[_0x18c74e(0xa6),_0x18c74e(0xb8),_0x18c74e(0xa9),'geo','im',_0x18c74e(0x86),_0x18c74e(0xc2),_0x18c74e(0x95),_0x18c74e(0x91),_0x18c74e(0xa3),_0x18c74e(0x96),_0x18c74e(0x92),_0x18c74e(0x97),_0x18c74e(0xa4),_0x18c74e(0x9d),_0x18c74e(0x9a),_0x18c74e(0xa0),_0x18c74e(0x89),_0x18c74e(0xc5),_0x18c74e(0xa2),_0x18c74e(0xc8),_0x18c74e(0xc1),'wtai',_0x18c74e(0xab)];function _0x3ae5(){const _0x4c71fc=['scope','1340542MvbAhk','1008078RzDhlK','includes','mailto','news','2Uyvjhj','defaultSize','magnet','mms','nntp','mainScene','1398924hIBWPi','sip','xr_main_scene','automatic','sftp','resizability','https://','sms','start_url','tel','matrix','openpgp4fpr','default_size','bitcoin','splice','web+','ftps','protocol','xmpp','path','indexOf','join','standalone','configStartUrl','protocol_handlers','display_override','configId','2424777abHJDk','7579955vuuyal','host','height','ftp','split','width','minimal-ui','http://','length','configMainScene','10eVwzCy','parseRouter','webcal','ircs','validateURL','defineProperty','ssh','contentMinSize','contentSize','urn','29617722fISfPv','12bQdoit','irc','safelist','url','smsto','configDeeplink','__esModule','6703808nfMXzj'];_0x3ae5=function(){return _0x4c71fc;};return _0x3ae5();}
1
+ 'use strict';const _0x2bf1da=_0x5622;(function(_0x2b939a,_0x27fba6){const _0x2ec407=_0x5622,_0x47132c=_0x2b939a();while(!![]){try{const _0x598df9=-parseInt(_0x2ec407(0x9d))/0x1+-parseInt(_0x2ec407(0xb9))/0x2*(-parseInt(_0x2ec407(0xa2))/0x3)+-parseInt(_0x2ec407(0x89))/0x4*(parseInt(_0x2ec407(0xac))/0x5)+-parseInt(_0x2ec407(0x83))/0x6*(parseInt(_0x2ec407(0x87))/0x7)+parseInt(_0x2ec407(0x9c))/0x8*(parseInt(_0x2ec407(0xb1))/0x9)+parseInt(_0x2ec407(0x91))/0xa*(parseInt(_0x2ec407(0xa7))/0xb)+-parseInt(_0x2ec407(0x82))/0xc*(-parseInt(_0x2ec407(0x8d))/0xd);if(_0x598df9===_0x27fba6)break;else _0x47132c['push'](_0x47132c['shift']());}catch(_0xcb20c3){_0x47132c['push'](_0x47132c['shift']());}}}(_0x1ca2,0x61103));Object[_0x2bf1da(0x76)](exports,_0x2bf1da(0xb7),{'value':!![]}),exports[_0x2bf1da(0xa3)]=void 0x0,exports[_0x2bf1da(0xbc)]=configId,exports[_0x2bf1da(0x9a)]=configStartUrl,exports[_0x2bf1da(0x88)]=configScope,exports[_0x2bf1da(0x7b)]=configDisplay,exports[_0x2bf1da(0x7a)]=configMainScene,exports[_0x2bf1da(0xbb)]=configDeeplink;function _0x5622(_0x2e732e,_0x210fb4){const _0x1ca222=_0x1ca2();return _0x5622=function(_0x56220e,_0x5e0ba1){_0x56220e=_0x56220e-0x75;let _0x5399df=_0x1ca222[_0x56220e];return _0x5399df;},_0x5622(_0x2e732e,_0x210fb4);}const utils_1=require('../utils/utils'),validate_1=require(_0x2bf1da(0xad)),path_1=require(_0x2bf1da(0xa6));function configId(_0x331d97){const _0x5dce1c=_0x2bf1da,_0x47ab19=new URL(_0x331d97['id']);let _0xcca213=_0x47ab19[_0x5dce1c(0x77)][_0x5dce1c(0xb6)]('.')[_0x5dce1c(0x95)]();_0x331d97['id']=_0xcca213[_0x5dce1c(0x8c)]('.');}function configStartUrl(_0x4fc046,_0x1d3a31,_0x58544e){const _0x13b3f8=_0x2bf1da,_0x48bfb5=(0x0,validate_1['validateURL'])(_0x4fc046['start_url']);let _0x11d050=_0x4fc046[_0x13b3f8(0x9e)];_0x58544e?!_0x48bfb5&&(_0x11d050=(0x0,path_1[_0x13b3f8(0x8c)])((0x0,utils_1[_0x13b3f8(0x78)])(_0x1d3a31),_0x4fc046[_0x13b3f8(0x9e)])):!_0x48bfb5&&(_0x11d050=(0x0,path_1[_0x13b3f8(0x8c)])('./static-web',_0x4fc046[_0x13b3f8(0x9e)])),_0x4fc046[_0x13b3f8(0x9e)]=_0x11d050;}function configScope(_0x20e519,_0x30137c){const _0x5c19d5=_0x2bf1da;var _0x567dd9,_0x1edfcb,_0xeed43f;let _0x485b81='';const _0x35b20f=(0x0,validate_1[_0x5c19d5(0xb3)])(_0x20e519[_0x5c19d5(0xa5)]);if(_0x30137c&&_0x35b20f){const _0x4cf27e=new URL((_0x567dd9=_0x20e519[_0x5c19d5(0xa5)])!==null&&_0x567dd9!==void 0x0?_0x567dd9:''),_0x5c7a81=new URL(_0x20e519['start_url']);(_0x4cf27e[_0x5c19d5(0x77)]!==_0x5c7a81['host']||_0x20e519['start_url'][_0x5c19d5(0xaa)](_0x485b81)!==0x0)&&(_0x485b81=(0x0,utils_1[_0x5c19d5(0x78)])(_0x20e519[_0x5c19d5(0x9e)]));}else{if(_0x30137c&&!_0x35b20f){const _0x1ab970=_0x20e519['start_url']['indexOf']('http://')===0x0?_0x5c19d5(0x8b):_0x5c19d5(0x8a);_0x485b81=(0x0,path_1[_0x5c19d5(0x8c)])(_0x20e519[_0x5c19d5(0x9e)][_0x5c19d5(0xb4)](_0x1ab970,''),(_0x1edfcb=_0x20e519[_0x5c19d5(0xa5)])!==null&&_0x1edfcb!==void 0x0?_0x1edfcb:''),_0x485b81=_0x1ab970+_0x485b81;}else _0x485b81=(0x0,path_1[_0x5c19d5(0x8c)])((0x0,utils_1[_0x5c19d5(0x78)])(_0x20e519[_0x5c19d5(0x9e)]),(_0xeed43f=_0x20e519['scope'])!==null&&_0xeed43f!==void 0x0?_0xeed43f:'');}_0x20e519[_0x5c19d5(0xa5)]=_0x485b81;}function _0x1ca2(){const _0x1851e0=['length','display_override','matrix','includes','731964ZfuBhu','88674laPnPi','xmpp','ircs','webcal','357jufTvi','configScope','428AQzUlh','https://','http://','join','52qHjigb','xr_main_scene','smsto','display','6550TXvAzj','ftps','news','mainScene','reverse','resizability','nntp','urn','defaultSize','configStartUrl','width','88IKROWa','578EqphQq','start_url','automatic','mailto','protocol_handlers','1783356TFficx','safelist','standalone','scope','path','9141BEPXaD','height','url','indexOf','web+','12945vJxMhF','./validate','bitcoin','irc','protocol','37764VVCpuo','tel','validateURL','replace','magnet','split','__esModule','mms','2ffNGDt','ftp','configDeeplink','configId','splice','defineProperty','host','parseRouter','default_size','configMainScene','configDisplay','minimal-ui','contentMinSize'];_0x1ca2=function(){return _0x1851e0;};return _0x1ca2();}function configDisplay(_0x488fca){const _0x173e55=_0x2bf1da;let _0x1e0766=_0x488fca[_0x173e55(0x90)];_0x1e0766!=='minimal-ui'&&_0x1e0766!==_0x173e55(0xa4)&&(_0x1e0766='standalone');if(_0x488fca[_0x173e55(0x7f)]&&_0x488fca[_0x173e55(0x7f)][_0x173e55(0x7e)]>0x0){const _0x11a6a0=_0x488fca[_0x173e55(0x7f)][_0x173e55(0xaa)](_0x173e55(0x7c)),_0x47da67=_0x488fca[_0x173e55(0x7f)][_0x173e55(0xaa)]('standalone');if(_0x11a6a0>=0x0&&_0x47da67>=0x0)_0x1e0766=_0x47da67>_0x11a6a0?'standalone':_0x173e55(0x7c);else{if(_0x11a6a0>=0x0)_0x1e0766=_0x173e55(0x7c);else _0x47da67>=0x0&&(_0x1e0766=_0x173e55(0xa4));}}}function configMainScene(_0x54ce77){const _0x505d90=_0x2bf1da;var _0x1b169c,_0x316234;const _0x1e68ee=['automatic',_0x505d90(0x7d),'contentSize'];let _0xa6d4c9={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x505d90(0x9f)};_0x54ce77[_0x505d90(0x8e)]&&(_0xa6d4c9['defaultSize'][_0x505d90(0x9b)]=Number((_0x1b169c=_0x54ce77['xr_main_scene'][_0x505d90(0x79)])===null||_0x1b169c===void 0x0?void 0x0:_0x1b169c['width'])>0x0?_0x54ce77[_0x505d90(0x8e)][_0x505d90(0x79)][_0x505d90(0x9b)]:0x500,_0xa6d4c9[_0x505d90(0x99)]['height']=Number((_0x316234=_0x54ce77[_0x505d90(0x8e)]['default_size'])===null||_0x316234===void 0x0?void 0x0:_0x316234['height'])>0x0?_0x54ce77['xr_main_scene']['default_size'][_0x505d90(0xa8)]:0x500,_0xa6d4c9[_0x505d90(0x96)]=_0x1e68ee[_0x505d90(0x81)](_0x54ce77[_0x505d90(0x8e)][_0x505d90(0x96)])?_0x54ce77[_0x505d90(0x8e)]['resizability']:_0x505d90(0x9f)),_0x54ce77[_0x505d90(0x94)]=_0xa6d4c9;}function configDeeplink(_0x2b0c7b){const _0x54024b=_0x2bf1da;if(_0x2b0c7b[_0x54024b(0xa1)]&&_0x2b0c7b['protocol_handlers']['length']>0x0)for(var _0x4c22a5=0x0;_0x4c22a5<_0x2b0c7b[_0x54024b(0xa1)][_0x54024b(0x7e)];_0x4c22a5++){const _0x53da4a=_0x2b0c7b[_0x54024b(0xa1)][_0x4c22a5];if(_0x53da4a[_0x54024b(0xb0)]&&(exports['safelist'][_0x54024b(0x81)](_0x53da4a[_0x54024b(0xb0)])||_0x53da4a[_0x54024b(0xb0)][_0x54024b(0xaa)](_0x54024b(0xab))===0x0)){if(!((0x0,validate_1[_0x54024b(0xb3)])(_0x53da4a[_0x54024b(0xa9)])&&_0x53da4a['url']['indexOf'](_0x2b0c7b[_0x54024b(0xa5)])<0x0))continue;}_0x2b0c7b[_0x54024b(0xa1)][_0x54024b(0x75)](_0x4c22a5,0x1),_0x4c22a5--;}}exports['safelist']=[_0x2bf1da(0xae),_0x2bf1da(0xba),_0x2bf1da(0x92),'geo','im',_0x2bf1da(0xaf),_0x2bf1da(0x85),_0x2bf1da(0xb5),_0x2bf1da(0xa0),_0x2bf1da(0x80),_0x2bf1da(0xb8),_0x2bf1da(0x93),_0x2bf1da(0x97),'openpgp4fpr','sftp','sip','sms',_0x2bf1da(0x8f),'ssh',_0x2bf1da(0xb2),_0x2bf1da(0x98),_0x2bf1da(0x86),'wtai',_0x2bf1da(0x84)];
@@ -1 +1 @@
1
- 'use strict';const _0x49fdf5=_0x4f46;(function(_0x1a3f07,_0x3ba8f8){const _0x18d0a5=_0x4f46,_0x125134=_0x1a3f07();while(!![]){try{const _0x280c52=-parseInt(_0x18d0a5(0x1bf))/0x1*(-parseInt(_0x18d0a5(0x1c3))/0x2)+parseInt(_0x18d0a5(0x1d7))/0x3+-parseInt(_0x18d0a5(0x1c7))/0x4*(-parseInt(_0x18d0a5(0x1c4))/0x5)+-parseInt(_0x18d0a5(0x1db))/0x6*(-parseInt(_0x18d0a5(0x1d1))/0x7)+-parseInt(_0x18d0a5(0x1ca))/0x8+-parseInt(_0x18d0a5(0x1c0))/0x9*(-parseInt(_0x18d0a5(0x1cc))/0xa)+-parseInt(_0x18d0a5(0x1d5))/0xb;if(_0x280c52===_0x3ba8f8)break;else _0x125134['push'](_0x125134['shift']());}catch(_0x101d26){_0x125134['push'](_0x125134['shift']());}}}(_0x2d19,0x66e40));function _0x4f46(_0x131cd8,_0x4b9022){const _0x2d197e=_0x2d19();return _0x4f46=function(_0x4f46bb,_0x39bcbc){_0x4f46bb=_0x4f46bb-0x1bb;let _0x2738a1=_0x2d197e[_0x4f46bb];return _0x2738a1;},_0x4f46(_0x131cd8,_0x4b9022);}Object[_0x49fdf5(0x1ce)](exports,'__esModule',{'value':!![]}),exports['PWAGenerator']=void 0x0;const path_1=require(_0x49fdf5(0x1bd)),config_1=require(_0x49fdf5(0x1be)),load_1=require(_0x49fdf5(0x1dc)),validate_1=require(_0x49fdf5(0x1c1));function _0x2d19(){const _0x525d80=['167024vnQDkx','cwd','1510VtuwwP','generator','defineProperty','checkIcons','configId','21vAIoaX','url','standalone','check\x20manifest.json:\x20ok','17185817GVVUWd','minimal-ui','378738KdyOuf','loadJsonFromNet','validate','manifest-url','278754wuWJmq','../resource/load','reset\x20manifest.json:\x20ok','loadJsonFromDisk','log','path','./config','1kUqfmt','48942EVpuSX','./validate','config','836482WKNngl','5DqEWus','configStartUrl','fromNet','1998652aSXAnR','json','manifest'];_0x2d19=function(){return _0x525d80;};return _0x2d19();}class PWAGenerator{static async[_0x49fdf5(0x1cd)](_0x21b921,_0x3a6852=![]){const _0x59572e=_0x49fdf5;let _0x3fb229=await this[_0x59572e(0x1d9)](_0x21b921,_0x3a6852);return console['log'](_0x59572e(0x1d4)),await this[_0x59572e(0x1c2)](_0x3fb229,_0x3a6852),console[_0x59572e(0x1bc)](_0x59572e(0x1dd)),_0x3fb229;}static async['validate'](_0x45befd,_0x5b8af1=![]){const _0x2ded6f=_0x49fdf5;let _0x2e7ebe={},_0x56bb37='',_0x291f14=![];if(_0x45befd['manifest-url'])_0x56bb37=_0x45befd[_0x2ded6f(0x1da)],_0x291f14=!![],_0x2e7ebe=await(0x0,load_1[_0x2ded6f(0x1d8)])(_0x45befd[_0x2ded6f(0x1da)]);else _0x45befd[_0x2ded6f(0x1c9)]&&(_0x56bb37=(0x0,path_1['join'])(process[_0x2ded6f(0x1cb)](),_0x45befd[_0x2ded6f(0x1c9)]),_0x2e7ebe=await(0x0,load_1[_0x2ded6f(0x1bb)])(_0x45befd[_0x2ded6f(0x1c9)]));(0x0,validate_1['checkManifestJson'])(_0x2e7ebe);var _0x4ef961=(0x0,validate_1['checkStartUrl'])(_0x2e7ebe,_0x56bb37,_0x291f14,_0x5b8af1);if(!_0x5b8af1)(0x0,validate_1['checkId'])(_0x2e7ebe);return await(0x0,validate_1[_0x2ded6f(0x1cf)])(_0x2e7ebe,_0x56bb37),{'json':_0x2e7ebe,'url':_0x56bb37,'fromNet':_0x4ef961};}static[_0x49fdf5(0x1c2)](_0x377542,_0x1b765e){const _0x53c530=_0x49fdf5;(0x0,config_1[_0x53c530(0x1c5)])(_0x377542[_0x53c530(0x1c8)],_0x377542[_0x53c530(0x1d2)],_0x377542['fromNet']);if(!_0x1b765e)(0x0,config_1[_0x53c530(0x1d0)])(_0x377542[_0x53c530(0x1c8)]);(0x0,config_1['configScope'])(_0x377542[_0x53c530(0x1c8)],_0x377542[_0x53c530(0x1c6)]),(0x0,config_1['configDisplay'])(_0x377542[_0x53c530(0x1c8)]),(0x0,config_1['configDeeplink'])(_0x377542['json']),(0x0,config_1['configMainScene'])(_0x377542[_0x53c530(0x1c8)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator['DisplayModes']=[_0x49fdf5(0x1d3),_0x49fdf5(0x1d6)];
1
+ 'use strict';const _0x20239b=_0x15fa;(function(_0x453d06,_0x64f8ca){const _0x711f24=_0x15fa,_0x48f54d=_0x453d06();while(!![]){try{const _0x364562=parseInt(_0x711f24(0x8f))/0x1*(-parseInt(_0x711f24(0x99))/0x2)+-parseInt(_0x711f24(0x81))/0x3+parseInt(_0x711f24(0x88))/0x4+parseInt(_0x711f24(0x78))/0x5*(-parseInt(_0x711f24(0x7b))/0x6)+parseInt(_0x711f24(0x97))/0x7+parseInt(_0x711f24(0x96))/0x8+parseInt(_0x711f24(0x94))/0x9*(parseInt(_0x711f24(0x77))/0xa);if(_0x364562===_0x64f8ca)break;else _0x48f54d['push'](_0x48f54d['shift']());}catch(_0x13bb0d){_0x48f54d['push'](_0x48f54d['shift']());}}}(_0x3d42,0x83ab2));Object[_0x20239b(0x89)](exports,_0x20239b(0x85),{'value':!![]}),exports[_0x20239b(0x87)]=void 0x0;function _0x3d42(){const _0x40e6bd=['configMainScene','join','18Mtktks','path','manifest-url','manifest','log','configDisplay','638145FlWrvA','minimal-ui','configScope','validate','__esModule','configStartUrl','PWAGenerator','1138100LJiQeA','defineProperty','checkIcons','checkManifestJson','cwd','../resource/load','config','1hiTzXs','fromNet','json','reset\x20manifest.json:\x20ok','generator','36zzXUcJ','standalone','289376agwJEg','3859023ptFeKw','configId','1113452SWpkQt','check\x20manifest.json:\x20ok','loadJsonFromDisk','2701040DjuRli','1072745DGAZQI'];_0x3d42=function(){return _0x40e6bd;};return _0x3d42();}function _0x15fa(_0xa7f679,_0x384d50){const _0x3d4235=_0x3d42();return _0x15fa=function(_0x15fae3,_0x327d66){_0x15fae3=_0x15fae3-0x76;let _0x26e35c=_0x3d4235[_0x15fae3];return _0x26e35c;},_0x15fa(_0xa7f679,_0x384d50);}const path_1=require(_0x20239b(0x7c)),config_1=require('./config'),load_1=require(_0x20239b(0x8d)),validate_1=require('./validate');class PWAGenerator{static async[_0x20239b(0x93)](_0x5317a3,_0x44bdab=![]){const _0x35a5a1=_0x20239b;let _0x6475f=await this[_0x35a5a1(0x84)](_0x5317a3,_0x44bdab);return console[_0x35a5a1(0x7f)](_0x35a5a1(0x9a)),await this[_0x35a5a1(0x8e)](_0x6475f,_0x44bdab),console['log'](_0x35a5a1(0x92)),_0x6475f;}static async[_0x20239b(0x84)](_0x364540,_0x423c3e=![]){const _0x4b8acc=_0x20239b;let _0x55b65f={},_0x3b03ae='',_0x5dfeb2=![];if(_0x364540[_0x4b8acc(0x7d)])_0x3b03ae=_0x364540[_0x4b8acc(0x7d)],_0x5dfeb2=!![],_0x55b65f=await(0x0,load_1['loadJsonFromNet'])(_0x364540[_0x4b8acc(0x7d)]);else _0x364540['manifest']&&(_0x3b03ae=(0x0,path_1[_0x4b8acc(0x7a)])(process[_0x4b8acc(0x8c)](),_0x364540[_0x4b8acc(0x7e)]),_0x55b65f=await(0x0,load_1[_0x4b8acc(0x76)])(_0x364540[_0x4b8acc(0x7e)]));(0x0,validate_1[_0x4b8acc(0x8b)])(_0x55b65f);var _0x4cc85a=(0x0,validate_1['checkStartUrl'])(_0x55b65f,_0x3b03ae,_0x5dfeb2,_0x423c3e);if(!_0x423c3e)(0x0,validate_1['checkId'])(_0x55b65f);return await(0x0,validate_1[_0x4b8acc(0x8a)])(_0x55b65f,_0x3b03ae),{'json':_0x55b65f,'url':_0x3b03ae,'fromNet':_0x4cc85a};}static['config'](_0x308491,_0x188b22){const _0x3fbff9=_0x20239b;(0x0,config_1[_0x3fbff9(0x86)])(_0x308491['json'],_0x308491['url'],_0x308491[_0x3fbff9(0x90)]);if(!_0x188b22)(0x0,config_1[_0x3fbff9(0x98)])(_0x308491[_0x3fbff9(0x91)]);(0x0,config_1[_0x3fbff9(0x83)])(_0x308491[_0x3fbff9(0x91)],_0x308491['fromNet']),(0x0,config_1[_0x3fbff9(0x80)])(_0x308491['json']),(0x0,config_1['configDeeplink'])(_0x308491[_0x3fbff9(0x91)]),(0x0,config_1[_0x3fbff9(0x79)])(_0x308491[_0x3fbff9(0x91)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator['DisplayModes']=[_0x20239b(0x95),_0x20239b(0x82)];
@@ -1 +1 @@
1
- 'use strict';const _0x2be26b=_0x1fa4;(function(_0x544f70,_0x25094c){const _0x52ac63=_0x1fa4,_0x25420a=_0x544f70();while(!![]){try{const _0x2ec6b5=-parseInt(_0x52ac63(0x149))/0x1*(-parseInt(_0x52ac63(0x15e))/0x2)+-parseInt(_0x52ac63(0x141))/0x3*(-parseInt(_0x52ac63(0x14f))/0x4)+-parseInt(_0x52ac63(0x12e))/0x5*(parseInt(_0x52ac63(0x144))/0x6)+-parseInt(_0x52ac63(0x14d))/0x7+-parseInt(_0x52ac63(0x151))/0x8*(parseInt(_0x52ac63(0x15a))/0x9)+parseInt(_0x52ac63(0x135))/0xa*(parseInt(_0x52ac63(0x160))/0xb)+-parseInt(_0x52ac63(0x136))/0xc;if(_0x2ec6b5===_0x25094c)break;else _0x25420a['push'](_0x25420a['shift']());}catch(_0x1ed134){_0x25420a['push'](_0x25420a['shift']());}}}(_0x552e,0xbe111));Object[_0x2be26b(0x14a)](exports,_0x2be26b(0x14b),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x2be26b(0x15f)]=checkIcons,exports[_0x2be26b(0x15b)]=checkId,exports[_0x2be26b(0x13d)]=validateURL;const path_1=require('path'),_1=require('.'),CustomError_1=require(_0x2be26b(0x150)),utils_1=require('../utils/utils'),imageHelper_1=require(_0x2be26b(0x13c)),load_1=require(_0x2be26b(0x158));function _0x552e(){const _0x47482b=['3848446vauisp','http://','24mvEiww','../utils/CustomError','8KTKRnR','name','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','loadImageFromDisk','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','join','ImageHelper','../resource/load','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','1179207jYqZGB','checkId','getHeight','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','633506TItDIN','checkIcons','22LeZeQb','CustomError','startsWith','split','https://','icons','indexOf','5IbuLqs','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','start_url','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','getWidth','length','7026370TgNiBz','10260540xkDOTq','maskable','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','parseRouter','isFullyOpaque','src','../resource/imageHelper','validateURL','host','loadImageFromNet','DisplayModes','337644UZHnAQ','http','push','4298772HDLqLe','display','sizes','purpose','includes','3excfVr','defineProperty','__esModule','Local\x20manifest\x20cannot\x20package\x20network\x20project'];_0x552e=function(){return _0x47482b;};return _0x552e();}function _0x1fa4(_0xabe5c3,_0x10278c){const _0x552e13=_0x552e();return _0x1fa4=function(_0x1fa4c0,_0x4fcbf2){_0x1fa4c0=_0x1fa4c0-0x12b;let _0x50b3a0=_0x552e13[_0x1fa4c0];return _0x50b3a0;},_0x1fa4(_0xabe5c3,_0x10278c);}function checkManifestJson(_0x409c9b){const _0x11fd33=_0x2be26b;var _0x3703db;const _0x427c2c=[];!_0x409c9b[_0x11fd33(0x152)]&&!_0x409c9b['short_name']&&_0x427c2c['push']({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x3703db=_0x409c9b[_0x11fd33(0x12c)])===null||_0x3703db===void 0x0?void 0x0:_0x3703db[_0x11fd33(0x134)])&&_0x427c2c['push']({'code':0xbbf,'message':_0x11fd33(0x131),'message_staring_params':{}});!_0x409c9b[_0x11fd33(0x130)]&&_0x427c2c[_0x11fd33(0x143)]({'code':0xbc0,'message':_0x11fd33(0x155),'message_staring_params':{}});!_1['PWAGenerator'][_0x11fd33(0x140)][_0x11fd33(0x148)](_0x409c9b[_0x11fd33(0x145)])&&_0x427c2c['push']({'code':0xbc1,'message':_0x11fd33(0x12f)+(_0x11fd33(0x153)+_0x409c9b['display']+')'),'message_staring_params':{'display':_0x409c9b[_0x11fd33(0x145)]}});if(_0x427c2c[_0x11fd33(0x134)])throw new CustomError_1[(_0x11fd33(0x161))](_0x427c2c);}function checkStartUrl(_0x505577,_0x46c8b5,_0xa45840,_0x3b6a9d=![]){const _0x1b4dd2=_0x2be26b;var _0x2271dc=![];if(_0x3b6a9d)return _0x2271dc=_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)]('https://')===0x0||_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)]('http://')===0x0,_0x2271dc;if(_0xa45840){if(_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)]('https://')==0x0){const _0x39547d=new URL(_0x505577[_0x1b4dd2(0x130)]),_0x4ad6b2=new URL(_0x46c8b5);if(_0x39547d[_0x1b4dd2(0x13e)]!==_0x4ad6b2[_0x1b4dd2(0x13e)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1b4dd2(0x132),'message_staring_params':{}});}else{if(_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)](_0x1b4dd2(0x14e))==0x0)throw new CustomError_1[(_0x1b4dd2(0x161))]({'code':0xfa0,'message':_0x1b4dd2(0x138),'message_staring_params':{}});}}else{if(_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)](_0x1b4dd2(0x12b))==0x0||_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)](_0x1b4dd2(0x14e))==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1b4dd2(0x14c),'message_staring_params':{}});}return _0x2271dc;}async function checkIcons(_0x174843,_0x4e98bd){const _0x47e674=_0x2be26b;var _0x3d5a7a;const _0x501933=(0x0,utils_1[_0x47e674(0x139)])(_0x4e98bd);let _0x20c40d,_0x28d9b3,_0x1d381f,_0x17da5c=0x0;for(var _0x44e861=0x0;_0x44e861<_0x174843['icons']['length'];_0x44e861++){const _0x38cff6=_0x174843['icons'][_0x44e861];let _0x4a54d2=((_0x3d5a7a=_0x38cff6[_0x47e674(0x147)])===null||_0x3d5a7a===void 0x0?void 0x0:_0x3d5a7a[_0x47e674(0x12d)](_0x47e674(0x137)))>=0x0;if(!_0x4a54d2)continue;let _0x4262b4=![],_0xbc4730=_0x38cff6[_0x47e674(0x13b)],_0x1aad30,_0xda8b55=0x0;!validateURL(_0xbc4730)&&(_0xbc4730=(0x0,path_1[_0x47e674(0x156)])(_0x501933,_0xbc4730));if(_0x38cff6[_0x47e674(0x146)]){const _0x96fdf7=_0x38cff6[_0x47e674(0x146)][_0x47e674(0x163)]('\x20');_0x96fdf7['forEach'](_0x1c69db=>{let _0x197397=_0x1c69db['split']('x');Number(_0x197397[0x0])>=0x400&&Number(_0x197397[0x1])>=0x400&&(_0x4262b4=!![],Number(_0x197397[0x0])>_0xda8b55&&(_0xda8b55=Number(_0x197397[0x0])));});}else _0x1aad30=!_0xbc4730[_0x47e674(0x162)](_0x47e674(0x142))?await(0x0,load_1[_0x47e674(0x154)])(_0xbc4730):await(0x0,load_1[_0x47e674(0x13f)])(_0xbc4730),_0x1aad30[_0x47e674(0x133)]()>=0x400&&_0x1aad30[_0x47e674(0x15c)]()>=0x400&&(_0x4262b4=!![],_0x1aad30['getWidth']()>_0xda8b55&&(_0xda8b55=_0x1aad30[_0x47e674(0x133)]()));_0x4262b4&&_0x4a54d2&&(_0xda8b55>_0x17da5c&&(_0x17da5c=_0xda8b55,_0x20c40d=_0x1aad30,_0x28d9b3=_0xbc4730,_0x1d381f=_0x38cff6[_0x47e674(0x147)]));}if(_0x17da5c===0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x47e674(0x159),'message_staring_params':{}});else _0x28d9b3&&(_0x20c40d=!_0x28d9b3[_0x47e674(0x162)]('http')?await(0x0,load_1[_0x47e674(0x154)])(_0x28d9b3):await(0x0,load_1['loadImageFromNet'])(_0x28d9b3));if(_0x20c40d&&!imageHelper_1[_0x47e674(0x157)][_0x47e674(0x13a)](_0x20c40d))throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','message_staring_params':{}});_0x174843[_0x47e674(0x12c)]=[{'src':_0x28d9b3,'sizes':_0x17da5c+'x'+_0x17da5c,'purpose':_0x1d381f}];}function checkId(_0x4367a3){const _0x25172a=_0x2be26b;!_0x4367a3['id']&&(_0x4367a3['id']=_0x4367a3['start_url']);if(!validateURL(_0x4367a3['id']))throw new CustomError_1[(_0x25172a(0x161))]({'code':0xfa0,'message':_0x25172a(0x15d),'message_staring_params':{}});}function validateURL(_0x10157e){try{return new URL(_0x10157e),!![];}catch(_0x5af7e0){return![];}}
1
+ 'use strict';const _0x5669c4=_0x5cb6;(function(_0x37e2ee,_0x470939){const _0x57f372=_0x5cb6,_0x200839=_0x37e2ee();while(!![]){try{const _0x8dde34=parseInt(_0x57f372(0x9a))/0x1*(parseInt(_0x57f372(0x9b))/0x2)+parseInt(_0x57f372(0x9e))/0x3*(parseInt(_0x57f372(0xb5))/0x4)+-parseInt(_0x57f372(0xbf))/0x5*(parseInt(_0x57f372(0xc9))/0x6)+-parseInt(_0x57f372(0xb4))/0x7+-parseInt(_0x57f372(0xb0))/0x8+-parseInt(_0x57f372(0xcd))/0x9*(parseInt(_0x57f372(0xb8))/0xa)+parseInt(_0x57f372(0xc6))/0xb;if(_0x8dde34===_0x470939)break;else _0x200839['push'](_0x200839['shift']());}catch(_0x1cfc8f){_0x200839['push'](_0x200839['shift']());}}}(_0xe3ac,0xec31c));Object[_0x5669c4(0xc5)](exports,'__esModule',{'value':!![]}),exports[_0x5669c4(0xb9)]=checkManifestJson,exports[_0x5669c4(0xb1)]=checkStartUrl,exports[_0x5669c4(0xc3)]=checkIcons,exports['checkId']=checkId,exports[_0x5669c4(0x9d)]=validateURL;function _0xe3ac(){const _0x445844=['purpose','../resource/imageHelper','72yviDPy','PWAGenerator','display','indexOf','1CfsGwp','493858dLnljw','http','validateURL','4019343PqZRrA','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','startsWith','forEach','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','host','getWidth','icons','ImageHelper','../resource/load','path','loadImageFromNet','length','https://','CustomError','loadImageFromDisk','sizes','../utils/CustomError','8615208ZHtNam','checkStartUrl','push','start_url','796460LszLSt','4AZhHDw','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','isFullyOpaque','1219050JufGkv','checkManifestJson','maskable','http://','Local\x20manifest\x20cannot\x20package\x20network\x20project','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','src','8739915bqRLpy','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','DisplayModes','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','checkIcons','name','defineProperty','36241106AOmjvM','split','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','6lwZyKt','../utils/utils'];_0xe3ac=function(){return _0x445844;};return _0xe3ac();}function _0x5cb6(_0x289e9e,_0x3128c6){const _0xe3ac4c=_0xe3ac();return _0x5cb6=function(_0x5cb6b1,_0x5a7f2b){_0x5cb6b1=_0x5cb6b1-0x97;let _0x442643=_0xe3ac4c[_0x5cb6b1];return _0x442643;},_0x5cb6(_0x289e9e,_0x3128c6);}const path_1=require(_0x5669c4(0xa8)),_1=require('.'),CustomError_1=require(_0x5669c4(0xaf)),utils_1=require(_0x5669c4(0xca)),imageHelper_1=require(_0x5669c4(0xcc)),load_1=require(_0x5669c4(0xa7));function checkManifestJson(_0x2e9e30){const _0x69dc3d=_0x5669c4;var _0x4ef343;const _0x2bb283=[];!_0x2e9e30[_0x69dc3d(0xc4)]&&!_0x2e9e30['short_name']&&_0x2bb283[_0x69dc3d(0xb2)]({'code':0xbbe,'message':_0x69dc3d(0xbd),'message_staring_params':{}});!((_0x4ef343=_0x2e9e30[_0x69dc3d(0xa5)])===null||_0x4ef343===void 0x0?void 0x0:_0x4ef343['length'])&&_0x2bb283[_0x69dc3d(0xb2)]({'code':0xbbf,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x2e9e30[_0x69dc3d(0xb3)]&&_0x2bb283[_0x69dc3d(0xb2)]({'code':0xbc0,'message':_0x69dc3d(0xc2),'message_staring_params':{}});!_1[_0x69dc3d(0x97)][_0x69dc3d(0xc1)]['includes'](_0x2e9e30[_0x69dc3d(0x98)])&&_0x2bb283[_0x69dc3d(0xb2)]({'code':0xbc1,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value'+(_0x69dc3d(0x9f)+_0x2e9e30[_0x69dc3d(0x98)]+')'),'message_staring_params':{'display':_0x2e9e30[_0x69dc3d(0x98)]}});if(_0x2bb283[_0x69dc3d(0xaa)])throw new CustomError_1[(_0x69dc3d(0xac))](_0x2bb283);}function checkStartUrl(_0x298e5d,_0x1f470c,_0x145f80,_0x58545c=![]){const _0xc38c80=_0x5669c4;var _0x582246=![];if(_0x58545c)return _0x582246=_0x298e5d['start_url'][_0xc38c80(0x99)]('https://')===0x0||_0x298e5d[_0xc38c80(0xb3)][_0xc38c80(0x99)](_0xc38c80(0xbb))===0x0,_0x582246;if(_0x145f80){if(_0x298e5d[_0xc38c80(0xb3)][_0xc38c80(0x99)](_0xc38c80(0xab))==0x0){const _0x40acc9=new URL(_0x298e5d[_0xc38c80(0xb3)]),_0x460451=new URL(_0x1f470c);if(_0x40acc9['host']!==_0x460451[_0xc38c80(0xa3)])throw new CustomError_1[(_0xc38c80(0xac))]({'code':0xfa0,'message':_0xc38c80(0xb6),'message_staring_params':{}});}else{if(_0x298e5d['start_url'][_0xc38c80(0x99)](_0xc38c80(0xbb))==0x0)throw new CustomError_1[(_0xc38c80(0xac))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x298e5d[_0xc38c80(0xb3)]['indexOf'](_0xc38c80(0xab))==0x0||_0x298e5d[_0xc38c80(0xb3)][_0xc38c80(0x99)]('http://')==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0xc38c80(0xbc),'message_staring_params':{}});}return _0x582246;}async function checkIcons(_0x3ace29,_0x22829f){const _0x1a5d21=_0x5669c4;var _0x27810d;const _0x1f1a45=(0x0,utils_1['parseRouter'])(_0x22829f);let _0x4157c4,_0x2daf00,_0x5aca0c,_0x15eb5f=0x0;for(var _0x279258=0x0;_0x279258<_0x3ace29['icons'][_0x1a5d21(0xaa)];_0x279258++){const _0x185d29=_0x3ace29[_0x1a5d21(0xa5)][_0x279258];let _0x224167=((_0x27810d=_0x185d29[_0x1a5d21(0xcb)])===null||_0x27810d===void 0x0?void 0x0:_0x27810d[_0x1a5d21(0x99)](_0x1a5d21(0xba)))>=0x0;if(!_0x224167)continue;let _0x29f41c=![],_0x40cd67=_0x185d29[_0x1a5d21(0xbe)],_0x5bc526,_0x507fe7=0x0;!validateURL(_0x40cd67)&&(_0x40cd67=(0x0,path_1['join'])(_0x1f1a45,_0x40cd67));if(_0x185d29[_0x1a5d21(0xae)]){const _0x55bbb7=_0x185d29[_0x1a5d21(0xae)][_0x1a5d21(0xc7)]('\x20');_0x55bbb7[_0x1a5d21(0xa1)](_0x3697f8=>{const _0x118249=_0x1a5d21;let _0x242b3f=_0x3697f8[_0x118249(0xc7)]('x');Number(_0x242b3f[0x0])>=0x400&&Number(_0x242b3f[0x1])>=0x400&&(_0x29f41c=!![],Number(_0x242b3f[0x0])>_0x507fe7&&(_0x507fe7=Number(_0x242b3f[0x0])));});}else _0x5bc526=!_0x40cd67[_0x1a5d21(0xa0)]('http')?await(0x0,load_1[_0x1a5d21(0xad)])(_0x40cd67):await(0x0,load_1[_0x1a5d21(0xa9)])(_0x40cd67),_0x5bc526[_0x1a5d21(0xa4)]()>=0x400&&_0x5bc526['getHeight']()>=0x400&&(_0x29f41c=!![],_0x5bc526[_0x1a5d21(0xa4)]()>_0x507fe7&&(_0x507fe7=_0x5bc526['getWidth']()));_0x29f41c&&_0x224167&&(_0x507fe7>_0x15eb5f&&(_0x15eb5f=_0x507fe7,_0x4157c4=_0x5bc526,_0x2daf00=_0x40cd67,_0x5aca0c=_0x185d29[_0x1a5d21(0xcb)]));}if(_0x15eb5f===0x0)throw new CustomError_1[(_0x1a5d21(0xac))]({'code':0xfa0,'message':_0x1a5d21(0xc8),'message_staring_params':{}});else _0x2daf00&&(_0x4157c4=!_0x2daf00[_0x1a5d21(0xa0)](_0x1a5d21(0x9c))?await(0x0,load_1[_0x1a5d21(0xad)])(_0x2daf00):await(0x0,load_1[_0x1a5d21(0xa9)])(_0x2daf00));if(_0x4157c4&&!imageHelper_1[_0x1a5d21(0xa6)][_0x1a5d21(0xb7)](_0x4157c4))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1a5d21(0xc0),'message_staring_params':{}});_0x3ace29[_0x1a5d21(0xa5)]=[{'src':_0x2daf00,'sizes':_0x15eb5f+'x'+_0x15eb5f,'purpose':_0x5aca0c}];}function checkId(_0x4fa86a){const _0x4cfad4=_0x5669c4;!_0x4fa86a['id']&&(_0x4fa86a['id']=_0x4fa86a[_0x4cfad4(0xb3)]);if(!validateURL(_0x4fa86a['id']))throw new CustomError_1[(_0x4cfad4(0xac))]({'code':0xfa0,'message':_0x4cfad4(0xa2),'message_staring_params':{}});}function validateURL(_0x5c6bf6){try{return new URL(_0x5c6bf6),!![];}catch(_0x2a5295){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0x26e1(){const _0x533c3d=['mkdirSync','copyDir','225meGjuh','clearDir','__esModule','96OrmbRC','183100BZurXt','isFile','readdirSync','forEach','readFileSync','isDirectory','396038WTqbDT','4583117PJBYIx','68844qneIcy','1954485UkSCGY','statSync','log','573579WLQTtQ','writeFileSync','4998384NxWsGL','defineProperty'];_0x26e1=function(){return _0x533c3d;};return _0x26e1();}const _0x1c0723=_0x55fa;(function(_0x657760,_0x2934b3){const _0x1f996d=_0x55fa,_0x581d7d=_0x657760();while(!![]){try{const _0x135b66=-parseInt(_0x1f996d(0xcb))/0x1+parseInt(_0x1f996d(0xc5))/0x2+-parseInt(_0x1f996d(0xce))/0x3+parseInt(_0x1f996d(0xcd))/0x4*(parseInt(_0x1f996d(0xc1))/0x5)+parseInt(_0x1f996d(0xd3))/0x6+parseInt(_0x1f996d(0xcc))/0x7+parseInt(_0x1f996d(0xc4))/0x8*(-parseInt(_0x1f996d(0xd1))/0x9);if(_0x135b66===_0x2934b3)break;else _0x581d7d['push'](_0x581d7d['shift']());}catch(_0x556984){_0x581d7d['push'](_0x581d7d['shift']());}}}(_0x26e1,0x8435f));Object[_0x1c0723(0xd4)](exports,_0x1c0723(0xc3),{'value':!![]}),exports[_0x1c0723(0xd6)]=copyDir,exports[_0x1c0723(0xc2)]=clearDir;function _0x55fa(_0x2dc7d4,_0x5623de){const _0x26e140=_0x26e1();return _0x55fa=function(_0x55fa03,_0x304bd9){_0x55fa03=_0x55fa03-0xc1;let _0x26bbbe=_0x26e140[_0x55fa03];return _0x26bbbe;},_0x55fa(_0x2dc7d4,_0x5623de);}const fs=require('fs');function copyDir(_0x28df3e,_0x3f560b){const _0x457a73=_0x1c0723,_0x48f293=fs[_0x457a73(0xc7)](_0x28df3e);_0x48f293['forEach'](_0x136aec=>{const _0x325022=_0x457a73,_0x1689e9=_0x28df3e+'/'+_0x136aec,_0x31d34e=_0x3f560b+'/'+_0x136aec,_0x14d882=fs[_0x325022(0xcf)](_0x1689e9);if(_0x14d882[_0x325022(0xc6)]())try{fs[_0x325022(0xd2)](_0x31d34e,fs[_0x325022(0xc9)](_0x1689e9));}catch(_0x95f333){console[_0x325022(0xd0)](_0x95f333);}else _0x14d882[_0x325022(0xca)]()&&(!fs['existsSync'](_0x31d34e)&&fs[_0x325022(0xd5)](_0x31d34e,{'recursive':!![]}),copyDir(_0x1689e9,_0x31d34e));});}function clearDir(_0x3b3a38){const _0x3301a0=_0x1c0723,_0x21e78e=fs[_0x3301a0(0xc7)](_0x3b3a38);_0x21e78e[_0x3301a0(0xc8)](_0x5d9122=>{const _0xa8f890=_0x3301a0,_0x271139=_0x3b3a38+'/'+_0x5d9122,_0x1882c1=fs['statSync'](_0x271139);if(_0x1882c1[_0xa8f890(0xc6)]())try{fs['unlinkSync'](_0x271139);}catch(_0xa54166){console[_0xa8f890(0xd0)](_0xa54166);}else _0x1882c1[_0xa8f890(0xca)]()&&clearDir(_0x271139);});}
1
+ 'use strict';const _0x589cd5=_0x35ec;function _0x6ee4(){const _0x31937a=['684946hSmiYv','log','isDirectory','forEach','17241IlYHGU','readdirSync','unlinkSync','79965UfDDnm','isFile','existsSync','defineProperty','11xdpoBg','19363692hFgtZU','copyDir','clearDir','writeFileSync','390TEopRK','996DUfDzK','2XsNcPy','2584vvuAHL','2195xIDqiV','statSync','514767ZDDRns','521580RxOYFv','__esModule'];_0x6ee4=function(){return _0x31937a;};return _0x6ee4();}(function(_0x42d821,_0x3314ea){const _0xedfda6=_0x35ec,_0x108b8d=_0x42d821();while(!![]){try{const _0x1e777c=-parseInt(_0xedfda6(0xbd))/0x1*(-parseInt(_0xedfda6(0xab))/0x2)+parseInt(_0xedfda6(0xa8))/0x3+parseInt(_0xedfda6(0xa9))/0x4+parseInt(_0xedfda6(0xa6))/0x5*(parseInt(_0xedfda6(0xbc))/0x6)+-parseInt(_0xedfda6(0xaf))/0x7*(-parseInt(_0xedfda6(0xbe))/0x8)+parseInt(_0xedfda6(0xb2))/0x9*(parseInt(_0xedfda6(0xbb))/0xa)+parseInt(_0xedfda6(0xb6))/0xb*(-parseInt(_0xedfda6(0xb7))/0xc);if(_0x1e777c===_0x3314ea)break;else _0x108b8d['push'](_0x108b8d['shift']());}catch(_0x5e08f9){_0x108b8d['push'](_0x108b8d['shift']());}}}(_0x6ee4,0x8f9c3));Object[_0x589cd5(0xb5)](exports,_0x589cd5(0xaa),{'value':!![]}),exports[_0x589cd5(0xb8)]=copyDir,exports[_0x589cd5(0xb9)]=clearDir;function _0x35ec(_0x24e714,_0x1497c7){const _0x6ee467=_0x6ee4();return _0x35ec=function(_0x35ecb7,_0x52b64d){_0x35ecb7=_0x35ecb7-0xa6;let _0x49c7b8=_0x6ee467[_0x35ecb7];return _0x49c7b8;},_0x35ec(_0x24e714,_0x1497c7);}const fs=require('fs');function copyDir(_0x87dcd4,_0xaeb556){const _0xd6454c=_0x589cd5,_0x14df07=fs['readdirSync'](_0x87dcd4);_0x14df07[_0xd6454c(0xae)](_0x33aec5=>{const _0x26dc06=_0xd6454c,_0x11d771=_0x87dcd4+'/'+_0x33aec5,_0xcba341=_0xaeb556+'/'+_0x33aec5,_0xf97cc1=fs[_0x26dc06(0xa7)](_0x11d771);if(_0xf97cc1[_0x26dc06(0xb3)]())try{fs[_0x26dc06(0xba)](_0xcba341,fs['readFileSync'](_0x11d771));}catch(_0x40b433){console[_0x26dc06(0xac)](_0x40b433);}else _0xf97cc1[_0x26dc06(0xad)]()&&(!fs[_0x26dc06(0xb4)](_0xcba341)&&fs['mkdirSync'](_0xcba341,{'recursive':!![]}),copyDir(_0x11d771,_0xcba341));});}function clearDir(_0x55d7c2){const _0x59d3a5=_0x589cd5,_0xa0b62d=fs[_0x59d3a5(0xb0)](_0x55d7c2);_0xa0b62d[_0x59d3a5(0xae)](_0x2ef122=>{const _0x3d2f66=_0x59d3a5,_0x51edee=_0x55d7c2+'/'+_0x2ef122,_0x1a9868=fs[_0x3d2f66(0xa7)](_0x51edee);if(_0x1a9868[_0x3d2f66(0xb3)]())try{fs[_0x3d2f66(0xb1)](_0x51edee);}catch(_0x49aece){console['log'](_0x49aece);}else _0x1a9868[_0x3d2f66(0xad)]()&&clearDir(_0x51edee);});}
@@ -1 +1 @@
1
- 'use strict';const _0x13de9=_0x2ceb;(function(_0x32739a,_0xeb6971){const _0x120663=_0x2ceb,_0x508451=_0x32739a();while(!![]){try{const _0x582810=-parseInt(_0x120663(0xb7))/0x1+parseInt(_0x120663(0xb2))/0x2*(-parseInt(_0x120663(0xad))/0x3)+parseInt(_0x120663(0xb9))/0x4+-parseInt(_0x120663(0xbd))/0x5+parseInt(_0x120663(0xaf))/0x6*(parseInt(_0x120663(0xbb))/0x7)+parseInt(_0x120663(0xab))/0x8+parseInt(_0x120663(0xb5))/0x9;if(_0x582810===_0xeb6971)break;else _0x508451['push'](_0x508451['shift']());}catch(_0x71ea32){_0x508451['push'](_0x508451['shift']());}}}(_0x2e38,0xde510));Object[_0x13de9(0xb6)](exports,_0x13de9(0xbe),{'value':!![]}),exports[_0x13de9(0xba)]=void 0x0;const Jimp=require(_0x13de9(0xc0)),sharp=require(_0x13de9(0xac)),resvg_js_1=require(_0x13de9(0xb8));function _0x2ceb(_0x498a11,_0x14635f){const _0x2e382f=_0x2e38();return _0x2ceb=function(_0x2ceb9e,_0x1eccfe){_0x2ceb9e=_0x2ceb9e-0xa9;let _0x46db59=_0x2e382f[_0x2ceb9e];return _0x46db59;},_0x2ceb(_0x498a11,_0x14635f);}function _0x2e38(){const _0x19114d=['3561248dOXbfV','ImageHelper','1169nuzyee','svg2img','6100885ARftOx','__esModule','toFormat','jimp','isFullyOpaque','png','getHeight','11966232HYCXGY','sharp','3IRMPLL','width','13602xTvzeG','toBuffer','Resvg','3341942MnDQUj','createImg','data','24255549aFvZUp','defineProperty','1657985dzyFCq','@resvg/resvg-js'];_0x2e38=function(){return _0x19114d;};return _0x2e38();}class ImageHelper{static[_0x13de9(0xb3)](_0x244768){return new Jimp(_0x244768,_0x244768,0x0);}static async['webp2PngBuffer'](_0xed7dcd){const _0x3200fe=_0x13de9;return await sharp(_0xed7dcd)[_0x3200fe(0xbf)](_0x3200fe(0xa9))[_0x3200fe(0xb0)]();}static async[_0x13de9(0xbc)](_0x4a5476){const _0x2a39af=_0x13de9,_0x42173b={'fitTo':{'mode':_0x2a39af(0xae),'value':0x400}},_0x14cee1=new resvg_js_1[(_0x2a39af(0xb1))](_0x4a5476,_0x42173b),_0x3d4f83=_0x14cee1['render'](),_0x52c82f=_0x3d4f83['asPng']();return _0x52c82f;}static[_0x13de9(0xc1)](_0x385f6b){const _0x5beedb=_0x13de9,_0x469cab=_0x385f6b['getWidth']()*_0x385f6b[_0x5beedb(0xaa)]();for(var _0x390dd3=0x0;_0x390dd3<_0x469cab;_0x390dd3++){const _0x382231=_0x390dd3*0x4+0x3;if(_0x385f6b['bitmap'][_0x5beedb(0xb4)][_0x382231]<0xff)return![];}return!![];}}exports[_0x13de9(0xba)]=ImageHelper;
1
+ 'use strict';const _0x3bdba9=_0x310f;(function(_0x207fdc,_0x84da8e){const _0x489a44=_0x310f,_0x2ffdd6=_0x207fdc();while(!![]){try{const _0x5c7677=-parseInt(_0x489a44(0xfe))/0x1*(parseInt(_0x489a44(0x106))/0x2)+parseInt(_0x489a44(0xfa))/0x3+-parseInt(_0x489a44(0x110))/0x4+parseInt(_0x489a44(0xfb))/0x5*(-parseInt(_0x489a44(0x113))/0x6)+-parseInt(_0x489a44(0xf8))/0x7*(-parseInt(_0x489a44(0x10c))/0x8)+-parseInt(_0x489a44(0x111))/0x9+parseInt(_0x489a44(0x108))/0xa*(parseInt(_0x489a44(0x102))/0xb);if(_0x5c7677===_0x84da8e)break;else _0x2ffdd6['push'](_0x2ffdd6['shift']());}catch(_0x49041e){_0x2ffdd6['push'](_0x2ffdd6['shift']());}}}(_0x1e5d,0x85d3d));function _0x1e5d(){const _0x4055d9=['svg2img','2832216WLwrxg','3122496MwVuib','png','3828846SLzKoN','__esModule','1379vvXqBw','isFullyOpaque','3031518ONXnGM','5AgPitO','Resvg','ImageHelper','343373CtlRXI','webp2PngBuffer','toBuffer','sharp','11opQlXF','defineProperty','asPng','render','2iUwWLn','@resvg/resvg-js','5899510zapExJ','getWidth','data','width','39968lzXuRR','jimp','getHeight'];_0x1e5d=function(){return _0x4055d9;};return _0x1e5d();}function _0x310f(_0x9a217e,_0x3ddc1b){const _0x1e5de2=_0x1e5d();return _0x310f=function(_0x310f7c,_0xca7ade){_0x310f7c=_0x310f7c-0xf8;let _0xe15c81=_0x1e5de2[_0x310f7c];return _0xe15c81;},_0x310f(_0x9a217e,_0x3ddc1b);}Object[_0x3bdba9(0x103)](exports,_0x3bdba9(0x114),{'value':!![]}),exports[_0x3bdba9(0xfd)]=void 0x0;const Jimp=require(_0x3bdba9(0x10d)),sharp=require(_0x3bdba9(0x101)),resvg_js_1=require(_0x3bdba9(0x107));class ImageHelper{static['createImg'](_0x14f645){return new Jimp(_0x14f645,_0x14f645,0x0);}static async[_0x3bdba9(0xff)](_0x48946f){const _0x3b2d4b=_0x3bdba9;return await sharp(_0x48946f)['toFormat'](_0x3b2d4b(0x112))[_0x3b2d4b(0x100)]();}static async[_0x3bdba9(0x10f)](_0x6ab6ad){const _0x518ac6=_0x3bdba9,_0x490602={'fitTo':{'mode':_0x518ac6(0x10b),'value':0x400}},_0xce439a=new resvg_js_1[(_0x518ac6(0xfc))](_0x6ab6ad,_0x490602),_0x8b7ac6=_0xce439a[_0x518ac6(0x105)](),_0x9c3a5a=_0x8b7ac6[_0x518ac6(0x104)]();return _0x9c3a5a;}static[_0x3bdba9(0xf9)](_0x6c0798){const _0x3298e8=_0x3bdba9,_0x44faec=_0x6c0798[_0x3298e8(0x109)]()*_0x6c0798[_0x3298e8(0x10e)]();for(var _0x47367a=0x0;_0x47367a<_0x44faec;_0x47367a++){const _0x4b9078=_0x47367a*0x4+0x3;if(_0x6c0798['bitmap'][_0x3298e8(0x10a)][_0x4b9078]<0xff)return![];}return!![];}}exports[_0x3bdba9(0xfd)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x5b6efb=_0x51bd;function _0x51bd(_0x2c29b9,_0x22380c){const _0x4edca4=_0x4edc();return _0x51bd=function(_0x51bd04,_0x161dde){_0x51bd04=_0x51bd04-0x125;let _0x3810d0=_0x4edca4[_0x51bd04];return _0x3810d0;},_0x51bd(_0x2c29b9,_0x22380c);}(function(_0x1056f8,_0x39208c){const _0x2d427c=_0x51bd,_0x11f548=_0x1056f8();while(!![]){try{const _0x5b3415=-parseInt(_0x2d427c(0x14b))/0x1+parseInt(_0x2d427c(0x142))/0x2+-parseInt(_0x2d427c(0x141))/0x3*(-parseInt(_0x2d427c(0x13b))/0x4)+-parseInt(_0x2d427c(0x139))/0x5*(-parseInt(_0x2d427c(0x13d))/0x6)+parseInt(_0x2d427c(0x145))/0x7*(parseInt(_0x2d427c(0x149))/0x8)+-parseInt(_0x2d427c(0x13a))/0x9*(parseInt(_0x2d427c(0x126))/0xa)+-parseInt(_0x2d427c(0x14a))/0xb*(-parseInt(_0x2d427c(0x125))/0xc);if(_0x5b3415===_0x39208c)break;else _0x11f548['push'](_0x11f548['shift']());}catch(_0x249e5e){_0x11f548['push'](_0x11f548['shift']());}}}(_0x4edc,0x632fc));Object[_0x5b6efb(0x12e)](exports,_0x5b6efb(0x12b),{'value':!![]}),exports[_0x5b6efb(0x13c)]=exports[_0x5b6efb(0x143)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x5b6efb(0x129)]=exports[_0x5b6efb(0x12f)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x5b6efb(0x14d)]=exports[_0x5b6efb(0x146)]=void 0x0;const fs=require('fs'),path_1=require(_0x5b6efb(0x13e)),file_1=require(_0x5b6efb(0x12c)),load_1=require(_0x5b6efb(0x147));function _0x4edc(){const _0x4dd29c=['PROJECT_BUILD_DIRECTORY','loadImageFromDisk','48jIbHbQ','2708260UYCkbk','icons','./build','ASSET_DIRECTORY','moveProjectFrom','__esModule','./file','BACK_APPICON_DIRECTORY','defineProperty','WEB_PROJECT_DIRECTORY','./export','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','PROJECT_EXPORT_DIRECTORY','mkdirSync','resize','web-spatial/static-web','join','log','http','370lnXZCk','27uUphQS','1160KnBeSZ','ResourceManager','1878sNEZmj','path','src','cwd','7152ZdKaRC','485632XDhYIL','MIDDLE_APPICON_DIRECTORY','startsWith','364KSSEWT','PROJECT_DIRECTORY','./load','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','17376HXqnpk','1170235ikMlIF','277076NUhmox','clearDir'];_0x4edc=function(){return _0x4dd29c;};return _0x4edc();}exports['PROJECT_DIRECTORY']=(0x0,path_1[_0x5b6efb(0x136)])(__dirname,'../../../template/visionOSApp'),exports[_0x5b6efb(0x14d)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x5b6efb(0x128)),exports[_0x5b6efb(0x132)]=(0x0,path_1[_0x5b6efb(0x136)])(exports[_0x5b6efb(0x146)],_0x5b6efb(0x130)),exports[_0x5b6efb(0x12f)]=_0x5b6efb(0x135),exports['ASSET_DIRECTORY']='web-spatial/Assets.xcassets',exports[_0x5b6efb(0x12d)]=exports['ASSET_DIRECTORY']+_0x5b6efb(0x148),exports[_0x5b6efb(0x143)]=exports[_0x5b6efb(0x129)]+_0x5b6efb(0x131);class ResourceManager{static async[_0x5b6efb(0x12a)](_0x13bb00){const _0xa0b3b6=_0x5b6efb,_0x5be94a=(0x0,path_1[_0xa0b3b6(0x136)])(process[_0xa0b3b6(0x140)](),_0x13bb00),_0x33dea9=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],exports[_0xa0b3b6(0x12f)]);!fs['existsSync'](_0x33dea9)?fs[_0xa0b3b6(0x133)](_0x33dea9,{'recursive':!![]}):(0x0,file_1[_0xa0b3b6(0x14c)])(_0x33dea9);try{(0x0,file_1['copyDir'])(_0x5be94a,_0x33dea9);}catch(_0x5d4cb2){console[_0xa0b3b6(0x137)](_0x5d4cb2);}}static async['generateIcon'](_0x39255d){const _0x5322d2=_0x5b6efb,_0x58672f=_0x39255d['json'],_0x564e35=_0x58672f[_0x5322d2(0x127)][0x0][_0x5322d2(0x13f)],_0x477dfd=!_0x564e35[_0x5322d2(0x144)](_0x5322d2(0x138))?await(0x0,load_1[_0x5322d2(0x14e)])(_0x564e35):await(0x0,load_1['loadImageFromNet'])(_0x564e35);return _0x477dfd[_0x5322d2(0x134)](0x400,0x400),_0x477dfd;}}exports['ResourceManager']=ResourceManager;
1
+ 'use strict';const _0x2f015f=_0x4e2c;(function(_0x2c0e3d,_0x3e3f87){const _0x6d14e5=_0x4e2c,_0x5b18f0=_0x2c0e3d();while(!![]){try{const _0x2f2dac=parseInt(_0x6d14e5(0xbc))/0x1+parseInt(_0x6d14e5(0xc3))/0x2+parseInt(_0x6d14e5(0xb6))/0x3*(parseInt(_0x6d14e5(0xa9))/0x4)+parseInt(_0x6d14e5(0xad))/0x5+-parseInt(_0x6d14e5(0xab))/0x6+parseInt(_0x6d14e5(0xbb))/0x7+parseInt(_0x6d14e5(0xc7))/0x8*(-parseInt(_0x6d14e5(0xb9))/0x9);if(_0x2f2dac===_0x3e3f87)break;else _0x5b18f0['push'](_0x5b18f0['shift']());}catch(_0x3c439c){_0x5b18f0['push'](_0x5b18f0['shift']());}}}(_0x3fab,0xb2b27));Object[_0x2f015f(0xac)](exports,_0x2f015f(0xc6),{'value':!![]}),exports[_0x2f015f(0xa6)]=exports[_0x2f015f(0xb1)]=exports[_0x2f015f(0xb4)]=exports[_0x2f015f(0xa8)]=exports[_0x2f015f(0xc4)]=exports[_0x2f015f(0xc2)]=exports[_0x2f015f(0xb2)]=exports[_0x2f015f(0xa7)]=void 0x0;function _0x4e2c(_0x43577e,_0x1806fc){const _0x3fab32=_0x3fab();return _0x4e2c=function(_0x4e2c84,_0x58fe3e){_0x4e2c84=_0x4e2c84-0xa6;let _0x2d112b=_0x3fab32[_0x4e2c84];return _0x2d112b;},_0x4e2c(_0x43577e,_0x1806fc);}const fs=require('fs'),path_1=require(_0x2f015f(0xbe)),file_1=require(_0x2f015f(0xb5)),load_1=require('./load');exports['PROJECT_DIRECTORY']=(0x0,path_1[_0x2f015f(0xaa)])(__dirname,_0x2f015f(0xb0)),exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x2f015f(0xaa)])(exports[_0x2f015f(0xa7)],_0x2f015f(0xae)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1['join'])(exports[_0x2f015f(0xa7)],'./export'),exports[_0x2f015f(0xc4)]=_0x2f015f(0xba),exports['ASSET_DIRECTORY']=_0x2f015f(0xaf),exports[_0x2f015f(0xb4)]=exports[_0x2f015f(0xa8)]+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x2f015f(0xb1)]=exports[_0x2f015f(0xa8)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';class ResourceManager{static async['moveProjectFrom'](_0x533b9d){const _0x6e7031=_0x2f015f,_0x58d797=(0x0,path_1[_0x6e7031(0xaa)])(process[_0x6e7031(0xbf)](),_0x533b9d),_0x39876a=(0x0,path_1[_0x6e7031(0xaa)])(exports[_0x6e7031(0xa7)],exports[_0x6e7031(0xc4)]);!fs[_0x6e7031(0xb7)](_0x39876a)?fs['mkdirSync'](_0x39876a,{'recursive':!![]}):(0x0,file_1[_0x6e7031(0xc0)])(_0x39876a);try{(0x0,file_1[_0x6e7031(0xb8)])(_0x58d797,_0x39876a);}catch(_0x4945e1){console[_0x6e7031(0xbd)](_0x4945e1);}}static async[_0x2f015f(0xc9)](_0x4f3078){const _0x45df6c=_0x2f015f,_0x24fc10=_0x4f3078['json'],_0x322313=_0x24fc10['icons'][0x0][_0x45df6c(0xb3)],_0x3d5167=!_0x322313[_0x45df6c(0xc1)](_0x45df6c(0xc8))?await(0x0,load_1['loadImageFromDisk'])(_0x322313):await(0x0,load_1[_0x45df6c(0xc5)])(_0x322313);return _0x3d5167['resize'](0x400,0x400),_0x3d5167;}}function _0x3fab(){const _0x52d809=['path','cwd','clearDir','startsWith','PROJECT_EXPORT_DIRECTORY','1476416hmLWhV','WEB_PROJECT_DIRECTORY','loadImageFromNet','__esModule','13215728NZbSrJ','http','generateIcon','ResourceManager','PROJECT_DIRECTORY','ASSET_DIRECTORY','3351588JtyAQs','join','3687300KcTSDp','defineProperty','6055975fzzURM','./build','web-spatial/Assets.xcassets','../../../template/visionOSApp','MIDDLE_APPICON_DIRECTORY','PROJECT_BUILD_DIRECTORY','src','BACK_APPICON_DIRECTORY','./file','3sweGer','existsSync','copyDir','18ohXpxH','web-spatial/static-web','4236029KzgbXo','1257978Qsxzpp','log'];_0x3fab=function(){return _0x52d809;};return _0x3fab();}exports[_0x2f015f(0xa6)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x388d3f=_0xfdb9;(function(_0x563cb2,_0x532542){const _0x4d018c=_0xfdb9,_0x2900e5=_0x563cb2();while(!![]){try{const _0x50656b=-parseInt(_0x4d018c(0x1ca))/0x1*(parseInt(_0x4d018c(0x1b7))/0x2)+parseInt(_0x4d018c(0x1c4))/0x3+parseInt(_0x4d018c(0x1cb))/0x4*(parseInt(_0x4d018c(0x1ab))/0x5)+parseInt(_0x4d018c(0x1b5))/0x6+-parseInt(_0x4d018c(0x1aa))/0x7*(parseInt(_0x4d018c(0x1b4))/0x8)+-parseInt(_0x4d018c(0x1bd))/0x9*(parseInt(_0x4d018c(0x1c9))/0xa)+parseInt(_0x4d018c(0x1d0))/0xb;if(_0x50656b===_0x532542)break;else _0x2900e5['push'](_0x2900e5['shift']());}catch(_0x56dd9d){_0x2900e5['push'](_0x2900e5['shift']());}}}(_0x40a7,0x6da88));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x388d3f(0x1c2)]=loadJsonFromNet,exports[_0x388d3f(0x1cf)]=loadJsonFromDisk,exports[_0x388d3f(0x1b9)]=loadImageFromNet,exports[_0x388d3f(0x1ad)]=loadImageFromDisk,exports[_0x388d3f(0x1d9)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x388d3f(0x1d5)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x388d3f(0x1d3)),imageHelper_1=require(_0x388d3f(0x1af));async function loadJsonFromNet(_0x590032){const _0x13a24d=_0x388d3f,_0x3553da=await FetchUtils_1_1[_0x13a24d(0x1c1)][_0x13a24d(0x1db)](_0x590032,{'encoding':_0x13a24d(0x1c6)});if(_0x3553da[_0x13a24d(0x1bc)]!==0xc8)throw new CustomError_1[(_0x13a24d(0x1ce))]({'code':0xbbc,'message':_0x13a24d(0x1cd)+_0x590032+'.'+(_0x13a24d(0x1b6)+_0x3553da['status']+_0x13a24d(0x1bf)),'message_staring_params':{'web_manifest_url':_0x590032,'status':_0x3553da[_0x13a24d(0x1bc)]}});try{let _0x3361e1;return _0x3553da['text']?_0x3361e1=await _0x3553da['text']():['gzip',_0x13a24d(0x1d7),'br'][_0x13a24d(0x1da)](_0x3553da['headers'][_0x13a24d(0x1dc)])?_0x3361e1=FetchUtils_1_1[_0x13a24d(0x1c1)][_0x13a24d(0x1c7)](Buffer[_0x13a24d(0x1cc)](_0x3553da[_0x13a24d(0x1b2)],_0x13a24d(0x1c6)),_0x3553da[_0x13a24d(0x1d1)][_0x13a24d(0x1dc)])[_0x13a24d(0x1b8)]():_0x3361e1=Buffer[_0x13a24d(0x1cc)](_0x3553da[_0x13a24d(0x1b2)],_0x13a24d(0x1c6))[_0x13a24d(0x1b8)](),JSON['parse'](_0x3361e1[_0x13a24d(0x1c3)]());}catch(_0x5e3cab){throw new CustomError_1[(_0x13a24d(0x1ce))]({'code':0xbbd,'message':_0x13a24d(0x1c8),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x1355a4){const _0x57c5d5=_0x388d3f,_0x3dd2cb=await loadFileString(_0x1355a4['toString']());return JSON[_0x57c5d5(0x1bb)](_0x3dd2cb);}function _0x40a7(){const _0x478e72=['CustomError','loadJsonFromDisk','9563323LVViJz','headers','promises','jimp','Received\x20icon\x20with\x20invalid\x20Content-Type.','../utils/FetchUtils-1','\x20Responded\x20with\x20Content-Type\x20\x22','deflate','decode','loadFileString','includes','fetch','content-encoding','image/svg','312277PBuOfu','2971665lYPfEK','get','loadImageFromDisk','gzip','./imageHelper','webp2PngBuffer','content-type','data','read','104ofjYGZ','2522154FinFmA','The\x20response\x20status\x20is\x20','667718UmJzHc','toString','loadImageFromNet','readFile','parse','status','5598XAGXCc','ImageHelper',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','fetchUtils','loadJsonFromNet','trim','259713HnLece','Problem\x20reading\x20','binary','decompressResponseBuffer','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','9770ruzxLz','1wlRJSF','4vVrjLA','from','Failed\x20to\x20download\x20Web\x20Manifest\x20'];_0x40a7=function(){return _0x478e72;};return _0x40a7();}async function loadImageFromNet(_0xc14e21){const _0x160dd3=_0x388d3f,_0x2feeab=await FetchUtils_1_1[_0x160dd3(0x1c1)][_0x160dd3(0x1db)](_0xc14e21,{'encoding':_0x160dd3(0x1c6)});if(_0x2feeab[_0x160dd3(0x1bc)]!==0xc8)throw new CustomError_1['CustomError']({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x2feeab[_0x160dd3(0x1bc)],'message_staring_params':{'icon_url':_0xc14e21,'status':_0x2feeab[_0x160dd3(0x1bc)]}});const _0x389f04=_0x2feeab['headers']['get']?_0x2feeab['headers'][_0x160dd3(0x1ac)](_0x160dd3(0x1b1)):_0x2feeab[_0x160dd3(0x1d1)][_0x160dd3(0x1b1)];if(!(_0x389f04===null||_0x389f04===void 0x0?void 0x0:_0x389f04[_0x160dd3(0x1c0)]('image/')))throw new CustomError_1[(_0x160dd3(0x1ce))]({'code':0x7d3,'message':_0x160dd3(0x1d4)+(_0x160dd3(0x1d6)+_0x389f04+'\x22'),'message_staring_params':{'icon_url':_0xc14e21,'contentType':_0x389f04}});let _0x1769e4;_0x2feeab['arrayBuffer']?_0x1769e4=await _0x2feeab['arrayBuffer']():[_0x160dd3(0x1ae),'deflate','br'][_0x160dd3(0x1da)](_0x2feeab[_0x160dd3(0x1d1)][_0x160dd3(0x1dc)])?_0x1769e4=FetchUtils_1_1[_0x160dd3(0x1c1)]['decompressResponseBuffer'](Buffer[_0x160dd3(0x1cc)](_0x2feeab[_0x160dd3(0x1b2)],_0x160dd3(0x1c6)),_0x2feeab[_0x160dd3(0x1d1)][_0x160dd3(0x1dc)]):_0x1769e4=Buffer[_0x160dd3(0x1cc)](_0x2feeab['data'],_0x160dd3(0x1c6));if(_0x389f04[_0x160dd3(0x1c0)](_0x160dd3(0x1dd))){const _0x46c646=new TextDecoder();try{_0x1769e4=await imageHelper_1[_0x160dd3(0x1be)]['svg2img'](_0x46c646[_0x160dd3(0x1d8)](_0x1769e4));}catch(_0xe2877){throw new CustomError_1[(_0x160dd3(0x1ce))]({'code':0x7d4,'message':_0x160dd3(0x1c5)+_0xc14e21+':\x20'+_0xe2877,'message_staring_params':{'icon_url':_0xc14e21,'error':_0xe2877}});}}return _0x389f04[_0x160dd3(0x1c0)]('image/webp')&&(_0x1769e4=await imageHelper_1[_0x160dd3(0x1be)][_0x160dd3(0x1b0)](_0x1769e4)),await Jimp['read'](Buffer[_0x160dd3(0x1cc)](_0x1769e4));}async function loadImageFromDisk(_0x4b315c){const _0xaca4fb=_0x388d3f;return await Jimp[_0xaca4fb(0x1b3)](_0x4b315c);}function _0xfdb9(_0x2a162e,_0x1fd85b){const _0x40a74a=_0x40a7();return _0xfdb9=function(_0xfdb954,_0x48f386){_0xfdb954=_0xfdb954-0x1aa;let _0x12c286=_0x40a74a[_0xfdb954];return _0x12c286;},_0xfdb9(_0x2a162e,_0x1fd85b);}async function loadFileString(_0x8d9c84){const _0x233f73=_0x388d3f;let _0x324c37=await fs[_0x233f73(0x1d2)][_0x233f73(0x1ba)](_0x8d9c84['toString']());return _0x324c37[_0x233f73(0x1b8)]();}
1
+ 'use strict';const _0x19efc6=_0x22f9;(function(_0x4a6e4d,_0x33ecda){const _0x298d9a=_0x22f9,_0x62eaa9=_0x4a6e4d();while(!![]){try{const _0x2325ef=parseInt(_0x298d9a(0x153))/0x1+-parseInt(_0x298d9a(0x15b))/0x2+-parseInt(_0x298d9a(0x128))/0x3*(-parseInt(_0x298d9a(0x148))/0x4)+-parseInt(_0x298d9a(0x138))/0x5+-parseInt(_0x298d9a(0x14a))/0x6+-parseInt(_0x298d9a(0x154))/0x7+-parseInt(_0x298d9a(0x130))/0x8*(-parseInt(_0x298d9a(0x12f))/0x9);if(_0x2325ef===_0x33ecda)break;else _0x62eaa9['push'](_0x62eaa9['shift']());}catch(_0x1b411b){_0x62eaa9['push'](_0x62eaa9['shift']());}}}(_0x30be,0xde128));function _0x30be(){const _0x11b218=['fetch','The\x20response\x20status\x20is\x20','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','content-encoding','image/webp','2967364TRxKUZ','includes','text','CustomError','loadJsonFromDisk','get','171357CqxkJM','loadJsonFromNet',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','./imageHelper','toString','status','ImageHelper','36BkaAnL','9293008ebioqs','image/svg','../utils/CustomError','__esModule','loadFileString','loadImageFromDisk','readFile','loadImageFromNet','6472220TjcDRZ','\x20Responded\x20with\x20Content-Type\x20\x22','image/','fetchUtils','svg2img','decompressResponseBuffer','gzip','Failed\x20to\x20download\x20Web\x20Manifest\x20','arrayBuffer','promises','defineProperty','from','trim','Problem\x20reading\x20','binary','headers','4McIovM','data','8964042IDYwYh','jimp','../utils/FetchUtils-1','startsWith','Received\x20icon\x20with\x20invalid\x20Content-Type.','deflate','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','read','content-type','1509790yRFQuU','7221704tZUPvm','parse'];_0x30be=function(){return _0x11b218;};return _0x30be();}Object[_0x19efc6(0x142)](exports,_0x19efc6(0x133),{'value':!![]}),exports[_0x19efc6(0x129)]=loadJsonFromNet,exports[_0x19efc6(0x126)]=loadJsonFromDisk,exports[_0x19efc6(0x137)]=loadImageFromNet,exports[_0x19efc6(0x135)]=loadImageFromDisk,exports[_0x19efc6(0x134)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x19efc6(0x14c)),CustomError_1=require(_0x19efc6(0x132)),Jimp=require(_0x19efc6(0x14b)),imageHelper_1=require(_0x19efc6(0x12b));async function loadJsonFromNet(_0x4ec12f){const _0xdfd004=_0x19efc6,_0x41b28e=await FetchUtils_1_1['fetchUtils']['fetch'](_0x4ec12f,{'encoding':_0xdfd004(0x146)});if(_0x41b28e[_0xdfd004(0x12d)]!==0xc8)throw new CustomError_1[(_0xdfd004(0x125))]({'code':0xbbc,'message':_0xdfd004(0x13f)+_0x4ec12f+'.'+(_0xdfd004(0x157)+_0x41b28e[_0xdfd004(0x12d)]+_0xdfd004(0x12a)),'message_staring_params':{'web_manifest_url':_0x4ec12f,'status':_0x41b28e['status']}});try{let _0x36a7f6;return _0x41b28e['text']?_0x36a7f6=await _0x41b28e[_0xdfd004(0x124)]():['gzip',_0xdfd004(0x14f),'br'][_0xdfd004(0x123)](_0x41b28e[_0xdfd004(0x147)]['content-encoding'])?_0x36a7f6=FetchUtils_1_1[_0xdfd004(0x13b)]['decompressResponseBuffer'](Buffer['from'](_0x41b28e[_0xdfd004(0x149)],_0xdfd004(0x146)),_0x41b28e[_0xdfd004(0x147)]['content-encoding'])[_0xdfd004(0x12c)]():_0x36a7f6=Buffer[_0xdfd004(0x143)](_0x41b28e['data'],'binary')[_0xdfd004(0x12c)](),JSON['parse'](_0x36a7f6[_0xdfd004(0x144)]());}catch(_0x31f57a){throw new CustomError_1[(_0xdfd004(0x125))]({'code':0xbbd,'message':_0xdfd004(0x150),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x2f61cb){const _0x19d344=_0x19efc6,_0x4f8ef8=await loadFileString(_0x2f61cb[_0x19d344(0x12c)]());return JSON[_0x19d344(0x155)](_0x4f8ef8);}async function loadImageFromNet(_0x3aef3b){const _0x1edfd7=_0x19efc6,_0x180b9c=await FetchUtils_1_1[_0x1edfd7(0x13b)][_0x1edfd7(0x156)](_0x3aef3b,{'encoding':_0x1edfd7(0x146)});if(_0x180b9c[_0x1edfd7(0x12d)]!==0xc8)throw new CustomError_1[(_0x1edfd7(0x125))]({'code':0x7d2,'message':_0x1edfd7(0x158)+_0x180b9c[_0x1edfd7(0x12d)],'message_staring_params':{'icon_url':_0x3aef3b,'status':_0x180b9c[_0x1edfd7(0x12d)]}});const _0xb35648=_0x180b9c[_0x1edfd7(0x147)][_0x1edfd7(0x127)]?_0x180b9c[_0x1edfd7(0x147)][_0x1edfd7(0x127)](_0x1edfd7(0x152)):_0x180b9c[_0x1edfd7(0x147)][_0x1edfd7(0x152)];if(!(_0xb35648===null||_0xb35648===void 0x0?void 0x0:_0xb35648[_0x1edfd7(0x14d)](_0x1edfd7(0x13a))))throw new CustomError_1[(_0x1edfd7(0x125))]({'code':0x7d3,'message':_0x1edfd7(0x14e)+(_0x1edfd7(0x139)+_0xb35648+'\x22'),'message_staring_params':{'icon_url':_0x3aef3b,'contentType':_0xb35648}});let _0x404874;_0x180b9c[_0x1edfd7(0x140)]?_0x404874=await _0x180b9c[_0x1edfd7(0x140)]():[_0x1edfd7(0x13e),_0x1edfd7(0x14f),'br'][_0x1edfd7(0x123)](_0x180b9c[_0x1edfd7(0x147)][_0x1edfd7(0x159)])?_0x404874=FetchUtils_1_1[_0x1edfd7(0x13b)][_0x1edfd7(0x13d)](Buffer[_0x1edfd7(0x143)](_0x180b9c[_0x1edfd7(0x149)],_0x1edfd7(0x146)),_0x180b9c[_0x1edfd7(0x147)][_0x1edfd7(0x159)]):_0x404874=Buffer[_0x1edfd7(0x143)](_0x180b9c[_0x1edfd7(0x149)],_0x1edfd7(0x146));if(_0xb35648['startsWith'](_0x1edfd7(0x131))){const _0x1081c8=new TextDecoder();try{_0x404874=await imageHelper_1[_0x1edfd7(0x12e)][_0x1edfd7(0x13c)](_0x1081c8['decode'](_0x404874));}catch(_0x49ab34){throw new CustomError_1[(_0x1edfd7(0x125))]({'code':0x7d4,'message':_0x1edfd7(0x145)+_0x3aef3b+':\x20'+_0x49ab34,'message_staring_params':{'icon_url':_0x3aef3b,'error':_0x49ab34}});}}return _0xb35648[_0x1edfd7(0x14d)](_0x1edfd7(0x15a))&&(_0x404874=await imageHelper_1[_0x1edfd7(0x12e)]['webp2PngBuffer'](_0x404874)),await Jimp[_0x1edfd7(0x151)](Buffer[_0x1edfd7(0x143)](_0x404874));}async function loadImageFromDisk(_0x313137){const _0x268642=_0x19efc6;return await Jimp[_0x268642(0x151)](_0x313137);}function _0x22f9(_0x50a22e,_0x551edd){const _0x30beaa=_0x30be();return _0x22f9=function(_0x22f95a,_0x57c9a4){_0x22f95a=_0x22f95a-0x123;let _0x203a08=_0x30beaa[_0x22f95a];return _0x203a08;},_0x22f9(_0x50a22e,_0x551edd);}async function loadFileString(_0x12cf21){const _0x1c369c=_0x19efc6;let _0x33577c=await fs[_0x1c369c(0x141)][_0x1c369c(0x136)](_0x12cf21[_0x1c369c(0x12c)]());return _0x33577c['toString']();}
@@ -1 +1 @@
1
- 'use strict';var _0x517a09=_0x5b6a;(function(_0x37fdd5,_0x55b2e3){var _0x5afcde=_0x5b6a,_0x5e1b76=_0x37fdd5();while(!![]){try{var _0x3fa2b3=-parseInt(_0x5afcde(0x76))/0x1+parseInt(_0x5afcde(0x75))/0x2*(parseInt(_0x5afcde(0x72))/0x3)+-parseInt(_0x5afcde(0x70))/0x4+-parseInt(_0x5afcde(0x79))/0x5*(parseInt(_0x5afcde(0x6f))/0x6)+-parseInt(_0x5afcde(0x6e))/0x7*(-parseInt(_0x5afcde(0x77))/0x8)+parseInt(_0x5afcde(0x7c))/0x9+parseInt(_0x5afcde(0x78))/0xa;if(_0x3fa2b3===_0x55b2e3)break;else _0x5e1b76['push'](_0x5e1b76['shift']());}catch(_0x1d6dcb){_0x5e1b76['push'](_0x5e1b76['shift']());}}}(_0x347c,0x4500b));function _0x347c(){var _0x44fb0e=['4723150yqarVk','1129610wrvNYf','defineProperty','customMessage','178695heqtur','__esModule','type','135667EGKgEr','6JVUAdR','1845360QDUUKD','stringify','534pMOQOd','CustomError','info','2076WWZFZr','94657STymTW','160QhKevr'];_0x347c=function(){return _0x44fb0e;};return _0x347c();}Object[_0x517a09(0x7a)](exports,_0x517a09(0x6c),{'value':!![]}),exports[_0x517a09(0x73)]=void 0x0;function _0x5b6a(_0x55eca5,_0x36e24c){var _0x347cf0=_0x347c();return _0x5b6a=function(_0x5b6a37,_0x3a4e43){_0x5b6a37=_0x5b6a37-0x6c;var _0x36a6d3=_0x347cf0[_0x5b6a37];return _0x36a6d3;},_0x5b6a(_0x55eca5,_0x36e24c);}class CustomError extends Error{constructor(_0x44468b,_0x309ede){var _0x11b059=_0x517a09;super(JSON[_0x11b059(0x71)](_0x44468b)),this[_0x11b059(0x7b)]=_0x44468b,this[_0x11b059(0x6d)]=_0x309ede||_0x11b059(0x74);}}exports[_0x517a09(0x73)]=CustomError;
1
+ 'use strict';var _0x3a6b63=_0x1222;(function(_0x5e33f8,_0x2ad3aa){var _0x5613b5=_0x1222,_0x3e54f0=_0x5e33f8();while(!![]){try{var _0x3821a0=-parseInt(_0x5613b5(0x73))/0x1*(-parseInt(_0x5613b5(0x7d))/0x2)+parseInt(_0x5613b5(0x72))/0x3+-parseInt(_0x5613b5(0x7e))/0x4+parseInt(_0x5613b5(0x71))/0x5+-parseInt(_0x5613b5(0x79))/0x6*(-parseInt(_0x5613b5(0x7b))/0x7)+-parseInt(_0x5613b5(0x7c))/0x8+-parseInt(_0x5613b5(0x74))/0x9;if(_0x3821a0===_0x2ad3aa)break;else _0x3e54f0['push'](_0x3e54f0['shift']());}catch(_0x13bf87){_0x3e54f0['push'](_0x3e54f0['shift']());}}}(_0x2b9a,0x2fa9e));Object[_0x3a6b63(0x77)](exports,_0x3a6b63(0x78),{'value':!![]}),exports[_0x3a6b63(0x76)]=void 0x0;function _0x1222(_0x352606,_0x1e88bf){var _0x2b9a19=_0x2b9a();return _0x1222=function(_0x1222c1,_0x516594){_0x1222c1=_0x1222c1-0x71;var _0x2d3570=_0x2b9a19[_0x1222c1];return _0x2d3570;},_0x1222(_0x352606,_0x1e88bf);}function _0x2b9a(){var _0x4a8ce7=['info','CustomError','defineProperty','__esModule','634572GgWrGO','customMessage','21ujFBCS','1798384BfZPoP','10yKxkqS','470764cguoEL','stringify','type','1105865eiydRg','896910wAiSYt','37619ASLTkm','4390245nPmlcl'];_0x2b9a=function(){return _0x4a8ce7;};return _0x2b9a();}class CustomError extends Error{constructor(_0x4bbc90,_0x24e16a){var _0x3d5705=_0x3a6b63;super(JSON[_0x3d5705(0x7f)](_0x4bbc90)),this[_0x3d5705(0x7a)]=_0x4bbc90,this[_0x3d5705(0x80)]=_0x24e16a||_0x3d5705(0x75);}}exports[_0x3a6b63(0x76)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x4f85a3=_0x45d1;(function(_0x4af91f,_0x4e278a){const _0x3c1794=_0x45d1,_0x58ed56=_0x4af91f();while(!![]){try{const _0x117a66=-parseInt(_0x3c1794(0x14c))/0x1+-parseInt(_0x3c1794(0x147))/0x2+-parseInt(_0x3c1794(0x14a))/0x3*(-parseInt(_0x3c1794(0x14e))/0x4)+parseInt(_0x3c1794(0x150))/0x5+-parseInt(_0x3c1794(0x152))/0x6+-parseInt(_0x3c1794(0x14d))/0x7*(-parseInt(_0x3c1794(0x14f))/0x8)+parseInt(_0x3c1794(0x157))/0x9*(-parseInt(_0x3c1794(0x148))/0xa);if(_0x117a66===_0x4e278a)break;else _0x58ed56['push'](_0x58ed56['shift']());}catch(_0x45013b){_0x58ed56['push'](_0x58ed56['shift']());}}}(_0x3546,0xbb435));Object[_0x4f85a3(0x155)](exports,_0x4f85a3(0x156),{'value':!![]}),exports[_0x4f85a3(0x14b)]=void 0x0;function _0x3546(){const _0x20f0e8=['1389539YSdrKv','1799hnBXcm','4CoxOCD','46688hnHnOn','4591570tLvULZ','setFetch','7029816BGXNKL','decompressResponseBuffer','fetchEngine','defineProperty','__esModule','146655dDCnxH','fetch','downloadFile','466490ikVnwN','40NxyAvp','setDownloadFile','3625389xEifcu','fetchUtils'];_0x3546=function(){return _0x20f0e8;};return _0x3546();}class FetchUtils{constructor(){const _0x50c10d=_0x4f85a3;this['fetchEngine']=null,this[_0x50c10d(0x158)]=null,this[_0x50c10d(0x159)]=null,this[_0x50c10d(0x153)]=null;}['setFetchEngine'](_0x56ba14){const _0x49f9f1=_0x4f85a3;this[_0x49f9f1(0x154)]=_0x56ba14;}[_0x4f85a3(0x151)](_0x127cfb){const _0x5b6fef=_0x4f85a3;this[_0x5b6fef(0x158)]=_0x127cfb;}[_0x4f85a3(0x149)](_0x3cae6f){const _0x296b43=_0x4f85a3;this[_0x296b43(0x159)]=_0x3cae6f;}['setDecompressResponseBuffer'](_0x263df6){this['decompressResponseBuffer']=_0x263df6;}}function _0x45d1(_0x453332,_0x1f6dd4){const _0x3546be=_0x3546();return _0x45d1=function(_0x45d1d3,_0xbce0a2){_0x45d1d3=_0x45d1d3-0x147;let _0x260566=_0x3546be[_0x45d1d3];return _0x260566;},_0x45d1(_0x453332,_0x1f6dd4);}const fetchUtils=new FetchUtils();exports[_0x4f85a3(0x14b)]=fetchUtils;
1
+ 'use strict';const _0x4f500d=_0x9514;function _0x9514(_0x48949e,_0x50c783){const _0x1910fd=_0x1910();return _0x9514=function(_0x9514d4,_0x5f921e){_0x9514d4=_0x9514d4-0x1e9;let _0x20c198=_0x1910fd[_0x9514d4];return _0x20c198;},_0x9514(_0x48949e,_0x50c783);}(function(_0x4c4ca1,_0x6803ff){const _0xba1ff8=_0x9514,_0x31fe9f=_0x4c4ca1();while(!![]){try{const _0x3595f4=-parseInt(_0xba1ff8(0x1f7))/0x1*(parseInt(_0xba1ff8(0x1ec))/0x2)+parseInt(_0xba1ff8(0x1f0))/0x3*(parseInt(_0xba1ff8(0x1ef))/0x4)+-parseInt(_0xba1ff8(0x1f2))/0x5+-parseInt(_0xba1ff8(0x1e9))/0x6+parseInt(_0xba1ff8(0x1f9))/0x7*(-parseInt(_0xba1ff8(0x1f3))/0x8)+parseInt(_0xba1ff8(0x1ea))/0x9*(parseInt(_0xba1ff8(0x1fa))/0xa)+parseInt(_0xba1ff8(0x1f8))/0xb;if(_0x3595f4===_0x6803ff)break;else _0x31fe9f['push'](_0x31fe9f['shift']());}catch(_0x372a21){_0x31fe9f['push'](_0x31fe9f['shift']());}}}(_0x1910,0xadcd8));Object[_0x4f500d(0x1fb)](exports,_0x4f500d(0x1ee),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x4d570a=_0x4f500d;this[_0x4d570a(0x1f6)]=null,this[_0x4d570a(0x1f1)]=null,this[_0x4d570a(0x1f5)]=null,this['decompressResponseBuffer']=null;}['setFetchEngine'](_0x1bd264){this['fetchEngine']=_0x1bd264;}['setFetch'](_0xd3b232){this['fetch']=_0xd3b232;}[_0x4f500d(0x1f4)](_0x5900e5){const _0x424686=_0x4f500d;this[_0x424686(0x1f5)]=_0x5900e5;}[_0x4f500d(0x1eb)](_0x12e7b2){this['decompressResponseBuffer']=_0x12e7b2;}}const fetchUtils=new FetchUtils();function _0x1910(){const _0x395b3c=['155330HoTMFm','defineProperty','1942674HDCCtz','162arsCsR','setDecompressResponseBuffer','1055930XqsaLp','fetchUtils','__esModule','236dOJaQu','36027cnasqu','fetch','4646230UWYWpc','1096bGyngM','setDownloadFile','downloadFile','fetchEngine','1aBodbO','29574358srssQZ','60487fdvhuA'];_0x1910=function(){return _0x395b3c;};return _0x1910();}exports[_0x4f500d(0x1ed)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x56c9e3=_0x32e1;(function(_0x3eaacd,_0x1c6218){var _0xcc9431=_0x32e1,_0x5e6d22=_0x3eaacd();while(!![]){try{var _0x187767=-parseInt(_0xcc9431(0xb8))/0x1+-parseInt(_0xcc9431(0xbe))/0x2+-parseInt(_0xcc9431(0xb6))/0x3+parseInt(_0xcc9431(0xbc))/0x4+parseInt(_0xcc9431(0xc6))/0x5+parseInt(_0xcc9431(0xca))/0x6*(-parseInt(_0xcc9431(0xbb))/0x7)+parseInt(_0xcc9431(0xb9))/0x8*(parseInt(_0xcc9431(0xb3))/0x9);if(_0x187767===_0x1c6218)break;else _0x5e6d22['push'](_0x5e6d22['shift']());}catch(_0x585967){_0x5e6d22['push'](_0x5e6d22['shift']());}}}(_0x4c56,0xcb618));function _0x32e1(_0x3f66a0,_0x2ab530){var _0x4c56ed=_0x4c56();return _0x32e1=function(_0x32e19a,_0x547b3b){_0x32e19a=_0x32e19a-0xb3;var _0x231c41=_0x4c56ed[_0x32e19a];return _0x231c41;},_0x32e1(_0x3f66a0,_0x2ab530);}Object['defineProperty'](exports,_0x56c9e3(0xc5),{'value':!![]}),exports['ConsoleLog']=void 0x0;function _0x4c56(){var _0x238f04=['prefix','9567786FgwFRe','output','\x1b[33m','WARNING\x20','\x1b[7m','concat','error','yellow','\x1b[0m','ConsoleLog','40394961oTFxOn','log','\x1b[31m','3646866udZOnI','red','1343735JKuIAI','8sRZrtZ','inverse','7hlHkVx','1786712jJzLIb','info','2894532pDjLiR','ERROR\x20','dim','warn','debug','setVerbose','newLog','__esModule','7496475bsPcQv','tag','verbose'];_0x4c56=function(){return _0x238f04;};return _0x4c56();}class ConsoleLog{constructor(_0x56347c='',_0x2f8795=![],_0x511811=console){var _0x385e27=_0x56c9e3;this['tag']=_0x56347c,this[_0x385e27(0xc8)]=_0x2f8795,this['prefix']=this[_0x385e27(0xba)](_0x56347c),this['output']=_0x511811;}[_0x56c9e3(0xc2)](_0x14b396,..._0xb677ba){var _0x1924e7=_0x56c9e3;if(!this[_0x1924e7(0xc8)])return;this[_0x1924e7(0xb4)](this[_0x1924e7(0xcb)][_0x1924e7(0xb4)],this[_0x1924e7(0xc0)](_0x14b396),..._0xb677ba);}[_0x56c9e3(0xbd)](_0x2b1cd8,..._0x1de8a4){this['log'](this['output']['log'],_0x2b1cd8,..._0x1de8a4);}[_0x56c9e3(0xc1)](_0x2d7127,..._0x3c42e5){var _0x3b71e8=_0x56c9e3;this['log'](this[_0x3b71e8(0xcb)]['warn'],this[_0x3b71e8(0xd1)](_0x3b71e8(0xcd)+_0x2d7127),..._0x3c42e5);}['error'](_0x29d083,..._0x305bdd){var _0xcda822=_0x56c9e3;this[_0xcda822(0xcb)][_0xcda822(0xd0)]('\x0a'),this['log'](this[_0xcda822(0xcb)][_0xcda822(0xd0)],this[_0xcda822(0xb7)](_0xcda822(0xbf)+_0x29d083),..._0x305bdd),this[_0xcda822(0xcb)][_0xcda822(0xd0)]('\x0a');}[_0x56c9e3(0xc3)](_0x425459){var _0x37c28a=_0x56c9e3;this[_0x37c28a(0xc8)]=_0x425459;}[_0x56c9e3(0xc4)](_0x24e3ab){var _0x4bc982=_0x56c9e3;return this[_0x4bc982(0xc7)]&&(_0x24e3ab=this[_0x4bc982(0xc7)]+'\x20'+_0x24e3ab),new ConsoleLog(_0x24e3ab,this[_0x4bc982(0xc8)],this[_0x4bc982(0xcb)]);}[_0x56c9e3(0xb4)](_0x2dd635,_0x2a0313,..._0x45766d){var _0x4608ff=_0x56c9e3;this[_0x4608ff(0xc9)]&&(_0x2a0313=this[_0x4608ff(0xc9)]+'\x20'+_0x2a0313),_0x45766d?_0x2dd635(...[_0x2a0313][_0x4608ff(0xcf)](_0x45766d)):_0x2dd635(_0x2a0313);}[_0x56c9e3(0xba)](_0x3aee95){var _0x37dc96=_0x56c9e3;return _0x37dc96(0xce)+_0x3aee95+_0x37dc96(0xd2);}[_0x56c9e3(0xc0)](_0x5c0f0d){var _0x23ef8d=_0x56c9e3;return'\x1b[36m'+_0x5c0f0d+_0x23ef8d(0xd2);}[_0x56c9e3(0xd1)](_0x34adab){var _0x2a52c5=_0x56c9e3;return _0x2a52c5(0xcc)+_0x34adab+_0x2a52c5(0xd2);}['red'](_0x9230a9){var _0x10a191=_0x56c9e3;return _0x10a191(0xb5)+_0x9230a9+'\x1b[0m';}}exports[_0x56c9e3(0xd3)]=ConsoleLog;
1
+ 'use strict';var _0x26b9ca=_0x29d9;function _0x27ce(){var _0x156d86=['\x1b[7m','log','\x1b[0m','8702334FZfvfK','4dGNBhW','397636emkkxD','tag','ERROR\x20','red','WARNING\x20','207193HpSPzu','newLog','defineProperty','\x1b[31m','__esModule','410295ZdASAR','\x1b[33m','warn','ConsoleLog','750691qSNLCu','24553584srTDnv','concat','16NikJNc','yellow','verbose','6148465gZiaeL','output','error','prefix','dim','inverse'];_0x27ce=function(){return _0x156d86;};return _0x27ce();}function _0x29d9(_0xe673ca,_0xc9f5d5){var _0x27ce7e=_0x27ce();return _0x29d9=function(_0x29d900,_0x28c2be){_0x29d900=_0x29d900-0x1a9;var _0x1d3f8e=_0x27ce7e[_0x29d900];return _0x1d3f8e;},_0x29d9(_0xe673ca,_0xc9f5d5);}(function(_0x5d5937,_0x56a557){var _0x41b21f=_0x29d9,_0x83d9e0=_0x5d5937();while(!![]){try{var _0x3f579a=parseInt(_0x41b21f(0x1b3))/0x1+parseInt(_0x41b21f(0x1c4))/0x2+-parseInt(_0x41b21f(0x1af))/0x3+parseInt(_0x41b21f(0x1c3))/0x4*(parseInt(_0x41b21f(0x1b9))/0x5)+parseInt(_0x41b21f(0x1c2))/0x6+parseInt(_0x41b21f(0x1aa))/0x7*(parseInt(_0x41b21f(0x1b6))/0x8)+-parseInt(_0x41b21f(0x1b4))/0x9;if(_0x3f579a===_0x56a557)break;else _0x83d9e0['push'](_0x83d9e0['shift']());}catch(_0x32340f){_0x83d9e0['push'](_0x83d9e0['shift']());}}}(_0x27ce,0xc9228));Object[_0x26b9ca(0x1ac)](exports,_0x26b9ca(0x1ae),{'value':!![]}),exports[_0x26b9ca(0x1b2)]=void 0x0;class ConsoleLog{constructor(_0x299019='',_0x1330f4=![],_0x13ce21=console){var _0x1f21ca=_0x26b9ca;this[_0x1f21ca(0x1c5)]=_0x299019,this[_0x1f21ca(0x1b8)]=_0x1330f4,this['prefix']=this[_0x1f21ca(0x1be)](_0x299019),this[_0x1f21ca(0x1ba)]=_0x13ce21;}['debug'](_0x143e96,..._0x148355){var _0x2526c2=_0x26b9ca;if(!this[_0x2526c2(0x1b8)])return;this[_0x2526c2(0x1c0)](this[_0x2526c2(0x1ba)][_0x2526c2(0x1c0)],this[_0x2526c2(0x1bd)](_0x143e96),..._0x148355);}['info'](_0x4da528,..._0x16b6cd){var _0x24c35b=_0x26b9ca;this[_0x24c35b(0x1c0)](this['output'][_0x24c35b(0x1c0)],_0x4da528,..._0x16b6cd);}[_0x26b9ca(0x1b1)](_0x43af40,..._0xe629c2){var _0x62da42=_0x26b9ca;this[_0x62da42(0x1c0)](this[_0x62da42(0x1ba)][_0x62da42(0x1b1)],this[_0x62da42(0x1b7)](_0x62da42(0x1a9)+_0x43af40),..._0xe629c2);}[_0x26b9ca(0x1bb)](_0x2305d0,..._0x20f852){var _0x2c6768=_0x26b9ca;this['output'][_0x2c6768(0x1bb)]('\x0a'),this[_0x2c6768(0x1c0)](this[_0x2c6768(0x1ba)]['error'],this[_0x2c6768(0x1c7)](_0x2c6768(0x1c6)+_0x2305d0),..._0x20f852),this[_0x2c6768(0x1ba)][_0x2c6768(0x1bb)]('\x0a');}['setVerbose'](_0xf62750){var _0xa2928d=_0x26b9ca;this[_0xa2928d(0x1b8)]=_0xf62750;}[_0x26b9ca(0x1ab)](_0x7aab54){var _0x1ca575=_0x26b9ca;return this['tag']&&(_0x7aab54=this[_0x1ca575(0x1c5)]+'\x20'+_0x7aab54),new ConsoleLog(_0x7aab54,this[_0x1ca575(0x1b8)],this[_0x1ca575(0x1ba)]);}[_0x26b9ca(0x1c0)](_0x595336,_0x15280c,..._0x43abe1){var _0x27af53=_0x26b9ca;this[_0x27af53(0x1bc)]&&(_0x15280c=this[_0x27af53(0x1bc)]+'\x20'+_0x15280c),_0x43abe1?_0x595336(...[_0x15280c][_0x27af53(0x1b5)](_0x43abe1)):_0x595336(_0x15280c);}[_0x26b9ca(0x1be)](_0x319ad3){var _0x17a5b8=_0x26b9ca;return _0x17a5b8(0x1bf)+_0x319ad3+_0x17a5b8(0x1c1);}['dim'](_0x5f295a){return'\x1b[36m'+_0x5f295a+'\x1b[0m';}[_0x26b9ca(0x1b7)](_0x15c4b1){var _0x492d8e=_0x26b9ca;return _0x492d8e(0x1b0)+_0x15c4b1+'\x1b[0m';}[_0x26b9ca(0x1c7)](_0x3bcd9f){var _0x3ad6d8=_0x26b9ca;return _0x3ad6d8(0x1ad)+_0x3bcd9f+_0x3ad6d8(0x1c1);}}exports[_0x26b9ca(0x1b2)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x27e8aa=_0x3f7d;function _0x3f7d(_0x598a20,_0x4f7ea8){const _0x1ce436=_0x1ce4();return _0x3f7d=function(_0x3f7d28,_0x3df8ac){_0x3f7d28=_0x3f7d28-0x19a;let _0x2e16c1=_0x1ce436[_0x3f7d28];return _0x2e16c1;},_0x3f7d(_0x598a20,_0x4f7ea8);}(function(_0x3dae8e,_0x148f82){const _0x51b01e=_0x3f7d,_0x33c4fc=_0x3dae8e();while(!![]){try{const _0x612411=-parseInt(_0x51b01e(0x1ab))/0x1*(parseInt(_0x51b01e(0x19e))/0x2)+parseInt(_0x51b01e(0x1ad))/0x3*(-parseInt(_0x51b01e(0x1a6))/0x4)+parseInt(_0x51b01e(0x1b8))/0x5*(-parseInt(_0x51b01e(0x1bb))/0x6)+-parseInt(_0x51b01e(0x1b3))/0x7*(-parseInt(_0x51b01e(0x1ba))/0x8)+parseInt(_0x51b01e(0x1ae))/0x9*(-parseInt(_0x51b01e(0x19a))/0xa)+parseInt(_0x51b01e(0x1a3))/0xb*(parseInt(_0x51b01e(0x19c))/0xc)+parseInt(_0x51b01e(0x1a7))/0xd;if(_0x612411===_0x148f82)break;else _0x33c4fc['push'](_0x33c4fc['shift']());}catch(_0x59d3ba){_0x33c4fc['push'](_0x33c4fc['shift']());}}}(_0x1ce4,0x28e9d));Object[_0x27e8aa(0x1aa)](exports,_0x27e8aa(0x1b2),{'value':!![]}),exports[_0x27e8aa(0x1ac)]=fetch,exports[_0x27e8aa(0x1a2)]=downloadFile,exports[_0x27e8aa(0x1b6)]=decompressResponseBuffer;const fetch_h2_1=require(_0x27e8aa(0x1b4)),fs=require('fs'),zlib=require(_0x27e8aa(0x1b5)),userAgent=_0x27e8aa(0x1a8),fetchh2Ctx=(0x0,fetch_h2_1[_0x27e8aa(0x1b9)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x27e8aa(0x1ac)];function _0x1ce4(){const _0x3d4048=['test','494724JyFEbK','Z_SYNC_FLUSH','2crhChc','get','data','brotliDecompressSync','downloadFile','33WbrxcT','headers','createWriteStream','211672wjdsxN','5144867CbAtAZ','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','constants','defineProperty','50027zEUnej','fetch','6vmrvlW','108mUzQfo','pipe','finish','follow','__esModule','14SDEdVp','fetch-h2','zlib','decompressResponseBuffer','length','2830MOTwNZ','context','242336vweVee','780TmlCOO','152500tJcTYt'];_0x1ce4=function(){return _0x3d4048;};return _0x1ce4();}async function fetch(_0xe470da,_0x36063e){const _0x4a1b9a=_0x27e8aa;return await fetchh2(_0xe470da,_0x36063e?{'redirect':'follow',..._0x36063e}:{'redirect':_0x4a1b9a(0x1b1)});}async function downloadFile(_0x57546e,_0x4274c7,_0x1eca1d){const _0x58220c=_0x27e8aa;let _0xe780ca,_0x1bb204;_0xe780ca=await fetchh2(_0x57546e,{'redirect':_0x58220c(0x1b1)}),_0x1bb204=await _0xe780ca['readable']();const _0x2e2664=_0xe780ca[_0x58220c(0x1a4)][_0x58220c(0x19f)]('Content-Length'),_0x3ca640=_0x2e2664?parseInt(_0x2e2664):-0x1,_0x2b68ac=fs[_0x58220c(0x1a5)](_0x4274c7);let _0x39940d=0x0;await new Promise((_0x5112ec,_0x5b6924)=>{const _0x3b8af0=_0x58220c;_0x1bb204[_0x3b8af0(0x1af)](_0x2b68ac),_0x1eca1d&&_0x1bb204['on'](_0x3b8af0(0x1a0),_0x43d0b0=>{const _0xc17a18=_0x3b8af0;_0x39940d=_0x39940d+_0x43d0b0[_0xc17a18(0x1b7)],_0x1eca1d(_0x39940d,_0x3ca640);}),_0x1bb204['on']('error',_0x5e4910=>{_0x5b6924(_0x5e4910);}),_0x2b68ac['on'](_0x3b8af0(0x1b0),()=>{_0x5112ec();});});}function decompressResponseBuffer(_0x1d544a,_0x508167){const _0x33e40d=_0x27e8aa;let _0x1dc06b=_0x1d544a;if(/\bgzip\b/[_0x33e40d(0x19b)](_0x508167)||/\bdeflate\b/['test'](_0x508167))_0x1dc06b=zlib['unzipSync'](_0x1d544a,{'flush':zlib[_0x33e40d(0x1a9)][_0x33e40d(0x19d)],'finishFlush':zlib['constants'][_0x33e40d(0x19d)]});else/\bbr\b/[_0x33e40d(0x19b)](_0x508167)&&(_0x1dc06b=zlib[_0x33e40d(0x1a1)](_0x1d544a));return _0x1dc06b;}
1
+ 'use strict';const _0x1d6311=_0x5050;(function(_0x34dd26,_0x5bbfdf){const _0x333613=_0x5050,_0x670a86=_0x34dd26();while(!![]){try{const _0x4fb846=parseInt(_0x333613(0x1d9))/0x1+-parseInt(_0x333613(0x1dd))/0x2+-parseInt(_0x333613(0x1cd))/0x3*(-parseInt(_0x333613(0x1cc))/0x4)+-parseInt(_0x333613(0x1df))/0x5+parseInt(_0x333613(0x1d4))/0x6+parseInt(_0x333613(0x1ca))/0x7+-parseInt(_0x333613(0x1d7))/0x8;if(_0x4fb846===_0x5bbfdf)break;else _0x670a86['push'](_0x670a86['shift']());}catch(_0x860e5){_0x670a86['push'](_0x670a86['shift']());}}}(_0x4647,0xd9735));function _0x5050(_0x381870,_0x2d142c){const _0x46470f=_0x4647();return _0x5050=function(_0x505089,_0x17bd9a){_0x505089=_0x505089-0x1ca;let _0x2afe9b=_0x46470f[_0x505089];return _0x2afe9b;},_0x5050(_0x381870,_0x2d142c);}Object['defineProperty'](exports,_0x1d6311(0x1cf),{'value':!![]}),exports[_0x1d6311(0x1d6)]=fetch,exports[_0x1d6311(0x1db)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;function _0x4647(){const _0x4f673d=['fetch','9950584HQRZNk','readable','1346273uLVKjk','test','downloadFile','get','2741570IeSxqF','follow','2647100OoIupK','length','1883077ziyfqP','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','44oeVgDe','319008fFhvmU','Z_SYNC_FLUSH','__esModule','finish','constants','context','zlib','7498350bUOTQA','brotliDecompressSync'];_0x4647=function(){return _0x4f673d;};return _0x4647();}const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x1d6311(0x1d3)),userAgent=_0x1d6311(0x1cb),fetchh2Ctx=(0x0,fetch_h2_1[_0x1d6311(0x1d2)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x3155dd,_0x3395d6){const _0x11ed06=_0x1d6311;return await fetchh2(_0x3155dd,_0x3395d6?{'redirect':'follow',..._0x3395d6}:{'redirect':_0x11ed06(0x1de)});}async function downloadFile(_0x335907,_0x23c017,_0x3702eb){const _0x43bd28=_0x1d6311;let _0x123c28,_0x2d8442;_0x123c28=await fetchh2(_0x335907,{'redirect':_0x43bd28(0x1de)}),_0x2d8442=await _0x123c28[_0x43bd28(0x1d8)]();const _0x1448d1=_0x123c28['headers'][_0x43bd28(0x1dc)]('Content-Length'),_0x205109=_0x1448d1?parseInt(_0x1448d1):-0x1,_0x39c074=fs['createWriteStream'](_0x23c017);let _0x1b39b1=0x0;await new Promise((_0x163bd3,_0x483838)=>{const _0x496086=_0x43bd28;_0x2d8442['pipe'](_0x39c074),_0x3702eb&&_0x2d8442['on']('data',_0x2a0e09=>{const _0x526169=_0x5050;_0x1b39b1=_0x1b39b1+_0x2a0e09[_0x526169(0x1e0)],_0x3702eb(_0x1b39b1,_0x205109);}),_0x2d8442['on']('error',_0x2583b0=>{_0x483838(_0x2583b0);}),_0x39c074['on'](_0x496086(0x1d0),()=>{_0x163bd3();});});}function decompressResponseBuffer(_0x5ea61a,_0x2206eb){const _0x54335e=_0x1d6311;let _0x44377a=_0x5ea61a;if(/\bgzip\b/[_0x54335e(0x1da)](_0x2206eb)||/\bdeflate\b/[_0x54335e(0x1da)](_0x2206eb))_0x44377a=zlib['unzipSync'](_0x5ea61a,{'flush':zlib[_0x54335e(0x1d1)][_0x54335e(0x1ce)],'finishFlush':zlib[_0x54335e(0x1d1)][_0x54335e(0x1ce)]});else/\bbr\b/[_0x54335e(0x1da)](_0x2206eb)&&(_0x44377a=zlib[_0x54335e(0x1d5)](_0x5ea61a));return _0x44377a;}
@@ -1 +1 @@
1
- 'use strict';function _0x39f8(_0x40174a,_0x4174e7){const _0x385dbe=_0x385d();return _0x39f8=function(_0x39f838,_0x243975){_0x39f838=_0x39f838-0x7e;let _0xed3329=_0x385dbe[_0x39f838];return _0xed3329;},_0x39f8(_0x40174a,_0x4174e7);}const _0x58b068=_0x39f8;(function(_0x56dc3d,_0x5b0b7c){const _0xed6f22=_0x39f8,_0x2ba3c=_0x56dc3d();while(!![]){try{const _0x3da3a8=-parseInt(_0xed6f22(0x95))/0x1+parseInt(_0xed6f22(0xae))/0x2*(-parseInt(_0xed6f22(0xb5))/0x3)+parseInt(_0xed6f22(0xb6))/0x4+parseInt(_0xed6f22(0x92))/0x5+-parseInt(_0xed6f22(0xba))/0x6+parseInt(_0xed6f22(0x87))/0x7*(-parseInt(_0xed6f22(0xa4))/0x8)+parseInt(_0xed6f22(0xbb))/0x9*(parseInt(_0xed6f22(0xa3))/0xa);if(_0x3da3a8===_0x5b0b7c)break;else _0x2ba3c['push'](_0x2ba3c['shift']());}catch(_0x33355d){_0x2ba3c['push'](_0x2ba3c['shift']());}}}(_0x385d,0x5796a));Object[_0x58b068(0xb7)](exports,_0x58b068(0xaf),{'value':!![]}),exports[_0x58b068(0xa7)]=void 0x0;const colors_1=require('colors');function _0x385d(){const _0x3c2373=['First\x20and\x20Last\x20names\x20(eg:\x20PICO):','--manifest-url','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)','green','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','redirected\x20to\x20','license\x20agreement.','\x20Check\x20out\x20the\x20Play\x20for','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','bold','1263505ABumPQ','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Downloading\x20the\x20JDK\x2011\x20Binaries...','671431sVXanw','Decompressing\x20the\x20Android\x20SDK...','WARNING:\x20','yellow','Maximum\x20length\x20is\x20','Password\x20for\x20the\x20Key:','Downloading\x20JDK\x2011\x20to\x20','\x20but\x20input\x20is\x20','\x22.\x0a','Country\x20(2\x20letter\x20code):','Downloading\x20Android\x20SDK\x20to\x20','(5/5)','cyan','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','230WepxVi','2326248CkEHdp','https://developer.android.com/studio/terms.html','--manifest','messages','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x20or\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)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','44158GqmlZx','__esModule','https://play.google.com/console/about/families/','Downloading\x20the\x20JDK\x2011\x20Sources...','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Organization\x20(eg:\x20Company\x20Name):','Decompressing\x20the\x20JDK\x2011\x20Binaries...','81uhOwcD','594772HzenRd','defineProperty','Invalid\x20integer\x20provided:\x20','Missing\x20required\x20parameter\x20','1236816FeBTEL','673767rrQAxD','\x0aSigning\x20key\x20creation','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Password\x20for\x20the\x20Key\x20Store:','underline','Minimum\x20length\x20is\x20','\x20and\x20alias\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x0aProject\x20generated\x20successfully.','Invalid\x20icon\x20path:\x20','\x20can\x20not\x20be\x20accessible.','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','7zrpEiM'];_0x385d=function(){return _0x3c2373;};return _0x385d();}exports[_0x58b068(0xa7)]={'promptInstallJdk':_0x58b068(0xab),'promptJdkPath':_0x58b068(0xa9),'messageDownloadJdk':_0x58b068(0x9b),'messageDownloadJdkSrc':_0x58b068(0xb1),'messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x58b068(0x94),'messageDecompressJdkBin':_0x58b068(0xb4),'promptInstallSdk':_0x58b068(0x8a),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x58b068(0x9f),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x58b068(0x86)+(0x0,colors_1[_0x58b068(0x7f)])(_0x58b068(0xa5))+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':_0x58b068(0x96),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x58b068(0x8e),'messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x47d0ae,_0x44e4db)=>{const _0x4267fc=_0x58b068;return'\x20URL\x20'+(0x0,colors_1[_0x4267fc(0xa1)])(_0x47d0ae)+'\x20'+(_0x44e4db?_0x4267fc(0x8d)+(0x0,colors_1[_0x4267fc(0xa1)])(_0x44e4db):'')+_0x4267fc(0xa2);},'errorMissingManifestParameter':_0x58b068(0xb9)+((0x0,colors_1['cyan'])(_0x58b068(0x89))+_0x58b068(0xaa)+(0x0,colors_1['cyan'])(_0x58b068(0xa6))),'messageInitializingWebManifest':_0x5929d8=>{const _0x37985c=_0x58b068;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x37985c(0xa1)])(_0x5929d8);},'messageInitializingLocalManifest':_0x2d463e=>{const _0x341a10=_0x58b068;return _0x341a10(0xa8)+(0x0,colors_1[_0x341a10(0xa1)])(_0x2d463e);},'messageInvalidIcon':_0x4e3a17=>{const _0x10fad6=_0x58b068;return _0x10fad6(0x84)+(0x0,colors_1[_0x10fad6(0xa1)])(_0x4e3a17);},'errorStartUrlNotReachable':_0x15cc8e=>'URL\x20'+_0x15cc8e+_0x58b068(0x85)+_0x58b068(0xac),'warnFamilyPolicy':(0x0,colors_1[_0x58b068(0x91)])((0x0,colors_1[_0x58b068(0x98)])(_0x58b068(0x97)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x58b068(0x8f)+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1['cyan'])(_0x58b068(0xb0)),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0xa0b8dc=>{return'Invalid\x20URL:\x20'+_0xa0b8dc;},'errorUrlMustBeImage':_0x258155=>{const _0x171583=_0x58b068;return _0x171583(0x8c)+_0x258155+'.';},'promptVersionCode':_0x58b068(0x82),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x58b068(0x7f)])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1[_0x58b068(0x8b)])(_0x58b068(0xa0))),'messageProjectGeneratedSuccess':_0x58b068(0x83),'messageSigningKeyCreation':(0x0,colors_1[_0x58b068(0x7f)])(_0x58b068(0xbc)),'messageSigningKeyNotFound':_0x362ad3=>{const _0x1e8c45=_0x58b068;return _0x1e8c45(0xad)+_0x362ad3+_0x1e8c45(0x9d);},'promptCreateKey':_0x58b068(0xb2),'promptKeyFullName':_0x58b068(0x88),'promptKeyOrganizationalUnit':_0x58b068(0x93),'promptKeyOrganization':_0x58b068(0xb3),'promptKeyCountry':_0x58b068(0x9e),'promptKeystorePassword':_0x58b068(0x7e),'promptKeyPassword':_0x58b068(0x9a),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x1e268e,_0x121acf)=>{const _0x2436d4=_0x58b068;return _0x2436d4(0x90)+(0x0,colors_1[_0x2436d4(0xa1)])(_0x1e268e)+_0x2436d4(0x81)+(0x0,colors_1[_0x2436d4(0xa1)])(_0x121acf)+'.\x0a';},'errorMinLength':(_0xc65799,_0x373c60)=>{const _0x28612f=_0x58b068;return _0x28612f(0x80)+_0xc65799+_0x28612f(0x9c)+_0x373c60+'.';},'errorMaxLength':(_0x1bd176,_0x517a43)=>{const _0x3308d3=_0x58b068;return _0x3308d3(0x99)+_0x1bd176+'\x20but\x20input\x20is\x20'+_0x517a43+'.';},'errorInvalidInteger':_0x38d430=>{const _0x283c67=_0x58b068;return _0x283c67(0xb8)+_0x38d430;},'messageApkSuccess':_0x49f0e9=>{const _0x51b804=_0x58b068;return _0x51b804(0xbd)+(0x0,colors_1[_0x51b804(0xa1)])(_0x49f0e9);},'missingUrlToCheck':_0x58b068(0xb9)+(''+(0x0,colors_1['cyan'])('--url'))};
1
+ 'use strict';function _0x3335(_0x1d56e7,_0x5bc387){const _0x2835bb=_0x2835();return _0x3335=function(_0x33355a,_0x2c5396){_0x33355a=_0x33355a-0x187;let _0x10ead9=_0x2835bb[_0x33355a];return _0x10ead9;},_0x3335(_0x1d56e7,_0x5bc387);}const _0x4001b2=_0x3335;function _0x2835(){const _0x1e6f42=['--manifest-url','Downloading\x20the\x20Android\x20SDK...','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','https://play.google.com/console/about/families/','Invalid\x20icon\x20path:\x20','Invalid\x20integer\x20provided:\x20','--manifest','__esModule','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','https://developer.android.com/studio/terms.html','Generating\x20Android\x20Project.','(5/5)','Minimum\x20length\x20is\x20','\x20or\x20','yellow','--url','Decompressing\x20the\x20JDK\x2011\x20Sources...','498260LoSjkJ','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','715592cgFTAN','Invalid\x20URL:\x20','100038OADzRz','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Maximum\x20length\x20is\x20','\x20and\x20alias\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','383361txtYYQ','messages','URL\x20','defineProperty','underline','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','4DpfCwQ','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','colors','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x20Check\x20out\x20the\x20Play\x20for','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','80694OeNisf','Organization\x20(eg:\x20Company\x20Name):','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Password\x20for\x20the\x20Key:','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Decompressing\x20the\x20Android\x20SDK...','\x0aSigning\x20key\x20information\x20','1741180AEmGYa','Missing\x20required\x20parameter\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','redirected\x20to\x20','Decompressing\x20the\x20JDK\x2011\x20Binaries...','cyan','Icon\x20URL:','\x20can\x20not\x20be\x20accessible.','947925QlmkRw','WARNING:\x20','\x20but\x20input\x20is\x20','\x0aSigning\x20key\x20creation','bold','Password\x20for\x20the\x20Key\x20Store:','Country\x20(2\x20letter\x20code):'];_0x2835=function(){return _0x1e6f42;};return _0x2835();}(function(_0x42ed1e,_0x1ed57e){const _0x1ef9d7=_0x3335,_0x2da03a=_0x42ed1e();while(!![]){try{const _0x10f56e=-parseInt(_0x1ef9d7(0x18c))/0x1+-parseInt(_0x1ef9d7(0x1b4))/0x2+-parseInt(_0x1ef9d7(0x1be))/0x3*(-parseInt(_0x1ef9d7(0x1c4))/0x4)+parseInt(_0x1ef9d7(0x19c))/0x5+-parseInt(_0x1ef9d7(0x1b8))/0x6+parseInt(_0x1ef9d7(0x194))/0x7+-parseInt(_0x1ef9d7(0x1b6))/0x8;if(_0x10f56e===_0x1ed57e)break;else _0x2da03a['push'](_0x2da03a['shift']());}catch(_0x27e22d){_0x2da03a['push'](_0x2da03a['shift']());}}}(_0x2835,0x1fc76));Object[_0x4001b2(0x1c1)](exports,_0x4001b2(0x1aa),{'value':!![]}),exports[_0x4001b2(0x1bf)]=void 0x0;const colors_1=require(_0x4001b2(0x1c6));exports[_0x4001b2(0x1bf)]={'promptInstallJdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':_0x4001b2(0x1b3),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x4001b2(0x198),'promptInstallSdk':_0x4001b2(0x196),'promptSdkPath':_0x4001b2(0x18f),'messageDownloadSdk':'Downloading\x20Android\x20SDK\x20to\x20','errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x4001b2(0x1a5)+(0x0,colors_1['underline'])(_0x4001b2(0x1ac))+'?','messageDownloadAndroidSdk':_0x4001b2(0x1a4),'messageDecompressAndroidSdk':_0x4001b2(0x192),'messageInstallingBuildTools':_0x4001b2(0x187)+'license\x20agreement.','messageGeneratingAndroidProject':_0x4001b2(0x1ad),'messageCheckSuccess':(_0x4959c4,_0x4eed1b)=>{const _0x16fd20=_0x4001b2;return'\x20URL\x20'+(0x0,colors_1[_0x16fd20(0x199)])(_0x4959c4)+'\x20'+(_0x4eed1b?_0x16fd20(0x197)+(0x0,colors_1['cyan'])(_0x4eed1b):'')+_0x16fd20(0x1ab);},'errorMissingManifestParameter':_0x4001b2(0x195)+((0x0,colors_1[_0x4001b2(0x199)])(_0x4001b2(0x1a3))+_0x4001b2(0x1b0)+(0x0,colors_1['cyan'])(_0x4001b2(0x1a9))),'messageInitializingWebManifest':_0x449747=>{const _0x1e2e26=_0x4001b2;return _0x1e2e26(0x188)+(0x0,colors_1[_0x1e2e26(0x199)])(_0x449747);},'messageInitializingLocalManifest':_0x4efd54=>{const _0x992b7=_0x4001b2;return _0x992b7(0x1b9)+(0x0,colors_1[_0x992b7(0x199)])(_0x4efd54);},'messageInvalidIcon':_0x470d6e=>{const _0x133bea=_0x4001b2;return _0x133bea(0x1a7)+(0x0,colors_1[_0x133bea(0x199)])(_0x470d6e);},'errorStartUrlNotReachable':_0x3f6418=>_0x4001b2(0x1c0)+_0x3f6418+_0x4001b2(0x19b)+_0x4001b2(0x1ba),'warnFamilyPolicy':(0x0,colors_1[_0x4001b2(0x1a0)])((0x0,colors_1[_0x4001b2(0x1b1)])(_0x4001b2(0x19d)))+_0x4001b2(0x1bd)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x4001b2(0x189)+_0x4001b2(0x18e)+(0x0,colors_1['cyan'])(_0x4001b2(0x1a6)),'promptIconUrl':_0x4001b2(0x19a),'errorInvalidUrl':_0x2e8ad1=>{const _0xffbd9d=_0x4001b2;return _0xffbd9d(0x1b7)+_0x2e8ad1;},'errorUrlMustBeImage':_0x1f8c8e=>{const _0x3f382b=_0x4001b2;return _0x3f382b(0x18b)+_0x1f8c8e+'.';},'promptVersionCode':_0x4001b2(0x1c3),'promptVersionName':_0x4001b2(0x1b5),'messageSigningKeyInformation':(0x0,colors_1[_0x4001b2(0x1c2)])(_0x4001b2(0x193)+(0x0,colors_1['green'])(_0x4001b2(0x1ae))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x4001b2(0x1c2)])(_0x4001b2(0x19f)),'messageSigningKeyNotFound':_0x356348=>{const _0x17b663=_0x4001b2;return _0x17b663(0x191)+_0x356348+'\x22.\x0a';},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':_0x4001b2(0x18a),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x4001b2(0x18d),'promptKeyCountry':_0x4001b2(0x1a2),'promptKeystorePassword':_0x4001b2(0x1a1),'promptKeyPassword':_0x4001b2(0x190),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x25739f,_0x3d1f8e)=>{const _0x12e90e=_0x4001b2;return _0x12e90e(0x1c5)+(0x0,colors_1[_0x12e90e(0x199)])(_0x25739f)+_0x12e90e(0x1bc)+(0x0,colors_1['cyan'])(_0x3d1f8e)+'.\x0a';},'errorMinLength':(_0x46ab22,_0x4883ac)=>{const _0x12dc61=_0x4001b2;return _0x12dc61(0x1af)+_0x46ab22+_0x12dc61(0x19e)+_0x4883ac+'.';},'errorMaxLength':(_0x180f5b,_0x59cf5a)=>{const _0x118c95=_0x4001b2;return _0x118c95(0x1bb)+_0x180f5b+'\x20but\x20input\x20is\x20'+_0x59cf5a+'.';},'errorInvalidInteger':_0x304856=>{const _0x3ace8d=_0x4001b2;return _0x3ace8d(0x1a8)+_0x304856;},'messageApkSuccess':_0x4f2cba=>{return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1['cyan'])(_0x4f2cba);},'missingUrlToCheck':_0x4001b2(0x195)+(''+(0x0,colors_1[_0x4001b2(0x199)])(_0x4001b2(0x1b2)))};
@@ -1 +1 @@
1
- 'use strict';function _0x3e36(){const _0x16a3ce=['1853832HYuCtJ','4342088ihEVcE','split','1531928BfNGpR','parseRouter','3269546flTYrg','5tSXAvu','43697770cKUmxi','54vjMiRy','pop','defineProperty','replace','92282OuBmZK','3275004tZysYL','join','12ZDKOWH'];_0x3e36=function(){return _0x16a3ce;};return _0x3e36();}const _0x2fc1ec=_0x282c;function _0x282c(_0x5b5e97,_0x50a671){const _0x3e3648=_0x3e36();return _0x282c=function(_0x282c2e,_0x21b096){_0x282c2e=_0x282c2e-0xd1;let _0x1244d6=_0x3e3648[_0x282c2e];return _0x1244d6;},_0x282c(_0x5b5e97,_0x50a671);}(function(_0x5d73f9,_0x5c5d7b){const _0x4417df=_0x282c,_0x50b1cd=_0x5d73f9();while(!![]){try{const _0x3dd96d=-parseInt(_0x4417df(0xd4))/0x1*(parseInt(_0x4417df(0xd7))/0x2)+-parseInt(_0x4417df(0xd5))/0x3+-parseInt(_0x4417df(0xd9))/0x4+-parseInt(_0x4417df(0xde))/0x5*(parseInt(_0x4417df(0xd8))/0x6)+parseInt(_0x4417df(0xdd))/0x7+parseInt(_0x4417df(0xdb))/0x8*(-parseInt(_0x4417df(0xe0))/0x9)+parseInt(_0x4417df(0xdf))/0xa;if(_0x3dd96d===_0x5c5d7b)break;else _0x50b1cd['push'](_0x50b1cd['shift']());}catch(_0x555f27){_0x50b1cd['push'](_0x50b1cd['shift']());}}}(_0x3e36,0x9e377));Object[_0x2fc1ec(0xd2)](exports,'__esModule',{'value':!![]}),exports[_0x2fc1ec(0xdc)]=parseRouter;function parseRouter(_0x485492){const _0x3e55ea=_0x2fc1ec;let _0x5a90ba=_0x485492[_0x3e55ea(0xda)]('/');_0x5a90ba[_0x3e55ea(0xd1)]();let _0x399a7e=_0x5a90ba[_0x3e55ea(0xd6)]();while(_0x399a7e['indexOf'](',')>=0x0){_0x399a7e=_0x399a7e[_0x3e55ea(0xd3)](',','/');}return _0x399a7e;}
1
+ 'use strict';const _0x46596b=_0x37da;function _0x4648(){const _0x3a396f=['parseRouter','731895xcYTNU','470720yteUle','1082750YEpMse','14HkLxNB','join','split','290340BDBBlf','774405tBDZlr','268098EQATJi','14ODxtki','21923SKdNyE','indexOf','defineProperty','45XCfInT','__esModule'];_0x4648=function(){return _0x3a396f;};return _0x4648();}(function(_0x1566d6,_0x3b8c1c){const _0x48816f=_0x37da,_0x170f6a=_0x1566d6();while(!![]){try{const _0xf7bc16=-parseInt(_0x48816f(0x1b4))/0x1*(parseInt(_0x48816f(0x1ad))/0x2)+parseInt(_0x48816f(0x1b1))/0x3+-parseInt(_0x48816f(0x1b0))/0x4+-parseInt(_0x48816f(0x1ba))/0x5+parseInt(_0x48816f(0x1b2))/0x6*(parseInt(_0x48816f(0x1b3))/0x7)+parseInt(_0x48816f(0x1bb))/0x8*(parseInt(_0x48816f(0x1b7))/0x9)+-parseInt(_0x48816f(0x1ac))/0xa;if(_0xf7bc16===_0x3b8c1c)break;else _0x170f6a['push'](_0x170f6a['shift']());}catch(_0x397f57){_0x170f6a['push'](_0x170f6a['shift']());}}}(_0x4648,0x274e9));Object[_0x46596b(0x1b6)](exports,_0x46596b(0x1b8),{'value':!![]}),exports[_0x46596b(0x1b9)]=parseRouter;function _0x37da(_0x3ab43c,_0x2e31b3){const _0x46487d=_0x4648();return _0x37da=function(_0x37da14,_0x42039c){_0x37da14=_0x37da14-0x1ac;let _0x2fdebe=_0x46487d[_0x37da14];return _0x2fdebe;},_0x37da(_0x3ab43c,_0x2e31b3);}function parseRouter(_0x5c83d2){const _0x4a25ef=_0x46596b;let _0x1c9cf1=_0x5c83d2[_0x4a25ef(0x1af)]('/');_0x1c9cf1['pop']();let _0x2b7c95=_0x1c9cf1[_0x4a25ef(0x1ae)]();while(_0x2b7c95[_0x4a25ef(0x1b5)](',')>=0x0){_0x2b7c95=_0x2b7c95['replace'](',','/');}return _0x2b7c95;}
@@ -1 +1 @@
1
- 'use strict';const _0x38edaf=_0x597e;function _0x30fb(){const _0x234c70=['log','.ipa','write\x20project.pbxproj:\x20ok','XcodeManager','mkdirSync','uploadApp','2980402uVxiLJ','./xcrun','4033710BPPghi','name','default','archive','1907934wsWRzf','1CGtxSI','PROJECT_EXPORT_DIRECTORY','existsSync','__esModule','1827105VuqGwc','join','PROJECT_DIRECTORY','9751410etZeGi','5235244fJZIjO','./xcodeproject','modify','upload','3apVPZp','./xcodebuild','export','16rsqVFW','18696216JpOGBR','../resource','9OLwHZi','runWithSimulator'];_0x30fb=function(){return _0x234c70;};return _0x30fb();}(function(_0x3eaf07,_0x55b432){const _0x40bf0c=_0x597e,_0x3fcd69=_0x3eaf07();while(!![]){try{const _0x41152e=parseInt(_0x40bf0c(0x11c))/0x1*(-parseInt(_0x40bf0c(0x115))/0x2)+-parseInt(_0x40bf0c(0x107))/0x3*(-parseInt(_0x40bf0c(0x103))/0x4)+parseInt(_0x40bf0c(0xff))/0x5+-parseInt(_0x40bf0c(0x117))/0x6+-parseInt(_0x40bf0c(0x11b))/0x7*(-parseInt(_0x40bf0c(0x10a))/0x8)+parseInt(_0x40bf0c(0x10d))/0x9*(-parseInt(_0x40bf0c(0x102))/0xa)+parseInt(_0x40bf0c(0x10b))/0xb;if(_0x41152e===_0x55b432)break;else _0x3fcd69['push'](_0x3fcd69['shift']());}catch(_0x2cb743){_0x3fcd69['push'](_0x3fcd69['shift']());}}}(_0x30fb,0xbec49));function _0x597e(_0x9a89e4,_0x4f8bfc){const _0x30fb15=_0x30fb();return _0x597e=function(_0x597e5b,_0x1652d8){_0x597e5b=_0x597e5b-0xfd;let _0x1901c3=_0x30fb15[_0x597e5b];return _0x1901c3;},_0x597e(_0x9a89e4,_0x4f8bfc);}Object['defineProperty'](exports,_0x38edaf(0xfe),{'value':!![]}),exports[_0x38edaf(0x112)]=void 0x0;const fs=require('fs'),resource_1=require(_0x38edaf(0x10c)),xcodeproject_1=require(_0x38edaf(0x104)),xcodebuild_1=require(_0x38edaf(0x108)),xcrun_1=require(_0x38edaf(0x116)),path_1=require('path');class XcodeManager{static async['parseProject'](_0x2f1d3a,_0x5e2c3c=![]){const _0xe77497=_0x38edaf,_0x5cbd62=resource_1[_0xe77497(0x101)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0xe77497(0x119)][_0xe77497(0x105)](_0x5cbd62,_0x2f1d3a),console[_0xe77497(0x10f)](_0xe77497(0x111));!fs[_0xe77497(0xfd)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0xe77497(0x113)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x5e2c3c)await xcodebuild_1['default'][_0xe77497(0x11a)](_0x2f1d3a[_0xe77497(0x109)]);}static async[_0x38edaf(0x106)](_0x59c5fe,_0x1b9bd){const _0x459449=_0x38edaf;if(_0x59c5fe['u']&&_0x59c5fe['p'])xcrun_1['default'][_0x459449(0x114)]((0x0,path_1[_0x459449(0x100)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x1b9bd[_0x459449(0x118)]+'.ipa'),_0x59c5fe['u'],_0x59c5fe['p'],!![]);else _0x59c5fe['k']&&_0x59c5fe['i']&&xcrun_1[_0x459449(0x119)][_0x459449(0x114)]((0x0,path_1['join'])(resource_1[_0x459449(0x11d)],_0x1b9bd[_0x459449(0x118)]+_0x459449(0x110)),_0x59c5fe['k'],_0x59c5fe['i'],![]);}static async[_0x38edaf(0x10e)](_0x919ba8){const _0x5cb346=_0x38edaf;await xcrun_1[_0x5cb346(0x119)][_0x5cb346(0x10e)](_0x919ba8);}}exports[_0x38edaf(0x112)]=XcodeManager;
1
+ 'use strict';const _0x29e425=_0x5946;(function(_0xbefe41,_0x456fea){const _0x440468=_0x5946,_0x3b28a1=_0xbefe41();while(!![]){try{const _0xa797fc=parseInt(_0x440468(0x1ed))/0x1*(parseInt(_0x440468(0x1de))/0x2)+-parseInt(_0x440468(0x1e5))/0x3+-parseInt(_0x440468(0x1df))/0x4*(-parseInt(_0x440468(0x1d6))/0x5)+parseInt(_0x440468(0x1ef))/0x6*(-parseInt(_0x440468(0x1f6))/0x7)+-parseInt(_0x440468(0x1e3))/0x8*(-parseInt(_0x440468(0x1d9))/0x9)+-parseInt(_0x440468(0x1f3))/0xa*(-parseInt(_0x440468(0x1ee))/0xb)+-parseInt(_0x440468(0x1f4))/0xc;if(_0xa797fc===_0x456fea)break;else _0x3b28a1['push'](_0x3b28a1['shift']());}catch(_0x376170){_0x3b28a1['push'](_0x3b28a1['shift']());}}}(_0x5a71,0x5b35d));function _0x5946(_0x2b9586,_0x44552f){const _0x5a71c7=_0x5a71();return _0x5946=function(_0x594609,_0x3a794b){_0x594609=_0x594609-0x1d6;let _0x1e4093=_0x5a71c7[_0x594609];return _0x1e4093;},_0x5946(_0x2b9586,_0x44552f);}Object[_0x29e425(0x1db)](exports,_0x29e425(0x1d7),{'value':!![]}),exports[_0x29e425(0x1dd)]=void 0x0;function _0x5a71(){const _0x48189c=['262088IdzfMx','./xcrun','default','existsSync','696ocksva','parseProject','876291rgtBIg','./xcodebuild','.ipa','join','uploadApp','PROJECT_EXPORT_DIRECTORY','../resource','./xcodeproject','5uuZcDp','327151MTGyXW','6gSpmDX','name','export','upload','110OtalVJ','4393848GBYCgH','archive','4615324TpgXhP','log','15UWLPim','__esModule','PROJECT_DIRECTORY','71361lYAdUE','write\x20project.pbxproj:\x20ok','defineProperty','runWithSimulator','XcodeManager','191056pIYiBB'];_0x5a71=function(){return _0x48189c;};return _0x5a71();}const fs=require('fs'),resource_1=require(_0x29e425(0x1eb)),xcodeproject_1=require(_0x29e425(0x1ec)),xcodebuild_1=require(_0x29e425(0x1e6)),xcrun_1=require(_0x29e425(0x1e0)),path_1=require('path');class XcodeManager{static async[_0x29e425(0x1e4)](_0x1aaf70,_0x3af1a6=![]){const _0x15eff3=_0x29e425,_0x5b3032=resource_1[_0x15eff3(0x1d8)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x15eff3(0x1e1)]['modify'](_0x5b3032,_0x1aaf70),console[_0x15eff3(0x1f7)](_0x15eff3(0x1da));!fs[_0x15eff3(0x1e2)](resource_1[_0x15eff3(0x1ea)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x3af1a6)await xcodebuild_1['default'][_0x15eff3(0x1f5)](_0x1aaf70[_0x15eff3(0x1f1)]);}static async[_0x29e425(0x1f2)](_0x4c092e,_0x17b348){const _0xc3677e=_0x29e425;if(_0x4c092e['u']&&_0x4c092e['p'])xcrun_1[_0xc3677e(0x1e1)][_0xc3677e(0x1e9)]((0x0,path_1[_0xc3677e(0x1e8)])(resource_1[_0xc3677e(0x1ea)],_0x17b348[_0xc3677e(0x1f0)]+'.ipa'),_0x4c092e['u'],_0x4c092e['p'],!![]);else _0x4c092e['k']&&_0x4c092e['i']&&xcrun_1[_0xc3677e(0x1e1)]['uploadApp']((0x0,path_1[_0xc3677e(0x1e8)])(resource_1[_0xc3677e(0x1ea)],_0x17b348[_0xc3677e(0x1f0)]+_0xc3677e(0x1e7)),_0x4c092e['k'],_0x4c092e['i'],![]);}static async['runWithSimulator'](_0x2b87f6){const _0x5bfbed=_0x29e425;await xcrun_1[_0x5bfbed(0x1e1)][_0x5bfbed(0x1dc)](_0x2b87f6);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0xbe74b8=_0x4701;function _0x4701(_0x35769f,_0x53ec51){var _0x1f46dd=_0x1f46();return _0x4701=function(_0x470162,_0x37a225){_0x470162=_0x470162-0x162;var _0x34cb7b=_0x1f46dd[_0x470162];return _0x34cb7b;},_0x4701(_0x35769f,_0x53ec51);}(function(_0x508eb5,_0xd0a42c){var _0x184996=_0x4701,_0x2af43e=_0x508eb5();while(!![]){try{var _0x5e58c6=-parseInt(_0x184996(0x165))/0x1*(parseInt(_0x184996(0x16c))/0x2)+-parseInt(_0x184996(0x166))/0x3+-parseInt(_0x184996(0x16e))/0x4*(-parseInt(_0x184996(0x16b))/0x5)+parseInt(_0x184996(0x163))/0x6+parseInt(_0x184996(0x16a))/0x7+parseInt(_0x184996(0x16d))/0x8+-parseInt(_0x184996(0x164))/0x9;if(_0x5e58c6===_0xd0a42c)break;else _0x2af43e['push'](_0x2af43e['shift']());}catch(_0x40ea13){_0x2af43e['push'](_0x2af43e['shift']());}}}(_0x1f46,0xd2d73));Object[_0xbe74b8(0x168)](exports,_0xbe74b8(0x167),{'value':!![]}),exports[_0xbe74b8(0x169)]=void 0x0,exports['manifestSwiftTemplate']=_0xbe74b8(0x162);function _0x1f46(){var _0x3027cf=['1815688JvzcJU','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20true\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\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','7230246IEoeLb','15283629ZUOsSE','1zkSQhU','2134818KejpYC','__esModule','defineProperty','manifestSwiftTemplate','10564288pQxOxd','5gwXtuP','2920814ASQIpA','12525200LXedjC'];_0x1f46=function(){return _0x3027cf;};return _0x1f46();}
1
+ 'use strict';var _0x2de96e=_0x2ba0;(function(_0x4631ca,_0x247738){var _0x1b61ff=_0x2ba0,_0x14bcae=_0x4631ca();while(!![]){try{var _0x2b6cea=parseInt(_0x1b61ff(0xc0))/0x1+-parseInt(_0x1b61ff(0xc8))/0x2+parseInt(_0x1b61ff(0xcc))/0x3+-parseInt(_0x1b61ff(0xbe))/0x4*(-parseInt(_0x1b61ff(0xc9))/0x5)+-parseInt(_0x1b61ff(0xca))/0x6*(parseInt(_0x1b61ff(0xc3))/0x7)+-parseInt(_0x1b61ff(0xc5))/0x8*(-parseInt(_0x1b61ff(0xc1))/0x9)+parseInt(_0x1b61ff(0xc7))/0xa*(-parseInt(_0x1b61ff(0xc4))/0xb);if(_0x2b6cea===_0x247738)break;else _0x14bcae['push'](_0x14bcae['shift']());}catch(_0x41dd18){_0x14bcae['push'](_0x14bcae['shift']());}}}(_0x2581,0x3208a));function _0x2ba0(_0x398894,_0x1eef3c){var _0x2581b9=_0x2581();return _0x2ba0=function(_0x2ba0fa,_0x7031c0){_0x2ba0fa=_0x2ba0fa-0xbe;var _0x21445a=_0x2581b9[_0x2ba0fa];return _0x21445a;},_0x2ba0(_0x398894,_0x1eef3c);}function _0x2581(){var _0x57d06d=['36YIDTot','manifestSwiftTemplate','1074192givYQH','4hIVaYW','defineProperty','228746lBDmum','9YCVpJA','__esModule','256557OdRhBZ','283217kFvdgr','1644232YnFbBN','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20true\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\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','30iHrKXH','691210dehQqT','276755hDIcBo'];_0x2581=function(){return _0x57d06d;};return _0x2581();}Object[_0x2de96e(0xbf)](exports,_0x2de96e(0xc2),{'value':!![]}),exports[_0x2de96e(0xcb)]=void 0x0,exports[_0x2de96e(0xcb)]=_0x2de96e(0xc6);
@@ -1 +1 @@
1
- 'use strict';const _0x135299=_0x2356;function _0x3a80(){const _0x74cab0=['\x20-exportArchive\x20-archivePath\x20','PROJECT_DIRECTORY','path','11XYeOjh','destination','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','project','4695810zRWvzv','clean','cwd','\x20clean','PROJECT_EXPORT_DIRECTORY','\x20-exportPath\x20','./pack','list','\x20-list','toString','semver','archive','mkdirSync','allowProvisioningUpdates','pack.xcarchive','XcodebuildCMD','157zNIKoG','existsSync','\x20-archivePath\x20','380859kRCDfn','scheme','/web-spatial.xcodeproj','8060ZWfYRK','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','defineProperty','\x20-allowProvisioningUpdates','18ByEfUE','14712xzgeui','../resource/file','indexOf','default','start\x20archive','\x20-scheme\x20','3450725ezDbWd','xcodebuild','\x20-project\x20','\x20archive','../resource','4YHCfKX','7435146UMwAXD','PROJECT_BUILD_DIRECTORY','ExportOptions.plist','line','\x20-exportOptionsPlist\x20','log','output','14851836HjesRy','join','child_process','7daCsjC'];_0x3a80=function(){return _0x74cab0;};return _0x3a80();}(function(_0x3865b3,_0x2e7ec0){const _0x387029=_0x2356,_0x9e98c5=_0x3865b3();while(!![]){try{const _0x20fae1=parseInt(_0x387029(0x21c))/0x1*(parseInt(_0x387029(0x1e9))/0x2)+-parseInt(_0x387029(0x21f))/0x3*(parseInt(_0x387029(0x1f9))/0x4)+parseInt(_0x387029(0x1f4))/0x5+-parseInt(_0x387029(0x1fa))/0x6*(-parseInt(_0x387029(0x204))/0x7)+-parseInt(_0x387029(0x1ee))/0x8*(-parseInt(_0x387029(0x1ed))/0x9)+parseInt(_0x387029(0x20c))/0xa*(-parseInt(_0x387029(0x208))/0xb)+-parseInt(_0x387029(0x201))/0xc;if(_0x20fae1===_0x2e7ec0)break;else _0x9e98c5['push'](_0x9e98c5['shift']());}catch(_0x5028d5){_0x9e98c5['push'](_0x9e98c5['shift']());}}}(_0x3a80,0xb2991));function _0x2356(_0x36ebd1,_0x2f3e16){const _0x3a80d2=_0x3a80();return _0x2356=function(_0x235653,_0x57ca33){_0x235653=_0x235653-0x1e9;let _0x24c173=_0x3a80d2[_0x235653];return _0x24c173;},_0x2356(_0x36ebd1,_0x2f3e16);}Object[_0x135299(0x1eb)](exports,'__esModule',{'value':!![]}),exports[_0x135299(0x21b)]=void 0x0;const fs=require('fs'),path_1=require(_0x135299(0x207)),resource_1=require(_0x135299(0x1f8)),semver_1=require(_0x135299(0x216)),file_1=require(_0x135299(0x1ef)),{execSync,exec}=require(_0x135299(0x203));class Xcodebuild{static async['project'](){const _0x4e4091=_0x135299;try{await new Promise((_0x526c89,_0x3e9a9f)=>{const _0x3cbcfe=_0x2356,_0x52e6d8=resource_1[_0x3cbcfe(0x206)]+_0x3cbcfe(0x221),_0xcefe7e=execSync(new XcodebuildCMD()[_0x3cbcfe(0x20b)](_0x52e6d8)['list']()[_0x3cbcfe(0x1fd)]);console[_0x3cbcfe(0x1ff)](_0xcefe7e[_0x3cbcfe(0x215)]()),_0x526c89(_0xcefe7e);});}catch(_0x596bff){console[_0x4e4091(0x1ff)](_0x596bff);}}static async['list'](){const _0x520ffc=_0x135299;try{await new Promise((_0x261ef9,_0x5929e6)=>{const _0x917cf5=_0x2356,_0x3d6af8=resource_1[_0x917cf5(0x206)]+_0x917cf5(0x221),_0x5c525c=execSync(new XcodebuildCMD()[_0x917cf5(0x20b)](_0x3d6af8)[_0x917cf5(0x213)]()['line']);console[_0x917cf5(0x1ff)](_0x5c525c[_0x917cf5(0x215)]()),_0x261ef9(_0x5c525c);});}catch(_0x5d0ca3){console[_0x520ffc(0x1ff)](_0x5d0ca3);}}static async[_0x135299(0x217)](_0x4e9ee3){const _0x4fd362=_0x135299;try{return console[_0x4fd362(0x1ff)](_0x4fd362(0x1f2)),!fs['existsSync'](resource_1[_0x4fd362(0x210)])&&fs[_0x4fd362(0x218)](resource_1[_0x4fd362(0x210)],{'recursive':!![]}),await new Promise((_0x1b9091,_0x2a05a0)=>{const _0x4eb0cd=_0x4fd362,_0x19d671=resource_1[_0x4eb0cd(0x206)]+_0x4eb0cd(0x221),_0x265b82=execSync(new XcodebuildCMD()[_0x4eb0cd(0x20b)](_0x19d671)[_0x4eb0cd(0x220)]('web-spatial')[_0x4eb0cd(0x217)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x4eb0cd(0x212)))[_0x4eb0cd(0x20d)]()[_0x4eb0cd(0x1fd)]);let _0x48af6c=_0x265b82[_0x4eb0cd(0x215)]();if(_0x48af6c[_0x4eb0cd(0x1f0)]('ARCHIVE\x20SUCCEEDED')>0x0){console['log'](_0x4eb0cd(0x1ea)),console[_0x4eb0cd(0x1ff)]('start\x20export');const _0x58f0b3=execSync(new XcodebuildCMD()['output']((0x0,path_1[_0x4eb0cd(0x202)])(resource_1[_0x4eb0cd(0x1fb)],_0x4eb0cd(0x21a)),resource_1[_0x4eb0cd(0x210)],(0x0,path_1['join'])(resource_1[_0x4eb0cd(0x1fb)],_0x4eb0cd(0x1fc)))['allowProvisioningUpdates']()[_0x4eb0cd(0x1fd)]);_0x48af6c=_0x58f0b3[_0x4eb0cd(0x215)]();if(_0x48af6c['indexOf']('EXPORT\x20SUCCEEDED')>0x0){if(_0x4e9ee3){const _0x3eace8=(0x0,path_1[_0x4eb0cd(0x202)])(process[_0x4eb0cd(0x20e)](),_0x4e9ee3);!fs[_0x4eb0cd(0x21d)](_0x3eace8)&&fs[_0x4eb0cd(0x218)](_0x3eace8,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1[_0x4eb0cd(0x210)],_0x3eace8);}console[_0x4eb0cd(0x1ff)](_0x4eb0cd(0x20a)),_0x1b9091(!![]);}(0x0,semver_1[_0x4eb0cd(0x20d)])(resource_1[_0x4eb0cd(0x1fb)]);}_0x1b9091(![]);});}catch(_0x18e7f2){console['log'](_0x18e7f2);}}}exports[_0x135299(0x1f1)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x4e9b1=_0x135299;this[_0x4e9b1(0x1fd)]=_0x4e9b1(0x1f5);}[_0x135299(0x20b)](_0x27f8c2){const _0x3c5d91=_0x135299;return this[_0x3c5d91(0x1fd)]+=_0x3c5d91(0x1f6)+_0x27f8c2,this;}['list'](){const _0x3b7e0b=_0x135299;return this[_0x3b7e0b(0x1fd)]+=_0x3b7e0b(0x214),this;}[_0x135299(0x220)](_0x5d7c62){const _0x2c4a34=_0x135299;return this['line']+=_0x2c4a34(0x1f3)+_0x5d7c62,this;}[_0x135299(0x217)](_0x169dd7){const _0x5ec9bd=_0x135299;return this[_0x5ec9bd(0x1fd)]+=_0x5ec9bd(0x21e)+_0x169dd7+_0x5ec9bd(0x1f7),this;}[_0x135299(0x219)](){const _0x5069fa=_0x135299;return this[_0x5069fa(0x1fd)]+=_0x5069fa(0x1ec),this;}[_0x135299(0x209)](_0x1f0a63){const _0xd0cc71=_0x135299;return this[_0xd0cc71(0x1fd)]+='\x20-destination\x20\x27'+_0x1f0a63+'\x27',this;}[_0x135299(0x200)](_0x396430,_0x32f7df,_0x4f2725){const _0x52e4d1=_0x135299;return this[_0x52e4d1(0x1fd)]+=_0x52e4d1(0x205)+_0x396430+_0x52e4d1(0x211)+_0x32f7df+_0x52e4d1(0x1fe)+_0x4f2725,this;}['clean'](){const _0x635a4e=_0x135299;return this[_0x635a4e(0x1fd)]+=_0x635a4e(0x20f),this;}}exports[_0x135299(0x21b)]=XcodebuildCMD;
1
+ 'use strict';const _0x47cdc0=_0x35f4;function _0x35f4(_0x52aad8,_0x2b1da7){const _0x106846=_0x1068();return _0x35f4=function(_0x35f43e,_0x5969b7){_0x35f43e=_0x35f43e-0x15c;let _0x2a8a5c=_0x106846[_0x35f43e];return _0x2a8a5c;},_0x35f4(_0x52aad8,_0x2b1da7);}(function(_0x5c0aa4,_0x208b13){const _0x9d7112=_0x35f4,_0x210ce4=_0x5c0aa4();while(!![]){try{const _0x1f6a89=-parseInt(_0x9d7112(0x16e))/0x1*(-parseInt(_0x9d7112(0x16c))/0x2)+-parseInt(_0x9d7112(0x18b))/0x3+parseInt(_0x9d7112(0x167))/0x4+parseInt(_0x9d7112(0x15d))/0x5+-parseInt(_0x9d7112(0x170))/0x6*(-parseInt(_0x9d7112(0x17f))/0x7)+parseInt(_0x9d7112(0x171))/0x8*(parseInt(_0x9d7112(0x183))/0x9)+parseInt(_0x9d7112(0x169))/0xa*(-parseInt(_0x9d7112(0x18f))/0xb);if(_0x1f6a89===_0x208b13)break;else _0x210ce4['push'](_0x210ce4['shift']());}catch(_0x4aeacf){_0x210ce4['push'](_0x210ce4['shift']());}}}(_0x1068,0x325d4));Object[_0x47cdc0(0x172)](exports,_0x47cdc0(0x182),{'value':!![]}),exports[_0x47cdc0(0x164)]=void 0x0;const fs=require('fs'),path_1=require(_0x47cdc0(0x18e)),resource_1=require(_0x47cdc0(0x18d)),semver_1=require(_0x47cdc0(0x18a)),file_1=require(_0x47cdc0(0x181)),{execSync,exec}=require('child_process');class Xcodebuild{static async[_0x47cdc0(0x174)](){const _0x499bf5=_0x47cdc0;try{await new Promise((_0xda3175,_0x33e78b)=>{const _0x5e2187=_0x35f4,_0x3b3812=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj',_0x19ec4e=execSync(new XcodebuildCMD()[_0x5e2187(0x174)](_0x3b3812)[_0x5e2187(0x16d)]()[_0x5e2187(0x15f)]);console[_0x5e2187(0x163)](_0x19ec4e[_0x5e2187(0x18c)]()),_0xda3175(_0x19ec4e);});}catch(_0x300049){console[_0x499bf5(0x163)](_0x300049);}}static async[_0x47cdc0(0x16d)](){try{await new Promise((_0x3e8bcf,_0x4fda01)=>{const _0x1a37e3=_0x35f4,_0x29b225=resource_1[_0x1a37e3(0x190)]+_0x1a37e3(0x15c),_0x6cdafa=execSync(new XcodebuildCMD()[_0x1a37e3(0x174)](_0x29b225)[_0x1a37e3(0x16d)]()['line']);console[_0x1a37e3(0x163)](_0x6cdafa[_0x1a37e3(0x18c)]()),_0x3e8bcf(_0x6cdafa);});}catch(_0x176e75){console['log'](_0x176e75);}}static async[_0x47cdc0(0x187)](_0x1b5d90){const _0x40aaac=_0x47cdc0;try{return console[_0x40aaac(0x163)](_0x40aaac(0x193)),!fs['existsSync'](resource_1[_0x40aaac(0x175)])&&fs[_0x40aaac(0x17b)](resource_1[_0x40aaac(0x175)],{'recursive':!![]}),await new Promise((_0x4b06d6,_0x5915ca)=>{const _0x5bd458=_0x40aaac,_0x6e3a0e=resource_1[_0x5bd458(0x190)]+_0x5bd458(0x15c),_0xc46569=execSync(new XcodebuildCMD()['project'](_0x6e3a0e)[_0x5bd458(0x17e)](_0x5bd458(0x16f))[_0x5bd458(0x187)]((0x0,path_1[_0x5bd458(0x184)])(resource_1[_0x5bd458(0x188)],_0x5bd458(0x180)))[_0x5bd458(0x17d)]()[_0x5bd458(0x15f)]);let _0x4fd13e=_0xc46569[_0x5bd458(0x18c)]();if(_0x4fd13e['indexOf'](_0x5bd458(0x186))>0x0){console[_0x5bd458(0x163)](_0x5bd458(0x16a)),console['log']('start\x20export');const _0x316192=execSync(new XcodebuildCMD()[_0x5bd458(0x16b)]((0x0,path_1[_0x5bd458(0x184)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x5bd458(0x160)),resource_1[_0x5bd458(0x175)],(0x0,path_1[_0x5bd458(0x184)])(resource_1[_0x5bd458(0x188)],_0x5bd458(0x177)))[_0x5bd458(0x194)]()[_0x5bd458(0x15f)]);_0x4fd13e=_0x316192[_0x5bd458(0x18c)]();if(_0x4fd13e['indexOf'](_0x5bd458(0x179))>0x0){if(_0x1b5d90){const _0xf8ae3b=(0x0,path_1[_0x5bd458(0x184)])(process[_0x5bd458(0x165)](),_0x1b5d90);!fs[_0x5bd458(0x15e)](_0xf8ae3b)&&fs['mkdirSync'](_0xf8ae3b,{'recursive':!![]}),(0x0,file_1[_0x5bd458(0x192)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0xf8ae3b);}console['log'](_0x5bd458(0x176)),_0x4b06d6(!![]);}(0x0,semver_1[_0x5bd458(0x17d)])(resource_1[_0x5bd458(0x188)]);}_0x4b06d6(![]);});}catch(_0x264ee0){console['log'](_0x264ee0);}}}exports[_0x47cdc0(0x161)]=Xcodebuild;function _0x1068(){const _0x3fcdd7=['252290rRVKAx','existsSync','line','pack.xcarchive','default','\x20-scheme\x20','log','XcodebuildCMD','cwd','\x20-project\x20','1172088uoEkwZ','\x20-exportArchive\x20-archivePath\x20','1222880QysuWq','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','output','42JvSWMa','list','8289FRnqWk','web-spatial','12MKpXFC','645712tRRHfS','defineProperty','\x20archive','project','PROJECT_EXPORT_DIRECTORY','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','ExportOptions.plist','xcodebuild','EXPORT\x20SUCCEEDED','\x20-archivePath\x20','mkdirSync','\x20-exportOptionsPlist\x20','clean','scheme','1216103wEuhpZ','./pack','../resource/file','__esModule','27krxeuM','join','destination','ARCHIVE\x20SUCCEEDED','archive','PROJECT_BUILD_DIRECTORY','\x20-allowProvisioningUpdates','semver','1235115ZCDZSG','toString','../resource','path','44WpJRiW','PROJECT_DIRECTORY','\x20clean','copyDir','start\x20archive','allowProvisioningUpdates','\x20-list','/web-spatial.xcodeproj'];_0x1068=function(){return _0x3fcdd7;};return _0x1068();}class XcodebuildCMD{constructor(){const _0xd5913e=_0x47cdc0;this[_0xd5913e(0x15f)]=_0xd5913e(0x178);}[_0x47cdc0(0x174)](_0x3a56c1){const _0x1fa7ba=_0x47cdc0;return this[_0x1fa7ba(0x15f)]+=_0x1fa7ba(0x166)+_0x3a56c1,this;}[_0x47cdc0(0x16d)](){const _0x4b7c42=_0x47cdc0;return this[_0x4b7c42(0x15f)]+=_0x4b7c42(0x195),this;}[_0x47cdc0(0x17e)](_0x58759d){const _0x5152c8=_0x47cdc0;return this[_0x5152c8(0x15f)]+=_0x5152c8(0x162)+_0x58759d,this;}[_0x47cdc0(0x187)](_0x209c22){const _0x30f2c4=_0x47cdc0;return this[_0x30f2c4(0x15f)]+=_0x30f2c4(0x17a)+_0x209c22+_0x30f2c4(0x173),this;}[_0x47cdc0(0x194)](){const _0x54ca9c=_0x47cdc0;return this['line']+=_0x54ca9c(0x189),this;}[_0x47cdc0(0x185)](_0x1ef99a){const _0x46c702=_0x47cdc0;return this[_0x46c702(0x15f)]+='\x20-destination\x20\x27'+_0x1ef99a+'\x27',this;}[_0x47cdc0(0x16b)](_0x15eed8,_0x257e9f,_0x1d0ca6){const _0x1ab1f7=_0x47cdc0;return this['line']+=_0x1ab1f7(0x168)+_0x15eed8+'\x20-exportPath\x20'+_0x257e9f+_0x1ab1f7(0x17c)+_0x1d0ca6,this;}[_0x47cdc0(0x17d)](){const _0x2776e6=_0x47cdc0;return this[_0x2776e6(0x15f)]+=_0x2776e6(0x191),this;}}exports[_0x47cdc0(0x164)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0x4498(_0x554bc7,_0x5d6124){const _0xbe60ee=_0xbe60();return _0x4498=function(_0x449824,_0x7e0de){_0x449824=_0x449824-0x13a;let _0x3668ff=_0xbe60ee[_0x449824];return _0x3668ff;},_0x4498(_0x554bc7,_0x5d6124);}const _0x1cfbad=_0x4498;(function(_0x241357,_0x1f5ad0){const _0x27d74d=_0x4498,_0x2ce836=_0x241357();while(!![]){try{const _0xb7e09f=parseInt(_0x27d74d(0x18e))/0x1+parseInt(_0x27d74d(0x16d))/0x2*(-parseInt(_0x27d74d(0x197))/0x3)+parseInt(_0x27d74d(0x13c))/0x4+parseInt(_0x27d74d(0x19a))/0x5+parseInt(_0x27d74d(0x170))/0x6+-parseInt(_0x27d74d(0x15a))/0x7*(parseInt(_0x27d74d(0x177))/0x8)+-parseInt(_0x27d74d(0x154))/0x9*(parseInt(_0x27d74d(0x13d))/0xa);if(_0xb7e09f===_0x1f5ad0)break;else _0x2ce836['push'](_0x2ce836['shift']());}catch(_0x57b7bc){_0x2ce836['push'](_0x2ce836['shift']());}}}(_0xbe60,0x664c8));Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0x1cfbad(0x13e)),path_1=require(_0x1cfbad(0x191)),load_1=require(_0x1cfbad(0x17f)),imageHelper_1=require(_0x1cfbad(0x180)),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x1cfbad(0x193)),exportOptionsXML=_0x1cfbad(0x176),infoPlistXML=_0x1cfbad(0x178);function _0xbe60(){const _0x1a6be0=['icon','pbxGroupByName','mainScene','url','START_URL','SceneHeight','protocol','</string>','mkdirSync','filename','updateExportOptions','SCOPE','CURRENT_PROJECT_VERSION','modifySwift','PBXGroup','name','release-testing','buildConfigurations','333FPBhHS','pbxTargetByName','log','./web-spatial/Info.plist','writeSync','height','581WreCeh','updateProductName','resizability','push','writeFileSync','DEEPLINK','width','updateDeeplink','writeAsync','replace','updateBuildProperty','scope','parseSync','join','PROJECT_BUILD_DIRECTORY','debugging','teamId','loadJsonFromDisk','Description','1954qenqLl','app-store-connect','objects','2846640UmvyPs','description','PROJECT_DIRECTORY','DEVELOPMENT_TEAM','.minimal','SceneWidth','<?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>','76488ZZIYJB','<?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','defaultSize','ExportOptions.plist','bindManifestInfo','project','pbxXCConfigurationList','MIDDLE_APPICON_DIRECTORY','../resource/load','../resource/imageHelper','protocol_handlers','utf-8','existsSync','AppID','Contents.json','buildSettings','image/','updateVersion','createImg','PWAProtocol(protocolValue:\x20\x22','1.0','\x22,\x20url:\x20\x22','buildType','735163APNxqY','split','\x22),','path','.standalone','xcode','minimal-ui','hash','<string>','468BZbXJE','includes','./web-spatial/libs/webView/manifest.swift','3873455DdaiSz','PRODUCT_BUNDLE_IDENTIFIER','SceneResizability','pbxXCBuildConfigurationSection','buildConfigurationList','manifestSwiftTemplate','test','json','bindIcon','images','2820744LdbCZo','357970ICDcan','../resource','icon.png','value','length'];_0xbe60=function(){return _0x1a6be0;};return _0xbe60();}let useExportOptionsXML='';class XcodeProject{static async['modify'](_0x202d86,_0x384a9c){const _0x430d50=_0x1cfbad;let _0x498eb5=xcode[_0x430d50(0x17c)](_0x202d86);this['fixProjectFunction'](_0x498eb5),_0x498eb5[_0x430d50(0x166)]();let _0x575320=_0x384a9c[_0x430d50(0x18d)];const _0x24e1d4=['release-testing',_0x430d50(0x16e),_0x430d50(0x169),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x430d50(0x163)]('BUILDTYPE',_0x24e1d4[_0x430d50(0x198)](_0x575320)?_0x575320:_0x430d50(0x152));_0x384a9c['teamId']&&this['updateTeamId'](_0x498eb5,_0x384a9c[_0x430d50(0x16a)]);this['updateExportOptions'](),await this[_0x430d50(0x13a)](_0x384a9c[_0x430d50(0x142)]),this[_0x430d50(0x17b)](_0x498eb5,_0x384a9c['manifestInfo'][_0x430d50(0x1a1)]);_0x384a9c['version']?this[_0x430d50(0x188)](_0x498eb5,_0x384a9c['version']):this[_0x430d50(0x188)](_0x498eb5,_0x430d50(0x18b));try{fs[_0x430d50(0x15e)](_0x202d86,_0x498eb5[_0x430d50(0x158)]());}catch(_0x123625){console[_0x430d50(0x156)](_0x123625);}}static['fixProjectFunction'](_0x34aeae){const _0x279331=_0x1cfbad;_0x34aeae[_0x279331(0x143)]=function(_0x5c33b8){const _0x206b57=_0x279331;var _0x57d470=this[_0x206b57(0x195)]['project'][_0x206b57(0x16f)][_0x206b57(0x150)],_0xc07013,_0x1a8cb2;for(_0xc07013 in _0x57d470){if(!/_comment$/['test'](_0xc07013))continue;if(_0x57d470[_0xc07013]==_0x5c33b8)return _0x1a8cb2=_0xc07013[_0x206b57(0x18f)](/_comment$/)[0x0],_0x57d470[_0x1a8cb2];}return![];},_0x34aeae[_0x279331(0x164)]=function(_0x26ae66,_0x1ac2f3,_0x13666,_0x27603a){const _0xaca1aa=_0x279331;let _0x1b13fa=[];const _0x5ad254=/_comment$/;if(_0x27603a){const _0x512761=this[_0xaca1aa(0x155)](_0x27603a),_0x2e19b2=_0x512761&&_0x512761[_0xaca1aa(0x19e)],_0x3e1a17=this[_0xaca1aa(0x17d)]();for(const _0x25feda in _0x3e1a17){if(!_0x5ad254[_0xaca1aa(0x1a0)](_0x25feda)&&_0x2e19b2===_0x25feda){const _0x1f3da0=_0x3e1a17[_0x25feda][_0xaca1aa(0x153)];for(const _0x218080 of _0x1f3da0){_0x1b13fa[_0xaca1aa(0x15d)](_0x218080[_0xaca1aa(0x140)]);}break;}}}var _0x463aa6=this[_0xaca1aa(0x19d)]();for(var _0x2462c6 in _0x463aa6){if(!_0x5ad254[_0xaca1aa(0x1a0)](_0x2462c6)){if(_0x27603a&&!_0x1b13fa[_0xaca1aa(0x198)](_0x2462c6))continue;var _0x57adf0=_0x463aa6[_0x2462c6];(_0x13666&&_0x57adf0[_0xaca1aa(0x151)]===_0x13666||!_0x13666)&&_0x57adf0['buildSettings'][_0x26ae66]&&(_0x57adf0[_0xaca1aa(0x186)][_0x26ae66]=_0x1ac2f3);}}};}static async[_0x1cfbad(0x13a)](_0x2c85d8){const _0xf8f577=_0x1cfbad;if(_0x2c85d8){const _0x200396=(0x0,path_1['join'])(resource_1[_0xf8f577(0x172)],resource_1['BACK_APPICON_DIRECTORY']),_0x9af3f2=(0x0,path_1[_0xf8f577(0x167)])(_0x200396,_0xf8f577(0x185)),_0xafb54c='icon.'+_0x2c85d8['getMIME']()[_0xf8f577(0x163)](_0xf8f577(0x187),''),_0x19f3ad=(0x0,path_1['join'])(_0x200396,_0xafb54c);let _0x4cc9c0=await(0x0,load_1[_0xf8f577(0x16b)])(_0x9af3f2);_0x4cc9c0[_0xf8f577(0x13b)][0x0][_0xf8f577(0x14b)]=_0xafb54c,await _0x2c85d8['writeAsync'](_0x19f3ad),await fs[_0xf8f577(0x15e)](_0x9af3f2,JSON['stringify'](_0x4cc9c0));const _0x2a7d6e=(0x0,path_1['join'])(resource_1[_0xf8f577(0x172)],resource_1[_0xf8f577(0x17e)]),_0x35b1ee=(0x0,path_1[_0xf8f577(0x167)])(_0x2a7d6e,_0xf8f577(0x185)),_0x3c79a2=_0xf8f577(0x13f),_0x44b211=(0x0,path_1[_0xf8f577(0x167)])(_0x2a7d6e,_0x3c79a2);let _0x9b6f6=await(0x0,load_1[_0xf8f577(0x16b)])(_0x35b1ee),_0x3a3245=imageHelper_1['ImageHelper'][_0xf8f577(0x189)](0x200);_0x9b6f6[_0xf8f577(0x13b)][0x0][_0xf8f577(0x14b)]=_0x3c79a2,await _0x3a3245[_0xf8f577(0x162)](_0x44b211),await fs['writeFileSync'](_0x35b1ee,JSON['stringify'](_0x9b6f6));}}static['updateTeamId'](_0x159581,_0x14d31e){const _0x6e62c4=_0x1cfbad;_0x159581[_0x6e62c4(0x164)](_0x6e62c4(0x173),_0x14d31e),useExportOptionsXML=useExportOptionsXML[_0x6e62c4(0x163)]('YOURTEAMID',_0x14d31e);}static[_0x1cfbad(0x14c)](){const _0x10c384=_0x1cfbad;!fs[_0x10c384(0x183)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x10c384(0x14a)](resource_1[_0x10c384(0x168)],{'recursive':!![]}),fs[_0x10c384(0x15e)]((0x0,path_1[_0x10c384(0x167)])(resource_1[_0x10c384(0x168)],_0x10c384(0x17a)),useExportOptionsXML);}static[_0x1cfbad(0x17b)](_0xd084be,_0x3c25cc){const _0x1a474e=_0x1cfbad;var _0x52b091;_0xd084be[_0x1a474e(0x15b)](_0x3c25cc['name']),_0xd084be[_0x1a474e(0x164)](_0x1a474e(0x19b),'\x22'+_0x3c25cc['id']+'\x22'),this[_0x1a474e(0x161)]((_0x52b091=_0x3c25cc[_0x1a474e(0x181)])!==null&&_0x52b091!==void 0x0?_0x52b091:[]),this[_0x1a474e(0x14f)](_0x3c25cc);}static[_0x1cfbad(0x188)](_0x26a09d,_0x8d2d3f){const _0x2ab524=_0x1cfbad;_0x26a09d[_0x2ab524(0x164)](_0x2ab524(0x14e),_0x8d2d3f);}static[_0x1cfbad(0x161)](_0x358550){const _0x2f0e46=_0x1cfbad;let _0x277aa0=(0x0,path_1[_0x2f0e46(0x167)])(resource_1[_0x2f0e46(0x172)],_0x2f0e46(0x157)),_0x2afdc0='';for(let _0x3e9fcb=0x0;_0x3e9fcb<_0x358550[_0x2f0e46(0x141)];_0x3e9fcb++){_0x2afdc0+=_0x2f0e46(0x196)+_0x358550[_0x3e9fcb][_0x2f0e46(0x148)]+_0x2f0e46(0x149);}const _0x5e8b3c=infoPlistXML[_0x2f0e46(0x163)](_0x2f0e46(0x15f),_0x2afdc0);fs['writeFileSync'](_0x277aa0,_0x5e8b3c);}static[_0x1cfbad(0x14f)](_0x5710a6){const _0x3770f4=_0x1cfbad,_0x12bde4=(0x0,path_1[_0x3770f4(0x167)])(resource_1[_0x3770f4(0x172)],_0x3770f4(0x199));let _0x3b7ec6=manifestSwiftTemplate_1[_0x3770f4(0x19f)];_0x3b7ec6=_0x3b7ec6['replace'](_0x3770f4(0x146),_0x5710a6['start_url']),_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)](_0x3770f4(0x14d),_0x5710a6[_0x3770f4(0x165)]),_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)]('AppName',_0x5710a6[_0x3770f4(0x151)]),_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)](_0x3770f4(0x16c),_0x5710a6[_0x3770f4(0x171)]),_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)](_0x3770f4(0x184),_0x5710a6['id']),_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)]('.minimal',_0x5710a6['display']==_0x3770f4(0x194)?_0x3770f4(0x174):_0x3770f4(0x192));if(_0x5710a6[_0x3770f4(0x181)]){let _0x1a1e7c='';for(let _0x119b33=0x0;_0x119b33<_0x5710a6[_0x3770f4(0x181)][_0x3770f4(0x141)];_0x119b33++){_0x1a1e7c+=_0x3770f4(0x18a)+_0x5710a6[_0x3770f4(0x181)][_0x119b33][_0x3770f4(0x148)]+_0x3770f4(0x18c)+_0x5710a6[_0x3770f4(0x181)][_0x119b33][_0x3770f4(0x145)]+_0x3770f4(0x190);}_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x1a1e7c);}_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)](_0x3770f4(0x175),_0x5710a6['mainScene'][_0x3770f4(0x179)][_0x3770f4(0x160)]),_0x3b7ec6=_0x3b7ec6[_0x3770f4(0x163)](_0x3770f4(0x147),_0x5710a6['mainScene'][_0x3770f4(0x179)][_0x3770f4(0x159)]),_0x3b7ec6=_0x3b7ec6['replace'](_0x3770f4(0x19c),'\x22'+_0x5710a6[_0x3770f4(0x144)][_0x3770f4(0x15c)]+'\x22'),fs['writeFileSync'](_0x12bde4,_0x3b7ec6,_0x3770f4(0x182));}}exports['default']=XcodeProject;
1
+ 'use strict';function _0x2600(_0x378e7c,_0x311a1f){const _0x1ee596=_0x1ee5();return _0x2600=function(_0x2600f1,_0x55ff5d){_0x2600f1=_0x2600f1-0x13f;let _0x3558b4=_0x1ee596[_0x2600f1];return _0x3558b4;},_0x2600(_0x378e7c,_0x311a1f);}const _0x411fdb=_0x2600;function _0x1ee5(){const _0x15fa69=['615RDouWJ','DEEPLINK','SceneWidth','ImageHelper','version','writeAsync','<?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>','writeSync','7148330QCOFYm','bindManifestInfo','.standalone','DEVELOPMENT_TEAM','updateTeamId','utf-8','<string>','SceneHeight','protocol','modify','fixProjectFunction','image/','icon.','getMIME','../resource/load','start_url','8NlaySu','297kFSzBB','defineProperty','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','buildSettings','test','pbxGroupByName','BACK_APPICON_DIRECTORY','stringify','enterprise','app-store-connect','<?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','ExportOptions.plist','resizability','icon.png','writeFileSync','buildConfigurationList','release-testing','manifestSwiftTemplate','buildConfigurations','Contents.json','updateExportOptions','hash','PRODUCT_BUNDLE_IDENTIFIER','loadJsonFromDisk','includes','join','746oqwxFA','height','\x22),','SCOPE','../resource','buildType','path','modifySwift','PROJECT_BUILD_DIRECTORY','parseSync','PWAProtocol(protocolValue:\x20\x22','pbxXCConfigurationList','defaultSize','bindIcon','67554mksfOd','.minimal','value','createImg','objects','log','teamId','START_URL','url','MIDDLE_APPICON_DIRECTORY','AppID','name','PBXGroup','icon','width','replace','filename','length','description','YOURTEAMID','push','Description','updateProductName','images','protocol_handlers','1406083aLfVTN','manifestInfo','pbxXCBuildConfigurationSection','updateBuildProperty','PROJECT_DIRECTORY','960388JSAJKx','554790SHwKUt','CURRENT_PROJECT_VERSION','existsSync','default','json','11388sTIYNS','./web-spatial/Info.plist','minimal-ui','AppName','mainScene','project','updateDeeplink','pbxTargetByName'];_0x1ee5=function(){return _0x15fa69;};return _0x1ee5();}(function(_0x2dbde8,_0x3876bb){const _0x573a99=_0x2600,_0x50347e=_0x2dbde8();while(!![]){try{const _0x4c49fa=-parseInt(_0x573a99(0x170))/0x1*(parseInt(_0x573a99(0x18a))/0x2)+-parseInt(_0x573a99(0x14a))/0x3+-parseInt(_0x573a99(0x149))/0x4+-parseInt(_0x573a99(0x157))/0x5*(parseInt(_0x573a99(0x14f))/0x6)+parseInt(_0x573a99(0x144))/0x7*(parseInt(_0x573a99(0x16f))/0x8)+-parseInt(_0x573a99(0x198))/0x9+parseInt(_0x573a99(0x15f))/0xa;if(_0x4c49fa===_0x3876bb)break;else _0x50347e['push'](_0x50347e['shift']());}catch(_0x494557){_0x50347e['push'](_0x50347e['shift']());}}}(_0x1ee5,0x21eb6));Object[_0x411fdb(0x171)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0x411fdb(0x18e)),path_1=require(_0x411fdb(0x190)),load_1=require(_0x411fdb(0x16d)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require('xcode'),exportOptionsXML=_0x411fdb(0x15d),infoPlistXML=_0x411fdb(0x17a);let useExportOptionsXML='';class XcodeProject{static async[_0x411fdb(0x168)](_0xeb18af,_0x4c8eb3){const _0x347a02=_0x411fdb;let _0x400c4e=xcode[_0x347a02(0x154)](_0xeb18af);this[_0x347a02(0x169)](_0x400c4e),_0x400c4e[_0x347a02(0x193)]();let _0x2608c8=_0x4c8eb3[_0x347a02(0x18f)];const _0x357efd=[_0x347a02(0x180),_0x347a02(0x179),'debugging',_0x347a02(0x178)];useExportOptionsXML=exportOptionsXML[_0x347a02(0x1a7)]('BUILDTYPE',_0x357efd['includes'](_0x2608c8)?_0x2608c8:_0x347a02(0x180));_0x4c8eb3[_0x347a02(0x19e)]&&this[_0x347a02(0x163)](_0x400c4e,_0x4c8eb3[_0x347a02(0x19e)]);this[_0x347a02(0x184)](),await this[_0x347a02(0x197)](_0x4c8eb3[_0x347a02(0x1a5)]),this[_0x347a02(0x160)](_0x400c4e,_0x4c8eb3[_0x347a02(0x145)][_0x347a02(0x14e)]);_0x4c8eb3[_0x347a02(0x15b)]?this['updateVersion'](_0x400c4e,_0x4c8eb3[_0x347a02(0x15b)]):this['updateVersion'](_0x400c4e,'1.0');try{fs[_0x347a02(0x17e)](_0xeb18af,_0x400c4e[_0x347a02(0x15e)]());}catch(_0x59d667){console[_0x347a02(0x19d)](_0x59d667);}}static[_0x411fdb(0x169)](_0x25cc8f){const _0x21ddfb=_0x411fdb;_0x25cc8f[_0x21ddfb(0x175)]=function(_0x2d25ec){const _0x548453=_0x21ddfb;var _0x307640=this[_0x548453(0x185)][_0x548453(0x154)][_0x548453(0x19c)][_0x548453(0x1a4)],_0x4f49c2,_0x13f121;for(_0x4f49c2 in _0x307640){if(!/_comment$/[_0x548453(0x174)](_0x4f49c2))continue;if(_0x307640[_0x4f49c2]==_0x2d25ec)return _0x13f121=_0x4f49c2['split'](/_comment$/)[0x0],_0x307640[_0x13f121];}return![];},_0x25cc8f[_0x21ddfb(0x147)]=function(_0x1f0e6e,_0x19e1e0,_0x12bf39,_0x5a4296){const _0x3b11ab=_0x21ddfb;let _0x2b3f9e=[];const _0x4df46d=/_comment$/;if(_0x5a4296){const _0x6ed501=this[_0x3b11ab(0x156)](_0x5a4296),_0x3599d0=_0x6ed501&&_0x6ed501[_0x3b11ab(0x17f)],_0x13fb4e=this[_0x3b11ab(0x195)]();for(const _0x39936d in _0x13fb4e){if(!_0x4df46d[_0x3b11ab(0x174)](_0x39936d)&&_0x3599d0===_0x39936d){const _0x4f0291=_0x13fb4e[_0x39936d][_0x3b11ab(0x182)];for(const _0x5493db of _0x4f0291){_0x2b3f9e[_0x3b11ab(0x13f)](_0x5493db[_0x3b11ab(0x19a)]);}break;}}}var _0x326bae=this[_0x3b11ab(0x146)]();for(var _0x485697 in _0x326bae){if(!_0x4df46d[_0x3b11ab(0x174)](_0x485697)){if(_0x5a4296&&!_0x2b3f9e[_0x3b11ab(0x188)](_0x485697))continue;var _0x4d87ee=_0x326bae[_0x485697];(_0x12bf39&&_0x4d87ee[_0x3b11ab(0x1a3)]===_0x12bf39||!_0x12bf39)&&_0x4d87ee[_0x3b11ab(0x173)][_0x1f0e6e]&&(_0x4d87ee['buildSettings'][_0x1f0e6e]=_0x19e1e0);}}};}static async[_0x411fdb(0x197)](_0xcd882f){const _0x2c6a1e=_0x411fdb;if(_0xcd882f){const _0x20c345=(0x0,path_1[_0x2c6a1e(0x189)])(resource_1[_0x2c6a1e(0x148)],resource_1[_0x2c6a1e(0x176)]),_0x529d36=(0x0,path_1[_0x2c6a1e(0x189)])(_0x20c345,'Contents.json'),_0x4bfcc6=_0x2c6a1e(0x16b)+_0xcd882f[_0x2c6a1e(0x16c)]()[_0x2c6a1e(0x1a7)](_0x2c6a1e(0x16a),''),_0x1c8ffb=(0x0,path_1['join'])(_0x20c345,_0x4bfcc6);let _0x1cb9ef=await(0x0,load_1[_0x2c6a1e(0x187)])(_0x529d36);_0x1cb9ef[_0x2c6a1e(0x142)][0x0][_0x2c6a1e(0x1a8)]=_0x4bfcc6,await _0xcd882f[_0x2c6a1e(0x15c)](_0x1c8ffb),await fs[_0x2c6a1e(0x17e)](_0x529d36,JSON[_0x2c6a1e(0x177)](_0x1cb9ef));const _0x1240ab=(0x0,path_1['join'])(resource_1[_0x2c6a1e(0x148)],resource_1[_0x2c6a1e(0x1a1)]),_0x57862c=(0x0,path_1[_0x2c6a1e(0x189)])(_0x1240ab,_0x2c6a1e(0x183)),_0x817708=_0x2c6a1e(0x17d),_0x5d0e81=(0x0,path_1[_0x2c6a1e(0x189)])(_0x1240ab,_0x817708);let _0x39b9d1=await(0x0,load_1[_0x2c6a1e(0x187)])(_0x57862c),_0x45d6d8=imageHelper_1[_0x2c6a1e(0x15a)][_0x2c6a1e(0x19b)](0x200);_0x39b9d1[_0x2c6a1e(0x142)][0x0][_0x2c6a1e(0x1a8)]=_0x817708,await _0x45d6d8[_0x2c6a1e(0x15c)](_0x5d0e81),await fs[_0x2c6a1e(0x17e)](_0x57862c,JSON[_0x2c6a1e(0x177)](_0x39b9d1));}}static[_0x411fdb(0x163)](_0x1481ed,_0x33a5f9){const _0xd9ee72=_0x411fdb;_0x1481ed[_0xd9ee72(0x147)](_0xd9ee72(0x162),_0x33a5f9),useExportOptionsXML=useExportOptionsXML[_0xd9ee72(0x1a7)](_0xd9ee72(0x1ab),_0x33a5f9);}static[_0x411fdb(0x184)](){const _0x4993a7=_0x411fdb;!fs[_0x4993a7(0x14c)](resource_1[_0x4993a7(0x192)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x4993a7(0x17e)]((0x0,path_1[_0x4993a7(0x189)])(resource_1[_0x4993a7(0x192)],_0x4993a7(0x17b)),useExportOptionsXML);}static['bindManifestInfo'](_0x42ba54,_0x52184f){const _0x5af8e6=_0x411fdb;var _0x47e436;_0x42ba54[_0x5af8e6(0x141)](_0x52184f[_0x5af8e6(0x1a3)]),_0x42ba54['updateBuildProperty'](_0x5af8e6(0x186),'\x22'+_0x52184f['id']+'\x22'),this[_0x5af8e6(0x155)]((_0x47e436=_0x52184f[_0x5af8e6(0x143)])!==null&&_0x47e436!==void 0x0?_0x47e436:[]),this[_0x5af8e6(0x191)](_0x52184f);}static['updateVersion'](_0x3f581d,_0x4db119){const _0x49cbfc=_0x411fdb;_0x3f581d[_0x49cbfc(0x147)](_0x49cbfc(0x14b),_0x4db119);}static[_0x411fdb(0x155)](_0x2f9149){const _0x3c4498=_0x411fdb;let _0x55640f=(0x0,path_1[_0x3c4498(0x189)])(resource_1['PROJECT_DIRECTORY'],_0x3c4498(0x150)),_0x7c3854='';for(let _0x318743=0x0;_0x318743<_0x2f9149[_0x3c4498(0x1a9)];_0x318743++){_0x7c3854+=_0x3c4498(0x165)+_0x2f9149[_0x318743]['protocol']+'</string>';}const _0x4df495=infoPlistXML[_0x3c4498(0x1a7)](_0x3c4498(0x158),_0x7c3854);fs[_0x3c4498(0x17e)](_0x55640f,_0x4df495);}static['modifySwift'](_0x3c92b3){const _0x58ab37=_0x411fdb,_0x3be34b=(0x0,path_1[_0x58ab37(0x189)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/libs/webView/manifest.swift');let _0x549438=manifestSwiftTemplate_1[_0x58ab37(0x181)];_0x549438=_0x549438['replace'](_0x58ab37(0x19f),_0x3c92b3[_0x58ab37(0x16e)]),_0x549438=_0x549438[_0x58ab37(0x1a7)](_0x58ab37(0x18d),_0x3c92b3['scope']),_0x549438=_0x549438['replace'](_0x58ab37(0x152),_0x3c92b3[_0x58ab37(0x1a3)]),_0x549438=_0x549438[_0x58ab37(0x1a7)](_0x58ab37(0x140),_0x3c92b3[_0x58ab37(0x1aa)]),_0x549438=_0x549438[_0x58ab37(0x1a7)](_0x58ab37(0x1a2),_0x3c92b3['id']),_0x549438=_0x549438['replace'](_0x58ab37(0x199),_0x3c92b3['display']==_0x58ab37(0x151)?_0x58ab37(0x199):_0x58ab37(0x161));if(_0x3c92b3[_0x58ab37(0x143)]){let _0x4808d5='';for(let _0x3f1d4b=0x0;_0x3f1d4b<_0x3c92b3[_0x58ab37(0x143)][_0x58ab37(0x1a9)];_0x3f1d4b++){_0x4808d5+=_0x58ab37(0x194)+_0x3c92b3[_0x58ab37(0x143)][_0x3f1d4b][_0x58ab37(0x167)]+'\x22,\x20url:\x20\x22'+_0x3c92b3[_0x58ab37(0x143)][_0x3f1d4b][_0x58ab37(0x1a0)]+_0x58ab37(0x18c);}_0x549438=_0x549438[_0x58ab37(0x1a7)](_0x58ab37(0x172),_0x4808d5);}_0x549438=_0x549438['replace'](_0x58ab37(0x159),_0x3c92b3[_0x58ab37(0x153)][_0x58ab37(0x196)][_0x58ab37(0x1a6)]),_0x549438=_0x549438[_0x58ab37(0x1a7)](_0x58ab37(0x166),_0x3c92b3['mainScene'][_0x58ab37(0x196)][_0x58ab37(0x18b)]),_0x549438=_0x549438[_0x58ab37(0x1a7)]('SceneResizability','\x22'+_0x3c92b3[_0x58ab37(0x153)][_0x58ab37(0x17c)]+'\x22'),fs['writeFileSync'](_0x3be34b,_0x549438,_0x58ab37(0x164));}}exports[_0x411fdb(0x14d)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x438591=_0x36bb;(function(_0x187238,_0x827bf7){const _0x4fd759=_0x36bb,_0x3679f2=_0x187238();while(!![]){try{const _0xab7a14=-parseInt(_0x4fd759(0x1fa))/0x1*(-parseInt(_0x4fd759(0x1fe))/0x2)+-parseInt(_0x4fd759(0x201))/0x3+-parseInt(_0x4fd759(0x1ee))/0x4+parseInt(_0x4fd759(0x1cc))/0x5+parseInt(_0x4fd759(0x1db))/0x6+-parseInt(_0x4fd759(0x1df))/0x7*(-parseInt(_0x4fd759(0x1eb))/0x8)+-parseInt(_0x4fd759(0x206))/0x9;if(_0xab7a14===_0x827bf7)break;else _0x3679f2['push'](_0x3679f2['shift']());}catch(_0x485119){_0x3679f2['push'](_0x3679f2['shift']());}}}(_0x3ec1,0xb980b));function _0x36bb(_0x400c89,_0x365184){const _0x3ec1ec=_0x3ec1();return _0x36bb=function(_0x36bb1b,_0x1b17be){_0x36bb1b=_0x36bb1b-0x1c9;let _0x49bf87=_0x3ec1ec[_0x36bb1b];return _0x49bf87;},_0x36bb(_0x400c89,_0x365184);}Object[_0x438591(0x214)](exports,'__esModule',{'value':!![]});const child_process_1=require('child_process'),resource_1=require('../resource'),path_1=require(_0x438591(0x217)),fs=require('fs'),xcodebuild_1=require(_0x438591(0x1ea));function _0x3ec1(){const _0x53175a=['install','install\x20success','build\x20success','XcodebuildCMD','\x20boot\x20\x22','\x20list\x20devices\x20\x22','mkdirSync','xcrun','Booted','visionos','1tGADSC','state','\x20-u\x20','validate','2531028pVSbMA','PROJECT_DIRECTORY','\x20shutdown\x20booted','1169541GrWqRA','\x20install\x20\x22','project','\x20launch\x20\x22','\x20--upload-package\x20','12170664cEKOVA','log','join','boot','\x20-t\x20','platform','\x20--apiIssuer\x20','verbose','includes','\x20--apiKey\x20','\x20simctl','\x27\x20-derivedDataPath\x20','Build/Products/Debug-xrsimulator/','/test','defineProperty','altool','Apple\x20Vision\x20Pro','path','PROJECT_BUILD_DIRECTORY','toString','simctl','\x22\x20\x22','.app','split','runWithSimulator','parseListDevices','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','5423985WEqoDB','uploadApp','existsSync','find\x20simulator:\x20','\x20--upload-app\x20-f\x20','--\x20','deviceId','listDevices','\x20list','default','launch\x20app','length','uploadPackage','/web-spatial.xcodeproj','authApi','1125060LCfZCY','\x20--verbose','\x20--apple-id\x20','authAccount','7QgxdOm','Shutdown','version','appleId','trim','installing\x20app','start\x20building','\x20--validate-app\x20-f\x20','execSync','--\x20visionOS','\x20-p\x20','./xcodebuild','4439848MOJNVx','no\x20visionOS\x20simulator\x20found','line','2363360ThIqru','launch'];_0x3ec1=function(){return _0x53175a;};return _0x3ec1();}class Xcrun{static async[_0x438591(0x1fd)](_0x4e7ea2,_0x33ef1b,_0x581661,_0xdb5b39){const _0x34bf03=_0x438591,_0x591e4f=new XcrunCMD()['altool']();_0x591e4f['validate'](_0x4e7ea2);_0xdb5b39?_0x591e4f[_0x34bf03(0x1de)](_0x33ef1b,_0x581661):_0x591e4f[_0x34bf03(0x1da)](_0x33ef1b,_0x581661);_0x591e4f['platform'](_0x34bf03(0x1f9));const _0x25d1f6=(0x0,child_process_1[_0x34bf03(0x1e7)])(_0x591e4f['line']);return _0x25d1f6['toString']();}static async[_0x438591(0x1d8)](_0x30c84c,_0x37e9f0,_0x251999,_0x617d6c,_0x2e0aef){const _0x30101c=_0x438591,_0x29665e=new XcrunCMD()[_0x30101c(0x215)]();_0x29665e[_0x30101c(0x1d8)](_0x30c84c);_0x2e0aef?_0x29665e[_0x30101c(0x1de)](_0x37e9f0,_0x251999):_0x29665e[_0x30101c(0x1da)](_0x37e9f0,_0x251999);_0x29665e[_0x30101c(0x20b)](_0x30101c(0x1f9)),_0x29665e[_0x30101c(0x1e2)](_0x617d6c);const _0x1a0e46=(0x0,child_process_1['execSync'])(_0x29665e[_0x30101c(0x1ed)]);return _0x1a0e46[_0x30101c(0x219)]();}static async[_0x438591(0x1cd)](_0x30e884,_0x16f21a,_0x326b1e,_0x2cf1d8){const _0x45bc72=_0x438591,_0x387f55=new XcrunCMD()[_0x45bc72(0x215)]();_0x387f55['uploadApp'](_0x30e884);_0x2cf1d8?_0x387f55[_0x45bc72(0x1de)](_0x16f21a,_0x326b1e):_0x387f55['authApi'](_0x16f21a,_0x326b1e);_0x387f55[_0x45bc72(0x20b)]('visionos');const _0x142170=(0x0,child_process_1['execSync'])(_0x387f55[_0x45bc72(0x1ed)]);return _0x142170[_0x45bc72(0x219)]();}static async[_0x438591(0x1c9)](_0x2754d9){const _0x1d30fb=_0x438591;let _0x2728ca=new XcrunCMD()['simctl']();_0x2728ca[_0x1d30fb(0x1d3)](_0x1d30fb(0x216));const _0x4e6e26=(0x0,child_process_1['execSync'])(_0x2728ca[_0x1d30fb(0x1ed)]),_0x1d18e0=this[_0x1d30fb(0x1ca)](_0x4e6e26[_0x1d30fb(0x219)]());if(_0x1d18e0[_0x1d30fb(0x1d7)]===0x0)throw new Error(_0x1d30fb(0x1ec));let _0x3710a2=_0x1d18e0[0x0];for(let _0x5eba86=0x0;_0x5eba86<_0x1d18e0['length'];_0x5eba86++){if(_0x1d18e0[_0x5eba86]['state']===_0x1d30fb(0x1f8)){_0x3710a2=_0x1d18e0[_0x5eba86];break;}}console[_0x1d30fb(0x207)](_0x1d30fb(0x1cf)+_0x3710a2[_0x1d30fb(0x1d2)]);const _0x5d6704=resource_1[_0x1d30fb(0x1ff)]+_0x1d30fb(0x1d9),_0x152990=resource_1[_0x1d30fb(0x218)]+_0x1d30fb(0x213);!fs[_0x1d30fb(0x1ce)](resource_1[_0x1d30fb(0x218)])&&fs[_0x1d30fb(0x1f6)](resource_1[_0x1d30fb(0x218)],{'recursive':!![]});!fs['existsSync'](_0x152990)&&fs[_0x1d30fb(0x1f6)](_0x152990,{'recursive':!![]});const _0x3aaa7e=new xcodebuild_1[(_0x1d30fb(0x1f3))]()[_0x1d30fb(0x203)](_0x5d6704)['line']+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x3710a2['deviceId']+_0x1d30fb(0x211)+_0x152990);console[_0x1d30fb(0x207)](_0x1d30fb(0x1e5)),(0x0,child_process_1[_0x1d30fb(0x1e7)])(_0x3aaa7e),console[_0x1d30fb(0x207)](_0x1d30fb(0x1f2));_0x3710a2[_0x1d30fb(0x1fb)]===_0x1d30fb(0x1e0)&&(_0x2728ca=new XcrunCMD()[_0x1d30fb(0x21a)](),_0x2728ca[_0x1d30fb(0x209)](_0x3710a2['deviceId']),(0x0,child_process_1[_0x1d30fb(0x1e7)])(_0x2728ca['line']));(0x0,child_process_1[_0x1d30fb(0x1e7)])(_0x1d30fb(0x1cb)),console['log'](_0x1d30fb(0x1e4));const _0x554dd3=(0x0,path_1[_0x1d30fb(0x208)])(_0x152990,_0x1d30fb(0x212)+_0x2754d9['name']+_0x1d30fb(0x21c));_0x2728ca=new XcrunCMD()['simctl'](),_0x2728ca[_0x1d30fb(0x1f0)](_0x3710a2[_0x1d30fb(0x1d2)],_0x554dd3),(0x0,child_process_1[_0x1d30fb(0x1e7)])(_0x2728ca['line']),console[_0x1d30fb(0x207)](_0x1d30fb(0x1f1)),console[_0x1d30fb(0x207)](_0x1d30fb(0x1d6)),_0x2728ca=new XcrunCMD()[_0x1d30fb(0x21a)](),_0x2728ca[_0x1d30fb(0x1ef)](_0x3710a2[_0x1d30fb(0x1d2)],_0x2754d9['id']),(0x0,child_process_1[_0x1d30fb(0x1e7)])(_0x2728ca[_0x1d30fb(0x1ed)]);}static[_0x438591(0x1ca)](_0xd89ee){const _0x5e2e7d=_0x438591;let _0x22b255=_0xd89ee[_0x5e2e7d(0x21d)]('\x0a'),_0x351b87=[],_0x2aab3d=-0x1;for(let _0x11b676=0x0;_0x11b676<_0x22b255['length'];_0x11b676++){if(_0x22b255[_0x11b676][_0x5e2e7d(0x20e)](_0x5e2e7d(0x1e8)))_0x2aab3d=_0x11b676;else{if(_0x2aab3d>0x0){if(_0x22b255[_0x11b676]['includes'](_0x5e2e7d(0x1d1)))break;if(_0x22b255[_0x11b676][_0x5e2e7d(0x1d7)]>0x0){const _0xc94fcb=_0x22b255[_0x11b676]['split']('('),_0x3b43e8={'name':_0xc94fcb[0x0][_0x5e2e7d(0x1e3)](),'deviceId':_0xc94fcb[0x1][_0x5e2e7d(0x21d)](')')[0x0]['trim'](),'state':_0xc94fcb[0x2][_0x5e2e7d(0x21d)](')')[0x0]['trim']()};_0x351b87['push'](_0x3b43e8);}}}}return _0x351b87;}}exports[_0x438591(0x1d5)]=Xcrun;class XcrunCMD{constructor(){const _0x384d48=_0x438591;this[_0x384d48(0x1ed)]=_0x384d48(0x1f7);}[_0x438591(0x215)](){const _0x29d40a=_0x438591;return this[_0x29d40a(0x1ed)]+='\x20altool',this;}[_0x438591(0x21a)](){const _0x235a44=_0x438591;return this[_0x235a44(0x1ed)]+=_0x235a44(0x210),this;}['list'](){const _0x33d075=_0x438591;return this[_0x33d075(0x1ed)]+=_0x33d075(0x1d4),this;}['listDevices'](_0x1a60ec){const _0x45253e=_0x438591;return this[_0x45253e(0x1ed)]+=_0x45253e(0x1f5)+_0x1a60ec+'\x22',this;}['validate'](_0x5a64ca){const _0x4ab678=_0x438591;return this[_0x4ab678(0x1ed)]+=_0x4ab678(0x1e6)+_0x5a64ca,this;}[_0x438591(0x1cd)](_0x1b2f0f){const _0x4e42c9=_0x438591;return this['line']+=_0x4e42c9(0x1d0)+_0x1b2f0f,this;}[_0x438591(0x1d8)](_0x3d5f0e){const _0x29784b=_0x438591;return this[_0x29784b(0x1ed)]+=_0x29784b(0x205)+_0x3d5f0e,this;}[_0x438591(0x1de)](_0x47aa1b,_0x2cdc8d){const _0x3294ff=_0x438591;return this[_0x3294ff(0x1ed)]+=_0x3294ff(0x1fc)+_0x47aa1b+_0x3294ff(0x1e9)+_0x2cdc8d,this;}[_0x438591(0x1da)](_0x1e0a7d,_0x6014c9){const _0x1b6ea9=_0x438591;return this['line']+=_0x1b6ea9(0x20f)+_0x1e0a7d+_0x1b6ea9(0x20c)+_0x6014c9,this;}[_0x438591(0x1e2)](_0x455da3){const _0x178462=_0x438591;return this[_0x178462(0x1ed)]+=_0x178462(0x1dd)+_0x455da3,this;}[_0x438591(0x20b)](_0x3f92d6){const _0x3acb95=_0x438591;return this['line']+=_0x3acb95(0x20a)+_0x3f92d6,this;}[_0x438591(0x1e1)](_0x290538){const _0x41bd29=_0x438591;return this[_0x41bd29(0x1ed)]+='\x20--bundle-version\x20'+_0x290538,this;}[_0x438591(0x20d)](){const _0x4912ff=_0x438591;return this['line']+=_0x4912ff(0x1dc),this;}['shutdown'](){const _0x39a96e=_0x438591;return this[_0x39a96e(0x1ed)]+=_0x39a96e(0x200),this;}[_0x438591(0x209)](_0x465418){const _0x4ad1d4=_0x438591;return this[_0x4ad1d4(0x1ed)]+=_0x4ad1d4(0x1f4)+_0x465418+'\x22',this;}['install'](_0x2e98bd,_0x9c6dd8){const _0x2a363b=_0x438591;return this['line']+=_0x2a363b(0x202)+_0x2e98bd+_0x2a363b(0x21b)+_0x9c6dd8+'\x22',this;}[_0x438591(0x1ef)](_0xdbfd9b,_0x4f0deb){const _0x59f75a=_0x438591;return this[_0x59f75a(0x1ed)]+=_0x59f75a(0x204)+_0xdbfd9b+_0x59f75a(0x21b)+_0x4f0deb+'\x22',this;}}
1
+ 'use strict';const _0x1a5479=_0x55ad;(function(_0x25e4ce,_0x3ed282){const _0x2bee58=_0x55ad,_0x27101b=_0x25e4ce();while(!![]){try{const _0x4b5094=parseInt(_0x2bee58(0x1c2))/0x1+-parseInt(_0x2bee58(0x1a5))/0x2*(-parseInt(_0x2bee58(0x1ca))/0x3)+-parseInt(_0x2bee58(0x1e1))/0x4*(-parseInt(_0x2bee58(0x1d4))/0x5)+parseInt(_0x2bee58(0x1e2))/0x6*(parseInt(_0x2bee58(0x1df))/0x7)+-parseInt(_0x2bee58(0x1cc))/0x8*(-parseInt(_0x2bee58(0x1ed))/0x9)+-parseInt(_0x2bee58(0x1c4))/0xa+-parseInt(_0x2bee58(0x1f5))/0xb*(parseInt(_0x2bee58(0x1e4))/0xc);if(_0x4b5094===_0x3ed282)break;else _0x27101b['push'](_0x27101b['shift']());}catch(_0x577cf5){_0x27101b['push'](_0x27101b['shift']());}}}(_0x43aa,0xd2686));Object['defineProperty'](exports,'__esModule',{'value':!![]});const child_process_1=require(_0x1a5479(0x1fa)),resource_1=require(_0x1a5479(0x1e5)),path_1=require(_0x1a5479(0x1b3)),fs=require('fs'),xcodebuild_1=require(_0x1a5479(0x1a3));function _0x55ad(_0x47e953,_0xe5cf48){const _0x43aa07=_0x43aa();return _0x55ad=function(_0x55ad95,_0x567176){_0x55ad95=_0x55ad95-0x1a3;let _0x34b839=_0x43aa07[_0x55ad95];return _0x34b839;},_0x55ad(_0x47e953,_0xe5cf48);}function _0x43aa(){const _0x223186=['7415YMNzgo','log','validate','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20launch\x20\x22','boot','\x20--verbose','length','\x20--bundle-version\x20','mkdirSync','line','6629dMZneL','\x20list\x20devices\x20\x22','1736gWhote','2370VaPfSS','XcodebuildCMD','60sKfzWP','../resource','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','split','deviceId','\x20--upload-package\x20','launch\x20app','\x20install\x20\x22','altool','10687167iARLnN','find\x20simulator:\x20','no\x20visionOS\x20simulator\x20found','\x20--validate-app\x20-f\x20','push','PROJECT_DIRECTORY','Build/Products/Debug-xrsimulator/','toString','5758159gFXKbI','simctl','name','shutdown','\x20--apiKey\x20','child_process','\x20list','./xcodebuild','appleId','346zkafLp','authAccount','\x20altool','launch','\x20-u\x20','build\x20success','\x20-t\x20','includes','/web-spatial.xcodeproj','installing\x20app','execSync','verbose','platform','\x22\x20\x22','path','existsSync','\x27\x20-derivedDataPath\x20','install','Apple\x20Vision\x20Pro','--\x20visionOS','version','authApi','.app','install\x20success','uploadPackage','Shutdown','\x20boot\x20\x22','listDevices','list','795560lOxFgF','/test','791140sxhCzi','parseListDevices','uploadApp','PROJECT_BUILD_DIRECTORY','state','--\x20','9669YbHVHy','\x20shutdown\x20booted','8WrdCpH','start\x20building','visionos','runWithSimulator','\x20--upload-app\x20-f\x20','Booted','\x20--apple-id\x20','trim'];_0x43aa=function(){return _0x223186;};return _0x43aa();}class Xcrun{static async[_0x1a5479(0x1d6)](_0x44c5da,_0x26a91d,_0x2aecf2,_0x400eef){const _0x3f4a64=_0x1a5479,_0x322a15=new XcrunCMD()['altool']();_0x322a15[_0x3f4a64(0x1d6)](_0x44c5da);_0x400eef?_0x322a15[_0x3f4a64(0x1a6)](_0x26a91d,_0x2aecf2):_0x322a15[_0x3f4a64(0x1ba)](_0x26a91d,_0x2aecf2);_0x322a15['platform'](_0x3f4a64(0x1ce));const _0x2291a9=(0x0,child_process_1['execSync'])(_0x322a15[_0x3f4a64(0x1de)]);return _0x2291a9[_0x3f4a64(0x1f4)]();}static async[_0x1a5479(0x1bd)](_0x4e691e,_0x21eaf6,_0x2e9c05,_0xa292bf,_0x3c4afd){const _0x5db107=_0x1a5479,_0x4ba851=new XcrunCMD()[_0x5db107(0x1ec)]();_0x4ba851[_0x5db107(0x1bd)](_0x4e691e);_0x3c4afd?_0x4ba851['authAccount'](_0x21eaf6,_0x2e9c05):_0x4ba851[_0x5db107(0x1ba)](_0x21eaf6,_0x2e9c05);_0x4ba851[_0x5db107(0x1b1)](_0x5db107(0x1ce)),_0x4ba851[_0x5db107(0x1a4)](_0xa292bf);const _0x8da491=(0x0,child_process_1[_0x5db107(0x1af)])(_0x4ba851[_0x5db107(0x1de)]);return _0x8da491['toString']();}static async['uploadApp'](_0x2ea4bc,_0x3aed26,_0x23c1fc,_0x4485e7){const _0x33dfa4=_0x1a5479,_0x47bcba=new XcrunCMD()[_0x33dfa4(0x1ec)]();_0x47bcba[_0x33dfa4(0x1c6)](_0x2ea4bc);_0x4485e7?_0x47bcba[_0x33dfa4(0x1a6)](_0x3aed26,_0x23c1fc):_0x47bcba[_0x33dfa4(0x1ba)](_0x3aed26,_0x23c1fc);_0x47bcba[_0x33dfa4(0x1b1)]('visionos');const _0x33f246=(0x0,child_process_1['execSync'])(_0x47bcba[_0x33dfa4(0x1de)]);return _0x33f246[_0x33dfa4(0x1f4)]();}static async[_0x1a5479(0x1cf)](_0x27d341){const _0x2cd8f4=_0x1a5479;let _0xa24e9c=new XcrunCMD()[_0x2cd8f4(0x1f6)]();_0xa24e9c[_0x2cd8f4(0x1c0)](_0x2cd8f4(0x1b7));const _0x2ad53b=(0x0,child_process_1[_0x2cd8f4(0x1af)])(_0xa24e9c[_0x2cd8f4(0x1de)]),_0x13d4a1=this[_0x2cd8f4(0x1c5)](_0x2ad53b['toString']());if(_0x13d4a1[_0x2cd8f4(0x1db)]===0x0)throw new Error(_0x2cd8f4(0x1ef));let _0x583321=_0x13d4a1[0x0];for(let _0x4980ec=0x0;_0x4980ec<_0x13d4a1[_0x2cd8f4(0x1db)];_0x4980ec++){if(_0x13d4a1[_0x4980ec][_0x2cd8f4(0x1c8)]===_0x2cd8f4(0x1d1)){_0x583321=_0x13d4a1[_0x4980ec];break;}}console[_0x2cd8f4(0x1d5)](_0x2cd8f4(0x1ee)+_0x583321[_0x2cd8f4(0x1e8)]);const _0x242f62=resource_1[_0x2cd8f4(0x1f2)]+_0x2cd8f4(0x1ad),_0x317009=resource_1['PROJECT_BUILD_DIRECTORY']+_0x2cd8f4(0x1c3);!fs[_0x2cd8f4(0x1b4)](resource_1[_0x2cd8f4(0x1c7)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs['existsSync'](_0x317009)&&fs[_0x2cd8f4(0x1dd)](_0x317009,{'recursive':!![]});const _0x5a6ff6=new xcodebuild_1[(_0x2cd8f4(0x1e3))]()['project'](_0x242f62)['line']+(_0x2cd8f4(0x1e6)+_0x583321[_0x2cd8f4(0x1e8)]+_0x2cd8f4(0x1b5)+_0x317009);console['log'](_0x2cd8f4(0x1cd)),(0x0,child_process_1[_0x2cd8f4(0x1af)])(_0x5a6ff6),console['log'](_0x2cd8f4(0x1aa));_0x583321['state']===_0x2cd8f4(0x1be)&&(_0xa24e9c=new XcrunCMD()[_0x2cd8f4(0x1f6)](),_0xa24e9c[_0x2cd8f4(0x1d9)](_0x583321[_0x2cd8f4(0x1e8)]),(0x0,child_process_1['execSync'])(_0xa24e9c[_0x2cd8f4(0x1de)]));(0x0,child_process_1['execSync'])(_0x2cd8f4(0x1d7)),console['log'](_0x2cd8f4(0x1ae));const _0x4d3e7e=(0x0,path_1['join'])(_0x317009,_0x2cd8f4(0x1f3)+_0x27d341[_0x2cd8f4(0x1f7)]+_0x2cd8f4(0x1bb));_0xa24e9c=new XcrunCMD()['simctl'](),_0xa24e9c[_0x2cd8f4(0x1b6)](_0x583321['deviceId'],_0x4d3e7e),(0x0,child_process_1['execSync'])(_0xa24e9c[_0x2cd8f4(0x1de)]),console[_0x2cd8f4(0x1d5)](_0x2cd8f4(0x1bc)),console[_0x2cd8f4(0x1d5)](_0x2cd8f4(0x1ea)),_0xa24e9c=new XcrunCMD()[_0x2cd8f4(0x1f6)](),_0xa24e9c[_0x2cd8f4(0x1a8)](_0x583321[_0x2cd8f4(0x1e8)],_0x27d341['id']),(0x0,child_process_1[_0x2cd8f4(0x1af)])(_0xa24e9c[_0x2cd8f4(0x1de)]);}static[_0x1a5479(0x1c5)](_0x33250d){const _0x22eaba=_0x1a5479;let _0x150547=_0x33250d['split']('\x0a'),_0x3b94c7=[],_0x3c4a0c=-0x1;for(let _0x4474bc=0x0;_0x4474bc<_0x150547['length'];_0x4474bc++){if(_0x150547[_0x4474bc][_0x22eaba(0x1ac)](_0x22eaba(0x1b8)))_0x3c4a0c=_0x4474bc;else{if(_0x3c4a0c>0x0){if(_0x150547[_0x4474bc][_0x22eaba(0x1ac)](_0x22eaba(0x1c9)))break;if(_0x150547[_0x4474bc][_0x22eaba(0x1db)]>0x0){const _0x17250a=_0x150547[_0x4474bc][_0x22eaba(0x1e7)]('('),_0x2e9813={'name':_0x17250a[0x0][_0x22eaba(0x1d3)](),'deviceId':_0x17250a[0x1][_0x22eaba(0x1e7)](')')[0x0][_0x22eaba(0x1d3)](),'state':_0x17250a[0x2][_0x22eaba(0x1e7)](')')[0x0][_0x22eaba(0x1d3)]()};_0x3b94c7[_0x22eaba(0x1f1)](_0x2e9813);}}}}return _0x3b94c7;}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x277579=_0x1a5479;this[_0x277579(0x1de)]='xcrun';}[_0x1a5479(0x1ec)](){const _0x45e42c=_0x1a5479;return this[_0x45e42c(0x1de)]+=_0x45e42c(0x1a7),this;}[_0x1a5479(0x1f6)](){const _0x592eb9=_0x1a5479;return this[_0x592eb9(0x1de)]+='\x20simctl',this;}[_0x1a5479(0x1c1)](){const _0x57a31d=_0x1a5479;return this[_0x57a31d(0x1de)]+=_0x57a31d(0x1fb),this;}['listDevices'](_0x52c1c0){const _0xa5803f=_0x1a5479;return this[_0xa5803f(0x1de)]+=_0xa5803f(0x1e0)+_0x52c1c0+'\x22',this;}[_0x1a5479(0x1d6)](_0x5e4733){const _0xf2a22a=_0x1a5479;return this[_0xf2a22a(0x1de)]+=_0xf2a22a(0x1f0)+_0x5e4733,this;}[_0x1a5479(0x1c6)](_0x3fa827){const _0x1c17b5=_0x1a5479;return this[_0x1c17b5(0x1de)]+=_0x1c17b5(0x1d0)+_0x3fa827,this;}[_0x1a5479(0x1bd)](_0x72c339){const _0x437688=_0x1a5479;return this[_0x437688(0x1de)]+=_0x437688(0x1e9)+_0x72c339,this;}[_0x1a5479(0x1a6)](_0x4335bc,_0xd12e10){const _0x1969ef=_0x1a5479;return this[_0x1969ef(0x1de)]+=_0x1969ef(0x1a9)+_0x4335bc+'\x20-p\x20'+_0xd12e10,this;}[_0x1a5479(0x1ba)](_0x56286a,_0x17b217){const _0x2b6633=_0x1a5479;return this['line']+=_0x2b6633(0x1f9)+_0x56286a+'\x20--apiIssuer\x20'+_0x17b217,this;}[_0x1a5479(0x1a4)](_0x5c3a69){const _0x28aa47=_0x1a5479;return this['line']+=_0x28aa47(0x1d2)+_0x5c3a69,this;}[_0x1a5479(0x1b1)](_0x118b0e){const _0x1299e2=_0x1a5479;return this['line']+=_0x1299e2(0x1ab)+_0x118b0e,this;}[_0x1a5479(0x1b9)](_0x559b02){const _0x5becc6=_0x1a5479;return this[_0x5becc6(0x1de)]+=_0x5becc6(0x1dc)+_0x559b02,this;}[_0x1a5479(0x1b0)](){const _0x44da12=_0x1a5479;return this[_0x44da12(0x1de)]+=_0x44da12(0x1da),this;}[_0x1a5479(0x1f8)](){const _0x371c66=_0x1a5479;return this[_0x371c66(0x1de)]+=_0x371c66(0x1cb),this;}[_0x1a5479(0x1d9)](_0x49a984){const _0x18c89e=_0x1a5479;return this[_0x18c89e(0x1de)]+=_0x18c89e(0x1bf)+_0x49a984+'\x22',this;}['install'](_0x1f27df,_0x4a585d){const _0x493705=_0x1a5479;return this[_0x493705(0x1de)]+=_0x493705(0x1eb)+_0x1f27df+_0x493705(0x1b2)+_0x4a585d+'\x22',this;}[_0x1a5479(0x1a8)](_0x3fe56c,_0x2fe1eb){const _0x139bdd=_0x1a5479;return this['line']+=_0x139bdd(0x1d8)+_0x3fe56c+_0x139bdd(0x1b2)+_0x2fe1eb+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -5,8 +5,8 @@ var pwaManager = PWAManager()
5
5
 
6
6
  struct PWAManager: Codable {
7
7
  var isLocal: Bool = false
8
- var start_url: String = "static-web/index.html"
9
- var scope: String = "static-web/"
8
+ var start_url: String = "http://localhost:5173/"
9
+ var scope: String = ""
10
10
  var id: String = "com.webspatial.pico"
11
11
 
12
12
  var name: String = "WebSpatial"
@@ -10,119 +10,116 @@ import WebKit
10
10
 
11
11
  struct NavView: View {
12
12
  @State var swc: SpatialWindowComponent?
13
- @State var showUrl: Bool = false
13
+ @State var showUrl: Bool = true
14
14
  @State private var showCopyTip = false
15
- @State private var nowHover = false
16
15
  @State private var navWidth: CGFloat = 0
16
+ @State private var navHeight: CGFloat = 0
17
+ @State private var texWidth: CGFloat = 0
18
+ @State private var firstGetSize: Bool = true
17
19
 
18
20
  var body: some View {
19
21
  ZStack(alignment: .bottomTrailing) {
20
- HStack(spacing: 5) {
21
- Text(pwaManager.name).padding(.trailing, 10)
22
- if pwaManager.display == .minimal {
23
- Button(action: {
24
- swc?.goBack()
25
- }, label: {
26
- Image(systemName: "arrow.left")
27
- })
28
- .disabled(!(swc?.canGoBack ?? false))
29
- Button(action: {
30
- swc?.goForward()
31
- }, label: {
32
- Image(systemName: "arrow.right")
33
- })
34
- .disabled(!(swc?.canGoBack ?? false))
22
+ ZStack {}.frame(width: navWidth, height: navHeight)
23
+ VStack(alignment: .trailing, spacing: 5) {
24
+ if showUrl {
25
+ Text(pwaManager.name).padding(10)
26
+ if pwaManager.display == .minimal {
27
+ HStack(spacing: 5) {
28
+ Button(action: {
29
+ swc?.goBack()
30
+ }, label: {
31
+ Image(systemName: "arrow.left")
32
+ })
33
+ .disabled(!(swc?.canGoBack ?? false))
34
+ Button(action: {
35
+ swc?.goForward()
36
+ }, label: {
37
+ Image(systemName: "arrow.right")
38
+ })
39
+ .disabled(!(swc?.canGoBack ?? false))
40
+ Button(action: {
41
+ swc?.reload()
42
+ }, label: {
43
+ Image(systemName: "arrow.clockwise")
44
+ })
45
+ Button(
46
+ action: {
47
+ swc?
48
+ .navigateToURL(
49
+ url: URL(string: pwaManager.start_url)!
50
+ )
51
+ },
52
+ label: {
53
+ Image(systemName: "house.fill")
54
+ }
55
+ )
56
+ }
57
+ }
58
+ }
59
+ HStack(spacing: 5) {
60
+ if showUrl {
61
+ Text(
62
+ swc?.getURL()?.absoluteString ?? "http://localhost:5173/"
63
+ )
64
+ .padding()
65
+ .lineLimit(1)
66
+ .overlay(GeometryReader { geo -> AnyView in
67
+ DispatchQueue.main.async {
68
+ if geo.size.width > 0 {
69
+ texWidth = .minimum(300, geo.size.width)
70
+ }
71
+ }
72
+ return AnyView(EmptyView())
73
+ })
74
+ .frame(width: texWidth == 0 ? .infinity : texWidth)
75
+ Button(action: {
76
+ UIPasteboard.general.string = swc?.getURL()?.absoluteString ?? ""
77
+ showCopyTip = true
78
+ DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
79
+ showCopyTip = false
80
+ }
81
+ }, label: {
82
+ Text("copy")
83
+ })
84
+ }
85
+
35
86
  Button(action: {
36
- swc?.reload()
87
+ withAnimation(.easeInOut(duration: 0.5)) {
88
+ showUrl.toggle()
89
+ }
37
90
  }, label: {
38
- Image(systemName: "arrow.clockwise")
91
+ Image(systemName: showUrl ? "xmark" : "info")
39
92
  })
40
- Button(
41
- action: {
42
- swc?
43
- .navigateToURL(
44
- url: URL(string: pwaManager.start_url)!
45
- )
46
- },
47
- label: {
48
- Image(systemName: "house.fill")
49
- }
50
- )
51
93
  }
52
- Button(action: {
53
- showUrl.toggle()
54
- }, label: {
55
- Image(systemName: "info.circle")
56
- })
57
- }.overlay(GeometryReader { geo -> AnyView in
94
+ }
95
+ .padding()
96
+ .glassBackgroundEffect(in: RoundedRectangle(cornerRadius: 15))
97
+ .popover(isPresented: $showCopyTip) {
98
+ Text("copied!")
99
+ .padding()
100
+ .cornerRadius(10)
101
+ }
102
+ .overlay(GeometryReader { geo -> AnyView in
58
103
  DispatchQueue.main.async {
59
- navWidth = geo.size.width
60
- print(navWidth)
104
+ if firstGetSize {
105
+ navWidth = geo.size.width
106
+ navHeight = geo.size.height
107
+ firstGetSize.toggle()
108
+ showUrl.toggle()
109
+ print(navWidth)
110
+ }
61
111
  }
62
112
  return AnyView(EmptyView())
63
113
  })
64
- .hoverEffect { effect, isHover, body in
65
- effect.clipShape(getMaskPath(rect: CGRect(x: isHover || showUrl ? 0 : body.size.width - 65, y: 0, width: body.size.width, height: body.size.height)))
66
- // effect.clipShape(.rect.size(width: isHover || showUrl ? 0 : body.size.width - 65, height: body.size.height))
67
- }
68
- .gesture(SpatialTapGesture().onEnded { evt in
69
- let rangeX = navWidth - evt.location.x
70
- if rangeX < 60 {
71
- showUrl.toggle()
72
- } else if rangeX >= 74, rangeX <= 140 {
73
- swc?
74
- .navigateToURL(
75
- url: URL(string: pwaManager.start_url)!
76
- )
77
- } else if rangeX >= 150, rangeX <= 210 {
78
- swc?.reload()
79
- } else if rangeX >= 221, rangeX <= 281 {
80
- swc?.goForward()
81
- } else if rangeX >= 294, rangeX <= 355 {
82
- swc?.goBack()
83
- }
84
- })
85
- HStack(spacing: 5) {
86
- Text(
87
- swc?.getURL()?.absoluteString ?? ""
88
- )
89
- .frame(maxWidth: navWidth)
90
- .padding()
91
- Button(action: {
92
- UIPasteboard.general.string = swc?.getURL()?.absoluteString ?? ""
93
- showCopyTip = true
94
- DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
95
- showCopyTip = false
96
- }
97
- }, label: {
98
- Text("copy")
99
- })
100
-
101
- Button(action: {
102
- showUrl = false
103
- }, label: {
104
- Text("X")
105
- })
106
- }.glassBackgroundEffect(in: .rect).cornerRadius(15).offset(y: 0).opacity(showUrl ? 1 : 0).animation(.easeOut, value: 0.2)
107
- }
108
- .zIndex(10) // closer to user
109
- .popover(isPresented: $showCopyTip) {
110
- Text("copied!")
111
- .padding()
112
- .cornerRadius(10)
113
- // .background(.ultraThinMaterial)
114
+ .opacity(firstGetSize ? 0 : 1)
114
115
  }
116
+ .frame(width: firstGetSize ? .infinity : navWidth, height: firstGetSize ? .infinity : navHeight)
117
+ .offset(z: 30)
115
118
  }
119
+ }
116
120
 
117
- func getMaskPath(rect: CGRect) -> Path {
118
- var path = Path()
119
- path.addRoundedRect(in: rect, cornerSize: CGSize(width: 15, height: 15))
120
- return path
121
+ struct NavView_Previews: PreviewProvider {
122
+ static var previews: some View {
123
+ NavView()
121
124
  }
122
125
  }
123
-
124
- // struct NavView_Previews: PreviewProvider {
125
- // static var previews: some View {
126
- // NavView()
127
- // }
128
- // }