@wix/cli-app 1.1.189 → 1.1.191

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 (60) hide show
  1. package/build/{AddPermissionCommand-CDTILYAN.js → AddPermissionCommand-YRHSTODZ.js} +2 -2
  2. package/build/{DevCommand-PGFSZZ6G.js → DevCommand-XIKZSJQD.js} +10 -10
  3. package/build/{GenerateCommand-POKGTJVX.js → GenerateCommand-T3TMSEDO.js} +7 -7
  4. package/build/{LogsCommand-WREHYOI4.js → LogsCommand-LWKWGOU3.js} +3 -3
  5. package/build/PreviewCommand-X4QPN2RZ.js +19 -0
  6. package/build/ReleaseCommand-JCVX76WO.js +23 -0
  7. package/build/{ServeCommand-NJARK5PE.js → ServeCommand-7YK5KO2S.js} +3 -3
  8. package/build/{build-OOPME4SP.js → build-463FP5NL.js} +6 -6
  9. package/build/{chunk-X7PIBZ7U.js → chunk-2HIDZKOV.js} +4 -4
  10. package/build/{chunk-TZW3Z37P.js → chunk-3OKRYDLI.js} +2 -2
  11. package/build/{chunk-FTNE4RCM.js → chunk-66RLQGWO.js} +6 -6
  12. package/build/{chunk-7BD3ITUC.js → chunk-72RDRHII.js} +2 -2
  13. package/build/{chunk-K5XHVCDK.js → chunk-DJELFDRU.js} +6 -6
  14. package/build/{chunk-RUT3RE75.js → chunk-E4HALACZ.js} +3 -3
  15. package/build/{chunk-UPJ56UVV.js → chunk-G7YBIDUV.js} +2 -2
  16. package/build/{chunk-NXT6KVMV.js → chunk-IBZK3VAF.js} +2 -2
  17. package/build/{chunk-NYITUGZK.js → chunk-IWBSPNMA.js} +2 -2
  18. package/build/{chunk-6UH4CYS3.js → chunk-JISET5NS.js} +1064 -557
  19. package/build/{chunk-6UH4CYS3.js.map → chunk-JISET5NS.js.map} +1 -1
  20. package/build/{chunk-6LNEX337.js → chunk-PGVWCPBR.js} +7 -7
  21. package/build/{chunk-7HWE4NCT.js → chunk-RNN3GNZJ.js} +2 -2
  22. package/build/{chunk-36UYB4I7.js → chunk-UPAA4IPC.js} +4 -4
  23. package/build/{chunk-TW4IJ4BY.js → chunk-VB3CIQ5P.js} +2 -2
  24. package/build/{chunk-XTKHTZCV.js → chunk-VHIDUSGT.js} +2 -2
  25. package/build/{chunk-36SLQQQQ.js → chunk-YSROWBRM.js} +2 -2
  26. package/build/{chunk-NWC7G3DZ.js → chunk-ZDJKUUHT.js} +3 -3
  27. package/build/index.js +23 -23
  28. package/build/{preview-BKINOO2R.js → preview-OBHSJFBR.js} +12 -12
  29. package/build/{release-U5BBIN7U.js → release-Q7AQEDQ4.js} +14 -14
  30. package/build/{render-command-23LAEF3H.js → render-command-ZWSSZR7B.js} +5 -5
  31. package/package.json +2 -2
  32. package/build/PreviewCommand-JNSZ73NT.js +0 -19
  33. package/build/ReleaseCommand-4J52FHJX.js +0 -23
  34. /package/build/{AddPermissionCommand-CDTILYAN.js.map → AddPermissionCommand-YRHSTODZ.js.map} +0 -0
  35. /package/build/{DevCommand-PGFSZZ6G.js.map → DevCommand-XIKZSJQD.js.map} +0 -0
  36. /package/build/{GenerateCommand-POKGTJVX.js.map → GenerateCommand-T3TMSEDO.js.map} +0 -0
  37. /package/build/{LogsCommand-WREHYOI4.js.map → LogsCommand-LWKWGOU3.js.map} +0 -0
  38. /package/build/{PreviewCommand-JNSZ73NT.js.map → PreviewCommand-X4QPN2RZ.js.map} +0 -0
  39. /package/build/{ReleaseCommand-4J52FHJX.js.map → ReleaseCommand-JCVX76WO.js.map} +0 -0
  40. /package/build/{ServeCommand-NJARK5PE.js.map → ServeCommand-7YK5KO2S.js.map} +0 -0
  41. /package/build/{build-OOPME4SP.js.map → build-463FP5NL.js.map} +0 -0
  42. /package/build/{chunk-X7PIBZ7U.js.map → chunk-2HIDZKOV.js.map} +0 -0
  43. /package/build/{chunk-TZW3Z37P.js.map → chunk-3OKRYDLI.js.map} +0 -0
  44. /package/build/{chunk-FTNE4RCM.js.map → chunk-66RLQGWO.js.map} +0 -0
  45. /package/build/{chunk-7BD3ITUC.js.map → chunk-72RDRHII.js.map} +0 -0
  46. /package/build/{chunk-K5XHVCDK.js.map → chunk-DJELFDRU.js.map} +0 -0
  47. /package/build/{chunk-RUT3RE75.js.map → chunk-E4HALACZ.js.map} +0 -0
  48. /package/build/{chunk-UPJ56UVV.js.map → chunk-G7YBIDUV.js.map} +0 -0
  49. /package/build/{chunk-NXT6KVMV.js.map → chunk-IBZK3VAF.js.map} +0 -0
  50. /package/build/{chunk-NYITUGZK.js.map → chunk-IWBSPNMA.js.map} +0 -0
  51. /package/build/{chunk-6LNEX337.js.map → chunk-PGVWCPBR.js.map} +0 -0
  52. /package/build/{chunk-7HWE4NCT.js.map → chunk-RNN3GNZJ.js.map} +0 -0
  53. /package/build/{chunk-36UYB4I7.js.map → chunk-UPAA4IPC.js.map} +0 -0
  54. /package/build/{chunk-TW4IJ4BY.js.map → chunk-VB3CIQ5P.js.map} +0 -0
  55. /package/build/{chunk-XTKHTZCV.js.map → chunk-VHIDUSGT.js.map} +0 -0
  56. /package/build/{chunk-36SLQQQQ.js.map → chunk-YSROWBRM.js.map} +0 -0
  57. /package/build/{chunk-NWC7G3DZ.js.map → chunk-ZDJKUUHT.js.map} +0 -0
  58. /package/build/{preview-BKINOO2R.js.map → preview-OBHSJFBR.js.map} +0 -0
  59. /package/build/{release-U5BBIN7U.js.map → release-Q7AQEDQ4.js.map} +0 -0
  60. /package/build/{render-command-23LAEF3H.js.map → render-command-ZWSSZR7B.js.map} +0 -0
@@ -1940,7 +1940,7 @@ var require_main = __commonJS({
1940
1940
  init_esm_shims();
1941
1941
  var fs11 = __require("fs");
1942
1942
  var path5 = __require("path");
1943
- var os3 = __require("os");
1943
+ var os4 = __require("os");
1944
1944
  var crypto = __require("crypto");
1945
1945
  var packageJson = require_package();
1946
1946
  var version = packageJson.version;
@@ -2058,7 +2058,7 @@ var require_main = __commonJS({
2058
2058
  return null;
2059
2059
  }
2060
2060
  function _resolveHome(envPath) {
2061
- return envPath[0] === "~" ? path5.join(os3.homedir(), envPath.slice(1)) : envPath;
2061
+ return envPath[0] === "~" ? path5.join(os4.homedir(), envPath.slice(1)) : envPath;
2062
2062
  }
2063
2063
  function _configVault(options) {
2064
2064
  const debug = Boolean(options && options.debug);
@@ -2875,7 +2875,7 @@ var require_ci_info = __commonJS({
2875
2875
  "use strict";
2876
2876
  init_esm_shims();
2877
2877
  var vendors = require_vendors();
2878
- var env2 = process.env;
2878
+ var env3 = process.env;
2879
2879
  Object.defineProperty(exports, "_vendors", {
2880
2880
  value: vendors.map(function(v) {
2881
2881
  return v.constant;
@@ -2895,14 +2895,14 @@ var require_ci_info = __commonJS({
2895
2895
  exports.name = vendor.name;
2896
2896
  switch (typeof vendor.pr) {
2897
2897
  case "string":
2898
- exports.isPR = !!env2[vendor.pr];
2898
+ exports.isPR = !!env3[vendor.pr];
2899
2899
  break;
2900
2900
  case "object":
2901
2901
  if ("env" in vendor.pr) {
2902
- exports.isPR = vendor.pr.env in env2 && env2[vendor.pr.env] !== vendor.pr.ne;
2902
+ exports.isPR = vendor.pr.env in env3 && env3[vendor.pr.env] !== vendor.pr.ne;
2903
2903
  } else if ("any" in vendor.pr) {
2904
2904
  exports.isPR = vendor.pr.any.some(function(key) {
2905
- return !!env2[key];
2905
+ return !!env3[key];
2906
2906
  });
2907
2907
  } else {
2908
2908
  exports.isPR = checkEnv(vendor.pr);
@@ -2912,29 +2912,29 @@ var require_ci_info = __commonJS({
2912
2912
  exports.isPR = null;
2913
2913
  }
2914
2914
  });
2915
- exports.isCI = !!(env2.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
2916
- (env2.BUILD_ID || // Jenkins, Cloudbees
2917
- env2.BUILD_NUMBER || // Jenkins, TeamCity
2918
- env2.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
2919
- env2.CI_APP_ID || // Appflow
2920
- env2.CI_BUILD_ID || // Appflow
2921
- env2.CI_BUILD_NUMBER || // Appflow
2922
- env2.CI_NAME || // Codeship and others
2923
- env2.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
2924
- env2.RUN_ID || // TaskCluster, dsari
2915
+ exports.isCI = !!(env3.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
2916
+ (env3.BUILD_ID || // Jenkins, Cloudbees
2917
+ env3.BUILD_NUMBER || // Jenkins, TeamCity
2918
+ env3.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
2919
+ env3.CI_APP_ID || // Appflow
2920
+ env3.CI_BUILD_ID || // Appflow
2921
+ env3.CI_BUILD_NUMBER || // Appflow
2922
+ env3.CI_NAME || // Codeship and others
2923
+ env3.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
2924
+ env3.RUN_ID || // TaskCluster, dsari
2925
2925
  exports.name || false));
2926
2926
  function checkEnv(obj) {
2927
- if (typeof obj === "string") return !!env2[obj];
2927
+ if (typeof obj === "string") return !!env3[obj];
2928
2928
  if ("env" in obj) {
2929
- return env2[obj.env] && env2[obj.env].includes(obj.includes);
2929
+ return env3[obj.env] && env3[obj.env].includes(obj.includes);
2930
2930
  }
2931
2931
  if ("any" in obj) {
2932
2932
  return obj.any.some(function(k) {
2933
- return !!env2[k];
2933
+ return !!env3[k];
2934
2934
  });
2935
2935
  }
2936
2936
  return Object.keys(obj).every(function(k) {
2937
- return env2[k] === obj[k];
2937
+ return env3[k] === obj[k];
2938
2938
  });
2939
2939
  }
2940
2940
  }
@@ -2993,11 +2993,11 @@ var require_signal_exit = __commonJS({
2993
2993
  "../../node_modules/ink/node_modules/signal-exit/index.js"(exports, module2) {
2994
2994
  "use strict";
2995
2995
  init_esm_shims();
2996
- var process25 = global.process;
2997
- var processOk = function(process26) {
2998
- return process26 && typeof process26 === "object" && typeof process26.removeListener === "function" && typeof process26.emit === "function" && typeof process26.reallyExit === "function" && typeof process26.listeners === "function" && typeof process26.kill === "function" && typeof process26.pid === "number" && typeof process26.on === "function";
2996
+ var process29 = global.process;
2997
+ var processOk = function(process30) {
2998
+ return process30 && typeof process30 === "object" && typeof process30.removeListener === "function" && typeof process30.emit === "function" && typeof process30.reallyExit === "function" && typeof process30.listeners === "function" && typeof process30.kill === "function" && typeof process30.pid === "number" && typeof process30.on === "function";
2999
2999
  };
3000
- if (!processOk(process25)) {
3000
+ if (!processOk(process29)) {
3001
3001
  module2.exports = function() {
3002
3002
  return function() {
3003
3003
  };
@@ -3005,15 +3005,15 @@ var require_signal_exit = __commonJS({
3005
3005
  } else {
3006
3006
  assert = __require("assert");
3007
3007
  signals = require_signals();
3008
- isWin = /^win/i.test(process25.platform);
3008
+ isWin = /^win/i.test(process29.platform);
3009
3009
  EE = __require("events");
3010
3010
  if (typeof EE !== "function") {
3011
3011
  EE = EE.EventEmitter;
3012
3012
  }
3013
- if (process25.__signal_exit_emitter__) {
3014
- emitter = process25.__signal_exit_emitter__;
3013
+ if (process29.__signal_exit_emitter__) {
3014
+ emitter = process29.__signal_exit_emitter__;
3015
3015
  } else {
3016
- emitter = process25.__signal_exit_emitter__ = new EE();
3016
+ emitter = process29.__signal_exit_emitter__ = new EE();
3017
3017
  emitter.count = 0;
3018
3018
  emitter.emitted = {};
3019
3019
  }
@@ -3050,12 +3050,12 @@ var require_signal_exit = __commonJS({
3050
3050
  loaded = false;
3051
3051
  signals.forEach(function(sig) {
3052
3052
  try {
3053
- process25.removeListener(sig, sigListeners[sig]);
3053
+ process29.removeListener(sig, sigListeners[sig]);
3054
3054
  } catch (er) {
3055
3055
  }
3056
3056
  });
3057
- process25.emit = originalProcessEmit;
3058
- process25.reallyExit = originalProcessReallyExit;
3057
+ process29.emit = originalProcessEmit;
3058
+ process29.reallyExit = originalProcessReallyExit;
3059
3059
  emitter.count -= 1;
3060
3060
  };
3061
3061
  module2.exports.unload = unload;
@@ -3072,7 +3072,7 @@ var require_signal_exit = __commonJS({
3072
3072
  if (!processOk(global.process)) {
3073
3073
  return;
3074
3074
  }
3075
- var listeners = process25.listeners(sig);
3075
+ var listeners = process29.listeners(sig);
3076
3076
  if (listeners.length === emitter.count) {
3077
3077
  unload();
3078
3078
  emit("exit", null, sig);
@@ -3080,7 +3080,7 @@ var require_signal_exit = __commonJS({
3080
3080
  if (isWin && sig === "SIGHUP") {
3081
3081
  sig = "SIGINT";
3082
3082
  }
3083
- process25.kill(process25.pid, sig);
3083
+ process29.kill(process29.pid, sig);
3084
3084
  }
3085
3085
  };
3086
3086
  });
@@ -3096,36 +3096,36 @@ var require_signal_exit = __commonJS({
3096
3096
  emitter.count += 1;
3097
3097
  signals = signals.filter(function(sig) {
3098
3098
  try {
3099
- process25.on(sig, sigListeners[sig]);
3099
+ process29.on(sig, sigListeners[sig]);
3100
3100
  return true;
3101
3101
  } catch (er) {
3102
3102
  return false;
3103
3103
  }
3104
3104
  });
3105
- process25.emit = processEmit;
3106
- process25.reallyExit = processReallyExit;
3105
+ process29.emit = processEmit;
3106
+ process29.reallyExit = processReallyExit;
3107
3107
  };
3108
3108
  module2.exports.load = load;
3109
- originalProcessReallyExit = process25.reallyExit;
3109
+ originalProcessReallyExit = process29.reallyExit;
3110
3110
  processReallyExit = function processReallyExit2(code) {
3111
3111
  if (!processOk(global.process)) {
3112
3112
  return;
3113
3113
  }
3114
- process25.exitCode = code || /* istanbul ignore next */
3114
+ process29.exitCode = code || /* istanbul ignore next */
3115
3115
  0;
3116
- emit("exit", process25.exitCode, null);
3117
- emit("afterexit", process25.exitCode, null);
3118
- originalProcessReallyExit.call(process25, process25.exitCode);
3116
+ emit("exit", process29.exitCode, null);
3117
+ emit("afterexit", process29.exitCode, null);
3118
+ originalProcessReallyExit.call(process29, process29.exitCode);
3119
3119
  };
3120
- originalProcessEmit = process25.emit;
3120
+ originalProcessEmit = process29.emit;
3121
3121
  processEmit = function processEmit2(ev, arg) {
3122
3122
  if (ev === "exit" && processOk(global.process)) {
3123
3123
  if (arg !== void 0) {
3124
- process25.exitCode = arg;
3124
+ process29.exitCode = arg;
3125
3125
  }
3126
3126
  var ret = originalProcessEmit.apply(this, arguments);
3127
- emit("exit", process25.exitCode, null);
3128
- emit("afterexit", process25.exitCode, null);
3127
+ emit("exit", process29.exitCode, null);
3128
+ emit("afterexit", process29.exitCode, null);
3129
3129
  return ret;
3130
3130
  } else {
3131
3131
  return originalProcessEmit.apply(this, arguments);
@@ -11106,206 +11106,6 @@ var require_cli_spinners = __commonJS({
11106
11106
  }
11107
11107
  });
11108
11108
 
11109
- // ../../node_modules/has-flag/index.js
11110
- var require_has_flag = __commonJS({
11111
- "../../node_modules/has-flag/index.js"(exports, module2) {
11112
- "use strict";
11113
- init_esm_shims();
11114
- module2.exports = (flag, argv = process.argv) => {
11115
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
11116
- const position = argv.indexOf(prefix + flag);
11117
- const terminatorPosition = argv.indexOf("--");
11118
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
11119
- };
11120
- }
11121
- });
11122
-
11123
- // ../../node_modules/supports-color/index.js
11124
- var require_supports_color = __commonJS({
11125
- "../../node_modules/supports-color/index.js"(exports, module2) {
11126
- "use strict";
11127
- init_esm_shims();
11128
- var os3 = __require("os");
11129
- var tty2 = __require("tty");
11130
- var hasFlag2 = require_has_flag();
11131
- var { env: env2 } = process;
11132
- var forceColor;
11133
- if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
11134
- forceColor = 0;
11135
- } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
11136
- forceColor = 1;
11137
- }
11138
- if ("FORCE_COLOR" in env2) {
11139
- if (env2.FORCE_COLOR === "true") {
11140
- forceColor = 1;
11141
- } else if (env2.FORCE_COLOR === "false") {
11142
- forceColor = 0;
11143
- } else {
11144
- forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
11145
- }
11146
- }
11147
- function translateLevel2(level) {
11148
- if (level === 0) {
11149
- return false;
11150
- }
11151
- return {
11152
- level,
11153
- hasBasic: true,
11154
- has256: level >= 2,
11155
- has16m: level >= 3
11156
- };
11157
- }
11158
- function supportsColor2(haveStream, streamIsTTY) {
11159
- if (forceColor === 0) {
11160
- return 0;
11161
- }
11162
- if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
11163
- return 3;
11164
- }
11165
- if (hasFlag2("color=256")) {
11166
- return 2;
11167
- }
11168
- if (haveStream && !streamIsTTY && forceColor === void 0) {
11169
- return 0;
11170
- }
11171
- const min = forceColor || 0;
11172
- if (env2.TERM === "dumb") {
11173
- return min;
11174
- }
11175
- if (process.platform === "win32") {
11176
- const osRelease = os3.release().split(".");
11177
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
11178
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
11179
- }
11180
- return 1;
11181
- }
11182
- if ("CI" in env2) {
11183
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
11184
- return 1;
11185
- }
11186
- return min;
11187
- }
11188
- if ("TEAMCITY_VERSION" in env2) {
11189
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
11190
- }
11191
- if (env2.COLORTERM === "truecolor") {
11192
- return 3;
11193
- }
11194
- if ("TERM_PROGRAM" in env2) {
11195
- const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
11196
- switch (env2.TERM_PROGRAM) {
11197
- case "iTerm.app":
11198
- return version >= 3 ? 3 : 2;
11199
- case "Apple_Terminal":
11200
- return 2;
11201
- }
11202
- }
11203
- if (/-256(color)?$/i.test(env2.TERM)) {
11204
- return 2;
11205
- }
11206
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
11207
- return 1;
11208
- }
11209
- if ("COLORTERM" in env2) {
11210
- return 1;
11211
- }
11212
- return min;
11213
- }
11214
- function getSupportLevel(stream) {
11215
- const level = supportsColor2(stream, stream && stream.isTTY);
11216
- return translateLevel2(level);
11217
- }
11218
- module2.exports = {
11219
- supportsColor: getSupportLevel,
11220
- stdout: translateLevel2(supportsColor2(true, tty2.isatty(1))),
11221
- stderr: translateLevel2(supportsColor2(true, tty2.isatty(2)))
11222
- };
11223
- }
11224
- });
11225
-
11226
- // ../../node_modules/supports-hyperlinks/index.js
11227
- var require_supports_hyperlinks = __commonJS({
11228
- "../../node_modules/supports-hyperlinks/index.js"(exports, module2) {
11229
- "use strict";
11230
- init_esm_shims();
11231
- var supportsColor2 = require_supports_color();
11232
- var hasFlag2 = require_has_flag();
11233
- function parseVersion(versionString) {
11234
- if (/^\d{3,4}$/.test(versionString)) {
11235
- const m = /(\d{1,2})(\d{2})/.exec(versionString);
11236
- return {
11237
- major: 0,
11238
- minor: parseInt(m[1], 10),
11239
- patch: parseInt(m[2], 10)
11240
- };
11241
- }
11242
- const versions = (versionString || "").split(".").map((n2) => parseInt(n2, 10));
11243
- return {
11244
- major: versions[0],
11245
- minor: versions[1],
11246
- patch: versions[2]
11247
- };
11248
- }
11249
- function supportsHyperlink(stream) {
11250
- const { env: env2 } = process;
11251
- if ("FORCE_HYPERLINK" in env2) {
11252
- return !(env2.FORCE_HYPERLINK.length > 0 && parseInt(env2.FORCE_HYPERLINK, 10) === 0);
11253
- }
11254
- if (hasFlag2("no-hyperlink") || hasFlag2("no-hyperlinks") || hasFlag2("hyperlink=false") || hasFlag2("hyperlink=never")) {
11255
- return false;
11256
- }
11257
- if (hasFlag2("hyperlink=true") || hasFlag2("hyperlink=always")) {
11258
- return true;
11259
- }
11260
- if ("NETLIFY" in env2) {
11261
- return true;
11262
- }
11263
- if (!supportsColor2.supportsColor(stream)) {
11264
- return false;
11265
- }
11266
- if (stream && !stream.isTTY) {
11267
- return false;
11268
- }
11269
- if (process.platform === "win32") {
11270
- return false;
11271
- }
11272
- if ("CI" in env2) {
11273
- return false;
11274
- }
11275
- if ("TEAMCITY_VERSION" in env2) {
11276
- return false;
11277
- }
11278
- if ("TERM_PROGRAM" in env2) {
11279
- const version = parseVersion(env2.TERM_PROGRAM_VERSION);
11280
- switch (env2.TERM_PROGRAM) {
11281
- case "iTerm.app":
11282
- if (version.major === 3) {
11283
- return version.minor >= 1;
11284
- }
11285
- return version.major > 3;
11286
- case "WezTerm":
11287
- return version.major >= 20200620;
11288
- case "vscode":
11289
- return version.major > 1 || version.major === 1 && version.minor >= 72;
11290
- }
11291
- }
11292
- if ("VTE_VERSION" in env2) {
11293
- if (env2.VTE_VERSION === "0.50.0") {
11294
- return false;
11295
- }
11296
- const version = parseVersion(env2.VTE_VERSION);
11297
- return version.major > 0 || version.minor >= 50;
11298
- }
11299
- return false;
11300
- }
11301
- module2.exports = {
11302
- supportsHyperlink,
11303
- stdout: supportsHyperlink(process.stdout),
11304
- stderr: supportsHyperlink(process.stderr)
11305
- };
11306
- }
11307
- });
11308
-
11309
11109
  // ../../node_modules/void-elements/index.js
11310
11110
  var require_void_elements = __commonJS({
11311
11111
  "../../node_modules/void-elements/index.js"(exports, module2) {
@@ -11706,7 +11506,7 @@ function __classPrivateFieldIn(state, receiver) {
11706
11506
  if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
11707
11507
  return typeof state === "function" ? receiver === state : state.has(receiver);
11708
11508
  }
11709
- function __addDisposableResource(env2, value2, async) {
11509
+ function __addDisposableResource(env3, value2, async) {
11710
11510
  if (value2 !== null && value2 !== void 0) {
11711
11511
  if (typeof value2 !== "object" && typeof value2 !== "function") throw new TypeError("Object expected.");
11712
11512
  var dispose, inner;
@@ -11727,22 +11527,22 @@ function __addDisposableResource(env2, value2, async) {
11727
11527
  return Promise.reject(e2);
11728
11528
  }
11729
11529
  };
11730
- env2.stack.push({ value: value2, dispose, async });
11530
+ env3.stack.push({ value: value2, dispose, async });
11731
11531
  } else if (async) {
11732
- env2.stack.push({ async: true });
11532
+ env3.stack.push({ async: true });
11733
11533
  }
11734
11534
  return value2;
11735
11535
  }
11736
- function __disposeResources(env2) {
11536
+ function __disposeResources(env3) {
11737
11537
  function fail(e2) {
11738
- env2.error = env2.hasError ? new _SuppressedError(e2, env2.error, "An error was suppressed during disposal.") : e2;
11739
- env2.hasError = true;
11538
+ env3.error = env3.hasError ? new _SuppressedError(e2, env3.error, "An error was suppressed during disposal.") : e2;
11539
+ env3.hasError = true;
11740
11540
  }
11741
11541
  var r2, s2 = 0;
11742
11542
  function next() {
11743
- while (r2 = env2.stack.pop()) {
11543
+ while (r2 = env3.stack.pop()) {
11744
11544
  try {
11745
- if (!r2.async && s2 === 1) return s2 = 0, env2.stack.push(r2), Promise.resolve().then(next);
11545
+ if (!r2.async && s2 === 1) return s2 = 0, env3.stack.push(r2), Promise.resolve().then(next);
11746
11546
  if (r2.dispose) {
11747
11547
  var result = r2.dispose.call(r2.value);
11748
11548
  if (r2.async) return s2 |= 2, Promise.resolve(result).then(next, function(e2) {
@@ -11754,8 +11554,8 @@ function __disposeResources(env2) {
11754
11554
  fail(e2);
11755
11555
  }
11756
11556
  }
11757
- if (s2 === 1) return env2.hasError ? Promise.reject(env2.error) : Promise.resolve();
11758
- if (env2.hasError) throw env2.error;
11557
+ if (s2 === 1) return env3.hasError ? Promise.reject(env3.error) : Promise.resolve();
11558
+ if (env3.hasError) throw env3.error;
11759
11559
  }
11760
11560
  return next();
11761
11561
  }
@@ -12000,12 +11800,12 @@ var init_authorization = __esm({
12000
11800
 
12001
11801
  // ../../node_modules/@wix/http-client/node_modules/@wix/headers/dist/esm/utils.js
12002
11802
  function isCI() {
12003
- if (isNode()) {
11803
+ if (isNode2()) {
12004
11804
  return !!process.env.TEAMCITY_VERSION || !!process.env.BUILDKITE;
12005
11805
  }
12006
11806
  return false;
12007
11807
  }
12008
- function isNode() {
11808
+ function isNode2() {
12009
11809
  return typeof process !== "undefined" && process.versions?.node != null;
12010
11810
  }
12011
11811
  var init_utils = __esm({
@@ -12303,20 +12103,20 @@ var require_env_util = __commonJS({
12303
12103
  init_esm_shims();
12304
12104
  Object.defineProperty(exports, "__esModule", { value: true });
12305
12105
  exports.isNode = exports.isWebWorker = exports.isBrowser = void 0;
12306
- function isBrowser2() {
12106
+ function isBrowser3() {
12307
12107
  return typeof window !== "undefined";
12308
12108
  }
12309
- exports.isBrowser = isBrowser2;
12310
- function isWebWorker() {
12109
+ exports.isBrowser = isBrowser3;
12110
+ function isWebWorker2() {
12311
12111
  var _a2;
12312
12112
  return typeof self === "object" && ((_a2 = self === null || self === void 0 ? void 0 : self.constructor) === null || _a2 === void 0 ? void 0 : _a2.name) === "DedicatedWorkerGlobalScope";
12313
12113
  }
12314
- exports.isWebWorker = isWebWorker;
12315
- function isNode2() {
12114
+ exports.isWebWorker = isWebWorker2;
12115
+ function isNode3() {
12316
12116
  var _a2;
12317
12117
  return typeof process !== "undefined" && ((_a2 = process === null || process === void 0 ? void 0 : process.versions) === null || _a2 === void 0 ? void 0 : _a2.node) != null;
12318
12118
  }
12319
- exports.isNode = isNode2;
12119
+ exports.isNode = isNode3;
12320
12120
  }
12321
12121
  });
12322
12122
 
@@ -12993,7 +12793,7 @@ var require_common = __commonJS({
12993
12793
  "../../node_modules/debug/src/common.js"(exports, module2) {
12994
12794
  "use strict";
12995
12795
  init_esm_shims();
12996
- function setup(env2) {
12796
+ function setup(env3) {
12997
12797
  createDebug.debug = createDebug;
12998
12798
  createDebug.default = createDebug;
12999
12799
  createDebug.coerce = coerce2;
@@ -13002,8 +12802,8 @@ var require_common = __commonJS({
13002
12802
  createDebug.enabled = enabled;
13003
12803
  createDebug.humanize = require_ms();
13004
12804
  createDebug.destroy = destroy;
13005
- Object.keys(env2).forEach((key) => {
13006
- createDebug[key] = env2[key];
12805
+ Object.keys(env3).forEach((key) => {
12806
+ createDebug[key] = env3[key];
13007
12807
  });
13008
12808
  createDebug.names = [];
13009
12809
  createDebug.skips = [];
@@ -13339,12 +13139,129 @@ var require_browser = __commonJS({
13339
13139
  }
13340
13140
  });
13341
13141
 
13142
+ // ../../node_modules/has-flag/index.js
13143
+ var require_has_flag = __commonJS({
13144
+ "../../node_modules/has-flag/index.js"(exports, module2) {
13145
+ "use strict";
13146
+ init_esm_shims();
13147
+ module2.exports = (flag, argv = process.argv) => {
13148
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
13149
+ const position = argv.indexOf(prefix + flag);
13150
+ const terminatorPosition = argv.indexOf("--");
13151
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
13152
+ };
13153
+ }
13154
+ });
13155
+
13156
+ // ../../node_modules/supports-color/index.js
13157
+ var require_supports_color = __commonJS({
13158
+ "../../node_modules/supports-color/index.js"(exports, module2) {
13159
+ "use strict";
13160
+ init_esm_shims();
13161
+ var os4 = __require("os");
13162
+ var tty3 = __require("tty");
13163
+ var hasFlag4 = require_has_flag();
13164
+ var { env: env3 } = process;
13165
+ var forceColor;
13166
+ if (hasFlag4("no-color") || hasFlag4("no-colors") || hasFlag4("color=false") || hasFlag4("color=never")) {
13167
+ forceColor = 0;
13168
+ } else if (hasFlag4("color") || hasFlag4("colors") || hasFlag4("color=true") || hasFlag4("color=always")) {
13169
+ forceColor = 1;
13170
+ }
13171
+ if ("FORCE_COLOR" in env3) {
13172
+ if (env3.FORCE_COLOR === "true") {
13173
+ forceColor = 1;
13174
+ } else if (env3.FORCE_COLOR === "false") {
13175
+ forceColor = 0;
13176
+ } else {
13177
+ forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3);
13178
+ }
13179
+ }
13180
+ function translateLevel3(level) {
13181
+ if (level === 0) {
13182
+ return false;
13183
+ }
13184
+ return {
13185
+ level,
13186
+ hasBasic: true,
13187
+ has256: level >= 2,
13188
+ has16m: level >= 3
13189
+ };
13190
+ }
13191
+ function supportsColor3(haveStream, streamIsTTY) {
13192
+ if (forceColor === 0) {
13193
+ return 0;
13194
+ }
13195
+ if (hasFlag4("color=16m") || hasFlag4("color=full") || hasFlag4("color=truecolor")) {
13196
+ return 3;
13197
+ }
13198
+ if (hasFlag4("color=256")) {
13199
+ return 2;
13200
+ }
13201
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
13202
+ return 0;
13203
+ }
13204
+ const min = forceColor || 0;
13205
+ if (env3.TERM === "dumb") {
13206
+ return min;
13207
+ }
13208
+ if (process.platform === "win32") {
13209
+ const osRelease = os4.release().split(".");
13210
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
13211
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
13212
+ }
13213
+ return 1;
13214
+ }
13215
+ if ("CI" in env3) {
13216
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env3) || env3.CI_NAME === "codeship") {
13217
+ return 1;
13218
+ }
13219
+ return min;
13220
+ }
13221
+ if ("TEAMCITY_VERSION" in env3) {
13222
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
13223
+ }
13224
+ if (env3.COLORTERM === "truecolor") {
13225
+ return 3;
13226
+ }
13227
+ if ("TERM_PROGRAM" in env3) {
13228
+ const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
13229
+ switch (env3.TERM_PROGRAM) {
13230
+ case "iTerm.app":
13231
+ return version >= 3 ? 3 : 2;
13232
+ case "Apple_Terminal":
13233
+ return 2;
13234
+ }
13235
+ }
13236
+ if (/-256(color)?$/i.test(env3.TERM)) {
13237
+ return 2;
13238
+ }
13239
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
13240
+ return 1;
13241
+ }
13242
+ if ("COLORTERM" in env3) {
13243
+ return 1;
13244
+ }
13245
+ return min;
13246
+ }
13247
+ function getSupportLevel(stream) {
13248
+ const level = supportsColor3(stream, stream && stream.isTTY);
13249
+ return translateLevel3(level);
13250
+ }
13251
+ module2.exports = {
13252
+ supportsColor: getSupportLevel,
13253
+ stdout: translateLevel3(supportsColor3(true, tty3.isatty(1))),
13254
+ stderr: translateLevel3(supportsColor3(true, tty3.isatty(2)))
13255
+ };
13256
+ }
13257
+ });
13258
+
13342
13259
  // ../../node_modules/debug/src/node.js
13343
13260
  var require_node = __commonJS({
13344
13261
  "../../node_modules/debug/src/node.js"(exports, module2) {
13345
13262
  "use strict";
13346
13263
  init_esm_shims();
13347
- var tty2 = __require("tty");
13264
+ var tty3 = __require("tty");
13348
13265
  var util2 = __require("util");
13349
13266
  exports.init = init2;
13350
13267
  exports.log = log;
@@ -13359,8 +13276,8 @@ var require_node = __commonJS({
13359
13276
  );
13360
13277
  exports.colors = [6, 2, 3, 4, 5, 1];
13361
13278
  try {
13362
- const supportsColor2 = require_supports_color();
13363
- if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
13279
+ const supportsColor3 = require_supports_color();
13280
+ if (supportsColor3 && (supportsColor3.stderr || supportsColor3).level >= 2) {
13364
13281
  exports.colors = [
13365
13282
  20,
13366
13283
  21,
@@ -13462,7 +13379,7 @@ var require_node = __commonJS({
13462
13379
  return obj;
13463
13380
  }, {});
13464
13381
  function useColors() {
13465
- return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
13382
+ return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty3.isatty(process.stderr.fd);
13466
13383
  }
13467
13384
  function formatArgs(args) {
13468
13385
  const { namespace: name, useColors: useColors2 } = this;
@@ -28764,9 +28681,9 @@ Expected ${val.length + 1} quasis but got ${node.quasis.length}`);
28764
28681
  Object.defineProperty(exports2, "__esModule", {
28765
28682
  value: true
28766
28683
  });
28767
- exports2.default = isNode2;
28684
+ exports2.default = isNode3;
28768
28685
  var _index = require_definitions();
28769
- function isNode2(node) {
28686
+ function isNode3(node) {
28770
28687
  return !!(node && _index.VISITOR_KEYS[node.type]);
28771
28688
  }
28772
28689
  }
@@ -47096,8 +47013,8 @@ ${str}
47096
47013
  "use strict";
47097
47014
  var p = process || {};
47098
47015
  var argv = p.argv || [];
47099
- var env2 = p.env || {};
47100
- var isColorSupported = !(!!env2.NO_COLOR || argv.includes("--no-color")) && (!!env2.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env2.TERM !== "dumb" || !!env2.CI);
47016
+ var env3 = p.env || {};
47017
+ var isColorSupported = !(!!env3.NO_COLOR || argv.includes("--no-color")) && (!!env3.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env3.TERM !== "dumb" || !!env3.CI);
47101
47018
  var formatter = (open3, close, replace = open3) => (input) => {
47102
47019
  let string = "" + input, index = string.indexOf(close, open3.length);
47103
47020
  return ~index ? open3 + replaceClose(string, close, replace, index) + close : open3 + string + close;
@@ -49603,7 +49520,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
49603
49520
  var require_common4 = __commonJS2({
49604
49521
  "../../node_modules/debug/src/common.js"(exports2, module22) {
49605
49522
  "use strict";
49606
- function setup(env2) {
49523
+ function setup(env3) {
49607
49524
  createDebug.debug = createDebug;
49608
49525
  createDebug.default = createDebug;
49609
49526
  createDebug.coerce = coerce2;
@@ -49612,8 +49529,8 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
49612
49529
  createDebug.enabled = enabled;
49613
49530
  createDebug.humanize = require_ms2();
49614
49531
  createDebug.destroy = destroy;
49615
- Object.keys(env2).forEach((key2) => {
49616
- createDebug[key2] = env2[key2];
49532
+ Object.keys(env3).forEach((key2) => {
49533
+ createDebug[key2] = env3[key2];
49617
49534
  });
49618
49535
  createDebug.names = [];
49619
49536
  createDebug.skips = [];
@@ -49959,26 +49876,26 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
49959
49876
  var require_supports_color2 = __commonJS2({
49960
49877
  "../../node_modules/supports-color/index.js"(exports2, module22) {
49961
49878
  "use strict";
49962
- var os3 = __require("os");
49963
- var tty2 = __require("tty");
49964
- var hasFlag2 = require_has_flag2();
49965
- var { env: env2 } = process;
49879
+ var os4 = __require("os");
49880
+ var tty3 = __require("tty");
49881
+ var hasFlag4 = require_has_flag2();
49882
+ var { env: env3 } = process;
49966
49883
  var forceColor;
49967
- if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
49884
+ if (hasFlag4("no-color") || hasFlag4("no-colors") || hasFlag4("color=false") || hasFlag4("color=never")) {
49968
49885
  forceColor = 0;
49969
- } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
49886
+ } else if (hasFlag4("color") || hasFlag4("colors") || hasFlag4("color=true") || hasFlag4("color=always")) {
49970
49887
  forceColor = 1;
49971
49888
  }
49972
- if ("FORCE_COLOR" in env2) {
49973
- if (env2.FORCE_COLOR === "true") {
49889
+ if ("FORCE_COLOR" in env3) {
49890
+ if (env3.FORCE_COLOR === "true") {
49974
49891
  forceColor = 1;
49975
- } else if (env2.FORCE_COLOR === "false") {
49892
+ } else if (env3.FORCE_COLOR === "false") {
49976
49893
  forceColor = 0;
49977
49894
  } else {
49978
- forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
49895
+ forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3);
49979
49896
  }
49980
49897
  }
49981
- function translateLevel2(level) {
49898
+ function translateLevel3(level) {
49982
49899
  if (level === 0) {
49983
49900
  return false;
49984
49901
  }
@@ -49989,77 +49906,77 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
49989
49906
  has16m: level >= 3
49990
49907
  };
49991
49908
  }
49992
- function supportsColor2(haveStream, streamIsTTY) {
49909
+ function supportsColor3(haveStream, streamIsTTY) {
49993
49910
  if (forceColor === 0) {
49994
49911
  return 0;
49995
49912
  }
49996
- if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
49913
+ if (hasFlag4("color=16m") || hasFlag4("color=full") || hasFlag4("color=truecolor")) {
49997
49914
  return 3;
49998
49915
  }
49999
- if (hasFlag2("color=256")) {
49916
+ if (hasFlag4("color=256")) {
50000
49917
  return 2;
50001
49918
  }
50002
49919
  if (haveStream && !streamIsTTY && forceColor === void 0) {
50003
49920
  return 0;
50004
49921
  }
50005
49922
  const min = forceColor || 0;
50006
- if (env2.TERM === "dumb") {
49923
+ if (env3.TERM === "dumb") {
50007
49924
  return min;
50008
49925
  }
50009
49926
  if (process.platform === "win32") {
50010
- const osRelease = os3.release().split(".");
49927
+ const osRelease = os4.release().split(".");
50011
49928
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
50012
49929
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
50013
49930
  }
50014
49931
  return 1;
50015
49932
  }
50016
- if ("CI" in env2) {
50017
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign2) => sign2 in env2) || env2.CI_NAME === "codeship") {
49933
+ if ("CI" in env3) {
49934
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign2) => sign2 in env3) || env3.CI_NAME === "codeship") {
50018
49935
  return 1;
50019
49936
  }
50020
49937
  return min;
50021
49938
  }
50022
- if ("TEAMCITY_VERSION" in env2) {
50023
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
49939
+ if ("TEAMCITY_VERSION" in env3) {
49940
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
50024
49941
  }
50025
- if (env2.COLORTERM === "truecolor") {
49942
+ if (env3.COLORTERM === "truecolor") {
50026
49943
  return 3;
50027
49944
  }
50028
- if ("TERM_PROGRAM" in env2) {
50029
- const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
50030
- switch (env2.TERM_PROGRAM) {
49945
+ if ("TERM_PROGRAM" in env3) {
49946
+ const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
49947
+ switch (env3.TERM_PROGRAM) {
50031
49948
  case "iTerm.app":
50032
49949
  return version >= 3 ? 3 : 2;
50033
49950
  case "Apple_Terminal":
50034
49951
  return 2;
50035
49952
  }
50036
49953
  }
50037
- if (/-256(color)?$/i.test(env2.TERM)) {
49954
+ if (/-256(color)?$/i.test(env3.TERM)) {
50038
49955
  return 2;
50039
49956
  }
50040
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
49957
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
50041
49958
  return 1;
50042
49959
  }
50043
- if ("COLORTERM" in env2) {
49960
+ if ("COLORTERM" in env3) {
50044
49961
  return 1;
50045
49962
  }
50046
49963
  return min;
50047
49964
  }
50048
49965
  function getSupportLevel(stream) {
50049
- const level = supportsColor2(stream, stream && stream.isTTY);
50050
- return translateLevel2(level);
49966
+ const level = supportsColor3(stream, stream && stream.isTTY);
49967
+ return translateLevel3(level);
50051
49968
  }
50052
49969
  module22.exports = {
50053
49970
  supportsColor: getSupportLevel,
50054
- stdout: translateLevel2(supportsColor2(true, tty2.isatty(1))),
50055
- stderr: translateLevel2(supportsColor2(true, tty2.isatty(2)))
49971
+ stdout: translateLevel3(supportsColor3(true, tty3.isatty(1))),
49972
+ stderr: translateLevel3(supportsColor3(true, tty3.isatty(2)))
50056
49973
  };
50057
49974
  }
50058
49975
  });
50059
49976
  var require_node2 = __commonJS2({
50060
49977
  "../../node_modules/debug/src/node.js"(exports2, module22) {
50061
49978
  "use strict";
50062
- var tty2 = __require("tty");
49979
+ var tty3 = __require("tty");
50063
49980
  var util22 = __require("util");
50064
49981
  exports2.init = init2;
50065
49982
  exports2.log = log;
@@ -50074,8 +49991,8 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
50074
49991
  );
50075
49992
  exports2.colors = [6, 2, 3, 4, 5, 1];
50076
49993
  try {
50077
- const supportsColor2 = require_supports_color2();
50078
- if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
49994
+ const supportsColor3 = require_supports_color2();
49995
+ if (supportsColor3 && (supportsColor3.stderr || supportsColor3).level >= 2) {
50079
49996
  exports2.colors = [
50080
49997
  20,
50081
49998
  21,
@@ -50177,7 +50094,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
50177
50094
  return obj;
50178
50095
  }, {});
50179
50096
  function useColors() {
50180
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
50097
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty3.isatty(process.stderr.fd);
50181
50098
  }
50182
50099
  function formatArgs(args) {
50183
50100
  const { namespace: name, useColors: useColors2 } = this;
@@ -68610,7 +68527,7 @@ ${" ".repeat(indentSize)}`);
68610
68527
  var _index = require_lib24();
68611
68528
  var _caching = require_caching();
68612
68529
  function makeConfigAPI(cache3) {
68613
- const env2 = (value2) => cache3.using((data) => {
68530
+ const env3 = (value2) => cache3.using((data) => {
68614
68531
  if (value2 === void 0) return data.envName;
68615
68532
  if (typeof value2 === "function") {
68616
68533
  return (0, _caching.assertSimpleType)(value2(data.envName));
@@ -68626,7 +68543,7 @@ ${" ".repeat(indentSize)}`);
68626
68543
  return {
68627
68544
  version: _index.version,
68628
68545
  cache: cache3.simple(),
68629
- env: env2,
68546
+ env: env3,
68630
68547
  async: () => false,
68631
68548
  caller,
68632
68549
  assertVersion
@@ -69647,7 +69564,7 @@ ${" ".repeat(indentSize)}`);
69647
69564
  var jsEOL = require_release_schedule();
69648
69565
  var path5 = __require("path");
69649
69566
  var BrowserslistError = require_error3();
69650
- var env2 = require_node3();
69567
+ var env3 = require_node3();
69651
69568
  var parse32 = require_parse22();
69652
69569
  var YEAR = 365.259641 * 24 * 60 * 60 * 1e3;
69653
69570
  var ANDROID_EVERGREEN_FIRST = "37";
@@ -69986,8 +69903,8 @@ ${" ".repeat(indentSize)}`);
69986
69903
  path: opts.path,
69987
69904
  env: opts.env
69988
69905
  };
69989
- env2.oldDataWarning(browserslist.data);
69990
- var stats = env2.getStat(opts, browserslist.data);
69906
+ env3.oldDataWarning(browserslist.data);
69907
+ var stats = env3.getStat(opts, browserslist.data);
69991
69908
  if (stats) {
69992
69909
  context.customUsage = {};
69993
69910
  for (var browser in stats) {
@@ -70007,7 +69924,7 @@ ${" ".repeat(indentSize)}`);
70007
69924
  return compare(name1[0], name2[0]);
70008
69925
  }
70009
69926
  });
70010
- if (!env2.env.BROWSERSLIST_DISABLE_CACHE) {
69927
+ if (!env3.env.BROWSERSLIST_DISABLE_CACHE) {
70011
69928
  cache3[cacheKey] = result;
70012
69929
  }
70013
69930
  return result;
@@ -70047,12 +69964,12 @@ ${" ".repeat(indentSize)}`);
70047
69964
  // has extra processing logic
70048
69965
  };
70049
69966
  browserslist.versionAliases = {};
70050
- browserslist.clearCaches = env2.clearCaches;
70051
- browserslist.parseConfig = env2.parseConfig;
70052
- browserslist.readConfig = env2.readConfig;
70053
- browserslist.findConfigFile = env2.findConfigFile;
70054
- browserslist.findConfig = env2.findConfig;
70055
- browserslist.loadConfig = env2.loadConfig;
69967
+ browserslist.clearCaches = env3.clearCaches;
69968
+ browserslist.parseConfig = env3.parseConfig;
69969
+ browserslist.readConfig = env3.readConfig;
69970
+ browserslist.findConfigFile = env3.findConfigFile;
69971
+ browserslist.findConfig = env3.findConfig;
69972
+ browserslist.loadConfig = env3.loadConfig;
70056
69973
  browserslist.coverage = function(browsers, stats) {
70057
69974
  var data;
70058
69975
  if (typeof stats === "undefined") {
@@ -70060,7 +69977,7 @@ ${" ".repeat(indentSize)}`);
70060
69977
  } else if (stats === "my stats") {
70061
69978
  var opts = {};
70062
69979
  opts.path = path5.resolve ? path5.resolve(".") : ".";
70063
- var customStats = env2.getStat(opts);
69980
+ var customStats = env3.getStat(opts);
70064
69981
  if (!customStats) {
70065
69982
  throw new BrowserslistError("Custom usage statistics was not provided");
70066
69983
  }
@@ -70074,7 +69991,7 @@ ${" ".repeat(indentSize)}`);
70074
69991
  } else {
70075
69992
  stats = stats.toUpperCase();
70076
69993
  }
70077
- env2.loadCountry(browserslist.usage, stats, browserslist.data);
69994
+ env3.loadCountry(browserslist.usage, stats, browserslist.data);
70078
69995
  data = browserslist.usage[stats];
70079
69996
  } else {
70080
69997
  if ("dataByBrowser" in stats) {
@@ -70132,7 +70049,7 @@ ${" ".repeat(indentSize)}`);
70132
70049
  } else {
70133
70050
  place = node.place.toLowerCase();
70134
70051
  }
70135
- env2.loadCountry(browserslist.usage, place, browserslist.data);
70052
+ env3.loadCountry(browserslist.usage, place, browserslist.data);
70136
70053
  usage = browserslist.usage[place];
70137
70054
  }
70138
70055
  }
@@ -70358,7 +70275,7 @@ ${" ".repeat(indentSize)}`);
70358
70275
  regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,
70359
70276
  select: function(context, node) {
70360
70277
  var popularity = parseFloat(node.popularity);
70361
- var stats = env2.loadStat(context, node.config, browserslist.data);
70278
+ var stats = env3.loadStat(context, node.config, browserslist.data);
70362
70279
  if (stats) {
70363
70280
  context.customUsage = {};
70364
70281
  for (var browser in stats) {
@@ -70404,7 +70321,7 @@ ${" ".repeat(indentSize)}`);
70404
70321
  } else {
70405
70322
  place = place.toLowerCase();
70406
70323
  }
70407
- env2.loadCountry(browserslist.usage, place, browserslist.data);
70324
+ env3.loadCountry(browserslist.usage, place, browserslist.data);
70408
70325
  var usage = browserslist.usage[place];
70409
70326
  return Object.keys(usage).reduce(function(result, version) {
70410
70327
  var percentage = usage[version];
@@ -70444,7 +70361,7 @@ ${" ".repeat(indentSize)}`);
70444
70361
  matches: ["supportType", "feature"],
70445
70362
  regexp: /^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,
70446
70363
  select: function(context, node) {
70447
- env2.loadFeature(browserslist.cache, node.feature);
70364
+ env3.loadFeature(browserslist.cache, node.feature);
70448
70365
  var withPartial = node.supportType !== "fully";
70449
70366
  var features = browserslist.cache[node.feature];
70450
70367
  var result = [];
@@ -70593,7 +70510,7 @@ ${" ".repeat(indentSize)}`);
70593
70510
  matches: [],
70594
70511
  regexp: /^current\s+node$/i,
70595
70512
  select: function(context) {
70596
- return [env2.currentNode(resolve4, context)];
70513
+ return [env3.currentNode(resolve4, context)];
70597
70514
  }
70598
70515
  },
70599
70516
  maintained_node: {
@@ -70664,7 +70581,7 @@ ${" ".repeat(indentSize)}`);
70664
70581
  matches: ["config"],
70665
70582
  regexp: /^extends (.+)$/i,
70666
70583
  select: function(context, node) {
70667
- return resolve4(env2.loadQueries(context, node.config), context);
70584
+ return resolve4(env3.loadQueries(context, node.config), context);
70668
70585
  }
70669
70586
  },
70670
70587
  defaults: {
@@ -72702,12 +72619,12 @@ ${" ".repeat(indentSize)}`);
72702
72619
  }
72703
72620
  return version + ".0".repeat(2 - num);
72704
72621
  }
72705
- function isUnreleasedVersion(version, env2) {
72706
- const unreleasedLabel = _targets.unreleasedLabels[env2];
72622
+ function isUnreleasedVersion(version, env3) {
72623
+ const unreleasedLabel = _targets.unreleasedLabels[env3];
72707
72624
  return !!unreleasedLabel && unreleasedLabel === version.toString().toLowerCase();
72708
72625
  }
72709
- function getLowestUnreleased(a2, b, env2) {
72710
- const unreleasedLabel = _targets.unreleasedLabels[env2];
72626
+ function getLowestUnreleased(a2, b, env3) {
72627
+ const unreleasedLabel = _targets.unreleasedLabels[env3];
72711
72628
  if (a2 === unreleasedLabel) {
72712
72629
  return b;
72713
72630
  }
@@ -72716,8 +72633,8 @@ ${" ".repeat(indentSize)}`);
72716
72633
  }
72717
72634
  return semverMin(a2, b);
72718
72635
  }
72719
- function getHighestUnreleased(a2, b, env2) {
72720
- return getLowestUnreleased(a2, b, env2) === a2 ? b : a2;
72636
+ function getHighestUnreleased(a2, b, env3) {
72637
+ return getLowestUnreleased(a2, b, env3) === a2 ? b : a2;
72721
72638
  }
72722
72639
  function getLowestImplementedVersion(plugin, environment) {
72723
72640
  const result = plugin[environment];
@@ -72806,16 +72723,16 @@ ${" ".repeat(indentSize)}`);
72806
72723
  var _utils = require_utils32();
72807
72724
  function getInclusionReasons(item, targetVersions, list) {
72808
72725
  const minVersions = list[item] || {};
72809
- return Object.keys(targetVersions).reduce((result, env2) => {
72810
- const minVersion = (0, _utils.getLowestImplementedVersion)(minVersions, env2);
72811
- const targetVersion = targetVersions[env2];
72726
+ return Object.keys(targetVersions).reduce((result, env3) => {
72727
+ const minVersion = (0, _utils.getLowestImplementedVersion)(minVersions, env3);
72728
+ const targetVersion = targetVersions[env3];
72812
72729
  if (!minVersion) {
72813
- result[env2] = (0, _pretty.prettifyVersion)(targetVersion);
72730
+ result[env3] = (0, _pretty.prettifyVersion)(targetVersion);
72814
72731
  } else {
72815
- const minIsUnreleased = (0, _utils.isUnreleasedVersion)(minVersion, env2);
72816
- const targetIsUnreleased = (0, _utils.isUnreleasedVersion)(targetVersion, env2);
72732
+ const minIsUnreleased = (0, _utils.isUnreleasedVersion)(minVersion, env3);
72733
+ const targetIsUnreleased = (0, _utils.isUnreleasedVersion)(targetVersion, env3);
72817
72734
  if (!targetIsUnreleased && (minIsUnreleased || _semver.lt(targetVersion.toString(), (0, _utils.semverify)(minVersion)))) {
72818
- result[env2] = (0, _pretty.prettifyVersion)(targetVersion);
72735
+ result[env3] = (0, _pretty.prettifyVersion)(targetVersion);
72819
72736
  }
72820
72737
  }
72821
72738
  return result;
@@ -73903,21 +73820,21 @@ getting parsed as 6.1, which can lead to unexpected behavior.
73903
73820
  delete input.browsers;
73904
73821
  return input;
73905
73822
  }
73906
- function resolveTargets(queries, env2) {
73823
+ function resolveTargets(queries, env3) {
73907
73824
  const resolved = _browserslist(queries, {
73908
73825
  mobileToDesktop: true,
73909
- env: env2
73826
+ env: env3
73910
73827
  });
73911
73828
  return getLowestVersions(resolved);
73912
73829
  }
73913
73830
  var targetsCache = new _lruCache({
73914
73831
  max: 64
73915
73832
  });
73916
- function resolveTargetsCached(queries, env2) {
73917
- const cacheKey = typeof queries === "string" ? queries : queries.join() + env2;
73833
+ function resolveTargetsCached(queries, env3) {
73834
+ const cacheKey = typeof queries === "string" ? queries : queries.join() + env3;
73918
73835
  let cached = targetsCache.get(cacheKey);
73919
73836
  if (!cached) {
73920
- cached = resolveTargets(queries, env2);
73837
+ cached = resolveTargets(queries, env3);
73921
73838
  targetsCache.set(cacheKey, cached);
73922
73839
  }
73923
73840
  return Object.assign({}, cached);
@@ -74807,14 +74724,14 @@ getting parsed as 6.1, which can lead to unexpected behavior.
74807
74724
  const obj = (0, _optionAssertions.assertObject)(loc, value2);
74808
74725
  if (obj) {
74809
74726
  for (const envName of Object.keys(obj)) {
74810
- const env2 = (0, _optionAssertions.assertObject)((0, _optionAssertions.access)(loc, envName), obj[envName]);
74811
- if (!env2) continue;
74727
+ const env3 = (0, _optionAssertions.assertObject)((0, _optionAssertions.access)(loc, envName), obj[envName]);
74728
+ if (!env3) continue;
74812
74729
  const envLoc = {
74813
74730
  type: "env",
74814
74731
  name: envName,
74815
74732
  parent
74816
74733
  };
74817
- validateNested(envLoc, env2);
74734
+ validateNested(envLoc, env3);
74818
74735
  }
74819
74736
  }
74820
74737
  return obj;
@@ -74831,14 +74748,14 @@ getting parsed as 6.1, which can lead to unexpected behavior.
74831
74748
  if (arr2) {
74832
74749
  for (const [index, item] of arr2.entries()) {
74833
74750
  const objLoc = (0, _optionAssertions.access)(loc, index);
74834
- const env2 = (0, _optionAssertions.assertObject)(objLoc, item);
74835
- if (!env2) throw new Error(`${(0, _optionAssertions.msg)(objLoc)} must be an object`);
74751
+ const env3 = (0, _optionAssertions.assertObject)(objLoc, item);
74752
+ if (!env3) throw new Error(`${(0, _optionAssertions.msg)(objLoc)} must be an object`);
74836
74753
  const overridesLoc = {
74837
74754
  type: "overrides",
74838
74755
  index,
74839
74756
  parent
74840
74757
  };
74841
- validateNested(overridesLoc, env2);
74758
+ validateNested(overridesLoc, env3);
74842
74759
  }
74843
74760
  }
74844
74761
  return arr2;
@@ -75266,7 +75183,7 @@ ${content}`;
75266
75183
  }
75267
75184
  function makeChainWalker({
75268
75185
  root: root2,
75269
- env: env2,
75186
+ env: env3,
75270
75187
  overrides,
75271
75188
  overridesEnv,
75272
75189
  createLogger
@@ -75283,7 +75200,7 @@ ${content}`;
75283
75200
  envName: void 0,
75284
75201
  index: void 0
75285
75202
  });
75286
- const envOpts = env2(input, context.envName);
75203
+ const envOpts = env3(input, context.envName);
75287
75204
  if (envOpts && configIsApplicable(envOpts, dirname5, context, input.filepath)) {
75288
75205
  flattenedConfigs.push({
75289
75206
  config: envOpts,
@@ -86691,7 +86608,7 @@ to your top-level package.json.
86691
86608
  var require_helper = __commonJS2({
86692
86609
  "../../node_modules/@sentry/cli/js/helper.js"(exports2, module22) {
86693
86610
  "use strict";
86694
- var os3 = __require("os");
86611
+ var os4 = __require("os");
86695
86612
  var path5 = __require("path");
86696
86613
  var fs11 = __require("fs");
86697
86614
  var childProcess2 = __require("child_process");
@@ -86713,12 +86630,12 @@ to your top-level package.json.
86713
86630
  return path5.resolve(...parts);
86714
86631
  }
86715
86632
  function getDistributionForThisPlatform() {
86716
- const arch2 = os3.arch();
86717
- const platform4 = os3.platform();
86633
+ const arch2 = os4.arch();
86634
+ const platform5 = os4.platform();
86718
86635
  let packageName = void 0;
86719
- if (platform4 === "darwin") {
86636
+ if (platform5 === "darwin") {
86720
86637
  packageName = "@sentry/cli-darwin";
86721
- } else if (platform4 === "linux" || platform4 === "freebsd" || platform4 === "android") {
86638
+ } else if (platform5 === "linux" || platform5 === "freebsd" || platform5 === "android") {
86722
86639
  switch (arch2) {
86723
86640
  case "x64":
86724
86641
  packageName = "@sentry/cli-linux-x64";
@@ -86734,7 +86651,7 @@ to your top-level package.json.
86734
86651
  packageName = "@sentry/cli-linux-arm";
86735
86652
  break;
86736
86653
  }
86737
- } else if (platform4 === "win32") {
86654
+ } else if (platform5 === "win32") {
86738
86655
  switch (arch2) {
86739
86656
  case "x64":
86740
86657
  packageName = "@sentry/cli-win32-x64";
@@ -86749,7 +86666,7 @@ to your top-level package.json.
86749
86666
  }
86750
86667
  }
86751
86668
  let subpath = void 0;
86752
- switch (platform4) {
86669
+ switch (platform5) {
86753
86670
  case "win32":
86754
86671
  subpath = "bin/sentry-cli.exe";
86755
86672
  break;
@@ -86856,33 +86773,33 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
86856
86773
  return mockedBinaryPath !== void 0 ? mockedBinaryPath : getBinaryPath();
86857
86774
  }
86858
86775
  async function execute(args, live, silent, configFile, config = {}) {
86859
- const env2 = { ...process.env };
86776
+ const env3 = { ...process.env };
86860
86777
  if (configFile) {
86861
- env2.SENTRY_PROPERTIES = configFile;
86778
+ env3.SENTRY_PROPERTIES = configFile;
86862
86779
  }
86863
86780
  if (config.url) {
86864
- env2.SENTRY_URL = config.url;
86781
+ env3.SENTRY_URL = config.url;
86865
86782
  }
86866
86783
  if (config.authToken) {
86867
- env2.SENTRY_AUTH_TOKEN = config.authToken;
86784
+ env3.SENTRY_AUTH_TOKEN = config.authToken;
86868
86785
  }
86869
86786
  if (config.apiKey) {
86870
- env2.SENTRY_API_KEY = config.apiKey;
86787
+ env3.SENTRY_API_KEY = config.apiKey;
86871
86788
  }
86872
86789
  if (config.dsn) {
86873
- env2.SENTRY_DSN = config.dsn;
86790
+ env3.SENTRY_DSN = config.dsn;
86874
86791
  }
86875
86792
  if (config.org) {
86876
- env2.SENTRY_ORG = config.org;
86793
+ env3.SENTRY_ORG = config.org;
86877
86794
  }
86878
86795
  if (config.project) {
86879
- env2.SENTRY_PROJECT = config.project;
86796
+ env3.SENTRY_PROJECT = config.project;
86880
86797
  }
86881
86798
  if (config.vcsRemote) {
86882
- env2.SENTRY_VCS_REMOTE = config.vcsRemote;
86799
+ env3.SENTRY_VCS_REMOTE = config.vcsRemote;
86883
86800
  }
86884
86801
  if (config.customHeader) {
86885
- env2.CUSTOM_HEADER = config.customHeader;
86802
+ env3.CUSTOM_HEADER = config.customHeader;
86886
86803
  } else if (config.headers) {
86887
86804
  const headers = Object.entries(config.headers).flatMap(([key2, value2]) => [
86888
86805
  "--header",
@@ -86894,7 +86811,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
86894
86811
  if (live === true || live === "rejectOnError") {
86895
86812
  const output = silent ? "ignore" : "inherit";
86896
86813
  const pid = childProcess2.spawn(getPath3(), args, {
86897
- env: env2,
86814
+ env: env3,
86898
86815
  // stdin, stdout, stderr
86899
86816
  stdio: ["ignore", output, output]
86900
86817
  });
@@ -86908,7 +86825,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
86908
86825
  resolve4();
86909
86826
  });
86910
86827
  } else {
86911
- childProcess2.execFile(getPath3(), args, { env: env2 }, (err, stdout) => {
86828
+ childProcess2.execFile(getPath3(), args, { env: env3 }, (err, stdout) => {
86912
86829
  if (err) {
86913
86830
  reject(err);
86914
86831
  } else {
@@ -92750,7 +92667,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92750
92667
  const dirs = /* @__PURE__ */ new Set();
92751
92668
  const queue = [entry];
92752
92669
  let processing = 0;
92753
- const process25 = () => {
92670
+ const process29 = () => {
92754
92671
  let paused = false;
92755
92672
  while (!paused) {
92756
92673
  const dir2 = queue.shift();
@@ -92791,9 +92708,9 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92791
92708
  }
92792
92709
  }
92793
92710
  if (paused && !results.flowing) {
92794
- results.once("drain", process25);
92711
+ results.once("drain", process29);
92795
92712
  } else if (!sync) {
92796
- process25();
92713
+ process29();
92797
92714
  }
92798
92715
  };
92799
92716
  let sync = true;
@@ -92801,7 +92718,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92801
92718
  sync = false;
92802
92719
  }
92803
92720
  };
92804
- process25();
92721
+ process29();
92805
92722
  return results;
92806
92723
  }
92807
92724
  streamSync(entry = this.cwd, opts = {}) {
@@ -92819,7 +92736,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92819
92736
  }
92820
92737
  const queue = [entry];
92821
92738
  let processing = 0;
92822
- const process25 = () => {
92739
+ const process29 = () => {
92823
92740
  let paused = false;
92824
92741
  while (!paused) {
92825
92742
  const dir2 = queue.shift();
@@ -92853,9 +92770,9 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92853
92770
  }
92854
92771
  }
92855
92772
  if (paused && !results.flowing)
92856
- results.once("drain", process25);
92773
+ results.once("drain", process29);
92857
92774
  };
92858
- process25();
92775
+ process29();
92859
92776
  return results;
92860
92777
  }
92861
92778
  chdir(path5 = this.cwd) {
@@ -92959,7 +92876,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92959
92876
  #isUNC;
92960
92877
  #isAbsolute;
92961
92878
  #followGlobstar = true;
92962
- constructor(patternList, globList, index, platform4) {
92879
+ constructor(patternList, globList, index, platform5) {
92963
92880
  if (!isPatternList(patternList)) {
92964
92881
  throw new TypeError("empty pattern list");
92965
92882
  }
@@ -92976,7 +92893,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92976
92893
  this.#patternList = patternList;
92977
92894
  this.#globList = globList;
92978
92895
  this.#index = index;
92979
- this.#platform = platform4;
92896
+ this.#platform = platform5;
92980
92897
  if (this.#index === 0) {
92981
92898
  if (this.isUNC()) {
92982
92899
  const [p0, p1, p2, p3, ...prest] = this.#patternList;
@@ -93661,7 +93578,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
93661
93578
  relativeChildren;
93662
93579
  absolute;
93663
93580
  absoluteChildren;
93664
- constructor(ignored, { nobrace, nocase, noext, noglobstar, platform: platform4 = defaultPlatform }) {
93581
+ constructor(ignored, { nobrace, nocase, noext, noglobstar, platform: platform5 = defaultPlatform }) {
93665
93582
  this.relative = [];
93666
93583
  this.absolute = [];
93667
93584
  this.relativeChildren = [];
@@ -93673,7 +93590,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
93673
93590
  noext,
93674
93591
  noglobstar,
93675
93592
  optimizationLevel: 2,
93676
- platform: platform4,
93593
+ platform: platform5,
93677
93594
  nocomment: true,
93678
93595
  nonegate: true
93679
93596
  };
@@ -93682,7 +93599,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
93682
93599
  for (let i2 = 0; i2 < mm.set.length; i2++) {
93683
93600
  const parsed = mm.set[i2];
93684
93601
  const globParts = mm.globParts[i2];
93685
- const p = new pattern_js_1.Pattern(parsed, globParts, 0, platform4);
93602
+ const p = new pattern_js_1.Pattern(parsed, globParts, 0, platform5);
93686
93603
  const m = new minimatch_1.Minimatch(p.globString(), mmopts);
93687
93604
  const children = globParts[globParts.length - 1] === "**";
93688
93605
  const absolute = p.isAbsolute();
@@ -100609,8 +100526,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
100609
100526
  "../../node_modules/unplugin/node_modules/chokidar/lib/constants.js"(exports2) {
100610
100527
  "use strict";
100611
100528
  var { sep: sep2 } = __require("path");
100612
- var { platform: platform4 } = process;
100613
- var os3 = __require("os");
100529
+ var { platform: platform5 } = process;
100530
+ var os4 = __require("os");
100614
100531
  exports2.EV_ALL = "all";
100615
100532
  exports2.EV_READY = "ready";
100616
100533
  exports2.EV_ADD = "add";
@@ -100661,10 +100578,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
100661
100578
  exports2.EMPTY_FN = () => {
100662
100579
  };
100663
100580
  exports2.IDENTITY_FN = (val) => val;
100664
- exports2.isWindows = platform4 === "win32";
100665
- exports2.isMacos = platform4 === "darwin";
100666
- exports2.isLinux = platform4 === "linux";
100667
- exports2.isIBMi = os3.type() === "OS400";
100581
+ exports2.isWindows = platform5 === "win32";
100582
+ exports2.isMacos = platform5 === "darwin";
100583
+ exports2.isLinux = platform5 === "linux";
100584
+ exports2.isIBMi = os4.type() === "OS400";
100668
100585
  }
100669
100586
  });
100670
100587
  var require_nodefs_handler2 = __commonJS2({
@@ -100675,8 +100592,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
100675
100592
  var { promisify: promisify6 } = __require("util");
100676
100593
  var isBinaryPath = require_is_binary_path2();
100677
100594
  var {
100678
- isWindows: isWindows2,
100679
- isLinux,
100595
+ isWindows: isWindows4,
100596
+ isLinux: isLinux2,
100680
100597
  EMPTY_FN,
100681
100598
  EMPTY_STR,
100682
100599
  KEY_LISTENERS,
@@ -100787,7 +100704,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
100787
100704
  watcher.on(EV_ERROR, async (error) => {
100788
100705
  const broadcastErr = fsWatchBroadcast.bind(null, fullPath, KEY_ERR);
100789
100706
  cont.watcherUnusable = true;
100790
- if (isWindows2 && error.code === "EPERM") {
100707
+ if (isWindows4 && error.code === "EPERM") {
100791
100708
  try {
100792
100709
  const fd = await open3(path5, "r");
100793
100710
  await close(fd);
@@ -100929,7 +100846,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
100929
100846
  if (!at || at <= mt || mt !== prevStats.mtimeMs) {
100930
100847
  this.fsw._emit(EV_CHANGE, file, newStats2);
100931
100848
  }
100932
- if (isLinux && prevStats.ino !== newStats2.ino) {
100849
+ if (isLinux2 && prevStats.ino !== newStats2.ino) {
100933
100850
  this.fsw._closeFile(path5);
100934
100851
  prevStats = newStats2;
100935
100852
  this.fsw._addPathCloser(path5, this._watchWithNodeFs(file, listener));
@@ -101595,7 +101512,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
101595
101512
  FUNCTION_TYPE,
101596
101513
  EMPTY_STR,
101597
101514
  EMPTY_FN,
101598
- isWindows: isWindows2,
101515
+ isWindows: isWindows4,
101599
101516
  isMacos,
101600
101517
  isIBMi
101601
101518
  } = require_constants52();
@@ -101968,7 +101885,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
101968
101885
  async _emit(event, path5, val1, val2, val3) {
101969
101886
  if (this.closed) return;
101970
101887
  const opts = this.options;
101971
- if (isWindows2) path5 = sysPath.normalize(path5);
101888
+ if (isWindows4) path5 = sysPath.normalize(path5);
101972
101889
  if (opts.cwd) path5 = sysPath.relative(opts.cwd, path5);
101973
101890
  const args = [event, path5];
101974
101891
  if (val3 !== void 0) args.push(val1, val2, val3);
@@ -112376,7 +112293,7 @@ Did you specify these with the most recent transformation maps first?`);
112376
112293
  "use strict";
112377
112294
  var fs11 = __require("fs");
112378
112295
  var path5 = __require("path");
112379
- var os3 = __require("os");
112296
+ var os4 = __require("os");
112380
112297
  var crypto = __require("crypto");
112381
112298
  var packageJson = require_package4();
112382
112299
  var version = packageJson.version;
@@ -112497,7 +112414,7 @@ Did you specify these with the most recent transformation maps first?`);
112497
112414
  return null;
112498
112415
  }
112499
112416
  function _resolveHome(envPath) {
112500
- return envPath[0] === "~" ? path5.join(os3.homedir(), envPath.slice(1)) : envPath;
112417
+ return envPath[0] === "~" ? path5.join(os4.homedir(), envPath.slice(1)) : envPath;
112501
112418
  }
112502
112419
  function _configVault(options) {
112503
112420
  _log("Loading env from encrypted .env.vault");
@@ -112954,7 +112871,7 @@ Did you specify these with the most recent transformation maps first?`);
112954
112871
  var path5 = __require("path");
112955
112872
  var unplugin = require_dist();
112956
112873
  var dotenv2 = require_main2();
112957
- var os3 = __require("os");
112874
+ var os4 = __require("os");
112958
112875
  var findUp = require_find_up();
112959
112876
  var crypto = __require("crypto");
112960
112877
  var childProcess2 = __require("child_process");
@@ -112993,8 +112910,8 @@ Did you specify these with the most recent transformation maps first?`);
112993
112910
  var path__default = /* @__PURE__ */ _interopDefaultLegacy(path5);
112994
112911
  var path__namespace = /* @__PURE__ */ _interopNamespace(path5);
112995
112912
  var dotenv__namespace = /* @__PURE__ */ _interopNamespace(dotenv2);
112996
- var os__default = /* @__PURE__ */ _interopDefaultLegacy(os3);
112997
- var os__namespace = /* @__PURE__ */ _interopNamespace(os3);
112913
+ var os__default = /* @__PURE__ */ _interopDefaultLegacy(os4);
112914
+ var os__namespace = /* @__PURE__ */ _interopNamespace(os4);
112998
112915
  var findUp__default = /* @__PURE__ */ _interopDefaultLegacy(findUp);
112999
112916
  var crypto__default = /* @__PURE__ */ _interopDefaultLegacy(crypto);
113000
112917
  var childProcess__default = /* @__PURE__ */ _interopDefaultLegacy(childProcess2);
@@ -117245,11 +117162,11 @@ ${JSON.stringify(itemHeaders)}
117245
117162
  */
117246
117163
  sendEvent(event, hint = {}) {
117247
117164
  this.emit("beforeSendEvent", event, hint);
117248
- let env2 = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);
117165
+ let env3 = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);
117249
117166
  for (const attachment of hint.attachments || []) {
117250
- env2 = addItemToEnvelope(env2, createAttachmentEnvelopeItem(attachment));
117167
+ env3 = addItemToEnvelope(env3, createAttachmentEnvelopeItem(attachment));
117251
117168
  }
117252
- const promise = this.sendEnvelope(env2);
117169
+ const promise = this.sendEnvelope(env3);
117253
117170
  if (promise) {
117254
117171
  promise.then((sendResponse) => this.emit("afterSendEvent", event, sendResponse), null);
117255
117172
  }
@@ -117258,8 +117175,8 @@ ${JSON.stringify(itemHeaders)}
117258
117175
  * @inheritDoc
117259
117176
  */
117260
117177
  sendSession(session) {
117261
- const env2 = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);
117262
- this.sendEnvelope(env2);
117178
+ const env3 = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);
117179
+ this.sendEnvelope(env3);
117263
117180
  }
117264
117181
  /**
117265
117182
  * @inheritDoc
@@ -124608,9 +124525,9 @@ var require_path = __commonJS({
124608
124525
  init_esm_shims();
124609
124526
  Object.defineProperty(exports, "__esModule", { value: true });
124610
124527
  exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
124611
- var os3 = __require("os");
124528
+ var os4 = __require("os");
124612
124529
  var path5 = __require("path");
124613
- var IS_WINDOWS_PLATFORM = os3.platform() === "win32";
124530
+ var IS_WINDOWS_PLATFORM = os4.platform() === "win32";
124614
124531
  var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
124615
124532
  var POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
124616
124533
  var WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g;
@@ -129944,8 +129861,8 @@ var require_settings4 = __commonJS({
129944
129861
  Object.defineProperty(exports, "__esModule", { value: true });
129945
129862
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
129946
129863
  var fs11 = __require("fs");
129947
- var os3 = __require("os");
129948
- var CPU_COUNT = Math.max(os3.cpus().length, 1);
129864
+ var os4 = __require("os");
129865
+ var CPU_COUNT = Math.max(os4.cpus().length, 1);
129949
129866
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
129950
129867
  lstat: fs11.lstat,
129951
129868
  lstatSync: fs11.lstatSync,
@@ -141353,8 +141270,8 @@ var require_constants7 = __commonJS({
141353
141270
  "use strict";
141354
141271
  init_esm_shims();
141355
141272
  var { sep: sep2 } = __require("path");
141356
- var { platform: platform4 } = process;
141357
- var os3 = __require("os");
141273
+ var { platform: platform5 } = process;
141274
+ var os4 = __require("os");
141358
141275
  exports.EV_ALL = "all";
141359
141276
  exports.EV_READY = "ready";
141360
141277
  exports.EV_ADD = "add";
@@ -141405,10 +141322,10 @@ var require_constants7 = __commonJS({
141405
141322
  exports.EMPTY_FN = () => {
141406
141323
  };
141407
141324
  exports.IDENTITY_FN = (val) => val;
141408
- exports.isWindows = platform4 === "win32";
141409
- exports.isMacos = platform4 === "darwin";
141410
- exports.isLinux = platform4 === "linux";
141411
- exports.isIBMi = os3.type() === "OS400";
141325
+ exports.isWindows = platform5 === "win32";
141326
+ exports.isMacos = platform5 === "darwin";
141327
+ exports.isLinux = platform5 === "linux";
141328
+ exports.isIBMi = os4.type() === "OS400";
141412
141329
  }
141413
141330
  });
141414
141331
 
@@ -141422,8 +141339,8 @@ var require_nodefs_handler = __commonJS({
141422
141339
  var { promisify: promisify6 } = __require("util");
141423
141340
  var isBinaryPath = require_is_binary_path();
141424
141341
  var {
141425
- isWindows: isWindows2,
141426
- isLinux,
141342
+ isWindows: isWindows4,
141343
+ isLinux: isLinux2,
141427
141344
  EMPTY_FN,
141428
141345
  EMPTY_STR,
141429
141346
  KEY_LISTENERS,
@@ -141534,7 +141451,7 @@ var require_nodefs_handler = __commonJS({
141534
141451
  watcher.on(EV_ERROR, async (error) => {
141535
141452
  const broadcastErr = fsWatchBroadcast.bind(null, fullPath, KEY_ERR);
141536
141453
  cont.watcherUnusable = true;
141537
- if (isWindows2 && error.code === "EPERM") {
141454
+ if (isWindows4 && error.code === "EPERM") {
141538
141455
  try {
141539
141456
  const fd = await open3(path5, "r");
141540
141457
  await close(fd);
@@ -141676,7 +141593,7 @@ var require_nodefs_handler = __commonJS({
141676
141593
  if (!at || at <= mt || mt !== prevStats.mtimeMs) {
141677
141594
  this.fsw._emit(EV_CHANGE, file, newStats2);
141678
141595
  }
141679
- if (isLinux && prevStats.ino !== newStats2.ino) {
141596
+ if (isLinux2 && prevStats.ino !== newStats2.ino) {
141680
141597
  this.fsw._closeFile(path5);
141681
141598
  prevStats = newStats2;
141682
141599
  this.fsw._addPathCloser(path5, this._watchWithNodeFs(file, listener));
@@ -142348,7 +142265,7 @@ var require_chokidar = __commonJS({
142348
142265
  FUNCTION_TYPE,
142349
142266
  EMPTY_STR,
142350
142267
  EMPTY_FN,
142351
- isWindows: isWindows2,
142268
+ isWindows: isWindows4,
142352
142269
  isMacos,
142353
142270
  isIBMi
142354
142271
  } = require_constants7();
@@ -142721,7 +142638,7 @@ var require_chokidar = __commonJS({
142721
142638
  async _emit(event, path5, val1, val2, val3) {
142722
142639
  if (this.closed) return;
142723
142640
  const opts = this.options;
142724
- if (isWindows2) path5 = sysPath.normalize(path5);
142641
+ if (isWindows4) path5 = sysPath.normalize(path5);
142725
142642
  if (opts.cwd) path5 = sysPath.relative(opts.cwd, path5);
142726
142643
  const args = [event, path5];
142727
142644
  if (val3 !== void 0) args.push(val1, val2, val3);
@@ -143051,7 +142968,7 @@ var require_chokidar = __commonJS({
143051
142968
  var package_default = {
143052
142969
  name: "@wix/cli-app",
143053
142970
  description: "CLI tool for Wix apps",
143054
- version: "1.1.189",
142971
+ version: "1.1.191",
143055
142972
  author: "Amit Dahan",
143056
142973
  dependencies: {
143057
142974
  esbuild: "^0.25.0",
@@ -143301,6 +143218,7 @@ var CliSystemErrorCode = (0, import_variant.variant)({
143301
143218
  FailedToDeploySitePreview: {},
143302
143219
  FailedToPublishDeployment: {},
143303
143220
  FailedToGetAppInstallationDetails: (0, import_variant.fields)(),
143221
+ FailedToInstallApp: (0, import_variant.fields)(),
143304
143222
  TypeErrorInvalidUrl: {},
143305
143223
  FailedToGenerateSelfSignedCertificate: {},
143306
143224
  FailedToResolveViteOrigin: {},
@@ -143367,7 +143285,8 @@ var CliSystemErrorCode = (0, import_variant.variant)({
143367
143285
  FailedToUpdateExternalSiteUrl: {},
143368
143286
  FailedToGetGitHubOnboardingStatus: (0, import_variant.fields)(),
143369
143287
  FailedToInitGitHubRepository: (0, import_variant.fields)(),
143370
- FailedToGenerateExtensionConfig: (0, import_variant.fields)()
143288
+ FailedToGenerateExtensionConfig: (0, import_variant.fields)(),
143289
+ FailedToCreateCompanionApp: {}
143371
143290
  });
143372
143291
  var CliUserErrorCode = (0, import_variant.variant)({
143373
143292
  LatestVersionOfCreateAppRequired: (0, import_variant.fields)(),
@@ -152696,12 +152615,12 @@ init_esm_shims();
152696
152615
  init_esm_shims();
152697
152616
  import process14 from "node:process";
152698
152617
  function isUnicodeSupported() {
152699
- const { env: env2 } = process14;
152700
- const { TERM, TERM_PROGRAM } = env2;
152618
+ const { env: env3 } = process14;
152619
+ const { TERM, TERM_PROGRAM } = env3;
152701
152620
  if (process14.platform !== "win32") {
152702
152621
  return TERM !== "linux";
152703
152622
  }
152704
- return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
152623
+ return Boolean(env3.WT_SESSION) || Boolean(env3.TERMINUS_SUBLIME) || env3.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env3.TERMINAL_EMULATOR === "JetBrains-JediTerm";
152705
152624
  }
152706
152625
 
152707
152626
  // ../cli-ui-kit/src/components/ConfirmInput/index.ts
@@ -154188,24 +154107,86 @@ var import_react60 = __toESM(require_react(), 1);
154188
154107
  // ../../node_modules/terminal-link/index.js
154189
154108
  init_esm_shims();
154190
154109
 
154191
- // ../../node_modules/terminal-link/node_modules/ansi-escapes/index.js
154110
+ // ../../node_modules/ansi-escapes/index.js
154192
154111
  init_esm_shims();
154112
+
154113
+ // ../../node_modules/ansi-escapes/base.js
154114
+ var base_exports = {};
154115
+ __export(base_exports, {
154116
+ beep: () => beep,
154117
+ clearScreen: () => clearScreen,
154118
+ clearTerminal: () => clearTerminal,
154119
+ cursorBackward: () => cursorBackward,
154120
+ cursorDown: () => cursorDown,
154121
+ cursorForward: () => cursorForward,
154122
+ cursorGetPosition: () => cursorGetPosition,
154123
+ cursorHide: () => cursorHide,
154124
+ cursorLeft: () => cursorLeft,
154125
+ cursorMove: () => cursorMove,
154126
+ cursorNextLine: () => cursorNextLine,
154127
+ cursorPrevLine: () => cursorPrevLine,
154128
+ cursorRestorePosition: () => cursorRestorePosition,
154129
+ cursorSavePosition: () => cursorSavePosition,
154130
+ cursorShow: () => cursorShow,
154131
+ cursorTo: () => cursorTo,
154132
+ cursorUp: () => cursorUp,
154133
+ enterAlternativeScreen: () => enterAlternativeScreen,
154134
+ eraseDown: () => eraseDown,
154135
+ eraseEndLine: () => eraseEndLine,
154136
+ eraseLine: () => eraseLine,
154137
+ eraseLines: () => eraseLines,
154138
+ eraseScreen: () => eraseScreen,
154139
+ eraseStartLine: () => eraseStartLine,
154140
+ eraseUp: () => eraseUp,
154141
+ exitAlternativeScreen: () => exitAlternativeScreen,
154142
+ iTerm: () => iTerm,
154143
+ image: () => image,
154144
+ link: () => link,
154145
+ scrollDown: () => scrollDown,
154146
+ scrollUp: () => scrollUp
154147
+ });
154148
+ init_esm_shims();
154149
+ import process17 from "node:process";
154150
+
154151
+ // ../../node_modules/environment/index.js
154152
+ init_esm_shims();
154153
+ var isBrowser2 = globalThis.window?.document !== void 0;
154154
+ var isNode = globalThis.process?.versions?.node !== void 0;
154155
+ var isBun = globalThis.process?.versions?.bun !== void 0;
154156
+ var isDeno = globalThis.Deno?.version?.deno !== void 0;
154157
+ var isElectron = globalThis.process?.versions?.electron !== void 0;
154158
+ var isJsDom = globalThis.navigator?.userAgent?.includes("jsdom") === true;
154159
+ var isWebWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
154160
+ var isDedicatedWorker = typeof DedicatedWorkerGlobalScope !== "undefined" && globalThis instanceof DedicatedWorkerGlobalScope;
154161
+ var isSharedWorker = typeof SharedWorkerGlobalScope !== "undefined" && globalThis instanceof SharedWorkerGlobalScope;
154162
+ var isServiceWorker = typeof ServiceWorkerGlobalScope !== "undefined" && globalThis instanceof ServiceWorkerGlobalScope;
154163
+ var platform2 = globalThis.navigator?.userAgentData?.platform;
154164
+ var isMacOs = platform2 === "macOS" || globalThis.navigator?.platform === "MacIntel" || globalThis.navigator?.userAgent?.includes(" Mac ") === true || globalThis.process?.platform === "darwin";
154165
+ var isWindows2 = platform2 === "Windows" || globalThis.navigator?.platform === "Win32" || globalThis.process?.platform === "win32";
154166
+ var isLinux = platform2 === "Linux" || globalThis.navigator?.platform?.startsWith("Linux") === true || globalThis.navigator?.userAgent?.includes(" Linux ") === true || globalThis.process?.platform === "linux";
154167
+ var isIos = platform2 === "iOS" || globalThis.navigator?.platform === "MacIntel" && globalThis.navigator?.maxTouchPoints > 1 || /iPad|iPhone|iPod/.test(globalThis.navigator?.platform);
154168
+ var isAndroid = platform2 === "Android" || globalThis.navigator?.platform === "Android" || globalThis.navigator?.userAgent?.includes(" Android ") === true || globalThis.process?.platform === "android";
154169
+
154170
+ // ../../node_modules/ansi-escapes/base.js
154193
154171
  var ESC2 = "\x1B[";
154194
154172
  var OSC2 = "\x1B]";
154195
154173
  var BEL2 = "\x07";
154196
154174
  var SEP2 = ";";
154197
- var isTerminalApp2 = process.env.TERM_PROGRAM === "Apple_Terminal";
154198
- var ansiEscapes2 = {};
154199
- ansiEscapes2.cursorTo = (x, y) => {
154175
+ var isTerminalApp2 = !isBrowser2 && process17.env.TERM_PROGRAM === "Apple_Terminal";
154176
+ var isWindows3 = !isBrowser2 && process17.platform === "win32";
154177
+ var cwdFunction2 = isBrowser2 ? () => {
154178
+ throw new Error("`process.cwd()` only works in Node.js, not the browser.");
154179
+ } : process17.cwd;
154180
+ var cursorTo = (x, y) => {
154200
154181
  if (typeof x !== "number") {
154201
154182
  throw new TypeError("The `x` argument is required");
154202
154183
  }
154203
154184
  if (typeof y !== "number") {
154204
154185
  return ESC2 + (x + 1) + "G";
154205
154186
  }
154206
- return ESC2 + (y + 1) + ";" + (x + 1) + "H";
154187
+ return ESC2 + (y + 1) + SEP2 + (x + 1) + "H";
154207
154188
  };
154208
- ansiEscapes2.cursorMove = (x, y) => {
154189
+ var cursorMove = (x, y) => {
154209
154190
  if (typeof x !== "number") {
154210
154191
  throw new TypeError("The `x` argument is required");
154211
154192
  }
@@ -154222,62 +154203,56 @@ ansiEscapes2.cursorMove = (x, y) => {
154222
154203
  }
154223
154204
  return returnValue;
154224
154205
  };
154225
- ansiEscapes2.cursorUp = (count = 1) => ESC2 + count + "A";
154226
- ansiEscapes2.cursorDown = (count = 1) => ESC2 + count + "B";
154227
- ansiEscapes2.cursorForward = (count = 1) => ESC2 + count + "C";
154228
- ansiEscapes2.cursorBackward = (count = 1) => ESC2 + count + "D";
154229
- ansiEscapes2.cursorLeft = ESC2 + "G";
154230
- ansiEscapes2.cursorSavePosition = isTerminalApp2 ? "\x1B7" : ESC2 + "s";
154231
- ansiEscapes2.cursorRestorePosition = isTerminalApp2 ? "\x1B8" : ESC2 + "u";
154232
- ansiEscapes2.cursorGetPosition = ESC2 + "6n";
154233
- ansiEscapes2.cursorNextLine = ESC2 + "E";
154234
- ansiEscapes2.cursorPrevLine = ESC2 + "F";
154235
- ansiEscapes2.cursorHide = ESC2 + "?25l";
154236
- ansiEscapes2.cursorShow = ESC2 + "?25h";
154237
- ansiEscapes2.eraseLines = (count) => {
154206
+ var cursorUp = (count = 1) => ESC2 + count + "A";
154207
+ var cursorDown = (count = 1) => ESC2 + count + "B";
154208
+ var cursorForward = (count = 1) => ESC2 + count + "C";
154209
+ var cursorBackward = (count = 1) => ESC2 + count + "D";
154210
+ var cursorLeft = ESC2 + "G";
154211
+ var cursorSavePosition = isTerminalApp2 ? "\x1B7" : ESC2 + "s";
154212
+ var cursorRestorePosition = isTerminalApp2 ? "\x1B8" : ESC2 + "u";
154213
+ var cursorGetPosition = ESC2 + "6n";
154214
+ var cursorNextLine = ESC2 + "E";
154215
+ var cursorPrevLine = ESC2 + "F";
154216
+ var cursorHide = ESC2 + "?25l";
154217
+ var cursorShow = ESC2 + "?25h";
154218
+ var eraseLines = (count) => {
154238
154219
  let clear = "";
154239
154220
  for (let i2 = 0; i2 < count; i2++) {
154240
- clear += ansiEscapes2.eraseLine + (i2 < count - 1 ? ansiEscapes2.cursorUp() : "");
154221
+ clear += eraseLine + (i2 < count - 1 ? cursorUp() : "");
154241
154222
  }
154242
154223
  if (count) {
154243
- clear += ansiEscapes2.cursorLeft;
154224
+ clear += cursorLeft;
154244
154225
  }
154245
154226
  return clear;
154246
154227
  };
154247
- ansiEscapes2.eraseEndLine = ESC2 + "K";
154248
- ansiEscapes2.eraseStartLine = ESC2 + "1K";
154249
- ansiEscapes2.eraseLine = ESC2 + "2K";
154250
- ansiEscapes2.eraseDown = ESC2 + "J";
154251
- ansiEscapes2.eraseUp = ESC2 + "1J";
154252
- ansiEscapes2.eraseScreen = ESC2 + "2J";
154253
- ansiEscapes2.scrollUp = ESC2 + "S";
154254
- ansiEscapes2.scrollDown = ESC2 + "T";
154255
- ansiEscapes2.clearScreen = "\x1Bc";
154256
- ansiEscapes2.clearTerminal = process.platform === "win32" ? `${ansiEscapes2.eraseScreen}${ESC2}0f` : (
154257
- // 1. Erases the screen (Only done in case `2` is not supported)
154258
- // 2. Erases the whole screen including scrollback buffer
154259
- // 3. Moves cursor to the top-left position
154260
- // More info: https://www.real-world-systems.com/docs/ANSIcode.html
154261
- `${ansiEscapes2.eraseScreen}${ESC2}3J${ESC2}H`
154262
- );
154263
- ansiEscapes2.beep = BEL2;
154264
- ansiEscapes2.link = (text, url) => {
154265
- return [
154266
- OSC2,
154267
- "8",
154268
- SEP2,
154269
- SEP2,
154270
- url,
154271
- BEL2,
154272
- text,
154273
- OSC2,
154274
- "8",
154275
- SEP2,
154276
- SEP2,
154277
- BEL2
154278
- ].join("");
154279
- };
154280
- ansiEscapes2.image = (buffer, options = {}) => {
154228
+ var eraseEndLine = ESC2 + "K";
154229
+ var eraseStartLine = ESC2 + "1K";
154230
+ var eraseLine = ESC2 + "2K";
154231
+ var eraseDown = ESC2 + "J";
154232
+ var eraseUp = ESC2 + "1J";
154233
+ var eraseScreen = ESC2 + "2J";
154234
+ var scrollUp = ESC2 + "S";
154235
+ var scrollDown = ESC2 + "T";
154236
+ var clearScreen = "\x1Bc";
154237
+ var clearTerminal = isWindows3 ? `${eraseScreen}${ESC2}0f` : `${eraseScreen}${ESC2}3J${ESC2}H`;
154238
+ var enterAlternativeScreen = ESC2 + "?1049h";
154239
+ var exitAlternativeScreen = ESC2 + "?1049l";
154240
+ var beep = BEL2;
154241
+ var link = (text, url) => [
154242
+ OSC2,
154243
+ "8",
154244
+ SEP2,
154245
+ SEP2,
154246
+ url,
154247
+ BEL2,
154248
+ text,
154249
+ OSC2,
154250
+ "8",
154251
+ SEP2,
154252
+ SEP2,
154253
+ BEL2
154254
+ ].join("");
154255
+ var image = (data, options = {}) => {
154281
154256
  let returnValue = `${OSC2}1337;File=inline=1`;
154282
154257
  if (options.width) {
154283
154258
  returnValue += `;width=${options.width}`;
@@ -154288,18 +154263,18 @@ ansiEscapes2.image = (buffer, options = {}) => {
154288
154263
  if (options.preserveAspectRatio === false) {
154289
154264
  returnValue += ";preserveAspectRatio=0";
154290
154265
  }
154291
- return returnValue + ":" + buffer.toString("base64") + BEL2;
154266
+ return returnValue + ":" + Buffer.from(data).toString("base64") + BEL2;
154292
154267
  };
154293
- ansiEscapes2.iTerm = {
154294
- setCwd: (cwd2 = process.cwd()) => `${OSC2}50;CurrentDir=${cwd2}${BEL2}`,
154295
- annotation: (message, options = {}) => {
154268
+ var iTerm = {
154269
+ setCwd: (cwd2 = cwdFunction2()) => `${OSC2}50;CurrentDir=${cwd2}${BEL2}`,
154270
+ annotation(message, options = {}) {
154296
154271
  let returnValue = `${OSC2}1337;`;
154297
- const hasX = typeof options.x !== "undefined";
154298
- const hasY = typeof options.y !== "undefined";
154299
- if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
154272
+ const hasX = options.x !== void 0;
154273
+ const hasY = options.y !== void 0;
154274
+ if ((hasX || hasY) && !(hasX && hasY && options.length !== void 0)) {
154300
154275
  throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
154301
154276
  }
154302
- message = message.replace(/\|/g, "");
154277
+ message = message.replaceAll("|", "");
154303
154278
  returnValue += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
154304
154279
  if (options.length > 0) {
154305
154280
  returnValue += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
@@ -154309,22 +154284,289 @@ ansiEscapes2.iTerm = {
154309
154284
  return returnValue + BEL2;
154310
154285
  }
154311
154286
  };
154312
- var ansi_escapes_default2 = ansiEscapes2;
154287
+
154288
+ // ../../node_modules/supports-hyperlinks/index.js
154289
+ init_esm_shims();
154290
+ import process20 from "node:process";
154291
+
154292
+ // ../../node_modules/supports-hyperlinks/node_modules/supports-color/index.js
154293
+ init_esm_shims();
154294
+ import process18 from "node:process";
154295
+ import os2 from "node:os";
154296
+ import tty2 from "node:tty";
154297
+ function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : process18.argv) {
154298
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
154299
+ const position = argv.indexOf(prefix + flag);
154300
+ const terminatorPosition = argv.indexOf("--");
154301
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
154302
+ }
154303
+ var { env: env2 } = process18;
154304
+ var flagForceColor2;
154305
+ if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
154306
+ flagForceColor2 = 0;
154307
+ } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
154308
+ flagForceColor2 = 1;
154309
+ }
154310
+ function envForceColor2() {
154311
+ if (!("FORCE_COLOR" in env2)) {
154312
+ return;
154313
+ }
154314
+ if (env2.FORCE_COLOR === "true") {
154315
+ return 1;
154316
+ }
154317
+ if (env2.FORCE_COLOR === "false") {
154318
+ return 0;
154319
+ }
154320
+ if (env2.FORCE_COLOR.length === 0) {
154321
+ return 1;
154322
+ }
154323
+ const level = Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
154324
+ if (![0, 1, 2, 3].includes(level)) {
154325
+ return;
154326
+ }
154327
+ return level;
154328
+ }
154329
+ function translateLevel2(level) {
154330
+ if (level === 0) {
154331
+ return false;
154332
+ }
154333
+ return {
154334
+ level,
154335
+ hasBasic: true,
154336
+ has256: level >= 2,
154337
+ has16m: level >= 3
154338
+ };
154339
+ }
154340
+ function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
154341
+ const noFlagForceColor = envForceColor2();
154342
+ if (noFlagForceColor !== void 0) {
154343
+ flagForceColor2 = noFlagForceColor;
154344
+ }
154345
+ const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
154346
+ if (forceColor === 0) {
154347
+ return 0;
154348
+ }
154349
+ if (sniffFlags) {
154350
+ if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
154351
+ return 3;
154352
+ }
154353
+ if (hasFlag2("color=256")) {
154354
+ return 2;
154355
+ }
154356
+ }
154357
+ if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
154358
+ return 1;
154359
+ }
154360
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
154361
+ return 0;
154362
+ }
154363
+ const min = forceColor || 0;
154364
+ if (env2.TERM === "dumb") {
154365
+ return min;
154366
+ }
154367
+ if (process18.platform === "win32") {
154368
+ const osRelease = os2.release().split(".");
154369
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
154370
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
154371
+ }
154372
+ return 1;
154373
+ }
154374
+ if ("CI" in env2) {
154375
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env2)) {
154376
+ return 3;
154377
+ }
154378
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
154379
+ return 1;
154380
+ }
154381
+ return min;
154382
+ }
154383
+ if ("TEAMCITY_VERSION" in env2) {
154384
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
154385
+ }
154386
+ if (env2.COLORTERM === "truecolor") {
154387
+ return 3;
154388
+ }
154389
+ if (env2.TERM === "xterm-kitty") {
154390
+ return 3;
154391
+ }
154392
+ if (env2.TERM === "xterm-ghostty") {
154393
+ return 3;
154394
+ }
154395
+ if (env2.TERM === "wezterm") {
154396
+ return 3;
154397
+ }
154398
+ if ("TERM_PROGRAM" in env2) {
154399
+ const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
154400
+ switch (env2.TERM_PROGRAM) {
154401
+ case "iTerm.app": {
154402
+ return version >= 3 ? 3 : 2;
154403
+ }
154404
+ case "Apple_Terminal": {
154405
+ return 2;
154406
+ }
154407
+ }
154408
+ }
154409
+ if (/-256(color)?$/i.test(env2.TERM)) {
154410
+ return 2;
154411
+ }
154412
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
154413
+ return 1;
154414
+ }
154415
+ if ("COLORTERM" in env2) {
154416
+ return 1;
154417
+ }
154418
+ return min;
154419
+ }
154420
+ function createSupportsColor2(stream, options = {}) {
154421
+ const level = _supportsColor2(stream, {
154422
+ streamIsTTY: stream && stream.isTTY,
154423
+ ...options
154424
+ });
154425
+ return translateLevel2(level);
154426
+ }
154427
+ var supportsColor2 = {
154428
+ stdout: createSupportsColor2({ isTTY: tty2.isatty(1) }),
154429
+ stderr: createSupportsColor2({ isTTY: tty2.isatty(2) })
154430
+ };
154431
+
154432
+ // ../../node_modules/supports-hyperlinks/node_modules/has-flag/index.js
154433
+ init_esm_shims();
154434
+ import process19 from "process";
154435
+ function hasFlag3(flag, argv = process19.argv) {
154436
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
154437
+ const position = argv.indexOf(prefix + flag);
154438
+ const terminatorPosition = argv.indexOf("--");
154439
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
154440
+ }
154441
+
154442
+ // ../../node_modules/supports-hyperlinks/index.js
154443
+ function parseVersion(versionString = "") {
154444
+ if (/^\d{3,4}$/.test(versionString)) {
154445
+ const match16 = /(\d{1,2})(\d{2})/.exec(versionString) ?? [];
154446
+ return {
154447
+ major: 0,
154448
+ minor: Number.parseInt(match16[1], 10),
154449
+ patch: Number.parseInt(match16[2], 10)
154450
+ };
154451
+ }
154452
+ const versions = (versionString ?? "").split(".").map((n2) => Number.parseInt(n2, 10));
154453
+ return {
154454
+ major: versions[0],
154455
+ minor: versions[1],
154456
+ patch: versions[2]
154457
+ };
154458
+ }
154459
+ function createSupportsHyperlinks(stream) {
154460
+ const {
154461
+ CI,
154462
+ CURSOR_TRACE_ID,
154463
+ FORCE_HYPERLINK,
154464
+ NETLIFY,
154465
+ TEAMCITY_VERSION,
154466
+ TERM_PROGRAM,
154467
+ TERM_PROGRAM_VERSION,
154468
+ VTE_VERSION,
154469
+ TERM
154470
+ } = process20.env;
154471
+ if (FORCE_HYPERLINK) {
154472
+ return !(FORCE_HYPERLINK.length > 0 && Number.parseInt(FORCE_HYPERLINK, 10) === 0);
154473
+ }
154474
+ if (hasFlag3("no-hyperlink") || hasFlag3("no-hyperlinks") || hasFlag3("hyperlink=false") || hasFlag3("hyperlink=never")) {
154475
+ return false;
154476
+ }
154477
+ if (hasFlag3("hyperlink=true") || hasFlag3("hyperlink=always")) {
154478
+ return true;
154479
+ }
154480
+ if (NETLIFY) {
154481
+ return true;
154482
+ }
154483
+ if (!createSupportsColor2(stream)) {
154484
+ return false;
154485
+ }
154486
+ if (stream && !stream.isTTY) {
154487
+ return false;
154488
+ }
154489
+ if ("WT_SESSION" in process20.env) {
154490
+ return true;
154491
+ }
154492
+ if (process20.platform === "win32") {
154493
+ return false;
154494
+ }
154495
+ if (CI) {
154496
+ return false;
154497
+ }
154498
+ if (TEAMCITY_VERSION) {
154499
+ return false;
154500
+ }
154501
+ if (TERM_PROGRAM) {
154502
+ const version = parseVersion(TERM_PROGRAM_VERSION);
154503
+ switch (TERM_PROGRAM) {
154504
+ case "iTerm.app": {
154505
+ if (version.major === 3) {
154506
+ return version.minor >= 1;
154507
+ }
154508
+ return version.major > 3;
154509
+ }
154510
+ case "WezTerm": {
154511
+ if (/^0-unstable-\d{4}-\d{2}-\d{2}$/.test(TERM_PROGRAM_VERSION)) {
154512
+ const date = TERM_PROGRAM_VERSION.slice("0-unstable-".length);
154513
+ return date >= "2020-06-20";
154514
+ }
154515
+ return version.major >= 20200620;
154516
+ }
154517
+ case "vscode": {
154518
+ if (CURSOR_TRACE_ID) {
154519
+ return true;
154520
+ }
154521
+ return version.major > 1 || version.major === 1 && version.minor >= 72;
154522
+ }
154523
+ case "ghostty": {
154524
+ return true;
154525
+ }
154526
+ case "zed": {
154527
+ return true;
154528
+ }
154529
+ }
154530
+ }
154531
+ if (VTE_VERSION) {
154532
+ if (VTE_VERSION === "0.50.0") {
154533
+ return false;
154534
+ }
154535
+ const version = parseVersion(VTE_VERSION);
154536
+ return version.major > 0 || version.minor >= 50;
154537
+ }
154538
+ switch (TERM) {
154539
+ case "alacritty": {
154540
+ return true;
154541
+ }
154542
+ case "xterm-kitty": {
154543
+ return true;
154544
+ }
154545
+ }
154546
+ return false;
154547
+ }
154548
+ var supportsHyperlinks = {
154549
+ stdout: createSupportsHyperlinks(process20.stdout),
154550
+ stderr: createSupportsHyperlinks(process20.stderr)
154551
+ };
154552
+ var supports_hyperlinks_default = supportsHyperlinks;
154313
154553
 
154314
154554
  // ../../node_modules/terminal-link/index.js
154315
- var import_supports_hyperlinks = __toESM(require_supports_hyperlinks(), 1);
154316
154555
  function terminalLink(text, url, { target = "stdout", ...options } = {}) {
154317
- if (!import_supports_hyperlinks.default[target]) {
154556
+ if (!supports_hyperlinks_default[target]) {
154318
154557
  if (options.fallback === false) {
154319
154558
  return text;
154320
154559
  }
154321
- return typeof options.fallback === "function" ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
154560
+ if (typeof options.fallback === "function") {
154561
+ return options.fallback(text, url);
154562
+ }
154563
+ return `${text} ${url}`;
154322
154564
  }
154323
- return ansi_escapes_default2.link(text, url);
154565
+ return base_exports.link(text, url);
154324
154566
  }
154325
- terminalLink.isSupported = import_supports_hyperlinks.default.stdout;
154567
+ terminalLink.isSupported = supports_hyperlinks_default.stdout;
154326
154568
  terminalLink.stderr = (text, url, options = {}) => terminalLink(text, url, { target: "stderr", ...options });
154327
- terminalLink.stderr.isSupported = import_supports_hyperlinks.default.stderr;
154569
+ terminalLink.stderr.isSupported = supports_hyperlinks_default.stderr;
154328
154570
 
154329
154571
  // ../cli-ui-kit/src/components/Link.tsx
154330
154572
  var Link = ({ skin, children, url }) => {
@@ -162293,6 +162535,14 @@ function getErrorComponent(code, cause) {
162293
162535
  }
162294
162536
  );
162295
162537
  },
162538
+ FailedToInstallApp: ({ appId, siteId }) => {
162539
+ return () => /* @__PURE__ */ import_react79.default.createElement(
162540
+ SystemErrorMessage,
162541
+ {
162542
+ message: `Failed to install app ${appId} on site ${siteId}.`
162543
+ }
162544
+ );
162545
+ },
162296
162546
  FailedToInitializeGitRepo: () => {
162297
162547
  return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { cause, message: "Failed to initialize git repo." });
162298
162548
  },
@@ -163184,6 +163434,15 @@ ${errorMessage}`
163184
163434
  message: `Failed to generate config for extension "${extensionId}".`
163185
163435
  }
163186
163436
  );
163437
+ },
163438
+ FailedToCreateCompanionApp: () => {
163439
+ return () => /* @__PURE__ */ import_react79.default.createElement(
163440
+ ErrorMessage,
163441
+ {
163442
+ cause,
163443
+ message: `Failed to create a companion app for your project.`
163444
+ }
163445
+ );
163187
163446
  }
163188
163447
  });
163189
163448
  }
@@ -165118,7 +165377,7 @@ init_esm_shims();
165118
165377
 
165119
165378
  // ../../node_modules/open/index.js
165120
165379
  init_esm_shims();
165121
- import process21 from "node:process";
165380
+ import process25 from "node:process";
165122
165381
  import { Buffer as Buffer3 } from "node:buffer";
165123
165382
  import path from "node:path";
165124
165383
  import { fileURLToPath } from "node:url";
@@ -165127,8 +165386,8 @@ import fs5, { constants as fsConstants } from "node:fs/promises";
165127
165386
 
165128
165387
  // ../../node_modules/is-wsl/index.js
165129
165388
  init_esm_shims();
165130
- import process17 from "node:process";
165131
- import os2 from "node:os";
165389
+ import process21 from "node:process";
165390
+ import os3 from "node:os";
165132
165391
  import fs4 from "node:fs";
165133
165392
 
165134
165393
  // ../../node_modules/is-inside-container/index.js
@@ -165180,10 +165439,10 @@ function isInsideContainer() {
165180
165439
 
165181
165440
  // ../../node_modules/is-wsl/index.js
165182
165441
  var isWsl = () => {
165183
- if (process17.platform !== "linux") {
165442
+ if (process21.platform !== "linux") {
165184
165443
  return false;
165185
165444
  }
165186
- if (os2.release().toLowerCase().includes("microsoft")) {
165445
+ if (os3.release().toLowerCase().includes("microsoft")) {
165187
165446
  if (isInsideContainer()) {
165188
165447
  return false;
165189
165448
  }
@@ -165195,7 +165454,7 @@ var isWsl = () => {
165195
165454
  return false;
165196
165455
  }
165197
165456
  };
165198
- var is_wsl_default = process17.env.__IS_WSL_TEST__ ? isWsl : isWsl();
165457
+ var is_wsl_default = process21.env.__IS_WSL_TEST__ ? isWsl : isWsl();
165199
165458
 
165200
165459
  // ../../node_modules/define-lazy-prop/index.js
165201
165460
  init_esm_shims();
@@ -165219,17 +165478,17 @@ function defineLazyProperty(object, propertyName, valueGetter) {
165219
165478
  // ../../node_modules/default-browser/index.js
165220
165479
  init_esm_shims();
165221
165480
  import { promisify as promisify4 } from "node:util";
165222
- import process20 from "node:process";
165481
+ import process24 from "node:process";
165223
165482
  import { execFile as execFile4 } from "node:child_process";
165224
165483
 
165225
165484
  // ../../node_modules/default-browser-id/index.js
165226
165485
  init_esm_shims();
165227
165486
  import { promisify } from "node:util";
165228
- import process18 from "node:process";
165487
+ import process22 from "node:process";
165229
165488
  import { execFile } from "node:child_process";
165230
165489
  var execFileAsync = promisify(execFile);
165231
165490
  async function defaultBrowserId() {
165232
- if (process18.platform !== "darwin") {
165491
+ if (process22.platform !== "darwin") {
165233
165492
  throw new Error("macOS only");
165234
165493
  }
165235
165494
  const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
@@ -165242,12 +165501,12 @@ init_esm_shims();
165242
165501
 
165243
165502
  // ../../node_modules/run-applescript/index.js
165244
165503
  init_esm_shims();
165245
- import process19 from "node:process";
165504
+ import process23 from "node:process";
165246
165505
  import { promisify as promisify2 } from "node:util";
165247
165506
  import { execFile as execFile2, execFileSync } from "node:child_process";
165248
165507
  var execFileAsync2 = promisify2(execFile2);
165249
165508
  async function runAppleScript(script, { humanReadableOutput = true } = {}) {
165250
- if (process19.platform !== "darwin") {
165509
+ if (process23.platform !== "darwin") {
165251
165510
  throw new Error("macOS only");
165252
165511
  }
165253
165512
  const outputArguments = humanReadableOutput ? [] : ["-ss"];
@@ -165304,18 +165563,18 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
165304
165563
  var execFileAsync4 = promisify4(execFile4);
165305
165564
  var titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
165306
165565
  async function defaultBrowser2() {
165307
- if (process20.platform === "darwin") {
165566
+ if (process24.platform === "darwin") {
165308
165567
  const id = await defaultBrowserId();
165309
165568
  const name = await bundleName(id);
165310
165569
  return { name, id };
165311
165570
  }
165312
- if (process20.platform === "linux") {
165571
+ if (process24.platform === "linux") {
165313
165572
  const { stdout } = await execFileAsync4("xdg-mime", ["query", "default", "x-scheme-handler/http"]);
165314
165573
  const id = stdout.trim();
165315
165574
  const name = titleize(id.replace(/.desktop$/, "").replace("-", " "));
165316
165575
  return { name, id };
165317
165576
  }
165318
- if (process20.platform === "win32") {
165577
+ if (process24.platform === "win32") {
165319
165578
  return defaultBrowser();
165320
165579
  }
165321
165580
  throw new Error("Only macOS, Linux, and Windows are supported");
@@ -165324,7 +165583,7 @@ async function defaultBrowser2() {
165324
165583
  // ../../node_modules/open/index.js
165325
165584
  var __dirname2 = path.dirname(fileURLToPath(import.meta.url));
165326
165585
  var localXdgOpenPath = path.join(__dirname2, "xdg-open");
165327
- var { platform: platform2, arch } = process21;
165586
+ var { platform: platform3, arch } = process25;
165328
165587
  var getWslDrivesMountPoint = /* @__PURE__ */ (() => {
165329
165588
  const defaultMountPoint = "/mnt/";
165330
165589
  let mountPoint;
@@ -165422,7 +165681,7 @@ var baseOpen = async (options) => {
165422
165681
  let command;
165423
165682
  const cliArguments = [];
165424
165683
  const childProcessOptions = {};
165425
- if (platform2 === "darwin") {
165684
+ if (platform3 === "darwin") {
165426
165685
  command = "open";
165427
165686
  if (options.wait) {
165428
165687
  cliArguments.push("--wait-apps");
@@ -165436,9 +165695,9 @@ var baseOpen = async (options) => {
165436
165695
  if (app) {
165437
165696
  cliArguments.push("-a", app);
165438
165697
  }
165439
- } else if (platform2 === "win32" || is_wsl_default && !isInsideContainer() && !app) {
165698
+ } else if (platform3 === "win32" || is_wsl_default && !isInsideContainer() && !app) {
165440
165699
  const mountPoint = await getWslDrivesMountPoint();
165441
- command = is_wsl_default ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process21.env.SYSTEMROOT || process21.env.windir || "C:\\Windows"}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
165700
+ command = is_wsl_default ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process25.env.SYSTEMROOT || process25.env.windir || "C:\\Windows"}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
165442
165701
  cliArguments.push(
165443
165702
  "-NoProfile",
165444
165703
  "-NonInteractive",
@@ -165477,7 +165736,7 @@ var baseOpen = async (options) => {
165477
165736
  exeLocalXdgOpen = true;
165478
165737
  } catch {
165479
165738
  }
165480
- const useSystemXdgOpen = process21.versions.electron ?? (platform2 === "android" || isBundled || !exeLocalXdgOpen);
165739
+ const useSystemXdgOpen = process25.versions.electron ?? (platform3 === "android" || isBundled || !exeLocalXdgOpen);
165481
165740
  command = useSystemXdgOpen ? "xdg-open" : localXdgOpenPath;
165482
165741
  }
165483
165742
  if (appArguments.length > 0) {
@@ -165488,7 +165747,7 @@ var baseOpen = async (options) => {
165488
165747
  childProcessOptions.detached = true;
165489
165748
  }
165490
165749
  }
165491
- if (platform2 === "darwin" && appArguments.length > 0) {
165750
+ if (platform3 === "darwin" && appArguments.length > 0) {
165492
165751
  cliArguments.push("--args", ...appArguments);
165493
165752
  }
165494
165753
  if (options.target) {
@@ -165529,12 +165788,12 @@ function detectArchBinary(binary) {
165529
165788
  }
165530
165789
  return archBinary;
165531
165790
  }
165532
- function detectPlatformBinary({ [platform2]: platformBinary }, { wsl }) {
165791
+ function detectPlatformBinary({ [platform3]: platformBinary }, { wsl }) {
165533
165792
  if (wsl && is_wsl_default) {
165534
165793
  return detectArchBinary(wsl);
165535
165794
  }
165536
165795
  if (!platformBinary) {
165537
- throw new Error(`${platform2} is not supported`);
165796
+ throw new Error(`${platform3} is not supported`);
165538
165797
  }
165539
165798
  return detectArchBinary(platformBinary);
165540
165799
  }
@@ -168439,12 +168698,12 @@ var WritingModeValue;
168439
168698
  WritingModeValue3["sidewaysLr"] = "sidewaysLr";
168440
168699
  })(WritingModeValue || (WritingModeValue = {}));
168441
168700
  var WebhookIdentityType;
168442
- (function(WebhookIdentityType4) {
168443
- WebhookIdentityType4["UNKNOWN"] = "UNKNOWN";
168444
- WebhookIdentityType4["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
168445
- WebhookIdentityType4["MEMBER"] = "MEMBER";
168446
- WebhookIdentityType4["WIX_USER"] = "WIX_USER";
168447
- WebhookIdentityType4["APP"] = "APP";
168701
+ (function(WebhookIdentityType5) {
168702
+ WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
168703
+ WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
168704
+ WebhookIdentityType5["MEMBER"] = "MEMBER";
168705
+ WebhookIdentityType5["WIX_USER"] = "WIX_USER";
168706
+ WebhookIdentityType5["APP"] = "APP";
168448
168707
  })(WebhookIdentityType || (WebhookIdentityType = {}));
168449
168708
  var ValidationTargetMethod;
168450
168709
  (function(ValidationTargetMethod2) {
@@ -169573,7 +169832,7 @@ import { join as join7 } from "node:path";
169573
169832
 
169574
169833
  // ../../node_modules/globby/index.js
169575
169834
  init_esm_shims();
169576
- import process23 from "node:process";
169835
+ import process27 from "node:process";
169577
169836
  import fs8 from "node:fs";
169578
169837
  import nodePath from "node:path";
169579
169838
 
@@ -169811,7 +170070,7 @@ var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
169811
170070
  init_esm_shims();
169812
170071
  var import_fast_glob = __toESM(require_out4(), 1);
169813
170072
  var import_ignore = __toESM(require_ignore(), 1);
169814
- import process22 from "node:process";
170073
+ import process26 from "node:process";
169815
170074
  import fs7 from "node:fs";
169816
170075
  import fsPromises2 from "node:fs/promises";
169817
170076
  import path2 from "node:path";
@@ -169867,7 +170126,7 @@ var getIsIgnoredPredicate = (files, cwd2) => {
169867
170126
  };
169868
170127
  };
169869
170128
  var normalizeOptions3 = (options = {}) => ({
169870
- cwd: toPath(options.cwd) ?? process22.cwd(),
170129
+ cwd: toPath(options.cwd) ?? process26.cwd(),
169871
170130
  suppressErrors: Boolean(options.suppressErrors),
169872
170131
  deep: typeof options.deep === "number" ? options.deep : Number.POSITIVE_INFINITY,
169873
170132
  ignore: [...options.ignore ?? [], ...defaultIgnoredDirectories]
@@ -169920,7 +170179,7 @@ var getDirectoryGlob = ({ directoryPath, files, extensions }) => {
169920
170179
  return files ? files.map((file) => nodePath.posix.join(directoryPath, `**/${nodePath.extname(file) ? file : `${file}${extensionGlob}`}`)) : [nodePath.posix.join(directoryPath, `**${extensionGlob ? `/*${extensionGlob}` : ""}`)];
169921
170180
  };
169922
170181
  var directoryToGlob = async (directoryPaths, {
169923
- cwd: cwd2 = process23.cwd(),
170182
+ cwd: cwd2 = process27.cwd(),
169924
170183
  files,
169925
170184
  extensions
169926
170185
  } = {}) => {
@@ -169930,7 +170189,7 @@ var directoryToGlob = async (directoryPaths, {
169930
170189
  return globs.flat();
169931
170190
  };
169932
170191
  var directoryToGlobSync = (directoryPaths, {
169933
- cwd: cwd2 = process23.cwd(),
170192
+ cwd: cwd2 = process27.cwd(),
169934
170193
  files,
169935
170194
  extensions
169936
170195
  } = {}) => directoryPaths.flatMap((directoryPath) => isDirectorySync(normalizePathForDirectoryGlob(directoryPath, cwd2)) ? getDirectoryGlob({ directoryPath, files, extensions }) : directoryPath);
@@ -170105,7 +170364,7 @@ var import_variant27 = __toESM(require_lib(), 1);
170105
170364
  // src/dev-center/components/path.ts
170106
170365
  init_esm_shims();
170107
170366
  import { join as join4, parse as parse2, sep } from "node:path";
170108
- import { platform as platform3 } from "node:os";
170367
+ import { platform as platform4 } from "node:os";
170109
170368
  function replaceExtension(filePath, extension) {
170110
170369
  const { dir: dir2, name } = parse2(filePath);
170111
170370
  if (extension !== "") {
@@ -170121,7 +170380,7 @@ function deriveRoute(projectFolder, pagePath) {
170121
170380
  return `/${relativeDir.split(sep).map(encodeURIComponent).join("/")}`;
170122
170381
  }
170123
170382
  function normalizeGlobbyPattern(globPattern) {
170124
- if (platform3() === "win32") {
170383
+ if (platform4() === "win32") {
170125
170384
  return globPattern.replaceAll("\\", "/");
170126
170385
  }
170127
170386
  return globPattern;
@@ -172236,9 +172495,9 @@ var SortOrder;
172236
172495
  SortOrder2["DESC"] = "DESC";
172237
172496
  })(SortOrder || (SortOrder = {}));
172238
172497
  var RequestedFields;
172239
- (function(RequestedFields2) {
172240
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
172241
- RequestedFields2["CREATED_BY_DATA"] = "CREATED_BY_DATA";
172498
+ (function(RequestedFields3) {
172499
+ RequestedFields3["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
172500
+ RequestedFields3["CREATED_BY_DATA"] = "CREATED_BY_DATA";
172242
172501
  })(RequestedFields || (RequestedFields = {}));
172243
172502
  var SubjectType;
172244
172503
  (function(SubjectType2) {
@@ -172270,12 +172529,12 @@ var JoinedConditionOperator;
172270
172529
  JoinedConditionOperator2["AND"] = "AND";
172271
172530
  })(JoinedConditionOperator || (JoinedConditionOperator = {}));
172272
172531
  var WebhookIdentityType2;
172273
- (function(WebhookIdentityType4) {
172274
- WebhookIdentityType4["UNKNOWN"] = "UNKNOWN";
172275
- WebhookIdentityType4["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
172276
- WebhookIdentityType4["MEMBER"] = "MEMBER";
172277
- WebhookIdentityType4["WIX_USER"] = "WIX_USER";
172278
- WebhookIdentityType4["APP"] = "APP";
172532
+ (function(WebhookIdentityType5) {
172533
+ WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
172534
+ WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
172535
+ WebhookIdentityType5["MEMBER"] = "MEMBER";
172536
+ WebhookIdentityType5["WIX_USER"] = "WIX_USER";
172537
+ WebhookIdentityType5["APP"] = "APP";
172279
172538
  })(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
172280
172539
 
172281
172540
  // ../../node_modules/@wix/ambassador-devcenter-dsm-v1-development-site/build/es/http.impl.js
@@ -173306,6 +173565,206 @@ function managedApps(payload4) {
173306
173565
  return __managedApps;
173307
173566
  }
173308
173567
 
173568
+ // ../../node_modules/@wix/ambassador-devcenter-apps-companionapps-v1-companion-app/es/build/http.impl.js
173569
+ init_esm_shims();
173570
+ var _companionApp = { createdDate: "google.protobuf.Timestamp" };
173571
+ var _getOrCreateCompanionAppRequest = {};
173572
+ var _getOrCreateCompanionAppResponse = { companionApp: "_companionApp" };
173573
+ function resolveWixDevcenterAppsCompanionappsV1CompanionAppsUrl(opts) {
173574
+ var domainToMappings = {
173575
+ "manage._base_domain_": [
173576
+ {
173577
+ srcPath: "/_api/companion-apps",
173578
+ destPath: ""
173579
+ }
173580
+ ]
173581
+ };
173582
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
173583
+ }
173584
+ function getOrCreateCompanionApp(payload4) {
173585
+ var _a2 = serializer(_getOrCreateCompanionAppRequest, {}), toReq = _a2.toJSON, fromReq = _a2.fromJSON;
173586
+ var fromRes = serializer(_getOrCreateCompanionAppResponse, {
173587
+ _companionApp
173588
+ }).fromJSON;
173589
+ function __getOrCreateCompanionApp(_a3) {
173590
+ var host = _a3.host;
173591
+ var serializedData = toReq(payload4);
173592
+ var metadata = {
173593
+ entityFqdn: "wix.devcenter.apps_companionapps.v1.companion_app",
173594
+ method: "POST",
173595
+ methodFqn: "wix.devcenter.apps.companionapps.v1.CompanionApps.GetOrCreateCompanionApp",
173596
+ migrationOptions: {
173597
+ optInTransformResponse: true
173598
+ },
173599
+ url: resolveWixDevcenterAppsCompanionappsV1CompanionAppsUrl({
173600
+ protoPath: "/v1/companion-apps/get-or-create",
173601
+ data: serializedData,
173602
+ host
173603
+ }),
173604
+ data: serializedData,
173605
+ transformResponse: fromRes
173606
+ };
173607
+ return metadata;
173608
+ }
173609
+ __getOrCreateCompanionApp.fromReq = fromReq;
173610
+ __getOrCreateCompanionApp.__isAmbassador = true;
173611
+ return __getOrCreateCompanionApp;
173612
+ }
173613
+
173614
+ // ../../node_modules/@wix/ambassador-apps-v1-app-instance/es/build/http.impl.js
173615
+ init_esm_shims();
173616
+ var _installAppRequest = { appInstance: "_v1AppInstance" };
173617
+ var _installAppResponse = {
173618
+ appInstance: "_v1AppInstance",
173619
+ dependenciesInstallation: "_v1AppInstance"
173620
+ };
173621
+ var _v1AppInstance = {
173622
+ installedDate: "google.protobuf.Timestamp",
173623
+ updatedDate: "google.protobuf.Timestamp"
173624
+ };
173625
+ function resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl(opts) {
173626
+ var domainToMappings = {
173627
+ "manage._base_domain_": [
173628
+ {
173629
+ srcPath: "/apps-installer-service",
173630
+ destPath: ""
173631
+ }
173632
+ ],
173633
+ "editor._base_domain_": [
173634
+ {
173635
+ srcPath: "/apps-installer-service",
173636
+ destPath: ""
173637
+ }
173638
+ ],
173639
+ "blocks._base_domain_": [
173640
+ {
173641
+ srcPath: "/apps-installer-service",
173642
+ destPath: ""
173643
+ }
173644
+ ],
173645
+ "create.editorx": [
173646
+ {
173647
+ srcPath: "/apps-installer-service",
173648
+ destPath: ""
173649
+ }
173650
+ ],
173651
+ "dev._base_domain_": [
173652
+ {
173653
+ srcPath: "/apps-installer-service",
173654
+ destPath: ""
173655
+ }
173656
+ ],
173657
+ "www.wixapis.com": [
173658
+ {
173659
+ srcPath: "/apps-installer-service",
173660
+ destPath: ""
173661
+ }
173662
+ ],
173663
+ "*.dev.wix-code.com": [
173664
+ {
173665
+ srcPath: "/apps/v1/app-instances",
173666
+ destPath: ""
173667
+ }
173668
+ ],
173669
+ _: [
173670
+ {
173671
+ srcPath: "/apps/v1/app-instances",
173672
+ destPath: ""
173673
+ }
173674
+ ],
173675
+ "bo._base_domain_": [
173676
+ {
173677
+ srcPath: "/_api/apps-installer-service",
173678
+ destPath: ""
173679
+ }
173680
+ ],
173681
+ "wixbo.ai": [
173682
+ {
173683
+ srcPath: "/_api/apps-installer-service",
173684
+ destPath: ""
173685
+ }
173686
+ ],
173687
+ "wix-bo.com": [
173688
+ {
173689
+ srcPath: "/_api/apps-installer-service",
173690
+ destPath: ""
173691
+ }
173692
+ ],
173693
+ "vibe._base_domain_": [
173694
+ {
173695
+ srcPath: "/_api/apps-installer-service",
173696
+ destPath: ""
173697
+ }
173698
+ ]
173699
+ };
173700
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
173701
+ }
173702
+ function installApp(payload4) {
173703
+ var _a2 = serializer(_installAppRequest, {
173704
+ _v1AppInstance
173705
+ }), toReq = _a2.toJSON, fromReq = _a2.fromJSON;
173706
+ var fromRes = serializer(_installAppResponse, {
173707
+ _v1AppInstance
173708
+ }).fromJSON;
173709
+ function __installApp(_a3) {
173710
+ var host = _a3.host;
173711
+ var serializedData = toReq(payload4);
173712
+ var metadata = {
173713
+ entityFqdn: "wix.apps.v1.app_instance",
173714
+ method: "POST",
173715
+ methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp",
173716
+ migrationOptions: {
173717
+ optInTransformResponse: true
173718
+ },
173719
+ url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
173720
+ protoPath: "/v1/app-instance/install",
173721
+ data: serializedData,
173722
+ host
173723
+ }),
173724
+ data: serializedData,
173725
+ transformResponse: fromRes
173726
+ };
173727
+ return metadata;
173728
+ }
173729
+ __installApp.fromReq = fromReq;
173730
+ __installApp.__isAmbassador = true;
173731
+ return __installApp;
173732
+ }
173733
+
173734
+ // ../../node_modules/@wix/ambassador-apps-v1-app-instance/es/build/types.impl.js
173735
+ init_esm_shims();
173736
+ var WebhookIdentityType3;
173737
+ (function(WebhookIdentityType5) {
173738
+ WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
173739
+ WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
173740
+ WebhookIdentityType5["MEMBER"] = "MEMBER";
173741
+ WebhookIdentityType5["WIX_USER"] = "WIX_USER";
173742
+ WebhookIdentityType5["APP"] = "APP";
173743
+ })(WebhookIdentityType3 || (WebhookIdentityType3 = {}));
173744
+ var InstallType;
173745
+ (function(InstallType2) {
173746
+ InstallType2["UNKNOWN_INSTALL_TYPE"] = "UNKNOWN_INSTALL_TYPE";
173747
+ InstallType2["APPS_INSTALL"] = "APPS_INSTALL";
173748
+ InstallType2["SHARE_URL_INSTALL"] = "SHARE_URL_INSTALL";
173749
+ })(InstallType || (InstallType = {}));
173750
+ var RequestedFields2;
173751
+ (function(RequestedFields3) {
173752
+ RequestedFields3["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
173753
+ RequestedFields3["CLIENT_SPEC_MAP"] = "CLIENT_SPEC_MAP";
173754
+ })(RequestedFields2 || (RequestedFields2 = {}));
173755
+ var V1Status;
173756
+ (function(V1Status2) {
173757
+ V1Status2["UNKNOWN"] = "UNKNOWN";
173758
+ V1Status2["WAITING_FOR_OAUTH"] = "WAITING_FOR_OAUTH";
173759
+ V1Status2["AUTHENTICATED"] = "AUTHENTICATED";
173760
+ V1Status2["DIDNT_COMPLETE_PAYMENT"] = "DIDNT_COMPLETE_PAYMENT";
173761
+ })(V1Status || (V1Status = {}));
173762
+ var V1TenantType;
173763
+ (function(V1TenantType2) {
173764
+ V1TenantType2["SITE"] = "SITE";
173765
+ V1TenantType2["ACCOUNT"] = "ACCOUNT";
173766
+ })(V1TenantType || (V1TenantType = {}));
173767
+
173309
173768
  // ../../node_modules/@wix/ambassador-devcenter-managedapps-v1-managed-app/build/es/types.impl.js
173310
173769
  init_esm_shims();
173311
173770
  var UninstallActions2;
@@ -176105,14 +176564,14 @@ var VersionType;
176105
176564
  VersionType2["LATEST_VERSION"] = "LATEST_VERSION";
176106
176565
  VersionType2["DEV_VERSION"] = "DEV_VERSION";
176107
176566
  })(VersionType || (VersionType = {}));
176108
- var WebhookIdentityType3;
176109
- (function(WebhookIdentityType4) {
176110
- WebhookIdentityType4["UNKNOWN"] = "UNKNOWN";
176111
- WebhookIdentityType4["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
176112
- WebhookIdentityType4["MEMBER"] = "MEMBER";
176113
- WebhookIdentityType4["WIX_USER"] = "WIX_USER";
176114
- WebhookIdentityType4["APP"] = "APP";
176115
- })(WebhookIdentityType3 || (WebhookIdentityType3 = {}));
176567
+ var WebhookIdentityType4;
176568
+ (function(WebhookIdentityType5) {
176569
+ WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
176570
+ WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
176571
+ WebhookIdentityType5["MEMBER"] = "MEMBER";
176572
+ WebhookIdentityType5["WIX_USER"] = "WIX_USER";
176573
+ WebhookIdentityType5["APP"] = "APP";
176574
+ })(WebhookIdentityType4 || (WebhookIdentityType4 = {}));
176116
176575
 
176117
176576
  // ../dev-center-client/src/schemas.ts
176118
176577
  init_esm_shims();
@@ -176330,6 +176789,16 @@ var setNamespaceSchema = external_exports.object({
176330
176789
  var setCodeIdentifierSchema = external_exports.object({
176331
176790
  codeIdentifier: external_exports.string()
176332
176791
  });
176792
+ var createCompanionAppSchema = external_exports.object({
176793
+ companionApp: external_exports.object({
176794
+ id: external_exports.string()
176795
+ })
176796
+ });
176797
+ var installAppSchema = external_exports.object({
176798
+ appInstance: external_exports.object({
176799
+ id: external_exports.string()
176800
+ })
176801
+ });
176333
176802
 
176334
176803
  // ../dev-center-client/src/dev-center-client.ts
176335
176804
  var EMPTY_SITE_TEMPLATE = "24bafe8a-7c80-4b63-8a71-08752062f246";
@@ -176392,6 +176861,20 @@ var DevCenterClient = class {
176392
176861
  });
176393
176862
  }
176394
176863
  };
176864
+ createCompanionApp = async () => {
176865
+ try {
176866
+ const { data } = await pRetry(
176867
+ () => this.httpClient.request(getOrCreateCompanionApp({})),
176868
+ this.retryOptions
176869
+ );
176870
+ return createCompanionAppSchema.parse(data).companionApp;
176871
+ } catch (e2) {
176872
+ throw new CliError({
176873
+ code: CliErrorCode.FailedToCreateCompanionApp(),
176874
+ cause: e2
176875
+ });
176876
+ }
176877
+ };
176395
176878
  setNamespace = async ({ appId, namespace }) => {
176396
176879
  try {
176397
176880
  const { data } = await this.httpClient.request(
@@ -176760,6 +177243,30 @@ var DevCenterClient = class {
176760
177243
  });
176761
177244
  }
176762
177245
  };
177246
+ installApp = async (siteId, appId) => {
177247
+ try {
177248
+ const { data } = await pRetry(
177249
+ () => this.httpClient.request(
177250
+ installApp({
177251
+ tenant: {
177252
+ id: siteId,
177253
+ tenantType: V1TenantType.SITE
177254
+ },
177255
+ appInstance: {
177256
+ appDefId: appId
177257
+ }
177258
+ })
177259
+ ),
177260
+ this.retryOptions
177261
+ );
177262
+ return installAppSchema.parse(data);
177263
+ } catch (e2) {
177264
+ throw new CliError({
177265
+ code: CliErrorCode.FailedToInstallApp({ appId, siteId }),
177266
+ cause: e2
177267
+ });
177268
+ }
177269
+ };
176763
177270
  isAppInstalled = async (appId) => {
176764
177271
  const installationDetails = await this.getAppInstallationDetails(appId);
176765
177272
  return installationDetails?.group === AppGroup.PENDING || installationDetails?.group === AppGroup.INSTALLED;
@@ -177002,7 +177509,7 @@ import nodePath2 from "node:path";
177002
177509
  init_esm_shims();
177003
177510
  var import_fast_glob3 = __toESM(require_out4(), 1);
177004
177511
  var import_ignore3 = __toESM(require_ignore2(), 1);
177005
- import process24 from "node:process";
177512
+ import process28 from "node:process";
177006
177513
  import fs9 from "node:fs";
177007
177514
  import path3 from "node:path";
177008
177515
 
@@ -177071,7 +177578,7 @@ var getIsIgnoredPredicate2 = (files, cwd2) => {
177071
177578
  };
177072
177579
  };
177073
177580
  var normalizeOptions5 = (options = {}) => ({
177074
- cwd: toPath2(options.cwd) || process24.cwd(),
177581
+ cwd: toPath2(options.cwd) || process28.cwd(),
177075
177582
  suppressErrors: Boolean(options.suppressErrors),
177076
177583
  deep: typeof options.deep === "number" ? options.deep : Number.POSITIVE_INFINITY
177077
177584
  });
@@ -180302,4 +180809,4 @@ mustache/mustache.mjs:
180302
180809
  * http://github.com/janl/mustache.js
180303
180810
  *)
180304
180811
  */
180305
- //# sourceMappingURL=chunk-6UH4CYS3.js.map
180812
+ //# sourceMappingURL=chunk-JISET5NS.js.map