@hot-updater/cloudflare 0.28.0 → 0.29.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.
@@ -21,20 +21,17 @@ import { Duplex, PassThrough, Readable, Transform, Writable, getDefaultHighWater
21
21
  import { Buffer as Buffer$1 } from "node:buffer";
22
22
  import fs$1 from "fs/promises";
23
23
  import os from "os";
24
-
25
- //#region rolldown:runtime
24
+ //#region \0rolldown/runtime.js
26
25
  var __create = Object.create;
27
26
  var __defProp = Object.defineProperty;
28
27
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
29
28
  var __getOwnPropNames = Object.getOwnPropertyNames;
30
29
  var __getProtoOf = Object.getPrototypeOf;
31
30
  var __hasOwnProp = Object.prototype.hasOwnProperty;
32
- var __commonJS = (cb, mod) => function() {
33
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
34
- };
31
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
35
32
  var __copyProps = (to, from, except, desc) => {
36
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i$1 = 0, n$1 = keys.length, key; i$1 < n$1; i$1++) {
37
- key = keys[i$1];
33
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
34
+ key = keys[i];
38
35
  if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
39
36
  get: ((k) => from[k]).bind(null, key),
40
37
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
@@ -42,142 +39,141 @@ var __copyProps = (to, from, except, desc) => {
42
39
  }
43
40
  return to;
44
41
  };
45
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
46
42
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
47
43
  value: mod,
48
44
  enumerable: true
49
45
  }) : target, mod));
50
46
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
51
-
52
47
  //#endregion
53
- //#region ../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js
54
- var require_dayjs_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js": ((exports, module) => {
48
+ //#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
49
+ var import_dayjs_min = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
55
50
  (function(t, e) {
56
51
  "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
57
52
  })(exports, (function() {
58
- var t = 1e3, e = 6e4, n$1 = 36e5, r = "millisecond", i$1 = "second", s = "minute", u$1 = "hour", a$1 = "day", o$1 = "week", c$1 = "month", f = "quarter", h$1 = "year", d = "date", l = "Invalid Date", $$1 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = {
53
+ "use strict";
54
+ var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = {
59
55
  name: "en",
60
56
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
61
57
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
62
- ordinal: function(t$1) {
63
- var e$1 = [
58
+ ordinal: function(t) {
59
+ var e = [
64
60
  "th",
65
61
  "st",
66
62
  "nd",
67
63
  "rd"
68
- ], n$2 = t$1 % 100;
69
- return "[" + t$1 + (e$1[(n$2 - 20) % 10] || e$1[n$2] || e$1[0]) + "]";
64
+ ], n = t % 100;
65
+ return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
70
66
  }
71
- }, m = function(t$1, e$1, n$2) {
72
- var r$1 = String(t$1);
73
- return !r$1 || r$1.length >= e$1 ? t$1 : "" + Array(e$1 + 1 - r$1.length).join(n$2) + t$1;
67
+ }, m = function(t, e, n) {
68
+ var r = String(t);
69
+ return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
74
70
  }, v = {
75
71
  s: m,
76
- z: function(t$1) {
77
- var e$1 = -t$1.utcOffset(), n$2 = Math.abs(e$1), r$1 = Math.floor(n$2 / 60), i$2 = n$2 % 60;
78
- return (e$1 <= 0 ? "+" : "-") + m(r$1, 2, "0") + ":" + m(i$2, 2, "0");
72
+ z: function(t) {
73
+ var e = -t.utcOffset(), n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
74
+ return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
79
75
  },
80
- m: function t$1(e$1, n$2) {
81
- if (e$1.date() < n$2.date()) return -t$1(n$2, e$1);
82
- var r$1 = 12 * (n$2.year() - e$1.year()) + (n$2.month() - e$1.month()), i$2 = e$1.clone().add(r$1, c$1), s$1 = n$2 - i$2 < 0, u$2 = e$1.clone().add(r$1 + (s$1 ? -1 : 1), c$1);
83
- return +(-(r$1 + (n$2 - i$2) / (s$1 ? i$2 - u$2 : u$2 - i$2)) || 0);
76
+ m: function t(e, n) {
77
+ if (e.date() < n.date()) return -t(n, e);
78
+ var r = 12 * (n.year() - e.year()) + (n.month() - e.month()), i = e.clone().add(r, c), s = n - i < 0, u = e.clone().add(r + (s ? -1 : 1), c);
79
+ return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
84
80
  },
85
- a: function(t$1) {
86
- return t$1 < 0 ? Math.ceil(t$1) || 0 : Math.floor(t$1);
81
+ a: function(t) {
82
+ return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
87
83
  },
88
- p: function(t$1) {
84
+ p: function(t) {
89
85
  return {
90
- M: c$1,
91
- y: h$1,
92
- w: o$1,
93
- d: a$1,
86
+ M: c,
87
+ y: h,
88
+ w: o,
89
+ d: a,
94
90
  D: d,
95
- h: u$1,
91
+ h: u,
96
92
  m: s,
97
- s: i$1,
93
+ s: i,
98
94
  ms: r,
99
95
  Q: f
100
- }[t$1] || String(t$1 || "").toLowerCase().replace(/s$/, "");
96
+ }[t] || String(t || "").toLowerCase().replace(/s$/, "");
101
97
  },
102
- u: function(t$1) {
103
- return void 0 === t$1;
98
+ u: function(t) {
99
+ return void 0 === t;
104
100
  }
105
101
  }, g = "en", D = {};
106
102
  D[g] = M;
107
- var p$1 = "$isDayjsObject", S = function(t$1) {
108
- return t$1 instanceof _$1 || !(!t$1 || !t$1[p$1]);
109
- }, w = function t$1(e$1, n$2, r$1) {
110
- var i$2;
111
- if (!e$1) return g;
112
- if ("string" == typeof e$1) {
113
- var s$1 = e$1.toLowerCase();
114
- D[s$1] && (i$2 = s$1), n$2 && (D[s$1] = n$2, i$2 = s$1);
115
- var u$2 = e$1.split("-");
116
- if (!i$2 && u$2.length > 1) return t$1(u$2[0]);
103
+ var p = "$isDayjsObject", S = function(t) {
104
+ return t instanceof _ || !(!t || !t[p]);
105
+ }, w = function t(e, n, r) {
106
+ var i;
107
+ if (!e) return g;
108
+ if ("string" == typeof e) {
109
+ var s = e.toLowerCase();
110
+ D[s] && (i = s), n && (D[s] = n, i = s);
111
+ var u = e.split("-");
112
+ if (!i && u.length > 1) return t(u[0]);
117
113
  } else {
118
- var a$2 = e$1.name;
119
- D[a$2] = e$1, i$2 = a$2;
114
+ var a = e.name;
115
+ D[a] = e, i = a;
120
116
  }
121
- return !r$1 && i$2 && (g = i$2), i$2 || !r$1 && g;
122
- }, O = function(t$1, e$1) {
123
- if (S(t$1)) return t$1.clone();
124
- var n$2 = "object" == typeof e$1 ? e$1 : {};
125
- return n$2.date = t$1, n$2.args = arguments, new _$1(n$2);
117
+ return !r && i && (g = i), i || !r && g;
118
+ }, O = function(t, e) {
119
+ if (S(t)) return t.clone();
120
+ var n = "object" == typeof e ? e : {};
121
+ return n.date = t, n.args = arguments, new _(n);
126
122
  }, b = v;
127
- b.l = w, b.i = S, b.w = function(t$1, e$1) {
128
- return O(t$1, {
129
- locale: e$1.$L,
130
- utc: e$1.$u,
131
- x: e$1.$x,
132
- $offset: e$1.$offset
123
+ b.l = w, b.i = S, b.w = function(t, e) {
124
+ return O(t, {
125
+ locale: e.$L,
126
+ utc: e.$u,
127
+ x: e.$x,
128
+ $offset: e.$offset
133
129
  });
134
130
  };
135
- var _$1 = function() {
136
- function M$1(t$1) {
137
- this.$L = w(t$1.locale, null, !0), this.parse(t$1), this.$x = this.$x || t$1.x || {}, this[p$1] = !0;
131
+ var _ = function() {
132
+ function M(t) {
133
+ this.$L = w(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[p] = !0;
138
134
  }
139
- var m$1 = M$1.prototype;
140
- return m$1.parse = function(t$1) {
141
- this.$d = function(t$2) {
142
- var e$1 = t$2.date, n$2 = t$2.utc;
143
- if (null === e$1) return /* @__PURE__ */ new Date(NaN);
144
- if (b.u(e$1)) return /* @__PURE__ */ new Date();
145
- if (e$1 instanceof Date) return new Date(e$1);
146
- if ("string" == typeof e$1 && !/Z$/i.test(e$1)) {
147
- var r$1 = e$1.match($$1);
148
- if (r$1) {
149
- var i$2 = r$1[2] - 1 || 0, s$1 = (r$1[7] || "0").substring(0, 3);
150
- return n$2 ? new Date(Date.UTC(r$1[1], i$2, r$1[3] || 1, r$1[4] || 0, r$1[5] || 0, r$1[6] || 0, s$1)) : new Date(r$1[1], i$2, r$1[3] || 1, r$1[4] || 0, r$1[5] || 0, r$1[6] || 0, s$1);
135
+ var m = M.prototype;
136
+ return m.parse = function(t) {
137
+ this.$d = function(t) {
138
+ var e = t.date, n = t.utc;
139
+ if (null === e) return /* @__PURE__ */ new Date(NaN);
140
+ if (b.u(e)) return /* @__PURE__ */ new Date();
141
+ if (e instanceof Date) return new Date(e);
142
+ if ("string" == typeof e && !/Z$/i.test(e)) {
143
+ var r = e.match($);
144
+ if (r) {
145
+ var i = r[2] - 1 || 0, s = (r[7] || "0").substring(0, 3);
146
+ return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
151
147
  }
152
148
  }
153
- return new Date(e$1);
154
- }(t$1), this.init();
155
- }, m$1.init = function() {
156
- var t$1 = this.$d;
157
- this.$y = t$1.getFullYear(), this.$M = t$1.getMonth(), this.$D = t$1.getDate(), this.$W = t$1.getDay(), this.$H = t$1.getHours(), this.$m = t$1.getMinutes(), this.$s = t$1.getSeconds(), this.$ms = t$1.getMilliseconds();
158
- }, m$1.$utils = function() {
149
+ return new Date(e);
150
+ }(t), this.init();
151
+ }, m.init = function() {
152
+ var t = this.$d;
153
+ this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
154
+ }, m.$utils = function() {
159
155
  return b;
160
- }, m$1.isValid = function() {
156
+ }, m.isValid = function() {
161
157
  return !(this.$d.toString() === l);
162
- }, m$1.isSame = function(t$1, e$1) {
163
- var n$2 = O(t$1);
164
- return this.startOf(e$1) <= n$2 && n$2 <= this.endOf(e$1);
165
- }, m$1.isAfter = function(t$1, e$1) {
166
- return O(t$1) < this.startOf(e$1);
167
- }, m$1.isBefore = function(t$1, e$1) {
168
- return this.endOf(e$1) < O(t$1);
169
- }, m$1.$g = function(t$1, e$1, n$2) {
170
- return b.u(t$1) ? this[e$1] : this.set(n$2, t$1);
171
- }, m$1.unix = function() {
158
+ }, m.isSame = function(t, e) {
159
+ var n = O(t);
160
+ return this.startOf(e) <= n && n <= this.endOf(e);
161
+ }, m.isAfter = function(t, e) {
162
+ return O(t) < this.startOf(e);
163
+ }, m.isBefore = function(t, e) {
164
+ return this.endOf(e) < O(t);
165
+ }, m.$g = function(t, e, n) {
166
+ return b.u(t) ? this[e] : this.set(n, t);
167
+ }, m.unix = function() {
172
168
  return Math.floor(this.valueOf() / 1e3);
173
- }, m$1.valueOf = function() {
169
+ }, m.valueOf = function() {
174
170
  return this.$d.getTime();
175
- }, m$1.startOf = function(t$1, e$1) {
176
- var n$2 = this, r$1 = !!b.u(e$1) || e$1, f$1 = b.p(t$1), l$1 = function(t$2, e$2) {
177
- var i$2 = b.w(n$2.$u ? Date.UTC(n$2.$y, e$2, t$2) : new Date(n$2.$y, e$2, t$2), n$2);
178
- return r$1 ? i$2 : i$2.endOf(a$1);
179
- }, $$2 = function(t$2, e$2) {
180
- return b.w(n$2.toDate()[t$2].apply(n$2.toDate("s"), (r$1 ? [
171
+ }, m.startOf = function(t, e) {
172
+ var n = this, r = !!b.u(e) || e, f = b.p(t), l = function(t, e) {
173
+ var i = b.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
174
+ return r ? i : i.endOf(a);
175
+ }, $ = function(t, e) {
176
+ return b.w(n.toDate()[t].apply(n.toDate("s"), (r ? [
181
177
  0,
182
178
  0,
183
179
  0,
@@ -187,175 +183,170 @@ var require_dayjs_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/d
187
183
  59,
188
184
  59,
189
185
  999
190
- ]).slice(e$2)), n$2);
191
- }, y$1 = this.$W, M$2 = this.$M, m$2 = this.$D, v$1 = "set" + (this.$u ? "UTC" : "");
192
- switch (f$1) {
193
- case h$1: return r$1 ? l$1(1, 0) : l$1(31, 11);
194
- case c$1: return r$1 ? l$1(1, M$2) : l$1(0, M$2 + 1);
195
- case o$1:
196
- var g$1 = this.$locale().weekStart || 0, D$1 = (y$1 < g$1 ? y$1 + 7 : y$1) - g$1;
197
- return l$1(r$1 ? m$2 - D$1 : m$2 + (6 - D$1), M$2);
198
- case a$1:
199
- case d: return $$2(v$1 + "Hours", 0);
200
- case u$1: return $$2(v$1 + "Minutes", 1);
201
- case s: return $$2(v$1 + "Seconds", 2);
202
- case i$1: return $$2(v$1 + "Milliseconds", 3);
186
+ ]).slice(e)), n);
187
+ }, y = this.$W, M = this.$M, m = this.$D, v = "set" + (this.$u ? "UTC" : "");
188
+ switch (f) {
189
+ case h: return r ? l(1, 0) : l(31, 11);
190
+ case c: return r ? l(1, M) : l(0, M + 1);
191
+ case o:
192
+ var g = this.$locale().weekStart || 0, D = (y < g ? y + 7 : y) - g;
193
+ return l(r ? m - D : m + (6 - D), M);
194
+ case a:
195
+ case d: return $(v + "Hours", 0);
196
+ case u: return $(v + "Minutes", 1);
197
+ case s: return $(v + "Seconds", 2);
198
+ case i: return $(v + "Milliseconds", 3);
203
199
  default: return this.clone();
204
200
  }
205
- }, m$1.endOf = function(t$1) {
206
- return this.startOf(t$1, !1);
207
- }, m$1.$set = function(t$1, e$1) {
208
- var n$2, o$2 = b.p(t$1), f$1 = "set" + (this.$u ? "UTC" : ""), l$1 = (n$2 = {}, n$2[a$1] = f$1 + "Date", n$2[d] = f$1 + "Date", n$2[c$1] = f$1 + "Month", n$2[h$1] = f$1 + "FullYear", n$2[u$1] = f$1 + "Hours", n$2[s] = f$1 + "Minutes", n$2[i$1] = f$1 + "Seconds", n$2[r] = f$1 + "Milliseconds", n$2)[o$2], $$2 = o$2 === a$1 ? this.$D + (e$1 - this.$W) : e$1;
209
- if (o$2 === c$1 || o$2 === h$1) {
210
- var y$1 = this.clone().set(d, 1);
211
- y$1.$d[l$1]($$2), y$1.init(), this.$d = y$1.set(d, Math.min(this.$D, y$1.daysInMonth())).$d;
212
- } else l$1 && this.$d[l$1]($$2);
201
+ }, m.endOf = function(t) {
202
+ return this.startOf(t, !1);
203
+ }, m.$set = function(t, e) {
204
+ var n, o = b.p(t), f = "set" + (this.$u ? "UTC" : ""), l = (n = {}, n[a] = f + "Date", n[d] = f + "Date", n[c] = f + "Month", n[h] = f + "FullYear", n[u] = f + "Hours", n[s] = f + "Minutes", n[i] = f + "Seconds", n[r] = f + "Milliseconds", n)[o], $ = o === a ? this.$D + (e - this.$W) : e;
205
+ if (o === c || o === h) {
206
+ var y = this.clone().set(d, 1);
207
+ y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
208
+ } else l && this.$d[l]($);
213
209
  return this.init(), this;
214
- }, m$1.set = function(t$1, e$1) {
215
- return this.clone().$set(t$1, e$1);
216
- }, m$1.get = function(t$1) {
217
- return this[b.p(t$1)]();
218
- }, m$1.add = function(r$1, f$1) {
219
- var d$1, l$1 = this;
220
- r$1 = Number(r$1);
221
- var $$2 = b.p(f$1), y$1 = function(t$1) {
222
- var e$1 = O(l$1);
223
- return b.w(e$1.date(e$1.date() + Math.round(t$1 * r$1)), l$1);
210
+ }, m.set = function(t, e) {
211
+ return this.clone().$set(t, e);
212
+ }, m.get = function(t) {
213
+ return this[b.p(t)]();
214
+ }, m.add = function(r, f) {
215
+ var d, l = this;
216
+ r = Number(r);
217
+ var $ = b.p(f), y = function(t) {
218
+ var e = O(l);
219
+ return b.w(e.date(e.date() + Math.round(t * r)), l);
224
220
  };
225
- if ($$2 === c$1) return this.set(c$1, this.$M + r$1);
226
- if ($$2 === h$1) return this.set(h$1, this.$y + r$1);
227
- if ($$2 === a$1) return y$1(1);
228
- if ($$2 === o$1) return y$1(7);
229
- var M$2 = (d$1 = {}, d$1[s] = e, d$1[u$1] = n$1, d$1[i$1] = t, d$1)[$$2] || 1, m$2 = this.$d.getTime() + r$1 * M$2;
230
- return b.w(m$2, this);
231
- }, m$1.subtract = function(t$1, e$1) {
232
- return this.add(-1 * t$1, e$1);
233
- }, m$1.format = function(t$1) {
234
- var e$1 = this, n$2 = this.$locale();
235
- if (!this.isValid()) return n$2.invalidDate || l;
236
- var r$1 = t$1 || "YYYY-MM-DDTHH:mm:ssZ", i$2 = b.z(this), s$1 = this.$H, u$2 = this.$m, a$2 = this.$M, o$2 = n$2.weekdays, c$2 = n$2.months, f$1 = n$2.meridiem, h$2 = function(t$2, n$3, i$3, s$2) {
237
- return t$2 && (t$2[n$3] || t$2(e$1, r$1)) || i$3[n$3].slice(0, s$2);
238
- }, d$1 = function(t$2) {
239
- return b.s(s$1 % 12 || 12, t$2, "0");
240
- }, $$2 = f$1 || function(t$2, e$2, n$3) {
241
- var r$2 = t$2 < 12 ? "AM" : "PM";
242
- return n$3 ? r$2.toLowerCase() : r$2;
221
+ if ($ === c) return this.set(c, this.$M + r);
222
+ if ($ === h) return this.set(h, this.$y + r);
223
+ if ($ === a) return y(1);
224
+ if ($ === o) return y(7);
225
+ var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1, m = this.$d.getTime() + r * M;
226
+ return b.w(m, this);
227
+ }, m.subtract = function(t, e) {
228
+ return this.add(-1 * t, e);
229
+ }, m.format = function(t) {
230
+ var e = this, n = this.$locale();
231
+ if (!this.isValid()) return n.invalidDate || l;
232
+ var r = t || "YYYY-MM-DDTHH:mm:ssZ", i = b.z(this), s = this.$H, u = this.$m, a = this.$M, o = n.weekdays, c = n.months, f = n.meridiem, h = function(t, n, i, s) {
233
+ return t && (t[n] || t(e, r)) || i[n].slice(0, s);
234
+ }, d = function(t) {
235
+ return b.s(s % 12 || 12, t, "0");
236
+ }, $ = f || function(t, e, n) {
237
+ var r = t < 12 ? "AM" : "PM";
238
+ return n ? r.toLowerCase() : r;
243
239
  };
244
- return r$1.replace(y, (function(t$2, r$2) {
245
- return r$2 || function(t$3) {
246
- switch (t$3) {
247
- case "YY": return String(e$1.$y).slice(-2);
248
- case "YYYY": return b.s(e$1.$y, 4, "0");
249
- case "M": return a$2 + 1;
250
- case "MM": return b.s(a$2 + 1, 2, "0");
251
- case "MMM": return h$2(n$2.monthsShort, a$2, c$2, 3);
252
- case "MMMM": return h$2(c$2, a$2);
253
- case "D": return e$1.$D;
254
- case "DD": return b.s(e$1.$D, 2, "0");
255
- case "d": return String(e$1.$W);
256
- case "dd": return h$2(n$2.weekdaysMin, e$1.$W, o$2, 2);
257
- case "ddd": return h$2(n$2.weekdaysShort, e$1.$W, o$2, 3);
258
- case "dddd": return o$2[e$1.$W];
259
- case "H": return String(s$1);
260
- case "HH": return b.s(s$1, 2, "0");
261
- case "h": return d$1(1);
262
- case "hh": return d$1(2);
263
- case "a": return $$2(s$1, u$2, !0);
264
- case "A": return $$2(s$1, u$2, !1);
265
- case "m": return String(u$2);
266
- case "mm": return b.s(u$2, 2, "0");
267
- case "s": return String(e$1.$s);
268
- case "ss": return b.s(e$1.$s, 2, "0");
269
- case "SSS": return b.s(e$1.$ms, 3, "0");
270
- case "Z": return i$2;
240
+ return r.replace(y, (function(t, r) {
241
+ return r || function(t) {
242
+ switch (t) {
243
+ case "YY": return String(e.$y).slice(-2);
244
+ case "YYYY": return b.s(e.$y, 4, "0");
245
+ case "M": return a + 1;
246
+ case "MM": return b.s(a + 1, 2, "0");
247
+ case "MMM": return h(n.monthsShort, a, c, 3);
248
+ case "MMMM": return h(c, a);
249
+ case "D": return e.$D;
250
+ case "DD": return b.s(e.$D, 2, "0");
251
+ case "d": return String(e.$W);
252
+ case "dd": return h(n.weekdaysMin, e.$W, o, 2);
253
+ case "ddd": return h(n.weekdaysShort, e.$W, o, 3);
254
+ case "dddd": return o[e.$W];
255
+ case "H": return String(s);
256
+ case "HH": return b.s(s, 2, "0");
257
+ case "h": return d(1);
258
+ case "hh": return d(2);
259
+ case "a": return $(s, u, !0);
260
+ case "A": return $(s, u, !1);
261
+ case "m": return String(u);
262
+ case "mm": return b.s(u, 2, "0");
263
+ case "s": return String(e.$s);
264
+ case "ss": return b.s(e.$s, 2, "0");
265
+ case "SSS": return b.s(e.$ms, 3, "0");
266
+ case "Z": return i;
271
267
  }
272
268
  return null;
273
- }(t$2) || i$2.replace(":", "");
269
+ }(t) || i.replace(":", "");
274
270
  }));
275
- }, m$1.utcOffset = function() {
271
+ }, m.utcOffset = function() {
276
272
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
277
- }, m$1.diff = function(r$1, d$1, l$1) {
278
- var $$2, y$1 = this, M$2 = b.p(d$1), m$2 = O(r$1), v$1 = (m$2.utcOffset() - this.utcOffset()) * e, g$1 = this - m$2, D$1 = function() {
279
- return b.m(y$1, m$2);
273
+ }, m.diff = function(r, d, l) {
274
+ var $, y = this, M = b.p(d), m = O(r), v = (m.utcOffset() - this.utcOffset()) * e, g = this - m, D = function() {
275
+ return b.m(y, m);
280
276
  };
281
- switch (M$2) {
282
- case h$1:
283
- $$2 = D$1() / 12;
277
+ switch (M) {
278
+ case h:
279
+ $ = D() / 12;
284
280
  break;
285
- case c$1:
286
- $$2 = D$1();
281
+ case c:
282
+ $ = D();
287
283
  break;
288
284
  case f:
289
- $$2 = D$1() / 3;
285
+ $ = D() / 3;
290
286
  break;
291
- case o$1:
292
- $$2 = (g$1 - v$1) / 6048e5;
287
+ case o:
288
+ $ = (g - v) / 6048e5;
293
289
  break;
294
- case a$1:
295
- $$2 = (g$1 - v$1) / 864e5;
290
+ case a:
291
+ $ = (g - v) / 864e5;
296
292
  break;
297
- case u$1:
298
- $$2 = g$1 / n$1;
293
+ case u:
294
+ $ = g / n;
299
295
  break;
300
296
  case s:
301
- $$2 = g$1 / e;
297
+ $ = g / e;
302
298
  break;
303
- case i$1:
304
- $$2 = g$1 / t;
299
+ case i:
300
+ $ = g / t;
305
301
  break;
306
- default: $$2 = g$1;
302
+ default: $ = g;
307
303
  }
308
- return l$1 ? $$2 : b.a($$2);
309
- }, m$1.daysInMonth = function() {
310
- return this.endOf(c$1).$D;
311
- }, m$1.$locale = function() {
304
+ return l ? $ : b.a($);
305
+ }, m.daysInMonth = function() {
306
+ return this.endOf(c).$D;
307
+ }, m.$locale = function() {
312
308
  return D[this.$L];
313
- }, m$1.locale = function(t$1, e$1) {
314
- if (!t$1) return this.$L;
315
- var n$2 = this.clone(), r$1 = w(t$1, e$1, !0);
316
- return r$1 && (n$2.$L = r$1), n$2;
317
- }, m$1.clone = function() {
309
+ }, m.locale = function(t, e) {
310
+ if (!t) return this.$L;
311
+ var n = this.clone(), r = w(t, e, !0);
312
+ return r && (n.$L = r), n;
313
+ }, m.clone = function() {
318
314
  return b.w(this.$d, this);
319
- }, m$1.toDate = function() {
315
+ }, m.toDate = function() {
320
316
  return new Date(this.valueOf());
321
- }, m$1.toJSON = function() {
317
+ }, m.toJSON = function() {
322
318
  return this.isValid() ? this.toISOString() : null;
323
- }, m$1.toISOString = function() {
319
+ }, m.toISOString = function() {
324
320
  return this.$d.toISOString();
325
- }, m$1.toString = function() {
321
+ }, m.toString = function() {
326
322
  return this.$d.toUTCString();
327
- }, M$1;
328
- }(), k = _$1.prototype;
323
+ }, M;
324
+ }(), k = _.prototype;
329
325
  return O.prototype = k, [
330
326
  ["$ms", r],
331
- ["$s", i$1],
327
+ ["$s", i],
332
328
  ["$m", s],
333
- ["$H", u$1],
334
- ["$W", a$1],
335
- ["$M", c$1],
336
- ["$y", h$1],
329
+ ["$H", u],
330
+ ["$W", a],
331
+ ["$M", c],
332
+ ["$y", h],
337
333
  ["$D", d]
338
- ].forEach((function(t$1) {
339
- k[t$1[1]] = function(e$1) {
340
- return this.$g(e$1, t$1[0], t$1[1]);
334
+ ].forEach((function(t) {
335
+ k[t[1]] = function(e) {
336
+ return this.$g(e, t[0], t[1]);
341
337
  };
342
- })), O.extend = function(t$1, e$1) {
343
- return t$1.$i || (t$1(e$1, _$1, O), t$1.$i = !0), O;
344
- }, O.locale = w, O.isDayjs = S, O.unix = function(t$1) {
345
- return O(1e3 * t$1);
338
+ })), O.extend = function(t, e) {
339
+ return t.$i || (t(e, _, O), t.$i = !0), O;
340
+ }, O.locale = w, O.isDayjs = S, O.unix = function(t) {
341
+ return O(1e3 * t);
346
342
  }, O.en = D[g], O.Ls = D, O.p = {}, O;
347
343
  }));
348
- }) });
349
-
350
- //#endregion
351
- //#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
352
- var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1);
344
+ })))(), 1);
353
345
  function isPlainObject(value) {
354
346
  if (typeof value !== "object" || value === null) return false;
355
347
  const prototype = Object.getPrototypeOf(value);
356
348
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
357
349
  }
358
-
359
350
  //#endregion
360
351
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/file-url.js
361
352
  const safeNormalizeFileUrl = (file, name) => {
@@ -366,7 +357,6 @@ const safeNormalizeFileUrl = (file, name) => {
366
357
  const normalizeDenoExecPath = (file) => isDenoExecPath(file) ? file.toString() : file;
367
358
  const isDenoExecPath = (file) => typeof file !== "string" && file && Object.getPrototypeOf(file) === String.prototype;
368
359
  const normalizeFileUrl = (file) => file instanceof URL ? fileURLToPath(file) : file;
369
-
370
360
  //#endregion
371
361
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/parameters.js
372
362
  const normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
@@ -384,7 +374,6 @@ const normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
384
374
  options
385
375
  ];
386
376
  };
387
-
388
377
  //#endregion
389
378
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/uint-array.js
390
379
  const { toString: objectToString$1 } = Object.prototype;
@@ -424,7 +413,6 @@ const getJoinLength = (uint8Arrays) => {
424
413
  for (const uint8Array of uint8Arrays) joinLength += uint8Array.length;
425
414
  return joinLength;
426
415
  };
427
-
428
416
  //#endregion
429
417
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/template.js
430
418
  const isTemplateString = (templates) => Array.isArray(templates) && Array.isArray(templates.raw);
@@ -451,7 +439,7 @@ const parseTemplate = ({ templates, expressions, tokens, index, template }) => {
451
439
  const newTokens = concatTokens(tokens, nextTokens, leadingWhitespaces);
452
440
  if (index === expressions.length) return newTokens;
453
441
  const expression = expressions[index];
454
- return concatTokens(newTokens, Array.isArray(expression) ? expression.map((expression$1) => parseExpression(expression$1)) : [parseExpression(expression)], trailingWhitespaces);
442
+ return concatTokens(newTokens, Array.isArray(expression) ? expression.map((expression) => parseExpression(expression)) : [parseExpression(expression)], trailingWhitespaces);
455
443
  };
456
444
  const splitByWhitespaces = (template, rawTemplate) => {
457
445
  if (rawTemplate.length === 0) return {
@@ -513,7 +501,6 @@ const getSubprocessResult = ({ stdout }) => {
513
501
  if (stdout === void 0) throw new TypeError("Missing result.stdout in template expression. This is probably due to the previous subprocess' \"stdout\" option.");
514
502
  throw new TypeError(`Unexpected "${typeof stdout}" stdout in template expression`);
515
503
  };
516
-
517
504
  //#endregion
518
505
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/standard-stream.js
519
506
  const isStandardStream = (stream) => STANDARD_STREAMS.includes(stream);
@@ -528,7 +515,6 @@ const STANDARD_STREAMS_ALIASES = [
528
515
  "stderr"
529
516
  ];
530
517
  const getStreamName = (fdNumber) => STANDARD_STREAMS_ALIASES[fdNumber] ?? `stdio[${fdNumber}]`;
531
-
532
518
  //#endregion
533
519
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/specific.js
534
520
  const normalizeFdSpecificOptions = (options) => {
@@ -583,7 +569,6 @@ const FD_SPECIFIC_OPTIONS = [
583
569
  "stripFinalNewline"
584
570
  ];
585
571
  const getFdSpecificValue = (optionArray, fdNumber) => fdNumber === "ipc" ? optionArray.at(-1) : optionArray[fdNumber];
586
-
587
572
  //#endregion
588
573
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/values.js
589
574
  const isVerbose = ({ verbose }, fdNumber) => getFdVerbose(verbose, fdNumber) !== "none";
@@ -600,7 +585,6 @@ const VERBOSE_VALUES = [
600
585
  "short",
601
586
  "full"
602
587
  ];
603
-
604
588
  //#endregion
605
589
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/escape.js
606
590
  const joinCommand = (filePath, rawArguments) => {
@@ -621,7 +605,7 @@ const escapeControlCharacter = (character) => {
621
605
  };
622
606
  const getSpecialCharRegExp = () => {
623
607
  try {
624
- return new RegExp("\\p{Separator}|\\p{Other}", "gu");
608
+ return /* @__PURE__ */ new RegExp("\\p{Separator}|\\p{Other}", "gu");
625
609
  } catch {
626
610
  return /[\s\u0000-\u001F\u007F-\u009F\u00AD]/g;
627
611
  }
@@ -641,7 +625,6 @@ const quoteString = (escapedArgument) => {
641
625
  return platform === "win32" ? `"${escapedArgument.replaceAll("\"", "\"\"")}"` : `'${escapedArgument.replaceAll("'", "'\\''")}'`;
642
626
  };
643
627
  const NO_ESCAPE_REGEXP = /^[\w./-]+$/;
644
-
645
628
  //#endregion
646
629
  //#region ../../node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
647
630
  function isUnicodeSupported() {
@@ -650,7 +633,6 @@ function isUnicodeSupported() {
650
633
  if (process$1.platform !== "win32") return TERM !== "linux";
651
634
  return Boolean(env.WT_SESSION) || Boolean(env.TERMINUS_SUBLIME) || env.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
652
635
  }
653
-
654
636
  //#endregion
655
637
  //#region ../../node_modules/.pnpm/figures@6.1.0/node_modules/figures/index.js
656
638
  const common = {
@@ -929,11 +911,8 @@ const fallbackSymbols = {
929
911
  ...common,
930
912
  ...specialFallbackSymbols
931
913
  };
932
- const shouldUseMain = isUnicodeSupported();
933
- const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
934
- var figures_default = figures;
935
- const replacements = Object.entries(specialMainSymbols);
936
-
914
+ const figures = isUnicodeSupported() ? mainSymbols : fallbackSymbols;
915
+ Object.entries(specialMainSymbols);
937
916
  //#endregion
938
917
  //#region ../../node_modules/.pnpm/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
939
918
  const hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
@@ -956,48 +935,47 @@ const format = (open, close) => {
956
935
  return result;
957
936
  };
958
937
  };
959
- const reset = format(0, 0);
938
+ format(0, 0);
960
939
  const bold = format(1, 22);
961
- const dim = format(2, 22);
962
- const italic = format(3, 23);
963
- const underline = format(4, 24);
964
- const overline = format(53, 55);
965
- const inverse = format(7, 27);
966
- const hidden = format(8, 28);
967
- const strikethrough = format(9, 29);
968
- const black = format(30, 39);
969
- const red = format(31, 39);
970
- const green = format(32, 39);
971
- const yellow = format(33, 39);
972
- const blue = format(34, 39);
973
- const magenta = format(35, 39);
974
- const cyan = format(36, 39);
975
- const white = format(37, 39);
940
+ format(2, 22);
941
+ format(3, 23);
942
+ format(4, 24);
943
+ format(53, 55);
944
+ format(7, 27);
945
+ format(8, 28);
946
+ format(9, 29);
947
+ format(30, 39);
948
+ format(31, 39);
949
+ format(32, 39);
950
+ format(33, 39);
951
+ format(34, 39);
952
+ format(35, 39);
953
+ format(36, 39);
954
+ format(37, 39);
976
955
  const gray = format(90, 39);
977
- const bgBlack = format(40, 49);
978
- const bgRed = format(41, 49);
979
- const bgGreen = format(42, 49);
980
- const bgYellow = format(43, 49);
981
- const bgBlue = format(44, 49);
982
- const bgMagenta = format(45, 49);
983
- const bgCyan = format(46, 49);
984
- const bgWhite = format(47, 49);
985
- const bgGray = format(100, 49);
956
+ format(40, 49);
957
+ format(41, 49);
958
+ format(42, 49);
959
+ format(43, 49);
960
+ format(44, 49);
961
+ format(45, 49);
962
+ format(46, 49);
963
+ format(47, 49);
964
+ format(100, 49);
986
965
  const redBright = format(91, 39);
987
- const greenBright = format(92, 39);
966
+ format(92, 39);
988
967
  const yellowBright = format(93, 39);
989
- const blueBright = format(94, 39);
990
- const magentaBright = format(95, 39);
991
- const cyanBright = format(96, 39);
992
- const whiteBright = format(97, 39);
993
- const bgRedBright = format(101, 49);
994
- const bgGreenBright = format(102, 49);
995
- const bgYellowBright = format(103, 49);
996
- const bgBlueBright = format(104, 49);
997
- const bgMagentaBright = format(105, 49);
998
- const bgCyanBright = format(106, 49);
999
- const bgWhiteBright = format(107, 49);
1000
-
968
+ format(94, 39);
969
+ format(95, 39);
970
+ format(96, 39);
971
+ format(97, 39);
972
+ format(101, 49);
973
+ format(102, 49);
974
+ format(103, 49);
975
+ format(104, 49);
976
+ format(105, 49);
977
+ format(106, 49);
978
+ format(107, 49);
1001
979
  //#endregion
1002
980
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/default.js
1003
981
  const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, result: { failed = false } = {}, options: { reject = true } }) => {
@@ -1013,8 +991,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
1013
991
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
1014
992
  const padField = (field, padding) => String(field).padStart(padding, "0");
1015
993
  const getFinalIcon = ({ failed, reject }) => {
1016
- if (!failed) return figures_default.tick;
1017
- return reject ? figures_default.cross : figures_default.warning;
994
+ if (!failed) return figures.tick;
995
+ return reject ? figures.cross : figures.warning;
1018
996
  };
1019
997
  const ICONS = {
1020
998
  command: ({ piped }) => piped ? "|" : "$",
@@ -1031,7 +1009,6 @@ const COLORS = {
1031
1009
  error: ({ reject }) => reject ? redBright : yellowBright,
1032
1010
  duration: () => gray
1033
1011
  };
1034
-
1035
1012
  //#endregion
1036
1013
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/custom.js
1037
1014
  const applyVerboseOnLines = (printedLines, verboseInfo, fdNumber) => {
@@ -1044,7 +1021,6 @@ const applyVerboseFunction = (verboseLine, verboseObject, verboseFunction) => {
1044
1021
  if (typeof printedLine === "string") return printedLine;
1045
1022
  };
1046
1023
  const appendNewline = (printedLine) => printedLine.endsWith("\n") ? printedLine : `${printedLine}\n`;
1047
-
1048
1024
  //#endregion
1049
1025
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/log.js
1050
1026
  const verboseLog = ({ type, verboseMessage, fdNumber, verboseInfo, result }) => {
@@ -1055,7 +1031,7 @@ const verboseLog = ({ type, verboseMessage, fdNumber, verboseInfo, result }) =>
1055
1031
  })), verboseInfo, fdNumber);
1056
1032
  if (finalLines !== "") console.warn(finalLines.slice(0, -1));
1057
1033
  };
1058
- const getVerboseObject = ({ type, result, verboseInfo: { escapedCommand, commandId, rawOptions: { piped = false,...options } } }) => ({
1034
+ const getVerboseObject = ({ type, result, verboseInfo: { escapedCommand, commandId, rawOptions: { piped = false, ...options } } }) => ({
1059
1035
  type,
1060
1036
  escapedCommand,
1061
1037
  commandId: `${commandId}`,
@@ -1078,7 +1054,6 @@ const serializeVerboseMessage = (message) => {
1078
1054
  return escapeLines(typeof message === "string" ? message : inspect(message)).replaceAll(" ", " ".repeat(TAB_SIZE));
1079
1055
  };
1080
1056
  const TAB_SIZE = 2;
1081
-
1082
1057
  //#endregion
1083
1058
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/start.js
1084
1059
  const logCommand = (escapedCommand, verboseInfo) => {
@@ -1089,7 +1064,6 @@ const logCommand = (escapedCommand, verboseInfo) => {
1089
1064
  verboseInfo
1090
1065
  });
1091
1066
  };
1092
-
1093
1067
  //#endregion
1094
1068
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/info.js
1095
1069
  const getVerboseInfo = (verbose, escapedCommand, rawOptions) => {
@@ -1113,12 +1087,10 @@ const validateVerbose = (verbose) => {
1113
1087
  }
1114
1088
  }
1115
1089
  };
1116
-
1117
1090
  //#endregion
1118
1091
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/duration.js
1119
1092
  const getStartTime = () => hrtime.bigint();
1120
1093
  const getDurationMs = (startTime) => Number(hrtime.bigint() - startTime) / 1e6;
1121
-
1122
1094
  //#endregion
1123
1095
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/command.js
1124
1096
  const handleCommand = (filePath, rawArguments, rawOptions) => {
@@ -1133,51 +1105,49 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
1133
1105
  verboseInfo
1134
1106
  };
1135
1107
  };
1136
-
1137
1108
  //#endregion
1138
1109
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
1139
- var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
1140
- module.exports = isexe$3;
1141
- isexe$3.sync = sync$2;
1110
+ var require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1111
+ module.exports = isexe;
1112
+ isexe.sync = sync;
1142
1113
  var fs$4 = __require("fs");
1143
- function checkPathExt(path$8, options) {
1114
+ function checkPathExt(path, options) {
1144
1115
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
1145
1116
  if (!pathext) return true;
1146
1117
  pathext = pathext.split(";");
1147
1118
  if (pathext.indexOf("") !== -1) return true;
1148
- for (var i$1 = 0; i$1 < pathext.length; i$1++) {
1149
- var p$1 = pathext[i$1].toLowerCase();
1150
- if (p$1 && path$8.substr(-p$1.length).toLowerCase() === p$1) return true;
1119
+ for (var i = 0; i < pathext.length; i++) {
1120
+ var p = pathext[i].toLowerCase();
1121
+ if (p && path.substr(-p.length).toLowerCase() === p) return true;
1151
1122
  }
1152
1123
  return false;
1153
1124
  }
1154
- function checkStat$1(stat, path$8, options) {
1125
+ function checkStat(stat, path, options) {
1155
1126
  if (!stat.isSymbolicLink() && !stat.isFile()) return false;
1156
- return checkPathExt(path$8, options);
1127
+ return checkPathExt(path, options);
1157
1128
  }
1158
- function isexe$3(path$8, options, cb) {
1159
- fs$4.stat(path$8, function(er, stat) {
1160
- cb(er, er ? false : checkStat$1(stat, path$8, options));
1129
+ function isexe(path, options, cb) {
1130
+ fs$4.stat(path, function(er, stat) {
1131
+ cb(er, er ? false : checkStat(stat, path, options));
1161
1132
  });
1162
1133
  }
1163
- function sync$2(path$8, options) {
1164
- return checkStat$1(fs$4.statSync(path$8), path$8, options);
1134
+ function sync(path, options) {
1135
+ return checkStat(fs$4.statSync(path), path, options);
1165
1136
  }
1166
- }) });
1167
-
1137
+ }));
1168
1138
  //#endregion
1169
1139
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
1170
- var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
1171
- module.exports = isexe$2;
1172
- isexe$2.sync = sync$1;
1140
+ var require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1141
+ module.exports = isexe;
1142
+ isexe.sync = sync;
1173
1143
  var fs$3 = __require("fs");
1174
- function isexe$2(path$8, options, cb) {
1175
- fs$3.stat(path$8, function(er, stat) {
1144
+ function isexe(path, options, cb) {
1145
+ fs$3.stat(path, function(er, stat) {
1176
1146
  cb(er, er ? false : checkStat(stat, options));
1177
1147
  });
1178
1148
  }
1179
- function sync$1(path$8, options) {
1180
- return checkStat(fs$3.statSync(path$8), options);
1149
+ function sync(path, options) {
1150
+ return checkStat(fs$3.statSync(path), options);
1181
1151
  }
1182
1152
  function checkStat(stat, options) {
1183
1153
  return stat.isFile() && checkMode(stat, options);
@@ -1188,24 +1158,23 @@ var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@
1188
1158
  var gid = stat.gid;
1189
1159
  var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
1190
1160
  var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
1191
- var u$1 = parseInt("100", 8);
1161
+ var u = parseInt("100", 8);
1192
1162
  var g = parseInt("010", 8);
1193
- var o$1 = parseInt("001", 8);
1194
- var ug = u$1 | g;
1195
- return mod & o$1 || mod & g && gid === myGid || mod & u$1 && uid === myUid || mod & ug && myUid === 0;
1163
+ var o = parseInt("001", 8);
1164
+ var ug = u | g;
1165
+ return mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
1196
1166
  }
1197
- }) });
1198
-
1167
+ }));
1199
1168
  //#endregion
1200
1169
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
1201
- var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
1170
+ var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1202
1171
  __require("fs");
1203
1172
  var core;
1204
1173
  if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
1205
1174
  else core = require_mode();
1206
- module.exports = isexe$1;
1207
- isexe$1.sync = sync;
1208
- function isexe$1(path$8, options, cb) {
1175
+ module.exports = isexe;
1176
+ isexe.sync = sync;
1177
+ function isexe(path, options, cb) {
1209
1178
  if (typeof options === "function") {
1210
1179
  cb = options;
1211
1180
  options = {};
@@ -1213,13 +1182,13 @@ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe
1213
1182
  if (!cb) {
1214
1183
  if (typeof Promise !== "function") throw new TypeError("callback not provided");
1215
1184
  return new Promise(function(resolve, reject) {
1216
- isexe$1(path$8, options || {}, function(er, is) {
1185
+ isexe(path, options || {}, function(er, is) {
1217
1186
  if (er) reject(er);
1218
1187
  else resolve(is);
1219
1188
  });
1220
1189
  });
1221
1190
  }
1222
- core(path$8, options || {}, function(er, is) {
1191
+ core(path, options || {}, function(er, is) {
1223
1192
  if (er) {
1224
1193
  if (er.code === "EACCES" || options && options.ignoreErrors) {
1225
1194
  er = null;
@@ -1229,19 +1198,18 @@ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe
1229
1198
  cb(er, is);
1230
1199
  });
1231
1200
  }
1232
- function sync(path$8, options) {
1201
+ function sync(path, options) {
1233
1202
  try {
1234
- return core.sync(path$8, options || {});
1203
+ return core.sync(path, options || {});
1235
1204
  } catch (er) {
1236
1205
  if (options && options.ignoreErrors || er.code === "EACCES") return false;
1237
1206
  else throw er;
1238
1207
  }
1239
1208
  }
1240
- }) });
1241
-
1209
+ }));
1242
1210
  //#endregion
1243
1211
  //#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
1244
- var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
1212
+ var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1245
1213
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
1246
1214
  const path$7 = __require("path");
1247
1215
  const COLON = isWindows ? ";" : ":";
@@ -1261,7 +1229,7 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
1261
1229
  pathExtExe
1262
1230
  };
1263
1231
  };
1264
- const which$1 = (cmd, opt, cb) => {
1232
+ const which = (cmd, opt, cb) => {
1265
1233
  if (typeof opt === "function") {
1266
1234
  cb = opt;
1267
1235
  opt = {};
@@ -1269,20 +1237,20 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
1269
1237
  if (!opt) opt = {};
1270
1238
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
1271
1239
  const found = [];
1272
- const step = (i$1) => new Promise((resolve, reject) => {
1273
- if (i$1 === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
1274
- const ppRaw = pathEnv[i$1];
1240
+ const step = (i) => new Promise((resolve, reject) => {
1241
+ if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
1242
+ const ppRaw = pathEnv[i];
1275
1243
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
1276
1244
  const pCmd = path$7.join(pathPart, cmd);
1277
- resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i$1, 0));
1245
+ resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
1278
1246
  });
1279
- const subStep = (p$1, i$1, ii) => new Promise((resolve, reject) => {
1280
- if (ii === pathExt.length) return resolve(step(i$1 + 1));
1247
+ const subStep = (p, i, ii) => new Promise((resolve, reject) => {
1248
+ if (ii === pathExt.length) return resolve(step(i + 1));
1281
1249
  const ext = pathExt[ii];
1282
- isexe(p$1 + ext, { pathExt: pathExtExe }, (er, is) => {
1283
- if (!er && is) if (opt.all) found.push(p$1 + ext);
1284
- else return resolve(p$1 + ext);
1285
- return resolve(subStep(p$1, i$1, ii + 1));
1250
+ isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
1251
+ if (!er && is) if (opt.all) found.push(p + ext);
1252
+ else return resolve(p + ext);
1253
+ return resolve(subStep(p, i, ii + 1));
1286
1254
  });
1287
1255
  });
1288
1256
  return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
@@ -1291,13 +1259,13 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
1291
1259
  opt = opt || {};
1292
1260
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
1293
1261
  const found = [];
1294
- for (let i$1 = 0; i$1 < pathEnv.length; i$1++) {
1295
- const ppRaw = pathEnv[i$1];
1262
+ for (let i = 0; i < pathEnv.length; i++) {
1263
+ const ppRaw = pathEnv[i];
1296
1264
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
1297
1265
  const pCmd = path$7.join(pathPart, cmd);
1298
- const p$1 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
1266
+ const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
1299
1267
  for (let j = 0; j < pathExt.length; j++) {
1300
- const cur = p$1 + pathExt[j];
1268
+ const cur = p + pathExt[j];
1301
1269
  try {
1302
1270
  if (isexe.sync(cur, { pathExt: pathExtExe })) if (opt.all) found.push(cur);
1303
1271
  else return cur;
@@ -1308,25 +1276,23 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
1308
1276
  if (opt.nothrow) return null;
1309
1277
  throw getNotFoundError(cmd);
1310
1278
  };
1311
- module.exports = which$1;
1312
- which$1.sync = whichSync;
1313
- }) });
1314
-
1279
+ module.exports = which;
1280
+ which.sync = whichSync;
1281
+ }));
1315
1282
  //#endregion
1316
1283
  //#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
1317
- var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
1318
- const pathKey$1 = (options = {}) => {
1284
+ var require_path_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1285
+ const pathKey = (options = {}) => {
1319
1286
  const environment = options.env || process.env;
1320
1287
  if ((options.platform || process.platform) !== "win32") return "PATH";
1321
1288
  return Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
1322
1289
  };
1323
- module.exports = pathKey$1;
1324
- module.exports.default = pathKey$1;
1325
- }) });
1326
-
1290
+ module.exports = pathKey;
1291
+ module.exports.default = pathKey;
1292
+ }));
1327
1293
  //#endregion
1328
1294
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
1329
- var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
1295
+ var require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1330
1296
  const path$6 = __require("path");
1331
1297
  const which = require_which();
1332
1298
  const getPathKey = require_path_key();
@@ -1350,15 +1316,14 @@ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
1350
1316
  if (resolved) resolved = path$6.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
1351
1317
  return resolved;
1352
1318
  }
1353
- function resolveCommand$1(parsed) {
1319
+ function resolveCommand(parsed) {
1354
1320
  return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
1355
1321
  }
1356
- module.exports = resolveCommand$1;
1357
- }) });
1358
-
1322
+ module.exports = resolveCommand;
1323
+ }));
1359
1324
  //#endregion
1360
1325
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
1361
- var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
1326
+ var require_escape = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1362
1327
  const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
1363
1328
  function escapeCommand(arg) {
1364
1329
  arg = arg.replace(metaCharsRegExp, "^$1");
@@ -1375,34 +1340,31 @@ var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
1375
1340
  }
1376
1341
  module.exports.command = escapeCommand;
1377
1342
  module.exports.argument = escapeArgument;
1378
- }) });
1379
-
1343
+ }));
1380
1344
  //#endregion
1381
1345
  //#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
1382
- var require_shebang_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
1346
+ var require_shebang_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1383
1347
  module.exports = /^#!(.*)/;
1384
- }) });
1385
-
1348
+ }));
1386
1349
  //#endregion
1387
1350
  //#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
1388
- var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
1351
+ var require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1389
1352
  const shebangRegex = require_shebang_regex();
1390
1353
  module.exports = (string = "") => {
1391
1354
  const match = string.match(shebangRegex);
1392
1355
  if (!match) return null;
1393
- const [path$8, argument] = match[0].replace(/#! ?/, "").split(" ");
1394
- const binary = path$8.split("/").pop();
1356
+ const [path, argument] = match[0].replace(/#! ?/, "").split(" ");
1357
+ const binary = path.split("/").pop();
1395
1358
  if (binary === "env") return argument;
1396
1359
  return argument ? `${binary} ${argument}` : binary;
1397
1360
  };
1398
- }) });
1399
-
1361
+ }));
1400
1362
  //#endregion
1401
1363
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
1402
- var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
1364
+ var require_readShebang = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1403
1365
  const fs$2 = __require("fs");
1404
1366
  const shebangCommand = require_shebang_command();
1405
- function readShebang$1(command) {
1367
+ function readShebang(command) {
1406
1368
  const size = 150;
1407
1369
  const buffer = Buffer.alloc(size);
1408
1370
  let fd;
@@ -1413,17 +1375,16 @@ var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
1413
1375
  } catch (e) {}
1414
1376
  return shebangCommand(buffer.toString());
1415
1377
  }
1416
- module.exports = readShebang$1;
1417
- }) });
1418
-
1378
+ module.exports = readShebang;
1379
+ }));
1419
1380
  //#endregion
1420
1381
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
1421
- var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
1382
+ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1422
1383
  const path$5 = __require("path");
1423
1384
  const resolveCommand = require_resolveCommand();
1424
1385
  const escape = require_escape();
1425
1386
  const readShebang = require_readShebang();
1426
- const isWin$1 = process.platform === "win32";
1387
+ const isWin = process.platform === "win32";
1427
1388
  const isExecutableRegExp = /\.(?:com|exe)$/i;
1428
1389
  const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
1429
1390
  function detectShebang(parsed) {
@@ -1437,7 +1398,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
1437
1398
  return parsed.file;
1438
1399
  }
1439
1400
  function parseNonShell(parsed) {
1440
- if (!isWin$1) return parsed;
1401
+ if (!isWin) return parsed;
1441
1402
  const commandFile = detectShebang(parsed);
1442
1403
  const needsShell = !isExecutableRegExp.test(commandFile);
1443
1404
  if (parsed.options.forceShell || needsShell) {
@@ -1456,7 +1417,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
1456
1417
  }
1457
1418
  return parsed;
1458
1419
  }
1459
- function parse$1(command, args, options) {
1420
+ function parse(command, args, options) {
1460
1421
  if (args && !Array.isArray(args)) {
1461
1422
  options = args;
1462
1423
  args = null;
@@ -1475,12 +1436,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
1475
1436
  };
1476
1437
  return options.shell ? parsed : parseNonShell(parsed);
1477
1438
  }
1478
- module.exports = parse$1;
1479
- }) });
1480
-
1439
+ module.exports = parse;
1440
+ }));
1481
1441
  //#endregion
1482
1442
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
1483
- var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
1443
+ var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1484
1444
  const isWin = process.platform === "win32";
1485
1445
  function notFoundError(original, syscall) {
1486
1446
  return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
@@ -1491,15 +1451,15 @@ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
1491
1451
  spawnargs: original.args
1492
1452
  });
1493
1453
  }
1494
- function hookChildProcess(cp$1, parsed) {
1454
+ function hookChildProcess(cp, parsed) {
1495
1455
  if (!isWin) return;
1496
- const originalEmit = cp$1.emit;
1497
- cp$1.emit = function(name, arg1) {
1456
+ const originalEmit = cp.emit;
1457
+ cp.emit = function(name, arg1) {
1498
1458
  if (name === "exit") {
1499
1459
  const err = verifyENOENT(arg1, parsed);
1500
- if (err) return originalEmit.call(cp$1, "error", err);
1460
+ if (err) return originalEmit.call(cp, "error", err);
1501
1461
  }
1502
- return originalEmit.apply(cp$1, arguments);
1462
+ return originalEmit.apply(cp, arguments);
1503
1463
  };
1504
1464
  }
1505
1465
  function verifyENOENT(status, parsed) {
@@ -1516,45 +1476,37 @@ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
1516
1476
  verifyENOENTSync,
1517
1477
  notFoundError
1518
1478
  };
1519
- }) });
1520
-
1479
+ }));
1521
1480
  //#endregion
1522
- //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
1523
- var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
1481
+ //#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
1482
+ var import_cross_spawn = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
1524
1483
  const cp = __require("child_process");
1525
1484
  const parse = require_parse();
1526
1485
  const enoent = require_enoent();
1527
- function spawn$1(command, args, options) {
1486
+ function spawn(command, args, options) {
1528
1487
  const parsed = parse(command, args, options);
1529
1488
  const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
1530
1489
  enoent.hookChildProcess(spawned, parsed);
1531
1490
  return spawned;
1532
1491
  }
1533
- function spawnSync$1(command, args, options) {
1492
+ function spawnSync(command, args, options) {
1534
1493
  const parsed = parse(command, args, options);
1535
1494
  const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
1536
1495
  result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
1537
1496
  return result;
1538
1497
  }
1539
- module.exports = spawn$1;
1540
- module.exports.spawn = spawn$1;
1541
- module.exports.sync = spawnSync$1;
1498
+ module.exports = spawn;
1499
+ module.exports.spawn = spawn;
1500
+ module.exports.sync = spawnSync;
1542
1501
  module.exports._parse = parse;
1543
1502
  module.exports._enoent = enoent;
1544
- }) });
1545
-
1546
- //#endregion
1547
- //#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
1548
- var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
1503
+ })))(), 1);
1549
1504
  function pathKey(options = {}) {
1550
- const { env = process.env, platform: platform$1 = process.platform } = options;
1551
- if (platform$1 !== "win32") return "PATH";
1505
+ const { env = process.env, platform = process.platform } = options;
1506
+ if (platform !== "win32") return "PATH";
1552
1507
  return Object.keys(env).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
1553
1508
  }
1554
-
1555
- //#endregion
1556
- //#region ../../node_modules/.pnpm/unicorn-magic@0.3.0/node_modules/unicorn-magic/node.js
1557
- const execFileOriginal = promisify(execFile);
1509
+ promisify(execFile);
1558
1510
  function toPath(urlOrPath) {
1559
1511
  return urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
1560
1512
  }
@@ -1569,16 +1521,14 @@ function traversePathUp(startPath) {
1569
1521
  }
1570
1522
  } };
1571
1523
  }
1572
- const TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
1573
-
1574
1524
  //#endregion
1575
1525
  //#region ../../node_modules/.pnpm/npm-run-path@6.0.0/node_modules/npm-run-path/index.js
1576
- const npmRunPath = ({ cwd = process$1.cwd(), path: pathOption = process$1.env[pathKey()], preferLocal = true, execPath: execPath$1 = process$1.execPath, addExecPath = true } = {}) => {
1526
+ const npmRunPath = ({ cwd = process$1.cwd(), path: pathOption = process$1.env[pathKey()], preferLocal = true, execPath = process$1.execPath, addExecPath = true } = {}) => {
1577
1527
  const cwdPath = path.resolve(toPath(cwd));
1578
1528
  const result = [];
1579
1529
  const pathParts = pathOption.split(path.delimiter);
1580
1530
  if (preferLocal) applyPreferLocal(result, pathParts, cwdPath);
1581
- if (addExecPath) applyExecPath(result, pathParts, execPath$1, cwdPath);
1531
+ if (addExecPath) applyExecPath(result, pathParts, execPath, cwdPath);
1582
1532
  return pathOption === "" || pathOption === path.delimiter ? `${result.join(path.delimiter)}${pathOption}` : [...result, pathOption].join(path.delimiter);
1583
1533
  };
1584
1534
  const applyPreferLocal = (result, pathParts, cwdPath) => {
@@ -1587,18 +1537,17 @@ const applyPreferLocal = (result, pathParts, cwdPath) => {
1587
1537
  if (!pathParts.includes(pathPart)) result.push(pathPart);
1588
1538
  }
1589
1539
  };
1590
- const applyExecPath = (result, pathParts, execPath$1, cwdPath) => {
1591
- const pathPart = path.resolve(cwdPath, toPath(execPath$1), "..");
1540
+ const applyExecPath = (result, pathParts, execPath, cwdPath) => {
1541
+ const pathPart = path.resolve(cwdPath, toPath(execPath), "..");
1592
1542
  if (!pathParts.includes(pathPart)) result.push(pathPart);
1593
1543
  };
1594
- const npmRunPathEnv = ({ env = process$1.env,...options } = {}) => {
1544
+ const npmRunPathEnv = ({ env = process$1.env, ...options } = {}) => {
1595
1545
  env = { ...env };
1596
1546
  const pathName = pathKey({ env });
1597
1547
  options.path = env[pathName];
1598
1548
  env[pathName] = npmRunPath(options);
1599
1549
  return env;
1600
1550
  };
1601
-
1602
1551
  //#endregion
1603
1552
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js
1604
1553
  const getFinalError = (originalError, message, isSync) => {
@@ -1626,11 +1575,10 @@ var ExecaError = class extends Error {};
1626
1575
  setErrorName(ExecaError, ExecaError.name);
1627
1576
  var ExecaSyncError = class extends Error {};
1628
1577
  setErrorName(ExecaSyncError, ExecaSyncError.name);
1629
-
1630
1578
  //#endregion
1631
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/realtime.js
1579
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/realtime.js
1632
1580
  const getRealtimeSignals = () => {
1633
- const length = SIGRTMAX - SIGRTMIN + 1;
1581
+ const length = 64 - SIGRTMIN + 1;
1634
1582
  return Array.from({ length }, getRealtimeSignal);
1635
1583
  };
1636
1584
  const getRealtimeSignal = (value, index) => ({
@@ -1641,10 +1589,8 @@ const getRealtimeSignal = (value, index) => ({
1641
1589
  standard: "posix"
1642
1590
  });
1643
1591
  const SIGRTMIN = 34;
1644
- const SIGRTMAX = 64;
1645
-
1646
1592
  //#endregion
1647
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/core.js
1593
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/core.js
1648
1594
  const SIGNALS = [
1649
1595
  {
1650
1596
  name: "SIGHUP",
@@ -1916,9 +1862,8 @@ const SIGNALS = [
1916
1862
  standard: "other"
1917
1863
  }
1918
1864
  ];
1919
-
1920
1865
  //#endregion
1921
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/signals.js
1866
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/signals.js
1922
1867
  const getSignals = () => {
1923
1868
  const realtimeSignals = getRealtimeSignals();
1924
1869
  return [...SIGNALS, ...realtimeSignals].map(normalizeSignal$1);
@@ -1936,12 +1881,11 @@ const normalizeSignal$1 = ({ name, number: defaultNumber, description, action, f
1936
1881
  standard
1937
1882
  };
1938
1883
  };
1939
-
1940
1884
  //#endregion
1941
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/main.js
1885
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/main.js
1942
1886
  const getSignalsByName = () => {
1943
- const signals$1 = getSignals();
1944
- return Object.fromEntries(signals$1.map(getSignalByName));
1887
+ const signals = getSignals();
1888
+ return Object.fromEntries(signals.map(getSignalByName));
1945
1889
  };
1946
1890
  const getSignalByName = ({ name, number, description, supported, action, forced, standard }) => [name, {
1947
1891
  name,
@@ -1954,13 +1898,12 @@ const getSignalByName = ({ name, number, description, supported, action, forced,
1954
1898
  }];
1955
1899
  const signalsByName = getSignalsByName();
1956
1900
  const getSignalsByNumber = () => {
1957
- const signals$1 = getSignals();
1958
- const length = SIGRTMAX + 1;
1959
- const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals$1));
1901
+ const signals = getSignals();
1902
+ const signalsA = Array.from({ length: 65 }, (value, number) => getSignalByNumber(number, signals));
1960
1903
  return Object.assign({}, ...signalsA);
1961
1904
  };
1962
- const getSignalByNumber = (number, signals$1) => {
1963
- const signal = findSignalByNumber(number, signals$1);
1905
+ const getSignalByNumber = (number, signals) => {
1906
+ const signal = findSignalByNumber(number, signals);
1964
1907
  if (signal === void 0) return {};
1965
1908
  const { name, description, supported, action, forced, standard } = signal;
1966
1909
  return { [number]: {
@@ -1973,13 +1916,12 @@ const getSignalByNumber = (number, signals$1) => {
1973
1916
  standard
1974
1917
  } };
1975
1918
  };
1976
- const findSignalByNumber = (number, signals$1) => {
1977
- const signal = signals$1.find(({ name }) => constants.signals[name] === number);
1919
+ const findSignalByNumber = (number, signals) => {
1920
+ const signal = signals.find(({ name }) => constants.signals[name] === number);
1978
1921
  if (signal !== void 0) return signal;
1979
- return signals$1.find((signalA) => signalA.number === number);
1922
+ return signals.find((signalA) => signalA.number === number);
1980
1923
  };
1981
- const signalsByNumber = getSignalsByNumber();
1982
-
1924
+ getSignalsByNumber();
1983
1925
  //#endregion
1984
1926
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/signal.js
1985
1927
  const normalizeKillSignal = (killSignal) => {
@@ -2009,7 +1951,6 @@ Available signal numbers: ${getAvailableSignalIntegers()}.`;
2009
1951
  const getAvailableSignalNames = () => Object.keys(constants.signals).sort().map((signalName) => `'${signalName}'`).join(", ");
2010
1952
  const getAvailableSignalIntegers = () => [...new Set(Object.values(constants.signals).sort((signalInteger, signalIntegerTwo) => signalInteger - signalIntegerTwo))].join(", ");
2011
1953
  const getSignalDescription = (signal) => signalsByName[signal].description;
2012
-
2013
1954
  //#endregion
2014
1955
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/kill.js
2015
1956
  const normalizeForceKillAfterDelay = (forceKillAfterDelay) => {
@@ -2061,13 +2002,11 @@ const killOnTimeout = async ({ kill, forceKillAfterDelay, context, controllerSig
2061
2002
  if (kill("SIGKILL")) context.isForcefullyTerminated ??= true;
2062
2003
  } catch {}
2063
2004
  };
2064
-
2065
2005
  //#endregion
2066
2006
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/abort-signal.js
2067
2007
  const onAbortedSignal = async (mainSignal, stopSignal) => {
2068
2008
  if (!mainSignal.aborted) await once(mainSignal, "abort", { signal: stopSignal });
2069
2009
  };
2070
-
2071
2010
  //#endregion
2072
2011
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/cancel.js
2073
2012
  const validateCancelSignal = ({ cancelSignal }) => {
@@ -2080,18 +2019,17 @@ const terminateOnCancel = async (subprocess, cancelSignal, context, { signal })
2080
2019
  subprocess.kill();
2081
2020
  throw cancelSignal.reason;
2082
2021
  };
2083
-
2084
2022
  //#endregion
2085
2023
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/validation.js
2086
- const validateIpcMethod = ({ methodName, isSubprocess, ipc, isConnected: isConnected$1 }) => {
2024
+ const validateIpcMethod = ({ methodName, isSubprocess, ipc, isConnected }) => {
2087
2025
  validateIpcOption(methodName, isSubprocess, ipc);
2088
- validateConnection(methodName, isSubprocess, isConnected$1);
2026
+ validateConnection(methodName, isSubprocess, isConnected);
2089
2027
  };
2090
2028
  const validateIpcOption = (methodName, isSubprocess, ipc) => {
2091
2029
  if (!ipc) throw new Error(`${getMethodName(methodName, isSubprocess)} can only be used if the \`ipc\` option is \`true\`.`);
2092
2030
  };
2093
- const validateConnection = (methodName, isSubprocess, isConnected$1) => {
2094
- if (!isConnected$1) throw new Error(`${getMethodName(methodName, isSubprocess)} cannot be used: the ${getOtherProcessName(isSubprocess)} has already exited or disconnected.`);
2031
+ const validateConnection = (methodName, isSubprocess, isConnected) => {
2032
+ if (!isConnected) throw new Error(`${getMethodName(methodName, isSubprocess)} cannot be used: the ${getOtherProcessName(isSubprocess)} has already exited or disconnected.`);
2095
2033
  };
2096
2034
  const throwOnEarlyDisconnect = (isSubprocess) => {
2097
2035
  throw new Error(`${getMethodName("getOneMessage", isSubprocess)} could not complete: the ${getOtherProcessName(isSubprocess)} exited or disconnected.`);
@@ -2135,7 +2073,6 @@ const getOtherProcessName = (isSubprocess) => isSubprocess ? "parent process" :
2135
2073
  const disconnect = (anyProcess) => {
2136
2074
  if (anyProcess.connected) anyProcess.disconnect();
2137
2075
  };
2138
-
2139
2076
  //#endregion
2140
2077
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/deferred.js
2141
2078
  const createDeferred = () => {
@@ -2148,7 +2085,6 @@ const createDeferred = () => {
2148
2085
  });
2149
2086
  return Object.assign(promise, methods);
2150
2087
  };
2151
-
2152
2088
  //#endregion
2153
2089
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/fd-options.js
2154
2090
  const getToStream = (destination, to = "stdin") => {
@@ -2225,7 +2161,6 @@ const serializeOptionValue = (value) => {
2225
2161
  if (typeof value === "string") return `'${value}'`;
2226
2162
  return typeof value === "number" ? `${value}` : "Stream";
2227
2163
  };
2228
-
2229
2164
  //#endregion
2230
2165
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/max-listeners.js
2231
2166
  const incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
@@ -2236,7 +2171,6 @@ const incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
2236
2171
  eventEmitter.setMaxListeners(eventEmitter.getMaxListeners() - maxListenersIncrement);
2237
2172
  });
2238
2173
  };
2239
-
2240
2174
  //#endregion
2241
2175
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/reference.js
2242
2176
  const addReference = (channel, reference) => {
@@ -2263,7 +2197,6 @@ const redoAddedReferences = (channel, isSubprocess) => {
2263
2197
  addReferenceCount(channel);
2264
2198
  }
2265
2199
  };
2266
-
2267
2200
  //#endregion
2268
2201
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/incoming.js
2269
2202
  const onMessage = async ({ anyProcess, channel, isSubprocess, ipcEmitter }, wrappedMessage) => {
@@ -2297,7 +2230,6 @@ const onDisconnect = async ({ anyProcess, channel, isSubprocess, ipcEmitter, bou
2297
2230
  ipcEmitter.emit("disconnect");
2298
2231
  };
2299
2232
  const INCOMING_MESSAGES = /* @__PURE__ */ new WeakMap();
2300
-
2301
2233
  //#endregion
2302
2234
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/forward.js
2303
2235
  const getIpcEmitter = (anyProcess, channel, isSubprocess) => {
@@ -2335,7 +2267,6 @@ const isConnected = (anyProcess) => {
2335
2267
  const ipcEmitter = IPC_EMITTERS.get(anyProcess);
2336
2268
  return ipcEmitter === void 0 ? anyProcess.channel !== null : ipcEmitter.connected;
2337
2269
  };
2338
-
2339
2270
  //#endregion
2340
2271
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/strict.js
2341
2272
  const handleSendStrict = ({ anyProcess, channel, isSubprocess, message, strict }) => {
@@ -2407,7 +2338,6 @@ const throwOnDisconnect$1 = async (anyProcess, isSubprocess, { signal }) => {
2407
2338
  };
2408
2339
  const REQUEST_TYPE = "execa:ipc:request";
2409
2340
  const RESPONSE_TYPE = "execa:ipc:response";
2410
-
2411
2341
  //#endregion
2412
2342
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/outgoing.js
2413
2343
  const startSendMessage = (anyProcess, wrappedMessage, strict) => {
@@ -2437,7 +2367,6 @@ const waitForOutgoingMessages = async (anyProcess, ipcEmitter, wrappedMessage) =
2437
2367
  const OUTGOING_MESSAGES = /* @__PURE__ */ new WeakMap();
2438
2368
  const hasMessageListeners = (anyProcess, ipcEmitter) => ipcEmitter.listenerCount("message") > getMinListenerCount(anyProcess);
2439
2369
  const getMinListenerCount = (anyProcess) => SUBPROCESS_OPTIONS.has(anyProcess) && !getFdSpecificValue(SUBPROCESS_OPTIONS.get(anyProcess).options.buffer, "ipc") ? 1 : 0;
2440
-
2441
2370
  //#endregion
2442
2371
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/send.js
2443
2372
  const sendMessage$1 = ({ anyProcess, channel, isSubprocess, ipc }, message, { strict = false } = {}) => {
@@ -2507,7 +2436,6 @@ const getSendMethod = (anyProcess) => {
2507
2436
  return sendMethod;
2508
2437
  };
2509
2438
  const PROCESS_SEND_METHODS = /* @__PURE__ */ new WeakMap();
2510
-
2511
2439
  //#endregion
2512
2440
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/graceful.js
2513
2441
  const sendAbort = (subprocess, message) => {
@@ -2558,7 +2486,6 @@ const abortOnDisconnect = () => {
2558
2486
  cancelController.abort(getAbortDisconnectError());
2559
2487
  };
2560
2488
  const cancelController = new AbortController();
2561
-
2562
2489
  //#endregion
2563
2490
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/graceful.js
2564
2491
  const validateGracefulCancel = ({ gracefulCancel, cancelSignal, ipc, serialization }) => {
@@ -2597,7 +2524,6 @@ const getReason = ({ reason }) => {
2597
2524
  });
2598
2525
  return error;
2599
2526
  };
2600
-
2601
2527
  //#endregion
2602
2528
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/timeout.js
2603
2529
  const validateTimeout = ({ timeout }) => {
@@ -2610,7 +2536,6 @@ const killAfterTimeout = async (subprocess, timeout, context, { signal }) => {
2610
2536
  subprocess.kill();
2611
2537
  throw new DiscardedError();
2612
2538
  };
2613
-
2614
2539
  //#endregion
2615
2540
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/node.js
2616
2541
  const mapNode = ({ options }) => {
@@ -2620,7 +2545,7 @@ const mapNode = ({ options }) => {
2620
2545
  node: true
2621
2546
  } };
2622
2547
  };
2623
- const handleNodeOption = (file, commandArguments, { node: shouldHandleNode = false, nodePath = execPath, nodeOptions = execArgv.filter((nodeOption) => !nodeOption.startsWith("--inspect")), cwd, execPath: formerNodePath,...options }) => {
2548
+ const handleNodeOption = (file, commandArguments, { node: shouldHandleNode = false, nodePath = execPath, nodeOptions = execArgv.filter((nodeOption) => !nodeOption.startsWith("--inspect")), cwd, execPath: formerNodePath, ...options }) => {
2624
2549
  if (formerNodePath !== void 0) throw new TypeError("The \"execPath\" option has been removed. Please use the \"nodePath\" option instead.");
2625
2550
  const normalizedNodePath = safeNormalizeFileUrl(nodePath, "The \"nodePath\" option");
2626
2551
  const resolvedNodePath = path.resolve(cwd, normalizedNodePath);
@@ -2650,7 +2575,6 @@ const handleNodeOption = (file, commandArguments, { node: shouldHandleNode = fal
2650
2575
  }
2651
2576
  ];
2652
2577
  };
2653
-
2654
2578
  //#endregion
2655
2579
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/ipc-input.js
2656
2580
  const validateIpcInputOption = ({ ipcInput, ipc, serialization }) => {
@@ -2680,7 +2604,6 @@ const sendIpcInput = async (subprocess, ipcInput) => {
2680
2604
  if (ipcInput === void 0) return;
2681
2605
  await subprocess.sendMessage(ipcInput);
2682
2606
  };
2683
-
2684
2607
  //#endregion
2685
2608
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/encoding-option.js
2686
2609
  const validateEncoding = ({ encoding }) => {
@@ -2688,7 +2611,7 @@ const validateEncoding = ({ encoding }) => {
2688
2611
  const correctEncoding = getCorrectEncoding(encoding);
2689
2612
  if (correctEncoding !== void 0) throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(encoding)}\`.
2690
2613
  Please rename it to ${serializeEncoding(correctEncoding)}.`);
2691
- const correctEncodings = [...ENCODINGS].map((correctEncoding$1) => serializeEncoding(correctEncoding$1)).join(", ");
2614
+ const correctEncodings = [...ENCODINGS].map((correctEncoding) => serializeEncoding(correctEncoding)).join(", ");
2692
2615
  throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(encoding)}\`.
2693
2616
  Please rename it to one of: ${correctEncodings}.`);
2694
2617
  };
@@ -2717,7 +2640,6 @@ const ENCODING_ALIASES = {
2717
2640
  binary: "latin1"
2718
2641
  };
2719
2642
  const serializeEncoding = (encoding) => typeof encoding === "string" ? `"${encoding}"` : String(encoding);
2720
-
2721
2643
  //#endregion
2722
2644
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/cwd.js
2723
2645
  const normalizeCwd = (cwd = getDefaultCwd()) => {
@@ -2743,7 +2665,6 @@ const fixCwdError = (originalMessage, cwd) => {
2743
2665
  if (!cwdStat.isDirectory()) return `The "cwd" option is not a directory: ${cwd}.\n${originalMessage}`;
2744
2666
  return originalMessage;
2745
2667
  };
2746
-
2747
2668
  //#endregion
2748
2669
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/options.js
2749
2670
  const normalizeOptions = (filePath, rawArguments, rawOptions) => {
@@ -2768,7 +2689,7 @@ const normalizeOptions = (filePath, rawArguments, rawOptions) => {
2768
2689
  options
2769
2690
  };
2770
2691
  };
2771
- const addDefaultOptions = ({ extendEnv = true, preferLocal = false, cwd, localDir: localDirectory = cwd, encoding = "utf8", reject = true, cleanup = true, all = false, windowsHide = true, killSignal = "SIGTERM", forceKillAfterDelay = true, gracefulCancel = false, ipcInput, ipc = ipcInput !== void 0 || gracefulCancel, serialization = "advanced",...options }) => ({
2692
+ const addDefaultOptions = ({ extendEnv = true, preferLocal = false, cwd, localDir: localDirectory = cwd, encoding = "utf8", reject = true, cleanup = true, all = false, windowsHide = true, killSignal = "SIGTERM", forceKillAfterDelay = true, gracefulCancel = false, ipcInput, ipc = ipcInput !== void 0 || gracefulCancel, serialization = "advanced", ...options }) => ({
2772
2693
  ...options,
2773
2694
  extendEnv,
2774
2695
  preferLocal,
@@ -2800,7 +2721,6 @@ const getEnv = ({ env: envOption, extendEnv, preferLocal, node, localDirectory,
2800
2721
  });
2801
2722
  return env;
2802
2723
  };
2803
-
2804
2724
  //#endregion
2805
2725
  //#region ../../node_modules/.pnpm/strip-final-newline@4.0.0/node_modules/strip-final-newline/index.js
2806
2726
  function stripFinalNewline(input) {
@@ -2814,22 +2734,20 @@ const LF = "\n";
2814
2734
  const LF_BINARY = LF.codePointAt(0);
2815
2735
  const CR = "\r";
2816
2736
  const CR_BINARY = CR.codePointAt(0);
2817
-
2818
2737
  //#endregion
2819
2738
  //#region ../../node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.js
2820
2739
  function isStream(stream, { checkOpen = true } = {}) {
2821
2740
  return stream !== null && typeof stream === "object" && (stream.writable || stream.readable || !checkOpen || stream.writable === void 0 && stream.readable === void 0) && typeof stream.pipe === "function";
2822
2741
  }
2823
- function isWritableStream(stream, { checkOpen = true } = {}) {
2742
+ function isWritableStream$1(stream, { checkOpen = true } = {}) {
2824
2743
  return isStream(stream, { checkOpen }) && (stream.writable || !checkOpen) && typeof stream.write === "function" && typeof stream.end === "function" && typeof stream.writable === "boolean" && typeof stream.writableObjectMode === "boolean" && typeof stream.destroy === "function" && typeof stream.destroyed === "boolean";
2825
2744
  }
2826
- function isReadableStream(stream, { checkOpen = true } = {}) {
2745
+ function isReadableStream$1(stream, { checkOpen = true } = {}) {
2827
2746
  return isStream(stream, { checkOpen }) && (stream.readable || !checkOpen) && typeof stream.read === "function" && typeof stream.readable === "boolean" && typeof stream.readableObjectMode === "boolean" && typeof stream.destroy === "function" && typeof stream.destroyed === "boolean";
2828
2747
  }
2829
2748
  function isDuplexStream(stream, options) {
2830
- return isWritableStream(stream, options) && isReadableStream(stream, options);
2749
+ return isWritableStream$1(stream, options) && isReadableStream$1(stream, options);
2831
2750
  }
2832
-
2833
2751
  //#endregion
2834
2752
  //#region ../../node_modules/.pnpm/@sec-ant+readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js
2835
2753
  const a = Object.getPrototypeOf(Object.getPrototypeOf(
@@ -2910,11 +2828,10 @@ function h({ preventCancel: r = !1 } = {}) {
2910
2828
  const t = new c(this.getReader(), r), s = Object.create(u);
2911
2829
  return s[n] = t, s;
2912
2830
  }
2913
-
2914
2831
  //#endregion
2915
2832
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.js
2916
2833
  const getAsyncIterable = (stream) => {
2917
- if (isReadableStream(stream, { checkOpen: false }) && nodeImports.on !== void 0) return getStreamIterable(stream);
2834
+ if (isReadableStream$1(stream, { checkOpen: false }) && nodeImports.on !== void 0) return getStreamIterable(stream);
2918
2835
  if (typeof stream?.[Symbol.asyncIterator] === "function") return stream;
2919
2836
  if (toString.call(stream) === "[object ReadableStream]") return h.call(stream);
2920
2837
  throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.");
@@ -2948,7 +2865,6 @@ const handleStreamEnd = async (stream, controller, state) => {
2948
2865
  }
2949
2866
  };
2950
2867
  const nodeImports = {};
2951
-
2952
2868
  //#endregion
2953
2869
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/contents.js
2954
2870
  const getStreamContents$1 = async (stream, { init, convertChunk, getSize, truncateChunk, addChunk, getFinalChunk, finalize }, { maxBuffer = Number.POSITIVE_INFINITY } = {}) => {
@@ -3024,7 +2940,6 @@ var MaxBufferError = class extends Error {
3024
2940
  super("maxBuffer exceeded");
3025
2941
  }
3026
2942
  };
3027
-
3028
2943
  //#endregion
3029
2944
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.js
3030
2945
  const identity = (value) => value;
@@ -3034,7 +2949,6 @@ const throwObjectStream = (chunk) => {
3034
2949
  throw new Error(`Streams in object mode are not supported: ${String(chunk)}`);
3035
2950
  };
3036
2951
  const getLengthProperty = (convertedChunk) => convertedChunk.length;
3037
-
3038
2952
  //#endregion
3039
2953
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array.js
3040
2954
  async function getStreamAsArray(stream, options) {
@@ -3062,7 +2976,6 @@ const arrayMethods = {
3062
2976
  getFinalChunk: noop$1,
3063
2977
  finalize: getContentsProperty
3064
2978
  };
3065
-
3066
2979
  //#endregion
3067
2980
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array-buffer.js
3068
2981
  async function getStreamAsArrayBuffer(stream, options) {
@@ -3114,7 +3027,6 @@ const arrayBufferMethods = {
3114
3027
  getFinalChunk: noop$1,
3115
3028
  finalize: finalizeArrayBuffer
3116
3029
  };
3117
-
3118
3030
  //#endregion
3119
3031
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/string.js
3120
3032
  async function getStreamAsString(stream, options) {
@@ -3124,11 +3036,11 @@ const initString = () => ({
3124
3036
  contents: "",
3125
3037
  textDecoder: new TextDecoder()
3126
3038
  });
3127
- const useTextDecoder = (chunk, { textDecoder: textDecoder$1 }) => textDecoder$1.decode(chunk, { stream: true });
3039
+ const useTextDecoder = (chunk, { textDecoder }) => textDecoder.decode(chunk, { stream: true });
3128
3040
  const addStringChunk = (convertedChunk, { contents }) => contents + convertedChunk;
3129
3041
  const truncateStringChunk = (convertedChunk, chunkSize) => convertedChunk.slice(0, chunkSize);
3130
- const getFinalStringChunk = ({ textDecoder: textDecoder$1 }) => {
3131
- const finalChunk = textDecoder$1.decode();
3042
+ const getFinalStringChunk = ({ textDecoder }) => {
3043
+ const finalChunk = textDecoder.decode();
3132
3044
  return finalChunk === "" ? void 0 : finalChunk;
3133
3045
  };
3134
3046
  const stringMethods = {
@@ -3147,7 +3059,6 @@ const stringMethods = {
3147
3059
  getFinalChunk: getFinalStringChunk,
3148
3060
  finalize: getContentsProperty
3149
3061
  };
3150
-
3151
3062
  //#endregion
3152
3063
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/max-buffer.js
3153
3064
  const handleMaxBuffer = ({ error, stream, readableObjectMode, lines, encoding, fdNumber }) => {
@@ -3203,7 +3114,6 @@ const truncateMaxBufferSync = (result, isMaxBuffer, maxBuffer) => {
3203
3114
  return result.length > maxBufferValue ? result.slice(0, maxBufferValue) : result;
3204
3115
  };
3205
3116
  const getMaxBufferSync = ([, stdoutMaxBuffer]) => stdoutMaxBuffer;
3206
-
3207
3117
  //#endregion
3208
3118
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/message.js
3209
3119
  const createMessages = ({ stdio, all, ipcOutput, originalError, signal, signalDescription, exitCode, escapedCommand, timedOut, isCanceled, isGracefullyCanceled, isMaxBuffer, isForcefullyTerminated, forceKillAfterDelay, killSignal, maxBuffer, timeout, cwd }) => {
@@ -3265,7 +3175,6 @@ const serializeMessageItem = (messageItem) => {
3265
3175
  if (isUint8Array(messageItem)) return uint8ArrayToString(messageItem);
3266
3176
  return "";
3267
3177
  };
3268
-
3269
3178
  //#endregion
3270
3179
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js
3271
3180
  const makeSuccessResult = ({ command, escapedCommand, stdio, all, ipcOutput, options: { cwd }, startTime }) => omitUndefinedProperties({
@@ -3383,7 +3292,6 @@ const normalizeExitPayload = (rawExitCode, rawSignal) => {
3383
3292
  signalDescription: signal === void 0 ? void 0 : getSignalDescription(rawSignal)
3384
3293
  };
3385
3294
  };
3386
-
3387
3295
  //#endregion
3388
3296
  //#region ../../node_modules/.pnpm/parse-ms@4.0.0/node_modules/parse-ms/index.js
3389
3297
  const toZeroIfInfinity = (value) => Number.isFinite(value) ? value : 0;
@@ -3418,11 +3326,10 @@ function parseMilliseconds(milliseconds) {
3418
3326
  }
3419
3327
  throw new TypeError("Expected a finite number or bigint");
3420
3328
  }
3421
-
3422
3329
  //#endregion
3423
3330
  //#region ../../node_modules/.pnpm/pretty-ms@9.2.0/node_modules/pretty-ms/index.js
3424
3331
  const isZero = (value) => value === 0 || value === 0n;
3425
- const pluralize = (word, count$1) => count$1 === 1 || count$1 === 1n ? word : `${word}s`;
3332
+ const pluralize = (word, count) => count === 1 || count === 1n ? word : `${word}s`;
3426
3333
  const SECOND_ROUNDING_EPSILON = 1e-7;
3427
3334
  const ONE_DAY_IN_MILLISECONDS = 24n * 60n * 60n * 1000n;
3428
3335
  function prettyMilliseconds(milliseconds, options) {
@@ -3471,16 +3378,16 @@ function prettyMilliseconds(milliseconds, options) {
3471
3378
  add(Number(parsed.minutes), "minute", "m");
3472
3379
  if (!options.hideSeconds) if (options.separateMilliseconds || options.formatSubMilliseconds || !options.colonNotation && milliseconds < 1e3) {
3473
3380
  const seconds = Number(parsed.seconds);
3474
- const milliseconds$1 = Number(parsed.milliseconds);
3381
+ const milliseconds = Number(parsed.milliseconds);
3475
3382
  const microseconds = Number(parsed.microseconds);
3476
3383
  const nanoseconds = Number(parsed.nanoseconds);
3477
3384
  add(seconds, "second", "s");
3478
3385
  if (options.formatSubMilliseconds) {
3479
- add(milliseconds$1, "millisecond", "ms");
3386
+ add(milliseconds, "millisecond", "ms");
3480
3387
  add(microseconds, "microsecond", "µs");
3481
3388
  add(nanoseconds, "nanosecond", "ns");
3482
3389
  } else {
3483
- const millisecondsAndBelow = milliseconds$1 + microseconds / 1e3 + nanoseconds / 1e6;
3390
+ const millisecondsAndBelow = milliseconds + microseconds / 1e3 + nanoseconds / 1e6;
3484
3391
  const millisecondsDecimalDigits = typeof options.millisecondsDecimalDigits === "number" ? options.millisecondsDecimalDigits : 0;
3485
3392
  const millisecondsString = millisecondsDecimalDigits ? millisecondsAndBelow.toFixed(millisecondsDecimalDigits) : millisecondsAndBelow >= 1 ? Math.round(millisecondsAndBelow) : Math.ceil(millisecondsAndBelow);
3486
3393
  add(Number.parseFloat(millisecondsString), "millisecond", "ms", millisecondsString);
@@ -3495,7 +3402,6 @@ function prettyMilliseconds(milliseconds, options) {
3495
3402
  if (typeof options.unitCount === "number") result = result.slice(0, Math.max(options.unitCount, 1));
3496
3403
  return sign + result.join(separator);
3497
3404
  }
3498
-
3499
3405
  //#endregion
3500
3406
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/error.js
3501
3407
  const logError = (result, verboseInfo) => {
@@ -3506,7 +3412,6 @@ const logError = (result, verboseInfo) => {
3506
3412
  result
3507
3413
  });
3508
3414
  };
3509
-
3510
3415
  //#endregion
3511
3416
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/complete.js
3512
3417
  const logResult = (result, verboseInfo) => {
@@ -3522,7 +3427,6 @@ const logDuration = (result, verboseInfo) => {
3522
3427
  result
3523
3428
  });
3524
3429
  };
3525
-
3526
3430
  //#endregion
3527
3431
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/reject.js
3528
3432
  const handleResult = (result, verboseInfo, { reject }) => {
@@ -3530,7 +3434,6 @@ const handleResult = (result, verboseInfo, { reject }) => {
3530
3434
  if (result.failed && reject) throw result;
3531
3435
  return result;
3532
3436
  };
3533
-
3534
3437
  //#endregion
3535
3438
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/type.js
3536
3439
  const getStdioItemType = (value, optionName) => {
@@ -3597,13 +3500,13 @@ const KNOWN_STDIO_STRINGS = new Set([
3597
3500
  "overlapped",
3598
3501
  "pipe"
3599
3502
  ]);
3600
- const isReadableStream$1 = (value) => Object.prototype.toString.call(value) === "[object ReadableStream]";
3601
- const isWritableStream$1 = (value) => Object.prototype.toString.call(value) === "[object WritableStream]";
3602
- const isWebStream = (value) => isReadableStream$1(value) || isWritableStream$1(value);
3603
- const isTransformStream = (value) => isReadableStream$1(value?.readable) && isWritableStream$1(value?.writable);
3604
- const isAsyncIterableObject = (value) => isObject$1(value) && typeof value[Symbol.asyncIterator] === "function";
3605
- const isIterableObject = (value) => isObject$1(value) && typeof value[Symbol.iterator] === "function";
3606
- const isObject$1 = (value) => typeof value === "object" && value !== null;
3503
+ const isReadableStream = (value) => Object.prototype.toString.call(value) === "[object ReadableStream]";
3504
+ const isWritableStream = (value) => Object.prototype.toString.call(value) === "[object WritableStream]";
3505
+ const isWebStream = (value) => isReadableStream(value) || isWritableStream(value);
3506
+ const isTransformStream = (value) => isReadableStream(value?.readable) && isWritableStream(value?.writable);
3507
+ const isAsyncIterableObject = (value) => isObject(value) && typeof value[Symbol.asyncIterator] === "function";
3508
+ const isIterableObject = (value) => isObject(value) && typeof value[Symbol.iterator] === "function";
3509
+ const isObject = (value) => typeof value === "object" && value !== null;
3607
3510
  const TRANSFORM_TYPES = new Set([
3608
3511
  "generator",
3609
3512
  "asyncGenerator",
@@ -3638,7 +3541,6 @@ const TYPE_TO_MESSAGE = {
3638
3541
  string: "a string",
3639
3542
  uint8Array: "a Uint8Array"
3640
3543
  };
3641
-
3642
3544
  //#endregion
3643
3545
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/object-mode.js
3644
3546
  const getTransformObjectModes = (objectMode, index, newTransforms, direction) => direction === "output" ? getOutputObjectModes(objectMode, index, newTransforms) : getInputObjectModes(objectMode, index, newTransforms);
@@ -3661,7 +3563,6 @@ const getFdObjectMode = (stdioItems, direction) => {
3661
3563
  if (lastTransform === void 0) return false;
3662
3564
  return direction === "input" ? lastTransform.value.writableObjectMode : lastTransform.value.readableObjectMode;
3663
3565
  };
3664
-
3665
3566
  //#endregion
3666
3567
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/normalize.js
3667
3568
  const normalizeTransforms = (stdioItems, optionName, direction, options) => [...stdioItems.filter(({ type }) => !TRANSFORM_TYPES.has(type)), ...getTransforms(stdioItems, optionName, direction, options)];
@@ -3738,7 +3639,6 @@ const normalizeGenerator = ({ stdioItem, stdioItem: { value }, index, newTransfo
3738
3639
  };
3739
3640
  };
3740
3641
  const sortTransforms = (newTransforms, direction) => direction === "input" ? newTransforms.reverse() : newTransforms;
3741
-
3742
3642
  //#endregion
3743
3643
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/direction.js
3744
3644
  const getStreamDirection = (stdioItems, fdNumber, optionName) => {
@@ -3762,10 +3662,10 @@ const guessStreamDirection = {
3762
3662
  iterable: alwaysInput,
3763
3663
  asyncIterable: alwaysInput,
3764
3664
  uint8Array: alwaysInput,
3765
- webStream: (value) => isWritableStream$1(value) ? "output" : "input",
3665
+ webStream: (value) => isWritableStream(value) ? "output" : "input",
3766
3666
  nodeStream(value) {
3767
- if (!isReadableStream(value, { checkOpen: false })) return "output";
3768
- return isWritableStream(value, { checkOpen: false }) ? void 0 : "input";
3667
+ if (!isReadableStream$1(value, { checkOpen: false })) return "output";
3668
+ return isWritableStream$1(value, { checkOpen: false }) ? void 0 : "input";
3769
3669
  },
3770
3670
  webTransform: anyDirection,
3771
3671
  duplex: anyDirection,
@@ -3785,14 +3685,12 @@ const getStandardStreamDirection = (value) => {
3785
3685
  ].includes(value)) return "output";
3786
3686
  };
3787
3687
  const DEFAULT_DIRECTION = "output";
3788
-
3789
3688
  //#endregion
3790
3689
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/array.js
3791
3690
  const normalizeIpcStdioArray = (stdioArray, ipc) => ipc && !stdioArray.includes("ipc") ? [...stdioArray, "ipc"] : stdioArray;
3792
-
3793
3691
  //#endregion
3794
3692
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/stdio-option.js
3795
- const normalizeStdioOption = ({ stdio, ipc, buffer,...options }, verboseInfo, isSync) => {
3693
+ const normalizeStdioOption = ({ stdio, ipc, buffer, ...options }, verboseInfo, isSync) => {
3796
3694
  const stdioArray = getStdioArray(stdio, options).map((stdioOption, fdNumber) => addDefaultValue(stdioOption, fdNumber));
3797
3695
  return isSync ? normalizeStdioSync(stdioArray, buffer, verboseInfo) : normalizeIpcStdioArray(stdioArray, ipc);
3798
3696
  };
@@ -3806,7 +3704,7 @@ const getStdioArray = (stdio, options) => {
3806
3704
  ];
3807
3705
  if (!Array.isArray(stdio)) throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);
3808
3706
  const length = Math.max(stdio.length, STANDARD_STREAMS_ALIASES.length);
3809
- return Array.from({ length }, (_$1, fdNumber) => stdio[fdNumber]);
3707
+ return Array.from({ length }, (_, fdNumber) => stdio[fdNumber]);
3810
3708
  };
3811
3709
  const hasAlias = (options) => STANDARD_STREAMS_ALIASES.some((alias) => options[alias] !== void 0);
3812
3710
  const addDefaultValue = (stdioOption, fdNumber) => {
@@ -3816,7 +3714,6 @@ const addDefaultValue = (stdioOption, fdNumber) => {
3816
3714
  };
3817
3715
  const normalizeStdioSync = (stdioArray, buffer, verboseInfo) => stdioArray.map((stdioOption, fdNumber) => !buffer[fdNumber] && fdNumber !== 0 && !isFullVerbose(verboseInfo, fdNumber) && isOutputPipeOnly(stdioOption) ? "ignore" : stdioOption);
3818
3716
  const isOutputPipeOnly = (stdioOption) => stdioOption === "pipe" || Array.isArray(stdioOption) && stdioOption.every((item) => item === "pipe");
3819
-
3820
3717
  //#endregion
3821
3718
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/native.js
3822
3719
  const handleNativeStream = ({ stdioItem, stdioItem: { type }, isStdioArray, fdNumber, direction, isSync }) => {
@@ -3885,7 +3782,6 @@ const getStandardStream = (fdNumber, value, optionName) => {
3885
3782
  if (standardStream === void 0) throw new TypeError(`The \`${optionName}: ${value}\` option is invalid: no such standard stream.`);
3886
3783
  return standardStream;
3887
3784
  };
3888
-
3889
3785
  //#endregion
3890
3786
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/input-option.js
3891
3787
  const handleInputOptions = ({ input, inputFile }, fdNumber) => fdNumber === 0 ? [...handleInputOption(input), ...handleInputFileOption(inputFile)] : [];
@@ -3895,7 +3791,7 @@ const handleInputOption = (input) => input === void 0 ? [] : [{
3895
3791
  optionName: "input"
3896
3792
  }];
3897
3793
  const getInputType = (input) => {
3898
- if (isReadableStream(input, { checkOpen: false })) return "nodeStream";
3794
+ if (isReadableStream$1(input, { checkOpen: false })) return "nodeStream";
3899
3795
  if (typeof input === "string") return "string";
3900
3796
  if (isUint8Array(input)) return "uint8Array";
3901
3797
  throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.");
@@ -3915,7 +3811,6 @@ const getInputFileType = (inputFile) => {
3915
3811
  };
3916
3812
  throw new Error("The `inputFile` option must be a file path string or a file URL.");
3917
3813
  };
3918
-
3919
3814
  //#endregion
3920
3815
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/duplicate.js
3921
3816
  const filterDuplicates = (stdioItems) => stdioItems.filter((stdioItemOne, indexOne) => stdioItems.every((stdioItemTwo, indexTwo) => stdioItemOne.value !== stdioItemTwo.value || indexOne >= indexTwo || stdioItemOne.type === "generator" || stdioItemOne.type === "asyncGenerator"));
@@ -3976,10 +3871,9 @@ const validateDuplicateTransform = ({ otherStdioItems, type, value, optionName }
3976
3871
  const throwOnDuplicateStream = (stdioItem, optionName, type) => {
3977
3872
  if (stdioItem !== void 0) throw new TypeError(`The \`${stdioItem.optionName}\` and \`${optionName}\` options must not target ${TYPE_TO_MESSAGE[type]} that is the same.`);
3978
3873
  };
3979
-
3980
3874
  //#endregion
3981
3875
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/handle.js
3982
- const handleStdio = (addProperties$2, options, verboseInfo, isSync) => {
3876
+ const handleStdio = (addProperties, options, verboseInfo, isSync) => {
3983
3877
  const fileDescriptors = getFinalFileDescriptors({
3984
3878
  initialFileDescriptors: normalizeStdioOption(options, verboseInfo, isSync).map((stdioOption, fdNumber) => getFileDescriptor({
3985
3879
  stdioOption,
@@ -3987,7 +3881,7 @@ const handleStdio = (addProperties$2, options, verboseInfo, isSync) => {
3987
3881
  options,
3988
3882
  isSync
3989
3883
  })),
3990
- addProperties: addProperties$2,
3884
+ addProperties,
3991
3885
  options,
3992
3886
  isSync
3993
3887
  });
@@ -4036,7 +3930,7 @@ const initializeStdioItem = (value, optionName) => ({
4036
3930
  const validateStdioArray = (stdioItems, isStdioArray, optionName) => {
4037
3931
  if (stdioItems.length === 0) throw new TypeError(`The \`${optionName}\` option must not be an empty array.`);
4038
3932
  if (!isStdioArray) return;
4039
- for (const { value, optionName: optionName$1 } of stdioItems) if (INVALID_STDIO_ARRAY_OPTIONS.has(value)) throw new Error(`The \`${optionName$1}\` option must not include \`${value}\`.`);
3933
+ for (const { value, optionName } of stdioItems) if (INVALID_STDIO_ARRAY_OPTIONS.has(value)) throw new Error(`The \`${optionName}\` option must not include \`${value}\`.`);
4040
3934
  };
4041
3935
  const INVALID_STDIO_ARRAY_OPTIONS = new Set(["ignore", "ipc"]);
4042
3936
  const validateStreams = (stdioItems) => {
@@ -4052,13 +3946,13 @@ const validateFileObjectMode = (stdioItems, objectMode) => {
4052
3946
  const fileStdioItem = stdioItems.find(({ type }) => FILE_TYPES.has(type));
4053
3947
  if (fileStdioItem !== void 0) throw new TypeError(`The \`${fileStdioItem.optionName}\` option cannot use both files and transforms in objectMode.`);
4054
3948
  };
4055
- const getFinalFileDescriptors = ({ initialFileDescriptors, addProperties: addProperties$2, options, isSync }) => {
3949
+ const getFinalFileDescriptors = ({ initialFileDescriptors, addProperties, options, isSync }) => {
4056
3950
  const fileDescriptors = [];
4057
3951
  try {
4058
3952
  for (const fileDescriptor of initialFileDescriptors) fileDescriptors.push(getFinalFileDescriptor({
4059
3953
  fileDescriptor,
4060
3954
  fileDescriptors,
4061
- addProperties: addProperties$2,
3955
+ addProperties,
4062
3956
  options,
4063
3957
  isSync
4064
3958
  }));
@@ -4068,13 +3962,13 @@ const getFinalFileDescriptors = ({ initialFileDescriptors, addProperties: addPro
4068
3962
  throw error;
4069
3963
  }
4070
3964
  };
4071
- const getFinalFileDescriptor = ({ fileDescriptor: { direction, objectMode, stdioItems }, fileDescriptors, addProperties: addProperties$2, options, isSync }) => {
3965
+ const getFinalFileDescriptor = ({ fileDescriptor: { direction, objectMode, stdioItems }, fileDescriptors, addProperties, options, isSync }) => {
4072
3966
  return {
4073
3967
  direction,
4074
3968
  objectMode,
4075
3969
  stdioItems: stdioItems.map((stdioItem) => addStreamProperties({
4076
3970
  stdioItem,
4077
- addProperties: addProperties$2,
3971
+ addProperties,
4078
3972
  direction,
4079
3973
  options,
4080
3974
  fileDescriptors,
@@ -4082,7 +3976,7 @@ const getFinalFileDescriptor = ({ fileDescriptor: { direction, objectMode, stdio
4082
3976
  }))
4083
3977
  };
4084
3978
  };
4085
- const addStreamProperties = ({ stdioItem, addProperties: addProperties$2, direction, options, fileDescriptors, isSync }) => {
3979
+ const addStreamProperties = ({ stdioItem, addProperties, direction, options, fileDescriptors, isSync }) => {
4086
3980
  const duplicateStream = getDuplicateStream({
4087
3981
  stdioItem,
4088
3982
  direction,
@@ -4095,18 +3989,17 @@ const addStreamProperties = ({ stdioItem, addProperties: addProperties$2, direct
4095
3989
  };
4096
3990
  return {
4097
3991
  ...stdioItem,
4098
- ...addProperties$2[direction][stdioItem.type](stdioItem, options)
3992
+ ...addProperties[direction][stdioItem.type](stdioItem, options)
4099
3993
  };
4100
3994
  };
4101
3995
  const cleanupCustomStreams = (fileDescriptors) => {
4102
3996
  for (const { stdioItems } of fileDescriptors) for (const { stream } of stdioItems) if (stream !== void 0 && !isStandardStream(stream)) stream.destroy();
4103
3997
  };
4104
3998
  const forwardStdio = (stdioItems) => {
4105
- if (stdioItems.length > 1) return stdioItems.some(({ value: value$1 }) => value$1 === "overlapped") ? "overlapped" : "pipe";
3999
+ if (stdioItems.length > 1) return stdioItems.some(({ value }) => value === "overlapped") ? "overlapped" : "pipe";
4106
4000
  const [{ type, value }] = stdioItems;
4107
4001
  return type === "native" ? value : "pipe";
4108
4002
  };
4109
-
4110
4003
  //#endregion
4111
4004
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/handle-sync.js
4112
4005
  const handleStdioSync = (options, verboseInfo) => handleStdio(addPropertiesSync, options, verboseInfo, true);
@@ -4153,12 +4046,10 @@ const addPropertiesSync = {
4153
4046
  uint8Array: forbiddenIfSync
4154
4047
  }
4155
4048
  };
4156
-
4157
4049
  //#endregion
4158
4050
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/strip-newline.js
4159
4051
  const stripNewline = (value, { stripFinalNewline: stripFinalNewline$1 }, fdNumber) => getStripFinalNewline(stripFinalNewline$1, fdNumber) && value !== void 0 && !Array.isArray(value) ? stripFinalNewline(value) : value;
4160
- const getStripFinalNewline = (stripFinalNewline$1, fdNumber) => fdNumber === "all" ? stripFinalNewline$1[1] || stripFinalNewline$1[2] : stripFinalNewline$1[fdNumber];
4161
-
4052
+ const getStripFinalNewline = (stripFinalNewline, fdNumber) => fdNumber === "all" ? stripFinalNewline[1] || stripFinalNewline[2] : stripFinalNewline[fdNumber];
4162
4053
  //#endregion
4163
4054
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/split.js
4164
4055
  const getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
@@ -4204,8 +4095,8 @@ const linesFinal = function* ({ previousChunks }) {
4204
4095
  };
4205
4096
  const getAppendNewlineGenerator = ({ binary, preserveNewlines, readableObjectMode, state }) => binary || preserveNewlines || readableObjectMode ? void 0 : { transform: appendNewlineGenerator.bind(void 0, state) };
4206
4097
  const appendNewlineGenerator = function* ({ isWindowsNewline = false }, chunk) {
4207
- const { unixNewline, windowsNewline, LF: LF$1, concatBytes } = typeof chunk === "string" ? linesStringInfo : linesUint8ArrayInfo;
4208
- if (chunk.at(-1) === LF$1) {
4098
+ const { unixNewline, windowsNewline, LF, concatBytes } = typeof chunk === "string" ? linesStringInfo : linesUint8ArrayInfo;
4099
+ if (chunk.at(-1) === LF) {
4209
4100
  yield chunk;
4210
4101
  return;
4211
4102
  }
@@ -4230,7 +4121,6 @@ const linesUint8ArrayInfo = {
4230
4121
  LF: 10,
4231
4122
  concatBytes: concatUint8Array
4232
4123
  };
4233
-
4234
4124
  //#endregion
4235
4125
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/validate.js
4236
4126
  const getValidateTransformInput = (writableObjectMode, optionName) => writableObjectMode ? void 0 : validateStringTransformInput.bind(void 0, optionName);
@@ -4253,7 +4143,6 @@ const validateEmptyReturn = (optionName, chunk) => {
4253
4143
  Instead, \`yield\` should either be called with a value, or not be called at all. For example:
4254
4144
  if (condition) { yield value; }`);
4255
4145
  };
4256
-
4257
4146
  //#endregion
4258
4147
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/encoding-transform.js
4259
4148
  const getEncodingTransformGenerator = (binary, encoding, skipped) => {
@@ -4265,9 +4154,9 @@ const getEncodingTransformGenerator = (binary, encoding, skipped) => {
4265
4154
  final: encodingStringFinal.bind(void 0, stringDecoder)
4266
4155
  };
4267
4156
  };
4268
- const encodingUint8ArrayGenerator = function* (textEncoder$2, chunk) {
4157
+ const encodingUint8ArrayGenerator = function* (textEncoder, chunk) {
4269
4158
  if (Buffer$1.isBuffer(chunk)) yield bufferToUint8Array(chunk);
4270
- else if (typeof chunk === "string") yield textEncoder$2.encode(chunk);
4159
+ else if (typeof chunk === "string") yield textEncoder.encode(chunk);
4271
4160
  else yield chunk;
4272
4161
  };
4273
4162
  const encodingStringGenerator = function* (stringDecoder, chunk) {
@@ -4277,7 +4166,6 @@ const encodingStringFinal = function* (stringDecoder) {
4277
4166
  const lastChunk = stringDecoder.end();
4278
4167
  if (lastChunk !== "") yield lastChunk;
4279
4168
  };
4280
-
4281
4169
  //#endregion
4282
4170
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/run-async.js
4283
4171
  const pushChunks = callbackify(async (getChunks, state, getChunksArguments, transformStream) => {
@@ -4313,7 +4201,6 @@ const destroyTransform = callbackify(async ({ currentIterable }, error) => {
4313
4201
  const identityGenerator$1 = function* (chunk) {
4314
4202
  yield chunk;
4315
4203
  };
4316
-
4317
4204
  //#endregion
4318
4205
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/run-sync.js
4319
4206
  const pushChunksSync = (getChunksSync, getChunksArguments, transformStream, done) => {
@@ -4343,7 +4230,6 @@ const generatorFinalChunksSync = function* (final, index, generators) {
4343
4230
  const identityGenerator = function* (chunk) {
4344
4231
  yield chunk;
4345
4232
  };
4346
-
4347
4233
  //#endregion
4348
4234
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/generator.js
4349
4235
  const generatorToStream = ({ value, value: { transform, final, writableObjectMode, readableObjectMode }, optionName }, { encoding }) => {
@@ -4359,7 +4245,7 @@ const generatorToStream = ({ value, value: { transform, final, writableObjectMod
4359
4245
  writableHighWaterMark: getDefaultHighWaterMark(writableObjectMode),
4360
4246
  readableObjectMode,
4361
4247
  readableHighWaterMark: getDefaultHighWaterMark(readableObjectMode),
4362
- transform(chunk, encoding$1, done) {
4248
+ transform(chunk, encoding, done) {
4363
4249
  transformMethod([
4364
4250
  chunk,
4365
4251
  generators,
@@ -4397,7 +4283,6 @@ const addInternalGenerators = ({ transform, final, binary, writableObjectMode, r
4397
4283
  })
4398
4284
  ].filter(Boolean);
4399
4285
  };
4400
-
4401
4286
  //#endregion
4402
4287
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/input-sync.js
4403
4288
  const addInputOptionsSync = (fileDescriptors, options) => {
@@ -4423,7 +4308,6 @@ const validateSerializable = (newContents) => {
4423
4308
  const invalidItem = newContents.find((item) => typeof item !== "string" && !isUint8Array(item));
4424
4309
  if (invalidItem !== void 0) throw new TypeError(`The \`stdin\` option is invalid: when passing objects as input, a transform must be used to serialize them to strings or Uint8Arrays: ${invalidItem}.`);
4425
4310
  };
4426
-
4427
4311
  //#endregion
4428
4312
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/output.js
4429
4313
  const shouldLogOutput = ({ stdioItems, encoding, verboseInfo, fdNumber }) => fdNumber !== "all" && isFullVerbose(verboseInfo, fdNumber) && !BINARY_ENCODINGS.has(encoding) && fdUsesVerbose(fdNumber) && (stdioItems.some(({ type, value }) => type === "native" && PIPED_STDIO_VALUES.has(value)) || stdioItems.every(({ type }) => TRANSFORM_TYPES.has(type)));
@@ -4444,7 +4328,6 @@ const logLine = (line, fdNumber, verboseInfo) => {
4444
4328
  verboseInfo
4445
4329
  });
4446
4330
  };
4447
-
4448
4331
  //#endregion
4449
4332
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/output-sync.js
4450
4333
  const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
@@ -4464,7 +4347,7 @@ const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options,
4464
4347
  ...state
4465
4348
  };
4466
4349
  };
4467
- const transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, outputFiles, isMaxBuffer, verboseInfo }, { buffer, encoding, lines, stripFinalNewline: stripFinalNewline$1, maxBuffer }) => {
4350
+ const transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, outputFiles, isMaxBuffer, verboseInfo }, { buffer, encoding, lines, stripFinalNewline, maxBuffer }) => {
4468
4351
  if (result === null) return;
4469
4352
  const uint8ArrayResult = bufferToUint8Array(truncateMaxBufferSync(result, isMaxBuffer, maxBuffer));
4470
4353
  const { stdioItems, objectMode } = fileDescriptors[fdNumber];
@@ -4473,7 +4356,7 @@ const transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, o
4473
4356
  objectMode,
4474
4357
  encoding,
4475
4358
  lines,
4476
- stripFinalNewline: stripFinalNewline$1,
4359
+ stripFinalNewline,
4477
4360
  fdNumber
4478
4361
  });
4479
4362
  logOutputSync({
@@ -4502,13 +4385,13 @@ const runOutputGeneratorsSync = (chunks, stdioItems, encoding, state) => {
4502
4385
  return chunks;
4503
4386
  }
4504
4387
  };
4505
- const serializeChunks = ({ chunks, objectMode, encoding, lines, stripFinalNewline: stripFinalNewline$1, fdNumber }) => {
4388
+ const serializeChunks = ({ chunks, objectMode, encoding, lines, stripFinalNewline, fdNumber }) => {
4506
4389
  if (objectMode) return { serializedResult: chunks };
4507
4390
  if (encoding === "buffer") return { serializedResult: joinToUint8Array(chunks) };
4508
4391
  const serializedResult = joinToString(chunks, encoding);
4509
4392
  if (lines[fdNumber]) return {
4510
4393
  serializedResult,
4511
- finalResult: splitLinesSync(serializedResult, !stripFinalNewline$1[fdNumber], objectMode)
4394
+ finalResult: splitLinesSync(serializedResult, !stripFinalNewline[fdNumber], objectMode)
4512
4395
  };
4513
4396
  return { serializedResult };
4514
4397
  };
@@ -4527,16 +4410,15 @@ const logOutputSync = ({ serializedResult, fdNumber, state, verboseInfo, encodin
4527
4410
  }
4528
4411
  };
4529
4412
  const writeToFiles = (serializedResult, stdioItems, outputFiles) => {
4530
- for (const { path: path$8, append } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
4531
- const pathString = typeof path$8 === "string" ? path$8 : path$8.toString();
4532
- if (append || outputFiles.has(pathString)) appendFileSync(path$8, serializedResult);
4413
+ for (const { path, append } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
4414
+ const pathString = typeof path === "string" ? path : path.toString();
4415
+ if (append || outputFiles.has(pathString)) appendFileSync(path, serializedResult);
4533
4416
  else {
4534
4417
  outputFiles.add(pathString);
4535
- writeFileSync(path$8, serializedResult);
4418
+ writeFileSync(path, serializedResult);
4536
4419
  }
4537
4420
  }
4538
4421
  };
4539
-
4540
4422
  //#endregion
4541
4423
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/all-sync.js
4542
4424
  const getAllSync = ([, stdout, stderr], options) => {
@@ -4548,7 +4430,6 @@ const getAllSync = ([, stdout, stderr], options) => {
4548
4430
  if (isUint8Array(stdout) && isUint8Array(stderr)) return concatUint8Arrays([stdout, stderr]);
4549
4431
  return `${stdout}${stderr}`;
4550
4432
  };
4551
-
4552
4433
  //#endregion
4553
4434
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/exit-async.js
4554
4435
  const waitForExit = async (subprocess, context) => {
@@ -4575,7 +4456,6 @@ const waitForSuccessfulExit = async (exitPromise) => {
4575
4456
  };
4576
4457
  const isSubprocessErrorExit = (exitCode, signal) => exitCode === void 0 && signal === void 0;
4577
4458
  const isFailedExit = (exitCode, signal) => exitCode !== 0 || signal !== null;
4578
-
4579
4459
  //#endregion
4580
4460
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/exit-sync.js
4581
4461
  const getExitResultSync = ({ error, status: exitCode, signal, output }, { maxBuffer }) => {
@@ -4592,7 +4472,6 @@ const getResultError = (error, exitCode, signal) => {
4592
4472
  if (error !== void 0) return error;
4593
4473
  return isFailedExit(exitCode, signal) ? new DiscardedError() : void 0;
4594
4474
  };
4595
-
4596
4475
  //#endregion
4597
4476
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-sync.js
4598
4477
  const execaCoreSync = (rawFile, rawArguments, rawOptions) => {
@@ -4685,7 +4564,7 @@ const runSubprocessSync = ({ file, commandArguments, options, command, escapedCo
4685
4564
  });
4686
4565
  }
4687
4566
  };
4688
- const normalizeSpawnSyncOptions = ({ encoding, maxBuffer,...options }) => ({
4567
+ const normalizeSpawnSyncOptions = ({ encoding, maxBuffer, ...options }) => ({
4689
4568
  ...options,
4690
4569
  encoding: "buffer",
4691
4570
  maxBuffer: getMaxBufferSync(maxBuffer)
@@ -4716,7 +4595,6 @@ const getSyncResult = ({ error, exitCode, signal, timedOut, isMaxBuffer, stdio,
4716
4595
  startTime,
4717
4596
  isSync: true
4718
4597
  });
4719
-
4720
4598
  //#endregion
4721
4599
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/get-one.js
4722
4600
  const getOneMessage$1 = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true, filter } = {}) => {
@@ -4767,7 +4645,6 @@ const throwOnStrictError = async (ipcEmitter, isSubprocess, { signal }) => {
4767
4645
  const [error] = await once(ipcEmitter, "strict:error", { signal });
4768
4646
  throw getStrictResponseError(error, isSubprocess);
4769
4647
  };
4770
-
4771
4648
  //#endregion
4772
4649
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/get-each.js
4773
4650
  const getEachMessage$1 = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true } = {}) => loopOnMessages({
@@ -4838,7 +4715,6 @@ const iterateOnMessages = async function* ({ anyProcess, channel, ipcEmitter, is
4838
4715
  const throwIfStrictError = ({ error }) => {
4839
4716
  if (error) throw error;
4840
4717
  };
4841
-
4842
4718
  //#endregion
4843
4719
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/methods.js
4844
4720
  const addIpcMethods = (subprocess, { ipc }) => {
@@ -4878,7 +4754,6 @@ const getIpcMethods = (anyProcess, isSubprocess, ipc) => ({
4878
4754
  ipc
4879
4755
  })
4880
4756
  });
4881
-
4882
4757
  //#endregion
4883
4758
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/early-error.js
4884
4759
  const handleEarlyError = ({ error, command, escapedCommand, fileDescriptors, options, startTime, verboseInfo }) => {
@@ -4935,7 +4810,6 @@ const duplex = () => new Duplex({
4935
4810
  write() {}
4936
4811
  });
4937
4812
  const handleDummyPromise = async (error, verboseInfo, options) => handleResult(error, verboseInfo, options);
4938
-
4939
4813
  //#endregion
4940
4814
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/handle-async.js
4941
4815
  const handleStdioAsync = (options, verboseInfo) => handleStdio(addPropertiesAsync, options, verboseInfo, false);
@@ -4976,7 +4850,6 @@ const addPropertiesAsync = {
4976
4850
  uint8Array: forbiddenIfAsync
4977
4851
  }
4978
4852
  };
4979
-
4980
4853
  //#endregion
4981
4854
  //#region ../../node_modules/.pnpm/@sindresorhus+merge-streams@4.0.0/node_modules/@sindresorhus/merge-streams/index.js
4982
4855
  function mergeStreams(streams) {
@@ -5059,7 +4932,7 @@ const onInputStreamsUnpipe = async (passThroughStream, streams, unpipeEvent, { s
5059
4932
  const validateStream = (stream) => {
5060
4933
  if (typeof stream?.pipe !== "function") throw new TypeError(`Expected a readable stream, got: \`${typeof stream}\`.`);
5061
4934
  };
5062
- const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, aborted: aborted$1, onFinished, unpipeEvent }) => {
4935
+ const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, aborted, onFinished, unpipeEvent }) => {
5063
4936
  updateMaxListeners(passThroughStream, PASSTHROUGH_LISTENERS_PER_STREAM);
5064
4937
  const controller = new AbortController();
5065
4938
  try {
@@ -5070,14 +4943,14 @@ const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, a
5070
4943
  stream,
5071
4944
  streams,
5072
4945
  ended,
5073
- aborted: aborted$1,
4946
+ aborted,
5074
4947
  controller
5075
4948
  }),
5076
4949
  onInputStreamUnpipe({
5077
4950
  stream,
5078
4951
  streams,
5079
4952
  ended,
5080
- aborted: aborted$1,
4953
+ aborted,
5081
4954
  unpipeEvent,
5082
4955
  controller
5083
4956
  })
@@ -5086,7 +4959,7 @@ const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, a
5086
4959
  controller.abort();
5087
4960
  updateMaxListeners(passThroughStream, -PASSTHROUGH_LISTENERS_PER_STREAM);
5088
4961
  }
5089
- if (streams.size > 0 && streams.size === ended.size + aborted$1.size) if (ended.size === 0 && aborted$1.size > 0) abortStream(passThroughStream);
4962
+ if (streams.size > 0 && streams.size === ended.size + aborted.size) if (ended.size === 0 && aborted.size > 0) abortStream(passThroughStream);
5090
4963
  else endStream(passThroughStream);
5091
4964
  };
5092
4965
  const afterMergedStreamFinished = async (onFinished, stream, { signal }) => {
@@ -5097,7 +4970,7 @@ const afterMergedStreamFinished = async (onFinished, stream, { signal }) => {
5097
4970
  if (!signal.aborted) errorOrAbortStream(stream, error);
5098
4971
  }
5099
4972
  };
5100
- const onInputStreamEnd = async ({ passThroughStream, stream, streams, ended, aborted: aborted$1, controller: { signal } }) => {
4973
+ const onInputStreamEnd = async ({ passThroughStream, stream, streams, ended, aborted, controller: { signal } }) => {
5101
4974
  try {
5102
4975
  await finished(stream, {
5103
4976
  signal,
@@ -5108,16 +4981,16 @@ const onInputStreamEnd = async ({ passThroughStream, stream, streams, ended, abo
5108
4981
  if (streams.has(stream)) ended.add(stream);
5109
4982
  } catch (error) {
5110
4983
  if (signal.aborted || !streams.has(stream)) return;
5111
- if (isAbortError(error)) aborted$1.add(stream);
4984
+ if (isAbortError(error)) aborted.add(stream);
5112
4985
  else errorStream(passThroughStream, error);
5113
4986
  }
5114
4987
  };
5115
- const onInputStreamUnpipe = async ({ stream, streams, ended, aborted: aborted$1, unpipeEvent, controller: { signal } }) => {
4988
+ const onInputStreamUnpipe = async ({ stream, streams, ended, aborted, unpipeEvent, controller: { signal } }) => {
5116
4989
  await once(stream, unpipeEvent, { signal });
5117
4990
  if (!stream.readable) return once(signal, "abort", { signal });
5118
4991
  streams.delete(stream);
5119
4992
  ended.delete(stream);
5120
- aborted$1.delete(stream);
4993
+ aborted.delete(stream);
5121
4994
  };
5122
4995
  const endStream = (stream) => {
5123
4996
  if (stream.writable) stream.end();
@@ -5137,13 +5010,12 @@ const errorStream = (stream, error) => {
5137
5010
  }
5138
5011
  };
5139
5012
  const noop = () => {};
5140
- const updateMaxListeners = (passThroughStream, increment$1) => {
5013
+ const updateMaxListeners = (passThroughStream, increment) => {
5141
5014
  const maxListeners = passThroughStream.getMaxListeners();
5142
- if (maxListeners !== 0 && maxListeners !== Number.POSITIVE_INFINITY) passThroughStream.setMaxListeners(maxListeners + increment$1);
5015
+ if (maxListeners !== 0 && maxListeners !== Number.POSITIVE_INFINITY) passThroughStream.setMaxListeners(maxListeners + increment);
5143
5016
  };
5144
5017
  const PASSTHROUGH_LISTENERS_COUNT = 2;
5145
5018
  const PASSTHROUGH_LISTENERS_PER_STREAM = 1;
5146
-
5147
5019
  //#endregion
5148
5020
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/pipeline.js
5149
5021
  const pipeStreams = (source, destination) => {
@@ -5179,7 +5051,6 @@ const onDestinationFinish = async (source, destination) => {
5179
5051
  const abortSourceStream = (source) => {
5180
5052
  if (source.readable) source.destroy();
5181
5053
  };
5182
-
5183
5054
  //#endregion
5184
5055
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/output-async.js
5185
5056
  const pipeOutputAsync = (subprocess, fileDescriptors, controller) => {
@@ -5220,7 +5091,6 @@ const setStandardStreamMaxListeners = (stream, { signal }) => {
5220
5091
  if (isStandardStream(stream)) incrementMaxListeners(stream, MAX_LISTENERS_INCREMENT, signal);
5221
5092
  };
5222
5093
  const MAX_LISTENERS_INCREMENT = 2;
5223
-
5224
5094
  //#endregion
5225
5095
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
5226
5096
  /**
@@ -5253,10 +5123,9 @@ const signals = [];
5253
5123
  signals.push("SIGHUP", "SIGINT", "SIGTERM");
5254
5124
  if (process.platform !== "win32") signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
5255
5125
  if (process.platform === "linux") signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
5256
-
5257
5126
  //#endregion
5258
5127
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
5259
- const processOk = (process$3) => !!process$3 && typeof process$3 === "object" && typeof process$3.removeListener === "function" && typeof process$3.emit === "function" && typeof process$3.reallyExit === "function" && typeof process$3.listeners === "function" && typeof process$3.kill === "function" && typeof process$3.pid === "number" && typeof process$3.on === "function";
5128
+ const processOk = (process) => !!process && typeof process === "object" && typeof process.removeListener === "function" && typeof process.emit === "function" && typeof process.reallyExit === "function" && typeof process.listeners === "function" && typeof process.kill === "function" && typeof process.pid === "number" && typeof process.on === "function";
5260
5129
  const kExitEmitter = Symbol.for("signal-exit emitter");
5261
5130
  const global$1 = globalThis;
5262
5131
  const ObjectDefineProperty = Object.defineProperty.bind(Object);
@@ -5285,12 +5154,12 @@ var Emitter = class {
5285
5154
  }
5286
5155
  removeListener(ev, fn) {
5287
5156
  const list = this.listeners[ev];
5288
- const i$1 = list.indexOf(fn);
5157
+ const i = list.indexOf(fn);
5289
5158
  /* c8 ignore start */
5290
- if (i$1 === -1) return;
5159
+ if (i === -1) return;
5291
5160
  /* c8 ignore stop */
5292
- if (i$1 === 0 && list.length === 1) list.length = 0;
5293
- else list.splice(i$1, 1);
5161
+ if (i === 0 && list.length === 1) list.length = 0;
5162
+ else list.splice(i, 1);
5294
5163
  }
5295
5164
  emit(ev, code, signal) {
5296
5165
  if (this.emitted[ev]) return false;
@@ -5332,27 +5201,27 @@ var SignalExit = class extends SignalExitBase {
5332
5201
  #originalProcessReallyExit;
5333
5202
  #sigListeners = {};
5334
5203
  #loaded = false;
5335
- constructor(process$3) {
5204
+ constructor(process) {
5336
5205
  super();
5337
- this.#process = process$3;
5206
+ this.#process = process;
5338
5207
  this.#sigListeners = {};
5339
5208
  for (const sig of signals) this.#sigListeners[sig] = () => {
5340
5209
  const listeners = this.#process.listeners(sig);
5341
- let { count: count$1 } = this.#emitter;
5210
+ let { count } = this.#emitter;
5342
5211
  /* c8 ignore start */
5343
- const p$1 = process$3;
5344
- if (typeof p$1.__signal_exit_emitter__ === "object" && typeof p$1.__signal_exit_emitter__.count === "number") count$1 += p$1.__signal_exit_emitter__.count;
5212
+ const p = process;
5213
+ if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") count += p.__signal_exit_emitter__.count;
5345
5214
  /* c8 ignore stop */
5346
- if (listeners.length === count$1) {
5215
+ if (listeners.length === count) {
5347
5216
  this.unload();
5348
5217
  const ret = this.#emitter.emit("exit", null, sig);
5349
5218
  /* c8 ignore start */
5350
5219
  const s = sig === "SIGHUP" ? this.#hupSig : sig;
5351
- if (!ret) process$3.kill(process$3.pid, s);
5220
+ if (!ret) process.kill(process.pid, s);
5352
5221
  }
5353
5222
  };
5354
- this.#originalProcessReallyExit = process$3.reallyExit;
5355
- this.#originalProcessEmit = process$3.emit;
5223
+ this.#originalProcessReallyExit = process.reallyExit;
5224
+ this.#originalProcessEmit = process.emit;
5356
5225
  }
5357
5226
  onExit(cb, opts) {
5358
5227
  /* c8 ignore start */
@@ -5373,9 +5242,9 @@ var SignalExit = class extends SignalExitBase {
5373
5242
  for (const sig of signals) try {
5374
5243
  const fn = this.#sigListeners[sig];
5375
5244
  if (fn) this.#process.on(sig, fn);
5376
- } catch (_$1) {}
5377
- this.#process.emit = (ev, ...a$1) => {
5378
- return this.#processEmit(ev, ...a$1);
5245
+ } catch (_) {}
5246
+ this.#process.emit = (ev, ...a) => {
5247
+ return this.#processEmit(ev, ...a);
5379
5248
  };
5380
5249
  this.#process.reallyExit = (code) => {
5381
5250
  return this.#processReallyExit(code);
@@ -5391,7 +5260,7 @@ var SignalExit = class extends SignalExitBase {
5391
5260
  /* c8 ignore stop */
5392
5261
  try {
5393
5262
  this.#process.removeListener(sig, listener);
5394
- } catch (_$1) {}
5263
+ } catch (_) {}
5395
5264
  /* c8 ignore stop */
5396
5265
  });
5397
5266
  this.#process.emit = this.#originalProcessEmit;
@@ -5421,7 +5290,6 @@ var SignalExit = class extends SignalExitBase {
5421
5290
  };
5422
5291
  const process$2 = globalThis.process;
5423
5292
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
5424
-
5425
5293
  //#endregion
5426
5294
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/cleanup.js
5427
5295
  const cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
@@ -5433,7 +5301,6 @@ const cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
5433
5301
  removeExitHandler();
5434
5302
  });
5435
5303
  };
5436
-
5437
5304
  //#endregion
5438
5305
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/pipe-arguments.js
5439
5306
  const normalizePipeArguments = ({ source, sourcePromise, boundOptions, createNested }, ...pipeArguments) => {
@@ -5501,7 +5368,6 @@ const getSourceStream = (source, from) => {
5501
5368
  return { sourceError: error };
5502
5369
  }
5503
5370
  };
5504
-
5505
5371
  //#endregion
5506
5372
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/throw.js
5507
5373
  const handlePipeArgumentsError = ({ sourceStream, sourceError, destinationStream, destinationError, fileDescriptors, sourceOptions, startTime }) => {
@@ -5539,7 +5405,6 @@ const createNonCommandError = ({ error, fileDescriptors, sourceOptions, startTim
5539
5405
  isSync: false
5540
5406
  });
5541
5407
  const PIPE_COMMAND_MESSAGE = "source.pipe(destination)";
5542
-
5543
5408
  //#endregion
5544
5409
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/sequence.js
5545
5410
  const waitForBothSubprocesses = async (subprocessPromises) => {
@@ -5549,7 +5414,6 @@ const waitForBothSubprocesses = async (subprocessPromises) => {
5549
5414
  if (sourceStatus === "rejected") throw sourceResult;
5550
5415
  return destinationResult;
5551
5416
  };
5552
-
5553
5417
  //#endregion
5554
5418
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/streaming.js
5555
5419
  const pipeSubprocessStream = (sourceStream, destinationStream, maxListenersController) => {
@@ -5583,7 +5447,6 @@ const cleanupMergedStreamsMap = async (destinationStream) => {
5583
5447
  const MERGED_STREAMS = /* @__PURE__ */ new WeakMap();
5584
5448
  const SOURCE_LISTENERS_PER_PIPE = 2;
5585
5449
  const DESTINATION_LISTENERS_PER_PIPE = 1;
5586
-
5587
5450
  //#endregion
5588
5451
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/abort.js
5589
5452
  const unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ? [] : [unpipeOnSignalAbort(unpipeSignal, unpipeContext)];
@@ -5597,7 +5460,6 @@ const unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, f
5597
5460
  startTime
5598
5461
  });
5599
5462
  };
5600
-
5601
5463
  //#endregion
5602
5464
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/setup.js
5603
5465
  const pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
@@ -5608,7 +5470,7 @@ const pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
5608
5470
  ...pipeArguments[0]
5609
5471
  }
5610
5472
  });
5611
- const { destination,...normalizedInfo } = normalizePipeArguments(sourceInfo, ...pipeArguments);
5473
+ const { destination, ...normalizedInfo } = normalizePipeArguments(sourceInfo, ...pipeArguments);
5612
5474
  const promise = handlePipePromise({
5613
5475
  ...normalizedInfo,
5614
5476
  destination
@@ -5647,7 +5509,6 @@ const handlePipePromise = async ({ sourcePromise, sourceStream, sourceOptions, s
5647
5509
  }
5648
5510
  };
5649
5511
  const getSubprocessPromises = (sourcePromise, destination) => Promise.allSettled([sourcePromise, destination]);
5650
-
5651
5512
  //#endregion
5652
5513
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/iterate.js
5653
5514
  const iterateOnSubprocessStream = ({ subprocessStdout, subprocess, binary, shouldEncode, encoding, preserveNewlines }) => {
@@ -5670,7 +5531,7 @@ const stopReadingOnExit = async (subprocess, controller) => {
5670
5531
  controller.abort();
5671
5532
  }
5672
5533
  };
5673
- const iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewline: stripFinalNewline$1, allMixed }) => {
5534
+ const iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewline, allMixed }) => {
5674
5535
  const controller = new AbortController();
5675
5536
  stopReadingOnStreamEnd(onStreamEnd, controller, stream);
5676
5537
  const objectMode = stream.readableObjectMode && !allMixed;
@@ -5681,7 +5542,7 @@ const iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewl
5681
5542
  shouldEncode: !objectMode,
5682
5543
  encoding,
5683
5544
  shouldSplit: !objectMode && lines,
5684
- preserveNewlines: !stripFinalNewline$1
5545
+ preserveNewlines: !stripFinalNewline
5685
5546
  });
5686
5547
  };
5687
5548
  const stopReadingOnStreamEnd = async (onStreamEnd, controller, stream) => {
@@ -5727,10 +5588,9 @@ const iterateOnData = async function* ({ onStdoutChunk, controller, binary, shou
5727
5588
  }
5728
5589
  };
5729
5590
  const getGenerators = ({ binary, shouldEncode, encoding, shouldSplit, preserveNewlines }) => [getEncodingTransformGenerator(binary, encoding, !shouldEncode), getSplitLinesGenerator(binary, preserveNewlines, !shouldSplit, {})].filter(Boolean);
5730
-
5731
5591
  //#endregion
5732
5592
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/contents.js
5733
- const getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => {
5593
+ const getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline, verboseInfo, streamInfo }) => {
5734
5594
  const logPromise = logOutputAsync({
5735
5595
  stream,
5736
5596
  onStreamEnd,
@@ -5749,7 +5609,7 @@ const getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer
5749
5609
  onStreamEnd,
5750
5610
  lines,
5751
5611
  encoding,
5752
- stripFinalNewline: getStripFinalNewline(stripFinalNewline$1, fdNumber),
5612
+ stripFinalNewline: getStripFinalNewline(stripFinalNewline, fdNumber),
5753
5613
  allMixed
5754
5614
  });
5755
5615
  const [output] = await Promise.all([getStreamContents({
@@ -5806,7 +5666,6 @@ const getBufferedData = async (streamPromise) => {
5806
5666
  }
5807
5667
  };
5808
5668
  const handleBufferedData = ({ bufferedData }) => isArrayBuffer(bufferedData) ? new Uint8Array(bufferedData) : bufferedData;
5809
-
5810
5669
  //#endregion
5811
5670
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/wait-stream.js
5812
5671
  const waitForStream = async (stream, fdNumber, streamInfo, { isSameDirection, stopOnExit = false } = {}) => {
@@ -5849,10 +5708,9 @@ const shouldIgnoreStreamError = (error, fdNumber, streamInfo, isSameDirection =
5849
5708
  const isInputFileDescriptor = ({ fileDescriptors }, fdNumber) => fdNumber !== "all" && fileDescriptors[fdNumber].direction === "input";
5850
5709
  const isStreamAbort = (error) => error?.code === "ERR_STREAM_PREMATURE_CLOSE";
5851
5710
  const isStreamEpipe = (error) => error?.code === "EPIPE";
5852
-
5853
5711
  //#endregion
5854
5712
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/stdio.js
5855
- const waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => subprocess.stdio.map((stream, fdNumber) => waitForSubprocessStream({
5713
+ const waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline, verboseInfo, streamInfo }) => subprocess.stdio.map((stream, fdNumber) => waitForSubprocessStream({
5856
5714
  stream,
5857
5715
  fdNumber,
5858
5716
  encoding,
@@ -5860,11 +5718,11 @@ const waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, s
5860
5718
  maxBuffer: maxBuffer[fdNumber],
5861
5719
  lines: lines[fdNumber],
5862
5720
  allMixed: false,
5863
- stripFinalNewline: stripFinalNewline$1,
5721
+ stripFinalNewline,
5864
5722
  verboseInfo,
5865
5723
  streamInfo
5866
5724
  }));
5867
- const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => {
5725
+ const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline, verboseInfo, streamInfo }) => {
5868
5726
  if (!stream) return;
5869
5727
  const onStreamEnd = waitForStream(stream, fdNumber, streamInfo);
5870
5728
  if (isInputFileDescriptor(streamInfo, fdNumber)) {
@@ -5880,24 +5738,23 @@ const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, max
5880
5738
  maxBuffer,
5881
5739
  lines,
5882
5740
  allMixed,
5883
- stripFinalNewline: stripFinalNewline$1,
5741
+ stripFinalNewline,
5884
5742
  verboseInfo,
5885
5743
  streamInfo
5886
5744
  }), onStreamEnd]);
5887
5745
  return output;
5888
5746
  };
5889
-
5890
5747
  //#endregion
5891
5748
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/all-async.js
5892
5749
  const makeAllStream = ({ stdout, stderr }, { all }) => all && (stdout || stderr) ? mergeStreams([stdout, stderr].filter(Boolean)) : void 0;
5893
- const waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => waitForSubprocessStream({
5750
+ const waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline, verboseInfo, streamInfo }) => waitForSubprocessStream({
5894
5751
  ...getAllStream(subprocess, buffer),
5895
5752
  fdNumber: "all",
5896
5753
  encoding,
5897
5754
  maxBuffer: maxBuffer[1] + maxBuffer[2],
5898
5755
  lines: lines[1] || lines[2],
5899
5756
  allMixed: getAllMixed(subprocess),
5900
- stripFinalNewline: stripFinalNewline$1,
5757
+ stripFinalNewline,
5901
5758
  verboseInfo,
5902
5759
  streamInfo
5903
5760
  });
@@ -5921,7 +5778,6 @@ const getAllStream = ({ stdout, stderr, all }, [, bufferStdout, bufferStderr]) =
5921
5778
  };
5922
5779
  };
5923
5780
  const getAllMixed = ({ all, stdout, stderr }) => all && stdout && stderr && stdout.readableObjectMode !== stderr.readableObjectMode;
5924
-
5925
5781
  //#endregion
5926
5782
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/ipc.js
5927
5783
  const shouldLogIpc = (verboseInfo) => isFullVerbose(verboseInfo, "ipc");
@@ -5933,12 +5789,11 @@ const logIpcOutput = (message, verboseInfo) => {
5933
5789
  verboseInfo
5934
5790
  });
5935
5791
  };
5936
-
5937
5792
  //#endregion
5938
5793
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/buffer-messages.js
5939
5794
  const waitForIpcOutput = async ({ subprocess, buffer: bufferArray, maxBuffer: maxBufferArray, ipc, ipcOutput, verboseInfo }) => {
5940
5795
  if (!ipc) return ipcOutput;
5941
- const isVerbose$1 = shouldLogIpc(verboseInfo);
5796
+ const isVerbose = shouldLogIpc(verboseInfo);
5942
5797
  const buffer = getFdSpecificValue(bufferArray, "ipc");
5943
5798
  const maxBuffer = getFdSpecificValue(maxBufferArray, "ipc");
5944
5799
  for await (const message of loopOnMessages({
@@ -5953,7 +5808,7 @@ const waitForIpcOutput = async ({ subprocess, buffer: bufferArray, maxBuffer: ma
5953
5808
  checkIpcMaxBuffer(subprocess, ipcOutput, maxBuffer);
5954
5809
  ipcOutput.push(message);
5955
5810
  }
5956
- if (isVerbose$1) logIpcOutput(message, verboseInfo);
5811
+ if (isVerbose) logIpcOutput(message, verboseInfo);
5957
5812
  }
5958
5813
  return ipcOutput;
5959
5814
  };
@@ -5961,10 +5816,9 @@ const getBufferedIpcOutput = async (ipcOutputPromise, ipcOutput) => {
5961
5816
  await Promise.allSettled([ipcOutputPromise]);
5962
5817
  return ipcOutput;
5963
5818
  };
5964
-
5965
5819
  //#endregion
5966
5820
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/wait-subprocess.js
5967
- const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer, maxBuffer, lines, timeoutDuration: timeout, cancelSignal, gracefulCancel, forceKillAfterDelay, stripFinalNewline: stripFinalNewline$1, ipc, ipcInput }, context, verboseInfo, fileDescriptors, originalStreams, onInternalError, controller }) => {
5821
+ const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer, maxBuffer, lines, timeoutDuration: timeout, cancelSignal, gracefulCancel, forceKillAfterDelay, stripFinalNewline, ipc, ipcInput }, context, verboseInfo, fileDescriptors, originalStreams, onInternalError, controller }) => {
5968
5822
  const exitPromise = waitForExit(subprocess, context);
5969
5823
  const streamInfo = {
5970
5824
  originalStreams,
@@ -5979,7 +5833,7 @@ const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer
5979
5833
  buffer,
5980
5834
  maxBuffer,
5981
5835
  lines,
5982
- stripFinalNewline: stripFinalNewline$1,
5836
+ stripFinalNewline,
5983
5837
  verboseInfo,
5984
5838
  streamInfo
5985
5839
  });
@@ -5989,7 +5843,7 @@ const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer
5989
5843
  buffer,
5990
5844
  maxBuffer,
5991
5845
  lines,
5992
- stripFinalNewline: stripFinalNewline$1,
5846
+ stripFinalNewline,
5993
5847
  verboseInfo,
5994
5848
  streamInfo
5995
5849
  });
@@ -6057,7 +5911,6 @@ const throwOnSubprocessError = async (subprocess, { signal }) => {
6057
5911
  const [error] = await once(subprocess, "error", { signal });
6058
5912
  throw error;
6059
5913
  };
6060
-
6061
5914
  //#endregion
6062
5915
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/concurrent.js
6063
5916
  const initializeConcurrentStreams = () => ({
@@ -6081,7 +5934,6 @@ const waitForConcurrentStreams = async ({ resolve, promises }, subprocess) => {
6081
5934
  const [isSubprocessExit] = await Promise.race([Promise.allSettled([true, subprocess]), Promise.all([false, ...promises])]);
6082
5935
  return !isSubprocessExit;
6083
5936
  };
6084
-
6085
5937
  //#endregion
6086
5938
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/shared.js
6087
5939
  const safeWaitForSubprocessStdin = async (subprocessStdin) => {
@@ -6118,7 +5970,6 @@ const destroyOtherStream = (stream, isOpen, error) => {
6118
5970
  if (error && !isStreamAbort(error)) stream.destroy(error);
6119
5971
  else if (isOpen) stream.destroy();
6120
5972
  };
6121
-
6122
5973
  //#endregion
6123
5974
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/readable.js
6124
5975
  const createReadable = ({ subprocess, concurrentStreams, encoding }, { from, binary: binaryOption = true, preserveNewlines = true } = {}) => {
@@ -6132,7 +5983,7 @@ const createReadable = ({ subprocess, concurrentStreams, encoding }, { from, bin
6132
5983
  encoding,
6133
5984
  preserveNewlines
6134
5985
  });
6135
- const readable$1 = new Readable({
5986
+ const readable = new Readable({
6136
5987
  read,
6137
5988
  destroy: callbackify(onReadableDestroy.bind(void 0, {
6138
5989
  subprocessStdout,
@@ -6146,10 +5997,10 @@ const createReadable = ({ subprocess, concurrentStreams, encoding }, { from, bin
6146
5997
  onStdoutFinished({
6147
5998
  subprocessStdout,
6148
5999
  onStdoutDataDone,
6149
- readable: readable$1,
6000
+ readable,
6150
6001
  subprocess
6151
6002
  });
6152
- return readable$1;
6003
+ return readable;
6153
6004
  };
6154
6005
  const getSubprocessStdout = (subprocess, from, concurrentStreams) => {
6155
6006
  const subprocessStdout = getFromStream(subprocess, from);
@@ -6184,23 +6035,23 @@ const getReadableMethods = ({ subprocessStdout, subprocess, binary, encoding, pr
6184
6035
  onStdoutDataDone
6185
6036
  };
6186
6037
  };
6187
- const onRead = async (readable$1, onStdoutData, onStdoutDataDone) => {
6038
+ const onRead = async (readable, onStdoutData, onStdoutDataDone) => {
6188
6039
  try {
6189
6040
  const { value, done } = await onStdoutData.next();
6190
6041
  if (done) onStdoutDataDone.resolve();
6191
- else readable$1.push(value);
6042
+ else readable.push(value);
6192
6043
  } catch {}
6193
6044
  };
6194
- const onStdoutFinished = async ({ subprocessStdout, onStdoutDataDone, readable: readable$1, subprocess, subprocessStdin }) => {
6045
+ const onStdoutFinished = async ({ subprocessStdout, onStdoutDataDone, readable, subprocess, subprocessStdin }) => {
6195
6046
  try {
6196
6047
  await waitForSubprocessStdout(subprocessStdout);
6197
6048
  await subprocess;
6198
6049
  await safeWaitForSubprocessStdin(subprocessStdin);
6199
6050
  await onStdoutDataDone;
6200
- if (readable$1.readable) readable$1.push(null);
6051
+ if (readable.readable) readable.push(null);
6201
6052
  } catch (error) {
6202
6053
  await safeWaitForSubprocessStdin(subprocessStdin);
6203
- destroyOtherReadable(readable$1, error);
6054
+ destroyOtherReadable(readable, error);
6204
6055
  }
6205
6056
  };
6206
6057
  const onReadableDestroy = async ({ subprocessStdout, subprocess, waitReadableDestroy }, error) => {
@@ -6212,12 +6063,11 @@ const onReadableDestroy = async ({ subprocessStdout, subprocess, waitReadableDes
6212
6063
  const destroyOtherReadable = (stream, error) => {
6213
6064
  destroyOtherStream(stream, stream.readable, error);
6214
6065
  };
6215
-
6216
6066
  //#endregion
6217
6067
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/writable.js
6218
6068
  const createWritable = ({ subprocess, concurrentStreams }, { to } = {}) => {
6219
6069
  const { subprocessStdin, waitWritableFinal, waitWritableDestroy } = getSubprocessStdin(subprocess, to, concurrentStreams);
6220
- const writable$1 = new Writable({
6070
+ const writable = new Writable({
6221
6071
  ...getWritableMethods(subprocessStdin, subprocess, waitWritableFinal),
6222
6072
  destroy: callbackify(onWritableDestroy.bind(void 0, {
6223
6073
  subprocessStdin,
@@ -6228,8 +6078,8 @@ const createWritable = ({ subprocess, concurrentStreams }, { to } = {}) => {
6228
6078
  highWaterMark: subprocessStdin.writableHighWaterMark,
6229
6079
  objectMode: subprocessStdin.writableObjectMode
6230
6080
  });
6231
- onStdinFinished(subprocessStdin, writable$1);
6232
- return writable$1;
6081
+ onStdinFinished(subprocessStdin, writable);
6082
+ return writable;
6233
6083
  };
6234
6084
  const getSubprocessStdin = (subprocess, to, concurrentStreams) => {
6235
6085
  const subprocessStdin = getToStream(subprocess, to);
@@ -6253,13 +6103,13 @@ const onWritableFinal = async (subprocessStdin, subprocess, waitWritableFinal) =
6253
6103
  await subprocess;
6254
6104
  }
6255
6105
  };
6256
- const onStdinFinished = async (subprocessStdin, writable$1, subprocessStdout) => {
6106
+ const onStdinFinished = async (subprocessStdin, writable, subprocessStdout) => {
6257
6107
  try {
6258
6108
  await waitForSubprocessStdin(subprocessStdin);
6259
- if (writable$1.writable) writable$1.end();
6109
+ if (writable.writable) writable.end();
6260
6110
  } catch (error) {
6261
6111
  await safeWaitForSubprocessStdout(subprocessStdout);
6262
- destroyOtherWritable(writable$1, error);
6112
+ destroyOtherWritable(writable, error);
6263
6113
  }
6264
6114
  };
6265
6115
  const onWritableDestroy = async ({ subprocessStdin, subprocess, waitWritableFinal, waitWritableDestroy }, error) => {
@@ -6272,7 +6122,6 @@ const onWritableDestroy = async ({ subprocessStdin, subprocess, waitWritableFina
6272
6122
  const destroyOtherWritable = (stream, error) => {
6273
6123
  destroyOtherStream(stream, stream.writable, error);
6274
6124
  };
6275
-
6276
6125
  //#endregion
6277
6126
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/duplex.js
6278
6127
  const createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, binary: binaryOption = true, preserveNewlines = true } = {}) => {
@@ -6287,7 +6136,7 @@ const createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, b
6287
6136
  encoding,
6288
6137
  preserveNewlines
6289
6138
  });
6290
- const duplex$1 = new Duplex({
6139
+ const duplex = new Duplex({
6291
6140
  read,
6292
6141
  ...getWritableMethods(subprocessStdin, subprocess, waitWritableFinal),
6293
6142
  destroy: callbackify(onDuplexDestroy.bind(void 0, {
@@ -6307,12 +6156,12 @@ const createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, b
6307
6156
  onStdoutFinished({
6308
6157
  subprocessStdout,
6309
6158
  onStdoutDataDone,
6310
- readable: duplex$1,
6159
+ readable: duplex,
6311
6160
  subprocess,
6312
6161
  subprocessStdin
6313
6162
  });
6314
- onStdinFinished(subprocessStdin, duplex$1, subprocessStdout);
6315
- return duplex$1;
6163
+ onStdinFinished(subprocessStdin, duplex, subprocessStdout);
6164
+ return duplex;
6316
6165
  };
6317
6166
  const onDuplexDestroy = async ({ subprocessStdout, subprocessStdin, subprocess, waitReadableDestroy, waitWritableFinal, waitWritableDestroy }, error) => {
6318
6167
  await Promise.all([onReadableDestroy({
@@ -6326,7 +6175,6 @@ const onDuplexDestroy = async ({ subprocessStdout, subprocessStdin, subprocess,
6326
6175
  waitWritableDestroy
6327
6176
  }, error)]);
6328
6177
  };
6329
-
6330
6178
  //#endregion
6331
6179
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/iterable.js
6332
6180
  const createIterable = (subprocess, encoding, { from, binary: binaryOption = false, preserveNewlines = false } = {}) => {
@@ -6349,7 +6197,6 @@ const iterateOnStdoutData = async function* (onStdoutData, subprocessStdout, sub
6349
6197
  await subprocess;
6350
6198
  }
6351
6199
  };
6352
-
6353
6200
  //#endregion
6354
6201
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/add.js
6355
6202
  const addConvertedStreams = (subprocess, { encoding }) => {
@@ -6371,7 +6218,6 @@ const addConvertedStreams = (subprocess, { encoding }) => {
6371
6218
  subprocess.iterable = createIterable.bind(void 0, subprocess, encoding);
6372
6219
  subprocess[Symbol.asyncIterator] = createIterable.bind(void 0, subprocess, encoding, {});
6373
6220
  };
6374
-
6375
6221
  //#endregion
6376
6222
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/promise.js
6377
6223
  const mergePromise = (subprocess, promise) => {
@@ -6389,7 +6235,6 @@ const descriptors = [
6389
6235
  "catch",
6390
6236
  "finally"
6391
6237
  ].map((property) => [property, Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property)]);
6392
-
6393
6238
  //#endregion
6394
6239
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js
6395
6240
  const execaCoreAsync = (rawFile, rawArguments, rawOptions, createNested) => {
@@ -6432,7 +6277,7 @@ const handleAsyncArguments = (rawFile, rawArguments, rawOptions) => {
6432
6277
  fileDescriptors: handleStdioAsync(options, verboseInfo)
6433
6278
  };
6434
6279
  };
6435
- const handleAsyncOptions = ({ timeout, signal,...options }) => {
6280
+ const handleAsyncOptions = ({ timeout, signal, ...options }) => {
6436
6281
  if (signal !== void 0) throw new TypeError("The \"signal\" option has been renamed to \"cancelSignal\" instead.");
6437
6282
  return {
6438
6283
  ...options,
@@ -6542,7 +6387,6 @@ const getAsyncResult = ({ errorInfo, exitCode, signal, stdio, all, ipcOutput, co
6542
6387
  options,
6543
6388
  startTime
6544
6389
  });
6545
-
6546
6390
  //#endregion
6547
6391
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/bind.js
6548
6392
  const mergeOptions = (boundOptions, options) => {
@@ -6560,11 +6404,10 @@ const mergeOption = (optionName, boundOptionValue, optionValue) => {
6560
6404
  return optionValue;
6561
6405
  };
6562
6406
  const DEEP_OPTIONS = new Set(["env", ...FD_SPECIFIC_OPTIONS]);
6563
-
6564
6407
  //#endregion
6565
6408
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/create.js
6566
6409
  const createExeca = (mapArguments, boundOptions, deepOptions, setBoundExeca) => {
6567
- const createNested = (mapArguments$1, boundOptions$1, setBoundExeca$1) => createExeca(mapArguments$1, boundOptions$1, deepOptions, setBoundExeca$1);
6410
+ const createNested = (mapArguments, boundOptions, setBoundExeca) => createExeca(mapArguments, boundOptions, deepOptions, setBoundExeca);
6568
6411
  const boundExeca = (...execaArguments) => callBoundExeca({
6569
6412
  mapArguments,
6570
6413
  deepOptions,
@@ -6601,7 +6444,6 @@ const parseArguments = ({ mapArguments, firstArgument, nextArguments, deepOption
6601
6444
  isSync
6602
6445
  };
6603
6446
  };
6604
-
6605
6447
  //#endregion
6606
6448
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/command.js
6607
6449
  const mapCommandAsync = ({ file, commandArguments }) => parseCommand(file, commandArguments);
@@ -6630,7 +6472,6 @@ const parseCommandString = (command) => {
6630
6472
  return tokens;
6631
6473
  };
6632
6474
  const SPACES_REGEXP = / +/g;
6633
-
6634
6475
  //#endregion
6635
6476
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/script.js
6636
6477
  const setScriptSync = (boundExeca, createNested, boundOptions) => {
@@ -6648,21 +6489,19 @@ const getScriptOptions = (options) => ({ options: {
6648
6489
  } });
6649
6490
  const getScriptStdinOption = ({ input, inputFile, stdio }) => input === void 0 && inputFile === void 0 && stdio === void 0 ? { stdin: "inherit" } : {};
6650
6491
  const deepScriptOptions = { preferLocal: true };
6651
-
6652
6492
  //#endregion
6653
6493
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/index.js
6654
6494
  const execa = createExeca(() => ({}));
6655
- const execaSync = createExeca(() => ({ isSync: true }));
6656
- const execaCommand = createExeca(mapCommandAsync);
6657
- const execaCommandSync = createExeca(mapCommandSync);
6658
- const execaNode = createExeca(mapNode);
6659
- const $ = createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
6495
+ createExeca(() => ({ isSync: true }));
6496
+ createExeca(mapCommandAsync);
6497
+ createExeca(mapCommandSync);
6498
+ createExeca(mapNode);
6499
+ createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
6660
6500
  const { sendMessage, getOneMessage, getEachMessage, getCancelSignal } = getIpcExport();
6661
-
6662
6501
  //#endregion
6663
6502
  //#region src/utils/createWrangler.ts
6664
6503
  const createWrangler = ({ stdio, accountId, cloudflareApiToken, cwd }) => {
6665
- const $$1 = execa({
6504
+ const $ = execa({
6666
6505
  stdio,
6667
6506
  extendsEnv: true,
6668
6507
  shell: stdio === "inherit",
@@ -6672,12 +6511,11 @@ const createWrangler = ({ stdio, accountId, cloudflareApiToken, cwd }) => {
6672
6511
  CLOUDFLARE_API_TOKEN: cloudflareApiToken
6673
6512
  }
6674
6513
  });
6675
- return (...command) => $$1("npx", ["wrangler", ...command]);
6514
+ return (...command) => $("npx", ["wrangler", ...command]);
6676
6515
  };
6677
-
6678
6516
  //#endregion
6679
6517
  //#region ../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/parser.js
6680
- var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/parser.js": ((exports, module) => {
6518
+ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6681
6519
  module.exports = (function() {
6682
6520
  function peg$subclass(child, parent) {
6683
6521
  function ctor() {
@@ -6696,7 +6534,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
6696
6534
  this.name = "SyntaxError";
6697
6535
  }
6698
6536
  peg$subclass(SyntaxError, Error);
6699
- function parse$2(input) {
6537
+ function parse(input) {
6700
6538
  var options = arguments.length > 1 ? arguments[1] : {}, peg$FAILED = {}, peg$startRuleFunctions = { start: peg$parsestart }, peg$startRuleFunction = peg$parsestart, peg$c1 = function() {
6701
6539
  return nodes;
6702
6540
  }, peg$c2 = peg$FAILED, peg$c3 = "#", peg$c4 = {
@@ -6736,8 +6574,8 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
6736
6574
  addNode(node("Assign", value, line, column, key));
6737
6575
  }, peg$c21 = function(chars) {
6738
6576
  return chars.join("");
6739
- }, peg$c22 = function(node$1) {
6740
- return node$1.value;
6577
+ }, peg$c22 = function(node) {
6578
+ return node.value;
6741
6579
  }, peg$c23 = "\"\"\"", peg$c24 = {
6742
6580
  type: "literal",
6743
6581
  value: "\"\"\"",
@@ -6953,9 +6791,9 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
6953
6791
  }
6954
6792
  function peg$computePosDetails(pos) {
6955
6793
  function advance(details, startPos, endPos) {
6956
- var p$1, ch;
6957
- for (p$1 = startPos; p$1 < endPos; p$1++) {
6958
- ch = input.charAt(p$1);
6794
+ var p, ch;
6795
+ for (p = startPos; p < endPos; p++) {
6796
+ ch = input.charAt(p);
6959
6797
  if (ch === "\n") {
6960
6798
  if (!details.seenCR) details.line++;
6961
6799
  details.column = 1;
@@ -6993,17 +6831,17 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
6993
6831
  peg$maxFailExpected.push(expected);
6994
6832
  }
6995
6833
  function peg$buildException(message, expected, pos) {
6996
- function cleanupExpected(expected$1) {
6997
- var i$1 = 1;
6998
- expected$1.sort(function(a$1, b) {
6999
- if (a$1.description < b.description) return -1;
7000
- else if (a$1.description > b.description) return 1;
6834
+ function cleanupExpected(expected) {
6835
+ var i = 1;
6836
+ expected.sort(function(a, b) {
6837
+ if (a.description < b.description) return -1;
6838
+ else if (a.description > b.description) return 1;
7001
6839
  else return 0;
7002
6840
  });
7003
- while (i$1 < expected$1.length) if (expected$1[i$1 - 1] === expected$1[i$1]) expected$1.splice(i$1, 1);
7004
- else i$1++;
6841
+ while (i < expected.length) if (expected[i - 1] === expected[i]) expected.splice(i, 1);
6842
+ else i++;
7005
6843
  }
7006
- function buildMessage(expected$1, found$1) {
6844
+ function buildMessage(expected, found) {
7007
6845
  function stringEscape(s) {
7008
6846
  function hex(ch) {
7009
6847
  return ch.charCodeAt(0).toString(16).toUpperCase();
@@ -7018,10 +6856,10 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
7018
6856
  return "\\u" + hex(ch);
7019
6857
  });
7020
6858
  }
7021
- var expectedDescs = new Array(expected$1.length), expectedDesc, foundDesc, i$1;
7022
- for (i$1 = 0; i$1 < expected$1.length; i$1++) expectedDescs[i$1] = expected$1[i$1].description;
7023
- expectedDesc = expected$1.length > 1 ? expectedDescs.slice(0, -1).join(", ") + " or " + expectedDescs[expected$1.length - 1] : expectedDescs[0];
7024
- foundDesc = found$1 ? "\"" + stringEscape(found$1) + "\"" : "end of input";
6859
+ var expectedDescs = new Array(expected.length), expectedDesc, foundDesc, i;
6860
+ for (i = 0; i < expected.length; i++) expectedDescs[i] = expected[i].description;
6861
+ expectedDesc = expected.length > 1 ? expectedDescs.slice(0, -1).join(", ") + " or " + expectedDescs[expected.length - 1] : expectedDescs[0];
6862
+ foundDesc = found ? "\"" + stringEscape(found) + "\"" : "end of input";
7025
6863
  return "Expected " + expectedDesc + " but " + foundDesc + " found.";
7026
6864
  }
7027
6865
  var posDetails = peg$computePosDetails(pos), found = pos < input.length ? input.charAt(pos) : null;
@@ -10248,28 +10086,28 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
10248
10086
  return s0;
10249
10087
  }
10250
10088
  var nodes = [];
10251
- function genError(err, line$1, col) {
10089
+ function genError(err, line, col) {
10252
10090
  var ex = new Error(err);
10253
- ex.line = line$1;
10091
+ ex.line = line;
10254
10092
  ex.column = col;
10255
10093
  throw ex;
10256
10094
  }
10257
- function addNode(node$1) {
10258
- nodes.push(node$1);
10095
+ function addNode(node) {
10096
+ nodes.push(node);
10259
10097
  }
10260
- function node(type, value, line$1, column$1, key) {
10098
+ function node(type, value, line, column, key) {
10261
10099
  var obj = {
10262
10100
  type,
10263
10101
  value,
10264
- line: line$1(),
10265
- column: column$1()
10102
+ line: line(),
10103
+ column: column()
10266
10104
  };
10267
10105
  if (key) obj.key = key;
10268
10106
  return obj;
10269
10107
  }
10270
- function convertCodePoint(str, line$1, col) {
10108
+ function convertCodePoint(str, line, col) {
10271
10109
  var num = parseInt("0x" + str);
10272
- if (!isFinite(num) || Math.floor(num) != num || num < 0 || num > 1114111 || num > 55295 && num < 57344) genError("Invalid Unicode escape code: " + str, line$1, col);
10110
+ if (!isFinite(num) || Math.floor(num) != num || num < 0 || num > 1114111 || num > 55295 && num < 57344) genError("Invalid Unicode escape code: " + str, line, col);
10273
10111
  else return fromCodePoint(num);
10274
10112
  }
10275
10113
  function fromCodePoint() {
@@ -10309,14 +10147,13 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml
10309
10147
  }
10310
10148
  return {
10311
10149
  SyntaxError,
10312
- parse: parse$2
10150
+ parse
10313
10151
  };
10314
10152
  })();
10315
- }) });
10316
-
10153
+ }));
10317
10154
  //#endregion
10318
10155
  //#region ../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/compiler.js
10319
- var require_compiler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/compiler.js": ((exports, module) => {
10156
+ var require_compiler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10320
10157
  function compile(nodes) {
10321
10158
  var assignedPaths = [];
10322
10159
  var valueAssignments = [];
@@ -10324,10 +10161,10 @@ var require_compiler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to
10324
10161
  var data = Object.create(null);
10325
10162
  var context = data;
10326
10163
  return reduce(nodes);
10327
- function reduce(nodes$1) {
10164
+ function reduce(nodes) {
10328
10165
  var node;
10329
- for (var i$1 = 0; i$1 < nodes$1.length; i$1++) {
10330
- node = nodes$1[i$1];
10166
+ for (var i = 0; i < nodes.length; i++) {
10167
+ node = nodes[i];
10331
10168
  switch (node.type) {
10332
10169
  case "Assign":
10333
10170
  assign(node);
@@ -10363,8 +10200,8 @@ var require_compiler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to
10363
10200
  valueAssignments.push(fullPath);
10364
10201
  }
10365
10202
  }
10366
- function pathAssigned(path$8) {
10367
- return assignedPaths.indexOf(path$8) !== -1;
10203
+ function pathAssigned(path) {
10204
+ return assignedPaths.indexOf(path) !== -1;
10368
10205
  }
10369
10206
  function reduceValueNode(node) {
10370
10207
  if (node.type === "Array") return reduceArrayWithTypeChecking(node.value);
@@ -10373,62 +10210,62 @@ var require_compiler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to
10373
10210
  }
10374
10211
  function reduceInlineTableNode(values) {
10375
10212
  var obj = Object.create(null);
10376
- for (var i$1 = 0; i$1 < values.length; i$1++) {
10377
- var val = values[i$1];
10213
+ for (var i = 0; i < values.length; i++) {
10214
+ var val = values[i];
10378
10215
  if (val.value.type === "InlineTable") obj[val.key] = reduceInlineTableNode(val.value.value);
10379
10216
  else if (val.type === "InlineTableValue") obj[val.key] = reduceValueNode(val.value);
10380
10217
  }
10381
10218
  return obj;
10382
10219
  }
10383
10220
  function setPath(node) {
10384
- var path$8 = node.value;
10385
- var quotedPath = path$8.map(quoteDottedString).join(".");
10221
+ var path = node.value;
10222
+ var quotedPath = path.map(quoteDottedString).join(".");
10386
10223
  var line = node.line;
10387
10224
  var column = node.column;
10388
- if (pathAssigned(quotedPath)) genError("Cannot redefine existing key '" + path$8 + "'.", line, column);
10225
+ if (pathAssigned(quotedPath)) genError("Cannot redefine existing key '" + path + "'.", line, column);
10389
10226
  assignedPaths.push(quotedPath);
10390
- context = deepRef(data, path$8, Object.create(null), line, column);
10391
- currentPath = path$8;
10227
+ context = deepRef(data, path, Object.create(null), line, column);
10228
+ currentPath = path;
10392
10229
  }
10393
10230
  function addTableArray(node) {
10394
- var path$8 = node.value;
10395
- var quotedPath = path$8.map(quoteDottedString).join(".");
10231
+ var path = node.value;
10232
+ var quotedPath = path.map(quoteDottedString).join(".");
10396
10233
  var line = node.line;
10397
10234
  var column = node.column;
10398
10235
  if (!pathAssigned(quotedPath)) assignedPaths.push(quotedPath);
10399
- assignedPaths = assignedPaths.filter(function(p$1) {
10400
- return p$1.indexOf(quotedPath) !== 0;
10236
+ assignedPaths = assignedPaths.filter(function(p) {
10237
+ return p.indexOf(quotedPath) !== 0;
10401
10238
  });
10402
10239
  assignedPaths.push(quotedPath);
10403
- context = deepRef(data, path$8, [], line, column);
10240
+ context = deepRef(data, path, [], line, column);
10404
10241
  currentPath = quotedPath;
10405
10242
  if (context instanceof Array) {
10406
10243
  var newObj = Object.create(null);
10407
10244
  context.push(newObj);
10408
10245
  context = newObj;
10409
- } else genError("Cannot redefine existing key '" + path$8 + "'.", line, column);
10246
+ } else genError("Cannot redefine existing key '" + path + "'.", line, column);
10410
10247
  }
10411
10248
  function deepRef(start, keys, value, line, column) {
10412
10249
  var traversed = [];
10413
10250
  var traversedPath = "";
10414
10251
  keys.join(".");
10415
10252
  var ctx = start;
10416
- for (var i$1 = 0; i$1 < keys.length; i$1++) {
10417
- var key = keys[i$1];
10253
+ for (var i = 0; i < keys.length; i++) {
10254
+ var key = keys[i];
10418
10255
  traversed.push(key);
10419
10256
  traversedPath = traversed.join(".");
10420
- if (typeof ctx[key] === "undefined") if (i$1 === keys.length - 1) ctx[key] = value;
10257
+ if (typeof ctx[key] === "undefined") if (i === keys.length - 1) ctx[key] = value;
10421
10258
  else ctx[key] = Object.create(null);
10422
- else if (i$1 !== keys.length - 1 && valueAssignments.indexOf(traversedPath) > -1) genError("Cannot redefine existing key '" + traversedPath + "'.", line, column);
10259
+ else if (i !== keys.length - 1 && valueAssignments.indexOf(traversedPath) > -1) genError("Cannot redefine existing key '" + traversedPath + "'.", line, column);
10423
10260
  ctx = ctx[key];
10424
- if (ctx instanceof Array && ctx.length && i$1 < keys.length - 1) ctx = ctx[ctx.length - 1];
10261
+ if (ctx instanceof Array && ctx.length && i < keys.length - 1) ctx = ctx[ctx.length - 1];
10425
10262
  }
10426
10263
  return ctx;
10427
10264
  }
10428
10265
  function reduceArrayWithTypeChecking(array) {
10429
10266
  var firstType = null;
10430
- for (var i$1 = 0; i$1 < array.length; i$1++) {
10431
- var node = array[i$1];
10267
+ for (var i = 0; i < array.length; i++) {
10268
+ var node = array[i];
10432
10269
  if (firstType === null) firstType = node.type;
10433
10270
  else if (node.type !== firstType) genError("Cannot add value of type " + node.type + " to array of type " + firstType + ".", node.line, node.column);
10434
10271
  }
@@ -10440,23 +10277,22 @@ var require_compiler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to
10440
10277
  }
10441
10278
  }
10442
10279
  module.exports = { compile };
10443
- }) });
10444
-
10280
+ }));
10445
10281
  //#endregion
10446
10282
  //#region ../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/index.js
10447
- var require_toml = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/index.js": ((exports, module) => {
10283
+ var require_toml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10448
10284
  var parser = require_parser();
10449
10285
  var compiler = require_compiler();
10450
10286
  module.exports = { parse: function(input) {
10451
10287
  var nodes = parser.parse(input.toString());
10452
10288
  return compiler.compile(nodes);
10453
10289
  } };
10454
- }) });
10455
-
10290
+ }));
10456
10291
  //#endregion
10457
10292
  //#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js
10458
- var require_XDGAppPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js": ((exports) => {
10293
+ var require_XDGAppPaths = /* @__PURE__ */ __commonJSMin(((exports) => {
10459
10294
  exports.__esModule = true;
10295
+ exports.Adapt = void 0;
10460
10296
  function isBoolean(t) {
10461
10297
  return typeOf(t) === "boolean";
10462
10298
  }
@@ -10469,15 +10305,15 @@ var require_XDGAppPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
10469
10305
  function typeOf(t) {
10470
10306
  return typeof t;
10471
10307
  }
10472
- function Adapt$2(adapter_) {
10473
- var meta = adapter_.meta, path$8 = adapter_.path, xdg = adapter_.xdg;
10308
+ function Adapt(adapter_) {
10309
+ var meta = adapter_.meta, path = adapter_.path, xdg = adapter_.xdg;
10474
10310
  return { XDGAppPaths: new (function() {
10475
10311
  function XDGAppPaths_(options_) {
10476
10312
  if (options_ === void 0) options_ = {};
10477
10313
  var _a, _b, _c;
10478
- function XDGAppPaths(options$1) {
10479
- if (options$1 === void 0) options$1 = {};
10480
- return new XDGAppPaths_(options$1);
10314
+ function XDGAppPaths(options) {
10315
+ if (options === void 0) options = {};
10316
+ return new XDGAppPaths_(options);
10481
10317
  }
10482
10318
  var options = isObject(options_) ? options_ : { name: options_ };
10483
10319
  var suffix = (_a = options.suffix) !== null && _a !== void 0 ? _a : "";
@@ -10487,7 +10323,7 @@ var require_XDGAppPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
10487
10323
  meta.pkgMainFilename(),
10488
10324
  meta.mainFilename()
10489
10325
  ];
10490
- var name = path$8.parse(((_c = namePriorityList.find(function(e) {
10326
+ var name = path.parse(((_c = namePriorityList.find(function(e) {
10491
10327
  return isString(e);
10492
10328
  })) !== null && _c !== void 0 ? _c : "$eval") + suffix).name;
10493
10329
  XDGAppPaths.$name = function $name() {
@@ -10497,36 +10333,36 @@ var require_XDGAppPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
10497
10333
  return isolated_;
10498
10334
  };
10499
10335
  function isIsolated(dirOptions) {
10500
- var _a$1;
10336
+ var _a;
10501
10337
  dirOptions = dirOptions !== null && dirOptions !== void 0 ? dirOptions : { isolated: isolated_ };
10502
- return isBoolean(dirOptions) ? dirOptions : (_a$1 = dirOptions.isolated) !== null && _a$1 !== void 0 ? _a$1 : isolated_;
10338
+ return isBoolean(dirOptions) ? dirOptions : (_a = dirOptions.isolated) !== null && _a !== void 0 ? _a : isolated_;
10503
10339
  }
10504
10340
  function finalPathSegment(dirOptions) {
10505
10341
  return isIsolated(dirOptions) ? name : "";
10506
10342
  }
10507
10343
  XDGAppPaths.cache = function cache(dirOptions) {
10508
- return path$8.join(xdg.cache(), finalPathSegment(dirOptions));
10344
+ return path.join(xdg.cache(), finalPathSegment(dirOptions));
10509
10345
  };
10510
10346
  XDGAppPaths.config = function config(dirOptions) {
10511
- return path$8.join(xdg.config(), finalPathSegment(dirOptions));
10347
+ return path.join(xdg.config(), finalPathSegment(dirOptions));
10512
10348
  };
10513
10349
  XDGAppPaths.data = function data(dirOptions) {
10514
- return path$8.join(xdg.data(), finalPathSegment(dirOptions));
10350
+ return path.join(xdg.data(), finalPathSegment(dirOptions));
10515
10351
  };
10516
10352
  XDGAppPaths.runtime = function runtime(dirOptions) {
10517
- return xdg.runtime() ? path$8.join(xdg.runtime(), finalPathSegment(dirOptions)) : void 0;
10353
+ return xdg.runtime() ? path.join(xdg.runtime(), finalPathSegment(dirOptions)) : void 0;
10518
10354
  };
10519
10355
  XDGAppPaths.state = function state(dirOptions) {
10520
- return path$8.join(xdg.state(), finalPathSegment(dirOptions));
10356
+ return path.join(xdg.state(), finalPathSegment(dirOptions));
10521
10357
  };
10522
10358
  XDGAppPaths.configDirs = function configDirs(dirOptions) {
10523
10359
  return xdg.configDirs().map(function(s) {
10524
- return path$8.join(s, finalPathSegment(dirOptions));
10360
+ return path.join(s, finalPathSegment(dirOptions));
10525
10361
  });
10526
10362
  };
10527
10363
  XDGAppPaths.dataDirs = function dataDirs(dirOptions) {
10528
10364
  return xdg.dataDirs().map(function(s) {
10529
- return path$8.join(s, finalPathSegment(dirOptions));
10365
+ return path.join(s, finalPathSegment(dirOptions));
10530
10366
  });
10531
10367
  };
10532
10368
  return XDGAppPaths;
@@ -10534,26 +10370,26 @@ var require_XDGAppPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
10534
10370
  return XDGAppPaths_;
10535
10371
  }())() };
10536
10372
  }
10537
- exports.Adapt = Adapt$2;
10538
- }) });
10539
-
10373
+ exports.Adapt = Adapt;
10374
+ }));
10540
10375
  //#endregion
10541
10376
  //#region ../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js
10542
- var require_XDG = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js": ((exports) => {
10543
- var __spreadArray$1 = exports && exports.__spreadArray || function(to, from) {
10544
- for (var i$1 = 0, il = from.length, j = to.length; i$1 < il; i$1++, j++) to[j] = from[i$1];
10377
+ var require_XDG = /* @__PURE__ */ __commonJSMin(((exports) => {
10378
+ var __spreadArray = exports && exports.__spreadArray || function(to, from) {
10379
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) to[j] = from[i];
10545
10380
  return to;
10546
10381
  };
10547
10382
  exports.__esModule = true;
10548
- function Adapt$1(adapter_) {
10549
- var env = adapter_.env, osPaths = adapter_.osPaths, path$8 = adapter_.path;
10383
+ exports.Adapt = void 0;
10384
+ function Adapt(adapter_) {
10385
+ var env = adapter_.env, osPaths = adapter_.osPaths, path = adapter_.path;
10550
10386
  var isMacOS = /^darwin$/i.test(adapter_.process.platform);
10551
10387
  var isWinOS = /^win/i.test(adapter_.process.platform);
10552
10388
  function baseDir() {
10553
10389
  return osPaths.home() || osPaths.temp();
10554
10390
  }
10555
10391
  function valOrPath(val, pathSegments) {
10556
- return val || path$8.join.apply(path$8, pathSegments);
10392
+ return val || path.join.apply(path, pathSegments);
10557
10393
  }
10558
10394
  var linux = function() {
10559
10395
  var cache = function() {
@@ -10678,47 +10514,47 @@ var require_XDG = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-por
10678
10514
  XDG.state = extension.state;
10679
10515
  XDG.configDirs = function configDirs() {
10680
10516
  var pathList = env.get("XDG_CONFIG_DIRS");
10681
- return __spreadArray$1([extension.config()], pathList ? pathList.split(path$8.delimiter) : []);
10517
+ return __spreadArray([extension.config()], pathList ? pathList.split(path.delimiter) : []);
10682
10518
  };
10683
10519
  XDG.dataDirs = function dataDirs() {
10684
10520
  var pathList = env.get("XDG_DATA_DIRS");
10685
- return __spreadArray$1([extension.data()], pathList ? pathList.split(path$8.delimiter) : []);
10521
+ return __spreadArray([extension.data()], pathList ? pathList.split(path.delimiter) : []);
10686
10522
  };
10687
10523
  return XDG;
10688
10524
  }
10689
10525
  return XDG_;
10690
10526
  }())() };
10691
10527
  }
10692
- exports.Adapt = Adapt$1;
10693
- }) });
10694
-
10528
+ exports.Adapt = Adapt;
10529
+ }));
10695
10530
  //#endregion
10696
10531
  //#region ../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js
10697
- var require_OSPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js": ((exports) => {
10532
+ var require_OSPaths = /* @__PURE__ */ __commonJSMin(((exports) => {
10698
10533
  var __spreadArray = exports && exports.__spreadArray || function(to, from) {
10699
- for (var i$1 = 0, il = from.length, j = to.length; i$1 < il; i$1++, j++) to[j] = from[i$1];
10534
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) to[j] = from[i];
10700
10535
  return to;
10701
10536
  };
10702
10537
  exports.__esModule = true;
10538
+ exports.Adapt = void 0;
10703
10539
  function isEmpty(s) {
10704
10540
  return !s;
10705
10541
  }
10706
10542
  function Adapt(adapter_) {
10707
- var env = adapter_.env, os$2 = adapter_.os, path$8 = adapter_.path;
10543
+ var env = adapter_.env, os = adapter_.os, path = adapter_.path;
10708
10544
  var isWinOS = /^win/i.test(adapter_.process.platform);
10709
10545
  function normalizePath(path_) {
10710
10546
  return path_ ? adapter_.path.normalize(adapter_.path.join(path_, ".")) : void 0;
10711
10547
  }
10712
10548
  function home() {
10713
10549
  var posix = function() {
10714
- return normalizePath((typeof os$2.homedir === "function" ? os$2.homedir() : void 0) || env.get("HOME"));
10550
+ return normalizePath((typeof os.homedir === "function" ? os.homedir() : void 0) || env.get("HOME"));
10715
10551
  };
10716
10552
  var windows = function() {
10717
10553
  return normalizePath([
10718
- typeof os$2.homedir === "function" ? os$2.homedir() : void 0,
10554
+ typeof os.homedir === "function" ? os.homedir() : void 0,
10719
10555
  env.get("USERPROFILE"),
10720
10556
  env.get("HOME"),
10721
- env.get("HOMEDRIVE") || env.get("HOMEPATH") ? path$8.join(env.get("HOMEDRIVE") || "", env.get("HOMEPATH") || "") : void 0
10557
+ env.get("HOMEDRIVE") || env.get("HOMEPATH") ? path.join(env.get("HOMEDRIVE") || "", env.get("HOMEPATH") || "") : void 0
10722
10558
  ].find(function(v) {
10723
10559
  return !isEmpty(v);
10724
10560
  }));
@@ -10727,11 +10563,11 @@ var require_OSPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-
10727
10563
  }
10728
10564
  function temp() {
10729
10565
  function joinPathToBase(base, segments) {
10730
- return base ? path$8.join.apply(path$8, __spreadArray([base], segments)) : void 0;
10566
+ return base ? path.join.apply(path, __spreadArray([base], segments)) : void 0;
10731
10567
  }
10732
10568
  function posix() {
10733
10569
  return normalizePath([
10734
- typeof os$2.tmpdir === "function" ? os$2.tmpdir() : void 0,
10570
+ typeof os.tmpdir === "function" ? os.tmpdir() : void 0,
10735
10571
  env.get("TMPDIR"),
10736
10572
  env.get("TEMP"),
10737
10573
  env.get("TMP")
@@ -10742,7 +10578,7 @@ var require_OSPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-
10742
10578
  function windows() {
10743
10579
  var fallback = "C:\\Temp";
10744
10580
  var v = [
10745
- typeof os$2.tmpdir === "function" ? os$2.tmpdir : function() {},
10581
+ typeof os.tmpdir === "function" ? os.tmpdir : function() {},
10746
10582
  function() {
10747
10583
  return env.get("TEMP");
10748
10584
  },
@@ -10771,8 +10607,8 @@ var require_OSPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-
10771
10607
  function() {
10772
10608
  return joinPathToBase(env.get("SystemDrive"), ["\\", "Temp"]);
10773
10609
  }
10774
- ].find(function(v$1) {
10775
- return v$1 && !isEmpty(v$1());
10610
+ ].find(function(v) {
10611
+ return v && !isEmpty(v());
10776
10612
  });
10777
10613
  return v && normalizePath(v()) || fallback;
10778
10614
  }
@@ -10791,141 +10627,135 @@ var require_OSPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-
10791
10627
  }())() };
10792
10628
  }
10793
10629
  exports.Adapt = Adapt;
10794
- }) });
10795
-
10630
+ }));
10796
10631
  //#endregion
10797
10632
  //#region ../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js
10798
- var require_node$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js": ((exports) => {
10799
- var __createBinding$2 = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
10633
+ var require_node$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
10634
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
10800
10635
  if (k2 === void 0) k2 = k;
10801
- Object.defineProperty(o$1, k2, {
10636
+ Object.defineProperty(o, k2, {
10802
10637
  enumerable: true,
10803
10638
  get: function() {
10804
10639
  return m[k];
10805
10640
  }
10806
10641
  });
10807
- }) : (function(o$1, m, k, k2) {
10642
+ }) : (function(o, m, k, k2) {
10808
10643
  if (k2 === void 0) k2 = k;
10809
- o$1[k2] = m[k];
10644
+ o[k2] = m[k];
10810
10645
  }));
10811
- var __setModuleDefault$2 = exports && exports.__setModuleDefault || (Object.create ? (function(o$1, v) {
10812
- Object.defineProperty(o$1, "default", {
10646
+ var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
10647
+ Object.defineProperty(o, "default", {
10813
10648
  enumerable: true,
10814
10649
  value: v
10815
10650
  });
10816
- }) : function(o$1, v) {
10817
- o$1["default"] = v;
10651
+ }) : function(o, v) {
10652
+ o["default"] = v;
10818
10653
  });
10819
- var __importStar$2 = exports && exports.__importStar || function(mod) {
10654
+ var __importStar = exports && exports.__importStar || function(mod) {
10820
10655
  if (mod && mod.__esModule) return mod;
10821
10656
  var result = {};
10822
10657
  if (mod != null) {
10823
- for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding$2(result, mod, k);
10658
+ for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
10824
10659
  }
10825
- __setModuleDefault$2(result, mod);
10660
+ __setModuleDefault(result, mod);
10826
10661
  return result;
10827
10662
  };
10828
10663
  exports.__esModule = true;
10829
- var os$1 = __importStar$2(__require("os"));
10830
- var path$4 = __importStar$2(__require("path"));
10664
+ exports.adapter = void 0;
10831
10665
  exports.adapter = {
10832
10666
  atImportPermissions: { env: true },
10833
10667
  env: { get: function(s) {
10834
10668
  return process.env[s];
10835
10669
  } },
10836
- os: os$1,
10837
- path: path$4,
10670
+ os: __importStar(__require("os")),
10671
+ path: __importStar(__require("path")),
10838
10672
  process
10839
10673
  };
10840
- }) });
10841
-
10674
+ }));
10842
10675
  //#endregion
10843
10676
  //#region ../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js
10844
- var require_mod_cjs$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js": ((exports, module) => {
10677
+ var require_mod_cjs$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10845
10678
  var OSPaths_js_1 = require_OSPaths();
10846
- var node_js_1$2 = require_node$2();
10847
- module.exports = OSPaths_js_1.Adapt(node_js_1$2.adapter).OSPaths;
10848
- }) });
10849
-
10679
+ var node_js_1 = require_node$2();
10680
+ module.exports = OSPaths_js_1.Adapt(node_js_1.adapter).OSPaths;
10681
+ }));
10850
10682
  //#endregion
10851
10683
  //#region ../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js
10852
- var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js": ((exports) => {
10853
- var __createBinding$1 = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
10684
+ var require_node$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
10685
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
10854
10686
  if (k2 === void 0) k2 = k;
10855
- Object.defineProperty(o$1, k2, {
10687
+ Object.defineProperty(o, k2, {
10856
10688
  enumerable: true,
10857
10689
  get: function() {
10858
10690
  return m[k];
10859
10691
  }
10860
10692
  });
10861
- }) : (function(o$1, m, k, k2) {
10693
+ }) : (function(o, m, k, k2) {
10862
10694
  if (k2 === void 0) k2 = k;
10863
- o$1[k2] = m[k];
10695
+ o[k2] = m[k];
10864
10696
  }));
10865
- var __setModuleDefault$1 = exports && exports.__setModuleDefault || (Object.create ? (function(o$1, v) {
10866
- Object.defineProperty(o$1, "default", {
10697
+ var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
10698
+ Object.defineProperty(o, "default", {
10867
10699
  enumerable: true,
10868
10700
  value: v
10869
10701
  });
10870
- }) : function(o$1, v) {
10871
- o$1["default"] = v;
10702
+ }) : function(o, v) {
10703
+ o["default"] = v;
10872
10704
  });
10873
- var __importStar$1 = exports && exports.__importStar || function(mod) {
10705
+ var __importStar = exports && exports.__importStar || function(mod) {
10874
10706
  if (mod && mod.__esModule) return mod;
10875
10707
  var result = {};
10876
10708
  if (mod != null) {
10877
- for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding$1(result, mod, k);
10709
+ for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
10878
10710
  }
10879
- __setModuleDefault$1(result, mod);
10711
+ __setModuleDefault(result, mod);
10880
10712
  return result;
10881
10713
  };
10882
- var __importDefault$1 = exports && exports.__importDefault || function(mod) {
10714
+ var __importDefault = exports && exports.__importDefault || function(mod) {
10883
10715
  return mod && mod.__esModule ? mod : { "default": mod };
10884
10716
  };
10885
10717
  exports.__esModule = true;
10886
- var path$3 = __importStar$1(__require("path"));
10887
- var os_paths_1 = __importDefault$1(require_mod_cjs$2());
10718
+ exports.adapter = void 0;
10719
+ var path$3 = __importStar(__require("path"));
10888
10720
  exports.adapter = {
10889
10721
  atImportPermissions: { env: true },
10890
10722
  env: { get: function(s) {
10891
10723
  return process.env[s];
10892
10724
  } },
10893
- osPaths: os_paths_1["default"],
10725
+ osPaths: __importDefault(require_mod_cjs$2())["default"],
10894
10726
  path: path$3,
10895
10727
  process
10896
10728
  };
10897
- }) });
10898
-
10729
+ }));
10899
10730
  //#endregion
10900
10731
  //#region ../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js
10901
- var require_mod_cjs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js": ((exports, module) => {
10732
+ var require_mod_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10902
10733
  var XDG_js_1 = require_XDG();
10903
- var node_js_1$1 = require_node$1();
10904
- module.exports = XDG_js_1.Adapt(node_js_1$1.adapter).XDG;
10905
- }) });
10906
-
10734
+ var node_js_1 = require_node$1();
10735
+ module.exports = XDG_js_1.Adapt(node_js_1.adapter).XDG;
10736
+ }));
10907
10737
  //#endregion
10908
10738
  //#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js
10909
- var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js": ((exports) => {
10910
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
10739
+ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
10740
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
10911
10741
  if (k2 === void 0) k2 = k;
10912
- Object.defineProperty(o$1, k2, {
10742
+ Object.defineProperty(o, k2, {
10913
10743
  enumerable: true,
10914
10744
  get: function() {
10915
10745
  return m[k];
10916
10746
  }
10917
10747
  });
10918
- }) : (function(o$1, m, k, k2) {
10748
+ }) : (function(o, m, k, k2) {
10919
10749
  if (k2 === void 0) k2 = k;
10920
- o$1[k2] = m[k];
10750
+ o[k2] = m[k];
10921
10751
  }));
10922
- var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o$1, v) {
10923
- Object.defineProperty(o$1, "default", {
10752
+ var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
10753
+ Object.defineProperty(o, "default", {
10924
10754
  enumerable: true,
10925
10755
  value: v
10926
10756
  });
10927
- }) : function(o$1, v) {
10928
- o$1["default"] = v;
10757
+ }) : function(o, v) {
10758
+ o["default"] = v;
10929
10759
  });
10930
10760
  var __importStar = exports && exports.__importStar || function(mod) {
10931
10761
  if (mod && mod.__esModule) return mod;
@@ -10940,6 +10770,7 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-ap
10940
10770
  return mod && mod.__esModule ? mod : { "default": mod };
10941
10771
  };
10942
10772
  exports.__esModule = true;
10773
+ exports.adapter = void 0;
10943
10774
  var path$2 = __importStar(__require("path"));
10944
10775
  var xdg_portable_1 = __importDefault(require_mod_cjs$1());
10945
10776
  exports.adapter = {
@@ -10960,22 +10791,18 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-ap
10960
10791
  process,
10961
10792
  xdg: xdg_portable_1["default"]
10962
10793
  };
10963
- }) });
10964
-
10794
+ }));
10965
10795
  //#endregion
10966
10796
  //#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js
10967
- var require_mod_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js": ((exports, module) => {
10797
+ var require_mod_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10968
10798
  var XDGAppPaths_js_1 = require_XDGAppPaths();
10969
10799
  var node_js_1 = require_node();
10970
10800
  module.exports = XDGAppPaths_js_1.Adapt(node_js_1.adapter).XDGAppPaths;
10971
- }) });
10972
-
10801
+ }));
10973
10802
  //#endregion
10974
10803
  //#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js
10975
10804
  var import_toml = /* @__PURE__ */ __toESM(require_toml(), 1);
10976
- var import_mod_cjs = /* @__PURE__ */ __toESM(require_mod_cjs(), 1);
10977
- var mod_esm_default = import_mod_cjs.default;
10978
-
10805
+ var mod_esm_default = (/* @__PURE__ */ __toESM(require_mod_cjs())).default;
10979
10806
  //#endregion
10980
10807
  //#region iac/getWranglerLoginAuthToken.ts
10981
10808
  const isDirectory = (configPath) => {
@@ -11000,7 +10827,6 @@ const getWranglerLoginAuthToken = () => {
11000
10827
  return null;
11001
10828
  }
11002
10829
  };
11003
-
11004
10830
  //#endregion
11005
10831
  //#region iac/index.ts
11006
10832
  const getConfigTemplate = (build) => {
@@ -11040,10 +10866,11 @@ export default HotUpdater.wrap({
11040
10866
  })(App);`;
11041
10867
  const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseName, r2BucketName }) => {
11042
10868
  const cwd = getCwd();
11043
- const workerPath = __require.resolve("@hot-updater/cloudflare/worker", { paths: [cwd] });
11044
- const { tmpDir, removeTmpDir } = await copyDirToTmp(path$1.dirname(workerPath));
10869
+ const cloudflarePackagePath = __require.resolve("@hot-updater/cloudflare/package.json", { paths: [cwd] });
10870
+ const { tmpDir, removeTmpDir } = await copyDirToTmp(path$1.dirname(cloudflarePackagePath));
10871
+ const workerRoot = path$1.join(tmpDir, "worker");
11045
10872
  try {
11046
- const wranglerConfig = JSON.parse(await fs$1.readFile(path$1.join(tmpDir, "wrangler.json"), "utf-8"));
10873
+ const wranglerConfig = JSON.parse(await fs$1.readFile(path$1.join(workerRoot, "wrangler.json"), "utf-8"));
11047
10874
  wranglerConfig.d1_databases = [{
11048
10875
  binding: "DB",
11049
10876
  database_id: d1DatabaseId,
@@ -11054,14 +10881,14 @@ const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseNa
11054
10881
  bucket_name: r2BucketName
11055
10882
  }];
11056
10883
  wranglerConfig.vars = { JWT_SECRET: crypto.randomBytes(32).toString("hex") };
11057
- await fs$1.writeFile(path$1.join(tmpDir, "wrangler.json"), JSON.stringify(wranglerConfig, null, 2));
10884
+ await fs$1.writeFile(path$1.join(workerRoot, "wrangler.json"), JSON.stringify(wranglerConfig, null, 2));
11058
10885
  const wrangler = await createWrangler({
11059
10886
  stdio: "inherit",
11060
10887
  cloudflareApiToken: oauth_token,
11061
- cwd: tmpDir,
10888
+ cwd: workerRoot,
11062
10889
  accountId
11063
10890
  });
11064
- const migrationPath = await path$1.join(tmpDir, "migrations");
10891
+ const migrationPath = await path$1.join(workerRoot, "migrations");
11065
10892
  const migrationFiles = await fs$1.readdir(migrationPath);
11066
10893
  for (const file of migrationFiles) if (file.endsWith(".sql")) {
11067
10894
  const filePath = path$1.join(migrationPath, file);
@@ -11244,6 +11071,5 @@ const runInit = async ({ build }) => {
11244
11071
  p.log.message(`Next step: ${link("https://hot-updater.dev/docs/managed/cloudflare#step-4-add-hotupdater-to-your-project")}`);
11245
11072
  p.log.success("Done! 🎉");
11246
11073
  };
11247
-
11248
11074
  //#endregion
11249
- export { runInit };
11075
+ export { runInit };