@webspatial/builder 0.0.5 → 0.0.6

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 _0x39fdc5=_0x5de9;(function(_0x5e75a8,_0x4720f6){const _0x539760=_0x5de9,_0x4f1cdd=_0x5e75a8();while(!![]){try{const _0x2661b8=parseInt(_0x539760(0xef))/0x1+parseInt(_0x539760(0xf0))/0x2*(-parseInt(_0x539760(0xf5))/0x3)+parseInt(_0x539760(0xe7))/0x4*(-parseInt(_0x539760(0xee))/0x5)+parseInt(_0x539760(0xfa))/0x6+-parseInt(_0x539760(0xf9))/0x7+parseInt(_0x539760(0xe9))/0x8*(parseInt(_0x539760(0xe5))/0x9)+parseInt(_0x539760(0xfb))/0xa;if(_0x2661b8===_0x4720f6)break;else _0x4f1cdd['push'](_0x4f1cdd['shift']());}catch(_0x2e657f){_0x4f1cdd['push'](_0x4f1cdd['shift']());}}}(_0x5d31,0x18bd1));Object[_0x39fdc5(0xe2)](exports,_0x39fdc5(0xf3),{'value':!![]});const Cli_1=require('./lib/Cli'),Log_1=require(_0x39fdc5(0xe6)),CustomError_1=require(_0x39fdc5(0xeb));function _0x5de9(_0x14bb65,_0x117d2e){const _0x5d3174=_0x5d31();return _0x5de9=function(_0x5de951,_0x4338f1){_0x5de951=_0x5de951-0xe2;let _0x136804=_0x5d3174[_0x5de951];return _0x136804;},_0x5de9(_0x14bb65,_0x117d2e);}module[_0x39fdc5(0xf7)]=async()=>{const _0x402706=_0x39fdc5,_0x85d4d7=new Cli_1[(_0x402706(0xf1))](),_0x998ae3=new Log_1['ConsoleLog'](_0x402706(0xed)),_0x37e64f=process[_0x402706(0xf2)]['slice'](0x2);let _0x39d1df;try{_0x39d1df=await _0x85d4d7[_0x402706(0xe3)](_0x37e64f);}catch(_0x3a253d){if(_0x3a253d instanceof CustomError_1[_0x402706(0xea)]){const _0x28d9d6=_0x3a253d['customMessage'];Array[_0x402706(0xf4)](_0x28d9d6)?_0x28d9d6[_0x402706(0xf6)](_0x59ba2d=>{const _0x2aa396=_0x402706;_0x998ae3['error'](_0x59ba2d[_0x2aa396(0xe4)]+':\x20'+_0x59ba2d[_0x2aa396(0xec)]);}):_0x998ae3[_0x402706(0xf8)](_0x28d9d6[_0x402706(0xe4)]+':\x20'+_0x28d9d6['message']);}else _0x998ae3[_0x402706(0xf8)](_0x3a253d[_0x402706(0xec)]);_0x39d1df=![];}!_0x39d1df?process['exit'](0x1):process[_0x402706(0xe8)](0x0);};function _0x5d31(){const _0x4a7659=['forEach','exports','error','762559KbiSdT','549390WUqzuY','2483700iFGlMD','defineProperty','run','code','9rNjxNx','./lib/utils/Log','324ZaNUWW','exit','394112ounzxe','CustomError','./lib/utils/CustomError','message','cli','10105WlUhHL','18576JUAapA','8oITaKg','Cli','argv','__esModule','isArray','25356MJsfOk'];_0x5d31=function(){return _0x4a7659;};return _0x5d31();}
1
+ 'use strict';const _0x2b2765=_0x5973;function _0x5973(_0x3d7a5b,_0x3ace74){const _0xab30f6=_0xab30();return _0x5973=function(_0x5973d2,_0x168e0d){_0x5973d2=_0x5973d2-0x1a9;let _0x2ef6aa=_0xab30f6[_0x5973d2];return _0x2ef6aa;},_0x5973(_0x3d7a5b,_0x3ace74);}(function(_0x202c35,_0x563cb2){const _0x3a620e=_0x5973,_0xdec211=_0x202c35();while(!![]){try{const _0x8bae85=-parseInt(_0x3a620e(0x1b0))/0x1*(-parseInt(_0x3a620e(0x1ad))/0x2)+parseInt(_0x3a620e(0x1b5))/0x3+parseInt(_0x3a620e(0x1b4))/0x4*(-parseInt(_0x3a620e(0x1ac))/0x5)+-parseInt(_0x3a620e(0x1bb))/0x6*(parseInt(_0x3a620e(0x1af))/0x7)+-parseInt(_0x3a620e(0x1be))/0x8*(parseInt(_0x3a620e(0x1b6))/0x9)+-parseInt(_0x3a620e(0x1a9))/0xa+-parseInt(_0x3a620e(0x1b3))/0xb*(-parseInt(_0x3a620e(0x1c0))/0xc);if(_0x8bae85===_0x563cb2)break;else _0xdec211['push'](_0xdec211['shift']());}catch(_0x398a71){_0xdec211['push'](_0xdec211['shift']());}}}(_0xab30,0x44fd3));function _0xab30(){const _0x1f9a6f=['508566KSlseA','defineProperty','34622GJqhTf','1yJqbtm','message','error','1925NJsbQr','1412gYwLzB','1693647TqPcRP','4383171YmzRHE','customMessage','CustomError','slice','forEach','324ArYqhu','code','argv','8ywmHJv','exit','80952nNnecW','5465130DazFqC','./lib/utils/CustomError','./lib/Cli','5895FOcuGD'];_0xab30=function(){return _0x1f9a6f;};return _0xab30();}Object[_0x2b2765(0x1ae)](exports,'__esModule',{'value':!![]});const Cli_1=require(_0x2b2765(0x1ab)),Log_1=require('./lib/utils/Log'),CustomError_1=require(_0x2b2765(0x1aa));module['exports']=async()=>{const _0xd9b8a6=_0x2b2765,_0x4d4f26=new Cli_1['Cli'](),_0x28b746=new Log_1['ConsoleLog']('cli'),_0x41c82b=process[_0xd9b8a6(0x1bd)][_0xd9b8a6(0x1b9)](0x2);let _0x2af389;try{_0x2af389=await _0x4d4f26['run'](_0x41c82b);}catch(_0x149baa){if(_0x149baa instanceof CustomError_1[_0xd9b8a6(0x1b8)]){const _0x38ef65=_0x149baa[_0xd9b8a6(0x1b7)];Array['isArray'](_0x38ef65)?_0x38ef65[_0xd9b8a6(0x1ba)](_0x3ccd9d=>{const _0x9f0020=_0xd9b8a6;_0x28b746[_0x9f0020(0x1b2)](_0x3ccd9d[_0x9f0020(0x1bc)]+':\x20'+_0x3ccd9d[_0x9f0020(0x1b1)]);}):_0x28b746[_0xd9b8a6(0x1b2)](_0x38ef65[_0xd9b8a6(0x1bc)]+':\x20'+_0x38ef65[_0xd9b8a6(0x1b1)]);}else _0x28b746['error'](_0x149baa[_0xd9b8a6(0x1b1)]);_0x2af389=![];}!_0x2af389?process[_0xd9b8a6(0x1bf)](0x1):process[_0xd9b8a6(0x1bf)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1b0f(_0x28b971,_0x540f03){const _0x4c105f=_0x4c10();return _0x1b0f=function(_0x1b0f8d,_0x558f6c){_0x1b0f8d=_0x1b0f8d-0x1af;let _0x1434af=_0x4c105f[_0x1b0f8d];return _0x1434af;},_0x1b0f(_0x28b971,_0x540f03);}const _0x231b15=_0x1b0f;(function(_0xacbf70,_0x48ca61){const _0x363fb0=_0x1b0f,_0x43357d=_0xacbf70();while(!![]){try{const _0x43000=parseInt(_0x363fb0(0x1cd))/0x1+-parseInt(_0x363fb0(0x1c7))/0x2+-parseInt(_0x363fb0(0x1c4))/0x3+-parseInt(_0x363fb0(0x1c1))/0x4*(parseInt(_0x363fb0(0x1c0))/0x5)+parseInt(_0x363fb0(0x1bb))/0x6*(-parseInt(_0x363fb0(0x1c2))/0x7)+-parseInt(_0x363fb0(0x1b8))/0x8+parseInt(_0x363fb0(0x1d1))/0x9;if(_0x43000===_0x48ca61)break;else _0x43357d['push'](_0x43357d['shift']());}catch(_0x114135){_0x43357d['push'](_0x43357d['shift']());}}}(_0x4c10,0x59d1b));function _0x4c10(){const _0x32834f=['fetch','length','fetchUtils','publish','node','dev','versions','__esModule','1575176DPwigV','Current\x20Node.js\x20version\x20is\x20','run','6ViHhmW','major','downloadFile','./cmds/help','version','53990BXCedh','236WIgQNg','4837441ZqiaXV','Cli','1370412TTEXqi','setFetch','start','653842qgPtmd','setDecompressResponseBuffer','store','build','defineProperty','semver','445008PTPcGL','help','decompressResponseBuffer','./utils/fetch','20084922SmxcIP','setDownloadFile','./cmds/build'];_0x4c10=function(){return _0x32834f;};return _0x4c10();}Object[_0x231b15(0x1cb)](exports,_0x231b15(0x1b7),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require('minimist'),semver_1=require(_0x231b15(0x1cc)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x231b15(0x1be)),build_1=require(_0x231b15(0x1af)),version_1=require('./cmds/version'),fetch_1=require(_0x231b15(0x1d0));class Cli{async[_0x231b15(0x1ba)](_0x3a2c69){const _0x324c6d=_0x231b15;if((0x0,semver_1[_0x324c6d(0x1bc)])(process['versions'][_0x324c6d(0x1b4)])<0xe)throw new Error(_0x324c6d(0x1b9)+process[_0x324c6d(0x1b6)][_0x324c6d(0x1b4)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0x324c6d(0x1b2)][_0x324c6d(0x1c5)](fetch_1[_0x324c6d(0x1b0)]),FetchUtils_1_1['fetchUtils'][_0x324c6d(0x1d2)](fetch_1[_0x324c6d(0x1bd)]),FetchUtils_1_1['fetchUtils'][_0x324c6d(0x1c8)](fetch_1[_0x324c6d(0x1cf)]);const _0x2e4997=minimist(_0x3a2c69);let _0x2cca5e=undefined;if(_0x2e4997['_'][_0x324c6d(0x1b1)]===0x0){if(_0x2e4997[_0x324c6d(0x1bf)])_0x2cca5e=_0x324c6d(0x1bf);else _0x2e4997[_0x324c6d(0x1ce)]&&(_0x2cca5e=_0x324c6d(0x1ce));}else _0x2cca5e=_0x2e4997['_'][0x0];!_0x2cca5e&&(_0x2cca5e='help');switch(_0x2cca5e){case _0x324c6d(0x1ce):case'h':return await(0x0,help_1[_0x324c6d(0x1ce)])(_0x2e4997);case _0x324c6d(0x1ca):return await(0x0,build_1[_0x324c6d(0x1c6)])(_0x2e4997);case _0x324c6d(0x1b3):return await(0x0,build_1[_0x324c6d(0x1c9)])(_0x2e4997);case _0x324c6d(0x1b5):return await(0x0,build_1[_0x324c6d(0x1b5)])(_0x2e4997);case'version':{return await(0x0,version_1[_0x324c6d(0x1bf)])();}default:throw new Error('\x22'+_0x2cca5e+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports[_0x231b15(0x1c3)]=Cli;
1
+ 'use strict';const _0x401967=_0x1e16;(function(_0x2970b1,_0x95810f){const _0x4361d5=_0x1e16,_0x3c0c61=_0x2970b1();while(!![]){try{const _0x48fdbc=parseInt(_0x4361d5(0xf0))/0x1+parseInt(_0x4361d5(0xd5))/0x2+-parseInt(_0x4361d5(0xea))/0x3+parseInt(_0x4361d5(0xd9))/0x4*(-parseInt(_0x4361d5(0xe5))/0x5)+parseInt(_0x4361d5(0xde))/0x6*(parseInt(_0x4361d5(0xdd))/0x7)+-parseInt(_0x4361d5(0xd4))/0x8*(-parseInt(_0x4361d5(0xe3))/0x9)+-parseInt(_0x4361d5(0xd2))/0xa*(parseInt(_0x4361d5(0xf3))/0xb);if(_0x48fdbc===_0x95810f)break;else _0x3c0c61['push'](_0x3c0c61['shift']());}catch(_0x4ce84d){_0x3c0c61['push'](_0x3c0c61['shift']());}}}(_0x2f97,0x34d96));Object[_0x401967(0xe1)](exports,_0x401967(0xdf),{'value':!![]}),exports['Cli']=void 0x0;function _0x1e16(_0x6c5bb6,_0x2ce6a6){const _0x2f970e=_0x2f97();return _0x1e16=function(_0x1e1637,_0x41b739){_0x1e1637=_0x1e1637-0xd2;let _0x100bcd=_0x2f970e[_0x1e1637];return _0x100bcd;},_0x1e16(_0x6c5bb6,_0x2ce6a6);}const minimist=require('minimist'),semver_1=require(_0x401967(0xf6)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x401967(0xec)),build_1=require(_0x401967(0xda)),version_1=require('./cmds/version'),fetch_1=require('./utils/fetch');class Cli{async[_0x401967(0xe7)](_0x429926){const _0x540f67=_0x401967;if((0x0,semver_1[_0x540f67(0xf5)])(process[_0x540f67(0xeb)][_0x540f67(0xe2)])<0xe)throw new Error(_0x540f67(0xf4)+process[_0x540f67(0xeb)][_0x540f67(0xe2)]+'.'+_0x540f67(0xd8));FetchUtils_1_1[_0x540f67(0xed)][_0x540f67(0xdb)](fetch_1[_0x540f67(0xe9)]),FetchUtils_1_1['fetchUtils'][_0x540f67(0xd7)](fetch_1[_0x540f67(0xe4)]),FetchUtils_1_1[_0x540f67(0xed)][_0x540f67(0xd6)](fetch_1[_0x540f67(0xe0)]);const _0x417e6c=minimist(_0x429926);let _0x3b972a=undefined;if(_0x417e6c['_']['length']===0x0){if(_0x417e6c['version'])_0x3b972a=_0x540f67(0xe6);else _0x417e6c[_0x540f67(0xdc)]&&(_0x3b972a=_0x540f67(0xdc));}else _0x3b972a=_0x417e6c['_'][0x0];!_0x3b972a&&(_0x3b972a='help');switch(_0x3b972a){case _0x540f67(0xdc):case'h':return await(0x0,help_1[_0x540f67(0xdc)])(_0x417e6c);case _0x540f67(0xee):return await(0x0,build_1[_0x540f67(0xd3)])(_0x417e6c);case _0x540f67(0xf1):return await(0x0,build_1['store'])(_0x417e6c);case _0x540f67(0xe8):return await(0x0,build_1[_0x540f67(0xe8)])(_0x417e6c);case _0x540f67(0xe6):{return await(0x0,version_1[_0x540f67(0xe6)])();}default:throw new Error('\x22'+_0x3b972a+_0x540f67(0xef));}}}exports[_0x401967(0xf2)]=Cli;function _0x2f97(){const _0x503019=['__esModule','decompressResponseBuffer','defineProperty','node','9XToJOj','downloadFile','387625UiEqgG','version','run','dev','fetch','487479xTUVjN','versions','./cmds/help','fetchUtils','build','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','160199Ssohfw','publish','Cli','604153QBdTpN','Current\x20Node.js\x20version\x20is\x20','major','semver','50AvglWA','start','1189144KAssda','405524lqbrgw','setDecompressResponseBuffer','setDownloadFile','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','4KPiBPs','./cmds/build','setFetch','help','49vltZfk','188142rYIuCj'];_0x2f97=function(){return _0x503019;};return _0x2f97();}
@@ -1 +1 @@
1
- 'use strict';const _0x463afb=_0x5cb3;(function(_0x72ce1b,_0x5a4217){const _0x5f782d=_0x5cb3,_0x1e930b=_0x72ce1b();while(!![]){try{const _0xcf7cb3=-parseInt(_0x5f782d(0x19d))/0x1+-parseInt(_0x5f782d(0x198))/0x2*(-parseInt(_0x5f782d(0x19b))/0x3)+-parseInt(_0x5f782d(0x19e))/0x4*(-parseInt(_0x5f782d(0x190))/0x5)+parseInt(_0x5f782d(0x192))/0x6*(-parseInt(_0x5f782d(0x1af))/0x7)+-parseInt(_0x5f782d(0x199))/0x8*(-parseInt(_0x5f782d(0x1ac))/0x9)+-parseInt(_0x5f782d(0x1ab))/0xa*(parseInt(_0x5f782d(0x1b2))/0xb)+-parseInt(_0x5f782d(0x1a6))/0xc*(-parseInt(_0x5f782d(0x1aa))/0xd);if(_0xcf7cb3===_0x5a4217)break;else _0x1e930b['push'](_0x1e930b['shift']());}catch(_0x314365){_0x1e930b['push'](_0x1e930b['shift']());}}}(_0x2c8d,0xc6887));Object[_0x463afb(0x1a0)](exports,'__esModule',{'value':!![]}),exports['start']=start,exports['store']=store,exports[_0x463afb(0x1ae)]=dev;const pwa_1=require(_0x463afb(0x196)),resource_1=require(_0x463afb(0x1b3)),xcode_1=require('../xcode'),check_1=require(_0x463afb(0x194));function _0x5cb3(_0x29c2c0,_0x3dfb1c){const _0x2c8d01=_0x2c8d();return _0x5cb3=function(_0x5cb323,_0x3d2d0e){_0x5cb323=_0x5cb323-0x18d;let _0x5cb761=_0x2c8d01[_0x5cb323];return _0x5cb761;},_0x5cb3(_0x29c2c0,_0x3dfb1c);}async function start(_0x137c65,_0x10d18b=![]){const _0x369ce2=_0x463afb;(0x0,check_1[_0x369ce2(0x1a4)])(_0x137c65,_0x10d18b),console[_0x369ce2(0x19f)](_0x369ce2(0x1a5));let _0x5edd68=await pwa_1['PWAGenerator'][_0x369ce2(0x1b4)](_0x137c65,_0x10d18b);!_0x5edd68[_0x369ce2(0x18d)]&&(await resource_1['ResourceManager'][_0x369ce2(0x1a9)](_0x137c65[_0x369ce2(0x1a1)]),console[_0x369ce2(0x19f)](_0x369ce2(0x1a8)));const _0x321df3=await resource_1['ResourceManager']['generateIcon'](_0x5edd68);return console[_0x369ce2(0x19f)](_0x369ce2(0x1ad)),await xcode_1['XcodeManager'][_0x369ce2(0x19c)]({'icon':_0x321df3,'manifestInfo':_0x5edd68,'teamId':_0x137c65[_0x369ce2(0x1b0)],'version':_0x137c65['version'],'buildType':_0x137c65[_0x369ce2(0x191)],'export':_0x137c65[_0x369ce2(0x1a7)]},_0x10d18b),console['log'](_0x369ce2(0x195)),_0x5edd68;}async function store(_0x83312){const _0x2f2d11=_0x463afb;(0x0,check_1[_0x2f2d11(0x1b1)])(_0x83312);let _0x32849f={'name':_0x2f2d11(0x197)};_0x83312[_0x2f2d11(0x191)]=_0x2f2d11(0x19a);if(_0x83312[_0x2f2d11(0x18e)])_0x32849f[_0x2f2d11(0x18e)]=_0x83312['name'];else{const _0x4c8181=await start(_0x83312);if(!_0x4c8181)return![];_0x32849f[_0x2f2d11(0x18e)]=_0x4c8181[_0x2f2d11(0x193)][_0x2f2d11(0x18e)];}return await xcode_1[_0x2f2d11(0x1a3)][_0x2f2d11(0x18f)](_0x83312,_0x32849f),!![];}async function dev(_0x448c0a){const _0x3ca555=_0x463afb;let _0x5b0d68={'name':_0x3ca555(0x197),'id':'com.SpatialWeb.test'};const _0x10df87=await start(_0x448c0a,!![]);if(!_0x10df87)return![];return _0x5b0d68[_0x3ca555(0x18e)]=_0x10df87[_0x3ca555(0x193)][_0x3ca555(0x18e)],_0x5b0d68['id']=_0x10df87[_0x3ca555(0x193)]['id'],await xcode_1[_0x3ca555(0x1a3)][_0x3ca555(0x1a2)](_0x5b0d68),!![];}function _0x2c8d(){const _0x378c5a=['generator','fromNet','name','upload','1664225AoIgvm','buildType','3222iAivqE','json','./check','-------------------\x20build\x20end\x20-------------------','../pwa','SpatialWebTest','2LKHYnY','8WKfgAq','app-store-connect','1740705cnsbvv','parseProject','830941TUjkjS','8pEHeWG','log','defineProperty','project','runWithSimulator','XcodeManager','checkBuildParams','-------------------\x20build\x20start\x20-------------------','1776FoQLTA','export','move\x20web\x20project:\x20ok','moveProjectFrom','153205nmPEVS','7950060EsWypu','11132568UHHbKQ','generate\x20icon:\x20ok','dev','12943PFwxeG','teamId','checkStoreParams','22SfFvji','../resource'];_0x2c8d=function(){return _0x378c5a;};return _0x2c8d();}
1
+ 'use strict';const _0x48d93a=_0x5c05;(function(_0x4369bb,_0x2726f1){const _0x294edf=_0x5c05,_0x28cc62=_0x4369bb();while(!![]){try{const _0x450dde=-parseInt(_0x294edf(0x166))/0x1*(parseInt(_0x294edf(0x15b))/0x2)+parseInt(_0x294edf(0x17b))/0x3*(parseInt(_0x294edf(0x160))/0x4)+parseInt(_0x294edf(0x15e))/0x5+-parseInt(_0x294edf(0x158))/0x6+parseInt(_0x294edf(0x169))/0x7+-parseInt(_0x294edf(0x163))/0x8+-parseInt(_0x294edf(0x15d))/0x9;if(_0x450dde===_0x2726f1)break;else _0x28cc62['push'](_0x28cc62['shift']());}catch(_0x31f5b4){_0x28cc62['push'](_0x28cc62['shift']());}}}(_0x2f40,0xf1b14));function _0x2f40(){const _0x42f23f=['28277VTgBxX','-------------------\x20build\x20start\x20-------------------','json','10426794XcPbRs','dev','com.SpatialWeb.test','log','./check','-------------------\x20build\x20end\x20-------------------','moveProjectFrom','export','../resource','buildType','move\x20web\x20project:\x20ok','../xcode','generate\x20icon:\x20ok','fromNet','defineProperty','store','__esModule','name','14253yRNfag','PWAGenerator','ResourceManager','checkStoreParams','generateIcon','checkBuildParams','2295084FdINSF','teamId','version','38ZJCmNE','generator','7164972uHrTwt','2612530VoUHwG','XcodeManager','1244vinNJi','../pwa','SpatialWebTest','6270016NWrLwC','runWithSimulator','app-store-connect'];_0x2f40=function(){return _0x42f23f;};return _0x2f40();}Object[_0x48d93a(0x177)](exports,_0x48d93a(0x179),{'value':!![]}),exports['start']=start,exports[_0x48d93a(0x178)]=store,exports[_0x48d93a(0x16a)]=dev;const pwa_1=require(_0x48d93a(0x161)),resource_1=require(_0x48d93a(0x171)),xcode_1=require(_0x48d93a(0x174)),check_1=require(_0x48d93a(0x16d));async function start(_0x1a1a05,_0x1e5d00=![]){const _0x47ba04=_0x48d93a;(0x0,check_1[_0x47ba04(0x157)])(_0x1a1a05,_0x1e5d00),console[_0x47ba04(0x16c)](_0x47ba04(0x167));let _0x4fae67=await pwa_1[_0x47ba04(0x17c)][_0x47ba04(0x15c)](_0x1a1a05,_0x1e5d00);!_0x4fae67[_0x47ba04(0x176)]&&(await resource_1[_0x47ba04(0x154)][_0x47ba04(0x16f)](_0x1a1a05['project']),console['log'](_0x47ba04(0x173)));const _0x1db3c9=await resource_1[_0x47ba04(0x154)][_0x47ba04(0x156)](_0x4fae67);return console[_0x47ba04(0x16c)](_0x47ba04(0x175)),await xcode_1['XcodeManager']['parseProject']({'icon':_0x1db3c9,'manifestInfo':_0x4fae67,'teamId':_0x1a1a05[_0x47ba04(0x159)],'version':_0x1a1a05[_0x47ba04(0x15a)],'buildType':_0x1a1a05['buildType'],'export':_0x1a1a05[_0x47ba04(0x170)]},_0x1e5d00),console['log'](_0x47ba04(0x16e)),_0x4fae67;}async function store(_0xa07c98){const _0x49c3fb=_0x48d93a;(0x0,check_1[_0x49c3fb(0x155)])(_0xa07c98);let _0x31f6ea={'name':'SpatialWebTest'};_0xa07c98[_0x49c3fb(0x172)]=_0x49c3fb(0x165);if(_0xa07c98['name'])_0x31f6ea[_0x49c3fb(0x17a)]=_0xa07c98[_0x49c3fb(0x17a)];else{const _0x3d2b7c=await start(_0xa07c98);if(!_0x3d2b7c)return![];_0x31f6ea[_0x49c3fb(0x17a)]=_0x3d2b7c[_0x49c3fb(0x168)][_0x49c3fb(0x17a)];}return await xcode_1[_0x49c3fb(0x15f)]['upload'](_0xa07c98,_0x31f6ea),!![];}function _0x5c05(_0x365fc4,_0x2c2485){const _0x2f406a=_0x2f40();return _0x5c05=function(_0x5c05bc,_0x3269d3){_0x5c05bc=_0x5c05bc-0x154;let _0x156ff8=_0x2f406a[_0x5c05bc];return _0x156ff8;},_0x5c05(_0x365fc4,_0x2c2485);}async function dev(_0x2b24a7){const _0x3b1115=_0x48d93a;let _0x44b7d7={'name':_0x3b1115(0x162),'id':_0x3b1115(0x16b)};const _0xe7165f=await start(_0x2b24a7,!![]);if(!_0xe7165f)return![];return _0x44b7d7[_0x3b1115(0x17a)]=_0xe7165f[_0x3b1115(0x168)]['name'],_0x44b7d7['id']=_0xe7165f[_0x3b1115(0x168)]['id'],await xcode_1[_0x3b1115(0x15f)][_0x3b1115(0x164)](_0x44b7d7),!![];}
@@ -1 +1 @@
1
- 'use strict';var _0x20a54f=_0xc3a0;function _0xc3a0(_0x2a06a0,_0x24ad0c){var _0x33d067=_0x33d0();return _0xc3a0=function(_0xc3a055,_0x8ce9af){_0xc3a055=_0xc3a055-0x17f;var _0x1f88ec=_0x33d067[_0xc3a055];return _0x1f88ec;},_0xc3a0(_0x2a06a0,_0x24ad0c);}(function(_0x448730,_0x5e0efe){var _0x26f5ff=_0xc3a0,_0xf9e4ed=_0x448730();while(!![]){try{var _0x4125b0=-parseInt(_0x26f5ff(0x186))/0x1+-parseInt(_0x26f5ff(0x18e))/0x2+parseInt(_0x26f5ff(0x18d))/0x3*(-parseInt(_0x26f5ff(0x180))/0x4)+parseInt(_0x26f5ff(0x191))/0x5*(-parseInt(_0x26f5ff(0x18a))/0x6)+parseInt(_0x26f5ff(0x18c))/0x7+parseInt(_0x26f5ff(0x185))/0x8+parseInt(_0x26f5ff(0x18b))/0x9*(parseInt(_0x26f5ff(0x18f))/0xa);if(_0x4125b0===_0x5e0efe)break;else _0xf9e4ed['push'](_0xf9e4ed['shift']());}catch(_0x3273bc){_0xf9e4ed['push'](_0xf9e4ed['shift']());}}}(_0x33d0,0x70245));function _0x33d0(){var _0x82fe3=['4KOBHUF','teamId\x20is\x20required','manifest-url','version','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','4146576PzXsXb','132261KVKWyP','manifest\x20or\x20manifest-url\x20is\x20required','version\x20is\x20required','teamId','102entwka','495DoJQKc','4413157sNLWhC','2246457LWpKPF','910424klkGQj','180970XAGLBM','checkStoreParams','102495rMYvkE','manifest','defineProperty','__esModule'];_0x33d0=function(){return _0x82fe3;};return _0x33d0();}Object[_0x20a54f(0x193)](exports,_0x20a54f(0x17f),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x20a54f(0x190)]=checkStoreParams;function checkBuildParams(_0x11ea31,_0x10c21e=![]){var _0x48c465=_0x20a54f;if(!_0x11ea31[_0x48c465(0x192)]&&!_0x11ea31[_0x48c465(0x182)])throw new Error(_0x48c465(0x187));if(_0x11ea31[_0x48c465(0x192)]&&_0x11ea31[_0x48c465(0x182)])throw new Error(_0x48c465(0x184));if(!_0x11ea31[_0x48c465(0x189)]&&!_0x10c21e)throw new Error(_0x48c465(0x181));}function checkStoreParams(_0x254cbf){var _0x18bd0c=_0x20a54f;if(!(_0x254cbf['u']&&_0x254cbf['p'])&&!(_0x254cbf['k']&&_0x254cbf['i']))throw new Error('u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required');if(!_0x254cbf[_0x18bd0c(0x183)])throw new Error(_0x18bd0c(0x188));}
1
+ 'use strict';var _0x506b40=_0x1a7b;(function(_0x43b861,_0x157143){var _0x2b5c3b=_0x1a7b,_0x133a1c=_0x43b861();while(!![]){try{var _0x1ecf1=parseInt(_0x2b5c3b(0x1da))/0x1+-parseInt(_0x2b5c3b(0x1dd))/0x2+parseInt(_0x2b5c3b(0x1ce))/0x3+parseInt(_0x2b5c3b(0x1d5))/0x4+-parseInt(_0x2b5c3b(0x1d0))/0x5*(parseInt(_0x2b5c3b(0x1de))/0x6)+-parseInt(_0x2b5c3b(0x1df))/0x7*(-parseInt(_0x2b5c3b(0x1dc))/0x8)+-parseInt(_0x2b5c3b(0x1d3))/0x9*(parseInt(_0x2b5c3b(0x1d1))/0xa);if(_0x1ecf1===_0x157143)break;else _0x133a1c['push'](_0x133a1c['shift']());}catch(_0x1d7322){_0x133a1c['push'](_0x133a1c['shift']());}}}(_0x2faa,0xa39b3));function _0x2faa(){var _0x5f327b=['checkBuildParams','3809272ZpVdVK','469802Xnkvxq','415962DTCefv','7ZbsObD','1398990olSiSP','teamId\x20is\x20required','90zNBxcE','5139170GhmOtF','manifest','9rUjaVA','teamId','5125540QYfKAi','__esModule','manifest-url','version','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','442961prXKLP'];_0x2faa=function(){return _0x5f327b;};return _0x2faa();}function _0x1a7b(_0x20b360,_0x13d73b){var _0x2faa79=_0x2faa();return _0x1a7b=function(_0x1a7b40,_0x524433){_0x1a7b40=_0x1a7b40-0x1ce;var _0x3d0429=_0x2faa79[_0x1a7b40];return _0x3d0429;},_0x1a7b(_0x20b360,_0x13d73b);}Object['defineProperty'](exports,_0x506b40(0x1d6),{'value':!![]}),exports[_0x506b40(0x1db)]=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function checkBuildParams(_0x1edd70,_0x460d47=![]){var _0x3e9068=_0x506b40;if(!_0x1edd70[_0x3e9068(0x1d2)]&&!_0x1edd70[_0x3e9068(0x1d7)])throw new Error('manifest\x20or\x20manifest-url\x20is\x20required');if(_0x1edd70[_0x3e9068(0x1d2)]&&_0x1edd70['manifest-url'])throw new Error(_0x3e9068(0x1d9));if(!_0x1edd70[_0x3e9068(0x1d4)]&&!_0x460d47)throw new Error(_0x3e9068(0x1cf));}function checkStoreParams(_0x124a91){var _0xe9f80f=_0x506b40;if(!(_0x124a91['u']&&_0x124a91['p'])&&!(_0x124a91['k']&&_0x124a91['i']))throw new Error('u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required');if(!_0x124a91[_0xe9f80f(0x1d8)])throw new Error('version\x20is\x20required');}
@@ -1 +1 @@
1
- 'use strict';const _0x52f4a7=_0x13f7;(function(_0x2269fc,_0x1bd6f4){const _0xc68211=_0x13f7,_0x49c467=_0x2269fc();while(!![]){try{const _0xed734b=parseInt(_0xc68211(0x18e))/0x1*(-parseInt(_0xc68211(0x1a4))/0x2)+-parseInt(_0xc68211(0x190))/0x3*(-parseInt(_0xc68211(0x19f))/0x4)+parseInt(_0xc68211(0x1a1))/0x5+-parseInt(_0xc68211(0x197))/0x6+-parseInt(_0xc68211(0x1a0))/0x7+parseInt(_0xc68211(0x1a3))/0x8*(parseInt(_0xc68211(0x194))/0x9)+parseInt(_0xc68211(0x18f))/0xa*(parseInt(_0xc68211(0x19b))/0xb);if(_0xed734b===_0x1bd6f4)break;else _0x49c467['push'](_0x49c467['shift']());}catch(_0x45653b){_0x49c467['push'](_0x49c467['shift']());}}}(_0x1a0e,0x6b5f6));Object['defineProperty'](exports,_0x52f4a7(0x18d),{'value':!![]}),exports[_0x52f4a7(0x19a)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x52f4a7(0x1a5),[_0x52f4a7(0x19e),'','',_0x52f4a7(0x195),_0x52f4a7(0x19c)+_0x52f4a7(0x193),_0x52f4a7(0x1a6),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x52f4a7(0x192)]('\x0a')],[_0x52f4a7(0x1a2),[_0x52f4a7(0x1a7),'','',_0x52f4a7(0x191),'','',_0x52f4a7(0x199)][_0x52f4a7(0x192)]('\x0a')],['dev',[_0x52f4a7(0x1a7),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x52f4a7(0x19d)][_0x52f4a7(0x192)]('\x0a')],[_0x52f4a7(0x1a9),['Usage:','','','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x52f4a7(0x1a8)]['join']('\x0a')]]);async function help(_0x254e95,_0x4d9009=new Log_1[(_0x52f4a7(0x18c))](_0x52f4a7(0x19a))){const _0x7680ef=_0x52f4a7,_0x594d65=_0x254e95['_'][0x1],_0xfb0ad5=HELP_MESSAGES['get'](_0x594d65)||HELP_MESSAGES[_0x7680ef(0x196)](_0x7680ef(0x1a5));return _0x4d9009[_0x7680ef(0x198)](_0xfb0ad5),!![];}function _0x13f7(_0x41610c,_0x1dd31d){const _0x1a0ec7=_0x1a0e();return _0x13f7=function(_0x13f725,_0x1a15da){_0x13f725=_0x13f725-0x18c;let _0x250ea8=_0x1a0ec7[_0x13f725];return _0x250ea8;},_0x13f7(_0x41610c,_0x1dd31d);}function _0x1a0e(){const _0xf78b3f=['__esModule','7457NnoTnd','6130IvOiHj','54ibNdZL','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','join','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','61713dShMBo','help\x20................\x20shows\x20this\x20menu','get','2160522LyIHTk','info','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','5731odSRIq','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','webspatial\x20[command]\x20<options>','142176wZiiec','2812208hZiPXx','368055JUAEzn','build','632vIXWeS','100rzpvSf','main','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','Usage:','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','publish','ConsoleLog'];_0x1a0e=function(){return _0xf78b3f;};return _0x1a0e();}
1
+ 'use strict';function _0x41e5(_0x241228,_0x321041){const _0x5d2f8b=_0x5d2f();return _0x41e5=function(_0x41e5b7,_0x14a99a){_0x41e5b7=_0x41e5b7-0x114;let _0x3ec98c=_0x5d2f8b[_0x41e5b7];return _0x3ec98c;},_0x41e5(_0x241228,_0x321041);}const _0x1d56c3=_0x41e5;(function(_0x3169a1,_0x376a26){const _0x3eed6f=_0x41e5,_0x358346=_0x3169a1();while(!![]){try{const _0x18d11c=-parseInt(_0x3eed6f(0x12e))/0x1*(parseInt(_0x3eed6f(0x11a))/0x2)+-parseInt(_0x3eed6f(0x116))/0x3+-parseInt(_0x3eed6f(0x127))/0x4*(parseInt(_0x3eed6f(0x125))/0x5)+parseInt(_0x3eed6f(0x130))/0x6+-parseInt(_0x3eed6f(0x119))/0x7*(parseInt(_0x3eed6f(0x114))/0x8)+-parseInt(_0x3eed6f(0x120))/0x9*(-parseInt(_0x3eed6f(0x11c))/0xa)+parseInt(_0x3eed6f(0x117))/0xb;if(_0x18d11c===_0x376a26)break;else _0x358346['push'](_0x358346['shift']());}catch(_0x2e1560){_0x358346['push'](_0x358346['shift']());}}}(_0x5d2f,0xa0694));function _0x5d2f(){const _0x5713b7=['main','3778029pLGsay','29316837pnuhVv','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','7PCmbKC','634OmWYix','Usage:','3560NPIPCW','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','help','build','16290dFKHId','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','dev','defineProperty','webspatial\x20[command]\x20<options>','312025mPxaZt','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','40PZUJzd','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','help\x20................\x20shows\x20this\x20menu','join','ConsoleLog','get','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','2803apaSaK','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','5054022OIfxVo','__esModule','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','5783008HpGsSU'];_0x5d2f=function(){return _0x5713b7;};return _0x5d2f();}Object[_0x1d56c3(0x123)](exports,_0x1d56c3(0x131),{'value':!![]}),exports[_0x1d56c3(0x11e)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([['main',[_0x1d56c3(0x124),'','',_0x1d56c3(0x129),'build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+_0x1d56c3(0x12f),_0x1d56c3(0x11d),_0x1d56c3(0x121)]['join']('\x0a')],[_0x1d56c3(0x11f),[_0x1d56c3(0x11b),'','',_0x1d56c3(0x118),'','',_0x1d56c3(0x132)][_0x1d56c3(0x12a)]('\x0a')],[_0x1d56c3(0x122),[_0x1d56c3(0x11b),'','',_0x1d56c3(0x126),'','',_0x1d56c3(0x128)][_0x1d56c3(0x12a)]('\x0a')],['publish',[_0x1d56c3(0x11b),'','','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>','','',_0x1d56c3(0x12d),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>']['join']('\x0a')]]);async function help(_0x393399,_0x41853b=new Log_1[(_0x1d56c3(0x12b))]('help')){const _0x5cb274=_0x1d56c3,_0x548957=_0x393399['_'][0x1],_0x2d73d8=HELP_MESSAGES[_0x5cb274(0x12c)](_0x548957)||HELP_MESSAGES[_0x5cb274(0x12c)](_0x5cb274(0x115));return _0x41853b['info'](_0x2d73d8),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x15afd5=_0x4ba2;(function(_0x4661f4,_0x3a3f3c){const _0x1310ab=_0x4ba2,_0x17cf66=_0x4661f4();while(!![]){try{const _0x5601f8=-parseInt(_0x1310ab(0x145))/0x1+-parseInt(_0x1310ab(0x147))/0x2*(parseInt(_0x1310ab(0x14c))/0x3)+-parseInt(_0x1310ab(0x149))/0x4+-parseInt(_0x1310ab(0x13f))/0x5+-parseInt(_0x1310ab(0x14d))/0x6*(parseInt(_0x1310ab(0x13e))/0x7)+-parseInt(_0x1310ab(0x14f))/0x8*(parseInt(_0x1310ab(0x148))/0x9)+parseInt(_0x1310ab(0x143))/0xa*(parseInt(_0x1310ab(0x151))/0xb);if(_0x5601f8===_0x3a3f3c)break;else _0x17cf66['push'](_0x17cf66['shift']());}catch(_0x4c8876){_0x17cf66['push'](_0x17cf66['shift']());}}}(_0x285a,0x30854));Object[_0x15afd5(0x146)](exports,_0x15afd5(0x141),{'value':!![]}),exports['version']=version;function _0x4ba2(_0x159d9c,_0x2ea15){const _0x285a66=_0x285a();return _0x4ba2=function(_0x4ba28b,_0x12b87f){_0x4ba28b=_0x4ba28b-0x13d;let _0x833700=_0x285a66[_0x4ba28b];return _0x833700;},_0x4ba2(_0x159d9c,_0x2ea15);}const fs=require('fs'),path=require('path'),Log_1=require(_0x15afd5(0x144));function _0x285a(){const _0x3f1ad5=['parse','__esModule','../../../package.json','10rnWagJ','../utils/Log','291439JtXjOT','defineProperty','2sYcWjg','17352XmTXlu','982320NquHtv','ConsoleLog','toString','151521vRMidp','929034WkrvAv','readFile','280OKQMtO','version','13284469MPiguo','info','join','7oAyHXS','995470HiSAjW'];_0x285a=function(){return _0x3f1ad5;};return _0x285a();}async function version(_0x222387=new Log_1[(_0x15afd5(0x14a))](_0x15afd5(0x150))){const _0x558cce=_0x15afd5,_0x4f67e5=path[_0x558cce(0x13d)](__dirname,_0x558cce(0x142)),_0x3b5797=await(await fs['promises'][_0x558cce(0x14e)](_0x4f67e5))[_0x558cce(0x14b)](),_0x366f19=JSON[_0x558cce(0x140)](_0x3b5797);return _0x222387[_0x558cce(0x152)](_0x366f19[_0x558cce(0x150)]),!![];}
1
+ 'use strict';function _0x59c8(){const _0xb0ae49=['319rHoZVX','readFile','9ceZmZW','2967396aFijxN','promises','toString','path','../../../package.json','version','__esModule','6VYKtVr','join','633120zNehyT','1192PMqOlw','61705XPhTJQ','../utils/Log','2uzQwch','7165260PLyamh','info','4877802KTbNEX','388008GrWpRp','ConsoleLog','6142065RgdLNn','defineProperty'];_0x59c8=function(){return _0xb0ae49;};return _0x59c8();}const _0x459cbf=_0x394b;(function(_0x715ffe,_0x3a043d){const _0x3f0b88=_0x394b,_0x55b066=_0x715ffe();while(!![]){try{const _0x354e8b=-parseInt(_0x3f0b88(0x11c))/0x1+parseInt(_0x3f0b88(0x118))/0x2*(-parseInt(_0x3f0b88(0x11b))/0x3)+parseInt(_0x3f0b88(0x123))/0x4+-parseInt(_0x3f0b88(0x11e))/0x5*(-parseInt(_0x3f0b88(0x112))/0x6)+-parseInt(_0x3f0b88(0x116))/0x7*(parseInt(_0x3f0b88(0x115))/0x8)+-parseInt(_0x3f0b88(0x122))/0x9*(-parseInt(_0x3f0b88(0x119))/0xa)+parseInt(_0x3f0b88(0x120))/0xb*(parseInt(_0x3f0b88(0x114))/0xc);if(_0x354e8b===_0x3a043d)break;else _0x55b066['push'](_0x55b066['shift']());}catch(_0x3fe045){_0x55b066['push'](_0x55b066['shift']());}}}(_0x59c8,0xd926b));function _0x394b(_0x2da556,_0x5c8ad6){const _0x59c86f=_0x59c8();return _0x394b=function(_0x394b57,_0x2db583){_0x394b57=_0x394b57-0x10f;let _0x109e3a=_0x59c86f[_0x394b57];return _0x109e3a;},_0x394b(_0x2da556,_0x5c8ad6);}Object[_0x459cbf(0x11f)](exports,_0x459cbf(0x111),{'value':!![]}),exports[_0x459cbf(0x110)]=version;const fs=require('fs'),path=require(_0x459cbf(0x126)),Log_1=require(_0x459cbf(0x117));async function version(_0x3074ef=new Log_1[(_0x459cbf(0x11d))](_0x459cbf(0x110))){const _0x4f3ac8=_0x459cbf,_0x91959f=path[_0x4f3ac8(0x113)](__dirname,_0x4f3ac8(0x10f)),_0x4e80df=await(await fs[_0x4f3ac8(0x124)][_0x4f3ac8(0x121)](_0x91959f))[_0x4f3ac8(0x125)](),_0x8cf6a6=JSON['parse'](_0x4e80df);return _0x3074ef[_0x4f3ac8(0x11a)](_0x8cf6a6['version']),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x12a90d=_0x1ada;(function(_0x436895,_0x5d63d9){const _0x6059d3=_0x1ada,_0x4b03fd=_0x436895();while(!![]){try{const _0x420c9a=parseInt(_0x6059d3(0x230))/0x1*(-parseInt(_0x6059d3(0x207))/0x2)+parseInt(_0x6059d3(0x21e))/0x3+parseInt(_0x6059d3(0x21a))/0x4+-parseInt(_0x6059d3(0x226))/0x5+parseInt(_0x6059d3(0x21f))/0x6+-parseInt(_0x6059d3(0x22e))/0x7+-parseInt(_0x6059d3(0x21d))/0x8;if(_0x420c9a===_0x5d63d9)break;else _0x4b03fd['push'](_0x4b03fd['shift']());}catch(_0x2a93c5){_0x4b03fd['push'](_0x4b03fd['shift']());}}}(_0x509d,0xa64ce));function _0x509d(){const _0x85c8df=['join','configDeeplink','sftp','automatic','contentSize','protocol_handlers','magnet','5003772akxXyP','display_override','bitcoin','5650024GFffpT','1914882IwFZjr','7677798yXHejO','validateURL','url','split','web+','path','standalone','1521335HzWFjD','defaultSize','mms','webcal','ircs','configStartUrl','includes','safelist','4011322DdWmqS','__esModule','5414bJfLpZ','minimal-ui','irc','urn','length','configId','sip','ssh','defineProperty','news','height','https://','protocol','parseRouter','http://','mainScene','splice','reverse','resizability','scope','tel','matrix','contentMinSize','openpgp4fpr','334WBapFm','host','./static-web','../utils/utils','start_url','sms','ftp','display','indexOf','geo','replace','nntp'];_0x509d=function(){return _0x85c8df;};return _0x509d();}Object[_0x12a90d(0x1f7)](exports,_0x12a90d(0x22f),{'value':!![]}),exports[_0x12a90d(0x22d)]=void 0x0,exports[_0x12a90d(0x1f4)]=configId,exports[_0x12a90d(0x22b)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports[_0x12a90d(0x214)]=configDeeplink;const utils_1=require(_0x12a90d(0x20a)),validate_1=require('./validate'),path_1=require(_0x12a90d(0x224));function configId(_0x2565e8){const _0x37e425=_0x12a90d,_0x3ac6d5=new URL(_0x2565e8['id']);let _0x14a538=_0x3ac6d5[_0x37e425(0x208)][_0x37e425(0x222)]('.')[_0x37e425(0x200)]();_0x2565e8['id']=_0x14a538[_0x37e425(0x213)]('.');}function _0x1ada(_0x437bf4,_0x21fc41){const _0x509d80=_0x509d();return _0x1ada=function(_0x1ada27,_0x234a42){_0x1ada27=_0x1ada27-0x1f0;let _0x464a15=_0x509d80[_0x1ada27];return _0x464a15;},_0x1ada(_0x437bf4,_0x21fc41);}function configStartUrl(_0x5461bd,_0x371097,_0x26133a){const _0x277d91=_0x12a90d,_0xe7a7b1=(0x0,validate_1[_0x277d91(0x220)])(_0x5461bd[_0x277d91(0x20b)]);let _0x1d39e0=_0x5461bd[_0x277d91(0x20b)];_0x26133a?!_0xe7a7b1&&(_0x1d39e0=(0x0,path_1[_0x277d91(0x213)])((0x0,utils_1[_0x277d91(0x1fc)])(_0x371097),_0x5461bd[_0x277d91(0x20b)])):!_0xe7a7b1&&(_0x1d39e0=(0x0,path_1[_0x277d91(0x213)])(_0x277d91(0x209),_0x5461bd['start_url'])),_0x5461bd['start_url']=_0x1d39e0;}function configScope(_0x5e4c4f,_0x1b070b){const _0xc21410=_0x12a90d;let _0x1bb86f='';const _0x13ec0d=(0x0,validate_1['validateURL'])(_0x5e4c4f['scope']);if(_0x1b070b&&_0x13ec0d){const _0x5837b7=new URL(_0x5e4c4f[_0xc21410(0x202)]),_0x219549=new URL(_0x5e4c4f[_0xc21410(0x20b)]);(_0x5837b7[_0xc21410(0x208)]!==_0x219549[_0xc21410(0x208)]||_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x20f)](_0x1bb86f)!==0x0)&&(_0x1bb86f=(0x0,utils_1[_0xc21410(0x1fc)])(_0x5e4c4f[_0xc21410(0x20b)]));}else{if(_0x1b070b&&!_0x13ec0d){const _0x21fdca=_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x20f)]('http://')===0x0?_0xc21410(0x1fd):_0xc21410(0x1fa);_0x1bb86f=(0x0,path_1[_0xc21410(0x213)])(_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x211)](_0x21fdca,''),_0x5e4c4f[_0xc21410(0x202)]),_0x1bb86f=_0x21fdca+_0x1bb86f;}else _0x1bb86f=(0x0,path_1[_0xc21410(0x213)])((0x0,utils_1[_0xc21410(0x1fc)])(_0x5e4c4f[_0xc21410(0x20b)]),_0x5e4c4f[_0xc21410(0x202)]);}_0x5e4c4f[_0xc21410(0x202)]=_0x1bb86f;}function configDisplay(_0x30bba6){const _0x3a90f2=_0x12a90d;let _0x2c8c0e=_0x30bba6[_0x3a90f2(0x20e)];_0x2c8c0e!==_0x3a90f2(0x1f0)&&_0x2c8c0e!==_0x3a90f2(0x225)&&(_0x2c8c0e=_0x3a90f2(0x225));if(_0x30bba6[_0x3a90f2(0x21b)]&&_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x1f3)]>0x0){const _0x1b1670=_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x20f)](_0x3a90f2(0x1f0)),_0x207d5a=_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x20f)]('standalone');if(_0x1b1670>=0x0&&_0x207d5a>=0x0)_0x2c8c0e=_0x207d5a>_0x1b1670?'standalone':_0x3a90f2(0x1f0);else{if(_0x1b1670>=0x0)_0x2c8c0e=_0x3a90f2(0x1f0);else _0x207d5a>=0x0&&(_0x2c8c0e=_0x3a90f2(0x225));}}}function configMainScene(_0x284d32){const _0x18255b=_0x12a90d;var _0x5eb167,_0x123380;const _0x428906=[_0x18255b(0x216),_0x18255b(0x205),_0x18255b(0x217)];let _0x1e5c64={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x18255b(0x216)};_0x284d32[_0x18255b(0x1fe)]&&(_0x1e5c64[_0x18255b(0x227)]['width']=Number((_0x5eb167=_0x284d32['mainScene']['defaultSize'])===null||_0x5eb167===void 0x0?void 0x0:_0x5eb167['width'])>0x0?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x227)]['width']:0x500,_0x1e5c64[_0x18255b(0x227)][_0x18255b(0x1f9)]=Number((_0x123380=_0x284d32[_0x18255b(0x1fe)]['defaultSize'])===null||_0x123380===void 0x0?void 0x0:_0x123380[_0x18255b(0x1f9)])>0x0?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x227)][_0x18255b(0x1f9)]:0x500,_0x1e5c64[_0x18255b(0x201)]=_0x428906[_0x18255b(0x22c)](_0x284d32[_0x18255b(0x1fe)]['resizability'])?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x201)]:'automatic'),_0x284d32[_0x18255b(0x1fe)]=_0x1e5c64;}function configDeeplink(_0x4e7a3e){const _0x14b693=_0x12a90d;if(_0x4e7a3e[_0x14b693(0x218)]&&_0x4e7a3e[_0x14b693(0x218)][_0x14b693(0x1f3)]>0x0)for(var _0x490ab7=0x0;_0x490ab7<_0x4e7a3e['protocol_handlers'][_0x14b693(0x1f3)];_0x490ab7++){const _0x3146bd=_0x4e7a3e[_0x14b693(0x218)][_0x490ab7];if(_0x3146bd[_0x14b693(0x1fb)]&&(exports[_0x14b693(0x22d)][_0x14b693(0x22c)](_0x3146bd[_0x14b693(0x1fb)])||_0x3146bd[_0x14b693(0x1fb)][_0x14b693(0x20f)](_0x14b693(0x223))===0x0)){if(!((0x0,validate_1[_0x14b693(0x220)])(_0x3146bd['url'])&&_0x3146bd[_0x14b693(0x221)][_0x14b693(0x20f)](_0x4e7a3e[_0x14b693(0x202)])<0x0))continue;}_0x4e7a3e[_0x14b693(0x218)][_0x14b693(0x1ff)](_0x490ab7,0x1),_0x490ab7--;}}exports['safelist']=[_0x12a90d(0x21c),_0x12a90d(0x20d),'ftps',_0x12a90d(0x210),'im',_0x12a90d(0x1f1),_0x12a90d(0x22a),_0x12a90d(0x219),'mailto',_0x12a90d(0x204),_0x12a90d(0x228),_0x12a90d(0x1f8),_0x12a90d(0x212),_0x12a90d(0x206),_0x12a90d(0x215),_0x12a90d(0x1f5),_0x12a90d(0x20c),'smsto',_0x12a90d(0x1f6),_0x12a90d(0x203),_0x12a90d(0x1f2),_0x12a90d(0x229),'wtai','xmpp'];
1
+ 'use strict';const _0x420cec=_0x4ceb;(function(_0x564d02,_0x2b36f7){const _0x1ef78a=_0x4ceb,_0x2acd31=_0x564d02();while(!![]){try{const _0x37dc58=parseInt(_0x1ef78a(0x189))/0x1+-parseInt(_0x1ef78a(0x180))/0x2*(-parseInt(_0x1ef78a(0x190))/0x3)+-parseInt(_0x1ef78a(0x173))/0x4+-parseInt(_0x1ef78a(0x1a9))/0x5*(parseInt(_0x1ef78a(0x183))/0x6)+parseInt(_0x1ef78a(0x171))/0x7+parseInt(_0x1ef78a(0x1a0))/0x8*(parseInt(_0x1ef78a(0x19f))/0x9)+parseInt(_0x1ef78a(0x16b))/0xa;if(_0x37dc58===_0x2b36f7)break;else _0x2acd31['push'](_0x2acd31['shift']());}catch(_0xf0d399){_0x2acd31['push'](_0x2acd31['shift']());}}}(_0x107b,0xae15b));Object['defineProperty'](exports,_0x420cec(0x197),{'value':!![]}),exports[_0x420cec(0x18b)]=void 0x0,exports['configId']=configId,exports[_0x420cec(0x195)]=configStartUrl,exports[_0x420cec(0x193)]=configScope,exports[_0x420cec(0x188)]=configDisplay,exports[_0x420cec(0x1ac)]=configMainScene,exports[_0x420cec(0x17f)]=configDeeplink;const utils_1=require(_0x420cec(0x199)),validate_1=require('./validate'),path_1=require(_0x420cec(0x18e));function configId(_0xd8a852){const _0x1ab583=_0x420cec,_0x11fa74=new URL(_0xd8a852['id']);let _0x35e7e1=_0x11fa74[_0x1ab583(0x18c)][_0x1ab583(0x19e)]('.')[_0x1ab583(0x1a1)]();_0xd8a852['id']=_0x35e7e1['join']('.');}function _0x4ceb(_0xc0616b,_0x37b4b5){const _0x107b42=_0x107b();return _0x4ceb=function(_0x4ceb68,_0x31a2ad){_0x4ceb68=_0x4ceb68-0x16b;let _0x313137=_0x107b42[_0x4ceb68];return _0x313137;},_0x4ceb(_0xc0616b,_0x37b4b5);}function configStartUrl(_0x1f7290,_0x55a285,_0x30fe36){const _0x54d9ab=_0x420cec,_0x59d91f=(0x0,validate_1[_0x54d9ab(0x19b)])(_0x1f7290[_0x54d9ab(0x16e)]);let _0x3067be=_0x1f7290['start_url'];_0x30fe36?!_0x59d91f&&(_0x3067be=(0x0,path_1[_0x54d9ab(0x18a)])((0x0,utils_1[_0x54d9ab(0x19c)])(_0x55a285),_0x1f7290[_0x54d9ab(0x16e)])):!_0x59d91f&&(_0x3067be=(0x0,path_1[_0x54d9ab(0x18a)])(_0x54d9ab(0x1ab),_0x1f7290[_0x54d9ab(0x16e)])),_0x1f7290[_0x54d9ab(0x16e)]=_0x3067be;}function _0x107b(){const _0x3f3bf7=['openpgp4fpr','sip','15VggkFr','contentMinSize','./static-web','configMainScene','magnet','8858470fYpwFz','length','sms','start_url','display_override','protocol','3529435usUzTT','includes','2312480yPfhIQ','mailto','wtai','height','indexOf','contentSize','mainScene','web+','https://','ssh','http://','ftps','configDeeplink','2AFrHRN','irc','automatic','2394012SCpiDN','defaultSize','protocol_handlers','url','xmpp','configDisplay','328454pmQrLq','join','safelist','host','resizability','path','ftp','2131503pXDRaQ','tel','width','configScope','nntp','configStartUrl','splice','__esModule','display','../utils/utils','mms','validateURL','parseRouter','standalone','split','45ozutiX','94672qbBSzb','reverse','minimal-ui','sftp','scope','ircs','webcal'];_0x107b=function(){return _0x3f3bf7;};return _0x107b();}function configScope(_0x53bd0d,_0x4e4f43){const _0x23ee98=_0x420cec;var _0x4ab342,_0x359366,_0x178cc8;let _0x3145e0='';const _0x4ab54a=(0x0,validate_1['validateURL'])(_0x53bd0d[_0x23ee98(0x1a4)]);if(_0x4e4f43&&_0x4ab54a){const _0x420770=new URL((_0x4ab342=_0x53bd0d[_0x23ee98(0x1a4)])!==null&&_0x4ab342!==void 0x0?_0x4ab342:''),_0x39d51d=new URL(_0x53bd0d[_0x23ee98(0x16e)]);(_0x420770[_0x23ee98(0x18c)]!==_0x39d51d[_0x23ee98(0x18c)]||_0x53bd0d[_0x23ee98(0x16e)][_0x23ee98(0x177)](_0x3145e0)!==0x0)&&(_0x3145e0=(0x0,utils_1[_0x23ee98(0x19c)])(_0x53bd0d[_0x23ee98(0x16e)]));}else{if(_0x4e4f43&&!_0x4ab54a){const _0x34929c=_0x53bd0d[_0x23ee98(0x16e)]['indexOf'](_0x23ee98(0x17d))===0x0?'http://':_0x23ee98(0x17b);_0x3145e0=(0x0,path_1[_0x23ee98(0x18a)])(_0x53bd0d['start_url']['replace'](_0x34929c,''),(_0x359366=_0x53bd0d[_0x23ee98(0x1a4)])!==null&&_0x359366!==void 0x0?_0x359366:''),_0x3145e0=_0x34929c+_0x3145e0;}else _0x3145e0=(0x0,path_1[_0x23ee98(0x18a)])((0x0,utils_1[_0x23ee98(0x19c)])(_0x53bd0d['start_url']),(_0x178cc8=_0x53bd0d[_0x23ee98(0x1a4)])!==null&&_0x178cc8!==void 0x0?_0x178cc8:'');}_0x53bd0d['scope']=_0x3145e0;}function configDisplay(_0x50e866){const _0x4c01e3=_0x420cec;let _0x170d06=_0x50e866[_0x4c01e3(0x198)];_0x170d06!=='minimal-ui'&&_0x170d06!=='standalone'&&(_0x170d06=_0x4c01e3(0x19d));if(_0x50e866['display_override']&&_0x50e866[_0x4c01e3(0x16f)][_0x4c01e3(0x16c)]>0x0){const _0x661e38=_0x50e866[_0x4c01e3(0x16f)][_0x4c01e3(0x177)](_0x4c01e3(0x1a2)),_0x21fbec=_0x50e866['display_override'][_0x4c01e3(0x177)](_0x4c01e3(0x19d));if(_0x661e38>=0x0&&_0x21fbec>=0x0)_0x170d06=_0x21fbec>_0x661e38?_0x4c01e3(0x19d):_0x4c01e3(0x1a2);else{if(_0x661e38>=0x0)_0x170d06=_0x4c01e3(0x1a2);else _0x21fbec>=0x0&&(_0x170d06=_0x4c01e3(0x19d));}}}function configMainScene(_0x2cef9e){const _0x243b56=_0x420cec;var _0x5030c8,_0x19fe5d;const _0x46169a=[_0x243b56(0x182),_0x243b56(0x1aa),_0x243b56(0x178)];let _0x511f63={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x243b56(0x182)};_0x2cef9e[_0x243b56(0x179)]&&(_0x511f63[_0x243b56(0x184)][_0x243b56(0x192)]=Number((_0x5030c8=_0x2cef9e[_0x243b56(0x179)]['defaultSize'])===null||_0x5030c8===void 0x0?void 0x0:_0x5030c8[_0x243b56(0x192)])>0x0?_0x2cef9e[_0x243b56(0x179)]['defaultSize'][_0x243b56(0x192)]:0x500,_0x511f63[_0x243b56(0x184)][_0x243b56(0x176)]=Number((_0x19fe5d=_0x2cef9e['mainScene'][_0x243b56(0x184)])===null||_0x19fe5d===void 0x0?void 0x0:_0x19fe5d[_0x243b56(0x176)])>0x0?_0x2cef9e[_0x243b56(0x179)]['defaultSize'][_0x243b56(0x176)]:0x500,_0x511f63[_0x243b56(0x18d)]=_0x46169a[_0x243b56(0x172)](_0x2cef9e['mainScene'][_0x243b56(0x18d)])?_0x2cef9e['mainScene'][_0x243b56(0x18d)]:'automatic'),_0x2cef9e['mainScene']=_0x511f63;}function configDeeplink(_0x2b505e){const _0x29d838=_0x420cec;if(_0x2b505e['protocol_handlers']&&_0x2b505e[_0x29d838(0x185)][_0x29d838(0x16c)]>0x0)for(var _0x45fc5c=0x0;_0x45fc5c<_0x2b505e[_0x29d838(0x185)][_0x29d838(0x16c)];_0x45fc5c++){const _0xe3b335=_0x2b505e[_0x29d838(0x185)][_0x45fc5c];if(_0xe3b335[_0x29d838(0x170)]&&(exports['safelist'][_0x29d838(0x172)](_0xe3b335[_0x29d838(0x170)])||_0xe3b335[_0x29d838(0x170)][_0x29d838(0x177)](_0x29d838(0x17a))===0x0)){if(!((0x0,validate_1[_0x29d838(0x19b)])(_0xe3b335[_0x29d838(0x186)])&&_0xe3b335[_0x29d838(0x186)][_0x29d838(0x177)](_0x2b505e[_0x29d838(0x1a4)])<0x0))continue;}_0x2b505e[_0x29d838(0x185)][_0x29d838(0x196)](_0x45fc5c,0x1),_0x45fc5c--;}}exports['safelist']=['bitcoin',_0x420cec(0x18f),_0x420cec(0x17e),'geo','im',_0x420cec(0x181),_0x420cec(0x1a5),_0x420cec(0x1ad),_0x420cec(0x174),'matrix',_0x420cec(0x19a),'news',_0x420cec(0x194),_0x420cec(0x1a7),_0x420cec(0x1a3),_0x420cec(0x1a8),_0x420cec(0x16d),'smsto',_0x420cec(0x17c),_0x420cec(0x191),'urn',_0x420cec(0x1a6),_0x420cec(0x175),_0x420cec(0x187)];
@@ -1 +1 @@
1
- 'use strict';function _0x2072(){const _0x5e4cb4=['configStartUrl','182490OWDVDf','./validate','defineProperty','check\x20manifest.json:\x20ok','url','81135NzEDtS','./config','DisplayModes','configDisplay','4BjVYLd','PWAGenerator','cwd','21MtHWFZ','loadJsonFromDisk','loadJsonFromNet','29496uxfdCD','configScope','reset\x20manifest.json:\x20ok','path','3691048AEnoaM','17733639PNDttR','validate','manifest','2494293XsNCwc','manifest-url','join','8596992fuSsss','log','json','standalone','750RsGGxd','checkManifestJson','fromNet','__esModule','config','66RSCgZr'];_0x2072=function(){return _0x5e4cb4;};return _0x2072();}const _0x109a92=_0x3d11;(function(_0x35ef4a,_0x4b22c5){const _0x2b1e0d=_0x3d11,_0x17d718=_0x35ef4a();while(!![]){try{const _0x5c3984=-parseInt(_0x2b1e0d(0x14d))/0x1*(parseInt(_0x2b1e0d(0x161))/0x2)+-parseInt(_0x2b1e0d(0x155))/0x3*(-parseInt(_0x2b1e0d(0x147))/0x4)+-parseInt(_0x2b1e0d(0x163))/0x5+parseInt(_0x2b1e0d(0x158))/0x6+-parseInt(_0x2b1e0d(0x14a))/0x7*(parseInt(_0x2b1e0d(0x151))/0x8)+-parseInt(_0x2b1e0d(0x143))/0x9*(parseInt(_0x2b1e0d(0x15c))/0xa)+parseInt(_0x2b1e0d(0x152))/0xb;if(_0x5c3984===_0x4b22c5)break;else _0x17d718['push'](_0x17d718['shift']());}catch(_0x424492){_0x17d718['push'](_0x17d718['shift']());}}}(_0x2072,0xc4d86));Object[_0x109a92(0x140)](exports,_0x109a92(0x15f),{'value':!![]}),exports[_0x109a92(0x148)]=void 0x0;const path_1=require(_0x109a92(0x150)),config_1=require(_0x109a92(0x144)),load_1=require('../resource/load'),validate_1=require(_0x109a92(0x13f));class PWAGenerator{static async['generator'](_0x17f1c1,_0x5dbbf2=![]){const _0x3de9ec=_0x109a92;let _0x5ee4c0=await this[_0x3de9ec(0x153)](_0x17f1c1,_0x5dbbf2);return console['log'](_0x3de9ec(0x141)),await this[_0x3de9ec(0x160)](_0x5ee4c0,_0x5dbbf2),console[_0x3de9ec(0x159)](_0x3de9ec(0x14f)),_0x5ee4c0;}static async[_0x109a92(0x153)](_0x5176f9,_0x1e53a4=![]){const _0x5e5b70=_0x109a92;let _0x2b14fc={},_0x550232='',_0x1df3a3=![];if(_0x5176f9[_0x5e5b70(0x156)])_0x550232=_0x5176f9['manifest-url'],_0x1df3a3=!![],_0x2b14fc=await(0x0,load_1[_0x5e5b70(0x14c)])(_0x5176f9[_0x5e5b70(0x156)]);else _0x5176f9[_0x5e5b70(0x154)]&&(_0x550232=(0x0,path_1[_0x5e5b70(0x157)])(process[_0x5e5b70(0x149)](),_0x5176f9[_0x5e5b70(0x154)]),_0x2b14fc=await(0x0,load_1[_0x5e5b70(0x14b)])(_0x5176f9[_0x5e5b70(0x154)]));(0x0,validate_1[_0x5e5b70(0x15d)])(_0x2b14fc);var _0x189aa6=(0x0,validate_1['checkStartUrl'])(_0x2b14fc,_0x550232,_0x1df3a3,_0x1e53a4);if(!_0x1e53a4)(0x0,validate_1['checkId'])(_0x2b14fc);return await(0x0,validate_1['checkIcons'])(_0x2b14fc,_0x550232),{'json':_0x2b14fc,'url':_0x550232,'fromNet':_0x189aa6};}static['config'](_0x2a06eb,_0x1d9ae1){const _0x42c487=_0x109a92;(0x0,config_1[_0x42c487(0x162)])(_0x2a06eb[_0x42c487(0x15a)],_0x2a06eb[_0x42c487(0x142)],_0x2a06eb[_0x42c487(0x15e)]);if(!_0x1d9ae1)(0x0,config_1['configId'])(_0x2a06eb['json']);(0x0,config_1[_0x42c487(0x14e)])(_0x2a06eb[_0x42c487(0x15a)],_0x2a06eb[_0x42c487(0x15e)]),(0x0,config_1[_0x42c487(0x146)])(_0x2a06eb[_0x42c487(0x15a)]),(0x0,config_1['configDeeplink'])(_0x2a06eb[_0x42c487(0x15a)]),(0x0,config_1['configMainScene'])(_0x2a06eb[_0x42c487(0x15a)]);}}function _0x3d11(_0xece5eb,_0x50ba99){const _0x20725f=_0x2072();return _0x3d11=function(_0x3d119e,_0x4b8572){_0x3d119e=_0x3d119e-0x13f;let _0x8a7450=_0x20725f[_0x3d119e];return _0x8a7450;},_0x3d11(_0xece5eb,_0x50ba99);}exports[_0x109a92(0x148)]=PWAGenerator,PWAGenerator[_0x109a92(0x145)]=[_0x109a92(0x15b),'minimal-ui'];
1
+ 'use strict';function _0x2698(_0x10b1cd,_0x310fa7){const _0xb7d830=_0xb7d8();return _0x2698=function(_0x2698c3,_0x11390b){_0x2698c3=_0x2698c3-0x1e6;let _0x51e0b0=_0xb7d830[_0x2698c3];return _0x51e0b0;},_0x2698(_0x10b1cd,_0x310fa7);}const _0x25cc81=_0x2698;(function(_0x38e568,_0x50b57b){const _0x10523b=_0x2698,_0x29ef65=_0x38e568();while(!![]){try{const _0x136306=-parseInt(_0x10523b(0x1ff))/0x1*(-parseInt(_0x10523b(0x1e6))/0x2)+parseInt(_0x10523b(0x20a))/0x3*(parseInt(_0x10523b(0x204))/0x4)+parseInt(_0x10523b(0x1e7))/0x5*(parseInt(_0x10523b(0x1f5))/0x6)+-parseInt(_0x10523b(0x1ee))/0x7*(-parseInt(_0x10523b(0x1fc))/0x8)+-parseInt(_0x10523b(0x1f3))/0x9+-parseInt(_0x10523b(0x1ec))/0xa*(-parseInt(_0x10523b(0x209))/0xb)+-parseInt(_0x10523b(0x1ef))/0xc*(parseInt(_0x10523b(0x203))/0xd);if(_0x136306===_0x50b57b)break;else _0x29ef65['push'](_0x29ef65['shift']());}catch(_0x514abd){_0x29ef65['push'](_0x29ef65['shift']());}}}(_0xb7d8,0x5ab8b));Object[_0x25cc81(0x1ed)](exports,_0x25cc81(0x200),{'value':!![]}),exports['PWAGenerator']=void 0x0;const path_1=require(_0x25cc81(0x1e9)),config_1=require(_0x25cc81(0x205)),load_1=require(_0x25cc81(0x1fd)),validate_1=require(_0x25cc81(0x206));function _0xb7d8(){const _0x3c8377=['configId','checkId','1230650VfWNJF','878625Uaudbp','checkIcons','path','reset\x20manifest.json:\x20ok','json','2154380xEUVhH','defineProperty','15729qLtkMr','3120UjmRZb','loadJsonFromDisk','log','check\x20manifest.json:\x20ok','2306070VhGdfQ','configScope','6ynlwaj','configDisplay','fromNet','validate','PWAGenerator','manifest-url','join','1856UbXTwK','../resource/load','config','1EjLuCF','__esModule','manifest','minimal-ui','96941FlEJSc','1548esScew','./config','./validate','DisplayModes','generator','33ypYdyE','4713TCaoFi','url'];_0xb7d8=function(){return _0x3c8377;};return _0xb7d8();}class PWAGenerator{static async[_0x25cc81(0x208)](_0x45050e,_0x17c9d4=![]){const _0x14c1d3=_0x25cc81;let _0x4cd457=await this[_0x14c1d3(0x1f8)](_0x45050e,_0x17c9d4);return console[_0x14c1d3(0x1f1)](_0x14c1d3(0x1f2)),await this[_0x14c1d3(0x1fe)](_0x4cd457,_0x17c9d4),console[_0x14c1d3(0x1f1)](_0x14c1d3(0x1ea)),_0x4cd457;}static async[_0x25cc81(0x1f8)](_0x26abca,_0x35c530=![]){const _0xa09ecf=_0x25cc81;let _0x5d8299={},_0x29089e='',_0x4982ed=![];if(_0x26abca['manifest-url'])_0x29089e=_0x26abca[_0xa09ecf(0x1fa)],_0x4982ed=!![],_0x5d8299=await(0x0,load_1['loadJsonFromNet'])(_0x26abca[_0xa09ecf(0x1fa)]);else _0x26abca[_0xa09ecf(0x201)]&&(_0x29089e=(0x0,path_1[_0xa09ecf(0x1fb)])(process['cwd'](),_0x26abca[_0xa09ecf(0x201)]),_0x5d8299=await(0x0,load_1[_0xa09ecf(0x1f0)])(_0x26abca[_0xa09ecf(0x201)]));(0x0,validate_1['checkManifestJson'])(_0x5d8299);var _0x3a1a11=(0x0,validate_1['checkStartUrl'])(_0x5d8299,_0x29089e,_0x4982ed,_0x35c530);if(!_0x35c530)(0x0,validate_1[_0xa09ecf(0x20d)])(_0x5d8299);return await(0x0,validate_1[_0xa09ecf(0x1e8)])(_0x5d8299,_0x29089e),{'json':_0x5d8299,'url':_0x29089e,'fromNet':_0x3a1a11};}static['config'](_0x717b1c,_0x2a2a5b){const _0x5b208f=_0x25cc81;(0x0,config_1['configStartUrl'])(_0x717b1c[_0x5b208f(0x1eb)],_0x717b1c[_0x5b208f(0x20b)],_0x717b1c[_0x5b208f(0x1f7)]);if(!_0x2a2a5b)(0x0,config_1[_0x5b208f(0x20c)])(_0x717b1c['json']);(0x0,config_1[_0x5b208f(0x1f4)])(_0x717b1c['json'],_0x717b1c[_0x5b208f(0x1f7)]),(0x0,config_1[_0x5b208f(0x1f6)])(_0x717b1c[_0x5b208f(0x1eb)]),(0x0,config_1['configDeeplink'])(_0x717b1c['json']),(0x0,config_1['configMainScene'])(_0x717b1c['json']);}}exports[_0x25cc81(0x1f9)]=PWAGenerator,PWAGenerator[_0x25cc81(0x207)]=['standalone',_0x25cc81(0x202)];
@@ -1 +1 @@
1
- 'use strict';const _0x1d67cd=_0x218d;(function(_0x489d5d,_0x57d279){const _0x526536=_0x218d,_0x5ca338=_0x489d5d();while(!![]){try{const _0x3a684e=-parseInt(_0x526536(0x1cb))/0x1+parseInt(_0x526536(0x1d5))/0x2+parseInt(_0x526536(0x1d3))/0x3*(-parseInt(_0x526536(0x1cf))/0x4)+parseInt(_0x526536(0x1ad))/0x5+parseInt(_0x526536(0x1af))/0x6*(-parseInt(_0x526536(0x1ac))/0x7)+-parseInt(_0x526536(0x1b2))/0x8*(-parseInt(_0x526536(0x1ab))/0x9)+parseInt(_0x526536(0x1d9))/0xa*(parseInt(_0x526536(0x1d7))/0xb);if(_0x3a684e===_0x57d279)break;else _0x5ca338['push'](_0x5ca338['shift']());}catch(_0xc2405e){_0x5ca338['push'](_0x5ca338['shift']());}}}(_0x21ce,0x1ac52));function _0x218d(_0x4f4869,_0xee3cca){const _0x21ce2f=_0x21ce();return _0x218d=function(_0x218d35,_0x3431a1){_0x218d35=_0x218d35-0x1ab;let _0x4e5b71=_0x21ce2f[_0x218d35];return _0x4e5b71;},_0x218d(_0x4f4869,_0xee3cca);}Object[_0x1d67cd(0x1c4)](exports,_0x1d67cd(0x1d2),{'value':!![]}),exports[_0x1d67cd(0x1b0)]=checkManifestJson,exports[_0x1d67cd(0x1bf)]=checkStartUrl,exports[_0x1d67cd(0x1c9)]=checkIcons,exports[_0x1d67cd(0x1b6)]=checkId,exports[_0x1d67cd(0x1d8)]=validateURL;function _0x21ce(){const _0x1ab38b=['checkIcons','startsWith','37358InDnDs','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','short_name','length','5092KHNXvD','split','parseRouter','__esModule','465GsBZAN','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','87808eBhgKQ','http','961774fhuSMD','validateURL','20xJznOQ','https://','../utils/utils','indexOf','isFullyOpaque','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','184635QFbdrH','826231IawmdH','192170RbVTvm','icons','6DGXDMZ','checkManifestJson','start_url','80HtYbju','DisplayModes','../resource/imageHelper','loadImageFromDisk','checkId','getWidth','join','CustomError','push','purpose','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','name','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','checkStartUrl','Local\x20manifest\x20cannot\x20package\x20network\x20project','host','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','loadImageFromNet','defineProperty','display','http://','sizes','../utils/CustomError'];_0x21ce=function(){return _0x1ab38b;};return _0x21ce();}const path_1=require('path'),_1=require('.'),CustomError_1=require(_0x1d67cd(0x1c8)),utils_1=require(_0x1d67cd(0x1db)),imageHelper_1=require(_0x1d67cd(0x1b4)),load_1=require('../resource/load');function checkManifestJson(_0x3c4a20){const _0x1b2cac=_0x1d67cd;var _0x2f8f5e;const _0x6dcecf=[];!_0x3c4a20[_0x1b2cac(0x1bd)]&&!_0x3c4a20[_0x1b2cac(0x1cd)]&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbbe,'message':_0x1b2cac(0x1de),'message_staring_params':{}});!((_0x2f8f5e=_0x3c4a20[_0x1b2cac(0x1ae)])===null||_0x2f8f5e===void 0x0?void 0x0:_0x2f8f5e[_0x1b2cac(0x1ce)])&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbbf,'message':_0x1b2cac(0x1d4),'message_staring_params':{}});!_0x3c4a20['start_url']&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbc0,'message':_0x1b2cac(0x1bc),'message_staring_params':{}});!_1['PWAGenerator'][_0x1b2cac(0x1b3)]['includes'](_0x3c4a20[_0x1b2cac(0x1c5)])&&_0x6dcecf['push']({'code':0xbc1,'message':_0x1b2cac(0x1c2)+(_0x1b2cac(0x1cc)+_0x3c4a20['display']+')'),'message_staring_params':{'display':_0x3c4a20[_0x1b2cac(0x1c5)]}});if(_0x6dcecf[_0x1b2cac(0x1ce)])throw new CustomError_1[(_0x1b2cac(0x1b9))](_0x6dcecf);}function checkStartUrl(_0x249301,_0x1175cd,_0x211e10,_0x2018ed=![]){const _0x1c005f=_0x1d67cd;var _0x4cc6ef=![];if(_0x2018ed)return _0x4cc6ef=_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1da))===0x0||_0x249301['start_url'][_0x1c005f(0x1dc)]('http://')===0x0,_0x4cc6ef;if(_0x211e10){if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)]('https://')==0x0){const _0x563fb8=new URL(_0x249301[_0x1c005f(0x1b1)]),_0x19f111=new URL(_0x1175cd);if(_0x563fb8[_0x1c005f(0x1c1)]!==_0x19f111['host'])throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1c6))==0x0)throw new CustomError_1[(_0x1c005f(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1da))==0x0||_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1c6))==0x0)throw new CustomError_1[(_0x1c005f(0x1b9))]({'code':0xfa0,'message':_0x1c005f(0x1c0),'message_staring_params':{}});}return _0x4cc6ef;}async function checkIcons(_0x218b6c,_0x392df8){const _0x1cb7c4=_0x1d67cd;var _0x568eda;const _0x40951c=(0x0,utils_1[_0x1cb7c4(0x1d1)])(_0x392df8);let _0x3bc6aa,_0x465fd4,_0x330bfe,_0x48ad73=0x0;for(var _0x14df03=0x0;_0x14df03<_0x218b6c[_0x1cb7c4(0x1ae)]['length'];_0x14df03++){const _0x4a0bcf=_0x218b6c[_0x1cb7c4(0x1ae)][_0x14df03];let _0x33cb3b=((_0x568eda=_0x4a0bcf[_0x1cb7c4(0x1bb)])===null||_0x568eda===void 0x0?void 0x0:_0x568eda[_0x1cb7c4(0x1dc)]('maskable'))>=0x0;if(!_0x33cb3b)continue;let _0x1555f7=![],_0x44eb68=_0x4a0bcf['src'],_0x17499d,_0x3676c6=0x0;!validateURL(_0x44eb68)&&(_0x44eb68=(0x0,path_1[_0x1cb7c4(0x1b8)])(_0x40951c,_0x44eb68));if(_0x4a0bcf[_0x1cb7c4(0x1c7)]){const _0x5bba0e=_0x4a0bcf[_0x1cb7c4(0x1c7)][_0x1cb7c4(0x1d0)]('\x20');_0x5bba0e['forEach'](_0x5595bb=>{const _0x4a5cab=_0x1cb7c4;let _0x427d58=_0x5595bb[_0x4a5cab(0x1d0)]('x');Number(_0x427d58[0x0])>=0x400&&Number(_0x427d58[0x1])>=0x400&&(_0x1555f7=!![],Number(_0x427d58[0x0])>_0x3676c6&&(_0x3676c6=Number(_0x427d58[0x0])));});}else _0x17499d=!_0x44eb68[_0x1cb7c4(0x1ca)](_0x1cb7c4(0x1d6))?await(0x0,load_1['loadImageFromDisk'])(_0x44eb68):await(0x0,load_1[_0x1cb7c4(0x1c3)])(_0x44eb68),_0x17499d[_0x1cb7c4(0x1b7)]()>=0x400&&_0x17499d['getHeight']()>=0x400&&(_0x1555f7=!![],_0x17499d[_0x1cb7c4(0x1b7)]()>_0x3676c6&&(_0x3676c6=_0x17499d[_0x1cb7c4(0x1b7)]()));_0x1555f7&&_0x33cb3b&&(_0x3676c6>_0x48ad73&&(_0x48ad73=_0x3676c6,_0x3bc6aa=_0x17499d,_0x465fd4=_0x44eb68,_0x330bfe=_0x4a0bcf[_0x1cb7c4(0x1bb)]));}if(_0x48ad73===0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1cb7c4(0x1be),'message_staring_params':{}});else _0x465fd4&&(_0x3bc6aa=!_0x465fd4['startsWith']('http')?await(0x0,load_1[_0x1cb7c4(0x1b5)])(_0x465fd4):await(0x0,load_1['loadImageFromNet'])(_0x465fd4));if(_0x3bc6aa&&!imageHelper_1['ImageHelper'][_0x1cb7c4(0x1dd)](_0x3bc6aa))throw new CustomError_1[(_0x1cb7c4(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','message_staring_params':{}});_0x218b6c[_0x1cb7c4(0x1ae)]=[{'src':_0x465fd4,'sizes':_0x48ad73+'x'+_0x48ad73,'purpose':_0x330bfe}];}function checkId(_0xfc4949){const _0x2e1f15=_0x1d67cd;!_0xfc4949['id']&&(_0xfc4949['id']=_0xfc4949[_0x2e1f15(0x1b1)]);if(!validateURL(_0xfc4949['id']))throw new CustomError_1[(_0x2e1f15(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','message_staring_params':{}});}function validateURL(_0x45a3cc){try{return new URL(_0x45a3cc),!![];}catch(_0x5afca5){return![];}}
1
+ 'use strict';const _0x3891e9=_0xa822;(function(_0x1ae1c4,_0x5ee466){const _0x264983=_0xa822,_0x417af8=_0x1ae1c4();while(!![]){try{const _0x16d916=-parseInt(_0x264983(0x10c))/0x1*(-parseInt(_0x264983(0x11a))/0x2)+-parseInt(_0x264983(0x116))/0x3+-parseInt(_0x264983(0xeb))/0x4*(-parseInt(_0x264983(0x107))/0x5)+parseInt(_0x264983(0x10b))/0x6+-parseInt(_0x264983(0x113))/0x7+parseInt(_0x264983(0xf2))/0x8+-parseInt(_0x264983(0xfb))/0x9;if(_0x16d916===_0x5ee466)break;else _0x417af8['push'](_0x417af8['shift']());}catch(_0x5a9163){_0x417af8['push'](_0x417af8['shift']());}}}(_0x2ac8,0x7ce8b));function _0x2ac8(){const _0x238685=['\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','3541320VecaRV','8927QnLQvH','name','checkManifestJson','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','../utils/utils','../utils/CustomError','checkId','5072606WxwbLx','purpose','DisplayModes','898836aPGHjm','loadImageFromNet','validateURL','PWAGenerator','114BYLrWd','join','host','getWidth','checkStartUrl','http','124yPaZRo','Local\x20manifest\x20cannot\x20package\x20network\x20project','forEach','maskable','short_name','display','indexOf','1334136qWCKqy','__esModule','push','defineProperty','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','start_url','https://','getHeight','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','686628VUmIOc','icons','http://','CustomError','../resource/load','length','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','includes','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','split','loadImageFromDisk','sizes','55865yhFWxz','startsWith','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object'];_0x2ac8=function(){return _0x238685;};return _0x2ac8();}Object[_0x3891e9(0xf5)](exports,_0x3891e9(0xf3),{'value':!![]}),exports[_0x3891e9(0x10e)]=checkManifestJson,exports[_0x3891e9(0x11e)]=checkStartUrl,exports['checkIcons']=checkIcons,exports[_0x3891e9(0x112)]=checkId,exports[_0x3891e9(0x118)]=validateURL;const path_1=require('path'),_1=require('.'),CustomError_1=require(_0x3891e9(0x111)),utils_1=require(_0x3891e9(0x110)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x3891e9(0xff));function _0xa822(_0x5664d9,_0x425411){const _0x2ac8a2=_0x2ac8();return _0xa822=function(_0xa822c7,_0x16c352){_0xa822c7=_0xa822c7-0xeb;let _0x28b58d=_0x2ac8a2[_0xa822c7];return _0x28b58d;},_0xa822(_0x5664d9,_0x425411);}function checkManifestJson(_0x397aa2){const _0x1288a9=_0x3891e9;var _0x5b7831;const _0x399872=[];!_0x397aa2[_0x1288a9(0x10d)]&&!_0x397aa2[_0x1288a9(0xef)]&&_0x399872[_0x1288a9(0xf4)]({'code':0xbbe,'message':_0x1288a9(0x10f),'message_staring_params':{}});!((_0x5b7831=_0x397aa2[_0x1288a9(0xfc)])===null||_0x5b7831===void 0x0?void 0x0:_0x5b7831['length'])&&_0x399872['push']({'code':0xbbf,'message':_0x1288a9(0x109),'message_staring_params':{}});!_0x397aa2[_0x1288a9(0xf7)]&&_0x399872[_0x1288a9(0xf4)]({'code':0xbc0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});!_1[_0x1288a9(0x119)][_0x1288a9(0x115)][_0x1288a9(0x102)](_0x397aa2[_0x1288a9(0xf0)])&&_0x399872['push']({'code':0xbc1,'message':_0x1288a9(0x101)+(_0x1288a9(0x10a)+_0x397aa2[_0x1288a9(0xf0)]+')'),'message_staring_params':{'display':_0x397aa2['display']}});if(_0x399872[_0x1288a9(0x100)])throw new CustomError_1['CustomError'](_0x399872);}function checkStartUrl(_0x35c061,_0xcf17c,_0x2aab5f,_0x277372=![]){const _0x4faa1f=_0x3891e9;var _0x9e8b59=![];if(_0x277372)return _0x9e8b59=_0x35c061['start_url'][_0x4faa1f(0xf1)](_0x4faa1f(0xf8))===0x0||_0x35c061[_0x4faa1f(0xf7)][_0x4faa1f(0xf1)]('http://')===0x0,_0x9e8b59;if(_0x2aab5f){if(_0x35c061[_0x4faa1f(0xf7)][_0x4faa1f(0xf1)](_0x4faa1f(0xf8))==0x0){const _0xca7250=new URL(_0x35c061[_0x4faa1f(0xf7)]),_0x5e3067=new URL(_0xcf17c);if(_0xca7250[_0x4faa1f(0x11c)]!==_0x5e3067[_0x4faa1f(0x11c)])throw new CustomError_1[(_0x4faa1f(0xfe))]({'code':0xfa0,'message':_0x4faa1f(0xf6),'message_staring_params':{}});}else{if(_0x35c061[_0x4faa1f(0xf7)]['indexOf']('http://')==0x0)throw new CustomError_1[(_0x4faa1f(0xfe))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x35c061['start_url'][_0x4faa1f(0xf1)]('https://')==0x0||_0x35c061[_0x4faa1f(0xf7)][_0x4faa1f(0xf1)](_0x4faa1f(0xfd))==0x0)throw new CustomError_1[(_0x4faa1f(0xfe))]({'code':0xfa0,'message':_0x4faa1f(0xec),'message_staring_params':{}});}return _0x9e8b59;}async function checkIcons(_0x27b5f2,_0x4969e0){const _0x2e3812=_0x3891e9;var _0x30ade4;const _0x5ac980=(0x0,utils_1['parseRouter'])(_0x4969e0);let _0x240db8,_0x550a15,_0x435684,_0x5af825=0x0;for(var _0x57c797=0x0;_0x57c797<_0x27b5f2[_0x2e3812(0xfc)][_0x2e3812(0x100)];_0x57c797++){const _0x16f3c1=_0x27b5f2[_0x2e3812(0xfc)][_0x57c797];let _0x399b1e=((_0x30ade4=_0x16f3c1[_0x2e3812(0x114)])===null||_0x30ade4===void 0x0?void 0x0:_0x30ade4['indexOf'](_0x2e3812(0xee)))>=0x0;if(!_0x399b1e)continue;let _0x17d6fd=![],_0xabe2b=_0x16f3c1['src'],_0x1bb0df,_0x2d73fa=0x0;!validateURL(_0xabe2b)&&(_0xabe2b=(0x0,path_1[_0x2e3812(0x11b)])(_0x5ac980,_0xabe2b));if(_0x16f3c1[_0x2e3812(0x106)]){const _0x34e3d9=_0x16f3c1[_0x2e3812(0x106)][_0x2e3812(0x104)]('\x20');_0x34e3d9[_0x2e3812(0xed)](_0x2fb2d3=>{let _0x4b661c=_0x2fb2d3['split']('x');Number(_0x4b661c[0x0])>=0x400&&Number(_0x4b661c[0x1])>=0x400&&(_0x17d6fd=!![],Number(_0x4b661c[0x0])>_0x2d73fa&&(_0x2d73fa=Number(_0x4b661c[0x0])));});}else _0x1bb0df=!_0xabe2b['startsWith'](_0x2e3812(0x11f))?await(0x0,load_1['loadImageFromDisk'])(_0xabe2b):await(0x0,load_1[_0x2e3812(0x117)])(_0xabe2b),_0x1bb0df[_0x2e3812(0x11d)]()>=0x400&&_0x1bb0df[_0x2e3812(0xf9)]()>=0x400&&(_0x17d6fd=!![],_0x1bb0df['getWidth']()>_0x2d73fa&&(_0x2d73fa=_0x1bb0df[_0x2e3812(0x11d)]()));_0x17d6fd&&_0x399b1e&&(_0x2d73fa>_0x5af825&&(_0x5af825=_0x2d73fa,_0x240db8=_0x1bb0df,_0x550a15=_0xabe2b,_0x435684=_0x16f3c1[_0x2e3812(0x114)]));}if(_0x5af825===0x0)throw new CustomError_1[(_0x2e3812(0xfe))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});else _0x550a15&&(_0x240db8=!_0x550a15[_0x2e3812(0x108)](_0x2e3812(0x11f))?await(0x0,load_1[_0x2e3812(0x105)])(_0x550a15):await(0x0,load_1[_0x2e3812(0x117)])(_0x550a15));if(_0x240db8&&!imageHelper_1['ImageHelper']['isFullyOpaque'](_0x240db8))throw new CustomError_1[(_0x2e3812(0xfe))]({'code':0xfa0,'message':_0x2e3812(0x103),'message_staring_params':{}});_0x27b5f2[_0x2e3812(0xfc)]=[{'src':_0x550a15,'sizes':_0x5af825+'x'+_0x5af825,'purpose':_0x435684}];}function checkId(_0x395d65){const _0x31d1b9=_0x3891e9;!_0x395d65['id']&&(_0x395d65['id']=_0x395d65['start_url']);if(!validateURL(_0x395d65['id']))throw new CustomError_1[(_0x31d1b9(0xfe))]({'code':0xfa0,'message':_0x31d1b9(0xfa),'message_staring_params':{}});}function validateURL(_0x296265){try{return new URL(_0x296265),!![];}catch(_0x5de49c){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0x2189(_0x5255cd,_0x2c7f3b){const _0x9110fe=_0x9110();return _0x2189=function(_0x21894b,_0x24cfc8){_0x21894b=_0x21894b-0x1d7;let _0x571a65=_0x9110fe[_0x21894b];return _0x571a65;},_0x2189(_0x5255cd,_0x2c7f3b);}const _0x43625c=_0x2189;(function(_0x4ec1a2,_0x5a87bd){const _0x472b41=_0x2189,_0x12937d=_0x4ec1a2();while(!![]){try{const _0x30024e=parseInt(_0x472b41(0x1da))/0x1+parseInt(_0x472b41(0x1d8))/0x2+-parseInt(_0x472b41(0x1e1))/0x3+-parseInt(_0x472b41(0x1db))/0x4*(-parseInt(_0x472b41(0x1e7))/0x5)+-parseInt(_0x472b41(0x1dc))/0x6+parseInt(_0x472b41(0x1dd))/0x7+-parseInt(_0x472b41(0x1e2))/0x8;if(_0x30024e===_0x5a87bd)break;else _0x12937d['push'](_0x12937d['shift']());}catch(_0x3b21eb){_0x12937d['push'](_0x12937d['shift']());}}}(_0x9110,0x354ee));Object[_0x43625c(0x1e4)](exports,_0x43625c(0x1ea),{'value':!![]}),exports[_0x43625c(0x1d7)]=copyDir,exports[_0x43625c(0x1e3)]=clearDir;const fs=require('fs');function _0x9110(){const _0x23531a=['isFile','isDirectory','5tUHUau','readFileSync','forEach','__esModule','writeFileSync','unlinkSync','copyDir','627076VupFNy','statSync','425977gSFOOo','1298884ndohsO','478272csVCiR','1594047qLGCWB','existsSync','mkdirSync','readdirSync','679296lgfPoa','6139704wIotVc','clearDir','defineProperty'];_0x9110=function(){return _0x23531a;};return _0x9110();}function copyDir(_0x2b7b11,_0x3df79f){const _0xda3804=_0x43625c,_0x35d49b=fs[_0xda3804(0x1e0)](_0x2b7b11);_0x35d49b[_0xda3804(0x1e9)](_0xd2f68e=>{const _0x260597=_0xda3804,_0x19a6c3=_0x2b7b11+'/'+_0xd2f68e,_0x5d224c=_0x3df79f+'/'+_0xd2f68e,_0x39fbb8=fs['statSync'](_0x19a6c3);if(_0x39fbb8[_0x260597(0x1e5)]())try{fs[_0x260597(0x1eb)](_0x5d224c,fs[_0x260597(0x1e8)](_0x19a6c3));}catch(_0x1ceea5){console['log'](_0x1ceea5);}else _0x39fbb8['isDirectory']()&&(!fs[_0x260597(0x1de)](_0x5d224c)&&fs[_0x260597(0x1df)](_0x5d224c,{'recursive':!![]}),copyDir(_0x19a6c3,_0x5d224c));});}function clearDir(_0x155060){const _0x374a1e=_0x43625c,_0x12e05e=fs[_0x374a1e(0x1e0)](_0x155060);_0x12e05e[_0x374a1e(0x1e9)](_0x52ab8a=>{const _0x746887=_0x374a1e,_0x1f3d46=_0x155060+'/'+_0x52ab8a,_0x23193a=fs[_0x746887(0x1d9)](_0x1f3d46);if(_0x23193a['isFile']())try{fs[_0x746887(0x1ec)](_0x1f3d46);}catch(_0x50f02d){console['log'](_0x50f02d);}else _0x23193a[_0x746887(0x1e6)]()&&clearDir(_0x1f3d46);});}
1
+ 'use strict';const _0x4dfa66=_0x58c2;(function(_0xa3659e,_0x590249){const _0x1be042=_0x58c2,_0x450359=_0xa3659e();while(!![]){try{const _0x530bb8=-parseInt(_0x1be042(0x13a))/0x1*(parseInt(_0x1be042(0x135))/0x2)+parseInt(_0x1be042(0x13e))/0x3*(-parseInt(_0x1be042(0x140))/0x4)+parseInt(_0x1be042(0x13f))/0x5*(parseInt(_0x1be042(0x134))/0x6)+-parseInt(_0x1be042(0x13d))/0x7+-parseInt(_0x1be042(0x142))/0x8*(parseInt(_0x1be042(0x13b))/0x9)+parseInt(_0x1be042(0x130))/0xa*(parseInt(_0x1be042(0x137))/0xb)+parseInt(_0x1be042(0x12f))/0xc*(parseInt(_0x1be042(0x144))/0xd);if(_0x530bb8===_0x590249)break;else _0x450359['push'](_0x450359['shift']());}catch(_0x4bb51e){_0x450359['push'](_0x450359['shift']());}}}(_0x4fca,0x7ef81));Object[_0x4dfa66(0x132)](exports,_0x4dfa66(0x138),{'value':!![]}),exports[_0x4dfa66(0x139)]=copyDir,exports['clearDir']=clearDir;function _0x58c2(_0x3913f4,_0x41a600){const _0x4fca93=_0x4fca();return _0x58c2=function(_0x58c27b,_0x575fc5){_0x58c27b=_0x58c27b-0x12d;let _0x329615=_0x4fca93[_0x58c27b];return _0x329615;},_0x58c2(_0x3913f4,_0x41a600);}const fs=require('fs');function _0x4fca(){const _0x3b3ab4=['readdirSync','22CCqMEr','__esModule','copyDir','6538OUEHkz','4251105KbnmlL','log','2721369FHTdRX','14196sbyaME','196255aJkVyb','68hHinIl','readFileSync','8FFNNJP','statSync','403xBzrwm','forEach','isDirectory','495528DBSpVT','5189810dlcqhY','unlinkSync','defineProperty','isFile','6ZSScnl','274smlQTb'];_0x4fca=function(){return _0x3b3ab4;};return _0x4fca();}function copyDir(_0x2bc80d,_0x587f0a){const _0x5d3ed4=_0x4dfa66,_0x4dbdf3=fs[_0x5d3ed4(0x136)](_0x2bc80d);_0x4dbdf3[_0x5d3ed4(0x12d)](_0x2daae4=>{const _0x4c1aef=_0x5d3ed4,_0xeed6c7=_0x2bc80d+'/'+_0x2daae4,_0x3bc244=_0x587f0a+'/'+_0x2daae4,_0x233cde=fs[_0x4c1aef(0x143)](_0xeed6c7);if(_0x233cde[_0x4c1aef(0x133)]())try{fs['writeFileSync'](_0x3bc244,fs[_0x4c1aef(0x141)](_0xeed6c7));}catch(_0x515013){console['log'](_0x515013);}else _0x233cde['isDirectory']()&&(!fs['existsSync'](_0x3bc244)&&fs['mkdirSync'](_0x3bc244,{'recursive':!![]}),copyDir(_0xeed6c7,_0x3bc244));});}function clearDir(_0x3d7e31){const _0x339d92=_0x4dfa66,_0x39c069=fs[_0x339d92(0x136)](_0x3d7e31);_0x39c069['forEach'](_0x478551=>{const _0x244b80=_0x339d92,_0x29e94f=_0x3d7e31+'/'+_0x478551,_0x4d1555=fs[_0x244b80(0x143)](_0x29e94f);if(_0x4d1555[_0x244b80(0x133)]())try{fs[_0x244b80(0x131)](_0x29e94f);}catch(_0x1cd298){console[_0x244b80(0x13c)](_0x1cd298);}else _0x4d1555[_0x244b80(0x12e)]()&&clearDir(_0x29e94f);});}
@@ -1 +1 @@
1
- 'use strict';const _0x3cef09=_0x518a;(function(_0x5469fa,_0x16df73){const _0x1923ec=_0x518a,_0x5d06d4=_0x5469fa();while(!![]){try{const _0x1c50bb=-parseInt(_0x1923ec(0x1e9))/0x1+-parseInt(_0x1923ec(0x1d1))/0x2*(-parseInt(_0x1923ec(0x1de))/0x3)+-parseInt(_0x1923ec(0x1d4))/0x4*(parseInt(_0x1923ec(0x1d9))/0x5)+-parseInt(_0x1923ec(0x1cc))/0x6*(parseInt(_0x1923ec(0x1e7))/0x7)+parseInt(_0x1923ec(0x1d6))/0x8+-parseInt(_0x1923ec(0x1da))/0x9*(parseInt(_0x1923ec(0x1d3))/0xa)+-parseInt(_0x1923ec(0x1e6))/0xb*(-parseInt(_0x1923ec(0x1e1))/0xc);if(_0x1c50bb===_0x16df73)break;else _0x5d06d4['push'](_0x5d06d4['shift']());}catch(_0x11ade1){_0x5d06d4['push'](_0x5d06d4['shift']());}}}(_0x11a5,0x1c9f5));function _0x518a(_0x4a6095,_0x3fd2b){const _0x11a5a3=_0x11a5();return _0x518a=function(_0x518a29,_0x43c8c6){_0x518a29=_0x518a29-0x1cc;let _0xd68fac=_0x11a5a3[_0x518a29];return _0xd68fac;},_0x518a(_0x4a6095,_0x3fd2b);}Object[_0x3cef09(0x1e5)](exports,_0x3cef09(0x1e3),{'value':!![]}),exports[_0x3cef09(0x1d8)]=void 0x0;const Jimp=require(_0x3cef09(0x1d2)),sharp=require(_0x3cef09(0x1e2)),resvg_js_1=require(_0x3cef09(0x1d0));function _0x11a5(){const _0x327949=['svg2img','@resvg/resvg-js','3154SoPoIV','jimp','90DPYSqK','421284QbvtEy','isFullyOpaque','693624TOKLqh','createImg','ImageHelper','5mMhVsR','48429QKqczk','png','webp2PngBuffer','Resvg','201OIZUzk','toFormat','asPng','1044TEFxHi','sharp','__esModule','render','defineProperty','26609IPTUll','258685chHAKI','bitmap','57918dzhCuX','getHeight','12BmcUMY','data','toBuffer'];_0x11a5=function(){return _0x327949;};return _0x11a5();}class ImageHelper{static[_0x3cef09(0x1d7)](_0x5326cb){return new Jimp(_0x5326cb,_0x5326cb,0x0);}static async[_0x3cef09(0x1dc)](_0x351559){const _0x4724a7=_0x3cef09;return await sharp(_0x351559)[_0x4724a7(0x1df)](_0x4724a7(0x1db))[_0x4724a7(0x1ce)]();}static async[_0x3cef09(0x1cf)](_0x32b9aa){const _0x1edf02=_0x3cef09,_0x49a73f={'fitTo':{'mode':'width','value':0x400}},_0x50975a=new resvg_js_1[(_0x1edf02(0x1dd))](_0x32b9aa,_0x49a73f),_0x209ac1=_0x50975a[_0x1edf02(0x1e4)](),_0x67dd74=_0x209ac1[_0x1edf02(0x1e0)]();return _0x67dd74;}static[_0x3cef09(0x1d5)](_0x4ce28a){const _0x5200c9=_0x3cef09,_0x92f828=_0x4ce28a['getWidth']()*_0x4ce28a[_0x5200c9(0x1ea)]();for(var _0x323d7b=0x0;_0x323d7b<_0x92f828;_0x323d7b++){const _0x4c95f9=_0x323d7b*0x4+0x3;if(_0x4ce28a[_0x5200c9(0x1e8)][_0x5200c9(0x1cd)][_0x4c95f9]<0xff)return![];}return!![];}}exports[_0x3cef09(0x1d8)]=ImageHelper;
1
+ 'use strict';const _0x397a52=_0x45b1;function _0x45b1(_0x471c9b,_0x11d7ee){const _0x55c3d8=_0x55c3();return _0x45b1=function(_0x45b189,_0x48af9c){_0x45b189=_0x45b189-0xc1;let _0x294139=_0x55c3d8[_0x45b189];return _0x294139;},_0x45b1(_0x471c9b,_0x11d7ee);}(function(_0x45257a,_0x458cc9){const _0x60dc7f=_0x45b1,_0x25bb20=_0x45257a();while(!![]){try{const _0x325fb5=parseInt(_0x60dc7f(0xc3))/0x1+-parseInt(_0x60dc7f(0xd1))/0x2*(-parseInt(_0x60dc7f(0xd6))/0x3)+parseInt(_0x60dc7f(0xcf))/0x4*(parseInt(_0x60dc7f(0xc7))/0x5)+-parseInt(_0x60dc7f(0xdc))/0x6*(-parseInt(_0x60dc7f(0xc2))/0x7)+parseInt(_0x60dc7f(0xda))/0x8*(-parseInt(_0x60dc7f(0xcc))/0x9)+parseInt(_0x60dc7f(0xc5))/0xa*(-parseInt(_0x60dc7f(0xc4))/0xb)+parseInt(_0x60dc7f(0xd9))/0xc*(-parseInt(_0x60dc7f(0xdb))/0xd);if(_0x325fb5===_0x458cc9)break;else _0x25bb20['push'](_0x25bb20['shift']());}catch(_0x433970){_0x25bb20['push'](_0x25bb20['shift']());}}}(_0x55c3,0xd3a9c));function _0x55c3(){const _0x1cf51c=['477srZMXs','defineProperty','getWidth','2030540EQPOCL','asPng','1306mbehcj','toBuffer','bitmap','toFormat','sharp','651VroPyW','isFullyOpaque','Resvg','8149476qErOik','136672xsXqCo','13pshTTJ','30tkKDnN','ImageHelper','1739759krAGwa','1726547xsPjwJ','475453iZOgIz','270tNUOMw','@resvg/resvg-js','5CuHfWJ','width','jimp','svg2img','render'];_0x55c3=function(){return _0x1cf51c;};return _0x55c3();}Object[_0x397a52(0xcd)](exports,'__esModule',{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0x397a52(0xc9)),sharp=require(_0x397a52(0xd5)),resvg_js_1=require(_0x397a52(0xc6));class ImageHelper{static['createImg'](_0x3d9395){return new Jimp(_0x3d9395,_0x3d9395,0x0);}static async['webp2PngBuffer'](_0xeb9703){const _0xecbb62=_0x397a52;return await sharp(_0xeb9703)[_0xecbb62(0xd4)]('png')[_0xecbb62(0xd2)]();}static async[_0x397a52(0xca)](_0x27a112){const _0x23bfce=_0x397a52,_0x49249a={'fitTo':{'mode':_0x23bfce(0xc8),'value':0x400}},_0x254023=new resvg_js_1[(_0x23bfce(0xd8))](_0x27a112,_0x49249a),_0x4f78f8=_0x254023[_0x23bfce(0xcb)](),_0x235b15=_0x4f78f8[_0x23bfce(0xd0)]();return _0x235b15;}static[_0x397a52(0xd7)](_0x729310){const _0x5ef10f=_0x397a52,_0x4fd749=_0x729310[_0x5ef10f(0xce)]()*_0x729310['getHeight']();for(var _0x200b40=0x0;_0x200b40<_0x4fd749;_0x200b40++){const _0x648061=_0x200b40*0x4+0x3;if(_0x729310[_0x5ef10f(0xd3)]['data'][_0x648061]<0xff)return![];}return!![];}}exports[_0x397a52(0xc1)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';function _0x4608(){const _0xf367e7=['existsSync','8443780QFWrHu','./load','ResourceManager','log','380946APlWKq','mkdirSync','996602bSLRkE','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','moveProjectFrom','json','copyDir','path','PROJECT_BUILD_DIRECTORY','158456wOFLpp','PROJECT_DIRECTORY','./export','101815nbOfID','loadImageFromNet','./build','join','resize','../../../template/visionOSApp','50476XncVNR','ASSET_DIRECTORY','web-spatial/static-web','90lyTDWV','138TzeoWr','defineProperty','63BzeVMN','WEB_PROJECT_DIRECTORY','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','BACK_APPICON_DIRECTORY','3205293HRjkci','src','loadImageFromDisk','http','MIDDLE_APPICON_DIRECTORY','clearDir','PROJECT_EXPORT_DIRECTORY'];_0x4608=function(){return _0xf367e7;};return _0x4608();}const _0x31dd39=_0x5423;(function(_0x5603ca,_0x8b932e){const _0x303d13=_0x5423,_0x800681=_0x5603ca();while(!![]){try{const _0x46d8a7=parseInt(_0x303d13(0x179))/0x1+parseInt(_0x303d13(0x17b))/0x2+parseInt(_0x303d13(0x166))/0x3*(parseInt(_0x303d13(0x163))/0x4)+parseInt(_0x303d13(0x185))/0x5*(-parseInt(_0x303d13(0x167))/0x6)+parseInt(_0x303d13(0x16d))/0x7+-parseInt(_0x303d13(0x182))/0x8*(parseInt(_0x303d13(0x169))/0x9)+-parseInt(_0x303d13(0x175))/0xa;if(_0x46d8a7===_0x8b932e)break;else _0x800681['push'](_0x800681['shift']());}catch(_0x283b02){_0x800681['push'](_0x800681['shift']());}}}(_0x4608,0x40894));function _0x5423(_0x287d58,_0x134447){const _0x46084b=_0x4608();return _0x5423=function(_0x542305,_0x6884ea){_0x542305=_0x542305-0x15f;let _0x544285=_0x46084b[_0x542305];return _0x544285;},_0x5423(_0x287d58,_0x134447);}Object[_0x31dd39(0x168)](exports,'__esModule',{'value':!![]}),exports['ResourceManager']=exports[_0x31dd39(0x171)]=exports[_0x31dd39(0x16c)]=exports[_0x31dd39(0x164)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x31dd39(0x173)]=exports['PROJECT_BUILD_DIRECTORY']=exports[_0x31dd39(0x183)]=void 0x0;const fs=require('fs'),path_1=require(_0x31dd39(0x180)),file_1=require('./file'),load_1=require(_0x31dd39(0x176));exports[_0x31dd39(0x183)]=(0x0,path_1[_0x31dd39(0x160)])(__dirname,_0x31dd39(0x162)),exports[_0x31dd39(0x181)]=(0x0,path_1[_0x31dd39(0x160)])(exports[_0x31dd39(0x183)],_0x31dd39(0x15f)),exports[_0x31dd39(0x173)]=(0x0,path_1[_0x31dd39(0x160)])(exports[_0x31dd39(0x183)],_0x31dd39(0x184)),exports[_0x31dd39(0x16a)]=_0x31dd39(0x165),exports[_0x31dd39(0x164)]='web-spatial/Assets.xcassets',exports[_0x31dd39(0x16c)]=exports[_0x31dd39(0x164)]+_0x31dd39(0x16b),exports[_0x31dd39(0x171)]=exports[_0x31dd39(0x164)]+_0x31dd39(0x17c);class ResourceManager{static async[_0x31dd39(0x17d)](_0x462af4){const _0x4d4d2c=_0x31dd39,_0x2092c8=(0x0,path_1[_0x4d4d2c(0x160)])(process['cwd'](),_0x462af4),_0x3bc844=(0x0,path_1[_0x4d4d2c(0x160)])(exports[_0x4d4d2c(0x183)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x4d4d2c(0x174)](_0x3bc844)?fs[_0x4d4d2c(0x17a)](_0x3bc844,{'recursive':!![]}):(0x0,file_1[_0x4d4d2c(0x172)])(_0x3bc844);try{(0x0,file_1[_0x4d4d2c(0x17f)])(_0x2092c8,_0x3bc844);}catch(_0x3b7cbe){console[_0x4d4d2c(0x178)](_0x3b7cbe);}}static async['generateIcon'](_0xfd1d60){const _0x45a80c=_0x31dd39,_0x4283f2=_0xfd1d60[_0x45a80c(0x17e)],_0x1d8a7b=_0x4283f2['icons'][0x0][_0x45a80c(0x16e)],_0x4f75d2=!_0x1d8a7b['startsWith'](_0x45a80c(0x170))?await(0x0,load_1[_0x45a80c(0x16f)])(_0x1d8a7b):await(0x0,load_1[_0x45a80c(0x186)])(_0x1d8a7b);return _0x4f75d2[_0x45a80c(0x161)](0x400,0x400),_0x4f75d2;}}exports[_0x31dd39(0x177)]=ResourceManager;
1
+ 'use strict';const _0x7b41fd=_0x4c59;(function(_0x2b1d7e,_0x5ecc96){const _0x51ca17=_0x4c59,_0x48997a=_0x2b1d7e();while(!![]){try{const _0x474b7b=parseInt(_0x51ca17(0x183))/0x1+-parseInt(_0x51ca17(0x19b))/0x2*(parseInt(_0x51ca17(0x192))/0x3)+-parseInt(_0x51ca17(0x180))/0x4*(parseInt(_0x51ca17(0x1a1))/0x5)+parseInt(_0x51ca17(0x19f))/0x6*(parseInt(_0x51ca17(0x18e))/0x7)+-parseInt(_0x51ca17(0x18f))/0x8+parseInt(_0x51ca17(0x18b))/0x9+-parseInt(_0x51ca17(0x1a0))/0xa;if(_0x474b7b===_0x5ecc96)break;else _0x48997a['push'](_0x48997a['shift']());}catch(_0x3a4aee){_0x48997a['push'](_0x48997a['shift']());}}}(_0x3f5f,0x2862f));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x7b41fd(0x185)]=exports[_0x7b41fd(0x199)]=exports[_0x7b41fd(0x18a)]=exports[_0x7b41fd(0x190)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x7b41fd(0x189)]=exports[_0x7b41fd(0x196)]=exports[_0x7b41fd(0x186)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require('./file'),load_1=require(_0x7b41fd(0x19a));exports[_0x7b41fd(0x186)]=(0x0,path_1[_0x7b41fd(0x193)])(__dirname,_0x7b41fd(0x19c)),exports[_0x7b41fd(0x196)]=(0x0,path_1['join'])(exports[_0x7b41fd(0x186)],'./build'),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x7b41fd(0x193)])(exports[_0x7b41fd(0x186)],_0x7b41fd(0x18d)),exports['WEB_PROJECT_DIRECTORY']=_0x7b41fd(0x17f),exports[_0x7b41fd(0x190)]=_0x7b41fd(0x1a2),exports['BACK_APPICON_DIRECTORY']=exports[_0x7b41fd(0x190)]+_0x7b41fd(0x197),exports[_0x7b41fd(0x199)]=exports[_0x7b41fd(0x190)]+_0x7b41fd(0x194);class ResourceManager{static async[_0x7b41fd(0x184)](_0x58074c){const _0x516b25=_0x7b41fd,_0x316729=(0x0,path_1[_0x516b25(0x193)])(process[_0x516b25(0x19d)](),_0x58074c),_0x20a844=(0x0,path_1[_0x516b25(0x193)])(exports[_0x516b25(0x186)],exports[_0x516b25(0x191)]);!fs[_0x516b25(0x19e)](_0x20a844)?fs['mkdirSync'](_0x20a844,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x20a844);try{(0x0,file_1[_0x516b25(0x198)])(_0x316729,_0x20a844);}catch(_0x62bc80){console[_0x516b25(0x188)](_0x62bc80);}}static async[_0x7b41fd(0x195)](_0x2e0af2){const _0x3e82f0=_0x7b41fd,_0x338a09=_0x2e0af2[_0x3e82f0(0x18c)],_0x38acd7=_0x338a09[_0x3e82f0(0x181)][0x0]['src'],_0x226481=!_0x38acd7['startsWith']('http')?await(0x0,load_1[_0x3e82f0(0x187)])(_0x38acd7):await(0x0,load_1['loadImageFromNet'])(_0x38acd7);return _0x226481[_0x3e82f0(0x182)](0x400,0x400),_0x226481;}}function _0x4c59(_0x7149a9,_0x47cefb){const _0x3f5fe3=_0x3f5f();return _0x4c59=function(_0x4c594f,_0x62d499){_0x4c594f=_0x4c594f-0x17f;let _0x58ea39=_0x3f5fe3[_0x4c594f];return _0x58ea39;},_0x4c59(_0x7149a9,_0x47cefb);}function _0x3f5f(){const _0x92fa7f=['../../../template/visionOSApp','cwd','existsSync','725226RLiybv','2063280pWNlMN','6145ezgzjJ','web-spatial/Assets.xcassets','web-spatial/static-web','404cyhCZS','icons','resize','216442INyAei','moveProjectFrom','ResourceManager','PROJECT_DIRECTORY','loadImageFromDisk','log','PROJECT_EXPORT_DIRECTORY','BACK_APPICON_DIRECTORY','1746810WKdZLR','json','./export','14tRLpDf','49880GxohcP','ASSET_DIRECTORY','WEB_PROJECT_DIRECTORY','3ZoSVyJ','join','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','generateIcon','PROJECT_BUILD_DIRECTORY','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','copyDir','MIDDLE_APPICON_DIRECTORY','./load','300318utZaHa'];_0x3f5f=function(){return _0x92fa7f;};return _0x3f5f();}exports[_0x7b41fd(0x185)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x58363f=_0x278b;(function(_0x38ebb0,_0x552135){const _0x2913e8=_0x278b,_0x84ad3a=_0x38ebb0();while(!![]){try{const _0x16b540=-parseInt(_0x2913e8(0xa9))/0x1*(parseInt(_0x2913e8(0xc9))/0x2)+-parseInt(_0x2913e8(0xc2))/0x3+parseInt(_0x2913e8(0xa0))/0x4*(parseInt(_0x2913e8(0x9b))/0x5)+parseInt(_0x2913e8(0xa1))/0x6*(-parseInt(_0x2913e8(0xaa))/0x7)+parseInt(_0x2913e8(0xc1))/0x8*(parseInt(_0x2913e8(0xb0))/0x9)+-parseInt(_0x2913e8(0xa3))/0xa*(-parseInt(_0x2913e8(0xb2))/0xb)+parseInt(_0x2913e8(0xbc))/0xc;if(_0x16b540===_0x552135)break;else _0x84ad3a['push'](_0x84ad3a['shift']());}catch(_0x16373e){_0x84ad3a['push'](_0x84ad3a['shift']());}}}(_0x5223,0x4d4b8));Object[_0x58363f(0xb7)](exports,_0x58363f(0xa4),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x58363f(0x99)]=loadJsonFromDisk,exports[_0x58363f(0xb1)]=loadImageFromNet,exports[_0x58363f(0xa7)]=loadImageFromDisk,exports[_0x58363f(0xa2)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x58363f(0xc5)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x58363f(0xba)),imageHelper_1=require(_0x58363f(0x9f));async function loadJsonFromNet(_0x5646e0){const _0x3d222c=_0x58363f,_0x392f81=await FetchUtils_1_1['fetchUtils'][_0x3d222c(0x9e)](_0x5646e0,{'encoding':'binary'});if(_0x392f81[_0x3d222c(0xb5)]!==0xc8)throw new CustomError_1[(_0x3d222c(0xc4))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x5646e0+'.'+('The\x20response\x20status\x20is\x20'+_0x392f81['status']+_0x3d222c(0xa8)),'message_staring_params':{'web_manifest_url':_0x5646e0,'status':_0x392f81[_0x3d222c(0xb5)]}});try{let _0x562f1b;return _0x392f81[_0x3d222c(0xbf)]?_0x562f1b=await _0x392f81[_0x3d222c(0xbf)]():[_0x3d222c(0xab),'deflate','br'][_0x3d222c(0xc7)](_0x392f81['headers'][_0x3d222c(0x9d)])?_0x562f1b=FetchUtils_1_1[_0x3d222c(0xbd)]['decompressResponseBuffer'](Buffer[_0x3d222c(0xaf)](_0x392f81[_0x3d222c(0xbb)],'binary'),_0x392f81[_0x3d222c(0xca)]['content-encoding'])[_0x3d222c(0xc8)]():_0x562f1b=Buffer[_0x3d222c(0xaf)](_0x392f81[_0x3d222c(0xbb)],_0x3d222c(0xbe))[_0x3d222c(0xc8)](),JSON[_0x3d222c(0xad)](_0x562f1b[_0x3d222c(0x9a)]());}catch(_0x3b4a09){throw new CustomError_1['CustomError']({'code':0xbbd,'message':'Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','message_staring_params':{}});}}function _0x278b(_0x2bf4fe,_0x296c36){const _0x52233d=_0x5223();return _0x278b=function(_0x278be3,_0x2a067d){_0x278be3=_0x278be3-0x99;let _0x285771=_0x52233d[_0x278be3];return _0x285771;},_0x278b(_0x2bf4fe,_0x296c36);}async function loadJsonFromDisk(_0x3e3338){const _0x5b26d8=_0x58363f,_0x1eaa2d=await loadFileString(_0x3e3338[_0x5b26d8(0xc8)]());return JSON[_0x5b26d8(0xad)](_0x1eaa2d);}async function loadImageFromNet(_0x11f1dd){const _0x12fc21=_0x58363f,_0x158166=await FetchUtils_1_1[_0x12fc21(0xbd)][_0x12fc21(0x9e)](_0x11f1dd,{'encoding':'binary'});if(_0x158166['status']!==0xc8)throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x158166[_0x12fc21(0xb5)],'message_staring_params':{'icon_url':_0x11f1dd,'status':_0x158166[_0x12fc21(0xb5)]}});const _0x57bb19=_0x158166[_0x12fc21(0xca)]['get']?_0x158166[_0x12fc21(0xca)][_0x12fc21(0xb4)](_0x12fc21(0xc0)):_0x158166[_0x12fc21(0xca)][_0x12fc21(0xc0)];if(!(_0x57bb19===null||_0x57bb19===void 0x0?void 0x0:_0x57bb19[_0x12fc21(0xb6)]('image/')))throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d3,'message':_0x12fc21(0xac)+(_0x12fc21(0x9c)+_0x57bb19+'\x22'),'message_staring_params':{'icon_url':_0x11f1dd,'contentType':_0x57bb19}});let _0x59c403;_0x158166[_0x12fc21(0xa5)]?_0x59c403=await _0x158166[_0x12fc21(0xa5)]():[_0x12fc21(0xab),_0x12fc21(0xb3),'br']['includes'](_0x158166[_0x12fc21(0xca)][_0x12fc21(0x9d)])?_0x59c403=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer['from'](_0x158166[_0x12fc21(0xbb)],_0x12fc21(0xbe)),_0x158166[_0x12fc21(0xca)][_0x12fc21(0x9d)]):_0x59c403=Buffer[_0x12fc21(0xaf)](_0x158166[_0x12fc21(0xbb)],_0x12fc21(0xbe));if(_0x57bb19[_0x12fc21(0xb6)]('image/svg')){const _0x4afe52=new TextDecoder();try{_0x59c403=await imageHelper_1['ImageHelper']['svg2img'](_0x4afe52[_0x12fc21(0xc3)](_0x59c403));}catch(_0x4ded98){throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d4,'message':_0x12fc21(0xb9)+_0x11f1dd+':\x20'+_0x4ded98,'message_staring_params':{'icon_url':_0x11f1dd,'error':_0x4ded98}});}}return _0x57bb19[_0x12fc21(0xb6)]('image/webp')&&(_0x59c403=await imageHelper_1[_0x12fc21(0xcb)][_0x12fc21(0xa6)](_0x59c403)),await Jimp[_0x12fc21(0xae)](Buffer[_0x12fc21(0xaf)](_0x59c403));}function _0x5223(){const _0xe0e59a=['1604406KKmyyD','loadFileString','162290XFhJEr','__esModule','arrayBuffer','webp2PngBuffer','loadImageFromDisk',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','3gvcFXJ','7rtDqnk','gzip','Received\x20icon\x20with\x20invalid\x20Content-Type.','parse','read','from','74889vvZOQh','loadImageFromNet','352bgGyZV','deflate','get','status','startsWith','defineProperty','promises','Problem\x20reading\x20','jimp','data','5586108hSUkmF','fetchUtils','binary','text','content-type','104PBLUhF','897681YmqFDI','decode','CustomError','../utils/FetchUtils-1','readFile','includes','toString','318170qVnVfa','headers','ImageHelper','loadJsonFromDisk','trim','36145HiQKxw','\x20Responded\x20with\x20Content-Type\x20\x22','content-encoding','fetch','./imageHelper','148vCBiBF'];_0x5223=function(){return _0xe0e59a;};return _0x5223();}async function loadImageFromDisk(_0x556ff2){const _0x1ec815=_0x58363f;return await Jimp[_0x1ec815(0xae)](_0x556ff2);}async function loadFileString(_0x5e3a59){const _0x2b8741=_0x58363f;let _0x270e08=await fs[_0x2b8741(0xb8)][_0x2b8741(0xc6)](_0x5e3a59[_0x2b8741(0xc8)]());return _0x270e08[_0x2b8741(0xc8)]();}
1
+ 'use strict';const _0x2e7da8=_0x2b4d;(function(_0xfb9be4,_0x23c6a0){const _0x32a673=_0x2b4d,_0x395363=_0xfb9be4();while(!![]){try{const _0x4acea3=-parseInt(_0x32a673(0x93))/0x1*(-parseInt(_0x32a673(0x6c))/0x2)+parseInt(_0x32a673(0x87))/0x3+-parseInt(_0x32a673(0x75))/0x4+parseInt(_0x32a673(0x8d))/0x5+parseInt(_0x32a673(0x8f))/0x6+parseInt(_0x32a673(0x96))/0x7*(-parseInt(_0x32a673(0x92))/0x8)+parseInt(_0x32a673(0x7c))/0x9;if(_0x4acea3===_0x23c6a0)break;else _0x395363['push'](_0x395363['shift']());}catch(_0x3125ea){_0x395363['push'](_0x395363['shift']());}}}(_0x2f91,0x3d541));Object[_0x2e7da8(0x74)](exports,'__esModule',{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x2e7da8(0x83)]=loadJsonFromDisk,exports[_0x2e7da8(0x85)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x2e7da8(0x95)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x2e7da8(0x76)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x2e7da8(0x70)),imageHelper_1=require(_0x2e7da8(0x7f));async function loadJsonFromNet(_0x5c521a){const _0x2d2201=_0x2e7da8,_0x31f3a7=await FetchUtils_1_1[_0x2d2201(0x86)][_0x2d2201(0x6d)](_0x5c521a,{'encoding':_0x2d2201(0x97)});if(_0x31f3a7['status']!==0xc8)throw new CustomError_1[(_0x2d2201(0x6f))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x5c521a+'.'+(_0x2d2201(0x7b)+_0x31f3a7[_0x2d2201(0x6a)]+_0x2d2201(0x7a)),'message_staring_params':{'web_manifest_url':_0x5c521a,'status':_0x31f3a7[_0x2d2201(0x6a)]}});try{let _0x175636;return _0x31f3a7['text']?_0x175636=await _0x31f3a7[_0x2d2201(0x8c)]():[_0x2d2201(0x90),'deflate','br'][_0x2d2201(0x7d)](_0x31f3a7[_0x2d2201(0x80)][_0x2d2201(0x99)])?_0x175636=FetchUtils_1_1[_0x2d2201(0x86)][_0x2d2201(0x88)](Buffer[_0x2d2201(0x7e)](_0x31f3a7[_0x2d2201(0x98)],_0x2d2201(0x97)),_0x31f3a7['headers'][_0x2d2201(0x99)])[_0x2d2201(0x82)]():_0x175636=Buffer[_0x2d2201(0x7e)](_0x31f3a7[_0x2d2201(0x98)],'binary')[_0x2d2201(0x82)](),JSON[_0x2d2201(0x8e)](_0x175636[_0x2d2201(0x6e)]());}catch(_0x32484b){throw new CustomError_1['CustomError']({'code':0xbbd,'message':_0x2d2201(0x84),'message_staring_params':{}});}}function _0x2f91(){const _0x472ba1=['from','./imageHelper','headers','read','toString','loadJsonFromDisk','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadImageFromNet','fetchUtils','156924PodEli','decompressResponseBuffer','decode','readFile','arrayBuffer','text','933540LJjTCr','parse','688338QIVKIk','gzip','svg2img','2776RUoeEe','11311mrofaK','webp2PngBuffer','loadFileString','9926vuHfcs','binary','data','content-encoding','content-type','image/svg','status','get','58XKAONd','fetch','trim','CustomError','jimp','ImageHelper','image/webp','\x20Responded\x20with\x20Content-Type\x20\x22','defineProperty','1730752SmvXbj','../utils/FetchUtils-1','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','deflate','startsWith',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','The\x20response\x20status\x20is\x20','4447593cjnBQY','includes'];_0x2f91=function(){return _0x472ba1;};return _0x2f91();}async function loadJsonFromDisk(_0xec970d){const _0xc555bf=_0x2e7da8,_0x4a87af=await loadFileString(_0xec970d[_0xc555bf(0x82)]());return JSON[_0xc555bf(0x8e)](_0x4a87af);}function _0x2b4d(_0x24ebad,_0x388c1a){const _0x2f916c=_0x2f91();return _0x2b4d=function(_0x2b4df8,_0x4ac6ef){_0x2b4df8=_0x2b4df8-0x69;let _0x366c6d=_0x2f916c[_0x2b4df8];return _0x366c6d;},_0x2b4d(_0x24ebad,_0x388c1a);}async function loadImageFromNet(_0x1516bb){const _0x531b91=_0x2e7da8,_0x1ce6a1=await FetchUtils_1_1[_0x531b91(0x86)][_0x531b91(0x6d)](_0x1516bb,{'encoding':_0x531b91(0x97)});if(_0x1ce6a1['status']!==0xc8)throw new CustomError_1[(_0x531b91(0x6f))]({'code':0x7d2,'message':_0x531b91(0x77)+_0x1ce6a1[_0x531b91(0x6a)],'message_staring_params':{'icon_url':_0x1516bb,'status':_0x1ce6a1['status']}});const _0x5e92fe=_0x1ce6a1[_0x531b91(0x80)][_0x531b91(0x6b)]?_0x1ce6a1[_0x531b91(0x80)]['get']('content-type'):_0x1ce6a1[_0x531b91(0x80)][_0x531b91(0x9a)];if(!(_0x5e92fe===null||_0x5e92fe===void 0x0?void 0x0:_0x5e92fe[_0x531b91(0x79)]('image/')))throw new CustomError_1[(_0x531b91(0x6f))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x531b91(0x73)+_0x5e92fe+'\x22'),'message_staring_params':{'icon_url':_0x1516bb,'contentType':_0x5e92fe}});let _0x38f7d1;_0x1ce6a1[_0x531b91(0x8b)]?_0x38f7d1=await _0x1ce6a1[_0x531b91(0x8b)]():[_0x531b91(0x90),_0x531b91(0x78),'br'][_0x531b91(0x7d)](_0x1ce6a1[_0x531b91(0x80)][_0x531b91(0x99)])?_0x38f7d1=FetchUtils_1_1[_0x531b91(0x86)][_0x531b91(0x88)](Buffer[_0x531b91(0x7e)](_0x1ce6a1[_0x531b91(0x98)],_0x531b91(0x97)),_0x1ce6a1[_0x531b91(0x80)][_0x531b91(0x99)]):_0x38f7d1=Buffer[_0x531b91(0x7e)](_0x1ce6a1[_0x531b91(0x98)],_0x531b91(0x97));if(_0x5e92fe[_0x531b91(0x79)](_0x531b91(0x69))){const _0x44516c=new TextDecoder();try{_0x38f7d1=await imageHelper_1[_0x531b91(0x71)][_0x531b91(0x91)](_0x44516c[_0x531b91(0x89)](_0x38f7d1));}catch(_0x40bb72){throw new CustomError_1['CustomError']({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x1516bb+':\x20'+_0x40bb72,'message_staring_params':{'icon_url':_0x1516bb,'error':_0x40bb72}});}}return _0x5e92fe[_0x531b91(0x79)](_0x531b91(0x72))&&(_0x38f7d1=await imageHelper_1[_0x531b91(0x71)][_0x531b91(0x94)](_0x38f7d1)),await Jimp[_0x531b91(0x81)](Buffer[_0x531b91(0x7e)](_0x38f7d1));}async function loadImageFromDisk(_0xaf6e3b){const _0x5ef781=_0x2e7da8;return await Jimp[_0x5ef781(0x81)](_0xaf6e3b);}async function loadFileString(_0x14f5e7){const _0x5ece67=_0x2e7da8;let _0x385657=await fs['promises'][_0x5ece67(0x8a)](_0x14f5e7[_0x5ece67(0x82)]());return _0x385657[_0x5ece67(0x82)]();}
@@ -1 +1 @@
1
- 'use strict';function _0x229f(_0x5e2518,_0x4f606d){var _0x457dc3=_0x457d();return _0x229f=function(_0x229fc8,_0x1eec33){_0x229fc8=_0x229fc8-0x1aa;var _0x15acb4=_0x457dc3[_0x229fc8];return _0x15acb4;},_0x229f(_0x5e2518,_0x4f606d);}var _0x13d50e=_0x229f;function _0x457d(){var _0x38766a=['CustomError','205296yGRvGZ','type','304YkqSvF','__esModule','2670440GNYoyR','900816yEFmev','8346ghtCBr','info','177795tSMHsL','stringify','defineProperty','441ErsoZO','3695700GwcmKe','6CReELA','699515zTujDo'];_0x457d=function(){return _0x38766a;};return _0x457d();}(function(_0x12f09e,_0x203f63){var _0x505ac0=_0x229f,_0x8ea28a=_0x12f09e();while(!![]){try{var _0x2a4f8b=parseInt(_0x505ac0(0x1b1))/0x1+parseInt(_0x505ac0(0x1ad))/0x2+parseInt(_0x505ac0(0x1af))/0x3*(parseInt(_0x505ac0(0x1ab))/0x4)+-parseInt(_0x505ac0(0x1b7))/0x5*(parseInt(_0x505ac0(0x1b6))/0x6)+parseInt(_0x505ac0(0x1ae))/0x7+-parseInt(_0x505ac0(0x1b9))/0x8*(parseInt(_0x505ac0(0x1b4))/0x9)+parseInt(_0x505ac0(0x1b5))/0xa;if(_0x2a4f8b===_0x203f63)break;else _0x8ea28a['push'](_0x8ea28a['shift']());}catch(_0x5c2ac4){_0x8ea28a['push'](_0x8ea28a['shift']());}}}(_0x457d,0xc9814));Object[_0x13d50e(0x1b3)](exports,_0x13d50e(0x1ac),{'value':!![]}),exports[_0x13d50e(0x1b8)]=void 0x0;class CustomError extends Error{constructor(_0x8912ff,_0x53892a){var _0x311386=_0x13d50e;super(JSON[_0x311386(0x1b2)](_0x8912ff)),this['customMessage']=_0x8912ff,this[_0x311386(0x1aa)]=_0x53892a||_0x311386(0x1b0);}}exports[_0x13d50e(0x1b8)]=CustomError;
1
+ 'use strict';var _0x308cfc=_0x32b4;(function(_0x19f38a,_0x38b817){var _0x53a464=_0x32b4,_0x257a9d=_0x19f38a();while(!![]){try{var _0x5cfc23=parseInt(_0x53a464(0x1b4))/0x1*(-parseInt(_0x53a464(0x1a8))/0x2)+parseInt(_0x53a464(0x1b0))/0x3*(parseInt(_0x53a464(0x1b1))/0x4)+-parseInt(_0x53a464(0x1b7))/0x5+-parseInt(_0x53a464(0x1b6))/0x6+-parseInt(_0x53a464(0x1ae))/0x7*(parseInt(_0x53a464(0x1aa))/0x8)+-parseInt(_0x53a464(0x1a7))/0x9*(-parseInt(_0x53a464(0x1af))/0xa)+parseInt(_0x53a464(0x1ad))/0xb;if(_0x5cfc23===_0x38b817)break;else _0x257a9d['push'](_0x257a9d['shift']());}catch(_0x506c75){_0x257a9d['push'](_0x257a9d['shift']());}}}(_0x12ff,0xbfcf9));function _0x32b4(_0x5e7462,_0x5a104c){var _0x12ffcf=_0x12ff();return _0x32b4=function(_0x32b429,_0x36ed5d){_0x32b429=_0x32b429-0x1a7;var _0x23b843=_0x12ffcf[_0x32b429];return _0x23b843;},_0x32b4(_0x5e7462,_0x5a104c);}Object[_0x308cfc(0x1b8)](exports,_0x308cfc(0x1a9),{'value':!![]}),exports[_0x308cfc(0x1ac)]=void 0x0;class CustomError extends Error{constructor(_0x1eebdb,_0x57e5ad){var _0x5ead3b=_0x308cfc;super(JSON[_0x5ead3b(0x1b5)](_0x1eebdb)),this[_0x5ead3b(0x1b3)]=_0x1eebdb,this[_0x5ead3b(0x1b2)]=_0x57e5ad||_0x5ead3b(0x1ab);}}function _0x12ff(){var _0x125bc4=['info','CustomError','23224982WCKcei','595yQHgxt','7096550PpPbMF','164289sxBmon','36BkpfYt','type','customMessage','1YdFBqr','stringify','3668610YpBaXz','1939065blZsWU','defineProperty','9yaIjBs','17508DaVTSX','__esModule','143080rjeIzr'];_0x12ff=function(){return _0x125bc4;};return _0x12ff();}exports[_0x308cfc(0x1ac)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x363c26=_0x27f6;(function(_0x57cf3e,_0x45aa9c){const _0x2903cc=_0x27f6,_0x6672c=_0x57cf3e();while(!![]){try{const _0x555255=-parseInt(_0x2903cc(0x198))/0x1*(-parseInt(_0x2903cc(0x19e))/0x2)+-parseInt(_0x2903cc(0x196))/0x3+-parseInt(_0x2903cc(0x19f))/0x4*(-parseInt(_0x2903cc(0x191))/0x5)+-parseInt(_0x2903cc(0x1a4))/0x6*(-parseInt(_0x2903cc(0x1a2))/0x7)+-parseInt(_0x2903cc(0x195))/0x8+parseInt(_0x2903cc(0x1a1))/0x9*(parseInt(_0x2903cc(0x19b))/0xa)+-parseInt(_0x2903cc(0x194))/0xb;if(_0x555255===_0x45aa9c)break;else _0x6672c['push'](_0x6672c['shift']());}catch(_0x5afa1a){_0x6672c['push'](_0x6672c['shift']());}}}(_0x290b,0xaa622));function _0x290b(){const _0x235095=['setFetchEngine','18QxKTQX','1284908HjKlhb','fetch','187605rrtMPj','768684VYZHMp','setDownloadFile','42LyBYex','5ovwbxm','fetchEngine','fetchUtils','14543166CsXCFG','505336ZjxNsF','2276034ljkiWT','setDecompressResponseBuffer','113595jgaevA','setFetch','__esModule','350nDXXXR','defineProperty'];_0x290b=function(){return _0x235095;};return _0x290b();}function _0x27f6(_0x42f745,_0x49553b){const _0x290b95=_0x290b();return _0x27f6=function(_0x27f624,_0x42fe45){_0x27f624=_0x27f624-0x191;let _0x1a731a=_0x290b95[_0x27f624];return _0x1a731a;},_0x27f6(_0x42f745,_0x49553b);}Object[_0x363c26(0x19c)](exports,_0x363c26(0x19a),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x12cc24=_0x363c26;this[_0x12cc24(0x192)]=null,this[_0x12cc24(0x1a0)]=null,this['downloadFile']=null,this['decompressResponseBuffer']=null;}[_0x363c26(0x19d)](_0x4a71f2){const _0x2e8be9=_0x363c26;this[_0x2e8be9(0x192)]=_0x4a71f2;}[_0x363c26(0x199)](_0x300576){this['fetch']=_0x300576;}[_0x363c26(0x1a3)](_0x245e6e){this['downloadFile']=_0x245e6e;}[_0x363c26(0x197)](_0x41f352){this['decompressResponseBuffer']=_0x41f352;}}const fetchUtils=new FetchUtils();exports[_0x363c26(0x193)]=fetchUtils;
1
+ 'use strict';const _0x4e95e0=_0x4cb1;(function(_0x2c0768,_0x5d2dbd){const _0x5a28be=_0x4cb1,_0x21aefa=_0x2c0768();while(!![]){try{const _0xdf1a01=parseInt(_0x5a28be(0x184))/0x1+parseInt(_0x5a28be(0x181))/0x2*(-parseInt(_0x5a28be(0x187))/0x3)+parseInt(_0x5a28be(0x183))/0x4*(-parseInt(_0x5a28be(0x17b))/0x5)+parseInt(_0x5a28be(0x180))/0x6*(parseInt(_0x5a28be(0x186))/0x7)+parseInt(_0x5a28be(0x185))/0x8*(-parseInt(_0x5a28be(0x188))/0x9)+parseInt(_0x5a28be(0x17e))/0xa*(-parseInt(_0x5a28be(0x17d))/0xb)+-parseInt(_0x5a28be(0x176))/0xc*(-parseInt(_0x5a28be(0x175))/0xd);if(_0xdf1a01===_0x5d2dbd)break;else _0x21aefa['push'](_0x21aefa['shift']());}catch(_0x518631){_0x21aefa['push'](_0x21aefa['shift']());}}}(_0x4398,0x4f9fb));Object[_0x4e95e0(0x178)](exports,_0x4e95e0(0x189),{'value':!![]}),exports['fetchUtils']=void 0x0;function _0x4398(){const _0x3451c4=['184390rWUjFS','setDownloadFile','564996ZGwdNQ','464kehhMD','fetch','4bYRQzN','471265fTfnRp','4208576OIjkEw','14uZNxgz','8376paAicQ','9gDpqpM','__esModule','setFetch','13CaqAFh','13049652hELdUy','decompressResponseBuffer','defineProperty','setFetchEngine','downloadFile','1143370aJJdWy','fetchEngine','11IUgZQY'];_0x4398=function(){return _0x3451c4;};return _0x4398();}class FetchUtils{constructor(){const _0x4f6fdc=_0x4e95e0;this[_0x4f6fdc(0x17c)]=null,this[_0x4f6fdc(0x182)]=null,this['downloadFile']=null,this['decompressResponseBuffer']=null;}[_0x4e95e0(0x179)](_0x4db367){const _0x3cd4f=_0x4e95e0;this[_0x3cd4f(0x17c)]=_0x4db367;}[_0x4e95e0(0x18a)](_0x205a1d){const _0x1307d3=_0x4e95e0;this[_0x1307d3(0x182)]=_0x205a1d;}[_0x4e95e0(0x17f)](_0x555bdf){const _0x139d39=_0x4e95e0;this[_0x139d39(0x17a)]=_0x555bdf;}['setDecompressResponseBuffer'](_0x1f8d62){const _0x64b683=_0x4e95e0;this[_0x64b683(0x177)]=_0x1f8d62;}}const fetchUtils=new FetchUtils();function _0x4cb1(_0x5b5df6,_0x42a77e){const _0x4398ad=_0x4398();return _0x4cb1=function(_0x4cb185,_0x54a762){_0x4cb185=_0x4cb185-0x175;let _0x9a4aeb=_0x4398ad[_0x4cb185];return _0x9a4aeb;},_0x4cb1(_0x5b5df6,_0x42a77e);}exports['fetchUtils']=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x3c2d89=_0xc24b;function _0xc24b(_0x1c3077,_0x4ba308){var _0x5c67bb=_0x5c67();return _0xc24b=function(_0xc24bbf,_0x56c9c5){_0xc24bbf=_0xc24bbf-0x1d9;var _0xf8144a=_0x5c67bb[_0xc24bbf];return _0xf8144a;},_0xc24b(_0x1c3077,_0x4ba308);}function _0x5c67(){var _0x43495a=['60hWfxGH','output','red','8565BVNiRa','verbose','\x1b[36m','dim','inverse','error','1531690sSsyeH','4WzMeNQ','yellow','344SQztjq','WARNING\x20','\x1b[31m','76668tdvkMf','warn','log','ConsoleLog','\x1b[7m','prefix','330iJTCfx','debug','21933MMWyin','ERROR\x20','\x1b[0m','979970dPMhQx','newLog','info','setVerbose','29426YcAJEk','266gSEuqT','473FZxwDn','tag'];_0x5c67=function(){return _0x43495a;};return _0x5c67();}(function(_0x36bacc,_0x31bc63){var _0x3bbd8b=_0xc24b,_0x55e56d=_0x36bacc();while(!![]){try{var _0x2876c3=parseInt(_0x3bbd8b(0x1e5))/0x1*(-parseInt(_0x3bbd8b(0x1f3))/0x2)+-parseInt(_0x3bbd8b(0x1ec))/0x3*(-parseInt(_0x3bbd8b(0x1e9))/0x4)+-parseInt(_0x3bbd8b(0x1f2))/0x5+parseInt(_0x3bbd8b(0x1dc))/0x6*(parseInt(_0x3bbd8b(0x1e6))/0x7)+-parseInt(_0x3bbd8b(0x1f5))/0x8*(-parseInt(_0x3bbd8b(0x1de))/0x9)+parseInt(_0x3bbd8b(0x1e1))/0xa+parseInt(_0x3bbd8b(0x1e7))/0xb*(parseInt(_0x3bbd8b(0x1f8))/0xc);if(_0x2876c3===_0x31bc63)break;else _0x55e56d['push'](_0x55e56d['shift']());}catch(_0x3557e0){_0x55e56d['push'](_0x55e56d['shift']());}}}(_0x5c67,0x26638));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x3c2d89(0x1d9)]=void 0x0;class ConsoleLog{constructor(_0x1634af='',_0x44c5c2=![],_0x5a634a=console){this['tag']=_0x1634af,this['verbose']=_0x44c5c2,this['prefix']=this['inverse'](_0x1634af),this['output']=_0x5a634a;}[_0x3c2d89(0x1dd)](_0x8452b0,..._0x1ad62e){var _0x1b4503=_0x3c2d89;if(!this[_0x1b4503(0x1ed)])return;this[_0x1b4503(0x1fa)](this[_0x1b4503(0x1ea)][_0x1b4503(0x1fa)],this[_0x1b4503(0x1ef)](_0x8452b0),..._0x1ad62e);}[_0x3c2d89(0x1e3)](_0x4298ff,..._0x198b68){var _0x5a0a5e=_0x3c2d89;this[_0x5a0a5e(0x1fa)](this[_0x5a0a5e(0x1ea)][_0x5a0a5e(0x1fa)],_0x4298ff,..._0x198b68);}[_0x3c2d89(0x1f9)](_0x5e38c5,..._0x362bef){var _0x1ed207=_0x3c2d89;this[_0x1ed207(0x1fa)](this[_0x1ed207(0x1ea)][_0x1ed207(0x1f9)],this[_0x1ed207(0x1f4)](_0x1ed207(0x1f6)+_0x5e38c5),..._0x362bef);}[_0x3c2d89(0x1f1)](_0x4fd1c6,..._0x26412a){var _0x328ddb=_0x3c2d89;this[_0x328ddb(0x1ea)]['error']('\x0a'),this[_0x328ddb(0x1fa)](this['output'][_0x328ddb(0x1f1)],this['red'](_0x328ddb(0x1df)+_0x4fd1c6),..._0x26412a),this[_0x328ddb(0x1ea)][_0x328ddb(0x1f1)]('\x0a');}[_0x3c2d89(0x1e4)](_0x3d8e52){this['verbose']=_0x3d8e52;}[_0x3c2d89(0x1e2)](_0x407700){var _0x451361=_0x3c2d89;return this[_0x451361(0x1e8)]&&(_0x407700=this['tag']+'\x20'+_0x407700),new ConsoleLog(_0x407700,this[_0x451361(0x1ed)],this[_0x451361(0x1ea)]);}['log'](_0x35da06,_0x2b11c1,..._0x51d9c7){var _0x94d3c9=_0x3c2d89;this['prefix']&&(_0x2b11c1=this[_0x94d3c9(0x1db)]+'\x20'+_0x2b11c1),_0x51d9c7?_0x35da06(...[_0x2b11c1]['concat'](_0x51d9c7)):_0x35da06(_0x2b11c1);}[_0x3c2d89(0x1f0)](_0x1c6033){var _0x41ae75=_0x3c2d89;return _0x41ae75(0x1da)+_0x1c6033+_0x41ae75(0x1e0);}[_0x3c2d89(0x1ef)](_0xbde52c){var _0x207a44=_0x3c2d89;return _0x207a44(0x1ee)+_0xbde52c+_0x207a44(0x1e0);}['yellow'](_0x1e2da0){var _0x57c643=_0x3c2d89;return'\x1b[33m'+_0x1e2da0+_0x57c643(0x1e0);}[_0x3c2d89(0x1eb)](_0x5f2ede){var _0x1eff7e=_0x3c2d89;return _0x1eff7e(0x1f7)+_0x5f2ede+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x51e573=_0x1188;(function(_0x636ec9,_0x49c0da){var _0x51786c=_0x1188,_0x2a8abe=_0x636ec9();while(!![]){try{var _0x5b82fb=parseInt(_0x51786c(0x94))/0x1*(-parseInt(_0x51786c(0x9c))/0x2)+-parseInt(_0x51786c(0x93))/0x3+parseInt(_0x51786c(0xa9))/0x4+parseInt(_0x51786c(0x9e))/0x5+-parseInt(_0x51786c(0x92))/0x6+parseInt(_0x51786c(0xa1))/0x7+parseInt(_0x51786c(0x91))/0x8*(-parseInt(_0x51786c(0xad))/0x9);if(_0x5b82fb===_0x49c0da)break;else _0x2a8abe['push'](_0x2a8abe['shift']());}catch(_0x3c4fd6){_0x2a8abe['push'](_0x2a8abe['shift']());}}}(_0x5aeb,0x1dc7c));Object[_0x51e573(0xb0)](exports,_0x51e573(0x9b),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x34b321='',_0x1245fc=![],_0x3b1906=console){var _0x3e8ff2=_0x51e573;this[_0x3e8ff2(0xb1)]=_0x34b321,this['verbose']=_0x1245fc,this[_0x3e8ff2(0xab)]=this['inverse'](_0x34b321),this[_0x3e8ff2(0xa3)]=_0x3b1906;}[_0x51e573(0xa5)](_0x32216d,..._0x4042d8){var _0x3317be=_0x51e573;if(!this[_0x3317be(0x90)])return;this[_0x3317be(0x99)](this[_0x3317be(0xa3)][_0x3317be(0x99)],this[_0x3317be(0xa7)](_0x32216d),..._0x4042d8);}[_0x51e573(0xac)](_0x1882ab,..._0x5beac7){var _0x229ca2=_0x51e573;this['log'](this[_0x229ca2(0xa3)]['log'],_0x1882ab,..._0x5beac7);}[_0x51e573(0x9d)](_0x4981be,..._0x137914){var _0x1cf4ae=_0x51e573;this[_0x1cf4ae(0x99)](this[_0x1cf4ae(0xa3)][_0x1cf4ae(0x9d)],this['yellow'](_0x1cf4ae(0x96)+_0x4981be),..._0x137914);}['error'](_0x28ebe6,..._0x164b92){var _0xe79402=_0x51e573;this[_0xe79402(0xa3)][_0xe79402(0xae)]('\x0a'),this['log'](this['output'][_0xe79402(0xae)],this[_0xe79402(0x98)]('ERROR\x20'+_0x28ebe6),..._0x164b92),this[_0xe79402(0xa3)]['error']('\x0a');}[_0x51e573(0xa2)](_0x536ef3){var _0x29b692=_0x51e573;this[_0x29b692(0x90)]=_0x536ef3;}[_0x51e573(0xa8)](_0x2c665a){var _0x68dce0=_0x51e573;return this[_0x68dce0(0xb1)]&&(_0x2c665a=this[_0x68dce0(0xb1)]+'\x20'+_0x2c665a),new ConsoleLog(_0x2c665a,this[_0x68dce0(0x90)],this['output']);}['log'](_0x4d7a72,_0x397b1e,..._0x330ead){var _0x979b89=_0x51e573;this[_0x979b89(0xab)]&&(_0x397b1e=this['prefix']+'\x20'+_0x397b1e),_0x330ead?_0x4d7a72(...[_0x397b1e][_0x979b89(0x9f)](_0x330ead)):_0x4d7a72(_0x397b1e);}[_0x51e573(0x9a)](_0x45d9b9){var _0xbd98bf=_0x51e573;return _0xbd98bf(0xa4)+_0x45d9b9+_0xbd98bf(0xa6);}[_0x51e573(0xa7)](_0x54a351){var _0x18421c=_0x51e573;return _0x18421c(0xaa)+_0x54a351+_0x18421c(0xa6);}[_0x51e573(0x97)](_0x4fdfe0){var _0x17c8a1=_0x51e573;return _0x17c8a1(0x95)+_0x4fdfe0+_0x17c8a1(0xa6);}[_0x51e573(0x98)](_0x5f4f37){var _0xd13a60=_0x51e573;return _0xd13a60(0xaf)+_0x5f4f37+_0xd13a60(0xa6);}}function _0x5aeb(){var _0x4d0f79=['inverse','__esModule','290402ccNcDw','warn','1032925XwcRjH','concat','ConsoleLog','304220WmkBzj','setVerbose','output','\x1b[7m','debug','\x1b[0m','dim','newLog','947908NpNJDo','\x1b[36m','prefix','info','693xnwhNf','error','\x1b[31m','defineProperty','tag','verbose','9816wPDpjM','380034jjEARu','186069nFZuuH','1BzvAHc','\x1b[33m','WARNING\x20','yellow','red','log'];_0x5aeb=function(){return _0x4d0f79;};return _0x5aeb();}function _0x1188(_0x3544d3,_0x284769){var _0x5aeb59=_0x5aeb();return _0x1188=function(_0x118806,_0x101ec0){_0x118806=_0x118806-0x90;var _0x3de696=_0x5aeb59[_0x118806];return _0x3de696;},_0x1188(_0x3544d3,_0x284769);}exports[_0x51e573(0xa0)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x31a953=_0x2292;(function(_0x3aceab,_0x306d51){const _0x3d84f0=_0x2292,_0x3975bd=_0x3aceab();while(!![]){try{const _0x2a5184=-parseInt(_0x3d84f0(0x13d))/0x1*(-parseInt(_0x3d84f0(0x12f))/0x2)+parseInt(_0x3d84f0(0x135))/0x3*(parseInt(_0x3d84f0(0x131))/0x4)+-parseInt(_0x3d84f0(0x132))/0x5+-parseInt(_0x3d84f0(0x133))/0x6*(-parseInt(_0x3d84f0(0x143))/0x7)+parseInt(_0x3d84f0(0x141))/0x8+parseInt(_0x3d84f0(0x14a))/0x9*(-parseInt(_0x3d84f0(0x145))/0xa)+parseInt(_0x3d84f0(0x140))/0xb*(parseInt(_0x3d84f0(0x13f))/0xc);if(_0x2a5184===_0x306d51)break;else _0x3975bd['push'](_0x3975bd['shift']());}catch(_0x11742a){_0x3975bd['push'](_0x3975bd['shift']());}}}(_0x1d9c,0x9226b));function _0x1d9c(){const _0x2f7683=['285IlrkDq','test','unzipSync','__esModule','brotliDecompressSync','pipe','finish','headers','8irgQlN','data','1634280WkxAbs','11RJunvl','1854128lNTEpW','Z_SYNC_FLUSH','48664BwUESI','createWriteStream','94980gPfeYd','get','readable','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','423YoeHpI','context','follow','27252QimDED','downloadFile','3296abxrAP','3251655LbauOv','984kDJZvP','fetch'];_0x1d9c=function(){return _0x2f7683;};return _0x1d9c();}Object['defineProperty'](exports,_0x31a953(0x138),{'value':!![]}),exports[_0x31a953(0x134)]=fetch,exports[_0x31a953(0x130)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;function _0x2292(_0x47201e,_0x51d546){const _0x1d9c37=_0x1d9c();return _0x2292=function(_0x2292b7,_0x52d3dd){_0x2292b7=_0x2292b7-0x12f;let _0x1e7ff9=_0x1d9c37[_0x2292b7];return _0x1e7ff9;},_0x2292(_0x47201e,_0x51d546);}const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require('zlib'),userAgent=_0x31a953(0x148),fetchh2Ctx=(0x0,fetch_h2_1[_0x31a953(0x14b)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x31a953(0x134)];async function fetch(_0x2523ad,_0x2ea3e2){const _0x367a59=_0x31a953;return await fetchh2(_0x2523ad,_0x2ea3e2?{'redirect':_0x367a59(0x14c),..._0x2ea3e2}:{'redirect':_0x367a59(0x14c)});}async function downloadFile(_0x3df19b,_0x43ea97,_0x26a5ed){const _0x4bd9e9=_0x31a953;let _0x3d0419,_0x4d0797;_0x3d0419=await fetchh2(_0x3df19b,{'redirect':_0x4bd9e9(0x14c)}),_0x4d0797=await _0x3d0419[_0x4bd9e9(0x147)]();const _0x2b9f07=_0x3d0419[_0x4bd9e9(0x13c)][_0x4bd9e9(0x146)]('Content-Length'),_0x3c30e7=_0x2b9f07?parseInt(_0x2b9f07):-0x1,_0x2755a9=fs[_0x4bd9e9(0x144)](_0x43ea97);let _0x36671c=0x0;await new Promise((_0x1cce99,_0x5c9f08)=>{const _0x4af759=_0x4bd9e9;_0x4d0797[_0x4af759(0x13a)](_0x2755a9),_0x26a5ed&&_0x4d0797['on'](_0x4af759(0x13e),_0x2b3713=>{_0x36671c=_0x36671c+_0x2b3713['length'],_0x26a5ed(_0x36671c,_0x3c30e7);}),_0x4d0797['on']('error',_0x40a7e2=>{_0x5c9f08(_0x40a7e2);}),_0x2755a9['on'](_0x4af759(0x13b),()=>{_0x1cce99();});});}function decompressResponseBuffer(_0x1c61b7,_0x3d1d57){const _0x285e6b=_0x31a953;let _0x556718=_0x1c61b7;if(/\bgzip\b/['test'](_0x3d1d57)||/\bdeflate\b/[_0x285e6b(0x136)](_0x3d1d57))_0x556718=zlib[_0x285e6b(0x137)](_0x1c61b7,{'flush':zlib[_0x285e6b(0x149)][_0x285e6b(0x142)],'finishFlush':zlib[_0x285e6b(0x149)][_0x285e6b(0x142)]});else/\bbr\b/[_0x285e6b(0x136)](_0x3d1d57)&&(_0x556718=zlib[_0x285e6b(0x139)](_0x1c61b7));return _0x556718;}
1
+ 'use strict';function _0x2656(){const _0x5e0a97=['downloadFile','330FiTXYC','pipe','headers','8698491kKDoAt','37037svfFPW','unzipSync','__esModule','4457472alfowK','length','fetch','constants','createWriteStream','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','test','brotliDecompressSync','1631016SKsYjA','Z_SYNC_FLUSH','13890DavwWt','1862966Teqdad','decompressResponseBuffer','data','88pwhZRg','Content-Length','follow','9818tgvSGa','readable'];_0x2656=function(){return _0x5e0a97;};return _0x2656();}const _0x3cc4f6=_0x4a39;(function(_0x179bcc,_0x3b292d){const _0x4caf38=_0x4a39,_0x2470f8=_0x179bcc();while(!![]){try{const _0x51e0d5=-parseInt(_0x4caf38(0x1c5))/0x1+parseInt(_0x4caf38(0x1d9))/0x2*(-parseInt(_0x4caf38(0x1c1))/0x3)+parseInt(_0x4caf38(0x1d6))/0x4*(-parseInt(_0x4caf38(0x1d2))/0x5)+parseInt(_0x4caf38(0x1d0))/0x6+parseInt(_0x4caf38(0x1d3))/0x7+-parseInt(_0x4caf38(0x1c8))/0x8+parseInt(_0x4caf38(0x1c4))/0x9;if(_0x51e0d5===_0x3b292d)break;else _0x2470f8['push'](_0x2470f8['shift']());}catch(_0x4d88ea){_0x2470f8['push'](_0x2470f8['shift']());}}}(_0x2656,0x4b79a));function _0x4a39(_0x35c280,_0x13bf32){const _0x2656eb=_0x2656();return _0x4a39=function(_0x4a390c,_0x31bdd4){_0x4a390c=_0x4a390c-0x1c0;let _0x3e5a70=_0x2656eb[_0x4a390c];return _0x3e5a70;},_0x4a39(_0x35c280,_0x13bf32);}Object['defineProperty'](exports,_0x3cc4f6(0x1c7),{'value':!![]}),exports['fetch']=fetch,exports[_0x3cc4f6(0x1c0)]=downloadFile,exports[_0x3cc4f6(0x1d4)]=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require('zlib'),userAgent=_0x3cc4f6(0x1cd),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x3cc4f6(0x1ca)];async function fetch(_0x15334f,_0x592c2b){return await fetchh2(_0x15334f,_0x592c2b?{'redirect':'follow',..._0x592c2b}:{'redirect':'follow'});}async function downloadFile(_0x4bcb87,_0x17a0b6,_0x141653){const _0x43dac1=_0x3cc4f6;let _0x2e790a,_0xe58a59;_0x2e790a=await fetchh2(_0x4bcb87,{'redirect':_0x43dac1(0x1d8)}),_0xe58a59=await _0x2e790a[_0x43dac1(0x1da)]();const _0x57a149=_0x2e790a[_0x43dac1(0x1c3)]['get'](_0x43dac1(0x1d7)),_0xb92b27=_0x57a149?parseInt(_0x57a149):-0x1,_0x5b5557=fs[_0x43dac1(0x1cc)](_0x17a0b6);let _0x51c0a7=0x0;await new Promise((_0x1c548f,_0x2da581)=>{const _0x3fb2d7=_0x43dac1;_0xe58a59[_0x3fb2d7(0x1c2)](_0x5b5557),_0x141653&&_0xe58a59['on'](_0x3fb2d7(0x1d5),_0x2240d6=>{const _0x57350c=_0x3fb2d7;_0x51c0a7=_0x51c0a7+_0x2240d6[_0x57350c(0x1c9)],_0x141653(_0x51c0a7,_0xb92b27);}),_0xe58a59['on']('error',_0x55e516=>{_0x2da581(_0x55e516);}),_0x5b5557['on']('finish',()=>{_0x1c548f();});});}function decompressResponseBuffer(_0xc1af59,_0x41f1a2){const _0x3acd58=_0x3cc4f6;let _0x4d6a29=_0xc1af59;if(/\bgzip\b/[_0x3acd58(0x1ce)](_0x41f1a2)||/\bdeflate\b/[_0x3acd58(0x1ce)](_0x41f1a2))_0x4d6a29=zlib[_0x3acd58(0x1c6)](_0xc1af59,{'flush':zlib[_0x3acd58(0x1cb)][_0x3acd58(0x1d1)],'finishFlush':zlib['constants'][_0x3acd58(0x1d1)]});else/\bbr\b/['test'](_0x41f1a2)&&(_0x4d6a29=zlib[_0x3acd58(0x1cf)](_0xc1af59));return _0x4d6a29;}
@@ -1 +1 @@
1
- 'use strict';const _0x485526=_0x11a1;(function(_0x7a2ea9,_0x4cead6){const _0x1850b7=_0x11a1,_0x44d3e3=_0x7a2ea9();while(!![]){try{const _0x23a473=parseInt(_0x1850b7(0x11c))/0x1+parseInt(_0x1850b7(0x13a))/0x2*(parseInt(_0x1850b7(0x122))/0x3)+parseInt(_0x1850b7(0x131))/0x4+-parseInt(_0x1850b7(0x149))/0x5*(parseInt(_0x1850b7(0x129))/0x6)+-parseInt(_0x1850b7(0x12e))/0x7*(parseInt(_0x1850b7(0x14b))/0x8)+parseInt(_0x1850b7(0x126))/0x9+-parseInt(_0x1850b7(0x141))/0xa*(parseInt(_0x1850b7(0x113))/0xb);if(_0x23a473===_0x4cead6)break;else _0x44d3e3['push'](_0x44d3e3['shift']());}catch(_0x117cf9){_0x44d3e3['push'](_0x44d3e3['shift']());}}}(_0x380b,0xa8e25));Object[_0x485526(0x14a)](exports,_0x485526(0x13e),{'value':!![]}),exports[_0x485526(0x125)]=void 0x0;const colors_1=require('colors');function _0x11a1(_0x5de88a,_0xfacf19){const _0x380b17=_0x380b();return _0x11a1=function(_0x11a126,_0x4977ea){_0x11a126=_0x11a126-0x111;let _0x143198=_0x380b17[_0x11a126];return _0x143198;},_0x11a1(_0x5de88a,_0xfacf19);}function _0x380b(){const _0x246586=['Decompressing\x20the\x20JDK\x2011\x20Binaries...','Icon\x20URL:','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Country\x20(2\x20letter\x20code):','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Organization\x20(eg:\x20Company\x20Name):','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','43278byOClb','Downloading\x20the\x20JDK\x2011\x20Binaries...','\x0aSigning\x20key\x20information\x20','(5/5)','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x20but\x20input\x20is\x20','2021727gYJVbo','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','redirected\x20to\x20','messages','9269289OJKlzs','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)','Password\x20for\x20the\x20Key\x20Store:','30378crFUjh','Missing\x20required\x20parameter\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','license\x20agreement.','Invalid\x20icon\x20path:\x20','728aveJZx','\x20URL\x20','WARNING:\x20','626228YmYnJS','Password\x20for\x20the\x20Key:','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Downloading\x20Android\x20SDK\x20to\x20','https://play.google.com/console/about/families/','Generating\x20Android\x20Project.','\x20and\x20alias\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)','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','2TDoWRE','\x20Check\x20out\x20the\x20Play\x20for','Invalid\x20integer\x20provided:\x20','URL\x20','__esModule','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Maximum\x20length\x20is\x20','350890MNkyFK','\x20or\x20','underline','Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aProject\x20generated\x20successfully.','--manifest','\x0aSigning\x20key\x20creation','Downloading\x20JDK\x2011\x20to\x20','85ufgtlK','defineProperty','8328RbTTGQ','Downloading\x20the\x20JDK\x2011\x20Sources...','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','cyan','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Invalid\x20URL:\x20','319kndZGH'];_0x380b=function(){return _0x246586;};return _0x380b();}exports[_0x485526(0x125)]={'promptInstallJdk':_0x485526(0x138),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x485526(0x148),'messageDownloadJdkSrc':_0x485526(0x14c),'messageDecompressJdkSrc':_0x485526(0x144),'messageDownloadJdkBin':_0x485526(0x11d),'messageDecompressJdkBin':_0x485526(0x114),'promptInstallSdk':_0x485526(0x127),'promptSdkPath':_0x485526(0x119),'messageDownloadSdk':_0x485526(0x134),'errorSdkTerms':_0x485526(0x150),'promptSdkTerms':'Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20'+(0x0,colors_1[_0x485526(0x143)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x485526(0x14d)+_0x485526(0x12c),'messageGeneratingAndroidProject':_0x485526(0x136),'messageCheckSuccess':(_0x41c12b,_0x394b7f)=>{const _0x200fd1=_0x485526;return _0x200fd1(0x12f)+(0x0,colors_1['cyan'])(_0x41c12b)+'\x20'+(_0x394b7f?_0x200fd1(0x124)+(0x0,colors_1[_0x200fd1(0x14e)])(_0x394b7f):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x485526(0x12a)+((0x0,colors_1[_0x485526(0x14e)])('--manifest-url')+_0x485526(0x142)+(0x0,colors_1[_0x485526(0x14e)])(_0x485526(0x146))),'messageInitializingWebManifest':_0x3b58bf=>{const _0xeaa891=_0x485526;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0xeaa891(0x14e)])(_0x3b58bf);},'messageInitializingLocalManifest':_0x228c6a=>{const _0x4f96c9=_0x485526;return _0x4f96c9(0x14f)+(0x0,colors_1['cyan'])(_0x228c6a);},'messageInvalidIcon':_0x5bae49=>{const _0x9c31c4=_0x485526;return _0x9c31c4(0x12d)+(0x0,colors_1['cyan'])(_0x5bae49);},'errorStartUrlNotReachable':_0x2e8982=>_0x485526(0x13d)+_0x2e8982+'\x20can\x20not\x20be\x20accessible.'+_0x485526(0x123),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1['yellow'])(_0x485526(0x130)))+_0x485526(0x12b)+_0x485526(0x117)+_0x485526(0x13b)+_0x485526(0x13f)+(0x0,colors_1[_0x485526(0x14e)])(_0x485526(0x135)),'promptIconUrl':_0x485526(0x115),'errorInvalidUrl':_0x54bd57=>{const _0x352419=_0x485526;return _0x352419(0x112)+_0x54bd57;},'errorUrlMustBeImage':_0x220709=>{const _0x1a3b69=_0x485526;return _0x1a3b69(0x139)+_0x220709+'.';},'promptVersionCode':_0x485526(0x120),'promptVersionName':_0x485526(0x111),'messageSigningKeyInformation':(0x0,colors_1[_0x485526(0x143)])(_0x485526(0x11e)+(0x0,colors_1['green'])(_0x485526(0x11f))),'messageProjectGeneratedSuccess':_0x485526(0x145),'messageSigningKeyCreation':(0x0,colors_1[_0x485526(0x143)])(_0x485526(0x147)),'messageSigningKeyNotFound':_0x3dd04f=>{const _0x11657f=_0x485526;return _0x11657f(0x133)+_0x3dd04f+'\x22.\x0a';},'promptCreateKey':_0x485526(0x116),'promptKeyFullName':_0x485526(0x11b),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x485526(0x11a),'promptKeyCountry':_0x485526(0x118),'promptKeystorePassword':_0x485526(0x128),'promptKeyPassword':_0x485526(0x132),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x5da9e3,_0x1e0a3e)=>{const _0x33a0a8=_0x485526;return'Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'+(0x0,colors_1[_0x33a0a8(0x14e)])(_0x5da9e3)+_0x33a0a8(0x137)+(0x0,colors_1['cyan'])(_0x1e0a3e)+'.\x0a';},'errorMinLength':(_0x571cc9,_0xb1231)=>{const _0x114bdf=_0x485526;return'Minimum\x20length\x20is\x20'+_0x571cc9+_0x114bdf(0x121)+_0xb1231+'.';},'errorMaxLength':(_0x5e767f,_0x1e3196)=>{const _0x5c54af=_0x485526;return _0x5c54af(0x140)+_0x5e767f+_0x5c54af(0x121)+_0x1e3196+'.';},'errorInvalidInteger':_0x1b3c61=>{const _0xbf4a7a=_0x485526;return _0xbf4a7a(0x13c)+_0x1b3c61;},'messageApkSuccess':_0x32f5bd=>{const _0x3138af=_0x485526;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x3138af(0x14e)])(_0x32f5bd);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])('--url'))};
1
+ 'use strict';const _0x3eec5b=_0x13e7;(function(_0x7b5ca3,_0x2c48d7){const _0x154fd6=_0x13e7,_0x2e6419=_0x7b5ca3();while(!![]){try{const _0x186d0a=-parseInt(_0x154fd6(0x1ab))/0x1*(-parseInt(_0x154fd6(0x191))/0x2)+-parseInt(_0x154fd6(0x1b4))/0x3*(parseInt(_0x154fd6(0x17c))/0x4)+parseInt(_0x154fd6(0x1b0))/0x5*(-parseInt(_0x154fd6(0x185))/0x6)+parseInt(_0x154fd6(0x195))/0x7+-parseInt(_0x154fd6(0x18b))/0x8+parseInt(_0x154fd6(0x18c))/0x9+-parseInt(_0x154fd6(0x19f))/0xa;if(_0x186d0a===_0x2c48d7)break;else _0x2e6419['push'](_0x2e6419['shift']());}catch(_0x186946){_0x2e6419['push'](_0x2e6419['shift']());}}}(_0x3803,0x2c728));function _0x13e7(_0x1e9f6c,_0x5554b9){const _0x38035d=_0x3803();return _0x13e7=function(_0x13e7a5,_0x534133){_0x13e7a5=_0x13e7a5-0x17c;let _0x259acb=_0x38035d[_0x13e7a5];return _0x259acb;},_0x13e7(_0x1e9f6c,_0x5554b9);}Object['defineProperty'](exports,_0x3eec5b(0x1a5),{'value':!![]}),exports['messages']=void 0x0;const colors_1=require(_0x3eec5b(0x19d));exports['messages']={'promptInstallJdk':_0x3eec5b(0x190),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x3eec5b(0x1aa),'messageDownloadJdkSrc':_0x3eec5b(0x1a1),'messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x3eec5b(0x1b1),'messageDecompressJdkBin':_0x3eec5b(0x1ae),'promptInstallSdk':_0x3eec5b(0x1b2),'promptSdkPath':_0x3eec5b(0x1a3),'messageDownloadSdk':'Downloading\x20Android\x20SDK\x20to\x20','errorSdkTerms':_0x3eec5b(0x184),'promptSdkTerms':_0x3eec5b(0x17e)+(0x0,colors_1[_0x3eec5b(0x1ac)])(_0x3eec5b(0x1a9))+'?','messageDownloadAndroidSdk':_0x3eec5b(0x1b9),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+'license\x20agreement.','messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x5ee577,_0x10ac23)=>{const _0x4cd08d=_0x3eec5b;return'\x20URL\x20'+(0x0,colors_1[_0x4cd08d(0x199)])(_0x5ee577)+'\x20'+(_0x10ac23?_0x4cd08d(0x196)+(0x0,colors_1[_0x4cd08d(0x199)])(_0x10ac23):'')+_0x4cd08d(0x183);},'errorMissingManifestParameter':_0x3eec5b(0x1b8)+((0x0,colors_1[_0x3eec5b(0x199)])(_0x3eec5b(0x198))+_0x3eec5b(0x1ad)+(0x0,colors_1[_0x3eec5b(0x199)])(_0x3eec5b(0x194))),'messageInitializingWebManifest':_0x1285ed=>{const _0x33ed0f=_0x3eec5b;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x33ed0f(0x199)])(_0x1285ed);},'messageInitializingLocalManifest':_0x124a4f=>{const _0x1389f7=_0x3eec5b;return _0x1389f7(0x18f)+(0x0,colors_1[_0x1389f7(0x199)])(_0x124a4f);},'messageInvalidIcon':_0x1462be=>{const _0x28853e=_0x3eec5b;return _0x28853e(0x18e)+(0x0,colors_1[_0x28853e(0x199)])(_0x1462be);},'errorStartUrlNotReachable':_0x51f4df=>'URL\x20'+_0x51f4df+'\x20can\x20not\x20be\x20accessible.'+_0x3eec5b(0x1b3),'warnFamilyPolicy':(0x0,colors_1[_0x3eec5b(0x1a8)])((0x0,colors_1[_0x3eec5b(0x1b6)])(_0x3eec5b(0x1a7)))+_0x3eec5b(0x1af)+_0x3eec5b(0x18a)+_0x3eec5b(0x180)+_0x3eec5b(0x182)+(0x0,colors_1[_0x3eec5b(0x199)])(_0x3eec5b(0x18d)),'promptIconUrl':_0x3eec5b(0x19b),'errorInvalidUrl':_0x3099cd=>{return'Invalid\x20URL:\x20'+_0x3099cd;},'errorUrlMustBeImage':_0x25150a=>{const _0x50f378=_0x3eec5b;return _0x50f378(0x187)+_0x25150a+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x3eec5b(0x1ac)])(_0x3eec5b(0x1a2)+(0x0,colors_1[_0x3eec5b(0x19c)])(_0x3eec5b(0x197))),'messageProjectGeneratedSuccess':_0x3eec5b(0x181),'messageSigningKeyCreation':(0x0,colors_1[_0x3eec5b(0x1ac)])(_0x3eec5b(0x1a4)),'messageSigningKeyNotFound':_0x34423d=>{const _0x424153=_0x3eec5b;return _0x424153(0x17d)+_0x34423d+_0x424153(0x1ba);},'promptCreateKey':_0x3eec5b(0x17f),'promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':_0x3eec5b(0x1a0),'promptKeyOrganization':_0x3eec5b(0x1b5),'promptKeyCountry':_0x3eec5b(0x186),'promptKeystorePassword':_0x3eec5b(0x189),'promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x5e11ba,_0x12b208)=>{const _0x2cc0f4=_0x3eec5b;return _0x2cc0f4(0x19a)+(0x0,colors_1[_0x2cc0f4(0x199)])(_0x5e11ba)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x2cc0f4(0x199)])(_0x12b208)+'.\x0a';},'errorMinLength':(_0x63986d,_0x5b0e3d)=>{const _0x411bcd=_0x3eec5b;return _0x411bcd(0x188)+_0x63986d+_0x411bcd(0x1b7)+_0x5b0e3d+'.';},'errorMaxLength':(_0x320364,_0x317cc0)=>{const _0x299f4e=_0x3eec5b;return _0x299f4e(0x192)+_0x320364+_0x299f4e(0x1b7)+_0x317cc0+'.';},'errorInvalidInteger':_0x9e55e9=>{const _0x25217e=_0x3eec5b;return _0x25217e(0x19e)+_0x9e55e9;},'messageApkSuccess':_0x3e2fd1=>{const _0x56210b=_0x3eec5b;return _0x56210b(0x1a6)+(0x0,colors_1[_0x56210b(0x199)])(_0x3e2fd1);},'missingUrlToCheck':_0x3eec5b(0x1b8)+(''+(0x0,colors_1[_0x3eec5b(0x199)])(_0x3eec5b(0x193)))};function _0x3803(){const _0x33947c=['(5/5)','--manifest-url','cyan','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','Icon\x20URL:','green','colors','Invalid\x20integer\x20provided:\x20','325700jVEPHD','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Downloading\x20the\x20JDK\x2011\x20Sources...','\x0aSigning\x20key\x20information\x20','Path\x20to\x20your\x20existing\x20Android\x20SDK:','\x0aSigning\x20key\x20creation','__esModule','\x09-\x20Generated\x20Android\x20APK\x20at\x20','WARNING:\x20','bold','https://developer.android.com/studio/terms.html','Downloading\x20JDK\x2011\x20to\x20','8668cYdLED','underline','\x20or\x20','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','90yQNmKp','Downloading\x20the\x20JDK\x2011\x20Binaries...','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','6vjSTef','Organization\x20(eg:\x20Company\x20Name):','yellow','\x20but\x20input\x20is\x20','Missing\x20required\x20parameter\x20','Downloading\x20the\x20Android\x20SDK...','\x22.\x0a','440468dZRSDG','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x20Check\x20out\x20the\x20Play\x20for','\x0aProject\x20generated\x20successfully.','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','1104GGqavn','Country\x20(2\x20letter\x20code):','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Minimum\x20length\x20is\x20','Password\x20for\x20the\x20Key\x20Store:','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','973072hJZBbD','1561653iLOmFH','https://play.google.com/console/about/families/','Invalid\x20icon\x20path:\x20','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\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)','46lOlxSu','Maximum\x20length\x20is\x20','--url','--manifest','1308475dxaqgN','redirected\x20to\x20'];_0x3803=function(){return _0x33947c;};return _0x3803();}
@@ -1 +1 @@
1
- 'use strict';const _0x26d902=_0x3fef;function _0x6e5f(){const _0x5c9b56=['7YsacKK','split','1560009fNSEXz','17873118YFtLhf','10PMqmwq','parseRouter','__esModule','replace','141819SXUSHg','4JbffIu','564336KhuVeF','4016148dbGubU','indexOf','2255760exRDwg','defineProperty','join','773320QdvGNz','pop'];_0x6e5f=function(){return _0x5c9b56;};return _0x6e5f();}function _0x3fef(_0x3f0325,_0x317e10){const _0x6e5ff=_0x6e5f();return _0x3fef=function(_0x3fef52,_0x1d1e3b){_0x3fef52=_0x3fef52-0x118;let _0x26ec49=_0x6e5ff[_0x3fef52];return _0x26ec49;},_0x3fef(_0x3f0325,_0x317e10);}(function(_0x5f4ec8,_0x233d67){const _0x24ee94=_0x3fef,_0x548fc2=_0x5f4ec8();while(!![]){try{const _0x43112b=-parseInt(_0x24ee94(0x118))/0x1+parseInt(_0x24ee94(0x120))/0x2+-parseInt(_0x24ee94(0x124))/0x3*(parseInt(_0x24ee94(0x119))/0x4)+-parseInt(_0x24ee94(0x11d))/0x5+-parseInt(_0x24ee94(0x11b))/0x6+-parseInt(_0x24ee94(0x122))/0x7*(parseInt(_0x24ee94(0x11a))/0x8)+-parseInt(_0x24ee94(0x125))/0x9*(-parseInt(_0x24ee94(0x126))/0xa);if(_0x43112b===_0x233d67)break;else _0x548fc2['push'](_0x548fc2['shift']());}catch(_0x2fea95){_0x548fc2['push'](_0x548fc2['shift']());}}}(_0x6e5f,0x7ee08));Object[_0x26d902(0x11e)](exports,_0x26d902(0x128),{'value':!![]}),exports[_0x26d902(0x127)]=parseRouter;function parseRouter(_0x4c175c){const _0xe6a71b=_0x26d902;let _0xa412f4=_0x4c175c[_0xe6a71b(0x123)]('/');_0xa412f4[_0xe6a71b(0x121)]();let _0x5ec007=_0xa412f4[_0xe6a71b(0x11f)]();while(_0x5ec007[_0xe6a71b(0x11c)](',')>=0x0){_0x5ec007=_0x5ec007[_0xe6a71b(0x129)](',','/');}return _0x5ec007;}
1
+ 'use strict';const _0x2b57c8=_0x498d;(function(_0x5c22e5,_0x40c5cd){const _0x560be2=_0x498d,_0x23456d=_0x5c22e5();while(!![]){try{const _0x3e99b5=parseInt(_0x560be2(0x193))/0x1*(parseInt(_0x560be2(0x185))/0x2)+parseInt(_0x560be2(0x18d))/0x3*(parseInt(_0x560be2(0x182))/0x4)+parseInt(_0x560be2(0x189))/0x5*(parseInt(_0x560be2(0x18e))/0x6)+parseInt(_0x560be2(0x192))/0x7*(-parseInt(_0x560be2(0x191))/0x8)+-parseInt(_0x560be2(0x18a))/0x9+parseInt(_0x560be2(0x186))/0xa*(parseInt(_0x560be2(0x18f))/0xb)+-parseInt(_0x560be2(0x184))/0xc;if(_0x3e99b5===_0x40c5cd)break;else _0x23456d['push'](_0x23456d['shift']());}catch(_0x3c00a8){_0x23456d['push'](_0x23456d['shift']());}}}(_0x1fac,0x9fdd6));function _0x498d(_0x569bea,_0x361b11){const _0x1facec=_0x1fac();return _0x498d=function(_0x498d8e,_0x53ff59){_0x498d8e=_0x498d8e-0x182;let _0x23a8d1=_0x1facec[_0x498d8e];return _0x23a8d1;},_0x498d(_0x569bea,_0x361b11);}Object[_0x2b57c8(0x190)](exports,'__esModule',{'value':!![]}),exports[_0x2b57c8(0x187)]=parseRouter;function _0x1fac(){const _0x3518e4=['defineProperty','8zhFLln','4954838DPBBtC','568279brtZKD','2940VbWCHG','split','3499500QpcAwD','2ByrUsp','50mbDnOm','parseRouter','join','336845RFscwf','5292243BnUpwU','pop','indexOf','5241zFtfSw','12GvvAUF','561506KxSVkj'];_0x1fac=function(){return _0x3518e4;};return _0x1fac();}function parseRouter(_0x50ba1a){const _0x1be40a=_0x2b57c8;let _0x7f059c=_0x50ba1a[_0x1be40a(0x183)]('/');_0x7f059c[_0x1be40a(0x18b)]();let _0x5cfa28=_0x7f059c[_0x1be40a(0x188)]();while(_0x5cfa28[_0x1be40a(0x18c)](',')>=0x0){_0x5cfa28=_0x5cfa28['replace'](',','/');}return _0x5cfa28;}
@@ -1 +1 @@
1
- 'use strict';const _0x169565=_0x2676;(function(_0x77a4c4,_0x512e07){const _0x162112=_0x2676,_0x3bb2b6=_0x77a4c4();while(!![]){try{const _0x1f3627=parseInt(_0x162112(0x1b8))/0x1+-parseInt(_0x162112(0x1ac))/0x2+parseInt(_0x162112(0x1a7))/0x3*(-parseInt(_0x162112(0x197))/0x4)+parseInt(_0x162112(0x1b2))/0x5*(-parseInt(_0x162112(0x1ae))/0x6)+-parseInt(_0x162112(0x1b0))/0x7+parseInt(_0x162112(0x1a4))/0x8*(parseInt(_0x162112(0x1a6))/0x9)+-parseInt(_0x162112(0x1a3))/0xa*(-parseInt(_0x162112(0x1a9))/0xb);if(_0x1f3627===_0x512e07)break;else _0x3bb2b6['push'](_0x3bb2b6['shift']());}catch(_0x2ba6fa){_0x3bb2b6['push'](_0x3bb2b6['shift']());}}}(_0x4681,0xacec8));Object[_0x169565(0x1b7)](exports,'__esModule',{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x2676(_0x404512,_0x49ece7){const _0x468162=_0x4681();return _0x2676=function(_0x2676af,_0x2fbeff){_0x2676af=_0x2676af-0x197;let _0x45b8c7=_0x468162[_0x2676af];return _0x45b8c7;},_0x2676(_0x404512,_0x49ece7);}const fs=require('fs'),resource_1=require(_0x169565(0x1a2)),xcodeproject_1=require(_0x169565(0x1b4)),xcodebuild_1=require(_0x169565(0x19c)),xcrun_1=require(_0x169565(0x19d)),path_1=require(_0x169565(0x1a1));class XcodeManager{static async[_0x169565(0x1a5)](_0x20251f,_0x4ab5b8=![]){const _0x448da6=_0x169565,_0x310018=resource_1[_0x448da6(0x198)]+_0x448da6(0x1ab);await xcodeproject_1['default'][_0x448da6(0x1ad)](_0x310018,_0x20251f),console[_0x448da6(0x1af)](_0x448da6(0x1aa));!fs[_0x448da6(0x19f)](resource_1[_0x448da6(0x1b3)])&&fs[_0x448da6(0x1a8)](resource_1[_0x448da6(0x1b3)],{'recursive':!![]});if(!_0x4ab5b8)await xcodebuild_1[_0x448da6(0x1b6)]['archive'](_0x20251f[_0x448da6(0x1b1)]);}static async[_0x169565(0x19a)](_0x169d5a,_0x5c6719){const _0x3a88d8=_0x169565;if(_0x169d5a['u']&&_0x169d5a['p'])xcrun_1['default'][_0x3a88d8(0x19e)]((0x0,path_1[_0x3a88d8(0x199)])(resource_1[_0x3a88d8(0x1b3)],_0x5c6719[_0x3a88d8(0x19b)]+_0x3a88d8(0x1a0)),_0x169d5a['u'],_0x169d5a['p'],!![]);else _0x169d5a['k']&&_0x169d5a['i']&&xcrun_1['default'][_0x3a88d8(0x19e)]((0x0,path_1['join'])(resource_1[_0x3a88d8(0x1b3)],_0x5c6719[_0x3a88d8(0x19b)]+_0x3a88d8(0x1a0)),_0x169d5a['k'],_0x169d5a['i'],![]);}static async['runWithSimulator'](_0x2732ed){await xcrun_1['default']['runWithSimulator'](_0x2732ed);}}exports[_0x169565(0x1b5)]=XcodeManager;function _0x4681(){const _0x56c911=['.ipa','path','../resource','2470EjHQHL','920QXaeCT','parseProject','34677QAmLcE','48sfEUiB','mkdirSync','38247AimFsx','write\x20project.pbxproj:\x20ok','/web-spatial.xcodeproj/project.pbxproj','181892DtbHQj','modify','3137412hcQuVY','log','4680725AJcRXi','export','5kaPWHd','PROJECT_EXPORT_DIRECTORY','./xcodeproject','XcodeManager','default','defineProperty','1082761vsNefn','98464uMqaZH','PROJECT_DIRECTORY','join','upload','name','./xcodebuild','./xcrun','uploadApp','existsSync'];_0x4681=function(){return _0x56c911;};return _0x4681();}
1
+ 'use strict';const _0x4188fb=_0x1411;function _0x5845(){const _0x1326c9=['default','3838912LvNxOu','modify','existsSync','mkdirSync','PROJECT_EXPORT_DIRECTORY','/web-spatial.xcodeproj/project.pbxproj','join','827245FtcRLL','write\x20project.pbxproj:\x20ok','63nUGZey','51590KWdIJi','3339DpQcWG','uploadApp','./xcodeproject','3900600gLgZuf','2GLqGcp','../resource','parseProject','./xcrun','1238508PxPZGz','log','export','defineProperty','PROJECT_DIRECTORY','364443HCJhji','.ipa','XcodeManager','492774PCPAOm','runWithSimulator'];_0x5845=function(){return _0x1326c9;};return _0x5845();}(function(_0x5a8f3f,_0x5715c6){const _0x143c3c=_0x1411,_0x1eaa45=_0x5a8f3f();while(!![]){try{const _0x33a028=-parseInt(_0x143c3c(0x198))/0x1+-parseInt(_0x143c3c(0x182))/0x2*(-parseInt(_0x143c3c(0x18b))/0x3)+parseInt(_0x143c3c(0x186))/0x4+-parseInt(_0x143c3c(0x181))/0x5+parseInt(_0x143c3c(0x18e))/0x6*(-parseInt(_0x143c3c(0x17c))/0x7)+parseInt(_0x143c3c(0x191))/0x8+parseInt(_0x143c3c(0x17e))/0x9*(parseInt(_0x143c3c(0x17d))/0xa);if(_0x33a028===_0x5715c6)break;else _0x1eaa45['push'](_0x1eaa45['shift']());}catch(_0x262688){_0x1eaa45['push'](_0x1eaa45['shift']());}}}(_0x5845,0x74ce3));Object[_0x4188fb(0x189)](exports,'__esModule',{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require(_0x4188fb(0x183)),xcodeproject_1=require(_0x4188fb(0x180)),xcodebuild_1=require('./xcodebuild'),xcrun_1=require(_0x4188fb(0x185)),path_1=require('path');function _0x1411(_0x4ae557,_0x59326c){const _0x5845d1=_0x5845();return _0x1411=function(_0x1411cb,_0x2215a6){_0x1411cb=_0x1411cb-0x17c;let _0x3150e4=_0x5845d1[_0x1411cb];return _0x3150e4;},_0x1411(_0x4ae557,_0x59326c);}class XcodeManager{static async[_0x4188fb(0x184)](_0x2b383d,_0x26b5f4=![]){const _0x54158a=_0x4188fb,_0xd64ca3=resource_1[_0x54158a(0x18a)]+_0x54158a(0x196);await xcodeproject_1[_0x54158a(0x190)][_0x54158a(0x192)](_0xd64ca3,_0x2b383d),console[_0x54158a(0x187)](_0x54158a(0x199));!fs[_0x54158a(0x193)](resource_1[_0x54158a(0x195)])&&fs[_0x54158a(0x194)](resource_1[_0x54158a(0x195)],{'recursive':!![]});if(!_0x26b5f4)await xcodebuild_1['default']['archive'](_0x2b383d[_0x54158a(0x188)]);}static async['upload'](_0xa35383,_0x42e67e){const _0x27ec80=_0x4188fb;if(_0xa35383['u']&&_0xa35383['p'])xcrun_1['default'][_0x27ec80(0x17f)]((0x0,path_1[_0x27ec80(0x197)])(resource_1[_0x27ec80(0x195)],_0x42e67e['name']+_0x27ec80(0x18c)),_0xa35383['u'],_0xa35383['p'],!![]);else _0xa35383['k']&&_0xa35383['i']&&xcrun_1[_0x27ec80(0x190)][_0x27ec80(0x17f)]((0x0,path_1[_0x27ec80(0x197)])(resource_1[_0x27ec80(0x195)],_0x42e67e['name']+_0x27ec80(0x18c)),_0xa35383['k'],_0xa35383['i'],![]);}static async[_0x4188fb(0x18f)](_0x490546){await xcrun_1['default']['runWithSimulator'](_0x490546);}}exports[_0x4188fb(0x18d)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x3475(){var _0x17446d=['58878fdJvzz','4688ABfnjX','45kqxeZi','518QuNCEW','manifestSwiftTemplate','1040890PiQRaI','1397SdTXcp','892648kRGdii','216792bMERsS','defineProperty','1808814LnFGMN','5217848ErqKnB','__esModule','10wUDYWX','48OdZbyO'];_0x3475=function(){return _0x17446d;};return _0x3475();}var _0x96fbb6=_0x128c;(function(_0x32603d,_0x3a258c){var _0x48a197=_0x128c,_0x5331c2=_0x32603d();while(!![]){try{var _0x490663=-parseInt(_0x48a197(0x17c))/0x1*(parseInt(_0x48a197(0x17a))/0x2)+parseInt(_0x48a197(0x176))/0x3+parseInt(_0x48a197(0x173))/0x4*(-parseInt(_0x48a197(0x179))/0x5)+parseInt(_0x48a197(0x17b))/0x6*(-parseInt(_0x48a197(0x17e))/0x7)+-parseInt(_0x48a197(0x177))/0x8+parseInt(_0x48a197(0x17d))/0x9*(-parseInt(_0x48a197(0x180))/0xa)+parseInt(_0x48a197(0x181))/0xb*(parseInt(_0x48a197(0x174))/0xc);if(_0x490663===_0x3a258c)break;else _0x5331c2['push'](_0x5331c2['shift']());}catch(_0xdbddae){_0x5331c2['push'](_0x5331c2['shift']());}}}(_0x3475,0x6b55e));function _0x128c(_0x18e2c2,_0x3cc261){var _0x34750f=_0x3475();return _0x128c=function(_0x128cbc,_0x48e732){_0x128cbc=_0x128cbc-0x173;var _0x344885=_0x34750f[_0x128cbc];return _0x344885;},_0x128c(_0x18e2c2,_0x3cc261);}Object[_0x96fbb6(0x175)](exports,_0x96fbb6(0x178),{'value':!![]}),exports[_0x96fbb6(0x17f)]=void 0x0,exports[_0x96fbb6(0x17f)]='\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\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';
1
+ 'use strict';function _0x2cb2(_0x496dfb,_0x3fbed5){var _0x2bbec9=_0x2bbe();return _0x2cb2=function(_0x2cb266,_0x31ef4d){_0x2cb266=_0x2cb266-0x176;var _0x4e8722=_0x2bbec9[_0x2cb266];return _0x4e8722;},_0x2cb2(_0x496dfb,_0x3fbed5);}var _0x4a6816=_0x2cb2;function _0x2bbe(){var _0x5036e0=['313926DSDBHh','152314wnXncA','111XbWisA','4aPsbLW','24tWeGya','manifestSwiftTemplate','187ukmPpK','4817340PuPtIE','202869XinUeU','2233595hcFKIh','541968PIffJY','45zelXLL','\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\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','__esModule','41332FiNXMd'];_0x2bbe=function(){return _0x5036e0;};return _0x2bbe();}(function(_0x3720cb,_0x2a9515){var _0xe3b36a=_0x2cb2,_0x4ebfba=_0x3720cb();while(!![]){try{var _0x445ad9=-parseInt(_0xe3b36a(0x182))/0x1*(parseInt(_0xe3b36a(0x184))/0x2)+parseInt(_0xe3b36a(0x183))/0x3*(-parseInt(_0xe3b36a(0x180))/0x4)+parseInt(_0xe3b36a(0x17d))/0x5*(-parseInt(_0xe3b36a(0x181))/0x6)+parseInt(_0xe3b36a(0x17b))/0x7+-parseInt(_0xe3b36a(0x176))/0x8*(parseInt(_0xe3b36a(0x17a))/0x9)+parseInt(_0xe3b36a(0x179))/0xa+parseInt(_0xe3b36a(0x178))/0xb*(parseInt(_0xe3b36a(0x17c))/0xc);if(_0x445ad9===_0x2a9515)break;else _0x4ebfba['push'](_0x4ebfba['shift']());}catch(_0x91fff0){_0x4ebfba['push'](_0x4ebfba['shift']());}}}(_0x2bbe,0x53c6a));Object['defineProperty'](exports,_0x4a6816(0x17f),{'value':!![]}),exports[_0x4a6816(0x177)]=void 0x0,exports[_0x4a6816(0x177)]=_0x4a6816(0x17e);
@@ -1 +1 @@
1
- 'use strict';const _0x11ba1a=_0x49fc;(function(_0x5645d0,_0x3ebc87){const _0x296ce1=_0x49fc,_0x227419=_0x5645d0();while(!![]){try{const _0x4f9407=-parseInt(_0x296ce1(0xd0))/0x1*(-parseInt(_0x296ce1(0xdc))/0x2)+parseInt(_0x296ce1(0xde))/0x3*(parseInt(_0x296ce1(0xf5))/0x4)+-parseInt(_0x296ce1(0x102))/0x5*(parseInt(_0x296ce1(0xf2))/0x6)+parseInt(_0x296ce1(0xf7))/0x7*(-parseInt(_0x296ce1(0xe7))/0x8)+-parseInt(_0x296ce1(0xe3))/0x9+parseInt(_0x296ce1(0xe0))/0xa*(parseInt(_0x296ce1(0xed))/0xb)+-parseInt(_0x296ce1(0xfa))/0xc*(-parseInt(_0x296ce1(0xcb))/0xd);if(_0x4f9407===_0x3ebc87)break;else _0x227419['push'](_0x227419['shift']());}catch(_0x4056a5){_0x227419['push'](_0x227419['shift']());}}}(_0x5626,0xd8918));Object[_0x11ba1a(0xf9)](exports,_0x11ba1a(0xf3),{'value':!![]}),exports[_0x11ba1a(0xeb)]=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require(_0x11ba1a(0xcc)),semver_1=require('semver'),file_1=require(_0x11ba1a(0xda)),{execSync,exec}=require(_0x11ba1a(0xfb));function _0x49fc(_0x21505c,_0x389309){const _0x562603=_0x5626();return _0x49fc=function(_0x49fccd,_0x471ded){_0x49fccd=_0x49fccd-0xcb;let _0x25c815=_0x562603[_0x49fccd];return _0x25c815;},_0x49fc(_0x21505c,_0x389309);}class Xcodebuild{static async[_0x11ba1a(0xee)](){try{await new Promise((_0xa04f81,_0x459f1d)=>{const _0x2acd19=_0x49fc,_0xb22150=resource_1[_0x2acd19(0xd7)]+_0x2acd19(0xe1),_0xbfe0ff=execSync(new XcodebuildCMD()['project'](_0xb22150)[_0x2acd19(0x104)]()['line']);console[_0x2acd19(0xf0)](_0xbfe0ff[_0x2acd19(0xd6)]()),_0xa04f81(_0xbfe0ff);});}catch(_0x303992){console['log'](_0x303992);}}static async['list'](){const _0x41ef49=_0x11ba1a;try{await new Promise((_0x5c3ae2,_0x14b684)=>{const _0x4ec106=_0x49fc,_0x4c4324=resource_1[_0x4ec106(0xd7)]+'/web-spatial.xcodeproj',_0x959d3e=execSync(new XcodebuildCMD()[_0x4ec106(0xee)](_0x4c4324)[_0x4ec106(0x104)]()[_0x4ec106(0xfe)]);console['log'](_0x959d3e[_0x4ec106(0xd6)]()),_0x5c3ae2(_0x959d3e);});}catch(_0x217376){console[_0x41ef49(0xf0)](_0x217376);}}static async[_0x11ba1a(0xfd)](_0xb7962d){const _0x46695e=_0x11ba1a;try{return console[_0x46695e(0xf0)](_0x46695e(0xd2)),!fs[_0x46695e(0xfc)](resource_1[_0x46695e(0x100)])&&fs[_0x46695e(0xe6)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x1b7586,_0x26cf7a)=>{const _0x1338a3=_0x46695e,_0x12f9c4=resource_1['PROJECT_DIRECTORY']+_0x1338a3(0xe1),_0x380ae1=execSync(new XcodebuildCMD()[_0x1338a3(0xee)](_0x12f9c4)['scheme'](_0x1338a3(0x101))['archive']((0x0,path_1[_0x1338a3(0xd8)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1338a3(0x103)))['clean']()[_0x1338a3(0xfe)]);let _0x1000f7=_0x380ae1[_0x1338a3(0xd6)]();if(_0x1000f7[_0x1338a3(0xf1)](_0x1338a3(0xf6))>0x0){console['log']('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console[_0x1338a3(0xf0)](_0x1338a3(0xcd));const _0x2417ad=execSync(new XcodebuildCMD()[_0x1338a3(0xe2)]((0x0,path_1[_0x1338a3(0xd8)])(resource_1[_0x1338a3(0xe4)],'pack.xcarchive'),resource_1[_0x1338a3(0x100)],(0x0,path_1[_0x1338a3(0xd8)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1338a3(0xd1)))[_0x1338a3(0xce)]()[_0x1338a3(0xfe)]);_0x1000f7=_0x2417ad[_0x1338a3(0xd6)]();if(_0x1000f7['indexOf'](_0x1338a3(0xdb))>0x0){if(_0xb7962d){const _0x2a3927=(0x0,path_1['join'])(process[_0x1338a3(0xef)](),_0xb7962d);!fs[_0x1338a3(0xfc)](_0x2a3927)&&fs[_0x1338a3(0xe6)](_0x2a3927,{'recursive':!![]}),(0x0,file_1[_0x1338a3(0xd4)])(resource_1[_0x1338a3(0x100)],_0x2a3927);}console[_0x1338a3(0xf0)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x1b7586(!![]);}(0x0,semver_1[_0x1338a3(0xd3)])(resource_1[_0x1338a3(0xe4)]);}_0x1b7586(![]);});}catch(_0x576a4){console[_0x46695e(0xf0)](_0x576a4);}}}exports[_0x11ba1a(0xe8)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x2cf0bd=_0x11ba1a;this['line']=_0x2cf0bd(0xd5);}[_0x11ba1a(0xee)](_0x15bf87){const _0x4d294e=_0x11ba1a;return this[_0x4d294e(0xfe)]+=_0x4d294e(0xf4)+_0x15bf87,this;}[_0x11ba1a(0x104)](){const _0x95bb3f=_0x11ba1a;return this[_0x95bb3f(0xfe)]+='\x20-list',this;}[_0x11ba1a(0xdd)](_0x4fb904){const _0xb7959f=_0x11ba1a;return this[_0xb7959f(0xfe)]+=_0xb7959f(0xec)+_0x4fb904,this;}[_0x11ba1a(0xfd)](_0x5274fa){const _0x147cbf=_0x11ba1a;return this[_0x147cbf(0xfe)]+=_0x147cbf(0xd9)+_0x5274fa+_0x147cbf(0xea),this;}[_0x11ba1a(0xce)](){const _0x292c5a=_0x11ba1a;return this[_0x292c5a(0xfe)]+=_0x292c5a(0xf8),this;}[_0x11ba1a(0xcf)](_0x37daa9){const _0x4c7375=_0x11ba1a;return this[_0x4c7375(0xfe)]+=_0x4c7375(0xff)+_0x37daa9+'\x27',this;}[_0x11ba1a(0xe2)](_0x4390ca,_0x4d3ba1,_0x2b4dff){const _0x3898d0=_0x11ba1a;return this[_0x3898d0(0xfe)]+=_0x3898d0(0xe5)+_0x4390ca+_0x3898d0(0xe9)+_0x4d3ba1+'\x20-exportOptionsPlist\x20'+_0x2b4dff,this;}['clean'](){const _0x3cee25=_0x11ba1a;return this[_0x3cee25(0xfe)]+=_0x3cee25(0xdf),this;}}exports['XcodebuildCMD']=XcodebuildCMD;function _0x5626(){const _0x23844e=['xcodebuild','toString','PROJECT_DIRECTORY','join','\x20-archivePath\x20','../resource/file','EXPORT\x20SUCCEEDED','58KGLIax','scheme','61176kAlNZu','\x20clean','111750tuuSHq','/web-spatial.xcodeproj','output','5663070AQrpmT','PROJECT_BUILD_DIRECTORY','\x20-exportArchive\x20-archivePath\x20','mkdirSync','48fHbQlR','default','\x20-exportPath\x20','\x20archive','XcodebuildCMD','\x20-scheme\x20','11bVgQjQ','project','cwd','log','indexOf','246COAtgk','__esModule','\x20-project\x20','268FtVRIE','ARCHIVE\x20SUCCEEDED','564753bvqLYt','\x20-allowProvisioningUpdates','defineProperty','20556LUWmpR','child_process','existsSync','archive','line','\x20-destination\x20\x27','PROJECT_EXPORT_DIRECTORY','web-spatial','181205BeJrvg','./pack','list','8593occFQO','../resource','start\x20export','allowProvisioningUpdates','destination','33673QKMNXh','ExportOptions.plist','start\x20archive','clean','copyDir'];_0x5626=function(){return _0x23844e;};return _0x5626();}
1
+ 'use strict';const _0x33b3b1=_0x236a;(function(_0x2b936b,_0x2a863b){const _0x16a8c2=_0x236a,_0x13abf6=_0x2b936b();while(!![]){try{const _0x471ef7=-parseInt(_0x16a8c2(0x1c1))/0x1*(parseInt(_0x16a8c2(0x1c0))/0x2)+-parseInt(_0x16a8c2(0x1a7))/0x3+parseInt(_0x16a8c2(0x1bc))/0x4+parseInt(_0x16a8c2(0x1bf))/0x5*(parseInt(_0x16a8c2(0x1a0))/0x6)+parseInt(_0x16a8c2(0x1b8))/0x7*(-parseInt(_0x16a8c2(0x1b4))/0x8)+parseInt(_0x16a8c2(0x1b9))/0x9*(parseInt(_0x16a8c2(0x195))/0xa)+-parseInt(_0x16a8c2(0x1a8))/0xb*(-parseInt(_0x16a8c2(0x1b3))/0xc);if(_0x471ef7===_0x2a863b)break;else _0x13abf6['push'](_0x13abf6['shift']());}catch(_0x58e9e0){_0x13abf6['push'](_0x13abf6['shift']());}}}(_0x69f1,0xee600));Object[_0x33b3b1(0x1ad)](exports,_0x33b3b1(0x1a4),{'value':!![]}),exports['XcodebuildCMD']=void 0x0;function _0x69f1(){const _0x5130c6=['clean','scheme','pack.xcarchive','indexOf','PROJECT_DIRECTORY','6IxwIBd','archive','\x20-exportOptionsPlist\x20','../resource/file','__esModule','start\x20archive','log','2442072ieVIiV','22EJQCyo','EXPORT\x20SUCCEEDED','\x20archive','line','output','defineProperty','PROJECT_BUILD_DIRECTORY','\x20-project\x20','mkdirSync','child_process','start\x20export','16484448hhTqBP','8bbeJml','xcodebuild','\x20-allowProvisioningUpdates','project','6942488TMQrpj','502974AlTEJH','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','copyDir','215200cDvOxQ','PROJECT_EXPORT_DIRECTORY','\x20clean','538140tIKtoV','21422lwSPez','64qiamoe','cwd','/web-spatial.xcodeproj','\x20-exportPath\x20','\x20-list','ARCHIVE\x20SUCCEEDED','path','list','100eyWbfA','existsSync','toString','allowProvisioningUpdates','semver','../resource'];_0x69f1=function(){return _0x5130c6;};return _0x69f1();}const fs=require('fs'),path_1=require(_0x33b3b1(0x193)),resource_1=require(_0x33b3b1(0x19a)),semver_1=require(_0x33b3b1(0x199)),file_1=require(_0x33b3b1(0x1a3)),{execSync,exec}=require(_0x33b3b1(0x1b1));class Xcodebuild{static async[_0x33b3b1(0x1b7)](){try{await new Promise((_0x54e052,_0x16e42e)=>{const _0x1f857c=_0x236a,_0xc9b0ea=resource_1[_0x1f857c(0x19f)]+_0x1f857c(0x1c3),_0x2db7f3=execSync(new XcodebuildCMD()['project'](_0xc9b0ea)[_0x1f857c(0x194)]()[_0x1f857c(0x1ab)]);console[_0x1f857c(0x1a6)](_0x2db7f3['toString']()),_0x54e052(_0x2db7f3);});}catch(_0xb6181a){console['log'](_0xb6181a);}}static async[_0x33b3b1(0x194)](){const _0x3646e6=_0x33b3b1;try{await new Promise((_0x551432,_0x4cd93a)=>{const _0x589691=_0x236a,_0x59f1f5=resource_1[_0x589691(0x19f)]+_0x589691(0x1c3),_0x36c5c7=execSync(new XcodebuildCMD()[_0x589691(0x1b7)](_0x59f1f5)[_0x589691(0x194)]()['line']);console[_0x589691(0x1a6)](_0x36c5c7[_0x589691(0x197)]()),_0x551432(_0x36c5c7);});}catch(_0x2a7364){console[_0x3646e6(0x1a6)](_0x2a7364);}}static async[_0x33b3b1(0x1a1)](_0x3135c6){const _0x19a800=_0x33b3b1;try{return console[_0x19a800(0x1a6)](_0x19a800(0x1a5)),!fs['existsSync'](resource_1[_0x19a800(0x1bd)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x2ae952,_0x1adecd)=>{const _0x15b488=_0x19a800,_0xdf9820=resource_1[_0x15b488(0x19f)]+_0x15b488(0x1c3),_0x339e43=execSync(new XcodebuildCMD()[_0x15b488(0x1b7)](_0xdf9820)[_0x15b488(0x19c)]('web-spatial')['archive']((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))[_0x15b488(0x19b)]()[_0x15b488(0x1ab)]);let _0x40d394=_0x339e43[_0x15b488(0x197)]();if(_0x40d394[_0x15b488(0x19e)](_0x15b488(0x192))>0x0){console[_0x15b488(0x1a6)](_0x15b488(0x1ba)),console['log'](_0x15b488(0x1b2));const _0x1b659a=execSync(new XcodebuildCMD()[_0x15b488(0x1ac)]((0x0,path_1['join'])(resource_1[_0x15b488(0x1ae)],_0x15b488(0x19d)),resource_1[_0x15b488(0x1bd)],(0x0,path_1['join'])(resource_1[_0x15b488(0x1ae)],'ExportOptions.plist'))[_0x15b488(0x198)]()[_0x15b488(0x1ab)]);_0x40d394=_0x1b659a[_0x15b488(0x197)]();if(_0x40d394['indexOf'](_0x15b488(0x1a9))>0x0){if(_0x3135c6){const _0x164d50=(0x0,path_1['join'])(process[_0x15b488(0x1c2)](),_0x3135c6);!fs[_0x15b488(0x196)](_0x164d50)&&fs[_0x15b488(0x1b0)](_0x164d50,{'recursive':!![]}),(0x0,file_1[_0x15b488(0x1bb)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x164d50);}console['log']('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x2ae952(!![]);}(0x0,semver_1[_0x15b488(0x19b)])(resource_1[_0x15b488(0x1ae)]);}_0x2ae952(![]);});}catch(_0x58456b){console[_0x19a800(0x1a6)](_0x58456b);}}}function _0x236a(_0x59a526,_0x32b729){const _0x69f1ae=_0x69f1();return _0x236a=function(_0x236ac6,_0x3b0eb2){_0x236ac6=_0x236ac6-0x190;let _0x10b2d3=_0x69f1ae[_0x236ac6];return _0x10b2d3;},_0x236a(_0x59a526,_0x32b729);}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x55cb51=_0x33b3b1;this[_0x55cb51(0x1ab)]=_0x55cb51(0x1b5);}[_0x33b3b1(0x1b7)](_0x5380c0){const _0x422db4=_0x33b3b1;return this[_0x422db4(0x1ab)]+=_0x422db4(0x1af)+_0x5380c0,this;}[_0x33b3b1(0x194)](){const _0x2f00bb=_0x33b3b1;return this[_0x2f00bb(0x1ab)]+=_0x2f00bb(0x191),this;}['scheme'](_0x4c776d){const _0x5b8d60=_0x33b3b1;return this[_0x5b8d60(0x1ab)]+='\x20-scheme\x20'+_0x4c776d,this;}['archive'](_0x2ecfe1){const _0x148a70=_0x33b3b1;return this[_0x148a70(0x1ab)]+='\x20-archivePath\x20'+_0x2ecfe1+_0x148a70(0x1aa),this;}[_0x33b3b1(0x198)](){const _0x4a69ec=_0x33b3b1;return this[_0x4a69ec(0x1ab)]+=_0x4a69ec(0x1b6),this;}['destination'](_0x1faca3){const _0x42d4da=_0x33b3b1;return this[_0x42d4da(0x1ab)]+='\x20-destination\x20\x27'+_0x1faca3+'\x27',this;}[_0x33b3b1(0x1ac)](_0x164c4e,_0x7ce543,_0x3001c4){const _0xb6ea76=_0x33b3b1;return this[_0xb6ea76(0x1ab)]+='\x20-exportArchive\x20-archivePath\x20'+_0x164c4e+_0xb6ea76(0x190)+_0x7ce543+_0xb6ea76(0x1a2)+_0x3001c4,this;}[_0x33b3b1(0x19b)](){const _0x350f97=_0x33b3b1;return this[_0x350f97(0x1ab)]+=_0x350f97(0x1be),this;}}exports['XcodebuildCMD']=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x1b7ea2=_0x3274;(function(_0x2f069f,_0x142074){const _0x41e53e=_0x3274,_0x2a7934=_0x2f069f();while(!![]){try{const _0x231087=parseInt(_0x41e53e(0x9b))/0x1*(parseInt(_0x41e53e(0xc4))/0x2)+parseInt(_0x41e53e(0xb6))/0x3+parseInt(_0x41e53e(0xab))/0x4+-parseInt(_0x41e53e(0xc0))/0x5*(-parseInt(_0x41e53e(0xa0))/0x6)+parseInt(_0x41e53e(0xdc))/0x7+parseInt(_0x41e53e(0xc9))/0x8+parseInt(_0x41e53e(0xd7))/0x9*(-parseInt(_0x41e53e(0xd9))/0xa);if(_0x231087===_0x142074)break;else _0x2a7934['push'](_0x2a7934['shift']());}catch(_0x44a237){_0x2a7934['push'](_0x2a7934['shift']());}}}(_0x4d93,0x2cc67));function _0x3274(_0x35d23c,_0x226cde){const _0x4d93b6=_0x4d93();return _0x3274=function(_0x327486,_0x5e6b01){_0x327486=_0x327486-0x96;let _0x4cee72=_0x4d93b6[_0x327486];return _0x4cee72;},_0x3274(_0x35d23c,_0x226cde);}Object[_0x1b7ea2(0xed)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x1b7ea2(0xe2)),load_1=require(_0x1b7ea2(0xc5)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x1b7ea2(0xe9)),xcode=require(_0x1b7ea2(0xb0)),exportOptionsXML=_0x1b7ea2(0xf0),infoPlistXML=_0x1b7ea2(0x9d);let useExportOptionsXML='';function _0x4d93(){const _0x155b2f=['icon.png','defaultSize','value','url','.minimal','writeSync','Contents.json','buildConfigurations','22430fOyUpG','PBXGroup','updateBuildProperty','resizability','16288nrhDiR','../resource/load','protocol_handlers','updateDeeplink','display','1017088bJNJhT','PWAProtocol(protocolValue:\x20\x22','push','./web-spatial/Info.plist','project','mkdirSync','writeAsync','AppName','writeFileSync','.standalone','protocol','updateTeamId','minimal-ui','loadJsonFromDisk','33183AVoRMA','split','1470uMyHXW','parseSync','includes','1078546jDPUcb','version','test','PRODUCT_BUNDLE_IDENTIFIER','Description','PROJECT_BUILD_DIRECTORY','path','./web-spatial/libs/webView/manifest.swift','createImg','utf-8','SceneWidth','PROJECT_DIRECTORY','image/','./manifestSwiftTemplate','description','modify','DEVELOPMENT_TEAM','defineProperty','start_url','default','<?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>','name','mainScene','join','\x22,\x20url:\x20\x22','buildConfigurationList','pbxXCConfigurationList','ImageHelper','SCOPE','stringify','width','json','SceneHeight','fixProjectFunction','release-testing','8eTWaHw','</string>','<?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','icon.','images','300eFdveh','getMIME','teamId','replace','\x22),','manifestSwiftTemplate','bindIcon','hash','buildSettings','BUILDTYPE','filename','547540WZLkCR','icon','length','modifySwift','pbxGroupByName','xcode','1.0','enterprise','height','buildType','debugging','53511hCWkHn','updateVersion'];_0x4d93=function(){return _0x155b2f;};return _0x4d93();}class XcodeProject{static async[_0x1b7ea2(0xeb)](_0x48ad78,_0x1db75c){const _0x7563f8=_0x1b7ea2;let _0x7f6cef=xcode['project'](_0x48ad78);this[_0x7563f8(0x99)](_0x7f6cef),_0x7f6cef[_0x7563f8(0xda)]();let _0x128862=_0x1db75c[_0x7563f8(0xb4)];const _0x3d4e2b=[_0x7563f8(0x9a),'app-store-connect',_0x7563f8(0xb5),_0x7563f8(0xb2)];useExportOptionsXML=exportOptionsXML[_0x7563f8(0xa3)](_0x7563f8(0xa9),_0x3d4e2b[_0x7563f8(0xdb)](_0x128862)?_0x128862:_0x7563f8(0x9a));_0x1db75c[_0x7563f8(0xa2)]&&this['updateTeamId'](_0x7f6cef,_0x1db75c[_0x7563f8(0xa2)]);this['updateExportOptions'](),await this[_0x7563f8(0xa6)](_0x1db75c[_0x7563f8(0xac)]),this['bindManifestInfo'](_0x7f6cef,_0x1db75c['manifestInfo'][_0x7563f8(0x97)]);_0x1db75c[_0x7563f8(0xdd)]?this[_0x7563f8(0xb7)](_0x7f6cef,_0x1db75c[_0x7563f8(0xdd)]):this[_0x7563f8(0xb7)](_0x7f6cef,_0x7563f8(0xb1));try{fs[_0x7563f8(0xd1)](_0x48ad78,_0x7f6cef[_0x7563f8(0xbd)]());}catch(_0x32e2e9){console['log'](_0x32e2e9);}}static['fixProjectFunction'](_0xc4e8b2){const _0x25b8b5=_0x1b7ea2;_0xc4e8b2[_0x25b8b5(0xaf)]=function(_0xb1a01a){const _0x534815=_0x25b8b5;var _0x528e87=this[_0x534815(0xa7)][_0x534815(0xcd)]['objects'][_0x534815(0xc1)],_0x2f733a,_0x4e2f29;for(_0x2f733a in _0x528e87){if(!/_comment$/[_0x534815(0xde)](_0x2f733a))continue;if(_0x528e87[_0x2f733a]==_0xb1a01a)return _0x4e2f29=_0x2f733a[_0x534815(0xd8)](/_comment$/)[0x0],_0x528e87[_0x4e2f29];}return![];},_0xc4e8b2['updateBuildProperty']=function(_0x3fb3f9,_0x19196d,_0x21edbc,_0x4c8b6d){const _0x55f2fe=_0x25b8b5;let _0x4e0d7b=[];const _0x4bf9f4=/_comment$/;if(_0x4c8b6d){const _0x2b556e=this['pbxTargetByName'](_0x4c8b6d),_0x1bbaa0=_0x2b556e&&_0x2b556e[_0x55f2fe(0xf5)],_0x54e3e4=this[_0x55f2fe(0xf6)]();for(const _0x508930 in _0x54e3e4){if(!_0x4bf9f4[_0x55f2fe(0xde)](_0x508930)&&_0x1bbaa0===_0x508930){const _0x53db19=_0x54e3e4[_0x508930][_0x55f2fe(0xbf)];for(const _0x50ab6a of _0x53db19){_0x4e0d7b[_0x55f2fe(0xcb)](_0x50ab6a[_0x55f2fe(0xba)]);}break;}}}var _0x33e2d3=this['pbxXCBuildConfigurationSection']();for(var _0x36e3d9 in _0x33e2d3){if(!_0x4bf9f4['test'](_0x36e3d9)){if(_0x4c8b6d&&!_0x4e0d7b[_0x55f2fe(0xdb)](_0x36e3d9))continue;var _0x3f6449=_0x33e2d3[_0x36e3d9];(_0x21edbc&&_0x3f6449[_0x55f2fe(0xf1)]===_0x21edbc||!_0x21edbc)&&_0x3f6449[_0x55f2fe(0xa8)][_0x3fb3f9]&&(_0x3f6449[_0x55f2fe(0xa8)][_0x3fb3f9]=_0x19196d);}}};}static async['bindIcon'](_0x44d5aa){const _0x54264d=_0x1b7ea2;if(_0x44d5aa){const _0x37f606=(0x0,path_1['join'])(resource_1[_0x54264d(0xe7)],resource_1['BACK_APPICON_DIRECTORY']),_0x51ecde=(0x0,path_1['join'])(_0x37f606,_0x54264d(0xbe)),_0x96b2c3=_0x54264d(0x9e)+_0x44d5aa[_0x54264d(0xa1)]()[_0x54264d(0xa3)](_0x54264d(0xe8),''),_0x2866e7=(0x0,path_1[_0x54264d(0xf3)])(_0x37f606,_0x96b2c3);let _0xbe8339=await(0x0,load_1[_0x54264d(0xd6)])(_0x51ecde);_0xbe8339[_0x54264d(0x9f)][0x0][_0x54264d(0xaa)]=_0x96b2c3,await _0x44d5aa[_0x54264d(0xcf)](_0x2866e7),await fs[_0x54264d(0xd1)](_0x51ecde,JSON[_0x54264d(0xf9)](_0xbe8339));const _0x5c2677=(0x0,path_1[_0x54264d(0xf3)])(resource_1[_0x54264d(0xe7)],resource_1['MIDDLE_APPICON_DIRECTORY']),_0xed1a05=(0x0,path_1['join'])(_0x5c2677,'Contents.json'),_0x24f563=_0x54264d(0xb8),_0x3f050d=(0x0,path_1[_0x54264d(0xf3)])(_0x5c2677,_0x24f563);let _0x41bfdc=await(0x0,load_1[_0x54264d(0xd6)])(_0xed1a05),_0x10bf4b=imageHelper_1[_0x54264d(0xf7)][_0x54264d(0xe4)](0x200);_0x41bfdc['images'][0x0][_0x54264d(0xaa)]=_0x24f563,await _0x10bf4b[_0x54264d(0xcf)](_0x3f050d),await fs['writeFileSync'](_0xed1a05,JSON['stringify'](_0x41bfdc));}}static[_0x1b7ea2(0xd4)](_0x2b6eae,_0x136997){const _0x2a1c86=_0x1b7ea2;_0x2b6eae['updateBuildProperty'](_0x2a1c86(0xec),_0x136997),useExportOptionsXML=useExportOptionsXML[_0x2a1c86(0xa3)]('YOURTEAMID',_0x136997);}static['updateExportOptions'](){const _0x5dcf3f=_0x1b7ea2;!fs['existsSync'](resource_1[_0x5dcf3f(0xe1)])&&fs[_0x5dcf3f(0xce)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x5dcf3f(0xd1)]((0x0,path_1['join'])(resource_1[_0x5dcf3f(0xe1)],'ExportOptions.plist'),useExportOptionsXML);}static['bindManifestInfo'](_0x81104e,_0x4fb8d9){const _0x240c50=_0x1b7ea2;var _0xd0a4aa;_0x81104e['updateProductName'](_0x4fb8d9[_0x240c50(0xf1)]),_0x81104e['updateBuildProperty'](_0x240c50(0xdf),'\x22'+_0x4fb8d9['id']+'\x22'),this[_0x240c50(0xc7)]((_0xd0a4aa=_0x4fb8d9[_0x240c50(0xc6)])!==null&&_0xd0a4aa!==void 0x0?_0xd0a4aa:[]),this[_0x240c50(0xae)](_0x4fb8d9);}static['updateVersion'](_0x2ced52,_0x1552b2){const _0x4ad84f=_0x1b7ea2;_0x2ced52[_0x4ad84f(0xc2)]('CURRENT_PROJECT_VERSION',_0x1552b2);}static[_0x1b7ea2(0xc7)](_0x411408){const _0x41cf30=_0x1b7ea2;let _0x5baee2=(0x0,path_1[_0x41cf30(0xf3)])(resource_1['PROJECT_DIRECTORY'],_0x41cf30(0xcc)),_0x21505b='';for(let _0x2f55ce=0x0;_0x2f55ce<_0x411408[_0x41cf30(0xad)];_0x2f55ce++){_0x21505b+='<string>'+_0x411408[_0x2f55ce][_0x41cf30(0xd3)]+_0x41cf30(0x9c);}const _0x315f05=infoPlistXML['replace']('DEEPLINK',_0x21505b);fs[_0x41cf30(0xd1)](_0x5baee2,_0x315f05);}static[_0x1b7ea2(0xae)](_0x5808b4){const _0x378808=_0x1b7ea2,_0x322222=(0x0,path_1[_0x378808(0xf3)])(resource_1['PROJECT_DIRECTORY'],_0x378808(0xe3));let _0x43a75f=manifestSwiftTemplate_1[_0x378808(0xa5)];_0x43a75f=_0x43a75f[_0x378808(0xa3)]('START_URL',_0x5808b4[_0x378808(0xee)]),_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xf8),_0x5808b4['scope']),_0x43a75f=_0x43a75f['replace'](_0x378808(0xd0),_0x5808b4[_0x378808(0xf1)]),_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xe0),_0x5808b4[_0x378808(0xea)]),_0x43a75f=_0x43a75f['replace']('AppID',_0x5808b4['id']),_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xbc),_0x5808b4[_0x378808(0xc8)]==_0x378808(0xd5)?_0x378808(0xbc):_0x378808(0xd2));if(_0x5808b4['protocol_handlers']){let _0x44b0cd='';for(let _0x580e2f=0x0;_0x580e2f<_0x5808b4[_0x378808(0xc6)][_0x378808(0xad)];_0x580e2f++){_0x44b0cd+=_0x378808(0xca)+_0x5808b4['protocol_handlers'][_0x580e2f][_0x378808(0xd3)]+_0x378808(0xf4)+_0x5808b4['protocol_handlers'][_0x580e2f][_0x378808(0xbb)]+_0x378808(0xa4);}_0x43a75f=_0x43a75f['replace']('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x44b0cd);}_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xe6),_0x5808b4[_0x378808(0xf2)][_0x378808(0xb9)][_0x378808(0x96)]),_0x43a75f=_0x43a75f['replace'](_0x378808(0x98),_0x5808b4[_0x378808(0xf2)][_0x378808(0xb9)][_0x378808(0xb3)]),_0x43a75f=_0x43a75f[_0x378808(0xa3)]('SceneResizability','\x22'+_0x5808b4['mainScene'][_0x378808(0xc3)]+'\x22'),fs[_0x378808(0xd1)](_0x322222,_0x43a75f,_0x378808(0xe5));}}exports[_0x1b7ea2(0xef)]=XcodeProject;
1
+ 'use strict';const _0x301c9c=_0x5cbe;(function(_0x25b590,_0x402a70){const _0x33bfee=_0x5cbe,_0x2ce9ad=_0x25b590();while(!![]){try{const _0x1c4ce0=-parseInt(_0x33bfee(0x8d))/0x1*(-parseInt(_0x33bfee(0x92))/0x2)+parseInt(_0x33bfee(0x8f))/0x3*(parseInt(_0x33bfee(0xc1))/0x4)+parseInt(_0x33bfee(0x99))/0x5+-parseInt(_0x33bfee(0xcb))/0x6+parseInt(_0x33bfee(0x77))/0x7*(parseInt(_0x33bfee(0x93))/0x8)+-parseInt(_0x33bfee(0x9c))/0x9*(-parseInt(_0x33bfee(0xab))/0xa)+-parseInt(_0x33bfee(0x8b))/0xb;if(_0x1c4ce0===_0x402a70)break;else _0x2ce9ad['push'](_0x2ce9ad['shift']());}catch(_0x5453c8){_0x2ce9ad['push'](_0x2ce9ad['shift']());}}}(_0x9797,0xadc17));function _0x5cbe(_0x19caaa,_0x99f2c1){const _0x97971=_0x9797();return _0x5cbe=function(_0x5cbe94,_0x3d1762){_0x5cbe94=_0x5cbe94-0x76;let _0x22db83=_0x97971[_0x5cbe94];return _0x22db83;},_0x5cbe(_0x19caaa,_0x99f2c1);}Object[_0x301c9c(0x7a)](exports,_0x301c9c(0xa1),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require('path'),load_1=require('../resource/load'),imageHelper_1=require(_0x301c9c(0xb5)),manifestSwiftTemplate_1=require(_0x301c9c(0xca)),xcode=require(_0x301c9c(0xcd)),exportOptionsXML=_0x301c9c(0xcc),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';function _0x9797(){const _0x5af934=['app-store-connect','\x22),','project','resizability','1453620HhTZUt','updateBuildProperty','pbxGroupByName','52389RKefHO','parseSync','SCOPE','push','debugging','__esModule','protocol','protocol_handlers','value','PROJECT_BUILD_DIRECTORY','./web-spatial/Info.plist','bindManifestInfo','.minimal','release-testing','updateTeamId','530XTmQXh','manifestInfo','teamId','buildType','modifySwift','writeAsync','updateDeeplink','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','utf-8','updateProductName','../resource/imageHelper','pbxXCBuildConfigurationSection','length','YOURTEAMID','./web-spatial/libs/webView/manifest.swift','hash','Contents.json','AppName','default','filename','icon.','mainScene','771652ETAnLh','BUILDTYPE','updateVersion','json','pbxXCConfigurationList','existsSync','ImageHelper','enterprise','start_url','./manifestSwiftTemplate','5053146kxHmmh','<?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>','xcode','PROJECT_DIRECTORY','</string>','pbxTargetByName','defaultSize','Description','<string>','DEVELOPMENT_TEAM','version','stringify','buildSettings','SceneWidth','name','createImg','objects','writeSync','height','1708jdlfTB','buildConfigurations','image/','defineProperty','replace','CURRENT_PROJECT_VERSION','description','updateExportOptions','PBXGroup','loadJsonFromDisk','DEEPLINK','1.0','bindIcon','url','SceneResizability','width','.standalone','fixProjectFunction','test','split','21745163gcmZEU','join','1noeahl','images','21vBezdT','writeFileSync','ExportOptions.plist','2790830sooFrf','6088dArGcW','MIDDLE_APPICON_DIRECTORY'];_0x9797=function(){return _0x5af934;};return _0x9797();}let useExportOptionsXML='';class XcodeProject{static async['modify'](_0x49c81b,_0x17fbc5){const _0x70a7f8=_0x301c9c;let _0x5ed193=xcode[_0x70a7f8(0x97)](_0x49c81b);this[_0x70a7f8(0x88)](_0x5ed193),_0x5ed193[_0x70a7f8(0x9d)]();let _0x568107=_0x17fbc5[_0x70a7f8(0xae)];const _0x23b1f3=[_0x70a7f8(0xa9),_0x70a7f8(0x95),_0x70a7f8(0xa0),_0x70a7f8(0xc8)];useExportOptionsXML=exportOptionsXML[_0x70a7f8(0x7b)](_0x70a7f8(0xc2),_0x23b1f3['includes'](_0x568107)?_0x568107:_0x70a7f8(0xa9));_0x17fbc5[_0x70a7f8(0xad)]&&this[_0x70a7f8(0xaa)](_0x5ed193,_0x17fbc5[_0x70a7f8(0xad)]);this[_0x70a7f8(0x7e)](),await this[_0x70a7f8(0x83)](_0x17fbc5['icon']),this['bindManifestInfo'](_0x5ed193,_0x17fbc5[_0x70a7f8(0xac)][_0x70a7f8(0xc4)]);_0x17fbc5['version']?this[_0x70a7f8(0xc3)](_0x5ed193,_0x17fbc5[_0x70a7f8(0xd5)]):this[_0x70a7f8(0xc3)](_0x5ed193,_0x70a7f8(0x82));try{fs[_0x70a7f8(0x90)](_0x49c81b,_0x5ed193[_0x70a7f8(0xdc)]());}catch(_0x244202){console['log'](_0x244202);}}static[_0x301c9c(0x88)](_0x16fd63){const _0x104344=_0x301c9c;_0x16fd63[_0x104344(0x9b)]=function(_0x2e8fb8){const _0x2ce5e3=_0x104344;var _0x47352b=this[_0x2ce5e3(0xba)]['project'][_0x2ce5e3(0xdb)][_0x2ce5e3(0x7f)],_0x2e00e5,_0x41bc3b;for(_0x2e00e5 in _0x47352b){if(!/_comment$/[_0x2ce5e3(0x89)](_0x2e00e5))continue;if(_0x47352b[_0x2e00e5]==_0x2e8fb8)return _0x41bc3b=_0x2e00e5[_0x2ce5e3(0x8a)](/_comment$/)[0x0],_0x47352b[_0x41bc3b];}return![];},_0x16fd63['updateBuildProperty']=function(_0x2e79ed,_0x33960a,_0x2e8988,_0x2db9be){const _0x3bdc69=_0x104344;let _0x42e6ed=[];const _0x245f25=/_comment$/;if(_0x2db9be){const _0x79a432=this[_0x3bdc69(0xd0)](_0x2db9be),_0x53c6a9=_0x79a432&&_0x79a432['buildConfigurationList'],_0x5b6db2=this[_0x3bdc69(0xc5)]();for(const _0x471971 in _0x5b6db2){if(!_0x245f25[_0x3bdc69(0x89)](_0x471971)&&_0x53c6a9===_0x471971){const _0x4f6483=_0x5b6db2[_0x471971][_0x3bdc69(0x78)];for(const _0x32ada3 of _0x4f6483){_0x42e6ed[_0x3bdc69(0x9f)](_0x32ada3[_0x3bdc69(0xa4)]);}break;}}}var _0x589236=this[_0x3bdc69(0xb6)]();for(var _0x12f49c in _0x589236){if(!_0x245f25['test'](_0x12f49c)){if(_0x2db9be&&!_0x42e6ed['includes'](_0x12f49c))continue;var _0xb13d67=_0x589236[_0x12f49c];(_0x2e8988&&_0xb13d67[_0x3bdc69(0xd9)]===_0x2e8988||!_0x2e8988)&&_0xb13d67['buildSettings'][_0x2e79ed]&&(_0xb13d67[_0x3bdc69(0xd7)][_0x2e79ed]=_0x33960a);}}};}static async['bindIcon'](_0x11d2cb){const _0x1fea07=_0x301c9c;if(_0x11d2cb){const _0x33bec4=(0x0,path_1[_0x1fea07(0x8c)])(resource_1[_0x1fea07(0xce)],resource_1['BACK_APPICON_DIRECTORY']),_0x1f3e11=(0x0,path_1[_0x1fea07(0x8c)])(_0x33bec4,_0x1fea07(0xbb)),_0x5bc8df=_0x1fea07(0xbf)+_0x11d2cb['getMIME']()[_0x1fea07(0x7b)](_0x1fea07(0x79),''),_0x807001=(0x0,path_1[_0x1fea07(0x8c)])(_0x33bec4,_0x5bc8df);let _0x59f58c=await(0x0,load_1[_0x1fea07(0x80)])(_0x1f3e11);_0x59f58c[_0x1fea07(0x8e)][0x0][_0x1fea07(0xbe)]=_0x5bc8df,await _0x11d2cb[_0x1fea07(0xb0)](_0x807001),await fs[_0x1fea07(0x90)](_0x1f3e11,JSON[_0x1fea07(0xd6)](_0x59f58c));const _0x2900e3=(0x0,path_1[_0x1fea07(0x8c)])(resource_1[_0x1fea07(0xce)],resource_1[_0x1fea07(0x94)]),_0x50aba6=(0x0,path_1[_0x1fea07(0x8c)])(_0x2900e3,'Contents.json'),_0x2e0aee='icon.png',_0x46c24b=(0x0,path_1[_0x1fea07(0x8c)])(_0x2900e3,_0x2e0aee);let _0x4f1386=await(0x0,load_1[_0x1fea07(0x80)])(_0x50aba6),_0xf2566a=imageHelper_1[_0x1fea07(0xc7)][_0x1fea07(0xda)](0x200);_0x4f1386['images'][0x0][_0x1fea07(0xbe)]=_0x2e0aee,await _0xf2566a[_0x1fea07(0xb0)](_0x46c24b),await fs[_0x1fea07(0x90)](_0x50aba6,JSON[_0x1fea07(0xd6)](_0x4f1386));}}static[_0x301c9c(0xaa)](_0x41eea8,_0x3a6dea){const _0x27b6c4=_0x301c9c;_0x41eea8['updateBuildProperty'](_0x27b6c4(0xd4),_0x3a6dea),useExportOptionsXML=useExportOptionsXML['replace'](_0x27b6c4(0xb8),_0x3a6dea);}static['updateExportOptions'](){const _0x43ee15=_0x301c9c;!fs[_0x43ee15(0xc6)](resource_1[_0x43ee15(0xa5)])&&fs['mkdirSync'](resource_1[_0x43ee15(0xa5)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x43ee15(0xa5)],_0x43ee15(0x91)),useExportOptionsXML);}static[_0x301c9c(0xa7)](_0x14c53d,_0x29ea1d){const _0x12d225=_0x301c9c;var _0x3c5d60;_0x14c53d[_0x12d225(0xb4)](_0x29ea1d[_0x12d225(0xd9)]),_0x14c53d[_0x12d225(0x9a)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x29ea1d['id']+'\x22'),this[_0x12d225(0xb1)]((_0x3c5d60=_0x29ea1d[_0x12d225(0xa3)])!==null&&_0x3c5d60!==void 0x0?_0x3c5d60:[]),this[_0x12d225(0xaf)](_0x29ea1d);}static['updateVersion'](_0x32aa53,_0x400529){const _0x235eb2=_0x301c9c;_0x32aa53['updateBuildProperty'](_0x235eb2(0x7c),_0x400529);}static['updateDeeplink'](_0x4d46a8){const _0x41e26f=_0x301c9c;let _0xac7f31=(0x0,path_1[_0x41e26f(0x8c)])(resource_1[_0x41e26f(0xce)],_0x41e26f(0xa6)),_0x287514='';for(let _0xa6c5fa=0x0;_0xa6c5fa<_0x4d46a8[_0x41e26f(0xb7)];_0xa6c5fa++){_0x287514+=_0x41e26f(0xd3)+_0x4d46a8[_0xa6c5fa][_0x41e26f(0xa2)]+_0x41e26f(0xcf);}const _0x5b7c13=infoPlistXML[_0x41e26f(0x7b)](_0x41e26f(0x81),_0x287514);fs[_0x41e26f(0x90)](_0xac7f31,_0x5b7c13);}static[_0x301c9c(0xaf)](_0x4fad89){const _0x54a625=_0x301c9c,_0x49b33c=(0x0,path_1[_0x54a625(0x8c)])(resource_1[_0x54a625(0xce)],_0x54a625(0xb9));let _0x134652=manifestSwiftTemplate_1['manifestSwiftTemplate'];_0x134652=_0x134652[_0x54a625(0x7b)]('START_URL',_0x4fad89[_0x54a625(0xc9)]),_0x134652=_0x134652[_0x54a625(0x7b)](_0x54a625(0x9e),_0x4fad89['scope']),_0x134652=_0x134652['replace'](_0x54a625(0xbc),_0x4fad89[_0x54a625(0xd9)]),_0x134652=_0x134652[_0x54a625(0x7b)](_0x54a625(0xd2),_0x4fad89[_0x54a625(0x7d)]),_0x134652=_0x134652[_0x54a625(0x7b)]('AppID',_0x4fad89['id']),_0x134652=_0x134652['replace']('.minimal',_0x4fad89['display']=='minimal-ui'?_0x54a625(0xa8):_0x54a625(0x87));if(_0x4fad89[_0x54a625(0xa3)]){let _0x32d2d6='';for(let _0x3ab6cb=0x0;_0x3ab6cb<_0x4fad89[_0x54a625(0xa3)][_0x54a625(0xb7)];_0x3ab6cb++){_0x32d2d6+='PWAProtocol(protocolValue:\x20\x22'+_0x4fad89[_0x54a625(0xa3)][_0x3ab6cb]['protocol']+'\x22,\x20url:\x20\x22'+_0x4fad89[_0x54a625(0xa3)][_0x3ab6cb][_0x54a625(0x84)]+_0x54a625(0x96);}_0x134652=_0x134652[_0x54a625(0x7b)](_0x54a625(0xb2),_0x32d2d6);}_0x134652=_0x134652['replace'](_0x54a625(0xd8),_0x4fad89[_0x54a625(0xc0)][_0x54a625(0xd1)][_0x54a625(0x86)]),_0x134652=_0x134652[_0x54a625(0x7b)]('SceneHeight',_0x4fad89['mainScene'][_0x54a625(0xd1)][_0x54a625(0x76)]),_0x134652=_0x134652[_0x54a625(0x7b)](_0x54a625(0x85),'\x22'+_0x4fad89['mainScene'][_0x54a625(0x98)]+'\x22'),fs[_0x54a625(0x90)](_0x49b33c,_0x134652,_0x54a625(0xb3));}}exports[_0x301c9c(0xbd)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';function _0x572f(){const _0x3294dc=['\x20--apiKey\x20','--\x20visionOS','default','authApi','mkdirSync','\x20list','simctl','deviceId','2570fGKXSJ','./xcodebuild','authAccount','18972744rlvgtu','2878544ukCRJC','../resource','Booted','launch','line','existsSync','/web-spatial.xcodeproj','installing\x20app','path','listDevices','boot','join','\x20shutdown\x20booted','\x20--bundle-version\x20','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','trim','execSync','\x20--verbose','1146798cIJEwW','\x20--upload-package\x20','Shutdown','511IggxAg','altool','build\x20success','PROJECT_DIRECTORY','push','length','shutdown','appleId','install\x20success','5WJxcIF','24BgcTHq','split','list','verbose','\x20simctl','version','9wJEyvx','59582Wyibsa','uploadApp','XcodebuildCMD','\x20install\x20\x22','--\x20','runWithSimulator','Build/Products/Debug-xrsimulator/','toString','state','590972oXxqBo','13057mtXrkC','Apple\x20Vision\x20Pro','log','validate','PROJECT_BUILD_DIRECTORY','20538RMkjwc','child_process','\x20-p\x20','\x20--apiIssuer\x20','defineProperty','includes','launch\x20app','install','\x20launch\x20\x22','xcrun','\x20-u\x20','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20--apple-id\x20','no\x20visionOS\x20simulator\x20found','start\x20building','visionos','\x22\x20\x22','platform','.app'];_0x572f=function(){return _0x3294dc;};return _0x572f();}const _0x45cf3c=_0xdf8a;(function(_0x1eab0b,_0x59244c){const _0x3b0554=_0xdf8a,_0x2d9f99=_0x1eab0b();while(!![]){try{const _0x446abf=parseInt(_0x3b0554(0x189))/0x1*(-parseInt(_0x3b0554(0x182))/0x2)+parseInt(_0x3b0554(0x175))/0x3+-parseInt(_0x3b0554(0x192))/0x4*(parseInt(_0x3b0554(0x181))/0x5)+parseInt(_0x3b0554(0x144))/0x6*(parseInt(_0x3b0554(0x178))/0x7)+-parseInt(_0x3b0554(0x163))/0x8*(parseInt(_0x3b0554(0x188))/0x9)+-parseInt(_0x3b0554(0x15f))/0xa*(parseInt(_0x3b0554(0x193))/0xb)+parseInt(_0x3b0554(0x162))/0xc;if(_0x446abf===_0x59244c)break;else _0x2d9f99['push'](_0x2d9f99['shift']());}catch(_0x38078f){_0x2d9f99['push'](_0x2d9f99['shift']());}}}(_0x572f,0xa7623));Object[_0x45cf3c(0x148)](exports,'__esModule',{'value':!![]});function _0xdf8a(_0x48af42,_0x5b9336){const _0x572f8a=_0x572f();return _0xdf8a=function(_0xdf8a35,_0x16dc58){_0xdf8a35=_0xdf8a35-0x142;let _0x1b6eb4=_0x572f8a[_0xdf8a35];return _0x1b6eb4;},_0xdf8a(_0x48af42,_0x5b9336);}const child_process_1=require(_0x45cf3c(0x145)),resource_1=require(_0x45cf3c(0x164)),path_1=require(_0x45cf3c(0x16b)),fs=require('fs'),xcodebuild_1=require(_0x45cf3c(0x160));class Xcrun{static async[_0x45cf3c(0x142)](_0x3b4092,_0x317fc0,_0x63325b,_0xb7f3d0){const _0x450f48=_0x45cf3c,_0x4deac0=new XcrunCMD()['altool']();_0x4deac0[_0x450f48(0x142)](_0x3b4092);_0xb7f3d0?_0x4deac0['authAccount'](_0x317fc0,_0x63325b):_0x4deac0['authApi'](_0x317fc0,_0x63325b);_0x4deac0[_0x450f48(0x155)](_0x450f48(0x153));const _0x2c5b76=(0x0,child_process_1['execSync'])(_0x4deac0[_0x450f48(0x167)]);return _0x2c5b76[_0x450f48(0x190)]();}static async['uploadPackage'](_0x427447,_0x265bc8,_0x3b8531,_0x92631d,_0x469f23){const _0x267df3=_0x45cf3c,_0x294671=new XcrunCMD()[_0x267df3(0x179)]();_0x294671['uploadPackage'](_0x427447);_0x469f23?_0x294671[_0x267df3(0x161)](_0x265bc8,_0x3b8531):_0x294671[_0x267df3(0x15a)](_0x265bc8,_0x3b8531);_0x294671['platform'](_0x267df3(0x153)),_0x294671[_0x267df3(0x17f)](_0x92631d);const _0xcb7c8a=(0x0,child_process_1[_0x267df3(0x173)])(_0x294671[_0x267df3(0x167)]);return _0xcb7c8a[_0x267df3(0x190)]();}static async[_0x45cf3c(0x18a)](_0xd361ec,_0x4112d5,_0x9f4138,_0x325c80){const _0x34587d=_0x45cf3c,_0x592fd2=new XcrunCMD()[_0x34587d(0x179)]();_0x592fd2['uploadApp'](_0xd361ec);_0x325c80?_0x592fd2['authAccount'](_0x4112d5,_0x9f4138):_0x592fd2[_0x34587d(0x15a)](_0x4112d5,_0x9f4138);_0x592fd2['platform']('visionos');const _0x4811df=(0x0,child_process_1['execSync'])(_0x592fd2[_0x34587d(0x167)]);return _0x4811df[_0x34587d(0x190)]();}static async[_0x45cf3c(0x18e)](_0x2cecc1){const _0x3f43c0=_0x45cf3c;let _0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)]();_0x4642ac[_0x3f43c0(0x16c)](_0x3f43c0(0x194));const _0x305ec2=(0x0,child_process_1[_0x3f43c0(0x173)])(_0x4642ac[_0x3f43c0(0x167)]),_0x61a38a=this['parseListDevices'](_0x305ec2[_0x3f43c0(0x190)]());if(_0x61a38a[_0x3f43c0(0x17d)]===0x0)throw new Error(_0x3f43c0(0x151));let _0x17c2dd=_0x61a38a[0x0];for(let _0x50e0fe=0x0;_0x50e0fe<_0x61a38a[_0x3f43c0(0x17d)];_0x50e0fe++){if(_0x61a38a[_0x50e0fe][_0x3f43c0(0x191)]===_0x3f43c0(0x165)){_0x17c2dd=_0x61a38a[_0x50e0fe];break;}}console[_0x3f43c0(0x195)]('find\x20simulator:\x20'+_0x17c2dd[_0x3f43c0(0x15e)]);const _0x4b1580=resource_1[_0x3f43c0(0x17b)]+_0x3f43c0(0x169),_0x5eacfd=resource_1[_0x3f43c0(0x143)]+'/test';!fs[_0x3f43c0(0x168)](resource_1[_0x3f43c0(0x143)])&&fs[_0x3f43c0(0x15b)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs['existsSync'](_0x5eacfd)&&fs[_0x3f43c0(0x15b)](_0x5eacfd,{'recursive':!![]});const _0x3ff8b4=new xcodebuild_1[(_0x3f43c0(0x18b))]()['project'](_0x4b1580)[_0x3f43c0(0x167)]+(_0x3f43c0(0x171)+_0x17c2dd[_0x3f43c0(0x15e)]+'\x27\x20-derivedDataPath\x20'+_0x5eacfd);console[_0x3f43c0(0x195)](_0x3f43c0(0x152)),(0x0,child_process_1[_0x3f43c0(0x173)])(_0x3ff8b4),console[_0x3f43c0(0x195)](_0x3f43c0(0x17a));_0x17c2dd[_0x3f43c0(0x191)]===_0x3f43c0(0x177)&&(_0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)](),_0x4642ac['boot'](_0x17c2dd[_0x3f43c0(0x15e)]),(0x0,child_process_1[_0x3f43c0(0x173)])(_0x4642ac[_0x3f43c0(0x167)]));(0x0,child_process_1[_0x3f43c0(0x173)])(_0x3f43c0(0x14f)),console[_0x3f43c0(0x195)](_0x3f43c0(0x16a));const _0x3fbfbb=(0x0,path_1[_0x3f43c0(0x16e)])(_0x5eacfd,_0x3f43c0(0x18f)+_0x2cecc1['name']+_0x3f43c0(0x156));_0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)](),_0x4642ac[_0x3f43c0(0x14b)](_0x17c2dd['deviceId'],_0x3fbfbb),(0x0,child_process_1['execSync'])(_0x4642ac['line']),console[_0x3f43c0(0x195)](_0x3f43c0(0x180)),console[_0x3f43c0(0x195)](_0x3f43c0(0x14a)),_0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)](),_0x4642ac[_0x3f43c0(0x166)](_0x17c2dd[_0x3f43c0(0x15e)],_0x2cecc1['id']),(0x0,child_process_1[_0x3f43c0(0x173)])(_0x4642ac[_0x3f43c0(0x167)]);}static['parseListDevices'](_0x6aa32c){const _0xf2b82=_0x45cf3c;let _0x5e7cbb=_0x6aa32c[_0xf2b82(0x183)]('\x0a'),_0x47601f=[],_0x4afe16=-0x1;for(let _0x451c36=0x0;_0x451c36<_0x5e7cbb['length'];_0x451c36++){if(_0x5e7cbb[_0x451c36][_0xf2b82(0x149)](_0xf2b82(0x158)))_0x4afe16=_0x451c36;else{if(_0x4afe16>0x0){if(_0x5e7cbb[_0x451c36][_0xf2b82(0x149)](_0xf2b82(0x18d)))break;if(_0x5e7cbb[_0x451c36][_0xf2b82(0x17d)]>0x0){const _0x2bbe6d=_0x5e7cbb[_0x451c36]['split']('('),_0x2e954c={'name':_0x2bbe6d[0x0][_0xf2b82(0x172)](),'deviceId':_0x2bbe6d[0x1][_0xf2b82(0x183)](')')[0x0]['trim'](),'state':_0x2bbe6d[0x2][_0xf2b82(0x183)](')')[0x0]['trim']()};_0x47601f[_0xf2b82(0x17c)](_0x2e954c);}}}}return _0x47601f;}}exports[_0x45cf3c(0x159)]=Xcrun;class XcrunCMD{constructor(){const _0x2606d7=_0x45cf3c;this[_0x2606d7(0x167)]=_0x2606d7(0x14d);}['altool'](){const _0x54b58c=_0x45cf3c;return this[_0x54b58c(0x167)]+='\x20altool',this;}[_0x45cf3c(0x15d)](){const _0x46ca18=_0x45cf3c;return this[_0x46ca18(0x167)]+=_0x46ca18(0x186),this;}[_0x45cf3c(0x184)](){const _0x390dfe=_0x45cf3c;return this[_0x390dfe(0x167)]+=_0x390dfe(0x15c),this;}[_0x45cf3c(0x16c)](_0xc44dad){const _0x450ccb=_0x45cf3c;return this[_0x450ccb(0x167)]+='\x20list\x20devices\x20\x22'+_0xc44dad+'\x22',this;}['validate'](_0x52a7c9){const _0x5d8955=_0x45cf3c;return this[_0x5d8955(0x167)]+='\x20--validate-app\x20-f\x20'+_0x52a7c9,this;}[_0x45cf3c(0x18a)](_0xd70dbc){const _0x570b9f=_0x45cf3c;return this[_0x570b9f(0x167)]+='\x20--upload-app\x20-f\x20'+_0xd70dbc,this;}['uploadPackage'](_0x2f2039){const _0x1a6d73=_0x45cf3c;return this[_0x1a6d73(0x167)]+=_0x1a6d73(0x176)+_0x2f2039,this;}[_0x45cf3c(0x161)](_0x3e6901,_0x487212){const _0x1f54b4=_0x45cf3c;return this[_0x1f54b4(0x167)]+=_0x1f54b4(0x14e)+_0x3e6901+_0x1f54b4(0x146)+_0x487212,this;}['authApi'](_0x24fc5e,_0x357acc){const _0x4855c5=_0x45cf3c;return this[_0x4855c5(0x167)]+=_0x4855c5(0x157)+_0x24fc5e+_0x4855c5(0x147)+_0x357acc,this;}[_0x45cf3c(0x17f)](_0xe96a7e){const _0xf70a8a=_0x45cf3c;return this[_0xf70a8a(0x167)]+=_0xf70a8a(0x150)+_0xe96a7e,this;}[_0x45cf3c(0x155)](_0x466ea7){const _0x1596f6=_0x45cf3c;return this[_0x1596f6(0x167)]+='\x20-t\x20'+_0x466ea7,this;}[_0x45cf3c(0x187)](_0x20a1d1){const _0x2a7ad9=_0x45cf3c;return this[_0x2a7ad9(0x167)]+=_0x2a7ad9(0x170)+_0x20a1d1,this;}[_0x45cf3c(0x185)](){const _0x75cb4e=_0x45cf3c;return this[_0x75cb4e(0x167)]+=_0x75cb4e(0x174),this;}[_0x45cf3c(0x17e)](){const _0x13a628=_0x45cf3c;return this[_0x13a628(0x167)]+=_0x13a628(0x16f),this;}[_0x45cf3c(0x16d)](_0xa2bbe9){return this['line']+='\x20boot\x20\x22'+_0xa2bbe9+'\x22',this;}['install'](_0x45b11d,_0x494244){const _0x14fb33=_0x45cf3c;return this[_0x14fb33(0x167)]+=_0x14fb33(0x18c)+_0x45b11d+_0x14fb33(0x154)+_0x494244+'\x22',this;}['launch'](_0x33177c,_0xdcd611){const _0x300cd1=_0x45cf3c;return this[_0x300cd1(0x167)]+=_0x300cd1(0x14c)+_0x33177c+_0x300cd1(0x154)+_0xdcd611+'\x22',this;}}
1
+ 'use strict';const _0xd60c7b=_0x3b25;function _0x3b25(_0x3cfc6d,_0x18200f){const _0x435870=_0x4358();return _0x3b25=function(_0x3b25ab,_0x4a0625){_0x3b25ab=_0x3b25ab-0xfc;let _0x4c2939=_0x435870[_0x3b25ab];return _0x4c2939;},_0x3b25(_0x3cfc6d,_0x18200f);}(function(_0x2ec541,_0x1b3ed9){const _0x40fc8a=_0x3b25,_0x3260a1=_0x2ec541();while(!![]){try{const _0x5a7058=parseInt(_0x40fc8a(0x12a))/0x1*(-parseInt(_0x40fc8a(0x107))/0x2)+-parseInt(_0x40fc8a(0x125))/0x3+parseInt(_0x40fc8a(0x13b))/0x4+parseInt(_0x40fc8a(0x10f))/0x5*(-parseInt(_0x40fc8a(0x117))/0x6)+-parseInt(_0x40fc8a(0x111))/0x7*(parseInt(_0x40fc8a(0x122))/0x8)+-parseInt(_0x40fc8a(0x10c))/0x9*(-parseInt(_0x40fc8a(0x14a))/0xa)+parseInt(_0x40fc8a(0x141))/0xb;if(_0x5a7058===_0x1b3ed9)break;else _0x3260a1['push'](_0x3260a1['shift']());}catch(_0x599694){_0x3260a1['push'](_0x3260a1['shift']());}}}(_0x4358,0x333eb));Object['defineProperty'](exports,'__esModule',{'value':!![]});const child_process_1=require(_0xd60c7b(0x131)),resource_1=require('../resource'),path_1=require(_0xd60c7b(0x127)),fs=require('fs'),xcodebuild_1=require(_0xd60c7b(0x10e));class Xcrun{static async[_0xd60c7b(0x124)](_0x1b80ad,_0xacf8ed,_0x3db55c,_0x1c1343){const _0x2425ce=_0xd60c7b,_0x1479a4=new XcrunCMD()['altool']();_0x1479a4[_0x2425ce(0x124)](_0x1b80ad);_0x1c1343?_0x1479a4[_0x2425ce(0x11c)](_0xacf8ed,_0x3db55c):_0x1479a4[_0x2425ce(0x121)](_0xacf8ed,_0x3db55c);_0x1479a4[_0x2425ce(0xfc)]('visionos');const _0xf57cfc=(0x0,child_process_1[_0x2425ce(0x10b)])(_0x1479a4[_0x2425ce(0x128)]);return _0xf57cfc[_0x2425ce(0x11b)]();}static async['uploadPackage'](_0x566730,_0x126450,_0x3eed3d,_0x50cc10,_0x2ed2f9){const _0x21c7a1=_0xd60c7b,_0x589cf1=new XcrunCMD()[_0x21c7a1(0x13c)]();_0x589cf1[_0x21c7a1(0x112)](_0x566730);_0x2ed2f9?_0x589cf1[_0x21c7a1(0x11c)](_0x126450,_0x3eed3d):_0x589cf1[_0x21c7a1(0x121)](_0x126450,_0x3eed3d);_0x589cf1[_0x21c7a1(0xfc)]('visionos'),_0x589cf1['appleId'](_0x50cc10);const _0x5aa3e6=(0x0,child_process_1['execSync'])(_0x589cf1[_0x21c7a1(0x128)]);return _0x5aa3e6[_0x21c7a1(0x11b)]();}static async['uploadApp'](_0x4ba935,_0x5a8a96,_0x186453,_0x3fca2b){const _0x4b680f=_0xd60c7b,_0x5736a2=new XcrunCMD()[_0x4b680f(0x13c)]();_0x5736a2['uploadApp'](_0x4ba935);_0x3fca2b?_0x5736a2[_0x4b680f(0x11c)](_0x5a8a96,_0x186453):_0x5736a2[_0x4b680f(0x121)](_0x5a8a96,_0x186453);_0x5736a2[_0x4b680f(0xfc)](_0x4b680f(0x110));const _0x11d20f=(0x0,child_process_1[_0x4b680f(0x10b)])(_0x5736a2[_0x4b680f(0x128)]);return _0x11d20f['toString']();}static async[_0xd60c7b(0x104)](_0x180267){const _0x449d0d=_0xd60c7b;let _0x43324b=new XcrunCMD()[_0x449d0d(0x143)]();_0x43324b[_0x449d0d(0x142)](_0x449d0d(0x136));const _0x3776fe=(0x0,child_process_1['execSync'])(_0x43324b[_0x449d0d(0x128)]),_0x316503=this[_0x449d0d(0x135)](_0x3776fe[_0x449d0d(0x11b)]());if(_0x316503['length']===0x0)throw new Error(_0x449d0d(0x145));let _0x3627f9=_0x316503[0x0];for(let _0x451878=0x0;_0x451878<_0x316503[_0x449d0d(0x139)];_0x451878++){if(_0x316503[_0x451878]['state']===_0x449d0d(0x100)){_0x3627f9=_0x316503[_0x451878];break;}}console['log']('find\x20simulator:\x20'+_0x3627f9[_0x449d0d(0xfe)]);const _0x10c195=resource_1[_0x449d0d(0x11d)]+_0x449d0d(0x103),_0x3a3966=resource_1[_0x449d0d(0x130)]+'/test';!fs['existsSync'](resource_1[_0x449d0d(0x130)])&&fs[_0x449d0d(0x113)](resource_1[_0x449d0d(0x130)],{'recursive':!![]});!fs[_0x449d0d(0x13a)](_0x3a3966)&&fs[_0x449d0d(0x113)](_0x3a3966,{'recursive':!![]});const _0x19447f=new xcodebuild_1[(_0x449d0d(0x101))]()[_0x449d0d(0x11a)](_0x10c195)['line']+(_0x449d0d(0x115)+_0x3627f9[_0x449d0d(0xfe)]+_0x449d0d(0x140)+_0x3a3966);console['log'](_0x449d0d(0x116)),(0x0,child_process_1[_0x449d0d(0x10b)])(_0x19447f),console[_0x449d0d(0x114)](_0x449d0d(0x109));_0x3627f9[_0x449d0d(0x10a)]===_0x449d0d(0x11e)&&(_0x43324b=new XcrunCMD()['simctl'](),_0x43324b[_0x449d0d(0x13d)](_0x3627f9[_0x449d0d(0xfe)]),(0x0,child_process_1[_0x449d0d(0x10b)])(_0x43324b[_0x449d0d(0x128)]));(0x0,child_process_1[_0x449d0d(0x10b)])(_0x449d0d(0x12d)),console[_0x449d0d(0x114)](_0x449d0d(0x126));const _0x529caa=(0x0,path_1[_0x449d0d(0x12c)])(_0x3a3966,_0x449d0d(0x148)+_0x180267[_0x449d0d(0x147)]+_0x449d0d(0x146));_0x43324b=new XcrunCMD()[_0x449d0d(0x143)](),_0x43324b['install'](_0x3627f9[_0x449d0d(0xfe)],_0x529caa),(0x0,child_process_1['execSync'])(_0x43324b['line']),console[_0x449d0d(0x114)](_0x449d0d(0x108)),console[_0x449d0d(0x114)]('launch\x20app'),_0x43324b=new XcrunCMD()['simctl'](),_0x43324b[_0x449d0d(0x129)](_0x3627f9['deviceId'],_0x180267['id']),(0x0,child_process_1[_0x449d0d(0x10b)])(_0x43324b[_0x449d0d(0x128)]);}static[_0xd60c7b(0x135)](_0x59a963){const _0x41209b=_0xd60c7b;let _0x41e36a=_0x59a963['split']('\x0a'),_0x12ba30=[],_0xfbd72=-0x1;for(let _0x473418=0x0;_0x473418<_0x41e36a['length'];_0x473418++){if(_0x41e36a[_0x473418]['includes'](_0x41209b(0x11f)))_0xfbd72=_0x473418;else{if(_0xfbd72>0x0){if(_0x41e36a[_0x473418]['includes'](_0x41209b(0x13f)))break;if(_0x41e36a[_0x473418][_0x41209b(0x139)]>0x0){const _0x94abfb=_0x41e36a[_0x473418][_0x41209b(0x102)]('('),_0x54f292={'name':_0x94abfb[0x0][_0x41209b(0x123)](),'deviceId':_0x94abfb[0x1][_0x41209b(0x102)](')')[0x0][_0x41209b(0x123)](),'state':_0x94abfb[0x2][_0x41209b(0x102)](')')[0x0]['trim']()};_0x12ba30[_0x41209b(0x105)](_0x54f292);}}}}return _0x12ba30;}}exports[_0xd60c7b(0x14b)]=Xcrun;function _0x4358(){const _0x4e252f=['existsSync','483992kctQIb','altool','boot','\x22\x20\x22','--\x20','\x27\x20-derivedDataPath\x20','11663025YwOUlP','listDevices','simctl','\x20shutdown\x20booted','no\x20visionOS\x20simulator\x20found','.app','name','Build/Products/Debug-xrsimulator/','\x20--bundle-version\x20','466770ttryLS','default','platform','\x20--apple-id\x20','deviceId','\x20list','Booted','XcodebuildCMD','split','/web-spatial.xcodeproj','runWithSimulator','push','\x20boot\x20\x22','28030CrWmnQ','install\x20success','build\x20success','state','execSync','9kGerkK','\x20install\x20\x22','./xcodebuild','1365155CgYHbX','visionos','14oSymIS','uploadPackage','mkdirSync','log','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','start\x20building','6CwQodw','xcrun','\x20list\x20devices\x20\x22','project','toString','authAccount','PROJECT_DIRECTORY','Shutdown','--\x20visionOS','\x20--apiKey\x20','authApi','1627168jXpFDR','trim','validate','510144zUgpjE','installing\x20app','path','line','launch','12YhnAIZ','uploadApp','join','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20-t\x20','\x20--upload-app\x20-f\x20','PROJECT_BUILD_DIRECTORY','child_process','\x20--apiIssuer\x20','install','\x20--upload-package\x20','parseListDevices','Apple\x20Vision\x20Pro','\x20--validate-app\x20-f\x20','\x20launch\x20\x22','length'];_0x4358=function(){return _0x4e252f;};return _0x4358();}class XcrunCMD{constructor(){const _0xb5e1df=_0xd60c7b;this[_0xb5e1df(0x128)]=_0xb5e1df(0x118);}['altool'](){const _0x5da7eb=_0xd60c7b;return this[_0x5da7eb(0x128)]+='\x20altool',this;}[_0xd60c7b(0x143)](){const _0x49ac34=_0xd60c7b;return this[_0x49ac34(0x128)]+='\x20simctl',this;}['list'](){const _0x34044d=_0xd60c7b;return this[_0x34044d(0x128)]+=_0x34044d(0xff),this;}['listDevices'](_0x4cbb51){const _0x35122d=_0xd60c7b;return this['line']+=_0x35122d(0x119)+_0x4cbb51+'\x22',this;}[_0xd60c7b(0x124)](_0x144737){const _0x35e6c9=_0xd60c7b;return this[_0x35e6c9(0x128)]+=_0x35e6c9(0x137)+_0x144737,this;}[_0xd60c7b(0x12b)](_0x2276a1){const _0x44a0e8=_0xd60c7b;return this[_0x44a0e8(0x128)]+=_0x44a0e8(0x12f)+_0x2276a1,this;}[_0xd60c7b(0x112)](_0x2ebeb6){const _0x31d917=_0xd60c7b;return this['line']+=_0x31d917(0x134)+_0x2ebeb6,this;}['authAccount'](_0x427ee6,_0x3531de){const _0x175032=_0xd60c7b;return this[_0x175032(0x128)]+='\x20-u\x20'+_0x427ee6+'\x20-p\x20'+_0x3531de,this;}['authApi'](_0x332ba8,_0x2153b6){const _0x196afc=_0xd60c7b;return this[_0x196afc(0x128)]+=_0x196afc(0x120)+_0x332ba8+_0x196afc(0x132)+_0x2153b6,this;}['appleId'](_0xc99cfc){const _0x19c20e=_0xd60c7b;return this[_0x19c20e(0x128)]+=_0x19c20e(0xfd)+_0xc99cfc,this;}[_0xd60c7b(0xfc)](_0x49bc87){const _0x48d829=_0xd60c7b;return this[_0x48d829(0x128)]+=_0x48d829(0x12e)+_0x49bc87,this;}['version'](_0x123cac){const _0x36782c=_0xd60c7b;return this[_0x36782c(0x128)]+=_0x36782c(0x149)+_0x123cac,this;}['verbose'](){return this['line']+='\x20--verbose',this;}['shutdown'](){const _0x4db832=_0xd60c7b;return this['line']+=_0x4db832(0x144),this;}['boot'](_0x451854){const _0x261ea5=_0xd60c7b;return this[_0x261ea5(0x128)]+=_0x261ea5(0x106)+_0x451854+'\x22',this;}[_0xd60c7b(0x133)](_0x53baf1,_0x24940e){const _0x2bdc1d=_0xd60c7b;return this[_0x2bdc1d(0x128)]+=_0x2bdc1d(0x10d)+_0x53baf1+'\x22\x20\x22'+_0x24940e+'\x22',this;}[_0xd60c7b(0x129)](_0x38d4a8,_0x14e825){const _0x2206ff=_0xd60c7b;return this['line']+=_0x2206ff(0x138)+_0x38d4a8+_0x2206ff(0x13e)+_0x14e825+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {