@webspatial/builder 0.1.11 → 0.1.14

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 (43) hide show
  1. package/README.md +57 -52
  2. package/dist/index.js +1 -1
  3. package/dist/lib/cmds/build.d.ts +4 -4
  4. package/dist/lib/cmds/build.js +1 -1
  5. package/dist/lib/cmds/check.d.ts +2 -3
  6. package/dist/lib/cmds/check.js +1 -1
  7. package/dist/lib/cmds/help.js +1 -1
  8. package/dist/lib/cmds/launch.d.ts +2 -0
  9. package/dist/lib/cmds/launch.js +1 -0
  10. package/dist/lib/cmds/shutdown.d.ts +2 -0
  11. package/dist/lib/cmds/shutdown.js +1 -0
  12. package/dist/lib/cmds/version.d.ts +1 -2
  13. package/dist/lib/cmds/version.js +1 -1
  14. package/dist/lib/pwa/config.js +1 -1
  15. package/dist/lib/pwa/index.d.ts +5 -15
  16. package/dist/lib/pwa/index.js +1 -1
  17. package/dist/lib/pwa/validate.js +1 -1
  18. package/dist/lib/resource/file.js +1 -1
  19. package/dist/lib/resource/imageHelper.js +1 -1
  20. package/dist/lib/resource/index.d.ts +2 -1
  21. package/dist/lib/resource/index.js +1 -1
  22. package/dist/lib/resource/load.js +1 -1
  23. package/dist/lib/types.d.ts +27 -0
  24. package/dist/lib/types.js +1 -0
  25. package/dist/lib/utils/CustomError.js +1 -1
  26. package/dist/lib/utils/FetchUtils-1.js +1 -1
  27. package/dist/lib/utils/Log.js +1 -1
  28. package/dist/lib/utils/fetch.js +1 -1
  29. package/dist/lib/utils/history.d.ts +15 -0
  30. package/dist/lib/utils/history.js +1 -0
  31. package/dist/lib/utils/messages.js +1 -1
  32. package/dist/lib/utils/utils.d.ts +2 -0
  33. package/dist/lib/utils/utils.js +1 -1
  34. package/dist/lib/xcode/index.d.ts +3 -1
  35. package/dist/lib/xcode/index.js +1 -1
  36. package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
  37. package/dist/lib/xcode/xcodebuild.js +1 -1
  38. package/dist/lib/xcode/xcodeproject.js +1 -1
  39. package/dist/lib/xcode/xcrun.d.ts +42 -1
  40. package/dist/lib/xcode/xcrun.js +1 -1
  41. package/package.json +4 -3
  42. package/dist/lib/Cli.d.ts +0 -5
  43. package/dist/lib/Cli.js +0 -1
@@ -1 +1 @@
1
- 'use strict';const _0x53d32c=_0x499b;(function(_0x12c009,_0x33b0a5){const _0x166d3a=_0x499b,_0x66499c=_0x12c009();while(!![]){try{const _0x311128=parseInt(_0x166d3a(0x13d))/0x1+-parseInt(_0x166d3a(0x15a))/0x2+-parseInt(_0x166d3a(0x141))/0x3+parseInt(_0x166d3a(0x132))/0x4*(-parseInt(_0x166d3a(0x14c))/0x5)+-parseInt(_0x166d3a(0x130))/0x6+-parseInt(_0x166d3a(0x131))/0x7+parseInt(_0x166d3a(0x15e))/0x8*(parseInt(_0x166d3a(0x14d))/0x9);if(_0x311128===_0x33b0a5)break;else _0x66499c['push'](_0x66499c['shift']());}catch(_0x190178){_0x66499c['push'](_0x66499c['shift']());}}}(_0x2d55,0x8c5e1));Object[_0x53d32c(0x149)](exports,_0x53d32c(0x133),{'value':!![]}),exports[_0x53d32c(0x14f)]=exports[_0x53d32c(0x144)]=exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']=exports[_0x53d32c(0x142)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x53d32c(0x15b)]=exports[_0x53d32c(0x13a)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require('./file'),load_1=require('./load'),child_process_1=require(_0x53d32c(0x148));exports[_0x53d32c(0x13a)]='',exports[_0x53d32c(0x15b)]='',exports[_0x53d32c(0x154)]='',exports[_0x53d32c(0x142)]=_0x53d32c(0x155),exports[_0x53d32c(0x151)]=_0x53d32c(0x145),exports[_0x53d32c(0x139)]=exports['ASSET_DIRECTORY']+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x53d32c(0x144)]=exports[_0x53d32c(0x151)]+_0x53d32c(0x13b);const supportPlatform=[_0x53d32c(0x156)];function _0x2d55(){const _0x4d4b6d=['731091QrLAej','cwd','cd\x20','checkPlatformPath','1676184tszVSM','WEB_PROJECT_DIRECTORY','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','MIDDLE_APPICON_DIRECTORY','web-spatial/Assets.xcassets',',\x20now\x20WebSpatial\x20only\x20support\x20','loadImageFromNet','child_process','defineProperty','./build','mkdirSync','3408055vRqbwc','43362PdrCMn','existsSync','ResourceManager','../../../node_modules/@webspatial/platform-','ASSET_DIRECTORY','includes','log','PROJECT_EXPORT_DIRECTORY','web-spatial/static-web','visionos','not\x20support\x20platform\x20','join','node_modules/@webspatial/platform-','1041482JUUWlh','PROJECT_BUILD_DIRECTORY','resize','moveProjectFrom','4128YPRepa','src','loadImageFromDisk','./export','3356826UgDbDe','2251781semXEY','4koAtaH','__esModule','icons','copyDir','execSync','startsWith','generateIcon','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','json'];_0x2d55=function(){return _0x4d4b6d;};return _0x2d55();}function _0x499b(_0x52a6e4,_0x4ac0a8){const _0x2d5551=_0x2d55();return _0x499b=function(_0x499baf,_0x59930f){_0x499baf=_0x499baf-0x130;let _0x3d036e=_0x2d5551[_0x499baf];return _0x3d036e;},_0x499b(_0x52a6e4,_0x4ac0a8);}class ResourceManager{static async[_0x53d32c(0x15d)](_0x1ffa26){const _0x3fd277=_0x53d32c,_0x134c4a=(0x0,path_1[_0x3fd277(0x158)])(process[_0x3fd277(0x13e)](),_0x1ffa26),_0x518a93=(0x0,path_1[_0x3fd277(0x158)])(exports[_0x3fd277(0x13a)],exports[_0x3fd277(0x142)]);!fs['existsSync'](_0x518a93)?fs[_0x3fd277(0x14b)](_0x518a93,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x518a93);try{(0x0,file_1[_0x3fd277(0x135)])(_0x134c4a,_0x518a93);}catch(_0x5e93ec){console[_0x3fd277(0x153)](_0x5e93ec);}}static async[_0x53d32c(0x138)](_0x1a3a8e){const _0x4734c2=_0x53d32c,_0xce351c=_0x1a3a8e[_0x4734c2(0x13c)],_0x4e8fc2=_0xce351c[_0x4734c2(0x134)][0x0][_0x4734c2(0x15f)],_0x40522b=!_0x4e8fc2[_0x4734c2(0x137)]('http')?await(0x0,load_1[_0x4734c2(0x160)])(_0x4e8fc2):await(0x0,load_1[_0x4734c2(0x147)])(_0x4e8fc2);return _0x40522b[_0x4734c2(0x15c)](0x400,0x400),_0x40522b;}static[_0x53d32c(0x140)](_0x4971ad){const _0x29e6ad=_0x53d32c,_0x1bb2b2=_0x4971ad!==null&&_0x4971ad!==void 0x0?_0x4971ad:supportPlatform[0x0];if(!supportPlatform[_0x29e6ad(0x152)](_0x1bb2b2))throw new Error(_0x29e6ad(0x157)+_0x1bb2b2+_0x29e6ad(0x146)+supportPlatform[_0x29e6ad(0x158)](','));let _0xe2e5f1=(0x0,path_1[_0x29e6ad(0x158)])(process[_0x29e6ad(0x13e)](),_0x29e6ad(0x159)+_0x1bb2b2);!fs['existsSync'](_0xe2e5f1)&&(_0xe2e5f1=(0x0,path_1[_0x29e6ad(0x158)])(__dirname,_0x29e6ad(0x150)+_0x1bb2b2));const _0x2af1dc=fs[_0x29e6ad(0x14e)](_0xe2e5f1);!_0x2af1dc&&(0x0,child_process_1[_0x29e6ad(0x136)])(_0x29e6ad(0x13f)+(0x0,path_1[_0x29e6ad(0x158)])(__dirname,'../../../')+_0x29e6ad(0x143)+_0x1bb2b2),exports[_0x29e6ad(0x13a)]=_0xe2e5f1,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x29e6ad(0x158)])(exports['PROJECT_DIRECTORY'],_0x29e6ad(0x14a)),exports[_0x29e6ad(0x154)]=(0x0,path_1[_0x29e6ad(0x158)])(exports[_0x29e6ad(0x13a)],_0x29e6ad(0x161));}}exports[_0x53d32c(0x14f)]=ResourceManager;
1
+ 'use strict';const _0x999296=_0x42f2;(function(_0x48d5c4,_0x4ad780){const _0x3df896=_0x42f2,_0x137cc0=_0x48d5c4();while(!![]){try{const _0x4cecd8=-parseInt(_0x3df896(0xdf))/0x1*(parseInt(_0x3df896(0xee))/0x2)+-parseInt(_0x3df896(0xeb))/0x3*(-parseInt(_0x3df896(0xcb))/0x4)+-parseInt(_0x3df896(0xf1))/0x5*(-parseInt(_0x3df896(0xf4))/0x6)+-parseInt(_0x3df896(0xd7))/0x7+parseInt(_0x3df896(0xec))/0x8+parseInt(_0x3df896(0xd9))/0x9*(parseInt(_0x3df896(0xd3))/0xa)+parseInt(_0x3df896(0xe2))/0xb;if(_0x4cecd8===_0x4ad780)break;else _0x137cc0['push'](_0x137cc0['shift']());}catch(_0x40ff4e){_0x137cc0['push'](_0x137cc0['shift']());}}}(_0x6e3a,0x4981b));function _0x42f2(_0x323104,_0x743d41){const _0x6e3a1a=_0x6e3a();return _0x42f2=function(_0x42f230,_0x4f21cb){_0x42f230=_0x42f230-0xca;let _0x3797c4=_0x6e3a1a[_0x42f230];return _0x3797c4;},_0x42f2(_0x323104,_0x743d41);}Object[_0x999296(0xfb)](exports,_0x999296(0xe3),{'value':!![]}),exports[_0x999296(0xf3)]=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x999296(0xea)]=exports[_0x999296(0xde)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x999296(0xfc)]=exports[_0x999296(0xe5)]=exports[_0x999296(0xe1)]=exports[_0x999296(0xf6)]=void 0x0;function _0x6e3a(){const _0x1c541a=[',\x20now\x20WebSpatial\x20only\x20support\x20','platform-','cwd','BACK_APPICON_DIRECTORY','4641lpburf','217192HmsMfX','./test','2696flmvZB','generateIcon','icons','99415CBnZnm','path','ResourceManager','30vwbWVV','loadImageFromNet','PROJECT_DIRECTORY','http','clearDir','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','defineProperty','PROJECT_TEST_DIRECTORY','existsSync','220RJIujH','copyDir','src','../../../','MIDDLE_APPICON_DIRECTORY','not\x20support\x20platform\x20','../../../node_modules/@webspatial/platform-','join','10xJoIZa','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','web-spatial/Assets.xcassets','execSync','2917404RKTacw','json','2158173DRdGrH','./export','./load','moveProjectFrom','cd\x20','ASSET_DIRECTORY','7pQaRmC','../../temp','PROJECT_BUILD_DIRECTORY','3034295fIFXoH','__esModule','mkdirSync','PROJECT_EXPORT_DIRECTORY','loadImageFromDisk'];_0x6e3a=function(){return _0x1c541a;};return _0x6e3a();}const fs=require('fs'),path_1=require(_0x999296(0xf2)),file_1=require('./file'),load_1=require(_0x999296(0xdb)),child_process_1=require('child_process');exports[_0x999296(0xf6)]='',exports[_0x999296(0xe1)]='',exports[_0x999296(0xe5)]='',exports[_0x999296(0xfc)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports['ASSET_DIRECTORY']=_0x999296(0xd5),exports[_0x999296(0xea)]=exports[_0x999296(0xde)]+_0x999296(0xfa),exports[_0x999296(0xcf)]=exports[_0x999296(0xde)]+_0x999296(0xd4);const supportPlatform=['visionos'];class ResourceManager{static async[_0x999296(0xdc)](_0x9be8bc){const _0x1fe033=_0x999296,_0x4c340b=(0x0,path_1[_0x1fe033(0xd2)])(process[_0x1fe033(0xe9)](),_0x9be8bc),_0x5d2044=(0x0,path_1[_0x1fe033(0xd2)])(exports[_0x1fe033(0xf6)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x1fe033(0xca)](_0x5d2044)?fs[_0x1fe033(0xe4)](_0x5d2044,{'recursive':!![]}):(0x0,file_1[_0x1fe033(0xf8)])(_0x5d2044);try{(0x0,file_1[_0x1fe033(0xcc)])(_0x4c340b,_0x5d2044);}catch(_0x2c18c2){console['log'](_0x2c18c2);}}static async[_0x999296(0xef)](_0x250b10){const _0xf0816b=_0x999296,_0x4b4a65=_0x250b10[_0xf0816b(0xd8)],_0x1660cb=_0x4b4a65[_0xf0816b(0xf0)][0x0][_0xf0816b(0xcd)],_0xecc99d=!_0x1660cb['startsWith'](_0xf0816b(0xf7))?await(0x0,load_1[_0xf0816b(0xe6)])(_0x1660cb):await(0x0,load_1[_0xf0816b(0xf5)])(_0x1660cb);return _0xecc99d['resize'](0x400,0x400),_0xecc99d;}static['checkPlatformPath'](_0x2b632f){const _0x2316bc=_0x999296,_0x57f717=_0x2b632f!==null&&_0x2b632f!==void 0x0?_0x2b632f:supportPlatform[0x0];if(!supportPlatform['includes'](_0x57f717))throw new Error(_0x2316bc(0xd0)+_0x57f717+_0x2316bc(0xe7)+supportPlatform[_0x2316bc(0xd2)](','));let _0x3f3957=(0x0,path_1['join'])(process[_0x2316bc(0xe9)](),'node_modules/@webspatial/platform-'+_0x57f717);!fs[_0x2316bc(0xca)](_0x3f3957)&&(_0x3f3957=(0x0,path_1['join'])(__dirname,_0x2316bc(0xd1)+_0x57f717));const _0x374ede=fs['existsSync'](_0x3f3957);!_0x374ede&&(0x0,child_process_1[_0x2316bc(0xd6)])(_0x2316bc(0xdd)+(0x0,path_1[_0x2316bc(0xd2)])(__dirname,_0x2316bc(0xce))+_0x2316bc(0xf9)+_0x57f717);let _0x5470cf=(0x0,path_1['join'])(__dirname,_0x2316bc(0xe0)),_0x313902=(0x0,path_1['join'])(_0x5470cf,_0x2316bc(0xe8)+_0x57f717);fs[_0x2316bc(0xca)](_0x5470cf)&&(0x0,child_process_1[_0x2316bc(0xd6)])('rm\x20-rf\x20'+_0x5470cf),fs['mkdirSync'](_0x5470cf),fs[_0x2316bc(0xe4)](_0x313902),(0x0,file_1[_0x2316bc(0xcc)])(_0x3f3957,_0x313902),exports[_0x2316bc(0xf6)]=_0x313902,exports[_0x2316bc(0xe1)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xf6)],'./build'),exports[_0x2316bc(0xe5)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x2316bc(0xda)),exports[_0x2316bc(0xfc)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xe1)],_0x2316bc(0xed));}}exports[_0x999296(0xf3)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x314a6f=_0x5b5c;(function(_0x46796e,_0x4bca3c){const _0x2329bf=_0x5b5c,_0x473f1f=_0x46796e();while(!![]){try{const _0x2b70f7=-parseInt(_0x2329bf(0xb6))/0x1*(parseInt(_0x2329bf(0xd6))/0x2)+parseInt(_0x2329bf(0xd4))/0x3*(parseInt(_0x2329bf(0xba))/0x4)+-parseInt(_0x2329bf(0xdd))/0x5*(parseInt(_0x2329bf(0xc1))/0x6)+-parseInt(_0x2329bf(0xd3))/0x7+-parseInt(_0x2329bf(0xda))/0x8+-parseInt(_0x2329bf(0xbc))/0x9+-parseInt(_0x2329bf(0xd0))/0xa*(-parseInt(_0x2329bf(0xc6))/0xb);if(_0x2b70f7===_0x4bca3c)break;else _0x473f1f['push'](_0x473f1f['shift']());}catch(_0x5ec815){_0x473f1f['push'](_0x473f1f['shift']());}}}(_0x3f18,0x36d9b));Object[_0x314a6f(0xc0)](exports,'__esModule',{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x314a6f(0xad)]=loadJsonFromDisk,exports['loadImageFromNet']=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x314a6f(0xc5)]=loadFileString;function _0x5b5c(_0x1b347a,_0x3077a0){const _0x3f1810=_0x3f18();return _0x5b5c=function(_0x5b5c6d,_0x314593){_0x5b5c6d=_0x5b5c6d-0xab;let _0x466605=_0x3f1810[_0x5b5c6d];return _0x466605;},_0x5b5c(_0x1b347a,_0x3077a0);}const fs=require('fs'),FetchUtils_1_1=require(_0x314a6f(0xdb)),CustomError_1=require(_0x314a6f(0xc3)),Jimp=require(_0x314a6f(0xb7)),imageHelper_1=require(_0x314a6f(0xdc));async function loadJsonFromNet(_0x390233){const _0x1bdc6c=_0x314a6f,_0x248179=await FetchUtils_1_1[_0x1bdc6c(0xae)][_0x1bdc6c(0xbf)](_0x390233,{'encoding':'binary'});if(_0x248179['status']!==0xc8)throw new CustomError_1[(_0x1bdc6c(0xc8))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x390233+'.'+('The\x20response\x20status\x20is\x20'+_0x248179[_0x1bdc6c(0xd7)]+_0x1bdc6c(0xc7)),'message_staring_params':{'web_manifest_url':_0x390233,'status':_0x248179[_0x1bdc6c(0xd7)]}});try{let _0x2948a9;return _0x248179[_0x1bdc6c(0xde)]?_0x2948a9=await _0x248179[_0x1bdc6c(0xde)]():[_0x1bdc6c(0xd1),'deflate','br'][_0x1bdc6c(0xb3)](_0x248179[_0x1bdc6c(0xb8)][_0x1bdc6c(0xcc)])?_0x2948a9=FetchUtils_1_1['fetchUtils'][_0x1bdc6c(0xbe)](Buffer['from'](_0x248179[_0x1bdc6c(0xb2)],_0x1bdc6c(0xbb)),_0x248179[_0x1bdc6c(0xb8)][_0x1bdc6c(0xcc)])[_0x1bdc6c(0xca)]():_0x2948a9=Buffer[_0x1bdc6c(0xb9)](_0x248179[_0x1bdc6c(0xb2)],_0x1bdc6c(0xbb))[_0x1bdc6c(0xca)](),JSON[_0x1bdc6c(0xc9)](_0x2948a9[_0x1bdc6c(0xc2)]());}catch(_0x3f9225){throw new CustomError_1[(_0x1bdc6c(0xc8))]({'code':0xbbd,'message':_0x1bdc6c(0xb5),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x241838){const _0x29b174=_0x314a6f,_0x282431=await loadFileString(_0x241838[_0x29b174(0xca)]());return JSON[_0x29b174(0xc9)](_0x282431);}async function loadImageFromNet(_0x28a5b2){const _0x1e63dc=_0x314a6f,_0x55f645=await FetchUtils_1_1[_0x1e63dc(0xae)][_0x1e63dc(0xbf)](_0x28a5b2,{'encoding':'binary'});if(_0x55f645[_0x1e63dc(0xd7)]!==0xc8)throw new CustomError_1['CustomError']({'code':0x7d2,'message':_0x1e63dc(0xaf)+_0x55f645['status'],'message_staring_params':{'icon_url':_0x28a5b2,'status':_0x55f645[_0x1e63dc(0xd7)]}});const _0xf91f=_0x55f645['headers'][_0x1e63dc(0xb1)]?_0x55f645[_0x1e63dc(0xb8)]['get'](_0x1e63dc(0xb0)):_0x55f645[_0x1e63dc(0xb8)]['content-type'];if(!(_0xf91f===null||_0xf91f===void 0x0?void 0x0:_0xf91f[_0x1e63dc(0xbd)](_0x1e63dc(0xac))))throw new CustomError_1[(_0x1e63dc(0xc8))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0xf91f+'\x22'),'message_staring_params':{'icon_url':_0x28a5b2,'contentType':_0xf91f}});let _0x43682a;_0x55f645[_0x1e63dc(0xce)]?_0x43682a=await _0x55f645[_0x1e63dc(0xce)]():[_0x1e63dc(0xd1),_0x1e63dc(0xab),'br'][_0x1e63dc(0xb3)](_0x55f645['headers']['content-encoding'])?_0x43682a=FetchUtils_1_1['fetchUtils'][_0x1e63dc(0xbe)](Buffer[_0x1e63dc(0xb9)](_0x55f645['data'],_0x1e63dc(0xbb)),_0x55f645['headers'][_0x1e63dc(0xcc)]):_0x43682a=Buffer[_0x1e63dc(0xb9)](_0x55f645[_0x1e63dc(0xb2)],'binary');if(_0xf91f[_0x1e63dc(0xbd)](_0x1e63dc(0xd9))){const _0xc9714b=new TextDecoder();try{_0x43682a=await imageHelper_1['ImageHelper'][_0x1e63dc(0xd2)](_0xc9714b[_0x1e63dc(0xcf)](_0x43682a));}catch(_0x555ccc){throw new CustomError_1['CustomError']({'code':0x7d4,'message':_0x1e63dc(0xc4)+_0x28a5b2+':\x20'+_0x555ccc,'message_staring_params':{'icon_url':_0x28a5b2,'error':_0x555ccc}});}}return _0xf91f['startsWith'](_0x1e63dc(0xd5))&&(_0x43682a=await imageHelper_1[_0x1e63dc(0xb4)][_0x1e63dc(0xcb)](_0x43682a)),await Jimp[_0x1e63dc(0xcd)](Buffer['from'](_0x43682a));}function _0x3f18(){const _0x723156=['ImageHelper','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','1XkSdlP','jimp','headers','from','64CLjczj','binary','936423jSiweF','startsWith','decompressResponseBuffer','fetch','defineProperty','6lIHAVI','trim','../utils/CustomError','Problem\x20reading\x20','loadFileString','13975126PdoFDv',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','CustomError','parse','toString','webp2PngBuffer','content-encoding','read','arrayBuffer','decode','10TYkjiP','gzip','svg2img','1279047rYkzfD','5784lCYHyt','image/webp','73090bFOIvR','status','promises','image/svg','3443712KzTvyp','../utils/FetchUtils-1','./imageHelper','1614350qRCZWw','text','deflate','image/','loadJsonFromDisk','fetchUtils','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','content-type','get','data','includes'];_0x3f18=function(){return _0x723156;};return _0x3f18();}async function loadImageFromDisk(_0x539522){const _0x5c723d=_0x314a6f;return await Jimp[_0x5c723d(0xcd)](_0x539522);}async function loadFileString(_0x3421b0){const _0x523d4e=_0x314a6f;let _0x5d7a7b=await fs[_0x523d4e(0xd8)]['readFile'](_0x3421b0[_0x523d4e(0xca)]());return _0x5d7a7b[_0x523d4e(0xca)]();}
1
+ 'use strict';const _0x130637=_0x52f5;(function(_0x3659df,_0x4758fb){const _0x12a098=_0x52f5,_0x55b445=_0x3659df();while(!![]){try{const _0x5269a4=-parseInt(_0x12a098(0x112))/0x1*(-parseInt(_0x12a098(0xf0))/0x2)+-parseInt(_0x12a098(0xfd))/0x3*(-parseInt(_0x12a098(0xfe))/0x4)+-parseInt(_0x12a098(0x10e))/0x5*(-parseInt(_0x12a098(0x107))/0x6)+-parseInt(_0x12a098(0xf5))/0x7*(parseInt(_0x12a098(0x10a))/0x8)+-parseInt(_0x12a098(0xfb))/0x9+parseInt(_0x12a098(0x105))/0xa+-parseInt(_0x12a098(0x106))/0xb;if(_0x5269a4===_0x4758fb)break;else _0x55b445['push'](_0x55b445['shift']());}catch(_0x1959a5){_0x55b445['push'](_0x55b445['shift']());}}}(_0x2071,0xe776a));Object['defineProperty'](exports,_0x130637(0xf8),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x130637(0xed)]=loadJsonFromDisk,exports[_0x130637(0x109)]=loadImageFromNet,exports[_0x130637(0x114)]=loadImageFromDisk,exports[_0x130637(0xe8)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x130637(0xf7)),Jimp=require(_0x130637(0xf3)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x1308b0){const _0x5a14a7=_0x130637,_0x282947=await FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xee)](_0x1308b0,{'encoding':_0x5a14a7(0x115)});if(_0x282947[_0x5a14a7(0xfa)]!==0xc8)throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbc,'message':_0x5a14a7(0xf4)+_0x1308b0+'.'+('The\x20response\x20status\x20is\x20'+_0x282947[_0x5a14a7(0xfa)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x1308b0,'status':_0x282947[_0x5a14a7(0xfa)]}});try{let _0xc09815;return _0x282947['text']?_0xc09815=await _0x282947['text']():['gzip',_0x5a14a7(0xf9),'br'][_0x5a14a7(0x10d)](_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])?_0xc09815=FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xf2)](Buffer['from'](_0x282947[_0x5a14a7(0x116)],'binary'),_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])[_0x5a14a7(0x103)]():_0xc09815=Buffer[_0x5a14a7(0xe9)](_0x282947[_0x5a14a7(0x116)],_0x5a14a7(0x115))['toString'](),JSON[_0x5a14a7(0x100)](_0xc09815[_0x5a14a7(0x113)]());}catch(_0x3f752b){throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbd,'message':_0x5a14a7(0xec),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x39b74a){const _0x124e87=_0x130637,_0x51e461=await loadFileString(_0x39b74a['toString']());return JSON[_0x124e87(0x100)](_0x51e461);}async function loadImageFromNet(_0x57274e){const _0x2f0c85=_0x130637,_0x193551=await FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xee)](_0x57274e,{'encoding':_0x2f0c85(0x115)});if(_0x193551['status']!==0xc8)throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x193551[_0x2f0c85(0xfa)],'message_staring_params':{'icon_url':_0x57274e,'status':_0x193551[_0x2f0c85(0xfa)]}});const _0x53019d=_0x193551['headers'][_0x2f0c85(0x104)]?_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x104)](_0x2f0c85(0xff)):_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0xff)];if(!(_0x53019d===null||_0x53019d===void 0x0?void 0x0:_0x53019d[_0x2f0c85(0x10c)]('image/')))throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d3,'message':_0x2f0c85(0x108)+(_0x2f0c85(0xfc)+_0x53019d+'\x22'),'message_staring_params':{'icon_url':_0x57274e,'contentType':_0x53019d}});let _0x5ed984;_0x193551[_0x2f0c85(0x110)]?_0x5ed984=await _0x193551['arrayBuffer']():[_0x2f0c85(0xea),_0x2f0c85(0xf9),'br'][_0x2f0c85(0x10d)](_0x193551[_0x2f0c85(0x101)]['content-encoding'])?_0x5ed984=FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xf2)](Buffer[_0x2f0c85(0xe9)](_0x193551[_0x2f0c85(0x116)],_0x2f0c85(0x115)),_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x10f)]):_0x5ed984=Buffer[_0x2f0c85(0xe9)](_0x193551['data'],_0x2f0c85(0x115));if(_0x53019d['startsWith'](_0x2f0c85(0xf1))){const _0x313f29=new TextDecoder();try{_0x5ed984=await imageHelper_1[_0x2f0c85(0xef)]['svg2img'](_0x313f29['decode'](_0x5ed984));}catch(_0x36d485){throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x57274e+':\x20'+_0x36d485,'message_staring_params':{'icon_url':_0x57274e,'error':_0x36d485}});}}return _0x53019d[_0x2f0c85(0x10c)](_0x2f0c85(0x102))&&(_0x5ed984=await imageHelper_1['ImageHelper'][_0x2f0c85(0x10b)](_0x5ed984)),await Jimp[_0x2f0c85(0x111)](Buffer['from'](_0x5ed984));}function _0x2071(){const _0x495669=['loadImageFromNet','376oAMFhp','webp2PngBuffer','startsWith','includes','365xSUiCx','content-encoding','arrayBuffer','read','53VtjPUL','trim','loadImageFromDisk','binary','data','loadFileString','from','gzip','CustomError','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadJsonFromDisk','fetch','ImageHelper','7788CYQvkh','image/svg','decompressResponseBuffer','jimp','Failed\x20to\x20download\x20Web\x20Manifest\x20','169960yYHxoM','fetchUtils','../utils/CustomError','__esModule','deflate','status','1450737UlbBlQ','\x20Responded\x20with\x20Content-Type\x20\x22','909eWTKIE','24660XWIuvP','content-type','parse','headers','image/webp','toString','get','16841830CMkqGx','21464476uAGuhF','36426WmIBTn','Received\x20icon\x20with\x20invalid\x20Content-Type.'];_0x2071=function(){return _0x495669;};return _0x2071();}async function loadImageFromDisk(_0x1210c7){const _0x284b08=_0x130637;return await Jimp[_0x284b08(0x111)](_0x1210c7);}function _0x52f5(_0xf334df,_0x3ae905){const _0x2071dd=_0x2071();return _0x52f5=function(_0x52f515,_0x1cb1c2){_0x52f515=_0x52f515-0xe8;let _0x2e5d20=_0x2071dd[_0x52f515];return _0x2e5d20;},_0x52f5(_0xf334df,_0x3ae905);}async function loadFileString(_0x104b97){const _0xfb5a16=_0x130637;let _0x572601=await fs['promises']['readFile'](_0x104b97[_0xfb5a16(0x103)]());return _0x572601[_0xfb5a16(0x103)]();}
@@ -0,0 +1,27 @@
1
+ export interface PWAInitArgs {
2
+ 'manifest-url'?: string;
3
+ manifest?: string;
4
+ project?: string;
5
+ base: string;
6
+ 'bundle-id'?: string;
7
+ }
8
+ export interface ManifestInfo {
9
+ json: Record<string, any>;
10
+ url: string;
11
+ fromNet: boolean;
12
+ }
13
+ export interface HistoryInfo {
14
+ cmd: string;
15
+ manifest: Record<string, any>;
16
+ appInfo: BasicAppInfo;
17
+ simulator: string;
18
+ }
19
+ export interface SimulatorInfo {
20
+ name: string;
21
+ deviceId: string;
22
+ state: string;
23
+ }
24
+ export interface BasicAppInfo {
25
+ name: string;
26
+ id: string;
27
+ }
@@ -0,0 +1 @@
1
+ 'use strict';function _0x3fc6(_0x15c879,_0x12f96c){var _0x2b1c0e=_0x2b1c();return _0x3fc6=function(_0x3fc6a6,_0x3b1faf){_0x3fc6a6=_0x3fc6a6-0x178;var _0x216781=_0x2b1c0e[_0x3fc6a6];return _0x216781;},_0x3fc6(_0x15c879,_0x12f96c);}var _0x3afb37=_0x3fc6;(function(_0x4dd779,_0x537568){var _0x28766a=_0x3fc6,_0x116252=_0x4dd779();while(!![]){try{var _0x376dfa=-parseInt(_0x28766a(0x17e))/0x1+-parseInt(_0x28766a(0x183))/0x2+parseInt(_0x28766a(0x17b))/0x3*(parseInt(_0x28766a(0x179))/0x4)+parseInt(_0x28766a(0x181))/0x5*(parseInt(_0x28766a(0x17f))/0x6)+-parseInt(_0x28766a(0x17d))/0x7*(parseInt(_0x28766a(0x182))/0x8)+-parseInt(_0x28766a(0x180))/0x9*(-parseInt(_0x28766a(0x184))/0xa)+-parseInt(_0x28766a(0x178))/0xb*(-parseInt(_0x28766a(0x17a))/0xc);if(_0x376dfa===_0x537568)break;else _0x116252['push'](_0x116252['shift']());}catch(_0x3d685a){_0x116252['push'](_0x116252['shift']());}}}(_0x2b1c,0x1ef13));function _0x2b1c(){var _0x405a79=['330pYpXrt','22UDJATI','2740dJRiqI','1091148dydHlN','390NGQGXj','__esModule','986069bBmrle','136785LNTDnz','234DvdACD','44397XozypD','6130VrUIAr','8JsFpjh','154240cLuPnP'];_0x2b1c=function(){return _0x405a79;};return _0x2b1c();}Object['defineProperty'](exports,_0x3afb37(0x17c),{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';var _0x1c58d3=_0x345a;(function(_0x554e99,_0x32704b){var _0x464a96=_0x345a,_0x413e74=_0x554e99();while(!![]){try{var _0x130754=parseInt(_0x464a96(0x1c7))/0x1*(-parseInt(_0x464a96(0x1d6))/0x2)+parseInt(_0x464a96(0x1d0))/0x3+-parseInt(_0x464a96(0x1d4))/0x4*(parseInt(_0x464a96(0x1cd))/0x5)+parseInt(_0x464a96(0x1d2))/0x6*(-parseInt(_0x464a96(0x1d5))/0x7)+parseInt(_0x464a96(0x1c8))/0x8*(parseInt(_0x464a96(0x1cf))/0x9)+-parseInt(_0x464a96(0x1ce))/0xa*(-parseInt(_0x464a96(0x1ca))/0xb)+-parseInt(_0x464a96(0x1c9))/0xc*(-parseInt(_0x464a96(0x1cc))/0xd);if(_0x130754===_0x32704b)break;else _0x413e74['push'](_0x413e74['shift']());}catch(_0x1bd7d0){_0x413e74['push'](_0x413e74['shift']());}}}(_0x17cf,0x5a21e));function _0x345a(_0x330759,_0x57b57a){var _0x17cfc2=_0x17cf();return _0x345a=function(_0x345a43,_0x517d53){_0x345a43=_0x345a43-0x1c7;var _0x3cfe71=_0x17cfc2[_0x345a43];return _0x3cfe71;},_0x345a(_0x330759,_0x57b57a);}Object[_0x1c58d3(0x1d9)](exports,_0x1c58d3(0x1cb),{'value':!![]}),exports[_0x1c58d3(0x1d8)]=void 0x0;class CustomError extends Error{constructor(_0x28350f,_0x2746cc){var _0x34163e=_0x1c58d3;super(JSON[_0x34163e(0x1da)](_0x28350f)),this[_0x34163e(0x1d7)]=_0x28350f,this[_0x34163e(0x1d3)]=_0x2746cc||_0x34163e(0x1d1);}}exports[_0x1c58d3(0x1d8)]=CustomError;function _0x17cf(){var _0x2b324e=['CustomError','defineProperty','stringify','51919DZkyNf','124952BCdgEW','24YbRFRl','22hnMPRD','__esModule','2199613lUUeWo','503290FRDDWv','1519170gXUrLN','261wuWVDX','1434840Btmafm','info','36ugkplx','type','20PQeSgu','272678sGWvmE','18kFLeEi','customMessage'];_0x17cf=function(){return _0x2b324e;};return _0x17cf();}
1
+ 'use strict';function _0x1c5a(){var _0x163165=['stringify','3694970VIRjak','9BhwWbF','__esModule','91tDqkCS','info','customMessage','18bXccmC','CustomError','175860HXGRUJ','1941104JGcwUb','12WMBSSu','431724jrFVmL','45COOoyf','182608KYtkMB','17508414QvjUXc','43268GCutoO'];_0x1c5a=function(){return _0x163165;};return _0x1c5a();}var _0x37a85d=_0x37c6;(function(_0x2a2589,_0xabbbe3){var _0x1bf1d8=_0x37c6,_0x1375be=_0x2a2589();while(!![]){try{var _0x5409f9=parseInt(_0x1bf1d8(0x69))/0x1*(-parseInt(_0x1bf1d8(0x75))/0x2)+-parseInt(_0x1bf1d8(0x74))/0x3*(parseInt(_0x1bf1d8(0x77))/0x4)+-parseInt(_0x1bf1d8(0x70))/0x5+parseInt(_0x1bf1d8(0x73))/0x6*(parseInt(_0x1bf1d8(0x6b))/0x7)+-parseInt(_0x1bf1d8(0x71))/0x8+-parseInt(_0x1bf1d8(0x6e))/0x9*(parseInt(_0x1bf1d8(0x79))/0xa)+parseInt(_0x1bf1d8(0x76))/0xb*(parseInt(_0x1bf1d8(0x72))/0xc);if(_0x5409f9===_0xabbbe3)break;else _0x1375be['push'](_0x1375be['shift']());}catch(_0x5bd76f){_0x1375be['push'](_0x1375be['shift']());}}}(_0x1c5a,0x807c9));function _0x37c6(_0x1ad943,_0x11d30f){var _0x1c5a7b=_0x1c5a();return _0x37c6=function(_0x37c632,_0x1018bf){_0x37c632=_0x37c632-0x69;var _0x8a4a12=_0x1c5a7b[_0x37c632];return _0x8a4a12;},_0x37c6(_0x1ad943,_0x11d30f);}Object['defineProperty'](exports,_0x37a85d(0x6a),{'value':!![]}),exports[_0x37a85d(0x6f)]=void 0x0;class CustomError extends Error{constructor(_0x2cc935,_0x1236ea){var _0x5ef2aa=_0x37a85d;super(JSON[_0x5ef2aa(0x78)](_0x2cc935)),this[_0x5ef2aa(0x6d)]=_0x2cc935,this['type']=_0x1236ea||_0x5ef2aa(0x6c);}}exports[_0x37a85d(0x6f)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x264519=_0x8197;(function(_0x582f47,_0x5a9088){const _0x3d58d0=_0x8197,_0x13b348=_0x582f47();while(!![]){try{const _0x382143=-parseInt(_0x3d58d0(0xaa))/0x1+-parseInt(_0x3d58d0(0x9c))/0x2+-parseInt(_0x3d58d0(0x9e))/0x3*(-parseInt(_0x3d58d0(0xa5))/0x4)+-parseInt(_0x3d58d0(0xa7))/0x5+-parseInt(_0x3d58d0(0xa3))/0x6+-parseInt(_0x3d58d0(0xab))/0x7*(parseInt(_0x3d58d0(0x9a))/0x8)+parseInt(_0x3d58d0(0xa2))/0x9;if(_0x382143===_0x5a9088)break;else _0x13b348['push'](_0x13b348['shift']());}catch(_0xc058b3){_0x13b348['push'](_0x13b348['shift']());}}}(_0x220b,0x5eba8));Object[_0x264519(0xac)](exports,_0x264519(0x9d),{'value':!![]}),exports[_0x264519(0x9b)]=void 0x0;class FetchUtils{constructor(){const _0x2e217f=_0x264519;this[_0x2e217f(0xa1)]=null,this[_0x2e217f(0xa8)]=null,this[_0x2e217f(0xa0)]=null,this[_0x2e217f(0xa6)]=null;}['setFetchEngine'](_0x9e7eac){const _0x219771=_0x264519;this[_0x219771(0xa1)]=_0x9e7eac;}[_0x264519(0xa9)](_0x34583b){this['fetch']=_0x34583b;}[_0x264519(0xa4)](_0x3204de){const _0x1f7499=_0x264519;this[_0x1f7499(0xa0)]=_0x3204de;}[_0x264519(0x9f)](_0x27b0d9){const _0x326ae9=_0x264519;this[_0x326ae9(0xa6)]=_0x27b0d9;}}function _0x220b(){const _0x125edf=['521038BcPHUB','__esModule','840564vexazM','setDecompressResponseBuffer','downloadFile','fetchEngine','10500210PXvKCA','376542IdVIyY','setDownloadFile','4ndIrww','decompressResponseBuffer','687225mkRctf','fetch','setFetch','556361mVfFHy','868nkpDaP','defineProperty','2696TBNZOg','fetchUtils'];_0x220b=function(){return _0x125edf;};return _0x220b();}function _0x8197(_0x340841,_0xff06d7){const _0x220bca=_0x220b();return _0x8197=function(_0x819767,_0x1b0fca){_0x819767=_0x819767-0x9a;let _0x40095e=_0x220bca[_0x819767];return _0x40095e;},_0x8197(_0x340841,_0xff06d7);}const fetchUtils=new FetchUtils();exports['fetchUtils']=fetchUtils;
1
+ 'use strict';const _0x2ac1dc=_0x5171;(function(_0x10fc45,_0x17dbb1){const _0x273749=_0x5171,_0x2d9d8c=_0x10fc45();while(!![]){try{const _0x3aa1b1=parseInt(_0x273749(0x122))/0x1+parseInt(_0x273749(0x119))/0x2*(parseInt(_0x273749(0x118))/0x3)+-parseInt(_0x273749(0x11c))/0x4+parseInt(_0x273749(0x11f))/0x5+parseInt(_0x273749(0x11d))/0x6+-parseInt(_0x273749(0x11b))/0x7+parseInt(_0x273749(0x111))/0x8*(-parseInt(_0x273749(0x113))/0x9);if(_0x3aa1b1===_0x17dbb1)break;else _0x2d9d8c['push'](_0x2d9d8c['shift']());}catch(_0x28fdf2){_0x2d9d8c['push'](_0x2d9d8c['shift']());}}}(_0x6f35,0x93767));function _0x6f35(){const _0x1bb194=['15rUelkx','239566PmsvkO','downloadFile','7771015BIxWAD','1857492yvsoRf','2059062zKCgYS','setDownloadFile','5876315PoDGnW','fetchUtils','setFetch','988766eHHiqv','defineProperty','setFetchEngine','16OGuZwk','fetchEngine','4174182IWRDpc','setDecompressResponseBuffer','__esModule','decompressResponseBuffer','fetch'];_0x6f35=function(){return _0x1bb194;};return _0x6f35();}function _0x5171(_0x59894d,_0x5a2548){const _0x6f35c6=_0x6f35();return _0x5171=function(_0x51710d,_0x495f5f){_0x51710d=_0x51710d-0x110;let _0x1be1ec=_0x6f35c6[_0x51710d];return _0x1be1ec;},_0x5171(_0x59894d,_0x5a2548);}Object[_0x2ac1dc(0x123)](exports,_0x2ac1dc(0x115),{'value':!![]}),exports[_0x2ac1dc(0x120)]=void 0x0;class FetchUtils{constructor(){const _0x59b8bf=_0x2ac1dc;this[_0x59b8bf(0x112)]=null,this[_0x59b8bf(0x117)]=null,this[_0x59b8bf(0x11a)]=null,this['decompressResponseBuffer']=null;}[_0x2ac1dc(0x110)](_0xaf525b){const _0x20e170=_0x2ac1dc;this[_0x20e170(0x112)]=_0xaf525b;}[_0x2ac1dc(0x121)](_0x333e8e){const _0x1219a0=_0x2ac1dc;this[_0x1219a0(0x117)]=_0x333e8e;}[_0x2ac1dc(0x11e)](_0x5138be){const _0x18c572=_0x2ac1dc;this[_0x18c572(0x11a)]=_0x5138be;}[_0x2ac1dc(0x114)](_0x21f929){const _0x3cb79a=_0x2ac1dc;this[_0x3cb79a(0x116)]=_0x21f929;}}const fetchUtils=new FetchUtils();exports[_0x2ac1dc(0x120)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x5bcda3=_0x5480;(function(_0x4577db,_0x46f921){var _0x4629a5=_0x5480,_0x3dc2a2=_0x4577db();while(!![]){try{var _0x542fd7=parseInt(_0x4629a5(0xe2))/0x1*(-parseInt(_0x4629a5(0xf0))/0x2)+parseInt(_0x4629a5(0xf5))/0x3*(-parseInt(_0x4629a5(0xed))/0x4)+-parseInt(_0x4629a5(0xe8))/0x5+parseInt(_0x4629a5(0xe5))/0x6+parseInt(_0x4629a5(0xf6))/0x7*(-parseInt(_0x4629a5(0xfa))/0x8)+parseInt(_0x4629a5(0xeb))/0x9*(-parseInt(_0x4629a5(0xfd))/0xa)+parseInt(_0x4629a5(0xe4))/0xb;if(_0x542fd7===_0x46f921)break;else _0x3dc2a2['push'](_0x3dc2a2['shift']());}catch(_0x2658d1){_0x3dc2a2['push'](_0x3dc2a2['shift']());}}}(_0x4518,0xefdcc));function _0x5480(_0x272679,_0x268a14){var _0x451850=_0x4518();return _0x5480=function(_0x54803f,_0x3066f3){_0x54803f=_0x54803f-0xdf;var _0xdbae63=_0x451850[_0x54803f];return _0xdbae63;},_0x5480(_0x272679,_0x268a14);}Object[_0x5bcda3(0xf7)](exports,_0x5bcda3(0xef),{'value':!![]}),exports[_0x5bcda3(0xff)]=void 0x0;class ConsoleLog{constructor(_0x40d5ef='',_0x4672fd=![],_0x95ce9=console){var _0x1959e6=_0x5bcda3;this[_0x1959e6(0xf1)]=_0x40d5ef,this[_0x1959e6(0xe7)]=_0x4672fd,this[_0x1959e6(0xdf)]=this['inverse'](_0x40d5ef),this[_0x1959e6(0xec)]=_0x95ce9;}[_0x5bcda3(0xe1)](_0x8c9e5a,..._0x1fa29f){var _0x43a0d7=_0x5bcda3;if(!this[_0x43a0d7(0xe7)])return;this[_0x43a0d7(0xf4)](this['output'][_0x43a0d7(0xf4)],this[_0x43a0d7(0x100)](_0x8c9e5a),..._0x1fa29f);}[_0x5bcda3(0xe6)](_0x1cdbad,..._0x3c8c07){var _0x160e44=_0x5bcda3;this[_0x160e44(0xf4)](this[_0x160e44(0xec)]['log'],_0x1cdbad,..._0x3c8c07);}[_0x5bcda3(0xfe)](_0x394f41,..._0x18d51b){var _0xea7864=_0x5bcda3;this[_0xea7864(0xf4)](this[_0xea7864(0xec)][_0xea7864(0xfe)],this[_0xea7864(0xfc)](_0xea7864(0xfb)+_0x394f41),..._0x18d51b);}['error'](_0x1a936f,..._0x93d595){var _0x37151e=_0x5bcda3;this['output'][_0x37151e(0xe0)]('\x0a'),this[_0x37151e(0xf4)](this[_0x37151e(0xec)][_0x37151e(0xe0)],this[_0x37151e(0xf9)]('ERROR\x20'+_0x1a936f),..._0x93d595),this[_0x37151e(0xec)]['error']('\x0a');}['setVerbose'](_0x13a51a){this['verbose']=_0x13a51a;}[_0x5bcda3(0xf2)](_0x62894){var _0x4c4a2b=_0x5bcda3;return this[_0x4c4a2b(0xf1)]&&(_0x62894=this['tag']+'\x20'+_0x62894),new ConsoleLog(_0x62894,this[_0x4c4a2b(0xe7)],this[_0x4c4a2b(0xec)]);}[_0x5bcda3(0xf4)](_0x4d4b3a,_0x13ba60,..._0x5d6ebb){var _0x163f61=_0x5bcda3;this[_0x163f61(0xdf)]&&(_0x13ba60=this['prefix']+'\x20'+_0x13ba60),_0x5d6ebb?_0x4d4b3a(...[_0x13ba60][_0x163f61(0xe3)](_0x5d6ebb)):_0x4d4b3a(_0x13ba60);}['inverse'](_0x49fb91){var _0x44f85a=_0x5bcda3;return _0x44f85a(0xee)+_0x49fb91+_0x44f85a(0xf3);}['dim'](_0x2223d1){var _0x29ee0f=_0x5bcda3;return _0x29ee0f(0xf8)+_0x2223d1+_0x29ee0f(0xf3);}[_0x5bcda3(0xfc)](_0x4ef3e3){var _0xd56833=_0x5bcda3;return _0xd56833(0xea)+_0x4ef3e3+'\x1b[0m';}[_0x5bcda3(0xf9)](_0x275e42){var _0x4bfa17=_0x5bcda3;return _0x4bfa17(0xe9)+_0x275e42+'\x1b[0m';}}function _0x4518(){var _0x35dc2e=['477724bOIgAo','tag','newLog','\x1b[0m','log','9McPdBD','581lTclhT','defineProperty','\x1b[36m','red','129256ZUWGGc','WARNING\x20','yellow','10OUBWkJ','warn','ConsoleLog','dim','prefix','error','debug','7hJbYoz','concat','48503499pwQQfQ','10175088ZLxnfR','info','verbose','1583330xPuawq','\x1b[31m','\x1b[33m','1256373bUywxI','output','2204604UtkOCO','\x1b[7m','__esModule'];_0x4518=function(){return _0x35dc2e;};return _0x4518();}exports[_0x5bcda3(0xff)]=ConsoleLog;
1
+ 'use strict';function _0x57c7(){var _0x26e610=['3rzAWOU','yellow','tag','12tZPhqG','\x1b[0m','119131qKxiuH','concat','2840eVkUgV','warn','info','12dqLhOI','1352bTkFDi','17706247pDuJXN','27801gYKTQk','output','2256076ykfwNi','\x1b[31m','2022419izqtow','debug','\x1b[36m','setVerbose','1123860UVvRbm','2qvYwdM','verbose','WARNING\x20','\x1b[33m','log','error','671oCuOFr','ERROR\x20','inverse','dim','red','__esModule','prefix'];_0x57c7=function(){return _0x26e610;};return _0x57c7();}var _0x555314=_0x2f45;(function(_0x5177f3,_0x1696d3){var _0x53944f=_0x2f45,_0x262884=_0x5177f3();while(!![]){try{var _0x3381a1=-parseInt(_0x53944f(0xd0))/0x1*(parseInt(_0x53944f(0xe1))/0x2)+parseInt(_0x53944f(0xcb))/0x3*(parseInt(_0x53944f(0xda))/0x4)+-parseInt(_0x53944f(0xe0))/0x5*(-parseInt(_0x53944f(0xd5))/0x6)+parseInt(_0x53944f(0xdc))/0x7+parseInt(_0x53944f(0xd6))/0x8*(parseInt(_0x53944f(0xd8))/0x9)+parseInt(_0x53944f(0xd2))/0xa*(parseInt(_0x53944f(0xc4))/0xb)+-parseInt(_0x53944f(0xce))/0xc*(parseInt(_0x53944f(0xd7))/0xd);if(_0x3381a1===_0x1696d3)break;else _0x262884['push'](_0x262884['shift']());}catch(_0x5ef4bd){_0x262884['push'](_0x262884['shift']());}}}(_0x57c7,0x580f7));Object['defineProperty'](exports,_0x555314(0xc9),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x702f18='',_0x500d8b=![],_0x14ae0f=console){var _0x4081ef=_0x555314;this[_0x4081ef(0xcd)]=_0x702f18,this[_0x4081ef(0xe2)]=_0x500d8b,this[_0x4081ef(0xca)]=this[_0x4081ef(0xc6)](_0x702f18),this[_0x4081ef(0xd9)]=_0x14ae0f;}[_0x555314(0xdd)](_0x18805c,..._0x454de1){var _0x2d3d66=_0x555314;if(!this[_0x2d3d66(0xe2)])return;this['log'](this['output'][_0x2d3d66(0xc2)],this[_0x2d3d66(0xc7)](_0x18805c),..._0x454de1);}[_0x555314(0xd4)](_0x2b2ebd,..._0x1af969){var _0x3a5bf0=_0x555314;this[_0x3a5bf0(0xc2)](this[_0x3a5bf0(0xd9)][_0x3a5bf0(0xc2)],_0x2b2ebd,..._0x1af969);}[_0x555314(0xd3)](_0x317fac,..._0x416691){var _0x9295de=_0x555314;this[_0x9295de(0xc2)](this['output'][_0x9295de(0xd3)],this[_0x9295de(0xcc)](_0x9295de(0xe3)+_0x317fac),..._0x416691);}[_0x555314(0xc3)](_0x56174f,..._0x63d89c){var _0x2e5299=_0x555314;this[_0x2e5299(0xd9)][_0x2e5299(0xc3)]('\x0a'),this[_0x2e5299(0xc2)](this[_0x2e5299(0xd9)][_0x2e5299(0xc3)],this[_0x2e5299(0xc8)](_0x2e5299(0xc5)+_0x56174f),..._0x63d89c),this['output'][_0x2e5299(0xc3)]('\x0a');}[_0x555314(0xdf)](_0xcf26ec){var _0x1e39ce=_0x555314;this[_0x1e39ce(0xe2)]=_0xcf26ec;}['newLog'](_0x1a6dec){var _0x2c5f98=_0x555314;return this[_0x2c5f98(0xcd)]&&(_0x1a6dec=this['tag']+'\x20'+_0x1a6dec),new ConsoleLog(_0x1a6dec,this[_0x2c5f98(0xe2)],this[_0x2c5f98(0xd9)]);}['log'](_0x2b8e94,_0x2128b8,..._0x3d81b1){var _0x4d82da=_0x555314;this[_0x4d82da(0xca)]&&(_0x2128b8=this[_0x4d82da(0xca)]+'\x20'+_0x2128b8),_0x3d81b1?_0x2b8e94(...[_0x2128b8][_0x4d82da(0xd1)](_0x3d81b1)):_0x2b8e94(_0x2128b8);}[_0x555314(0xc6)](_0x5bb97c){return'\x1b[7m'+_0x5bb97c+'\x1b[0m';}[_0x555314(0xc7)](_0xb6e61){var _0x45787c=_0x555314;return _0x45787c(0xde)+_0xb6e61+'\x1b[0m';}[_0x555314(0xcc)](_0x193bbe){var _0x3d8830=_0x555314;return _0x3d8830(0xe4)+_0x193bbe+_0x3d8830(0xcf);}['red'](_0x507956){var _0x16e50a=_0x555314;return _0x16e50a(0xdb)+_0x507956+_0x16e50a(0xcf);}}function _0x2f45(_0x34e8cc,_0x22aeea){var _0x57c797=_0x57c7();return _0x2f45=function(_0x2f451a,_0x1600b0){_0x2f451a=_0x2f451a-0xc2;var _0x51e0fc=_0x57c797[_0x2f451a];return _0x51e0fc;},_0x2f45(_0x34e8cc,_0x22aeea);}exports['ConsoleLog']=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x3d1aa8=_0x15f1;(function(_0x3826d9,_0x16d7f4){const _0x457beb=_0x15f1,_0x5c8c2a=_0x3826d9();while(!![]){try{const _0x5a291d=parseInt(_0x457beb(0x153))/0x1*(parseInt(_0x457beb(0x15d))/0x2)+parseInt(_0x457beb(0x14f))/0x3*(-parseInt(_0x457beb(0x159))/0x4)+parseInt(_0x457beb(0x15a))/0x5+parseInt(_0x457beb(0x151))/0x6+parseInt(_0x457beb(0x15e))/0x7+-parseInt(_0x457beb(0x155))/0x8*(-parseInt(_0x457beb(0x143))/0x9)+parseInt(_0x457beb(0x146))/0xa*(-parseInt(_0x457beb(0x150))/0xb);if(_0x5a291d===_0x16d7f4)break;else _0x5c8c2a['push'](_0x5c8c2a['shift']());}catch(_0x339b0d){_0x5c8c2a['push'](_0x5c8c2a['shift']());}}}(_0x5f2c,0x86f22));function _0x15f1(_0x5a9ad2,_0xcd3141){const _0x5f2ccf=_0x5f2c();return _0x15f1=function(_0x15f17a,_0x539e4c){_0x15f17a=_0x15f17a-0x143;let _0xe8f9b0=_0x5f2ccf[_0x15f17a];return _0xe8f9b0;},_0x15f1(_0x5a9ad2,_0xcd3141);}Object[_0x3d1aa8(0x152)](exports,'__esModule',{'value':!![]}),exports[_0x3d1aa8(0x145)]=fetch,exports[_0x3d1aa8(0x149)]=downloadFile,exports[_0x3d1aa8(0x158)]=decompressResponseBuffer;const fetch_h2_1=require(_0x3d1aa8(0x156)),fs=require('fs'),zlib=require(_0x3d1aa8(0x15c)),userAgent=_0x3d1aa8(0x14c),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x3d1aa8(0x145)];async function fetch(_0x33102b,_0x48427a){const _0xbe2919=_0x3d1aa8;return await fetchh2(_0x33102b,_0x48427a?{'redirect':_0xbe2919(0x161),..._0x48427a}:{'redirect':'follow'});}async function downloadFile(_0x389844,_0x4b273a,_0xb83227){const _0x1d5770=_0x3d1aa8;let _0x2ca7e3,_0x528791;_0x2ca7e3=await fetchh2(_0x389844,{'redirect':_0x1d5770(0x161)}),_0x528791=await _0x2ca7e3[_0x1d5770(0x14d)]();const _0x352d7f=_0x2ca7e3[_0x1d5770(0x148)][_0x1d5770(0x15f)](_0x1d5770(0x154)),_0x29ed5a=_0x352d7f?parseInt(_0x352d7f):-0x1,_0x353b7=fs[_0x1d5770(0x147)](_0x4b273a);let _0x189fe6=0x0;await new Promise((_0x2d4b25,_0x2c248f)=>{const _0x3c0341=_0x1d5770;_0x528791['pipe'](_0x353b7),_0xb83227&&_0x528791['on'](_0x3c0341(0x162),_0x461740=>{const _0x460319=_0x3c0341;_0x189fe6=_0x189fe6+_0x461740[_0x460319(0x14b)],_0xb83227(_0x189fe6,_0x29ed5a);}),_0x528791['on'](_0x3c0341(0x15b),_0x4d7b4c=>{_0x2c248f(_0x4d7b4c);}),_0x353b7['on'](_0x3c0341(0x14a),()=>{_0x2d4b25();});});}function _0x5f2c(){const _0x8ca1ab=['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','readable','Z_SYNC_FLUSH','6qaMoGI','44MqePqP','4829112NnbcYw','defineProperty','1HhiJWb','Content-Length','10984IwUhFY','fetch-h2','test','decompressResponseBuffer','327692sEIJCg','2473190WigNMk','error','zlib','451534vzDwPb','3279514eyFDxO','get','constants','follow','data','3789CEvxqX','brotliDecompressSync','fetch','4638020FzxTii','createWriteStream','headers','downloadFile','finish','length'];_0x5f2c=function(){return _0x8ca1ab;};return _0x5f2c();}function decompressResponseBuffer(_0x46b43b,_0x3c8e8a){const _0x23ff8f=_0x3d1aa8;let _0x5eab9d=_0x46b43b;if(/\bgzip\b/[_0x23ff8f(0x157)](_0x3c8e8a)||/\bdeflate\b/[_0x23ff8f(0x157)](_0x3c8e8a))_0x5eab9d=zlib['unzipSync'](_0x46b43b,{'flush':zlib['constants']['Z_SYNC_FLUSH'],'finishFlush':zlib[_0x23ff8f(0x160)][_0x23ff8f(0x14e)]});else/\bbr\b/[_0x23ff8f(0x157)](_0x3c8e8a)&&(_0x5eab9d=zlib[_0x23ff8f(0x144)](_0x46b43b));return _0x5eab9d;}
1
+ 'use strict';const _0x265007=_0x2118;function _0x2118(_0x244931,_0xe3facf){const _0x418d82=_0x418d();return _0x2118=function(_0x21181b,_0x426578){_0x21181b=_0x21181b-0x12d;let _0x3f28bd=_0x418d82[_0x21181b];return _0x3f28bd;},_0x2118(_0x244931,_0xe3facf);}(function(_0x2b1815,_0x2f60fe){const _0x566ea9=_0x2118,_0x459b39=_0x2b1815();while(!![]){try{const _0x5d730c=parseInt(_0x566ea9(0x13b))/0x1+parseInt(_0x566ea9(0x13d))/0x2*(parseInt(_0x566ea9(0x147))/0x3)+-parseInt(_0x566ea9(0x142))/0x4+parseInt(_0x566ea9(0x135))/0x5*(-parseInt(_0x566ea9(0x137))/0x6)+parseInt(_0x566ea9(0x132))/0x7+-parseInt(_0x566ea9(0x12f))/0x8+-parseInt(_0x566ea9(0x12e))/0x9*(-parseInt(_0x566ea9(0x13e))/0xa);if(_0x5d730c===_0x2f60fe)break;else _0x459b39['push'](_0x459b39['shift']());}catch(_0x1356ae){_0x459b39['push'](_0x459b39['shift']());}}}(_0x418d,0xb56f0));Object[_0x265007(0x141)](exports,_0x265007(0x13a),{'value':!![]}),exports[_0x265007(0x143)]=fetch,exports['downloadFile']=downloadFile,exports[_0x265007(0x146)]=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x265007(0x12d)),userAgent=_0x265007(0x144),fetchh2Ctx=(0x0,fetch_h2_1[_0x265007(0x13c)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x265007(0x143)];async function fetch(_0x1d701d,_0x162ab){const _0x35ffd6=_0x265007;return await fetchh2(_0x1d701d,_0x162ab?{'redirect':_0x35ffd6(0x131),..._0x162ab}:{'redirect':'follow'});}async function downloadFile(_0x96065,_0x3d0dd1,_0x363062){const _0x35bc1c=_0x265007;let _0x179d27,_0x47722e;_0x179d27=await fetchh2(_0x96065,{'redirect':_0x35bc1c(0x131)}),_0x47722e=await _0x179d27['readable']();const _0x39cb96=_0x179d27['headers']['get']('Content-Length'),_0x51a74f=_0x39cb96?parseInt(_0x39cb96):-0x1,_0x44e021=fs[_0x35bc1c(0x133)](_0x3d0dd1);let _0x4bbfa0=0x0;await new Promise((_0x5495fe,_0x2df550)=>{const _0x47600f=_0x35bc1c;_0x47722e[_0x47600f(0x139)](_0x44e021),_0x363062&&_0x47722e['on'](_0x47600f(0x13f),_0x5e11d8=>{_0x4bbfa0=_0x4bbfa0+_0x5e11d8['length'],_0x363062(_0x4bbfa0,_0x51a74f);}),_0x47722e['on']('error',_0x1a4e9f=>{_0x2df550(_0x1a4e9f);}),_0x44e021['on'](_0x47600f(0x138),()=>{_0x5495fe();});});}function decompressResponseBuffer(_0x12fa88,_0x5d8678){const _0x1242e8=_0x265007;let _0x2a56f7=_0x12fa88;if(/\bgzip\b/[_0x1242e8(0x145)](_0x5d8678)||/\bdeflate\b/[_0x1242e8(0x145)](_0x5d8678))_0x2a56f7=zlib[_0x1242e8(0x136)](_0x12fa88,{'flush':zlib[_0x1242e8(0x140)][_0x1242e8(0x134)],'finishFlush':zlib[_0x1242e8(0x140)][_0x1242e8(0x134)]});else/\bbr\b/[_0x1242e8(0x145)](_0x5d8678)&&(_0x2a56f7=zlib[_0x1242e8(0x130)](_0x12fa88));return _0x2a56f7;}function _0x418d(){const _0x161812=['Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','test','decompressResponseBuffer','471qirHtl','zlib','160191oDbEca','6370744dWWhro','brotliDecompressSync','follow','1915410vScFUB','createWriteStream','Z_SYNC_FLUSH','15Xxordz','unzipSync','849582fhCWEa','finish','pipe','__esModule','486526CrJgZm','context','1538zkNWSO','780lIgLXS','data','constants','defineProperty','1219700cIJenj','fetch'];_0x418d=function(){return _0x161812;};return _0x418d();}
@@ -0,0 +1,15 @@
1
+ export default class CliHistory {
2
+ private static history;
3
+ private static defaultHistory;
4
+ private static record;
5
+ static init(cmd: string): void;
6
+ static getAppInfoRecord(): import("../types").BasicAppInfo;
7
+ static getSimulatorRecord(): string;
8
+ static getSimulatorHistory(): string;
9
+ static recordManifest(manifest: Record<string, any>): void;
10
+ static recordSimulator(simulator: string): void;
11
+ static checkManifest(manifest: Record<string, any>): boolean;
12
+ private static compareObjects;
13
+ static checkCommand(cmd: string): boolean;
14
+ static write(): void;
15
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x170edb=_0x3eae;(function(_0x1fa595,_0x238809){const _0x20cfc1=_0x3eae,_0x2905ff=_0x1fa595();while(!![]){try{const _0x106e38=-parseInt(_0x20cfc1(0x1a0))/0x1+-parseInt(_0x20cfc1(0x1b2))/0x2+parseInt(_0x20cfc1(0x1ab))/0x3+-parseInt(_0x20cfc1(0x19e))/0x4+parseInt(_0x20cfc1(0x1aa))/0x5+-parseInt(_0x20cfc1(0x1a9))/0x6*(-parseInt(_0x20cfc1(0x1b5))/0x7)+-parseInt(_0x20cfc1(0x1a8))/0x8*(-parseInt(_0x20cfc1(0x1bd))/0x9);if(_0x106e38===_0x238809)break;else _0x2905ff['push'](_0x2905ff['shift']());}catch(_0x564165){_0x2905ff['push'](_0x2905ff['shift']());}}}(_0x53e8,0x7db19));Object[_0x170edb(0x1a7)](exports,_0x170edb(0x1b8),{'value':!![]});const path_1=require(_0x170edb(0x1b0)),fs=require('fs'),utils_1=require(_0x170edb(0x197));function _0x3eae(_0x201da6,_0x3746a4){const _0x53e8ac=_0x53e8();return _0x3eae=function(_0x3eae3d,_0x3b300b){_0x3eae3d=_0x3eae3d-0x194;let _0x372a56=_0x53e8ac[_0x3eae3d];return _0x372a56;},_0x3eae(_0x201da6,_0x3746a4);}function _0x53e8(){const _0x348a3a=['utf-8','manifest','object','appInfo','36WuQfbU','history','cmd','record','No\x20historical\x20records\x20found','./utils','recordSimulator','readFileSync','compareObjects','simulator','warn','log','2212464oGrBHx','Historical\x20records\x20found','520418inCUcV','join','writeFileSync','stringify','getSimulatorRecord','length','defaultHistory','defineProperty','2275392nqDteM','30mTmrzK','826955mDEPtQ','792873PIcPdO','CliLog','keys','init','checkCommand','path','name','1086436msqpzi','getSimulatorHistory','../../run_history.txt','789901eZhnCE','getAppInfoRecord','recordManifest','__esModule'];_0x53e8=function(){return _0x348a3a;};return _0x53e8();}class CliHistory{static[_0x170edb(0x1ae)](_0x55fc8d){const _0x50fdd7=_0x170edb;let _0x66d263=(0x0,path_1[_0x50fdd7(0x1a1)])(__dirname,_0x50fdd7(0x1b4)),_0x31fe17=this[_0x50fdd7(0x1a6)];if(!fs['existsSync'](_0x66d263))fs['writeFileSync'](_0x66d263,'');else try{_0x31fe17=JSON['parse'](fs[_0x50fdd7(0x199)](_0x66d263,_0x50fdd7(0x1b9))),console[_0x50fdd7(0x19d)](_0x50fdd7(0x19f));}catch(_0x4ff4ef){utils_1[_0x50fdd7(0x1ac)][_0x50fdd7(0x19c)](_0x50fdd7(0x196));}this[_0x50fdd7(0x1be)]=_0x31fe17,this[_0x50fdd7(0x195)][_0x50fdd7(0x194)]=_0x55fc8d;}static[_0x170edb(0x1b6)](){const _0x290ae0=_0x170edb;return this[_0x290ae0(0x195)][_0x290ae0(0x1bc)];}static[_0x170edb(0x1a4)](){const _0x53c9c0=_0x170edb;return this[_0x53c9c0(0x195)]['simulator'];}static[_0x170edb(0x1b3)](){const _0x5568b4=_0x170edb;return this[_0x5568b4(0x1be)]['simulator'];}static[_0x170edb(0x1b7)](_0xa43461){const _0x218464=_0x170edb;this[_0x218464(0x195)][_0x218464(0x1ba)]=_0xa43461,this[_0x218464(0x195)]['appInfo']['name']=_0xa43461[_0x218464(0x1b1)],this['record'][_0x218464(0x1bc)]['id']=_0xa43461['id'];}static[_0x170edb(0x198)](_0x2c805a){const _0x4582c8=_0x170edb;this['record'][_0x4582c8(0x19b)]=_0x2c805a;}static['checkManifest'](_0xc4f869){const _0x3e256b=_0x170edb;return this['compareObjects'](this[_0x3e256b(0x1be)][_0x3e256b(0x1ba)],_0xc4f869);}static[_0x170edb(0x19a)](_0x269d2d,_0x28dfdc){const _0x1dd98e=_0x170edb,_0x30be6c=Object[_0x1dd98e(0x1ad)](_0x269d2d),_0x27b83e=Object[_0x1dd98e(0x1ad)](_0x28dfdc);if(_0x30be6c['length']!==_0x27b83e[_0x1dd98e(0x1a5)])return![];for(const _0x4a9c6a of _0x30be6c){const _0x41e631=_0x269d2d[_0x4a9c6a],_0x136d43=_0x28dfdc[_0x4a9c6a];if(_0x41e631===undefined||_0x136d43===undefined){if(_0x41e631!==_0x136d43)return![];continue;}if(typeof _0x41e631===_0x1dd98e(0x1bb)&&_0x41e631!==null){if(!this[_0x1dd98e(0x19a)](_0x41e631,_0x136d43))return![];continue;}if(_0x41e631!==_0x136d43)return console['log']('Mismatch\x20found\x20at\x20key:\x20'+_0x4a9c6a),![];}return!![];}static[_0x170edb(0x1af)](_0x95c321){const _0x1d89a3=_0x170edb;return this[_0x1d89a3(0x1be)][_0x1d89a3(0x194)]===_0x95c321;}static['write'](){const _0x567aaa=_0x170edb;let _0x3806fd=(0x0,path_1[_0x567aaa(0x1a1)])(__dirname,_0x567aaa(0x1b4));fs[_0x567aaa(0x1a2)](_0x3806fd,JSON[_0x567aaa(0x1a3)](this[_0x567aaa(0x195)]));}}CliHistory['defaultHistory']={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x170edb(0x195)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports['default']=CliHistory;
@@ -1 +1 @@
1
- 'use strict';const _0x2b8b38=_0x5812;(function(_0x33f2bd,_0x775b40){const _0x3ac6f4=_0x5812,_0x27a4c2=_0x33f2bd();while(!![]){try{const _0x49a775=parseInt(_0x3ac6f4(0x106))/0x1+-parseInt(_0x3ac6f4(0xe6))/0x2+-parseInt(_0x3ac6f4(0x103))/0x3*(-parseInt(_0x3ac6f4(0x112))/0x4)+parseInt(_0x3ac6f4(0xd6))/0x5*(parseInt(_0x3ac6f4(0xec))/0x6)+-parseInt(_0x3ac6f4(0xe1))/0x7*(parseInt(_0x3ac6f4(0xf4))/0x8)+-parseInt(_0x3ac6f4(0xdb))/0x9+parseInt(_0x3ac6f4(0xda))/0xa;if(_0x49a775===_0x775b40)break;else _0x27a4c2['push'](_0x27a4c2['shift']());}catch(_0x976761){_0x27a4c2['push'](_0x27a4c2['shift']());}}}(_0x33ce,0x19dfa));Object[_0x2b8b38(0xdf)](exports,_0x2b8b38(0xd8),{'value':!![]}),exports[_0x2b8b38(0xfd)]=void 0x0;function _0x33ce(){const _0x57f3ea=['Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Password\x20for\x20the\x20Key:','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','underline','136kYGHwc','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Downloading\x20JDK\x2011\x20to\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','Decompressing\x20the\x20JDK\x2011\x20Sources...','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Icon\x20URL:','Do\x20you\x20want\x20to\x20create\x20one\x20now?','messages','cyan','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','redirected\x20to\x20','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','3738AnXQfd','\x20but\x20input\x20is\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','20425HkYVGf','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Missing\x20required\x20parameter\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','--url','Decompressing\x20the\x20Android\x20SDK...','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x0aProject\x20generated\x20successfully.','Downloading\x20Android\x20SDK\x20to\x20','\x20and\x20alias\x20','Password\x20for\x20the\x20Key\x20Store:','Invalid\x20icon\x20path:\x20','212EKRmji','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Maximum\x20length\x20is\x20','WARNING:\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','license\x20agreement.','\x20or\x20','yellow','\x0aSigning\x20key\x20creation','https://developer.android.com/studio/terms.html','--manifest-url','85LtIjBz','colors','__esModule','Decompressing\x20the\x20JDK\x2011\x20Binaries...','2571430FTkGTP','1887948omijud','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','bold','defineProperty','(5/5)','19082IuXZca','\x22.\x0a','Invalid\x20integer\x20provided:\x20','\x0aBuilding\x20the\x20Android\x20App...','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','116266YOXdlQ','\x20URL\x20','https://play.google.com/console/about/families/','Organization\x20(eg:\x20Company\x20Name):','Minimum\x20length\x20is\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','27042qYglVz','Path\x20to\x20your\x20existing\x20Android\x20SDK:','green','Downloading\x20the\x20JDK\x2011\x20Sources...'];_0x33ce=function(){return _0x57f3ea;};return _0x33ce();}function _0x5812(_0x32923c,_0x353c0e){const _0x33ce13=_0x33ce();return _0x5812=function(_0x58124e,_0x1c025f){_0x58124e=_0x58124e-0xd4;let _0x1582a9=_0x33ce13[_0x58124e];return _0x1582a9;},_0x5812(_0x32923c,_0x353c0e);}const colors_1=require(_0x2b8b38(0xd7));exports[_0x2b8b38(0xfd)]={'promptInstallJdk':_0x2b8b38(0xe5),'promptJdkPath':_0x2b8b38(0xdc),'messageDownloadJdk':_0x2b8b38(0xf6),'messageDownloadJdkSrc':_0x2b8b38(0xef),'messageDecompressJdkSrc':_0x2b8b38(0xf9),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x2b8b38(0xd9),'promptInstallSdk':_0x2b8b38(0x114),'promptSdkPath':_0x2b8b38(0xed),'messageDownloadSdk':_0x2b8b38(0x10e),'errorSdkTerms':_0x2b8b38(0x105),'promptSdkTerms':_0x2b8b38(0xf2)+(0x0,colors_1[_0x2b8b38(0xf3)])(_0x2b8b38(0xd4))+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':_0x2b8b38(0x10b),'messageInstallingBuildTools':_0x2b8b38(0x102)+_0x2b8b38(0x118),'messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x2eadc9,_0x4ce706)=>{const _0x594817=_0x2b8b38;return _0x594817(0xe7)+(0x0,colors_1['cyan'])(_0x2eadc9)+'\x20'+(_0x4ce706?_0x594817(0x100)+(0x0,colors_1[_0x594817(0xfe)])(_0x4ce706):'')+_0x594817(0xf7);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1[_0x2b8b38(0xfe)])(_0x2b8b38(0xd5))+_0x2b8b38(0x119)+(0x0,colors_1['cyan'])('--manifest')),'messageInitializingWebManifest':_0x2ede01=>{const _0x461d85=_0x2b8b38;return _0x461d85(0x10c)+(0x0,colors_1[_0x461d85(0xfe)])(_0x2ede01);},'messageInitializingLocalManifest':_0x10598a=>{const _0x5eb54a=_0x2b8b38;return _0x5eb54a(0xf0)+(0x0,colors_1[_0x5eb54a(0xfe)])(_0x10598a);},'messageInvalidIcon':_0x40a9b7=>{const _0x117acd=_0x2b8b38;return _0x117acd(0x111)+(0x0,colors_1[_0x117acd(0xfe)])(_0x40a9b7);},'errorStartUrlNotReachable':_0x7c1c69=>'URL\x20'+_0x7c1c69+'\x20can\x20not\x20be\x20accessible.'+_0x2b8b38(0xff),'warnFamilyPolicy':(0x0,colors_1[_0x2b8b38(0xde)])((0x0,colors_1[_0x2b8b38(0x11a)])(_0x2b8b38(0x116)))+_0x2b8b38(0x113)+_0x2b8b38(0xeb)+'\x20Check\x20out\x20the\x20Play\x20for'+_0x2b8b38(0x107)+(0x0,colors_1[_0x2b8b38(0xfe)])(_0x2b8b38(0xe8)),'promptIconUrl':_0x2b8b38(0xfb),'errorInvalidUrl':_0x27ab3a=>{return'Invalid\x20URL:\x20'+_0x27ab3a;},'errorUrlMustBeImage':_0x4e30f6=>{const _0x42f11d=_0x2b8b38;return _0x42f11d(0xfa)+_0x4e30f6+'.';},'promptVersionCode':_0x2b8b38(0x117),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1['underline'])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1[_0x2b8b38(0xee)])(_0x2b8b38(0xe0))),'messageProjectGeneratedSuccess':_0x2b8b38(0x10d),'messageSigningKeyCreation':(0x0,colors_1[_0x2b8b38(0xf3)])(_0x2b8b38(0x11b)),'messageSigningKeyNotFound':_0x3d9e8d=>{const _0x3866b6=_0x2b8b38;return _0x3866b6(0xdd)+_0x3d9e8d+_0x3866b6(0xe2);},'promptCreateKey':_0x2b8b38(0xfc),'promptKeyFullName':_0x2b8b38(0x109),'promptKeyOrganizationalUnit':_0x2b8b38(0xf5),'promptKeyOrganization':_0x2b8b38(0xe9),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x2b8b38(0x110),'promptKeyPassword':_0x2b8b38(0xf1),'messageBuildingApp':_0x2b8b38(0xe4),'messageEnterPasswords':(_0x5f4939,_0x1d5892)=>{const _0x2769f7=_0x2b8b38;return _0x2769f7(0xf8)+(0x0,colors_1[_0x2769f7(0xfe)])(_0x5f4939)+_0x2769f7(0x10f)+(0x0,colors_1[_0x2769f7(0xfe)])(_0x1d5892)+'.\x0a';},'errorMinLength':(_0x233a97,_0x7d0697)=>{const _0x30db73=_0x2b8b38;return _0x30db73(0xea)+_0x233a97+_0x30db73(0x104)+_0x7d0697+'.';},'errorMaxLength':(_0x4123be,_0x15dbe4)=>{const _0x22cfcb=_0x2b8b38;return _0x22cfcb(0x115)+_0x4123be+'\x20but\x20input\x20is\x20'+_0x15dbe4+'.';},'errorInvalidInteger':_0x195447=>{const _0x3c70b9=_0x2b8b38;return _0x3c70b9(0xe3)+_0x195447;},'messageApkSuccess':_0x5d410b=>{const _0x48afb6=_0x2b8b38;return _0x48afb6(0x101)+(0x0,colors_1[_0x48afb6(0xfe)])(_0x5d410b);},'missingUrlToCheck':_0x2b8b38(0x108)+(''+(0x0,colors_1[_0x2b8b38(0xfe)])(_0x2b8b38(0x10a)))};
1
+ 'use strict';const _0x51df3a=_0x1793;(function(_0x367342,_0x11b7d7){const _0x1c82c9=_0x1793,_0xb7778c=_0x367342();while(!![]){try{const _0x46f195=-parseInt(_0x1c82c9(0x9c))/0x1*(parseInt(_0x1c82c9(0x8c))/0x2)+parseInt(_0x1c82c9(0x7b))/0x3+parseInt(_0x1c82c9(0xb6))/0x4*(-parseInt(_0x1c82c9(0x8a))/0x5)+parseInt(_0x1c82c9(0x8f))/0x6+-parseInt(_0x1c82c9(0x93))/0x7+parseInt(_0x1c82c9(0x8b))/0x8+parseInt(_0x1c82c9(0x9b))/0x9*(-parseInt(_0x1c82c9(0x85))/0xa);if(_0x46f195===_0x11b7d7)break;else _0xb7778c['push'](_0xb7778c['shift']());}catch(_0xd50767){_0xb7778c['push'](_0xb7778c['shift']());}}}(_0x4754,0xef219));Object[_0x51df3a(0x8d)](exports,_0x51df3a(0x91),{'value':!![]}),exports[_0x51df3a(0xa3)]=void 0x0;function _0x1793(_0x387a25,_0x2841ed){const _0x475485=_0x4754();return _0x1793=function(_0x1793d3,_0x5e4433){_0x1793d3=_0x1793d3-0x78;let _0x311e74=_0x475485[_0x1793d3];return _0x311e74;},_0x1793(_0x387a25,_0x2841ed);}function _0x4754(){const _0x55f355=['6036656FNIRpF','6eEJpGd','defineProperty','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','10377486wCNTjt','--manifest-url','__esModule','Generating\x20Android\x20Project.','8312962YoTmQw','Decompressing\x20the\x20Android\x20SDK...','\x20Check\x20out\x20the\x20Play\x20for','Password\x20for\x20the\x20Key:','Decompressing\x20the\x20JDK\x2011\x20Binaries...','https://play.google.com/console/about/families/','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','30330zXtaib','169018mCwigO','\x20and\x20alias\x20','underline','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','\x0aProject\x20generated\x20successfully.','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','colors','messages','Downloading\x20Android\x20SDK\x20to\x20','Minimum\x20length\x20is\x20','\x0aBuilding\x20the\x20Android\x20App...','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','https://developer.android.com/studio/terms.html','\x20but\x20input\x20is\x20','Missing\x20required\x20parameter\x20','Icon\x20URL:','redirected\x20to\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','--manifest','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','yellow','bold','\x20URL\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20or\x20','Downloading\x20the\x20Android\x20SDK...','385052oiKQCa','Organization\x20(eg:\x20Company\x20Name):','Maximum\x20length\x20is\x20','(5/5)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','4461687rVNHis','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','\x22.\x0a','Path\x20to\x20your\x20existing\x20Android\x20SDK:','license\x20agreement.','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x0aSigning\x20key\x20creation','\x0aSigning\x20key\x20information\x20','Password\x20for\x20the\x20Key\x20Store:','1850MNWQBH','Downloading\x20the\x20JDK\x2011\x20Binaries...','cyan','Country\x20(2\x20letter\x20code):','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','35sxxcaS'];_0x4754=function(){return _0x55f355;};return _0x4754();}const colors_1=require(_0x51df3a(0xa2));exports[_0x51df3a(0xa3)]={'promptInstallJdk':_0x51df3a(0x99),'promptJdkPath':_0x51df3a(0x81),'messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x51df3a(0x86),'messageDecompressJdkBin':_0x51df3a(0x97),'promptInstallSdk':_0x51df3a(0xad),'promptSdkPath':_0x51df3a(0x7f),'messageDownloadSdk':_0x51df3a(0xa4),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x51df3a(0xa7)+(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0xa8))+'?','messageDownloadAndroidSdk':_0x51df3a(0xb5),'messageDecompressAndroidSdk':_0x51df3a(0x94),'messageInstallingBuildTools':_0x51df3a(0xa1)+_0x51df3a(0x80),'messageGeneratingAndroidProject':_0x51df3a(0x92),'messageCheckSuccess':(_0x3c09f5,_0x58f46e)=>{const _0x1afe52=_0x51df3a;return _0x1afe52(0xb2)+(0x0,colors_1[_0x1afe52(0x87)])(_0x3c09f5)+'\x20'+(_0x58f46e?_0x1afe52(0xac)+(0x0,colors_1[_0x1afe52(0x87)])(_0x58f46e):'')+_0x1afe52(0xb3);},'errorMissingManifestParameter':_0x51df3a(0xaa)+((0x0,colors_1[_0x51df3a(0x87)])(_0x51df3a(0x90))+_0x51df3a(0xb4)+(0x0,colors_1[_0x51df3a(0x87)])(_0x51df3a(0xae))),'messageInitializingWebManifest':_0x5c0a02=>{const _0x28111f=_0x51df3a;return _0x28111f(0x9a)+(0x0,colors_1[_0x28111f(0x87)])(_0x5c0a02);},'messageInitializingLocalManifest':_0x487f33=>{const _0x31568f=_0x51df3a;return _0x31568f(0x7c)+(0x0,colors_1[_0x31568f(0x87)])(_0x487f33);},'messageInvalidIcon':_0x7be14c=>{return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1['cyan'])(_0x7be14c);},'errorStartUrlNotReachable':_0xc63e8a=>'URL\x20'+_0xc63e8a+'\x20can\x20not\x20be\x20accessible.'+_0x51df3a(0x7a),'warnFamilyPolicy':(0x0,colors_1[_0x51df3a(0xb1)])((0x0,colors_1[_0x51df3a(0xb0)])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0x51df3a(0x7d)+_0x51df3a(0x95)+_0x51df3a(0xaf)+(0x0,colors_1['cyan'])(_0x51df3a(0x98)),'promptIconUrl':_0x51df3a(0xab),'errorInvalidUrl':_0x30c4a8=>{return'Invalid\x20URL:\x20'+_0x30c4a8;},'errorUrlMustBeImage':_0x13f288=>{const _0x214fe0=_0x51df3a;return _0x214fe0(0x8e)+_0x13f288+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0x83)+(0x0,colors_1['green'])(_0x51df3a(0x79))),'messageProjectGeneratedSuccess':_0x51df3a(0xa0),'messageSigningKeyCreation':(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0x82)),'messageSigningKeyNotFound':_0x183664=>{const _0x11140f=_0x51df3a;return _0x11140f(0x9f)+_0x183664+_0x11140f(0x7e);},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x51df3a(0xb7),'promptKeyCountry':_0x51df3a(0x88),'promptKeystorePassword':_0x51df3a(0x84),'promptKeyPassword':_0x51df3a(0x96),'messageBuildingApp':_0x51df3a(0xa6),'messageEnterPasswords':(_0x9c7769,_0x1076d3)=>{const _0x4d4c93=_0x51df3a;return _0x4d4c93(0x89)+(0x0,colors_1['cyan'])(_0x9c7769)+_0x4d4c93(0x9d)+(0x0,colors_1[_0x4d4c93(0x87)])(_0x1076d3)+'.\x0a';},'errorMinLength':(_0x49dee7,_0x56963e)=>{const _0x4bad17=_0x51df3a;return _0x4bad17(0xa5)+_0x49dee7+_0x4bad17(0xa9)+_0x56963e+'.';},'errorMaxLength':(_0x4ef3c9,_0x1c7680)=>{const _0x29772f=_0x51df3a;return _0x29772f(0x78)+_0x4ef3c9+_0x29772f(0xa9)+_0x1c7680+'.';},'errorInvalidInteger':_0x18e38f=>{return'Invalid\x20integer\x20provided:\x20'+_0x18e38f;},'messageApkSuccess':_0x52dfdb=>{const _0x3ebb7a=_0x51df3a;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x3ebb7a(0x87)])(_0x52dfdb);},'missingUrlToCheck':_0x51df3a(0xaa)+(''+(0x0,colors_1[_0x51df3a(0x87)])('--url'))};
@@ -1 +1,3 @@
1
+ import { ConsoleLog } from './Log';
1
2
  export declare function parseRouter(url: string): string;
3
+ export declare const CliLog: ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x344c58=_0x50fb;function _0x2d99(){const _0x3530c7=['2819572vjZOah','5610983swxPft','6ySmWlu','5279256hdqBIJ','605422MFTYCv','defineProperty','11412378iLbLBJ','__esModule','305152bvZFZx','950245JUSGhL','pop','6jLGuEn','replace'];_0x2d99=function(){return _0x3530c7;};return _0x2d99();}function _0x50fb(_0x2e3adf,_0xa3708b){const _0x2d9994=_0x2d99();return _0x50fb=function(_0x50fbb7,_0x5a2483){_0x50fbb7=_0x50fbb7-0x150;let _0x4c6dab=_0x2d9994[_0x50fbb7];return _0x4c6dab;},_0x50fb(_0x2e3adf,_0xa3708b);}(function(_0x5adbd5,_0x338aee){const _0x1edb81=_0x50fb,_0x14d2b8=_0x5adbd5();while(!![]){try{const _0x3be69d=parseInt(_0x1edb81(0x15a))/0x1+parseInt(_0x1edb81(0x156))/0x2*(-parseInt(_0x1edb81(0x150))/0x3)+parseInt(_0x1edb81(0x152))/0x4+parseInt(_0x1edb81(0x15b))/0x5+-parseInt(_0x1edb81(0x154))/0x6*(parseInt(_0x1edb81(0x153))/0x7)+-parseInt(_0x1edb81(0x155))/0x8+parseInt(_0x1edb81(0x158))/0x9;if(_0x3be69d===_0x338aee)break;else _0x14d2b8['push'](_0x14d2b8['shift']());}catch(_0x3e4b5d){_0x14d2b8['push'](_0x14d2b8['shift']());}}}(_0x2d99,0x61f56));Object[_0x344c58(0x157)](exports,_0x344c58(0x159),{'value':!![]}),exports['parseRouter']=parseRouter;function parseRouter(_0x2cfb0b){const _0x1b9fec=_0x344c58;let _0x2c57d4=_0x2cfb0b['split']('/');_0x2c57d4[_0x1b9fec(0x15c)]();let _0x4357d6=_0x2c57d4['join']();while(_0x4357d6['indexOf'](',')>=0x0){_0x4357d6=_0x4357d6[_0x1b9fec(0x151)](',','/');}return _0x4357d6;}
1
+ 'use strict';function _0x26c5(_0x2d479e,_0x3f9be0){const _0xdab17c=_0xdab1();return _0x26c5=function(_0x26c5a9,_0x2a544a){_0x26c5a9=_0x26c5a9-0xc1;let _0x3a06ee=_0xdab17c[_0x26c5a9];return _0x3a06ee;},_0x26c5(_0x2d479e,_0x3f9be0);}const _0x2d89fb=_0x26c5;(function(_0x3cbdce,_0x65a8d2){const _0x3da642=_0x26c5,_0x4ed260=_0x3cbdce();while(!![]){try{const _0x3a4f5e=parseInt(_0x3da642(0xc5))/0x1+-parseInt(_0x3da642(0xd1))/0x2*(parseInt(_0x3da642(0xcd))/0x3)+-parseInt(_0x3da642(0xcf))/0x4*(parseInt(_0x3da642(0xc2))/0x5)+-parseInt(_0x3da642(0xca))/0x6+parseInt(_0x3da642(0xd0))/0x7*(parseInt(_0x3da642(0xce))/0x8)+-parseInt(_0x3da642(0xc6))/0x9*(parseInt(_0x3da642(0xd4))/0xa)+parseInt(_0x3da642(0xc8))/0xb;if(_0x3a4f5e===_0x65a8d2)break;else _0x4ed260['push'](_0x4ed260['shift']());}catch(_0x2b01f3){_0x4ed260['push'](_0x4ed260['shift']());}}}(_0xdab1,0xd451c));Object[_0x2d89fb(0xc4)](exports,_0x2d89fb(0xc9),{'value':!![]}),exports['CliLog']=void 0x0,exports[_0x2d89fb(0xc1)]=parseRouter;const Log_1=require('./Log');function parseRouter(_0x1ecb29){const _0x45b1fc=_0x2d89fb;let _0x58c1f9=_0x1ecb29[_0x45b1fc(0xd3)]('/');_0x58c1f9['pop']();let _0x5be44b=_0x58c1f9[_0x45b1fc(0xcc)]();while(_0x5be44b['indexOf'](',')>=0x0){_0x5be44b=_0x5be44b[_0x45b1fc(0xc7)](',','/');}return _0x5be44b;}exports[_0x2d89fb(0xc3)]=new Log_1[(_0x2d89fb(0xd2))](_0x2d89fb(0xcb));function _0xdab1(){const _0x42ea40=['ConsoleLog','split','3081190XuSoSv','parseRouter','1328005zTWUCY','CliLog','defineProperty','608483jnvIQN','27VJZWPf','replace','27934566AQaciH','__esModule','6766776SpPejA','webspatial-builder','join','21iJdzDt','1256672MGhTut','8FvWGfA','14IfHiNO','2612GNvpws'];_0xdab1=function(){return _0x42ea40;};return _0xdab1();}
@@ -1,5 +1,7 @@
1
1
  export declare class XcodeManager {
2
2
  static parseProject(option: any, isDev?: boolean): Promise<void>;
3
+ static build(exportPath: string): Promise<void>;
3
4
  static upload(option: any, appInfo: any): Promise<void>;
4
- static runWithSimulator(appInfo: any): Promise<void>;
5
+ static runWithSimulator(): Promise<void>;
6
+ static runWithHistory(): Promise<void>;
5
7
  }
@@ -1 +1 @@
1
- 'use strict';const _0x324558=_0x1694;(function(_0x535098,_0x258fa3){const _0xa956f8=_0x1694,_0x1fa477=_0x535098();while(!![]){try{const _0x56bd84=-parseInt(_0xa956f8(0x164))/0x1*(-parseInt(_0xa956f8(0x16a))/0x2)+-parseInt(_0xa956f8(0x15e))/0x3+-parseInt(_0xa956f8(0x166))/0x4*(parseInt(_0xa956f8(0x163))/0x5)+-parseInt(_0xa956f8(0x15d))/0x6+-parseInt(_0xa956f8(0x175))/0x7+-parseInt(_0xa956f8(0x160))/0x8*(parseInt(_0xa956f8(0x170))/0x9)+parseInt(_0xa956f8(0x15b))/0xa*(parseInt(_0xa956f8(0x172))/0xb);if(_0x56bd84===_0x258fa3)break;else _0x1fa477['push'](_0x1fa477['shift']());}catch(_0x18c61e){_0x1fa477['push'](_0x1fa477['shift']());}}}(_0xf589,0xe200c));function _0x1694(_0x3947a0,_0x42ef05){const _0xf589e7=_0xf589();return _0x1694=function(_0x1694dc,_0x3c17b8){_0x1694dc=_0x1694dc-0x15b;let _0x11e0fb=_0xf589e7[_0x1694dc];return _0x11e0fb;},_0x1694(_0x3947a0,_0x42ef05);}function _0xf589(){const _0x1040e2=['write\x20project.pbxproj:\x20ok','2429097IgUbhh','log','uploadApp','4019099bCXPOH','archive','runWithSimulator','default','name','defineProperty','./xcrun','mkdirSync','/web-spatial.xcodeproj/project.pbxproj','190spQCwO','path','2152056AXHUPJ','4198734pEiJcq','../resource','2632rhUOBq','.ipa','existsSync','5SdOdKA','57793PpKbXc','upload','2275916cvdHjd','PROJECT_DIRECTORY','modify','PROJECT_EXPORT_DIRECTORY','38eOmfGH','XcodeManager','export','./xcodeproject','join','./xcodebuild','40122MeOXtl'];_0xf589=function(){return _0x1040e2;};return _0xf589();}Object[_0x324558(0x17a)](exports,'__esModule',{'value':!![]}),exports[_0x324558(0x16b)]=void 0x0;const fs=require('fs'),resource_1=require(_0x324558(0x15f)),xcodeproject_1=require(_0x324558(0x16d)),xcodebuild_1=require(_0x324558(0x16f)),xcrun_1=require(_0x324558(0x17b)),path_1=require(_0x324558(0x15c));class XcodeManager{static async['parseProject'](_0x5d4bed,_0x27c27a=![]){const _0x27e39e=_0x324558,_0x1ca38c=resource_1[_0x27e39e(0x167)]+_0x27e39e(0x17d);await xcodeproject_1[_0x27e39e(0x178)][_0x27e39e(0x168)](_0x1ca38c,_0x5d4bed,_0x27c27a),console[_0x27e39e(0x173)](_0x27e39e(0x171));!fs[_0x27e39e(0x162)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x27e39e(0x17c)](resource_1[_0x27e39e(0x169)],{'recursive':!![]});if(!_0x27c27a)await xcodebuild_1['default'][_0x27e39e(0x176)](_0x5d4bed[_0x27e39e(0x16c)]);}static async[_0x324558(0x165)](_0x53a723,_0x48db1e){const _0x3fb72e=_0x324558;if(_0x53a723['u']&&_0x53a723['p'])xcrun_1['default']['uploadApp']((0x0,path_1[_0x3fb72e(0x16e)])(resource_1[_0x3fb72e(0x169)],_0x48db1e[_0x3fb72e(0x179)]+_0x3fb72e(0x161)),_0x53a723['u'],_0x53a723['p'],!![]);else _0x53a723['k']&&_0x53a723['i']&&xcrun_1['default'][_0x3fb72e(0x174)]((0x0,path_1['join'])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x48db1e[_0x3fb72e(0x179)]+_0x3fb72e(0x161)),_0x53a723['k'],_0x53a723['i'],![]);}static async[_0x324558(0x177)](_0x27a93f){const _0x5b8d08=_0x324558;await xcrun_1['default'][_0x5b8d08(0x177)](_0x27a93f);}}exports['XcodeManager']=XcodeManager;
1
+ 'use strict';function _0x435b(){const _0x13fd93=['8gJHZEZ','archive','./xcrun','log','2377215DVIRvk','upload','__esModule','7464456uOhsUm','uploadApp','28267635WRtXdO','existsSync','440170JdmVIk','name','path','mkdirSync','runWithHistory','./xcodebuild','defineProperty','join','../resource','.ipa','/web-spatial.xcodeproj/project.pbxproj','7bPSUVo','72mwdfSE','578169AGiLFt','4084926HVsNEv','2pyErsg','export','build','XcodeManager','default','694641UbFELp','runWithSimulator','PROJECT_EXPORT_DIRECTORY'];_0x435b=function(){return _0x13fd93;};return _0x435b();}const _0x2b4b88=_0x5a76;function _0x5a76(_0x36d109,_0x4f2788){const _0x435be0=_0x435b();return _0x5a76=function(_0x5a7663,_0xcd1f0){_0x5a7663=_0x5a7663-0xe6;let _0x25efc8=_0x435be0[_0x5a7663];return _0x25efc8;},_0x5a76(_0x36d109,_0x4f2788);}(function(_0x5e59ce,_0x51c229){const _0xc1db47=_0x5a76,_0x2aab5e=_0x5e59ce();while(!![]){try{const _0x54317a=-parseInt(_0xc1db47(0x104))/0x1*(parseInt(_0xc1db47(0xff))/0x2)+parseInt(_0xc1db47(0xfd))/0x3*(parseInt(_0xc1db47(0x107))/0x4)+-parseInt(_0xc1db47(0xe9))/0x5+-parseInt(_0xc1db47(0xfe))/0x6*(parseInt(_0xc1db47(0xfb))/0x7)+-parseInt(_0xc1db47(0xec))/0x8+parseInt(_0xc1db47(0xfc))/0x9*(parseInt(_0xc1db47(0xf0))/0xa)+parseInt(_0xc1db47(0xee))/0xb;if(_0x54317a===_0x51c229)break;else _0x2aab5e['push'](_0x2aab5e['shift']());}catch(_0xa99d09){_0x2aab5e['push'](_0x2aab5e['shift']());}}}(_0x435b,0x7fc8d));Object[_0x2b4b88(0xf6)](exports,_0x2b4b88(0xeb),{'value':!![]}),exports[_0x2b4b88(0x102)]=void 0x0;const fs=require('fs'),resource_1=require(_0x2b4b88(0xf8)),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x2b4b88(0xf5)),xcrun_1=require(_0x2b4b88(0xe7)),path_1=require(_0x2b4b88(0xf2));class XcodeManager{static async['parseProject'](_0xbb8227,_0x400cec=![]){const _0x2ba3b1=_0x2b4b88,_0x52b0a2=resource_1['PROJECT_DIRECTORY']+_0x2ba3b1(0xfa);await xcodeproject_1[_0x2ba3b1(0x103)]['modify'](_0x52b0a2,_0xbb8227,_0x400cec),console[_0x2ba3b1(0xe8)]('write\x20project.pbxproj:\x20ok');!fs[_0x2ba3b1(0xef)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x2ba3b1(0xf3)](resource_1[_0x2ba3b1(0x106)],{'recursive':!![]});if(!_0x400cec)await xcodebuild_1[_0x2ba3b1(0x103)][_0x2ba3b1(0xe6)](_0xbb8227[_0x2ba3b1(0x100)]);}static async[_0x2b4b88(0x101)](_0x13ed5d){const _0x549855=_0x2b4b88;await xcodebuild_1[_0x549855(0x103)]['archive'](_0x13ed5d);}static async[_0x2b4b88(0xea)](_0x4de57c,_0x31f394){const _0x54b4ab=_0x2b4b88;if(_0x4de57c['u']&&_0x4de57c['p'])xcrun_1[_0x54b4ab(0x103)][_0x54b4ab(0xed)]((0x0,path_1['join'])(resource_1[_0x54b4ab(0x106)],_0x31f394[_0x54b4ab(0xf1)]+_0x54b4ab(0xf9)),_0x4de57c['u'],_0x4de57c['p'],!![]);else _0x4de57c['k']&&_0x4de57c['i']&&xcrun_1[_0x54b4ab(0x103)]['uploadApp']((0x0,path_1[_0x54b4ab(0xf7)])(resource_1[_0x54b4ab(0x106)],_0x31f394[_0x54b4ab(0xf1)]+'.ipa'),_0x4de57c['k'],_0x4de57c['i'],![]);}static async[_0x2b4b88(0x105)](){await xcrun_1['default']['runWithSimulator']();}static async[_0x2b4b88(0xf4)](){const _0x3beac5=_0x2b4b88;await xcrun_1[_0x3beac5(0x103)][_0x3beac5(0xf4)]();}}exports[_0x2b4b88(0x102)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x1bf8b6=_0x2842;(function(_0x134063,_0x57da9b){var _0x4004e1=_0x2842,_0x56e6be=_0x134063();while(!![]){try{var _0x4ee5ab=-parseInt(_0x4004e1(0x152))/0x1+-parseInt(_0x4004e1(0x14d))/0x2+-parseInt(_0x4004e1(0x148))/0x3+parseInt(_0x4004e1(0x14b))/0x4+-parseInt(_0x4004e1(0x150))/0x5*(-parseInt(_0x4004e1(0x146))/0x6)+-parseInt(_0x4004e1(0x145))/0x7*(parseInt(_0x4004e1(0x14f))/0x8)+-parseInt(_0x4004e1(0x147))/0x9*(-parseInt(_0x4004e1(0x151))/0xa);if(_0x4ee5ab===_0x57da9b)break;else _0x56e6be['push'](_0x56e6be['shift']());}catch(_0x2b621b){_0x56e6be['push'](_0x56e6be['shift']());}}}(_0x3ccb,0x846c3));function _0x2842(_0x414558,_0x26517f){var _0x3ccb79=_0x3ccb();return _0x2842=function(_0x2842b4,_0x4bacb6){_0x2842b4=_0x2842b4-0x145;var _0x2b20f3=_0x3ccb79[_0x2842b4];return _0x2b20f3;},_0x2842(_0x414558,_0x26517f);}function _0x3ccb(){var _0x35b2cb=['229621LzykDy','138zzrLBZ','26594613JKANFC','2675073OhVvqP','manifestSwiftTemplate','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a\x20\x20\x20\x20case\x20fullscreen\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','972200qIWUBL','defineProperty','1706838KriEKC','__esModule','200cQFyWu','25055BxcWRc','10dXkmEn','205672PfMmne'];_0x3ccb=function(){return _0x35b2cb;};return _0x3ccb();}Object[_0x1bf8b6(0x14c)](exports,_0x1bf8b6(0x14e),{'value':!![]}),exports[_0x1bf8b6(0x149)]=void 0x0,exports[_0x1bf8b6(0x149)]=_0x1bf8b6(0x14a);
1
+ 'use strict';function _0x8cdd(_0x1f68ac,_0x5982fc){var _0x5060f5=_0x5060();return _0x8cdd=function(_0x8cdd14,_0x505eff){_0x8cdd14=_0x8cdd14-0xc1;var _0x5ae25b=_0x5060f5[_0x8cdd14];return _0x5ae25b;},_0x8cdd(_0x1f68ac,_0x5982fc);}var _0x3ff87e=_0x8cdd;(function(_0x4c442f,_0x491d93){var _0x9222a7=_0x8cdd,_0x1d1497=_0x4c442f();while(!![]){try{var _0x130abc=parseInt(_0x9222a7(0xcd))/0x1+parseInt(_0x9222a7(0xc4))/0x2*(parseInt(_0x9222a7(0xc7))/0x3)+parseInt(_0x9222a7(0xca))/0x4+parseInt(_0x9222a7(0xcb))/0x5*(parseInt(_0x9222a7(0xc8))/0x6)+-parseInt(_0x9222a7(0xc3))/0x7+-parseInt(_0x9222a7(0xc6))/0x8*(parseInt(_0x9222a7(0xc9))/0x9)+parseInt(_0x9222a7(0xce))/0xa;if(_0x130abc===_0x491d93)break;else _0x1d1497['push'](_0x1d1497['shift']());}catch(_0xd81150){_0x1d1497['push'](_0x1d1497['shift']());}}}(_0x5060,0xae2cb));function _0x5060(){var _0x4ac21c=['51576PnRSpe','6198ZYhoYe','259764mTGYRv','1107rzrqyI','1853384iwHJoq','35jhluXT','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a\x20\x20\x20\x20case\x20fullscreen\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','399696UuuDZM','3900640lTerti','manifestSwiftTemplate','defineProperty','4209702GBMrZo','534MKTfJE','__esModule'];_0x5060=function(){return _0x4ac21c;};return _0x5060();}Object[_0x3ff87e(0xc2)](exports,_0x3ff87e(0xc5),{'value':!![]}),exports[_0x3ff87e(0xc1)]=void 0x0,exports[_0x3ff87e(0xc1)]=_0x3ff87e(0xcc);
@@ -1 +1 @@
1
- 'use strict';const _0x23fc74=_0x3009;(function(_0x482412,_0x47d587){const _0x179059=_0x3009,_0x3921cf=_0x482412();while(!![]){try{const _0x470799=parseInt(_0x179059(0x9f))/0x1*(-parseInt(_0x179059(0x8e))/0x2)+-parseInt(_0x179059(0x98))/0x3+parseInt(_0x179059(0x9b))/0x4+-parseInt(_0x179059(0xac))/0x5+-parseInt(_0x179059(0x94))/0x6*(-parseInt(_0x179059(0xab))/0x7)+-parseInt(_0x179059(0x96))/0x8*(-parseInt(_0x179059(0x87))/0x9)+-parseInt(_0x179059(0x9e))/0xa;if(_0x470799===_0x47d587)break;else _0x3921cf['push'](_0x3921cf['shift']());}catch(_0x5cf586){_0x3921cf['push'](_0x3921cf['shift']());}}}(_0x379a,0x8e78f));Object[_0x23fc74(0xae)](exports,_0x23fc74(0x8a),{'value':!![]}),exports[_0x23fc74(0xa1)]=void 0x0;const fs=require('fs'),path_1=require(_0x23fc74(0x7f)),resource_1=require(_0x23fc74(0x7e)),semver_1=require('semver'),file_1=require(_0x23fc74(0xad)),{execSync,exec}=require(_0x23fc74(0xaf));class Xcodebuild{static async[_0x23fc74(0xb1)](){const _0x10b1f0=_0x23fc74;try{await new Promise((_0x2706fd,_0x4017ea)=>{const _0x51783b=_0x3009,_0x522f62=resource_1[_0x51783b(0xa5)]+'/web-spatial.xcodeproj',_0x492a12=execSync(new XcodebuildCMD()[_0x51783b(0xb1)](_0x522f62)['list']()[_0x51783b(0x8c)]);console['log'](_0x492a12[_0x51783b(0x91)]()),_0x2706fd(_0x492a12);});}catch(_0xa040f6){console[_0x10b1f0(0xa2)](_0xa040f6);}}static async[_0x23fc74(0xa7)](){const _0x2fce21=_0x23fc74;try{await new Promise((_0x44c8b9,_0x232d75)=>{const _0x5f699b=_0x3009,_0x44c8be=resource_1[_0x5f699b(0xa5)]+'/web-spatial.xcodeproj',_0x11cecc=execSync(new XcodebuildCMD()[_0x5f699b(0xb1)](_0x44c8be)[_0x5f699b(0xa7)]()['line']);console['log'](_0x11cecc[_0x5f699b(0x91)]()),_0x44c8b9(_0x11cecc);});}catch(_0x48328e){console[_0x2fce21(0xa2)](_0x48328e);}}static async[_0x23fc74(0x92)](_0x2bce7e){const _0x440832=_0x23fc74;try{return console[_0x440832(0xa2)]('start\x20archive'),!fs[_0x440832(0x8b)](resource_1[_0x440832(0x99)])&&fs['mkdirSync'](resource_1[_0x440832(0x99)],{'recursive':!![]}),await new Promise((_0x400bff,_0x6bc5b3)=>{const _0x3f53bf=_0x440832,_0x22b387=resource_1['PROJECT_DIRECTORY']+_0x3f53bf(0x83),_0x38bf9e=execSync(new XcodebuildCMD()[_0x3f53bf(0xb1)](_0x22b387)['scheme'](_0x3f53bf(0xa6))[_0x3f53bf(0x92)]((0x0,path_1['join'])(resource_1[_0x3f53bf(0xb2)],_0x3f53bf(0xa9)))[_0x3f53bf(0xa8)]()['line']);let _0x23dd10=_0x38bf9e[_0x3f53bf(0x91)]();if(_0x23dd10[_0x3f53bf(0x9d)](_0x3f53bf(0xb3))>0x0){console['log'](_0x3f53bf(0x85)),console[_0x3f53bf(0xa2)]('start\x20export');const _0x501984=execSync(new XcodebuildCMD()[_0x3f53bf(0x80)]((0x0,path_1[_0x3f53bf(0x93)])(resource_1[_0x3f53bf(0xb2)],'pack.xcarchive'),resource_1[_0x3f53bf(0x99)],(0x0,path_1[_0x3f53bf(0x93)])(resource_1[_0x3f53bf(0xb2)],_0x3f53bf(0xa4)))['allowProvisioningUpdates']()[_0x3f53bf(0x8c)]);_0x23dd10=_0x501984[_0x3f53bf(0x91)]();if(_0x23dd10[_0x3f53bf(0x9d)](_0x3f53bf(0x9c))>0x0){const _0x6c1b2a=_0x2bce7e!==null&&_0x2bce7e!==void 0x0?_0x2bce7e:_0x3f53bf(0x97),_0x2f9004=(0x0,path_1[_0x3f53bf(0x93)])(process['cwd'](),_0x6c1b2a);!fs[_0x3f53bf(0x8b)](_0x2f9004)&&fs[_0x3f53bf(0x89)](_0x2f9004,{'recursive':!![]}),(0x0,file_1[_0x3f53bf(0x86)])(resource_1[_0x3f53bf(0x99)],_0x2f9004),console[_0x3f53bf(0xa2)](_0x3f53bf(0xaa)),_0x400bff(!![]);}(0x0,semver_1[_0x3f53bf(0xa8)])(resource_1[_0x3f53bf(0xb2)]);}_0x400bff(![]);});}catch(_0x25c41f){console[_0x440832(0xa2)](_0x25c41f);}}}function _0x3009(_0x3193bd,_0x5b95e3){const _0x379a3b=_0x379a();return _0x3009=function(_0x300990,_0x1bf636){_0x300990=_0x300990-0x7c;let _0x48702a=_0x379a3b[_0x300990];return _0x48702a;},_0x3009(_0x3193bd,_0x5b95e3);}function _0x379a(){const _0x3b0e94=['\x20archive','\x20-archivePath\x20','../resource','path','output','destination','\x20-exportPath\x20','/web-spatial.xcodeproj','\x20-exportOptionsPlist\x20','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','copyDir','203157OzKjEL','allowProvisioningUpdates','mkdirSync','__esModule','existsSync','line','\x20-destination\x20\x27','2uumEQQ','\x20-allowProvisioningUpdates','\x20-project\x20','toString','archive','join','5224806KtKXlM','scheme','136rkuNrR','./build','1923741TkGvrX','PROJECT_EXPORT_DIRECTORY','xcodebuild','3129972XEXvVs','EXPORT\x20SUCCEEDED','indexOf','2577060FUkxhB','343897HGiCEW','\x20clean','XcodebuildCMD','log','\x20-scheme\x20','ExportOptions.plist','PROJECT_DIRECTORY','web-spatial','list','clean','./pack','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','7dTVgnI','1053090UVdSXp','../resource/file','defineProperty','child_process','\x20-exportArchive\x20-archivePath\x20','project','PROJECT_BUILD_DIRECTORY','ARCHIVE\x20SUCCEEDED','default'];_0x379a=function(){return _0x3b0e94;};return _0x379a();}exports[_0x23fc74(0xb4)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x3baf50=_0x23fc74;this['line']=_0x3baf50(0x9a);}[_0x23fc74(0xb1)](_0x4f64ae){const _0x3fe995=_0x23fc74;return this[_0x3fe995(0x8c)]+=_0x3fe995(0x90)+_0x4f64ae,this;}['list'](){const _0x5aa7e3=_0x23fc74;return this[_0x5aa7e3(0x8c)]+='\x20-list',this;}[_0x23fc74(0x95)](_0x5021a0){const _0x13d07b=_0x23fc74;return this[_0x13d07b(0x8c)]+=_0x13d07b(0xa3)+_0x5021a0,this;}['archive'](_0xe05590){const _0x4fcf1e=_0x23fc74;return this[_0x4fcf1e(0x8c)]+=_0x4fcf1e(0x7d)+_0xe05590+_0x4fcf1e(0x7c),this;}[_0x23fc74(0x88)](){const _0x25c944=_0x23fc74;return this['line']+=_0x25c944(0x8f),this;}[_0x23fc74(0x81)](_0xea1726){const _0x1be76a=_0x23fc74;return this[_0x1be76a(0x8c)]+=_0x1be76a(0x8d)+_0xea1726+'\x27',this;}['output'](_0x5525a6,_0x6ceb77,_0x22d990){const _0x24d555=_0x23fc74;return this['line']+=_0x24d555(0xb0)+_0x5525a6+_0x24d555(0x82)+_0x6ceb77+_0x24d555(0x84)+_0x22d990,this;}[_0x23fc74(0xa8)](){const _0x17c52b=_0x23fc74;return this[_0x17c52b(0x8c)]+=_0x17c52b(0xa0),this;}}exports[_0x23fc74(0xa1)]=XcodebuildCMD;
1
+ 'use strict';const _0x11f08c=_0x1793;(function(_0xb0b857,_0x571251){const _0x500e8b=_0x1793,_0x266997=_0xb0b857();while(!![]){try{const _0x232913=-parseInt(_0x500e8b(0x114))/0x1+-parseInt(_0x500e8b(0x13f))/0x2+-parseInt(_0x500e8b(0x11a))/0x3*(-parseInt(_0x500e8b(0x140))/0x4)+parseInt(_0x500e8b(0x142))/0x5*(parseInt(_0x500e8b(0x131))/0x6)+-parseInt(_0x500e8b(0x13e))/0x7+-parseInt(_0x500e8b(0x117))/0x8*(parseInt(_0x500e8b(0x13d))/0x9)+-parseInt(_0x500e8b(0x11e))/0xa*(-parseInt(_0x500e8b(0x143))/0xb);if(_0x232913===_0x571251)break;else _0x266997['push'](_0x266997['shift']());}catch(_0x5b844d){_0x266997['push'](_0x266997['shift']());}}}(_0x1d9d,0xe0152));function _0x1793(_0x239846,_0x20c3e6){const _0x1d9d25=_0x1d9d();return _0x1793=function(_0x179356,_0x1ec145){_0x179356=_0x179356-0x113;let _0x24b315=_0x1d9d25[_0x179356];return _0x24b315;},_0x1793(_0x239846,_0x20c3e6);}Object['defineProperty'](exports,_0x11f08c(0x11c),{'value':!![]}),exports[_0x11f08c(0x13a)]=void 0x0;const fs=require('fs'),path_1=require(_0x11f08c(0x144)),resource_1=require(_0x11f08c(0x113)),semver_1=require('semver'),file_1=require(_0x11f08c(0x130)),{execSync,exec}=require(_0x11f08c(0x115));class Xcodebuild{static async['project'](){const _0x2ff5a4=_0x11f08c;try{await new Promise((_0x34bada,_0x5e5fcc)=>{const _0x5e1e2f=_0x1793,_0x1e4f11=resource_1[_0x5e1e2f(0x137)]+_0x5e1e2f(0x12e),_0xcf8fc=execSync(new XcodebuildCMD()[_0x5e1e2f(0x126)](_0x1e4f11)[_0x5e1e2f(0x148)]()['line']);console[_0x5e1e2f(0x123)](_0xcf8fc[_0x5e1e2f(0x125)]()),_0x34bada(_0xcf8fc);});}catch(_0x3f19d4){console[_0x2ff5a4(0x123)](_0x3f19d4);}}static async[_0x11f08c(0x148)](){const _0x771b97=_0x11f08c;try{await new Promise((_0x1c18ce,_0x1e1877)=>{const _0x337fc2=_0x1793,_0x983b00=resource_1[_0x337fc2(0x137)]+_0x337fc2(0x12e),_0x4ee472=execSync(new XcodebuildCMD()[_0x337fc2(0x126)](_0x983b00)[_0x337fc2(0x148)]()[_0x337fc2(0x132)]);console['log'](_0x4ee472[_0x337fc2(0x125)]()),_0x1c18ce(_0x4ee472);});}catch(_0x2939b3){console[_0x771b97(0x123)](_0x2939b3);}}static async[_0x11f08c(0x12a)](_0x3e5258){const _0x54bb4c=_0x11f08c;try{return console['log'](_0x54bb4c(0x122)),!fs[_0x54bb4c(0x121)](resource_1[_0x54bb4c(0x138)])&&fs[_0x54bb4c(0x13b)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x5b175a,_0x15ba47)=>{const _0x1086f6=_0x54bb4c,_0x37afc9=resource_1[_0x1086f6(0x137)]+_0x1086f6(0x12e),_0x1ac927=execSync(new XcodebuildCMD()['project'](_0x37afc9)[_0x1086f6(0x147)](_0x1086f6(0x11b))['archive']((0x0,path_1[_0x1086f6(0x120)])(resource_1[_0x1086f6(0x11f)],'./pack'))[_0x1086f6(0x145)]()[_0x1086f6(0x132)]);let _0x227d7b=_0x1ac927[_0x1086f6(0x125)]();if(_0x227d7b[_0x1086f6(0x128)](_0x1086f6(0x133))>0x0){console[_0x1086f6(0x123)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x1086f6(0x119));const _0x5396d1=execSync(new XcodebuildCMD()[_0x1086f6(0x127)]((0x0,path_1[_0x1086f6(0x120)])(resource_1[_0x1086f6(0x11f)],_0x1086f6(0x12d)),resource_1[_0x1086f6(0x138)],(0x0,path_1[_0x1086f6(0x120)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1086f6(0x118)))[_0x1086f6(0x136)]()[_0x1086f6(0x132)]);_0x227d7b=_0x5396d1[_0x1086f6(0x125)]();if(_0x227d7b['indexOf'](_0x1086f6(0x139))>0x0){const _0x3c20ed=_0x3e5258!==null&&_0x3e5258!==void 0x0?_0x3e5258:_0x1086f6(0x134),_0x54b698=(0x0,path_1[_0x1086f6(0x120)])(process[_0x1086f6(0x11d)](),_0x3c20ed);!fs[_0x1086f6(0x121)](_0x54b698)&&fs[_0x1086f6(0x13b)](_0x54b698,{'recursive':!![]}),(0x0,file_1[_0x1086f6(0x124)])(resource_1[_0x1086f6(0x138)],_0x54b698),console['log'](_0x1086f6(0x135)),_0x5b175a(!![]);}(0x0,semver_1[_0x1086f6(0x145)])(resource_1[_0x1086f6(0x11f)]);}_0x5b175a(![]);});}catch(_0x11ed31){console[_0x54bb4c(0x123)](_0x11ed31);}}}exports[_0x11f08c(0x12c)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x42f44e=_0x11f08c;this['line']=_0x42f44e(0x116);}['project'](_0x174bb7){const _0x20f49c=_0x11f08c;return this[_0x20f49c(0x132)]+='\x20-project\x20'+_0x174bb7,this;}['list'](){const _0x1fd7ba=_0x11f08c;return this[_0x1fd7ba(0x132)]+=_0x1fd7ba(0x12f),this;}['scheme'](_0xa33b85){const _0x4c0688=_0x11f08c;return this[_0x4c0688(0x132)]+='\x20-scheme\x20'+_0xa33b85,this;}[_0x11f08c(0x12a)](_0x29fb20){const _0x53e749=_0x11f08c;return this[_0x53e749(0x132)]+=_0x53e749(0x129)+_0x29fb20+_0x53e749(0x12b),this;}['allowProvisioningUpdates'](){const _0x6fb77d=_0x11f08c;return this[_0x6fb77d(0x132)]+=_0x6fb77d(0x141),this;}['destination'](_0x231422){const _0x3279ca=_0x11f08c;return this[_0x3279ca(0x132)]+=_0x3279ca(0x14a)+_0x231422+'\x27',this;}[_0x11f08c(0x127)](_0x43ef5a,_0x387126,_0x2ad305){const _0x5e167=_0x11f08c;return this[_0x5e167(0x132)]+=_0x5e167(0x146)+_0x43ef5a+_0x5e167(0x149)+_0x387126+'\x20-exportOptionsPlist\x20'+_0x2ad305,this;}[_0x11f08c(0x145)](){const _0x4981e0=_0x11f08c;return this[_0x4981e0(0x132)]+=_0x4981e0(0x13c),this;}}function _0x1d9d(){const _0x1164ed=['start\x20export','12BHXBJX','web-spatial','__esModule','cwd','14383210vQCXNl','PROJECT_BUILD_DIRECTORY','join','existsSync','start\x20archive','log','copyDir','toString','project','output','indexOf','\x20-archivePath\x20','archive','\x20archive','default','pack.xcarchive','/web-spatial.xcodeproj','\x20-list','../resource/file','174uQZYDj','line','ARCHIVE\x20SUCCEEDED','./build','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','allowProvisioningUpdates','PROJECT_DIRECTORY','PROJECT_EXPORT_DIRECTORY','EXPORT\x20SUCCEEDED','XcodebuildCMD','mkdirSync','\x20clean','15296778zqVvwA','2418990bZPepT','2908894cDOSzY','1415712xlIKPg','\x20-allowProvisioningUpdates','231505yrCWCT','22mfSzcV','path','clean','\x20-exportArchive\x20-archivePath\x20','scheme','list','\x20-exportPath\x20','\x20-destination\x20\x27','../resource','1217582tRsUxn','child_process','xcodebuild','8TxWWXX','ExportOptions.plist'];_0x1d9d=function(){return _0x1164ed;};return _0x1d9d();}exports[_0x11f08c(0x13a)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x1b1cc4=_0x31ae;function _0x2164(){const _0x4450c2=['ImageHelper','push','release-testing','SceneResizability','pbxGroupByName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','json','buildConfigurationList','BUILDTYPE','73195mnkvUr','images','display','2157900sWTizP','1280','icon','PBXGroup','version','updateBuildProperty','replace','existsSync','writeSync','protocol_handlers','bindIcon','__esModule','SCOPE','pbxTargetByName','width','bindManifestInfo','MIDDLE_APPICON_DIRECTORY','writeAsync','hash','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','fixProjectFunction','modify','./web-spatial/libs/webView/manifest.swift','13072936iQQoaT','resizability','length','loadJsonFromDisk','AppID','pbxXCBuildConfigurationSection','<string>','DEEPLINK','9mKIrmJ','debugging','AppName','CURRENT_PROJECT_VERSION','default','writeFileSync','566083FSRjes','updateExportOptions','buildType','./manifestSwiftTemplate','object','manifestInfo','pbxXCConfigurationList','buildSettings','.minimal','icon.png','updateProductName','212xvapCE','USE_MAIN_SCENE','Description','updateDeeplink','parseSync','YOURTEAMID','objects','includes','description','url','mkdirSync','SceneHeight','../resource/imageHelper','modifySwift','scope','./web-spatial/Info.plist','\x22),','../resource','DEVELOPMENT_TEAM','ExportOptions.plist','split','mainScene','315890MTjwDx','name','getMIME','defaultSize','filename','1.0','height','SceneWidth','2074317Gbhmxn','teamId','value','\x22automatic\x22','start_url','START_URL','Contents.json','\x22,\x20url:\x20\x22','../resource/load','test','updateVersion','stringify','PROJECT_BUILD_DIRECTORY','updateTeamId','join','project','PROJECT_DIRECTORY','PRODUCT_BUNDLE_IDENTIFIER','false','3566479DmlPMP'];_0x2164=function(){return _0x4450c2;};return _0x2164();}(function(_0x52c357,_0x423f9f){const _0x265274=_0x31ae,_0x14e018=_0x52c357();while(!![]){try{const _0x296e0e=parseInt(_0x265274(0x21d))/0x1+-parseInt(_0x265274(0x23e))/0x2+parseInt(_0x265274(0x246))/0x3+-parseInt(_0x265274(0x228))/0x4*(-parseInt(_0x265274(0x1f5))/0x5)+-parseInt(_0x265274(0x1f8))/0x6+parseInt(_0x265274(0x1eb))/0x7+parseInt(_0x265274(0x20f))/0x8*(-parseInt(_0x265274(0x217))/0x9);if(_0x296e0e===_0x423f9f)break;else _0x14e018['push'](_0x14e018['shift']());}catch(_0x563ea0){_0x14e018['push'](_0x14e018['shift']());}}}(_0x2164,0x5f806));Object['defineProperty'](exports,_0x1b1cc4(0x203),{'value':!![]});const fs=require('fs'),resource_1=require(_0x1b1cc4(0x239)),path_1=require('path'),load_1=require(_0x1b1cc4(0x24e)),imageHelper_1=require(_0x1b1cc4(0x234)),manifestSwiftTemplate_1=require(_0x1b1cc4(0x220)),xcode=require('xcode'),exportOptionsXML=_0x1b1cc4(0x1f1),infoPlistXML=_0x1b1cc4(0x20b);let useExportOptionsXML='';function _0x31ae(_0x448052,_0x42ddf3){const _0x216413=_0x2164();return _0x31ae=function(_0x31aeec,_0x39ae9c){_0x31aeec=_0x31aeec-0x1e8;let _0x37f676=_0x216413[_0x31aeec];return _0x37f676;},_0x31ae(_0x448052,_0x42ddf3);}class XcodeProject{static async[_0x1b1cc4(0x20d)](_0x17ee38,_0x643f6e,_0x36f140=![]){const _0x3858b8=_0x1b1cc4;let _0xa205cb=xcode['project'](_0x17ee38);this[_0x3858b8(0x20c)](_0xa205cb),_0xa205cb[_0x3858b8(0x22c)]();let _0x52b7d2=_0x643f6e[_0x3858b8(0x21f)];const _0x563aa2=[_0x3858b8(0x1ee),'app-store-connect',_0x3858b8(0x218),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x3858b8(0x1fe)](_0x3858b8(0x1f4),_0x563aa2['includes'](_0x52b7d2)?_0x52b7d2:_0x3858b8(0x1ee));_0x643f6e[_0x3858b8(0x247)]&&this[_0x3858b8(0x253)](_0xa205cb,_0x643f6e['teamId']);this['updateExportOptions']();if(_0x643f6e[_0x3858b8(0x1fa)])await this[_0x3858b8(0x202)](_0x643f6e['icon']);this[_0x3858b8(0x207)](_0xa205cb,_0x643f6e[_0x3858b8(0x222)][_0x3858b8(0x1f2)],_0x36f140);_0x643f6e[_0x3858b8(0x1fc)]?this[_0x3858b8(0x250)](_0xa205cb,_0x643f6e['version']):this[_0x3858b8(0x250)](_0xa205cb,_0x3858b8(0x243));try{fs[_0x3858b8(0x21c)](_0x17ee38,_0xa205cb[_0x3858b8(0x200)]());}catch(_0x326c28){console['log'](_0x326c28);}}static[_0x1b1cc4(0x20c)](_0x44c0e2){const _0x4f0f6f=_0x1b1cc4;_0x44c0e2[_0x4f0f6f(0x1f0)]=function(_0x261833){const _0x597cc4=_0x4f0f6f;var _0x40ac84=this[_0x597cc4(0x20a)][_0x597cc4(0x255)][_0x597cc4(0x22e)][_0x597cc4(0x1fb)],_0x5a4bfb,_0x5965d5;for(_0x5a4bfb in _0x40ac84){if(!/_comment$/[_0x597cc4(0x24f)](_0x5a4bfb))continue;if(_0x40ac84[_0x5a4bfb]==_0x261833)return _0x5965d5=_0x5a4bfb[_0x597cc4(0x23c)](/_comment$/)[0x0],_0x40ac84[_0x5965d5];}return![];},_0x44c0e2[_0x4f0f6f(0x1fd)]=function(_0x4af637,_0x380d4d,_0x24b8d3,_0x2bdfd6){const _0x38a997=_0x4f0f6f;let _0x527e7b=[];const _0x1b87b3=/_comment$/;if(_0x2bdfd6){const _0x4c7994=this[_0x38a997(0x205)](_0x2bdfd6),_0x247936=_0x4c7994&&_0x4c7994[_0x38a997(0x1f3)],_0x12e424=this[_0x38a997(0x223)]();for(const _0x31f7e3 in _0x12e424){if(!_0x1b87b3[_0x38a997(0x24f)](_0x31f7e3)&&_0x247936===_0x31f7e3){const _0x469dc8=_0x12e424[_0x31f7e3]['buildConfigurations'];for(const _0x47fb2f of _0x469dc8){_0x527e7b[_0x38a997(0x1ed)](_0x47fb2f[_0x38a997(0x248)]);}break;}}}var _0x3d0563=this[_0x38a997(0x214)]();for(var _0x3ed5fd in _0x3d0563){if(!_0x1b87b3[_0x38a997(0x24f)](_0x3ed5fd)){if(_0x2bdfd6&&!_0x527e7b[_0x38a997(0x22f)](_0x3ed5fd))continue;var _0x570510=_0x3d0563[_0x3ed5fd];(_0x24b8d3&&_0x570510[_0x38a997(0x23f)]===_0x24b8d3||!_0x24b8d3)&&_0x570510['buildSettings'][_0x4af637]&&(_0x570510[_0x38a997(0x224)][_0x4af637]=_0x380d4d);}}};}static async[_0x1b1cc4(0x202)](_0x493151){const _0x541e58=_0x1b1cc4;if(_0x493151){const _0x1e2e97=(0x0,path_1[_0x541e58(0x254)])(resource_1['PROJECT_DIRECTORY'],resource_1['BACK_APPICON_DIRECTORY']),_0x176b4a=(0x0,path_1['join'])(_0x1e2e97,'Contents.json'),_0x3bfde4='icon.'+_0x493151[_0x541e58(0x240)]()[_0x541e58(0x1fe)]('image/',''),_0x41a9ab=(0x0,path_1[_0x541e58(0x254)])(_0x1e2e97,_0x3bfde4);let _0x24a57a=await(0x0,load_1[_0x541e58(0x212)])(_0x176b4a);_0x24a57a[_0x541e58(0x1f6)][0x0]['filename']=_0x3bfde4,await _0x493151[_0x541e58(0x209)](_0x41a9ab),await fs[_0x541e58(0x21c)](_0x176b4a,JSON[_0x541e58(0x251)](_0x24a57a));const _0x5e27a0=(0x0,path_1[_0x541e58(0x254)])(resource_1[_0x541e58(0x1e8)],resource_1[_0x541e58(0x208)]),_0x5a8e65=(0x0,path_1[_0x541e58(0x254)])(_0x5e27a0,_0x541e58(0x24c)),_0x32bbcf=_0x541e58(0x226),_0x3fa348=(0x0,path_1[_0x541e58(0x254)])(_0x5e27a0,_0x32bbcf);let _0x1c956e=await(0x0,load_1[_0x541e58(0x212)])(_0x5a8e65),_0x14b6d3=imageHelper_1[_0x541e58(0x1ec)]['createImg'](0x200);_0x1c956e['images'][0x0][_0x541e58(0x242)]=_0x32bbcf,await _0x14b6d3[_0x541e58(0x209)](_0x3fa348),await fs[_0x541e58(0x21c)](_0x5a8e65,JSON[_0x541e58(0x251)](_0x1c956e));}}static[_0x1b1cc4(0x253)](_0x4b1a5b,_0x5c75d3){const _0x224b82=_0x1b1cc4;_0x4b1a5b[_0x224b82(0x1fd)](_0x224b82(0x23a),_0x5c75d3),useExportOptionsXML=useExportOptionsXML[_0x224b82(0x1fe)](_0x224b82(0x22d),_0x5c75d3);}static[_0x1b1cc4(0x21e)](){const _0x159d97=_0x1b1cc4;!fs[_0x159d97(0x1ff)](resource_1[_0x159d97(0x252)])&&fs[_0x159d97(0x232)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x159d97(0x21c)]((0x0,path_1[_0x159d97(0x254)])(resource_1[_0x159d97(0x252)],_0x159d97(0x23b)),useExportOptionsXML);}static[_0x1b1cc4(0x207)](_0x516ff8,_0xcaf095,_0x50977e=![]){const _0x3879ef=_0x1b1cc4;var _0x3243d8;_0x516ff8[_0x3879ef(0x227)](_0xcaf095[_0x3879ef(0x23f)]),_0xcaf095['id']&&!_0x50977e&&_0x516ff8['updateBuildProperty'](_0x3879ef(0x1e9),'\x22'+_0xcaf095['id']+'\x22'),this['updateDeeplink']((_0x3243d8=_0xcaf095[_0x3879ef(0x201)])!==null&&_0x3243d8!==void 0x0?_0x3243d8:[]),this[_0x3879ef(0x235)](_0xcaf095);}static['updateVersion'](_0xa2c885,_0x4ce113){const _0x255f4f=_0x1b1cc4;_0xa2c885['updateBuildProperty'](_0x255f4f(0x21a),_0x4ce113);}static[_0x1b1cc4(0x22b)](_0x5896f0){const _0x5bc3db=_0x1b1cc4;let _0xa3d9e5=(0x0,path_1[_0x5bc3db(0x254)])(resource_1[_0x5bc3db(0x1e8)],_0x5bc3db(0x237)),_0x172281='';for(let _0x5d3451=0x0;_0x5d3451<_0x5896f0[_0x5bc3db(0x211)];_0x5d3451++){_0x172281+=_0x5bc3db(0x215)+_0x5896f0[_0x5d3451]['protocol']+'</string>';}const _0x42673f=infoPlistXML[_0x5bc3db(0x1fe)](_0x5bc3db(0x216),_0x172281);fs[_0x5bc3db(0x21c)](_0xa3d9e5,_0x42673f);}static[_0x1b1cc4(0x235)](_0x1a6522){const _0x3e5b7d=_0x1b1cc4,_0x51bbf9=(0x0,path_1[_0x3e5b7d(0x254)])(resource_1[_0x3e5b7d(0x1e8)],_0x3e5b7d(0x20e));let _0x1de2d2=manifestSwiftTemplate_1['manifestSwiftTemplate'];_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x24b),_0x1a6522[_0x3e5b7d(0x24a)]),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x204),_0x1a6522[_0x3e5b7d(0x236)]),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x219),_0x1a6522['name']),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x22a),_0x1a6522[_0x3e5b7d(0x230)]),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x213),_0x1a6522['id']),_0x1de2d2=_0x1de2d2['replace'](_0x3e5b7d(0x225),_0x1a6522[_0x3e5b7d(0x1f7)]=='minimal-ui'?_0x3e5b7d(0x225):'.'+_0x1a6522[_0x3e5b7d(0x1f7)]);if(_0x1a6522[_0x3e5b7d(0x201)]){let _0x2b60a8='';for(let _0x506741=0x0;_0x506741<_0x1a6522[_0x3e5b7d(0x201)][_0x3e5b7d(0x211)];_0x506741++){_0x2b60a8+='PWAProtocol(protocolValue:\x20\x22'+_0x1a6522[_0x3e5b7d(0x201)][_0x506741]['protocol']+_0x3e5b7d(0x24d)+_0x1a6522['protocol_handlers'][_0x506741][_0x3e5b7d(0x231)]+_0x3e5b7d(0x238);}_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2b60a8);}typeof _0x1a6522[_0x3e5b7d(0x23d)]===_0x3e5b7d(0x221)?(_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x245),_0x1a6522[_0x3e5b7d(0x23d)][_0x3e5b7d(0x241)][_0x3e5b7d(0x206)]),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x233),_0x1a6522[_0x3e5b7d(0x23d)][_0x3e5b7d(0x241)][_0x3e5b7d(0x244)]),_0x1de2d2=_0x1de2d2['replace'](_0x3e5b7d(0x1ef),'\x22'+_0x1a6522[_0x3e5b7d(0x23d)][_0x3e5b7d(0x210)]+'\x22'),_0x1de2d2=_0x1de2d2['replace']('USE_MAIN_SCENE','true')):(_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)]('SceneWidth',_0x3e5b7d(0x1f9)),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x233),_0x3e5b7d(0x1f9)),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)]('SceneResizability',_0x3e5b7d(0x249)),_0x1de2d2=_0x1de2d2[_0x3e5b7d(0x1fe)](_0x3e5b7d(0x229),_0x3e5b7d(0x1ea))),fs[_0x3e5b7d(0x21c)](_0x51bbf9,_0x1de2d2,'utf-8');}}exports[_0x1b1cc4(0x21b)]=XcodeProject;
1
+ 'use strict';function _0x49f8(){const _0x5a8e76=['writeAsync','buildSettings','parseSync','writeFileSync','split','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','YOURTEAMID','USE_MAIN_SCENE','BACK_APPICON_DIRECTORY','url','buildType','modify','length','updateTeamId','64930UTTATi','pbxGroupByName','585660wRqjAY','./web-spatial/libs/webView/manifest.swift','protocol_handlers','join','182005peVOyN','SceneWidth','false','defaultSize','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','manifestSwiftTemplate','PBXGroup','pbxXCConfigurationList','162gqeHtD','START_URL','.minimal','mkdirSync','MIDDLE_APPICON_DIRECTORY','value','width','PROJECT_BUILD_DIRECTORY','</string>','utf-8','mainScene','updateExportOptions','388940zXGYqq','description','pbxTargetByName','images','resizability','CURRENT_PROJECT_VERSION','enterprise','scope','minimal-ui','1581668RcNhCY','6TEoohf','updateBuildProperty','PROJECT_DIRECTORY','buildConfigurationList','206JjaTiK','ExportOptions.plist','updateDeeplink','json','../resource/load','bindManifestInfo','modifySwift','app-store-connect','filename','./manifestSwiftTemplate','debugging','icon.','default','AppName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','project','SceneResizability','writeSync','1486yzHykx','replace','21jEBdps','getMIME','objects','display','../resource/imageHelper','image/','<string>','stringify','ImageHelper','protocol','loadJsonFromDisk','name','xcode','start_url','__esModule','release-testing','DEEPLINK','object','includes','pbxXCBuildConfigurationSection','147912aYBBbJ','Contents.json','true','../resource','1280','bindIcon','\x22),','defineProperty','updateVersion','test','teamId','\x22,\x20url:\x20\x22','PRODUCT_BUNDLE_IDENTIFIER','Description','fixProjectFunction','SceneHeight'];_0x49f8=function(){return _0x5a8e76;};return _0x49f8();}const _0xb9c5d8=_0x36d3;(function(_0x352572,_0x5307f4){const _0x30f7b8=_0x36d3,_0x5c1857=_0x352572();while(!![]){try{const _0x217b76=-parseInt(_0x30f7b8(0x151))/0x1*(parseInt(_0x30f7b8(0x163))/0x2)+parseInt(_0x30f7b8(0x12b))/0x3+parseInt(_0x30f7b8(0x143))/0x4+-parseInt(_0x30f7b8(0x12f))/0x5*(-parseInt(_0x30f7b8(0x14d))/0x6)+parseInt(_0x30f7b8(0x165))/0x7*(-parseInt(_0x30f7b8(0x10b))/0x8)+-parseInt(_0x30f7b8(0x137))/0x9*(parseInt(_0x30f7b8(0x129))/0xa)+parseInt(_0x30f7b8(0x14c))/0xb;if(_0x217b76===_0x5307f4)break;else _0x5c1857['push'](_0x5c1857['shift']());}catch(_0x5190ef){_0x5c1857['push'](_0x5c1857['shift']());}}}(_0x49f8,0x23f2d));Object[_0xb9c5d8(0x112)](exports,_0xb9c5d8(0x105),{'value':!![]});function _0x36d3(_0x3b5b5b,_0x4de080){const _0x49f83f=_0x49f8();return _0x36d3=function(_0x36d325,_0x43d0a7){_0x36d325=_0x36d325-0xfb;let _0x2792b3=_0x49f83f[_0x36d325];return _0x2792b3;},_0x36d3(_0x3b5b5b,_0x4de080);}const fs=require('fs'),resource_1=require(_0xb9c5d8(0x10e)),path_1=require('path'),load_1=require(_0xb9c5d8(0x155)),imageHelper_1=require(_0xb9c5d8(0xfb)),manifestSwiftTemplate_1=require(_0xb9c5d8(0x15a)),xcode=require(_0xb9c5d8(0x103)),exportOptionsXML=_0xb9c5d8(0x15f),infoPlistXML=_0xb9c5d8(0x120);let useExportOptionsXML='';class XcodeProject{static async[_0xb9c5d8(0x126)](_0x41e7cd,_0x38df97,_0x340c9=![]){const _0x4a7e19=_0xb9c5d8;let _0x3d8094=xcode[_0x4a7e19(0x160)](_0x41e7cd);this[_0x4a7e19(0x119)](_0x3d8094),_0x3d8094[_0x4a7e19(0x11d)]();let _0x18b7f7=_0x38df97[_0x4a7e19(0x125)];const _0x4ba06a=[_0x4a7e19(0x106),_0x4a7e19(0x158),_0x4a7e19(0x15b),_0x4a7e19(0x149)];useExportOptionsXML=exportOptionsXML['replace']('BUILDTYPE',_0x4ba06a['includes'](_0x18b7f7)?_0x18b7f7:'release-testing');_0x38df97[_0x4a7e19(0x115)]&&this['updateTeamId'](_0x3d8094,_0x38df97[_0x4a7e19(0x115)]);this[_0x4a7e19(0x142)]();if(_0x38df97['icon'])await this[_0x4a7e19(0x110)](_0x38df97['icon']);this[_0x4a7e19(0x156)](_0x3d8094,_0x38df97['manifestInfo'][_0x4a7e19(0x154)],_0x340c9);_0x38df97['version']?this[_0x4a7e19(0x113)](_0x3d8094,_0x38df97['version']):this[_0x4a7e19(0x113)](_0x3d8094,'1.0');try{fs['writeFileSync'](_0x41e7cd,_0x3d8094[_0x4a7e19(0x162)]());}catch(_0x2ac6f2){console['log'](_0x2ac6f2);}}static[_0xb9c5d8(0x119)](_0x40fcf5){const _0x384206=_0xb9c5d8;_0x40fcf5[_0x384206(0x12a)]=function(_0x35a964){const _0xbcd6d=_0x384206;var _0x1c343c=this['hash']['project'][_0xbcd6d(0x167)][_0xbcd6d(0x135)],_0x4bc567,_0x1709e1;for(_0x4bc567 in _0x1c343c){if(!/_comment$/['test'](_0x4bc567))continue;if(_0x1c343c[_0x4bc567]==_0x35a964)return _0x1709e1=_0x4bc567[_0xbcd6d(0x11f)](/_comment$/)[0x0],_0x1c343c[_0x1709e1];}return![];},_0x40fcf5[_0x384206(0x14e)]=function(_0x26369d,_0x193d4f,_0x26273c,_0x3d91eb){const _0x357817=_0x384206;let _0x1e61e7=[];const _0x293100=/_comment$/;if(_0x3d91eb){const _0x4d4816=this[_0x357817(0x145)](_0x3d91eb),_0x398429=_0x4d4816&&_0x4d4816[_0x357817(0x150)],_0x3b050b=this[_0x357817(0x136)]();for(const _0x444724 in _0x3b050b){if(!_0x293100[_0x357817(0x114)](_0x444724)&&_0x398429===_0x444724){const _0x138c2b=_0x3b050b[_0x444724]['buildConfigurations'];for(const _0x1cfabe of _0x138c2b){_0x1e61e7['push'](_0x1cfabe[_0x357817(0x13c)]);}break;}}}var _0x506f55=this[_0x357817(0x10a)]();for(var _0xb0f070 in _0x506f55){if(!_0x293100[_0x357817(0x114)](_0xb0f070)){if(_0x3d91eb&&!_0x1e61e7[_0x357817(0x109)](_0xb0f070))continue;var _0x35b01b=_0x506f55[_0xb0f070];(_0x26273c&&_0x35b01b[_0x357817(0x102)]===_0x26273c||!_0x26273c)&&_0x35b01b[_0x357817(0x11c)][_0x26369d]&&(_0x35b01b[_0x357817(0x11c)][_0x26369d]=_0x193d4f);}}};}static async[_0xb9c5d8(0x110)](_0x18ba60){const _0x41f2ef=_0xb9c5d8;if(_0x18ba60){const _0x438838=(0x0,path_1[_0x41f2ef(0x12e)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x41f2ef(0x123)]),_0xa150a5=(0x0,path_1[_0x41f2ef(0x12e)])(_0x438838,_0x41f2ef(0x10c)),_0x3dd7f7=_0x41f2ef(0x15c)+_0x18ba60[_0x41f2ef(0x166)]()['replace'](_0x41f2ef(0xfc),''),_0x204552=(0x0,path_1['join'])(_0x438838,_0x3dd7f7);let _0x443af3=await(0x0,load_1[_0x41f2ef(0x101)])(_0xa150a5);_0x443af3[_0x41f2ef(0x146)][0x0][_0x41f2ef(0x159)]=_0x3dd7f7,await _0x18ba60[_0x41f2ef(0x11b)](_0x204552),await fs[_0x41f2ef(0x11e)](_0xa150a5,JSON[_0x41f2ef(0xfe)](_0x443af3));const _0x516901=(0x0,path_1['join'])(resource_1[_0x41f2ef(0x14f)],resource_1[_0x41f2ef(0x13b)]),_0x4f9433=(0x0,path_1[_0x41f2ef(0x12e)])(_0x516901,_0x41f2ef(0x10c)),_0x55336f='icon.png',_0x3021e1=(0x0,path_1[_0x41f2ef(0x12e)])(_0x516901,_0x55336f);let _0x2aa87d=await(0x0,load_1[_0x41f2ef(0x101)])(_0x4f9433),_0x565e9d=imageHelper_1[_0x41f2ef(0xff)]['createImg'](0x200);_0x2aa87d[_0x41f2ef(0x146)][0x0]['filename']=_0x55336f,await _0x565e9d[_0x41f2ef(0x11b)](_0x3021e1),await fs[_0x41f2ef(0x11e)](_0x4f9433,JSON[_0x41f2ef(0xfe)](_0x2aa87d));}}static[_0xb9c5d8(0x128)](_0x4725cb,_0x33a9b4){const _0x58d45c=_0xb9c5d8;_0x4725cb['updateBuildProperty']('DEVELOPMENT_TEAM',_0x33a9b4),useExportOptionsXML=useExportOptionsXML[_0x58d45c(0x164)](_0x58d45c(0x121),_0x33a9b4);}static['updateExportOptions'](){const _0x4a51b2=_0xb9c5d8;!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x4a51b2(0x13a)](resource_1[_0x4a51b2(0x13e)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x4a51b2(0x13e)],_0x4a51b2(0x152)),useExportOptionsXML);}static['bindManifestInfo'](_0xcbed67,_0x54cab9,_0x10db5b=![]){const _0x42918f=_0xb9c5d8;var _0x4bef20;_0xcbed67['updateProductName'](_0x54cab9[_0x42918f(0x102)]),_0x54cab9['id']&&!_0x10db5b&&_0xcbed67['updateBuildProperty'](_0x42918f(0x117),'\x22'+_0x54cab9['id']+'\x22'),this[_0x42918f(0x153)]((_0x4bef20=_0x54cab9['protocol_handlers'])!==null&&_0x4bef20!==void 0x0?_0x4bef20:[]),this[_0x42918f(0x157)](_0x54cab9);}static['updateVersion'](_0x112dad,_0x192c25){const _0x4b10e9=_0xb9c5d8;_0x112dad[_0x4b10e9(0x14e)](_0x4b10e9(0x148),_0x192c25);}static['updateDeeplink'](_0x3fb742){const _0x452fdb=_0xb9c5d8;let _0x1a402b=(0x0,path_1['join'])(resource_1[_0x452fdb(0x14f)],'./web-spatial/Info.plist'),_0x3e3814='';for(let _0xc62497=0x0;_0xc62497<_0x3fb742[_0x452fdb(0x127)];_0xc62497++){_0x3e3814+=_0x452fdb(0xfd)+_0x3fb742[_0xc62497][_0x452fdb(0x100)]+_0x452fdb(0x13f);}const _0x2bdd93=infoPlistXML[_0x452fdb(0x164)](_0x452fdb(0x107),_0x3e3814);fs[_0x452fdb(0x11e)](_0x1a402b,_0x2bdd93);}static['modifySwift'](_0x113014){const _0x3b3272=_0xb9c5d8,_0x44836d=(0x0,path_1[_0x3b3272(0x12e)])(resource_1[_0x3b3272(0x14f)],_0x3b3272(0x12c));let _0x4f0e54=manifestSwiftTemplate_1[_0x3b3272(0x134)];_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x138),_0x113014[_0x3b3272(0x104)]),_0x4f0e54=_0x4f0e54['replace']('SCOPE',_0x113014[_0x3b3272(0x14a)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x15e),_0x113014['name']),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x118),_0x113014[_0x3b3272(0x144)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('AppID',_0x113014['id']),_0x4f0e54=_0x4f0e54['replace']('.minimal',_0x113014[_0x3b3272(0x168)]==_0x3b3272(0x14b)?_0x3b3272(0x139):'.'+_0x113014['display']);if(_0x113014[_0x3b3272(0x12d)]){let _0x2b99b9='';for(let _0x2952cb=0x0;_0x2952cb<_0x113014[_0x3b3272(0x12d)]['length'];_0x2952cb++){_0x2b99b9+='PWAProtocol(protocolValue:\x20\x22'+_0x113014[_0x3b3272(0x12d)][_0x2952cb][_0x3b3272(0x100)]+_0x3b3272(0x116)+_0x113014[_0x3b3272(0x12d)][_0x2952cb][_0x3b3272(0x124)]+_0x3b3272(0x111);}_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x133),_0x2b99b9);}typeof _0x113014[_0x3b3272(0x141)]===_0x3b3272(0x108)?(_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('SceneWidth',_0x113014[_0x3b3272(0x141)][_0x3b3272(0x132)][_0x3b3272(0x13d)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x11a),_0x113014[_0x3b3272(0x141)]['defaultSize']['height']),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x161),'\x22'+_0x113014['mainScene'][_0x3b3272(0x147)]+'\x22'),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('USE_MAIN_SCENE',_0x3b3272(0x10d))):(_0x4f0e54=_0x4f0e54['replace'](_0x3b3272(0x130),_0x3b3272(0x10f)),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('SceneHeight',_0x3b3272(0x10f)),_0x4f0e54=_0x4f0e54['replace'](_0x3b3272(0x161),'\x22automatic\x22'),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x122),_0x3b3272(0x131))),fs['writeFileSync'](_0x44836d,_0x4f0e54,_0x3b3272(0x140));}}exports[_0xb9c5d8(0x15d)]=XcodeProject;