@rstest/core 0.5.1 → 0.5.3

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/0~908.js DELETED
@@ -1,920 +0,0 @@
1
- import 'module';
2
- /*#__PURE__*/ import.meta.url;
3
- export const __webpack_id__ = "908";
4
- export const __webpack_ids__ = [
5
- "908"
6
- ];
7
- export const __webpack_modules__ = {
8
- "../../node_modules/.pnpm/stacktrace-parser@0.1.11/node_modules/stacktrace-parser/dist/stack-trace-parser.esm.js": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9
- __webpack_require__.d(__webpack_exports__, {
10
- q: ()=>parse
11
- });
12
- var UNKNOWN_FUNCTION = '<unknown>';
13
- function parse(stackString) {
14
- var lines = stackString.split('\n');
15
- return lines.reduce(function(stack, line) {
16
- var parseResult = parseChrome(line) || parseWinjs(line) || parseGecko(line) || parseNode(line) || parseJSC(line);
17
- if (parseResult) stack.push(parseResult);
18
- return stack;
19
- }, []);
20
- }
21
- var chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
22
- var chromeEvalRe = /\((\S*)(?::(\d+))(?::(\d+))\)/;
23
- function parseChrome(line) {
24
- var parts = chromeRe.exec(line);
25
- if (!parts) return null;
26
- var isNative = parts[2] && 0 === parts[2].indexOf('native');
27
- var isEval = parts[2] && 0 === parts[2].indexOf('eval');
28
- var submatch = chromeEvalRe.exec(parts[2]);
29
- if (isEval && null != submatch) {
30
- parts[2] = submatch[1];
31
- parts[3] = submatch[2];
32
- parts[4] = submatch[3];
33
- }
34
- return {
35
- file: isNative ? null : parts[2],
36
- methodName: parts[1] || UNKNOWN_FUNCTION,
37
- arguments: isNative ? [
38
- parts[2]
39
- ] : [],
40
- lineNumber: parts[3] ? +parts[3] : null,
41
- column: parts[4] ? +parts[4] : null
42
- };
43
- }
44
- var winjsRe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
45
- function parseWinjs(line) {
46
- var parts = winjsRe.exec(line);
47
- if (!parts) return null;
48
- return {
49
- file: parts[2],
50
- methodName: parts[1] || UNKNOWN_FUNCTION,
51
- arguments: [],
52
- lineNumber: +parts[3],
53
- column: parts[4] ? +parts[4] : null
54
- };
55
- }
56
- var geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
57
- var geckoEvalRe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
58
- function parseGecko(line) {
59
- var parts = geckoRe.exec(line);
60
- if (!parts) return null;
61
- var isEval = parts[3] && parts[3].indexOf(' > eval') > -1;
62
- var submatch = geckoEvalRe.exec(parts[3]);
63
- if (isEval && null != submatch) {
64
- parts[3] = submatch[1];
65
- parts[4] = submatch[2];
66
- parts[5] = null;
67
- }
68
- return {
69
- file: parts[3],
70
- methodName: parts[1] || UNKNOWN_FUNCTION,
71
- arguments: parts[2] ? parts[2].split(',') : [],
72
- lineNumber: parts[4] ? +parts[4] : null,
73
- column: parts[5] ? +parts[5] : null
74
- };
75
- }
76
- var javaScriptCoreRe = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
77
- function parseJSC(line) {
78
- var parts = javaScriptCoreRe.exec(line);
79
- if (!parts) return null;
80
- return {
81
- file: parts[3],
82
- methodName: parts[1] || UNKNOWN_FUNCTION,
83
- arguments: [],
84
- lineNumber: +parts[4],
85
- column: parts[5] ? +parts[5] : null
86
- };
87
- }
88
- var nodeRe = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
89
- function parseNode(line) {
90
- var parts = nodeRe.exec(line);
91
- if (!parts) return null;
92
- return {
93
- file: parts[2],
94
- methodName: parts[1] || UNKNOWN_FUNCTION,
95
- arguments: [],
96
- lineNumber: +parts[3],
97
- column: parts[4] ? +parts[4] : null
98
- };
99
- }
100
- },
101
- "../../node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
102
- __webpack_require__.d(__webpack_exports__, {
103
- YX: ()=>TraceMap,
104
- sP: ()=>originalPositionFor
105
- });
106
- var comma = ",".charCodeAt(0);
107
- var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
108
- var intToChar = new Uint8Array(64);
109
- var charToInt = new Uint8Array(128);
110
- for(let i = 0; i < chars.length; i++){
111
- const c = chars.charCodeAt(i);
112
- intToChar[i] = c;
113
- charToInt[c] = i;
114
- }
115
- function decodeInteger(reader, relative) {
116
- let value = 0;
117
- let shift = 0;
118
- let integer = 0;
119
- do {
120
- const c = reader.next();
121
- integer = charToInt[c];
122
- value |= (31 & integer) << shift;
123
- shift += 5;
124
- }while (32 & integer);
125
- const shouldNegate = 1 & value;
126
- value >>>= 1;
127
- if (shouldNegate) value = -2147483648 | -value;
128
- return relative + value;
129
- }
130
- function hasMoreVlq(reader, max) {
131
- if (reader.pos >= max) return false;
132
- return reader.peek() !== comma;
133
- }
134
- typeof TextDecoder;
135
- var StringReader = class {
136
- constructor(buffer){
137
- this.pos = 0;
138
- this.buffer = buffer;
139
- }
140
- next() {
141
- return this.buffer.charCodeAt(this.pos++);
142
- }
143
- peek() {
144
- return this.buffer.charCodeAt(this.pos);
145
- }
146
- indexOf(char) {
147
- const { buffer, pos } = this;
148
- const idx = buffer.indexOf(char, pos);
149
- return -1 === idx ? buffer.length : idx;
150
- }
151
- };
152
- function decode(mappings) {
153
- const { length } = mappings;
154
- const reader = new StringReader(mappings);
155
- const decoded = [];
156
- let genColumn = 0;
157
- let sourcesIndex = 0;
158
- let sourceLine = 0;
159
- let sourceColumn = 0;
160
- let namesIndex = 0;
161
- do {
162
- const semi = reader.indexOf(";");
163
- const line = [];
164
- let sorted = true;
165
- let lastCol = 0;
166
- genColumn = 0;
167
- while(reader.pos < semi){
168
- let seg;
169
- genColumn = decodeInteger(reader, genColumn);
170
- if (genColumn < lastCol) sorted = false;
171
- lastCol = genColumn;
172
- if (hasMoreVlq(reader, semi)) {
173
- sourcesIndex = decodeInteger(reader, sourcesIndex);
174
- sourceLine = decodeInteger(reader, sourceLine);
175
- sourceColumn = decodeInteger(reader, sourceColumn);
176
- if (hasMoreVlq(reader, semi)) {
177
- namesIndex = decodeInteger(reader, namesIndex);
178
- seg = [
179
- genColumn,
180
- sourcesIndex,
181
- sourceLine,
182
- sourceColumn,
183
- namesIndex
184
- ];
185
- } else seg = [
186
- genColumn,
187
- sourcesIndex,
188
- sourceLine,
189
- sourceColumn
190
- ];
191
- } else seg = [
192
- genColumn
193
- ];
194
- line.push(seg);
195
- reader.pos++;
196
- }
197
- if (!sorted) sort(line);
198
- decoded.push(line);
199
- reader.pos = semi + 1;
200
- }while (reader.pos <= length);
201
- return decoded;
202
- }
203
- function sort(line) {
204
- line.sort(sortComparator);
205
- }
206
- function sortComparator(a, b) {
207
- return a[0] - b[0];
208
- }
209
- const schemeRegex = /^[\w+.-]+:\/\//;
210
- const urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;
211
- const fileRegex = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;
212
- function isAbsoluteUrl(input) {
213
- return schemeRegex.test(input);
214
- }
215
- function isSchemeRelativeUrl(input) {
216
- return input.startsWith('//');
217
- }
218
- function isAbsolutePath(input) {
219
- return input.startsWith('/');
220
- }
221
- function isFileUrl(input) {
222
- return input.startsWith('file:');
223
- }
224
- function isRelative(input) {
225
- return /^[.?#]/.test(input);
226
- }
227
- function parseAbsoluteUrl(input) {
228
- const match = urlRegex.exec(input);
229
- return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/', match[6] || '', match[7] || '');
230
- }
231
- function parseFileUrl(input) {
232
- const match = fileRegex.exec(input);
233
- const path = match[2];
234
- return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path, match[3] || '', match[4] || '');
235
- }
236
- function makeUrl(scheme, user, host, port, path, query, hash) {
237
- return {
238
- scheme,
239
- user,
240
- host,
241
- port,
242
- path,
243
- query,
244
- hash,
245
- type: 7
246
- };
247
- }
248
- function parseUrl(input) {
249
- if (isSchemeRelativeUrl(input)) {
250
- const url = parseAbsoluteUrl('http:' + input);
251
- url.scheme = '';
252
- url.type = 6;
253
- return url;
254
- }
255
- if (isAbsolutePath(input)) {
256
- const url = parseAbsoluteUrl('http://foo.com' + input);
257
- url.scheme = '';
258
- url.host = '';
259
- url.type = 5;
260
- return url;
261
- }
262
- if (isFileUrl(input)) return parseFileUrl(input);
263
- if (isAbsoluteUrl(input)) return parseAbsoluteUrl(input);
264
- const url = parseAbsoluteUrl('http://foo.com/' + input);
265
- url.scheme = '';
266
- url.host = '';
267
- url.type = input ? input.startsWith('?') ? 3 : input.startsWith('#') ? 2 : 4 : 1;
268
- return url;
269
- }
270
- function stripPathFilename(path) {
271
- if (path.endsWith('/..')) return path;
272
- const index = path.lastIndexOf('/');
273
- return path.slice(0, index + 1);
274
- }
275
- function mergePaths(url, base) {
276
- normalizePath(base, base.type);
277
- if ('/' === url.path) url.path = base.path;
278
- else url.path = stripPathFilename(base.path) + url.path;
279
- }
280
- function normalizePath(url, type) {
281
- const rel = type <= 4;
282
- const pieces = url.path.split('/');
283
- let pointer = 1;
284
- let positive = 0;
285
- let addTrailingSlash = false;
286
- for(let i = 1; i < pieces.length; i++){
287
- const piece = pieces[i];
288
- if (!piece) {
289
- addTrailingSlash = true;
290
- continue;
291
- }
292
- addTrailingSlash = false;
293
- if ('.' !== piece) {
294
- if ('..' === piece) {
295
- if (positive) {
296
- addTrailingSlash = true;
297
- positive--;
298
- pointer--;
299
- } else if (rel) pieces[pointer++] = piece;
300
- continue;
301
- }
302
- pieces[pointer++] = piece;
303
- positive++;
304
- }
305
- }
306
- let path = '';
307
- for(let i = 1; i < pointer; i++)path += '/' + pieces[i];
308
- if (!path || addTrailingSlash && !path.endsWith('/..')) path += '/';
309
- url.path = path;
310
- }
311
- function resolve_uri_resolve(input, base) {
312
- if (!input && !base) return '';
313
- const url = parseUrl(input);
314
- let inputType = url.type;
315
- if (base && 7 !== inputType) {
316
- const baseUrl = parseUrl(base);
317
- const baseType = baseUrl.type;
318
- switch(inputType){
319
- case 1:
320
- url.hash = baseUrl.hash;
321
- case 2:
322
- url.query = baseUrl.query;
323
- case 3:
324
- case 4:
325
- mergePaths(url, baseUrl);
326
- case 5:
327
- url.user = baseUrl.user;
328
- url.host = baseUrl.host;
329
- url.port = baseUrl.port;
330
- case 6:
331
- url.scheme = baseUrl.scheme;
332
- }
333
- if (baseType > inputType) inputType = baseType;
334
- }
335
- normalizePath(url, inputType);
336
- const queryHash = url.query + url.hash;
337
- switch(inputType){
338
- case 2:
339
- case 3:
340
- return queryHash;
341
- case 4:
342
- {
343
- const path = url.path.slice(1);
344
- if (!path) return queryHash || '.';
345
- if (isRelative(base || input) && !isRelative(path)) return './' + path + queryHash;
346
- return path + queryHash;
347
- }
348
- case 5:
349
- return url.path + queryHash;
350
- default:
351
- return url.scheme + '//' + url.user + url.host + url.port + url.path + queryHash;
352
- }
353
- }
354
- function stripFilename(path) {
355
- if (!path) return "";
356
- const index = path.lastIndexOf("/");
357
- return path.slice(0, index + 1);
358
- }
359
- function resolver(mapUrl, sourceRoot) {
360
- const from = stripFilename(mapUrl);
361
- const prefix = sourceRoot ? sourceRoot + "/" : "";
362
- return (source)=>resolve_uri_resolve(prefix + (source || ""), from);
363
- }
364
- var COLUMN = 0;
365
- var SOURCES_INDEX = 1;
366
- var SOURCE_LINE = 2;
367
- var SOURCE_COLUMN = 3;
368
- var NAMES_INDEX = 4;
369
- function maybeSort(mappings, owned) {
370
- const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);
371
- if (unsortedIndex === mappings.length) return mappings;
372
- if (!owned) mappings = mappings.slice();
373
- for(let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1))mappings[i] = sortSegments(mappings[i], owned);
374
- return mappings;
375
- }
376
- function nextUnsortedSegmentLine(mappings, start) {
377
- for(let i = start; i < mappings.length; i++)if (!isSorted(mappings[i])) return i;
378
- return mappings.length;
379
- }
380
- function isSorted(line) {
381
- for(let j = 1; j < line.length; j++)if (line[j][COLUMN] < line[j - 1][COLUMN]) return false;
382
- return true;
383
- }
384
- function sortSegments(line, owned) {
385
- if (!owned) line = line.slice();
386
- return line.sort(trace_mapping_sortComparator);
387
- }
388
- function trace_mapping_sortComparator(a, b) {
389
- return a[COLUMN] - b[COLUMN];
390
- }
391
- var found = false;
392
- function binarySearch(haystack, needle, low, high) {
393
- while(low <= high){
394
- const mid = low + (high - low >> 1);
395
- const cmp = haystack[mid][COLUMN] - needle;
396
- if (0 === cmp) {
397
- found = true;
398
- return mid;
399
- }
400
- if (cmp < 0) low = mid + 1;
401
- else high = mid - 1;
402
- }
403
- found = false;
404
- return low - 1;
405
- }
406
- function upperBound(haystack, needle, index) {
407
- for(let i = index + 1; i < haystack.length && haystack[i][COLUMN] === needle; index = i++);
408
- return index;
409
- }
410
- function lowerBound(haystack, needle, index) {
411
- for(let i = index - 1; i >= 0 && haystack[i][COLUMN] === needle; index = i--);
412
- return index;
413
- }
414
- function memoizedState() {
415
- return {
416
- lastKey: -1,
417
- lastNeedle: -1,
418
- lastIndex: -1
419
- };
420
- }
421
- function memoizedBinarySearch(haystack, needle, state, key) {
422
- const { lastKey, lastNeedle, lastIndex } = state;
423
- let low = 0;
424
- let high = haystack.length - 1;
425
- if (key === lastKey) {
426
- if (needle === lastNeedle) {
427
- found = -1 !== lastIndex && haystack[lastIndex][COLUMN] === needle;
428
- return lastIndex;
429
- }
430
- if (needle >= lastNeedle) low = -1 === lastIndex ? 0 : lastIndex;
431
- else high = lastIndex;
432
- }
433
- state.lastKey = key;
434
- state.lastNeedle = needle;
435
- return state.lastIndex = binarySearch(haystack, needle, low, high);
436
- }
437
- function parse(map) {
438
- return "string" == typeof map ? JSON.parse(map) : map;
439
- }
440
- var LINE_GTR_ZERO = "`line` must be greater than 0 (lines start at line 1)";
441
- var COL_GTR_EQ_ZERO = "`column` must be greater than or equal to 0 (columns start at column 0)";
442
- var LEAST_UPPER_BOUND = -1;
443
- var GREATEST_LOWER_BOUND = 1;
444
- var TraceMap = class {
445
- constructor(map, mapUrl){
446
- const isString = "string" == typeof map;
447
- if (!isString && map._decodedMemo) return map;
448
- const parsed = parse(map);
449
- const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;
450
- this.version = version;
451
- this.file = file;
452
- this.names = names || [];
453
- this.sourceRoot = sourceRoot;
454
- this.sources = sources;
455
- this.sourcesContent = sourcesContent;
456
- this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || void 0;
457
- const resolve = resolver(mapUrl, sourceRoot);
458
- this.resolvedSources = sources.map(resolve);
459
- const { mappings } = parsed;
460
- if ("string" == typeof mappings) {
461
- this._encoded = mappings;
462
- this._decoded = void 0;
463
- } else if (Array.isArray(mappings)) {
464
- this._encoded = void 0;
465
- this._decoded = maybeSort(mappings, isString);
466
- } else if (parsed.sections) throw new Error("TraceMap passed sectioned source map, please use FlattenMap export instead");
467
- else throw new Error(`invalid source map: ${JSON.stringify(parsed)}`);
468
- this._decodedMemo = memoizedState();
469
- this._bySources = void 0;
470
- this._bySourceMemos = void 0;
471
- }
472
- };
473
- function cast(map) {
474
- return map;
475
- }
476
- function decodedMappings(map) {
477
- var _a;
478
- return (_a = cast(map))._decoded || (_a._decoded = decode(cast(map)._encoded));
479
- }
480
- function originalPositionFor(map, needle) {
481
- let { line, column, bias } = needle;
482
- line--;
483
- if (line < 0) throw new Error(LINE_GTR_ZERO);
484
- if (column < 0) throw new Error(COL_GTR_EQ_ZERO);
485
- const decoded = decodedMappings(map);
486
- if (line >= decoded.length) return OMapping(null, null, null, null);
487
- const segments = decoded[line];
488
- const index = traceSegmentInternal(segments, cast(map)._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);
489
- if (-1 === index) return OMapping(null, null, null, null);
490
- const segment = segments[index];
491
- if (1 === segment.length) return OMapping(null, null, null, null);
492
- const { names, resolvedSources } = map;
493
- return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], 5 === segment.length ? names[segment[NAMES_INDEX]] : null);
494
- }
495
- function OMapping(source, line, column, name) {
496
- return {
497
- source,
498
- line,
499
- column,
500
- name
501
- };
502
- }
503
- function traceSegmentInternal(segments, memo, line, column, bias) {
504
- let index = memoizedBinarySearch(segments, column, memo, line);
505
- if (found) index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);
506
- else if (bias === LEAST_UPPER_BOUND) index++;
507
- if (-1 === index || index === segments.length) return -1;
508
- return index;
509
- }
510
- },
511
- "../../node_modules/.pnpm/@vitest+snapshot@3.2.4/node_modules/@vitest/snapshot/dist/manager.js": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
512
- __webpack_require__.d(__webpack_exports__, {
513
- CW: ()=>SnapshotManager
514
- });
515
- var pathe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs");
516
- class SnapshotManager {
517
- summary;
518
- extension = ".snap";
519
- constructor(options){
520
- this.options = options;
521
- this.clear();
522
- }
523
- clear() {
524
- this.summary = emptySummary(this.options);
525
- }
526
- add(result) {
527
- addSnapshotResult(this.summary, result);
528
- }
529
- resolvePath(testPath, context) {
530
- const resolver = this.options.resolveSnapshotPath || (()=>(0, pathe__WEBPACK_IMPORTED_MODULE_0__.j)((0, pathe__WEBPACK_IMPORTED_MODULE_0__.j)((0, pathe__WEBPACK_IMPORTED_MODULE_0__.d)(testPath), "__snapshots__"), `${(0, pathe__WEBPACK_IMPORTED_MODULE_0__.c)(testPath)}${this.extension}`));
531
- const path = resolver(testPath, this.extension, context);
532
- return path;
533
- }
534
- resolveRawPath(testPath, rawPath) {
535
- return (0, pathe__WEBPACK_IMPORTED_MODULE_0__.i)(rawPath) ? rawPath : (0, pathe__WEBPACK_IMPORTED_MODULE_0__.r)((0, pathe__WEBPACK_IMPORTED_MODULE_0__.d)(testPath), rawPath);
536
- }
537
- }
538
- function emptySummary(options) {
539
- const summary = {
540
- added: 0,
541
- failure: false,
542
- filesAdded: 0,
543
- filesRemoved: 0,
544
- filesRemovedList: [],
545
- filesUnmatched: 0,
546
- filesUpdated: 0,
547
- matched: 0,
548
- total: 0,
549
- unchecked: 0,
550
- uncheckedKeysByFile: [],
551
- unmatched: 0,
552
- updated: 0,
553
- didUpdate: "all" === options.updateSnapshot
554
- };
555
- return summary;
556
- }
557
- function addSnapshotResult(summary, result) {
558
- if (result.added) summary.filesAdded++;
559
- if (result.fileDeleted) summary.filesRemoved++;
560
- if (result.unmatched) summary.filesUnmatched++;
561
- if (result.updated) summary.filesUpdated++;
562
- summary.added += result.added;
563
- summary.matched += result.matched;
564
- summary.unchecked += result.unchecked;
565
- if (result.uncheckedKeys && result.uncheckedKeys.length > 0) summary.uncheckedKeysByFile.push({
566
- filePath: result.filepath,
567
- keys: result.uncheckedKeys
568
- });
569
- summary.unmatched += result.unmatched;
570
- summary.updated += result.updated;
571
- summary.total += result.added + result.matched + result.unmatched + result.updated;
572
- }
573
- },
574
- "../../node_modules/.pnpm/std-env@3.9.0/node_modules/std-env/dist/index.mjs": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
575
- __webpack_require__.d(__webpack_exports__, {
576
- JO: ()=>T
577
- });
578
- const r = Object.create(null), i = (e)=>globalThis.process?.env || {
579
- MODE: "production",
580
- DEV: false,
581
- PROD: true,
582
- BASE_URL: "/",
583
- ASSET_PREFIX: "auto"
584
- }, o = new Proxy(r, {
585
- get (e, s) {
586
- return i()[s] ?? r[s];
587
- },
588
- has (e, s) {
589
- const E = i();
590
- return s in E || s in r;
591
- },
592
- set (e, s, E) {
593
- const B = i(!0);
594
- return B[s] = E, !0;
595
- },
596
- deleteProperty (e, s) {
597
- if (!s) return !1;
598
- const E = i(!0);
599
- return delete E[s], !0;
600
- },
601
- ownKeys () {
602
- const e = i(!0);
603
- return Object.keys(e);
604
- }
605
- }), t = typeof process < "u" && process.env && process.env.NODE_ENV || "", f = [
606
- [
607
- "APPVEYOR"
608
- ],
609
- [
610
- "AWS_AMPLIFY",
611
- "AWS_APP_ID",
612
- {
613
- ci: !0
614
- }
615
- ],
616
- [
617
- "AZURE_PIPELINES",
618
- "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"
619
- ],
620
- [
621
- "AZURE_STATIC",
622
- "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"
623
- ],
624
- [
625
- "APPCIRCLE",
626
- "AC_APPCIRCLE"
627
- ],
628
- [
629
- "BAMBOO",
630
- "bamboo_planKey"
631
- ],
632
- [
633
- "BITBUCKET",
634
- "BITBUCKET_COMMIT"
635
- ],
636
- [
637
- "BITRISE",
638
- "BITRISE_IO"
639
- ],
640
- [
641
- "BUDDY",
642
- "BUDDY_WORKSPACE_ID"
643
- ],
644
- [
645
- "BUILDKITE"
646
- ],
647
- [
648
- "CIRCLE",
649
- "CIRCLECI"
650
- ],
651
- [
652
- "CIRRUS",
653
- "CIRRUS_CI"
654
- ],
655
- [
656
- "CLOUDFLARE_PAGES",
657
- "CF_PAGES",
658
- {
659
- ci: !0
660
- }
661
- ],
662
- [
663
- "CLOUDFLARE_WORKERS",
664
- "WORKERS_CI",
665
- {
666
- ci: !0
667
- }
668
- ],
669
- [
670
- "CODEBUILD",
671
- "CODEBUILD_BUILD_ARN"
672
- ],
673
- [
674
- "CODEFRESH",
675
- "CF_BUILD_ID"
676
- ],
677
- [
678
- "DRONE"
679
- ],
680
- [
681
- "DRONE",
682
- "DRONE_BUILD_EVENT"
683
- ],
684
- [
685
- "DSARI"
686
- ],
687
- [
688
- "GITHUB_ACTIONS"
689
- ],
690
- [
691
- "GITLAB",
692
- "GITLAB_CI"
693
- ],
694
- [
695
- "GITLAB",
696
- "CI_MERGE_REQUEST_ID"
697
- ],
698
- [
699
- "GOCD",
700
- "GO_PIPELINE_LABEL"
701
- ],
702
- [
703
- "LAYERCI"
704
- ],
705
- [
706
- "HUDSON",
707
- "HUDSON_URL"
708
- ],
709
- [
710
- "JENKINS",
711
- "JENKINS_URL"
712
- ],
713
- [
714
- "MAGNUM"
715
- ],
716
- [
717
- "NETLIFY"
718
- ],
719
- [
720
- "NETLIFY",
721
- "NETLIFY_LOCAL",
722
- {
723
- ci: !1
724
- }
725
- ],
726
- [
727
- "NEVERCODE"
728
- ],
729
- [
730
- "RENDER"
731
- ],
732
- [
733
- "SAIL",
734
- "SAILCI"
735
- ],
736
- [
737
- "SEMAPHORE"
738
- ],
739
- [
740
- "SCREWDRIVER"
741
- ],
742
- [
743
- "SHIPPABLE"
744
- ],
745
- [
746
- "SOLANO",
747
- "TDDIUM"
748
- ],
749
- [
750
- "STRIDER"
751
- ],
752
- [
753
- "TEAMCITY",
754
- "TEAMCITY_VERSION"
755
- ],
756
- [
757
- "TRAVIS"
758
- ],
759
- [
760
- "VERCEL",
761
- "NOW_BUILDER"
762
- ],
763
- [
764
- "VERCEL",
765
- "VERCEL",
766
- {
767
- ci: !1
768
- }
769
- ],
770
- [
771
- "VERCEL",
772
- "VERCEL_ENV",
773
- {
774
- ci: !1
775
- }
776
- ],
777
- [
778
- "APPCENTER",
779
- "APPCENTER_BUILD_ID"
780
- ],
781
- [
782
- "CODESANDBOX",
783
- "CODESANDBOX_SSE",
784
- {
785
- ci: !1
786
- }
787
- ],
788
- [
789
- "CODESANDBOX",
790
- "CODESANDBOX_HOST",
791
- {
792
- ci: !1
793
- }
794
- ],
795
- [
796
- "STACKBLITZ"
797
- ],
798
- [
799
- "STORMKIT"
800
- ],
801
- [
802
- "CLEAVR"
803
- ],
804
- [
805
- "ZEABUR"
806
- ],
807
- [
808
- "CODESPHERE",
809
- "CODESPHERE_APP_ID",
810
- {
811
- ci: !0
812
- }
813
- ],
814
- [
815
- "RAILWAY",
816
- "RAILWAY_PROJECT_ID"
817
- ],
818
- [
819
- "RAILWAY",
820
- "RAILWAY_SERVICE_ID"
821
- ],
822
- [
823
- "DENO-DEPLOY",
824
- "DENO_DEPLOYMENT_ID"
825
- ],
826
- [
827
- "FIREBASE_APP_HOSTING",
828
- "FIREBASE_APP_HOSTING",
829
- {
830
- ci: !0
831
- }
832
- ]
833
- ];
834
- function b() {
835
- if (globalThis.process?.env) for (const e of f){
836
- const s = e[1] || e[0];
837
- if (globalThis.process?.env[s]) return {
838
- name: e[0].toLowerCase(),
839
- ...e[2]
840
- };
841
- }
842
- return globalThis.process?.env?.SHELL === "/bin/jsh" && globalThis.process?.versions?.webcontainer ? {
843
- name: "stackblitz",
844
- ci: !1
845
- } : {
846
- name: "",
847
- ci: !1
848
- };
849
- }
850
- const l = b();
851
- l.name;
852
- function n(e) {
853
- return e ? "false" !== e : !1;
854
- }
855
- const I = globalThis.process?.platform || "", T = n(o.CI) || !1 !== l.ci, R = n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), A = (n(o.DEBUG), "test" === t || n(o.TEST), n(o.MINIMAL), /^win/i.test(I)), C = (/^linux/i.test(I), /^darwin/i.test(I), !n(o.NO_COLOR) && (n(o.FORCE_COLOR) || (R || A) && o.TERM), (globalThis.process?.versions?.node || "").replace(/^v/, "") || null), W = (Number(C?.split(".")[0]), globalThis.process || Object.create(null)), _ = {
856
- versions: {}
857
- }, O = (new Proxy(W, {
858
- get (e, s) {
859
- if ("env" === s) return o;
860
- if (s in e) return e[s];
861
- if (s in _) return _[s];
862
- }
863
- }), globalThis.process?.release?.name === "node"), c = !!globalThis.Bun || !!globalThis.process?.versions?.bun, D = !!globalThis.Deno, L = !!globalThis.fastly, S = !!globalThis.Netlify, u = !!globalThis.EdgeRuntime, N = globalThis.navigator?.userAgent === "Cloudflare-Workers", F = [
864
- [
865
- S,
866
- "netlify"
867
- ],
868
- [
869
- u,
870
- "edge-light"
871
- ],
872
- [
873
- N,
874
- "workerd"
875
- ],
876
- [
877
- L,
878
- "fastly"
879
- ],
880
- [
881
- D,
882
- "deno"
883
- ],
884
- [
885
- c,
886
- "bun"
887
- ],
888
- [
889
- O,
890
- "node"
891
- ]
892
- ];
893
- function G() {
894
- const e = F.find((s)=>s[0]);
895
- if (e) return {
896
- name: e[1]
897
- };
898
- }
899
- const P = G();
900
- P?.name;
901
- },
902
- "../../node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
903
- __webpack_require__.d(__webpack_exports__, {
904
- A: ()=>stripAnsi
905
- });
906
- function ansiRegex({ onlyFirst = false } = {}) {
907
- const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
908
- const pattern = [
909
- `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
910
- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))'
911
- ].join('|');
912
- return new RegExp(pattern, onlyFirst ? void 0 : 'g');
913
- }
914
- const regex = ansiRegex();
915
- function stripAnsi(string) {
916
- if ('string' != typeof string) throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
917
- return string.replace(regex, '');
918
- }
919
- }
920
- };