@rolldown/browser 1.0.0-beta.9-commit.8371a90 → 1.0.0-beta.9-commit.b174110

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.
Files changed (34) hide show
  1. package/dist/cli.cjs +10 -10
  2. package/dist/cli.mjs +2 -2
  3. package/dist/config.cjs +2 -2
  4. package/dist/config.d.cts +1 -1
  5. package/dist/config.d.mts +1 -1
  6. package/dist/config.mjs +2 -3
  7. package/dist/experimental-index.browser.mjs +1 -1
  8. package/dist/experimental-index.cjs +1 -1
  9. package/dist/experimental-index.d.cts +1 -1
  10. package/dist/experimental-index.d.mts +1 -1
  11. package/dist/experimental-index.mjs +1 -1
  12. package/dist/filter-index.d.cts +1 -1
  13. package/dist/filter-index.d.mts +1 -1
  14. package/dist/filter-index.mjs +1 -5
  15. package/dist/index.browser.mjs +1 -1
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.d.cts +2 -2
  18. package/dist/index.d.mts +2 -2
  19. package/dist/index.mjs +1 -1
  20. package/dist/parallel-plugin-worker.cjs +1 -1
  21. package/dist/parallel-plugin-worker.mjs +1 -1
  22. package/dist/parallel-plugin.d.cts +1 -1
  23. package/dist/parallel-plugin.d.mts +1 -1
  24. package/dist/rolldown-binding.wasi-browser.js +1 -0
  25. package/dist/rolldown-binding.wasi.cjs +1 -0
  26. package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
  27. package/dist/shared/{define-config.d-D11P5huJ.d.cts → define-config.d-D4lKXE9V.d.cts} +23 -33
  28. package/dist/shared/{define-config.d-Sf3K9yNa.d.mts → define-config.d-Dm9iNdt9.d.mts} +23 -33
  29. package/dist/shared/{load-config--4dZSqAQ.mjs → load-config-CV_7wWhH.mjs} +1 -1
  30. package/dist/shared/{load-config-CT3T7nfY.cjs → load-config-DegJq4hI.cjs} +1 -1
  31. package/dist/shared/{src-HTcyNJiS.cjs → src-BDUsoOnL.cjs} +28 -47
  32. package/dist/shared/{src-CXLmg0t5.mjs → src-CJu4NZI4.mjs} +329 -1505
  33. package/dist/{src-CB1SRiRS.js → src-CBsKC-xF.js} +29 -48
  34. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { __esm } from "./chunk-DSsiIF1Z.mjs";
2
2
  import { and$1 as and, arraify, code$1 as code, exclude$1 as exclude, id$1 as id, include$1 as include, init_dist, init_misc, isNullish, moduleType$1 as moduleType, noop, or$1 as or, unimplemented, unreachable, unsupported } from "./dist-CAn6dxW6.mjs";
3
3
  import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-vu376yZ1.mjs";
4
- import { BindingCallableBuiltinPlugin, BindingHookSideEffects, BindingLogLevel, BindingPluginOrder, BindingWatcher, Bundler, ParallelJsPluginRegistry, shutdownAsyncRuntime, startAsyncRuntime } from "../rolldown-binding.wasi.cjs";
4
+ import { BindingCallableBuiltinPlugin, BindingHookSideEffects, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingWatcher, Bundler, ParallelJsPluginRegistry, shutdownAsyncRuntime, startAsyncRuntime } from "../rolldown-binding.wasi.cjs";
5
5
  import path from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import colors from "ansis";
@@ -9,7 +9,7 @@ import os from "node:os";
9
9
  import { Worker } from "node:worker_threads";
10
10
 
11
11
  //#region package.json
12
- var version = "1.0.0-beta.9-commit.8371a90";
12
+ var version = "1.0.0-beta.9-commit.b174110";
13
13
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
14
14
 
15
15
  //#endregion
@@ -381,8 +381,8 @@ var init_minimal_plugin_context = __esm({ "src/plugin/minimal-plugin-context.ts"
381
381
  watchMode
382
382
  };
383
383
  }
384
- error(e$5) {
385
- return error(logPluginError(normalizeLog(e$5), this.pluginName, { hook: this.hookName }));
384
+ error(e) {
385
+ return error(logPluginError(normalizeLog(e), this.pluginName, { hook: this.hookName }));
386
386
  }
387
387
  };
388
388
  } });
@@ -1817,7 +1817,7 @@ function validateOption(key, options) {
1817
1817
  const issuePaths = issue.path.map((path$1) => path$1.key);
1818
1818
  let issueMsg = issue.message;
1819
1819
  if (issue.type === "union") {
1820
- const subIssue = issue.issues?.find((i$21) => !(i$21.type !== issue.received && i$21.input === issue.input));
1820
+ const subIssue = issue.issues?.find((i$1) => !(i$1.type !== issue.received && i$1.input === issue.input));
1821
1821
  if (subIssue) {
1822
1822
  if (subIssue.path) issuePaths.push(subIssue.path.map((path$1) => path$1.key));
1823
1823
  issueMsg = subIssue.message;
@@ -1883,17 +1883,13 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1883
1883
  literal("tsx")
1884
1884
  ]));
1885
1885
  JsxOptionsSchema = strictObject({
1886
+ runtime: pipe(optional(union([literal("classic"), literal("automatic")])), description("Which runtime to use")),
1886
1887
  development: pipe(optional(boolean()), description("Development specific information")),
1887
- factory: pipe(optional(string()), description("Jsx element transformation")),
1888
- fragment: pipe(optional(string()), description("Jsx fragment transformation")),
1888
+ throwIfNamespace: pipe(optional(string()), description("Toggles whether to throw an error when a tag name uses an XML namespace")),
1889
1889
  importSource: pipe(optional(string()), description("Import the factory of element and fragment if mode is classic")),
1890
- jsxImportSource: pipe(optional(string()), description("Import the factory of element and fragment if mode is automatic")),
1891
- mode: pipe(optional(union([
1892
- literal("classic"),
1893
- literal("automatic"),
1894
- literal("preserve")
1895
- ])), description("Jsx transformation mode")),
1896
- refresh: pipe(optional(boolean()), description("React refresh transformation"))
1890
+ pragma: pipe(optional(string()), description("Jsx element transformation")),
1891
+ pragmaFlag: pipe(optional(string()), description("Jsx fragment transformation")),
1892
+ refresh: pipe(optional(boolean()), description("Enable react fast refresh"))
1897
1893
  });
1898
1894
  HelperModeSchema = union([literal("Runtime"), literal("External")]);
1899
1895
  DecoratorOptionSchema = object({
@@ -1929,7 +1925,9 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1929
1925
  assumptions: optional(AssumptionsSchema),
1930
1926
  typescript: optional(TypescriptSchema),
1931
1927
  helpers: optional(HelpersSchema),
1932
- decorators: optional(DecoratorOptionSchema)
1928
+ decorators: optional(DecoratorOptionSchema),
1929
+ jsx: optional(JsxOptionsSchema),
1930
+ target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment"))
1933
1931
  });
1934
1932
  WatchOptionsSchema = strictObject({
1935
1933
  chokidar: optional(never(`The "watch.chokidar" option is deprecated, please use "watch.notify" instead of it`)),
@@ -2017,13 +2015,12 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2017
2015
  define: pipe(optional(record(string(), string())), description("Define global variables")),
2018
2016
  inject: optional(record(string(), union([string(), tuple([string(), string()])]))),
2019
2017
  profilerNames: optional(boolean()),
2020
- jsx: optional(union([
2021
- boolean(),
2022
- JsxOptionsSchema,
2023
- string("react"),
2024
- string("react-jsx"),
2025
- string("preserve")
2026
- ])),
2018
+ jsx: pipe(optional(union([
2019
+ literal(false),
2020
+ literal("react"),
2021
+ literal("react-jsx"),
2022
+ literal("preserve")
2023
+ ])), description("Jsx options preset")),
2027
2024
  transform: optional(TransformOptionsSchema),
2028
2025
  watch: optional(union([WatchOptionsSchema, literal(false)])),
2029
2026
  dropLabels: pipe(optional(array(string())), description("Remove labeled statements with these label names")),
@@ -2035,8 +2032,7 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2035
2032
  input: pipe(optional(array(string())), description("Entry file")),
2036
2033
  external: pipe(optional(array(string())), description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
2037
2034
  inject: pipe(optional(record(string(), string())), description("Inject import statements on demand")),
2038
- treeshake: pipe(optional(boolean()), description("enable treeshaking")),
2039
- jsx: pipe(optional(JsxOptionsSchema), description("enable jsx"))
2035
+ treeshake: pipe(optional(boolean()), description("enable treeshaking"))
2040
2036
  });
2041
2037
  InputCliOptionsSchema = omit(strictObject({
2042
2038
  ...InputOptionsSchema.entries,
@@ -2090,1470 +2086,313 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2090
2086
  literal("default"),
2091
2087
  literal("none")
2092
2088
  ])), description(`Specify a export mode (${colors.underline("auto")}, named, default, none)`)),
2093
- hashCharacters: pipe(optional(union([
2094
- literal("base64"),
2095
- literal("base36"),
2096
- literal("hex")
2097
- ])), description("Use the specified character set for file hashes")),
2098
- format: pipe(optional(ModuleFormatSchema), description(`Output format of the generated bundle (supports ${colors.underline("esm")}, cjs, and iife)`)),
2099
- sourcemap: pipe(optional(union([
2100
- boolean(),
2101
- literal("inline"),
2102
- literal("hidden")
2103
- ])), description(`Generate sourcemap (\`-s inline\` for inline, or ${colors.bold("pass the `-s` on the last argument if you want to generate `.map` file")})`)),
2104
- sourcemapDebugIds: pipe(optional(boolean()), description("Inject sourcemap debug IDs")),
2105
- sourcemapIgnoreList: optional(union([boolean(), custom(() => true)])),
2106
- sourcemapPathTransform: optional(custom(() => true)),
2107
- banner: optional(union([string(), AddonFunctionSchema])),
2108
- footer: optional(union([string(), AddonFunctionSchema])),
2109
- intro: optional(union([string(), AddonFunctionSchema])),
2110
- outro: optional(union([string(), AddonFunctionSchema])),
2111
- extend: pipe(optional(boolean()), description("Extend global variable defined by name in IIFE / UMD formats")),
2112
- esModule: optional(union([boolean(), literal("if-default-prop")])),
2113
- assetFileNames: optional(AssetFileNamesSchema),
2114
- entryFileNames: optional(ChunkFileNamesSchema),
2115
- chunkFileNames: optional(ChunkFileNamesSchema),
2116
- cssEntryFileNames: optional(ChunkFileNamesSchema),
2117
- cssChunkFileNames: optional(ChunkFileNamesSchema),
2118
- sanitizeFileName: optional(SanitizeFileNameSchema),
2119
- minify: pipe(optional(union([
2120
- boolean(),
2121
- string("dce-only"),
2122
- MinifyOptionsSchema
2123
- ])), description("Minify the bundled file")),
2124
- name: pipe(optional(string()), description("Name for UMD / IIFE format outputs")),
2125
- globals: pipe(optional(union([record(string(), string()), GlobalsFunctionSchema])), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2126
- externalLiveBindings: pipe(optional(boolean()), description("external live bindings")),
2127
- inlineDynamicImports: pipe(optional(boolean()), description("Inline dynamic imports")),
2128
- manualChunks: optional(never("manualChunks is not supported. Please use advancedChunks instead")),
2129
- advancedChunks: optional(AdvancedChunksSchema),
2130
- legalComments: pipe(optional(union([literal("none"), literal("inline")])), description("Control comments in the output")),
2131
- plugins: optional(custom(() => true)),
2132
- polyfillRequire: pipe(optional(boolean()), description("Disable require polyfill injection")),
2133
- target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment")),
2134
- hoistTransitiveImports: optional(custom((input) => {
2135
- if (input) return false;
2136
- return true;
2137
- }, () => `The 'true' value is not supported`)),
2138
- preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
2139
- preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
2140
- virtualDirname: optional(string())
2141
- });
2142
- getAddonDescription = (placement, wrapper) => {
2143
- return `Code to insert the ${colors.bold(placement)} of the bundled file (${colors.bold(wrapper)} the wrapper function)`;
2144
- };
2145
- OutputCliOverrideSchema = strictObject({
2146
- assetFileNames: pipe(optional(string()), description("Name pattern for asset files")),
2147
- entryFileNames: pipe(optional(string()), description("Name pattern for emitted entry chunks")),
2148
- chunkFileNames: pipe(optional(string()), description("Name pattern for emitted secondary chunks")),
2149
- cssEntryFileNames: pipe(optional(string()), description("Name pattern for emitted css entry chunks")),
2150
- cssChunkFileNames: pipe(optional(string()), description("Name pattern for emitted css secondary chunks")),
2151
- sanitizeFileName: pipe(optional(boolean()), description("Sanitize file name")),
2152
- banner: pipe(optional(string()), description(getAddonDescription("top", "outside"))),
2153
- footer: pipe(optional(string()), description(getAddonDescription("bottom", "outside"))),
2154
- intro: pipe(optional(string()), description(getAddonDescription("top", "inside"))),
2155
- outro: pipe(optional(string()), description(getAddonDescription("bottom", "inside"))),
2156
- esModule: pipe(optional(boolean()), description("Always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable)")),
2157
- globals: pipe(optional(record(string(), string())), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2158
- advancedChunks: pipe(optional(strictObject({
2159
- minSize: pipe(optional(number()), description("Minimum size of the chunk")),
2160
- minShareCount: pipe(optional(number()), description("Minimum share count of the chunk"))
2161
- })), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2162
- minify: pipe(optional(boolean()), description("Minify the bundled file"))
2163
- });
2164
- OutputCliOptionsSchema = omit(strictObject({
2165
- ...OutputOptionsSchema.entries,
2166
- ...OutputCliOverrideSchema.entries
2167
- }), [
2168
- "sourcemapIgnoreList",
2169
- "sourcemapPathTransform",
2170
- "plugins",
2171
- "hoistTransitiveImports"
2172
- ]);
2173
- CliOptionsSchema = strictObject({
2174
- config: pipe(optional(union([string(), boolean()])), description("Path to the config file (default: `rolldown.config.js`)")),
2175
- help: pipe(optional(boolean()), description("Show help")),
2176
- version: pipe(optional(boolean()), description("Show version number")),
2177
- watch: pipe(optional(boolean()), description("Watch files in bundle and rebuild on changes")),
2178
- ...InputCliOptionsSchema.entries,
2179
- ...OutputCliOptionsSchema.entries
2180
- });
2181
- inputHelperMsgRecord = { output: { ignored: true } };
2182
- outputHelperMsgRecord = {};
2183
- } });
2184
-
2185
- //#endregion
2186
- //#region src/constants/plugin-context.ts
2187
- var SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF;
2188
- var init_plugin_context$1 = __esm({ "src/constants/plugin-context.ts"() {
2189
- SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF = Symbol("plugin-context-resolve-caller");
2190
- } });
2191
-
2192
- //#endregion
2193
- //#region src/options/normalized-input-options.ts
2194
- var NormalizedInputOptionsImpl;
2195
- var init_normalized_input_options = __esm({ "src/options/normalized-input-options.ts"() {
2196
- NormalizedInputOptionsImpl = class {
2197
- inner;
2198
- constructor(inner, onLog) {
2199
- this.onLog = onLog;
2200
- this.inner = inner;
2201
- }
2202
- get shimMissingExports() {
2203
- return this.inner.shimMissingExports;
2204
- }
2205
- get input() {
2206
- return this.inner.input;
2207
- }
2208
- get cwd() {
2209
- return this.inner.cwd ?? void 0;
2210
- }
2211
- get platform() {
2212
- return this.inner.platform;
2213
- }
2214
- };
2215
- } });
2216
-
2217
- //#endregion
2218
- //#region src/types/sourcemap.ts
2219
- function bindingifySourcemap(map) {
2220
- if (map == null) return;
2221
- return { inner: typeof map === "string" ? map : {
2222
- file: map.file ?? void 0,
2223
- mappings: map.mappings,
2224
- sourceRoot: "sourceRoot" in map ? map.sourceRoot ?? void 0 : void 0,
2225
- sources: map.sources?.map((s$10) => s$10 ?? void 0),
2226
- sourcesContent: map.sourcesContent?.map((s$10) => s$10 ?? void 0),
2227
- names: map.names,
2228
- x_google_ignoreList: map.x_google_ignoreList,
2229
- debugId: "debugId" in map ? map.debugId : void 0
2230
- } };
2231
- }
2232
- var init_sourcemap = __esm({ "src/types/sourcemap.ts"() {} });
2233
-
2234
- //#endregion
2235
- //#region src/utils/error.ts
2236
- function normalizeErrors(rawErrors) {
2237
- const errors = rawErrors.map((e$5) => e$5 instanceof Error ? e$5 : Object.assign(new Error(), {
2238
- kind: e$5.kind,
2239
- message: e$5.message,
2240
- stack: void 0
2241
- }));
2242
- let summary = `Build failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
2243
- for (let i$21 = 0; i$21 < errors.length; i$21++) {
2244
- summary += "\n";
2245
- if (i$21 >= 5) {
2246
- summary += "...";
2247
- break;
2248
- }
2249
- summary += getErrorMessage(errors[i$21]);
2250
- }
2251
- const wrapper = new Error(summary);
2252
- Object.defineProperty(wrapper, "errors", {
2253
- configurable: true,
2254
- enumerable: true,
2255
- get: () => errors,
2256
- set: (value) => Object.defineProperty(wrapper, "errors", {
2257
- configurable: true,
2258
- enumerable: true,
2259
- value
2260
- })
2261
- });
2262
- return wrapper;
2263
- }
2264
- function getErrorMessage(e$5) {
2265
- if (Object.hasOwn(e$5, "kind")) return e$5.message;
2266
- let s$10 = "";
2267
- if (e$5.plugin) s$10 += `[plugin ${e$5.plugin}]`;
2268
- const id$1 = e$5.id ?? e$5.loc?.file;
2269
- if (id$1) {
2270
- s$10 += " " + id$1;
2271
- if (e$5.loc) s$10 += `:${e$5.loc.line}:${e$5.loc.column}`;
2272
- }
2273
- if (s$10) s$10 += "\n";
2274
- const message = `${e$5.name ?? "Error"}: ${e$5.message}`;
2275
- s$10 += message;
2276
- if (e$5.frame) s$10 = joinNewLine(s$10, e$5.frame);
2277
- if (e$5.stack) s$10 = joinNewLine(s$10, e$5.stack.replace(message, ""));
2278
- return s$10;
2279
- }
2280
- function joinNewLine(s1, s2) {
2281
- return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
2282
- }
2283
- var init_error = __esm({ "src/utils/error.ts"() {} });
2284
-
2285
- //#endregion
2286
- //#region src/utils/transform-module-info.ts
2287
- function transformModuleInfo(info, option) {
2288
- return {
2289
- get ast() {
2290
- return unsupported("ModuleInfo#ast");
2291
- },
2292
- get code() {
2293
- return info.code;
2294
- },
2295
- id: info.id,
2296
- importers: info.importers,
2297
- dynamicImporters: info.dynamicImporters,
2298
- importedIds: info.importedIds,
2299
- dynamicallyImportedIds: info.dynamicallyImportedIds,
2300
- exports: info.exports,
2301
- isEntry: info.isEntry,
2302
- ...option
2303
- };
2304
- }
2305
- var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {
2306
- init_misc();
2307
- } });
2308
-
2309
- //#endregion
2310
- //#region src/utils/transform-side-effects.ts
2311
- function bindingifySideEffects(sideEffects) {
2312
- switch (sideEffects) {
2313
- case true: return BindingHookSideEffects.True;
2314
- case false: return BindingHookSideEffects.False;
2315
- case "no-treeshake": return BindingHookSideEffects.NoTreeshake;
2316
- case null:
2317
- case void 0: return void 0;
2318
- default: throw new Error(`Unexpected side effects: ${sideEffects}`);
2319
- }
2320
- }
2321
- var init_transform_side_effects = __esm({ "src/utils/transform-side-effects.ts"() {} });
2322
-
2323
- //#endregion
2324
- //#region src/utils/transform-sourcemap.ts
2325
- function isEmptySourcemapFiled(array$1) {
2326
- if (!array$1) return true;
2327
- if (array$1.length === 0 || !array$1[0]) return true;
2328
- return false;
2329
- }
2330
- function normalizeTransformHookSourcemap(id$1, originalCode, rawMap) {
2331
- if (!rawMap) return;
2332
- let map = typeof rawMap === "object" ? rawMap : JSON.parse(rawMap);
2333
- if (isEmptySourcemapFiled(map.sourcesContent)) map.sourcesContent = [originalCode];
2334
- if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id$1) map.sources = [id$1];
2335
- return map;
2336
- }
2337
- var init_transform_sourcemap = __esm({ "src/utils/transform-sourcemap.ts"() {} });
2338
-
2339
- //#endregion
2340
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ANXBDSUI.js
2341
- var init_chunk_ANXBDSUI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ANXBDSUI.js"() {} });
2342
-
2343
- //#endregion
2344
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3GOCSNFN.js
2345
- var init_chunk_3GOCSNFN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3GOCSNFN.js"() {
2346
- init_chunk_ANXBDSUI();
2347
- } });
2348
-
2349
- //#endregion
2350
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LFJW7BOT.js
2351
- var init_chunk_LFJW7BOT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LFJW7BOT.js"() {
2352
- init_chunk_3GOCSNFN();
2353
- } });
2354
-
2355
- //#endregion
2356
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js
2357
- var init_chunk_7ZI6JRPB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js"() {
2358
- init_chunk_LFJW7BOT();
2359
- init_chunk_ANXBDSUI();
2360
- } });
2361
-
2362
- //#endregion
2363
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js
2364
- var init_chunk_OXJMERKM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js"() {
2365
- init_chunk_LFJW7BOT();
2366
- init_chunk_ANXBDSUI();
2367
- } });
2368
-
2369
- //#endregion
2370
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js
2371
- function u$14(o$13, n$7, a$15) {
2372
- let t$14 = (r$12) => o$13(r$12, ...n$7);
2373
- return a$15 === void 0 ? t$14 : Object.assign(t$14, {
2374
- lazy: a$15,
2375
- lazyArgs: n$7
2376
- });
2377
- }
2378
- var init_chunk_D6FCK2GA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js"() {} });
2379
-
2380
- //#endregion
2381
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js
2382
- function u$12(r$12, n$7, o$13) {
2383
- let a$15 = r$12.length - n$7.length;
2384
- if (a$15 === 0) return r$12(...n$7);
2385
- if (a$15 === 1) return u$14(r$12, n$7, o$13);
2386
- throw new Error("Wrong number of arguments");
2387
- }
2388
- var init_chunk_WIMGWYZL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js"() {
2389
- init_chunk_D6FCK2GA();
2390
- } });
2391
-
2392
- //#endregion
2393
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BSLJB6JE.js
2394
- var init_chunk_BSLJB6JE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BSLJB6JE.js"() {
2395
- init_chunk_WIMGWYZL();
2396
- } });
2397
-
2398
- //#endregion
2399
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NJXNQM3G.js
2400
- var init_chunk_NJXNQM3G = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NJXNQM3G.js"() {} });
2401
-
2402
- //#endregion
2403
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js
2404
- var init_chunk_6RKHJ2CP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js"() {
2405
- init_chunk_WIMGWYZL();
2406
- } });
2407
-
2408
- //#endregion
2409
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QDGUNRDA.js
2410
- var init_chunk_QDGUNRDA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QDGUNRDA.js"() {
2411
- init_chunk_D6FCK2GA();
2412
- } });
2413
-
2414
- //#endregion
2415
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MYLLMFC7.js
2416
- var init_chunk_MYLLMFC7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MYLLMFC7.js"() {
2417
- init_chunk_WIMGWYZL();
2418
- } });
2419
-
2420
- //#endregion
2421
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DEVKGLTN.js
2422
- var o$12, c$3, i$20;
2423
- var init_chunk_DEVKGLTN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DEVKGLTN.js"() {
2424
- o$12 = [
2425
- " ",
2426
- `
2427
- `,
2428
- "\v",
2429
- "\f",
2430
- "\r",
2431
- " ",
2432
- "…",
2433
- "\xA0",
2434
- " ",
2435
- " ",
2436
- " ",
2437
- " ",
2438
- " ",
2439
- " ",
2440
- " ",
2441
- " ",
2442
- " ",
2443
- " ",
2444
- " ",
2445
- " ",
2446
- "\u2028",
2447
- "\u2029",
2448
- " ",
2449
- " ",
2450
- " ",
2451
- ""
2452
- ], c$3 = new Set([
2453
- "-",
2454
- "_",
2455
- ...o$12
2456
- ]), i$20 = (r$12) => {
2457
- let e$5 = [], t$14 = "", u$15 = () => {
2458
- t$14.length > 0 && (e$5.push(t$14), t$14 = "");
2459
- };
2460
- for (let s$10 of r$12) {
2461
- if (c$3.has(s$10)) {
2462
- u$15();
2463
- continue;
2464
- }
2465
- if (/[a-z]$/u.test(t$14) && /[A-Z]/u.test(s$10)) u$15();
2466
- else if (/[A-Z][A-Z]$/u.test(t$14) && /[a-z]/u.test(s$10)) {
2467
- let n$7 = t$14.slice(-1);
2468
- t$14 = t$14.slice(0, -1), u$15(), t$14 = n$7;
2469
- } else /\d$/u.test(t$14) !== /\d/u.test(s$10) && u$15();
2470
- t$14 += s$10;
2471
- }
2472
- return u$15(), e$5;
2473
- };
2474
- } });
2475
-
2476
- //#endregion
2477
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-N4JUOEMS.js
2478
- var init_chunk_N4JUOEMS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-N4JUOEMS.js"() {
2479
- init_chunk_DEVKGLTN();
2480
- } });
2481
-
2482
- //#endregion
2483
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js
2484
- var init_chunk_YRJ25UV2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js"() {
2485
- init_chunk_DEVKGLTN();
2486
- init_chunk_WIMGWYZL();
2487
- } });
2488
-
2489
- //#endregion
2490
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Q5ASJ5N7.js
2491
- var init_chunk_Q5ASJ5N7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Q5ASJ5N7.js"() {
2492
- init_chunk_WIMGWYZL();
2493
- } });
2494
-
2495
- //#endregion
2496
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js
2497
- var init_chunk_WZOX4VKU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js"() {
2498
- init_chunk_DEVKGLTN();
2499
- init_chunk_WIMGWYZL();
2500
- } });
2501
-
2502
- //#endregion
2503
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Y3VKZ3P5.js
2504
- var init_chunk_Y3VKZ3P5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-Y3VKZ3P5.js"() {
2505
- init_chunk_WIMGWYZL();
2506
- } });
2507
-
2508
- //#endregion
2509
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZRKG4NSC.js
2510
- var init_chunk_ZRKG4NSC = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZRKG4NSC.js"() {
2511
- init_chunk_WIMGWYZL();
2512
- } });
2513
-
2514
- //#endregion
2515
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js
2516
- var init_chunk_QJLMYOTX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js"() {
2517
- init_chunk_LFJW7BOT();
2518
- init_chunk_ANXBDSUI();
2519
- } });
2520
-
2521
- //#endregion
2522
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DM52TTEP.js
2523
- var init_chunk_DM52TTEP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DM52TTEP.js"() {
2524
- init_chunk_WIMGWYZL();
2525
- } });
2526
-
2527
- //#endregion
2528
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2P44HXVH.js
2529
- var init_chunk_2P44HXVH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2P44HXVH.js"() {
2530
- init_chunk_WIMGWYZL();
2531
- } });
2532
-
2533
- //#endregion
2534
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js
2535
- var init_chunk_ZJS5DNQW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js"() {
2536
- init_chunk_ANXBDSUI();
2537
- init_chunk_WIMGWYZL();
2538
- } });
2539
-
2540
- //#endregion
2541
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DH3BPT6T.js
2542
- var init_chunk_DH3BPT6T = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DH3BPT6T.js"() {} });
2543
-
2544
- //#endregion
2545
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js
2546
- var init_chunk_AIG3BDKO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js"() {
2547
- init_chunk_WIMGWYZL();
2548
- } });
2549
-
2550
- //#endregion
2551
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js
2552
- var init_chunk_ZPVGOJQV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js"() {
2553
- init_chunk_DH3BPT6T();
2554
- init_chunk_AIG3BDKO();
2555
- } });
2556
-
2557
- //#endregion
2558
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EMIEIAAH.js
2559
- var init_chunk_EMIEIAAH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EMIEIAAH.js"() {} });
2560
-
2561
- //#endregion
2562
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js
2563
- var init_chunk_R3YJIBPV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js"() {
2564
- init_chunk_ZPVGOJQV();
2565
- init_chunk_EMIEIAAH();
2566
- } });
2567
-
2568
- //#endregion
2569
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4UEQNEAO.js
2570
- var init_chunk_4UEQNEAO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4UEQNEAO.js"() {
2571
- init_chunk_WIMGWYZL();
2572
- } });
2573
-
2574
- //#endregion
2575
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4PLMLCP.js
2576
- var init_chunk_T4PLMLCP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4PLMLCP.js"() {
2577
- init_chunk_WIMGWYZL();
2578
- } });
2579
-
2580
- //#endregion
2581
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SSDL7ATG.js
2582
- var init_chunk_SSDL7ATG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SSDL7ATG.js"() {
2583
- init_chunk_WIMGWYZL();
2584
- } });
2585
-
2586
- //#endregion
2587
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EVIH3PFY.js
2588
- var init_chunk_EVIH3PFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EVIH3PFY.js"() {
2589
- init_chunk_WIMGWYZL();
2590
- } });
2591
-
2592
- //#endregion
2593
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RBODUO3Q.js
2594
- var init_chunk_RBODUO3Q = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RBODUO3Q.js"() {} });
2595
-
2596
- //#endregion
2597
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js
2598
- var init_chunk_S52RID4A = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js"() {
2599
- init_chunk_WIMGWYZL();
2600
- } });
2601
-
2602
- //#endregion
2603
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WWPMIW33.js
2604
- var init_chunk_WWPMIW33 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WWPMIW33.js"() {
2605
- init_chunk_WIMGWYZL();
2606
- } });
2607
-
2608
- //#endregion
2609
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-57KROWWS.js
2610
- var init_chunk_57KROWWS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-57KROWWS.js"() {
2611
- init_chunk_WIMGWYZL();
2612
- } });
2613
-
2614
- //#endregion
2615
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-V6HCOU6T.js
2616
- var init_chunk_V6HCOU6T = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-V6HCOU6T.js"() {} });
2617
-
2618
- //#endregion
2619
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js
2620
- var init_chunk_ALS6JP7S = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js"() {
2621
- init_chunk_WIMGWYZL();
2622
- } });
2623
-
2624
- //#endregion
2625
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QTQTP2VB.js
2626
- var init_chunk_QTQTP2VB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QTQTP2VB.js"() {
2627
- init_chunk_WIMGWYZL();
2628
- } });
2629
-
2630
- //#endregion
2631
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NFFV4IQT.js
2632
- var init_chunk_NFFV4IQT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NFFV4IQT.js"() {
2633
- init_chunk_WIMGWYZL();
2634
- } });
2635
-
2636
- //#endregion
2637
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FDH4IRIM.js
2638
- var init_chunk_FDH4IRIM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FDH4IRIM.js"() {
2639
- init_chunk_EMIEIAAH();
2640
- } });
2641
-
2642
- //#endregion
2643
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QEKOZYJ5.js
2644
- var init_chunk_QEKOZYJ5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QEKOZYJ5.js"() {} });
2645
-
2646
- //#endregion
2647
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js
2648
- var init_chunk_YDIA5YQI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js"() {
2649
- init_chunk_QEKOZYJ5();
2650
- init_chunk_WIMGWYZL();
2651
- } });
2652
-
2653
- //#endregion
2654
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js
2655
- var init_chunk_6OEKBHIX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js"() {
2656
- init_chunk_QEKOZYJ5();
2657
- init_chunk_WIMGWYZL();
2658
- } });
2659
-
2660
- //#endregion
2661
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js
2662
- var init_chunk_GDGEDZJG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js"() {
2663
- init_chunk_QEKOZYJ5();
2664
- init_chunk_WIMGWYZL();
2665
- } });
2666
-
2667
- //#endregion
2668
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js
2669
- var init_chunk_XE3XIKTJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js"() {
2670
- init_chunk_QEKOZYJ5();
2671
- init_chunk_WIMGWYZL();
2672
- } });
2673
-
2674
- //#endregion
2675
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js
2676
- var init_chunk_HVJXDSOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js"() {
2677
- init_chunk_QEKOZYJ5();
2678
- init_chunk_WIMGWYZL();
2679
- } });
2680
-
2681
- //#endregion
2682
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MSOX5OUI.js
2683
- var init_chunk_MSOX5OUI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MSOX5OUI.js"() {
2684
- init_chunk_WIMGWYZL();
2685
- } });
2686
-
2687
- //#endregion
2688
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C4OZY4Z2.js
2689
- var init_chunk_C4OZY4Z2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C4OZY4Z2.js"() {
2690
- init_chunk_WIMGWYZL();
2691
- } });
2692
-
2693
- //#endregion
2694
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P2PQB7KO.js
2695
- var init_chunk_P2PQB7KO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P2PQB7KO.js"() {
2696
- init_chunk_WIMGWYZL();
2697
- } });
2698
-
2699
- //#endregion
2700
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FZHIMCK6.js
2701
- var init_chunk_FZHIMCK6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FZHIMCK6.js"() {} });
2702
-
2703
- //#endregion
2704
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js
2705
- var init_chunk_UHZ33J57 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js"() {
2706
- init_chunk_FZHIMCK6();
2707
- init_chunk_WIMGWYZL();
2708
- } });
2709
-
2710
- //#endregion
2711
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RL33UFT.js
2712
- var init_chunk_6RL33UFT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RL33UFT.js"() {
2713
- init_chunk_WIMGWYZL();
2714
- } });
2715
-
2716
- //#endregion
2717
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YNNF733L.js
2718
- var init_chunk_YNNF733L = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YNNF733L.js"() {
2719
- init_chunk_WIMGWYZL();
2720
- } });
2721
-
2722
- //#endregion
2723
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4YLWJIJ6.js
2724
- var init_chunk_4YLWJIJ6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4YLWJIJ6.js"() {
2725
- init_chunk_WIMGWYZL();
2726
- } });
2727
-
2728
- //#endregion
2729
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KVHF7QRD.js
2730
- var init_chunk_KVHF7QRD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KVHF7QRD.js"() {
2731
- init_chunk_WIMGWYZL();
2732
- } });
2733
-
2734
- //#endregion
2735
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UA6DVSZ3.js
2736
- var init_chunk_UA6DVSZ3 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UA6DVSZ3.js"() {} });
2737
-
2738
- //#endregion
2739
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js
2740
- var init_chunk_G5B2IDWB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js"() {
2741
- init_chunk_WIMGWYZL();
2742
- } });
2743
-
2744
- //#endregion
2745
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3FKP6OOU.js
2746
- var init_chunk_3FKP6OOU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3FKP6OOU.js"() {
2747
- init_chunk_WIMGWYZL();
2748
- } });
2749
-
2750
- //#endregion
2751
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFSOOVKJ.js
2752
- var init_chunk_VFSOOVKJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFSOOVKJ.js"() {} });
2753
-
2754
- //#endregion
2755
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K3UJMX27.js
2756
- var init_chunk_K3UJMX27 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K3UJMX27.js"() {} });
2757
-
2758
- //#endregion
2759
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js
2760
- var init_chunk_LE6I3KC6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js"() {
2761
- init_chunk_WIMGWYZL();
2762
- } });
2763
-
2764
- //#endregion
2765
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENS7GPLZ.js
2766
- var init_chunk_ENS7GPLZ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENS7GPLZ.js"() {
2767
- init_chunk_WIMGWYZL();
2768
- } });
2769
-
2770
- //#endregion
2771
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DSLWSGID.js
2772
- var init_chunk_DSLWSGID = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DSLWSGID.js"() {
2773
- init_chunk_EMIEIAAH();
2774
- } });
2775
-
2776
- //#endregion
2777
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R72GEKLP.js
2778
- var init_chunk_R72GEKLP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R72GEKLP.js"() {} });
2779
-
2780
- //#endregion
2781
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js
2782
- function d$3(...r$12) {
2783
- return u$12(i$18, r$12);
2784
- }
2785
- var i$18;
2786
- var init_chunk_3IFJP4R5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js"() {
2787
- init_chunk_WIMGWYZL();
2788
- i$18 = (r$12, t$14) => {
2789
- let a$15 = [[], []];
2790
- for (let [o$13, e$5] of r$12.entries()) t$14(e$5, o$13, r$12) ? a$15[0].push(e$5) : a$15[1].push(e$5);
2791
- return a$15;
2792
- };
2793
- } });
2794
-
2795
- //#endregion
2796
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J4EKWFDW.js
2797
- var init_chunk_J4EKWFDW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J4EKWFDW.js"() {
2798
- init_chunk_WIMGWYZL();
2799
- } });
2800
-
2801
- //#endregion
2802
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PGMPBC5Q.js
2803
- var init_chunk_PGMPBC5Q = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PGMPBC5Q.js"() {
2804
- init_chunk_WIMGWYZL();
2805
- } });
2806
-
2807
- //#endregion
2808
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GGYFZTDW.js
2809
- var init_chunk_GGYFZTDW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GGYFZTDW.js"() {
2810
- init_chunk_WIMGWYZL();
2811
- } });
2812
-
2813
- //#endregion
2814
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EDOGCRPU.js
2815
- var init_chunk_EDOGCRPU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-EDOGCRPU.js"() {
2816
- init_chunk_3GOCSNFN();
2817
- } });
2818
-
2819
- //#endregion
2820
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4NRWDO7P.js
2821
- var init_chunk_4NRWDO7P = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4NRWDO7P.js"() {
2822
- init_chunk_WIMGWYZL();
2823
- } });
2824
-
2825
- //#endregion
2826
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W6ZHPGFP.js
2827
- var init_chunk_W6ZHPGFP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W6ZHPGFP.js"() {
2828
- init_chunk_WIMGWYZL();
2829
- } });
2830
-
2831
- //#endregion
2832
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J3IRE4DI.js
2833
- var init_chunk_J3IRE4DI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J3IRE4DI.js"() {
2834
- init_chunk_DH3BPT6T();
2835
- init_chunk_EMIEIAAH();
2836
- } });
2837
-
2838
- //#endregion
2839
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RZUYD7QY.js
2840
- var init_chunk_RZUYD7QY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RZUYD7QY.js"() {
2841
- init_chunk_WIMGWYZL();
2842
- } });
2843
-
2844
- //#endregion
2845
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5X74E2.js
2846
- var init_chunk_KI5X74E2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5X74E2.js"() {
2847
- init_chunk_AIG3BDKO();
2848
- init_chunk_WIMGWYZL();
2849
- } });
2850
-
2851
- //#endregion
2852
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4ZFFLFWV.js
2853
- var init_chunk_4ZFFLFWV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-4ZFFLFWV.js"() {
2854
- init_chunk_WIMGWYZL();
2855
- } });
2856
-
2857
- //#endregion
2858
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C6IMN7SF.js
2859
- var init_chunk_C6IMN7SF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-C6IMN7SF.js"() {} });
2860
-
2861
- //#endregion
2862
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js
2863
- var init_chunk_NS6ZBRLP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js"() {
2864
- init_chunk_WIMGWYZL();
2865
- } });
2866
-
2867
- //#endregion
2868
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FMPZ2CLX.js
2869
- var init_chunk_FMPZ2CLX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FMPZ2CLX.js"() {} });
2870
-
2871
- //#endregion
2872
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js
2873
- var init_chunk_3ZJAREUD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js"() {
2874
- init_chunk_WIMGWYZL();
2875
- } });
2876
-
2877
- //#endregion
2878
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZXVA7VDE.js
2879
- var init_chunk_ZXVA7VDE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZXVA7VDE.js"() {
2880
- init_chunk_LFJW7BOT();
2881
- } });
2882
-
2883
- //#endregion
2884
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-567G5ZXL.js
2885
- var init_chunk_567G5ZXL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-567G5ZXL.js"() {
2886
- init_chunk_WIMGWYZL();
2887
- } });
2888
-
2889
- //#endregion
2890
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KQRZQWDE.js
2891
- var init_chunk_KQRZQWDE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KQRZQWDE.js"() {
2892
- init_chunk_567G5ZXL();
2893
- init_chunk_WIMGWYZL();
2894
- } });
2895
-
2896
- //#endregion
2897
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3D3RWAVJ.js
2898
- var init_chunk_3D3RWAVJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3D3RWAVJ.js"() {
2899
- init_chunk_WIMGWYZL();
2900
- } });
2901
-
2902
- //#endregion
2903
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K2FFNW24.js
2904
- var init_chunk_K2FFNW24 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-K2FFNW24.js"() {
2905
- init_chunk_WIMGWYZL();
2906
- } });
2907
-
2908
- //#endregion
2909
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5S4PYKVY.js
2910
- var init_chunk_5S4PYKVY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5S4PYKVY.js"() {
2911
- init_chunk_WIMGWYZL();
2912
- } });
2913
-
2914
- //#endregion
2915
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5WKPQX7L.js
2916
- var init_chunk_5WKPQX7L = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5WKPQX7L.js"() {} });
2917
-
2918
- //#endregion
2919
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BZNENX2T.js
2920
- var init_chunk_BZNENX2T = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BZNENX2T.js"() {} });
2921
-
2922
- //#endregion
2923
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js
2924
- var init_chunk_PDQFB3TV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js"() {
2925
- init_chunk_BZNENX2T();
2926
- init_chunk_WIMGWYZL();
2927
- } });
2928
-
2929
- //#endregion
2930
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XMLUDZIW.js
2931
- var init_chunk_XMLUDZIW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XMLUDZIW.js"() {} });
2932
-
2933
- //#endregion
2934
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js
2935
- var init_chunk_GMMLSO2N = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js"() {
2936
- init_chunk_WIMGWYZL();
2937
- } });
2938
-
2939
- //#endregion
2940
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js
2941
- function t$5(...n$7) {
2942
- return u$12(Object.keys, n$7);
2943
- }
2944
- var init_chunk_5NQBDF4H = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js"() {
2945
- init_chunk_WIMGWYZL();
2946
- } });
2947
-
2948
- //#endregion
2949
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PFSVCZNE.js
2950
- var init_chunk_PFSVCZNE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PFSVCZNE.js"() {
2951
- init_chunk_WIMGWYZL();
2952
- } });
2953
-
2954
- //#endregion
2955
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VO5MRBXA.js
2956
- var init_chunk_VO5MRBXA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VO5MRBXA.js"() {
2957
- init_chunk_WIMGWYZL();
2958
- } });
2959
-
2960
- //#endregion
2961
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XUX3ZEXI.js
2962
- var init_chunk_XUX3ZEXI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XUX3ZEXI.js"() {
2963
- init_chunk_WIMGWYZL();
2964
- } });
2965
-
2966
- //#endregion
2967
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KZIKCQ56.js
2968
- var init_chunk_KZIKCQ56 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KZIKCQ56.js"() {
2969
- init_chunk_WIMGWYZL();
2970
- } });
2971
-
2972
- //#endregion
2973
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P3DXEVTH.js
2974
- var init_chunk_P3DXEVTH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P3DXEVTH.js"() {
2975
- init_chunk_WIMGWYZL();
2976
- } });
2977
-
2978
- //#endregion
2979
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6GTAPB47.js
2980
- var init_chunk_6GTAPB47 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6GTAPB47.js"() {} });
2981
-
2982
- //#endregion
2983
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NMC53JVB.js
2984
- var init_chunk_NMC53JVB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NMC53JVB.js"() {} });
2985
-
2986
- //#endregion
2987
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PULGOXDA.js
2988
- var init_chunk_PULGOXDA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PULGOXDA.js"() {} });
2989
-
2990
- //#endregion
2991
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js
2992
- var init_chunk_OLNQBNAJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js"() {
2993
- init_chunk_WIMGWYZL();
2994
- } });
2995
-
2996
- //#endregion
2997
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QOEIYQAG.js
2998
- var init_chunk_QOEIYQAG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QOEIYQAG.js"() {
2999
- init_chunk_WIMGWYZL();
3000
- } });
3001
-
3002
- //#endregion
3003
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SFZGYJFI.js
3004
- var init_chunk_SFZGYJFI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SFZGYJFI.js"() {} });
3005
-
3006
- //#endregion
3007
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JJZ7E4YG.js
3008
- var init_chunk_JJZ7E4YG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JJZ7E4YG.js"() {} });
3009
-
3010
- //#endregion
3011
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VCYTMP4D.js
3012
- var init_chunk_VCYTMP4D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VCYTMP4D.js"() {} });
3013
-
3014
- //#endregion
3015
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-CAZXBO45.js
3016
- var init_chunk_CAZXBO45 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-CAZXBO45.js"() {} });
3017
-
3018
- //#endregion
3019
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENOHV5LT.js
3020
- var init_chunk_ENOHV5LT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ENOHV5LT.js"() {} });
3021
-
3022
- //#endregion
3023
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-U753ZCO5.js
3024
- var init_chunk_U753ZCO5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-U753ZCO5.js"() {} });
3025
-
3026
- //#endregion
3027
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5DU4ITSF.js
3028
- var init_chunk_5DU4ITSF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5DU4ITSF.js"() {} });
3029
-
3030
- //#endregion
3031
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GK5I7C4J.js
3032
- var init_chunk_GK5I7C4J = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GK5I7C4J.js"() {} });
3033
-
3034
- //#endregion
3035
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HV3WACXG.js
3036
- var init_chunk_HV3WACXG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HV3WACXG.js"() {} });
3037
-
3038
- //#endregion
3039
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JK3VNB42.js
3040
- var init_chunk_JK3VNB42 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JK3VNB42.js"() {} });
3041
-
3042
- //#endregion
3043
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js
3044
- var init_chunk_T45O7BFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js"() {
3045
- init_chunk_LFJW7BOT();
3046
- init_chunk_ANXBDSUI();
3047
- } });
3048
-
3049
- //#endregion
3050
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OP5ZF26D.js
3051
- var init_chunk_OP5ZF26D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OP5ZF26D.js"() {
3052
- init_chunk_WIMGWYZL();
3053
- } });
3054
-
3055
- //#endregion
3056
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BO3LQZNF.js
3057
- var init_chunk_BO3LQZNF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BO3LQZNF.js"() {} });
3058
-
3059
- //#endregion
3060
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-I3D2BSWJ.js
3061
- var init_chunk_I3D2BSWJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-I3D2BSWJ.js"() {} });
3062
-
3063
- //#endregion
3064
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7QX4DO53.js
3065
- var init_chunk_7QX4DO53 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7QX4DO53.js"() {} });
3066
-
3067
- //#endregion
3068
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VMV5GVZ5.js
3069
- var init_chunk_VMV5GVZ5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VMV5GVZ5.js"() {} });
3070
-
3071
- //#endregion
3072
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OWH4IQQW.js
3073
- var init_chunk_OWH4IQQW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OWH4IQQW.js"() {} });
3074
-
3075
- //#endregion
3076
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ETADWPSK.js
3077
- var init_chunk_ETADWPSK = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ETADWPSK.js"() {} });
3078
-
3079
- //#endregion
3080
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js
3081
- var init_chunk_JN2GYTBI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js"() {
3082
- init_chunk_WIMGWYZL();
3083
- } });
3084
-
3085
- //#endregion
3086
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HGKLN5KY.js
3087
- var init_chunk_HGKLN5KY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HGKLN5KY.js"() {
3088
- init_chunk_WIMGWYZL();
3089
- } });
3090
-
3091
- //#endregion
3092
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R7PILVSQ.js
3093
- var init_chunk_R7PILVSQ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R7PILVSQ.js"() {
3094
- init_chunk_HGKLN5KY();
3095
- init_chunk_WIMGWYZL();
3096
- } });
3097
-
3098
- //#endregion
3099
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE3ESO.js
3100
- var init_chunk_HJSE3ESO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE3ESO.js"() {} });
3101
-
3102
- //#endregion
3103
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js
3104
- var init_chunk_B6PG574O = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js"() {
3105
- init_chunk_WIMGWYZL();
3106
- } });
3107
-
3108
- //#endregion
3109
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js
3110
- var init_chunk_ICBBHOCR = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js"() {
3111
- init_chunk_LFJW7BOT();
3112
- init_chunk_ANXBDSUI();
3113
- } });
3114
-
3115
- //#endregion
3116
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js
3117
- var init_chunk_JEUUQSE4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js"() {
3118
- init_chunk_EMIEIAAH();
3119
- init_chunk_AIG3BDKO();
3120
- } });
3121
-
3122
- //#endregion
3123
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XPCYQPKH.js
3124
- var init_chunk_XPCYQPKH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XPCYQPKH.js"() {
3125
- init_chunk_ANXBDSUI();
3126
- init_chunk_D6FCK2GA();
3127
- } });
3128
-
3129
- //#endregion
3130
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FRNNS7AX.js
3131
- var init_chunk_FRNNS7AX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FRNNS7AX.js"() {
3132
- init_chunk_WIMGWYZL();
3133
- } });
3134
-
3135
- //#endregion
3136
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js
3137
- var init_chunk_QJOWZFYO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js"() {
3138
- init_chunk_FZHIMCK6();
3139
- init_chunk_WIMGWYZL();
3140
- } });
3141
-
3142
- //#endregion
3143
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VIBSXWWU.js
3144
- var init_chunk_VIBSXWWU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VIBSXWWU.js"() {
3145
- init_chunk_WIMGWYZL();
3146
- } });
3147
-
3148
- //#endregion
3149
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4H4IOYC.js
3150
- var init_chunk_T4H4IOYC = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T4H4IOYC.js"() {
3151
- init_chunk_WIMGWYZL();
3152
- } });
3153
-
3154
- //#endregion
3155
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GPLTWAVR.js
3156
- var init_chunk_GPLTWAVR = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GPLTWAVR.js"() {
3157
- init_chunk_WIMGWYZL();
3158
- } });
3159
-
3160
- //#endregion
3161
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PIX5OHMW.js
3162
- var init_chunk_PIX5OHMW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PIX5OHMW.js"() {
3163
- init_chunk_WIMGWYZL();
3164
- } });
3165
-
3166
- //#endregion
3167
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VVM5DH6Z.js
3168
- var init_chunk_VVM5DH6Z = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VVM5DH6Z.js"() {
3169
- init_chunk_WIMGWYZL();
3170
- } });
3171
-
3172
- //#endregion
3173
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PVYOMZ3I.js
3174
- var init_chunk_PVYOMZ3I = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PVYOMZ3I.js"() {
3175
- init_chunk_WIMGWYZL();
3176
- } });
3177
-
3178
- //#endregion
3179
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js
3180
- var init_chunk_P6LAFGAN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js"() {
3181
- init_chunk_ANXBDSUI();
3182
- init_chunk_WIMGWYZL();
3183
- } });
3184
-
3185
- //#endregion
3186
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SGAFZVQH.js
3187
- var init_chunk_SGAFZVQH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-SGAFZVQH.js"() {} });
3188
-
3189
- //#endregion
3190
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MQDP6CFS.js
3191
- var init_chunk_MQDP6CFS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MQDP6CFS.js"() {
3192
- init_chunk_SGAFZVQH();
3193
- init_chunk_ANXBDSUI();
3194
- init_chunk_WIMGWYZL();
3195
- } });
3196
-
3197
- //#endregion
3198
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UZ6BOIAH.js
3199
- var init_chunk_UZ6BOIAH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UZ6BOIAH.js"() {
3200
- init_chunk_WIMGWYZL();
3201
- } });
3202
-
3203
- //#endregion
3204
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5UAETW.js
3205
- var init_chunk_KI5UAETW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-KI5UAETW.js"() {
3206
- init_chunk_WIMGWYZL();
3207
- } });
3208
-
3209
- //#endregion
3210
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GYH2VCL4.js
3211
- var init_chunk_GYH2VCL4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GYH2VCL4.js"() {
3212
- init_chunk_WIMGWYZL();
3213
- } });
3214
-
3215
- //#endregion
3216
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js
3217
- var init_chunk_26ILFTOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js"() {
3218
- init_chunk_SGAFZVQH();
3219
- init_chunk_WIMGWYZL();
3220
- } });
3221
-
3222
- //#endregion
3223
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2KIKGHAO.js
3224
- var init_chunk_2KIKGHAO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2KIKGHAO.js"() {
3225
- init_chunk_WIMGWYZL();
3226
- } });
3227
-
3228
- //#endregion
3229
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YVMG2XEU.js
3230
- var init_chunk_YVMG2XEU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YVMG2XEU.js"() {} });
3231
-
3232
- //#endregion
3233
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js
3234
- var init_chunk_TSGKWRXX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js"() {
3235
- init_chunk_ANXBDSUI();
3236
- init_chunk_WIMGWYZL();
3237
- } });
3238
-
3239
- //#endregion
3240
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js
3241
- var init_chunk_6NCEKWMJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js"() {
3242
- init_chunk_ZPVGOJQV();
3243
- init_chunk_EMIEIAAH();
3244
- } });
3245
-
3246
- //#endregion
3247
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J7R2OSHS.js
3248
- var init_chunk_J7R2OSHS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J7R2OSHS.js"() {
3249
- init_chunk_WIMGWYZL();
3250
- } });
3251
-
3252
- //#endregion
3253
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GIKF2ZNG.js
3254
- var init_chunk_GIKF2ZNG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GIKF2ZNG.js"() {
3255
- init_chunk_WIMGWYZL();
3256
- } });
3257
-
3258
- //#endregion
3259
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XWBKJZIP.js
3260
- var init_chunk_XWBKJZIP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XWBKJZIP.js"() {
3261
- init_chunk_WIMGWYZL();
2089
+ hashCharacters: pipe(optional(union([
2090
+ literal("base64"),
2091
+ literal("base36"),
2092
+ literal("hex")
2093
+ ])), description("Use the specified character set for file hashes")),
2094
+ format: pipe(optional(ModuleFormatSchema), description(`Output format of the generated bundle (supports ${colors.underline("esm")}, cjs, and iife)`)),
2095
+ sourcemap: pipe(optional(union([
2096
+ boolean(),
2097
+ literal("inline"),
2098
+ literal("hidden")
2099
+ ])), description(`Generate sourcemap (\`-s inline\` for inline, or ${colors.bold("pass the `-s` on the last argument if you want to generate `.map` file")})`)),
2100
+ sourcemapDebugIds: pipe(optional(boolean()), description("Inject sourcemap debug IDs")),
2101
+ sourcemapIgnoreList: optional(union([boolean(), custom(() => true)])),
2102
+ sourcemapPathTransform: optional(custom(() => true)),
2103
+ banner: optional(union([string(), AddonFunctionSchema])),
2104
+ footer: optional(union([string(), AddonFunctionSchema])),
2105
+ intro: optional(union([string(), AddonFunctionSchema])),
2106
+ outro: optional(union([string(), AddonFunctionSchema])),
2107
+ extend: pipe(optional(boolean()), description("Extend global variable defined by name in IIFE / UMD formats")),
2108
+ esModule: optional(union([boolean(), literal("if-default-prop")])),
2109
+ assetFileNames: optional(AssetFileNamesSchema),
2110
+ entryFileNames: optional(ChunkFileNamesSchema),
2111
+ chunkFileNames: optional(ChunkFileNamesSchema),
2112
+ cssEntryFileNames: optional(ChunkFileNamesSchema),
2113
+ cssChunkFileNames: optional(ChunkFileNamesSchema),
2114
+ sanitizeFileName: optional(SanitizeFileNameSchema),
2115
+ minify: pipe(optional(union([
2116
+ boolean(),
2117
+ string("dce-only"),
2118
+ MinifyOptionsSchema
2119
+ ])), description("Minify the bundled file")),
2120
+ name: pipe(optional(string()), description("Name for UMD / IIFE format outputs")),
2121
+ globals: pipe(optional(union([record(string(), string()), GlobalsFunctionSchema])), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2122
+ externalLiveBindings: pipe(optional(boolean()), description("external live bindings")),
2123
+ inlineDynamicImports: pipe(optional(boolean()), description("Inline dynamic imports")),
2124
+ manualChunks: optional(never("manualChunks is not supported. Please use advancedChunks instead")),
2125
+ advancedChunks: optional(AdvancedChunksSchema),
2126
+ legalComments: pipe(optional(union([literal("none"), literal("inline")])), description("Control comments in the output")),
2127
+ plugins: optional(custom(() => true)),
2128
+ polyfillRequire: pipe(optional(boolean()), description("Disable require polyfill injection")),
2129
+ hoistTransitiveImports: optional(custom((input) => {
2130
+ if (input) return false;
2131
+ return true;
2132
+ }, () => `The 'true' value is not supported`)),
2133
+ preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
2134
+ preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
2135
+ virtualDirname: optional(string())
2136
+ });
2137
+ getAddonDescription = (placement, wrapper) => {
2138
+ return `Code to insert the ${colors.bold(placement)} of the bundled file (${colors.bold(wrapper)} the wrapper function)`;
2139
+ };
2140
+ OutputCliOverrideSchema = strictObject({
2141
+ assetFileNames: pipe(optional(string()), description("Name pattern for asset files")),
2142
+ entryFileNames: pipe(optional(string()), description("Name pattern for emitted entry chunks")),
2143
+ chunkFileNames: pipe(optional(string()), description("Name pattern for emitted secondary chunks")),
2144
+ cssEntryFileNames: pipe(optional(string()), description("Name pattern for emitted css entry chunks")),
2145
+ cssChunkFileNames: pipe(optional(string()), description("Name pattern for emitted css secondary chunks")),
2146
+ sanitizeFileName: pipe(optional(boolean()), description("Sanitize file name")),
2147
+ banner: pipe(optional(string()), description(getAddonDescription("top", "outside"))),
2148
+ footer: pipe(optional(string()), description(getAddonDescription("bottom", "outside"))),
2149
+ intro: pipe(optional(string()), description(getAddonDescription("top", "inside"))),
2150
+ outro: pipe(optional(string()), description(getAddonDescription("bottom", "inside"))),
2151
+ esModule: pipe(optional(boolean()), description("Always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable)")),
2152
+ globals: pipe(optional(record(string(), string())), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2153
+ advancedChunks: pipe(optional(strictObject({
2154
+ minSize: pipe(optional(number()), description("Minimum size of the chunk")),
2155
+ minShareCount: pipe(optional(number()), description("Minimum share count of the chunk"))
2156
+ })), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
2157
+ minify: pipe(optional(boolean()), description("Minify the bundled file"))
2158
+ });
2159
+ OutputCliOptionsSchema = omit(strictObject({
2160
+ ...OutputOptionsSchema.entries,
2161
+ ...OutputCliOverrideSchema.entries
2162
+ }), [
2163
+ "sourcemapIgnoreList",
2164
+ "sourcemapPathTransform",
2165
+ "plugins",
2166
+ "hoistTransitiveImports"
2167
+ ]);
2168
+ CliOptionsSchema = strictObject({
2169
+ config: pipe(optional(union([string(), boolean()])), description("Path to the config file (default: `rolldown.config.js`)")),
2170
+ help: pipe(optional(boolean()), description("Show help")),
2171
+ version: pipe(optional(boolean()), description("Show version number")),
2172
+ watch: pipe(optional(boolean()), description("Watch files in bundle and rebuild on changes")),
2173
+ ...InputCliOptionsSchema.entries,
2174
+ ...OutputCliOptionsSchema.entries
2175
+ });
2176
+ inputHelperMsgRecord = { output: { ignored: true } };
2177
+ outputHelperMsgRecord = {};
3262
2178
  } });
3263
2179
 
3264
2180
  //#endregion
3265
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XHPQVWZM.js
3266
- var init_chunk_XHPQVWZM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XHPQVWZM.js"() {
3267
- init_chunk_WIMGWYZL();
2181
+ //#region src/constants/plugin-context.ts
2182
+ var SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF;
2183
+ var init_plugin_context$1 = __esm({ "src/constants/plugin-context.ts"() {
2184
+ SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF = Symbol("plugin-context-resolve-caller");
3268
2185
  } });
3269
2186
 
3270
2187
  //#endregion
3271
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2OQBQB3V.js
3272
- var init_chunk_2OQBQB3V = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-2OQBQB3V.js"() {
3273
- init_chunk_WIMGWYZL();
2188
+ //#region src/options/normalized-input-options.ts
2189
+ var NormalizedInputOptionsImpl;
2190
+ var init_normalized_input_options = __esm({ "src/options/normalized-input-options.ts"() {
2191
+ NormalizedInputOptionsImpl = class {
2192
+ inner;
2193
+ constructor(inner, onLog) {
2194
+ this.onLog = onLog;
2195
+ this.inner = inner;
2196
+ }
2197
+ get shimMissingExports() {
2198
+ return this.inner.shimMissingExports;
2199
+ }
2200
+ get input() {
2201
+ return this.inner.input;
2202
+ }
2203
+ get cwd() {
2204
+ return this.inner.cwd ?? void 0;
2205
+ }
2206
+ get platform() {
2207
+ return this.inner.platform;
2208
+ }
2209
+ };
3274
2210
  } });
3275
2211
 
3276
2212
  //#endregion
3277
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-H4OTHZJB.js
3278
- var init_chunk_H4OTHZJB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-H4OTHZJB.js"() {
3279
- init_chunk_WIMGWYZL();
3280
- } });
2213
+ //#region src/types/sourcemap.ts
2214
+ function bindingifySourcemap(map) {
2215
+ if (map == null) return;
2216
+ return { inner: typeof map === "string" ? map : {
2217
+ file: map.file ?? void 0,
2218
+ mappings: map.mappings,
2219
+ sourceRoot: "sourceRoot" in map ? map.sourceRoot ?? void 0 : void 0,
2220
+ sources: map.sources?.map((s) => s ?? void 0),
2221
+ sourcesContent: map.sourcesContent?.map((s) => s ?? void 0),
2222
+ names: map.names,
2223
+ x_google_ignoreList: map.x_google_ignoreList,
2224
+ debugId: "debugId" in map ? map.debugId : void 0
2225
+ } };
2226
+ }
2227
+ var init_sourcemap = __esm({ "src/types/sourcemap.ts"() {} });
3281
2228
 
3282
2229
  //#endregion
3283
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XZ6COQKM.js
3284
- function a$13(n$7, t$14, e$5) {
3285
- return n$7(e$5[0]) ? (r$12) => t$14(r$12, ...e$5) : t$14(...e$5);
3286
- }
3287
- function u$13(...n$7) {
3288
- return a$13(s$8, o$10, n$7);
3289
- }
3290
- function o$10(n$7, ...t$14) {
3291
- for (let [e$5, r$12] of t$14) if (e$5(n$7)) return r$12(n$7);
3292
- throw new Error("conditional: data failed for all cases");
2230
+ //#region src/utils/error.ts
2231
+ function normalizeErrors(rawErrors) {
2232
+ const errors = rawErrors.map((e) => e instanceof Error ? e : Object.assign(new Error(), {
2233
+ kind: e.kind,
2234
+ message: e.message,
2235
+ stack: void 0
2236
+ }));
2237
+ let summary = `Build failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
2238
+ for (let i$1 = 0; i$1 < errors.length; i$1++) {
2239
+ summary += "\n";
2240
+ if (i$1 >= 5) {
2241
+ summary += "...";
2242
+ break;
2243
+ }
2244
+ summary += getErrorMessage(errors[i$1]);
2245
+ }
2246
+ const wrapper = new Error(summary);
2247
+ Object.defineProperty(wrapper, "errors", {
2248
+ configurable: true,
2249
+ enumerable: true,
2250
+ get: () => errors,
2251
+ set: (value) => Object.defineProperty(wrapper, "errors", {
2252
+ configurable: true,
2253
+ enumerable: true,
2254
+ value
2255
+ })
2256
+ });
2257
+ return wrapper;
3293
2258
  }
3294
- function s$8(n$7) {
3295
- if (!Array.isArray(n$7)) return !1;
3296
- let [t$14, e$5, ...r$12] = n$7;
3297
- return typeof t$14 == "function" && t$14.length <= 1 && typeof e$5 == "function" && e$5.length <= 1 && r$12.length === 0;
2259
+ function getErrorMessage(e) {
2260
+ if (Object.hasOwn(e, "kind")) return e.message;
2261
+ let s = "";
2262
+ if (e.plugin) s += `[plugin ${e.plugin}]`;
2263
+ const id$1 = e.id ?? e.loc?.file;
2264
+ if (id$1) {
2265
+ s += " " + id$1;
2266
+ if (e.loc) s += `:${e.loc.line}:${e.loc.column}`;
2267
+ }
2268
+ if (s) s += "\n";
2269
+ const message = `${e.name ?? "Error"}: ${e.message}`;
2270
+ s += message;
2271
+ if (e.frame) s = joinNewLine(s, e.frame);
2272
+ if (e.stack) s = joinNewLine(s, e.stack.replace(message, ""));
2273
+ return s;
3298
2274
  }
3299
- function R(n$7 = d$11) {
3300
- return [T$6, n$7];
2275
+ function joinNewLine(s1, s2) {
2276
+ return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
3301
2277
  }
3302
- var x$2, T$6, d$11;
3303
- var init_chunk_XZ6COQKM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XZ6COQKM.js"() {
3304
- x$2 = Object.assign(u$13, { defaultCase: R });
3305
- T$6 = () => !0, d$11 = () => {};
3306
- } });
3307
-
3308
- //#endregion
3309
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T5XG33UI.js
3310
- var init_chunk_T5XG33UI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T5XG33UI.js"() {} });
3311
-
3312
- //#endregion
3313
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js
3314
- var init_chunk_ZTNFU7RH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js"() {
3315
- init_chunk_WIMGWYZL();
3316
- } });
3317
-
3318
- //#endregion
3319
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OIQJEOF7.js
3320
- var init_chunk_OIQJEOF7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OIQJEOF7.js"() {} });
3321
-
3322
- //#endregion
3323
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js
3324
- var init_chunk_GKXRNLHM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js"() {
3325
- init_chunk_LFJW7BOT();
3326
- init_chunk_ANXBDSUI();
3327
- } });
3328
-
3329
- //#endregion
3330
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js
3331
- var init_chunk_NYIWN625 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js"() {
3332
- init_chunk_LFJW7BOT();
3333
- init_chunk_ANXBDSUI();
3334
- } });
3335
-
3336
- //#endregion
3337
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WPTI67A4.js
3338
- var init_chunk_WPTI67A4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WPTI67A4.js"() {
3339
- init_chunk_WIMGWYZL();
3340
- } });
2278
+ var init_error = __esm({ "src/utils/error.ts"() {} });
3341
2279
 
3342
2280
  //#endregion
3343
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W2ARC73P.js
3344
- var init_chunk_W2ARC73P = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-W2ARC73P.js"() {
3345
- init_chunk_WIMGWYZL();
2281
+ //#region src/utils/transform-module-info.ts
2282
+ function transformModuleInfo(info, option) {
2283
+ return {
2284
+ get ast() {
2285
+ return unsupported("ModuleInfo#ast");
2286
+ },
2287
+ get code() {
2288
+ return info.code;
2289
+ },
2290
+ id: info.id,
2291
+ importers: info.importers,
2292
+ dynamicImporters: info.dynamicImporters,
2293
+ importedIds: info.importedIds,
2294
+ dynamicallyImportedIds: info.dynamicallyImportedIds,
2295
+ exports: info.exports,
2296
+ isEntry: info.isEntry,
2297
+ ...option
2298
+ };
2299
+ }
2300
+ var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {
2301
+ init_misc();
3346
2302
  } });
3347
2303
 
3348
2304
  //#endregion
3349
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3UBK2BVM.js
3350
- var init_chunk_3UBK2BVM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3UBK2BVM.js"() {
3351
- init_chunk_WIMGWYZL();
3352
- } });
2305
+ //#region src/utils/transform-side-effects.ts
2306
+ function bindingifySideEffects(sideEffects) {
2307
+ switch (sideEffects) {
2308
+ case true: return BindingHookSideEffects.True;
2309
+ case false: return BindingHookSideEffects.False;
2310
+ case "no-treeshake": return BindingHookSideEffects.NoTreeshake;
2311
+ case null:
2312
+ case void 0: return void 0;
2313
+ default: throw new Error(`Unexpected side effects: ${sideEffects}`);
2314
+ }
2315
+ }
2316
+ var init_transform_side_effects = __esm({ "src/utils/transform-side-effects.ts"() {} });
3353
2317
 
3354
2318
  //#endregion
3355
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFECZ57D.js
3356
- var init_chunk_VFECZ57D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VFECZ57D.js"() {
3357
- init_chunk_WIMGWYZL();
3358
- } });
2319
+ //#region src/utils/transform-sourcemap.ts
2320
+ function isEmptySourcemapFiled(array$1) {
2321
+ if (!array$1) return true;
2322
+ if (array$1.length === 0 || !array$1[0]) return true;
2323
+ return false;
2324
+ }
2325
+ function normalizeTransformHookSourcemap(id$1, originalCode, rawMap) {
2326
+ if (!rawMap) return;
2327
+ let map = typeof rawMap === "object" ? rawMap : JSON.parse(rawMap);
2328
+ if (isEmptySourcemapFiled(map.sourcesContent)) map.sourcesContent = [originalCode];
2329
+ if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id$1) map.sources = [id$1];
2330
+ return map;
2331
+ }
2332
+ var init_transform_sourcemap = __esm({ "src/utils/transform-sourcemap.ts"() {} });
3359
2333
 
3360
2334
  //#endregion
3361
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VG2NVNXT.js
3362
- var init_chunk_VG2NVNXT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-VG2NVNXT.js"() {
3363
- init_chunk_WIMGWYZL();
3364
- } });
2335
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js
2336
+ function u$1(o, n, a) {
2337
+ let t$1 = (r) => o(r, ...n);
2338
+ return a === void 0 ? t$1 : Object.assign(t$1, {
2339
+ lazy: a,
2340
+ lazyArgs: n
2341
+ });
2342
+ }
2343
+ var init_chunk_D6FCK2GA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js"() {} });
3365
2344
 
3366
2345
  //#endregion
3367
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js
3368
- var init_chunk_HJSE36CH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js"() {
3369
- init_chunk_FZHIMCK6();
3370
- init_chunk_WIMGWYZL();
2346
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js
2347
+ function u(r, n, o) {
2348
+ let a = r.length - n.length;
2349
+ if (a === 0) return r(...n);
2350
+ if (a === 1) return u$1(r, n, o);
2351
+ throw new Error("Wrong number of arguments");
2352
+ }
2353
+ var init_chunk_WIMGWYZL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js"() {
2354
+ init_chunk_D6FCK2GA();
3371
2355
  } });
3372
2356
 
3373
2357
  //#endregion
3374
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-IERM7LX4.js
3375
- var init_chunk_IERM7LX4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-IERM7LX4.js"() {
2358
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js
2359
+ function d(...r) {
2360
+ return u(i, r);
2361
+ }
2362
+ var i;
2363
+ var init_chunk_3IFJP4R5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js"() {
3376
2364
  init_chunk_WIMGWYZL();
2365
+ i = (r, t$1) => {
2366
+ let a = [[], []];
2367
+ for (let [o, e] of r.entries()) t$1(e, o, r) ? a[0].push(e) : a[1].push(e);
2368
+ return a;
2369
+ };
3377
2370
  } });
3378
2371
 
3379
2372
  //#endregion
3380
- //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHDYHGOF.js
3381
- var init_chunk_UHDYHGOF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHDYHGOF.js"() {
2373
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js
2374
+ function t(...n) {
2375
+ return u(Object.keys, n);
2376
+ }
2377
+ var init_chunk_5NQBDF4H = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js"() {
3382
2378
  init_chunk_WIMGWYZL();
3383
2379
  } });
3384
2380
 
3385
2381
  //#endregion
3386
2382
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js
3387
2383
  var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js"() {
3388
- init_chunk_7ZI6JRPB();
3389
- init_chunk_OXJMERKM();
3390
- init_chunk_BSLJB6JE();
3391
- init_chunk_NJXNQM3G();
3392
- init_chunk_6RKHJ2CP();
3393
- init_chunk_QDGUNRDA();
3394
- init_chunk_MYLLMFC7();
3395
- init_chunk_N4JUOEMS();
3396
- init_chunk_YRJ25UV2();
3397
- init_chunk_Q5ASJ5N7();
3398
- init_chunk_WZOX4VKU();
3399
- init_chunk_Y3VKZ3P5();
3400
- init_chunk_ZRKG4NSC();
3401
- init_chunk_QJLMYOTX();
3402
- init_chunk_DM52TTEP();
3403
- init_chunk_2P44HXVH();
3404
- init_chunk_ZJS5DNQW();
3405
- init_chunk_R3YJIBPV();
3406
- init_chunk_4UEQNEAO();
3407
- init_chunk_T4PLMLCP();
3408
- init_chunk_SSDL7ATG();
3409
- init_chunk_EVIH3PFY();
3410
- init_chunk_RBODUO3Q();
3411
- init_chunk_S52RID4A();
3412
- init_chunk_WWPMIW33();
3413
- init_chunk_57KROWWS();
3414
- init_chunk_V6HCOU6T();
3415
- init_chunk_ALS6JP7S();
3416
- init_chunk_QTQTP2VB();
3417
- init_chunk_NFFV4IQT();
3418
- init_chunk_FDH4IRIM();
3419
- init_chunk_YDIA5YQI();
3420
- init_chunk_6OEKBHIX();
3421
- init_chunk_GDGEDZJG();
3422
- init_chunk_XE3XIKTJ();
3423
- init_chunk_HVJXDSOP();
3424
- init_chunk_MSOX5OUI();
3425
- init_chunk_C4OZY4Z2();
3426
- init_chunk_P2PQB7KO();
3427
- init_chunk_UHZ33J57();
3428
- init_chunk_6RL33UFT();
3429
- init_chunk_YNNF733L();
3430
- init_chunk_4YLWJIJ6();
3431
- init_chunk_KVHF7QRD();
3432
- init_chunk_UA6DVSZ3();
3433
- init_chunk_G5B2IDWB();
3434
- init_chunk_3FKP6OOU();
3435
- init_chunk_VFSOOVKJ();
3436
- init_chunk_K3UJMX27();
3437
- init_chunk_LE6I3KC6();
3438
- init_chunk_ENS7GPLZ();
3439
- init_chunk_DSLWSGID();
3440
- init_chunk_R72GEKLP();
3441
2384
  init_chunk_3IFJP4R5();
3442
- init_chunk_J4EKWFDW();
3443
- init_chunk_PGMPBC5Q();
3444
- init_chunk_GGYFZTDW();
3445
- init_chunk_EDOGCRPU();
3446
- init_chunk_4NRWDO7P();
3447
- init_chunk_W6ZHPGFP();
3448
- init_chunk_J3IRE4DI();
3449
- init_chunk_RZUYD7QY();
3450
- init_chunk_KI5X74E2();
3451
- init_chunk_4ZFFLFWV();
3452
- init_chunk_C6IMN7SF();
3453
- init_chunk_NS6ZBRLP();
3454
- init_chunk_FMPZ2CLX();
3455
- init_chunk_3ZJAREUD();
3456
- init_chunk_ZXVA7VDE();
3457
- init_chunk_KQRZQWDE();
3458
- init_chunk_567G5ZXL();
3459
- init_chunk_3D3RWAVJ();
3460
- init_chunk_K2FFNW24();
3461
- init_chunk_5S4PYKVY();
3462
- init_chunk_5WKPQX7L();
3463
- init_chunk_PDQFB3TV();
3464
- init_chunk_XMLUDZIW();
3465
- init_chunk_GMMLSO2N();
3466
2385
  init_chunk_5NQBDF4H();
3467
- init_chunk_PFSVCZNE();
3468
- init_chunk_VO5MRBXA();
3469
- init_chunk_XUX3ZEXI();
3470
- init_chunk_KZIKCQ56();
3471
- init_chunk_P3DXEVTH();
3472
- init_chunk_6GTAPB47();
3473
- init_chunk_NMC53JVB();
3474
- init_chunk_BZNENX2T();
3475
- init_chunk_PULGOXDA();
3476
- init_chunk_OLNQBNAJ();
3477
- init_chunk_QOEIYQAG();
3478
- init_chunk_SFZGYJFI();
3479
- init_chunk_JJZ7E4YG();
3480
- init_chunk_VCYTMP4D();
3481
- init_chunk_CAZXBO45();
3482
- init_chunk_ENOHV5LT();
3483
- init_chunk_U753ZCO5();
3484
- init_chunk_5DU4ITSF();
3485
- init_chunk_GK5I7C4J();
3486
- init_chunk_HV3WACXG();
3487
- init_chunk_JK3VNB42();
3488
- init_chunk_T45O7BFY();
3489
- init_chunk_OP5ZF26D();
3490
- init_chunk_BO3LQZNF();
3491
- init_chunk_I3D2BSWJ();
3492
- init_chunk_7QX4DO53();
3493
- init_chunk_VMV5GVZ5();
3494
- init_chunk_OWH4IQQW();
3495
- init_chunk_ETADWPSK();
3496
- init_chunk_JN2GYTBI();
3497
- init_chunk_R7PILVSQ();
3498
- init_chunk_HGKLN5KY();
3499
- init_chunk_HJSE3ESO();
3500
- init_chunk_B6PG574O();
3501
- init_chunk_ICBBHOCR();
3502
- init_chunk_JEUUQSE4();
3503
- init_chunk_XPCYQPKH();
3504
- init_chunk_FRNNS7AX();
3505
- init_chunk_QJOWZFYO();
3506
- init_chunk_VIBSXWWU();
3507
- init_chunk_T4H4IOYC();
3508
- init_chunk_GPLTWAVR();
3509
- init_chunk_PIX5OHMW();
3510
- init_chunk_VVM5DH6Z();
3511
- init_chunk_PVYOMZ3I();
3512
- init_chunk_P6LAFGAN();
3513
- init_chunk_MQDP6CFS();
3514
- init_chunk_UZ6BOIAH();
3515
- init_chunk_KI5UAETW();
3516
- init_chunk_GYH2VCL4();
3517
- init_chunk_26ILFTOP();
3518
- init_chunk_2KIKGHAO();
3519
- init_chunk_YVMG2XEU();
3520
- init_chunk_TSGKWRXX();
3521
- init_chunk_6NCEKWMJ();
3522
- init_chunk_ZPVGOJQV();
3523
- init_chunk_AIG3BDKO();
3524
- init_chunk_J7R2OSHS();
3525
- init_chunk_GIKF2ZNG();
3526
- init_chunk_XWBKJZIP();
3527
- init_chunk_XHPQVWZM();
3528
- init_chunk_2OQBQB3V();
3529
- init_chunk_H4OTHZJB();
3530
- init_chunk_XZ6COQKM();
3531
- init_chunk_T5XG33UI();
3532
- init_chunk_ZTNFU7RH();
3533
- init_chunk_OIQJEOF7();
3534
- init_chunk_GKXRNLHM();
3535
- init_chunk_NYIWN625();
3536
- init_chunk_LFJW7BOT();
3537
- init_chunk_3GOCSNFN();
3538
- init_chunk_WPTI67A4();
3539
- init_chunk_W2ARC73P();
3540
- init_chunk_3UBK2BVM();
3541
- init_chunk_VFECZ57D();
3542
- init_chunk_VG2NVNXT();
3543
- init_chunk_HJSE36CH();
3544
- init_chunk_IERM7LX4();
3545
- init_chunk_UHDYHGOF();
3546
- init_chunk_WIMGWYZL();
3547
2386
  } });
3548
2387
 
3549
2388
  //#endregion
3550
2389
  //#region src/plugin/bindingify-hook-filter.ts
3551
2390
  function generalHookFilterMatcherToFilterExprs(matcher, stringKind) {
3552
2391
  if (typeof matcher === "string" || matcher instanceof RegExp) return [include(generateAtomMatcher(stringKind, matcher))];
3553
- if (Array.isArray(matcher)) return matcher.map((m$10) => include(generateAtomMatcher(stringKind, m$10)));
2392
+ if (Array.isArray(matcher)) return matcher.map((m) => include(generateAtomMatcher(stringKind, m)));
3554
2393
  let ret = [];
3555
- if (matcher.exclude) ret.push(...arraify(matcher.exclude).map((m$10) => exclude(generateAtomMatcher(stringKind, m$10))));
3556
- if (matcher.include) ret.push(...arraify(matcher.include).map((m$10) => include(generateAtomMatcher(stringKind, m$10))));
2394
+ if (matcher.exclude) ret.push(...arraify(matcher.exclude).map((m) => exclude(generateAtomMatcher(stringKind, m))));
2395
+ if (matcher.include) ret.push(...arraify(matcher.include).map((m) => include(generateAtomMatcher(stringKind, m))));
3557
2396
  return ret;
3558
2397
  }
3559
2398
  function generateAtomMatcher(kind, matcher) {
@@ -3568,14 +2407,14 @@ function transformFilterMatcherToFilterExprs(filterOption) {
3568
2407
  let idExcludes = [];
3569
2408
  let codeIncludes = [];
3570
2409
  let codeExcludes = [];
3571
- if (id$1) [idIncludes, idExcludes] = d$3(generalHookFilterMatcherToFilterExprs(id$1, "id") ?? [], (m$10) => m$10.kind === "include");
3572
- if (code$1) [codeIncludes, codeExcludes] = d$3(generalHookFilterMatcherToFilterExprs(code$1, "code") ?? [], (m$10) => m$10.kind === "include");
2410
+ if (id$1) [idIncludes, idExcludes] = d(generalHookFilterMatcherToFilterExprs(id$1, "id") ?? [], (m) => m.kind === "include");
2411
+ if (code$1) [codeIncludes, codeExcludes] = d(generalHookFilterMatcherToFilterExprs(code$1, "code") ?? [], (m) => m.kind === "include");
3573
2412
  ret.push(...idExcludes);
3574
2413
  ret.push(...codeExcludes);
3575
2414
  let andExprList = [];
3576
2415
  if (moduleType$1) {
3577
2416
  let moduleTypes = Array.isArray(moduleType$1) ? moduleType$1 : moduleType$1.include ?? [];
3578
- andExprList.push(or(...moduleTypes.map((m$10) => moduleType(m$10))));
2417
+ andExprList.push(or(...moduleTypes.map((m) => moduleType(m))));
3579
2418
  }
3580
2419
  if (idIncludes.length) andExprList.push(or(...idIncludes.map((item) => item.expr)));
3581
2420
  if (codeIncludes.length) andExprList.push(or(...codeIncludes.map((item) => item.expr)));
@@ -3597,7 +2436,7 @@ function bindingifyFilterExprImpl(expr, list) {
3597
2436
  switch (expr.kind) {
3598
2437
  case "and": {
3599
2438
  let args$1 = expr.args;
3600
- for (let i$21 = args$1.length - 1; i$21 >= 0; i$21--) bindingifyFilterExprImpl(args$1[i$21], list);
2439
+ for (let i$1 = args$1.length - 1; i$1 >= 0; i$1--) bindingifyFilterExprImpl(args$1[i$1], list);
3601
2440
  list.push({
3602
2441
  kind: "And",
3603
2442
  payload: args$1.length
@@ -3606,7 +2445,7 @@ function bindingifyFilterExprImpl(expr, list) {
3606
2445
  }
3607
2446
  case "or": {
3608
2447
  let args$1 = expr.args;
3609
- for (let i$21 = args$1.length - 1; i$21 >= 0; i$21--) bindingifyFilterExprImpl(args$1[i$21], list);
2448
+ for (let i$1 = args$1.length - 1; i$1 >= 0; i$1--) bindingifyFilterExprImpl(args$1[i$1], list);
3610
2449
  list.push({
3611
2450
  kind: "Or",
3612
2451
  payload: args$1.length
@@ -3760,10 +2599,10 @@ var init_plugin_context = __esm({ "src/plugin/plugin-context.ts"() {
3760
2599
  data.loadModulePromiseMap.set(id$1, promise$1);
3761
2600
  try {
3762
2601
  await context.load(id$1, bindingifySideEffects(options.moduleSideEffects));
3763
- } catch (e$5) {
2602
+ } catch (e) {
3764
2603
  data.loadModulePromiseMap.delete(id$1);
3765
2604
  data.loadModulePromiseResolveFnMap.delete(id$1);
3766
- throw e$5;
2605
+ throw e;
3767
2606
  }
3768
2607
  return promise$1;
3769
2608
  }
@@ -3844,12 +2683,12 @@ var init_transform_plugin_context = __esm({ "src/plugin/transform-plugin-context
3844
2683
  this.warn = getLogHandler$1(this.warn);
3845
2684
  this.info = getLogHandler$1(this.info);
3846
2685
  }
3847
- error(e$5, pos) {
3848
- if (typeof e$5 === "string") e$5 = { message: e$5 };
3849
- if (pos) augmentCodeLocation(e$5, pos, this.moduleSource, this.moduleId);
3850
- e$5.id = this.moduleId;
3851
- e$5.hook = "transform";
3852
- return error(logPluginError(normalizeLog(e$5), this.pluginName));
2686
+ error(e, pos) {
2687
+ if (typeof e === "string") e = { message: e };
2688
+ if (pos) augmentCodeLocation(e, pos, this.moduleSource, this.moduleId);
2689
+ e.id = this.moduleId;
2690
+ e.hook = "transform";
2691
+ return error(logPluginError(normalizeLog(e), this.pluginName));
3853
2692
  }
3854
2693
  getCombinedSourcemap() {
3855
2694
  return JSON.parse(this.inner.getCombinedSourcemap());
@@ -4093,9 +2932,9 @@ function transformRenderedChunk(chunk) {
4093
2932
  }
4094
2933
  function transformChunkModules(modules) {
4095
2934
  const result = {};
4096
- for (let i$21 = 0; i$21 < modules.values.length; i$21++) {
4097
- let key = modules.keys[i$21];
4098
- const mod = modules.values[i$21];
2935
+ for (let i$1 = 0; i$1 < modules.values.length; i$1++) {
2936
+ let key = modules.keys[i$1];
2937
+ const mod = modules.values[i$1];
4099
2938
  result[key] = transformToRenderedModule(mod);
4100
2939
  }
4101
2940
  return result;
@@ -4137,7 +2976,6 @@ function bindingifyOutputOptions(outputOptions) {
4137
2976
  inlineDynamicImports: outputOptions.inlineDynamicImports,
4138
2977
  advancedChunks: outputOptions.advancedChunks,
4139
2978
  polyfillRequire: outputOptions.polyfillRequire,
4140
- target: outputOptions.target,
4141
2979
  sanitizeFileName,
4142
2980
  preserveModules,
4143
2981
  virtualDirname,
@@ -4356,20 +3194,20 @@ function transformToRollupOutputChunk(bindingChunk, changed) {
4356
3194
  };
4357
3195
  const cache = {};
4358
3196
  return new Proxy(chunk, {
4359
- get(target, p$3) {
4360
- if (p$3 in cache) return cache[p$3];
4361
- const value = target[p$3];
4362
- cache[p$3] = value;
3197
+ get(target, p) {
3198
+ if (p in cache) return cache[p];
3199
+ const value = target[p];
3200
+ cache[p] = value;
4363
3201
  return value;
4364
3202
  },
4365
- set(target, p$3, newValue) {
4366
- cache[p$3] = newValue;
3203
+ set(target, p, newValue) {
3204
+ cache[p] = newValue;
4367
3205
  changed?.updated.add(bindingChunk.fileName);
4368
3206
  return true;
4369
3207
  },
4370
- has(target, p$3) {
4371
- if (p$3 in cache) return true;
4372
- return p$3 in target;
3208
+ has(target, p) {
3209
+ if (p in cache) return true;
3210
+ return p in target;
4373
3211
  }
4374
3212
  });
4375
3213
  }
@@ -4387,14 +3225,14 @@ function transformToRollupOutputAsset(bindingAsset, changed) {
4387
3225
  };
4388
3226
  const cache = {};
4389
3227
  return new Proxy(asset, {
4390
- get(target, p$3) {
4391
- if (p$3 in cache) return cache[p$3];
4392
- const value = target[p$3];
4393
- cache[p$3] = value;
3228
+ get(target, p) {
3229
+ if (p in cache) return cache[p];
3230
+ const value = target[p];
3231
+ cache[p] = value;
4394
3232
  return value;
4395
3233
  },
4396
- set(target, p$3, newValue) {
4397
- cache[p$3] = newValue;
3234
+ set(target, p, newValue) {
3235
+ cache[p] = newValue;
4398
3236
  changed?.updated.add(bindingAsset.fileName);
4399
3237
  return true;
4400
3238
  }
@@ -4824,8 +3662,8 @@ function wrapHandlers(plugin) {
4824
3662
  if (handler) plugin[hookName] = async (...args$1) => {
4825
3663
  try {
4826
3664
  return await handler(...args$1);
4827
- } catch (e$5) {
4828
- return error(logPluginError(e$5, plugin.name, {
3665
+ } catch (e) {
3666
+ return error(logPluginError(e, plugin.name, {
4829
3667
  hook: hookName,
4830
3668
  id: hookName === "transform" ? args$1[2] : void 0
4831
3669
  }));
@@ -5082,25 +3920,12 @@ function bindingifyInput(input) {
5082
3920
  }
5083
3921
  function bindingifyJsx(input) {
5084
3922
  switch (input) {
5085
- case false: return { type: "Disable" };
5086
- case "react": return { type: "React" };
5087
- case "react-jsx": return { type: "ReactJsx" };
5088
- case "preserve": return { type: "Preserve" };
5089
- case void 0: return void 0;
3923
+ case false: return BindingJsx.Disable;
3924
+ case "react": return BindingJsx.React;
3925
+ case "react-jsx": return BindingJsx.ReactJsx;
3926
+ case "preserve": return BindingJsx.Preserve;
3927
+ default: return void 0;
5090
3928
  }
5091
- if (input.mode === "preserve") return { type: "Preserve" };
5092
- const mode = input.mode ?? "automatic";
5093
- return {
5094
- type: "Enable",
5095
- field0: {
5096
- runtime: mode,
5097
- importSource: mode === "classic" ? input.importSource : mode === "automatic" ? input.jsxImportSource : void 0,
5098
- pragma: input.factory,
5099
- pragmaFrag: input.fragment,
5100
- development: input.development,
5101
- refresh: input.refresh
5102
- }
5103
- };
5104
3929
  }
5105
3930
  function bindingifyWatch(watch$1) {
5106
3931
  if (watch$1) return {
@@ -5171,7 +3996,7 @@ function createComposedPlugin(plugins) {
5171
3996
  plugins.forEach((plugin, index) => {
5172
3997
  const pluginName = plugin.name || `Anonymous(index: ${index})`;
5173
3998
  names.push(pluginName);
5174
- t$5(plugin).forEach((pluginProp) => {
3999
+ t(plugin).forEach((pluginProp) => {
5175
4000
  if (isUnsupportedHooks(pluginProp)) throw new Error(`Failed to compose js plugins. Plugin ${pluginName} has an unsupported hook: ${pluginProp}`);
5176
4001
  if (!isPluginHookName(pluginProp)) return;
5177
4002
  switch (pluginProp) {
@@ -5279,7 +4104,7 @@ function createComposedPlugin(plugins) {
5279
4104
  }
5280
4105
  };
5281
4106
  }
5282
- t$5(batchedHooks).forEach((hookName) => {
4107
+ t(batchedHooks).forEach((hookName) => {
5283
4108
  switch (hookName) {
5284
4109
  case "resolveId": break;
5285
4110
  case "buildStart": {
@@ -5420,7 +4245,7 @@ function createComposedPlugin(plugins) {
5420
4245
  function isComposablePlugin(plugin) {
5421
4246
  if (plugin instanceof BuiltinPlugin) return false;
5422
4247
  if ("_parallel" in plugin) return false;
5423
- const hasNotComposablePattern = t$5(plugin).some((hookName) => {
4248
+ const hasNotComposablePattern = t(plugin).some((hookName) => {
5424
4249
  if (!isPluginHookName(hookName)) return false;
5425
4250
  const OK_TO_COMPOSE = false;
5426
4251
  if (isUnsupportedHooks(hookName)) return !OK_TO_COMPOSE;
@@ -5503,7 +4328,7 @@ async function initializeParallelPlugins(plugins) {
5503
4328
  };
5504
4329
  }
5505
4330
  function initializeWorkers(registryId, count, pluginInfos) {
5506
- return Promise.all(Array.from({ length: count }, (_, i$21) => initializeWorker(registryId, pluginInfos, i$21)));
4331
+ return Promise.all(Array.from({ length: count }, (_, i$1) => initializeWorker(registryId, pluginInfos, i$1)));
5507
4332
  }
5508
4333
  async function initializeWorker(registryId, pluginInfos, threadNumber) {
5509
4334
  const urlString = import.meta.resolve("#parallel-plugin-worker");
@@ -5523,9 +4348,9 @@ async function initializeWorker(registryId, pluginInfos, threadNumber) {
5523
4348
  });
5524
4349
  });
5525
4350
  return worker;
5526
- } catch (e$5) {
4351
+ } catch (e) {
5527
4352
  worker?.terminate();
5528
- throw e$5;
4353
+ throw e;
5529
4354
  }
5530
4355
  }
5531
4356
  var availableParallelism;
@@ -5571,9 +4396,9 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
5571
4396
  onLog,
5572
4397
  stopWorkers: parallelPluginInitResult?.stopWorkers
5573
4398
  };
5574
- } catch (e$5) {
4399
+ } catch (e) {
5575
4400
  await parallelPluginInitResult?.stopWorkers();
5576
- throw e$5;
4401
+ throw e;
5577
4402
  }
5578
4403
  }
5579
4404
  var init_create_bundler_option = __esm({ "src/utils/create-bundler-option.ts"() {
@@ -5601,9 +4426,9 @@ async function createBundler(inputOptions, outputOptions, isClose) {
5601
4426
  asyncRuntimeShutdown = true;
5602
4427
  }
5603
4428
  };
5604
- } catch (e$5) {
4429
+ } catch (e) {
5605
4430
  await option.stopWorkers?.();
5606
- throw e$5;
4431
+ throw e;
5607
4432
  }
5608
4433
  }
5609
4434
  var asyncRuntimeShutdown;
@@ -5859,9 +4684,8 @@ var init_src = __esm({ "src/index.ts"() {
5859
4684
  init_build();
5860
4685
  init_rolldown();
5861
4686
  init_watch();
5862
- init_define_config();
5863
4687
  VERSION = version;
5864
4688
  } });
5865
4689
 
5866
4690
  //#endregion
5867
- export { BuiltinPlugin, PluginContextData, VERSION, assetPlugin, bindingifyPlugin, build, buildImportAnalysisPlugin, composeJsPlugins, createBundler, defineConfig, description$1 as description, dynamicImportVarsPlugin, getInputCliKeys, getJsonSchema, getOutputCliKeys, handleOutputErrors, importGlobPlugin, init_bindingify_plugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_define_config, init_normalize_string_or_regex, init_plugin_context_data, init_rolldown, init_src, init_transform_to_rollup_output, init_validator, init_watch, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, rolldown, validateCliOptions, version, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, watch, webWorkerPostPlugin };
4691
+ export { BuiltinPlugin, PluginContextData, VERSION, assetPlugin, bindingifyPlugin, build, buildImportAnalysisPlugin, composeJsPlugins, createBundler, defineConfig, description$1 as description, dynamicImportVarsPlugin, getInputCliKeys, getJsonSchema, getOutputCliKeys, handleOutputErrors, importGlobPlugin, init_bindingify_plugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_plugin_context_data, init_rolldown, init_src, init_transform_to_rollup_output, init_validator, init_watch, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, rolldown, validateCliOptions, version, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, watch, webWorkerPostPlugin };