@hot-updater/console 1.1.14 → 1.1.16

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 (59) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/{__23tanstack-start-server-fn-resolver-BcEfv7FH.mjs → __23tanstack-start-server-fn-resolver-CecGmlTU.mjs} +40 -40
  3. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  4. package/.output/server/_ssr/{BundleIdDisplay-wYkCX9jM.mjs → BundleIdDisplay-D4pyPNyZ.mjs} +2 -2
  5. package/.output/server/_ssr/{ConsoleFeatureUnavailable-Cxd2INvG.mjs → ConsoleFeatureUnavailable-DlYKYy2U.mjs} +6 -6
  6. package/.output/server/_ssr/{EventDetails-C8djRTZT.mjs → EventDetails-CXw407-0.mjs} +6 -6
  7. package/.output/server/_ssr/{HashValueDisplay-C78C35SI.mjs → HashValueDisplay-BoDFsgr-.mjs} +2 -2
  8. package/.output/server/_ssr/{InsightsPageHeader-SbCzdZ2v.mjs → InsightsPageHeader-Dfvtbf7V.mjs} +6 -6
  9. package/.output/server/_ssr/{NotFoundPage-4uSaej6H.mjs → NotFoundPage-BrpcywL5.mjs} +2 -2
  10. package/.output/server/_ssr/{alert-dialog-BUcBnZD7.mjs → alert-dialog-JYGUk0WF.mjs} +1 -1
  11. package/.output/server/_ssr/{api-keys-aDKFpd0x.mjs → api-keys-C_319C3q.mjs} +8 -8
  12. package/.output/server/_ssr/{api-keys-DgY_bKGk.mjs → api-keys-Cha1jRJ4.mjs} +2 -2
  13. package/.output/server/_ssr/{api-keys-rpc-DiZPdmmB.mjs → api-keys-rpc-BhvvhRyQ.mjs} +3 -3
  14. package/.output/server/_ssr/{api-rpc-DEy1sLSd.mjs → api-rpc-wywThmmg.mjs} +3 -3
  15. package/.output/server/_ssr/{api-DqNNtigh.mjs → api-u3YQ6eJ-.mjs} +3 -3
  16. package/.output/server/_ssr/{auth-rpc-CoGbiXhq.mjs → auth-rpc-CCmehCTC.mjs} +4 -4
  17. package/.output/server/_ssr/{auth.server-BaRF1Zer.mjs → auth.server-CSQjf0yN.mjs} +73 -21
  18. package/.output/server/_ssr/{badge-Cvc2HDY0.mjs → badge-wbyQffo0.mjs} +1 -1
  19. package/.output/server/_ssr/{config.server-CNj7v_oj.mjs → config.server-C8fR6mvH.mjs} +3 -3
  20. package/.output/server/_ssr/{console-access-BZMAlTLf.mjs → console-access-BG-Ivs66.mjs} +2 -2
  21. package/.output/server/_ssr/{console-features-api-dRlRym9z.mjs → console-features-api-Ce-DK182.mjs} +5 -5
  22. package/.output/server/_ssr/{console-features-rpc-BtgPVC14.mjs → console-features-rpc-aIKfH81E.mjs} +3 -3
  23. package/.output/server/_ssr/{dialog-BVG9EyaS.mjs → dialog-LNB0SjZV.mjs} +1 -1
  24. package/.output/server/_ssr/{empty-DuhIOlUm.mjs → empty-qUvT7Pba.mjs} +2 -2
  25. package/.output/server/_ssr/{field-BmWKFwzK.mjs → field-BLeMxV0J.mjs} +2 -2
  26. package/.output/server/_ssr/{input-group-CPD_w8PC.mjs → input-group-d7_ld_a_.mjs} +1 -1
  27. package/.output/server/_ssr/{insights-ZA_NOKZA.mjs → insights-BSAGK25_.mjs} +19 -19
  28. package/.output/server/_ssr/{insights-b_L0NsHP.mjs → insights-CRK38jG8.mjs} +2 -2
  29. package/.output/server/_ssr/{insights-api-CcdVDFWh.mjs → insights-api-Bc9D4qft.mjs} +3 -3
  30. package/.output/server/_ssr/{insights-failures-rpc-Kylec5LO.mjs → insights-failures-rpc-DXQsUt7C.mjs} +4 -4
  31. package/.output/server/_ssr/{insights-recovery-rpc-BmaWtbBk.mjs → insights-recovery-rpc-DBqNdiBf.mjs} +3 -3
  32. package/.output/server/_ssr/{insights-rpc-CxZn-H74.mjs → insights-rpc-Da75AN8b.mjs} +3 -3
  33. package/.output/server/_ssr/{insights-search-C2LhlbGn.mjs → insights-search-B4-SXcCH.mjs} +2 -2
  34. package/.output/server/_ssr/{insights-usage-rpc-BeLEoamY.mjs → insights-usage-rpc-D3CGRSmp.mjs} +3 -3
  35. package/.output/server/_ssr/{insights-usage-rpc-DwZ14mP3.mjs → insights-usage-rpc-g7ozSHUJ.mjs} +3 -3
  36. package/.output/server/_ssr/{insights-INOpsEeu.mjs → insights-uwovZTtF.mjs} +5 -5
  37. package/.output/server/_ssr/{insights_.distribution-BTuB_95j.mjs → insights_.distribution-DjiknYwI.mjs} +5 -5
  38. package/.output/server/_ssr/{insights_.distribution-Bzfah5tn.mjs → insights_.distribution-P7wqOqOT.mjs} +13 -13
  39. package/.output/server/_ssr/{insights_.distribution-DZFBxoRc.mjs → insights_.distribution-W7XkAMpc.mjs} +2 -2
  40. package/.output/server/_ssr/{installations-CNihzENc.mjs → installations-BpgWdoKu.mjs} +4 -4
  41. package/.output/server/_ssr/{installations-D8DEmz9p.mjs → installations-CHYhhq9k.mjs} +2 -2
  42. package/.output/server/_ssr/{installations-Dtvbgxtq.mjs → installations-CObS2PM0.mjs} +11 -11
  43. package/.output/server/_ssr/{release-adoption-rpc-BWNuNzwx.mjs → release-adoption-rpc-B5HMc8Yd.mjs} +5 -5
  44. package/.output/server/_ssr/{remote-config-BIomsv7_.mjs → remote-config-B_XvSG5c.mjs} +2 -2
  45. package/.output/server/_ssr/{remote-config-DxD6XAx-.mjs → remote-config-D_369oat.mjs} +2 -2
  46. package/.output/server/_ssr/{remote-config-CW6O_d4O.mjs → remote-config-DaaR--H5.mjs} +17 -17
  47. package/.output/server/_ssr/{remote-config-rpc-Ct6Bg4Qn.mjs → remote-config-rpc-Du4GSGmv.mjs} +3 -3
  48. package/.output/server/_ssr/{router-El6MZ9bx.mjs → router-DYuJ0L1t.mjs} +14 -14
  49. package/.output/server/_ssr/{routes-ByFPVjc4.mjs → routes-C0VdZpYN.mjs} +10 -10
  50. package/.output/server/_ssr/{routes-CpEtRRnI.mjs → routes-CAPJwwBA.mjs} +16 -16
  51. package/.output/server/_ssr/{select-DUA8n8TW.mjs → select-DDBhOGhk.mjs} +1 -1
  52. package/.output/server/_ssr/{server-CYl0iown.mjs → server-yvDBg72O.mjs} +2 -2
  53. package/.output/server/_ssr/{sidebar-Vy5nEi8Y.mjs → sidebar-CKddYGvq.mjs} +2 -2
  54. package/.output/server/_ssr/ssr.mjs +1 -1
  55. package/.output/server/_ssr/{switch-D58szHjG.mjs → switch-zPQydpuN.mjs} +2 -2
  56. package/.output/server/_ssr/{table-DAlHIsLk.mjs → table-T7Zz7eiu.mjs} +1 -1
  57. package/.output/server/_ssr/{tabs-yhYgjguu.mjs → tabs-C4tgrtY4.mjs} +2 -2
  58. package/.output/server/index.mjs +95 -95
  59. package/package.json +7 -7
@@ -6,7 +6,7 @@ import { n as createUUIDv7After, t as createUUIDv7 } from "./uuidv7-C88s9jWF.mjs
6
6
  import { a as normalize, i as defineTable, n as compare, o as normalizeRange, r as defineAggregate, s as parseRange } from "./schema-BiAVyEj2.mjs";
7
7
  import { t as isRemoteDatabase } from "./databaseConfig-C5SkAyUy.mjs";
8
8
  import { r as rangesIntersect } from "../_libs/verkit.mjs";
9
- //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-BaRF1Zer.js
9
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-CSQjf0yN.js
10
10
  var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
11
11
  var isContentAddressedAssetFileHash = (value) => {
12
12
  return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
@@ -1510,6 +1510,12 @@ var WINDOW_MS = {
1510
1510
  /** Log rows a compaction reads from each log table for one group. */
1511
1511
  var LOG_PAGE = 200;
1512
1512
  /**
1513
+ * How old a log row this process can't apply must be before its reads step
1514
+ * past it: older than any transaction still committing, between servers
1515
+ * whose clocks agree this closely.
1516
+ */
1517
+ var SKIP_AFTER_MS = 3e5;
1518
+ /**
1513
1519
  * Groups one compaction applies: after a commit, so the request that runs
1514
1520
  * it waits for one group; before a read; and on flush.
1515
1521
  */
@@ -1641,24 +1647,44 @@ var rewrite = (change, key, current) => {
1641
1647
  previous: current
1642
1648
  };
1643
1649
  };
1650
+ /** A shard row's place in what `readCurrent` read. */
1651
+ var rowId = (model, key) => JSON.stringify([model.table.name, key]);
1652
+ /** The shard key each change writes. */
1653
+ var keysOf = (changes, shard) => changes.map(({ model, key }) => [...key.slice(0, -1), shard(model)]);
1644
1654
  /**
1645
- * The write for each change on its shard: a blind increment that creates
1646
- * the row for counters, and a guarded rewrite for gauges and sketches, whose
1647
- * rows are read in one batch per table.
1655
+ * The current rows of the changes that rewrite theirs (gauges and sketches),
1656
+ * each once, in one batch per table.
1648
1657
  */
1649
- var compile = async (adapter, changes, shard) => {
1650
- const keys = changes.map(({ model, key }) => [...key.slice(0, -1), shard(model)]);
1658
+ var readCurrent = async (adapter, changes, shard) => {
1659
+ const keys = keysOf(changes, shard);
1651
1660
  const reads = /* @__PURE__ */ new Map();
1652
1661
  changes.forEach((change, at) => {
1653
- if (rewrites(change)) reads.set(change.model, [...reads.get(change.model) ?? [], at]);
1662
+ if (!rewrites(change)) return;
1663
+ const wanted = reads.get(change.model) ?? /* @__PURE__ */ new Map();
1664
+ wanted.set(rowId(change.model, keys[at]), keys[at]);
1665
+ reads.set(change.model, wanted);
1654
1666
  });
1655
1667
  const current = /* @__PURE__ */ new Map();
1656
- await Promise.all([...reads].map(async ([model, positions]) => {
1657
- const rows = await adapter.get(model.table, positions.map((at) => keys[at]));
1658
- positions.forEach((at, index) => current.set(at, rows[index] ?? null));
1668
+ await Promise.all([...reads].map(async ([model, wanted]) => {
1669
+ const keys = [...wanted.values()];
1670
+ const rows = await adapter.get(model.table, keys);
1671
+ keys.forEach((key, at) => {
1672
+ current.set(rowId(model, key), rows[at] ?? null);
1673
+ });
1659
1674
  }));
1660
- return changes.map((change, at) => current.has(at) ? rewrite(change, keys[at], current.get(at)) : increment(change, keys[at]));
1675
+ return current;
1676
+ };
1677
+ /**
1678
+ * The write for each change on its shard: a blind increment that creates
1679
+ * the row for counters, and a guarded rewrite for gauges and sketches, over
1680
+ * the rows `current` read.
1681
+ */
1682
+ var build = (changes, shard, current) => {
1683
+ const keys = keysOf(changes, shard);
1684
+ return changes.map((change, at) => rewrites(change) ? rewrite(change, keys[at], current.get(rowId(change.model, keys[at])) ?? null) : increment(change, keys[at]));
1661
1685
  };
1686
+ /** `build` over rows read for these changes. */
1687
+ var compile = async (adapter, changes, shard) => build(changes, shard, await readCurrent(adapter, changes, shard));
1662
1688
  var isOp = (op) => op !== void 0;
1663
1689
  var sleep = (attempt) => new Promise((resolve) => setTimeout(resolve, Math.min(250, 5 * 2 ** attempt) * Math.random()));
1664
1690
  /** Runs of one character, where shorter: a sparse sketch packs into a few. */
@@ -1802,6 +1828,16 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
1802
1828
  let compacting;
1803
1829
  /** Log rows this process read, by `[log table's index, id]`, for the deletes after a group. */
1804
1830
  const known = /* @__PURE__ */ new Map();
1831
+ /**
1832
+ * Each log table's last row of a run at its head that this process can't
1833
+ * apply (it names an aggregate or metric this schema lacks), whose reads
1834
+ * start past it. The rows wait for a process that can apply them, and a
1835
+ * restart reads them again.
1836
+ */
1837
+ const skipped = LOG_TABLES.map(() => void 0);
1838
+ const past = (shard) => skipped[shard] === void 0 ? {} : { range: { gt: skipped[shard] } };
1839
+ /** When a log row's transaction stamped its ID. */
1840
+ const stampOf = (id) => Number.parseInt(id.slice(0, 9), 36);
1805
1841
  const idOf = (shard, id) => JSON.stringify([shard, id]);
1806
1842
  /** The lease row as stored once `set` is written over it. */
1807
1843
  const leaseOp = (held, set) => {
@@ -1917,14 +1953,22 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
1917
1953
  logs: (await Promise.all(LOG_TABLES.map(async (name, shard) => {
1918
1954
  const page = await engine.reads.findMany(name, {
1919
1955
  index: "oldest",
1920
- limit: LOG_PAGE
1956
+ limit: LOG_PAGE,
1957
+ ...past(shard)
1921
1958
  });
1922
1959
  more ||= page.next !== void 0;
1923
- return (await Promise.all(page.rows.map(async (row) => ({
1960
+ const decoded = await Promise.all(page.rows.map(async (row) => ({
1924
1961
  shard,
1925
1962
  row,
1926
1963
  changes: await decode(String(row.changes))
1927
- })))).flatMap(({ changes, ...entry }) => changes === void 0 ? [] : [{
1964
+ })));
1965
+ const settled = now() - SKIP_AFTER_MS;
1966
+ for (const { row, changes } of decoded) {
1967
+ const id = String(row.id);
1968
+ if (changes !== void 0 || stampOf(id) >= settled) break;
1969
+ skipped[shard] = id;
1970
+ }
1971
+ return decoded.flatMap(({ changes, ...entry }) => changes === void 0 ? [] : [{
1928
1972
  ...entry,
1929
1973
  changes
1930
1974
  }]);
@@ -1932,7 +1976,6 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
1932
1976
  more
1933
1977
  };
1934
1978
  };
1935
- const rowsFor = async (changes) => (await compile(adapter, changes, () => 0)).filter(isOp);
1936
1979
  /**
1937
1980
  * Applies the oldest pending log rows whose merged changes fit in one
1938
1981
  * atomic write with the lease, which lists them as applied; the rows are
@@ -1941,12 +1984,14 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
1941
1984
  * log rows it applied whole, or undefined when a conflict stopped it.
1942
1985
  */
1943
1986
  const applyGroup = async (held, logs) => {
1987
+ const current = await readCurrent(adapter, logs.flatMap((entry) => [...entry.changes.values()]), () => 0);
1988
+ const rowsFor = (changes) => build(changes, () => 0, current).filter(isOp);
1944
1989
  for (let count = logs.length; count > 0; count = Math.floor(count / 2)) {
1945
1990
  const batch = logs.slice(0, count);
1946
1991
  const changes = mergeAll(/* @__PURE__ */ new Map(), batch.flatMap((entry) => [...entry.changes.values()]));
1947
1992
  const applied = batch.map(({ shard, row }) => [shard, row.id]);
1948
1993
  const lease = leaseOp(held, { applied: JSON.stringify(applied) });
1949
- const ops = [...await rowsFor([...changes.values()]), lease.op];
1994
+ const ops = [...rowsFor([...changes.values()]), lease.op];
1950
1995
  if (!adapter.fits(ops)) continue;
1951
1996
  for (const { shard, row } of batch) known.set(idOf(shard, row.id), row);
1952
1997
  return await commit(ops) ? {
@@ -1968,7 +2013,7 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
1968
2013
  };
1969
2014
  const lease = leaseOp(held, {});
1970
2015
  const ops = [
1971
- ...await rowsFor(entries.slice(0, take)),
2016
+ ...rowsFor(entries.slice(0, take)),
1972
2017
  kept,
1973
2018
  lease.op
1974
2019
  ];
@@ -1989,11 +2034,12 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
1989
2034
  if (held === void 0) return;
1990
2035
  let pending = true;
1991
2036
  let clear = false;
2037
+ let carried;
1992
2038
  try {
1993
2039
  for (let group = 0;; group += 1) {
1994
2040
  clear = await deleteApplied(held);
1995
2041
  if (!clear || !pending || group === groups) break;
1996
- const { logs, more } = await readLogs();
2042
+ const { logs, more } = carried ?? await readLogs();
1997
2043
  if (logs.length === 0) {
1998
2044
  pending = false;
1999
2045
  break;
@@ -2001,6 +2047,11 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
2001
2047
  const applied = await applyGroup(held, logs);
2002
2048
  if (applied === void 0) break;
2003
2049
  [held, clear] = [applied.held, false];
2050
+ const rest = applied.count === 0 ? [] : logs.slice(applied.count);
2051
+ carried = rest.length > 0 ? {
2052
+ logs: rest,
2053
+ more
2054
+ } : void 0;
2004
2055
  pending = more || applied.count < logs.length;
2005
2056
  }
2006
2057
  } finally {
@@ -2020,9 +2071,10 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
2020
2071
  });
2021
2072
  let checking;
2022
2073
  /** Whether any log row waits; reads at once share one check. */
2023
- const hasPending = () => checking ??= Promise.all(LOG_TABLES.map((name) => engine.reads.findMany(name, {
2074
+ const hasPending = () => checking ??= Promise.all(LOG_TABLES.map((name, shard) => engine.reads.findMany(name, {
2024
2075
  index: "oldest",
2025
- limit: 1
2076
+ limit: 1,
2077
+ ...past(shard)
2026
2078
  }))).then((pages) => pages.some((page) => page.rows.length > 0)).finally(() => {
2027
2079
  checking = void 0;
2028
2080
  });
@@ -3098,7 +3150,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
3098
3150
  dispose: () => engine.dispose()
3099
3151
  };
3100
3152
  };
3101
- var HOT_UPDATER_SERVER_VERSION = "1.1.14";
3153
+ var HOT_UPDATER_SERVER_VERSION = "1.1.16";
3102
3154
  /**
3103
3155
  * `/version` on both mounts. The admin mount also lists the ids of the
3104
3156
  * plugins the server runs, sorted; apps never learn which plugins a server
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { bt as require_react, ot as useRender, vt as mergeProps, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
4
- import { k as cn } from "./sidebar-Vy5nEi8Y.mjs";
4
+ import { k as cn } from "./sidebar-CKddYGvq.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Card({ className, ...props }) {
@@ -1,6 +1,6 @@
1
- import { i as getRequest } from "./server-CYl0iown.mjs";
2
- import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-BaRF1Zer.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/config.server-CNj7v_oj.js
1
+ import { i as getRequest } from "./server-yvDBg72O.mjs";
2
+ import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-CSQjf0yN.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/config.server-C8fR6mvH.js
4
4
  var configPromise = null;
5
5
  var core = null;
6
6
  var runtime = null;
@@ -1,5 +1,5 @@
1
1
  import { c as createMiddleware } from "./createMiddleware-B1iPez7u.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/console-access-BZMAlTLf.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-access-BG-Ivs66.js
3
3
  /**
4
4
  * Refuses a caller the console does not authorize before a server function
5
5
  * reads its input. TanStack Start runs a function's middleware before the
@@ -9,7 +9,7 @@ import { c as createMiddleware } from "./createMiddleware-B1iPez7u.mjs";
9
9
  * `console-access.spec.ts` checks that.
10
10
  */
11
11
  var consoleAccess = createMiddleware({ type: "function" }).server(async ({ next }) => {
12
- const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("./server-CYl0iown.mjs").then((n) => n.t), import("./auth.server-BaRF1Zer.mjs")]);
12
+ const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("./server-yvDBg72O.mjs").then((n) => n.t), import("./auth.server-CSQjf0yN.mjs")]);
13
13
  await requireConsoleAccess(getRequest());
14
14
  return next();
15
15
  });
@@ -1,10 +1,10 @@
1
- import { n as consoleFeatures } from "./console-features-4xAGfZHw.mjs";
2
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
3
- import { A as createSsrRpc } from "./sidebar-Vy5nEi8Y.mjs";
4
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
5
- import { _ as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-CKddYGvq.mjs";
6
4
  import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-dRlRym9z.js
5
+ import { n as consoleFeatures } from "./console-features-4xAGfZHw.mjs";
6
+ import { _ as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-Ce-DK182.js
8
8
  /** The features this console serves, for navigation and route guards. */
9
9
  var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(createSsrRpc("82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe"));
10
10
  var consoleFeaturesQueryKey = ["console", "features"];
@@ -1,14 +1,14 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-BtgPVC14.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-aIKfH81E.js
5
5
  var getConsoleFeaturesRpc_createServerFn_handler = createServerRpc({
6
6
  id: "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe",
7
7
  name: "getConsoleFeaturesRpc",
8
8
  filename: "src/lib/console-features-rpc.ts"
9
9
  }, (opts) => getConsoleFeaturesRpc.__executeServer(opts));
10
10
  var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getConsoleFeaturesRpc_createServerFn_handler, async () => {
11
- const { prepareConfig } = await import("./config.server-CNj7v_oj.mjs");
11
+ const { prepareConfig } = await import("./config.server-C8fR6mvH.mjs");
12
12
  const { runtime } = await prepareConfig();
13
13
  return {
14
14
  features: await runtime.features(),
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { $ as DialogTitle$1, Q as DialogTrigger$1, at as DialogBackdrop, bt as require_react, et as DialogRoot, it as DialogClose, nt as DialogPopup, rt as DialogDescription$1, tt as DialogPortal$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as X } from "../_libs/lucide-react.mjs";
4
- import { k as cn, t as Button$1 } from "./sidebar-Vy5nEi8Y.mjs";
4
+ import { k as cn, t as Button$1 } from "./sidebar-CKddYGvq.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Dialog$1({ ...props }) {
@@ -1,7 +1,7 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
2
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
3
- import { k as cn } from "./sidebar-Vy5nEi8Y.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/empty-DuhIOlUm.js
3
+ import { k as cn } from "./sidebar-CKddYGvq.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/empty-qUvT7Pba.js
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function Empty({ className, ...props }) {
7
7
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
@@ -1,8 +1,8 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
4
- import { k as cn } from "./sidebar-Vy5nEi8Y.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/field-BmWKFwzK.js
4
+ import { k as cn } from "./sidebar-CKddYGvq.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/field-BLeMxV0J.js
6
6
  var import_react = /* @__PURE__ */ __toESM(require_react());
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  function Label({ className, htmlFor, ...props }) {
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
4
- import { k as cn, n as Input, t as Button$1 } from "./sidebar-Vy5nEi8Y.mjs";
4
+ import { k as cn, n as Input, t as Button$1 } from "./sidebar-CKddYGvq.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Textarea({ className, ...props }) {
@@ -1,35 +1,35 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
3
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
4
  import { C as ComboboxTrigger$1, D as ScrollAreaViewport, E as ScrollAreaScrollbar, O as ScrollAreaRoot, S as ComboboxInput$1, T as ScrollAreaThumb, _ as ComboboxPositioner, b as ComboboxCollection$1, bt as require_react, d as ComboboxRoot, f as ComboboxEmpty$1, g as ComboboxPopup, h as ComboboxGroup$1, m as ComboboxGroupLabel, p as ComboboxItem$1, u as ComboboxItemIndicator, v as ComboboxPortal, w as ScrollAreaCorner, x as ComboboxClear$1, y as ComboboxList$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
5
  import { E as List, G as Check, H as ChevronRight, I as Copy, R as CircleOff, W as ChevronDown, X as ArrowUpRight, Z as ArrowRight, g as RefreshCw, h as RotateCcw, i as TriangleAlert, m as RotateCw, r as Undo2, t as X } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-Vy5nEi8Y.mjs";
6
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
7
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
+ import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-CKddYGvq.mjs";
7
+ import { a as Badge, c as CardDescription, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-wbyQffo0.mjs";
8
+ import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-JYGUk0WF.mjs";
9
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-T7Zz7eiu.mjs";
8
10
  import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
9
- import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DuhIOlUm.mjs";
10
- import { a as Badge, c as CardDescription, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-Cvc2HDY0.mjs";
11
- import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-BUcBnZD7.mjs";
12
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DAlHIsLk.mjs";
13
11
  import { n as toast } from "../_libs/sonner.mjs";
12
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
13
+ import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-qUvT7Pba.mjs";
14
14
  import { C as isUUIDv7 } from "./dist-CbQbBIw-.mjs";
15
15
  import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-BUuQdlA3.mjs";
16
16
  import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-BJN3RfLu.mjs";
17
17
  import { t as groupFailureReports } from "./insights-errors-Iy-lBaM7.mjs";
18
18
  import { n as usageMetrics } from "./insights-usage-CHqvtehH.mjs";
19
19
  import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-DuYJTGuX.mjs";
20
- import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-C2LhlbGn.mjs";
21
- import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-CcdVDFWh.mjs";
22
- import { t as Route } from "./insights-INOpsEeu.mjs";
23
- import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-yhYgjguu.mjs";
24
- import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-DUA8n8TW.mjs";
25
- import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-CPD_w8PC.mjs";
26
- import { i as useChannelsQuery, l as usePreflightReleaseMutation, m as useUpdateReleaseMutation } from "./api-DqNNtigh.mjs";
27
- import { t as BundleIdDisplay } from "./BundleIdDisplay-wYkCX9jM.mjs";
28
- import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-BeLEoamY.mjs";
29
- import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-SbCzdZ2v.mjs";
30
- import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-C8djRTZT.mjs";
20
+ import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-B4-SXcCH.mjs";
21
+ import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-Bc9D4qft.mjs";
22
+ import { t as Route } from "./insights-uwovZTtF.mjs";
23
+ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-C4tgrtY4.mjs";
24
+ import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-DDBhOGhk.mjs";
25
+ import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-d7_ld_a_.mjs";
26
+ import { i as useChannelsQuery, l as usePreflightReleaseMutation, m as useUpdateReleaseMutation } from "./api-u3YQ6eJ-.mjs";
27
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-D4pyPNyZ.mjs";
28
+ import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-D3CGRSmp.mjs";
29
+ import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-Dfvtbf7V.mjs";
30
+ import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-CXw407-0.mjs";
31
31
  import { a as CartesianGrid, i as Line, l as ResponsiveContainer, n as YAxis, o as ReferenceLine, r as XAxis, s as Tooltip, t as LineChart } from "../_libs/recharts+[...].mjs";
32
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-ZA_NOKZA.js
32
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-BSAGK25_.js
33
33
  var import_react = /* @__PURE__ */ __toESM(require_react());
34
34
  var import_jsx_runtime = require_jsx_runtime();
35
35
  var THEMES = {
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Cxd2INvG.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-b_L0NsHP.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DlYKYy2U.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-CRK38jG8.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,10 +1,10 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
- import { A as createSsrRpc } from "./sidebar-Vy5nEi8Y.mjs";
3
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-CKddYGvq.mjs";
4
4
  import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
5
5
  import { c as readUpdateFailuresInput } from "./insights-failures-BJN3RfLu.mjs";
6
6
  import { n as readFailureReportsInput } from "./insights-errors-Iy-lBaM7.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-api-CcdVDFWh.js
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-api-Bc9D4qft.js
8
8
  var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(createSsrRpc("0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97"));
9
9
  var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(createSsrRpc("b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3"));
10
10
  /** `insights()`'s defaults, for a server that does not report its periods. */
@@ -1,9 +1,9 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
4
4
  import { c as readUpdateFailuresInput } from "./insights-failures-BJN3RfLu.mjs";
5
5
  import { n as readFailureReportsInput } from "./insights-errors-Iy-lBaM7.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-Kylec5LO.js
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-DXQsUt7C.js
7
7
  var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
8
8
  id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
9
9
  name: "getUpdateFailuresRpc",
@@ -11,7 +11,7 @@ var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
11
11
  }, (opts) => getUpdateFailuresRpc.__executeServer(opts));
12
12
  var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(getUpdateFailuresRpc_createServerFn_handler, async ({ data }) => {
13
13
  const [{ prepareConfig }, { getUpdateFailuresReport }, { requireFeature }] = await Promise.all([
14
- import("./config.server-CNj7v_oj.mjs"),
14
+ import("./config.server-C8fR6mvH.mjs"),
15
15
  import("./updateFailures-z1IQy_4q.mjs"),
16
16
  import("./runtime.server-DsHqVqTr.mjs")
17
17
  ]);
@@ -25,7 +25,7 @@ var listFailureReportsRpc_createServerFn_handler = createServerRpc({
25
25
  }, (opts) => listFailureReportsRpc.__executeServer(opts));
26
26
  var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(listFailureReportsRpc_createServerFn_handler, async ({ data }) => {
27
27
  const [{ prepareConfig }, { listFailureReports }, { requireFeature }] = await Promise.all([
28
- import("./config.server-CNj7v_oj.mjs"),
28
+ import("./config.server-C8fR6mvH.mjs"),
29
29
  import("./failureReports-Bh22wois.mjs"),
30
30
  import("./runtime.server-DsHqVqTr.mjs")
31
31
  ]);
@@ -1,8 +1,8 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
4
4
  import { n as readRecoveryInput } from "./insights-recovery-BUuQdlA3.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-BmaWtbBk.js
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-DBqNdiBf.js
6
6
  function readBundleActivityInput(inputs) {
7
7
  if (!Array.isArray(inputs) || inputs.length > 20) throw new Error("Choose up to 20 bundles.");
8
8
  return inputs.map((input) => {
@@ -21,7 +21,7 @@ var getBundleActivityRpc_createServerFn_handler = createServerRpc({
21
21
  }, (opts) => getBundleActivityRpc.__executeServer(opts));
22
22
  var getBundleActivityRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleActivityInput).handler(getBundleActivityRpc_createServerFn_handler, async ({ data }) => {
23
23
  const [{ prepareConfig }, { getBundleActivity }, { requireFeature }] = await Promise.all([
24
- import("./config.server-CNj7v_oj.mjs"),
24
+ import("./config.server-C8fR6mvH.mjs"),
25
25
  import("./bundleActivity-0qFIcvqt.mjs"),
26
26
  import("./runtime.server-DsHqVqTr.mjs")
27
27
  ]);
@@ -1,10 +1,10 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-CxZn-H74.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-Da75AN8b.js
5
5
  /** The Insights reads, once the console's access check and the feature guard pass. */
6
6
  var insightsReads = async () => {
7
- const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CNj7v_oj.mjs"), import("./runtime.server-DsHqVqTr.mjs")]);
7
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-C8fR6mvH.mjs"), import("./runtime.server-DsHqVqTr.mjs")]);
8
8
  const { runtime } = await prepareConfig();
9
9
  return requireFeature(runtime, "insights");
10
10
  };
@@ -1,10 +1,10 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { O as Info } from "../_libs/lucide-react.mjs";
4
- import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-Vy5nEi8Y.mjs";
4
+ import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-CKddYGvq.mjs";
5
5
  import { C as isUUIDv7 } from "./dist-CbQbBIw-.mjs";
6
6
  import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C88s9jWF.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-search-C2LhlbGn.js
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-search-B4-SXcCH.js
8
8
  var import_react = /* @__PURE__ */ __toESM(require_react());
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  function InfoTooltip({ label, children }) {
@@ -1,9 +1,9 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
2
3
  import { A as ProgressTrack$1, j as ProgressRoot, k as ProgressIndicator$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { A as createSsrRpc, k as cn } from "./sidebar-Vy5nEi8Y.mjs";
4
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
4
+ import { A as createSsrRpc, k as cn } from "./sidebar-CKddYGvq.mjs";
5
5
  import { t as readAppUsageInput } from "./insights-usage-CHqvtehH.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-BeLEoamY.js
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-D3CGRSmp.js
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  function Progress$1({ className, children, value, ...props }) {
9
9
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProgressRoot, {
@@ -1,8 +1,8 @@
1
1
  import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
2
- import { t as consoleAccess } from "./console-access-BZMAlTLf.mjs";
2
+ import { t as consoleAccess } from "./console-access-BG-Ivs66.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
4
4
  import { t as readAppUsageInput } from "./insights-usage-CHqvtehH.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-DwZ14mP3.js
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-g7ozSHUJ.js
6
6
  var getAppUsageReportRpc_createServerFn_handler = createServerRpc({
7
7
  id: "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e",
8
8
  name: "getAppUsageReportRpc",
@@ -18,7 +18,7 @@ var getAppUsageReportRpc = createServerFn({ method: "GET" }).middleware([console
18
18
  };
19
19
  }).handler(getAppUsageReportRpc_createServerFn_handler, async ({ data }) => {
20
20
  const [{ prepareConfig }, { getAppUsageReport }, { requireFeature }] = await Promise.all([
21
- import("./config.server-CNj7v_oj.mjs"),
21
+ import("./config.server-C8fR6mvH.mjs"),
22
22
  import("./insightsUsage-COUG-_-U.mjs"),
23
23
  import("./runtime.server-DsHqVqTr.mjs")
24
24
  ]);
@@ -1,9 +1,9 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { r as requireConsoleFeature } from "./console-features-api-dRlRym9z.mjs";
3
- import { o as validateInsightsSearch } from "./insights-search-C2LhlbGn.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-INOpsEeu.js
5
- var $$splitComponentImporter = () => import("./insights-ZA_NOKZA.mjs");
6
- var $$splitNotFoundComponentImporter = () => import("./insights-b_L0NsHP.mjs");
2
+ import { r as requireConsoleFeature } from "./console-features-api-Ce-DK182.mjs";
3
+ import { o as validateInsightsSearch } from "./insights-search-B4-SXcCH.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-uwovZTtF.js
5
+ var $$splitComponentImporter = () => import("./insights-BSAGK25_.mjs");
6
+ var $$splitNotFoundComponentImporter = () => import("./insights-CRK38jG8.mjs");
7
7
  var Route = createFileRoute("/insights")({
8
8
  beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insightsAnalytics"),
9
9
  notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
@@ -1,9 +1,9 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { r as requireConsoleFeature } from "./console-features-api-dRlRym9z.mjs";
3
- import { a as validateDistributionSearch } from "./insights-search-C2LhlbGn.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-BTuB_95j.js
5
- var $$splitComponentImporter = () => import("./insights_.distribution-Bzfah5tn.mjs");
6
- var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-DZFBxoRc.mjs");
2
+ import { r as requireConsoleFeature } from "./console-features-api-Ce-DK182.mjs";
3
+ import { a as validateDistributionSearch } from "./insights-search-B4-SXcCH.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-DjiknYwI.js
5
+ var $$splitComponentImporter = () => import("./insights_.distribution-P7wqOqOT.mjs");
6
+ var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-W7XkAMpc.mjs");
7
7
  /** How a distribution row's bundle reads aloud. */
8
8
  /** The bundle an app version's native build shipped, by its ID. */
9
9
  var Route = createFileRoute("/insights_/distribution")({
@@ -1,19 +1,19 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
2
  import { $ as ArrowLeft, X as ArrowUpRight, m as RotateCw } from "../_libs/lucide-react.mjs";
3
- import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-Vy5nEi8Y.mjs";
4
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
3
+ import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-CKddYGvq.mjs";
4
+ import { a as Badge, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-wbyQffo0.mjs";
5
+ import { a as FieldLabel, t as Field } from "./field-BLeMxV0J.mjs";
5
6
  import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
6
- import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DuhIOlUm.mjs";
7
- import { a as Badge, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-Cvc2HDY0.mjs";
8
- import { a as FieldLabel, t as Field } from "./field-BmWKFwzK.mjs";
9
- import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-C2LhlbGn.mjs";
10
- import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-CcdVDFWh.mjs";
11
- import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-DUA8n8TW.mjs";
12
- import { t as BundleIdDisplay } from "./BundleIdDisplay-wYkCX9jM.mjs";
13
- import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-BeLEoamY.mjs";
14
- import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-SbCzdZ2v.mjs";
15
- import { t as Route } from "./insights_.distribution-BTuB_95j.mjs";
16
- //#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-Bzfah5tn.js
7
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
8
+ import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-qUvT7Pba.mjs";
9
+ import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-B4-SXcCH.mjs";
10
+ import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-Bc9D4qft.mjs";
11
+ import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-DDBhOGhk.mjs";
12
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-D4pyPNyZ.mjs";
13
+ import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-D3CGRSmp.mjs";
14
+ import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-Dfvtbf7V.mjs";
15
+ import { t as Route } from "./insights_.distribution-DjiknYwI.mjs";
16
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-P7wqOqOT.js
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var PAGE_SIZE = 20;
19
19
  var dates = new Intl.DateTimeFormat("en", {
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Cxd2INvG.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-DZFBxoRc.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DlYKYy2U.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-W7XkAMpc.js
3
3
  /** How a distribution row's bundle reads aloud. */
4
4
  /** The bundle an app version's native build shipped, by its ID. */
5
5
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;