@webspatial/builder 0.0.5 → 0.0.7

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.
Files changed (32) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/Cli.js +1 -1
  3. package/dist/lib/cmds/build.js +1 -1
  4. package/dist/lib/cmds/check.js +1 -1
  5. package/dist/lib/cmds/help.js +1 -1
  6. package/dist/lib/cmds/version.js +1 -1
  7. package/dist/lib/pwa/config.js +1 -1
  8. package/dist/lib/pwa/index.js +1 -1
  9. package/dist/lib/pwa/validate.js +1 -1
  10. package/dist/lib/resource/file.js +1 -1
  11. package/dist/lib/resource/imageHelper.js +1 -1
  12. package/dist/lib/resource/index.js +1 -1
  13. package/dist/lib/resource/load.js +1 -1
  14. package/dist/lib/utils/CustomError.js +1 -1
  15. package/dist/lib/utils/FetchUtils-1.js +1 -1
  16. package/dist/lib/utils/Log.js +1 -1
  17. package/dist/lib/utils/fetch.js +1 -1
  18. package/dist/lib/utils/messages.js +1 -1
  19. package/dist/lib/utils/utils.js +1 -1
  20. package/dist/lib/xcode/index.js +1 -1
  21. package/dist/lib/xcode/manifestSwiftTemplate.d.ts +1 -1
  22. package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
  23. package/dist/lib/xcode/xcodebuild.js +1 -1
  24. package/dist/lib/xcode/xcodeproject.js +1 -1
  25. package/dist/lib/xcode/xcrun.js +1 -1
  26. package/package.json +1 -1
  27. package/template/visionOSApp/web-spatial/libs/SpatialWindowContainer.swift +20 -3
  28. package/template/visionOSApp/web-spatial/libs/webView/manifest.swift +1 -0
  29. package/template/visionOSApp/web-spatial/views/SpatialWebViewUI.swift +124 -125
  30. package/template/visionOSApp/web-spatial/views/VolumetricWindowContainerView.swift +5 -1
  31. package/template/visionOSApp/web-spatial/views/ui/NavView.swift +80 -40
  32. package/template/visionOSApp/web-spatial/web_spatialApp.swift +34 -10
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x39fdc5=_0x5de9;(function(_0x5e75a8,_0x4720f6){const _0x539760=_0x5de9,_0x4f1cdd=_0x5e75a8();while(!![]){try{const _0x2661b8=parseInt(_0x539760(0xef))/0x1+parseInt(_0x539760(0xf0))/0x2*(-parseInt(_0x539760(0xf5))/0x3)+parseInt(_0x539760(0xe7))/0x4*(-parseInt(_0x539760(0xee))/0x5)+parseInt(_0x539760(0xfa))/0x6+-parseInt(_0x539760(0xf9))/0x7+parseInt(_0x539760(0xe9))/0x8*(parseInt(_0x539760(0xe5))/0x9)+parseInt(_0x539760(0xfb))/0xa;if(_0x2661b8===_0x4720f6)break;else _0x4f1cdd['push'](_0x4f1cdd['shift']());}catch(_0x2e657f){_0x4f1cdd['push'](_0x4f1cdd['shift']());}}}(_0x5d31,0x18bd1));Object[_0x39fdc5(0xe2)](exports,_0x39fdc5(0xf3),{'value':!![]});const Cli_1=require('./lib/Cli'),Log_1=require(_0x39fdc5(0xe6)),CustomError_1=require(_0x39fdc5(0xeb));function _0x5de9(_0x14bb65,_0x117d2e){const _0x5d3174=_0x5d31();return _0x5de9=function(_0x5de951,_0x4338f1){_0x5de951=_0x5de951-0xe2;let _0x136804=_0x5d3174[_0x5de951];return _0x136804;},_0x5de9(_0x14bb65,_0x117d2e);}module[_0x39fdc5(0xf7)]=async()=>{const _0x402706=_0x39fdc5,_0x85d4d7=new Cli_1[(_0x402706(0xf1))](),_0x998ae3=new Log_1['ConsoleLog'](_0x402706(0xed)),_0x37e64f=process[_0x402706(0xf2)]['slice'](0x2);let _0x39d1df;try{_0x39d1df=await _0x85d4d7[_0x402706(0xe3)](_0x37e64f);}catch(_0x3a253d){if(_0x3a253d instanceof CustomError_1[_0x402706(0xea)]){const _0x28d9d6=_0x3a253d['customMessage'];Array[_0x402706(0xf4)](_0x28d9d6)?_0x28d9d6[_0x402706(0xf6)](_0x59ba2d=>{const _0x2aa396=_0x402706;_0x998ae3['error'](_0x59ba2d[_0x2aa396(0xe4)]+':\x20'+_0x59ba2d[_0x2aa396(0xec)]);}):_0x998ae3[_0x402706(0xf8)](_0x28d9d6[_0x402706(0xe4)]+':\x20'+_0x28d9d6['message']);}else _0x998ae3[_0x402706(0xf8)](_0x3a253d[_0x402706(0xec)]);_0x39d1df=![];}!_0x39d1df?process['exit'](0x1):process[_0x402706(0xe8)](0x0);};function _0x5d31(){const _0x4a7659=['forEach','exports','error','762559KbiSdT','549390WUqzuY','2483700iFGlMD','defineProperty','run','code','9rNjxNx','./lib/utils/Log','324ZaNUWW','exit','394112ounzxe','CustomError','./lib/utils/CustomError','message','cli','10105WlUhHL','18576JUAapA','8oITaKg','Cli','argv','__esModule','isArray','25356MJsfOk'];_0x5d31=function(){return _0x4a7659;};return _0x5d31();}
1
+ 'use strict';const _0x3dceaa=_0xbde6;(function(_0x39bcf0,_0x57ae3e){const _0x216db1=_0xbde6,_0x23b1f4=_0x39bcf0();while(!![]){try{const _0x4c12bd=parseInt(_0x216db1(0x17d))/0x1*(parseInt(_0x216db1(0x18f))/0x2)+-parseInt(_0x216db1(0x198))/0x3+-parseInt(_0x216db1(0x186))/0x4+-parseInt(_0x216db1(0x196))/0x5+-parseInt(_0x216db1(0x180))/0x6*(parseInt(_0x216db1(0x17e))/0x7)+parseInt(_0x216db1(0x17f))/0x8*(parseInt(_0x216db1(0x193))/0x9)+parseInt(_0x216db1(0x190))/0xa;if(_0x4c12bd===_0x57ae3e)break;else _0x23b1f4['push'](_0x23b1f4['shift']());}catch(_0x2cf61b){_0x23b1f4['push'](_0x23b1f4['shift']());}}}(_0x277f,0x4468a));function _0xbde6(_0x20f5c0,_0x1193d2){const _0x277fd7=_0x277f();return _0xbde6=function(_0xbde60b,_0x7e9089){_0xbde60b=_0xbde60b-0x17d;let _0x28a4c6=_0x277fd7[_0xbde60b];return _0x28a4c6;},_0xbde6(_0x20f5c0,_0x1193d2);}Object[_0x3dceaa(0x191)](exports,_0x3dceaa(0x194),{'value':!![]});function _0x277f(){const _0x1f7ec9=['./lib/utils/CustomError','code','isArray','833292GyYufr','error','./lib/Cli','forEach','exit','message','ConsoleLog','run','Cli','485448OilUox','2034610RsAtvb','defineProperty','slice','3883743JEdTji','__esModule','argv','214750XvKnsQ','./lib/utils/Log','140721JAazSw','2YaExNq','14eTRshN','8NCLfqg','1626162VfZQZs','customMessage','cli'];_0x277f=function(){return _0x1f7ec9;};return _0x277f();}const Cli_1=require(_0x3dceaa(0x188)),Log_1=require(_0x3dceaa(0x197)),CustomError_1=require(_0x3dceaa(0x183));module['exports']=async()=>{const _0x483953=_0x3dceaa,_0x2627eb=new Cli_1[(_0x483953(0x18e))](),_0x222c5c=new Log_1[(_0x483953(0x18c))](_0x483953(0x182)),_0x5872f3=process[_0x483953(0x195)][_0x483953(0x192)](0x2);let _0x5d5440;try{_0x5d5440=await _0x2627eb[_0x483953(0x18d)](_0x5872f3);}catch(_0x2c7496){if(_0x2c7496 instanceof CustomError_1['CustomError']){const _0x3c4188=_0x2c7496[_0x483953(0x181)];Array[_0x483953(0x185)](_0x3c4188)?_0x3c4188[_0x483953(0x189)](_0x1e0c9e=>{const _0x3caad7=_0x483953;_0x222c5c['error'](_0x1e0c9e[_0x3caad7(0x184)]+':\x20'+_0x1e0c9e[_0x3caad7(0x18b)]);}):_0x222c5c[_0x483953(0x187)](_0x3c4188[_0x483953(0x184)]+':\x20'+_0x3c4188['message']);}else _0x222c5c[_0x483953(0x187)](_0x2c7496['message']);_0x5d5440=![];}!_0x5d5440?process['exit'](0x1):process[_0x483953(0x18a)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1b0f(_0x28b971,_0x540f03){const _0x4c105f=_0x4c10();return _0x1b0f=function(_0x1b0f8d,_0x558f6c){_0x1b0f8d=_0x1b0f8d-0x1af;let _0x1434af=_0x4c105f[_0x1b0f8d];return _0x1434af;},_0x1b0f(_0x28b971,_0x540f03);}const _0x231b15=_0x1b0f;(function(_0xacbf70,_0x48ca61){const _0x363fb0=_0x1b0f,_0x43357d=_0xacbf70();while(!![]){try{const _0x43000=parseInt(_0x363fb0(0x1cd))/0x1+-parseInt(_0x363fb0(0x1c7))/0x2+-parseInt(_0x363fb0(0x1c4))/0x3+-parseInt(_0x363fb0(0x1c1))/0x4*(parseInt(_0x363fb0(0x1c0))/0x5)+parseInt(_0x363fb0(0x1bb))/0x6*(-parseInt(_0x363fb0(0x1c2))/0x7)+-parseInt(_0x363fb0(0x1b8))/0x8+parseInt(_0x363fb0(0x1d1))/0x9;if(_0x43000===_0x48ca61)break;else _0x43357d['push'](_0x43357d['shift']());}catch(_0x114135){_0x43357d['push'](_0x43357d['shift']());}}}(_0x4c10,0x59d1b));function _0x4c10(){const _0x32834f=['fetch','length','fetchUtils','publish','node','dev','versions','__esModule','1575176DPwigV','Current\x20Node.js\x20version\x20is\x20','run','6ViHhmW','major','downloadFile','./cmds/help','version','53990BXCedh','236WIgQNg','4837441ZqiaXV','Cli','1370412TTEXqi','setFetch','start','653842qgPtmd','setDecompressResponseBuffer','store','build','defineProperty','semver','445008PTPcGL','help','decompressResponseBuffer','./utils/fetch','20084922SmxcIP','setDownloadFile','./cmds/build'];_0x4c10=function(){return _0x32834f;};return _0x4c10();}Object[_0x231b15(0x1cb)](exports,_0x231b15(0x1b7),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require('minimist'),semver_1=require(_0x231b15(0x1cc)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x231b15(0x1be)),build_1=require(_0x231b15(0x1af)),version_1=require('./cmds/version'),fetch_1=require(_0x231b15(0x1d0));class Cli{async[_0x231b15(0x1ba)](_0x3a2c69){const _0x324c6d=_0x231b15;if((0x0,semver_1[_0x324c6d(0x1bc)])(process['versions'][_0x324c6d(0x1b4)])<0xe)throw new Error(_0x324c6d(0x1b9)+process[_0x324c6d(0x1b6)][_0x324c6d(0x1b4)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0x324c6d(0x1b2)][_0x324c6d(0x1c5)](fetch_1[_0x324c6d(0x1b0)]),FetchUtils_1_1['fetchUtils'][_0x324c6d(0x1d2)](fetch_1[_0x324c6d(0x1bd)]),FetchUtils_1_1['fetchUtils'][_0x324c6d(0x1c8)](fetch_1[_0x324c6d(0x1cf)]);const _0x2e4997=minimist(_0x3a2c69);let _0x2cca5e=undefined;if(_0x2e4997['_'][_0x324c6d(0x1b1)]===0x0){if(_0x2e4997[_0x324c6d(0x1bf)])_0x2cca5e=_0x324c6d(0x1bf);else _0x2e4997[_0x324c6d(0x1ce)]&&(_0x2cca5e=_0x324c6d(0x1ce));}else _0x2cca5e=_0x2e4997['_'][0x0];!_0x2cca5e&&(_0x2cca5e='help');switch(_0x2cca5e){case _0x324c6d(0x1ce):case'h':return await(0x0,help_1[_0x324c6d(0x1ce)])(_0x2e4997);case _0x324c6d(0x1ca):return await(0x0,build_1[_0x324c6d(0x1c6)])(_0x2e4997);case _0x324c6d(0x1b3):return await(0x0,build_1[_0x324c6d(0x1c9)])(_0x2e4997);case _0x324c6d(0x1b5):return await(0x0,build_1[_0x324c6d(0x1b5)])(_0x2e4997);case'version':{return await(0x0,version_1[_0x324c6d(0x1bf)])();}default:throw new Error('\x22'+_0x2cca5e+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports[_0x231b15(0x1c3)]=Cli;
1
+ 'use strict';const _0x2c828b=_0xa08b;(function(_0x37f954,_0xdc1f9d){const _0x1b58b9=_0xa08b,_0xd38f18=_0x37f954();while(!![]){try{const _0x1c1888=-parseInt(_0x1b58b9(0x1ab))/0x1*(parseInt(_0x1b58b9(0x1bb))/0x2)+-parseInt(_0x1b58b9(0x1c2))/0x3*(-parseInt(_0x1b58b9(0x19e))/0x4)+-parseInt(_0x1b58b9(0x1b9))/0x5*(-parseInt(_0x1b58b9(0x1ae))/0x6)+parseInt(_0x1b58b9(0x1a0))/0x7+-parseInt(_0x1b58b9(0x1af))/0x8*(-parseInt(_0x1b58b9(0x1b3))/0x9)+-parseInt(_0x1b58b9(0x19c))/0xa*(parseInt(_0x1b58b9(0x1b5))/0xb)+parseInt(_0x1b58b9(0x1a4))/0xc*(-parseInt(_0x1b58b9(0x1ba))/0xd);if(_0x1c1888===_0xdc1f9d)break;else _0xd38f18['push'](_0xd38f18['shift']());}catch(_0x26e3f7){_0xd38f18['push'](_0xd38f18['shift']());}}}(_0xfbd2,0x268f8));Object[_0x2c828b(0x19d)](exports,_0x2c828b(0x1a1),{'value':!![]}),exports['Cli']=void 0x0;function _0xa08b(_0x582553,_0x5a4472){const _0xfbd2d1=_0xfbd2();return _0xa08b=function(_0xa08bea,_0x4f9007){_0xa08bea=_0xa08bea-0x198;let _0x38ba31=_0xfbd2d1[_0xa08bea];return _0x38ba31;},_0xa08b(_0x582553,_0x5a4472);}const minimist=require(_0x2c828b(0x1b6)),semver_1=require(_0x2c828b(0x1bd)),FetchUtils_1_1=require(_0x2c828b(0x1b1)),help_1=require(_0x2c828b(0x1be)),build_1=require(_0x2c828b(0x1b8)),version_1=require(_0x2c828b(0x1a9)),fetch_1=require(_0x2c828b(0x19f));class Cli{async[_0x2c828b(0x19b)](_0x38b447){const _0x4ca313=_0x2c828b;if((0x0,semver_1[_0x4ca313(0x199)])(process['versions']['node'])<0xe)throw new Error(_0x4ca313(0x1bc)+process[_0x4ca313(0x1a6)][_0x4ca313(0x19a)]+'.'+_0x4ca313(0x1c1));FetchUtils_1_1[_0x4ca313(0x1bf)][_0x4ca313(0x1a8)](fetch_1[_0x4ca313(0x1ad)]),FetchUtils_1_1[_0x4ca313(0x1bf)][_0x4ca313(0x1aa)](fetch_1[_0x4ca313(0x1ac)]),FetchUtils_1_1[_0x4ca313(0x1bf)][_0x4ca313(0x1a5)](fetch_1[_0x4ca313(0x1b4)]);const _0x43da4f=minimist(_0x38b447);let _0x1129c2=undefined;if(_0x43da4f['_'][_0x4ca313(0x1b0)]===0x0){if(_0x43da4f[_0x4ca313(0x198)])_0x1129c2='version';else _0x43da4f[_0x4ca313(0x1a7)]&&(_0x1129c2=_0x4ca313(0x1a7));}else _0x1129c2=_0x43da4f['_'][0x0];!_0x1129c2&&(_0x1129c2=_0x4ca313(0x1a7));switch(_0x1129c2){case _0x4ca313(0x1a7):case'h':return await(0x0,help_1[_0x4ca313(0x1a7)])(_0x43da4f);case _0x4ca313(0x1b2):return await(0x0,build_1[_0x4ca313(0x1a2)])(_0x43da4f);case'publish':return await(0x0,build_1[_0x4ca313(0x1a3)])(_0x43da4f);case _0x4ca313(0x1b7):return await(0x0,build_1['dev'])(_0x43da4f);case'version':{return await(0x0,version_1[_0x4ca313(0x198)])();}default:throw new Error('\x22'+_0x1129c2+_0x4ca313(0x1c0));}}}function _0xfbd2(){const _0x483956=['682980ESbqaK','setDecompressResponseBuffer','versions','help','setFetch','./cmds/version','setDownloadFile','35454bhrBCB','downloadFile','fetch','437214WJvRht','153568BkRTwL','length','./utils/FetchUtils-1','build','9LLsIIV','decompressResponseBuffer','11FjhtZA','minimist','dev','./cmds/build','10ruKxpE','13TYBQSj','6irglvD','Current\x20Node.js\x20version\x20is\x20','semver','./cmds/help','fetchUtils','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','3xWHaBr','version','major','node','run','2550130ZVdNLn','defineProperty','859756tmpiQg','./utils/fetch','1374527zfAxEj','__esModule','start','store'];_0xfbd2=function(){return _0x483956;};return _0xfbd2();}exports['Cli']=Cli;
@@ -1 +1 @@
1
- 'use strict';const _0x463afb=_0x5cb3;(function(_0x72ce1b,_0x5a4217){const _0x5f782d=_0x5cb3,_0x1e930b=_0x72ce1b();while(!![]){try{const _0xcf7cb3=-parseInt(_0x5f782d(0x19d))/0x1+-parseInt(_0x5f782d(0x198))/0x2*(-parseInt(_0x5f782d(0x19b))/0x3)+-parseInt(_0x5f782d(0x19e))/0x4*(-parseInt(_0x5f782d(0x190))/0x5)+parseInt(_0x5f782d(0x192))/0x6*(-parseInt(_0x5f782d(0x1af))/0x7)+-parseInt(_0x5f782d(0x199))/0x8*(-parseInt(_0x5f782d(0x1ac))/0x9)+-parseInt(_0x5f782d(0x1ab))/0xa*(parseInt(_0x5f782d(0x1b2))/0xb)+-parseInt(_0x5f782d(0x1a6))/0xc*(-parseInt(_0x5f782d(0x1aa))/0xd);if(_0xcf7cb3===_0x5a4217)break;else _0x1e930b['push'](_0x1e930b['shift']());}catch(_0x314365){_0x1e930b['push'](_0x1e930b['shift']());}}}(_0x2c8d,0xc6887));Object[_0x463afb(0x1a0)](exports,'__esModule',{'value':!![]}),exports['start']=start,exports['store']=store,exports[_0x463afb(0x1ae)]=dev;const pwa_1=require(_0x463afb(0x196)),resource_1=require(_0x463afb(0x1b3)),xcode_1=require('../xcode'),check_1=require(_0x463afb(0x194));function _0x5cb3(_0x29c2c0,_0x3dfb1c){const _0x2c8d01=_0x2c8d();return _0x5cb3=function(_0x5cb323,_0x3d2d0e){_0x5cb323=_0x5cb323-0x18d;let _0x5cb761=_0x2c8d01[_0x5cb323];return _0x5cb761;},_0x5cb3(_0x29c2c0,_0x3dfb1c);}async function start(_0x137c65,_0x10d18b=![]){const _0x369ce2=_0x463afb;(0x0,check_1[_0x369ce2(0x1a4)])(_0x137c65,_0x10d18b),console[_0x369ce2(0x19f)](_0x369ce2(0x1a5));let _0x5edd68=await pwa_1['PWAGenerator'][_0x369ce2(0x1b4)](_0x137c65,_0x10d18b);!_0x5edd68[_0x369ce2(0x18d)]&&(await resource_1['ResourceManager'][_0x369ce2(0x1a9)](_0x137c65[_0x369ce2(0x1a1)]),console[_0x369ce2(0x19f)](_0x369ce2(0x1a8)));const _0x321df3=await resource_1['ResourceManager']['generateIcon'](_0x5edd68);return console[_0x369ce2(0x19f)](_0x369ce2(0x1ad)),await xcode_1['XcodeManager'][_0x369ce2(0x19c)]({'icon':_0x321df3,'manifestInfo':_0x5edd68,'teamId':_0x137c65[_0x369ce2(0x1b0)],'version':_0x137c65['version'],'buildType':_0x137c65[_0x369ce2(0x191)],'export':_0x137c65[_0x369ce2(0x1a7)]},_0x10d18b),console['log'](_0x369ce2(0x195)),_0x5edd68;}async function store(_0x83312){const _0x2f2d11=_0x463afb;(0x0,check_1[_0x2f2d11(0x1b1)])(_0x83312);let _0x32849f={'name':_0x2f2d11(0x197)};_0x83312[_0x2f2d11(0x191)]=_0x2f2d11(0x19a);if(_0x83312[_0x2f2d11(0x18e)])_0x32849f[_0x2f2d11(0x18e)]=_0x83312['name'];else{const _0x4c8181=await start(_0x83312);if(!_0x4c8181)return![];_0x32849f[_0x2f2d11(0x18e)]=_0x4c8181[_0x2f2d11(0x193)][_0x2f2d11(0x18e)];}return await xcode_1[_0x2f2d11(0x1a3)][_0x2f2d11(0x18f)](_0x83312,_0x32849f),!![];}async function dev(_0x448c0a){const _0x3ca555=_0x463afb;let _0x5b0d68={'name':_0x3ca555(0x197),'id':'com.SpatialWeb.test'};const _0x10df87=await start(_0x448c0a,!![]);if(!_0x10df87)return![];return _0x5b0d68[_0x3ca555(0x18e)]=_0x10df87[_0x3ca555(0x193)][_0x3ca555(0x18e)],_0x5b0d68['id']=_0x10df87[_0x3ca555(0x193)]['id'],await xcode_1[_0x3ca555(0x1a3)][_0x3ca555(0x1a2)](_0x5b0d68),!![];}function _0x2c8d(){const _0x378c5a=['generator','fromNet','name','upload','1664225AoIgvm','buildType','3222iAivqE','json','./check','-------------------\x20build\x20end\x20-------------------','../pwa','SpatialWebTest','2LKHYnY','8WKfgAq','app-store-connect','1740705cnsbvv','parseProject','830941TUjkjS','8pEHeWG','log','defineProperty','project','runWithSimulator','XcodeManager','checkBuildParams','-------------------\x20build\x20start\x20-------------------','1776FoQLTA','export','move\x20web\x20project:\x20ok','moveProjectFrom','153205nmPEVS','7950060EsWypu','11132568UHHbKQ','generate\x20icon:\x20ok','dev','12943PFwxeG','teamId','checkStoreParams','22SfFvji','../resource'];_0x2c8d=function(){return _0x378c5a;};return _0x2c8d();}
1
+ 'use strict';const _0x5d21e4=_0x2d5a;(function(_0x48c70e,_0x2fee66){const _0x151f8c=_0x2d5a,_0x9cf4a=_0x48c70e();while(!![]){try{const _0x450ba8=-parseInt(_0x151f8c(0x1c4))/0x1+-parseInt(_0x151f8c(0x1d3))/0x2+-parseInt(_0x151f8c(0x1cf))/0x3*(parseInt(_0x151f8c(0x1c7))/0x4)+parseInt(_0x151f8c(0x1cd))/0x5*(parseInt(_0x151f8c(0x1d8))/0x6)+parseInt(_0x151f8c(0x1c9))/0x7*(-parseInt(_0x151f8c(0x1d7))/0x8)+-parseInt(_0x151f8c(0x1c8))/0x9+parseInt(_0x151f8c(0x1e7))/0xa*(parseInt(_0x151f8c(0x1cb))/0xb);if(_0x450ba8===_0x2fee66)break;else _0x9cf4a['push'](_0x9cf4a['shift']());}catch(_0x553dac){_0x9cf4a['push'](_0x9cf4a['shift']());}}}(_0x1f13,0x948d7));Object[_0x5d21e4(0x1e4)](exports,'__esModule',{'value':!![]}),exports[_0x5d21e4(0x1e0)]=start,exports['store']=store,exports[_0x5d21e4(0x1df)]=dev;function _0x1f13(){const _0x2b44cb=['com.SpatialWeb.test','../resource','327486WkYaHZ','move\x20web\x20project:\x20ok','generate\x20icon:\x20ok','4rtoCPH','5843412BPdQnq','161735lHmXkz','parseProject','91124KVxUVu','checkStoreParams','40DJAwnq','SpatialWebTest','3403965jWvoIh','name','buildType','generateIcon','1017750uDbyuq','log','-------------------\x20build\x20end\x20-------------------','upload','8RbDykq','158724ZUAmJN','XcodeManager','../xcode','fromNet','./check','ResourceManager','PWAGenerator','dev','start','checkBuildParams','json','version','defineProperty','-------------------\x20build\x20start\x20-------------------','app-store-connect','3670VkCRyV'];_0x1f13=function(){return _0x2b44cb;};return _0x1f13();}function _0x2d5a(_0x59963f,_0x5326c4){const _0x1f13b8=_0x1f13();return _0x2d5a=function(_0x2d5af4,_0x19d134){_0x2d5af4=_0x2d5af4-0x1c4;let _0x585cd1=_0x1f13b8[_0x2d5af4];return _0x585cd1;},_0x2d5a(_0x59963f,_0x5326c4);}const pwa_1=require('../pwa'),resource_1=require(_0x5d21e4(0x1e9)),xcode_1=require(_0x5d21e4(0x1da)),check_1=require(_0x5d21e4(0x1dc));async function start(_0x4357fa,_0x4a1c2c=![]){const _0x494df3=_0x5d21e4;(0x0,check_1[_0x494df3(0x1e1)])(_0x4357fa,_0x4a1c2c),console['log'](_0x494df3(0x1e5));let _0x58f243=await pwa_1[_0x494df3(0x1de)]['generator'](_0x4357fa,_0x4a1c2c);!_0x58f243[_0x494df3(0x1db)]&&(await resource_1[_0x494df3(0x1dd)]['moveProjectFrom'](_0x4357fa['project']),console['log'](_0x494df3(0x1c5)));const _0xf170e8=await resource_1[_0x494df3(0x1dd)][_0x494df3(0x1d2)](_0x58f243);return console[_0x494df3(0x1d4)](_0x494df3(0x1c6)),await xcode_1[_0x494df3(0x1d9)][_0x494df3(0x1ca)]({'icon':_0xf170e8,'manifestInfo':_0x58f243,'teamId':_0x4357fa['teamId'],'version':_0x4357fa[_0x494df3(0x1e3)],'buildType':_0x4357fa['buildType'],'export':_0x4357fa['export']},_0x4a1c2c),console['log'](_0x494df3(0x1d5)),_0x58f243;}async function store(_0x11afa5){const _0x356e5f=_0x5d21e4;(0x0,check_1[_0x356e5f(0x1cc)])(_0x11afa5);let _0xe06f45={'name':'SpatialWebTest'};_0x11afa5[_0x356e5f(0x1d1)]=_0x356e5f(0x1e6);if(_0x11afa5[_0x356e5f(0x1d0)])_0xe06f45[_0x356e5f(0x1d0)]=_0x11afa5['name'];else{const _0xb419d2=await start(_0x11afa5);if(!_0xb419d2)return![];_0xe06f45[_0x356e5f(0x1d0)]=_0xb419d2[_0x356e5f(0x1e2)][_0x356e5f(0x1d0)];}return await xcode_1[_0x356e5f(0x1d9)][_0x356e5f(0x1d6)](_0x11afa5,_0xe06f45),!![];}async function dev(_0x6fc2dd){const _0x107479=_0x5d21e4;let _0x5aa796={'name':_0x107479(0x1ce),'id':_0x107479(0x1e8)};const _0x2ee511=await start(_0x6fc2dd,!![]);if(!_0x2ee511)return![];return _0x5aa796[_0x107479(0x1d0)]=_0x2ee511[_0x107479(0x1e2)][_0x107479(0x1d0)],_0x5aa796['id']=_0x2ee511[_0x107479(0x1e2)]['id'],await xcode_1[_0x107479(0x1d9)]['runWithSimulator'](_0x5aa796),!![];}
@@ -1 +1 @@
1
- 'use strict';var _0x20a54f=_0xc3a0;function _0xc3a0(_0x2a06a0,_0x24ad0c){var _0x33d067=_0x33d0();return _0xc3a0=function(_0xc3a055,_0x8ce9af){_0xc3a055=_0xc3a055-0x17f;var _0x1f88ec=_0x33d067[_0xc3a055];return _0x1f88ec;},_0xc3a0(_0x2a06a0,_0x24ad0c);}(function(_0x448730,_0x5e0efe){var _0x26f5ff=_0xc3a0,_0xf9e4ed=_0x448730();while(!![]){try{var _0x4125b0=-parseInt(_0x26f5ff(0x186))/0x1+-parseInt(_0x26f5ff(0x18e))/0x2+parseInt(_0x26f5ff(0x18d))/0x3*(-parseInt(_0x26f5ff(0x180))/0x4)+parseInt(_0x26f5ff(0x191))/0x5*(-parseInt(_0x26f5ff(0x18a))/0x6)+parseInt(_0x26f5ff(0x18c))/0x7+parseInt(_0x26f5ff(0x185))/0x8+parseInt(_0x26f5ff(0x18b))/0x9*(parseInt(_0x26f5ff(0x18f))/0xa);if(_0x4125b0===_0x5e0efe)break;else _0xf9e4ed['push'](_0xf9e4ed['shift']());}catch(_0x3273bc){_0xf9e4ed['push'](_0xf9e4ed['shift']());}}}(_0x33d0,0x70245));function _0x33d0(){var _0x82fe3=['4KOBHUF','teamId\x20is\x20required','manifest-url','version','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','4146576PzXsXb','132261KVKWyP','manifest\x20or\x20manifest-url\x20is\x20required','version\x20is\x20required','teamId','102entwka','495DoJQKc','4413157sNLWhC','2246457LWpKPF','910424klkGQj','180970XAGLBM','checkStoreParams','102495rMYvkE','manifest','defineProperty','__esModule'];_0x33d0=function(){return _0x82fe3;};return _0x33d0();}Object[_0x20a54f(0x193)](exports,_0x20a54f(0x17f),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x20a54f(0x190)]=checkStoreParams;function checkBuildParams(_0x11ea31,_0x10c21e=![]){var _0x48c465=_0x20a54f;if(!_0x11ea31[_0x48c465(0x192)]&&!_0x11ea31[_0x48c465(0x182)])throw new Error(_0x48c465(0x187));if(_0x11ea31[_0x48c465(0x192)]&&_0x11ea31[_0x48c465(0x182)])throw new Error(_0x48c465(0x184));if(!_0x11ea31[_0x48c465(0x189)]&&!_0x10c21e)throw new Error(_0x48c465(0x181));}function checkStoreParams(_0x254cbf){var _0x18bd0c=_0x20a54f;if(!(_0x254cbf['u']&&_0x254cbf['p'])&&!(_0x254cbf['k']&&_0x254cbf['i']))throw new Error('u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required');if(!_0x254cbf[_0x18bd0c(0x183)])throw new Error(_0x18bd0c(0x188));}
1
+ 'use strict';(function(_0x5b0dc4,_0x414322){var _0x27d368=_0x3218,_0x9af4b3=_0x5b0dc4();while(!![]){try{var _0x760359=parseInt(_0x27d368(0x92))/0x1+parseInt(_0x27d368(0x9a))/0x2+parseInt(_0x27d368(0x99))/0x3*(parseInt(_0x27d368(0x91))/0x4)+-parseInt(_0x27d368(0x9c))/0x5+parseInt(_0x27d368(0x96))/0x6*(-parseInt(_0x27d368(0x9d))/0x7)+-parseInt(_0x27d368(0x9b))/0x8+-parseInt(_0x27d368(0x97))/0x9*(-parseInt(_0x27d368(0x90))/0xa);if(_0x760359===_0x414322)break;else _0x9af4b3['push'](_0x9af4b3['shift']());}catch(_0xce022){_0x9af4b3['push'](_0x9af4b3['shift']());}}}(_0x43b5,0xce19a));function _0x3218(_0x29b5d0,_0x213ae5){var _0x43b52d=_0x43b5();return _0x3218=function(_0x3218e0,_0x2fd901){_0x3218e0=_0x3218e0-0x8e;var _0x4323e4=_0x43b52d[_0x3218e0];return _0x4323e4;},_0x3218(_0x29b5d0,_0x213ae5);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function checkBuildParams(_0x122204,_0x518d0c=![]){var _0x192cc2=_0x3218;if(!_0x122204[_0x192cc2(0x94)]&&!_0x122204[_0x192cc2(0x9f)])throw new Error(_0x192cc2(0x9e));if(_0x122204[_0x192cc2(0x94)]&&_0x122204['manifest-url'])throw new Error(_0x192cc2(0x93));if(!_0x122204['teamId']&&!_0x518d0c)throw new Error(_0x192cc2(0x98));}function checkStoreParams(_0x44a151){var _0x1d4758=_0x3218;if(!(_0x44a151['u']&&_0x44a151['p'])&&!(_0x44a151['k']&&_0x44a151['i']))throw new Error(_0x1d4758(0x8e));if(!_0x44a151[_0x1d4758(0x95)])throw new Error(_0x1d4758(0x8f));}function _0x43b5(){var _0x42689e=['6ZxXPzO','2394855MIznYv','teamId\x20is\x20required','1212WsqDgG','218738IJvvVY','7611664LLlStK','400680OzymRj','7226268WbxLnP','manifest\x20or\x20manifest-url\x20is\x20required','manifest-url','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','version\x20is\x20required','20GQddSo','15508ieZDXP','700237FRuqgS','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','manifest','version'];_0x43b5=function(){return _0x42689e;};return _0x43b5();}
@@ -1 +1 @@
1
- 'use strict';const _0x52f4a7=_0x13f7;(function(_0x2269fc,_0x1bd6f4){const _0xc68211=_0x13f7,_0x49c467=_0x2269fc();while(!![]){try{const _0xed734b=parseInt(_0xc68211(0x18e))/0x1*(-parseInt(_0xc68211(0x1a4))/0x2)+-parseInt(_0xc68211(0x190))/0x3*(-parseInt(_0xc68211(0x19f))/0x4)+parseInt(_0xc68211(0x1a1))/0x5+-parseInt(_0xc68211(0x197))/0x6+-parseInt(_0xc68211(0x1a0))/0x7+parseInt(_0xc68211(0x1a3))/0x8*(parseInt(_0xc68211(0x194))/0x9)+parseInt(_0xc68211(0x18f))/0xa*(parseInt(_0xc68211(0x19b))/0xb);if(_0xed734b===_0x1bd6f4)break;else _0x49c467['push'](_0x49c467['shift']());}catch(_0x45653b){_0x49c467['push'](_0x49c467['shift']());}}}(_0x1a0e,0x6b5f6));Object['defineProperty'](exports,_0x52f4a7(0x18d),{'value':!![]}),exports[_0x52f4a7(0x19a)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x52f4a7(0x1a5),[_0x52f4a7(0x19e),'','',_0x52f4a7(0x195),_0x52f4a7(0x19c)+_0x52f4a7(0x193),_0x52f4a7(0x1a6),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x52f4a7(0x192)]('\x0a')],[_0x52f4a7(0x1a2),[_0x52f4a7(0x1a7),'','',_0x52f4a7(0x191),'','',_0x52f4a7(0x199)][_0x52f4a7(0x192)]('\x0a')],['dev',[_0x52f4a7(0x1a7),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x52f4a7(0x19d)][_0x52f4a7(0x192)]('\x0a')],[_0x52f4a7(0x1a9),['Usage:','','','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x52f4a7(0x1a8)]['join']('\x0a')]]);async function help(_0x254e95,_0x4d9009=new Log_1[(_0x52f4a7(0x18c))](_0x52f4a7(0x19a))){const _0x7680ef=_0x52f4a7,_0x594d65=_0x254e95['_'][0x1],_0xfb0ad5=HELP_MESSAGES['get'](_0x594d65)||HELP_MESSAGES[_0x7680ef(0x196)](_0x7680ef(0x1a5));return _0x4d9009[_0x7680ef(0x198)](_0xfb0ad5),!![];}function _0x13f7(_0x41610c,_0x1dd31d){const _0x1a0ec7=_0x1a0e();return _0x13f7=function(_0x13f725,_0x1a15da){_0x13f725=_0x13f725-0x18c;let _0x250ea8=_0x1a0ec7[_0x13f725];return _0x250ea8;},_0x13f7(_0x41610c,_0x1dd31d);}function _0x1a0e(){const _0xf78b3f=['__esModule','7457NnoTnd','6130IvOiHj','54ibNdZL','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','join','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','61713dShMBo','help\x20................\x20shows\x20this\x20menu','get','2160522LyIHTk','info','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','5731odSRIq','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','webspatial\x20[command]\x20<options>','142176wZiiec','2812208hZiPXx','368055JUAEzn','build','632vIXWeS','100rzpvSf','main','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','Usage:','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','publish','ConsoleLog'];_0x1a0e=function(){return _0xf78b3f;};return _0x1a0e();}
1
+ 'use strict';const _0x5912d9=_0x93ca;(function(_0x43613f,_0x2c8f6f){const _0x4e1398=_0x93ca,_0x20e0de=_0x43613f();while(!![]){try{const _0x5eba2a=parseInt(_0x4e1398(0xbc))/0x1*(parseInt(_0x4e1398(0xc2))/0x2)+parseInt(_0x4e1398(0xc0))/0x3*(-parseInt(_0x4e1398(0xc6))/0x4)+parseInt(_0x4e1398(0xc3))/0x5+-parseInt(_0x4e1398(0xc1))/0x6+-parseInt(_0x4e1398(0xc8))/0x7+-parseInt(_0x4e1398(0xb6))/0x8*(-parseInt(_0x4e1398(0xad))/0x9)+-parseInt(_0x4e1398(0xb4))/0xa*(-parseInt(_0x4e1398(0xaf))/0xb);if(_0x5eba2a===_0x2c8f6f)break;else _0x20e0de['push'](_0x20e0de['shift']());}catch(_0xbefc50){_0x20e0de['push'](_0x20e0de['shift']());}}}(_0x18f4,0x32d29));Object[_0x5912d9(0xbe)](exports,_0x5912d9(0xb8),{'value':!![]}),exports[_0x5912d9(0xb9)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([['main',['webspatial\x20[command]\x20<options>','','',_0x5912d9(0xae),_0x5912d9(0xc4)+_0x5912d9(0xb2),_0x5912d9(0xb1),_0x5912d9(0xc5)][_0x5912d9(0xbf)]('\x0a')],['build',[_0x5912d9(0xb5),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x5912d9(0xbf)]('\x0a')],[_0x5912d9(0xb0),[_0x5912d9(0xb5),'','',_0x5912d9(0xbb),'','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0x5912d9(0xbf)]('\x0a')],['publish',['Usage:','','',_0x5912d9(0xb7),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x5912d9(0xb3)][_0x5912d9(0xbf)]('\x0a')]]);function _0x18f4(){const _0x3e6d87=['35410XzZWPl','Usage:','1130056WxxArB','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','help','main','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','149865EiSFrm','get','defineProperty','join','1036683JqPNHn','2242014isQKIa','2mgwgOf','478050FtBmXy','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','4AUZNcs','info','2907821FtrAAN','9ffPHIN','help\x20................\x20shows\x20this\x20menu','2970eYYpGy','dev','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'];_0x18f4=function(){return _0x3e6d87;};return _0x18f4();}function _0x93ca(_0x9b7a8a,_0x4fc266){const _0x18f4e4=_0x18f4();return _0x93ca=function(_0x93cadb,_0x41b4b9){_0x93cadb=_0x93cadb-0xad;let _0x15a2e=_0x18f4e4[_0x93cadb];return _0x15a2e;},_0x93ca(_0x9b7a8a,_0x4fc266);}async function help(_0x53ff0e,_0x2cb3b8=new Log_1['ConsoleLog']('help')){const _0x113640=_0x5912d9,_0x3e37e3=_0x53ff0e['_'][0x1],_0x3517f4=HELP_MESSAGES[_0x113640(0xbd)](_0x3e37e3)||HELP_MESSAGES['get'](_0x113640(0xba));return _0x2cb3b8[_0x113640(0xc7)](_0x3517f4),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x15afd5=_0x4ba2;(function(_0x4661f4,_0x3a3f3c){const _0x1310ab=_0x4ba2,_0x17cf66=_0x4661f4();while(!![]){try{const _0x5601f8=-parseInt(_0x1310ab(0x145))/0x1+-parseInt(_0x1310ab(0x147))/0x2*(parseInt(_0x1310ab(0x14c))/0x3)+-parseInt(_0x1310ab(0x149))/0x4+-parseInt(_0x1310ab(0x13f))/0x5+-parseInt(_0x1310ab(0x14d))/0x6*(parseInt(_0x1310ab(0x13e))/0x7)+-parseInt(_0x1310ab(0x14f))/0x8*(parseInt(_0x1310ab(0x148))/0x9)+parseInt(_0x1310ab(0x143))/0xa*(parseInt(_0x1310ab(0x151))/0xb);if(_0x5601f8===_0x3a3f3c)break;else _0x17cf66['push'](_0x17cf66['shift']());}catch(_0x4c8876){_0x17cf66['push'](_0x17cf66['shift']());}}}(_0x285a,0x30854));Object[_0x15afd5(0x146)](exports,_0x15afd5(0x141),{'value':!![]}),exports['version']=version;function _0x4ba2(_0x159d9c,_0x2ea15){const _0x285a66=_0x285a();return _0x4ba2=function(_0x4ba28b,_0x12b87f){_0x4ba28b=_0x4ba28b-0x13d;let _0x833700=_0x285a66[_0x4ba28b];return _0x833700;},_0x4ba2(_0x159d9c,_0x2ea15);}const fs=require('fs'),path=require('path'),Log_1=require(_0x15afd5(0x144));function _0x285a(){const _0x3f1ad5=['parse','__esModule','../../../package.json','10rnWagJ','../utils/Log','291439JtXjOT','defineProperty','2sYcWjg','17352XmTXlu','982320NquHtv','ConsoleLog','toString','151521vRMidp','929034WkrvAv','readFile','280OKQMtO','version','13284469MPiguo','info','join','7oAyHXS','995470HiSAjW'];_0x285a=function(){return _0x3f1ad5;};return _0x285a();}async function version(_0x222387=new Log_1[(_0x15afd5(0x14a))](_0x15afd5(0x150))){const _0x558cce=_0x15afd5,_0x4f67e5=path[_0x558cce(0x13d)](__dirname,_0x558cce(0x142)),_0x3b5797=await(await fs['promises'][_0x558cce(0x14e)](_0x4f67e5))[_0x558cce(0x14b)](),_0x366f19=JSON[_0x558cce(0x140)](_0x3b5797);return _0x222387[_0x558cce(0x152)](_0x366f19[_0x558cce(0x150)]),!![];}
1
+ 'use strict';const _0x5c80bb=_0x49fb;function _0x49fb(_0x293eb2,_0x511ca1){const _0x304346=_0x3043();return _0x49fb=function(_0x49fbf1,_0x20b160){_0x49fbf1=_0x49fbf1-0x100;let _0x33c470=_0x304346[_0x49fbf1];return _0x33c470;},_0x49fb(_0x293eb2,_0x511ca1);}function _0x3043(){const _0x4a3f1d=['../utils/Log','848aiClbf','898281FTSwZD','6836510dCoaTM','join','__esModule','9573984awUUCs','420xxrwga','readFile','ConsoleLog','toString','version','43141GoprEH','../../../package.json','7580VNbcly','defineProperty','info','19828180cnZLfB','10405BKOwey','214CTxyvj'];_0x3043=function(){return _0x4a3f1d;};return _0x3043();}(function(_0xdc96a,_0x3a6782){const _0x222b06=_0x49fb,_0x4c3c44=_0xdc96a();while(!![]){try{const _0x718494=-parseInt(_0x222b06(0x112))/0x1*(parseInt(_0x222b06(0x113))/0x2)+parseInt(_0x222b06(0x107))/0x3*(-parseInt(_0x222b06(0x10e))/0x4)+parseInt(_0x222b06(0x103))/0x5+-parseInt(_0x222b06(0x106))/0x6+parseInt(_0x222b06(0x10c))/0x7*(parseInt(_0x222b06(0x101))/0x8)+-parseInt(_0x222b06(0x102))/0x9+parseInt(_0x222b06(0x111))/0xa;if(_0x718494===_0x3a6782)break;else _0x4c3c44['push'](_0x4c3c44['shift']());}catch(_0x2dc1de){_0x4c3c44['push'](_0x4c3c44['shift']());}}}(_0x3043,0xe2e0a));Object[_0x5c80bb(0x10f)](exports,_0x5c80bb(0x105),{'value':!![]}),exports[_0x5c80bb(0x10b)]=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x5c80bb(0x100));async function version(_0x242292=new Log_1[(_0x5c80bb(0x109))](_0x5c80bb(0x10b))){const _0x14c7ce=_0x5c80bb,_0x5e5399=path[_0x14c7ce(0x104)](__dirname,_0x14c7ce(0x10d)),_0x3c219e=await(await fs['promises'][_0x14c7ce(0x108)](_0x5e5399))[_0x14c7ce(0x10a)](),_0x2ce413=JSON['parse'](_0x3c219e);return _0x242292[_0x14c7ce(0x110)](_0x2ce413[_0x14c7ce(0x10b)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x12a90d=_0x1ada;(function(_0x436895,_0x5d63d9){const _0x6059d3=_0x1ada,_0x4b03fd=_0x436895();while(!![]){try{const _0x420c9a=parseInt(_0x6059d3(0x230))/0x1*(-parseInt(_0x6059d3(0x207))/0x2)+parseInt(_0x6059d3(0x21e))/0x3+parseInt(_0x6059d3(0x21a))/0x4+-parseInt(_0x6059d3(0x226))/0x5+parseInt(_0x6059d3(0x21f))/0x6+-parseInt(_0x6059d3(0x22e))/0x7+-parseInt(_0x6059d3(0x21d))/0x8;if(_0x420c9a===_0x5d63d9)break;else _0x4b03fd['push'](_0x4b03fd['shift']());}catch(_0x2a93c5){_0x4b03fd['push'](_0x4b03fd['shift']());}}}(_0x509d,0xa64ce));function _0x509d(){const _0x85c8df=['join','configDeeplink','sftp','automatic','contentSize','protocol_handlers','magnet','5003772akxXyP','display_override','bitcoin','5650024GFffpT','1914882IwFZjr','7677798yXHejO','validateURL','url','split','web+','path','standalone','1521335HzWFjD','defaultSize','mms','webcal','ircs','configStartUrl','includes','safelist','4011322DdWmqS','__esModule','5414bJfLpZ','minimal-ui','irc','urn','length','configId','sip','ssh','defineProperty','news','height','https://','protocol','parseRouter','http://','mainScene','splice','reverse','resizability','scope','tel','matrix','contentMinSize','openpgp4fpr','334WBapFm','host','./static-web','../utils/utils','start_url','sms','ftp','display','indexOf','geo','replace','nntp'];_0x509d=function(){return _0x85c8df;};return _0x509d();}Object[_0x12a90d(0x1f7)](exports,_0x12a90d(0x22f),{'value':!![]}),exports[_0x12a90d(0x22d)]=void 0x0,exports[_0x12a90d(0x1f4)]=configId,exports[_0x12a90d(0x22b)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports[_0x12a90d(0x214)]=configDeeplink;const utils_1=require(_0x12a90d(0x20a)),validate_1=require('./validate'),path_1=require(_0x12a90d(0x224));function configId(_0x2565e8){const _0x37e425=_0x12a90d,_0x3ac6d5=new URL(_0x2565e8['id']);let _0x14a538=_0x3ac6d5[_0x37e425(0x208)][_0x37e425(0x222)]('.')[_0x37e425(0x200)]();_0x2565e8['id']=_0x14a538[_0x37e425(0x213)]('.');}function _0x1ada(_0x437bf4,_0x21fc41){const _0x509d80=_0x509d();return _0x1ada=function(_0x1ada27,_0x234a42){_0x1ada27=_0x1ada27-0x1f0;let _0x464a15=_0x509d80[_0x1ada27];return _0x464a15;},_0x1ada(_0x437bf4,_0x21fc41);}function configStartUrl(_0x5461bd,_0x371097,_0x26133a){const _0x277d91=_0x12a90d,_0xe7a7b1=(0x0,validate_1[_0x277d91(0x220)])(_0x5461bd[_0x277d91(0x20b)]);let _0x1d39e0=_0x5461bd[_0x277d91(0x20b)];_0x26133a?!_0xe7a7b1&&(_0x1d39e0=(0x0,path_1[_0x277d91(0x213)])((0x0,utils_1[_0x277d91(0x1fc)])(_0x371097),_0x5461bd[_0x277d91(0x20b)])):!_0xe7a7b1&&(_0x1d39e0=(0x0,path_1[_0x277d91(0x213)])(_0x277d91(0x209),_0x5461bd['start_url'])),_0x5461bd['start_url']=_0x1d39e0;}function configScope(_0x5e4c4f,_0x1b070b){const _0xc21410=_0x12a90d;let _0x1bb86f='';const _0x13ec0d=(0x0,validate_1['validateURL'])(_0x5e4c4f['scope']);if(_0x1b070b&&_0x13ec0d){const _0x5837b7=new URL(_0x5e4c4f[_0xc21410(0x202)]),_0x219549=new URL(_0x5e4c4f[_0xc21410(0x20b)]);(_0x5837b7[_0xc21410(0x208)]!==_0x219549[_0xc21410(0x208)]||_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x20f)](_0x1bb86f)!==0x0)&&(_0x1bb86f=(0x0,utils_1[_0xc21410(0x1fc)])(_0x5e4c4f[_0xc21410(0x20b)]));}else{if(_0x1b070b&&!_0x13ec0d){const _0x21fdca=_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x20f)]('http://')===0x0?_0xc21410(0x1fd):_0xc21410(0x1fa);_0x1bb86f=(0x0,path_1[_0xc21410(0x213)])(_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x211)](_0x21fdca,''),_0x5e4c4f[_0xc21410(0x202)]),_0x1bb86f=_0x21fdca+_0x1bb86f;}else _0x1bb86f=(0x0,path_1[_0xc21410(0x213)])((0x0,utils_1[_0xc21410(0x1fc)])(_0x5e4c4f[_0xc21410(0x20b)]),_0x5e4c4f[_0xc21410(0x202)]);}_0x5e4c4f[_0xc21410(0x202)]=_0x1bb86f;}function configDisplay(_0x30bba6){const _0x3a90f2=_0x12a90d;let _0x2c8c0e=_0x30bba6[_0x3a90f2(0x20e)];_0x2c8c0e!==_0x3a90f2(0x1f0)&&_0x2c8c0e!==_0x3a90f2(0x225)&&(_0x2c8c0e=_0x3a90f2(0x225));if(_0x30bba6[_0x3a90f2(0x21b)]&&_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x1f3)]>0x0){const _0x1b1670=_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x20f)](_0x3a90f2(0x1f0)),_0x207d5a=_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x20f)]('standalone');if(_0x1b1670>=0x0&&_0x207d5a>=0x0)_0x2c8c0e=_0x207d5a>_0x1b1670?'standalone':_0x3a90f2(0x1f0);else{if(_0x1b1670>=0x0)_0x2c8c0e=_0x3a90f2(0x1f0);else _0x207d5a>=0x0&&(_0x2c8c0e=_0x3a90f2(0x225));}}}function configMainScene(_0x284d32){const _0x18255b=_0x12a90d;var _0x5eb167,_0x123380;const _0x428906=[_0x18255b(0x216),_0x18255b(0x205),_0x18255b(0x217)];let _0x1e5c64={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x18255b(0x216)};_0x284d32[_0x18255b(0x1fe)]&&(_0x1e5c64[_0x18255b(0x227)]['width']=Number((_0x5eb167=_0x284d32['mainScene']['defaultSize'])===null||_0x5eb167===void 0x0?void 0x0:_0x5eb167['width'])>0x0?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x227)]['width']:0x500,_0x1e5c64[_0x18255b(0x227)][_0x18255b(0x1f9)]=Number((_0x123380=_0x284d32[_0x18255b(0x1fe)]['defaultSize'])===null||_0x123380===void 0x0?void 0x0:_0x123380[_0x18255b(0x1f9)])>0x0?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x227)][_0x18255b(0x1f9)]:0x500,_0x1e5c64[_0x18255b(0x201)]=_0x428906[_0x18255b(0x22c)](_0x284d32[_0x18255b(0x1fe)]['resizability'])?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x201)]:'automatic'),_0x284d32[_0x18255b(0x1fe)]=_0x1e5c64;}function configDeeplink(_0x4e7a3e){const _0x14b693=_0x12a90d;if(_0x4e7a3e[_0x14b693(0x218)]&&_0x4e7a3e[_0x14b693(0x218)][_0x14b693(0x1f3)]>0x0)for(var _0x490ab7=0x0;_0x490ab7<_0x4e7a3e['protocol_handlers'][_0x14b693(0x1f3)];_0x490ab7++){const _0x3146bd=_0x4e7a3e[_0x14b693(0x218)][_0x490ab7];if(_0x3146bd[_0x14b693(0x1fb)]&&(exports[_0x14b693(0x22d)][_0x14b693(0x22c)](_0x3146bd[_0x14b693(0x1fb)])||_0x3146bd[_0x14b693(0x1fb)][_0x14b693(0x20f)](_0x14b693(0x223))===0x0)){if(!((0x0,validate_1[_0x14b693(0x220)])(_0x3146bd['url'])&&_0x3146bd[_0x14b693(0x221)][_0x14b693(0x20f)](_0x4e7a3e[_0x14b693(0x202)])<0x0))continue;}_0x4e7a3e[_0x14b693(0x218)][_0x14b693(0x1ff)](_0x490ab7,0x1),_0x490ab7--;}}exports['safelist']=[_0x12a90d(0x21c),_0x12a90d(0x20d),'ftps',_0x12a90d(0x210),'im',_0x12a90d(0x1f1),_0x12a90d(0x22a),_0x12a90d(0x219),'mailto',_0x12a90d(0x204),_0x12a90d(0x228),_0x12a90d(0x1f8),_0x12a90d(0x212),_0x12a90d(0x206),_0x12a90d(0x215),_0x12a90d(0x1f5),_0x12a90d(0x20c),'smsto',_0x12a90d(0x1f6),_0x12a90d(0x203),_0x12a90d(0x1f2),_0x12a90d(0x229),'wtai','xmpp'];
1
+ 'use strict';const _0x18c74e=_0x25da;(function(_0x5a009c,_0x46fb2f){const _0xd77819=_0x25da,_0x40d29f=_0x5a009c();while(!![]){try{const _0x10bc1c=-parseInt(_0xd77819(0x93))/0x1*(parseInt(_0xd77819(0x8f))/0x2)+-parseInt(_0xd77819(0xb4))/0x3+parseInt(_0xd77819(0x99))/0x4+-parseInt(_0xd77819(0xb5))/0x5+-parseInt(_0xd77819(0x85))/0x6*(parseInt(_0xd77819(0x8e))/0x7)+parseInt(_0xd77819(0x8c))/0x8+parseInt(_0xd77819(0x84))/0x9*(parseInt(_0xd77819(0xbf))/0xa);if(_0x10bc1c===_0x46fb2f)break;else _0x40d29f['push'](_0x40d29f['shift']());}catch(_0xba9be4){_0x40d29f['push'](_0x40d29f['shift']());}}}(_0x3ae5,0xba559));function _0x25da(_0x1d468b,_0x510670){const _0x3ae568=_0x3ae5();return _0x25da=function(_0x25daed,_0x38b52d){_0x25daed=_0x25daed-0x84;let _0x6793e7=_0x3ae568[_0x25daed];return _0x6793e7;},_0x25da(_0x1d468b,_0x510670);}Object[_0x18c74e(0xc4)](exports,_0x18c74e(0x8b),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x18c74e(0xb3)]=configId,exports[_0x18c74e(0xb0)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports[_0x18c74e(0xbe)]=configMainScene,exports[_0x18c74e(0x8a)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require(_0x18c74e(0xac));function configId(_0x453ebd){const _0x211227=_0x18c74e,_0x14718f=new URL(_0x453ebd['id']);let _0x4f00b1=_0x14718f[_0x211227(0xb6)][_0x211227(0xb9)]('.')['reverse']();_0x453ebd['id']=_0x4f00b1['join']('.');}function configStartUrl(_0xeb4e5e,_0x27de17,_0x435641){const _0x454261=_0x18c74e,_0x1f2cc8=(0x0,validate_1[_0x454261(0xc3)])(_0xeb4e5e[_0x454261(0xa1)]);let _0x2ac523=_0xeb4e5e[_0x454261(0xa1)];_0x435641?!_0x1f2cc8&&(_0x2ac523=(0x0,path_1['join'])((0x0,utils_1[_0x454261(0xc0)])(_0x27de17),_0xeb4e5e['start_url'])):!_0x1f2cc8&&(_0x2ac523=(0x0,path_1[_0x454261(0xae)])('./static-web',_0xeb4e5e['start_url'])),_0xeb4e5e[_0x454261(0xa1)]=_0x2ac523;}function configScope(_0x557bcd,_0x2e9122){const _0x3cbed1=_0x18c74e;var _0x20ce0b,_0x2447ea,_0x35eb44;let _0x577728='';const _0x543361=(0x0,validate_1[_0x3cbed1(0xc3)])(_0x557bcd[_0x3cbed1(0x8d)]);if(_0x2e9122&&_0x543361){const _0x44b490=new URL((_0x20ce0b=_0x557bcd[_0x3cbed1(0x8d)])!==null&&_0x20ce0b!==void 0x0?_0x20ce0b:''),_0x3b77e1=new URL(_0x557bcd[_0x3cbed1(0xa1)]);(_0x44b490[_0x3cbed1(0xb6)]!==_0x3b77e1[_0x3cbed1(0xb6)]||_0x557bcd['start_url'][_0x3cbed1(0xad)](_0x577728)!==0x0)&&(_0x577728=(0x0,utils_1[_0x3cbed1(0xc0)])(_0x557bcd[_0x3cbed1(0xa1)]));}else{if(_0x2e9122&&!_0x543361){const _0x2ae742=_0x557bcd[_0x3cbed1(0xa1)][_0x3cbed1(0xad)](_0x3cbed1(0xbc))===0x0?_0x3cbed1(0xbc):_0x3cbed1(0x9f);_0x577728=(0x0,path_1[_0x3cbed1(0xae)])(_0x557bcd[_0x3cbed1(0xa1)]['replace'](_0x2ae742,''),(_0x2447ea=_0x557bcd[_0x3cbed1(0x8d)])!==null&&_0x2447ea!==void 0x0?_0x2447ea:''),_0x577728=_0x2ae742+_0x577728;}else _0x577728=(0x0,path_1['join'])((0x0,utils_1[_0x3cbed1(0xc0)])(_0x557bcd['start_url']),(_0x35eb44=_0x557bcd[_0x3cbed1(0x8d)])!==null&&_0x35eb44!==void 0x0?_0x35eb44:'');}_0x557bcd['scope']=_0x577728;}function configDisplay(_0x2595e5){const _0x3c20d8=_0x18c74e;let _0x3ad48c=_0x2595e5['display'];_0x3ad48c!=='minimal-ui'&&_0x3ad48c!==_0x3c20d8(0xaf)&&(_0x3ad48c=_0x3c20d8(0xaf));if(_0x2595e5[_0x3c20d8(0xb2)]&&_0x2595e5[_0x3c20d8(0xb2)][_0x3c20d8(0xbd)]>0x0){const _0xc874ea=_0x2595e5['display_override'][_0x3c20d8(0xad)](_0x3c20d8(0xbb)),_0x4540e4=_0x2595e5[_0x3c20d8(0xb2)][_0x3c20d8(0xad)]('standalone');if(_0xc874ea>=0x0&&_0x4540e4>=0x0)_0x3ad48c=_0x4540e4>_0xc874ea?'standalone':_0x3c20d8(0xbb);else{if(_0xc874ea>=0x0)_0x3ad48c='minimal-ui';else _0x4540e4>=0x0&&(_0x3ad48c=_0x3c20d8(0xaf));}}}function configMainScene(_0x4c506e){const _0x180bac=_0x18c74e;var _0x4017da,_0x49f15a;const _0x40cf9f=[_0x180bac(0x9c),_0x180bac(0xc6),_0x180bac(0xc7)];let _0x802c0a={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x180bac(0x9c)};_0x4c506e[_0x180bac(0x9b)]&&(_0x802c0a[_0x180bac(0x94)][_0x180bac(0xba)]=Number((_0x4017da=_0x4c506e['xr_main_scene']['default_size'])===null||_0x4017da===void 0x0?void 0x0:_0x4017da[_0x180bac(0xba)])>0x0?_0x4c506e[_0x180bac(0x9b)][_0x180bac(0xa5)][_0x180bac(0xba)]:0x500,_0x802c0a[_0x180bac(0x94)]['height']=Number((_0x49f15a=_0x4c506e[_0x180bac(0x9b)][_0x180bac(0xa5)])===null||_0x49f15a===void 0x0?void 0x0:_0x49f15a[_0x180bac(0xb7)])>0x0?_0x4c506e[_0x180bac(0x9b)][_0x180bac(0xa5)][_0x180bac(0xb7)]:0x500,_0x802c0a[_0x180bac(0x9e)]=_0x40cf9f['includes'](_0x4c506e[_0x180bac(0x9b)][_0x180bac(0x9e)])?_0x4c506e[_0x180bac(0x9b)][_0x180bac(0x9e)]:_0x180bac(0x9c)),_0x4c506e[_0x180bac(0x98)]=_0x802c0a;}function configDeeplink(_0x365d9a){const _0x368872=_0x18c74e;if(_0x365d9a[_0x368872(0xb1)]&&_0x365d9a[_0x368872(0xb1)][_0x368872(0xbd)]>0x0)for(var _0x3e9c05=0x0;_0x3e9c05<_0x365d9a[_0x368872(0xb1)][_0x368872(0xbd)];_0x3e9c05++){const _0x36e820=_0x365d9a[_0x368872(0xb1)][_0x3e9c05];if(_0x36e820[_0x368872(0xaa)]&&(exports[_0x368872(0x87)][_0x368872(0x90)](_0x36e820['protocol'])||_0x36e820[_0x368872(0xaa)][_0x368872(0xad)](_0x368872(0xa8))===0x0)){if(!((0x0,validate_1[_0x368872(0xc3)])(_0x36e820[_0x368872(0x88)])&&_0x36e820[_0x368872(0x88)][_0x368872(0xad)](_0x365d9a[_0x368872(0x8d)])<0x0))continue;}_0x365d9a[_0x368872(0xb1)][_0x368872(0xa7)](_0x3e9c05,0x1),_0x3e9c05--;}}exports['safelist']=[_0x18c74e(0xa6),_0x18c74e(0xb8),_0x18c74e(0xa9),'geo','im',_0x18c74e(0x86),_0x18c74e(0xc2),_0x18c74e(0x95),_0x18c74e(0x91),_0x18c74e(0xa3),_0x18c74e(0x96),_0x18c74e(0x92),_0x18c74e(0x97),_0x18c74e(0xa4),_0x18c74e(0x9d),_0x18c74e(0x9a),_0x18c74e(0xa0),_0x18c74e(0x89),_0x18c74e(0xc5),_0x18c74e(0xa2),_0x18c74e(0xc8),_0x18c74e(0xc1),'wtai',_0x18c74e(0xab)];function _0x3ae5(){const _0x4c71fc=['scope','1340542MvbAhk','1008078RzDhlK','includes','mailto','news','2Uyvjhj','defaultSize','magnet','mms','nntp','mainScene','1398924hIBWPi','sip','xr_main_scene','automatic','sftp','resizability','https://','sms','start_url','tel','matrix','openpgp4fpr','default_size','bitcoin','splice','web+','ftps','protocol','xmpp','path','indexOf','join','standalone','configStartUrl','protocol_handlers','display_override','configId','2424777abHJDk','7579955vuuyal','host','height','ftp','split','width','minimal-ui','http://','length','configMainScene','10eVwzCy','parseRouter','webcal','ircs','validateURL','defineProperty','ssh','contentMinSize','contentSize','urn','29617722fISfPv','12bQdoit','irc','safelist','url','smsto','configDeeplink','__esModule','6703808nfMXzj'];_0x3ae5=function(){return _0x4c71fc;};return _0x3ae5();}
@@ -1 +1 @@
1
- 'use strict';function _0x2072(){const _0x5e4cb4=['configStartUrl','182490OWDVDf','./validate','defineProperty','check\x20manifest.json:\x20ok','url','81135NzEDtS','./config','DisplayModes','configDisplay','4BjVYLd','PWAGenerator','cwd','21MtHWFZ','loadJsonFromDisk','loadJsonFromNet','29496uxfdCD','configScope','reset\x20manifest.json:\x20ok','path','3691048AEnoaM','17733639PNDttR','validate','manifest','2494293XsNCwc','manifest-url','join','8596992fuSsss','log','json','standalone','750RsGGxd','checkManifestJson','fromNet','__esModule','config','66RSCgZr'];_0x2072=function(){return _0x5e4cb4;};return _0x2072();}const _0x109a92=_0x3d11;(function(_0x35ef4a,_0x4b22c5){const _0x2b1e0d=_0x3d11,_0x17d718=_0x35ef4a();while(!![]){try{const _0x5c3984=-parseInt(_0x2b1e0d(0x14d))/0x1*(parseInt(_0x2b1e0d(0x161))/0x2)+-parseInt(_0x2b1e0d(0x155))/0x3*(-parseInt(_0x2b1e0d(0x147))/0x4)+-parseInt(_0x2b1e0d(0x163))/0x5+parseInt(_0x2b1e0d(0x158))/0x6+-parseInt(_0x2b1e0d(0x14a))/0x7*(parseInt(_0x2b1e0d(0x151))/0x8)+-parseInt(_0x2b1e0d(0x143))/0x9*(parseInt(_0x2b1e0d(0x15c))/0xa)+parseInt(_0x2b1e0d(0x152))/0xb;if(_0x5c3984===_0x4b22c5)break;else _0x17d718['push'](_0x17d718['shift']());}catch(_0x424492){_0x17d718['push'](_0x17d718['shift']());}}}(_0x2072,0xc4d86));Object[_0x109a92(0x140)](exports,_0x109a92(0x15f),{'value':!![]}),exports[_0x109a92(0x148)]=void 0x0;const path_1=require(_0x109a92(0x150)),config_1=require(_0x109a92(0x144)),load_1=require('../resource/load'),validate_1=require(_0x109a92(0x13f));class PWAGenerator{static async['generator'](_0x17f1c1,_0x5dbbf2=![]){const _0x3de9ec=_0x109a92;let _0x5ee4c0=await this[_0x3de9ec(0x153)](_0x17f1c1,_0x5dbbf2);return console['log'](_0x3de9ec(0x141)),await this[_0x3de9ec(0x160)](_0x5ee4c0,_0x5dbbf2),console[_0x3de9ec(0x159)](_0x3de9ec(0x14f)),_0x5ee4c0;}static async[_0x109a92(0x153)](_0x5176f9,_0x1e53a4=![]){const _0x5e5b70=_0x109a92;let _0x2b14fc={},_0x550232='',_0x1df3a3=![];if(_0x5176f9[_0x5e5b70(0x156)])_0x550232=_0x5176f9['manifest-url'],_0x1df3a3=!![],_0x2b14fc=await(0x0,load_1[_0x5e5b70(0x14c)])(_0x5176f9[_0x5e5b70(0x156)]);else _0x5176f9[_0x5e5b70(0x154)]&&(_0x550232=(0x0,path_1[_0x5e5b70(0x157)])(process[_0x5e5b70(0x149)](),_0x5176f9[_0x5e5b70(0x154)]),_0x2b14fc=await(0x0,load_1[_0x5e5b70(0x14b)])(_0x5176f9[_0x5e5b70(0x154)]));(0x0,validate_1[_0x5e5b70(0x15d)])(_0x2b14fc);var _0x189aa6=(0x0,validate_1['checkStartUrl'])(_0x2b14fc,_0x550232,_0x1df3a3,_0x1e53a4);if(!_0x1e53a4)(0x0,validate_1['checkId'])(_0x2b14fc);return await(0x0,validate_1['checkIcons'])(_0x2b14fc,_0x550232),{'json':_0x2b14fc,'url':_0x550232,'fromNet':_0x189aa6};}static['config'](_0x2a06eb,_0x1d9ae1){const _0x42c487=_0x109a92;(0x0,config_1[_0x42c487(0x162)])(_0x2a06eb[_0x42c487(0x15a)],_0x2a06eb[_0x42c487(0x142)],_0x2a06eb[_0x42c487(0x15e)]);if(!_0x1d9ae1)(0x0,config_1['configId'])(_0x2a06eb['json']);(0x0,config_1[_0x42c487(0x14e)])(_0x2a06eb[_0x42c487(0x15a)],_0x2a06eb[_0x42c487(0x15e)]),(0x0,config_1[_0x42c487(0x146)])(_0x2a06eb[_0x42c487(0x15a)]),(0x0,config_1['configDeeplink'])(_0x2a06eb[_0x42c487(0x15a)]),(0x0,config_1['configMainScene'])(_0x2a06eb[_0x42c487(0x15a)]);}}function _0x3d11(_0xece5eb,_0x50ba99){const _0x20725f=_0x2072();return _0x3d11=function(_0x3d119e,_0x4b8572){_0x3d119e=_0x3d119e-0x13f;let _0x8a7450=_0x20725f[_0x3d119e];return _0x8a7450;},_0x3d11(_0xece5eb,_0x50ba99);}exports[_0x109a92(0x148)]=PWAGenerator,PWAGenerator[_0x109a92(0x145)]=[_0x109a92(0x15b),'minimal-ui'];
1
+ 'use strict';const _0x49fdf5=_0x4f46;(function(_0x1a3f07,_0x3ba8f8){const _0x18d0a5=_0x4f46,_0x125134=_0x1a3f07();while(!![]){try{const _0x280c52=-parseInt(_0x18d0a5(0x1bf))/0x1*(-parseInt(_0x18d0a5(0x1c3))/0x2)+parseInt(_0x18d0a5(0x1d7))/0x3+-parseInt(_0x18d0a5(0x1c7))/0x4*(-parseInt(_0x18d0a5(0x1c4))/0x5)+-parseInt(_0x18d0a5(0x1db))/0x6*(-parseInt(_0x18d0a5(0x1d1))/0x7)+-parseInt(_0x18d0a5(0x1ca))/0x8+-parseInt(_0x18d0a5(0x1c0))/0x9*(-parseInt(_0x18d0a5(0x1cc))/0xa)+-parseInt(_0x18d0a5(0x1d5))/0xb;if(_0x280c52===_0x3ba8f8)break;else _0x125134['push'](_0x125134['shift']());}catch(_0x101d26){_0x125134['push'](_0x125134['shift']());}}}(_0x2d19,0x66e40));function _0x4f46(_0x131cd8,_0x4b9022){const _0x2d197e=_0x2d19();return _0x4f46=function(_0x4f46bb,_0x39bcbc){_0x4f46bb=_0x4f46bb-0x1bb;let _0x2738a1=_0x2d197e[_0x4f46bb];return _0x2738a1;},_0x4f46(_0x131cd8,_0x4b9022);}Object[_0x49fdf5(0x1ce)](exports,'__esModule',{'value':!![]}),exports['PWAGenerator']=void 0x0;const path_1=require(_0x49fdf5(0x1bd)),config_1=require(_0x49fdf5(0x1be)),load_1=require(_0x49fdf5(0x1dc)),validate_1=require(_0x49fdf5(0x1c1));function _0x2d19(){const _0x525d80=['167024vnQDkx','cwd','1510VtuwwP','generator','defineProperty','checkIcons','configId','21vAIoaX','url','standalone','check\x20manifest.json:\x20ok','17185817GVVUWd','minimal-ui','378738KdyOuf','loadJsonFromNet','validate','manifest-url','278754wuWJmq','../resource/load','reset\x20manifest.json:\x20ok','loadJsonFromDisk','log','path','./config','1kUqfmt','48942EVpuSX','./validate','config','836482WKNngl','5DqEWus','configStartUrl','fromNet','1998652aSXAnR','json','manifest'];_0x2d19=function(){return _0x525d80;};return _0x2d19();}class PWAGenerator{static async[_0x49fdf5(0x1cd)](_0x21b921,_0x3a6852=![]){const _0x59572e=_0x49fdf5;let _0x3fb229=await this[_0x59572e(0x1d9)](_0x21b921,_0x3a6852);return console['log'](_0x59572e(0x1d4)),await this[_0x59572e(0x1c2)](_0x3fb229,_0x3a6852),console[_0x59572e(0x1bc)](_0x59572e(0x1dd)),_0x3fb229;}static async['validate'](_0x45befd,_0x5b8af1=![]){const _0x2ded6f=_0x49fdf5;let _0x2e7ebe={},_0x56bb37='',_0x291f14=![];if(_0x45befd['manifest-url'])_0x56bb37=_0x45befd[_0x2ded6f(0x1da)],_0x291f14=!![],_0x2e7ebe=await(0x0,load_1[_0x2ded6f(0x1d8)])(_0x45befd[_0x2ded6f(0x1da)]);else _0x45befd[_0x2ded6f(0x1c9)]&&(_0x56bb37=(0x0,path_1['join'])(process[_0x2ded6f(0x1cb)](),_0x45befd[_0x2ded6f(0x1c9)]),_0x2e7ebe=await(0x0,load_1[_0x2ded6f(0x1bb)])(_0x45befd[_0x2ded6f(0x1c9)]));(0x0,validate_1['checkManifestJson'])(_0x2e7ebe);var _0x4ef961=(0x0,validate_1['checkStartUrl'])(_0x2e7ebe,_0x56bb37,_0x291f14,_0x5b8af1);if(!_0x5b8af1)(0x0,validate_1['checkId'])(_0x2e7ebe);return await(0x0,validate_1[_0x2ded6f(0x1cf)])(_0x2e7ebe,_0x56bb37),{'json':_0x2e7ebe,'url':_0x56bb37,'fromNet':_0x4ef961};}static[_0x49fdf5(0x1c2)](_0x377542,_0x1b765e){const _0x53c530=_0x49fdf5;(0x0,config_1[_0x53c530(0x1c5)])(_0x377542[_0x53c530(0x1c8)],_0x377542[_0x53c530(0x1d2)],_0x377542['fromNet']);if(!_0x1b765e)(0x0,config_1[_0x53c530(0x1d0)])(_0x377542[_0x53c530(0x1c8)]);(0x0,config_1['configScope'])(_0x377542[_0x53c530(0x1c8)],_0x377542[_0x53c530(0x1c6)]),(0x0,config_1['configDisplay'])(_0x377542[_0x53c530(0x1c8)]),(0x0,config_1['configDeeplink'])(_0x377542['json']),(0x0,config_1['configMainScene'])(_0x377542[_0x53c530(0x1c8)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator['DisplayModes']=[_0x49fdf5(0x1d3),_0x49fdf5(0x1d6)];
@@ -1 +1 @@
1
- 'use strict';const _0x1d67cd=_0x218d;(function(_0x489d5d,_0x57d279){const _0x526536=_0x218d,_0x5ca338=_0x489d5d();while(!![]){try{const _0x3a684e=-parseInt(_0x526536(0x1cb))/0x1+parseInt(_0x526536(0x1d5))/0x2+parseInt(_0x526536(0x1d3))/0x3*(-parseInt(_0x526536(0x1cf))/0x4)+parseInt(_0x526536(0x1ad))/0x5+parseInt(_0x526536(0x1af))/0x6*(-parseInt(_0x526536(0x1ac))/0x7)+-parseInt(_0x526536(0x1b2))/0x8*(-parseInt(_0x526536(0x1ab))/0x9)+parseInt(_0x526536(0x1d9))/0xa*(parseInt(_0x526536(0x1d7))/0xb);if(_0x3a684e===_0x57d279)break;else _0x5ca338['push'](_0x5ca338['shift']());}catch(_0xc2405e){_0x5ca338['push'](_0x5ca338['shift']());}}}(_0x21ce,0x1ac52));function _0x218d(_0x4f4869,_0xee3cca){const _0x21ce2f=_0x21ce();return _0x218d=function(_0x218d35,_0x3431a1){_0x218d35=_0x218d35-0x1ab;let _0x4e5b71=_0x21ce2f[_0x218d35];return _0x4e5b71;},_0x218d(_0x4f4869,_0xee3cca);}Object[_0x1d67cd(0x1c4)](exports,_0x1d67cd(0x1d2),{'value':!![]}),exports[_0x1d67cd(0x1b0)]=checkManifestJson,exports[_0x1d67cd(0x1bf)]=checkStartUrl,exports[_0x1d67cd(0x1c9)]=checkIcons,exports[_0x1d67cd(0x1b6)]=checkId,exports[_0x1d67cd(0x1d8)]=validateURL;function _0x21ce(){const _0x1ab38b=['checkIcons','startsWith','37358InDnDs','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','short_name','length','5092KHNXvD','split','parseRouter','__esModule','465GsBZAN','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','87808eBhgKQ','http','961774fhuSMD','validateURL','20xJznOQ','https://','../utils/utils','indexOf','isFullyOpaque','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','184635QFbdrH','826231IawmdH','192170RbVTvm','icons','6DGXDMZ','checkManifestJson','start_url','80HtYbju','DisplayModes','../resource/imageHelper','loadImageFromDisk','checkId','getWidth','join','CustomError','push','purpose','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','name','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','checkStartUrl','Local\x20manifest\x20cannot\x20package\x20network\x20project','host','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','loadImageFromNet','defineProperty','display','http://','sizes','../utils/CustomError'];_0x21ce=function(){return _0x1ab38b;};return _0x21ce();}const path_1=require('path'),_1=require('.'),CustomError_1=require(_0x1d67cd(0x1c8)),utils_1=require(_0x1d67cd(0x1db)),imageHelper_1=require(_0x1d67cd(0x1b4)),load_1=require('../resource/load');function checkManifestJson(_0x3c4a20){const _0x1b2cac=_0x1d67cd;var _0x2f8f5e;const _0x6dcecf=[];!_0x3c4a20[_0x1b2cac(0x1bd)]&&!_0x3c4a20[_0x1b2cac(0x1cd)]&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbbe,'message':_0x1b2cac(0x1de),'message_staring_params':{}});!((_0x2f8f5e=_0x3c4a20[_0x1b2cac(0x1ae)])===null||_0x2f8f5e===void 0x0?void 0x0:_0x2f8f5e[_0x1b2cac(0x1ce)])&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbbf,'message':_0x1b2cac(0x1d4),'message_staring_params':{}});!_0x3c4a20['start_url']&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbc0,'message':_0x1b2cac(0x1bc),'message_staring_params':{}});!_1['PWAGenerator'][_0x1b2cac(0x1b3)]['includes'](_0x3c4a20[_0x1b2cac(0x1c5)])&&_0x6dcecf['push']({'code':0xbc1,'message':_0x1b2cac(0x1c2)+(_0x1b2cac(0x1cc)+_0x3c4a20['display']+')'),'message_staring_params':{'display':_0x3c4a20[_0x1b2cac(0x1c5)]}});if(_0x6dcecf[_0x1b2cac(0x1ce)])throw new CustomError_1[(_0x1b2cac(0x1b9))](_0x6dcecf);}function checkStartUrl(_0x249301,_0x1175cd,_0x211e10,_0x2018ed=![]){const _0x1c005f=_0x1d67cd;var _0x4cc6ef=![];if(_0x2018ed)return _0x4cc6ef=_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1da))===0x0||_0x249301['start_url'][_0x1c005f(0x1dc)]('http://')===0x0,_0x4cc6ef;if(_0x211e10){if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)]('https://')==0x0){const _0x563fb8=new URL(_0x249301[_0x1c005f(0x1b1)]),_0x19f111=new URL(_0x1175cd);if(_0x563fb8[_0x1c005f(0x1c1)]!==_0x19f111['host'])throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1c6))==0x0)throw new CustomError_1[(_0x1c005f(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1da))==0x0||_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1c6))==0x0)throw new CustomError_1[(_0x1c005f(0x1b9))]({'code':0xfa0,'message':_0x1c005f(0x1c0),'message_staring_params':{}});}return _0x4cc6ef;}async function checkIcons(_0x218b6c,_0x392df8){const _0x1cb7c4=_0x1d67cd;var _0x568eda;const _0x40951c=(0x0,utils_1[_0x1cb7c4(0x1d1)])(_0x392df8);let _0x3bc6aa,_0x465fd4,_0x330bfe,_0x48ad73=0x0;for(var _0x14df03=0x0;_0x14df03<_0x218b6c[_0x1cb7c4(0x1ae)]['length'];_0x14df03++){const _0x4a0bcf=_0x218b6c[_0x1cb7c4(0x1ae)][_0x14df03];let _0x33cb3b=((_0x568eda=_0x4a0bcf[_0x1cb7c4(0x1bb)])===null||_0x568eda===void 0x0?void 0x0:_0x568eda[_0x1cb7c4(0x1dc)]('maskable'))>=0x0;if(!_0x33cb3b)continue;let _0x1555f7=![],_0x44eb68=_0x4a0bcf['src'],_0x17499d,_0x3676c6=0x0;!validateURL(_0x44eb68)&&(_0x44eb68=(0x0,path_1[_0x1cb7c4(0x1b8)])(_0x40951c,_0x44eb68));if(_0x4a0bcf[_0x1cb7c4(0x1c7)]){const _0x5bba0e=_0x4a0bcf[_0x1cb7c4(0x1c7)][_0x1cb7c4(0x1d0)]('\x20');_0x5bba0e['forEach'](_0x5595bb=>{const _0x4a5cab=_0x1cb7c4;let _0x427d58=_0x5595bb[_0x4a5cab(0x1d0)]('x');Number(_0x427d58[0x0])>=0x400&&Number(_0x427d58[0x1])>=0x400&&(_0x1555f7=!![],Number(_0x427d58[0x0])>_0x3676c6&&(_0x3676c6=Number(_0x427d58[0x0])));});}else _0x17499d=!_0x44eb68[_0x1cb7c4(0x1ca)](_0x1cb7c4(0x1d6))?await(0x0,load_1['loadImageFromDisk'])(_0x44eb68):await(0x0,load_1[_0x1cb7c4(0x1c3)])(_0x44eb68),_0x17499d[_0x1cb7c4(0x1b7)]()>=0x400&&_0x17499d['getHeight']()>=0x400&&(_0x1555f7=!![],_0x17499d[_0x1cb7c4(0x1b7)]()>_0x3676c6&&(_0x3676c6=_0x17499d[_0x1cb7c4(0x1b7)]()));_0x1555f7&&_0x33cb3b&&(_0x3676c6>_0x48ad73&&(_0x48ad73=_0x3676c6,_0x3bc6aa=_0x17499d,_0x465fd4=_0x44eb68,_0x330bfe=_0x4a0bcf[_0x1cb7c4(0x1bb)]));}if(_0x48ad73===0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1cb7c4(0x1be),'message_staring_params':{}});else _0x465fd4&&(_0x3bc6aa=!_0x465fd4['startsWith']('http')?await(0x0,load_1[_0x1cb7c4(0x1b5)])(_0x465fd4):await(0x0,load_1['loadImageFromNet'])(_0x465fd4));if(_0x3bc6aa&&!imageHelper_1['ImageHelper'][_0x1cb7c4(0x1dd)](_0x3bc6aa))throw new CustomError_1[(_0x1cb7c4(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','message_staring_params':{}});_0x218b6c[_0x1cb7c4(0x1ae)]=[{'src':_0x465fd4,'sizes':_0x48ad73+'x'+_0x48ad73,'purpose':_0x330bfe}];}function checkId(_0xfc4949){const _0x2e1f15=_0x1d67cd;!_0xfc4949['id']&&(_0xfc4949['id']=_0xfc4949[_0x2e1f15(0x1b1)]);if(!validateURL(_0xfc4949['id']))throw new CustomError_1[(_0x2e1f15(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','message_staring_params':{}});}function validateURL(_0x45a3cc){try{return new URL(_0x45a3cc),!![];}catch(_0x5afca5){return![];}}
1
+ 'use strict';const _0x2be26b=_0x1fa4;(function(_0x544f70,_0x25094c){const _0x52ac63=_0x1fa4,_0x25420a=_0x544f70();while(!![]){try{const _0x2ec6b5=-parseInt(_0x52ac63(0x149))/0x1*(-parseInt(_0x52ac63(0x15e))/0x2)+-parseInt(_0x52ac63(0x141))/0x3*(-parseInt(_0x52ac63(0x14f))/0x4)+-parseInt(_0x52ac63(0x12e))/0x5*(parseInt(_0x52ac63(0x144))/0x6)+-parseInt(_0x52ac63(0x14d))/0x7+-parseInt(_0x52ac63(0x151))/0x8*(parseInt(_0x52ac63(0x15a))/0x9)+parseInt(_0x52ac63(0x135))/0xa*(parseInt(_0x52ac63(0x160))/0xb)+-parseInt(_0x52ac63(0x136))/0xc;if(_0x2ec6b5===_0x25094c)break;else _0x25420a['push'](_0x25420a['shift']());}catch(_0x1ed134){_0x25420a['push'](_0x25420a['shift']());}}}(_0x552e,0xbe111));Object[_0x2be26b(0x14a)](exports,_0x2be26b(0x14b),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x2be26b(0x15f)]=checkIcons,exports[_0x2be26b(0x15b)]=checkId,exports[_0x2be26b(0x13d)]=validateURL;const path_1=require('path'),_1=require('.'),CustomError_1=require(_0x2be26b(0x150)),utils_1=require('../utils/utils'),imageHelper_1=require(_0x2be26b(0x13c)),load_1=require(_0x2be26b(0x158));function _0x552e(){const _0x47482b=['3848446vauisp','http://','24mvEiww','../utils/CustomError','8KTKRnR','name','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','loadImageFromDisk','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','join','ImageHelper','../resource/load','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','1179207jYqZGB','checkId','getHeight','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','633506TItDIN','checkIcons','22LeZeQb','CustomError','startsWith','split','https://','icons','indexOf','5IbuLqs','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','start_url','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','getWidth','length','7026370TgNiBz','10260540xkDOTq','maskable','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','parseRouter','isFullyOpaque','src','../resource/imageHelper','validateURL','host','loadImageFromNet','DisplayModes','337644UZHnAQ','http','push','4298772HDLqLe','display','sizes','purpose','includes','3excfVr','defineProperty','__esModule','Local\x20manifest\x20cannot\x20package\x20network\x20project'];_0x552e=function(){return _0x47482b;};return _0x552e();}function _0x1fa4(_0xabe5c3,_0x10278c){const _0x552e13=_0x552e();return _0x1fa4=function(_0x1fa4c0,_0x4fcbf2){_0x1fa4c0=_0x1fa4c0-0x12b;let _0x50b3a0=_0x552e13[_0x1fa4c0];return _0x50b3a0;},_0x1fa4(_0xabe5c3,_0x10278c);}function checkManifestJson(_0x409c9b){const _0x11fd33=_0x2be26b;var _0x3703db;const _0x427c2c=[];!_0x409c9b[_0x11fd33(0x152)]&&!_0x409c9b['short_name']&&_0x427c2c['push']({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x3703db=_0x409c9b[_0x11fd33(0x12c)])===null||_0x3703db===void 0x0?void 0x0:_0x3703db[_0x11fd33(0x134)])&&_0x427c2c['push']({'code':0xbbf,'message':_0x11fd33(0x131),'message_staring_params':{}});!_0x409c9b[_0x11fd33(0x130)]&&_0x427c2c[_0x11fd33(0x143)]({'code':0xbc0,'message':_0x11fd33(0x155),'message_staring_params':{}});!_1['PWAGenerator'][_0x11fd33(0x140)][_0x11fd33(0x148)](_0x409c9b[_0x11fd33(0x145)])&&_0x427c2c['push']({'code':0xbc1,'message':_0x11fd33(0x12f)+(_0x11fd33(0x153)+_0x409c9b['display']+')'),'message_staring_params':{'display':_0x409c9b[_0x11fd33(0x145)]}});if(_0x427c2c[_0x11fd33(0x134)])throw new CustomError_1[(_0x11fd33(0x161))](_0x427c2c);}function checkStartUrl(_0x505577,_0x46c8b5,_0xa45840,_0x3b6a9d=![]){const _0x1b4dd2=_0x2be26b;var _0x2271dc=![];if(_0x3b6a9d)return _0x2271dc=_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)]('https://')===0x0||_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)]('http://')===0x0,_0x2271dc;if(_0xa45840){if(_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)]('https://')==0x0){const _0x39547d=new URL(_0x505577[_0x1b4dd2(0x130)]),_0x4ad6b2=new URL(_0x46c8b5);if(_0x39547d[_0x1b4dd2(0x13e)]!==_0x4ad6b2[_0x1b4dd2(0x13e)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1b4dd2(0x132),'message_staring_params':{}});}else{if(_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)](_0x1b4dd2(0x14e))==0x0)throw new CustomError_1[(_0x1b4dd2(0x161))]({'code':0xfa0,'message':_0x1b4dd2(0x138),'message_staring_params':{}});}}else{if(_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)](_0x1b4dd2(0x12b))==0x0||_0x505577[_0x1b4dd2(0x130)][_0x1b4dd2(0x12d)](_0x1b4dd2(0x14e))==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1b4dd2(0x14c),'message_staring_params':{}});}return _0x2271dc;}async function checkIcons(_0x174843,_0x4e98bd){const _0x47e674=_0x2be26b;var _0x3d5a7a;const _0x501933=(0x0,utils_1[_0x47e674(0x139)])(_0x4e98bd);let _0x20c40d,_0x28d9b3,_0x1d381f,_0x17da5c=0x0;for(var _0x44e861=0x0;_0x44e861<_0x174843['icons']['length'];_0x44e861++){const _0x38cff6=_0x174843['icons'][_0x44e861];let _0x4a54d2=((_0x3d5a7a=_0x38cff6[_0x47e674(0x147)])===null||_0x3d5a7a===void 0x0?void 0x0:_0x3d5a7a[_0x47e674(0x12d)](_0x47e674(0x137)))>=0x0;if(!_0x4a54d2)continue;let _0x4262b4=![],_0xbc4730=_0x38cff6[_0x47e674(0x13b)],_0x1aad30,_0xda8b55=0x0;!validateURL(_0xbc4730)&&(_0xbc4730=(0x0,path_1[_0x47e674(0x156)])(_0x501933,_0xbc4730));if(_0x38cff6[_0x47e674(0x146)]){const _0x96fdf7=_0x38cff6[_0x47e674(0x146)][_0x47e674(0x163)]('\x20');_0x96fdf7['forEach'](_0x1c69db=>{let _0x197397=_0x1c69db['split']('x');Number(_0x197397[0x0])>=0x400&&Number(_0x197397[0x1])>=0x400&&(_0x4262b4=!![],Number(_0x197397[0x0])>_0xda8b55&&(_0xda8b55=Number(_0x197397[0x0])));});}else _0x1aad30=!_0xbc4730[_0x47e674(0x162)](_0x47e674(0x142))?await(0x0,load_1[_0x47e674(0x154)])(_0xbc4730):await(0x0,load_1[_0x47e674(0x13f)])(_0xbc4730),_0x1aad30[_0x47e674(0x133)]()>=0x400&&_0x1aad30[_0x47e674(0x15c)]()>=0x400&&(_0x4262b4=!![],_0x1aad30['getWidth']()>_0xda8b55&&(_0xda8b55=_0x1aad30[_0x47e674(0x133)]()));_0x4262b4&&_0x4a54d2&&(_0xda8b55>_0x17da5c&&(_0x17da5c=_0xda8b55,_0x20c40d=_0x1aad30,_0x28d9b3=_0xbc4730,_0x1d381f=_0x38cff6[_0x47e674(0x147)]));}if(_0x17da5c===0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x47e674(0x159),'message_staring_params':{}});else _0x28d9b3&&(_0x20c40d=!_0x28d9b3[_0x47e674(0x162)]('http')?await(0x0,load_1[_0x47e674(0x154)])(_0x28d9b3):await(0x0,load_1['loadImageFromNet'])(_0x28d9b3));if(_0x20c40d&&!imageHelper_1[_0x47e674(0x157)][_0x47e674(0x13a)](_0x20c40d))throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','message_staring_params':{}});_0x174843[_0x47e674(0x12c)]=[{'src':_0x28d9b3,'sizes':_0x17da5c+'x'+_0x17da5c,'purpose':_0x1d381f}];}function checkId(_0x4367a3){const _0x25172a=_0x2be26b;!_0x4367a3['id']&&(_0x4367a3['id']=_0x4367a3['start_url']);if(!validateURL(_0x4367a3['id']))throw new CustomError_1[(_0x25172a(0x161))]({'code':0xfa0,'message':_0x25172a(0x15d),'message_staring_params':{}});}function validateURL(_0x10157e){try{return new URL(_0x10157e),!![];}catch(_0x5af7e0){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0x2189(_0x5255cd,_0x2c7f3b){const _0x9110fe=_0x9110();return _0x2189=function(_0x21894b,_0x24cfc8){_0x21894b=_0x21894b-0x1d7;let _0x571a65=_0x9110fe[_0x21894b];return _0x571a65;},_0x2189(_0x5255cd,_0x2c7f3b);}const _0x43625c=_0x2189;(function(_0x4ec1a2,_0x5a87bd){const _0x472b41=_0x2189,_0x12937d=_0x4ec1a2();while(!![]){try{const _0x30024e=parseInt(_0x472b41(0x1da))/0x1+parseInt(_0x472b41(0x1d8))/0x2+-parseInt(_0x472b41(0x1e1))/0x3+-parseInt(_0x472b41(0x1db))/0x4*(-parseInt(_0x472b41(0x1e7))/0x5)+-parseInt(_0x472b41(0x1dc))/0x6+parseInt(_0x472b41(0x1dd))/0x7+-parseInt(_0x472b41(0x1e2))/0x8;if(_0x30024e===_0x5a87bd)break;else _0x12937d['push'](_0x12937d['shift']());}catch(_0x3b21eb){_0x12937d['push'](_0x12937d['shift']());}}}(_0x9110,0x354ee));Object[_0x43625c(0x1e4)](exports,_0x43625c(0x1ea),{'value':!![]}),exports[_0x43625c(0x1d7)]=copyDir,exports[_0x43625c(0x1e3)]=clearDir;const fs=require('fs');function _0x9110(){const _0x23531a=['isFile','isDirectory','5tUHUau','readFileSync','forEach','__esModule','writeFileSync','unlinkSync','copyDir','627076VupFNy','statSync','425977gSFOOo','1298884ndohsO','478272csVCiR','1594047qLGCWB','existsSync','mkdirSync','readdirSync','679296lgfPoa','6139704wIotVc','clearDir','defineProperty'];_0x9110=function(){return _0x23531a;};return _0x9110();}function copyDir(_0x2b7b11,_0x3df79f){const _0xda3804=_0x43625c,_0x35d49b=fs[_0xda3804(0x1e0)](_0x2b7b11);_0x35d49b[_0xda3804(0x1e9)](_0xd2f68e=>{const _0x260597=_0xda3804,_0x19a6c3=_0x2b7b11+'/'+_0xd2f68e,_0x5d224c=_0x3df79f+'/'+_0xd2f68e,_0x39fbb8=fs['statSync'](_0x19a6c3);if(_0x39fbb8[_0x260597(0x1e5)]())try{fs[_0x260597(0x1eb)](_0x5d224c,fs[_0x260597(0x1e8)](_0x19a6c3));}catch(_0x1ceea5){console['log'](_0x1ceea5);}else _0x39fbb8['isDirectory']()&&(!fs[_0x260597(0x1de)](_0x5d224c)&&fs[_0x260597(0x1df)](_0x5d224c,{'recursive':!![]}),copyDir(_0x19a6c3,_0x5d224c));});}function clearDir(_0x155060){const _0x374a1e=_0x43625c,_0x12e05e=fs[_0x374a1e(0x1e0)](_0x155060);_0x12e05e[_0x374a1e(0x1e9)](_0x52ab8a=>{const _0x746887=_0x374a1e,_0x1f3d46=_0x155060+'/'+_0x52ab8a,_0x23193a=fs[_0x746887(0x1d9)](_0x1f3d46);if(_0x23193a['isFile']())try{fs[_0x746887(0x1ec)](_0x1f3d46);}catch(_0x50f02d){console['log'](_0x50f02d);}else _0x23193a[_0x746887(0x1e6)]()&&clearDir(_0x1f3d46);});}
1
+ 'use strict';function _0x26e1(){const _0x533c3d=['mkdirSync','copyDir','225meGjuh','clearDir','__esModule','96OrmbRC','183100BZurXt','isFile','readdirSync','forEach','readFileSync','isDirectory','396038WTqbDT','4583117PJBYIx','68844qneIcy','1954485UkSCGY','statSync','log','573579WLQTtQ','writeFileSync','4998384NxWsGL','defineProperty'];_0x26e1=function(){return _0x533c3d;};return _0x26e1();}const _0x1c0723=_0x55fa;(function(_0x657760,_0x2934b3){const _0x1f996d=_0x55fa,_0x581d7d=_0x657760();while(!![]){try{const _0x135b66=-parseInt(_0x1f996d(0xcb))/0x1+parseInt(_0x1f996d(0xc5))/0x2+-parseInt(_0x1f996d(0xce))/0x3+parseInt(_0x1f996d(0xcd))/0x4*(parseInt(_0x1f996d(0xc1))/0x5)+parseInt(_0x1f996d(0xd3))/0x6+parseInt(_0x1f996d(0xcc))/0x7+parseInt(_0x1f996d(0xc4))/0x8*(-parseInt(_0x1f996d(0xd1))/0x9);if(_0x135b66===_0x2934b3)break;else _0x581d7d['push'](_0x581d7d['shift']());}catch(_0x556984){_0x581d7d['push'](_0x581d7d['shift']());}}}(_0x26e1,0x8435f));Object[_0x1c0723(0xd4)](exports,_0x1c0723(0xc3),{'value':!![]}),exports[_0x1c0723(0xd6)]=copyDir,exports[_0x1c0723(0xc2)]=clearDir;function _0x55fa(_0x2dc7d4,_0x5623de){const _0x26e140=_0x26e1();return _0x55fa=function(_0x55fa03,_0x304bd9){_0x55fa03=_0x55fa03-0xc1;let _0x26bbbe=_0x26e140[_0x55fa03];return _0x26bbbe;},_0x55fa(_0x2dc7d4,_0x5623de);}const fs=require('fs');function copyDir(_0x28df3e,_0x3f560b){const _0x457a73=_0x1c0723,_0x48f293=fs[_0x457a73(0xc7)](_0x28df3e);_0x48f293['forEach'](_0x136aec=>{const _0x325022=_0x457a73,_0x1689e9=_0x28df3e+'/'+_0x136aec,_0x31d34e=_0x3f560b+'/'+_0x136aec,_0x14d882=fs[_0x325022(0xcf)](_0x1689e9);if(_0x14d882[_0x325022(0xc6)]())try{fs[_0x325022(0xd2)](_0x31d34e,fs[_0x325022(0xc9)](_0x1689e9));}catch(_0x95f333){console[_0x325022(0xd0)](_0x95f333);}else _0x14d882[_0x325022(0xca)]()&&(!fs['existsSync'](_0x31d34e)&&fs[_0x325022(0xd5)](_0x31d34e,{'recursive':!![]}),copyDir(_0x1689e9,_0x31d34e));});}function clearDir(_0x3b3a38){const _0x3301a0=_0x1c0723,_0x21e78e=fs[_0x3301a0(0xc7)](_0x3b3a38);_0x21e78e[_0x3301a0(0xc8)](_0x5d9122=>{const _0xa8f890=_0x3301a0,_0x271139=_0x3b3a38+'/'+_0x5d9122,_0x1882c1=fs['statSync'](_0x271139);if(_0x1882c1[_0xa8f890(0xc6)]())try{fs['unlinkSync'](_0x271139);}catch(_0xa54166){console[_0xa8f890(0xd0)](_0xa54166);}else _0x1882c1[_0xa8f890(0xca)]()&&clearDir(_0x271139);});}
@@ -1 +1 @@
1
- 'use strict';const _0x3cef09=_0x518a;(function(_0x5469fa,_0x16df73){const _0x1923ec=_0x518a,_0x5d06d4=_0x5469fa();while(!![]){try{const _0x1c50bb=-parseInt(_0x1923ec(0x1e9))/0x1+-parseInt(_0x1923ec(0x1d1))/0x2*(-parseInt(_0x1923ec(0x1de))/0x3)+-parseInt(_0x1923ec(0x1d4))/0x4*(parseInt(_0x1923ec(0x1d9))/0x5)+-parseInt(_0x1923ec(0x1cc))/0x6*(parseInt(_0x1923ec(0x1e7))/0x7)+parseInt(_0x1923ec(0x1d6))/0x8+-parseInt(_0x1923ec(0x1da))/0x9*(parseInt(_0x1923ec(0x1d3))/0xa)+-parseInt(_0x1923ec(0x1e6))/0xb*(-parseInt(_0x1923ec(0x1e1))/0xc);if(_0x1c50bb===_0x16df73)break;else _0x5d06d4['push'](_0x5d06d4['shift']());}catch(_0x11ade1){_0x5d06d4['push'](_0x5d06d4['shift']());}}}(_0x11a5,0x1c9f5));function _0x518a(_0x4a6095,_0x3fd2b){const _0x11a5a3=_0x11a5();return _0x518a=function(_0x518a29,_0x43c8c6){_0x518a29=_0x518a29-0x1cc;let _0xd68fac=_0x11a5a3[_0x518a29];return _0xd68fac;},_0x518a(_0x4a6095,_0x3fd2b);}Object[_0x3cef09(0x1e5)](exports,_0x3cef09(0x1e3),{'value':!![]}),exports[_0x3cef09(0x1d8)]=void 0x0;const Jimp=require(_0x3cef09(0x1d2)),sharp=require(_0x3cef09(0x1e2)),resvg_js_1=require(_0x3cef09(0x1d0));function _0x11a5(){const _0x327949=['svg2img','@resvg/resvg-js','3154SoPoIV','jimp','90DPYSqK','421284QbvtEy','isFullyOpaque','693624TOKLqh','createImg','ImageHelper','5mMhVsR','48429QKqczk','png','webp2PngBuffer','Resvg','201OIZUzk','toFormat','asPng','1044TEFxHi','sharp','__esModule','render','defineProperty','26609IPTUll','258685chHAKI','bitmap','57918dzhCuX','getHeight','12BmcUMY','data','toBuffer'];_0x11a5=function(){return _0x327949;};return _0x11a5();}class ImageHelper{static[_0x3cef09(0x1d7)](_0x5326cb){return new Jimp(_0x5326cb,_0x5326cb,0x0);}static async[_0x3cef09(0x1dc)](_0x351559){const _0x4724a7=_0x3cef09;return await sharp(_0x351559)[_0x4724a7(0x1df)](_0x4724a7(0x1db))[_0x4724a7(0x1ce)]();}static async[_0x3cef09(0x1cf)](_0x32b9aa){const _0x1edf02=_0x3cef09,_0x49a73f={'fitTo':{'mode':'width','value':0x400}},_0x50975a=new resvg_js_1[(_0x1edf02(0x1dd))](_0x32b9aa,_0x49a73f),_0x209ac1=_0x50975a[_0x1edf02(0x1e4)](),_0x67dd74=_0x209ac1[_0x1edf02(0x1e0)]();return _0x67dd74;}static[_0x3cef09(0x1d5)](_0x4ce28a){const _0x5200c9=_0x3cef09,_0x92f828=_0x4ce28a['getWidth']()*_0x4ce28a[_0x5200c9(0x1ea)]();for(var _0x323d7b=0x0;_0x323d7b<_0x92f828;_0x323d7b++){const _0x4c95f9=_0x323d7b*0x4+0x3;if(_0x4ce28a[_0x5200c9(0x1e8)][_0x5200c9(0x1cd)][_0x4c95f9]<0xff)return![];}return!![];}}exports[_0x3cef09(0x1d8)]=ImageHelper;
1
+ 'use strict';const _0x13de9=_0x2ceb;(function(_0x32739a,_0xeb6971){const _0x120663=_0x2ceb,_0x508451=_0x32739a();while(!![]){try{const _0x582810=-parseInt(_0x120663(0xb7))/0x1+parseInt(_0x120663(0xb2))/0x2*(-parseInt(_0x120663(0xad))/0x3)+parseInt(_0x120663(0xb9))/0x4+-parseInt(_0x120663(0xbd))/0x5+parseInt(_0x120663(0xaf))/0x6*(parseInt(_0x120663(0xbb))/0x7)+parseInt(_0x120663(0xab))/0x8+parseInt(_0x120663(0xb5))/0x9;if(_0x582810===_0xeb6971)break;else _0x508451['push'](_0x508451['shift']());}catch(_0x71ea32){_0x508451['push'](_0x508451['shift']());}}}(_0x2e38,0xde510));Object[_0x13de9(0xb6)](exports,_0x13de9(0xbe),{'value':!![]}),exports[_0x13de9(0xba)]=void 0x0;const Jimp=require(_0x13de9(0xc0)),sharp=require(_0x13de9(0xac)),resvg_js_1=require(_0x13de9(0xb8));function _0x2ceb(_0x498a11,_0x14635f){const _0x2e382f=_0x2e38();return _0x2ceb=function(_0x2ceb9e,_0x1eccfe){_0x2ceb9e=_0x2ceb9e-0xa9;let _0x46db59=_0x2e382f[_0x2ceb9e];return _0x46db59;},_0x2ceb(_0x498a11,_0x14635f);}function _0x2e38(){const _0x19114d=['3561248dOXbfV','ImageHelper','1169nuzyee','svg2img','6100885ARftOx','__esModule','toFormat','jimp','isFullyOpaque','png','getHeight','11966232HYCXGY','sharp','3IRMPLL','width','13602xTvzeG','toBuffer','Resvg','3341942MnDQUj','createImg','data','24255549aFvZUp','defineProperty','1657985dzyFCq','@resvg/resvg-js'];_0x2e38=function(){return _0x19114d;};return _0x2e38();}class ImageHelper{static[_0x13de9(0xb3)](_0x244768){return new Jimp(_0x244768,_0x244768,0x0);}static async['webp2PngBuffer'](_0xed7dcd){const _0x3200fe=_0x13de9;return await sharp(_0xed7dcd)[_0x3200fe(0xbf)](_0x3200fe(0xa9))[_0x3200fe(0xb0)]();}static async[_0x13de9(0xbc)](_0x4a5476){const _0x2a39af=_0x13de9,_0x42173b={'fitTo':{'mode':_0x2a39af(0xae),'value':0x400}},_0x14cee1=new resvg_js_1[(_0x2a39af(0xb1))](_0x4a5476,_0x42173b),_0x3d4f83=_0x14cee1['render'](),_0x52c82f=_0x3d4f83['asPng']();return _0x52c82f;}static[_0x13de9(0xc1)](_0x385f6b){const _0x5beedb=_0x13de9,_0x469cab=_0x385f6b['getWidth']()*_0x385f6b[_0x5beedb(0xaa)]();for(var _0x390dd3=0x0;_0x390dd3<_0x469cab;_0x390dd3++){const _0x382231=_0x390dd3*0x4+0x3;if(_0x385f6b['bitmap'][_0x5beedb(0xb4)][_0x382231]<0xff)return![];}return!![];}}exports[_0x13de9(0xba)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';function _0x4608(){const _0xf367e7=['existsSync','8443780QFWrHu','./load','ResourceManager','log','380946APlWKq','mkdirSync','996602bSLRkE','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','moveProjectFrom','json','copyDir','path','PROJECT_BUILD_DIRECTORY','158456wOFLpp','PROJECT_DIRECTORY','./export','101815nbOfID','loadImageFromNet','./build','join','resize','../../../template/visionOSApp','50476XncVNR','ASSET_DIRECTORY','web-spatial/static-web','90lyTDWV','138TzeoWr','defineProperty','63BzeVMN','WEB_PROJECT_DIRECTORY','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','BACK_APPICON_DIRECTORY','3205293HRjkci','src','loadImageFromDisk','http','MIDDLE_APPICON_DIRECTORY','clearDir','PROJECT_EXPORT_DIRECTORY'];_0x4608=function(){return _0xf367e7;};return _0x4608();}const _0x31dd39=_0x5423;(function(_0x5603ca,_0x8b932e){const _0x303d13=_0x5423,_0x800681=_0x5603ca();while(!![]){try{const _0x46d8a7=parseInt(_0x303d13(0x179))/0x1+parseInt(_0x303d13(0x17b))/0x2+parseInt(_0x303d13(0x166))/0x3*(parseInt(_0x303d13(0x163))/0x4)+parseInt(_0x303d13(0x185))/0x5*(-parseInt(_0x303d13(0x167))/0x6)+parseInt(_0x303d13(0x16d))/0x7+-parseInt(_0x303d13(0x182))/0x8*(parseInt(_0x303d13(0x169))/0x9)+-parseInt(_0x303d13(0x175))/0xa;if(_0x46d8a7===_0x8b932e)break;else _0x800681['push'](_0x800681['shift']());}catch(_0x283b02){_0x800681['push'](_0x800681['shift']());}}}(_0x4608,0x40894));function _0x5423(_0x287d58,_0x134447){const _0x46084b=_0x4608();return _0x5423=function(_0x542305,_0x6884ea){_0x542305=_0x542305-0x15f;let _0x544285=_0x46084b[_0x542305];return _0x544285;},_0x5423(_0x287d58,_0x134447);}Object[_0x31dd39(0x168)](exports,'__esModule',{'value':!![]}),exports['ResourceManager']=exports[_0x31dd39(0x171)]=exports[_0x31dd39(0x16c)]=exports[_0x31dd39(0x164)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x31dd39(0x173)]=exports['PROJECT_BUILD_DIRECTORY']=exports[_0x31dd39(0x183)]=void 0x0;const fs=require('fs'),path_1=require(_0x31dd39(0x180)),file_1=require('./file'),load_1=require(_0x31dd39(0x176));exports[_0x31dd39(0x183)]=(0x0,path_1[_0x31dd39(0x160)])(__dirname,_0x31dd39(0x162)),exports[_0x31dd39(0x181)]=(0x0,path_1[_0x31dd39(0x160)])(exports[_0x31dd39(0x183)],_0x31dd39(0x15f)),exports[_0x31dd39(0x173)]=(0x0,path_1[_0x31dd39(0x160)])(exports[_0x31dd39(0x183)],_0x31dd39(0x184)),exports[_0x31dd39(0x16a)]=_0x31dd39(0x165),exports[_0x31dd39(0x164)]='web-spatial/Assets.xcassets',exports[_0x31dd39(0x16c)]=exports[_0x31dd39(0x164)]+_0x31dd39(0x16b),exports[_0x31dd39(0x171)]=exports[_0x31dd39(0x164)]+_0x31dd39(0x17c);class ResourceManager{static async[_0x31dd39(0x17d)](_0x462af4){const _0x4d4d2c=_0x31dd39,_0x2092c8=(0x0,path_1[_0x4d4d2c(0x160)])(process['cwd'](),_0x462af4),_0x3bc844=(0x0,path_1[_0x4d4d2c(0x160)])(exports[_0x4d4d2c(0x183)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x4d4d2c(0x174)](_0x3bc844)?fs[_0x4d4d2c(0x17a)](_0x3bc844,{'recursive':!![]}):(0x0,file_1[_0x4d4d2c(0x172)])(_0x3bc844);try{(0x0,file_1[_0x4d4d2c(0x17f)])(_0x2092c8,_0x3bc844);}catch(_0x3b7cbe){console[_0x4d4d2c(0x178)](_0x3b7cbe);}}static async['generateIcon'](_0xfd1d60){const _0x45a80c=_0x31dd39,_0x4283f2=_0xfd1d60[_0x45a80c(0x17e)],_0x1d8a7b=_0x4283f2['icons'][0x0][_0x45a80c(0x16e)],_0x4f75d2=!_0x1d8a7b['startsWith'](_0x45a80c(0x170))?await(0x0,load_1[_0x45a80c(0x16f)])(_0x1d8a7b):await(0x0,load_1[_0x45a80c(0x186)])(_0x1d8a7b);return _0x4f75d2[_0x45a80c(0x161)](0x400,0x400),_0x4f75d2;}}exports[_0x31dd39(0x177)]=ResourceManager;
1
+ 'use strict';const _0x5b6efb=_0x51bd;function _0x51bd(_0x2c29b9,_0x22380c){const _0x4edca4=_0x4edc();return _0x51bd=function(_0x51bd04,_0x161dde){_0x51bd04=_0x51bd04-0x125;let _0x3810d0=_0x4edca4[_0x51bd04];return _0x3810d0;},_0x51bd(_0x2c29b9,_0x22380c);}(function(_0x1056f8,_0x39208c){const _0x2d427c=_0x51bd,_0x11f548=_0x1056f8();while(!![]){try{const _0x5b3415=-parseInt(_0x2d427c(0x14b))/0x1+parseInt(_0x2d427c(0x142))/0x2+-parseInt(_0x2d427c(0x141))/0x3*(-parseInt(_0x2d427c(0x13b))/0x4)+-parseInt(_0x2d427c(0x139))/0x5*(-parseInt(_0x2d427c(0x13d))/0x6)+parseInt(_0x2d427c(0x145))/0x7*(parseInt(_0x2d427c(0x149))/0x8)+-parseInt(_0x2d427c(0x13a))/0x9*(parseInt(_0x2d427c(0x126))/0xa)+-parseInt(_0x2d427c(0x14a))/0xb*(-parseInt(_0x2d427c(0x125))/0xc);if(_0x5b3415===_0x39208c)break;else _0x11f548['push'](_0x11f548['shift']());}catch(_0x249e5e){_0x11f548['push'](_0x11f548['shift']());}}}(_0x4edc,0x632fc));Object[_0x5b6efb(0x12e)](exports,_0x5b6efb(0x12b),{'value':!![]}),exports[_0x5b6efb(0x13c)]=exports[_0x5b6efb(0x143)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x5b6efb(0x129)]=exports[_0x5b6efb(0x12f)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x5b6efb(0x14d)]=exports[_0x5b6efb(0x146)]=void 0x0;const fs=require('fs'),path_1=require(_0x5b6efb(0x13e)),file_1=require(_0x5b6efb(0x12c)),load_1=require(_0x5b6efb(0x147));function _0x4edc(){const _0x4dd29c=['PROJECT_BUILD_DIRECTORY','loadImageFromDisk','48jIbHbQ','2708260UYCkbk','icons','./build','ASSET_DIRECTORY','moveProjectFrom','__esModule','./file','BACK_APPICON_DIRECTORY','defineProperty','WEB_PROJECT_DIRECTORY','./export','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','PROJECT_EXPORT_DIRECTORY','mkdirSync','resize','web-spatial/static-web','join','log','http','370lnXZCk','27uUphQS','1160KnBeSZ','ResourceManager','1878sNEZmj','path','src','cwd','7152ZdKaRC','485632XDhYIL','MIDDLE_APPICON_DIRECTORY','startsWith','364KSSEWT','PROJECT_DIRECTORY','./load','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','17376HXqnpk','1170235ikMlIF','277076NUhmox','clearDir'];_0x4edc=function(){return _0x4dd29c;};return _0x4edc();}exports['PROJECT_DIRECTORY']=(0x0,path_1[_0x5b6efb(0x136)])(__dirname,'../../../template/visionOSApp'),exports[_0x5b6efb(0x14d)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x5b6efb(0x128)),exports[_0x5b6efb(0x132)]=(0x0,path_1[_0x5b6efb(0x136)])(exports[_0x5b6efb(0x146)],_0x5b6efb(0x130)),exports[_0x5b6efb(0x12f)]=_0x5b6efb(0x135),exports['ASSET_DIRECTORY']='web-spatial/Assets.xcassets',exports[_0x5b6efb(0x12d)]=exports['ASSET_DIRECTORY']+_0x5b6efb(0x148),exports[_0x5b6efb(0x143)]=exports[_0x5b6efb(0x129)]+_0x5b6efb(0x131);class ResourceManager{static async[_0x5b6efb(0x12a)](_0x13bb00){const _0xa0b3b6=_0x5b6efb,_0x5be94a=(0x0,path_1[_0xa0b3b6(0x136)])(process[_0xa0b3b6(0x140)](),_0x13bb00),_0x33dea9=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],exports[_0xa0b3b6(0x12f)]);!fs['existsSync'](_0x33dea9)?fs[_0xa0b3b6(0x133)](_0x33dea9,{'recursive':!![]}):(0x0,file_1[_0xa0b3b6(0x14c)])(_0x33dea9);try{(0x0,file_1['copyDir'])(_0x5be94a,_0x33dea9);}catch(_0x5d4cb2){console[_0xa0b3b6(0x137)](_0x5d4cb2);}}static async['generateIcon'](_0x39255d){const _0x5322d2=_0x5b6efb,_0x58672f=_0x39255d['json'],_0x564e35=_0x58672f[_0x5322d2(0x127)][0x0][_0x5322d2(0x13f)],_0x477dfd=!_0x564e35[_0x5322d2(0x144)](_0x5322d2(0x138))?await(0x0,load_1[_0x5322d2(0x14e)])(_0x564e35):await(0x0,load_1['loadImageFromNet'])(_0x564e35);return _0x477dfd[_0x5322d2(0x134)](0x400,0x400),_0x477dfd;}}exports['ResourceManager']=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x58363f=_0x278b;(function(_0x38ebb0,_0x552135){const _0x2913e8=_0x278b,_0x84ad3a=_0x38ebb0();while(!![]){try{const _0x16b540=-parseInt(_0x2913e8(0xa9))/0x1*(parseInt(_0x2913e8(0xc9))/0x2)+-parseInt(_0x2913e8(0xc2))/0x3+parseInt(_0x2913e8(0xa0))/0x4*(parseInt(_0x2913e8(0x9b))/0x5)+parseInt(_0x2913e8(0xa1))/0x6*(-parseInt(_0x2913e8(0xaa))/0x7)+parseInt(_0x2913e8(0xc1))/0x8*(parseInt(_0x2913e8(0xb0))/0x9)+-parseInt(_0x2913e8(0xa3))/0xa*(-parseInt(_0x2913e8(0xb2))/0xb)+parseInt(_0x2913e8(0xbc))/0xc;if(_0x16b540===_0x552135)break;else _0x84ad3a['push'](_0x84ad3a['shift']());}catch(_0x16373e){_0x84ad3a['push'](_0x84ad3a['shift']());}}}(_0x5223,0x4d4b8));Object[_0x58363f(0xb7)](exports,_0x58363f(0xa4),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x58363f(0x99)]=loadJsonFromDisk,exports[_0x58363f(0xb1)]=loadImageFromNet,exports[_0x58363f(0xa7)]=loadImageFromDisk,exports[_0x58363f(0xa2)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x58363f(0xc5)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x58363f(0xba)),imageHelper_1=require(_0x58363f(0x9f));async function loadJsonFromNet(_0x5646e0){const _0x3d222c=_0x58363f,_0x392f81=await FetchUtils_1_1['fetchUtils'][_0x3d222c(0x9e)](_0x5646e0,{'encoding':'binary'});if(_0x392f81[_0x3d222c(0xb5)]!==0xc8)throw new CustomError_1[(_0x3d222c(0xc4))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x5646e0+'.'+('The\x20response\x20status\x20is\x20'+_0x392f81['status']+_0x3d222c(0xa8)),'message_staring_params':{'web_manifest_url':_0x5646e0,'status':_0x392f81[_0x3d222c(0xb5)]}});try{let _0x562f1b;return _0x392f81[_0x3d222c(0xbf)]?_0x562f1b=await _0x392f81[_0x3d222c(0xbf)]():[_0x3d222c(0xab),'deflate','br'][_0x3d222c(0xc7)](_0x392f81['headers'][_0x3d222c(0x9d)])?_0x562f1b=FetchUtils_1_1[_0x3d222c(0xbd)]['decompressResponseBuffer'](Buffer[_0x3d222c(0xaf)](_0x392f81[_0x3d222c(0xbb)],'binary'),_0x392f81[_0x3d222c(0xca)]['content-encoding'])[_0x3d222c(0xc8)]():_0x562f1b=Buffer[_0x3d222c(0xaf)](_0x392f81[_0x3d222c(0xbb)],_0x3d222c(0xbe))[_0x3d222c(0xc8)](),JSON[_0x3d222c(0xad)](_0x562f1b[_0x3d222c(0x9a)]());}catch(_0x3b4a09){throw new CustomError_1['CustomError']({'code':0xbbd,'message':'Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','message_staring_params':{}});}}function _0x278b(_0x2bf4fe,_0x296c36){const _0x52233d=_0x5223();return _0x278b=function(_0x278be3,_0x2a067d){_0x278be3=_0x278be3-0x99;let _0x285771=_0x52233d[_0x278be3];return _0x285771;},_0x278b(_0x2bf4fe,_0x296c36);}async function loadJsonFromDisk(_0x3e3338){const _0x5b26d8=_0x58363f,_0x1eaa2d=await loadFileString(_0x3e3338[_0x5b26d8(0xc8)]());return JSON[_0x5b26d8(0xad)](_0x1eaa2d);}async function loadImageFromNet(_0x11f1dd){const _0x12fc21=_0x58363f,_0x158166=await FetchUtils_1_1[_0x12fc21(0xbd)][_0x12fc21(0x9e)](_0x11f1dd,{'encoding':'binary'});if(_0x158166['status']!==0xc8)throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x158166[_0x12fc21(0xb5)],'message_staring_params':{'icon_url':_0x11f1dd,'status':_0x158166[_0x12fc21(0xb5)]}});const _0x57bb19=_0x158166[_0x12fc21(0xca)]['get']?_0x158166[_0x12fc21(0xca)][_0x12fc21(0xb4)](_0x12fc21(0xc0)):_0x158166[_0x12fc21(0xca)][_0x12fc21(0xc0)];if(!(_0x57bb19===null||_0x57bb19===void 0x0?void 0x0:_0x57bb19[_0x12fc21(0xb6)]('image/')))throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d3,'message':_0x12fc21(0xac)+(_0x12fc21(0x9c)+_0x57bb19+'\x22'),'message_staring_params':{'icon_url':_0x11f1dd,'contentType':_0x57bb19}});let _0x59c403;_0x158166[_0x12fc21(0xa5)]?_0x59c403=await _0x158166[_0x12fc21(0xa5)]():[_0x12fc21(0xab),_0x12fc21(0xb3),'br']['includes'](_0x158166[_0x12fc21(0xca)][_0x12fc21(0x9d)])?_0x59c403=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer['from'](_0x158166[_0x12fc21(0xbb)],_0x12fc21(0xbe)),_0x158166[_0x12fc21(0xca)][_0x12fc21(0x9d)]):_0x59c403=Buffer[_0x12fc21(0xaf)](_0x158166[_0x12fc21(0xbb)],_0x12fc21(0xbe));if(_0x57bb19[_0x12fc21(0xb6)]('image/svg')){const _0x4afe52=new TextDecoder();try{_0x59c403=await imageHelper_1['ImageHelper']['svg2img'](_0x4afe52[_0x12fc21(0xc3)](_0x59c403));}catch(_0x4ded98){throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d4,'message':_0x12fc21(0xb9)+_0x11f1dd+':\x20'+_0x4ded98,'message_staring_params':{'icon_url':_0x11f1dd,'error':_0x4ded98}});}}return _0x57bb19[_0x12fc21(0xb6)]('image/webp')&&(_0x59c403=await imageHelper_1[_0x12fc21(0xcb)][_0x12fc21(0xa6)](_0x59c403)),await Jimp[_0x12fc21(0xae)](Buffer[_0x12fc21(0xaf)](_0x59c403));}function _0x5223(){const _0xe0e59a=['1604406KKmyyD','loadFileString','162290XFhJEr','__esModule','arrayBuffer','webp2PngBuffer','loadImageFromDisk',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','3gvcFXJ','7rtDqnk','gzip','Received\x20icon\x20with\x20invalid\x20Content-Type.','parse','read','from','74889vvZOQh','loadImageFromNet','352bgGyZV','deflate','get','status','startsWith','defineProperty','promises','Problem\x20reading\x20','jimp','data','5586108hSUkmF','fetchUtils','binary','text','content-type','104PBLUhF','897681YmqFDI','decode','CustomError','../utils/FetchUtils-1','readFile','includes','toString','318170qVnVfa','headers','ImageHelper','loadJsonFromDisk','trim','36145HiQKxw','\x20Responded\x20with\x20Content-Type\x20\x22','content-encoding','fetch','./imageHelper','148vCBiBF'];_0x5223=function(){return _0xe0e59a;};return _0x5223();}async function loadImageFromDisk(_0x556ff2){const _0x1ec815=_0x58363f;return await Jimp[_0x1ec815(0xae)](_0x556ff2);}async function loadFileString(_0x5e3a59){const _0x2b8741=_0x58363f;let _0x270e08=await fs[_0x2b8741(0xb8)][_0x2b8741(0xc6)](_0x5e3a59[_0x2b8741(0xc8)]());return _0x270e08[_0x2b8741(0xc8)]();}
1
+ 'use strict';const _0x388d3f=_0xfdb9;(function(_0x563cb2,_0x532542){const _0x4d018c=_0xfdb9,_0x2900e5=_0x563cb2();while(!![]){try{const _0x50656b=-parseInt(_0x4d018c(0x1ca))/0x1*(parseInt(_0x4d018c(0x1b7))/0x2)+parseInt(_0x4d018c(0x1c4))/0x3+parseInt(_0x4d018c(0x1cb))/0x4*(parseInt(_0x4d018c(0x1ab))/0x5)+parseInt(_0x4d018c(0x1b5))/0x6+-parseInt(_0x4d018c(0x1aa))/0x7*(parseInt(_0x4d018c(0x1b4))/0x8)+-parseInt(_0x4d018c(0x1bd))/0x9*(parseInt(_0x4d018c(0x1c9))/0xa)+parseInt(_0x4d018c(0x1d0))/0xb;if(_0x50656b===_0x532542)break;else _0x2900e5['push'](_0x2900e5['shift']());}catch(_0x56dd9d){_0x2900e5['push'](_0x2900e5['shift']());}}}(_0x40a7,0x6da88));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x388d3f(0x1c2)]=loadJsonFromNet,exports[_0x388d3f(0x1cf)]=loadJsonFromDisk,exports[_0x388d3f(0x1b9)]=loadImageFromNet,exports[_0x388d3f(0x1ad)]=loadImageFromDisk,exports[_0x388d3f(0x1d9)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x388d3f(0x1d5)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x388d3f(0x1d3)),imageHelper_1=require(_0x388d3f(0x1af));async function loadJsonFromNet(_0x590032){const _0x13a24d=_0x388d3f,_0x3553da=await FetchUtils_1_1[_0x13a24d(0x1c1)][_0x13a24d(0x1db)](_0x590032,{'encoding':_0x13a24d(0x1c6)});if(_0x3553da[_0x13a24d(0x1bc)]!==0xc8)throw new CustomError_1[(_0x13a24d(0x1ce))]({'code':0xbbc,'message':_0x13a24d(0x1cd)+_0x590032+'.'+(_0x13a24d(0x1b6)+_0x3553da['status']+_0x13a24d(0x1bf)),'message_staring_params':{'web_manifest_url':_0x590032,'status':_0x3553da[_0x13a24d(0x1bc)]}});try{let _0x3361e1;return _0x3553da['text']?_0x3361e1=await _0x3553da['text']():['gzip',_0x13a24d(0x1d7),'br'][_0x13a24d(0x1da)](_0x3553da['headers'][_0x13a24d(0x1dc)])?_0x3361e1=FetchUtils_1_1[_0x13a24d(0x1c1)][_0x13a24d(0x1c7)](Buffer[_0x13a24d(0x1cc)](_0x3553da[_0x13a24d(0x1b2)],_0x13a24d(0x1c6)),_0x3553da[_0x13a24d(0x1d1)][_0x13a24d(0x1dc)])[_0x13a24d(0x1b8)]():_0x3361e1=Buffer[_0x13a24d(0x1cc)](_0x3553da[_0x13a24d(0x1b2)],_0x13a24d(0x1c6))[_0x13a24d(0x1b8)](),JSON['parse'](_0x3361e1[_0x13a24d(0x1c3)]());}catch(_0x5e3cab){throw new CustomError_1[(_0x13a24d(0x1ce))]({'code':0xbbd,'message':_0x13a24d(0x1c8),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x1355a4){const _0x57c5d5=_0x388d3f,_0x3dd2cb=await loadFileString(_0x1355a4['toString']());return JSON[_0x57c5d5(0x1bb)](_0x3dd2cb);}function _0x40a7(){const _0x478e72=['CustomError','loadJsonFromDisk','9563323LVViJz','headers','promises','jimp','Received\x20icon\x20with\x20invalid\x20Content-Type.','../utils/FetchUtils-1','\x20Responded\x20with\x20Content-Type\x20\x22','deflate','decode','loadFileString','includes','fetch','content-encoding','image/svg','312277PBuOfu','2971665lYPfEK','get','loadImageFromDisk','gzip','./imageHelper','webp2PngBuffer','content-type','data','read','104ofjYGZ','2522154FinFmA','The\x20response\x20status\x20is\x20','667718UmJzHc','toString','loadImageFromNet','readFile','parse','status','5598XAGXCc','ImageHelper',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','fetchUtils','loadJsonFromNet','trim','259713HnLece','Problem\x20reading\x20','binary','decompressResponseBuffer','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','9770ruzxLz','1wlRJSF','4vVrjLA','from','Failed\x20to\x20download\x20Web\x20Manifest\x20'];_0x40a7=function(){return _0x478e72;};return _0x40a7();}async function loadImageFromNet(_0xc14e21){const _0x160dd3=_0x388d3f,_0x2feeab=await FetchUtils_1_1[_0x160dd3(0x1c1)][_0x160dd3(0x1db)](_0xc14e21,{'encoding':_0x160dd3(0x1c6)});if(_0x2feeab[_0x160dd3(0x1bc)]!==0xc8)throw new CustomError_1['CustomError']({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x2feeab[_0x160dd3(0x1bc)],'message_staring_params':{'icon_url':_0xc14e21,'status':_0x2feeab[_0x160dd3(0x1bc)]}});const _0x389f04=_0x2feeab['headers']['get']?_0x2feeab['headers'][_0x160dd3(0x1ac)](_0x160dd3(0x1b1)):_0x2feeab[_0x160dd3(0x1d1)][_0x160dd3(0x1b1)];if(!(_0x389f04===null||_0x389f04===void 0x0?void 0x0:_0x389f04[_0x160dd3(0x1c0)]('image/')))throw new CustomError_1[(_0x160dd3(0x1ce))]({'code':0x7d3,'message':_0x160dd3(0x1d4)+(_0x160dd3(0x1d6)+_0x389f04+'\x22'),'message_staring_params':{'icon_url':_0xc14e21,'contentType':_0x389f04}});let _0x1769e4;_0x2feeab['arrayBuffer']?_0x1769e4=await _0x2feeab['arrayBuffer']():[_0x160dd3(0x1ae),'deflate','br'][_0x160dd3(0x1da)](_0x2feeab[_0x160dd3(0x1d1)][_0x160dd3(0x1dc)])?_0x1769e4=FetchUtils_1_1[_0x160dd3(0x1c1)]['decompressResponseBuffer'](Buffer[_0x160dd3(0x1cc)](_0x2feeab[_0x160dd3(0x1b2)],_0x160dd3(0x1c6)),_0x2feeab[_0x160dd3(0x1d1)][_0x160dd3(0x1dc)]):_0x1769e4=Buffer[_0x160dd3(0x1cc)](_0x2feeab['data'],_0x160dd3(0x1c6));if(_0x389f04[_0x160dd3(0x1c0)](_0x160dd3(0x1dd))){const _0x46c646=new TextDecoder();try{_0x1769e4=await imageHelper_1[_0x160dd3(0x1be)]['svg2img'](_0x46c646[_0x160dd3(0x1d8)](_0x1769e4));}catch(_0xe2877){throw new CustomError_1[(_0x160dd3(0x1ce))]({'code':0x7d4,'message':_0x160dd3(0x1c5)+_0xc14e21+':\x20'+_0xe2877,'message_staring_params':{'icon_url':_0xc14e21,'error':_0xe2877}});}}return _0x389f04[_0x160dd3(0x1c0)]('image/webp')&&(_0x1769e4=await imageHelper_1[_0x160dd3(0x1be)][_0x160dd3(0x1b0)](_0x1769e4)),await Jimp['read'](Buffer[_0x160dd3(0x1cc)](_0x1769e4));}async function loadImageFromDisk(_0x4b315c){const _0xaca4fb=_0x388d3f;return await Jimp[_0xaca4fb(0x1b3)](_0x4b315c);}function _0xfdb9(_0x2a162e,_0x1fd85b){const _0x40a74a=_0x40a7();return _0xfdb9=function(_0xfdb954,_0x48f386){_0xfdb954=_0xfdb954-0x1aa;let _0x12c286=_0x40a74a[_0xfdb954];return _0x12c286;},_0xfdb9(_0x2a162e,_0x1fd85b);}async function loadFileString(_0x8d9c84){const _0x233f73=_0x388d3f;let _0x324c37=await fs[_0x233f73(0x1d2)][_0x233f73(0x1ba)](_0x8d9c84['toString']());return _0x324c37[_0x233f73(0x1b8)]();}
@@ -1 +1 @@
1
- 'use strict';function _0x229f(_0x5e2518,_0x4f606d){var _0x457dc3=_0x457d();return _0x229f=function(_0x229fc8,_0x1eec33){_0x229fc8=_0x229fc8-0x1aa;var _0x15acb4=_0x457dc3[_0x229fc8];return _0x15acb4;},_0x229f(_0x5e2518,_0x4f606d);}var _0x13d50e=_0x229f;function _0x457d(){var _0x38766a=['CustomError','205296yGRvGZ','type','304YkqSvF','__esModule','2670440GNYoyR','900816yEFmev','8346ghtCBr','info','177795tSMHsL','stringify','defineProperty','441ErsoZO','3695700GwcmKe','6CReELA','699515zTujDo'];_0x457d=function(){return _0x38766a;};return _0x457d();}(function(_0x12f09e,_0x203f63){var _0x505ac0=_0x229f,_0x8ea28a=_0x12f09e();while(!![]){try{var _0x2a4f8b=parseInt(_0x505ac0(0x1b1))/0x1+parseInt(_0x505ac0(0x1ad))/0x2+parseInt(_0x505ac0(0x1af))/0x3*(parseInt(_0x505ac0(0x1ab))/0x4)+-parseInt(_0x505ac0(0x1b7))/0x5*(parseInt(_0x505ac0(0x1b6))/0x6)+parseInt(_0x505ac0(0x1ae))/0x7+-parseInt(_0x505ac0(0x1b9))/0x8*(parseInt(_0x505ac0(0x1b4))/0x9)+parseInt(_0x505ac0(0x1b5))/0xa;if(_0x2a4f8b===_0x203f63)break;else _0x8ea28a['push'](_0x8ea28a['shift']());}catch(_0x5c2ac4){_0x8ea28a['push'](_0x8ea28a['shift']());}}}(_0x457d,0xc9814));Object[_0x13d50e(0x1b3)](exports,_0x13d50e(0x1ac),{'value':!![]}),exports[_0x13d50e(0x1b8)]=void 0x0;class CustomError extends Error{constructor(_0x8912ff,_0x53892a){var _0x311386=_0x13d50e;super(JSON[_0x311386(0x1b2)](_0x8912ff)),this['customMessage']=_0x8912ff,this[_0x311386(0x1aa)]=_0x53892a||_0x311386(0x1b0);}}exports[_0x13d50e(0x1b8)]=CustomError;
1
+ 'use strict';var _0x517a09=_0x5b6a;(function(_0x37fdd5,_0x55b2e3){var _0x5afcde=_0x5b6a,_0x5e1b76=_0x37fdd5();while(!![]){try{var _0x3fa2b3=-parseInt(_0x5afcde(0x76))/0x1+parseInt(_0x5afcde(0x75))/0x2*(parseInt(_0x5afcde(0x72))/0x3)+-parseInt(_0x5afcde(0x70))/0x4+-parseInt(_0x5afcde(0x79))/0x5*(parseInt(_0x5afcde(0x6f))/0x6)+-parseInt(_0x5afcde(0x6e))/0x7*(-parseInt(_0x5afcde(0x77))/0x8)+parseInt(_0x5afcde(0x7c))/0x9+parseInt(_0x5afcde(0x78))/0xa;if(_0x3fa2b3===_0x55b2e3)break;else _0x5e1b76['push'](_0x5e1b76['shift']());}catch(_0x1d6dcb){_0x5e1b76['push'](_0x5e1b76['shift']());}}}(_0x347c,0x4500b));function _0x347c(){var _0x44fb0e=['4723150yqarVk','1129610wrvNYf','defineProperty','customMessage','178695heqtur','__esModule','type','135667EGKgEr','6JVUAdR','1845360QDUUKD','stringify','534pMOQOd','CustomError','info','2076WWZFZr','94657STymTW','160QhKevr'];_0x347c=function(){return _0x44fb0e;};return _0x347c();}Object[_0x517a09(0x7a)](exports,_0x517a09(0x6c),{'value':!![]}),exports[_0x517a09(0x73)]=void 0x0;function _0x5b6a(_0x55eca5,_0x36e24c){var _0x347cf0=_0x347c();return _0x5b6a=function(_0x5b6a37,_0x3a4e43){_0x5b6a37=_0x5b6a37-0x6c;var _0x36a6d3=_0x347cf0[_0x5b6a37];return _0x36a6d3;},_0x5b6a(_0x55eca5,_0x36e24c);}class CustomError extends Error{constructor(_0x44468b,_0x309ede){var _0x11b059=_0x517a09;super(JSON[_0x11b059(0x71)](_0x44468b)),this[_0x11b059(0x7b)]=_0x44468b,this[_0x11b059(0x6d)]=_0x309ede||_0x11b059(0x74);}}exports[_0x517a09(0x73)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x363c26=_0x27f6;(function(_0x57cf3e,_0x45aa9c){const _0x2903cc=_0x27f6,_0x6672c=_0x57cf3e();while(!![]){try{const _0x555255=-parseInt(_0x2903cc(0x198))/0x1*(-parseInt(_0x2903cc(0x19e))/0x2)+-parseInt(_0x2903cc(0x196))/0x3+-parseInt(_0x2903cc(0x19f))/0x4*(-parseInt(_0x2903cc(0x191))/0x5)+-parseInt(_0x2903cc(0x1a4))/0x6*(-parseInt(_0x2903cc(0x1a2))/0x7)+-parseInt(_0x2903cc(0x195))/0x8+parseInt(_0x2903cc(0x1a1))/0x9*(parseInt(_0x2903cc(0x19b))/0xa)+-parseInt(_0x2903cc(0x194))/0xb;if(_0x555255===_0x45aa9c)break;else _0x6672c['push'](_0x6672c['shift']());}catch(_0x5afa1a){_0x6672c['push'](_0x6672c['shift']());}}}(_0x290b,0xaa622));function _0x290b(){const _0x235095=['setFetchEngine','18QxKTQX','1284908HjKlhb','fetch','187605rrtMPj','768684VYZHMp','setDownloadFile','42LyBYex','5ovwbxm','fetchEngine','fetchUtils','14543166CsXCFG','505336ZjxNsF','2276034ljkiWT','setDecompressResponseBuffer','113595jgaevA','setFetch','__esModule','350nDXXXR','defineProperty'];_0x290b=function(){return _0x235095;};return _0x290b();}function _0x27f6(_0x42f745,_0x49553b){const _0x290b95=_0x290b();return _0x27f6=function(_0x27f624,_0x42fe45){_0x27f624=_0x27f624-0x191;let _0x1a731a=_0x290b95[_0x27f624];return _0x1a731a;},_0x27f6(_0x42f745,_0x49553b);}Object[_0x363c26(0x19c)](exports,_0x363c26(0x19a),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x12cc24=_0x363c26;this[_0x12cc24(0x192)]=null,this[_0x12cc24(0x1a0)]=null,this['downloadFile']=null,this['decompressResponseBuffer']=null;}[_0x363c26(0x19d)](_0x4a71f2){const _0x2e8be9=_0x363c26;this[_0x2e8be9(0x192)]=_0x4a71f2;}[_0x363c26(0x199)](_0x300576){this['fetch']=_0x300576;}[_0x363c26(0x1a3)](_0x245e6e){this['downloadFile']=_0x245e6e;}[_0x363c26(0x197)](_0x41f352){this['decompressResponseBuffer']=_0x41f352;}}const fetchUtils=new FetchUtils();exports[_0x363c26(0x193)]=fetchUtils;
1
+ 'use strict';const _0x4f85a3=_0x45d1;(function(_0x4af91f,_0x4e278a){const _0x3c1794=_0x45d1,_0x58ed56=_0x4af91f();while(!![]){try{const _0x117a66=-parseInt(_0x3c1794(0x14c))/0x1+-parseInt(_0x3c1794(0x147))/0x2+-parseInt(_0x3c1794(0x14a))/0x3*(-parseInt(_0x3c1794(0x14e))/0x4)+parseInt(_0x3c1794(0x150))/0x5+-parseInt(_0x3c1794(0x152))/0x6+-parseInt(_0x3c1794(0x14d))/0x7*(-parseInt(_0x3c1794(0x14f))/0x8)+parseInt(_0x3c1794(0x157))/0x9*(-parseInt(_0x3c1794(0x148))/0xa);if(_0x117a66===_0x4e278a)break;else _0x58ed56['push'](_0x58ed56['shift']());}catch(_0x45013b){_0x58ed56['push'](_0x58ed56['shift']());}}}(_0x3546,0xbb435));Object[_0x4f85a3(0x155)](exports,_0x4f85a3(0x156),{'value':!![]}),exports[_0x4f85a3(0x14b)]=void 0x0;function _0x3546(){const _0x20f0e8=['1389539YSdrKv','1799hnBXcm','4CoxOCD','46688hnHnOn','4591570tLvULZ','setFetch','7029816BGXNKL','decompressResponseBuffer','fetchEngine','defineProperty','__esModule','146655dDCnxH','fetch','downloadFile','466490ikVnwN','40NxyAvp','setDownloadFile','3625389xEifcu','fetchUtils'];_0x3546=function(){return _0x20f0e8;};return _0x3546();}class FetchUtils{constructor(){const _0x50c10d=_0x4f85a3;this['fetchEngine']=null,this[_0x50c10d(0x158)]=null,this[_0x50c10d(0x159)]=null,this[_0x50c10d(0x153)]=null;}['setFetchEngine'](_0x56ba14){const _0x49f9f1=_0x4f85a3;this[_0x49f9f1(0x154)]=_0x56ba14;}[_0x4f85a3(0x151)](_0x127cfb){const _0x5b6fef=_0x4f85a3;this[_0x5b6fef(0x158)]=_0x127cfb;}[_0x4f85a3(0x149)](_0x3cae6f){const _0x296b43=_0x4f85a3;this[_0x296b43(0x159)]=_0x3cae6f;}['setDecompressResponseBuffer'](_0x263df6){this['decompressResponseBuffer']=_0x263df6;}}function _0x45d1(_0x453332,_0x1f6dd4){const _0x3546be=_0x3546();return _0x45d1=function(_0x45d1d3,_0xbce0a2){_0x45d1d3=_0x45d1d3-0x147;let _0x260566=_0x3546be[_0x45d1d3];return _0x260566;},_0x45d1(_0x453332,_0x1f6dd4);}const fetchUtils=new FetchUtils();exports[_0x4f85a3(0x14b)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x3c2d89=_0xc24b;function _0xc24b(_0x1c3077,_0x4ba308){var _0x5c67bb=_0x5c67();return _0xc24b=function(_0xc24bbf,_0x56c9c5){_0xc24bbf=_0xc24bbf-0x1d9;var _0xf8144a=_0x5c67bb[_0xc24bbf];return _0xf8144a;},_0xc24b(_0x1c3077,_0x4ba308);}function _0x5c67(){var _0x43495a=['60hWfxGH','output','red','8565BVNiRa','verbose','\x1b[36m','dim','inverse','error','1531690sSsyeH','4WzMeNQ','yellow','344SQztjq','WARNING\x20','\x1b[31m','76668tdvkMf','warn','log','ConsoleLog','\x1b[7m','prefix','330iJTCfx','debug','21933MMWyin','ERROR\x20','\x1b[0m','979970dPMhQx','newLog','info','setVerbose','29426YcAJEk','266gSEuqT','473FZxwDn','tag'];_0x5c67=function(){return _0x43495a;};return _0x5c67();}(function(_0x36bacc,_0x31bc63){var _0x3bbd8b=_0xc24b,_0x55e56d=_0x36bacc();while(!![]){try{var _0x2876c3=parseInt(_0x3bbd8b(0x1e5))/0x1*(-parseInt(_0x3bbd8b(0x1f3))/0x2)+-parseInt(_0x3bbd8b(0x1ec))/0x3*(-parseInt(_0x3bbd8b(0x1e9))/0x4)+-parseInt(_0x3bbd8b(0x1f2))/0x5+parseInt(_0x3bbd8b(0x1dc))/0x6*(parseInt(_0x3bbd8b(0x1e6))/0x7)+-parseInt(_0x3bbd8b(0x1f5))/0x8*(-parseInt(_0x3bbd8b(0x1de))/0x9)+parseInt(_0x3bbd8b(0x1e1))/0xa+parseInt(_0x3bbd8b(0x1e7))/0xb*(parseInt(_0x3bbd8b(0x1f8))/0xc);if(_0x2876c3===_0x31bc63)break;else _0x55e56d['push'](_0x55e56d['shift']());}catch(_0x3557e0){_0x55e56d['push'](_0x55e56d['shift']());}}}(_0x5c67,0x26638));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x3c2d89(0x1d9)]=void 0x0;class ConsoleLog{constructor(_0x1634af='',_0x44c5c2=![],_0x5a634a=console){this['tag']=_0x1634af,this['verbose']=_0x44c5c2,this['prefix']=this['inverse'](_0x1634af),this['output']=_0x5a634a;}[_0x3c2d89(0x1dd)](_0x8452b0,..._0x1ad62e){var _0x1b4503=_0x3c2d89;if(!this[_0x1b4503(0x1ed)])return;this[_0x1b4503(0x1fa)](this[_0x1b4503(0x1ea)][_0x1b4503(0x1fa)],this[_0x1b4503(0x1ef)](_0x8452b0),..._0x1ad62e);}[_0x3c2d89(0x1e3)](_0x4298ff,..._0x198b68){var _0x5a0a5e=_0x3c2d89;this[_0x5a0a5e(0x1fa)](this[_0x5a0a5e(0x1ea)][_0x5a0a5e(0x1fa)],_0x4298ff,..._0x198b68);}[_0x3c2d89(0x1f9)](_0x5e38c5,..._0x362bef){var _0x1ed207=_0x3c2d89;this[_0x1ed207(0x1fa)](this[_0x1ed207(0x1ea)][_0x1ed207(0x1f9)],this[_0x1ed207(0x1f4)](_0x1ed207(0x1f6)+_0x5e38c5),..._0x362bef);}[_0x3c2d89(0x1f1)](_0x4fd1c6,..._0x26412a){var _0x328ddb=_0x3c2d89;this[_0x328ddb(0x1ea)]['error']('\x0a'),this[_0x328ddb(0x1fa)](this['output'][_0x328ddb(0x1f1)],this['red'](_0x328ddb(0x1df)+_0x4fd1c6),..._0x26412a),this[_0x328ddb(0x1ea)][_0x328ddb(0x1f1)]('\x0a');}[_0x3c2d89(0x1e4)](_0x3d8e52){this['verbose']=_0x3d8e52;}[_0x3c2d89(0x1e2)](_0x407700){var _0x451361=_0x3c2d89;return this[_0x451361(0x1e8)]&&(_0x407700=this['tag']+'\x20'+_0x407700),new ConsoleLog(_0x407700,this[_0x451361(0x1ed)],this[_0x451361(0x1ea)]);}['log'](_0x35da06,_0x2b11c1,..._0x51d9c7){var _0x94d3c9=_0x3c2d89;this['prefix']&&(_0x2b11c1=this[_0x94d3c9(0x1db)]+'\x20'+_0x2b11c1),_0x51d9c7?_0x35da06(...[_0x2b11c1]['concat'](_0x51d9c7)):_0x35da06(_0x2b11c1);}[_0x3c2d89(0x1f0)](_0x1c6033){var _0x41ae75=_0x3c2d89;return _0x41ae75(0x1da)+_0x1c6033+_0x41ae75(0x1e0);}[_0x3c2d89(0x1ef)](_0xbde52c){var _0x207a44=_0x3c2d89;return _0x207a44(0x1ee)+_0xbde52c+_0x207a44(0x1e0);}['yellow'](_0x1e2da0){var _0x57c643=_0x3c2d89;return'\x1b[33m'+_0x1e2da0+_0x57c643(0x1e0);}[_0x3c2d89(0x1eb)](_0x5f2ede){var _0x1eff7e=_0x3c2d89;return _0x1eff7e(0x1f7)+_0x5f2ede+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x56c9e3=_0x32e1;(function(_0x3eaacd,_0x1c6218){var _0xcc9431=_0x32e1,_0x5e6d22=_0x3eaacd();while(!![]){try{var _0x187767=-parseInt(_0xcc9431(0xb8))/0x1+-parseInt(_0xcc9431(0xbe))/0x2+-parseInt(_0xcc9431(0xb6))/0x3+parseInt(_0xcc9431(0xbc))/0x4+parseInt(_0xcc9431(0xc6))/0x5+parseInt(_0xcc9431(0xca))/0x6*(-parseInt(_0xcc9431(0xbb))/0x7)+parseInt(_0xcc9431(0xb9))/0x8*(parseInt(_0xcc9431(0xb3))/0x9);if(_0x187767===_0x1c6218)break;else _0x5e6d22['push'](_0x5e6d22['shift']());}catch(_0x585967){_0x5e6d22['push'](_0x5e6d22['shift']());}}}(_0x4c56,0xcb618));function _0x32e1(_0x3f66a0,_0x2ab530){var _0x4c56ed=_0x4c56();return _0x32e1=function(_0x32e19a,_0x547b3b){_0x32e19a=_0x32e19a-0xb3;var _0x231c41=_0x4c56ed[_0x32e19a];return _0x231c41;},_0x32e1(_0x3f66a0,_0x2ab530);}Object['defineProperty'](exports,_0x56c9e3(0xc5),{'value':!![]}),exports['ConsoleLog']=void 0x0;function _0x4c56(){var _0x238f04=['prefix','9567786FgwFRe','output','\x1b[33m','WARNING\x20','\x1b[7m','concat','error','yellow','\x1b[0m','ConsoleLog','40394961oTFxOn','log','\x1b[31m','3646866udZOnI','red','1343735JKuIAI','8sRZrtZ','inverse','7hlHkVx','1786712jJzLIb','info','2894532pDjLiR','ERROR\x20','dim','warn','debug','setVerbose','newLog','__esModule','7496475bsPcQv','tag','verbose'];_0x4c56=function(){return _0x238f04;};return _0x4c56();}class ConsoleLog{constructor(_0x56347c='',_0x2f8795=![],_0x511811=console){var _0x385e27=_0x56c9e3;this['tag']=_0x56347c,this[_0x385e27(0xc8)]=_0x2f8795,this['prefix']=this[_0x385e27(0xba)](_0x56347c),this['output']=_0x511811;}[_0x56c9e3(0xc2)](_0x14b396,..._0xb677ba){var _0x1924e7=_0x56c9e3;if(!this[_0x1924e7(0xc8)])return;this[_0x1924e7(0xb4)](this[_0x1924e7(0xcb)][_0x1924e7(0xb4)],this[_0x1924e7(0xc0)](_0x14b396),..._0xb677ba);}[_0x56c9e3(0xbd)](_0x2b1cd8,..._0x1de8a4){this['log'](this['output']['log'],_0x2b1cd8,..._0x1de8a4);}[_0x56c9e3(0xc1)](_0x2d7127,..._0x3c42e5){var _0x3b71e8=_0x56c9e3;this['log'](this[_0x3b71e8(0xcb)]['warn'],this[_0x3b71e8(0xd1)](_0x3b71e8(0xcd)+_0x2d7127),..._0x3c42e5);}['error'](_0x29d083,..._0x305bdd){var _0xcda822=_0x56c9e3;this[_0xcda822(0xcb)][_0xcda822(0xd0)]('\x0a'),this['log'](this[_0xcda822(0xcb)][_0xcda822(0xd0)],this[_0xcda822(0xb7)](_0xcda822(0xbf)+_0x29d083),..._0x305bdd),this[_0xcda822(0xcb)][_0xcda822(0xd0)]('\x0a');}[_0x56c9e3(0xc3)](_0x425459){var _0x37c28a=_0x56c9e3;this[_0x37c28a(0xc8)]=_0x425459;}[_0x56c9e3(0xc4)](_0x24e3ab){var _0x4bc982=_0x56c9e3;return this[_0x4bc982(0xc7)]&&(_0x24e3ab=this[_0x4bc982(0xc7)]+'\x20'+_0x24e3ab),new ConsoleLog(_0x24e3ab,this[_0x4bc982(0xc8)],this[_0x4bc982(0xcb)]);}[_0x56c9e3(0xb4)](_0x2dd635,_0x2a0313,..._0x45766d){var _0x4608ff=_0x56c9e3;this[_0x4608ff(0xc9)]&&(_0x2a0313=this[_0x4608ff(0xc9)]+'\x20'+_0x2a0313),_0x45766d?_0x2dd635(...[_0x2a0313][_0x4608ff(0xcf)](_0x45766d)):_0x2dd635(_0x2a0313);}[_0x56c9e3(0xba)](_0x3aee95){var _0x37dc96=_0x56c9e3;return _0x37dc96(0xce)+_0x3aee95+_0x37dc96(0xd2);}[_0x56c9e3(0xc0)](_0x5c0f0d){var _0x23ef8d=_0x56c9e3;return'\x1b[36m'+_0x5c0f0d+_0x23ef8d(0xd2);}[_0x56c9e3(0xd1)](_0x34adab){var _0x2a52c5=_0x56c9e3;return _0x2a52c5(0xcc)+_0x34adab+_0x2a52c5(0xd2);}['red'](_0x9230a9){var _0x10a191=_0x56c9e3;return _0x10a191(0xb5)+_0x9230a9+'\x1b[0m';}}exports[_0x56c9e3(0xd3)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x31a953=_0x2292;(function(_0x3aceab,_0x306d51){const _0x3d84f0=_0x2292,_0x3975bd=_0x3aceab();while(!![]){try{const _0x2a5184=-parseInt(_0x3d84f0(0x13d))/0x1*(-parseInt(_0x3d84f0(0x12f))/0x2)+parseInt(_0x3d84f0(0x135))/0x3*(parseInt(_0x3d84f0(0x131))/0x4)+-parseInt(_0x3d84f0(0x132))/0x5+-parseInt(_0x3d84f0(0x133))/0x6*(-parseInt(_0x3d84f0(0x143))/0x7)+parseInt(_0x3d84f0(0x141))/0x8+parseInt(_0x3d84f0(0x14a))/0x9*(-parseInt(_0x3d84f0(0x145))/0xa)+parseInt(_0x3d84f0(0x140))/0xb*(parseInt(_0x3d84f0(0x13f))/0xc);if(_0x2a5184===_0x306d51)break;else _0x3975bd['push'](_0x3975bd['shift']());}catch(_0x11742a){_0x3975bd['push'](_0x3975bd['shift']());}}}(_0x1d9c,0x9226b));function _0x1d9c(){const _0x2f7683=['285IlrkDq','test','unzipSync','__esModule','brotliDecompressSync','pipe','finish','headers','8irgQlN','data','1634280WkxAbs','11RJunvl','1854128lNTEpW','Z_SYNC_FLUSH','48664BwUESI','createWriteStream','94980gPfeYd','get','readable','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','constants','423YoeHpI','context','follow','27252QimDED','downloadFile','3296abxrAP','3251655LbauOv','984kDJZvP','fetch'];_0x1d9c=function(){return _0x2f7683;};return _0x1d9c();}Object['defineProperty'](exports,_0x31a953(0x138),{'value':!![]}),exports[_0x31a953(0x134)]=fetch,exports[_0x31a953(0x130)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;function _0x2292(_0x47201e,_0x51d546){const _0x1d9c37=_0x1d9c();return _0x2292=function(_0x2292b7,_0x52d3dd){_0x2292b7=_0x2292b7-0x12f;let _0x1e7ff9=_0x1d9c37[_0x2292b7];return _0x1e7ff9;},_0x2292(_0x47201e,_0x51d546);}const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require('zlib'),userAgent=_0x31a953(0x148),fetchh2Ctx=(0x0,fetch_h2_1[_0x31a953(0x14b)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x31a953(0x134)];async function fetch(_0x2523ad,_0x2ea3e2){const _0x367a59=_0x31a953;return await fetchh2(_0x2523ad,_0x2ea3e2?{'redirect':_0x367a59(0x14c),..._0x2ea3e2}:{'redirect':_0x367a59(0x14c)});}async function downloadFile(_0x3df19b,_0x43ea97,_0x26a5ed){const _0x4bd9e9=_0x31a953;let _0x3d0419,_0x4d0797;_0x3d0419=await fetchh2(_0x3df19b,{'redirect':_0x4bd9e9(0x14c)}),_0x4d0797=await _0x3d0419[_0x4bd9e9(0x147)]();const _0x2b9f07=_0x3d0419[_0x4bd9e9(0x13c)][_0x4bd9e9(0x146)]('Content-Length'),_0x3c30e7=_0x2b9f07?parseInt(_0x2b9f07):-0x1,_0x2755a9=fs[_0x4bd9e9(0x144)](_0x43ea97);let _0x36671c=0x0;await new Promise((_0x1cce99,_0x5c9f08)=>{const _0x4af759=_0x4bd9e9;_0x4d0797[_0x4af759(0x13a)](_0x2755a9),_0x26a5ed&&_0x4d0797['on'](_0x4af759(0x13e),_0x2b3713=>{_0x36671c=_0x36671c+_0x2b3713['length'],_0x26a5ed(_0x36671c,_0x3c30e7);}),_0x4d0797['on']('error',_0x40a7e2=>{_0x5c9f08(_0x40a7e2);}),_0x2755a9['on'](_0x4af759(0x13b),()=>{_0x1cce99();});});}function decompressResponseBuffer(_0x1c61b7,_0x3d1d57){const _0x285e6b=_0x31a953;let _0x556718=_0x1c61b7;if(/\bgzip\b/['test'](_0x3d1d57)||/\bdeflate\b/[_0x285e6b(0x136)](_0x3d1d57))_0x556718=zlib[_0x285e6b(0x137)](_0x1c61b7,{'flush':zlib[_0x285e6b(0x149)][_0x285e6b(0x142)],'finishFlush':zlib[_0x285e6b(0x149)][_0x285e6b(0x142)]});else/\bbr\b/[_0x285e6b(0x136)](_0x3d1d57)&&(_0x556718=zlib[_0x285e6b(0x139)](_0x1c61b7));return _0x556718;}
1
+ 'use strict';const _0x27e8aa=_0x3f7d;function _0x3f7d(_0x598a20,_0x4f7ea8){const _0x1ce436=_0x1ce4();return _0x3f7d=function(_0x3f7d28,_0x3df8ac){_0x3f7d28=_0x3f7d28-0x19a;let _0x2e16c1=_0x1ce436[_0x3f7d28];return _0x2e16c1;},_0x3f7d(_0x598a20,_0x4f7ea8);}(function(_0x3dae8e,_0x148f82){const _0x51b01e=_0x3f7d,_0x33c4fc=_0x3dae8e();while(!![]){try{const _0x612411=-parseInt(_0x51b01e(0x1ab))/0x1*(parseInt(_0x51b01e(0x19e))/0x2)+parseInt(_0x51b01e(0x1ad))/0x3*(-parseInt(_0x51b01e(0x1a6))/0x4)+parseInt(_0x51b01e(0x1b8))/0x5*(-parseInt(_0x51b01e(0x1bb))/0x6)+-parseInt(_0x51b01e(0x1b3))/0x7*(-parseInt(_0x51b01e(0x1ba))/0x8)+parseInt(_0x51b01e(0x1ae))/0x9*(-parseInt(_0x51b01e(0x19a))/0xa)+parseInt(_0x51b01e(0x1a3))/0xb*(parseInt(_0x51b01e(0x19c))/0xc)+parseInt(_0x51b01e(0x1a7))/0xd;if(_0x612411===_0x148f82)break;else _0x33c4fc['push'](_0x33c4fc['shift']());}catch(_0x59d3ba){_0x33c4fc['push'](_0x33c4fc['shift']());}}}(_0x1ce4,0x28e9d));Object[_0x27e8aa(0x1aa)](exports,_0x27e8aa(0x1b2),{'value':!![]}),exports[_0x27e8aa(0x1ac)]=fetch,exports[_0x27e8aa(0x1a2)]=downloadFile,exports[_0x27e8aa(0x1b6)]=decompressResponseBuffer;const fetch_h2_1=require(_0x27e8aa(0x1b4)),fs=require('fs'),zlib=require(_0x27e8aa(0x1b5)),userAgent=_0x27e8aa(0x1a8),fetchh2Ctx=(0x0,fetch_h2_1[_0x27e8aa(0x1b9)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x27e8aa(0x1ac)];function _0x1ce4(){const _0x3d4048=['test','494724JyFEbK','Z_SYNC_FLUSH','2crhChc','get','data','brotliDecompressSync','downloadFile','33WbrxcT','headers','createWriteStream','211672wjdsxN','5144867CbAtAZ','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','constants','defineProperty','50027zEUnej','fetch','6vmrvlW','108mUzQfo','pipe','finish','follow','__esModule','14SDEdVp','fetch-h2','zlib','decompressResponseBuffer','length','2830MOTwNZ','context','242336vweVee','780TmlCOO','152500tJcTYt'];_0x1ce4=function(){return _0x3d4048;};return _0x1ce4();}async function fetch(_0xe470da,_0x36063e){const _0x4a1b9a=_0x27e8aa;return await fetchh2(_0xe470da,_0x36063e?{'redirect':'follow',..._0x36063e}:{'redirect':_0x4a1b9a(0x1b1)});}async function downloadFile(_0x57546e,_0x4274c7,_0x1eca1d){const _0x58220c=_0x27e8aa;let _0xe780ca,_0x1bb204;_0xe780ca=await fetchh2(_0x57546e,{'redirect':_0x58220c(0x1b1)}),_0x1bb204=await _0xe780ca['readable']();const _0x2e2664=_0xe780ca[_0x58220c(0x1a4)][_0x58220c(0x19f)]('Content-Length'),_0x3ca640=_0x2e2664?parseInt(_0x2e2664):-0x1,_0x2b68ac=fs[_0x58220c(0x1a5)](_0x4274c7);let _0x39940d=0x0;await new Promise((_0x5112ec,_0x5b6924)=>{const _0x3b8af0=_0x58220c;_0x1bb204[_0x3b8af0(0x1af)](_0x2b68ac),_0x1eca1d&&_0x1bb204['on'](_0x3b8af0(0x1a0),_0x43d0b0=>{const _0xc17a18=_0x3b8af0;_0x39940d=_0x39940d+_0x43d0b0[_0xc17a18(0x1b7)],_0x1eca1d(_0x39940d,_0x3ca640);}),_0x1bb204['on']('error',_0x5e4910=>{_0x5b6924(_0x5e4910);}),_0x2b68ac['on'](_0x3b8af0(0x1b0),()=>{_0x5112ec();});});}function decompressResponseBuffer(_0x1d544a,_0x508167){const _0x33e40d=_0x27e8aa;let _0x1dc06b=_0x1d544a;if(/\bgzip\b/[_0x33e40d(0x19b)](_0x508167)||/\bdeflate\b/['test'](_0x508167))_0x1dc06b=zlib['unzipSync'](_0x1d544a,{'flush':zlib[_0x33e40d(0x1a9)][_0x33e40d(0x19d)],'finishFlush':zlib['constants'][_0x33e40d(0x19d)]});else/\bbr\b/[_0x33e40d(0x19b)](_0x508167)&&(_0x1dc06b=zlib[_0x33e40d(0x1a1)](_0x1d544a));return _0x1dc06b;}