@hot-updater/console 1.2.0-rc.31 → 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 (257) 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-Dz25a2yJ.js → RelativeTime-CP7nosYx.js} +1 -1
  16. package/.output/public/assets/{RolloutPercentageBadge-D_I0Raj2.js → RolloutPercentageBadge-DnmU8XbU.js} +1 -1
  17. package/.output/public/assets/{RowReason-CAkj76WL.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-CPVg1lWP.mjs → __23tanstack-start-server-fn-resolver-ET1Ypyyk.mjs} +58 -62
  90. package/.output/server/_libs/_.mjs +1 -1
  91. package/.output/server/_ssr/{-native-builds-search-DD7wilC0.mjs → -native-builds-search-OJ8XmaBa.mjs} +1 -1
  92. package/.output/server/_ssr/{BundleIdDisplay-CHwdLSxI.mjs → BundleIdDisplay-CpaKbEYb.mjs} +2 -2
  93. package/.output/server/_ssr/{ChannelBadge-DdrhdvMM.mjs → ChannelBadge-dVXs-bYV.mjs} +3 -3
  94. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DPX24kXX.mjs → ConsoleFeatureUnavailable-DWuWwY4L.mjs} +6 -6
  95. package/.output/server/_ssr/{EventDetails-6jBbGcbN.mjs → EventDetails-CcuGyU26.mjs} +6 -6
  96. package/.output/server/_ssr/{HashValueDisplay-B4--TU87.mjs → HashValueDisplay-ClkGq5_0.mjs} +2 -2
  97. package/.output/server/_ssr/{InsightsPageHeader-CuJ8N3TQ.mjs → InsightsPageHeader-Bw6RVpdS.mjs} +6 -6
  98. package/.output/server/_ssr/{IosInstall-CHC-d6NT.mjs → IosInstall-DEceeAVT.mjs} +120 -71
  99. package/.output/server/_ssr/{NativeBuildsNav-C69l7uNo.mjs → NativeBuildsNav-ChqRZH4E.mjs} +5 -5
  100. package/.output/server/_ssr/{NotFoundPage-ZsHGzoLS.mjs → NotFoundPage-aZrAWo5n.mjs} +2 -2
  101. package/.output/server/_ssr/{PlatformIcon-BXcpYcrO.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
  102. package/.output/server/_ssr/QrCode-pEaOdaRS.mjs +50 -0
  103. package/.output/server/_ssr/{RelativeTime-7vOoIT4P.mjs → RelativeTime-CFIJbj_r.mjs} +3 -3
  104. package/.output/server/_ssr/{RolloutPercentageBadge--MojdSYZ.mjs → RolloutPercentageBadge-BEqOJXly.mjs} +3 -3
  105. package/.output/server/_ssr/{RowReason-CIaGuzr1.mjs → RowReason-DXbU_Nml.mjs} +4 -4
  106. package/.output/server/_ssr/{SandboxBadge-BqBSRE2-.mjs → SandboxBadge-CP76AVxN.mjs} +2 -2
  107. package/.output/server/_ssr/{TargetDisplay-CLn4k3f5.mjs → TargetDisplay-csC-slf3.mjs} +3 -3
  108. package/.output/server/_ssr/{alert-dialog-DihcZr0y.mjs → alert-dialog-Dn5l3Bob.mjs} +3 -3
  109. package/.output/server/_ssr/{api-nFsUxTG1.mjs → api-W0WerUfm.mjs} +4 -4
  110. package/.output/server/_ssr/{api-keys-CN5wpM3R.mjs → api-keys-Btu37Irf.mjs} +2 -2
  111. package/.output/server/_ssr/{api-keys-DExjZkdx.mjs → api-keys-D7kmFdhY.mjs} +10 -9
  112. package/.output/server/_ssr/{api-keys-rpc-CClIn3D8.mjs → api-keys-rpc-9o4CyzUZ.mjs} +3 -3
  113. package/.output/server/_ssr/{api-rpc-DLRzLoop.mjs → api-rpc-B1HnUZMu.mjs} +13 -13
  114. package/.output/server/_ssr/{auth-rpc-U46OWsbS.mjs → auth-rpc-BBy2L4Ah.mjs} +4 -4
  115. package/.output/server/_ssr/{auth.server-iIXxFs8t.mjs → auth.server-ajvR-m99.mjs} +2 -2
  116. package/.output/server/_ssr/{badge-jnl4Ajh1.mjs → badge-DlEpe8yC.mjs} +1 -1
  117. package/.output/server/_ssr/{card-BEfQk5Ei.mjs → card-AK7Ms1Oa.mjs} +1 -1
  118. package/.output/server/_ssr/{config.server-Ig1eUxaf.mjs → config.server-DswyWSgG.mjs} +4 -4
  119. package/.output/server/_ssr/{console-access-BOTh4-fO.mjs → console-access-DM56j3dM.mjs} +2 -2
  120. package/.output/server/_ssr/{console-features-CzhqrCcX.mjs → console-features-DTYyXrWO.mjs} +1 -1
  121. package/.output/server/_ssr/{console-features-api-Dk02j_6v.mjs → console-features-api-g5s9V5sz.mjs} +4 -4
  122. package/.output/server/_ssr/{console-features-rpc-B_V68MjF.mjs → console-features-rpc-Cnmhvmsk.mjs} +3 -3
  123. package/.output/server/_ssr/{deviceProfileToken-BbLKmrUb.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
  124. package/.output/server/_ssr/{dialog-DuyJ0HsU.mjs → dialog-0oBrR9Cj.mjs} +4 -4
  125. package/.output/server/_ssr/{empty-BDBZwsuM.mjs → empty-tasgkoU9.mjs} +2 -2
  126. package/.output/server/_ssr/{field-CX6srGIn.mjs → field-phtuBLMh.mjs} +2 -2
  127. package/.output/server/_ssr/{input-group-CV_H0YX7.mjs → input-group-BTEoUANX.mjs} +2 -2
  128. package/.output/server/_ssr/{insights-CBoiq6pK.mjs → insights-BBzyKO95.mjs} +2 -2
  129. package/.output/server/_ssr/{insights-Td2VtKJZ.mjs → insights-CPDtpuXg.mjs} +5 -5
  130. package/.output/server/_ssr/{insights-DQmsr9I4.mjs → insights-D4le8l6s.mjs} +25 -20
  131. package/.output/server/_ssr/{insights-api-G8ZOyKKA.mjs → insights-api-D6J2HVtY.mjs} +3 -3
  132. package/.output/server/_ssr/{insights-failures-rpc-Ba4YSjbA.mjs → insights-failures-rpc-ChwlB9sg.mjs} +7 -7
  133. package/.output/server/_ssr/{insights-recovery-rpc-LKbOLo-_.mjs → insights-recovery-rpc-B6_GT-_U.mjs} +4 -4
  134. package/.output/server/_ssr/{insights-rpc-TkflAi0Z.mjs → insights-rpc-DG0GxsIL.mjs} +3 -3
  135. package/.output/server/_ssr/{insights-search-aCzmEqnq.mjs → insights-search-LKeSNr4M.mjs} +2 -2
  136. package/.output/server/_ssr/{insights-usage-rpc-Cbk3jKjA.mjs → insights-usage-rpc-I0Eh5Z89.mjs} +4 -4
  137. package/.output/server/_ssr/{insights-usage-rpc-NoT-iWyp.mjs → insights-usage-rpc-qnQWkNn2.mjs} +3 -3
  138. package/.output/server/_ssr/{insights_.distribution-Y3uFkJMX.mjs → insights_.distribution-BF99IaZu.mjs} +5 -5
  139. package/.output/server/_ssr/{insights_.distribution-Vt7W1Xw7.mjs → insights_.distribution-D2dZwvqQ.mjs} +2 -2
  140. package/.output/server/_ssr/{insights_.distribution-Bo1WRLKV.mjs → insights_.distribution-Dgv-_T7g.mjs} +14 -14
  141. package/.output/server/_ssr/{installations-BpcY3NSj.mjs → installations-BHjU8FUI.mjs} +2 -2
  142. package/.output/server/_ssr/{installations-DClqNAQn.mjs → installations-C7TindNY.mjs} +4 -4
  143. package/.output/server/_ssr/{installations-BEUOlOQs.mjs → installations-DVTUpBGI.mjs} +11 -11
  144. package/.output/server/_ssr/{ios-devices-rpc-DmjO2Cbe.mjs → ios-devices-rpc-KtosHTCC.mjs} +9 -21
  145. package/.output/server/_ssr/iosDeviceCookie-B-8c7lMJ.mjs +155 -0
  146. package/.output/server/_ssr/{iosDeviceProfile-CseUPyC3.mjs → iosDeviceProfile-CIEuY_kV.mjs} +13 -14
  147. package/.output/server/_ssr/{iosDevices-BcM0YdL8.mjs → iosDevices-CkLgS8_U.mjs} +4 -20
  148. package/.output/server/_ssr/{native-artifact-C-jGiTjz.mjs → native-artifact-BRNP_q-y.mjs} +1 -1
  149. package/.output/server/_ssr/{native-builds-CwdDL-ag.mjs → native-builds-3WEAnb93.mjs} +16 -16
  150. package/.output/server/_ssr/{native-builds-B31AnQ0z.mjs → native-builds-B6rWkcHL.mjs} +3 -3
  151. package/.output/server/_ssr/{native-builds-DjoHvBQf.mjs → native-builds-nRuXKypG.mjs} +63 -2
  152. package/.output/server/_ssr/{native-builds_._buildId-Dew-f4Ox.mjs → native-builds_._buildId-BaykQRJl.mjs} +3 -3
  153. package/.output/server/_ssr/{native-builds_._buildId-xNxhulXv.mjs → native-builds_._buildId-RFJXyul0.mjs} +18 -25
  154. package/.output/server/_ssr/{native-builds_.devices-BBWNnbAj.mjs → native-builds_.devices-BzkeAX0K.mjs} +121 -67
  155. package/.output/server/_ssr/{native-builds_.devices-DpYGqdjz.mjs → native-builds_.devices-D9EGVV1N.mjs} +3 -3
  156. package/.output/server/_ssr/{nativeBuildDownloadLink-CMo_0eeE.mjs → nativeBuildDownloadLink-A1aWZBDw.mjs} +2 -2
  157. package/.output/server/_ssr/{nativeBuildInstall-BlT6X49f.mjs → nativeBuildInstall-XzMDX9iY.mjs} +8 -7
  158. package/.output/server/_ssr/{nativeBuilds-DnIRDijn.mjs → nativeBuilds-DaF-TcfO.mjs} +2 -2
  159. package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
  160. package/.output/server/_ssr/{publicConsoleBase-CBG0Pv8f.mjs → publicConsoleBase-wTKw3_iB.mjs} +2 -14
  161. package/.output/server/_ssr/{release-adoption-rpc-CNwUfrya.mjs → release-adoption-rpc-DoDlwfWB.mjs} +7 -7
  162. package/.output/server/_ssr/{releaseAdoption-COlUf2W5.mjs → releaseAdoption-DfEYq7I4.mjs} +1 -1
  163. package/.output/server/_ssr/{remote-config-DdcrliiZ.mjs → remote-config-6lhdA4DB.mjs} +18 -18
  164. package/.output/server/_ssr/{remote-config-D1X_UwRB.mjs → remote-config-BMg2UurZ.mjs} +2 -2
  165. package/.output/server/_ssr/{remote-config-rpc-oR3e-Ixt.mjs → remote-config-rpc-Ddg8dyxw.mjs} +3 -3
  166. package/.output/server/_ssr/{remote-config-7NN5w0OC.mjs → remote-config-u_T4AXyi.mjs} +2 -2
  167. package/.output/server/_ssr/{router-DxsgaBqH.mjs → router-CovCAswJ.mjs} +100 -60
  168. package/.output/server/_ssr/{routes-BXne94ak.mjs → routes-CTUvEVa6.mjs} +36 -32
  169. package/.output/server/_ssr/{routes-DdZw0VC5.mjs → routes-DtkONaBi.mjs} +10 -9
  170. package/.output/server/_ssr/{runtime.server-DImJAltO.mjs → runtime.server-BUbb281Z.mjs} +2 -2
  171. package/.output/server/_ssr/{schema-migration-rpc-BZueLWKW.mjs → schema-migration-rpc-DvmruDB6.mjs} +3 -3
  172. package/.output/server/_ssr/{select-DcWzmCb3.mjs → select-DJLTQgmc.mjs} +1 -1
  173. package/.output/server/_ssr/{server-DA_rB8Ch.mjs → server-BfWxoIjf.mjs} +4 -4
  174. package/.output/server/_ssr/{sidebar-BsFYs26D.mjs → sidebar-Bsfqid7Q.mjs} +6 -6
  175. package/.output/server/_ssr/ssr.mjs +1 -1
  176. package/.output/server/_ssr/{start-Ds6WPOwH.mjs → start-BaUpXI0L.mjs} +1 -1
  177. package/.output/server/_ssr/{switch-CByCMAau.mjs → switch-DckZkZBS.mjs} +3 -3
  178. package/.output/server/_ssr/{table-SLiL-w8T.mjs → table-DG8aRQBO.mjs} +1 -1
  179. package/.output/server/_ssr/{tabs-BCG8AAvJ.mjs → tabs-Dblh3lL2.mjs} +2 -2
  180. package/.output/server/_ssr/{updateFailures-Cl1Fxj4J.mjs → updateFailures-BwDwIoNu.mjs} +1 -1
  181. package/.output/server/_tanstack-start-manifest_v-CfDH9vVq.mjs +225 -0
  182. package/.output/server/index.mjs +436 -436
  183. package/package.json +7 -7
  184. package/src/components/AppSidebar.tsx +11 -2
  185. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  186. package/src/components/features/bundles/BundleMetadata.tsx +1 -1
  187. package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
  188. package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
  189. package/src/components/features/insights/FailureReports.tsx +1 -0
  190. package/src/components/features/insights/InsightsOverview.tsx +7 -1
  191. package/src/components/features/insights/ReleaseActivity.tsx +5 -1
  192. package/src/components/features/insights/UpdateFailures.tsx +1 -0
  193. package/src/components/features/native-builds/IosDevicesPage.tsx +113 -34
  194. package/src/components/features/native-builds/IosInstall.tsx +50 -27
  195. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
  196. package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
  197. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
  198. package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
  199. package/src/components/ui/alert-dialog.tsx +2 -2
  200. package/src/components/ui/dialog.tsx +3 -3
  201. package/src/components/ui/input.tsx +1 -1
  202. package/src/components/ui/sheet.tsx +1 -1
  203. package/src/components/ui/sidebar.tsx +2 -2
  204. package/src/components/ui/slider.tsx +1 -1
  205. package/src/components/ui/switch.tsx +1 -1
  206. package/src/components/ui/textarea.tsx +1 -1
  207. package/src/lib/ios-devices-api.ts +133 -5
  208. package/src/lib/ios-devices-rpc.ts +0 -12
  209. package/src/lib/native-builds.ts +88 -0
  210. package/src/lib/server/deviceProfileToken.ts +37 -3
  211. package/src/lib/server/iosDeviceCookie.ts +239 -0
  212. package/src/lib/server/iosDeviceProfile.ts +4 -2
  213. package/src/lib/server/iosDevices.ts +0 -30
  214. package/src/routeTree.gen.ts +44 -0
  215. package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
  216. package/src/routes/[_]hot-updater/devices/request.ts +28 -0
  217. package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
  218. package/.output/public/assets/IosInstall-B-Yt7DUj.js +0 -1
  219. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
  220. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
  221. package/.output/public/assets/TargetDisplay-B_dqT5iw.js +0 -1
  222. package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
  223. package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
  224. package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
  225. package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
  226. package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
  227. package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
  228. package/.output/public/assets/check-CqWNyG93.js +0 -1
  229. package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
  230. package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
  231. package/.output/public/assets/index-IK43LiLE.js +0 -10
  232. package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
  233. package/.output/public/assets/insights-C94CdeAA.js +0 -1
  234. package/.output/public/assets/insights-DILMVpk8.js +0 -2
  235. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
  236. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
  237. package/.output/public/assets/installations-BA01mqJE.js +0 -1
  238. package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
  239. package/.output/public/assets/native-builds-C-Dayo63.js +0 -2
  240. package/.output/public/assets/native-builds-_3SRMVOS.js +0 -1
  241. package/.output/public/assets/native-builds_._buildId-BPJzn5LY.js +0 -2
  242. package/.output/public/assets/native-builds_._buildId-DJWMBKQQ.js +0 -1
  243. package/.output/public/assets/native-builds_.devices-BbE0s2il.js +0 -1
  244. package/.output/public/assets/native-builds_.devices-BiXjrMS-.js +0 -2
  245. package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
  246. package/.output/public/assets/plus-Db0KxLZp.js +0 -1
  247. package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
  248. package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
  249. package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
  250. package/.output/public/assets/routes-CH42g1N9.js +0 -1
  251. package/.output/public/assets/routes-_QhVAS_l.js +0 -2
  252. package/.output/public/assets/search-dJG2BYmx.js +0 -1
  253. package/.output/public/assets/send-DuMOCzbD.js +0 -1
  254. package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
  255. package/.output/public/assets/styles-BYO5PJYg.css +0 -2
  256. package/.output/server/_tanstack-start-manifest_v-BoMD43wU.mjs +0 -225
  257. /package/.output/public/assets/{uuidv7-DAoOOpz9.js → uuidv7-DgXZ1zRR.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { a as decodeChannelKey, i as createReleaseCatalogScopeKey, o as encodeChannelKey, r as canonicalizeAppVersion } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds-DjoHvBQf.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds-nRuXKypG.js
3
3
  /**
4
4
  * `value` as one POSIX shell word: as it is when it holds only characters
5
5
  * no shell treats specially, else in single quotes, so a file name or link
@@ -64,6 +64,23 @@ var consolePathOf = (location, id) => {
64
64
  const page = nativeBuildDetailPath(id);
65
65
  return location.pathname.endsWith(page) ? location.pathname.slice(0, -page.length) : "";
66
66
  };
67
+ /**
68
+ * The Console's own path, from where the browser is and where the router says
69
+ * it is: the prefix a host serves the Console under, or empty at its root.
70
+ */
71
+ var consolePathFromRouter = (location, routerPathname) => {
72
+ const path = location.pathname.replace(/\/$/u, "");
73
+ const route = routerPathname.replace(/\/$/u, "");
74
+ return path.endsWith(route) ? path.slice(0, path.length - route.length) : "";
75
+ };
76
+ /**
77
+ * The Console's own path, from one of its Native builds pages, where the
78
+ * profile's answer lands: empty at the root of its host.
79
+ */
80
+ var consolePathOfNativeBuildsPage = (location) => {
81
+ const at = location.pathname.lastIndexOf("/native-builds");
82
+ return at < 0 ? "" : location.pathname.slice(0, at);
83
+ };
67
84
  /** The console page of one native build. */
68
85
  var nativeBuildDetailPath = (id) => `/native-builds/${encodeURIComponent(id)}`;
69
86
  /**
@@ -79,6 +96,50 @@ var IOS_UDID_STORAGE_KEY = "hot-updater-ios-udid";
79
96
  * signed-in person, which Request access takes.
80
97
  */
81
98
  var IOS_DEVICE_RECEIPT_STORAGE_KEY = "hot-updater-ios-device-receipt";
99
+ /**
100
+ * The profile answer's fresh receipt, in this tab's session storage only until
101
+ * the page has traded it for the HttpOnly cookie: a reload during an outage
102
+ * can still trade it. Gone once traded, or once it has expired.
103
+ */
104
+ var IOS_DEVICE_PENDING_RECEIPT_KEY = "hot-updater-ios-device-pending-receipt";
105
+ /** When a signed receipt expires, from its own body, or 0 when unreadable. */
106
+ var receiptExpiresAtMs = (receipt) => {
107
+ try {
108
+ const body = receipt.split(".")[0].replaceAll("-", "+").replaceAll("_", "/");
109
+ const x = JSON.parse(atob(body)).x;
110
+ return typeof x === "number" ? x : 0;
111
+ } catch {
112
+ return 0;
113
+ }
114
+ };
115
+ /** The pending receipt this tab holds for `udid`, unexpired, or null. */
116
+ var readPendingReceipt = (udid) => {
117
+ try {
118
+ const kept = JSON.parse(window.sessionStorage.getItem("hot-updater-ios-device-pending-receipt") ?? "null");
119
+ if (typeof kept?.receipt !== "string") return null;
120
+ if (receiptExpiresAtMs(kept.receipt) <= Date.now()) {
121
+ window.sessionStorage.removeItem(IOS_DEVICE_PENDING_RECEIPT_KEY);
122
+ return null;
123
+ }
124
+ return udid !== null && kept.udid === udid ? kept.receipt : null;
125
+ } catch {
126
+ return null;
127
+ }
128
+ };
129
+ var holdPendingReceipt = (udid, receipt) => {
130
+ try {
131
+ window.sessionStorage.setItem(IOS_DEVICE_PENDING_RECEIPT_KEY, JSON.stringify({
132
+ udid,
133
+ receipt
134
+ }));
135
+ } catch {}
136
+ };
137
+ /** Drops the pending receipt once it is traded, if it is this one. */
138
+ var releasePendingReceipt = (receipt) => {
139
+ try {
140
+ if (JSON.parse(window.sessionStorage.getItem("hot-updater-ios-device-pending-receipt") ?? "null")?.receipt === receipt) window.sessionStorage.removeItem(IOS_DEVICE_PENDING_RECEIPT_KEY);
141
+ } catch {}
142
+ };
82
143
  /** A device's UDID: 40 hex digits, or 8 and 16 joined by a hyphen. */
83
144
  var IOS_UDID_PATTERN = /^(?:[0-9a-f]{40}|[0-9a-f]{8}-[0-9a-f]{16})$/iu;
84
145
  /** The Console page of the iOS device registry, inside Native builds. */
@@ -195,4 +256,4 @@ var formatByteSize = (bytes) => {
195
256
  */
196
257
  var nativeBuildInstallCommand = (build) => `npx hot-updater native-build install ${shellQuote(build.id)}`;
197
258
  //#endregion
198
- export { nativeBuildManifestPath as C, platformLabel as D, nativeBuildSignedDownloadUrl as E, releaseNativeBuildScope as O, nativeBuildLabel as S, nativeBuildScope as T, nativeBuildDetailPath as _, IOS_DEVICE_RESPONSE_PATH as a, nativeBuildInstallCommand as b, NATIVE_BUILD_INSTALL_LINK_TTL_MS as c, formatByteSize as d, iosDeviceProfileUrl as f, nativeBuildChannel as g, nativeBuildCatalogScopeKey as h, IOS_DEVICE_RECEIPT_STORAGE_KEY as i, shellQuote as k, channelIdOf as l, nativeBuildArtifacts as m, IOS_DEVICES_PATH as n, IOS_UDID_PATTERN as o, maskIosUdid as p, IOS_DEVICE_PROFILE_PATH as r, IOS_UDID_STORAGE_KEY as s, IOS_DEVICES_ADD_COMMAND as t, consolePathOf as u, nativeBuildDownloadPath as v, nativeBuildPathKey as w, nativeBuildItmsUrl as x, nativeBuildFileName as y };
259
+ export { platformLabel as A, nativeBuildInstallCommand as C, nativeBuildPathKey as D, nativeBuildManifestPath as E, releaseNativeBuildScope as M, releasePendingReceipt as N, nativeBuildScope as O, shellQuote as P, nativeBuildFileName as S, nativeBuildLabel as T, nativeBuildArtifacts as _, IOS_DEVICE_RESPONSE_PATH as a, nativeBuildDetailPath as b, NATIVE_BUILD_INSTALL_LINK_TTL_MS as c, consolePathOf as d, consolePathOfNativeBuildsPage as f, maskIosUdid as g, iosDeviceProfileUrl as h, IOS_DEVICE_RECEIPT_STORAGE_KEY as i, readPendingReceipt as j, nativeBuildSignedDownloadUrl as k, channelIdOf as l, holdPendingReceipt as m, IOS_DEVICES_PATH as n, IOS_UDID_PATTERN as o, formatByteSize as p, IOS_DEVICE_PROFILE_PATH as r, IOS_UDID_STORAGE_KEY as s, IOS_DEVICES_ADD_COMMAND as t, consolePathFromRouter as u, nativeBuildCatalogScopeKey as v, nativeBuildItmsUrl as w, nativeBuildDownloadPath as x, nativeBuildChannel as y };
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-DD7wilC0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-Dew-f4Ox.js
4
- var $$splitComponentImporter = () => import("./native-builds_._buildId-xNxhulXv.mjs");
2
+ import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-OJ8XmaBa.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-BaykQRJl.js
4
+ var $$splitComponentImporter = () => import("./native-builds_._buildId-RFJXyul0.mjs");
5
5
  var Route = createFileRoute("/native-builds_/$buildId")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateNativeBuildDetailSearch
@@ -1,26 +1,27 @@
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 { B as Download, J as ChevronLeft, M as HardDrive, N as GitBranch, R as ExternalLink, S as PackageOpen, W as CircleCheck, _ as RefreshCw, i as TriangleAlert, j as History, q as ChevronRight, tt as ArrowUpRight, u as Smartphone } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-BsFYs26D.mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
5
5
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-BDBZwsuM.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BEfQk5Ei.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jnl4Ajh1.mjs";
9
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-SLiL-w8T.mjs";
6
+ import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-tasgkoU9.mjs";
7
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-AK7Ms1Oa.mjs";
8
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DlEpe8yC.mjs";
9
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DG8aRQBO.mjs";
10
10
  import { n as toast } from "../_libs/sonner.mjs";
11
11
  import { r as NUMERIC_COHORT_SIZE } from "./dist-CiOq3ygH.mjs";
12
- import { D as platformLabel, E as nativeBuildSignedDownloadUrl, S as nativeBuildLabel, b as nativeBuildInstallCommand, d as formatByteSize, k as shellQuote, m as nativeBuildArtifacts, p as maskIosUdid, v as nativeBuildDownloadPath, y as nativeBuildFileName } from "./native-builds-DjoHvBQf.mjs";
13
- import { t as PlatformIcon } from "./PlatformIcon-BXcpYcrO.mjs";
14
- import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-nFsUxTG1.mjs";
15
- import { t as BundleIdDisplay } from "./BundleIdDisplay-CHwdLSxI.mjs";
16
- import { t as ChannelBadge } from "./ChannelBadge-DdrhdvMM.mjs";
12
+ import { A as platformLabel, C as nativeBuildInstallCommand, P as shellQuote, S as nativeBuildFileName, T as nativeBuildLabel, _ as nativeBuildArtifacts, g as maskIosUdid, k as nativeBuildSignedDownloadUrl, p as formatByteSize, x as nativeBuildDownloadPath } from "./native-builds-nRuXKypG.mjs";
13
+ import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-W0WerUfm.mjs";
14
+ import { t as PlatformIcon } from "./PlatformIcon-X18AN8Yp.mjs";
15
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-CpaKbEYb.mjs";
16
+ import { t as ChannelBadge } from "./ChannelBadge-dVXs-bYV.mjs";
17
17
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
18
- import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-CLn4k3f5.mjs";
19
- import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-BqBSRE2-.mjs";
20
- import { t as Route } from "./native-builds_._buildId-Dew-f4Ox.mjs";
21
- import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge--MojdSYZ.mjs";
22
- import { n as IosInstall, o as useIosDevice, r as QrCode, u as useNativeBuildIpaDevicesQuery } from "./IosInstall-CHC-d6NT.mjs";
23
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-xNxhulXv.js
18
+ import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-csC-slf3.mjs";
19
+ import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-CP76AVxN.mjs";
20
+ import { c as useIosDevice, n as IosInstall, p as useNativeBuildIpaDevicesQuery } from "./IosInstall-DEceeAVT.mjs";
21
+ import { t as Route } from "./native-builds_._buildId-BaykQRJl.mjs";
22
+ import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BEqOJXly.mjs";
23
+ import { t as QrCode } from "./QrCode-pEaOdaRS.mjs";
24
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-RFJXyul0.js
24
25
  var import_react = /* @__PURE__ */ __toESM(require_react());
25
26
  var import_jsx_runtime = require_jsx_runtime();
26
27
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -1125,15 +1126,7 @@ function NativeBuildDetailPage({ buildId, search, onSearchChange }) {
1125
1126
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HardDrive, {})
1126
1127
  }),
1127
1128
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyTitle, { children: "Native build not found" }),
1128
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyDescription, { children: [
1129
- "No native build has this ID. It may have been deleted with",
1130
- " ",
1131
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", {
1132
- className: "font-mono",
1133
- children: "native-build delete"
1134
- }),
1135
- ", or be from another console."
1136
- ] })
1129
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyDescription, { children: "No native build has this ID. It may have been deleted, or be from another console." })
1137
1130
  ] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
1138
1131
  className: buttonVariants({
1139
1132
  className: "min-h-11 sm:min-h-8",
@@ -1,25 +1,26 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, d as MenuRoot, f as MenuPositioner, h as MenuItem, m as MenuPopup, p as MenuPortal, pt as Separator, u as MenuTrigger } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { D as LoaderCircle, M as HardDrive, X as Check, _ as RefreshCw, a as Trash2, i as TriangleAlert, u as Smartphone, y as Pencil, z as Ellipsis } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, j as useIsMobile, k as cn, n as Input, t as Button$1 } from "./sidebar-BsFYs26D.mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, j as useIsMobile, k as cn, n as Input, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
5
5
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
6
  import { s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BEfQk5Ei.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jnl4Ajh1.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-DihcZr0y.mjs";
10
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DuyJ0HsU.mjs";
11
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CX6srGIn.mjs";
12
- import { i as TableHead, o as TableRow, r as TableCell } from "./table-SLiL-w8T.mjs";
13
- import { f as iosDeviceProfileUrl, n as IOS_DEVICES_PATH, p as maskIosUdid, t as IOS_DEVICES_ADD_COMMAND, u as consolePathOf } from "./native-builds-DjoHvBQf.mjs";
7
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-AK7Ms1Oa.mjs";
8
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DlEpe8yC.mjs";
9
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-phtuBLMh.mjs";
10
+ 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-Dn5l3Bob.mjs";
11
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-0oBrR9Cj.mjs";
12
+ import { i as TableHead, o as TableRow, r as TableCell } from "./table-DG8aRQBO.mjs";
13
+ import { d as consolePathOf, g as maskIosUdid, h as iosDeviceProfileUrl, n as IOS_DEVICES_PATH, t as IOS_DEVICES_ADD_COMMAND } from "./native-builds-nRuXKypG.mjs";
14
14
  import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
15
- import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-DcWzmCb3.mjs";
15
+ import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-DJLTQgmc.mjs";
16
16
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
17
- import { c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, n as DataCardSkeletons, o as DataTableEmpty, r as DataCardsEmpty, s as DataTableFrame, t as DataCard } from "./RelativeTime-7vOoIT4P.mjs";
18
- import { n as CopyableText, r as NoValue } from "./TargetDisplay-CLn4k3f5.mjs";
19
- import { t as NativeBuildsNav } from "./NativeBuildsNav-C69l7uNo.mjs";
20
- import { a as useApproveIosDeviceMutation, c as useIosDeviceQuery, d as useRemoveIosDeviceMutation, f as useRenameIosDeviceMutation, i as iosDeviceKeys, l as useIosDevicesQuery, o as useIosDevice, r as QrCode, s as useIosDeviceProfileLinkQuery, t as AppleRefusal } from "./IosInstall-CHC-d6NT.mjs";
21
- import { t as Route } from "./native-builds_.devices-DpYGqdjz.mjs";
22
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-BBWNnbAj.js
17
+ import { c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, n as DataCardSkeletons, o as DataTableEmpty, r as DataCardsEmpty, s as DataTableFrame, t as DataCard } from "./RelativeTime-CFIJbj_r.mjs";
18
+ import { n as CopyableText, r as NoValue } from "./TargetDisplay-csC-slf3.mjs";
19
+ import { t as NativeBuildsNav } from "./NativeBuildsNav-ChqRZH4E.mjs";
20
+ import { c as useIosDevice, d as useIosDevicesQuery, f as useKeptIosDeviceQuery, g as useRequestThisIphoneMutation, h as useRenameIosDeviceMutation, i as iosDeviceKeys, l as useIosDeviceProfileLinkQuery, m as useRemoveIosDeviceMutation, o as keptIsThisIphone, s as useApproveIosDeviceMutation, t as AppleRefusal, u as useIosDeviceQuery } from "./IosInstall-DEceeAVT.mjs";
21
+ import { t as QrCode } from "./QrCode-pEaOdaRS.mjs";
22
+ import { t as Route } from "./native-builds_.devices-D9EGVV1N.mjs";
23
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-BzkeAX0K.js
23
24
  var import_react = /* @__PURE__ */ __toESM(require_react());
24
25
  var import_jsx_runtime = require_jsx_runtime();
25
26
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -198,11 +199,25 @@ function DeviceActions({ device, viewer, onOpen }) {
198
199
  ]
199
200
  });
200
201
  }
201
- function DeviceRow({ device, viewer, onOpen }) {
202
+ /**
203
+ * "This iPhone" on the row of the iPhone this page is open on: a quiet tag,
204
+ * as "Sandbox" is on a build, so its actions are found where every row's are.
205
+ */
206
+ function ThisIphoneTag() {
207
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
208
+ className: "shrink-0 px-1.5",
209
+ variant: "muted",
210
+ children: "This iPhone"
211
+ });
212
+ }
213
+ function DeviceRow({ device, viewer, onOpen, isThisIphone }) {
202
214
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableRow, { children: [
203
215
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
204
216
  className: "font-medium",
205
- children: device.name
217
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
218
+ className: "flex items-center gap-1.5",
219
+ children: [device.name, isThisIphone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThisIphoneTag, {}) : null]
220
+ })
206
221
  }),
207
222
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
208
223
  className: "font-mono text-xs",
@@ -233,7 +248,7 @@ function DeviceRow({ device, viewer, onOpen }) {
233
248
  })
234
249
  ] });
235
250
  }
236
- function DeviceCard({ device, viewer, onOpen }) {
251
+ function DeviceCard({ device, viewer, onOpen, isThisIphone }) {
237
252
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataCard, {
238
253
  className: "cursor-default gap-3",
239
254
  children: [
@@ -241,9 +256,12 @@ function DeviceCard({ device, viewer, onOpen }) {
241
256
  className: "flex min-w-0 items-start justify-between gap-3",
242
257
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
243
258
  className: "flex min-w-0 flex-col gap-0.5",
244
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
245
- className: "truncate text-sm font-medium",
246
- children: device.name
259
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
260
+ className: "flex min-w-0 items-center gap-1.5 text-sm font-medium",
261
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
262
+ className: "truncate",
263
+ children: device.name
264
+ }), isThisIphone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThisIphoneTag, {}) : null]
247
265
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
248
266
  className: "font-mono text-xs text-muted-foreground",
249
267
  translate: "no",
@@ -360,14 +378,6 @@ function RemoveDialog({ device, viewer, onClose }) {
360
378
  open: true,
361
379
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogContent, { children: [
362
380
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogHeader, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogTitle, { children: withdraw ? `Withdraw ${device.name}?` : decline ? `Decline ${device.name}?` : `Remove ${device.name}?` }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogDescription, { children: decline ? "It leaves the list. Its owner can request it again." : "It leaves the list. New ad hoc builds keep it until it's disabled at Apple." })] }),
363
- decline || !viewer.canApprove ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
364
- className: "flex min-w-0 flex-col text-xs text-muted-foreground [&_code]:break-words [&_code]:whitespace-normal",
365
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CopyableText, {
366
- label: "the command that disables it",
367
- value: `npx hot-updater native-build devices remove --udid ${device.udid}`,
368
- wrap: true
369
- })
370
- }),
371
381
  remove.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
372
382
  className: "text-xs text-destructive",
373
383
  role: "alert",
@@ -399,10 +409,11 @@ function RemoveDialog({ device, viewer, onClose }) {
399
409
  }
400
410
  /**
401
411
  * Where this iPhone stands, once its profile has answered: its row's name,
402
- * status, and next step, in place of the form that registered it. An approver
403
- * approves it here; Apple's refusal reads as on a build's page.
412
+ * status, and what happens next, in place of the form that registered it.
413
+ * It has no actions: they are on its row in the list, tagged "This iPhone",
414
+ * as every row's are. Apple's refusal reads as on a build's page.
404
415
  */
405
- function ThisIphone({ device, viewer, onOpen }) {
416
+ function ThisIphone({ device, viewer }) {
406
417
  const canApprove = viewer?.canApprove === true;
407
418
  if (device.apple_error !== null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppleRefusal, {
408
419
  canApprove,
@@ -411,38 +422,27 @@ function ThisIphone({ device, viewer, onOpen }) {
411
422
  });
412
423
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
413
424
  className: "flex min-w-0 flex-col gap-3",
414
- children: [
415
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
416
- className: "flex min-w-0 items-start justify-between gap-3",
417
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
418
- className: "flex min-w-0 flex-col gap-0.5",
419
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
420
- className: "truncate text-sm font-medium",
421
- children: device.name
422
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
423
- className: "font-mono text-xs text-muted-foreground",
424
- translate: "no",
425
- children: maskIosUdid(device.udid)
426
- })]
427
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceStatus, {
428
- device,
429
- withError: false
425
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
426
+ className: "flex min-w-0 items-start justify-between gap-3",
427
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
428
+ className: "flex min-w-0 flex-col gap-0.5",
429
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
430
+ className: "truncate text-sm font-medium",
431
+ children: device.name
432
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
433
+ className: "font-mono text-xs text-muted-foreground",
434
+ translate: "no",
435
+ children: maskIosUdid(device.udid)
430
436
  })]
431
- }),
432
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
433
- className: "text-xs text-muted-foreground",
434
- role: "status",
435
- children: device.status === "pending" ? canApprove ? "Approve it, and it joins the next ad hoc build." : "A maintainer approves it next." : device.status === "approved" ? "It joins the next ad hoc build." : "New ad hoc builds install on it."
436
- }),
437
- canApprove && device.status === "pending" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
438
- className: "h-11 w-full sm:h-8 sm:w-fit",
439
- onClick: () => onOpen({
440
- kind: "approve",
441
- device
442
- }),
443
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { "data-icon": "inline-start" }), "Approve"]
444
- }) : null
445
- ]
437
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceStatus, {
438
+ device,
439
+ withError: false
440
+ })]
441
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
442
+ className: "text-xs text-muted-foreground",
443
+ role: "status",
444
+ children: device.status === "pending" ? canApprove ? "Approve it below, and it joins the next ad hoc build." : "A maintainer approves it next." : device.status === "approved" ? "It joins the next ad hoc build." : "New ad hoc builds install on it."
445
+ })]
446
446
  });
447
447
  }
448
448
  /** Why iPhones can't register through this Console. */
@@ -458,8 +458,7 @@ function RegistrationNotice({ status, secretName }) {
458
458
  * the iPhone, its name and the profile that reads its UDID, signed for the
459
459
  * person who is signed in.
460
460
  */
461
- function RegisterCard({ view, onOpen }) {
462
- const phone = useIosDevice();
461
+ function RegisterCard({ view, phone }) {
463
462
  const [name, setName] = (0, import_react.useState)(null);
464
463
  const typed = name ?? view?.defaultName ?? "";
465
464
  const [signed, setSigned] = (0, import_react.useState)(typed);
@@ -493,6 +492,13 @@ function RegisterCard({ view, onOpen }) {
493
492
  answers,
494
493
  refetch
495
494
  ]);
495
+ const path = phone === null ? "" : consolePath();
496
+ const kept = useKeptIosDeviceQuery(path, phone ?? {
497
+ udid: null,
498
+ receipt: null
499
+ }, onPhone && udid !== null && view?.registration === "ready" && (phone.receipt !== null || mine.data === null));
500
+ const again = useRequestThisIphoneMutation(path);
501
+ const proved = onPhone && keptIsThisIphone(kept.data?.udid, phone.udid);
496
502
  const body = (() => {
497
503
  if (phone === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
498
504
  "aria-label": "Loading",
@@ -504,7 +510,6 @@ function RegisterCard({ view, onOpen }) {
504
510
  });
505
511
  if (onPhone && mine.data) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThisIphone, {
506
512
  device: mine.data,
507
- onOpen,
508
513
  viewer: view?.viewer
509
514
  });
510
515
  if (view !== void 0 && (view.registration === "local-console" || view.registration === "no-secret")) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, {
@@ -533,6 +538,51 @@ function RegisterCard({ view, onOpen }) {
533
538
  role: "status",
534
539
  children: "iPhones need this Console on HTTPS."
535
540
  });
541
+ if (mine.data === null && kept.isFetching && !proved) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
542
+ "aria-label": "Loading",
543
+ className: "h-36 w-full"
544
+ });
545
+ if (proved) {
546
+ const trimmed = typed.trim();
547
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
548
+ className: "flex min-w-0 flex-col gap-3",
549
+ onSubmit: (event) => {
550
+ event.preventDefault();
551
+ if (trimmed === "") return;
552
+ again.mutate({
553
+ name: trimmed,
554
+ receipt: phone.receipt
555
+ });
556
+ },
557
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Field, {
558
+ "data-invalid": again.isError || void 0,
559
+ children: [
560
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FieldLabel, {
561
+ htmlFor: "ios-device-register-name",
562
+ children: "This iPhone's name"
563
+ }),
564
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Input, {
565
+ autoComplete: "off",
566
+ className: "h-11",
567
+ id: "ios-device-register-name",
568
+ maxLength: 100,
569
+ onChange: (event) => setName(event.target.value),
570
+ value: typed
571
+ }),
572
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FieldDescription, { children: "This Safari checked it before, so no profile is needed." }),
573
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FieldError, { children: again.isError ? "The request didn't go through. Try again." : null })
574
+ ]
575
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
576
+ className: "h-11 w-full",
577
+ disabled: trimmed === "" || again.isPending,
578
+ type: "submit",
579
+ children: [again.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoaderCircle, {
580
+ className: "animate-spin motion-reduce:animate-none",
581
+ "data-icon": "inline-start"
582
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, { "data-icon": "inline-start" }), "Request this iPhone"]
583
+ })]
584
+ });
585
+ }
536
586
  if (link.data?.status === "local-console") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, { status: "local-console" });
537
587
  if (link.data?.status === "no-secret") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, {
538
588
  secretName: link.data.secretName,
@@ -595,6 +645,8 @@ function IosDevicesPage({ search, onSearchChange }) {
595
645
  const queryClient = useQueryClient();
596
646
  const refresh = () => void queryClient.invalidateQueries({ queryKey: iosDeviceKeys.all });
597
647
  const [dialog, setDialog] = (0, import_react.useState)(null);
648
+ const phone = useIosDevice();
649
+ const thisUdid = phone?.ios === true ? phone.udid?.toLowerCase() ?? null : null;
598
650
  const close = () => setDialog(null);
599
651
  const empty = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableEmpty, {
600
652
  icon: Smartphone,
@@ -635,7 +687,7 @@ function IosDevicesPage({ search, onSearchChange }) {
635
687
  children: [
636
688
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NativeBuildsNav, { current: "devices" }),
637
689
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegisterCard, {
638
- onOpen: setDialog,
690
+ phone,
639
691
  view
640
692
  }),
641
693
  view !== void 0 && !view.viewer.approversConfigured ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
@@ -703,6 +755,7 @@ function IosDevicesPage({ search, onSearchChange }) {
703
755
  role: "listitem",
704
756
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceCard, {
705
757
  device,
758
+ isThisIphone: device.udid === thisUdid,
706
759
  onOpen: setDialog,
707
760
  viewer: view.viewer
708
761
  })
@@ -734,6 +787,7 @@ function IosDevicesPage({ search, onSearchChange }) {
734
787
  children: empty
735
788
  }) : rows?.map((device) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceRow, {
736
789
  device,
790
+ isThisIphone: device.udid === thisUdid,
737
791
  onOpen: setDialog,
738
792
  viewer: view.viewer
739
793
  }, device.id))
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { t as validateIosDevicesSearch } from "./-native-builds-search-DD7wilC0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-DpYGqdjz.js
4
- var $$splitComponentImporter = () => import("./native-builds_.devices-BBWNnbAj.mjs");
2
+ import { t as validateIosDevicesSearch } from "./-native-builds-search-OJ8XmaBa.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-D9EGVV1N.js
4
+ var $$splitComponentImporter = () => import("./native-builds_.devices-BzkeAX0K.mjs");
5
5
  var Route = createFileRoute("/native-builds_/devices")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateIosDevicesSearch
@@ -1,6 +1,6 @@
1
- import { i as getRequest } from "./server-DA_rB8Ch.mjs";
1
+ import { i as getRequest } from "./server-BfWxoIjf.mjs";
2
2
  import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-CMo_0eeE.js
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-A1aWZBDw.js
4
4
  /**
5
5
  * How long a signed download link works. A link holds its own expiry and the
6
6
  * Console stores nothing, so a new one never ends an older one.
@@ -1,10 +1,11 @@
1
- import { C as nativeBuildManifestPath, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, v as nativeBuildDownloadPath } from "./native-builds-DjoHvBQf.mjs";
2
- import { normalizeIosUdid, readIpaInstallInfo } from "./native-artifact-C-jGiTjz.mjs";
3
- import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-CMo_0eeE.mjs";
4
- import { n as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-CBG0Pv8f.mjs";
5
- import { listIosDevices } from "./iosDevices-BcM0YdL8.mjs";
6
- import { nativeBuildArtifactUrl } from "./nativeBuilds-DnIRDijn.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-BlT6X49f.js
1
+ import { E as nativeBuildManifestPath, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, x as nativeBuildDownloadPath } from "./native-builds-nRuXKypG.mjs";
2
+ import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-A1aWZBDw.mjs";
3
+ import { listIosDevices } from "./iosDevices-CkLgS8_U.mjs";
4
+ import { t as publicConsoleBase } from "./publicConsoleBase-wTKw3_iB.mjs";
5
+ import { normalizeIosUdid, readIpaInstallInfo } from "./native-artifact-BRNP_q-y.mjs";
6
+ import { t as escapePlistText } from "./plistText-DkzlCfPI.mjs";
7
+ import { nativeBuildArtifactUrl } from "./nativeBuilds-DaF-TcfO.mjs";
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-XzMDX9iY.js
8
9
  var KiB = 1024;
9
10
  var MiB = 1024 * KiB;
10
11
  /**
@@ -1,7 +1,7 @@
1
- import { T as nativeBuildScope, g as nativeBuildChannel, h as nativeBuildCatalogScopeKey, w as nativeBuildPathKey } from "./native-builds-DjoHvBQf.mjs";
1
+ import { D as nativeBuildPathKey, O as nativeBuildScope, v as nativeBuildCatalogScopeKey, y as nativeBuildChannel } from "./native-builds-nRuXKypG.mjs";
2
2
  import { n as readFold, t as foldedPage } from "./foldedPage-CUjJqtlF.mjs";
3
3
  import { n as projectCompiledCatalog } from "./releaseCatalogCompiler-CJ2Shida.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuilds-DnIRDijn.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuilds-DaF-TcfO.js
5
5
  /**
6
6
  * One page newest first, from one keyset read: newest first for the next
7
7
  * page, oldest first (then reversed) for the previous one. `next` is set
@@ -0,0 +1,15 @@
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/plistText-DkzlCfPI.js
2
+ var ESCAPES = {
3
+ "&": "&amp;",
4
+ "<": "&lt;",
5
+ ">": "&gt;",
6
+ "\"": "&quot;",
7
+ "'": "&apos;"
8
+ };
9
+ /**
10
+ * Text as an XML plist's `<string>` holds it. Control characters have no XML
11
+ * form at all, even escaped, so they go.
12
+ */
13
+ var escapePlistText = (text) => [...text].filter((character) => character >= " " || " \n\r".includes(character)).map((character) => ESCAPES[character] ?? character).join("");
14
+ //#endregion
15
+ export { escapePlistText as t };
@@ -1,16 +1,4 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/publicConsoleBase-CBG0Pv8f.js
2
- var ESCAPES = {
3
- "&": "&amp;",
4
- "<": "&lt;",
5
- ">": "&gt;",
6
- "\"": "&quot;",
7
- "'": "&apos;"
8
- };
9
- /**
10
- * Text as an XML plist's `<string>` holds it. Control characters have no XML
11
- * form at all, even escaped, so they go.
12
- */
13
- var escapePlistText = (text) => [...text].filter((character) => character >= " " || " \n\r".includes(character)).map((character) => ESCAPES[character] ?? character).join("");
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/publicConsoleBase-wTKw3_iB.js
14
2
  /**
15
3
  * The console's address and path as a phone reached it, without a trailing
16
4
  * slash, from a request to `routePath` under it. A proxy that ends TLS says so
@@ -24,4 +12,4 @@ var publicConsoleBase = (request, routePath) => {
24
12
  return `${forwarded === "https" ? "https:" : url.protocol}//${url.host}${base}`;
25
13
  };
26
14
  //#endregion
27
- export { publicConsoleBase as n, escapePlistText as t };
15
+ export { publicConsoleBase as t };
@@ -1,15 +1,15 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-BOTh4-fO.mjs";
2
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
4
  import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-gfhE5tz5.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-CNwUfrya.js
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-DoDlwfWB.js
6
6
  var listAdoptionReleasesRpc_createServerFn_handler = createServerRpc({
7
7
  id: "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256",
8
8
  name: "listAdoptionReleasesRpc",
9
9
  filename: "src/lib/release-adoption-rpc.ts"
10
10
  }, (opts) => listAdoptionReleasesRpc.__executeServer(opts));
11
11
  var listAdoptionReleasesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleasesInput).handler(listAdoptionReleasesRpc_createServerFn_handler, async ({ data }) => {
12
- const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-Ig1eUxaf.mjs"), import("./releaseAdoption-COlUf2W5.mjs")]);
12
+ const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-DswyWSgG.mjs"), import("./releaseAdoption-DfEYq7I4.mjs")]);
13
13
  const { core } = await prepareConfig();
14
14
  return listAdoptionReleases(core, data);
15
15
  });
@@ -19,7 +19,7 @@ var getAdoptionReleaseRpc_createServerFn_handler = createServerRpc({
19
19
  filename: "src/lib/release-adoption-rpc.ts"
20
20
  }, (opts) => getAdoptionReleaseRpc.__executeServer(opts));
21
21
  var getAdoptionReleaseRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleaseInput).handler(getAdoptionReleaseRpc_createServerFn_handler, async ({ data }) => {
22
- const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-Ig1eUxaf.mjs"), import("./releaseAdoption-COlUf2W5.mjs")]);
22
+ const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-DswyWSgG.mjs"), import("./releaseAdoption-DfEYq7I4.mjs")]);
23
23
  const { core } = await prepareConfig();
24
24
  return getAdoptionRelease(core, data);
25
25
  });
@@ -30,9 +30,9 @@ var getBundleEventsRpc_createServerFn_handler = createServerRpc({
30
30
  }, (opts) => getBundleEventsRpc.__executeServer(opts));
31
31
  var getBundleEventsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleEventsInput).handler(getBundleEventsRpc_createServerFn_handler, async ({ data }) => {
32
32
  const [{ prepareConfig }, { getBundleEvents }, { requireFeature }] = await Promise.all([
33
- import("./config.server-Ig1eUxaf.mjs"),
34
- import("./releaseAdoption-COlUf2W5.mjs"),
35
- import("./runtime.server-DImJAltO.mjs")
33
+ import("./config.server-DswyWSgG.mjs"),
34
+ import("./releaseAdoption-DfEYq7I4.mjs"),
35
+ import("./runtime.server-BUbb281Z.mjs")
36
36
  ]);
37
37
  const { runtime } = await prepareConfig();
38
38
  return getBundleEvents(await requireFeature(runtime, "insightsAnalytics"), data);
@@ -1,7 +1,7 @@
1
1
  import { t as addReleaseReachability } from "./releaseReachability-Ch1JpJkY.mjs";
2
2
  import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-Cdg3Msrj.mjs";
3
3
  import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-gfhE5tz5.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/releaseAdoption-COlUf2W5.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/releaseAdoption-DfEYq7I4.js
5
5
  /** Rows read past a focused release to find the bundle before it. */
6
6
  var PREVIOUS_ROWS = 4;
7
7
  var platformsOf = (platform) => platform === "all" ? ["ios", "android"] : [platform];