brsh 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/bin/brsh-shell.js +102 -7
- package/dist/shell.es.js +373 -283
- package/dist/shell.es.js.map +1 -1
- package/dist/shell.min.js +3 -3
- package/dist/shell.min.js.map +1 -1
- package/dist/terminal.es.js +332 -242
- package/dist/terminal.es.js.map +1 -1
- package/dist/terminal.min.js +6 -6
- package/dist/terminal.min.js.map +1 -1
- package/lib/ScriptCommand.js +82 -39
- package/lib/local/index.js +2 -1
- package/lib/local/read.js +10 -0
- package/lib/local/set.js +102 -0
- package/package.json +1 -1
- package/test/local-commands.test.js +64 -0
package/dist/terminal.es.js
CHANGED
|
@@ -950,7 +950,7 @@ var g, _, v, y, b, x, S, C, w, T, E = e((() => {
|
|
|
950
950
|
super(t, n), this.script = e, this.source = r;
|
|
951
951
|
}
|
|
952
952
|
get captureInput() {
|
|
953
|
-
return
|
|
953
|
+
return !!(this.sandbox && this.sandbox.runningCommand && this.sandbox.runningCommand.captureInput);
|
|
954
954
|
}
|
|
955
955
|
onInput(e) {
|
|
956
956
|
this.sandbox && this.sandbox.onInput(e);
|
|
@@ -963,7 +963,11 @@ var g, _, v, y, b, x, S, C, w, T, E = e((() => {
|
|
|
963
963
|
this.sandbox = new r.shell({
|
|
964
964
|
cwd: this.context.fs.cwd,
|
|
965
965
|
...e
|
|
966
|
-
}), this.sandbox.context.source(this.context), this.sandbox.on("stdOut", (e) =>
|
|
966
|
+
}), this.sandbox.context.source(this.context), this.sandbox.on("stdOut", (e) => {
|
|
967
|
+
this.stdOut = e, this.flush();
|
|
968
|
+
}), this.sandbox.on("stdErr", (e) => {
|
|
969
|
+
this.stdErr = e, this.flush();
|
|
970
|
+
}), this._scriptFunctions = {};
|
|
967
971
|
let t = this.script.split(/\r?\n/);
|
|
968
972
|
if (!a(t[0])) {
|
|
969
973
|
let e = t[0].startsWith("#!") ? t[0].slice(2).split(/\s/)[0] : t[0];
|
|
@@ -972,6 +976,7 @@ var g, _, v, y, b, x, S, C, w, T, E = e((() => {
|
|
|
972
976
|
let n = this._parseLines(t.slice(1));
|
|
973
977
|
return this._executeNodes(n).catch((e) => {
|
|
974
978
|
if (e && e.__type === "return") this.sandbox.lastCode = e.code;
|
|
979
|
+
else if (e && e.__type === "errexit") this.sandbox.lastCode = e.code;
|
|
975
980
|
else return Promise.reject(e);
|
|
976
981
|
}).then(() => {
|
|
977
982
|
this.exitCode = this.sandbox.lastCode, this.source && this.context.source(this.sandbox.context);
|
|
@@ -1018,29 +1023,37 @@ var g, _, v, y, b, x, S, C, w, T, E = e((() => {
|
|
|
1018
1023
|
return t;
|
|
1019
1024
|
}
|
|
1020
1025
|
_parseIf(e, t) {
|
|
1021
|
-
let n = e
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1026
|
+
let n = (e) => e.replace(/^(?:if|elif)\s+/, "").replace(/\s*;\s*then\s*$/, "").replace(/\s+then\s*$/, "").trim(), r = [{
|
|
1027
|
+
condition: n(e[t].trim()),
|
|
1028
|
+
bodyLines: []
|
|
1029
|
+
}], i = [], a = r[0], o = !1, s = 1, c = t + 1;
|
|
1030
|
+
for (c < e.length && e[c].trim() === "then" && c++; c < e.length;) {
|
|
1031
|
+
let t = e[c].trim();
|
|
1032
|
+
if ((t.startsWith("if ") || t === "if") && s++, t === "fi" && (s--, s === 0)) {
|
|
1033
|
+
c++;
|
|
1028
1034
|
break;
|
|
1029
1035
|
}
|
|
1030
|
-
if (
|
|
1031
|
-
|
|
1036
|
+
if (s === 1 && t.startsWith("elif ")) {
|
|
1037
|
+
let i = {
|
|
1038
|
+
condition: n(t),
|
|
1039
|
+
bodyLines: []
|
|
1040
|
+
};
|
|
1041
|
+
r.push(i), a = i, c++, c < e.length && e[c].trim() === "then" && c++;
|
|
1032
1042
|
continue;
|
|
1033
1043
|
}
|
|
1034
|
-
|
|
1044
|
+
if (s === 1 && t === "else") {
|
|
1045
|
+
o = !0, c++;
|
|
1046
|
+
continue;
|
|
1047
|
+
}
|
|
1048
|
+
o ? i.push(e[c]) : a.bodyLines.push(e[c]), c++;
|
|
1035
1049
|
}
|
|
1036
1050
|
return {
|
|
1037
1051
|
node: {
|
|
1038
1052
|
type: "if",
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
elseLines: a
|
|
1053
|
+
clauses: r,
|
|
1054
|
+
elseLines: i
|
|
1042
1055
|
},
|
|
1043
|
-
consumed:
|
|
1056
|
+
consumed: c - t
|
|
1044
1057
|
};
|
|
1045
1058
|
}
|
|
1046
1059
|
_parseWhile(e, t) {
|
|
@@ -1096,8 +1109,16 @@ var g, _, v, y, b, x, S, C, w, T, E = e((() => {
|
|
|
1096
1109
|
return t;
|
|
1097
1110
|
}
|
|
1098
1111
|
run() {
|
|
1099
|
-
|
|
1100
|
-
|
|
1112
|
+
let e = this.arguments.map((e, t) => ({
|
|
1113
|
+
key: String(t + 1),
|
|
1114
|
+
prev: r.sandbox.context.getVar(String(t + 1))
|
|
1115
|
+
}));
|
|
1116
|
+
this.arguments.forEach((e, t) => r.sandbox.context.setVar(String(t + 1), e));
|
|
1117
|
+
let t = () => e.forEach(({ key: e, prev: t }) => t ? r.sandbox.context.setVar(e, t) : r.sandbox.context.unsetVar(e));
|
|
1118
|
+
return r._executeFunctionBody(n).then(() => {
|
|
1119
|
+
t();
|
|
1120
|
+
}).catch((e) => {
|
|
1121
|
+
if (t(), e && e.__type === "return") {
|
|
1101
1122
|
this.exitCode = e.code;
|
|
1102
1123
|
return;
|
|
1103
1124
|
}
|
|
@@ -1115,15 +1136,22 @@ var g, _, v, y, b, x, S, C, w, T, E = e((() => {
|
|
|
1115
1136
|
code: n
|
|
1116
1137
|
});
|
|
1117
1138
|
}
|
|
1118
|
-
return this.sandbox.onCommand(e.line, !1)
|
|
1139
|
+
return (this.sandbox.context.getVar("-") || "").includes("x") && (this.stdErr = `+ ${e.line.trim()}`, this.flush()), this.sandbox.onCommand(e.line, !1).then(() => {
|
|
1140
|
+
if ((this.sandbox.context.getVar("-") || "").includes("e") && this.sandbox.lastCode !== 0) return Promise.reject({
|
|
1141
|
+
__type: "errexit",
|
|
1142
|
+
code: this.sandbox.lastCode
|
|
1143
|
+
});
|
|
1144
|
+
});
|
|
1119
1145
|
}
|
|
1120
1146
|
return e.type === "if" ? this._executeIf(e) : e.type === "while" ? this._executeWhile(e) : e.type === "for" ? this._executeFor(e) : e.type === "case" ? this._executeCase(e) : Promise.resolve();
|
|
1121
1147
|
}
|
|
1122
1148
|
_executeIf(e) {
|
|
1123
|
-
|
|
1124
|
-
if (
|
|
1125
|
-
|
|
1126
|
-
|
|
1149
|
+
let t = (n) => {
|
|
1150
|
+
if (n >= e.clauses.length) return e.elseLines.length > 0 ? this._executeNodes(this._parseLines(e.elseLines)) : Promise.resolve();
|
|
1151
|
+
let r = e.clauses[n];
|
|
1152
|
+
return this.sandbox.onCommand(r.condition, !1).then(() => this.sandbox.lastCode === 0 ? this._executeNodes(this._parseLines(r.bodyLines)) : t(n + 1));
|
|
1153
|
+
};
|
|
1154
|
+
return t(0);
|
|
1127
1155
|
}
|
|
1128
1156
|
_executeWhile(e) {
|
|
1129
1157
|
let t = () => this.sandbox.onCommand(e.condition, !1).then(() => {
|
|
@@ -3846,7 +3874,11 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
3846
3874
|
}));
|
|
3847
3875
|
}
|
|
3848
3876
|
onInput(e) {
|
|
3849
|
-
if (this.inputBuffer ||= "", e.length === 1 && (this.inputBuffer += e),
|
|
3877
|
+
if (this.inputBuffer ||= "", e.length === 1 && (this.inputBuffer += e), e === "Enter") {
|
|
3878
|
+
this.var ? (this.context.setVar(this.var, this.inputBuffer || ""), this.completionCallback()) : this.completionCallback(this.inputBuffer || "");
|
|
3879
|
+
return;
|
|
3880
|
+
}
|
|
3881
|
+
if (this.inputBuffer.length === this.nchars) {
|
|
3850
3882
|
if (this.var) {
|
|
3851
3883
|
this.context.setVar(this.var, this.inputBuffer), this.completionCallback();
|
|
3852
3884
|
return;
|
|
@@ -4009,6 +4041,63 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4009
4041
|
}
|
|
4010
4042
|
};
|
|
4011
4043
|
})), Ie = /* @__PURE__ */ t(((e, t) => {
|
|
4044
|
+
var n = F(), r = {
|
|
4045
|
+
errexit: "e",
|
|
4046
|
+
xtrace: "x",
|
|
4047
|
+
nounset: "u",
|
|
4048
|
+
noexec: "n",
|
|
4049
|
+
allexport: "a"
|
|
4050
|
+
};
|
|
4051
|
+
t.exports = class extends n {
|
|
4052
|
+
static get name() {
|
|
4053
|
+
return "set";
|
|
4054
|
+
}
|
|
4055
|
+
run() {
|
|
4056
|
+
let e = this.arguments;
|
|
4057
|
+
if (e.length === 0) {
|
|
4058
|
+
let e = this.context.vars;
|
|
4059
|
+
return Object.keys(e).sort().forEach((t) => {
|
|
4060
|
+
this.stdOut = `${t}=${e[t]}`;
|
|
4061
|
+
}), Promise.resolve();
|
|
4062
|
+
}
|
|
4063
|
+
let t = 0;
|
|
4064
|
+
for (; t < e.length;) {
|
|
4065
|
+
let n = e[t];
|
|
4066
|
+
if (n === "--") {
|
|
4067
|
+
let n = e.slice(t + 1), r = 1;
|
|
4068
|
+
for (; this.context.getVar(String(r));) this.context.unsetVar(String(r)), r++;
|
|
4069
|
+
return n.forEach((e, t) => this.context.setVar(String(t + 1), e)), this.context.setVar("#", String(n.length)), Promise.resolve();
|
|
4070
|
+
}
|
|
4071
|
+
if ((n.startsWith("-") || n.startsWith("+")) && n.length > 1 && n[1] !== "-") {
|
|
4072
|
+
let i = n[0] === "-", a = n.slice(1);
|
|
4073
|
+
if (a === "o") {
|
|
4074
|
+
t++;
|
|
4075
|
+
let n = e[t];
|
|
4076
|
+
if (n === void 0) {
|
|
4077
|
+
Object.entries(r).forEach(([e, t]) => {
|
|
4078
|
+
let n = this.context.getVar("-") || "";
|
|
4079
|
+
this.stdOut = `${e.padEnd(15)} ${n.includes(t) ? "on" : "off"}`;
|
|
4080
|
+
}), t++;
|
|
4081
|
+
continue;
|
|
4082
|
+
}
|
|
4083
|
+
let a = r[n];
|
|
4084
|
+
a ? this._setFlag(a, i) : this.stdErr = `set: ${n}: invalid option name`, t++;
|
|
4085
|
+
continue;
|
|
4086
|
+
}
|
|
4087
|
+
for (let e of a) this._setFlag(e, i);
|
|
4088
|
+
t++;
|
|
4089
|
+
continue;
|
|
4090
|
+
}
|
|
4091
|
+
t++;
|
|
4092
|
+
}
|
|
4093
|
+
return Promise.resolve();
|
|
4094
|
+
}
|
|
4095
|
+
_setFlag(e, t) {
|
|
4096
|
+
let n = this.context.getVar("-") || "";
|
|
4097
|
+
t ? n.includes(e) || this.context.setVar("-", n + e) : this.context.setVar("-", n.split("").filter((t) => t !== e).join(""));
|
|
4098
|
+
}
|
|
4099
|
+
};
|
|
4100
|
+
})), Le = /* @__PURE__ */ t(((e, t) => {
|
|
4012
4101
|
t.exports = [
|
|
4013
4102
|
be(),
|
|
4014
4103
|
xe(),
|
|
@@ -4025,56 +4114,57 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4025
4114
|
Me(),
|
|
4026
4115
|
Ne(),
|
|
4027
4116
|
Pe(),
|
|
4028
|
-
Fe()
|
|
4117
|
+
Fe(),
|
|
4118
|
+
Ie()
|
|
4029
4119
|
];
|
|
4030
|
-
})), Le = /* @__PURE__ */ t(((e, t) => {
|
|
4031
|
-
t.exports = Object;
|
|
4032
4120
|
})), Re = /* @__PURE__ */ t(((e, t) => {
|
|
4033
|
-
t.exports =
|
|
4121
|
+
t.exports = Object;
|
|
4034
4122
|
})), ze = /* @__PURE__ */ t(((e, t) => {
|
|
4035
|
-
t.exports =
|
|
4123
|
+
t.exports = Error;
|
|
4036
4124
|
})), Be = /* @__PURE__ */ t(((e, t) => {
|
|
4037
|
-
t.exports =
|
|
4125
|
+
t.exports = EvalError;
|
|
4038
4126
|
})), Ve = /* @__PURE__ */ t(((e, t) => {
|
|
4039
|
-
t.exports =
|
|
4127
|
+
t.exports = RangeError;
|
|
4040
4128
|
})), He = /* @__PURE__ */ t(((e, t) => {
|
|
4129
|
+
t.exports = ReferenceError;
|
|
4130
|
+
})), Ue = /* @__PURE__ */ t(((e, t) => {
|
|
4041
4131
|
t.exports = SyntaxError;
|
|
4042
4132
|
})), X = /* @__PURE__ */ t(((e, t) => {
|
|
4043
4133
|
t.exports = TypeError;
|
|
4044
|
-
})), Ue = /* @__PURE__ */ t(((e, t) => {
|
|
4045
|
-
t.exports = URIError;
|
|
4046
4134
|
})), We = /* @__PURE__ */ t(((e, t) => {
|
|
4047
|
-
t.exports =
|
|
4135
|
+
t.exports = URIError;
|
|
4048
4136
|
})), Ge = /* @__PURE__ */ t(((e, t) => {
|
|
4049
|
-
t.exports = Math.
|
|
4137
|
+
t.exports = Math.abs;
|
|
4050
4138
|
})), Ke = /* @__PURE__ */ t(((e, t) => {
|
|
4051
|
-
t.exports = Math.
|
|
4139
|
+
t.exports = Math.floor;
|
|
4052
4140
|
})), qe = /* @__PURE__ */ t(((e, t) => {
|
|
4053
|
-
t.exports = Math.
|
|
4141
|
+
t.exports = Math.max;
|
|
4054
4142
|
})), Je = /* @__PURE__ */ t(((e, t) => {
|
|
4055
|
-
t.exports = Math.
|
|
4143
|
+
t.exports = Math.min;
|
|
4056
4144
|
})), Ye = /* @__PURE__ */ t(((e, t) => {
|
|
4057
|
-
t.exports = Math.
|
|
4145
|
+
t.exports = Math.pow;
|
|
4058
4146
|
})), Xe = /* @__PURE__ */ t(((e, t) => {
|
|
4147
|
+
t.exports = Math.round;
|
|
4148
|
+
})), Ze = /* @__PURE__ */ t(((e, t) => {
|
|
4059
4149
|
t.exports = Number.isNaN || function(e) {
|
|
4060
4150
|
return e !== e;
|
|
4061
4151
|
};
|
|
4062
|
-
})),
|
|
4063
|
-
var n =
|
|
4152
|
+
})), Qe = /* @__PURE__ */ t(((e, t) => {
|
|
4153
|
+
var n = Ze();
|
|
4064
4154
|
t.exports = function(e) {
|
|
4065
4155
|
return n(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
4066
4156
|
};
|
|
4067
|
-
})), Qe = /* @__PURE__ */ t(((e, t) => {
|
|
4068
|
-
t.exports = Object.getOwnPropertyDescriptor;
|
|
4069
4157
|
})), $e = /* @__PURE__ */ t(((e, t) => {
|
|
4070
|
-
|
|
4158
|
+
t.exports = Object.getOwnPropertyDescriptor;
|
|
4159
|
+
})), et = /* @__PURE__ */ t(((e, t) => {
|
|
4160
|
+
var n = $e();
|
|
4071
4161
|
if (n) try {
|
|
4072
4162
|
n([], "length");
|
|
4073
4163
|
} catch {
|
|
4074
4164
|
n = null;
|
|
4075
4165
|
}
|
|
4076
4166
|
t.exports = n;
|
|
4077
|
-
})),
|
|
4167
|
+
})), tt = /* @__PURE__ */ t(((e, t) => {
|
|
4078
4168
|
var n = Object.defineProperty || !1;
|
|
4079
4169
|
if (n) try {
|
|
4080
4170
|
n({}, "a", { value: 1 });
|
|
@@ -4082,7 +4172,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4082
4172
|
n = !1;
|
|
4083
4173
|
}
|
|
4084
4174
|
t.exports = n;
|
|
4085
|
-
})),
|
|
4175
|
+
})), nt = /* @__PURE__ */ t(((e, t) => {
|
|
4086
4176
|
t.exports = function() {
|
|
4087
4177
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
|
|
4088
4178
|
if (typeof Symbol.iterator == "symbol") return !0;
|
|
@@ -4099,16 +4189,16 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4099
4189
|
}
|
|
4100
4190
|
return !0;
|
|
4101
4191
|
};
|
|
4102
|
-
})),
|
|
4103
|
-
var n = typeof Symbol < "u" && Symbol, r =
|
|
4192
|
+
})), rt = /* @__PURE__ */ t(((e, t) => {
|
|
4193
|
+
var n = typeof Symbol < "u" && Symbol, r = nt();
|
|
4104
4194
|
t.exports = function() {
|
|
4105
4195
|
return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
|
|
4106
4196
|
};
|
|
4107
|
-
})), rt = /* @__PURE__ */ t(((e, t) => {
|
|
4108
|
-
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
4109
4197
|
})), it = /* @__PURE__ */ t(((e, t) => {
|
|
4110
|
-
t.exports =
|
|
4198
|
+
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
4111
4199
|
})), at = /* @__PURE__ */ t(((e, t) => {
|
|
4200
|
+
t.exports = Re().getPrototypeOf || null;
|
|
4201
|
+
})), ot = /* @__PURE__ */ t(((e, t) => {
|
|
4112
4202
|
var n = "Function.prototype.bind called on incompatible ", r = Object.prototype.toString, i = Math.max, a = "[object Function]", o = function(e, t) {
|
|
4113
4203
|
for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
|
|
4114
4204
|
for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
|
|
@@ -4136,26 +4226,26 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4136
4226
|
}
|
|
4137
4227
|
return u;
|
|
4138
4228
|
};
|
|
4139
|
-
})), ot = /* @__PURE__ */ t(((e, t) => {
|
|
4140
|
-
var n = at();
|
|
4141
|
-
t.exports = Function.prototype.bind || n;
|
|
4142
4229
|
})), st = /* @__PURE__ */ t(((e, t) => {
|
|
4143
|
-
|
|
4230
|
+
var n = ot();
|
|
4231
|
+
t.exports = Function.prototype.bind || n;
|
|
4144
4232
|
})), ct = /* @__PURE__ */ t(((e, t) => {
|
|
4145
|
-
t.exports = Function.prototype.
|
|
4233
|
+
t.exports = Function.prototype.call;
|
|
4146
4234
|
})), lt = /* @__PURE__ */ t(((e, t) => {
|
|
4147
|
-
t.exports =
|
|
4235
|
+
t.exports = Function.prototype.apply;
|
|
4148
4236
|
})), ut = /* @__PURE__ */ t(((e, t) => {
|
|
4149
|
-
|
|
4150
|
-
t.exports = lt() || n.call(i, r);
|
|
4237
|
+
t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
|
|
4151
4238
|
})), dt = /* @__PURE__ */ t(((e, t) => {
|
|
4152
|
-
var n =
|
|
4239
|
+
var n = st(), r = lt(), i = ct();
|
|
4240
|
+
t.exports = ut() || n.call(i, r);
|
|
4241
|
+
})), ft = /* @__PURE__ */ t(((e, t) => {
|
|
4242
|
+
var n = st(), r = X(), i = ct(), a = dt();
|
|
4153
4243
|
t.exports = function(e) {
|
|
4154
4244
|
if (e.length < 1 || typeof e[0] != "function") throw new r("a function is required");
|
|
4155
4245
|
return a(n, i, e);
|
|
4156
4246
|
};
|
|
4157
|
-
})),
|
|
4158
|
-
var n =
|
|
4247
|
+
})), pt = /* @__PURE__ */ t(((e, t) => {
|
|
4248
|
+
var n = ft(), r = et(), i;
|
|
4159
4249
|
try {
|
|
4160
4250
|
i = [].__proto__ === Array.prototype;
|
|
4161
4251
|
} catch (e) {
|
|
@@ -4165,8 +4255,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4165
4255
|
t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" ? function(e) {
|
|
4166
4256
|
return s(e == null ? e : o(e));
|
|
4167
4257
|
} : !1;
|
|
4168
|
-
})),
|
|
4169
|
-
var n =
|
|
4258
|
+
})), mt = /* @__PURE__ */ t(((e, t) => {
|
|
4259
|
+
var n = it(), r = at(), i = pt();
|
|
4170
4260
|
t.exports = n ? function(e) {
|
|
4171
4261
|
return n(e);
|
|
4172
4262
|
} : r ? function(e) {
|
|
@@ -4175,15 +4265,15 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4175
4265
|
} : i ? function(e) {
|
|
4176
4266
|
return i(e);
|
|
4177
4267
|
} : null;
|
|
4178
|
-
})),
|
|
4268
|
+
})), ht = /* @__PURE__ */ t(((e, t) => {
|
|
4179
4269
|
var n = Function.prototype.call, r = Object.prototype.hasOwnProperty;
|
|
4180
|
-
t.exports =
|
|
4270
|
+
t.exports = st().call(n, r);
|
|
4181
4271
|
})), Z = /* @__PURE__ */ t(((e, t) => {
|
|
4182
|
-
var n, r =
|
|
4272
|
+
var n, r = Re(), i = ze(), a = Be(), o = Ve(), s = He(), c = Ue(), l = X(), u = We(), d = Ge(), f = Ke(), p = qe(), m = Je(), h = Ye(), g = Xe(), _ = Qe(), v = Function, y = function(e) {
|
|
4183
4273
|
try {
|
|
4184
4274
|
return v("\"use strict\"; return (" + e + ").constructor;")();
|
|
4185
4275
|
} catch {}
|
|
4186
|
-
}, b =
|
|
4276
|
+
}, b = et(), x = tt(), S = function() {
|
|
4187
4277
|
throw new l();
|
|
4188
4278
|
}, C = b ? function() {
|
|
4189
4279
|
try {
|
|
@@ -4195,7 +4285,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4195
4285
|
return S;
|
|
4196
4286
|
}
|
|
4197
4287
|
}
|
|
4198
|
-
}() : S, w =
|
|
4288
|
+
}() : S, w = rt()(), T = mt(), E = at(), D = it(), O = lt(), k = ct(), A = {}, j = typeof Uint8Array > "u" || !T ? n : T(Uint8Array), M = {
|
|
4199
4289
|
__proto__: null,
|
|
4200
4290
|
"%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
|
|
4201
4291
|
"%Array%": Array,
|
|
@@ -4385,7 +4475,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4385
4475
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
4386
4476
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
4387
4477
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
4388
|
-
}, F =
|
|
4478
|
+
}, F = st(), I = ht(), L = F.call(k, Array.prototype.concat), ee = F.call(O, Array.prototype.splice), te = F.call(k, String.prototype.replace), R = F.call(k, String.prototype.slice), z = F.call(k, RegExp.prototype.exec), ne = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, B = /\\(\\)?/g, V = function(e) {
|
|
4389
4479
|
var t = R(e, 0, 1), n = R(e, -1);
|
|
4390
4480
|
if (t === "%" && n !== "%") throw new c("invalid intrinsic syntax, expected closing `%`");
|
|
4391
4481
|
if (n === "%" && t !== "%") throw new c("invalid intrinsic syntax, expected opening `%`");
|
|
@@ -4430,8 +4520,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4430
4520
|
}
|
|
4431
4521
|
return o;
|
|
4432
4522
|
};
|
|
4433
|
-
})),
|
|
4434
|
-
var n =
|
|
4523
|
+
})), gt = /* @__PURE__ */ t(((e, t) => {
|
|
4524
|
+
var n = tt(), r = Ue(), i = X(), a = et();
|
|
4435
4525
|
t.exports = function(e, t, o) {
|
|
4436
4526
|
if (!e || typeof e != "object" && typeof e != "function") throw new i("`obj` must be an object or a function`");
|
|
4437
4527
|
if (typeof t != "string" && typeof t != "symbol") throw new i("`property` must be a string or a symbol`");
|
|
@@ -4449,8 +4539,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4449
4539
|
else if (u || !s && !c && !l) e[t] = o;
|
|
4450
4540
|
else throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
4451
4541
|
};
|
|
4452
|
-
})),
|
|
4453
|
-
var n =
|
|
4542
|
+
})), _t = /* @__PURE__ */ t(((e, t) => {
|
|
4543
|
+
var n = tt(), r = function() {
|
|
4454
4544
|
return !!n;
|
|
4455
4545
|
};
|
|
4456
4546
|
r.hasArrayLengthDefineBug = function() {
|
|
@@ -4461,8 +4551,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4461
4551
|
return !0;
|
|
4462
4552
|
}
|
|
4463
4553
|
}, t.exports = r;
|
|
4464
|
-
})),
|
|
4465
|
-
var n = Z(), r =
|
|
4554
|
+
})), vt = /* @__PURE__ */ t(((e, t) => {
|
|
4555
|
+
var n = Z(), r = gt(), i = _t()(), a = et(), o = X(), s = n("%Math.floor%");
|
|
4466
4556
|
t.exports = function(e, t) {
|
|
4467
4557
|
if (typeof e != "function") throw new o("`fn` is not a function");
|
|
4468
4558
|
if (typeof t != "number" || t < 0 || t > 4294967295 || s(t) !== t) throw new o("`length` must be a positive 32-bit integer");
|
|
@@ -4473,27 +4563,27 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4473
4563
|
}
|
|
4474
4564
|
return (c || l || !n) && (i ? r(e, "length", t, !0, !0) : r(e, "length", t)), e;
|
|
4475
4565
|
};
|
|
4476
|
-
})),
|
|
4477
|
-
var n =
|
|
4566
|
+
})), yt = /* @__PURE__ */ t(((e, t) => {
|
|
4567
|
+
var n = st(), r = lt(), i = dt();
|
|
4478
4568
|
t.exports = function() {
|
|
4479
4569
|
return i(n, r, arguments);
|
|
4480
4570
|
};
|
|
4481
|
-
})),
|
|
4482
|
-
var n =
|
|
4571
|
+
})), bt = /* @__PURE__ */ t(((e, t) => {
|
|
4572
|
+
var n = vt(), r = tt(), i = ft(), a = yt();
|
|
4483
4573
|
t.exports = function(e) {
|
|
4484
4574
|
var t = i(arguments), r = 1 + e.length - (arguments.length - 1);
|
|
4485
4575
|
return n(t, r > 0 ? r : 0, !0);
|
|
4486
4576
|
}, r ? r(t.exports, "apply", { value: a }) : t.exports.apply = a;
|
|
4487
|
-
})),
|
|
4577
|
+
})), xt = /* @__PURE__ */ t(((e, t) => {
|
|
4488
4578
|
var n = Object.prototype.toString;
|
|
4489
4579
|
t.exports = function(e) {
|
|
4490
4580
|
var t = n.call(e), r = t === "[object Arguments]";
|
|
4491
4581
|
return r ||= t !== "[object Array]" && typeof e == "object" && !!e && typeof e.length == "number" && e.length >= 0 && n.call(e.callee) === "[object Function]", r;
|
|
4492
4582
|
};
|
|
4493
|
-
})),
|
|
4583
|
+
})), St = /* @__PURE__ */ t(((e, t) => {
|
|
4494
4584
|
var n;
|
|
4495
4585
|
if (!Object.keys) {
|
|
4496
|
-
var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, a =
|
|
4586
|
+
var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, a = xt(), o = Object.prototype.propertyIsEnumerable, s = !o.call({ toString: null }, "toString"), c = o.call(function() {}, "prototype"), l = [
|
|
4497
4587
|
"toString",
|
|
4498
4588
|
"toLocaleString",
|
|
4499
4589
|
"valueOf",
|
|
@@ -4560,10 +4650,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4560
4650
|
};
|
|
4561
4651
|
}
|
|
4562
4652
|
t.exports = n;
|
|
4563
|
-
})),
|
|
4564
|
-
var n = Array.prototype.slice, r =
|
|
4653
|
+
})), Ct = /* @__PURE__ */ t(((e, t) => {
|
|
4654
|
+
var n = Array.prototype.slice, r = xt(), i = Object.keys, a = i ? function(e) {
|
|
4565
4655
|
return i(e);
|
|
4566
|
-
} :
|
|
4656
|
+
} : St(), o = Object.keys;
|
|
4567
4657
|
a.shim = function() {
|
|
4568
4658
|
return Object.keys ? function() {
|
|
4569
4659
|
var e = Object.keys(arguments);
|
|
@@ -4572,10 +4662,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4572
4662
|
return r(e) ? o(n.call(e)) : o(e);
|
|
4573
4663
|
}) : Object.keys = a, Object.keys || a;
|
|
4574
4664
|
}, t.exports = a;
|
|
4575
|
-
})),
|
|
4576
|
-
var n =
|
|
4665
|
+
})), wt = /* @__PURE__ */ t(((e, t) => {
|
|
4666
|
+
var n = Ct(), r = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", i = Object.prototype.toString, a = Array.prototype.concat, o = gt(), s = function(e) {
|
|
4577
4667
|
return typeof e == "function" && i.call(e) === "[object Function]";
|
|
4578
|
-
}, c =
|
|
4668
|
+
}, c = _t()(), l = function(e, t, n, r) {
|
|
4579
4669
|
if (t in e) {
|
|
4580
4670
|
if (r === !0) {
|
|
4581
4671
|
if (e[t] === n) return;
|
|
@@ -4589,28 +4679,28 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4589
4679
|
};
|
|
4590
4680
|
u.supportsDescriptors = !!c, t.exports = u;
|
|
4591
4681
|
})), Q = /* @__PURE__ */ t(((e, t) => {
|
|
4592
|
-
var n = Z(), r =
|
|
4682
|
+
var n = Z(), r = ft(), i = r([n("%String.prototype.indexOf%")]);
|
|
4593
4683
|
t.exports = function(e, t) {
|
|
4594
4684
|
var a = n(e, !!t);
|
|
4595
4685
|
return typeof a == "function" && i(e, ".prototype.") > -1 ? r([a]) : a;
|
|
4596
4686
|
};
|
|
4597
|
-
})),
|
|
4687
|
+
})), Tt = /* @__PURE__ */ t(((e, t) => {
|
|
4598
4688
|
var n = Z()("%Array%"), r = !n.isArray && Q()("Object.prototype.toString");
|
|
4599
4689
|
t.exports = n.isArray || function(e) {
|
|
4600
4690
|
return r(e) === "[object Array]";
|
|
4601
4691
|
};
|
|
4602
|
-
})), Tt = /* @__PURE__ */ t(((e, t) => {
|
|
4603
|
-
t.exports = wt();
|
|
4604
4692
|
})), Et = /* @__PURE__ */ t(((e, t) => {
|
|
4605
|
-
|
|
4693
|
+
t.exports = Tt();
|
|
4694
|
+
})), Dt = /* @__PURE__ */ t(((e, t) => {
|
|
4695
|
+
var n = Z(), r = Q(), i = X(), a = Et(), o = n("%Reflect.apply%", !0) || r("Function.prototype.apply");
|
|
4606
4696
|
t.exports = function(e, t) {
|
|
4607
4697
|
var n = arguments.length > 2 ? arguments[2] : [];
|
|
4608
4698
|
if (!a(n)) throw new i("Assertion failed: optional `argumentsList`, if provided, must be a List");
|
|
4609
4699
|
return o(e, t, n);
|
|
4610
4700
|
};
|
|
4611
|
-
})), Dt = /* @__PURE__ */ t(((e, t) => {
|
|
4612
|
-
t.exports = {};
|
|
4613
4701
|
})), Ot = /* @__PURE__ */ t(((e, t) => {
|
|
4702
|
+
t.exports = {};
|
|
4703
|
+
})), kt = /* @__PURE__ */ t(((e, t) => {
|
|
4614
4704
|
i();
|
|
4615
4705
|
var n = typeof Map == "function" && Map.prototype, a = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, o = n && a && typeof a.get == "function" ? a.get : null, s = n && Map.prototype.forEach, c = typeof Set == "function" && Set.prototype, l = Object.getOwnPropertyDescriptor && c ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, u = c && l && typeof l.get == "function" ? l.get : null, d = c && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, p = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, m = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, h = Boolean.prototype.valueOf, g = Object.prototype.toString, _ = Function.prototype.toString, v = String.prototype.match, y = String.prototype.slice, b = String.prototype.replace, x = String.prototype.toUpperCase, S = String.prototype.toLowerCase, C = RegExp.prototype.test, w = Array.prototype.concat, T = Array.prototype.join, E = Array.prototype.slice, D = Math.floor, O = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, k = Object.getOwnPropertySymbols, A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, j = typeof Symbol == "function" && typeof Symbol.iterator == "object", M = typeof Symbol == "function" && Symbol.toStringTag ? Symbol.toStringTag : null, N = Object.prototype.propertyIsEnumerable, P = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
4616
4706
|
return e.__proto__;
|
|
@@ -4627,7 +4717,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4627
4717
|
}
|
|
4628
4718
|
return b.call(t, n, "$&_");
|
|
4629
4719
|
}
|
|
4630
|
-
var I =
|
|
4720
|
+
var I = Ot(), L = I.custom, ee = ae(L) ? L : null, te = {
|
|
4631
4721
|
__proto__: null,
|
|
4632
4722
|
double: "\"",
|
|
4633
4723
|
single: "'"
|
|
@@ -4912,7 +5002,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4912
5002
|
if (typeof k == "function") for (var l = 0; l < a.length; l++) N.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
|
|
4913
5003
|
return r;
|
|
4914
5004
|
}
|
|
4915
|
-
})),
|
|
5005
|
+
})), At = /* @__PURE__ */ t(((e, t) => {
|
|
4916
5006
|
t.exports = function(e) {
|
|
4917
5007
|
return typeof e == "string" || typeof e == "symbol";
|
|
4918
5008
|
};
|
|
@@ -4920,20 +5010,20 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4920
5010
|
t.exports = function(e) {
|
|
4921
5011
|
return !!e && (typeof e == "function" || typeof e == "object");
|
|
4922
5012
|
};
|
|
4923
|
-
})),
|
|
4924
|
-
var n = X(), r =
|
|
5013
|
+
})), jt = /* @__PURE__ */ t(((e, t) => {
|
|
5014
|
+
var n = X(), r = kt(), i = At(), a = $();
|
|
4925
5015
|
t.exports = function(e, t) {
|
|
4926
5016
|
if (!a(e)) throw new n("Assertion failed: Type(O) is not Object");
|
|
4927
5017
|
if (!i(t)) throw new n("Assertion failed: P is not a Property Key, got " + r(t));
|
|
4928
5018
|
return e[t];
|
|
4929
5019
|
};
|
|
4930
|
-
})),
|
|
4931
|
-
var n = X(), r =
|
|
5020
|
+
})), Mt = /* @__PURE__ */ t(((e, t) => {
|
|
5021
|
+
var n = X(), r = kt(), i = At();
|
|
4932
5022
|
t.exports = function(e, t) {
|
|
4933
5023
|
if (!i(t)) throw new n("Assertion failed: P is not a Property Key, got " + r(t));
|
|
4934
5024
|
return e[t];
|
|
4935
5025
|
};
|
|
4936
|
-
})),
|
|
5026
|
+
})), Nt = /* @__PURE__ */ t(((e, t) => {
|
|
4937
5027
|
var n = Function.prototype.toString, r = typeof Reflect == "object" && Reflect !== null && Reflect.apply, i, a;
|
|
4938
5028
|
if (typeof r == "function" && typeof Object.defineProperty == "function") try {
|
|
4939
5029
|
i = Object.defineProperty({}, "length", { get: function() {
|
|
@@ -4988,10 +5078,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
4988
5078
|
var t = l.call(e);
|
|
4989
5079
|
return t !== d && t !== f && !/^\[object HTML/.test(t) ? !1 : c(e);
|
|
4990
5080
|
};
|
|
4991
|
-
})), Nt = /* @__PURE__ */ t(((e, t) => {
|
|
4992
|
-
t.exports = Mt();
|
|
4993
5081
|
})), Pt = /* @__PURE__ */ t(((e, t) => {
|
|
4994
|
-
|
|
5082
|
+
t.exports = Nt();
|
|
5083
|
+
})), Ft = /* @__PURE__ */ t(((e, t) => {
|
|
5084
|
+
var n = X(), r = Mt(), i = Pt(), a = At(), o = kt();
|
|
4995
5085
|
t.exports = function(e, t) {
|
|
4996
5086
|
if (!a(t)) throw new n("Assertion failed: P is not a Property Key");
|
|
4997
5087
|
var s = r(e, t);
|
|
@@ -5000,13 +5090,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5000
5090
|
return s;
|
|
5001
5091
|
}
|
|
5002
5092
|
};
|
|
5003
|
-
})),
|
|
5004
|
-
var n =
|
|
5093
|
+
})), It = /* @__PURE__ */ t(((e, t) => {
|
|
5094
|
+
var n = nt();
|
|
5005
5095
|
t.exports = function() {
|
|
5006
5096
|
return n() && !!Symbol.toStringTag;
|
|
5007
5097
|
};
|
|
5008
|
-
})),
|
|
5009
|
-
var n = Q(), r =
|
|
5098
|
+
})), Lt = /* @__PURE__ */ t(((e, t) => {
|
|
5099
|
+
var n = Q(), r = It()(), i = ht(), a = et(), o;
|
|
5010
5100
|
if (r) {
|
|
5011
5101
|
var s = n("RegExp.prototype.exec"), c = {}, l = function() {
|
|
5012
5102
|
throw c;
|
|
@@ -5031,12 +5121,12 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5031
5121
|
};
|
|
5032
5122
|
}
|
|
5033
5123
|
t.exports = o;
|
|
5034
|
-
})),
|
|
5124
|
+
})), Rt = /* @__PURE__ */ t(((e, t) => {
|
|
5035
5125
|
t.exports = function(e) {
|
|
5036
5126
|
return !!e;
|
|
5037
5127
|
};
|
|
5038
|
-
})),
|
|
5039
|
-
var n = Z()("%Symbol.match%", !0), r =
|
|
5128
|
+
})), zt = /* @__PURE__ */ t(((e, t) => {
|
|
5129
|
+
var n = Z()("%Symbol.match%", !0), r = Lt(), i = $(), a = Rt();
|
|
5040
5130
|
t.exports = function(e) {
|
|
5041
5131
|
if (!i(e)) return !1;
|
|
5042
5132
|
if (n) {
|
|
@@ -5045,19 +5135,19 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5045
5135
|
}
|
|
5046
5136
|
return r(e);
|
|
5047
5137
|
};
|
|
5048
|
-
})),
|
|
5138
|
+
})), Bt = /* @__PURE__ */ t(((e, t) => {
|
|
5049
5139
|
var n = Z()("%String%"), r = X();
|
|
5050
5140
|
t.exports = function(e) {
|
|
5051
5141
|
if (typeof e == "symbol") throw new r("Cannot convert a Symbol value to a string");
|
|
5052
5142
|
return n(e);
|
|
5053
5143
|
};
|
|
5054
|
-
})),
|
|
5144
|
+
})), Vt = /* @__PURE__ */ t(((e, t) => {
|
|
5055
5145
|
var n = X();
|
|
5056
5146
|
t.exports = function(e) {
|
|
5057
5147
|
if (e == null) throw new n(arguments.length > 0 && arguments[1] || "Cannot call method on " + e);
|
|
5058
5148
|
return e;
|
|
5059
5149
|
};
|
|
5060
|
-
})),
|
|
5150
|
+
})), Ht = /* @__PURE__ */ t(((e, t) => {
|
|
5061
5151
|
var n = function() {
|
|
5062
5152
|
return typeof function() {}.name == "string";
|
|
5063
5153
|
}, r = Object.getOwnPropertyDescriptor;
|
|
@@ -5075,21 +5165,21 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5075
5165
|
n.boundFunctionsHaveNames = function() {
|
|
5076
5166
|
return n() && typeof i == "function" && function() {}.bind().name !== "";
|
|
5077
5167
|
}, t.exports = n;
|
|
5078
|
-
})),
|
|
5079
|
-
var n =
|
|
5168
|
+
})), Ut = /* @__PURE__ */ t(((e, t) => {
|
|
5169
|
+
var n = gt(), r = _t()(), i = Ht().functionsHaveConfigurableNames(), a = X();
|
|
5080
5170
|
t.exports = function(e, t) {
|
|
5081
5171
|
if (typeof e != "function") throw new a("`fn` is not a function");
|
|
5082
5172
|
return (!(arguments.length > 2 && arguments[2]) || i) && (r ? n(e, "name", t, !0, !0) : n(e, "name", t)), e;
|
|
5083
5173
|
};
|
|
5084
|
-
})),
|
|
5085
|
-
var n =
|
|
5174
|
+
})), Wt = /* @__PURE__ */ t(((e, t) => {
|
|
5175
|
+
var n = Ut(), r = X(), i = Object;
|
|
5086
5176
|
t.exports = n(function() {
|
|
5087
5177
|
if (this == null || this !== i(this)) throw new r("RegExp.prototype.flags getter called on non-object");
|
|
5088
5178
|
var e = "";
|
|
5089
5179
|
return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
|
|
5090
5180
|
}, "get flags", !0);
|
|
5091
|
-
})),
|
|
5092
|
-
var n =
|
|
5181
|
+
})), Gt = /* @__PURE__ */ t(((e, t) => {
|
|
5182
|
+
var n = Wt(), r = wt().supportsDescriptors, i = Object.getOwnPropertyDescriptor;
|
|
5093
5183
|
t.exports = function() {
|
|
5094
5184
|
if (r && /a/gim.flags === "gim") {
|
|
5095
5185
|
var e = i(RegExp.prototype, "flags");
|
|
@@ -5104,8 +5194,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5104
5194
|
}
|
|
5105
5195
|
return n;
|
|
5106
5196
|
};
|
|
5107
|
-
})),
|
|
5108
|
-
var n =
|
|
5197
|
+
})), Kt = /* @__PURE__ */ t(((e, t) => {
|
|
5198
|
+
var n = wt().supportsDescriptors, r = Gt(), i = et(), a = Object.defineProperty, o = ze(), s = mt(), c = /a/;
|
|
5109
5199
|
t.exports = function() {
|
|
5110
5200
|
if (!n || !s) throw new o("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
|
|
5111
5201
|
var e = r(), t = s(c), l = i(t, "flags");
|
|
@@ -5115,29 +5205,29 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5115
5205
|
get: e
|
|
5116
5206
|
}), e;
|
|
5117
5207
|
};
|
|
5118
|
-
})),
|
|
5119
|
-
var n =
|
|
5208
|
+
})), qt = /* @__PURE__ */ t(((e, t) => {
|
|
5209
|
+
var n = wt(), r = bt(), i = Wt(), a = Gt(), o = Kt(), s = r(a());
|
|
5120
5210
|
n(s, {
|
|
5121
5211
|
getPolyfill: a,
|
|
5122
5212
|
implementation: i,
|
|
5123
5213
|
shim: o
|
|
5124
5214
|
}), t.exports = s;
|
|
5125
|
-
})),
|
|
5215
|
+
})), Jt = /* @__PURE__ */ t(((e, t) => {
|
|
5126
5216
|
t.exports = function(e) {
|
|
5127
5217
|
return typeof e == "number" && e >= 55296 && e <= 56319;
|
|
5128
5218
|
};
|
|
5129
|
-
})),
|
|
5219
|
+
})), Yt = /* @__PURE__ */ t(((e, t) => {
|
|
5130
5220
|
t.exports = function(e) {
|
|
5131
5221
|
return typeof e == "number" && e >= 56320 && e <= 57343;
|
|
5132
5222
|
};
|
|
5133
|
-
})),
|
|
5134
|
-
var n = Z(), r = X(), i = n("%String.fromCharCode%"), a =
|
|
5223
|
+
})), Xt = /* @__PURE__ */ t(((e, t) => {
|
|
5224
|
+
var n = Z(), r = X(), i = n("%String.fromCharCode%"), a = Jt(), o = Yt();
|
|
5135
5225
|
t.exports = function(e, t) {
|
|
5136
5226
|
if (!a(e) || !o(t)) throw new r("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");
|
|
5137
5227
|
return i(e) + i(t);
|
|
5138
5228
|
};
|
|
5139
|
-
})),
|
|
5140
|
-
var n = X(), r = Q(), i =
|
|
5229
|
+
})), Zt = /* @__PURE__ */ t(((e, t) => {
|
|
5230
|
+
var n = X(), r = Q(), i = Jt(), a = Yt(), o = Xt(), s = r("String.prototype.charAt"), c = r("String.prototype.charCodeAt");
|
|
5141
5231
|
t.exports = function(e, t) {
|
|
5142
5232
|
if (typeof e != "string") throw new n("Assertion failed: `string` must be a String");
|
|
5143
5233
|
var r = e.length;
|
|
@@ -5164,22 +5254,22 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5164
5254
|
"[[IsUnpairedSurrogate]]": !0
|
|
5165
5255
|
};
|
|
5166
5256
|
};
|
|
5167
|
-
})),
|
|
5168
|
-
var n =
|
|
5257
|
+
})), Qt = /* @__PURE__ */ t(((e, t) => {
|
|
5258
|
+
var n = Ze();
|
|
5169
5259
|
t.exports = function(e) {
|
|
5170
5260
|
return (typeof e == "number" || typeof e == "bigint") && !n(e) && e !== Infinity && e !== -Infinity;
|
|
5171
5261
|
};
|
|
5172
|
-
})),
|
|
5173
|
-
var n =
|
|
5262
|
+
})), $t = /* @__PURE__ */ t(((e, t) => {
|
|
5263
|
+
var n = Ge(), r = Ke(), i = Ze(), a = Qt();
|
|
5174
5264
|
t.exports = function(e) {
|
|
5175
5265
|
if (typeof e != "number" || i(e) || !a(e)) return !1;
|
|
5176
5266
|
var t = n(e);
|
|
5177
5267
|
return r(t) === t;
|
|
5178
5268
|
};
|
|
5179
|
-
})), $t = /* @__PURE__ */ t(((e, t) => {
|
|
5180
|
-
t.exports = 2 ** 53 - 1 || 9007199254740991;
|
|
5181
5269
|
})), en = /* @__PURE__ */ t(((e, t) => {
|
|
5182
|
-
|
|
5270
|
+
t.exports = 2 ** 53 - 1 || 9007199254740991;
|
|
5271
|
+
})), tn = /* @__PURE__ */ t(((e, t) => {
|
|
5272
|
+
var n = Zt(), r = X(), i = $t(), a = en();
|
|
5183
5273
|
t.exports = function(e, t, o) {
|
|
5184
5274
|
if (typeof e != "string") throw new r("Assertion failed: `S` must be a String");
|
|
5185
5275
|
if (!i(t) || t < 0 || t > a) throw new r("Assertion failed: `length` must be an integer >= 0 and <= 2**53");
|
|
@@ -5188,7 +5278,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5188
5278
|
var s = e.length;
|
|
5189
5279
|
return t + 1 >= s ? t + 1 : t + n(e, t)["[[CodeUnitCount]]"];
|
|
5190
5280
|
};
|
|
5191
|
-
})),
|
|
5281
|
+
})), nn = /* @__PURE__ */ t(((e, t) => {
|
|
5192
5282
|
var n = X();
|
|
5193
5283
|
t.exports = function(e, t) {
|
|
5194
5284
|
if (typeof t != "boolean") throw new n("Assertion failed: Type(done) is not Boolean");
|
|
@@ -5197,8 +5287,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5197
5287
|
done: t
|
|
5198
5288
|
};
|
|
5199
5289
|
};
|
|
5200
|
-
})),
|
|
5201
|
-
var n = X(), r =
|
|
5290
|
+
})), rn = /* @__PURE__ */ t(((e, t) => {
|
|
5291
|
+
var n = X(), r = ht(), i = {
|
|
5202
5292
|
__proto__: null,
|
|
5203
5293
|
"[[Configurable]]": !0,
|
|
5204
5294
|
"[[Enumerable]]": !0,
|
|
@@ -5214,8 +5304,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5214
5304
|
if (a && o) throw new n("Property Descriptors may not be both accessor and data descriptors");
|
|
5215
5305
|
return !0;
|
|
5216
5306
|
};
|
|
5217
|
-
})),
|
|
5218
|
-
var n =
|
|
5307
|
+
})), an = /* @__PURE__ */ t(((e, t) => {
|
|
5308
|
+
var n = _t(), r = tt(), i = n.hasArrayLengthDefineBug(), a = i && Tt(), o = Q()("Object.prototype.propertyIsEnumerable");
|
|
5219
5309
|
t.exports = function(e, t, n, s, c, l) {
|
|
5220
5310
|
if (!r) {
|
|
5221
5311
|
if (!e(l) || !l["[[Configurable]]"] || !l["[[Writable]]"] || c in s && o(s, c) !== !!l["[[Enumerable]]"]) return !1;
|
|
@@ -5224,32 +5314,32 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5224
5314
|
}
|
|
5225
5315
|
return i && c === "length" && "[[Value]]" in l && a(s) && s.length !== l["[[Value]]"] ? (s.length = l["[[Value]]"], s.length === l["[[Value]]"]) : (r(s, c, n(l)), !0);
|
|
5226
5316
|
};
|
|
5227
|
-
})),
|
|
5317
|
+
})), on = /* @__PURE__ */ t(((e, t) => {
|
|
5228
5318
|
t.exports = function(e) {
|
|
5229
5319
|
if (e === void 0) return e;
|
|
5230
5320
|
var t = {};
|
|
5231
5321
|
return "[[Value]]" in e && (t.value = e["[[Value]]"]), "[[Writable]]" in e && (t.writable = !!e["[[Writable]]"]), "[[Get]]" in e && (t.get = e["[[Get]]"]), "[[Set]]" in e && (t.set = e["[[Set]]"]), "[[Enumerable]]" in e && (t.enumerable = !!e["[[Enumerable]]"]), "[[Configurable]]" in e && (t.configurable = !!e["[[Configurable]]"]), t;
|
|
5232
5322
|
};
|
|
5233
|
-
})),
|
|
5234
|
-
var n = X(), r =
|
|
5323
|
+
})), sn = /* @__PURE__ */ t(((e, t) => {
|
|
5324
|
+
var n = X(), r = rn(), i = on();
|
|
5235
5325
|
t.exports = function(e) {
|
|
5236
5326
|
if (e !== void 0 && !r(e)) throw new n("Assertion failed: `Desc` must be a Property Descriptor");
|
|
5237
5327
|
return i(e);
|
|
5238
5328
|
};
|
|
5239
|
-
})),
|
|
5240
|
-
var n = X(), r =
|
|
5329
|
+
})), cn = /* @__PURE__ */ t(((e, t) => {
|
|
5330
|
+
var n = X(), r = ht(), i = rn();
|
|
5241
5331
|
t.exports = function(e) {
|
|
5242
5332
|
if (e === void 0) return !1;
|
|
5243
5333
|
if (!i(e)) throw new n("Assertion failed: `Desc` must be a Property Descriptor");
|
|
5244
5334
|
return !(!r(e, "[[Value]]") && !r(e, "[[Writable]]"));
|
|
5245
5335
|
};
|
|
5246
|
-
})),
|
|
5247
|
-
var n =
|
|
5336
|
+
})), ln = /* @__PURE__ */ t(((e, t) => {
|
|
5337
|
+
var n = Ze();
|
|
5248
5338
|
t.exports = function(e, t) {
|
|
5249
5339
|
return e === t ? e === 0 ? 1 / e == 1 / t : !0 : n(e) && n(t);
|
|
5250
5340
|
};
|
|
5251
|
-
})),
|
|
5252
|
-
var n =
|
|
5341
|
+
})), un = /* @__PURE__ */ t(((e, t) => {
|
|
5342
|
+
var n = ht(), r = X(), i = $(), a = Pt(), o = Rt();
|
|
5253
5343
|
t.exports = function(e) {
|
|
5254
5344
|
if (!i(e)) throw new r("ToPropertyDescriptor requires an object");
|
|
5255
5345
|
var t = {};
|
|
@@ -5266,8 +5356,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5266
5356
|
if ((n(t, "[[Get]]") || n(t, "[[Set]]")) && (n(t, "[[Value]]") || n(t, "[[Writable]]"))) throw new r("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
5267
5357
|
return t;
|
|
5268
5358
|
};
|
|
5269
|
-
})),
|
|
5270
|
-
var n = X(), r = $(), i =
|
|
5359
|
+
})), dn = /* @__PURE__ */ t(((e, t) => {
|
|
5360
|
+
var n = X(), r = $(), i = rn(), a = an(), o = sn(), s = cn(), c = At(), l = ln(), u = un();
|
|
5271
5361
|
t.exports = function(e, t, d) {
|
|
5272
5362
|
if (!r(e)) throw new n("Assertion failed: Type(O) is not Object");
|
|
5273
5363
|
if (!c(t)) throw new n("Assertion failed: P is not a Property Key");
|
|
@@ -5275,19 +5365,19 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5275
5365
|
if (!i(f)) throw new n("Assertion failed: Desc is not a valid Property Descriptor");
|
|
5276
5366
|
return a(s, l, o, e, t, f);
|
|
5277
5367
|
};
|
|
5278
|
-
})),
|
|
5368
|
+
})), fn = /* @__PURE__ */ t(((e, t) => {
|
|
5279
5369
|
t.exports = function(e) {
|
|
5280
5370
|
return e === null || typeof e != "function" && typeof e != "object";
|
|
5281
5371
|
};
|
|
5282
|
-
})),
|
|
5283
|
-
var n = Z(), r = n("%Object.preventExtensions%", !0), i = n("%Object.isExtensible%", !0), a =
|
|
5372
|
+
})), pn = /* @__PURE__ */ t(((e, t) => {
|
|
5373
|
+
var n = Z(), r = n("%Object.preventExtensions%", !0), i = n("%Object.isExtensible%", !0), a = fn();
|
|
5284
5374
|
t.exports = r ? function(e) {
|
|
5285
5375
|
return !a(e) && i(e);
|
|
5286
5376
|
} : function(e) {
|
|
5287
5377
|
return !a(e);
|
|
5288
5378
|
};
|
|
5289
|
-
})),
|
|
5290
|
-
var n = X(), r = $(), i =
|
|
5379
|
+
})), mn = /* @__PURE__ */ t(((e, t) => {
|
|
5380
|
+
var n = X(), r = $(), i = dn(), a = pn(), o = At();
|
|
5291
5381
|
t.exports = function(e, t, s, c) {
|
|
5292
5382
|
if (!r(e)) throw new n("Assertion failed: `homeObject` is not an Object");
|
|
5293
5383
|
if (!o(t)) throw new n("Assertion failed: `key` is not a Property Key or a Private Name");
|
|
@@ -5301,12 +5391,12 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5301
5391
|
"[[Configurable]]": !0
|
|
5302
5392
|
});
|
|
5303
5393
|
};
|
|
5304
|
-
})),
|
|
5394
|
+
})), hn = /* @__PURE__ */ t(((e, t) => {
|
|
5305
5395
|
t.exports = function(e, t) {
|
|
5306
5396
|
for (var n = 0; n < e.length; n += 1) t(e[n], n, e);
|
|
5307
5397
|
};
|
|
5308
|
-
})),
|
|
5309
|
-
var n =
|
|
5398
|
+
})), gn = /* @__PURE__ */ t(((e, t) => {
|
|
5399
|
+
var n = kt(), r = X(), i = function(e, t, n) {
|
|
5310
5400
|
for (var r = e, i; (i = r.next) != null; r = i) if (i.key === t) return r.next = i.next, n || (i.next = e.next, e.next = i), i;
|
|
5311
5401
|
}, a = function(e, t) {
|
|
5312
5402
|
if (e) {
|
|
@@ -5346,8 +5436,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5346
5436
|
};
|
|
5347
5437
|
return t;
|
|
5348
5438
|
};
|
|
5349
|
-
})),
|
|
5350
|
-
var n = Z(), r = Q(), i =
|
|
5439
|
+
})), _n = /* @__PURE__ */ t(((e, t) => {
|
|
5440
|
+
var n = Z(), r = Q(), i = kt(), a = X(), o = n("%Map%", !0), s = r("Map.prototype.get", !0), c = r("Map.prototype.set", !0), l = r("Map.prototype.has", !0), u = r("Map.prototype.delete", !0), d = r("Map.prototype.size", !0);
|
|
5351
5441
|
t.exports = !!o && function() {
|
|
5352
5442
|
var e, t = {
|
|
5353
5443
|
assert: function(e) {
|
|
@@ -5372,8 +5462,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5372
5462
|
};
|
|
5373
5463
|
return t;
|
|
5374
5464
|
};
|
|
5375
|
-
})),
|
|
5376
|
-
var n = Z(), r = Q(), i =
|
|
5465
|
+
})), vn = /* @__PURE__ */ t(((e, t) => {
|
|
5466
|
+
var n = Z(), r = Q(), i = kt(), a = _n(), o = X(), s = n("%WeakMap%", !0), c = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), u = r("WeakMap.prototype.has", !0), d = r("WeakMap.prototype.delete", !0);
|
|
5377
5467
|
t.exports = s ? function() {
|
|
5378
5468
|
var e, t, n = {
|
|
5379
5469
|
assert: function(e) {
|
|
@@ -5397,8 +5487,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5397
5487
|
};
|
|
5398
5488
|
return n;
|
|
5399
5489
|
} : a;
|
|
5400
|
-
})),
|
|
5401
|
-
var n = X(), r =
|
|
5490
|
+
})), yn = /* @__PURE__ */ t(((e, t) => {
|
|
5491
|
+
var n = X(), r = kt(), i = gn(), a = _n(), o = vn() || a || i;
|
|
5402
5492
|
t.exports = function() {
|
|
5403
5493
|
var e, t = {
|
|
5404
5494
|
assert: function(e) {
|
|
@@ -5419,8 +5509,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5419
5509
|
};
|
|
5420
5510
|
return t;
|
|
5421
5511
|
};
|
|
5422
|
-
})),
|
|
5423
|
-
var n =
|
|
5512
|
+
})), bn = /* @__PURE__ */ t(((e, t) => {
|
|
5513
|
+
var n = ht(), r = yn()(), i = X(), a = {
|
|
5424
5514
|
assert: function(e, t) {
|
|
5425
5515
|
if (!e || typeof e != "object" && typeof e != "function") throw new i("`O` is not an object");
|
|
5426
5516
|
if (typeof t != "string") throw new i("`slot` must be a string");
|
|
@@ -5446,7 +5536,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5446
5536
|
}
|
|
5447
5537
|
};
|
|
5448
5538
|
Object.freeze && Object.freeze(a), t.exports = a;
|
|
5449
|
-
})),
|
|
5539
|
+
})), xn = /* @__PURE__ */ t(((e, t) => {
|
|
5450
5540
|
var n = {
|
|
5451
5541
|
__proto__: null,
|
|
5452
5542
|
foo: {}
|
|
@@ -5454,8 +5544,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5454
5544
|
t.exports = function() {
|
|
5455
5545
|
return r;
|
|
5456
5546
|
};
|
|
5457
|
-
})),
|
|
5458
|
-
var n = Z()("%Object.create%", !0), r = X(), i =
|
|
5547
|
+
})), Sn = /* @__PURE__ */ t(((e, t) => {
|
|
5548
|
+
var n = Z()("%Object.create%", !0), r = X(), i = Ue(), a = $(), o = Et(), s = hn(), c = bn(), l = xn()();
|
|
5459
5549
|
t.exports = function(e) {
|
|
5460
5550
|
if (e !== null && !a(e)) throw new r("Assertion failed: `proto` must be null or an object");
|
|
5461
5551
|
var t = arguments.length < 2 ? [] : arguments[1];
|
|
@@ -5472,8 +5562,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5472
5562
|
c.set(u, e, void 0);
|
|
5473
5563
|
}), u;
|
|
5474
5564
|
};
|
|
5475
|
-
})),
|
|
5476
|
-
var n = X(), r = $(), i = Q()("RegExp.prototype.exec"), a =
|
|
5565
|
+
})), Cn = /* @__PURE__ */ t(((e, t) => {
|
|
5566
|
+
var n = X(), r = $(), i = Q()("RegExp.prototype.exec"), a = Dt(), o = jt(), s = Pt();
|
|
5477
5567
|
t.exports = function(e, t) {
|
|
5478
5568
|
if (!r(e)) throw new n("Assertion failed: `R` must be an Object");
|
|
5479
5569
|
if (typeof t != "string") throw new n("Assertion failed: `S` must be a String");
|
|
@@ -5485,8 +5575,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5485
5575
|
}
|
|
5486
5576
|
return i(e, t);
|
|
5487
5577
|
};
|
|
5488
|
-
})),
|
|
5489
|
-
var n = X(), r = $(), i =
|
|
5578
|
+
})), wn = /* @__PURE__ */ t(((e, t) => {
|
|
5579
|
+
var n = X(), r = $(), i = At(), a = ln(), o = function() {
|
|
5490
5580
|
try {
|
|
5491
5581
|
return delete 0, !0;
|
|
5492
5582
|
} catch {
|
|
@@ -5507,31 +5597,31 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5507
5597
|
return !1;
|
|
5508
5598
|
}
|
|
5509
5599
|
};
|
|
5510
|
-
})),
|
|
5600
|
+
})), Tn = /* @__PURE__ */ t(((e, t) => {
|
|
5511
5601
|
t.exports = function(e) {
|
|
5512
5602
|
return e === null || typeof e != "function" && typeof e != "object";
|
|
5513
5603
|
};
|
|
5514
|
-
})),
|
|
5604
|
+
})), En = /* @__PURE__ */ t(((e, t) => {
|
|
5515
5605
|
var n = Q(), r = n("Date.prototype.getDay"), i = function(e) {
|
|
5516
5606
|
try {
|
|
5517
5607
|
return r(e), !0;
|
|
5518
5608
|
} catch {
|
|
5519
5609
|
return !1;
|
|
5520
5610
|
}
|
|
5521
|
-
}, a = n("Object.prototype.toString"), o = "[object Date]", s =
|
|
5611
|
+
}, a = n("Object.prototype.toString"), o = "[object Date]", s = It()();
|
|
5522
5612
|
t.exports = function(e) {
|
|
5523
5613
|
return typeof e != "object" || !e ? !1 : s ? i(e) : a(e) === o;
|
|
5524
5614
|
};
|
|
5525
|
-
})),
|
|
5526
|
-
var n = Q(), r =
|
|
5615
|
+
})), Dn = /* @__PURE__ */ t(((e, t) => {
|
|
5616
|
+
var n = Q(), r = Lt(), i = n("RegExp.prototype.exec"), a = X();
|
|
5527
5617
|
t.exports = function(e) {
|
|
5528
5618
|
if (!r(e)) throw new a("`regex` must be a RegExp");
|
|
5529
5619
|
return function(t) {
|
|
5530
5620
|
return i(e, t) !== null;
|
|
5531
5621
|
};
|
|
5532
5622
|
};
|
|
5533
|
-
})),
|
|
5534
|
-
var n = Q(), r = n("Object.prototype.toString"), i =
|
|
5623
|
+
})), On = /* @__PURE__ */ t(((e, t) => {
|
|
5624
|
+
var n = Q(), r = n("Object.prototype.toString"), i = rt()(), a = Dn();
|
|
5535
5625
|
if (i) {
|
|
5536
5626
|
var o = n("Symbol.prototype.toString"), s = a(/^Symbol\(.*\)$/), c = function(e) {
|
|
5537
5627
|
return typeof e.valueOf() == "symbol" ? s(o(e)) : !1;
|
|
@@ -5548,8 +5638,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5548
5638
|
} else t.exports = function(e) {
|
|
5549
5639
|
return !1;
|
|
5550
5640
|
};
|
|
5551
|
-
})),
|
|
5552
|
-
var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol", r =
|
|
5641
|
+
})), kn = /* @__PURE__ */ t(((e, t) => {
|
|
5642
|
+
var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol", r = Tn(), i = Nt(), a = En(), o = On(), s = function(e, t) {
|
|
5553
5643
|
if (e == null) throw TypeError("Cannot call method on " + e);
|
|
5554
5644
|
if (typeof t != "string" || t !== "number" && t !== "string") throw TypeError("hint must be \"string\" or \"number\"");
|
|
5555
5645
|
var n = t === "string" ? ["toString", "valueOf"] : ["valueOf", "toString"], a, o, s;
|
|
@@ -5574,29 +5664,29 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5574
5664
|
}
|
|
5575
5665
|
return t === "default" && (a(e) || o(e)) && (t = "string"), s(e, t === "default" ? "number" : t);
|
|
5576
5666
|
};
|
|
5577
|
-
})),
|
|
5578
|
-
var n =
|
|
5667
|
+
})), An = /* @__PURE__ */ t(((e, t) => {
|
|
5668
|
+
var n = kn();
|
|
5579
5669
|
t.exports = function(e) {
|
|
5580
5670
|
return arguments.length > 1 ? n(e, arguments[1]) : n(e);
|
|
5581
5671
|
};
|
|
5582
|
-
})),
|
|
5583
|
-
var n =
|
|
5672
|
+
})), jn = /* @__PURE__ */ t(((e, t) => {
|
|
5673
|
+
var n = Vt(), r = Bt(), i = Q()("String.prototype.replace"), a = /^\s$/.test(""), o = a ? /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/ : /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/, s = a ? /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/ : /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;
|
|
5584
5674
|
t.exports = function() {
|
|
5585
5675
|
return i(i(r(n(this)), o, ""), s, "");
|
|
5586
5676
|
};
|
|
5587
|
-
})),
|
|
5588
|
-
var n =
|
|
5677
|
+
})), Mn = /* @__PURE__ */ t(((e, t) => {
|
|
5678
|
+
var n = jn(), r = "", i = "";
|
|
5589
5679
|
t.exports = function() {
|
|
5590
5680
|
return String.prototype.trim && r.trim() === r && i.trim() === i && ("_" + i).trim() === "_" + i && (i + "_").trim() === i + "_" ? String.prototype.trim : n;
|
|
5591
5681
|
};
|
|
5592
|
-
})),
|
|
5593
|
-
var n =
|
|
5682
|
+
})), Nn = /* @__PURE__ */ t(((e, t) => {
|
|
5683
|
+
var n = _t()(), r = gt(), i = Mn();
|
|
5594
5684
|
t.exports = function() {
|
|
5595
5685
|
var e = i();
|
|
5596
5686
|
return String.prototype.trim !== e && (n ? r(String.prototype, "trim", e, !0) : r(String.prototype, "trim", e)), e;
|
|
5597
5687
|
};
|
|
5598
|
-
})),
|
|
5599
|
-
var n =
|
|
5688
|
+
})), Pn = /* @__PURE__ */ t(((e, t) => {
|
|
5689
|
+
var n = bt(), r = wt(), i = Vt(), a = jn(), o = Mn(), s = Nn(), c = n(o()), l = function(e) {
|
|
5600
5690
|
return i(e), c(e);
|
|
5601
5691
|
};
|
|
5602
5692
|
r(l, {
|
|
@@ -5604,12 +5694,12 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5604
5694
|
implementation: a,
|
|
5605
5695
|
shim: s
|
|
5606
5696
|
}), t.exports = l;
|
|
5607
|
-
})),
|
|
5608
|
-
var n = Z(), r = n("%RegExp%"), i = X(), a = n("%parseInt%"), o = Q(), s =
|
|
5697
|
+
})), Fn = /* @__PURE__ */ t(((e, t) => {
|
|
5698
|
+
var n = Z(), r = n("%RegExp%"), i = X(), a = n("%parseInt%"), o = Q(), s = Dn(), c = o("String.prototype.slice"), l = s(/^0b[01]+$/i), u = s(/^0o[0-7]+$/i), d = s(/^[-+]0x[0-9a-f]+$/i), f = s(new r("[" + [
|
|
5609
5699
|
"
",
|
|
5610
5700
|
"",
|
|
5611
5701
|
""
|
|
5612
|
-
].join("") + "]", "g")), p =
|
|
5702
|
+
].join("") + "]", "g")), p = Pn();
|
|
5613
5703
|
t.exports = function e(t) {
|
|
5614
5704
|
if (typeof t != "string") throw new i("Assertion failed: `argument` is not a String");
|
|
5615
5705
|
if (l(t)) return +a(c(t, 2), 2);
|
|
@@ -5618,40 +5708,40 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5618
5708
|
var n = p(t);
|
|
5619
5709
|
return n === t ? +t : e(n);
|
|
5620
5710
|
};
|
|
5621
|
-
})),
|
|
5622
|
-
var n = Z(), r = X(), i = n("%Number%"), a =
|
|
5711
|
+
})), In = /* @__PURE__ */ t(((e, t) => {
|
|
5712
|
+
var n = Z(), r = X(), i = n("%Number%"), a = fn(), o = An(), s = Fn();
|
|
5623
5713
|
t.exports = function(e) {
|
|
5624
5714
|
var t = a(e) ? e : o(e, i);
|
|
5625
5715
|
if (typeof t == "symbol") throw new r("Cannot convert a Symbol value to a number");
|
|
5626
5716
|
if (typeof t == "bigint") throw new r("Conversion from 'BigInt' to 'number' is not allowed.");
|
|
5627
5717
|
return typeof t == "string" ? s(t) : +t;
|
|
5628
5718
|
};
|
|
5629
|
-
})),
|
|
5630
|
-
var n =
|
|
5719
|
+
})), Ln = /* @__PURE__ */ t(((e, t) => {
|
|
5720
|
+
var n = Ke();
|
|
5631
5721
|
t.exports = function(e) {
|
|
5632
5722
|
return typeof e == "bigint" ? e : n(e);
|
|
5633
5723
|
};
|
|
5634
|
-
})),
|
|
5635
|
-
var n =
|
|
5724
|
+
})), Rn = /* @__PURE__ */ t(((e, t) => {
|
|
5725
|
+
var n = Ln(), r = X();
|
|
5636
5726
|
t.exports = function(e) {
|
|
5637
5727
|
if (typeof e != "number" && typeof e != "bigint") throw new r("argument must be a Number or a BigInt");
|
|
5638
5728
|
var t = e < 0 ? -n(-e) : n(e);
|
|
5639
5729
|
return t === 0 ? 0 : t;
|
|
5640
5730
|
};
|
|
5641
|
-
})),
|
|
5642
|
-
var n =
|
|
5731
|
+
})), zn = /* @__PURE__ */ t(((e, t) => {
|
|
5732
|
+
var n = In(), r = Rn(), i = Ze(), a = Qt();
|
|
5643
5733
|
t.exports = function(e) {
|
|
5644
5734
|
var t = n(e);
|
|
5645
5735
|
return i(t) || t === 0 ? 0 : a(t) ? r(t) : t;
|
|
5646
5736
|
};
|
|
5647
|
-
})),
|
|
5648
|
-
var n =
|
|
5737
|
+
})), Bn = /* @__PURE__ */ t(((e, t) => {
|
|
5738
|
+
var n = en(), r = zn();
|
|
5649
5739
|
t.exports = function(e) {
|
|
5650
5740
|
var t = r(e);
|
|
5651
5741
|
return t <= 0 ? 0 : t > n ? n : t;
|
|
5652
5742
|
};
|
|
5653
|
-
})),
|
|
5654
|
-
var n = Z()("%Object.defineProperty%", !0), r =
|
|
5743
|
+
})), Vn = /* @__PURE__ */ t(((e, t) => {
|
|
5744
|
+
var n = Z()("%Object.defineProperty%", !0), r = It()(), i = ht(), a = X(), o = r ? Symbol.toStringTag : null;
|
|
5655
5745
|
t.exports = function(e, t) {
|
|
5656
5746
|
var r = arguments.length > 2 && !!arguments[2] && arguments[2].force, s = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
|
|
5657
5747
|
if (r !== void 0 && typeof r != "boolean" || s !== void 0 && typeof s != "boolean") throw new a("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
|
|
@@ -5662,8 +5752,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5662
5752
|
writable: !1
|
|
5663
5753
|
}) : e[o] = t);
|
|
5664
5754
|
};
|
|
5665
|
-
})),
|
|
5666
|
-
var n = Z(), r =
|
|
5755
|
+
})), Hn = /* @__PURE__ */ t(((e, t) => {
|
|
5756
|
+
var n = Z(), r = rt()(), i = X(), a = $(), o = n("%IteratorPrototype%", !0), s = tn(), c = nn(), l = mn(), u = jt(), d = Sn(), f = Cn(), p = wn(), m = Bn(), h = Bt(), g = bn(), _ = Vn(), v = function(e, t, n, r) {
|
|
5667
5757
|
if (typeof t != "string") throw new i("`S` must be a string");
|
|
5668
5758
|
if (typeof n != "boolean") throw new i("`global` must be a boolean");
|
|
5669
5759
|
if (typeof r != "boolean") throw new i("`fullUnicode` must be a boolean");
|
|
@@ -5681,10 +5771,10 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5681
5771
|
}, !1)), t.exports = function(e, t, n, r) {
|
|
5682
5772
|
return new v(e, t, n, r);
|
|
5683
5773
|
};
|
|
5684
|
-
})), Hn = /* @__PURE__ */ t(((e, t) => {
|
|
5685
|
-
t.exports = Z();
|
|
5686
5774
|
})), Un = /* @__PURE__ */ t(((e, t) => {
|
|
5687
|
-
|
|
5775
|
+
t.exports = Z();
|
|
5776
|
+
})), Wn = /* @__PURE__ */ t(((e, t) => {
|
|
5777
|
+
var n = Un()("%Reflect.construct%", !0), r = dn();
|
|
5688
5778
|
try {
|
|
5689
5779
|
r({}, "", { "[[Get]]": function() {} });
|
|
5690
5780
|
} catch {
|
|
@@ -5707,8 +5797,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5707
5797
|
} else t.exports = function(e) {
|
|
5708
5798
|
return typeof e == "function" && !!e.prototype;
|
|
5709
5799
|
};
|
|
5710
|
-
})),
|
|
5711
|
-
var n = Z()("%Symbol.species%", !0), r = X(), i = $(), a =
|
|
5800
|
+
})), Gn = /* @__PURE__ */ t(((e, t) => {
|
|
5801
|
+
var n = Z()("%Symbol.species%", !0), r = X(), i = $(), a = Wn();
|
|
5712
5802
|
t.exports = function(e, t) {
|
|
5713
5803
|
if (!i(e)) throw new r("Assertion failed: Type(O) is not Object");
|
|
5714
5804
|
var o = e.constructor;
|
|
@@ -5719,7 +5809,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5719
5809
|
if (a(s)) return s;
|
|
5720
5810
|
throw new r("no constructor found");
|
|
5721
5811
|
};
|
|
5722
|
-
})),
|
|
5812
|
+
})), Kn = /* @__PURE__ */ t(((e, t) => {
|
|
5723
5813
|
var n = $();
|
|
5724
5814
|
t.exports = function(e) {
|
|
5725
5815
|
if (e === null) return "Null";
|
|
@@ -5729,13 +5819,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5729
5819
|
if (typeof e == "boolean") return "Boolean";
|
|
5730
5820
|
if (typeof e == "string") return "String";
|
|
5731
5821
|
};
|
|
5732
|
-
})),
|
|
5733
|
-
var n =
|
|
5822
|
+
})), qn = /* @__PURE__ */ t(((e, t) => {
|
|
5823
|
+
var n = Kn();
|
|
5734
5824
|
t.exports = function(e) {
|
|
5735
5825
|
return typeof e == "symbol" ? "Symbol" : typeof e == "bigint" ? "BigInt" : n(e);
|
|
5736
5826
|
};
|
|
5737
|
-
})),
|
|
5738
|
-
var n =
|
|
5827
|
+
})), Jn = /* @__PURE__ */ t(((e, t) => {
|
|
5828
|
+
var n = Hn(), r = jt(), i = wn(), a = Gn(), o = Bn(), s = Bt(), c = qn(), l = qt(), u = Ut(), d = Q(), f = Z(), p = X(), m = d("String.prototype.indexOf"), h = f("%RegExp%"), g = "flags" in h.prototype, _ = function(e, t) {
|
|
5739
5829
|
var n, i = "flags" in t ? r(t, "flags") : s(l(t));
|
|
5740
5830
|
return n = g && typeof i == "string" ? new e(t, i) : e === h ? new e(t.source, i) : new e(t, i), {
|
|
5741
5831
|
flags: i,
|
|
@@ -5748,13 +5838,13 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5748
5838
|
var l = s(e), u = _(a(t, h), t), d = u.flags, f = u.matcher;
|
|
5749
5839
|
return i(f, "lastIndex", o(r(t, "lastIndex")), !0), n(f, l, m(d, "g") > -1, m(d, "u") > -1);
|
|
5750
5840
|
}, "[Symbol.matchAll]", !0);
|
|
5751
|
-
})),
|
|
5752
|
-
var n =
|
|
5841
|
+
})), Yn = /* @__PURE__ */ t(((e, t) => {
|
|
5842
|
+
var n = rt()(), r = Jn();
|
|
5753
5843
|
t.exports = function() {
|
|
5754
5844
|
return !n || typeof Symbol.matchAll != "symbol" || typeof RegExp.prototype[Symbol.matchAll] != "function" ? r : RegExp.prototype[Symbol.matchAll];
|
|
5755
5845
|
};
|
|
5756
|
-
})),
|
|
5757
|
-
var n =
|
|
5846
|
+
})), Xn = /* @__PURE__ */ t(((e, t) => {
|
|
5847
|
+
var n = Dt(), r = jt(), i = Ft(), a = zt(), o = Bt(), s = Vt(), c = Q(), l = rt()(), u = qt(), d = Z(), f = X(), p = d("%RegExp%"), m = c("String.prototype.indexOf"), h = Yn(), g = function(e) {
|
|
5758
5848
|
var t = h();
|
|
5759
5849
|
if (l && typeof Symbol.matchAll == "symbol") {
|
|
5760
5850
|
var n = i(e, Symbol.matchAll);
|
|
@@ -5775,8 +5865,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5775
5865
|
var l = o(t), d = new p(e, "g");
|
|
5776
5866
|
return n(g(d), d, [l]);
|
|
5777
5867
|
};
|
|
5778
|
-
})),
|
|
5779
|
-
var n =
|
|
5868
|
+
})), Zn = /* @__PURE__ */ t(((e, t) => {
|
|
5869
|
+
var n = Xn();
|
|
5780
5870
|
t.exports = function() {
|
|
5781
5871
|
if (String.prototype.matchAll) try {
|
|
5782
5872
|
"".matchAll(RegExp.prototype);
|
|
@@ -5785,8 +5875,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5785
5875
|
}
|
|
5786
5876
|
return n;
|
|
5787
5877
|
};
|
|
5788
|
-
})),
|
|
5789
|
-
var n =
|
|
5878
|
+
})), Qn = /* @__PURE__ */ t(((e, t) => {
|
|
5879
|
+
var n = wt(), r = rt()(), i = et(), a = Zn(), o = Yn(), s = Object.defineProperty;
|
|
5790
5880
|
t.exports = function() {
|
|
5791
5881
|
var e = a();
|
|
5792
5882
|
if (n(String.prototype, { matchAll: e }, { matchAll: function() {
|
|
@@ -5813,20 +5903,20 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
5813
5903
|
}
|
|
5814
5904
|
return e;
|
|
5815
5905
|
};
|
|
5816
|
-
})),
|
|
5817
|
-
var n =
|
|
5906
|
+
})), $n = /* @__PURE__ */ t(((e, t) => {
|
|
5907
|
+
var n = bt(), r = wt(), i = Xn(), a = Zn(), o = Qn(), s = n(i);
|
|
5818
5908
|
r(s, {
|
|
5819
5909
|
getPolyfill: a,
|
|
5820
5910
|
implementation: i,
|
|
5821
5911
|
shim: o
|
|
5822
5912
|
}), t.exports = s;
|
|
5823
|
-
})),
|
|
5913
|
+
})), er = /* @__PURE__ */ t(((e, t) => {
|
|
5824
5914
|
i();
|
|
5825
|
-
var o = A(), s = F(), c = I(), l = q(), u = P(), d = ye(), f =
|
|
5915
|
+
var o = A(), s = F(), c = I(), l = q(), u = P(), d = ye(), f = Le(), p = j(), m = a(), h = /\${?([\w\d]+)}?/g, g = p.EventEmitter || p.default || p;
|
|
5826
5916
|
String.prototype.regexIndexOf = function(e, t) {
|
|
5827
5917
|
let n = this.substring(t || 0).search(e);
|
|
5828
5918
|
return n >= 0 ? n + (t || 0) : n;
|
|
5829
|
-
},
|
|
5919
|
+
}, $n().shim();
|
|
5830
5920
|
var _ = class e extends g {
|
|
5831
5921
|
constructor(t) {
|
|
5832
5922
|
super();
|
|
@@ -6127,7 +6217,7 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
6127
6217
|
}
|
|
6128
6218
|
};
|
|
6129
6219
|
_.STATUS_READY = "READY", _.STATUS_WORKING = "WORKING", _.STATUS_DESTROYED = "DESTROYED", _.Command = u, _.FS = m, r.shell = _, t.exports = _;
|
|
6130
|
-
})),
|
|
6220
|
+
})), tr = /* @__PURE__ */ t(((e) => {
|
|
6131
6221
|
(function(t, n) {
|
|
6132
6222
|
if (typeof define == "function" && define.amd) define(["exports"], n);
|
|
6133
6223
|
else if (typeof e == "object" && typeof e.nodeName != "string") n(e);
|
|
@@ -6468,8 +6558,8 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
6468
6558
|
}
|
|
6469
6559
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = r;
|
|
6470
6560
|
});
|
|
6471
|
-
})),
|
|
6472
|
-
var n =
|
|
6561
|
+
})), nr = /* @__PURE__ */ t((() => {})), rr = /* @__PURE__ */ t(((e, t) => {
|
|
6562
|
+
var n = er(), r = tr(), i = r?.default ?? r, a = "/.brsh_history";
|
|
6473
6563
|
t.exports = class {
|
|
6474
6564
|
constructor(e) {
|
|
6475
6565
|
let { el: t, font: r = "Roboto Mono", cursor: a = "none", outputAnimation: o = "none", animateSpeed: s = 1, onExit: c = null, mobileInput: l = "click", lineWrap: u = !1 } = e;
|
|
@@ -6696,9 +6786,9 @@ var V, re, H, U, W, ie, G, ae, oe, se, K = e((() => {
|
|
|
6696
6786
|
}
|
|
6697
6787
|
}
|
|
6698
6788
|
}
|
|
6699
|
-
},
|
|
6789
|
+
}, nr();
|
|
6700
6790
|
}));
|
|
6701
6791
|
//#endregion
|
|
6702
|
-
export default
|
|
6792
|
+
export default rr();
|
|
6703
6793
|
|
|
6704
6794
|
//# sourceMappingURL=terminal.es.js.map
|