@webspatial/builder 0.0.18-alpha.0 → 0.0.18

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';function _0x25eb(_0x59fcc3,_0x3dbf7a){const _0xbbf6a0=_0xbbf6();return _0x25eb=function(_0x25eba3,_0x4f76ed){_0x25eba3=_0x25eba3-0x1a2;let _0x53d911=_0xbbf6a0[_0x25eba3];return _0x53d911;},_0x25eb(_0x59fcc3,_0x3dbf7a);}const _0x4d953a=_0x25eb;(function(_0x41ed0c,_0x441b32){const _0x48e629=_0x25eb,_0x1db5ae=_0x41ed0c();while(!![]){try{const _0x247876=parseInt(_0x48e629(0x1a8))/0x1*(-parseInt(_0x48e629(0x1ab))/0x2)+parseInt(_0x48e629(0x1ae))/0x3*(parseInt(_0x48e629(0x1b1))/0x4)+-parseInt(_0x48e629(0x1b7))/0x5*(parseInt(_0x48e629(0x1b3))/0x6)+-parseInt(_0x48e629(0x1bb))/0x7*(parseInt(_0x48e629(0x1af))/0x8)+-parseInt(_0x48e629(0x1b4))/0x9+parseInt(_0x48e629(0x1a4))/0xa+parseInt(_0x48e629(0x1b9))/0xb;if(_0x247876===_0x441b32)break;else _0x1db5ae['push'](_0x1db5ae['shift']());}catch(_0x535f0e){_0x1db5ae['push'](_0x1db5ae['shift']());}}}(_0xbbf6,0x91937));function _0xbbf6(){const _0xeafd6=['./lib/utils/CustomError','forEach','321791QHgFZl','isArray','error','6KumFgt','run','argv','12ndLfJJ','760yVbTlX','./lib/Cli','779516ygaukd','customMessage','6gQMmVQ','3824496NTefRs','exit','code','5618335htHoUM','defineProperty','31819788iUjPNA','message','46109qyBNpi','log','CustomError','638040WFCEWV','__esModule'];_0xbbf6=function(){return _0xeafd6;};return _0xbbf6();}Object[_0x4d953a(0x1b8)](exports,_0x4d953a(0x1a5),{'value':!![]});const Cli_1=require(_0x4d953a(0x1b0)),CustomError_1=require(_0x4d953a(0x1a6));module['exports']=async()=>{const _0xa3aae7=_0x4d953a,_0x5ead08=new Cli_1['Cli'](),_0x4e2cd1=Cli_1['Cli'][_0xa3aae7(0x1a2)],_0xdf3b53=process[_0xa3aae7(0x1ad)]['slice'](0x2);let _0x22285e;try{_0x22285e=await _0x5ead08[_0xa3aae7(0x1ac)](_0xdf3b53);}catch(_0x5eb74a){if(_0x5eb74a instanceof CustomError_1[_0xa3aae7(0x1a3)]){const _0x41a413=_0x5eb74a[_0xa3aae7(0x1b2)];Array[_0xa3aae7(0x1a9)](_0x41a413)?_0x41a413[_0xa3aae7(0x1a7)](_0x2f7c1b=>{const _0x50d440=_0xa3aae7;_0x4e2cd1[_0x50d440(0x1aa)](_0x2f7c1b['code']+':\x20'+_0x2f7c1b[_0x50d440(0x1ba)]);}):_0x4e2cd1[_0xa3aae7(0x1aa)](_0x41a413[_0xa3aae7(0x1b6)]+':\x20'+_0x41a413[_0xa3aae7(0x1ba)]);}else _0x4e2cd1[_0xa3aae7(0x1aa)](_0x5eb74a[_0xa3aae7(0x1ba)]);_0x22285e=![];}!_0x22285e?process[_0xa3aae7(0x1b5)](0x1):process[_0xa3aae7(0x1b5)](0x0);};
1
+ 'use strict';const _0x651ba1=_0x1c4e;(function(_0x11e665,_0x7d6e2a){const _0x2d2f7a=_0x1c4e,_0x6a23d6=_0x11e665();while(!![]){try{const _0xa1a7=-parseInt(_0x2d2f7a(0xae))/0x1+-parseInt(_0x2d2f7a(0xb1))/0x2+-parseInt(_0x2d2f7a(0xa1))/0x3+parseInt(_0x2d2f7a(0xaf))/0x4*(parseInt(_0x2d2f7a(0xb2))/0x5)+parseInt(_0x2d2f7a(0xa2))/0x6+parseInt(_0x2d2f7a(0xa9))/0x7+parseInt(_0x2d2f7a(0xa0))/0x8;if(_0xa1a7===_0x7d6e2a)break;else _0x6a23d6['push'](_0x6a23d6['shift']());}catch(_0x1c9710){_0x6a23d6['push'](_0x6a23d6['shift']());}}}(_0x475a,0xb91d5));Object[_0x651ba1(0x9f)](exports,_0x651ba1(0xab),{'value':!![]});const Cli_1=require(_0x651ba1(0xa7)),CustomError_1=require('./lib/utils/CustomError');function _0x1c4e(_0x17607b,_0x1e4e47){const _0x475ac8=_0x475a();return _0x1c4e=function(_0x1c4ea7,_0x4ffbde){_0x1c4ea7=_0x1c4ea7-0x9b;let _0x148332=_0x475ac8[_0x1c4ea7];return _0x148332;},_0x1c4e(_0x17607b,_0x1e4e47);}function _0x475a(){const _0x47ace6=['1567593nxKmwf','1585536hzTQHE','Cli','error','exports','forEach','./lib/Cli','customMessage','3385907IbCBtz','slice','__esModule','run','exit','250330zHZIEw','3060764zprmJj','isArray','2132118XQISoM','5EBUmbr','argv','code','log','message','defineProperty','8672008IRsjOf'];_0x475a=function(){return _0x47ace6;};return _0x475a();}module[_0x651ba1(0xa5)]=async()=>{const _0x20dd95=_0x651ba1,_0x4ae70c=new Cli_1[(_0x20dd95(0xa3))](),_0x59d0de=Cli_1[_0x20dd95(0xa3)][_0x20dd95(0x9d)],_0x289032=process[_0x20dd95(0x9b)][_0x20dd95(0xaa)](0x2);let _0x5d527d;try{_0x5d527d=await _0x4ae70c[_0x20dd95(0xac)](_0x289032);}catch(_0x2d794e){if(_0x2d794e instanceof CustomError_1['CustomError']){const _0x4fb24f=_0x2d794e[_0x20dd95(0xa8)];Array[_0x20dd95(0xb0)](_0x4fb24f)?_0x4fb24f[_0x20dd95(0xa6)](_0x1f2111=>{const _0xfe24f9=_0x20dd95;_0x59d0de[_0xfe24f9(0xa4)](_0x1f2111['code']+':\x20'+_0x1f2111[_0xfe24f9(0x9e)]);}):_0x59d0de[_0x20dd95(0xa4)](_0x4fb24f[_0x20dd95(0x9c)]+':\x20'+_0x4fb24f[_0x20dd95(0x9e)]);}else _0x59d0de[_0x20dd95(0xa4)](_0x2d794e['message']);_0x5d527d=![];}!_0x5d527d?process[_0x20dd95(0xad)](0x1):process[_0x20dd95(0xad)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1b0b(){const _0x4dcea1=['./utils/fetch','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','__esModule','semver','defineProperty','4979995wOjPdx','../lib/utils/Log','fetchUtils','versions','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','13433NQFFnn','build','Current\x20Node.js\x20version\x20is\x20','node','decompressResponseBuffer','892496HNadTG','setDownloadFile','1592271EBxOnu','ConsoleLog','Cli','2094OXqiRP','length','version','run','help','462175UfVGqz','./cmds/build','cli','downloadFile','49136lySYPO','./utils/FetchUtils-1','172706rRLJaw','start','./cmds/version','1782tJoJYV'];_0x1b0b=function(){return _0x4dcea1;};return _0x1b0b();}const _0x268566=_0x880d;(function(_0x183f1b,_0x20b902){const _0x416450=_0x880d,_0xa8602f=_0x183f1b();while(!![]){try{const _0x532431=parseInt(_0x416450(0x1e0))/0x1+-parseInt(_0x416450(0x1e6))/0x2+-parseInt(_0x416450(0x1d8))/0x3+parseInt(_0x416450(0x1d6))/0x4+parseInt(_0x416450(0x1cc))/0x5+parseInt(_0x416450(0x1db))/0x6*(parseInt(_0x416450(0x1d1))/0x7)+parseInt(_0x416450(0x1e4))/0x8*(-parseInt(_0x416450(0x1c6))/0x9);if(_0x532431===_0x20b902)break;else _0xa8602f['push'](_0xa8602f['shift']());}catch(_0x44c056){_0xa8602f['push'](_0xa8602f['shift']());}}}(_0x1b0b,0x7e6ab));Object[_0x268566(0x1cb)](exports,_0x268566(0x1c9),{'value':!![]}),exports[_0x268566(0x1da)]=void 0x0;const minimist=require('minimist'),semver_1=require(_0x268566(0x1ca)),Log_1=require(_0x268566(0x1cd)),FetchUtils_1_1=require(_0x268566(0x1e5)),help_1=require('./cmds/help'),build_1=require(_0x268566(0x1e1)),version_1=require(_0x268566(0x1c5)),fetch_1=require(_0x268566(0x1c7));function _0x880d(_0x33854c,_0x2fc5cc){const _0x1b0ba6=_0x1b0b();return _0x880d=function(_0x880d3a,_0x24272c){_0x880d3a=_0x880d3a-0x1c4;let _0x3c1975=_0x1b0ba6[_0x880d3a];return _0x3c1975;},_0x880d(_0x33854c,_0x2fc5cc);}class Cli{async[_0x268566(0x1de)](_0x4e5e8c){const _0x191ec3=_0x268566;if((0x0,semver_1['major'])(process[_0x191ec3(0x1cf)][_0x191ec3(0x1d4)])<0xe)throw new Error(_0x191ec3(0x1d3)+process['versions'][_0x191ec3(0x1d4)]+'.'+_0x191ec3(0x1c8));FetchUtils_1_1[_0x191ec3(0x1ce)]['setFetch'](fetch_1['fetch']),FetchUtils_1_1[_0x191ec3(0x1ce)][_0x191ec3(0x1d7)](fetch_1[_0x191ec3(0x1e3)]),FetchUtils_1_1[_0x191ec3(0x1ce)]['setDecompressResponseBuffer'](fetch_1[_0x191ec3(0x1d5)]);const _0x2aa438=minimist(_0x4e5e8c);let _0x115f27=undefined;if(_0x2aa438['_'][_0x191ec3(0x1dc)]===0x0){if(_0x2aa438['version'])_0x115f27='version';else _0x2aa438['help']&&(_0x115f27=_0x191ec3(0x1df));}else _0x115f27=_0x2aa438['_'][0x0];!_0x115f27&&(_0x115f27=_0x191ec3(0x1df));switch(_0x115f27){case'help':case'h':return await(0x0,help_1['help'])(_0x2aa438);case _0x191ec3(0x1d2):return await(0x0,build_1[_0x191ec3(0x1c4)])(_0x2aa438);case'publish':return await(0x0,build_1['store'])(_0x2aa438);case _0x191ec3(0x1de):return await(0x0,build_1['run'])(_0x2aa438);case _0x191ec3(0x1dd):{return await(0x0,version_1[_0x191ec3(0x1dd)])();}default:throw new Error('\x22'+_0x115f27+_0x191ec3(0x1d0));}}}exports[_0x268566(0x1da)]=Cli,Cli['log']=new Log_1[(_0x268566(0x1d9))](_0x268566(0x1e2));
1
+ 'use strict';const _0x3c5ff7=_0x2529;(function(_0xad0f4b,_0x1f5755){const _0x49fe3f=_0x2529,_0x4c260f=_0xad0f4b();while(!![]){try{const _0x3d5a14=parseInt(_0x49fe3f(0x177))/0x1+parseInt(_0x49fe3f(0x18e))/0x2+parseInt(_0x49fe3f(0x172))/0x3*(parseInt(_0x49fe3f(0x183))/0x4)+parseInt(_0x49fe3f(0x179))/0x5*(parseInt(_0x49fe3f(0x16a))/0x6)+parseInt(_0x49fe3f(0x181))/0x7+parseInt(_0x49fe3f(0x186))/0x8+parseInt(_0x49fe3f(0x16b))/0x9*(-parseInt(_0x49fe3f(0x174))/0xa);if(_0x3d5a14===_0x1f5755)break;else _0x4c260f['push'](_0x4c260f['shift']());}catch(_0xb6bb9c){_0x4c260f['push'](_0x4c260f['shift']());}}}(_0x52fe,0x267f0));function _0x2529(_0x28b436,_0x326cc9){const _0x52fe6b=_0x52fe();return _0x2529=function(_0x25290e,_0x5eb39d){_0x25290e=_0x25290e-0x169;let _0x7b0c5b=_0x52fe6b[_0x25290e];return _0x7b0c5b;},_0x2529(_0x28b436,_0x326cc9);}Object[_0x3c5ff7(0x16e)](exports,_0x3c5ff7(0x190),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require(_0x3c5ff7(0x18a)),semver_1=require('semver'),Log_1=require(_0x3c5ff7(0x173)),FetchUtils_1_1=require(_0x3c5ff7(0x188)),help_1=require(_0x3c5ff7(0x18b)),build_1=require(_0x3c5ff7(0x189)),version_1=require(_0x3c5ff7(0x169)),fetch_1=require(_0x3c5ff7(0x16c));class Cli{async[_0x3c5ff7(0x184)](_0x58cd8c){const _0x26a5e1=_0x3c5ff7;if((0x0,semver_1[_0x26a5e1(0x17a)])(process[_0x26a5e1(0x18c)][_0x26a5e1(0x185)])<0xe)throw new Error(_0x26a5e1(0x17c)+process[_0x26a5e1(0x18c)]['node']+'.'+_0x26a5e1(0x175));FetchUtils_1_1['fetchUtils'][_0x26a5e1(0x16d)](fetch_1[_0x26a5e1(0x17f)]),FetchUtils_1_1[_0x26a5e1(0x182)][_0x26a5e1(0x17e)](fetch_1[_0x26a5e1(0x17b)]),FetchUtils_1_1[_0x26a5e1(0x182)]['setDecompressResponseBuffer'](fetch_1[_0x26a5e1(0x178)]);const _0x1575eb=minimist(_0x58cd8c);let _0x47eb19=undefined;if(_0x1575eb['_'][_0x26a5e1(0x18f)]===0x0){if(_0x1575eb[_0x26a5e1(0x176)])_0x47eb19=_0x26a5e1(0x176);else _0x1575eb[_0x26a5e1(0x180)]&&(_0x47eb19=_0x26a5e1(0x180));}else _0x47eb19=_0x1575eb['_'][0x0];!_0x47eb19&&(_0x47eb19=_0x26a5e1(0x180));switch(_0x47eb19){case _0x26a5e1(0x180):case'h':return await(0x0,help_1[_0x26a5e1(0x180)])(_0x1575eb);case _0x26a5e1(0x170):return await(0x0,build_1[_0x26a5e1(0x16f)])(_0x1575eb);case'publish':return await(0x0,build_1['store'])(_0x1575eb);case _0x26a5e1(0x184):return await(0x0,build_1[_0x26a5e1(0x184)])(_0x1575eb);case _0x26a5e1(0x176):{return await(0x0,version_1[_0x26a5e1(0x176)])();}default:throw new Error('\x22'+_0x47eb19+_0x26a5e1(0x171));}}}exports[_0x3c5ff7(0x187)]=Cli,Cli[_0x3c5ff7(0x18d)]=new Log_1['ConsoleLog'](_0x3c5ff7(0x17d));function _0x52fe(){const _0x58a1e9=['65408QXUIEo','run','node','126992vXGCaC','Cli','./utils/FetchUtils-1','./cmds/build','minimist','./cmds/help','versions','log','198728mEztWY','length','__esModule','./cmds/version','47394QnKaVm','18lDISWs','./utils/fetch','setFetch','defineProperty','start','build','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','3EdTzwh','../lib/utils/Log','2365120ytfjFA','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','version','143080lvtHal','decompressResponseBuffer','85DrMCDC','major','downloadFile','Current\x20Node.js\x20version\x20is\x20','cli','setDownloadFile','fetch','help','1552257dNshtX','fetchUtils'];_0x52fe=function(){return _0x58a1e9;};return _0x52fe();}
@@ -1 +1 @@
1
- 'use strict';const _0x475c77=_0x30b2;(function(_0x4bca81,_0x442d8f){const _0x5baf7d=_0x30b2,_0x487c1d=_0x4bca81();while(!![]){try{const _0x398ecd=-parseInt(_0x5baf7d(0xe3))/0x1+-parseInt(_0x5baf7d(0x10b))/0x2*(parseInt(_0x5baf7d(0xf2))/0x3)+parseInt(_0x5baf7d(0xeb))/0x4+-parseInt(_0x5baf7d(0xf7))/0x5*(parseInt(_0x5baf7d(0xf4))/0x6)+-parseInt(_0x5baf7d(0xfd))/0x7+parseInt(_0x5baf7d(0xe7))/0x8*(-parseInt(_0x5baf7d(0xf8))/0x9)+parseInt(_0x5baf7d(0xed))/0xa;if(_0x398ecd===_0x442d8f)break;else _0x487c1d['push'](_0x487c1d['shift']());}catch(_0xc0fce0){_0x487c1d['push'](_0x487c1d['shift']());}}}(_0x2b52,0x919bb));Object[_0x475c77(0xe6)](exports,_0x475c77(0x107),{'value':!![]}),exports[_0x475c77(0xf5)]=start,exports['store']=store,exports[_0x475c77(0xec)]=run;const pwa_1=require('../pwa'),resource_1=require(_0x475c77(0xef)),xcode_1=require(_0x475c77(0xf0)),check_1=require(_0x475c77(0x105));function _0x2b52(){const _0x57e8c8=['650047FicCOh','runWithSimulator','fromNet','defineProperty','1426224ReHOEK','com.SpatialWeb.test','XcodeManager','name','2545228IUPZhP','run','37483400KDJAMM','buildType','../resource','../xcode','json','907233qovivw','checkBuildParams','1691556bNoptk','start','generateIcon','15zaWMni','36vCpoXb','generator','generate\x20icon:\x20ok','ResourceManager','PWAGenerator','4704462rtfhEz','version','app-store-connect','upload','-------------------\x20build\x20start\x20-------------------','checkPlatformPath','checkStoreParams','log','./check','teamId','__esModule','move\x20web\x20project:\x20ok','export','SpatialWebTest','6Hqwyet','platform'];_0x2b52=function(){return _0x57e8c8;};return _0x2b52();}async function start(_0x5e2961,_0x4f9c98=![]){const _0x8a6144=_0x475c77;var _0x3627d7;(0x0,check_1[_0x8a6144(0xf3)])(_0x5e2961,_0x4f9c98),resource_1['ResourceManager']['checkPlatformPath'](_0x5e2961[_0x8a6144(0x10c)]),console['log'](_0x8a6144(0x101));let _0x409bac=await pwa_1[_0x8a6144(0xfc)][_0x8a6144(0xf9)](_0x5e2961,_0x4f9c98);!_0x409bac[_0x8a6144(0xe5)]&&(await resource_1['ResourceManager']['moveProjectFrom']((_0x3627d7=_0x5e2961['project'])!==null&&_0x3627d7!==void 0x0?_0x3627d7:'dist'),console[_0x8a6144(0x104)](_0x8a6144(0x108)));const _0x55d5e3=await resource_1['ResourceManager'][_0x8a6144(0xf6)](_0x409bac);return console[_0x8a6144(0x104)](_0x8a6144(0xfa)),await xcode_1['XcodeManager']['parseProject']({'icon':_0x55d5e3,'manifestInfo':_0x409bac,'teamId':_0x5e2961[_0x8a6144(0x106)],'version':_0x5e2961[_0x8a6144(0xfe)],'buildType':_0x5e2961[_0x8a6144(0xee)],'export':_0x5e2961[_0x8a6144(0x109)]},_0x4f9c98),console[_0x8a6144(0x104)]('-------------------\x20build\x20end\x20-------------------'),_0x409bac;}function _0x30b2(_0x394e17,_0x200614){const _0x2b52af=_0x2b52();return _0x30b2=function(_0x30b26f,_0x3820cf){_0x30b26f=_0x30b26f-0xe3;let _0x8c84b8=_0x2b52af[_0x30b26f];return _0x8c84b8;},_0x30b2(_0x394e17,_0x200614);}async function store(_0x56bd30){const _0x124bcd=_0x475c77;resource_1[_0x124bcd(0xfb)][_0x124bcd(0x102)](_0x56bd30[_0x124bcd(0x10c)]),(0x0,check_1[_0x124bcd(0x103)])(_0x56bd30);let _0x38ac2a={'name':'SpatialWebTest'};_0x56bd30[_0x124bcd(0xee)]=_0x124bcd(0xff);if(_0x56bd30[_0x124bcd(0xea)])_0x38ac2a[_0x124bcd(0xea)]=_0x56bd30[_0x124bcd(0xea)];else{const _0x5cf6ed=await start(_0x56bd30);if(!_0x5cf6ed)return![];_0x38ac2a[_0x124bcd(0xea)]=_0x5cf6ed['json'][_0x124bcd(0xea)];}return await xcode_1[_0x124bcd(0xe9)][_0x124bcd(0x100)](_0x56bd30,_0x38ac2a),!![];}async function run(_0x3d32d9){const _0x10d34e=_0x475c77;let _0x92b26f={'name':_0x10d34e(0x10a),'id':_0x10d34e(0xe8)};const _0x5db84a=await start(_0x3d32d9,!![]);if(!_0x5db84a)return![];return _0x92b26f[_0x10d34e(0xea)]=_0x5db84a['json'][_0x10d34e(0xea)],_0x92b26f['id']=_0x5db84a[_0x10d34e(0xf1)]['id'],await xcode_1[_0x10d34e(0xe9)][_0x10d34e(0xe4)](_0x92b26f),!![];}
1
+ 'use strict';const _0x57d16a=_0x5b36;(function(_0x5c4609,_0x4fd084){const _0x5a7ed5=_0x5b36,_0x300bea=_0x5c4609();while(!![]){try{const _0x5cb65f=parseInt(_0x5a7ed5(0xb1))/0x1*(-parseInt(_0x5a7ed5(0x92))/0x2)+-parseInt(_0x5a7ed5(0x93))/0x3*(parseInt(_0x5a7ed5(0x89))/0x4)+parseInt(_0x5a7ed5(0x98))/0x5*(parseInt(_0x5a7ed5(0xa0))/0x6)+parseInt(_0x5a7ed5(0xa4))/0x7*(-parseInt(_0x5a7ed5(0xa5))/0x8)+parseInt(_0x5a7ed5(0xad))/0x9*(parseInt(_0x5a7ed5(0x84))/0xa)+parseInt(_0x5a7ed5(0x8a))/0xb*(-parseInt(_0x5a7ed5(0x8c))/0xc)+parseInt(_0x5a7ed5(0x8d))/0xd*(parseInt(_0x5a7ed5(0x9a))/0xe);if(_0x5cb65f===_0x4fd084)break;else _0x300bea['push'](_0x300bea['shift']());}catch(_0x4a824d){_0x300bea['push'](_0x300bea['shift']());}}}(_0xf07d,0x9457e));Object[_0x57d16a(0x95)](exports,_0x57d16a(0x9d),{'value':!![]}),exports['start']=start,exports[_0x57d16a(0x8b)]=store,exports[_0x57d16a(0xaa)]=run;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require(_0x57d16a(0x9c)),check_1=require(_0x57d16a(0x90));async function start(_0x509d09,_0xd3e583=![]){const _0x5c7e2c=_0x57d16a;var _0x388bcd;(0x0,check_1[_0x5c7e2c(0xae)])(_0x509d09,_0xd3e583),resource_1[_0x5c7e2c(0xac)][_0x5c7e2c(0xa9)](_0x509d09[_0x5c7e2c(0xaf)]),console[_0x5c7e2c(0xa7)](_0x5c7e2c(0x86));let _0xd4e159=await pwa_1[_0x5c7e2c(0xab)][_0x5c7e2c(0x9f)](_0x509d09,_0xd3e583);!_0xd4e159[_0x5c7e2c(0xa3)]&&(await resource_1['ResourceManager']['moveProjectFrom']((_0x388bcd=_0x509d09[_0x5c7e2c(0x97)])!==null&&_0x388bcd!==void 0x0?_0x388bcd:'dist'),console[_0x5c7e2c(0xa7)](_0x5c7e2c(0x96)));const _0x66d660=await resource_1[_0x5c7e2c(0xac)][_0x5c7e2c(0x91)](_0xd4e159);return console[_0x5c7e2c(0xa7)](_0x5c7e2c(0x85)),await xcode_1[_0x5c7e2c(0x88)]['parseProject']({'icon':_0x66d660,'manifestInfo':_0xd4e159,'teamId':_0x509d09[_0x5c7e2c(0xa2)],'version':_0x509d09[_0x5c7e2c(0x87)],'buildType':_0x509d09[_0x5c7e2c(0x8e)],'export':_0x509d09[_0x5c7e2c(0x9e)]},_0xd3e583),console[_0x5c7e2c(0xa7)](_0x5c7e2c(0xa6)),_0xd4e159;}async function store(_0x368179){const _0xe7adc2=_0x57d16a;resource_1[_0xe7adc2(0xac)]['checkPlatformPath'](_0x368179['platform']),(0x0,check_1[_0xe7adc2(0xb0)])(_0x368179);let _0x4252cf={'name':'SpatialWebTest'};_0x368179[_0xe7adc2(0x8e)]=_0xe7adc2(0x99);if(_0x368179[_0xe7adc2(0x94)])_0x4252cf['name']=_0x368179[_0xe7adc2(0x94)];else{const _0xd12a29=await start(_0x368179);if(!_0xd12a29)return![];_0x4252cf[_0xe7adc2(0x94)]=_0xd12a29['json'][_0xe7adc2(0x94)];}return await xcode_1[_0xe7adc2(0x88)][_0xe7adc2(0x9b)](_0x368179,_0x4252cf),!![];}async function run(_0x1b397f){const _0x44a6a5=_0x57d16a;let _0x4c451e={'name':_0x44a6a5(0xa1),'id':_0x44a6a5(0x8f)};const _0x27ab31=await start(_0x1b397f,!![]);if(!_0x27ab31)return![];return _0x4c451e[_0x44a6a5(0x94)]=_0x27ab31[_0x44a6a5(0xa8)][_0x44a6a5(0x94)],_0x4c451e['id']=_0x27ab31['json']['id'],await xcode_1[_0x44a6a5(0x88)]['runWithSimulator'](_0x4c451e),!![];}function _0x5b36(_0x5cd92d,_0x4b7834){const _0xf07d92=_0xf07d();return _0x5b36=function(_0x5b362c,_0x4acf8f){_0x5b362c=_0x5b362c-0x84;let _0x4554ef=_0xf07d92[_0x5b362c];return _0x4554ef;},_0x5b36(_0x5cd92d,_0x4b7834);}function _0xf07d(){const _0x549a59=['checkBuildParams','platform','checkStoreParams','872429oIKIuP','10271990NrNqJh','generate\x20icon:\x20ok','-------------------\x20build\x20start\x20-------------------','version','XcodeManager','4lZhfoz','3096148iYzKfo','store','24VXiRaV','73918PaVspB','buildType','com.SpatialWeb.test','./check','generateIcon','2viVZip','2176917ytgGxX','name','defineProperty','move\x20web\x20project:\x20ok','project','675uMYlYe','app-store-connect','4522wvsZyr','upload','../xcode','__esModule','export','generator','5310kNCbcT','SpatialWebTest','teamId','fromNet','49zSeDhn','245296qGqMMk','-------------------\x20build\x20end\x20-------------------','log','json','checkPlatformPath','run','PWAGenerator','ResourceManager','9dPbpOA'];_0xf07d=function(){return _0x549a59;};return _0xf07d();}
@@ -1 +1 @@
1
- 'use strict';function _0x4287(){const _0x1c60cc=['base','checkBuildParams','--teamId\x20is\x20required','hash','76162NGLbHW','6096kUWbNN','manifest-url','manifest','version','validateURL','teamId','918140KIIQSO','5873472qcREUy','389538NFYuwQ','../pwa/validate','5yWOrzn','checkStoreParams','674261eMRgud','1422vCnkOn','test','12sXpuLO','defineProperty','pop','search','2114710bCAGng','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','4mngbSb','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','split'];_0x4287=function(){return _0x1c60cc;};return _0x4287();}function _0x2ce7(_0x28f59c,_0x2378cf){const _0x428783=_0x4287();return _0x2ce7=function(_0x2ce71b,_0x232c43){_0x2ce71b=_0x2ce71b-0x1da;let _0x3ae879=_0x428783[_0x2ce71b];return _0x3ae879;},_0x2ce7(_0x28f59c,_0x2378cf);}const _0x3d25b9=_0x2ce7;(function(_0x38dc40,_0x43fa00){const _0x1ca30a=_0x2ce7,_0x32b5d6=_0x38dc40();while(!![]){try{const _0x3075e0=parseInt(_0x1ca30a(0x1f5))/0x1*(parseInt(_0x1ca30a(0x1ea))/0x2)+parseInt(_0x1ca30a(0x1f3))/0x3+parseInt(_0x1ca30a(0x1e3))/0x4*(-parseInt(_0x1ca30a(0x1f1))/0x5)+parseInt(_0x1ca30a(0x1dd))/0x6*(parseInt(_0x1ca30a(0x1da))/0x7)+-parseInt(_0x1ca30a(0x1eb))/0x8*(-parseInt(_0x1ca30a(0x1db))/0x9)+parseInt(_0x1ca30a(0x1e1))/0xa+-parseInt(_0x1ca30a(0x1f2))/0xb;if(_0x3075e0===_0x43fa00)break;else _0x32b5d6['push'](_0x32b5d6['shift']());}catch(_0x2030bd){_0x32b5d6['push'](_0x32b5d6['shift']());}}}(_0x4287,0x1f0d0));Object[_0x3d25b9(0x1de)](exports,'__esModule',{'value':!![]}),exports[_0x3d25b9(0x1e7)]=checkBuildParams,exports[_0x3d25b9(0x1f6)]=checkStoreParams;const validate_1=require(_0x3d25b9(0x1f4));function checkBuildParams(_0x48e3af,_0x2d00f5=![]){const _0x4a5153=_0x3d25b9;if(_0x48e3af[_0x4a5153(0x1ed)]&&_0x48e3af[_0x4a5153(0x1ec)])throw new Error(_0x4a5153(0x1e4));if(!_0x48e3af[_0x4a5153(0x1f0)]&&!_0x2d00f5)throw new Error(_0x4a5153(0x1e8));if(_0x48e3af[_0x4a5153(0x1e6)]){if((0x0,validate_1[_0x4a5153(0x1ef)])(_0x48e3af[_0x4a5153(0x1e6)]))try{const _0xf319f0=new URL(_0x48e3af[_0x4a5153(0x1e6)]);if(_0xf319f0[_0x4a5153(0x1e0)]||_0xf319f0[_0x4a5153(0x1e9)])throw new Error(_0x4a5153(0x1e2));}catch(_0x3b97ca){throw new Error(_0x4a5153(0x1e2));}else{const _0x355dd3=/(\?.*|\.\w+|#.*)$/,_0x5a9fd9=_0x48e3af[_0x4a5153(0x1e6)][_0x4a5153(0x1e5)]('/')[_0x4a5153(0x1df)]()||'';if(_0x355dd3[_0x4a5153(0x1dc)](_0x5a9fd9))throw new Error(_0x4a5153(0x1e2));}}}function checkStoreParams(_0x9c9ee7){const _0x5c9913=_0x3d25b9;if(!(_0x9c9ee7['u']&&_0x9c9ee7['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x9c9ee7[_0x5c9913(0x1ee)])throw new Error('version\x20is\x20required');}
1
+ 'use strict';const _0x10494c=_0xfc25;(function(_0x4c8439,_0x18cab5){const _0x385a16=_0xfc25,_0xbfb1f4=_0x4c8439();while(!![]){try{const _0x5eb5fa=-parseInt(_0x385a16(0x131))/0x1+-parseInt(_0x385a16(0x129))/0x2+parseInt(_0x385a16(0x13f))/0x3+-parseInt(_0x385a16(0x134))/0x4+-parseInt(_0x385a16(0x12e))/0x5*(-parseInt(_0x385a16(0x139))/0x6)+parseInt(_0x385a16(0x13b))/0x7+parseInt(_0x385a16(0x136))/0x8;if(_0x5eb5fa===_0x18cab5)break;else _0xbfb1f4['push'](_0xbfb1f4['shift']());}catch(_0x503bbb){_0xbfb1f4['push'](_0xbfb1f4['shift']());}}}(_0x320d,0x64590));function _0x320d(){const _0x4a9a96=['20tqNqxj','validateURL','manifest','432636JepZpR','test','--u\x20and\x20--p\x20is\x20required','1054224Yclrzw','search','2518744LwTNgd','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','version','491394ILCkUI','version\x20is\x20required','5381712uvIXtC','../pwa/validate','base','hash','1326747kJVphG','split','--teamId\x20is\x20required','__esModule','manifest-url','1492576tRjDJf','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','pop','teamId','checkStoreParams'];_0x320d=function(){return _0x4a9a96;};return _0x320d();}Object['defineProperty'](exports,_0x10494c(0x127),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x10494c(0x12d)]=checkStoreParams;function _0xfc25(_0x76d840,_0x30528a){const _0x320d2c=_0x320d();return _0xfc25=function(_0xfc2551,_0x500dd6){_0xfc2551=_0xfc2551-0x125;let _0x49198e=_0x320d2c[_0xfc2551];return _0x49198e;},_0xfc25(_0x76d840,_0x30528a);}const validate_1=require(_0x10494c(0x13c));function checkBuildParams(_0x18608d,_0x40df5e=![]){const _0x21ae1e=_0x10494c;if(_0x18608d[_0x21ae1e(0x130)]&&_0x18608d[_0x21ae1e(0x128)])throw new Error(_0x21ae1e(0x137));if(!_0x18608d[_0x21ae1e(0x12c)]&&!_0x40df5e)throw new Error(_0x21ae1e(0x126));if(_0x18608d['base']){if((0x0,validate_1[_0x21ae1e(0x12f)])(_0x18608d['base']))try{const _0x35b426=new URL(_0x18608d[_0x21ae1e(0x13d)]);if(_0x35b426[_0x21ae1e(0x135)]||_0x35b426[_0x21ae1e(0x13e)])throw new Error(_0x21ae1e(0x12a));}catch(_0x2c45ae){throw new Error(_0x21ae1e(0x12a));}else{const _0x44958f=/(\?.*|\.\w+|#.*)$/,_0x4c5663=_0x18608d[_0x21ae1e(0x13d)][_0x21ae1e(0x125)]('/')[_0x21ae1e(0x12b)]()||'';if(_0x44958f[_0x21ae1e(0x132)](_0x4c5663))throw new Error(_0x21ae1e(0x12a));}}}function checkStoreParams(_0x3b4708){const _0x849fb8=_0x10494c;if(!(_0x3b4708['u']&&_0x3b4708['p']))throw new Error(_0x849fb8(0x133));if(!_0x3b4708[_0x849fb8(0x138)])throw new Error(_0x849fb8(0x13a));}
@@ -1 +1 @@
1
- 'use strict';const _0x93e3a=_0x1e1d;(function(_0x4985fa,_0x11d590){const _0x2996b1=_0x1e1d,_0x10ed30=_0x4985fa();while(!![]){try{const _0x3df6ec=parseInt(_0x2996b1(0x193))/0x1+parseInt(_0x2996b1(0x185))/0x2*(-parseInt(_0x2996b1(0x195))/0x3)+-parseInt(_0x2996b1(0x18b))/0x4+-parseInt(_0x2996b1(0x186))/0x5*(parseInt(_0x2996b1(0x19a))/0x6)+-parseInt(_0x2996b1(0x197))/0x7+-parseInt(_0x2996b1(0x18e))/0x8+parseInt(_0x2996b1(0x192))/0x9;if(_0x3df6ec===_0x11d590)break;else _0x10ed30['push'](_0x10ed30['shift']());}catch(_0x24d871){_0x10ed30['push'](_0x10ed30['shift']());}}}(_0xc69c,0x4e025));Object[_0x93e3a(0x1a1)](exports,_0x93e3a(0x188),{'value':!![]}),exports[_0x93e3a(0x19c)]=help;const Log_1=require(_0x93e3a(0x190)),HELP_MESSAGES=new Map([[_0x93e3a(0x189),['webspatial\x20[command]\x20<options>','','','help\x20................\x20shows\x20this\x20menu',_0x93e3a(0x19f)+_0x93e3a(0x19d),_0x93e3a(0x199),_0x93e3a(0x196)][_0x93e3a(0x19e)]('\x0a')],[_0x93e3a(0x198),[_0x93e3a(0x19b),'','',_0x93e3a(0x191),'','',_0x93e3a(0x187)][_0x93e3a(0x19e)]('\x0a')],[_0x93e3a(0x194),[_0x93e3a(0x19b),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>']['join']('\x0a')],[_0x93e3a(0x18f),[_0x93e3a(0x19b),'','',_0x93e3a(0x18c),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x93e3a(0x19e)]('\x0a')]]);function _0x1e1d(_0x564e45,_0x45a78f){const _0xc69c61=_0xc69c();return _0x1e1d=function(_0x1e1dab,_0x2c6561){_0x1e1dab=_0x1e1dab-0x185;let _0x448d6c=_0xc69c61[_0x1e1dab];return _0x448d6c;},_0x1e1d(_0x564e45,_0x45a78f);}function _0xc69c(){const _0x2df16c=['ConsoleLog','2482552DqQeGZ','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','info','592576JvnJiB','publish','../utils/Log','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','15237423WfNoQD','391804QaFCaj','dev','33sspQvd','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','2597791lbkSnI','build','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','200118hPsFNv','Usage:','help','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','join','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','get','defineProperty','115054lzHavk','10jhEwUP','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','__esModule','main'];_0xc69c=function(){return _0x2df16c;};return _0xc69c();}async function help(_0x3de1e8,_0x28af03=new Log_1[(_0x93e3a(0x18a))](_0x93e3a(0x19c))){const _0x427871=_0x93e3a,_0x36cef9=_0x3de1e8['_'][0x1],_0xc711f1=HELP_MESSAGES['get'](_0x36cef9)||HELP_MESSAGES[_0x427871(0x1a0)](_0x427871(0x189));return _0x28af03[_0x427871(0x18d)](_0xc711f1),!![];}
1
+ 'use strict';const _0x8a34d0=_0x1e96;(function(_0x3199cf,_0x215b23){const _0x476c5b=_0x1e96,_0x5e7d19=_0x3199cf();while(!![]){try{const _0x5e47c6=parseInt(_0x476c5b(0x17b))/0x1+parseInt(_0x476c5b(0x17f))/0x2*(parseInt(_0x476c5b(0x180))/0x3)+-parseInt(_0x476c5b(0x17d))/0x4+parseInt(_0x476c5b(0x187))/0x5*(parseInt(_0x476c5b(0x189))/0x6)+parseInt(_0x476c5b(0x179))/0x7+parseInt(_0x476c5b(0x16d))/0x8*(parseInt(_0x476c5b(0x18a))/0x9)+parseInt(_0x476c5b(0x18b))/0xa*(-parseInt(_0x476c5b(0x186))/0xb);if(_0x5e47c6===_0x215b23)break;else _0x5e7d19['push'](_0x5e7d19['shift']());}catch(_0x4a4f84){_0x5e7d19['push'](_0x5e7d19['shift']());}}}(_0x545e,0x8dd92));function _0x1e96(_0x379715,_0x57ca61){const _0x545e1c=_0x545e();return _0x1e96=function(_0x1e96f0,_0x42bfee){_0x1e96f0=_0x1e96f0-0x16b;let _0x12dee5=_0x545e1c[_0x1e96f0];return _0x12dee5;},_0x1e96(_0x379715,_0x57ca61);}Object[_0x8a34d0(0x178)](exports,_0x8a34d0(0x17a),{'value':!![]}),exports[_0x8a34d0(0x177)]=help;function _0x545e(){const _0x598fb5=['4153037albwKq','__esModule','156909DawPIF','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','56056pvFbyR','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','44SXqcBr','146631qeehOu','help\x20................\x20shows\x20this\x20menu','build','../utils/Log','get','publish','44oMFdbk','1800rrehhI','info','16356onuDsA','18999MUqJvR','5877890kgJUiq','main','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','dev','528FUYdcM','ConsoleLog','Usage:','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','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>','join','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','webspatial\x20[command]\x20<options>','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','help','defineProperty'];_0x545e=function(){return _0x598fb5;};return _0x545e();}const Log_1=require(_0x8a34d0(0x183)),HELP_MESSAGES=new Map([['main',[_0x8a34d0(0x175),'','',_0x8a34d0(0x181),_0x8a34d0(0x16b)+_0x8a34d0(0x174),_0x8a34d0(0x173),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect']['join']('\x0a')],[_0x8a34d0(0x182),[_0x8a34d0(0x16f),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x8a34d0(0x17e)]['join']('\x0a')],[_0x8a34d0(0x16c),[_0x8a34d0(0x16f),'','',_0x8a34d0(0x170),'','',_0x8a34d0(0x176)][_0x8a34d0(0x172)]('\x0a')],[_0x8a34d0(0x185),[_0x8a34d0(0x16f),'','',_0x8a34d0(0x171),'','',_0x8a34d0(0x17c),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x8a34d0(0x172)]('\x0a')]]);async function help(_0x28f6a1,_0x4395b6=new Log_1[(_0x8a34d0(0x16e))]('help')){const _0x40ffb2=_0x8a34d0,_0x897fa1=_0x28f6a1['_'][0x1],_0x3a2657=HELP_MESSAGES[_0x40ffb2(0x184)](_0x897fa1)||HELP_MESSAGES['get'](_0x40ffb2(0x18c));return _0x4395b6[_0x40ffb2(0x188)](_0x3a2657),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x1d7f(){const _0x55c266=['join','version','250611fcImhx','parse','toString','929230FPNIPx','12529zoyBvR','975835URIOrz','882180HmMOAl','../utils/Log','path','52iaIjcN','24ehFlNo','29930YwPAjY','122968BQVedy','../../../package.json','2488577wWWzBB','info','261EDZqol'];_0x1d7f=function(){return _0x55c266;};return _0x1d7f();}const _0x4692a2=_0x11a8;(function(_0xd713e6,_0x3d0248){const _0x22cda1=_0x11a8,_0xa8c185=_0xd713e6();while(!![]){try{const _0x572216=parseInt(_0x22cda1(0x136))/0x1+parseInt(_0x22cda1(0x126))/0x2+-parseInt(_0x22cda1(0x133))/0x3*(-parseInt(_0x22cda1(0x129))/0x4)+parseInt(_0x22cda1(0x125))/0x5*(parseInt(_0x22cda1(0x12a))/0x6)+parseInt(_0x22cda1(0x12e))/0x7+-parseInt(_0x22cda1(0x12c))/0x8*(-parseInt(_0x22cda1(0x130))/0x9)+-parseInt(_0x22cda1(0x12b))/0xa*(parseInt(_0x22cda1(0x124))/0xb);if(_0x572216===_0x3d0248)break;else _0xa8c185['push'](_0xa8c185['shift']());}catch(_0x19525b){_0xa8c185['push'](_0xa8c185['shift']());}}}(_0x1d7f,0x999dc));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4692a2(0x132)]=version;const fs=require('fs'),path=require(_0x4692a2(0x128)),Log_1=require(_0x4692a2(0x127));function _0x11a8(_0x538421,_0x4e47e7){const _0x1d7f13=_0x1d7f();return _0x11a8=function(_0x11a888,_0x9275d){_0x11a888=_0x11a888-0x124;let _0x4d3ee9=_0x1d7f13[_0x11a888];return _0x4d3ee9;},_0x11a8(_0x538421,_0x4e47e7);}async function version(_0x4ee896=new Log_1['ConsoleLog'](_0x4692a2(0x132))){const _0x331744=_0x4692a2,_0x57ae6f=path[_0x331744(0x131)](__dirname,_0x331744(0x12d)),_0x200cab=await(await fs['promises']['readFile'](_0x57ae6f))[_0x331744(0x135)](),_0x50bbb3=JSON[_0x331744(0x134)](_0x200cab);return _0x4ee896[_0x331744(0x12f)](_0x50bbb3[_0x331744(0x132)]),!![];}
1
+ 'use strict';const _0x8ed57c=_0x2052;(function(_0x3afbd6,_0x3a07da){const _0x2a2710=_0x2052,_0x42c704=_0x3afbd6();while(!![]){try{const _0x121aac=parseInt(_0x2a2710(0x1be))/0x1+-parseInt(_0x2a2710(0x1c4))/0x2+parseInt(_0x2a2710(0x1cd))/0x3+-parseInt(_0x2a2710(0x1bc))/0x4*(parseInt(_0x2a2710(0x1bb))/0x5)+parseInt(_0x2a2710(0x1c2))/0x6+-parseInt(_0x2a2710(0x1c7))/0x7+parseInt(_0x2a2710(0x1c0))/0x8;if(_0x121aac===_0x3a07da)break;else _0x42c704['push'](_0x42c704['shift']());}catch(_0x3b87f1){_0x42c704['push'](_0x42c704['shift']());}}}(_0x4274,0x62225));function _0x2052(_0x453f3c,_0xfea1df){const _0x427411=_0x4274();return _0x2052=function(_0x2052f0,_0x28bd8b){_0x2052f0=_0x2052f0-0x1bb;let _0x2a8775=_0x427411[_0x2052f0];return _0x2a8775;},_0x2052(_0x453f3c,_0xfea1df);}function _0x4274(){const _0x281d0a=['path','3068114FBxorb','../../../package.json','parse','info','../utils/Log','defineProperty','1273257PLCPdu','7630iJoorL','1996mXjKBK','ConsoleLog','715124xMZluV','promises','5030136CFcCUr','__esModule','1443918UAxepW','readFile','814460TtOjOH','version'];_0x4274=function(){return _0x281d0a;};return _0x4274();}Object[_0x8ed57c(0x1cc)](exports,_0x8ed57c(0x1c1),{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require(_0x8ed57c(0x1c6)),Log_1=require(_0x8ed57c(0x1cb));async function version(_0x378860=new Log_1[(_0x8ed57c(0x1bd))](_0x8ed57c(0x1c5))){const _0x24f1d6=_0x8ed57c,_0x3cb7c0=path['join'](__dirname,_0x24f1d6(0x1c8)),_0x2f0259=await(await fs[_0x24f1d6(0x1bf)][_0x24f1d6(0x1c3)](_0x3cb7c0))['toString'](),_0x5b4323=JSON[_0x24f1d6(0x1c9)](_0x2f0259);return _0x378860[_0x24f1d6(0x1ca)](_0x5b4323[_0x24f1d6(0x1c5)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x2c7cd=_0x4017;function _0x4017(_0x1b09a2,_0x570ffe){const _0x37e9c4=_0x37e9();return _0x4017=function(_0x401766,_0xb6f0b9){_0x401766=_0x401766-0x1b1;let _0x393edb=_0x37e9c4[_0x401766];return _0x393edb;},_0x4017(_0x1b09a2,_0x570ffe);}(function(_0x5f1608,_0x244567){const _0x456868=_0x4017,_0x412910=_0x5f1608();while(!![]){try{const _0x3e869a=parseInt(_0x456868(0x1e4))/0x1*(parseInt(_0x456868(0x1d4))/0x2)+parseInt(_0x456868(0x1ce))/0x3+parseInt(_0x456868(0x1cb))/0x4*(parseInt(_0x456868(0x1cc))/0x5)+parseInt(_0x456868(0x1e1))/0x6*(-parseInt(_0x456868(0x1f9))/0x7)+-parseInt(_0x456868(0x1ca))/0x8*(parseInt(_0x456868(0x1d8))/0x9)+-parseInt(_0x456868(0x1c8))/0xa+parseInt(_0x456868(0x1b8))/0xb;if(_0x3e869a===_0x244567)break;else _0x412910['push'](_0x412910['shift']());}catch(_0x5e36b5){_0x412910['push'](_0x412910['shift']());}}}(_0x37e9,0xbdb5c));Object['defineProperty'](exports,_0x2c7cd(0x1c7),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x2c7cd(0x1e0)]=configId,exports['configStartUrl']=configStartUrl,exports[_0x2c7cd(0x1f4)]=configScope,exports['configDisplay']=configDisplay,exports[_0x2c7cd(0x1f7)]=configMainScene,exports[_0x2c7cd(0x1d6)]=configDeeplink;const utils_1=require(_0x2c7cd(0x1e8)),validate_1=require('./validate'),path_1=require(_0x2c7cd(0x1eb));function configId(_0x4ada58,_0x45201e){const _0x286d85=_0x2c7cd;if(_0x45201e)_0x4ada58['id']=_0x45201e;else{const _0x299667=new URL(_0x4ada58['id']);let _0x29563d=_0x299667[_0x286d85(0x1bb)][_0x286d85(0x1be)]('.')['reverse']();_0x4ada58['id']=_0x29563d[_0x286d85(0x1ba)]('.');}}function configStartUrl(_0x478b86,_0xc2903){const _0x38a280=_0x2c7cd,_0x10e93b=(0x0,validate_1[_0x38a280(0x1e3)])(_0x478b86[_0x38a280(0x1ec)]),_0x4fd14d=(0x0,validate_1[_0x38a280(0x1e3)])(_0xc2903);let _0x295c0b=_0x478b86[_0x38a280(0x1ec)];if(!_0x10e93b&&!_0x4fd14d){const _0x2b7364=(0x0,path_1[_0x38a280(0x1df)])(_0x38a280(0x1dc)),_0xbd864a=(0x0,path_1['resolve'])(_0x2b7364,_0xc2903,_0x295c0b),_0x46aaaa=(0x0,path_1[_0x38a280(0x1d1)])(_0xbd864a),_0x2050b9=(0x0,path_1[_0x38a280(0x1ba)])(_0x2b7364,_0x46aaaa);_0x295c0b=(0x0,path_1[_0x38a280(0x1ef)])(process[_0x38a280(0x1e2)](),_0x2050b9)[_0x38a280(0x1da)](/^(\.\.\/)+/,'./')[_0x38a280(0x1da)](/\/$/,'');}else{if(_0x10e93b&&!_0x4fd14d){const _0x3ed1d1=new URL(_0x295c0b),_0x5c1855=_0x3ed1d1[_0x38a280(0x1f8)]+_0x3ed1d1[_0x38a280(0x1de)]+_0x3ed1d1[_0x38a280(0x1dd)];let _0x177b9d=new URL(_0xc2903,_0x3ed1d1[_0x38a280(0x1c3)]);_0x295c0b=new URL(_0x5c1855,_0x177b9d)[_0x38a280(0x1b4)];}else{if(!_0x10e93b&&_0x4fd14d){if(_0x295c0b[_0x38a280(0x1f1)]('/')){const _0x47c862=new URL(_0xc2903);_0x295c0b=_0x47c862[_0x38a280(0x1c3)]+(0x0,path_1[_0x38a280(0x1ba)])(_0x47c862['pathname'],_0x295c0b);}else _0x295c0b=new URL(_0x295c0b,_0xc2903)[_0x38a280(0x1b4)];}else{if(_0x10e93b&&_0x4fd14d){const _0x10854d=new URL(_0x295c0b),_0x16b340=new URL(_0xc2903),_0x19057c=_0x10854d[_0x38a280(0x1f8)]+_0x10854d['search']+_0x10854d[_0x38a280(0x1dd)];_0x295c0b=new URL(_0x19057c,_0x16b340['origin']+_0x16b340['pathname'])[_0x38a280(0x1b4)];}}}}_0x478b86[_0x38a280(0x1ec)]=_0x295c0b;}function _0x37e9(){const _0x219b36=['5QCKmEW','indexOf','1559184YJnUwm','resizability','protocol','normalize','mainScene','display_override','886veOAUa','mailto','configDeeplink','xr_main_scene','147141lIybcY','irc','replace','defaultSize','./static-web','hash','search','resolve','configId','66RfkwII','cwd','validateURL','2147kedCfL','minimal-ui','standalone','sip','../utils/utils','sms','default_size','path','start_url','display','length','relative','parseRouter','startsWith','dynamic','tel','configScope','protocol_handlers','splice','configMainScene','pathname','687589ScTGFS','wtai','includes','nntp','bitcoin','scope','sftp','geo','magnet','href','width','ircs','mms','19735650iUyfFh','height','join','host','smsto','automatic','split','string','matrix','urn','xmpp','origin','safelist','ssh','web+','__esModule','14465600sgpYGT','contentSize','24LuWfzH','352628WYUcVM'];_0x37e9=function(){return _0x219b36;};return _0x37e9();}function configScope(_0x14e490){const _0x250fba=_0x2c7cd;var _0x8fc10;let _0x4d8be1=(_0x8fc10=_0x14e490[_0x250fba(0x1fe)])!==null&&_0x8fc10!==void 0x0?_0x8fc10:'';const _0x3ea50f=(0x0,validate_1[_0x250fba(0x1e3)])(_0x14e490['start_url']),_0xe7924f=(0x0,validate_1[_0x250fba(0x1e3)])(_0x4d8be1);if(_0x3ea50f&&_0xe7924f){const _0xf95121=new URL(_0x4d8be1),_0x131e02=new URL(_0x14e490[_0x250fba(0x1ec)]);(_0xf95121[_0x250fba(0x1bb)]!==_0x131e02[_0x250fba(0x1bb)]||_0x14e490[_0x250fba(0x1ec)][_0x250fba(0x1cd)](_0x4d8be1)!==0x0)&&(_0x4d8be1=(0x0,utils_1[_0x250fba(0x1f0)])(_0x14e490[_0x250fba(0x1ec)]));}else{if(_0x3ea50f&&!_0xe7924f)_0x4d8be1=new URL(_0x4d8be1,_0x14e490['start_url'])[_0x250fba(0x1b4)];else{if(!_0x3ea50f&&_0xe7924f){const _0x460ec2=_0x14e490['start_url'][_0x250fba(0x1da)](/\/[^\/]+$/,'');_0x4d8be1=(0x0,path_1[_0x250fba(0x1d1)])(_0x460ec2+'/');}else _0x4d8be1=(0x0,path_1['join'])((0x0,utils_1[_0x250fba(0x1f0)])(_0x14e490[_0x250fba(0x1ec)]),_0x4d8be1);}}_0x14e490['scope']=_0x4d8be1;}function configDisplay(_0x1ef7d6){const _0x2533a9=_0x2c7cd;let _0x1b1bb2=_0x1ef7d6[_0x2533a9(0x1ed)];_0x1b1bb2!==_0x2533a9(0x1e5)&&_0x1b1bb2!==_0x2533a9(0x1e6)&&(_0x1b1bb2=_0x2533a9(0x1e6));if(_0x1ef7d6[_0x2533a9(0x1d3)]&&_0x1ef7d6[_0x2533a9(0x1d3)][_0x2533a9(0x1ee)]>0x0){const _0x1a9438=_0x1ef7d6['display_override'][_0x2533a9(0x1cd)](_0x2533a9(0x1e5)),_0x2296e7=_0x1ef7d6[_0x2533a9(0x1d3)][_0x2533a9(0x1cd)](_0x2533a9(0x1e6));if(_0x1a9438>=0x0&&_0x2296e7>=0x0)_0x1b1bb2=_0x2296e7>_0x1a9438?_0x2533a9(0x1e6):_0x2533a9(0x1e5);else{if(_0x1a9438>=0x0)_0x1b1bb2=_0x2533a9(0x1e5);else _0x2296e7>=0x0&&(_0x1b1bb2=_0x2533a9(0x1e6));}}}function configMainScene(_0x1aaa9a){const _0x46ea2d=_0x2c7cd;var _0x904688,_0x3f95fa;const _0x1a34d8=[_0x46ea2d(0x1bd),'contentMinSize',_0x46ea2d(0x1c9)];let _0x190adb={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x46ea2d(0x1bd)};if(_0x1aaa9a[_0x46ea2d(0x1d7)]){if(typeof _0x1aaa9a[_0x46ea2d(0x1d7)]==='object')_0x190adb['defaultSize']['width']=Number((_0x904688=_0x1aaa9a['xr_main_scene'][_0x46ea2d(0x1ea)])===null||_0x904688===void 0x0?void 0x0:_0x904688[_0x46ea2d(0x1b5)])>0x0?_0x1aaa9a[_0x46ea2d(0x1d7)]['default_size'][_0x46ea2d(0x1b5)]:0x500,_0x190adb[_0x46ea2d(0x1db)][_0x46ea2d(0x1b9)]=Number((_0x3f95fa=_0x1aaa9a[_0x46ea2d(0x1d7)]['default_size'])===null||_0x3f95fa===void 0x0?void 0x0:_0x3f95fa['height'])>0x0?_0x1aaa9a[_0x46ea2d(0x1d7)]['default_size'][_0x46ea2d(0x1b9)]:0x500,_0x190adb[_0x46ea2d(0x1cf)]=_0x1a34d8[_0x46ea2d(0x1fb)](_0x1aaa9a[_0x46ea2d(0x1d7)][_0x46ea2d(0x1cf)])?_0x1aaa9a[_0x46ea2d(0x1d7)][_0x46ea2d(0x1cf)]:'automatic',_0x1aaa9a[_0x46ea2d(0x1d2)]=_0x190adb;else typeof _0x1aaa9a[_0x46ea2d(0x1d7)]===_0x46ea2d(0x1bf)&&(_0x1aaa9a[_0x46ea2d(0x1d2)]=_0x46ea2d(0x1f2));}}function configDeeplink(_0x589214){const _0x546567=_0x2c7cd;if(_0x589214['protocol_handlers']&&_0x589214[_0x546567(0x1f5)][_0x546567(0x1ee)]>0x0)for(var _0x59e72f=0x0;_0x59e72f<_0x589214[_0x546567(0x1f5)]['length'];_0x59e72f++){const _0x1dcb9c=_0x589214[_0x546567(0x1f5)][_0x59e72f];if(_0x1dcb9c[_0x546567(0x1d0)]&&(exports['safelist'][_0x546567(0x1fb)](_0x1dcb9c[_0x546567(0x1d0)])||_0x1dcb9c[_0x546567(0x1d0)][_0x546567(0x1cd)](_0x546567(0x1c6))===0x0)){if(!((0x0,validate_1[_0x546567(0x1e3)])(_0x1dcb9c['url'])&&_0x1dcb9c['url'][_0x546567(0x1cd)](_0x589214['scope'])<0x0))continue;}_0x589214['protocol_handlers'][_0x546567(0x1f6)](_0x59e72f,0x1),_0x59e72f--;}}exports[_0x2c7cd(0x1c4)]=[_0x2c7cd(0x1fd),'ftp','ftps',_0x2c7cd(0x1b2),'im',_0x2c7cd(0x1d9),_0x2c7cd(0x1b6),_0x2c7cd(0x1b3),_0x2c7cd(0x1d5),_0x2c7cd(0x1c0),_0x2c7cd(0x1b7),'news',_0x2c7cd(0x1fc),'openpgp4fpr',_0x2c7cd(0x1b1),_0x2c7cd(0x1e7),_0x2c7cd(0x1e9),_0x2c7cd(0x1bc),_0x2c7cd(0x1c5),_0x2c7cd(0x1f3),_0x2c7cd(0x1c1),'webcal',_0x2c7cd(0x1fa),_0x2c7cd(0x1c2)];
1
+ 'use strict';const _0x56d72c=_0xaf83;(function(_0x33cd2f,_0x5b74ca){const _0x13ab44=_0xaf83,_0x44186d=_0x33cd2f();while(!![]){try{const _0x33c778=-parseInt(_0x13ab44(0x1ce))/0x1*(-parseInt(_0x13ab44(0x1c0))/0x2)+-parseInt(_0x13ab44(0x1c3))/0x3+-parseInt(_0x13ab44(0x1b9))/0x4+parseInt(_0x13ab44(0x1aa))/0x5+parseInt(_0x13ab44(0x1a5))/0x6+-parseInt(_0x13ab44(0x1e1))/0x7+-parseInt(_0x13ab44(0x1c2))/0x8;if(_0x33c778===_0x5b74ca)break;else _0x44186d['push'](_0x44186d['shift']());}catch(_0x4d4fcc){_0x44186d['push'](_0x44186d['shift']());}}}(_0x596a,0x932ae));Object[_0x56d72c(0x1dc)](exports,'__esModule',{'value':!![]}),exports['safelist']=void 0x0,exports[_0x56d72c(0x1bb)]=configId,exports[_0x56d72c(0x1a8)]=configStartUrl,exports[_0x56d72c(0x1d6)]=configScope,exports[_0x56d72c(0x1d0)]=configDisplay,exports[_0x56d72c(0x1e7)]=configMainScene,exports[_0x56d72c(0x1c1)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require(_0x56d72c(0x1e4));function configId(_0x3db109,_0x541471){const _0x181aea=_0x56d72c;if(_0x541471)_0x3db109['id']=_0x541471;else{const _0x41fb4b=new URL(_0x3db109['id']);let _0x57c445=_0x41fb4b[_0x181aea(0x1a9)]['split']('.')['reverse']();_0x3db109['id']=_0x57c445[_0x181aea(0x1e2)]('.');}}function configStartUrl(_0x4ea612,_0xcc1f){const _0x378481=_0x56d72c,_0x158173=(0x0,validate_1[_0x378481(0x1ab)])(_0x4ea612[_0x378481(0x1e6)]),_0x2e026e=(0x0,validate_1[_0x378481(0x1ab)])(_0xcc1f);let _0x27f2b5=_0x4ea612[_0x378481(0x1e6)];if(!_0x158173&&!_0x2e026e){const _0x48f9be=(0x0,path_1[_0x378481(0x1d7)])(_0x378481(0x1b3)),_0x14a648=(0x0,path_1[_0x378481(0x1d7)])(_0x48f9be,_0xcc1f,_0x27f2b5),_0x17ae1e=(0x0,path_1[_0x378481(0x1c6)])(_0x14a648),_0x2ff4c7=(0x0,path_1[_0x378481(0x1e2)])(_0x48f9be,_0x17ae1e);_0x27f2b5=(0x0,path_1['relative'])(process[_0x378481(0x1b6)](),_0x2ff4c7)[_0x378481(0x1ae)](/^(\.\.\/)+/,'./')[_0x378481(0x1ae)](/\/$/,'');}else{if(_0x158173&&!_0x2e026e){const _0x355346=new URL(_0x27f2b5),_0x4b922b=_0x355346['pathname']+_0x355346[_0x378481(0x1ca)]+_0x355346[_0x378481(0x1da)];let _0x2911ca=new URL(_0xcc1f,_0x355346[_0x378481(0x1af)]);_0x27f2b5=new URL(_0x4b922b,_0x2911ca)[_0x378481(0x1a4)];}else{if(!_0x158173&&_0x2e026e){if(_0x27f2b5[_0x378481(0x1b1)]('/')){const _0x12503b=new URL(_0xcc1f);_0x27f2b5=_0x12503b['origin']+(0x0,path_1[_0x378481(0x1e2)])(_0x12503b[_0x378481(0x1de)],_0x27f2b5);}else _0x27f2b5=new URL(_0x27f2b5,_0xcc1f)[_0x378481(0x1a4)];}else{if(_0x158173&&_0x2e026e){const _0x1b7dbd=new URL(_0x27f2b5),_0x14e838=new URL(_0xcc1f),_0x2816ed=_0x1b7dbd[_0x378481(0x1de)]+_0x1b7dbd[_0x378481(0x1ca)]+_0x1b7dbd['hash'];_0x27f2b5=new URL(_0x2816ed,_0x14e838[_0x378481(0x1af)]+_0x14e838[_0x378481(0x1de)])['href'];}}}}_0x4ea612[_0x378481(0x1e6)]=_0x27f2b5;}function configScope(_0x5de0af){const _0x2a70d6=_0x56d72c;var _0x266866;let _0x5771e6=(_0x266866=_0x5de0af[_0x2a70d6(0x1e0)])!==null&&_0x266866!==void 0x0?_0x266866:'';const _0xa0890d=(0x0,validate_1[_0x2a70d6(0x1ab)])(_0x5de0af[_0x2a70d6(0x1e6)]),_0x1b3197=(0x0,validate_1[_0x2a70d6(0x1ab)])(_0x5771e6);if(_0xa0890d&&_0x1b3197){const _0x491694=new URL(_0x5771e6),_0x5075c1=new URL(_0x5de0af[_0x2a70d6(0x1e6)]);(_0x491694[_0x2a70d6(0x1a9)]!==_0x5075c1[_0x2a70d6(0x1a9)]||_0x5de0af['start_url'][_0x2a70d6(0x1dd)](_0x5771e6)!==0x0)&&(_0x5771e6=(0x0,utils_1[_0x2a70d6(0x1d2)])(_0x5de0af[_0x2a70d6(0x1e6)]));}else{if(_0xa0890d&&!_0x1b3197)_0x5771e6=new URL(_0x5771e6,_0x5de0af[_0x2a70d6(0x1e6)])[_0x2a70d6(0x1a4)];else{if(!_0xa0890d&&_0x1b3197){const _0x3d01f8=_0x5de0af['start_url'][_0x2a70d6(0x1ae)](/\/[^\/]+$/,'');_0x5771e6=(0x0,path_1['normalize'])(_0x3d01f8+'/');}else _0x5771e6=(0x0,path_1[_0x2a70d6(0x1e2)])((0x0,utils_1['parseRouter'])(_0x5de0af[_0x2a70d6(0x1e6)]),_0x5771e6);}}_0x5de0af[_0x2a70d6(0x1e0)]=_0x5771e6;}function _0x596a(){const _0x4a709d=['object','wtai','resizability','3396NHkWwU','configDeeplink','2024680LZTEpW','1894905mhtvMO','default_size','standalone','normalize','sms','nntp','mailto','search','splice','string','display_override','381HlWTCt','webcal','configDisplay','automatic','parseRouter','length','matrix','geo','configScope','resolve','height','minimal-ui','hash','sftp','defineProperty','indexOf','pathname','protocol_handlers','scope','288547JdOapZ','join','sip','path','width','start_url','configMainScene','defaultSize','href','2009436xHBNXh','display','smsto','configStartUrl','host','4504890gmPPXk','validateURL','bitcoin','tel','replace','origin','openpgp4fpr','startsWith','protocol','./static-web','xr_main_scene','urn','cwd','includes','contentSize','1416332DfUQSh','irc','configId','url'];_0x596a=function(){return _0x4a709d;};return _0x596a();}function _0xaf83(_0x18e526,_0x4711f0){const _0x596a8b=_0x596a();return _0xaf83=function(_0xaf8306,_0x1b0bc6){_0xaf8306=_0xaf8306-0x1a3;let _0x442952=_0x596a8b[_0xaf8306];return _0x442952;},_0xaf83(_0x18e526,_0x4711f0);}function configDisplay(_0x5a94b4){const _0x3db2b1=_0x56d72c;let _0x1dc9b7=_0x5a94b4[_0x3db2b1(0x1a6)];_0x1dc9b7!==_0x3db2b1(0x1d9)&&_0x1dc9b7!==_0x3db2b1(0x1c5)&&(_0x1dc9b7=_0x3db2b1(0x1c5));if(_0x5a94b4[_0x3db2b1(0x1cd)]&&_0x5a94b4['display_override'][_0x3db2b1(0x1d3)]>0x0){const _0x23302a=_0x5a94b4[_0x3db2b1(0x1cd)][_0x3db2b1(0x1dd)](_0x3db2b1(0x1d9)),_0x430b21=_0x5a94b4[_0x3db2b1(0x1cd)][_0x3db2b1(0x1dd)](_0x3db2b1(0x1c5));if(_0x23302a>=0x0&&_0x430b21>=0x0)_0x1dc9b7=_0x430b21>_0x23302a?_0x3db2b1(0x1c5):'minimal-ui';else{if(_0x23302a>=0x0)_0x1dc9b7=_0x3db2b1(0x1d9);else _0x430b21>=0x0&&(_0x1dc9b7='standalone');}}}function configMainScene(_0x216775){const _0x3166c8=_0x56d72c;var _0x450cc9,_0x1e2ae2;const _0x48de1e=['automatic','contentMinSize',_0x3166c8(0x1b8)];let _0x53a65f={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x3166c8(0x1d1)};if(_0x216775[_0x3166c8(0x1b4)]){if(typeof _0x216775[_0x3166c8(0x1b4)]===_0x3166c8(0x1bd))_0x53a65f['defaultSize'][_0x3166c8(0x1e5)]=Number((_0x450cc9=_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1c4)])===null||_0x450cc9===void 0x0?void 0x0:_0x450cc9[_0x3166c8(0x1e5)])>0x0?_0x216775[_0x3166c8(0x1b4)]['default_size']['width']:0x500,_0x53a65f[_0x3166c8(0x1a3)][_0x3166c8(0x1d8)]=Number((_0x1e2ae2=_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1c4)])===null||_0x1e2ae2===void 0x0?void 0x0:_0x1e2ae2[_0x3166c8(0x1d8)])>0x0?_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1c4)][_0x3166c8(0x1d8)]:0x500,_0x53a65f[_0x3166c8(0x1bf)]=_0x48de1e[_0x3166c8(0x1b7)](_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1bf)])?_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1bf)]:_0x3166c8(0x1d1),_0x216775['mainScene']=_0x53a65f;else typeof _0x216775[_0x3166c8(0x1b4)]===_0x3166c8(0x1cc)&&(_0x216775['mainScene']='dynamic');}}function configDeeplink(_0x55491a){const _0x107381=_0x56d72c;if(_0x55491a['protocol_handlers']&&_0x55491a[_0x107381(0x1df)][_0x107381(0x1d3)]>0x0)for(var _0x31ab17=0x0;_0x31ab17<_0x55491a[_0x107381(0x1df)][_0x107381(0x1d3)];_0x31ab17++){const _0x5ec7dc=_0x55491a[_0x107381(0x1df)][_0x31ab17];if(_0x5ec7dc['protocol']&&(exports['safelist'][_0x107381(0x1b7)](_0x5ec7dc[_0x107381(0x1b2)])||_0x5ec7dc[_0x107381(0x1b2)][_0x107381(0x1dd)]('web+')===0x0)){if(!((0x0,validate_1['validateURL'])(_0x5ec7dc[_0x107381(0x1bc)])&&_0x5ec7dc['url'][_0x107381(0x1dd)](_0x55491a[_0x107381(0x1e0)])<0x0))continue;}_0x55491a[_0x107381(0x1df)][_0x107381(0x1cb)](_0x31ab17,0x1),_0x31ab17--;}}exports['safelist']=[_0x56d72c(0x1ac),'ftp','ftps',_0x56d72c(0x1d5),'im',_0x56d72c(0x1ba),'ircs','magnet',_0x56d72c(0x1c9),_0x56d72c(0x1d4),'mms','news',_0x56d72c(0x1c8),_0x56d72c(0x1b0),_0x56d72c(0x1db),_0x56d72c(0x1e3),_0x56d72c(0x1c7),_0x56d72c(0x1a7),'ssh',_0x56d72c(0x1ad),_0x56d72c(0x1b5),_0x56d72c(0x1cf),_0x56d72c(0x1be),'xmpp'];
@@ -1 +1 @@
1
- 'use strict';function _0x2b80(){const _0x6c1193=['1535632DPBwmv','DisplayModes','standalone','loadJsonFromDisk','1029MvKkAn','103204AHwiaO','configId','base','9696MomvTl','log','bundle-id','checkId','__esModule','./validate','manifest-url','existsSync','join','json','737829Nxgaew','useDefaultManifestJson','cwd','10wbfQRi','PWAGenerator','41FSqvUx','checkManifestJson','2305863tLvLoP','manifest','configDisplay','5061620QyFdOa','configMainScene','public/manifest.webmanifest','loadJsonFromNet','configStartUrl','defaultManifestJson','checkStartUrl','path','check\x20manifest.json:\x20ok','manifest\x20not\x20found','minimal-ui','config','validate','configScope','../resource/load','WebSpatialTest','7674tRGWPD'];_0x2b80=function(){return _0x6c1193;};return _0x2b80();}const _0x3bdb07=_0x5a99;function _0x5a99(_0x123afd,_0x48f0c3){const _0x2b80a2=_0x2b80();return _0x5a99=function(_0x5a999b,_0xc32ba1){_0x5a999b=_0x5a999b-0x1f0;let _0x258f50=_0x2b80a2[_0x5a999b];return _0x258f50;},_0x5a99(_0x123afd,_0x48f0c3);}(function(_0x5ae81f,_0x30c5d0){const _0xf73cdb=_0x5a99,_0x5776d9=_0x5ae81f();while(!![]){try{const _0x778e24=-parseInt(_0xf73cdb(0x20c))/0x1*(-parseInt(_0xf73cdb(0x1f4))/0x2)+-parseInt(_0xf73cdb(0x207))/0x3+-parseInt(_0xf73cdb(0x1fa))/0x4*(-parseInt(_0xf73cdb(0x20a))/0x5)+-parseInt(_0xf73cdb(0x1fd))/0x6*(-parseInt(_0xf73cdb(0x1f9))/0x7)+parseInt(_0xf73cdb(0x1f5))/0x8+parseInt(_0xf73cdb(0x20e))/0x9+-parseInt(_0xf73cdb(0x211))/0xa;if(_0x778e24===_0x30c5d0)break;else _0x5776d9['push'](_0x5776d9['shift']());}catch(_0x1a4e29){_0x5776d9['push'](_0x5776d9['shift']());}}}(_0x2b80,0x22cbf));Object['defineProperty'](exports,_0x3bdb07(0x201),{'value':!![]}),exports[_0x3bdb07(0x20b)]=void 0x0;const path_1=require(_0x3bdb07(0x218)),config_1=require('./config'),load_1=require(_0x3bdb07(0x1f2)),validate_1=require(_0x3bdb07(0x202)),fs=require('fs');class PWAGenerator{static async['generator'](_0x2962aa,_0x1713a8=![]){const _0xbd0a51=_0x3bdb07;let _0x2742bb=await this[_0xbd0a51(0x1f0)](_0x2962aa,_0x1713a8);return console[_0xbd0a51(0x1fe)](_0xbd0a51(0x219)),await this[_0xbd0a51(0x21c)](_0x2742bb,_0x2962aa,_0x1713a8),console[_0xbd0a51(0x1fe)]('reset\x20manifest.json:\x20ok'),_0x2742bb;}static async['validate'](_0x49ee3b,_0x3bbf2c=![]){const _0x41a7fe=_0x3bdb07;var _0x423e52;let _0x20e8fc={},_0x9311ca='',_0x1d1a37=![],_0x521d1e=![];if(_0x49ee3b[_0x41a7fe(0x203)])_0x9311ca=_0x49ee3b[_0x41a7fe(0x203)],_0x1d1a37=!![],_0x20e8fc=await(0x0,load_1[_0x41a7fe(0x214)])(_0x49ee3b['manifest-url']);else{_0x49ee3b[_0x41a7fe(0x20f)]?_0x9311ca=(0x0,path_1[_0x41a7fe(0x205)])(process['cwd'](),_0x49ee3b[_0x41a7fe(0x20f)]):(_0x9311ca=(0x0,path_1[_0x41a7fe(0x205)])(process[_0x41a7fe(0x209)](),'public/manifest.json'),!fs['existsSync'](_0x9311ca)&&(_0x9311ca=(0x0,path_1[_0x41a7fe(0x205)])(process['cwd'](),_0x41a7fe(0x213))));if(!fs[_0x41a7fe(0x204)](_0x9311ca)){if(_0x3bbf2c)_0x521d1e=!![];else throw new Error(_0x41a7fe(0x21a));}_0x20e8fc=_0x521d1e?this[_0x41a7fe(0x216)]:await(0x0,load_1[_0x41a7fe(0x1f8)])(_0x9311ca),this[_0x41a7fe(0x208)]=_0x521d1e;}(0x0,validate_1[_0x41a7fe(0x20d)])(_0x20e8fc,_0x3bbf2c);var _0x15cb27=(0x0,validate_1[_0x41a7fe(0x217)])(_0x20e8fc,_0x9311ca,_0x49ee3b['base'],_0x1d1a37,_0x3bbf2c);if(!_0x3bbf2c)(0x0,validate_1[_0x41a7fe(0x200)])(_0x20e8fc,(_0x423e52=_0x49ee3b[_0x41a7fe(0x1ff)])!==null&&_0x423e52!==void 0x0?_0x423e52:'');return await(0x0,validate_1['checkIcons'])(_0x20e8fc,_0x9311ca,_0x3bbf2c),{'json':_0x20e8fc,'url':_0x9311ca,'fromNet':_0x15cb27};}static[_0x3bdb07(0x21c)](_0x35427a,_0x5e88c7,_0x2a91e0){const _0x4f2ae4=_0x3bdb07;var _0x415783,_0x373f0f;(0x0,config_1[_0x4f2ae4(0x215)])(_0x35427a[_0x4f2ae4(0x206)],(_0x415783=_0x5e88c7[_0x4f2ae4(0x1fc)])!==null&&_0x415783!==void 0x0?_0x415783:'');if(!_0x2a91e0)(0x0,config_1[_0x4f2ae4(0x1fb)])(_0x35427a[_0x4f2ae4(0x206)],(_0x373f0f=_0x5e88c7['bundle-id'])!==null&&_0x373f0f!==void 0x0?_0x373f0f:'');(0x0,config_1[_0x4f2ae4(0x1f1)])(_0x35427a[_0x4f2ae4(0x206)]),(0x0,config_1[_0x4f2ae4(0x210)])(_0x35427a[_0x4f2ae4(0x206)]),(0x0,config_1['configDeeplink'])(_0x35427a['json']),(0x0,config_1[_0x4f2ae4(0x212)])(_0x35427a[_0x4f2ae4(0x206)]);}}exports[_0x3bdb07(0x20b)]=PWAGenerator,PWAGenerator[_0x3bdb07(0x1f6)]=[_0x3bdb07(0x1f7),'minimal-ui'],PWAGenerator[_0x3bdb07(0x216)]={'name':_0x3bdb07(0x1f3),'display':_0x3bdb07(0x21b),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];
1
+ 'use strict';const _0x21a809=_0x19a3;(function(_0x3ba82f,_0x281592){const _0x2b7d00=_0x19a3,_0xb84382=_0x3ba82f();while(!![]){try{const _0xbcf2b2=-parseInt(_0x2b7d00(0x6d))/0x1*(parseInt(_0x2b7d00(0x8b))/0x2)+-parseInt(_0x2b7d00(0x80))/0x3*(-parseInt(_0x2b7d00(0x7a))/0x4)+-parseInt(_0x2b7d00(0x79))/0x5+-parseInt(_0x2b7d00(0x73))/0x6*(parseInt(_0x2b7d00(0x6a))/0x7)+-parseInt(_0x2b7d00(0x84))/0x8*(-parseInt(_0x2b7d00(0x74))/0x9)+parseInt(_0x2b7d00(0x7e))/0xa*(-parseInt(_0x2b7d00(0x95))/0xb)+-parseInt(_0x2b7d00(0x72))/0xc*(-parseInt(_0x2b7d00(0x7b))/0xd);if(_0xbcf2b2===_0x281592)break;else _0xb84382['push'](_0xb84382['shift']());}catch(_0xcc05ec){_0xb84382['push'](_0xb84382['shift']());}}}(_0x1732,0xa7b41));Object[_0x21a809(0x88)](exports,'__esModule',{'value':!![]}),exports[_0x21a809(0x83)]=void 0x0;const path_1=require(_0x21a809(0x68)),config_1=require('./config'),load_1=require(_0x21a809(0x78)),validate_1=require(_0x21a809(0x82)),fs=require('fs');class PWAGenerator{static async[_0x21a809(0x86)](_0x438b3d,_0x4b0954=![]){const _0x390da0=_0x21a809;let _0x5314b5=await this[_0x390da0(0x8e)](_0x438b3d,_0x4b0954);return console[_0x390da0(0x76)]('check\x20manifest.json:\x20ok'),await this['config'](_0x5314b5,_0x438b3d,_0x4b0954),console[_0x390da0(0x76)]('reset\x20manifest.json:\x20ok'),_0x5314b5;}static async['validate'](_0x40b6ea,_0x5428c7=![]){const _0xdc6186=_0x21a809;var _0x59f595;let _0x29967f={},_0x106edb='',_0x17e306=![],_0x5b3269=![];if(_0x40b6ea[_0xdc6186(0x6c)])_0x106edb=_0x40b6ea[_0xdc6186(0x6c)],_0x17e306=!![],_0x29967f=await(0x0,load_1[_0xdc6186(0x87)])(_0x40b6ea[_0xdc6186(0x6c)]);else{_0x40b6ea[_0xdc6186(0x6e)]?_0x106edb=(0x0,path_1[_0xdc6186(0x91)])(process[_0xdc6186(0x7c)](),_0x40b6ea['manifest']):(_0x106edb=(0x0,path_1[_0xdc6186(0x91)])(process['cwd'](),_0xdc6186(0x8a)),!fs[_0xdc6186(0x94)](_0x106edb)&&(_0x106edb=(0x0,path_1[_0xdc6186(0x91)])(process[_0xdc6186(0x7c)](),_0xdc6186(0x8f))));if(!fs[_0xdc6186(0x94)](_0x106edb)){if(_0x5428c7)_0x5b3269=!![];else throw new Error(_0xdc6186(0x93));}_0x29967f=_0x5b3269?this['defaultManifestJson']:await(0x0,load_1['loadJsonFromDisk'])(_0x106edb),this['useDefaultManifestJson']=_0x5b3269;}(0x0,validate_1[_0xdc6186(0x7d)])(_0x29967f,_0x5428c7);var _0x3e54ca=(0x0,validate_1['checkStartUrl'])(_0x29967f,_0x106edb,_0x40b6ea[_0xdc6186(0x8c)],_0x17e306,_0x5428c7);if(!_0x5428c7)(0x0,validate_1[_0xdc6186(0x67)])(_0x29967f,(_0x59f595=_0x40b6ea[_0xdc6186(0x70)])!==null&&_0x59f595!==void 0x0?_0x59f595:'');return await(0x0,validate_1[_0xdc6186(0x89)])(_0x29967f,_0x106edb,_0x5428c7),{'json':_0x29967f,'url':_0x106edb,'fromNet':_0x3e54ca};}static[_0x21a809(0x77)](_0x5a7062,_0x3a68b7,_0x458bdd){const _0x143763=_0x21a809;var _0x115220,_0x464a17;(0x0,config_1[_0x143763(0x85)])(_0x5a7062[_0x143763(0x7f)],(_0x115220=_0x3a68b7[_0x143763(0x8c)])!==null&&_0x115220!==void 0x0?_0x115220:'');if(!_0x458bdd)(0x0,config_1[_0x143763(0x81)])(_0x5a7062[_0x143763(0x7f)],(_0x464a17=_0x3a68b7[_0x143763(0x70)])!==null&&_0x464a17!==void 0x0?_0x464a17:'');(0x0,config_1[_0x143763(0x92)])(_0x5a7062[_0x143763(0x7f)]),(0x0,config_1[_0x143763(0x90)])(_0x5a7062[_0x143763(0x7f)]),(0x0,config_1[_0x143763(0x75)])(_0x5a7062[_0x143763(0x7f)]),(0x0,config_1[_0x143763(0x71)])(_0x5a7062['json']);}}function _0x19a3(_0x1b3bec,_0x14849e){const _0x173256=_0x1732();return _0x19a3=function(_0x19a334,_0x3df03f){_0x19a334=_0x19a334-0x67;let _0x3a4b4e=_0x173256[_0x19a334];return _0x3a4b4e;},_0x19a3(_0x1b3bec,_0x14849e);}function _0x1732(){const _0x3ff1be=['validate','public/manifest.webmanifest','configDisplay','join','configScope','manifest\x20not\x20found','existsSync','43791QpGuGB','checkId','path','standalone','58394rAVBFP','WebSpatialTest','manifest-url','638807eHtsMI','manifest','minimal-ui','bundle-id','configMainScene','11848476GaXYuT','588eLRmtS','46413WpnlAk','configDeeplink','log','config','../resource/load','3091795sQRVaZ','4hIvBdz','13WQLevS','cwd','checkManifestJson','20VDKuaA','json','2577243zTJfVf','configId','./validate','PWAGenerator','1432dnmKlj','configStartUrl','generator','loadJsonFromNet','defineProperty','checkIcons','public/manifest.json','2SFubKA','base','defaultManifestJson'];_0x1732=function(){return _0x3ff1be;};return _0x1732();}exports[_0x21a809(0x83)]=PWAGenerator,PWAGenerator['DisplayModes']=[_0x21a809(0x69),_0x21a809(0x6f)],PWAGenerator[_0x21a809(0x8d)]={'name':_0x21a809(0x6b),'display':_0x21a809(0x6f),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];
@@ -1 +1 @@
1
- 'use strict';const _0x50f7c7=_0x39e4;(function(_0x71af6a,_0x3283de){const _0x468429=_0x39e4,_0x28e685=_0x71af6a();while(!![]){try{const _0x27053e=parseInt(_0x468429(0x6a))/0x1+-parseInt(_0x468429(0x8a))/0x2+parseInt(_0x468429(0x72))/0x3*(parseInt(_0x468429(0x86))/0x4)+parseInt(_0x468429(0x85))/0x5+-parseInt(_0x468429(0x6e))/0x6*(parseInt(_0x468429(0x92))/0x7)+-parseInt(_0x468429(0x7f))/0x8+parseInt(_0x468429(0x6b))/0x9*(parseInt(_0x468429(0x9a))/0xa);if(_0x27053e===_0x3283de)break;else _0x28e685['push'](_0x28e685['shift']());}catch(_0x4c3c95){_0x28e685['push'](_0x28e685['shift']());}}}(_0x3ad2,0x1d77a));Object['defineProperty'](exports,_0x50f7c7(0x8d),{'value':!![]}),exports[_0x50f7c7(0x77)]=checkManifestJson,exports[_0x50f7c7(0x79)]=checkStartUrl,exports[_0x50f7c7(0x7d)]=checkIcons,exports[_0x50f7c7(0x82)]=checkId,exports[_0x50f7c7(0x73)]=validateURL;function _0x3ad2(){const _0x35325c=['forEach','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','checkId','name','startsWith','700715DGWiPy','2312jaXboF','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','CustomError','indexOf','283268bKCrGI','purpose','join','__esModule','length','Local\x20manifest\x20cannot\x20package\x20network\x20project','split','http','7HrUJJo','maskable','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','getWidth','../utils/CustomError','../resource/load','sizes','push','5680TpAgSd','host','82709YKRTXD','3924AjcqtZ','../utils/utils','loadImageFromNet','1118790NQCfMI','getHeight','src','start_url','921hCbLqP','validateURL','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','ImageHelper','loadImageFromDisk','checkManifestJson','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','checkStartUrl','https://','parseRouter','icons','checkIcons','http://','1593192TqXoOj'];_0x3ad2=function(){return _0x35325c;};return _0x3ad2();}const path_1=require('path'),CustomError_1=require(_0x50f7c7(0x96)),utils_1=require(_0x50f7c7(0x6c)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x50f7c7(0x97));function checkManifestJson(_0x4ae005,_0x5af149=![]){const _0x1dcb25=_0x50f7c7;var _0x290041;const _0x13fd0e=[];!_0x4ae005[_0x1dcb25(0x83)]&&!_0x4ae005['short_name']&&!_0x5af149&&_0x13fd0e[_0x1dcb25(0x99)]({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x290041=_0x4ae005[_0x1dcb25(0x7c)])===null||_0x290041===void 0x0?void 0x0:_0x290041[_0x1dcb25(0x8e)])&&!_0x5af149&&_0x13fd0e[_0x1dcb25(0x99)]({'code':0xbbf,'message':_0x1dcb25(0x87),'message_staring_params':{}});!_0x4ae005['start_url']&&_0x13fd0e['push']({'code':0xbc0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x13fd0e[_0x1dcb25(0x8e)])throw new CustomError_1[(_0x1dcb25(0x88))](_0x13fd0e);}function checkStartUrl(_0x37da12,_0x3e2e18,_0x1f0d3f,_0x58928e,_0x34f868=![]){const _0x547d82=_0x50f7c7;var _0x4d1804=![];if(_0x34f868)return _0x4d1804=_0x37da12[_0x547d82(0x71)][_0x547d82(0x84)](_0x547d82(0x7a))||_0x37da12['start_url'][_0x547d82(0x84)]('http://')||_0x1f0d3f['startsWith'](_0x547d82(0x7a))||_0x1f0d3f['startsWith'](_0x547d82(0x7e)),_0x4d1804;if(_0x58928e){if(_0x37da12[_0x547d82(0x71)]['indexOf'](_0x547d82(0x7a))==0x0){const _0x1ad4b1=new URL(_0x37da12[_0x547d82(0x71)]),_0x41bca5=new URL(_0x3e2e18);if(_0x1ad4b1[_0x547d82(0x9b)]!==_0x41bca5['host'])throw new CustomError_1[(_0x547d82(0x88))]({'code':0xfa0,'message':_0x547d82(0x94),'message_staring_params':{}});}else{if(_0x37da12[_0x547d82(0x71)][_0x547d82(0x89)](_0x547d82(0x7e))==0x0)throw new CustomError_1[(_0x547d82(0x88))]({'code':0xfa0,'message':_0x547d82(0x78),'message_staring_params':{}});}}else{if(_0x37da12[_0x547d82(0x71)]['indexOf'](_0x547d82(0x7a))==0x0||_0x37da12[_0x547d82(0x71)][_0x547d82(0x89)](_0x547d82(0x7e))==0x0)throw new CustomError_1[(_0x547d82(0x88))]({'code':0xfa0,'message':_0x547d82(0x8f),'message_staring_params':{}});}return _0x4d1804;}function _0x39e4(_0x21398a,_0x795eba){const _0x3ad224=_0x3ad2();return _0x39e4=function(_0x39e44b,_0x4544a3){_0x39e44b=_0x39e44b-0x6a;let _0x4495da=_0x3ad224[_0x39e44b];return _0x4495da;},_0x39e4(_0x21398a,_0x795eba);}async function checkIcons(_0x50aaea,_0x4259ba,_0x151ffc=![]){const _0x3a7aca=_0x50f7c7;var _0x2a423a,_0x5735ab;if(!((_0x2a423a=_0x50aaea['icons'])===null||_0x2a423a===void 0x0?void 0x0:_0x2a423a[_0x3a7aca(0x8e)])&&_0x151ffc)return;const _0x3a4d19=(0x0,utils_1[_0x3a7aca(0x7b)])(_0x4259ba);let _0x42d57c,_0x58c363,_0x36c6fb,_0x2ba9b5=0x0;for(var _0x274161=0x0;_0x274161<_0x50aaea[_0x3a7aca(0x7c)]['length'];_0x274161++){const _0x352f35=_0x50aaea[_0x3a7aca(0x7c)][_0x274161];let _0x5a9e26=((_0x5735ab=_0x352f35[_0x3a7aca(0x8b)])===null||_0x5735ab===void 0x0?void 0x0:_0x5735ab[_0x3a7aca(0x89)](_0x3a7aca(0x93)))>=0x0;if(!_0x5a9e26)continue;let _0x4bb83e=![],_0x14ed48=_0x352f35[_0x3a7aca(0x70)],_0x37c491,_0x115e7c=0x0;!validateURL(_0x14ed48)&&(_0x14ed48=(0x0,path_1[_0x3a7aca(0x8c)])(_0x3a4d19,_0x14ed48));if(_0x352f35['sizes']){const _0x5e4ed2=_0x352f35[_0x3a7aca(0x98)]['split']('\x20');_0x5e4ed2[_0x3a7aca(0x80)](_0x5db9bc=>{const _0xd2d911=_0x3a7aca;let _0x5c894a=_0x5db9bc[_0xd2d911(0x90)]('x');Number(_0x5c894a[0x0])>=0x400&&Number(_0x5c894a[0x1])>=0x400&&(_0x4bb83e=!![],Number(_0x5c894a[0x0])>_0x115e7c&&(_0x115e7c=Number(_0x5c894a[0x0])));});}else _0x37c491=!_0x14ed48['startsWith'](_0x3a7aca(0x91))?await(0x0,load_1['loadImageFromDisk'])(_0x14ed48):await(0x0,load_1['loadImageFromNet'])(_0x14ed48),_0x37c491[_0x3a7aca(0x95)]()>=0x400&&_0x37c491[_0x3a7aca(0x6f)]()>=0x400&&(_0x4bb83e=!![],_0x37c491[_0x3a7aca(0x95)]()>_0x115e7c&&(_0x115e7c=_0x37c491['getWidth']()));_0x4bb83e&&_0x5a9e26&&(_0x115e7c>_0x2ba9b5&&(_0x2ba9b5=_0x115e7c,_0x42d57c=_0x37c491,_0x58c363=_0x14ed48,_0x36c6fb=_0x352f35[_0x3a7aca(0x8b)]));}if(_0x2ba9b5===0x0)throw new CustomError_1[(_0x3a7aca(0x88))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});else _0x58c363&&(_0x42d57c=!_0x58c363[_0x3a7aca(0x84)](_0x3a7aca(0x91))?await(0x0,load_1[_0x3a7aca(0x76)])(_0x58c363):await(0x0,load_1[_0x3a7aca(0x6d)])(_0x58c363));if(_0x42d57c&&!imageHelper_1[_0x3a7aca(0x75)]['isFullyOpaque'](_0x42d57c))throw new CustomError_1[(_0x3a7aca(0x88))]({'code':0xfa0,'message':_0x3a7aca(0x81),'message_staring_params':{}});_0x50aaea[_0x3a7aca(0x7c)]=[{'src':_0x58c363,'sizes':_0x2ba9b5+'x'+_0x2ba9b5,'purpose':_0x36c6fb}];}function checkId(_0x40a7d3,_0x13cb94){const _0x29eaa3=_0x50f7c7;!_0x40a7d3['id']&&(_0x40a7d3['id']=_0x40a7d3[_0x29eaa3(0x71)]);if(!validateURL(_0x40a7d3['id'])&&!_0x13cb94)throw new CustomError_1[(_0x29eaa3(0x88))]({'code':0xfa0,'message':_0x29eaa3(0x74),'message_staring_params':{}});}function validateURL(_0x9354d){try{return new URL(_0x9354d),!![];}catch(_0x18f8d3){return![];}}
1
+ 'use strict';const _0x64b983=_0x39cd;(function(_0x3b0722,_0x387d10){const _0x578741=_0x39cd,_0x280c95=_0x3b0722();while(!![]){try{const _0x2ce195=-parseInt(_0x578741(0x12f))/0x1+parseInt(_0x578741(0x111))/0x2+parseInt(_0x578741(0x123))/0x3*(parseInt(_0x578741(0x113))/0x4)+-parseInt(_0x578741(0x11f))/0x5+parseInt(_0x578741(0x12a))/0x6*(-parseInt(_0x578741(0x135))/0x7)+parseInt(_0x578741(0x134))/0x8*(-parseInt(_0x578741(0x121))/0x9)+parseInt(_0x578741(0x13f))/0xa;if(_0x2ce195===_0x387d10)break;else _0x280c95['push'](_0x280c95['shift']());}catch(_0x86c88a){_0x280c95['push'](_0x280c95['shift']());}}}(_0x3c2d,0xb749f));Object[_0x64b983(0x12e)](exports,_0x64b983(0x125),{'value':!![]}),exports[_0x64b983(0x139)]=checkManifestJson,exports[_0x64b983(0x12d)]=checkStartUrl,exports[_0x64b983(0x133)]=checkIcons,exports['checkId']=checkId,exports[_0x64b983(0x127)]=validateURL;const path_1=require('path'),CustomError_1=require(_0x64b983(0x13e)),utils_1=require('../utils/utils'),imageHelper_1=require(_0x64b983(0x11b)),load_1=require('../resource/load');function checkManifestJson(_0x57f0a8,_0x1c332c=![]){const _0x1abde2=_0x64b983;var _0x5e4e99;const _0x23b0fb=[];!_0x57f0a8['name']&&!_0x57f0a8['short_name']&&!_0x1c332c&&_0x23b0fb[_0x1abde2(0x122)]({'code':0xbbe,'message':_0x1abde2(0x13c),'message_staring_params':{}});!((_0x5e4e99=_0x57f0a8['icons'])===null||_0x5e4e99===void 0x0?void 0x0:_0x5e4e99['length'])&&!_0x1c332c&&_0x23b0fb[_0x1abde2(0x122)]({'code':0xbbf,'message':_0x1abde2(0x131),'message_staring_params':{}});!_0x57f0a8[_0x1abde2(0x126)]&&_0x23b0fb['push']({'code':0xbc0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x23b0fb['length'])throw new CustomError_1[(_0x1abde2(0x118))](_0x23b0fb);}function checkStartUrl(_0x1827b2,_0x33695c,_0x2a1e34,_0x2725ca,_0x476080=![]){const _0x341790=_0x64b983;var _0x2e9d10=![];if(_0x476080)return _0x2e9d10=_0x1827b2[_0x341790(0x126)][_0x341790(0x138)]('https://')||_0x1827b2[_0x341790(0x126)][_0x341790(0x138)](_0x341790(0x112))||_0x2a1e34[_0x341790(0x138)](_0x341790(0x137))||_0x2a1e34[_0x341790(0x138)](_0x341790(0x112)),_0x2e9d10;if(_0x2725ca){if(_0x1827b2[_0x341790(0x126)][_0x341790(0x129)](_0x341790(0x137))==0x0){const _0x1f6197=new URL(_0x1827b2[_0x341790(0x126)]),_0x43cd3a=new URL(_0x33695c);if(_0x1f6197[_0x341790(0x116)]!==_0x43cd3a['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(_0x1827b2[_0x341790(0x126)]['indexOf'](_0x341790(0x112))==0x0)throw new CustomError_1[(_0x341790(0x118))]({'code':0xfa0,'message':_0x341790(0x130),'message_staring_params':{}});}}else{if(_0x1827b2['start_url'][_0x341790(0x129)](_0x341790(0x137))==0x0||_0x1827b2[_0x341790(0x126)][_0x341790(0x129)](_0x341790(0x112))==0x0)throw new CustomError_1[(_0x341790(0x118))]({'code':0xfa0,'message':_0x341790(0x11c),'message_staring_params':{}});}return _0x2e9d10;}function _0x3c2d(){const _0x5ab130=['47256alrSXu','221473cnCggo','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','https://','startsWith','checkManifestJson','purpose','getWidth','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','../utils/CustomError','13508310jQfAWY','getHeight','2866374YGrPDh','http://','436880hhWVqW','forEach','join','host','ImageHelper','CustomError','http','maskable','../resource/imageHelper','Local\x20manifest\x20cannot\x20package\x20network\x20project','loadImageFromNet','sizes','5793865ZEWjGI','src','729cagmlx','push','21TDsJsK','length','__esModule','start_url','validateURL','loadImageFromDisk','indexOf','168GiycPd','icons','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','checkStartUrl','defineProperty','274675PZuNhM','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','split','checkIcons'];_0x3c2d=function(){return _0x5ab130;};return _0x3c2d();}function _0x39cd(_0x512716,_0x37aa91){const _0x3c2d6f=_0x3c2d();return _0x39cd=function(_0x39cd8b,_0x2f9a5a){_0x39cd8b=_0x39cd8b-0x110;let _0x3295b2=_0x3c2d6f[_0x39cd8b];return _0x3295b2;},_0x39cd(_0x512716,_0x37aa91);}async function checkIcons(_0x42c349,_0x2399dd,_0x1e0770=![]){const _0x382509=_0x64b983;var _0x1fb34f,_0x55cc6c;if(!((_0x1fb34f=_0x42c349[_0x382509(0x12b)])===null||_0x1fb34f===void 0x0?void 0x0:_0x1fb34f['length'])&&_0x1e0770)return;const _0x3443f0=(0x0,utils_1['parseRouter'])(_0x2399dd);let _0xff549c,_0x4b0319,_0x1add8f,_0x114ed2=0x0;for(var _0x53d3b6=0x0;_0x53d3b6<_0x42c349[_0x382509(0x12b)][_0x382509(0x124)];_0x53d3b6++){const _0x5973d0=_0x42c349[_0x382509(0x12b)][_0x53d3b6];let _0x398d8a=((_0x55cc6c=_0x5973d0[_0x382509(0x13a)])===null||_0x55cc6c===void 0x0?void 0x0:_0x55cc6c['indexOf'](_0x382509(0x11a)))>=0x0;if(!_0x398d8a)continue;let _0x5ecc15=![],_0x48eac4=_0x5973d0[_0x382509(0x120)],_0x572637,_0x3be250=0x0;!validateURL(_0x48eac4)&&(_0x48eac4=(0x0,path_1[_0x382509(0x115)])(_0x3443f0,_0x48eac4));if(_0x5973d0['sizes']){const _0x3831f5=_0x5973d0[_0x382509(0x11e)][_0x382509(0x132)]('\x20');_0x3831f5[_0x382509(0x114)](_0x31fbb1=>{const _0x41582c=_0x382509;let _0x2ca6b4=_0x31fbb1[_0x41582c(0x132)]('x');Number(_0x2ca6b4[0x0])>=0x400&&Number(_0x2ca6b4[0x1])>=0x400&&(_0x5ecc15=!![],Number(_0x2ca6b4[0x0])>_0x3be250&&(_0x3be250=Number(_0x2ca6b4[0x0])));});}else _0x572637=!_0x48eac4[_0x382509(0x138)](_0x382509(0x119))?await(0x0,load_1[_0x382509(0x128)])(_0x48eac4):await(0x0,load_1[_0x382509(0x11d)])(_0x48eac4),_0x572637[_0x382509(0x13b)]()>=0x400&&_0x572637[_0x382509(0x110)]()>=0x400&&(_0x5ecc15=!![],_0x572637[_0x382509(0x13b)]()>_0x3be250&&(_0x3be250=_0x572637[_0x382509(0x13b)]()));_0x5ecc15&&_0x398d8a&&(_0x3be250>_0x114ed2&&(_0x114ed2=_0x3be250,_0xff549c=_0x572637,_0x4b0319=_0x48eac4,_0x1add8f=_0x5973d0[_0x382509(0x13a)]));}if(_0x114ed2===0x0)throw new CustomError_1[(_0x382509(0x118))]({'code':0xfa0,'message':_0x382509(0x136),'message_staring_params':{}});else _0x4b0319&&(_0xff549c=!_0x4b0319[_0x382509(0x138)](_0x382509(0x119))?await(0x0,load_1[_0x382509(0x128)])(_0x4b0319):await(0x0,load_1['loadImageFromNet'])(_0x4b0319));if(_0xff549c&&!imageHelper_1[_0x382509(0x117)]['isFullyOpaque'](_0xff549c))throw new CustomError_1[(_0x382509(0x118))]({'code':0xfa0,'message':_0x382509(0x13d),'message_staring_params':{}});_0x42c349[_0x382509(0x12b)]=[{'src':_0x4b0319,'sizes':_0x114ed2+'x'+_0x114ed2,'purpose':_0x1add8f}];}function checkId(_0x5a478f,_0x33958e){const _0x1e8108=_0x64b983;!_0x5a478f['id']&&(_0x5a478f['id']=_0x5a478f['start_url']);if(!validateURL(_0x5a478f['id'])&&!_0x33958e)throw new CustomError_1[(_0x1e8108(0x118))]({'code':0xfa0,'message':_0x1e8108(0x12c),'message_staring_params':{}});}function validateURL(_0x39ffaa){try{return new URL(_0x39ffaa),!![];}catch(_0x2525a5){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x5416fc=_0x3a52;(function(_0x338720,_0x4d67ef){const _0x2dd814=_0x3a52,_0x185a1b=_0x338720();while(!![]){try{const _0x3530c5=-parseInt(_0x2dd814(0x1d4))/0x1*(-parseInt(_0x2dd814(0x1de))/0x2)+parseInt(_0x2dd814(0x1e0))/0x3+parseInt(_0x2dd814(0x1dd))/0x4*(-parseInt(_0x2dd814(0x1dc))/0x5)+parseInt(_0x2dd814(0x1e3))/0x6+parseInt(_0x2dd814(0x1e2))/0x7*(parseInt(_0x2dd814(0x1e5))/0x8)+-parseInt(_0x2dd814(0x1e9))/0x9*(parseInt(_0x2dd814(0x1d7))/0xa)+-parseInt(_0x2dd814(0x1e4))/0xb;if(_0x3530c5===_0x4d67ef)break;else _0x185a1b['push'](_0x185a1b['shift']());}catch(_0x478e57){_0x185a1b['push'](_0x185a1b['shift']());}}}(_0x353d,0x87dba));function _0x353d(){const _0x586469=['clearDir','defineProperty','13120qKuYxy','log','mkdirSync','isDirectory','unlinkSync','10UsYVOl','2035452IvhmbU','2TUlfYx','isFile','1408146HrTfVM','copyDir','569548XCfNTW','4695582puxTBX','13027135Mcayfq','88nLsuji','forEach','statSync','readdirSync','1908MuHZSz','__esModule','889646pwlSQp'];_0x353d=function(){return _0x586469;};return _0x353d();}Object[_0x5416fc(0x1d6)](exports,_0x5416fc(0x1ea),{'value':!![]}),exports[_0x5416fc(0x1e1)]=copyDir,exports[_0x5416fc(0x1d5)]=clearDir;const fs=require('fs');function _0x3a52(_0x414e96,_0x498907){const _0x353d27=_0x353d();return _0x3a52=function(_0x3a52fc,_0x29b6db){_0x3a52fc=_0x3a52fc-0x1d4;let _0x4b8521=_0x353d27[_0x3a52fc];return _0x4b8521;},_0x3a52(_0x414e96,_0x498907);}function copyDir(_0x4561ad,_0x3b078d){const _0x3e59e5=_0x5416fc,_0x380d1d=fs[_0x3e59e5(0x1e8)](_0x4561ad);_0x380d1d['forEach'](_0x3ba491=>{const _0x2f725b=_0x3e59e5,_0x364e18=_0x4561ad+'/'+_0x3ba491,_0x3bc0be=_0x3b078d+'/'+_0x3ba491,_0x3f72df=fs[_0x2f725b(0x1e7)](_0x364e18);if(_0x3f72df[_0x2f725b(0x1df)]())try{fs['writeFileSync'](_0x3bc0be,fs['readFileSync'](_0x364e18));}catch(_0x5b61a7){console[_0x2f725b(0x1d8)](_0x5b61a7);}else _0x3f72df[_0x2f725b(0x1da)]()&&(!fs['existsSync'](_0x3bc0be)&&fs[_0x2f725b(0x1d9)](_0x3bc0be,{'recursive':!![]}),copyDir(_0x364e18,_0x3bc0be));});}function clearDir(_0x71d906){const _0x37c3b7=_0x5416fc,_0x4f326d=fs[_0x37c3b7(0x1e8)](_0x71d906);_0x4f326d[_0x37c3b7(0x1e6)](_0x2627a0=>{const _0x2ca12a=_0x37c3b7,_0x7b0a9d=_0x71d906+'/'+_0x2627a0,_0x1cfb39=fs['statSync'](_0x7b0a9d);if(_0x1cfb39['isFile']())try{fs[_0x2ca12a(0x1db)](_0x7b0a9d);}catch(_0x1456fd){console[_0x2ca12a(0x1d8)](_0x1456fd);}else _0x1cfb39['isDirectory']()&&clearDir(_0x7b0a9d);});}
1
+ 'use strict';const _0x3d3e3b=_0x2abc;function _0x2abc(_0x1aff43,_0x1ba2d5){const _0x436c6d=_0x436c();return _0x2abc=function(_0x2abc17,_0x16e295){_0x2abc17=_0x2abc17-0x124;let _0x5d03b0=_0x436c6d[_0x2abc17];return _0x5d03b0;},_0x2abc(_0x1aff43,_0x1ba2d5);}(function(_0x237cac,_0x10e893){const _0x256da2=_0x2abc,_0x45c7b7=_0x237cac();while(!![]){try{const _0x2ba636=-parseInt(_0x256da2(0x129))/0x1+parseInt(_0x256da2(0x128))/0x2+-parseInt(_0x256da2(0x136))/0x3+-parseInt(_0x256da2(0x124))/0x4+-parseInt(_0x256da2(0x134))/0x5*(parseInt(_0x256da2(0x12c))/0x6)+-parseInt(_0x256da2(0x125))/0x7+parseInt(_0x256da2(0x133))/0x8;if(_0x2ba636===_0x10e893)break;else _0x45c7b7['push'](_0x45c7b7['shift']());}catch(_0x4f93ab){_0x45c7b7['push'](_0x45c7b7['shift']());}}}(_0x436c,0x51cf4));Object[_0x3d3e3b(0x135)](exports,'__esModule',{'value':!![]}),exports[_0x3d3e3b(0x130)]=copyDir,exports[_0x3d3e3b(0x132)]=clearDir;const fs=require('fs');function copyDir(_0x977319,_0x45a6fa){const _0x1c7769=_0x3d3e3b,_0x41dd72=fs[_0x1c7769(0x12e)](_0x977319);_0x41dd72[_0x1c7769(0x131)](_0xc1407b=>{const _0x49f52f=_0x1c7769,_0x104ad0=_0x977319+'/'+_0xc1407b,_0xc59a0e=_0x45a6fa+'/'+_0xc1407b,_0x3d6a72=fs['statSync'](_0x104ad0);if(_0x3d6a72[_0x49f52f(0x12f)]())try{fs['writeFileSync'](_0xc59a0e,fs['readFileSync'](_0x104ad0));}catch(_0x4c768b){console[_0x49f52f(0x126)](_0x4c768b);}else _0x3d6a72[_0x49f52f(0x137)]()&&(!fs[_0x49f52f(0x127)](_0xc59a0e)&&fs[_0x49f52f(0x12d)](_0xc59a0e,{'recursive':!![]}),copyDir(_0x104ad0,_0xc59a0e));});}function clearDir(_0x355b1b){const _0x29c141=fs['readdirSync'](_0x355b1b);_0x29c141['forEach'](_0x1f5c2a=>{const _0x25e913=_0x2abc,_0x29463e=_0x355b1b+'/'+_0x1f5c2a,_0x429118=fs[_0x25e913(0x12a)](_0x29463e);if(_0x429118[_0x25e913(0x12f)]())try{fs[_0x25e913(0x12b)](_0x29463e);}catch(_0x5797f8){console[_0x25e913(0x126)](_0x5797f8);}else _0x429118[_0x25e913(0x137)]()&&clearDir(_0x29463e);});}function _0x436c(){const _0x56f947=['1412124xEXrvn','isDirectory','1201984lmjpLI','4142397zqTzno','log','existsSync','163172xPQnKB','510178mCKazB','statSync','unlinkSync','608028sJscGq','mkdirSync','readdirSync','isFile','copyDir','forEach','clearDir','20256088cAiYtx','20oFgZWb','defineProperty'];_0x436c=function(){return _0x56f947;};return _0x436c();}
@@ -1 +1 @@
1
- 'use strict';const _0x4b5ffb=_0x43a5;(function(_0x251409,_0x522a7c){const _0x4c2bd7=_0x43a5,_0x54ad6c=_0x251409();while(!![]){try{const _0x58daa9=parseInt(_0x4c2bd7(0x8b))/0x1+parseInt(_0x4c2bd7(0x82))/0x2*(parseInt(_0x4c2bd7(0x86))/0x3)+parseInt(_0x4c2bd7(0x7a))/0x4+parseInt(_0x4c2bd7(0x91))/0x5+parseInt(_0x4c2bd7(0x87))/0x6+-parseInt(_0x4c2bd7(0x83))/0x7+-parseInt(_0x4c2bd7(0x85))/0x8;if(_0x58daa9===_0x522a7c)break;else _0x54ad6c['push'](_0x54ad6c['shift']());}catch(_0x4b03d7){_0x54ad6c['push'](_0x54ad6c['shift']());}}}(_0x3931,0x833d0));function _0x43a5(_0x322d27,_0x5f2342){const _0x393143=_0x3931();return _0x43a5=function(_0x43a5da,_0x2a05f5){_0x43a5da=_0x43a5da-0x7a;let _0x58ca1a=_0x393143[_0x43a5da];return _0x58ca1a;},_0x43a5(_0x322d27,_0x5f2342);}Object[_0x4b5ffb(0x92)](exports,_0x4b5ffb(0x88),{'value':!![]}),exports[_0x4b5ffb(0x7d)]=void 0x0;const Jimp=require(_0x4b5ffb(0x7f)),sharp=require(_0x4b5ffb(0x90)),resvg_js_1=require(_0x4b5ffb(0x80));function _0x3931(){const _0x1f6b70=['png','2wdpPLz','1531005weBJjI','svg2img','21019144PHVpXz','308031EeBptg','4202850jPsYSu','__esModule','toBuffer','asPng','1018090PEwmoZ','bitmap','render','width','webp2PngBuffer','sharp','3057615eUYYIP','defineProperty','3803580BZODMl','isFullyOpaque','getWidth','ImageHelper','Resvg','jimp','@resvg/resvg-js'];_0x3931=function(){return _0x1f6b70;};return _0x3931();}class ImageHelper{static['createImg'](_0x4fc73c){return new Jimp(_0x4fc73c,_0x4fc73c,0x0);}static async[_0x4b5ffb(0x8f)](_0x2eb3b7){const _0x14cc46=_0x4b5ffb;return await sharp(_0x2eb3b7)['toFormat'](_0x14cc46(0x81))[_0x14cc46(0x89)]();}static async[_0x4b5ffb(0x84)](_0x86e238){const _0x2cfb94=_0x4b5ffb,_0xd98a3a={'fitTo':{'mode':_0x2cfb94(0x8e),'value':0x400}},_0x5e98ac=new resvg_js_1[(_0x2cfb94(0x7e))](_0x86e238,_0xd98a3a),_0x1f2ac3=_0x5e98ac[_0x2cfb94(0x8d)](),_0x4ac2a2=_0x1f2ac3[_0x2cfb94(0x8a)]();return _0x4ac2a2;}static[_0x4b5ffb(0x7b)](_0xd7d4bb){const _0xec1ef=_0x4b5ffb,_0x4a3788=_0xd7d4bb[_0xec1ef(0x7c)]()*_0xd7d4bb['getHeight']();for(var _0x217f1b=0x0;_0x217f1b<_0x4a3788;_0x217f1b++){const _0xd30ceb=_0x217f1b*0x4+0x3;if(_0xd7d4bb[_0xec1ef(0x8c)]['data'][_0xd30ceb]<0xff)return![];}return!![];}}exports[_0x4b5ffb(0x7d)]=ImageHelper;
1
+ 'use strict';const _0x571c03=_0x22f0;(function(_0x2ea153,_0x16a2b2){const _0x5cb267=_0x22f0,_0x5b5772=_0x2ea153();while(!![]){try{const _0x15a957=parseInt(_0x5cb267(0x1c2))/0x1+-parseInt(_0x5cb267(0x1de))/0x2*(parseInt(_0x5cb267(0x1da))/0x3)+-parseInt(_0x5cb267(0x1df))/0x4*(parseInt(_0x5cb267(0x1d5))/0x5)+-parseInt(_0x5cb267(0x1cd))/0x6*(parseInt(_0x5cb267(0x1c8))/0x7)+-parseInt(_0x5cb267(0x1c3))/0x8+parseInt(_0x5cb267(0x1cb))/0x9*(parseInt(_0x5cb267(0x1dc))/0xa)+-parseInt(_0x5cb267(0x1d9))/0xb*(-parseInt(_0x5cb267(0x1d7))/0xc);if(_0x15a957===_0x16a2b2)break;else _0x5b5772['push'](_0x5b5772['shift']());}catch(_0x42644e){_0x5b5772['push'](_0x5b5772['shift']());}}}(_0x57a4,0x8a303));function _0x57a4(){const _0x2c6d5e=['svg2img','isFullyOpaque','createImg','getWidth','87458qWlWtb','toFormat','getHeight','117naLUAI','ImageHelper','216CbNECp','bitmap','sharp','asPng','@resvg/resvg-js','width','data','Resvg','355UyUZAL','jimp','34041444tyXGQn','__esModule','11fbTHra','3eTEvVJ','toBuffer','28940FcjMuC','render','1301340uoKYdI','62892dWIWBA','defineProperty','629550niwIhs','5769224NhkllJ'];_0x57a4=function(){return _0x2c6d5e;};return _0x57a4();}Object[_0x571c03(0x1e0)](exports,_0x571c03(0x1d8),{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0x571c03(0x1d6)),sharp=require(_0x571c03(0x1cf)),resvg_js_1=require(_0x571c03(0x1d1));class ImageHelper{static[_0x571c03(0x1c6)](_0x510516){return new Jimp(_0x510516,_0x510516,0x0);}static async['webp2PngBuffer'](_0x41817f){const _0x20b333=_0x571c03;return await sharp(_0x41817f)[_0x20b333(0x1c9)]('png')[_0x20b333(0x1db)]();}static async[_0x571c03(0x1c4)](_0x1f69ed){const _0x163534=_0x571c03,_0x39a41c={'fitTo':{'mode':_0x163534(0x1d2),'value':0x400}},_0xcc8bf4=new resvg_js_1[(_0x163534(0x1d4))](_0x1f69ed,_0x39a41c),_0xe81f25=_0xcc8bf4[_0x163534(0x1dd)](),_0x379100=_0xe81f25[_0x163534(0x1d0)]();return _0x379100;}static[_0x571c03(0x1c5)](_0x5472c5){const _0x48bf9c=_0x571c03,_0x53df74=_0x5472c5[_0x48bf9c(0x1c7)]()*_0x5472c5[_0x48bf9c(0x1ca)]();for(var _0x4c0067=0x0;_0x4c0067<_0x53df74;_0x4c0067++){const _0x2c02d3=_0x4c0067*0x4+0x3;if(_0x5472c5[_0x48bf9c(0x1ce)][_0x48bf9c(0x1d3)][_0x2c02d3]<0xff)return![];}return!![];}}function _0x22f0(_0x1e33b8,_0xbf0892){const _0x57a4da=_0x57a4();return _0x22f0=function(_0x22f00a,_0x40bed7){_0x22f00a=_0x22f00a-0x1c2;let _0x555b04=_0x57a4da[_0x22f00a];return _0x555b04;},_0x22f0(_0x1e33b8,_0xbf0892);}exports[_0x571c03(0x1cc)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x51a6f5=_0x4074;(function(_0x21a44d,_0x18385b){const _0x3c1920=_0x4074,_0x5a99d4=_0x21a44d();while(!![]){try{const _0x38392f=parseInt(_0x3c1920(0x138))/0x1+parseInt(_0x3c1920(0x11e))/0x2*(parseInt(_0x3c1920(0x12a))/0x3)+parseInt(_0x3c1920(0x120))/0x4*(-parseInt(_0x3c1920(0x12b))/0x5)+parseInt(_0x3c1920(0x11d))/0x6*(-parseInt(_0x3c1920(0x13c))/0x7)+parseInt(_0x3c1920(0x115))/0x8+parseInt(_0x3c1920(0x130))/0x9*(-parseInt(_0x3c1920(0x112))/0xa)+parseInt(_0x3c1920(0x125))/0xb;if(_0x38392f===_0x18385b)break;else _0x5a99d4['push'](_0x5a99d4['shift']());}catch(_0x55a620){_0x5a99d4['push'](_0x5a99d4['shift']());}}}(_0x3cde,0x5b574));Object['defineProperty'](exports,_0x51a6f5(0x116),{'value':!![]}),exports[_0x51a6f5(0x11a)]=exports[_0x51a6f5(0x13d)]=exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']=exports[_0x51a6f5(0x13e)]=exports[_0x51a6f5(0x12d)]=exports['PROJECT_BUILD_DIRECTORY']=exports['PROJECT_DIRECTORY']=void 0x0;function _0x3cde(){const _0x8889bc=['src','927072wvpfzV','__esModule','log','icons','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','ResourceManager','ASSET_DIRECTORY','not\x20support\x20platform\x20','42zRXxcz','766058LEUnAI','./build','963156GUyhDX','./export','loadImageFromDisk','../../../node_modules/@webspatial/platform-','join','4492268KvwJLM','includes','path','loadImageFromNet','web-spatial/static-web','3dFLMdw','10MGOVoG','../../../','PROJECT_EXPORT_DIRECTORY','./load',',\x20now\x20WebSpatial\x20only\x20support\x20','1341qCJlGy','cwd','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','PROJECT_DIRECTORY','mkdirSync','http','existsSync','moveProjectFrom','655357JfqBKr','PROJECT_BUILD_DIRECTORY','generateIcon','resize','269633sBFTQf','MIDDLE_APPICON_DIRECTORY','WEB_PROJECT_DIRECTORY','BACK_APPICON_DIRECTORY','visionos','29350FMDvHW','startsWith'];_0x3cde=function(){return _0x8889bc;};return _0x3cde();}function _0x4074(_0x428402,_0x427506){const _0x3cdede=_0x3cde();return _0x4074=function(_0x4074cc,_0x34be83){_0x4074cc=_0x4074cc-0x111;let _0x30f79a=_0x3cdede[_0x4074cc];return _0x30f79a;},_0x4074(_0x428402,_0x427506);}const fs=require('fs'),path_1=require(_0x51a6f5(0x127)),file_1=require('./file'),load_1=require(_0x51a6f5(0x12e)),child_process_1=require('child_process');exports[_0x51a6f5(0x133)]='',exports[_0x51a6f5(0x139)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x51a6f5(0x13e)]=_0x51a6f5(0x129),exports['ASSET_DIRECTORY']='web-spatial/Assets.xcassets',exports[_0x51a6f5(0x13f)]=exports[_0x51a6f5(0x11b)]+_0x51a6f5(0x132),exports[_0x51a6f5(0x13d)]=exports['ASSET_DIRECTORY']+_0x51a6f5(0x119);const supportPlatform=[_0x51a6f5(0x111)];class ResourceManager{static async[_0x51a6f5(0x137)](_0x568f65){const _0x5c00d5=_0x51a6f5,_0x506724=(0x0,path_1[_0x5c00d5(0x124)])(process[_0x5c00d5(0x131)](),_0x568f65),_0x53def8=(0x0,path_1[_0x5c00d5(0x124)])(exports[_0x5c00d5(0x133)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x5c00d5(0x136)](_0x53def8)?fs[_0x5c00d5(0x134)](_0x53def8,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x53def8);try{(0x0,file_1['copyDir'])(_0x506724,_0x53def8);}catch(_0x1673e5){console[_0x5c00d5(0x117)](_0x1673e5);}}static async[_0x51a6f5(0x13a)](_0x2a93b3){const _0x42013d=_0x51a6f5,_0x49393a=_0x2a93b3['json'],_0x1e9dd1=_0x49393a[_0x42013d(0x118)][0x0][_0x42013d(0x114)],_0x10025d=!_0x1e9dd1[_0x42013d(0x113)](_0x42013d(0x135))?await(0x0,load_1[_0x42013d(0x122)])(_0x1e9dd1):await(0x0,load_1[_0x42013d(0x128)])(_0x1e9dd1);return _0x10025d[_0x42013d(0x13b)](0x400,0x400),_0x10025d;}static['checkPlatformPath'](_0x3aa353){const _0x1ed592=_0x51a6f5,_0x297771=_0x3aa353!==null&&_0x3aa353!==void 0x0?_0x3aa353:supportPlatform[0x0];if(!supportPlatform[_0x1ed592(0x126)](_0x297771))throw new Error(_0x1ed592(0x11c)+_0x297771+_0x1ed592(0x12f)+supportPlatform[_0x1ed592(0x124)](','));let _0x4dd8d7=(0x0,path_1['join'])(process['cwd'](),'node_modules/@webspatial/platform-'+_0x297771);!fs[_0x1ed592(0x136)](_0x4dd8d7)&&(_0x4dd8d7=(0x0,path_1['join'])(__dirname,_0x1ed592(0x123)+_0x297771));const _0x1763ed=fs[_0x1ed592(0x136)](_0x4dd8d7);!_0x1763ed&&(0x0,child_process_1['execSync'])('cd\x20'+(0x0,path_1['join'])(__dirname,_0x1ed592(0x12c))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x297771),exports['PROJECT_DIRECTORY']=_0x4dd8d7,exports[_0x1ed592(0x139)]=(0x0,path_1[_0x1ed592(0x124)])(exports[_0x1ed592(0x133)],_0x1ed592(0x11f)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x1ed592(0x124)])(exports[_0x1ed592(0x133)],_0x1ed592(0x121));}}exports['ResourceManager']=ResourceManager;
1
+ 'use strict';const _0x4e5ba8=_0xca64;(function(_0x50f7c2,_0x177dc3){const _0x5df55d=_0xca64,_0x57414c=_0x50f7c2();while(!![]){try{const _0x235a55=parseInt(_0x5df55d(0x173))/0x1+-parseInt(_0x5df55d(0x16b))/0x2*(-parseInt(_0x5df55d(0x179))/0x3)+-parseInt(_0x5df55d(0x15a))/0x4*(-parseInt(_0x5df55d(0x160))/0x5)+-parseInt(_0x5df55d(0x177))/0x6+-parseInt(_0x5df55d(0x163))/0x7+-parseInt(_0x5df55d(0x168))/0x8+parseInt(_0x5df55d(0x185))/0x9*(-parseInt(_0x5df55d(0x16d))/0xa);if(_0x235a55===_0x177dc3)break;else _0x57414c['push'](_0x57414c['shift']());}catch(_0xfeb5f3){_0x57414c['push'](_0x57414c['shift']());}}}(_0x2339,0x8615a));function _0x2339(){const _0x2504b7=['log','664200qojMpL','../../../','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','122708cdoUQa','moveProjectFrom','79960evzwDT','loadImageFromNet','./file','cwd','path','cd\x20','851533DfkJSp','PROJECT_BUILD_DIRECTORY','ASSET_DIRECTORY','src','1485120wZJcBh','PROJECT_DIRECTORY','18qnIZzx','BACK_APPICON_DIRECTORY','icons','includes','WEB_PROJECT_DIRECTORY','defineProperty','loadImageFromDisk','web-spatial/static-web','execSync','web-spatial/Assets.xcassets','node_modules/@webspatial/platform-','../../../node_modules/@webspatial/platform-','99RCArwO','resize','clearDir','child_process','MIDDLE_APPICON_DIRECTORY','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','279388foLtUZ','copyDir','./export','startsWith','join','existsSync','15XSgJQM','json','PROJECT_EXPORT_DIRECTORY','3230409SIPjOp','ResourceManager','__esModule','not\x20support\x20platform\x20'];_0x2339=function(){return _0x2504b7;};return _0x2339();}function _0xca64(_0x2aa997,_0x106d98){const _0x23395f=_0x2339();return _0xca64=function(_0xca648,_0x29e888){_0xca648=_0xca648-0x159;let _0x2dd0f6=_0x23395f[_0xca648];return _0x2dd0f6;},_0xca64(_0x2aa997,_0x106d98);}Object[_0x4e5ba8(0x17e)](exports,_0x4e5ba8(0x165),{'value':!![]}),exports[_0x4e5ba8(0x164)]=exports[_0x4e5ba8(0x189)]=exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']=exports['WEB_PROJECT_DIRECTORY']=exports[_0x4e5ba8(0x162)]=exports['PROJECT_BUILD_DIRECTORY']=exports[_0x4e5ba8(0x178)]=void 0x0;const fs=require('fs'),path_1=require(_0x4e5ba8(0x171)),file_1=require(_0x4e5ba8(0x16f)),load_1=require('./load'),child_process_1=require(_0x4e5ba8(0x188));exports[_0x4e5ba8(0x178)]='',exports[_0x4e5ba8(0x174)]='',exports[_0x4e5ba8(0x162)]='',exports[_0x4e5ba8(0x17d)]=_0x4e5ba8(0x180),exports[_0x4e5ba8(0x175)]=_0x4e5ba8(0x182),exports[_0x4e5ba8(0x17a)]=exports[_0x4e5ba8(0x175)]+_0x4e5ba8(0x16a),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x4e5ba8(0x175)]+_0x4e5ba8(0x159);const supportPlatform=['visionos'];class ResourceManager{static async[_0x4e5ba8(0x16c)](_0x489ec0){const _0x4ab75d=_0x4e5ba8,_0x1449bd=(0x0,path_1[_0x4ab75d(0x15e)])(process[_0x4ab75d(0x170)](),_0x489ec0),_0x29d123=(0x0,path_1[_0x4ab75d(0x15e)])(exports[_0x4ab75d(0x178)],exports[_0x4ab75d(0x17d)]);!fs[_0x4ab75d(0x15f)](_0x29d123)?fs['mkdirSync'](_0x29d123,{'recursive':!![]}):(0x0,file_1[_0x4ab75d(0x187)])(_0x29d123);try{(0x0,file_1[_0x4ab75d(0x15b)])(_0x1449bd,_0x29d123);}catch(_0x2bc7e6){console[_0x4ab75d(0x167)](_0x2bc7e6);}}static async['generateIcon'](_0x5b27f5){const _0x35362d=_0x4e5ba8,_0x53e897=_0x5b27f5[_0x35362d(0x161)],_0x724e13=_0x53e897[_0x35362d(0x17b)][0x0][_0x35362d(0x176)],_0x2b7776=!_0x724e13[_0x35362d(0x15d)]('http')?await(0x0,load_1[_0x35362d(0x17f)])(_0x724e13):await(0x0,load_1[_0x35362d(0x16e)])(_0x724e13);return _0x2b7776[_0x35362d(0x186)](0x400,0x400),_0x2b7776;}static['checkPlatformPath'](_0x578cef){const _0x23b672=_0x4e5ba8,_0x2f3684=_0x578cef!==null&&_0x578cef!==void 0x0?_0x578cef:supportPlatform[0x0];if(!supportPlatform[_0x23b672(0x17c)](_0x2f3684))throw new Error(_0x23b672(0x166)+_0x2f3684+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform[_0x23b672(0x15e)](','));let _0x58ab66=(0x0,path_1[_0x23b672(0x15e)])(process[_0x23b672(0x170)](),_0x23b672(0x183)+_0x2f3684);!fs[_0x23b672(0x15f)](_0x58ab66)&&(_0x58ab66=(0x0,path_1['join'])(__dirname,_0x23b672(0x184)+_0x2f3684));const _0x28f943=fs[_0x23b672(0x15f)](_0x58ab66);!_0x28f943&&(0x0,child_process_1[_0x23b672(0x181)])(_0x23b672(0x172)+(0x0,path_1[_0x23b672(0x15e)])(__dirname,_0x23b672(0x169))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x2f3684),exports['PROJECT_DIRECTORY']=_0x58ab66,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x23b672(0x15e)])(exports[_0x23b672(0x178)],'./build'),exports[_0x23b672(0x162)]=(0x0,path_1[_0x23b672(0x15e)])(exports[_0x23b672(0x178)],_0x23b672(0x15c));}}exports[_0x4e5ba8(0x164)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x55115e=_0xb731;function _0xb731(_0x2aa3c1,_0x28c485){const _0x423316=_0x4233();return _0xb731=function(_0xb7317e,_0xa1d51d){_0xb7317e=_0xb7317e-0x1a5;let _0x2bd0b4=_0x423316[_0xb7317e];return _0x2bd0b4;},_0xb731(_0x2aa3c1,_0x28c485);}(function(_0x3ff85a,_0x3d1557){const _0x126ca3=_0xb731,_0x48c911=_0x3ff85a();while(!![]){try{const _0x389a26=-parseInt(_0x126ca3(0x1b6))/0x1*(-parseInt(_0x126ca3(0x1a8))/0x2)+parseInt(_0x126ca3(0x1d8))/0x3*(-parseInt(_0x126ca3(0x1ac))/0x4)+-parseInt(_0x126ca3(0x1c4))/0x5*(parseInt(_0x126ca3(0x1b0))/0x6)+-parseInt(_0x126ca3(0x1d0))/0x7*(-parseInt(_0x126ca3(0x1b2))/0x8)+parseInt(_0x126ca3(0x1a9))/0x9*(parseInt(_0x126ca3(0x1b7))/0xa)+parseInt(_0x126ca3(0x1c5))/0xb*(-parseInt(_0x126ca3(0x1d5))/0xc)+-parseInt(_0x126ca3(0x1bb))/0xd;if(_0x389a26===_0x3d1557)break;else _0x48c911['push'](_0x48c911['shift']());}catch(_0x4ea83b){_0x48c911['push'](_0x48c911['shift']());}}}(_0x4233,0x6194f));function _0x4233(){const _0x304a85=['2765dsMWAQ','./imageHelper','toString','gzip','decode','221436wWnlry','parse','__esModule','669ZFdspa',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','from','headers','\x20Responded\x20with\x20Content-Type\x20\x22','CustomError','2xhiUvB','3062115aqqOWx','fetchUtils','deflate','1228UWtYWQ','status','The\x20response\x20status\x20is\x20','image/svg','156QCJZAO','promises','9704bTtyUT','text','image/webp','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','738032vGIqUM','10sDDyRg','../utils/FetchUtils-1','loadImageFromNet','image/','8964683KAwBtp','read','defineProperty','arrayBuffer','jimp','binary','data','webp2PngBuffer','decompressResponseBuffer','2335rgbPBC','231JnJfVF','content-encoding','svg2img','fetch','ImageHelper','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadFileString','includes','Problem\x20reading\x20','content-type','loadJsonFromNet'];_0x4233=function(){return _0x304a85;};return _0x4233();}Object[_0x55115e(0x1bd)](exports,_0x55115e(0x1d7),{'value':!![]}),exports[_0x55115e(0x1cf)]=loadJsonFromNet,exports['loadJsonFromDisk']=loadJsonFromDisk,exports[_0x55115e(0x1b9)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x55115e(0x1cb)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x55115e(0x1b8)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x55115e(0x1bf)),imageHelper_1=require(_0x55115e(0x1d1));async function loadJsonFromNet(_0x43fff2){const _0x3947e5=_0x55115e,_0x399b81=await FetchUtils_1_1[_0x3947e5(0x1aa)][_0x3947e5(0x1c8)](_0x43fff2,{'encoding':_0x3947e5(0x1c0)});if(_0x399b81[_0x3947e5(0x1ad)]!==0xc8)throw new CustomError_1[(_0x3947e5(0x1a7))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x43fff2+'.'+(_0x3947e5(0x1ae)+_0x399b81['status']+_0x3947e5(0x1d9)),'message_staring_params':{'web_manifest_url':_0x43fff2,'status':_0x399b81['status']}});try{let _0x4dc64c;return _0x399b81[_0x3947e5(0x1b3)]?_0x4dc64c=await _0x399b81[_0x3947e5(0x1b3)]():[_0x3947e5(0x1d3),_0x3947e5(0x1ab),'br']['includes'](_0x399b81['headers'][_0x3947e5(0x1c6)])?_0x4dc64c=FetchUtils_1_1[_0x3947e5(0x1aa)]['decompressResponseBuffer'](Buffer[_0x3947e5(0x1db)](_0x399b81[_0x3947e5(0x1c1)],_0x3947e5(0x1c0)),_0x399b81[_0x3947e5(0x1a5)][_0x3947e5(0x1c6)])['toString']():_0x4dc64c=Buffer['from'](_0x399b81[_0x3947e5(0x1c1)],_0x3947e5(0x1c0))[_0x3947e5(0x1d2)](),JSON['parse'](_0x4dc64c['trim']());}catch(_0x1429b1){throw new CustomError_1[(_0x3947e5(0x1a7))]({'code':0xbbd,'message':_0x3947e5(0x1ca),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x2b50db){const _0x51193f=_0x55115e,_0x1c5cf7=await loadFileString(_0x2b50db['toString']());return JSON[_0x51193f(0x1d6)](_0x1c5cf7);}async function loadImageFromNet(_0x5b2b08){const _0x20e924=_0x55115e,_0x5f3321=await FetchUtils_1_1['fetchUtils'][_0x20e924(0x1c8)](_0x5b2b08,{'encoding':_0x20e924(0x1c0)});if(_0x5f3321[_0x20e924(0x1ad)]!==0xc8)throw new CustomError_1[(_0x20e924(0x1a7))]({'code':0x7d2,'message':_0x20e924(0x1b5)+_0x5f3321[_0x20e924(0x1ad)],'message_staring_params':{'icon_url':_0x5b2b08,'status':_0x5f3321[_0x20e924(0x1ad)]}});const _0x47cf4c=_0x5f3321[_0x20e924(0x1a5)]['get']?_0x5f3321[_0x20e924(0x1a5)]['get'](_0x20e924(0x1ce)):_0x5f3321[_0x20e924(0x1a5)][_0x20e924(0x1ce)];if(!(_0x47cf4c===null||_0x47cf4c===void 0x0?void 0x0:_0x47cf4c[_0x20e924(0x1da)](_0x20e924(0x1ba))))throw new CustomError_1[(_0x20e924(0x1a7))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x20e924(0x1a6)+_0x47cf4c+'\x22'),'message_staring_params':{'icon_url':_0x5b2b08,'contentType':_0x47cf4c}});let _0x59854d;_0x5f3321[_0x20e924(0x1be)]?_0x59854d=await _0x5f3321['arrayBuffer']():[_0x20e924(0x1d3),_0x20e924(0x1ab),'br'][_0x20e924(0x1cc)](_0x5f3321[_0x20e924(0x1a5)]['content-encoding'])?_0x59854d=FetchUtils_1_1[_0x20e924(0x1aa)][_0x20e924(0x1c3)](Buffer['from'](_0x5f3321[_0x20e924(0x1c1)],_0x20e924(0x1c0)),_0x5f3321['headers'][_0x20e924(0x1c6)]):_0x59854d=Buffer[_0x20e924(0x1db)](_0x5f3321[_0x20e924(0x1c1)],_0x20e924(0x1c0));if(_0x47cf4c[_0x20e924(0x1da)](_0x20e924(0x1af))){const _0x46a1c7=new TextDecoder();try{_0x59854d=await imageHelper_1[_0x20e924(0x1c9)][_0x20e924(0x1c7)](_0x46a1c7[_0x20e924(0x1d4)](_0x59854d));}catch(_0x16064b){throw new CustomError_1[(_0x20e924(0x1a7))]({'code':0x7d4,'message':_0x20e924(0x1cd)+_0x5b2b08+':\x20'+_0x16064b,'message_staring_params':{'icon_url':_0x5b2b08,'error':_0x16064b}});}}return _0x47cf4c['startsWith'](_0x20e924(0x1b4))&&(_0x59854d=await imageHelper_1[_0x20e924(0x1c9)][_0x20e924(0x1c2)](_0x59854d)),await Jimp[_0x20e924(0x1bc)](Buffer[_0x20e924(0x1db)](_0x59854d));}async function loadImageFromDisk(_0x9d2abf){return await Jimp['read'](_0x9d2abf);}async function loadFileString(_0x596fef){const _0xb76696=_0x55115e;let _0x375a7b=await fs[_0xb76696(0x1b1)]['readFile'](_0x596fef[_0xb76696(0x1d2)]());return _0x375a7b[_0xb76696(0x1d2)]();}
1
+ 'use strict';const _0x57d5c0=_0x2532;(function(_0x1e6e46,_0x4f3563){const _0xbb10ad=_0x2532,_0x19967a=_0x1e6e46();while(!![]){try{const _0x16fbb6=parseInt(_0xbb10ad(0x93))/0x1*(-parseInt(_0xbb10ad(0x8a))/0x2)+parseInt(_0xbb10ad(0x8c))/0x3*(-parseInt(_0xbb10ad(0xa3))/0x4)+parseInt(_0xbb10ad(0xb5))/0x5*(parseInt(_0xbb10ad(0x98))/0x6)+-parseInt(_0xbb10ad(0xb6))/0x7*(-parseInt(_0xbb10ad(0x81))/0x8)+parseInt(_0xbb10ad(0xb4))/0x9+-parseInt(_0xbb10ad(0xb2))/0xa+parseInt(_0xbb10ad(0x82))/0xb*(parseInt(_0xbb10ad(0x97))/0xc);if(_0x16fbb6===_0x4f3563)break;else _0x19967a['push'](_0x19967a['shift']());}catch(_0x4482f7){_0x19967a['push'](_0x19967a['shift']());}}}(_0x1fcf,0xf0c7f));Object[_0x57d5c0(0xa8)](exports,_0x57d5c0(0x86),{'value':!![]}),exports[_0x57d5c0(0xa0)]=loadJsonFromNet,exports[_0x57d5c0(0x84)]=loadJsonFromDisk,exports[_0x57d5c0(0x99)]=loadImageFromNet,exports[_0x57d5c0(0xa1)]=loadImageFromDisk,exports[_0x57d5c0(0x8e)]=loadFileString;function _0x2532(_0x5c9546,_0x39372c){const _0x1fcf74=_0x1fcf();return _0x2532=function(_0x2532b2,_0x5e7920){_0x2532b2=_0x2532b2-0x80;let _0x4ea2ff=_0x1fcf74[_0x2532b2];return _0x4ea2ff;},_0x2532(_0x5c9546,_0x39372c);}const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x57d5c0(0x9c)),Jimp=require(_0x57d5c0(0x91)),imageHelper_1=require(_0x57d5c0(0x8d));async function loadJsonFromNet(_0x5d975a){const _0x152796=_0x57d5c0,_0x4d43d4=await FetchUtils_1_1[_0x152796(0xab)][_0x152796(0x89)](_0x5d975a,{'encoding':_0x152796(0x8f)});if(_0x4d43d4['status']!==0xc8)throw new CustomError_1[(_0x152796(0xac))]({'code':0xbbc,'message':_0x152796(0xb0)+_0x5d975a+'.'+(_0x152796(0x83)+_0x4d43d4[_0x152796(0x87)]+_0x152796(0xa7)),'message_staring_params':{'web_manifest_url':_0x5d975a,'status':_0x4d43d4['status']}});try{let _0x5bdefe;return _0x4d43d4[_0x152796(0xb1)]?_0x5bdefe=await _0x4d43d4[_0x152796(0xb1)]():['gzip',_0x152796(0xa2),'br']['includes'](_0x4d43d4[_0x152796(0x94)][_0x152796(0x80)])?_0x5bdefe=FetchUtils_1_1[_0x152796(0xab)][_0x152796(0xaf)](Buffer['from'](_0x4d43d4['data'],_0x152796(0x8f)),_0x4d43d4[_0x152796(0x94)]['content-encoding'])['toString']():_0x5bdefe=Buffer[_0x152796(0x85)](_0x4d43d4[_0x152796(0xa4)],_0x152796(0x8f))[_0x152796(0xaa)](),JSON[_0x152796(0x9a)](_0x5bdefe[_0x152796(0x9e)]());}catch(_0xbda288){throw new CustomError_1[(_0x152796(0xac))]({'code':0xbbd,'message':_0x152796(0x95),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x3ef337){const _0x6a88e4=_0x57d5c0,_0x1650c0=await loadFileString(_0x3ef337[_0x6a88e4(0xaa)]());return JSON[_0x6a88e4(0x9a)](_0x1650c0);}async function loadImageFromNet(_0x43aef5){const _0x2d11f8=_0x57d5c0,_0x5f1cc5=await FetchUtils_1_1[_0x2d11f8(0xab)][_0x2d11f8(0x89)](_0x43aef5,{'encoding':_0x2d11f8(0x8f)});if(_0x5f1cc5[_0x2d11f8(0x87)]!==0xc8)throw new CustomError_1[(_0x2d11f8(0xac))]({'code':0x7d2,'message':_0x2d11f8(0xae)+_0x5f1cc5['status'],'message_staring_params':{'icon_url':_0x43aef5,'status':_0x5f1cc5[_0x2d11f8(0x87)]}});const _0x313cc1=_0x5f1cc5['headers']['get']?_0x5f1cc5[_0x2d11f8(0x94)]['get']('content-type'):_0x5f1cc5['headers'][_0x2d11f8(0xa9)];if(!(_0x313cc1===null||_0x313cc1===void 0x0?void 0x0:_0x313cc1['startsWith']('image/')))throw new CustomError_1[(_0x2d11f8(0xac))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x2d11f8(0xa6)+_0x313cc1+'\x22'),'message_staring_params':{'icon_url':_0x43aef5,'contentType':_0x313cc1}});let _0x4b8332;_0x5f1cc5[_0x2d11f8(0x88)]?_0x4b8332=await _0x5f1cc5[_0x2d11f8(0x88)]():[_0x2d11f8(0x9f),_0x2d11f8(0xa2),'br'][_0x2d11f8(0x9b)](_0x5f1cc5[_0x2d11f8(0x94)][_0x2d11f8(0x80)])?_0x4b8332=FetchUtils_1_1[_0x2d11f8(0xab)][_0x2d11f8(0xaf)](Buffer[_0x2d11f8(0x85)](_0x5f1cc5['data'],_0x2d11f8(0x8f)),_0x5f1cc5['headers']['content-encoding']):_0x4b8332=Buffer[_0x2d11f8(0x85)](_0x5f1cc5[_0x2d11f8(0xa4)],_0x2d11f8(0x8f));if(_0x313cc1['startsWith']('image/svg')){const _0x4a377a=new TextDecoder();try{_0x4b8332=await imageHelper_1[_0x2d11f8(0x8b)][_0x2d11f8(0x9d)](_0x4a377a[_0x2d11f8(0x96)](_0x4b8332));}catch(_0x4cd113){throw new CustomError_1[(_0x2d11f8(0xac))]({'code':0x7d4,'message':_0x2d11f8(0x90)+_0x43aef5+':\x20'+_0x4cd113,'message_staring_params':{'icon_url':_0x43aef5,'error':_0x4cd113}});}}return _0x313cc1[_0x2d11f8(0xa5)](_0x2d11f8(0x92))&&(_0x4b8332=await imageHelper_1['ImageHelper']['webp2PngBuffer'](_0x4b8332)),await Jimp[_0x2d11f8(0xb3)](Buffer[_0x2d11f8(0x85)](_0x4b8332));}async function loadImageFromDisk(_0x276f7c){const _0x11f927=_0x57d5c0;return await Jimp[_0x11f927(0xb3)](_0x276f7c);}function _0x1fcf(){const _0x440583=['defineProperty','content-type','toString','fetchUtils','CustomError','promises','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','decompressResponseBuffer','Failed\x20to\x20download\x20Web\x20Manifest\x20','text','13987440AXjBfN','read','9052011mjNjNL','9837235ilYHrd','3214694sToYmB','content-encoding','8PnjuOw','655072qCVzqx','The\x20response\x20status\x20is\x20','loadJsonFromDisk','from','__esModule','status','arrayBuffer','fetch','356vOeCjJ','ImageHelper','3KinZSX','./imageHelper','loadFileString','binary','Problem\x20reading\x20','jimp','image/webp','10091CTVrvX','headers','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','decode','516jTiPgG','6FpyzxA','loadImageFromNet','parse','includes','../utils/CustomError','svg2img','trim','gzip','loadJsonFromNet','loadImageFromDisk','deflate','7248092UzJxyt','data','startsWith','\x20Responded\x20with\x20Content-Type\x20\x22',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'];_0x1fcf=function(){return _0x440583;};return _0x1fcf();}async function loadFileString(_0x441725){const _0x1b7cc0=_0x57d5c0;let _0x3acdf2=await fs[_0x1b7cc0(0xad)]['readFile'](_0x441725[_0x1b7cc0(0xaa)]());return _0x3acdf2[_0x1b7cc0(0xaa)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x5b0730=_0xb57b;(function(_0x376da7,_0x362a82){var _0x4a236f=_0xb57b,_0x3c3a3d=_0x376da7();while(!![]){try{var _0x8a2968=parseInt(_0x4a236f(0x95))/0x1*(-parseInt(_0x4a236f(0x8b))/0x2)+-parseInt(_0x4a236f(0x91))/0x3*(-parseInt(_0x4a236f(0x8e))/0x4)+-parseInt(_0x4a236f(0x92))/0x5+-parseInt(_0x4a236f(0x8c))/0x6*(parseInt(_0x4a236f(0x98))/0x7)+parseInt(_0x4a236f(0x99))/0x8*(-parseInt(_0x4a236f(0x96))/0x9)+-parseInt(_0x4a236f(0x97))/0xa*(parseInt(_0x4a236f(0x8d))/0xb)+parseInt(_0x4a236f(0x8f))/0xc*(parseInt(_0x4a236f(0x90))/0xd);if(_0x8a2968===_0x362a82)break;else _0x3c3a3d['push'](_0x3c3a3d['shift']());}catch(_0x3876cb){_0x3c3a3d['push'](_0x3c3a3d['shift']());}}}(_0x43bd,0xd4ee9));Object[_0x5b0730(0x94)](exports,_0x5b0730(0x9b),{'value':!![]}),exports['CustomError']=void 0x0;function _0xb57b(_0x168db6,_0x507c2e){var _0x43bd08=_0x43bd();return _0xb57b=function(_0xb57b1,_0x119237){_0xb57b1=_0xb57b1-0x8b;var _0x5603dd=_0x43bd08[_0xb57b1];return _0x5603dd;},_0xb57b(_0x168db6,_0x507c2e);}class CustomError extends Error{constructor(_0x626bdd,_0x4f8101){var _0xeca3ce=_0x5b0730;super(JSON[_0xeca3ce(0x9c)](_0x626bdd)),this[_0xeca3ce(0x9a)]=_0x626bdd,this[_0xeca3ce(0x93)]=_0x4f8101||'info';}}exports['CustomError']=CustomError;function _0x43bd(){var _0x8aea31=['6316254bbkblE','20JxBoSs','21KipXqQ','8VUlrYM','customMessage','__esModule','stringify','2knwKwu','1659222BMmsdA','217701GscZCb','668bQbwHA','117612djrpsG','3523GWrjaH','26766tTyxDl','6212640hzGNSk','type','defineProperty','460349FPWipR'];_0x43bd=function(){return _0x8aea31;};return _0x43bd();}
1
+ 'use strict';var _0x439221=_0x3e31;(function(_0x5e939f,_0x22ce8f){var _0x324898=_0x3e31,_0x3fd0f2=_0x5e939f();while(!![]){try{var _0x128367=parseInt(_0x324898(0x17c))/0x1*(parseInt(_0x324898(0x18c))/0x2)+parseInt(_0x324898(0x183))/0x3*(-parseInt(_0x324898(0x17a))/0x4)+-parseInt(_0x324898(0x181))/0x5*(-parseInt(_0x324898(0x18a))/0x6)+-parseInt(_0x324898(0x187))/0x7*(-parseInt(_0x324898(0x185))/0x8)+parseInt(_0x324898(0x17b))/0x9+-parseInt(_0x324898(0x18b))/0xa*(-parseInt(_0x324898(0x182))/0xb)+-parseInt(_0x324898(0x180))/0xc*(parseInt(_0x324898(0x188))/0xd);if(_0x128367===_0x22ce8f)break;else _0x3fd0f2['push'](_0x3fd0f2['shift']());}catch(_0x5d0be3){_0x3fd0f2['push'](_0x3fd0f2['shift']());}}}(_0x2d34,0x196e2));function _0x2d34(){var _0x397ecf=['stringify','90223oMHImz','5253222odcLTn','CustomError','12162OjeCJV','51380GAdXDE','358724wzuOzd','4hbIkRj','1228149oWurPU','1kdhlpz','info','customMessage','type','12CvjCWp','25XLzZee','55IBdTSq','110181wnBeId','defineProperty','120fabkNj'];_0x2d34=function(){return _0x397ecf;};return _0x2d34();}Object[_0x439221(0x184)](exports,'__esModule',{'value':!![]}),exports[_0x439221(0x189)]=void 0x0;function _0x3e31(_0x1172ef,_0xfdacbf){var _0x2d349b=_0x2d34();return _0x3e31=function(_0x3e311c,_0x443a38){_0x3e311c=_0x3e311c-0x17a;var _0x285c3c=_0x2d349b[_0x3e311c];return _0x285c3c;},_0x3e31(_0x1172ef,_0xfdacbf);}class CustomError extends Error{constructor(_0x13a392,_0x53fe5b){var _0x437bc8=_0x439221;super(JSON[_0x437bc8(0x186)](_0x13a392)),this[_0x437bc8(0x17e)]=_0x13a392,this[_0x437bc8(0x17f)]=_0x53fe5b||_0x437bc8(0x17d);}}exports[_0x439221(0x189)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';function _0x3d31(_0x55d72b,_0x19369c){const _0x21dcb1=_0x21dc();return _0x3d31=function(_0x3d31cc,_0x4f2a1e){_0x3d31cc=_0x3d31cc-0x1a6;let _0x141b78=_0x21dcb1[_0x3d31cc];return _0x141b78;},_0x3d31(_0x55d72b,_0x19369c);}const _0x2a3fc5=_0x3d31;function _0x21dc(){const _0x44e146=['defineProperty','294fazKXP','fetchEngine','80CxOnuh','fetchUtils','802611KbIiae','3osfzHF','868677MrwvHE','__esModule','downloadFile','901659bcQNLz','fetch','setDecompressResponseBuffer','setFetch','setDownloadFile','83358HCzEzN','8qbqPLe','2472160DigFwm','60RiHlWg','67930PqCFBv','decompressResponseBuffer','158402rbiESv','setFetchEngine'];_0x21dc=function(){return _0x44e146;};return _0x21dc();}(function(_0x143dd9,_0x5ca9a7){const _0x314bb0=_0x3d31,_0x39449a=_0x143dd9();while(!![]){try{const _0x42413=-parseInt(_0x314bb0(0x1b1))/0x1*(parseInt(_0x314bb0(0x1a9))/0x2)+parseInt(_0x314bb0(0x1b2))/0x3+-parseInt(_0x314bb0(0x1ae))/0x4*(-parseInt(_0x314bb0(0x1a7))/0x5)+-parseInt(_0x314bb0(0x1ba))/0x6*(-parseInt(_0x314bb0(0x1ac))/0x7)+-parseInt(_0x314bb0(0x1bb))/0x8*(-parseInt(_0x314bb0(0x1b0))/0x9)+-parseInt(_0x314bb0(0x1bc))/0xa+parseInt(_0x314bb0(0x1b5))/0xb*(-parseInt(_0x314bb0(0x1a6))/0xc);if(_0x42413===_0x5ca9a7)break;else _0x39449a['push'](_0x39449a['shift']());}catch(_0x161e0e){_0x39449a['push'](_0x39449a['shift']());}}}(_0x21dc,0x52d64));Object[_0x2a3fc5(0x1ab)](exports,_0x2a3fc5(0x1b3),{'value':!![]}),exports[_0x2a3fc5(0x1af)]=void 0x0;class FetchUtils{constructor(){const _0x2f36fa=_0x2a3fc5;this[_0x2f36fa(0x1ad)]=null,this[_0x2f36fa(0x1b6)]=null,this[_0x2f36fa(0x1b4)]=null,this[_0x2f36fa(0x1a8)]=null;}[_0x2a3fc5(0x1aa)](_0x33a7f8){const _0x81675a=_0x2a3fc5;this[_0x81675a(0x1ad)]=_0x33a7f8;}[_0x2a3fc5(0x1b8)](_0xadf963){const _0x40db7a=_0x2a3fc5;this[_0x40db7a(0x1b6)]=_0xadf963;}[_0x2a3fc5(0x1b9)](_0x1d99ce){const _0x4534f4=_0x2a3fc5;this[_0x4534f4(0x1b4)]=_0x1d99ce;}[_0x2a3fc5(0x1b7)](_0x395f1e){const _0x3a3c59=_0x2a3fc5;this[_0x3a3c59(0x1a8)]=_0x395f1e;}}const fetchUtils=new FetchUtils();exports[_0x2a3fc5(0x1af)]=fetchUtils;
1
+ 'use strict';const _0x3dcbd8=_0x23eb;(function(_0x3ff1ce,_0x18642d){const _0x4f637d=_0x23eb,_0x49c1b3=_0x3ff1ce();while(!![]){try{const _0x4ffd8e=-parseInt(_0x4f637d(0x1a9))/0x1+parseInt(_0x4f637d(0x1a7))/0x2*(-parseInt(_0x4f637d(0x1a0))/0x3)+-parseInt(_0x4f637d(0x19b))/0x4+parseInt(_0x4f637d(0x19c))/0x5+parseInt(_0x4f637d(0x1a4))/0x6+-parseInt(_0x4f637d(0x1aa))/0x7*(parseInt(_0x4f637d(0x1ad))/0x8)+parseInt(_0x4f637d(0x1a8))/0x9*(parseInt(_0x4f637d(0x1a3))/0xa);if(_0x4ffd8e===_0x18642d)break;else _0x49c1b3['push'](_0x49c1b3['shift']());}catch(_0x98ad2c){_0x49c1b3['push'](_0x49c1b3['shift']());}}}(_0x4d38,0xa0599));Object[_0x3dcbd8(0x19a)](exports,_0x3dcbd8(0x1a6),{'value':!![]}),exports[_0x3dcbd8(0x1a5)]=void 0x0;class FetchUtils{constructor(){const _0x23e519=_0x3dcbd8;this[_0x23e519(0x19f)]=null,this[_0x23e519(0x1a2)]=null,this[_0x23e519(0x19d)]=null,this[_0x23e519(0x1ab)]=null;}[_0x3dcbd8(0x1a1)](_0x9c8e9c){const _0x1e5c0f=_0x3dcbd8;this[_0x1e5c0f(0x19f)]=_0x9c8e9c;}['setFetch'](_0x143031){const _0x29054d=_0x3dcbd8;this[_0x29054d(0x1a2)]=_0x143031;}[_0x3dcbd8(0x19e)](_0x338093){const _0x52f24e=_0x3dcbd8;this[_0x52f24e(0x19d)]=_0x338093;}[_0x3dcbd8(0x1ac)](_0xa6f96d){const _0x5a16ff=_0x3dcbd8;this[_0x5a16ff(0x1ab)]=_0xa6f96d;}}const fetchUtils=new FetchUtils();exports[_0x3dcbd8(0x1a5)]=fetchUtils;function _0x23eb(_0x3cd5cc,_0x183485){const _0x4d3845=_0x4d38();return _0x23eb=function(_0x23eb1f,_0x24eecf){_0x23eb1f=_0x23eb1f-0x19a;let _0x2dfc6e=_0x4d3845[_0x23eb1f];return _0x2dfc6e;},_0x23eb(_0x3cd5cc,_0x183485);}function _0x4d38(){const _0xe434ff=['1093093LxPlvC','1024849pdBECs','decompressResponseBuffer','setDecompressResponseBuffer','24fTYJxt','defineProperty','2459480jahiHt','732200CUSjQa','downloadFile','setDownloadFile','fetchEngine','2051604DeMOul','setFetchEngine','fetch','1220vTWhot','430098llcgVI','fetchUtils','__esModule','2ikNwgN','241209TLKfCZ'];_0x4d38=function(){return _0xe434ff;};return _0x4d38();}
@@ -1 +1 @@
1
- 'use strict';var _0x5a2aa9=_0x2a8b;(function(_0x1a3282,_0x1251c3){var _0x3f3011=_0x2a8b,_0x3154d8=_0x1a3282();while(!![]){try{var _0x3a7c95=-parseInt(_0x3f3011(0xed))/0x1*(parseInt(_0x3f3011(0xe3))/0x2)+-parseInt(_0x3f3011(0xfc))/0x3*(-parseInt(_0x3f3011(0xf1))/0x4)+parseInt(_0x3f3011(0xf3))/0x5+parseInt(_0x3f3011(0xef))/0x6+-parseInt(_0x3f3011(0xfb))/0x7*(-parseInt(_0x3f3011(0xf6))/0x8)+-parseInt(_0x3f3011(0xeb))/0x9+-parseInt(_0x3f3011(0xe7))/0xa;if(_0x3a7c95===_0x1251c3)break;else _0x3154d8['push'](_0x3154d8['shift']());}catch(_0xc319cc){_0x3154d8['push'](_0x3154d8['shift']());}}}(_0x26b1,0xd1e0e));function _0x2a8b(_0xb0519d,_0x4aecbf){var _0x26b11c=_0x26b1();return _0x2a8b=function(_0x2a8bab,_0x3091e4){_0x2a8bab=_0x2a8bab-0xdd;var _0x16df88=_0x26b11c[_0x2a8bab];return _0x16df88;},_0x2a8b(_0xb0519d,_0x4aecbf);}Object['defineProperty'](exports,_0x5a2aa9(0xde),{'value':!![]}),exports[_0x5a2aa9(0xdf)]=void 0x0;class ConsoleLog{constructor(_0x46dac1='',_0x46a03a=![],_0x36249e=console){var _0x3d41a3=_0x5a2aa9;this[_0x3d41a3(0xf7)]=_0x46dac1,this[_0x3d41a3(0xea)]=_0x46a03a,this[_0x3d41a3(0xe4)]=this[_0x3d41a3(0xdd)](_0x46dac1),this[_0x3d41a3(0xe6)]=_0x36249e;}['debug'](_0x1f5c8d,..._0x5ed615){var _0x7e81f4=_0x5a2aa9;if(!this['verbose'])return;this[_0x7e81f4(0xee)](this['output'][_0x7e81f4(0xee)],this['dim'](_0x1f5c8d),..._0x5ed615);}['info'](_0x10228a,..._0x19c6ca){var _0x5c1321=_0x5a2aa9;this[_0x5c1321(0xee)](this[_0x5c1321(0xe6)][_0x5c1321(0xee)],_0x10228a,..._0x19c6ca);}[_0x5a2aa9(0xe9)](_0x285af6,..._0x25bb0d){var _0x3005ba=_0x5a2aa9;this[_0x3005ba(0xee)](this[_0x3005ba(0xe6)][_0x3005ba(0xe9)],this[_0x3005ba(0xe2)](_0x3005ba(0xf0)+_0x285af6),..._0x25bb0d);}[_0x5a2aa9(0xf2)](_0x49a849,..._0x161e56){var _0x102de6=_0x5a2aa9;this[_0x102de6(0xe6)][_0x102de6(0xf2)]('\x0a'),this[_0x102de6(0xee)](this[_0x102de6(0xe6)][_0x102de6(0xf2)],this[_0x102de6(0xf9)](_0x102de6(0xf8)+_0x49a849),..._0x161e56),this[_0x102de6(0xe6)][_0x102de6(0xf2)]('\x0a');}[_0x5a2aa9(0xe0)](_0x338ca1){var _0x19c946=_0x5a2aa9;this[_0x19c946(0xea)]=_0x338ca1;}[_0x5a2aa9(0xe8)](_0x43cfb8){var _0x2533b0=_0x5a2aa9;return this[_0x2533b0(0xf7)]&&(_0x43cfb8=this[_0x2533b0(0xf7)]+'\x20'+_0x43cfb8),new ConsoleLog(_0x43cfb8,this[_0x2533b0(0xea)],this[_0x2533b0(0xe6)]);}[_0x5a2aa9(0xee)](_0x3ac146,_0x57387f,..._0x37d90f){var _0x333d4c=_0x5a2aa9;this[_0x333d4c(0xe4)]&&(_0x57387f=this[_0x333d4c(0xe4)]+'\x20'+_0x57387f),_0x37d90f?_0x3ac146(...[_0x57387f][_0x333d4c(0xf4)](_0x37d90f)):_0x3ac146(_0x57387f);}['inverse'](_0x5a8f10){var _0x4b0216=_0x5a2aa9;return _0x4b0216(0xe5)+_0x5a8f10+'\x1b[0m';}['dim'](_0x2d034b){var _0x5b8d98=_0x5a2aa9;return _0x5b8d98(0xec)+_0x2d034b+_0x5b8d98(0xe1);}[_0x5a2aa9(0xe2)](_0x581863){var _0x4aadae=_0x5a2aa9;return _0x4aadae(0xfa)+_0x581863+_0x4aadae(0xe1);}[_0x5a2aa9(0xf9)](_0x373e2b){var _0x1d9f10=_0x5a2aa9;return _0x1d9f10(0xf5)+_0x373e2b+_0x1d9f10(0xe1);}}function _0x26b1(){var _0x1b7793=['40AFDBKN','error','8276870DXqdJu','concat','\x1b[31m','14128LECMVs','tag','ERROR\x20','red','\x1b[33m','4235lalzbx','195LUtZTH','inverse','__esModule','ConsoleLog','setVerbose','\x1b[0m','yellow','2VgyvKR','prefix','\x1b[7m','output','9260550paYZog','newLog','warn','verbose','5977809jwcFAH','\x1b[36m','716051SmnNCJ','log','2649090HQoCaC','WARNING\x20'];_0x26b1=function(){return _0x1b7793;};return _0x26b1();}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x376001=_0x3c9c;(function(_0x3d71d2,_0x2fff67){var _0x19c67c=_0x3c9c,_0x48ef95=_0x3d71d2();while(!![]){try{var _0x58c32f=parseInt(_0x19c67c(0x20c))/0x1*(-parseInt(_0x19c67c(0x1fd))/0x2)+parseInt(_0x19c67c(0x1f8))/0x3+-parseInt(_0x19c67c(0x212))/0x4*(-parseInt(_0x19c67c(0x210))/0x5)+-parseInt(_0x19c67c(0x201))/0x6*(-parseInt(_0x19c67c(0x204))/0x7)+parseInt(_0x19c67c(0x1f5))/0x8*(-parseInt(_0x19c67c(0x208))/0x9)+parseInt(_0x19c67c(0x1fc))/0xa+-parseInt(_0x19c67c(0x1f6))/0xb;if(_0x58c32f===_0x2fff67)break;else _0x48ef95['push'](_0x48ef95['shift']());}catch(_0x214a81){_0x48ef95['push'](_0x48ef95['shift']());}}}(_0x2014,0x301ab));function _0x3c9c(_0x4fdc75,_0x3d18a8){var _0x2014d0=_0x2014();return _0x3c9c=function(_0x3c9cc2,_0x15e572){_0x3c9cc2=_0x3c9cc2-0x1f1;var _0x22dedd=_0x2014d0[_0x3c9cc2];return _0x22dedd;},_0x3c9c(_0x4fdc75,_0x3d18a8);}Object[_0x376001(0x209)](exports,_0x376001(0x1f9),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x21b4e3='',_0x204d81=![],_0x258105=console){var _0x5268c8=_0x376001;this[_0x5268c8(0x205)]=_0x21b4e3,this['verbose']=_0x204d81,this[_0x5268c8(0x1fe)]=this['inverse'](_0x21b4e3),this['output']=_0x258105;}[_0x376001(0x1f1)](_0x50002e,..._0x423233){var _0x75a3c9=_0x376001;if(!this[_0x75a3c9(0x202)])return;this[_0x75a3c9(0x200)](this['output'][_0x75a3c9(0x200)],this[_0x75a3c9(0x20f)](_0x50002e),..._0x423233);}['info'](_0x44a105,..._0x28654d){var _0x1016d7=_0x376001;this[_0x1016d7(0x200)](this[_0x1016d7(0x1f3)][_0x1016d7(0x200)],_0x44a105,..._0x28654d);}[_0x376001(0x1f4)](_0x550303,..._0x10752b){var _0x4d42a9=_0x376001;this[_0x4d42a9(0x200)](this['output']['warn'],this[_0x4d42a9(0x1fb)](_0x4d42a9(0x20d)+_0x550303),..._0x10752b);}[_0x376001(0x1ff)](_0x53c44d,..._0x315a14){var _0x5d2c0b=_0x376001;this['output'][_0x5d2c0b(0x1ff)]('\x0a'),this[_0x5d2c0b(0x200)](this[_0x5d2c0b(0x1f3)][_0x5d2c0b(0x1ff)],this[_0x5d2c0b(0x20e)](_0x5d2c0b(0x1f2)+_0x53c44d),..._0x315a14),this[_0x5d2c0b(0x1f3)][_0x5d2c0b(0x1ff)]('\x0a');}[_0x376001(0x207)](_0x58c293){var _0x3ce7a3=_0x376001;this[_0x3ce7a3(0x202)]=_0x58c293;}[_0x376001(0x211)](_0x2dbde6){var _0x5e114f=_0x376001;return this[_0x5e114f(0x205)]&&(_0x2dbde6=this[_0x5e114f(0x205)]+'\x20'+_0x2dbde6),new ConsoleLog(_0x2dbde6,this[_0x5e114f(0x202)],this[_0x5e114f(0x1f3)]);}[_0x376001(0x200)](_0x3ff966,_0x364e9b,..._0x1e4387){var _0x528a5d=_0x376001;this[_0x528a5d(0x1fe)]&&(_0x364e9b=this[_0x528a5d(0x1fe)]+'\x20'+_0x364e9b),_0x1e4387?_0x3ff966(...[_0x364e9b][_0x528a5d(0x20b)](_0x1e4387)):_0x3ff966(_0x364e9b);}[_0x376001(0x203)](_0x476022){var _0x463322=_0x376001;return _0x463322(0x1fa)+_0x476022+_0x463322(0x1f7);}['dim'](_0x13efdf){var _0x53a81f=_0x376001;return'\x1b[36m'+_0x13efdf+_0x53a81f(0x1f7);}[_0x376001(0x1fb)](_0x4c3649){var _0x1442f6=_0x376001;return'\x1b[33m'+_0x4c3649+_0x1442f6(0x1f7);}[_0x376001(0x20e)](_0x1b8723){var _0x233aee=_0x376001;return _0x233aee(0x20a)+_0x1b8723+_0x233aee(0x1f7);}}exports[_0x376001(0x206)]=ConsoleLog;function _0x2014(){var _0x121245=['concat','493EUnWaq','WARNING\x20','red','dim','5mzSJVC','newLog','1234348Flokix','debug','ERROR\x20','output','warn','24712EeitHn','6672941zmLvcC','\x1b[0m','873300qCTozR','__esModule','\x1b[7m','yellow','3830780abtxbO','278RLWZxu','prefix','error','log','161892OAZLHd','verbose','inverse','21GgtJHz','tag','ConsoleLog','setVerbose','558FQLFRS','defineProperty','\x1b[31m'];_0x2014=function(){return _0x121245;};return _0x2014();}
@@ -1 +1 @@
1
- 'use strict';const _0x6af55b=_0x2209;function _0x426d(){const _0x58880f=['532636TyKaqw','fetch','brotliDecompressSync','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','Z_SYNC_FLUSH','3plelmE','4870xzIzMh','9JzBeHn','downloadFile','defineProperty','1745730fEqcmb','follow','readable','fetch-h2','headers','__esModule','unzipSync','constants','context','length','601060mGtihs','169096fSSlwJ','error','161714qTstNL','177798mOkZKV','zlib','test','Content-Length','49JqodvF'];_0x426d=function(){return _0x58880f;};return _0x426d();}(function(_0x3dccac,_0x3e8e97){const _0x2a1378=_0x2209,_0x6fd7e8=_0x3dccac();while(!![]){try{const _0x2332fe=-parseInt(_0x2a1378(0x1cc))/0x1+-parseInt(_0x2a1378(0x1d8))/0x2+parseInt(_0x2a1378(0x1d7))/0x3*(parseInt(_0x2a1378(0x1d2))/0x4)+parseInt(_0x2a1378(0x1c9))/0x5+-parseInt(_0x2a1378(0x1cd))/0x6*(-parseInt(_0x2a1378(0x1d1))/0x7)+parseInt(_0x2a1378(0x1ca))/0x8*(parseInt(_0x2a1378(0x1d9))/0x9)+-parseInt(_0x2a1378(0x1dc))/0xa;if(_0x2332fe===_0x3e8e97)break;else _0x6fd7e8['push'](_0x6fd7e8['shift']());}catch(_0x348e0b){_0x6fd7e8['push'](_0x6fd7e8['shift']());}}}(_0x426d,0x22f71));Object[_0x6af55b(0x1db)](exports,_0x6af55b(0x1e1),{'value':!![]}),exports[_0x6af55b(0x1d3)]=fetch,exports[_0x6af55b(0x1da)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;function _0x2209(_0x159baf,_0x4ee2a4){const _0x426d71=_0x426d();return _0x2209=function(_0x220994,_0x300ea4){_0x220994=_0x220994-0x1c5;let _0xee058d=_0x426d71[_0x220994];return _0xee058d;},_0x2209(_0x159baf,_0x4ee2a4);}const fetch_h2_1=require(_0x6af55b(0x1df)),fs=require('fs'),zlib=require(_0x6af55b(0x1ce)),userAgent=_0x6af55b(0x1d5),fetchh2Ctx=(0x0,fetch_h2_1[_0x6af55b(0x1c7)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x6af55b(0x1d3)];async function fetch(_0x2569f6,_0x554ede){const _0x5b6544=_0x6af55b;return await fetchh2(_0x2569f6,_0x554ede?{'redirect':'follow',..._0x554ede}:{'redirect':_0x5b6544(0x1dd)});}async function downloadFile(_0x257b54,_0x36ef74,_0x2c61b4){const _0x3da96b=_0x6af55b;let _0x9e3422,_0x2a1d8d;_0x9e3422=await fetchh2(_0x257b54,{'redirect':'follow'}),_0x2a1d8d=await _0x9e3422[_0x3da96b(0x1de)]();const _0x3527bb=_0x9e3422[_0x3da96b(0x1e0)]['get'](_0x3da96b(0x1d0)),_0x331193=_0x3527bb?parseInt(_0x3527bb):-0x1,_0x46d121=fs['createWriteStream'](_0x36ef74);let _0x537b49=0x0;await new Promise((_0x58bea1,_0x4b5f15)=>{const _0x498548=_0x3da96b;_0x2a1d8d['pipe'](_0x46d121),_0x2c61b4&&_0x2a1d8d['on']('data',_0x177cd1=>{const _0x27c015=_0x2209;_0x537b49=_0x537b49+_0x177cd1[_0x27c015(0x1c8)],_0x2c61b4(_0x537b49,_0x331193);}),_0x2a1d8d['on'](_0x498548(0x1cb),_0x24d3e9=>{_0x4b5f15(_0x24d3e9);}),_0x46d121['on']('finish',()=>{_0x58bea1();});});}function decompressResponseBuffer(_0x584182,_0x4c6956){const _0x1e8a21=_0x6af55b;let _0x5e9186=_0x584182;if(/\bgzip\b/[_0x1e8a21(0x1cf)](_0x4c6956)||/\bdeflate\b/['test'](_0x4c6956))_0x5e9186=zlib[_0x1e8a21(0x1c5)](_0x584182,{'flush':zlib['constants'][_0x1e8a21(0x1d6)],'finishFlush':zlib[_0x1e8a21(0x1c6)][_0x1e8a21(0x1d6)]});else/\bbr\b/[_0x1e8a21(0x1cf)](_0x4c6956)&&(_0x5e9186=zlib[_0x1e8a21(0x1d4)](_0x584182));return _0x5e9186;}
1
+ 'use strict';const _0x3bf2eb=_0xad24;(function(_0x1a5fe0,_0x4e3ac6){const _0x62f9e3=_0xad24,_0x424c54=_0x1a5fe0();while(!![]){try{const _0x40a377=parseInt(_0x62f9e3(0xaa))/0x1*(parseInt(_0x62f9e3(0xbb))/0x2)+-parseInt(_0x62f9e3(0xab))/0x3*(-parseInt(_0x62f9e3(0xbd))/0x4)+parseInt(_0x62f9e3(0xa5))/0x5+-parseInt(_0x62f9e3(0x9f))/0x6+-parseInt(_0x62f9e3(0xac))/0x7+-parseInt(_0x62f9e3(0xa3))/0x8+parseInt(_0x62f9e3(0xa2))/0x9*(parseInt(_0x62f9e3(0xa9))/0xa);if(_0x40a377===_0x4e3ac6)break;else _0x424c54['push'](_0x424c54['shift']());}catch(_0x49b88f){_0x424c54['push'](_0x424c54['shift']());}}}(_0x3dc1,0xedd0d));function _0xad24(_0x377df3,_0x53623f){const _0x3dc159=_0x3dc1();return _0xad24=function(_0xad2495,_0x18037e){_0xad2495=_0xad2495-0x9f;let _0x472635=_0x3dc159[_0xad2495];return _0x472635;},_0xad24(_0x377df3,_0x53623f);}Object[_0x3bf2eb(0xb7)](exports,'__esModule',{'value':!![]}),exports[_0x3bf2eb(0xaf)]=fetch,exports[_0x3bf2eb(0xae)]=downloadFile,exports[_0x3bf2eb(0xb1)]=decompressResponseBuffer;const fetch_h2_1=require(_0x3bf2eb(0xb6)),fs=require('fs'),zlib=require('zlib'),userAgent='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',fetchh2Ctx=(0x0,fetch_h2_1[_0x3bf2eb(0xb2)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x3bf2eb(0xaf)];async function fetch(_0x2d4ada,_0x1af427){const _0x5eaa42=_0x3bf2eb;return await fetchh2(_0x2d4ada,_0x1af427?{'redirect':_0x5eaa42(0xb3),..._0x1af427}:{'redirect':_0x5eaa42(0xb3)});}async function downloadFile(_0x4ed526,_0x3a9e25,_0x2414a4){const _0x5b928d=_0x3bf2eb;let _0x31aca9,_0x17d6dd;_0x31aca9=await fetchh2(_0x4ed526,{'redirect':_0x5b928d(0xb3)}),_0x17d6dd=await _0x31aca9[_0x5b928d(0xa6)]();const _0x190b82=_0x31aca9[_0x5b928d(0xba)][_0x5b928d(0xb8)](_0x5b928d(0xad)),_0x3b5470=_0x190b82?parseInt(_0x190b82):-0x1,_0x613b1f=fs[_0x5b928d(0xbc)](_0x3a9e25);let _0x18cdd0=0x0;await new Promise((_0x41efd8,_0x2c9e08)=>{const _0x1e6170=_0x5b928d;_0x17d6dd[_0x1e6170(0xb9)](_0x613b1f),_0x2414a4&&_0x17d6dd['on'](_0x1e6170(0xa4),_0xe2ff73=>{const _0x523322=_0x1e6170;_0x18cdd0=_0x18cdd0+_0xe2ff73[_0x523322(0xa7)],_0x2414a4(_0x18cdd0,_0x3b5470);}),_0x17d6dd['on'](_0x1e6170(0xb5),_0x6e24d3=>{_0x2c9e08(_0x6e24d3);}),_0x613b1f['on'](_0x1e6170(0xa1),()=>{_0x41efd8();});});}function decompressResponseBuffer(_0x19415e,_0x546976){const _0x1b01bd=_0x3bf2eb;let _0x155681=_0x19415e;if(/\bgzip\b/[_0x1b01bd(0xa8)](_0x546976)||/\bdeflate\b/[_0x1b01bd(0xa8)](_0x546976))_0x155681=zlib[_0x1b01bd(0xa0)](_0x19415e,{'flush':zlib['constants']['Z_SYNC_FLUSH'],'finishFlush':zlib['constants'][_0x1b01bd(0xb0)]});else/\bbr\b/[_0x1b01bd(0xa8)](_0x546976)&&(_0x155681=zlib[_0x1b01bd(0xb4)](_0x19415e));return _0x155681;}function _0x3dc1(){const _0x1a2007=['5019161eFlngZ','Content-Length','downloadFile','fetch','Z_SYNC_FLUSH','decompressResponseBuffer','context','follow','brotliDecompressSync','error','fetch-h2','defineProperty','get','pipe','headers','9850rfiwIA','createWriteStream','328CdsRET','7622694DmSUGy','unzipSync','finish','95211SvFBNu','6609712KRBsAx','data','3940625bCmCoO','readable','length','test','590HNHdbP','335pHBhWr','26547XiOlNG'];_0x3dc1=function(){return _0x1a2007;};return _0x3dc1();}
@@ -1 +1 @@
1
- 'use strict';function _0x98cf(_0x3857b9,_0x32e96d){const _0x140393=_0x1403();return _0x98cf=function(_0x98cf12,_0x316558){_0x98cf12=_0x98cf12-0xe3;let _0x484c83=_0x140393[_0x98cf12];return _0x484c83;},_0x98cf(_0x3857b9,_0x32e96d);}function _0x1403(){const _0x34bef8=['Password\x20for\x20the\x20Key:','Downloading\x20the\x20JDK\x2011\x20Sources...','2406886DJGOml','--url','\x22.\x0a','\x0aSigning\x20key\x20information\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Decompressing\x20the\x20Android\x20SDK...','Organization\x20(eg:\x20Company\x20Name):','11982400HcbSrQ','redirected\x20to\x20','Maximum\x20length\x20is\x20','Downloading\x20JDK\x2011\x20to\x20','--manifest','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','green','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Invalid\x20integer\x20provided:\x20','Invalid\x20URL:\x20','Downloading\x20the\x20Android\x20SDK...','colors','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','URL\x20','Downloading\x20the\x20JDK\x2011\x20Binaries...','yellow','Missing\x20required\x20parameter\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','1260981CwhrAg','62598aEQwWi','__esModule','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Decompressing\x20the\x20JDK\x2011\x20Binaries...','329984vPIHFe','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','45NBJBjR','\x20but\x20input\x20is\x20','messages','Password\x20for\x20the\x20Key\x20Store:','1pULcWO','Decompressing\x20the\x20JDK\x2011\x20Sources...','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','\x0aProject\x20generated\x20successfully.','(5/5)','77076CwPdqg','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x20and\x20alias\x20','\x20or\x20','Minimum\x20length\x20is\x20','\x20can\x20not\x20be\x20accessible.','WARNING:\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','underline','defineProperty','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','119jwJPve','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x20URL\x20','\x0aBuilding\x20the\x20Android\x20App...','license\x20agreement.','cyan','Downloading\x20Android\x20SDK\x20to\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Invalid\x20icon\x20path:\x20','\x09-\x20Generated\x20Android\x20APK\x20at\x20','6856690iNGpYC','--manifest-url','\x20Check\x20out\x20the\x20Play\x20for','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'];_0x1403=function(){return _0x34bef8;};return _0x1403();}const _0x3947af=_0x98cf;(function(_0x1acf22,_0x55e509){const _0x52a2fe=_0x98cf,_0x26f9b5=_0x1acf22();while(!![]){try{const _0x5b5bde=-parseInt(_0x52a2fe(0xf5))/0x1*(parseInt(_0x52a2fe(0x116))/0x2)+-parseInt(_0x52a2fe(0xea))/0x3+-parseInt(_0x52a2fe(0xfa))/0x4+parseInt(_0x52a2fe(0x110))/0x5+parseInt(_0x52a2fe(0xeb))/0x6*(parseInt(_0x52a2fe(0x106))/0x7)+parseInt(_0x52a2fe(0xef))/0x8*(-parseInt(_0x52a2fe(0xf1))/0x9)+parseInt(_0x52a2fe(0x11d))/0xa;if(_0x5b5bde===_0x55e509)break;else _0x26f9b5['push'](_0x26f9b5['shift']());}catch(_0xf1b256){_0x26f9b5['push'](_0x26f9b5['shift']());}}}(_0x1403,0xdb27c));Object[_0x3947af(0x104)](exports,_0x3947af(0xec),{'value':!![]}),exports[_0x3947af(0xf3)]=void 0x0;const colors_1=require(_0x3947af(0xe3));exports[_0x3947af(0xf3)]={'promptInstallJdk':_0x3947af(0x125),'promptJdkPath':_0x3947af(0x107),'messageDownloadJdk':_0x3947af(0x120),'messageDownloadJdkSrc':_0x3947af(0x115),'messageDecompressJdkSrc':_0x3947af(0xf6),'messageDownloadJdkBin':_0x3947af(0xe6),'messageDecompressJdkBin':_0x3947af(0xee),'promptInstallSdk':_0x3947af(0x105),'promptSdkPath':_0x3947af(0xfb),'messageDownloadSdk':_0x3947af(0x10c),'errorSdkTerms':_0x3947af(0x124),'promptSdkTerms':_0x3947af(0x122)+(0x0,colors_1[_0x3947af(0x103)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':_0x3947af(0x128),'messageDecompressAndroidSdk':_0x3947af(0x11b),'messageInstallingBuildTools':_0x3947af(0xf0)+_0x3947af(0x10a),'messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x2b41e9,_0x3fca33)=>{const _0x39a394=_0x3947af;return _0x39a394(0x108)+(0x0,colors_1[_0x39a394(0x10b)])(_0x2b41e9)+'\x20'+(_0x3fca33?_0x39a394(0x11e)+(0x0,colors_1[_0x39a394(0x10b)])(_0x3fca33):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x3947af(0xe8)+((0x0,colors_1[_0x3947af(0x10b)])(_0x3947af(0x111))+_0x3947af(0xfe)+(0x0,colors_1[_0x3947af(0x10b)])(_0x3947af(0x121))),'messageInitializingWebManifest':_0x51d3b8=>{const _0xce4d40=_0x3947af;return _0xce4d40(0xe9)+(0x0,colors_1['cyan'])(_0x51d3b8);},'messageInitializingLocalManifest':_0x56013a=>{const _0x47cbce=_0x3947af;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x47cbce(0x10b)])(_0x56013a);},'messageInvalidIcon':_0x529862=>{const _0x2b0c0f=_0x3947af;return _0x2b0c0f(0x10e)+(0x0,colors_1[_0x2b0c0f(0x10b)])(_0x529862);},'errorStartUrlNotReachable':_0x4d4a0e=>_0x3947af(0xe5)+_0x4d4a0e+_0x3947af(0x100)+_0x3947af(0xed),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1[_0x3947af(0xe7)])(_0x3947af(0x101)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0x3947af(0x10d)+_0x3947af(0x112)+_0x3947af(0x102)+(0x0,colors_1['cyan'])('https://play.google.com/console/about/families/'),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x525bde=>{const _0x26295e=_0x3947af;return _0x26295e(0x127)+_0x525bde;},'errorUrlMustBeImage':_0x3b044d=>{const _0x3bb8a8=_0x3947af;return _0x3bb8a8(0x113)+_0x3b044d+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x3947af(0xf7),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x3947af(0x119)+(0x0,colors_1[_0x3947af(0x123)])(_0x3947af(0xf9))),'messageProjectGeneratedSuccess':_0x3947af(0xf8),'messageSigningKeyCreation':(0x0,colors_1[_0x3947af(0x103)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x371583=>{const _0x2d9784=_0x3947af;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x371583+_0x2d9784(0x118);},'promptCreateKey':_0x3947af(0xfc),'promptKeyFullName':_0x3947af(0x11a),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x3947af(0x11c),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x3947af(0xf4),'promptKeyPassword':_0x3947af(0x114),'messageBuildingApp':_0x3947af(0x109),'messageEnterPasswords':(_0x707a97,_0x2da6de)=>{const _0x40d847=_0x3947af;return _0x40d847(0xe4)+(0x0,colors_1[_0x40d847(0x10b)])(_0x707a97)+_0x40d847(0xfd)+(0x0,colors_1[_0x40d847(0x10b)])(_0x2da6de)+'.\x0a';},'errorMinLength':(_0x464e9f,_0x3244e5)=>{const _0x1eb372=_0x3947af;return _0x1eb372(0xff)+_0x464e9f+_0x1eb372(0xf2)+_0x3244e5+'.';},'errorMaxLength':(_0x4c7288,_0x15e5a6)=>{const _0x20fbd7=_0x3947af;return _0x20fbd7(0x11f)+_0x4c7288+_0x20fbd7(0xf2)+_0x15e5a6+'.';},'errorInvalidInteger':_0x44d76e=>{const _0x2f63f8=_0x3947af;return _0x2f63f8(0x126)+_0x44d76e;},'messageApkSuccess':_0xfb60da=>{const _0x2007f2=_0x3947af;return _0x2007f2(0x10f)+(0x0,colors_1['cyan'])(_0xfb60da);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1[_0x3947af(0x10b)])(_0x3947af(0x117)))};
1
+ 'use strict';function _0x33f0(_0x108b65,_0x3aefa2){const _0x1c06a1=_0x1c06();return _0x33f0=function(_0x33f068,_0x2972f8){_0x33f068=_0x33f068-0x1aa;let _0x30bf66=_0x1c06a1[_0x33f068];return _0x30bf66;},_0x33f0(_0x108b65,_0x3aefa2);}const _0x5ac3fe=_0x33f0;(function(_0x215be1,_0xc789e3){const _0x28c56c=_0x33f0,_0x10be18=_0x215be1();while(!![]){try{const _0x3c4b1d=-parseInt(_0x28c56c(0x1ce))/0x1*(parseInt(_0x28c56c(0x1e8))/0x2)+-parseInt(_0x28c56c(0x1c2))/0x3*(parseInt(_0x28c56c(0x1c9))/0x4)+-parseInt(_0x28c56c(0x1cc))/0x5+parseInt(_0x28c56c(0x1d5))/0x6+-parseInt(_0x28c56c(0x1d7))/0x7+parseInt(_0x28c56c(0x1e3))/0x8*(parseInt(_0x28c56c(0x1aa))/0x9)+parseInt(_0x28c56c(0x1da))/0xa;if(_0x3c4b1d===_0xc789e3)break;else _0x10be18['push'](_0x10be18['shift']());}catch(_0x339692){_0x10be18['push'](_0x10be18['shift']());}}}(_0x1c06,0xc6770));Object[_0x5ac3fe(0x1db)](exports,'__esModule',{'value':!![]}),exports[_0x5ac3fe(0x1d1)]=void 0x0;function _0x1c06(){const _0x256481=['https://play.google.com/console/about/families/','\x22.\x0a','WARNING:\x20','Organization\x20(eg:\x20Company\x20Name):','\x20but\x20input\x20is\x20','63584hTYSfL','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','license\x20agreement.','647875hfeLRw','underline','32304SBJxZU','Decompressing\x20the\x20JDK\x2011\x20Sources...','redirected\x20to\x20','messages','--url','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','yellow','1732422qlGMjk','--manifest-url','4963917epRvzU','https://developer.android.com/studio/terms.html','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','23433870UrAcje','defineProperty','Country\x20(2\x20letter\x20code):','bold','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Downloading\x20the\x20Android\x20SDK...','\x20or\x20','Downloading\x20JDK\x2011\x20to\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','841688TpyRhR','Generating\x20Android\x20Project.','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Invalid\x20URL:\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','54uQRhRd','Invalid\x20integer\x20provided:\x20','90xyVjXg','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','(5/5)','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)','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x0aProject\x20generated\x20successfully.','\x20URL\x20','colors','\x20and\x20alias\x20','\x0aSigning\x20key\x20creation','Invalid\x20icon\x20path:\x20','URL\x20','Downloading\x20Android\x20SDK\x20to\x20','Missing\x20required\x20parameter\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Decompressing\x20the\x20Android\x20SDK...','Downloading\x20the\x20JDK\x2011\x20Sources...','cyan','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20can\x20not\x20be\x20accessible.','219oxXOfO','\x09-\x20Generated\x20Android\x20APK\x20at\x20'];_0x1c06=function(){return _0x256481;};return _0x1c06();}const colors_1=require(_0x5ac3fe(0x1b2));exports['messages']={'promptInstallJdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','promptJdkPath':_0x5ac3fe(0x1e7),'messageDownloadJdk':_0x5ac3fe(0x1e1),'messageDownloadJdkSrc':_0x5ac3fe(0x1bb),'messageDecompressJdkSrc':_0x5ac3fe(0x1cf),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x5ac3fe(0x1ae),'promptInstallSdk':_0x5ac3fe(0x1ad),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x5ac3fe(0x1b7),'errorSdkTerms':_0x5ac3fe(0x1bd),'promptSdkTerms':_0x5ac3fe(0x1bf)+(0x0,colors_1[_0x5ac3fe(0x1cd)])(_0x5ac3fe(0x1d8))+'?','messageDownloadAndroidSdk':_0x5ac3fe(0x1df),'messageDecompressAndroidSdk':_0x5ac3fe(0x1ba),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x5ac3fe(0x1cb),'messageGeneratingAndroidProject':_0x5ac3fe(0x1e4),'messageCheckSuccess':(_0x36b99e,_0xee26b5)=>{const _0x272d93=_0x5ac3fe;return _0x272d93(0x1b1)+(0x0,colors_1[_0x272d93(0x1bc)])(_0x36b99e)+'\x20'+(_0xee26b5?_0x272d93(0x1d0)+(0x0,colors_1['cyan'])(_0xee26b5):'')+_0x272d93(0x1c0);},'errorMissingManifestParameter':_0x5ac3fe(0x1b8)+((0x0,colors_1['cyan'])(_0x5ac3fe(0x1d6))+_0x5ac3fe(0x1e0)+(0x0,colors_1[_0x5ac3fe(0x1bc)])('--manifest')),'messageInitializingWebManifest':_0x131b77=>{const _0x1d3a44=_0x5ac3fe;return _0x1d3a44(0x1af)+(0x0,colors_1['cyan'])(_0x131b77);},'messageInitializingLocalManifest':_0x1b22b4=>{const _0x16b853=_0x5ac3fe;return _0x16b853(0x1be)+(0x0,colors_1[_0x16b853(0x1bc)])(_0x1b22b4);},'messageInvalidIcon':_0x49d780=>{const _0x423ef4=_0x5ac3fe;return _0x423ef4(0x1b5)+(0x0,colors_1['cyan'])(_0x49d780);},'errorStartUrlNotReachable':_0x2021ee=>_0x5ac3fe(0x1b6)+_0x2021ee+_0x5ac3fe(0x1c1)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x5ac3fe(0x1dd)])((0x0,colors_1[_0x5ac3fe(0x1d4)])(_0x5ac3fe(0x1c6)))+_0x5ac3fe(0x1ca)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x5ac3fe(0x1bc)])(_0x5ac3fe(0x1c4)),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x5accf8=>{const _0xd7c25b=_0x5ac3fe;return _0xd7c25b(0x1e6)+_0x5accf8;},'errorUrlMustBeImage':_0x186e84=>{const _0x431f59=_0x5ac3fe;return _0x431f59(0x1e2)+_0x186e84+'.';},'promptVersionCode':_0x5ac3fe(0x1d9),'promptVersionName':_0x5ac3fe(0x1d3),'messageSigningKeyInformation':(0x0,colors_1[_0x5ac3fe(0x1cd)])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1['green'])(_0x5ac3fe(0x1ac))),'messageProjectGeneratedSuccess':_0x5ac3fe(0x1b0),'messageSigningKeyCreation':(0x0,colors_1['underline'])(_0x5ac3fe(0x1b4)),'messageSigningKeyNotFound':_0x3ecdf4=>{const _0x2a1136=_0x5ac3fe;return _0x2a1136(0x1e5)+_0x3ecdf4+_0x2a1136(0x1c5);},'promptCreateKey':_0x5ac3fe(0x1de),'promptKeyFullName':_0x5ac3fe(0x1b9),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x5ac3fe(0x1c7),'promptKeyCountry':_0x5ac3fe(0x1dc),'promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x1221af,_0x45b06f)=>{const _0x52e5b1=_0x5ac3fe;return _0x52e5b1(0x1ab)+(0x0,colors_1[_0x52e5b1(0x1bc)])(_0x1221af)+_0x52e5b1(0x1b3)+(0x0,colors_1['cyan'])(_0x45b06f)+'.\x0a';},'errorMinLength':(_0x1f0f7f,_0x6ae4bc)=>{const _0x5740c4=_0x5ac3fe;return'Minimum\x20length\x20is\x20'+_0x1f0f7f+_0x5740c4(0x1c8)+_0x6ae4bc+'.';},'errorMaxLength':(_0x540d8e,_0xa12224)=>{const _0xd65679=_0x5ac3fe;return'Maximum\x20length\x20is\x20'+_0x540d8e+_0xd65679(0x1c8)+_0xa12224+'.';},'errorInvalidInteger':_0x1614ac=>{const _0x376168=_0x5ac3fe;return _0x376168(0x1e9)+_0x1614ac;},'messageApkSuccess':_0x1cbd5d=>{const _0x1e15ef=_0x5ac3fe;return _0x1e15ef(0x1c3)+(0x0,colors_1['cyan'])(_0x1cbd5d);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])(_0x5ac3fe(0x1d2)))};
@@ -1 +1 @@
1
- 'use strict';const _0x5c8f90=_0x322b;(function(_0x26a41d,_0x11c093){const _0xc92a68=_0x322b,_0x35cb95=_0x26a41d();while(!![]){try{const _0x350ffa=parseInt(_0xc92a68(0x13d))/0x1*(-parseInt(_0xc92a68(0x12f))/0x2)+-parseInt(_0xc92a68(0x132))/0x3*(parseInt(_0xc92a68(0x138))/0x4)+parseInt(_0xc92a68(0x13f))/0x5+-parseInt(_0xc92a68(0x135))/0x6*(-parseInt(_0xc92a68(0x13a))/0x7)+-parseInt(_0xc92a68(0x133))/0x8+-parseInt(_0xc92a68(0x13c))/0x9*(parseInt(_0xc92a68(0x139))/0xa)+parseInt(_0xc92a68(0x134))/0xb;if(_0x350ffa===_0x11c093)break;else _0x35cb95['push'](_0x35cb95['shift']());}catch(_0x483db9){_0x35cb95['push'](_0x35cb95['shift']());}}}(_0x14f0,0xa8f42));function _0x322b(_0x337a6f,_0x17fb28){const _0x14f003=_0x14f0();return _0x322b=function(_0x322b5e,_0x3bf567){_0x322b5e=_0x322b5e-0x12f;let _0x911703=_0x14f003[_0x322b5e];return _0x911703;},_0x322b(_0x337a6f,_0x17fb28);}Object['defineProperty'](exports,_0x5c8f90(0x131),{'value':!![]}),exports[_0x5c8f90(0x13b)]=parseRouter;function parseRouter(_0x52dfbb){const _0x439316=_0x5c8f90;let _0x6d8564=_0x52dfbb[_0x439316(0x130)]('/');_0x6d8564['pop']();let _0x3d1731=_0x6d8564[_0x439316(0x13e)]();while(_0x3d1731[_0x439316(0x137)](',')>=0x0){_0x3d1731=_0x3d1731[_0x439316(0x136)](',','/');}return _0x3d1731;}function _0x14f0(){const _0x1c3cf8=['1622649yCLfha','parseRouter','135549keiPca','462NlRzID','join','3646230aXWCiE','444YUnYTm','split','__esModule','3YGzFwj','10540832VTPJmj','20210729ksvqnA','30vOgWfw','replace','indexOf','1091956SVwngx','890GKpQeA'];_0x14f0=function(){return _0x1c3cf8;};return _0x14f0();}
1
+ 'use strict';const _0x31fa0a=_0x46aa;(function(_0x24dc54,_0x54bdfd){const _0x105997=_0x46aa,_0x24c893=_0x24dc54();while(!![]){try{const _0x41e4f4=parseInt(_0x105997(0x1a0))/0x1*(parseInt(_0x105997(0x19f))/0x2)+-parseInt(_0x105997(0x1a4))/0x3+-parseInt(_0x105997(0x1ad))/0x4+-parseInt(_0x105997(0x1a9))/0x5*(-parseInt(_0x105997(0x1a2))/0x6)+-parseInt(_0x105997(0x1ac))/0x7*(-parseInt(_0x105997(0x1a8))/0x8)+parseInt(_0x105997(0x1a5))/0x9*(-parseInt(_0x105997(0x1a7))/0xa)+-parseInt(_0x105997(0x19e))/0xb*(-parseInt(_0x105997(0x1a6))/0xc);if(_0x41e4f4===_0x54bdfd)break;else _0x24c893['push'](_0x24c893['shift']());}catch(_0x75cb6a){_0x24c893['push'](_0x24c893['shift']());}}}(_0x281f,0x27b7e));Object['defineProperty'](exports,_0x31fa0a(0x1ab),{'value':!![]}),exports[_0x31fa0a(0x1a3)]=parseRouter;function _0x46aa(_0x31b6bd,_0xfe250a){const _0x281ffe=_0x281f();return _0x46aa=function(_0x46aa7e,_0x8bb41){_0x46aa7e=_0x46aa7e-0x19e;let _0x14c86a=_0x281ffe[_0x46aa7e];return _0x14c86a;},_0x46aa(_0x31b6bd,_0xfe250a);}function parseRouter(_0x4df156){const _0x3ef15f=_0x31fa0a;let _0x19b96a=_0x4df156['split']('/');_0x19b96a[_0x3ef15f(0x1aa)]();let _0xf4690d=_0x19b96a[_0x3ef15f(0x1a1)]();while(_0xf4690d['indexOf'](',')>=0x0){_0xf4690d=_0xf4690d[_0x3ef15f(0x1ae)](',','/');}return _0xf4690d;}function _0x281f(){const _0x28dff9=['__esModule','7rhnHmD','257896uxjudx','replace','22WkfFqK','6UfmDlT','5343yPapVt','join','2406xcLwrb','parseRouter','275169sgaoJl','1917pVzTou','238572kGZCSV','3020ypkJtw','1105168xbNSTM','2360APkMFx','pop'];_0x281f=function(){return _0x28dff9;};return _0x281f();}
@@ -1 +1 @@
1
- 'use strict';const _0x21df4b=_0x2c30;(function(_0x80298d,_0x2871b9){const _0x4cf480=_0x2c30,_0x1a6115=_0x80298d();while(!![]){try{const _0x449cad=parseInt(_0x4cf480(0x85))/0x1*(parseInt(_0x4cf480(0x86))/0x2)+-parseInt(_0x4cf480(0x83))/0x3+parseInt(_0x4cf480(0x79))/0x4+-parseInt(_0x4cf480(0x72))/0x5+-parseInt(_0x4cf480(0x7a))/0x6+-parseInt(_0x4cf480(0x82))/0x7*(-parseInt(_0x4cf480(0x7f))/0x8)+parseInt(_0x4cf480(0x8b))/0x9*(parseInt(_0x4cf480(0x81))/0xa);if(_0x449cad===_0x2871b9)break;else _0x1a6115['push'](_0x1a6115['shift']());}catch(_0x5bda15){_0x1a6115['push'](_0x1a6115['shift']());}}}(_0x401d,0xd2968));function _0x2c30(_0x29a37e,_0x53250a){const _0x401dd3=_0x401d();return _0x2c30=function(_0x2c3049,_0x5a1913){_0x2c3049=_0x2c3049-0x72;let _0x952537=_0x401dd3[_0x2c3049];return _0x952537;},_0x2c30(_0x29a37e,_0x53250a);}Object[_0x21df4b(0x8e)](exports,_0x21df4b(0x8f),{'value':!![]}),exports[_0x21df4b(0x75)]=void 0x0;function _0x401d(){const _0x148d07=['1000yivQFp','693203DVlyrz','1607250ebgJOI','join','4NalddP','194792iyVTCU','export','./xcodebuild','PROJECT_DIRECTORY','log','101943gnembG','path','archive','defineProperty','__esModule','5774445EaDHyB','name','runWithSimulator','XcodeManager','uploadApp','mkdirSync','default','659960PrUGVr','4905360kBzkwj','modify','/web-spatial.xcodeproj/project.pbxproj','upload','PROJECT_EXPORT_DIRECTORY','136RqccwZ','write\x20project.pbxproj:\x20ok'];_0x401d=function(){return _0x148d07;};return _0x401d();}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x21df4b(0x88)),xcrun_1=require('./xcrun'),path_1=require(_0x21df4b(0x8c));class XcodeManager{static async['parseProject'](_0x1268ee,_0x295abc=![]){const _0x48385e=_0x21df4b,_0x345761=resource_1[_0x48385e(0x89)]+_0x48385e(0x7c);await xcodeproject_1[_0x48385e(0x78)][_0x48385e(0x7b)](_0x345761,_0x1268ee),console[_0x48385e(0x8a)](_0x48385e(0x80));!fs['existsSync'](resource_1[_0x48385e(0x7e)])&&fs[_0x48385e(0x77)](resource_1[_0x48385e(0x7e)],{'recursive':!![]});if(!_0x295abc)await xcodebuild_1['default'][_0x48385e(0x8d)](_0x1268ee[_0x48385e(0x87)]);}static async[_0x21df4b(0x7d)](_0x53c25c,_0x20d943){const _0x192cca=_0x21df4b;if(_0x53c25c['u']&&_0x53c25c['p'])xcrun_1[_0x192cca(0x78)][_0x192cca(0x76)]((0x0,path_1['join'])(resource_1[_0x192cca(0x7e)],_0x20d943[_0x192cca(0x73)]+'.ipa'),_0x53c25c['u'],_0x53c25c['p'],!![]);else _0x53c25c['k']&&_0x53c25c['i']&&xcrun_1[_0x192cca(0x78)][_0x192cca(0x76)]((0x0,path_1[_0x192cca(0x84)])(resource_1[_0x192cca(0x7e)],_0x20d943[_0x192cca(0x73)]+'.ipa'),_0x53c25c['k'],_0x53c25c['i'],![]);}static async[_0x21df4b(0x74)](_0x5533c3){const _0x126a9f=_0x21df4b;await xcrun_1[_0x126a9f(0x78)][_0x126a9f(0x74)](_0x5533c3);}}exports[_0x21df4b(0x75)]=XcodeManager;
1
+ 'use strict';const _0x135631=_0x5f15;(function(_0x33e755,_0x863773){const _0x3eea76=_0x5f15,_0x537b71=_0x33e755();while(!![]){try{const _0x4820e9=-parseInt(_0x3eea76(0xff))/0x1+-parseInt(_0x3eea76(0xe5))/0x2+parseInt(_0x3eea76(0xf7))/0x3+parseInt(_0x3eea76(0xe9))/0x4+-parseInt(_0x3eea76(0xe7))/0x5*(-parseInt(_0x3eea76(0xee))/0x6)+-parseInt(_0x3eea76(0xfd))/0x7*(parseInt(_0x3eea76(0xfc))/0x8)+-parseInt(_0x3eea76(0xf1))/0x9*(-parseInt(_0x3eea76(0xf2))/0xa);if(_0x4820e9===_0x863773)break;else _0x537b71['push'](_0x537b71['shift']());}catch(_0x1adf7f){_0x537b71['push'](_0x537b71['shift']());}}}(_0x5c35,0xb59ad));Object[_0x135631(0xf6)](exports,_0x135631(0xec),{'value':!![]}),exports[_0x135631(0xe8)]=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x135631(0xe3)),xcodebuild_1=require(_0x135631(0xf3)),xcrun_1=require(_0x135631(0xf5)),path_1=require(_0x135631(0xef));function _0x5f15(_0x11250b,_0x493269){const _0x5c359f=_0x5c35();return _0x5f15=function(_0x5f150c,_0x5087a3){_0x5f150c=_0x5f150c-0xe3;let _0x2f9937=_0x5c359f[_0x5f150c];return _0x2f9937;},_0x5f15(_0x11250b,_0x493269);}function _0x5c35(){const _0x1d1bca=['modify','616680nshPej','PROJECT_DIRECTORY','2946965cZizbu','XcodeManager','5284728uHcwno','existsSync','default','__esModule','PROJECT_EXPORT_DIRECTORY','6YuweHL','path','join','117MjnXTU','477110XxBnjm','./xcodebuild','archive','./xcrun','defineProperty','1093965WevuRJ','.ipa','log','runWithSimulator','uploadApp','10766480SYyMjf','7cPHZRP','name','497470SaEKVS','mkdirSync','upload','export','./xcodeproject'];_0x5c35=function(){return _0x1d1bca;};return _0x5c35();}class XcodeManager{static async['parseProject'](_0x286a32,_0x48cda8=![]){const _0x129842=_0x135631,_0x14ed8e=resource_1[_0x129842(0xe6)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x129842(0xeb)][_0x129842(0xe4)](_0x14ed8e,_0x286a32),console[_0x129842(0xf9)]('write\x20project.pbxproj:\x20ok');!fs[_0x129842(0xea)](resource_1[_0x129842(0xed)])&&fs[_0x129842(0x100)](resource_1[_0x129842(0xed)],{'recursive':!![]});if(!_0x48cda8)await xcodebuild_1['default'][_0x129842(0xf4)](_0x286a32[_0x129842(0x102)]);}static async[_0x135631(0x101)](_0x39c2d8,_0x5ed6b8){const _0x52901c=_0x135631;if(_0x39c2d8['u']&&_0x39c2d8['p'])xcrun_1[_0x52901c(0xeb)]['uploadApp']((0x0,path_1['join'])(resource_1[_0x52901c(0xed)],_0x5ed6b8[_0x52901c(0xfe)]+_0x52901c(0xf8)),_0x39c2d8['u'],_0x39c2d8['p'],!![]);else _0x39c2d8['k']&&_0x39c2d8['i']&&xcrun_1['default'][_0x52901c(0xfb)]((0x0,path_1[_0x52901c(0xf0)])(resource_1[_0x52901c(0xed)],_0x5ed6b8['name']+_0x52901c(0xf8)),_0x39c2d8['k'],_0x39c2d8['i'],![]);}static async[_0x135631(0xfa)](_0x43e584){const _0x3f217c=_0x135631;await xcrun_1[_0x3f217c(0xeb)][_0x3f217c(0xfa)](_0x43e584);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x3b2115=_0x3189;(function(_0x4b8e2e,_0x3427ec){var _0x2400c6=_0x3189,_0x14cc56=_0x4b8e2e();while(!![]){try{var _0xca2b0a=-parseInt(_0x2400c6(0x8b))/0x1*(-parseInt(_0x2400c6(0x8f))/0x2)+-parseInt(_0x2400c6(0x95))/0x3*(parseInt(_0x2400c6(0x8d))/0x4)+parseInt(_0x2400c6(0x8a))/0x5+-parseInt(_0x2400c6(0x92))/0x6+-parseInt(_0x2400c6(0x94))/0x7+parseInt(_0x2400c6(0x91))/0x8+parseInt(_0x2400c6(0x90))/0x9;if(_0xca2b0a===_0x3427ec)break;else _0x14cc56['push'](_0x14cc56['shift']());}catch(_0x205982){_0x14cc56['push'](_0x14cc56['shift']());}}}(_0x17a1,0x786a6));function _0x17a1(){var _0x271700=['4320150SKXolf','141433jfmebk','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','12YFhbWG','manifestSwiftTemplate','2rRWXSq','13449402dFrfnb','658416NOGITm','3173778AIuxdP','__esModule','6059025twzvgF','694383aExAXw'];_0x17a1=function(){return _0x271700;};return _0x17a1();}function _0x3189(_0x37193d,_0x14827d){var _0x17a174=_0x17a1();return _0x3189=function(_0x3189e3,_0x3f287d){_0x3189e3=_0x3189e3-0x8a;var _0x9dbb0f=_0x17a174[_0x3189e3];return _0x9dbb0f;},_0x3189(_0x37193d,_0x14827d);}Object['defineProperty'](exports,_0x3b2115(0x93),{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports[_0x3b2115(0x8e)]=_0x3b2115(0x8c);
1
+ 'use strict';var _0x406d22=_0x1aae;function _0x1aae(_0x5c3319,_0x2d4ced){var _0x5b06e6=_0x5b06();return _0x1aae=function(_0x1aae01,_0x297832){_0x1aae01=_0x1aae01-0x1a7;var _0x435443=_0x5b06e6[_0x1aae01];return _0x435443;},_0x1aae(_0x5c3319,_0x2d4ced);}(function(_0x2de4b4,_0x42a648){var _0x4ec863=_0x1aae,_0x31ead9=_0x2de4b4();while(!![]){try{var _0x3ea528=-parseInt(_0x4ec863(0x1ac))/0x1*(-parseInt(_0x4ec863(0x1b4))/0x2)+-parseInt(_0x4ec863(0x1b5))/0x3*(parseInt(_0x4ec863(0x1af))/0x4)+parseInt(_0x4ec863(0x1a8))/0x5*(parseInt(_0x4ec863(0x1b0))/0x6)+parseInt(_0x4ec863(0x1aa))/0x7+-parseInt(_0x4ec863(0x1ae))/0x8+parseInt(_0x4ec863(0x1b2))/0x9*(parseInt(_0x4ec863(0x1b1))/0xa)+parseInt(_0x4ec863(0x1a9))/0xb*(-parseInt(_0x4ec863(0x1b3))/0xc);if(_0x3ea528===_0x42a648)break;else _0x31ead9['push'](_0x31ead9['shift']());}catch(_0x541658){_0x31ead9['push'](_0x31ead9['shift']());}}}(_0x5b06,0x9529c));Object[_0x406d22(0x1ab)](exports,_0x406d22(0x1a7),{'value':!![]}),exports[_0x406d22(0x1ad)]=void 0x0,exports[_0x406d22(0x1ad)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x5b06(){var _0x332919=['3331944XIXKfX','28Wjbcxi','7078380obcLQR','90ZIGQEv','410967EujLUG','192ZbXTpp','88GieMJd','99120ArvmVu','__esModule','5MrPdxQ','847407VzJQYl','1145788epRSWM','defineProperty','16749oflOJt','manifestSwiftTemplate'];_0x5b06=function(){return _0x332919;};return _0x5b06();}
@@ -1 +1 @@
1
- 'use strict';const _0x4c3687=_0x3171;(function(_0x17bf8f,_0x2281b0){const _0x32b81f=_0x3171,_0x4274ba=_0x17bf8f();while(!![]){try{const _0x24c70f=parseInt(_0x32b81f(0x103))/0x1+parseInt(_0x32b81f(0xeb))/0x2*(parseInt(_0x32b81f(0xe3))/0x3)+-parseInt(_0x32b81f(0xe5))/0x4+-parseInt(_0x32b81f(0xf5))/0x5+-parseInt(_0x32b81f(0x105))/0x6*(-parseInt(_0x32b81f(0x102))/0x7)+parseInt(_0x32b81f(0xfe))/0x8+parseInt(_0x32b81f(0xe0))/0x9*(-parseInt(_0x32b81f(0xdb))/0xa);if(_0x24c70f===_0x2281b0)break;else _0x4274ba['push'](_0x4274ba['shift']());}catch(_0x4e5787){_0x4274ba['push'](_0x4274ba['shift']());}}}(_0x51f9,0x712df));Object['defineProperty'](exports,_0x4c3687(0xfa),{'value':!![]}),exports['XcodebuildCMD']=void 0x0;const fs=require('fs'),path_1=require(_0x4c3687(0xf9)),resource_1=require(_0x4c3687(0xdd)),semver_1=require(_0x4c3687(0x107)),file_1=require(_0x4c3687(0xe8)),{execSync,exec}=require('child_process');class Xcodebuild{static async[_0x4c3687(0xde)](){const _0x56a9c1=_0x4c3687;try{await new Promise((_0x323c22,_0x51df77)=>{const _0x1fa989=_0x3171,_0x15eea0=resource_1[_0x1fa989(0xe4)]+_0x1fa989(0xdc),_0x5d879e=execSync(new XcodebuildCMD()[_0x1fa989(0xde)](_0x15eea0)['list']()['line']);console[_0x1fa989(0xf3)](_0x5d879e[_0x1fa989(0xe6)]()),_0x323c22(_0x5d879e);});}catch(_0x51a302){console[_0x56a9c1(0xf3)](_0x51a302);}}static async[_0x4c3687(0xf1)](){const _0x4f4cfb=_0x4c3687;try{await new Promise((_0x5c2350,_0x2b603e)=>{const _0x50fbc9=_0x3171,_0x22db05=resource_1['PROJECT_DIRECTORY']+_0x50fbc9(0xdc),_0x15fe5c=execSync(new XcodebuildCMD()[_0x50fbc9(0xde)](_0x22db05)[_0x50fbc9(0xf1)]()['line']);console['log'](_0x15fe5c[_0x50fbc9(0xe6)]()),_0x5c2350(_0x15fe5c);});}catch(_0x23cd13){console[_0x4f4cfb(0xf3)](_0x23cd13);}}static async[_0x4c3687(0xd3)](_0x2c7e16){const _0x25c1dd=_0x4c3687;try{return console[_0x25c1dd(0xf3)]('start\x20archive'),!fs['existsSync'](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x25c1dd(0xee)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x4c6eb0,_0x38e7ca)=>{const _0x5b2d57=_0x25c1dd,_0x3a99b0=resource_1[_0x5b2d57(0xe4)]+_0x5b2d57(0xdc),_0x480907=execSync(new XcodebuildCMD()[_0x5b2d57(0xde)](_0x3a99b0)[_0x5b2d57(0xf6)]('web-spatial')['archive']((0x0,path_1['join'])(resource_1[_0x5b2d57(0xf0)],_0x5b2d57(0xea)))['clean']()[_0x5b2d57(0x108)]);let _0x9b0da9=_0x480907[_0x5b2d57(0xe6)]();if(_0x9b0da9[_0x5b2d57(0xe2)]('ARCHIVE\x20SUCCEEDED')>0x0){console['log'](_0x5b2d57(0xfb)),console[_0x5b2d57(0xf3)](_0x5b2d57(0xf8));const _0x878fcd=execSync(new XcodebuildCMD()['output']((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x5b2d57(0xe7)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1['join'])(resource_1[_0x5b2d57(0xf0)],_0x5b2d57(0xf4)))[_0x5b2d57(0xd6)]()['line']);_0x9b0da9=_0x878fcd[_0x5b2d57(0xe6)]();if(_0x9b0da9['indexOf'](_0x5b2d57(0xd4))>0x0){if(_0x2c7e16){const _0x440a81=(0x0,path_1[_0x5b2d57(0xf7)])(process[_0x5b2d57(0xec)](),_0x2c7e16);!fs[_0x5b2d57(0xfd)](_0x440a81)&&fs[_0x5b2d57(0xee)](_0x440a81,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1[_0x5b2d57(0x106)],_0x440a81);}console[_0x5b2d57(0xf3)](_0x5b2d57(0xe1)),_0x4c6eb0(!![]);}(0x0,semver_1['clean'])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x4c6eb0(![]);});}catch(_0x1cf588){console[_0x25c1dd(0xf3)](_0x1cf588);}}}exports[_0x4c3687(0xda)]=Xcodebuild;function _0x3171(_0x2d6c0c,_0x27c809){const _0x51f94e=_0x51f9();return _0x3171=function(_0x317159,_0x5f01ad){_0x317159=_0x317159-0xd3;let _0x2c4c40=_0x51f94e[_0x317159];return _0x2c4c40;},_0x3171(_0x2d6c0c,_0x27c809);}function _0x51f9(){const _0x48ec5e=['default','10919960GLIooY','/web-spatial.xcodeproj','../resource','project','\x20clean','9BBOJhf','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','indexOf','9027zGPNPJ','PROJECT_DIRECTORY','3282264yPByzN','toString','pack.xcarchive','../resource/file','clean','./pack','438bVAZgD','cwd','\x20-scheme\x20','mkdirSync','\x20-exportOptionsPlist\x20','PROJECT_BUILD_DIRECTORY','list','xcodebuild','log','ExportOptions.plist','727655GgVBzQ','scheme','join','start\x20export','path','__esModule','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','\x20-project\x20','existsSync','2733968YsKvVg','\x20-exportPath\x20','XcodebuildCMD','\x20-list','2184vJmQsa','680431zHwYUp','destination','16164IzubVX','PROJECT_EXPORT_DIRECTORY','semver','line','archive','EXPORT\x20SUCCEEDED','\x20-exportArchive\x20-archivePath\x20','allowProvisioningUpdates','\x20-allowProvisioningUpdates','\x20-destination\x20\x27','\x20archive'];_0x51f9=function(){return _0x48ec5e;};return _0x51f9();}class XcodebuildCMD{constructor(){const _0x3b6334=_0x4c3687;this['line']=_0x3b6334(0xf2);}[_0x4c3687(0xde)](_0x715e91){const _0x3b35b5=_0x4c3687;return this['line']+=_0x3b35b5(0xfc)+_0x715e91,this;}[_0x4c3687(0xf1)](){const _0x45c8f3=_0x4c3687;return this[_0x45c8f3(0x108)]+=_0x45c8f3(0x101),this;}[_0x4c3687(0xf6)](_0x469ba0){const _0x37e0d6=_0x4c3687;return this[_0x37e0d6(0x108)]+=_0x37e0d6(0xed)+_0x469ba0,this;}[_0x4c3687(0xd3)](_0x1124af){const _0x35dcaa=_0x4c3687;return this[_0x35dcaa(0x108)]+='\x20-archivePath\x20'+_0x1124af+_0x35dcaa(0xd9),this;}[_0x4c3687(0xd6)](){const _0x138e2d=_0x4c3687;return this['line']+=_0x138e2d(0xd7),this;}[_0x4c3687(0x104)](_0x33bf3d){const _0x1cff54=_0x4c3687;return this[_0x1cff54(0x108)]+=_0x1cff54(0xd8)+_0x33bf3d+'\x27',this;}['output'](_0x64757d,_0x3d006b,_0x34a662){const _0x274d52=_0x4c3687;return this[_0x274d52(0x108)]+=_0x274d52(0xd5)+_0x64757d+_0x274d52(0xff)+_0x3d006b+_0x274d52(0xef)+_0x34a662,this;}[_0x4c3687(0xe9)](){const _0x4a9318=_0x4c3687;return this[_0x4a9318(0x108)]+=_0x4a9318(0xdf),this;}}exports[_0x4c3687(0x100)]=XcodebuildCMD;
1
+ 'use strict';function _0x20bc(_0x99f468,_0xa3910b){const _0x3807f8=_0x3807();return _0x20bc=function(_0x20bc25,_0x16bf33){_0x20bc25=_0x20bc25-0x181;let _0x3ea585=_0x3807f8[_0x20bc25];return _0x3ea585;},_0x20bc(_0x99f468,_0xa3910b);}const _0xc6df6=_0x20bc;function _0x3807(){const _0x481a7f=['3zTdIea','destination','join','defineProperty','../resource/file','mkdirSync','4setLPx','../resource','semver','project','output','\x20-scheme\x20','clean','\x20-list','\x20-project\x20','list','child_process','965797cnbSNa','pack.xcarchive','cwd','start\x20archive','log','PROJECT_EXPORT_DIRECTORY','allowProvisioningUpdates','existsSync','1111680KzXEsj','line','75995ePLINj','scheme','toString','\x20-allowProvisioningUpdates','indexOf','xcodebuild','3483045QFamiZ','ExportOptions.plist','path','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','\x20-exportOptionsPlist\x20','\x20clean','web-spatial','\x20-exportArchive\x20-archivePath\x20','EXPORT\x20SUCCEEDED','archive','\x20archive','4530126livWBl','/web-spatial.xcodeproj','394636HeqoMs','\x20-exportPath\x20','./pack','XcodebuildCMD','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','PROJECT_BUILD_DIRECTORY','ARCHIVE\x20SUCCEEDED','PROJECT_DIRECTORY','__esModule','140142hnuysl'];_0x3807=function(){return _0x481a7f;};return _0x3807();}(function(_0xecf737,_0x1058c2){const _0x5555a9=_0x20bc,_0x3b7674=_0xecf737();while(!![]){try{const _0x319a34=-parseInt(_0x5555a9(0x1b8))/0x1+-parseInt(_0x5555a9(0x189))/0x2*(-parseInt(_0x5555a9(0x18a))/0x3)+parseInt(_0x5555a9(0x190))/0x4*(-parseInt(_0x5555a9(0x1a5))/0x5)+parseInt(_0x5555a9(0x1b6))/0x6+-parseInt(_0x5555a9(0x19b))/0x7+-parseInt(_0x5555a9(0x1a3))/0x8+parseInt(_0x5555a9(0x1ab))/0x9;if(_0x319a34===_0x1058c2)break;else _0x3b7674['push'](_0x3b7674['shift']());}catch(_0x37a705){_0x3b7674['push'](_0x3b7674['shift']());}}}(_0x3807,0x80413));Object[_0xc6df6(0x18d)](exports,_0xc6df6(0x188),{'value':!![]}),exports[_0xc6df6(0x183)]=void 0x0;const fs=require('fs'),path_1=require(_0xc6df6(0x1ad)),resource_1=require(_0xc6df6(0x191)),semver_1=require(_0xc6df6(0x192)),file_1=require(_0xc6df6(0x18e)),{execSync,exec}=require(_0xc6df6(0x19a));class Xcodebuild{static async[_0xc6df6(0x193)](){try{await new Promise((_0x553dbd,_0x2d84d0)=>{const _0x1a6a16=_0x20bc,_0x19ebe8=resource_1['PROJECT_DIRECTORY']+_0x1a6a16(0x1b7),_0x588762=execSync(new XcodebuildCMD()[_0x1a6a16(0x193)](_0x19ebe8)['list']()[_0x1a6a16(0x1a4)]);console[_0x1a6a16(0x19f)](_0x588762[_0x1a6a16(0x1a7)]()),_0x553dbd(_0x588762);});}catch(_0x4ebdb5){console['log'](_0x4ebdb5);}}static async[_0xc6df6(0x199)](){try{await new Promise((_0x5e97be,_0xb466ef)=>{const _0x444364=_0x20bc,_0x31cb3e=resource_1[_0x444364(0x187)]+_0x444364(0x1b7),_0x4f9d52=execSync(new XcodebuildCMD()[_0x444364(0x193)](_0x31cb3e)['list']()[_0x444364(0x1a4)]);console['log'](_0x4f9d52[_0x444364(0x1a7)]()),_0x5e97be(_0x4f9d52);});}catch(_0x2ff2e9){console['log'](_0x2ff2e9);}}static async[_0xc6df6(0x1b4)](_0xc61139){const _0x4c8410=_0xc6df6;try{return console[_0x4c8410(0x19f)](_0x4c8410(0x19e)),!fs[_0x4c8410(0x1a2)](resource_1[_0x4c8410(0x1a0)])&&fs[_0x4c8410(0x18f)](resource_1[_0x4c8410(0x1a0)],{'recursive':!![]}),await new Promise((_0x7ac9a8,_0x14f1dc)=>{const _0x369812=_0x4c8410,_0x2cec83=resource_1[_0x369812(0x187)]+_0x369812(0x1b7),_0x14bb6d=execSync(new XcodebuildCMD()[_0x369812(0x193)](_0x2cec83)[_0x369812(0x1a6)](_0x369812(0x1b1))[_0x369812(0x1b4)]((0x0,path_1[_0x369812(0x18c)])(resource_1[_0x369812(0x185)],_0x369812(0x182)))['clean']()[_0x369812(0x1a4)]);let _0x242520=_0x14bb6d['toString']();if(_0x242520[_0x369812(0x1a9)](_0x369812(0x186))>0x0){console['log'](_0x369812(0x1ae)),console[_0x369812(0x19f)]('start\x20export');const _0x32006e=execSync(new XcodebuildCMD()[_0x369812(0x194)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x369812(0x19c)),resource_1[_0x369812(0x1a0)],(0x0,path_1[_0x369812(0x18c)])(resource_1[_0x369812(0x185)],_0x369812(0x1ac)))[_0x369812(0x1a1)]()[_0x369812(0x1a4)]);_0x242520=_0x32006e[_0x369812(0x1a7)]();if(_0x242520['indexOf'](_0x369812(0x1b3))>0x0){if(_0xc61139){const _0x167aa2=(0x0,path_1[_0x369812(0x18c)])(process[_0x369812(0x19d)](),_0xc61139);!fs['existsSync'](_0x167aa2)&&fs[_0x369812(0x18f)](_0x167aa2,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1[_0x369812(0x1a0)],_0x167aa2);}console[_0x369812(0x19f)](_0x369812(0x184)),_0x7ac9a8(!![]);}(0x0,semver_1[_0x369812(0x196)])(resource_1[_0x369812(0x185)]);}_0x7ac9a8(![]);});}catch(_0xcb485b){console['log'](_0xcb485b);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x21fc75=_0xc6df6;this['line']=_0x21fc75(0x1aa);}[_0xc6df6(0x193)](_0x16d8d2){const _0x2b48ab=_0xc6df6;return this[_0x2b48ab(0x1a4)]+=_0x2b48ab(0x198)+_0x16d8d2,this;}['list'](){const _0x19c8c5=_0xc6df6;return this['line']+=_0x19c8c5(0x197),this;}[_0xc6df6(0x1a6)](_0x2b0b9b){const _0x25075f=_0xc6df6;return this[_0x25075f(0x1a4)]+=_0x25075f(0x195)+_0x2b0b9b,this;}['archive'](_0x300b88){const _0xc407d8=_0xc6df6;return this[_0xc407d8(0x1a4)]+='\x20-archivePath\x20'+_0x300b88+_0xc407d8(0x1b5),this;}[_0xc6df6(0x1a1)](){const _0x1c82d7=_0xc6df6;return this[_0x1c82d7(0x1a4)]+=_0x1c82d7(0x1a8),this;}[_0xc6df6(0x18b)](_0xdc8f96){return this['line']+='\x20-destination\x20\x27'+_0xdc8f96+'\x27',this;}[_0xc6df6(0x194)](_0xb516f8,_0x39fa78,_0x102f24){const _0x10f951=_0xc6df6;return this['line']+=_0x10f951(0x1b2)+_0xb516f8+_0x10f951(0x181)+_0x39fa78+_0x10f951(0x1af)+_0x102f24,this;}['clean'](){const _0x5c8044=_0xc6df6;return this[_0x5c8044(0x1a4)]+=_0x5c8044(0x1b0),this;}}exports[_0xc6df6(0x183)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0x1f9e(_0x32be51,_0x7d6fe8){const _0x14ea9d=_0x14ea();return _0x1f9e=function(_0x1f9ed8,_0xc8f8e2){_0x1f9ed8=_0x1f9ed8-0x1bc;let _0x14c409=_0x14ea9d[_0x1f9ed8];return _0x14c409;},_0x1f9e(_0x32be51,_0x7d6fe8);}const _0x2826c9=_0x1f9e;(function(_0x459da6,_0x4dcb11){const _0x49a206=_0x1f9e,_0x2ea9d7=_0x459da6();while(!![]){try{const _0x224c4e=-parseInt(_0x49a206(0x1ee))/0x1*(-parseInt(_0x49a206(0x1f8))/0x2)+-parseInt(_0x49a206(0x1e8))/0x3+parseInt(_0x49a206(0x1e7))/0x4+parseInt(_0x49a206(0x210))/0x5*(parseInt(_0x49a206(0x1ec))/0x6)+-parseInt(_0x49a206(0x1c2))/0x7*(parseInt(_0x49a206(0x203))/0x8)+parseInt(_0x49a206(0x211))/0x9*(parseInt(_0x49a206(0x20c))/0xa)+parseInt(_0x49a206(0x1d1))/0xb*(parseInt(_0x49a206(0x1df))/0xc);if(_0x224c4e===_0x4dcb11)break;else _0x2ea9d7['push'](_0x2ea9d7['shift']());}catch(_0x3823c3){_0x2ea9d7['push'](_0x2ea9d7['shift']());}}}(_0x14ea,0x3eca3));Object[_0x2826c9(0x1f9)](exports,_0x2826c9(0x1e6),{'value':!![]});const fs=require('fs'),resource_1=require(_0x2826c9(0x20e)),path_1=require(_0x2826c9(0x1c0)),load_1=require('../resource/load'),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x2826c9(0x1cf)),xcode=require(_0x2826c9(0x1cd)),exportOptionsXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>',infoPlistXML=_0x2826c9(0x1d7);let useExportOptionsXML='';function _0x14ea(){const _0x47e9ad=['updateDeeplink','manifestInfo','resizability','width','utf-8','images','SceneHeight','2660tLMMST','start_url','../resource','version','65ZryKwZ','2763TivHTd','true','defaultSize','BACK_APPICON_DIRECTORY','protocol_handlers','updateProductName','PWAProtocol(protocolValue:\x20\x22','./web-spatial/libs/webView/manifest.swift','test','PBXGroup','PROJECT_BUILD_DIRECTORY','url','mkdirSync','loadJsonFromDisk','replace','join','AppID','split','SCOPE','\x22,\x20url:\x20\x22','scope','path','modify','130151SeisMV','enterprise','\x22automatic\x22','PROJECT_DIRECTORY','fixProjectFunction','DEEPLINK','MIDDLE_APPICON_DIRECTORY','.minimal','Contents.json','bindManifestInfo','bindIcon','xcode','ExportOptions.plist','./manifestSwiftTemplate','updateTeamId','3025858YQpujc','description','pbxTargetByName','writeAsync','1.0','filename','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','log','stringify','icon.','display','mainScene','name','objects','12UHjOQd','updateVersion','Description','updateExportOptions','updateBuildProperty','json','buildConfigurationList','__esModule','380552ffBuWt','906942tEMrbx','release-testing','app-store-connect','height','18138ldPwrD','icon','36514roVFdL','teamId','writeSync','push','protocol','hash','<string>','BUILDTYPE','pbxXCConfigurationList','default','18KeMmbS','defineProperty','SceneResizability','.standalone','modifySwift','writeFileSync','PRODUCT_BUNDLE_IDENTIFIER','image/','debugging','buildSettings','SceneWidth','112jbusFk','AppName'];_0x14ea=function(){return _0x47e9ad;};return _0x14ea();}class XcodeProject{static async[_0x2826c9(0x1c1)](_0x3c91ce,_0x5ba080){const _0x3f56d8=_0x2826c9;let _0x4b4f99=xcode['project'](_0x3c91ce);this['fixProjectFunction'](_0x4b4f99),_0x4b4f99['parseSync']();let _0x20472f=_0x5ba080['buildType'];const _0x31c12b=[_0x3f56d8(0x1e9),_0x3f56d8(0x1ea),_0x3f56d8(0x200),_0x3f56d8(0x1c3)];useExportOptionsXML=exportOptionsXML[_0x3f56d8(0x21f)](_0x3f56d8(0x1f5),_0x31c12b['includes'](_0x20472f)?_0x20472f:_0x3f56d8(0x1e9));_0x5ba080['teamId']&&this[_0x3f56d8(0x1d0)](_0x4b4f99,_0x5ba080[_0x3f56d8(0x1ef)]);this[_0x3f56d8(0x1e2)](),await this[_0x3f56d8(0x1cc)](_0x5ba080[_0x3f56d8(0x1ed)]),this[_0x3f56d8(0x1cb)](_0x4b4f99,_0x5ba080[_0x3f56d8(0x206)][_0x3f56d8(0x1e4)]);_0x5ba080[_0x3f56d8(0x20f)]?this[_0x3f56d8(0x1e0)](_0x4b4f99,_0x5ba080[_0x3f56d8(0x20f)]):this['updateVersion'](_0x4b4f99,_0x3f56d8(0x1d5));try{fs[_0x3f56d8(0x1fd)](_0x3c91ce,_0x4b4f99[_0x3f56d8(0x1f0)]());}catch(_0x265f6c){console[_0x3f56d8(0x1d8)](_0x265f6c);}}static[_0x2826c9(0x1c6)](_0x214511){const _0xe04a79=_0x2826c9;_0x214511['pbxGroupByName']=function(_0x2fc701){const _0x3f18bc=_0x1f9e;var _0xe9ee91=this[_0x3f18bc(0x1f3)]['project'][_0x3f18bc(0x1de)][_0x3f18bc(0x21a)],_0x26f372,_0x2f7091;for(_0x26f372 in _0xe9ee91){if(!/_comment$/['test'](_0x26f372))continue;if(_0xe9ee91[_0x26f372]==_0x2fc701)return _0x2f7091=_0x26f372[_0x3f18bc(0x1bc)](/_comment$/)[0x0],_0xe9ee91[_0x2f7091];}return![];},_0x214511[_0xe04a79(0x1e3)]=function(_0x5370b7,_0x6f0c76,_0x456562,_0x3f8fc3){const _0x37b9c8=_0xe04a79;let _0x56281a=[];const _0x3f9f62=/_comment$/;if(_0x3f8fc3){const _0xc9651d=this[_0x37b9c8(0x1d3)](_0x3f8fc3),_0x4a2413=_0xc9651d&&_0xc9651d[_0x37b9c8(0x1e5)],_0x4d46b3=this[_0x37b9c8(0x1f6)]();for(const _0x5e8a14 in _0x4d46b3){if(!_0x3f9f62[_0x37b9c8(0x219)](_0x5e8a14)&&_0x4a2413===_0x5e8a14){const _0x249812=_0x4d46b3[_0x5e8a14]['buildConfigurations'];for(const _0x2943d2 of _0x249812){_0x56281a[_0x37b9c8(0x1f1)](_0x2943d2['value']);}break;}}}var _0x192caa=this['pbxXCBuildConfigurationSection']();for(var _0x31b5ae in _0x192caa){if(!_0x3f9f62[_0x37b9c8(0x219)](_0x31b5ae)){if(_0x3f8fc3&&!_0x56281a['includes'](_0x31b5ae))continue;var _0x23471d=_0x192caa[_0x31b5ae];(_0x456562&&_0x23471d['name']===_0x456562||!_0x456562)&&_0x23471d[_0x37b9c8(0x201)][_0x5370b7]&&(_0x23471d[_0x37b9c8(0x201)][_0x5370b7]=_0x6f0c76);}}};}static async[_0x2826c9(0x1cc)](_0x3188cc){const _0x47f1e7=_0x2826c9;if(_0x3188cc){const _0x4a15d2=(0x0,path_1[_0x47f1e7(0x220)])(resource_1[_0x47f1e7(0x1c5)],resource_1[_0x47f1e7(0x214)]),_0x1052a2=(0x0,path_1[_0x47f1e7(0x220)])(_0x4a15d2,_0x47f1e7(0x1ca)),_0x4f0543=_0x47f1e7(0x1da)+_0x3188cc['getMIME']()['replace'](_0x47f1e7(0x1ff),''),_0x12f265=(0x0,path_1[_0x47f1e7(0x220)])(_0x4a15d2,_0x4f0543);let _0x49adad=await(0x0,load_1[_0x47f1e7(0x21e)])(_0x1052a2);_0x49adad[_0x47f1e7(0x20a)][0x0][_0x47f1e7(0x1d6)]=_0x4f0543,await _0x3188cc[_0x47f1e7(0x1d4)](_0x12f265),await fs[_0x47f1e7(0x1fd)](_0x1052a2,JSON[_0x47f1e7(0x1d9)](_0x49adad));const _0x109db0=(0x0,path_1['join'])(resource_1[_0x47f1e7(0x1c5)],resource_1[_0x47f1e7(0x1c8)]),_0xb96e6a=(0x0,path_1[_0x47f1e7(0x220)])(_0x109db0,_0x47f1e7(0x1ca)),_0x526852='icon.png',_0x2e8826=(0x0,path_1[_0x47f1e7(0x220)])(_0x109db0,_0x526852);let _0x4e553f=await(0x0,load_1[_0x47f1e7(0x21e)])(_0xb96e6a),_0x5940b2=imageHelper_1['ImageHelper']['createImg'](0x200);_0x4e553f[_0x47f1e7(0x20a)][0x0][_0x47f1e7(0x1d6)]=_0x526852,await _0x5940b2['writeAsync'](_0x2e8826),await fs[_0x47f1e7(0x1fd)](_0xb96e6a,JSON[_0x47f1e7(0x1d9)](_0x4e553f));}}static['updateTeamId'](_0x4ea80b,_0x38578a){const _0x3cf511=_0x2826c9;_0x4ea80b['updateBuildProperty']('DEVELOPMENT_TEAM',_0x38578a),useExportOptionsXML=useExportOptionsXML[_0x3cf511(0x21f)]('YOURTEAMID',_0x38578a);}static['updateExportOptions'](){const _0x325ac9=_0x2826c9;!fs['existsSync'](resource_1[_0x325ac9(0x21b)])&&fs[_0x325ac9(0x21d)](resource_1[_0x325ac9(0x21b)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1[_0x325ac9(0x220)])(resource_1[_0x325ac9(0x21b)],_0x325ac9(0x1ce)),useExportOptionsXML);}static['bindManifestInfo'](_0x14b632,_0x9c3452){const _0x33cd92=_0x2826c9;var _0x58bd74;_0x14b632[_0x33cd92(0x216)](_0x9c3452['name']),_0x14b632[_0x33cd92(0x1e3)](_0x33cd92(0x1fe),'\x22'+_0x9c3452['id']+'\x22'),this[_0x33cd92(0x205)]((_0x58bd74=_0x9c3452[_0x33cd92(0x215)])!==null&&_0x58bd74!==void 0x0?_0x58bd74:[]),this[_0x33cd92(0x1fc)](_0x9c3452);}static['updateVersion'](_0x2e963c,_0x44d7ac){const _0x49b6aa=_0x2826c9;_0x2e963c[_0x49b6aa(0x1e3)]('CURRENT_PROJECT_VERSION',_0x44d7ac);}static['updateDeeplink'](_0x163059){const _0x2b871=_0x2826c9;let _0x3ae343=(0x0,path_1[_0x2b871(0x220)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/Info.plist'),_0x5b9d29='';for(let _0x3935f6=0x0;_0x3935f6<_0x163059['length'];_0x3935f6++){_0x5b9d29+=_0x2b871(0x1f4)+_0x163059[_0x3935f6][_0x2b871(0x1f2)]+'</string>';}const _0x26860e=infoPlistXML[_0x2b871(0x21f)](_0x2b871(0x1c7),_0x5b9d29);fs[_0x2b871(0x1fd)](_0x3ae343,_0x26860e);}static[_0x2826c9(0x1fc)](_0xaa6be5){const _0x3d82c6=_0x2826c9,_0x5e1ca3=(0x0,path_1[_0x3d82c6(0x220)])(resource_1[_0x3d82c6(0x1c5)],_0x3d82c6(0x218));let _0x1976f4=manifestSwiftTemplate_1['manifestSwiftTemplate'];_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('START_URL',_0xaa6be5[_0x3d82c6(0x20d)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x1bd),_0xaa6be5[_0x3d82c6(0x1bf)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x204),_0xaa6be5[_0x3d82c6(0x1dd)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x1e1),_0xaa6be5[_0x3d82c6(0x1d2)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x221),_0xaa6be5['id']),_0x1976f4=_0x1976f4['replace'](_0x3d82c6(0x1c9),_0xaa6be5[_0x3d82c6(0x1db)]=='minimal-ui'?_0x3d82c6(0x1c9):_0x3d82c6(0x1fb));if(_0xaa6be5[_0x3d82c6(0x215)]){let _0x3fd7c3='';for(let _0x1dd00b=0x0;_0x1dd00b<_0xaa6be5[_0x3d82c6(0x215)]['length'];_0x1dd00b++){_0x3fd7c3+=_0x3d82c6(0x217)+_0xaa6be5[_0x3d82c6(0x215)][_0x1dd00b][_0x3d82c6(0x1f2)]+_0x3d82c6(0x1be)+_0xaa6be5[_0x3d82c6(0x215)][_0x1dd00b][_0x3d82c6(0x21c)]+'\x22),';}_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x3fd7c3);}typeof _0xaa6be5[_0x3d82c6(0x1dc)]==='object'?(_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x202),_0xaa6be5[_0x3d82c6(0x1dc)][_0x3d82c6(0x213)][_0x3d82c6(0x208)]),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x20b),_0xaa6be5[_0x3d82c6(0x1dc)][_0x3d82c6(0x213)][_0x3d82c6(0x1eb)]),_0x1976f4=_0x1976f4['replace'](_0x3d82c6(0x1fa),'\x22'+_0xaa6be5['mainScene'][_0x3d82c6(0x207)]+'\x22'),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('USE_MAIN_SCENE',_0x3d82c6(0x212))):(_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)](_0x3d82c6(0x202),'1280'),_0x1976f4=_0x1976f4['replace'](_0x3d82c6(0x20b),'1280'),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('SceneResizability',_0x3d82c6(0x1c4)),_0x1976f4=_0x1976f4[_0x3d82c6(0x21f)]('USE_MAIN_SCENE','false')),fs[_0x3d82c6(0x1fd)](_0x5e1ca3,_0x1976f4,_0x3d82c6(0x209));}}exports[_0x2826c9(0x1f7)]=XcodeProject;
1
+ 'use strict';const _0x2382c8=_0x1bae;(function(_0x4bdc96,_0x5bc67a){const _0x310803=_0x1bae,_0x125635=_0x4bdc96();while(!![]){try{const _0x2a5597=parseInt(_0x310803(0x19e))/0x1*(-parseInt(_0x310803(0x198))/0x2)+-parseInt(_0x310803(0x189))/0x3*(parseInt(_0x310803(0x199))/0x4)+parseInt(_0x310803(0x168))/0x5*(parseInt(_0x310803(0x195))/0x6)+parseInt(_0x310803(0x176))/0x7+parseInt(_0x310803(0x1ae))/0x8*(-parseInt(_0x310803(0x18c))/0x9)+-parseInt(_0x310803(0x161))/0xa+-parseInt(_0x310803(0x17e))/0xb*(-parseInt(_0x310803(0x18f))/0xc);if(_0x2a5597===_0x5bc67a)break;else _0x125635['push'](_0x125635['shift']());}catch(_0xfee8e){_0x125635['push'](_0x125635['shift']());}}}(_0x160a,0xf1538));Object[_0x2382c8(0x162)](exports,_0x2382c8(0x1ad),{'value':!![]});function _0x160a(){const _0xb18939=['protocol_handlers','fixProjectFunction','project','Contents.json','pbxXCBuildConfigurationSection','START_URL','updateDeeplink','objects','scope','1.0','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','replace','updateVersion','.minimal','description','filename','./web-spatial/Info.plist','name','minimal-ui','BUILDTYPE','MIDDLE_APPICON_DIRECTORY','parseSync','PROJECT_BUILD_DIRECTORY','buildType','hash','bindManifestInfo','pbxTargetByName','11363270AuzZme','defineProperty','includes','PROJECT_DIRECTORY','buildSettings','teamId','<?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>','1312795OTLXeN','buildConfigurationList','PBXGroup','Description','SceneResizability','mainScene','json','images','SceneWidth','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>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','join','protocol','writeAsync','value','2954931VbAWbU','enterprise','bindIcon','app-store-connect','push','writeFileSync','.standalone','updateTeamId','11HfGhBE','version','createImg','width','updateBuildProperty','length','true','height','SCOPE','<string>','updateExportOptions','9sgfYdF','stringify','resizability','2460249KSHHpi','pbxXCConfigurationList','icon','24786936YBHNzB','loadJsonFromDisk','AppName','./web-spatial/libs/webView/manifest.swift','PWAProtocol(protocolValue:\x20\x22','../resource','12TjAiCq','path','url','2LITpjS','443708crSTkW','CURRENT_PROJECT_VERSION','icon.','\x22),','modifySwift','281888ApuXAt','display','\x22,\x20url:\x20\x22','SceneHeight','USE_MAIN_SCENE','YOURTEAMID','BACK_APPICON_DIRECTORY','modify','ExportOptions.plist','test','writeSync','1280','\x22automatic\x22','./manifestSwiftTemplate','AppID','__esModule','8oSsQyv','</string>','utf-8','manifestSwiftTemplate','icon.png'];_0x160a=function(){return _0xb18939;};return _0x160a();}const fs=require('fs'),resource_1=require(_0x2382c8(0x194)),path_1=require(_0x2382c8(0x196)),load_1=require('../resource/load'),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x2382c8(0x1ab)),xcode=require('xcode'),exportOptionsXML=_0x2382c8(0x167),infoPlistXML=_0x2382c8(0x171);let useExportOptionsXML='';function _0x1bae(_0x389f9a,_0x25891a){const _0x160a06=_0x160a();return _0x1bae=function(_0x1baece,_0x25efa6){_0x1baece=_0x1baece-0x160;let _0x530744=_0x160a06[_0x1baece];return _0x530744;},_0x1bae(_0x389f9a,_0x25891a);}class XcodeProject{static async[_0x2382c8(0x1a5)](_0x4d5f7a,_0x1c0d83){const _0x1b1f3f=_0x2382c8;let _0x28c057=xcode['project'](_0x4d5f7a);this[_0x1b1f3f(0x1b4)](_0x28c057),_0x28c057[_0x1b1f3f(0x1c8)]();let _0x46ddcc=_0x1c0d83[_0x1b1f3f(0x1ca)];const _0x4f44a3=['release-testing',_0x1b1f3f(0x179),'debugging',_0x1b1f3f(0x177)];useExportOptionsXML=exportOptionsXML[_0x1b1f3f(0x1be)](_0x1b1f3f(0x1c6),_0x4f44a3[_0x1b1f3f(0x163)](_0x46ddcc)?_0x46ddcc:'release-testing');_0x1c0d83['teamId']&&this[_0x1b1f3f(0x17d)](_0x28c057,_0x1c0d83[_0x1b1f3f(0x166)]);this[_0x1b1f3f(0x188)](),await this[_0x1b1f3f(0x178)](_0x1c0d83[_0x1b1f3f(0x18e)]),this[_0x1b1f3f(0x1cc)](_0x28c057,_0x1c0d83['manifestInfo'][_0x1b1f3f(0x16e)]);_0x1c0d83[_0x1b1f3f(0x17f)]?this[_0x1b1f3f(0x1bf)](_0x28c057,_0x1c0d83[_0x1b1f3f(0x17f)]):this[_0x1b1f3f(0x1bf)](_0x28c057,_0x1b1f3f(0x1bc));try{fs[_0x1b1f3f(0x17b)](_0x4d5f7a,_0x28c057[_0x1b1f3f(0x1a8)]());}catch(_0x913cbe){console['log'](_0x913cbe);}}static[_0x2382c8(0x1b4)](_0x4a83d4){const _0x9bec9a=_0x2382c8;_0x4a83d4['pbxGroupByName']=function(_0x2f3048){const _0x50eee3=_0x1bae;var _0x2a5456=this[_0x50eee3(0x1cb)][_0x50eee3(0x1b5)][_0x50eee3(0x1ba)][_0x50eee3(0x16a)],_0x202184,_0x2338eb;for(_0x202184 in _0x2a5456){if(!/_comment$/[_0x50eee3(0x1a7)](_0x202184))continue;if(_0x2a5456[_0x202184]==_0x2f3048)return _0x2338eb=_0x202184['split'](/_comment$/)[0x0],_0x2a5456[_0x2338eb];}return![];},_0x4a83d4[_0x9bec9a(0x182)]=function(_0x40187d,_0x31d63e,_0x38ce0a,_0x44f1f6){const _0x404a0c=_0x9bec9a;let _0x1d2e3c=[];const _0x18310d=/_comment$/;if(_0x44f1f6){const _0x2fda57=this[_0x404a0c(0x160)](_0x44f1f6),_0x5b69ae=_0x2fda57&&_0x2fda57[_0x404a0c(0x169)],_0x637f35=this[_0x404a0c(0x18d)]();for(const _0x539f3c in _0x637f35){if(!_0x18310d['test'](_0x539f3c)&&_0x5b69ae===_0x539f3c){const _0x4650cb=_0x637f35[_0x539f3c]['buildConfigurations'];for(const _0x152c6c of _0x4650cb){_0x1d2e3c[_0x404a0c(0x17a)](_0x152c6c[_0x404a0c(0x175)]);}break;}}}var _0x36ebbc=this[_0x404a0c(0x1b7)]();for(var _0x4a4afc in _0x36ebbc){if(!_0x18310d[_0x404a0c(0x1a7)](_0x4a4afc)){if(_0x44f1f6&&!_0x1d2e3c['includes'](_0x4a4afc))continue;var _0x4a29b5=_0x36ebbc[_0x4a4afc];(_0x38ce0a&&_0x4a29b5[_0x404a0c(0x1c4)]===_0x38ce0a||!_0x38ce0a)&&_0x4a29b5[_0x404a0c(0x165)][_0x40187d]&&(_0x4a29b5['buildSettings'][_0x40187d]=_0x31d63e);}}};}static async['bindIcon'](_0x501177){const _0x415aaf=_0x2382c8;if(_0x501177){const _0x5d2449=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x415aaf(0x1a4)]),_0x2c3564=(0x0,path_1['join'])(_0x5d2449,_0x415aaf(0x1b6)),_0x5278a6=_0x415aaf(0x19b)+_0x501177['getMIME']()[_0x415aaf(0x1be)]('image/',''),_0x348b73=(0x0,path_1[_0x415aaf(0x172)])(_0x5d2449,_0x5278a6);let _0x12041f=await(0x0,load_1[_0x415aaf(0x190)])(_0x2c3564);_0x12041f['images'][0x0][_0x415aaf(0x1c2)]=_0x5278a6,await _0x501177[_0x415aaf(0x174)](_0x348b73),await fs[_0x415aaf(0x17b)](_0x2c3564,JSON[_0x415aaf(0x18a)](_0x12041f));const _0x4e5cca=(0x0,path_1[_0x415aaf(0x172)])(resource_1[_0x415aaf(0x164)],resource_1[_0x415aaf(0x1c7)]),_0x74bdea=(0x0,path_1[_0x415aaf(0x172)])(_0x4e5cca,_0x415aaf(0x1b6)),_0x478314=_0x415aaf(0x1b2),_0x576efa=(0x0,path_1[_0x415aaf(0x172)])(_0x4e5cca,_0x478314);let _0x5d548b=await(0x0,load_1[_0x415aaf(0x190)])(_0x74bdea),_0x3c55b1=imageHelper_1['ImageHelper'][_0x415aaf(0x180)](0x200);_0x5d548b[_0x415aaf(0x16f)][0x0]['filename']=_0x478314,await _0x3c55b1['writeAsync'](_0x576efa),await fs['writeFileSync'](_0x74bdea,JSON['stringify'](_0x5d548b));}}static[_0x2382c8(0x17d)](_0x3a6ee7,_0xfd5752){const _0x492123=_0x2382c8;_0x3a6ee7[_0x492123(0x182)]('DEVELOPMENT_TEAM',_0xfd5752),useExportOptionsXML=useExportOptionsXML[_0x492123(0x1be)](_0x492123(0x1a3),_0xfd5752);}static[_0x2382c8(0x188)](){const _0x2569c4=_0x2382c8;!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs['mkdirSync'](resource_1[_0x2569c4(0x1c9)],{'recursive':!![]}),fs[_0x2569c4(0x17b)]((0x0,path_1[_0x2569c4(0x172)])(resource_1[_0x2569c4(0x1c9)],_0x2569c4(0x1a6)),useExportOptionsXML);}static[_0x2382c8(0x1cc)](_0x1ab100,_0x15357d){const _0x4f87d2=_0x2382c8;var _0x410175;_0x1ab100['updateProductName'](_0x15357d['name']),_0x1ab100[_0x4f87d2(0x182)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x15357d['id']+'\x22'),this[_0x4f87d2(0x1b9)]((_0x410175=_0x15357d['protocol_handlers'])!==null&&_0x410175!==void 0x0?_0x410175:[]),this[_0x4f87d2(0x19d)](_0x15357d);}static[_0x2382c8(0x1bf)](_0x573355,_0x15f306){const _0x4989b1=_0x2382c8;_0x573355[_0x4989b1(0x182)](_0x4989b1(0x19a),_0x15f306);}static[_0x2382c8(0x1b9)](_0x19b53d){const _0x4ab738=_0x2382c8;let _0x3c33de=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],_0x4ab738(0x1c3)),_0x29e67d='';for(let _0x114cda=0x0;_0x114cda<_0x19b53d['length'];_0x114cda++){_0x29e67d+=_0x4ab738(0x187)+_0x19b53d[_0x114cda][_0x4ab738(0x173)]+_0x4ab738(0x1af);}const _0x5c7783=infoPlistXML[_0x4ab738(0x1be)]('DEEPLINK',_0x29e67d);fs[_0x4ab738(0x17b)](_0x3c33de,_0x5c7783);}static[_0x2382c8(0x19d)](_0x327900){const _0x1f1ca9=_0x2382c8,_0x49c737=(0x0,path_1[_0x1f1ca9(0x172)])(resource_1['PROJECT_DIRECTORY'],_0x1f1ca9(0x192));let _0x32cf61=manifestSwiftTemplate_1[_0x1f1ca9(0x1b1)];_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1b8),_0x327900['start_url']),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x186),_0x327900[_0x1f1ca9(0x1bb)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x191),_0x327900[_0x1f1ca9(0x1c4)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x16b),_0x327900[_0x1f1ca9(0x1c1)]),_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x1ac),_0x327900['id']),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1c0),_0x327900[_0x1f1ca9(0x19f)]==_0x1f1ca9(0x1c5)?_0x1f1ca9(0x1c0):_0x1f1ca9(0x17c));if(_0x327900['protocol_handlers']){let _0x13632b='';for(let _0x505946=0x0;_0x505946<_0x327900[_0x1f1ca9(0x1b3)][_0x1f1ca9(0x183)];_0x505946++){_0x13632b+=_0x1f1ca9(0x193)+_0x327900[_0x1f1ca9(0x1b3)][_0x505946][_0x1f1ca9(0x173)]+_0x1f1ca9(0x1a0)+_0x327900['protocol_handlers'][_0x505946][_0x1f1ca9(0x197)]+_0x1f1ca9(0x19c);}_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1bd),_0x13632b);}typeof _0x327900[_0x1f1ca9(0x16d)]==='object'?(_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x170),_0x327900['mainScene']['defaultSize'][_0x1f1ca9(0x181)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1a1),_0x327900[_0x1f1ca9(0x16d)]['defaultSize'][_0x1f1ca9(0x185)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x16c),'\x22'+_0x327900[_0x1f1ca9(0x16d)][_0x1f1ca9(0x18b)]+'\x22'),_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x1a2),_0x1f1ca9(0x184))):(_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x170),_0x1f1ca9(0x1a9)),_0x32cf61=_0x32cf61['replace']('SceneHeight',_0x1f1ca9(0x1a9)),_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x16c),_0x1f1ca9(0x1aa)),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)]('USE_MAIN_SCENE','false')),fs['writeFileSync'](_0x49c737,_0x32cf61,_0x1f1ca9(0x1b0));}}exports['default']=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x573fe3=_0x2c93;(function(_0x3303d8,_0x1d7462){const _0xa912d2=_0x2c93,_0x27bb0d=_0x3303d8();while(!![]){try{const _0x519d87=-parseInt(_0xa912d2(0x199))/0x1*(parseInt(_0xa912d2(0x1c5))/0x2)+parseInt(_0xa912d2(0x1bc))/0x3+-parseInt(_0xa912d2(0x1a8))/0x4+parseInt(_0xa912d2(0x18f))/0x5+-parseInt(_0xa912d2(0x1a0))/0x6*(-parseInt(_0xa912d2(0x193))/0x7)+-parseInt(_0xa912d2(0x1d0))/0x8+parseInt(_0xa912d2(0x1d2))/0x9;if(_0x519d87===_0x1d7462)break;else _0x27bb0d['push'](_0x27bb0d['shift']());}catch(_0x27a724){_0x27bb0d['push'](_0x27bb0d['shift']());}}}(_0x31e7,0x7e47f));Object['defineProperty'](exports,_0x573fe3(0x1b0),{'value':!![]});function _0x31e7(){const _0x5bcc60=['default','join','\x20list','\x22\x20\x22','18nmtyby','\x20shutdown\x20booted','\x20list\x20devices\x20\x22','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','path','split','no\x20visionOS\x20simulator\x20found','push','2024472HATZLE','installing\x20app','authAccount','\x20--upload-package\x20','xcrun','simctl','--\x20visionOS','Apple\x20Vision\x20Pro','__esModule','build\x20success','install','/test','\x20simctl','Booted','list','child_process','./xcodebuild','\x20boot\x20\x22','appleId','platform','1332432UkNACk','start\x20building','line','launch','\x20--apple-id\x20','launch\x20app','\x20install\x20\x22','includes','PROJECT_DIRECTORY','26DVJKYD','validate','length','uploadApp','parseListDevices','\x20--apiIssuer\x20','Build/Products/Debug-xrsimulator/','visionos','authApi','\x20--validate-app\x20-f\x20','runWithSimulator','2685328OuvZmO','PROJECT_BUILD_DIRECTORY','5124006OccBXu','/web-spatial.xcodeproj','install\x20success','XcodebuildCMD','\x27\x20-derivedDataPath\x20','shutdown','--\x20','deviceId','existsSync','\x20--bundle-version\x20','state','.app','log','uploadPackage','mkdirSync','\x20-u\x20','verbose','4826680bVsbrk','listDevices','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','execSync','785827fuFCUM','boot','altool','name','toString','trim','73582eVBuwl','find\x20simulator:\x20','\x20altool'];_0x31e7=function(){return _0x5bcc60;};return _0x31e7();}const child_process_1=require(_0x573fe3(0x1b7)),resource_1=require('../resource'),path_1=require(_0x573fe3(0x1a4)),fs=require('fs'),xcodebuild_1=require(_0x573fe3(0x1b8));function _0x2c93(_0x1bf645,_0x4369e7){const _0x31e7a0=_0x31e7();return _0x2c93=function(_0x2c93fe,_0x1ac459){_0x2c93fe=_0x2c93fe-0x18f;let _0x146a18=_0x31e7a0[_0x2c93fe];return _0x146a18;},_0x2c93(_0x1bf645,_0x4369e7);}class Xcrun{static async[_0x573fe3(0x1c6)](_0x2cf6bb,_0x39d886,_0x82b780,_0x2b65a6){const _0x40c269=_0x573fe3,_0x5d3ce0=new XcrunCMD()[_0x40c269(0x195)]();_0x5d3ce0[_0x40c269(0x1c6)](_0x2cf6bb);_0x2b65a6?_0x5d3ce0[_0x40c269(0x1aa)](_0x39d886,_0x82b780):_0x5d3ce0['authApi'](_0x39d886,_0x82b780);_0x5d3ce0[_0x40c269(0x1bb)]('visionos');const _0x4d0289=(0x0,child_process_1[_0x40c269(0x192)])(_0x5d3ce0[_0x40c269(0x1be)]);return _0x4d0289[_0x40c269(0x197)]();}static async[_0x573fe3(0x1df)](_0x568832,_0x1a0935,_0x4bd6f7,_0x16f54f,_0x5e2ec7){const _0x811e55=_0x573fe3,_0x13d443=new XcrunCMD()[_0x811e55(0x195)]();_0x13d443[_0x811e55(0x1df)](_0x568832);_0x5e2ec7?_0x13d443['authAccount'](_0x1a0935,_0x4bd6f7):_0x13d443[_0x811e55(0x1cd)](_0x1a0935,_0x4bd6f7);_0x13d443['platform'](_0x811e55(0x1cc)),_0x13d443[_0x811e55(0x1ba)](_0x16f54f);const _0x5ccb2b=(0x0,child_process_1[_0x811e55(0x192)])(_0x13d443[_0x811e55(0x1be)]);return _0x5ccb2b[_0x811e55(0x197)]();}static async['uploadApp'](_0x2a3f74,_0xf5fe1b,_0x7ed2f4,_0x220f59){const _0x3156e3=_0x573fe3,_0x22250d=new XcrunCMD()[_0x3156e3(0x195)]();_0x22250d[_0x3156e3(0x1c8)](_0x2a3f74);_0x220f59?_0x22250d[_0x3156e3(0x1aa)](_0xf5fe1b,_0x7ed2f4):_0x22250d['authApi'](_0xf5fe1b,_0x7ed2f4);_0x22250d[_0x3156e3(0x1bb)](_0x3156e3(0x1cc));const _0x2fcf2d=(0x0,child_process_1[_0x3156e3(0x192)])(_0x22250d[_0x3156e3(0x1be)]);return _0x2fcf2d['toString']();}static async[_0x573fe3(0x1cf)](_0x496a94){const _0x5a0ce8=_0x573fe3;let _0x1cedc5=new XcrunCMD()[_0x5a0ce8(0x1ad)]();_0x1cedc5[_0x5a0ce8(0x190)](_0x5a0ce8(0x1af));const _0x5f1489=(0x0,child_process_1[_0x5a0ce8(0x192)])(_0x1cedc5[_0x5a0ce8(0x1be)]),_0x5916c4=this[_0x5a0ce8(0x1c9)](_0x5f1489[_0x5a0ce8(0x197)]());if(_0x5916c4['length']===0x0)throw new Error(_0x5a0ce8(0x1a6));let _0x24449f=_0x5916c4[0x0];for(let _0x5f56bb=0x0;_0x5f56bb<_0x5916c4[_0x5a0ce8(0x1c7)];_0x5f56bb++){if(_0x5916c4[_0x5f56bb][_0x5a0ce8(0x1dc)]===_0x5a0ce8(0x1b5)){_0x24449f=_0x5916c4[_0x5f56bb];break;}}console[_0x5a0ce8(0x1de)](_0x5a0ce8(0x19a)+_0x24449f['deviceId']);const _0x1975a4=resource_1[_0x5a0ce8(0x1c4)]+_0x5a0ce8(0x1d3),_0x3c9b2b=resource_1[_0x5a0ce8(0x1d1)]+_0x5a0ce8(0x1b3);!fs[_0x5a0ce8(0x1da)](resource_1[_0x5a0ce8(0x1d1)])&&fs[_0x5a0ce8(0x1e0)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x5a0ce8(0x1da)](_0x3c9b2b)&&fs[_0x5a0ce8(0x1e0)](_0x3c9b2b,{'recursive':!![]});const _0x2c6b77=new xcodebuild_1[(_0x5a0ce8(0x1d5))]()['project'](_0x1975a4)[_0x5a0ce8(0x1be)]+(_0x5a0ce8(0x191)+_0x24449f['deviceId']+_0x5a0ce8(0x1d6)+_0x3c9b2b);console[_0x5a0ce8(0x1de)](_0x5a0ce8(0x1bd)),(0x0,child_process_1['execSync'])(_0x2c6b77),console['log'](_0x5a0ce8(0x1b1));_0x24449f[_0x5a0ce8(0x1dc)]==='Shutdown'&&(_0x1cedc5=new XcrunCMD()['simctl'](),_0x1cedc5[_0x5a0ce8(0x194)](_0x24449f['deviceId']),(0x0,child_process_1[_0x5a0ce8(0x192)])(_0x1cedc5[_0x5a0ce8(0x1be)]));(0x0,child_process_1['execSync'])(_0x5a0ce8(0x1a3)),console['log'](_0x5a0ce8(0x1a9));const _0x4ce63d=(0x0,path_1[_0x5a0ce8(0x19d)])(_0x3c9b2b,_0x5a0ce8(0x1cb)+_0x496a94[_0x5a0ce8(0x196)]+_0x5a0ce8(0x1dd));_0x1cedc5=new XcrunCMD()[_0x5a0ce8(0x1ad)](),_0x1cedc5[_0x5a0ce8(0x1b2)](_0x24449f[_0x5a0ce8(0x1d9)],_0x4ce63d),(0x0,child_process_1['execSync'])(_0x1cedc5['line']),console['log'](_0x5a0ce8(0x1d4)),console[_0x5a0ce8(0x1de)](_0x5a0ce8(0x1c1)),_0x1cedc5=new XcrunCMD()[_0x5a0ce8(0x1ad)](),_0x1cedc5[_0x5a0ce8(0x1bf)](_0x24449f[_0x5a0ce8(0x1d9)],_0x496a94['id']),(0x0,child_process_1[_0x5a0ce8(0x192)])(_0x1cedc5[_0x5a0ce8(0x1be)]);}static[_0x573fe3(0x1c9)](_0x28f60a){const _0x153f09=_0x573fe3;let _0x3715b4=_0x28f60a[_0x153f09(0x1a5)]('\x0a'),_0x57a3f1=[],_0xe70c1f=-0x1;for(let _0x1861c8=0x0;_0x1861c8<_0x3715b4['length'];_0x1861c8++){if(_0x3715b4[_0x1861c8][_0x153f09(0x1c3)](_0x153f09(0x1ae)))_0xe70c1f=_0x1861c8;else{if(_0xe70c1f>0x0){if(_0x3715b4[_0x1861c8][_0x153f09(0x1c3)](_0x153f09(0x1d8)))break;if(_0x3715b4[_0x1861c8]['length']>0x0){const _0x21ebf0=_0x3715b4[_0x1861c8][_0x153f09(0x1a5)]('('),_0xde8ecd={'name':_0x21ebf0[0x0]['trim'](),'deviceId':_0x21ebf0[0x1][_0x153f09(0x1a5)](')')[0x0][_0x153f09(0x198)](),'state':_0x21ebf0[0x2][_0x153f09(0x1a5)](')')[0x0][_0x153f09(0x198)]()};_0x57a3f1[_0x153f09(0x1a7)](_0xde8ecd);}}}}return _0x57a3f1;}}exports[_0x573fe3(0x19c)]=Xcrun;class XcrunCMD{constructor(){const _0x509a1f=_0x573fe3;this[_0x509a1f(0x1be)]=_0x509a1f(0x1ac);}[_0x573fe3(0x195)](){const _0x561af3=_0x573fe3;return this[_0x561af3(0x1be)]+=_0x561af3(0x19b),this;}[_0x573fe3(0x1ad)](){const _0x323789=_0x573fe3;return this[_0x323789(0x1be)]+=_0x323789(0x1b4),this;}[_0x573fe3(0x1b6)](){const _0x36bf2d=_0x573fe3;return this[_0x36bf2d(0x1be)]+=_0x36bf2d(0x19e),this;}[_0x573fe3(0x190)](_0x53fd6f){const _0x1fc5f5=_0x573fe3;return this[_0x1fc5f5(0x1be)]+=_0x1fc5f5(0x1a2)+_0x53fd6f+'\x22',this;}[_0x573fe3(0x1c6)](_0x411a35){const _0x58401a=_0x573fe3;return this[_0x58401a(0x1be)]+=_0x58401a(0x1ce)+_0x411a35,this;}['uploadApp'](_0x2e6a1d){const _0x132c3c=_0x573fe3;return this[_0x132c3c(0x1be)]+='\x20--upload-app\x20-f\x20'+_0x2e6a1d,this;}[_0x573fe3(0x1df)](_0x267ec5){const _0x2f827d=_0x573fe3;return this[_0x2f827d(0x1be)]+=_0x2f827d(0x1ab)+_0x267ec5,this;}[_0x573fe3(0x1aa)](_0x593223,_0xe444fd){const _0x3435bb=_0x573fe3;return this[_0x3435bb(0x1be)]+=_0x3435bb(0x1e1)+_0x593223+'\x20-p\x20'+_0xe444fd,this;}[_0x573fe3(0x1cd)](_0x58dcf7,_0x22c735){const _0x276449=_0x573fe3;return this[_0x276449(0x1be)]+='\x20--apiKey\x20'+_0x58dcf7+_0x276449(0x1ca)+_0x22c735,this;}[_0x573fe3(0x1ba)](_0x55be13){const _0x1630f3=_0x573fe3;return this[_0x1630f3(0x1be)]+=_0x1630f3(0x1c0)+_0x55be13,this;}['platform'](_0x132a5e){const _0x54030c=_0x573fe3;return this[_0x54030c(0x1be)]+='\x20-t\x20'+_0x132a5e,this;}['version'](_0x38f9da){const _0x489cdc=_0x573fe3;return this[_0x489cdc(0x1be)]+=_0x489cdc(0x1db)+_0x38f9da,this;}[_0x573fe3(0x1e2)](){const _0xa02691=_0x573fe3;return this[_0xa02691(0x1be)]+='\x20--verbose',this;}[_0x573fe3(0x1d7)](){const _0x2295b7=_0x573fe3;return this['line']+=_0x2295b7(0x1a1),this;}[_0x573fe3(0x194)](_0x3de909){const _0x1fd8e7=_0x573fe3;return this[_0x1fd8e7(0x1be)]+=_0x1fd8e7(0x1b9)+_0x3de909+'\x22',this;}[_0x573fe3(0x1b2)](_0x3bb390,_0x5dd982){const _0x1e80ba=_0x573fe3;return this[_0x1e80ba(0x1be)]+=_0x1e80ba(0x1c2)+_0x3bb390+_0x1e80ba(0x19f)+_0x5dd982+'\x22',this;}['launch'](_0x5afbd8,_0x48e251){const _0x415a83=_0x573fe3;return this[_0x415a83(0x1be)]+='\x20launch\x20\x22'+_0x5afbd8+_0x415a83(0x19f)+_0x48e251+'\x22',this;}}
1
+ 'use strict';const _0x357d9c=_0x4e9c;(function(_0x240521,_0xd07686){const _0x3054fe=_0x4e9c,_0x2b366f=_0x240521();while(!![]){try{const _0x18125d=-parseInt(_0x3054fe(0x1d5))/0x1+parseInt(_0x3054fe(0x1a4))/0x2+-parseInt(_0x3054fe(0x1e0))/0x3*(parseInt(_0x3054fe(0x1be))/0x4)+-parseInt(_0x3054fe(0x1b8))/0x5+-parseInt(_0x3054fe(0x1d8))/0x6*(-parseInt(_0x3054fe(0x1a5))/0x7)+-parseInt(_0x3054fe(0x1b5))/0x8*(-parseInt(_0x3054fe(0x19d))/0x9)+parseInt(_0x3054fe(0x1b6))/0xa;if(_0x18125d===_0xd07686)break;else _0x2b366f['push'](_0x2b366f['shift']());}catch(_0x3a1cfd){_0x2b366f['push'](_0x2b366f['shift']());}}}(_0x4c02,0xf0a51));function _0x4c02(){const _0x44f0b3=['trim','\x20--upload-package\x20','launch\x20app','authAccount','1824929UNMguo','state','authApi','6xmqpjk','\x20list\x20devices\x20\x22','\x20launch\x20\x22','./xcodebuild','\x22\x20\x22','--\x20','default','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','3WcPvnv','\x20--apple-id\x20','install','project','includes','deviceId','Apple\x20Vision\x20Pro','\x20shutdown\x20booted','\x20list','path','5125023OIFCLg','boot','no\x20visionOS\x20simulator\x20found','defineProperty','../resource','visionos','xcrun','3038562RpWMhO','11937422TtoTsv','__esModule','length','altool','validate','\x27\x20-derivedDataPath\x20','\x20--verbose','split','shutdown','verbose','log','launch','simctl','existsSync','version','build\x20success','8nLiVId','12273940eMpqtA','line','2672885cBuFyY','appleId','XcodebuildCMD','join','mkdirSync','\x20--validate-app\x20-f\x20','6705124UNBQPg','Build/Products/Debug-xrsimulator/','name','toString','\x20-p\x20','list','/web-spatial.xcodeproj','child_process','\x20--apiIssuer\x20','uploadPackage','parseListDevices','--\x20visionOS','execSync','PROJECT_BUILD_DIRECTORY','\x20-t\x20','platform','uploadApp','installing\x20app','\x20-u\x20'];_0x4c02=function(){return _0x44f0b3;};return _0x4c02();}function _0x4e9c(_0x1ed86e,_0x150524){const _0x4c02c3=_0x4c02();return _0x4e9c=function(_0x4e9c67,_0x14ba89){_0x4e9c67=_0x4e9c67-0x195;let _0x4e9d78=_0x4c02c3[_0x4e9c67];return _0x4e9d78;},_0x4e9c(_0x1ed86e,_0x150524);}Object[_0x357d9c(0x1a0)](exports,_0x357d9c(0x1a6),{'value':!![]});const child_process_1=require(_0x357d9c(0x1c5)),resource_1=require(_0x357d9c(0x1a1)),path_1=require(_0x357d9c(0x19c)),fs=require('fs'),xcodebuild_1=require(_0x357d9c(0x1db));class Xcrun{static async[_0x357d9c(0x1a9)](_0x13a97e,_0x249bf9,_0x273d0d,_0x20e5db){const _0x210ae4=_0x357d9c,_0x3b808e=new XcrunCMD()['altool']();_0x3b808e[_0x210ae4(0x1a9)](_0x13a97e);_0x20e5db?_0x3b808e[_0x210ae4(0x1d4)](_0x249bf9,_0x273d0d):_0x3b808e[_0x210ae4(0x1d7)](_0x249bf9,_0x273d0d);_0x3b808e['platform'](_0x210ae4(0x1a2));const _0x5d4bd8=(0x0,child_process_1[_0x210ae4(0x1ca)])(_0x3b808e[_0x210ae4(0x1b7)]);return _0x5d4bd8[_0x210ae4(0x1c1)]();}static async[_0x357d9c(0x1c7)](_0x1caa22,_0x21db1a,_0x3c42b3,_0x3e0c56,_0x4f63e9){const _0x889311=_0x357d9c,_0x2e5f87=new XcrunCMD()['altool']();_0x2e5f87[_0x889311(0x1c7)](_0x1caa22);_0x4f63e9?_0x2e5f87[_0x889311(0x1d4)](_0x21db1a,_0x3c42b3):_0x2e5f87[_0x889311(0x1d7)](_0x21db1a,_0x3c42b3);_0x2e5f87['platform']('visionos'),_0x2e5f87[_0x889311(0x1b9)](_0x3e0c56);const _0x279441=(0x0,child_process_1[_0x889311(0x1ca)])(_0x2e5f87[_0x889311(0x1b7)]);return _0x279441['toString']();}static async['uploadApp'](_0x3e30e0,_0x7a7ebf,_0x44fb27,_0x4b1e54){const _0xcc45c3=_0x357d9c,_0x27683f=new XcrunCMD()['altool']();_0x27683f[_0xcc45c3(0x1ce)](_0x3e30e0);_0x4b1e54?_0x27683f['authAccount'](_0x7a7ebf,_0x44fb27):_0x27683f[_0xcc45c3(0x1d7)](_0x7a7ebf,_0x44fb27);_0x27683f[_0xcc45c3(0x1cd)]('visionos');const _0x205116=(0x0,child_process_1[_0xcc45c3(0x1ca)])(_0x27683f[_0xcc45c3(0x1b7)]);return _0x205116[_0xcc45c3(0x1c1)]();}static async['runWithSimulator'](_0x175758){const _0x79f3fd=_0x357d9c;let _0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)]();_0x5839e0['listDevices'](_0x79f3fd(0x199));const _0x4e9336=(0x0,child_process_1[_0x79f3fd(0x1ca)])(_0x5839e0['line']),_0x36b219=this[_0x79f3fd(0x1c8)](_0x4e9336[_0x79f3fd(0x1c1)]());if(_0x36b219[_0x79f3fd(0x1a7)]===0x0)throw new Error(_0x79f3fd(0x19f));let _0x4e530=_0x36b219[0x0];for(let _0x39f594=0x0;_0x39f594<_0x36b219[_0x79f3fd(0x1a7)];_0x39f594++){if(_0x36b219[_0x39f594][_0x79f3fd(0x1d6)]==='Booted'){_0x4e530=_0x36b219[_0x39f594];break;}}console[_0x79f3fd(0x1af)]('find\x20simulator:\x20'+_0x4e530[_0x79f3fd(0x198)]);const _0x3ec7ba=resource_1['PROJECT_DIRECTORY']+_0x79f3fd(0x1c4),_0x535a6f=resource_1[_0x79f3fd(0x1cb)]+'/test';!fs[_0x79f3fd(0x1b2)](resource_1[_0x79f3fd(0x1cb)])&&fs[_0x79f3fd(0x1bc)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs['existsSync'](_0x535a6f)&&fs[_0x79f3fd(0x1bc)](_0x535a6f,{'recursive':!![]});const _0x5e0b26=new xcodebuild_1[(_0x79f3fd(0x1ba))]()[_0x79f3fd(0x196)](_0x3ec7ba)['line']+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x4e530['deviceId']+_0x79f3fd(0x1aa)+_0x535a6f);console[_0x79f3fd(0x1af)]('start\x20building'),(0x0,child_process_1['execSync'])(_0x5e0b26),console[_0x79f3fd(0x1af)](_0x79f3fd(0x1b4));_0x4e530[_0x79f3fd(0x1d6)]==='Shutdown'&&(_0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)](),_0x5839e0[_0x79f3fd(0x19e)](_0x4e530[_0x79f3fd(0x198)]),(0x0,child_process_1['execSync'])(_0x5839e0[_0x79f3fd(0x1b7)]));(0x0,child_process_1[_0x79f3fd(0x1ca)])(_0x79f3fd(0x1df)),console[_0x79f3fd(0x1af)](_0x79f3fd(0x1cf));const _0x54ab88=(0x0,path_1[_0x79f3fd(0x1bb)])(_0x535a6f,_0x79f3fd(0x1bf)+_0x175758[_0x79f3fd(0x1c0)]+'.app');_0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)](),_0x5839e0[_0x79f3fd(0x195)](_0x4e530['deviceId'],_0x54ab88),(0x0,child_process_1[_0x79f3fd(0x1ca)])(_0x5839e0['line']),console[_0x79f3fd(0x1af)]('install\x20success'),console['log'](_0x79f3fd(0x1d3)),_0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)](),_0x5839e0[_0x79f3fd(0x1b0)](_0x4e530[_0x79f3fd(0x198)],_0x175758['id']),(0x0,child_process_1['execSync'])(_0x5839e0[_0x79f3fd(0x1b7)]);}static[_0x357d9c(0x1c8)](_0x53a5fe){const _0x2cd23d=_0x357d9c;let _0x26831d=_0x53a5fe['split']('\x0a'),_0x379a85=[],_0x35c452=-0x1;for(let _0x1fe457=0x0;_0x1fe457<_0x26831d[_0x2cd23d(0x1a7)];_0x1fe457++){if(_0x26831d[_0x1fe457][_0x2cd23d(0x197)](_0x2cd23d(0x1c9)))_0x35c452=_0x1fe457;else{if(_0x35c452>0x0){if(_0x26831d[_0x1fe457][_0x2cd23d(0x197)](_0x2cd23d(0x1dd)))break;if(_0x26831d[_0x1fe457][_0x2cd23d(0x1a7)]>0x0){const _0x54aa00=_0x26831d[_0x1fe457]['split']('('),_0x36d6f4={'name':_0x54aa00[0x0][_0x2cd23d(0x1d1)](),'deviceId':_0x54aa00[0x1][_0x2cd23d(0x1ac)](')')[0x0][_0x2cd23d(0x1d1)](),'state':_0x54aa00[0x2][_0x2cd23d(0x1ac)](')')[0x0][_0x2cd23d(0x1d1)]()};_0x379a85['push'](_0x36d6f4);}}}}return _0x379a85;}}exports[_0x357d9c(0x1de)]=Xcrun;class XcrunCMD{constructor(){const _0x1916b5=_0x357d9c;this[_0x1916b5(0x1b7)]=_0x1916b5(0x1a3);}[_0x357d9c(0x1a8)](){const _0x2679a5=_0x357d9c;return this[_0x2679a5(0x1b7)]+='\x20altool',this;}[_0x357d9c(0x1b1)](){const _0x1f9e24=_0x357d9c;return this[_0x1f9e24(0x1b7)]+='\x20simctl',this;}[_0x357d9c(0x1c3)](){const _0x5ea278=_0x357d9c;return this[_0x5ea278(0x1b7)]+=_0x5ea278(0x19b),this;}['listDevices'](_0x54c778){const _0x107eb1=_0x357d9c;return this[_0x107eb1(0x1b7)]+=_0x107eb1(0x1d9)+_0x54c778+'\x22',this;}['validate'](_0x1cf71e){const _0x51a887=_0x357d9c;return this[_0x51a887(0x1b7)]+=_0x51a887(0x1bd)+_0x1cf71e,this;}['uploadApp'](_0x5777d0){const _0x3bb07c=_0x357d9c;return this[_0x3bb07c(0x1b7)]+='\x20--upload-app\x20-f\x20'+_0x5777d0,this;}[_0x357d9c(0x1c7)](_0xfd7844){const _0x22ed7b=_0x357d9c;return this[_0x22ed7b(0x1b7)]+=_0x22ed7b(0x1d2)+_0xfd7844,this;}[_0x357d9c(0x1d4)](_0x42c791,_0x1b5b47){const _0x1d9c3d=_0x357d9c;return this[_0x1d9c3d(0x1b7)]+=_0x1d9c3d(0x1d0)+_0x42c791+_0x1d9c3d(0x1c2)+_0x1b5b47,this;}[_0x357d9c(0x1d7)](_0x2204e6,_0x1c47b2){const _0x2d4101=_0x357d9c;return this[_0x2d4101(0x1b7)]+='\x20--apiKey\x20'+_0x2204e6+_0x2d4101(0x1c6)+_0x1c47b2,this;}[_0x357d9c(0x1b9)](_0x4d8529){const _0xd264be=_0x357d9c;return this[_0xd264be(0x1b7)]+=_0xd264be(0x1e1)+_0x4d8529,this;}['platform'](_0x3fb286){const _0x25c126=_0x357d9c;return this['line']+=_0x25c126(0x1cc)+_0x3fb286,this;}[_0x357d9c(0x1b3)](_0x250491){const _0x293a3b=_0x357d9c;return this[_0x293a3b(0x1b7)]+='\x20--bundle-version\x20'+_0x250491,this;}[_0x357d9c(0x1ae)](){const _0x5aaf0a=_0x357d9c;return this[_0x5aaf0a(0x1b7)]+=_0x5aaf0a(0x1ab),this;}[_0x357d9c(0x1ad)](){const _0x238bb2=_0x357d9c;return this[_0x238bb2(0x1b7)]+=_0x238bb2(0x19a),this;}[_0x357d9c(0x19e)](_0x156957){const _0x1a1699=_0x357d9c;return this[_0x1a1699(0x1b7)]+='\x20boot\x20\x22'+_0x156957+'\x22',this;}[_0x357d9c(0x195)](_0x423625,_0x265dd6){const _0x2fc20e=_0x357d9c;return this[_0x2fc20e(0x1b7)]+='\x20install\x20\x22'+_0x423625+_0x2fc20e(0x1dc)+_0x265dd6+'\x22',this;}[_0x357d9c(0x1b0)](_0x49e2ae,_0x2b4f51){const _0x5be953=_0x357d9c;return this[_0x5be953(0x1b7)]+=_0x5be953(0x1da)+_0x49e2ae+_0x5be953(0x1dc)+_0x2b4f51+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.18-alpha.0",
3
+ "version": "0.0.18",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {