@shopify/cli 3.85.4 → 3.86.0

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 (101) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/index-Cj8WCHlM.js +64 -0
  2. package/dist/assets/dev-console/index.html +1 -1
  3. package/dist/assets/hydrogen/starter/package.json +1 -1
  4. package/dist/{brotli-EDFLSXX4.js → brotli-2OKV26Y6.js} +3 -3
  5. package/dist/{chunk-5AUZG65U.js → chunk-2KZOUSPH.js} +5 -5
  6. package/dist/{chunk-BQ3PZIHZ.js → chunk-4MSYMXAX.js} +16 -16
  7. package/dist/{chunk-M6DL6PW7.js → chunk-4TSN5PHA.js} +3 -3
  8. package/dist/{chunk-CBUCMJTB.js → chunk-4YT3BY2B.js} +2 -2
  9. package/dist/{chunk-2H6AD4EL.js → chunk-5Q7CDSRK.js} +6 -6
  10. package/dist/{chunk-EPNYJUKL.js → chunk-5RBPM5MR.js} +205 -183
  11. package/dist/{chunk-UATXMR5F.js → chunk-6FH6AJI5.js} +3 -3
  12. package/dist/{chunk-75LV6AQS.js → chunk-6ONJEX7Y.js} +8 -8
  13. package/dist/{chunk-GMOJ4MM6.js → chunk-6UMZO4DD.js} +5 -5
  14. package/dist/{chunk-W7V5E5TL.js → chunk-7TE554OT.js} +17 -17
  15. package/dist/{chunk-ON22YJEB.js → chunk-7VKRIIXT.js} +7 -7
  16. package/dist/{chunk-QCCEM2W7.js → chunk-AA57B6YW.js} +3 -3
  17. package/dist/{chunk-BRYTLGQH.js → chunk-AQK2VHTY.js} +3 -3
  18. package/dist/{chunk-SJ6XHMPR.js → chunk-DKRTUP7T.js} +2 -2
  19. package/dist/{chunk-JXSJVKPK.js → chunk-E25JAFOX.js} +3 -3
  20. package/dist/{chunk-Y2JP6WFP.js → chunk-EG6MBBEN.js} +2 -2
  21. package/dist/{chunk-IG5SOACB.js → chunk-F2V6FX7R.js} +3 -3
  22. package/dist/{chunk-JDGRN7YI.js → chunk-G3RY2PNL.js} +4 -4
  23. package/dist/{chunk-QDQ64PMY.js → chunk-GAPPN3SH.js} +3 -3
  24. package/dist/{chunk-DBQFPT3U.js → chunk-GU76E24D.js} +7 -7
  25. package/dist/{chunk-Y2BC44O5.js → chunk-IZMUO44N.js} +5 -5
  26. package/dist/{chunk-2XTIBWBA.js → chunk-J5WELXX6.js} +3 -3
  27. package/dist/{chunk-34TWZ632.js → chunk-JMQJQNH7.js} +146 -125
  28. package/dist/{chunk-DEMUK3QR.js → chunk-KIMPXWRC.js} +7 -7
  29. package/dist/{chunk-XXIM3XSO.js → chunk-LDFPMZVN.js} +2 -2
  30. package/dist/{chunk-5JFU2PDH.js → chunk-LDJGMHXE.js} +4 -4
  31. package/dist/{chunk-XQMRWA2D.js → chunk-LOWKEYZ4.js} +2 -2
  32. package/dist/{chunk-3762O47V.js → chunk-LPSHXR57.js} +2 -2
  33. package/dist/{chunk-S5H4ZYTZ.js → chunk-NIZJP24I.js} +4 -4
  34. package/dist/{chunk-VOXGVQ4Y.js → chunk-NMH42STK.js} +28 -20
  35. package/dist/{chunk-NIJYJVQ7.js → chunk-O32LAXNO.js} +584 -586
  36. package/dist/{chunk-XEG67XNW.js → chunk-PFWYGIIB.js} +4 -4
  37. package/dist/{chunk-B5EXYCV3.js → chunk-Q2H6D2MH.js} +5 -5
  38. package/dist/{chunk-VVHZTHIS.js → chunk-TCTK5NQE.js} +8 -8
  39. package/dist/{chunk-UTGZE4KZ.js → chunk-UAYSVXRU.js} +82 -31
  40. package/dist/{chunk-OYGH5GC4.js → chunk-UKECTTQZ.js} +2 -2
  41. package/dist/{chunk-P24ZSULK.js → chunk-UXJEPFC3.js} +3 -3
  42. package/dist/{chunk-3JZIRVBB.js → chunk-WZTQS5NN.js} +47 -41
  43. package/dist/{chunk-F7F4BQYW.js → chunk-X2YIODUW.js} +56 -58
  44. package/dist/{chunk-25IMI7TH.js → chunk-XD3LXUGW.js} +5 -5
  45. package/dist/{chunk-2C6DJIBX.js → chunk-ZRLTG3SU.js} +4 -4
  46. package/dist/{chunk-QCVEBMJO.js → chunk-ZZGMPT2W.js} +3 -3
  47. package/dist/cli/commands/auth/login.js +16 -16
  48. package/dist/cli/commands/auth/login.test.js +18 -18
  49. package/dist/cli/commands/auth/logout.js +16 -16
  50. package/dist/cli/commands/auth/logout.test.js +18 -18
  51. package/dist/cli/commands/cache/clear.js +16 -16
  52. package/dist/cli/commands/debug/command-flags.js +16 -16
  53. package/dist/cli/commands/docs/generate.js +16 -16
  54. package/dist/cli/commands/docs/generate.test.js +17 -17
  55. package/dist/cli/commands/help.js +16 -16
  56. package/dist/cli/commands/kitchen-sink/async.js +17 -17
  57. package/dist/cli/commands/kitchen-sink/async.test.js +18 -18
  58. package/dist/cli/commands/kitchen-sink/index.js +19 -19
  59. package/dist/cli/commands/kitchen-sink/index.test.js +20 -20
  60. package/dist/cli/commands/kitchen-sink/prompts.js +17 -17
  61. package/dist/cli/commands/kitchen-sink/prompts.test.js +18 -18
  62. package/dist/cli/commands/kitchen-sink/static.js +17 -17
  63. package/dist/cli/commands/kitchen-sink/static.test.js +18 -18
  64. package/dist/cli/commands/notifications/generate.js +17 -17
  65. package/dist/cli/commands/notifications/list.js +17 -17
  66. package/dist/cli/commands/search.js +17 -17
  67. package/dist/cli/commands/upgrade.js +17 -17
  68. package/dist/cli/commands/upgrade.test.js +1 -1
  69. package/dist/cli/commands/version.js +17 -17
  70. package/dist/cli/commands/version.test.js +18 -18
  71. package/dist/cli/services/commands/notifications.js +12 -12
  72. package/dist/cli/services/commands/search.js +7 -7
  73. package/dist/cli/services/commands/search.test.js +8 -8
  74. package/dist/cli/services/commands/version.js +8 -8
  75. package/dist/cli/services/commands/version.test.js +10 -10
  76. package/dist/cli/services/kitchen-sink/async.js +7 -7
  77. package/dist/cli/services/kitchen-sink/prompts.js +7 -7
  78. package/dist/cli/services/kitchen-sink/static.js +7 -7
  79. package/dist/cli/services/upgrade.js +8 -8
  80. package/dist/cli/services/upgrade.test.js +10 -10
  81. package/dist/{custom-oclif-loader-OFIEXBNK.js → custom-oclif-loader-Y4GWKKAU.js} +7 -7
  82. package/dist/{del-DNZ7X2HW.js → del-DIPVIUR3.js} +3 -3
  83. package/dist/{error-handler-FHZMF7GS.js → error-handler-WPYX52XY.js} +14 -14
  84. package/dist/hooks/postrun.js +12 -12
  85. package/dist/hooks/prerun.js +13 -13
  86. package/dist/{http-proxy-node16-T623PGD4.js → http-proxy-node16-K5X7BUK5.js} +3 -3
  87. package/dist/index.js +1659 -2642
  88. package/dist/{lib-DEEC6IKU.js → lib-EMZRCLCJ.js} +3 -3
  89. package/dist/{lib-JVEIEXYB.js → lib-WHI5XOGD.js} +2 -2
  90. package/dist/{local-4MIY74VR.js → local-ZMOSXANE.js} +7 -7
  91. package/dist/{morph-D4BXY376.js → morph-EGK76SED.js} +17 -18
  92. package/dist/{multipart-parser-WSNBP656.js → multipart-parser-IYYNISJK.js} +2 -2
  93. package/dist/{node-package-manager-H6KF4PH6.js → node-package-manager-4KOKGFQG.js} +8 -8
  94. package/dist/{path-COZT77T2.js → path-GB4VIEM6.js} +2 -2
  95. package/dist/{source-map-QCVC46UY.js → source-map-UFUVQCYE.js} +5 -5
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/dist/{ui-R3FDFL2U.js → ui-YYVT2VLD.js} +7 -7
  98. package/dist/{workerd-JVZ57YOV.js → workerd-35SAC4OI.js} +18 -18
  99. package/oclif.manifest.json +17 -104
  100. package/package.json +8 -12
  101. package/dist/assets/dev-console/extensions/dev-console/assets/index-ohOjvIJh.js +0 -64
@@ -3,19 +3,19 @@ import {
3
3
  require_brace_expansion,
4
4
  require_lib,
5
5
  require_semver
6
- } from "./chunk-F7F4BQYW.js";
6
+ } from "./chunk-X2YIODUW.js";
7
7
  import {
8
8
  require_has_flag
9
9
  } from "./chunk-UMUTXITN.js";
10
10
  import {
11
11
  require_source_map
12
- } from "./chunk-UATXMR5F.js";
12
+ } from "./chunk-6FH6AJI5.js";
13
13
  import {
14
14
  require_lib as require_lib2
15
- } from "./chunk-B5EXYCV3.js";
15
+ } from "./chunk-Q2H6D2MH.js";
16
16
  import {
17
17
  require_graceful_fs
18
- } from "./chunk-75LV6AQS.js";
18
+ } from "./chunk-6ONJEX7Y.js";
19
19
  import {
20
20
  cwd,
21
21
  delimiter,
@@ -24,7 +24,7 @@ import {
24
24
  normalizePath,
25
25
  relativizePath,
26
26
  sniffForPath
27
- } from "./chunk-Y2JP6WFP.js";
27
+ } from "./chunk-EG6MBBEN.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __esm,
@@ -303,10 +303,10 @@ var require_coreJsData = __commonJS({
303
303
  var require_isMasked = __commonJS({
304
304
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js"(exports, module) {
305
305
  init_cjs_shims();
306
- var coreJsData = require_coreJsData(), maskSrcKey = function() {
306
+ var coreJsData = require_coreJsData(), maskSrcKey = (function() {
307
307
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
308
308
  return uid ? "Symbol(src)_1." + uid : "";
309
- }();
309
+ })();
310
310
  function isMasked(func) {
311
311
  return !!maskSrcKey && maskSrcKey in func;
312
312
  }
@@ -933,9 +933,9 @@ var require_baseIsArguments = __commonJS({
933
933
  var require_isArguments = __commonJS({
934
934
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js"(exports, module) {
935
935
  init_cjs_shims();
936
- var baseIsArguments = require_baseIsArguments(), isObjectLike = require_isObjectLike(), objectProto = Object.prototype, hasOwnProperty = objectProto.hasOwnProperty, propertyIsEnumerable = objectProto.propertyIsEnumerable, isArguments = baseIsArguments(/* @__PURE__ */ function() {
936
+ var baseIsArguments = require_baseIsArguments(), isObjectLike = require_isObjectLike(), objectProto = Object.prototype, hasOwnProperty = objectProto.hasOwnProperty, propertyIsEnumerable = objectProto.propertyIsEnumerable, isArguments = baseIsArguments(/* @__PURE__ */ (function() {
937
937
  return arguments;
938
- }()) ? baseIsArguments : function(value) {
938
+ })()) ? baseIsArguments : function(value) {
939
939
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
940
940
  };
941
941
  module.exports = isArguments;
@@ -1018,13 +1018,13 @@ var require_baseUnary = __commonJS({
1018
1018
  var require_nodeUtil = __commonJS({
1019
1019
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js"(exports, module) {
1020
1020
  init_cjs_shims();
1021
- var freeGlobal = require_freeGlobal(), freeExports = typeof exports == "object" && exports && !exports.nodeType && exports, freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module, moduleExports = freeModule && freeModule.exports === freeExports, freeProcess = moduleExports && freeGlobal.process, nodeUtil = function() {
1021
+ var freeGlobal = require_freeGlobal(), freeExports = typeof exports == "object" && exports && !exports.nodeType && exports, freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module, moduleExports = freeModule && freeModule.exports === freeExports, freeProcess = moduleExports && freeGlobal.process, nodeUtil = (function() {
1022
1022
  try {
1023
1023
  var types2 = freeModule && freeModule.require && freeModule.require("util").types;
1024
1024
  return types2 || freeProcess && freeProcess.binding && freeProcess.binding("util");
1025
1025
  } catch {
1026
1026
  }
1027
- }();
1027
+ })();
1028
1028
  module.exports = nodeUtil;
1029
1029
  }
1030
1030
  });
@@ -1929,13 +1929,13 @@ var require_constant = __commonJS({
1929
1929
  var require_defineProperty = __commonJS({
1930
1930
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js"(exports, module) {
1931
1931
  init_cjs_shims();
1932
- var getNative = require_getNative(), defineProperty = function() {
1932
+ var getNative = require_getNative(), defineProperty = (function() {
1933
1933
  try {
1934
1934
  var func = getNative(Object, "defineProperty");
1935
1935
  return func({}, "", {}), func;
1936
1936
  } catch {
1937
1937
  }
1938
- }();
1938
+ })();
1939
1939
  module.exports = defineProperty;
1940
1940
  }
1941
1941
  });
@@ -2426,18 +2426,18 @@ var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _Supp
2426
2426
  return t;
2427
2427
  }, __assign.apply(this, arguments);
2428
2428
  };
2429
- __createBinding = Object.create ? function(o, m, k, k2) {
2429
+ __createBinding = Object.create ? (function(o, m, k, k2) {
2430
2430
  k2 === void 0 && (k2 = k);
2431
2431
  var desc = Object.getOwnPropertyDescriptor(m, k);
2432
2432
  (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
2433
2433
  return m[k];
2434
2434
  } }), Object.defineProperty(o, k2, desc);
2435
- } : function(o, m, k, k2) {
2435
+ }) : (function(o, m, k, k2) {
2436
2436
  k2 === void 0 && (k2 = k), o[k2] = m[k];
2437
- };
2438
- __setModuleDefault = Object.create ? function(o, v) {
2437
+ });
2438
+ __setModuleDefault = Object.create ? (function(o, v) {
2439
2439
  Object.defineProperty(o, "default", { enumerable: !0, value: v });
2440
- } : function(o, v) {
2440
+ }) : function(o, v) {
2441
2441
  o.default = v;
2442
2442
  }, ownKeys = function(o) {
2443
2443
  return ownKeys = Object.getOwnPropertyNames || function(o2) {
@@ -5201,7 +5201,7 @@ var require_react_development = __commonJS({
5201
5201
  "../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"(exports, module) {
5202
5202
  "use strict";
5203
5203
  init_cjs_shims();
5204
- process.env.NODE_ENV !== "production" && function() {
5204
+ process.env.NODE_ENV !== "production" && (function() {
5205
5205
  "use strict";
5206
5206
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
5207
5207
  var ReactVersion = "18.3.1", REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, FAUX_ITERATOR_SYMBOL = "@@iterator";
@@ -6455,7 +6455,7 @@ Check the top-level render call using <` + parentName + ">.");
6455
6455
  only: onlyChild
6456
6456
  };
6457
6457
  exports.Children = Children, exports.Component = Component, exports.Fragment = REACT_FRAGMENT_TYPE, exports.Profiler = REACT_PROFILER_TYPE, exports.PureComponent = PureComponent2, exports.StrictMode = REACT_STRICT_MODE_TYPE, exports.Suspense = REACT_SUSPENSE_TYPE, exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals, exports.act = act, exports.cloneElement = cloneElement$1, exports.createContext = createContext6, exports.createElement = createElement$1, exports.createFactory = createFactory, exports.createRef = createRef, exports.forwardRef = forwardRef3, exports.isValidElement = isValidElement, exports.lazy = lazy, exports.memo = memo2, exports.startTransition = startTransition, exports.unstable_act = act, exports.useCallback = useCallback10, exports.useContext = useContext9, exports.useDebugValue = useDebugValue, exports.useDeferredValue = useDeferredValue, exports.useEffect = useEffect12, exports.useId = useId, exports.useImperativeHandle = useImperativeHandle, exports.useInsertionEffect = useInsertionEffect, exports.useLayoutEffect = useLayoutEffect6, exports.useMemo = useMemo5, exports.useReducer = useReducer2, exports.useRef = useRef5, exports.useState = useState15, exports.useSyncExternalStore = useSyncExternalStore, exports.useTransition = useTransition, exports.version = ReactVersion, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
6458
- }();
6458
+ })();
6459
6459
  }
6460
6460
  });
6461
6461
 
@@ -7208,7 +7208,7 @@ var require_scheduler_development = __commonJS({
7208
7208
  "../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js"(exports) {
7209
7209
  "use strict";
7210
7210
  init_cjs_shims();
7211
- process.env.NODE_ENV !== "production" && function() {
7211
+ process.env.NODE_ENV !== "production" && (function() {
7212
7212
  "use strict";
7213
7213
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
7214
7214
  var enableSchedulerDebugging = !1, enableProfiling = !1, frameYieldMs = 5;
@@ -7476,7 +7476,7 @@ var require_scheduler_development = __commonJS({
7476
7476
  }
7477
7477
  var unstable_requestPaint = requestPaint, unstable_Profiling = null;
7478
7478
  exports.unstable_IdlePriority = IdlePriority, exports.unstable_ImmediatePriority = ImmediatePriority, exports.unstable_LowPriority = LowPriority, exports.unstable_NormalPriority = NormalPriority, exports.unstable_Profiling = unstable_Profiling, exports.unstable_UserBlockingPriority = UserBlockingPriority, exports.unstable_cancelCallback = unstable_cancelCallback, exports.unstable_continueExecution = unstable_continueExecution, exports.unstable_forceFrameRate = forceFrameRate, exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel, exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode, exports.unstable_next = unstable_next, exports.unstable_pauseExecution = unstable_pauseExecution, exports.unstable_requestPaint = unstable_requestPaint, exports.unstable_runWithPriority = unstable_runWithPriority, exports.unstable_scheduleCallback = unstable_scheduleCallback, exports.unstable_shouldYield = shouldYieldToHost, exports.unstable_wrapCallback = unstable_wrapCallback, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
7479
- }();
7479
+ })();
7480
7480
  }
7481
7481
  });
7482
7482
 
@@ -20474,7 +20474,7 @@ var require_react_reconciler_constants_development = __commonJS({
20474
20474
  "../../node_modules/.pnpm/react-reconciler@0.29.2_react@18.3.1/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js"(exports) {
20475
20475
  "use strict";
20476
20476
  init_cjs_shims();
20477
- process.env.NODE_ENV !== "production" && function() {
20477
+ process.env.NODE_ENV !== "production" && (function() {
20478
20478
  "use strict";
20479
20479
  var SyncLane = (
20480
20480
  /* */
@@ -20490,7 +20490,7 @@ var require_react_reconciler_constants_development = __commonJS({
20490
20490
  536870912
20491
20491
  ), DiscreteEventPriority = SyncLane, ContinuousEventPriority = InputContinuousLane, DefaultEventPriority2 = DefaultLane, IdleEventPriority = IdleLane, LegacyRoot = 0, ConcurrentRoot = 1;
20492
20492
  exports.ConcurrentRoot = ConcurrentRoot, exports.ContinuousEventPriority = ContinuousEventPriority, exports.DefaultEventPriority = DefaultEventPriority2, exports.DiscreteEventPriority = DiscreteEventPriority, exports.IdleEventPriority = IdleEventPriority, exports.LegacyRoot = LegacyRoot;
20493
- }();
20493
+ })();
20494
20494
  }
20495
20495
  });
20496
20496
 
@@ -20903,10 +20903,10 @@ var require_cjs = __commonJS({
20903
20903
  exports.__esModule = !0;
20904
20904
  var helpers = require_helpers(), setPrototypeOf = helpers.setPrototypeOf, getPrototypeOf = helpers.getPrototypeOf, defineProperty = helpers.defineProperty, objectCreate = helpers.objectCreate, uglyErrorPrinting = new Error().toString() === "[object Error]", extendableErrorName = "";
20905
20905
  function ExtendableError2(message) {
20906
- var originalConstructor = this.constructor, constructorName = originalConstructor.name || function() {
20906
+ var originalConstructor = this.constructor, constructorName = originalConstructor.name || (function() {
20907
20907
  var constructorNameMatch = originalConstructor.toString().match(/^function\s*([^\s(]+)/);
20908
20908
  return constructorNameMatch === null ? extendableErrorName || "Error" : constructorNameMatch[1];
20909
- }(), constructorNameIsError = constructorName === "Error", name = constructorNameIsError ? extendableErrorName : constructorName, instance = Error.apply(this, arguments);
20909
+ })(), constructorNameIsError = constructorName === "Error", name = constructorNameIsError ? extendableErrorName : constructorName, instance = Error.apply(this, arguments);
20910
20910
  if (setPrototypeOf(instance, getPrototypeOf(this)), !(instance instanceof originalConstructor) || !(instance instanceof ExtendableError2)) {
20911
20911
  var instance = this;
20912
20912
  Error.apply(this, arguments), defineProperty(instance, "message", {
@@ -21274,7 +21274,7 @@ var require_printable_characters = __commonJS({
21274
21274
  "../../node_modules/.pnpm/printable-characters@1.0.42/node_modules/printable-characters/build/printable-characters.js"(exports, module) {
21275
21275
  "use strict";
21276
21276
  init_cjs_shims();
21277
- var _slicedToArray = /* @__PURE__ */ function() {
21277
+ var _slicedToArray = /* @__PURE__ */ (function() {
21278
21278
  function sliceIterator(arr, i) {
21279
21279
  var _arr = [], _n = !0, _d = !1, _e = void 0;
21280
21280
  try {
@@ -21298,7 +21298,7 @@ var require_printable_characters = __commonJS({
21298
21298
  return sliceIterator(arr, i);
21299
21299
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
21300
21300
  };
21301
- }(), ansiEscapeCode = "[\x1B\x9B][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]", zeroWidthCharacterExceptNewline = "\0-\b\v-\x1B\x9B\xAD\u200B\u2028\u2029\uFEFF\uFE00-\uFE0F", zeroWidthCharacter = `
21301
+ })(), ansiEscapeCode = "[\x1B\x9B][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]", zeroWidthCharacterExceptNewline = "\0-\b\v-\x1B\x9B\xAD\u200B\u2028\u2029\uFEFF\uFE00-\uFE0F", zeroWidthCharacter = `
21302
21302
  ` + zeroWidthCharacterExceptNewline, zeroWidthCharactersExceptNewline = new RegExp("(?:" + ansiEscapeCode + ")|[" + zeroWidthCharacterExceptNewline + "]", "g"), zeroWidthCharacters = new RegExp("(?:" + ansiEscapeCode + ")|[" + zeroWidthCharacter + "]", "g"), partition = new RegExp("((?:" + ansiEscapeCode + ")|[ " + zeroWidthCharacter + "])?([^ " + zeroWidthCharacter + "]*)", "g");
21303
21303
  module.exports = {
21304
21304
  zeroWidthCharacters,
@@ -21975,7 +21975,7 @@ var require_tinycolor = __commonJS({
21975
21975
  init_cjs_shims();
21976
21976
  (function(global2, factory) {
21977
21977
  typeof exports == "object" && typeof module < "u" ? module.exports = factory() : typeof define == "function" && define.amd ? define(factory) : (global2 = typeof globalThis < "u" ? globalThis : global2 || self, global2.tinycolor = factory());
21978
- })(exports, function() {
21978
+ })(exports, (function() {
21979
21979
  "use strict";
21980
21980
  function _typeof(obj) {
21981
21981
  "@babel/helpers - typeof";
@@ -22586,7 +22586,7 @@ var require_tinycolor = __commonJS({
22586
22586
  function convertHexToDecimal(h) {
22587
22587
  return parseIntFromHex(h) / 255;
22588
22588
  }
22589
- var matchers = function() {
22589
+ var matchers = (function() {
22590
22590
  var CSS_INTEGER = "[-\\+]?\\d+%?", CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?", CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")", PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?", PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
22591
22591
  return {
22592
22592
  CSS_UNIT: new RegExp(CSS_UNIT),
@@ -22601,7 +22601,7 @@ var require_tinycolor = __commonJS({
22601
22601
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
22602
22602
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
22603
22603
  };
22604
- }();
22604
+ })();
22605
22605
  function isValidCSSUnit(color) {
22606
22606
  return !!matchers.CSS_UNIT.exec(color);
22607
22607
  }
@@ -22681,7 +22681,7 @@ var require_tinycolor = __commonJS({
22681
22681
  };
22682
22682
  }
22683
22683
  return tinycolor;
22684
- });
22684
+ }));
22685
22685
  }
22686
22686
  });
22687
22687
 
@@ -24553,7 +24553,7 @@ minimatch.escape = escape;
24553
24553
  minimatch.unescape = unescape2;
24554
24554
 
24555
24555
  // ../cli-kit/dist/public/node/fs.js
24556
- import { mkdirSync as fsMkdirSync, readFileSync as fsReadFileSync, writeFileSync as fsWriteFileSync, appendFileSync as fsAppendFileSync, statSync as fsStatSync, createReadStream as fsCreateReadStream, createWriteStream as fsCreateWriteStream, constants as fsConstants, existsSync as fsFileExistsSync, unlinkSync as fsUnlinkSync } from "fs";
24556
+ import { mkdirSync as fsMkdirSync, readFileSync as fsReadFileSync, writeFileSync as fsWriteFileSync, appendFileSync as fsAppendFileSync, statSync as fsStatSync, createReadStream as fsCreateReadStream, createWriteStream as fsCreateWriteStream, constants as fsConstants, existsSync as fsFileExistsSync, unlinkSync as fsUnlinkSync, accessSync, statSync } from "fs";
24557
24557
  import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, realpath as fsRealPath, appendFile as fsAppendFile, mkdtemp as fsMkdtemp, stat as fsStat, lstat as fsLstat, chmod as fsChmod, access as fsAccess, rename as fsRename, unlink as fsUnlink, readdir as fsReaddir } from "fs/promises";
24558
24558
  async function inTemporaryDirectory(callback) {
24559
24559
  return temporaryDirectoryTask(callback);
@@ -24605,7 +24605,7 @@ function removeFileSync(path8) {
24605
24605
  outputDebug(outputContent`Sync-removing file at ${outputToken.path(path8)}...`), removeSync(path8);
24606
24606
  }
24607
24607
  async function rmdir(path8, options = {}) {
24608
- let { default: del } = await import("./del-DNZ7X2HW.js");
24608
+ let { default: del } = await import("./del-DIPVIUR3.js");
24609
24609
  outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
24610
24610
  }
24611
24611
  async function isDirectory(path8) {
@@ -24652,6 +24652,25 @@ async function fileHasExecutablePermissions(path8) {
24652
24652
  return !1;
24653
24653
  }
24654
24654
  }
24655
+ function fileHasWritePermissions(path8) {
24656
+ try {
24657
+ return accessSync(path8, fsConstants.W_OK), !0;
24658
+ } catch {
24659
+ return !1;
24660
+ }
24661
+ }
24662
+ function unixFileIsOwnedByCurrentUser(path8) {
24663
+ if (!(process.platform === "win32" || typeof process.getuid != "function")) {
24664
+ if (!fileExistsSync(path8))
24665
+ return !1;
24666
+ try {
24667
+ let stats = statSync(path8), currentUid = process.getuid();
24668
+ return stats.uid === currentUid;
24669
+ } catch {
24670
+ return !1;
24671
+ }
24672
+ }
24673
+ }
24655
24674
  async function fileExists(path8) {
24656
24675
  try {
24657
24676
  return await fsAccess(path8), !0;
@@ -26273,78 +26292,78 @@ init_cjs_shims();
26273
26292
 
26274
26293
  // ../../node_modules/.pnpm/ansi-escapes@5.0.0/node_modules/ansi-escapes/index.js
26275
26294
  init_cjs_shims();
26276
- var ESC = "\x1B[", OSC = "\x1B]", BEL = "\x07", SEP = ";", isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal", ansiEscapes = {};
26295
+ var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal", ansiEscapes = {};
26277
26296
  ansiEscapes.cursorTo = (x, y) => {
26278
26297
  if (typeof x != "number")
26279
26298
  throw new TypeError("The `x` argument is required");
26280
- return typeof y != "number" ? ESC + (x + 1) + "G" : ESC + (y + 1) + ";" + (x + 1) + "H";
26299
+ return typeof y != "number" ? "\x1B[" + (x + 1) + "G" : "\x1B[" + (y + 1) + ";" + (x + 1) + "H";
26281
26300
  };
26282
26301
  ansiEscapes.cursorMove = (x, y) => {
26283
26302
  if (typeof x != "number")
26284
26303
  throw new TypeError("The `x` argument is required");
26285
26304
  let returnValue = "";
26286
- return x < 0 ? returnValue += ESC + -x + "D" : x > 0 && (returnValue += ESC + x + "C"), y < 0 ? returnValue += ESC + -y + "A" : y > 0 && (returnValue += ESC + y + "B"), returnValue;
26305
+ return x < 0 ? returnValue += "\x1B[" + -x + "D" : x > 0 && (returnValue += "\x1B[" + x + "C"), y < 0 ? returnValue += "\x1B[" + -y + "A" : y > 0 && (returnValue += "\x1B[" + y + "B"), returnValue;
26287
26306
  };
26288
- ansiEscapes.cursorUp = (count = 1) => ESC + count + "A";
26289
- ansiEscapes.cursorDown = (count = 1) => ESC + count + "B";
26290
- ansiEscapes.cursorForward = (count = 1) => ESC + count + "C";
26291
- ansiEscapes.cursorBackward = (count = 1) => ESC + count + "D";
26292
- ansiEscapes.cursorLeft = ESC + "G";
26293
- ansiEscapes.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
26294
- ansiEscapes.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
26295
- ansiEscapes.cursorGetPosition = ESC + "6n";
26296
- ansiEscapes.cursorNextLine = ESC + "E";
26297
- ansiEscapes.cursorPrevLine = ESC + "F";
26298
- ansiEscapes.cursorHide = ESC + "?25l";
26299
- ansiEscapes.cursorShow = ESC + "?25h";
26307
+ ansiEscapes.cursorUp = (count = 1) => "\x1B[" + count + "A";
26308
+ ansiEscapes.cursorDown = (count = 1) => "\x1B[" + count + "B";
26309
+ ansiEscapes.cursorForward = (count = 1) => "\x1B[" + count + "C";
26310
+ ansiEscapes.cursorBackward = (count = 1) => "\x1B[" + count + "D";
26311
+ ansiEscapes.cursorLeft = "\x1B[G";
26312
+ ansiEscapes.cursorSavePosition = isTerminalApp ? "\x1B7" : "\x1B[s";
26313
+ ansiEscapes.cursorRestorePosition = isTerminalApp ? "\x1B8" : "\x1B[u";
26314
+ ansiEscapes.cursorGetPosition = "\x1B[6n";
26315
+ ansiEscapes.cursorNextLine = "\x1B[E";
26316
+ ansiEscapes.cursorPrevLine = "\x1B[F";
26317
+ ansiEscapes.cursorHide = "\x1B[?25l";
26318
+ ansiEscapes.cursorShow = "\x1B[?25h";
26300
26319
  ansiEscapes.eraseLines = (count) => {
26301
26320
  let clear = "";
26302
26321
  for (let i = 0; i < count; i++)
26303
26322
  clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : "");
26304
26323
  return count && (clear += ansiEscapes.cursorLeft), clear;
26305
26324
  };
26306
- ansiEscapes.eraseEndLine = ESC + "K";
26307
- ansiEscapes.eraseStartLine = ESC + "1K";
26308
- ansiEscapes.eraseLine = ESC + "2K";
26309
- ansiEscapes.eraseDown = ESC + "J";
26310
- ansiEscapes.eraseUp = ESC + "1J";
26311
- ansiEscapes.eraseScreen = ESC + "2J";
26312
- ansiEscapes.scrollUp = ESC + "S";
26313
- ansiEscapes.scrollDown = ESC + "T";
26325
+ ansiEscapes.eraseEndLine = "\x1B[K";
26326
+ ansiEscapes.eraseStartLine = "\x1B[1K";
26327
+ ansiEscapes.eraseLine = "\x1B[2K";
26328
+ ansiEscapes.eraseDown = "\x1B[J";
26329
+ ansiEscapes.eraseUp = "\x1B[1J";
26330
+ ansiEscapes.eraseScreen = "\x1B[2J";
26331
+ ansiEscapes.scrollUp = "\x1B[S";
26332
+ ansiEscapes.scrollDown = "\x1B[T";
26314
26333
  ansiEscapes.clearScreen = "\x1Bc";
26315
- ansiEscapes.clearTerminal = process.platform === "win32" ? `${ansiEscapes.eraseScreen}${ESC}0f` : (
26334
+ ansiEscapes.clearTerminal = process.platform === "win32" ? `${ansiEscapes.eraseScreen}\x1B[0f` : (
26316
26335
  // 1. Erases the screen (Only done in case `2` is not supported)
26317
26336
  // 2. Erases the whole screen including scrollback buffer
26318
26337
  // 3. Moves cursor to the top-left position
26319
26338
  // More info: https://www.real-world-systems.com/docs/ANSIcode.html
26320
- `${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`
26339
+ `${ansiEscapes.eraseScreen}\x1B[3J\x1B[H`
26321
26340
  );
26322
- ansiEscapes.beep = BEL;
26341
+ ansiEscapes.beep = "\x07";
26323
26342
  ansiEscapes.link = (text, url) => [
26324
- OSC,
26343
+ "\x1B]",
26325
26344
  "8",
26326
- SEP,
26327
- SEP,
26345
+ ";",
26346
+ ";",
26328
26347
  url,
26329
- BEL,
26348
+ "\x07",
26330
26349
  text,
26331
- OSC,
26350
+ "\x1B]",
26332
26351
  "8",
26333
- SEP,
26334
- SEP,
26335
- BEL
26352
+ ";",
26353
+ ";",
26354
+ "\x07"
26336
26355
  ].join("");
26337
26356
  ansiEscapes.image = (buffer, options = {}) => {
26338
- let returnValue = `${OSC}1337;File=inline=1`;
26339
- return options.width && (returnValue += `;width=${options.width}`), options.height && (returnValue += `;height=${options.height}`), options.preserveAspectRatio === !1 && (returnValue += ";preserveAspectRatio=0"), returnValue + ":" + buffer.toString("base64") + BEL;
26357
+ let returnValue = "\x1B]1337;File=inline=1";
26358
+ return options.width && (returnValue += `;width=${options.width}`), options.height && (returnValue += `;height=${options.height}`), options.preserveAspectRatio === !1 && (returnValue += ";preserveAspectRatio=0"), returnValue + ":" + buffer.toString("base64") + "\x07";
26340
26359
  };
26341
26360
  ansiEscapes.iTerm = {
26342
- setCwd: (cwd3 = process.cwd()) => `${OSC}50;CurrentDir=${cwd3}${BEL}`,
26361
+ setCwd: (cwd3 = process.cwd()) => `\x1B]50;CurrentDir=${cwd3}\x07`,
26343
26362
  annotation: (message, options = {}) => {
26344
- let returnValue = `${OSC}1337;`, hasX = typeof options.x < "u", hasY = typeof options.y < "u";
26363
+ let returnValue = "\x1B]1337;", hasX = typeof options.x < "u", hasY = typeof options.y < "u";
26345
26364
  if ((hasX || hasY) && !(hasX && hasY && typeof options.length < "u"))
26346
26365
  throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
26347
- return message = message.replace(/\|/g, ""), returnValue += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=", options.length > 0 ? returnValue += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|") : returnValue += message, returnValue + BEL;
26366
+ return message = message.replace(/\|/g, ""), returnValue += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=", options.length > 0 ? returnValue += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|") : returnValue += message, returnValue + "\x07";
26348
26367
  }
26349
26368
  };
26350
26369
  var ansi_escapes_default = ansiEscapes;
@@ -26482,76 +26501,76 @@ import process17 from "node:process";
26482
26501
  // ../../node_modules/.pnpm/ansi-escapes@6.2.1/node_modules/ansi-escapes/index.js
26483
26502
  init_cjs_shims();
26484
26503
  import process9 from "node:process";
26485
- var ESC2 = "\x1B[", OSC2 = "\x1B]", BEL2 = "\x07", SEP2 = ";", isBrowser = typeof window < "u" && typeof window.document < "u", isTerminalApp2 = !isBrowser && process9.env.TERM_PROGRAM === "Apple_Terminal", isWindows = !isBrowser && process9.platform === "win32", cwdFunction = isBrowser ? () => {
26504
+ var ESC = "\x1B[", OSC = "\x1B]", BEL = "\x07", SEP = ";", isBrowser = typeof window < "u" && typeof window.document < "u", isTerminalApp2 = !isBrowser && process9.env.TERM_PROGRAM === "Apple_Terminal", isWindows = !isBrowser && process9.platform === "win32", cwdFunction = isBrowser ? () => {
26486
26505
  throw new Error("`process.cwd()` only works in Node.js, not the browser.");
26487
26506
  } : process9.cwd, ansiEscapes2 = {};
26488
26507
  ansiEscapes2.cursorTo = (x, y) => {
26489
26508
  if (typeof x != "number")
26490
26509
  throw new TypeError("The `x` argument is required");
26491
- return typeof y != "number" ? ESC2 + (x + 1) + "G" : ESC2 + (y + 1) + SEP2 + (x + 1) + "H";
26510
+ return typeof y != "number" ? ESC + (x + 1) + "G" : ESC + (y + 1) + SEP + (x + 1) + "H";
26492
26511
  };
26493
26512
  ansiEscapes2.cursorMove = (x, y) => {
26494
26513
  if (typeof x != "number")
26495
26514
  throw new TypeError("The `x` argument is required");
26496
26515
  let returnValue = "";
26497
- return x < 0 ? returnValue += ESC2 + -x + "D" : x > 0 && (returnValue += ESC2 + x + "C"), y < 0 ? returnValue += ESC2 + -y + "A" : y > 0 && (returnValue += ESC2 + y + "B"), returnValue;
26516
+ return x < 0 ? returnValue += ESC + -x + "D" : x > 0 && (returnValue += ESC + x + "C"), y < 0 ? returnValue += ESC + -y + "A" : y > 0 && (returnValue += ESC + y + "B"), returnValue;
26498
26517
  };
26499
- ansiEscapes2.cursorUp = (count = 1) => ESC2 + count + "A";
26500
- ansiEscapes2.cursorDown = (count = 1) => ESC2 + count + "B";
26501
- ansiEscapes2.cursorForward = (count = 1) => ESC2 + count + "C";
26502
- ansiEscapes2.cursorBackward = (count = 1) => ESC2 + count + "D";
26503
- ansiEscapes2.cursorLeft = ESC2 + "G";
26504
- ansiEscapes2.cursorSavePosition = isTerminalApp2 ? "\x1B7" : ESC2 + "s";
26505
- ansiEscapes2.cursorRestorePosition = isTerminalApp2 ? "\x1B8" : ESC2 + "u";
26506
- ansiEscapes2.cursorGetPosition = ESC2 + "6n";
26507
- ansiEscapes2.cursorNextLine = ESC2 + "E";
26508
- ansiEscapes2.cursorPrevLine = ESC2 + "F";
26509
- ansiEscapes2.cursorHide = ESC2 + "?25l";
26510
- ansiEscapes2.cursorShow = ESC2 + "?25h";
26518
+ ansiEscapes2.cursorUp = (count = 1) => ESC + count + "A";
26519
+ ansiEscapes2.cursorDown = (count = 1) => ESC + count + "B";
26520
+ ansiEscapes2.cursorForward = (count = 1) => ESC + count + "C";
26521
+ ansiEscapes2.cursorBackward = (count = 1) => ESC + count + "D";
26522
+ ansiEscapes2.cursorLeft = ESC + "G";
26523
+ ansiEscapes2.cursorSavePosition = isTerminalApp2 ? "\x1B7" : ESC + "s";
26524
+ ansiEscapes2.cursorRestorePosition = isTerminalApp2 ? "\x1B8" : ESC + "u";
26525
+ ansiEscapes2.cursorGetPosition = ESC + "6n";
26526
+ ansiEscapes2.cursorNextLine = ESC + "E";
26527
+ ansiEscapes2.cursorPrevLine = ESC + "F";
26528
+ ansiEscapes2.cursorHide = ESC + "?25l";
26529
+ ansiEscapes2.cursorShow = ESC + "?25h";
26511
26530
  ansiEscapes2.eraseLines = (count) => {
26512
26531
  let clear = "";
26513
26532
  for (let i = 0; i < count; i++)
26514
26533
  clear += ansiEscapes2.eraseLine + (i < count - 1 ? ansiEscapes2.cursorUp() : "");
26515
26534
  return count && (clear += ansiEscapes2.cursorLeft), clear;
26516
26535
  };
26517
- ansiEscapes2.eraseEndLine = ESC2 + "K";
26518
- ansiEscapes2.eraseStartLine = ESC2 + "1K";
26519
- ansiEscapes2.eraseLine = ESC2 + "2K";
26520
- ansiEscapes2.eraseDown = ESC2 + "J";
26521
- ansiEscapes2.eraseUp = ESC2 + "1J";
26522
- ansiEscapes2.eraseScreen = ESC2 + "2J";
26523
- ansiEscapes2.scrollUp = ESC2 + "S";
26524
- ansiEscapes2.scrollDown = ESC2 + "T";
26536
+ ansiEscapes2.eraseEndLine = ESC + "K";
26537
+ ansiEscapes2.eraseStartLine = ESC + "1K";
26538
+ ansiEscapes2.eraseLine = ESC + "2K";
26539
+ ansiEscapes2.eraseDown = ESC + "J";
26540
+ ansiEscapes2.eraseUp = ESC + "1J";
26541
+ ansiEscapes2.eraseScreen = ESC + "2J";
26542
+ ansiEscapes2.scrollUp = ESC + "S";
26543
+ ansiEscapes2.scrollDown = ESC + "T";
26525
26544
  ansiEscapes2.clearScreen = "\x1Bc";
26526
- ansiEscapes2.clearTerminal = isWindows ? `${ansiEscapes2.eraseScreen}${ESC2}0f` : `${ansiEscapes2.eraseScreen}${ESC2}3J${ESC2}H`;
26527
- ansiEscapes2.enterAlternativeScreen = ESC2 + "?1049h";
26528
- ansiEscapes2.exitAlternativeScreen = ESC2 + "?1049l";
26529
- ansiEscapes2.beep = BEL2;
26545
+ ansiEscapes2.clearTerminal = isWindows ? `${ansiEscapes2.eraseScreen}${ESC}0f` : `${ansiEscapes2.eraseScreen}${ESC}3J${ESC}H`;
26546
+ ansiEscapes2.enterAlternativeScreen = ESC + "?1049h";
26547
+ ansiEscapes2.exitAlternativeScreen = ESC + "?1049l";
26548
+ ansiEscapes2.beep = BEL;
26530
26549
  ansiEscapes2.link = (text, url) => [
26531
- OSC2,
26550
+ OSC,
26532
26551
  "8",
26533
- SEP2,
26534
- SEP2,
26552
+ SEP,
26553
+ SEP,
26535
26554
  url,
26536
- BEL2,
26555
+ BEL,
26537
26556
  text,
26538
- OSC2,
26557
+ OSC,
26539
26558
  "8",
26540
- SEP2,
26541
- SEP2,
26542
- BEL2
26559
+ SEP,
26560
+ SEP,
26561
+ BEL
26543
26562
  ].join("");
26544
26563
  ansiEscapes2.image = (buffer, options = {}) => {
26545
- let returnValue = `${OSC2}1337;File=inline=1`;
26546
- return options.width && (returnValue += `;width=${options.width}`), options.height && (returnValue += `;height=${options.height}`), options.preserveAspectRatio === !1 && (returnValue += ";preserveAspectRatio=0"), returnValue + ":" + buffer.toString("base64") + BEL2;
26564
+ let returnValue = `${OSC}1337;File=inline=1`;
26565
+ return options.width && (returnValue += `;width=${options.width}`), options.height && (returnValue += `;height=${options.height}`), options.preserveAspectRatio === !1 && (returnValue += ";preserveAspectRatio=0"), returnValue + ":" + buffer.toString("base64") + BEL;
26547
26566
  };
26548
26567
  ansiEscapes2.iTerm = {
26549
- setCwd: (cwd3 = cwdFunction()) => `${OSC2}50;CurrentDir=${cwd3}${BEL2}`,
26568
+ setCwd: (cwd3 = cwdFunction()) => `${OSC}50;CurrentDir=${cwd3}${BEL}`,
26550
26569
  annotation(message, options = {}) {
26551
- let returnValue = `${OSC2}1337;`, hasX = typeof options.x < "u", hasY = typeof options.y < "u";
26570
+ let returnValue = `${OSC}1337;`, hasX = typeof options.x < "u", hasY = typeof options.y < "u";
26552
26571
  if ((hasX || hasY) && !(hasX && hasY && typeof options.length < "u"))
26553
26572
  throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
26554
- return message = message.replace(/\|/g, ""), returnValue += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=", options.length > 0 ? returnValue += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|") : returnValue += message, returnValue + BEL2;
26573
+ return message = message.replace(/\|/g, ""), returnValue += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=", options.length > 0 ? returnValue += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|") : returnValue += message, returnValue + BEL;
26555
26574
  }
26556
26575
  };
26557
26576
  var ansi_escapes_default2 = ansiEscapes2;
@@ -27078,18 +27097,18 @@ var yoga = (() => {
27078
27097
  if (a2 !== void 0) return a2.L.count.value === 0 ? (a2.L.N = e2, a2.L.S = n2, a2.clone()) : (a2 = a2.clone(), this.ga(n2), a2);
27079
27098
  if (!(a2 = nr[a2 = this.M.oa(e2)])) return t2.call(this);
27080
27099
  a2 = this.ba ? a2.ka : a2.pointerType;
27081
- var i2 = function n3(t3, r3, e3) {
27100
+ var i2 = (function n3(t3, r3, e3) {
27082
27101
  return r3 === e3 ? t3 : e3.P === void 0 || (t3 = n3(t3, r3, e3.P)) === null ? null : e3.ma(t3);
27083
- }(e2, this.M, a2.M);
27102
+ })(e2, this.M, a2.M);
27084
27103
  return i2 === null ? t2.call(this) : this.ca ? ni(a2.M.W, { O: a2, N: i2, T: this, S: n2 }) : ni(a2.M.W, { O: a2, N: i2 });
27085
27104
  }, nN = u.UnboundTypeError = D("UnboundTypeError");
27086
27105
  var nx = { q: function(n2, t2, r2) {
27087
27106
  n2 = B(n2), t2 = K(t2, "wrapper"), r2 = j(r2);
27088
27107
  var e2 = [].slice, a2 = t2.M, i2 = a2.W, o2 = a2.P.W, s2 = a2.P.constructor;
27089
27108
  for (var u2 in n2 = U(n2, function() {
27090
- a2.P.ia.forEach(function(n3) {
27109
+ a2.P.ia.forEach((function(n3) {
27091
27110
  if (this[n3] === o2[n3]) throw new Y("Pure virtual function " + n3 + " must be implemented in JavaScript");
27092
- }.bind(this)), Object.defineProperty(this, "__parent", { value: i2 }), this.__construct.apply(this, e2.call(arguments));
27111
+ }).bind(this)), Object.defineProperty(this, "__parent", { value: i2 }), this.__construct.apply(this, e2.call(arguments));
27093
27112
  }), i2.__construct = function() {
27094
27113
  this === i2 && V("Pass correct 'this' to __construct");
27095
27114
  var n3 = s2.implement.apply(void 0, [this].concat(e2.call(arguments)));
@@ -27211,7 +27230,7 @@ var yoga = (() => {
27211
27230
  return n3;
27212
27231
  }, toWireType: function(n3, t3) {
27213
27232
  return t3;
27214
- }, argPackAdvance: 8, readValueFromPointer: function(n3, t3) {
27233
+ }, argPackAdvance: 8, readValueFromPointer: (function(n3, t3) {
27215
27234
  switch (t3) {
27216
27235
  case 2:
27217
27236
  return function(n4) {
@@ -27224,7 +27243,7 @@ var yoga = (() => {
27224
27243
  default:
27225
27244
  throw TypeError("Unknown float type: " + n3);
27226
27245
  }
27227
- }(t2, r2), U: null });
27246
+ })(t2, r2), U: null });
27228
27247
  }, e: function(n2, t2, r2, e2, a2) {
27229
27248
  t2 = B(t2), a2 === -1 && (a2 = 4294967295), a2 = np(r2);
27230
27249
  var i2 = (n3) => n3;
@@ -27236,7 +27255,7 @@ var yoga = (() => {
27236
27255
  return t3 >>> 0;
27237
27256
  } : function(n3, t3) {
27238
27257
  return t3;
27239
- }, nv(n2, { name: t2, fromWireType: i2, toWireType: r2, argPackAdvance: 8, readValueFromPointer: function(n3, t3, r3) {
27258
+ }, nv(n2, { name: t2, fromWireType: i2, toWireType: r2, argPackAdvance: 8, readValueFromPointer: (function(n3, t3, r3) {
27240
27259
  switch (t3) {
27241
27260
  case 0:
27242
27261
  return r3 ? function(n4) {
@@ -27259,7 +27278,7 @@ var yoga = (() => {
27259
27278
  default:
27260
27279
  throw TypeError("Unknown integer type: " + n3);
27261
27280
  }
27262
- }(t2, a2, e2 !== 0), U: null });
27281
+ })(t2, a2, e2 !== 0), U: null });
27263
27282
  }, b: function(n2, t2, r2) {
27264
27283
  function e2(n3) {
27265
27284
  n3 >>= 2;
@@ -27360,10 +27379,10 @@ var yoga = (() => {
27360
27379
  }, j: function(n2, t2, r2, e2) {
27361
27380
  n2 = nG[n2], n2(t2 = j(t2), r2 = nj(r2), null, e2);
27362
27381
  }, f: nR, g: function(n2, t2) {
27363
- var r2, e2, a2 = function(n3, t3) {
27382
+ var r2, e2, a2 = (function(n3, t3) {
27364
27383
  for (var r3 = Array(n3), e3 = 0; e3 < n3; ++e3) r3[e3] = K(_2[t3 + 4 * e3 >> 2], "parameter " + e3);
27365
27384
  return r3;
27366
- }(n2, t2), i2 = a2[0], o2 = nY[t2 = i2.name + "_$" + a2.slice(1).map(function(n3) {
27385
+ })(n2, t2), i2 = a2[0], o2 = nY[t2 = i2.name + "_$" + a2.slice(1).map(function(n3) {
27367
27386
  return n3.name;
27368
27387
  }).join("_") + "$"];
27369
27388
  if (o2 !== void 0) return o2;
@@ -30348,7 +30367,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
30348
30367
  try {
30349
30368
  await getAndSet();
30350
30369
  } catch (error) {
30351
- let { sendErrorToBugsnag } = await import("./error-handler-FHZMF7GS.js");
30370
+ let { sendErrorToBugsnag } = await import("./error-handler-WPYX52XY.js");
30352
30371
  await sendErrorToBugsnag(error, "unexpected_error");
30353
30372
  }
30354
30373
  }, durationStack = [];
@@ -32277,6 +32296,8 @@ export {
32277
32296
  moveFile,
32278
32297
  chmod,
32279
32298
  fileHasExecutablePermissions,
32299
+ fileHasWritePermissions,
32300
+ unixFileIsOwnedByCurrentUser,
32280
32301
  fileExists,
32281
32302
  fileExistsSync,
32282
32303
  generateRandomNameForSubdirectory,
@@ -32397,4 +32418,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32397
32418
  * LICENSE file in the root directory of this source tree.
32398
32419
  *)
32399
32420
  */
32400
- //# sourceMappingURL=chunk-34TWZ632.js.map
32421
+ //# sourceMappingURL=chunk-JMQJQNH7.js.map