@storm-software/git-tools 2.104.22 → 2.104.24

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 (69) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-YOOFQTHQ.cjs → chunk-2VXCUCEZ.cjs} +11 -11
  3. package/bin/{chunk-OFITARKF.js → chunk-36LKPFUQ.js} +2 -2
  4. package/bin/{chunk-BJKNCMMM.js → chunk-3FXE6PFB.js} +23 -18
  5. package/bin/{chunk-WNWAPROL.cjs → chunk-7W7ATPCK.cjs} +40 -40
  6. package/bin/{chunk-LTA6IYNE.cjs → chunk-7ZDMYM62.cjs} +32 -32
  7. package/bin/{chunk-27AR76DX.cjs → chunk-B4AHC7SB.cjs} +4 -4
  8. package/bin/{chunk-CRYAP7RE.cjs → chunk-BIPBLNQ3.cjs} +138 -138
  9. package/bin/{chunk-TZRRTI4N.js → chunk-CVP4WG2Z.js} +2 -2
  10. package/bin/{chunk-HXL4NOQT.js → chunk-CXZ3HN6K.js} +2 -2
  11. package/bin/{chunk-354JJC4K.js → chunk-DLQZJ7FN.js} +1 -1
  12. package/bin/{chunk-SDNW6SS2.js → chunk-EASNK3LV.js} +2 -2
  13. package/bin/{chunk-YXAVKYVW.js → chunk-FDKVBCX2.js} +2 -2
  14. package/bin/{chunk-FGQZUMQ3.js → chunk-FJ74A4SE.js} +1 -1
  15. package/bin/{chunk-WKKTA2UM.cjs → chunk-IP7R4VSX.cjs} +44 -44
  16. package/bin/{chunk-V6WDK6IE.js → chunk-JFE5MPP2.js} +1 -1
  17. package/bin/{chunk-DKTCGII6.cjs → chunk-K6YAL4TB.cjs} +153 -153
  18. package/bin/{chunk-AMTARM2Z.js → chunk-KHYHDETD.js} +2 -2
  19. package/bin/{chunk-UQVAG5OC.cjs → chunk-MFN7PYKI.cjs} +2 -2
  20. package/bin/{chunk-U5QZOMRT.js → chunk-OKO3F3UL.js} +2 -2
  21. package/bin/{chunk-LQJ6KDDO.cjs → chunk-RVRLKRKD.cjs} +5 -5
  22. package/bin/{chunk-7B3YMQE6.js → chunk-SID27K7J.js} +1 -1
  23. package/bin/{chunk-KHKVDYDW.cjs → chunk-UL56477Y.cjs} +388 -388
  24. package/bin/{chunk-UGYHVU7F.cjs → chunk-WNHMVZY5.cjs} +3 -3
  25. package/bin/{chunk-V6NLMXSV.cjs → chunk-WUL6TYSR.cjs} +2241 -2236
  26. package/bin/{dist-FXWEQRZF.cjs → dist-4ALMBSAL.cjs} +8 -8
  27. package/bin/{dist-HFZWZHS5.js → dist-5KOBYOV7.js} +8 -8
  28. package/bin/{dist-7F5VNBKN.cjs → dist-MDWXQEBZ.cjs} +1038 -1038
  29. package/bin/{dist-KNLG2TFG.js → dist-Q2IVZAYB.js} +2 -2
  30. package/bin/{esm-S6P5YNIZ.js → esm-3PNM7UJX.js} +1 -1
  31. package/bin/{esm-XL3G4SE4.cjs → esm-T56GBGG2.cjs} +46 -46
  32. package/bin/git.cjs +4544 -4544
  33. package/bin/git.js +10 -10
  34. package/bin/json5-IRLY7H76.js +10 -0
  35. package/bin/json5-LHQ5HHCO.cjs +10 -0
  36. package/bin/jsonc-BQZGN7Y6.cjs +15 -0
  37. package/bin/{jsonc-7U27ED2O.js → jsonc-DEJXQ5QE.js} +3 -3
  38. package/bin/{multipart-parser-NZY4RMG3.cjs → multipart-parser-IHZY5K6D.cjs} +11 -11
  39. package/bin/{multipart-parser-NHF4Y7PF.js → multipart-parser-PL2XSSL4.js} +2 -2
  40. package/bin/post-checkout.cjs +22 -22
  41. package/bin/post-checkout.js +10 -10
  42. package/bin/post-commit.cjs +22 -22
  43. package/bin/post-commit.js +10 -10
  44. package/bin/post-merge.cjs +22 -22
  45. package/bin/post-merge.js +10 -10
  46. package/bin/pre-commit.cjs +20 -20
  47. package/bin/pre-commit.js +9 -9
  48. package/bin/pre-install.cjs +19 -19
  49. package/bin/pre-install.js +9 -9
  50. package/bin/pre-push.cjs +27 -27
  51. package/bin/pre-push.js +10 -10
  52. package/bin/prepare.cjs +17 -17
  53. package/bin/prepare.js +9 -9
  54. package/bin/toml-FF4F6FQX.cjs +10 -0
  55. package/bin/toml-NXBB2GJX.js +10 -0
  56. package/bin/{utils-RAQ3J2SN.js → utils-2PZRBJD7.js} +2 -2
  57. package/bin/{utils-MEBHFH3K.cjs → utils-DOI5EHVH.cjs} +10 -10
  58. package/bin/version-warning.cjs +15 -15
  59. package/bin/version-warning.js +9 -9
  60. package/bin/yaml-NFEPNYOG.js +10 -0
  61. package/bin/yaml-NMSOAIOC.cjs +10 -0
  62. package/package.json +38 -13
  63. package/bin/json5-ACFZDPQL.cjs +0 -10
  64. package/bin/json5-H4Z3KHBE.js +0 -10
  65. package/bin/jsonc-Z5T3AZVG.cjs +0 -15
  66. package/bin/toml-G5RUU775.cjs +0 -10
  67. package/bin/toml-H3DD35JR.js +0 -10
  68. package/bin/yaml-6XBWUX2S.js +0 -10
  69. package/bin/yaml-R6G5Y6VG.cjs +0 -10
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-2.104.22-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-2.104.23-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkUQVAG5OCcjs = require('./chunk-UQVAG5OC.cjs');
4
+ var _chunkMFN7PYKIcjs = require('./chunk-MFN7PYKI.cjs');
5
5
 
6
6
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.9388d834.mjs
7
- _chunkUQVAG5OCcjs.init_cjs_shims.call(void 0, );
7
+ _chunkMFN7PYKIcjs.init_cjs_shims.call(void 0, );
8
8
  var b = /^(?:( )+|\t+)/;
9
9
  var d = "space";
10
10
  var h = "tab";
@@ -30,26 +30,26 @@ function g(e, t) {
30
30
  }
31
31
  return n;
32
32
  }
33
- _chunkUQVAG5OCcjs.__name.call(void 0, g, "g");
33
+ _chunkMFN7PYKIcjs.__name.call(void 0, g, "g");
34
34
  function T(e, t) {
35
35
  return (e === d ? "s" : "t") + String(t);
36
36
  }
37
- _chunkUQVAG5OCcjs.__name.call(void 0, T, "T");
37
+ _chunkMFN7PYKIcjs.__name.call(void 0, T, "T");
38
38
  function w(e) {
39
39
  const n = e[0] === "s" ? d : h, i = Number(e.slice(1));
40
40
  return { type: n, amount: i };
41
41
  }
42
- _chunkUQVAG5OCcjs.__name.call(void 0, w, "w");
42
+ _chunkMFN7PYKIcjs.__name.call(void 0, w, "w");
43
43
  function E(e) {
44
44
  let t, n = 0, i = 0;
45
45
  for (const [s, [o, c]] of e) (o > n || o === n && c > i) && (n = o, i = c, t = s);
46
46
  return t;
47
47
  }
48
- _chunkUQVAG5OCcjs.__name.call(void 0, E, "E");
48
+ _chunkMFN7PYKIcjs.__name.call(void 0, E, "E");
49
49
  function S(e, t) {
50
50
  return (e === d ? " " : " ").repeat(t);
51
51
  }
52
- _chunkUQVAG5OCcjs.__name.call(void 0, S, "S");
52
+ _chunkMFN7PYKIcjs.__name.call(void 0, S, "S");
53
53
  function _(e) {
54
54
  if (typeof e != "string") throw new TypeError("Expected a string");
55
55
  let t = g(e, true);
@@ -58,7 +58,7 @@ function _(e) {
58
58
  let i, s = 0, o = "";
59
59
  return n !== void 0 && ({ type: i, amount: s } = w(n), o = S(i, s)), { amount: s, type: i, indent: o };
60
60
  }
61
- _chunkUQVAG5OCcjs.__name.call(void 0, _, "_");
61
+ _chunkMFN7PYKIcjs.__name.call(void 0, _, "_");
62
62
  var m = Symbol.for("__confbox_fmt__");
63
63
  var k = /^(\s+)/;
64
64
  var v = /(\s+)$/;
@@ -66,17 +66,17 @@ function x(e, t = {}) {
66
66
  const n = t.indent === void 0 && t.preserveIndentation !== false && e.slice(0, _optionalChain([t, 'optionalAccess', _2 => _2.sampleSize]) || 1024), i = t.preserveWhitespace === false ? void 0 : { start: _optionalChain([k, 'access', _3 => _3.exec, 'call', _4 => _4(e), 'optionalAccess', _5 => _5[0]]) || "", end: _optionalChain([v, 'access', _6 => _6.exec, 'call', _7 => _7(e), 'optionalAccess', _8 => _8[0]]) || "" };
67
67
  return { sample: n, whiteSpace: i };
68
68
  }
69
- _chunkUQVAG5OCcjs.__name.call(void 0, x, "x");
69
+ _chunkMFN7PYKIcjs.__name.call(void 0, x, "x");
70
70
  function N(e, t, n) {
71
71
  !t || typeof t != "object" || Object.defineProperty(t, m, { enumerable: false, configurable: true, writable: true, value: x(e, n) });
72
72
  }
73
- _chunkUQVAG5OCcjs.__name.call(void 0, N, "N");
73
+ _chunkMFN7PYKIcjs.__name.call(void 0, N, "N");
74
74
  function C(e, t) {
75
75
  if (!e || typeof e != "object" || !(m in e)) return { indent: _optionalChain([t, 'optionalAccess', _9 => _9.indent]), whitespace: { start: "", end: "" } };
76
76
  const n = e[m];
77
77
  return { indent: _optionalChain([t, 'optionalAccess', _10 => _10.indent]) || _(n.sample || "").indent, whitespace: n.whiteSpace || { start: "", end: "" } };
78
78
  }
79
- _chunkUQVAG5OCcjs.__name.call(void 0, C, "C");
79
+ _chunkMFN7PYKIcjs.__name.call(void 0, C, "C");
80
80
 
81
81
 
82
82
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  C,
3
3
  N
4
- } from "./chunk-7B3YMQE6.js";
4
+ } from "./chunk-SID27K7J.js";
5
5
  import {
6
6
  __name,
7
7
  init_esm_shims
8
- } from "./chunk-SDNW6SS2.js";
8
+ } from "./chunk-EASNK3LV.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/yaml.mjs
11
11
  init_esm_shims();
@@ -8,14 +8,14 @@ import {
8
8
  join,
9
9
  readPackageJSON,
10
10
  resolve
11
- } from "./chunk-HXL4NOQT.js";
11
+ } from "./chunk-CXZ3HN6K.js";
12
12
  import {
13
13
  __commonJS,
14
14
  __name,
15
15
  __require,
16
16
  __toESM,
17
17
  init_esm_shims
18
- } from "./chunk-SDNW6SS2.js";
18
+ } from "./chunk-EASNK3LV.js";
19
19
 
20
20
  // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
21
21
  var require_color_name = __commonJS({
@@ -39707,7 +39707,7 @@ var stormWorkspaceConfigSchema = z.object({
39707
39707
  "staging",
39708
39708
  "production"
39709
39709
  ]).default("production").describe("The current runtime environment mode for the package"),
39710
- workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
39710
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
39711
39711
  externalPackagePatterns: z.array(z.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
39712
39712
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
39713
39713
  directories: WorkspaceDirectoryConfigSchema,
@@ -40673,11 +40673,11 @@ function interpolate(target, source = {}, parse3 = (v) => v) {
40673
40673
  __name(interpolate, "interpolate");
40674
40674
  var _normalize = /* @__PURE__ */ __name((p) => p?.replace(/\\/g, "/"), "_normalize");
40675
40675
  var ASYNC_LOADERS = {
40676
- ".yaml": /* @__PURE__ */ __name(() => import("./yaml-6XBWUX2S.js").then((r) => r.parseYAML), ".yaml"),
40677
- ".yml": /* @__PURE__ */ __name(() => import("./yaml-6XBWUX2S.js").then((r) => r.parseYAML), ".yml"),
40678
- ".jsonc": /* @__PURE__ */ __name(() => import("./jsonc-7U27ED2O.js").then((r) => r.parseJSONC), ".jsonc"),
40679
- ".json5": /* @__PURE__ */ __name(() => import("./json5-H4Z3KHBE.js").then((r) => r.parseJSON5), ".json5"),
40680
- ".toml": /* @__PURE__ */ __name(() => import("./toml-H3DD35JR.js").then((r) => r.parseTOML), ".toml")
40676
+ ".yaml": /* @__PURE__ */ __name(() => import("./yaml-NFEPNYOG.js").then((r) => r.parseYAML), ".yaml"),
40677
+ ".yml": /* @__PURE__ */ __name(() => import("./yaml-NFEPNYOG.js").then((r) => r.parseYAML), ".yml"),
40678
+ ".jsonc": /* @__PURE__ */ __name(() => import("./jsonc-DEJXQ5QE.js").then((r) => r.parseJSONC), ".jsonc"),
40679
+ ".json5": /* @__PURE__ */ __name(() => import("./json5-IRLY7H76.js").then((r) => r.parseJSON5), ".json5"),
40680
+ ".toml": /* @__PURE__ */ __name(() => import("./toml-NXBB2GJX.js").then((r) => r.parseTOML), ".toml")
40681
40681
  };
40682
40682
  var SUPPORTED_EXTENSIONS = [
40683
40683
  // with jiti
@@ -40879,8 +40879,8 @@ async function resolveConfig(source, options, sourceOptions = {}) {
40879
40879
  }
40880
40880
  const _merger = options.merger || defu;
40881
40881
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
40882
- const { downloadTemplate } = await import("./dist-HFZWZHS5.js");
40883
- const { digest } = await import("./dist-KNLG2TFG.js");
40882
+ const { downloadTemplate } = await import("./dist-5KOBYOV7.js");
40883
+ const { digest } = await import("./dist-Q2IVZAYB.js");
40884
40884
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
40885
40885
  let cloneDir;
40886
40886
  const localNodeModules = resolve(options.cwd, "node_modules");
@@ -41018,7 +41018,7 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
41018
41018
  }
41019
41019
  }
41020
41020
  }
41021
- if (!config) {
41021
+ if (!config || Object.keys(config).length === 0) {
41022
41022
  return void 0;
41023
41023
  }
41024
41024
  config.configFile = configFile;
@@ -41491,7 +41491,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
41491
41491
  // ../config-tools/src/create-storm-config.ts
41492
41492
  var _extension_cache = /* @__PURE__ */ new WeakMap();
41493
41493
  var _static_cache = void 0;
41494
- var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
41494
+ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
41495
41495
  let result;
41496
41496
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
41497
41497
  let _workspaceRoot = workspaceRoot;
@@ -41499,13 +41499,18 @@ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, sc
41499
41499
  _workspaceRoot = findWorkspaceRoot();
41500
41500
  }
41501
41501
  const configEnv = getConfigEnv();
41502
- const defaultConfig = await getDefaultConfig(_workspaceRoot);
41503
41502
  const configFile = await getConfigFile(_workspaceRoot);
41504
- if (!configFile && !skipLogs) {
41505
- writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
41506
- logLevel: "all"
41507
- });
41503
+ if (!configFile) {
41504
+ if (!skipLogs) {
41505
+ writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
41506
+ logLevel: "all"
41507
+ });
41508
+ }
41509
+ if (useDefault === false) {
41510
+ return void 0;
41511
+ }
41508
41512
  }
41513
+ const defaultConfig = await getDefaultConfig(_workspaceRoot);
41509
41514
  result = await stormWorkspaceConfigSchema.parseAsync(defu(configEnv, configFile, defaultConfig));
41510
41515
  result.workspaceRoot ??= _workspaceRoot;
41511
41516
  } else {
@@ -41538,7 +41543,7 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
41538
41543
  return extension;
41539
41544
  }, "createConfigExtension");
41540
41545
  var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
41541
- const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
41546
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs, true);
41542
41547
  setConfigEnv(config);
41543
41548
  if (!skipLogs && !config.skipConfigLogging) {
41544
41549
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkYOOFQTHQcjs = require('./chunk-YOOFQTHQ.cjs');
4
+ var _chunk2VXCUCEZcjs = require('./chunk-2VXCUCEZ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkUQVAG5OCcjs = require('./chunk-UQVAG5OC.cjs');
8
+ var _chunkMFN7PYKIcjs = require('./chunk-MFN7PYKI.cjs');
9
9
 
10
10
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/toml.mjs
11
- _chunkUQVAG5OCcjs.init_cjs_shims.call(void 0, );
11
+ _chunkMFN7PYKIcjs.init_cjs_shims.call(void 0, );
12
12
  var F = Object.defineProperty;
13
- var V = /* @__PURE__ */ _chunkUQVAG5OCcjs.__name.call(void 0, (e, n, t) => n in e ? F(e, n, { enumerable: true, configurable: true, writable: true, value: t }) : e[n] = t, "V");
14
- var O = /* @__PURE__ */ _chunkUQVAG5OCcjs.__name.call(void 0, (e, n, t) => (V(e, typeof n != "symbol" ? n + "" : n, t), t), "O");
15
- var L = /* @__PURE__ */ _chunkUQVAG5OCcjs.__name.call(void 0, (e, n, t) => {
13
+ var V = /* @__PURE__ */ _chunkMFN7PYKIcjs.__name.call(void 0, (e, n, t) => n in e ? F(e, n, { enumerable: true, configurable: true, writable: true, value: t }) : e[n] = t, "V");
14
+ var O = /* @__PURE__ */ _chunkMFN7PYKIcjs.__name.call(void 0, (e, n, t) => (V(e, typeof n != "symbol" ? n + "" : n, t), t), "O");
15
+ var L = /* @__PURE__ */ _chunkMFN7PYKIcjs.__name.call(void 0, (e, n, t) => {
16
16
  if (!n.has(e)) throw TypeError("Cannot " + t);
17
17
  }, "L");
18
- var d = /* @__PURE__ */ _chunkUQVAG5OCcjs.__name.call(void 0, (e, n, t) => (L(e, n, "read from private field"), t ? t.call(e) : n.get(e)), "d");
19
- var T = /* @__PURE__ */ _chunkUQVAG5OCcjs.__name.call(void 0, (e, n, t) => {
18
+ var d = /* @__PURE__ */ _chunkMFN7PYKIcjs.__name.call(void 0, (e, n, t) => (L(e, n, "read from private field"), t ? t.call(e) : n.get(e)), "d");
19
+ var T = /* @__PURE__ */ _chunkMFN7PYKIcjs.__name.call(void 0, (e, n, t) => {
20
20
  if (n.has(e)) throw TypeError("Cannot add the same private member more than once");
21
21
  n instanceof WeakSet ? n.add(e) : n.set(e, t);
22
22
  }, "T");
23
- var w = /* @__PURE__ */ _chunkUQVAG5OCcjs.__name.call(void 0, (e, n, t, i) => (L(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), "w");
23
+ var w = /* @__PURE__ */ _chunkMFN7PYKIcjs.__name.call(void 0, (e, n, t, i) => (L(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), "w");
24
24
  var h;
25
25
  var m;
26
26
  var s;
@@ -28,7 +28,7 @@ function U(e, n) {
28
28
  let t = e.slice(0, n).split(/\r\n|\n|\r/g);
29
29
  return [t.length, t.pop().length + 1];
30
30
  }
31
- _chunkUQVAG5OCcjs.__name.call(void 0, U, "U");
31
+ _chunkMFN7PYKIcjs.__name.call(void 0, U, "U");
32
32
  function X(e, n, t) {
33
33
  let i = e.split(/\r\n|\n|\r/g), l = "", r = (Math.log10(n + 1) | 0) + 1;
34
34
  for (let f = n - 1; f <= n + 1; f++) {
@@ -39,10 +39,10 @@ function X(e, n, t) {
39
39
  }
40
40
  return l;
41
41
  }
42
- _chunkUQVAG5OCcjs.__name.call(void 0, X, "X");
42
+ _chunkMFN7PYKIcjs.__name.call(void 0, X, "X");
43
43
  var u = class extends Error {
44
44
  static {
45
- _chunkUQVAG5OCcjs.__name.call(void 0, this, "u");
45
+ _chunkMFN7PYKIcjs.__name.call(void 0, this, "u");
46
46
  }
47
47
  constructor(t, i) {
48
48
  const [l, r] = U(i.toml, i.ptr), f = X(i.toml, l, r);
@@ -60,7 +60,7 @@ function x(e, n = 0, t = e.length) {
60
60
  `, n);
61
61
  return e[i - 1] === "\r" && i--, i <= t ? i : -1;
62
62
  }
63
- _chunkUQVAG5OCcjs.__name.call(void 0, x, "x");
63
+ _chunkMFN7PYKIcjs.__name.call(void 0, x, "x");
64
64
  function A(e, n) {
65
65
  for (let t = n; t < e.length; t++) {
66
66
  let i = e[t];
@@ -72,7 +72,7 @@ function A(e, n) {
72
72
  }
73
73
  return e.length;
74
74
  }
75
- _chunkUQVAG5OCcjs.__name.call(void 0, A, "A");
75
+ _chunkMFN7PYKIcjs.__name.call(void 0, A, "A");
76
76
  function g(e, n, t, i) {
77
77
  let l;
78
78
  for (; (l = e[n]) === " " || l === " " || !t && (l === `
@@ -80,7 +80,7 @@ function g(e, n, t, i) {
80
80
  `); ) n++;
81
81
  return i || l !== "#" ? n : g(e, A(e, n), t);
82
82
  }
83
- _chunkUQVAG5OCcjs.__name.call(void 0, g, "g");
83
+ _chunkMFN7PYKIcjs.__name.call(void 0, g, "g");
84
84
  function P(e, n, t, i, l = false) {
85
85
  if (!i) return n = x(e, n), n < 0 ? e.length : n;
86
86
  for (let r = n; r < e.length; r++) {
@@ -96,7 +96,7 @@ function P(e, n, t, i, l = false) {
96
96
  }
97
97
  throw new u("cannot find end of structure", { toml: e, ptr: n });
98
98
  }
99
- _chunkUQVAG5OCcjs.__name.call(void 0, P, "P");
99
+ _chunkMFN7PYKIcjs.__name.call(void 0, P, "P");
100
100
  function v(e, n) {
101
101
  let t = e[n], i = t === e[n + 1] && e[n + 1] === e[n + 2] ? e.slice(n, n + 3) : t;
102
102
  n += i.length - 1;
@@ -105,11 +105,11 @@ function v(e, n) {
105
105
  while (n > -1 && t !== "'" && e[n - 1] === "\\" && e[n - 2] !== "\\");
106
106
  return n > -1 && (n += i.length, i.length > 1 && (e[n] === t && n++, e[n] === t && n++)), n;
107
107
  }
108
- _chunkUQVAG5OCcjs.__name.call(void 0, v, "v");
108
+ _chunkMFN7PYKIcjs.__name.call(void 0, v, "v");
109
109
  var B = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;
110
110
  var b = class b2 extends Date {
111
111
  static {
112
- _chunkUQVAG5OCcjs.__name.call(void 0, this, "b");
112
+ _chunkMFN7PYKIcjs.__name.call(void 0, this, "b");
113
113
  }
114
114
  constructor(t) {
115
115
  let i = true, l = true, r = "Z";
@@ -205,7 +205,7 @@ function C2(e, n = 0, t = e.length) {
205
205
  }
206
206
  return o + e.slice(a, t - 1);
207
207
  }
208
- _chunkUQVAG5OCcjs.__name.call(void 0, C2, "C");
208
+ _chunkMFN7PYKIcjs.__name.call(void 0, C2, "C");
209
209
  function H(e, n, t) {
210
210
  if (e === "true") return true;
211
211
  if (e === "false") return false;
@@ -225,7 +225,7 @@ function H(e, n, t) {
225
225
  if (!l.isValid()) throw new u("invalid value", { toml: n, ptr: t });
226
226
  return l;
227
227
  }
228
- _chunkUQVAG5OCcjs.__name.call(void 0, H, "H");
228
+ _chunkMFN7PYKIcjs.__name.call(void 0, H, "H");
229
229
  function Q(e, n, t, i) {
230
230
  let l = e.slice(n, t), r = l.indexOf("#");
231
231
  r > -1 && (A(e, r), l = l.slice(0, r));
@@ -237,7 +237,7 @@ function Q(e, n, t, i) {
237
237
  }
238
238
  return [f, r];
239
239
  }
240
- _chunkUQVAG5OCcjs.__name.call(void 0, Q, "Q");
240
+ _chunkMFN7PYKIcjs.__name.call(void 0, Q, "Q");
241
241
  function I(e, n, t) {
242
242
  let i = e[n];
243
243
  if (i === "[" || i === "{") {
@@ -264,7 +264,7 @@ function I(e, n, t) {
264
264
  if (!r[0]) throw new u("incomplete key-value declaration: no value specified", { toml: e, ptr: n });
265
265
  return t && r[1] > -1 && (l = g(e, n + r[1]), l += +(e[l] === ",")), [H(r[0], e, n), l];
266
266
  }
267
- _chunkUQVAG5OCcjs.__name.call(void 0, I, "I");
267
+ _chunkMFN7PYKIcjs.__name.call(void 0, I, "I");
268
268
  var W = /^[a-zA-Z0-9-_]+[ \t]*$/;
269
269
  function p(e, n, t = "=") {
270
270
  let i = n - 1, l = [], r = e.indexOf(t, n);
@@ -290,7 +290,7 @@ function p(e, n, t = "=") {
290
290
  } while (i + 1 && i < r);
291
291
  return [l, g(e, r + 1, true, true)];
292
292
  }
293
- _chunkUQVAG5OCcjs.__name.call(void 0, p, "p");
293
+ _chunkMFN7PYKIcjs.__name.call(void 0, p, "p");
294
294
  function ee(e, n) {
295
295
  let t = {}, i = /* @__PURE__ */ new Set(), l, r = 0;
296
296
  for (n++; (l = e[n++]) !== "}" && l; ) {
@@ -313,7 +313,7 @@ function ee(e, n) {
313
313
  if (!l) throw new u("unfinished table encountered", { toml: e, ptr: n });
314
314
  return [t, n];
315
315
  }
316
- _chunkUQVAG5OCcjs.__name.call(void 0, ee, "ee");
316
+ _chunkMFN7PYKIcjs.__name.call(void 0, ee, "ee");
317
317
  function ne(e, n) {
318
318
  let t = [], i;
319
319
  for (n++; (i = e[n++]) !== "]" && i; ) {
@@ -328,7 +328,7 @@ function ne(e, n) {
328
328
  if (!i) throw new u("unfinished array encountered", { toml: e, ptr: n });
329
329
  return [t, n];
330
330
  }
331
- _chunkUQVAG5OCcjs.__name.call(void 0, ne, "ne");
331
+ _chunkMFN7PYKIcjs.__name.call(void 0, ne, "ne");
332
332
  function M(e, n, t, i) {
333
333
  let l = n, r = t, f, o = false, a;
334
334
  for (let c = 0; c < e.length; c++) {
@@ -347,7 +347,7 @@ function M(e, n, t, i) {
347
347
  else if (i === 0 && o) return null;
348
348
  return [f, l, a.c];
349
349
  }
350
- _chunkUQVAG5OCcjs.__name.call(void 0, M, "M");
350
+ _chunkMFN7PYKIcjs.__name.call(void 0, M, "M");
351
351
  function te(e) {
352
352
  let n = {}, t = {}, i = n, l = t;
353
353
  for (let r = g(e, 0); r < e.length; ) {
@@ -372,7 +372,7 @@ function te(e) {
372
372
  }
373
373
  return n;
374
374
  }
375
- _chunkUQVAG5OCcjs.__name.call(void 0, te, "te");
375
+ _chunkMFN7PYKIcjs.__name.call(void 0, te, "te");
376
376
  var Z = /^[a-z0-9-_]+$/i;
377
377
  function _(e) {
378
378
  let n = typeof e;
@@ -382,16 +382,16 @@ function _(e) {
382
382
  }
383
383
  return n;
384
384
  }
385
- _chunkUQVAG5OCcjs.__name.call(void 0, _, "_");
385
+ _chunkMFN7PYKIcjs.__name.call(void 0, _, "_");
386
386
  function ie(e) {
387
387
  for (let n = 0; n < e.length; n++) if (_(e[n]) !== "object") return false;
388
388
  return e.length != 0;
389
389
  }
390
- _chunkUQVAG5OCcjs.__name.call(void 0, ie, "ie");
390
+ _chunkMFN7PYKIcjs.__name.call(void 0, ie, "ie");
391
391
  function $(e) {
392
392
  return JSON.stringify(e).replace(/\x7f/g, "\\u007f");
393
393
  }
394
- _chunkUQVAG5OCcjs.__name.call(void 0, $, "$");
394
+ _chunkMFN7PYKIcjs.__name.call(void 0, $, "$");
395
395
  function N2(e, n = _(e)) {
396
396
  if (n === "number") return isNaN(e) ? "nan" : e === 1 / 0 ? "inf" : e === -1 / 0 ? "-inf" : e.toString();
397
397
  if (n === "bigint" || n === "boolean") return e.toString();
@@ -403,7 +403,7 @@ function N2(e, n = _(e)) {
403
403
  if (n === "object") return le(e);
404
404
  if (n === "array") return re(e);
405
405
  }
406
- _chunkUQVAG5OCcjs.__name.call(void 0, N2, "N");
406
+ _chunkMFN7PYKIcjs.__name.call(void 0, N2, "N");
407
407
  function le(e) {
408
408
  let n = Object.keys(e);
409
409
  if (n.length === 0) return "{}";
@@ -414,7 +414,7 @@ function le(e) {
414
414
  }
415
415
  return t + " }";
416
416
  }
417
- _chunkUQVAG5OCcjs.__name.call(void 0, le, "le");
417
+ _chunkMFN7PYKIcjs.__name.call(void 0, le, "le");
418
418
  function re(e) {
419
419
  if (e.length === 0) return "[]";
420
420
  let n = "[ ";
@@ -424,7 +424,7 @@ function re(e) {
424
424
  }
425
425
  return n + " ]";
426
426
  }
427
- _chunkUQVAG5OCcjs.__name.call(void 0, re, "re");
427
+ _chunkMFN7PYKIcjs.__name.call(void 0, re, "re");
428
428
  function fe(e, n) {
429
429
  let t = "";
430
430
  for (let i = 0; i < e.length; i++) t += `[[${n}]]
@@ -433,7 +433,7 @@ function fe(e, n) {
433
433
  `;
434
434
  return t;
435
435
  }
436
- _chunkUQVAG5OCcjs.__name.call(void 0, fe, "fe");
436
+ _chunkMFN7PYKIcjs.__name.call(void 0, fe, "fe");
437
437
  function D(e, n = "") {
438
438
  let t = "", i = "", l = Object.keys(e);
439
439
  for (let r = 0; r < l.length; r++) {
@@ -456,22 +456,22 @@ function D(e, n = "") {
456
456
  return `${t}
457
457
  ${i}`.trim();
458
458
  }
459
- _chunkUQVAG5OCcjs.__name.call(void 0, D, "D");
459
+ _chunkMFN7PYKIcjs.__name.call(void 0, D, "D");
460
460
  function oe(e) {
461
461
  if (_(e) !== "object") throw new TypeError("stringify can only be called with an object");
462
462
  return D(e);
463
463
  }
464
- _chunkUQVAG5OCcjs.__name.call(void 0, oe, "oe");
464
+ _chunkMFN7PYKIcjs.__name.call(void 0, oe, "oe");
465
465
  function ae(e) {
466
466
  const n = te(e);
467
- return _chunkYOOFQTHQcjs.N.call(void 0, e, n, { preserveIndentation: false }), n;
467
+ return _chunk2VXCUCEZcjs.N.call(void 0, e, n, { preserveIndentation: false }), n;
468
468
  }
469
- _chunkUQVAG5OCcjs.__name.call(void 0, ae, "ae");
469
+ _chunkMFN7PYKIcjs.__name.call(void 0, ae, "ae");
470
470
  function ue(e) {
471
- const n = _chunkYOOFQTHQcjs.C.call(void 0, e, { preserveIndentation: false }), t = oe(e);
471
+ const n = _chunk2VXCUCEZcjs.C.call(void 0, e, { preserveIndentation: false }), t = oe(e);
472
472
  return n.whitespace.start + t + n.whitespace.end;
473
473
  }
474
- _chunkUQVAG5OCcjs.__name.call(void 0, ue, "ue");
474
+ _chunkMFN7PYKIcjs.__name.call(void 0, ue, "ue");
475
475
 
476
476
 
477
477