@hot-updater/console 1.2.0-rc.41 → 1.2.0-rc.43

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 (143) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/ChannelPicker-Ck8vBdjI.js +1 -0
  3. package/.output/public/assets/{CompositeItem-B7uxFM46.js → CompositeItem-UhIlCBg4.js} +1 -1
  4. package/.output/public/assets/EventDetails-BGglj3Ap.js +1 -0
  5. package/.output/public/assets/{InsightsPageHeader-BjUAikRe.js → InsightsPageHeader-ypKKV3rL.js} +1 -1
  6. package/.output/public/assets/{IosInstall-B5IdjCP2.js → IosInstall-DvV3pRKv.js} +1 -1
  7. package/.output/public/assets/{NativeBuildsNav-BKdnlKMN.js → NativeBuildsNav-ChBahvFN.js} +1 -1
  8. package/.output/public/assets/api-B-1SpJeB.js +1 -0
  9. package/.output/public/assets/chevron-down-BkoJHAll.js +1 -0
  10. package/.output/public/assets/index-BHt1lVdq.js +10 -0
  11. package/.output/public/assets/insights-CSHfYaU4.js +2 -0
  12. package/.output/public/assets/insights-api-C4Dmm34n.js +1 -0
  13. package/.output/public/assets/{insights-fSY6n4k3.js → insights-nnyldFdS.js} +1 -1
  14. package/.output/public/assets/{insights-search-CZtvD-Vf.js → insights-search-CfbhmuFL.js} +1 -1
  15. package/.output/public/assets/{insights_.distribution-Cws8lYLC.js → insights_.distribution-7l1cAZVo.js} +1 -1
  16. package/.output/public/assets/insights_.distribution-CzuSRyqb.js +2 -0
  17. package/.output/public/assets/installations-BHWbfpbI.js +1 -0
  18. package/.output/public/assets/installations-DlTdbNgY.js +2 -0
  19. package/.output/public/assets/native-builds-DDTZlyLe.js +1 -0
  20. package/.output/public/assets/native-builds-DhwYkLmx.js +2 -0
  21. package/.output/public/assets/native-builds_._buildId-2cLz1YM1.js +2 -0
  22. package/.output/public/assets/native-builds_._buildId-C4ZAkDN_.js +1 -0
  23. package/.output/public/assets/native-builds_.devices-Bet7RN0x.js +2 -0
  24. package/.output/public/assets/{native-builds_.devices-DF3g--dt.js → native-builds_.devices-C0ebsrcu.js} +1 -1
  25. package/.output/public/assets/{remote-config-Dm1MCHDN.js → remote-config-C7grLPjp.js} +1 -1
  26. package/.output/public/assets/remote-config-DfUXmtPZ.js +6 -0
  27. package/.output/public/assets/routes-BHP1sMv1.js +1 -0
  28. package/.output/public/assets/routes-C047Z4F3.js +2 -0
  29. package/.output/public/assets/select-iSWTEY9t.js +1 -0
  30. package/.output/public/assets/styles-CiSUsSSk.css +2 -0
  31. package/.output/public/assets/{switch-CI393qIT.js → switch-ByNYRVTN.js} +1 -1
  32. package/.output/public/assets/{tabs-BnpNC0zf.js → tabs-Byfy8Qls.js} +1 -1
  33. package/.output/public/assets/useCompositeListItem-BEDqZ9Ni.js +1 -0
  34. package/.output/server/{__23tanstack-start-server-fn-resolver-76SKGuoc.mjs → __23tanstack-start-server-fn-resolver-Di97E0sc.mjs} +58 -58
  35. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  36. package/.output/server/_libs/_.mjs +1 -1
  37. package/.output/server/_ssr/{BundleIdDisplay-By3CbbRM.mjs → BundleIdDisplay-DQxYhm-N.mjs} +2 -2
  38. package/.output/server/_ssr/{ChannelBadge-CDup7l56.mjs → ChannelBadge-CP-TWSyB.mjs} +3 -3
  39. package/.output/server/_ssr/{ChannelPicker-Du2TmP3P.mjs → ChannelPicker-D6zw--W3.mjs} +4 -4
  40. package/.output/server/_ssr/{ConsoleFeatureUnavailable-C6aGoKDE.mjs → ConsoleFeatureUnavailable-Dl-Fl5Og.mjs} +6 -6
  41. package/.output/server/_ssr/{EventDetails-VbcnMnSs.mjs → EventDetails-DZRx0V4a.mjs} +6 -6
  42. package/.output/server/_ssr/{HashValueDisplay-CnC2fHER.mjs → HashValueDisplay-DScPLPS8.mjs} +2 -2
  43. package/.output/server/_ssr/{InsightsPageHeader-BuOanVZL.mjs → InsightsPageHeader-BjWFQX3i.mjs} +6 -6
  44. package/.output/server/_ssr/{IosInstall-BAFhW7Q9.mjs → IosInstall-CnKo3S9u.mjs} +7 -7
  45. package/.output/server/_ssr/{NativeBuildsNav-BoTu4aLF.mjs → NativeBuildsNav-hD5lklyI.mjs} +8 -7
  46. package/.output/server/_ssr/{NotFoundPage-Bz05xF5Q.mjs → NotFoundPage-DCAZbQLF.mjs} +2 -2
  47. package/.output/server/_ssr/{QrCode-DWshAW81.mjs → QrCode-CIAfd6iz.mjs} +2 -2
  48. package/.output/server/_ssr/{RelativeTime-D5kDQVn1.mjs → RelativeTime-BojzYLmu.mjs} +3 -3
  49. package/.output/server/_ssr/{RolloutPercentageBadge-Dwx7dEeQ.mjs → RolloutPercentageBadge-CoVlujKZ.mjs} +3 -3
  50. package/.output/server/_ssr/{RowReason-pVOWQ7t5.mjs → RowReason-B5lUGbHE.mjs} +4 -4
  51. package/.output/server/_ssr/{SandboxBadge-DFbUYwhO.mjs → SandboxBadge-eRsQxh3w.mjs} +2 -2
  52. package/.output/server/_ssr/{TargetDisplay-BtE5vntq.mjs → TargetDisplay-C-954ehl.mjs} +3 -3
  53. package/.output/server/_ssr/{alert-dialog-tcfkkNUX.mjs → alert-dialog-CucltJGZ.mjs} +1 -1
  54. package/.output/server/_ssr/{api-xOHZxbzu.mjs → api-Bvs1Zo6y.mjs} +3 -3
  55. package/.output/server/_ssr/{api-keys-Bm8uDp2u.mjs → api-keys-4ygc-JJ2.mjs} +2 -2
  56. package/.output/server/_ssr/{api-keys-12_U0SQM.mjs → api-keys-BuHPiQWI.mjs} +9 -9
  57. package/.output/server/_ssr/{api-keys-rpc-BxkfToWI.mjs → api-keys-rpc-Dnksoen-.mjs} +3 -3
  58. package/.output/server/_ssr/{api-rpc-TSnLWB7e.mjs → api-rpc-CINk1JMA.mjs} +12 -12
  59. package/.output/server/_ssr/{auth-rpc-D3w54vsW.mjs → auth-rpc-Ddr5UMAl.mjs} +4 -4
  60. package/.output/server/_ssr/{auth.server-a2eP6q5P.mjs → auth.server-Dre0Opn4.mjs} +102 -13
  61. package/.output/server/_ssr/{badge-DrfbN1n0.mjs → badge-Bi4Y5qRl.mjs} +1 -1
  62. package/.output/server/_ssr/{card-DEItjgKG.mjs → card-ByVzQmTy.mjs} +1 -1
  63. package/.output/server/_ssr/{config.server-K8dd4dRv.mjs → config.server-CWANXCvN.mjs} +3 -3
  64. package/.output/server/_ssr/{console-access-D-DHU4YH.mjs → console-access-DuVVXB19.mjs} +2 -2
  65. package/.output/server/_ssr/{console-features-api-Chy2PrzZ.mjs → console-features-api-qCbOD3ic.mjs} +5 -5
  66. package/.output/server/_ssr/{console-features-rpc-_31L0k1i.mjs → console-features-rpc-Ck6GST8b.mjs} +3 -3
  67. package/.output/server/_ssr/{dialog-SAl1vP74.mjs → dialog-DPodcY6g.mjs} +1 -1
  68. package/.output/server/_ssr/{empty-opJc9Fjw.mjs → empty-CiP4EN5d.mjs} +2 -2
  69. package/.output/server/_ssr/{field-D6Y7zDZd.mjs → field-PGo_pDtX.mjs} +2 -2
  70. package/.output/server/_ssr/{input-group-D2PvPRdm.mjs → input-group-BQoPYzEQ.mjs} +1 -1
  71. package/.output/server/_ssr/{insights-dWeLneo1.mjs → insights-BilJke9p.mjs} +20 -20
  72. package/.output/server/_ssr/{insights-vmCmvfXx.mjs → insights-EdozMYaS.mjs} +5 -5
  73. package/.output/server/_ssr/{insights-api-BPyvQert.mjs → insights-api-CRUlsyoh.mjs} +3 -3
  74. package/.output/server/_ssr/{insights-failures-rpc-D7M8-Et9.mjs → insights-failures-rpc-QISgmlSm.mjs} +4 -4
  75. package/.output/server/_ssr/{insights-recovery-rpc-BUMK4m4H.mjs → insights-recovery-rpc-D3asO-kT.mjs} +3 -3
  76. package/.output/server/_ssr/{insights-rpc-BZZ4U2Ll.mjs → insights-rpc-DVnKi1LU.mjs} +3 -3
  77. package/.output/server/_ssr/{insights-search-Czi553oN.mjs → insights-search-DTl9VUKf.mjs} +2 -2
  78. package/.output/server/_ssr/{insights-Cro4cYp7.mjs → insights-sooz-phW.mjs} +2 -2
  79. package/.output/server/_ssr/{insights-usage-rpc-HOr6mniz.mjs → insights-usage-rpc-DUskJzrq.mjs} +3 -3
  80. package/.output/server/_ssr/{insights-usage-rpc-BXvUr-z6.mjs → insights-usage-rpc-xX-9B1du.mjs} +3 -3
  81. package/.output/server/_ssr/{insights_.distribution-B2dxcCd_.mjs → insights_.distribution-BTlq0Jaq.mjs} +2 -2
  82. package/.output/server/_ssr/{insights_.distribution-B5V_NbK4.mjs → insights_.distribution-BvaiJBnX.mjs} +14 -14
  83. package/.output/server/_ssr/{insights_.distribution-DongF2jp.mjs → insights_.distribution-m7AkU8fV.mjs} +5 -5
  84. package/.output/server/_ssr/{installations-bieZA3xt.mjs → installations-Bx8kA-Ke.mjs} +11 -11
  85. package/.output/server/_ssr/{installations-B7w4LGJp.mjs → installations-CggqUqQz.mjs} +4 -4
  86. package/.output/server/_ssr/{installations-B84kSetd.mjs → installations-DOgCyxdC.mjs} +2 -2
  87. package/.output/server/_ssr/{ios-devices-rpc-DOQg4dpb.mjs → ios-devices-rpc-uewwfpWZ.mjs} +7 -7
  88. package/.output/server/_ssr/{iosDeviceCookie-DhWNFpC6.mjs → iosDeviceCookie-CLc4wP05.mjs} +3 -3
  89. package/.output/server/_ssr/{iosDeviceProfile-jC8w4zEF.mjs → iosDeviceProfile-BilG5zM5.mjs} +2 -2
  90. package/.output/server/_ssr/{iosDevices-B4kQLURA.mjs → iosDevices-Cc0qE1gW.mjs} +2 -2
  91. package/.output/server/_ssr/{native-builds-zpCsEYyA.mjs → native-builds-Bp7j5uXS.mjs} +2 -2
  92. package/.output/server/_ssr/{native-builds-BU9Njiwm.mjs → native-builds-C-vxNqdJ.mjs} +14 -14
  93. package/.output/server/_ssr/{native-builds_._buildId-RHUotAYb.mjs → native-builds_._buildId-9bx3_XQ2.mjs} +60 -26
  94. package/.output/server/_ssr/{native-builds_._buildId-BJ4R32fq.mjs → native-builds_._buildId-BORxwOTj.mjs} +2 -2
  95. package/.output/server/_ssr/{native-builds_.devices-C0IlQkLv.mjs → native-builds_.devices-C9WscI5E.mjs} +2 -2
  96. package/.output/server/_ssr/{native-builds_.devices-D1Ke-Fc-.mjs → native-builds_.devices-CUafAj_X.mjs} +16 -16
  97. package/.output/server/_ssr/{nativeBuildDownloadLink-MCd5xUqP.mjs → nativeBuildDownloadLink-DJNy6tr6.mjs} +2 -2
  98. package/.output/server/_ssr/{nativeBuildInstall-DcsqDS-O.mjs → nativeBuildInstall-bJHsfQpY.mjs} +4 -4
  99. package/.output/server/_ssr/{nativeBuilds-CRa36wNn.mjs → nativeBuilds-S1_ZcH6M.mjs} +8 -5
  100. package/.output/server/_ssr/{release-adoption-rpc-C4G_d8qK.mjs → release-adoption-rpc-BmzvBFQR.mjs} +5 -5
  101. package/.output/server/_ssr/{remote-config-1QZ0HgEu.mjs → remote-config-C8gMUot7.mjs} +2 -2
  102. package/.output/server/_ssr/{remote-config-CsbpqWAR.mjs → remote-config-CZNuR1MR.mjs} +18 -18
  103. package/.output/server/_ssr/{remote-config-DkgBxBka.mjs → remote-config-CyOkNk-G.mjs} +2 -2
  104. package/.output/server/_ssr/{remote-config-rpc-KjJA9DC-.mjs → remote-config-rpc-DRtGMy4r.mjs} +3 -3
  105. package/.output/server/_ssr/{router-Dy3fmb8q.mjs → router-C-4VNx1_.mjs} +35 -35
  106. package/.output/server/_ssr/{routes-68rZQGee.mjs → routes-8xr_pKpa.mjs} +23 -23
  107. package/.output/server/_ssr/{routes-Ug9uqzob.mjs → routes-Bsx6TIVQ.mjs} +10 -10
  108. package/.output/server/_ssr/{schema-migration-rpc-kntY9oPm.mjs → schema-migration-rpc-Blg-OnSu.mjs} +3 -3
  109. package/.output/server/_ssr/{select-BOKFFr_G.mjs → select-CBTbx_SM.mjs} +1 -1
  110. package/.output/server/_ssr/{server-DetMvRBJ.mjs → server-C9cse1Jz.mjs} +3 -3
  111. package/.output/server/_ssr/{sidebar-B46houn0.mjs → sidebar-C7hMYecb.mjs} +2 -2
  112. package/.output/server/_ssr/ssr.mjs +1 -1
  113. package/.output/server/_ssr/{switch-BMYzd71j.mjs → switch-CnKohTF2.mjs} +2 -2
  114. package/.output/server/_ssr/{table-DWrYwJ_a.mjs → table-Bsc5jVIe.mjs} +1 -1
  115. package/.output/server/_ssr/{tabs-DusHAcYy.mjs → tabs-BXTMWLJg.mjs} +2 -2
  116. package/.output/server/{_tanstack-start-manifest_v-CD1q5k0m.mjs → _tanstack-start-manifest_v-Dm__dcXw.mjs} +40 -39
  117. package/.output/server/index.mjs +237 -237
  118. package/package.json +7 -7
  119. package/src/components/features/native-builds/InstallCard.tsx +64 -4
  120. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +6 -3
  121. package/src/components/features/native-builds/NativeBuildsNav.tsx +4 -3
  122. package/src/lib/server/nativeBuilds.ts +14 -2
  123. package/.output/public/assets/ChannelPicker-BQKoyxnf.js +0 -1
  124. package/.output/public/assets/EventDetails-CWiI1CXb.js +0 -1
  125. package/.output/public/assets/api-eO-sq3Jd.js +0 -1
  126. package/.output/public/assets/index-Ck4fZq4M.js +0 -10
  127. package/.output/public/assets/insights-api-D4-FZeEI.js +0 -1
  128. package/.output/public/assets/insights-osTmFzzR.js +0 -2
  129. package/.output/public/assets/insights_.distribution-DpppHhaU.js +0 -2
  130. package/.output/public/assets/installations-Byojb0Rv.js +0 -2
  131. package/.output/public/assets/installations-CFGDrY-W.js +0 -1
  132. package/.output/public/assets/native-builds-C4u6JvxV.js +0 -2
  133. package/.output/public/assets/native-builds-D9hoJd6W.js +0 -1
  134. package/.output/public/assets/native-builds_._buildId-CXx2xjoI.js +0 -1
  135. package/.output/public/assets/native-builds_._buildId-DymsEZlO.js +0 -2
  136. package/.output/public/assets/native-builds_.devices-QToUV8FB.js +0 -2
  137. package/.output/public/assets/preload-helper-CE9OukVC.js +0 -1
  138. package/.output/public/assets/remote-config-BJJAxy_g.js +0 -6
  139. package/.output/public/assets/routes-9gxYg__u.js +0 -1
  140. package/.output/public/assets/routes-CUsayL0T.js +0 -2
  141. package/.output/public/assets/select-Bk52fOVX.js +0 -1
  142. package/.output/public/assets/styles-C1iqL6CR.css +0 -2
  143. package/.output/public/assets/useCompositeListItem-Cbk_weKW.js +0 -1
@@ -1,11 +1,11 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
3
- import { A as createSsrRpc } from "./sidebar-B46houn0.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-C7hMYecb.mjs";
3
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
4
4
  import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
5
5
  import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
6
6
  import { u as channelIdOf } from "./native-builds-lEyKQemV.mjs";
7
7
  import { n as readReleaseFilter } from "./listReleases-QF91GLE7.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-xOHZxbzu.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-Bvs1Zo6y.js
9
9
  /** The bounds of a fold, checked: IDs as text. */
10
10
  var readFoldInput = (input) => {
11
11
  const text = (value) => typeof value === "string" && value !== "";
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-C6aGoKDE.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Bm8uDp2u.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Dl-Fl5Og.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-4ygc-JJ2.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,18 +1,18 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
4
3
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
5
4
  import { D as LoaderCircle, H as Clipboard, Z as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
6
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-B46houn0.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-DEItjgKG.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DrfbN1n0.mjs";
9
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-D6Y7zDZd.mjs";
10
- import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-tcfkkNUX.mjs";
11
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-SAl1vP74.mjs";
12
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DWrYwJ_a.mjs";
5
+ import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-C7hMYecb.mjs";
6
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
13
7
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
8
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-ByVzQmTy.mjs";
9
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Bi4Y5qRl.mjs";
10
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-PGo_pDtX.mjs";
11
+ import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-CucltJGZ.mjs";
12
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DPodcY6g.mjs";
13
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bsc5jVIe.mjs";
14
14
  import { n as toast } from "../_libs/sonner.mjs";
15
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-12_U0SQM.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-BuHPiQWI.js
16
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var parseName = (input) => {
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
2
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-BxkfToWI.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-Dnksoen-.js
5
5
  var parseName = (input) => {
6
6
  const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
7
7
  if (typeof name !== "string") throw new TypeError("API key name must be a string.");
@@ -14,7 +14,7 @@ var parseId = (input) => {
14
14
  };
15
15
  /** API key management, once the console's access check and the feature guard pass. */
16
16
  var apiKeyManagement = async () => {
17
- const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-K8dd4dRv.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CWANXCvN.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };
@@ -1,12 +1,12 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
2
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
4
  import { i as rowToBundle } from "./databaseRows-BZMFl5QV.mjs";
5
5
  import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
6
6
  import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
7
7
  import { N as releaseNativeBuildScope, u as channelIdOf } from "./native-builds-lEyKQemV.mjs";
8
8
  import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-QF91GLE7.mjs";
9
- //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-TSnLWB7e.js
9
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-CINk1JMA.js
10
10
  var withPublicBundleMutationErrors = async (action) => {
11
11
  try {
12
12
  return await action();
@@ -26,7 +26,7 @@ var readFoldInput = (input) => {
26
26
  };
27
27
  };
28
28
  var prepare = async () => {
29
- const { prepareConfig } = await import("./config.server-K8dd4dRv.mjs");
29
+ const { prepareConfig } = await import("./config.server-CWANXCvN.mjs");
30
30
  return prepareConfig();
31
31
  };
32
32
  var getReleases_createServerFn_handler = createServerRpc({
@@ -225,7 +225,7 @@ var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAcces
225
225
  ...input?.after === void 0 ? {} : { after: input.after },
226
226
  ...channelIdFilter(input?.channel)
227
227
  })).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
228
- const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
228
+ const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-S1_ZcH6M.mjs")]);
229
229
  return listNativeBuildFolds(core, data);
230
230
  });
231
231
  var getNativeBuildFold_createServerFn_handler = createServerRpc({
@@ -237,7 +237,7 @@ var getNativeBuildFold = createServerFn({ method: "GET" }).middleware([consoleAc
237
237
  ...channelIdFilter(input.channel),
238
238
  ...readFoldInput(input)
239
239
  })).handler(getNativeBuildFold_createServerFn_handler, async ({ data }) => {
240
- const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
240
+ const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-S1_ZcH6M.mjs")]);
241
241
  return readNativeBuildFold(core, data);
242
242
  });
243
243
  var getNativeBuildDetail_createServerFn_handler = createServerRpc({
@@ -246,7 +246,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
246
246
  filename: "src/lib/api-rpc.ts"
247
247
  }, (opts) => getNativeBuildDetail.__executeServer(opts));
248
248
  var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
249
- const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
249
+ const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-S1_ZcH6M.mjs")]);
250
250
  return readNativeBuildDetail(core, data.id);
251
251
  });
252
252
  var getNativeBuildPatches_createServerFn_handler = createServerRpc({
@@ -259,7 +259,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
259
259
  ...input.before === void 0 ? {} : { before: input.before },
260
260
  ...input.after === void 0 ? {} : { after: input.after }
261
261
  })).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
262
- const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
262
+ const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-S1_ZcH6M.mjs")]);
263
263
  return listNativeBuildPatches(core, minBundleId, {
264
264
  ...page,
265
265
  limit: NATIVE_BUILD_PATCH_PAGE_SIZE
@@ -288,7 +288,7 @@ var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
288
288
  filename: "src/lib/api-rpc.ts"
289
289
  }, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
290
290
  var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
291
- const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
291
+ const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-S1_ZcH6M.mjs")]);
292
292
  return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
293
293
  });
294
294
  var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
@@ -297,7 +297,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
297
297
  filename: "src/lib/api-rpc.ts"
298
298
  }, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
299
299
  var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
300
- const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-MCd5xUqP.mjs");
300
+ const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-DJNy6tr6.mjs");
301
301
  return issueNativeBuildDownloadLink(data.id);
302
302
  });
303
303
  var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
@@ -306,12 +306,12 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
306
306
  filename: "src/lib/api-rpc.ts"
307
307
  }, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
308
308
  var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
309
- const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-DcsqDS-O.mjs")]);
309
+ const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-bJHsfQpY.mjs")]);
310
310
  return checkNativeBuildInstall(data.id, data.udid, deps, { canApprove: async () => {
311
311
  const [{ getRequest }, { requireConsoleAccess }, { iosDeviceViewer }] = await Promise.all([
312
312
  import("../_libs/_.mjs").then((n) => n.t),
313
- import("./auth.server-a2eP6q5P.mjs"),
314
- import("./iosDevices-B4kQLURA.mjs")
313
+ import("./auth.server-Dre0Opn4.mjs"),
314
+ import("./iosDevices-Cc0qE1gW.mjs")
315
315
  ]);
316
316
  return (await iosDeviceViewer(await requireConsoleAccess(getRequest()), deps.config.deviceApprovers)).canApprove;
317
317
  } });
@@ -1,14 +1,14 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
2
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
3
- import { i as getRequest } from "./server-DetMvRBJ.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-D3w54vsW.js
3
+ import { i as getRequest } from "./server-C9cse1Jz.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-Ddr5UMAl.js
5
5
  var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
6
6
  id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
7
7
  name: "getConsoleAccessRpc",
8
8
  filename: "src/lib/auth-rpc.ts"
9
9
  }, (opts) => getConsoleAccessRpc.__executeServer(opts));
10
10
  var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
11
- const { getConsoleAccess } = await import("./auth.server-a2eP6q5P.mjs");
11
+ const { getConsoleAccess } = await import("./auth.server-Dre0Opn4.mjs");
12
12
  return getConsoleAccess(getRequest());
13
13
  });
14
14
  var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
17
17
  filename: "src/lib/auth-rpc.ts"
18
18
  }, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
19
19
  var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
20
- const { getConsoleAuthProviders } = await import("./auth.server-a2eP6q5P.mjs");
20
+ const { getConsoleAuthProviders } = await import("./auth.server-Dre0Opn4.mjs");
21
21
  return getConsoleAuthProviders(getRequest());
22
22
  });
23
23
  //#endregion
@@ -9,7 +9,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
9
9
  import { t as isRemoteDatabase } from "./databaseConfig-B56IJxlu.mjs";
10
10
  import { n as defineTable, t as defineAggregate } from "./schema-CaIuQCXb.mjs";
11
11
  import { r as rangesIntersect } from "../_libs/verkit.mjs";
12
- //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-a2eP6q5P.js
12
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-Dre0Opn4.js
13
13
  var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
14
14
  var isContentAddressedAssetFileHash = (value) => {
15
15
  return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
@@ -1143,6 +1143,10 @@ var nativeBuilds = defineTable({
1143
1143
  eq: ["scope_key", "build_key"],
1144
1144
  sort: ["id"]
1145
1145
  },
1146
+ byScopeKind: {
1147
+ eq: ["scope_key", "artifact_kind"],
1148
+ sort: ["id"]
1149
+ },
1146
1150
  byStoreBuild: {
1147
1151
  eq: ["store_build_scope_key"],
1148
1152
  sort: [],
@@ -2957,7 +2961,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
2957
2961
  flush: () => engine.flush()
2958
2962
  };
2959
2963
  };
2960
- var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.41";
2964
+ var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.43";
2961
2965
  /**
2962
2966
  * `/version` on both mounts. The admin mount also lists the ids of the
2963
2967
  * plugins the server runs, sorted; apps never learn which plugins a server
@@ -4281,6 +4285,51 @@ var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersi
4281
4285
  if (!Number.isSafeInteger(artifact.byteSize) || artifact.byteSize < 0) return "artifact.byteSize must be a byte count";
4282
4286
  return null;
4283
4287
  };
4288
+ /** The other install target of an iOS sandbox build's native code. */
4289
+ var SIBLING_KINDS = {
4290
+ app: "ipa",
4291
+ ipa: "app"
4292
+ };
4293
+ /**
4294
+ * Whether a build is one a person installs from its file: a Simulator `.app`,
4295
+ * or an `.ipa` exported for direct install, that no store took and that isn't
4296
+ * the store build. One rule for a sibling and the build it is found from, so
4297
+ * a build that shows its sibling is shown by it.
4298
+ */
4299
+ var isInstallTarget = (build) => !build.is_store_build && build.submitted_to === null && (build.artifact_kind === "app" || build.artifact_kind === "ipa" && build.export_method !== null && build.export_method !== "app-store");
4300
+ /**
4301
+ * The scope key of the other install target of a sandbox build, from its own
4302
+ * key's app ID and URL scheme, which hold no colon, and its row's fingerprint
4303
+ * or app version, through `sandboxScopeKey`; null for a key it didn't make.
4304
+ */
4305
+ var siblingSandboxScopeKey = (build, artifactKind) => {
4306
+ const [version, sandbox, platform, appId, urlScheme] = build.scope_key.split(":");
4307
+ if (version !== "v1" || sandbox !== "sandbox" || platform !== build.platform || appId === void 0 || urlScheme === void 0) return null;
4308
+ const target = build.fingerprint_hash === null ? {
4309
+ platform: build.platform,
4310
+ fingerprintHash: null,
4311
+ appVersion: build.app_version ?? ""
4312
+ } : {
4313
+ platform: build.platform,
4314
+ fingerprintHash: build.fingerprint_hash,
4315
+ appVersion: null
4316
+ };
4317
+ try {
4318
+ return sandboxScopeKey(target, {
4319
+ appId,
4320
+ urlScheme,
4321
+ artifactKind: build.artifact_kind,
4322
+ distribution: registeredDistribution(build.artifact_kind, build.export_method)
4323
+ }) === build.scope_key ? sandboxScopeKey(target, {
4324
+ appId,
4325
+ urlScheme,
4326
+ artifactKind,
4327
+ distribution: "direct"
4328
+ }) : null;
4329
+ } catch {
4330
+ return null;
4331
+ }
4332
+ };
4284
4333
  /** The native build registry: core's `native_builds` and the built-in bundle rows. */
4285
4334
  var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
4286
4335
  async registerNativeBuild(registration) {
@@ -4349,9 +4398,12 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
4349
4398
  const scopeKey = nativeBuildScopeKey(scope);
4350
4399
  const buildKey = options?.buildKey;
4351
4400
  if (buildKey !== void 0 && !BUILD_KEY.test(buildKey)) throw new NativeBuildInputError("Invalid native build key: it must be nbk1: and a SHA-256.");
4401
+ const artifactKind = options?.artifactKind;
4402
+ if (artifactKind !== void 0 && !ARTIFACT_KINDS[scope.platform].includes(artifactKind)) throw new NativeBuildInputError(`Invalid native build kind: an ${scope.platform} build is ${ARTIFACT_KINDS[scope.platform].join(" or ")}.`);
4403
+ const ofKind = (row) => artifactKind === void 0 || row.artifact_kind === artifactKind;
4352
4404
  if (options?.storeBuild) {
4353
4405
  const marked = await db.findOne("native_builds", { store_build_scope_key: scopeKey });
4354
- return marked === null ? null : pick(marked);
4406
+ return marked === null || !ofKind(marked) ? null : pick(marked);
4355
4407
  }
4356
4408
  const read = (limit, before) => {
4357
4409
  const page = {
@@ -4359,34 +4411,60 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
4359
4411
  limit,
4360
4412
  ...before === void 0 ? {} : { range: { lt: before } }
4361
4413
  };
4362
- return buildKey === void 0 ? db.findMany("native_builds", {
4363
- index: "byScope",
4364
- where: { scope_key: scopeKey },
4365
- ...page
4366
- }) : db.findMany("native_builds", {
4414
+ return buildKey !== void 0 ? db.findMany("native_builds", {
4367
4415
  index: "byBuildKey",
4368
4416
  where: {
4369
4417
  scope_key: scopeKey,
4370
4418
  build_key: buildKey
4371
4419
  },
4372
4420
  ...page
4421
+ }) : artifactKind !== void 0 ? db.findMany("native_builds", {
4422
+ index: "byScopeKind",
4423
+ where: {
4424
+ scope_key: scopeKey,
4425
+ artifact_kind: artifactKind
4426
+ },
4427
+ ...page
4428
+ }) : db.findMany("native_builds", {
4429
+ index: "byScope",
4430
+ where: { scope_key: scopeKey },
4431
+ ...page
4373
4432
  });
4374
4433
  };
4375
4434
  const bundleId = options?.builtInOlderThan;
4376
4435
  if (bundleId !== void 0 && scope.sandbox !== void 0 && scope.sandbox !== null) return null;
4377
4436
  const { rows } = await read(1);
4378
- const newest = rows[0];
4379
- if (newest === void 0) return null;
4380
- if (bundleId === void 0 || newest.min_bundle_id < bundleId) return pick(newest);
4437
+ const newest = (rows[0] === void 0 ? void 0 : pick(rows[0])) ?? (artifactKind !== void 0 && buildKey === void 0 ? await db.findMany("native_builds", {
4438
+ index: "byScope",
4439
+ where: { scope_key: scopeKey },
4440
+ order: "desc",
4441
+ limit: 1
4442
+ }).then(({ rows: [row] }) => row?.artifact_kind === artifactKind ? pick(row) : void 0) : void 0);
4443
+ if (newest === void 0 || !ofKind(newest)) return null;
4444
+ if (bundleId === void 0 || newest.min_bundle_id < bundleId) return newest;
4381
4445
  for (let before = newest.id;;) {
4382
4446
  const { rows: older } = await read(OLDER_BUILDS_PAGE, before);
4383
4447
  const usable = older.find(({ min_bundle_id }) => min_bundle_id < bundleId);
4384
- if (usable !== void 0) return pick(usable);
4448
+ if (usable !== void 0) return ofKind(usable) ? pick(usable) : null;
4385
4449
  const last = older.at(-1);
4386
4450
  if (older.length < OLDER_BUILDS_PAGE || last === void 0) return null;
4387
4451
  before = last.id;
4388
4452
  }
4389
4453
  },
4454
+ async findNativeBuildSibling(build) {
4455
+ const artifactKind = SIBLING_KINDS[build.artifact_kind];
4456
+ if (build.platform !== "ios" || !build.is_sandbox || artifactKind === void 0 || !isInstallTarget(build)) return null;
4457
+ const scopeKey = siblingSandboxScopeKey(build, artifactKind);
4458
+ if (scopeKey === null) return null;
4459
+ const { rows } = await db.findMany("native_builds", {
4460
+ index: "byScope",
4461
+ where: { scope_key: scopeKey },
4462
+ order: "desc",
4463
+ limit: 1
4464
+ });
4465
+ const sibling = rows[0] === void 0 ? null : pick(rows[0]);
4466
+ return sibling !== null && isInstallTarget(sibling) ? sibling : null;
4467
+ },
4390
4468
  async recordNativeBuildSubmission(id, { destination, version }) {
4391
4469
  if (version.trim().length === 0 || version.length > SUBMITTED_VERSION_MAX_LENGTH) throw new NativeBuildInputError(`Invalid native build submission: version must be the store's label of the build, up to ${SUBMITTED_VERSION_MAX_LENGTH} characters.`);
4392
4470
  return db.transaction(async (tx) => {
@@ -5547,13 +5625,19 @@ var createAdminRouteHandlers = () => ({
5547
5625
  const scope = nativeBuildScopeOf(url);
5548
5626
  const buildKey = url.searchParams.get("buildKey");
5549
5627
  const builtInOlderThan = url.searchParams.get("builtInOlderThan");
5628
+ const kind = url.searchParams.get("kind");
5550
5629
  const options = {
5551
5630
  ...buildKey === null ? {} : { buildKey },
5552
5631
  ...url.searchParams.get("storeBuild") === "true" ? { storeBuild: true } : {},
5553
- ...builtInOlderThan === null ? {} : { builtInOlderThan }
5632
+ ...builtInOlderThan === null ? {} : { builtInOlderThan },
5633
+ ...kind === null ? {} : { artifactKind: kind }
5554
5634
  };
5555
5635
  return json({ data: await refusingInvalid(() => Object.keys(options).length === 0 ? core.findNativeBuild(scope) : core.findNativeBuild(scope, options)) });
5556
5636
  }),
5637
+ findNativeBuildSibling: onCore(async (core, _request, params) => {
5638
+ const build = await core.getNativeBuild(requireRouteParam(params, "id"));
5639
+ return json({ data: build === null ? null : await core.findNativeBuildSibling(build) });
5640
+ }),
5557
5641
  getNativeBuild: onCore(async (core, _request, params) => json({ data: await core.getNativeBuild(requireRouteParam(params, "id")) })),
5558
5642
  listNativeBuilds: onCore(async (core, request) => {
5559
5643
  const url = new URL(request.url);
@@ -5785,6 +5869,11 @@ var ADMIN_ROUTES = [
5785
5869
  path: "/native-builds/latest",
5786
5870
  handler: "findNativeBuild"
5787
5871
  },
5872
+ {
5873
+ method: "GET",
5874
+ path: "/native-builds/:id/sibling",
5875
+ handler: "findNativeBuildSibling"
5876
+ },
5788
5877
  {
5789
5878
  method: "GET",
5790
5879
  path: "/native-builds/:id",
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, ft as useRender, wt as mergeProps } 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-B46houn0.mjs";
4
+ import { k as cn } from "./sidebar-C7hMYecb.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  var alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-lg border px-2 py-1.5 text-left text-xs/relaxed has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-1.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-3.5", {
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn } from "./sidebar-B46houn0.mjs";
3
+ import { k as cn } from "./sidebar-C7hMYecb.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function Card({ className, ...props }) {
@@ -1,6 +1,6 @@
1
- import { i as getRequest } from "./server-DetMvRBJ.mjs";
2
- import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-a2eP6q5P.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/config.server-K8dd4dRv.js
1
+ import { i as getRequest } from "./server-C9cse1Jz.mjs";
2
+ import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-Dre0Opn4.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/config.server-CWANXCvN.js
4
4
  var configPromise = null;
5
5
  var core = null;
6
6
  var runtime = null;
@@ -1,5 +1,5 @@
1
1
  import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/console-access-D-DHU4YH.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-access-DuVVXB19.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 { t as createMiddleware } from "./createMiddleware-C3ACsfuG.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("../_libs/_.mjs").then((n) => n.t), import("./auth.server-a2eP6q5P.mjs")]);
12
+ const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-Dre0Opn4.mjs")]);
13
13
  await requireConsoleAccess(getRequest());
14
14
  return next();
15
15
  });
@@ -1,10 +1,10 @@
1
- import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
3
- import { A as createSsrRpc } from "./sidebar-B46houn0.mjs";
4
- import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
5
1
  import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
2
+ import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-C7hMYecb.mjs";
4
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
6
5
  import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-Chy2PrzZ.js
6
+ 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-qCbOD3ic.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 { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
2
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-_31L0k1i.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-Ck6GST8b.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-K8dd4dRv.mjs");
11
+ const { prepareConfig } = await import("./config.server-CWANXCvN.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 { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle$1, ct as DialogPopup, dt as DialogBackdrop, it as DialogTrigger$1, lt as DialogDescription$1, ot as DialogRoot, st as DialogPortal$1, ut as DialogClose } 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-B46houn0.mjs";
4
+ import { k as cn, t as Button$1 } from "./sidebar-C7hMYecb.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 { Tt 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-B46houn0.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/empty-opJc9Fjw.js
3
+ import { k as cn } from "./sidebar-C7hMYecb.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/empty-CiP4EN5d.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 { Et as require_react, Tt 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-B46houn0.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/field-D6Y7zDZd.js
4
+ import { k as cn } from "./sidebar-C7hMYecb.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/field-PGo_pDtX.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 { Et as require_react, Tt 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-B46houn0.mjs";
4
+ import { k as cn, n as Input, t as Button$1 } from "./sidebar-C7hMYecb.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Textarea({ className, ...props }) {
@@ -1,38 +1,38 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
4
3
  import { Et as require_react, Tt as require_jsx_runtime, d as ScrollAreaThumb, f as ScrollAreaScrollbar, m as ScrollAreaRoot, p as ScrollAreaViewport, u as ScrollAreaCorner } from "../_libs/@base-ui/react+[...].mjs";
5
4
  import { J as ChevronRight, O as List, V as Copy, W as CircleOff, _ as RefreshCw, g as RotateCcw, h as RotateCw, i as TriangleAlert, nt as ArrowUpRight, r as Undo2, rt as ArrowRight, t as X } from "../_libs/lucide-react.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-B46houn0.mjs";
7
- import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-DEItjgKG.mjs";
8
- import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-DrfbN1n0.mjs";
9
- 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-tcfkkNUX.mjs";
10
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DWrYwJ_a.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-C7hMYecb.mjs";
6
+ import { t as consoleAccess } from "./console-access-DuVVXB19.mjs";
7
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
11
8
  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-CiP4EN5d.mjs";
10
+ import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-ByVzQmTy.mjs";
11
+ import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Bi4Y5qRl.mjs";
12
+ 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-CucltJGZ.mjs";
13
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bsc5jVIe.mjs";
12
14
  import { n as toast } from "../_libs/sonner.mjs";
13
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
14
- import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-opJc9Fjw.mjs";
15
15
  import { s as isUUIDv7 } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
16
16
  import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-Cdg3Msrj.mjs";
17
17
  import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-DGO2_3Vx.mjs";
18
18
  import { t as groupFailureReports } from "./insights-errors-DwUaDs0Z.mjs";
19
19
  import { n as usageMetrics } from "./insights-usage-BVm7CDw9.mjs";
20
20
  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-gfhE5tz5.mjs";
21
- import { r as comparedBundleIds, t as InfoTooltip } from "./insights-search-Czi553oN.mjs";
22
- import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-BPyvQert.mjs";
23
- import { _ as usePreflightReleaseMutation, w as useUpdateReleaseMutation } from "./api-xOHZxbzu.mjs";
21
+ import { r as comparedBundleIds, t as InfoTooltip } from "./insights-search-DTl9VUKf.mjs";
22
+ import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-CRUlsyoh.mjs";
23
+ import { _ as usePreflightReleaseMutation, w as useUpdateReleaseMutation } from "./api-Bvs1Zo6y.mjs";
24
24
  import { n as DEFAULT_CHANNEL } from "./constants-BjsJZqaU.mjs";
25
- import { t as Route } from "./insights-vmCmvfXx.mjs";
26
- import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-DusHAcYy.mjs";
25
+ import { t as Route } from "./insights-EdozMYaS.mjs";
26
+ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-BXTMWLJg.mjs";
27
27
  import { t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
28
- import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-BOKFFr_G.mjs";
29
- import { t as BundleIdDisplay } from "./BundleIdDisplay-By3CbbRM.mjs";
30
- import { a as ComboboxEmpty, c as ComboboxItem, d as ComboboxTrigger, f as FilterChip, i as ComboboxContent, l as ComboboxLabel, n as Combobox$1, o as ComboboxGroup, r as ComboboxCollection, s as ComboboxInput, t as ChannelPicker, u as ComboboxList } from "./ChannelPicker-Du2TmP3P.mjs";
31
- import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-HOr6mniz.mjs";
32
- import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-BuOanVZL.mjs";
33
- import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-VbcnMnSs.mjs";
28
+ import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-CBTbx_SM.mjs";
29
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-DQxYhm-N.mjs";
30
+ import { a as ComboboxEmpty, c as ComboboxItem, d as ComboboxTrigger, f as FilterChip, i as ComboboxContent, l as ComboboxLabel, n as Combobox$1, o as ComboboxGroup, r as ComboboxCollection, s as ComboboxInput, t as ChannelPicker, u as ComboboxList } from "./ChannelPicker-D6zw--W3.mjs";
31
+ import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-DUskJzrq.mjs";
32
+ import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-BjWFQX3i.mjs";
33
+ import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-DZRx0V4a.mjs";
34
34
  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";
35
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-dWeLneo1.js
35
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-BilJke9p.js
36
36
  var import_react = /* @__PURE__ */ __toESM(require_react());
37
37
  var import_jsx_runtime = require_jsx_runtime();
38
38
  var THEMES = {
@@ -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-Chy2PrzZ.mjs";
3
- import { a as validateInsightsSearch } from "./insights-search-Czi553oN.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-vmCmvfXx.js
5
- var $$splitComponentImporter = () => import("./insights-dWeLneo1.mjs");
6
- var $$splitNotFoundComponentImporter = () => import("./insights-Cro4cYp7.mjs");
2
+ import { r as requireConsoleFeature } from "./console-features-api-qCbOD3ic.mjs";
3
+ import { a as validateInsightsSearch } from "./insights-search-DTl9VUKf.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-EdozMYaS.js
5
+ var $$splitComponentImporter = () => import("./insights-BilJke9p.mjs");
6
+ var $$splitNotFoundComponentImporter = () => import("./insights-sooz-phW.mjs");
7
7
  var Route = createFileRoute("/insights")({
8
8
  beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insightsAnalytics"),
9
9
  notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
@@ -1,10 +1,10 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
3
- import { A as createSsrRpc } from "./sidebar-B46houn0.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-C7hMYecb.mjs";
3
+ import { t as consoleAccess } from "./console-access-DuVVXB19.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-DGO2_3Vx.mjs";
6
6
  import { n as readFailureReportsInput } from "./insights-errors-DwUaDs0Z.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-api-BPyvQert.js
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-api-CRUlsyoh.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. */