token-usage-dashboard 1.0.20 → 1.0.21

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 (86) hide show
  1. package/build/adapter-node.js +1 -1
  2. package/build/client/_app/immutable/chunks/C1sJReAz.js +3 -0
  3. package/build/client/_app/immutable/chunks/C1sJReAz.js.br +0 -0
  4. package/build/client/_app/immutable/chunks/C1sJReAz.js.gz +0 -0
  5. package/build/client/_app/immutable/chunks/{C2_oK6Yg.js → CY61d4eO.js} +1 -1
  6. package/build/client/_app/immutable/chunks/CY61d4eO.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/CY61d4eO.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/{DkRfJXwX.js → DqDXC22T.js} +1 -1
  9. package/build/client/_app/immutable/chunks/DqDXC22T.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/DqDXC22T.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/MCCUCfWF.js +1 -0
  12. package/build/client/_app/immutable/chunks/MCCUCfWF.js.br +1 -0
  13. package/build/client/_app/immutable/chunks/MCCUCfWF.js.gz +0 -0
  14. package/build/client/_app/immutable/entry/{app.Bs9G7zoZ.js → app.c-l2PDnA.js} +2 -2
  15. package/build/client/_app/immutable/entry/app.c-l2PDnA.js.br +0 -0
  16. package/build/client/_app/immutable/entry/app.c-l2PDnA.js.gz +0 -0
  17. package/build/client/_app/immutable/entry/{start.BPslY-3R.js → start.Ch_y930O.js} +2 -2
  18. package/build/client/_app/immutable/entry/start.Ch_y930O.js.br +3 -0
  19. package/build/client/_app/immutable/entry/start.Ch_y930O.js.gz +0 -0
  20. package/build/client/_app/immutable/nodes/0.C6Tx-XmR.js +1 -0
  21. package/build/client/_app/immutable/nodes/0.C6Tx-XmR.js.br +0 -0
  22. package/build/client/_app/immutable/nodes/0.C6Tx-XmR.js.gz +0 -0
  23. package/build/client/_app/immutable/nodes/{1.CArPcl3H.js → 1.Be7Mrr0U.js} +1 -1
  24. package/build/client/_app/immutable/nodes/1.Be7Mrr0U.js.br +3 -0
  25. package/build/client/_app/immutable/nodes/1.Be7Mrr0U.js.gz +0 -0
  26. package/build/client/_app/immutable/nodes/{2.BD6e8Sr-.js → 2.ByGQ00I8.js} +1 -1
  27. package/build/client/_app/immutable/nodes/2.ByGQ00I8.js.br +0 -0
  28. package/build/client/_app/immutable/nodes/2.ByGQ00I8.js.gz +0 -0
  29. package/build/client/_app/version.json +1 -1
  30. package/build/client/_app/version.json.br +0 -0
  31. package/build/client/_app/version.json.gz +0 -0
  32. package/build/server/adapter-index.js +1 -2
  33. package/build/server/adapter-node-env.js +1 -2
  34. package/build/server/adapter-node-handler.js +4 -8
  35. package/build/server/chunks/config.js +1 -2
  36. package/build/server/chunks/functions.js +1 -2
  37. package/build/server/chunks/instance.js +33 -63
  38. package/build/server/chunks/internal.js +33 -65
  39. package/build/server/chunks/navigation.js +1 -2
  40. package/build/server/chunks/queries.js +10 -20
  41. package/build/server/chunks/range.js +3 -6
  42. package/build/server/chunks/refresh.js +2 -4
  43. package/build/server/chunks/request.js +1 -2
  44. package/build/server/chunks/server-errors.js +2 -4
  45. package/build/server/chunks/server.js +0 -1
  46. package/build/server/chunks/server2.js +17 -38
  47. package/build/server/chunks/shared.js +1 -2
  48. package/build/server/chunks/uneval.js +3 -6
  49. package/build/server/entries/endpoints/api/refresh/_server.ts.js +1 -2
  50. package/build/server/entries/endpoints/api/settings/_server.ts.js +1 -2
  51. package/build/server/entries/endpoints/api/usage/_server.ts.js +1 -2
  52. package/build/server/entries/fallbacks/error.svelte.js +2 -4
  53. package/build/server/entries/hooks.server.js +1 -2
  54. package/build/server/entries/pages/_layout.svelte.js +1 -2
  55. package/build/server/entries/pages/_page.server.ts.js +1 -2
  56. package/build/server/entries/pages/_page.svelte.js +21 -42
  57. package/build/server/index.js +1 -2
  58. package/build/server/manifest-full.js +1 -1
  59. package/build/server/manifest.js +1 -1
  60. package/build/server/nodes/0.js +1 -1
  61. package/build/server/nodes/1.js +1 -1
  62. package/build/server/nodes/2.js +1 -1
  63. package/build/server/remote-entry.js +7 -14
  64. package/build/server/server.js +1 -1
  65. package/package.json +1 -1
  66. package/build/client/_app/immutable/chunks/BLLqPIda.js +0 -3
  67. package/build/client/_app/immutable/chunks/BLLqPIda.js.br +0 -0
  68. package/build/client/_app/immutable/chunks/BLLqPIda.js.gz +0 -0
  69. package/build/client/_app/immutable/chunks/C2_oK6Yg.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/C2_oK6Yg.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/ChHPZo_0.js +0 -1
  72. package/build/client/_app/immutable/chunks/ChHPZo_0.js.br +0 -1
  73. package/build/client/_app/immutable/chunks/ChHPZo_0.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/DkRfJXwX.js.br +0 -0
  75. package/build/client/_app/immutable/chunks/DkRfJXwX.js.gz +0 -0
  76. package/build/client/_app/immutable/entry/app.Bs9G7zoZ.js.br +0 -0
  77. package/build/client/_app/immutable/entry/app.Bs9G7zoZ.js.gz +0 -0
  78. package/build/client/_app/immutable/entry/start.BPslY-3R.js.br +0 -2
  79. package/build/client/_app/immutable/entry/start.BPslY-3R.js.gz +0 -0
  80. package/build/client/_app/immutable/nodes/0.yxxqRuA2.js +0 -1
  81. package/build/client/_app/immutable/nodes/0.yxxqRuA2.js.br +0 -0
  82. package/build/client/_app/immutable/nodes/0.yxxqRuA2.js.gz +0 -0
  83. package/build/client/_app/immutable/nodes/1.CArPcl3H.js.br +0 -1
  84. package/build/client/_app/immutable/nodes/1.CArPcl3H.js.gz +0 -0
  85. package/build/client/_app/immutable/nodes/2.BD6e8Sr-.js.br +0 -0
  86. package/build/client/_app/immutable/nodes/2.BD6e8Sr-.js.gz +0 -0
@@ -6,7 +6,7 @@ import { n as noop, r as once } from "./functions.js";
6
6
  import { i as set_env, n as explicit_public_env, r as rendered_env } from "./config.js";
7
7
  import { c as render, i as derived, p as escape_html$1 } from "./server2.js";
8
8
  import { t as afterNavigate } from "./navigation.js";
9
- //#region node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
9
+ // node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
10
10
  /**
11
11
  * @param {import('@sveltejs/kit').RequestEvent} event
12
12
  * @param {import('types').RequestState} state
@@ -77,8 +77,7 @@ function is_endpoint_request(event) {
77
77
  const accept = event.request.headers.get("accept") ?? "*/*";
78
78
  return negotiate(accept, ["*", "text/html"]) !== "text/html";
79
79
  }
80
- //#endregion
81
- //#region node_modules/@sveltejs/kit/src/utils/array.js
80
+ // node_modules/@sveltejs/kit/src/utils/array.js
82
81
  /**
83
82
  * Removes nullish values from an array.
84
83
  *
@@ -91,8 +90,7 @@ function compact(arr) {
91
90
  (val) => val != null
92
91
  );
93
92
  }
94
- //#endregion
95
- //#region node_modules/@sveltejs/kit/src/runtime/pathname.js
93
+ // node_modules/@sveltejs/kit/src/runtime/pathname.js
96
94
  var ROUTES_PREFIX = "/routes";
97
95
  /**
98
96
  * The pathname of the route-ID-keyed resolution module for a given route ID,
@@ -122,8 +120,7 @@ function is_route_id_resolution_path(pathname) {
122
120
  function extract_route_id(pathname) {
123
121
  return pathname.slice(`/_app${ROUTES_PREFIX}`.length) || "/";
124
122
  }
125
- //#endregion
126
- //#region node_modules/@sveltejs/kit/src/runtime/error-chain.js
123
+ // node_modules/@sveltejs/kit/src/runtime/error-chain.js
127
124
  /** @import { Component } from 'svelte'; */
128
125
  /**
129
126
  * Resolves the `+error.svelte` component that guards each node of `branch`, aligned to the
@@ -173,8 +170,7 @@ function* nearest_error_pages(i, branch, errors) {
173
170
  }
174
171
  }
175
172
  }
176
- //#endregion
177
- //#region node_modules/@sveltejs/kit/src/utils/streaming.js
173
+ // node_modules/@sveltejs/kit/src/utils/streaming.js
178
174
  /**
179
175
  * Create an async iterator and a function to push values into it
180
176
  * @template T
@@ -203,8 +199,7 @@ function create_async_iterator() {
203
199
  }
204
200
  };
205
201
  }
206
- //#endregion
207
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
202
+ // node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
208
203
  /**
209
204
  * If the serialized data contains promises, `chunks` will be an
210
205
  * async iterable containing their resolutions
@@ -216,7 +211,7 @@ function server_data_serializer(event, state) {
216
211
  let promise_id = 1;
217
212
  let max_nodes = -1;
218
213
  const iterator = create_async_iterator();
219
- const global = "__sveltekit_hq09cg";
214
+ const global = "__sveltekit_898juf";
220
215
  /** @param {number} index */
221
216
  function get_replacer(index) {
222
217
  /** @param {any} thing */
@@ -360,8 +355,7 @@ function server_data_serializer_json(event, state) {
360
355
  }
361
356
  };
362
357
  }
363
- //#endregion
364
- //#region node_modules/@sveltejs/kit/src/runtime/server/constants.js
358
+ // node_modules/@sveltejs/kit/src/runtime/server/constants.js
365
359
  var NULL_BODY_STATUS = [
366
360
  101,
367
361
  103,
@@ -369,8 +363,7 @@ var NULL_BODY_STATUS = [
369
363
  205,
370
364
  304
371
365
  ];
372
- //#endregion
373
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
366
+ // node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
374
367
  /**
375
368
  * Calls the user's server `load` function.
376
369
  * @param {{
@@ -649,8 +642,7 @@ function create_universal_fetch(event, prerendering, fetched, csr, resolve_opts)
649
642
  return response;
650
643
  };
651
644
  }
652
- //#endregion
653
- //#region node_modules/@sveltejs/kit/src/utils/hash.js
645
+ // node_modules/@sveltejs/kit/src/utils/hash.js
654
646
  /**
655
647
  * Hash using djb2
656
648
  * @param {import('types').StrictBody[]} values
@@ -680,11 +672,9 @@ function hash_request(headers, body) {
680
672
  if (body) values.push(body);
681
673
  return hash(...values);
682
674
  }
683
- //#endregion
684
- //#region node_modules/@sveltejs/kit/src/utils/misc.js
675
+ // node_modules/@sveltejs/kit/src/utils/misc.js
685
676
  var s = JSON.stringify;
686
- //#endregion
687
- //#region node_modules/@sveltejs/kit/src/utils/escape.js
677
+ // node_modules/@sveltejs/kit/src/utils/escape.js
688
678
  /**
689
679
  * When inside a double-quoted attribute value, only `&` and `"` hold special meaning.
690
680
  * @see https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(double-quoted)-state
@@ -718,8 +708,7 @@ function escape_html(str, is_attr) {
718
708
  const dict = is_attr ? escape_html_attr_dict : escape_html_dict;
719
709
  return str.replace(is_attr ? escape_html_attr_regex : escape_html_regex, (match) => dict[match] ?? `&#${match.charCodeAt(0)};`);
720
710
  }
721
- //#endregion
722
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
711
+ // node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
723
712
  /**
724
713
  * Inside a script element, only `<\/script` and `<!--` hold special meaning to the HTML parser.
725
714
  *
@@ -792,8 +781,7 @@ function serialize_data(fetched, filter, prerendering = false) {
792
781
  }
793
782
  return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
794
783
  }
795
- //#endregion
796
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
784
+ // node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
797
785
  var array = /* @__PURE__ */ new Uint8Array(16);
798
786
  function generate_nonce() {
799
787
  crypto.getRandomValues(array);
@@ -1004,8 +992,7 @@ var Csp = class {
1004
992
  this.report_only_provider.add_style(source);
1005
993
  }
1006
994
  };
1007
- //#endregion
1008
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
995
+ // node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
1009
996
  /** @import { ParamValue } from '@sveltejs/kit/params' */
1010
997
  /** @import { SSRManifest } from 'types' */
1011
998
  /**
@@ -1149,8 +1136,7 @@ function create_css_import(route, url, client) {
1149
1136
  if (!css) return "";
1150
1137
  return `${create_client_import(client.start, paths)}.then(x => x.load_css([${css}]));\n`;
1151
1138
  }
1152
- //#endregion
1153
- //#region node_modules/@sveltejs/kit/src/runtime/components/root.svelte
1139
+ // node_modules/@sveltejs/kit/src/runtime/components/root.svelte
1154
1140
  function Root($$renderer, $$props) {
1155
1141
  $$renderer.component(($$renderer) => {
1156
1142
  const { page, components, onerror, tree, form, error } = $$props;
@@ -1228,8 +1214,7 @@ function Root($$renderer, $$props) {
1228
1214
  $$renderer.push(`<!--]-->`);
1229
1215
  });
1230
1216
  }
1231
- //#endregion
1232
- //#region node_modules/@sveltejs/kit/src/runtime/props.svelte.js
1217
+ // node_modules/@sveltejs/kit/src/runtime/props.svelte.js
1233
1218
  var Props = class {
1234
1219
  /** @type {Page} */
1235
1220
  page;
@@ -1285,8 +1270,7 @@ var RenderNode = class {
1285
1270
  this.error = error;
1286
1271
  }
1287
1272
  };
1288
- //#endregion
1289
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/render.js
1273
+ // node_modules/@sveltejs/kit/src/runtime/server/page/render.js
1290
1274
  /** @import { Component } from 'svelte'; */
1291
1275
  /** @import { SyncRenderOutput } from 'svelte/server' */
1292
1276
  /**
@@ -1457,7 +1441,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
1457
1441
  "crossorigin"
1458
1442
  ]);
1459
1443
  }
1460
- const global = "__sveltekit_hq09cg";
1444
+ const global = "__sveltekit_898juf";
1461
1445
  const { data, chunks } = data_serializer.get_data(csp);
1462
1446
  if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, !!(state.prerendering || state.prerender_default === true))).join("\n ")}`;
1463
1447
  if (page_config.csr && client) {
@@ -1481,7 +1465,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
1481
1465
  }
1482
1466
  }
1483
1467
  const blocks = [];
1484
- const properties = [`base: ${base_expression}`, `version: ${s("1793062247639")}`];
1468
+ const properties = [`base: ${base_expression}`, `version: ${s("1793232173383")}`];
1485
1469
  if (assets) properties.push(`assets: ${s(assets)}`);
1486
1470
  if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval$1(rendered_env)}`);
1487
1471
  if (chunks) {
@@ -1653,8 +1637,7 @@ var Head = class {
1653
1637
  this.#http_equiv.push(tag);
1654
1638
  }
1655
1639
  };
1656
- //#endregion
1657
- //#region node_modules/@sveltejs/kit/src/utils/format.js
1640
+ // node_modules/@sveltejs/kit/src/utils/format.js
1658
1641
  /**
1659
1642
  * Joins a list as `a`, `a or b` or `a, b or c`, for use in diagnostics
1660
1643
  * @param {string[]} items
@@ -1662,8 +1645,7 @@ var Head = class {
1662
1645
  function join_or(items) {
1663
1646
  return items.length > 1 ? `${items.slice(0, -1).join(", ")} or ${items.at(-1)}` : items[0];
1664
1647
  }
1665
- //#endregion
1666
- //#region node_modules/@sveltejs/kit/src/utils/exports.js
1648
+ // node_modules/@sveltejs/kit/src/utils/exports.js
1667
1649
  /**
1668
1650
  * @param {Set<string>} expected
1669
1651
  */
@@ -1740,8 +1722,7 @@ var validate_layout_exports = validator(valid_layout_exports);
1740
1722
  var validate_page_exports = validator(valid_page_exports);
1741
1723
  var validate_layout_server_exports = validator(valid_layout_server_exports);
1742
1724
  var validate_page_server_exports = validator(valid_page_server_exports);
1743
- //#endregion
1744
- //#region node_modules/@sveltejs/kit/src/utils/page_nodes.js
1725
+ // node_modules/@sveltejs/kit/src/utils/page_nodes.js
1745
1726
  /** @import { UniversalNode, ServerNode } from 'types' */
1746
1727
  var PageNodes = class {
1747
1728
  /** All layout nodes and the page node, if any */
@@ -1809,8 +1790,7 @@ var PageNodes = class {
1809
1790
  return this.data.some((node) => node?.server?.load || node?.server?.trailingSlash !== void 0);
1810
1791
  }
1811
1792
  };
1812
- //#endregion
1813
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
1793
+ // node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
1814
1794
  /**
1815
1795
  * @typedef {import('./types.js').Loaded} Loaded
1816
1796
  */
@@ -1916,8 +1896,7 @@ async function handle_fatal_error(event, state, error) {
1916
1896
  if (event.isDataRequest || type === "application/json") return Response.json(body, { status });
1917
1897
  return static_error_page(status, body.message);
1918
1898
  }
1919
- //#endregion
1920
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/index.js
1899
+ // node_modules/@sveltejs/kit/src/runtime/server/page/index.js
1921
1900
  /** @import { RequestEvent } from '@sveltejs/kit' */
1922
1901
  /** @import { PageNodeIndexes, RequestState, RequiredResolveOptions, ServerDataNode, SSRNode } from 'types' */
1923
1902
  /**
@@ -2145,8 +2124,7 @@ function load_error_components(ssr, branch, page) {
2145
2124
  if (!ssr) return void 0;
2146
2125
  return build_error_chain(branch, page.errors, (idx) => manifest.nodes[idx]?.().then((e) => e.component?.()));
2147
2126
  }
2148
- //#endregion
2149
- //#region node_modules/@sveltejs/kit/src/runtime/server/csrf.js
2127
+ // node_modules/@sveltejs/kit/src/runtime/server/csrf.js
2150
2128
  var mutating_form_methods = /* @__PURE__ */ new Set([
2151
2129
  "POST",
2152
2130
  "PUT",
@@ -2207,8 +2185,7 @@ function is_csrf_forbidden({ request, request_origin, self_origin, trusted_origi
2207
2185
  function is_remote_forbidden({ request, request_origin, self_origin }) {
2208
2186
  return request.method !== "GET" && request_origin !== self_origin;
2209
2187
  }
2210
- //#endregion
2211
- //#region node_modules/@sveltejs/kit/src/runtime/server/data/index.js
2188
+ // node_modules/@sveltejs/kit/src/runtime/server/data/index.js
2212
2189
  /**
2213
2190
  * @param {import('@sveltejs/kit').RequestEvent} event
2214
2191
  * @param {import('types').RequestState} state
@@ -2307,8 +2284,7 @@ function redirect_json_response(redirect) {
2307
2284
  location: redirect.location
2308
2285
  });
2309
2286
  }
2310
- //#endregion
2311
- //#region node_modules/cookie/dist/index.js
2287
+ // node_modules/cookie/dist/index.js
2312
2288
  /**
2313
2289
  * RegExp to match cookie-name in RFC 6265 sec 4.1.1
2314
2290
  * This refers out to the obsoleted definition of token in RFC 2616 sec 2.2
@@ -2778,8 +2754,7 @@ function add_cookies_to_headers(headers, cookies) {
2778
2754
  }
2779
2755
  }
2780
2756
  }
2781
- //#endregion
2782
- //#region node_modules/@sveltejs/kit/src/runtime/server/state.js
2757
+ // node_modules/@sveltejs/kit/src/runtime/server/state.js
2783
2758
  /** @import { InternalRequestOptions, RequestState } from 'types' */
2784
2759
  /** Per-request caches and context flags — never carried into a fork. */
2785
2760
  function transient_fields() {
@@ -2831,8 +2806,7 @@ function fork_state_for_subrequest(state) {
2831
2806
  depth: state.depth + 1
2832
2807
  };
2833
2808
  }
2834
- //#endregion
2835
- //#region node_modules/@sveltejs/kit/src/runtime/server/fetch.js
2809
+ // node_modules/@sveltejs/kit/src/runtime/server/fetch.js
2836
2810
  /**
2837
2811
  * @param {{
2838
2812
  * event: import('@sveltejs/kit').RequestEvent;
@@ -2947,8 +2921,7 @@ async function internal_fetch(request, state) {
2947
2921
  });
2948
2922
  return Promise.race([respond$1(request, subrequest_state), abort_promise]).finally(remove_abort_listener);
2949
2923
  }
2950
- //#endregion
2951
- //#region node_modules/@sveltejs/kit/src/runtime/server/env_module.js
2924
+ // node_modules/@sveltejs/kit/src/runtime/server/env_module.js
2952
2925
  /** @type {string} */
2953
2926
  var payload;
2954
2927
  /** @type {string} */
@@ -2972,8 +2945,7 @@ function get_public_env(request) {
2972
2945
  });
2973
2946
  return new Response(`export const env=${payload}`, { headers });
2974
2947
  }
2975
- //#endregion
2976
- //#region node_modules/@sveltejs/kit/src/runtime/server/respond.js
2948
+ // node_modules/@sveltejs/kit/src/runtime/server/respond.js
2977
2949
  /** @import { SSRNode } from 'types' */
2978
2950
  /** @type {import('types').RequiredResolveOptions['transformPageChunk']} */
2979
2951
  var default_transform = ({ html }) => html;
@@ -3485,8 +3457,7 @@ function denormalise_url({ request_url, resolved_path, is_data_request, is_route
3485
3457
  url.pathname = is_data_request ? add_data_suffix(resolved_path) : is_route_resolution_request ? add_resolution_suffix(resolved_path) : resolved_path;
3486
3458
  return url;
3487
3459
  }
3488
- //#endregion
3489
- //#region node_modules/@sveltejs/kit/src/runtime/server/instance.js
3460
+ // node_modules/@sveltejs/kit/src/runtime/server/instance.js
3490
3461
  /** @type {Promise<any>} */
3491
3462
  var init_promise;
3492
3463
  /**
@@ -3553,7 +3524,6 @@ function serialise(fn) {
3553
3524
  };
3554
3525
  }
3555
3526
  var respond = IN_WEBCONTAINER ? serialise(respond_to) : respond_to;
3556
- //#endregion
3557
3527
  export { init, respond, set_env };
3558
3528
 
3559
3529
  //# sourceMappingURL=instance.js.map
@@ -2,7 +2,7 @@ import { a as SvelteKitError, i as Redirect, n as HandledHttpError, o as Validat
2
2
  import { W as request_store_after_await, X as url_search_unavailable_prerender, Z as capture_error, h as handle_error_hook_failed, i as action_response_not_serializable, n as action_default_with_named, r as action_name_reserved, s as action_throw_fail, t as action_data_not_serializable, v as load_not_plain_object, y as load_not_serializable } from "./server-errors.js";
3
3
  import { a as is_buffer, c as is_valid_array_len, d as valid_array_indices, f as MAX_ARRAY_INDEX, i as get_type, l as stringify_key, n as DevalueError, o as is_plain_object$1, r as enumerable_symbols, s as is_valid_array_index, t as uneval$1, u as stringify_string } from "./uneval.js";
4
4
  import { n as noop } from "./functions.js";
5
- //#region node_modules/@sveltejs/kit/src/messages/internal/shared.js
5
+ // node_modules/@sveltejs/kit/src/messages/internal/shared.js
6
6
  /**
7
7
  * Whether shared errors include their full text on the server even though `DEV` is false. This is
8
8
  * enabled while the app is being built (analysed or prerendered)
@@ -31,12 +31,10 @@ var app_dir = "_app";
31
31
  function set_assets(path) {
32
32
  assets = path;
33
33
  }
34
- //#endregion
35
- //#region node_modules/@sveltejs/kit/src/runtime/server/dev.js
34
+ // node_modules/@sveltejs/kit/src/runtime/server/dev.js
36
35
  var symbol = Symbol.for("sveltekit.global_state");
37
36
  globalThis[symbol] ??= {};
38
- //#endregion
39
- //#region node_modules/@sveltejs/kit/src/runtime/utils.js
37
+ // node_modules/@sveltejs/kit/src/runtime/utils.js
40
38
  var text_encoder$1 = new TextEncoder();
41
39
  /**
42
40
  * `ReadableStream.from`, for runtimes that don't support it (as of writing, every Bun release)
@@ -94,8 +92,7 @@ function base64_decode(encoded) {
94
92
  for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
95
93
  return bytes;
96
94
  }
97
- //#endregion
98
- //#region node_modules/@sveltejs/kit/src/pathname.js
95
+ // node_modules/@sveltejs/kit/src/pathname.js
99
96
  var DATA_SUFFIX = "/__data.json";
100
97
  var HTML_DATA_SUFFIX = ".html__data.json";
101
98
  /** @param {string} pathname */
@@ -138,8 +135,7 @@ function strip_resolution_suffix(pathname) {
138
135
  if (pathname.endsWith(HTML_ROUTE_SUFFIX)) return pathname.slice(0, -15) + ".html";
139
136
  return pathname.slice(0, -11);
140
137
  }
141
- //#endregion
142
- //#region node_modules/@sveltejs/kit/src/constants.js
138
+ // node_modules/@sveltejs/kit/src/constants.js
143
139
  /**
144
140
  * A fake asset path used in `vite dev` and `vite preview`, so that we can
145
141
  * serve local assets while verifying that requests are correctly prefixed
@@ -175,8 +171,7 @@ var IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
175
171
  * is stored in this header.
176
172
  */
177
173
  var REROUTED_URL_HEADER = "x-sveltekit-rerouted-url";
178
- //#endregion
179
- //#region node_modules/@sveltejs/kit/src/exports/internal/server/event.js
174
+ // node_modules/@sveltejs/kit/src/exports/internal/server/event.js
180
175
  /** @import { RequestEvent } from '@sveltejs/kit' */
181
176
  /** @import { RequestStore } from 'types' */
182
177
  /** @import { AsyncLocalStorage } from 'node:async_hooks' */
@@ -209,8 +204,7 @@ function with_request_store(store, fn) {
209
204
  if (!IN_WEBCONTAINER) sync_store = null;
210
205
  }
211
206
  }
212
- //#endregion
213
- //#region node_modules/@sveltejs/kit/src/telemetry.js
207
+ // node_modules/@sveltejs/kit/src/telemetry.js
214
208
  /** @import { Span, SpanContext } from '@opentelemetry/api' */
215
209
  /**
216
210
  * @type {Span}
@@ -258,8 +252,7 @@ var noop_span_context = {
258
252
  spanId: "",
259
253
  traceFlags: 0
260
254
  };
261
- //#endregion
262
- //#region node_modules/@sveltejs/kit/src/exports/internal/server/telemetry.js
255
+ // node_modules/@sveltejs/kit/src/exports/internal/server/telemetry.js
263
256
  /** @import { Tracer, SpanStatusCode, PropagationAPI, ContextAPI } from '@opentelemetry/api' */
264
257
  /** @import { RecordSpan } from 'types' */
265
258
  /** @type {Promise<{ tracer: Tracer, SpanStatusCode: typeof SpanStatusCode, propagation: PropagationAPI, context: ContextAPI }> | null} */
@@ -314,8 +307,7 @@ async function record_span({ name, attributes, fn }) {
314
307
  }
315
308
  });
316
309
  }
317
- //#endregion
318
- //#region node_modules/@sveltejs/kit/src/exports/internal/server/index.js
310
+ // node_modules/@sveltejs/kit/src/exports/internal/server/index.js
319
311
  /**
320
312
  * @template {{ tracing: { enabled: boolean, root: Span, current: Span } }} T
321
313
  * @param {T} event_like
@@ -331,8 +323,7 @@ function merge_tracing(event_like, current) {
331
323
  }
332
324
  };
333
325
  }
334
- //#endregion
335
- //#region node_modules/@sveltejs/kit/src/messages/shared-errors.js
326
+ // node_modules/@sveltejs/kit/src/messages/shared-errors.js
336
327
  /**
337
328
  * Invalid array key `%key%`
338
329
  * @param {{ "key": string }} _values
@@ -450,8 +441,7 @@ function url_hash_unavailable(_values) {
450
441
  if (verbose) throw_error("url_hash_unavailable", `Cannot access \`event.url.hash\`. Consider using \`page.url.hash\` inside a component instead`, url_hash_unavailable);
451
442
  throw new Error("https://svelte.dev/e/kit/url_hash_unavailable");
452
443
  }
453
- //#endregion
454
- //#region node_modules/@sveltejs/kit/src/utils/url.js
444
+ // node_modules/@sveltejs/kit/src/utils/url.js
455
445
  /**
456
446
  * Matches a URI scheme. See https://www.rfc-editor.org/rfc/rfc3986#section-3.1
457
447
  * @type {RegExp}
@@ -575,8 +565,7 @@ function allow_nodejs_console_log(url) {
575
565
  return inspect(new URL(url), opts);
576
566
  };
577
567
  }
578
- //#endregion
579
- //#region node_modules/@sveltejs/kit/src/messages/shared-warnings.js
568
+ // node_modules/@sveltejs/kit/src/messages/shared-warnings.js
580
569
  /**
581
570
  * `%route%`: Calling `depends('%dependency%')` will throw an error in Firefox because `%scheme%` is a special URI scheme
582
571
  * @param {{ "route": string; "dependency": string; "scheme": string }} _values
@@ -584,8 +573,7 @@ function allow_nodejs_console_log(url) {
584
573
  function depends_special_scheme(_values) {
585
574
  console.warn("https://svelte.dev/e/kit/depends_special_scheme");
586
575
  }
587
- //#endregion
588
- //#region node_modules/@sveltejs/kit/src/exports/index.js
576
+ // node_modules/@sveltejs/kit/src/exports/index.js
589
577
  /** @import { StandardSchemaV1 } from '@standard-schema/spec' */
590
578
  var text_encoder = new TextEncoder();
591
579
  /**
@@ -683,8 +671,7 @@ function text(body, init) {
683
671
  headers
684
672
  });
685
673
  }
686
- //#endregion
687
- //#region node_modules/@sveltejs/kit/src/utils/routing.js
674
+ // node_modules/@sveltejs/kit/src/utils/routing.js
688
675
  /** @import { ParamMatcher, ParamValue } from '@sveltejs/kit/params' */
689
676
  var escape_sequence_pattern = /\[([ux])\+([^\]]+)\]/;
690
677
  /**
@@ -766,11 +753,9 @@ function find_route(path, routes, matchers) {
766
753
  }
767
754
  return null;
768
755
  }
769
- //#endregion
770
- //#region .svelte-kit/generated/build/shared/error-template.js
756
+ // .svelte-kit/generated/build/shared/error-template.js
771
757
  var error_template_default = ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n";
772
- //#endregion
773
- //#region .svelte-kit/generated/build/server.js
758
+ // .svelte-kit/generated/build/server.js
774
759
  var options = {
775
760
  app_template_contains_nonce: false,
776
761
  csp: {
@@ -808,8 +793,7 @@ async function get_hooks() {
808
793
  transport
809
794
  };
810
795
  }
811
- //#endregion
812
- //#region node_modules/devalue/src/base64.js
796
+ // node_modules/devalue/src/base64.js
813
797
  /** @type {(array_buffer: ArrayBuffer) => string} */
814
798
  function encode_native(array_buffer) {
815
799
  return new Uint8Array(array_buffer).toBase64();
@@ -849,8 +833,7 @@ var native = typeof Uint8Array.fromBase64 === "function";
849
833
  var buffer = typeof process === "object" && process.versions?.node !== void 0;
850
834
  var encode64 = native ? encode_native : buffer ? encode_buffer : encode_legacy;
851
835
  var decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy;
852
- //#endregion
853
- //#region node_modules/devalue/src/operations.js
836
+ // node_modules/devalue/src/operations.js
854
837
  /**
855
838
  * Merges caller-provided operation overrides over the defaults. Iterating the
856
839
  * default keys (rather than the override's own keys) means nullish members
@@ -958,8 +941,7 @@ var default_parse_operations = /* @__PURE__ */ Object.freeze({
958
941
  map.set(key, value);
959
942
  }
960
943
  });
961
- //#endregion
962
- //#region node_modules/devalue/src/parse.js
944
+ // node_modules/devalue/src/parse.js
963
945
  /**
964
946
  * Revive a value serialized with `devalue.stringify`
965
947
  * @param {string} serialized
@@ -1123,8 +1105,7 @@ function unflatten(parsed, revivers, options) {
1123
1105
  }
1124
1106
  return hydrate(0);
1125
1107
  }
1126
- //#endregion
1127
- //#region node_modules/devalue/src/stringify.js
1108
+ // node_modules/devalue/src/stringify.js
1128
1109
  /**
1129
1110
  * Turn a value into a JSON string that can be parsed with `devalue.parse`
1130
1111
  * @param {any} value
@@ -1352,8 +1333,7 @@ function stringify_primitive(thing) {
1352
1333
  if (type === "bigint") return `["BigInt","${thing}"]`;
1353
1334
  return String(thing);
1354
1335
  }
1355
- //#endregion
1356
- //#region node_modules/@sveltejs/kit/src/runtime/form-utils.js
1336
+ // node_modules/@sveltejs/kit/src/runtime/form-utils.js
1357
1337
  /** @import { BinaryFormMeta, InternalRemoteFormIssue } from 'types' */
1358
1338
  /** @import { StandardSchemaV1 } from '@standard-schema/spec' */
1359
1339
  /**
@@ -1939,8 +1919,7 @@ function build_path_string(path) {
1939
1919
  else result += result === "" ? segment : "." + segment;
1940
1920
  return result;
1941
1921
  }
1942
- //#endregion
1943
- //#region node_modules/@sveltejs/kit/src/utils/http.js
1922
+ // node_modules/@sveltejs/kit/src/utils/http.js
1944
1923
  /**
1945
1924
  * Given an Accept header and a list of possible content types, pick
1946
1925
  * the most suitable one to respond with
@@ -1996,8 +1975,7 @@ function matches_content_type(header, ...types) {
1996
1975
  function is_form_content_type(request) {
1997
1976
  return matches_content_type(request.headers.get("content-type"), "application/x-www-form-urlencoded", "multipart/form-data", "text/plain", BINARY_FORM_CONTENT_TYPE);
1998
1977
  }
1999
- //#endregion
2000
- //#region node_modules/@sveltejs/kit/src/runtime/app/internal/transport.js
1978
+ // node_modules/@sveltejs/kit/src/runtime/app/internal/transport.js
2001
1979
  /** @import { Transport } from '@sveltejs/kit/hooks' */
2002
1980
  /** @type {(thing: any) => string} */
2003
1981
  var uneval = () => {
@@ -2036,8 +2014,7 @@ function init_transport(transport) {
2036
2014
  stringify = (data) => stringify$1(data, encoders);
2037
2015
  parse = (data) => parse$1(data, decoders);
2038
2016
  }
2039
- //#endregion
2040
- //#region node_modules/@sveltejs/kit/src/runtime/shared.js
2017
+ // node_modules/@sveltejs/kit/src/runtime/shared.js
2041
2018
  /**
2042
2019
  * @param {string} route_id
2043
2020
  * @param {string} dep
@@ -2240,8 +2217,7 @@ function split_remote_key(key) {
2240
2217
  payload: key.slice(i + 1)
2241
2218
  };
2242
2219
  }
2243
- //#endregion
2244
- //#region node_modules/@sveltejs/kit/src/utils/error.js
2220
+ // node_modules/@sveltejs/kit/src/utils/error.js
2245
2221
  /**
2246
2222
  * @param {Error} error
2247
2223
  * @param {string} stack
@@ -2275,8 +2251,7 @@ function normalize_error(error) {
2275
2251
  function get_status(error) {
2276
2252
  return error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
2277
2253
  }
2278
- //#endregion
2279
- //#region node_modules/@sveltejs/kit/src/messages/server-warnings.js
2254
+ // node_modules/@sveltejs/kit/src/messages/server-warnings.js
2280
2255
  /**
2281
2256
  * `cache-control` header contains empty directives. (While parsing `%value%`.)
2282
2257
  * @param {{ "value": string }} _values
@@ -2354,8 +2329,7 @@ function streaming_without_csr(_values) {
2354
2329
  function transform_page_chunk_comments(_values) {
2355
2330
  console.warn("https://svelte.dev/e/kit/transform_page_chunk_comments");
2356
2331
  }
2357
- //#endregion
2358
- //#region node_modules/@sveltejs/kit/src/runtime/server/errors.js
2332
+ // node_modules/@sveltejs/kit/src/runtime/server/errors.js
2359
2333
  /**
2360
2334
  * @param {import('@sveltejs/kit').RequestEvent} event
2361
2335
  * @param {import('types').RequestState} state
@@ -2459,8 +2433,7 @@ function log_handle_error_hook_failure(error, hook_error) {
2459
2433
  if (error instanceof SvelteKitError) console.error(`Original error: ${error.status} ${error.text}: ${error.message}`);
2460
2434
  else console.error("Original error:", error);
2461
2435
  }
2462
- //#endregion
2463
- //#region node_modules/@sveltejs/kit/src/runtime/server/utils.js
2436
+ // node_modules/@sveltejs/kit/src/runtime/server/utils.js
2464
2437
  /**
2465
2438
  * @param {Partial<Record<import('types').HttpMethod, any>>} mod
2466
2439
  * @param {import('types').HttpMethod} method
@@ -2491,7 +2464,7 @@ function redirect_response(status, location) {
2491
2464
  * @param {Response} response
2492
2465
  */
2493
2466
  function with_version_header(response) {
2494
- response.headers.set("x-sveltekit-version", "1793062247639");
2467
+ response.headers.set("x-sveltekit-version", "1793232173383");
2495
2468
  return response;
2496
2469
  }
2497
2470
  /**
@@ -2550,8 +2523,7 @@ function get_node_type(node_id) {
2550
2523
  function count_non_ssi_comments(str) {
2551
2524
  return (str.match(/<!--(?!#)/g) ?? []).length;
2552
2525
  }
2553
- //#endregion
2554
- //#region node_modules/@sveltejs/kit/src/runtime/server/page/actions.js
2526
+ // node_modules/@sveltejs/kit/src/runtime/server/page/actions.js
2555
2527
  /** @import { RequestEvent, Actions } from '@sveltejs/kit' */
2556
2528
  /** @import { ActionResult } from '$app/forms' */
2557
2529
  /** @import { SSRNode, ServerNode, ServerActionResult } from 'types' */
@@ -2764,8 +2736,7 @@ function try_serialize(data, fn, route_id) {
2764
2736
  throw error;
2765
2737
  }
2766
2738
  }
2767
- //#endregion
2768
- //#region node_modules/@sveltejs/kit/src/runtime/server/remote-functions.js
2739
+ // node_modules/@sveltejs/kit/src/runtime/server/remote-functions.js
2769
2740
  /** @import { RequestEvent } from '@sveltejs/kit' */
2770
2741
  /** @import { RemoteForm } from '$app/server' */
2771
2742
  /** @import { RemoteFormInternals, RemoteFunctionData, RemoteFunctionResponse, RemoteInternals, RequestState, ServerActionResult } from 'types' */
@@ -3146,8 +3117,7 @@ function get_remote_id(url) {
3146
3117
  function get_remote_action(url) {
3147
3118
  return url.searchParams.get("/remote");
3148
3119
  }
3149
- //#endregion
3150
- //#region node_modules/@sveltejs/kit/src/runtime/server/sourcemaps.js
3120
+ // node_modules/@sveltejs/kit/src/runtime/server/sourcemaps.js
3151
3121
  var fs = globalThis.process?.getBuiltinModule?.("node:fs");
3152
3122
  var url = globalThis.process?.getBuiltinModule?.("node:url");
3153
3123
  var path = globalThis.process?.getBuiltinModule?.("node:path");
@@ -3260,8 +3230,7 @@ function trace(file, line, column) {
3260
3230
  if (source) return { file: source };
3261
3231
  return null;
3262
3232
  }
3263
- //#endregion
3264
- //#region node_modules/@sveltejs/kit/src/runtime/server/internal.js
3233
+ // node_modules/@sveltejs/kit/src/runtime/server/internal.js
3265
3234
  var styleText = globalThis.process?.getBuiltinModule?.("node:util")?.styleText ?? ((_format, text) => text);
3266
3235
  var read_implementation = false;
3267
3236
  var manifest = false;
@@ -3317,7 +3286,6 @@ function format_response(status, request) {
3317
3286
  } else log += requested;
3318
3287
  return log;
3319
3288
  }
3320
- //#endregion
3321
3289
  export { parse as $, cache_control_empty_directive as A, try_get_request_store as At, get_status as B, add_resolution_suffix as Bt, has_prerendered_path as C, resolve as Ct, throw_devalue_error as D, otel as Dt, serialize_uses as E, merge_tracing as Et, form_action_error_without_ssr as F, MUTATIVE_METHODS as Ft, fetch_cache_url as G, base64_encode as Gt, INVALIDATED_PARAM as H, has_resolution_suffix as Ht, load_tracking_after_return as I, PAGE_METHODS as It, validate_depends as J, app_dir as Jt, parse_remote_arg as K, stream_text as Kt, ssr_fetch_eager as L, REROUTED_URL_HEADER as Lt, content_type_invalid as M, BODY_DEPENDENT_METHODS as Mt, cookie_path_mismatch as N, ENDPOINT_METHODS as Nt, with_version_header as O, record_span as Ot, form_action_data_without_ssr as P, IN_WEBCONTAINER as Pt, init_transport as Q, streaming_without_csr as R, SVELTE_KIT_ASSETS as Rt, get_node_type as S, relative_pathname as St, redirect_response as T, invalid_export_location as Tt, TRAILING_SLASH_PARAM as U, strip_data_suffix as Ut, normalize_error as V, has_data_suffix as Vt, create_remote_key as W, strip_resolution_suffix as Wt, encoders as X, set_assets as Xt, validate_load_response as Y, assets as Yt, has_custom_transporters as Z, enable_verbose_errors as Zt, handle_action_request as _, SCHEME as _t, set_hooks as a, deep_set as at, uneval_action_response as b, make_trackable as bt, fix_stack_trace as c, parse_form_key as ct, get_remote_action as d, get_hooks as dt, stringify as et, get_remote_id as f, options as ft, handle_action_json_request as g, text as gt, action_json_redirect as h, isRedirect as ht, read_implementation as i, create_field_proxy as it, cache_control_invalid_directive as j, with_request_store as jt, handle_error_and_jsonify as k, get_request_store as kt, set_fix_stack_trace as l, split_path as lt, handle_remote_form_post as m, error as mt, hooks as n, is_form_content_type as nt, set_manifest as o, flatten_issues as ot, handle_remote_call as p, find_route as pt, stringify_remote_arg as q, text_encoder$1 as qt, manifest as r, negotiate as rt, set_read_implementation as s, normalize_issue as st, format_response as t, uneval as tt, collect_remote_data as u, stringify$1 as ut, is_action_json_request as v, decode_pathname as vt, method_not_allowed as w, invalid_export as wt, count_non_ssi_comments as x, normalize_path as xt, is_action_request as y, disable_search as yt, transform_page_chunk_comments as z, add_data_suffix as zt };
3322
3290
 
3323
3291
  //# sourceMappingURL=internal.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as noop, t as disallow_on_server } from "./functions.js";
2
- //#region node_modules/@sveltejs/kit/src/runtime/app/navigation/server.js
2
+ // node_modules/@sveltejs/kit/src/runtime/app/navigation/server.js
3
3
  var afterNavigate = noop;
4
4
  disallow_on_server("disableScrollHandling", "()");
5
5
  disallow_on_server("goto");
@@ -10,7 +10,6 @@ disallow_on_server("preloadCode");
10
10
  disallow_on_server("preloadData");
11
11
  disallow_on_server("pushState");
12
12
  disallow_on_server("replaceState");
13
- //#endregion
14
13
  export { afterNavigate as t };
15
14
 
16
15
  //# sourceMappingURL=navigation.js.map