nitro-nightly 3.0.1-alpha.1 → 3.0.1-alpha.2

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 (246) hide show
  1. package/README.md +2 -0
  2. package/dist/_build/common.mjs +24924 -52
  3. package/dist/_build/rolldown.mjs +29 -63
  4. package/dist/_build/rollup.mjs +22 -110
  5. package/dist/_build/vite.build.mjs +3 -43
  6. package/dist/{_dev.mjs → _chunks/dev.mjs} +45 -43
  7. package/dist/_chunks/{B-D1JOIz.mjs → nitro.mjs} +144 -308
  8. package/dist/_chunks/nitro2.mjs +101 -0
  9. package/dist/_chunks/utils.mjs +254 -0
  10. package/dist/{_chunks/Bqks5huO.mjs → _common.mjs} +24 -10
  11. package/dist/_libs/c12+giget+readdirp+chokidar.d.mts +214 -0
  12. package/dist/_libs/citty.mjs +140 -110
  13. package/dist/_libs/{plugin-commonjs.mjs → commondir+is-reference.mjs} +59 -250
  14. package/dist/_libs/compatx.d.mts +47 -0
  15. package/dist/_libs/confbox.mjs +388 -799
  16. package/dist/_libs/esbuild.d.mts +20 -0
  17. package/dist/_libs/estree-walker.mjs +1 -144
  18. package/dist/_libs/{plugin-node-resolve.mjs → hasown+resolve+deepmerge.mjs} +497 -78
  19. package/dist/_libs/httpxy.d.mts +79 -0
  20. package/dist/_libs/httpxy.mjs +6 -1
  21. package/dist/_libs/magic-string.d.mts +220 -0
  22. package/dist/_libs/mlly.d.mts +57 -0
  23. package/dist/_libs/nypm+giget+tinyexec.mjs +3603 -0
  24. package/dist/_libs/pkg-types.d.mts +23 -0
  25. package/dist/_libs/plugin-alias.mjs +4 -2
  26. package/dist/_libs/plugin-inject.mjs +5 -5
  27. package/dist/_libs/plugin-json.mjs +2 -2
  28. package/dist/_libs/pluginutils+plugin-commonjs.d.mts +241 -0
  29. package/dist/_libs/{vite-plugin-fullstack.mjs → pluginutils.mjs} +244 -153
  30. package/dist/_libs/rc9+c12+dotenv.mjs +972 -0
  31. package/dist/_libs/{chokidar.mjs → readdirp+chokidar.mjs} +237 -187
  32. package/dist/_libs/remapping.mjs +1 -1
  33. package/dist/_libs/{gen-mapping.mjs → resolve-uri+gen-mapping.mjs} +2 -166
  34. package/dist/_libs/rou3.d.mts +43 -0
  35. package/dist/_libs/rou3.mjs +9 -6
  36. package/dist/_libs/std-env.d.mts +4 -0
  37. package/dist/_libs/tsconfck.mjs +3 -3
  38. package/dist/_libs/{unimport.mjs → unimport+unplugin.mjs} +226 -1961
  39. package/dist/_libs/unplugin+unimport.d.mts +426 -0
  40. package/dist/_libs/unwasm.d.mts +29 -0
  41. package/dist/_presets.mjs +130 -80
  42. package/dist/builder.d.mts +4 -4
  43. package/dist/builder.mjs +6 -30
  44. package/dist/cli/_chunks/build.mjs +1 -1
  45. package/dist/cli/_chunks/dev.mjs +5 -11
  46. package/dist/cli/_chunks/list.mjs +1 -1
  47. package/dist/cli/_chunks/prepare.mjs +1 -1
  48. package/dist/cli/_chunks/run.mjs +1 -1
  49. package/dist/node_modules/@poppinss/colors/build/index.js +130 -160
  50. package/dist/node_modules/@poppinss/colors/package.json +20 -18
  51. package/dist/node_modules/@poppinss/exception/build/index.js +36 -55
  52. package/dist/node_modules/@poppinss/exception/package.json +19 -16
  53. package/dist/node_modules/@sindresorhus/is/distribution/index.js +46 -5
  54. package/dist/node_modules/@sindresorhus/is/package.json +1 -1
  55. package/dist/node_modules/@speed-highlight/core/dist/index.js +1 -1
  56. package/dist/node_modules/@speed-highlight/core/dist/terminal.js +1 -1
  57. package/dist/node_modules/@speed-highlight/core/package.json +2 -2
  58. package/dist/node_modules/hookable/dist/index.mjs +5 -6
  59. package/dist/node_modules/hookable/package.json +13 -13
  60. package/dist/node_modules/ufo/dist/index.mjs +16 -9
  61. package/dist/node_modules/ufo/package.json +15 -14
  62. package/dist/node_modules/unctx/package.json +16 -16
  63. package/dist/node_modules/youch/build/{chunk-4XB2BYKC.js → chunk-7QV3D5YX.js} +2 -4
  64. package/dist/node_modules/youch/build/{chunk-PUHGL6HA.js → chunk-AUGPHE32.js} +2 -4
  65. package/dist/node_modules/youch/build/{chunk-F4I6KX4R.js → chunk-CM7DWJNZ.js} +2 -4
  66. package/dist/node_modules/youch/build/{chunk-YYEJ3AGB.js → chunk-EJH674NB.js} +2 -4
  67. package/dist/node_modules/youch/build/{chunk-EUJBVOYB.js → chunk-OIJ3WD7L.js} +2 -4
  68. package/dist/node_modules/youch/build/{chunk-HFSXRSKS.js → chunk-P36L72PL.js} +5 -3
  69. package/dist/node_modules/youch/build/{chunk-4YEN7HVQ.js → chunk-PE3GG3TN.js} +5 -1
  70. package/dist/node_modules/youch/build/{chunk-PINJDICN.js → chunk-X53OIOJH.js} +2 -4
  71. package/dist/node_modules/youch/build/index.js +8 -9
  72. package/dist/node_modules/youch/build/public/error_info/style.css +1 -0
  73. package/dist/node_modules/youch/build/public/error_metadata/style.css +3 -0
  74. package/dist/node_modules/youch/build/public/error_stack/style.css +2 -3
  75. package/dist/node_modules/youch/package.json +1 -1
  76. package/dist/presets/_nitro/runtime/nitro-dev.d.mts +1 -1
  77. package/dist/presets/_nitro/runtime/nitro-dev.mjs +5 -6
  78. package/dist/presets/_nitro/runtime/nitro-prerenderer.d.mts +1 -1
  79. package/dist/presets/_nitro/runtime/nitro-prerenderer.mjs +1 -1
  80. package/dist/presets/_nitro/runtime/service-worker.d.mts +1 -1
  81. package/dist/presets/_nitro/runtime/service-worker.mjs +2 -2
  82. package/dist/presets/aws-amplify/runtime/aws-amplify.d.mts +1 -1
  83. package/dist/presets/aws-amplify/runtime/aws-amplify.mjs +1 -1
  84. package/dist/presets/aws-lambda/runtime/_utils.d.mts +0 -5
  85. package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.d.mts +1 -1
  86. package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.mjs +9 -11
  87. package/dist/presets/aws-lambda/runtime/aws-lambda.d.mts +1 -1
  88. package/dist/presets/aws-lambda/runtime/aws-lambda.mjs +1 -1
  89. package/dist/presets/azure/runtime/azure-swa.d.mts +1 -1
  90. package/dist/presets/azure/runtime/azure-swa.mjs +1 -1
  91. package/dist/presets/bun/runtime/bun.d.mts +1 -1
  92. package/dist/presets/bun/runtime/bun.mjs +7 -8
  93. package/dist/presets/cloudflare/runtime/_module-handler.d.mts +3 -3
  94. package/dist/presets/cloudflare/runtime/_module-handler.mjs +19 -17
  95. package/dist/presets/cloudflare/runtime/cloudflare-durable.d.mts +1 -1
  96. package/dist/presets/cloudflare/runtime/cloudflare-durable.mjs +17 -16
  97. package/dist/presets/cloudflare/runtime/cloudflare-module.d.mts +1 -1
  98. package/dist/presets/cloudflare/runtime/cloudflare-module.mjs +8 -9
  99. package/dist/presets/cloudflare/runtime/cloudflare-pages.d.mts +1 -1
  100. package/dist/presets/cloudflare/runtime/cloudflare-pages.mjs +12 -18
  101. package/dist/presets/deno/runtime/deno-deploy.d.mts +1 -1
  102. package/dist/presets/deno/runtime/deno-deploy.mjs +4 -5
  103. package/dist/presets/deno/runtime/deno-server.d.mts +1 -1
  104. package/dist/presets/deno/runtime/deno-server.mjs +5 -6
  105. package/dist/presets/netlify/runtime/netlify-edge.d.mts +1 -2
  106. package/dist/presets/netlify/runtime/netlify-edge.mjs +3 -2
  107. package/dist/presets/netlify/runtime/netlify.d.mts +3 -2
  108. package/dist/presets/netlify/runtime/netlify.mjs +3 -1
  109. package/dist/presets/node/runtime/node-cluster.d.mts +1 -1
  110. package/dist/presets/node/runtime/node-cluster.mjs +5 -6
  111. package/dist/presets/node/runtime/node-middleware.d.mts +1 -1
  112. package/dist/presets/node/runtime/node-middleware.mjs +4 -5
  113. package/dist/presets/node/runtime/node-server.d.mts +1 -1
  114. package/dist/presets/node/runtime/node-server.mjs +5 -6
  115. package/dist/presets/standard/runtime/server.d.mts +1 -1
  116. package/dist/presets/standard/runtime/server.mjs +1 -1
  117. package/dist/presets/stormkit/runtime/stormkit.d.mts +1 -1
  118. package/dist/presets/stormkit/runtime/stormkit.mjs +1 -1
  119. package/dist/presets/vercel/runtime/isr.d.mts +2 -0
  120. package/dist/presets/vercel/runtime/isr.mjs +19 -0
  121. package/dist/presets/vercel/runtime/vercel.node.d.mts +1 -1
  122. package/dist/presets/vercel/runtime/vercel.node.mjs +16 -7
  123. package/dist/presets/vercel/runtime/vercel.web.d.mts +1 -1
  124. package/dist/presets/vercel/runtime/vercel.web.mjs +18 -13
  125. package/dist/presets/winterjs/runtime/winterjs.d.mts +1 -2
  126. package/dist/presets/winterjs/runtime/winterjs.mjs +1 -1
  127. package/dist/presets/zeabur/runtime/zeabur.d.mts +1 -1
  128. package/dist/presets/zeabur/runtime/zeabur.mjs +1 -1
  129. package/dist/runtime/app.d.mts +1 -1
  130. package/dist/runtime/app.mjs +1 -1
  131. package/dist/runtime/internal/app.d.mts +7 -3
  132. package/dist/runtime/internal/app.mjs +29 -22
  133. package/dist/runtime/internal/database.mjs +1 -1
  134. package/dist/runtime/internal/error/dev.d.mts +0 -1
  135. package/dist/runtime/internal/error/dev.mjs +1 -1
  136. package/dist/runtime/internal/route-rules.d.mts +0 -4
  137. package/dist/runtime/internal/routes/dev-tasks.mjs +1 -1
  138. package/dist/runtime/internal/routes/openapi.d.mts +0 -1
  139. package/dist/runtime/internal/routes/openapi.mjs +3 -3
  140. package/dist/runtime/internal/routes/renderer-template.dev.mjs +1 -1
  141. package/dist/runtime/internal/routes/renderer-template.mjs +1 -1
  142. package/dist/runtime/internal/routes/scalar.d.mts +0 -1
  143. package/dist/runtime/internal/routes/scalar.mjs +4 -4
  144. package/dist/runtime/internal/routes/swagger.d.mts +0 -1
  145. package/dist/runtime/internal/routes/swagger.mjs +3 -3
  146. package/dist/runtime/internal/runtime-config.mjs +8 -8
  147. package/dist/runtime/internal/static.mjs +1 -1
  148. package/dist/runtime/internal/storage.mjs +1 -1
  149. package/dist/runtime/internal/task.mjs +1 -1
  150. package/dist/runtime/internal/vite/dev-entry.mjs +3 -4
  151. package/dist/runtime/internal/vite/{dev-worker.mjs → node-runner.mjs} +51 -6
  152. package/dist/runtime/meta.d.mts +1 -1
  153. package/dist/runtime/meta.mjs +1 -1
  154. package/dist/runtime/nitro.d.mts +0 -3
  155. package/dist/runtime/nitro.mjs +1 -1
  156. package/dist/runtime/virtual/_runtime_warn.d.mts +1 -0
  157. package/dist/runtime/virtual/_runtime_warn.mjs +5 -0
  158. package/dist/runtime/virtual/database.d.mts +8 -0
  159. package/dist/runtime/virtual/database.mjs +2 -0
  160. package/dist/runtime/virtual/error-handler.d.mts +6 -0
  161. package/dist/runtime/virtual/error-handler.mjs +9 -0
  162. package/dist/runtime/virtual/feature-flags.d.mts +7 -0
  163. package/dist/runtime/virtual/feature-flags.mjs +7 -0
  164. package/dist/runtime/virtual/plugins.d.mts +3 -0
  165. package/dist/runtime/virtual/plugins.mjs +2 -0
  166. package/dist/runtime/virtual/polyfills.d.mts +3 -0
  167. package/dist/runtime/virtual/polyfills.mjs +2 -0
  168. package/dist/runtime/virtual/public-assets.d.mts +9 -0
  169. package/dist/runtime/virtual/public-assets.mjs +8 -0
  170. package/dist/runtime/virtual/renderer-template.d.mts +4 -0
  171. package/dist/runtime/virtual/renderer-template.mjs +7 -0
  172. package/dist/runtime/virtual/routing-meta.d.mts +7 -0
  173. package/dist/runtime/virtual/routing-meta.mjs +2 -0
  174. package/dist/runtime/virtual/routing.d.mts +8 -0
  175. package/dist/runtime/virtual/routing.mjs +11 -0
  176. package/dist/runtime/virtual/runtime-config.d.mts +3 -0
  177. package/dist/runtime/virtual/runtime-config.mjs +5 -0
  178. package/dist/runtime/virtual/server-assets.d.mts +6 -0
  179. package/dist/runtime/virtual/server-assets.mjs +12 -0
  180. package/dist/runtime/virtual/storage.d.mts +3 -0
  181. package/dist/runtime/virtual/storage.mjs +5 -0
  182. package/dist/runtime/virtual/tasks.d.mts +10 -0
  183. package/dist/runtime/virtual/tasks.mjs +3 -0
  184. package/dist/types/index.d.mts +292 -371
  185. package/dist/types/index.mjs +10 -0
  186. package/dist/vite.d.mts +7 -12
  187. package/dist/vite.mjs +734 -41
  188. package/lib/vite.types.d.mts +26 -0
  189. package/lib/vite.types.mjs +2 -0
  190. package/package.json +82 -53
  191. package/dist/_build/common2.mjs +0 -772
  192. package/dist/_build/vite.plugin.mjs +0 -768
  193. package/dist/_chunks/ANM1K1bE.mjs +0 -304
  194. package/dist/_chunks/BX9-zVkM.mjs +0 -59
  195. package/dist/_chunks/C7CbzoI1.mjs +0 -39
  196. package/dist/_libs/acorn.mjs +0 -5034
  197. package/dist/_libs/c12.mjs +0 -2858
  198. package/dist/_libs/commondir.mjs +0 -22
  199. package/dist/_libs/deepmerge.mjs +0 -86
  200. package/dist/_libs/dot-prop.mjs +0 -138
  201. package/dist/_libs/duplexer.mjs +0 -71
  202. package/dist/_libs/etag.mjs +0 -80
  203. package/dist/_libs/fdir.mjs +0 -514
  204. package/dist/_libs/function-bind.mjs +0 -63
  205. package/dist/_libs/giget.mjs +0 -19289
  206. package/dist/_libs/gzip-size.mjs +0 -21
  207. package/dist/_libs/hasown.mjs +0 -14
  208. package/dist/_libs/is-core-module.mjs +0 -220
  209. package/dist/_libs/is-module.mjs +0 -13
  210. package/dist/_libs/is-reference.mjs +0 -32
  211. package/dist/_libs/js-tokens.mjs +0 -382
  212. package/dist/_libs/knitwork.mjs +0 -124
  213. package/dist/_libs/local-pkg.mjs +0 -1686
  214. package/dist/_libs/magic-string.mjs +0 -939
  215. package/dist/_libs/mime.mjs +0 -1391
  216. package/dist/_libs/node-fetch-native.mjs +0 -173
  217. package/dist/_libs/path-parse.mjs +0 -47
  218. package/dist/_libs/pathe.mjs +0 -41
  219. package/dist/_libs/picomatch.mjs +0 -1673
  220. package/dist/_libs/plugin-replace.mjs +0 -104
  221. package/dist/_libs/pretty-bytes.mjs +0 -116
  222. package/dist/_libs/std-env.mjs +0 -158
  223. package/dist/_libs/strip-literal.mjs +0 -51
  224. package/dist/_libs/tinyglobby.mjs +0 -292
  225. package/dist/_libs/untyped.mjs +0 -271
  226. package/dist/_libs/unwasm.mjs +0 -5836
  227. package/dist/cli/_chunks/detect-acorn.mjs +0 -12
  228. package/dist/cli/_chunks/dist.mjs +0 -3
  229. package/dist/cli/_chunks/dist2.mjs +0 -3
  230. package/dist/cli/_chunks/dist3.mjs +0 -3
  231. package/dist/cli/_chunks/dist4.mjs +0 -4
  232. package/dist/cli/_chunks/dist5.mjs +0 -4
  233. package/dist/cli/_chunks/esm.mjs +0 -3
  234. package/dist/cli/_chunks/json5.mjs +0 -4
  235. package/dist/cli/_chunks/jsonc.mjs +0 -4
  236. package/dist/cli/_chunks/multipart-parser.mjs +0 -6
  237. package/dist/cli/_chunks/toml.mjs +0 -4
  238. package/dist/cli/_chunks/yaml.mjs +0 -4
  239. package/dist/node_modules/kleur/index.js +0 -110
  240. package/dist/node_modules/youch/build/chunk-OSUFJZHZ.js +0 -6
  241. package/lib/deps/ofetch.mjs +0 -1
  242. package/lib/deps/ofetch.mts +0 -1
  243. /package/dist/runtime/{vite-runtime.d.mts → vite.d.mts} +0 -0
  244. /package/dist/runtime/{vite-runtime.mjs → vite.mjs} +0 -0
  245. /package/lib/{deps/h3.d.mts → h3.d.mts} +0 -0
  246. /package/lib/{deps/h3.mjs → h3.mjs} +0 -0
@@ -1,430 +1,10 @@
1
- import { v as C, y as N } from "./c12.mjs";
1
+ import { n as __exportAll } from "../_common.mjs";
2
+ import { Q as N$1, X as h$1, Z as C$2 } from "../_build/common.mjs";
2
3
 
3
- //#region node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.9388d834.mjs
4
- const m = Symbol.for("__confbox_fmt__"), k$1 = /^(\s+)/, v$2 = /(\s+)$/;
5
- function x$2(e, t = {}) {
6
- return {
7
- sample: t.indent === void 0 && t.preserveIndentation !== !1 && e.slice(0, t?.sampleSize || 1024),
8
- whiteSpace: t.preserveWhitespace === !1 ? void 0 : {
9
- start: k$1.exec(e)?.[0] || "",
10
- end: v$2.exec(e)?.[0] || ""
11
- }
12
- };
13
- }
14
- function N$2(e, t, n) {
15
- !t || typeof t != "object" || Object.defineProperty(t, m, {
16
- enumerable: !1,
17
- configurable: !0,
18
- writable: !0,
19
- value: x$2(e, n)
20
- });
21
- }
22
-
23
- //#endregion
24
- //#region node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs
25
- function $$2(n, l = !1) {
26
- const g$1 = n.length;
27
- let e = 0, u = "", p$1 = 0, k$2 = 16, A$1 = 0, o = 0, O$2 = 0, B$1 = 0, b$1 = 0;
28
- function I$2(i, T$2) {
29
- let s$1 = 0, c$1 = 0;
30
- for (; s$1 < i || !T$2;) {
31
- let t = n.charCodeAt(e);
32
- if (t >= 48 && t <= 57) c$1 = c$1 * 16 + t - 48;
33
- else if (t >= 65 && t <= 70) c$1 = c$1 * 16 + t - 65 + 10;
34
- else if (t >= 97 && t <= 102) c$1 = c$1 * 16 + t - 97 + 10;
35
- else break;
36
- e++, s$1++;
37
- }
38
- return s$1 < i && (c$1 = -1), c$1;
39
- }
40
- function V$2(i) {
41
- e = i, u = "", p$1 = 0, k$2 = 16, b$1 = 0;
42
- }
43
- function F$2() {
44
- let i = e;
45
- if (n.charCodeAt(e) === 48) e++;
46
- else for (e++; e < n.length && L$1(n.charCodeAt(e));) e++;
47
- if (e < n.length && n.charCodeAt(e) === 46) if (e++, e < n.length && L$1(n.charCodeAt(e))) for (e++; e < n.length && L$1(n.charCodeAt(e));) e++;
48
- else return b$1 = 3, n.substring(i, e);
49
- let T$2 = e;
50
- if (e < n.length && (n.charCodeAt(e) === 69 || n.charCodeAt(e) === 101)) if (e++, (e < n.length && n.charCodeAt(e) === 43 || n.charCodeAt(e) === 45) && e++, e < n.length && L$1(n.charCodeAt(e))) {
51
- for (e++; e < n.length && L$1(n.charCodeAt(e));) e++;
52
- T$2 = e;
53
- } else b$1 = 3;
54
- return n.substring(i, T$2);
55
- }
56
- function j$2() {
57
- let i = "", T$2 = e;
58
- for (;;) {
59
- if (e >= g$1) {
60
- i += n.substring(T$2, e), b$1 = 2;
61
- break;
62
- }
63
- const s$1 = n.charCodeAt(e);
64
- if (s$1 === 34) {
65
- i += n.substring(T$2, e), e++;
66
- break;
67
- }
68
- if (s$1 === 92) {
69
- if (i += n.substring(T$2, e), e++, e >= g$1) {
70
- b$1 = 2;
71
- break;
72
- }
73
- switch (n.charCodeAt(e++)) {
74
- case 34:
75
- i += "\"";
76
- break;
77
- case 92:
78
- i += "\\";
79
- break;
80
- case 47:
81
- i += "/";
82
- break;
83
- case 98:
84
- i += "\b";
85
- break;
86
- case 102:
87
- i += "\f";
88
- break;
89
- case 110:
90
- i += `
91
- `;
92
- break;
93
- case 114:
94
- i += "\r";
95
- break;
96
- case 116:
97
- i += " ";
98
- break;
99
- case 117:
100
- const t = I$2(4, !0);
101
- t >= 0 ? i += String.fromCharCode(t) : b$1 = 4;
102
- break;
103
- default: b$1 = 5;
104
- }
105
- T$2 = e;
106
- continue;
107
- }
108
- if (s$1 >= 0 && s$1 <= 31) if (r(s$1)) {
109
- i += n.substring(T$2, e), b$1 = 2;
110
- break;
111
- } else b$1 = 6;
112
- e++;
113
- }
114
- return i;
115
- }
116
- function w$2() {
117
- if (u = "", b$1 = 0, p$1 = e, o = A$1, B$1 = O$2, e >= g$1) return p$1 = g$1, k$2 = 17;
118
- let i = n.charCodeAt(e);
119
- if (J$2(i)) {
120
- do
121
- e++, u += String.fromCharCode(i), i = n.charCodeAt(e);
122
- while (J$2(i));
123
- return k$2 = 15;
124
- }
125
- if (r(i)) return e++, u += String.fromCharCode(i), i === 13 && n.charCodeAt(e) === 10 && (e++, u += `
126
- `), A$1++, O$2 = e, k$2 = 14;
127
- switch (i) {
128
- case 123: return e++, k$2 = 1;
129
- case 125: return e++, k$2 = 2;
130
- case 91: return e++, k$2 = 3;
131
- case 93: return e++, k$2 = 4;
132
- case 58: return e++, k$2 = 6;
133
- case 44: return e++, k$2 = 5;
134
- case 34: return e++, u = j$2(), k$2 = 10;
135
- case 47:
136
- const T$2 = e - 1;
137
- if (n.charCodeAt(e + 1) === 47) {
138
- for (e += 2; e < g$1 && !r(n.charCodeAt(e));) e++;
139
- return u = n.substring(T$2, e), k$2 = 12;
140
- }
141
- if (n.charCodeAt(e + 1) === 42) {
142
- e += 2;
143
- const s$1 = g$1 - 1;
144
- let c$1 = !1;
145
- for (; e < s$1;) {
146
- const t = n.charCodeAt(e);
147
- if (t === 42 && n.charCodeAt(e + 1) === 47) {
148
- e += 2, c$1 = !0;
149
- break;
150
- }
151
- e++, r(t) && (t === 13 && n.charCodeAt(e) === 10 && e++, A$1++, O$2 = e);
152
- }
153
- return c$1 || (e++, b$1 = 1), u = n.substring(T$2, e), k$2 = 13;
154
- }
155
- return u += String.fromCharCode(i), e++, k$2 = 16;
156
- case 45: if (u += String.fromCharCode(i), e++, e === g$1 || !L$1(n.charCodeAt(e))) return k$2 = 16;
157
- case 48:
158
- case 49:
159
- case 50:
160
- case 51:
161
- case 52:
162
- case 53:
163
- case 54:
164
- case 55:
165
- case 56:
166
- case 57: return u += F$2(), k$2 = 11;
167
- default:
168
- for (; e < g$1 && v$3(i);) e++, i = n.charCodeAt(e);
169
- if (p$1 !== e) {
170
- switch (u = n.substring(p$1, e), u) {
171
- case "true": return k$2 = 8;
172
- case "false": return k$2 = 9;
173
- case "null": return k$2 = 7;
174
- }
175
- return k$2 = 16;
176
- }
177
- return u += String.fromCharCode(i), e++, k$2 = 16;
178
- }
179
- }
180
- function v$3(i) {
181
- if (J$2(i) || r(i)) return !1;
182
- switch (i) {
183
- case 125:
184
- case 93:
185
- case 123:
186
- case 91:
187
- case 34:
188
- case 58:
189
- case 44:
190
- case 47: return !1;
191
- }
192
- return !0;
193
- }
194
- function E$1() {
195
- let i;
196
- do
197
- i = w$2();
198
- while (i >= 12 && i <= 15);
199
- return i;
200
- }
201
- return {
202
- setPosition: V$2,
203
- getPosition: () => e,
204
- scan: l ? E$1 : w$2,
205
- getToken: () => k$2,
206
- getTokenValue: () => u,
207
- getTokenOffset: () => p$1,
208
- getTokenLength: () => e - p$1,
209
- getTokenStartLine: () => o,
210
- getTokenStartCharacter: () => p$1 - B$1,
211
- getTokenError: () => b$1
212
- };
213
- }
214
- function J$2(n) {
215
- return n === 32 || n === 9;
216
- }
217
- function r(n) {
218
- return n === 10 || n === 13;
219
- }
220
- function L$1(n) {
221
- return n >= 48 && n <= 57;
222
- }
223
- var Q$2;
224
- (function(n) {
225
- n[n.lineFeed = 10] = "lineFeed", n[n.carriageReturn = 13] = "carriageReturn", n[n.space = 32] = "space", n[n._0 = 48] = "_0", n[n._1 = 49] = "_1", n[n._2 = 50] = "_2", n[n._3 = 51] = "_3", n[n._4 = 52] = "_4", n[n._5 = 53] = "_5", n[n._6 = 54] = "_6", n[n._7 = 55] = "_7", n[n._8 = 56] = "_8", n[n._9 = 57] = "_9", n[n.a = 97] = "a", n[n.b = 98] = "b", n[n.c = 99] = "c", n[n.d = 100] = "d", n[n.e = 101] = "e", n[n.f = 102] = "f", n[n.g = 103] = "g", n[n.h = 104] = "h", n[n.i = 105] = "i", n[n.j = 106] = "j", n[n.k = 107] = "k", n[n.l = 108] = "l", n[n.m = 109] = "m", n[n.n = 110] = "n", n[n.o = 111] = "o", n[n.p = 112] = "p", n[n.q = 113] = "q", n[n.r = 114] = "r", n[n.s = 115] = "s", n[n.t = 116] = "t", n[n.u = 117] = "u", n[n.v = 118] = "v", n[n.w = 119] = "w", n[n.x = 120] = "x", n[n.y = 121] = "y", n[n.z = 122] = "z", n[n.A = 65] = "A", n[n.B = 66] = "B", n[n.C = 67] = "C", n[n.D = 68] = "D", n[n.E = 69] = "E", n[n.F = 70] = "F", n[n.G = 71] = "G", n[n.H = 72] = "H", n[n.I = 73] = "I", n[n.J = 74] = "J", n[n.K = 75] = "K", n[n.L = 76] = "L", n[n.M = 77] = "M", n[n.N = 78] = "N", n[n.O = 79] = "O", n[n.P = 80] = "P", n[n.Q = 81] = "Q", n[n.R = 82] = "R", n[n.S = 83] = "S", n[n.T = 84] = "T", n[n.U = 85] = "U", n[n.V = 86] = "V", n[n.W = 87] = "W", n[n.X = 88] = "X", n[n.Y = 89] = "Y", n[n.Z = 90] = "Z", n[n.asterisk = 42] = "asterisk", n[n.backslash = 92] = "backslash", n[n.closeBrace = 125] = "closeBrace", n[n.closeBracket = 93] = "closeBracket", n[n.colon = 58] = "colon", n[n.comma = 44] = "comma", n[n.dot = 46] = "dot", n[n.doubleQuote = 34] = "doubleQuote", n[n.minus = 45] = "minus", n[n.openBrace = 123] = "openBrace", n[n.openBracket = 91] = "openBracket", n[n.plus = 43] = "plus", n[n.slash = 47] = "slash", n[n.formFeed = 12] = "formFeed", n[n.tab = 9] = "tab";
226
- })(Q$2 || (Q$2 = {})), new Array(20).fill(0).map((n, l) => " ".repeat(l));
227
- const N$3 = 200;
228
- new Array(N$3).fill(0).map((n, l) => `
229
- ` + " ".repeat(l)), new Array(N$3).fill(0).map((n, l) => "\r" + " ".repeat(l)), new Array(N$3).fill(0).map((n, l) => `\r
230
- ` + " ".repeat(l)), new Array(N$3).fill(0).map((n, l) => `
231
- ` + " ".repeat(l)), new Array(N$3).fill(0).map((n, l) => "\r" + " ".repeat(l)), new Array(N$3).fill(0).map((n, l) => `\r
232
- ` + " ".repeat(l));
233
- var U$3;
234
- (function(n) {
235
- n.DEFAULT = { allowTrailingComma: !1 };
236
- })(U$3 || (U$3 = {}));
237
- function S$2(n, l = [], g$1 = U$3.DEFAULT) {
238
- let e = null, u = [];
239
- const p$1 = [];
240
- function k$2(o) {
241
- Array.isArray(u) ? u.push(o) : e !== null && (u[e] = o);
242
- }
243
- return P$1(n, {
244
- onObjectBegin: () => {
245
- const o = {};
246
- k$2(o), p$1.push(u), u = o, e = null;
247
- },
248
- onObjectProperty: (o) => {
249
- e = o;
250
- },
251
- onObjectEnd: () => {
252
- u = p$1.pop();
253
- },
254
- onArrayBegin: () => {
255
- const o = [];
256
- k$2(o), p$1.push(u), u = o, e = null;
257
- },
258
- onArrayEnd: () => {
259
- u = p$1.pop();
260
- },
261
- onLiteralValue: k$2,
262
- onError: (o, O$2, B$1) => {
263
- l.push({
264
- error: o,
265
- offset: O$2,
266
- length: B$1
267
- });
268
- }
269
- }, g$1), u[0];
270
- }
271
- function P$1(n, l, g$1 = U$3.DEFAULT) {
272
- const e = $$2(n, !1), u = [];
273
- let p$1 = 0;
274
- function k$2(f) {
275
- return f ? () => p$1 === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => !0;
276
- }
277
- function A$1(f) {
278
- return f ? (m$1) => p$1 === 0 && f(m$1, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => !0;
279
- }
280
- function o(f) {
281
- return f ? (m$1) => p$1 === 0 && f(m$1, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) : () => !0;
282
- }
283
- function O$2(f) {
284
- return f ? () => {
285
- p$1 > 0 ? p$1++ : f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) === !1 && (p$1 = 1);
286
- } : () => !0;
287
- }
288
- function B$1(f) {
289
- return f ? () => {
290
- p$1 > 0 && p$1--, p$1 === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter());
291
- } : () => !0;
292
- }
293
- const b$1 = O$2(l.onObjectBegin), I$2 = o(l.onObjectProperty), V$2 = B$1(l.onObjectEnd), F$2 = O$2(l.onArrayBegin), j$2 = B$1(l.onArrayEnd), w$2 = o(l.onLiteralValue), v$3 = A$1(l.onSeparator), E$1 = k$2(l.onComment), i = A$1(l.onError), T$2 = g$1 && g$1.disallowComments, s$1 = g$1 && g$1.allowTrailingComma;
294
- function c$1() {
295
- for (;;) {
296
- const f = e.scan();
297
- switch (e.getTokenError()) {
298
- case 4:
299
- t(14);
300
- break;
301
- case 5:
302
- t(15);
303
- break;
304
- case 3:
305
- t(13);
306
- break;
307
- case 1:
308
- T$2 || t(11);
309
- break;
310
- case 2:
311
- t(12);
312
- break;
313
- case 6:
314
- t(16);
315
- break;
316
- }
317
- switch (f) {
318
- case 12:
319
- case 13:
320
- T$2 ? t(10) : E$1();
321
- break;
322
- case 16:
323
- t(1);
324
- break;
325
- case 15:
326
- case 14: break;
327
- default: return f;
328
- }
329
- }
330
- }
331
- function t(f, m$1 = [], y$2 = []) {
332
- if (i(f), m$1.length + y$2.length > 0) {
333
- let _$2 = e.getToken();
334
- for (; _$2 !== 17;) {
335
- if (m$1.indexOf(_$2) !== -1) {
336
- c$1();
337
- break;
338
- } else if (y$2.indexOf(_$2) !== -1) break;
339
- _$2 = c$1();
340
- }
341
- }
342
- }
343
- function D$1(f) {
344
- const m$1 = e.getTokenValue();
345
- return f ? w$2(m$1) : (I$2(m$1), u.push(m$1)), c$1(), !0;
346
- }
347
- function G$2() {
348
- switch (e.getToken()) {
349
- case 11:
350
- const f = e.getTokenValue();
351
- let m$1 = Number(f);
352
- isNaN(m$1) && (t(2), m$1 = 0), w$2(m$1);
353
- break;
354
- case 7:
355
- w$2(null);
356
- break;
357
- case 8:
358
- w$2(!0);
359
- break;
360
- case 9:
361
- w$2(!1);
362
- break;
363
- default: return !1;
364
- }
365
- return c$1(), !0;
366
- }
367
- function M$3() {
368
- return e.getToken() !== 10 ? (t(3, [], [2, 5]), !1) : (D$1(!1), e.getToken() === 6 ? (v$3(":"), c$1(), a() || t(4, [], [2, 5])) : t(5, [], [2, 5]), u.pop(), !0);
369
- }
370
- function X$2() {
371
- b$1(), c$1();
372
- let f = !1;
373
- for (; e.getToken() !== 2 && e.getToken() !== 17;) {
374
- if (e.getToken() === 5) {
375
- if (f || t(4, [], []), v$3(","), c$1(), e.getToken() === 2 && s$1) break;
376
- } else f && t(6, [], []);
377
- M$3() || t(4, [], [2, 5]), f = !0;
378
- }
379
- return V$2(), e.getToken() !== 2 ? t(7, [2], []) : c$1(), !0;
380
- }
381
- function Y$2() {
382
- F$2(), c$1();
383
- let f = !0, m$1 = !1;
384
- for (; e.getToken() !== 4 && e.getToken() !== 17;) {
385
- if (e.getToken() === 5) {
386
- if (m$1 || t(4, [], []), v$3(","), c$1(), e.getToken() === 4 && s$1) break;
387
- } else m$1 && t(6, [], []);
388
- f ? (u.push(0), f = !1) : u[u.length - 1]++, a() || t(4, [], [4, 5]), m$1 = !0;
389
- }
390
- return j$2(), f || u.pop(), e.getToken() !== 4 ? t(8, [4], []) : c$1(), !0;
391
- }
392
- function a() {
393
- switch (e.getToken()) {
394
- case 3: return Y$2();
395
- case 1: return X$2();
396
- case 10: return D$1(!0);
397
- default: return G$2();
398
- }
399
- }
400
- return c$1(), e.getToken() === 17 ? g$1.allowEmptyContent ? !0 : (t(4, [], []), !1) : a() ? (e.getToken() !== 17 && t(9, [], []), !0) : (t(4, [], []), !1);
401
- }
402
- var W$1;
403
- (function(n) {
404
- n[n.None = 0] = "None", n[n.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", n[n.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", n[n.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", n[n.InvalidUnicode = 4] = "InvalidUnicode", n[n.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", n[n.InvalidCharacter = 6] = "InvalidCharacter";
405
- })(W$1 || (W$1 = {}));
406
- var H$1;
407
- (function(n) {
408
- n[n.OpenBraceToken = 1] = "OpenBraceToken", n[n.CloseBraceToken = 2] = "CloseBraceToken", n[n.OpenBracketToken = 3] = "OpenBracketToken", n[n.CloseBracketToken = 4] = "CloseBracketToken", n[n.CommaToken = 5] = "CommaToken", n[n.ColonToken = 6] = "ColonToken", n[n.NullKeyword = 7] = "NullKeyword", n[n.TrueKeyword = 8] = "TrueKeyword", n[n.FalseKeyword = 9] = "FalseKeyword", n[n.StringLiteral = 10] = "StringLiteral", n[n.NumericLiteral = 11] = "NumericLiteral", n[n.LineCommentTrivia = 12] = "LineCommentTrivia", n[n.BlockCommentTrivia = 13] = "BlockCommentTrivia", n[n.LineBreakTrivia = 14] = "LineBreakTrivia", n[n.Trivia = 15] = "Trivia", n[n.Unknown = 16] = "Unknown", n[n.EOF = 17] = "EOF";
409
- })(H$1 || (H$1 = {}));
410
- const K$3 = S$2;
411
- var q$2;
412
- (function(n) {
413
- n[n.InvalidSymbol = 1] = "InvalidSymbol", n[n.InvalidNumberFormat = 2] = "InvalidNumberFormat", n[n.PropertyNameExpected = 3] = "PropertyNameExpected", n[n.ValueExpected = 4] = "ValueExpected", n[n.ColonExpected = 5] = "ColonExpected", n[n.CommaExpected = 6] = "CommaExpected", n[n.CloseBraceExpected = 7] = "CloseBraceExpected", n[n.CloseBracketExpected = 8] = "CloseBracketExpected", n[n.EndOfFileExpected = 9] = "EndOfFileExpected", n[n.InvalidCommentToken = 10] = "InvalidCommentToken", n[n.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", n[n.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", n[n.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", n[n.InvalidUnicode = 14] = "InvalidUnicode", n[n.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", n[n.InvalidCharacter = 16] = "InvalidCharacter";
414
- })(q$2 || (q$2 = {}));
415
- function x$1(n, l) {
416
- const g$1 = JSON.parse(n, l?.reviver);
417
- return N$2(n, g$1, l), g$1;
418
- }
419
- function h$2(n, l) {
420
- const g$1 = K$3(n, l?.errors, l);
421
- return N$2(n, g$1, l), g$1;
422
- }
423
-
424
- //#endregion
425
4
  //#region node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs
426
- function R$2(C$4) {
427
- return C$4 && C$4.__esModule && Object.prototype.hasOwnProperty.call(C$4, "default") ? C$4.default : C$4;
5
+ var json5_exports = /* @__PURE__ */ __exportAll({ parseJSON5: () => Cu });
6
+ function R$2(C$3) {
7
+ return C$3 && C$3.__esModule && Object.prototype.hasOwnProperty.call(C$3, "default") ? C$3.default : C$3;
428
8
  }
429
9
  var O$1 = {}, M$2;
430
10
  function Y$1() {
@@ -434,22 +14,22 @@ var _$1, U$2;
434
14
  function T$1() {
435
15
  if (U$2) return _$1;
436
16
  U$2 = 1;
437
- const C$4 = Y$1();
17
+ const C$3 = Y$1();
438
18
  return _$1 = {
439
- isSpaceSeparator(r$1) {
440
- return typeof r$1 == "string" && C$4.Space_Separator.test(r$1);
19
+ isSpaceSeparator(r) {
20
+ return typeof r == "string" && C$3.Space_Separator.test(r);
441
21
  },
442
- isIdStartChar(r$1) {
443
- return typeof r$1 == "string" && (r$1 >= "a" && r$1 <= "z" || r$1 >= "A" && r$1 <= "Z" || r$1 === "$" || r$1 === "_" || C$4.ID_Start.test(r$1));
22
+ isIdStartChar(r) {
23
+ return typeof r == "string" && (r >= "a" && r <= "z" || r >= "A" && r <= "Z" || r === "$" || r === "_" || C$3.ID_Start.test(r));
444
24
  },
445
- isIdContinueChar(r$1) {
446
- return typeof r$1 == "string" && (r$1 >= "a" && r$1 <= "z" || r$1 >= "A" && r$1 <= "Z" || r$1 >= "0" && r$1 <= "9" || r$1 === "$" || r$1 === "_" || r$1 === "‌" || r$1 === "‍" || C$4.ID_Continue.test(r$1));
25
+ isIdContinueChar(r) {
26
+ return typeof r == "string" && (r >= "a" && r <= "z" || r >= "A" && r <= "Z" || r >= "0" && r <= "9" || r === "$" || r === "_" || r === "‌" || r === "‍" || C$3.ID_Continue.test(r));
447
27
  },
448
- isDigit(r$1) {
449
- return typeof r$1 == "string" && /[0-9]/.test(r$1);
28
+ isDigit(r) {
29
+ return typeof r == "string" && /[0-9]/.test(r);
450
30
  },
451
- isHexDigit(r$1) {
452
- return typeof r$1 == "string" && /[0-9A-Fa-f]/.test(r$1);
31
+ isHexDigit(r) {
32
+ return typeof r == "string" && /[0-9A-Fa-f]/.test(r);
453
33
  }
454
34
  }, _$1;
455
35
  }
@@ -457,29 +37,29 @@ var q$1, Z$2;
457
37
  function uu() {
458
38
  if (Z$2) return q$1;
459
39
  Z$2 = 1;
460
- const C$4 = T$1();
461
- let r$1, s$1, c$1, d$1, h$3, o, f, S$3, m$1;
40
+ const C$3 = T$1();
41
+ let r, s$1, c$1, d, h$2, o, f, S$2, m;
462
42
  q$1 = function(a, g$1) {
463
- r$1 = String(a), s$1 = "start", c$1 = [], d$1 = 0, h$3 = 1, o = 0, f = void 0, S$3 = void 0, m$1 = void 0;
43
+ r = String(a), s$1 = "start", c$1 = [], d = 0, h$2 = 1, o = 0, f = void 0, S$2 = void 0, m = void 0;
464
44
  do
465
- f = E$1(), Q$3[s$1]();
45
+ f = E$1(), Q$2[s$1]();
466
46
  while (f.type !== "eof");
467
- return typeof g$1 == "function" ? v$3({ "": m$1 }, "", g$1) : m$1;
47
+ return typeof g$1 == "function" ? v$2({ "": m }, "", g$1) : m;
468
48
  };
469
- function v$3(D$1, a, g$1) {
49
+ function v$2(D$1, a, g$1) {
470
50
  const y$2 = D$1[a];
471
- if (y$2 != null && typeof y$2 == "object") if (Array.isArray(y$2)) for (let P$2 = 0; P$2 < y$2.length; P$2++) {
472
- const I$2 = String(P$2), H$2 = v$3(y$2, I$2, g$1);
473
- H$2 === void 0 ? delete y$2[I$2] : Object.defineProperty(y$2, I$2, {
474
- value: H$2,
51
+ if (y$2 != null && typeof y$2 == "object") if (Array.isArray(y$2)) for (let P$1 = 0; P$1 < y$2.length; P$1++) {
52
+ const I$2 = String(P$1), H$1 = v$2(y$2, I$2, g$1);
53
+ H$1 === void 0 ? delete y$2[I$2] : Object.defineProperty(y$2, I$2, {
54
+ value: H$1,
475
55
  writable: !0,
476
56
  enumerable: !0,
477
57
  configurable: !0
478
58
  });
479
59
  }
480
- else for (const P$2 in y$2) {
481
- const I$2 = v$3(y$2, P$2, g$1);
482
- I$2 === void 0 ? delete y$2[P$2] : Object.defineProperty(y$2, P$2, {
60
+ else for (const P$1 in y$2) {
61
+ const I$2 = v$2(y$2, P$1, g$1);
62
+ I$2 === void 0 ? delete y$2[P$1] : Object.defineProperty(y$2, P$1, {
483
63
  value: I$2,
484
64
  writable: !0,
485
65
  enumerable: !0,
@@ -488,21 +68,21 @@ function uu() {
488
68
  }
489
69
  return g$1.call(D$1, a, y$2);
490
70
  }
491
- let t, e, x$3, w$2, A$1;
71
+ let t, e, x$1, w$2, A$1;
492
72
  function E$1() {
493
- for (t = "default", e = "", x$3 = !1, w$2 = 1;;) {
73
+ for (t = "default", e = "", x$1 = !1, w$2 = 1;;) {
494
74
  A$1 = n();
495
75
  const D$1 = l[t]();
496
76
  if (D$1) return D$1;
497
77
  }
498
78
  }
499
79
  function n() {
500
- if (r$1[d$1]) return String.fromCodePoint(r$1.codePointAt(d$1));
80
+ if (r[d]) return String.fromCodePoint(r.codePointAt(d));
501
81
  }
502
82
  function u() {
503
83
  const D$1 = n();
504
84
  return D$1 === `
505
- ` ? (h$3++, o = 0) : D$1 ? o += D$1.length : o++, D$1 && (d$1 += D$1.length), D$1;
85
+ ` ? (h$2++, o = 0) : D$1 ? o += D$1.length : o++, D$1 && (d += D$1.length), D$1;
506
86
  }
507
87
  const l = {
508
88
  default() {
@@ -525,7 +105,7 @@ function uu() {
525
105
  return;
526
106
  case void 0: return u(), F$2("eof");
527
107
  }
528
- if (C$4.isSpaceSeparator(A$1)) {
108
+ if (C$3.isSpaceSeparator(A$1)) {
529
109
  u();
530
110
  return;
531
111
  }
@@ -608,7 +188,7 @@ function uu() {
608
188
  case "N": return u(), i("aN"), F$2("numeric", NaN);
609
189
  case "\"":
610
190
  case "'":
611
- x$3 = u() === "\"", e = "", t = "string";
191
+ x$1 = u() === "\"", e = "", t = "string";
612
192
  return;
613
193
  }
614
194
  throw B$1(u());
@@ -616,12 +196,12 @@ function uu() {
616
196
  identifierNameStartEscape() {
617
197
  if (A$1 !== "u") throw B$1(u());
618
198
  u();
619
- const D$1 = $$3();
199
+ const D$1 = $$2();
620
200
  switch (D$1) {
621
201
  case "$":
622
202
  case "_": break;
623
203
  default:
624
- if (!C$4.isIdStartChar(D$1)) throw L$2();
204
+ if (!C$3.isIdStartChar(D$1)) throw L$1();
625
205
  break;
626
206
  }
627
207
  e += D$1, t = "identifierName";
@@ -638,7 +218,7 @@ function uu() {
638
218
  u(), t = "identifierNameEscape";
639
219
  return;
640
220
  }
641
- if (C$4.isIdContinueChar(A$1)) {
221
+ if (C$3.isIdContinueChar(A$1)) {
642
222
  e += u();
643
223
  return;
644
224
  }
@@ -647,14 +227,14 @@ function uu() {
647
227
  identifierNameEscape() {
648
228
  if (A$1 !== "u") throw B$1(u());
649
229
  u();
650
- const D$1 = $$3();
230
+ const D$1 = $$2();
651
231
  switch (D$1) {
652
232
  case "$":
653
233
  case "_":
654
234
  case "‌":
655
235
  case "‍": break;
656
236
  default:
657
- if (!C$4.isIdContinueChar(D$1)) throw L$2();
237
+ if (!C$3.isIdContinueChar(D$1)) throw L$1();
658
238
  break;
659
239
  }
660
240
  e += D$1, t = "identifierName";
@@ -709,14 +289,14 @@ function uu() {
709
289
  e += u(), t = "decimalExponent";
710
290
  return;
711
291
  }
712
- if (C$4.isDigit(A$1)) {
292
+ if (C$3.isDigit(A$1)) {
713
293
  e += u();
714
294
  return;
715
295
  }
716
296
  return F$2("numeric", w$2 * Number(e));
717
297
  },
718
298
  decimalPointLeading() {
719
- if (C$4.isDigit(A$1)) {
299
+ if (C$3.isDigit(A$1)) {
720
300
  e += u(), t = "decimalFraction";
721
301
  return;
722
302
  }
@@ -729,7 +309,7 @@ function uu() {
729
309
  e += u(), t = "decimalExponent";
730
310
  return;
731
311
  }
732
- if (C$4.isDigit(A$1)) {
312
+ if (C$3.isDigit(A$1)) {
733
313
  e += u(), t = "decimalFraction";
734
314
  return;
735
315
  }
@@ -742,7 +322,7 @@ function uu() {
742
322
  e += u(), t = "decimalExponent";
743
323
  return;
744
324
  }
745
- if (C$4.isDigit(A$1)) {
325
+ if (C$3.isDigit(A$1)) {
746
326
  e += u();
747
327
  return;
748
328
  }
@@ -755,35 +335,35 @@ function uu() {
755
335
  e += u(), t = "decimalExponentSign";
756
336
  return;
757
337
  }
758
- if (C$4.isDigit(A$1)) {
338
+ if (C$3.isDigit(A$1)) {
759
339
  e += u(), t = "decimalExponentInteger";
760
340
  return;
761
341
  }
762
342
  throw B$1(u());
763
343
  },
764
344
  decimalExponentSign() {
765
- if (C$4.isDigit(A$1)) {
345
+ if (C$3.isDigit(A$1)) {
766
346
  e += u(), t = "decimalExponentInteger";
767
347
  return;
768
348
  }
769
349
  throw B$1(u());
770
350
  },
771
351
  decimalExponentInteger() {
772
- if (C$4.isDigit(A$1)) {
352
+ if (C$3.isDigit(A$1)) {
773
353
  e += u();
774
354
  return;
775
355
  }
776
356
  return F$2("numeric", w$2 * Number(e));
777
357
  },
778
358
  hexadecimal() {
779
- if (C$4.isHexDigit(A$1)) {
359
+ if (C$3.isHexDigit(A$1)) {
780
360
  e += u(), t = "hexadecimalInteger";
781
361
  return;
782
362
  }
783
363
  throw B$1(u());
784
364
  },
785
365
  hexadecimalInteger() {
786
- if (C$4.isHexDigit(A$1)) {
366
+ if (C$3.isHexDigit(A$1)) {
787
367
  e += u();
788
368
  return;
789
369
  }
@@ -795,11 +375,11 @@ function uu() {
795
375
  u(), e += p$1();
796
376
  return;
797
377
  case "\"":
798
- if (x$3) return u(), F$2("string", e);
378
+ if (x$1) return u(), F$2("string", e);
799
379
  e += u();
800
380
  return;
801
381
  case "'":
802
- if (!x$3) return u(), F$2("string", e);
382
+ if (!x$1) return u(), F$2("string", e);
803
383
  e += u();
804
384
  return;
805
385
  case `
@@ -832,10 +412,10 @@ function uu() {
832
412
  case "}": return F$2("punctuator", u());
833
413
  case "\"":
834
414
  case "'":
835
- x$3 = u() === "\"", t = "string";
415
+ x$1 = u() === "\"", t = "string";
836
416
  return;
837
417
  }
838
- if (C$4.isIdStartChar(A$1)) {
418
+ if (C$3.isIdStartChar(A$1)) {
839
419
  e += u(), t = "identifierName";
840
420
  return;
841
421
  }
@@ -874,7 +454,7 @@ function uu() {
874
454
  return {
875
455
  type: D$1,
876
456
  value: a,
877
- line: h$3,
457
+ line: h$2,
878
458
  column: o
879
459
  };
880
460
  }
@@ -894,10 +474,10 @@ function uu() {
894
474
  case "t": return u(), " ";
895
475
  case "v": return u(), "\v";
896
476
  case "0":
897
- if (u(), C$4.isDigit(n())) throw B$1(u());
477
+ if (u(), C$3.isDigit(n())) throw B$1(u());
898
478
  return "\0";
899
479
  case "x": return u(), b$1();
900
- case "u": return u(), $$3();
480
+ case "u": return u(), $$2();
901
481
  case `
902
482
  `:
903
483
  case "\u2028":
@@ -919,45 +499,45 @@ function uu() {
919
499
  }
920
500
  function b$1() {
921
501
  let D$1 = "", a = n();
922
- if (!C$4.isHexDigit(a) || (D$1 += u(), a = n(), !C$4.isHexDigit(a))) throw B$1(u());
502
+ if (!C$3.isHexDigit(a) || (D$1 += u(), a = n(), !C$3.isHexDigit(a))) throw B$1(u());
923
503
  return D$1 += u(), String.fromCodePoint(parseInt(D$1, 16));
924
504
  }
925
- function $$3() {
505
+ function $$2() {
926
506
  let D$1 = "", a = 4;
927
507
  for (; a-- > 0;) {
928
508
  const g$1 = n();
929
- if (!C$4.isHexDigit(g$1)) throw B$1(u());
509
+ if (!C$3.isHexDigit(g$1)) throw B$1(u());
930
510
  D$1 += u();
931
511
  }
932
512
  return String.fromCodePoint(parseInt(D$1, 16));
933
513
  }
934
- const Q$3 = {
514
+ const Q$2 = {
935
515
  start() {
936
- if (f.type === "eof") throw N$4();
516
+ if (f.type === "eof") throw N$2();
937
517
  V$2();
938
518
  },
939
519
  beforePropertyName() {
940
520
  switch (f.type) {
941
521
  case "identifier":
942
522
  case "string":
943
- S$3 = f.value, s$1 = "afterPropertyName";
523
+ S$2 = f.value, s$1 = "afterPropertyName";
944
524
  return;
945
525
  case "punctuator":
946
526
  j$2();
947
527
  return;
948
- case "eof": throw N$4();
528
+ case "eof": throw N$2();
949
529
  }
950
530
  },
951
531
  afterPropertyName() {
952
- if (f.type === "eof") throw N$4();
532
+ if (f.type === "eof") throw N$2();
953
533
  s$1 = "beforePropertyValue";
954
534
  },
955
535
  beforePropertyValue() {
956
- if (f.type === "eof") throw N$4();
536
+ if (f.type === "eof") throw N$2();
957
537
  V$2();
958
538
  },
959
539
  beforeArrayValue() {
960
- if (f.type === "eof") throw N$4();
540
+ if (f.type === "eof") throw N$2();
961
541
  if (f.type === "punctuator" && f.value === "]") {
962
542
  j$2();
963
543
  return;
@@ -965,7 +545,7 @@ function uu() {
965
545
  V$2();
966
546
  },
967
547
  afterPropertyValue() {
968
- if (f.type === "eof") throw N$4();
548
+ if (f.type === "eof") throw N$2();
969
549
  switch (f.value) {
970
550
  case ",":
971
551
  s$1 = "beforePropertyName";
@@ -974,7 +554,7 @@ function uu() {
974
554
  }
975
555
  },
976
556
  afterArrayValue() {
977
- if (f.type === "eof") throw N$4();
557
+ if (f.type === "eof") throw N$2();
978
558
  switch (f.value) {
979
559
  case ",":
980
560
  s$1 = "beforeArrayValue";
@@ -1004,10 +584,10 @@ function uu() {
1004
584
  D$1 = f.value;
1005
585
  break;
1006
586
  }
1007
- if (m$1 === void 0) m$1 = D$1;
587
+ if (m === void 0) m = D$1;
1008
588
  else {
1009
589
  const a = c$1[c$1.length - 1];
1010
- Array.isArray(a) ? a.push(D$1) : Object.defineProperty(a, S$3, {
590
+ Array.isArray(a) ? a.push(D$1) : Object.defineProperty(a, S$2, {
1011
591
  value: D$1,
1012
592
  writable: !0,
1013
593
  enumerable: !0,
@@ -1026,13 +606,13 @@ function uu() {
1026
606
  D$1 == null ? s$1 = "end" : Array.isArray(D$1) ? s$1 = "afterArrayValue" : s$1 = "afterPropertyValue";
1027
607
  }
1028
608
  function B$1(D$1) {
1029
- return k$2(D$1 === void 0 ? `JSON5: invalid end of input at ${h$3}:${o}` : `JSON5: invalid character '${z$2(D$1)}' at ${h$3}:${o}`);
609
+ return k$1(D$1 === void 0 ? `JSON5: invalid end of input at ${h$2}:${o}` : `JSON5: invalid character '${z$2(D$1)}' at ${h$2}:${o}`);
1030
610
  }
1031
- function N$4() {
1032
- return k$2(`JSON5: invalid end of input at ${h$3}:${o}`);
611
+ function N$2() {
612
+ return k$1(`JSON5: invalid end of input at ${h$2}:${o}`);
1033
613
  }
1034
- function L$2() {
1035
- return o -= 5, k$2(`JSON5: invalid identifier character at ${h$3}:${o}`);
614
+ function L$1() {
615
+ return o -= 5, k$1(`JSON5: invalid identifier character at ${h$2}:${o}`);
1036
616
  }
1037
617
  function X$2(D$1) {
1038
618
  console.warn(`JSON5: '${z$2(D$1)}' in strings is not valid ECMAScript; consider escaping`);
@@ -1059,9 +639,9 @@ function uu() {
1059
639
  }
1060
640
  return D$1;
1061
641
  }
1062
- function k$2(D$1) {
642
+ function k$1(D$1) {
1063
643
  const a = new SyntaxError(D$1);
1064
- return a.lineNumber = h$3, a.columnNumber = o, a;
644
+ return a.lineNumber = h$2, a.columnNumber = o, a;
1065
645
  }
1066
646
  return q$1;
1067
647
  }
@@ -1070,11 +650,11 @@ var J$1, K$2;
1070
650
  function tu() {
1071
651
  if (K$2) return J$1;
1072
652
  K$2 = 1;
1073
- const C$4 = T$1();
1074
- return J$1 = function(s$1, c$1, d$1) {
1075
- const h$3 = [];
1076
- let o = "", f, S$3, m$1 = "", v$3;
1077
- if (c$1 != null && typeof c$1 == "object" && !Array.isArray(c$1) && (d$1 = c$1.space, v$3 = c$1.quote, c$1 = c$1.replacer), typeof c$1 == "function") S$3 = c$1;
653
+ const C$3 = T$1();
654
+ return J$1 = function(s$1, c$1, d) {
655
+ const h$2 = [];
656
+ let o = "", f, S$2, m = "", v$2;
657
+ if (c$1 != null && typeof c$1 == "object" && !Array.isArray(c$1) && (d = c$1.space, v$2 = c$1.quote, c$1 = c$1.replacer), typeof c$1 == "function") S$2 = c$1;
1078
658
  else if (Array.isArray(c$1)) {
1079
659
  f = [];
1080
660
  for (const E$1 of c$1) {
@@ -1082,17 +662,17 @@ function tu() {
1082
662
  typeof E$1 == "string" ? n = E$1 : (typeof E$1 == "number" || E$1 instanceof String || E$1 instanceof Number) && (n = String(E$1)), n !== void 0 && f.indexOf(n) < 0 && f.push(n);
1083
663
  }
1084
664
  }
1085
- return d$1 instanceof Number ? d$1 = Number(d$1) : d$1 instanceof String && (d$1 = String(d$1)), typeof d$1 == "number" ? d$1 > 0 && (d$1 = Math.min(10, Math.floor(d$1)), m$1 = " ".substr(0, d$1)) : typeof d$1 == "string" && (m$1 = d$1.substr(0, 10)), t("", { "": s$1 });
665
+ return d instanceof Number ? d = Number(d) : d instanceof String && (d = String(d)), typeof d == "number" ? d > 0 && (d = Math.min(10, Math.floor(d)), m = " ".substr(0, d)) : typeof d == "string" && (m = d.substr(0, 10)), t("", { "": s$1 });
1086
666
  function t(E$1, n) {
1087
667
  let u = n[E$1];
1088
- switch (u != null && (typeof u.toJSON5 == "function" ? u = u.toJSON5(E$1) : typeof u.toJSON == "function" && (u = u.toJSON(E$1))), S$3 && (u = S$3.call(n, E$1, u)), u instanceof Number ? u = Number(u) : u instanceof String ? u = String(u) : u instanceof Boolean && (u = u.valueOf()), u) {
668
+ switch (u != null && (typeof u.toJSON5 == "function" ? u = u.toJSON5(E$1) : typeof u.toJSON == "function" && (u = u.toJSON(E$1))), S$2 && (u = S$2.call(n, E$1, u)), u instanceof Number ? u = Number(u) : u instanceof String ? u = String(u) : u instanceof Boolean && (u = u.valueOf()), u) {
1089
669
  case null: return "null";
1090
670
  case !0: return "true";
1091
671
  case !1: return "false";
1092
672
  }
1093
673
  if (typeof u == "string") return e(u);
1094
674
  if (typeof u == "number") return String(u);
1095
- if (typeof u == "object") return Array.isArray(u) ? A$1(u) : x$3(u);
675
+ if (typeof u == "object") return Array.isArray(u) ? A$1(u) : x$1(u);
1096
676
  }
1097
677
  function e(E$1) {
1098
678
  const n = {
@@ -1120,7 +700,7 @@ function tu() {
1120
700
  case "\"":
1121
701
  n[p$1]++, l += p$1;
1122
702
  continue;
1123
- case "\0": if (C$4.isDigit(E$1[i + 1])) {
703
+ case "\0": if (C$3.isDigit(E$1[i + 1])) {
1124
704
  l += "\\x00";
1125
705
  continue;
1126
706
  }
@@ -1136,27 +716,27 @@ function tu() {
1136
716
  }
1137
717
  l += p$1;
1138
718
  }
1139
- const F$2 = v$3 || Object.keys(n).reduce((i, p$1) => n[i] < n[p$1] ? i : p$1);
719
+ const F$2 = v$2 || Object.keys(n).reduce((i, p$1) => n[i] < n[p$1] ? i : p$1);
1140
720
  return l = l.replace(new RegExp(F$2, "g"), u[F$2]), F$2 + l + F$2;
1141
721
  }
1142
- function x$3(E$1) {
1143
- if (h$3.indexOf(E$1) >= 0) throw TypeError("Converting circular structure to JSON5");
1144
- h$3.push(E$1);
722
+ function x$1(E$1) {
723
+ if (h$2.indexOf(E$1) >= 0) throw TypeError("Converting circular structure to JSON5");
724
+ h$2.push(E$1);
1145
725
  let n = o;
1146
- o = o + m$1;
726
+ o = o + m;
1147
727
  let u = f || Object.keys(E$1), l = [];
1148
728
  for (const i of u) {
1149
729
  const p$1 = t(i, E$1);
1150
730
  if (p$1 !== void 0) {
1151
731
  let b$1 = w$2(i) + ":";
1152
- m$1 !== "" && (b$1 += " "), b$1 += p$1, l.push(b$1);
732
+ m !== "" && (b$1 += " "), b$1 += p$1, l.push(b$1);
1153
733
  }
1154
734
  }
1155
735
  let F$2;
1156
736
  if (l.length === 0) F$2 = "{}";
1157
737
  else {
1158
738
  let i;
1159
- if (m$1 === "") i = l.join(","), F$2 = "{" + i + "}";
739
+ if (m === "") i = l.join(","), F$2 = "{" + i + "}";
1160
740
  else {
1161
741
  let p$1 = `,
1162
742
  ` + o;
@@ -1165,20 +745,20 @@ function tu() {
1165
745
  ` + n + "}";
1166
746
  }
1167
747
  }
1168
- return h$3.pop(), o = n, F$2;
748
+ return h$2.pop(), o = n, F$2;
1169
749
  }
1170
750
  function w$2(E$1) {
1171
751
  if (E$1.length === 0) return e(E$1);
1172
752
  const n = String.fromCodePoint(E$1.codePointAt(0));
1173
- if (!C$4.isIdStartChar(n)) return e(E$1);
1174
- for (let u = n.length; u < E$1.length; u++) if (!C$4.isIdContinueChar(String.fromCodePoint(E$1.codePointAt(u)))) return e(E$1);
753
+ if (!C$3.isIdStartChar(n)) return e(E$1);
754
+ for (let u = n.length; u < E$1.length; u++) if (!C$3.isIdContinueChar(String.fromCodePoint(E$1.codePointAt(u)))) return e(E$1);
1175
755
  return E$1;
1176
756
  }
1177
757
  function A$1(E$1) {
1178
- if (h$3.indexOf(E$1) >= 0) throw TypeError("Converting circular structure to JSON5");
1179
- h$3.push(E$1);
758
+ if (h$2.indexOf(E$1) >= 0) throw TypeError("Converting circular structure to JSON5");
759
+ h$2.push(E$1);
1180
760
  let n = o;
1181
- o = o + m$1;
761
+ o = o + m;
1182
762
  let u = [];
1183
763
  for (let F$2 = 0; F$2 < E$1.length; F$2++) {
1184
764
  const i = t(String(F$2), E$1);
@@ -1186,7 +766,7 @@ function tu() {
1186
766
  }
1187
767
  let l;
1188
768
  if (u.length === 0) l = "[]";
1189
- else if (m$1 === "") l = "[" + u.join(",") + "]";
769
+ else if (m === "") l = "[" + u.join(",") + "]";
1190
770
  else {
1191
771
  let F$2 = `,
1192
772
  ` + o, i = u.join(F$2);
@@ -1194,18 +774,22 @@ function tu() {
1194
774
  ` + o + i + `,
1195
775
  ` + n + "]";
1196
776
  }
1197
- return h$3.pop(), o = n, l;
777
+ return h$2.pop(), o = n, l;
1198
778
  }
1199
779
  }, J$1;
1200
780
  }
1201
781
  const ru = R$2(tu());
1202
- function Cu(C$4, r$1) {
1203
- const s$1 = eu(C$4, r$1?.reviver);
1204
- return N(C$4, s$1, r$1), s$1;
782
+ function Cu(C$3, r) {
783
+ const s$1 = eu(C$3, r?.reviver);
784
+ return N$1(C$3, s$1, r), s$1;
1205
785
  }
1206
786
 
1207
787
  //#endregion
1208
788
  //#region node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs
789
+ var yaml_exports = /* @__PURE__ */ __exportAll({
790
+ parseYAML: () => mr,
791
+ stringifyYAML: () => gr
792
+ });
1209
793
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ function oe(e) {
1210
794
  return typeof e > "u" || e === null;
1211
795
  }
@@ -1216,8 +800,8 @@ function We(e) {
1216
800
  return Array.isArray(e) ? e : oe(e) ? [] : [e];
1217
801
  }
1218
802
  function $e(e, n) {
1219
- var i, l, r$1, u;
1220
- if (n) for (u = Object.keys(n), i = 0, l = u.length; i < l; i += 1) r$1 = u[i], e[r$1] = n[r$1];
803
+ var i, l, r, u;
804
+ if (n) for (u = Object.keys(n), i = 0, l = u.length; i < l; i += 1) r = u[i], e[r] = n[r];
1221
805
  return e;
1222
806
  }
1223
807
  function Qe(e, n) {
@@ -1249,8 +833,8 @@ M$1.prototype = Object.create(Error.prototype), M$1.prototype.constructor = M$1,
1249
833
  return this.name + ": " + ue(this, n);
1250
834
  };
1251
835
  var w$1 = M$1;
1252
- function $$1(e, n, i, l, r$1) {
1253
- var u = "", o = "", f = Math.floor(r$1 / 2) - 1;
836
+ function $$1(e, n, i, l, r) {
837
+ var u = "", o = "", f = Math.floor(r / 2) - 1;
1254
838
  return l - n > f && (u = " ... ", n = l - f + u.length), i - l > f && (o = " ...", i = l + f - o.length), {
1255
839
  str: u + e.slice(n, i).replace(/\t/g, "→") + o,
1256
840
  pos: l - n + u.length
@@ -1262,14 +846,14 @@ function Q$1(e, n) {
1262
846
  function rn(e, n) {
1263
847
  if (n = Object.create(n || null), !e.buffer) return null;
1264
848
  n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
1265
- for (var i = /\r?\n|\r|\0/g, l = [0], r$1 = [], u, o = -1; u = i.exec(e.buffer);) r$1.push(u.index), l.push(u.index + u[0].length), e.position <= u.index && o < 0 && (o = l.length - 2);
849
+ for (var i = /\r?\n|\r|\0/g, l = [0], r = [], u, o = -1; u = i.exec(e.buffer);) r.push(u.index), l.push(u.index + u[0].length), e.position <= u.index && o < 0 && (o = l.length - 2);
1266
850
  o < 0 && (o = l.length - 1);
1267
- var f = "", c$1, a, t = Math.min(e.line + n.linesAfter, r$1.length).toString().length, p$1 = n.maxLength - (n.indent + t + 3);
1268
- for (c$1 = 1; c$1 <= n.linesBefore && !(o - c$1 < 0); c$1++) a = $$1(e.buffer, l[o - c$1], r$1[o - c$1], e.position - (l[o] - l[o - c$1]), p$1), f = y$1.repeat(" ", n.indent) + Q$1((e.line - c$1 + 1).toString(), t) + " | " + a.str + `
851
+ var f = "", c$1, a, t = Math.min(e.line + n.linesAfter, r.length).toString().length, p$1 = n.maxLength - (n.indent + t + 3);
852
+ for (c$1 = 1; c$1 <= n.linesBefore && !(o - c$1 < 0); c$1++) a = $$1(e.buffer, l[o - c$1], r[o - c$1], e.position - (l[o] - l[o - c$1]), p$1), f = y$1.repeat(" ", n.indent) + Q$1((e.line - c$1 + 1).toString(), t) + " | " + a.str + `
1269
853
  ` + f;
1270
- for (a = $$1(e.buffer, l[o], r$1[o], e.position, p$1), f += y$1.repeat(" ", n.indent) + Q$1((e.line + 1).toString(), t) + " | " + a.str + `
854
+ for (a = $$1(e.buffer, l[o], r[o], e.position, p$1), f += y$1.repeat(" ", n.indent) + Q$1((e.line + 1).toString(), t) + " | " + a.str + `
1271
855
  `, f += y$1.repeat("-", n.indent + t + 3 + a.pos) + `^
1272
- `, c$1 = 1; c$1 <= n.linesAfter && !(o + c$1 >= r$1.length); c$1++) a = $$1(e.buffer, l[o + c$1], r$1[o + c$1], e.position - (l[o] - l[o + c$1]), p$1), f += y$1.repeat(" ", n.indent) + Q$1((e.line + c$1 + 1).toString(), t) + " | " + a.str + `
856
+ `, c$1 = 1; c$1 <= n.linesAfter && !(o + c$1 >= r.length); c$1++) a = $$1(e.buffer, l[o + c$1], r[o + c$1], e.position - (l[o] - l[o + c$1]), p$1), f += y$1.repeat(" ", n.indent) + Q$1((e.line + c$1 + 1).toString(), t) + " | " + a.str + `
1273
857
  `;
1274
858
  return f.replace(/\n$/, "");
1275
859
  }
@@ -1306,14 +890,14 @@ function cn(e, n) {
1306
890
  return i;
1307
891
  }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = fn(n.styleAliases || null), un.indexOf(this.kind) === -1) throw new w$1("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
1308
892
  }
1309
- var C$2 = cn;
893
+ var C$1 = cn;
1310
894
  function fe(e, n) {
1311
895
  var i = [];
1312
896
  return e[n].forEach(function(l) {
1313
- var r$1 = i.length;
897
+ var r = i.length;
1314
898
  i.forEach(function(u, o) {
1315
- u.tag === l.tag && u.kind === l.kind && u.multi === l.multi && (r$1 = o);
1316
- }), i[r$1] = l;
899
+ u.tag === l.tag && u.kind === l.kind && u.multi === l.multi && (r = o);
900
+ }), i[r] = l;
1317
901
  }), i;
1318
902
  }
1319
903
  function an() {
@@ -1329,8 +913,8 @@ function an() {
1329
913
  fallback: []
1330
914
  }
1331
915
  }, n, i;
1332
- function l(r$1) {
1333
- r$1.multi ? (e.multi[r$1.kind].push(r$1), e.multi.fallback.push(r$1)) : e[r$1.kind][r$1.tag] = e.fallback[r$1.tag] = r$1;
916
+ function l(r) {
917
+ r.multi ? (e.multi[r.kind].push(r), e.multi.fallback.push(r)) : e[r.kind][r.tag] = e.fallback[r.tag] = r;
1334
918
  }
1335
919
  for (n = 0, i = arguments.length; n < i; n += 1) arguments[n].forEach(l);
1336
920
  return e;
@@ -1340,34 +924,34 @@ function V$1(e) {
1340
924
  }
1341
925
  V$1.prototype.extend = function(n) {
1342
926
  var i = [], l = [];
1343
- if (n instanceof C$2) l.push(n);
927
+ if (n instanceof C$1) l.push(n);
1344
928
  else if (Array.isArray(n)) l = l.concat(n);
1345
929
  else if (n && (Array.isArray(n.implicit) || Array.isArray(n.explicit))) n.implicit && (i = i.concat(n.implicit)), n.explicit && (l = l.concat(n.explicit));
1346
930
  else throw new w$1("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1347
931
  i.forEach(function(u) {
1348
- if (!(u instanceof C$2)) throw new w$1("Specified list of YAML types (or a single Type object) contains a non-Type object.");
932
+ if (!(u instanceof C$1)) throw new w$1("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1349
933
  if (u.loadKind && u.loadKind !== "scalar") throw new w$1("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1350
934
  if (u.multi) throw new w$1("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1351
935
  }), l.forEach(function(u) {
1352
- if (!(u instanceof C$2)) throw new w$1("Specified list of YAML types (or a single Type object) contains a non-Type object.");
936
+ if (!(u instanceof C$1)) throw new w$1("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1353
937
  });
1354
- var r$1 = Object.create(V$1.prototype);
1355
- return r$1.implicit = (this.implicit || []).concat(i), r$1.explicit = (this.explicit || []).concat(l), r$1.compiledImplicit = fe(r$1, "implicit"), r$1.compiledExplicit = fe(r$1, "explicit"), r$1.compiledTypeMap = an(r$1.compiledImplicit, r$1.compiledExplicit), r$1;
938
+ var r = Object.create(V$1.prototype);
939
+ return r.implicit = (this.implicit || []).concat(i), r.explicit = (this.explicit || []).concat(l), r.compiledImplicit = fe(r, "implicit"), r.compiledExplicit = fe(r, "explicit"), r.compiledTypeMap = an(r.compiledImplicit, r.compiledExplicit), r;
1356
940
  };
1357
941
  var sn = new V$1({ explicit: [
1358
- new C$2("tag:yaml.org,2002:str", {
942
+ new C$1("tag:yaml.org,2002:str", {
1359
943
  kind: "scalar",
1360
944
  construct: function(e) {
1361
945
  return e !== null ? e : "";
1362
946
  }
1363
947
  }),
1364
- new C$2("tag:yaml.org,2002:seq", {
948
+ new C$1("tag:yaml.org,2002:seq", {
1365
949
  kind: "sequence",
1366
950
  construct: function(e) {
1367
951
  return e !== null ? e : [];
1368
952
  }
1369
953
  }),
1370
- new C$2("tag:yaml.org,2002:map", {
954
+ new C$1("tag:yaml.org,2002:map", {
1371
955
  kind: "mapping",
1372
956
  construct: function(e) {
1373
957
  return e !== null ? e : {};
@@ -1385,7 +969,7 @@ function mn() {
1385
969
  function gn(e) {
1386
970
  return e === null;
1387
971
  }
1388
- var An = new C$2("tag:yaml.org,2002:null", {
972
+ var An = new C$1("tag:yaml.org,2002:null", {
1389
973
  kind: "scalar",
1390
974
  resolve: xn,
1391
975
  construct: mn,
@@ -1420,7 +1004,7 @@ function yn(e) {
1420
1004
  function Cn(e) {
1421
1005
  return Object.prototype.toString.call(e) === "[object Boolean]";
1422
1006
  }
1423
- var _n = new C$2("tag:yaml.org,2002:bool", {
1007
+ var _n = new C$1("tag:yaml.org,2002:bool", {
1424
1008
  kind: "scalar",
1425
1009
  resolve: vn,
1426
1010
  construct: yn,
@@ -1449,38 +1033,38 @@ function bn(e) {
1449
1033
  }
1450
1034
  function Sn(e) {
1451
1035
  if (e === null) return !1;
1452
- var n = e.length, i = 0, l = !1, r$1;
1036
+ var n = e.length, i = 0, l = !1, r;
1453
1037
  if (!n) return !1;
1454
- if (r$1 = e[i], (r$1 === "-" || r$1 === "+") && (r$1 = e[++i]), r$1 === "0") {
1038
+ if (r = e[i], (r === "-" || r === "+") && (r = e[++i]), r === "0") {
1455
1039
  if (i + 1 === n) return !0;
1456
- if (r$1 = e[++i], r$1 === "b") {
1457
- for (i++; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1458
- if (r$1 !== "0" && r$1 !== "1") return !1;
1040
+ if (r = e[++i], r === "b") {
1041
+ for (i++; i < n; i++) if (r = e[i], r !== "_") {
1042
+ if (r !== "0" && r !== "1") return !1;
1459
1043
  l = !0;
1460
1044
  }
1461
- return l && r$1 !== "_";
1045
+ return l && r !== "_";
1462
1046
  }
1463
- if (r$1 === "x") {
1464
- for (i++; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1047
+ if (r === "x") {
1048
+ for (i++; i < n; i++) if (r = e[i], r !== "_") {
1465
1049
  if (!wn(e.charCodeAt(i))) return !1;
1466
1050
  l = !0;
1467
1051
  }
1468
- return l && r$1 !== "_";
1052
+ return l && r !== "_";
1469
1053
  }
1470
- if (r$1 === "o") {
1471
- for (i++; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1054
+ if (r === "o") {
1055
+ for (i++; i < n; i++) if (r = e[i], r !== "_") {
1472
1056
  if (!Fn(e.charCodeAt(i))) return !1;
1473
1057
  l = !0;
1474
1058
  }
1475
- return l && r$1 !== "_";
1059
+ return l && r !== "_";
1476
1060
  }
1477
1061
  }
1478
- if (r$1 === "_") return !1;
1479
- for (; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1062
+ if (r === "_") return !1;
1063
+ for (; i < n; i++) if (r = e[i], r !== "_") {
1480
1064
  if (!bn(e.charCodeAt(i))) return !1;
1481
1065
  l = !0;
1482
1066
  }
1483
- return !(!l || r$1 === "_");
1067
+ return !(!l || r === "_");
1484
1068
  }
1485
1069
  function En(e) {
1486
1070
  var n = e, i = 1, l;
@@ -1495,7 +1079,7 @@ function En(e) {
1495
1079
  function Tn(e) {
1496
1080
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !y$1.isNegativeZero(e);
1497
1081
  }
1498
- var On = new C$2("tag:yaml.org,2002:int", {
1082
+ var On = new C$1("tag:yaml.org,2002:int", {
1499
1083
  kind: "scalar",
1500
1084
  resolve: Sn,
1501
1085
  construct: En,
@@ -1553,7 +1137,7 @@ function Rn(e, n) {
1553
1137
  function Dn(e) {
1554
1138
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || y$1.isNegativeZero(e));
1555
1139
  }
1556
- var Mn = new C$2("tag:yaml.org,2002:float", {
1140
+ var Mn = new C$1("tag:yaml.org,2002:float", {
1557
1141
  kind: "scalar",
1558
1142
  resolve: kn,
1559
1143
  construct: Ln,
@@ -1570,19 +1154,19 @@ function Pn(e) {
1570
1154
  return e === null ? !1 : ce.exec(e) !== null || ae.exec(e) !== null;
1571
1155
  }
1572
1156
  function jn(e) {
1573
- var n, i, l, r$1, u, o, f, c$1 = 0, a = null, t, p$1, d$1;
1157
+ var n, i, l, r, u, o, f, c$1 = 0, a = null, t, p$1, d;
1574
1158
  if (n = ce.exec(e), n === null && (n = ae.exec(e)), n === null) throw new Error("Date resolve error");
1575
- if (i = +n[1], l = +n[2] - 1, r$1 = +n[3], !n[4]) return new Date(Date.UTC(i, l, r$1));
1159
+ if (i = +n[1], l = +n[2] - 1, r = +n[3], !n[4]) return new Date(Date.UTC(i, l, r));
1576
1160
  if (u = +n[4], o = +n[5], f = +n[6], n[7]) {
1577
1161
  for (c$1 = n[7].slice(0, 3); c$1.length < 3;) c$1 += "0";
1578
1162
  c$1 = +c$1;
1579
1163
  }
1580
- return n[9] && (t = +n[10], p$1 = +(n[11] || 0), a = (t * 60 + p$1) * 6e4, n[9] === "-" && (a = -a)), d$1 = new Date(Date.UTC(i, l, r$1, u, o, f, c$1)), a && d$1.setTime(d$1.getTime() - a), d$1;
1164
+ return n[9] && (t = +n[10], p$1 = +(n[11] || 0), a = (t * 60 + p$1) * 6e4, n[9] === "-" && (a = -a)), d = new Date(Date.UTC(i, l, r, u, o, f, c$1)), a && d.setTime(d.getTime() - a), d;
1581
1165
  }
1582
1166
  function Hn(e) {
1583
1167
  return e.toISOString();
1584
1168
  }
1585
- var Un = new C$2("tag:yaml.org,2002:timestamp", {
1169
+ var Un = new C$1("tag:yaml.org,2002:timestamp", {
1586
1170
  kind: "scalar",
1587
1171
  resolve: Pn,
1588
1172
  construct: jn,
@@ -1592,34 +1176,34 @@ var Un = new C$2("tag:yaml.org,2002:timestamp", {
1592
1176
  function Kn(e) {
1593
1177
  return e === "<<" || e === null;
1594
1178
  }
1595
- var qn = new C$2("tag:yaml.org,2002:merge", {
1179
+ var qn = new C$1("tag:yaml.org,2002:merge", {
1596
1180
  kind: "scalar",
1597
1181
  resolve: Kn
1598
1182
  }), X$1 = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1599
1183
  \r`;
1600
1184
  function Gn(e) {
1601
1185
  if (e === null) return !1;
1602
- var n, i, l = 0, r$1 = e.length, u = X$1;
1603
- for (i = 0; i < r$1; i++) if (n = u.indexOf(e.charAt(i)), !(n > 64)) {
1186
+ var n, i, l = 0, r = e.length, u = X$1;
1187
+ for (i = 0; i < r; i++) if (n = u.indexOf(e.charAt(i)), !(n > 64)) {
1604
1188
  if (n < 0) return !1;
1605
1189
  l += 6;
1606
1190
  }
1607
1191
  return l % 8 === 0;
1608
1192
  }
1609
1193
  function Wn(e) {
1610
- var n, i, l = e.replace(/[\r\n=]/g, ""), r$1 = l.length, u = X$1, o = 0, f = [];
1611
- for (n = 0; n < r$1; n++) n % 4 === 0 && n && (f.push(o >> 16 & 255), f.push(o >> 8 & 255), f.push(o & 255)), o = o << 6 | u.indexOf(l.charAt(n));
1612
- return i = r$1 % 4 * 6, i === 0 ? (f.push(o >> 16 & 255), f.push(o >> 8 & 255), f.push(o & 255)) : i === 18 ? (f.push(o >> 10 & 255), f.push(o >> 2 & 255)) : i === 12 && f.push(o >> 4 & 255), new Uint8Array(f);
1194
+ var n, i, l = e.replace(/[\r\n=]/g, ""), r = l.length, u = X$1, o = 0, f = [];
1195
+ for (n = 0; n < r; n++) n % 4 === 0 && n && (f.push(o >> 16 & 255), f.push(o >> 8 & 255), f.push(o & 255)), o = o << 6 | u.indexOf(l.charAt(n));
1196
+ return i = r % 4 * 6, i === 0 ? (f.push(o >> 16 & 255), f.push(o >> 8 & 255), f.push(o & 255)) : i === 18 ? (f.push(o >> 10 & 255), f.push(o >> 2 & 255)) : i === 12 && f.push(o >> 4 & 255), new Uint8Array(f);
1613
1197
  }
1614
1198
  function $n(e) {
1615
- var n = "", i = 0, l, r$1, u = e.length, o = X$1;
1199
+ var n = "", i = 0, l, r, u = e.length, o = X$1;
1616
1200
  for (l = 0; l < u; l++) l % 3 === 0 && l && (n += o[i >> 18 & 63], n += o[i >> 12 & 63], n += o[i >> 6 & 63], n += o[i & 63]), i = (i << 8) + e[l];
1617
- return r$1 = u % 3, r$1 === 0 ? (n += o[i >> 18 & 63], n += o[i >> 12 & 63], n += o[i >> 6 & 63], n += o[i & 63]) : r$1 === 2 ? (n += o[i >> 10 & 63], n += o[i >> 4 & 63], n += o[i << 2 & 63], n += o[64]) : r$1 === 1 && (n += o[i >> 2 & 63], n += o[i << 4 & 63], n += o[64], n += o[64]), n;
1201
+ return r = u % 3, r === 0 ? (n += o[i >> 18 & 63], n += o[i >> 12 & 63], n += o[i >> 6 & 63], n += o[i & 63]) : r === 2 ? (n += o[i >> 10 & 63], n += o[i >> 4 & 63], n += o[i << 2 & 63], n += o[64]) : r === 1 && (n += o[i >> 2 & 63], n += o[i << 4 & 63], n += o[64], n += o[64]), n;
1618
1202
  }
1619
1203
  function Qn(e) {
1620
1204
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1621
1205
  }
1622
- var Vn = new C$2("tag:yaml.org,2002:binary", {
1206
+ var Vn = new C$1("tag:yaml.org,2002:binary", {
1623
1207
  kind: "scalar",
1624
1208
  resolve: Gn,
1625
1209
  construct: Wn,
@@ -1628,10 +1212,10 @@ var Vn = new C$2("tag:yaml.org,2002:binary", {
1628
1212
  }), Xn = Object.prototype.hasOwnProperty, Zn = Object.prototype.toString;
1629
1213
  function zn(e) {
1630
1214
  if (e === null) return !0;
1631
- var n = [], i, l, r$1, u, o, f = e;
1215
+ var n = [], i, l, r, u, o, f = e;
1632
1216
  for (i = 0, l = f.length; i < l; i += 1) {
1633
- if (r$1 = f[i], o = !1, Zn.call(r$1) !== "[object Object]") return !1;
1634
- for (u in r$1) if (Xn.call(r$1, u)) if (!o) o = !0;
1217
+ if (r = f[i], o = !1, Zn.call(r) !== "[object Object]") return !1;
1218
+ for (u in r) if (Xn.call(r, u)) if (!o) o = !0;
1635
1219
  else return !1;
1636
1220
  if (!o) return !1;
1637
1221
  if (n.indexOf(u) === -1) n.push(u);
@@ -1642,27 +1226,27 @@ function zn(e) {
1642
1226
  function Jn(e) {
1643
1227
  return e !== null ? e : [];
1644
1228
  }
1645
- var ei = new C$2("tag:yaml.org,2002:omap", {
1229
+ var ei = new C$1("tag:yaml.org,2002:omap", {
1646
1230
  kind: "sequence",
1647
1231
  resolve: zn,
1648
1232
  construct: Jn
1649
1233
  }), ni = Object.prototype.toString;
1650
1234
  function ii(e) {
1651
1235
  if (e === null) return !0;
1652
- var n, i, l, r$1, u, o = e;
1236
+ var n, i, l, r, u, o = e;
1653
1237
  for (u = new Array(o.length), n = 0, i = o.length; n < i; n += 1) {
1654
- if (l = o[n], ni.call(l) !== "[object Object]" || (r$1 = Object.keys(l), r$1.length !== 1)) return !1;
1655
- u[n] = [r$1[0], l[r$1[0]]];
1238
+ if (l = o[n], ni.call(l) !== "[object Object]" || (r = Object.keys(l), r.length !== 1)) return !1;
1239
+ u[n] = [r[0], l[r[0]]];
1656
1240
  }
1657
1241
  return !0;
1658
1242
  }
1659
1243
  function ri(e) {
1660
1244
  if (e === null) return [];
1661
- var n, i, l, r$1, u, o = e;
1662
- for (u = new Array(o.length), n = 0, i = o.length; n < i; n += 1) l = o[n], r$1 = Object.keys(l), u[n] = [r$1[0], l[r$1[0]]];
1245
+ var n, i, l, r, u, o = e;
1246
+ for (u = new Array(o.length), n = 0, i = o.length; n < i; n += 1) l = o[n], r = Object.keys(l), u[n] = [r[0], l[r[0]]];
1663
1247
  return u;
1664
1248
  }
1665
- var li = new C$2("tag:yaml.org,2002:pairs", {
1249
+ var li = new C$1("tag:yaml.org,2002:pairs", {
1666
1250
  kind: "sequence",
1667
1251
  resolve: ii,
1668
1252
  construct: ri
@@ -1676,7 +1260,7 @@ function ui(e) {
1676
1260
  function fi(e) {
1677
1261
  return e !== null ? e : {};
1678
1262
  }
1679
- var ci = new C$2("tag:yaml.org,2002:set", {
1263
+ var ci = new C$1("tag:yaml.org,2002:set", {
1680
1264
  kind: "mapping",
1681
1265
  resolve: ui,
1682
1266
  construct: fi
@@ -1735,7 +1319,7 @@ function ye(e, n) {
1735
1319
  };
1736
1320
  return i.snippet = ln(i), new w$1(n, i);
1737
1321
  }
1738
- function h$1(e, n) {
1322
+ function h(e, n) {
1739
1323
  throw ye(e, n);
1740
1324
  }
1741
1325
  function K$1(e, n) {
@@ -1743,56 +1327,56 @@ function K$1(e, n) {
1743
1327
  }
1744
1328
  var Ce = {
1745
1329
  YAML: function(n, i, l) {
1746
- var r$1, u, o;
1747
- n.version !== null && h$1(n, "duplication of %YAML directive"), l.length !== 1 && h$1(n, "YAML directive accepts exactly one argument"), r$1 = /^([0-9]+)\.([0-9]+)$/.exec(l[0]), r$1 === null && h$1(n, "ill-formed argument of the YAML directive"), u = parseInt(r$1[1], 10), o = parseInt(r$1[2], 10), u !== 1 && h$1(n, "unacceptable YAML version of the document"), n.version = l[0], n.checkLineBreaks = o < 2, o !== 1 && o !== 2 && K$1(n, "unsupported YAML version of the document");
1330
+ var r, u, o;
1331
+ n.version !== null && h(n, "duplication of %YAML directive"), l.length !== 1 && h(n, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(l[0]), r === null && h(n, "ill-formed argument of the YAML directive"), u = parseInt(r[1], 10), o = parseInt(r[2], 10), u !== 1 && h(n, "unacceptable YAML version of the document"), n.version = l[0], n.checkLineBreaks = o < 2, o !== 1 && o !== 2 && K$1(n, "unsupported YAML version of the document");
1748
1332
  },
1749
1333
  TAG: function(n, i, l) {
1750
- var r$1, u;
1751
- l.length !== 2 && h$1(n, "TAG directive accepts exactly two arguments"), r$1 = l[0], u = l[1], se.test(r$1) || h$1(n, "ill-formed tag handle (first argument) of the TAG directive"), T.call(n.tagMap, r$1) && h$1(n, "there is a previously declared suffix for \"" + r$1 + "\" tag handle"), xe.test(u) || h$1(n, "ill-formed tag prefix (second argument) of the TAG directive");
1334
+ var r, u;
1335
+ l.length !== 2 && h(n, "TAG directive accepts exactly two arguments"), r = l[0], u = l[1], se.test(r) || h(n, "ill-formed tag handle (first argument) of the TAG directive"), T.call(n.tagMap, r) && h(n, "there is a previously declared suffix for \"" + r + "\" tag handle"), xe.test(u) || h(n, "ill-formed tag prefix (second argument) of the TAG directive");
1752
1336
  try {
1753
1337
  u = decodeURIComponent(u);
1754
1338
  } catch {
1755
- h$1(n, "tag prefix is malformed: " + u);
1339
+ h(n, "tag prefix is malformed: " + u);
1756
1340
  }
1757
- n.tagMap[r$1] = u;
1341
+ n.tagMap[r] = u;
1758
1342
  }
1759
1343
  };
1760
1344
  function O(e, n, i, l) {
1761
- var r$1, u, o, f;
1345
+ var r, u, o, f;
1762
1346
  if (n < i) {
1763
- if (f = e.input.slice(n, i), l) for (r$1 = 0, u = f.length; r$1 < u; r$1 += 1) o = f.charCodeAt(r$1), o === 9 || 32 <= o && o <= 1114111 || h$1(e, "expected valid JSON character");
1764
- else pi.test(f) && h$1(e, "the stream contains non-printable characters");
1347
+ if (f = e.input.slice(n, i), l) for (r = 0, u = f.length; r < u; r += 1) o = f.charCodeAt(r), o === 9 || 32 <= o && o <= 1114111 || h(e, "expected valid JSON character");
1348
+ else pi.test(f) && h(e, "the stream contains non-printable characters");
1765
1349
  e.result += f;
1766
1350
  }
1767
1351
  }
1768
1352
  function _e(e, n, i, l) {
1769
- var r$1, u, o, f;
1770
- for (y$1.isObject(i) || h$1(e, "cannot merge mappings; the provided source object is unacceptable"), r$1 = Object.keys(i), o = 0, f = r$1.length; o < f; o += 1) u = r$1[o], T.call(n, u) || (n[u] = i[u], l[u] = !0);
1353
+ var r, u, o, f;
1354
+ for (y$1.isObject(i) || h(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(i), o = 0, f = r.length; o < f; o += 1) u = r[o], T.call(n, u) || (n[u] = i[u], l[u] = !0);
1771
1355
  }
1772
- function N$1(e, n, i, l, r$1, u, o, f, c$1) {
1356
+ function N(e, n, i, l, r, u, o, f, c$1) {
1773
1357
  var a, t;
1774
- if (Array.isArray(r$1)) for (r$1 = Array.prototype.slice.call(r$1), a = 0, t = r$1.length; a < t; a += 1) Array.isArray(r$1[a]) && h$1(e, "nested arrays are not supported inside keys"), typeof r$1 == "object" && me(r$1[a]) === "[object Object]" && (r$1[a] = "[object Object]");
1775
- if (typeof r$1 == "object" && me(r$1) === "[object Object]" && (r$1 = "[object Object]"), r$1 = String(r$1), n === null && (n = {}), l === "tag:yaml.org,2002:merge") if (Array.isArray(u)) for (a = 0, t = u.length; a < t; a += 1) _e(e, n, u[a], i);
1358
+ if (Array.isArray(r)) for (r = Array.prototype.slice.call(r), a = 0, t = r.length; a < t; a += 1) Array.isArray(r[a]) && h(e, "nested arrays are not supported inside keys"), typeof r == "object" && me(r[a]) === "[object Object]" && (r[a] = "[object Object]");
1359
+ if (typeof r == "object" && me(r) === "[object Object]" && (r = "[object Object]"), r = String(r), n === null && (n = {}), l === "tag:yaml.org,2002:merge") if (Array.isArray(u)) for (a = 0, t = u.length; a < t; a += 1) _e(e, n, u[a], i);
1776
1360
  else _e(e, n, u, i);
1777
- else !e.json && !T.call(i, r$1) && T.call(n, r$1) && (e.line = o || e.line, e.lineStart = f || e.lineStart, e.position = c$1 || e.position, h$1(e, "duplicated mapping key")), r$1 === "__proto__" ? Object.defineProperty(n, r$1, {
1361
+ else !e.json && !T.call(i, r) && T.call(n, r) && (e.line = o || e.line, e.lineStart = f || e.lineStart, e.position = c$1 || e.position, h(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(n, r, {
1778
1362
  configurable: !0,
1779
1363
  enumerable: !0,
1780
1364
  writable: !0,
1781
1365
  value: u
1782
- }) : n[r$1] = u, delete i[r$1];
1366
+ }) : n[r] = u, delete i[r];
1783
1367
  return n;
1784
1368
  }
1785
1369
  function z$1(e) {
1786
1370
  var n = e.input.charCodeAt(e.position);
1787
- n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : h$1(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1371
+ n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : h(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1788
1372
  }
1789
1373
  function v$1(e, n, i) {
1790
- for (var l = 0, r$1 = e.input.charCodeAt(e.position); r$1 !== 0;) {
1791
- for (; I$1(r$1);) r$1 === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r$1 = e.input.charCodeAt(++e.position);
1792
- if (n && r$1 === 35) do
1793
- r$1 = e.input.charCodeAt(++e.position);
1794
- while (r$1 !== 10 && r$1 !== 13 && r$1 !== 0);
1795
- if (S$1(r$1)) for (z$1(e), r$1 = e.input.charCodeAt(e.position), l++, e.lineIndent = 0; r$1 === 32;) e.lineIndent++, r$1 = e.input.charCodeAt(++e.position);
1374
+ for (var l = 0, r = e.input.charCodeAt(e.position); r !== 0;) {
1375
+ for (; I$1(r);) r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
1376
+ if (n && r === 35) do
1377
+ r = e.input.charCodeAt(++e.position);
1378
+ while (r !== 10 && r !== 13 && r !== 0);
1379
+ if (S$1(r)) for (z$1(e), r = e.input.charCodeAt(e.position), l++, e.lineIndent = 0; r === 32;) e.lineIndent++, r = e.input.charCodeAt(++e.position);
1796
1380
  else break;
1797
1381
  }
1798
1382
  return i !== -1 && l !== 0 && e.lineIndent < i && K$1(e, "deficient indentation"), l;
@@ -1806,11 +1390,11 @@ function J(e, n) {
1806
1390
  `, n - 1));
1807
1391
  }
1808
1392
  function Ai(e, n, i) {
1809
- var l, r$1, u, o, f, c$1, a, t, p$1 = e.kind, d$1 = e.result, s$1;
1810
- if (s$1 = e.input.charCodeAt(e.position), F$1(s$1) || k(s$1) || s$1 === 35 || s$1 === 38 || s$1 === 42 || s$1 === 33 || s$1 === 124 || s$1 === 62 || s$1 === 39 || s$1 === 34 || s$1 === 37 || s$1 === 64 || s$1 === 96 || (s$1 === 63 || s$1 === 45) && (r$1 = e.input.charCodeAt(e.position + 1), F$1(r$1) || i && k(r$1))) return !1;
1393
+ var l, r, u, o, f, c$1, a, t, p$1 = e.kind, d = e.result, s$1;
1394
+ if (s$1 = e.input.charCodeAt(e.position), F$1(s$1) || k(s$1) || s$1 === 35 || s$1 === 38 || s$1 === 42 || s$1 === 33 || s$1 === 124 || s$1 === 62 || s$1 === 39 || s$1 === 34 || s$1 === 37 || s$1 === 64 || s$1 === 96 || (s$1 === 63 || s$1 === 45) && (r = e.input.charCodeAt(e.position + 1), F$1(r) || i && k(r))) return !1;
1811
1395
  for (e.kind = "scalar", e.result = "", u = o = e.position, f = !1; s$1 !== 0;) {
1812
1396
  if (s$1 === 58) {
1813
- if (r$1 = e.input.charCodeAt(e.position + 1), F$1(r$1) || i && k(r$1)) break;
1397
+ if (r = e.input.charCodeAt(e.position + 1), F$1(r) || i && k(r)) break;
1814
1398
  } else if (s$1 === 35) {
1815
1399
  if (l = e.input.charCodeAt(e.position - 1), F$1(l)) break;
1816
1400
  } else {
@@ -1825,18 +1409,18 @@ function Ai(e, n, i) {
1825
1409
  }
1826
1410
  f && (O(e, u, o, !1), J(e, e.line - c$1), u = o = e.position, f = !1), I$1(s$1) || (o = e.position + 1), s$1 = e.input.charCodeAt(++e.position);
1827
1411
  }
1828
- return O(e, u, o, !1), e.result ? !0 : (e.kind = p$1, e.result = d$1, !1);
1412
+ return O(e, u, o, !1), e.result ? !0 : (e.kind = p$1, e.result = d, !1);
1829
1413
  }
1830
1414
  function vi(e, n) {
1831
- var i, l, r$1;
1415
+ var i, l, r;
1832
1416
  if (i = e.input.charCodeAt(e.position), i !== 39) return !1;
1833
- for (e.kind = "scalar", e.result = "", e.position++, l = r$1 = e.position; (i = e.input.charCodeAt(e.position)) !== 0;) if (i === 39) if (O(e, l, e.position, !0), i = e.input.charCodeAt(++e.position), i === 39) l = e.position, e.position++, r$1 = e.position;
1417
+ for (e.kind = "scalar", e.result = "", e.position++, l = r = e.position; (i = e.input.charCodeAt(e.position)) !== 0;) if (i === 39) if (O(e, l, e.position, !0), i = e.input.charCodeAt(++e.position), i === 39) l = e.position, e.position++, r = e.position;
1834
1418
  else return !0;
1835
- else S$1(i) ? (O(e, l, r$1, !0), J(e, v$1(e, !1, n)), l = r$1 = e.position) : e.position === e.lineStart && q(e) ? h$1(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r$1 = e.position);
1836
- h$1(e, "unexpected end of the stream within a single quoted scalar");
1419
+ else S$1(i) ? (O(e, l, r, !0), J(e, v$1(e, !1, n)), l = r = e.position) : e.position === e.lineStart && q(e) ? h(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1420
+ h(e, "unexpected end of the stream within a single quoted scalar");
1837
1421
  }
1838
1422
  function yi(e, n) {
1839
- var i, l, r$1, u, o, f;
1423
+ var i, l, r, u, o, f;
1840
1424
  if (f = e.input.charCodeAt(e.position), f !== 34) return !1;
1841
1425
  for (e.kind = "scalar", e.result = "", e.position++, i = l = e.position; (f = e.input.charCodeAt(e.position)) !== 0;) {
1842
1426
  if (f === 34) return O(e, i, e.position, !0), e.position++, !0;
@@ -1844,32 +1428,32 @@ function yi(e, n) {
1844
1428
  if (O(e, i, e.position, !0), f = e.input.charCodeAt(++e.position), S$1(f)) v$1(e, !1, n);
1845
1429
  else if (f < 256 && Ae[f]) e.result += ve[f], e.position++;
1846
1430
  else if ((o = si(f)) > 0) {
1847
- for (r$1 = o, u = 0; r$1 > 0; r$1--) f = e.input.charCodeAt(++e.position), (o = di(f)) >= 0 ? u = (u << 4) + o : h$1(e, "expected hexadecimal character");
1431
+ for (r = o, u = 0; r > 0; r--) f = e.input.charCodeAt(++e.position), (o = di(f)) >= 0 ? u = (u << 4) + o : h(e, "expected hexadecimal character");
1848
1432
  e.result += mi(u), e.position++;
1849
- } else h$1(e, "unknown escape sequence");
1433
+ } else h(e, "unknown escape sequence");
1850
1434
  i = l = e.position;
1851
- } else S$1(f) ? (O(e, i, l, !0), J(e, v$1(e, !1, n)), i = l = e.position) : e.position === e.lineStart && q(e) ? h$1(e, "unexpected end of the document within a double quoted scalar") : (e.position++, l = e.position);
1435
+ } else S$1(f) ? (O(e, i, l, !0), J(e, v$1(e, !1, n)), i = l = e.position) : e.position === e.lineStart && q(e) ? h(e, "unexpected end of the document within a double quoted scalar") : (e.position++, l = e.position);
1852
1436
  }
1853
- h$1(e, "unexpected end of the stream within a double quoted scalar");
1437
+ h(e, "unexpected end of the stream within a double quoted scalar");
1854
1438
  }
1855
1439
  function Ci(e, n) {
1856
- var i = !0, l, r$1, u, o = e.tag, f, c$1 = e.anchor, a, t, p$1, d$1, s$1, x$3 = Object.create(null), g$1, A$1, b$1, m$1;
1857
- if (m$1 = e.input.charCodeAt(e.position), m$1 === 91) t = 93, s$1 = !1, f = [];
1858
- else if (m$1 === 123) t = 125, s$1 = !0, f = {};
1440
+ var i = !0, l, r, u, o = e.tag, f, c$1 = e.anchor, a, t, p$1, d, s$1, x$1 = Object.create(null), g$1, A$1, b$1, m;
1441
+ if (m = e.input.charCodeAt(e.position), m === 91) t = 93, s$1 = !1, f = [];
1442
+ else if (m === 123) t = 125, s$1 = !0, f = {};
1859
1443
  else return !1;
1860
- for (e.anchor !== null && (e.anchorMap[e.anchor] = f), m$1 = e.input.charCodeAt(++e.position); m$1 !== 0;) {
1861
- if (v$1(e, !0, n), m$1 = e.input.charCodeAt(e.position), m$1 === t) return e.position++, e.tag = o, e.anchor = c$1, e.kind = s$1 ? "mapping" : "sequence", e.result = f, !0;
1862
- i ? m$1 === 44 && h$1(e, "expected the node content, but found ','") : h$1(e, "missed comma between flow collection entries"), A$1 = g$1 = b$1 = null, p$1 = d$1 = !1, m$1 === 63 && (a = e.input.charCodeAt(e.position + 1), F$1(a) && (p$1 = d$1 = !0, e.position++, v$1(e, !0, n))), l = e.line, r$1 = e.lineStart, u = e.position, R$1(e, n, H, !1, !0), A$1 = e.tag, g$1 = e.result, v$1(e, !0, n), m$1 = e.input.charCodeAt(e.position), (d$1 || e.line === l) && m$1 === 58 && (p$1 = !0, m$1 = e.input.charCodeAt(++e.position), v$1(e, !0, n), R$1(e, n, H, !1, !0), b$1 = e.result), s$1 ? N$1(e, f, x$3, A$1, g$1, b$1, l, r$1, u) : p$1 ? f.push(N$1(e, null, x$3, A$1, g$1, b$1, l, r$1, u)) : f.push(g$1), v$1(e, !0, n), m$1 = e.input.charCodeAt(e.position), m$1 === 44 ? (i = !0, m$1 = e.input.charCodeAt(++e.position)) : i = !1;
1444
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = f), m = e.input.charCodeAt(++e.position); m !== 0;) {
1445
+ if (v$1(e, !0, n), m = e.input.charCodeAt(e.position), m === t) return e.position++, e.tag = o, e.anchor = c$1, e.kind = s$1 ? "mapping" : "sequence", e.result = f, !0;
1446
+ i ? m === 44 && h(e, "expected the node content, but found ','") : h(e, "missed comma between flow collection entries"), A$1 = g$1 = b$1 = null, p$1 = d = !1, m === 63 && (a = e.input.charCodeAt(e.position + 1), F$1(a) && (p$1 = d = !0, e.position++, v$1(e, !0, n))), l = e.line, r = e.lineStart, u = e.position, R$1(e, n, H, !1, !0), A$1 = e.tag, g$1 = e.result, v$1(e, !0, n), m = e.input.charCodeAt(e.position), (d || e.line === l) && m === 58 && (p$1 = !0, m = e.input.charCodeAt(++e.position), v$1(e, !0, n), R$1(e, n, H, !1, !0), b$1 = e.result), s$1 ? N(e, f, x$1, A$1, g$1, b$1, l, r, u) : p$1 ? f.push(N(e, null, x$1, A$1, g$1, b$1, l, r, u)) : f.push(g$1), v$1(e, !0, n), m = e.input.charCodeAt(e.position), m === 44 ? (i = !0, m = e.input.charCodeAt(++e.position)) : i = !1;
1863
1447
  }
1864
- h$1(e, "unexpected end of the stream within a flow collection");
1448
+ h(e, "unexpected end of the stream within a flow collection");
1865
1449
  }
1866
1450
  function _i(e, n) {
1867
- var i, l, r$1 = Z$1, u = !1, o = !1, f = n, c$1 = 0, a = !1, t, p$1;
1451
+ var i, l, r = Z$1, u = !1, o = !1, f = n, c$1 = 0, a = !1, t, p$1;
1868
1452
  if (p$1 = e.input.charCodeAt(e.position), p$1 === 124) l = !1;
1869
1453
  else if (p$1 === 62) l = !0;
1870
1454
  else return !1;
1871
- for (e.kind = "scalar", e.result = ""; p$1 !== 0;) if (p$1 = e.input.charCodeAt(++e.position), p$1 === 43 || p$1 === 45) Z$1 === r$1 ? r$1 = p$1 === 43 ? de : ai : h$1(e, "repeat of a chomping mode identifier");
1872
- else if ((t = xi(p$1)) >= 0) t === 0 ? h$1(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? h$1(e, "repeat of an indentation width identifier") : (f = n + t - 1, o = !0);
1455
+ for (e.kind = "scalar", e.result = ""; p$1 !== 0;) if (p$1 = e.input.charCodeAt(++e.position), p$1 === 43 || p$1 === 45) Z$1 === r ? r = p$1 === 43 ? de : ai : h(e, "repeat of a chomping mode identifier");
1456
+ else if ((t = xi(p$1)) >= 0) t === 0 ? h(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? h(e, "repeat of an indentation width identifier") : (f = n + t - 1, o = !0);
1873
1457
  else break;
1874
1458
  if (I$1(p$1)) {
1875
1459
  do
@@ -1886,8 +1470,8 @@ function _i(e, n) {
1886
1470
  continue;
1887
1471
  }
1888
1472
  if (e.lineIndent < f) {
1889
- r$1 === de ? e.result += y$1.repeat(`
1890
- `, u ? 1 + c$1 : c$1) : r$1 === Z$1 && u && (e.result += `
1473
+ r === de ? e.result += y$1.repeat(`
1474
+ `, u ? 1 + c$1 : c$1) : r === Z$1 && u && (e.result += `
1891
1475
  `);
1892
1476
  break;
1893
1477
  }
@@ -1901,94 +1485,94 @@ function _i(e, n) {
1901
1485
  return !0;
1902
1486
  }
1903
1487
  function we(e, n) {
1904
- var i, l = e.tag, r$1 = e.anchor, u = [], o, f = !1, c$1;
1488
+ var i, l = e.tag, r = e.anchor, u = [], o, f = !1, c$1;
1905
1489
  if (e.firstTabInLine !== -1) return !1;
1906
- for (e.anchor !== null && (e.anchorMap[e.anchor] = u), c$1 = e.input.charCodeAt(e.position); c$1 !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, h$1(e, "tab characters must not be used in indentation")), !(c$1 !== 45 || (o = e.input.charCodeAt(e.position + 1), !F$1(o))));) {
1490
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = u), c$1 = e.input.charCodeAt(e.position); c$1 !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, h(e, "tab characters must not be used in indentation")), !(c$1 !== 45 || (o = e.input.charCodeAt(e.position + 1), !F$1(o))));) {
1907
1491
  if (f = !0, e.position++, v$1(e, !0, -1) && e.lineIndent <= n) {
1908
1492
  u.push(null), c$1 = e.input.charCodeAt(e.position);
1909
1493
  continue;
1910
1494
  }
1911
- if (i = e.line, R$1(e, n, he, !1, !0), u.push(e.result), v$1(e, !0, -1), c$1 = e.input.charCodeAt(e.position), (e.line === i || e.lineIndent > n) && c$1 !== 0) h$1(e, "bad indentation of a sequence entry");
1495
+ if (i = e.line, R$1(e, n, he, !1, !0), u.push(e.result), v$1(e, !0, -1), c$1 = e.input.charCodeAt(e.position), (e.line === i || e.lineIndent > n) && c$1 !== 0) h(e, "bad indentation of a sequence entry");
1912
1496
  else if (e.lineIndent < n) break;
1913
1497
  }
1914
- return f ? (e.tag = l, e.anchor = r$1, e.kind = "sequence", e.result = u, !0) : !1;
1498
+ return f ? (e.tag = l, e.anchor = r, e.kind = "sequence", e.result = u, !0) : !1;
1915
1499
  }
1916
1500
  function wi(e, n, i) {
1917
- var l, r$1, u, o, f, c$1, a = e.tag, t = e.anchor, p$1 = {}, d$1 = Object.create(null), s$1 = null, x$3 = null, g$1 = null, A$1 = !1, b$1 = !1, m$1;
1501
+ var l, r, u, o, f, c$1, a = e.tag, t = e.anchor, p$1 = {}, d = Object.create(null), s$1 = null, x$1 = null, g$1 = null, A$1 = !1, b$1 = !1, m;
1918
1502
  if (e.firstTabInLine !== -1) return !1;
1919
- for (e.anchor !== null && (e.anchorMap[e.anchor] = p$1), m$1 = e.input.charCodeAt(e.position); m$1 !== 0;) {
1920
- if (!A$1 && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, h$1(e, "tab characters must not be used in indentation")), l = e.input.charCodeAt(e.position + 1), u = e.line, (m$1 === 63 || m$1 === 58) && F$1(l)) m$1 === 63 ? (A$1 && (N$1(e, p$1, d$1, s$1, x$3, null, o, f, c$1), s$1 = x$3 = g$1 = null), b$1 = !0, A$1 = !0, r$1 = !0) : A$1 ? (A$1 = !1, r$1 = !0) : h$1(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, m$1 = l;
1503
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = p$1), m = e.input.charCodeAt(e.position); m !== 0;) {
1504
+ if (!A$1 && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, h(e, "tab characters must not be used in indentation")), l = e.input.charCodeAt(e.position + 1), u = e.line, (m === 63 || m === 58) && F$1(l)) m === 63 ? (A$1 && (N(e, p$1, d, s$1, x$1, null, o, f, c$1), s$1 = x$1 = g$1 = null), b$1 = !0, A$1 = !0, r = !0) : A$1 ? (A$1 = !1, r = !0) : h(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, m = l;
1921
1505
  else {
1922
1506
  if (o = e.line, f = e.lineStart, c$1 = e.position, !R$1(e, i, te, !1, !0)) break;
1923
1507
  if (e.line === u) {
1924
- for (m$1 = e.input.charCodeAt(e.position); I$1(m$1);) m$1 = e.input.charCodeAt(++e.position);
1925
- if (m$1 === 58) m$1 = e.input.charCodeAt(++e.position), F$1(m$1) || h$1(e, "a whitespace character is expected after the key-value separator within a block mapping"), A$1 && (N$1(e, p$1, d$1, s$1, x$3, null, o, f, c$1), s$1 = x$3 = g$1 = null), b$1 = !0, A$1 = !1, r$1 = !1, s$1 = e.tag, x$3 = e.result;
1926
- else if (b$1) h$1(e, "can not read an implicit mapping pair; a colon is missed");
1508
+ for (m = e.input.charCodeAt(e.position); I$1(m);) m = e.input.charCodeAt(++e.position);
1509
+ if (m === 58) m = e.input.charCodeAt(++e.position), F$1(m) || h(e, "a whitespace character is expected after the key-value separator within a block mapping"), A$1 && (N(e, p$1, d, s$1, x$1, null, o, f, c$1), s$1 = x$1 = g$1 = null), b$1 = !0, A$1 = !1, r = !1, s$1 = e.tag, x$1 = e.result;
1510
+ else if (b$1) h(e, "can not read an implicit mapping pair; a colon is missed");
1927
1511
  else return e.tag = a, e.anchor = t, !0;
1928
- } else if (b$1) h$1(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1512
+ } else if (b$1) h(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1929
1513
  else return e.tag = a, e.anchor = t, !0;
1930
1514
  }
1931
- if ((e.line === u || e.lineIndent > n) && (A$1 && (o = e.line, f = e.lineStart, c$1 = e.position), R$1(e, n, U$1, !0, r$1) && (A$1 ? x$3 = e.result : g$1 = e.result), A$1 || (N$1(e, p$1, d$1, s$1, x$3, g$1, o, f, c$1), s$1 = x$3 = g$1 = null), v$1(e, !0, -1), m$1 = e.input.charCodeAt(e.position)), (e.line === u || e.lineIndent > n) && m$1 !== 0) h$1(e, "bad indentation of a mapping entry");
1515
+ if ((e.line === u || e.lineIndent > n) && (A$1 && (o = e.line, f = e.lineStart, c$1 = e.position), R$1(e, n, U$1, !0, r) && (A$1 ? x$1 = e.result : g$1 = e.result), A$1 || (N(e, p$1, d, s$1, x$1, g$1, o, f, c$1), s$1 = x$1 = g$1 = null), v$1(e, !0, -1), m = e.input.charCodeAt(e.position)), (e.line === u || e.lineIndent > n) && m !== 0) h(e, "bad indentation of a mapping entry");
1932
1516
  else if (e.lineIndent < n) break;
1933
1517
  }
1934
- return A$1 && N$1(e, p$1, d$1, s$1, x$3, null, o, f, c$1), b$1 && (e.tag = a, e.anchor = t, e.kind = "mapping", e.result = p$1), b$1;
1518
+ return A$1 && N(e, p$1, d, s$1, x$1, null, o, f, c$1), b$1 && (e.tag = a, e.anchor = t, e.kind = "mapping", e.result = p$1), b$1;
1935
1519
  }
1936
1520
  function Fi(e) {
1937
- var n, i = !1, l = !1, r$1, u, o;
1521
+ var n, i = !1, l = !1, r, u, o;
1938
1522
  if (o = e.input.charCodeAt(e.position), o !== 33) return !1;
1939
- if (e.tag !== null && h$1(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (i = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (l = !0, r$1 = "!!", o = e.input.charCodeAt(++e.position)) : r$1 = "!", n = e.position, i) {
1523
+ if (e.tag !== null && h(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (i = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (l = !0, r = "!!", o = e.input.charCodeAt(++e.position)) : r = "!", n = e.position, i) {
1940
1524
  do
1941
1525
  o = e.input.charCodeAt(++e.position);
1942
1526
  while (o !== 0 && o !== 62);
1943
- e.position < e.length ? (u = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : h$1(e, "unexpected end of the stream within a verbatim tag");
1527
+ e.position < e.length ? (u = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : h(e, "unexpected end of the stream within a verbatim tag");
1944
1528
  } else {
1945
- for (; o !== 0 && !F$1(o);) o === 33 && (l ? h$1(e, "tag suffix cannot contain exclamation marks") : (r$1 = e.input.slice(n - 1, e.position + 1), se.test(r$1) || h$1(e, "named tag handle cannot contain such characters"), l = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
1946
- u = e.input.slice(n, e.position), hi.test(u) && h$1(e, "tag suffix cannot contain flow indicator characters");
1529
+ for (; o !== 0 && !F$1(o);) o === 33 && (l ? h(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(n - 1, e.position + 1), se.test(r) || h(e, "named tag handle cannot contain such characters"), l = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
1530
+ u = e.input.slice(n, e.position), hi.test(u) && h(e, "tag suffix cannot contain flow indicator characters");
1947
1531
  }
1948
- u && !xe.test(u) && h$1(e, "tag name cannot contain such characters: " + u);
1532
+ u && !xe.test(u) && h(e, "tag name cannot contain such characters: " + u);
1949
1533
  try {
1950
1534
  u = decodeURIComponent(u);
1951
1535
  } catch {
1952
- h$1(e, "tag name is malformed: " + u);
1536
+ h(e, "tag name is malformed: " + u);
1953
1537
  }
1954
- return i ? e.tag = u : T.call(e.tagMap, r$1) ? e.tag = e.tagMap[r$1] + u : r$1 === "!" ? e.tag = "!" + u : r$1 === "!!" ? e.tag = "tag:yaml.org,2002:" + u : h$1(e, "undeclared tag handle \"" + r$1 + "\""), !0;
1538
+ return i ? e.tag = u : T.call(e.tagMap, r) ? e.tag = e.tagMap[r] + u : r === "!" ? e.tag = "!" + u : r === "!!" ? e.tag = "tag:yaml.org,2002:" + u : h(e, "undeclared tag handle \"" + r + "\""), !0;
1955
1539
  }
1956
1540
  function bi(e) {
1957
1541
  var n, i;
1958
1542
  if (i = e.input.charCodeAt(e.position), i !== 38) return !1;
1959
- for (e.anchor !== null && h$1(e, "duplication of an anchor property"), i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !F$1(i) && !k(i);) i = e.input.charCodeAt(++e.position);
1960
- return e.position === n && h$1(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
1543
+ for (e.anchor !== null && h(e, "duplication of an anchor property"), i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !F$1(i) && !k(i);) i = e.input.charCodeAt(++e.position);
1544
+ return e.position === n && h(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
1961
1545
  }
1962
1546
  function Si(e) {
1963
1547
  var n, i, l;
1964
1548
  if (l = e.input.charCodeAt(e.position), l !== 42) return !1;
1965
1549
  for (l = e.input.charCodeAt(++e.position), n = e.position; l !== 0 && !F$1(l) && !k(l);) l = e.input.charCodeAt(++e.position);
1966
- return e.position === n && h$1(e, "name of an alias node must contain at least one character"), i = e.input.slice(n, e.position), T.call(e.anchorMap, i) || h$1(e, "unidentified alias \"" + i + "\""), e.result = e.anchorMap[i], v$1(e, !0, -1), !0;
1550
+ return e.position === n && h(e, "name of an alias node must contain at least one character"), i = e.input.slice(n, e.position), T.call(e.anchorMap, i) || h(e, "unidentified alias \"" + i + "\""), e.result = e.anchorMap[i], v$1(e, !0, -1), !0;
1967
1551
  }
1968
- function R$1(e, n, i, l, r$1) {
1969
- var u, o, f, c$1 = 1, a = !1, t = !1, p$1, d$1, s$1, x$3, g$1, A$1;
1552
+ function R$1(e, n, i, l, r) {
1553
+ var u, o, f, c$1 = 1, a = !1, t = !1, p$1, d, s$1, x$1, g$1, A$1;
1970
1554
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, u = o = f = U$1 === i || he === i, l && v$1(e, !0, -1) && (a = !0, e.lineIndent > n ? c$1 = 1 : e.lineIndent === n ? c$1 = 0 : e.lineIndent < n && (c$1 = -1)), c$1 === 1) for (; Fi(e) || bi(e);) v$1(e, !0, -1) ? (a = !0, f = u, e.lineIndent > n ? c$1 = 1 : e.lineIndent === n ? c$1 = 0 : e.lineIndent < n && (c$1 = -1)) : f = !1;
1971
- if (f && (f = a || r$1), (c$1 === 1 || U$1 === i) && (H === i || te === i ? g$1 = n : g$1 = n + 1, A$1 = e.position - e.lineStart, c$1 === 1 ? f && (we(e, A$1) || wi(e, A$1, g$1)) || Ci(e, g$1) ? t = !0 : (o && _i(e, g$1) || vi(e, g$1) || yi(e, g$1) ? t = !0 : Si(e) ? (t = !0, (e.tag !== null || e.anchor !== null) && h$1(e, "alias node should not have any properties")) : Ai(e, g$1, H === i) && (t = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c$1 === 0 && (t = f && we(e, A$1))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1555
+ if (f && (f = a || r), (c$1 === 1 || U$1 === i) && (H === i || te === i ? g$1 = n : g$1 = n + 1, A$1 = e.position - e.lineStart, c$1 === 1 ? f && (we(e, A$1) || wi(e, A$1, g$1)) || Ci(e, g$1) ? t = !0 : (o && _i(e, g$1) || vi(e, g$1) || yi(e, g$1) ? t = !0 : Si(e) ? (t = !0, (e.tag !== null || e.anchor !== null) && h(e, "alias node should not have any properties")) : Ai(e, g$1, H === i) && (t = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c$1 === 0 && (t = f && we(e, A$1))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1972
1556
  else if (e.tag === "?") {
1973
- for (e.result !== null && e.kind !== "scalar" && h$1(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), p$1 = 0, d$1 = e.implicitTypes.length; p$1 < d$1; p$1 += 1) if (x$3 = e.implicitTypes[p$1], x$3.resolve(e.result)) {
1974
- e.result = x$3.construct(e.result), e.tag = x$3.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1557
+ for (e.result !== null && e.kind !== "scalar" && h(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), p$1 = 0, d = e.implicitTypes.length; p$1 < d; p$1 += 1) if (x$1 = e.implicitTypes[p$1], x$1.resolve(e.result)) {
1558
+ e.result = x$1.construct(e.result), e.tag = x$1.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1975
1559
  break;
1976
1560
  }
1977
1561
  } else if (e.tag !== "!") {
1978
- if (T.call(e.typeMap[e.kind || "fallback"], e.tag)) x$3 = e.typeMap[e.kind || "fallback"][e.tag];
1979
- else for (x$3 = null, s$1 = e.typeMap.multi[e.kind || "fallback"], p$1 = 0, d$1 = s$1.length; p$1 < d$1; p$1 += 1) if (e.tag.slice(0, s$1[p$1].tag.length) === s$1[p$1].tag) {
1980
- x$3 = s$1[p$1];
1562
+ if (T.call(e.typeMap[e.kind || "fallback"], e.tag)) x$1 = e.typeMap[e.kind || "fallback"][e.tag];
1563
+ else for (x$1 = null, s$1 = e.typeMap.multi[e.kind || "fallback"], p$1 = 0, d = s$1.length; p$1 < d; p$1 += 1) if (e.tag.slice(0, s$1[p$1].tag.length) === s$1[p$1].tag) {
1564
+ x$1 = s$1[p$1];
1981
1565
  break;
1982
1566
  }
1983
- x$3 || h$1(e, "unknown tag !<" + e.tag + ">"), e.result !== null && x$3.kind !== e.kind && h$1(e, "unacceptable node kind for !<" + e.tag + "> tag; it should be \"" + x$3.kind + "\", not \"" + e.kind + "\""), x$3.resolve(e.result, e.tag) ? (e.result = x$3.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : h$1(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
1567
+ x$1 || h(e, "unknown tag !<" + e.tag + ">"), e.result !== null && x$1.kind !== e.kind && h(e, "unacceptable node kind for !<" + e.tag + "> tag; it should be \"" + x$1.kind + "\", not \"" + e.kind + "\""), x$1.resolve(e.result, e.tag) ? (e.result = x$1.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : h(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
1984
1568
  }
1985
1569
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || t;
1986
1570
  }
1987
1571
  function Ei(e) {
1988
- var n = e.position, i, l, r$1, u = !1, o;
1572
+ var n = e.position, i, l, r, u = !1, o;
1989
1573
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = Object.create(null), e.anchorMap = Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (v$1(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
1990
1574
  for (u = !0, o = e.input.charCodeAt(++e.position), i = e.position; o !== 0 && !F$1(o);) o = e.input.charCodeAt(++e.position);
1991
- for (l = e.input.slice(i, e.position), r$1 = [], l.length < 1 && h$1(e, "directive name must not be less than one character in length"); o !== 0;) {
1575
+ for (l = e.input.slice(i, e.position), r = [], l.length < 1 && h(e, "directive name must not be less than one character in length"); o !== 0;) {
1992
1576
  for (; I$1(o);) o = e.input.charCodeAt(++e.position);
1993
1577
  if (o === 35) {
1994
1578
  do
@@ -1998,22 +1582,22 @@ function Ei(e) {
1998
1582
  }
1999
1583
  if (S$1(o)) break;
2000
1584
  for (i = e.position; o !== 0 && !F$1(o);) o = e.input.charCodeAt(++e.position);
2001
- r$1.push(e.input.slice(i, e.position));
1585
+ r.push(e.input.slice(i, e.position));
2002
1586
  }
2003
- o !== 0 && z$1(e), T.call(Ce, l) ? Ce[l](e, l, r$1) : K$1(e, "unknown document directive \"" + l + "\"");
1587
+ o !== 0 && z$1(e), T.call(Ce, l) ? Ce[l](e, l, r) : K$1(e, "unknown document directive \"" + l + "\"");
2004
1588
  }
2005
- if (v$1(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, v$1(e, !0, -1)) : u && h$1(e, "directives end mark is expected"), R$1(e, e.lineIndent - 1, U$1, !1, !0), v$1(e, !0, -1), e.checkLineBreaks && ti.test(e.input.slice(n, e.position)) && K$1(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && q(e)) {
1589
+ if (v$1(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, v$1(e, !0, -1)) : u && h(e, "directives end mark is expected"), R$1(e, e.lineIndent - 1, U$1, !1, !0), v$1(e, !0, -1), e.checkLineBreaks && ti.test(e.input.slice(n, e.position)) && K$1(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && q(e)) {
2006
1590
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, v$1(e, !0, -1));
2007
1591
  return;
2008
1592
  }
2009
- if (e.position < e.length - 1) h$1(e, "end of the stream or a document separator is expected");
1593
+ if (e.position < e.length - 1) h(e, "end of the stream or a document separator is expected");
2010
1594
  else return;
2011
1595
  }
2012
1596
  function Ti(e, n) {
2013
1597
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2014
1598
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2015
1599
  var i = new gi(e, n), l = e.indexOf("\0");
2016
- for (l !== -1 && (i.position = l, h$1(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32;) i.lineIndent += 1, i.position += 1;
1600
+ for (l !== -1 && (i.position = l, h(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32;) i.lineIndent += 1, i.position += 1;
2017
1601
  for (; i.position < i.length - 1;) Ei(i);
2018
1602
  return i.documents;
2019
1603
  }
@@ -2045,9 +1629,9 @@ var Qi = [
2045
1629
  "OFF"
2046
1630
  ], Vi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2047
1631
  function Xi(e, n) {
2048
- var i, l, r$1, u, o, f, c$1;
1632
+ var i, l, r, u, o, f, c$1;
2049
1633
  if (n === null) return {};
2050
- for (i = {}, l = Object.keys(n), r$1 = 0, u = l.length; r$1 < u; r$1 += 1) o = l[r$1], f = String(n[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c$1 = e.compiledTypeMap.fallback[o], c$1 && be.call(c$1.styleAliases, f) && (f = c$1.styleAliases[f]), i[o] = f;
1634
+ for (i = {}, l = Object.keys(n), r = 0, u = l.length; r < u; r += 1) o = l[r], f = String(n[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c$1 = e.compiledTypeMap.fallback[o], c$1 && be.call(c$1.styleAliases, f) && (f = c$1.styleAliases[f]), i[o] = f;
2051
1635
  return i;
2052
1636
  }
2053
1637
  function Zi(e) {
@@ -2063,8 +1647,8 @@ function Ji(e) {
2063
1647
  this.schema = e.schema || pe, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = y$1.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Xi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? B : zi, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2064
1648
  }
2065
1649
  function ke(e, n) {
2066
- for (var i = y$1.repeat(" ", n), l = 0, r$1 = -1, u = "", o, f = e.length; l < f;) r$1 = e.indexOf(`
2067
- `, l), r$1 === -1 ? (o = e.slice(l), l = f) : (o = e.slice(l, r$1 + 1), l = r$1 + 1), o.length && o !== `
1650
+ for (var i = y$1.repeat(" ", n), l = 0, r = -1, u = "", o, f = e.length; l < f;) r = e.indexOf(`
1651
+ `, l), r === -1 ? (o = e.slice(l), l = f) : (o = e.slice(l, r + 1), l = r + 1), o.length && o !== `
2068
1652
  ` && (u += i), u += o;
2069
1653
  return u;
2070
1654
  }
@@ -2073,8 +1657,8 @@ function ie(e, n) {
2073
1657
  ` + y$1.repeat(" ", e.indent * n);
2074
1658
  }
2075
1659
  function er(e, n) {
2076
- var i, l, r$1;
2077
- for (i = 0, l = e.implicitTypes.length; i < l; i += 1) if (r$1 = e.implicitTypes[i], r$1.resolve(n)) return !0;
1660
+ var i, l, r;
1661
+ for (i = 0, l = e.implicitTypes.length; i < l; i += 1) if (r = e.implicitTypes[i], r.resolve(n)) return !0;
2078
1662
  return !1;
2079
1663
  }
2080
1664
  function W(e) {
@@ -2087,8 +1671,8 @@ function Le(e) {
2087
1671
  return P(e) && e !== ee && e !== Ni && e !== Y;
2088
1672
  }
2089
1673
  function Ne(e, n, i) {
2090
- var l = Le(e), r$1 = l && !W(e);
2091
- return (i ? l : l && e !== Se && e !== Ee && e !== Te && e !== Oe && e !== Ie) && e !== ne && !(n === G$1 && !r$1) || Le(n) && !W(n) && e === ne || n === G$1 && r$1;
1674
+ var l = Le(e), r = l && !W(e);
1675
+ return (i ? l : l && e !== Se && e !== Ee && e !== Te && e !== Oe && e !== Ie) && e !== ne && !(n === G$1 && !r) || Le(n) && !W(n) && e === ne || n === G$1 && r;
2092
1676
  }
2093
1677
  function nr(e) {
2094
1678
  return P(e) && e !== ee && !W(e) && e !== Hi && e !== qi && e !== G$1 && e !== Se && e !== Ee && e !== Te && e !== Oe && e !== Ie && e !== ne && e !== Bi && e !== ji && e !== Di && e !== $i && e !== Ui && e !== Ki && e !== Pi && e !== Mi && e !== Yi && e !== Gi && e !== Wi;
@@ -2104,23 +1688,23 @@ function Re(e) {
2104
1688
  return /^\n* /.test(e);
2105
1689
  }
2106
1690
  var De = 1, re = 2, Me = 3, Ye = 4, D = 5;
2107
- function rr(e, n, i, l, r$1, u, o, f) {
2108
- var c$1, a = 0, t = null, p$1 = !1, d$1 = !1, s$1 = l !== -1, x$3 = -1, g$1 = nr(j$1(e, 0)) && ir(j$1(e, e.length - 1));
1691
+ function rr(e, n, i, l, r, u, o, f) {
1692
+ var c$1, a = 0, t = null, p$1 = !1, d = !1, s$1 = l !== -1, x$1 = -1, g$1 = nr(j$1(e, 0)) && ir(j$1(e, e.length - 1));
2109
1693
  if (n || o) for (c$1 = 0; c$1 < e.length; a >= 65536 ? c$1 += 2 : c$1++) {
2110
1694
  if (a = j$1(e, c$1), !P(a)) return D;
2111
1695
  g$1 = g$1 && Ne(a, t, f), t = a;
2112
1696
  }
2113
1697
  else {
2114
1698
  for (c$1 = 0; c$1 < e.length; a >= 65536 ? c$1 += 2 : c$1++) {
2115
- if (a = j$1(e, c$1), a === Y) p$1 = !0, s$1 && (d$1 = d$1 || c$1 - x$3 - 1 > l && e[x$3 + 1] !== " ", x$3 = c$1);
1699
+ if (a = j$1(e, c$1), a === Y) p$1 = !0, s$1 && (d = d || c$1 - x$1 - 1 > l && e[x$1 + 1] !== " ", x$1 = c$1);
2116
1700
  else if (!P(a)) return D;
2117
1701
  g$1 = g$1 && Ne(a, t, f), t = a;
2118
1702
  }
2119
- d$1 = d$1 || s$1 && c$1 - x$3 - 1 > l && e[x$3 + 1] !== " ";
1703
+ d = d || s$1 && c$1 - x$1 - 1 > l && e[x$1 + 1] !== " ";
2120
1704
  }
2121
- return !p$1 && !d$1 ? g$1 && !o && !r$1(e) ? De : u === B ? D : re : i > 9 && Re(e) ? D : o ? u === B ? D : re : d$1 ? Ye : Me;
1705
+ return !p$1 && !d ? g$1 && !o && !r(e) ? De : u === B ? D : re : i > 9 && Re(e) ? D : o ? u === B ? D : re : d ? Ye : Me;
2122
1706
  }
2123
- function lr(e, n, i, l, r$1) {
1707
+ function lr(e, n, i, l, r) {
2124
1708
  e.dump = function() {
2125
1709
  if (n.length === 0) return e.quotingType === B ? "\"\"" : "''";
2126
1710
  if (!e.noCompatMode && (Qi.indexOf(n) !== -1 || Vi.test(n))) return e.quotingType === B ? "\"" + n + "\"" : "'" + n + "'";
@@ -2128,7 +1712,7 @@ function lr(e, n, i, l, r$1) {
2128
1712
  function c$1(a) {
2129
1713
  return er(e, a);
2130
1714
  }
2131
- switch (rr(n, f, e.indent, o, c$1, e.quotingType, e.forceQuotes && !l, r$1)) {
1715
+ switch (rr(n, f, e.indent, o, c$1, e.quotingType, e.forceQuotes && !l, r)) {
2132
1716
  case De: return n;
2133
1717
  case re: return "'" + n.replace(/'/g, "''") + "'";
2134
1718
  case Me: return "|" + Be(n, e.indent) + Pe(ke(n, u));
@@ -2155,52 +1739,52 @@ function or(e, n) {
2155
1739
  var a = e.indexOf(`
2156
1740
  `);
2157
1741
  return a = a !== -1 ? a : e.length, i.lastIndex = a, je(e.slice(0, a), n);
2158
- }(), r$1 = e[0] === `
1742
+ }(), r = e[0] === `
2159
1743
  ` || e[0] === " ", u, o; o = i.exec(e);) {
2160
1744
  var f = o[1], c$1 = o[2];
2161
- u = c$1[0] === " ", l += f + (!r$1 && !u && c$1 !== "" ? `
2162
- ` : "") + je(c$1, n), r$1 = u;
1745
+ u = c$1[0] === " ", l += f + (!r && !u && c$1 !== "" ? `
1746
+ ` : "") + je(c$1, n), r = u;
2163
1747
  }
2164
1748
  return l;
2165
1749
  }
2166
1750
  function je(e, n) {
2167
1751
  if (e === "" || e[0] === " ") return e;
2168
- for (var i = / [^ ]/g, l, r$1 = 0, u, o = 0, f = 0, c$1 = ""; l = i.exec(e);) f = l.index, f - r$1 > n && (u = o > r$1 ? o : f, c$1 += `
2169
- ` + e.slice(r$1, u), r$1 = u + 1), o = f;
1752
+ for (var i = / [^ ]/g, l, r = 0, u, o = 0, f = 0, c$1 = ""; l = i.exec(e);) f = l.index, f - r > n && (u = o > r ? o : f, c$1 += `
1753
+ ` + e.slice(r, u), r = u + 1), o = f;
2170
1754
  return c$1 += `
2171
- `, e.length - r$1 > n && o > r$1 ? c$1 += e.slice(r$1, o) + `
2172
- ` + e.slice(o + 1) : c$1 += e.slice(r$1), c$1.slice(1);
1755
+ `, e.length - r > n && o > r ? c$1 += e.slice(r, o) + `
1756
+ ` + e.slice(o + 1) : c$1 += e.slice(r), c$1.slice(1);
2173
1757
  }
2174
1758
  function ur(e) {
2175
- for (var n = "", i = 0, l, r$1 = 0; r$1 < e.length; i >= 65536 ? r$1 += 2 : r$1++) i = j$1(e, r$1), l = _[i], !l && P(i) ? (n += e[r$1], i >= 65536 && (n += e[r$1 + 1])) : n += l || Zi(i);
1759
+ for (var n = "", i = 0, l, r = 0; r < e.length; i >= 65536 ? r += 2 : r++) i = j$1(e, r), l = _[i], !l && P(i) ? (n += e[r], i >= 65536 && (n += e[r + 1])) : n += l || Zi(i);
2176
1760
  return n;
2177
1761
  }
2178
1762
  function fr(e, n, i) {
2179
- var l = "", r$1 = e.tag, u, o, f;
1763
+ var l = "", r = e.tag, u, o, f;
2180
1764
  for (u = 0, o = i.length; u < o; u += 1) f = i[u], e.replacer && (f = e.replacer.call(i, String(u), f)), (E(e, n, f, !1, !1) || typeof f > "u" && E(e, n, null, !1, !1)) && (l !== "" && (l += "," + (e.condenseFlow ? "" : " ")), l += e.dump);
2181
- e.tag = r$1, e.dump = "[" + l + "]";
1765
+ e.tag = r, e.dump = "[" + l + "]";
2182
1766
  }
2183
1767
  function He(e, n, i, l) {
2184
- var r$1 = "", u = e.tag, o, f, c$1;
2185
- for (o = 0, f = i.length; o < f; o += 1) c$1 = i[o], e.replacer && (c$1 = e.replacer.call(i, String(o), c$1)), (E(e, n + 1, c$1, !0, !0, !1, !0) || typeof c$1 > "u" && E(e, n + 1, null, !0, !0, !1, !0)) && ((!l || r$1 !== "") && (r$1 += ie(e, n)), e.dump && Y === e.dump.charCodeAt(0) ? r$1 += "-" : r$1 += "- ", r$1 += e.dump);
2186
- e.tag = u, e.dump = r$1 || "[]";
1768
+ var r = "", u = e.tag, o, f, c$1;
1769
+ for (o = 0, f = i.length; o < f; o += 1) c$1 = i[o], e.replacer && (c$1 = e.replacer.call(i, String(o), c$1)), (E(e, n + 1, c$1, !0, !0, !1, !0) || typeof c$1 > "u" && E(e, n + 1, null, !0, !0, !1, !0)) && ((!l || r !== "") && (r += ie(e, n)), e.dump && Y === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
1770
+ e.tag = u, e.dump = r || "[]";
2187
1771
  }
2188
1772
  function cr(e, n, i) {
2189
- var l = "", r$1 = e.tag, u = Object.keys(i), o, f, c$1, a, t;
1773
+ var l = "", r = e.tag, u = Object.keys(i), o, f, c$1, a, t;
2190
1774
  for (o = 0, f = u.length; o < f; o += 1) t = "", l !== "" && (t += ", "), e.condenseFlow && (t += "\""), c$1 = u[o], a = i[c$1], e.replacer && (a = e.replacer.call(i, c$1, a)), E(e, n, c$1, !1, !1) && (e.dump.length > 1024 && (t += "? "), t += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), E(e, n, a, !1, !1) && (t += e.dump, l += t));
2191
- e.tag = r$1, e.dump = "{" + l + "}";
1775
+ e.tag = r, e.dump = "{" + l + "}";
2192
1776
  }
2193
1777
  function ar(e, n, i, l) {
2194
- var r$1 = "", u = e.tag, o = Object.keys(i), f, c$1, a, t, p$1, d$1;
1778
+ var r = "", u = e.tag, o = Object.keys(i), f, c$1, a, t, p$1, d;
2195
1779
  if (e.sortKeys === !0) o.sort();
2196
1780
  else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
2197
1781
  else if (e.sortKeys) throw new w$1("sortKeys must be a boolean or a function");
2198
- for (f = 0, c$1 = o.length; f < c$1; f += 1) d$1 = "", (!l || r$1 !== "") && (d$1 += ie(e, n)), a = o[f], t = i[a], e.replacer && (t = e.replacer.call(i, a, t)), E(e, n + 1, a, !0, !0, !0) && (p$1 = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p$1 && (e.dump && Y === e.dump.charCodeAt(0) ? d$1 += "?" : d$1 += "? "), d$1 += e.dump, p$1 && (d$1 += ie(e, n)), E(e, n + 1, t, !0, p$1) && (e.dump && Y === e.dump.charCodeAt(0) ? d$1 += ":" : d$1 += ": ", d$1 += e.dump, r$1 += d$1));
2199
- e.tag = u, e.dump = r$1 || "{}";
1782
+ for (f = 0, c$1 = o.length; f < c$1; f += 1) d = "", (!l || r !== "") && (d += ie(e, n)), a = o[f], t = i[a], e.replacer && (t = e.replacer.call(i, a, t)), E(e, n + 1, a, !0, !0, !0) && (p$1 = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p$1 && (e.dump && Y === e.dump.charCodeAt(0) ? d += "?" : d += "? "), d += e.dump, p$1 && (d += ie(e, n)), E(e, n + 1, t, !0, p$1) && (e.dump && Y === e.dump.charCodeAt(0) ? d += ":" : d += ": ", d += e.dump, r += d));
1783
+ e.tag = u, e.dump = r || "{}";
2200
1784
  }
2201
1785
  function Ue(e, n, i) {
2202
- var l, r$1, u, o, f, c$1;
2203
- for (r$1 = i ? e.explicitTypes : e.implicitTypes, u = 0, o = r$1.length; u < o; u += 1) if (f = r$1[u], (f.instanceOf || f.predicate) && (!f.instanceOf || typeof n == "object" && n instanceof f.instanceOf) && (!f.predicate || f.predicate(n))) {
1786
+ var l, r, u, o, f, c$1;
1787
+ for (r = i ? e.explicitTypes : e.implicitTypes, u = 0, o = r.length; u < o; u += 1) if (f = r[u], (f.instanceOf || f.predicate) && (!f.instanceOf || typeof n == "object" && n instanceof f.instanceOf) && (!f.predicate || f.predicate(n))) {
2204
1788
  if (i ? f.multi && f.representName ? e.tag = f.representName(n) : e.tag = f.tag : e.tag = "?", f.represent) {
2205
1789
  if (c$1 = e.styleMap[f.tag] || f.defaultStyle, Fe.call(f.represent) === "[object Function]") l = f.represent(n, c$1);
2206
1790
  else if (be.call(f.represent, c$1)) l = f.represent[c$1](n, c$1);
@@ -2211,15 +1795,15 @@ function Ue(e, n, i) {
2211
1795
  }
2212
1796
  return !1;
2213
1797
  }
2214
- function E(e, n, i, l, r$1, u, o) {
1798
+ function E(e, n, i, l, r, u, o) {
2215
1799
  e.tag = null, e.dump = i, Ue(e, i, !1) || Ue(e, i, !0);
2216
1800
  var f = Fe.call(e.dump), c$1 = l, a;
2217
1801
  l && (l = e.flowLevel < 0 || e.flowLevel > n);
2218
- var t = f === "[object Object]" || f === "[object Array]", p$1, d$1;
2219
- if (t && (p$1 = e.duplicates.indexOf(i), d$1 = p$1 !== -1), (e.tag !== null && e.tag !== "?" || d$1 || e.indent !== 2 && n > 0) && (r$1 = !1), d$1 && e.usedDuplicates[p$1]) e.dump = "*ref_" + p$1;
1802
+ var t = f === "[object Object]" || f === "[object Array]", p$1, d;
1803
+ if (t && (p$1 = e.duplicates.indexOf(i), d = p$1 !== -1), (e.tag !== null && e.tag !== "?" || d || e.indent !== 2 && n > 0) && (r = !1), d && e.usedDuplicates[p$1]) e.dump = "*ref_" + p$1;
2220
1804
  else {
2221
- if (t && d$1 && !e.usedDuplicates[p$1] && (e.usedDuplicates[p$1] = !0), f === "[object Object]") l && Object.keys(e.dump).length !== 0 ? (ar(e, n, e.dump, r$1), d$1 && (e.dump = "&ref_" + p$1 + e.dump)) : (cr(e, n, e.dump), d$1 && (e.dump = "&ref_" + p$1 + " " + e.dump));
2222
- else if (f === "[object Array]") l && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? He(e, n - 1, e.dump, r$1) : He(e, n, e.dump, r$1), d$1 && (e.dump = "&ref_" + p$1 + e.dump)) : (fr(e, n, e.dump), d$1 && (e.dump = "&ref_" + p$1 + " " + e.dump));
1805
+ if (t && d && !e.usedDuplicates[p$1] && (e.usedDuplicates[p$1] = !0), f === "[object Object]") l && Object.keys(e.dump).length !== 0 ? (ar(e, n, e.dump, r), d && (e.dump = "&ref_" + p$1 + e.dump)) : (cr(e, n, e.dump), d && (e.dump = "&ref_" + p$1 + " " + e.dump));
1806
+ else if (f === "[object Array]") l && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? He(e, n - 1, e.dump, r) : He(e, n, e.dump, r), d && (e.dump = "&ref_" + p$1 + e.dump)) : (fr(e, n, e.dump), d && (e.dump = "&ref_" + p$1 + " " + e.dump));
2223
1807
  else if (f === "[object String]") e.tag !== "?" && lr(e, e.dump, n, u, c$1);
2224
1808
  else {
2225
1809
  if (f === "[object Undefined]") return !1;
@@ -2231,15 +1815,15 @@ function E(e, n, i, l, r$1, u, o) {
2231
1815
  return !0;
2232
1816
  }
2233
1817
  function pr(e, n) {
2234
- var i = [], l = [], r$1, u;
2235
- for (le(e, i, l), r$1 = 0, u = l.length; r$1 < u; r$1 += 1) n.duplicates.push(i[l[r$1]]);
1818
+ var i = [], l = [], r, u;
1819
+ for (le(e, i, l), r = 0, u = l.length; r < u; r += 1) n.duplicates.push(i[l[r]]);
2236
1820
  n.usedDuplicates = new Array(u);
2237
1821
  }
2238
1822
  function le(e, n, i) {
2239
- var l, r$1, u;
2240
- if (e !== null && typeof e == "object") if (r$1 = n.indexOf(e), r$1 !== -1) i.indexOf(r$1) === -1 && i.push(r$1);
2241
- else if (n.push(e), Array.isArray(e)) for (r$1 = 0, u = e.length; r$1 < u; r$1 += 1) le(e[r$1], n, i);
2242
- else for (l = Object.keys(e), r$1 = 0, u = l.length; r$1 < u; r$1 += 1) le(e[l[r$1]], n, i);
1823
+ var l, r, u;
1824
+ if (e !== null && typeof e == "object") if (r = n.indexOf(e), r !== -1) i.indexOf(r) === -1 && i.push(r);
1825
+ else if (n.push(e), Array.isArray(e)) for (r = 0, u = e.length; r < u; r += 1) le(e[r], n, i);
1826
+ else for (l = Object.keys(e), r = 0, u = l.length; r < u; r += 1) le(e[l[r]], n, i);
2243
1827
  }
2244
1828
  function tr(e, n) {
2245
1829
  n = n || {};
@@ -2252,18 +1836,19 @@ function tr(e, n) {
2252
1836
  var dr = { dump: tr }, sr = ki.load, xr = dr.dump;
2253
1837
  function mr(e, n) {
2254
1838
  const i = sr(e, n);
2255
- return N(e, i, n), i;
1839
+ return N$1(e, i, n), i;
2256
1840
  }
2257
1841
  function gr(e, n) {
2258
- const i = C(e, {}), r$1 = xr(e, {
1842
+ const i = C$2(e, {}), r = xr(e, {
2259
1843
  indent: typeof i.indent == "string" ? i.indent.length : i.indent,
2260
1844
  ...n
2261
1845
  });
2262
- return i.whitespace.start + r$1.trim() + i.whitespace.end;
1846
+ return i.whitespace.start + r.trim() + i.whitespace.end;
2263
1847
  }
2264
1848
 
2265
1849
  //#endregion
2266
1850
  //#region node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs
1851
+ var toml_exports = /* @__PURE__ */ __exportAll({ parseTOML: () => Q });
2267
1852
  /*!
2268
1853
  * Copyright (c) Squirrel Chat et al., All rights reserved.
2269
1854
  * SPDX-License-Identifier: BSD-3-Clause
@@ -2294,25 +1879,25 @@ function gr(e, n) {
2294
1879
  let t = e.slice(0, n).split(/\r\n|\n|\r/g);
2295
1880
  return [t.length, t.pop().length + 1];
2296
1881
  }
2297
- function C$1(e, n, t) {
2298
- let l = e.split(/\r\n|\n|\r/g), r$1 = "", i = (Math.log10(n + 1) | 0) + 1;
1882
+ function C(e, n, t) {
1883
+ let l = e.split(/\r\n|\n|\r/g), r = "", i = (Math.log10(n + 1) | 0) + 1;
2299
1884
  for (let o = n - 1; o <= n + 1; o++) {
2300
1885
  let f = l[o - 1];
2301
- f && (r$1 += o.toString().padEnd(i, " "), r$1 += ": ", r$1 += f, r$1 += `
2302
- `, o === n && (r$1 += " ".repeat(i + t + 2), r$1 += `^
1886
+ f && (r += o.toString().padEnd(i, " "), r += ": ", r += f, r += `
1887
+ `, o === n && (r += " ".repeat(i + t + 2), r += `^
2303
1888
  `));
2304
1889
  }
2305
- return r$1;
1890
+ return r;
2306
1891
  }
2307
1892
  var c = class extends Error {
2308
1893
  line;
2309
1894
  column;
2310
1895
  codeblock;
2311
1896
  constructor(n, t) {
2312
- const [l, r$1] = v(t.toml, t.ptr), i = C$1(t.toml, l, r$1);
1897
+ const [l, r] = v(t.toml, t.ptr), i = C(t.toml, l, r);
2313
1898
  super(`Invalid TOML document: ${n}
2314
1899
 
2315
- ${i}`, t), this.line = l, this.column = r$1, this.codeblock = i;
1900
+ ${i}`, t), this.line = l, this.column = r, this.codeblock = i;
2316
1901
  }
2317
1902
  };
2318
1903
  /*!
@@ -2361,13 +1946,13 @@ function y(e, n) {
2361
1946
  return e.length;
2362
1947
  }
2363
1948
  function s(e, n, t, l) {
2364
- let r$1;
2365
- for (; (r$1 = e[n]) === " " || r$1 === " " || !t && (r$1 === `
2366
- ` || r$1 === "\r" && e[n + 1] === `
1949
+ let r;
1950
+ for (; (r = e[n]) === " " || r === " " || !t && (r === `
1951
+ ` || r === "\r" && e[n + 1] === `
2367
1952
  `);) n++;
2368
- return l || r$1 !== "#" ? n : s(e, y(e, n), t);
1953
+ return l || r !== "#" ? n : s(e, y(e, n), t);
2369
1954
  }
2370
- function A(e, n, t, l, r$1 = !1) {
1955
+ function A(e, n, t, l, r = !1) {
2371
1956
  if (!l) return n = g(e, n), n < 0 ? e.length : n;
2372
1957
  for (let i = n; i < e.length; i++) {
2373
1958
  let o = e[i];
@@ -2375,7 +1960,7 @@ function A(e, n, t, l, r$1 = !1) {
2375
1960
  else {
2376
1961
  if (o === t) return i + 1;
2377
1962
  if (o === l) return i;
2378
- if (r$1 && (o === `
1963
+ if (r && (o === `
2379
1964
  ` || o === "\r" && e[i + 1] === `
2380
1965
  `)) return i;
2381
1966
  }
@@ -2425,12 +2010,12 @@ var w = class w extends Date {
2425
2010
  #t = !1;
2426
2011
  #e = null;
2427
2012
  constructor(n) {
2428
- let t = !0, l = !0, r$1 = "Z";
2013
+ let t = !0, l = !0, r = "Z";
2429
2014
  if (typeof n == "string") {
2430
2015
  let i = n.match(R);
2431
- i ? (i[1] || (t = !1, n = `0000-01-01T${n}`), l = !!i[2], i[2] && +i[2] > 23 ? n = "" : (r$1 = i[3] || null, n = n.toUpperCase(), !r$1 && l && (n += "Z"))) : n = "";
2016
+ i ? (i[1] || (t = !1, n = `0000-01-01T${n}`), l = !!i[2], i[2] && +i[2] > 23 ? n = "" : (r = i[3] || null, n = n.toUpperCase(), !r && l && (n += "Z"))) : n = "";
2432
2017
  }
2433
- super(n), isNaN(this.getTime()) || (this.#n = t, this.#t = l, this.#e = r$1);
2018
+ super(n), isNaN(this.getTime()) || (this.#n = t, this.#t = l, this.#e = r);
2434
2019
  }
2435
2020
  isDateTime() {
2436
2021
  return this.#n && this.#t;
@@ -2510,8 +2095,8 @@ var w = class w extends Date {
2510
2095
  "\\": "\\"
2511
2096
  };
2512
2097
  function $(e, n = 0, t = e.length) {
2513
- let l = e[n] === "'", r$1 = e[n++] === e[n] && e[n] === e[n + 1];
2514
- r$1 && (t -= 2, e[n += 2] === "\r" && n++, e[n] === `
2098
+ let l = e[n] === "'", r = e[n++] === e[n] && e[n] === e[n + 1];
2099
+ r && (t -= 2, e[n += 2] === "\r" && n++, e[n] === `
2515
2100
  ` && n++);
2516
2101
  let i = 0, o, f = "", a = n;
2517
2102
  for (; n < t - 1;) {
@@ -2519,7 +2104,7 @@ function $(e, n = 0, t = e.length) {
2519
2104
  if (u === `
2520
2105
  ` || u === "\r" && e[n] === `
2521
2106
  `) {
2522
- if (!r$1) throw new c("newlines are not allowed in strings", {
2107
+ if (!r) throw new c("newlines are not allowed in strings", {
2523
2108
  toml: e,
2524
2109
  ptr: n - 1
2525
2110
  });
@@ -2529,20 +2114,20 @@ function $(e, n = 0, t = e.length) {
2529
2114
  });
2530
2115
  if (o) {
2531
2116
  if (o = !1, u === "u" || u === "U") {
2532
- let d$1 = e.slice(n, n += u === "u" ? 4 : 8);
2533
- if (!z.test(d$1)) throw new c("invalid unicode escape", {
2117
+ let d = e.slice(n, n += u === "u" ? 4 : 8);
2118
+ if (!z.test(d)) throw new c("invalid unicode escape", {
2534
2119
  toml: e,
2535
2120
  ptr: i
2536
2121
  });
2537
2122
  try {
2538
- f += String.fromCodePoint(parseInt(d$1, 16));
2123
+ f += String.fromCodePoint(parseInt(d, 16));
2539
2124
  } catch {
2540
2125
  throw new c("invalid unicode escape", {
2541
2126
  toml: e,
2542
2127
  ptr: i
2543
2128
  });
2544
2129
  }
2545
- } else if (r$1 && (u === `
2130
+ } else if (r && (u === `
2546
2131
  ` || u === " " || u === " " || u === "\r")) {
2547
2132
  if (n = s(e, n - 1, !0), e[n] !== `
2548
2133
  ` && e[n] !== "\r") throw new c("invalid escape: only line-ending whitespace may be escaped", {
@@ -2584,12 +2169,12 @@ function F(e, n, t) {
2584
2169
  });
2585
2170
  return i;
2586
2171
  }
2587
- let r$1 = new w(e);
2588
- if (!r$1.isValid()) throw new c("invalid value", {
2172
+ let r = new w(e);
2173
+ if (!r.isValid()) throw new c("invalid value", {
2589
2174
  toml: n,
2590
2175
  ptr: t
2591
2176
  });
2592
- return r$1;
2177
+ return r;
2593
2178
  }
2594
2179
  /*!
2595
2180
  * Copyright (c) Squirrel Chat et al., All rights reserved.
@@ -2618,11 +2203,11 @@ function F(e, n, t) {
2618
2203
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2619
2204
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2620
2205
  */ function V(e, n, t, l) {
2621
- let r$1 = e.slice(n, t), i = r$1.indexOf("#");
2622
- i > -1 && (y(e, i), r$1 = r$1.slice(0, i));
2623
- let o = r$1.trimEnd();
2206
+ let r = e.slice(n, t), i = r.indexOf("#");
2207
+ i > -1 && (y(e, i), r = r.slice(0, i));
2208
+ let o = r.trimEnd();
2624
2209
  if (!l) {
2625
- let f = r$1.indexOf(`
2210
+ let f = r.indexOf(`
2626
2211
  `, o.length);
2627
2212
  if (f > -1) throw new c("newlines are not allowed in inline tables", {
2628
2213
  toml: e,
@@ -2636,20 +2221,20 @@ function b(e, n, t, l) {
2636
2221
  toml: e,
2637
2222
  ptr: n
2638
2223
  });
2639
- let r$1 = e[n];
2640
- if (r$1 === "[" || r$1 === "{") {
2641
- let [f, a] = r$1 === "[" ? U(e, n, l) : K(e, n, l), u = A(e, a, ",", t);
2224
+ let r = e[n];
2225
+ if (r === "[" || r === "{") {
2226
+ let [f, a] = r === "[" ? U(e, n, l) : K(e, n, l), u = A(e, a, ",", t);
2642
2227
  if (t === "}") {
2643
- let d$1 = g(e, a, u);
2644
- if (d$1 > -1) throw new c("newlines are not allowed in inline tables", {
2228
+ let d = g(e, a, u);
2229
+ if (d > -1) throw new c("newlines are not allowed in inline tables", {
2645
2230
  toml: e,
2646
- ptr: d$1
2231
+ ptr: d
2647
2232
  });
2648
2233
  }
2649
2234
  return [f, u];
2650
2235
  }
2651
2236
  let i;
2652
- if (r$1 === "\"" || r$1 === "'") {
2237
+ if (r === "\"" || r === "'") {
2653
2238
  i = S(e, n);
2654
2239
  let f = $(e, n, i);
2655
2240
  if (t) {
@@ -2698,7 +2283,7 @@ function b(e, n, t, l) {
2698
2283
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2699
2284
  */ let G = /^[a-zA-Z0-9-_]+[ \t]*$/;
2700
2285
  function x(e, n, t = "=") {
2701
- let l = n - 1, r$1 = [], i = e.indexOf(t, n);
2286
+ let l = n - 1, r = [], i = e.indexOf(t, n);
2702
2287
  if (i < 0) throw new c("incomplete key-value: cannot find end of key", {
2703
2288
  toml: e,
2704
2289
  ptr: n
@@ -2729,7 +2314,7 @@ function x(e, n, t = "=") {
2729
2314
  toml: e,
2730
2315
  ptr: n
2731
2316
  });
2732
- r$1.push($(e, n, f));
2317
+ r.push($(e, n, f));
2733
2318
  } else {
2734
2319
  l = e.indexOf(".", n);
2735
2320
  let f = e.slice(n, l < 0 || l > i ? i : l);
@@ -2737,13 +2322,13 @@ function x(e, n, t = "=") {
2737
2322
  toml: e,
2738
2323
  ptr: n
2739
2324
  });
2740
- r$1.push(f.trimEnd());
2325
+ r.push(f.trimEnd());
2741
2326
  }
2742
2327
  } while (l + 1 && l < i);
2743
- return [r$1, s(e, i + 1, !0, !0)];
2328
+ return [r, s(e, i + 1, !0, !0)];
2744
2329
  }
2745
2330
  function K(e, n, t) {
2746
- let l = {}, r$1 = /* @__PURE__ */ new Set(), i, o = 0;
2331
+ let l = {}, r = /* @__PURE__ */ new Set(), i, o = 0;
2747
2332
  for (n++; (i = e[n++]) !== "}" && i;) {
2748
2333
  if (i === `
2749
2334
  `) throw new c("newlines are not allowed in inline tables", {
@@ -2759,9 +2344,9 @@ function K(e, n, t) {
2759
2344
  ptr: n - 1
2760
2345
  });
2761
2346
  if (i !== " " && i !== " ") {
2762
- let f, a = l, u = !1, [d$1, N$4] = x(e, n - 1);
2763
- for (let m$1 = 0; m$1 < d$1.length; m$1++) {
2764
- if (m$1 && (a = u ? a[f] : a[f] = {}), f = d$1[m$1], (u = Object.hasOwn(a, f)) && (typeof a[f] != "object" || r$1.has(a[f]))) throw new c("trying to redefine an already defined value", {
2347
+ let f, a = l, u = !1, [d, N$2] = x(e, n - 1);
2348
+ for (let m = 0; m < d.length; m++) {
2349
+ if (m && (a = u ? a[f] : a[f] = {}), f = d[m], (u = Object.hasOwn(a, f)) && (typeof a[f] != "object" || r.has(a[f]))) throw new c("trying to redefine an already defined value", {
2765
2350
  toml: e,
2766
2351
  ptr: n
2767
2352
  });
@@ -2775,8 +2360,8 @@ function K(e, n, t) {
2775
2360
  toml: e,
2776
2361
  ptr: n
2777
2362
  });
2778
- let [_$2, k$2] = b(e, N$4, "}", t - 1);
2779
- r$1.add(_$2), a[f] = _$2, n = k$2, o = e[n - 1] === "," ? n - 1 : 0;
2363
+ let [_$2, k$1] = b(e, N$2, "}", t - 1);
2364
+ r.add(_$2), a[f] = _$2, n = k$1, o = e[n - 1] === "," ? n - 1 : 0;
2780
2365
  }
2781
2366
  }
2782
2367
  if (o) throw new c("trailing commas are not allowed in inline tables", {
@@ -2790,20 +2375,20 @@ function K(e, n, t) {
2790
2375
  return [l, n];
2791
2376
  }
2792
2377
  function U(e, n, t) {
2793
- let l = [], r$1;
2794
- for (n++; (r$1 = e[n++]) !== "]" && r$1;) {
2795
- if (r$1 === ",") throw new c("expected value, found comma", {
2378
+ let l = [], r;
2379
+ for (n++; (r = e[n++]) !== "]" && r;) {
2380
+ if (r === ",") throw new c("expected value, found comma", {
2796
2381
  toml: e,
2797
2382
  ptr: n - 1
2798
2383
  });
2799
- if (r$1 === "#") n = y(e, n);
2800
- else if (r$1 !== " " && r$1 !== " " && r$1 !== `
2801
- ` && r$1 !== "\r") {
2384
+ if (r === "#") n = y(e, n);
2385
+ else if (r !== " " && r !== " " && r !== `
2386
+ ` && r !== "\r") {
2802
2387
  let i = b(e, n - 1, "]", t - 1);
2803
2388
  l.push(i[0]), n = i[1];
2804
2389
  }
2805
2390
  }
2806
- if (!r$1) throw new c("unfinished array encountered", {
2391
+ if (!r) throw new c("unfinished array encountered", {
2807
2392
  toml: e,
2808
2393
  ptr: n
2809
2394
  });
@@ -2836,17 +2421,17 @@ function U(e, n, t) {
2836
2421
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2837
2422
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2838
2423
  */ function p(e, n, t, l) {
2839
- let r$1 = n, i = t, o, f = !1, a;
2424
+ let r = n, i = t, o, f = !1, a;
2840
2425
  for (let u = 0; u < e.length; u++) {
2841
2426
  if (u) {
2842
- if (r$1 = f ? r$1[o] : r$1[o] = {}, i = (a = i[o]).c, l === 0 && (a.t === 1 || a.t === 2)) return null;
2427
+ if (r = f ? r[o] : r[o] = {}, i = (a = i[o]).c, l === 0 && (a.t === 1 || a.t === 2)) return null;
2843
2428
  if (a.t === 2) {
2844
- let d$1 = r$1.length - 1;
2845
- r$1 = r$1[d$1], i = i[d$1].c;
2429
+ let d = r.length - 1;
2430
+ r = r[d], i = i[d].c;
2846
2431
  }
2847
2432
  }
2848
- if (o = e[u], (f = Object.hasOwn(r$1, o)) && i[o]?.t === 0 && i[o]?.d) return null;
2849
- f || (o === "__proto__" && (Object.defineProperty(r$1, o, {
2433
+ if (o = e[u], (f = Object.hasOwn(r, o)) && i[o]?.t === 0 && i[o]?.d) return null;
2434
+ f || (o === "__proto__" && (Object.defineProperty(r, o, {
2850
2435
  enumerable: !0,
2851
2436
  configurable: !0,
2852
2437
  writable: !0
@@ -2861,22 +2446,22 @@ function U(e, n, t) {
2861
2446
  c: {}
2862
2447
  });
2863
2448
  }
2864
- if (a = i[o], a.t !== l && !(l === 1 && a.t === 3) || (l === 2 && (a.d || (a.d = !0, r$1[o] = []), r$1[o].push(r$1 = {}), a.c[a.i++] = a = {
2449
+ if (a = i[o], a.t !== l && !(l === 1 && a.t === 3) || (l === 2 && (a.d || (a.d = !0, r[o] = []), r[o].push(r = {}), a.c[a.i++] = a = {
2865
2450
  t: 1,
2866
2451
  d: !1,
2867
2452
  i: 0,
2868
2453
  c: {}
2869
2454
  }), a.d)) return null;
2870
- if (a.d = !0, l === 1) r$1 = f ? r$1[o] : r$1[o] = {};
2455
+ if (a.d = !0, l === 1) r = f ? r[o] : r[o] = {};
2871
2456
  else if (l === 0 && f) return null;
2872
2457
  return [
2873
2458
  o,
2874
- r$1,
2459
+ r,
2875
2460
  a.c
2876
2461
  ];
2877
2462
  }
2878
2463
  function X(e, n) {
2879
- let t = n?.maxDepth ?? 1e3, l = {}, r$1 = {}, i = l, o = r$1;
2464
+ let t = n?.maxDepth ?? 1e3, l = {}, r = {}, i = l, o = r;
2880
2465
  for (let f = s(e, 0); f < e.length;) {
2881
2466
  if (e[f] === "[") {
2882
2467
  let a = e[++f] === "[", u = x(e, f += +a, "]");
@@ -2887,20 +2472,20 @@ function X(e, n) {
2887
2472
  });
2888
2473
  u[1]++;
2889
2474
  }
2890
- let d$1 = p(u[0], l, r$1, a ? 2 : 1);
2891
- if (!d$1) throw new c("trying to redefine an already defined table or value", {
2475
+ let d = p(u[0], l, r, a ? 2 : 1);
2476
+ if (!d) throw new c("trying to redefine an already defined table or value", {
2892
2477
  toml: e,
2893
2478
  ptr: f
2894
2479
  });
2895
- o = d$1[2], i = d$1[1], f = u[1];
2480
+ o = d[2], i = d[1], f = u[1];
2896
2481
  } else {
2897
2482
  let a = x(e, f), u = p(a[0], i, o, 0);
2898
2483
  if (!u) throw new c("trying to redefine an already defined table or value", {
2899
2484
  toml: e,
2900
2485
  ptr: f
2901
2486
  });
2902
- let d$1 = b(e, a[1], void 0, t);
2903
- u[1][u[0]] = d$1[0], f = d$1[1];
2487
+ let d = b(e, a[1], void 0, t);
2488
+ u[1][u[0]] = d[0], f = d[1];
2904
2489
  }
2905
2490
  if (f = s(e, f, !0), e[f] && e[f] !== `
2906
2491
  ` && e[f] !== "\r") throw new c("each key-value declaration must be followed by an end-of-line", {
@@ -2913,8 +2498,12 @@ function X(e, n) {
2913
2498
  }
2914
2499
  function Q(e) {
2915
2500
  const n = X(e);
2916
- return N(e, n, { preserveIndentation: !1 }), n;
2501
+ return N$1(e, n, { preserveIndentation: !1 }), n;
2917
2502
  }
2918
2503
 
2919
2504
  //#endregion
2920
- export { h$2 as a, Cu as i, gr as n, x$1 as o, mr as r, Q as t };
2505
+ //#region node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs
2506
+ var jsonc_exports = /* @__PURE__ */ __exportAll({ parseJSONC: () => h$1 });
2507
+
2508
+ //#endregion
2509
+ export { yaml_exports as a, gr as i, Q as n, json5_exports as o, toml_exports as r, jsonc_exports as t };