vite 7.2.3 → 7.2.6
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/client/client.mjs +4 -4
- package/dist/node/chunks/build2.js +123 -123
- package/dist/node/chunks/chunk.js +3 -7
- package/dist/node/chunks/config.js +490 -753
- package/dist/node/chunks/lib.js +11 -11
- package/dist/node/chunks/logger.js +3 -3
- package/dist/node/chunks/postcss-import.js +21 -21
- package/dist/node/index.d.ts +39 -2
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __toCommonJS, i as __require, n as
|
|
1
|
+
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toDynamicImportESM, r as __export, s as __toESM, t as __commonJSMin } from "./chunk.js";
|
|
2
2
|
import { A as OPTIMIZABLE_ENTRY_RE, C as ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR, D as JS_TYPES_RE, E as FS_PREFIX, F as defaultAllowedOrigins, I as loopbackHosts, L as wildcardHosts, M as SPECIAL_QUERY_RE, N as VERSION, O as KNOWN_ASSET_TYPES, P as VITE_PACKAGE_DIR, R as require_picocolors, S as ENV_PUBLIC_PATH, T as ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET, _ as DEFAULT_SERVER_CONDITIONS, a as CLIENT_ENTRY, b as DEV_PROD_CONDITION, c as DEFAULT_ASSETS_INLINE_LIMIT, d as DEFAULT_CLIENT_MAIN_FIELDS, f as DEFAULT_CONFIG_FILES, g as DEFAULT_PREVIEW_PORT, h as DEFAULT_EXTERNAL_CONDITIONS, i as CLIENT_DIR, j as ROLLUP_HOOKS, k as METADATA_FILENAME, l as DEFAULT_ASSETS_RE, m as DEFAULT_EXTENSIONS, n as createLogger, o as CLIENT_PUBLIC_PATH, p as DEFAULT_DEV_PORT, r as printServerUrls, s as CSS_LANGS_RE, t as LogLevels, u as DEFAULT_CLIENT_CONDITIONS, v as DEFAULT_SERVER_MAIN_FIELDS, w as ERR_OPTIMIZE_DEPS_PROCESSING_ERROR, x as ENV_ENTRY, y as DEP_VERSION_RE } from "./logger.js";
|
|
3
3
|
import { builtinModules, createRequire } from "node:module";
|
|
4
4
|
import { parseAst, parseAstAsync } from "rollup/parseAst";
|
|
@@ -598,10 +598,10 @@ var TraceMap = class {
|
|
|
598
598
|
const isString$1 = typeof map$1 === "string";
|
|
599
599
|
if (!isString$1 && map$1._decodedMemo) return map$1;
|
|
600
600
|
const parsed = parse$14(map$1);
|
|
601
|
-
const { version: version$2, file, names
|
|
601
|
+
const { version: version$2, file, names, sourceRoot, sources, sourcesContent } = parsed;
|
|
602
602
|
this.version = version$2;
|
|
603
603
|
this.file = file;
|
|
604
|
-
this.names = names
|
|
604
|
+
this.names = names || [];
|
|
605
605
|
this.sourceRoot = sourceRoot;
|
|
606
606
|
this.sources = sources;
|
|
607
607
|
this.sourcesContent = sourcesContent;
|
|
@@ -652,8 +652,8 @@ function originalPositionFor(map$1, needle) {
|
|
|
652
652
|
if (index === -1) return OMapping(null, null, null, null);
|
|
653
653
|
const segment = segments[index];
|
|
654
654
|
if (segment.length === 1) return OMapping(null, null, null, null);
|
|
655
|
-
const { names
|
|
656
|
-
return OMapping(resolvedSources[segment[SOURCES_INDEX$1]], segment[SOURCE_LINE$1] + 1, segment[SOURCE_COLUMN$1], segment.length === 5 ? names
|
|
655
|
+
const { names, resolvedSources } = map$1;
|
|
656
|
+
return OMapping(resolvedSources[segment[SOURCES_INDEX$1]], segment[SOURCE_LINE$1] + 1, segment[SOURCE_COLUMN$1], segment.length === 5 ? names[segment[NAMES_INDEX$1]] : null);
|
|
657
657
|
}
|
|
658
658
|
function decodedMap(map$1) {
|
|
659
659
|
return clone(map$1, decodedMappings(map$1));
|
|
@@ -757,12 +757,12 @@ function setIgnore(map$1, source, ignore = true) {
|
|
|
757
757
|
else remove(ignoreList, index);
|
|
758
758
|
}
|
|
759
759
|
function toDecodedMap(map$1) {
|
|
760
|
-
const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names
|
|
760
|
+
const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, _ignoreList: ignoreList } = cast2(map$1);
|
|
761
761
|
removeEmptyFinalLines(mappings);
|
|
762
762
|
return {
|
|
763
763
|
version: 3,
|
|
764
764
|
file: map$1.file || void 0,
|
|
765
|
-
names: names
|
|
765
|
+
names: names.array,
|
|
766
766
|
sourceRoot: map$1.sourceRoot || void 0,
|
|
767
767
|
sources: sources.array,
|
|
768
768
|
sourcesContent,
|
|
@@ -775,7 +775,7 @@ function toEncodedMap(map$1) {
|
|
|
775
775
|
return Object.assign({}, decoded, { mappings: encode$1(decoded.mappings) });
|
|
776
776
|
}
|
|
777
777
|
function addSegmentInternal(skipable, map$1, genLine, genColumn, source, sourceLine, sourceColumn, name, content) {
|
|
778
|
-
const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names
|
|
778
|
+
const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names } = cast2(map$1);
|
|
779
779
|
const line = getIndex(mappings, genLine);
|
|
780
780
|
const index = getColumnIndex(line, genColumn);
|
|
781
781
|
if (!source) {
|
|
@@ -785,7 +785,7 @@ function addSegmentInternal(skipable, map$1, genLine, genColumn, source, sourceL
|
|
|
785
785
|
assert$2(sourceLine);
|
|
786
786
|
assert$2(sourceColumn);
|
|
787
787
|
const sourcesIndex = put(sources, source);
|
|
788
|
-
const namesIndex = name ? put(names
|
|
788
|
+
const namesIndex = name ? put(names, name) : NO_NAME;
|
|
789
789
|
if (sourcesIndex === sourcesContent.length) sourcesContent[sourcesIndex] = content != null ? content : null;
|
|
790
790
|
if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) return;
|
|
791
791
|
return insert(line, index, name ? [
|
|
@@ -948,19 +948,19 @@ function remapping(input, loader$1, options$1) {
|
|
|
948
948
|
|
|
949
949
|
//#endregion
|
|
950
950
|
//#region ../../node_modules/.pnpm/obug@1.0.2_ms@2.1.3/node_modules/obug/dist/core.js
|
|
951
|
-
function coerce
|
|
951
|
+
function coerce(value$1) {
|
|
952
952
|
if (value$1 instanceof Error) return value$1.stack || value$1.message;
|
|
953
953
|
return value$1;
|
|
954
954
|
}
|
|
955
|
-
function selectColor
|
|
955
|
+
function selectColor(colors$36, namespace) {
|
|
956
956
|
let hash$1 = 0;
|
|
957
957
|
for (let i$1 = 0; i$1 < namespace.length; i$1++) {
|
|
958
958
|
hash$1 = (hash$1 << 5) - hash$1 + namespace.charCodeAt(i$1);
|
|
959
959
|
hash$1 |= 0;
|
|
960
960
|
}
|
|
961
|
-
return colors$
|
|
961
|
+
return colors$36[Math.abs(hash$1) % colors$36.length];
|
|
962
962
|
}
|
|
963
|
-
function matchesTemplate
|
|
963
|
+
function matchesTemplate(search, template) {
|
|
964
964
|
let searchIndex = 0;
|
|
965
965
|
let templateIndex = 0;
|
|
966
966
|
let starIndex = -1;
|
|
@@ -981,12 +981,12 @@ function matchesTemplate$1(search, template) {
|
|
|
981
981
|
while (templateIndex < template.length && template[templateIndex] === "*") templateIndex++;
|
|
982
982
|
return templateIndex === template.length;
|
|
983
983
|
}
|
|
984
|
-
function humanize
|
|
984
|
+
function humanize(value$1) {
|
|
985
985
|
if (value$1 >= 1e3) return `${(value$1 / 1e3).toFixed(1)}s`;
|
|
986
986
|
return `${value$1}ms`;
|
|
987
987
|
}
|
|
988
|
-
function setup(useColors$
|
|
989
|
-
const createDebug$
|
|
988
|
+
function setup(useColors$1, colors$36, log$3, load$2, save$1, formatArgs$1, init$2) {
|
|
989
|
+
const createDebug$1 = (namespace) => {
|
|
990
990
|
let prevTime;
|
|
991
991
|
let enableOverride;
|
|
992
992
|
let namespacesCache;
|
|
@@ -998,13 +998,13 @@ function setup(useColors$2, colors$37, log$4, load$2, save$2, formatArgs$2, init
|
|
|
998
998
|
debug$18.prev = prevTime;
|
|
999
999
|
debug$18.curr = curr;
|
|
1000
1000
|
prevTime = curr;
|
|
1001
|
-
args[0] = coerce
|
|
1001
|
+
args[0] = coerce(args[0]);
|
|
1002
1002
|
if (typeof args[0] !== "string") args.unshift("%O");
|
|
1003
1003
|
let index = 0;
|
|
1004
1004
|
args[0] = args[0].replace(/%([a-z%])/gi, (match, format$3) => {
|
|
1005
1005
|
if (match === "%%") return "%";
|
|
1006
1006
|
index++;
|
|
1007
|
-
const formatter = createDebug$
|
|
1007
|
+
const formatter = createDebug$1.formatters[format$3];
|
|
1008
1008
|
if (typeof formatter === "function") {
|
|
1009
1009
|
const value$1 = args[index];
|
|
1010
1010
|
match = formatter.call(debug$18, value$1);
|
|
@@ -1013,27 +1013,27 @@ function setup(useColors$2, colors$37, log$4, load$2, save$2, formatArgs$2, init
|
|
|
1013
1013
|
}
|
|
1014
1014
|
return match;
|
|
1015
1015
|
});
|
|
1016
|
-
createDebug$
|
|
1017
|
-
(debug$18.log || createDebug$
|
|
1016
|
+
createDebug$1.formatArgs.call(debug$18, args);
|
|
1017
|
+
(debug$18.log || createDebug$1.log).apply(debug$18, args);
|
|
1018
1018
|
};
|
|
1019
1019
|
function extend(namespace$1, delimiter = ":") {
|
|
1020
|
-
const newDebug = createDebug$
|
|
1020
|
+
const newDebug = createDebug$1(this.namespace + delimiter + namespace$1);
|
|
1021
1021
|
newDebug.log = this.log;
|
|
1022
1022
|
return newDebug;
|
|
1023
1023
|
}
|
|
1024
1024
|
debug$18.namespace = namespace;
|
|
1025
|
-
debug$18.useColors = useColors$
|
|
1026
|
-
debug$18.color = selectColor
|
|
1025
|
+
debug$18.useColors = useColors$1;
|
|
1026
|
+
debug$18.color = selectColor(colors$36, namespace);
|
|
1027
1027
|
debug$18.extend = extend;
|
|
1028
|
-
debug$18.log = log$
|
|
1028
|
+
debug$18.log = log$3;
|
|
1029
1029
|
Object.defineProperty(debug$18, "enabled", {
|
|
1030
1030
|
enumerable: true,
|
|
1031
1031
|
configurable: false,
|
|
1032
1032
|
get: () => {
|
|
1033
1033
|
if (enableOverride != null) return enableOverride;
|
|
1034
|
-
if (namespacesCache !== createDebug$
|
|
1035
|
-
namespacesCache = createDebug$
|
|
1036
|
-
enabledCache = createDebug$
|
|
1034
|
+
if (namespacesCache !== createDebug$1.namespaces) {
|
|
1035
|
+
namespacesCache = createDebug$1.namespaces;
|
|
1036
|
+
enabledCache = createDebug$1.enabled(namespace);
|
|
1037
1037
|
}
|
|
1038
1038
|
return enabledCache;
|
|
1039
1039
|
},
|
|
@@ -1044,188 +1044,200 @@ function setup(useColors$2, colors$37, log$4, load$2, save$2, formatArgs$2, init
|
|
|
1044
1044
|
init$2 && init$2(debug$18);
|
|
1045
1045
|
return debug$18;
|
|
1046
1046
|
};
|
|
1047
|
-
function enable
|
|
1048
|
-
save$
|
|
1049
|
-
createDebug$
|
|
1050
|
-
createDebug$
|
|
1051
|
-
createDebug$
|
|
1052
|
-
const split = namespaces
|
|
1053
|
-
for (const ns of split) if (ns[0] === "-") createDebug$
|
|
1054
|
-
else createDebug$
|
|
1055
|
-
}
|
|
1056
|
-
function disable
|
|
1057
|
-
const namespaces
|
|
1058
|
-
createDebug$
|
|
1059
|
-
return namespaces
|
|
1060
|
-
}
|
|
1061
|
-
function enabled
|
|
1062
|
-
for (const skip of createDebug$
|
|
1063
|
-
for (const ns of createDebug$
|
|
1047
|
+
function enable(namespaces) {
|
|
1048
|
+
save$1(namespaces);
|
|
1049
|
+
createDebug$1.namespaces = namespaces;
|
|
1050
|
+
createDebug$1.names = [];
|
|
1051
|
+
createDebug$1.skips = [];
|
|
1052
|
+
const split = namespaces.trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
1053
|
+
for (const ns of split) if (ns[0] === "-") createDebug$1.skips.push(ns.slice(1));
|
|
1054
|
+
else createDebug$1.names.push(ns);
|
|
1055
|
+
}
|
|
1056
|
+
function disable() {
|
|
1057
|
+
const namespaces = [...createDebug$1.names, ...createDebug$1.skips.map((namespace) => `-${namespace}`)].join(",");
|
|
1058
|
+
createDebug$1.enable("");
|
|
1059
|
+
return namespaces;
|
|
1060
|
+
}
|
|
1061
|
+
function enabled(name) {
|
|
1062
|
+
for (const skip of createDebug$1.skips) if (matchesTemplate(name, skip)) return false;
|
|
1063
|
+
for (const ns of createDebug$1.names) if (matchesTemplate(name, ns)) return true;
|
|
1064
1064
|
return false;
|
|
1065
1065
|
}
|
|
1066
|
-
createDebug$
|
|
1067
|
-
createDebug$
|
|
1068
|
-
createDebug$
|
|
1069
|
-
createDebug$
|
|
1070
|
-
createDebug$
|
|
1071
|
-
createDebug$
|
|
1072
|
-
createDebug$
|
|
1073
|
-
createDebug$
|
|
1074
|
-
createDebug$
|
|
1075
|
-
createDebug$
|
|
1076
|
-
createDebug$
|
|
1077
|
-
return createDebug$
|
|
1078
|
-
}
|
|
1066
|
+
createDebug$1.namespaces = "";
|
|
1067
|
+
createDebug$1.formatters = {};
|
|
1068
|
+
createDebug$1.enable = enable;
|
|
1069
|
+
createDebug$1.disable = disable;
|
|
1070
|
+
createDebug$1.enabled = enabled;
|
|
1071
|
+
createDebug$1.names = [];
|
|
1072
|
+
createDebug$1.skips = [];
|
|
1073
|
+
createDebug$1.selectColor = (ns) => selectColor(colors$36, ns);
|
|
1074
|
+
createDebug$1.formatArgs = formatArgs$1;
|
|
1075
|
+
createDebug$1.log = log$3;
|
|
1076
|
+
createDebug$1.enable(load$2());
|
|
1077
|
+
return createDebug$1;
|
|
1078
|
+
}
|
|
1079
|
+
var init_core = __esmMin((() => {}));
|
|
1079
1080
|
|
|
1080
1081
|
//#endregion
|
|
1081
1082
|
//#region ../../node_modules/.pnpm/obug@1.0.2_ms@2.1.3/node_modules/obug/dist/node.js
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
33,
|
|
1093
|
-
38,
|
|
1094
|
-
39,
|
|
1095
|
-
40,
|
|
1096
|
-
41,
|
|
1097
|
-
42,
|
|
1098
|
-
43,
|
|
1099
|
-
44,
|
|
1100
|
-
45,
|
|
1101
|
-
56,
|
|
1102
|
-
57,
|
|
1103
|
-
62,
|
|
1104
|
-
63,
|
|
1105
|
-
68,
|
|
1106
|
-
69,
|
|
1107
|
-
74,
|
|
1108
|
-
75,
|
|
1109
|
-
76,
|
|
1110
|
-
77,
|
|
1111
|
-
78,
|
|
1112
|
-
79,
|
|
1113
|
-
80,
|
|
1114
|
-
81,
|
|
1115
|
-
92,
|
|
1116
|
-
93,
|
|
1117
|
-
98,
|
|
1118
|
-
99,
|
|
1119
|
-
112,
|
|
1120
|
-
113,
|
|
1121
|
-
128,
|
|
1122
|
-
129,
|
|
1123
|
-
134,
|
|
1124
|
-
135,
|
|
1125
|
-
148,
|
|
1126
|
-
149,
|
|
1127
|
-
160,
|
|
1128
|
-
161,
|
|
1129
|
-
162,
|
|
1130
|
-
163,
|
|
1131
|
-
164,
|
|
1132
|
-
165,
|
|
1133
|
-
166,
|
|
1134
|
-
167,
|
|
1135
|
-
168,
|
|
1136
|
-
169,
|
|
1137
|
-
170,
|
|
1138
|
-
171,
|
|
1139
|
-
172,
|
|
1140
|
-
173,
|
|
1141
|
-
178,
|
|
1142
|
-
179,
|
|
1143
|
-
184,
|
|
1144
|
-
185,
|
|
1145
|
-
196,
|
|
1146
|
-
197,
|
|
1147
|
-
198,
|
|
1148
|
-
199,
|
|
1149
|
-
200,
|
|
1150
|
-
201,
|
|
1151
|
-
202,
|
|
1152
|
-
203,
|
|
1153
|
-
204,
|
|
1154
|
-
205,
|
|
1155
|
-
206,
|
|
1156
|
-
207,
|
|
1157
|
-
208,
|
|
1158
|
-
209,
|
|
1159
|
-
214,
|
|
1160
|
-
215,
|
|
1161
|
-
220,
|
|
1162
|
-
221
|
|
1163
|
-
] : [
|
|
1164
|
-
6,
|
|
1165
|
-
2,
|
|
1166
|
-
3,
|
|
1167
|
-
4,
|
|
1168
|
-
5,
|
|
1169
|
-
1
|
|
1170
|
-
];
|
|
1171
|
-
const inspectOpts$1 = Object.keys(process.env).filter((key) => {
|
|
1172
|
-
return /^debug_/i.test(key);
|
|
1173
|
-
}).reduce((obj, key) => {
|
|
1174
|
-
const prop = key.slice(6).toLowerCase().replace(/_([a-z])/g, (_, k) => k.toUpperCase());
|
|
1175
|
-
let value$1 = process.env[key];
|
|
1176
|
-
if (value$1 === "null") value$1 = null;
|
|
1177
|
-
else if (/^yes|on|true|enabled$/i.test(value$1)) value$1 = true;
|
|
1178
|
-
else if (/^no|off|false|disabled$/i.test(value$1)) value$1 = false;
|
|
1179
|
-
else value$1 = Number(value$1);
|
|
1180
|
-
obj[prop] = value$1;
|
|
1181
|
-
return obj;
|
|
1182
|
-
}, {});
|
|
1083
|
+
var node_exports = /* @__PURE__ */ __export({
|
|
1084
|
+
createDebug: () => createDebug,
|
|
1085
|
+
default: () => node_default,
|
|
1086
|
+
formatArgs: () => formatArgs,
|
|
1087
|
+
log: () => log$2,
|
|
1088
|
+
"module.exports": () => createDebug
|
|
1089
|
+
});
|
|
1090
|
+
function log$2(...args) {
|
|
1091
|
+
process.stderr.write(`${formatWithOptions(inspectOpts, ...args)}\n`);
|
|
1092
|
+
}
|
|
1183
1093
|
function load$1() {
|
|
1184
1094
|
return process.env.DEBUG || "";
|
|
1185
1095
|
}
|
|
1186
|
-
function save
|
|
1187
|
-
if (namespaces
|
|
1096
|
+
function save(namespaces) {
|
|
1097
|
+
if (namespaces) process.env.DEBUG = namespaces;
|
|
1188
1098
|
else delete process.env.DEBUG;
|
|
1189
1099
|
}
|
|
1190
|
-
function useColors
|
|
1191
|
-
return "colors" in inspectOpts
|
|
1192
|
-
}
|
|
1193
|
-
let humanize$1$1;
|
|
1194
|
-
try {
|
|
1195
|
-
humanize$1$1 = require$1("ms");
|
|
1196
|
-
} catch (_unused) {
|
|
1197
|
-
humanize$1$1 = humanize$1;
|
|
1100
|
+
function useColors() {
|
|
1101
|
+
return "colors" in inspectOpts ? Boolean(inspectOpts.colors) : isatty(process.stderr.fd);
|
|
1198
1102
|
}
|
|
1199
|
-
function formatArgs
|
|
1200
|
-
const { namespace: name, useColors: useColors$1
|
|
1201
|
-
if (useColors$1
|
|
1103
|
+
function formatArgs(args) {
|
|
1104
|
+
const { namespace: name, useColors: useColors$1 } = this;
|
|
1105
|
+
if (useColors$1) {
|
|
1202
1106
|
const c = this.color;
|
|
1203
1107
|
const colorCode = `\u001B[3${c < 8 ? c : `8;5;${c}`}`;
|
|
1204
1108
|
const prefix = ` ${colorCode};1m${name} \u001B[0m`;
|
|
1205
1109
|
args[0] = prefix + args[0].split("\n").join(`\n${prefix}`);
|
|
1206
|
-
args.push(`${colorCode}m+${humanize$1
|
|
1207
|
-
} else args[0] = `${getDate
|
|
1110
|
+
args.push(`${colorCode}m+${humanize$1(this.diff)}\u001B[0m`);
|
|
1111
|
+
} else args[0] = `${getDate()}${name} ${args[0]}`;
|
|
1208
1112
|
}
|
|
1209
|
-
function getDate
|
|
1210
|
-
if (inspectOpts
|
|
1113
|
+
function getDate() {
|
|
1114
|
+
if (inspectOpts.hideDate) return "";
|
|
1211
1115
|
return `${(/* @__PURE__ */ new Date()).toISOString()} `;
|
|
1212
1116
|
}
|
|
1213
1117
|
function init$1(debug$18) {
|
|
1214
|
-
debug$18.inspectOpts = Object.assign({}, inspectOpts
|
|
1118
|
+
debug$18.inspectOpts = Object.assign({}, inspectOpts);
|
|
1215
1119
|
}
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1120
|
+
var require$1, colors$35, inspectOpts, humanize$1, createDebug, node_default;
|
|
1121
|
+
var init_node = __esmMin((() => {
|
|
1122
|
+
init_core();
|
|
1123
|
+
require$1 = createRequire(import.meta.url);
|
|
1124
|
+
colors$35 = process.stderr.getColorDepth && process.stderr.getColorDepth() > 2 ? [
|
|
1125
|
+
20,
|
|
1126
|
+
21,
|
|
1127
|
+
26,
|
|
1128
|
+
27,
|
|
1129
|
+
32,
|
|
1130
|
+
33,
|
|
1131
|
+
38,
|
|
1132
|
+
39,
|
|
1133
|
+
40,
|
|
1134
|
+
41,
|
|
1135
|
+
42,
|
|
1136
|
+
43,
|
|
1137
|
+
44,
|
|
1138
|
+
45,
|
|
1139
|
+
56,
|
|
1140
|
+
57,
|
|
1141
|
+
62,
|
|
1142
|
+
63,
|
|
1143
|
+
68,
|
|
1144
|
+
69,
|
|
1145
|
+
74,
|
|
1146
|
+
75,
|
|
1147
|
+
76,
|
|
1148
|
+
77,
|
|
1149
|
+
78,
|
|
1150
|
+
79,
|
|
1151
|
+
80,
|
|
1152
|
+
81,
|
|
1153
|
+
92,
|
|
1154
|
+
93,
|
|
1155
|
+
98,
|
|
1156
|
+
99,
|
|
1157
|
+
112,
|
|
1158
|
+
113,
|
|
1159
|
+
128,
|
|
1160
|
+
129,
|
|
1161
|
+
134,
|
|
1162
|
+
135,
|
|
1163
|
+
148,
|
|
1164
|
+
149,
|
|
1165
|
+
160,
|
|
1166
|
+
161,
|
|
1167
|
+
162,
|
|
1168
|
+
163,
|
|
1169
|
+
164,
|
|
1170
|
+
165,
|
|
1171
|
+
166,
|
|
1172
|
+
167,
|
|
1173
|
+
168,
|
|
1174
|
+
169,
|
|
1175
|
+
170,
|
|
1176
|
+
171,
|
|
1177
|
+
172,
|
|
1178
|
+
173,
|
|
1179
|
+
178,
|
|
1180
|
+
179,
|
|
1181
|
+
184,
|
|
1182
|
+
185,
|
|
1183
|
+
196,
|
|
1184
|
+
197,
|
|
1185
|
+
198,
|
|
1186
|
+
199,
|
|
1187
|
+
200,
|
|
1188
|
+
201,
|
|
1189
|
+
202,
|
|
1190
|
+
203,
|
|
1191
|
+
204,
|
|
1192
|
+
205,
|
|
1193
|
+
206,
|
|
1194
|
+
207,
|
|
1195
|
+
208,
|
|
1196
|
+
209,
|
|
1197
|
+
214,
|
|
1198
|
+
215,
|
|
1199
|
+
220,
|
|
1200
|
+
221
|
|
1201
|
+
] : [
|
|
1202
|
+
6,
|
|
1203
|
+
2,
|
|
1204
|
+
3,
|
|
1205
|
+
4,
|
|
1206
|
+
5,
|
|
1207
|
+
1
|
|
1208
|
+
];
|
|
1209
|
+
inspectOpts = Object.keys(process.env).filter((key) => {
|
|
1210
|
+
return /^debug_/i.test(key);
|
|
1211
|
+
}).reduce((obj, key) => {
|
|
1212
|
+
const prop = key.slice(6).toLowerCase().replace(/_([a-z])/g, (_, k) => k.toUpperCase());
|
|
1213
|
+
let value$1 = process.env[key];
|
|
1214
|
+
if (value$1 === "null") value$1 = null;
|
|
1215
|
+
else if (/^yes|on|true|enabled$/i.test(value$1)) value$1 = true;
|
|
1216
|
+
else if (/^no|off|false|disabled$/i.test(value$1)) value$1 = false;
|
|
1217
|
+
else value$1 = Number(value$1);
|
|
1218
|
+
obj[prop] = value$1;
|
|
1219
|
+
return obj;
|
|
1220
|
+
}, {});
|
|
1221
|
+
;
|
|
1222
|
+
try {
|
|
1223
|
+
humanize$1 = require$1("ms");
|
|
1224
|
+
} catch (_unused) {
|
|
1225
|
+
humanize$1 = humanize;
|
|
1226
|
+
}
|
|
1227
|
+
createDebug = setup(useColors(), colors$35, log$2, load$1, save, formatArgs, init$1);
|
|
1228
|
+
createDebug.inspectOpts = inspectOpts;
|
|
1229
|
+
createDebug.formatters.o = function(v) {
|
|
1230
|
+
this.inspectOpts.colors = this.useColors;
|
|
1231
|
+
return inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
1232
|
+
};
|
|
1233
|
+
createDebug.formatters.O = function(v) {
|
|
1234
|
+
this.inspectOpts.colors = this.useColors;
|
|
1235
|
+
return inspect(v, this.inspectOpts);
|
|
1236
|
+
};
|
|
1237
|
+
node_default = createDebug;
|
|
1238
|
+
createDebug.default = createDebug;
|
|
1239
|
+
createDebug.debug = createDebug;
|
|
1240
|
+
}));
|
|
1229
1241
|
|
|
1230
1242
|
//#endregion
|
|
1231
1243
|
//#region ../../node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/esm/estree-walker.js
|
|
@@ -1373,28 +1385,28 @@ function walk$2(ast, { enter, leave }) {
|
|
|
1373
1385
|
//#endregion
|
|
1374
1386
|
//#region ../../node_modules/.pnpm/@rollup+pluginutils@5.3.0_rollup@4.43.0/node_modules/@rollup/pluginutils/dist/es/index.js
|
|
1375
1387
|
const extractors = {
|
|
1376
|
-
ArrayPattern(names
|
|
1377
|
-
for (const element of param.elements) if (element) extractors[element.type](names
|
|
1388
|
+
ArrayPattern(names, param) {
|
|
1389
|
+
for (const element of param.elements) if (element) extractors[element.type](names, element);
|
|
1378
1390
|
},
|
|
1379
|
-
AssignmentPattern(names
|
|
1380
|
-
extractors[param.left.type](names
|
|
1391
|
+
AssignmentPattern(names, param) {
|
|
1392
|
+
extractors[param.left.type](names, param.left);
|
|
1381
1393
|
},
|
|
1382
|
-
Identifier(names
|
|
1383
|
-
names
|
|
1394
|
+
Identifier(names, param) {
|
|
1395
|
+
names.push(param.name);
|
|
1384
1396
|
},
|
|
1385
1397
|
MemberExpression() {},
|
|
1386
|
-
ObjectPattern(names
|
|
1387
|
-
for (const prop of param.properties) if (prop.type === "RestElement") extractors.RestElement(names
|
|
1388
|
-
else extractors[prop.value.type](names
|
|
1398
|
+
ObjectPattern(names, param) {
|
|
1399
|
+
for (const prop of param.properties) if (prop.type === "RestElement") extractors.RestElement(names, prop);
|
|
1400
|
+
else extractors[prop.value.type](names, prop.value);
|
|
1389
1401
|
},
|
|
1390
|
-
RestElement(names
|
|
1391
|
-
extractors[param.argument.type](names
|
|
1402
|
+
RestElement(names, param) {
|
|
1403
|
+
extractors[param.argument.type](names, param.argument);
|
|
1392
1404
|
}
|
|
1393
1405
|
};
|
|
1394
1406
|
const extractAssignedNames = function extractAssignedNames$1(param) {
|
|
1395
|
-
const names
|
|
1396
|
-
extractors[param.type](names
|
|
1397
|
-
return names
|
|
1407
|
+
const names = [];
|
|
1408
|
+
extractors[param.type](names, param);
|
|
1409
|
+
return names;
|
|
1398
1410
|
};
|
|
1399
1411
|
const blockDeclarations = {
|
|
1400
1412
|
const: true,
|
|
@@ -1825,6 +1837,7 @@ function traverseBetweenDirs(longerDir, shorterDir, cb) {
|
|
|
1825
1837
|
//#endregion
|
|
1826
1838
|
//#region src/node/utils.ts
|
|
1827
1839
|
var import_picocolors$33 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
1840
|
+
init_node();
|
|
1828
1841
|
const createFilter = createFilter$2;
|
|
1829
1842
|
const replaceSlashOrColonRE = /[/:]/g;
|
|
1830
1843
|
const replaceDotRE = /\./g;
|
|
@@ -1884,13 +1897,13 @@ const rollupVersion = resolvePackageData("rollup", _dirname, true)?.data.version
|
|
|
1884
1897
|
const filter = process.env.VITE_DEBUG_FILTER;
|
|
1885
1898
|
const DEBUG = process.env.DEBUG;
|
|
1886
1899
|
function createDebugger(namespace, options$1 = {}) {
|
|
1887
|
-
const log$
|
|
1900
|
+
const log$3 = node_default(namespace);
|
|
1888
1901
|
const { onlyWhenFocused, depth } = options$1;
|
|
1889
|
-
if (depth && log$
|
|
1890
|
-
let enabled
|
|
1891
|
-
if (enabled
|
|
1892
|
-
if (enabled
|
|
1893
|
-
if (!filter || args.some((a) => a?.includes?.(filter))) log$
|
|
1902
|
+
if (depth && log$3.inspectOpts && log$3.inspectOpts.depth == null) log$3.inspectOpts.depth = options$1.depth;
|
|
1903
|
+
let enabled = log$3.enabled;
|
|
1904
|
+
if (enabled && onlyWhenFocused) enabled = !!DEBUG?.includes(typeof onlyWhenFocused === "string" ? onlyWhenFocused : namespace);
|
|
1905
|
+
if (enabled) return (...args) => {
|
|
1906
|
+
if (!filter || args.some((a) => a?.includes?.(filter))) log$3(...args);
|
|
1894
1907
|
};
|
|
1895
1908
|
}
|
|
1896
1909
|
function testCaseInsensitiveFS() {
|
|
@@ -2490,7 +2503,7 @@ function mergeConfigRecursively(defaults, overrides, rootPath) {
|
|
|
2490
2503
|
} else if (key === "assetsInclude" && rootPath === "") {
|
|
2491
2504
|
merged[key] = [].concat(existing, value$1);
|
|
2492
2505
|
continue;
|
|
2493
|
-
} else if ((key === "noExternal" && (rootPath === "ssr" || rootPath === "resolve") || key === "allowedHosts" && rootPath === "server") && (existing === true || value$1 === true)) {
|
|
2506
|
+
} else if (((key === "noExternal" || key === "external") && (rootPath === "ssr" || rootPath === "resolve") || key === "allowedHosts" && rootPath === "server") && (existing === true || value$1 === true)) {
|
|
2494
2507
|
merged[key] = true;
|
|
2495
2508
|
continue;
|
|
2496
2509
|
} else if (key === "plugins" && rootPath === "worker") {
|
|
@@ -2769,7 +2782,7 @@ function perEnvironmentPlugin(name, applyToEnvironment) {
|
|
|
2769
2782
|
|
|
2770
2783
|
//#endregion
|
|
2771
2784
|
//#region ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
|
|
2772
|
-
var require_commondir = /* @__PURE__ */
|
|
2785
|
+
var require_commondir = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2773
2786
|
var path$12 = __require("path");
|
|
2774
2787
|
module.exports = function(basedir, relfiles) {
|
|
2775
2788
|
if (relfiles) var files = relfiles.map(function(r$1) {
|
|
@@ -2784,7 +2797,7 @@ var require_commondir = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/c
|
|
|
2784
2797
|
}, files[0].split(/\/+|\\+/));
|
|
2785
2798
|
return res.length > 1 ? res.join("/") : "/";
|
|
2786
2799
|
};
|
|
2787
|
-
})
|
|
2800
|
+
}));
|
|
2788
2801
|
|
|
2789
2802
|
//#endregion
|
|
2790
2803
|
//#region ../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -3230,14 +3243,14 @@ var MagicString = class MagicString {
|
|
|
3230
3243
|
generateDecodedMap(options$1) {
|
|
3231
3244
|
options$1 = options$1 || {};
|
|
3232
3245
|
const sourceIndex = 0;
|
|
3233
|
-
const names
|
|
3246
|
+
const names = Object.keys(this.storedNames);
|
|
3234
3247
|
const mappings = new Mappings(options$1.hires);
|
|
3235
3248
|
const locate = getLocator(this.original);
|
|
3236
3249
|
if (this.intro) mappings.advance(this.intro);
|
|
3237
3250
|
this.firstChunk.eachNext((chunk) => {
|
|
3238
3251
|
const loc = locate(chunk.start);
|
|
3239
3252
|
if (chunk.intro.length) mappings.advance(chunk.intro);
|
|
3240
|
-
if (chunk.edited) mappings.addEdit(sourceIndex, chunk.content, loc, chunk.storeName ? names
|
|
3253
|
+
if (chunk.edited) mappings.addEdit(sourceIndex, chunk.content, loc, chunk.storeName ? names.indexOf(chunk.original) : -1);
|
|
3241
3254
|
else mappings.addUneditedChunk(sourceIndex, chunk, this.original, loc, this.sourcemapLocations);
|
|
3242
3255
|
if (chunk.outro.length) mappings.advance(chunk.outro);
|
|
3243
3256
|
});
|
|
@@ -3246,7 +3259,7 @@ var MagicString = class MagicString {
|
|
|
3246
3259
|
file: options$1.file ? options$1.file.split(/[/\\]/).pop() : void 0,
|
|
3247
3260
|
sources: [options$1.source ? getRelativePath(options$1.file || "", options$1.source) : options$1.file || ""],
|
|
3248
3261
|
sourcesContent: options$1.includeContent ? [this.original] : void 0,
|
|
3249
|
-
names
|
|
3262
|
+
names,
|
|
3250
3263
|
mappings: mappings.raw,
|
|
3251
3264
|
x_google_ignoreList: this.ignoreList ? [sourceIndex] : void 0
|
|
3252
3265
|
};
|
|
@@ -3724,7 +3737,7 @@ var MagicString = class MagicString {
|
|
|
3724
3737
|
|
|
3725
3738
|
//#endregion
|
|
3726
3739
|
//#region ../../node_modules/.pnpm/is-reference@1.2.1/node_modules/is-reference/dist/is-reference.js
|
|
3727
|
-
var require_is_reference = /* @__PURE__ */
|
|
3740
|
+
var require_is_reference = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3728
3741
|
(function(global$1, factory) {
|
|
3729
3742
|
typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global$1 = global$1 || self, global$1.isReference = factory());
|
|
3730
3743
|
})(exports, (function() {
|
|
@@ -3750,7 +3763,7 @@ var require_is_reference = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
3750
3763
|
}
|
|
3751
3764
|
return isReference$1;
|
|
3752
3765
|
}));
|
|
3753
|
-
})
|
|
3766
|
+
}));
|
|
3754
3767
|
|
|
3755
3768
|
//#endregion
|
|
3756
3769
|
//#region ../../node_modules/.pnpm/@rollup+plugin-commonjs@29.0.0_rollup@4.43.0/node_modules/@rollup/plugin-commonjs/dist/es/index.js
|
|
@@ -5150,12 +5163,12 @@ function buildReporterPlugin(config$2) {
|
|
|
5150
5163
|
const isLarge = group.name === "JS" && entry.size / 1e3 > chunkLimit;
|
|
5151
5164
|
if (isLarge) hasLargeChunks = true;
|
|
5152
5165
|
const sizeColor = isLarge ? import_picocolors$32.default.yellow : import_picocolors$32.default.dim;
|
|
5153
|
-
let log$
|
|
5154
|
-
log$
|
|
5155
|
-
log$
|
|
5156
|
-
if (entry.compressedSize) log$
|
|
5157
|
-
if (entry.mapSize) log$
|
|
5158
|
-
config$2.logger.info(log$
|
|
5166
|
+
let log$3 = import_picocolors$32.default.dim(withTrailingSlash(relativeOutDir));
|
|
5167
|
+
log$3 += !config$2.build.lib && entry.name.startsWith(withTrailingSlash(assetsDir)) ? import_picocolors$32.default.dim(assetsDir) + group.color(entry.name.slice(assetsDir.length).padEnd(longest + 2 - assetsDir.length)) : group.color(entry.name.padEnd(longest + 2));
|
|
5168
|
+
log$3 += import_picocolors$32.default.bold(sizeColor(displaySize(entry.size).padStart(sizePad)));
|
|
5169
|
+
if (entry.compressedSize) log$3 += import_picocolors$32.default.dim(` │ gzip: ${displaySize(entry.compressedSize).padStart(compressPad)}`);
|
|
5170
|
+
if (entry.mapSize) log$3 += import_picocolors$32.default.dim(` │ map: ${displaySize(entry.mapSize).padStart(mapPad)}`);
|
|
5171
|
+
config$2.logger.info(log$3);
|
|
5159
5172
|
}
|
|
5160
5173
|
}
|
|
5161
5174
|
} else hasLargeChunks = Object.values(output).some((chunk) => {
|
|
@@ -7085,7 +7098,7 @@ function hasESMSyntax(code, opts = {}) {
|
|
|
7085
7098
|
}
|
|
7086
7099
|
|
|
7087
7100
|
//#endregion
|
|
7088
|
-
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0-beta.
|
|
7101
|
+
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0-beta.52/node_modules/@rolldown/pluginutils/dist/simple-filters.js
|
|
7089
7102
|
/**
|
|
7090
7103
|
* Constructs a RegExp that matches the exact string specified.
|
|
7091
7104
|
*
|
|
@@ -7212,7 +7225,7 @@ const init = WebAssembly.compile(E()).then(WebAssembly.instantiate).then((({ exp
|
|
|
7212
7225
|
|
|
7213
7226
|
//#endregion
|
|
7214
7227
|
//#region ../../node_modules/.pnpm/lilconfig@3.1.3/node_modules/lilconfig/src/index.js
|
|
7215
|
-
var require_src$1 = /* @__PURE__ */
|
|
7228
|
+
var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7216
7229
|
const path$11 = __require("path");
|
|
7217
7230
|
const fs$11 = __require("fs");
|
|
7218
7231
|
const os$4 = __require("os");
|
|
@@ -7544,11 +7557,11 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lilco
|
|
|
7544
7557
|
}
|
|
7545
7558
|
};
|
|
7546
7559
|
};
|
|
7547
|
-
})
|
|
7560
|
+
}));
|
|
7548
7561
|
|
|
7549
7562
|
//#endregion
|
|
7550
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.
|
|
7551
|
-
var require_req = /* @__PURE__ */
|
|
7563
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.1/node_modules/postcss-load-config/src/req.js
|
|
7564
|
+
var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7552
7565
|
const { createRequire: createRequire$2 } = __require("node:module");
|
|
7553
7566
|
const { fileURLToPath: fileURLToPath$1, pathToFileURL: pathToFileURL$1 } = __require("node:url");
|
|
7554
7567
|
const TS_EXT_RE = /\.[mc]?ts$/;
|
|
@@ -7587,11 +7600,11 @@ var require_req = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
|
|
|
7587
7600
|
throw new Error(`'tsx' or 'jiti' is required for the TypeScript configuration files. Make sure it is installed\nError: ${importError.map((error$1) => error$1.message).join("\n")}`);
|
|
7588
7601
|
}
|
|
7589
7602
|
module.exports = req$3;
|
|
7590
|
-
})
|
|
7603
|
+
}));
|
|
7591
7604
|
|
|
7592
7605
|
//#endregion
|
|
7593
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.
|
|
7594
|
-
var require_options = /* @__PURE__ */
|
|
7606
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.1/node_modules/postcss-load-config/src/options.js
|
|
7607
|
+
var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7595
7608
|
const req$2 = require_req();
|
|
7596
7609
|
/**
|
|
7597
7610
|
* Load Options
|
|
@@ -7622,11 +7635,11 @@ var require_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
|
|
7622
7635
|
return config$2;
|
|
7623
7636
|
}
|
|
7624
7637
|
module.exports = options;
|
|
7625
|
-
})
|
|
7638
|
+
}));
|
|
7626
7639
|
|
|
7627
7640
|
//#endregion
|
|
7628
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.
|
|
7629
|
-
var require_plugins = /* @__PURE__ */
|
|
7641
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.1/node_modules/postcss-load-config/src/plugins.js
|
|
7642
|
+
var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7630
7643
|
const req$1 = require_req();
|
|
7631
7644
|
/**
|
|
7632
7645
|
* Plugin Loader
|
|
@@ -7677,11 +7690,11 @@ var require_plugins = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
|
|
7677
7690
|
return list;
|
|
7678
7691
|
}
|
|
7679
7692
|
module.exports = plugins;
|
|
7680
|
-
})
|
|
7693
|
+
}));
|
|
7681
7694
|
|
|
7682
7695
|
//#endregion
|
|
7683
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.
|
|
7684
|
-
var require_src = /* @__PURE__ */
|
|
7696
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_yaml@2.8.1/node_modules/postcss-load-config/src/index.js
|
|
7697
|
+
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7685
7698
|
const { resolve: resolve$2 } = __require("node:path");
|
|
7686
7699
|
const config$1 = require_src$1();
|
|
7687
7700
|
const loadOptions = require_options();
|
|
@@ -7821,11 +7834,11 @@ var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
|
|
|
7821
7834
|
* @requires ./plugins
|
|
7822
7835
|
*/
|
|
7823
7836
|
module.exports = rc;
|
|
7824
|
-
})
|
|
7837
|
+
}));
|
|
7825
7838
|
|
|
7826
7839
|
//#endregion
|
|
7827
7840
|
//#region ../../node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js
|
|
7828
|
-
var require_convert_source_map = /* @__PURE__ */
|
|
7841
|
+
var require_convert_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7829
7842
|
Object.defineProperty(exports, "commentRegex", { get: function getCommentRegex() {
|
|
7830
7843
|
return /^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm;
|
|
7831
7844
|
} });
|
|
@@ -7970,7 +7983,7 @@ var require_convert_source_map = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
7970
7983
|
var data = "sourceMappingURL=" + file;
|
|
7971
7984
|
return options$1 && options$1.multiline ? "/*# " + data + " */" : "//# " + data;
|
|
7972
7985
|
};
|
|
7973
|
-
})
|
|
7986
|
+
}));
|
|
7974
7987
|
|
|
7975
7988
|
//#endregion
|
|
7976
7989
|
//#region src/node/server/sourcemap.ts
|
|
@@ -8954,7 +8967,7 @@ function throwFileNotFoundInOptimizedDep(id) {
|
|
|
8954
8967
|
|
|
8955
8968
|
//#endregion
|
|
8956
8969
|
//#region ../../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.json
|
|
8957
|
-
var require_package = /* @__PURE__ */
|
|
8970
|
+
var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8958
8971
|
module.exports = {
|
|
8959
8972
|
"name": "dotenv",
|
|
8960
8973
|
"version": "17.2.3",
|
|
@@ -9013,11 +9026,11 @@ var require_package = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dot
|
|
|
9013
9026
|
"engines": { "node": ">=12" },
|
|
9014
9027
|
"browser": { "fs": false }
|
|
9015
9028
|
};
|
|
9016
|
-
})
|
|
9029
|
+
}));
|
|
9017
9030
|
|
|
9018
9031
|
//#endregion
|
|
9019
9032
|
//#region ../../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.js
|
|
9020
|
-
var require_main$1 = /* @__PURE__ */
|
|
9033
|
+
var require_main$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9021
9034
|
const fs$10 = __require("fs");
|
|
9022
9035
|
const path$10 = __require("path");
|
|
9023
9036
|
const os$3 = __require("os");
|
|
@@ -9292,11 +9305,11 @@ var require_main$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dote
|
|
|
9292
9305
|
module.exports.parse = DotenvModule.parse;
|
|
9293
9306
|
module.exports.populate = DotenvModule.populate;
|
|
9294
9307
|
module.exports = DotenvModule;
|
|
9295
|
-
})
|
|
9308
|
+
}));
|
|
9296
9309
|
|
|
9297
9310
|
//#endregion
|
|
9298
9311
|
//#region ../../node_modules/.pnpm/dotenv-expand@12.0.3_patch_hash=49330a663821151418e003e822a82a6a61d2f0f8a6e3cab00c1c94815a112889/node_modules/dotenv-expand/lib/main.js
|
|
9299
|
-
var require_main = /* @__PURE__ */
|
|
9312
|
+
var require_main = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9300
9313
|
function _resolveEscapeSequences(value$1) {
|
|
9301
9314
|
return value$1.replace(/\\\$/g, "$");
|
|
9302
9315
|
}
|
|
@@ -9347,7 +9360,7 @@ var require_main = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dotenv
|
|
|
9347
9360
|
return options$1;
|
|
9348
9361
|
}
|
|
9349
9362
|
module.exports.expand = expand$3;
|
|
9350
|
-
})
|
|
9363
|
+
}));
|
|
9351
9364
|
|
|
9352
9365
|
//#endregion
|
|
9353
9366
|
//#region src/node/env.ts
|
|
@@ -9528,291 +9541,6 @@ function errorMiddleware(server, allowNext = false) {
|
|
|
9528
9541
|
};
|
|
9529
9542
|
}
|
|
9530
9543
|
|
|
9531
|
-
//#endregion
|
|
9532
|
-
//#region ../../node_modules/.pnpm/obug@2.1.0/node_modules/obug/dist/core.js
|
|
9533
|
-
function coerce(value$1) {
|
|
9534
|
-
if (value$1 instanceof Error) return value$1.stack || value$1.message;
|
|
9535
|
-
return value$1;
|
|
9536
|
-
}
|
|
9537
|
-
function selectColor(colors$37, namespace) {
|
|
9538
|
-
let hash$1 = 0;
|
|
9539
|
-
for (let i$1 = 0; i$1 < namespace.length; i$1++) {
|
|
9540
|
-
hash$1 = (hash$1 << 5) - hash$1 + namespace.charCodeAt(i$1);
|
|
9541
|
-
hash$1 |= 0;
|
|
9542
|
-
}
|
|
9543
|
-
return colors$37[Math.abs(hash$1) % colors$37.length];
|
|
9544
|
-
}
|
|
9545
|
-
function matchesTemplate(search, template) {
|
|
9546
|
-
let searchIndex = 0;
|
|
9547
|
-
let templateIndex = 0;
|
|
9548
|
-
let starIndex = -1;
|
|
9549
|
-
let matchIndex = 0;
|
|
9550
|
-
while (searchIndex < search.length) if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) if (template[templateIndex] === "*") {
|
|
9551
|
-
starIndex = templateIndex;
|
|
9552
|
-
matchIndex = searchIndex;
|
|
9553
|
-
templateIndex++;
|
|
9554
|
-
} else {
|
|
9555
|
-
searchIndex++;
|
|
9556
|
-
templateIndex++;
|
|
9557
|
-
}
|
|
9558
|
-
else if (starIndex !== -1) {
|
|
9559
|
-
templateIndex = starIndex + 1;
|
|
9560
|
-
matchIndex++;
|
|
9561
|
-
searchIndex = matchIndex;
|
|
9562
|
-
} else return false;
|
|
9563
|
-
while (templateIndex < template.length && template[templateIndex] === "*") templateIndex++;
|
|
9564
|
-
return templateIndex === template.length;
|
|
9565
|
-
}
|
|
9566
|
-
function humanize(value$1) {
|
|
9567
|
-
if (value$1 >= 1e3) return `${(value$1 / 1e3).toFixed(1)}s`;
|
|
9568
|
-
return `${value$1}ms`;
|
|
9569
|
-
}
|
|
9570
|
-
function namespaces() {
|
|
9571
|
-
return globalNamespaces;
|
|
9572
|
-
}
|
|
9573
|
-
function createDebug(namespace, options$1) {
|
|
9574
|
-
let prevTime;
|
|
9575
|
-
let enableOverride;
|
|
9576
|
-
let namespacesCache;
|
|
9577
|
-
let enabledCache;
|
|
9578
|
-
const debug$18 = (...args) => {
|
|
9579
|
-
if (!debug$18.enabled) return;
|
|
9580
|
-
const curr = Date.now();
|
|
9581
|
-
const diff = curr - (prevTime || curr);
|
|
9582
|
-
prevTime = curr;
|
|
9583
|
-
args[0] = coerce(args[0]);
|
|
9584
|
-
if (typeof args[0] !== "string") args.unshift("%O");
|
|
9585
|
-
let index = 0;
|
|
9586
|
-
args[0] = args[0].replace(/%([a-z%])/gi, (match, format$3) => {
|
|
9587
|
-
if (match === "%%") return "%";
|
|
9588
|
-
index++;
|
|
9589
|
-
const formatter = options$1.formatters[format$3];
|
|
9590
|
-
if (typeof formatter === "function") {
|
|
9591
|
-
const value$1 = args[index];
|
|
9592
|
-
match = formatter.call(debug$18, value$1);
|
|
9593
|
-
args.splice(index, 1);
|
|
9594
|
-
index--;
|
|
9595
|
-
}
|
|
9596
|
-
return match;
|
|
9597
|
-
});
|
|
9598
|
-
options$1.formatArgs.call(debug$18, diff, args);
|
|
9599
|
-
debug$18.log(...args);
|
|
9600
|
-
};
|
|
9601
|
-
debug$18.extend = function(namespace$1, delimiter = ":") {
|
|
9602
|
-
return createDebug(this.namespace + delimiter + namespace$1, {
|
|
9603
|
-
useColors: this.useColors,
|
|
9604
|
-
color: this.color,
|
|
9605
|
-
formatArgs: this.formatArgs,
|
|
9606
|
-
formatters: this.formatters,
|
|
9607
|
-
inspectOpts: this.inspectOpts,
|
|
9608
|
-
log: this.log,
|
|
9609
|
-
humanize: this.humanize
|
|
9610
|
-
});
|
|
9611
|
-
};
|
|
9612
|
-
Object.assign(debug$18, options$1);
|
|
9613
|
-
debug$18.namespace = namespace;
|
|
9614
|
-
Object.defineProperty(debug$18, "enabled", {
|
|
9615
|
-
enumerable: true,
|
|
9616
|
-
configurable: false,
|
|
9617
|
-
get: () => {
|
|
9618
|
-
if (enableOverride != null) return enableOverride;
|
|
9619
|
-
if (namespacesCache !== globalNamespaces) {
|
|
9620
|
-
namespacesCache = globalNamespaces;
|
|
9621
|
-
enabledCache = enabled(namespace);
|
|
9622
|
-
}
|
|
9623
|
-
return enabledCache;
|
|
9624
|
-
},
|
|
9625
|
-
set: (v) => {
|
|
9626
|
-
enableOverride = v;
|
|
9627
|
-
}
|
|
9628
|
-
});
|
|
9629
|
-
return debug$18;
|
|
9630
|
-
}
|
|
9631
|
-
function enable(namespaces$1) {
|
|
9632
|
-
globalNamespaces = namespaces$1;
|
|
9633
|
-
names = [];
|
|
9634
|
-
skips = [];
|
|
9635
|
-
const split = globalNamespaces.trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
9636
|
-
for (const ns of split) if (ns[0] === "-") skips.push(ns.slice(1));
|
|
9637
|
-
else names.push(ns);
|
|
9638
|
-
}
|
|
9639
|
-
function disable() {
|
|
9640
|
-
const namespaces$1 = [...names, ...skips.map((namespace) => `-${namespace}`)].join(",");
|
|
9641
|
-
enable("");
|
|
9642
|
-
return namespaces$1;
|
|
9643
|
-
}
|
|
9644
|
-
function enabled(name) {
|
|
9645
|
-
for (const skip of skips) if (matchesTemplate(name, skip)) return false;
|
|
9646
|
-
for (const ns of names) if (matchesTemplate(name, ns)) return true;
|
|
9647
|
-
return false;
|
|
9648
|
-
}
|
|
9649
|
-
var globalNamespaces, names, skips;
|
|
9650
|
-
var init_core = __esm({ "../../node_modules/.pnpm/obug@2.1.0/node_modules/obug/dist/core.js": (() => {
|
|
9651
|
-
globalNamespaces = "";
|
|
9652
|
-
names = [];
|
|
9653
|
-
skips = [];
|
|
9654
|
-
}) });
|
|
9655
|
-
|
|
9656
|
-
//#endregion
|
|
9657
|
-
//#region ../../node_modules/.pnpm/obug@2.1.0/node_modules/obug/dist/node.js
|
|
9658
|
-
var node_exports = /* @__PURE__ */ __export({
|
|
9659
|
-
createDebug: () => createDebug$1,
|
|
9660
|
-
disable: () => disable,
|
|
9661
|
-
enable: () => enable$1,
|
|
9662
|
-
enabled: () => enabled,
|
|
9663
|
-
namespaces: () => namespaces
|
|
9664
|
-
});
|
|
9665
|
-
function useColors() {
|
|
9666
|
-
return "colors" in inspectOpts ? Boolean(inspectOpts.colors) : isatty(process.stderr.fd);
|
|
9667
|
-
}
|
|
9668
|
-
function getDate() {
|
|
9669
|
-
if (inspectOpts.hideDate) return "";
|
|
9670
|
-
return `${(/* @__PURE__ */ new Date()).toISOString()} `;
|
|
9671
|
-
}
|
|
9672
|
-
function formatArgs(diff, args) {
|
|
9673
|
-
const { namespace: name, useColors: useColors$1$1 } = this;
|
|
9674
|
-
if (useColors$1$1) {
|
|
9675
|
-
const c = this.color;
|
|
9676
|
-
const colorCode = `\u001B[3${c < 8 ? c : `8;5;${c}`}`;
|
|
9677
|
-
const prefix = ` ${colorCode};1m${name} \u001B[0m`;
|
|
9678
|
-
args[0] = prefix + args[0].split("\n").join(`\n${prefix}`);
|
|
9679
|
-
args.push(`${colorCode}m+${this.humanize(diff)}\u001B[0m`);
|
|
9680
|
-
} else args[0] = `${getDate()}${name} ${args[0]}`;
|
|
9681
|
-
}
|
|
9682
|
-
function log$2(...args) {
|
|
9683
|
-
process.stderr.write(`${formatWithOptions(this.inspectOpts, ...args)}\n`);
|
|
9684
|
-
}
|
|
9685
|
-
function createDebug$1(namespace, options$1) {
|
|
9686
|
-
var _ref;
|
|
9687
|
-
const color = (_ref = options$1 && options$1.color) !== null && _ref !== void 0 ? _ref : selectColor(colors$28, namespace);
|
|
9688
|
-
return createDebug(namespace, Object.assign(defaultOptions, { color }, options$1));
|
|
9689
|
-
}
|
|
9690
|
-
function save(namespaces$1) {
|
|
9691
|
-
if (namespaces$1) process.env.DEBUG = namespaces$1;
|
|
9692
|
-
else delete process.env.DEBUG;
|
|
9693
|
-
}
|
|
9694
|
-
function enable$1(namespaces$1) {
|
|
9695
|
-
save(namespaces$1);
|
|
9696
|
-
enable(namespaces$1);
|
|
9697
|
-
}
|
|
9698
|
-
var colors$28, inspectOpts, defaultOptions;
|
|
9699
|
-
var init_node = __esm({ "../../node_modules/.pnpm/obug@2.1.0/node_modules/obug/dist/node.js": (() => {
|
|
9700
|
-
init_core();
|
|
9701
|
-
colors$28 = process.stderr.getColorDepth && process.stderr.getColorDepth() > 2 ? [
|
|
9702
|
-
20,
|
|
9703
|
-
21,
|
|
9704
|
-
26,
|
|
9705
|
-
27,
|
|
9706
|
-
32,
|
|
9707
|
-
33,
|
|
9708
|
-
38,
|
|
9709
|
-
39,
|
|
9710
|
-
40,
|
|
9711
|
-
41,
|
|
9712
|
-
42,
|
|
9713
|
-
43,
|
|
9714
|
-
44,
|
|
9715
|
-
45,
|
|
9716
|
-
56,
|
|
9717
|
-
57,
|
|
9718
|
-
62,
|
|
9719
|
-
63,
|
|
9720
|
-
68,
|
|
9721
|
-
69,
|
|
9722
|
-
74,
|
|
9723
|
-
75,
|
|
9724
|
-
76,
|
|
9725
|
-
77,
|
|
9726
|
-
78,
|
|
9727
|
-
79,
|
|
9728
|
-
80,
|
|
9729
|
-
81,
|
|
9730
|
-
92,
|
|
9731
|
-
93,
|
|
9732
|
-
98,
|
|
9733
|
-
99,
|
|
9734
|
-
112,
|
|
9735
|
-
113,
|
|
9736
|
-
128,
|
|
9737
|
-
129,
|
|
9738
|
-
134,
|
|
9739
|
-
135,
|
|
9740
|
-
148,
|
|
9741
|
-
149,
|
|
9742
|
-
160,
|
|
9743
|
-
161,
|
|
9744
|
-
162,
|
|
9745
|
-
163,
|
|
9746
|
-
164,
|
|
9747
|
-
165,
|
|
9748
|
-
166,
|
|
9749
|
-
167,
|
|
9750
|
-
168,
|
|
9751
|
-
169,
|
|
9752
|
-
170,
|
|
9753
|
-
171,
|
|
9754
|
-
172,
|
|
9755
|
-
173,
|
|
9756
|
-
178,
|
|
9757
|
-
179,
|
|
9758
|
-
184,
|
|
9759
|
-
185,
|
|
9760
|
-
196,
|
|
9761
|
-
197,
|
|
9762
|
-
198,
|
|
9763
|
-
199,
|
|
9764
|
-
200,
|
|
9765
|
-
201,
|
|
9766
|
-
202,
|
|
9767
|
-
203,
|
|
9768
|
-
204,
|
|
9769
|
-
205,
|
|
9770
|
-
206,
|
|
9771
|
-
207,
|
|
9772
|
-
208,
|
|
9773
|
-
209,
|
|
9774
|
-
214,
|
|
9775
|
-
215,
|
|
9776
|
-
220,
|
|
9777
|
-
221
|
|
9778
|
-
] : [
|
|
9779
|
-
6,
|
|
9780
|
-
2,
|
|
9781
|
-
3,
|
|
9782
|
-
4,
|
|
9783
|
-
5,
|
|
9784
|
-
1
|
|
9785
|
-
];
|
|
9786
|
-
inspectOpts = Object.keys(process.env).filter((key) => /^debug_/i.test(key)).reduce((obj, key) => {
|
|
9787
|
-
const prop = key.slice(6).toLowerCase().replace(/_([a-z])/g, (_, k) => k.toUpperCase());
|
|
9788
|
-
let value$1 = process.env[key];
|
|
9789
|
-
if (value$1 === "null") value$1 = null;
|
|
9790
|
-
else if (/^yes|on|true|enabled$/i.test(value$1)) value$1 = true;
|
|
9791
|
-
else if (/^no|off|false|disabled$/i.test(value$1)) value$1 = false;
|
|
9792
|
-
else value$1 = Number(value$1);
|
|
9793
|
-
obj[prop] = value$1;
|
|
9794
|
-
return obj;
|
|
9795
|
-
}, {});
|
|
9796
|
-
defaultOptions = {
|
|
9797
|
-
useColors: useColors(),
|
|
9798
|
-
formatArgs,
|
|
9799
|
-
formatters: {
|
|
9800
|
-
o(v) {
|
|
9801
|
-
this.inspectOpts.colors = this.useColors;
|
|
9802
|
-
return inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
9803
|
-
},
|
|
9804
|
-
O(v) {
|
|
9805
|
-
this.inspectOpts.colors = this.useColors;
|
|
9806
|
-
return inspect(v, this.inspectOpts);
|
|
9807
|
-
}
|
|
9808
|
-
},
|
|
9809
|
-
inspectOpts,
|
|
9810
|
-
log: log$2,
|
|
9811
|
-
humanize
|
|
9812
|
-
};
|
|
9813
|
-
enable(process.env.DEBUG || "");
|
|
9814
|
-
}) });
|
|
9815
|
-
|
|
9816
9544
|
//#endregion
|
|
9817
9545
|
//#region ../../node_modules/.pnpm/encodeurl@1.0.2/node_modules/encodeurl/index.js
|
|
9818
9546
|
/*!
|
|
@@ -9820,7 +9548,7 @@ var init_node = __esm({ "../../node_modules/.pnpm/obug@2.1.0/node_modules/obug/d
|
|
|
9820
9548
|
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
9821
9549
|
* MIT Licensed
|
|
9822
9550
|
*/
|
|
9823
|
-
var require_encodeurl = /* @__PURE__ */
|
|
9551
|
+
var require_encodeurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9824
9552
|
/**
|
|
9825
9553
|
* Module exports.
|
|
9826
9554
|
* @public
|
|
@@ -9862,7 +9590,7 @@ var require_encodeurl = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/e
|
|
|
9862
9590
|
function encodeUrl$1(url$3) {
|
|
9863
9591
|
return String(url$3).replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE).replace(ENCODE_CHARS_REGEXP, encodeURI);
|
|
9864
9592
|
}
|
|
9865
|
-
})
|
|
9593
|
+
}));
|
|
9866
9594
|
|
|
9867
9595
|
//#endregion
|
|
9868
9596
|
//#region ../../node_modules/.pnpm/escape-html@1.0.3/node_modules/escape-html/index.js
|
|
@@ -9873,7 +9601,7 @@ var require_encodeurl = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/e
|
|
|
9873
9601
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
9874
9602
|
* MIT Licensed
|
|
9875
9603
|
*/
|
|
9876
|
-
var require_escape_html = /* @__PURE__ */
|
|
9604
|
+
var require_escape_html = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9877
9605
|
/**
|
|
9878
9606
|
* Module variables.
|
|
9879
9607
|
* @private
|
|
@@ -9924,7 +9652,7 @@ var require_escape_html = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
9924
9652
|
}
|
|
9925
9653
|
return lastIndex !== index ? html + str.substring(lastIndex, index) : html;
|
|
9926
9654
|
}
|
|
9927
|
-
})
|
|
9655
|
+
}));
|
|
9928
9656
|
|
|
9929
9657
|
//#endregion
|
|
9930
9658
|
//#region ../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js
|
|
@@ -9933,7 +9661,7 @@ var require_escape_html = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
9933
9661
|
* Copyright(c) 2014 Jonathan Ong
|
|
9934
9662
|
* MIT Licensed
|
|
9935
9663
|
*/
|
|
9936
|
-
var require_ee_first = /* @__PURE__ */
|
|
9664
|
+
var require_ee_first = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9937
9665
|
/**
|
|
9938
9666
|
* Module exports.
|
|
9939
9667
|
* @public
|
|
@@ -9994,7 +9722,7 @@ var require_ee_first = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ee
|
|
|
9994
9722
|
done(err$2, ee, event, args);
|
|
9995
9723
|
};
|
|
9996
9724
|
}
|
|
9997
|
-
})
|
|
9725
|
+
}));
|
|
9998
9726
|
|
|
9999
9727
|
//#endregion
|
|
10000
9728
|
//#region ../../node_modules/.pnpm/on-finished@2.3.0/node_modules/on-finished/index.js
|
|
@@ -10004,7 +9732,7 @@ var require_ee_first = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ee
|
|
|
10004
9732
|
* Copyright(c) 2014 Douglas Christopher Wilson
|
|
10005
9733
|
* MIT Licensed
|
|
10006
9734
|
*/
|
|
10007
|
-
var require_on_finished = /* @__PURE__ */
|
|
9735
|
+
var require_on_finished = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10008
9736
|
/**
|
|
10009
9737
|
* Module exports.
|
|
10010
9738
|
* @public
|
|
@@ -10140,7 +9868,7 @@ var require_on_finished = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
10140
9868
|
callback(socket);
|
|
10141
9869
|
};
|
|
10142
9870
|
}
|
|
10143
|
-
})
|
|
9871
|
+
}));
|
|
10144
9872
|
|
|
10145
9873
|
//#endregion
|
|
10146
9874
|
//#region ../../node_modules/.pnpm/parseurl@1.3.3/node_modules/parseurl/index.js
|
|
@@ -10150,7 +9878,7 @@ var require_on_finished = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
10150
9878
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
10151
9879
|
* MIT Licensed
|
|
10152
9880
|
*/
|
|
10153
|
-
var require_parseurl = /* @__PURE__ */
|
|
9881
|
+
var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10154
9882
|
/**
|
|
10155
9883
|
* Module dependencies.
|
|
10156
9884
|
* @private
|
|
@@ -10246,11 +9974,11 @@ var require_parseurl = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pa
|
|
|
10246
9974
|
function fresh(url$3, parsedUrl) {
|
|
10247
9975
|
return typeof parsedUrl === "object" && parsedUrl !== null && (Url === void 0 || parsedUrl instanceof Url) && parsedUrl._raw === url$3;
|
|
10248
9976
|
}
|
|
10249
|
-
})
|
|
9977
|
+
}));
|
|
10250
9978
|
|
|
10251
9979
|
//#endregion
|
|
10252
9980
|
//#region ../../node_modules/.pnpm/statuses@1.5.0/node_modules/statuses/codes.json
|
|
10253
|
-
var require_codes = /* @__PURE__ */
|
|
9981
|
+
var require_codes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10254
9982
|
module.exports = {
|
|
10255
9983
|
"100": "Continue",
|
|
10256
9984
|
"101": "Switching Protocols",
|
|
@@ -10317,7 +10045,7 @@ var require_codes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/statu
|
|
|
10317
10045
|
"510": "Not Extended",
|
|
10318
10046
|
"511": "Network Authentication Required"
|
|
10319
10047
|
};
|
|
10320
|
-
})
|
|
10048
|
+
}));
|
|
10321
10049
|
|
|
10322
10050
|
//#endregion
|
|
10323
10051
|
//#region ../../node_modules/.pnpm/statuses@1.5.0/node_modules/statuses/index.js
|
|
@@ -10327,7 +10055,7 @@ var require_codes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/statu
|
|
|
10327
10055
|
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
10328
10056
|
* MIT Licensed
|
|
10329
10057
|
*/
|
|
10330
|
-
var require_statuses = /* @__PURE__ */
|
|
10058
|
+
var require_statuses = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10331
10059
|
/**
|
|
10332
10060
|
* Module dependencies.
|
|
10333
10061
|
* @private
|
|
@@ -10403,7 +10131,7 @@ var require_statuses = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/st
|
|
|
10403
10131
|
if (!n$2) throw new Error("invalid status message: \"" + code + "\"");
|
|
10404
10132
|
return n$2;
|
|
10405
10133
|
}
|
|
10406
|
-
})
|
|
10134
|
+
}));
|
|
10407
10135
|
|
|
10408
10136
|
//#endregion
|
|
10409
10137
|
//#region ../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js
|
|
@@ -10412,7 +10140,7 @@ var require_statuses = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/st
|
|
|
10412
10140
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
10413
10141
|
* MIT Licensed
|
|
10414
10142
|
*/
|
|
10415
|
-
var require_unpipe = /* @__PURE__ */
|
|
10143
|
+
var require_unpipe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10416
10144
|
/**
|
|
10417
10145
|
* Module exports.
|
|
10418
10146
|
* @public
|
|
@@ -10448,16 +10176,16 @@ var require_unpipe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/unpi
|
|
|
10448
10176
|
listener$1.call(stream$2);
|
|
10449
10177
|
}
|
|
10450
10178
|
}
|
|
10451
|
-
})
|
|
10179
|
+
}));
|
|
10452
10180
|
|
|
10453
10181
|
//#endregion
|
|
10454
|
-
//#region ../../node_modules/.pnpm/finalhandler@1.1.2/node_modules/finalhandler/index.js
|
|
10182
|
+
//#region ../../node_modules/.pnpm/finalhandler@1.1.2_ms@2.1.3/node_modules/finalhandler/index.js
|
|
10455
10183
|
/*!
|
|
10456
10184
|
* finalhandler
|
|
10457
10185
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
10458
10186
|
* MIT Licensed
|
|
10459
10187
|
*/
|
|
10460
|
-
var require_finalhandler = /* @__PURE__ */
|
|
10188
|
+
var require_finalhandler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10461
10189
|
/**
|
|
10462
10190
|
* Module dependencies.
|
|
10463
10191
|
* @private
|
|
@@ -10667,11 +10395,11 @@ var require_finalhandler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
10667
10395
|
res.setHeader(key, headers[key]);
|
|
10668
10396
|
}
|
|
10669
10397
|
}
|
|
10670
|
-
})
|
|
10398
|
+
}));
|
|
10671
10399
|
|
|
10672
10400
|
//#endregion
|
|
10673
10401
|
//#region ../../node_modules/.pnpm/utils-merge@1.0.1/node_modules/utils-merge/index.js
|
|
10674
|
-
var require_utils_merge = /* @__PURE__ */
|
|
10402
|
+
var require_utils_merge = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10675
10403
|
/**
|
|
10676
10404
|
* Merge object b with object a.
|
|
10677
10405
|
*
|
|
@@ -10690,10 +10418,10 @@ var require_utils_merge = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
10690
10418
|
if (a && b) for (var key in b) a[key] = b[key];
|
|
10691
10419
|
return a;
|
|
10692
10420
|
};
|
|
10693
|
-
})
|
|
10421
|
+
}));
|
|
10694
10422
|
|
|
10695
10423
|
//#endregion
|
|
10696
|
-
//#region ../../node_modules/.pnpm/connect@3.7.
|
|
10424
|
+
//#region ../../node_modules/.pnpm/connect@3.7.0_ms@2.1.3/node_modules/connect/index.js
|
|
10697
10425
|
/*!
|
|
10698
10426
|
* connect
|
|
10699
10427
|
* Copyright(c) 2010 Sencha Inc.
|
|
@@ -10701,7 +10429,7 @@ var require_utils_merge = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
10701
10429
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
10702
10430
|
* MIT Licensed
|
|
10703
10431
|
*/
|
|
10704
|
-
var require_connect = /* @__PURE__ */
|
|
10432
|
+
var require_connect = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10705
10433
|
/**
|
|
10706
10434
|
* Module dependencies.
|
|
10707
10435
|
* @private
|
|
@@ -10901,7 +10629,7 @@ var require_connect = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/con
|
|
|
10901
10629
|
var fqdnIndex = url$3.indexOf("://");
|
|
10902
10630
|
return fqdnIndex !== -1 && url$3.lastIndexOf("?", fqdnIndex) === -1 ? url$3.substr(0, url$3.indexOf("/", 3 + fqdnIndex)) : void 0;
|
|
10903
10631
|
}
|
|
10904
|
-
})
|
|
10632
|
+
}));
|
|
10905
10633
|
|
|
10906
10634
|
//#endregion
|
|
10907
10635
|
//#region ../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js
|
|
@@ -10910,7 +10638,7 @@ object-assign
|
|
|
10910
10638
|
(c) Sindre Sorhus
|
|
10911
10639
|
@license MIT
|
|
10912
10640
|
*/
|
|
10913
|
-
var require_object_assign = /* @__PURE__ */
|
|
10641
|
+
var require_object_assign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10914
10642
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
10915
10643
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
10916
10644
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
@@ -10953,7 +10681,7 @@ var require_object_assign = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
10953
10681
|
}
|
|
10954
10682
|
return to;
|
|
10955
10683
|
};
|
|
10956
|
-
})
|
|
10684
|
+
}));
|
|
10957
10685
|
|
|
10958
10686
|
//#endregion
|
|
10959
10687
|
//#region ../../node_modules/.pnpm/vary@1.1.2/node_modules/vary/index.js
|
|
@@ -10962,7 +10690,7 @@ var require_object_assign = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
10962
10690
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
10963
10691
|
* MIT Licensed
|
|
10964
10692
|
*/
|
|
10965
|
-
var require_vary = /* @__PURE__ */
|
|
10693
|
+
var require_vary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10966
10694
|
/**
|
|
10967
10695
|
* Module exports.
|
|
10968
10696
|
*/
|
|
@@ -11043,11 +10771,11 @@ var require_vary = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/vary@1
|
|
|
11043
10771
|
var val = res.getHeader("Vary") || "";
|
|
11044
10772
|
if (val = append$1(Array.isArray(val) ? val.join(", ") : String(val), field)) res.setHeader("Vary", val);
|
|
11045
10773
|
}
|
|
11046
|
-
})
|
|
10774
|
+
}));
|
|
11047
10775
|
|
|
11048
10776
|
//#endregion
|
|
11049
10777
|
//#region ../../node_modules/.pnpm/cors@2.8.5/node_modules/cors/lib/index.js
|
|
11050
|
-
var require_lib$1 = /* @__PURE__ */
|
|
10778
|
+
var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11051
10779
|
(function() {
|
|
11052
10780
|
"use strict";
|
|
11053
10781
|
var assign = require_object_assign();
|
|
@@ -11210,11 +10938,11 @@ var require_lib$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cors@
|
|
|
11210
10938
|
}
|
|
11211
10939
|
module.exports = middlewareWrapper;
|
|
11212
10940
|
})();
|
|
11213
|
-
})
|
|
10941
|
+
}));
|
|
11214
10942
|
|
|
11215
10943
|
//#endregion
|
|
11216
10944
|
//#region ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
|
|
11217
|
-
var require_readdirp = /* @__PURE__ */
|
|
10945
|
+
var require_readdirp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11218
10946
|
const fs$9 = __require("fs");
|
|
11219
10947
|
const { Readable: Readable$1 } = __require("stream");
|
|
11220
10948
|
const sysPath$3 = __require("path");
|
|
@@ -11465,11 +11193,11 @@ var require_readdirp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/re
|
|
|
11465
11193
|
readdirp$1.ReaddirpStream = ReaddirpStream;
|
|
11466
11194
|
readdirp$1.default = readdirp$1;
|
|
11467
11195
|
module.exports = readdirp$1;
|
|
11468
|
-
})
|
|
11196
|
+
}));
|
|
11469
11197
|
|
|
11470
11198
|
//#endregion
|
|
11471
11199
|
//#region ../../node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js
|
|
11472
|
-
var require_normalize_path = /* @__PURE__ */
|
|
11200
|
+
var require_normalize_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11473
11201
|
/*!
|
|
11474
11202
|
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
11475
11203
|
*
|
|
@@ -11493,11 +11221,11 @@ var require_normalize_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
11493
11221
|
if (stripTrailing !== false && segs[segs.length - 1] === "") segs.pop();
|
|
11494
11222
|
return prefix + segs.join("/");
|
|
11495
11223
|
};
|
|
11496
|
-
})
|
|
11224
|
+
}));
|
|
11497
11225
|
|
|
11498
11226
|
//#endregion
|
|
11499
11227
|
//#region ../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
|
|
11500
|
-
var require_anymatch = /* @__PURE__ */
|
|
11228
|
+
var require_anymatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11501
11229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11502
11230
|
const picomatch$1 = __require("picomatch");
|
|
11503
11231
|
const normalizePath$2 = require_normalize_path();
|
|
@@ -11566,11 +11294,11 @@ var require_anymatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/an
|
|
|
11566
11294
|
};
|
|
11567
11295
|
anymatch$1.default = anymatch$1;
|
|
11568
11296
|
module.exports = anymatch$1;
|
|
11569
|
-
})
|
|
11297
|
+
}));
|
|
11570
11298
|
|
|
11571
11299
|
//#endregion
|
|
11572
11300
|
//#region ../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js
|
|
11573
|
-
var require_is_extglob = /* @__PURE__ */
|
|
11301
|
+
var require_is_extglob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11574
11302
|
/*!
|
|
11575
11303
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
11576
11304
|
*
|
|
@@ -11586,11 +11314,11 @@ var require_is_extglob = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
11586
11314
|
}
|
|
11587
11315
|
return false;
|
|
11588
11316
|
};
|
|
11589
|
-
})
|
|
11317
|
+
}));
|
|
11590
11318
|
|
|
11591
11319
|
//#endregion
|
|
11592
11320
|
//#region ../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js
|
|
11593
|
-
var require_is_glob = /* @__PURE__ */
|
|
11321
|
+
var require_is_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11594
11322
|
/*!
|
|
11595
11323
|
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
11596
11324
|
*
|
|
@@ -11684,11 +11412,11 @@ var require_is_glob = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-
|
|
|
11684
11412
|
if (options$1 && options$1.strict === false) check = relaxedCheck;
|
|
11685
11413
|
return check(str);
|
|
11686
11414
|
};
|
|
11687
|
-
})
|
|
11415
|
+
}));
|
|
11688
11416
|
|
|
11689
11417
|
//#endregion
|
|
11690
11418
|
//#region ../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js
|
|
11691
|
-
var require_glob_parent = /* @__PURE__ */
|
|
11419
|
+
var require_glob_parent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11692
11420
|
var isGlob$1 = require_is_glob();
|
|
11693
11421
|
var pathPosixDirname = __require("path").posix.dirname;
|
|
11694
11422
|
var isWin32 = __require("os").platform() === "win32";
|
|
@@ -11712,11 +11440,11 @@ var require_glob_parent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
11712
11440
|
while (isGlob$1(str) || globby.test(str));
|
|
11713
11441
|
return str.replace(escaped, "$1");
|
|
11714
11442
|
};
|
|
11715
|
-
})
|
|
11443
|
+
}));
|
|
11716
11444
|
|
|
11717
11445
|
//#endregion
|
|
11718
11446
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js
|
|
11719
|
-
var require_utils = /* @__PURE__ */
|
|
11447
|
+
var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11720
11448
|
exports.isInteger = (num) => {
|
|
11721
11449
|
if (typeof num === "number") return Number.isInteger(num);
|
|
11722
11450
|
if (typeof num === "string" && num.trim() !== "") return Number.isInteger(Number(num));
|
|
@@ -11808,11 +11536,11 @@ var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/brace
|
|
|
11808
11536
|
flat(args);
|
|
11809
11537
|
return result;
|
|
11810
11538
|
};
|
|
11811
|
-
})
|
|
11539
|
+
}));
|
|
11812
11540
|
|
|
11813
11541
|
//#endregion
|
|
11814
11542
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js
|
|
11815
|
-
var require_stringify = /* @__PURE__ */
|
|
11543
|
+
var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11816
11544
|
const utils$2 = require_utils();
|
|
11817
11545
|
module.exports = (ast, options$1 = {}) => {
|
|
11818
11546
|
const stringify$5 = (node, parent = {}) => {
|
|
@@ -11829,7 +11557,7 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/b
|
|
|
11829
11557
|
};
|
|
11830
11558
|
return stringify$5(ast);
|
|
11831
11559
|
};
|
|
11832
|
-
})
|
|
11560
|
+
}));
|
|
11833
11561
|
|
|
11834
11562
|
//#endregion
|
|
11835
11563
|
//#region ../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js
|
|
@@ -11839,13 +11567,13 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/b
|
|
|
11839
11567
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
11840
11568
|
* Released under the MIT License.
|
|
11841
11569
|
*/
|
|
11842
|
-
var require_is_number = /* @__PURE__ */
|
|
11570
|
+
var require_is_number = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11843
11571
|
module.exports = function(num) {
|
|
11844
11572
|
if (typeof num === "number") return num - num === 0;
|
|
11845
11573
|
if (typeof num === "string" && num.trim() !== "") return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
|
|
11846
11574
|
return false;
|
|
11847
11575
|
};
|
|
11848
|
-
})
|
|
11576
|
+
}));
|
|
11849
11577
|
|
|
11850
11578
|
//#endregion
|
|
11851
11579
|
//#region ../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js
|
|
@@ -11855,7 +11583,7 @@ var require_is_number = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/i
|
|
|
11855
11583
|
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
11856
11584
|
* Released under the MIT License.
|
|
11857
11585
|
*/
|
|
11858
|
-
var require_to_regex_range = /* @__PURE__ */
|
|
11586
|
+
var require_to_regex_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11859
11587
|
const isNumber$1 = require_is_number();
|
|
11860
11588
|
const toRegexRange$1 = (min$1, max, options$1) => {
|
|
11861
11589
|
if (isNumber$1(min$1) === false) throw new TypeError("toRegexRange: expected the first argument to be a number");
|
|
@@ -12045,7 +11773,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
12045
11773
|
* Expose `toRegexRange`
|
|
12046
11774
|
*/
|
|
12047
11775
|
module.exports = toRegexRange$1;
|
|
12048
|
-
})
|
|
11776
|
+
}));
|
|
12049
11777
|
|
|
12050
11778
|
//#endregion
|
|
12051
11779
|
//#region ../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js
|
|
@@ -12055,7 +11783,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
12055
11783
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
12056
11784
|
* Licensed under the MIT License.
|
|
12057
11785
|
*/
|
|
12058
|
-
var require_fill_range = /* @__PURE__ */
|
|
11786
|
+
var require_fill_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12059
11787
|
const util = __require("util");
|
|
12060
11788
|
const toRegexRange = require_to_regex_range();
|
|
12061
11789
|
const isObject$1 = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -12210,11 +11938,11 @@ var require_fill_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
12210
11938
|
return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
|
|
12211
11939
|
};
|
|
12212
11940
|
module.exports = fill$2;
|
|
12213
|
-
})
|
|
11941
|
+
}));
|
|
12214
11942
|
|
|
12215
11943
|
//#endregion
|
|
12216
11944
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js
|
|
12217
|
-
var require_compile = /* @__PURE__ */
|
|
11945
|
+
var require_compile = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12218
11946
|
const fill$1 = require_fill_range();
|
|
12219
11947
|
const utils$1 = require_utils();
|
|
12220
11948
|
const compile$1 = (ast, options$1 = {}) => {
|
|
@@ -12247,11 +11975,11 @@ var require_compile = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
12247
11975
|
return walk$3(ast);
|
|
12248
11976
|
};
|
|
12249
11977
|
module.exports = compile$1;
|
|
12250
|
-
})
|
|
11978
|
+
}));
|
|
12251
11979
|
|
|
12252
11980
|
//#endregion
|
|
12253
11981
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js
|
|
12254
|
-
var require_expand = /* @__PURE__ */
|
|
11982
|
+
var require_expand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12255
11983
|
const fill = require_fill_range();
|
|
12256
11984
|
const stringify$2 = require_stringify();
|
|
12257
11985
|
const utils = require_utils();
|
|
@@ -12324,11 +12052,11 @@ var require_expand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/brac
|
|
|
12324
12052
|
return utils.flatten(walk$3(ast));
|
|
12325
12053
|
};
|
|
12326
12054
|
module.exports = expand$1;
|
|
12327
|
-
})
|
|
12055
|
+
}));
|
|
12328
12056
|
|
|
12329
12057
|
//#endregion
|
|
12330
12058
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js
|
|
12331
|
-
var require_constants$2 = /* @__PURE__ */
|
|
12059
|
+
var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12332
12060
|
module.exports = {
|
|
12333
12061
|
MAX_LENGTH: 1e4,
|
|
12334
12062
|
CHAR_0: "0",
|
|
@@ -12376,11 +12104,11 @@ var require_constants$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
12376
12104
|
CHAR_VERTICAL_LINE: "|",
|
|
12377
12105
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE: ""
|
|
12378
12106
|
};
|
|
12379
|
-
})
|
|
12107
|
+
}));
|
|
12380
12108
|
|
|
12381
12109
|
//#endregion
|
|
12382
12110
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js
|
|
12383
|
-
var require_parse$2 = /* @__PURE__ */
|
|
12111
|
+
var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12384
12112
|
const stringify$1 = require_stringify();
|
|
12385
12113
|
/**
|
|
12386
12114
|
* Constants
|
|
@@ -12663,11 +12391,11 @@ var require_parse$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
12663
12391
|
return ast;
|
|
12664
12392
|
};
|
|
12665
12393
|
module.exports = parse$8;
|
|
12666
|
-
})
|
|
12394
|
+
}));
|
|
12667
12395
|
|
|
12668
12396
|
//#endregion
|
|
12669
12397
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js
|
|
12670
|
-
var require_braces = /* @__PURE__ */
|
|
12398
|
+
var require_braces = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12671
12399
|
const stringify = require_stringify();
|
|
12672
12400
|
const compile = require_compile();
|
|
12673
12401
|
const expand = require_expand();
|
|
@@ -12791,11 +12519,11 @@ var require_braces = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/brac
|
|
|
12791
12519
|
* Expose "braces"
|
|
12792
12520
|
*/
|
|
12793
12521
|
module.exports = braces$1;
|
|
12794
|
-
})
|
|
12522
|
+
}));
|
|
12795
12523
|
|
|
12796
12524
|
//#endregion
|
|
12797
12525
|
//#region ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
|
|
12798
|
-
var require_binary_extensions$1 = /* @__PURE__ */
|
|
12526
|
+
var require_binary_extensions$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12799
12527
|
module.exports = [
|
|
12800
12528
|
"3dm",
|
|
12801
12529
|
"3ds",
|
|
@@ -13059,26 +12787,26 @@ var require_binary_extensions$1 = /* @__PURE__ */ __commonJS({ "../../node_modul
|
|
|
13059
12787
|
"zip",
|
|
13060
12788
|
"zipx"
|
|
13061
12789
|
];
|
|
13062
|
-
})
|
|
12790
|
+
}));
|
|
13063
12791
|
|
|
13064
12792
|
//#endregion
|
|
13065
12793
|
//#region ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js
|
|
13066
|
-
var require_binary_extensions = /* @__PURE__ */
|
|
12794
|
+
var require_binary_extensions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13067
12795
|
module.exports = require_binary_extensions$1();
|
|
13068
|
-
})
|
|
12796
|
+
}));
|
|
13069
12797
|
|
|
13070
12798
|
//#endregion
|
|
13071
12799
|
//#region ../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
|
|
13072
|
-
var require_is_binary_path = /* @__PURE__ */
|
|
12800
|
+
var require_is_binary_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13073
12801
|
const path$9 = __require("path");
|
|
13074
12802
|
const binaryExtensions = require_binary_extensions();
|
|
13075
12803
|
const extensions = new Set(binaryExtensions);
|
|
13076
12804
|
module.exports = (filePath) => extensions.has(path$9.extname(filePath).slice(1).toLowerCase());
|
|
13077
|
-
})
|
|
12805
|
+
}));
|
|
13078
12806
|
|
|
13079
12807
|
//#endregion
|
|
13080
12808
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/lib/constants.js
|
|
13081
|
-
var require_constants$1 = /* @__PURE__ */
|
|
12809
|
+
var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13082
12810
|
const { sep: sep$2 } = __require("path");
|
|
13083
12811
|
const { platform: platform$1 } = process;
|
|
13084
12812
|
const os$2 = __require("os");
|
|
@@ -13139,11 +12867,11 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
13139
12867
|
exports.isMacos = platform$1 === "darwin";
|
|
13140
12868
|
exports.isLinux = platform$1 === "linux";
|
|
13141
12869
|
exports.isIBMi = os$2.type() === "OS400";
|
|
13142
|
-
})
|
|
12870
|
+
}));
|
|
13143
12871
|
|
|
13144
12872
|
//#endregion
|
|
13145
12873
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/lib/nodefs-handler.js
|
|
13146
|
-
var require_nodefs_handler = /* @__PURE__ */
|
|
12874
|
+
var require_nodefs_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13147
12875
|
const fs$8 = __require("fs");
|
|
13148
12876
|
const sysPath$2 = __require("path");
|
|
13149
12877
|
const { promisify: promisify$3 } = __require("util");
|
|
@@ -13597,11 +13325,11 @@ var require_nodefs_handler = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
13597
13325
|
}
|
|
13598
13326
|
};
|
|
13599
13327
|
module.exports = NodeFsHandler$1;
|
|
13600
|
-
})
|
|
13328
|
+
}));
|
|
13601
13329
|
|
|
13602
13330
|
//#endregion
|
|
13603
13331
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/lib/fsevents-handler.js
|
|
13604
|
-
var require_fsevents_handler = /* @__PURE__ */
|
|
13332
|
+
var require_fsevents_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13605
13333
|
const fs$7 = __require("fs");
|
|
13606
13334
|
const sysPath$1 = __require("path");
|
|
13607
13335
|
const { promisify: promisify$2 } = __require("util");
|
|
@@ -13933,11 +13661,11 @@ var require_fsevents_handler = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
13933
13661
|
};
|
|
13934
13662
|
module.exports = FsEventsHandler$1;
|
|
13935
13663
|
module.exports.canUse = canUse;
|
|
13936
|
-
})
|
|
13664
|
+
}));
|
|
13937
13665
|
|
|
13938
13666
|
//#endregion
|
|
13939
13667
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=8a4f9e2b397e6034b91a0508faae3cecb97f222313faa129d7cb0eb71e9d0e84/node_modules/chokidar/index.js
|
|
13940
|
-
var require_chokidar = /* @__PURE__ */
|
|
13668
|
+
var require_chokidar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13941
13669
|
const { EventEmitter: EventEmitter$3 } = __require("events");
|
|
13942
13670
|
const fs$6 = __require("fs");
|
|
13943
13671
|
const sysPath = __require("path");
|
|
@@ -14618,11 +14346,11 @@ var require_chokidar = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ch
|
|
|
14618
14346
|
return watcher;
|
|
14619
14347
|
};
|
|
14620
14348
|
exports.watch = watch;
|
|
14621
|
-
})
|
|
14349
|
+
}));
|
|
14622
14350
|
|
|
14623
14351
|
//#endregion
|
|
14624
14352
|
//#region ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/quote.js
|
|
14625
|
-
var require_quote = /* @__PURE__ */
|
|
14353
|
+
var require_quote = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14626
14354
|
module.exports = function quote(xs) {
|
|
14627
14355
|
return xs.map(function(s) {
|
|
14628
14356
|
if (s === "") return "''";
|
|
@@ -14632,11 +14360,11 @@ var require_quote = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shell
|
|
|
14632
14360
|
return String(s).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g, "$1\\$2");
|
|
14633
14361
|
}).join(" ");
|
|
14634
14362
|
};
|
|
14635
|
-
})
|
|
14363
|
+
}));
|
|
14636
14364
|
|
|
14637
14365
|
//#endregion
|
|
14638
14366
|
//#region ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/parse.js
|
|
14639
|
-
var require_parse$1 = /* @__PURE__ */
|
|
14367
|
+
var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14640
14368
|
var CONTROL = "(?:" + [
|
|
14641
14369
|
"\\|\\|",
|
|
14642
14370
|
"\\&\\&",
|
|
@@ -14772,18 +14500,18 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/she
|
|
|
14772
14500
|
}));
|
|
14773
14501
|
}, []);
|
|
14774
14502
|
};
|
|
14775
|
-
})
|
|
14503
|
+
}));
|
|
14776
14504
|
|
|
14777
14505
|
//#endregion
|
|
14778
14506
|
//#region ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/index.js
|
|
14779
|
-
var require_shell_quote = /* @__PURE__ */
|
|
14507
|
+
var require_shell_quote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14780
14508
|
exports.quote = require_quote();
|
|
14781
14509
|
exports.parse = require_parse$1();
|
|
14782
|
-
})
|
|
14510
|
+
}));
|
|
14783
14511
|
|
|
14784
14512
|
//#endregion
|
|
14785
14513
|
//#region ../../node_modules/.pnpm/launch-editor@2.12.0/node_modules/launch-editor/editor-info/macos.js
|
|
14786
|
-
var require_macos = /* @__PURE__ */
|
|
14514
|
+
var require_macos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14787
14515
|
module.exports = {
|
|
14788
14516
|
"/Applications/Atom.app/Contents/MacOS/Atom": "atom",
|
|
14789
14517
|
"/Applications/Atom Beta.app/Contents/MacOS/Atom Beta": "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta",
|
|
@@ -14812,11 +14540,11 @@ var require_macos = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/launc
|
|
|
14812
14540
|
"/Applications/Rider.app/Contents/MacOS/rider": "/Applications/Rider.app/Contents/MacOS/rider",
|
|
14813
14541
|
"/Applications/Zed.app/Contents/MacOS/zed": "zed"
|
|
14814
14542
|
};
|
|
14815
|
-
})
|
|
14543
|
+
}));
|
|
14816
14544
|
|
|
14817
14545
|
//#endregion
|
|
14818
14546
|
//#region ../../node_modules/.pnpm/launch-editor@2.12.0/node_modules/launch-editor/editor-info/linux.js
|
|
14819
|
-
var require_linux = /* @__PURE__ */
|
|
14547
|
+
var require_linux = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14820
14548
|
module.exports = {
|
|
14821
14549
|
atom: "atom",
|
|
14822
14550
|
Brackets: "brackets",
|
|
@@ -14846,11 +14574,11 @@ var require_linux = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/launc
|
|
|
14846
14574
|
"rider.sh": "rider",
|
|
14847
14575
|
zed: "zed"
|
|
14848
14576
|
};
|
|
14849
|
-
})
|
|
14577
|
+
}));
|
|
14850
14578
|
|
|
14851
14579
|
//#endregion
|
|
14852
14580
|
//#region ../../node_modules/.pnpm/launch-editor@2.12.0/node_modules/launch-editor/editor-info/windows.js
|
|
14853
|
-
var require_windows$1 = /* @__PURE__ */
|
|
14581
|
+
var require_windows$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14854
14582
|
module.exports = [
|
|
14855
14583
|
"Brackets.exe",
|
|
14856
14584
|
"Code.exe",
|
|
@@ -14878,11 +14606,11 @@ var require_windows$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/l
|
|
|
14878
14606
|
"rider64.exe",
|
|
14879
14607
|
"trae.exe"
|
|
14880
14608
|
];
|
|
14881
|
-
})
|
|
14609
|
+
}));
|
|
14882
14610
|
|
|
14883
14611
|
//#endregion
|
|
14884
14612
|
//#region ../../node_modules/.pnpm/launch-editor@2.12.0/node_modules/launch-editor/guess.js
|
|
14885
|
-
var require_guess = /* @__PURE__ */
|
|
14613
|
+
var require_guess = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14886
14614
|
const path$8 = __require("path");
|
|
14887
14615
|
const shellQuote = require_shell_quote();
|
|
14888
14616
|
const childProcess$2 = __require("child_process");
|
|
@@ -14940,11 +14668,11 @@ var require_guess = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/launc
|
|
|
14940
14668
|
else if (process.env.EDITOR) return [process.env.EDITOR];
|
|
14941
14669
|
return [null];
|
|
14942
14670
|
};
|
|
14943
|
-
})
|
|
14671
|
+
}));
|
|
14944
14672
|
|
|
14945
14673
|
//#endregion
|
|
14946
14674
|
//#region ../../node_modules/.pnpm/launch-editor@2.12.0/node_modules/launch-editor/get-args.js
|
|
14947
|
-
var require_get_args = /* @__PURE__ */
|
|
14675
|
+
var require_get_args = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14948
14676
|
const path$7 = __require("path");
|
|
14949
14677
|
module.exports = function getArgumentsForPosition$1(editor, fileName, lineNumber, columnNumber = 1) {
|
|
14950
14678
|
switch (path$7.basename(editor).replace(/\.(exe|cmd|bat)$/i, "")) {
|
|
@@ -15019,11 +14747,11 @@ var require_get_args = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/la
|
|
|
15019
14747
|
];
|
|
15020
14748
|
return [fileName];
|
|
15021
14749
|
};
|
|
15022
|
-
})
|
|
14750
|
+
}));
|
|
15023
14751
|
|
|
15024
14752
|
//#endregion
|
|
15025
14753
|
//#region ../../node_modules/.pnpm/launch-editor@2.12.0/node_modules/launch-editor/index.js
|
|
15026
|
-
var require_launch_editor = /* @__PURE__ */
|
|
14754
|
+
var require_launch_editor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15027
14755
|
/**
|
|
15028
14756
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
15029
14757
|
*
|
|
@@ -15119,11 +14847,11 @@ var require_launch_editor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
15119
14847
|
});
|
|
15120
14848
|
}
|
|
15121
14849
|
module.exports = launchEditor;
|
|
15122
|
-
})
|
|
14850
|
+
}));
|
|
15123
14851
|
|
|
15124
14852
|
//#endregion
|
|
15125
14853
|
//#region ../../node_modules/.pnpm/launch-editor-middleware@2.12.0/node_modules/launch-editor-middleware/index.js
|
|
15126
|
-
var require_launch_editor_middleware = /* @__PURE__ */
|
|
14854
|
+
var require_launch_editor_middleware = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15127
14855
|
const path$5 = __require("path");
|
|
15128
14856
|
const launch = require_launch_editor();
|
|
15129
14857
|
module.exports = (specifiedEditor, srcRoot, onErrorCallback) => {
|
|
@@ -15156,7 +14884,7 @@ var require_launch_editor_middleware = /* @__PURE__ */ __commonJS({ "../../node_
|
|
|
15156
14884
|
}
|
|
15157
14885
|
};
|
|
15158
14886
|
};
|
|
15159
|
-
})
|
|
14887
|
+
}));
|
|
15160
14888
|
|
|
15161
14889
|
//#endregion
|
|
15162
14890
|
//#region src/node/http.ts
|
|
@@ -15714,8 +15442,8 @@ async function ssrTransformScript(code, inMap, url$3, originalCode) {
|
|
|
15714
15442
|
if (node.type === "ExportNamedDeclaration") if (node.declaration) {
|
|
15715
15443
|
if (node.declaration.type === "FunctionDeclaration" || node.declaration.type === "ClassDeclaration") defineExport(node.declaration.id.name);
|
|
15716
15444
|
else for (const declaration of node.declaration.declarations) {
|
|
15717
|
-
const names
|
|
15718
|
-
for (const name of names
|
|
15445
|
+
const names = extract_names(declaration.id);
|
|
15446
|
+
for (const name of names) defineExport(name);
|
|
15719
15447
|
}
|
|
15720
15448
|
s.remove(node.start, node.declaration.start);
|
|
15721
15449
|
} else if (node.source) {
|
|
@@ -16349,7 +16077,7 @@ var open_default = open;
|
|
|
16349
16077
|
|
|
16350
16078
|
//#endregion
|
|
16351
16079
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
16352
|
-
var require_windows = /* @__PURE__ */
|
|
16080
|
+
var require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16353
16081
|
module.exports = isexe$3;
|
|
16354
16082
|
isexe$3.sync = sync$2;
|
|
16355
16083
|
var fs$4 = __require("fs");
|
|
@@ -16376,11 +16104,11 @@ var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ise
|
|
|
16376
16104
|
function sync$2(path$13, options$1) {
|
|
16377
16105
|
return checkStat$1(fs$4.statSync(path$13), path$13, options$1);
|
|
16378
16106
|
}
|
|
16379
|
-
})
|
|
16107
|
+
}));
|
|
16380
16108
|
|
|
16381
16109
|
//#endregion
|
|
16382
16110
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
16383
|
-
var require_mode = /* @__PURE__ */
|
|
16111
|
+
var require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16384
16112
|
module.exports = isexe$2;
|
|
16385
16113
|
isexe$2.sync = sync$1;
|
|
16386
16114
|
var fs$3 = __require("fs");
|
|
@@ -16407,11 +16135,11 @@ var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@
|
|
|
16407
16135
|
var ug = u | g;
|
|
16408
16136
|
return mod & o$1 || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
|
|
16409
16137
|
}
|
|
16410
|
-
})
|
|
16138
|
+
}));
|
|
16411
16139
|
|
|
16412
16140
|
//#endregion
|
|
16413
16141
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
16414
|
-
var require_isexe = /* @__PURE__ */
|
|
16142
|
+
var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16415
16143
|
__require("fs");
|
|
16416
16144
|
var core;
|
|
16417
16145
|
if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
|
|
@@ -16450,11 +16178,11 @@ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe
|
|
|
16450
16178
|
else throw er;
|
|
16451
16179
|
}
|
|
16452
16180
|
}
|
|
16453
|
-
})
|
|
16181
|
+
}));
|
|
16454
16182
|
|
|
16455
16183
|
//#endregion
|
|
16456
16184
|
//#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
16457
|
-
var require_which = /* @__PURE__ */
|
|
16185
|
+
var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16458
16186
|
const isWindows$1 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
16459
16187
|
const path$4 = __require("path");
|
|
16460
16188
|
const COLON = isWindows$1 ? ";" : ":";
|
|
@@ -16523,11 +16251,11 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
|
|
|
16523
16251
|
};
|
|
16524
16252
|
module.exports = which$1;
|
|
16525
16253
|
which$1.sync = whichSync;
|
|
16526
|
-
})
|
|
16254
|
+
}));
|
|
16527
16255
|
|
|
16528
16256
|
//#endregion
|
|
16529
16257
|
//#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
16530
|
-
var require_path_key = /* @__PURE__ */
|
|
16258
|
+
var require_path_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16531
16259
|
const pathKey = (options$1 = {}) => {
|
|
16532
16260
|
const environment = options$1.env || process.env;
|
|
16533
16261
|
if ((options$1.platform || process.platform) !== "win32") return "PATH";
|
|
@@ -16535,11 +16263,11 @@ var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pa
|
|
|
16535
16263
|
};
|
|
16536
16264
|
module.exports = pathKey;
|
|
16537
16265
|
module.exports.default = pathKey;
|
|
16538
|
-
})
|
|
16266
|
+
}));
|
|
16539
16267
|
|
|
16540
16268
|
//#endregion
|
|
16541
16269
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
16542
|
-
var require_resolveCommand = /* @__PURE__ */
|
|
16270
|
+
var require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16543
16271
|
const path$3 = __require("path");
|
|
16544
16272
|
const which = require_which();
|
|
16545
16273
|
const getPathKey = require_path_key();
|
|
@@ -16567,11 +16295,11 @@ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
16567
16295
|
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
|
|
16568
16296
|
}
|
|
16569
16297
|
module.exports = resolveCommand$1;
|
|
16570
|
-
})
|
|
16298
|
+
}));
|
|
16571
16299
|
|
|
16572
16300
|
//#endregion
|
|
16573
16301
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
16574
|
-
var require_escape = /* @__PURE__ */
|
|
16302
|
+
var require_escape = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16575
16303
|
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
16576
16304
|
function escapeCommand(arg) {
|
|
16577
16305
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
@@ -16588,17 +16316,17 @@ var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
|
|
|
16588
16316
|
}
|
|
16589
16317
|
module.exports.command = escapeCommand;
|
|
16590
16318
|
module.exports.argument = escapeArgument;
|
|
16591
|
-
})
|
|
16319
|
+
}));
|
|
16592
16320
|
|
|
16593
16321
|
//#endregion
|
|
16594
16322
|
//#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
16595
|
-
var require_shebang_regex = /* @__PURE__ */
|
|
16323
|
+
var require_shebang_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16596
16324
|
module.exports = /^#!(.*)/;
|
|
16597
|
-
})
|
|
16325
|
+
}));
|
|
16598
16326
|
|
|
16599
16327
|
//#endregion
|
|
16600
16328
|
//#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
16601
|
-
var require_shebang_command = /* @__PURE__ */
|
|
16329
|
+
var require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16602
16330
|
const shebangRegex = require_shebang_regex();
|
|
16603
16331
|
module.exports = (string = "") => {
|
|
16604
16332
|
const match = string.match(shebangRegex);
|
|
@@ -16608,11 +16336,11 @@ var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
16608
16336
|
if (binary === "env") return argument;
|
|
16609
16337
|
return argument ? `${binary} ${argument}` : binary;
|
|
16610
16338
|
};
|
|
16611
|
-
})
|
|
16339
|
+
}));
|
|
16612
16340
|
|
|
16613
16341
|
//#endregion
|
|
16614
16342
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
16615
|
-
var require_readShebang = /* @__PURE__ */
|
|
16343
|
+
var require_readShebang = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16616
16344
|
const fs$2 = __require("fs");
|
|
16617
16345
|
const shebangCommand = require_shebang_command();
|
|
16618
16346
|
function readShebang$1(command) {
|
|
@@ -16627,11 +16355,11 @@ var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
16627
16355
|
return shebangCommand(buffer.toString());
|
|
16628
16356
|
}
|
|
16629
16357
|
module.exports = readShebang$1;
|
|
16630
|
-
})
|
|
16358
|
+
}));
|
|
16631
16359
|
|
|
16632
16360
|
//#endregion
|
|
16633
16361
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
16634
|
-
var require_parse = /* @__PURE__ */
|
|
16362
|
+
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16635
16363
|
const path$2 = __require("path");
|
|
16636
16364
|
const resolveCommand = require_resolveCommand();
|
|
16637
16365
|
const escape$1 = require_escape();
|
|
@@ -16689,11 +16417,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
|
|
|
16689
16417
|
return options$1.shell ? parsed : parseNonShell(parsed);
|
|
16690
16418
|
}
|
|
16691
16419
|
module.exports = parse$6;
|
|
16692
|
-
})
|
|
16420
|
+
}));
|
|
16693
16421
|
|
|
16694
16422
|
//#endregion
|
|
16695
16423
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
16696
|
-
var require_enoent = /* @__PURE__ */
|
|
16424
|
+
var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16697
16425
|
const isWin = process.platform === "win32";
|
|
16698
16426
|
function notFoundError(original, syscall) {
|
|
16699
16427
|
return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
|
|
@@ -16729,11 +16457,11 @@ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
|
|
|
16729
16457
|
verifyENOENTSync,
|
|
16730
16458
|
notFoundError
|
|
16731
16459
|
};
|
|
16732
|
-
})
|
|
16460
|
+
}));
|
|
16733
16461
|
|
|
16734
16462
|
//#endregion
|
|
16735
16463
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
16736
|
-
var require_cross_spawn = /* @__PURE__ */
|
|
16464
|
+
var require_cross_spawn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16737
16465
|
const cp = __require("child_process");
|
|
16738
16466
|
const parse$5 = require_parse();
|
|
16739
16467
|
const enoent = require_enoent();
|
|
@@ -16754,7 +16482,7 @@ var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
16754
16482
|
module.exports.sync = spawnSync;
|
|
16755
16483
|
module.exports._parse = parse$5;
|
|
16756
16484
|
module.exports._enoent = enoent;
|
|
16757
|
-
})
|
|
16485
|
+
}));
|
|
16758
16486
|
|
|
16759
16487
|
//#endregion
|
|
16760
16488
|
//#region src/node/server/openBrowser.ts
|
|
@@ -16837,8 +16565,8 @@ function execAsync(command, options$1) {
|
|
|
16837
16565
|
//#endregion
|
|
16838
16566
|
//#region src/node/shortcuts.ts
|
|
16839
16567
|
var import_picocolors$23 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
16840
|
-
function bindCLIShortcuts(server, opts, enabled
|
|
16841
|
-
if (!server.httpServer || !enabled
|
|
16568
|
+
function bindCLIShortcuts(server, opts, enabled = process.stdin.isTTY && !process.env.CI) {
|
|
16569
|
+
if (!server.httpServer || !enabled) return;
|
|
16842
16570
|
const isDev = isDevServer(server);
|
|
16843
16571
|
const customShortcuts = opts?.customShortcuts ?? [];
|
|
16844
16572
|
for (const shortcut of server._shortcutsOptions?.customShortcuts ?? []) if (!customShortcuts.some((s) => s.key === shortcut.key)) customShortcuts.push(shortcut);
|
|
@@ -16998,7 +16726,7 @@ function createNoopWatcher(options$1) {
|
|
|
16998
16726
|
|
|
16999
16727
|
//#endregion
|
|
17000
16728
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/constants.js
|
|
17001
|
-
var require_constants = /* @__PURE__ */
|
|
16729
|
+
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17002
16730
|
const BINARY_TYPES$2 = [
|
|
17003
16731
|
"nodebuffer",
|
|
17004
16732
|
"arraybuffer",
|
|
@@ -17017,11 +16745,11 @@ var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/w
|
|
|
17017
16745
|
kWebSocket: Symbol("websocket"),
|
|
17018
16746
|
NOOP: () => {}
|
|
17019
16747
|
};
|
|
17020
|
-
})
|
|
16748
|
+
}));
|
|
17021
16749
|
|
|
17022
16750
|
//#endregion
|
|
17023
16751
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/buffer-util.js
|
|
17024
|
-
var require_buffer_util = /* @__PURE__ */
|
|
16752
|
+
var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17025
16753
|
const { EMPTY_BUFFER: EMPTY_BUFFER$3 } = require_constants();
|
|
17026
16754
|
const FastBuffer$2 = Buffer[Symbol.species];
|
|
17027
16755
|
/**
|
|
@@ -17118,11 +16846,11 @@ var require_buffer_util = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
17118
16846
|
else bufferUtil$1.unmask(buffer, mask);
|
|
17119
16847
|
};
|
|
17120
16848
|
} catch (e$1) {}
|
|
17121
|
-
})
|
|
16849
|
+
}));
|
|
17122
16850
|
|
|
17123
16851
|
//#endregion
|
|
17124
16852
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/limiter.js
|
|
17125
|
-
var require_limiter = /* @__PURE__ */
|
|
16853
|
+
var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17126
16854
|
const kDone = Symbol("kDone");
|
|
17127
16855
|
const kRun = Symbol("kRun");
|
|
17128
16856
|
/**
|
|
@@ -17170,11 +16898,11 @@ var require_limiter = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ws@
|
|
|
17170
16898
|
}
|
|
17171
16899
|
};
|
|
17172
16900
|
module.exports = Limiter$1;
|
|
17173
|
-
})
|
|
16901
|
+
}));
|
|
17174
16902
|
|
|
17175
16903
|
//#endregion
|
|
17176
16904
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/permessage-deflate.js
|
|
17177
|
-
var require_permessage_deflate = /* @__PURE__ */
|
|
16905
|
+
var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17178
16906
|
const zlib$1 = __require("zlib");
|
|
17179
16907
|
const bufferUtil = require_buffer_util();
|
|
17180
16908
|
const Limiter = require_limiter();
|
|
@@ -17504,11 +17232,11 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
17504
17232
|
err$2[kStatusCode$2] = 1007;
|
|
17505
17233
|
this[kCallback](err$2);
|
|
17506
17234
|
}
|
|
17507
|
-
})
|
|
17235
|
+
}));
|
|
17508
17236
|
|
|
17509
17237
|
//#endregion
|
|
17510
17238
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/validation.js
|
|
17511
|
-
var require_validation = /* @__PURE__ */
|
|
17239
|
+
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17512
17240
|
const { isUtf8 } = __require("buffer");
|
|
17513
17241
|
const { hasBlob } = require_constants();
|
|
17514
17242
|
const tokenChars$2 = [
|
|
@@ -17701,11 +17429,11 @@ var require_validation = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17701
17429
|
return buf.length < 32 ? _isValidUTF8(buf) : isValidUTF8$1(buf);
|
|
17702
17430
|
};
|
|
17703
17431
|
} catch (e$1) {}
|
|
17704
|
-
})
|
|
17432
|
+
}));
|
|
17705
17433
|
|
|
17706
17434
|
//#endregion
|
|
17707
17435
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/receiver.js
|
|
17708
|
-
var require_receiver = /* @__PURE__ */
|
|
17436
|
+
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17709
17437
|
const { Writable: Writable$1 } = __require("stream");
|
|
17710
17438
|
const PerMessageDeflate$3 = require_permessage_deflate();
|
|
17711
17439
|
const { BINARY_TYPES: BINARY_TYPES$1, EMPTY_BUFFER: EMPTY_BUFFER$2, kStatusCode: kStatusCode$1, kWebSocket: kWebSocket$3 } = require_constants();
|
|
@@ -18149,11 +17877,11 @@ var require_receiver = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ws
|
|
|
18149
17877
|
}
|
|
18150
17878
|
};
|
|
18151
17879
|
module.exports = Receiver$2;
|
|
18152
|
-
})
|
|
17880
|
+
}));
|
|
18153
17881
|
|
|
18154
17882
|
//#endregion
|
|
18155
17883
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/sender.js
|
|
18156
|
-
var require_sender = /* @__PURE__ */
|
|
17884
|
+
var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18157
17885
|
const { Duplex: Duplex$3 } = __require("stream");
|
|
18158
17886
|
const { randomFillSync } = __require("crypto");
|
|
18159
17887
|
const PerMessageDeflate$2 = require_permessage_deflate();
|
|
@@ -18645,11 +18373,11 @@ var require_sender = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ws@8
|
|
|
18645
18373
|
callCallbacks(sender, err$2, cb);
|
|
18646
18374
|
sender.onerror(err$2);
|
|
18647
18375
|
}
|
|
18648
|
-
})
|
|
18376
|
+
}));
|
|
18649
18377
|
|
|
18650
18378
|
//#endregion
|
|
18651
18379
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/event-target.js
|
|
18652
|
-
var require_event_target = /* @__PURE__ */
|
|
18380
|
+
var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18653
18381
|
const { kForOnEventAttribute: kForOnEventAttribute$1, kListener: kListener$1 } = require_constants();
|
|
18654
18382
|
const kCode = Symbol("kCode");
|
|
18655
18383
|
const kData = Symbol("kData");
|
|
@@ -18865,11 +18593,11 @@ var require_event_target = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
18865
18593
|
if (typeof listener$1 === "object" && listener$1.handleEvent) listener$1.handleEvent.call(listener$1, event);
|
|
18866
18594
|
else listener$1.call(thisArg, event);
|
|
18867
18595
|
}
|
|
18868
|
-
})
|
|
18596
|
+
}));
|
|
18869
18597
|
|
|
18870
18598
|
//#endregion
|
|
18871
18599
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/extension.js
|
|
18872
|
-
var require_extension = /* @__PURE__ */
|
|
18600
|
+
var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18873
18601
|
const { tokenChars: tokenChars$1 } = require_validation();
|
|
18874
18602
|
/**
|
|
18875
18603
|
* Adds an offer to the map of extension offers or a parameter to the map of
|
|
@@ -19009,11 +18737,11 @@ var require_extension = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/w
|
|
|
19009
18737
|
format: format$2,
|
|
19010
18738
|
parse: parse$4
|
|
19011
18739
|
};
|
|
19012
|
-
})
|
|
18740
|
+
}));
|
|
19013
18741
|
|
|
19014
18742
|
//#endregion
|
|
19015
18743
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/websocket.js
|
|
19016
|
-
var require_websocket = /* @__PURE__ */
|
|
18744
|
+
var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
19017
18745
|
const EventEmitter$2 = __require("events");
|
|
19018
18746
|
const https$3 = __require("https");
|
|
19019
18747
|
const http$5 = __require("http");
|
|
@@ -19975,11 +19703,11 @@ var require_websocket = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/w
|
|
|
19975
19703
|
this.destroy();
|
|
19976
19704
|
}
|
|
19977
19705
|
}
|
|
19978
|
-
})
|
|
19706
|
+
}));
|
|
19979
19707
|
|
|
19980
19708
|
//#endregion
|
|
19981
19709
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/stream.js
|
|
19982
|
-
var require_stream = /* @__PURE__ */
|
|
19710
|
+
var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
19983
19711
|
require_websocket();
|
|
19984
19712
|
const { Duplex: Duplex$1 } = __require("stream");
|
|
19985
19713
|
/**
|
|
@@ -20092,11 +19820,11 @@ var require_stream = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ws@8
|
|
|
20092
19820
|
return duplex;
|
|
20093
19821
|
}
|
|
20094
19822
|
module.exports = createWebSocketStream$1;
|
|
20095
|
-
})
|
|
19823
|
+
}));
|
|
20096
19824
|
|
|
20097
19825
|
//#endregion
|
|
20098
19826
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/subprotocol.js
|
|
20099
|
-
var require_subprotocol = /* @__PURE__ */
|
|
19827
|
+
var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
20100
19828
|
const { tokenChars } = require_validation();
|
|
20101
19829
|
/**
|
|
20102
19830
|
* Parses the `Sec-WebSocket-Protocol` header into a set of subprotocol names.
|
|
@@ -20132,11 +19860,11 @@ var require_subprotocol = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
20132
19860
|
return protocols;
|
|
20133
19861
|
}
|
|
20134
19862
|
module.exports = { parse: parse$2 };
|
|
20135
|
-
})
|
|
19863
|
+
}));
|
|
20136
19864
|
|
|
20137
19865
|
//#endregion
|
|
20138
19866
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/lib/websocket-server.js
|
|
20139
|
-
var require_websocket_server = /* @__PURE__ */
|
|
19867
|
+
var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
20140
19868
|
const EventEmitter$1 = __require("events");
|
|
20141
19869
|
const http$4 = __require("http");
|
|
20142
19870
|
const { Duplex } = __require("stream");
|
|
@@ -20503,7 +20231,7 @@ var require_websocket_server = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
20503
20231
|
server.emit("wsClientError", err$2, socket, req$4);
|
|
20504
20232
|
} else abortHandshake(socket, code, message, headers);
|
|
20505
20233
|
}
|
|
20506
|
-
})
|
|
20234
|
+
}));
|
|
20507
20235
|
|
|
20508
20236
|
//#endregion
|
|
20509
20237
|
//#region ../../node_modules/.pnpm/ws@8.18.3/node_modules/ws/wrapper.mjs
|
|
@@ -20846,8 +20574,8 @@ function baseMiddleware(rawBase, middlewareMode) {
|
|
|
20846
20574
|
}
|
|
20847
20575
|
|
|
20848
20576
|
//#endregion
|
|
20849
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.
|
|
20850
|
-
var require_common = /* @__PURE__ */
|
|
20577
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/node_modules/http-proxy-3/dist/lib/http-proxy/common.js
|
|
20578
|
+
var require_common = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20851
20579
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20852
20580
|
exports.isSSL = void 0;
|
|
20853
20581
|
exports.setupOutgoing = setupOutgoing;
|
|
@@ -20884,6 +20612,7 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http
|
|
|
20884
20612
|
]) outgoing[e$1] = target[e$1];
|
|
20885
20613
|
outgoing.method = options$1.method || req$4.method;
|
|
20886
20614
|
outgoing.headers = { ...req$4.headers };
|
|
20615
|
+
if (req$4.headers[":authority"]) outgoing.headers.host = req$4.headers[":authority"];
|
|
20887
20616
|
if (options$1.headers) outgoing.headers = {
|
|
20888
20617
|
...outgoing.headers,
|
|
20889
20618
|
...options$1.headers
|
|
@@ -20919,7 +20648,8 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http
|
|
|
20919
20648
|
return socket;
|
|
20920
20649
|
}
|
|
20921
20650
|
function getPort(req$4) {
|
|
20922
|
-
const
|
|
20651
|
+
const hostHeader = req$4.headers[":authority"] || req$4.headers.host;
|
|
20652
|
+
const res = hostHeader ? hostHeader.match(/:(\d+)/) : "";
|
|
20923
20653
|
return res ? res[1] : hasEncryptedConnection(req$4) ? "443" : "80";
|
|
20924
20654
|
}
|
|
20925
20655
|
function hasEncryptedConnection(req$4) {
|
|
@@ -20988,11 +20718,11 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http
|
|
|
20988
20718
|
}
|
|
20989
20719
|
return port !== 0;
|
|
20990
20720
|
}
|
|
20991
|
-
})
|
|
20721
|
+
}));
|
|
20992
20722
|
|
|
20993
20723
|
//#endregion
|
|
20994
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.
|
|
20995
|
-
var require_web_outgoing = /* @__PURE__ */
|
|
20724
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js
|
|
20725
|
+
var require_web_outgoing = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
20996
20726
|
var __createBinding$3 = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
|
|
20997
20727
|
if (k2 === void 0) k2 = k;
|
|
20998
20728
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -21058,7 +20788,7 @@ var require_web_outgoing = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
21058
20788
|
const u = common$2.toURL(location$1);
|
|
21059
20789
|
if (target.host != u.host) return;
|
|
21060
20790
|
if (options$1.hostRewrite) u.host = options$1.hostRewrite;
|
|
21061
|
-
else if (options$1.autoRewrite) u.host = req$4.headers["host"] ?? "";
|
|
20791
|
+
else if (options$1.autoRewrite) u.host = req$4.headers[":authority"] ?? req$4.headers["host"] ?? "";
|
|
21062
20792
|
if (options$1.protocolRewrite) u.protocol = options$1.protocolRewrite;
|
|
21063
20793
|
proxyRes.headers["location"] = u.toString();
|
|
21064
20794
|
}
|
|
@@ -21100,11 +20830,11 @@ var require_web_outgoing = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
21100
20830
|
writeHeaders,
|
|
21101
20831
|
writeStatusCode
|
|
21102
20832
|
};
|
|
21103
|
-
})
|
|
20833
|
+
}));
|
|
21104
20834
|
|
|
21105
20835
|
//#endregion
|
|
21106
|
-
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_obug@2.1.
|
|
21107
|
-
var require_debug = /* @__PURE__ */
|
|
20836
|
+
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_obug@1.0.2_ms@2.1.3_/node_modules/follow-redirects/debug.js
|
|
20837
|
+
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
21108
20838
|
var debug$11;
|
|
21109
20839
|
module.exports = function() {
|
|
21110
20840
|
if (!debug$11) {
|
|
@@ -21115,11 +20845,11 @@ var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/follo
|
|
|
21115
20845
|
}
|
|
21116
20846
|
debug$11.apply(null, arguments);
|
|
21117
20847
|
};
|
|
21118
|
-
})
|
|
20848
|
+
}));
|
|
21119
20849
|
|
|
21120
20850
|
//#endregion
|
|
21121
|
-
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_obug@2.1.
|
|
21122
|
-
var require_follow_redirects = /* @__PURE__ */
|
|
20851
|
+
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_obug@1.0.2_ms@2.1.3_/node_modules/follow-redirects/index.js
|
|
20852
|
+
var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
21123
20853
|
var url = __require("url");
|
|
21124
20854
|
var URL$2 = url.URL;
|
|
21125
20855
|
var http$3 = __require("http");
|
|
@@ -21546,11 +21276,11 @@ var require_follow_redirects = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
21546
21276
|
https: https$2
|
|
21547
21277
|
});
|
|
21548
21278
|
module.exports.wrap = wrap;
|
|
21549
|
-
})
|
|
21279
|
+
}));
|
|
21550
21280
|
|
|
21551
21281
|
//#endregion
|
|
21552
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.
|
|
21553
|
-
var require_web_incoming = /* @__PURE__ */
|
|
21282
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js
|
|
21283
|
+
var require_web_incoming = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21554
21284
|
var __createBinding$2 = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
|
|
21555
21285
|
if (k2 === void 0) k2 = k;
|
|
21556
21286
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -21630,7 +21360,7 @@ var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
21630
21360
|
"port",
|
|
21631
21361
|
"proto"
|
|
21632
21362
|
]) req$4.headers["x-forwarded-" + header] = (req$4.headers["x-forwarded-" + header] || "") + (req$4.headers["x-forwarded-" + header] ? "," : "") + values[header];
|
|
21633
|
-
req$4.headers["x-forwarded-host"] = req$4.headers["x-forwarded-host"] || req$4.headers["host"] || "";
|
|
21363
|
+
req$4.headers["x-forwarded-host"] = req$4.headers["x-forwarded-host"] || req$4.headers[":authority"] || req$4.headers["host"] || "";
|
|
21634
21364
|
}
|
|
21635
21365
|
function stream$1(req$4, res, options$1, _, server, cb) {
|
|
21636
21366
|
server.emit("start", req$4, res, options$1.target || options$1.forward);
|
|
@@ -21691,11 +21421,11 @@ var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
21691
21421
|
XHeaders: XHeaders$1,
|
|
21692
21422
|
stream: stream$1
|
|
21693
21423
|
};
|
|
21694
|
-
})
|
|
21424
|
+
}));
|
|
21695
21425
|
|
|
21696
21426
|
//#endregion
|
|
21697
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.
|
|
21698
|
-
var require_ws_incoming = /* @__PURE__ */
|
|
21427
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js
|
|
21428
|
+
var require_ws_incoming = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21699
21429
|
var __createBinding$1 = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
|
|
21700
21430
|
if (k2 === void 0) k2 = k;
|
|
21701
21431
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -21901,11 +21631,11 @@ var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
21901
21631
|
XHeaders,
|
|
21902
21632
|
stream
|
|
21903
21633
|
};
|
|
21904
|
-
})
|
|
21634
|
+
}));
|
|
21905
21635
|
|
|
21906
21636
|
//#endregion
|
|
21907
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.
|
|
21908
|
-
var require_http_proxy = /* @__PURE__ */
|
|
21637
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/node_modules/http-proxy-3/dist/lib/http-proxy/index.js
|
|
21638
|
+
var require_http_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21909
21639
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o$1, m, k, k2) {
|
|
21910
21640
|
if (k2 === void 0) k2 = k;
|
|
21911
21641
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -22112,11 +21842,11 @@ var require_http_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22112
21842
|
}
|
|
22113
21843
|
};
|
|
22114
21844
|
exports.ProxyServer = ProxyServer;
|
|
22115
|
-
})
|
|
21845
|
+
}));
|
|
22116
21846
|
|
|
22117
21847
|
//#endregion
|
|
22118
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.
|
|
22119
|
-
var require_lib = /* @__PURE__ */
|
|
21848
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/node_modules/http-proxy-3/dist/lib/index.js
|
|
21849
|
+
var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
22120
21850
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22121
21851
|
exports.numOpenSockets = exports.ProxyServer = void 0;
|
|
22122
21852
|
exports.createProxyServer = createProxyServer;
|
|
@@ -22151,7 +21881,7 @@ var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-pr
|
|
|
22151
21881
|
function createProxyServer(options$1 = {}) {
|
|
22152
21882
|
return new index_1.ProxyServer(options$1);
|
|
22153
21883
|
}
|
|
22154
|
-
})
|
|
21884
|
+
}));
|
|
22155
21885
|
|
|
22156
21886
|
//#endregion
|
|
22157
21887
|
//#region src/node/server/middlewares/proxy.ts
|
|
@@ -22325,7 +22055,7 @@ function htmlFallbackMiddleware(root, spaFallback) {
|
|
|
22325
22055
|
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|
22326
22056
|
* MIT Licensed
|
|
22327
22057
|
*/
|
|
22328
|
-
var require_etag = /* @__PURE__ */
|
|
22058
|
+
var require_etag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
22329
22059
|
/**
|
|
22330
22060
|
* Module exports.
|
|
22331
22061
|
* @public
|
|
@@ -22393,7 +22123,7 @@ var require_etag = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/etag@1
|
|
|
22393
22123
|
var mtime = stat$4.mtime.getTime().toString(16);
|
|
22394
22124
|
return "\"" + stat$4.size.toString(16) + "-" + mtime + "\"";
|
|
22395
22125
|
}
|
|
22396
|
-
})
|
|
22126
|
+
}));
|
|
22397
22127
|
|
|
22398
22128
|
//#endregion
|
|
22399
22129
|
//#region src/node/server/send.ts
|
|
@@ -23017,7 +22747,7 @@ async function handleModuleSoftInvalidation(environment, mod, timestamp) {
|
|
|
23017
22747
|
|
|
23018
22748
|
//#endregion
|
|
23019
22749
|
//#region ../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
|
|
23020
|
-
var require_js_tokens = /* @__PURE__ */
|
|
22750
|
+
var require_js_tokens = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
23021
22751
|
var HashbangComment, Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace;
|
|
23022
22752
|
Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
|
|
23023
22753
|
Identifier = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;
|
|
@@ -23392,7 +23122,7 @@ var require_js_tokens = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/j
|
|
|
23392
23122
|
};
|
|
23393
23123
|
}
|
|
23394
23124
|
};
|
|
23395
|
-
})
|
|
23125
|
+
}));
|
|
23396
23126
|
|
|
23397
23127
|
//#endregion
|
|
23398
23128
|
//#region ../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
|
|
@@ -23670,18 +23400,18 @@ function buildImportAnalysisPlugin(config$2) {
|
|
|
23670
23400
|
continue;
|
|
23671
23401
|
}
|
|
23672
23402
|
if (match[3]) {
|
|
23673
|
-
let names$
|
|
23674
|
-
if (names$
|
|
23403
|
+
let names$1 = /\.([^.?]+)/.exec(match[4])?.[1] || "";
|
|
23404
|
+
if (names$1 === "default") names$1 = "default: __vite_default__";
|
|
23675
23405
|
dynamicImports[dynamicImportTreeshakenRE.lastIndex - match[4]?.length - 1] = {
|
|
23676
|
-
declaration: `const {${names$
|
|
23677
|
-
names: `{ ${names$
|
|
23406
|
+
declaration: `const {${names$1}}`,
|
|
23407
|
+
names: `{ ${names$1} }`
|
|
23678
23408
|
};
|
|
23679
23409
|
continue;
|
|
23680
23410
|
}
|
|
23681
|
-
const names
|
|
23411
|
+
const names = match[6]?.trim();
|
|
23682
23412
|
dynamicImports[dynamicImportTreeshakenRE.lastIndex - match[5]?.length] = {
|
|
23683
|
-
declaration: `const {${names
|
|
23684
|
-
names: `{ ${names
|
|
23413
|
+
declaration: `const {${names}}`,
|
|
23414
|
+
names: `{ ${names} }`
|
|
23685
23415
|
};
|
|
23686
23416
|
}
|
|
23687
23417
|
}
|
|
@@ -23694,10 +23424,10 @@ function buildImportAnalysisPlugin(config$2) {
|
|
|
23694
23424
|
if (!isDynamicImport && attributeIndex > -1) str().remove(end + 1, expEnd);
|
|
23695
23425
|
if (isDynamicImport && insertPreload && (source[start] === "\"" || source[start] === "'" || source[start] === "`")) {
|
|
23696
23426
|
needPreloadHelper = true;
|
|
23697
|
-
const { declaration, names
|
|
23698
|
-
if (names
|
|
23427
|
+
const { declaration, names } = dynamicImports[expEnd] || {};
|
|
23428
|
+
if (names) {
|
|
23699
23429
|
str().prependLeft(expStart, `${preloadMethod}(async () => { ${declaration} = await `);
|
|
23700
|
-
str().appendRight(expEnd, `;return ${names
|
|
23430
|
+
str().appendRight(expEnd, `;return ${names}}`);
|
|
23701
23431
|
} else str().prependLeft(expStart, `${preloadMethod}(() => `);
|
|
23702
23432
|
str().appendRight(expEnd, `,${isModernFlag}?${preloadMarker}:void 0${renderBuiltUrl || isRelativeBase ? ",import.meta.url" : ""})`);
|
|
23703
23433
|
}
|
|
@@ -26038,6 +25768,7 @@ async function restartServer(server) {
|
|
|
26038
25768
|
const middlewares = server.middlewares;
|
|
26039
25769
|
newServer._configServerPort = server._configServerPort;
|
|
26040
25770
|
newServer._currentServerPort = server._currentServerPort;
|
|
25771
|
+
newServer._rl = void 0;
|
|
26041
25772
|
Object.assign(server, newServer);
|
|
26042
25773
|
middlewares.stack = newServer.middlewares.stack;
|
|
26043
25774
|
server.middlewares = middlewares;
|
|
@@ -26049,7 +25780,7 @@ async function restartServer(server) {
|
|
|
26049
25780
|
logger.info("server restarted.", { timestamp: true });
|
|
26050
25781
|
if (shortcutsOptions) {
|
|
26051
25782
|
shortcutsOptions.print = false;
|
|
26052
|
-
bindCLIShortcuts(server, shortcutsOptions);
|
|
25783
|
+
bindCLIShortcuts(server, shortcutsOptions, true);
|
|
26053
25784
|
}
|
|
26054
25785
|
}
|
|
26055
25786
|
/**
|
|
@@ -26930,8 +26661,8 @@ async function bundleWorkerEntry(config$2, id) {
|
|
|
26930
26661
|
...rollupOptions,
|
|
26931
26662
|
input,
|
|
26932
26663
|
plugins: workerEnvironment.plugins.map((p) => injectEnvironmentToHooks(workerEnvironment, p)),
|
|
26933
|
-
onLog(level, log$
|
|
26934
|
-
onRollupLog(level, log$
|
|
26664
|
+
onLog(level, log$3) {
|
|
26665
|
+
onRollupLog(level, log$3, workerEnvironment);
|
|
26935
26666
|
},
|
|
26936
26667
|
preserveEntrySignatures: false
|
|
26937
26668
|
});
|
|
@@ -29101,21 +28832,21 @@ var BasicMinimalPluginContext = class {
|
|
|
29101
28832
|
this._logger = _logger;
|
|
29102
28833
|
}
|
|
29103
28834
|
debug(rawLog) {
|
|
29104
|
-
const log$
|
|
29105
|
-
const msg = buildErrorMessage(log$
|
|
28835
|
+
const log$3 = this._normalizeRawLog(rawLog);
|
|
28836
|
+
const msg = buildErrorMessage(log$3, [`debug: ${log$3.message}`], false);
|
|
29106
28837
|
debugPluginContainerContext?.(msg);
|
|
29107
28838
|
}
|
|
29108
28839
|
info(rawLog) {
|
|
29109
|
-
const log$
|
|
29110
|
-
const msg = buildErrorMessage(log$
|
|
28840
|
+
const log$3 = this._normalizeRawLog(rawLog);
|
|
28841
|
+
const msg = buildErrorMessage(log$3, [`info: ${log$3.message}`], false);
|
|
29111
28842
|
this._logger.info(msg, {
|
|
29112
28843
|
clear: true,
|
|
29113
28844
|
timestamp: true
|
|
29114
28845
|
});
|
|
29115
28846
|
}
|
|
29116
28847
|
warn(rawLog) {
|
|
29117
|
-
const log$
|
|
29118
|
-
const msg = buildErrorMessage(log$
|
|
28848
|
+
const log$3 = this._normalizeRawLog(rawLog);
|
|
28849
|
+
const msg = buildErrorMessage(log$3, [import_picocolors$11.default.yellow(`warning: ${log$3.message}`)], false);
|
|
29119
28850
|
this._logger.warn(msg, {
|
|
29120
28851
|
clear: true,
|
|
29121
28852
|
timestamp: true
|
|
@@ -29242,16 +28973,16 @@ var PluginContext = class extends MinimalPluginContext {
|
|
|
29242
28973
|
this._warnIncompatibleMethod(`getFileName`);
|
|
29243
28974
|
return "";
|
|
29244
28975
|
}
|
|
29245
|
-
debug(log$
|
|
29246
|
-
const err$2 = this._formatLog(typeof log$
|
|
28976
|
+
debug(log$3) {
|
|
28977
|
+
const err$2 = this._formatLog(typeof log$3 === "function" ? log$3() : log$3);
|
|
29247
28978
|
super.debug(err$2);
|
|
29248
28979
|
}
|
|
29249
|
-
info(log$
|
|
29250
|
-
const err$2 = this._formatLog(typeof log$
|
|
28980
|
+
info(log$3) {
|
|
28981
|
+
const err$2 = this._formatLog(typeof log$3 === "function" ? log$3() : log$3);
|
|
29251
28982
|
super.info(err$2);
|
|
29252
28983
|
}
|
|
29253
|
-
warn(log$
|
|
29254
|
-
const err$2 = this._formatLog(typeof log$
|
|
28984
|
+
warn(log$3, position) {
|
|
28985
|
+
const err$2 = this._formatLog(typeof log$3 === "function" ? log$3() : log$3, position);
|
|
29255
28986
|
super.warn(err$2);
|
|
29256
28987
|
}
|
|
29257
28988
|
error(e$1, position) {
|
|
@@ -32080,7 +31811,7 @@ function isDepOptimizationDisabled(optimizeDeps$1) {
|
|
|
32080
31811
|
* @deprecated the optimization process runs automatically and does not need to be called
|
|
32081
31812
|
*/
|
|
32082
31813
|
async function optimizeDeps(config$2, force = config$2.optimizeDeps.force, asCommand = false) {
|
|
32083
|
-
const log$
|
|
31814
|
+
const log$3 = asCommand ? config$2.logger.info : debug$3;
|
|
32084
31815
|
config$2.logger.warn(import_picocolors$7.default.yellow("manually calling optimizeDeps is deprecated. This is done automatically and does not need to be called manually."));
|
|
32085
31816
|
const environment = new ScanEnvironment("client", config$2);
|
|
32086
31817
|
await environment.init();
|
|
@@ -32089,7 +31820,7 @@ async function optimizeDeps(config$2, force = config$2.optimizeDeps.force, asCom
|
|
|
32089
31820
|
const deps = await discoverProjectDependencies(environment).result;
|
|
32090
31821
|
await addManuallyIncludedOptimizeDeps(environment, deps);
|
|
32091
31822
|
const depsString = depsLogString(Object.keys(deps));
|
|
32092
|
-
log$
|
|
31823
|
+
log$3?.(import_picocolors$7.default.green(`Optimizing dependencies:\n ${depsString}`));
|
|
32093
31824
|
const result = await runOptimizeDeps(environment, toDiscoveredDependencies(environment, deps)).result;
|
|
32094
31825
|
await result.commit();
|
|
32095
31826
|
return result.metadata;
|
|
@@ -32127,7 +31858,7 @@ let firstLoadCachedDepOptimizationMetadata = true;
|
|
|
32127
31858
|
* if it exists and pre-bundling isn't forced
|
|
32128
31859
|
*/
|
|
32129
31860
|
async function loadCachedDepOptimizationMetadata(environment, force = environment.config.optimizeDeps.force ?? false, asCommand = false) {
|
|
32130
|
-
const log$
|
|
31861
|
+
const log$3 = asCommand ? environment.logger.info : debug$3;
|
|
32131
31862
|
if (firstLoadCachedDepOptimizationMetadata) {
|
|
32132
31863
|
firstLoadCachedDepOptimizationMetadata = false;
|
|
32133
31864
|
setTimeout(() => cleanupDepsCacheStaleDirs(environment.getTopLevelConfig()), 0);
|
|
@@ -32142,7 +31873,7 @@ async function loadCachedDepOptimizationMetadata(environment, force = environmen
|
|
|
32142
31873
|
if (cachedMetadata) if (cachedMetadata.lockfileHash !== getLockfileHash(environment)) environment.logger.info("Re-optimizing dependencies because lockfile has changed", { timestamp: true });
|
|
32143
31874
|
else if (cachedMetadata.configHash !== getConfigHash(environment)) environment.logger.info("Re-optimizing dependencies because vite config has changed", { timestamp: true });
|
|
32144
31875
|
else {
|
|
32145
|
-
log$
|
|
31876
|
+
log$3?.(`(${environment.name}) Hash is consistent. Skipping. Use --force to override.`);
|
|
32146
31877
|
return cachedMetadata;
|
|
32147
31878
|
}
|
|
32148
31879
|
} else environment.logger.info("Forced re-optimization of dependencies", { timestamp: true });
|
|
@@ -33725,8 +33456,8 @@ function resolveRollupOptions(environment) {
|
|
|
33725
33456
|
input,
|
|
33726
33457
|
plugins: plugins$1,
|
|
33727
33458
|
external: options$1.rollupOptions.external,
|
|
33728
|
-
onLog(level, log$
|
|
33729
|
-
onRollupLog(level, log$
|
|
33459
|
+
onLog(level, log$3) {
|
|
33460
|
+
onRollupLog(level, log$3, environment);
|
|
33730
33461
|
}
|
|
33731
33462
|
};
|
|
33732
33463
|
const isSsrTargetWebworkerEnvironment = environment.name === "ssr" && environment.getTopLevelConfig().ssr?.target === "webworker";
|
|
@@ -33887,7 +33618,7 @@ function clearLine() {
|
|
|
33887
33618
|
process.stdout.cursorTo(0);
|
|
33888
33619
|
}
|
|
33889
33620
|
}
|
|
33890
|
-
function onRollupLog(level, log$
|
|
33621
|
+
function onRollupLog(level, log$3, environment) {
|
|
33891
33622
|
const debugLogger = createDebugger("vite:build");
|
|
33892
33623
|
const viteLog = (logLeveling, rawLogging) => {
|
|
33893
33624
|
const logging = typeof rawLogging === "object" ? rawLogging : { message: rawLogging };
|
|
@@ -33921,18 +33652,18 @@ function onRollupLog(level, log$4, environment) {
|
|
|
33921
33652
|
clearLine();
|
|
33922
33653
|
const userOnLog = environment.config.build.rollupOptions?.onLog;
|
|
33923
33654
|
const userOnWarn = environment.config.build.rollupOptions?.onwarn;
|
|
33924
|
-
if (userOnLog) if (userOnWarn) userOnLog(level, log$
|
|
33925
|
-
else userOnLog(level, log$
|
|
33926
|
-
else if (userOnWarn) normalizeUserOnWarn(userOnWarn, viteLog)(level, log$
|
|
33927
|
-
else viteLog(level, log$
|
|
33655
|
+
if (userOnLog) if (userOnWarn) userOnLog(level, log$3, normalizeUserOnWarn(userOnWarn, viteLog));
|
|
33656
|
+
else userOnLog(level, log$3, viteLog);
|
|
33657
|
+
else if (userOnWarn) normalizeUserOnWarn(userOnWarn, viteLog)(level, log$3);
|
|
33658
|
+
else viteLog(level, log$3);
|
|
33928
33659
|
}
|
|
33929
33660
|
function normalizeUserOnWarn(userOnWarn, defaultHandler) {
|
|
33930
33661
|
return (logLevel, logging) => {
|
|
33931
|
-
if (logLevel === "warn") userOnWarn(normalizeLog(logging), (log$
|
|
33662
|
+
if (logLevel === "warn") userOnWarn(normalizeLog(logging), (log$3) => defaultHandler("warn", typeof log$3 === "function" ? log$3() : log$3));
|
|
33932
33663
|
else defaultHandler(logLevel, logging);
|
|
33933
33664
|
};
|
|
33934
33665
|
}
|
|
33935
|
-
const normalizeLog = (log$
|
|
33666
|
+
const normalizeLog = (log$3) => typeof log$3 === "string" ? { message: log$3 } : log$3;
|
|
33936
33667
|
function resolveUserExternal(user, id, parentId, isResolved) {
|
|
33937
33668
|
if (typeof user === "function") return user(id, parentId, isResolved);
|
|
33938
33669
|
else if (Array.isArray(user)) return user.some((test) => isExternal(id, test));
|
|
@@ -36130,9 +35861,15 @@ async function bundleConfigFile(fileName, isESM) {
|
|
|
36130
35861
|
}
|
|
36131
35862
|
injectValues += `const ${importMetaResolveVarName} = (specifier, importer = ${importMetaUrlVarName}) => (${importMetaResolveWithCustomHookString})(specifier, importer);`;
|
|
36132
35863
|
} else injectValues += `const ${importMetaResolveVarName} = (specifier, importer = ${importMetaUrlVarName}) => { throw new Error('import.meta.resolve is not supported in CJS config files') };`;
|
|
35864
|
+
let injectedContents;
|
|
35865
|
+
if (contents.startsWith("#!")) {
|
|
35866
|
+
let firstLineEndIndex = contents.indexOf("\n");
|
|
35867
|
+
if (firstLineEndIndex < 0) firstLineEndIndex = contents.length;
|
|
35868
|
+
injectedContents = contents.slice(0, firstLineEndIndex + 1) + injectValues + contents.slice(firstLineEndIndex + 1);
|
|
35869
|
+
} else injectedContents = injectValues + contents;
|
|
36133
35870
|
return {
|
|
36134
35871
|
loader: args.path.endsWith("ts") ? "ts" : "js",
|
|
36135
|
-
contents:
|
|
35872
|
+
contents: injectedContents
|
|
36136
35873
|
};
|
|
36137
35874
|
});
|
|
36138
35875
|
}
|