@dxos/node-std 0.8.3 → 0.8.4-main.28f8d3d
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/lib/browser/_/config.mjs +1 -1
- package/dist/lib/browser/assert.mjs +37 -38
- package/dist/lib/browser/assert.mjs.map +1 -1
- package/dist/lib/browser/buffer.mjs +2 -2
- package/dist/lib/browser/{chunk-W3AYESYQ.mjs → chunk-LJ5EWKWX.mjs} +4 -4
- package/dist/lib/browser/{chunk-GM2BGSSZ.mjs → chunk-N4SPVTGW.mjs} +504 -769
- package/dist/lib/browser/chunk-N4SPVTGW.mjs.map +7 -0
- package/dist/lib/browser/{chunk-QWZSWMMO.mjs → chunk-WA6DPORN.mjs} +2 -2
- package/dist/lib/browser/{chunk-PY2IJ42L.mjs → chunk-YERYCS33.mjs} +7 -7
- package/dist/lib/browser/crypto.mjs +1 -1
- package/dist/lib/browser/events.mjs +3 -3
- package/dist/lib/browser/fs/promises.mjs +1 -1
- package/dist/lib/browser/fs.mjs +1 -1
- package/dist/lib/browser/globals.mjs +3 -3
- package/dist/lib/browser/inject-globals.mjs +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/path.mjs +3 -3
- package/dist/lib/browser/stream.mjs +1 -1
- package/dist/lib/browser/util.mjs +5 -5
- package/dist/lib/node-esm/_/config.mjs +1 -1
- package/dist/lib/node-esm/assert.mjs +1 -1
- package/dist/lib/node-esm/buffer.mjs +2 -2
- package/dist/lib/node-esm/{chunk-KIVTZY6Z.mjs → chunk-3EE3KRAW.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-SOGAFZTS.mjs → chunk-F5GZS76O.mjs} +7 -7
- package/dist/lib/node-esm/{chunk-I3G4DBJU.mjs → chunk-RJ7I7ZC3.mjs} +4 -4
- package/dist/lib/node-esm/crypto.mjs +1 -1
- package/dist/lib/node-esm/events.mjs +1 -1
- package/dist/lib/node-esm/fs/promises.mjs +1 -1
- package/dist/lib/node-esm/fs.mjs +1 -1
- package/dist/lib/node-esm/globals.mjs +3 -3
- package/dist/lib/node-esm/inject-globals.mjs +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/path.mjs +3 -3
- package/dist/lib/node-esm/stream.mjs +1 -1
- package/dist/lib/node-esm/util.mjs +506 -770
- package/dist/lib/node-esm/util.mjs.map +4 -4
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +2 -2
- package/dist/lib/browser/chunk-GM2BGSSZ.mjs.map +0 -7
- package/dist/lib/node/_/config.cjs +0 -44
- package/dist/lib/node/_/config.cjs.map +0 -7
- package/dist/lib/node/assert.cjs +0 -37
- package/dist/lib/node/assert.cjs.map +0 -7
- package/dist/lib/node/buffer.cjs +0 -32
- package/dist/lib/node/buffer.cjs.map +0 -7
- package/dist/lib/node/chunk-6SZKM6EC.cjs +0 -63
- package/dist/lib/node/chunk-6SZKM6EC.cjs.map +0 -7
- package/dist/lib/node/chunk-ENV4LVNZ.cjs +0 -133
- package/dist/lib/node/chunk-ENV4LVNZ.cjs.map +0 -7
- package/dist/lib/node/chunk-FCCITQEP.cjs +0 -1812
- package/dist/lib/node/chunk-FCCITQEP.cjs.map +0 -7
- package/dist/lib/node/chunk-P2R5OUNF.cjs +0 -22
- package/dist/lib/node/chunk-P2R5OUNF.cjs.map +0 -7
- package/dist/lib/node/crypto.cjs +0 -32
- package/dist/lib/node/crypto.cjs.map +0 -7
- package/dist/lib/node/events.cjs +0 -32
- package/dist/lib/node/events.cjs.map +0 -7
- package/dist/lib/node/fs/promises.cjs +0 -120
- package/dist/lib/node/fs/promises.cjs.map +0 -7
- package/dist/lib/node/fs.cjs +0 -53
- package/dist/lib/node/fs.cjs.map +0 -7
- package/dist/lib/node/globals.cjs +0 -6
- package/dist/lib/node/globals.cjs.map +0 -7
- package/dist/lib/node/inject-globals.cjs +0 -38
- package/dist/lib/node/inject-globals.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/path.cjs +0 -466
- package/dist/lib/node/path.cjs.map +0 -7
- package/dist/lib/node/stream.cjs +0 -42
- package/dist/lib/node/stream.cjs.map +0 -7
- package/dist/lib/node/util.cjs +0 -2493
- package/dist/lib/node/util.cjs.map +0 -7
- /package/dist/lib/browser/{chunk-W3AYESYQ.mjs.map → chunk-LJ5EWKWX.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-QWZSWMMO.mjs.map → chunk-WA6DPORN.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-PY2IJ42L.mjs.map → chunk-YERYCS33.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-KIVTZY6Z.mjs.map → chunk-3EE3KRAW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-SOGAFZTS.mjs.map → chunk-F5GZS76O.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-I3G4DBJU.mjs.map → chunk-RJ7I7ZC3.mjs.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-RJ7I7ZC3.mjs";
|
|
3
|
+
import "./chunk-3EE3KRAW.mjs";
|
|
4
|
+
import "./chunk-F5GZS76O.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require,
|
|
8
8
|
__toESM
|
|
9
9
|
} from "./chunk-RZY7P3LC.mjs";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/has-symbols@1.0
|
|
11
|
+
// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
12
12
|
var require_shams = __commonJS({
|
|
13
|
-
"node_modules/.pnpm/has-symbols@1.0
|
|
13
|
+
"../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports, module) {
|
|
14
14
|
"use strict";
|
|
15
15
|
module.exports = function hasSymbols() {
|
|
16
16
|
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
@@ -33,7 +33,7 @@ var require_shams = __commonJS({
|
|
|
33
33
|
}
|
|
34
34
|
var symVal = 42;
|
|
35
35
|
obj[sym] = symVal;
|
|
36
|
-
for (
|
|
36
|
+
for (var _ in obj) {
|
|
37
37
|
return false;
|
|
38
38
|
}
|
|
39
39
|
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
@@ -50,7 +50,10 @@ var require_shams = __commonJS({
|
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
52
|
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
53
|
-
var descriptor =
|
|
53
|
+
var descriptor = (
|
|
54
|
+
/** @type {PropertyDescriptor} */
|
|
55
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
56
|
+
);
|
|
54
57
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
55
58
|
return false;
|
|
56
59
|
}
|
|
@@ -60,9 +63,9 @@ var require_shams = __commonJS({
|
|
|
60
63
|
}
|
|
61
64
|
});
|
|
62
65
|
|
|
63
|
-
// node_modules/.pnpm/has-tostringtag@1.0.
|
|
66
|
+
// ../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js
|
|
64
67
|
var require_shams2 = __commonJS({
|
|
65
|
-
"node_modules/.pnpm/has-tostringtag@1.0.
|
|
68
|
+
"../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(exports, module) {
|
|
66
69
|
"use strict";
|
|
67
70
|
var hasSymbols = require_shams();
|
|
68
71
|
module.exports = function hasToStringTagShams() {
|
|
@@ -71,9 +74,185 @@ var require_shams2 = __commonJS({
|
|
|
71
74
|
}
|
|
72
75
|
});
|
|
73
76
|
|
|
74
|
-
// node_modules/.pnpm/
|
|
77
|
+
// ../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
|
|
78
|
+
var require_es_object_atoms = __commonJS({
|
|
79
|
+
"../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(exports, module) {
|
|
80
|
+
"use strict";
|
|
81
|
+
module.exports = Object;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
86
|
+
var require_es_errors = __commonJS({
|
|
87
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports, module) {
|
|
88
|
+
"use strict";
|
|
89
|
+
module.exports = Error;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
94
|
+
var require_eval = __commonJS({
|
|
95
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports, module) {
|
|
96
|
+
"use strict";
|
|
97
|
+
module.exports = EvalError;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
102
|
+
var require_range = __commonJS({
|
|
103
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports, module) {
|
|
104
|
+
"use strict";
|
|
105
|
+
module.exports = RangeError;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
110
|
+
var require_ref = __commonJS({
|
|
111
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports, module) {
|
|
112
|
+
"use strict";
|
|
113
|
+
module.exports = ReferenceError;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
118
|
+
var require_syntax = __commonJS({
|
|
119
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports, module) {
|
|
120
|
+
"use strict";
|
|
121
|
+
module.exports = SyntaxError;
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
126
|
+
var require_type = __commonJS({
|
|
127
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports, module) {
|
|
128
|
+
"use strict";
|
|
129
|
+
module.exports = TypeError;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
134
|
+
var require_uri = __commonJS({
|
|
135
|
+
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports, module) {
|
|
136
|
+
"use strict";
|
|
137
|
+
module.exports = URIError;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
142
|
+
var require_abs = __commonJS({
|
|
143
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports, module) {
|
|
144
|
+
"use strict";
|
|
145
|
+
module.exports = Math.abs;
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
150
|
+
var require_floor = __commonJS({
|
|
151
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports, module) {
|
|
152
|
+
"use strict";
|
|
153
|
+
module.exports = Math.floor;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
158
|
+
var require_max = __commonJS({
|
|
159
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports, module) {
|
|
160
|
+
"use strict";
|
|
161
|
+
module.exports = Math.max;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
166
|
+
var require_min = __commonJS({
|
|
167
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports, module) {
|
|
168
|
+
"use strict";
|
|
169
|
+
module.exports = Math.min;
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
174
|
+
var require_pow = __commonJS({
|
|
175
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports, module) {
|
|
176
|
+
"use strict";
|
|
177
|
+
module.exports = Math.pow;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
182
|
+
var require_round = __commonJS({
|
|
183
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports, module) {
|
|
184
|
+
"use strict";
|
|
185
|
+
module.exports = Math.round;
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
190
|
+
var require_isNaN = __commonJS({
|
|
191
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports, module) {
|
|
192
|
+
"use strict";
|
|
193
|
+
module.exports = Number.isNaN || function isNaN2(a) {
|
|
194
|
+
return a !== a;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
// ../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
200
|
+
var require_sign = __commonJS({
|
|
201
|
+
"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports, module) {
|
|
202
|
+
"use strict";
|
|
203
|
+
var $isNaN = require_isNaN();
|
|
204
|
+
module.exports = function sign(number) {
|
|
205
|
+
if ($isNaN(number) || number === 0) {
|
|
206
|
+
return number;
|
|
207
|
+
}
|
|
208
|
+
return number < 0 ? -1 : 1;
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
214
|
+
var require_gOPD = __commonJS({
|
|
215
|
+
"../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports, module) {
|
|
216
|
+
"use strict";
|
|
217
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
// ../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
|
|
222
|
+
var require_gopd = __commonJS({
|
|
223
|
+
"../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports, module) {
|
|
224
|
+
"use strict";
|
|
225
|
+
var $gOPD = require_gOPD();
|
|
226
|
+
if ($gOPD) {
|
|
227
|
+
try {
|
|
228
|
+
$gOPD([], "length");
|
|
229
|
+
} catch (e) {
|
|
230
|
+
$gOPD = null;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
module.exports = $gOPD;
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
// ../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
|
|
238
|
+
var require_es_define_property = __commonJS({
|
|
239
|
+
"../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports, module) {
|
|
240
|
+
"use strict";
|
|
241
|
+
var $defineProperty = Object.defineProperty || false;
|
|
242
|
+
if ($defineProperty) {
|
|
243
|
+
try {
|
|
244
|
+
$defineProperty({}, "a", { value: 1 });
|
|
245
|
+
} catch (e) {
|
|
246
|
+
$defineProperty = false;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
module.exports = $defineProperty;
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
|
|
253
|
+
// ../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
75
254
|
var require_has_symbols = __commonJS({
|
|
76
|
-
"node_modules/.pnpm/has-symbols@1.0
|
|
255
|
+
"../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports, module) {
|
|
77
256
|
"use strict";
|
|
78
257
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
79
258
|
var hasSymbolSham = require_shams();
|
|
@@ -95,23 +274,26 @@ var require_has_symbols = __commonJS({
|
|
|
95
274
|
}
|
|
96
275
|
});
|
|
97
276
|
|
|
98
|
-
// node_modules/.pnpm/
|
|
99
|
-
var
|
|
100
|
-
"node_modules/.pnpm/
|
|
277
|
+
// ../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
278
|
+
var require_Reflect_getPrototypeOf = __commonJS({
|
|
279
|
+
"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports, module) {
|
|
101
280
|
"use strict";
|
|
102
|
-
|
|
103
|
-
foo: {}
|
|
104
|
-
};
|
|
105
|
-
var $Object = Object;
|
|
106
|
-
module.exports = function hasProto() {
|
|
107
|
-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
108
|
-
};
|
|
281
|
+
module.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
109
282
|
}
|
|
110
283
|
});
|
|
111
284
|
|
|
112
|
-
// node_modules/.pnpm/
|
|
285
|
+
// ../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
286
|
+
var require_Object_getPrototypeOf = __commonJS({
|
|
287
|
+
"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports, module) {
|
|
288
|
+
"use strict";
|
|
289
|
+
var $Object = require_es_object_atoms();
|
|
290
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
|
|
294
|
+
// ../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
113
295
|
var require_implementation = __commonJS({
|
|
114
|
-
"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module) {
|
|
296
|
+
"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module) {
|
|
115
297
|
"use strict";
|
|
116
298
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
117
299
|
var toStr = Object.prototype.toString;
|
|
@@ -172,451 +354,135 @@ var require_implementation = __commonJS({
|
|
|
172
354
|
for (var i = 0; i < boundLength; i++) {
|
|
173
355
|
boundArgs[i] = "$" + i;
|
|
174
356
|
}
|
|
175
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
176
|
-
if (target.prototype) {
|
|
177
|
-
var Empty = function Empty2() {
|
|
178
|
-
};
|
|
179
|
-
Empty.prototype = target.prototype;
|
|
180
|
-
bound.prototype = new Empty();
|
|
181
|
-
Empty.prototype = null;
|
|
182
|
-
}
|
|
183
|
-
return bound;
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
|
|
188
|
-
// node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
189
|
-
var require_function_bind = __commonJS({
|
|
190
|
-
"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module) {
|
|
191
|
-
"use strict";
|
|
192
|
-
var implementation = require_implementation();
|
|
193
|
-
module.exports = Function.prototype.bind || implementation;
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
// node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js
|
|
198
|
-
var require_hasown = __commonJS({
|
|
199
|
-
"node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(exports, module) {
|
|
200
|
-
"use strict";
|
|
201
|
-
var call = Function.prototype.call;
|
|
202
|
-
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
203
|
-
var bind = require_function_bind();
|
|
204
|
-
module.exports = bind.call(call, $hasOwn);
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
// node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js
|
|
209
|
-
var require_get_intrinsic = __commonJS({
|
|
210
|
-
"node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
211
|
-
"use strict";
|
|
212
|
-
var undefined2;
|
|
213
|
-
var $SyntaxError = SyntaxError;
|
|
214
|
-
var $Function = Function;
|
|
215
|
-
var $TypeError = TypeError;
|
|
216
|
-
var getEvalledConstructor = function(expressionSyntax) {
|
|
217
|
-
try {
|
|
218
|
-
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
219
|
-
} catch (e) {
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
223
|
-
if ($gOPD) {
|
|
224
|
-
try {
|
|
225
|
-
$gOPD({}, "");
|
|
226
|
-
} catch (e) {
|
|
227
|
-
$gOPD = null;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
var throwTypeError = function() {
|
|
231
|
-
throw new $TypeError();
|
|
232
|
-
};
|
|
233
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
234
|
-
try {
|
|
235
|
-
arguments.callee;
|
|
236
|
-
return throwTypeError;
|
|
237
|
-
} catch (calleeThrows) {
|
|
238
|
-
try {
|
|
239
|
-
return $gOPD(arguments, "callee").get;
|
|
240
|
-
} catch (gOPDthrows) {
|
|
241
|
-
return throwTypeError;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}() : throwTypeError;
|
|
245
|
-
var hasSymbols = require_has_symbols()();
|
|
246
|
-
var hasProto = require_has_proto()();
|
|
247
|
-
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
248
|
-
return x.__proto__;
|
|
249
|
-
} : null);
|
|
250
|
-
var needsEval = {};
|
|
251
|
-
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
252
|
-
var INTRINSICS = {
|
|
253
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
254
|
-
"%Array%": Array,
|
|
255
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
256
|
-
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
257
|
-
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
258
|
-
"%AsyncFunction%": needsEval,
|
|
259
|
-
"%AsyncGenerator%": needsEval,
|
|
260
|
-
"%AsyncGeneratorFunction%": needsEval,
|
|
261
|
-
"%AsyncIteratorPrototype%": needsEval,
|
|
262
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
263
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
264
|
-
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
265
|
-
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
266
|
-
"%Boolean%": Boolean,
|
|
267
|
-
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
268
|
-
"%Date%": Date,
|
|
269
|
-
"%decodeURI%": decodeURI,
|
|
270
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
271
|
-
"%encodeURI%": encodeURI,
|
|
272
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
273
|
-
"%Error%": Error,
|
|
274
|
-
"%eval%": eval,
|
|
275
|
-
// eslint-disable-line no-eval
|
|
276
|
-
"%EvalError%": EvalError,
|
|
277
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
278
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
279
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
280
|
-
"%Function%": $Function,
|
|
281
|
-
"%GeneratorFunction%": needsEval,
|
|
282
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
283
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
284
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
285
|
-
"%isFinite%": isFinite,
|
|
286
|
-
"%isNaN%": isNaN,
|
|
287
|
-
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
288
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
289
|
-
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
290
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
291
|
-
"%Math%": Math,
|
|
292
|
-
"%Number%": Number,
|
|
293
|
-
"%Object%": Object,
|
|
294
|
-
"%parseFloat%": parseFloat,
|
|
295
|
-
"%parseInt%": parseInt,
|
|
296
|
-
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
297
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
298
|
-
"%RangeError%": RangeError,
|
|
299
|
-
"%ReferenceError%": ReferenceError,
|
|
300
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
301
|
-
"%RegExp%": RegExp,
|
|
302
|
-
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
303
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
304
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
305
|
-
"%String%": String,
|
|
306
|
-
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
307
|
-
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
308
|
-
"%SyntaxError%": $SyntaxError,
|
|
309
|
-
"%ThrowTypeError%": ThrowTypeError,
|
|
310
|
-
"%TypedArray%": TypedArray,
|
|
311
|
-
"%TypeError%": $TypeError,
|
|
312
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
313
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
314
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
315
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
316
|
-
"%URIError%": URIError,
|
|
317
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
318
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
319
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
320
|
-
};
|
|
321
|
-
if (getProto) {
|
|
322
|
-
try {
|
|
323
|
-
null.error;
|
|
324
|
-
} catch (e) {
|
|
325
|
-
errorProto = getProto(getProto(e));
|
|
326
|
-
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
var errorProto;
|
|
330
|
-
var doEval = function doEval2(name) {
|
|
331
|
-
var value;
|
|
332
|
-
if (name === "%AsyncFunction%") {
|
|
333
|
-
value = getEvalledConstructor("async function () {}");
|
|
334
|
-
} else if (name === "%GeneratorFunction%") {
|
|
335
|
-
value = getEvalledConstructor("function* () {}");
|
|
336
|
-
} else if (name === "%AsyncGeneratorFunction%") {
|
|
337
|
-
value = getEvalledConstructor("async function* () {}");
|
|
338
|
-
} else if (name === "%AsyncGenerator%") {
|
|
339
|
-
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
340
|
-
if (fn) {
|
|
341
|
-
value = fn.prototype;
|
|
342
|
-
}
|
|
343
|
-
} else if (name === "%AsyncIteratorPrototype%") {
|
|
344
|
-
var gen = doEval2("%AsyncGenerator%");
|
|
345
|
-
if (gen && getProto) {
|
|
346
|
-
value = getProto(gen.prototype);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
INTRINSICS[name] = value;
|
|
350
|
-
return value;
|
|
351
|
-
};
|
|
352
|
-
var LEGACY_ALIASES = {
|
|
353
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
354
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
355
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
356
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
357
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
358
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
359
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
360
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
361
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
362
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
363
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
364
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
365
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
366
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
367
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
368
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
369
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
370
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
371
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
372
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
373
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
374
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
375
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
376
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
377
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
378
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
379
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
380
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
381
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
382
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
383
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
384
|
-
"%Promise_all%": ["Promise", "all"],
|
|
385
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
386
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
387
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
388
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
389
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
390
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
391
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
392
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
393
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
394
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
395
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
396
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
397
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
398
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
399
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
400
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
401
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
402
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
403
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
404
|
-
};
|
|
405
|
-
var bind = require_function_bind();
|
|
406
|
-
var hasOwn = require_hasown();
|
|
407
|
-
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
408
|
-
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
409
|
-
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
410
|
-
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
411
|
-
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
412
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
413
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
414
|
-
var stringToPath = function stringToPath2(string) {
|
|
415
|
-
var first = $strSlice(string, 0, 1);
|
|
416
|
-
var last = $strSlice(string, -1);
|
|
417
|
-
if (first === "%" && last !== "%") {
|
|
418
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
419
|
-
} else if (last === "%" && first !== "%") {
|
|
420
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
421
|
-
}
|
|
422
|
-
var result = [];
|
|
423
|
-
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
424
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
425
|
-
});
|
|
426
|
-
return result;
|
|
427
|
-
};
|
|
428
|
-
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
429
|
-
var intrinsicName = name;
|
|
430
|
-
var alias;
|
|
431
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
432
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
433
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
434
|
-
}
|
|
435
|
-
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
436
|
-
var value = INTRINSICS[intrinsicName];
|
|
437
|
-
if (value === needsEval) {
|
|
438
|
-
value = doEval(intrinsicName);
|
|
439
|
-
}
|
|
440
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
441
|
-
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
442
|
-
}
|
|
443
|
-
return {
|
|
444
|
-
alias,
|
|
445
|
-
name: intrinsicName,
|
|
446
|
-
value
|
|
447
|
-
};
|
|
448
|
-
}
|
|
449
|
-
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
450
|
-
};
|
|
451
|
-
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
452
|
-
if (typeof name !== "string" || name.length === 0) {
|
|
453
|
-
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
454
|
-
}
|
|
455
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
456
|
-
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
457
|
-
}
|
|
458
|
-
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
459
|
-
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
460
|
-
}
|
|
461
|
-
var parts = stringToPath(name);
|
|
462
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
463
|
-
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
464
|
-
var intrinsicRealName = intrinsic.name;
|
|
465
|
-
var value = intrinsic.value;
|
|
466
|
-
var skipFurtherCaching = false;
|
|
467
|
-
var alias = intrinsic.alias;
|
|
468
|
-
if (alias) {
|
|
469
|
-
intrinsicBaseName = alias[0];
|
|
470
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
471
|
-
}
|
|
472
|
-
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
473
|
-
var part = parts[i];
|
|
474
|
-
var first = $strSlice(part, 0, 1);
|
|
475
|
-
var last = $strSlice(part, -1);
|
|
476
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
477
|
-
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
478
|
-
}
|
|
479
|
-
if (part === "constructor" || !isOwn) {
|
|
480
|
-
skipFurtherCaching = true;
|
|
481
|
-
}
|
|
482
|
-
intrinsicBaseName += "." + part;
|
|
483
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
484
|
-
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
485
|
-
value = INTRINSICS[intrinsicRealName];
|
|
486
|
-
} else if (value != null) {
|
|
487
|
-
if (!(part in value)) {
|
|
488
|
-
if (!allowMissing) {
|
|
489
|
-
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
490
|
-
}
|
|
491
|
-
return void 0;
|
|
492
|
-
}
|
|
493
|
-
if ($gOPD && i + 1 >= parts.length) {
|
|
494
|
-
var desc = $gOPD(value, part);
|
|
495
|
-
isOwn = !!desc;
|
|
496
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
497
|
-
value = desc.get;
|
|
498
|
-
} else {
|
|
499
|
-
value = value[part];
|
|
500
|
-
}
|
|
501
|
-
} else {
|
|
502
|
-
isOwn = hasOwn(value, part);
|
|
503
|
-
value = value[part];
|
|
504
|
-
}
|
|
505
|
-
if (isOwn && !skipFurtherCaching) {
|
|
506
|
-
INTRINSICS[intrinsicRealName] = value;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
return value;
|
|
511
|
-
};
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
|
|
515
|
-
// node_modules/.pnpm/has-property-descriptors@1.0.0/node_modules/has-property-descriptors/index.js
|
|
516
|
-
var require_has_property_descriptors = __commonJS({
|
|
517
|
-
"node_modules/.pnpm/has-property-descriptors@1.0.0/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
518
|
-
"use strict";
|
|
519
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
520
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
521
|
-
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
522
|
-
if ($defineProperty) {
|
|
523
|
-
try {
|
|
524
|
-
$defineProperty({}, "a", { value: 1 });
|
|
525
|
-
return true;
|
|
526
|
-
} catch (e) {
|
|
527
|
-
return false;
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
return false;
|
|
531
|
-
};
|
|
532
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
533
|
-
if (!hasPropertyDescriptors()) {
|
|
534
|
-
return null;
|
|
535
|
-
}
|
|
536
|
-
try {
|
|
537
|
-
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
538
|
-
} catch (e) {
|
|
539
|
-
return true;
|
|
540
|
-
}
|
|
357
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
358
|
+
if (target.prototype) {
|
|
359
|
+
var Empty = function Empty2() {
|
|
360
|
+
};
|
|
361
|
+
Empty.prototype = target.prototype;
|
|
362
|
+
bound.prototype = new Empty();
|
|
363
|
+
Empty.prototype = null;
|
|
364
|
+
}
|
|
365
|
+
return bound;
|
|
541
366
|
};
|
|
542
|
-
module.exports = hasPropertyDescriptors;
|
|
543
367
|
}
|
|
544
368
|
});
|
|
545
369
|
|
|
546
|
-
// node_modules/.pnpm/
|
|
547
|
-
var
|
|
548
|
-
"node_modules/.pnpm/
|
|
370
|
+
// ../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
371
|
+
var require_function_bind = __commonJS({
|
|
372
|
+
"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module) {
|
|
549
373
|
"use strict";
|
|
550
|
-
|
|
374
|
+
var implementation = require_implementation();
|
|
375
|
+
module.exports = Function.prototype.bind || implementation;
|
|
551
376
|
}
|
|
552
377
|
});
|
|
553
378
|
|
|
554
|
-
// node_modules/.pnpm/
|
|
555
|
-
var
|
|
556
|
-
"node_modules/.pnpm/
|
|
379
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
|
|
380
|
+
var require_functionCall = __commonJS({
|
|
381
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(exports, module) {
|
|
557
382
|
"use strict";
|
|
558
|
-
module.exports =
|
|
383
|
+
module.exports = Function.prototype.call;
|
|
559
384
|
}
|
|
560
385
|
});
|
|
561
386
|
|
|
562
|
-
// node_modules/.pnpm/
|
|
563
|
-
var
|
|
564
|
-
"node_modules/.pnpm/
|
|
387
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js
|
|
388
|
+
var require_functionApply = __commonJS({
|
|
389
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(exports, module) {
|
|
565
390
|
"use strict";
|
|
566
|
-
module.exports =
|
|
391
|
+
module.exports = Function.prototype.apply;
|
|
567
392
|
}
|
|
568
393
|
});
|
|
569
394
|
|
|
570
|
-
// node_modules/.pnpm/
|
|
571
|
-
var
|
|
572
|
-
"node_modules/.pnpm/
|
|
395
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
396
|
+
var require_reflectApply = __commonJS({
|
|
397
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(exports, module) {
|
|
573
398
|
"use strict";
|
|
574
|
-
module.exports =
|
|
399
|
+
module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
575
400
|
}
|
|
576
401
|
});
|
|
577
402
|
|
|
578
|
-
// node_modules/.pnpm/
|
|
579
|
-
var
|
|
580
|
-
"node_modules/.pnpm/
|
|
403
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js
|
|
404
|
+
var require_actualApply = __commonJS({
|
|
405
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(exports, module) {
|
|
581
406
|
"use strict";
|
|
582
|
-
|
|
407
|
+
var bind = require_function_bind();
|
|
408
|
+
var $apply = require_functionApply();
|
|
409
|
+
var $call = require_functionCall();
|
|
410
|
+
var $reflectApply = require_reflectApply();
|
|
411
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
583
412
|
}
|
|
584
413
|
});
|
|
585
414
|
|
|
586
|
-
// node_modules/.pnpm/
|
|
587
|
-
var
|
|
588
|
-
"node_modules/.pnpm/
|
|
415
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
|
|
416
|
+
var require_call_bind_apply_helpers = __commonJS({
|
|
417
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(exports, module) {
|
|
589
418
|
"use strict";
|
|
590
|
-
|
|
419
|
+
var bind = require_function_bind();
|
|
420
|
+
var $TypeError = require_type();
|
|
421
|
+
var $call = require_functionCall();
|
|
422
|
+
var $actualApply = require_actualApply();
|
|
423
|
+
module.exports = function callBindBasic(args) {
|
|
424
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
425
|
+
throw new $TypeError("a function is required");
|
|
426
|
+
}
|
|
427
|
+
return $actualApply(bind, $call, args);
|
|
428
|
+
};
|
|
591
429
|
}
|
|
592
430
|
});
|
|
593
431
|
|
|
594
|
-
// node_modules/.pnpm/
|
|
595
|
-
var
|
|
596
|
-
"node_modules/.pnpm/
|
|
432
|
+
// ../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
|
|
433
|
+
var require_get = __commonJS({
|
|
434
|
+
"../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports, module) {
|
|
597
435
|
"use strict";
|
|
598
|
-
|
|
436
|
+
var callBind = require_call_bind_apply_helpers();
|
|
437
|
+
var gOPD = require_gopd();
|
|
438
|
+
var hasProtoAccessor;
|
|
439
|
+
try {
|
|
440
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
441
|
+
[].__proto__ === Array.prototype;
|
|
442
|
+
} catch (e) {
|
|
443
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
444
|
+
throw e;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(
|
|
448
|
+
Object.prototype,
|
|
449
|
+
/** @type {keyof typeof Object.prototype} */
|
|
450
|
+
"__proto__"
|
|
451
|
+
);
|
|
452
|
+
var $Object = Object;
|
|
453
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
454
|
+
module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
455
|
+
/** @type {import('./get')} */
|
|
456
|
+
function getDunder(value) {
|
|
457
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
458
|
+
}
|
|
459
|
+
) : false;
|
|
599
460
|
}
|
|
600
461
|
});
|
|
601
462
|
|
|
602
|
-
// node_modules/.pnpm/
|
|
603
|
-
var
|
|
604
|
-
"node_modules/.pnpm/
|
|
463
|
+
// ../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
464
|
+
var require_get_proto = __commonJS({
|
|
465
|
+
"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports, module) {
|
|
605
466
|
"use strict";
|
|
606
|
-
var
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
467
|
+
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
468
|
+
var originalGetProto = require_Object_getPrototypeOf();
|
|
469
|
+
var getDunderProto = require_get();
|
|
470
|
+
module.exports = reflectGetProto ? function getProto(O) {
|
|
471
|
+
return reflectGetProto(O);
|
|
472
|
+
} : originalGetProto ? function getProto(O) {
|
|
473
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
474
|
+
throw new TypeError("getProto: not an object");
|
|
475
|
+
}
|
|
476
|
+
return originalGetProto(O);
|
|
477
|
+
} : getDunderProto ? function getProto(O) {
|
|
478
|
+
return getDunderProto(O);
|
|
479
|
+
} : null;
|
|
614
480
|
}
|
|
615
481
|
});
|
|
616
482
|
|
|
617
|
-
// node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
618
|
-
var
|
|
619
|
-
"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module) {
|
|
483
|
+
// ../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
484
|
+
var require_hasown = __commonJS({
|
|
485
|
+
"../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module) {
|
|
620
486
|
"use strict";
|
|
621
487
|
var call = Function.prototype.call;
|
|
622
488
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -625,11 +491,12 @@ var require_hasown2 = __commonJS({
|
|
|
625
491
|
}
|
|
626
492
|
});
|
|
627
493
|
|
|
628
|
-
// node_modules/.pnpm/get-intrinsic@1.
|
|
629
|
-
var
|
|
630
|
-
"node_modules/.pnpm/get-intrinsic@1.
|
|
494
|
+
// ../../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
495
|
+
var require_get_intrinsic = __commonJS({
|
|
496
|
+
"../../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
631
497
|
"use strict";
|
|
632
498
|
var undefined2;
|
|
499
|
+
var $Object = require_es_object_atoms();
|
|
633
500
|
var $Error = require_es_errors();
|
|
634
501
|
var $EvalError = require_eval();
|
|
635
502
|
var $RangeError = require_range();
|
|
@@ -637,6 +504,13 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
637
504
|
var $SyntaxError = require_syntax();
|
|
638
505
|
var $TypeError = require_type();
|
|
639
506
|
var $URIError = require_uri();
|
|
507
|
+
var abs = require_abs();
|
|
508
|
+
var floor = require_floor();
|
|
509
|
+
var max = require_max();
|
|
510
|
+
var min = require_min();
|
|
511
|
+
var pow = require_pow();
|
|
512
|
+
var round = require_round();
|
|
513
|
+
var sign = require_sign();
|
|
640
514
|
var $Function = Function;
|
|
641
515
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
642
516
|
try {
|
|
@@ -644,14 +518,8 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
644
518
|
} catch (e) {
|
|
645
519
|
}
|
|
646
520
|
};
|
|
647
|
-
var $gOPD =
|
|
648
|
-
|
|
649
|
-
try {
|
|
650
|
-
$gOPD({}, "");
|
|
651
|
-
} catch (e) {
|
|
652
|
-
$gOPD = null;
|
|
653
|
-
}
|
|
654
|
-
}
|
|
521
|
+
var $gOPD = require_gopd();
|
|
522
|
+
var $defineProperty = require_es_define_property();
|
|
655
523
|
var throwTypeError = function() {
|
|
656
524
|
throw new $TypeError();
|
|
657
525
|
};
|
|
@@ -668,10 +536,11 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
668
536
|
}
|
|
669
537
|
}() : throwTypeError;
|
|
670
538
|
var hasSymbols = require_has_symbols()();
|
|
671
|
-
var
|
|
672
|
-
var
|
|
673
|
-
|
|
674
|
-
|
|
539
|
+
var getProto = require_get_proto();
|
|
540
|
+
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
541
|
+
var $ReflectGPO = require_Reflect_getPrototypeOf();
|
|
542
|
+
var $apply = require_functionApply();
|
|
543
|
+
var $call = require_functionCall();
|
|
675
544
|
var needsEval = {};
|
|
676
545
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
677
546
|
var INTRINSICS = {
|
|
@@ -700,6 +569,7 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
700
569
|
"%eval%": eval,
|
|
701
570
|
// eslint-disable-line no-eval
|
|
702
571
|
"%EvalError%": $EvalError,
|
|
572
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
|
|
703
573
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
704
574
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
705
575
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
@@ -716,7 +586,8 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
716
586
|
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
717
587
|
"%Math%": Math,
|
|
718
588
|
"%Number%": Number,
|
|
719
|
-
"%Object%": Object,
|
|
589
|
+
"%Object%": $Object,
|
|
590
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
720
591
|
"%parseFloat%": parseFloat,
|
|
721
592
|
"%parseInt%": parseInt,
|
|
722
593
|
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
@@ -742,7 +613,19 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
742
613
|
"%URIError%": $URIError,
|
|
743
614
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
744
615
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
745
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
616
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
617
|
+
"%Function.prototype.call%": $call,
|
|
618
|
+
"%Function.prototype.apply%": $apply,
|
|
619
|
+
"%Object.defineProperty%": $defineProperty,
|
|
620
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
621
|
+
"%Math.abs%": abs,
|
|
622
|
+
"%Math.floor%": floor,
|
|
623
|
+
"%Math.max%": max,
|
|
624
|
+
"%Math.min%": min,
|
|
625
|
+
"%Math.pow%": pow,
|
|
626
|
+
"%Math.round%": round,
|
|
627
|
+
"%Math.sign%": sign,
|
|
628
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
746
629
|
};
|
|
747
630
|
if (getProto) {
|
|
748
631
|
try {
|
|
@@ -830,12 +713,12 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
830
713
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
831
714
|
};
|
|
832
715
|
var bind = require_function_bind();
|
|
833
|
-
var hasOwn =
|
|
834
|
-
var $concat = bind.call(
|
|
835
|
-
var $spliceApply = bind.call(
|
|
836
|
-
var $replace = bind.call(
|
|
837
|
-
var $strSlice = bind.call(
|
|
838
|
-
var $exec = bind.call(
|
|
716
|
+
var hasOwn = require_hasown();
|
|
717
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
718
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
719
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
720
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
721
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
839
722
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
840
723
|
var reEscapeChar = /\\(\\)?/g;
|
|
841
724
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -915,7 +798,7 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
915
798
|
if (!allowMissing) {
|
|
916
799
|
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
917
800
|
}
|
|
918
|
-
return void
|
|
801
|
+
return void undefined2;
|
|
919
802
|
}
|
|
920
803
|
if ($gOPD && i + 1 >= parts.length) {
|
|
921
804
|
var desc = $gOPD(value, part);
|
|
@@ -939,39 +822,13 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
939
822
|
}
|
|
940
823
|
});
|
|
941
824
|
|
|
942
|
-
// node_modules/.pnpm/
|
|
943
|
-
var require_gopd = __commonJS({
|
|
944
|
-
"node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js"(exports, module) {
|
|
945
|
-
"use strict";
|
|
946
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
947
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
948
|
-
if ($gOPD) {
|
|
949
|
-
try {
|
|
950
|
-
$gOPD([], "length");
|
|
951
|
-
} catch (e) {
|
|
952
|
-
$gOPD = null;
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
module.exports = $gOPD;
|
|
956
|
-
}
|
|
957
|
-
});
|
|
958
|
-
|
|
959
|
-
// node_modules/.pnpm/define-data-property@1.1.1/node_modules/define-data-property/index.js
|
|
825
|
+
// ../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js
|
|
960
826
|
var require_define_data_property = __commonJS({
|
|
961
|
-
"node_modules/.pnpm/define-data-property@1.1.
|
|
827
|
+
"../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"(exports, module) {
|
|
962
828
|
"use strict";
|
|
963
|
-
var
|
|
964
|
-
var
|
|
965
|
-
var $
|
|
966
|
-
if ($defineProperty) {
|
|
967
|
-
try {
|
|
968
|
-
$defineProperty({}, "a", { value: 1 });
|
|
969
|
-
} catch (e) {
|
|
970
|
-
$defineProperty = false;
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
var $SyntaxError = GetIntrinsic("%SyntaxError%");
|
|
974
|
-
var $TypeError = GetIntrinsic("%TypeError%");
|
|
829
|
+
var $defineProperty = require_es_define_property();
|
|
830
|
+
var $SyntaxError = require_syntax();
|
|
831
|
+
var $TypeError = require_type();
|
|
975
832
|
var gopd = require_gopd();
|
|
976
833
|
module.exports = function defineDataProperty(obj, property, value) {
|
|
977
834
|
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -1013,15 +870,37 @@ var require_define_data_property = __commonJS({
|
|
|
1013
870
|
}
|
|
1014
871
|
});
|
|
1015
872
|
|
|
1016
|
-
// node_modules/.pnpm/
|
|
873
|
+
// ../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
874
|
+
var require_has_property_descriptors = __commonJS({
|
|
875
|
+
"../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
876
|
+
"use strict";
|
|
877
|
+
var $defineProperty = require_es_define_property();
|
|
878
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
879
|
+
return !!$defineProperty;
|
|
880
|
+
};
|
|
881
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
882
|
+
if (!$defineProperty) {
|
|
883
|
+
return null;
|
|
884
|
+
}
|
|
885
|
+
try {
|
|
886
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
887
|
+
} catch (e) {
|
|
888
|
+
return true;
|
|
889
|
+
}
|
|
890
|
+
};
|
|
891
|
+
module.exports = hasPropertyDescriptors;
|
|
892
|
+
}
|
|
893
|
+
});
|
|
894
|
+
|
|
895
|
+
// ../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js
|
|
1017
896
|
var require_set_function_length = __commonJS({
|
|
1018
|
-
"node_modules/.pnpm/set-function-length@1.
|
|
897
|
+
"../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports, module) {
|
|
1019
898
|
"use strict";
|
|
1020
899
|
var GetIntrinsic = require_get_intrinsic();
|
|
1021
900
|
var define = require_define_data_property();
|
|
1022
901
|
var hasDescriptors = require_has_property_descriptors()();
|
|
1023
902
|
var gOPD = require_gopd();
|
|
1024
|
-
var $TypeError =
|
|
903
|
+
var $TypeError = require_type();
|
|
1025
904
|
var $floor = GetIntrinsic("%Math.floor%");
|
|
1026
905
|
module.exports = function setFunctionLength(fn, length) {
|
|
1027
906
|
if (typeof fn !== "function") {
|
|
@@ -1044,9 +923,21 @@ var require_set_function_length = __commonJS({
|
|
|
1044
923
|
}
|
|
1045
924
|
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
1046
925
|
if (hasDescriptors) {
|
|
1047
|
-
define(
|
|
926
|
+
define(
|
|
927
|
+
/** @type {Parameters<define>[0]} */
|
|
928
|
+
fn,
|
|
929
|
+
"length",
|
|
930
|
+
length,
|
|
931
|
+
true,
|
|
932
|
+
true
|
|
933
|
+
);
|
|
1048
934
|
} else {
|
|
1049
|
-
define(
|
|
935
|
+
define(
|
|
936
|
+
/** @type {Parameters<define>[0]} */
|
|
937
|
+
fn,
|
|
938
|
+
"length",
|
|
939
|
+
length
|
|
940
|
+
);
|
|
1050
941
|
}
|
|
1051
942
|
}
|
|
1052
943
|
return fn;
|
|
@@ -1054,40 +945,36 @@ var require_set_function_length = __commonJS({
|
|
|
1054
945
|
}
|
|
1055
946
|
});
|
|
1056
947
|
|
|
1057
|
-
// node_modules/.pnpm/call-bind@1.0.
|
|
1058
|
-
var
|
|
1059
|
-
"node_modules/.pnpm/call-bind@1.0.
|
|
948
|
+
// ../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js
|
|
949
|
+
var require_applyBind = __commonJS({
|
|
950
|
+
"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js"(exports, module) {
|
|
1060
951
|
"use strict";
|
|
1061
952
|
var bind = require_function_bind();
|
|
1062
|
-
var
|
|
953
|
+
var $apply = require_functionApply();
|
|
954
|
+
var actualApply = require_actualApply();
|
|
955
|
+
module.exports = function applyBind() {
|
|
956
|
+
return actualApply(bind, $apply, arguments);
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
});
|
|
960
|
+
|
|
961
|
+
// ../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js
|
|
962
|
+
var require_call_bind = __commonJS({
|
|
963
|
+
"../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js"(exports, module) {
|
|
964
|
+
"use strict";
|
|
1063
965
|
var setFunctionLength = require_set_function_length();
|
|
1064
|
-
var $
|
|
1065
|
-
var
|
|
1066
|
-
var
|
|
1067
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
1068
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
1069
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
1070
|
-
if ($defineProperty) {
|
|
1071
|
-
try {
|
|
1072
|
-
$defineProperty({}, "a", { value: 1 });
|
|
1073
|
-
} catch (e) {
|
|
1074
|
-
$defineProperty = null;
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
966
|
+
var $defineProperty = require_es_define_property();
|
|
967
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
968
|
+
var applyBind = require_applyBind();
|
|
1077
969
|
module.exports = function callBind(originalFunction) {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
}
|
|
1081
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
970
|
+
var func = callBindBasic(arguments);
|
|
971
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
1082
972
|
return setFunctionLength(
|
|
1083
973
|
func,
|
|
1084
|
-
1 +
|
|
974
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
1085
975
|
true
|
|
1086
976
|
);
|
|
1087
977
|
};
|
|
1088
|
-
var applyBind = function applyBind2() {
|
|
1089
|
-
return $reflectApply(bind, $apply, arguments);
|
|
1090
|
-
};
|
|
1091
978
|
if ($defineProperty) {
|
|
1092
979
|
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
1093
980
|
} else {
|
|
@@ -1096,9 +983,9 @@ var require_call_bind = __commonJS({
|
|
|
1096
983
|
}
|
|
1097
984
|
});
|
|
1098
985
|
|
|
1099
|
-
// node_modules/.pnpm/call-bind@1.0.
|
|
986
|
+
// ../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js
|
|
1100
987
|
var require_callBound = __commonJS({
|
|
1101
|
-
"node_modules/.pnpm/call-bind@1.0.
|
|
988
|
+
"../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js"(exports, module) {
|
|
1102
989
|
"use strict";
|
|
1103
990
|
var GetIntrinsic = require_get_intrinsic();
|
|
1104
991
|
var callBind = require_call_bind();
|
|
@@ -1113,9 +1000,9 @@ var require_callBound = __commonJS({
|
|
|
1113
1000
|
}
|
|
1114
1001
|
});
|
|
1115
1002
|
|
|
1116
|
-
// node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js
|
|
1003
|
+
// ../../../node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js
|
|
1117
1004
|
var require_is_arguments = __commonJS({
|
|
1118
|
-
"node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js"(exports, module) {
|
|
1005
|
+
"../../../node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js"(exports, module) {
|
|
1119
1006
|
"use strict";
|
|
1120
1007
|
var hasToStringTag = require_shams2()();
|
|
1121
1008
|
var callBound = require_callBound();
|
|
@@ -1140,9 +1027,9 @@ var require_is_arguments = __commonJS({
|
|
|
1140
1027
|
}
|
|
1141
1028
|
});
|
|
1142
1029
|
|
|
1143
|
-
// node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js
|
|
1030
|
+
// ../../../node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js
|
|
1144
1031
|
var require_is_generator_function = __commonJS({
|
|
1145
|
-
"node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js"(exports, module) {
|
|
1032
|
+
"../../../node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js"(exports, module) {
|
|
1146
1033
|
"use strict";
|
|
1147
1034
|
var toStr = Object.prototype.toString;
|
|
1148
1035
|
var fnToStr = Function.prototype.toString;
|
|
@@ -1182,9 +1069,9 @@ var require_is_generator_function = __commonJS({
|
|
|
1182
1069
|
}
|
|
1183
1070
|
});
|
|
1184
1071
|
|
|
1185
|
-
// node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
1072
|
+
// ../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
1186
1073
|
var require_is_callable = __commonJS({
|
|
1187
|
-
"node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(exports, module) {
|
|
1074
|
+
"../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(exports, module) {
|
|
1188
1075
|
"use strict";
|
|
1189
1076
|
var fnToStr = Function.prototype.toString;
|
|
1190
1077
|
var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
@@ -1300,9 +1187,9 @@ var require_is_callable = __commonJS({
|
|
|
1300
1187
|
}
|
|
1301
1188
|
});
|
|
1302
1189
|
|
|
1303
|
-
// node_modules/.pnpm/for-each@0.3.
|
|
1190
|
+
// ../../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js
|
|
1304
1191
|
var require_for_each = __commonJS({
|
|
1305
|
-
"node_modules/.pnpm/for-each@0.3.
|
|
1192
|
+
"../../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js"(exports, module) {
|
|
1306
1193
|
"use strict";
|
|
1307
1194
|
var isCallable = require_is_callable();
|
|
1308
1195
|
var toStr = Object.prototype.toString;
|
|
@@ -1338,7 +1225,10 @@ var require_for_each = __commonJS({
|
|
|
1338
1225
|
}
|
|
1339
1226
|
}
|
|
1340
1227
|
};
|
|
1341
|
-
|
|
1228
|
+
function isArray(x) {
|
|
1229
|
+
return toStr.call(x) === "[object Array]";
|
|
1230
|
+
}
|
|
1231
|
+
module.exports = function forEach(list, iterator, thisArg) {
|
|
1342
1232
|
if (!isCallable(iterator)) {
|
|
1343
1233
|
throw new TypeError("iterator must be a function");
|
|
1344
1234
|
}
|
|
@@ -1346,7 +1236,7 @@ var require_for_each = __commonJS({
|
|
|
1346
1236
|
if (arguments.length >= 3) {
|
|
1347
1237
|
receiver = thisArg;
|
|
1348
1238
|
}
|
|
1349
|
-
if (
|
|
1239
|
+
if (isArray(list)) {
|
|
1350
1240
|
forEachArray(list, iterator, receiver);
|
|
1351
1241
|
} else if (typeof list === "string") {
|
|
1352
1242
|
forEachString(list, iterator, receiver);
|
|
@@ -1354,27 +1244,35 @@ var require_for_each = __commonJS({
|
|
|
1354
1244
|
forEachObject(list, iterator, receiver);
|
|
1355
1245
|
}
|
|
1356
1246
|
};
|
|
1357
|
-
module.exports = forEach;
|
|
1358
1247
|
}
|
|
1359
1248
|
});
|
|
1360
1249
|
|
|
1361
|
-
// node_modules/.pnpm/
|
|
1362
|
-
var
|
|
1363
|
-
"node_modules/.pnpm/
|
|
1250
|
+
// ../../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js
|
|
1251
|
+
var require_possible_typed_array_names = __commonJS({
|
|
1252
|
+
"../../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js"(exports, module) {
|
|
1364
1253
|
"use strict";
|
|
1365
|
-
|
|
1366
|
-
"
|
|
1367
|
-
"BigUint64Array",
|
|
1254
|
+
module.exports = [
|
|
1255
|
+
"Float16Array",
|
|
1368
1256
|
"Float32Array",
|
|
1369
1257
|
"Float64Array",
|
|
1258
|
+
"Int8Array",
|
|
1370
1259
|
"Int16Array",
|
|
1371
1260
|
"Int32Array",
|
|
1372
|
-
"
|
|
1261
|
+
"Uint8Array",
|
|
1262
|
+
"Uint8ClampedArray",
|
|
1373
1263
|
"Uint16Array",
|
|
1374
1264
|
"Uint32Array",
|
|
1375
|
-
"
|
|
1376
|
-
"
|
|
1265
|
+
"BigInt64Array",
|
|
1266
|
+
"BigUint64Array"
|
|
1377
1267
|
];
|
|
1268
|
+
}
|
|
1269
|
+
});
|
|
1270
|
+
|
|
1271
|
+
// ../../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js
|
|
1272
|
+
var require_available_typed_arrays = __commonJS({
|
|
1273
|
+
"../../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js"(exports, module) {
|
|
1274
|
+
"use strict";
|
|
1275
|
+
var possibleNames = require_possible_typed_array_names();
|
|
1378
1276
|
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1379
1277
|
module.exports = function availableTypedArrays() {
|
|
1380
1278
|
var out = [];
|
|
@@ -1388,99 +1286,44 @@ var require_available_typed_arrays = __commonJS({
|
|
|
1388
1286
|
}
|
|
1389
1287
|
});
|
|
1390
1288
|
|
|
1391
|
-
// node_modules/.pnpm/call-
|
|
1392
|
-
var
|
|
1393
|
-
"node_modules/.pnpm/call-
|
|
1394
|
-
"use strict";
|
|
1395
|
-
var bind = require_function_bind();
|
|
1396
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1397
|
-
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
1398
|
-
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
1399
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
1400
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
1401
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
1402
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
1403
|
-
if ($defineProperty) {
|
|
1404
|
-
try {
|
|
1405
|
-
$defineProperty({}, "a", { value: 1 });
|
|
1406
|
-
} catch (e) {
|
|
1407
|
-
$defineProperty = null;
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
module.exports = function callBind(originalFunction) {
|
|
1411
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
1412
|
-
if ($gOPD && $defineProperty) {
|
|
1413
|
-
var desc = $gOPD(func, "length");
|
|
1414
|
-
if (desc.configurable) {
|
|
1415
|
-
$defineProperty(
|
|
1416
|
-
func,
|
|
1417
|
-
"length",
|
|
1418
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
1419
|
-
);
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
return func;
|
|
1423
|
-
};
|
|
1424
|
-
var applyBind = function applyBind2() {
|
|
1425
|
-
return $reflectApply(bind, $apply, arguments);
|
|
1426
|
-
};
|
|
1427
|
-
if ($defineProperty) {
|
|
1428
|
-
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
1429
|
-
} else {
|
|
1430
|
-
module.exports.apply = applyBind;
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
});
|
|
1434
|
-
|
|
1435
|
-
// node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js
|
|
1436
|
-
var require_callBound2 = __commonJS({
|
|
1437
|
-
"node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js"(exports, module) {
|
|
1289
|
+
// ../../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js
|
|
1290
|
+
var require_call_bound = __commonJS({
|
|
1291
|
+
"../../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(exports, module) {
|
|
1438
1292
|
"use strict";
|
|
1439
1293
|
var GetIntrinsic = require_get_intrinsic();
|
|
1440
|
-
var
|
|
1441
|
-
var $indexOf =
|
|
1294
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
1295
|
+
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
1442
1296
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
1443
|
-
var intrinsic =
|
|
1297
|
+
var intrinsic = (
|
|
1298
|
+
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
1299
|
+
GetIntrinsic(name, !!allowMissing)
|
|
1300
|
+
);
|
|
1444
1301
|
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
1445
|
-
return
|
|
1302
|
+
return callBindBasic(
|
|
1303
|
+
/** @type {const} */
|
|
1304
|
+
[intrinsic]
|
|
1305
|
+
);
|
|
1446
1306
|
}
|
|
1447
1307
|
return intrinsic;
|
|
1448
1308
|
};
|
|
1449
1309
|
}
|
|
1450
1310
|
});
|
|
1451
1311
|
|
|
1452
|
-
// node_modules/.pnpm/
|
|
1453
|
-
var require_getOwnPropertyDescriptor = __commonJS({
|
|
1454
|
-
"node_modules/.pnpm/es-abstract@1.20.4/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js"(exports, module) {
|
|
1455
|
-
"use strict";
|
|
1456
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1457
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
1458
|
-
if ($gOPD) {
|
|
1459
|
-
try {
|
|
1460
|
-
$gOPD([], "length");
|
|
1461
|
-
} catch (e) {
|
|
1462
|
-
$gOPD = null;
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
module.exports = $gOPD;
|
|
1466
|
-
}
|
|
1467
|
-
});
|
|
1468
|
-
|
|
1469
|
-
// node_modules/.pnpm/which-typed-array@1.1.13/node_modules/which-typed-array/index.js
|
|
1312
|
+
// ../../../node_modules/.pnpm/which-typed-array@1.1.19/node_modules/which-typed-array/index.js
|
|
1470
1313
|
var require_which_typed_array = __commonJS({
|
|
1471
|
-
"node_modules/.pnpm/which-typed-array@1.1.
|
|
1314
|
+
"../../../node_modules/.pnpm/which-typed-array@1.1.19/node_modules/which-typed-array/index.js"(exports, module) {
|
|
1472
1315
|
"use strict";
|
|
1473
1316
|
var forEach = require_for_each();
|
|
1474
1317
|
var availableTypedArrays = require_available_typed_arrays();
|
|
1475
1318
|
var callBind = require_call_bind();
|
|
1476
|
-
var callBound =
|
|
1319
|
+
var callBound = require_call_bound();
|
|
1477
1320
|
var gOPD = require_gopd();
|
|
1321
|
+
var getProto = require_get_proto();
|
|
1478
1322
|
var $toString = callBound("Object.prototype.toString");
|
|
1479
1323
|
var hasToStringTag = require_shams2()();
|
|
1480
1324
|
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1481
1325
|
var typedArrays = availableTypedArrays();
|
|
1482
1326
|
var $slice = callBound("String.prototype.slice");
|
|
1483
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1484
1327
|
var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(array, value) {
|
|
1485
1328
|
for (var i = 0; i < array.length; i += 1) {
|
|
1486
1329
|
if (array[i] === value) {
|
|
@@ -1490,14 +1333,14 @@ var require_which_typed_array = __commonJS({
|
|
|
1490
1333
|
return -1;
|
|
1491
1334
|
};
|
|
1492
1335
|
var cache = { __proto__: null };
|
|
1493
|
-
if (hasToStringTag && gOPD &&
|
|
1336
|
+
if (hasToStringTag && gOPD && getProto) {
|
|
1494
1337
|
forEach(typedArrays, function(typedArray) {
|
|
1495
1338
|
var arr = new g[typedArray]();
|
|
1496
|
-
if (Symbol.toStringTag in arr) {
|
|
1497
|
-
var proto =
|
|
1339
|
+
if (Symbol.toStringTag in arr && getProto) {
|
|
1340
|
+
var proto = getProto(arr);
|
|
1498
1341
|
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1499
|
-
if (!descriptor) {
|
|
1500
|
-
var superProto =
|
|
1342
|
+
if (!descriptor && proto) {
|
|
1343
|
+
var superProto = getProto(proto);
|
|
1501
1344
|
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1502
1345
|
}
|
|
1503
1346
|
cache["$" + typedArray] = callBind(descriptor.get);
|
|
@@ -1508,35 +1351,52 @@ var require_which_typed_array = __commonJS({
|
|
|
1508
1351
|
var arr = new g[typedArray]();
|
|
1509
1352
|
var fn = arr.slice || arr.set;
|
|
1510
1353
|
if (fn) {
|
|
1511
|
-
cache[
|
|
1354
|
+
cache[
|
|
1355
|
+
/** @type {`$${import('.').TypedArrayName}`} */
|
|
1356
|
+
"$" + typedArray
|
|
1357
|
+
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
1358
|
+
// @ts-expect-error TODO FIXME
|
|
1359
|
+
callBind(fn);
|
|
1512
1360
|
}
|
|
1513
1361
|
});
|
|
1514
1362
|
}
|
|
1515
1363
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
1516
1364
|
var found = false;
|
|
1517
|
-
forEach(
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1365
|
+
forEach(
|
|
1366
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
1367
|
+
cache,
|
|
1368
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
1369
|
+
function(getter, typedArray) {
|
|
1370
|
+
if (!found) {
|
|
1371
|
+
try {
|
|
1372
|
+
if ("$" + getter(value) === typedArray) {
|
|
1373
|
+
found = /** @type {import('.').TypedArrayName} */
|
|
1374
|
+
$slice(typedArray, 1);
|
|
1375
|
+
}
|
|
1376
|
+
} catch (e) {
|
|
1522
1377
|
}
|
|
1523
|
-
} catch (e) {
|
|
1524
1378
|
}
|
|
1525
1379
|
}
|
|
1526
|
-
|
|
1380
|
+
);
|
|
1527
1381
|
return found;
|
|
1528
1382
|
};
|
|
1529
1383
|
var trySlices = function tryAllSlices(value) {
|
|
1530
1384
|
var found = false;
|
|
1531
|
-
forEach(
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1385
|
+
forEach(
|
|
1386
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
1387
|
+
cache,
|
|
1388
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
1389
|
+
function(getter, name) {
|
|
1390
|
+
if (!found) {
|
|
1391
|
+
try {
|
|
1392
|
+
getter(value);
|
|
1393
|
+
found = /** @type {import('.').TypedArrayName} */
|
|
1394
|
+
$slice(name, 1);
|
|
1395
|
+
} catch (e) {
|
|
1396
|
+
}
|
|
1537
1397
|
}
|
|
1538
1398
|
}
|
|
1539
|
-
|
|
1399
|
+
);
|
|
1540
1400
|
return found;
|
|
1541
1401
|
};
|
|
1542
1402
|
module.exports = function whichTypedArray(value) {
|
|
@@ -1561,9 +1421,9 @@ var require_which_typed_array = __commonJS({
|
|
|
1561
1421
|
}
|
|
1562
1422
|
});
|
|
1563
1423
|
|
|
1564
|
-
// node_modules/.pnpm/is-typed-array@1.1.
|
|
1424
|
+
// ../../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js
|
|
1565
1425
|
var require_is_typed_array = __commonJS({
|
|
1566
|
-
"node_modules/.pnpm/is-typed-array@1.1.
|
|
1426
|
+
"../../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js"(exports, module) {
|
|
1567
1427
|
"use strict";
|
|
1568
1428
|
var whichTypedArray = require_which_typed_array();
|
|
1569
1429
|
module.exports = function isTypedArray(value) {
|
|
@@ -1572,138 +1432,14 @@ var require_is_typed_array = __commonJS({
|
|
|
1572
1432
|
}
|
|
1573
1433
|
});
|
|
1574
1434
|
|
|
1575
|
-
// node_modules/.pnpm/
|
|
1576
|
-
var require_which_typed_array2 = __commonJS({
|
|
1577
|
-
"node_modules/.pnpm/which-typed-array@1.1.8/node_modules/which-typed-array/index.js"(exports, module) {
|
|
1578
|
-
"use strict";
|
|
1579
|
-
var forEach = require_for_each();
|
|
1580
|
-
var availableTypedArrays = require_available_typed_arrays();
|
|
1581
|
-
var callBound = require_callBound2();
|
|
1582
|
-
var $toString = callBound("Object.prototype.toString");
|
|
1583
|
-
var hasToStringTag = require_shams2()();
|
|
1584
|
-
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1585
|
-
var typedArrays = availableTypedArrays();
|
|
1586
|
-
var $slice = callBound("String.prototype.slice");
|
|
1587
|
-
var toStrTags = {};
|
|
1588
|
-
var gOPD = require_getOwnPropertyDescriptor();
|
|
1589
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1590
|
-
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
1591
|
-
forEach(typedArrays, function(typedArray) {
|
|
1592
|
-
if (typeof g[typedArray] === "function") {
|
|
1593
|
-
var arr = new g[typedArray]();
|
|
1594
|
-
if (Symbol.toStringTag in arr) {
|
|
1595
|
-
var proto = getPrototypeOf(arr);
|
|
1596
|
-
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1597
|
-
if (!descriptor) {
|
|
1598
|
-
var superProto = getPrototypeOf(proto);
|
|
1599
|
-
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1600
|
-
}
|
|
1601
|
-
toStrTags[typedArray] = descriptor.get;
|
|
1602
|
-
}
|
|
1603
|
-
}
|
|
1604
|
-
});
|
|
1605
|
-
}
|
|
1606
|
-
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
1607
|
-
var foundName = false;
|
|
1608
|
-
forEach(toStrTags, function(getter, typedArray) {
|
|
1609
|
-
if (!foundName) {
|
|
1610
|
-
try {
|
|
1611
|
-
var name = getter.call(value);
|
|
1612
|
-
if (name === typedArray) {
|
|
1613
|
-
foundName = name;
|
|
1614
|
-
}
|
|
1615
|
-
} catch (e) {
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
});
|
|
1619
|
-
return foundName;
|
|
1620
|
-
};
|
|
1621
|
-
var isTypedArray = require_is_typed_array();
|
|
1622
|
-
module.exports = function whichTypedArray(value) {
|
|
1623
|
-
if (!isTypedArray(value)) {
|
|
1624
|
-
return false;
|
|
1625
|
-
}
|
|
1626
|
-
if (!hasToStringTag || !(Symbol.toStringTag in value)) {
|
|
1627
|
-
return $slice($toString(value), 8, -1);
|
|
1628
|
-
}
|
|
1629
|
-
return tryTypedArrays(value);
|
|
1630
|
-
};
|
|
1631
|
-
}
|
|
1632
|
-
});
|
|
1633
|
-
|
|
1634
|
-
// node_modules/.pnpm/is-typed-array@1.1.9/node_modules/is-typed-array/index.js
|
|
1635
|
-
var require_is_typed_array2 = __commonJS({
|
|
1636
|
-
"node_modules/.pnpm/is-typed-array@1.1.9/node_modules/is-typed-array/index.js"(exports, module) {
|
|
1637
|
-
"use strict";
|
|
1638
|
-
var forEach = require_for_each();
|
|
1639
|
-
var availableTypedArrays = require_available_typed_arrays();
|
|
1640
|
-
var callBound = require_callBound2();
|
|
1641
|
-
var $toString = callBound("Object.prototype.toString");
|
|
1642
|
-
var hasToStringTag = require_shams2()();
|
|
1643
|
-
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
1644
|
-
var typedArrays = availableTypedArrays();
|
|
1645
|
-
var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(array, value) {
|
|
1646
|
-
for (var i = 0; i < array.length; i += 1) {
|
|
1647
|
-
if (array[i] === value) {
|
|
1648
|
-
return i;
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
return -1;
|
|
1652
|
-
};
|
|
1653
|
-
var $slice = callBound("String.prototype.slice");
|
|
1654
|
-
var toStrTags = {};
|
|
1655
|
-
var gOPD = require_getOwnPropertyDescriptor();
|
|
1656
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1657
|
-
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
1658
|
-
forEach(typedArrays, function(typedArray) {
|
|
1659
|
-
var arr = new g[typedArray]();
|
|
1660
|
-
if (Symbol.toStringTag in arr) {
|
|
1661
|
-
var proto = getPrototypeOf(arr);
|
|
1662
|
-
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1663
|
-
if (!descriptor) {
|
|
1664
|
-
var superProto = getPrototypeOf(proto);
|
|
1665
|
-
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1666
|
-
}
|
|
1667
|
-
toStrTags[typedArray] = descriptor.get;
|
|
1668
|
-
}
|
|
1669
|
-
});
|
|
1670
|
-
}
|
|
1671
|
-
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
1672
|
-
var anyTrue = false;
|
|
1673
|
-
forEach(toStrTags, function(getter, typedArray) {
|
|
1674
|
-
if (!anyTrue) {
|
|
1675
|
-
try {
|
|
1676
|
-
anyTrue = getter.call(value) === typedArray;
|
|
1677
|
-
} catch (e) {
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
});
|
|
1681
|
-
return anyTrue;
|
|
1682
|
-
};
|
|
1683
|
-
module.exports = function isTypedArray(value) {
|
|
1684
|
-
if (!value || typeof value !== "object") {
|
|
1685
|
-
return false;
|
|
1686
|
-
}
|
|
1687
|
-
if (!hasToStringTag || !(Symbol.toStringTag in value)) {
|
|
1688
|
-
var tag = $slice($toString(value), 8, -1);
|
|
1689
|
-
return $indexOf(typedArrays, tag) > -1;
|
|
1690
|
-
}
|
|
1691
|
-
if (!gOPD) {
|
|
1692
|
-
return false;
|
|
1693
|
-
}
|
|
1694
|
-
return tryTypedArrays(value);
|
|
1695
|
-
};
|
|
1696
|
-
}
|
|
1697
|
-
});
|
|
1698
|
-
|
|
1699
|
-
// node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js
|
|
1435
|
+
// ../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js
|
|
1700
1436
|
var require_types = __commonJS({
|
|
1701
|
-
"node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js"(exports) {
|
|
1437
|
+
"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js"(exports) {
|
|
1702
1438
|
"use strict";
|
|
1703
1439
|
var isArgumentsObject = require_is_arguments();
|
|
1704
1440
|
var isGeneratorFunction = require_is_generator_function();
|
|
1705
|
-
var whichTypedArray =
|
|
1706
|
-
var isTypedArray =
|
|
1441
|
+
var whichTypedArray = require_which_typed_array();
|
|
1442
|
+
var isTypedArray = require_is_typed_array();
|
|
1707
1443
|
function uncurryThis(f) {
|
|
1708
1444
|
return f.call.bind(f);
|
|
1709
1445
|
}
|
|
@@ -1926,18 +1662,18 @@ var require_types = __commonJS({
|
|
|
1926
1662
|
}
|
|
1927
1663
|
});
|
|
1928
1664
|
|
|
1929
|
-
// node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBuffer.js
|
|
1665
|
+
// ../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBuffer.js
|
|
1930
1666
|
var require_isBuffer = __commonJS({
|
|
1931
|
-
"node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBuffer.js"(exports, module) {
|
|
1667
|
+
"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBuffer.js"(exports, module) {
|
|
1932
1668
|
module.exports = function isBuffer(arg) {
|
|
1933
1669
|
return arg instanceof Buffer;
|
|
1934
1670
|
};
|
|
1935
1671
|
}
|
|
1936
1672
|
});
|
|
1937
1673
|
|
|
1938
|
-
// node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js
|
|
1674
|
+
// ../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js
|
|
1939
1675
|
var require_inherits_browser = __commonJS({
|
|
1940
|
-
"node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports, module) {
|
|
1676
|
+
"../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports, module) {
|
|
1941
1677
|
if (typeof Object.create === "function") {
|
|
1942
1678
|
module.exports = function inherits(ctor, superCtor) {
|
|
1943
1679
|
if (superCtor) {
|
|
@@ -1967,9 +1703,9 @@ var require_inherits_browser = __commonJS({
|
|
|
1967
1703
|
}
|
|
1968
1704
|
});
|
|
1969
1705
|
|
|
1970
|
-
// node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js
|
|
1706
|
+
// ../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js
|
|
1971
1707
|
var require_inherits = __commonJS({
|
|
1972
|
-
"node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports, module) {
|
|
1708
|
+
"../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports, module) {
|
|
1973
1709
|
try {
|
|
1974
1710
|
util2 = __require("util");
|
|
1975
1711
|
if (typeof util2.inherits !== "function") throw "";
|
|
@@ -1981,9 +1717,9 @@ var require_inherits = __commonJS({
|
|
|
1981
1717
|
}
|
|
1982
1718
|
});
|
|
1983
1719
|
|
|
1984
|
-
// node_modules/.pnpm/util@0.12.5/node_modules/util/util.js
|
|
1720
|
+
// ../../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js
|
|
1985
1721
|
var require_util = __commonJS({
|
|
1986
|
-
"node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"(exports) {
|
|
1722
|
+
"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"(exports) {
|
|
1987
1723
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
1988
1724
|
var keys = Object.keys(obj);
|
|
1989
1725
|
var descriptors = {};
|
|
@@ -2540,7 +2276,7 @@ var require_util = __commonJS({
|
|
|
2540
2276
|
}
|
|
2541
2277
|
});
|
|
2542
2278
|
|
|
2543
|
-
//
|
|
2279
|
+
// src/util.js
|
|
2544
2280
|
var import_util = __toESM(require_util(), 1);
|
|
2545
2281
|
var import_util2 = __toESM(require_util(), 1);
|
|
2546
2282
|
var util_default = import_util.default;
|