nitro-nightly 4.0.0-20251030-091344-d4418b98 → 4.0.0-20251030-121649-98b56dfe

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 (334) hide show
  1. package/dist/_build/common.mjs +763 -0
  2. package/dist/_build/rolldown.mjs +216 -0
  3. package/dist/_build/rollup.mjs +359 -0
  4. package/dist/_build/vite.build.mjs +67 -0
  5. package/dist/_build/vite.plugin.mjs +747 -0
  6. package/dist/_chunks/B-7HiF0V.mjs +1303 -0
  7. package/dist/_chunks/B3asVbT4.mjs +151 -0
  8. package/dist/_chunks/B5ooyfLk.mjs +372 -0
  9. package/dist/_chunks/DXMHy5ca.mjs +43 -0
  10. package/dist/_dev.d.mts +12 -0
  11. package/dist/_dev.mjs +675 -0
  12. package/dist/_libs/acorn.mjs +5034 -0
  13. package/dist/_libs/c12.mjs +2798 -0
  14. package/dist/_libs/chokidar.mjs +1560 -0
  15. package/dist/_libs/citty.mjs +333 -0
  16. package/dist/_libs/commondir.mjs +22 -0
  17. package/dist/_libs/compatx.mjs +46 -0
  18. package/dist/_libs/confbox.mjs +2920 -0
  19. package/dist/_libs/debug.mjs +848 -0
  20. package/dist/_libs/deepmerge.mjs +86 -0
  21. package/dist/_libs/depd.mjs +314 -0
  22. package/dist/_libs/dot-prop.mjs +138 -0
  23. package/dist/_libs/duplexer.mjs +71 -0
  24. package/dist/_libs/ee-first.mjs +68 -0
  25. package/dist/_libs/encodeurl.mjs +49 -0
  26. package/dist/_libs/escape-html.mjs +58 -0
  27. package/dist/_libs/escape-string-regexp.mjs +8 -0
  28. package/dist/_libs/estree-walker.mjs +330 -0
  29. package/dist/_libs/etag.mjs +75 -0
  30. package/dist/{_chunks/_deps → _libs}/fdir.mjs +49 -104
  31. package/dist/_libs/fresh.mjs +85 -0
  32. package/dist/_libs/function-bind.mjs +63 -0
  33. package/dist/_libs/gen-mapping.mjs +612 -0
  34. package/dist/_libs/giget.mjs +19076 -0
  35. package/dist/_libs/gzip-size.mjs +21 -0
  36. package/dist/_libs/hasown.mjs +14 -0
  37. package/dist/_libs/http-errors.mjs +436 -0
  38. package/dist/_libs/httpxy.mjs +410 -0
  39. package/dist/_libs/is-core-module.mjs +220 -0
  40. package/dist/_libs/is-module.mjs +13 -0
  41. package/dist/_libs/is-reference.mjs +32 -0
  42. package/dist/{_chunks/_deps → _libs}/js-tokens.mjs +83 -112
  43. package/dist/_libs/klona.mjs +90 -0
  44. package/dist/_libs/knitwork.mjs +124 -0
  45. package/dist/_libs/local-pkg.mjs +1686 -0
  46. package/dist/{_chunks/_deps → _libs}/magic-string.mjs +272 -629
  47. package/dist/_libs/mime-db.mjs +7642 -0
  48. package/dist/_libs/mime-types.mjs +162 -0
  49. package/dist/_libs/mime.mjs +1391 -0
  50. package/dist/_libs/node-fetch-native.mjs +173 -0
  51. package/dist/_libs/on-finished.mjs +170 -0
  52. package/dist/_libs/parseurl.mjs +103 -0
  53. package/dist/_libs/path-parse.mjs +47 -0
  54. package/dist/_libs/pathe.mjs +41 -0
  55. package/dist/_libs/picomatch.mjs +1673 -0
  56. package/dist/_libs/plugin-alias.mjs +64 -0
  57. package/dist/_libs/plugin-commonjs.mjs +1489 -0
  58. package/dist/_libs/plugin-inject.mjs +135 -0
  59. package/dist/_libs/plugin-json.mjs +36 -0
  60. package/dist/_libs/plugin-node-resolve.mjs +1553 -0
  61. package/dist/_libs/plugin-replace.mjs +104 -0
  62. package/dist/_libs/pretty-bytes.mjs +116 -0
  63. package/dist/_libs/range-parser.mjs +102 -0
  64. package/dist/_libs/remapping.mjs +117 -0
  65. package/dist/{_chunks/_deps → _libs}/rou3.mjs +7 -22
  66. package/dist/_libs/send.mjs +857 -0
  67. package/dist/_libs/serve-static.mjs +124 -0
  68. package/dist/_libs/std-env.mjs +158 -0
  69. package/dist/_libs/strip-literal.mjs +51 -0
  70. package/dist/{_chunks/_deps → _libs}/tinyglobby.mjs +32 -33
  71. package/dist/_libs/ultrahtml.mjs +138 -0
  72. package/dist/_libs/unimport.mjs +3520 -0
  73. package/dist/_libs/untyped.mjs +271 -0
  74. package/dist/_libs/unwasm.mjs +5825 -0
  75. package/dist/{_chunks/_deps/@pi0 → _libs}/vite-plugin-fullstack.mjs +28 -42
  76. package/dist/_presets.mjs +1723 -0
  77. package/dist/builder.d.mts +37 -35
  78. package/dist/builder.mjs +45 -117
  79. package/dist/cli/_chunks/build.mjs +43 -0
  80. package/dist/cli/_chunks/common.mjs +15 -0
  81. package/dist/cli/_chunks/detect-acorn.mjs +12 -0
  82. package/dist/cli/_chunks/dev.mjs +79 -0
  83. package/dist/cli/_chunks/dist.mjs +3 -0
  84. package/dist/cli/_chunks/dist2.mjs +4 -0
  85. package/dist/cli/_chunks/esm.mjs +3 -0
  86. package/dist/cli/_chunks/json5.mjs +4 -0
  87. package/dist/cli/_chunks/jsonc.mjs +4 -0
  88. package/dist/cli/_chunks/list.mjs +27 -0
  89. package/dist/cli/_chunks/multipart-parser.mjs +6 -0
  90. package/dist/cli/_chunks/prepare.mjs +19 -0
  91. package/dist/cli/_chunks/run.mjs +55 -0
  92. package/dist/cli/_chunks/task.mjs +16 -0
  93. package/dist/cli/_chunks/toml.mjs +4 -0
  94. package/dist/cli/_chunks/yaml.mjs +4 -0
  95. package/dist/cli/index.d.mts +1 -1
  96. package/dist/cli/index.mjs +19 -18
  97. package/dist/presets/_nitro/runtime/nitro-dev.d.mts +1 -0
  98. package/dist/presets/_nitro/runtime/nitro-dev.mjs +42 -33
  99. package/dist/presets/_nitro/runtime/nitro-prerenderer.d.mts +2 -2
  100. package/dist/presets/_nitro/runtime/nitro-prerenderer.mjs +4 -8
  101. package/dist/presets/_nitro/runtime/service-worker.d.mts +1 -0
  102. package/dist/presets/_nitro/runtime/service-worker.mjs +14 -11
  103. package/dist/presets/aws-amplify/runtime/aws-amplify.d.mts +1 -0
  104. package/dist/presets/aws-amplify/runtime/aws-amplify.mjs +6 -5
  105. package/dist/presets/aws-lambda/runtime/_utils.d.mts +8 -13
  106. package/dist/presets/aws-lambda/runtime/_utils.mjs +95 -81
  107. package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.d.mts +1 -2
  108. package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.mjs +25 -27
  109. package/dist/presets/aws-lambda/runtime/aws-lambda.mjs +7 -7
  110. package/dist/presets/azure/runtime/_utils.mjs +43 -43
  111. package/dist/presets/azure/runtime/azure-swa.d.mts +2 -2
  112. package/dist/presets/azure/runtime/azure-swa.mjs +22 -21
  113. package/dist/presets/bun/runtime/bun.d.mts +1 -0
  114. package/dist/presets/bun/runtime/bun.mjs +18 -17
  115. package/dist/presets/cloudflare/runtime/_module-handler.d.mts +10 -7
  116. package/dist/presets/cloudflare/runtime/_module-handler.mjs +78 -87
  117. package/dist/presets/cloudflare/runtime/cloudflare-durable.d.mts +6 -14
  118. package/dist/presets/cloudflare/runtime/cloudflare-durable.mjs +53 -58
  119. package/dist/presets/cloudflare/runtime/cloudflare-module.d.mts +1 -7
  120. package/dist/presets/cloudflare/runtime/cloudflare-module.mjs +12 -14
  121. package/dist/presets/cloudflare/runtime/cloudflare-pages.d.mts +12 -12
  122. package/dist/presets/cloudflare/runtime/cloudflare-pages.mjs +35 -39
  123. package/dist/presets/cloudflare/runtime/plugin.dev.d.mts +2 -2
  124. package/dist/presets/cloudflare/runtime/plugin.dev.mjs +86 -76
  125. package/dist/presets/deno/runtime/deno-deploy.d.mts +1 -0
  126. package/dist/presets/deno/runtime/deno-deploy.mjs +12 -11
  127. package/dist/presets/deno/runtime/deno-server.d.mts +2 -1
  128. package/dist/presets/deno/runtime/deno-server.mjs +31 -39
  129. package/dist/presets/netlify/runtime/netlify-edge.d.mts +2 -1
  130. package/dist/presets/netlify/runtime/netlify-edge.mjs +14 -11
  131. package/dist/presets/netlify/runtime/netlify.mjs +11 -17
  132. package/dist/presets/node/runtime/node-cluster.mjs +49 -48
  133. package/dist/presets/node/runtime/node-middleware.d.mts +3 -2
  134. package/dist/presets/node/runtime/node-middleware.mjs +7 -6
  135. package/dist/presets/node/runtime/node-server.mjs +33 -23
  136. package/dist/presets/standard/runtime/server.d.mts +1 -3
  137. package/dist/presets/standard/runtime/server.mjs +1 -3
  138. package/dist/presets/stormkit/runtime/stormkit.d.mts +13 -13
  139. package/dist/presets/stormkit/runtime/stormkit.mjs +20 -20
  140. package/dist/presets/vercel/runtime/vercel.d.mts +3 -3
  141. package/dist/presets/vercel/runtime/vercel.mjs +15 -14
  142. package/dist/presets/winterjs/runtime/winterjs.d.mts +2 -0
  143. package/dist/presets/winterjs/runtime/winterjs.mjs +72 -68
  144. package/dist/presets/zeabur/runtime/zeabur.d.mts +1 -1
  145. package/dist/runtime/index.d.mts +12 -1
  146. package/dist/runtime/index.mjs +12 -7
  147. package/dist/runtime/internal/app.mjs +175 -162
  148. package/dist/runtime/internal/cache.d.mts +10 -4
  149. package/dist/runtime/internal/cache.mjs +247 -216
  150. package/dist/runtime/internal/context.d.mts +9 -9
  151. package/dist/runtime/internal/context.mjs +17 -10
  152. package/dist/runtime/internal/database.mjs +8 -10
  153. package/dist/runtime/internal/error/dev.d.mts +5 -4
  154. package/dist/runtime/internal/error/dev.mjs +106 -105
  155. package/dist/runtime/internal/error/prod.d.mts +2 -2
  156. package/dist/runtime/internal/error/prod.mjs +48 -52
  157. package/dist/runtime/internal/error/utils.d.mts +4 -4
  158. package/dist/runtime/internal/error/utils.mjs +1 -1
  159. package/dist/runtime/internal/index.d.mts +2 -0
  160. package/dist/runtime/internal/index.mjs +2 -0
  161. package/dist/runtime/internal/lib/http-graceful-shutdown.d.mts +14 -14
  162. package/dist/runtime/internal/lib/http-graceful-shutdown.mjs +248 -209
  163. package/dist/runtime/internal/meta.d.mts +1 -1
  164. package/dist/runtime/internal/meta.mjs +1 -1
  165. package/dist/runtime/internal/plugin.d.mts +2 -2
  166. package/dist/runtime/internal/plugin.mjs +1 -1
  167. package/dist/runtime/internal/renderer.mjs +39 -31
  168. package/dist/runtime/internal/route-rules.d.mts +8 -8
  169. package/dist/runtime/internal/route-rules.mjs +53 -51
  170. package/dist/runtime/internal/routes/dev-tasks.d.mts +1 -30
  171. package/dist/runtime/internal/routes/dev-tasks.mjs +15 -17
  172. package/dist/runtime/internal/routes/openapi.d.mts +1 -0
  173. package/dist/runtime/internal/routes/openapi.mjs +81 -87
  174. package/dist/runtime/internal/routes/renderer-template.d.mts +1 -1
  175. package/dist/runtime/internal/routes/renderer-template.dev.d.mts +1 -2
  176. package/dist/runtime/internal/routes/renderer-template.dev.mjs +10 -17
  177. package/dist/runtime/internal/routes/renderer-template.mjs +1 -1
  178. package/dist/runtime/internal/routes/scalar.d.mts +1 -0
  179. package/dist/runtime/internal/routes/scalar.mjs +22 -23
  180. package/dist/runtime/internal/routes/swagger.d.mts +1 -0
  181. package/dist/runtime/internal/routes/swagger.mjs +9 -11
  182. package/dist/runtime/internal/runtime-config.d.mts +4 -4
  183. package/dist/runtime/internal/runtime-config.mjs +40 -35
  184. package/dist/runtime/internal/shutdown.d.mts +2 -7
  185. package/dist/runtime/internal/shutdown.mjs +30 -29
  186. package/dist/runtime/internal/static.mjs +63 -74
  187. package/dist/runtime/internal/storage.mjs +2 -2
  188. package/dist/runtime/internal/task.d.mts +6 -6
  189. package/dist/runtime/internal/task.mjs +56 -59
  190. package/dist/runtime/internal/utils.d.mts +1 -1
  191. package/dist/runtime/internal/utils.mjs +4 -10
  192. package/dist/types/index.d.mts +2566 -3851
  193. package/dist/types/index.mjs +1 -1
  194. package/dist/vite.d.mts +56 -52
  195. package/dist/vite.mjs +55 -132
  196. package/package.json +10 -10
  197. package/dist/_build/build.mjs +0 -368
  198. package/dist/_build/build2.mjs +0 -556
  199. package/dist/_build/info.mjs +0 -1002
  200. package/dist/_build/prepare.mjs +0 -1511
  201. package/dist/_build/snapshot.mjs +0 -185
  202. package/dist/_build/vite.mjs +0 -959
  203. package/dist/_build/vite2.mjs +0 -149
  204. package/dist/_chunks/_deps/@jridgewell/gen-mapping.mjs +0 -189
  205. package/dist/_chunks/_deps/@jridgewell/remapping.mjs +0 -137
  206. package/dist/_chunks/_deps/@jridgewell/resolve-uri.mjs +0 -231
  207. package/dist/_chunks/_deps/@jridgewell/sourcemap-codec.mjs +0 -173
  208. package/dist/_chunks/_deps/@jridgewell/trace-mapping.mjs +0 -170
  209. package/dist/_chunks/_deps/@rollup/plugin-alias.mjs +0 -89
  210. package/dist/_chunks/_deps/@rollup/plugin-commonjs.mjs +0 -2376
  211. package/dist/_chunks/_deps/@rollup/plugin-inject.mjs +0 -212
  212. package/dist/_chunks/_deps/@rollup/plugin-json.mjs +0 -37
  213. package/dist/_chunks/_deps/@rollup/plugin-node-resolve.mjs +0 -1386
  214. package/dist/_chunks/_deps/@rollup/plugin-replace.mjs +0 -133
  215. package/dist/_chunks/_deps/@rollup/pluginutils.mjs +0 -346
  216. package/dist/_chunks/_deps/acorn.mjs +0 -6225
  217. package/dist/_chunks/_deps/c12.mjs +0 -510
  218. package/dist/_chunks/_deps/chokidar.mjs +0 -1428
  219. package/dist/_chunks/_deps/citty.mjs +0 -460
  220. package/dist/_chunks/_deps/commondir.mjs +0 -77
  221. package/dist/_chunks/_deps/compatx.mjs +0 -76
  222. package/dist/_chunks/_deps/confbox.mjs +0 -300
  223. package/dist/_chunks/_deps/debug.mjs +0 -885
  224. package/dist/_chunks/_deps/deepmerge.mjs +0 -147
  225. package/dist/_chunks/_deps/depd.mjs +0 -550
  226. package/dist/_chunks/_deps/dot-prop.mjs +0 -282
  227. package/dist/_chunks/_deps/dotenv.mjs +0 -555
  228. package/dist/_chunks/_deps/duplexer.mjs +0 -1
  229. package/dist/_chunks/_deps/ee-first.mjs +0 -104
  230. package/dist/_chunks/_deps/encodeurl.mjs +0 -69
  231. package/dist/_chunks/_deps/escape-html.mjs +0 -87
  232. package/dist/_chunks/_deps/escape-string-regexp.mjs +0 -13
  233. package/dist/_chunks/_deps/estree-walker.mjs +0 -433
  234. package/dist/_chunks/_deps/etag.mjs +0 -147
  235. package/dist/_chunks/_deps/exsolve.mjs +0 -1416
  236. package/dist/_chunks/_deps/fresh.mjs +0 -145
  237. package/dist/_chunks/_deps/function-bind.mjs +0 -106
  238. package/dist/_chunks/_deps/giget.mjs +0 -451
  239. package/dist/_chunks/_deps/gzip-size.mjs +0 -19
  240. package/dist/_chunks/_deps/hasown.mjs +0 -19
  241. package/dist/_chunks/_deps/http-errors.mjs +0 -307
  242. package/dist/_chunks/_deps/httpxy.mjs +0 -580
  243. package/dist/_chunks/_deps/inherits.mjs +0 -57
  244. package/dist/_chunks/_deps/is-core-module.mjs +0 -596
  245. package/dist/_chunks/_deps/is-module.mjs +0 -25
  246. package/dist/_chunks/_deps/is-reference.mjs +0 -31
  247. package/dist/_chunks/_deps/klona.mjs +0 -137
  248. package/dist/_chunks/_deps/knitwork.mjs +0 -172
  249. package/dist/_chunks/_deps/local-pkg.mjs +0 -163
  250. package/dist/_chunks/_deps/mime-db.mjs +0 -11685
  251. package/dist/_chunks/_deps/mime-types.mjs +0 -287
  252. package/dist/_chunks/_deps/mime.mjs +0 -1172
  253. package/dist/_chunks/_deps/mlly.mjs +0 -2413
  254. package/dist/_chunks/_deps/ms.mjs +0 -172
  255. package/dist/_chunks/_deps/node-fetch-native.mjs +0 -3
  256. package/dist/_chunks/_deps/nypm.mjs +0 -219
  257. package/dist/_chunks/_deps/on-finished.mjs +0 -246
  258. package/dist/_chunks/_deps/parseurl.mjs +0 -168
  259. package/dist/_chunks/_deps/path-parse.mjs +0 -85
  260. package/dist/_chunks/_deps/pathe.mjs +0 -251
  261. package/dist/_chunks/_deps/perfect-debounce.mjs +0 -88
  262. package/dist/_chunks/_deps/picomatch.mjs +0 -2144
  263. package/dist/_chunks/_deps/pkg-types.mjs +0 -247
  264. package/dist/_chunks/_deps/pretty-bytes.mjs +0 -180
  265. package/dist/_chunks/_deps/quansync.mjs +0 -99
  266. package/dist/_chunks/_deps/range-parser.mjs +0 -171
  267. package/dist/_chunks/_deps/rc9.mjs +0 -219
  268. package/dist/_chunks/_deps/readdirp.mjs +0 -245
  269. package/dist/_chunks/_deps/resolve.mjs +0 -1260
  270. package/dist/_chunks/_deps/send.mjs +0 -1022
  271. package/dist/_chunks/_deps/serve-static.mjs +0 -228
  272. package/dist/_chunks/_deps/setprototypeof.mjs +0 -26
  273. package/dist/_chunks/_deps/statuses.mjs +0 -457
  274. package/dist/_chunks/_deps/std-env.mjs +0 -3
  275. package/dist/_chunks/_deps/strip-literal.mjs +0 -67
  276. package/dist/_chunks/_deps/supports-color.mjs +0 -44
  277. package/dist/_chunks/_deps/tinyexec.mjs +0 -552
  278. package/dist/_chunks/_deps/toidentifier.mjs +0 -41
  279. package/dist/_chunks/_deps/ultrahtml.mjs +0 -3
  280. package/dist/_chunks/_deps/unimport.mjs +0 -2267
  281. package/dist/_chunks/_deps/unplugin-utils.mjs +0 -65
  282. package/dist/_chunks/_deps/unplugin.mjs +0 -1294
  283. package/dist/_chunks/_deps/untyped.mjs +0 -375
  284. package/dist/_chunks/_deps/unwasm.mjs +0 -6959
  285. package/dist/_chunks/_deps/webpack-virtual-modules.mjs +0 -360
  286. package/dist/_chunks/_presets/_all.mjs +0 -59
  287. package/dist/_chunks/_presets/_nitro.mjs +0 -74
  288. package/dist/_chunks/_presets/_resolve.mjs +0 -64
  289. package/dist/_chunks/_presets/_static.mjs +0 -69
  290. package/dist/_chunks/_presets/_types.mjs +0 -3
  291. package/dist/_chunks/_presets/_utils.mjs +0 -31
  292. package/dist/_chunks/_presets/alwaysdata.mjs +0 -17
  293. package/dist/_chunks/_presets/aws-amplify.mjs +0 -111
  294. package/dist/_chunks/_presets/aws-lambda.mjs +0 -23
  295. package/dist/_chunks/_presets/azure.mjs +0 -162
  296. package/dist/_chunks/_presets/bun.mjs +0 -19
  297. package/dist/_chunks/_presets/cleavr.mjs +0 -15
  298. package/dist/_chunks/_presets/cloudflare.mjs +0 -608
  299. package/dist/_chunks/_presets/deno.mjs +0 -196
  300. package/dist/_chunks/_presets/digitalocean.mjs +0 -14
  301. package/dist/_chunks/_presets/firebase.mjs +0 -47
  302. package/dist/_chunks/_presets/flightcontrol.mjs +0 -14
  303. package/dist/_chunks/_presets/genezio.mjs +0 -13
  304. package/dist/_chunks/_presets/heroku.mjs +0 -14
  305. package/dist/_chunks/_presets/iis.mjs +0 -194
  306. package/dist/_chunks/_presets/index.mjs +0 -62
  307. package/dist/_chunks/_presets/koyeb.mjs +0 -14
  308. package/dist/_chunks/_presets/netlify.mjs +0 -241
  309. package/dist/_chunks/_presets/node.mjs +0 -54
  310. package/dist/_chunks/_presets/platform.mjs +0 -14
  311. package/dist/_chunks/_presets/render.mjs +0 -14
  312. package/dist/_chunks/_presets/standard.mjs +0 -23
  313. package/dist/_chunks/_presets/stormkit.mjs +0 -18
  314. package/dist/_chunks/_presets/vercel.mjs +0 -375
  315. package/dist/_chunks/_presets/winterjs.mjs +0 -22
  316. package/dist/_chunks/_presets/zeabur.mjs +0 -69
  317. package/dist/_chunks/_presets/zerops.mjs +0 -27
  318. package/dist/_chunks/app.mjs +0 -600
  319. package/dist/_chunks/builder.mjs +0 -648
  320. package/dist/_chunks/server.mjs +0 -256
  321. package/dist/_cli/build.mjs +0 -49
  322. package/dist/_cli/common.mjs +0 -13
  323. package/dist/_cli/dev.mjs +0 -121
  324. package/dist/_cli/index.mjs +0 -16
  325. package/dist/_cli/list.mjs +0 -33
  326. package/dist/_cli/prepare.mjs +0 -23
  327. package/dist/_cli/run.mjs +0 -59
  328. package/dist/presets/cloudflare/runtime/shims/workers.dev.d.mts +0 -21
  329. package/dist/runtime/internal/empty.d.mts +0 -0
  330. package/dist/runtime/internal/vite/dev-entry.d.mts +0 -1
  331. package/dist/runtime/internal/vite/dev-worker.d.mts +0 -1
  332. package/dist/runtime/internal/vite/prod-setup.d.mts +0 -4
  333. package/dist/runtime/internal/vite/ssr-renderer.d.mts +0 -4
  334. /package/lib/{indexd.mts → index.d.mts} +0 -0
@@ -0,0 +1,2920 @@
1
+ import { h as N, m as C } from "./c12.mjs";
2
+
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
+ //#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;
428
+ }
429
+ var O$1 = {}, M$2;
430
+ function Y$1() {
431
+ return M$2 || (M$2 = 1, O$1.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/, O$1.ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/, O$1.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/), O$1;
432
+ }
433
+ var _$1, U$2;
434
+ function T$1() {
435
+ if (U$2) return _$1;
436
+ U$2 = 1;
437
+ const C$4 = Y$1();
438
+ return _$1 = {
439
+ isSpaceSeparator(r$1) {
440
+ return typeof r$1 == "string" && C$4.Space_Separator.test(r$1);
441
+ },
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));
444
+ },
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));
447
+ },
448
+ isDigit(r$1) {
449
+ return typeof r$1 == "string" && /[0-9]/.test(r$1);
450
+ },
451
+ isHexDigit(r$1) {
452
+ return typeof r$1 == "string" && /[0-9A-Fa-f]/.test(r$1);
453
+ }
454
+ }, _$1;
455
+ }
456
+ var q$1, Z$2;
457
+ function uu() {
458
+ if (Z$2) return q$1;
459
+ 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;
462
+ 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;
464
+ do
465
+ f = E$1(), Q$3[s$1]();
466
+ while (f.type !== "eof");
467
+ return typeof g$1 == "function" ? v$3({ "": m$1 }, "", g$1) : m$1;
468
+ };
469
+ function v$3(D$1, a, g$1) {
470
+ 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,
475
+ writable: !0,
476
+ enumerable: !0,
477
+ configurable: !0
478
+ });
479
+ }
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, {
483
+ value: I$2,
484
+ writable: !0,
485
+ enumerable: !0,
486
+ configurable: !0
487
+ });
488
+ }
489
+ return g$1.call(D$1, a, y$2);
490
+ }
491
+ let t, e, x$3, w$2, A$1;
492
+ function E$1() {
493
+ for (t = "default", e = "", x$3 = !1, w$2 = 1;;) {
494
+ A$1 = n();
495
+ const D$1 = l[t]();
496
+ if (D$1) return D$1;
497
+ }
498
+ }
499
+ function n() {
500
+ if (r$1[d$1]) return String.fromCodePoint(r$1.codePointAt(d$1));
501
+ }
502
+ function u() {
503
+ const D$1 = n();
504
+ return D$1 === `
505
+ ` ? (h$3++, o = 0) : D$1 ? o += D$1.length : o++, D$1 && (d$1 += D$1.length), D$1;
506
+ }
507
+ const l = {
508
+ default() {
509
+ switch (A$1) {
510
+ case " ":
511
+ case "\v":
512
+ case "\f":
513
+ case " ":
514
+ case "\xA0":
515
+ case "":
516
+ case `
517
+ `:
518
+ case "\r":
519
+ case "\u2028":
520
+ case "\u2029":
521
+ u();
522
+ return;
523
+ case "/":
524
+ u(), t = "comment";
525
+ return;
526
+ case void 0: return u(), F$2("eof");
527
+ }
528
+ if (C$4.isSpaceSeparator(A$1)) {
529
+ u();
530
+ return;
531
+ }
532
+ return l[s$1]();
533
+ },
534
+ comment() {
535
+ switch (A$1) {
536
+ case "*":
537
+ u(), t = "multiLineComment";
538
+ return;
539
+ case "/":
540
+ u(), t = "singleLineComment";
541
+ return;
542
+ }
543
+ throw B$1(u());
544
+ },
545
+ multiLineComment() {
546
+ switch (A$1) {
547
+ case "*":
548
+ u(), t = "multiLineCommentAsterisk";
549
+ return;
550
+ case void 0: throw B$1(u());
551
+ }
552
+ u();
553
+ },
554
+ multiLineCommentAsterisk() {
555
+ switch (A$1) {
556
+ case "*":
557
+ u();
558
+ return;
559
+ case "/":
560
+ u(), t = "default";
561
+ return;
562
+ case void 0: throw B$1(u());
563
+ }
564
+ u(), t = "multiLineComment";
565
+ },
566
+ singleLineComment() {
567
+ switch (A$1) {
568
+ case `
569
+ `:
570
+ case "\r":
571
+ case "\u2028":
572
+ case "\u2029":
573
+ u(), t = "default";
574
+ return;
575
+ case void 0: return u(), F$2("eof");
576
+ }
577
+ u();
578
+ },
579
+ value() {
580
+ switch (A$1) {
581
+ case "{":
582
+ case "[": return F$2("punctuator", u());
583
+ case "n": return u(), i("ull"), F$2("null", null);
584
+ case "t": return u(), i("rue"), F$2("boolean", !0);
585
+ case "f": return u(), i("alse"), F$2("boolean", !1);
586
+ case "-":
587
+ case "+":
588
+ u() === "-" && (w$2 = -1), t = "sign";
589
+ return;
590
+ case ".":
591
+ e = u(), t = "decimalPointLeading";
592
+ return;
593
+ case "0":
594
+ e = u(), t = "zero";
595
+ return;
596
+ case "1":
597
+ case "2":
598
+ case "3":
599
+ case "4":
600
+ case "5":
601
+ case "6":
602
+ case "7":
603
+ case "8":
604
+ case "9":
605
+ e = u(), t = "decimalInteger";
606
+ return;
607
+ case "I": return u(), i("nfinity"), F$2("numeric", Infinity);
608
+ case "N": return u(), i("aN"), F$2("numeric", NaN);
609
+ case "\"":
610
+ case "'":
611
+ x$3 = u() === "\"", e = "", t = "string";
612
+ return;
613
+ }
614
+ throw B$1(u());
615
+ },
616
+ identifierNameStartEscape() {
617
+ if (A$1 !== "u") throw B$1(u());
618
+ u();
619
+ const D$1 = $$3();
620
+ switch (D$1) {
621
+ case "$":
622
+ case "_": break;
623
+ default:
624
+ if (!C$4.isIdStartChar(D$1)) throw L$2();
625
+ break;
626
+ }
627
+ e += D$1, t = "identifierName";
628
+ },
629
+ identifierName() {
630
+ switch (A$1) {
631
+ case "$":
632
+ case "_":
633
+ case "‌":
634
+ case "‍":
635
+ e += u();
636
+ return;
637
+ case "\\":
638
+ u(), t = "identifierNameEscape";
639
+ return;
640
+ }
641
+ if (C$4.isIdContinueChar(A$1)) {
642
+ e += u();
643
+ return;
644
+ }
645
+ return F$2("identifier", e);
646
+ },
647
+ identifierNameEscape() {
648
+ if (A$1 !== "u") throw B$1(u());
649
+ u();
650
+ const D$1 = $$3();
651
+ switch (D$1) {
652
+ case "$":
653
+ case "_":
654
+ case "‌":
655
+ case "‍": break;
656
+ default:
657
+ if (!C$4.isIdContinueChar(D$1)) throw L$2();
658
+ break;
659
+ }
660
+ e += D$1, t = "identifierName";
661
+ },
662
+ sign() {
663
+ switch (A$1) {
664
+ case ".":
665
+ e = u(), t = "decimalPointLeading";
666
+ return;
667
+ case "0":
668
+ e = u(), t = "zero";
669
+ return;
670
+ case "1":
671
+ case "2":
672
+ case "3":
673
+ case "4":
674
+ case "5":
675
+ case "6":
676
+ case "7":
677
+ case "8":
678
+ case "9":
679
+ e = u(), t = "decimalInteger";
680
+ return;
681
+ case "I": return u(), i("nfinity"), F$2("numeric", w$2 * Infinity);
682
+ case "N": return u(), i("aN"), F$2("numeric", NaN);
683
+ }
684
+ throw B$1(u());
685
+ },
686
+ zero() {
687
+ switch (A$1) {
688
+ case ".":
689
+ e += u(), t = "decimalPoint";
690
+ return;
691
+ case "e":
692
+ case "E":
693
+ e += u(), t = "decimalExponent";
694
+ return;
695
+ case "x":
696
+ case "X":
697
+ e += u(), t = "hexadecimal";
698
+ return;
699
+ }
700
+ return F$2("numeric", w$2 * 0);
701
+ },
702
+ decimalInteger() {
703
+ switch (A$1) {
704
+ case ".":
705
+ e += u(), t = "decimalPoint";
706
+ return;
707
+ case "e":
708
+ case "E":
709
+ e += u(), t = "decimalExponent";
710
+ return;
711
+ }
712
+ if (C$4.isDigit(A$1)) {
713
+ e += u();
714
+ return;
715
+ }
716
+ return F$2("numeric", w$2 * Number(e));
717
+ },
718
+ decimalPointLeading() {
719
+ if (C$4.isDigit(A$1)) {
720
+ e += u(), t = "decimalFraction";
721
+ return;
722
+ }
723
+ throw B$1(u());
724
+ },
725
+ decimalPoint() {
726
+ switch (A$1) {
727
+ case "e":
728
+ case "E":
729
+ e += u(), t = "decimalExponent";
730
+ return;
731
+ }
732
+ if (C$4.isDigit(A$1)) {
733
+ e += u(), t = "decimalFraction";
734
+ return;
735
+ }
736
+ return F$2("numeric", w$2 * Number(e));
737
+ },
738
+ decimalFraction() {
739
+ switch (A$1) {
740
+ case "e":
741
+ case "E":
742
+ e += u(), t = "decimalExponent";
743
+ return;
744
+ }
745
+ if (C$4.isDigit(A$1)) {
746
+ e += u();
747
+ return;
748
+ }
749
+ return F$2("numeric", w$2 * Number(e));
750
+ },
751
+ decimalExponent() {
752
+ switch (A$1) {
753
+ case "+":
754
+ case "-":
755
+ e += u(), t = "decimalExponentSign";
756
+ return;
757
+ }
758
+ if (C$4.isDigit(A$1)) {
759
+ e += u(), t = "decimalExponentInteger";
760
+ return;
761
+ }
762
+ throw B$1(u());
763
+ },
764
+ decimalExponentSign() {
765
+ if (C$4.isDigit(A$1)) {
766
+ e += u(), t = "decimalExponentInteger";
767
+ return;
768
+ }
769
+ throw B$1(u());
770
+ },
771
+ decimalExponentInteger() {
772
+ if (C$4.isDigit(A$1)) {
773
+ e += u();
774
+ return;
775
+ }
776
+ return F$2("numeric", w$2 * Number(e));
777
+ },
778
+ hexadecimal() {
779
+ if (C$4.isHexDigit(A$1)) {
780
+ e += u(), t = "hexadecimalInteger";
781
+ return;
782
+ }
783
+ throw B$1(u());
784
+ },
785
+ hexadecimalInteger() {
786
+ if (C$4.isHexDigit(A$1)) {
787
+ e += u();
788
+ return;
789
+ }
790
+ return F$2("numeric", w$2 * Number(e));
791
+ },
792
+ string() {
793
+ switch (A$1) {
794
+ case "\\":
795
+ u(), e += p$1();
796
+ return;
797
+ case "\"":
798
+ if (x$3) return u(), F$2("string", e);
799
+ e += u();
800
+ return;
801
+ case "'":
802
+ if (!x$3) return u(), F$2("string", e);
803
+ e += u();
804
+ return;
805
+ case `
806
+ `:
807
+ case "\r": throw B$1(u());
808
+ case "\u2028":
809
+ case "\u2029":
810
+ X$2(A$1);
811
+ break;
812
+ case void 0: throw B$1(u());
813
+ }
814
+ e += u();
815
+ },
816
+ start() {
817
+ switch (A$1) {
818
+ case "{":
819
+ case "[": return F$2("punctuator", u());
820
+ }
821
+ t = "value";
822
+ },
823
+ beforePropertyName() {
824
+ switch (A$1) {
825
+ case "$":
826
+ case "_":
827
+ e = u(), t = "identifierName";
828
+ return;
829
+ case "\\":
830
+ u(), t = "identifierNameStartEscape";
831
+ return;
832
+ case "}": return F$2("punctuator", u());
833
+ case "\"":
834
+ case "'":
835
+ x$3 = u() === "\"", t = "string";
836
+ return;
837
+ }
838
+ if (C$4.isIdStartChar(A$1)) {
839
+ e += u(), t = "identifierName";
840
+ return;
841
+ }
842
+ throw B$1(u());
843
+ },
844
+ afterPropertyName() {
845
+ if (A$1 === ":") return F$2("punctuator", u());
846
+ throw B$1(u());
847
+ },
848
+ beforePropertyValue() {
849
+ t = "value";
850
+ },
851
+ afterPropertyValue() {
852
+ switch (A$1) {
853
+ case ",":
854
+ case "}": return F$2("punctuator", u());
855
+ }
856
+ throw B$1(u());
857
+ },
858
+ beforeArrayValue() {
859
+ if (A$1 === "]") return F$2("punctuator", u());
860
+ t = "value";
861
+ },
862
+ afterArrayValue() {
863
+ switch (A$1) {
864
+ case ",":
865
+ case "]": return F$2("punctuator", u());
866
+ }
867
+ throw B$1(u());
868
+ },
869
+ end() {
870
+ throw B$1(u());
871
+ }
872
+ };
873
+ function F$2(D$1, a) {
874
+ return {
875
+ type: D$1,
876
+ value: a,
877
+ line: h$3,
878
+ column: o
879
+ };
880
+ }
881
+ function i(D$1) {
882
+ for (const a of D$1) {
883
+ if (n() !== a) throw B$1(u());
884
+ u();
885
+ }
886
+ }
887
+ function p$1() {
888
+ switch (n()) {
889
+ case "b": return u(), "\b";
890
+ case "f": return u(), "\f";
891
+ case "n": return u(), `
892
+ `;
893
+ case "r": return u(), "\r";
894
+ case "t": return u(), " ";
895
+ case "v": return u(), "\v";
896
+ case "0":
897
+ if (u(), C$4.isDigit(n())) throw B$1(u());
898
+ return "\0";
899
+ case "x": return u(), b$1();
900
+ case "u": return u(), $$3();
901
+ case `
902
+ `:
903
+ case "\u2028":
904
+ case "\u2029": return u(), "";
905
+ case "\r": return u(), n() === `
906
+ ` && u(), "";
907
+ case "1":
908
+ case "2":
909
+ case "3":
910
+ case "4":
911
+ case "5":
912
+ case "6":
913
+ case "7":
914
+ case "8":
915
+ case "9": throw B$1(u());
916
+ case void 0: throw B$1(u());
917
+ }
918
+ return u();
919
+ }
920
+ function b$1() {
921
+ let D$1 = "", a = n();
922
+ if (!C$4.isHexDigit(a) || (D$1 += u(), a = n(), !C$4.isHexDigit(a))) throw B$1(u());
923
+ return D$1 += u(), String.fromCodePoint(parseInt(D$1, 16));
924
+ }
925
+ function $$3() {
926
+ let D$1 = "", a = 4;
927
+ for (; a-- > 0;) {
928
+ const g$1 = n();
929
+ if (!C$4.isHexDigit(g$1)) throw B$1(u());
930
+ D$1 += u();
931
+ }
932
+ return String.fromCodePoint(parseInt(D$1, 16));
933
+ }
934
+ const Q$3 = {
935
+ start() {
936
+ if (f.type === "eof") throw N$4();
937
+ V$2();
938
+ },
939
+ beforePropertyName() {
940
+ switch (f.type) {
941
+ case "identifier":
942
+ case "string":
943
+ S$3 = f.value, s$1 = "afterPropertyName";
944
+ return;
945
+ case "punctuator":
946
+ j$2();
947
+ return;
948
+ case "eof": throw N$4();
949
+ }
950
+ },
951
+ afterPropertyName() {
952
+ if (f.type === "eof") throw N$4();
953
+ s$1 = "beforePropertyValue";
954
+ },
955
+ beforePropertyValue() {
956
+ if (f.type === "eof") throw N$4();
957
+ V$2();
958
+ },
959
+ beforeArrayValue() {
960
+ if (f.type === "eof") throw N$4();
961
+ if (f.type === "punctuator" && f.value === "]") {
962
+ j$2();
963
+ return;
964
+ }
965
+ V$2();
966
+ },
967
+ afterPropertyValue() {
968
+ if (f.type === "eof") throw N$4();
969
+ switch (f.value) {
970
+ case ",":
971
+ s$1 = "beforePropertyName";
972
+ return;
973
+ case "}": j$2();
974
+ }
975
+ },
976
+ afterArrayValue() {
977
+ if (f.type === "eof") throw N$4();
978
+ switch (f.value) {
979
+ case ",":
980
+ s$1 = "beforeArrayValue";
981
+ return;
982
+ case "]": j$2();
983
+ }
984
+ },
985
+ end() {}
986
+ };
987
+ function V$2() {
988
+ let D$1;
989
+ switch (f.type) {
990
+ case "punctuator":
991
+ switch (f.value) {
992
+ case "{":
993
+ D$1 = {};
994
+ break;
995
+ case "[":
996
+ D$1 = [];
997
+ break;
998
+ }
999
+ break;
1000
+ case "null":
1001
+ case "boolean":
1002
+ case "numeric":
1003
+ case "string":
1004
+ D$1 = f.value;
1005
+ break;
1006
+ }
1007
+ if (m$1 === void 0) m$1 = D$1;
1008
+ else {
1009
+ const a = c$1[c$1.length - 1];
1010
+ Array.isArray(a) ? a.push(D$1) : Object.defineProperty(a, S$3, {
1011
+ value: D$1,
1012
+ writable: !0,
1013
+ enumerable: !0,
1014
+ configurable: !0
1015
+ });
1016
+ }
1017
+ if (D$1 !== null && typeof D$1 == "object") c$1.push(D$1), Array.isArray(D$1) ? s$1 = "beforeArrayValue" : s$1 = "beforePropertyName";
1018
+ else {
1019
+ const a = c$1[c$1.length - 1];
1020
+ a == null ? s$1 = "end" : Array.isArray(a) ? s$1 = "afterArrayValue" : s$1 = "afterPropertyValue";
1021
+ }
1022
+ }
1023
+ function j$2() {
1024
+ c$1.pop();
1025
+ const D$1 = c$1[c$1.length - 1];
1026
+ D$1 == null ? s$1 = "end" : Array.isArray(D$1) ? s$1 = "afterArrayValue" : s$1 = "afterPropertyValue";
1027
+ }
1028
+ 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}`);
1030
+ }
1031
+ function N$4() {
1032
+ return k$2(`JSON5: invalid end of input at ${h$3}:${o}`);
1033
+ }
1034
+ function L$2() {
1035
+ return o -= 5, k$2(`JSON5: invalid identifier character at ${h$3}:${o}`);
1036
+ }
1037
+ function X$2(D$1) {
1038
+ console.warn(`JSON5: '${z$2(D$1)}' in strings is not valid ECMAScript; consider escaping`);
1039
+ }
1040
+ function z$2(D$1) {
1041
+ const a = {
1042
+ "'": "\\'",
1043
+ "\"": "\\\"",
1044
+ "\\": "\\\\",
1045
+ "\b": "\\b",
1046
+ "\f": "\\f",
1047
+ "\n": "\\n",
1048
+ "\r": "\\r",
1049
+ " ": "\\t",
1050
+ "\v": "\\v",
1051
+ "\0": "\\0",
1052
+ "\u2028": "\\u2028",
1053
+ "\u2029": "\\u2029"
1054
+ };
1055
+ if (a[D$1]) return a[D$1];
1056
+ if (D$1 < " ") {
1057
+ const g$1 = D$1.charCodeAt(0).toString(16);
1058
+ return "\\x" + ("00" + g$1).substring(g$1.length);
1059
+ }
1060
+ return D$1;
1061
+ }
1062
+ function k$2(D$1) {
1063
+ const a = new SyntaxError(D$1);
1064
+ return a.lineNumber = h$3, a.columnNumber = o, a;
1065
+ }
1066
+ return q$1;
1067
+ }
1068
+ const eu = R$2(uu());
1069
+ var J$1, K$2;
1070
+ function tu() {
1071
+ if (K$2) return J$1;
1072
+ 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;
1078
+ else if (Array.isArray(c$1)) {
1079
+ f = [];
1080
+ for (const E$1 of c$1) {
1081
+ let n;
1082
+ 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
+ }
1084
+ }
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 });
1086
+ function t(E$1, n) {
1087
+ 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) {
1089
+ case null: return "null";
1090
+ case !0: return "true";
1091
+ case !1: return "false";
1092
+ }
1093
+ if (typeof u == "string") return e(u);
1094
+ if (typeof u == "number") return String(u);
1095
+ if (typeof u == "object") return Array.isArray(u) ? A$1(u) : x$3(u);
1096
+ }
1097
+ function e(E$1) {
1098
+ const n = {
1099
+ "'": .1,
1100
+ "\"": .2
1101
+ }, u = {
1102
+ "'": "\\'",
1103
+ "\"": "\\\"",
1104
+ "\\": "\\\\",
1105
+ "\b": "\\b",
1106
+ "\f": "\\f",
1107
+ "\n": "\\n",
1108
+ "\r": "\\r",
1109
+ " ": "\\t",
1110
+ "\v": "\\v",
1111
+ "\0": "\\0",
1112
+ "\u2028": "\\u2028",
1113
+ "\u2029": "\\u2029"
1114
+ };
1115
+ let l = "";
1116
+ for (let i = 0; i < E$1.length; i++) {
1117
+ const p$1 = E$1[i];
1118
+ switch (p$1) {
1119
+ case "'":
1120
+ case "\"":
1121
+ n[p$1]++, l += p$1;
1122
+ continue;
1123
+ case "\0": if (C$4.isDigit(E$1[i + 1])) {
1124
+ l += "\\x00";
1125
+ continue;
1126
+ }
1127
+ }
1128
+ if (u[p$1]) {
1129
+ l += u[p$1];
1130
+ continue;
1131
+ }
1132
+ if (p$1 < " ") {
1133
+ let b$1 = p$1.charCodeAt(0).toString(16);
1134
+ l += "\\x" + ("00" + b$1).substring(b$1.length);
1135
+ continue;
1136
+ }
1137
+ l += p$1;
1138
+ }
1139
+ const F$2 = v$3 || Object.keys(n).reduce((i, p$1) => n[i] < n[p$1] ? i : p$1);
1140
+ return l = l.replace(new RegExp(F$2, "g"), u[F$2]), F$2 + l + F$2;
1141
+ }
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);
1145
+ let n = o;
1146
+ o = o + m$1;
1147
+ let u = f || Object.keys(E$1), l = [];
1148
+ for (const i of u) {
1149
+ const p$1 = t(i, E$1);
1150
+ if (p$1 !== void 0) {
1151
+ let b$1 = w$2(i) + ":";
1152
+ m$1 !== "" && (b$1 += " "), b$1 += p$1, l.push(b$1);
1153
+ }
1154
+ }
1155
+ let F$2;
1156
+ if (l.length === 0) F$2 = "{}";
1157
+ else {
1158
+ let i;
1159
+ if (m$1 === "") i = l.join(","), F$2 = "{" + i + "}";
1160
+ else {
1161
+ let p$1 = `,
1162
+ ` + o;
1163
+ i = l.join(p$1), F$2 = `{
1164
+ ` + o + i + `,
1165
+ ` + n + "}";
1166
+ }
1167
+ }
1168
+ return h$3.pop(), o = n, F$2;
1169
+ }
1170
+ function w$2(E$1) {
1171
+ if (E$1.length === 0) return e(E$1);
1172
+ 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);
1175
+ return E$1;
1176
+ }
1177
+ 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);
1180
+ let n = o;
1181
+ o = o + m$1;
1182
+ let u = [];
1183
+ for (let F$2 = 0; F$2 < E$1.length; F$2++) {
1184
+ const i = t(String(F$2), E$1);
1185
+ u.push(i !== void 0 ? i : "null");
1186
+ }
1187
+ let l;
1188
+ if (u.length === 0) l = "[]";
1189
+ else if (m$1 === "") l = "[" + u.join(",") + "]";
1190
+ else {
1191
+ let F$2 = `,
1192
+ ` + o, i = u.join(F$2);
1193
+ l = `[
1194
+ ` + o + i + `,
1195
+ ` + n + "]";
1196
+ }
1197
+ return h$3.pop(), o = n, l;
1198
+ }
1199
+ }, J$1;
1200
+ }
1201
+ 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;
1205
+ }
1206
+
1207
+ //#endregion
1208
+ //#region node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs
1209
+ /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ function oe(e) {
1210
+ return typeof e > "u" || e === null;
1211
+ }
1212
+ function Ge(e) {
1213
+ return typeof e == "object" && e !== null;
1214
+ }
1215
+ function We(e) {
1216
+ return Array.isArray(e) ? e : oe(e) ? [] : [e];
1217
+ }
1218
+ 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];
1221
+ return e;
1222
+ }
1223
+ function Qe(e, n) {
1224
+ var i = "", l;
1225
+ for (l = 0; l < n; l += 1) i += e;
1226
+ return i;
1227
+ }
1228
+ function Ve(e) {
1229
+ return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1230
+ }
1231
+ var y$1 = {
1232
+ isNothing: oe,
1233
+ isObject: Ge,
1234
+ toArray: We,
1235
+ repeat: Qe,
1236
+ isNegativeZero: Ve,
1237
+ extend: $e
1238
+ };
1239
+ function ue(e, n) {
1240
+ var i = "", l = e.reason || "(unknown reason)";
1241
+ return e.mark ? (e.mark.name && (i += "in \"" + e.mark.name + "\" "), i += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !n && e.mark.snippet && (i += `
1242
+
1243
+ ` + e.mark.snippet), l + " " + i) : l;
1244
+ }
1245
+ function M$1(e, n) {
1246
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = ue(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ new Error()).stack || "";
1247
+ }
1248
+ M$1.prototype = Object.create(Error.prototype), M$1.prototype.constructor = M$1, M$1.prototype.toString = function(n) {
1249
+ return this.name + ": " + ue(this, n);
1250
+ };
1251
+ 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;
1254
+ return l - n > f && (u = " ... ", n = l - f + u.length), i - l > f && (o = " ...", i = l + f - o.length), {
1255
+ str: u + e.slice(n, i).replace(/\t/g, "→") + o,
1256
+ pos: l - n + u.length
1257
+ };
1258
+ }
1259
+ function Q$1(e, n) {
1260
+ return y$1.repeat(" ", n - e.length) + e;
1261
+ }
1262
+ function rn(e, n) {
1263
+ if (n = Object.create(n || null), !e.buffer) return null;
1264
+ 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);
1266
+ 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 + `
1269
+ ` + 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 + `
1271
+ `, 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 + `
1273
+ `;
1274
+ return f.replace(/\n$/, "");
1275
+ }
1276
+ var ln = rn, on = [
1277
+ "kind",
1278
+ "multi",
1279
+ "resolve",
1280
+ "construct",
1281
+ "instanceOf",
1282
+ "predicate",
1283
+ "represent",
1284
+ "representName",
1285
+ "defaultStyle",
1286
+ "styleAliases"
1287
+ ], un = [
1288
+ "scalar",
1289
+ "sequence",
1290
+ "mapping"
1291
+ ];
1292
+ function fn(e) {
1293
+ var n = {};
1294
+ return e !== null && Object.keys(e).forEach(function(i) {
1295
+ e[i].forEach(function(l) {
1296
+ n[String(l)] = i;
1297
+ });
1298
+ }), n;
1299
+ }
1300
+ function cn(e, n) {
1301
+ if (n = n || {}, Object.keys(n).forEach(function(i) {
1302
+ if (on.indexOf(i) === -1) throw new w$1("Unknown option \"" + i + "\" is met in definition of \"" + e + "\" YAML type.");
1303
+ }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1304
+ return !0;
1305
+ }, this.construct = n.construct || function(i) {
1306
+ return i;
1307
+ }, 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
+ }
1309
+ var C$2 = cn;
1310
+ function fe(e, n) {
1311
+ var i = [];
1312
+ return e[n].forEach(function(l) {
1313
+ var r$1 = i.length;
1314
+ 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;
1317
+ }), i;
1318
+ }
1319
+ function an() {
1320
+ var e = {
1321
+ scalar: {},
1322
+ sequence: {},
1323
+ mapping: {},
1324
+ fallback: {},
1325
+ multi: {
1326
+ scalar: [],
1327
+ sequence: [],
1328
+ mapping: [],
1329
+ fallback: []
1330
+ }
1331
+ }, 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;
1334
+ }
1335
+ for (n = 0, i = arguments.length; n < i; n += 1) arguments[n].forEach(l);
1336
+ return e;
1337
+ }
1338
+ function V$1(e) {
1339
+ return this.extend(e);
1340
+ }
1341
+ V$1.prototype.extend = function(n) {
1342
+ var i = [], l = [];
1343
+ if (n instanceof C$2) l.push(n);
1344
+ else if (Array.isArray(n)) l = l.concat(n);
1345
+ 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
+ else throw new w$1("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1347
+ 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.");
1349
+ 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
+ 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
+ }), 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.");
1353
+ });
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;
1356
+ };
1357
+ var sn = new V$1({ explicit: [
1358
+ new C$2("tag:yaml.org,2002:str", {
1359
+ kind: "scalar",
1360
+ construct: function(e) {
1361
+ return e !== null ? e : "";
1362
+ }
1363
+ }),
1364
+ new C$2("tag:yaml.org,2002:seq", {
1365
+ kind: "sequence",
1366
+ construct: function(e) {
1367
+ return e !== null ? e : [];
1368
+ }
1369
+ }),
1370
+ new C$2("tag:yaml.org,2002:map", {
1371
+ kind: "mapping",
1372
+ construct: function(e) {
1373
+ return e !== null ? e : {};
1374
+ }
1375
+ })
1376
+ ] });
1377
+ function xn(e) {
1378
+ if (e === null) return !0;
1379
+ var n = e.length;
1380
+ return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1381
+ }
1382
+ function mn() {
1383
+ return null;
1384
+ }
1385
+ function gn(e) {
1386
+ return e === null;
1387
+ }
1388
+ var An = new C$2("tag:yaml.org,2002:null", {
1389
+ kind: "scalar",
1390
+ resolve: xn,
1391
+ construct: mn,
1392
+ predicate: gn,
1393
+ represent: {
1394
+ canonical: function() {
1395
+ return "~";
1396
+ },
1397
+ lowercase: function() {
1398
+ return "null";
1399
+ },
1400
+ uppercase: function() {
1401
+ return "NULL";
1402
+ },
1403
+ camelcase: function() {
1404
+ return "Null";
1405
+ },
1406
+ empty: function() {
1407
+ return "";
1408
+ }
1409
+ },
1410
+ defaultStyle: "lowercase"
1411
+ });
1412
+ function vn(e) {
1413
+ if (e === null) return !1;
1414
+ var n = e.length;
1415
+ return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1416
+ }
1417
+ function yn(e) {
1418
+ return e === "true" || e === "True" || e === "TRUE";
1419
+ }
1420
+ function Cn(e) {
1421
+ return Object.prototype.toString.call(e) === "[object Boolean]";
1422
+ }
1423
+ var _n = new C$2("tag:yaml.org,2002:bool", {
1424
+ kind: "scalar",
1425
+ resolve: vn,
1426
+ construct: yn,
1427
+ predicate: Cn,
1428
+ represent: {
1429
+ lowercase: function(e) {
1430
+ return e ? "true" : "false";
1431
+ },
1432
+ uppercase: function(e) {
1433
+ return e ? "TRUE" : "FALSE";
1434
+ },
1435
+ camelcase: function(e) {
1436
+ return e ? "True" : "False";
1437
+ }
1438
+ },
1439
+ defaultStyle: "lowercase"
1440
+ });
1441
+ function wn(e) {
1442
+ return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1443
+ }
1444
+ function Fn(e) {
1445
+ return 48 <= e && e <= 55;
1446
+ }
1447
+ function bn(e) {
1448
+ return 48 <= e && e <= 57;
1449
+ }
1450
+ function Sn(e) {
1451
+ if (e === null) return !1;
1452
+ var n = e.length, i = 0, l = !1, r$1;
1453
+ if (!n) return !1;
1454
+ if (r$1 = e[i], (r$1 === "-" || r$1 === "+") && (r$1 = e[++i]), r$1 === "0") {
1455
+ 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;
1459
+ l = !0;
1460
+ }
1461
+ return l && r$1 !== "_";
1462
+ }
1463
+ if (r$1 === "x") {
1464
+ for (i++; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1465
+ if (!wn(e.charCodeAt(i))) return !1;
1466
+ l = !0;
1467
+ }
1468
+ return l && r$1 !== "_";
1469
+ }
1470
+ if (r$1 === "o") {
1471
+ for (i++; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1472
+ if (!Fn(e.charCodeAt(i))) return !1;
1473
+ l = !0;
1474
+ }
1475
+ return l && r$1 !== "_";
1476
+ }
1477
+ }
1478
+ if (r$1 === "_") return !1;
1479
+ for (; i < n; i++) if (r$1 = e[i], r$1 !== "_") {
1480
+ if (!bn(e.charCodeAt(i))) return !1;
1481
+ l = !0;
1482
+ }
1483
+ return !(!l || r$1 === "_");
1484
+ }
1485
+ function En(e) {
1486
+ var n = e, i = 1, l;
1487
+ if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), l = n[0], (l === "-" || l === "+") && (l === "-" && (i = -1), n = n.slice(1), l = n[0]), n === "0") return 0;
1488
+ if (l === "0") {
1489
+ if (n[1] === "b") return i * parseInt(n.slice(2), 2);
1490
+ if (n[1] === "x") return i * parseInt(n.slice(2), 16);
1491
+ if (n[1] === "o") return i * parseInt(n.slice(2), 8);
1492
+ }
1493
+ return i * parseInt(n, 10);
1494
+ }
1495
+ function Tn(e) {
1496
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !y$1.isNegativeZero(e);
1497
+ }
1498
+ var On = new C$2("tag:yaml.org,2002:int", {
1499
+ kind: "scalar",
1500
+ resolve: Sn,
1501
+ construct: En,
1502
+ predicate: Tn,
1503
+ represent: {
1504
+ binary: function(e) {
1505
+ return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
1506
+ },
1507
+ octal: function(e) {
1508
+ return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
1509
+ },
1510
+ decimal: function(e) {
1511
+ return e.toString(10);
1512
+ },
1513
+ hexadecimal: function(e) {
1514
+ return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
1515
+ }
1516
+ },
1517
+ defaultStyle: "decimal",
1518
+ styleAliases: {
1519
+ binary: [2, "bin"],
1520
+ octal: [8, "oct"],
1521
+ decimal: [10, "dec"],
1522
+ hexadecimal: [16, "hex"]
1523
+ }
1524
+ }), In = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
1525
+ function kn(e) {
1526
+ return !(e === null || !In.test(e) || e[e.length - 1] === "_");
1527
+ }
1528
+ function Ln(e) {
1529
+ var n, i;
1530
+ return n = e.replace(/_/g, "").toLowerCase(), i = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? i === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : i * parseFloat(n, 10);
1531
+ }
1532
+ var Nn = /^[-+]?[0-9]+e/;
1533
+ function Rn(e, n) {
1534
+ var i;
1535
+ if (isNaN(e)) switch (n) {
1536
+ case "lowercase": return ".nan";
1537
+ case "uppercase": return ".NAN";
1538
+ case "camelcase": return ".NaN";
1539
+ }
1540
+ else if (Number.POSITIVE_INFINITY === e) switch (n) {
1541
+ case "lowercase": return ".inf";
1542
+ case "uppercase": return ".INF";
1543
+ case "camelcase": return ".Inf";
1544
+ }
1545
+ else if (Number.NEGATIVE_INFINITY === e) switch (n) {
1546
+ case "lowercase": return "-.inf";
1547
+ case "uppercase": return "-.INF";
1548
+ case "camelcase": return "-.Inf";
1549
+ }
1550
+ else if (y$1.isNegativeZero(e)) return "-0.0";
1551
+ return i = e.toString(10), Nn.test(i) ? i.replace("e", ".e") : i;
1552
+ }
1553
+ function Dn(e) {
1554
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || y$1.isNegativeZero(e));
1555
+ }
1556
+ var Mn = new C$2("tag:yaml.org,2002:float", {
1557
+ kind: "scalar",
1558
+ resolve: kn,
1559
+ construct: Ln,
1560
+ predicate: Dn,
1561
+ represent: Rn,
1562
+ defaultStyle: "lowercase"
1563
+ }), Bn = sn.extend({ implicit: [
1564
+ An,
1565
+ _n,
1566
+ On,
1567
+ Mn
1568
+ ] }), ce = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), ae = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
1569
+ function Pn(e) {
1570
+ return e === null ? !1 : ce.exec(e) !== null || ae.exec(e) !== null;
1571
+ }
1572
+ function jn(e) {
1573
+ var n, i, l, r$1, u, o, f, c$1 = 0, a = null, t, p$1, d$1;
1574
+ 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));
1576
+ if (u = +n[4], o = +n[5], f = +n[6], n[7]) {
1577
+ for (c$1 = n[7].slice(0, 3); c$1.length < 3;) c$1 += "0";
1578
+ c$1 = +c$1;
1579
+ }
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;
1581
+ }
1582
+ function Hn(e) {
1583
+ return e.toISOString();
1584
+ }
1585
+ var Un = new C$2("tag:yaml.org,2002:timestamp", {
1586
+ kind: "scalar",
1587
+ resolve: Pn,
1588
+ construct: jn,
1589
+ instanceOf: Date,
1590
+ represent: Hn
1591
+ });
1592
+ function Kn(e) {
1593
+ return e === "<<" || e === null;
1594
+ }
1595
+ var qn = new C$2("tag:yaml.org,2002:merge", {
1596
+ kind: "scalar",
1597
+ resolve: Kn
1598
+ }), X$1 = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1599
+ \r`;
1600
+ function Gn(e) {
1601
+ 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)) {
1604
+ if (n < 0) return !1;
1605
+ l += 6;
1606
+ }
1607
+ return l % 8 === 0;
1608
+ }
1609
+ 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);
1613
+ }
1614
+ function $n(e) {
1615
+ var n = "", i = 0, l, r$1, u = e.length, o = X$1;
1616
+ 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;
1618
+ }
1619
+ function Qn(e) {
1620
+ return Object.prototype.toString.call(e) === "[object Uint8Array]";
1621
+ }
1622
+ var Vn = new C$2("tag:yaml.org,2002:binary", {
1623
+ kind: "scalar",
1624
+ resolve: Gn,
1625
+ construct: Wn,
1626
+ predicate: Qn,
1627
+ represent: $n
1628
+ }), Xn = Object.prototype.hasOwnProperty, Zn = Object.prototype.toString;
1629
+ function zn(e) {
1630
+ if (e === null) return !0;
1631
+ var n = [], i, l, r$1, u, o, f = e;
1632
+ 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;
1635
+ else return !1;
1636
+ if (!o) return !1;
1637
+ if (n.indexOf(u) === -1) n.push(u);
1638
+ else return !1;
1639
+ }
1640
+ return !0;
1641
+ }
1642
+ function Jn(e) {
1643
+ return e !== null ? e : [];
1644
+ }
1645
+ var ei = new C$2("tag:yaml.org,2002:omap", {
1646
+ kind: "sequence",
1647
+ resolve: zn,
1648
+ construct: Jn
1649
+ }), ni = Object.prototype.toString;
1650
+ function ii(e) {
1651
+ if (e === null) return !0;
1652
+ var n, i, l, r$1, u, o = e;
1653
+ 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]]];
1656
+ }
1657
+ return !0;
1658
+ }
1659
+ function ri(e) {
1660
+ 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]]];
1663
+ return u;
1664
+ }
1665
+ var li = new C$2("tag:yaml.org,2002:pairs", {
1666
+ kind: "sequence",
1667
+ resolve: ii,
1668
+ construct: ri
1669
+ }), oi = Object.prototype.hasOwnProperty;
1670
+ function ui(e) {
1671
+ if (e === null) return !0;
1672
+ var n, i = e;
1673
+ for (n in i) if (oi.call(i, n) && i[n] !== null) return !1;
1674
+ return !0;
1675
+ }
1676
+ function fi(e) {
1677
+ return e !== null ? e : {};
1678
+ }
1679
+ var ci = new C$2("tag:yaml.org,2002:set", {
1680
+ kind: "mapping",
1681
+ resolve: ui,
1682
+ construct: fi
1683
+ }), pe = Bn.extend({
1684
+ implicit: [Un, qn],
1685
+ explicit: [
1686
+ Vn,
1687
+ ei,
1688
+ li,
1689
+ ci
1690
+ ]
1691
+ }), T = Object.prototype.hasOwnProperty, H = 1, te = 2, he = 3, U$1 = 4, Z$1 = 1, ai = 2, de = 3, pi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ti = /[\x85\u2028\u2029]/, hi = /[,\[\]\{\}]/, se = /^(?:!|!!|![a-z\-]+!)$/i, xe = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1692
+ function me(e) {
1693
+ return Object.prototype.toString.call(e);
1694
+ }
1695
+ function S$1(e) {
1696
+ return e === 10 || e === 13;
1697
+ }
1698
+ function I$1(e) {
1699
+ return e === 9 || e === 32;
1700
+ }
1701
+ function F$1(e) {
1702
+ return e === 9 || e === 32 || e === 10 || e === 13;
1703
+ }
1704
+ function k(e) {
1705
+ return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1706
+ }
1707
+ function di(e) {
1708
+ var n;
1709
+ return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1710
+ }
1711
+ function si(e) {
1712
+ return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1713
+ }
1714
+ function xi(e) {
1715
+ return 48 <= e && e <= 57 ? e - 48 : -1;
1716
+ }
1717
+ function ge(e) {
1718
+ return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1719
+ ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? "\"" : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? "\xA0" : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1720
+ }
1721
+ function mi(e) {
1722
+ return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
1723
+ }
1724
+ for (var Ae = new Array(256), ve = new Array(256), L = 0; L < 256; L++) Ae[L] = ge(L) ? 1 : 0, ve[L] = ge(L);
1725
+ function gi(e, n) {
1726
+ this.input = e, this.filename = n.filename || null, this.schema = n.schema || pe, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1727
+ }
1728
+ function ye(e, n) {
1729
+ var i = {
1730
+ name: e.filename,
1731
+ buffer: e.input.slice(0, -1),
1732
+ position: e.position,
1733
+ line: e.line,
1734
+ column: e.position - e.lineStart
1735
+ };
1736
+ return i.snippet = ln(i), new w$1(n, i);
1737
+ }
1738
+ function h$1(e, n) {
1739
+ throw ye(e, n);
1740
+ }
1741
+ function K$1(e, n) {
1742
+ e.onWarning && e.onWarning.call(null, ye(e, n));
1743
+ }
1744
+ var Ce = {
1745
+ 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");
1748
+ },
1749
+ 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");
1752
+ try {
1753
+ u = decodeURIComponent(u);
1754
+ } catch {
1755
+ h$1(n, "tag prefix is malformed: " + u);
1756
+ }
1757
+ n.tagMap[r$1] = u;
1758
+ }
1759
+ };
1760
+ function O(e, n, i, l) {
1761
+ var r$1, u, o, f;
1762
+ 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");
1765
+ e.result += f;
1766
+ }
1767
+ }
1768
+ 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);
1771
+ }
1772
+ function N$1(e, n, i, l, r$1, u, o, f, c$1) {
1773
+ 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);
1776
+ 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, {
1778
+ configurable: !0,
1779
+ enumerable: !0,
1780
+ writable: !0,
1781
+ value: u
1782
+ }) : n[r$1] = u, delete i[r$1];
1783
+ return n;
1784
+ }
1785
+ function z$1(e) {
1786
+ 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;
1788
+ }
1789
+ 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);
1796
+ else break;
1797
+ }
1798
+ return i !== -1 && l !== 0 && e.lineIndent < i && K$1(e, "deficient indentation"), l;
1799
+ }
1800
+ function q(e) {
1801
+ var n = e.position, i;
1802
+ return i = e.input.charCodeAt(n), !!((i === 45 || i === 46) && i === e.input.charCodeAt(n + 1) && i === e.input.charCodeAt(n + 2) && (n += 3, i = e.input.charCodeAt(n), i === 0 || F$1(i)));
1803
+ }
1804
+ function J(e, n) {
1805
+ n === 1 ? e.result += " " : n > 1 && (e.result += y$1.repeat(`
1806
+ `, n - 1));
1807
+ }
1808
+ 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;
1811
+ for (e.kind = "scalar", e.result = "", u = o = e.position, f = !1; s$1 !== 0;) {
1812
+ if (s$1 === 58) {
1813
+ if (r$1 = e.input.charCodeAt(e.position + 1), F$1(r$1) || i && k(r$1)) break;
1814
+ } else if (s$1 === 35) {
1815
+ if (l = e.input.charCodeAt(e.position - 1), F$1(l)) break;
1816
+ } else {
1817
+ if (e.position === e.lineStart && q(e) || i && k(s$1)) break;
1818
+ if (S$1(s$1)) if (c$1 = e.line, a = e.lineStart, t = e.lineIndent, v$1(e, !1, -1), e.lineIndent >= n) {
1819
+ f = !0, s$1 = e.input.charCodeAt(e.position);
1820
+ continue;
1821
+ } else {
1822
+ e.position = o, e.line = c$1, e.lineStart = a, e.lineIndent = t;
1823
+ break;
1824
+ }
1825
+ }
1826
+ 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
+ }
1828
+ return O(e, u, o, !1), e.result ? !0 : (e.kind = p$1, e.result = d$1, !1);
1829
+ }
1830
+ function vi(e, n) {
1831
+ var i, l, r$1;
1832
+ 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;
1834
+ 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");
1837
+ }
1838
+ function yi(e, n) {
1839
+ var i, l, r$1, u, o, f;
1840
+ if (f = e.input.charCodeAt(e.position), f !== 34) return !1;
1841
+ for (e.kind = "scalar", e.result = "", e.position++, i = l = e.position; (f = e.input.charCodeAt(e.position)) !== 0;) {
1842
+ if (f === 34) return O(e, i, e.position, !0), e.position++, !0;
1843
+ if (f === 92) {
1844
+ if (O(e, i, e.position, !0), f = e.input.charCodeAt(++e.position), S$1(f)) v$1(e, !1, n);
1845
+ else if (f < 256 && Ae[f]) e.result += ve[f], e.position++;
1846
+ 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");
1848
+ e.result += mi(u), e.position++;
1849
+ } else h$1(e, "unknown escape sequence");
1850
+ 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);
1852
+ }
1853
+ h$1(e, "unexpected end of the stream within a double quoted scalar");
1854
+ }
1855
+ 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 = {};
1859
+ 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;
1863
+ }
1864
+ h$1(e, "unexpected end of the stream within a flow collection");
1865
+ }
1866
+ 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;
1868
+ if (p$1 = e.input.charCodeAt(e.position), p$1 === 124) l = !1;
1869
+ else if (p$1 === 62) l = !0;
1870
+ 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);
1873
+ else break;
1874
+ if (I$1(p$1)) {
1875
+ do
1876
+ p$1 = e.input.charCodeAt(++e.position);
1877
+ while (I$1(p$1));
1878
+ if (p$1 === 35) do
1879
+ p$1 = e.input.charCodeAt(++e.position);
1880
+ while (!S$1(p$1) && p$1 !== 0);
1881
+ }
1882
+ for (; p$1 !== 0;) {
1883
+ for (z$1(e), e.lineIndent = 0, p$1 = e.input.charCodeAt(e.position); (!o || e.lineIndent < f) && p$1 === 32;) e.lineIndent++, p$1 = e.input.charCodeAt(++e.position);
1884
+ if (!o && e.lineIndent > f && (f = e.lineIndent), S$1(p$1)) {
1885
+ c$1++;
1886
+ continue;
1887
+ }
1888
+ 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 += `
1891
+ `);
1892
+ break;
1893
+ }
1894
+ for (l ? I$1(p$1) ? (a = !0, e.result += y$1.repeat(`
1895
+ `, u ? 1 + c$1 : c$1)) : a ? (a = !1, e.result += y$1.repeat(`
1896
+ `, c$1 + 1)) : c$1 === 0 ? u && (e.result += " ") : e.result += y$1.repeat(`
1897
+ `, c$1) : e.result += y$1.repeat(`
1898
+ `, u ? 1 + c$1 : c$1), u = !0, o = !0, c$1 = 0, i = e.position; !S$1(p$1) && p$1 !== 0;) p$1 = e.input.charCodeAt(++e.position);
1899
+ O(e, i, e.position, !1);
1900
+ }
1901
+ return !0;
1902
+ }
1903
+ function we(e, n) {
1904
+ var i, l = e.tag, r$1 = e.anchor, u = [], o, f = !1, c$1;
1905
+ 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))));) {
1907
+ if (f = !0, e.position++, v$1(e, !0, -1) && e.lineIndent <= n) {
1908
+ u.push(null), c$1 = e.input.charCodeAt(e.position);
1909
+ continue;
1910
+ }
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");
1912
+ else if (e.lineIndent < n) break;
1913
+ }
1914
+ return f ? (e.tag = l, e.anchor = r$1, e.kind = "sequence", e.result = u, !0) : !1;
1915
+ }
1916
+ 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;
1918
+ 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;
1921
+ else {
1922
+ if (o = e.line, f = e.lineStart, c$1 = e.position, !R$1(e, i, te, !1, !0)) break;
1923
+ 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");
1927
+ 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");
1929
+ else return e.tag = a, e.anchor = t, !0;
1930
+ }
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");
1932
+ else if (e.lineIndent < n) break;
1933
+ }
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;
1935
+ }
1936
+ function Fi(e) {
1937
+ var n, i = !1, l = !1, r$1, u, o;
1938
+ 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) {
1940
+ do
1941
+ o = e.input.charCodeAt(++e.position);
1942
+ 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");
1944
+ } 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");
1947
+ }
1948
+ u && !xe.test(u) && h$1(e, "tag name cannot contain such characters: " + u);
1949
+ try {
1950
+ u = decodeURIComponent(u);
1951
+ } catch {
1952
+ h$1(e, "tag name is malformed: " + u);
1953
+ }
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;
1955
+ }
1956
+ function bi(e) {
1957
+ var n, i;
1958
+ 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;
1961
+ }
1962
+ function Si(e) {
1963
+ var n, i, l;
1964
+ if (l = e.input.charCodeAt(e.position), l !== 42) return !1;
1965
+ 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;
1967
+ }
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;
1970
+ 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);
1972
+ 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);
1975
+ break;
1976
+ }
1977
+ } 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];
1981
+ break;
1982
+ }
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");
1984
+ }
1985
+ return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || t;
1986
+ }
1987
+ function Ei(e) {
1988
+ var n = e.position, i, l, r$1, u = !1, o;
1989
+ 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
+ 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;) {
1992
+ for (; I$1(o);) o = e.input.charCodeAt(++e.position);
1993
+ if (o === 35) {
1994
+ do
1995
+ o = e.input.charCodeAt(++e.position);
1996
+ while (o !== 0 && !S$1(o));
1997
+ break;
1998
+ }
1999
+ if (S$1(o)) break;
2000
+ 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));
2002
+ }
2003
+ o !== 0 && z$1(e), T.call(Ce, l) ? Ce[l](e, l, r$1) : K$1(e, "unknown document directive \"" + l + "\"");
2004
+ }
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)) {
2006
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, v$1(e, !0, -1));
2007
+ return;
2008
+ }
2009
+ if (e.position < e.length - 1) h$1(e, "end of the stream or a document separator is expected");
2010
+ else return;
2011
+ }
2012
+ function Ti(e, n) {
2013
+ e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2014
+ `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2015
+ 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;
2017
+ for (; i.position < i.length - 1;) Ei(i);
2018
+ return i.documents;
2019
+ }
2020
+ function Oi(e, n) {
2021
+ var i = Ti(e, n);
2022
+ if (i.length !== 0) {
2023
+ if (i.length === 1) return i[0];
2024
+ throw new w$1("expected a single document in the stream, but found more");
2025
+ }
2026
+ }
2027
+ var ki = { load: Oi }, Fe = Object.prototype.toString, be = Object.prototype.hasOwnProperty, ee = 65279, Li = 9, Y = 10, Ni = 13, Ri = 32, Di = 33, Mi = 34, ne = 35, Yi = 37, Bi = 38, Pi = 39, ji = 42, Se = 44, Hi = 45, G$1 = 58, Ui = 61, Ki = 62, qi = 63, Gi = 64, Ee = 91, Te = 93, Wi = 96, Oe = 123, $i = 124, Ie = 125, _ = {};
2028
+ _[0] = "\\0", _[7] = "\\a", _[8] = "\\b", _[9] = "\\t", _[10] = "\\n", _[11] = "\\v", _[12] = "\\f", _[13] = "\\r", _[27] = "\\e", _[34] = "\\\"", _[92] = "\\\\", _[133] = "\\N", _[160] = "\\_", _[8232] = "\\L", _[8233] = "\\P";
2029
+ var Qi = [
2030
+ "y",
2031
+ "Y",
2032
+ "yes",
2033
+ "Yes",
2034
+ "YES",
2035
+ "on",
2036
+ "On",
2037
+ "ON",
2038
+ "n",
2039
+ "N",
2040
+ "no",
2041
+ "No",
2042
+ "NO",
2043
+ "off",
2044
+ "Off",
2045
+ "OFF"
2046
+ ], Vi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2047
+ function Xi(e, n) {
2048
+ var i, l, r$1, u, o, f, c$1;
2049
+ 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;
2051
+ return i;
2052
+ }
2053
+ function Zi(e) {
2054
+ var n, i, l;
2055
+ if (n = e.toString(16).toUpperCase(), e <= 255) i = "x", l = 2;
2056
+ else if (e <= 65535) i = "u", l = 4;
2057
+ else if (e <= 4294967295) i = "U", l = 8;
2058
+ else throw new w$1("code point within a string may not be greater than 0xFFFFFFFF");
2059
+ return "\\" + i + y$1.repeat("0", l - n.length) + n;
2060
+ }
2061
+ var zi = 1, B = 2;
2062
+ function Ji(e) {
2063
+ 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
+ }
2065
+ 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 !== `
2068
+ ` && (u += i), u += o;
2069
+ return u;
2070
+ }
2071
+ function ie(e, n) {
2072
+ return `
2073
+ ` + y$1.repeat(" ", e.indent * n);
2074
+ }
2075
+ 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;
2078
+ return !1;
2079
+ }
2080
+ function W(e) {
2081
+ return e === Ri || e === Li;
2082
+ }
2083
+ function P(e) {
2084
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ee || 65536 <= e && e <= 1114111;
2085
+ }
2086
+ function Le(e) {
2087
+ return P(e) && e !== ee && e !== Ni && e !== Y;
2088
+ }
2089
+ 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;
2092
+ }
2093
+ function nr(e) {
2094
+ 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;
2095
+ }
2096
+ function ir(e) {
2097
+ return !W(e) && e !== G$1;
2098
+ }
2099
+ function j$1(e, n) {
2100
+ var i = e.charCodeAt(n), l;
2101
+ return i >= 55296 && i <= 56319 && n + 1 < e.length && (l = e.charCodeAt(n + 1), l >= 56320 && l <= 57343) ? (i - 55296) * 1024 + l - 56320 + 65536 : i;
2102
+ }
2103
+ function Re(e) {
2104
+ return /^\n* /.test(e);
2105
+ }
2106
+ 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));
2109
+ if (n || o) for (c$1 = 0; c$1 < e.length; a >= 65536 ? c$1 += 2 : c$1++) {
2110
+ if (a = j$1(e, c$1), !P(a)) return D;
2111
+ g$1 = g$1 && Ne(a, t, f), t = a;
2112
+ }
2113
+ else {
2114
+ 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);
2116
+ else if (!P(a)) return D;
2117
+ g$1 = g$1 && Ne(a, t, f), t = a;
2118
+ }
2119
+ d$1 = d$1 || s$1 && c$1 - x$3 - 1 > l && e[x$3 + 1] !== " ";
2120
+ }
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;
2122
+ }
2123
+ function lr(e, n, i, l, r$1) {
2124
+ e.dump = function() {
2125
+ if (n.length === 0) return e.quotingType === B ? "\"\"" : "''";
2126
+ if (!e.noCompatMode && (Qi.indexOf(n) !== -1 || Vi.test(n))) return e.quotingType === B ? "\"" + n + "\"" : "'" + n + "'";
2127
+ var u = e.indent * Math.max(1, i), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - u), f = l || e.flowLevel > -1 && i >= e.flowLevel;
2128
+ function c$1(a) {
2129
+ return er(e, a);
2130
+ }
2131
+ switch (rr(n, f, e.indent, o, c$1, e.quotingType, e.forceQuotes && !l, r$1)) {
2132
+ case De: return n;
2133
+ case re: return "'" + n.replace(/'/g, "''") + "'";
2134
+ case Me: return "|" + Be(n, e.indent) + Pe(ke(n, u));
2135
+ case Ye: return ">" + Be(n, e.indent) + Pe(ke(or(n, o), u));
2136
+ case D: return "\"" + ur(n) + "\"";
2137
+ default: throw new w$1("impossible error: invalid scalar style");
2138
+ }
2139
+ }();
2140
+ }
2141
+ function Be(e, n) {
2142
+ var i = Re(e) ? String(n) : "", l = e[e.length - 1] === `
2143
+ `;
2144
+ return i + (l && (e[e.length - 2] === `
2145
+ ` || e === `
2146
+ `) ? "+" : l ? "" : "-") + `
2147
+ `;
2148
+ }
2149
+ function Pe(e) {
2150
+ return e[e.length - 1] === `
2151
+ ` ? e.slice(0, -1) : e;
2152
+ }
2153
+ function or(e, n) {
2154
+ for (var i = /(\n+)([^\n]*)/g, l = function() {
2155
+ var a = e.indexOf(`
2156
+ `);
2157
+ return a = a !== -1 ? a : e.length, i.lastIndex = a, je(e.slice(0, a), n);
2158
+ }(), r$1 = e[0] === `
2159
+ ` || e[0] === " ", u, o; o = i.exec(e);) {
2160
+ 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;
2163
+ }
2164
+ return l;
2165
+ }
2166
+ function je(e, n) {
2167
+ 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;
2170
+ 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);
2173
+ }
2174
+ 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);
2176
+ return n;
2177
+ }
2178
+ function fr(e, n, i) {
2179
+ var l = "", r$1 = e.tag, u, o, f;
2180
+ 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 + "]";
2182
+ }
2183
+ 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 || "[]";
2187
+ }
2188
+ function cr(e, n, i) {
2189
+ var l = "", r$1 = e.tag, u = Object.keys(i), o, f, c$1, a, t;
2190
+ 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 + "}";
2192
+ }
2193
+ 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;
2195
+ if (e.sortKeys === !0) o.sort();
2196
+ else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
2197
+ 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 || "{}";
2200
+ }
2201
+ 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))) {
2204
+ if (i ? f.multi && f.representName ? e.tag = f.representName(n) : e.tag = f.tag : e.tag = "?", f.represent) {
2205
+ if (c$1 = e.styleMap[f.tag] || f.defaultStyle, Fe.call(f.represent) === "[object Function]") l = f.represent(n, c$1);
2206
+ else if (be.call(f.represent, c$1)) l = f.represent[c$1](n, c$1);
2207
+ else throw new w$1("!<" + f.tag + "> tag resolver accepts not \"" + c$1 + "\" style");
2208
+ e.dump = l;
2209
+ }
2210
+ return !0;
2211
+ }
2212
+ return !1;
2213
+ }
2214
+ function E(e, n, i, l, r$1, u, o) {
2215
+ e.tag = null, e.dump = i, Ue(e, i, !1) || Ue(e, i, !0);
2216
+ var f = Fe.call(e.dump), c$1 = l, a;
2217
+ 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;
2220
+ 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));
2223
+ else if (f === "[object String]") e.tag !== "?" && lr(e, e.dump, n, u, c$1);
2224
+ else {
2225
+ if (f === "[object Undefined]") return !1;
2226
+ if (e.skipInvalid) return !1;
2227
+ throw new w$1("unacceptable kind of an object to dump " + f);
2228
+ }
2229
+ e.tag !== null && e.tag !== "?" && (a = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), e.tag[0] === "!" ? a = "!" + a : a.slice(0, 18) === "tag:yaml.org,2002:" ? a = "!!" + a.slice(18) : a = "!<" + a + ">", e.dump = a + " " + e.dump);
2230
+ }
2231
+ return !0;
2232
+ }
2233
+ 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]]);
2236
+ n.usedDuplicates = new Array(u);
2237
+ }
2238
+ 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);
2243
+ }
2244
+ function tr(e, n) {
2245
+ n = n || {};
2246
+ var i = new Ji(n);
2247
+ i.noRefs || pr(e, i);
2248
+ var l = e;
2249
+ return i.replacer && (l = i.replacer.call({ "": l }, "", l)), E(i, 0, l, !0, !0) ? i.dump + `
2250
+ ` : "";
2251
+ }
2252
+ var dr = { dump: tr }, sr = ki.load, xr = dr.dump;
2253
+ function mr(e, n) {
2254
+ const i = sr(e, n);
2255
+ return N(e, i, n), i;
2256
+ }
2257
+ function gr(e, n) {
2258
+ const i = C(e, {}), r$1 = xr(e, {
2259
+ indent: typeof i.indent == "string" ? i.indent.length : i.indent,
2260
+ ...n
2261
+ });
2262
+ return i.whitespace.start + r$1.trim() + i.whitespace.end;
2263
+ }
2264
+
2265
+ //#endregion
2266
+ //#region node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs
2267
+ /*!
2268
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2269
+ * SPDX-License-Identifier: BSD-3-Clause
2270
+ *
2271
+ * Redistribution and use in source and binary forms, with or without
2272
+ * modification, are permitted provided that the following conditions are met:
2273
+ *
2274
+ * 1. Redistributions of source code must retain the above copyright notice, this
2275
+ * list of conditions and the following disclaimer.
2276
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2277
+ * this list of conditions and the following disclaimer in the
2278
+ * documentation and/or other materials provided with the distribution.
2279
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2280
+ * may be used to endorse or promote products derived from this software without
2281
+ * specific prior written permission.
2282
+ *
2283
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2284
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2285
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2286
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2287
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2288
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2289
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2290
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2291
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2292
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2293
+ */ function v(e, n) {
2294
+ let t = e.slice(0, n).split(/\r\n|\n|\r/g);
2295
+ return [t.length, t.pop().length + 1];
2296
+ }
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;
2299
+ for (let o = n - 1; o <= n + 1; o++) {
2300
+ 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 += `^
2303
+ `));
2304
+ }
2305
+ return r$1;
2306
+ }
2307
+ var c = class extends Error {
2308
+ line;
2309
+ column;
2310
+ codeblock;
2311
+ constructor(n, t) {
2312
+ const [l, r$1] = v(t.toml, t.ptr), i = C$1(t.toml, l, r$1);
2313
+ super(`Invalid TOML document: ${n}
2314
+
2315
+ ${i}`, t), this.line = l, this.column = r$1, this.codeblock = i;
2316
+ }
2317
+ };
2318
+ /*!
2319
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2320
+ * SPDX-License-Identifier: BSD-3-Clause
2321
+ *
2322
+ * Redistribution and use in source and binary forms, with or without
2323
+ * modification, are permitted provided that the following conditions are met:
2324
+ *
2325
+ * 1. Redistributions of source code must retain the above copyright notice, this
2326
+ * list of conditions and the following disclaimer.
2327
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2328
+ * this list of conditions and the following disclaimer in the
2329
+ * documentation and/or other materials provided with the distribution.
2330
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2331
+ * may be used to endorse or promote products derived from this software without
2332
+ * specific prior written permission.
2333
+ *
2334
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2335
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2336
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2337
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2338
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2339
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2340
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2341
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2342
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2343
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2344
+ */ function g(e, n = 0, t = e.length) {
2345
+ let l = e.indexOf(`
2346
+ `, n);
2347
+ return e[l - 1] === "\r" && l--, l <= t ? l : -1;
2348
+ }
2349
+ function y(e, n) {
2350
+ for (let t = n; t < e.length; t++) {
2351
+ let l = e[t];
2352
+ if (l === `
2353
+ `) return t;
2354
+ if (l === "\r" && e[t + 1] === `
2355
+ `) return t + 1;
2356
+ if (l < " " && l !== " " || l === "") throw new c("control characters are not allowed in comments", {
2357
+ toml: e,
2358
+ ptr: n
2359
+ });
2360
+ }
2361
+ return e.length;
2362
+ }
2363
+ 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] === `
2367
+ `);) n++;
2368
+ return l || r$1 !== "#" ? n : s(e, y(e, n), t);
2369
+ }
2370
+ function A(e, n, t, l, r$1 = !1) {
2371
+ if (!l) return n = g(e, n), n < 0 ? e.length : n;
2372
+ for (let i = n; i < e.length; i++) {
2373
+ let o = e[i];
2374
+ if (o === "#") i = g(e, i);
2375
+ else {
2376
+ if (o === t) return i + 1;
2377
+ if (o === l) return i;
2378
+ if (r$1 && (o === `
2379
+ ` || o === "\r" && e[i + 1] === `
2380
+ `)) return i;
2381
+ }
2382
+ }
2383
+ throw new c("cannot find end of structure", {
2384
+ toml: e,
2385
+ ptr: n
2386
+ });
2387
+ }
2388
+ function S(e, n) {
2389
+ let t = e[n], l = t === e[n + 1] && e[n + 1] === e[n + 2] ? e.slice(n, n + 3) : t;
2390
+ n += l.length - 1;
2391
+ do
2392
+ n = e.indexOf(l, ++n);
2393
+ while (n > -1 && t !== "'" && e[n - 1] === "\\" && e[n - 2] !== "\\");
2394
+ return n > -1 && (n += l.length, l.length > 1 && (e[n] === t && n++, e[n] === t && n++)), n;
2395
+ }
2396
+ /*!
2397
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2398
+ * SPDX-License-Identifier: BSD-3-Clause
2399
+ *
2400
+ * Redistribution and use in source and binary forms, with or without
2401
+ * modification, are permitted provided that the following conditions are met:
2402
+ *
2403
+ * 1. Redistributions of source code must retain the above copyright notice, this
2404
+ * list of conditions and the following disclaimer.
2405
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2406
+ * this list of conditions and the following disclaimer in the
2407
+ * documentation and/or other materials provided with the distribution.
2408
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2409
+ * may be used to endorse or promote products derived from this software without
2410
+ * specific prior written permission.
2411
+ *
2412
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2413
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2414
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2415
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2416
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2417
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2418
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2419
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2420
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2421
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2422
+ */ let R = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;
2423
+ var w = class w extends Date {
2424
+ #n = !1;
2425
+ #t = !1;
2426
+ #e = null;
2427
+ constructor(n) {
2428
+ let t = !0, l = !0, r$1 = "Z";
2429
+ if (typeof n == "string") {
2430
+ 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 = "";
2432
+ }
2433
+ super(n), isNaN(this.getTime()) || (this.#n = t, this.#t = l, this.#e = r$1);
2434
+ }
2435
+ isDateTime() {
2436
+ return this.#n && this.#t;
2437
+ }
2438
+ isLocal() {
2439
+ return !this.#n || !this.#t || !this.#e;
2440
+ }
2441
+ isDate() {
2442
+ return this.#n && !this.#t;
2443
+ }
2444
+ isTime() {
2445
+ return this.#t && !this.#n;
2446
+ }
2447
+ isValid() {
2448
+ return this.#n || this.#t;
2449
+ }
2450
+ toISOString() {
2451
+ let n = super.toISOString();
2452
+ if (this.isDate()) return n.slice(0, 10);
2453
+ if (this.isTime()) return n.slice(11, 23);
2454
+ if (this.#e === null) return n.slice(0, -1);
2455
+ if (this.#e === "Z") return n;
2456
+ let t = +this.#e.slice(1, 3) * 60 + +this.#e.slice(4, 6);
2457
+ return t = this.#e[0] === "-" ? t : -t, (/* @__PURE__ */ new Date(this.getTime() - t * 6e4)).toISOString().slice(0, -1) + this.#e;
2458
+ }
2459
+ static wrapAsOffsetDateTime(n, t = "Z") {
2460
+ let l = new w(n);
2461
+ return l.#e = t, l;
2462
+ }
2463
+ static wrapAsLocalDateTime(n) {
2464
+ let t = new w(n);
2465
+ return t.#e = null, t;
2466
+ }
2467
+ static wrapAsLocalDate(n) {
2468
+ let t = new w(n);
2469
+ return t.#t = !1, t.#e = null, t;
2470
+ }
2471
+ static wrapAsLocalTime(n) {
2472
+ let t = new w(n);
2473
+ return t.#n = !1, t.#e = null, t;
2474
+ }
2475
+ };
2476
+ /*!
2477
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2478
+ * SPDX-License-Identifier: BSD-3-Clause
2479
+ *
2480
+ * Redistribution and use in source and binary forms, with or without
2481
+ * modification, are permitted provided that the following conditions are met:
2482
+ *
2483
+ * 1. Redistributions of source code must retain the above copyright notice, this
2484
+ * list of conditions and the following disclaimer.
2485
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2486
+ * this list of conditions and the following disclaimer in the
2487
+ * documentation and/or other materials provided with the distribution.
2488
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2489
+ * may be used to endorse or promote products derived from this software without
2490
+ * specific prior written permission.
2491
+ *
2492
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2493
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2494
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2495
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2496
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2497
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2498
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2499
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2500
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2501
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2502
+ */ let M = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/, Z = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/, j = /^[+-]?0[0-9_]/, z = /^[0-9a-f]{4,8}$/i, I = {
2503
+ b: "\b",
2504
+ t: " ",
2505
+ n: `
2506
+ `,
2507
+ f: "\f",
2508
+ r: "\r",
2509
+ "\"": "\"",
2510
+ "\\": "\\"
2511
+ };
2512
+ 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] === `
2515
+ ` && n++);
2516
+ let i = 0, o, f = "", a = n;
2517
+ for (; n < t - 1;) {
2518
+ let u = e[n++];
2519
+ if (u === `
2520
+ ` || u === "\r" && e[n] === `
2521
+ `) {
2522
+ if (!r$1) throw new c("newlines are not allowed in strings", {
2523
+ toml: e,
2524
+ ptr: n - 1
2525
+ });
2526
+ } else if (u < " " && u !== " " || u === "") throw new c("control characters are not allowed in strings", {
2527
+ toml: e,
2528
+ ptr: n - 1
2529
+ });
2530
+ if (o) {
2531
+ 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", {
2534
+ toml: e,
2535
+ ptr: i
2536
+ });
2537
+ try {
2538
+ f += String.fromCodePoint(parseInt(d$1, 16));
2539
+ } catch {
2540
+ throw new c("invalid unicode escape", {
2541
+ toml: e,
2542
+ ptr: i
2543
+ });
2544
+ }
2545
+ } else if (r$1 && (u === `
2546
+ ` || u === " " || u === " " || u === "\r")) {
2547
+ if (n = s(e, n - 1, !0), e[n] !== `
2548
+ ` && e[n] !== "\r") throw new c("invalid escape: only line-ending whitespace may be escaped", {
2549
+ toml: e,
2550
+ ptr: i
2551
+ });
2552
+ n = s(e, n);
2553
+ } else if (u in I) f += I[u];
2554
+ else throw new c("unrecognized escape sequence", {
2555
+ toml: e,
2556
+ ptr: i
2557
+ });
2558
+ a = n;
2559
+ } else !l && u === "\\" && (i = n - 1, o = !0, f += e.slice(a, i));
2560
+ }
2561
+ return f + e.slice(a, t - 1);
2562
+ }
2563
+ function F(e, n, t) {
2564
+ if (e === "true") return !0;
2565
+ if (e === "false") return !1;
2566
+ if (e === "-inf") return -Infinity;
2567
+ if (e === "inf" || e === "+inf") return Infinity;
2568
+ if (e === "nan" || e === "+nan" || e === "-nan") return NaN;
2569
+ if (e === "-0") return 0;
2570
+ let l;
2571
+ if ((l = M.test(e)) || Z.test(e)) {
2572
+ if (j.test(e)) throw new c("leading zeroes are not allowed", {
2573
+ toml: n,
2574
+ ptr: t
2575
+ });
2576
+ let i = +e.replace(/_/g, "");
2577
+ if (isNaN(i)) throw new c("invalid number", {
2578
+ toml: n,
2579
+ ptr: t
2580
+ });
2581
+ if (l && !Number.isSafeInteger(i)) throw new c("integer value cannot be represented losslessly", {
2582
+ toml: n,
2583
+ ptr: t
2584
+ });
2585
+ return i;
2586
+ }
2587
+ let r$1 = new w(e);
2588
+ if (!r$1.isValid()) throw new c("invalid value", {
2589
+ toml: n,
2590
+ ptr: t
2591
+ });
2592
+ return r$1;
2593
+ }
2594
+ /*!
2595
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2596
+ * SPDX-License-Identifier: BSD-3-Clause
2597
+ *
2598
+ * Redistribution and use in source and binary forms, with or without
2599
+ * modification, are permitted provided that the following conditions are met:
2600
+ *
2601
+ * 1. Redistributions of source code must retain the above copyright notice, this
2602
+ * list of conditions and the following disclaimer.
2603
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2604
+ * this list of conditions and the following disclaimer in the
2605
+ * documentation and/or other materials provided with the distribution.
2606
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2607
+ * may be used to endorse or promote products derived from this software without
2608
+ * specific prior written permission.
2609
+ *
2610
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2611
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2612
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2613
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2614
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2615
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2616
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2617
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2618
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2619
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2620
+ */ 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();
2624
+ if (!l) {
2625
+ let f = r$1.indexOf(`
2626
+ `, o.length);
2627
+ if (f > -1) throw new c("newlines are not allowed in inline tables", {
2628
+ toml: e,
2629
+ ptr: n + f
2630
+ });
2631
+ }
2632
+ return [o, i];
2633
+ }
2634
+ function b(e, n, t, l) {
2635
+ if (l === 0) throw new c("document contains excessively nested structures. aborting.", {
2636
+ toml: e,
2637
+ ptr: n
2638
+ });
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);
2642
+ 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", {
2645
+ toml: e,
2646
+ ptr: d$1
2647
+ });
2648
+ }
2649
+ return [f, u];
2650
+ }
2651
+ let i;
2652
+ if (r$1 === "\"" || r$1 === "'") {
2653
+ i = S(e, n);
2654
+ let f = $(e, n, i);
2655
+ if (t) {
2656
+ if (i = s(e, i, t !== "]"), e[i] && e[i] !== "," && e[i] !== t && e[i] !== `
2657
+ ` && e[i] !== "\r") throw new c("unexpected character encountered", {
2658
+ toml: e,
2659
+ ptr: i
2660
+ });
2661
+ i += +(e[i] === ",");
2662
+ }
2663
+ return [f, i];
2664
+ }
2665
+ i = A(e, n, ",", t);
2666
+ let o = V(e, n, i - +(e[i - 1] === ","), t === "]");
2667
+ if (!o[0]) throw new c("incomplete key-value declaration: no value specified", {
2668
+ toml: e,
2669
+ ptr: n
2670
+ });
2671
+ return t && o[1] > -1 && (i = s(e, n + o[1]), i += +(e[i] === ",")), [F(o[0], e, n), i];
2672
+ }
2673
+ /*!
2674
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2675
+ * SPDX-License-Identifier: BSD-3-Clause
2676
+ *
2677
+ * Redistribution and use in source and binary forms, with or without
2678
+ * modification, are permitted provided that the following conditions are met:
2679
+ *
2680
+ * 1. Redistributions of source code must retain the above copyright notice, this
2681
+ * list of conditions and the following disclaimer.
2682
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2683
+ * this list of conditions and the following disclaimer in the
2684
+ * documentation and/or other materials provided with the distribution.
2685
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2686
+ * may be used to endorse or promote products derived from this software without
2687
+ * specific prior written permission.
2688
+ *
2689
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2690
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2691
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2692
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2693
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2694
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2695
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2696
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2697
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2698
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2699
+ */ let G = /^[a-zA-Z0-9-_]+[ \t]*$/;
2700
+ function x(e, n, t = "=") {
2701
+ let l = n - 1, r$1 = [], i = e.indexOf(t, n);
2702
+ if (i < 0) throw new c("incomplete key-value: cannot find end of key", {
2703
+ toml: e,
2704
+ ptr: n
2705
+ });
2706
+ do {
2707
+ let o = e[n = ++l];
2708
+ if (o !== " " && o !== " ") if (o === "\"" || o === "'") {
2709
+ if (o === e[n + 1] && o === e[n + 2]) throw new c("multiline strings are not allowed in keys", {
2710
+ toml: e,
2711
+ ptr: n
2712
+ });
2713
+ let f = S(e, n);
2714
+ if (f < 0) throw new c("unfinished string encountered", {
2715
+ toml: e,
2716
+ ptr: n
2717
+ });
2718
+ l = e.indexOf(".", f);
2719
+ let a = e.slice(f, l < 0 || l > i ? i : l), u = g(a);
2720
+ if (u > -1) throw new c("newlines are not allowed in keys", {
2721
+ toml: e,
2722
+ ptr: n + l + u
2723
+ });
2724
+ if (a.trimStart()) throw new c("found extra tokens after the string part", {
2725
+ toml: e,
2726
+ ptr: f
2727
+ });
2728
+ if (i < f && (i = e.indexOf(t, f), i < 0)) throw new c("incomplete key-value: cannot find end of key", {
2729
+ toml: e,
2730
+ ptr: n
2731
+ });
2732
+ r$1.push($(e, n, f));
2733
+ } else {
2734
+ l = e.indexOf(".", n);
2735
+ let f = e.slice(n, l < 0 || l > i ? i : l);
2736
+ if (!G.test(f)) throw new c("only letter, numbers, dashes and underscores are allowed in keys", {
2737
+ toml: e,
2738
+ ptr: n
2739
+ });
2740
+ r$1.push(f.trimEnd());
2741
+ }
2742
+ } while (l + 1 && l < i);
2743
+ return [r$1, s(e, i + 1, !0, !0)];
2744
+ }
2745
+ function K(e, n, t) {
2746
+ let l = {}, r$1 = /* @__PURE__ */ new Set(), i, o = 0;
2747
+ for (n++; (i = e[n++]) !== "}" && i;) {
2748
+ if (i === `
2749
+ `) throw new c("newlines are not allowed in inline tables", {
2750
+ toml: e,
2751
+ ptr: n - 1
2752
+ });
2753
+ if (i === "#") throw new c("inline tables cannot contain comments", {
2754
+ toml: e,
2755
+ ptr: n - 1
2756
+ });
2757
+ if (i === ",") throw new c("expected key-value, found comma", {
2758
+ toml: e,
2759
+ ptr: n - 1
2760
+ });
2761
+ 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", {
2765
+ toml: e,
2766
+ ptr: n
2767
+ });
2768
+ !u && f === "__proto__" && Object.defineProperty(a, f, {
2769
+ enumerable: !0,
2770
+ configurable: !0,
2771
+ writable: !0
2772
+ });
2773
+ }
2774
+ if (u) throw new c("trying to redefine an already defined value", {
2775
+ toml: e,
2776
+ ptr: n
2777
+ });
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;
2780
+ }
2781
+ }
2782
+ if (o) throw new c("trailing commas are not allowed in inline tables", {
2783
+ toml: e,
2784
+ ptr: o
2785
+ });
2786
+ if (!i) throw new c("unfinished table encountered", {
2787
+ toml: e,
2788
+ ptr: n
2789
+ });
2790
+ return [l, n];
2791
+ }
2792
+ 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", {
2796
+ toml: e,
2797
+ ptr: n - 1
2798
+ });
2799
+ if (r$1 === "#") n = y(e, n);
2800
+ else if (r$1 !== " " && r$1 !== " " && r$1 !== `
2801
+ ` && r$1 !== "\r") {
2802
+ let i = b(e, n - 1, "]", t - 1);
2803
+ l.push(i[0]), n = i[1];
2804
+ }
2805
+ }
2806
+ if (!r$1) throw new c("unfinished array encountered", {
2807
+ toml: e,
2808
+ ptr: n
2809
+ });
2810
+ return [l, n];
2811
+ }
2812
+ /*!
2813
+ * Copyright (c) Squirrel Chat et al., All rights reserved.
2814
+ * SPDX-License-Identifier: BSD-3-Clause
2815
+ *
2816
+ * Redistribution and use in source and binary forms, with or without
2817
+ * modification, are permitted provided that the following conditions are met:
2818
+ *
2819
+ * 1. Redistributions of source code must retain the above copyright notice, this
2820
+ * list of conditions and the following disclaimer.
2821
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
2822
+ * this list of conditions and the following disclaimer in the
2823
+ * documentation and/or other materials provided with the distribution.
2824
+ * 3. Neither the name of the copyright holder nor the names of its contributors
2825
+ * may be used to endorse or promote products derived from this software without
2826
+ * specific prior written permission.
2827
+ *
2828
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2829
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2830
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2831
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2832
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2833
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2834
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2835
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2836
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2837
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2838
+ */ function p(e, n, t, l) {
2839
+ let r$1 = n, i = t, o, f = !1, a;
2840
+ for (let u = 0; u < e.length; u++) {
2841
+ 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;
2843
+ if (a.t === 2) {
2844
+ let d$1 = r$1.length - 1;
2845
+ r$1 = r$1[d$1], i = i[d$1].c;
2846
+ }
2847
+ }
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, {
2850
+ enumerable: !0,
2851
+ configurable: !0,
2852
+ writable: !0
2853
+ }), Object.defineProperty(i, o, {
2854
+ enumerable: !0,
2855
+ configurable: !0,
2856
+ writable: !0
2857
+ })), i[o] = {
2858
+ t: u < e.length - 1 && l === 2 ? 3 : l,
2859
+ d: !1,
2860
+ i: 0,
2861
+ c: {}
2862
+ });
2863
+ }
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 = {
2865
+ t: 1,
2866
+ d: !1,
2867
+ i: 0,
2868
+ c: {}
2869
+ }), a.d)) return null;
2870
+ if (a.d = !0, l === 1) r$1 = f ? r$1[o] : r$1[o] = {};
2871
+ else if (l === 0 && f) return null;
2872
+ return [
2873
+ o,
2874
+ r$1,
2875
+ a.c
2876
+ ];
2877
+ }
2878
+ function X(e, n) {
2879
+ let t = n?.maxDepth ?? 1e3, l = {}, r$1 = {}, i = l, o = r$1;
2880
+ for (let f = s(e, 0); f < e.length;) {
2881
+ if (e[f] === "[") {
2882
+ let a = e[++f] === "[", u = x(e, f += +a, "]");
2883
+ if (a) {
2884
+ if (e[u[1] - 1] !== "]") throw new c("expected end of table declaration", {
2885
+ toml: e,
2886
+ ptr: u[1] - 1
2887
+ });
2888
+ u[1]++;
2889
+ }
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", {
2892
+ toml: e,
2893
+ ptr: f
2894
+ });
2895
+ o = d$1[2], i = d$1[1], f = u[1];
2896
+ } else {
2897
+ let a = x(e, f), u = p(a[0], i, o, 0);
2898
+ if (!u) throw new c("trying to redefine an already defined table or value", {
2899
+ toml: e,
2900
+ ptr: f
2901
+ });
2902
+ let d$1 = b(e, a[1], void 0, t);
2903
+ u[1][u[0]] = d$1[0], f = d$1[1];
2904
+ }
2905
+ if (f = s(e, f, !0), e[f] && e[f] !== `
2906
+ ` && e[f] !== "\r") throw new c("each key-value declaration must be followed by an end-of-line", {
2907
+ toml: e,
2908
+ ptr: f
2909
+ });
2910
+ f = s(e, f);
2911
+ }
2912
+ return l;
2913
+ }
2914
+ function Q(e) {
2915
+ const n = X(e);
2916
+ return N(e, n, { preserveIndentation: !1 }), n;
2917
+ }
2918
+
2919
+ //#endregion
2920
+ export { h$2 as a, Cu as i, gr as n, x$1 as o, mr as r, Q as t };