@webspatial/builder 0.0.1 → 0.0.3

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 (113) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +1 -0
  3. package/dist/lib/Cli.d.ts +3 -0
  4. package/dist/lib/Cli.js +1 -0
  5. package/dist/lib/cmds/build.d.ts +4 -0
  6. package/dist/lib/cmds/build.js +1 -0
  7. package/dist/lib/cmds/check.d.ts +3 -0
  8. package/dist/lib/cmds/check.js +1 -0
  9. package/dist/lib/cmds/help.d.ts +3 -0
  10. package/dist/lib/cmds/help.js +1 -0
  11. package/dist/lib/cmds/version.d.ts +2 -0
  12. package/dist/lib/cmds/version.js +1 -0
  13. package/dist/lib/pwa/config.d.ts +7 -0
  14. package/dist/lib/pwa/config.js +1 -0
  15. package/dist/lib/pwa/index.d.ts +16 -0
  16. package/dist/lib/pwa/index.js +1 -0
  17. package/dist/lib/pwa/validate.d.ts +4 -0
  18. package/dist/lib/pwa/validate.js +1 -0
  19. package/dist/lib/resource/file.d.ts +2 -0
  20. package/dist/lib/resource/file.js +1 -0
  21. package/dist/lib/resource/imageHelper.d.ts +7 -0
  22. package/dist/lib/resource/imageHelper.js +1 -0
  23. package/dist/lib/resource/index.d.ts +13 -0
  24. package/dist/lib/resource/index.js +1 -0
  25. package/dist/lib/resource/load.d.ts +6 -0
  26. package/dist/lib/resource/load.js +1 -0
  27. package/dist/lib/utils/CustomError.d.ts +13 -0
  28. package/dist/lib/utils/CustomError.js +1 -0
  29. package/dist/lib/utils/FetchUtils-1.d.ts +12 -0
  30. package/dist/lib/utils/FetchUtils-1.js +1 -0
  31. package/dist/lib/utils/Log.d.ts +88 -0
  32. package/dist/lib/utils/Log.js +1 -0
  33. package/dist/lib/utils/fetch.d.ts +5 -0
  34. package/dist/lib/utils/fetch.js +1 -0
  35. package/dist/lib/utils/messages.d.ts +50 -0
  36. package/dist/lib/utils/messages.js +1 -0
  37. package/dist/lib/utils/utils.d.ts +1 -0
  38. package/dist/lib/utils/utils.js +1 -0
  39. package/dist/lib/xcode/index.d.ts +5 -0
  40. package/dist/lib/xcode/index.js +1 -0
  41. package/dist/lib/xcode/manifestSwiftTemplate.d.ts +1 -0
  42. package/dist/lib/xcode/manifestSwiftTemplate.js +1 -0
  43. package/dist/lib/xcode/xcodebuild.d.ts +16 -0
  44. package/dist/lib/xcode/xcodebuild.js +1 -0
  45. package/dist/lib/xcode/xcodeproject.d.ts +11 -0
  46. package/dist/lib/xcode/xcodeproject.js +1 -0
  47. package/dist/lib/xcode/xcrun.d.ts +7 -0
  48. package/dist/lib/xcode/xcrun.js +1 -0
  49. package/package.json +2 -1
  50. package/template/visionOSApp/Packages/RealityKitContent/.build/workspace-state.json +7 -0
  51. package/template/visionOSApp/Packages/RealityKitContent/.swiftpm/xcode/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  52. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json +11 -0
  53. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json +112 -0
  54. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata +17 -0
  55. package/template/visionOSApp/Packages/RealityKitContent/Package.swift +27 -0
  56. package/template/visionOSApp/Packages/RealityKitContent/README.md +3 -0
  57. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda +50 -0
  58. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda +216 -0
  59. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda +59 -0
  60. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift +4 -0
  61. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json +12 -0
  62. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json +6 -0
  63. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Contents.json +17 -0
  64. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json +12 -0
  65. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json +6 -0
  66. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json +12 -0
  67. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json +6 -0
  68. package/template/visionOSApp/web-spatial/Assets.xcassets/Contents.json +6 -0
  69. package/template/visionOSApp/web-spatial/Info.plist +33 -0
  70. package/template/visionOSApp/web-spatial/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
  71. package/template/visionOSApp/web-spatial/libs/EventEmitter.swift +32 -0
  72. package/template/visionOSApp/web-spatial/libs/SpatialComponent.swift +31 -0
  73. package/template/visionOSApp/web-spatial/libs/SpatialEntity.swift +179 -0
  74. package/template/visionOSApp/web-spatial/libs/SpatialInputComponent.swift +26 -0
  75. package/template/visionOSApp/web-spatial/libs/SpatialMeshResource.swift +19 -0
  76. package/template/visionOSApp/web-spatial/libs/SpatialModel3DComponent.swift +51 -0
  77. package/template/visionOSApp/web-spatial/libs/SpatialModelComponent.swift +32 -0
  78. package/template/visionOSApp/web-spatial/libs/SpatialObject.swift +144 -0
  79. package/template/visionOSApp/web-spatial/libs/SpatialPhysicallyBasedMaterial.swift +19 -0
  80. package/template/visionOSApp/web-spatial/libs/SpatialViewComponent.swift +15 -0
  81. package/template/visionOSApp/web-spatial/libs/SpatialWindowComponent.swift +420 -0
  82. package/template/visionOSApp/web-spatial/libs/SpatialWindowContainer.swift +132 -0
  83. package/template/visionOSApp/web-spatial/libs/Utils/CommandManager.swift +799 -0
  84. package/template/visionOSApp/web-spatial/libs/Utils/Logger.swift +36 -0
  85. package/template/visionOSApp/web-spatial/libs/Utils/SceneManager.swift +108 -0
  86. package/template/visionOSApp/web-spatial/libs/Utils/WindowContainerMgr.swift +113 -0
  87. package/template/visionOSApp/web-spatial/libs/json/JsonParser.swift +52 -0
  88. package/template/visionOSApp/web-spatial/libs/uiKitDelegate/Window.swift +34 -0
  89. package/template/visionOSApp/web-spatial/libs/webView/UpdateSystem.swift +33 -0
  90. package/template/visionOSApp/web-spatial/libs/webView/backend/NativeWebView.swift +319 -0
  91. package/template/visionOSApp/web-spatial/libs/webView/manifest.swift +91 -0
  92. package/template/visionOSApp/web-spatial/static-web/index.html +9 -0
  93. package/template/visionOSApp/web-spatial/views/HideViewModifier.swift +17 -0
  94. package/template/visionOSApp/web-spatial/views/ImmersiveView.swift +24 -0
  95. package/template/visionOSApp/web-spatial/views/LoadingView.swift +25 -0
  96. package/template/visionOSApp/web-spatial/views/MaterialWithBorderCornerModifier.swift +82 -0
  97. package/template/visionOSApp/web-spatial/views/OpenDismissHandlerUI.swift +52 -0
  98. package/template/visionOSApp/web-spatial/views/PlainWindowContainerView.swift +84 -0
  99. package/template/visionOSApp/web-spatial/views/SpatialModel3DView.swift +193 -0
  100. package/template/visionOSApp/web-spatial/views/SpatialViewUI.swift +168 -0
  101. package/template/visionOSApp/web-spatial/views/SpatialWebViewUI.swift +187 -0
  102. package/template/visionOSApp/web-spatial/views/VolumetricWindowContainerView.swift +34 -0
  103. package/template/visionOSApp/web-spatial/views/ui/NavView.swift +88 -0
  104. package/template/visionOSApp/web-spatial/web_spatialApp.swift +134 -0
  105. package/template/visionOSApp/web-spatial.xcodeproj/project.pbxproj +686 -0
  106. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  107. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  108. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +5 -0
  109. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcuserdata/bytedance.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  110. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcuserdata/bytedance.xcuserdatad/WorkspaceSettings.xcsettings +14 -0
  111. package/template/visionOSApp/web-spatial.xcodeproj/xcshareddata/xcschemes/web-spatial.xcscheme +115 -0
  112. package/template/visionOSApp/web-spatial.xcodeproj/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +27 -0
  113. package/template/visionOSApp/web-spatialTests/web_spatialTests.swift +34 -0
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const _0x1a477f=_0x5902;function _0x5902(_0x178c73,_0x4461d9){const _0x2f2eaf=_0x2f2e();return _0x5902=function(_0x590272,_0x4faf4e){_0x590272=_0x590272-0x1a5;let _0x11faa0=_0x2f2eaf[_0x590272];return _0x11faa0;},_0x5902(_0x178c73,_0x4461d9);}(function(_0x187ab1,_0x1612e4){const _0x52804d=_0x5902,_0x511ec8=_0x187ab1();while(!![]){try{const _0x3e3f00=parseInt(_0x52804d(0x1a6))/0x1*(-parseInt(_0x52804d(0x1b5))/0x2)+-parseInt(_0x52804d(0x1a8))/0x3+parseInt(_0x52804d(0x1bb))/0x4*(-parseInt(_0x52804d(0x1a9))/0x5)+parseInt(_0x52804d(0x1b8))/0x6*(-parseInt(_0x52804d(0x1ba))/0x7)+parseInt(_0x52804d(0x1bd))/0x8*(parseInt(_0x52804d(0x1b0))/0x9)+parseInt(_0x52804d(0x1aa))/0xa+-parseInt(_0x52804d(0x1ab))/0xb*(-parseInt(_0x52804d(0x1ac))/0xc);if(_0x3e3f00===_0x1612e4)break;else _0x511ec8['push'](_0x511ec8['shift']());}catch(_0x1b6bff){_0x511ec8['push'](_0x511ec8['shift']());}}}(_0x2f2e,0x47d3b));Object[_0x1a477f(0x1bc)](exports,'__esModule',{'value':!![]});function _0x2f2e(){const _0xc314e8=['exit','slice','24746gfRkwq','code','ConsoleLog','17022NHccGm','isArray','595NSwYIg','4HqqRPb','defineProperty','24nvcAlP','Cli','11sySyQN','error','1725228VqUsFy','1875070SaaKtV','1401800IiRziR','1511268hbVmiN','108uDHPGa','message','cli','./lib/utils/Log','734607DNUDaN','argv','exports'];_0x2f2e=function(){return _0xc314e8;};return _0x2f2e();}const Cli_1=require('./lib/Cli'),Log_1=require(_0x1a477f(0x1af)),CustomError_1=require('./lib/utils/CustomError');module[_0x1a477f(0x1b2)]=async()=>{const _0x46d981=_0x1a477f,_0x459fde=new Cli_1[(_0x46d981(0x1a5))](),_0x7350a5=new Log_1[(_0x46d981(0x1b7))](_0x46d981(0x1ae)),_0x43f083=process[_0x46d981(0x1b1)][_0x46d981(0x1b4)](0x2);let _0x40cbca;try{_0x40cbca=await _0x459fde['run'](_0x43f083);}catch(_0x2478ef){if(_0x2478ef instanceof CustomError_1['CustomError']){const _0x19ea5e=_0x2478ef['customMessage'];Array[_0x46d981(0x1b9)](_0x19ea5e)?_0x19ea5e['forEach'](_0x548427=>{const _0x30f2c8=_0x46d981;_0x7350a5[_0x30f2c8(0x1a7)](_0x548427[_0x30f2c8(0x1b6)]+':\x20'+_0x548427[_0x30f2c8(0x1ad)]);}):_0x7350a5[_0x46d981(0x1a7)](_0x19ea5e[_0x46d981(0x1b6)]+':\x20'+_0x19ea5e[_0x46d981(0x1ad)]);}else _0x7350a5[_0x46d981(0x1a7)](_0x2478ef[_0x46d981(0x1ad)]);_0x40cbca=![];}!_0x40cbca?process[_0x46d981(0x1b3)](0x1):process['exit'](0x0);};
@@ -0,0 +1,3 @@
1
+ export declare class Cli {
2
+ run(args: string[]): Promise<boolean>;
3
+ }
@@ -0,0 +1 @@
1
+ 'use strict';function _0x25c6(_0x4e13e9,_0x4adf34){const _0x5f39f0=_0x5f39();return _0x25c6=function(_0x25c6fb,_0xb867a8){_0x25c6fb=_0x25c6fb-0xb1;let _0x1d0d33=_0x5f39f0[_0x25c6fb];return _0x1d0d33;},_0x25c6(_0x4e13e9,_0x4adf34);}function _0x5f39(){const _0x2bcc7d=['start','1681065JKrXSD','versions','dev','length','1197688TWqCSt','28skRXYk','fetchUtils','31056714RtigSb','semver','publish','3029146fbUrnQ','Current\x20Node.js\x20version\x20is\x20','major','decompressResponseBuffer','./cmds/help','382611YilTvr','70UmIRyo','__esModule','setFetch','store','run','8448624vXjfLO','./utils/FetchUtils-1','./cmds/version','help','build','fetch','version','97815GsOfGN','./cmds/build','Cli','node','defineProperty'];_0x5f39=function(){return _0x2bcc7d;};return _0x5f39();}const _0x46596f=_0x25c6;(function(_0x404230,_0x837f17){const _0x5eb045=_0x25c6,_0x11c036=_0x404230();while(!![]){try{const _0x4367ba=-parseInt(_0x5eb045(0xc4))/0x1+-parseInt(_0x5eb045(0xbf))/0x2+-parseInt(_0x5eb045(0xb5))/0x3+parseInt(_0x5eb045(0xba))/0x4*(-parseInt(_0x5eb045(0xd1))/0x5)+parseInt(_0x5eb045(0xca))/0x6+parseInt(_0x5eb045(0xc5))/0x7*(-parseInt(_0x5eb045(0xb9))/0x8)+parseInt(_0x5eb045(0xbc))/0x9;if(_0x4367ba===_0x837f17)break;else _0x11c036['push'](_0x11c036['shift']());}catch(_0x7d5fe7){_0x11c036['push'](_0x11c036['shift']());}}}(_0x5f39,0xbb51c));Object[_0x46596f(0xb3)](exports,_0x46596f(0xc6),{'value':!![]}),exports[_0x46596f(0xb1)]=void 0x0;const minimist=require('minimist'),semver_1=require(_0x46596f(0xbd)),FetchUtils_1_1=require(_0x46596f(0xcb)),help_1=require(_0x46596f(0xc3)),build_1=require(_0x46596f(0xd2)),version_1=require(_0x46596f(0xcc)),fetch_1=require('./utils/fetch');class Cli{async[_0x46596f(0xc9)](_0xfa884a){const _0x26da1e=_0x46596f;if((0x0,semver_1[_0x26da1e(0xc1)])(process[_0x26da1e(0xb6)][_0x26da1e(0xb2)])<0xe)throw new Error(_0x26da1e(0xc0)+process['versions'][_0x26da1e(0xb2)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0x26da1e(0xbb)][_0x26da1e(0xc7)](fetch_1[_0x26da1e(0xcf)]),FetchUtils_1_1[_0x26da1e(0xbb)]['setDownloadFile'](fetch_1['downloadFile']),FetchUtils_1_1[_0x26da1e(0xbb)]['setDecompressResponseBuffer'](fetch_1[_0x26da1e(0xc2)]);const _0x1b5c00=minimist(_0xfa884a);let _0x18e9d2=undefined;if(_0x1b5c00['_'][_0x26da1e(0xb8)]===0x0){if(_0x1b5c00[_0x26da1e(0xd0)])_0x18e9d2=_0x26da1e(0xd0);else _0x1b5c00['help']&&(_0x18e9d2='help');}else _0x18e9d2=_0x1b5c00['_'][0x0];!_0x18e9d2&&(_0x18e9d2=_0x26da1e(0xcd));switch(_0x18e9d2){case'help':case'h':return await(0x0,help_1[_0x26da1e(0xcd)])(_0x1b5c00);case _0x26da1e(0xce):return await(0x0,build_1[_0x26da1e(0xb4)])(_0x1b5c00);case _0x26da1e(0xbe):return await(0x0,build_1[_0x26da1e(0xc8)])(_0x1b5c00);case _0x26da1e(0xb7):return await(0x0,build_1[_0x26da1e(0xb7)])(_0x1b5c00);case'version':{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x18e9d2+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports[_0x46596f(0xb1)]=Cli;
@@ -0,0 +1,4 @@
1
+ import { ParsedArgs } from 'minimist';
2
+ export declare function start(args: ParsedArgs, isDev?: boolean): Promise<any>;
3
+ export declare function store(args: ParsedArgs): Promise<boolean>;
4
+ export declare function dev(args: ParsedArgs): Promise<boolean>;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x16d23c=_0x44d9;(function(_0x5df2f5,_0x170234){const _0x1d5630=_0x44d9,_0x2830be=_0x5df2f5();while(!![]){try{const _0x43ae1e=parseInt(_0x1d5630(0x1f0))/0x1*(parseInt(_0x1d5630(0x1fa))/0x2)+parseInt(_0x1d5630(0x205))/0x3+-parseInt(_0x1d5630(0x204))/0x4*(parseInt(_0x1d5630(0x1e5))/0x5)+parseInt(_0x1d5630(0x1fb))/0x6+-parseInt(_0x1d5630(0x1e6))/0x7*(parseInt(_0x1d5630(0x1e4))/0x8)+-parseInt(_0x1d5630(0x1e8))/0x9*(parseInt(_0x1d5630(0x1ec))/0xa)+parseInt(_0x1d5630(0x200))/0xb;if(_0x43ae1e===_0x170234)break;else _0x2830be['push'](_0x2830be['shift']());}catch(_0x1c37ec){_0x2830be['push'](_0x2830be['shift']());}}}(_0x1f64,0x3fa24));Object[_0x16d23c(0x1f8)](exports,'__esModule',{'value':!![]}),exports[_0x16d23c(0x1eb)]=start,exports[_0x16d23c(0x208)]=store,exports[_0x16d23c(0x1f3)]=dev;const pwa_1=require(_0x16d23c(0x1ea)),resource_1=require(_0x16d23c(0x1fc)),xcode_1=require(_0x16d23c(0x1ff)),check_1=require(_0x16d23c(0x1f4));function _0x1f64(){const _0x11b1cd=['parseProject','dev','./check','app-store-connect','project','ResourceManager','defineProperty','upload','125318kVbsqU','1532628fmvXgh','../resource','PWAGenerator','generator','../xcode','2383458rMTacc','version','checkBuildParams','moveProjectFrom','103304UmHZac','959985mcFVzj','log','name','store','runWithSimulator','move\x20web\x20project:\x20ok','generate\x20icon:\x20ok','8QYkBMc','70lvHNNK','2582629mwScWf','fromNet','387xFGSIn','json','../pwa','start','26570Qemvkr','XcodeManager','buildType','SpatialWebTest','5Xjkyxq','com.SpatialWeb.test'];_0x1f64=function(){return _0x11b1cd;};return _0x1f64();}async function start(_0x530309,_0x1f3541=![]){const _0x1a4801=_0x16d23c;(0x0,check_1[_0x1a4801(0x202)])(_0x530309,_0x1f3541),console[_0x1a4801(0x206)]('-------------------\x20build\x20start\x20-------------------');let _0x438067=await pwa_1[_0x1a4801(0x1fd)][_0x1a4801(0x1fe)](_0x530309,_0x1f3541);!_0x438067[_0x1a4801(0x1e7)]&&(await resource_1[_0x1a4801(0x1f7)][_0x1a4801(0x203)](_0x530309[_0x1a4801(0x1f6)]),console[_0x1a4801(0x206)](_0x1a4801(0x1e2)));const _0x25702b=await resource_1[_0x1a4801(0x1f7)]['generateIcon'](_0x438067);return console[_0x1a4801(0x206)](_0x1a4801(0x1e3)),await xcode_1[_0x1a4801(0x1ed)][_0x1a4801(0x1f2)]({'icon':_0x25702b,'manifestInfo':_0x438067,'teamId':_0x530309['teamId'],'version':_0x530309[_0x1a4801(0x201)],'buildType':_0x530309[_0x1a4801(0x1ee)]},_0x1f3541),console[_0x1a4801(0x206)]('-------------------\x20build\x20end\x20-------------------'),_0x438067;}function _0x44d9(_0x2fe26a,_0x59db67){const _0x1f6429=_0x1f64();return _0x44d9=function(_0x44d9f8,_0x39e29e){_0x44d9f8=_0x44d9f8-0x1e2;let _0x3ab442=_0x1f6429[_0x44d9f8];return _0x3ab442;},_0x44d9(_0x2fe26a,_0x59db67);}async function store(_0x165499){const _0x503cc2=_0x16d23c;(0x0,check_1['checkStoreParams'])(_0x165499);let _0x4f88b1={'name':_0x503cc2(0x1ef)};_0x165499[_0x503cc2(0x1ee)]=_0x503cc2(0x1f5);if(_0x165499['name'])_0x4f88b1[_0x503cc2(0x207)]=_0x165499[_0x503cc2(0x207)];else{const _0x4b9903=await start(_0x165499);if(!_0x4b9903)return![];_0x4f88b1['name']=_0x4b9903['json']['name'];}return await xcode_1[_0x503cc2(0x1ed)][_0x503cc2(0x1f9)](_0x165499,_0x4f88b1),!![];}async function dev(_0xed120f){const _0x75e51=_0x16d23c;let _0x155e03={'name':'SpatialWebTest','id':_0x75e51(0x1f1)};const _0x2ea092=await start(_0xed120f,!![]);if(!_0x2ea092)return![];return _0x155e03[_0x75e51(0x207)]=_0x2ea092[_0x75e51(0x1e9)][_0x75e51(0x207)],_0x155e03['id']=_0x2ea092[_0x75e51(0x1e9)]['id'],await xcode_1[_0x75e51(0x1ed)][_0x75e51(0x209)](_0x155e03),!![];}
@@ -0,0 +1,3 @@
1
+ import { ParsedArgs } from 'minimist';
2
+ export declare function checkBuildParams(args: ParsedArgs, isDev?: boolean): void;
3
+ export declare function checkStoreParams(args: ParsedArgs): void;
@@ -0,0 +1 @@
1
+ 'use strict';function _0x319b(_0x3cb1e1,_0x4c2721){var _0x16abbb=_0x16ab();return _0x319b=function(_0x319b41,_0x533685){_0x319b41=_0x319b41-0x1c3;var _0x4bb64b=_0x16abbb[_0x319b41];return _0x4bb64b;},_0x319b(_0x3cb1e1,_0x4c2721);}var _0x294d96=_0x319b;(function(_0x4eb517,_0x28c10d){var _0x561e9c=_0x319b,_0x520175=_0x4eb517();while(!![]){try{var _0x54b602=parseInt(_0x561e9c(0x1cb))/0x1*(parseInt(_0x561e9c(0x1d0))/0x2)+parseInt(_0x561e9c(0x1d6))/0x3*(-parseInt(_0x561e9c(0x1d4))/0x4)+parseInt(_0x561e9c(0x1c3))/0x5*(parseInt(_0x561e9c(0x1cd))/0x6)+-parseInt(_0x561e9c(0x1d3))/0x7*(parseInt(_0x561e9c(0x1ce))/0x8)+parseInt(_0x561e9c(0x1cc))/0x9*(-parseInt(_0x561e9c(0x1d9))/0xa)+parseInt(_0x561e9c(0x1c8))/0xb*(-parseInt(_0x561e9c(0x1d7))/0xc)+parseInt(_0x561e9c(0x1c7))/0xd;if(_0x54b602===_0x28c10d)break;else _0x520175['push'](_0x520175['shift']());}catch(_0x597b46){_0x520175['push'](_0x520175['shift']());}}}(_0x16ab,0x72195));Object[_0x294d96(0x1d1)](exports,_0x294d96(0x1d2),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function _0x16ab(){var _0x29544d=['version\x20is\x20required','teamId','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','21089692BFzzpi','132jnmZKt','manifest','manifest\x20or\x20manifest-url\x20is\x20required','351893XRMAbv','959355alAJMV','6XFVPwn','16kHiVCD','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','2qSrCjZ','defineProperty','__esModule','1732983mxRClz','4CDkWzm','manifest-url','449583fnZQZe','841296pFKbrX','teamId\x20is\x20required','70BuDfGK','3628160ATRGcM'];_0x16ab=function(){return _0x29544d;};return _0x16ab();}function checkBuildParams(_0x2be5c6,_0x2db52c=![]){var _0x20f796=_0x294d96;if(!_0x2be5c6[_0x20f796(0x1c9)]&&!_0x2be5c6[_0x20f796(0x1d5)])throw new Error(_0x20f796(0x1ca));if(_0x2be5c6[_0x20f796(0x1c9)]&&_0x2be5c6[_0x20f796(0x1d5)])throw new Error(_0x20f796(0x1cf));if(!_0x2be5c6[_0x20f796(0x1c5)]&&!_0x2db52c)throw new Error(_0x20f796(0x1d8));}function checkStoreParams(_0x28c76c){var _0x1aecdb=_0x294d96;if(!(_0x28c76c['u']&&_0x28c76c['p'])&&!(_0x28c76c['k']&&_0x28c76c['i']))throw new Error(_0x1aecdb(0x1c6));if(!_0x28c76c['version'])throw new Error(_0x1aecdb(0x1c4));}
@@ -0,0 +1,3 @@
1
+ import { Log } from '../utils/Log';
2
+ import { ParsedArgs } from 'minimist';
3
+ export declare function help(args: ParsedArgs, log?: Log): Promise<boolean>;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x296595=_0xe3fb;function _0x5551(){const _0x88012d=['help','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','3193816oNcQTj','82255WMSrUc','1213117TYZJXt','10veYjyl','21426SNUogL','dev','../utils/Log','910FAqTBn','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','2274996mwwyuu','build','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','get','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','info','Usage:','264wZQbjk','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','publish','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','defineProperty','ConsoleLog','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','main','17407431NxRtiE','join','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','help\x20................\x20shows\x20this\x20menu','2486397gDFsGE','webspatial\x20[command]\x20<options>','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'];_0x5551=function(){return _0x88012d;};return _0x5551();}(function(_0x58d5bf,_0x42b0d7){const _0x133ea3=_0xe3fb,_0x36f964=_0x58d5bf();while(!![]){try{const _0x594b86=-parseInt(_0x133ea3(0x1c7))/0x1+parseInt(_0x133ea3(0x1ce))/0x2+parseInt(_0x133ea3(0x1c0))/0x3+parseInt(_0x133ea3(0x1d5))/0x4*(-parseInt(_0x133ea3(0x1c6))/0x5)+parseInt(_0x133ea3(0x1c9))/0x6*(-parseInt(_0x133ea3(0x1cc))/0x7)+-parseInt(_0x133ea3(0x1c5))/0x8+-parseInt(_0x133ea3(0x1bc))/0x9*(-parseInt(_0x133ea3(0x1c8))/0xa);if(_0x594b86===_0x42b0d7)break;else _0x36f964['push'](_0x36f964['shift']());}catch(_0x33830d){_0x36f964['push'](_0x36f964['shift']());}}}(_0x5551,0xb4344));function _0xe3fb(_0x4b751d,_0x439b92){const _0x5551ad=_0x5551();return _0xe3fb=function(_0xe3fbdd,_0x333f85){_0xe3fbdd=_0xe3fbdd-0x1bc;let _0x533228=_0x5551ad[_0xe3fbdd];return _0x533228;},_0xe3fb(_0x4b751d,_0x439b92);}Object[_0x296595(0x1d9)](exports,'__esModule',{'value':!![]}),exports[_0x296595(0x1c3)]=help;const Log_1=require(_0x296595(0x1cb)),HELP_MESSAGES=new Map([['main',[_0x296595(0x1c1),'','',_0x296595(0x1bf),_0x296595(0x1c2)+_0x296595(0x1d0),'dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator',_0x296595(0x1be)][_0x296595(0x1bd)]('\x0a')],[_0x296595(0x1cf),[_0x296595(0x1d4),'','',_0x296595(0x1c4),'','',_0x296595(0x1d6)][_0x296595(0x1bd)]('\x0a')],[_0x296595(0x1ca),[_0x296595(0x1d4),'','',_0x296595(0x1cd),'','',_0x296595(0x1d2)][_0x296595(0x1bd)]('\x0a')],[_0x296595(0x1d7),[_0x296595(0x1d4),'','',_0x296595(0x1d8),'','',_0x296595(0x1db),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x296595(0x1bd)]('\x0a')]]);async function help(_0x27ff5b,_0x1ce9bb=new Log_1[(_0x296595(0x1da))](_0x296595(0x1c3))){const _0x1f9a35=_0x296595,_0xca8303=_0x27ff5b['_'][0x1],_0x4eaa3a=HELP_MESSAGES[_0x1f9a35(0x1d1)](_0xca8303)||HELP_MESSAGES[_0x1f9a35(0x1d1)](_0x1f9a35(0x1dc));return _0x1ce9bb[_0x1f9a35(0x1d3)](_0x4eaa3a),!![];}
@@ -0,0 +1,2 @@
1
+ import { Log } from '../utils/Log';
2
+ export declare function version(log?: Log): Promise<boolean>;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x17c220=_0x332e;function _0x332e(_0x385daf,_0x55ce23){const _0x2f4763=_0x2f47();return _0x332e=function(_0x332e6a,_0x45064d){_0x332e6a=_0x332e6a-0x1e7;let _0x30f5ac=_0x2f4763[_0x332e6a];return _0x30f5ac;},_0x332e(_0x385daf,_0x55ce23);}(function(_0x1c2df6,_0x1d9f2d){const _0x3e5cf6=_0x332e,_0x15a1e8=_0x1c2df6();while(!![]){try{const _0x38320c=-parseInt(_0x3e5cf6(0x1ee))/0x1+parseInt(_0x3e5cf6(0x1ea))/0x2*(-parseInt(_0x3e5cf6(0x1f3))/0x3)+parseInt(_0x3e5cf6(0x1f0))/0x4*(parseInt(_0x3e5cf6(0x1e8))/0x5)+-parseInt(_0x3e5cf6(0x1eb))/0x6*(parseInt(_0x3e5cf6(0x1e7))/0x7)+-parseInt(_0x3e5cf6(0x1ef))/0x8+-parseInt(_0x3e5cf6(0x1fa))/0x9+-parseInt(_0x3e5cf6(0x1f1))/0xa*(-parseInt(_0x3e5cf6(0x1f4))/0xb);if(_0x38320c===_0x1d9f2d)break;else _0x15a1e8['push'](_0x15a1e8['shift']());}catch(_0xb766fc){_0x15a1e8['push'](_0x15a1e8['shift']());}}}(_0x2f47,0xc3680));Object[_0x17c220(0x1ec)](exports,_0x17c220(0x1e9),{'value':!![]}),exports[_0x17c220(0x1f2)]=version;const fs=require('fs'),path=require(_0x17c220(0x1f5)),Log_1=require(_0x17c220(0x1fb));function _0x2f47(){const _0x10a7e3=['toString','ConsoleLog','284733WRpQOa','../utils/Log','../../../package.json','1598863kJCBgB','7254265YuPIBD','__esModule','30LOgliu','24ekksUL','defineProperty','readFile','80037haWMIA','6274408DlPteX','4VlYbth','520XfCuMB','version','127086FMleRt','379621dReipq','path','parse','info'];_0x2f47=function(){return _0x10a7e3;};return _0x2f47();}async function version(_0x1c9021=new Log_1[(_0x17c220(0x1f9))](_0x17c220(0x1f2))){const _0x7cf9b7=_0x17c220,_0x19164c=path['join'](__dirname,_0x7cf9b7(0x1fc)),_0x41b787=await(await fs['promises'][_0x7cf9b7(0x1ed)](_0x19164c))[_0x7cf9b7(0x1f8)](),_0xdba5e8=JSON[_0x7cf9b7(0x1f6)](_0x41b787);return _0x1c9021[_0x7cf9b7(0x1f7)](_0xdba5e8[_0x7cf9b7(0x1f2)]),!![];}
@@ -0,0 +1,7 @@
1
+ export declare function configId(manifestJson: Record<string, any>): void;
2
+ export declare function configStartUrl(manifestJson: Record<string, any>, manifestUrl: string, fromNet: boolean): void;
3
+ export declare function configScope(manifestJson: Record<string, any>, fromNet: boolean): void;
4
+ export declare function configDisplay(manifestJson: Record<string, any>): void;
5
+ export declare function configMainScene(manifestJson: Record<string, any>): void;
6
+ export declare function configDeeplink(manifestJson: Record<string, any>): void;
7
+ export declare const safelist: string[];
@@ -0,0 +1 @@
1
+ 'use strict';const _0x130ac7=_0x4f62;(function(_0x414305,_0x495084){const _0x256cf0=_0x4f62,_0x468ea2=_0x414305();while(!![]){try{const _0x59b05e=-parseInt(_0x256cf0(0xaf))/0x1*(parseInt(_0x256cf0(0xd9))/0x2)+parseInt(_0x256cf0(0xa2))/0x3+-parseInt(_0x256cf0(0xcd))/0x4+parseInt(_0x256cf0(0xc0))/0x5+parseInt(_0x256cf0(0xca))/0x6*(parseInt(_0x256cf0(0xd8))/0x7)+parseInt(_0x256cf0(0xb6))/0x8*(parseInt(_0x256cf0(0xa6))/0x9)+parseInt(_0x256cf0(0xde))/0xa*(-parseInt(_0x256cf0(0xdc))/0xb);if(_0x59b05e===_0x495084)break;else _0x468ea2['push'](_0x468ea2['shift']());}catch(_0x4b6474){_0x468ea2['push'](_0x468ea2['shift']());}}}(_0x2e11,0x50241));function _0x2e11(){const _0x4a8e8d=['ircs','__esModule','minimal-ui','sms','matrix','magnet','display_override','indexOf','bitcoin','49WraDUC','2790TdidVw','configDisplay','configDeeplink','342463WQjhVT','sip','90DHtoeR','./static-web','http://','join','automatic','standalone','sftp','529770pGRhPv','defineProperty','length','wtai','3524238FBvLrT','webcal','urn','xmpp','validateURL','parseRouter','ftps','openpgp4fpr','display','351TBZzEM','configScope','protocol','../utils/utils','configMainScene','resizability','mms','8EdjONP','news','mainScene','contentSize','./validate','safelist','ftp','url','protocol_handlers','geo','1354500PiXtjS','width','replace','defaultSize','configId','https://','includes','scope','height','start_url','437190arwoaN','host','configStartUrl','1004112tVnMjz','web+'];_0x2e11=function(){return _0x4a8e8d;};return _0x2e11();}Object[_0x130ac7(0xa3)](exports,_0x130ac7(0xd0),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x130ac7(0xc4)]=configId,exports[_0x130ac7(0xcc)]=configStartUrl,exports[_0x130ac7(0xb0)]=configScope,exports[_0x130ac7(0xda)]=configDisplay,exports[_0x130ac7(0xb3)]=configMainScene,exports[_0x130ac7(0xdb)]=configDeeplink;const utils_1=require(_0x130ac7(0xb2)),validate_1=require(_0x130ac7(0xba)),path_1=require('path');function configId(_0x260b1b){const _0x48009d=_0x130ac7;!_0x260b1b['id']&&(_0x260b1b['id']=_0x260b1b[_0x48009d(0xc9)]);}function _0x4f62(_0x2dff3c,_0x2a0232){const _0x2e117a=_0x2e11();return _0x4f62=function(_0x4f62fa,_0x3f918a){_0x4f62fa=_0x4f62fa-0xa1;let _0x224722=_0x2e117a[_0x4f62fa];return _0x224722;},_0x4f62(_0x2dff3c,_0x2a0232);}function configStartUrl(_0x7732f,_0x33d34d,_0x4fff77){const _0x52bd24=_0x130ac7,_0x2166d2=(0x0,validate_1['validateURL'])(_0x7732f[_0x52bd24(0xc9)]);let _0x253aa8=_0x7732f[_0x52bd24(0xc9)];_0x4fff77?!_0x2166d2&&(_0x253aa8=(0x0,path_1[_0x52bd24(0xe1)])((0x0,utils_1[_0x52bd24(0xab)])(_0x33d34d),_0x7732f['start_url'])):!_0x2166d2&&(_0x253aa8=(0x0,path_1[_0x52bd24(0xe1)])(_0x52bd24(0xdf),_0x7732f[_0x52bd24(0xc9)])),_0x7732f[_0x52bd24(0xc9)]=_0x253aa8;}function configScope(_0x4ce575,_0xb28253){const _0x460165=_0x130ac7;let _0x465711='';const _0x11cdf7=(0x0,validate_1[_0x460165(0xaa)])(_0x4ce575[_0x460165(0xc7)]);if(_0xb28253&&_0x11cdf7){const _0x1430aa=new URL(_0x4ce575[_0x460165(0xc7)]),_0x4225c9=new URL(_0x4ce575['start_url']);(_0x1430aa[_0x460165(0xcb)]!==_0x4225c9['host']||_0x4ce575[_0x460165(0xc9)][_0x460165(0xd6)](_0x465711)!==0x0)&&(_0x465711=(0x0,utils_1['parseRouter'])(_0x4ce575['start_url']));}else{if(_0xb28253&&!_0x11cdf7){const _0x102bfb=_0x4ce575[_0x460165(0xc9)][_0x460165(0xd6)](_0x460165(0xe0))===0x0?_0x460165(0xe0):_0x460165(0xc5);_0x465711=(0x0,path_1[_0x460165(0xe1)])(_0x4ce575[_0x460165(0xc9)][_0x460165(0xc2)](_0x102bfb,''),_0x4ce575[_0x460165(0xc7)]),_0x465711=_0x102bfb+_0x465711;}else _0x465711=(0x0,path_1['join'])((0x0,utils_1[_0x460165(0xab)])(_0x4ce575[_0x460165(0xc9)]),_0x4ce575[_0x460165(0xc7)]);}_0x4ce575['scope']=_0x465711;}function configDisplay(_0x56be43){const _0xe73582=_0x130ac7;let _0x444d50=_0x56be43[_0xe73582(0xae)];_0x444d50!==_0xe73582(0xd1)&&_0x444d50!==_0xe73582(0xe3)&&(_0x444d50=_0xe73582(0xe3));if(_0x56be43[_0xe73582(0xd5)]&&_0x56be43[_0xe73582(0xd5)][_0xe73582(0xa4)]>0x0){const _0x477be2=_0x56be43[_0xe73582(0xd5)][_0xe73582(0xd6)](_0xe73582(0xd1)),_0xf9fbad=_0x56be43[_0xe73582(0xd5)][_0xe73582(0xd6)](_0xe73582(0xe3));if(_0x477be2>=0x0&&_0xf9fbad>=0x0)_0x444d50=_0xf9fbad>_0x477be2?_0xe73582(0xe3):_0xe73582(0xd1);else{if(_0x477be2>=0x0)_0x444d50=_0xe73582(0xd1);else _0xf9fbad>=0x0&&(_0x444d50='standalone');}}}function configMainScene(_0x5e6780){const _0x4a5be9=_0x130ac7;var _0x2f9bb9,_0x218c6f;const _0x4a04cb=[_0x4a5be9(0xe2),'contentMinSize',_0x4a5be9(0xb9)];let _0xd51dfa={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x4a5be9(0xe2)};_0x5e6780[_0x4a5be9(0xb8)]&&(_0xd51dfa[_0x4a5be9(0xc3)][_0x4a5be9(0xc1)]=Number((_0x2f9bb9=_0x5e6780[_0x4a5be9(0xb8)][_0x4a5be9(0xc3)])===null||_0x2f9bb9===void 0x0?void 0x0:_0x2f9bb9[_0x4a5be9(0xc1)])>0x0?_0x5e6780['mainScene'][_0x4a5be9(0xc3)][_0x4a5be9(0xc1)]:0x500,_0xd51dfa[_0x4a5be9(0xc3)]['height']=Number((_0x218c6f=_0x5e6780[_0x4a5be9(0xb8)][_0x4a5be9(0xc3)])===null||_0x218c6f===void 0x0?void 0x0:_0x218c6f[_0x4a5be9(0xc8)])>0x0?_0x5e6780[_0x4a5be9(0xb8)][_0x4a5be9(0xc3)][_0x4a5be9(0xc8)]:0x500,_0xd51dfa[_0x4a5be9(0xb4)]=_0x4a04cb['includes'](_0x5e6780[_0x4a5be9(0xb8)][_0x4a5be9(0xb4)])?_0x5e6780[_0x4a5be9(0xb8)]['resizability']:_0x4a5be9(0xe2)),_0x5e6780[_0x4a5be9(0xb8)]=_0xd51dfa;}function configDeeplink(_0x37d62f){const _0x15ffb3=_0x130ac7;if(_0x37d62f['protocol_handlers']&&_0x37d62f[_0x15ffb3(0xbe)]['length']>0x0)for(var _0x462351=0x0;_0x462351<_0x37d62f['protocol_handlers'][_0x15ffb3(0xa4)];_0x462351++){const _0x3b1981=_0x37d62f[_0x15ffb3(0xbe)][_0x462351];if(_0x3b1981['protocol']&&(exports['safelist'][_0x15ffb3(0xc6)](_0x3b1981[_0x15ffb3(0xb1)])||_0x3b1981['protocol'][_0x15ffb3(0xd6)](_0x15ffb3(0xce))===0x0)){if(!((0x0,validate_1[_0x15ffb3(0xaa)])(_0x3b1981[_0x15ffb3(0xbd)])&&_0x3b1981[_0x15ffb3(0xbd)]['indexOf'](_0x37d62f[_0x15ffb3(0xc7)])<0x0))continue;}_0x37d62f[_0x15ffb3(0xbe)]['splice'](_0x462351,0x1),_0x462351--;}}exports[_0x130ac7(0xbb)]=[_0x130ac7(0xd7),_0x130ac7(0xbc),_0x130ac7(0xac),_0x130ac7(0xbf),'im','irc',_0x130ac7(0xcf),_0x130ac7(0xd4),'mailto',_0x130ac7(0xd3),_0x130ac7(0xb5),_0x130ac7(0xb7),'nntp',_0x130ac7(0xad),_0x130ac7(0xa1),_0x130ac7(0xdd),_0x130ac7(0xd2),'smsto','ssh','tel',_0x130ac7(0xa8),_0x130ac7(0xa7),_0x130ac7(0xa5),_0x130ac7(0xa9)];
@@ -0,0 +1,16 @@
1
+ export interface InitArgs {
2
+ 'manifest-url'?: string;
3
+ manifest?: string;
4
+ project?: string;
5
+ }
6
+ export interface ManifestInfo {
7
+ json: Record<string, any>;
8
+ url: string;
9
+ fromNet: boolean;
10
+ }
11
+ export declare class PWAGenerator {
12
+ static DisplayModes: string[];
13
+ static generator(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
14
+ static validate(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
15
+ static config(manifestInfo: ManifestInfo): void;
16
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x2d1bec=_0x3846;(function(_0x22c313,_0x2aa379){const _0x2cd39b=_0x3846,_0x226fe5=_0x22c313();while(!![]){try{const _0x361521=parseInt(_0x2cd39b(0x1da))/0x1+-parseInt(_0x2cd39b(0x1d5))/0x2*(parseInt(_0x2cd39b(0x1c4))/0x3)+-parseInt(_0x2cd39b(0x1d8))/0x4+parseInt(_0x2cd39b(0x1cf))/0x5*(-parseInt(_0x2cd39b(0x1bc))/0x6)+-parseInt(_0x2cd39b(0x1d6))/0x7*(parseInt(_0x2cd39b(0x1bd))/0x8)+-parseInt(_0x2cd39b(0x1be))/0x9+parseInt(_0x2cd39b(0x1c6))/0xa*(parseInt(_0x2cd39b(0x1bb))/0xb);if(_0x361521===_0x2aa379)break;else _0x226fe5['push'](_0x226fe5['shift']());}catch(_0x46dc7e){_0x226fe5['push'](_0x226fe5['shift']());}}}(_0x49fa,0xd8297));Object[_0x2d1bec(0x1d3)](exports,_0x2d1bec(0x1ce),{'value':!![]}),exports[_0x2d1bec(0x1dd)]=void 0x0;const path_1=require('path'),config_1=require(_0x2d1bec(0x1cb)),load_1=require('../resource/load'),validate_1=require('./validate');class PWAGenerator{static async[_0x2d1bec(0x1c2)](_0x39a6ca,_0x7942d9=![]){const _0x4db7bd=_0x2d1bec;let _0x202a7b=await this[_0x4db7bd(0x1b9)](_0x39a6ca,_0x7942d9);return console['log'](_0x4db7bd(0x1c5)),await this[_0x4db7bd(0x1cc)](_0x202a7b),console['log'](_0x4db7bd(0x1db)),_0x202a7b;}static async[_0x2d1bec(0x1b9)](_0x14acff,_0x50d8ba=![]){const _0x545503=_0x2d1bec;let _0x9f6c={},_0x5a91e6='',_0x335020=![];if(_0x14acff[_0x545503(0x1e0)])_0x5a91e6=_0x14acff[_0x545503(0x1e0)],_0x335020=!![],_0x9f6c=await(0x0,load_1[_0x545503(0x1d1)])(_0x14acff[_0x545503(0x1e0)]);else _0x14acff[_0x545503(0x1de)]&&(_0x5a91e6=(0x0,path_1[_0x545503(0x1ca)])(process[_0x545503(0x1d9)](),_0x14acff[_0x545503(0x1de)]),_0x9f6c=await(0x0,load_1[_0x545503(0x1bf)])(_0x14acff[_0x545503(0x1de)]));(0x0,validate_1[_0x545503(0x1ba)])(_0x9f6c);var _0xbba00d=(0x0,validate_1[_0x545503(0x1cd)])(_0x9f6c,_0x5a91e6,_0x335020,_0x50d8ba);return await(0x0,validate_1[_0x545503(0x1df)])(_0x9f6c,_0x5a91e6),{'json':_0x9f6c,'url':_0x5a91e6,'fromNet':_0xbba00d};}static[_0x2d1bec(0x1cc)](_0x18259a){const _0x4b7ae9=_0x2d1bec;(0x0,config_1[_0x4b7ae9(0x1d2)])(_0x18259a[_0x4b7ae9(0x1c7)],_0x18259a[_0x4b7ae9(0x1c9)],_0x18259a[_0x4b7ae9(0x1d4)]),(0x0,config_1[_0x4b7ae9(0x1c1)])(_0x18259a['json']),(0x0,config_1[_0x4b7ae9(0x1c0)])(_0x18259a[_0x4b7ae9(0x1c7)],_0x18259a[_0x4b7ae9(0x1d4)]),(0x0,config_1[_0x4b7ae9(0x1c8)])(_0x18259a['json']),(0x0,config_1[_0x4b7ae9(0x1dc)])(_0x18259a['json']),(0x0,config_1[_0x4b7ae9(0x1d0)])(_0x18259a[_0x4b7ae9(0x1c7)]);}}function _0x3846(_0x3eab28,_0x317a79){const _0x49fa2d=_0x49fa();return _0x3846=function(_0x38469b,_0x477e16){_0x38469b=_0x38469b-0x1b9;let _0x242e4f=_0x49fa2d[_0x38469b];return _0x242e4f;},_0x3846(_0x3eab28,_0x317a79);}function _0x49fa(){const _0x301dee=['reset\x20manifest.json:\x20ok','configDeeplink','PWAGenerator','manifest','checkIcons','manifest-url','validate','checkManifestJson','11HtrIjF','6uTxITh','8hrfFXI','11129211DKKPMx','loadJsonFromDisk','configScope','configId','generator','standalone','1473uJGpEl','check\x20manifest.json:\x20ok','37382580gvbFMD','json','configDisplay','url','join','./config','config','checkStartUrl','__esModule','1803080DVLmyx','configMainScene','loadJsonFromNet','configStartUrl','defineProperty','fromNet','2332nLRiNQ','5463451YthTzz','DisplayModes','5806592rWBsKm','cwd','1548983qkYggt'];_0x49fa=function(){return _0x301dee;};return _0x49fa();}exports[_0x2d1bec(0x1dd)]=PWAGenerator,PWAGenerator[_0x2d1bec(0x1d7)]=[_0x2d1bec(0x1c3),'minimal-ui'];
@@ -0,0 +1,4 @@
1
+ export declare function checkManifestJson(manifestJson: Record<string, any>): void;
2
+ export declare function checkStartUrl(manifest: Record<string, any>, manifestUrl: string, isNet: boolean, isDev?: boolean): boolean;
3
+ export declare function checkIcons(manifest: Record<string, any>, manifestUrl: string): Promise<void>;
4
+ export declare function validateURL(url: string): boolean;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x4e0947=_0x36ea;(function(_0x26e33b,_0xe83b89){const _0x2e37f2=_0x36ea,_0x5783b3=_0x26e33b();while(!![]){try{const _0x498355=parseInt(_0x2e37f2(0x1d2))/0x1+parseInt(_0x2e37f2(0x1c7))/0x2+parseInt(_0x2e37f2(0x1cd))/0x3*(parseInt(_0x2e37f2(0x1cf))/0x4)+parseInt(_0x2e37f2(0x1ee))/0x5+parseInt(_0x2e37f2(0x1ca))/0x6+-parseInt(_0x2e37f2(0x1da))/0x7*(parseInt(_0x2e37f2(0x1e0))/0x8)+-parseInt(_0x2e37f2(0x1d7))/0x9;if(_0x498355===_0xe83b89)break;else _0x5783b3['push'](_0x5783b3['shift']());}catch(_0x1bcf4f){_0x5783b3['push'](_0x5783b3['shift']());}}}(_0x49b4,0x2362e));function _0x49b4(){const _0x4eb099=['icons','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','getWidth','../resource/load','4736430PXYfux','sizes','name','7vXZvDb','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','../utils/utils','ImageHelper','CustomError','purpose','1779760EWLFtg','push','includes','split','startsWith','https://','loadImageFromNet','indexOf','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','start_url','forEach','In\x20the\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','http','path','195135ViUChb','validateURL','getHeight','checkIcons','../resource/imageHelper','host','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','checkStartUrl','length','maskable','join','503392GnkKnF','display','http://','1708704HPPJJM','parseRouter','defineProperty','183nqzLdH','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','15684GNUxSf','short_name','loadImageFromDisk','78994PzzhSB'];_0x49b4=function(){return _0x4eb099;};return _0x49b4();}Object[_0x4e0947(0x1cc)](exports,'__esModule',{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x4e0947(0x1c3)]=checkStartUrl,exports[_0x4e0947(0x1bf)]=checkIcons,exports[_0x4e0947(0x1ef)]=validateURL;const path_1=require(_0x4e0947(0x1ed)),_1=require('.'),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x4e0947(0x1dc)),imageHelper_1=require(_0x4e0947(0x1c0)),load_1=require(_0x4e0947(0x1d6));function checkManifestJson(_0x1a55d3){const _0x49b52e=_0x4e0947;var _0x5727bc;const _0x4a1343=[];!_0x1a55d3[_0x49b52e(0x1d9)]&&!_0x1a55d3[_0x49b52e(0x1d0)]&&_0x4a1343[_0x49b52e(0x1e1)]({'code':0xbbe,'message':_0x49b52e(0x1c2),'message_staring_params':{}});!((_0x5727bc=_0x1a55d3['icons'])===null||_0x5727bc===void 0x0?void 0x0:_0x5727bc[_0x49b52e(0x1c4)])&&_0x4a1343[_0x49b52e(0x1e1)]({'code':0xbbf,'message':_0x49b52e(0x1e8),'message_staring_params':{}});!_0x1a55d3[_0x49b52e(0x1e9)]&&_0x4a1343['push']({'code':0xbc0,'message':_0x49b52e(0x1d4),'message_staring_params':{}});!_1['PWAGenerator']['DisplayModes'][_0x49b52e(0x1e2)](_0x1a55d3[_0x49b52e(0x1c8)])&&_0x4a1343['push']({'code':0xbc1,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value'+(_0x49b52e(0x1db)+_0x1a55d3[_0x49b52e(0x1c8)]+')'),'message_staring_params':{'display':_0x1a55d3[_0x49b52e(0x1c8)]}});if(_0x4a1343[_0x49b52e(0x1c4)])throw new CustomError_1[(_0x49b52e(0x1de))](_0x4a1343);}function checkStartUrl(_0x4beae7,_0x308189,_0x12d2e0,_0x2ffa86=![]){const _0x69f64=_0x4e0947;var _0x507e33=![];if(_0x2ffa86)return _0x507e33=_0x4beae7[_0x69f64(0x1e9)][_0x69f64(0x1e7)](_0x69f64(0x1e5))===0x0||_0x4beae7[_0x69f64(0x1e9)][_0x69f64(0x1e7)](_0x69f64(0x1c9))===0x0,_0x507e33;if(_0x12d2e0){if(_0x4beae7[_0x69f64(0x1e9)][_0x69f64(0x1e7)](_0x69f64(0x1e5))==0x0){const _0x491289=new URL(_0x4beae7[_0x69f64(0x1e9)]),_0x33493d=new URL(_0x308189);if(_0x491289['host']!==_0x33493d[_0x69f64(0x1c1)])throw new CustomError_1[(_0x69f64(0x1de))]({'code':0xfa0,'message':_0x69f64(0x1eb),'message_staring_params':{}});}else{if(_0x4beae7[_0x69f64(0x1e9)][_0x69f64(0x1e7)](_0x69f64(0x1c9))==0x0)throw new CustomError_1[(_0x69f64(0x1de))]({'code':0xfa0,'message':'In\x20the\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}return _0x507e33;}function _0x36ea(_0x5986ad,_0x38e150){const _0x49b428=_0x49b4();return _0x36ea=function(_0x36eaba,_0x4c1206){_0x36eaba=_0x36eaba-0x1bf;let _0xf0abc2=_0x49b428[_0x36eaba];return _0xf0abc2;},_0x36ea(_0x5986ad,_0x38e150);}async function checkIcons(_0x172a1f,_0xbd087){const _0x5a6d1b=_0x4e0947;var _0x151ab8;const _0x26e179=(0x0,utils_1[_0x5a6d1b(0x1cb)])(_0xbd087);let _0x1d46ff,_0x8cbb84,_0x3642e6,_0x5a05fd=0x0;for(var _0x2b665f=0x0;_0x2b665f<_0x172a1f[_0x5a6d1b(0x1d3)][_0x5a6d1b(0x1c4)];_0x2b665f++){const _0x18fd70=_0x172a1f['icons'][_0x2b665f];let _0x3ade33=((_0x151ab8=_0x18fd70[_0x5a6d1b(0x1df)])===null||_0x151ab8===void 0x0?void 0x0:_0x151ab8['indexOf'](_0x5a6d1b(0x1c5)))>=0x0;if(!_0x3ade33)continue;let _0x20a5ca=![],_0x3c5c66=_0x18fd70['src'],_0x58dc0f,_0x787fa8=0x0;!validateURL(_0x3c5c66)&&(_0x3c5c66=(0x0,path_1[_0x5a6d1b(0x1c6)])(_0x26e179,_0x3c5c66));if(_0x18fd70[_0x5a6d1b(0x1d8)]){const _0x31e6b8=_0x18fd70['sizes'][_0x5a6d1b(0x1e3)]('\x20');_0x31e6b8[_0x5a6d1b(0x1ea)](_0x55eeda=>{const _0x2b1911=_0x5a6d1b;let _0x57af94=_0x55eeda[_0x2b1911(0x1e3)]('x');Number(_0x57af94[0x0])>=0x400&&Number(_0x57af94[0x1])>=0x400&&(_0x20a5ca=!![],Number(_0x57af94[0x0])>_0x787fa8&&(_0x787fa8=Number(_0x57af94[0x0])));});}else _0x58dc0f=!_0x3c5c66['startsWith'](_0x5a6d1b(0x1ec))?await(0x0,load_1['loadImageFromDisk'])(_0x3c5c66):await(0x0,load_1[_0x5a6d1b(0x1e6)])(_0x3c5c66),_0x58dc0f['getWidth']()>=0x400&&_0x58dc0f[_0x5a6d1b(0x1f0)]()>=0x400&&(_0x20a5ca=!![],_0x58dc0f['getWidth']()>_0x787fa8&&(_0x787fa8=_0x58dc0f[_0x5a6d1b(0x1d5)]()));_0x20a5ca&&_0x3ade33&&(_0x787fa8>_0x5a05fd&&(_0x5a05fd=_0x787fa8,_0x1d46ff=_0x58dc0f,_0x8cbb84=_0x3c5c66,_0x3642e6=_0x18fd70[_0x5a6d1b(0x1df)]));}if(_0x5a05fd===0x0)throw new CustomError_1[(_0x5a6d1b(0x1de))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});else _0x8cbb84&&(_0x1d46ff=!_0x8cbb84[_0x5a6d1b(0x1e4)](_0x5a6d1b(0x1ec))?await(0x0,load_1[_0x5a6d1b(0x1d1)])(_0x8cbb84):await(0x0,load_1[_0x5a6d1b(0x1e6)])(_0x8cbb84));if(_0x1d46ff&&!imageHelper_1[_0x5a6d1b(0x1dd)]['isFullyOpaque'](_0x1d46ff))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x5a6d1b(0x1ce),'message_staring_params':{}});_0x172a1f[_0x5a6d1b(0x1d3)]=[{'src':_0x8cbb84,'sizes':_0x5a05fd+'x'+_0x5a05fd,'purpose':_0x3642e6}];}function validateURL(_0x5c2342){try{return new URL(_0x5c2342),!![];}catch(_0x5a3f17){return![];}}
@@ -0,0 +1,2 @@
1
+ export declare function copyDir(from: string, to: string): void;
2
+ export declare function clearDir(from: string): void;
@@ -0,0 +1 @@
1
+ 'use strict';const _0xda2a5=_0x1241;function _0x1241(_0x3bc689,_0x2d7c4c){const _0x2a1a64=_0x2a1a();return _0x1241=function(_0x1241bc,_0x12b28d){_0x1241bc=_0x1241bc-0x15a;let _0x25a676=_0x2a1a64[_0x1241bc];return _0x25a676;},_0x1241(_0x3bc689,_0x2d7c4c);}(function(_0x27b0bd,_0x4eeb18){const _0x28ebf2=_0x1241,_0x5a7e94=_0x27b0bd();while(!![]){try{const _0x47de30=-parseInt(_0x28ebf2(0x162))/0x1*(parseInt(_0x28ebf2(0x15e))/0x2)+parseInt(_0x28ebf2(0x164))/0x3+-parseInt(_0x28ebf2(0x163))/0x4*(-parseInt(_0x28ebf2(0x15f))/0x5)+-parseInt(_0x28ebf2(0x160))/0x6*(-parseInt(_0x28ebf2(0x16b))/0x7)+parseInt(_0x28ebf2(0x16e))/0x8+parseInt(_0x28ebf2(0x16a))/0x9+-parseInt(_0x28ebf2(0x15c))/0xa;if(_0x47de30===_0x4eeb18)break;else _0x5a7e94['push'](_0x5a7e94['shift']());}catch(_0x377b13){_0x5a7e94['push'](_0x5a7e94['shift']());}}}(_0x2a1a,0xa7999));Object[_0xda2a5(0x166)](exports,'__esModule',{'value':!![]}),exports[_0xda2a5(0x169)]=copyDir,exports[_0xda2a5(0x16d)]=clearDir;const fs=require('fs');function copyDir(_0x380d19,_0x51c72a){const _0x20bbd3=_0xda2a5,_0x473ef2=fs[_0x20bbd3(0x15a)](_0x380d19);_0x473ef2[_0x20bbd3(0x165)](_0x30ac6e=>{const _0x5034cb=_0x20bbd3,_0x175b58=_0x380d19+'/'+_0x30ac6e,_0x2a950b=_0x51c72a+'/'+_0x30ac6e,_0x18175e=fs[_0x5034cb(0x16c)](_0x175b58);if(_0x18175e['isFile']())try{fs[_0x5034cb(0x168)](_0x2a950b,fs['readFileSync'](_0x175b58));}catch(_0x3300b4){console[_0x5034cb(0x167)](_0x3300b4);}else _0x18175e['isDirectory']()&&(!fs['existsSync'](_0x2a950b)&&fs['mkdirSync'](_0x2a950b,{'recursive':!![]}),copyDir(_0x175b58,_0x2a950b));});}function clearDir(_0x46f3cc){const _0x557945=_0xda2a5,_0x2caf4d=fs[_0x557945(0x15a)](_0x46f3cc);_0x2caf4d[_0x557945(0x165)](_0x1a2bbd=>{const _0x5b28b9=_0x557945,_0x4a95fd=_0x46f3cc+'/'+_0x1a2bbd,_0x823033=fs[_0x5b28b9(0x16c)](_0x4a95fd);if(_0x823033[_0x5b28b9(0x15b)]())try{fs[_0x5b28b9(0x15d)](_0x4a95fd);}catch(_0x2e486b){console[_0x5b28b9(0x167)](_0x2e486b);}else _0x823033[_0x5b28b9(0x161)]()&&clearDir(_0x4a95fd);});}function _0x2a1a(){const _0x412e06=['unlinkSync','2GUuRQU','170TnnDsX','23952HVFFWf','isDirectory','1149211exfeVC','55948teAxVe','3750372pXfIUG','forEach','defineProperty','log','writeFileSync','copyDir','10030842LJKtEt','2191iEeeSw','statSync','clearDir','10590944bhVguw','readdirSync','isFile','35778840IoGqNK'];_0x2a1a=function(){return _0x412e06;};return _0x2a1a();}
@@ -0,0 +1,7 @@
1
+ import Jimp = require('jimp');
2
+ export declare class ImageHelper {
3
+ static createImg(size: number): Jimp;
4
+ static webp2PngBuffer(buffer: Buffer): Promise<Buffer>;
5
+ static svg2img(svg: string): Promise<Buffer>;
6
+ static isFullyOpaque(image: Jimp): boolean;
7
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0xf401dd=_0x87fc;(function(_0x424c54,_0x724df6){const _0x2c17d5=_0x87fc,_0x457ac7=_0x424c54();while(!![]){try{const _0x5bc13d=-parseInt(_0x2c17d5(0x183))/0x1+-parseInt(_0x2c17d5(0x186))/0x2+-parseInt(_0x2c17d5(0x174))/0x3+-parseInt(_0x2c17d5(0x17e))/0x4+-parseInt(_0x2c17d5(0x18a))/0x5*(-parseInt(_0x2c17d5(0x189))/0x6)+-parseInt(_0x2c17d5(0x185))/0x7*(-parseInt(_0x2c17d5(0x173))/0x8)+parseInt(_0x2c17d5(0x182))/0x9*(parseInt(_0x2c17d5(0x17c))/0xa);if(_0x5bc13d===_0x724df6)break;else _0x457ac7['push'](_0x457ac7['shift']());}catch(_0x792373){_0x457ac7['push'](_0x457ac7['shift']());}}}(_0x2946,0xabaab));Object[_0xf401dd(0x176)](exports,_0xf401dd(0x177),{'value':!![]}),exports[_0xf401dd(0x188)]=void 0x0;const Jimp=require(_0xf401dd(0x17d)),sharp=require(_0xf401dd(0x172)),resvg_js_1=require(_0xf401dd(0x184));class ImageHelper{static[_0xf401dd(0x170)](_0x38bef3){return new Jimp(_0x38bef3,_0x38bef3,0x0);}static async[_0xf401dd(0x187)](_0x584e60){const _0x235ea1=_0xf401dd;return await sharp(_0x584e60)[_0x235ea1(0x171)](_0x235ea1(0x17a))['toBuffer']();}static async['svg2img'](_0x161bbc){const _0x5c8466=_0xf401dd,_0x5d47b0={'fitTo':{'mode':'width','value':0x400}},_0x4ec881=new resvg_js_1[(_0x5c8466(0x181))](_0x161bbc,_0x5d47b0),_0x4a9263=_0x4ec881[_0x5c8466(0x17b)](),_0x4029c0=_0x4a9263[_0x5c8466(0x175)]();return _0x4029c0;}static['isFullyOpaque'](_0x13266a){const _0x5422f1=_0xf401dd,_0x309581=_0x13266a[_0x5422f1(0x179)]()*_0x13266a[_0x5422f1(0x178)]();for(var _0x59d16b=0x0;_0x59d16b<_0x309581;_0x59d16b++){const _0x17151c=_0x59d16b*0x4+0x3;if(_0x13266a[_0x5422f1(0x180)][_0x5422f1(0x17f)][_0x17151c]<0xff)return![];}return!![];}}function _0x2946(){const _0x111519=['Resvg','11205wmOGyq','759797QaYjBI','@resvg/resvg-js','3642037LsuhIU','1365892jHmLXI','webp2PngBuffer','ImageHelper','6WbCwHS','3714545lQdPoc','createImg','toFormat','sharp','16zyfjZT','2023953VLRnIg','asPng','defineProperty','__esModule','getHeight','getWidth','png','render','17580gspHZy','jimp','4606640NyQyJn','data','bitmap'];_0x2946=function(){return _0x111519;};return _0x2946();}function _0x87fc(_0x5c6f16,_0xb3d5f7){const _0x2946b4=_0x2946();return _0x87fc=function(_0x87fc0,_0x7594d4){_0x87fc0=_0x87fc0-0x170;let _0x43cda0=_0x2946b4[_0x87fc0];return _0x43cda0;},_0x87fc(_0x5c6f16,_0xb3d5f7);}exports[_0xf401dd(0x188)]=ImageHelper;
@@ -0,0 +1,13 @@
1
+ import { ManifestInfo } from '../pwa';
2
+ import * as Jimp from 'jimp';
3
+ export declare const PROJECT_DIRECTORY: string;
4
+ export declare const PROJECT_BUILD_DIRECTORY: string;
5
+ export declare const PROJECT_EXPORT_DIRECTORY: string;
6
+ export declare const WEB_PROJECT_DIRECTORY = "web-spatial/static-web";
7
+ export declare const ASSET_DIRECTORY = "web-spatial/Assets.xcassets";
8
+ export declare const BACK_APPICON_DIRECTORY: string;
9
+ export declare const MIDDLE_APPICON_DIRECTORY: string;
10
+ export declare class ResourceManager {
11
+ static moveProjectFrom(dir: string): Promise<void>;
12
+ static generateIcon(info: ManifestInfo): Promise<Jimp>;
13
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x1756b9=_0x3ff8;(function(_0x120e01,_0xda5787){const _0x11502a=_0x3ff8,_0x38e40b=_0x120e01();while(!![]){try{const _0xa6c350=-parseInt(_0x11502a(0x77))/0x1*(parseInt(_0x11502a(0x74))/0x2)+-parseInt(_0x11502a(0x7a))/0x3*(parseInt(_0x11502a(0x9a))/0x4)+parseInt(_0x11502a(0x82))/0x5+parseInt(_0x11502a(0x8d))/0x6+-parseInt(_0x11502a(0x88))/0x7+-parseInt(_0x11502a(0x8f))/0x8*(-parseInt(_0x11502a(0x95))/0x9)+parseInt(_0x11502a(0x96))/0xa;if(_0xa6c350===_0xda5787)break;else _0x38e40b['push'](_0x38e40b['shift']());}catch(_0x39bc8e){_0x38e40b['push'](_0x38e40b['shift']());}}}(_0x2169,0xa57aa));function _0x2169(){const _0x3e1c85=['MIDDLE_APPICON_DIRECTORY','2459727DtbPWU','1155060mwJKCj','cwd','moveProjectFrom','ResourceManager','4iARmmP','3244VnOoZF','existsSync','src','439LpPQot','PROJECT_BUILD_DIRECTORY','WEB_PROJECT_DIRECTORY','323286DPpLSC','BACK_APPICON_DIRECTORY','startsWith','icons','copyDir','path','./load','join','5683015ucLdTZ','http','PROJECT_EXPORT_DIRECTORY','./export','mkdirSync','json','2494345nOtNIS','generateIcon','web-spatial/Assets.xcassets','loadImageFromNet','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','1971270cXYOBV','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','8eBnPce','./build','PROJECT_DIRECTORY','loadImageFromDisk','ASSET_DIRECTORY'];_0x2169=function(){return _0x3e1c85;};return _0x2169();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x1756b9(0x99)]=exports[_0x1756b9(0x94)]=exports[_0x1756b9(0x7b)]=exports[_0x1756b9(0x93)]=exports[_0x1756b9(0x79)]=exports[_0x1756b9(0x84)]=exports[_0x1756b9(0x78)]=exports[_0x1756b9(0x91)]=void 0x0;const fs=require('fs'),path_1=require(_0x1756b9(0x7f)),file_1=require('./file'),load_1=require(_0x1756b9(0x80));exports[_0x1756b9(0x91)]=(0x0,path_1[_0x1756b9(0x81)])(process[_0x1756b9(0x97)](),'./template/visionOSApp'),exports[_0x1756b9(0x78)]=(0x0,path_1[_0x1756b9(0x81)])(exports[_0x1756b9(0x91)],_0x1756b9(0x90)),exports[_0x1756b9(0x84)]=(0x0,path_1['join'])(exports[_0x1756b9(0x91)],_0x1756b9(0x85)),exports[_0x1756b9(0x79)]='web-spatial/static-web',exports['ASSET_DIRECTORY']=_0x1756b9(0x8a),exports[_0x1756b9(0x7b)]=exports[_0x1756b9(0x93)]+_0x1756b9(0x8e),exports[_0x1756b9(0x94)]=exports['ASSET_DIRECTORY']+_0x1756b9(0x8c);function _0x3ff8(_0x532a92,_0x3e33c2){const _0x21695c=_0x2169();return _0x3ff8=function(_0x3ff8d3,_0xb4390){_0x3ff8d3=_0x3ff8d3-0x74;let _0x504c60=_0x21695c[_0x3ff8d3];return _0x504c60;},_0x3ff8(_0x532a92,_0x3e33c2);}class ResourceManager{static async[_0x1756b9(0x98)](_0x280c3c){const _0x568993=_0x1756b9,_0x1671f1=(0x0,path_1[_0x568993(0x81)])(process[_0x568993(0x97)](),_0x280c3c),_0x36c1b1=(0x0,path_1[_0x568993(0x81)])(exports['PROJECT_DIRECTORY'],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x568993(0x75)](_0x36c1b1)?fs[_0x568993(0x86)](_0x36c1b1,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x36c1b1);try{(0x0,file_1[_0x568993(0x7e)])(_0x1671f1,_0x36c1b1);}catch(_0x34a5dc){console['log'](_0x34a5dc);}}static async[_0x1756b9(0x89)](_0x1b90cc){const _0x32f7f2=_0x1756b9,_0x141965=_0x1b90cc[_0x32f7f2(0x87)],_0x3a03e3=_0x141965[_0x32f7f2(0x7d)][0x0][_0x32f7f2(0x76)],_0x2453c5=!_0x3a03e3[_0x32f7f2(0x7c)](_0x32f7f2(0x83))?await(0x0,load_1[_0x32f7f2(0x92)])(_0x3a03e3):await(0x0,load_1[_0x32f7f2(0x8b)])(_0x3a03e3);return _0x2453c5['resize'](0x400,0x400),_0x2453c5;}}exports['ResourceManager']=ResourceManager;
@@ -0,0 +1,6 @@
1
+ import Jimp = require('jimp');
2
+ export declare function loadJsonFromNet(url: String): Promise<Record<string, any>>;
3
+ export declare function loadJsonFromDisk(url: String): Promise<Record<string, any>>;
4
+ export declare function loadImageFromNet(src: string): Promise<Jimp>;
5
+ export declare function loadImageFromDisk(src: string): Promise<Jimp>;
6
+ export declare function loadFileString(url: String): Promise<string>;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x3d6313=_0x12bc;(function(_0x576236,_0x15f3d8){const _0x451137=_0x12bc,_0x262ab9=_0x576236();while(!![]){try{const _0x34c258=parseInt(_0x451137(0xbb))/0x1*(-parseInt(_0x451137(0xb1))/0x2)+-parseInt(_0x451137(0xa8))/0x3*(-parseInt(_0x451137(0xc8))/0x4)+-parseInt(_0x451137(0xce))/0x5*(-parseInt(_0x451137(0xb7))/0x6)+-parseInt(_0x451137(0xa7))/0x7+-parseInt(_0x451137(0xbd))/0x8+parseInt(_0x451137(0xc6))/0x9+parseInt(_0x451137(0xc2))/0xa;if(_0x34c258===_0x15f3d8)break;else _0x262ab9['push'](_0x262ab9['shift']());}catch(_0x32bc83){_0x262ab9['push'](_0x262ab9['shift']());}}}(_0x3a53,0x406f0));Object[_0x3d6313(0x9d)](exports,_0x3d6313(0xb8),{'value':!![]}),exports[_0x3d6313(0xa1)]=loadJsonFromNet,exports[_0x3d6313(0xca)]=loadJsonFromDisk,exports[_0x3d6313(0xb0)]=loadImageFromNet,exports[_0x3d6313(0xbc)]=loadImageFromDisk,exports[_0x3d6313(0xa2)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x3d6313(0xc7)),CustomError_1=require(_0x3d6313(0xc5)),Jimp=require('jimp'),imageHelper_1=require(_0x3d6313(0xa5));function _0x12bc(_0x4cf6d8,_0x4b6406){const _0x3a5355=_0x3a53();return _0x12bc=function(_0x12bc61,_0x334bd6){_0x12bc61=_0x12bc61-0x9d;let _0x4f5422=_0x3a5355[_0x12bc61];return _0x4f5422;},_0x12bc(_0x4cf6d8,_0x4b6406);}async function loadJsonFromNet(_0xffafb9){const _0x1651cc=_0x3d6313,_0x1e7460=await FetchUtils_1_1[_0x1651cc(0xb2)][_0x1651cc(0xa3)](_0xffafb9,{'encoding':_0x1651cc(0xa9)});if(_0x1e7460[_0x1651cc(0xa0)]!==0xc8)throw new CustomError_1[(_0x1651cc(0xb3))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0xffafb9+'.'+(_0x1651cc(0xab)+_0x1e7460[_0x1651cc(0xa0)]+_0x1651cc(0xd2)),'message_staring_params':{'web_manifest_url':_0xffafb9,'status':_0x1e7460[_0x1651cc(0xa0)]}});try{let _0x48c6c3;return _0x1e7460[_0x1651cc(0xd1)]?_0x48c6c3=await _0x1e7460[_0x1651cc(0xd1)]():[_0x1651cc(0x9e),_0x1651cc(0xb6),'br'][_0x1651cc(0xa6)](_0x1e7460[_0x1651cc(0xcc)][_0x1651cc(0xba)])?_0x48c6c3=FetchUtils_1_1[_0x1651cc(0xb2)][_0x1651cc(0xa4)](Buffer[_0x1651cc(0xd0)](_0x1e7460[_0x1651cc(0xac)],_0x1651cc(0xa9)),_0x1e7460[_0x1651cc(0xcc)][_0x1651cc(0xba)])[_0x1651cc(0xc1)]():_0x48c6c3=Buffer[_0x1651cc(0xd0)](_0x1e7460['data'],_0x1651cc(0xa9))[_0x1651cc(0xc1)](),JSON[_0x1651cc(0xaf)](_0x48c6c3[_0x1651cc(0x9f)]());}catch(_0x4fc5f4){throw new CustomError_1[(_0x1651cc(0xb3))]({'code':0xbbd,'message':_0x1651cc(0xbe),'message_staring_params':{}});}}async function loadJsonFromDisk(_0xae1c35){const _0x5d032d=await loadFileString(_0xae1c35['toString']());return JSON['parse'](_0x5d032d);}async function loadImageFromNet(_0xf20fdc){const _0x55ad17=_0x3d6313,_0x3c56ab=await FetchUtils_1_1[_0x55ad17(0xb2)][_0x55ad17(0xa3)](_0xf20fdc,{'encoding':_0x55ad17(0xa9)});if(_0x3c56ab[_0x55ad17(0xa0)]!==0xc8)throw new CustomError_1[(_0x55ad17(0xb3))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x3c56ab[_0x55ad17(0xa0)],'message_staring_params':{'icon_url':_0xf20fdc,'status':_0x3c56ab[_0x55ad17(0xa0)]}});const _0x4ffada=_0x3c56ab[_0x55ad17(0xcc)]['get']?_0x3c56ab[_0x55ad17(0xcc)]['get'](_0x55ad17(0xcd)):_0x3c56ab[_0x55ad17(0xcc)][_0x55ad17(0xcd)];if(!(_0x4ffada===null||_0x4ffada===void 0x0?void 0x0:_0x4ffada[_0x55ad17(0xcf)](_0x55ad17(0xcb))))throw new CustomError_1[(_0x55ad17(0xb3))]({'code':0x7d3,'message':_0x55ad17(0xb9)+(_0x55ad17(0xad)+_0x4ffada+'\x22'),'message_staring_params':{'icon_url':_0xf20fdc,'contentType':_0x4ffada}});let _0x444d6b;_0x3c56ab[_0x55ad17(0xc4)]?_0x444d6b=await _0x3c56ab[_0x55ad17(0xc4)]():[_0x55ad17(0x9e),'deflate','br'][_0x55ad17(0xa6)](_0x3c56ab['headers']['content-encoding'])?_0x444d6b=FetchUtils_1_1[_0x55ad17(0xb2)][_0x55ad17(0xa4)](Buffer[_0x55ad17(0xd0)](_0x3c56ab[_0x55ad17(0xac)],_0x55ad17(0xa9)),_0x3c56ab[_0x55ad17(0xcc)]['content-encoding']):_0x444d6b=Buffer[_0x55ad17(0xd0)](_0x3c56ab[_0x55ad17(0xac)],_0x55ad17(0xa9));if(_0x4ffada[_0x55ad17(0xcf)](_0x55ad17(0xc3))){const _0x47c13e=new TextDecoder();try{_0x444d6b=await imageHelper_1[_0x55ad17(0xbf)][_0x55ad17(0xaa)](_0x47c13e['decode'](_0x444d6b));}catch(_0x72d9df){throw new CustomError_1[(_0x55ad17(0xb3))]({'code':0x7d4,'message':_0x55ad17(0xd3)+_0xf20fdc+':\x20'+_0x72d9df,'message_staring_params':{'icon_url':_0xf20fdc,'error':_0x72d9df}});}}return _0x4ffada[_0x55ad17(0xcf)](_0x55ad17(0xc0))&&(_0x444d6b=await imageHelper_1[_0x55ad17(0xbf)][_0x55ad17(0xb5)](_0x444d6b)),await Jimp[_0x55ad17(0xc9)](Buffer[_0x55ad17(0xd0)](_0x444d6b));}async function loadImageFromDisk(_0x35eeba){const _0x369b2d=_0x3d6313;return await Jimp[_0x369b2d(0xc9)](_0x35eeba);}async function loadFileString(_0x58095f){const _0x2fe2bb=_0x3d6313;let _0x709b7d=await fs[_0x2fe2bb(0xb4)][_0x2fe2bb(0xae)](_0x58095f[_0x2fe2bb(0xc1)]());return _0x709b7d[_0x2fe2bb(0xc1)]();}function _0x3a53(){const _0x50c57c=['__esModule','Received\x20icon\x20with\x20invalid\x20Content-Type.','content-encoding','5bavTCt','loadImageFromDisk','2607216yLfYkn','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','ImageHelper','image/webp','toString','3267530pgRjTd','image/svg','arrayBuffer','../utils/CustomError','1339758QRAZqN','../utils/FetchUtils-1','68Utmbvc','read','loadJsonFromDisk','image/','headers','content-type','339410yctnvQ','startsWith','from','text',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','Problem\x20reading\x20','defineProperty','gzip','trim','status','loadJsonFromNet','loadFileString','fetch','decompressResponseBuffer','./imageHelper','includes','3001649uKONHa','90528JgCRPy','binary','svg2img','The\x20response\x20status\x20is\x20','data','\x20Responded\x20with\x20Content-Type\x20\x22','readFile','parse','loadImageFromNet','15144GowZTE','fetchUtils','CustomError','promises','webp2PngBuffer','deflate','6FfXuyG'];_0x3a53=function(){return _0x50c57c;};return _0x3a53();}
@@ -0,0 +1,13 @@
1
+ type ErrorType = 'info' | 'warning' | 'error';
2
+ type ErrorMessageItem = {
3
+ code: number;
4
+ message: string;
5
+ tag?: string;
6
+ message_staring_params: Record<string, any>;
7
+ };
8
+ declare class CustomError extends Error {
9
+ type: ErrorType;
10
+ customMessage: ErrorMessageItem | Array<ErrorMessageItem>;
11
+ constructor(customMessage: ErrorMessageItem | Array<ErrorMessageItem>, type?: ErrorType);
12
+ }
13
+ export { CustomError };
@@ -0,0 +1 @@
1
+ 'use strict';var _0x1a7594=_0x2128;function _0x2128(_0x4b4447,_0x21284a){var _0x313092=_0x3130();return _0x2128=function(_0x212848,_0xbe0c06){_0x212848=_0x212848-0x16f;var _0x209894=_0x313092[_0x212848];return _0x209894;},_0x2128(_0x4b4447,_0x21284a);}(function(_0x3e80de,_0x16f082){var _0x27be86=_0x2128,_0x595cba=_0x3e80de();while(!![]){try{var _0x14b3ff=-parseInt(_0x27be86(0x17f))/0x1+parseInt(_0x27be86(0x17d))/0x2+parseInt(_0x27be86(0x17a))/0x3+parseInt(_0x27be86(0x179))/0x4+parseInt(_0x27be86(0x16f))/0x5*(parseInt(_0x27be86(0x175))/0x6)+parseInt(_0x27be86(0x17b))/0x7*(parseInt(_0x27be86(0x177))/0x8)+-parseInt(_0x27be86(0x17e))/0x9*(parseInt(_0x27be86(0x172))/0xa);if(_0x14b3ff===_0x16f082)break;else _0x595cba['push'](_0x595cba['shift']());}catch(_0x4fccd8){_0x595cba['push'](_0x595cba['shift']());}}}(_0x3130,0x20660));Object[_0x1a7594(0x178)](exports,_0x1a7594(0x173),{'value':!![]}),exports[_0x1a7594(0x17c)]=void 0x0;class CustomError extends Error{constructor(_0x582af0,_0x2351aa){var _0x1cf72f=_0x1a7594;super(JSON[_0x1cf72f(0x170)](_0x582af0)),this[_0x1cf72f(0x174)]=_0x582af0,this[_0x1cf72f(0x171)]=_0x2351aa||_0x1cf72f(0x176);}}exports['CustomError']=CustomError;function _0x3130(){var _0x3c2fe7=['897596dKCbpR','23388DxYdIH','3899zJRRKx','CustomError','432694CGLqIA','756gLHibe','113207PdooXf','5xsRbIG','stringify','type','29940thYbXm','__esModule','customMessage','229692GfuiAZ','info','152YAusuQ','defineProperty'];_0x3130=function(){return _0x3c2fe7;};return _0x3130();}
@@ -0,0 +1,12 @@
1
+ declare class FetchUtils {
2
+ private fetchEngine;
3
+ fetch: any;
4
+ downloadFile: any;
5
+ decompressResponseBuffer: any;
6
+ setFetchEngine(newFetchEngine: any): void;
7
+ setFetch(newFetch: any): void;
8
+ setDownloadFile(newDownloadFile: any): void;
9
+ setDecompressResponseBuffer(newDecompressResponseBuffer: any): void;
10
+ }
11
+ declare const fetchUtils: FetchUtils;
12
+ export { fetchUtils };
@@ -0,0 +1 @@
1
+ 'use strict';const _0x590eff=_0x2e48;(function(_0x4a1f26,_0x91f1bf){const _0x9d0b88=_0x2e48,_0x3abf01=_0x4a1f26();while(!![]){try{const _0x30bffc=parseInt(_0x9d0b88(0x1dc))/0x1*(parseInt(_0x9d0b88(0x1dd))/0x2)+parseInt(_0x9d0b88(0x1e6))/0x3*(parseInt(_0x9d0b88(0x1e4))/0x4)+-parseInt(_0x9d0b88(0x1e7))/0x5+parseInt(_0x9d0b88(0x1e8))/0x6+-parseInt(_0x9d0b88(0x1da))/0x7+-parseInt(_0x9d0b88(0x1db))/0x8*(-parseInt(_0x9d0b88(0x1e5))/0x9)+parseInt(_0x9d0b88(0x1ea))/0xa*(-parseInt(_0x9d0b88(0x1e2))/0xb);if(_0x30bffc===_0x91f1bf)break;else _0x3abf01['push'](_0x3abf01['shift']());}catch(_0x4812c4){_0x3abf01['push'](_0x3abf01['shift']());}}}(_0x129a,0xd89e2));function _0x2e48(_0x2545f6,_0xe41232){const _0x129ae1=_0x129a();return _0x2e48=function(_0x2e4876,_0x5070f6){_0x2e4876=_0x2e4876-0x1da;let _0x4c1aff=_0x129ae1[_0x2e4876];return _0x4c1aff;},_0x2e48(_0x2545f6,_0xe41232);}function _0x129a(){const _0x49a5eb=['13414401rEcSip','18yZBIZv','4284645xPmoBR','9698850DulLPl','__esModule','35330rsUllJ','setFetch','fetch','10602186KgtLBN','8IomjOA','4UBZnyh','231974hUCJYv','fetchEngine','defineProperty','decompressResponseBuffer','downloadFile','2585kxOiYn','setFetchEngine','345424ywPtqy'];_0x129a=function(){return _0x49a5eb;};return _0x129a();}Object[_0x590eff(0x1df)](exports,_0x590eff(0x1e9),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x14a3cc=_0x590eff;this['fetchEngine']=null,this[_0x14a3cc(0x1ec)]=null,this[_0x14a3cc(0x1e1)]=null,this[_0x14a3cc(0x1e0)]=null;}[_0x590eff(0x1e3)](_0x2fc1a7){const _0x1c3571=_0x590eff;this[_0x1c3571(0x1de)]=_0x2fc1a7;}[_0x590eff(0x1eb)](_0x5c0d7b){this['fetch']=_0x5c0d7b;}['setDownloadFile'](_0x5bc8f0){const _0x2277f4=_0x590eff;this[_0x2277f4(0x1e1)]=_0x5bc8f0;}['setDecompressResponseBuffer'](_0x4c0acd){const _0x18f964=_0x590eff;this[_0x18f964(0x1e0)]=_0x4c0acd;}}const fetchUtils=new FetchUtils();exports['fetchUtils']=fetchUtils;
@@ -0,0 +1,88 @@
1
+ /**
2
+ * An interface for loggers.
3
+ */
4
+ export interface Log {
5
+ /**
6
+ * Prints a debug message to the Log. Message is ignored if the Log is not set to verbose.
7
+ * @param message the message the be printed.
8
+ * @param args extra arguments for the console.
9
+ */
10
+ debug(message: string, ...args: string[]): void;
11
+ /**
12
+ * Prints an info message to the Log. Message is ignored if the Log is not set to verbose.
13
+ * @param message The message the be printed.
14
+ * @param args Extra arguments for the console.
15
+ */
16
+ info(message: string, ...args: string[]): void;
17
+ /**
18
+ * Prints an warning message to the Log. Message is ignored if the Log is not set to verbose.
19
+ * @param message The message the be printed.
20
+ * @param args Extra arguments for the console.
21
+ */
22
+ warn(message: string, ...args: string[]): void;
23
+ /**
24
+ * Prints an error message to the Log. Message is ignored if the Log is not set to verbose.
25
+ * @param message The message the be printed.
26
+ * @param args Extra arguments for the console.
27
+ */
28
+ error(message: string, ...args: string[]): void;
29
+ setVerbose(verbose: boolean): void;
30
+ }
31
+ /**
32
+ * An utility class to print nice Log messages.
33
+ */
34
+ export declare class ConsoleLog implements Log {
35
+ private tag;
36
+ private prefix;
37
+ private output;
38
+ /**
39
+ * The verbosity of the Log. "debug" messages are ignored if verbose is set to false.
40
+ */
41
+ verbose: boolean;
42
+ /**
43
+ * Creates a new Log instance
44
+ * @param tag The tag used when logging. Printed at the beggining of a log message.
45
+ * @param verbose If the Log is verbose. Debug messages are only printed on verbose logs.
46
+ * @param output Where to output the log messages.
47
+ */
48
+ constructor(tag?: string, verbose?: boolean, output?: Console);
49
+ /**
50
+ * Prints a debug message to the Log. Message is ignored if the Log is not set to verbose.
51
+ * @param message The message the be printed.
52
+ * @param args Extra arguments for the console.
53
+ */
54
+ debug(message: string, ...args: string[]): void;
55
+ /**
56
+ * Prints an info message to the Log. Message is ignored if the Log is not set to verbose.
57
+ * @param message The message the be printed.
58
+ * @param args Extra arguments for the console.
59
+ */
60
+ info(message: string, ...args: string[]): void;
61
+ /**
62
+ * Prints an warning message to the Log. Message is ignored if the Log is not set to verbose.
63
+ * @param message The message the be printed.
64
+ * @param args Extra arguments for the console.
65
+ */
66
+ warn(message: string, ...args: string[]): void;
67
+ /**
68
+ * Prints an error message to the Log. Message is ignored if the Log is not set to verbose.
69
+ * @param message The message the be printed.
70
+ * @param args Extra arguments for the console.
71
+ */
72
+ error(message: string, ...args: string[]): void;
73
+ /**
74
+ * Sets the verbose.
75
+ * @param verbose The verbose value to set.
76
+ */
77
+ setVerbose(verbose: boolean): void;
78
+ /**
79
+ * Creates a new Log using the same output and verbositity of the current Log.
80
+ * @param newTag The tag the be used on the new Log instance.
81
+ */
82
+ newLog(newTag: string): ConsoleLog;
83
+ private log;
84
+ private inverse;
85
+ private dim;
86
+ private yellow;
87
+ private red;
88
+ }
@@ -0,0 +1 @@
1
+ 'use strict';var _0x57f8aa=_0x1eca;(function(_0x1b238b,_0x496d7c){var _0x23f94c=_0x1eca,_0x10b856=_0x1b238b();while(!![]){try{var _0x395dda=-parseInt(_0x23f94c(0x12e))/0x1*(-parseInt(_0x23f94c(0x12b))/0x2)+-parseInt(_0x23f94c(0x13a))/0x3*(parseInt(_0x23f94c(0x124))/0x4)+-parseInt(_0x23f94c(0x12c))/0x5+parseInt(_0x23f94c(0x12f))/0x6+-parseInt(_0x23f94c(0x13f))/0x7*(-parseInt(_0x23f94c(0x141))/0x8)+parseInt(_0x23f94c(0x142))/0x9*(-parseInt(_0x23f94c(0x13c))/0xa)+parseInt(_0x23f94c(0x133))/0xb;if(_0x395dda===_0x496d7c)break;else _0x10b856['push'](_0x10b856['shift']());}catch(_0x37a3b0){_0x10b856['push'](_0x10b856['shift']());}}}(_0x4415,0x6b785));Object['defineProperty'](exports,_0x57f8aa(0x137),{'value':!![]}),exports[_0x57f8aa(0x127)]=void 0x0;function _0x1eca(_0x8ba55d,_0x3aa1dd){var _0x4415d9=_0x4415();return _0x1eca=function(_0x1eca27,_0x533c5b){_0x1eca27=_0x1eca27-0x123;var _0x180148=_0x4415d9[_0x1eca27];return _0x180148;},_0x1eca(_0x8ba55d,_0x3aa1dd);}function _0x4415(){var _0x348aa6=['\x1b[36m','7FudrHj','ERROR\x20','3082424vhZnVh','9gJfIjb','yellow','284GccdQQ','verbose','tag','ConsoleLog','info','\x1b[0m','concat','93640oJzFJh','2504325mpknQP','log','8VMsrIk','4828482mhKDZG','\x1b[33m','prefix','WARNING\x20','11575707qrtlFk','dim','error','output','__esModule','\x1b[7m','red','36090hPKhnp','warn','8217550PhvEug','setVerbose'];_0x4415=function(){return _0x348aa6;};return _0x4415();}class ConsoleLog{constructor(_0x2a8b4f='',_0x2ae56d=![],_0x2b95cd=console){var _0x1167bd=_0x57f8aa;this[_0x1167bd(0x126)]=_0x2a8b4f,this[_0x1167bd(0x125)]=_0x2ae56d,this[_0x1167bd(0x131)]=this['inverse'](_0x2a8b4f),this[_0x1167bd(0x136)]=_0x2b95cd;}['debug'](_0x10df1f,..._0x3a6c8c){var _0x8c927e=_0x57f8aa;if(!this[_0x8c927e(0x125)])return;this[_0x8c927e(0x12d)](this['output'][_0x8c927e(0x12d)],this['dim'](_0x10df1f),..._0x3a6c8c);}[_0x57f8aa(0x128)](_0x1fcd0b,..._0x4bbe42){var _0x483ca0=_0x57f8aa;this[_0x483ca0(0x12d)](this[_0x483ca0(0x136)][_0x483ca0(0x12d)],_0x1fcd0b,..._0x4bbe42);}[_0x57f8aa(0x13b)](_0x349cb4,..._0x589d0b){var _0x7c99e0=_0x57f8aa;this[_0x7c99e0(0x12d)](this[_0x7c99e0(0x136)][_0x7c99e0(0x13b)],this[_0x7c99e0(0x123)](_0x7c99e0(0x132)+_0x349cb4),..._0x589d0b);}[_0x57f8aa(0x135)](_0x306b95,..._0x3b538b){var _0x16282a=_0x57f8aa;this[_0x16282a(0x136)][_0x16282a(0x135)]('\x0a'),this[_0x16282a(0x12d)](this[_0x16282a(0x136)][_0x16282a(0x135)],this[_0x16282a(0x139)](_0x16282a(0x140)+_0x306b95),..._0x3b538b),this['output'][_0x16282a(0x135)]('\x0a');}[_0x57f8aa(0x13d)](_0x467ff7){var _0x2d4692=_0x57f8aa;this[_0x2d4692(0x125)]=_0x467ff7;}['newLog'](_0x2a01f5){var _0x1d610c=_0x57f8aa;return this[_0x1d610c(0x126)]&&(_0x2a01f5=this[_0x1d610c(0x126)]+'\x20'+_0x2a01f5),new ConsoleLog(_0x2a01f5,this['verbose'],this[_0x1d610c(0x136)]);}[_0x57f8aa(0x12d)](_0x348677,_0x556504,..._0x506d89){var _0x4bc391=_0x57f8aa;this['prefix']&&(_0x556504=this[_0x4bc391(0x131)]+'\x20'+_0x556504),_0x506d89?_0x348677(...[_0x556504][_0x4bc391(0x12a)](_0x506d89)):_0x348677(_0x556504);}['inverse'](_0x53bbab){var _0x354311=_0x57f8aa;return _0x354311(0x138)+_0x53bbab+_0x354311(0x129);}[_0x57f8aa(0x134)](_0x35f647){var _0xa8b9d4=_0x57f8aa;return _0xa8b9d4(0x13e)+_0x35f647+_0xa8b9d4(0x129);}[_0x57f8aa(0x123)](_0x2ed155){var _0x18bebf=_0x57f8aa;return _0x18bebf(0x130)+_0x2ed155+'\x1b[0m';}[_0x57f8aa(0x139)](_0xeaac83){var _0xe38b40=_0x57f8aa;return'\x1b[31m'+_0xeaac83+_0xe38b40(0x129);}}exports[_0x57f8aa(0x127)]=ConsoleLog;
@@ -0,0 +1,5 @@
1
+ import { Response as FetchH2Response } from 'fetch-h2';
2
+ export type NodeFetchOrFetchH2Response = FetchH2Response;
3
+ export declare function fetch(input: string, headers?: any): Promise<NodeFetchOrFetchH2Response>;
4
+ export declare function downloadFile(url: string, path: string, progressCallback?: (current: number, total: number) => void): Promise<void>;
5
+ export declare function decompressResponseBuffer(buffer: Buffer, contentEncoding: 'gzip' | 'deflate' | 'br'): Buffer;
@@ -0,0 +1 @@
1
+ 'use strict';function _0x91dd(_0x48c26f,_0x44870d){const _0x2be677=_0x2be6();return _0x91dd=function(_0x91dd62,_0x4f1a54){_0x91dd62=_0x91dd62-0x90;let _0x272fe8=_0x2be677[_0x91dd62];return _0x272fe8;},_0x91dd(_0x48c26f,_0x44870d);}const _0x42f1cb=_0x91dd;(function(_0x4012,_0x14110c){const _0x482203=_0x91dd,_0xf6e947=_0x4012();while(!![]){try{const _0x2068af=parseInt(_0x482203(0xa8))/0x1*(-parseInt(_0x482203(0x97))/0x2)+-parseInt(_0x482203(0xab))/0x3*(parseInt(_0x482203(0xaa))/0x4)+-parseInt(_0x482203(0x9c))/0x5+-parseInt(_0x482203(0x9d))/0x6*(-parseInt(_0x482203(0xb1))/0x7)+-parseInt(_0x482203(0x9f))/0x8+parseInt(_0x482203(0x94))/0x9+parseInt(_0x482203(0xa7))/0xa;if(_0x2068af===_0x14110c)break;else _0xf6e947['push'](_0xf6e947['shift']());}catch(_0x269319){_0xf6e947['push'](_0xf6e947['shift']());}}}(_0x2be6,0x5578a));function _0x2be6(){const _0x4e00f2=['Content-Length','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','171202YsMTqo','unzipSync','Z_SYNC_FLUSH','downloadFile','defineProperty','1504535vyuPFq','24ytZtFv','data','1931064bsZGQd','follow','test','zlib','length','fetch','constants','context','11221410kowhUC','7kqiWcn','pipe','16WMkmqg','190737bpLRmF','readable','finish','createWriteStream','headers','fetch-h2','491743IhKbYT','decompressResponseBuffer','get','__esModule','brotliDecompressSync','3084894TWAshh'];_0x2be6=function(){return _0x4e00f2;};return _0x2be6();}Object[_0x42f1cb(0x9b)](exports,_0x42f1cb(0x92),{'value':!![]}),exports[_0x42f1cb(0xa4)]=fetch,exports[_0x42f1cb(0x9a)]=downloadFile,exports[_0x42f1cb(0x90)]=decompressResponseBuffer;const fetch_h2_1=require(_0x42f1cb(0xb0)),fs=require('fs'),zlib=require(_0x42f1cb(0xa2)),userAgent=_0x42f1cb(0x96),fetchh2Ctx=(0x0,fetch_h2_1[_0x42f1cb(0xa6)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x42f1cb(0xa4)];async function fetch(_0x17d7c4,_0x54651f){const _0x7120df=_0x42f1cb;return await fetchh2(_0x17d7c4,_0x54651f?{'redirect':_0x7120df(0xa0),..._0x54651f}:{'redirect':'follow'});}async function downloadFile(_0x56c481,_0x4e61c3,_0x4c5841){const _0x5aa26b=_0x42f1cb;let _0x46d9fd,_0x3def3d;_0x46d9fd=await fetchh2(_0x56c481,{'redirect':_0x5aa26b(0xa0)}),_0x3def3d=await _0x46d9fd[_0x5aa26b(0xac)]();const _0x18472e=_0x46d9fd[_0x5aa26b(0xaf)][_0x5aa26b(0x91)](_0x5aa26b(0x95)),_0x55999b=_0x18472e?parseInt(_0x18472e):-0x1,_0x1ae865=fs[_0x5aa26b(0xae)](_0x4e61c3);let _0x303e66=0x0;await new Promise((_0x19b0e8,_0x46e81d)=>{const _0x280a07=_0x5aa26b;_0x3def3d[_0x280a07(0xa9)](_0x1ae865),_0x4c5841&&_0x3def3d['on'](_0x280a07(0x9e),_0x353a9f=>{const _0xbadd78=_0x280a07;_0x303e66=_0x303e66+_0x353a9f[_0xbadd78(0xa3)],_0x4c5841(_0x303e66,_0x55999b);}),_0x3def3d['on']('error',_0x7b7c14=>{_0x46e81d(_0x7b7c14);}),_0x1ae865['on'](_0x280a07(0xad),()=>{_0x19b0e8();});});}function decompressResponseBuffer(_0x3df786,_0x4beedb){const _0xbf8bb3=_0x42f1cb;let _0x456fe3=_0x3df786;if(/\bgzip\b/['test'](_0x4beedb)||/\bdeflate\b/[_0xbf8bb3(0xa1)](_0x4beedb))_0x456fe3=zlib[_0xbf8bb3(0x98)](_0x3df786,{'flush':zlib[_0xbf8bb3(0xa5)][_0xbf8bb3(0x99)],'finishFlush':zlib[_0xbf8bb3(0xa5)][_0xbf8bb3(0x99)]});else/\bbr\b/['test'](_0x4beedb)&&(_0x456fe3=zlib[_0xbf8bb3(0x93)](_0x3df786));return _0x456fe3;}
@@ -0,0 +1,50 @@
1
+ type Messages = {
2
+ promptInstallJdk: string;
3
+ promptJdkPath: string;
4
+ messageDownloadJdk: string;
5
+ messageDownloadJdkSrc: string;
6
+ messageDecompressJdkSrc: string;
7
+ messageDownloadJdkBin: string;
8
+ messageDecompressJdkBin: string;
9
+ promptInstallSdk: string;
10
+ promptSdkPath: string;
11
+ messageDownloadSdk: string;
12
+ errorSdkTerms: string;
13
+ promptSdkTerms: string;
14
+ messageDownloadAndroidSdk: string;
15
+ messageDecompressAndroidSdk: string;
16
+ messageInstallingBuildTools: string;
17
+ messageInvalidIcon: (iconPath: string) => string;
18
+ errorStartUrlNotReachable: (launchUrl: string) => string;
19
+ messageGeneratingAndroidProject: string;
20
+ messageCheckSuccess: (url: string, redirectLocation?: string) => string;
21
+ messageInitializingWebManifest: (manifestUrl: string) => string;
22
+ messageInitializingLocalManifest: (manifestUrl: string) => string;
23
+ errorMissingManifestParameter: string;
24
+ warnFamilyPolicy: string;
25
+ promptIconUrl: string;
26
+ errorInvalidUrl: (url: string) => string;
27
+ errorUrlMustBeImage: (mimeType: string) => string;
28
+ promptVersionCode: string;
29
+ promptVersionName: string;
30
+ messageSigningKeyInformation: string;
31
+ messageProjectGeneratedSuccess: string;
32
+ messageSigningKeyCreation: string;
33
+ messageSigningKeyNotFound: (path: string) => string;
34
+ promptCreateKey: string;
35
+ promptKeyFullName: string;
36
+ promptKeyOrganizationalUnit: string;
37
+ promptKeyOrganization: string;
38
+ promptKeyCountry: string;
39
+ promptKeystorePassword: string;
40
+ promptKeyPassword: string;
41
+ messageBuildingApp: string;
42
+ messageEnterPasswords: (keypath: string, keyalias: string) => string;
43
+ errorMinLength: (minLength: number, actualLength: number) => string;
44
+ errorMaxLength: (maxLength: number, actualLength: number) => string;
45
+ errorInvalidInteger: (integer: string) => string;
46
+ messageApkSuccess: (filename: string) => string;
47
+ missingUrlToCheck: string;
48
+ };
49
+ export declare const messages: Messages;
50
+ export {};
@@ -0,0 +1 @@
1
+ 'use strict';const _0x4f3b42=_0x2072;function _0x2072(_0x1da205,_0x2b0cf3){const _0x5baeba=_0x5bae();return _0x2072=function(_0x2072f6,_0x3b14a2){_0x2072f6=_0x2072f6-0xaa;let _0x1b1aa5=_0x5baeba[_0x2072f6];return _0x1b1aa5;},_0x2072(_0x1da205,_0x2b0cf3);}(function(_0xda3db8,_0x429de2){const _0x20a699=_0x2072,_0x9bdf49=_0xda3db8();while(!![]){try{const _0x38829b=-parseInt(_0x20a699(0xcc))/0x1*(-parseInt(_0x20a699(0xb3))/0x2)+-parseInt(_0x20a699(0xaa))/0x3*(-parseInt(_0x20a699(0xb2))/0x4)+parseInt(_0x20a699(0xba))/0x5*(-parseInt(_0x20a699(0xc6))/0x6)+-parseInt(_0x20a699(0xe8))/0x7+parseInt(_0x20a699(0xcd))/0x8+-parseInt(_0x20a699(0xd0))/0x9+parseInt(_0x20a699(0xbc))/0xa*(parseInt(_0x20a699(0xe1))/0xb);if(_0x38829b===_0x429de2)break;else _0x9bdf49['push'](_0x9bdf49['shift']());}catch(_0x32c912){_0x9bdf49['push'](_0x9bdf49['shift']());}}}(_0x5bae,0x24fb7));function _0x5bae(){const _0x4c0304=['redirected\x20to\x20','(5/5)','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','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)','\x20can\x20not\x20be\x20accessible.','\x22.\x0a','Decompressing\x20the\x20JDK\x2011\x20Binaries...','--manifest-url','360WNiKUi','license\x20agreement.','underline','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','bold','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Decompressing\x20the\x20Android\x20SDK...','Minimum\x20length\x20is\x20','8236DHzOCS','16374ARRRtw','\x0aBuilding\x20the\x20Android\x20App...','__esModule','Missing\x20required\x20parameter\x20','https://play.google.com/console/about/families/','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20the\x20JDK\x2011\x20Sources...','190735GoaKxG','Decompressing\x20the\x20JDK\x2011\x20Sources...','30fuyCFu','Downloading\x20JDK\x2011\x20to\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Path\x20to\x20your\x20existing\x20Android\x20SDK:','\x20but\x20input\x20is\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)','Downloading\x20the\x20JDK\x2011\x20Binaries...','\x20URL\x20','Invalid\x20URL:\x20','green','24obwHSD','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Password\x20for\x20the\x20Key\x20Store:','\x0aSigning\x20key\x20information\x20','Organization\x20(eg:\x20Company\x20Name):','25yLDRVx','25376OQFVZk','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Path\x20to\x20your\x20existing\x20JDK\x2011:','1605951ksSyzo','\x09-\x20Generated\x20Android\x20APK\x20at\x20','--url','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','cyan','Invalid\x20integer\x20provided:\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','defineProperty','yellow','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','messages','\x20and\x20alias\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x0aSigning\x20key\x20creation','\x0aProject\x20generated\x20successfully.','Password\x20for\x20the\x20Key:','361119ivIcln','Generating\x20Android\x20Project.','--manifest','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Downloading\x20Android\x20SDK\x20to\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','496356sHmnMq'];_0x5bae=function(){return _0x4c0304;};return _0x5bae();}Object[_0x4f3b42(0xd8)](exports,_0x4f3b42(0xb5),{'value':!![]}),exports[_0x4f3b42(0xdb)]=void 0x0;const colors_1=require('colors');exports[_0x4f3b42(0xdb)]={'promptInstallJdk':_0x4f3b42(0xec),'promptJdkPath':_0x4f3b42(0xcf),'messageDownloadJdk':_0x4f3b42(0xbd),'messageDownloadJdkSrc':_0x4f3b42(0xb9),'messageDecompressJdkSrc':_0x4f3b42(0xbb),'messageDownloadJdkBin':_0x4f3b42(0xc2),'messageDecompressJdkBin':_0x4f3b42(0xef),'promptInstallSdk':_0x4f3b42(0xc1),'promptSdkPath':_0x4f3b42(0xbf),'messageDownloadSdk':_0x4f3b42(0xe5),'errorSdkTerms':_0x4f3b42(0xd7),'promptSdkTerms':_0x4f3b42(0xaf)+(0x0,colors_1[_0x4f3b42(0xac)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':_0x4f3b42(0xb0),'messageInstallingBuildTools':_0x4f3b42(0xd4)+_0x4f3b42(0xab),'messageGeneratingAndroidProject':_0x4f3b42(0xe2),'messageCheckSuccess':(_0x5622d9,_0x47fff7)=>{const _0x2c033e=_0x4f3b42;return _0x2c033e(0xc3)+(0x0,colors_1[_0x2c033e(0xd5)])(_0x5622d9)+'\x20'+(_0x47fff7?_0x2c033e(0xe9)+(0x0,colors_1[_0x2c033e(0xd5)])(_0x47fff7):'')+_0x2c033e(0xeb);},'errorMissingManifestParameter':_0x4f3b42(0xb6)+((0x0,colors_1[_0x4f3b42(0xd5)])(_0x4f3b42(0xf0))+'\x20or\x20'+(0x0,colors_1[_0x4f3b42(0xd5)])(_0x4f3b42(0xe3))),'messageInitializingWebManifest':_0xc5d9b4=>{const _0x28354b=_0x4f3b42;return _0x28354b(0xb8)+(0x0,colors_1[_0x28354b(0xd5)])(_0xc5d9b4);},'messageInitializingLocalManifest':_0x16fd78=>{const _0x3d9d9a=_0x4f3b42;return _0x3d9d9a(0xd3)+(0x0,colors_1[_0x3d9d9a(0xd5)])(_0x16fd78);},'messageInvalidIcon':_0x2522db=>{const _0x547633=_0x4f3b42;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x547633(0xd5)])(_0x2522db);},'errorStartUrlNotReachable':_0x21bc8d=>'URL\x20'+_0x21bc8d+_0x4f3b42(0xed)+_0x4f3b42(0xe7),'warnFamilyPolicy':(0x0,colors_1[_0x4f3b42(0xae)])((0x0,colors_1[_0x4f3b42(0xd9)])('WARNING:\x20'))+_0x4f3b42(0xda)+_0x4f3b42(0xc8)+'\x20Check\x20out\x20the\x20Play\x20for'+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x4f3b42(0xd5)])(_0x4f3b42(0xb7)),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0xbd56f9=>{const _0x3bf370=_0x4f3b42;return _0x3bf370(0xc4)+_0xbd56f9;},'errorUrlMustBeImage':_0x2aad6e=>{const _0x565057=_0x4f3b42;return _0x565057(0xe4)+_0x2aad6e+'.';},'promptVersionCode':_0x4f3b42(0xdd),'promptVersionName':_0x4f3b42(0xce),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x4f3b42(0xca)+(0x0,colors_1[_0x4f3b42(0xc5)])(_0x4f3b42(0xea))),'messageProjectGeneratedSuccess':_0x4f3b42(0xdf),'messageSigningKeyCreation':(0x0,colors_1[_0x4f3b42(0xac)])(_0x4f3b42(0xde)),'messageSigningKeyNotFound':_0x20ecbf=>{const _0x20a0ac=_0x4f3b42;return _0x20a0ac(0xad)+_0x20ecbf+_0x20a0ac(0xee);},'promptCreateKey':_0x4f3b42(0xbe),'promptKeyFullName':_0x4f3b42(0xe6),'promptKeyOrganizationalUnit':_0x4f3b42(0xc7),'promptKeyOrganization':_0x4f3b42(0xcb),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x4f3b42(0xc9),'promptKeyPassword':_0x4f3b42(0xe0),'messageBuildingApp':_0x4f3b42(0xb4),'messageEnterPasswords':(_0xeefba2,_0x5160b6)=>{const _0x297891=_0x4f3b42;return'Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'+(0x0,colors_1['cyan'])(_0xeefba2)+_0x297891(0xdc)+(0x0,colors_1['cyan'])(_0x5160b6)+'.\x0a';},'errorMinLength':(_0x4bb736,_0x15a854)=>{const _0x4a8ac0=_0x4f3b42;return _0x4a8ac0(0xb1)+_0x4bb736+_0x4a8ac0(0xc0)+_0x15a854+'.';},'errorMaxLength':(_0x262fac,_0x2357f3)=>{return'Maximum\x20length\x20is\x20'+_0x262fac+'\x20but\x20input\x20is\x20'+_0x2357f3+'.';},'errorInvalidInteger':_0x2c751e=>{const _0x3def52=_0x4f3b42;return _0x3def52(0xd6)+_0x2c751e;},'messageApkSuccess':_0x17eea9=>{const _0x532605=_0x4f3b42;return _0x532605(0xd1)+(0x0,colors_1[_0x532605(0xd5)])(_0x17eea9);},'missingUrlToCheck':_0x4f3b42(0xb6)+(''+(0x0,colors_1[_0x4f3b42(0xd5)])(_0x4f3b42(0xd2)))};
@@ -0,0 +1 @@
1
+ export declare function parseRouter(url: string): string;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x1acd52=_0x1550;(function(_0x5b1d0f,_0x2458f6){const _0x5cd60c=_0x1550,_0xbc3b3b=_0x5b1d0f();while(!![]){try{const _0xa9a80c=-parseInt(_0x5cd60c(0xe4))/0x1*(-parseInt(_0x5cd60c(0xe3))/0x2)+-parseInt(_0x5cd60c(0xd8))/0x3*(-parseInt(_0x5cd60c(0xdc))/0x4)+-parseInt(_0x5cd60c(0xd9))/0x5+parseInt(_0x5cd60c(0xdb))/0x6*(-parseInt(_0x5cd60c(0xe1))/0x7)+-parseInt(_0x5cd60c(0xd4))/0x8+-parseInt(_0x5cd60c(0xd7))/0x9*(parseInt(_0x5cd60c(0xe2))/0xa)+-parseInt(_0x5cd60c(0xdf))/0xb*(-parseInt(_0x5cd60c(0xda))/0xc);if(_0xa9a80c===_0x2458f6)break;else _0xbc3b3b['push'](_0xbc3b3b['shift']());}catch(_0x3cd7f0){_0xbc3b3b['push'](_0xbc3b3b['shift']());}}}(_0x1f6e,0xcd9a1));Object[_0x1acd52(0xd5)](exports,_0x1acd52(0xde),{'value':!![]}),exports[_0x1acd52(0xd6)]=parseRouter;function _0x1550(_0x1af24f,_0x3882c5){const _0x1f6ef9=_0x1f6e();return _0x1550=function(_0x15509e,_0x8bc34b){_0x15509e=_0x15509e-0xd3;let _0x2f8282=_0x1f6ef9[_0x15509e];return _0x2f8282;},_0x1550(_0x1af24f,_0x3882c5);}function _0x1f6e(){const _0x179c39=['192wWWVsu','replace','__esModule','31906358CjpKIM','pop','67529lEYqpN','15848350zwtAft','3452iuLpch','314amRxIn','indexOf','7575136lJiGta','defineProperty','parseRouter','9nuaZLt','59034lKpgtg','2316675wuaUtG','12dvHHOp','342YpIdMf'];_0x1f6e=function(){return _0x179c39;};return _0x1f6e();}function parseRouter(_0x2fc68e){const _0x3dcdb7=_0x1acd52;let _0x584932=_0x2fc68e['split']('/');_0x584932[_0x3dcdb7(0xe0)]();let _0x2c9452=_0x584932['join']();while(_0x2c9452[_0x3dcdb7(0xd3)](',')>=0x0){_0x2c9452=_0x2c9452[_0x3dcdb7(0xdd)](',','/');}return _0x2c9452;}
@@ -0,0 +1,5 @@
1
+ export declare class XcodeManager {
2
+ static parseProject(option: any, isDev?: boolean): Promise<void>;
3
+ static upload(option: any, appInfo: any): Promise<void>;
4
+ static runWithSimulator(appInfo: any): Promise<void>;
5
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x20f592=_0x21a4;(function(_0x22bd08,_0x2bf947){const _0x58d53b=_0x21a4,_0x4dcf10=_0x22bd08();while(!![]){try{const _0x60cc94=-parseInt(_0x58d53b(0x207))/0x1*(parseInt(_0x58d53b(0x1fe))/0x2)+-parseInt(_0x58d53b(0x204))/0x3*(-parseInt(_0x58d53b(0x209))/0x4)+parseInt(_0x58d53b(0x1f3))/0x5*(parseInt(_0x58d53b(0x1f2))/0x6)+parseInt(_0x58d53b(0x1f9))/0x7+-parseInt(_0x58d53b(0x1f6))/0x8+parseInt(_0x58d53b(0x1f5))/0x9*(-parseInt(_0x58d53b(0x205))/0xa)+-parseInt(_0x58d53b(0x20a))/0xb;if(_0x60cc94===_0x2bf947)break;else _0x4dcf10['push'](_0x4dcf10['shift']());}catch(_0x2777fa){_0x4dcf10['push'](_0x4dcf10['shift']());}}}(_0x45ea,0xb8dfb));function _0x45ea(){const _0x14a98c=['5232800LUNDzO','8188631OUbiLm','runWithSimulator','defineProperty','PROJECT_DIRECTORY','name','XcodeManager','./xcrun','join','default','write\x20project.pbxproj:\x20ok','upload','7822320GaVUgZ','5RTVgEb','existsSync','396ZBFsVF','3662176eQDUvD','log','./xcodebuild','5393549zrAlAC','__esModule','archive','../resource','./xcodeproject','10bXJuqP','.ipa','uploadApp','mkdirSync','/web-spatial.xcodeproj/project.pbxproj','modify','3fUduZp','90EAEyoX','PROJECT_EXPORT_DIRECTORY','284519dfCTdE','path'];_0x45ea=function(){return _0x14a98c;};return _0x45ea();}Object[_0x20f592(0x1e9)](exports,_0x20f592(0x1fa),{'value':!![]}),exports[_0x20f592(0x1ec)]=void 0x0;const fs=require('fs'),resource_1=require(_0x20f592(0x1fc)),xcodeproject_1=require(_0x20f592(0x1fd)),xcodebuild_1=require(_0x20f592(0x1f8)),xcrun_1=require(_0x20f592(0x1ed)),path_1=require(_0x20f592(0x208));class XcodeManager{static async['parseProject'](_0x10dd3e,_0x2a2f63=![]){const _0x9fbed4=_0x20f592,_0x5514f0=resource_1[_0x9fbed4(0x1ea)]+_0x9fbed4(0x202);await xcodeproject_1[_0x9fbed4(0x1ef)][_0x9fbed4(0x203)](_0x5514f0,_0x10dd3e),console[_0x9fbed4(0x1f7)](_0x9fbed4(0x1f0));!fs[_0x9fbed4(0x1f4)](resource_1[_0x9fbed4(0x206)])&&fs[_0x9fbed4(0x201)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x2a2f63)await xcodebuild_1['default'][_0x9fbed4(0x1fb)]();}static async[_0x20f592(0x1f1)](_0x5c9a65,_0x141b5f){const _0x5d6e1a=_0x20f592;if(_0x5c9a65['u']&&_0x5c9a65['p'])xcrun_1[_0x5d6e1a(0x1ef)][_0x5d6e1a(0x200)]((0x0,path_1[_0x5d6e1a(0x1ee)])(resource_1[_0x5d6e1a(0x206)],_0x141b5f[_0x5d6e1a(0x1eb)]+_0x5d6e1a(0x1ff)),_0x5c9a65['u'],_0x5c9a65['p'],!![]);else _0x5c9a65['k']&&_0x5c9a65['i']&&xcrun_1[_0x5d6e1a(0x1ef)][_0x5d6e1a(0x200)]((0x0,path_1[_0x5d6e1a(0x1ee)])(resource_1[_0x5d6e1a(0x206)],_0x141b5f[_0x5d6e1a(0x1eb)]+_0x5d6e1a(0x1ff)),_0x5c9a65['k'],_0x5c9a65['i'],![]);}static async[_0x20f592(0x1e8)](_0x52617a){const _0xcccc76=_0x20f592;await xcrun_1[_0xcccc76(0x1ef)][_0xcccc76(0x1e8)](_0x52617a);}}function _0x21a4(_0x2e60e5,_0x2b0b96){const _0x45ea1f=_0x45ea();return _0x21a4=function(_0x21a4b1,_0x3127b2){_0x21a4b1=_0x21a4b1-0x1e8;let _0x4e7911=_0x45ea1f[_0x21a4b1];return _0x4e7911;},_0x21a4(_0x2e60e5,_0x2b0b96);}exports[_0x20f592(0x1ec)]=XcodeManager;
@@ -0,0 +1 @@
1
+ export declare const manifestSwiftTemplate = "\nimport Foundation\n\nvar pwaManager = PWAManager()\n\nstruct PWAManager: Codable {\n var isLocal: Bool = false\n var start_url: String = \"START_URL\"\n var scope: String = \"SCOPE\"\n var id: String = \"AppID\"\n\n var name: String = \"AppName\"\n var short_name: String = \"name\"\n var description: String = \"Description\"\n\n var display: PWADisplayMode = .minimal\n var display_override: [PWADisplayMode] = []\n var protocol_handlers: [PWAProtocol] = [PWAProtocol(protocolValue: \"\", url: \"\")]\n var mainScene: WindowContainerOptions = .init(\n defaultSize: .init(\n width: SceneWidth,\n height: SceneHeight\n ),\n resizability: SceneResizability\n )\n var useMainScene: Bool = true\n\n mutating func _init() {\n let urlType = start_url.split(separator: \"://\").first\n if !(urlType == \"http\" || urlType == \"https\") {\n start_url = Bundle.main.url(forResource: start_url, withExtension: \"\", subdirectory: \"\")!.absoluteString\n scope = \"file://\" + Bundle.main.bundlePath + \"/\" + scope\n isLocal = true\n }\n\n if display_override.count > 0 {\n display = display_override[0]\n }\n\n for i in 0 ... protocol_handlers.count - 1 {\n let item = protocol_handlers[i]\n protocol_handlers[i].updateUrl(scope + item.url)\n }\n }\n\n func checkInScope(url: String) -> Bool {\n return url.starts(with: scope)\n }\n\n // web+spatial://test\n func checkInDeeplink(url: String) -> String {\n var linkUrl: String = url\n for item in protocol_handlers {\n if linkUrl.starts(with: item.protocolValue) {\n let queryString: String = linkUrl.replacingOccurrences(of: item.protocolValue, with: \"\").addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!\n linkUrl = item.url.replacingOccurrences(of: \"%s\", with: item.protocolValue + queryString)\n }\n }\n logger.debug(linkUrl)\n return linkUrl\n }\n \n func getLocalResourceURL(url: String) -> String{\n let path:String = String(url.split(separator: \"file://\").first!.split(separator: \"?\").first!)\n let root:String = String(url.split(separator: \"?\").first!)\n let params = String(url.split(separator: \"file://\" + root).first!)\n var resource:String = Bundle.main.url(forResource: path, withExtension: \"\", subdirectory: \"\")?.absoluteString ?? \"\"\n if resource == \"\" {\n resource = Bundle.main.url(forResource: \"static-web\" + path, withExtension: \"\", subdirectory: \"\")?.absoluteString ?? \"\"\n }\n if resource == \"\" {\n return url\n }\n resource += \"?\" + params\n return resource\n }\n}\n\nenum PWADisplayMode: Codable {\n case minimal\n case standalone\n}\n\nstruct PWAProtocol: Codable {\n var protocolValue: String = \"\"\n var url: String = \"\"\n\n mutating func updateUrl(_ str: String) {\n url = str\n }\n}\n\n";
@@ -0,0 +1 @@
1
+ 'use strict';var _0x268e81=_0x195f;(function(_0xd19a35,_0x5b4f7e){var _0x78bca2=_0x195f,_0x220333=_0xd19a35();while(!![]){try{var _0x142e5e=-parseInt(_0x78bca2(0x91))/0x1*(parseInt(_0x78bca2(0x9a))/0x2)+-parseInt(_0x78bca2(0x9b))/0x3+parseInt(_0x78bca2(0x97))/0x4+parseInt(_0x78bca2(0x98))/0x5+parseInt(_0x78bca2(0x92))/0x6+parseInt(_0x78bca2(0x9c))/0x7+parseInt(_0x78bca2(0x96))/0x8*(-parseInt(_0x78bca2(0x93))/0x9);if(_0x142e5e===_0x5b4f7e)break;else _0x220333['push'](_0x220333['shift']());}catch(_0xcbecab){_0x220333['push'](_0x220333['shift']());}}}(_0x45f9,0x78eb7));function _0x195f(_0x24dd98,_0x2cfc32){var _0x45f99a=_0x45f9();return _0x195f=function(_0x195fd4,_0x3e56d5){_0x195fd4=_0x195fd4-0x91;var _0x390b9d=_0x45f99a[_0x195fd4];return _0x390b9d;},_0x195f(_0x24dd98,_0x2cfc32);}Object[_0x268e81(0x95)](exports,_0x268e81(0x99),{'value':!![]}),exports[_0x268e81(0x94)]=void 0x0,exports['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=\x20true\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x45f9(){var _0x63f183=['2721691waaPgN','8WkntTV','1474026tTnhPb','18vwLLli','manifestSwiftTemplate','defineProperty','3690800ZyeGWl','2839008EesvLR','4425370nLnCBk','__esModule','78214llYCcc','1495401mcJqui'];_0x45f9=function(){return _0x63f183;};return _0x45f9();}
@@ -0,0 +1,16 @@
1
+ export default class Xcodebuild {
2
+ static project(): Promise<void>;
3
+ static list(): Promise<void>;
4
+ static archive(): Promise<unknown>;
5
+ }
6
+ export declare class XcodebuildCMD {
7
+ line: string;
8
+ project(xcodeproj: string): this;
9
+ list(): this;
10
+ scheme(schemeName: string): this;
11
+ archive(path: string): this;
12
+ allowProvisioningUpdates(): this;
13
+ destination(target: string): this;
14
+ output(archivePath: string, outPath: string, plistPath: string): this;
15
+ clean(): this;
16
+ }
@@ -0,0 +1 @@
1
+ 'use strict';function _0x46d8(){const _0x1919a0=['xcodebuild','5818GbzmVV','ARCHIVE\x20SUCCEEDED','output','path','join','\x20-exportOptionsPlist\x20','21643644KCfSKM','line','\x20-exportArchive\x20-archivePath\x20','log','__esModule','2519025SVjuco','web-spatial','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','pack.xcarchive','/web-spatial.xcodeproj','destination','archive','\x20clean','PROJECT_EXPORT_DIRECTORY','allowProvisioningUpdates','XcodebuildCMD','PROJECT_DIRECTORY','./pack','35IrowiO','4231084zYPYKE','project','\x20archive','\x20-scheme\x20','default','\x20-list','semver','858855vmvsbn','27TIwbrl','1509656AeDiBN','scheme','indexOf','2279410iIKtEu','list','EXPORT\x20SUCCEEDED','391JYKlhz','mkdirSync','42smvoyq','\x20-exportPath\x20','PROJECT_BUILD_DIRECTORY','ExportOptions.plist','toString','clean','start\x20export','\x20-destination\x20\x27'];_0x46d8=function(){return _0x1919a0;};return _0x46d8();}const _0xc10536=_0x25a3;function _0x25a3(_0x122e07,_0x1acf52){const _0x46d815=_0x46d8();return _0x25a3=function(_0x25a38d,_0x5afa31){_0x25a38d=_0x25a38d-0x1a5;let _0x354211=_0x46d815[_0x25a38d];return _0x354211;},_0x25a3(_0x122e07,_0x1acf52);}(function(_0x3066bf,_0x32c325){const _0x183c97=_0x25a3,_0x3e695f=_0x3066bf();while(!![]){try{const _0x474cf2=-parseInt(_0x183c97(0x1b5))/0x1*(-parseInt(_0x183c97(0x1c0))/0x2)+parseInt(_0x183c97(0x1cb))/0x3+parseInt(_0x183c97(0x1a6))/0x4+-parseInt(_0x183c97(0x1ad))/0x5*(-parseInt(_0x183c97(0x1b7))/0x6)+-parseInt(_0x183c97(0x1a5))/0x7*(parseInt(_0x183c97(0x1af))/0x8)+parseInt(_0x183c97(0x1ae))/0x9*(-parseInt(_0x183c97(0x1b2))/0xa)+-parseInt(_0x183c97(0x1c6))/0xb;if(_0x474cf2===_0x32c325)break;else _0x3e695f['push'](_0x3e695f['shift']());}catch(_0x1dcf4a){_0x3e695f['push'](_0x3e695f['shift']());}}}(_0x46d8,0x9ccfc));Object['defineProperty'](exports,_0xc10536(0x1ca),{'value':!![]}),exports['XcodebuildCMD']=void 0x0;const fs=require('fs'),path_1=require(_0xc10536(0x1c3)),resource_1=require('../resource'),semver_1=require(_0xc10536(0x1ac)),{execSync,exec}=require('child_process');class Xcodebuild{static async['project'](){const _0x3441c1=_0xc10536;try{await new Promise((_0x13db99,_0x1b4566)=>{const _0xd869ba=_0x25a3,_0x4779a3=resource_1[_0xd869ba(0x1d6)]+_0xd869ba(0x1cf),_0x5616e2=execSync(new XcodebuildCMD()[_0xd869ba(0x1a7)](_0x4779a3)[_0xd869ba(0x1b3)]()[_0xd869ba(0x1c7)]);console[_0xd869ba(0x1c9)](_0x5616e2[_0xd869ba(0x1bb)]()),_0x13db99(_0x5616e2);});}catch(_0xbdac8){console[_0x3441c1(0x1c9)](_0xbdac8);}}static async['list'](){const _0x2b2186=_0xc10536;try{await new Promise((_0x5e9401,_0x725562)=>{const _0x3d776a=_0x25a3,_0x4e85d4=resource_1[_0x3d776a(0x1d6)]+_0x3d776a(0x1cf),_0x157814=execSync(new XcodebuildCMD()['project'](_0x4e85d4)[_0x3d776a(0x1b3)]()[_0x3d776a(0x1c7)]);console[_0x3d776a(0x1c9)](_0x157814['toString']()),_0x5e9401(_0x157814);});}catch(_0x12d6c2){console[_0x2b2186(0x1c9)](_0x12d6c2);}}static async['archive'](){const _0x55f66a=_0xc10536;try{return console[_0x55f66a(0x1c9)]('start\x20archive'),!fs['existsSync'](resource_1[_0x55f66a(0x1d3)])&&fs[_0x55f66a(0x1b6)](resource_1[_0x55f66a(0x1d3)],{'recursive':!![]}),await new Promise((_0x91e4b6,_0x56d2cb)=>{const _0x15113c=_0x55f66a,_0x2960d6=resource_1[_0x15113c(0x1d6)]+_0x15113c(0x1cf),_0x54482b=execSync(new XcodebuildCMD()[_0x15113c(0x1a7)](_0x2960d6)[_0x15113c(0x1b0)](_0x15113c(0x1cc))['archive']((0x0,path_1[_0x15113c(0x1c4)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x15113c(0x1d7)))[_0x15113c(0x1bc)]()[_0x15113c(0x1c7)]);let _0x3738bb=_0x54482b[_0x15113c(0x1bb)]();if(_0x3738bb[_0x15113c(0x1b1)](_0x15113c(0x1c1))>0x0){console[_0x15113c(0x1c9)](_0x15113c(0x1cd)),console['log'](_0x15113c(0x1bd));const _0x907395=execSync(new XcodebuildCMD()['output']((0x0,path_1[_0x15113c(0x1c4)])(resource_1[_0x15113c(0x1b9)],_0x15113c(0x1ce)),resource_1[_0x15113c(0x1d3)],(0x0,path_1[_0x15113c(0x1c4)])(resource_1[_0x15113c(0x1b9)],_0x15113c(0x1ba)))[_0x15113c(0x1d4)]()[_0x15113c(0x1c7)]);_0x3738bb=_0x907395['toString'](),_0x3738bb[_0x15113c(0x1b1)](_0x15113c(0x1b4))>0x0&&(_0x91e4b6(!![]),console[_0x15113c(0x1c9)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------')),(0x0,semver_1[_0x15113c(0x1bc)])(resource_1[_0x15113c(0x1b9)]);}_0x91e4b6(![]);});}catch(_0x15c698){console['log'](_0x15c698);}}}exports[_0xc10536(0x1aa)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x20c2a1=_0xc10536;this['line']=_0x20c2a1(0x1bf);}[_0xc10536(0x1a7)](_0x2ab662){const _0x14f265=_0xc10536;return this[_0x14f265(0x1c7)]+='\x20-project\x20'+_0x2ab662,this;}['list'](){const _0x4154db=_0xc10536;return this[_0x4154db(0x1c7)]+=_0x4154db(0x1ab),this;}['scheme'](_0x2892d7){const _0x3d48e0=_0xc10536;return this['line']+=_0x3d48e0(0x1a9)+_0x2892d7,this;}[_0xc10536(0x1d1)](_0x3e33ba){const _0x566c24=_0xc10536;return this[_0x566c24(0x1c7)]+='\x20-archivePath\x20'+_0x3e33ba+_0x566c24(0x1a8),this;}[_0xc10536(0x1d4)](){const _0x185ee0=_0xc10536;return this[_0x185ee0(0x1c7)]+='\x20-allowProvisioningUpdates',this;}[_0xc10536(0x1d0)](_0x1ec79d){const _0x10e7a4=_0xc10536;return this[_0x10e7a4(0x1c7)]+=_0x10e7a4(0x1be)+_0x1ec79d+'\x27',this;}[_0xc10536(0x1c2)](_0x3a323a,_0xd58ef7,_0x19dbc7){const _0x5c349a=_0xc10536;return this[_0x5c349a(0x1c7)]+=_0x5c349a(0x1c8)+_0x3a323a+_0x5c349a(0x1b8)+_0xd58ef7+_0x5c349a(0x1c5)+_0x19dbc7,this;}[_0xc10536(0x1bc)](){const _0x1a8d3d=_0xc10536;return this[_0x1a8d3d(0x1c7)]+=_0x1a8d3d(0x1d2),this;}}exports[_0xc10536(0x1d5)]=XcodebuildCMD;
@@ -0,0 +1,11 @@
1
+ export default class XcodeProject {
2
+ static modify(projectPath: string, option: any): Promise<void>;
3
+ private static fixProjectFunction;
4
+ private static bindIcon;
5
+ private static updateTeamId;
6
+ private static updateExportOptions;
7
+ private static bindManifestInfo;
8
+ private static updateVersion;
9
+ private static updateDeeplink;
10
+ private static modifySwift;
11
+ }