@hot-updater/console 1.2.0-rc.30 → 1.2.0-rc.32

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 (286) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/-native-builds-search-BvCftqF2.js +1 -0
  3. package/.output/public/assets/{BundleIdDisplay-CTBdtFQ8.js → BundleIdDisplay-D8oR8mcP.js} +1 -1
  4. package/.output/public/assets/{ChannelBadge-CEabmopB.js → ChannelBadge-Do-lWsLM.js} +1 -1
  5. package/.output/public/assets/{CompositeItem-KUM5yQVr.js → CompositeItem-Ci-Dvjc7.js} +1 -1
  6. package/.output/public/assets/{ConsoleFeatureUnavailable-Be-0iTww.js → ConsoleFeatureUnavailable-C0iDIboF.js} +1 -1
  7. package/.output/public/assets/{EventDetails-bDOYte1z.js → EventDetails-DglqzK6l.js} +1 -1
  8. package/.output/public/assets/{HashValueDisplay-D2f0HmyU.js → HashValueDisplay-DKziWjEg.js} +1 -1
  9. package/.output/public/assets/{InsightsPageHeader-Cj2ROSQO.js → InsightsPageHeader-DLH1MntM.js} +1 -1
  10. package/.output/public/assets/IosInstall-2R2o1IXd.js +1 -0
  11. package/.output/public/assets/NativeBuildsNav-BgeUSMqw.js +1 -0
  12. package/.output/public/assets/{NotFoundPage-CVBtl68B.js → NotFoundPage-CijSy63W.js} +1 -1
  13. package/.output/public/assets/{PlatformIcon-DVnzzGqM.js → PlatformIcon-Kq3q98tU.js} +1 -1
  14. package/.output/public/assets/QrCode-D3-Vuudy.js +1 -0
  15. package/.output/public/assets/RelativeTime-CP7nosYx.js +1 -0
  16. package/.output/public/assets/{RolloutPercentageBadge-D_I0Raj2.js → RolloutPercentageBadge-DnmU8XbU.js} +1 -1
  17. package/.output/public/assets/{RowReason-B7VM1ztc.js → RowReason-D7TZ2xwW.js} +1 -1
  18. package/.output/public/assets/SandboxBadge-BPf2uve4.js +1 -0
  19. package/.output/public/assets/TargetDisplay-DzSkf5yP.js +1 -0
  20. package/.output/public/assets/alert-dialog-Dihztkem.js +1 -0
  21. package/.output/public/assets/{api-C1OPeiG1.js → api-B1z_XXrQ.js} +1 -1
  22. package/.output/public/assets/api-keys-DL9HeC8e.js +1 -0
  23. package/.output/public/assets/api-keys-DPuPM7ag.js +1 -0
  24. package/.output/public/assets/arrow-left-CxxDwBQs.js +1 -0
  25. package/.output/public/assets/arrow-right-jHG0fJt7.js +1 -0
  26. package/.output/public/assets/arrow-up-right-BPRe5soE.js +1 -0
  27. package/.output/public/assets/{badge-FZMD5vvS.js → badge-D4Tiwei-.js} +1 -1
  28. package/.output/public/assets/{card-CyHYmHue.js → card-BfeRlTvj.js} +1 -1
  29. package/.output/public/assets/check-Dz_5aNwx.js +1 -0
  30. package/.output/public/assets/chevron-right-CuYrscDY.js +1 -0
  31. package/.output/public/assets/{circle-off-BCkZpskJ.js → circle-off-BZFOMb8J.js} +1 -1
  32. package/.output/public/assets/{clipboard-DZrZK5gR.js → clipboard-D8uvj6FN.js} +1 -1
  33. package/.output/public/assets/{console-features-api-BO5V64P3.js → console-features-api-De6tXQnd.js} +1 -1
  34. package/.output/public/assets/{copy-CH1__JAW.js → copy-BxI24-g-.js} +1 -1
  35. package/.output/public/assets/dialog-e9AF5T6h.js +1 -0
  36. package/.output/public/assets/{dist-DAM__Tdz.js → dist-BEIz5ojx.js} +1 -1
  37. package/.output/public/assets/{download-B2GjTySo.js → download-ekENI2Sw.js} +1 -1
  38. package/.output/public/assets/{empty--YaE5Z4p.js → empty-DpSPWLc2.js} +1 -1
  39. package/.output/public/assets/{field-CdhSgWhI.js → field-PkdRPD3A.js} +1 -1
  40. package/.output/public/assets/{git-branch-DG1VDaKq.js → git-branch-BWrvONjc.js} +1 -1
  41. package/.output/public/assets/{history-C0wv4htz.js → history-DwdBLzJP.js} +1 -1
  42. package/.output/public/assets/index-DZdzmvWS.js +10 -0
  43. package/.output/public/assets/input-group-DNfVeeYZ.js +1 -0
  44. package/.output/public/assets/{insights-_j_ieOyh.js → insights-6d-iISFa.js} +2 -2
  45. package/.output/public/assets/insights-DotP9eJn.js +2 -0
  46. package/.output/public/assets/insights-MQrx_wbP.js +1 -0
  47. package/.output/public/assets/{insights-api-B6Gj74n5.js → insights-api-CXXCRZhF.js} +1 -1
  48. package/.output/public/assets/{insights-search-Bgvg6wSP.js → insights-search-CtEcj6lz.js} +1 -1
  49. package/.output/public/assets/{insights-usage-rpc-BUCinjSN.js → insights-usage-rpc-DdmD1Nuy.js} +1 -1
  50. package/.output/public/assets/{insights_.distribution-CRkGNelG.js → insights_.distribution-DATeWpQS.js} +1 -1
  51. package/.output/public/assets/insights_.distribution-DYgsR7-7.js +2 -0
  52. package/.output/public/assets/insights_.distribution-REbBAqgL.js +1 -0
  53. package/.output/public/assets/installations-Di02gX_V.js +1 -0
  54. package/.output/public/assets/{installations-CYTzndfP.js → installations-Ds-MhfsQ.js} +1 -1
  55. package/.output/public/assets/{installations-BsD6LgNc.js → installations-Lm8TxrcB.js} +2 -2
  56. package/.output/public/assets/{key-round-D7UgdXyA.js → key-round-B-vaAsR7.js} +1 -1
  57. package/.output/public/assets/{link-CN3iHC4A.js → link-D95E0fwF.js} +1 -1
  58. package/.output/public/assets/{list-Bm-CfN5g.js → list-Dq40Mmoj.js} +1 -1
  59. package/.output/public/assets/loader-circle-C26cZDSM.js +1 -0
  60. package/.output/public/assets/native-builds-BOSmoLed.js +1 -0
  61. package/.output/public/assets/native-builds-Bs_JroPG.js +2 -0
  62. package/.output/public/assets/native-builds-Chv-kXaS.js +1 -0
  63. package/.output/public/assets/native-builds_._buildId-Bj24bG99.js +2 -0
  64. package/.output/public/assets/native-builds_._buildId-Somk3u9R.js +1 -0
  65. package/.output/public/assets/native-builds_.devices-afOLyzux.js +1 -0
  66. package/.output/public/assets/native-builds_.devices-o6LsPF9Y.js +2 -0
  67. package/.output/public/assets/plus-Bp6IqwOH.js +1 -0
  68. package/.output/public/assets/{preload-helper-CRQjUQaZ.js → preload-helper-52zhjEsw.js} +1 -1
  69. package/.output/public/assets/{refresh-cw-BHhBYjS8.js → refresh-cw-CpCxPYma.js} +1 -1
  70. package/.output/public/assets/{relativeTime-BYRt19mj.js → relativeTime-D_aYJRc7.js} +1 -1
  71. package/.output/public/assets/remote-config-Buy_12p7.js +1 -0
  72. package/.output/public/assets/remote-config-Dmuqm9xx.js +1 -0
  73. package/.output/public/assets/remote-config-g05054op.js +6 -0
  74. package/.output/public/assets/{rotate-cw-Ba-slJea.js → rotate-cw-Bn3fIWmY.js} +1 -1
  75. package/.output/public/assets/routes-5mt1iab-.js +2 -0
  76. package/.output/public/assets/routes-BxJfMpil.js +1 -0
  77. package/.output/public/assets/search-DeKSyo9Q.js +1 -0
  78. package/.output/public/assets/{select-CA8r-UUe.js → select-BAd2hAoW.js} +1 -1
  79. package/.output/public/assets/{sidebar-yC7KdImc.js → sidebar-UnsNYOry.js} +1 -1
  80. package/.output/public/assets/smartphone-lSZWrqxx.js +1 -0
  81. package/.output/public/assets/styles-CN7c7MGr.css +2 -0
  82. package/.output/public/assets/{switch-BsV3d4km.js → switch-C_s67MO4.js} +1 -1
  83. package/.output/public/assets/{table-D8YjT_ht.js → table-r_sYqKTQ.js} +1 -1
  84. package/.output/public/assets/{tabs-RdhEl9sE.js → tabs-B95QcXeT.js} +1 -1
  85. package/.output/public/assets/{trash-2-B5KIvrXy.js → trash-2-BPH7ydek.js} +1 -1
  86. package/.output/public/assets/{undo-2-CFcU9dIB.js → undo-2-CGeTBZjC.js} +1 -1
  87. package/.output/public/assets/{useCompositeListItem-lAmUsXcc.js → useCompositeListItem-B9ONn9qn.js} +1 -1
  88. package/.output/public/assets/{useMutation-w3qYaU2L.js → useMutation-BWX97JX2.js} +1 -1
  89. package/.output/server/{__23tanstack-start-server-fn-resolver-q4YFIDyr.mjs → __23tanstack-start-server-fn-resolver-ET1Ypyyk.mjs} +61 -61
  90. package/.output/server/_libs/_.mjs +1 -1
  91. package/.output/server/_ssr/{-native-builds-search-Mm_AZoRU.mjs → -native-builds-search-OJ8XmaBa.mjs} +2 -2
  92. package/.output/server/_ssr/{BundleIdDisplay-DvzlYWq8.mjs → BundleIdDisplay-CpaKbEYb.mjs} +2 -2
  93. package/.output/server/_ssr/{ChannelBadge-qF_Pc5Ud.mjs → ChannelBadge-dVXs-bYV.mjs} +3 -3
  94. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DKUgr0N_.mjs → ConsoleFeatureUnavailable-DWuWwY4L.mjs} +6 -6
  95. package/.output/server/_ssr/{EventDetails-T1XtYEDD.mjs → EventDetails-CcuGyU26.mjs} +7 -7
  96. package/.output/server/_ssr/{HashValueDisplay-Cas_zjIS.mjs → HashValueDisplay-ClkGq5_0.mjs} +2 -2
  97. package/.output/server/_ssr/{InsightsPageHeader-BrllhUl2.mjs → InsightsPageHeader-Bw6RVpdS.mjs} +7 -7
  98. package/.output/server/_ssr/{IosInstall-CEHI8F2M.mjs → IosInstall-DEceeAVT.mjs} +180 -87
  99. package/.output/server/_ssr/{NativeBuildsNav-2xSHyA1a.mjs → NativeBuildsNav-ChqRZH4E.mjs} +5 -5
  100. package/.output/server/_ssr/{NotFoundPage-D6H9vxj_.mjs → NotFoundPage-aZrAWo5n.mjs} +2 -2
  101. package/.output/server/_ssr/{PlatformIcon-BpGOEXjU.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
  102. package/.output/server/_ssr/QrCode-pEaOdaRS.mjs +50 -0
  103. package/.output/server/_ssr/{RelativeTime-DpEVzDP9.mjs → RelativeTime-CFIJbj_r.mjs} +10 -5
  104. package/.output/server/_ssr/{RolloutPercentageBadge-DW8-_w30.mjs → RolloutPercentageBadge-BEqOJXly.mjs} +4 -4
  105. package/.output/server/_ssr/{RowReason-C-PjIxzq.mjs → RowReason-DXbU_Nml.mjs} +4 -4
  106. package/.output/server/_ssr/{SandboxBadge-CDdNew0R.mjs → SandboxBadge-CP76AVxN.mjs} +2 -2
  107. package/.output/server/_ssr/{TargetDisplay-BBsP7IaZ.mjs → TargetDisplay-csC-slf3.mjs} +37 -15
  108. package/.output/server/_ssr/{alert-dialog-Bd4E9xdw.mjs → alert-dialog-Dn5l3Bob.mjs} +3 -3
  109. package/.output/server/_ssr/{api-BT7aA8UM.mjs → api-W0WerUfm.mjs} +6 -6
  110. package/.output/server/_ssr/{api-keys-D2NvcQZv.mjs → api-keys-Btu37Irf.mjs} +2 -2
  111. package/.output/server/_ssr/{api-keys-DjWpM20P.mjs → api-keys-D7kmFdhY.mjs} +10 -9
  112. package/.output/server/_ssr/{api-keys-rpc-nM5H7V7f.mjs → api-keys-rpc-9o4CyzUZ.mjs} +3 -3
  113. package/.output/server/_ssr/{api-rpc-DX4HynbW.mjs → api-rpc-B1HnUZMu.mjs} +19 -19
  114. package/.output/server/_ssr/{auth-rpc-LCxTtYz2.mjs → auth-rpc-BBy2L4Ah.mjs} +4 -4
  115. package/.output/server/_ssr/{auth.server-CERo_xef.mjs → auth.server-ajvR-m99.mjs} +28 -14
  116. package/.output/server/_ssr/{badge-Dpp4q7sD.mjs → badge-DlEpe8yC.mjs} +1 -1
  117. package/.output/server/_ssr/{bundleActivity-BP40zYSt.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
  118. package/.output/server/_ssr/{card-CFCftDfI.mjs → card-AK7Ms1Oa.mjs} +1 -1
  119. package/.output/server/_ssr/{config.server-5W5WD8x2.mjs → config.server-DswyWSgG.mjs} +4 -4
  120. package/.output/server/_ssr/{console-access-B0S5YFUa.mjs → console-access-DM56j3dM.mjs} +2 -2
  121. package/.output/server/_ssr/{console-features-xaGDhRC9.mjs → console-features-DTYyXrWO.mjs} +1 -1
  122. package/.output/server/_ssr/{console-features-api-CV_EReEj.mjs → console-features-api-g5s9V5sz.mjs} +4 -4
  123. package/.output/server/_ssr/{console-features-rpc-D3xlQsuy.mjs → console-features-rpc-Cnmhvmsk.mjs} +3 -3
  124. package/.output/server/_ssr/{databaseConfig-XAvDetmn.mjs → databaseConfig-B56IJxlu.mjs} +1 -1
  125. package/.output/server/_ssr/{databaseRows-BtRVBD0C.mjs → databaseRows-BZMFl5QV.mjs} +2 -2
  126. package/.output/server/_ssr/{deviceProfileToken-CwWb1lPq.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
  127. package/.output/server/_ssr/{dialog-DQR_QI_X.mjs → dialog-0oBrR9Cj.mjs} +4 -4
  128. package/.output/server/_ssr/dist-CiOq3ygH.mjs +148 -0
  129. package/.output/server/_ssr/{downloadBundle-DnoYpi36.mjs → downloadBundle-C1KOnpiF.mjs} +1 -1
  130. package/.output/server/_ssr/{empty-C7PFnkCH.mjs → empty-tasgkoU9.mjs} +2 -2
  131. package/.output/server/_ssr/{failureReports-BA2eg11O.mjs → failureReports-BVufgM3l.mjs} +3 -3
  132. package/.output/server/_ssr/{field-BqYN8sZT.mjs → field-phtuBLMh.mjs} +2 -2
  133. package/.output/server/_ssr/{foldedPage-CqpVk31Q.mjs → foldedPage-CUjJqtlF.mjs} +1 -1
  134. package/.output/server/_ssr/{getBundleChildren-CdqFonhl.mjs → getBundleChildren-CnOf4Frp.mjs} +2 -2
  135. package/.output/server/_ssr/{input-group-Brv0mmyp.mjs → input-group-BTEoUANX.mjs} +2 -2
  136. package/.output/server/_ssr/{insights-CD1e3EnW.mjs → insights-BBzyKO95.mjs} +2 -2
  137. package/.output/server/_ssr/{insights--xI3A0KI.mjs → insights-CPDtpuXg.mjs} +5 -5
  138. package/.output/server/_ssr/{insights-Dd0VdO-1.mjs → insights-D4le8l6s.mjs} +31 -26
  139. package/.output/server/_ssr/{insights-api-Bt2XVa4Y.mjs → insights-api-D6J2HVtY.mjs} +5 -5
  140. package/.output/server/_ssr/{insights-errors-CXHg1lLV.mjs → insights-errors-DwUaDs0Z.mjs} +2 -2
  141. package/.output/server/_ssr/{insights-failures-7zH97WOO.mjs → insights-failures-DGO2_3Vx.mjs} +2 -2
  142. package/.output/server/_ssr/{insights-failures-rpc-DBGzXP5A.mjs → insights-failures-rpc-ChwlB9sg.mjs} +10 -10
  143. package/.output/server/_ssr/{insights-recovery-BhOg6kz2.mjs → insights-recovery-Cdg3Msrj.mjs} +1 -1
  144. package/.output/server/_ssr/{insights-recovery-rpc-C6fAh-i_.mjs → insights-recovery-rpc-B6_GT-_U.mjs} +6 -6
  145. package/.output/server/_ssr/{insights-rpc-pThKC9oj.mjs → insights-rpc-DG0GxsIL.mjs} +3 -3
  146. package/.output/server/_ssr/{insights-search-iFN4UaUv.mjs → insights-search-LKeSNr4M.mjs} +4 -4
  147. package/.output/server/_ssr/{insights-usage-h8fipPTv.mjs → insights-usage-BVm7CDw9.mjs} +1 -1
  148. package/.output/server/_ssr/{insights-usage-rpc-CGHZQ9jq.mjs → insights-usage-rpc-I0Eh5Z89.mjs} +6 -6
  149. package/.output/server/_ssr/{insights-usage-rpc-B-RLvdLZ.mjs → insights-usage-rpc-qnQWkNn2.mjs} +4 -4
  150. package/.output/server/_ssr/{insightsUsage-BjSiV_X_.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
  151. package/.output/server/_ssr/{insights_.distribution-xHmfwwa5.mjs → insights_.distribution-BF99IaZu.mjs} +5 -5
  152. package/.output/server/_ssr/{insights_.distribution-E6Ns2aN7.mjs → insights_.distribution-D2dZwvqQ.mjs} +2 -2
  153. package/.output/server/_ssr/{insights_.distribution-C6iXJ93Y.mjs → insights_.distribution-Dgv-_T7g.mjs} +14 -14
  154. package/.output/server/_ssr/{installations-D6Upc9Rt.mjs → installations-BHjU8FUI.mjs} +2 -2
  155. package/.output/server/_ssr/{installations-CZnN6slr.mjs → installations-C7TindNY.mjs} +4 -4
  156. package/.output/server/_ssr/{installations-7V-Xyui8.mjs → installations-DVTUpBGI.mjs} +11 -11
  157. package/.output/server/_ssr/{ios-devices-rpc-CXuHk24G.mjs → ios-devices-rpc-KtosHTCC.mjs} +18 -20
  158. package/.output/server/_ssr/iosDeviceCookie-B-8c7lMJ.mjs +155 -0
  159. package/.output/server/_ssr/{iosDeviceProfile-BESi_onx.mjs → iosDeviceProfile-CIEuY_kV.mjs} +13 -13
  160. package/.output/server/_ssr/{iosDevices-BmvvvZRo.mjs → iosDevices-CkLgS8_U.mjs} +4 -20
  161. package/.output/server/_ssr/{listReleases-DYYA5alS.mjs → listReleases-QF91GLE7.mjs} +3 -3
  162. package/.output/server/_ssr/native-artifact-BRNP_q-y.mjs +1532 -0
  163. package/.output/server/_ssr/{native-builds-BhDCE89P.mjs → native-builds-3WEAnb93.mjs} +22 -20
  164. package/.output/server/_ssr/{native-builds-BUojmVWC.mjs → native-builds-B6rWkcHL.mjs} +3 -3
  165. package/.output/server/_ssr/{native-builds-BXBkklfA.mjs → native-builds-nRuXKypG.mjs} +68 -6
  166. package/.output/server/_ssr/{native-builds_._buildId-DRiCNDdO.mjs → native-builds_._buildId-BaykQRJl.mjs} +3 -3
  167. package/.output/server/_ssr/{native-builds_._buildId-DkMpG-OB.mjs → native-builds_._buildId-RFJXyul0.mjs} +21 -27
  168. package/.output/server/_ssr/{native-builds_.devices-DsOx1R36.mjs → native-builds_.devices-BzkeAX0K.mjs} +213 -93
  169. package/.output/server/_ssr/{native-builds_.devices-DSideebA.mjs → native-builds_.devices-D9EGVV1N.mjs} +3 -3
  170. package/.output/server/_ssr/{nativeBuildDownloadLink-DDAUVU8q.mjs → nativeBuildDownloadLink-A1aWZBDw.mjs} +2 -2
  171. package/.output/server/_ssr/{nativeBuildInstall-CcBrfTsc.mjs → nativeBuildInstall-XzMDX9iY.mjs} +8 -6
  172. package/.output/server/_ssr/{nativeBuilds-Cub0EUGN.mjs → nativeBuilds-DaF-TcfO.mjs} +4 -4
  173. package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
  174. package/.output/server/_ssr/{plugins-CX7wutet.mjs → plugins-D9CCkDjn.mjs} +6 -5
  175. package/.output/server/_ssr/publicConsoleBase-wTKw3_iB.mjs +15 -0
  176. package/.output/server/_ssr/{release-adoption-DeICczY7.mjs → release-adoption-gfhE5tz5.mjs} +2 -2
  177. package/.output/server/_ssr/{release-adoption-rpc-BjMXMi9A.mjs → release-adoption-rpc-DoDlwfWB.mjs} +8 -8
  178. package/.output/server/_ssr/{releaseAdoption-kHZo8P90.mjs → releaseAdoption-DfEYq7I4.mjs} +4 -4
  179. package/.output/server/_ssr/{releaseCatalogCompiler-D9dAMI17.mjs → releaseCatalogCompiler-CJ2Shida.mjs} +4 -3
  180. package/.output/server/_ssr/{releaseManagement-EPhok_Py.mjs → releaseManagement-CqIc-SDE.mjs} +1 -1
  181. package/.output/server/_ssr/{releaseReachability-DaZ7ifUF.mjs → releaseReachability-Ch1JpJkY.mjs} +2 -2
  182. package/.output/server/_ssr/{remote-config-C_DprbJz.mjs → remote-config-6lhdA4DB.mjs} +18 -18
  183. package/.output/server/_ssr/{remote-config-B1iZuZOF.mjs → remote-config-BMg2UurZ.mjs} +2 -2
  184. package/.output/server/_ssr/{remote-config-rpc-BFTPcMfZ.mjs → remote-config-rpc-Ddg8dyxw.mjs} +4 -4
  185. package/.output/server/_ssr/{remote-config-C_q6FBE4.mjs → remote-config-u_T4AXyi.mjs} +2 -2
  186. package/.output/server/_ssr/{router-BDXPwfwl.mjs → router-CovCAswJ.mjs} +101 -61
  187. package/.output/server/_ssr/{routes-BJeztqpQ.mjs → routes-CTUvEVa6.mjs} +37 -33
  188. package/.output/server/_ssr/{routes-DpapxHLc.mjs → routes-DtkONaBi.mjs} +12 -11
  189. package/.output/server/_ssr/{runtime.server-CkSbWaZm.mjs → runtime.server-BUbb281Z.mjs} +4 -4
  190. package/.output/server/_ssr/{schema-3oDJJFWa.mjs → schema-CaIuQCXb.mjs} +1 -1
  191. package/.output/server/_ssr/{schema-migration-rpc-a4bLEdaP.mjs → schema-migration-rpc-DvmruDB6.mjs} +3 -3
  192. package/.output/server/_ssr/{select-C9HpIZxd.mjs → select-DJLTQgmc.mjs} +1 -1
  193. package/.output/server/_ssr/{server-C8ZmMWnn.mjs → server-BfWxoIjf.mjs} +4 -4
  194. package/.output/server/_ssr/{sidebar-BrVL3L7R.mjs → sidebar-Bsfqid7Q.mjs} +6 -6
  195. package/.output/server/_ssr/ssr.mjs +1 -1
  196. package/.output/server/_ssr/{start-D3noqqOK.mjs → start-BaUpXI0L.mjs} +1 -1
  197. package/.output/server/_ssr/{switch-DtnsoZHO.mjs → switch-DckZkZBS.mjs} +3 -3
  198. package/.output/server/_ssr/{table-Bg7nCnct.mjs → table-DG8aRQBO.mjs} +1 -1
  199. package/.output/server/_ssr/{tabs-BEIoGLTL.mjs → tabs-Dblh3lL2.mjs} +2 -2
  200. package/.output/server/_ssr/{updateFailures-D0bP_Ume.mjs → updateFailures-BwDwIoNu.mjs} +3 -3
  201. package/.output/server/_ssr/{dist-B6-irDRA.mjs → uuid-kZvLA0Ly-DNL0qBSj.mjs} +2 -147
  202. package/.output/server/_ssr/{uuidv7-CmHbryZT.mjs → uuidv7-C0jNe2Om.mjs} +2 -2
  203. package/.output/server/_ssr/{version-CQ98ZBpL-NmbU0MD2.mjs → version-CQ98ZBpL-zW2fpHOZ.mjs} +1 -1
  204. package/.output/server/_tanstack-start-manifest_v-CfDH9vVq.mjs +225 -0
  205. package/.output/server/index.mjs +430 -430
  206. package/package.json +7 -7
  207. package/src/components/AppSidebar.tsx +11 -2
  208. package/src/components/DataTable.tsx +18 -2
  209. package/src/components/TargetDisplay.tsx +33 -7
  210. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  211. package/src/components/features/bundles/BundleMetadata.tsx +1 -1
  212. package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
  213. package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
  214. package/src/components/features/insights/FailureReports.tsx +1 -0
  215. package/src/components/features/insights/InsightsOverview.tsx +7 -1
  216. package/src/components/features/insights/ReleaseActivity.tsx +5 -1
  217. package/src/components/features/insights/UpdateFailures.tsx +1 -0
  218. package/src/components/features/native-builds/BuiltInBundleCard.tsx +1 -0
  219. package/src/components/features/native-builds/IosDevicesPage.tsx +187 -38
  220. package/src/components/features/native-builds/IosInstall.tsx +122 -58
  221. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
  222. package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
  223. package/src/components/features/native-builds/NativeBuildsTable.tsx +5 -1
  224. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
  225. package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
  226. package/src/components/ui/alert-dialog.tsx +2 -2
  227. package/src/components/ui/dialog.tsx +3 -3
  228. package/src/components/ui/input.tsx +1 -1
  229. package/src/components/ui/sheet.tsx +1 -1
  230. package/src/components/ui/sidebar.tsx +2 -2
  231. package/src/components/ui/slider.tsx +1 -1
  232. package/src/components/ui/switch.tsx +1 -1
  233. package/src/components/ui/textarea.tsx +1 -1
  234. package/src/lib/ios-devices-api.ts +148 -5
  235. package/src/lib/ios-devices-rpc.ts +17 -12
  236. package/src/lib/native-builds.ts +97 -4
  237. package/src/lib/server/deviceProfileToken.ts +37 -3
  238. package/src/lib/server/iosDeviceCookie.ts +239 -0
  239. package/src/lib/server/iosDeviceProfile.ts +4 -2
  240. package/src/lib/server/iosDevices.ts +0 -30
  241. package/src/routeTree.gen.ts +44 -0
  242. package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
  243. package/src/routes/[_]hot-updater/devices/request.ts +28 -0
  244. package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
  245. package/.output/public/assets/IosInstall-CHI2C4Yd.js +0 -1
  246. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
  247. package/.output/public/assets/RelativeTime-B4PK8qDw.js +0 -1
  248. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
  249. package/.output/public/assets/TargetDisplay-KU7JhIWG.js +0 -1
  250. package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
  251. package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
  252. package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
  253. package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
  254. package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
  255. package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
  256. package/.output/public/assets/check-CqWNyG93.js +0 -1
  257. package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
  258. package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
  259. package/.output/public/assets/index-CgwVUC2n.js +0 -10
  260. package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
  261. package/.output/public/assets/insights-C94CdeAA.js +0 -1
  262. package/.output/public/assets/insights-DILMVpk8.js +0 -2
  263. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
  264. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
  265. package/.output/public/assets/installations-BA01mqJE.js +0 -1
  266. package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
  267. package/.output/public/assets/native-builds-BMbws1g5.js +0 -2
  268. package/.output/public/assets/native-builds-xgHiHQML.js +0 -1
  269. package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +0 -1
  270. package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +0 -2
  271. package/.output/public/assets/native-builds_.devices-CTzpCVsb.js +0 -1
  272. package/.output/public/assets/native-builds_.devices-D_kl2-bc.js +0 -2
  273. package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
  274. package/.output/public/assets/plus-Db0KxLZp.js +0 -1
  275. package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
  276. package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
  277. package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
  278. package/.output/public/assets/routes-DM3TyTLW.js +0 -2
  279. package/.output/public/assets/routes-Des97uK_.js +0 -1
  280. package/.output/public/assets/search-dJG2BYmx.js +0 -1
  281. package/.output/public/assets/send-DuMOCzbD.js +0 -1
  282. package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
  283. package/.output/public/assets/styles-BHLI87EH.css +0 -2
  284. package/.output/server/_ssr/publicConsoleBase-f67NLLXZ.mjs +0 -610
  285. package/.output/server/_tanstack-start-manifest_v-C_TPyfFP.mjs +0 -225
  286. /package/.output/public/assets/{uuidv7-DAoOOpz9.js → uuidv7-DgXZ1zRR.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { A as createSsrRpc } from "./sidebar-BrVL3L7R.mjs";
3
- import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-Bsfqid7Q.mjs";
3
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
4
4
  import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
5
- import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
6
- import { l as channelIdOf } from "./native-builds-BXBkklfA.mjs";
7
- import { n as readReleaseFilter } from "./listReleases-DYYA5alS.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-BT7aA8UM.js
5
+ import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
6
+ import { l as channelIdOf } from "./native-builds-nRuXKypG.mjs";
7
+ import { n as readReleaseFilter } from "./listReleases-QF91GLE7.mjs";
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-W0WerUfm.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-DKUgr0N_.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D2NvcQZv.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DWuWwY4L.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Btu37Irf.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -2,17 +2,17 @@ import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
3
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
4
  import { D as LoaderCircle, H as Clipboard, X as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
6
- import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
5
+ import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
6
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
7
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-CFCftDfI.mjs";
9
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.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-Bd4E9xdw.mjs";
11
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DQR_QI_X.mjs";
12
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BqYN8sZT.mjs";
13
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bg7nCnct.mjs";
8
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-AK7Ms1Oa.mjs";
9
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DlEpe8yC.mjs";
10
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-phtuBLMh.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-Dn5l3Bob.mjs";
12
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-0oBrR9Cj.mjs";
13
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DG8aRQBO.mjs";
14
14
  import { n as toast } from "../_libs/sonner.mjs";
15
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DjWpM20P.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D7kmFdhY.js
16
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var parseName = (input) => {
@@ -89,6 +89,7 @@ function CreateApiKeyDialog() {
89
89
  }
90
90
  };
91
91
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
92
+ className: "max-md:h-11",
92
93
  onClick: () => setOpen(true),
93
94
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Plus, { "data-icon": "inline-start" }), "Create API key"]
94
95
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Dialog$1, {
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
2
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-nM5H7V7f.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-9o4CyzUZ.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-5W5WD8x2.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-DswyWSgG.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-B0S5YFUa.mjs";
2
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
5
- import { i as rowToBundle } from "./databaseRows-BtRVBD0C.mjs";
6
- import { t as ReleaseManagementError } from "./releaseManagement-EPhok_Py.mjs";
7
- import { O as releaseNativeBuildScope, l as channelIdOf } from "./native-builds-BXBkklfA.mjs";
8
- import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-DYYA5alS.mjs";
9
- //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-DX4HynbW.js
4
+ import { i as rowToBundle } from "./databaseRows-BZMFl5QV.mjs";
5
+ import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
6
+ import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
7
+ import { M as releaseNativeBuildScope, l as channelIdOf } from "./native-builds-nRuXKypG.mjs";
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-B1HnUZMu.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-5W5WD8x2.mjs");
29
+ const { prepareConfig } = await import("./config.server-DswyWSgG.mjs");
30
30
  return prepareConfig();
31
31
  };
32
32
  var getReleases_createServerFn_handler = createServerRpc({
@@ -184,7 +184,7 @@ var getBundleChildren_createServerFn_handler = createServerRpc({
184
184
  }, (opts) => getBundleChildren.__executeServer(opts));
185
185
  var getBundleChildren = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getBundleChildren_createServerFn_handler, async ({ data }) => {
186
186
  try {
187
- const [{ core }, { getBundleChildren: readBundleChildren }] = await Promise.all([prepare(), import("./getBundleChildren-CdqFonhl.mjs")]);
187
+ const [{ core }, { getBundleChildren: readBundleChildren }] = await Promise.all([prepare(), import("./getBundleChildren-CnOf4Frp.mjs")]);
188
188
  return await readBundleChildren(core, data.baseBundleId);
189
189
  } catch (error) {
190
190
  console.error("Error during bundle children retrieval:", error);
@@ -201,7 +201,7 @@ var getBundleChildCounts = createServerFn({ method: "GET" }).middleware([console
201
201
  return input;
202
202
  }).handler(getBundleChildCounts_createServerFn_handler, async ({ data }) => {
203
203
  try {
204
- const [{ core }, { getBundleChildCounts: readBundleChildCounts }] = await Promise.all([prepare(), import("./getBundleChildren-CdqFonhl.mjs")]);
204
+ const [{ core }, { getBundleChildCounts: readBundleChildCounts }] = await Promise.all([prepare(), import("./getBundleChildren-CnOf4Frp.mjs")]);
205
205
  return await readBundleChildCounts(core, data.bundleIds);
206
206
  } catch (error) {
207
207
  console.error("Error during bundle child count retrieval:", error);
@@ -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-Cub0EUGN.mjs")]);
228
+ const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-DaF-TcfO.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-Cub0EUGN.mjs")]);
240
+ const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-DaF-TcfO.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-Cub0EUGN.mjs")]);
249
+ const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-DaF-TcfO.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-Cub0EUGN.mjs")]);
262
+ const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-DaF-TcfO.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-Cub0EUGN.mjs")]);
291
+ const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-DaF-TcfO.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-DDAUVU8q.mjs");
300
+ const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-A1aWZBDw.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-CcBrfTsc.mjs")]);
309
+ const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-XzMDX9iY.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-CERo_xef.mjs"),
314
- import("./iosDevices-BmvvvZRo.mjs")
313
+ import("./auth.server-ajvR-m99.mjs"),
314
+ import("./iosDevices-CkLgS8_U.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-C8ZmMWnn.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-LCxTtYz2.js
3
+ import { i as getRequest } from "./server-BfWxoIjf.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-BBy2L4Ah.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-CERo_xef.mjs");
11
+ const { getConsoleAccess } = await import("./auth.server-ajvR-m99.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-CERo_xef.mjs");
20
+ const { getConsoleAuthProviders } = await import("./auth.server-ajvR-m99.mjs");
21
21
  return getConsoleAuthProviders(getRequest());
22
22
  });
23
23
  //#endregion
@@ -1,14 +1,15 @@
1
1
  import { n as DatabaseBundleNotFoundError, r as DatabaseRowReferencedError } from "./databaseJsonValue-DuUoft8j.mjs";
2
- import { O as parseReleaseCatalogScopeKey, a as RELEASE_CATALOG_FALLBACK_POLICY, c as createReleaseCatalogScopeKey, d as getAssetBaseStorageUri, f as getBundlePatch, h as getManifestStorageUri, l as decodeChannelKey, m as getManifestFileHash, r as NIL_UUID, s as canonicalizeAppVersion, u as encodeChannelKey, w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
3
- import { i as rowToBundle, n as bundleToRow, r as releaseRowToRelease, t as bundleToPatchRows } from "./databaseRows-BtRVBD0C.mjs";
4
- import { t as ReleaseManagementError } from "./releaseManagement-EPhok_Py.mjs";
5
- import { n as createUUIDv7After, t as createUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
6
- import { i as normalizeRange } from "./version-CQ98ZBpL-NmbU0MD2.mjs";
7
- import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as compileReleaseCatalog } from "./releaseCatalogCompiler-D9dAMI17.mjs";
8
- import { t as isRemoteDatabase } from "./databaseConfig-XAvDetmn.mjs";
9
- import { n as defineTable, t as defineAggregate } from "./schema-3oDJJFWa.mjs";
2
+ import { a as getAssetBaseStorageUri, c as getManifestFileHash, i as RELEASE_CATALOG_FALLBACK_POLICY, l as getManifestStorageUri, o as getBundlePatch } from "./dist-CiOq3ygH.mjs";
3
+ import { i as rowToBundle, n as bundleToRow, r as releaseRowToRelease, t as bundleToPatchRows } from "./databaseRows-BZMFl5QV.mjs";
4
+ import { a as decodeChannelKey, c as parseReleaseCatalogScopeKey, i as createReleaseCatalogScopeKey, o as encodeChannelKey, r as canonicalizeAppVersion, s as isUUIDv7, t as NIL_UUID } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
5
+ import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
6
+ import { n as createUUIDv7After, t as createUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
7
+ import { i as normalizeRange } from "./version-CQ98ZBpL-zW2fpHOZ.mjs";
8
+ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as compileReleaseCatalog } from "./releaseCatalogCompiler-CJ2Shida.mjs";
9
+ import { t as isRemoteDatabase } from "./databaseConfig-B56IJxlu.mjs";
10
+ import { n as defineTable, t as defineAggregate } from "./schema-CaIuQCXb.mjs";
10
11
  import { r as rangesIntersect } from "../_libs/verkit.mjs";
11
- //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-CERo_xef.js
12
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-ajvR-m99.js
12
13
  var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
13
14
  var isContentAddressedAssetFileHash = (value) => {
14
15
  return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
@@ -1019,6 +1020,12 @@ var channels = defineTable({
1019
1020
  * `export_method` is how an `.ipa` was exported, read from its profile when
1020
1021
  * it registers and never changed; null on any other artifact, on an `.ipa`
1021
1022
  * whose profile couldn't be read, and on one registered before the column.
1023
+ * `native_app_version` is the app version the artifact itself reports, its
1024
+ * `CFBundleShortVersionString` or `versionName`, read from the artifact when
1025
+ * it registers and never changed, whatever the update strategy; `app_version`
1026
+ * stays the version OTAs target, null on a fingerprint build. It is null
1027
+ * when the artifact's can't be read, and on a build registered before the
1028
+ * column.
1022
1029
  * Boolean columns follow one rule: `is_*` for a fact about the row or
1023
1030
  * `should_*` for an instruction to the client, never null; a unique index over
1024
1031
  * the rows where one is true keys a derived slot, not the boolean.
@@ -1111,6 +1118,10 @@ var nativeBuilds = defineTable({
1111
1118
  type: "string",
1112
1119
  maxLength: 16,
1113
1120
  required: false
1121
+ },
1122
+ native_app_version: {
1123
+ type: "string",
1124
+ required: false
1114
1125
  }
1115
1126
  }, {
1116
1127
  key: ["id"],
@@ -2943,7 +2954,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
2943
2954
  flush: () => engine.flush()
2944
2955
  };
2945
2956
  };
2946
- var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.30";
2957
+ var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.32";
2947
2958
  /**
2948
2959
  * `/version` on both mounts. The admin mount also lists the ids of the
2949
2960
  * plugins the server runs, sorted; apps never learn which plugins a server
@@ -4104,7 +4115,8 @@ var pick = (row) => ({
4104
4115
  is_store_build: row.is_store_build === true,
4105
4116
  is_sandbox: row.is_sandbox === true,
4106
4117
  sandbox_url_scheme: row.sandbox_url_scheme ?? null,
4107
- export_method: row.export_method ?? null
4118
+ export_method: row.export_method ?? null,
4119
+ native_app_version: row.native_app_version ?? null
4108
4120
  });
4109
4121
  /** The export methods an `.ipa` registers with. */
4110
4122
  var EXPORT_METHODS = /* @__PURE__ */ new Set([
@@ -4158,7 +4170,7 @@ var nativeBuildScopeKey = (scope) => {
4158
4170
  };
4159
4171
  /** Whether `bundleId` is a native build's built-in bundle: one unique read. */
4160
4172
  var isBuiltInBundle = async (db, bundleId) => await db.findOne("native_builds", { min_bundle_id: bundleId }) !== null;
4161
- var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersion, gitCommitHash, buildKey, buildNumber, isSandbox, sandboxUrlScheme, exportMethod, artifact }) => {
4173
+ var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersion, gitCommitHash, buildKey, buildNumber, isSandbox, sandboxUrlScheme, exportMethod, nativeAppVersion, artifact }) => {
4162
4174
  if (!isUUIDv7(id)) return "id must be a UUIDv7";
4163
4175
  if (!isUUIDv7(minBundleId)) return "minBundleId must be the UUIDv7 a release build compiles in";
4164
4176
  if (platform !== "ios" && platform !== "android") return "platform must be ios or android";
@@ -4175,6 +4187,7 @@ var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersi
4175
4187
  if (fingerprintHash === null === (appVersion === null)) return "exactly one of fingerprintHash and appVersion is required";
4176
4188
  if (buildKey !== null && !BUILD_KEY.test(buildKey)) return "buildKey must be nbk1: and a SHA-256, or null";
4177
4189
  if (buildNumber !== void 0 && buildNumber !== null && (buildNumber.trim().length === 0 || buildNumber.length > BUILD_NUMBER_MAX_LENGTH)) return `buildNumber must be the artifact's build number, up to ${BUILD_NUMBER_MAX_LENGTH} characters, or null`;
4190
+ if (nativeAppVersion !== void 0 && nativeAppVersion !== null && (typeof nativeAppVersion !== "string" || nativeAppVersion.trim().length === 0)) return "nativeAppVersion must be the artifact's app version, or null";
4178
4191
  const kinds = ARTIFACT_KINDS[platform];
4179
4192
  if (!kinds.includes(artifact.kind)) return `artifact.kind of an ${platform} build must be ${kinds.join(" or ")}`;
4180
4193
  if (exportMethod !== void 0 && exportMethod !== null) {
@@ -4213,7 +4226,8 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
4213
4226
  is_store_build: false,
4214
4227
  is_sandbox: registration.isSandbox === true,
4215
4228
  sandbox_url_scheme: registration.sandboxUrlScheme ?? null,
4216
- export_method: registration.exportMethod ?? null
4229
+ export_method: registration.exportMethod ?? null,
4230
+ native_app_version: registration.nativeAppVersion ?? null
4217
4231
  };
4218
4232
  for (let attempt = 1;; attempt += 1) {
4219
4233
  await insertChannel(db, {
@@ -5287,7 +5301,7 @@ var refusingInvalid = async (operation) => {
5287
5301
  throw error;
5288
5302
  }
5289
5303
  };
5290
- var isNativeBuildRegistration = (value) => isRecord$1(value) && isText(value.id) && isText(value.minBundleId) && typeof value.platform === "string" && isPlatform(value.platform) && isText(value.channel) && isTextOrNull(value.fingerprintHash) && isTextOrNull(value.appVersion) && value.fingerprintHash === null !== (value.appVersion === null) && isTextOrNull(value.gitCommitHash) && isTextOrNull(value.buildKey) && (value.buildNumber === void 0 || isTextOrNull(value.buildNumber)) && (value.isSandbox === void 0 || typeof value.isSandbox === "boolean") && (value.sandboxUrlScheme === void 0 || isTextOrNull(value.sandboxUrlScheme)) && (value.exportMethod === void 0 || isTextOrNull(value.exportMethod)) && isRecord$1(value.artifact) && typeof value.artifact.kind === "string" && NATIVE_BUILD_ARTIFACT_KINDS.has(value.artifact.kind) && isText(value.artifact.storageUri) && Number.isSafeInteger(value.artifact.byteSize) && value.artifact.byteSize >= 0 && isRecord$1(value.embeddedBundle) && isText(value.embeddedBundle.manifestStorageUri) && isText(value.embeddedBundle.manifestFileHash) && isText(value.embeddedBundle.assetBaseStorageUri) && (value.embeddedBundle.metadata === void 0 || isRecord$1(value.embeddedBundle.metadata));
5304
+ var isNativeBuildRegistration = (value) => isRecord$1(value) && isText(value.id) && isText(value.minBundleId) && typeof value.platform === "string" && isPlatform(value.platform) && isText(value.channel) && isTextOrNull(value.fingerprintHash) && isTextOrNull(value.appVersion) && value.fingerprintHash === null !== (value.appVersion === null) && isTextOrNull(value.gitCommitHash) && isTextOrNull(value.buildKey) && (value.buildNumber === void 0 || isTextOrNull(value.buildNumber)) && (value.isSandbox === void 0 || typeof value.isSandbox === "boolean") && (value.sandboxUrlScheme === void 0 || isTextOrNull(value.sandboxUrlScheme)) && (value.exportMethod === void 0 || isTextOrNull(value.exportMethod)) && (value.nativeAppVersion === void 0 || isTextOrNull(value.nativeAppVersion)) && isRecord$1(value.artifact) && typeof value.artifact.kind === "string" && NATIVE_BUILD_ARTIFACT_KINDS.has(value.artifact.kind) && isText(value.artifact.storageUri) && Number.isSafeInteger(value.artifact.byteSize) && value.artifact.byteSize >= 0 && isRecord$1(value.embeddedBundle) && isText(value.embeddedBundle.manifestStorageUri) && isText(value.embeddedBundle.manifestFileHash) && isText(value.embeddedBundle.assetBaseStorageUri) && (value.embeddedBundle.metadata === void 0 || isRecord$1(value.embeddedBundle.metadata));
5291
5305
  var scopeKeyOf = (params) => decodeMaybe(requireRouteParam(params, "scopeKey")) ?? "";
5292
5306
  /** Every admin route's handler, by the name `ADMIN_ROUTES` mounts it under. */
5293
5307
  var createAdminRouteHandlers = () => ({
@@ -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-BrVL3L7R.mjs";
4
+ import { k as cn } from "./sidebar-Bsfqid7Q.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,4 +1,4 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/bundleActivity-BP40zYSt.js
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/bundleActivity-a-pEDiqu.js
2
2
  async function getBundleActivity(model, inputs) {
3
3
  if (inputs.length === 0) return {};
4
4
  const releases = inputs.map((input) => ({
@@ -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-BrVL3L7R.mjs";
3
+ import { k as cn } from "./sidebar-Bsfqid7Q.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-C8ZmMWnn.mjs";
2
- import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-CERo_xef.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/config.server-5W5WD8x2.js
1
+ import { i as getRequest } from "./server-BfWxoIjf.mjs";
2
+ import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-ajvR-m99.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/config.server-DswyWSgG.js
4
4
  var configPromise = null;
5
5
  var core = null;
6
6
  var runtime = null;
@@ -20,7 +20,7 @@ var loadConsole = async (request = getRequest()) => {
20
20
  const config = await loadCachedConfig(request);
21
21
  core ??= config.core;
22
22
  if (!runtime) {
23
- const { createConsoleRuntime } = await import("./runtime.server-CkSbWaZm.mjs");
23
+ const { createConsoleRuntime } = await import("./runtime.server-BUbb281Z.mjs");
24
24
  runtime = createConsoleRuntime(config);
25
25
  }
26
26
  return {
@@ -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-B0S5YFUa.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-access-DM56j3dM.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-CERo_xef.mjs")]);
12
+ const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-ajvR-m99.mjs")]);
13
13
  await requireConsoleAccess(getRequest());
14
14
  return next();
15
15
  });
@@ -1,4 +1,4 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-xaGDhRC9.js
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-DTYyXrWO.js
2
2
  /**
3
3
  * The console's features and the server plugin each one needs. The console
4
4
  * serves a feature only when its config lists the plugin, as the server runs
@@ -1,10 +1,10 @@
1
- import { n as consoleFeatures } from "./console-features-xaGDhRC9.mjs";
1
+ import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { A as createSsrRpc } from "./sidebar-BrVL3L7R.mjs";
4
- import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-Bsfqid7Q.mjs";
4
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
5
5
  import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
6
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-CV_EReEj.js
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-g5s9V5sz.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-B0S5YFUa.mjs";
2
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-D3xlQsuy.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-Cnmhvmsk.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-5W5WD8x2.mjs");
11
+ const { prepareConfig } = await import("./config.server-DswyWSgG.mjs");
12
12
  const { runtime } = await prepareConfig();
13
13
  return {
14
14
  features: await runtime.features(),
@@ -1,4 +1,4 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/databaseConfig-XAvDetmn.js
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/databaseConfig-B56IJxlu.js
2
2
  /** Whether a configured database is a self-hosted server's. */
3
3
  var isRemoteDatabase = (value) => typeof value === "object" && value !== null && "core" in value && "fetchAdmin" in value;
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { a as isDatabaseMetadataObject, t as DatabaseAdapterInputError } from "./databaseJsonValue-DuUoft8j.mjs";
2
- import { d as getAssetBaseStorageUri, h as getManifestStorageUri, m as getManifestFileHash, p as getBundlePatches } from "./dist-B6-irDRA.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/databaseRows-BtRVBD0C.js
2
+ import { a as getAssetBaseStorageUri, c as getManifestFileHash, l as getManifestStorageUri, s as getBundlePatches } from "./dist-CiOq3ygH.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/databaseRows-BZMFl5QV.js
4
4
  var bundleMetadataToRow = (metadata) => {
5
5
  if (metadata === void 0) return {};
6
6
  if (!isDatabaseMetadataObject(metadata)) throw new DatabaseAdapterInputError("invalid-data");
@@ -1,5 +1,5 @@
1
1
  import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/deviceProfileToken-CwWb1lPq.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/deviceProfileToken-xzDLfE0T.js
3
3
  /**
4
4
  * Signed, short-lived tokens for an iPhone's profile flow, which runs where
5
5
  * the Console's session isn't: Safari's profile download and the Settings app's
@@ -9,9 +9,12 @@ import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
9
9
  * - The capability (`t`) lets the profile routes serve one profile and take
10
10
  * one answer for a signed-in person: `register` saves the iPhone as
11
11
  * requested, `identify` only tells the build page which iPhone it is.
12
- * - The receipt (`r`) is what `identify` hands back: it names the UDID the
13
- * profile read and whose session asked, so Request access takes the UDID
14
- * from it, never from a link anyone can craft.
12
+ * - The receipt (`r`) is what the profile's answer hands back, in the page's
13
+ * fragment: it names the UDID the profile read and whose session asked, so
14
+ * Request access takes the UDID from it, never from a link anyone can craft.
15
+ * - The kept receipt says the same for 30 days, in an HttpOnly cookie the
16
+ * page trades the fragment's receipt for, so that Safari can request this
17
+ * iPhone again without the profile, for the same person only.
15
18
  */
16
19
  /** Separates these tokens' key from every other use of the Console's secret. */
17
20
  var KEY_CONTEXT = "hot-updater/console/device-profile/v1";
@@ -19,6 +22,8 @@ var KEY_CONTEXT = "hot-updater/console/device-profile/v1";
19
22
  var DEVICE_PROFILE_TOKEN_TTL_MS = 900 * 1e3;
20
23
  /** How long a receipt works, from the profile's answer to Request access. */
21
24
  var DEVICE_RECEIPT_TTL_MS = 3600 * 1e3;
25
+ /** How long Safari keeps the proof of this iPhone, in its cookie. */
26
+ var KEPT_DEVICE_RECEIPT_TTL_MS = 720 * 60 * 60 * 1e3;
22
27
  var encoder = new TextEncoder();
23
28
  var base64Url = (bytes) => btoa(String.fromCharCode(...bytes)).replaceAll("+", "-").replaceAll("/", "_").replaceAll("=", "");
24
29
  var fromBase64Url = (text) => Uint8Array.from(atob(text.replaceAll("-", "+").replaceAll("_", "/")), (char) => char.charCodeAt(0));
@@ -56,6 +61,7 @@ var verify = async (secret, purpose, token, now) => {
56
61
  };
57
62
  var PROFILE_PURPOSE = "device-profile";
58
63
  var RECEIPT_PURPOSE = "device-receipt";
64
+ var KEPT_RECEIPT_PURPOSE = "device-receipt-kept";
59
65
  var createDeviceProfileToken = (secret, grant, now = Date.now()) => sign(secret, PROFILE_PURPOSE, grant, now + DEVICE_PROFILE_TOKEN_TTL_MS);
60
66
  var verifyDeviceProfileToken = async (secret, token, now = Date.now()) => {
61
67
  const verified = await verify(secret, PROFILE_PURPOSE, token, now);
@@ -78,5 +84,15 @@ var verifyDeviceReceipt = async (secret, token, now = Date.now()) => {
78
84
  e: verified.e
79
85
  };
80
86
  };
87
+ var createKeptDeviceReceipt = (secret, receipt, now = Date.now()) => sign(secret, KEPT_RECEIPT_PURPOSE, receipt, now + KEPT_DEVICE_RECEIPT_TTL_MS);
88
+ var verifyKeptDeviceReceipt = async (secret, token, now = Date.now()) => {
89
+ const verified = await verify(secret, KEPT_RECEIPT_PURPOSE, token, now);
90
+ if (typeof verified === "string") return verified;
91
+ if (typeof verified.u !== "string" || typeof verified.e !== "string") return "invalid";
92
+ return {
93
+ u: verified.u,
94
+ e: verified.e
95
+ };
96
+ };
81
97
  //#endregion
82
- export { verifyDeviceReceipt as a, verifyDeviceProfileToken as i, createDeviceProfileToken as n, createDeviceReceipt as r, DEVICE_PROFILE_TOKEN_TTL_MS as t };
98
+ export { createKeptDeviceReceipt as a, verifyKeptDeviceReceipt as c, createDeviceReceipt as i, KEPT_DEVICE_RECEIPT_TTL_MS as n, verifyDeviceProfileToken as o, createDeviceProfileToken as r, verifyDeviceReceipt as s, DEVICE_PROFILE_TOKEN_TTL_MS as t };
@@ -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-BrVL3L7R.mjs";
4
+ import { k as cn, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Dialog$1({ ...props }) {
@@ -32,13 +32,13 @@ function DialogOverlay({ className, ...props }) {
32
32
  function DialogContent({ className, children, showCloseButton = true, ...props }) {
33
33
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPortal, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogOverlay, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPopup, {
34
34
  "data-slot": "dialog-content",
35
- className: cn("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-background p-4 text-xs/relaxed ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
35
+ className: cn("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-background p-4 text-xs/relaxed ring-1 ring-foreground/10 duration-100 outline-none max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
36
36
  ...props,
37
37
  children: [children, showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogClose, {
38
38
  "data-slot": "dialog-close",
39
39
  render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
40
40
  variant: "ghost",
41
- className: "absolute top-2 right-2",
41
+ className: "absolute top-2 right-2 max-md:top-1 max-md:right-1 max-md:size-11",
42
42
  size: "icon-sm"
43
43
  }),
44
44
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(X, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
@@ -58,7 +58,7 @@ function DialogHeader({ className, ...props }) {
58
58
  function DialogFooter({ className, showCloseButton = false, children, ...props }) {
59
59
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
60
60
  "data-slot": "dialog-footer",
61
- className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
61
+ className: cn("flex flex-col-reverse gap-2 max-sm:*:min-h-11 sm:flex-row sm:justify-end", className),
62
62
  ...props,
63
63
  children: [children, showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogClose, {
64
64
  render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, { variant: "outline" }),