@vuetify/cli 0.0.10-beta.7 → 0.0.10-beta.9
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.
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { a as __toESM$1, i as __require, n as require_node_fetch_native_DhEqb06g, r as __commonJS$1, t as require_node } from "./node-CcjDTqtN.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
|
-
import
|
|
4
|
+
import process$1, { cwd, stdin, stdout } from "node:process";
|
|
5
5
|
import * as k$5 from "node:readline";
|
|
6
6
|
import c from "node:readline";
|
|
7
7
|
import * as tty from "node:tty";
|
|
@@ -8803,7 +8803,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8803
8803
|
limit: Infinity,
|
|
8804
8804
|
ellipsis: ""
|
|
8805
8805
|
}, X$3 = (t$9, e$8 = {}, s$9 = {}) => {
|
|
8806
|
-
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$
|
|
8806
|
+
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$4 = s$9.emojiWidth ?? 2, m$5 = s$9.fullWidthWidth ?? 2, A$2 = s$9.regularWidth ?? 1, V$4 = s$9.wideWidth ?? 2;
|
|
8807
8807
|
let h$6 = 0, u$8 = 0, f$7 = t$9.length, v$5 = 0, p$3 = !1, d$5 = f$7, b$11 = Math.max(0, i$9 - n$6), C$5 = 0, B$2 = 0, c$8 = 0, F$6 = 0;
|
|
8808
8808
|
t: for (;;) {
|
|
8809
8809
|
if (B$2 > C$5 || u$8 >= f$7 && u$8 > h$6) {
|
|
@@ -8853,11 +8853,11 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8853
8853
|
continue;
|
|
8854
8854
|
}
|
|
8855
8855
|
if (P$5.lastIndex = u$8, P$5.test(t$9)) {
|
|
8856
|
-
if (c$8 + g$
|
|
8856
|
+
if (c$8 + g$4 > b$11 && (d$5 = Math.min(d$5, u$8)), c$8 + g$4 > i$9) {
|
|
8857
8857
|
p$3 = !0;
|
|
8858
8858
|
break;
|
|
8859
8859
|
}
|
|
8860
|
-
c$8 += g$
|
|
8860
|
+
c$8 += g$4, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$5.lastIndex;
|
|
8861
8861
|
continue;
|
|
8862
8862
|
}
|
|
8863
8863
|
u$8 += 1;
|
|
@@ -8884,10 +8884,10 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8884
8884
|
if (t$9 === 0) return 0;
|
|
8885
8885
|
}, st = (t$9) => `${W$4}${Q$3}${t$9}${tt$2}`, it = (t$9) => `${W$4}${U$4}${t$9}${j$5}`, gt$6 = (t$9) => t$9.map((e$8) => S$6(e$8)), G$4 = (t$9, e$8, s$9) => {
|
|
8886
8886
|
const i$9 = e$8[Symbol.iterator]();
|
|
8887
|
-
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$
|
|
8887
|
+
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$4 = 0;
|
|
8888
8888
|
for (; !l$3.done;) {
|
|
8889
8889
|
const m$5 = l$3.value, A$2 = S$6(m$5);
|
|
8890
|
-
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$
|
|
8890
|
+
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$4 + 1)), r$4 ? n$6 ? m$5 === j$5 && (r$4 = !1, n$6 = !1) : m$5 === tt$2 && (r$4 = !1) : (a$13 += A$2, a$13 === s$9 && !E$5.done && (t$9.push(""), a$13 = 0)), l$3 = E$5, E$5 = i$9.next(), g$4 += m$5.length;
|
|
8891
8891
|
}
|
|
8892
8892
|
o$7 = t$9.at(-1), !a$13 && o$7 !== void 0 && o$7.length > 0 && t$9.length > 1 && (t$9[t$9.length - 2] += t$9.pop());
|
|
8893
8893
|
}, vt$1 = (t$9) => {
|
|
@@ -8923,8 +8923,8 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8923
8923
|
}
|
|
8924
8924
|
s$9.trim !== !1 && (l$3 = l$3.map((h$6) => vt$1(h$6)));
|
|
8925
8925
|
const E$5 = l$3.join(`
|
|
8926
|
-
`), g$
|
|
8927
|
-
let m$5 = g$
|
|
8926
|
+
`), g$4 = E$5[Symbol.iterator]();
|
|
8927
|
+
let m$5 = g$4.next(), A$2 = g$4.next(), V$4 = 0;
|
|
8928
8928
|
for (; !m$5.done;) {
|
|
8929
8929
|
const h$6 = m$5.value, u$8 = A$2.value;
|
|
8930
8930
|
if (i$9 += h$6, h$6 === W$4 || h$6 === Z$3) {
|
|
@@ -8938,7 +8938,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8938
8938
|
const f$7 = r$4 ? mt$1(r$4) : void 0;
|
|
8939
8939
|
u$8 === `
|
|
8940
8940
|
` ? (n$6 && (i$9 += it("")), r$4 && f$7 && (i$9 += st(f$7))) : h$6 === `
|
|
8941
|
-
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$
|
|
8941
|
+
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$4.next();
|
|
8942
8942
|
}
|
|
8943
8943
|
return i$9;
|
|
8944
8944
|
};
|
|
@@ -9017,8 +9017,8 @@ function xt({ input: t$9 = stdin, output: e$8 = stdout, overwrite: s$9 = !0, hid
|
|
|
9017
9017
|
return;
|
|
9018
9018
|
}
|
|
9019
9019
|
if (!s$9) return;
|
|
9020
|
-
const g$
|
|
9021
|
-
k$5.moveCursor(e$8, g$
|
|
9020
|
+
const g$4 = a$13 === "return" ? 0 : -1, m$5 = a$13 === "return" ? -1 : 0;
|
|
9021
|
+
k$5.moveCursor(e$8, g$4, m$5, () => {
|
|
9022
9022
|
k$5.clearLine(e$8, 1, () => {
|
|
9023
9023
|
t$9.once("keypress", n$6);
|
|
9024
9024
|
});
|
|
@@ -9457,7 +9457,7 @@ var $t = class extends x$4 {
|
|
|
9457
9457
|
var import_picocolors = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
9458
9458
|
var import_src = require_src();
|
|
9459
9459
|
function ht$1() {
|
|
9460
|
-
return
|
|
9460
|
+
return process$1.platform !== "win32" ? process$1.env.TERM !== "linux" : !!process$1.env.CI || !!process$1.env.WT_SESSION || !!process$1.env.TERMINUS_SUBLIME || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
9461
9461
|
}
|
|
9462
9462
|
const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8.isTTY === !0, w$5 = (e$8, r$4) => ee$2 ? e$8 : r$4, Me$1 = w$5("◆", "*"), ce$1 = w$5("■", "x"), de$2 = w$5("▲", "x"), j$4 = w$5("◇", "o"), $e$1 = w$5("┌", "T"), h$5 = w$5("│", "|"), x$3 = w$5("└", "—"), Re$2 = w$5("┐", "T"), Oe$1 = w$5("┘", "—"), Y$2 = w$5("●", ">"), K$4 = w$5("○", " "), te$1 = w$5("◻", "[•]"), V$3 = w$5("◼", "[+]"), z$4 = w$5("◻", "[ ]"), Pe$1 = w$5("▪", "•"), se$1 = w$5("─", "-"), he$1 = w$5("╮", "+"), Ne$1 = w$5("├", "+"), me$1 = w$5("╯", "+"), pe$1 = w$5("╰", "+"), We$1 = w$5("╭", "+"), ge$1 = w$5("●", "•"), fe$2 = w$5("◆", "*"), Fe$1 = w$5("▲", "!"), ye$1 = w$5("■", "x"), W$3 = (e$8) => {
|
|
9463
9463
|
switch (e$8) {
|
|
@@ -9479,7 +9479,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9479
9479
|
limit: Infinity,
|
|
9480
9480
|
ellipsis: ""
|
|
9481
9481
|
}, Le$1 = (e$8, r$4 = {}, s$9 = {}) => {
|
|
9482
|
-
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$
|
|
9482
|
+
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$4 = s$9.emojiWidth ?? 2, E$5 = s$9.fullWidthWidth ?? 2, p$3 = s$9.regularWidth ?? 1, y$7 = s$9.wideWidth ?? 2;
|
|
9483
9483
|
let $$2 = 0, m$5 = 0, d$5 = e$8.length, F$6 = 0, f$7 = !1, v$5 = d$5, I$4 = Math.max(0, i$9 - l$3), B$2 = 0, b$11 = 0, A$2 = 0, C$5 = 0;
|
|
9484
9484
|
e: for (;;) {
|
|
9485
9485
|
if (b$11 > B$2 || m$5 >= d$5 && m$5 > $$2) {
|
|
@@ -9529,11 +9529,11 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9529
9529
|
continue;
|
|
9530
9530
|
}
|
|
9531
9531
|
if (Ae$1.lastIndex = m$5, Ae$1.test(e$8)) {
|
|
9532
|
-
if (A$2 + g$
|
|
9532
|
+
if (A$2 + g$4 > I$4 && (v$5 = Math.min(v$5, m$5)), A$2 + g$4 > i$9) {
|
|
9533
9533
|
f$7 = !0;
|
|
9534
9534
|
break;
|
|
9535
9535
|
}
|
|
9536
|
-
A$2 += g$
|
|
9536
|
+
A$2 += g$4, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
|
|
9537
9537
|
continue;
|
|
9538
9538
|
}
|
|
9539
9539
|
m$5 += 1;
|
|
@@ -9560,10 +9560,10 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9560
9560
|
if (e$8 === 0) return 0;
|
|
9561
9561
|
}, He$1 = (e$8) => `${ae$1}${Ve$1}${e$8}${ke$2}`, Ue$1 = (e$8) => `${ae$1}${we$1}${e$8}${Ce$1}`, Ct$1 = (e$8) => e$8.map((r$4) => M$3(r$4)), Ie$1 = (e$8, r$4, s$9) => {
|
|
9562
9562
|
const i$9 = r$4[Symbol.iterator]();
|
|
9563
|
-
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$
|
|
9563
|
+
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$4 = 0;
|
|
9564
9564
|
for (; !a$13.done;) {
|
|
9565
9565
|
const E$5 = a$13.value, p$3 = M$3(E$5);
|
|
9566
|
-
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$
|
|
9566
|
+
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$4 + 1)), n$6 ? l$3 ? E$5 === Ce$1 && (n$6 = !1, l$3 = !1) : E$5 === ke$2 && (n$6 = !1) : (o$7 += p$3, o$7 === s$9 && !c$8.done && (e$8.push(""), o$7 = 0)), a$13 = c$8, c$8 = i$9.next(), g$4 += E$5.length;
|
|
9567
9567
|
}
|
|
9568
9568
|
u$8 = e$8.at(-1), !o$7 && u$8 !== void 0 && u$8.length > 0 && e$8.length > 1 && (e$8[e$8.length - 2] += e$8.pop());
|
|
9569
9569
|
}, wt = (e$8) => {
|
|
@@ -9599,8 +9599,8 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9599
9599
|
}
|
|
9600
9600
|
s$9.trim !== !1 && (a$13 = a$13.map(($$2) => wt($$2)));
|
|
9601
9601
|
const c$8 = a$13.join(`
|
|
9602
|
-
`), g$
|
|
9603
|
-
let E$5 = g$
|
|
9602
|
+
`), g$4 = c$8[Symbol.iterator]();
|
|
9603
|
+
let E$5 = g$4.next(), p$3 = g$4.next(), y$7 = 0;
|
|
9604
9604
|
for (; !E$5.done;) {
|
|
9605
9605
|
const $$2 = E$5.value, m$5 = p$3.value;
|
|
9606
9606
|
if (i$9 += $$2, $$2 === ae$1 || $$2 === je$1) {
|
|
@@ -9614,7 +9614,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9614
9614
|
const d$5 = n$6 ? At(n$6) : void 0;
|
|
9615
9615
|
m$5 === `
|
|
9616
9616
|
` ? (l$3 && (i$9 += Ue$1("")), n$6 && d$5 && (i$9 += He$1(d$5))) : $$2 === `
|
|
9617
|
-
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$
|
|
9617
|
+
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$4.next();
|
|
9618
9618
|
}
|
|
9619
9619
|
return i$9;
|
|
9620
9620
|
};
|
|
@@ -9636,7 +9636,7 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9636
9636
|
removals: u$8
|
|
9637
9637
|
};
|
|
9638
9638
|
}, J$4 = (e$8) => {
|
|
9639
|
-
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$
|
|
9639
|
+
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$4 = import_picocolors.default.dim("..."), E$5 = e$8.maxItems ?? Number.POSITIVE_INFINITY, p$3 = Math.max(c$8 - o$7, 0), y$7 = Math.max(Math.min(E$5, p$3), 5);
|
|
9640
9640
|
let $$2 = 0;
|
|
9641
9641
|
r$4 >= y$7 - 3 && ($$2 = Math.max(Math.min(r$4 - y$7 + 3, s$9.length - y$7), 0));
|
|
9642
9642
|
let m$5 = y$7 < s$9.length && $$2 > 0, d$5 = y$7 < s$9.length && $$2 + y$7 < s$9.length;
|
|
@@ -9658,9 +9658,9 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9658
9658
|
m$5 ? ({lineCount: _$7, removals: A$2} = T$8(0, D$4), _$7 > p$3 && ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length))) : ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length), _$7 > p$3 && ({lineCount: _$7, removals: A$2} = T$8(0, D$4))), A$2 > 0 && (m$5 = !0, f$7.splice(0, A$2)), C$5 > 0 && (d$5 = !0, f$7.splice(f$7.length - C$5, C$5));
|
|
9659
9659
|
}
|
|
9660
9660
|
const b$11 = [];
|
|
9661
|
-
m$5 && b$11.push(g$
|
|
9661
|
+
m$5 && b$11.push(g$4);
|
|
9662
9662
|
for (const A$2 of f$7) for (const C$5 of A$2) b$11.push(C$5);
|
|
9663
|
-
return d$5 && b$11.push(g$
|
|
9663
|
+
return d$5 && b$11.push(g$4), b$11;
|
|
9664
9664
|
};
|
|
9665
9665
|
function Ke(e$8) {
|
|
9666
9666
|
return e$8.label ?? String(e$8.value ?? "");
|
|
@@ -9706,8 +9706,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9706
9706
|
const d$5 = u$8 ? l$3 : s$9;
|
|
9707
9707
|
c$8 = d$5 !== "" ? ` ${import_picocolors.default.dim(d$5)}` : "";
|
|
9708
9708
|
} else c$8 = ` ${this.userInputWithCursor}`;
|
|
9709
|
-
const g$
|
|
9710
|
-
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$
|
|
9709
|
+
const g$4 = this.filteredOptions.length !== n$6.length ? import_picocolors.default.dim(` (${this.filteredOptions.length} match${this.filteredOptions.length === 1 ? "" : "es"})`) : "", E$5 = this.filteredOptions.length === 0 && s$9 ? [`${o$7}${import_picocolors.default.yellow("No matches found")}`] : [], p$3 = this.state === "error" ? [`${o$7}${import_picocolors.default.yellow(this.error)}`] : [];
|
|
9710
|
+
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$4}`, ...E$5, ...p$3);
|
|
9711
9711
|
const y$7 = [
|
|
9712
9712
|
`${import_picocolors.default.dim("↑/↓")} to select`,
|
|
9713
9713
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
@@ -9735,8 +9735,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9735
9735
|
}
|
|
9736
9736
|
}).prompt(), bt = (e$8) => {
|
|
9737
9737
|
const r$4 = (i$9, n$6, l$3, u$8) => {
|
|
9738
|
-
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$
|
|
9739
|
-
return n$6 ? `${g$
|
|
9738
|
+
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$4 = o$7 ? import_picocolors.default.green(V$3) : import_picocolors.default.dim(z$4);
|
|
9739
|
+
return n$6 ? `${g$4} ${a$13}${c$8}` : `${g$4} ${import_picocolors.default.dim(a$13)}`;
|
|
9740
9740
|
}, s$9 = new Vt({
|
|
9741
9741
|
options: e$8.options,
|
|
9742
9742
|
multiple: !0,
|
|
@@ -9756,18 +9756,18 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9756
9756
|
case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(`${this.selectedValues.length} items selected`)}`;
|
|
9757
9757
|
case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}`;
|
|
9758
9758
|
default: {
|
|
9759
|
-
const g$
|
|
9759
|
+
const g$4 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.cyan, E$5 = [
|
|
9760
9760
|
`${import_picocolors.default.dim("↑/↓")} to navigate`,
|
|
9761
9761
|
`${import_picocolors.default.dim(this.isNavigating ? "Space/Tab:" : "Tab:")} select`,
|
|
9762
9762
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
9763
9763
|
`${import_picocolors.default.dim("Type:")} to search`
|
|
9764
|
-
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$
|
|
9765
|
-
...`${i$9}${g$
|
|
9764
|
+
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$4(h$5)} ${import_picocolors.default.yellow("No matches found")}`] : [], y$7 = this.state === "error" ? [`${g$4(h$5)} ${import_picocolors.default.yellow(this.error)}`] : [], $$2 = [
|
|
9765
|
+
...`${i$9}${g$4(h$5)}`.split(`
|
|
9766
9766
|
`),
|
|
9767
|
-
`${g$
|
|
9767
|
+
`${g$4(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
|
|
9768
9768
|
...p$3,
|
|
9769
9769
|
...y$7
|
|
9770
|
-
], m$5 = [`${g$
|
|
9770
|
+
], m$5 = [`${g$4(h$5)} ${import_picocolors.default.dim(E$5.join(" • "))}`, `${g$4(x$3)}`], d$5 = J$4({
|
|
9771
9771
|
cursor: this.cursor,
|
|
9772
9772
|
options: this.filteredOptions,
|
|
9773
9773
|
style: (F$6, f$7) => r$4(F$6, f$7, this.selectedValues, this.focusedValue),
|
|
@@ -9777,7 +9777,7 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9777
9777
|
});
|
|
9778
9778
|
return [
|
|
9779
9779
|
...$$2,
|
|
9780
|
-
...d$5.map((F$6) => `${g$
|
|
9780
|
+
...d$5.map((F$6) => `${g$4(h$5)} ${F$6}`),
|
|
9781
9781
|
...m$5
|
|
9782
9782
|
].join(`
|
|
9783
9783
|
`);
|
|
@@ -9802,7 +9802,7 @@ function Xe(e$8, r$4, s$9, i$9) {
|
|
|
9802
9802
|
return i$9 === "center" ? n$6 = Math.floor((r$4 - e$8) / 2) : i$9 === "right" && (n$6 = r$4 - e$8 - s$9), l$3 = r$4 - n$6 - e$8, [n$6, l$3];
|
|
9803
9803
|
}
|
|
9804
9804
|
const Dt = (e$8) => e$8, Tt = (e$8 = "", r$4 = "", s$9) => {
|
|
9805
|
-
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$
|
|
9805
|
+
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$4 = s$9?.formatBorder ?? Dt, E$5 = (s$9?.rounded ? xt$1 : _t).map(g$4), p$3 = g$4(se$1), y$7 = g$4(h$5), $$2 = M$3(c$8), m$5 = M$3(r$4), d$5 = n$6 - $$2;
|
|
9806
9806
|
let F$6 = Math.floor(n$6 * a$13) - $$2;
|
|
9807
9807
|
if (s$9?.width === "auto") {
|
|
9808
9808
|
const _$7 = e$8.split(`
|
|
@@ -9869,7 +9869,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9869
9869
|
return s$9;
|
|
9870
9870
|
}, Ot = (e$8) => {
|
|
9871
9871
|
const { selectableGroups: r$4 = !0, groupSpacing: s$9 = 0 } = e$8, i$9 = (l$3, u$8, o$7 = []) => {
|
|
9872
|
-
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$
|
|
9872
|
+
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$4 = c$8 && (o$7[o$7.indexOf(l$3) + 1] ?? { group: !0 }), E$5 = c$8 && g$4 && g$4.group === !0, p$3 = c$8 ? r$4 ? `${E$5 ? x$3 : h$5} ` : " " : "";
|
|
9873
9873
|
let y$7 = "";
|
|
9874
9874
|
if (s$9 > 0 && !c$8) {
|
|
9875
9875
|
const m$5 = `
|
|
@@ -9920,19 +9920,19 @@ ${import_picocolors.default.gray(h$5)}` : ""}`;
|
|
|
9920
9920
|
const o$7 = this.error.split(`
|
|
9921
9921
|
`).map((a$13, c$8) => c$8 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(a$13)}` : ` ${a$13}`).join(`
|
|
9922
9922
|
`);
|
|
9923
|
-
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$
|
|
9923
|
+
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$4) => {
|
|
9924
9924
|
const E$5 = u$8.includes(a$13.value) || a$13.group === !0 && this.isGroupSelected(`${a$13.value}`), p$3 = c$8 === this.cursor;
|
|
9925
|
-
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$
|
|
9925
|
+
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$4) : p$3 && E$5 ? i$9(a$13, "active-selected", g$4) : E$5 ? i$9(a$13, "selected", g$4) : i$9(a$13, p$3 ? "active" : "inactive", g$4);
|
|
9926
9926
|
}).join(`
|
|
9927
9927
|
${import_picocolors.default.yellow(h$5)} `)}
|
|
9928
9928
|
${o$7}
|
|
9929
9929
|
`;
|
|
9930
9930
|
}
|
|
9931
9931
|
default: {
|
|
9932
|
-
const o$7 = this.options.map((c$8, g$
|
|
9933
|
-
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$
|
|
9932
|
+
const o$7 = this.options.map((c$8, g$4, E$5) => {
|
|
9933
|
+
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$4 === this.cursor, $$2 = !y$7 && typeof c$8.group == "string" && this.options[this.cursor].value === c$8.group;
|
|
9934
9934
|
let m$5 = "";
|
|
9935
|
-
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$
|
|
9935
|
+
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$4 !== 0 && !m$5.startsWith(`
|
|
9936
9936
|
`) ? " " : ""}${m$5}`;
|
|
9937
9937
|
}).join(`
|
|
9938
9938
|
${import_picocolors.default.cyan(h$5)}`), a$13 = o$7.startsWith(`
|
|
@@ -9946,14 +9946,14 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9946
9946
|
}).prompt();
|
|
9947
9947
|
}, R = {
|
|
9948
9948
|
message: (e$8 = [], { symbol: r$4 = import_picocolors.default.gray(h$5), secondarySymbol: s$9 = import_picocolors.default.gray(h$5), output: i$9 = process.stdout, spacing: n$6 = 1, withGuide: l$3 } = {}) => {
|
|
9949
|
-
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$
|
|
9949
|
+
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$4 = o$7 ? `${s$9} ` : "";
|
|
9950
9950
|
for (let p$3 = 0; p$3 < n$6; p$3++) u$8.push(a$13);
|
|
9951
9951
|
const E$5 = Array.isArray(e$8) ? e$8 : e$8.split(`
|
|
9952
9952
|
`);
|
|
9953
9953
|
if (E$5.length > 0) {
|
|
9954
9954
|
const [p$3, ...y$7] = E$5;
|
|
9955
9955
|
p$3.length > 0 ? u$8.push(`${c$8}${p$3}`) : u$8.push(o$7 ? r$4 : "");
|
|
9956
|
-
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$
|
|
9956
|
+
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$4}${$$2}`) : u$8.push(o$7 ? "" : s$9);
|
|
9957
9957
|
}
|
|
9958
9958
|
i$9.write(`${u$8.join(`
|
|
9959
9959
|
`)}
|
|
@@ -10046,7 +10046,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10046
10046
|
const o$7 = `${import_picocolors.default.yellow(h$5)} `, a$13 = this.error.split(`
|
|
10047
10047
|
`).map((E$5, p$3) => p$3 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(E$5)}` : ` ${E$5}`).join(`
|
|
10048
10048
|
`), c$8 = n$6.split(`
|
|
10049
|
-
`).length, g$
|
|
10049
|
+
`).length, g$4 = a$13.split(`
|
|
10050
10050
|
`).length + 1;
|
|
10051
10051
|
return `${n$6}${o$7}${J$4({
|
|
10052
10052
|
output: e$8.output,
|
|
@@ -10054,7 +10054,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10054
10054
|
cursor: this.cursor,
|
|
10055
10055
|
maxItems: e$8.maxItems,
|
|
10056
10056
|
columnPadding: o$7.length,
|
|
10057
|
-
rowPadding: c$8 + g$
|
|
10057
|
+
rowPadding: c$8 + g$4,
|
|
10058
10058
|
style: u$8
|
|
10059
10059
|
}).join(`
|
|
10060
10060
|
${o$7}`)}
|
|
@@ -10088,7 +10088,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10088
10088
|
`), l$3 = n$6.reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0);
|
|
10089
10089
|
return q$5(e$8, r$4 - (n$6.map(s$9).reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0) - l$3), i$9);
|
|
10090
10090
|
}, kt$1 = (e$8 = "", r$4 = "", s$9) => {
|
|
10091
|
-
const i$9 = s$9?.output ??
|
|
10091
|
+
const i$9 = s$9?.output ?? process$1.stdout, n$6 = (s$9?.withGuide ?? _$6.withGuide) !== !1, l$3 = s$9?.format ?? jt, u$8 = [
|
|
10092
10092
|
"",
|
|
10093
10093
|
...Vt$1(e$8, rt$1(i$9) - 6, l$3).split(`
|
|
10094
10094
|
`).map(l$3),
|
|
@@ -10097,9 +10097,9 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10097
10097
|
const $$2 = M$3(y$7);
|
|
10098
10098
|
return $$2 > p$3 ? $$2 : p$3;
|
|
10099
10099
|
}, 0), o$7) + 2, c$8 = u$8.map((p$3) => `${import_picocolors.default.gray(h$5)} ${p$3}${" ".repeat(a$13 - M$3(p$3))}${import_picocolors.default.gray(h$5)}`).join(`
|
|
10100
|
-
`), g$
|
|
10100
|
+
`), g$4 = n$6 ? `${import_picocolors.default.gray(h$5)}
|
|
10101
10101
|
` : "", E$5 = n$6 ? Ne$1 : pe$1;
|
|
10102
|
-
i$9.write(`${g$
|
|
10102
|
+
i$9.write(`${g$4}${import_picocolors.default.green(j$4)} ${import_picocolors.default.reset(r$4)} ${import_picocolors.default.gray(se$1.repeat(Math.max(a$13 - o$7 - 1, 1)) + he$1)}
|
|
10103
10103
|
${c$8}
|
|
10104
10104
|
${import_picocolors.default.gray(E$5 + se$1.repeat(a$13 + 2) + me$1)}
|
|
10105
10105
|
`);
|
|
@@ -10177,7 +10177,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10177
10177
|
"0"
|
|
10178
10178
|
], delay: u$8 = ee$2 ? 80 : 120, signal: o$7, ...a$13 } = {}) => {
|
|
10179
10179
|
const c$8 = ue$1();
|
|
10180
|
-
let g$
|
|
10180
|
+
let g$4, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
|
|
10181
10181
|
const F$6 = rt$1(s$9), f$7 = a$13?.styleFrame ?? Ut, v$5 = (S$7) => {
|
|
10182
10182
|
const O$9 = S$7 > 1 ? n$6 ?? _$6.messages.error : i$9 ?? _$6.messages.cancel;
|
|
10183
10183
|
y$7 = S$7 === 1, p$3 && (L$5(O$9, S$7), y$7 && typeof r$4 == "function" && r$4());
|
|
@@ -10199,7 +10199,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10199
10199
|
const O$9 = (performance.now() - S$7) / 1e3, N$6 = Math.floor(O$9 / 60), G$5 = Math.floor(O$9 % 60);
|
|
10200
10200
|
return N$6 > 0 ? `[${N$6}m ${G$5}s]` : `[${G$5}s]`;
|
|
10201
10201
|
}, T$8 = (S$7 = "") => {
|
|
10202
|
-
p$3 = !0, g$
|
|
10202
|
+
p$3 = !0, g$4 = xt({ output: s$9 }), $$2 = _$7(S$7), d$5 = performance.now(), s$9.write(`${import_picocolors.default.gray(h$5)}
|
|
10203
10203
|
`);
|
|
10204
10204
|
let O$9 = 0, N$6 = 0;
|
|
10205
10205
|
b$11(), E$5 = setInterval(() => {
|
|
@@ -10225,7 +10225,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10225
10225
|
const N$6 = O$9 === 0 ? import_picocolors.default.green(j$4) : O$9 === 1 ? import_picocolors.default.red(ce$1) : import_picocolors.default.red(de$2);
|
|
10226
10226
|
$$2 = S$7 ?? $$2, e$8 === "timer" ? s$9.write(`${N$6} ${$$2} ${D$4(d$5)}
|
|
10227
10227
|
`) : s$9.write(`${N$6} ${$$2}
|
|
10228
|
-
`), A$2(), g$
|
|
10228
|
+
`), A$2(), g$4();
|
|
10229
10229
|
};
|
|
10230
10230
|
return {
|
|
10231
10231
|
start: T$8,
|
|
@@ -10366,7 +10366,7 @@ ${ze$1}${i$9.trimStart()}`), s$9 = 3 + stripVTControlCharacters(i$9.trimStart())
|
|
|
10366
10366
|
full: ""
|
|
10367
10367
|
}];
|
|
10368
10368
|
let c$8 = !1;
|
|
10369
|
-
const g$
|
|
10369
|
+
const g$4 = (d$5) => {
|
|
10370
10370
|
if (a$13.length === 0) return;
|
|
10371
10371
|
let F$6 = 0;
|
|
10372
10372
|
d$5 && (F$6 += n$6 + 2);
|
|
@@ -10403,7 +10403,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10403
10403
|
(F$6 === void 0 || F$6.length === 0) && f$7.length === 0 || E$5(d$5, void 0, u$8 === !0 && v$5.length > 0);
|
|
10404
10404
|
}
|
|
10405
10405
|
}, y$7 = (d$5, F$6, f$7) => {
|
|
10406
|
-
if (g$
|
|
10406
|
+
if (g$4(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
|
|
10407
10407
|
`), d$5.value += Yt(F$6), c$8 = f$7?.raw === !0, e$8.limit !== void 0) {
|
|
10408
10408
|
const v$5 = d$5.value.split(`
|
|
10409
10409
|
`), I$4 = v$5.length - e$8.limit;
|
|
@@ -10428,7 +10428,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10428
10428
|
spacing: 0
|
|
10429
10429
|
}) : d$5.value !== "" && E$5(d$5, 0);
|
|
10430
10430
|
}, m$5 = (d$5, F$6) => {
|
|
10431
|
-
g$
|
|
10431
|
+
g$4(!1), d$5.result = F$6, o$7 && $$2();
|
|
10432
10432
|
};
|
|
10433
10433
|
return {
|
|
10434
10434
|
message(d$5, F$6) {
|
|
@@ -10459,14 +10459,14 @@ ${d$5.value}` : d$5.value;
|
|
|
10459
10459
|
};
|
|
10460
10460
|
},
|
|
10461
10461
|
error(d$5, F$6) {
|
|
10462
|
-
g$
|
|
10462
|
+
g$4(!0), R.error(d$5, {
|
|
10463
10463
|
output: r$4,
|
|
10464
10464
|
secondarySymbol: i$9,
|
|
10465
10465
|
spacing: 1
|
|
10466
10466
|
}), F$6?.showLog !== !1 && p$3(), a$13.splice(1, a$13.length - 1), a$13[0].value = "", a$13[0].full = "";
|
|
10467
10467
|
},
|
|
10468
10468
|
success(d$5, F$6) {
|
|
10469
|
-
g$
|
|
10469
|
+
g$4(!0), R.success(d$5, {
|
|
10470
10470
|
output: r$4,
|
|
10471
10471
|
secondarySymbol: i$9,
|
|
10472
10472
|
spacing: 1
|
|
@@ -11278,7 +11278,7 @@ l$2.name;
|
|
|
11278
11278
|
function n$5(e$8) {
|
|
11279
11279
|
return e$8 ? e$8 !== "false" : false;
|
|
11280
11280
|
}
|
|
11281
|
-
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$
|
|
11281
|
+
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$3 = n$5(o$6.DEBUG), R$6 = t$7 === "test" || n$5(o$6.TEST);
|
|
11282
11282
|
n$5(o$6.MINIMAL);
|
|
11283
11283
|
const A$1 = /^win/i.test(I$2);
|
|
11284
11284
|
!n$5(o$6.NO_COLOR) && (n$5(o$6.FORCE_COLOR) || (a$11 || A$1) && o$6.TERM);
|
|
@@ -11359,9 +11359,9 @@ function stringWidth$1(string, options$1 = {}) {
|
|
|
11359
11359
|
return width;
|
|
11360
11360
|
}
|
|
11361
11361
|
function isUnicodeSupported() {
|
|
11362
|
-
const { env: env$2 } =
|
|
11362
|
+
const { env: env$2 } = process$1;
|
|
11363
11363
|
const { TERM, TERM_PROGRAM } = env$2;
|
|
11364
|
-
if (
|
|
11364
|
+
if (process$1.platform !== "win32") return TERM !== "linux";
|
|
11365
11365
|
return Boolean(env$2.WT_SESSION) || Boolean(env$2.TERMINUS_SUBLIME) || env$2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env$2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
11366
11366
|
}
|
|
11367
11367
|
const TYPE_COLOR_MAP = {
|
|
@@ -11448,13 +11448,13 @@ function createConsola$1(options$1 = {}) {
|
|
|
11448
11448
|
defaults: { level },
|
|
11449
11449
|
stdout: process.stdout,
|
|
11450
11450
|
stderr: process.stderr,
|
|
11451
|
-
prompt: (...args$2) => import("./prompt-
|
|
11451
|
+
prompt: (...args$2) => import("./prompt-BAC_FYaH.mjs").then((m$5) => m$5.prompt(...args$2)),
|
|
11452
11452
|
reporters: options$1.reporters || [options$1.fancy ?? !(T$6 || R$6) ? new FancyReporter() : new BasicReporter()],
|
|
11453
11453
|
...options$1
|
|
11454
11454
|
});
|
|
11455
11455
|
}
|
|
11456
11456
|
function _getDefaultLogLevel() {
|
|
11457
|
-
if (g$
|
|
11457
|
+
if (g$3) return LogLevels.debug;
|
|
11458
11458
|
if (R$6) return LogLevels.warn;
|
|
11459
11459
|
return LogLevels.info;
|
|
11460
11460
|
}
|
|
@@ -12320,12 +12320,12 @@ async function pathExists(path2, type) {
|
|
|
12320
12320
|
}
|
|
12321
12321
|
}
|
|
12322
12322
|
function getUserAgent() {
|
|
12323
|
-
const userAgent =
|
|
12323
|
+
const userAgent = process$1.env.npm_config_user_agent;
|
|
12324
12324
|
if (!userAgent) return null;
|
|
12325
12325
|
const name = userAgent.split("/")[0];
|
|
12326
12326
|
return AGENTS.includes(name) ? name : null;
|
|
12327
12327
|
}
|
|
12328
|
-
function* lookup(cwd$2 =
|
|
12328
|
+
function* lookup(cwd$2 = process$1.cwd()) {
|
|
12329
12329
|
let directory = path.resolve(cwd$2);
|
|
12330
12330
|
const { root: root$3 } = path.parse(directory);
|
|
12331
12331
|
while (directory && directory !== root$3) {
|
|
@@ -12940,7 +12940,7 @@ const defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
12940
12940
|
//#endregion
|
|
12941
12941
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
|
|
12942
12942
|
const b$8 = /^(?:( )+|\t+)/, d$3 = "space", h$4 = "tab";
|
|
12943
|
-
function g$
|
|
12943
|
+
function g$2(e$8, t$9) {
|
|
12944
12944
|
const n$6 = /* @__PURE__ */ new Map();
|
|
12945
12945
|
let s$9 = 0, o$7, i$9;
|
|
12946
12946
|
for (const c$8 of e$8.split(/\n/g)) {
|
|
@@ -12981,8 +12981,8 @@ function S$4(e$8, t$9) {
|
|
|
12981
12981
|
}
|
|
12982
12982
|
function _$4(e$8) {
|
|
12983
12983
|
if (typeof e$8 != "string") throw new TypeError("Expected a string");
|
|
12984
|
-
let t$9 = g$
|
|
12985
|
-
t$9.size === 0 && (t$9 = g$
|
|
12984
|
+
let t$9 = g$2(e$8, !0);
|
|
12985
|
+
t$9.size === 0 && (t$9 = g$2(e$8, !1));
|
|
12986
12986
|
const n$6 = E$4(t$9);
|
|
12987
12987
|
let s$9, o$7 = 0, i$9 = "";
|
|
12988
12988
|
return n$6 !== void 0 && ({type: s$9, amount: o$7} = w$4(n$6), i$9 = S$4(s$9, o$7)), {
|
|
@@ -13065,17 +13065,17 @@ function uu() {
|
|
|
13065
13065
|
Z$2 = 1;
|
|
13066
13066
|
const C$5 = T$4();
|
|
13067
13067
|
let r$4, s$9, c$8, d$5, h$6, o$7, f$7, S$7, m$5;
|
|
13068
|
-
q$4 = function(a$13, g$
|
|
13068
|
+
q$4 = function(a$13, g$4) {
|
|
13069
13069
|
r$4 = String(a$13), s$9 = "start", c$8 = [], d$5 = 0, h$6 = 1, o$7 = 0, f$7 = void 0, S$7 = void 0, m$5 = void 0;
|
|
13070
13070
|
do
|
|
13071
13071
|
f$7 = E$5(), Q$4[s$9]();
|
|
13072
13072
|
while (f$7.type !== "eof");
|
|
13073
|
-
return typeof g$
|
|
13073
|
+
return typeof g$4 == "function" ? v$5({ "": m$5 }, "", g$4) : m$5;
|
|
13074
13074
|
};
|
|
13075
|
-
function v$5(D$4, a$13, g$
|
|
13075
|
+
function v$5(D$4, a$13, g$4) {
|
|
13076
13076
|
const y$7 = D$4[a$13];
|
|
13077
13077
|
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$6 = 0; P$6 < y$7.length; P$6++) {
|
|
13078
|
-
const I$4 = String(P$6), H$8 = v$5(y$7, I$4, g$
|
|
13078
|
+
const I$4 = String(P$6), H$8 = v$5(y$7, I$4, g$4);
|
|
13079
13079
|
H$8 === void 0 ? delete y$7[I$4] : Object.defineProperty(y$7, I$4, {
|
|
13080
13080
|
value: H$8,
|
|
13081
13081
|
writable: !0,
|
|
@@ -13084,7 +13084,7 @@ function uu() {
|
|
|
13084
13084
|
});
|
|
13085
13085
|
}
|
|
13086
13086
|
else for (const P$6 in y$7) {
|
|
13087
|
-
const I$4 = v$5(y$7, P$6, g$
|
|
13087
|
+
const I$4 = v$5(y$7, P$6, g$4);
|
|
13088
13088
|
I$4 === void 0 ? delete y$7[P$6] : Object.defineProperty(y$7, P$6, {
|
|
13089
13089
|
value: I$4,
|
|
13090
13090
|
writable: !0,
|
|
@@ -13092,7 +13092,7 @@ function uu() {
|
|
|
13092
13092
|
configurable: !0
|
|
13093
13093
|
});
|
|
13094
13094
|
}
|
|
13095
|
-
return g$
|
|
13095
|
+
return g$4.call(D$4, a$13, y$7);
|
|
13096
13096
|
}
|
|
13097
13097
|
let t$9, e$8, x$5, w$7, A$2;
|
|
13098
13098
|
function E$5() {
|
|
@@ -13531,8 +13531,8 @@ function uu() {
|
|
|
13531
13531
|
function $$2() {
|
|
13532
13532
|
let D$4 = "", a$13 = 4;
|
|
13533
13533
|
for (; a$13-- > 0;) {
|
|
13534
|
-
const g$
|
|
13535
|
-
if (!C$5.isHexDigit(g$
|
|
13534
|
+
const g$4 = n$6();
|
|
13535
|
+
if (!C$5.isHexDigit(g$4)) throw B$2(u$8());
|
|
13536
13536
|
D$4 += u$8();
|
|
13537
13537
|
}
|
|
13538
13538
|
return String.fromCodePoint(parseInt(D$4, 16));
|
|
@@ -13660,8 +13660,8 @@ function uu() {
|
|
|
13660
13660
|
};
|
|
13661
13661
|
if (a$13[D$4]) return a$13[D$4];
|
|
13662
13662
|
if (D$4 < " ") {
|
|
13663
|
-
const g$
|
|
13664
|
-
return "\\x" + ("00" + g$
|
|
13663
|
+
const g$4 = D$4.charCodeAt(0).toString(16);
|
|
13664
|
+
return "\\x" + ("00" + g$4).substring(g$4.length);
|
|
13665
13665
|
}
|
|
13666
13666
|
return D$4;
|
|
13667
13667
|
}
|
|
@@ -13817,7 +13817,7 @@ function Au(C$5, r$4) {
|
|
|
13817
13817
|
//#endregion
|
|
13818
13818
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
13819
13819
|
function $$1(n$6, l$3 = !1) {
|
|
13820
|
-
const g$
|
|
13820
|
+
const g$4 = n$6.length;
|
|
13821
13821
|
let e$8 = 0, u$8 = "", p$3 = 0, k$6 = 16, A$2 = 0, o$7 = 0, O$9 = 0, B$2 = 0, b$11 = 0;
|
|
13822
13822
|
function I$4(i$9, T$8) {
|
|
13823
13823
|
let s$9 = 0, c$8 = 0;
|
|
@@ -13850,7 +13850,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13850
13850
|
function a$13() {
|
|
13851
13851
|
let i$9 = "", T$8 = e$8;
|
|
13852
13852
|
for (;;) {
|
|
13853
|
-
if (e$8 >= g$
|
|
13853
|
+
if (e$8 >= g$4) {
|
|
13854
13854
|
i$9 += n$6.substring(T$8, e$8), b$11 = 2;
|
|
13855
13855
|
break;
|
|
13856
13856
|
}
|
|
@@ -13860,7 +13860,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13860
13860
|
break;
|
|
13861
13861
|
}
|
|
13862
13862
|
if (s$9 === 92) {
|
|
13863
|
-
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$
|
|
13863
|
+
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$4) {
|
|
13864
13864
|
b$11 = 2;
|
|
13865
13865
|
break;
|
|
13866
13866
|
}
|
|
@@ -13908,7 +13908,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13908
13908
|
return i$9;
|
|
13909
13909
|
}
|
|
13910
13910
|
function w$7() {
|
|
13911
|
-
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$
|
|
13911
|
+
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$4) return p$3 = g$4, k$6 = 17;
|
|
13912
13912
|
let i$9 = n$6.charCodeAt(e$8);
|
|
13913
13913
|
if (J$2(i$9)) {
|
|
13914
13914
|
do
|
|
@@ -13929,12 +13929,12 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13929
13929
|
case 47:
|
|
13930
13930
|
const T$8 = e$8 - 1;
|
|
13931
13931
|
if (n$6.charCodeAt(e$8 + 1) === 47) {
|
|
13932
|
-
for (e$8 += 2; e$8 < g$
|
|
13932
|
+
for (e$8 += 2; e$8 < g$4 && !r(n$6.charCodeAt(e$8));) e$8++;
|
|
13933
13933
|
return u$8 = n$6.substring(T$8, e$8), k$6 = 12;
|
|
13934
13934
|
}
|
|
13935
13935
|
if (n$6.charCodeAt(e$8 + 1) === 42) {
|
|
13936
13936
|
e$8 += 2;
|
|
13937
|
-
const s$9 = g$
|
|
13937
|
+
const s$9 = g$4 - 1;
|
|
13938
13938
|
let c$8 = !1;
|
|
13939
13939
|
for (; e$8 < s$9;) {
|
|
13940
13940
|
const t$9 = n$6.charCodeAt(e$8);
|
|
@@ -13947,7 +13947,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13947
13947
|
return c$8 || (e$8++, b$11 = 1), u$8 = n$6.substring(T$8, e$8), k$6 = 13;
|
|
13948
13948
|
}
|
|
13949
13949
|
return u$8 += String.fromCharCode(i$9), e$8++, k$6 = 16;
|
|
13950
|
-
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$
|
|
13950
|
+
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$4 || !L$2(n$6.charCodeAt(e$8))) return k$6 = 16;
|
|
13951
13951
|
case 48:
|
|
13952
13952
|
case 49:
|
|
13953
13953
|
case 50:
|
|
@@ -13959,7 +13959,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13959
13959
|
case 56:
|
|
13960
13960
|
case 57: return u$8 += F$6(), k$6 = 11;
|
|
13961
13961
|
default:
|
|
13962
|
-
for (; e$8 < g$
|
|
13962
|
+
for (; e$8 < g$4 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
|
|
13963
13963
|
if (p$3 !== e$8) {
|
|
13964
13964
|
switch (u$8 = n$6.substring(p$3, e$8), u$8) {
|
|
13965
13965
|
case "true": return k$6 = 8;
|
|
@@ -14028,7 +14028,7 @@ var U$2;
|
|
|
14028
14028
|
(function(n$6) {
|
|
14029
14029
|
n$6.DEFAULT = { allowTrailingComma: !1 };
|
|
14030
14030
|
})(U$2 || (U$2 = {}));
|
|
14031
|
-
function S$3(n$6, l$3 = [], g$
|
|
14031
|
+
function S$3(n$6, l$3 = [], g$4 = U$2.DEFAULT) {
|
|
14032
14032
|
let e$8 = null, u$8 = [];
|
|
14033
14033
|
const p$3 = [];
|
|
14034
14034
|
function k$6(o$7) {
|
|
@@ -14060,9 +14060,9 @@ function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
|
|
|
14060
14060
|
length: B$2
|
|
14061
14061
|
});
|
|
14062
14062
|
}
|
|
14063
|
-
}, g$
|
|
14063
|
+
}, g$4), u$8[0];
|
|
14064
14064
|
}
|
|
14065
|
-
function P$4(n$6, l$3, g$
|
|
14065
|
+
function P$4(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
14066
14066
|
const e$8 = $$1(n$6, !1), u$8 = [];
|
|
14067
14067
|
let p$3 = 0;
|
|
14068
14068
|
function k$6(f$7) {
|
|
@@ -14084,7 +14084,7 @@ function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
|
|
|
14084
14084
|
p$3 > 0 && p$3--, p$3 === 0 && f$7(e$8.getTokenOffset(), e$8.getTokenLength(), e$8.getTokenStartLine(), e$8.getTokenStartCharacter());
|
|
14085
14085
|
} : () => !0;
|
|
14086
14086
|
}
|
|
14087
|
-
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$
|
|
14087
|
+
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$4 && g$4.disallowComments, s$9 = g$4 && g$4.allowTrailingComma;
|
|
14088
14088
|
function c$8() {
|
|
14089
14089
|
for (;;) {
|
|
14090
14090
|
const f$7 = e$8.scan();
|
|
@@ -14191,7 +14191,7 @@ function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
|
|
|
14191
14191
|
default: return G$5();
|
|
14192
14192
|
}
|
|
14193
14193
|
}
|
|
14194
|
-
return c$8(), e$8.getToken() === 17 ? g$
|
|
14194
|
+
return c$8(), e$8.getToken() === 17 ? g$4.allowEmptyContent ? !0 : (t$9(4, [], []), !1) : E$5() ? (e$8.getToken() !== 17 && t$9(9, [], []), !0) : (t$9(4, [], []), !1);
|
|
14195
14195
|
}
|
|
14196
14196
|
var W$2;
|
|
14197
14197
|
(function(n$6) {
|
|
@@ -14207,16 +14207,16 @@ var q$3;
|
|
|
14207
14207
|
n$6[n$6.InvalidSymbol = 1] = "InvalidSymbol", n$6[n$6.InvalidNumberFormat = 2] = "InvalidNumberFormat", n$6[n$6.PropertyNameExpected = 3] = "PropertyNameExpected", n$6[n$6.ValueExpected = 4] = "ValueExpected", n$6[n$6.ColonExpected = 5] = "ColonExpected", n$6[n$6.CommaExpected = 6] = "CommaExpected", n$6[n$6.CloseBraceExpected = 7] = "CloseBraceExpected", n$6[n$6.CloseBracketExpected = 8] = "CloseBracketExpected", n$6[n$6.EndOfFileExpected = 9] = "EndOfFileExpected", n$6[n$6.InvalidCommentToken = 10] = "InvalidCommentToken", n$6[n$6.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", n$6[n$6.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", n$6[n$6.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", n$6[n$6.InvalidUnicode = 14] = "InvalidUnicode", n$6[n$6.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", n$6[n$6.InvalidCharacter = 16] = "InvalidCharacter";
|
|
14208
14208
|
})(q$3 || (q$3 = {}));
|
|
14209
14209
|
function x$1(n$6, l$3) {
|
|
14210
|
-
const g$
|
|
14211
|
-
return N$1(n$6, g$
|
|
14210
|
+
const g$4 = JSON.parse(n$6, l$3?.reviver);
|
|
14211
|
+
return N$1(n$6, g$4, l$3), g$4;
|
|
14212
14212
|
}
|
|
14213
14213
|
function z$2(n$6, l$3) {
|
|
14214
|
-
const g$
|
|
14215
|
-
return g$
|
|
14214
|
+
const g$4 = C$2(n$6, l$3), e$8 = JSON.stringify(n$6, l$3?.replacer, g$4.indent);
|
|
14215
|
+
return g$4.whitespace.start + e$8 + g$4.whitespace.end;
|
|
14216
14216
|
}
|
|
14217
14217
|
function h$2(n$6, l$3) {
|
|
14218
|
-
const g$
|
|
14219
|
-
return N$1(n$6, g$
|
|
14218
|
+
const g$4 = K$2(n$6, l$3?.errors, l$3);
|
|
14219
|
+
return N$1(n$6, g$4, l$3), g$4;
|
|
14220
14220
|
}
|
|
14221
14221
|
|
|
14222
14222
|
//#endregion
|
|
@@ -14868,13 +14868,13 @@ function yi(e$8, n$6) {
|
|
|
14868
14868
|
h$3(e$8, "unexpected end of the stream within a double quoted scalar");
|
|
14869
14869
|
}
|
|
14870
14870
|
function Ci(e$8, n$6) {
|
|
14871
|
-
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$
|
|
14871
|
+
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$4, A$2, b$11, m$5;
|
|
14872
14872
|
if (m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 91) t$9 = 93, s$9 = !1, f$7 = [];
|
|
14873
14873
|
else if (m$5 === 123) t$9 = 125, s$9 = !0, f$7 = {};
|
|
14874
14874
|
else return !1;
|
|
14875
14875
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = f$7), m$5 = e$8.input.charCodeAt(++e$8.position); m$5 !== 0;) {
|
|
14876
14876
|
if (v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === t$9) return e$8.position++, e$8.tag = o$7, e$8.anchor = c$8, e$8.kind = s$9 ? "mapping" : "sequence", e$8.result = f$7, !0;
|
|
14877
|
-
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$
|
|
14877
|
+
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$4 = b$11 = null, p$3 = d$5 = !1, m$5 === 63 && (a$13 = e$8.input.charCodeAt(e$8.position + 1), F$4(a$13) && (p$3 = d$5 = !0, e$8.position++, v$3(e$8, !0, n$6))), l$3 = e$8.line, r$4 = e$8.lineStart, u$8 = e$8.position, R$4(e$8, n$6, H$5, !1, !0), A$2 = e$8.tag, g$4 = e$8.result, v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), (d$5 || e$8.line === l$3) && m$5 === 58 && (p$3 = !0, m$5 = e$8.input.charCodeAt(++e$8.position), v$3(e$8, !0, n$6), R$4(e$8, n$6, H$5, !1, !0), b$11 = e$8.result), s$9 ? N$2(e$8, f$7, x$5, A$2, g$4, b$11, l$3, r$4, u$8) : p$3 ? f$7.push(N$2(e$8, null, x$5, A$2, g$4, b$11, l$3, r$4, u$8)) : f$7.push(g$4), v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 44 ? (i$9 = !0, m$5 = e$8.input.charCodeAt(++e$8.position)) : i$9 = !1;
|
|
14878
14878
|
}
|
|
14879
14879
|
h$3(e$8, "unexpected end of the stream within a flow collection");
|
|
14880
14880
|
}
|
|
@@ -14929,21 +14929,21 @@ function we(e$8, n$6) {
|
|
|
14929
14929
|
return f$7 ? (e$8.tag = l$3, e$8.anchor = r$4, e$8.kind = "sequence", e$8.result = u$8, !0) : !1;
|
|
14930
14930
|
}
|
|
14931
14931
|
function wi(e$8, n$6, i$9) {
|
|
14932
|
-
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$
|
|
14932
|
+
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$4 = null, A$2 = !1, b$11 = !1, m$5;
|
|
14933
14933
|
if (e$8.firstTabInLine !== -1) return !1;
|
|
14934
14934
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = p$3), m$5 = e$8.input.charCodeAt(e$8.position); m$5 !== 0;) {
|
|
14935
|
-
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14935
|
+
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$4 = null), b$11 = !0, A$2 = !0, r$4 = !0) : A$2 ? (A$2 = !1, r$4 = !0) : h$3(e$8, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e$8.position += 1, m$5 = l$3;
|
|
14936
14936
|
else {
|
|
14937
14937
|
if (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position, !R$4(e$8, i$9, te, !1, !0)) break;
|
|
14938
14938
|
if (e$8.line === u$8) {
|
|
14939
14939
|
for (m$5 = e$8.input.charCodeAt(e$8.position); I$1(m$5);) m$5 = e$8.input.charCodeAt(++e$8.position);
|
|
14940
|
-
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14940
|
+
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$4 = null), b$11 = !0, A$2 = !1, r$4 = !1, s$9 = e$8.tag, x$5 = e$8.result;
|
|
14941
14941
|
else if (b$11) h$3(e$8, "can not read an implicit mapping pair; a colon is missed");
|
|
14942
14942
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14943
14943
|
} else if (b$11) h$3(e$8, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
14944
14944
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14945
14945
|
}
|
|
14946
|
-
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$
|
|
14946
|
+
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$4 = e$8.result), A$2 || (N$2(e$8, p$3, d$5, s$9, x$5, g$4, o$7, f$7, c$8), s$9 = x$5 = g$4 = null), v$3(e$8, !0, -1), m$5 = e$8.input.charCodeAt(e$8.position)), (e$8.line === u$8 || e$8.lineIndent > n$6) && m$5 !== 0) h$3(e$8, "bad indentation of a mapping entry");
|
|
14947
14947
|
else if (e$8.lineIndent < n$6) break;
|
|
14948
14948
|
}
|
|
14949
14949
|
return A$2 && N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), b$11 && (e$8.tag = a$13, e$8.anchor = t$9, e$8.kind = "mapping", e$8.result = p$3), b$11;
|
|
@@ -14981,9 +14981,9 @@ function Si(e$8) {
|
|
|
14981
14981
|
return e$8.position === n$6 && h$3(e$8, "name of an alias node must contain at least one character"), i$9 = e$8.input.slice(n$6, e$8.position), T$3.call(e$8.anchorMap, i$9) || h$3(e$8, "unidentified alias \"" + i$9 + "\""), e$8.result = e$8.anchorMap[i$9], v$3(e$8, !0, -1), !0;
|
|
14982
14982
|
}
|
|
14983
14983
|
function R$4(e$8, n$6, i$9, l$3, r$4) {
|
|
14984
|
-
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$
|
|
14984
|
+
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$4, A$2;
|
|
14985
14985
|
if (e$8.listener !== null && e$8.listener("open", e$8), e$8.tag = null, e$8.anchor = null, e$8.kind = null, e$8.result = null, u$8 = o$7 = f$7 = U$1 === i$9 || he === i$9, l$3 && v$3(e$8, !0, -1) && (a$13 = !0, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)), c$8 === 1) for (; Fi(e$8) || bi(e$8);) v$3(e$8, !0, -1) ? (a$13 = !0, f$7 = u$8, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)) : f$7 = !1;
|
|
14986
|
-
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$
|
|
14986
|
+
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$4 = n$6 : g$4 = n$6 + 1, A$2 = e$8.position - e$8.lineStart, c$8 === 1 ? f$7 && (we(e$8, A$2) || wi(e$8, A$2, g$4)) || Ci(e$8, g$4) ? t$9 = !0 : (o$7 && _i(e$8, g$4) || vi(e$8, g$4) || yi(e$8, g$4) ? t$9 = !0 : Si(e$8) ? (t$9 = !0, (e$8.tag !== null || e$8.anchor !== null) && h$3(e$8, "alias node should not have any properties")) : Ai(e$8, g$4, H$5 === i$9) && (t$9 = !0, e$8.tag === null && (e$8.tag = "?")), e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result)) : c$8 === 0 && (t$9 = f$7 && we(e$8, A$2))), e$8.tag === null) e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
14987
14987
|
else if (e$8.tag === "?") {
|
|
14988
14988
|
for (e$8.result !== null && e$8.kind !== "scalar" && h$3(e$8, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e$8.kind + "\""), p$3 = 0, d$5 = e$8.implicitTypes.length; p$3 < d$5; p$3 += 1) if (x$5 = e$8.implicitTypes[p$3], x$5.resolve(e$8.result)) {
|
|
14989
14989
|
e$8.result = x$5.construct(e$8.result), e$8.tag = x$5.tag, e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
@@ -15120,20 +15120,20 @@ function Re$1(e$8) {
|
|
|
15120
15120
|
}
|
|
15121
15121
|
var De = 1, re$5 = 2, Me = 3, Ye$1 = 4, D$1 = 5;
|
|
15122
15122
|
function rr(e$8, n$6, i$9, l$3, r$4, u$8, o$7, f$7) {
|
|
15123
|
-
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$
|
|
15123
|
+
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$4 = nr(j$3(e$8, 0)) && ir(j$3(e$8, e$8.length - 1));
|
|
15124
15124
|
if (n$6 || o$7) for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15125
15125
|
if (a$13 = j$3(e$8, c$8), !P$3(a$13)) return D$1;
|
|
15126
|
-
g$
|
|
15126
|
+
g$4 = g$4 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15127
15127
|
}
|
|
15128
15128
|
else {
|
|
15129
15129
|
for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15130
15130
|
if (a$13 = j$3(e$8, c$8), a$13 === Y) p$3 = !0, s$9 && (d$5 = d$5 || c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ", x$5 = c$8);
|
|
15131
15131
|
else if (!P$3(a$13)) return D$1;
|
|
15132
|
-
g$
|
|
15132
|
+
g$4 = g$4 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15133
15133
|
}
|
|
15134
15134
|
d$5 = d$5 || s$9 && c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ";
|
|
15135
15135
|
}
|
|
15136
|
-
return !p$3 && !d$5 ? g$
|
|
15136
|
+
return !p$3 && !d$5 ? g$4 && !o$7 && !r$4(e$8) ? De : u$8 === B$1 ? D$1 : re$5 : i$9 > 9 && Re$1(e$8) ? D$1 : o$7 ? u$8 === B$1 ? D$1 : re$5 : d$5 ? Ye$1 : Me;
|
|
15137
15137
|
}
|
|
15138
15138
|
function lr(e$8, n$6, i$9, l$3, r$4) {
|
|
15139
15139
|
e$8.dump = function() {
|
|
@@ -15702,19 +15702,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
|
|
|
15702
15702
|
const emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
15703
15703
|
const doubleSlashRegEx = /[/\\]{2}/;
|
|
15704
15704
|
function emitInvalidSegmentDeprecation(target, request$2, match, packageJsonUrl, internal, base, isTarget) {
|
|
15705
|
-
if (
|
|
15705
|
+
if (process$1.noDeprecation) return;
|
|
15706
15706
|
const pjsonPath = fileURLToPath(packageJsonUrl);
|
|
15707
15707
|
const double = doubleSlashRegEx.exec(isTarget ? target : request$2) !== null;
|
|
15708
|
-
|
|
15708
|
+
process$1.emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request$2}" ${request$2 === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
15709
15709
|
}
|
|
15710
15710
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main$1) {
|
|
15711
|
-
if (
|
|
15711
|
+
if (process$1.noDeprecation) return;
|
|
15712
15712
|
if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
|
|
15713
15713
|
const urlPath = fileURLToPath(url.href);
|
|
15714
15714
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
15715
15715
|
const basePath = fileURLToPath(base);
|
|
15716
|
-
if (!main$1)
|
|
15717
|
-
else if (path.resolve(packagePath, main$1) !== urlPath)
|
|
15716
|
+
if (!main$1) process$1.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15717
|
+
else if (path.resolve(packagePath, main$1) !== urlPath) process$1.emitWarning(`Package ${packagePath} has a "main" field set to "${main$1}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15718
15718
|
}
|
|
15719
15719
|
function tryStatSync(path$1) {
|
|
15720
15720
|
try {
|
|
@@ -15922,11 +15922,11 @@ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
|
|
|
15922
15922
|
return isConditionalSugar;
|
|
15923
15923
|
}
|
|
15924
15924
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
15925
|
-
if (
|
|
15925
|
+
if (process$1.noDeprecation) return;
|
|
15926
15926
|
const pjsonPath = fileURLToPath(pjsonUrl);
|
|
15927
15927
|
if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
|
|
15928
15928
|
emittedPackageWarnings.add(pjsonPath + "|" + match);
|
|
15929
|
-
|
|
15929
|
+
process$1.emitWarning(`Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
|
|
15930
15930
|
}
|
|
15931
15931
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
15932
15932
|
let exports$1 = packageConfig.exports;
|
|
@@ -16411,7 +16411,7 @@ var f$4 = Object.getOwnPropertyNames;
|
|
|
16411
16411
|
var p$1 = Object.getPrototypeOf;
|
|
16412
16412
|
var m$3 = Object.prototype.hasOwnProperty;
|
|
16413
16413
|
var h$1 = (e$8, t$9) => () => (t$9 || e$8((t$9 = { exports: {} }).exports, t$9), t$9.exports);
|
|
16414
|
-
var g$
|
|
16414
|
+
var g$1 = (e$8, t$9, n$6, r$4) => {
|
|
16415
16415
|
if (t$9 && typeof t$9 === "object" || typeof t$9 === "function") for (var i$9 = f$4(t$9), a$13 = 0, o$7 = i$9.length, s$9; a$13 < o$7; a$13++) {
|
|
16416
16416
|
s$9 = i$9[a$13];
|
|
16417
16417
|
if (!m$3.call(e$8, s$9) && s$9 !== n$6) u$6(e$8, s$9, {
|
|
@@ -16421,7 +16421,7 @@ var g$2 = (e$8, t$9, n$6, r$4) => {
|
|
|
16421
16421
|
}
|
|
16422
16422
|
return e$8;
|
|
16423
16423
|
};
|
|
16424
|
-
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$
|
|
16424
|
+
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$1(t$9 || !e$8 || !e$8.__esModule ? u$6(n$6, "default", {
|
|
16425
16425
|
value: e$8,
|
|
16426
16426
|
enumerable: true
|
|
16427
16427
|
}) : n$6, e$8));
|
|
@@ -29100,13 +29100,13 @@ function w$1() {
|
|
|
29100
29100
|
if (i$5) return f$3;
|
|
29101
29101
|
i$5 = 1;
|
|
29102
29102
|
const v$5 = (e$8, r$4) => {
|
|
29103
|
-
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$
|
|
29103
|
+
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$4(e$8, r$4) : p$3(e$8, r$4);
|
|
29104
29104
|
else throw Error("cannot encode number outside of javascript safe integer range");
|
|
29105
29105
|
return r$4;
|
|
29106
29106
|
}, p$3 = (e$8, r$4) => {
|
|
29107
29107
|
r$4[0] = 128;
|
|
29108
29108
|
for (var o$7 = r$4.length; o$7 > 1; o$7--) r$4[o$7 - 1] = e$8 & 255, e$8 = Math.floor(e$8 / 256);
|
|
29109
|
-
}, g$
|
|
29109
|
+
}, g$4 = (e$8, r$4) => {
|
|
29110
29110
|
r$4[0] = 255;
|
|
29111
29111
|
var o$7 = false;
|
|
29112
29112
|
e$8 = e$8 * -1;
|
|
@@ -29164,7 +29164,7 @@ function E() {
|
|
|
29164
29164
|
encode(e$8, t$9) {
|
|
29165
29165
|
if (e$8 || (e$8 = this.block = Buffer.alloc(512), t$9 = 0), t$9 || (t$9 = 0), !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29166
29166
|
const i$9 = this.ctime || this.atime ? 130 : 155, h$6 = L$5(this.path || "", i$9), l$3 = h$6[0], n$6 = h$6[1];
|
|
29167
|
-
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$
|
|
29167
|
+
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$4(e$8, t$9 + 136, 12, this.mtime) || this.needPax, e$8[t$9 + 156] = this[a$13].charCodeAt(0), this.needPax = m$5(e$8, t$9 + 157, 100, this.linkpath) || this.needPax, e$8.write("ustar\x0000", t$9 + 257, 8), this.needPax = m$5(e$8, t$9 + 265, 32, this.uname) || this.needPax, this.needPax = m$5(e$8, t$9 + 297, 32, this.gname) || this.needPax, this.needPax = c$8(e$8, t$9 + 329, 8, this.devmaj) || this.needPax, this.needPax = c$8(e$8, t$9 + 337, 8, this.devmin) || this.needPax, this.needPax = m$5(e$8, t$9 + 345, i$9, n$6) || this.needPax, e$8[t$9 + 475] !== 0 ? this.needPax = m$5(e$8, t$9 + 345, 155, n$6) || this.needPax : (this.needPax = m$5(e$8, t$9 + 345, 130, n$6) || this.needPax, this.needPax = g$4(e$8, t$9 + 476, 12, this.atime) || this.needPax, this.needPax = g$4(e$8, t$9 + 488, 12, this.ctime) || this.needPax);
|
|
29168
29168
|
let S$7 = 256;
|
|
29169
29169
|
for (let p$3 = t$9; p$3 < t$9 + 148; p$3++) S$7 += e$8[p$3];
|
|
29170
29170
|
for (let p$3 = t$9 + 156; p$3 < t$9 + 512; p$3++) S$7 += e$8[p$3];
|
|
@@ -29214,7 +29214,7 @@ function E() {
|
|
|
29214
29214
|
}, d$5 = (s$9, e$8, t$9) => s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*/, ""), o$7 = (s$9, e$8, t$9) => N$6(r$4(s$9, e$8, t$9)), N$6 = (s$9) => s$9 === null ? null : /* @__PURE__ */ new Date(s$9 * 1e3), r$4 = (s$9, e$8, t$9) => s$9[e$8] & 128 ? y$7.parse(s$9.slice(e$8, e$8 + t$9)) : j$6(s$9, e$8, t$9), q$6 = (s$9) => isNaN(s$9) ? null : s$9, j$6 = (s$9, e$8, t$9) => q$6(parseInt(s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v$5 = {
|
|
29215
29215
|
12: 8589934591,
|
|
29216
29216
|
8: 2097151
|
|
29217
|
-
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$
|
|
29217
|
+
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$4 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : c$8(s$9, e$8, t$9, i$9.getTime() / 1e3), A$2 = new Array(156).join("\0"), m$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : (s$9.write(i$9 + A$2, e$8, t$9, "utf8"), i$9.length !== Buffer.byteLength(i$9) || i$9.length > t$9);
|
|
29218
29218
|
return k = B$2, k;
|
|
29219
29219
|
}
|
|
29220
29220
|
var e$3, t$3$1;
|
|
@@ -29366,7 +29366,7 @@ function ft() {
|
|
|
29366
29366
|
const H$8 = typeof process == "object" && process ? process : {
|
|
29367
29367
|
stdout: null,
|
|
29368
29368
|
stderr: null
|
|
29369
|
-
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$
|
|
29369
|
+
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$4 = Symbol("emittedError"), B$2 = Symbol("closed"), Y$3 = Symbol("read"), T$8 = Symbol("flush"), $$2 = Symbol("flushChunk"), f$7 = Symbol("encoding"), c$8 = Symbol("decoder"), M$5 = Symbol("flowing"), S$7 = Symbol("paused"), b$11 = Symbol("resume"), i$9 = Symbol("buffer"), a$13 = Symbol("pipes"), n$6 = Symbol("bufferLength"), j$6 = Symbol("bufferPush"), I$4 = Symbol("bufferShift"), o$7 = Symbol("objectMode"), r$4 = Symbol("destroyed"), P$6 = Symbol("error"), x$5 = Symbol("emitData"), V$4 = Symbol("emitEnd"), N$6 = Symbol("emitEnd2"), p$3 = Symbol("async"), _$7 = Symbol("abort"), O$9 = Symbol("aborted"), E$5 = Symbol("signal"), w$7 = (h$6) => Promise.resolve().then(h$6), J$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K$6 = J$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W$5 = J$5 && Symbol.iterator || Symbol("iterator not implemented"), k$6 = (h$6) => h$6 === "end" || h$6 === "finish" || h$6 === "prefinish", tt$3 = (h$6) => h$6 instanceof ArrayBuffer || typeof h$6 == "object" && h$6.constructor && h$6.constructor.name === "ArrayBuffer" && h$6.byteLength >= 0, et$1 = (h$6) => !Buffer.isBuffer(h$6) && ArrayBuffer.isView(h$6);
|
|
29370
29370
|
class z$6 {
|
|
29371
29371
|
constructor(t$9, e$8, s$9) {
|
|
29372
29372
|
this.src = t$9, this.dest = e$8, this.opts = s$9, this.ondrain = () => t$9[b$11](), e$8.on("drain", this.ondrain);
|
|
@@ -29389,7 +29389,7 @@ function ft() {
|
|
|
29389
29389
|
}
|
|
29390
29390
|
class F$6 extends q$6 {
|
|
29391
29391
|
constructor(t$9) {
|
|
29392
|
-
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$
|
|
29392
|
+
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$4] = null, this.writable = true, this.readable = true, this[n$6] = 0, this[r$4] = false, t$9 && t$9.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[i$9] }), t$9 && t$9.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[a$13] }), this[E$5] = t$9 && t$9.signal, this[O$9] = false, this[E$5] && (this[E$5].addEventListener("abort", () => this[_$7]()), this[E$5].aborted && this[_$7]());
|
|
29393
29393
|
}
|
|
29394
29394
|
get bufferLength() {
|
|
29395
29395
|
return this[n$6];
|
|
@@ -29491,7 +29491,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29491
29491
|
}
|
|
29492
29492
|
on(t$9, e$8) {
|
|
29493
29493
|
const s$9 = super.on(t$9, e$8);
|
|
29494
|
-
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$
|
|
29494
|
+
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$4] && (this[p$3] ? w$7(() => e$8.call(this, this[g$4])) : e$8.call(this, this[g$4])), s$9;
|
|
29495
29495
|
}
|
|
29496
29496
|
get emittedEnd() {
|
|
29497
29497
|
return this[y$7];
|
|
@@ -29508,7 +29508,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29508
29508
|
const u$8 = super.emit("close");
|
|
29509
29509
|
return this.removeAllListeners("close"), u$8;
|
|
29510
29510
|
} else if (t$9 === "error") {
|
|
29511
|
-
this[g$
|
|
29511
|
+
this[g$4] = e$8, super.emit(P$6, e$8);
|
|
29512
29512
|
const u$8 = !this[E$5] || this.listeners("error").length ? super.emit("error", e$8) : false;
|
|
29513
29513
|
return this[d$5](), u$8;
|
|
29514
29514
|
} else if (t$9 === "resume") {
|
|
@@ -30032,18 +30032,18 @@ while (this[_$7](this[B$2]()));
|
|
|
30032
30032
|
});
|
|
30033
30033
|
if (this[u$8]) return Promise.resolve({ done: true });
|
|
30034
30034
|
let i$9 = null, l$3 = null;
|
|
30035
|
-
const f$7 = (g$
|
|
30036
|
-
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$
|
|
30037
|
-
}, A$2 = (g$
|
|
30035
|
+
const f$7 = (g$4) => {
|
|
30036
|
+
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$4);
|
|
30037
|
+
}, A$2 = (g$4) => {
|
|
30038
30038
|
this.removeListener("error", f$7), this.removeListener("end", O$9), this.pause(), i$9({
|
|
30039
|
-
value: g$
|
|
30039
|
+
value: g$4,
|
|
30040
30040
|
done: !!this[u$8]
|
|
30041
30041
|
});
|
|
30042
30042
|
}, O$9 = () => {
|
|
30043
30043
|
this.removeListener("error", f$7), this.removeListener("data", A$2), i$9({ done: true });
|
|
30044
30044
|
}, W$5 = () => f$7(/* @__PURE__ */ new Error("stream destroyed"));
|
|
30045
|
-
return new Promise((g$
|
|
30046
|
-
l$3 = z$6, i$9 = g$
|
|
30045
|
+
return new Promise((g$4, z$6) => {
|
|
30046
|
+
l$3 = z$6, i$9 = g$4, this.once(n$6, W$5), this.once("error", f$7), this.once("end", O$9), this.once("data", A$2);
|
|
30047
30047
|
});
|
|
30048
30048
|
} };
|
|
30049
30049
|
}
|
|
@@ -30077,11 +30077,11 @@ function J() {
|
|
|
30077
30077
|
return "ZlibError";
|
|
30078
30078
|
}
|
|
30079
30079
|
}
|
|
30080
|
-
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$
|
|
30080
|
+
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$4 = Symbol("ended");
|
|
30081
30081
|
class x$5 extends L$5 {
|
|
30082
30082
|
constructor(s$9, e$8) {
|
|
30083
30083
|
if (!s$9 || typeof s$9 != "object") throw new TypeError("invalid options for ZlibBase constructor");
|
|
30084
|
-
super(s$9), this[f$7] = false, this[g$
|
|
30084
|
+
super(s$9), this[f$7] = false, this[g$4] = false, this[Z$4] = s$9, this[p$3] = s$9.flush, this[I$4] = s$9.finishFlush;
|
|
30085
30085
|
try {
|
|
30086
30086
|
this[t$9] = new z$6[e$8](s$9);
|
|
30087
30087
|
} catch (i$9) {
|
|
@@ -30101,10 +30101,10 @@ function J() {
|
|
|
30101
30101
|
this.ended || (typeof s$9 != "number" && (s$9 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$9 })));
|
|
30102
30102
|
}
|
|
30103
30103
|
end(s$9, e$8, i$9) {
|
|
30104
|
-
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$
|
|
30104
|
+
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$4] = true, super.end(null, null, i$9);
|
|
30105
30105
|
}
|
|
30106
30106
|
get ended() {
|
|
30107
|
-
return this[g$
|
|
30107
|
+
return this[g$4];
|
|
30108
30108
|
}
|
|
30109
30109
|
write(s$9, e$8, i$9) {
|
|
30110
30110
|
if (typeof e$8 == "function" && (i$9 = e$8, e$8 = "utf8"), typeof s$9 == "string" && (s$9 = n$6.from(s$9, e$8)), this[f$7]) return;
|
|
@@ -30222,7 +30222,7 @@ var O$1, F$2;
|
|
|
30222
30222
|
function rt() {
|
|
30223
30223
|
if (F$2) return O$1;
|
|
30224
30224
|
F$2 = 1;
|
|
30225
|
-
const P$6 = c$4(), $$2 = E(), v$5 = nt, W$5 = c$3(), G$5 = 1024 * 1024, k$6 = u$3(), C$5 = f$2(), x$5 = J(), { nextTick: j$6 } = nt$1, B$2 = Buffer.from([31, 139]), h$6 = Symbol("state"), d$5 = Symbol("writeEntry"), a$13 = Symbol("readEntry"), I$4 = Symbol("nextEntry"), U$5 = Symbol("processEntry"), l$3 = Symbol("extendedHeader"), y$7 = Symbol("globalExtendedHeader"), c$8 = Symbol("meta"), H$8 = Symbol("emitMeta"), n$6 = Symbol("buffer"), f$7 = Symbol("queue"), u$8 = Symbol("ended"), L$5 = Symbol("emittedEnd"), b$11 = Symbol("emit"), r$4 = Symbol("unzip"), _$7 = Symbol("consumeChunk"), g$
|
|
30225
|
+
const P$6 = c$4(), $$2 = E(), v$5 = nt, W$5 = c$3(), G$5 = 1024 * 1024, k$6 = u$3(), C$5 = f$2(), x$5 = J(), { nextTick: j$6 } = nt$1, B$2 = Buffer.from([31, 139]), h$6 = Symbol("state"), d$5 = Symbol("writeEntry"), a$13 = Symbol("readEntry"), I$4 = Symbol("nextEntry"), U$5 = Symbol("processEntry"), l$3 = Symbol("extendedHeader"), y$7 = Symbol("globalExtendedHeader"), c$8 = Symbol("meta"), H$8 = Symbol("emitMeta"), n$6 = Symbol("buffer"), f$7 = Symbol("queue"), u$8 = Symbol("ended"), L$5 = Symbol("emittedEnd"), b$11 = Symbol("emit"), r$4 = Symbol("unzip"), _$7 = Symbol("consumeChunk"), g$4 = Symbol("consumeChunkSub"), q$6 = Symbol("consumeBody"), z$6 = Symbol("consumeMeta"), Y$3 = Symbol("consumeHeader"), N$6 = Symbol("consuming"), D$4 = Symbol("bufferConcat"), M$5 = Symbol("maybeEnd"), S$7 = Symbol("writing"), m$5 = Symbol("aborted"), T$8 = Symbol("onDone"), E$1$1 = Symbol("sawValidEntry"), R$7 = Symbol("sawNullBlock"), A$2 = Symbol("sawEOF"), V$4 = Symbol("closeStream"), K$6 = (X$4) => true;
|
|
30226
30226
|
return O$1 = P$6(class extends v$5 {
|
|
30227
30227
|
constructor(t$9) {
|
|
30228
30228
|
t$9 = t$9 || {}, super(t$9), this.file = t$9.file || "", this[E$1$1] = null, this.on(T$8, (s$9) => {
|
|
@@ -30359,17 +30359,17 @@ while (this[U$5](this[f$7].shift()));
|
|
|
30359
30359
|
if (this[N$6] = true, this[n$6]) {
|
|
30360
30360
|
this[D$4](t$9);
|
|
30361
30361
|
const i$9 = this[n$6];
|
|
30362
|
-
this[n$6] = null, this[g$
|
|
30363
|
-
} else this[g$
|
|
30362
|
+
this[n$6] = null, this[g$4](i$9);
|
|
30363
|
+
} else this[g$4](t$9);
|
|
30364
30364
|
for (; this[n$6] && this[n$6].length >= 512 && !this[m$5] && !this[A$2];) {
|
|
30365
30365
|
const i$9 = this[n$6];
|
|
30366
|
-
this[n$6] = null, this[g$
|
|
30366
|
+
this[n$6] = null, this[g$4](i$9);
|
|
30367
30367
|
}
|
|
30368
30368
|
this[N$6] = false;
|
|
30369
30369
|
}
|
|
30370
30370
|
(!this[n$6] || this[u$8]) && this[M$5]();
|
|
30371
30371
|
}
|
|
30372
|
-
[g$
|
|
30372
|
+
[g$4](t$9) {
|
|
30373
30373
|
let i$9 = 0;
|
|
30374
30374
|
const s$9 = t$9.length;
|
|
30375
30375
|
for (; i$9 + 512 <= s$9 && !this[m$5] && !this[A$2];) switch (this[h$6]) {
|
|
@@ -30407,7 +30407,7 @@ function X() {
|
|
|
30407
30407
|
j$6.oncomplete = G$5, c$8.writeBuffers(e$8, i$9, $$2, j$6);
|
|
30408
30408
|
};
|
|
30409
30409
|
}
|
|
30410
|
-
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$
|
|
30410
|
+
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$4 = Symbol("_ended"), s$9 = Symbol("_fd"), B$2 = Symbol("_finished"), o$7 = Symbol("_flags"), x$5 = Symbol("_flush"), z$6 = Symbol("_handleChunk"), T$8 = Symbol("_makeBuf"), q$6 = Symbol("_mode"), E$5 = Symbol("_needDrain"), d$5 = Symbol("_onerror"), y$7 = Symbol("_onopen"), W$5 = Symbol("_onread"), _$7 = Symbol("_onwrite"), a$13 = Symbol("_open"), l$3 = Symbol("_path"), u$8 = Symbol("_pos"), n$6 = Symbol("_queue"), S$7 = Symbol("_read"), M$5 = Symbol("_readSize"), f$7 = Symbol("_reading"), k$6 = Symbol("_remain"), N$6 = Symbol("_size"), C$5 = Symbol("_write"), b$11 = Symbol("_writing"), F$6 = Symbol("_defaultFlag"), p$3 = Symbol("_errored");
|
|
30411
30411
|
class D$4 extends H$8 {
|
|
30412
30412
|
constructor(t$9, e$8) {
|
|
30413
30413
|
if (e$8 = e$8 || {}, super(e$8), this.readable = true, this.writable = false, typeof t$9 != "string") throw new TypeError("path must be a string");
|
|
@@ -30504,7 +30504,7 @@ function X() {
|
|
|
30504
30504
|
}
|
|
30505
30505
|
class O$9 extends I$4 {
|
|
30506
30506
|
constructor(t$9, e$8) {
|
|
30507
|
-
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$
|
|
30507
|
+
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$4] = false, this[E$5] = false, this[n$6] = [], this[l$3] = t$9, this[s$9] = typeof e$8.fd == "number" ? e$8.fd : null, this[q$6] = e$8.mode === void 0 ? 438 : e$8.mode, this[u$8] = typeof e$8.start == "number" ? e$8.start : null, this[m$5] = typeof e$8.autoClose == "boolean" ? e$8.autoClose : true;
|
|
30508
30508
|
const i$9 = this[u$8] !== null ? "r+" : "w";
|
|
30509
30509
|
this[F$6] = e$8.flags === void 0, this[o$7] = this[F$6] ? i$9 : e$8.flags, this[s$9] === null && this[a$13]();
|
|
30510
30510
|
}
|
|
@@ -30531,19 +30531,19 @@ function X() {
|
|
|
30531
30531
|
this[F$6] && this[o$7] === "r+" && t$9 && t$9.code === "ENOENT" ? (this[o$7] = "w", this[a$13]()) : t$9 ? this[d$5](t$9) : (this[s$9] = e$8, this.emit("open", e$8), this[x$5]());
|
|
30532
30532
|
}
|
|
30533
30533
|
end(t$9, e$8) {
|
|
30534
|
-
return t$9 && this.write(t$9, e$8), this[g$
|
|
30534
|
+
return t$9 && this.write(t$9, e$8), this[g$4] = true, !this[b$11] && !this[n$6].length && typeof this[s$9] == "number" && this[_$7](null, 0), this;
|
|
30535
30535
|
}
|
|
30536
30536
|
write(t$9, e$8) {
|
|
30537
|
-
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$
|
|
30537
|
+
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$4] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), false) : this[s$9] === null || this[b$11] || this[n$6].length ? (this[n$6].push(t$9), this[E$5] = true, false) : (this[b$11] = true, this[C$5](t$9), true);
|
|
30538
30538
|
}
|
|
30539
30539
|
[C$5](t$9) {
|
|
30540
30540
|
r$4.write(this[s$9], t$9, 0, t$9.length, this[u$8], (e$8, i$9) => this[_$7](e$8, i$9));
|
|
30541
30541
|
}
|
|
30542
30542
|
[_$7](t$9, e$8) {
|
|
30543
|
-
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$
|
|
30543
|
+
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$4] && !this[B$2] ? (this[B$2] = true, this[h$6](), this.emit("finish")) : this[E$5] && (this[E$5] = false, this.emit("drain"))));
|
|
30544
30544
|
}
|
|
30545
30545
|
[x$5]() {
|
|
30546
|
-
if (this[n$6].length === 0) this[g$
|
|
30546
|
+
if (this[n$6].length === 0) this[g$4] && this[_$7](null, 0);
|
|
30547
30547
|
else if (this[n$6].length === 1) this[C$5](this[n$6].pop());
|
|
30548
30548
|
else {
|
|
30549
30549
|
const t$9 = this[n$6];
|
|
@@ -30819,7 +30819,7 @@ var R$2;
|
|
|
30819
30819
|
function H() {
|
|
30820
30820
|
if (R$2) return r$1.exports;
|
|
30821
30821
|
R$2 = 1;
|
|
30822
|
-
const g$
|
|
30822
|
+
const g$4 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
|
|
30823
30823
|
class D$4 extends Error {
|
|
30824
30824
|
constructor(e$8, s$9) {
|
|
30825
30825
|
super("Cannot extract through symbolic link"), this.path = s$9, this.symlink = e$8;
|
|
@@ -30848,7 +30848,7 @@ function H() {
|
|
|
30848
30848
|
};
|
|
30849
30849
|
if (h$6 && v$5(h$6, n$6) === true) return w$7();
|
|
30850
30850
|
if (n$6 === d$5) return I$4(n$6, w$7);
|
|
30851
|
-
if (u$8) return g$
|
|
30851
|
+
if (u$8) return g$4(n$6, { mode: c$8 }).then((k$6) => w$7(null, k$6), w$7);
|
|
30852
30852
|
C$5(d$5, y$7(p$3.relative(d$5, n$6)).split("/"), c$8, h$6, m$5, d$5, null, w$7);
|
|
30853
30853
|
};
|
|
30854
30854
|
const C$5 = (n$6, e$8, s$9, r$4, c$8, f$7, t$9, i$9) => {
|
|
@@ -30886,7 +30886,7 @@ function H() {
|
|
|
30886
30886
|
};
|
|
30887
30887
|
if (m$5 && v$5(m$5, n$6) === true) return d$5();
|
|
30888
30888
|
if (n$6 === h$6) return L$5(h$6), d$5();
|
|
30889
|
-
if (a$13) return d$5(g$
|
|
30889
|
+
if (a$13) return d$5(g$4.sync(n$6, r$4));
|
|
30890
30890
|
const $$2 = y$7(p$3.relative(h$6, n$6)).split("/");
|
|
30891
30891
|
let S$7 = null;
|
|
30892
30892
|
for (let k$6 = $$2.shift(), o$7 = h$6; k$6 && (o$7 += "/" + k$6); k$6 = $$2.shift()) if (o$7 = y$7(p$3.resolve(o$7)), !v$5(m$5, o$7)) try {
|
|
@@ -30939,7 +30939,7 @@ var u$1, f$1;
|
|
|
30939
30939
|
function z() {
|
|
30940
30940
|
if (f$1) return u$1;
|
|
30941
30941
|
f$1 = 1;
|
|
30942
|
-
const l$3 = j$1, m$5 = a$1(), g$
|
|
30942
|
+
const l$3 = j$1, m$5 = a$1(), g$4 = s(), { join: d$5 } = H$2, q$6 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
|
|
30943
30943
|
return u$1 = () => {
|
|
30944
30944
|
const i$9 = /* @__PURE__ */ new Map(), c$8 = /* @__PURE__ */ new Map(), v$5 = (e$8) => e$8.split("/").slice(0, -1).reduce((o$7, r$4) => (o$7.length && (r$4 = d$5(o$7[o$7.length - 1], r$4)), o$7.push(r$4 || "/"), o$7), []), a$13 = /* @__PURE__ */ new Set(), w$7 = (e$8) => {
|
|
30945
30945
|
const s$9 = c$8.get(e$8);
|
|
@@ -30965,7 +30965,7 @@ function z() {
|
|
|
30965
30965
|
return {
|
|
30966
30966
|
check: h$6,
|
|
30967
30967
|
reserve: (e$8, s$9) => {
|
|
30968
|
-
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$
|
|
30968
|
+
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$4(d$5(m$5(r$4))).toLowerCase());
|
|
30969
30969
|
const o$7 = new Set(e$8.map((r$4) => v$5(r$4)).reduce((r$4, t$9) => r$4.concat(t$9)));
|
|
30970
30970
|
return c$8.set(s$9, {
|
|
30971
30971
|
dirs: o$7,
|
|
@@ -31006,7 +31006,7 @@ var G, y;
|
|
|
31006
31006
|
function Os() {
|
|
31007
31007
|
if (y) return G;
|
|
31008
31008
|
y = 1;
|
|
31009
|
-
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$6 = Symbol("ended"), A$2 = Symbol("maybeClose"), x$5 = Symbol("skip"), E$5 = Symbol("doChown"), R$7 = Symbol("uid"), _$7 = Symbol("gid"), g$
|
|
31009
|
+
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$6 = Symbol("ended"), A$2 = Symbol("maybeClose"), x$5 = Symbol("skip"), E$5 = Symbol("doChown"), R$7 = Symbol("uid"), _$7 = Symbol("gid"), g$4 = Symbol("checkedCwd"), X$1$1 = Ds, J$5 = F(), C$5 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a$13, s$9) => {
|
|
31010
31010
|
if (!C$5) return r$4.unlink(a$13, s$9);
|
|
31011
31011
|
const i$9 = a$13 + ".DELETE." + X$1$1.randomBytes(16).toString("hex");
|
|
31012
31012
|
r$4.rename(a$13, i$9, (e$8) => {
|
|
@@ -31030,7 +31030,7 @@ function Os() {
|
|
|
31030
31030
|
constructor(s$9) {
|
|
31031
31031
|
if (s$9 || (s$9 = {}), s$9.ondone = (i$9) => {
|
|
31032
31032
|
this[P$6] = true, this[A$2]();
|
|
31033
|
-
}, super(s$9), this[g$
|
|
31033
|
+
}, super(s$9), this[g$4] = false, this.reservations = ts(), this.transform = typeof s$9.transform == "function" ? s$9.transform : null, this.writable = true, this.readable = false, this[$$2] = 0, this[P$6] = false, this.dirCache = s$9.dirCache || /* @__PURE__ */ new Map(), typeof s$9.uid == "number" || typeof s$9.gid == "number") {
|
|
31034
31034
|
if (typeof s$9.uid != "number" || typeof s$9.gid != "number") throw new TypeError("cannot set owner without number uid and gid");
|
|
31035
31035
|
if (s$9.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
|
31036
31036
|
this.uid = s$9.uid, this.gid = s$9.gid, this.setOwner = true;
|
|
@@ -31221,7 +31221,7 @@ function Os() {
|
|
|
31221
31221
|
this[m$5](h$6, s$9), e$8();
|
|
31222
31222
|
return;
|
|
31223
31223
|
}
|
|
31224
|
-
this[g$
|
|
31224
|
+
this[g$4] = true, o$7();
|
|
31225
31225
|
});
|
|
31226
31226
|
}, o$7 = () => {
|
|
31227
31227
|
if (s$9.absolute !== this.cwd) {
|
|
@@ -31253,7 +31253,7 @@ function Os() {
|
|
|
31253
31253
|
as(s$9.absolute, (n$6) => this[d$5](n$6, s$9, e$8));
|
|
31254
31254
|
});
|
|
31255
31255
|
};
|
|
31256
|
-
this[g$
|
|
31256
|
+
this[g$4] ? o$7() : t$9();
|
|
31257
31257
|
}
|
|
31258
31258
|
[d$5](s$9, i$9, e$8) {
|
|
31259
31259
|
if (s$9) {
|
|
@@ -31288,10 +31288,10 @@ function Os() {
|
|
|
31288
31288
|
return super[d$5](s$9, i$9, () => {});
|
|
31289
31289
|
}
|
|
31290
31290
|
[q$6](s$9) {
|
|
31291
|
-
if (this[v$5](s$9), !this[g$
|
|
31291
|
+
if (this[v$5](s$9), !this[g$4]) {
|
|
31292
31292
|
const o$7 = this[b$11](this.cwd, this.dmode);
|
|
31293
31293
|
if (o$7) return this[m$5](o$7, s$9);
|
|
31294
|
-
this[g$
|
|
31294
|
+
this[g$4] = true;
|
|
31295
31295
|
}
|
|
31296
31296
|
if (s$9.absolute !== this.cwd) {
|
|
31297
31297
|
const o$7 = l$3(w$7.dirname(s$9.absolute));
|
|
@@ -52993,10 +52993,12 @@ function getFileRouterContent(ts) {
|
|
|
52993
52993
|
*/
|
|
52994
52994
|
|
|
52995
52995
|
// Composables
|
|
52996
|
-
import { createRouter, createWebHistory } from 'vue-router
|
|
52996
|
+
import { createRouter, createWebHistory } from 'vue-router'
|
|
52997
|
+
import { routes } from 'vue-router/auto-routes'
|
|
52997
52998
|
|
|
52998
52999
|
const router = createRouter({
|
|
52999
53000
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
53001
|
+
routes,
|
|
53000
53002
|
})
|
|
53001
53003
|
|
|
53002
53004
|
export default router
|
|
@@ -53403,7 +53405,7 @@ function isInsideContainer() {
|
|
|
53403
53405
|
//#endregion
|
|
53404
53406
|
//#region ../../node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/index.js
|
|
53405
53407
|
const isWsl = () => {
|
|
53406
|
-
if (
|
|
53408
|
+
if (process$1.platform !== "linux") return false;
|
|
53407
53409
|
if (os.release().toLowerCase().includes("microsoft")) {
|
|
53408
53410
|
if (isInsideContainer()) return false;
|
|
53409
53411
|
return true;
|
|
@@ -53414,12 +53416,12 @@ const isWsl = () => {
|
|
|
53414
53416
|
return false;
|
|
53415
53417
|
}
|
|
53416
53418
|
};
|
|
53417
|
-
var is_wsl_default =
|
|
53419
|
+
var is_wsl_default = process$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
53418
53420
|
|
|
53419
53421
|
//#endregion
|
|
53420
53422
|
//#region ../../node_modules/.pnpm/powershell-utils@0.1.0/node_modules/powershell-utils/index.js
|
|
53421
53423
|
const execFile$2 = promisify(childProcess.execFile);
|
|
53422
|
-
const powerShellPath$1 = () => `${
|
|
53424
|
+
const powerShellPath$1 = () => `${process$1.env.SYSTEMROOT || process$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
53423
53425
|
const executePowerShell = async (command, options$1 = {}) => {
|
|
53424
53426
|
const { powerShellPath: psPath, ...execFileOptions } = options$1;
|
|
53425
53427
|
const encodedCommand = executePowerShell.encodeCommand(command);
|
|
@@ -53520,7 +53522,7 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
53520
53522
|
//#region ../../node_modules/.pnpm/default-browser-id@5.0.0/node_modules/default-browser-id/index.js
|
|
53521
53523
|
const execFileAsync$3 = promisify(execFile);
|
|
53522
53524
|
async function defaultBrowserId() {
|
|
53523
|
-
if (
|
|
53525
|
+
if (process$1.platform !== "darwin") throw new Error("macOS only");
|
|
53524
53526
|
const { stdout: stdout$1 } = await execFileAsync$3("defaults", [
|
|
53525
53527
|
"read",
|
|
53526
53528
|
"com.apple.LaunchServices/com.apple.launchservices.secure",
|
|
@@ -53533,7 +53535,7 @@ async function defaultBrowserId() {
|
|
|
53533
53535
|
//#region ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
53534
53536
|
const execFileAsync$2 = promisify(execFile);
|
|
53535
53537
|
async function runAppleScript(script, { humanReadableOutput = true, signal } = {}) {
|
|
53536
|
-
if (
|
|
53538
|
+
if (process$1.platform !== "darwin") throw new Error("macOS only");
|
|
53537
53539
|
const outputArguments = humanReadableOutput ? [] : ["-ss"];
|
|
53538
53540
|
const execOptions = {};
|
|
53539
53541
|
if (signal) execOptions.signal = signal;
|
|
@@ -53642,14 +53644,14 @@ async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
|
|
|
53642
53644
|
const execFileAsync = promisify(execFile);
|
|
53643
53645
|
const titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x$5) => x$5.toUpperCase());
|
|
53644
53646
|
async function defaultBrowser() {
|
|
53645
|
-
if (
|
|
53647
|
+
if (process$1.platform === "darwin") {
|
|
53646
53648
|
const id = await defaultBrowserId();
|
|
53647
53649
|
return {
|
|
53648
53650
|
name: await bundleName(id),
|
|
53649
53651
|
id
|
|
53650
53652
|
};
|
|
53651
53653
|
}
|
|
53652
|
-
if (
|
|
53654
|
+
if (process$1.platform === "linux") {
|
|
53653
53655
|
const { stdout: stdout$1 } = await execFileAsync("xdg-mime", [
|
|
53654
53656
|
"query",
|
|
53655
53657
|
"default",
|
|
@@ -53661,13 +53663,13 @@ async function defaultBrowser() {
|
|
|
53661
53663
|
id
|
|
53662
53664
|
};
|
|
53663
53665
|
}
|
|
53664
|
-
if (
|
|
53666
|
+
if (process$1.platform === "win32") return defaultBrowser$1();
|
|
53665
53667
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
53666
53668
|
}
|
|
53667
53669
|
|
|
53668
53670
|
//#endregion
|
|
53669
53671
|
//#region ../../node_modules/.pnpm/is-in-ssh@1.0.0/node_modules/is-in-ssh/index.js
|
|
53670
|
-
const isInSsh = Boolean(
|
|
53672
|
+
const isInSsh = Boolean(process$1.env.SSH_CONNECTION || process$1.env.SSH_CLIENT || process$1.env.SSH_TTY);
|
|
53671
53673
|
var is_in_ssh_default = isInSsh;
|
|
53672
53674
|
|
|
53673
53675
|
//#endregion
|
|
@@ -53675,7 +53677,7 @@ var is_in_ssh_default = isInSsh;
|
|
|
53675
53677
|
const fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
53676
53678
|
const __dirname$1 = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
53677
53679
|
const localXdgOpenPath = path.join(__dirname$1, "xdg-open");
|
|
53678
|
-
const { platform, arch } =
|
|
53680
|
+
const { platform, arch } = process$1;
|
|
53679
53681
|
const tryEachApp = async (apps$1, opener) => {
|
|
53680
53682
|
if (apps$1.length === 0) return;
|
|
53681
53683
|
const errors$1 = [];
|
|
@@ -53788,7 +53790,7 @@ const baseOpen = async (options$1) => {
|
|
|
53788
53790
|
await fs$1.access(localXdgOpenPath, constants.X_OK);
|
|
53789
53791
|
exeLocalXdgOpen = true;
|
|
53790
53792
|
} catch {}
|
|
53791
|
-
command =
|
|
53793
|
+
command = process$1.versions.electron ?? (platform === "android" || isBundled || !exeLocalXdgOpen) ? "xdg-open" : localXdgOpenPath;
|
|
53792
53794
|
}
|
|
53793
53795
|
if (appArguments.length > 0) cliArguments.push(...appArguments);
|
|
53794
53796
|
if (!options$1.wait) {
|
|
@@ -54307,51 +54309,51 @@ var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4
|
|
|
54307
54309
|
//#endregion
|
|
54308
54310
|
//#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
|
|
54309
54311
|
var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
|
|
54310
|
-
const isWindows =
|
|
54312
|
+
const isWindows = process$1.platform === "win32";
|
|
54311
54313
|
const readRc = (filePath) => {
|
|
54312
54314
|
try {
|
|
54313
54315
|
return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
|
|
54314
54316
|
} catch {}
|
|
54315
54317
|
};
|
|
54316
|
-
const getEnvNpmPrefix = () => Object.keys(
|
|
54318
|
+
const getEnvNpmPrefix = () => Object.keys(process$1.env).reduce((prefix$1, name) => /^npm_config_prefix$/i.test(name) ? process$1.env[name] : prefix$1, void 0);
|
|
54317
54319
|
const getGlobalNpmrc = () => {
|
|
54318
|
-
if (isWindows &&
|
|
54319
|
-
if (
|
|
54320
|
-
const homebrewPrefix =
|
|
54320
|
+
if (isWindows && process$1.env.APPDATA) return path.join(process$1.env.APPDATA, "/npm/etc/npmrc");
|
|
54321
|
+
if (process$1.execPath.includes("/Cellar/node")) {
|
|
54322
|
+
const homebrewPrefix = process$1.execPath.slice(0, process$1.execPath.indexOf("/Cellar/node"));
|
|
54321
54323
|
return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
|
|
54322
54324
|
}
|
|
54323
|
-
if (
|
|
54324
|
-
const installDir = path.dirname(path.dirname(
|
|
54325
|
+
if (process$1.execPath.endsWith("/bin/node")) {
|
|
54326
|
+
const installDir = path.dirname(path.dirname(process$1.execPath));
|
|
54325
54327
|
return path.join(installDir, "/etc/npmrc");
|
|
54326
54328
|
}
|
|
54327
54329
|
};
|
|
54328
54330
|
const getDefaultNpmPrefix = () => {
|
|
54329
54331
|
if (isWindows) {
|
|
54330
|
-
const { APPDATA } =
|
|
54331
|
-
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(
|
|
54332
|
+
const { APPDATA } = process$1.env;
|
|
54333
|
+
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(process$1.execPath);
|
|
54332
54334
|
}
|
|
54333
|
-
return path.dirname(path.dirname(
|
|
54335
|
+
return path.dirname(path.dirname(process$1.execPath));
|
|
54334
54336
|
};
|
|
54335
54337
|
const getNpmPrefix = () => {
|
|
54336
54338
|
const envPrefix = getEnvNpmPrefix();
|
|
54337
54339
|
if (envPrefix) return envPrefix;
|
|
54338
54340
|
const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
|
|
54339
54341
|
if (homePrefix) return homePrefix;
|
|
54340
|
-
if (
|
|
54342
|
+
if (process$1.env.PREFIX) return process$1.env.PREFIX;
|
|
54341
54343
|
const globalPrefix = readRc(getGlobalNpmrc());
|
|
54342
54344
|
if (globalPrefix) return globalPrefix;
|
|
54343
54345
|
return getDefaultNpmPrefix();
|
|
54344
54346
|
};
|
|
54345
54347
|
const npmPrefix = path.resolve(getNpmPrefix());
|
|
54346
54348
|
const getYarnWindowsDirectory = () => {
|
|
54347
|
-
if (isWindows &&
|
|
54348
|
-
const dir = path.join(
|
|
54349
|
+
if (isWindows && process$1.env.LOCALAPPDATA) {
|
|
54350
|
+
const dir = path.join(process$1.env.LOCALAPPDATA, "Yarn");
|
|
54349
54351
|
if (fs.existsSync(dir)) return dir;
|
|
54350
54352
|
}
|
|
54351
54353
|
return false;
|
|
54352
54354
|
};
|
|
54353
54355
|
const getYarnPrefix = () => {
|
|
54354
|
-
if (
|
|
54356
|
+
if (process$1.env.PREFIX) return process$1.env.PREFIX;
|
|
54355
54357
|
const windowsPrefix = getYarnWindowsDirectory();
|
|
54356
54358
|
if (windowsPrefix) return windowsPrefix;
|
|
54357
54359
|
const configPrefix = path.join(os.homedir(), ".config/yarn");
|
|
@@ -56056,7 +56058,7 @@ function commandUpgradeFabric(pkgName) {
|
|
|
56056
56058
|
|
|
56057
56059
|
//#endregion
|
|
56058
56060
|
//#region package.json
|
|
56059
|
-
var version = "0.0.10-beta.
|
|
56061
|
+
var version = "0.0.10-beta.9";
|
|
56060
56062
|
|
|
56061
56063
|
//#endregion
|
|
56062
56064
|
//#region src/commands/docs.ts
|