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

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 (38) hide show
  1. package/dist/cli.cjs +2 -2
  2. package/dist/cli.mjs +44 -55
  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 +4 -5
  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 +3 -4
  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 -6
  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 +3 -3
  20. package/dist/parallel-plugin-worker.cjs +1 -1
  21. package/dist/parallel-plugin-worker.mjs +3 -3
  22. package/dist/parallel-plugin.d.cts +1 -1
  23. package/dist/parallel-plugin.d.mts +1 -1
  24. package/dist/parse-ast-index.mjs +1 -1
  25. package/dist/rolldown-binding.wasi-browser.js +1 -0
  26. package/dist/rolldown-binding.wasi.cjs +1 -0
  27. package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
  28. package/dist/shared/{define-config.d-Sf3K9yNa.d.mts → define-config.d-GTTTro2-.d.mts} +4 -14
  29. package/dist/shared/{define-config.d-D11P5huJ.d.cts → define-config.d-gqmzo185.d.cts} +4 -14
  30. package/dist/shared/dist-DRt7s0oH.mjs +147 -0
  31. package/dist/shared/{load-config--4dZSqAQ.mjs → load-config-gIb0d07e.mjs} +1 -1
  32. package/dist/shared/{load-config-CT3T7nfY.cjs → load-config-xy-ScCWb.cjs} +1 -1
  33. package/dist/shared/{parse-ast-index-vu376yZ1.mjs → parse-ast-index-Bx70S80g.mjs} +3 -13
  34. package/dist/shared/{src-CXLmg0t5.mjs → src-CA0na5_d.mjs} +185 -579
  35. package/dist/shared/{src-HTcyNJiS.cjs → src-j8qvGwKp.cjs} +21 -40
  36. package/dist/{src-CB1SRiRS.js → src-D3kPdsBX.js} +22 -41
  37. package/package.json +1 -1
  38. package/dist/shared/dist-CAn6dxW6.mjs +0 -153
@@ -1,7 +1,7 @@
1
1
  import { __esm } from "./chunk-DSsiIF1Z.mjs";
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
- 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";
2
+ import { and$1 as and, arraify, code$1 as code, exclude$1 as exclude, id$1 as id, include$1 as include, isNullish, moduleType$1 as moduleType, noop, or$1 as or, unimplemented, unreachable, unsupported } from "./dist-DRt7s0oH.mjs";
3
+ import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-Bx70S80g.mjs";
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.273d50e";
13
13
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
14
14
 
15
15
  //#endregion
@@ -142,7 +142,6 @@ function getLogHandler(level, code$1, logger, pluginName, logLevel) {
142
142
  }
143
143
  var normalizeLog;
144
144
  var init_log_handler = __esm({ "src/log/log-handler.ts"() {
145
- init_misc();
146
145
  init_logging();
147
146
  init_logs();
148
147
  normalizeLog = (log) => typeof log === "string" ? { message: log } : typeof log === "function" ? normalizeLog(log()) : log;
@@ -250,9 +249,7 @@ function normalizeHook(hook) {
250
249
  }
251
250
  unreachable("Invalid hook type");
252
251
  }
253
- var init_normalize_hook = __esm({ "src/utils/normalize-hook.ts"() {
254
- init_misc();
255
- } });
252
+ var init_normalize_hook = __esm({ "src/utils/normalize-hook.ts"() {} });
256
253
 
257
254
  //#endregion
258
255
  //#region src/constants/plugin.ts
@@ -324,7 +321,6 @@ async function asyncFlatten(array$1) {
324
321
  while (array$1.some((v) => v?.then));
325
322
  return array$1;
326
323
  }
327
- var init_async_flatten = __esm({ "src/utils/async-flatten.ts"() {} });
328
324
 
329
325
  //#endregion
330
326
  //#region src/utils/normalize-plugin-option.ts
@@ -349,7 +345,6 @@ var init_normalize_plugin_option = __esm({ "src/utils/normalize-plugin-option.ts
349
345
  init_plugin$1();
350
346
  init_logging();
351
347
  init_logs();
352
- init_async_flatten();
353
348
  normalizePluginOption = async (plugins) => (await asyncFlatten([plugins])).filter(Boolean);
354
349
  ANONYMOUS_PLUGIN_PREFIX = "at position ";
355
350
  ANONYMOUS_OUTPUT_PLUGIN_PREFIX = "at output position ";
@@ -381,8 +376,8 @@ var init_minimal_plugin_context = __esm({ "src/plugin/minimal-plugin-context.ts"
381
376
  watchMode
382
377
  };
383
378
  }
384
- error(e$5) {
385
- return error(logPluginError(normalizeLog(e$5), this.pluginName, { hook: this.hookName }));
379
+ error(e) {
380
+ return error(logPluginError(normalizeLog(e), this.pluginName, { hook: this.hookName }));
386
381
  }
387
382
  };
388
383
  } });
@@ -465,6 +460,7 @@ var init_plugin_driver = __esm({ "src/plugin/plugin-driver.ts"() {
465
460
 
466
461
  //#endregion
467
462
  //#region ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.8.3/node_modules/valibot/dist/index.js
463
+ var store$1;
468
464
  /* @__NO_SIDE_EFFECTS__ */
469
465
  function getGlobalConfig(config2) {
470
466
  return {
@@ -474,14 +470,17 @@ function getGlobalConfig(config2) {
474
470
  abortPipeEarly: config2?.abortPipeEarly ?? store$1?.abortPipeEarly
475
471
  };
476
472
  }
473
+ var store2;
477
474
  /* @__NO_SIDE_EFFECTS__ */
478
475
  function getGlobalMessage(lang) {
479
476
  return store2?.get(lang);
480
477
  }
478
+ var store3;
481
479
  /* @__NO_SIDE_EFFECTS__ */
482
480
  function getSchemaMessage(lang) {
483
481
  return store3?.get(lang);
484
482
  }
483
+ var store4;
485
484
  /* @__NO_SIDE_EFFECTS__ */
486
485
  function getSpecificMessage(reference, lang) {
487
486
  return store4?.get(reference)?.get(lang);
@@ -539,6 +538,18 @@ function _joinExpects(values2, separator) {
539
538
  if (list.length > 1) return `(${list.join(` ${separator} `)})`;
540
539
  return list[0] ?? "never";
541
540
  }
541
+ var ValiError = class extends Error {
542
+ /**
543
+ * Creates a Valibot error with useful information.
544
+ *
545
+ * @param issues The error issues.
546
+ */
547
+ constructor(issues) {
548
+ super(issues[0].message);
549
+ this.name = "ValiError";
550
+ this.issues = issues;
551
+ }
552
+ };
542
553
  /* @__NO_SIDE_EFFECTS__ */
543
554
  function args(schema) {
544
555
  return {
@@ -1416,21 +1427,6 @@ function safeParse(schema, input, config2) {
1416
1427
  issues: dataset.issues
1417
1428
  };
1418
1429
  }
1419
- var store$1, store2, store3, store4, ValiError;
1420
- var init_dist$3 = __esm({ "../../node_modules/.pnpm/valibot@1.1.0_typescript@5.8.3/node_modules/valibot/dist/index.js"() {
1421
- ValiError = class extends Error {
1422
- /**
1423
- * Creates a Valibot error with useful information.
1424
- *
1425
- * @param issues The error issues.
1426
- */
1427
- constructor(issues) {
1428
- super(issues[0].message);
1429
- this.name = "ValiError";
1430
- this.issues = issues;
1431
- }
1432
- };
1433
- } });
1434
1430
 
1435
1431
  //#endregion
1436
1432
  //#region ../../node_modules/.pnpm/@valibot+to-json-schema@1.2.0_valibot@1.1.0_typescript@5.8.3_/node_modules/@valibot/to-json-schema/dist/index.js
@@ -1795,8 +1791,7 @@ function toJsonSchema(schema, config) {
1795
1791
  return jsonSchema;
1796
1792
  }
1797
1793
  var store, refCount;
1798
- var init_dist$2 = __esm({ "../../node_modules/.pnpm/@valibot+to-json-schema@1.2.0_valibot@1.1.0_typescript@5.8.3_/node_modules/@valibot/to-json-schema/dist/index.js"() {
1799
- init_dist$3();
1794
+ var init_dist$1 = __esm({ "../../node_modules/.pnpm/@valibot+to-json-schema@1.2.0_valibot@1.1.0_typescript@5.8.3_/node_modules/@valibot/to-json-schema/dist/index.js"() {
1800
1795
  refCount = 0;
1801
1796
  } });
1802
1797
 
@@ -1817,7 +1812,7 @@ function validateOption(key, options) {
1817
1812
  const issuePaths = issue.path.map((path$1) => path$1.key);
1818
1813
  let issueMsg = issue.message;
1819
1814
  if (issue.type === "union") {
1820
- const subIssue = issue.issues?.find((i$21) => !(i$21.type !== issue.received && i$21.input === issue.input));
1815
+ const subIssue = issue.issues?.find((i$16) => !(i$16.type !== issue.received && i$16.input === issue.input));
1821
1816
  if (subIssue) {
1822
1817
  if (subIssue.path) issuePaths.push(subIssue.path.map((path$1) => path$1.key));
1823
1818
  issueMsg = subIssue.message;
@@ -1842,8 +1837,7 @@ function getJsonSchema() {
1842
1837
  }
1843
1838
  var StringOrRegExpSchema, LogLevelSchema, LogLevelOptionSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, InputOptionSchema, ExternalSchema, ModuleTypesSchema, JsxOptionsSchema, HelperModeSchema, DecoratorOptionSchema, HelpersSchema, RewriteImportExtensionsSchema, TypescriptSchema, AssumptionsSchema, TransformOptionsSchema, WatchOptionsSchema, ChecksOptionsSchema, MinifyOptionsSchema, ResolveOptionsSchema, TreeshakingOptionsSchema, OnLogSchema, OnwarnSchema, HmrSchema, InputOptionsSchema, InputCliOverrideSchema, InputCliOptionsSchema, ModuleFormatSchema, AddonFunctionSchema, ChunkFileNamesSchema, AssetFileNamesSchema, SanitizeFileNameSchema, GlobalsFunctionSchema, AdvancedChunksSchema, OutputOptionsSchema, getAddonDescription, OutputCliOverrideSchema, OutputCliOptionsSchema, CliOptionsSchema, inputHelperMsgRecord, outputHelperMsgRecord;
1844
1839
  var init_validator = __esm({ "src/utils/validator.ts"() {
1845
- init_dist$2();
1846
- init_dist$3();
1840
+ init_dist$1();
1847
1841
  StringOrRegExpSchema = union([string(), instance(RegExp)]);
1848
1842
  LogLevelSchema = union([
1849
1843
  literal("debug"),
@@ -1883,17 +1877,13 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1883
1877
  literal("tsx")
1884
1878
  ]));
1885
1879
  JsxOptionsSchema = strictObject({
1880
+ runtime: pipe(optional(union([literal("classic"), literal("automatic")])), description("Which runtime to use")),
1886
1881
  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")),
1882
+ throwIfNamespace: pipe(optional(string()), description("Toggles whether to throw an error when a tag name uses an XML namespace")),
1889
1883
  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"))
1884
+ pragma: pipe(optional(string()), description("Jsx element transformation")),
1885
+ pragmaFlag: pipe(optional(string()), description("Jsx fragment transformation")),
1886
+ refresh: pipe(optional(boolean()), description("Enable react fast refresh"))
1897
1887
  });
1898
1888
  HelperModeSchema = union([literal("Runtime"), literal("External")]);
1899
1889
  DecoratorOptionSchema = object({
@@ -1929,7 +1919,9 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
1929
1919
  assumptions: optional(AssumptionsSchema),
1930
1920
  typescript: optional(TypescriptSchema),
1931
1921
  helpers: optional(HelpersSchema),
1932
- decorators: optional(DecoratorOptionSchema)
1922
+ decorators: optional(DecoratorOptionSchema),
1923
+ jsx: optional(JsxOptionsSchema),
1924
+ target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment"))
1933
1925
  });
1934
1926
  WatchOptionsSchema = strictObject({
1935
1927
  chokidar: optional(never(`The "watch.chokidar" option is deprecated, please use "watch.notify" instead of it`)),
@@ -2017,13 +2009,12 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2017
2009
  define: pipe(optional(record(string(), string())), description("Define global variables")),
2018
2010
  inject: optional(record(string(), union([string(), tuple([string(), string()])]))),
2019
2011
  profilerNames: optional(boolean()),
2020
- jsx: optional(union([
2021
- boolean(),
2022
- JsxOptionsSchema,
2023
- string("react"),
2024
- string("react-jsx"),
2025
- string("preserve")
2026
- ])),
2012
+ jsx: pipe(optional(union([
2013
+ literal(false),
2014
+ literal("react"),
2015
+ literal("react-jsx"),
2016
+ literal("preserve")
2017
+ ])), description("Jsx options preset")),
2027
2018
  transform: optional(TransformOptionsSchema),
2028
2019
  watch: optional(union([WatchOptionsSchema, literal(false)])),
2029
2020
  dropLabels: pipe(optional(array(string())), description("Remove labeled statements with these label names")),
@@ -2035,8 +2026,7 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2035
2026
  input: pipe(optional(array(string())), description("Entry file")),
2036
2027
  external: pipe(optional(array(string())), description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
2037
2028
  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"))
2029
+ treeshake: pipe(optional(boolean()), description("enable treeshaking"))
2040
2030
  });
2041
2031
  InputCliOptionsSchema = omit(strictObject({
2042
2032
  ...InputOptionsSchema.entries,
@@ -2130,7 +2120,6 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
2130
2120
  legalComments: pipe(optional(union([literal("none"), literal("inline")])), description("Control comments in the output")),
2131
2121
  plugins: optional(custom(() => true)),
2132
2122
  polyfillRequire: pipe(optional(boolean()), description("Disable require polyfill injection")),
2133
- target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment")),
2134
2123
  hoistTransitiveImports: optional(custom((input) => {
2135
2124
  if (input) return false;
2136
2125
  return true;
@@ -2191,62 +2180,58 @@ var init_plugin_context$1 = __esm({ "src/constants/plugin-context.ts"() {
2191
2180
 
2192
2181
  //#endregion
2193
2182
  //#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
- } });
2183
+ var NormalizedInputOptionsImpl = class {
2184
+ inner;
2185
+ constructor(inner, onLog) {
2186
+ this.onLog = onLog;
2187
+ this.inner = inner;
2188
+ }
2189
+ get shimMissingExports() {
2190
+ return this.inner.shimMissingExports;
2191
+ }
2192
+ get input() {
2193
+ return this.inner.input;
2194
+ }
2195
+ get cwd() {
2196
+ return this.inner.cwd ?? void 0;
2197
+ }
2198
+ get platform() {
2199
+ return this.inner.platform;
2200
+ }
2201
+ };
2216
2202
 
2217
2203
  //#endregion
2218
2204
  //#region src/types/sourcemap.ts
2219
- function bindingifySourcemap(map) {
2205
+ function bindingifySourcemap$1(map) {
2220
2206
  if (map == null) return;
2221
2207
  return { inner: typeof map === "string" ? map : {
2222
2208
  file: map.file ?? void 0,
2223
2209
  mappings: map.mappings,
2224
2210
  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),
2211
+ sources: map.sources?.map((s$7) => s$7 ?? void 0),
2212
+ sourcesContent: map.sourcesContent?.map((s$7) => s$7 ?? void 0),
2227
2213
  names: map.names,
2228
2214
  x_google_ignoreList: map.x_google_ignoreList,
2229
2215
  debugId: "debugId" in map ? map.debugId : void 0
2230
2216
  } };
2231
2217
  }
2232
- var init_sourcemap = __esm({ "src/types/sourcemap.ts"() {} });
2233
2218
 
2234
2219
  //#endregion
2235
2220
  //#region src/utils/error.ts
2236
2221
  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,
2222
+ const errors = rawErrors.map((e) => e instanceof Error ? e : Object.assign(new Error(), {
2223
+ kind: e.kind,
2224
+ message: e.message,
2240
2225
  stack: void 0
2241
2226
  }));
2242
2227
  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++) {
2228
+ for (let i$16 = 0; i$16 < errors.length; i$16++) {
2244
2229
  summary += "\n";
2245
- if (i$21 >= 5) {
2230
+ if (i$16 >= 5) {
2246
2231
  summary += "...";
2247
2232
  break;
2248
2233
  }
2249
- summary += getErrorMessage(errors[i$21]);
2234
+ summary += getErrorMessage(errors[i$16]);
2250
2235
  }
2251
2236
  const wrapper = new Error(summary);
2252
2237
  Object.defineProperty(wrapper, "errors", {
@@ -2261,26 +2246,25 @@ function normalizeErrors(rawErrors) {
2261
2246
  });
2262
2247
  return wrapper;
2263
2248
  }
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;
2249
+ function getErrorMessage(e) {
2250
+ if (Object.hasOwn(e, "kind")) return e.message;
2251
+ let s$7 = "";
2252
+ if (e.plugin) s$7 += `[plugin ${e.plugin}]`;
2253
+ const id$1 = e.id ?? e.loc?.file;
2269
2254
  if (id$1) {
2270
- s$10 += " " + id$1;
2271
- if (e$5.loc) s$10 += `:${e$5.loc.line}:${e$5.loc.column}`;
2255
+ s$7 += " " + id$1;
2256
+ if (e.loc) s$7 += `:${e.loc.line}:${e.loc.column}`;
2272
2257
  }
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;
2258
+ if (s$7) s$7 += "\n";
2259
+ const message = `${e.name ?? "Error"}: ${e.message}`;
2260
+ s$7 += message;
2261
+ if (e.frame) s$7 = joinNewLine(s$7, e.frame);
2262
+ if (e.stack) s$7 = joinNewLine(s$7, e.stack.replace(message, ""));
2263
+ return s$7;
2279
2264
  }
2280
2265
  function joinNewLine(s1, s2) {
2281
2266
  return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
2282
2267
  }
2283
- var init_error = __esm({ "src/utils/error.ts"() {} });
2284
2268
 
2285
2269
  //#endregion
2286
2270
  //#region src/utils/transform-module-info.ts
@@ -2302,9 +2286,7 @@ function transformModuleInfo(info, option) {
2302
2286
  ...option
2303
2287
  };
2304
2288
  }
2305
- var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {
2306
- init_misc();
2307
- } });
2289
+ var init_transform_module_info = __esm({ "src/utils/transform-module-info.ts"() {} });
2308
2290
 
2309
2291
  //#endregion
2310
2292
  //#region src/utils/transform-side-effects.ts
@@ -2334,17 +2316,10 @@ function normalizeTransformHookSourcemap(id$1, originalCode, rawMap) {
2334
2316
  if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id$1) map.sources = [id$1];
2335
2317
  return map;
2336
2318
  }
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
2319
 
2343
2320
  //#endregion
2344
2321
  //#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
- } });
2322
+ var init_chunk_3GOCSNFN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3GOCSNFN.js"() {} });
2348
2323
 
2349
2324
  //#endregion
2350
2325
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LFJW7BOT.js
@@ -2356,38 +2331,33 @@ var init_chunk_LFJW7BOT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2356
2331
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js
2357
2332
  var init_chunk_7ZI6JRPB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-7ZI6JRPB.js"() {
2358
2333
  init_chunk_LFJW7BOT();
2359
- init_chunk_ANXBDSUI();
2360
2334
  } });
2361
2335
 
2362
2336
  //#endregion
2363
2337
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js
2364
2338
  var init_chunk_OXJMERKM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OXJMERKM.js"() {
2365
2339
  init_chunk_LFJW7BOT();
2366
- init_chunk_ANXBDSUI();
2367
2340
  } });
2368
2341
 
2369
2342
  //#endregion
2370
2343
  //#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
2344
+ function u$13(o$5, n$2, a$12) {
2345
+ let t$8 = (r$7) => o$5(r$7, ...n$2);
2346
+ return a$12 === void 0 ? t$8 : Object.assign(t$8, {
2347
+ lazy: a$12,
2348
+ lazyArgs: n$2
2376
2349
  });
2377
2350
  }
2378
- var init_chunk_D6FCK2GA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js"() {} });
2379
2351
 
2380
2352
  //#endregion
2381
2353
  //#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);
2354
+ function u$12(r$7, n$2, o$5) {
2355
+ let a$12 = r$7.length - n$2.length;
2356
+ if (a$12 === 0) return r$7(...n$2);
2357
+ if (a$12 === 1) return u$13(r$7, n$2, o$5);
2386
2358
  throw new Error("Wrong number of arguments");
2387
2359
  }
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
- } });
2360
+ var init_chunk_WIMGWYZL = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js"() {} });
2391
2361
 
2392
2362
  //#endregion
2393
2363
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-BSLJB6JE.js
@@ -2395,10 +2365,6 @@ var init_chunk_BSLJB6JE = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2395
2365
  init_chunk_WIMGWYZL();
2396
2366
  } });
2397
2367
 
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
2368
  //#endregion
2403
2369
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js
2404
2370
  var init_chunk_6RKHJ2CP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6RKHJ2CP.js"() {
@@ -2407,9 +2373,7 @@ var init_chunk_6RKHJ2CP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2407
2373
 
2408
2374
  //#endregion
2409
2375
  //#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
- } });
2376
+ var init_chunk_QDGUNRDA = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QDGUNRDA.js"() {} });
2413
2377
 
2414
2378
  //#endregion
2415
2379
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MYLLMFC7.js
@@ -2417,72 +2381,13 @@ var init_chunk_MYLLMFC7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2417
2381
  init_chunk_WIMGWYZL();
2418
2382
  } });
2419
2383
 
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
2384
  //#endregion
2477
2385
  //#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
- } });
2386
+ var init_chunk_N4JUOEMS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-N4JUOEMS.js"() {} });
2481
2387
 
2482
2388
  //#endregion
2483
2389
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js
2484
2390
  var init_chunk_YRJ25UV2 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YRJ25UV2.js"() {
2485
- init_chunk_DEVKGLTN();
2486
2391
  init_chunk_WIMGWYZL();
2487
2392
  } });
2488
2393
 
@@ -2495,7 +2400,6 @@ var init_chunk_Q5ASJ5N7 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2495
2400
  //#endregion
2496
2401
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js
2497
2402
  var init_chunk_WZOX4VKU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WZOX4VKU.js"() {
2498
- init_chunk_DEVKGLTN();
2499
2403
  init_chunk_WIMGWYZL();
2500
2404
  } });
2501
2405
 
@@ -2515,7 +2419,6 @@ var init_chunk_ZRKG4NSC = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2515
2419
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js
2516
2420
  var init_chunk_QJLMYOTX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJLMYOTX.js"() {
2517
2421
  init_chunk_LFJW7BOT();
2518
- init_chunk_ANXBDSUI();
2519
2422
  } });
2520
2423
 
2521
2424
  //#endregion
@@ -2533,14 +2436,9 @@ var init_chunk_2P44HXVH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2533
2436
  //#endregion
2534
2437
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js
2535
2438
  var init_chunk_ZJS5DNQW = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZJS5DNQW.js"() {
2536
- init_chunk_ANXBDSUI();
2537
2439
  init_chunk_WIMGWYZL();
2538
2440
  } });
2539
2441
 
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
2442
  //#endregion
2545
2443
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js
2546
2444
  var init_chunk_AIG3BDKO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-AIG3BDKO.js"() {
@@ -2550,19 +2448,13 @@ var init_chunk_AIG3BDKO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2550
2448
  //#endregion
2551
2449
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js
2552
2450
  var init_chunk_ZPVGOJQV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZPVGOJQV.js"() {
2553
- init_chunk_DH3BPT6T();
2554
2451
  init_chunk_AIG3BDKO();
2555
2452
  } });
2556
2453
 
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
2454
  //#endregion
2562
2455
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js
2563
2456
  var init_chunk_R3YJIBPV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-R3YJIBPV.js"() {
2564
2457
  init_chunk_ZPVGOJQV();
2565
- init_chunk_EMIEIAAH();
2566
2458
  } });
2567
2459
 
2568
2460
  //#endregion
@@ -2589,10 +2481,6 @@ var init_chunk_EVIH3PFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2589
2481
  init_chunk_WIMGWYZL();
2590
2482
  } });
2591
2483
 
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
2484
  //#endregion
2597
2485
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js
2598
2486
  var init_chunk_S52RID4A = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-S52RID4A.js"() {
@@ -2611,10 +2499,6 @@ var init_chunk_57KROWWS = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2611
2499
  init_chunk_WIMGWYZL();
2612
2500
  } });
2613
2501
 
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
2502
  //#endregion
2619
2503
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js
2620
2504
  var init_chunk_ALS6JP7S = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ALS6JP7S.js"() {
@@ -2635,46 +2519,35 @@ var init_chunk_NFFV4IQT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2635
2519
 
2636
2520
  //#endregion
2637
2521
  //#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"() {} });
2522
+ var init_chunk_FDH4IRIM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FDH4IRIM.js"() {} });
2645
2523
 
2646
2524
  //#endregion
2647
2525
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js
2648
2526
  var init_chunk_YDIA5YQI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-YDIA5YQI.js"() {
2649
- init_chunk_QEKOZYJ5();
2650
2527
  init_chunk_WIMGWYZL();
2651
2528
  } });
2652
2529
 
2653
2530
  //#endregion
2654
2531
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js
2655
2532
  var init_chunk_6OEKBHIX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6OEKBHIX.js"() {
2656
- init_chunk_QEKOZYJ5();
2657
2533
  init_chunk_WIMGWYZL();
2658
2534
  } });
2659
2535
 
2660
2536
  //#endregion
2661
2537
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js
2662
2538
  var init_chunk_GDGEDZJG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GDGEDZJG.js"() {
2663
- init_chunk_QEKOZYJ5();
2664
2539
  init_chunk_WIMGWYZL();
2665
2540
  } });
2666
2541
 
2667
2542
  //#endregion
2668
2543
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js
2669
2544
  var init_chunk_XE3XIKTJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XE3XIKTJ.js"() {
2670
- init_chunk_QEKOZYJ5();
2671
2545
  init_chunk_WIMGWYZL();
2672
2546
  } });
2673
2547
 
2674
2548
  //#endregion
2675
2549
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js
2676
2550
  var init_chunk_HVJXDSOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HVJXDSOP.js"() {
2677
- init_chunk_QEKOZYJ5();
2678
2551
  init_chunk_WIMGWYZL();
2679
2552
  } });
2680
2553
 
@@ -2696,14 +2569,9 @@ var init_chunk_P2PQB7KO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2696
2569
  init_chunk_WIMGWYZL();
2697
2570
  } });
2698
2571
 
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
2572
  //#endregion
2704
2573
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js
2705
2574
  var init_chunk_UHZ33J57 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-UHZ33J57.js"() {
2706
- init_chunk_FZHIMCK6();
2707
2575
  init_chunk_WIMGWYZL();
2708
2576
  } });
2709
2577
 
@@ -2731,10 +2599,6 @@ var init_chunk_KVHF7QRD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2731
2599
  init_chunk_WIMGWYZL();
2732
2600
  } });
2733
2601
 
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
2602
  //#endregion
2739
2603
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js
2740
2604
  var init_chunk_G5B2IDWB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-G5B2IDWB.js"() {
@@ -2747,14 +2611,6 @@ var init_chunk_3FKP6OOU = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2747
2611
  init_chunk_WIMGWYZL();
2748
2612
  } });
2749
2613
 
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
2614
  //#endregion
2759
2615
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js
2760
2616
  var init_chunk_LE6I3KC6 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-LE6I3KC6.js"() {
@@ -2769,26 +2625,20 @@ var init_chunk_ENS7GPLZ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2769
2625
 
2770
2626
  //#endregion
2771
2627
  //#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"() {} });
2628
+ var init_chunk_DSLWSGID = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-DSLWSGID.js"() {} });
2779
2629
 
2780
2630
  //#endregion
2781
2631
  //#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);
2632
+ function d$2(...r$7) {
2633
+ return u$12(i$15, r$7);
2784
2634
  }
2785
- var i$18;
2635
+ var i$15;
2786
2636
  var init_chunk_3IFJP4R5 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js"() {
2787
2637
  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;
2638
+ i$15 = (r$7, t$8) => {
2639
+ let a$12 = [[], []];
2640
+ for (let [o$5, e] of r$7.entries()) t$8(e, o$5, r$7) ? a$12[0].push(e) : a$12[1].push(e);
2641
+ return a$12;
2792
2642
  };
2793
2643
  } });
2794
2644
 
@@ -2830,10 +2680,7 @@ var init_chunk_W6ZHPGFP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2830
2680
 
2831
2681
  //#endregion
2832
2682
  //#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
- } });
2683
+ var init_chunk_J3IRE4DI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-J3IRE4DI.js"() {} });
2837
2684
 
2838
2685
  //#endregion
2839
2686
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-RZUYD7QY.js
@@ -2854,20 +2701,12 @@ var init_chunk_4ZFFLFWV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2854
2701
  init_chunk_WIMGWYZL();
2855
2702
  } });
2856
2703
 
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
2704
  //#endregion
2862
2705
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js
2863
2706
  var init_chunk_NS6ZBRLP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NS6ZBRLP.js"() {
2864
2707
  init_chunk_WIMGWYZL();
2865
2708
  } });
2866
2709
 
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
2710
  //#endregion
2872
2711
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js
2873
2712
  var init_chunk_3ZJAREUD = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3ZJAREUD.js"() {
@@ -2911,25 +2750,12 @@ var init_chunk_5S4PYKVY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2911
2750
  init_chunk_WIMGWYZL();
2912
2751
  } });
2913
2752
 
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
2753
  //#endregion
2923
2754
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js
2924
2755
  var init_chunk_PDQFB3TV = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-PDQFB3TV.js"() {
2925
- init_chunk_BZNENX2T();
2926
2756
  init_chunk_WIMGWYZL();
2927
2757
  } });
2928
2758
 
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
2759
  //#endregion
2934
2760
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js
2935
2761
  var init_chunk_GMMLSO2N = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GMMLSO2N.js"() {
@@ -2938,8 +2764,8 @@ var init_chunk_GMMLSO2N = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2938
2764
 
2939
2765
  //#endregion
2940
2766
  //#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);
2767
+ function t$4(...n$2) {
2768
+ return u$12(Object.keys, n$2);
2943
2769
  }
2944
2770
  var init_chunk_5NQBDF4H = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js"() {
2945
2771
  init_chunk_WIMGWYZL();
@@ -2975,18 +2801,6 @@ var init_chunk_P3DXEVTH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2975
2801
  init_chunk_WIMGWYZL();
2976
2802
  } });
2977
2803
 
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
2804
  //#endregion
2991
2805
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js
2992
2806
  var init_chunk_OLNQBNAJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-OLNQBNAJ.js"() {
@@ -2999,51 +2813,10 @@ var init_chunk_QOEIYQAG = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
2999
2813
  init_chunk_WIMGWYZL();
3000
2814
  } });
3001
2815
 
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
2816
  //#endregion
3043
2817
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js
3044
2818
  var init_chunk_T45O7BFY = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-T45O7BFY.js"() {
3045
2819
  init_chunk_LFJW7BOT();
3046
- init_chunk_ANXBDSUI();
3047
2820
  } });
3048
2821
 
3049
2822
  //#endregion
@@ -3052,30 +2825,6 @@ var init_chunk_OP5ZF26D = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3052
2825
  init_chunk_WIMGWYZL();
3053
2826
  } });
3054
2827
 
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
2828
  //#endregion
3080
2829
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js
3081
2830
  var init_chunk_JN2GYTBI = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JN2GYTBI.js"() {
@@ -3095,10 +2844,6 @@ var init_chunk_R7PILVSQ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3095
2844
  init_chunk_WIMGWYZL();
3096
2845
  } });
3097
2846
 
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
2847
  //#endregion
3103
2848
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js
3104
2849
  var init_chunk_B6PG574O = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-B6PG574O.js"() {
@@ -3109,22 +2854,17 @@ var init_chunk_B6PG574O = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3109
2854
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js
3110
2855
  var init_chunk_ICBBHOCR = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ICBBHOCR.js"() {
3111
2856
  init_chunk_LFJW7BOT();
3112
- init_chunk_ANXBDSUI();
3113
2857
  } });
3114
2858
 
3115
2859
  //#endregion
3116
2860
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js
3117
2861
  var init_chunk_JEUUQSE4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-JEUUQSE4.js"() {
3118
- init_chunk_EMIEIAAH();
3119
2862
  init_chunk_AIG3BDKO();
3120
2863
  } });
3121
2864
 
3122
2865
  //#endregion
3123
2866
  //#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
- } });
2867
+ var init_chunk_XPCYQPKH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-XPCYQPKH.js"() {} });
3128
2868
 
3129
2869
  //#endregion
3130
2870
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-FRNNS7AX.js
@@ -3135,7 +2875,6 @@ var init_chunk_FRNNS7AX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3135
2875
  //#endregion
3136
2876
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js
3137
2877
  var init_chunk_QJOWZFYO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-QJOWZFYO.js"() {
3138
- init_chunk_FZHIMCK6();
3139
2878
  init_chunk_WIMGWYZL();
3140
2879
  } });
3141
2880
 
@@ -3178,19 +2917,12 @@ var init_chunk_PVYOMZ3I = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3178
2917
  //#endregion
3179
2918
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js
3180
2919
  var init_chunk_P6LAFGAN = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-P6LAFGAN.js"() {
3181
- init_chunk_ANXBDSUI();
3182
2920
  init_chunk_WIMGWYZL();
3183
2921
  } });
3184
2922
 
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
2923
  //#endregion
3190
2924
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-MQDP6CFS.js
3191
2925
  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
2926
  init_chunk_WIMGWYZL();
3195
2927
  } });
3196
2928
 
@@ -3215,7 +2947,6 @@ var init_chunk_GYH2VCL4 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3215
2947
  //#endregion
3216
2948
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js
3217
2949
  var init_chunk_26ILFTOP = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-26ILFTOP.js"() {
3218
- init_chunk_SGAFZVQH();
3219
2950
  init_chunk_WIMGWYZL();
3220
2951
  } });
3221
2952
 
@@ -3225,14 +2956,9 @@ var init_chunk_2KIKGHAO = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3225
2956
  init_chunk_WIMGWYZL();
3226
2957
  } });
3227
2958
 
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
2959
  //#endregion
3233
2960
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js
3234
2961
  var init_chunk_TSGKWRXX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-TSGKWRXX.js"() {
3235
- init_chunk_ANXBDSUI();
3236
2962
  init_chunk_WIMGWYZL();
3237
2963
  } });
3238
2964
 
@@ -3240,7 +2966,6 @@ var init_chunk_TSGKWRXX = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3240
2966
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js
3241
2967
  var init_chunk_6NCEKWMJ = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-6NCEKWMJ.js"() {
3242
2968
  init_chunk_ZPVGOJQV();
3243
- init_chunk_EMIEIAAH();
3244
2969
  } });
3245
2970
 
3246
2971
  //#endregion
@@ -3279,58 +3004,22 @@ var init_chunk_H4OTHZJB = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3279
3004
  init_chunk_WIMGWYZL();
3280
3005
  } });
3281
3006
 
3282
- //#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");
3293
- }
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;
3298
- }
3299
- function R(n$7 = d$11) {
3300
- return [T$6, n$7];
3301
- }
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
3007
  //#endregion
3313
3008
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js
3314
3009
  var init_chunk_ZTNFU7RH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-ZTNFU7RH.js"() {
3315
3010
  init_chunk_WIMGWYZL();
3316
3011
  } });
3317
3012
 
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
3013
  //#endregion
3323
3014
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js
3324
3015
  var init_chunk_GKXRNLHM = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-GKXRNLHM.js"() {
3325
3016
  init_chunk_LFJW7BOT();
3326
- init_chunk_ANXBDSUI();
3327
3017
  } });
3328
3018
 
3329
3019
  //#endregion
3330
3020
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js
3331
3021
  var init_chunk_NYIWN625 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-NYIWN625.js"() {
3332
3022
  init_chunk_LFJW7BOT();
3333
- init_chunk_ANXBDSUI();
3334
3023
  } });
3335
3024
 
3336
3025
  //#endregion
@@ -3366,7 +3055,6 @@ var init_chunk_VG2NVNXT = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3366
3055
  //#endregion
3367
3056
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js
3368
3057
  var init_chunk_HJSE36CH = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-HJSE36CH.js"() {
3369
- init_chunk_FZHIMCK6();
3370
3058
  init_chunk_WIMGWYZL();
3371
3059
  } });
3372
3060
 
@@ -3384,11 +3072,10 @@ var init_chunk_UHDYHGOF = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_m
3384
3072
 
3385
3073
  //#endregion
3386
3074
  //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js
3387
- var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js"() {
3075
+ var init_dist = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/index.js"() {
3388
3076
  init_chunk_7ZI6JRPB();
3389
3077
  init_chunk_OXJMERKM();
3390
3078
  init_chunk_BSLJB6JE();
3391
- init_chunk_NJXNQM3G();
3392
3079
  init_chunk_6RKHJ2CP();
3393
3080
  init_chunk_QDGUNRDA();
3394
3081
  init_chunk_MYLLMFC7();
@@ -3407,11 +3094,9 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3407
3094
  init_chunk_T4PLMLCP();
3408
3095
  init_chunk_SSDL7ATG();
3409
3096
  init_chunk_EVIH3PFY();
3410
- init_chunk_RBODUO3Q();
3411
3097
  init_chunk_S52RID4A();
3412
3098
  init_chunk_WWPMIW33();
3413
3099
  init_chunk_57KROWWS();
3414
- init_chunk_V6HCOU6T();
3415
3100
  init_chunk_ALS6JP7S();
3416
3101
  init_chunk_QTQTP2VB();
3417
3102
  init_chunk_NFFV4IQT();
@@ -3429,15 +3114,11 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3429
3114
  init_chunk_YNNF733L();
3430
3115
  init_chunk_4YLWJIJ6();
3431
3116
  init_chunk_KVHF7QRD();
3432
- init_chunk_UA6DVSZ3();
3433
3117
  init_chunk_G5B2IDWB();
3434
3118
  init_chunk_3FKP6OOU();
3435
- init_chunk_VFSOOVKJ();
3436
- init_chunk_K3UJMX27();
3437
3119
  init_chunk_LE6I3KC6();
3438
3120
  init_chunk_ENS7GPLZ();
3439
3121
  init_chunk_DSLWSGID();
3440
- init_chunk_R72GEKLP();
3441
3122
  init_chunk_3IFJP4R5();
3442
3123
  init_chunk_J4EKWFDW();
3443
3124
  init_chunk_PGMPBC5Q();
@@ -3449,9 +3130,7 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3449
3130
  init_chunk_RZUYD7QY();
3450
3131
  init_chunk_KI5X74E2();
3451
3132
  init_chunk_4ZFFLFWV();
3452
- init_chunk_C6IMN7SF();
3453
3133
  init_chunk_NS6ZBRLP();
3454
- init_chunk_FMPZ2CLX();
3455
3134
  init_chunk_3ZJAREUD();
3456
3135
  init_chunk_ZXVA7VDE();
3457
3136
  init_chunk_KQRZQWDE();
@@ -3459,9 +3138,7 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3459
3138
  init_chunk_3D3RWAVJ();
3460
3139
  init_chunk_K2FFNW24();
3461
3140
  init_chunk_5S4PYKVY();
3462
- init_chunk_5WKPQX7L();
3463
3141
  init_chunk_PDQFB3TV();
3464
- init_chunk_XMLUDZIW();
3465
3142
  init_chunk_GMMLSO2N();
3466
3143
  init_chunk_5NQBDF4H();
3467
3144
  init_chunk_PFSVCZNE();
@@ -3469,34 +3146,13 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3469
3146
  init_chunk_XUX3ZEXI();
3470
3147
  init_chunk_KZIKCQ56();
3471
3148
  init_chunk_P3DXEVTH();
3472
- init_chunk_6GTAPB47();
3473
- init_chunk_NMC53JVB();
3474
- init_chunk_BZNENX2T();
3475
- init_chunk_PULGOXDA();
3476
3149
  init_chunk_OLNQBNAJ();
3477
3150
  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
3151
  init_chunk_T45O7BFY();
3489
3152
  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
3153
  init_chunk_JN2GYTBI();
3497
3154
  init_chunk_R7PILVSQ();
3498
3155
  init_chunk_HGKLN5KY();
3499
- init_chunk_HJSE3ESO();
3500
3156
  init_chunk_B6PG574O();
3501
3157
  init_chunk_ICBBHOCR();
3502
3158
  init_chunk_JEUUQSE4();
@@ -3516,7 +3172,6 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3516
3172
  init_chunk_GYH2VCL4();
3517
3173
  init_chunk_26ILFTOP();
3518
3174
  init_chunk_2KIKGHAO();
3519
- init_chunk_YVMG2XEU();
3520
3175
  init_chunk_TSGKWRXX();
3521
3176
  init_chunk_6NCEKWMJ();
3522
3177
  init_chunk_ZPVGOJQV();
@@ -3527,10 +3182,7 @@ var init_dist$1 = __esm({ "../../node_modules/.pnpm/remeda@2.21.6/node_modules/r
3527
3182
  init_chunk_XHPQVWZM();
3528
3183
  init_chunk_2OQBQB3V();
3529
3184
  init_chunk_H4OTHZJB();
3530
- init_chunk_XZ6COQKM();
3531
- init_chunk_T5XG33UI();
3532
3185
  init_chunk_ZTNFU7RH();
3533
- init_chunk_OIQJEOF7();
3534
3186
  init_chunk_GKXRNLHM();
3535
3187
  init_chunk_NYIWN625();
3536
3188
  init_chunk_LFJW7BOT();
@@ -3568,8 +3220,8 @@ function transformFilterMatcherToFilterExprs(filterOption) {
3568
3220
  let idExcludes = [];
3569
3221
  let codeIncludes = [];
3570
3222
  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");
3223
+ if (id$1) [idIncludes, idExcludes] = d$2(generalHookFilterMatcherToFilterExprs(id$1, "id") ?? [], (m$10) => m$10.kind === "include");
3224
+ if (code$1) [codeIncludes, codeExcludes] = d$2(generalHookFilterMatcherToFilterExprs(code$1, "code") ?? [], (m$10) => m$10.kind === "include");
3573
3225
  ret.push(...idExcludes);
3574
3226
  ret.push(...codeExcludes);
3575
3227
  let andExprList = [];
@@ -3597,7 +3249,7 @@ function bindingifyFilterExprImpl(expr, list) {
3597
3249
  switch (expr.kind) {
3598
3250
  case "and": {
3599
3251
  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);
3252
+ for (let i$16 = args$1.length - 1; i$16 >= 0; i$16--) bindingifyFilterExprImpl(args$1[i$16], list);
3601
3253
  list.push({
3602
3254
  kind: "And",
3603
3255
  payload: args$1.length
@@ -3606,7 +3258,7 @@ function bindingifyFilterExprImpl(expr, list) {
3606
3258
  }
3607
3259
  case "or": {
3608
3260
  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);
3261
+ for (let i$16 = args$1.length - 1; i$16 >= 0; i$16--) bindingifyFilterExprImpl(args$1[i$16], list);
3610
3262
  list.push({
3611
3263
  kind: "Or",
3612
3264
  payload: args$1.length
@@ -3688,8 +3340,6 @@ function bindingifyRenderChunkFilter(filterOption) {
3688
3340
  }
3689
3341
  var init_bindingify_hook_filter = __esm({ "src/plugin/bindingify-hook-filter.ts"() {
3690
3342
  init_dist();
3691
- init_dist$1();
3692
- init_misc();
3693
3343
  } });
3694
3344
 
3695
3345
  //#endregion
@@ -3716,7 +3366,6 @@ function transformAssetSource(bindingAssetSource$1) {
3716
3366
  function bindingAssetSource(source) {
3717
3367
  return { inner: source };
3718
3368
  }
3719
- var init_asset_source = __esm({ "src/utils/asset-source.ts"() {} });
3720
3369
 
3721
3370
  //#endregion
3722
3371
  //#region src/plugin/plugin-context.ts
@@ -3726,8 +3375,6 @@ var init_plugin_context = __esm({ "src/plugin/plugin-context.ts"() {
3726
3375
  init_logs();
3727
3376
  init_parse_ast_index();
3728
3377
  init_minimal_plugin_context();
3729
- init_asset_source();
3730
- init_misc();
3731
3378
  init_transform_side_effects();
3732
3379
  PluginContextImpl = class extends MinimalPluginContextImpl {
3733
3380
  getModuleInfo;
@@ -3760,10 +3407,10 @@ var init_plugin_context = __esm({ "src/plugin/plugin-context.ts"() {
3760
3407
  data.loadModulePromiseMap.set(id$1, promise$1);
3761
3408
  try {
3762
3409
  await context.load(id$1, bindingifySideEffects(options.moduleSideEffects));
3763
- } catch (e$5) {
3410
+ } catch (e) {
3764
3411
  data.loadModulePromiseMap.delete(id$1);
3765
3412
  data.loadModulePromiseResolveFnMap.delete(id$1);
3766
- throw e$5;
3413
+ throw e;
3767
3414
  }
3768
3415
  return promise$1;
3769
3416
  }
@@ -3844,12 +3491,12 @@ var init_transform_plugin_context = __esm({ "src/plugin/transform-plugin-context
3844
3491
  this.warn = getLogHandler$1(this.warn);
3845
3492
  this.info = getLogHandler$1(this.info);
3846
3493
  }
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));
3494
+ error(e, pos) {
3495
+ if (typeof e === "string") e = { message: e };
3496
+ if (pos) augmentCodeLocation(e, pos, this.moduleSource, this.moduleId);
3497
+ e.id = this.moduleId;
3498
+ e.hook = "transform";
3499
+ return error(logPluginError(normalizeLog(e), this.pluginName));
3853
3500
  }
3854
3501
  getCombinedSourcemap() {
3855
3502
  return JSON.parse(this.inner.getCombinedSourcemap());
@@ -3964,7 +3611,7 @@ function bindingifyTransform(args$1) {
3964
3611
  });
3965
3612
  return {
3966
3613
  code: ret.code,
3967
- map: bindingifySourcemap(normalizeTransformHookSourcemap(id$1, code$1, ret.map)),
3614
+ map: bindingifySourcemap$1(normalizeTransformHookSourcemap(id$1, code$1, ret.map)),
3968
3615
  sideEffects: bindingifySideEffects(moduleOption.moduleSideEffects),
3969
3616
  moduleType: ret.moduleType
3970
3617
  };
@@ -3990,7 +3637,7 @@ function bindingifyLoad(args$1) {
3990
3637
  let map = preProcessSourceMap(ret, id$1);
3991
3638
  return {
3992
3639
  code: ret.code,
3993
- map: bindingifySourcemap(map),
3640
+ map: bindingifySourcemap$1(map),
3994
3641
  moduleType: ret.moduleType,
3995
3642
  sideEffects: bindingifySideEffects(moduleOption.moduleSideEffects)
3996
3643
  };
@@ -4023,12 +3670,8 @@ function bindingifyModuleParsed(args$1) {
4023
3670
  var init_bindingify_build_hooks = __esm({ "src/plugin/bindingify-build-hooks.ts"() {
4024
3671
  init_normalize_hook();
4025
3672
  init_plugin_context$1();
4026
- init_normalized_input_options();
4027
- init_sourcemap();
4028
- init_error();
4029
3673
  init_transform_module_info();
4030
3674
  init_transform_side_effects();
4031
- init_transform_sourcemap();
4032
3675
  init_bindingify_hook_filter();
4033
3676
  init_bindingify_plugin_hook_meta();
4034
3677
  init_plugin_context();
@@ -4050,7 +3693,6 @@ function transformToRenderedModule(bindingRenderedModule) {
4050
3693
  }
4051
3694
  };
4052
3695
  }
4053
- var init_transform_rendered_module = __esm({ "src/utils/transform-rendered-module.ts"() {} });
4054
3696
 
4055
3697
  //#endregion
4056
3698
  //#region src/utils/transform-rendered-chunk.ts
@@ -4093,16 +3735,14 @@ function transformRenderedChunk(chunk) {
4093
3735
  }
4094
3736
  function transformChunkModules(modules) {
4095
3737
  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];
3738
+ for (let i$16 = 0; i$16 < modules.values.length; i$16++) {
3739
+ let key = modules.keys[i$16];
3740
+ const mod = modules.values[i$16];
4099
3741
  result[key] = transformToRenderedModule(mod);
4100
3742
  }
4101
3743
  return result;
4102
3744
  }
4103
- var init_transform_rendered_chunk = __esm({ "src/utils/transform-rendered-chunk.ts"() {
4104
- init_transform_rendered_module();
4105
- } });
3745
+ var init_transform_rendered_chunk = __esm({ "src/utils/transform-rendered-chunk.ts"() {} });
4106
3746
 
4107
3747
  //#endregion
4108
3748
  //#region src/utils/bindingify-output-options.ts
@@ -4114,7 +3754,7 @@ function bindingifyOutputOptions(outputOptions) {
4114
3754
  format: bindingifyFormat(format),
4115
3755
  exports,
4116
3756
  hashCharacters,
4117
- sourcemap: bindingifySourcemap$1(sourcemap),
3757
+ sourcemap: bindingifySourcemap(sourcemap),
4118
3758
  sourcemapDebugIds,
4119
3759
  sourcemapIgnoreList: bindingifySourcemapIgnoreList(sourcemapIgnoreList),
4120
3760
  sourcemapPathTransform,
@@ -4137,7 +3777,6 @@ function bindingifyOutputOptions(outputOptions) {
4137
3777
  inlineDynamicImports: outputOptions.inlineDynamicImports,
4138
3778
  advancedChunks: outputOptions.advancedChunks,
4139
3779
  polyfillRequire: outputOptions.polyfillRequire,
4140
- target: outputOptions.target,
4141
3780
  sanitizeFileName,
4142
3781
  preserveModules,
4143
3782
  virtualDirname,
@@ -4165,7 +3804,7 @@ function bindingifyFormat(format) {
4165
3804
  default: unimplemented(`output.format: ${format}`);
4166
3805
  }
4167
3806
  }
4168
- function bindingifySourcemap$1(sourcemap) {
3807
+ function bindingifySourcemap(sourcemap) {
4169
3808
  switch (sourcemap) {
4170
3809
  case true: return "file";
4171
3810
  case "inline": return "inline";
@@ -4190,8 +3829,6 @@ function bindingifyAssetFilenames(assetFileNames) {
4190
3829
  return assetFileNames;
4191
3830
  }
4192
3831
  var init_bindingify_output_options = __esm({ "src/utils/bindingify-output-options.ts"() {
4193
- init_asset_source();
4194
- init_misc();
4195
3832
  init_transform_rendered_chunk();
4196
3833
  } });
4197
3834
 
@@ -4440,7 +4077,7 @@ function collectChangedBundle(changed, bundle) {
4440
4077
  facadeModuleId: item.facadeModuleId || void 0,
4441
4078
  isDynamicEntry: item.isDynamicEntry,
4442
4079
  moduleIds: item.moduleIds,
4443
- map: bindingifySourcemap(item.map),
4080
+ map: bindingifySourcemap$1(item.map),
4444
4081
  sourcemapFilename: item.sourcemapFileName || void 0,
4445
4082
  preliminaryFilename: item.preliminaryFileName
4446
4083
  });
@@ -4452,9 +4089,6 @@ function collectChangedBundle(changed, bundle) {
4452
4089
  };
4453
4090
  }
4454
4091
  var init_transform_to_rollup_output = __esm({ "src/utils/transform-to-rollup-output.ts"() {
4455
- init_sourcemap();
4456
- init_asset_source();
4457
- init_error();
4458
4092
  init_transform_rendered_chunk();
4459
4093
  } });
4460
4094
 
@@ -4484,7 +4118,7 @@ function bindingifyRenderChunk(args$1) {
4484
4118
  if (!ret.map) return { code: ret.code };
4485
4119
  return {
4486
4120
  code: ret.code,
4487
- map: bindingifySourcemap(ret.map)
4121
+ map: bindingifySourcemap$1(ret.map)
4488
4122
  };
4489
4123
  },
4490
4124
  meta: bindingifyPluginHookMeta(meta),
@@ -4607,10 +4241,7 @@ function bindingifyOutro(args$1) {
4607
4241
  };
4608
4242
  }
4609
4243
  var init_bindingify_output_hooks = __esm({ "src/plugin/bindingify-output-hooks.ts"() {
4610
- init_normalized_input_options();
4611
4244
  init_normalized_output_options();
4612
- init_sourcemap();
4613
- init_error();
4614
4245
  init_normalize_hook();
4615
4246
  init_transform_rendered_chunk();
4616
4247
  init_transform_to_rollup_output();
@@ -4651,6 +4282,40 @@ var init_bindingify_watch_hooks = __esm({ "src/plugin/bindingify-watch-hooks.ts"
4651
4282
 
4652
4283
  //#endregion
4653
4284
  //#region src/plugin/generated/hook-usage.ts
4285
+ let HookUsageKind = /* @__PURE__ */ function(HookUsageKind$1) {
4286
+ HookUsageKind$1[HookUsageKind$1["buildStart"] = 1] = "buildStart";
4287
+ HookUsageKind$1[HookUsageKind$1["resolveId"] = 2] = "resolveId";
4288
+ HookUsageKind$1[HookUsageKind$1["resolveDynamicImport"] = 4] = "resolveDynamicImport";
4289
+ HookUsageKind$1[HookUsageKind$1["load"] = 8] = "load";
4290
+ HookUsageKind$1[HookUsageKind$1["transform"] = 16] = "transform";
4291
+ HookUsageKind$1[HookUsageKind$1["moduleParsed"] = 32] = "moduleParsed";
4292
+ HookUsageKind$1[HookUsageKind$1["buildEnd"] = 64] = "buildEnd";
4293
+ HookUsageKind$1[HookUsageKind$1["renderStart"] = 128] = "renderStart";
4294
+ HookUsageKind$1[HookUsageKind$1["renderError"] = 256] = "renderError";
4295
+ HookUsageKind$1[HookUsageKind$1["renderChunk"] = 512] = "renderChunk";
4296
+ HookUsageKind$1[HookUsageKind$1["augmentChunkHash"] = 1024] = "augmentChunkHash";
4297
+ HookUsageKind$1[HookUsageKind$1["generateBundle"] = 2048] = "generateBundle";
4298
+ HookUsageKind$1[HookUsageKind$1["writeBundle"] = 4096] = "writeBundle";
4299
+ HookUsageKind$1[HookUsageKind$1["closeBundle"] = 8192] = "closeBundle";
4300
+ HookUsageKind$1[HookUsageKind$1["watchChange"] = 16384] = "watchChange";
4301
+ HookUsageKind$1[HookUsageKind$1["closeWatcher"] = 32768] = "closeWatcher";
4302
+ HookUsageKind$1[HookUsageKind$1["transformAst"] = 65536] = "transformAst";
4303
+ HookUsageKind$1[HookUsageKind$1["banner"] = 131072] = "banner";
4304
+ HookUsageKind$1[HookUsageKind$1["footer"] = 262144] = "footer";
4305
+ HookUsageKind$1[HookUsageKind$1["intro"] = 524288] = "intro";
4306
+ HookUsageKind$1[HookUsageKind$1["outro"] = 1048576] = "outro";
4307
+ return HookUsageKind$1;
4308
+ }({});
4309
+ var HookUsage = class {
4310
+ bitflag = BigInt(0);
4311
+ constructor() {}
4312
+ union(kind) {
4313
+ this.bitflag |= BigInt(kind);
4314
+ }
4315
+ inner() {
4316
+ return Number(this.bitflag);
4317
+ }
4318
+ };
4654
4319
  function extractHookUsage(plugin) {
4655
4320
  let hookUsage = new HookUsage();
4656
4321
  if (plugin.buildStart) hookUsage.union(HookUsageKind.buildStart);
@@ -4675,43 +4340,6 @@ function extractHookUsage(plugin) {
4675
4340
  if (plugin.outro) hookUsage.union(HookUsageKind.outro);
4676
4341
  return hookUsage;
4677
4342
  }
4678
- var HookUsageKind, HookUsage;
4679
- var init_hook_usage = __esm({ "src/plugin/generated/hook-usage.ts"() {
4680
- HookUsageKind = /* @__PURE__ */ function(HookUsageKind$1) {
4681
- HookUsageKind$1[HookUsageKind$1["buildStart"] = 1] = "buildStart";
4682
- HookUsageKind$1[HookUsageKind$1["resolveId"] = 2] = "resolveId";
4683
- HookUsageKind$1[HookUsageKind$1["resolveDynamicImport"] = 4] = "resolveDynamicImport";
4684
- HookUsageKind$1[HookUsageKind$1["load"] = 8] = "load";
4685
- HookUsageKind$1[HookUsageKind$1["transform"] = 16] = "transform";
4686
- HookUsageKind$1[HookUsageKind$1["moduleParsed"] = 32] = "moduleParsed";
4687
- HookUsageKind$1[HookUsageKind$1["buildEnd"] = 64] = "buildEnd";
4688
- HookUsageKind$1[HookUsageKind$1["renderStart"] = 128] = "renderStart";
4689
- HookUsageKind$1[HookUsageKind$1["renderError"] = 256] = "renderError";
4690
- HookUsageKind$1[HookUsageKind$1["renderChunk"] = 512] = "renderChunk";
4691
- HookUsageKind$1[HookUsageKind$1["augmentChunkHash"] = 1024] = "augmentChunkHash";
4692
- HookUsageKind$1[HookUsageKind$1["generateBundle"] = 2048] = "generateBundle";
4693
- HookUsageKind$1[HookUsageKind$1["writeBundle"] = 4096] = "writeBundle";
4694
- HookUsageKind$1[HookUsageKind$1["closeBundle"] = 8192] = "closeBundle";
4695
- HookUsageKind$1[HookUsageKind$1["watchChange"] = 16384] = "watchChange";
4696
- HookUsageKind$1[HookUsageKind$1["closeWatcher"] = 32768] = "closeWatcher";
4697
- HookUsageKind$1[HookUsageKind$1["transformAst"] = 65536] = "transformAst";
4698
- HookUsageKind$1[HookUsageKind$1["banner"] = 131072] = "banner";
4699
- HookUsageKind$1[HookUsageKind$1["footer"] = 262144] = "footer";
4700
- HookUsageKind$1[HookUsageKind$1["intro"] = 524288] = "intro";
4701
- HookUsageKind$1[HookUsageKind$1["outro"] = 1048576] = "outro";
4702
- return HookUsageKind$1;
4703
- }({});
4704
- HookUsage = class {
4705
- bitflag = BigInt(0);
4706
- constructor() {}
4707
- union(kind) {
4708
- this.bitflag |= BigInt(kind);
4709
- }
4710
- inner() {
4711
- return Number(this.bitflag);
4712
- }
4713
- };
4714
- } });
4715
4343
 
4716
4344
  //#endregion
4717
4345
  //#region src/plugin/bindingify-plugin.ts
@@ -4824,8 +4452,8 @@ function wrapHandlers(plugin) {
4824
4452
  if (handler) plugin[hookName] = async (...args$1) => {
4825
4453
  try {
4826
4454
  return await handler(...args$1);
4827
- } catch (e$5) {
4828
- return error(logPluginError(e$5, plugin.name, {
4455
+ } catch (e) {
4456
+ return error(logPluginError(e, plugin.name, {
4829
4457
  hook: hookName,
4830
4458
  id: hookName === "transform" ? args$1[2] : void 0
4831
4459
  }));
@@ -4839,7 +4467,6 @@ var init_bindingify_plugin = __esm({ "src/plugin/bindingify-plugin.ts"() {
4839
4467
  init_bindingify_output_hooks();
4840
4468
  init_logs();
4841
4469
  init_bindingify_watch_hooks();
4842
- init_hook_usage();
4843
4470
  } });
4844
4471
 
4845
4472
  //#endregion
@@ -4945,7 +4572,6 @@ function normalizedStringOrRegex(pattern) {
4945
4572
  function isReadonlyArray(input) {
4946
4573
  return Array.isArray(input);
4947
4574
  }
4948
- var init_normalize_string_or_regex = __esm({ "src/utils/normalize-string-or-regex.ts"() {} });
4949
4575
 
4950
4576
  //#endregion
4951
4577
  //#region src/utils/bindingify-input-options.ts
@@ -5082,25 +4708,12 @@ function bindingifyInput(input) {
5082
4708
  }
5083
4709
  function bindingifyJsx(input) {
5084
4710
  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;
4711
+ case false: return BindingJsx.Disable;
4712
+ case "react": return BindingJsx.React;
4713
+ case "react-jsx": return BindingJsx.ReactJsx;
4714
+ case "preserve": return BindingJsx.Preserve;
4715
+ default: return void 0;
5090
4716
  }
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
4717
  }
5105
4718
  function bindingifyWatch(watch$1) {
5106
4719
  if (watch$1) return {
@@ -5142,8 +4755,6 @@ var init_bindingify_input_options = __esm({ "src/utils/bindingify-input-options.
5142
4755
  init_utils();
5143
4756
  init_bindingify_plugin();
5144
4757
  init_plugin_context_data();
5145
- init_misc();
5146
- init_normalize_string_or_regex();
5147
4758
  init_transform_side_effects();
5148
4759
  } });
5149
4760
 
@@ -5171,7 +4782,7 @@ function createComposedPlugin(plugins) {
5171
4782
  plugins.forEach((plugin, index) => {
5172
4783
  const pluginName = plugin.name || `Anonymous(index: ${index})`;
5173
4784
  names.push(pluginName);
5174
- t$5(plugin).forEach((pluginProp) => {
4785
+ t$4(plugin).forEach((pluginProp) => {
5175
4786
  if (isUnsupportedHooks(pluginProp)) throw new Error(`Failed to compose js plugins. Plugin ${pluginName} has an unsupported hook: ${pluginProp}`);
5176
4787
  if (!isPluginHookName(pluginProp)) return;
5177
4788
  switch (pluginProp) {
@@ -5279,7 +4890,7 @@ function createComposedPlugin(plugins) {
5279
4890
  }
5280
4891
  };
5281
4892
  }
5282
- t$5(batchedHooks).forEach((hookName) => {
4893
+ t$4(batchedHooks).forEach((hookName) => {
5283
4894
  switch (hookName) {
5284
4895
  case "resolveId": break;
5285
4896
  case "buildStart": {
@@ -5420,7 +5031,7 @@ function createComposedPlugin(plugins) {
5420
5031
  function isComposablePlugin(plugin) {
5421
5032
  if (plugin instanceof BuiltinPlugin) return false;
5422
5033
  if ("_parallel" in plugin) return false;
5423
- const hasNotComposablePattern = t$5(plugin).some((hookName) => {
5034
+ const hasNotComposablePattern = t$4(plugin).some((hookName) => {
5424
5035
  if (!isPluginHookName(hookName)) return false;
5425
5036
  const OK_TO_COMPOSE = false;
5426
5037
  if (isUnsupportedHooks(hookName)) return !OK_TO_COMPOSE;
@@ -5456,10 +5067,9 @@ function composeJsPlugins(plugins) {
5456
5067
  }
5457
5068
  var unsupportedHookName, unsupportedHooks;
5458
5069
  var init_compose_js_plugins = __esm({ "src/utils/compose-js-plugins.ts"() {
5459
- init_dist$1();
5070
+ init_dist();
5460
5071
  init_constructors();
5461
5072
  init_plugin_context$1();
5462
- init_misc();
5463
5073
  init_normalize_hook();
5464
5074
  init_plugin();
5465
5075
  unsupportedHookName = [
@@ -5503,7 +5113,7 @@ async function initializeParallelPlugins(plugins) {
5503
5113
  };
5504
5114
  }
5505
5115
  function initializeWorkers(registryId, count, pluginInfos) {
5506
- return Promise.all(Array.from({ length: count }, (_, i$21) => initializeWorker(registryId, pluginInfos, i$21)));
5116
+ return Promise.all(Array.from({ length: count }, (_, i$16) => initializeWorker(registryId, pluginInfos, i$16)));
5507
5117
  }
5508
5118
  async function initializeWorker(registryId, pluginInfos, threadNumber) {
5509
5119
  const urlString = import.meta.resolve("#parallel-plugin-worker");
@@ -5523,9 +5133,9 @@ async function initializeWorker(registryId, pluginInfos, threadNumber) {
5523
5133
  });
5524
5134
  });
5525
5135
  return worker;
5526
- } catch (e$5) {
5136
+ } catch (e) {
5527
5137
  worker?.terminate();
5528
- throw e$5;
5138
+ throw e;
5529
5139
  }
5530
5140
  }
5531
5141
  var availableParallelism;
@@ -5571,9 +5181,9 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
5571
5181
  onLog,
5572
5182
  stopWorkers: parallelPluginInitResult?.stopWorkers
5573
5183
  };
5574
- } catch (e$5) {
5184
+ } catch (e) {
5575
5185
  await parallelPluginInitResult?.stopWorkers();
5576
- throw e$5;
5186
+ throw e;
5577
5187
  }
5578
5188
  }
5579
5189
  var init_create_bundler_option = __esm({ "src/utils/create-bundler-option.ts"() {
@@ -5601,9 +5211,9 @@ async function createBundler(inputOptions, outputOptions, isClose) {
5601
5211
  asyncRuntimeShutdown = true;
5602
5212
  }
5603
5213
  };
5604
- } catch (e$5) {
5214
+ } catch (e) {
5605
5215
  await option.stopWorkers?.();
5606
- throw e$5;
5216
+ throw e;
5607
5217
  }
5608
5218
  }
5609
5219
  var asyncRuntimeShutdown;
@@ -5703,7 +5313,6 @@ var init_build = __esm({ "src/api/build.ts"() {
5703
5313
  //#region src/api/watch/watch-emitter.ts
5704
5314
  var WatcherEmitter;
5705
5315
  var init_watch_emitter = __esm({ "src/api/watch/watch-emitter.ts"() {
5706
- init_error();
5707
5316
  WatcherEmitter = class {
5708
5317
  listeners = new Map();
5709
5318
  timer;
@@ -5802,7 +5411,6 @@ var init_watcher = __esm({ "src/api/watch/watcher.ts"() {
5802
5411
  init_logs();
5803
5412
  init_plugin_driver();
5804
5413
  init_create_bundler_option();
5805
- init_misc();
5806
5414
  Watcher = class {
5807
5415
  closed;
5808
5416
  inner;
@@ -5850,7 +5458,6 @@ var init_watch = __esm({ "src/api/watch/index.ts"() {
5850
5458
  function defineConfig(config) {
5851
5459
  return config;
5852
5460
  }
5853
- var init_define_config = __esm({ "src/utils/define-config.ts"() {} });
5854
5461
 
5855
5462
  //#endregion
5856
5463
  //#region src/index.ts
@@ -5859,9 +5466,8 @@ var init_src = __esm({ "src/index.ts"() {
5859
5466
  init_build();
5860
5467
  init_rolldown();
5861
5468
  init_watch();
5862
- init_define_config();
5863
5469
  VERSION = version;
5864
5470
  } });
5865
5471
 
5866
5472
  //#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 };
5473
+ 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_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 };