@hot-updater/console 1.2.0-rc.28 → 1.2.0-rc.29

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 (196) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{-native-builds-search-7blX2yQW.js → -native-builds-search-DdHwfe4q.js} +1 -1
  3. package/.output/public/assets/ChannelBadge-CEabmopB.js +1 -0
  4. package/.output/public/assets/{CompositeItem-Dy4xgOMg.js → CompositeItem-KUM5yQVr.js} +1 -1
  5. package/.output/public/assets/{ConsoleFeatureUnavailable-cy_snb33.js → ConsoleFeatureUnavailable-Be-0iTww.js} +1 -1
  6. package/.output/public/assets/EventDetails-bDOYte1z.js +1 -0
  7. package/.output/public/assets/HashValueDisplay-D2f0HmyU.js +1 -0
  8. package/.output/public/assets/{InsightsPageHeader-D5TJspVe.js → InsightsPageHeader-Cj2ROSQO.js} +1 -1
  9. package/.output/public/assets/IosInstall-CHI2C4Yd.js +1 -0
  10. package/.output/public/assets/{NativeBuildsNav-CjOOlbEu.js → NativeBuildsNav-DaqxQPnG.js} +1 -1
  11. package/.output/public/assets/{RelativeTime-CY1dKZpv.js → RelativeTime-B4PK8qDw.js} +1 -1
  12. package/.output/public/assets/{RolloutPercentageBadge-BHgHkBGB.js → RolloutPercentageBadge-D_I0Raj2.js} +1 -1
  13. package/.output/public/assets/{RowReason-BMx_vclu.js → RowReason-B7VM1ztc.js} +1 -1
  14. package/.output/public/assets/{SandboxBadge-irEkMf1P.js → SandboxBadge-BVxHg_HF.js} +1 -1
  15. package/.output/public/assets/TargetDisplay-KU7JhIWG.js +1 -0
  16. package/.output/public/assets/api-keys-DLC8jjaM.js +1 -0
  17. package/.output/public/assets/api-keys-eDnzgFAf.js +1 -0
  18. package/.output/public/assets/download-B2GjTySo.js +1 -0
  19. package/.output/public/assets/{index-CAnjb7M2.js → index-BdyQq4-k.js} +3 -3
  20. package/.output/public/assets/insights-C94CdeAA.js +1 -0
  21. package/.output/public/assets/insights-DILMVpk8.js +2 -0
  22. package/.output/public/assets/{insights-DTF7C4jb.js → insights-_j_ieOyh.js} +1 -1
  23. package/.output/public/assets/{insights-search-TfRz5kGG.js → insights-search-Bgvg6wSP.js} +1 -1
  24. package/.output/public/assets/{insights-usage-rpc-B4V-Qqo4.js → insights-usage-rpc-BUCinjSN.js} +1 -1
  25. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +2 -0
  26. package/.output/public/assets/{insights_.distribution-BqfzAuAf.js → insights_.distribution-CRkGNelG.js} +1 -1
  27. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +1 -0
  28. package/.output/public/assets/installations-BA01mqJE.js +1 -0
  29. package/.output/public/assets/{installations-D3MbzcFb.js → installations-BsD6LgNc.js} +2 -2
  30. package/.output/public/assets/{installations-BU65zztK.js → installations-CYTzndfP.js} +1 -1
  31. package/.output/public/assets/native-builds-BMbws1g5.js +2 -0
  32. package/.output/public/assets/native-builds-xgHiHQML.js +1 -0
  33. package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +1 -0
  34. package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +2 -0
  35. package/.output/public/assets/native-builds_.devices-B-u7uLLG.js +2 -0
  36. package/.output/public/assets/native-builds_.devices-CVNAQtSy.js +1 -0
  37. package/.output/public/assets/{remote-config-D1OkfQKt.js → remote-config-Cxkr7_BP.js} +1 -1
  38. package/.output/public/assets/remote-config-DAOyn5xL.js +1 -0
  39. package/.output/public/assets/{remote-config-CGbqsPh_.js → remote-config-DXv25LX1.js} +3 -3
  40. package/.output/public/assets/{routes-BTG3rg0l.js → routes-DM3TyTLW.js} +2 -2
  41. package/.output/public/assets/routes-Des97uK_.js +1 -0
  42. package/.output/public/assets/styles-BHLI87EH.css +2 -0
  43. package/.output/server/{__23tanstack-start-server-fn-resolver-BFiPs5uv.mjs → __23tanstack-start-server-fn-resolver-DTuNq7_z.mjs} +58 -58
  44. package/.output/server/_libs/_.mjs +1 -1
  45. package/.output/server/_ssr/{BundleIdDisplay-BSBR5eJ3.mjs → BundleIdDisplay-BX6DLh1K.mjs} +2 -2
  46. package/.output/server/_ssr/ChannelBadge-D7O95Ack.mjs +23 -0
  47. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DcZ4JBVq.mjs → ConsoleFeatureUnavailable-Dfs3WUZf.mjs} +5 -5
  48. package/.output/server/_ssr/{EventDetails-CUHZuwei.mjs → EventDetails-C1Q9caVa.mjs} +6 -6
  49. package/.output/server/_ssr/{HashValueDisplay-B9ORaCcP.mjs → HashValueDisplay-SIEeZe0O.mjs} +2 -2
  50. package/.output/server/_ssr/{InsightsPageHeader-C0bJqC-n.mjs → InsightsPageHeader-CAcbXSFD.mjs} +5 -5
  51. package/.output/server/_ssr/{IosInstall-C5Y5gnDY.mjs → IosInstall-B7yxnQ7o.mjs} +61 -20
  52. package/.output/server/_ssr/{NativeBuildsNav-hFiyBaFW.mjs → NativeBuildsNav-BwoEX7xx.mjs} +3 -3
  53. package/.output/server/_ssr/{NotFoundPage-D4xRjmIA.mjs → NotFoundPage-Cd_nKv04.mjs} +2 -2
  54. package/.output/server/_ssr/{RelativeTime-DnvxB666.mjs → RelativeTime-B5txzq94.mjs} +23 -6
  55. package/.output/server/_ssr/{RolloutPercentageBadge-NBnIOzY9.mjs → RolloutPercentageBadge-BEV8btLv.mjs} +3 -3
  56. package/.output/server/_ssr/{RowReason-B_jZN48d.mjs → RowReason-CEDEk7-N.mjs} +24 -7
  57. package/.output/server/_ssr/{SandboxBadge-CFtTG1ZJ.mjs → SandboxBadge-wlOMZIUd.mjs} +2 -2
  58. package/.output/server/_ssr/{TargetDisplay-0sb03v_6.mjs → TargetDisplay-076I9qHx.mjs} +29 -20
  59. package/.output/server/_ssr/{alert-dialog-SLr1Q_AI.mjs → alert-dialog-DrD4hAp4.mjs} +1 -1
  60. package/.output/server/_ssr/{api-CkgOQzSb.mjs → api-C1plnjZg.mjs} +3 -3
  61. package/.output/server/_ssr/{api-keys-BP7NJtoX.mjs → api-keys-Bzn-P-lX.mjs} +2 -2
  62. package/.output/server/_ssr/{api-keys-BcSzq0TA.mjs → api-keys-L8_p18pO.mjs} +10 -10
  63. package/.output/server/_ssr/{api-keys-rpc-IWPOq5vn.mjs → api-keys-rpc-Mne2yo8z.mjs} +3 -3
  64. package/.output/server/_ssr/{api-rpc-cNJTB3v4.mjs → api-rpc-ChVBmeca.mjs} +13 -6
  65. package/.output/server/_ssr/{auth-rpc-oaBbtxSP.mjs → auth-rpc-Dml8l_eq.mjs} +4 -4
  66. package/.output/server/_ssr/{auth.server-WQw9JjMm.mjs → auth.server-DOShgraQ.mjs} +2 -2
  67. package/.output/server/_ssr/{badge-n3c0OTBQ.mjs → badge-BasQflNy.mjs} +1 -1
  68. package/.output/server/_ssr/{card-CYgCcRUd.mjs → card-BrGGQYC0.mjs} +1 -1
  69. package/.output/server/_ssr/{config.server-R3KQbcML.mjs → config.server-CVOdMDBk.mjs} +3 -3
  70. package/.output/server/_ssr/{console-access-BLVi82IN.mjs → console-access-Bi-abtY-.mjs} +2 -2
  71. package/.output/server/_ssr/{console-features-api-B2JvJOlE.mjs → console-features-api-Bjxo5ur3.mjs} +3 -3
  72. package/.output/server/_ssr/{console-features-rpc-LAxQoSNw.mjs → console-features-rpc-xzdodg3g.mjs} +3 -3
  73. package/.output/server/_ssr/{dialog-eru_h5oK.mjs → dialog-7iMkt9l0.mjs} +1 -1
  74. package/.output/server/_ssr/{empty-Bu4qodCx.mjs → empty-Chb-YL3R.mjs} +2 -2
  75. package/.output/server/_ssr/{field-DA5lwO5U.mjs → field-mL_Aa6ff.mjs} +2 -2
  76. package/.output/server/_ssr/{input-group-VV5E3q78.mjs → input-group-C00_xYka.mjs} +1 -1
  77. package/.output/server/_ssr/{insights-Ci82qdkq.mjs → insights-BcVNQCXf.mjs} +19 -19
  78. package/.output/server/_ssr/{insights-BJIt1xuT.mjs → insights-BdF3o0Yp.mjs} +2 -2
  79. package/.output/server/_ssr/{insights-C23mopzv.mjs → insights-C9sSQPMF.mjs} +5 -5
  80. package/.output/server/_ssr/{insights-api-BwXMKUSe.mjs → insights-api-CShlv9dA.mjs} +3 -3
  81. package/.output/server/_ssr/{insights-failures-rpc-BuZ-jnby.mjs → insights-failures-rpc-C-cv9bId.mjs} +4 -4
  82. package/.output/server/_ssr/{insights-recovery-rpc-DrXSy9aA.mjs → insights-recovery-rpc-Ct-jIQZU.mjs} +3 -3
  83. package/.output/server/_ssr/{insights-rpc-DyrIZg3a.mjs → insights-rpc-Dc0I8O3n.mjs} +3 -3
  84. package/.output/server/_ssr/{insights-search-CNkNB-aa.mjs → insights-search-D_vVwBwW.mjs} +2 -2
  85. package/.output/server/_ssr/{insights-usage-rpc-C7UC1lom.mjs → insights-usage-rpc-4TR94EHa.mjs} +3 -3
  86. package/.output/server/_ssr/{insights-usage-rpc-cTgmD-Ej.mjs → insights-usage-rpc-D60hOhzl.mjs} +3 -3
  87. package/.output/server/_ssr/{insights_.distribution-CIY_IGmh.mjs → insights_.distribution-BgnfMzw1.mjs} +13 -13
  88. package/.output/server/_ssr/{insights_.distribution-wfFKEv-Z.mjs → insights_.distribution-DkD7uAwA.mjs} +5 -5
  89. package/.output/server/_ssr/{insights_.distribution-BauOpBTE.mjs → insights_.distribution-wT1mjWsG.mjs} +2 -2
  90. package/.output/server/_ssr/{installations-VzacOKHp.mjs → installations-DtRbzy3N.mjs} +2 -2
  91. package/.output/server/_ssr/{installations-jGW7nvEV.mjs → installations-DvxMRP5u.mjs} +4 -4
  92. package/.output/server/_ssr/{installations-Ba3YVrAf.mjs → installations-tFsFnxKk.mjs} +11 -11
  93. package/.output/server/_ssr/{ios-devices-rpc-Bhn7VVIh.mjs → ios-devices-rpc-CIPuCUQ8.mjs} +9 -8
  94. package/.output/server/_ssr/{iosDeviceProfile-_XT8TpgZ.mjs → iosDeviceProfile-WyMC1593.mjs} +2 -2
  95. package/.output/server/_ssr/{iosDevices-Bc27J72d.mjs → iosDevices-B0TjF_sb.mjs} +2 -2
  96. package/.output/server/_ssr/{native-builds-DZFJGcHy.mjs → native-builds-C458T7Ts.mjs} +2 -2
  97. package/.output/server/_ssr/{native-builds-DiNkKHly.mjs → native-builds-C5WxR0BT.mjs} +35 -25
  98. package/.output/server/_ssr/{native-builds_._buildId-CuM1PsT6.mjs → native-builds_._buildId-CyCGKZ1H.mjs} +89 -61
  99. package/.output/server/_ssr/{native-builds_._buildId-D0n4QZY6.mjs → native-builds_._buildId-UsgsqKI8.mjs} +2 -2
  100. package/.output/server/_ssr/{native-builds_.devices-DiM2FdcW.mjs → native-builds_.devices-BcfLIzJs.mjs} +2 -2
  101. package/.output/server/_ssr/{native-builds_.devices-D0JJlX8E.mjs → native-builds_.devices-BpTcIWm0.mjs} +57 -57
  102. package/.output/server/_ssr/{nativeBuildDownloadLink-CvvWuhh0.mjs → nativeBuildDownloadLink-CtB2G7qG.mjs} +3 -3
  103. package/.output/server/_ssr/{nativeBuildInstall-BqcVHBaD.mjs → nativeBuildInstall-PavEyZtZ.mjs} +5 -4
  104. package/.output/server/_ssr/{release-adoption-rpc-Dm-5yAJG.mjs → release-adoption-rpc-DkT6ui4_.mjs} +5 -5
  105. package/.output/server/_ssr/{remote-config-D1BhIBKu.mjs → remote-config-BKlK0dFP.mjs} +2 -2
  106. package/.output/server/_ssr/{remote-config-D7RruPiO.mjs → remote-config-D_nQT__6.mjs} +2 -2
  107. package/.output/server/_ssr/{remote-config-rpc-C7AZy37o.mjs → remote-config-rpc-BW6lyp9Y.mjs} +3 -3
  108. package/.output/server/_ssr/{remote-config-ZFm-l4Gi.mjs → remote-config-v1hs050H.mjs} +20 -20
  109. package/.output/server/_ssr/{router-BGkGFMsT.mjs → router-hKO__Vrv.mjs} +25 -25
  110. package/.output/server/_ssr/{routes-CJJxz-Ak.mjs → routes-DKxm5A7X.mjs} +30 -25
  111. package/.output/server/_ssr/{routes-CiJ2dhL9.mjs → routes-OhljAvlx.mjs} +8 -8
  112. package/.output/server/_ssr/{schema-migration-rpc-D4YlwvGH.mjs → schema-migration-rpc-DrrYEFqy.mjs} +3 -3
  113. package/.output/server/_ssr/{select-BB8GE7OZ.mjs → select-M4kWGKJW.mjs} +1 -1
  114. package/.output/server/_ssr/{server-DAHTchcr.mjs → server-4hXySEh0.mjs} +3 -3
  115. package/.output/server/_ssr/{sidebar-CsKVgZHa.mjs → sidebar-CFlo6lny.mjs} +2 -2
  116. package/.output/server/_ssr/ssr.mjs +1 -1
  117. package/.output/server/_ssr/{switch-BvvmP7Y3.mjs → switch-xTCGSBdC.mjs} +2 -2
  118. package/.output/server/_ssr/{table-WKKzprFn.mjs → table-CqdaVMjd.mjs} +1 -1
  119. package/.output/server/_ssr/{tabs-BJ-4SgmC.mjs → tabs-DtMAFr25.mjs} +2 -2
  120. package/.output/server/_tanstack-start-manifest_v-CYfHRC4i.mjs +225 -0
  121. package/.output/server/index.mjs +351 -344
  122. package/package.json +7 -7
  123. package/src/components/DataTable.tsx +26 -1
  124. package/src/components/FoldedRows.tsx +20 -2
  125. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  126. package/src/components/features/channels/ChannelManagementDialog.tsx +2 -2
  127. package/src/components/features/native-builds/CommitLink.tsx +2 -1
  128. package/src/components/features/native-builds/InstallCard.tsx +76 -39
  129. package/src/components/features/native-builds/IosDevicesPage.tsx +75 -42
  130. package/src/components/features/native-builds/IosInstall.tsx +103 -31
  131. package/src/components/features/native-builds/IpaDevicesCard.tsx +19 -15
  132. package/src/components/features/native-builds/NativeBuildsTable.tsx +17 -13
  133. package/src/components/features/native-builds/ShortHash.tsx +5 -2
  134. package/src/components/features/remote-config/PublishDialog.tsx +4 -1
  135. package/src/components/features/remote-config/VersionsCard.tsx +5 -2
  136. package/src/components/ui/sonner.tsx +3 -1
  137. package/src/lib/api-rpc.ts +14 -1
  138. package/src/lib/ios-devices-rpc.ts +10 -1
  139. package/src/lib/server/nativeBuildInstall.ts +9 -0
  140. package/src/routes/index.tsx +5 -2
  141. package/src/styles.css +2 -2
  142. package/.output/public/assets/EventDetails-sxag8Hfc.js +0 -1
  143. package/.output/public/assets/HashValueDisplay-DMweha_0.js +0 -1
  144. package/.output/public/assets/IosInstall-B5NspihF.js +0 -1
  145. package/.output/public/assets/TargetDisplay-DB8D019f.js +0 -1
  146. package/.output/public/assets/api-keys-Cd-aNt-v.js +0 -1
  147. package/.output/public/assets/api-keys-D3tAc4Uu.js +0 -1
  148. package/.output/public/assets/insights-DIs4nJI9.js +0 -2
  149. package/.output/public/assets/insights-bUk3ChoU.js +0 -1
  150. package/.output/public/assets/insights_.distribution-BPl5oRt4.js +0 -2
  151. package/.output/public/assets/insights_.distribution-BqtmnGTt.js +0 -1
  152. package/.output/public/assets/installations-6U8c_03X.js +0 -1
  153. package/.output/public/assets/native-builds-BdzfAFnF.js +0 -1
  154. package/.output/public/assets/native-builds-CWwvuOXr.js +0 -2
  155. package/.output/public/assets/native-builds-Eh72Vr2G.js +0 -1
  156. package/.output/public/assets/native-builds_._buildId-33ksAlnZ.js +0 -1
  157. package/.output/public/assets/native-builds_._buildId-BVA5GnZP.js +0 -2
  158. package/.output/public/assets/native-builds_.devices-CElovmwq.js +0 -1
  159. package/.output/public/assets/native-builds_.devices-DWtcOVYO.js +0 -2
  160. package/.output/public/assets/remote-config-B3oq9qR0.js +0 -1
  161. package/.output/public/assets/routes-CVbPjRKo.js +0 -1
  162. package/.output/public/assets/styles-B0kzy3kp.css +0 -2
  163. package/.output/server/_ssr/CopyableText-DgNEsByt.mjs +0 -33
  164. package/.output/server/_tanstack-start-manifest_v-CSUJeG5D.mjs +0 -219
  165. /package/.output/public/assets/{BundleIdDisplay-B0gAH01c.js → BundleIdDisplay-CTBdtFQ8.js} +0 -0
  166. /package/.output/public/assets/{NotFoundPage-DDOJarFa.js → NotFoundPage-CVBtl68B.js} +0 -0
  167. /package/.output/public/assets/{PlatformIcon-BBvlg6JY.js → PlatformIcon-DVnzzGqM.js} +0 -0
  168. /package/.output/public/assets/{alert-dialog-CLC_h1fL.js → alert-dialog-Ch0QxRsa.js} +0 -0
  169. /package/.output/public/assets/{api-DLryz9hA.js → api-C1OPeiG1.js} +0 -0
  170. /package/.output/public/assets/{badge-DJMW4YVM.js → badge-FZMD5vvS.js} +0 -0
  171. /package/.output/public/assets/{card-C4sBAMU-.js → card-CyHYmHue.js} +0 -0
  172. /package/.output/public/assets/{dialog-tCTZmAo8.js → dialog-BLj71-Nf.js} +0 -0
  173. /package/.output/public/assets/{dist-Bw_uSBJn.js → dist-DAM__Tdz.js} +0 -0
  174. /package/.output/public/assets/{empty-DsbLxQ1w.js → empty--YaE5Z4p.js} +0 -0
  175. /package/.output/public/assets/{field-DL4OXTJ7.js → field-CdhSgWhI.js} +0 -0
  176. /package/.output/public/assets/{git-branch-ByZMEBxZ.js → git-branch-DG1VDaKq.js} +0 -0
  177. /package/.output/public/assets/{history-wYnPoVmT.js → history-C0wv4htz.js} +0 -0
  178. /package/.output/public/assets/{input-group-B7jx0icS.js → input-group-XKLcUGoa.js} +0 -0
  179. /package/.output/public/assets/{key-round-B-P_hhUB.js → key-round-D7UgdXyA.js} +0 -0
  180. /package/.output/public/assets/{list-fFsS8Wxe.js → list-Bm-CfN5g.js} +0 -0
  181. /package/.output/public/assets/{loader-circle-GWIgH0fo.js → loader-circle-iMqC-8ZE.js} +0 -0
  182. /package/.output/public/assets/{package-CXSDZsME.js → package-BmfoZ5Zj.js} +0 -0
  183. /package/.output/public/assets/{plus-Cx-yFNd9.js → plus-Db0KxLZp.js} +0 -0
  184. /package/.output/public/assets/{refresh-cw-BgiOaFX3.js → refresh-cw-BHhBYjS8.js} +0 -0
  185. /package/.output/public/assets/{relativeTime-CBmDq8wh.js → relativeTime-BYRt19mj.js} +0 -0
  186. /package/.output/public/assets/{rotate-cw-C1v7YuN7.js → rotate-cw-Ba-slJea.js} +0 -0
  187. /package/.output/public/assets/{search-DiOSjaYL.js → search-dJG2BYmx.js} +0 -0
  188. /package/.output/public/assets/{send-BgXZNiEA.js → send-DuMOCzbD.js} +0 -0
  189. /package/.output/public/assets/{smartphone-CxP0GGT6.js → smartphone-D1C6BRd_.js} +0 -0
  190. /package/.output/public/assets/{switch-BTHWmKQ5.js → switch-BsV3d4km.js} +0 -0
  191. /package/.output/public/assets/{table-CwF7yxj4.js → table-D8YjT_ht.js} +0 -0
  192. /package/.output/public/assets/{tabs-CHNnCyvw.js → tabs-RdhEl9sE.js} +0 -0
  193. /package/.output/public/assets/{trash-2-CYISg7ZF.js → trash-2-B5KIvrXy.js} +0 -0
  194. /package/.output/public/assets/{undo-2-Bod3vw7x.js → undo-2-CFcU9dIB.js} +0 -0
  195. /package/.output/public/assets/{uuidv7-CVJ09bBG.js → uuidv7-DAoOOpz9.js} +0 -0
  196. /package/.output/public/assets/{valueToPercent-Db73Kirz.js → valueToPercent-Bn8p2lng.js} +0 -0
@@ -1,33 +1,34 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
- import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
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-CsKVgZHa.mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-CFlo6lny.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-Bu4qodCx.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CYgCcRUd.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-n3c0OTBQ.mjs";
9
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-WKKzprFn.mjs";
6
+ import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Chb-YL3R.mjs";
7
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BrGGQYC0.mjs";
8
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-BasQflNy.mjs";
9
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-CqdaVMjd.mjs";
10
10
  import { n as toast } from "../_libs/sonner.mjs";
11
11
  import { i as NUMERIC_COHORT_SIZE } from "./dist-B6-irDRA.mjs";
12
- import { D as platformLabel, E as nativeBuildSignedDownloadUrl, S as nativeBuildLabel, b as nativeBuildInstallCommand, d as formatByteSize, k as shellQuote, m as nativeBuildArtifacts, v as nativeBuildDownloadPath, y as nativeBuildFileName } from "./native-builds-BXBkklfA.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-BXBkklfA.mjs";
13
13
  import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
14
- import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-CkgOQzSb.mjs";
15
- import { t as BundleIdDisplay } from "./BundleIdDisplay-BSBR5eJ3.mjs";
16
- import { i as TargetDisplay, n as ChannelBadge, t as BuildKeyDisplay } from "./TargetDisplay-0sb03v_6.mjs";
14
+ import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-C1plnjZg.mjs";
15
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-BX6DLh1K.mjs";
16
+ import { t as ChannelBadge } from "./ChannelBadge-D7O95Ack.mjs";
17
17
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
18
- import { t as CopyableText } from "./CopyableText-DgNEsByt.mjs";
19
- import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-CFtTG1ZJ.mjs";
20
- import { t as Route } from "./native-builds_._buildId-D0n4QZY6.mjs";
21
- import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-NBnIOzY9.mjs";
22
- import { i as useIosDevice, n as QrCode, s as useNativeBuildIpaDevicesQuery, t as IosInstall } from "./IosInstall-C5Y5gnDY.mjs";
23
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-CuM1PsT6.js
18
+ import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-076I9qHx.mjs";
19
+ import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-wlOMZIUd.mjs";
20
+ import { t as Route } from "./native-builds_._buildId-UsgsqKI8.mjs";
21
+ import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BEV8btLv.mjs";
22
+ import { i as useIosDevice, n as QrCode, s as useNativeBuildIpaDevicesQuery, t as IosInstall } from "./IosInstall-B7yxnQ7o.mjs";
23
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-CyCGKZ1H.js
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());
26
27
  /**
27
28
  * A hash shortened to its prefix, as git shows a commit: never cut in the
28
29
  * middle, the full value on hover, and copied on click.
29
30
  */
30
- function ShortHash({ value, length, label }) {
31
+ function ShortHash({ value, length, shown = value.slice(0, length), label }) {
31
32
  const copy = async () => {
32
33
  try {
33
34
  await navigator.clipboard.writeText(value);
@@ -46,7 +47,7 @@ function ShortHash({ value, length, label }) {
46
47
  title: value,
47
48
  translate: "no",
48
49
  type: "button",
49
- children: value.slice(0, length)
50
+ children: shown
50
51
  });
51
52
  }
52
53
  /**
@@ -56,10 +57,7 @@ function ShortHash({ value, length, label }) {
56
57
  */
57
58
  function CommitLink({ hash }) {
58
59
  const config = useConfigQuery();
59
- if (hash === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
60
- className: "text-muted-foreground",
61
- children: "—"
62
- });
60
+ if (hash === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
63
61
  const url = getCommitUrl(config.data?.console.gitUrl, hash);
64
62
  return url === null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortHash, {
65
63
  label: "commit",
@@ -540,6 +538,32 @@ function SignedLink({ link, url }) {
540
538
  function InstallCard({ build }) {
541
539
  return isSubmitted(build) && (build.artifact_kind === "ipa" || build.artifact_kind === "aab") ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StoreInstallCard, { build }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FileInstallCard, { build });
542
540
  }
541
+ /**
542
+ * On the iPhone, what installs the IPA from a computer, closed under the one
543
+ * action this phone takes: over USB, TestFlight, the download, and its link.
544
+ */
545
+ function OtherWaysToInstall({ children }) {
546
+ const [open, setOpen] = (0, import_react.useState)(false);
547
+ const id = (0, import_react.useId)();
548
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
549
+ className: "flex min-w-0 flex-col gap-3 border-t pt-3",
550
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
551
+ "aria-controls": id,
552
+ "aria-expanded": open,
553
+ className: "group/other -mx-1 flex min-h-11 items-center gap-1.5 self-start rounded-md px-1 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none motion-reduce:transition-none sm:min-h-8",
554
+ onClick: () => setOpen((value) => !value),
555
+ type: "button",
556
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, {
557
+ "aria-hidden": "true",
558
+ className: "size-3.5 shrink-0 transition-transform group-aria-expanded/other:rotate-90 motion-reduce:transition-none"
559
+ }), "Other ways to install"]
560
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
561
+ hidden: !open,
562
+ id,
563
+ children
564
+ })]
565
+ });
566
+ }
543
567
  function FileInstallCard({ build }) {
544
568
  const fileName = nativeBuildFileName(build);
545
569
  const link = useNativeBuildDownloadLinkQuery(build.id);
@@ -547,6 +571,28 @@ function FileInstallCard({ build }) {
547
571
  const device = useIosDevice();
548
572
  const ipa = build.artifact_kind === "ipa";
549
573
  const onPhone = ipa && device?.ios === true;
574
+ const otherWays = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
575
+ className: "flex min-w-0 flex-col gap-4",
576
+ children: [
577
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallSteps, { build }),
578
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", {
579
+ className: buttonVariants({
580
+ className: "h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit",
581
+ variant: "outline"
582
+ }),
583
+ download: true,
584
+ href: signedUrl ?? nativeBuildDownloadPath(build.id),
585
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Download, { "data-icon": "inline-start" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
586
+ className: "text-left [overflow-wrap:anywhere]",
587
+ children: ["Download ", fileName]
588
+ })]
589
+ }),
590
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SignedLink, {
591
+ link: link.data,
592
+ url: signedUrl
593
+ })
594
+ ]
595
+ });
550
596
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Card, {
551
597
  className: "overflow-hidden shadow-sm",
552
598
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardHeader, {
@@ -555,42 +601,25 @@ function FileInstallCard({ build }) {
555
601
  className: "text-sm",
556
602
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "Install" })
557
603
  })
558
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardContent, {
559
- className: onPhone ? "flex min-w-0 flex-col gap-6 p-4 sm:p-6" : "grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6",
560
- children: [onPhone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IosInstall, {
604
+ }), onPhone ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardContent, {
605
+ className: "flex min-w-0 flex-col gap-4 p-4 sm:p-6",
606
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(IosInstall, {
561
607
  build,
562
608
  device
563
- }) : ipa && signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannablePage, {}) : signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannableUrl, {
609
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(OtherWaysToInstall, { children: otherWays })]
610
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardContent, {
611
+ className: "grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6",
612
+ children: [ipa && signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannablePage, {}) : signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannableUrl, {
564
613
  build,
565
614
  url: signedUrl
566
- }) : link.data !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StorageQrCode, { build }) : link.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(QrProblem, { message: link.error.message }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "size-48" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
567
- className: "flex min-w-0 flex-col gap-4",
568
- children: [
569
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallSteps, { build }),
570
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", {
571
- className: buttonVariants({
572
- className: "h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit",
573
- variant: "outline"
574
- }),
575
- download: true,
576
- href: signedUrl ?? nativeBuildDownloadPath(build.id),
577
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Download, { "data-icon": "inline-start" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
578
- className: "text-left [overflow-wrap:anywhere]",
579
- children: ["Download ", fileName]
580
- })]
581
- }),
582
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SignedLink, {
583
- link: link.data,
584
- url: signedUrl
585
- })
586
- ]
587
- })]
615
+ }) : link.data !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StorageQrCode, { build }) : link.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(QrProblem, { message: link.error.message }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "size-48" }), otherWays]
588
616
  })]
589
617
  });
590
618
  }
591
619
  /**
592
620
  * The devices an ad hoc IPA installs on, read from its signing profile: each
593
- * by the registry's name when the registry knows it, else by its UDID. Read
621
+ * by the registry's name when the registry knows it, else as an unknown
622
+ * device, over its UDID's last characters, which copy the whole UDID. Read
594
623
  * only: the IPA decides, and a new build is what adds a device.
595
624
  */
596
625
  function IpaDevicesCard({ build }) {
@@ -656,19 +685,18 @@ function IpaDevicesCard({ build }) {
656
685
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, {
657
686
  "aria-hidden": "true",
658
687
  className: "size-4 shrink-0 text-muted-foreground"
659
- }), device.name === null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
660
- className: "min-w-0 font-mono text-xs [overflow-wrap:anywhere]",
661
- translate: "no",
662
- children: device.udid
663
- }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
664
- className: "flex min-w-0 flex-col",
688
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
689
+ className: "flex min-w-0 flex-col items-start",
665
690
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
666
- className: "truncate",
667
- children: device.name
668
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
669
- className: "font-mono text-xs text-muted-foreground",
670
- translate: "no",
671
- children: ["…", device.udid.slice(-6)]
691
+ className: device.name === null ? "truncate text-muted-foreground" : "truncate",
692
+ children: device.name ?? "Unknown device"
693
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
694
+ className: "text-muted-foreground",
695
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortHash, {
696
+ label: "UDID",
697
+ shown: maskIosUdid(device.udid),
698
+ value: device.udid
699
+ })
672
700
  })]
673
701
  })]
674
702
  }, device.udid))
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
2
  import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-D0n4QZY6.js
4
- var $$splitComponentImporter = () => import("./native-builds_._buildId-CuM1PsT6.mjs");
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-UsgsqKI8.js
4
+ var $$splitComponentImporter = () => import("./native-builds_._buildId-CyCGKZ1H.mjs");
5
5
  var Route = createFileRoute("/native-builds_/$buildId")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateNativeBuildDetailSearch
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
2
  import { t as validateIosDevicesSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-DiM2FdcW.js
4
- var $$splitComponentImporter = () => import("./native-builds_.devices-D0JJlX8E.mjs");
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-BcfLIzJs.js
4
+ var $$splitComponentImporter = () => import("./native-builds_.devices-BpTcIWm0.mjs");
5
5
  var Route = createFileRoute("/native-builds_/devices")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateIosDevicesSearch
@@ -1,24 +1,24 @@
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-CsKVgZHa.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-CFlo6lny.mjs";
5
5
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CYgCcRUd.mjs";
7
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-n3c0OTBQ.mjs";
8
- import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-SLr1Q_AI.mjs";
9
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-eru_h5oK.mjs";
10
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-DA5lwO5U.mjs";
11
- import { i as TableHead, o as TableRow, r as TableCell } from "./table-WKKzprFn.mjs";
6
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BrGGQYC0.mjs";
7
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-BasQflNy.mjs";
8
+ import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-DrD4hAp4.mjs";
9
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-7iMkt9l0.mjs";
10
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-mL_Aa6ff.mjs";
11
+ import { i as TableHead, o as TableRow, r as TableCell } from "./table-CqdaVMjd.mjs";
12
12
  import { f as iosDeviceProfileUrl, n as IOS_DEVICES_PATH, p as maskIosUdid, t as IOS_DEVICES_ADD_COMMAND, u as consolePathOf } from "./native-builds-BXBkklfA.mjs";
13
13
  import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
14
- import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-BB8GE7OZ.mjs";
14
+ import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-M4kWGKJW.mjs";
15
15
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
16
- 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-DnvxB666.mjs";
17
- import { t as CopyableText } from "./CopyableText-DgNEsByt.mjs";
18
- import { t as NativeBuildsNav } from "./NativeBuildsNav-hFiyBaFW.mjs";
19
- import { a as useIosDeviceProfileLinkQuery, c as useRemoveIosDeviceMutation, i as useIosDevice, l as useRenameIosDeviceMutation, n as QrCode, o as useIosDevicesQuery, r as useApproveIosDeviceMutation } from "./IosInstall-C5Y5gnDY.mjs";
20
- import { t as Route } from "./native-builds_.devices-DiM2FdcW.mjs";
21
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-D0JJlX8E.js
16
+ 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-B5txzq94.mjs";
17
+ import { n as CopyableText, r as NoValue } from "./TargetDisplay-076I9qHx.mjs";
18
+ import { t as NativeBuildsNav } from "./NativeBuildsNav-BwoEX7xx.mjs";
19
+ import { a as useIosDeviceProfileLinkQuery, c as useRemoveIosDeviceMutation, i as useIosDevice, l as useRenameIosDeviceMutation, n as QrCode, o as useIosDevicesQuery, r as useApproveIosDeviceMutation } from "./IosInstall-B7yxnQ7o.mjs";
20
+ import { t as Route } from "./native-builds_.devices-BcfLIzJs.mjs";
21
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-BpTcIWm0.js
22
22
  var import_react = /* @__PURE__ */ __toESM(require_react());
23
23
  var import_jsx_runtime = require_jsx_runtime();
24
24
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -89,6 +89,13 @@ var actionsFor = (device, viewer) => ({
89
89
  remove: viewer.canApprove,
90
90
  withdraw: !viewer.canApprove && device.status === "pending" && device.requested_by === viewer.email
91
91
  });
92
+ /**
93
+ * Apple's refusal of an approved device is the row an approver acts on, so it
94
+ * takes the warning in place of Approved; the other states stay neutral.
95
+ */
96
+ var appleRefused = (device) => device.status === "approved" && device.apple_error !== null;
97
+ /** Who asked for a device: a person, or a terminal for one the CLI added. */
98
+ var requesterOf = (device) => device.requested_by ?? "Added from a terminal";
92
99
  function AppleError({ device }) {
93
100
  return device.apple_error === null ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
94
101
  className: "max-w-64 text-xs whitespace-normal text-muted-foreground",
@@ -98,17 +105,17 @@ function AppleError({ device }) {
98
105
  function DeviceStatus({ device, withError = true }) {
99
106
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
100
107
  className: "flex min-w-0 shrink-0 flex-col items-start gap-1",
101
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
108
+ children: [appleRefused(device) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
109
+ variant: "warning",
110
+ children: "Apple refused"
111
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
102
112
  variant: STATUS_BADGES[device.status],
103
113
  children: STATUS_LABELS[device.status]
104
114
  }), withError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppleError, { device }) : null]
105
115
  });
106
116
  }
107
117
  function DeviceBuild({ device }) {
108
- if (device.build_id === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
109
- className: "text-muted-foreground",
110
- children: "—"
111
- });
118
+ if (device.build_id === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
112
119
  let label = "A build";
113
120
  try {
114
121
  label = `Build of ${(0, import_dayjs_min.default)(extractTimestampFromUUIDv7(device.build_id)).format("MMM D")}`;
@@ -127,7 +134,7 @@ function DeviceActions({ device, viewer, onOpen }) {
127
134
  className: "flex items-center justify-end gap-1",
128
135
  children: [
129
136
  can.approve ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
130
- className: "h-11 sm:h-7",
137
+ className: "h-11 sm:h-8",
131
138
  onClick: () => onOpen({
132
139
  kind: "approve",
133
140
  device
@@ -136,7 +143,7 @@ function DeviceActions({ device, viewer, onOpen }) {
136
143
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { "data-icon": "inline-start" }), "Approve"]
137
144
  }) : null,
138
145
  can.withdraw ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
139
- className: "h-11 sm:h-7",
146
+ className: "h-11 sm:h-8",
140
147
  onClick: () => onOpen({
141
148
  kind: "remove",
142
149
  device
@@ -148,7 +155,7 @@ function DeviceActions({ device, viewer, onOpen }) {
148
155
  can.rename || can.remove ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DropdownMenu, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
149
156
  render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
150
157
  "aria-label": `More actions for ${device.name}`,
151
- className: "size-11 sm:size-7",
158
+ className: "size-11 sm:size-8",
152
159
  size: "icon-sm",
153
160
  variant: "ghost"
154
161
  }),
@@ -193,7 +200,7 @@ function DeviceRow({ device, viewer, onOpen }) {
193
200
  className: "text-xs",
194
201
  children: device.requested_by ?? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
195
202
  className: "text-muted-foreground",
196
- children: "Terminal"
203
+ children: requesterOf(device)
197
204
  })
198
205
  }),
199
206
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceStatus, { device }) }),
@@ -237,7 +244,7 @@ function DeviceCard({ device, viewer, onOpen }) {
237
244
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
238
245
  className: "flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground",
239
246
  children: [
240
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: device.requested_by ?? "Terminal" }),
247
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: requesterOf(device) }),
241
248
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
242
249
  "aria-hidden": "true",
243
250
  children: "·"
@@ -286,16 +293,16 @@ function NameDialog({ target, onClose }) {
286
293
  }),
287
294
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
288
295
  className: "truncate",
289
- children: target.device.requested_by ?? "Terminal"
296
+ children: target.device.requested_by ?? "Terminal (CLI)"
290
297
  }),
291
298
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
292
299
  className: "text-muted-foreground",
293
300
  children: "UDID"
294
301
  }),
295
302
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
296
- className: "font-mono text-xs",
303
+ className: "font-mono text-xs break-all select-all",
297
304
  translate: "no",
298
- children: maskIosUdid(target.device.udid)
305
+ children: target.device.udid
299
306
  })
300
307
  ]
301
308
  }) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Field, {
@@ -322,7 +329,7 @@ function NameDialog({ target, onClose }) {
322
329
  disabled: trimmed === "" || mutation.isPending,
323
330
  type: "submit",
324
331
  children: [mutation.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoaderCircle, {
325
- className: "animate-spin",
332
+ className: "animate-spin motion-reduce:animate-none",
326
333
  "data-icon": "inline-start"
327
334
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { "data-icon": "inline-start" }), target.kind === "approve" ? "Approve" : "Rename"]
328
335
  })
@@ -338,14 +345,14 @@ function RemoveDialog({ device, viewer, onClose }) {
338
345
  onOpenChange: (open) => open ? null : onClose(),
339
346
  open: true,
340
347
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogContent, { children: [
341
- /* @__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 registry, but it stays in new ad hoc builds while it's enabled in your Apple account: Xcode's automatic ad hoc profile takes every enabled device on the team. A build that is running may already have registered it." })] }),
342
- decline || !viewer.canApprove ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
343
- className: "flex min-w-0 flex-col gap-1.5 text-xs text-muted-foreground [&_code]:break-words [&_code]:whitespace-normal",
344
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "To keep it out of new builds, disable it at Apple from a terminal. Its slot isn't returned until the membership year renews." }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CopyableText, {
348
+ /* @__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." })] }),
349
+ decline || !viewer.canApprove ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
350
+ className: "flex min-w-0 flex-col text-xs text-muted-foreground [&_code]:break-words [&_code]:whitespace-normal",
351
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CopyableText, {
345
352
  label: "the command that disables it",
346
353
  value: `npx hot-updater native-build devices remove --udid ${device.udid}`,
347
354
  wrap: true
348
- })]
355
+ })
349
356
  }),
350
357
  remove.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
351
358
  className: "text-xs text-destructive",
@@ -369,13 +376,21 @@ function RemoveDialog({ device, viewer, onClose }) {
369
376
  },
370
377
  variant: "destructive",
371
378
  children: [remove.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoaderCircle, {
372
- className: "animate-spin",
379
+ className: "animate-spin motion-reduce:animate-none",
373
380
  "data-icon": "inline-start"
374
381
  }) : null, withdraw ? "Withdraw" : decline ? "Decline" : "Remove"]
375
382
  })] })
376
383
  ] })
377
384
  });
378
385
  }
386
+ /** Why iPhones can't register through this Console. */
387
+ function RegistrationNotice({ status, secretName }) {
388
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
389
+ className: "text-xs text-muted-foreground",
390
+ role: "status",
391
+ children: status === "local-console" ? "iPhones register through your hosted Console: an iPhone can't reach this computer's." : `Set ${secretName} on this Console to register iPhones.`
392
+ });
393
+ }
379
394
  /**
380
395
  * Where an iPhone joins the list: on a computer, a QR code of this page; on
381
396
  * the iPhone, its name and the profile that reads its UDID, signed for the
@@ -418,15 +433,9 @@ function RegisterCard({ view, devices }) {
418
433
  back.status === "pending" ? "A maintainer approves it next, and it joins the next ad hoc build." : "It joins the next ad hoc build."
419
434
  ]
420
435
  });
421
- if (view?.registration === "local-console") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
422
- className: "text-xs text-muted-foreground",
423
- role: "status",
424
- children: "iPhones register through your hosted Console: an iPhone can't reach this computer's."
425
- });
426
- if (view?.registration === "no-secret") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
427
- className: "text-xs text-muted-foreground",
428
- role: "status",
429
- children: "Set BETTER_AUTH_SECRET on this Console to register iPhones."
436
+ if (view !== void 0 && (view.registration === "local-console" || view.registration === "no-secret")) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, {
437
+ secretName: view.secretName,
438
+ status: view.registration
430
439
  });
431
440
  if (!onPhone) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
432
441
  className: "flex flex-col items-start gap-4 sm:flex-row sm:items-center",
@@ -450,19 +459,10 @@ function RegisterCard({ view, devices }) {
450
459
  role: "status",
451
460
  children: "iPhones need this Console on HTTPS."
452
461
  });
453
- if (link.data?.status === "local-console") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
454
- className: "text-xs text-muted-foreground",
455
- role: "status",
456
- children: "iPhones register through your hosted Console: an iPhone can't reach this computer's."
457
- });
458
- if (link.data?.status === "no-secret") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
459
- className: "text-xs text-muted-foreground",
460
- role: "status",
461
- children: [
462
- "Set ",
463
- link.data.secretName,
464
- " on this Console to register iPhones."
465
- ]
462
+ if (link.data?.status === "local-console") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, { status: "local-console" });
463
+ if (link.data?.status === "no-secret") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, {
464
+ secretName: link.data.secretName,
465
+ status: "no-secret"
466
466
  });
467
467
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
468
468
  className: "flex min-w-0 flex-col gap-3",
@@ -524,7 +524,7 @@ function IosDevicesPage({ search, onSearchChange }) {
524
524
  icon: Smartphone,
525
525
  title: search.status === void 0 ? "No iPhones yet" : `No ${STATUS_LABELS[search.status].toLowerCase()} iPhones`,
526
526
  children: search.status === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Open this page on an iPhone to register it." }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
527
- className: "h-11 sm:h-7",
527
+ className: "h-11 sm:h-8",
528
528
  onClick: () => onSearchChange({}),
529
529
  size: "sm",
530
530
  variant: "outline",
@@ -1,6 +1,6 @@
1
- import { i as getRequest } from "./server-DAHTchcr.mjs";
1
+ import { i as getRequest } from "./server-4hXySEh0.mjs";
2
2
  import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-CvvWuhh0.js
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-CtB2G7qG.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.
@@ -93,4 +93,4 @@ var issueNativeBuildDownloadLink = async (buildId, request = getRequest(), now =
93
93
  };
94
94
  };
95
95
  //#endregion
96
- export { CONSOLE_SECRET_ENV, issueNativeBuildDownloadLink, readConsoleSecret, refuseNativeBuildDownloadToken };
96
+ export { CONSOLE_SECRET_ENV, NATIVE_BUILD_DOWNLOAD_LINK_TTL_MS, createNativeBuildDownloadToken, issueNativeBuildDownloadLink, readConsoleSecret, refuseNativeBuildDownloadToken, verifyNativeBuildDownloadToken };
@@ -1,9 +1,9 @@
1
1
  import { C as nativeBuildManifestPath, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, v as nativeBuildDownloadPath } from "./native-builds-BXBkklfA.mjs";
2
2
  import { i as readIpaInstallInfo, n as normalizeIosUdid, r as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-f67NLLXZ.mjs";
3
- import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-CvvWuhh0.mjs";
4
- import { listIosDevices } from "./iosDevices-Bc27J72d.mjs";
3
+ import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-CtB2G7qG.mjs";
4
+ import { listIosDevices } from "./iosDevices-B0TjF_sb.mjs";
5
5
  import { nativeBuildArtifactUrl } from "./nativeBuilds-Cub0EUGN.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-BqcVHBaD.js
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-PavEyZtZ.js
7
7
  var KiB = 1024;
8
8
  var MiB = 1024 * KiB;
9
9
  /**
@@ -127,7 +127,7 @@ var newerBuildListing = async (build, info, device, key, { core, storage, fetch,
127
127
  * Connect isn't asked, so this says what the IPA's bytes allow, which is what
128
128
  * iOS enforces; registering a device changes nothing until a new IPA has it.
129
129
  */
130
- var checkNativeBuildInstall = async (id, udid, { core, storage }, { request, now = Date.now(), fetch = globalThis.fetch } = {}) => {
130
+ var checkNativeBuildInstall = async (id, udid, { core, storage }, { request, now = Date.now(), fetch = globalThis.fetch, canApprove = async () => false } = {}) => {
131
131
  const build = await core.getNativeBuild(id);
132
132
  if (build === null) return { status: "unavailable" };
133
133
  const info = await readNativeBuildInstallInfo(build, storage, fetch);
@@ -151,6 +151,7 @@ var checkNativeBuildInstall = async (id, udid, { core, storage }, { request, now
151
151
  fetch,
152
152
  now
153
153
  }),
154
+ canApprove: registry?.apple_error == null ? false : await canApprove(),
154
155
  expiresAt,
155
156
  link: await issueNativeBuildDownloadLink(id, request, now, NATIVE_BUILD_INSTALL_LINK_TTL_MS)
156
157
  };
@@ -1,15 +1,15 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-BLVi82IN.mjs";
2
+ import { t as consoleAccess } from "./console-access-Bi-abtY-.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-DeICczY7.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-Dm-5yAJG.js
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-DkT6ui4_.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-R3KQbcML.mjs"), import("./releaseAdoption-kHZo8P90.mjs")]);
12
+ const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-CVOdMDBk.mjs"), import("./releaseAdoption-kHZo8P90.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-R3KQbcML.mjs"), import("./releaseAdoption-kHZo8P90.mjs")]);
22
+ const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-CVOdMDBk.mjs"), import("./releaseAdoption-kHZo8P90.mjs")]);
23
23
  const { core } = await prepareConfig();
24
24
  return getAdoptionRelease(core, data);
25
25
  });
@@ -30,7 +30,7 @@ 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-R3KQbcML.mjs"),
33
+ import("./config.server-CVOdMDBk.mjs"),
34
34
  import("./releaseAdoption-kHZo8P90.mjs"),
35
35
  import("./runtime.server-CkSbWaZm.mjs")
36
36
  ]);
@@ -1,6 +1,6 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { n as Route, t as RemoteConfigPage } from "./remote-config-ZFm-l4Gi.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-D1BhIBKu.js
2
+ import { n as Route, t as RemoteConfigPage } from "./remote-config-v1hs050H.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-BKlK0dFP.js
4
4
  var import_jsx_runtime = require_jsx_runtime();
5
5
  function RemoteConfigRoute() {
6
6
  const { tab = "parameters" } = Route.useSearch();
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DcZ4JBVq.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-D7RruPiO.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Dfs3WUZf.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-D_nQT__6.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,10 +1,10 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-BLVi82IN.mjs";
2
+ import { t as consoleAccess } from "./console-access-Bi-abtY-.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-C7AZy37o.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-BW6lyp9Y.js
5
5
  /** Remote Config, once the console's access check and the feature guard pass. */
6
6
  var remoteConfig = async () => {
7
- const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-R3KQbcML.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
7
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CVOdMDBk.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
8
8
  const { runtime } = await prepareConfig();
9
9
  return requireFeature(runtime, "remoteConfig");
10
10
  };