@hot-updater/console 1.2.0-rc.4 → 1.2.0-rc.40

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 (387) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/-native-builds-search-qeto9-fq.js +1 -0
  3. package/.output/public/assets/BundleIdDisplay-BKaGARD1.js +1 -0
  4. package/.output/public/assets/ChannelBadge-CPc1M44L.js +1 -0
  5. package/.output/public/assets/CompositeItem-B541MSYC.js +1 -0
  6. package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-C6aryy7j.js} +1 -1
  7. package/.output/public/assets/{EventDetails-Dl2RvPAk.js → EventDetails-BdqU96Wu.js} +1 -1
  8. package/.output/public/assets/HashValueDisplay-BHL4xWSY.js +1 -0
  9. package/.output/public/assets/InsightsPageHeader-D0Nxcccp.js +1 -0
  10. package/.output/public/assets/IosInstall-CgNa8B4v.js +1 -0
  11. package/.output/public/assets/NativeBuildsNav-BxAmQr2E.js +1 -0
  12. package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-haKPLHiT.js} +1 -1
  13. package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-DYsYaYt6.js} +1 -1
  14. package/.output/public/assets/QrCode-BSNEn_M-.js +1 -0
  15. package/.output/public/assets/RelativeTime-CdQ86VoP.js +1 -0
  16. package/.output/public/assets/RolloutPercentageBadge-Cd1UNLL0.js +1 -0
  17. package/.output/public/assets/RowReason-CEI-_T6G.js +1 -0
  18. package/.output/public/assets/SandboxBadge-CqGX5DiH.js +1 -0
  19. package/.output/public/assets/TargetDisplay-DMZHMgWk.js +1 -0
  20. package/.output/public/assets/alert-dialog-Cj7AOTIE.js +1 -0
  21. package/.output/public/assets/api-keys-B9XQLCZ8.js +1 -0
  22. package/.output/public/assets/api-keys-D4tjInrB.js +1 -0
  23. package/.output/public/assets/api-tJRzijjy.js +1 -0
  24. package/.output/public/assets/arrow-left-68S4uy4I.js +1 -0
  25. package/.output/public/assets/arrow-right-DjRwIoF1.js +1 -0
  26. package/.output/public/assets/arrow-up-right-C_1ALUCD.js +1 -0
  27. package/.output/public/assets/badge-zMibJGR5.js +1 -0
  28. package/.output/public/assets/card-pYZSDIxg.js +1 -0
  29. package/.output/public/assets/check-C3VCvMOV.js +1 -0
  30. package/.output/public/assets/chevron-right-RAuPv9r1.js +1 -0
  31. package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-DvYMC5yF.js} +1 -1
  32. package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-D0JWZ1KF.js} +1 -1
  33. package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-CtbGqKyr.js} +1 -1
  34. package/.output/public/assets/{uuidv7-zXMtwR9Q.js → constants-zSb7FXDh.js} +1 -1
  35. package/.output/public/assets/{copy-DsuLj3oj.js → copy-BjVLMKbo.js} +1 -1
  36. package/.output/public/assets/dialog-DlAv6zou.js +1 -0
  37. package/.output/public/assets/dist-BEmib-ZM.js +1 -0
  38. package/.output/public/assets/{download-Cf24LBde.js → download-CgpaZb23.js} +1 -1
  39. package/.output/public/assets/empty-Bwao2ztZ.js +1 -0
  40. package/.output/public/assets/field-BiSGCVoS.js +1 -0
  41. package/.output/public/assets/git-branch-BGatQV8Q.js +1 -0
  42. package/.output/public/assets/history-Ci4dhphE.js +1 -0
  43. package/.output/public/assets/index-D7PWINwc.js +10 -0
  44. package/.output/public/assets/input-group-CPboh0Rx.js +1 -0
  45. package/.output/public/assets/insights-B7GL298D.js +1 -0
  46. package/.output/public/assets/insights-BzKbxWIo.js +42 -0
  47. package/.output/public/assets/insights-Q2nAkSMz.js +2 -0
  48. package/.output/public/assets/insights-api-D4-FZeEI.js +1 -0
  49. package/.output/public/assets/insights-search-DkovoDrZ.js +1 -0
  50. package/.output/public/assets/insights-usage-rpc-DkJgbAYm.js +1 -0
  51. package/.output/public/assets/insights_.distribution-BafQuEd0.js +1 -0
  52. package/.output/public/assets/insights_.distribution-DHU1udei.js +2 -0
  53. package/.output/public/assets/insights_.distribution-DmeI9XZw.js +1 -0
  54. package/.output/public/assets/installations-ClsF2q6A.js +2 -0
  55. package/.output/public/assets/installations-CmuNX_Ok.js +1 -0
  56. package/.output/public/assets/installations-oGkAO7nb.js +1 -0
  57. package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-BkeLvA1m.js} +1 -1
  58. package/.output/public/assets/{link-DTEyW70e.js → link-CRMwpc7-.js} +2 -2
  59. package/.output/public/assets/{list--NIee1FZ.js → list-DQ9YBIDW.js} +1 -1
  60. package/.output/public/assets/loader-circle-8lunBReu.js +1 -0
  61. package/.output/public/assets/native-builds-DJlYvvPY.js +2 -0
  62. package/.output/public/assets/native-builds-NyGMlBx2.js +1 -0
  63. package/.output/public/assets/native-builds-uKuvmyXZ.js +1 -0
  64. package/.output/public/assets/native-builds_._buildId-DZqylSRq.js +1 -0
  65. package/.output/public/assets/native-builds_._buildId-Dza7vEcy.js +2 -0
  66. package/.output/public/assets/native-builds_.devices-BykEftlY.js +1 -0
  67. package/.output/public/assets/native-builds_.devices-DH1JB1zr.js +2 -0
  68. package/.output/public/assets/plus-DztQIXYL.js +1 -0
  69. package/.output/public/assets/preload-helper-CE9OukVC.js +1 -0
  70. package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-Dbefsycs.js} +1 -1
  71. package/.output/public/assets/remote-config-BiD075AT.js +1 -0
  72. package/.output/public/assets/remote-config-CBirPcRR.js +6 -0
  73. package/.output/public/assets/remote-config-r945bivi.js +1 -0
  74. package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-BFQcpUTO.js} +1 -1
  75. package/.output/public/assets/routes-5U4k3N1_.js +1 -0
  76. package/.output/public/assets/routes-DWjGfLRs.js +2 -0
  77. package/.output/public/assets/search-BfEqtE64.js +1 -0
  78. package/.output/public/assets/select-DIyG5G-V.js +1 -0
  79. package/.output/public/assets/sidebar-BmzmPGuv.js +3 -0
  80. package/.output/public/assets/smartphone-Dy13ukaU.js +1 -0
  81. package/.output/public/assets/styles-C_9Rf75p.css +2 -0
  82. package/.output/public/assets/switch-B_7OwJhK.js +1 -0
  83. package/.output/public/assets/table-Bo1jU9-v.js +1 -0
  84. package/.output/public/assets/tabs-DARDj-XC.js +1 -0
  85. package/.output/public/assets/trash-2-DI0biNI-.js +1 -0
  86. package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-CxhBbgJw.js} +1 -1
  87. package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-Cbk_weKW.js} +1 -1
  88. package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-D7IuoOLE.js} +1 -1
  89. package/.output/public/assets/valueToPercent-Db73Kirz.js +1 -0
  90. package/.output/server/{__23tanstack-start-server-fn-resolver-X9YQcrQI.mjs → __23tanstack-start-server-fn-resolver-CSEErUrV.mjs} +94 -46
  91. package/.output/server/_chunks/ssr-renderer.mjs +2 -2
  92. package/.output/server/_libs/@base-ui/react+[...].mjs +1488 -183
  93. package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
  94. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  95. package/.output/server/_libs/_.mjs +2 -0
  96. package/.output/server/_libs/lucide-react.mjs +34 -28
  97. package/.output/server/_libs/next-themes.mjs +1 -1
  98. package/.output/server/_libs/react-redux+[...].mjs +1 -1
  99. package/.output/server/_libs/recharts+[...].mjs +1 -1
  100. package/.output/server/_libs/sonner.mjs +1 -1
  101. package/.output/server/_libs/tanstack__react-query.mjs +1 -1
  102. package/.output/server/_ssr/-native-builds-search-Bwt8tQzp.mjs +55 -0
  103. package/.output/server/_ssr/{BundleIdDisplay-BVrZXzTm.mjs → BundleIdDisplay-BfMtMws8.mjs} +3 -3
  104. package/.output/server/_ssr/ChannelBadge-CyjOxlfr.mjs +23 -0
  105. package/.output/server/_ssr/{ConsoleFeatureUnavailable-CULyV3nR.mjs → ConsoleFeatureUnavailable-D5a8SXzu.mjs} +8 -8
  106. package/.output/server/_ssr/{EventDetails-DeI1rOQc.mjs → EventDetails-XaXslOac.mjs} +9 -9
  107. package/.output/server/_ssr/{HashValueDisplay-DpnPD3U2.mjs → HashValueDisplay-CtrIkPNM.mjs} +7 -7
  108. package/.output/server/_ssr/{InsightsPageHeader-Dwmdtelg.mjs → InsightsPageHeader-CK76Vycr.mjs} +13 -13
  109. package/.output/server/_ssr/IosInstall-BD2HpMsh.mjs +751 -0
  110. package/.output/server/_ssr/NativeBuildsNav-DvFscYEN.mjs +38 -0
  111. package/.output/server/_ssr/{NotFoundPage-Dddp1HSc.mjs → NotFoundPage-CQc5Envb.mjs} +3 -3
  112. package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-C22qEcwo.mjs} +13 -3
  113. package/.output/server/_ssr/QrCode-VPGDhoTy.mjs +50 -0
  114. package/.output/server/_ssr/RelativeTime-D6qU9XeU.mjs +242 -0
  115. package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-7HdtPPd8.mjs} +20 -4
  116. package/.output/server/_ssr/RowReason-CR2C_0d9.mjs +186 -0
  117. package/.output/server/_ssr/SandboxBadge-HQv4waT2.mjs +85 -0
  118. package/.output/server/_ssr/TargetDisplay-BQ3rf-jt.mjs +105 -0
  119. package/.output/server/_ssr/{alert-dialog-ei2c1b6A.mjs → alert-dialog-DZfV4jo0.mjs} +4 -4
  120. package/.output/server/_ssr/{api-CvwqILEx.mjs → api-C3S89RIl.mjs} +174 -37
  121. package/.output/server/_ssr/{api-keys-BLHCygD_.mjs → api-keys-DhgkyA5L.mjs} +2 -2
  122. package/.output/server/_ssr/{api-keys-rpc-CLZsTwih.mjs → api-keys-rpc-PnrzjW84.mjs} +4 -4
  123. package/.output/server/_ssr/{api-keys-CVi7E0qS.mjs → api-keys-tydhn1tu.mjs} +14 -11
  124. package/.output/server/_ssr/{api-rpc-p-7EhGIG.mjs → api-rpc-D8qYGyez.mjs} +83 -35
  125. package/.output/server/_ssr/{auth-rpc-B1W4-hxa.mjs → auth-rpc-rMdoXrTW.mjs} +5 -5
  126. package/.output/server/_ssr/{auth.server-CVKs7SWJ.mjs → auth.server-YE2ZZC0j.mjs} +833 -179
  127. package/.output/server/_ssr/{badge-nS9EbEA0.mjs → badge-NON1cyRV.mjs} +4 -45
  128. package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-CjE9yslP.mjs} +1 -1
  129. package/.output/server/_ssr/card-CVw7zPaM.mjs +49 -0
  130. package/.output/server/_ssr/{config.server-BAdvotbH.mjs → config.server-BYkojQAW.mjs} +4 -4
  131. package/.output/server/_ssr/{console-access-BiuC2QFp.mjs → console-access-CRyGs-sb.mjs} +2 -2
  132. package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-DTYyXrWO.mjs} +1 -1
  133. package/.output/server/_ssr/{console-features-api-FvbqhbTg.mjs → console-features-api-DwbIx8oM.mjs} +4 -4
  134. package/.output/server/_ssr/{console-features-rpc-Cl3J66aP.mjs → console-features-rpc-erZu7BIN.mjs} +4 -4
  135. package/.output/server/_ssr/constants-BjsJZqaU.mjs +10 -0
  136. package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
  137. package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-B56IJxlu.mjs} +1 -1
  138. package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
  139. package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BZMFl5QV.mjs} +3 -3
  140. package/.output/server/_ssr/deviceProfileToken-Eeltr-o0.mjs +98 -0
  141. package/.output/server/_ssr/{dialog-GmTPeUS4.mjs → dialog-ZuUCxUNo.mjs} +5 -5
  142. package/.output/server/_ssr/dist-CiOq3ygH.mjs +148 -0
  143. package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-DLkb7A7E.mjs} +1 -1
  144. package/.output/server/_ssr/{empty-CXWKv24M.mjs → empty-4FbiMhrz.mjs} +3 -3
  145. package/.output/server/_ssr/{empty-plugin-adapters-zrZ0xs6n.mjs → empty-plugin-adapters-BYBYBaxo.mjs} +1 -1
  146. package/.output/server/_ssr/{failureReports-Cn_zU9S8.mjs → failureReports-Bd7CaadE.mjs} +3 -3
  147. package/.output/server/_ssr/{field-lwIHAwLc.mjs → field-B9YWRLoo.mjs} +3 -3
  148. package/.output/server/_ssr/foldedPage-DrxWt5XS.mjs +176 -0
  149. package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-DA9zbUBD.mjs} +2 -2
  150. package/.output/server/_ssr/{input-group-Dgr4DNbE.mjs → input-group-sETcyyLC.mjs} +3 -3
  151. package/.output/server/_ssr/{insights-DSnQTQw1.mjs → insights-BjtOex57.mjs} +38 -31
  152. package/.output/server/_ssr/{insights-BxtyBLt0.mjs → insights-CkJWItoo.mjs} +2 -2
  153. package/.output/server/_ssr/{insights-B9NvjAWc.mjs → insights-K6CFztcF.mjs} +5 -5
  154. package/.output/server/_ssr/{insights-api-PN_9ilr8.mjs → insights-api-9jE9dp-3.mjs} +5 -5
  155. package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-BrToSfI9.mjs} +2 -2
  156. package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-lmcxwKb3.mjs} +2 -2
  157. package/.output/server/_ssr/{insights-failures-rpc-Cxu3UtyB.mjs → insights-failures-rpc-XxbDFtKo.mjs} +11 -11
  158. package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-Dhg3WGpC.mjs} +1 -1
  159. package/.output/server/_ssr/{insights-recovery-rpc--c6kBp3k.mjs → insights-recovery-rpc-CFeoyZEw.mjs} +7 -7
  160. package/.output/server/_ssr/{insights-rpc-oTMaAqc1.mjs → insights-rpc-TAS-cemx.mjs} +4 -4
  161. package/.output/server/_ssr/{insights-search-r-Z50f0Y.mjs → insights-search-DL8LLP6s.mjs} +6 -8
  162. package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-gW3T5N6N.mjs} +1 -1
  163. package/.output/server/_ssr/{insights-usage-rpc-B00vjt0a.mjs → insights-usage-rpc-CrAA5_Wn.mjs} +5 -5
  164. package/.output/server/_ssr/{insights-usage-rpc-DoElOI5b.mjs → insights-usage-rpc-DGSVT5eB.mjs} +7 -7
  165. package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-B_7pM9wp.mjs} +3 -3
  166. package/.output/server/_ssr/{insights_.distribution-B8AMBp-Q.mjs → insights_.distribution-C9nMSRtr.mjs} +5 -5
  167. package/.output/server/_ssr/{insights_.distribution-CnYddZ2Y.mjs → insights_.distribution-CK5_wfLT.mjs} +2 -2
  168. package/.output/server/_ssr/{insights_.distribution-mpZ0wS_R.mjs → insights_.distribution-DDr3vglh.mjs} +16 -15
  169. package/.output/server/_ssr/{installations-CWTRzcR7.mjs → installations-BvGL_EXM.mjs} +2 -2
  170. package/.output/server/_ssr/{installations-BfhcY_XQ.mjs → installations-CRHGd6SX.mjs} +4 -4
  171. package/.output/server/_ssr/{installations-O6Jzc5PO.mjs → installations-CWutybSC.mjs} +13 -13
  172. package/.output/server/_ssr/ios-devices-rpc-CCx4TvyR.mjs +137 -0
  173. package/.output/server/_ssr/iosDeviceCookie-B3FPj65l.mjs +155 -0
  174. package/.output/server/_ssr/iosDeviceProfile-Cclrfk8N.mjs +176 -0
  175. package/.output/server/_ssr/iosDevices-DMXaKH8F.mjs +113 -0
  176. package/.output/server/_ssr/listReleases-B2Q9xwFv.mjs +94 -0
  177. package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
  178. package/.output/server/_ssr/native-artifact-BurROe05.mjs +1573 -0
  179. package/.output/server/_ssr/{native-builds-UIgRLMb8.mjs → native-builds-BGDsGYAp.mjs} +3 -3
  180. package/.output/server/_ssr/native-builds-BPiSm8HX.mjs +724 -0
  181. package/.output/server/_ssr/native-builds-Bnx0fVWs.mjs +264 -0
  182. package/.output/server/_ssr/native-builds_._buildId-B749BEMp.mjs +1148 -0
  183. package/.output/server/_ssr/{native-builds_._buildId-DjUqI5sa.mjs → native-builds_._buildId-CS9w0JIp.mjs} +3 -3
  184. package/.output/server/_ssr/native-builds_.devices-BPT8_91w.mjs +10 -0
  185. package/.output/server/_ssr/native-builds_.devices-w_jDlH8K.mjs +820 -0
  186. package/.output/server/_ssr/nativeBuildDownloadLink-CXibRgym.mjs +96 -0
  187. package/.output/server/_ssr/nativeBuildInstall-BLuyTfXE.mjs +252 -0
  188. package/.output/server/_ssr/nativeBuilds-WKdqgemR.mjs +287 -0
  189. package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
  190. package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-D9CCkDjn.mjs} +7 -6
  191. package/.output/server/_ssr/publicConsoleBase-C3sNbafy.mjs +15 -0
  192. package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-D2719HVh.mjs} +2 -2
  193. package/.output/server/_ssr/{release-adoption-rpc-PLyiDnas.mjs → release-adoption-rpc-DOdELZNl.mjs} +9 -9
  194. package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-CxGKmUXx.mjs} +4 -4
  195. package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-CJ2Shida.mjs} +4 -3
  196. package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-CqIc-SDE.mjs} +1 -1
  197. package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-sWr0bLRk.mjs} +2 -2
  198. package/.output/server/_ssr/{remote-config-C5j4CfGa.mjs → remote-config-C5mPNt0s.mjs} +3 -3
  199. package/.output/server/_ssr/{remote-config-eNxv5Kzc.mjs → remote-config-DuOo-AFR.mjs} +23 -22
  200. package/.output/server/_ssr/{remote-config-rpc-Cy4VwdMt.mjs → remote-config-rpc-rEe5HBxX.mjs} +5 -5
  201. package/.output/server/_ssr/{remote-config-tOdzsFMi.mjs → remote-config-xbBIsBh1.mjs} +2 -2
  202. package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
  203. package/.output/server/_ssr/{router-DaQ6OkIp.mjs → router-Bc5Zx-dc.mjs} +136 -63
  204. package/.output/server/_ssr/{routes-BYmUIYfN.mjs → routes-CUQ96XR2.mjs} +49 -17
  205. package/.output/server/_ssr/{routes-Drni4c1E.mjs → routes-DCOnxOlA.mjs} +469 -456
  206. package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-BUbb281Z.mjs} +4 -4
  207. package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-CaIuQCXb.mjs} +1 -1
  208. package/.output/server/_ssr/{schema-migration-rpc-mZ_19Wt_.mjs → schema-migration-rpc-DK_ceMAg.mjs} +4 -4
  209. package/.output/server/_ssr/{select-Cjrp1Sl9.mjs → select-dGQiTkaZ.mjs} +12 -10
  210. package/.output/server/_ssr/{server-y3KoaSil.mjs → server-l-C5qBnr.mjs} +7 -7
  211. package/.output/server/_ssr/{sidebar-tRHVNWpo.mjs → sidebar-Ccd4WNjQ.mjs} +17 -10
  212. package/.output/server/_ssr/ssr.mjs +1 -1
  213. package/.output/server/_ssr/{start-BvDsQehg.mjs → start-BXlykDIg.mjs} +2 -2
  214. package/.output/server/_ssr/{switch-YrqCYfP-.mjs → switch-CC7UK0Nw.mjs} +4 -4
  215. package/.output/server/_ssr/{table-NHakBPSp.mjs → table-BAlgZdxo.mjs} +2 -2
  216. package/.output/server/_ssr/tabs-Bm7PWhQk.mjs +45 -0
  217. package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-DGuFoK6A.mjs} +3 -3
  218. package/.output/server/_ssr/{dist-TEpM_UAD.mjs → uuid-kZvLA0Ly-DNL0qBSj.mjs} +2 -147
  219. package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-C0jNe2Om.mjs} +2 -2
  220. package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-zW2fpHOZ.mjs} +1 -1
  221. package/.output/server/_tanstack-start-manifest_v-C_zDNaKT.mjs +223 -0
  222. package/.output/server/index.mjs +482 -391
  223. package/lib/index.d.mts +9 -0
  224. package/package.json +7 -30
  225. package/src/components/AppSidebar.tsx +11 -2
  226. package/src/components/ChannelBadge.tsx +9 -9
  227. package/src/components/DataTable.tsx +363 -0
  228. package/src/components/FoldedRows.tsx +219 -0
  229. package/src/components/HashValueDisplay.tsx +6 -3
  230. package/src/components/PlatformIcon.tsx +10 -0
  231. package/src/components/RelativeTime.tsx +31 -0
  232. package/src/components/RowReason.tsx +56 -0
  233. package/src/components/TargetDisplay.tsx +95 -0
  234. package/src/components/ThemeProvider.tsx +11 -2
  235. package/src/components/features/api-keys/ApiKeysPage.tsx +5 -3
  236. package/src/components/features/bundles/BundleMetadata.tsx +1 -1
  237. package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
  238. package/src/components/features/channels/ChannelManagementDialog.tsx +10 -11
  239. package/src/components/features/insights/AppUsage.tsx +3 -5
  240. package/src/components/features/insights/FailureReports.tsx +3 -2
  241. package/src/components/features/insights/InsightsControls.tsx +2 -2
  242. package/src/components/features/insights/InsightsOverview.tsx +7 -1
  243. package/src/components/features/insights/InsightsPageHeader.tsx +10 -15
  244. package/src/components/features/insights/ReleaseActivity.tsx +6 -2
  245. package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
  246. package/src/components/features/insights/UpdateFailures.tsx +1 -0
  247. package/src/components/features/native-builds/BuiltInBundleCard.tsx +122 -61
  248. package/src/components/features/native-builds/CommitLink.tsx +3 -2
  249. package/src/components/features/native-builds/ImportBuild.tsx +1 -1
  250. package/src/components/features/native-builds/InstallCard.tsx +316 -91
  251. package/src/components/features/native-builds/IosDevicesPage.tsx +1100 -0
  252. package/src/components/features/native-builds/IosInstall.tsx +732 -0
  253. package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
  254. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +30 -6
  255. package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
  256. package/src/components/features/native-builds/NativeBuildsPage.tsx +138 -89
  257. package/src/components/features/native-builds/NativeBuildsTable.tsx +649 -323
  258. package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
  259. package/src/components/features/native-builds/PatchesCard.tsx +28 -19
  260. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +5 -5
  261. package/src/components/features/native-builds/SandboxBadge.tsx +21 -0
  262. package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
  263. package/src/components/features/native-builds/ShortHash.tsx +6 -3
  264. package/src/components/features/native-builds/StoreSubmission.tsx +18 -12
  265. package/src/components/features/native-builds/playTracks.ts +7 -0
  266. package/src/components/features/releases/ReleaseEditorSheet.tsx +8 -6
  267. package/src/components/features/remote-config/PublishDialog.tsx +4 -1
  268. package/src/components/features/remote-config/VersionsCard.tsx +5 -2
  269. package/src/components/ui/alert-dialog.tsx +2 -2
  270. package/src/components/ui/badge.tsx +2 -0
  271. package/src/components/ui/button.tsx +11 -2
  272. package/src/components/ui/dialog.tsx +3 -3
  273. package/src/components/ui/input.tsx +1 -1
  274. package/src/components/ui/select.tsx +15 -7
  275. package/src/components/ui/sheet.tsx +1 -1
  276. package/src/components/ui/sidebar.tsx +2 -2
  277. package/src/components/ui/slider.tsx +1 -1
  278. package/src/components/ui/sonner.tsx +3 -1
  279. package/src/components/ui/switch.tsx +1 -1
  280. package/src/components/ui/tabs.tsx +1 -1
  281. package/src/components/ui/textarea.tsx +1 -1
  282. package/src/index.ts +9 -0
  283. package/src/lib/api-rpc.ts +125 -35
  284. package/src/lib/api.ts +160 -16
  285. package/src/lib/constants.ts +15 -0
  286. package/src/lib/insights-search.ts +0 -3
  287. package/src/lib/ios-devices-api.ts +290 -0
  288. package/src/lib/ios-devices-rpc.ts +188 -0
  289. package/src/lib/native-builds.ts +263 -20
  290. package/src/lib/server/console-runtime.server.ts +9 -2
  291. package/src/lib/server/deviceProfileToken.ts +221 -0
  292. package/src/lib/server/foldedPage.ts +360 -0
  293. package/src/lib/server/iosDeviceCookie.ts +239 -0
  294. package/src/lib/server/iosDeviceProfile.ts +232 -0
  295. package/src/lib/server/iosDevices.ts +193 -0
  296. package/src/lib/server/listReleases.ts +101 -62
  297. package/src/lib/server/local-console.ts +1 -1
  298. package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
  299. package/src/lib/server/nativeBuildInstall.ts +497 -0
  300. package/src/lib/server/nativeBuilds.ts +314 -58
  301. package/src/lib/server/plistText.ts +17 -0
  302. package/src/lib/server/publicConsoleBase.ts +17 -0
  303. package/src/routeTree.gen.ts +129 -18
  304. package/src/routes/-native-builds-search.ts +52 -4
  305. package/src/routes/-releases-search.ts +63 -2
  306. package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
  307. package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
  308. package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
  309. package/src/routes/[_]hot-updater/devices/request.ts +28 -0
  310. package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
  311. package/src/routes/api/native-builds/$buildId/download.ts +22 -1
  312. package/src/routes/index.tsx +645 -552
  313. package/src/routes/insights.tsx +3 -5
  314. package/src/routes/insights_.distribution.tsx +2 -2
  315. package/src/routes/native-builds_.devices.tsx +21 -0
  316. package/src/styles.css +24 -0
  317. package/.output/public/assets/-native-builds-search-C-TGpFAm.js +0 -1
  318. package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
  319. package/.output/public/assets/InsightsPageHeader-DHhqY3DT.js +0 -1
  320. package/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.js +0 -1
  321. package/.output/public/assets/StoreSubmission-ViTkW4eJ.js +0 -1
  322. package/.output/public/assets/alert-dialog-BqYScr9y.js +0 -1
  323. package/.output/public/assets/api-P2g8dCNg.js +0 -1
  324. package/.output/public/assets/api-keys-DWQC2q6y.js +0 -1
  325. package/.output/public/assets/api-keys-FueRkF9q.js +0 -1
  326. package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
  327. package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
  328. package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
  329. package/.output/public/assets/badge-DWFcDWho.js +0 -1
  330. package/.output/public/assets/check-CXVR3s3X.js +0 -1
  331. package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
  332. package/.output/public/assets/dialog-CNUPxNxH.js +0 -1
  333. package/.output/public/assets/dist-CPlO6ko9.js +0 -1
  334. package/.output/public/assets/empty-B3Uwdd6k.js +0 -1
  335. package/.output/public/assets/field-D-2-mnNh.js +0 -1
  336. package/.output/public/assets/history-DqHlgSuV.js +0 -1
  337. package/.output/public/assets/index-CqP5HPV6.js +0 -10
  338. package/.output/public/assets/input-group-D3OUBk4n.js +0 -1
  339. package/.output/public/assets/insights-B-0odqpt.js +0 -42
  340. package/.output/public/assets/insights-BSVGfxSL.js +0 -1
  341. package/.output/public/assets/insights-NK5B6ReS.js +0 -2
  342. package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
  343. package/.output/public/assets/insights-search-DghCbEnk.js +0 -1
  344. package/.output/public/assets/insights-usage-rpc-CKQH0pUS.js +0 -1
  345. package/.output/public/assets/insights_.distribution-CJvgwcVZ.js +0 -2
  346. package/.output/public/assets/insights_.distribution-DblZM0mO.js +0 -1
  347. package/.output/public/assets/insights_.distribution-dvk6vYDM.js +0 -1
  348. package/.output/public/assets/installations-B674P5Z5.js +0 -2
  349. package/.output/public/assets/installations-BWxczZ2t.js +0 -1
  350. package/.output/public/assets/installations-Dv4kWQYz.js +0 -1
  351. package/.output/public/assets/native-builds-BOC71grI.js +0 -1
  352. package/.output/public/assets/native-builds-D6rldpSh.js +0 -2
  353. package/.output/public/assets/native-builds-DAy2678K.js +0 -1
  354. package/.output/public/assets/native-builds_._buildId-DD58_Phd.js +0 -1
  355. package/.output/public/assets/native-builds_._buildId-DvQDKnUQ.js +0 -2
  356. package/.output/public/assets/plus-BReVKct-.js +0 -1
  357. package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
  358. package/.output/public/assets/refresh-cw-B9HHjLej.js +0 -1
  359. package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
  360. package/.output/public/assets/remote-config-WjpozBG5.js +0 -1
  361. package/.output/public/assets/remote-config-gXeH6PBW.js +0 -1
  362. package/.output/public/assets/routes-BDdBIxYS.js +0 -1
  363. package/.output/public/assets/routes-CCD33Azv.js +0 -2
  364. package/.output/public/assets/search-BCel4Oy6.js +0 -1
  365. package/.output/public/assets/select-CBIU0_M1.js +0 -1
  366. package/.output/public/assets/sidebar-Di9SN47G.js +0 -3
  367. package/.output/public/assets/smartphone-CMaSy_ir.js +0 -1
  368. package/.output/public/assets/styles-uK-0vUMk.css +0 -2
  369. package/.output/public/assets/switch-BpdiHL_t.js +0 -1
  370. package/.output/public/assets/table-Bpy3SvSo.js +0 -1
  371. package/.output/public/assets/tabs-Xmt7tZeG.js +0 -1
  372. package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
  373. package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
  374. package/.output/server/_ssr/-native-builds-search-CwNcoXf4.mjs +0 -37
  375. package/.output/server/_ssr/RolloutPercentageBadge-CoBhJtv9.mjs +0 -21
  376. package/.output/server/_ssr/StoreSubmission-CPg_Rn5E.mjs +0 -139
  377. package/.output/server/_ssr/listReleases-D_GY00SQ.mjs +0 -79
  378. package/.output/server/_ssr/native-builds-BDcOlKnd.mjs +0 -510
  379. package/.output/server/_ssr/native-builds-DhXL5zf_.mjs +0 -137
  380. package/.output/server/_ssr/native-builds_._buildId-BjsdQO93.mjs +0 -813
  381. package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
  382. package/.output/server/_ssr/nativeBuilds-B_7BPjt_.mjs +0 -133
  383. package/.output/server/_ssr/qr-code-C7kNRIDX.mjs +0 -22
  384. package/.output/server/_ssr/tabs-BgTTFotk.mjs +0 -45
  385. package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
  386. package/src/lib/server/nativeBuildQr.ts +0 -73
  387. package/src/routes/[_]hot-updater/native-builds/qr.ts +0 -14
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-10-28T12:42:00.463Z",
2
+ "date": "2026-11-13T03:43:21.998Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";import{n as t,p as n}from"./constants-zSb7FXDh.js";var r=e(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),i=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),a=e=>typeof e==`string`&&e.length>0?e:void 0,o=e=>{let t=a(e);if(t!==void 0)try{return n(t),t}catch{return}},s=e=>Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0)),c=e=>{let t=a(e.before),n=o(e.channel);return s({channel:n,channels:n===void 0&&e.channels===`all`?`all`:void 0,before:t,after:t===void 0?a(e.after):void 0})},l=({channels:e,...n},r)=>{if(n.channel!==void 0||e===`all`)return n;if(r!==void 0)return r.includes(`production`)?{channel:t,...n}:n},u=e=>{let t=a(e.patchesBefore);return s({patchesBefore:t,patchesAfter:t===void 0?a(e.patchesAfter):void 0})},d=[`pending`,`approved`,`registered`],f=e=>typeof e.status==`string`&&d.includes(e.status)?{status:e.status}:{};export{i as a,c as i,f as n,r as o,u as r,l as t};
@@ -0,0 +1 @@
1
+ import{Di as e,vr as t}from"./sidebar-BmzmPGuv.js";var n=e();function r({bundleId:e,className:r}){return(0,n.jsx)(`span`,{translate:`no`,className:t(`break-all font-mono text-xs tabular-nums`,r),children:e})}export{r as t};
@@ -0,0 +1 @@
1
+ import{Di as e,vr as t}from"./sidebar-BmzmPGuv.js";import{t as n}from"./badge-zMibJGR5.js";var r=e(),i=new Set([`production`,`staging`,`dev`]);function a({channel:e,className:a}){let o=e.toLowerCase();return(0,r.jsx)(n,{variant:`outline`,translate:`no`,"data-channel":i.has(o)?o:void 0,className:t(`border-channel-other/20 bg-channel-other/10 text-channel-other`,`data-[channel=production]:border-channel-production/20 data-[channel=production]:bg-channel-production/10 data-[channel=production]:text-channel-production`,`data-[channel=staging]:border-channel-staging/20 data-[channel=staging]:bg-channel-staging/10 data-[channel=staging]:text-channel-staging`,`data-[channel=dev]:border-channel-dev/20 data-[channel=dev]:bg-channel-dev/10 data-[channel=dev]:text-channel-dev`,a),children:e})}export{a as t};
@@ -0,0 +1 @@
1
+ import{Cr as e,Sr as t,Vr as n,xr as r}from"./sidebar-BmzmPGuv.js";import{s as i}from"./tabs-DARDj-XC.js";var a=n(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]);function o(n){let{render:a,className:o,style:s,state:c=e,props:l=t,refs:u=t,metadata:d,stateAttributesMapping:f,tag:p=`div`,...m}=n,{compositeProps:h,compositeRef:g}=i({metadata:d});return r(p,n,{state:c,ref:[...u,g],props:[h,...l,m],stateAttributesMapping:f})}export{a as n,o as t};
@@ -1 +1 @@
1
- import{In as e,Wr as t,p as n}from"./sidebar-Di9SN47G.js";import{a as r,c as i,n as a,o}from"./console-features-api-DEXSwFtc.js";import{t as s}from"./arrow-up-right-DK8Zdg40.js";import{t as c}from"./NotFoundPage-DZ3DxyRA.js";import{i as l,n as u,o as d,r as f,t as p}from"./empty-B3Uwdd6k.js";var m=t(),h=`https://hot-updater.dev/docs/guides/console-deployment`;function g({data:t}){let g=a(t),_=r().data?.remote===!0;if(g===void 0)return(0,m.jsx)(c,{});let{label:v,plugin:y}=o[g],b=(0,m.jsx)(`code`,{className:`font-mono`,children:`${y}()`});return(0,m.jsxs)(`div`,{className:`flex h-svh min-h-0 flex-col`,children:[(0,m.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 items-center gap-3 border-b bg-background px-3 py-3 sm:min-h-12 sm:bg-card/70 sm:px-4 sm:backdrop-blur-sm`,children:[(0,m.jsx)(n,{className:`-ml-1`}),(0,m.jsx)(`h1`,{className:`text-sm font-medium`,children:v})]}),(0,m.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6`,children:(0,m.jsxs)(p,{children:[(0,m.jsx)(l,{children:i(g,{remote:_})===`remote`?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(d,{children:`Needs the server's database`}),(0,m.jsx)(f,{children:`This console reaches a self-hosted server through its admin API, which does not serve this page. Configure the console with the database the server uses.`})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(d,{children:[v,` not installed`]}),(0,m.jsxs)(f,{children:[`Add `,b,` to `,(0,m.jsx)(`code`,{className:`font-mono`,children:`plugins`}),` `,`where you create the server and in the console config.`]})]})}),(0,m.jsx)(u,{children:(0,m.jsxs)(`a`,{className:e({variant:`outline`}),href:h,rel:`noreferrer`,target:`_blank`,children:[`Console setup guide`,(0,m.jsx)(s,{"aria-hidden":`true`,"data-icon":`inline-end`})]})})]})})]})}export{g as t};
1
+ import{Di as e,_r as t,p as n}from"./sidebar-BmzmPGuv.js";import{a as r,c as i,n as a,o}from"./console-features-api-CtbGqKyr.js";import{t as s}from"./arrow-up-right-C_1ALUCD.js";import{t as c}from"./NotFoundPage-haKPLHiT.js";import{i as l,n as u,o as d,r as f,t as p}from"./empty-Bwao2ztZ.js";var m=e(),h=`https://hot-updater.dev/docs/guides/console-deployment`;function g({data:e}){let g=a(e),_=r().data?.remote===!0;if(g===void 0)return(0,m.jsx)(c,{});let{label:v,plugin:y}=o[g],b=(0,m.jsx)(`code`,{className:`font-mono`,children:`${y}()`});return(0,m.jsxs)(`div`,{className:`flex h-svh min-h-0 flex-col`,children:[(0,m.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 items-center gap-3 border-b bg-background px-3 py-3 sm:min-h-12 sm:bg-card/70 sm:px-4 sm:backdrop-blur-sm`,children:[(0,m.jsx)(n,{className:`-ml-1`}),(0,m.jsx)(`h1`,{className:`text-sm font-medium`,children:v})]}),(0,m.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6`,children:(0,m.jsxs)(p,{children:[(0,m.jsx)(l,{children:i(g,{remote:_})===`remote`?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(d,{children:`Needs the server's database`}),(0,m.jsx)(f,{children:`This console reaches a self-hosted server through its admin API, which does not serve this page. Configure the console with the database the server uses.`})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(d,{children:[v,` not installed`]}),(0,m.jsxs)(f,{children:[`Add `,b,` to `,(0,m.jsx)(`code`,{className:`font-mono`,children:`plugins`}),` `,`where you create the server and in the console config.`]})]})}),(0,m.jsx)(u,{children:(0,m.jsxs)(`a`,{className:t({variant:`outline`}),href:h,rel:`noreferrer`,target:`_blank`,children:[`Console setup guide`,(0,m.jsx)(s,{"aria-hidden":`true`,"data-icon":`inline-end`})]})})]})})]})}export{g as t};
@@ -1 +1 @@
1
- import{Fn as e,Wr as t,_ as n,b as r,g as i,ii as a,ir as o,ti as s,v as c,x as l,y as u}from"./sidebar-Di9SN47G.js";import{f as d}from"./insights-api-BVCXJsoV.js";import{t as f}from"./check-CXVR3s3X.js";import{a as p}from"./useCompositeListItem-JmyDfo3-.js";import{t as m}from"./copy-DsuLj3oj.js";import{t as h}from"./download-Cf24LBde.js";import{s as g}from"./input-group-D3OUBk4n.js";import{t as _}from"./smartphone-CMaSy_ir.js";import{t as v}from"./badge-DWFcDWho.js";import{n as y}from"./dist-CPlO6ko9.js";import{i as b,o as x,r as S,t as C}from"./empty-B3Uwdd6k.js";import{t as w}from"./HashValueDisplay-6lNRxDJX.js";import{n as T,r as E}from"./InsightsPageHeader-DHhqY3DT.js";var D=o(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),O=o(`arrow-right-left`,[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),k=o(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),A=o(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),j=a(s(),1),M=t(),N={UPDATE_DOWNLOADED:{label:`Downloaded`,description:`Downloaded. It launches when the app restarts.`,variant:`default`,icon:h},UPDATE_APPLIED:{label:`Launched`,description:`The app restarted into the downloaded bundle.`,variant:`success`,icon:f},RECOVERED:{label:`Crashed`,description:`Crashed on the bundle and rolled back.`,variant:`warning`,icon:g},UPDATE_FAILED:{label:`Update failed`,description:`An update check, download, or install failed.`,variant:`destructive`,icon:k},UNCHANGED:{label:`Launch`,description:`The app launched; the report changed nothing.`,variant:`secondary`,icon:D}},P=e=>{let{kinds:t=[],previous:n}=e.change??{};return t.includes(`first_seen`)?{label:`First seen`,description:`The installation's first report to this server.`,variant:`secondary`,icon:A}:t.includes(`app_version`)||t.includes(`native_build`)?{label:`App updated`,description:n&&n.appVersion!==e.appVersion?`From app ${n.appVersion} to ${e.appVersion}.`:`A new build of the same app version.`,variant:`secondary`,icon:_}:t.includes(`bundle`)?{label:`Launched`,description:`Seen running this bundle; the report of the restart into it never arrived.`,variant:`success`,icon:f}:t.includes(`release`)?{label:`Release adopted`,description:`The bundle it runs now ships under another release.`,variant:`secondary`,icon:O}:t.includes(`channel`)?{label:`Channel changed`,description:n?`From ${n.channel} to ${e.channel}.`:`It reports on another channel.`,variant:`secondary`,icon:O}:N.UNCHANGED},F=e=>e.type===`UNCHANGED`&&e.change?P({change:e.change,appVersion:e.appVersion??``,channel:e.channel??``}):N[e.type];function I(){let[e,t]=(0,j.useState)(`UTC`);return(0,j.useEffect)(()=>{t(Intl.DateTimeFormat().resolvedOptions().timeZone)},[]),new Intl.DateTimeFormat(`en`,{timeZone:e,timeZoneName:`shortOffset`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`})}function L(e,t){let n=Object.fromEntries(t.formatToParts(new Date(e)).map(({type:e,value:t})=>[e,t])),r=n.timeZoneName===`GMT`?`GMT+0`:n.timeZoneName;return`${n.year}/${n.month}/${n.day} ${n.hour}:${n.minute}:${n.second} ${r}`}function R({value:e,formatter:t,touch:n=!1}){let r=new Date(e),i=L(e,t);return(0,M.jsxs)(`details`,{className:`group/time`,children:[(0,M.jsx)(`summary`,{className:`cursor-pointer list-none rounded-md outline-none focus-visible:ring-2 focus-visible:ring-ring/30 [&::-webkit-details-marker]:hidden ${n?`flex min-h-11 items-center`:``}`,children:(0,M.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,M.jsx)(`time`,{dateTime:r.toISOString(),className:`whitespace-nowrap`,children:i}),(0,M.jsx)(p,{"aria-hidden":`true`,className:`size-3 text-muted-foreground group-open/time:rotate-180`})]})}),(0,M.jsx)(`p`,{className:`mt-2 text-muted-foreground`,children:r.toISOString().replace(`T`,` `).replace(`Z`,` UTC`)})]})}var z={patch:`A patch delivered it.`,manifest:`Only the changed files were downloaded.`,archive:`The full archive was downloaded.`},B=e=>{if(e.late)return`Counted nothing: the installation had already downloaded or run this bundle.`;if(e.impliedDownload)return`Its download report never arrived; the download counted with it.`;if(e.type===`UPDATE_FAILED`&&e.failure)return d(e.failure);if(e.type===`UPDATE_DOWNLOADED`&&e.delivery){let t=z[e.delivery]??null;return e.patchFallback?`The patch failed. ${t??``}`.trim():t}return null};function V({response:t}){let n=async()=>{try{await navigator.clipboard.writeText(t.body),y.success(`Response body copied`)}catch{y.error(`Could not copy the response body`)}};return(0,M.jsxs)(`section`,{"aria-label":`Response body`,className:`flex min-w-0 flex-col gap-3`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,M.jsx)(`h3`,{className:`text-sm font-medium`,children:`Response body`}),(0,M.jsxs)(e,{variant:`outline`,className:`min-h-11`,disabled:t.body===null||t.body===``,onClick:()=>void n(),children:[(0,M.jsx)(m,{"aria-hidden":`true`,"data-icon":`inline-start`}),` Copy body`]})]}),t.bodyTruncated?(0,M.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Truncated to the 4 KiB reporting limit. Copy includes only the stored text.`}):null,t.body?(0,M.jsx)(`pre`,{className:`rounded-md border bg-muted/30 p-4 font-mono text-xs leading-relaxed whitespace-pre-wrap wrap-anywhere`,children:t.body}):(0,M.jsx)(C,{children:(0,M.jsxs)(b,{children:[(0,M.jsx)(x,{children:t.body===null?`Response body unavailable`:`Empty response body`}),(0,M.jsx)(S,{children:t.body===null?`The client received the HTTP status but could not read the body.`:t.status===304?`The server returned no body. The client can reuse its cached catalog.`:`The server returned no text in this response.`})]})})]})}function H({event:t}){let a=t.httpResponse,o=I(),s=a.status===304?`Not modified`:a.status>=500?`Server error`:a.status>=400?`Request error`:a.status>=300?`Redirect`:`Success`,d=a.resource===`catalog`?`Catalog`:`Artifact`,f=[[`App`,t.platform&&`${t.platform===`ios`?`iOS`:`Android`} ${t.appVersion}`],[`Channel`,t.channel],[`SDK`,t.sdkVersion],[`Installation`,t.installId]].filter(([,e])=>e!=null);return(0,M.jsxs)(i,{children:[(0,M.jsxs)(l,{"aria-label":`View ${d.toLowerCase()} response: HTTP ${a.status}`,render:(0,M.jsx)(e,{variant:`ghost`,className:`-ml-2 h-auto min-h-11 justify-start`}),children:[(0,M.jsxs)(v,{variant:a.status>=400?`destructive`:`secondary`,children:[`HTTP `,a.status]}),(0,M.jsxs)(`span`,{children:[d,` response`]})]}),(0,M.jsxs)(n,{className:`data-[side=right]:w-full data-[side=right]:sm:max-w-2xl`,children:[(0,M.jsxs)(u,{className:`border-b pr-14`,children:[(0,M.jsx)(r,{children:`HTTP response`}),(0,M.jsxs)(c,{children:[d,` · HTTP `,a.status,` · `,s,`. Most recent response available when this report was created.`]})]}),(0,M.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-6 overflow-y-auto p-6`,children:[(0,M.jsxs)(`section`,{"aria-label":`Request`,className:`flex min-w-0 flex-col gap-2`,children:[(0,M.jsx)(`h3`,{className:`text-sm font-medium`,children:`Request`}),(0,M.jsxs)(`p`,{className:`font-mono text-xs leading-relaxed whitespace-pre-wrap wrap-anywhere`,children:[`GET `,a.path]}),a.receivedAtMs==null?null:(0,M.jsxs)(`div`,{className:`text-xs text-muted-foreground`,children:[`Response received`,` `,(0,M.jsx)(R,{value:a.receivedAtMs,formatter:o})]})]}),(0,M.jsx)(V,{response:a}),f.length?(0,M.jsxs)(`section`,{"aria-label":`Response context`,className:`flex flex-col gap-3`,children:[(0,M.jsx)(`h3`,{className:`text-sm font-medium`,children:`Response context`}),(0,M.jsx)(`dl`,{className:`grid grid-cols-2 gap-x-6 gap-y-4`,children:f.map(([e,t])=>(0,M.jsxs)(`div`,{className:`min-w-0`,children:[(0,M.jsx)(`dt`,{className:`text-xs text-muted-foreground`,children:e}),(0,M.jsx)(`dd`,{className:`mt-1 text-sm wrap-anywhere`,children:t})]},e))})]}):null]})]})]})}function U({event:e}){let t=F(e),n=t.icon,r=B(e);return(0,M.jsxs)(`div`,{className:`flex min-w-0 flex-col items-start gap-2`,children:[(0,M.jsxs)(v,{variant:t.variant,className:`gap-1 whitespace-nowrap [&_svg]:size-3`,children:[(0,M.jsx)(n,{"aria-hidden":`true`}),t.label]}),(0,M.jsx)(`p`,{className:`max-w-56 whitespace-pre-wrap wrap-anywhere text-xs text-muted-foreground`,children:e.type===`UPDATE_FAILED`&&r?r:t.description}),e.httpResponse?(0,M.jsx)(H,{event:e}):null,e.type===`UPDATE_FAILED`&&e.failure?.errorStack?(0,M.jsxs)(`details`,{className:`w-full max-w-56 text-xs`,children:[(0,M.jsx)(`summary`,{className:`cursor-pointer text-muted-foreground`,children:`Stack trace`}),(0,M.jsx)(`pre`,{className:`mt-2 max-h-64 overflow-auto whitespace-pre-wrap wrap-anywhere font-mono`,children:e.failure.errorStack})]}):null,e.type!==`UPDATE_FAILED`&&r?(0,M.jsx)(`p`,{className:`max-w-56 whitespace-normal text-xs text-muted-foreground`,children:r}):null]})}function W({event:e,touch:t=!1}){let n=e.type===`UPDATE_DOWNLOADED`,r=e.type===`UPDATE_FAILED`,i=!r||e.failure?.stage!==`check`,a=e.type===`UNCHANGED`&&e.change?.kinds.includes(`bundle`)===!0&&e.change.previous!==void 0,o=a?e.change.previous.bundleId:e.fromBundleId,s=n||r||a||e.type===`UPDATE_APPLIED`||e.type===`RECOVERED`;return(0,M.jsxs)(`dl`,{className:`grid grid-cols-[auto_minmax(0,1fr)] items-center gap-x-2 gap-y-2`,children:[o&&s?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`dt`,{className:`text-muted-foreground`,children:n||r?`Running`:`From`}),(0,M.jsxs)(`dd`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,M.jsx)(w,{value:o,buttonClassName:t?`min-h-11 px-3`:void 0}),E(o,a?e.change.previous.minBundleId:e.minBundleId)?(0,M.jsx)(T,{}):null]})]}):null,i?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`dt`,{className:`text-muted-foreground`,children:n?`Pending`:r?`Target`:s?`To`:`Current`}),(0,M.jsxs)(`dd`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,M.jsx)(w,{value:e.toBundleId,buttonClassName:t?`min-h-11 px-3`:void 0}),E(e.toBundleId,e.minBundleId)?(0,M.jsx)(T,{}):null]})]}):null]})}export{H as a,V as i,R as n,I as o,U as r,W as t};
1
+ import{Di as e,Ri as t,Vi as n,Vr as r,_ as i,b as a,g as o,gr as s,v as c,x as l,y as u}from"./sidebar-BmzmPGuv.js";import{f as d}from"./insights-api-D4-FZeEI.js";import{t as f}from"./check-C3VCvMOV.js";import{a as p}from"./useCompositeListItem-Cbk_weKW.js";import{t as m}from"./copy-BjVLMKbo.js";import{t as h}from"./download-CgpaZb23.js";import{n as g}from"./dist-BEmib-ZM.js";import{s as _}from"./input-group-CPboh0Rx.js";import{t as v}from"./smartphone-Dy13ukaU.js";import{t as y}from"./badge-zMibJGR5.js";import{i as b,o as x,r as S,t as C}from"./empty-Bwao2ztZ.js";import{t as w}from"./HashValueDisplay-BHL4xWSY.js";import{n as T,r as E}from"./InsightsPageHeader-D0Nxcccp.js";var D=r(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),O=r(`arrow-right-left`,[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),k=r(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),A=r(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),j=n(t(),1),M=e(),N={UPDATE_DOWNLOADED:{label:`Downloaded`,description:`Downloaded. It launches when the app restarts.`,variant:`default`,icon:h},UPDATE_APPLIED:{label:`Launched`,description:`The app restarted into the downloaded bundle.`,variant:`success`,icon:f},RECOVERED:{label:`Crashed`,description:`Crashed on the bundle and rolled back.`,variant:`warning`,icon:_},UPDATE_FAILED:{label:`Update failed`,description:`An update check, download, or install failed.`,variant:`destructive`,icon:k},UNCHANGED:{label:`Launch`,description:`The app launched; the report changed nothing.`,variant:`secondary`,icon:D}},P=e=>{let{kinds:t=[],previous:n}=e.change??{};return t.includes(`first_seen`)?{label:`First seen`,description:`The installation's first report to this server.`,variant:`secondary`,icon:A}:t.includes(`app_version`)||t.includes(`native_build`)?{label:`App updated`,description:n&&n.appVersion!==e.appVersion?`From app ${n.appVersion} to ${e.appVersion}.`:`A new build of the same app version.`,variant:`secondary`,icon:v}:t.includes(`bundle`)?{label:`Launched`,description:`Seen running this bundle; the report of the restart into it never arrived.`,variant:`success`,icon:f}:t.includes(`release`)?{label:`Release adopted`,description:`The bundle it runs now ships under another release.`,variant:`secondary`,icon:O}:t.includes(`channel`)?{label:`Channel changed`,description:n?`From ${n.channel} to ${e.channel}.`:`It reports on another channel.`,variant:`secondary`,icon:O}:N.UNCHANGED},F=e=>e.type===`UNCHANGED`&&e.change?P({change:e.change,appVersion:e.appVersion??``,channel:e.channel??``}):N[e.type];function I(){let[e,t]=(0,j.useState)(`UTC`);return(0,j.useEffect)(()=>{t(Intl.DateTimeFormat().resolvedOptions().timeZone)},[]),new Intl.DateTimeFormat(`en`,{timeZone:e,timeZoneName:`shortOffset`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`})}function L(e,t){let n=Object.fromEntries(t.formatToParts(new Date(e)).map(({type:e,value:t})=>[e,t])),r=n.timeZoneName===`GMT`?`GMT+0`:n.timeZoneName;return`${n.year}/${n.month}/${n.day} ${n.hour}:${n.minute}:${n.second} ${r}`}function R({value:e,formatter:t,touch:n=!1}){let r=new Date(e),i=L(e,t);return(0,M.jsxs)(`details`,{className:`group/time`,children:[(0,M.jsx)(`summary`,{className:`cursor-pointer list-none rounded-md outline-none focus-visible:ring-2 focus-visible:ring-ring/30 [&::-webkit-details-marker]:hidden ${n?`flex min-h-11 items-center`:``}`,children:(0,M.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,M.jsx)(`time`,{dateTime:r.toISOString(),className:`whitespace-nowrap`,children:i}),(0,M.jsx)(p,{"aria-hidden":`true`,className:`size-3 text-muted-foreground group-open/time:rotate-180`})]})}),(0,M.jsx)(`p`,{className:`mt-2 text-muted-foreground`,children:r.toISOString().replace(`T`,` `).replace(`Z`,` UTC`)})]})}var z={patch:`A patch delivered it.`,manifest:`Only the changed files were downloaded.`,archive:`The full archive was downloaded.`},B=e=>{if(e.late)return`Counted nothing: the installation had already downloaded or run this bundle.`;if(e.impliedDownload)return`Its download report never arrived; the download counted with it.`;if(e.type===`UPDATE_FAILED`&&e.failure)return d(e.failure);if(e.type===`UPDATE_DOWNLOADED`&&e.delivery){let t=z[e.delivery]??null;return e.patchFallback?`The patch failed. ${t??``}`.trim():t}return null};function V({response:e}){let t=async()=>{try{await navigator.clipboard.writeText(e.body),g.success(`Response body copied`)}catch{g.error(`Could not copy the response body`)}};return(0,M.jsxs)(`section`,{"aria-label":`Response body`,className:`flex min-w-0 flex-col gap-3`,children:[(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,M.jsx)(`h3`,{className:`text-sm font-medium`,children:`Response body`}),(0,M.jsxs)(s,{variant:`outline`,className:`min-h-11`,disabled:e.body===null||e.body===``,onClick:()=>void t(),children:[(0,M.jsx)(m,{"aria-hidden":`true`,"data-icon":`inline-start`}),` Copy body`]})]}),e.bodyTruncated?(0,M.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Truncated to the 4 KiB reporting limit. Copy includes only the stored text.`}):null,e.body?(0,M.jsx)(`pre`,{className:`rounded-md border bg-muted/30 p-4 font-mono text-xs leading-relaxed whitespace-pre-wrap wrap-anywhere`,children:e.body}):(0,M.jsx)(C,{children:(0,M.jsxs)(b,{children:[(0,M.jsx)(x,{children:e.body===null?`Response body unavailable`:`Empty response body`}),(0,M.jsx)(S,{children:e.body===null?`The client received the HTTP status but could not read the body.`:e.status===304?`The server returned no body. The client can reuse its cached catalog.`:`The server returned no text in this response.`})]})})]})}function H({event:e}){let t=e.httpResponse,n=I(),r=t.status===304?`Not modified`:t.status>=500?`Server error`:t.status>=400?`Request error`:t.status>=300?`Redirect`:`Success`,d=t.resource===`catalog`?`Catalog`:`Artifact`,f=[[`App`,e.platform&&`${e.platform===`ios`?`iOS`:`Android`} ${e.appVersion}`],[`Channel`,e.channel],[`SDK`,e.sdkVersion],[`Installation`,e.installId]].filter(([,e])=>e!=null);return(0,M.jsxs)(o,{children:[(0,M.jsxs)(l,{"aria-label":`View ${d.toLowerCase()} response: HTTP ${t.status}`,render:(0,M.jsx)(s,{variant:`ghost`,className:`-ml-2 h-auto min-h-11 justify-start`}),children:[(0,M.jsxs)(y,{variant:t.status>=400?`destructive`:`secondary`,children:[`HTTP `,t.status]}),(0,M.jsxs)(`span`,{children:[d,` response`]})]}),(0,M.jsxs)(i,{className:`data-[side=right]:w-full data-[side=right]:sm:max-w-2xl`,children:[(0,M.jsxs)(u,{className:`border-b pr-14`,children:[(0,M.jsx)(a,{children:`HTTP response`}),(0,M.jsxs)(c,{children:[d,` · HTTP `,t.status,` · `,r,`. Most recent response available when this report was created.`]})]}),(0,M.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-6 overflow-y-auto p-6`,children:[(0,M.jsxs)(`section`,{"aria-label":`Request`,className:`flex min-w-0 flex-col gap-2`,children:[(0,M.jsx)(`h3`,{className:`text-sm font-medium`,children:`Request`}),(0,M.jsxs)(`p`,{className:`font-mono text-xs leading-relaxed whitespace-pre-wrap wrap-anywhere`,children:[`GET `,t.path]}),t.receivedAtMs==null?null:(0,M.jsxs)(`div`,{className:`text-xs text-muted-foreground`,children:[`Response received`,` `,(0,M.jsx)(R,{value:t.receivedAtMs,formatter:n})]})]}),(0,M.jsx)(V,{response:t}),f.length?(0,M.jsxs)(`section`,{"aria-label":`Response context`,className:`flex flex-col gap-3`,children:[(0,M.jsx)(`h3`,{className:`text-sm font-medium`,children:`Response context`}),(0,M.jsx)(`dl`,{className:`grid grid-cols-2 gap-x-6 gap-y-4`,children:f.map(([e,t])=>(0,M.jsxs)(`div`,{className:`min-w-0`,children:[(0,M.jsx)(`dt`,{className:`text-xs text-muted-foreground`,children:e}),(0,M.jsx)(`dd`,{className:`mt-1 text-sm wrap-anywhere`,children:t})]},e))})]}):null]})]})]})}function U({event:e}){let t=F(e),n=t.icon,r=B(e);return(0,M.jsxs)(`div`,{className:`flex min-w-0 flex-col items-start gap-2`,children:[(0,M.jsxs)(y,{variant:t.variant,className:`gap-1 whitespace-nowrap [&_svg]:size-3`,children:[(0,M.jsx)(n,{"aria-hidden":`true`}),t.label]}),(0,M.jsx)(`p`,{className:`max-w-56 whitespace-pre-wrap wrap-anywhere text-xs text-muted-foreground`,children:e.type===`UPDATE_FAILED`&&r?r:t.description}),e.httpResponse?(0,M.jsx)(H,{event:e}):null,e.type===`UPDATE_FAILED`&&e.failure?.errorStack?(0,M.jsxs)(`details`,{className:`w-full max-w-56 text-xs`,children:[(0,M.jsx)(`summary`,{className:`cursor-pointer text-muted-foreground`,children:`Stack trace`}),(0,M.jsx)(`pre`,{className:`mt-2 max-h-64 overflow-auto whitespace-pre-wrap wrap-anywhere font-mono`,children:e.failure.errorStack})]}):null,e.type!==`UPDATE_FAILED`&&r?(0,M.jsx)(`p`,{className:`max-w-56 whitespace-normal text-xs text-muted-foreground`,children:r}):null]})}function W({event:e,touch:t=!1}){let n=e.type===`UPDATE_DOWNLOADED`,r=e.type===`UPDATE_FAILED`,i=!r||e.failure?.stage!==`check`,a=e.type===`UNCHANGED`&&e.change?.kinds.includes(`bundle`)===!0&&e.change.previous!==void 0,o=a?e.change.previous.bundleId:e.fromBundleId,s=n||r||a||e.type===`UPDATE_APPLIED`||e.type===`RECOVERED`;return(0,M.jsxs)(`dl`,{className:`grid grid-cols-[auto_minmax(0,1fr)] items-center gap-x-2 gap-y-2`,children:[o&&s?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`dt`,{className:`text-muted-foreground`,children:n||r?`Running`:`From`}),(0,M.jsxs)(`dd`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,M.jsx)(w,{value:o,buttonClassName:t?`min-h-11 px-3`:void 0}),E(o,a?e.change.previous.minBundleId:e.minBundleId)?(0,M.jsx)(T,{}):null]})]}):null,i?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`dt`,{className:`text-muted-foreground`,children:n?`Pending`:r?`Target`:s?`To`:`Current`}),(0,M.jsxs)(`dd`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,M.jsx)(w,{value:e.toBundleId,buttonClassName:t?`min-h-11 px-3`:void 0}),E(e.toBundleId,e.minBundleId)?(0,M.jsx)(T,{}):null]})]}):null]})}export{H as a,V as i,R as n,I as o,U as r,W as t};
@@ -0,0 +1 @@
1
+ import{Di as e,at as t,nt as n,rt as r,vr as i}from"./sidebar-BmzmPGuv.js";import{n as a}from"./dist-BEmib-ZM.js";var o=e(),s=(e,t=12)=>e.length>t?`${e.slice(0,Math.max(1,t-4))}…${e.slice(-4)}`:e;function c({value:e,display:c=e,maxLength:l=12,className:u,buttonClassName:d}){let f=c!==e||c.length>l,p=s(c,l),m=async()=>{try{await navigator.clipboard.writeText(e),a.success(`Copied to clipboard`,{description:e})}catch{a.error(`Failed to copy value`)}},h=e=>{e.preventDefault(),e.stopPropagation(),m()},g=e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),m())},_=(0,o.jsx)(`span`,{translate:`no`,className:i(`font-mono text-xs tabular-nums whitespace-nowrap`,u),children:p});return(0,o.jsxs)(n,{children:[(0,o.jsx)(t,{render:(0,o.jsx)(`button`,{type:`button`,"aria-label":`Copy full value: ${e}`,translate:`no`,className:i(`ring-ring/30 bg-muted/40 border-border/70 relative inline-flex min-w-0 after:absolute after:inset-x-0 after:-inset-y-3 sm:after:hidden max-w-full cursor-pointer items-center rounded-md border px-1.5 py-0.5 align-top shadow-xs outline-none transition-[background-color,border-color,transform,box-shadow]`,`hover:bg-muted/70 active:scale-[0.98] active:bg-muted/85 focus-visible:ring-[2px]`,`touch-manipulation select-none motion-reduce:transition-none motion-reduce:active:scale-100`,!f&&`cursor-copy`,d),onClick:h,onKeyDown:g}),children:_}),(0,o.jsx)(r,{hidden:!f,children:(0,o.jsx)(`p`,{translate:`no`,className:`break-all font-mono text-xs tabular-nums`,children:e})})]})}export{s as n,c as t};
@@ -0,0 +1 @@
1
+ import{Di as e,_r as t,p as n}from"./sidebar-BmzmPGuv.js";import{t as r}from"./link-CRMwpc7-.js";import{i,s as a}from"./console-features-api-CtbGqKyr.js";import{b as o,x as s}from"./insights-api-D4-FZeEI.js";import{t as c}from"./list-DQ9YBIDW.js";import{a as l,i as u,n as d,o as f,t as p}from"./badge-zMibJGR5.js";import{i as m,r as h,t as g}from"./tabs-DARDj-XC.js";var _=e();function v({error:e,fallbackTitle:t}){return a(e)?(0,_.jsxs)(d,{children:[(0,_.jsx)(o,{"aria-hidden":`true`}),(0,_.jsx)(l,{children:`Insights not installed`}),(0,_.jsx)(u,{children:e.message})]}):(0,_.jsxs)(d,{variant:`destructive`,children:[(0,_.jsx)(f,{"aria-hidden":`true`}),(0,_.jsx)(l,{children:t}),(0,_.jsx)(u,{children:`Refresh to try again. If this keeps happening, check your Insights provider connection.`})]})}var y={"24h":{label:`DAU`,period:`24 hours`,interval:`hour`},"7d":{label:`WAU`,period:`7 days`,interval:`6 hours`},"30d":{label:`MAU`,period:`30 days`,interval:`day`},"12m":{label:`YAU`,period:`12 months`,interval:`week`}};function b({label:e,onPeriodChange:t,period:n,periods:r}){return(0,_.jsx)(g,{value:n,onValueChange:e=>{let n=r.find(t=>t.value===e);n&&t(n.value)},children:(0,_.jsx)(h,{"aria-label":e,className:`min-h-11 sm:min-h-9`,children:r.map(({value:e,name:t})=>(0,_.jsx)(m,{value:e,"aria-label":t,className:`min-w-12 px-3`,children:e},e))})})}var x=[`24h`,`7d`,`30d`].map(e=>({value:e,name:y[e].period})),S=Object.keys(y).map(e=>({value:e,name:y[e].period}));function C({window:e,onWindowChange:t}){return(0,_.jsx)(b,{label:`Reporting period`,onPeriodChange:t,period:e,periods:x})}function w({window:e,onWindowChange:t,twelveMonths:n=!0}){return(0,_.jsx)(b,{label:`Reporting period`,onPeriodChange:t,period:e,periods:S.filter(({value:e})=>n||e!==`12m`)})}var T=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-7000-8000-(?:000000000000|0[12][0-9a-f]{10})|00000000-0000-0000-0000-000000000000)$/iu,E=(e,t)=>e!=null&&(e===t||T.test(e));function D(){return(0,_.jsx)(p,{className:`shrink-0 font-sans font-normal`,title:`The bundle the native build shipped`,variant:`secondary`,children:`Built-in bundle`})}function O({view:e,overviewSearch:a}){let o=i(`insightsAnalytics`);return(0,_.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 flex-wrap items-center gap-3 border-b bg-background px-3 py-3 sm:bg-card/70 sm:px-4 sm:backdrop-blur-sm`,children:[(0,_.jsx)(n,{className:`-ml-1 size-11 lg:size-7`}),(0,_.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,_.jsx)(s,{"aria-hidden":`true`,className:`size-3.5 text-muted-foreground`}),(0,_.jsx)(`h1`,{className:`text-sm font-medium`,children:`Insights`})]}),(0,_.jsxs)(`nav`,{"aria-label":`Insights views`,className:`ml-auto flex gap-2`,children:[o?(0,_.jsx)(r,{"aria-current":e===`overview`?`page`:void 0,className:t({className:`h-11 px-3 lg:h-8 lg:px-2.5`,size:`lg`,variant:e===`overview`?`secondary`:`ghost`}),search:a,to:`/insights`,children:`Overview`}):null,(0,_.jsxs)(r,{"aria-current":e===`events`?`page`:void 0,className:t({className:`h-11 px-3 lg:h-8 lg:px-2.5`,size:`lg`,variant:e===`events`?`secondary`:`ghost`}),to:`/installations`,children:[(0,_.jsx)(c,{"aria-hidden":`true`,"data-icon":`inline-start`}),`All events`]})]})]})}export{b as a,v as c,C as i,D as n,w as o,E as r,y as s,O as t};
@@ -0,0 +1 @@
1
+ import{$ as e,Di as t,Hr as n,Oi as r,Q as i,Ri as a,Si as o,Vi as s,_r as c,di as l,gr as u,wi as d,zr as f}from"./sidebar-BmzmPGuv.js";import{t as p}from"./link-CRMwpc7-.js";import{t as m}from"./useMutation-D7IuoOLE.js";import{a as ee}from"./-native-builds-search-qeto9-fq.js";import{t as te}from"./loader-circle-8lunBReu.js";import{E as h,a as g,b as _,f as v,i as y,l as b,o as x,p as S,r as C,u as ne,w as re}from"./native-builds-uKuvmyXZ.js";import{r as ie}from"./dist-BEmib-ZM.js";import{t as ae}from"./smartphone-Dy13ukaU.js";import{a as w,i as T,n as E,o as D}from"./badge-zMibJGR5.js";import{n as oe}from"./relativeTime-Dbefsycs.js";import{a as se,n as ce,r as le,t as ue}from"./field-BiSGCVoS.js";import{m as de}from"./api-tJRzijjy.js";var O=s(a(),1),k=s(oe(),1),fe=d({method:`GET`}).middleware([f]).handler(r(`3a62744a539db57f5a29f39cec7fb03fd2817703b40d98e6da69e2f5e7ae6f3d`)),pe=d({method:`POST`}).middleware([f]).handler(r(`7138a71df2ede8dd2c3db732d8d0ae10c56b85a8177dcdacf4e747b8087177c6`)),me=d({method:`POST`}).middleware([f]).handler(r(`4b173c2b2f5ea074a1f10862282308f11f5a043c044d64b6f63e6a29d571ec64`)),he=d({method:`POST`}).middleware([f]).handler(r(`7908c24ccc2674ce07a553a645b8f4790889975a80f424a05d71a9fb8ab49787`)),ge=d({method:`POST`}).middleware([f]).handler(r(`4c92dfeae76a6fc898d6f38941eeedaec1f3d118f51a6f31ebf0bb1cea3fcea4`)),_e=d({method:`POST`}).middleware([f]).handler(r(`8e37ec67413ceba554adb2d4b15e53682595a089d4b431ba7965d4347fb500fc`)),ve=d({method:`GET`}).middleware([f]).handler(r(`a11cb4014e6b23528f76382c43684798b0e84a6936aaba02c918e8f4e216e282`)),A={all:[`ios-devices`],list:e=>[`ios-devices`,e??`all`],device:e=>[`ios-devices`,`device`,e],kept:e=>[`ios-devices`,`kept`,e??``],ipa:e=>[`native-build-ipa-devices`,e]},j=600*1e3;function ye(e){return n({queryKey:A.list(e),queryFn:()=>fe({data:e===void 0?{}:{status:e}}),placeholderData:l})}function be(e){return n({queryKey:A.device(e??``),queryFn:()=>pe({data:{udid:e}}),enabled:e!==null})}function M(e,t=!0){return n({queryKey:[`ios-device-profile-link`,e],queryFn:()=>me({data:e}),enabled:t,staleTime:j,refetchInterval:j})}function N(e){return n({queryKey:A.ipa(e),queryFn:()=>ve({data:{id:e}})})}var P=e=>{let t=o();return m({mutationFn:e,onSettled:async()=>{await Promise.all([t.invalidateQueries({queryKey:A.all}),t.invalidateQueries({queryKey:[`native-build-install-eligibility`]})])}})},xe=()=>P(e=>he({data:e})),Se=()=>P(e=>ge({data:e})),Ce=()=>P(e=>_e({data:e})),F=(e,t)=>`${e}/_hot-updater/devices/${t}`,I=async(e,t={})=>{let{json:n,...r}=t,i=await fetch(e,{credentials:`same-origin`,...r,...n===void 0?{}:{headers:{"content-type":`application/json`},body:JSON.stringify(n)}}),a=await i.json().catch(()=>null);if(!i.ok||a===null)throw Error(a?.error??`Request failed (${i.status}).`);return a},L=`hot-updater-ios-device-kept`,R=`hot-updater-ios-device-kept`,z=new Map,B=(e,t)=>{let n=z.get(t);return n===void 0&&(n=I(F(e,`receipt`),{method:`POST`,json:{receipt:t}}).then(e=>{h(t),window.dispatchEvent(new Event(L));try{window.localStorage.setItem(R,String(Date.now()))}catch{}return e},e=>{throw z.delete(t),e}),z.set(t,n)),n};function V(e,t,r){let i=o();return(0,O.useEffect)(()=>{let e=()=>void i.invalidateQueries({queryKey:A.kept(null),exact:!0}),t=t=>{t.key===R&&e()};return window.addEventListener(L,e),window.addEventListener(`storage`,t),()=>{window.removeEventListener(L,e),window.removeEventListener(`storage`,t)}},[i]),n({queryKey:A.kept(t),queryFn:async()=>{let n=null;t!==null&&await B(e,t).catch(e=>{n=e});let r=await I(F(e,`receipt`));if(n!==null&&r.udid===null)throw n;return r},enabled:r,retry:!1,staleTime:1/0})}var we=async e=>{await I(F(e,`receipt`),{method:`DELETE`}).catch(()=>void 0)},H=e=>P(t=>I(F(e,`request`),{method:`POST`,json:t.receipt===null?{name:t.name}:{name:t.name,receipt:t.receipt}})),U=(e,t)=>e!=null&&t!==null&&e.toLowerCase()===t.toLowerCase(),W=t(),Te=`With the same bundle ID, this install replaces the App Store's copy of the app on this iPhone.`,G=`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,K=e=>/iPhone|iPod|iPad/u.test(e.userAgent)||/Macintosh/u.test(e.userAgent)&&e.maxTouchPoints>1,q=()=>{if(typeof window>`u`)return{udid:null,receipt:null,requested:!1};let e=new URLSearchParams(window.location.hash.slice(1)),t=e.get(`udid`),n=t!==null&&y.test(t)?t:null;return{udid:n,receipt:n===null?null:e.get(`r`),requested:n!==null&&e.get(`requested`)===`1`}},Ee=e=>{try{return window.localStorage.getItem(e)}catch{return null}},J=(e,t)=>{try{window.localStorage.setItem(e,t)}catch{}},Y=`hot-updater-ios-device-adopted`,X=(e,t)=>{let n=e?.ios===!0&&e.udid===null&&t!=null&&y.test(t)?t:null;(0,O.useEffect)(()=>{n!==null&&(J(g,n),window.dispatchEvent(new Event(Y)))},[n])},De=()=>{let[e,t]=(0,O.useState)(null),[n]=(0,O.useState)(q);return(0,O.useEffect)(()=>{let e=e=>e!=null&&y.test(e)?e:null,r=n,i=0,a=e=>{let t=e.receipt!==null||e.requested;e.udid!==null&&t&&(i+=1,J(g,e.udid),e.receipt!==null&&(v(e.udid,e.receipt),B(ne(window.location),e.receipt).catch(()=>void 0))),e.udid!==null&&window.location.hash!==``&&window.history.replaceState(window.history.state,``,`${window.location.pathname}${window.location.search}`)};a(n);try{window.localStorage.removeItem(C)}catch{}let o=()=>{let n=e(Ee(`hot-updater-ios-udid`))??r.udid,a=(r.udid===n?r.receipt:null)??re(n),o=r.requested,s=i;t(e=>e!==null&&e.udid===n&&e.receipt===a&&e.requested===o&&e.answers===s?e:{ios:K(navigator),udid:n,receipt:a,requested:o,answers:s})};o();let s=e=>{(e.key===null||e.key===`hot-updater-ios-udid`)&&o()},c=()=>{let e=q();e.udid!==null&&(r=e,a(e)),o()};return window.addEventListener(`storage`,s),window.addEventListener(Y,o),window.addEventListener(`hashchange`,c),window.addEventListener(`pageshow`,c),document.addEventListener(`visibilitychange`,c),()=>{window.removeEventListener(`storage`,s),window.removeEventListener(Y,o),window.removeEventListener(`hashchange`,c),window.removeEventListener(`pageshow`,c),document.removeEventListener(`visibilitychange`,c)}},[n]),e},Oe=300*1e3,ke=(e,t)=>{let[,n]=(0,O.useReducer)(e=>e+1,0),r=e+x-Oe;return(0,O.useEffect)(()=>{if(!t)return;let e=setTimeout(n,Math.max(0,r-Date.now()));return document.addEventListener(`visibilitychange`,n),window.addEventListener(`pageshow`,n),()=>{clearTimeout(e),document.removeEventListener(`visibilitychange`,n),window.removeEventListener(`pageshow`,n)}},[r,t]),t&&Date.now()>=r};function Z({fetching:e,onRenew:t}){return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,W.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`This install link has expired.`,e?` Getting a new one.`:``]}),e?null:(0,W.jsx)(u,{className:G,onClick:t,variant:`outline`,children:`Get a new link`})]})}function Ae({build:e,token:t}){return(0,W.jsx)(`a`,{className:c({className:G}),href:_(window.location,e.id,t),children:`Install`})}function je(){return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`On iOS 16 or later, the app opens only with Developer Mode on: Settings, Privacy & Security, Developer Mode.`}),(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:Te})]})}function Q({build:t,again:n=!1}){let r=M({mode:`identify`,buildId:t.id});return r.data?.status===`no-secret`?(0,W.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`Set `,r.data.secretName,` on the Console to check iPhones from this page.`]}):r.data?.status===`issued`?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(`a`,{className:c({className:G,variant:n?`secondary`:`default`}),href:S(b(window.location,t.id),r.data.token),children:[(0,W.jsx)(ae,{"data-icon":`inline-start`}),n?`Check this iPhone again`:`Check this iPhone`]}),(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Allow the download, then install it in Settings, where iOS calls it not signed. Nothing stays installed.`})]}):r.isError?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(E,{variant:`destructive`,children:[(0,W.jsx)(D,{}),(0,W.jsx)(w,{children:`The check couldn't start`}),(0,W.jsx)(T,{children:`Check your connection and try again.`})]}),(0,W.jsxs)(u,{className:G,disabled:r.isFetching,onClick:()=>void r.refetch(),variant:`outline`,children:[(0,W.jsx)(ie,{"data-icon":`inline-start`}),`Reload`]})]}):(0,W.jsx)(e,{"aria-label":`Preparing the check`,className:`h-11 w-full`})}var Me=e=>(0,k.default)(e).format(`MMM D`);function $({device:e,canApprove:t,onDevicesPage:n=!1}){return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,W.jsxs)(E,{children:[(0,W.jsx)(D,{}),(0,W.jsx)(w,{children:`Apple didn't register this iPhone`}),(0,W.jsx)(T,{children:e.apple_error})]}),t?n?null:(0,W.jsx)(p,{className:c({className:G,variant:`outline`}),to:`/native-builds/devices`,children:`iOS devices`}):(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.status===`approved`?`Ask a maintainer to free a device slot.`:`Ask a maintainer to check it on the iOS devices page.`})]})}function Ne({build:t,device:n,registry:r,newerBuild:a,canApprove:o,registryReadAt:s}){let l=b(window.location,t.id),d=H(l),f=V(l,n.receipt,n.ios&&n.udid!==null&&r===null),m=n.receipt!==null||U(f.data?.udid,n.udid),[h,g]=(0,O.useState)(``),[_,v]=(0,O.useState)(null),y=_!==null&&s<=_.readBefore,x=y?_.device:r,S=(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,W.jsx)(`p`,{className:`text-sm font-medium`,children:`Not in this build`}),(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`This IPA was signed without this iPhone, and iOS won't install it here.`})]});if(x!==null){let e=y?null:a;return x.apple_error!==null&&e===null?(0,W.jsx)($,{canApprove:o,device:x}):(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[S,(0,W.jsx)(`p`,{className:`text-sm`,role:`status`,children:x.status===`pending`?`${x.name} was requested on ${Me(x.created_at_ms)}. A maintainer approves it next.`:e===null?`${x.name} is ${x.status}. It joins the next ad hoc build.`:`A newer build has ${x.name}.`}),e===null?null:(0,W.jsx)(p,{className:c({className:G}),params:{buildId:e},to:`/native-builds/$buildId`,children:`Open the newer build`})]})}if(!m&&f.isPending&&n.udid!==null)return(0,W.jsx)(e,{"aria-label":`Reading this iPhone`,className:`h-11 w-full`});if(!m)return(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[S,(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Check this iPhone once more to request it for the next ad hoc build.`}),(0,W.jsx)(Q,{build:t,again:!0})]});let C=h.trim();return(0,W.jsxs)(`form`,{className:`flex min-w-0 flex-col gap-3`,onSubmit:e=>{if(e.preventDefault(),C===``)return;let t=s;d.mutate({receipt:n.receipt,name:C},{onSuccess:({device:e})=>v({device:e,readBefore:t})})},children:[S,(0,W.jsxs)(ue,{"data-invalid":d.isError||void 0,children:[(0,W.jsx)(se,{htmlFor:`ios-device-name`,children:`This iPhone's name`}),(0,W.jsx)(i,{autoComplete:`off`,className:`h-11 sm:h-8`,id:`ios-device-name`,maxLength:100,onChange:e=>g(e.target.value),placeholder:`Kim's iPhone`,value:h}),(0,W.jsx)(ce,{children:`A maintainer approves it, and it joins the next ad hoc build.`}),(0,W.jsx)(le,{children:d.isError?`The request didn't go through. Check this iPhone again, then try once more.`:null})]}),(0,W.jsxs)(u,{className:G,disabled:C===``||d.isPending,type:`submit`,children:[d.isPending?(0,W.jsx)(te,{className:`animate-spin motion-reduce:animate-none`,"data-icon":`inline-start`}):(0,W.jsx)(ee,{"data-icon":`inline-start`}),`Request access`]}),d.isError?(0,W.jsx)(Q,{again:!0,build:t}):null]})}function Pe({build:t,device:n}){X(n,V(b(window.location,t.id),n.receipt,n.ios&&n.udid===null).data?.udid);let{udid:r}=n,i=de(t.id,r),{refetch:a}=i,o=ke(i.dataUpdatedAt,i.data?.status===`installable`&&i.data.device===`included`);if((0,O.useEffect)(()=>{o&&a()},[o,a]),i.isPending)return(0,W.jsx)(e,{"aria-label":`Reading this IPA`,className:`h-11 w-full`});let s=i.data;if(s===void 0||s.status===`unavailable`)return(0,W.jsxs)(E,{children:[(0,W.jsx)(D,{}),(0,W.jsx)(w,{children:`Installation details unavailable`}),(0,W.jsx)(T,{children:`The Console couldn't read this IPA from storage in parts, which takes an HTTPS download link that answers Range requests. Other ways to install still work from a computer.`})]});if(s.status===`store`)return(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:t.is_sandbox?`This IPA is an App Store export, which doesn't install from this page.`:`This IPA is an App Store export, which installs through TestFlight, not from this page.`});if(s.status===`expired`)return(0,W.jsxs)(E,{variant:`destructive`,children:[(0,W.jsx)(D,{}),(0,W.jsx)(w,{children:`This build's profile has expired`}),(0,W.jsxs)(T,{children:[`It expired on `,(0,k.default)(s.expiresAt).format(`YYYY-MM-DD`),`. A maintainer rebuilds it to install again.`]})]});let c=s.link.status===`issued`?s.link.token:null;return s.link.status===`no-secret`?(0,W.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`Set `,s.link.secretName,` on the Console to install from this page.`]}):c===null?null:s.device===`included`?(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,W.jsx)(`p`,{className:`text-sm font-medium`,children:`In this build`}),o?(0,W.jsx)(Z,{fetching:i.isFetching,onRenew:()=>void a()}):(0,W.jsx)(Ae,{build:t,token:c}),(0,W.jsx)(je,{})]}):s.device===`not-included`?(0,W.jsx)(Ne,{build:t,device:n,registry:s.registry,newerBuild:s.newerBuild,canApprove:s.canApprove,registryReadAt:i.dataUpdatedAt}):(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,W.jsx)(`p`,{className:`text-sm font-medium`,children:`Check this iPhone first`}),(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`iOS installs this IPA only on the devices it lists. A profile reads this iPhone's ID, then Safari comes back here.`})]}),(0,W.jsx)(Q,{build:t})]})}export{H as _,De as a,U as c,be as d,ye as f,Se as g,Ce as h,X as i,xe as l,N as m,Pe as n,we as o,V as p,K as r,A as s,$ as t,M as u};
@@ -0,0 +1 @@
1
+ import{Di as e,vr as t}from"./sidebar-BmzmPGuv.js";import{t as n}from"./link-CRMwpc7-.js";import{a as r}from"./tabs-DARDj-XC.js";var i=e(),a=`relative inline-flex h-full min-h-11 items-center justify-center rounded-md border border-transparent px-3 text-xs font-medium whitespace-nowrap text-foreground/60 transition-colors hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none aria-[current=page]:bg-background aria-[current=page]:text-foreground aria-[current=page]:shadow-sm dark:text-muted-foreground dark:hover:text-foreground dark:aria-[current=page]:border-input dark:aria-[current=page]:bg-input/30 dark:aria-[current=page]:text-foreground`;function o({current:e}){return(0,i.jsxs)(`nav`,{"aria-label":`Native builds views`,className:t(r(),`h-auto min-h-11 sm:h-8 sm:min-h-0 [&>a]:min-h-11 sm:[&>a]:min-h-0`),children:[(0,i.jsx)(n,{activeOptions:{exact:!0,includeSearch:!1},"aria-current":e===`builds`?`page`:void 0,className:a,to:`/native-builds`,children:`Builds`}),(0,i.jsx)(n,{activeOptions:{exact:!0,includeSearch:!1},"aria-current":e===`devices`?`page`:void 0,className:a,to:`/native-builds/devices`,children:`iOS devices`})]})}export{o as t};
@@ -1 +1 @@
1
- import{In as e,Wr as t}from"./sidebar-Di9SN47G.js";import{t as n}from"./link-DTEyW70e.js";var r=t(),i={afterReleaseId:void 0,beforeReleaseId:void 0,bundleId:void 0,channelId:void 0,enabled:void 0,platform:void 0,releaseId:void 0,scopeKey:void 0};function a(){return(0,r.jsx)(`div`,{className:`flex min-h-svh flex-1 items-center justify-center px-6 py-10`,children:(0,r.jsxs)(`section`,{className:`flex max-w-md flex-col items-center text-center`,children:[(0,r.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight text-foreground`,children:`Page not found`}),(0,r.jsx)(n,{className:e({className:`mt-6`,size:`lg`}),to:`/`,search:i,children:`Go to home`})]})})}export{a as t};
1
+ import{Di as e,_r as t}from"./sidebar-BmzmPGuv.js";import{t as n}from"./link-CRMwpc7-.js";var r=e(),i={afterReleaseId:void 0,beforeReleaseId:void 0,bundleId:void 0,channelId:void 0,enabled:void 0,platform:void 0,releaseId:void 0,scopeKey:void 0};function a(){return(0,r.jsx)(`div`,{className:`flex min-h-svh flex-1 items-center justify-center px-6 py-10`,children:(0,r.jsxs)(`section`,{className:`flex max-w-md flex-col items-center text-center`,children:[(0,r.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight text-foreground`,children:`Page not found`}),(0,r.jsx)(n,{className:t({className:`mt-6`,size:`lg`}),to:`/`,search:i,children:`Go to home`})]})})}export{a as t};
@@ -1 +1 @@
1
- import{Wr as e}from"./sidebar-Di9SN47G.js";var t=e();function n({className:e}){return(0,t.jsx)(`svg`,{"aria-hidden":`true`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,className:e,fill:`currentColor`,children:(0,t.jsx)(`path`,{d:`M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701`})})}function r({className:e}){return(0,t.jsx)(`svg`,{"aria-hidden":`true`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,className:e,fill:`currentColor`,children:(0,t.jsx)(`path`,{d:`M18.4395 5.5586c-.675 1.1664-1.352 2.3318-2.0274 3.498-.0366-.0155-.0742-.0286-.1113-.043-1.8249-.6957-3.484-.8-4.42-.787-1.8551.0185-3.3544.4643-4.2597.8203-.084-.1494-1.7526-3.021-2.0215-3.4864a1.1451 1.1451 0 0 0-.1406-.1914c-.3312-.364-.9054-.4859-1.379-.203-.475.282-.7136.9361-.3886 1.5019 1.9466 3.3696-.0966-.2158 1.9473 3.3593.0172.031-.4946.2642-1.3926 1.0177C2.8987 12.176.452 14.772 0 18.9902h24c-.119-1.1108-.3686-2.099-.7461-3.0683-.7438-1.9118-1.8435-3.2928-2.7402-4.1836a12.1048 12.1048 0 0 0-2.1309-1.6875c.6594-1.122 1.312-2.2559 1.9649-3.3848.2077-.3615.1886-.7956-.0079-1.1191a1.1001 1.1001 0 0 0-.8515-.5332c-.5225-.0536-.9392.3128-1.0488.5449zm-.0391 8.461c.3944.5926.324 1.3306-.1563 1.6503-.4799.3197-1.188.0985-1.582-.4941-.3944-.5927-.324-1.3307.1563-1.6504.4727-.315 1.1812-.1086 1.582.4941zM7.207 13.5273c.4803.3197.5506 1.0577.1563 1.6504-.394.5926-1.1038.8138-1.584.4941-.48-.3197-.5503-1.0577-.1563-1.6504.4008-.6021 1.1087-.8106 1.584-.4941z`})})}function i({platform:e,className:i}){return e===`ios`?(0,t.jsx)(n,{className:i}):(0,t.jsx)(r,{className:i})}export{i as t};
1
+ import{Di as e}from"./sidebar-BmzmPGuv.js";var t=e();function n({className:e}){return(0,t.jsx)(`svg`,{"aria-hidden":`true`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,className:e,fill:`currentColor`,children:(0,t.jsx)(`path`,{d:`M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701`})})}function r({className:e}){return(0,t.jsx)(`svg`,{"aria-hidden":`true`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,className:e,fill:`currentColor`,children:(0,t.jsx)(`path`,{d:`M18.4395 5.5586c-.675 1.1664-1.352 2.3318-2.0274 3.498-.0366-.0155-.0742-.0286-.1113-.043-1.8249-.6957-3.484-.8-4.42-.787-1.8551.0185-3.3544.4643-4.2597.8203-.084-.1494-1.7526-3.021-2.0215-3.4864a1.1451 1.1451 0 0 0-.1406-.1914c-.3312-.364-.9054-.4859-1.379-.203-.475.282-.7136.9361-.3886 1.5019 1.9466 3.3696-.0966-.2158 1.9473 3.3593.0172.031-.4946.2642-1.3926 1.0177C2.8987 12.176.452 14.772 0 18.9902h24c-.119-1.1108-.3686-2.099-.7461-3.0683-.7438-1.9118-1.8435-3.2928-2.7402-4.1836a12.1048 12.1048 0 0 0-2.1309-1.6875c.6594-1.122 1.312-2.2559 1.9649-3.3848.2077-.3615.1886-.7956-.0079-1.1191a1.1001 1.1001 0 0 0-.8515-.5332c-.5225-.0536-.9392.3128-1.0488.5449zm-.0391 8.461c.3944.5926.324 1.3306-.1563 1.6503-.4799.3197-1.188.0985-1.582-.4941-.3944-.5927-.324-1.3307.1563-1.6504.4727-.315 1.1812-.1086 1.582.4941zM7.207 13.5273c.4803.3197.5506 1.0577.1563 1.6504-.394.5926-1.1038.8138-1.584.4941-.48-.3197-.5503-1.0577-.1563-1.6504.4008-.6021 1.1087-.8106 1.584-.4941z`})})}function i({platform:e,className:i}){return e===`ios`?(0,t.jsx)(n,{className:i}):(0,t.jsx)(r,{className:i})}function a({platform:e}){return(0,t.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,t.jsx)(i,{className:`size-4`,platform:e}),e===`ios`?`iOS`:`Android`]})}export{a as n,i as t};
@@ -0,0 +1 @@
1
+ import{Di as e,Ri as t,Vi as n,vr as r}from"./sidebar-BmzmPGuv.js";var i=n(t(),1),a=(e=>(e[e.Border=-1]=`Border`,e[e.Data=0]=`Data`,e[e.Function=1]=`Function`,e[e.Position=2]=`Position`,e[e.Timing=3]=`Timing`,e[e.Alignment=4]=`Alignment`,e))(a||{}),o=[0,1],s=[1,0],c=[2,3],l=[3,2],u={L:o,M:s,Q:c,H:l},d=/^\d*$/,f=/^[A-Z0-9 $%*+./:-]*$/,p=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,m=1,h=40,g=3,_=3,v=40,y=10,b=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],x=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],S=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<m||e>h)throw RangeError(`Version value out of range`);if(r<-1||r>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let i=Array.from({length:this.size}).fill(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.types.push(i.map(()=>0));this.drawFunctionPatterns();let a=this.addEccAndInterleave(n);if(this.drawCodewords(a),r===-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(r=t,e=n),this.applyMask(t)}}this.mask=r,this.applyMask(r),this.drawFormatBits(r)}size;mask;modules=[];types=[];getModule(e,t){return e>=0&&e<this.size&&t>=0&&t<this.size&&this.modules[t][e]}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0,a.Timing),this.setFunctionModule(e,6,e%2==0,a.Timing);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n===0&&r===0||n===0&&r===t-1||n===t-1&&r===0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.ecc[1]<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let r=(t<<10|n)^21522;for(let e=0;e<=5;e++)this.setFunctionModule(8,e,w(r,e));this.setFunctionModule(8,7,w(r,6)),this.setFunctionModule(8,8,w(r,7)),this.setFunctionModule(7,8,w(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,w(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,w(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,w(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;for(let e=0;e<18;e++){let n=w(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),o=e+r,s=t+n;o>=0&&o<this.size&&s>=0&&s<this.size&&this.setFunctionModule(o,s,i!==2&&i!==4,a.Position)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!==1,a.Alignment)}setFunctionModule(e,t,n,r=a.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==z(t,n))throw RangeError(`Invalid argument`);let r=x[n[0]][t],i=b[n[0]][t],a=Math.floor(R(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=B(i);for(let t=0,n=0;t<r;t++){let r=e.slice(n,n+s-i+(t<o?0:1));n+=r.length;let a=V(r,l);t<o&&r.push(0),c.push(r.concat(a))}let u=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!==s-i||n>=o)&&u.push(t[e])});return u}drawCodewords(e){if(e.length!==Math.floor(R(this.version)/8))throw RangeError(`Invalid argument`);let t=0;for(let n=this.size-1;n>=1;n-=2){n===6&&(n=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){let a=n-i,o=n+1&2?r:this.size-1-r;!this.types[o][a]&&t<e.length*8&&(this.modules[o][a]=w(e[t>>>3],7-(t&7)),t++)}}}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.types[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[t][a]===n?(r++,r===5?e+=g:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*v),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*v}for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][t]===n?(r++,r===5?e+=g:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*v),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*v}for(let t=0;t<this.size-1;t++)for(let n=0;n<this.size-1;n++){let r=this.modules[t][n];r===this.modules[t][n+1]&&r===this.modules[t+1][n]&&r===this.modules[t+1][n+1]&&(e+=_)}let t=0;for(let e of this.modules)t=e.reduce((e,t)=>e+ +!!t,t);let n=this.size*this.size,r=Math.ceil(Math.abs(t*20-n*10)/n)-1;return e+=r*y,e}getAlignmentPatternPositions(){if(this.version===1)return[];{let e=Math.floor(this.version/7)+2,t=this.version===32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}finderPenaltyCountPatterns(e){let t=e[1],n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]===0&&(e+=this.size),t.pop(),t.unshift(e)}};function C(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function w(e,t){return(e>>>t&1)!=0}var T=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}getData(){return this.bitData.slice()}},E=[1,10,12,14],D=[2,9,11,13],O=[4,8,16,16];function k(e,t){return e[Math.floor((t+7)/17)+1]}function A(e){let t=[];for(let n of e)C(n,8,t);return new T(O,e.length,t)}function j(e){if(!P(e))throw RangeError(`String contains non-numeric characters`);let t=[];for(let n=0;n<e.length;){let r=Math.min(e.length-n,3);C(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new T(E,e.length,t)}function M(e){if(!F(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=p.indexOf(e.charAt(n))*45;r+=p.indexOf(e.charAt(n+1)),C(r,11,t)}return n<e.length&&C(p.indexOf(e.charAt(n)),6,t),new T(D,e.length,t)}function N(e){return e===``?[]:P(e)?[j(e)]:F(e)?[M(e)]:[A(L(e))]}function P(e){return d.test(e)}function F(e){return f.test(e)}function I(e,t){let n=0;for(let r of e){let e=k(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function L(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)===`%`?(t.push(Number.parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}function R(e){if(e<m||e>h)throw RangeError(`Version number out of range`);let t=(16*e+128)*e+64;if(e>=2){let n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return t}function z(e,t){return Math.floor(R(e)/8)-b[t[0]][e]*x[t[0]][e]}function B(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let t=[];for(let n=0;n<e-1;n++)t.push(0);t.push(1);let n=1;for(let r=0;r<e;r++){for(let e=0;e<t.length;e++)t[e]=H(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=H(n,2)}return t}function V(e,t){let n=t.map(e=>0);for(let r of e){let e=r^n.shift();n.push(0),t.forEach((t,r)=>n[r]^=H(t,e))}return n}function H(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return n}function U(e,t,n=1,r=40,i=-1,a=!0){if(!(m<=n&&n<=r&&r<=h)||i<-1||i>7)throw RangeError(`Invalid value`);let o,u;for(o=n;;o++){let n=z(o,t)*8,i=I(e,o);if(i<=n){u=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[s,c,l])a&&u<=z(o,e)*8&&(t=e);let d=[];for(let t of e){C(t.mode[0],4,d),C(t.numChars,k(t.mode,o),d);for(let e of t.getData())d.push(e)}let f=z(o,t)*8;C(0,Math.min(4,f-d.length),d),C(0,(8-d.length%8)%8,d);for(let e=236;d.length<f;e^=253)C(e,8,d);let p=Array.from({length:Math.ceil(d.length/8)},()=>0);return d.forEach((e,t)=>p[t>>>3]|=e<<7-(t&7)),new S(o,t,p,i)}function W(e,t){let{ecc:n=`L`,boostEcc:r=!1,minVersion:i=1,maxVersion:a=40,maskPattern:o=-1,border:s=1}=t||{},c=typeof e==`string`?N(e):Array.isArray(e)?[A(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=U(c,u[n],i,a,o,r),d=G({version:l.version,maskPattern:l.mask,size:l.size,data:l.modules,types:l.types},s);return t?.invert&&(d.data=d.data.map(e=>e.map(e=>!e))),t?.onEncoded?.(d),d}function G(e,t=1){if(!t)return e;let{size:n}=e,r=n+t*2;e.size=r,e.data.forEach(e=>{for(let n=0;n<t;n++)e.unshift(!1),e.push(!1)});for(let n=0;n<t;n++)e.data.unshift(Array.from({length:r},e=>!1)),e.data.push(Array.from({length:r},e=>!1));let i=a.Border;e.types.forEach(e=>{for(let n=0;n<t;n++)e.unshift(i),e.push(i)});for(let n=0;n<t;n++)e.types.unshift(Array.from({length:r},e=>i)),e.types.push(Array.from({length:r},e=>i));return e}var K=e=>{let{data:t,size:n}=W(e,{ecc:`M`,border:4}),r=``;return t.forEach((e,t)=>e.forEach((e,n)=>{e&&(r+=`M${n} ${t}h1v1h-1z`)})),{size:n,path:r}},q=e();function J({value:e,label:t,className:n}){let{size:a,path:o}=(0,i.useMemo)(()=>K(e),[e]);return(0,q.jsxs)(`svg`,{"aria-label":t,className:r(`aspect-square rounded-md`,n),role:`img`,shapeRendering:`crispEdges`,viewBox:`0 0 ${a} ${a}`,children:[(0,q.jsx)(`rect`,{fill:`#fff`,height:a,width:a}),(0,q.jsx)(`path`,{d:o,fill:`#000`})]})}export{J as t};
@@ -0,0 +1 @@
1
+ import{$ as e,Di as t,Vi as n,_r as r,gr as i,vr as a}from"./sidebar-BmzmPGuv.js";import{t as o}from"./link-CRMwpc7-.js";import{a as s}from"./TargetDisplay-DMZHMgWk.js";import{t as c}from"./chevron-right-RAuPv9r1.js";import{n as l,t as u}from"./relativeTime-Dbefsycs.js";import{a as d,n as f,o as p,r as m,t as h}from"./table-Bo1jU9-v.js";var g=t();function _({children:e,className:t}){return(0,g.jsx)(`div`,{className:a(`min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border bg-card text-card-foreground shadow-sm [&_[data-slot=table-container]]:h-full [&_[data-slot=table-container]]:overflow-auto`,t),children:e})}function v({header:e,children:t,className:n,rowGroups:r=!1,...i}){return(0,g.jsxs)(h,{className:a(`min-w-max`,n),...i,children:[(0,g.jsx)(d,{className:`bg-muted/40`,children:(0,g.jsx)(p,{className:`border-b border-border/60 hover:bg-transparent [&>th]:h-10 [&>th]:text-xs [&>th]:font-semibold [&>th]:uppercase [&>th]:text-muted-foreground`,children:e})}),r?t:(0,g.jsx)(f,{children:t})]})}function y({className:e,...t}){return(0,g.jsx)(f,{className:a(`[&_tr:last-child]:border-b`,e),...t})}var b=e=>t=>{t.target instanceof Element&&t.target.closest(`button, a, input, select, textarea`)||e()};function x({className:e,onOpen:t,...n}){return(0,g.jsx)(p,{onClick:b(t),onKeyDown:e=>{e.target!==e.currentTarget||e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),t())},tabIndex:0,className:a(`cursor-pointer transition-[background-color,filter] hover:bg-muted/10 focus-within:bg-muted/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring motion-reduce:transition-none data-[state=selected]:bg-muted/15 [&>td]:py-3`,e),...n})}function S({columns:t,label:n}){return Array.from({length:7},(r,i)=>(0,g.jsx)(p,{children:(0,g.jsxs)(m,{colSpan:t,children:[i===0&&n?(0,g.jsx)(`span`,{className:`sr-only`,children:n}):null,(0,g.jsx)(e,{className:`h-8 w-full`})]})},i))}function C({columns:e,className:t,children:n}){return(0,g.jsx)(p,{children:(0,g.jsx)(m,{className:a(`h-44 text-center text-muted-foreground`,t),colSpan:e,children:n})})}function w({icon:e,title:t,children:n}){return(0,g.jsxs)(`div`,{className:`mx-auto flex max-w-sm flex-col items-center gap-2 whitespace-normal text-center text-sm text-muted-foreground`,children:[(0,g.jsx)(e,{"aria-hidden":`true`,className:`size-5`}),(0,g.jsx)(`p`,{className:`font-medium text-foreground`,children:t}),n]})}function T({children:e}){return(0,g.jsx)(`div`,{className:`p-8`,children:e})}function E({label:t}){return(0,g.jsxs)(`div`,{className:`flex flex-col gap-3 p-4`,children:[t?(0,g.jsx)(`span`,{className:`sr-only`,children:t}):null,Array.from({length:5},(t,n)=>(0,g.jsx)(e,{className:`h-44 w-full`},n))]})}function D({className:e,...t}){return(0,g.jsx)(`article`,{className:a(`flex cursor-pointer touch-manipulation flex-col gap-4 border-b p-4 transition-[background-color,filter] last:border-b-0 hover:bg-muted/10 active:bg-muted/20 motion-reduce:transition-none data-[state=selected]:bg-muted/15`,e),...t})}function O({count:e,noun:t,folded:n,label:a,pending:l=!1,newest:u,previous:d,next:f}){return(0,g.jsxs)(`nav`,{"aria-label":a,className:`flex flex-col gap-3 px-2 sm:flex-row sm:items-center sm:justify-between`,children:[(0,g.jsxs)(`p`,{className:`text-xs font-medium text-muted-foreground`,children:[(0,g.jsx)(`span`,{className:`text-foreground`,children:e}),` `,e===1?t[0]:t[1],`, newest first`,n===void 0||n.count===0?null:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(`span`,{"aria-hidden":`true`,children:` · `}),(0,g.jsx)(`span`,{className:`sr-only`,children:`, `}),(0,g.jsxs)(`span`,{className:`text-foreground`,children:[n.count,n.more?`+`:``]}),` `,n.label,` folded`]})]}),(0,g.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 sm:justify-end`,children:[u&&!l?(0,g.jsx)(o,{className:r({className:`h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none`,size:`sm`,variant:`ghost`}),search:u.search,to:u.to,children:`Newest`}):null,d&&!l?(0,g.jsxs)(o,{className:r({className:`h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none`,size:`sm`,variant:`outline`}),search:d.search,to:d.to,children:[(0,g.jsx)(s,{"data-icon":`inline-start`}),`Previous`]}):(0,g.jsxs)(i,{className:`h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none`,disabled:!0,size:`sm`,variant:`outline`,children:[(0,g.jsx)(s,{"data-icon":`inline-start`}),`Previous`]}),f&&!l?(0,g.jsxs)(o,{className:r({className:`h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none`,size:`sm`,variant:`outline`}),search:f.search,to:f.to,children:[`Next`,(0,g.jsx)(c,{"data-icon":`inline-end`})]}):(0,g.jsxs)(i,{className:`h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none`,disabled:!0,size:`sm`,variant:`outline`,children:[`Next`,(0,g.jsx)(c,{"data-icon":`inline-end`})]})]})]})}var k=n(l(),1),A=n(u(),1);k.default.extend(A.default);function j({ms:e,withDate:t=!1}){let n=(0,k.default)(e),r=n.format(`YYYY-MM-DD HH:mm:ss`);return(0,g.jsxs)(`time`,{className:`flex flex-col whitespace-nowrap tabular-nums`,dateTime:n.toISOString(),title:r,children:[(0,g.jsx)(`span`,{children:n.fromNow()}),t?(0,g.jsx)(`span`,{className:`text-muted-foreground`,children:r}):null]})}export{v as a,_ as c,x as d,S as f,T as i,C as l,D as n,y as o,b as p,E as r,w as s,j as t,O as u};
@@ -0,0 +1 @@
1
+ import{Di as e,Vi as t,vr as n}from"./sidebar-BmzmPGuv.js";import{o as r,t as i}from"./badge-zMibJGR5.js";import{r as a}from"./constants-zSb7FXDh.js";import{n as o,t as s}from"./relativeTime-Dbefsycs.js";var c=t(o(),1),l=t(s(),1),u=e();c.default.extend(l.default);function d({uuid:e,format:t=`relative`}){let n=(0,c.default)(a(e));return t===`relative`?(0,u.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:n.fromNow()}):t===`absolute`?(0,u.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:n.format(`YYYY-MM-DD HH:mm:ss`)}):(0,u.jsxs)(`div`,{className:`flex flex-col`,children:[(0,u.jsx)(`span`,{className:`text-sm`,children:n.fromNow()}),(0,u.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:n.format(`YYYY-MM-DD HH:mm:ss`)})]})}var f=e=>{let t=e.trim();if(t.startsWith(`git@`)){let e=t.match(/^git@([^:]+):(.+?)(?:\.git)?$/);if(e)return`https://${e[1]}/${e[2]}`}if(t.startsWith(`ssh://`))try{let e=new URL(t);return`https://${e.hostname}${e.pathname}`.replace(/\/+$/,``).replace(/\.git$/,``)}catch{return t.replace(/\/+$/,``).replace(/\.git$/,``)}return t.replace(/\/+$/,``).replace(/\.git$/,``)},p=(e,t)=>{if(!e?.trim())return null;let n=f(e);try{let{hostname:e}=new URL(n);if(e.includes(`gitlab`))return`${n}/-/commit/${t}`;if(e.includes(`bitbucket`))return`${n}/commits/${t}`}catch{}return`${n}/commit/${t}`};function m({percentage:e,className:t}){let a=e<100,o=e.toFixed(1);return(0,u.jsxs)(i,{className:n(`gap-1`,t),variant:a?`secondary`:`default`,children:[a?(0,u.jsx)(r,{className:`h-3 w-3`}):null,o,`%`]})}export{p as n,d as r,m as t};
@@ -0,0 +1 @@
1
+ import{$ as e,Di as t,Ri as n,Vi as r,at as i,gr as a,nt as o,rt as s}from"./sidebar-BmzmPGuv.js";import{t as c}from"./chevron-right-RAuPv9r1.js";import{o as l,r as u}from"./table-Bo1jU9-v.js";import{o as d}from"./RelativeTime-CdQ86VoP.js";var f=r(n(),1),p=t(),m=e=>e.from??``,h=(e,t)=>`${e.count}${e.more?`+`:``} ${e.count===1&&!e.more?t.one:t.other}`,g=e=>{let t=[];for(let n of e){let e=t.at(-1);n.kind===`fold`?t.push({kind:`fold`,fold:n}):e?.kind===`rows`?e.rows.push(n.row):t.push({kind:`rows`,rows:[n.row]})}return t};function _(){let[e,t]=(0,f.useState)(()=>new Set);return{isOpen:t=>e.has(t),set:(e,n)=>t(t=>{if(t.has(e)===n)return t;let r=new Set(t);return n?r.add(e):r.delete(e),r})}}function v({label:e,open:t,onOpenChange:n,panelId:r}){return(0,p.jsxs)(`button`,{"aria-controls":r,"aria-expanded":t,className:`group/fold flex min-h-11 w-full items-center gap-2 px-4 text-left text-xs font-medium text-muted-foreground transition-colors hover:bg-muted/30 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-inset motion-reduce:transition-none sm:min-h-9 sm:px-3`,onClick:()=>n(!t),type:`button`,children:[(0,p.jsx)(c,{"aria-hidden":`true`,className:`size-3.5 shrink-0 transition-transform group-aria-expanded/fold:rotate-90 motion-reduce:transition-none`}),e]})}function y({columns:e,children:t,...n}){return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(d,{children:(0,p.jsx)(l,{className:`bg-muted/20 hover:bg-muted/20`,children:(0,p.jsx)(u,{className:`p-0`,colSpan:e,children:(0,p.jsx)(v,{...n})})})}),(0,p.jsx)(d,{hidden:!n.open,id:n.panelId,children:n.open?t:null})]})}function b({children:e,inList:t=!1,...n}){return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(`div`,{className:`border-b bg-muted/20`,role:t?`listitem`:void 0,children:(0,p.jsx)(v,{...n})}),(0,p.jsx)(`div`,{hidden:!n.open,id:n.panelId,children:n.open?e:null})]})}function x({state:t,label:n,onMore:r,onRetry:i,columns:o}){let s=t===`loading`?(0,p.jsxs)(`div`,{"aria-live":`polite`,className:`flex flex-col gap-2 p-3`,children:[(0,p.jsx)(`span`,{className:`sr-only`,children:n}),(0,p.jsx)(e,{className:`h-8 w-full`}),(0,p.jsx)(e,{className:`h-8 w-full`})]}):(0,p.jsxs)(`div`,{className:`flex items-center gap-3 px-4 py-2 sm:px-3`,children:[t===`error`?(0,p.jsxs)(`span`,{className:`text-xs text-muted-foreground`,role:`status`,children:[n,` couldn't be loaded.`]}):null,(0,p.jsx)(a,{className:`h-11 px-3 text-xs sm:h-8`,onClick:t===`error`?i:r,size:`sm`,variant:`ghost`,children:t===`error`?`Retry`:`Show more`})]});return o===void 0?(0,p.jsx)(`div`,{className:`border-b`,children:s}):(0,p.jsx)(l,{className:`hover:bg-transparent`,children:(0,p.jsx)(u,{className:`p-0`,colSpan:o,children:s})})}var S=e=>{let t=0,n=!1;for(let r of e)r.kind===`fold`&&(t+=r.count,n||=r.more);return{count:t,more:n}};function C({icon:e,children:t,label:n,reason:r}){let a=(0,f.useId)(),[c,l]=(0,f.useState)(!1);return(0,p.jsxs)(o,{onOpenChange:l,open:c,triggerId:a,children:[(0,p.jsxs)(i,{"aria-describedby":c?`${a}-reason`:void 0,"aria-label":n,className:`relative inline-flex shrink-0 items-center gap-1 rounded-sm text-xs text-muted-foreground transition-colors after:absolute after:-inset-x-2 after:-inset-y-3.5 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none motion-reduce:transition-none sm:after:hidden`,closeOnClick:!1,id:a,onClick:()=>l(e=>!e),type:`button`,children:[(0,p.jsx)(e,{"aria-hidden":`true`,className:`size-3.5`}),t]}),(0,p.jsx)(s,{className:`max-w-64`,id:`${a}-reason`,role:`tooltip`,side:`bottom`,children:r})]})}export{m as a,g as c,x as i,_ as l,b as n,h as o,y as r,S as s,C as t};
@@ -0,0 +1 @@
1
+ import{Di as e,Vi as t}from"./sidebar-BmzmPGuv.js";import{a as n}from"./-native-builds-search-qeto9-fq.js";import{t as r}from"./badge-zMibJGR5.js";import{n as i,t as a}from"./relativeTime-Dbefsycs.js";var o=t(i(),1),s=t(a(),1),c={"play-internal":{label:`Play internal`},"play-closed":{label:`Play closed`},"play-open":{label:`Play open`},"play-production":{label:`Play production`}},l=e();o.default.extend(s.default);var u={testflight:`TestFlight`,...Object.fromEntries(Object.entries(c).map(([e,t])=>[e,t.label]))},d=e=>e.submitted_to!==null&&e.submitted_to!==void 0;function f({ms:e}){if(e===null)return null;let t=(0,o.default)(e);return(0,l.jsx)(`time`,{className:`text-xs text-muted-foreground`,dateTime:t.toISOString(),title:t.format(`YYYY-MM-DD HH:mm:ss`),children:t.fromNow()})}var p=e=>{let t=`Submitted to ${u[e.submitted_to]}`;if(e.submitted_at_ms===null)return t;let n=(0,o.default)(e.submitted_at_ms);return`${t} ${n.fromNow()}, ${n.format(`YYYY-MM-DD HH:mm:ss`)}`};function m({build:e,withTime:t=!1}){return d(e)?(0,l.jsxs)(`span`,{className:`inline-flex flex-wrap items-center gap-1.5`,children:[(0,l.jsxs)(r,{className:`gap-1`,title:p(e),variant:`muted`,children:[(0,l.jsx)(n,{"aria-hidden":`true`,className:`size-3`}),u[e.submitted_to],e.submitted_version?(0,l.jsx)(`span`,{className:`font-mono tabular-nums`,translate:`no`,children:e.submitted_version}):null]}),t?(0,l.jsx)(f,{ms:e.submitted_at_ms}):null]}):null}function h({build:e}){return e.is_sandbox?(0,l.jsx)(r,{className:`px-1.5`,variant:`muted`,children:`Sandbox`}):null}export{u as i,m as n,d as r,h as t};
@@ -0,0 +1 @@
1
+ import{Di as e,Vr as t,gr as n}from"./sidebar-BmzmPGuv.js";import{t as r}from"./copy-BjVLMKbo.js";import{t as i}from"./key-round-BkeLvA1m.js";import{O as a}from"./native-builds-uKuvmyXZ.js";import{n as o}from"./dist-BEmib-ZM.js";import{t as s}from"./HashValueDisplay-BHL4xWSY.js";var c=t(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),l=t(`fingerprint-pattern`,[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`,key:`1nerag`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`,key:`o46ks0`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`,key:`ptglia`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`,key:`ydlgp0`}],[`path`,{d:`M2 16h.01`,key:`1gqxmh`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`,key:`drycrb`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`,key:`1tidbn`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`,key:`13wd9y`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`,key:`1fr1j5`}]]),u=e();function d({label:e,value:t,wrap:i=!1}){let a=async()=>{try{await navigator.clipboard.writeText(t),o.success(`Copied to clipboard`)}catch{o.error(`Could not copy ${e}`)}};return(0,u.jsxs)(`div`,{className:`flex w-full min-w-0 items-center gap-2 rounded-md border bg-muted/40 py-1 pr-1 pl-3`,children:[(0,u.jsx)(`code`,{className:i?`min-w-0 flex-1 text-left font-mono text-xs whitespace-normal sm:whitespace-nowrap`:`min-w-0 flex-1 overflow-x-auto text-left font-mono text-xs whitespace-nowrap`,children:t}),(0,u.jsx)(n,{"aria-label":`Copy ${e}`,className:`size-11 sm:size-7`,onClick:()=>void a(),size:`icon-sm`,variant:`ghost`,children:(0,u.jsx)(r,{"aria-hidden":`true`})})]})}function f({icon:e,value:t,display:n}){return(0,u.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,u.jsx)(e,{className:`size-4 shrink-0 text-muted-foreground`}),(0,u.jsx)(s,{display:n,maxLength:12,value:t})]})}function p(){return(0,u.jsx)(`span`,{className:`text-muted-foreground`,children:`-`})}function m({value:e}){return(0,u.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,u.jsx)(a,{className:`size-4 shrink-0 text-muted-foreground`}),(0,u.jsx)(`span`,{className:`font-medium`,children:e})]})}function h({appVersion:e,fingerprintHash:t,nativeAppVersion:n}){if(e)return(0,u.jsx)(m,{value:e});if(t){let e=(0,u.jsx)(f,{icon:l,value:t});return n?(0,u.jsxs)(`span`,{className:`flex flex-col items-start gap-3 sm:gap-1`,"data-target-display":``,children:[(0,u.jsxs)(`span`,{title:`The app version this build reports`,children:[(0,u.jsx)(`span`,{className:`sr-only`,children:`App version `}),(0,u.jsx)(m,{value:n})]}),e]}):e}return(0,u.jsx)(p,{})}function g({value:e}){return e?(0,u.jsx)(f,{display:e.replace(/^nbk1:/,``),icon:i,value:e}):(0,u.jsx)(p,{})}export{c as a,d as i,p as n,h as r,g as t};
@@ -0,0 +1 @@
1
+ import{D as e,Di as t,J as n,Ri as r,S as i,T as a,X as o,Y as s,gr as c,j as l,k as u,vr as d}from"./sidebar-BmzmPGuv.js";function f(t){return e(t,`alert-dialog`)}var p=i;r();var m=t();function h({...e}){return(0,m.jsx)(f,{"data-slot":`alert-dialog`,...e})}function g({...e}){return(0,m.jsx)(p,{"data-slot":`alert-dialog-trigger`,...e})}function _({...e}){return(0,m.jsx)(u,{"data-slot":`alert-dialog-portal`,...e})}function v({className:e,...t}){return(0,m.jsx)(o,{"data-slot":`alert-dialog-overlay`,className:d(`fixed inset-0 isolate z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,e),...t})}function y({className:e,size:t=`default`,...n}){return(0,m.jsxs)(_,{children:[(0,m.jsx)(v,{}),(0,m.jsx)(l,{"data-slot":`alert-dialog-content`,"data-size":t,className:d(`group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none max-h-[calc(100dvh-2rem)] overflow-y-auto data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...n})]})}function b({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`alert-dialog-header`,className:d(`grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]`,e),...t})}function x({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`alert-dialog-footer`,className:d(`flex flex-col-reverse gap-2 max-sm:*:min-h-11 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end`,e),...t})}function S({className:e,...t}){return(0,m.jsx)(`div`,{"data-slot":`alert-dialog-media`,className:d(`mb-2 inline-flex size-8 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4`,e),...t})}function C({className:e,...t}){return(0,m.jsx)(a,{"data-slot":`alert-dialog-title`,className:d(`text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2`,e),...t})}function w({className:e,...t}){return(0,m.jsx)(n,{"data-slot":`alert-dialog-description`,className:d(`text-xs/relaxed text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,e),...t})}function T({className:e,...t}){return(0,m.jsx)(c,{"data-slot":`alert-dialog-action`,className:d(e),...t})}function E({className:e,variant:t=`outline`,size:n=`default`,...r}){return(0,m.jsx)(s,{"data-slot":`alert-dialog-cancel`,className:d(e),render:(0,m.jsx)(c,{variant:t,size:n}),...r})}export{w as a,S as c,y as i,C as l,T as n,x as o,E as r,b as s,h as t,g as u};
@@ -0,0 +1 @@
1
+ import{$ as e,Di as t,Hr as n,Oi as r,Q as i,Ri as a,Si as o,Vi as s,Vr as c,gr as l,p as u,wi as d,zr as f}from"./sidebar-BmzmPGuv.js";import{t as p}from"./useMutation-D7IuoOLE.js";import{t as ee}from"./check-C3VCvMOV.js";import{t as te}from"./clipboard-D0JWZ1KF.js";import{t as m}from"./key-round-BkeLvA1m.js";import{t as ne}from"./loader-circle-8lunBReu.js";import{t as h}from"./plus-DztQIXYL.js";import{n as g,r as _}from"./dist-BEmib-ZM.js";import{a as v,i as y,n as b,o as x,r as re,t as ie}from"./badge-zMibJGR5.js";import{a as ae,n as S,o as C,t as w}from"./card-pYZSDIxg.js";import{a as T,i as E,n as D,r as O,t as k}from"./field-BiSGCVoS.js";import{a as A,c as j,i as M,l as N,n as P,o as F,r as I,s as L,t as R,u as z}from"./alert-dialog-Cj7AOTIE.js";import{a as B,i as V,n as oe,o as H,r as U,t as W}from"./dialog-DlAv6zou.js";import{a as G,i as K,n as q,o as J,r as Y,t as se}from"./table-Bo1jU9-v.js";var X=c(`shield-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`,key:`1jlk70`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`,key:`18rp1v`}]]),Z=s(a(),1),ce=d({method:`GET`}).middleware([f]).handler(r(`2c7f3cdb9bd3cab2c026a48abdc84c362db0362924a08679052a325640aec56b`)),le=d({method:`POST`}).middleware([f]).handler(r(`68a2d94ee016be64936401f5eba60ab08a47ff373e1cf9de48e4413336e6034b`)),ue=d({method:`POST`}).middleware([f]).handler(r(`a1cb80b19ca72a64fb631ca28ebb9b6941db245983de082d5dd3203ec2eef795`)),Q={list:[`api-keys`,`list`]},de=()=>n({queryKey:Q.list,queryFn:()=>ce()}),fe=()=>{let e=o();return p({mutationFn:e=>le({data:{name:e}}),onSuccess:async()=>{await e.invalidateQueries({queryKey:Q.list})}})},pe=()=>{let e=o();return p({mutationFn:e=>ue({data:{id:e}}),onSuccess:async()=>{await e.invalidateQueries({queryKey:Q.list})}})},$=t(),me=e=>new Date(e).toISOString().slice(0,10);function he(){let[e,t]=(0,Z.useState)(!1),[n,r]=(0,Z.useState)(``),[a,o]=(0,Z.useState)(null),s=fe(),c=n.trim(),u=c.length>64?`Name must be 64 characters or fewer.`:null,d=()=>{r(``),o(null),s.reset()},f=e=>{t(e),e||d()};return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(l,{className:`max-md:h-11`,onClick:()=>t(!0),children:[(0,$.jsx)(h,{"data-icon":`inline-start`}),`Create API key`]}),(0,$.jsx)(W,{open:e,onOpenChange:f,children:(0,$.jsxs)(oe,{showCloseButton:a===null,children:[(0,$.jsxs)(B,{children:[(0,$.jsx)(H,{children:a===null?`Create API key`:`Save your API key`}),(0,$.jsx)(U,{children:a===null?`Name the app or environment that will use this key.`:`This key is shown once. Store it securely before closing.`})]}),a===null?(0,$.jsxs)(`form`,{onSubmit:async e=>{if(e.preventDefault(),!(c.length===0||u!==null))try{o((await s.mutateAsync(c)).apiKey),g.success(`API key created`)}catch(e){g.error(e instanceof Error?e.message:`Unable to create API key`)}},children:[(0,$.jsx)(E,{children:(0,$.jsxs)(k,{"data-invalid":u!==null||void 0,children:[(0,$.jsx)(T,{htmlFor:`api-key-name`,children:`Name`}),(0,$.jsx)(i,{id:`api-key-name`,autoComplete:`off`,maxLength:65,onChange:e=>r(e.target.value),placeholder:`Production app`,value:n}),(0,$.jsx)(D,{children:`Use a name you can identify before revoking the key.`}),(0,$.jsx)(O,{children:u})]})}),(0,$.jsx)(V,{className:`mt-4`,children:(0,$.jsxs)(l,{disabled:s.isPending||c.length===0||u!==null,type:`submit`,children:[s.isPending?(0,$.jsx)(ne,{"data-icon":`inline-start`,className:`animate-spin motion-reduce:animate-none`}):(0,$.jsx)(m,{"data-icon":`inline-start`}),`Create API key`]})})]}):(0,$.jsxs)(E,{children:[(0,$.jsxs)(k,{children:[(0,$.jsx)(T,{htmlFor:`created-api-key`,children:`API key`}),(0,$.jsxs)(`div`,{className:`flex gap-2`,children:[(0,$.jsx)(i,{id:`created-api-key`,className:`font-mono`,readOnly:!0,value:a}),(0,$.jsxs)(l,{onClick:async()=>{if(a!==null)try{await navigator.clipboard.writeText(a),g.success(`API key copied`)}catch{g.error(`Unable to copy API key`)}},type:`button`,variant:`outline`,children:[(0,$.jsx)(te,{"data-icon":`inline-start`}),`Copy`]})]})]}),(0,$.jsx)(V,{children:(0,$.jsxs)(l,{onClick:()=>f(!1),children:[(0,$.jsx)(ee,{"data-icon":`inline-start`}),`Done`]})})]})]})})]})}function ge({record:e}){let[t,n]=(0,Z.useState)(!1),r=pe(),i=async t=>{t.preventDefault();try{await r.mutateAsync(e.id),n(!1),g.success(`API key revoked`)}catch(e){g.error(e instanceof Error?e.message:`Unable to revoke API key`)}};return(0,$.jsxs)(R,{open:t,onOpenChange:e=>{r.isPending||n(e)},children:[(0,$.jsxs)(z,{render:(0,$.jsx)(l,{className:`max-md:h-11`,size:`sm`,variant:`ghost`}),children:[(0,$.jsx)(X,{"data-icon":`inline-start`}),`Revoke`]}),(0,$.jsxs)(M,{children:[(0,$.jsxs)(L,{children:[(0,$.jsx)(j,{children:(0,$.jsx)(X,{})}),(0,$.jsxs)(N,{children:[`Revoke `,e.name,`?`]}),(0,$.jsxs)(A,{children:[`Apps using `,e.prefix,`… will immediately lose OTA update and insights access. This action cannot be undone.`]})]}),(0,$.jsxs)(F,{children:[(0,$.jsx)(I,{disabled:r.isPending,children:`Cancel`}),(0,$.jsx)(P,{disabled:r.isPending,onClick:e=>void i(e),variant:`destructive`,children:`Revoke API key`})]})]})]})}function _e(){let t=de();return(0,$.jsxs)(w,{className:`overflow-hidden shadow-sm`,children:[(0,$.jsxs)(ae,{className:`flex-row items-center justify-between space-y-0 border-b px-4 py-3`,children:[(0,$.jsx)(C,{className:`text-sm`,children:(0,$.jsx)(`h2`,{children:`API keys`})}),(0,$.jsx)(he,{})]}),(0,$.jsx)(S,{className:`p-0`,children:t.isError?(0,$.jsx)(`div`,{className:`p-4`,children:(0,$.jsxs)(b,{variant:`destructive`,children:[(0,$.jsx)(x,{}),(0,$.jsx)(v,{children:`API keys couldn't be loaded`}),(0,$.jsx)(y,{children:`Check your connection and try again.`}),(0,$.jsx)(re,{children:(0,$.jsxs)(l,{onClick:()=>void t.refetch(),size:`xs`,variant:`outline`,children:[(0,$.jsx)(_,{"data-icon":`inline-start`}),`Retry`]})})]})}):(0,$.jsxs)(se,{"aria-label":`API keys`,className:`table-fixed`,children:[(0,$.jsx)(G,{children:(0,$.jsxs)(J,{children:[(0,$.jsx)(K,{children:`Key`}),(0,$.jsx)(K,{className:`w-32`,children:`Created`}),(0,$.jsx)(K,{className:`w-24 text-right`,children:(0,$.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,$.jsx)(q,{children:t.isLoading?Array.from({length:3},(t,n)=>(0,$.jsxs)(J,{children:[(0,$.jsxs)(Y,{className:`space-y-2 py-3`,children:[n===0?(0,$.jsx)(`span`,{className:`sr-only`,children:`Loading API keys`}):null,(0,$.jsx)(e,{className:`h-3.5 w-32`}),(0,$.jsx)(e,{className:`h-3 w-20`})]}),(0,$.jsx)(Y,{children:(0,$.jsx)(e,{className:`h-3.5 w-20`})}),(0,$.jsx)(Y,{children:(0,$.jsx)(e,{className:`ml-auto h-6 w-16`})})]},n)):t.data?.length===0?(0,$.jsx)(J,{children:(0,$.jsx)(Y,{colSpan:3,className:`h-40 text-center text-muted-foreground`,children:(0,$.jsxs)(`div`,{className:`mx-auto flex max-w-xs flex-col items-center gap-2`,children:[(0,$.jsx)(m,{className:`size-5`}),(0,$.jsx)(`p`,{className:`font-medium text-foreground`,children:`No API keys`}),(0,$.jsx)(`p`,{children:`Create an API key to connect an app.`})]})})}):t.data?.map(e=>(0,$.jsxs)(J,{className:e.revoked_at_ms===null?void 0:`text-muted-foreground`,children:[(0,$.jsx)(Y,{className:`whitespace-normal py-3`,children:(0,$.jsxs)(`div`,{className:`min-w-0 space-y-1`,children:[(0,$.jsx)(`p`,{className:`break-words font-medium text-foreground`,children:e.name}),(0,$.jsxs)(`p`,{className:`font-mono text-xs text-muted-foreground`,children:[e.prefix,`…`]})]})}),(0,$.jsx)(Y,{className:`text-xs text-muted-foreground`,children:(0,$.jsx)(`time`,{dateTime:new Date(e.created_at_ms).toISOString(),children:me(e.created_at_ms)})}),(0,$.jsx)(Y,{className:`text-right`,children:e.revoked_at_ms===null?(0,$.jsx)(ge,{record:e}):(0,$.jsx)(ie,{variant:`outline`,children:`Revoked`})})]},e.id))})]})})]})}function ve(){return(0,$.jsxs)(`div`,{className:`flex h-svh min-h-0 flex-col`,children:[(0,$.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 flex-wrap items-center gap-x-3 gap-y-1 border-b bg-background px-3 py-3 sm:min-h-12 sm:flex-nowrap sm:bg-card/70 sm:px-4 sm:backdrop-blur-sm`,children:[(0,$.jsx)(u,{className:`-ml-1`}),(0,$.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,$.jsx)(m,{"aria-hidden":`true`,className:`size-3.5 text-muted-foreground`}),(0,$.jsx)(`h1`,{className:`text-sm font-medium`,children:`API keys`})]}),(0,$.jsx)(`p`,{className:`basis-full pl-9 text-xs text-muted-foreground sm:basis-auto sm:pl-0`,children:`API keys can download OTA updates and submit insights only.`})]}),(0,$.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6`,children:(0,$.jsx)(`div`,{className:`mx-auto w-full max-w-5xl`,children:(0,$.jsx)(_e,{})})})]})}export{ve as component};
@@ -0,0 +1 @@
1
+ import{t as e}from"./ConsoleFeatureUnavailable-C6aryy7j.js";var t=e;export{t as notFoundComponent};
@@ -0,0 +1 @@
1
+ import{Hr as e,Oi as t,Si as n,wi as r,zr as i}from"./sidebar-BmzmPGuv.js";import{n as a}from"./preload-helper-CE9OukVC.js";import{t as o}from"./useMutation-D7IuoOLE.js";var s=r({method:`GET`}).middleware([i]).handler(t(`206547cb1526f961070a989818ca7b9e34f6b2b0e4ab851698c3807fe9fb5e0c`)),c=r({method:`GET`}).middleware([i]).handler(t(`b30a0e32e3e84050037368e4405bfc34507fda8891a64faefe1a7acd019e9f3c`)),ee=r({method:`GET`}).middleware([i]).handler(t(`a6f23116eeaf76166d405e28a95213123025613c6603030894e519015bf48032`)),l=r({method:`POST`}).middleware([i]).handler(t(`7ea0186f19f9f2bc2ca4b26e3c59636891cf046957f84287b6783f8d88bd8cb7`)),u=r({method:`POST`}).middleware([i]).handler(t(`b46c95dba95a6a3e8fa5c9d100e3622fa5ae7af4f38e10fb1ed2fa48289a3a8f`)),d=r({method:`POST`}).middleware([i]).handler(t(`d5b58722ce514e3b63a377f736b4823c2011782495442ae4870ed547e392c70b`)),f=r({method:`POST`}).middleware([i]).handler(t(`956539a300d79a7efa191c1cc2d529d62fc4bfd940442548fdbc1404e0d53078`)),p=r({method:`GET`}).middleware([i]).handler(t(`e8c24b7247936f045a145ffd5c177fd0e3df3b52769d67dfbd8d1de491d66396`)),m=r().middleware([i]).handler(t(`51a34c05479a893c7d320bd4cd1604427289d667698c48b9f30a01aabf8a5e68`)),h=r().middleware([i]).handler(t(`79ada05964de8f2123bfcd62b10097d59bf8fd689ef5c7161031e5871d8396c5`)),g=r({method:`POST`}).middleware([i]).handler(t(`2b9b8d1f49f79a511589617d8d4bfc6094a3acf5264f33651b9569ba66d3f321`)),_=r({method:`POST`}).middleware([i]).handler(t(`52756dde414919a906bfe83d1ab6d29910c63bcafdb47653d6f1df562d958920`)),v=r({method:`GET`}).middleware([i]).handler(t(`1bd85c2a50e24785cb6abb023a247a9f048f37ddfa85cbb1c57e579563bad013`)),y=r({method:`GET`}).middleware([i]).handler(t(`4370f1bf70b91f1168d85379d3008449a1bedb915e9878ca4ef89d5f3a80fa7f`)),b=r({method:`GET`}).middleware([i]).handler(t(`4ca367070b00f58179a572f0bb8196a4ccdd3881e9b1dbfe33deee0cb6e1f549`)),x=r({method:`GET`}).middleware([i]).handler(t(`17a54fe7c5ad6ca53457914b1d02b3d6887811aa6b5fa6598a1ee107796ce8f0`)),S=r({method:`GET`}).middleware([i]).handler(t(`1fc98b1499df6f62eeb3e84712ff4bd12e428d2ddd08880d541463d24ccd0233`)),C=r({method:`GET`}).middleware([i]).handler(t(`c101ad0315790cf226f182906274176b64a93b9bf5b410cacec5067208c70a04`)),w=r({method:`GET`}).middleware([i]).handler(t(`2e3fab89483b2e4fea0c2f996071b2dbb15b8bc072e7dae78c75a9a9d854d5b9`)),T=r({method:`GET`}).middleware([i]).handler(t(`868ce85f0b63ad138a1f82a573d1d6b12f80c7ca44aefec3dadf01b5fa7db86c`)),E=r({method:`POST`}).middleware([i]).handler(t(`a6c8cfa907e2f75bf69aa90044bd52a3ee684d1a0462d23781161a1a3531aa33`)),D=r({method:`GET`}).middleware([i]).handler(t(`936ef8582ff49d97077d1d80e8403d0b4106831c955591c5c471a88f96007fe9`)),O=r({method:`POST`}).middleware([i]).handler(t(`c6ff40bd8faad0b2d7aba3e94179c18e02a918a76bff25849d771ff31f688208`)),k=r({method:`POST`}).middleware([i]).handler(t(`67cea9f69773d83e69e68e20b81116a2bee9ee4ab3e378698ff74149f1d59ad0`)),A=[`releases`],j={config:[`config`],channels:[`channels`],releases:{all:A,list:e=>[...A,e??{}],fold:(e,t)=>[...A,`fold`,e??{},t]},release:e=>[`release`,e],releaseCatalog:e=>[`release-catalog`,e],bundleChildren:{all:[`bundle-children`],list:e=>[`bundle-children`,e],counts:e=>[`bundle-children`,`counts`,...e]},bundle:e=>[`bundle`,e],nativeBuilds:{all:[`native-builds`],list:e=>[`native-builds`,e],fold:(e,t)=>[`native-builds`,`fold`,e??null,t]},nativeBuild:e=>[`native-build`,e],nativeBuildPatches:(e,t)=>[`native-build-patches`,e,t],nativeBuildDownloadUrl:e=>[`native-build-download-url`,e],nativeBuildDownloadLink:e=>[`native-build-download-link`,e],nativeBuildInstallEligibility:(e,t)=>[`native-build-install-eligibility`,e,t],releaseNativeBuild:e=>[`release-native-build`,e]},M=6e4,N=1440*60*1e3,P=1800*1e3;function F(){return e({queryKey:j.config,queryFn:()=>m(),staleTime:1/0})}function I(){return e({queryKey:j.channels,queryFn:()=>h(),staleTime:1/0})}function L(t,{enabled:n=!0}={}){return e({queryKey:j.releases.list(t),queryFn:()=>s({data:t}),placeholderData:e=>e,enabled:n})}function R(e,t,n){return a({queryKey:j.releases.fold(e,t),queryFn:({pageParam:n})=>c({data:{...t,...e===void 0?{}:{filter:e},...n===void 0?{}:{after:n}}}),initialPageParam:void 0,getNextPageParam:e=>e.next,enabled:n})}function z(t){return e({enabled:t.length>0,queryFn:()=>ee({data:{releaseId:t}}),queryKey:j.release(t)})}function B(t){return e({enabled:t.length>0,queryFn:()=>p({data:{scopeKey:t}}),queryKey:j.releaseCatalog(t)})}function V(t){return e({queryKey:j.bundle(t),queryFn:()=>v({data:{bundleId:t}}),staleTime:1/0,enabled:!!t})}function H(t){return e({queryKey:j.bundleChildren.list(t),queryFn:()=>y({data:{baseBundleId:t}}),staleTime:1/0,enabled:!!t})}function U(t){let n=[...t].sort((e,t)=>e.localeCompare(t));return e({queryKey:j.bundleChildren.counts(n),queryFn:()=>b({data:{bundleIds:n}}),staleTime:1/0,enabled:n.length>0})}function W(e,t,n){return a({queryKey:j.nativeBuilds.fold(e,t),queryFn:({pageParam:n})=>S({data:{...t,...e===void 0?{}:{channel:e},...n===void 0?{}:{after:n}}}),initialPageParam:void 0,getNextPageParam:e=>e.next,enabled:n,staleTime:6e4})}function G(t,{enabled:n=!0}={}){return e({queryKey:j.nativeBuilds.list(t),queryFn:()=>x({data:t}),placeholderData:e=>e,staleTime:6e4,enabled:n})}function K(t){return e({queryKey:j.nativeBuild(t),queryFn:()=>C({data:{id:t}}),enabled:t.length>0})}function q(t,n,r){return e({queryKey:j.nativeBuildPatches(t,n),queryFn:()=>w({data:{minBundleId:t,...n}}),enabled:r&&t.length>0,placeholderData:e=>e})}function J(t){return e({queryKey:j.releaseNativeBuild(t??{platform:`ios`,channel:``,fingerprintHash:null,targetAppVersion:null}),queryFn:()=>T({data:t}),enabled:t!==null,staleTime:6e4})}function Y(t){return e({queryKey:j.nativeBuildDownloadLink(t),queryFn:()=>O({data:{id:t}}),staleTime:N})}function X(t,n){return e({queryKey:j.nativeBuildInstallEligibility(t,n),queryFn:()=>k({data:{id:t,...n===null?{}:{udid:n}}}),staleTime:P,refetchInterval:P})}function Z(t){return e({queryKey:j.nativeBuildDownloadUrl(t),queryFn:()=>D({data:{id:t}}),staleTime:M})}function Q(){let e=n();return o({mutationFn:e=>g({data:e}).then(e=>e.data),onSuccess:async()=>{await e.invalidateQueries({queryKey:j.channels})}})}function $(){let e=n();return o({mutationFn:e=>_({data:e}).then(e=>e.data),onSettled:async()=>{await e.invalidateQueries({queryKey:j.channels})}})}function te(){let e=n();return o({mutationFn:e=>E({data:e}),onSettled:async()=>{await Promise.all([e.invalidateQueries({queryKey:[`native-build`]}),e.invalidateQueries({queryKey:j.nativeBuilds.all}),e.invalidateQueries({queryKey:[`release-native-build`]})])}})}function ne(){let e=n();return o({mutationFn:e=>l({data:e}),onSuccess:async(t,n)=>{await Promise.all([e.invalidateQueries({queryKey:j.releases.all}),e.invalidateQueries({queryKey:j.release(n.releaseId)}),e.invalidateQueries({queryKey:[`release-catalog`]}),e.invalidateQueries({queryKey:j.channels})])}})}function re(){return o({mutationFn:e=>u({data:e})})}function ie(){let e=n();return o({mutationFn:e=>d({data:e}),onSuccess:async(t,n)=>{e.removeQueries({queryKey:j.release(n.releaseId)}),await Promise.all([e.invalidateQueries({queryKey:j.releases.all}),e.invalidateQueries({queryKey:[`release-catalog`]}),e.invalidateQueries({queryKey:j.channels}),e.invalidateQueries({queryKey:[`bundle`]}),e.invalidateQueries({queryKey:j.bundleChildren.all})])}})}function ae(){let e=n();return o({mutationFn:e=>f({data:e}),onSuccess:async()=>{await Promise.all([e.invalidateQueries({queryKey:j.releases.all}),e.invalidateQueries({queryKey:[`release`]}),e.invalidateQueries({queryKey:[`release-catalog`]}),e.invalidateQueries({queryKey:j.channels})])}})}export{L as C,z as S,re as _,F as a,R as b,ie as c,Y as d,Z as f,G as g,q as h,I as i,te as l,X as m,H as n,Q as o,W as p,V as r,$ as s,U as t,K as u,ae as v,ne as w,J as x,B as y};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Ar as e,Di as t,Ri as n,Vr as r,Z as i,vr as a,yr as o}from"./sidebar-BmzmPGuv.js";var s=r(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]);n();var c=t(),l=o(`group/alert relative grid w-full gap-0.5 rounded-lg border px-2 py-1.5 text-left text-xs/relaxed has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-1.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-3.5`,{variants:{variant:{default:`bg-card text-card-foreground`,destructive:`bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current`}},defaultVariants:{variant:`default`}});function u({className:e,variant:t,...n}){return(0,c.jsx)(`div`,{"data-slot":`alert`,role:`alert`,className:a(l({variant:t}),e),...n})}function d({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`alert-title`,className:a(`font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground`,e),...t})}function f({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`alert-description`,className:a(`text-xs/relaxed text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4`,e),...t})}function p({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`alert-action`,className:a(`absolute top-1.5 right-2`,e),...t})}var m=o(`inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2`,{variants:{variant:{default:`border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80`,secondary:`border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80`,success:`border-success/20 bg-success/10 text-success`,warning:`border-warning/20 bg-warning/10 text-warning`,muted:`border-badge-muted/20 bg-badge-muted/10 font-medium text-badge-muted`,destructive:`border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80`,outline:`text-foreground`}},defaultVariants:{variant:`default`}});function h({className:t,variant:n=`default`,render:r,...o}){return i({defaultTagName:`span`,props:e({className:a(m({variant:n}),t)},o),render:r,state:{slot:`badge`,variant:n}})}export{d as a,f as i,u as n,s as o,p as r,h as t};
@@ -0,0 +1 @@
1
+ import{Di as e,Ri as t,vr as n}from"./sidebar-BmzmPGuv.js";t();var r=e();function i({className:e,...t}){return(0,r.jsx)(`div`,{"data-slot":`card`,className:n(`rounded-xl border bg-card text-card-foreground shadow`,e),...t})}function a({className:e,...t}){return(0,r.jsx)(`div`,{"data-slot":`card-header`,className:n(`flex flex-col gap-1.5 p-6`,e),...t})}function o({className:e,...t}){return(0,r.jsx)(`div`,{"data-slot":`card-title`,className:n(`font-semibold leading-none tracking-tight`,e),...t})}function s({className:e,...t}){return(0,r.jsx)(`div`,{"data-slot":`card-description`,className:n(`text-sm text-muted-foreground`,e),...t})}function c({className:e,...t}){return(0,r.jsx)(`div`,{"data-slot":`card-content`,className:n(`p-6 pt-0`,e),...t})}function l({className:e,...t}){return(0,r.jsx)(`div`,{"data-slot":`card-footer`,className:n(`flex items-center p-6 pt-0`,e),...t})}export{a,l as i,c as n,o,s as r,i as t};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]);export{t};
@@ -1 +1 @@
1
- import{ir as e}from"./sidebar-Di9SN47G.js";var t=e(`circle-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`,key:`1pfsoa`}],[`path`,{d:`M19.08 19.08A10 10 0 1 1 4.92 4.92`,key:`1ablyi`}]]);export{t};
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`circle-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`,key:`1pfsoa`}],[`path`,{d:`M19.08 19.08A10 10 0 1 1 4.92 4.92`,key:`1ablyi`}]]);export{t};
@@ -1 +1 @@
1
- import{ir as e}from"./sidebar-Di9SN47G.js";var t=e(`clipboard`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}]]);export{t};
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`clipboard`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}]]);export{t};
@@ -1 +1 @@
1
- import{Gr as e,Qr as t,Vr as n,ar as r,nr as i}from"./sidebar-Di9SN47G.js";function a(e){return e}var o={insights:{plugin:`insights`,label:`Insights`,remote:!0},insightsAnalytics:{plugin:`insights`,label:`Insights`,remote:!1},remoteConfig:{plugin:`remoteConfig`,label:`Remote Config`,remote:!0},apiKeys:{plugin:`apiKeys`,label:`API keys`,remote:!1}},s=Object.keys(o),c=(e,{remote:t})=>t&&!o[e].remote?`remote`:`plugin`,l=e=>e instanceof Error&&e.name===`ConsoleFeatureUnavailableError`&&s.includes(Reflect.get(e,`feature`)),u=n({method:`GET`}).middleware([i]).handler(e(`82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe`)),d=[`console`,`features`],f=()=>a({queryKey:d,queryFn:()=>u(),staleTime:1/0}),p=()=>r(f()),m=e=>p().data?.features[e]===!0,h=e=>{let t=typeof e==`object`&&e?Reflect.get(e,`feature`):void 0;return typeof t==`string`&&Object.hasOwn(o,t)?t:void 0},g=async(e,n)=>{let r=await e.ensureQueryData(f()).catch(()=>{e.removeQueries({queryKey:d,exact:!0})});if(r!==void 0&&!r.features[n])throw t({data:{feature:n}})};export{p as a,c,m as i,a as l,h as n,o,g as r,l as s,f as t};
1
+ import{Fi as e,Hr as t,Oi as n,wi as r,zr as i}from"./sidebar-BmzmPGuv.js";function a(e){return e}var o={insights:{plugin:`insights`,label:`Insights`,remote:!0},insightsAnalytics:{plugin:`insights`,label:`Insights`,remote:!1},remoteConfig:{plugin:`remoteConfig`,label:`Remote Config`,remote:!0},apiKeys:{plugin:`apiKeys`,label:`API keys`,remote:!1}},s=Object.keys(o),c=(e,{remote:t})=>t&&!o[e].remote?`remote`:`plugin`,l=e=>e instanceof Error&&e.name===`ConsoleFeatureUnavailableError`&&s.includes(Reflect.get(e,`feature`)),u=r({method:`GET`}).middleware([i]).handler(n(`82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe`)),d=[`console`,`features`],f=()=>a({queryKey:d,queryFn:()=>u(),staleTime:1/0}),p=()=>t(f()),m=e=>p().data?.features[e]===!0,h=e=>{let t=typeof e==`object`&&e?Reflect.get(e,`feature`):void 0;return typeof t==`string`&&Object.hasOwn(o,t)?t:void 0},g=async(t,n)=>{let r=await t.ensureQueryData(f()).catch(()=>{t.removeQueries({queryKey:d,exact:!0})});if(r!==void 0&&!r.features[n])throw e({data:{feature:n}})};export{p as a,c,m as i,a as l,h as n,o,g as r,l as s,f as t};
@@ -1 +1 @@
1
- var e=`[a-zA-Z0-9-]`,t=String.raw`0|[1-9]\d*`,n=String.raw`\d+`,r=String.raw`\d*[a-zA-Z-]${e}*`,i=String.raw`(${t})\.(${t})\.(${t})`,a=String.raw`(${n})\.(${n})\.(${n})`,o=`(?:${r}|${t})`,s=`(?:${r}|${n})`,c=String.raw`(?:-(${o}(?:\.${o})*))`,l=String.raw`(?:-?(${s}(?:\.${s})*))`,u=`${e}+`,d=String.raw`(?:\+(${u}(?:\.${u})*))`,ee=`v?${i}${c}?${d}?`,f=String.raw`[v=\s]*${a}${l}?${d}?`,p=String.raw`${t}|x|X|\*`,m=String.raw`${n}|x|X|\*`;String.raw`[v=\s]*(${p})(?:\.(${p})(?:\.(${p})(?:${c})?${d}?)?)?`,String.raw`[v=\s]*(${m})(?:\.(${m})(?:\.(${m})(?:${l})?${d}?)?)?`,String.raw`(?:\^)`;var h=String.raw`(^|[^\d])(\d{1,${16}})(?:\.(\d{1,${16}}))?(?:\.(\d{1,${16}}))?`,g=String.raw`${h}(?:$|[^\d])`,_=String.raw`${h}(?:${c})?(?:${d})?(?:$|[^\d])`;function v(t){let n=[[String.raw`\s`,1],[String.raw`\d`,256],[e,250]];for(let[e,r]of n)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t}function y(e,t){return new RegExp(v(e),t)}var b=y(`^${ee}$`),x=y(`^${f}$`),S=/^\d+$/;function te(e){let t=`${e.major}.${e.minor}.${e.patch}`;return e.prerelease?.length?`${t}-${e.prerelease.join(`.`)}`:t}function ne(e){let t=te(e);return e.build?.length?`${t}+${e.build.join(`.`)}`:t}function re(e,t={}){if(typeof e!=`string`)return e;if(e.length>256)throw TypeError(`Version exceeds the maximum length of 256 characters`);let n=e.trim().match(t.loose?x:b);if(!n)throw TypeError(`Invalid version syntax: ${e}`);let r=Number(n[1]),i=Number(n[2]),a=Number(n[3]);if(r>2**53-1||r<0)throw TypeError(`Invalid major version: ${n[1]}`);if(i>2**53-1||i<0)throw TypeError(`Invalid minor version: ${n[2]}`);if(a>2**53-1||a<0)throw TypeError(`Invalid patch version: ${n[3]}`);let o=n[4]?n[4].split(`.`).map(e=>{if(S.test(e)){let t=Number(e);if(t>=0&&t<2**53-1)return t}return e}):void 0;return{build:n[5]?.split(`.`),major:r,minor:i,patch:a,prerelease:o}}function C(e,t={}){try{return re(e,t)}catch{return null}}var ie=y(g),w=y(_);y(`^${c}$`),y(`^${l}$`);function T(e,t={}){let n=C(e,t);return n?ne(n):null}function E(e,t={}){if(typeof e==`object`)return e;let n=typeof e==`number`?String(e):e,r=null;if(t.rtl){let e=y(t.includePrerelease?_:g,`g`),i;for(;(i=e.exec(n))&&(!r||r.index+r[0].length!==n.length);)(!r||i.index+i[0].length!==r.index+r[0].length)&&(r=i),e.lastIndex=i.index+i[1].length+i[2].length}else r=(t.includePrerelease?w:ie).exec(n);if(!r)return null;let i=r[2];return C(`${i}.${r[3]||`0`}.${r[4]||`0`}${t.includePrerelease&&r[5]?`-${r[5]}`:``}${t.includePrerelease&&r[6]?`+${r[6]}`:``}`,t)}function D(e){let t=E(e);return t?T(t):null}var O=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`;function k(e){let t=[];for(let n of e){let e=n.codePointAt(0);e<=127?t.push(e):e<=2047?t.push(192|e>>6,128|e&63):e<=65535?t.push(224|e>>12,128|e>>6&63,128|e&63):t.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|e&63)}return t}function A(e){let t=``;for(let n=0;n<e.length;){let r=e[n++],i,a;if(r<=127)i=r,a=0;else if((r&224)==192)i=r&31,a=1;else if((r&240)==224)i=r&15,a=2;else if((r&248)==240)i=r&7,a=3;else throw Error(`Invalid UTF-8 channel key`);for(let t=0;t<a;t+=1){let t=e[n++];if(t===void 0||(t&192)!=128)throw Error(`Invalid UTF-8 channel key`);i=i<<6|t&63}if(i>1114111||i>=55296&&i<=57343||a===1&&i<128||a===2&&i<2048||a===3&&i<65536)throw Error(`Invalid UTF-8 channel key`);t+=String.fromCodePoint(i)}return t}function j(e){let t=``;for(let n=0;n<e.length;n+=3){let r=e[n],i=e[n+1],a=e[n+2],o=r<<16|(i??0)<<8|(a??0);t+=O[o>>18&63],t+=O[o>>12&63],i!==void 0&&(t+=O[o>>6&63]),a!==void 0&&(t+=O[o&63])}return t}function M(e){if(!/^[A-Za-z0-9_-]*$/.test(e)||e.length%4==1)throw Error(`Invalid channel key`);let t=[];for(let n=0;n<e.length;n+=4){let r=e.slice(n,n+4),i=[...r].map(e=>O.indexOf(e));if(i.some(e=>e<0))throw Error(`Invalid channel key`);let a=i[0]<<18|i[1]<<12|(i[2]??0)<<6|(i[3]??0);t.push(a>>16&255),r.length>=3&&t.push(a>>8&255),r.length===4&&t.push(a&255)}return t}function N(e){return e.trim().normalize(`NFC`)}function P(e){let t=N(e);if(t.length===0||t!==e)throw Error(`Channel name must be non-empty, trimmed, and NFC-normalized`);let n=0;for(let e of t)if(n+=1,n>255)throw Error(`Channel name must not exceed 255 characters`)}function F(e){return P(e),j(k(e))}function I(e){let t=A(M(e));if(P(t),F(t)!==e)throw Error(`Channel key is not canonically encoded`);return t}var L=/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/,R=e=>typeof e==`string`&&L.test(e),z=e=>{if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return typeof t.baseBundleId==`string`&&typeof t.baseFileHash==`string`&&typeof t.patchFileHash==`string`&&typeof t.patchStorageUri==`string`},B=e=>Array.isArray(e)?e.filter(z):[],V=e=>{let t=B(e.patches),n=new Set;return t.filter(e=>n.has(e.baseBundleId)?!1:(n.add(e.baseBundleId),!0))},H=e=>V(e)[0]??null,U=e=>H(e)?.baseBundleId??null,ae=e=>H(e)?.baseFileHash??null,W=e=>H(e)?.patchFileHash??null,G=1e3,K=G,q=`Invalid cohort. Use 1-1000 or a lowercase slug without spaces, up to 64 characters.`,J=/^[a-z0-9-]+$/;function Y(e){if(!/^\d+$/.test(e))return null;let t=Number.parseInt(e,10);return Number.isNaN(t)||t<1||t>1e3?null:t}function X(e,t){return(e%t+t)%t}function Z(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t=(t<<5)-t+r,t|=0}return t}function oe(e,t){let n=Math.abs(e),r=Math.abs(t);for(;r!==0;){let e=n%r;n=r,r=e}return n}function se(e,t){let n=0,r=1,i=t,a=X(e,t);for(;a!==0;){let e=Math.floor(i/a);[n,r]=[r,n-e*r],[i,a]=[a,i-e*a]}if(i>1)throw Error(`No modular inverse for ${e} mod ${t}`);return X(n,t)}function ce(e){let t=X(Z(`${e}:multiplier`),997);for(t===0&&(t=1);oe(t,G)!==1;)t=X(t+1,G),t===0&&(t=1);let n=X(Z(`${e}:offset`),G);return{multiplier:t,offset:n,inverseMultiplier:se(t,G)}}function le(e){return e==null?K:e<=0?0:e>=1e3?G:Math.floor(e)}function Q(e){let t=e.trim().toLowerCase(),n=Y(t);return n===null?t:String(n)}function $(e){return Y(Q(e))}function ue(e){return $(e)!==null}function de(e){let t=Q(e);return t.length>0&&t.length<=64&&!/^\d+$/.test(t)&&J.test(t)}function fe(e){let t=Q(e);return ue(t)||de(t)}function pe(e,t){if(t<1||t>1e3)throw Error(`Invalid numeric cohort: ${t}`);let{offset:n,inverseMultiplier:r}=ce(e);return X(r*(t-1-n),G)}var me=e=>{if(!R(e))throw TypeError(`Expected a canonical lowercase UUIDv7`);let t=e.split(`-`).join(``).slice(0,12);return Number.parseInt(t,16)};export{U as a,fe as c,P as d,D as f,pe as i,Q as l,R as m,q as n,ae as o,I as p,G as r,W as s,me as t,le as u};
1
+ var e=`[a-zA-Z0-9-]`,t=String.raw`0|[1-9]\d*`,n=String.raw`\d+`,r=String.raw`\d*[a-zA-Z-]${e}*`,i=String.raw`(${t})\.(${t})\.(${t})`,a=String.raw`(${n})\.(${n})\.(${n})`,o=`(?:${r}|${t})`,s=`(?:${r}|${n})`,c=String.raw`(?:-(${o}(?:\.${o})*))`,l=String.raw`(?:-?(${s}(?:\.${s})*))`,u=`${e}+`,d=String.raw`(?:\+(${u}(?:\.${u})*))`,ee=`v?${i}${c}?${d}?`,f=String.raw`[v=\s]*${a}${l}?${d}?`,p=String.raw`${t}|x|X|\*`,m=String.raw`${n}|x|X|\*`;String.raw`[v=\s]*(${p})(?:\.(${p})(?:\.(${p})(?:${c})?${d}?)?)?`,String.raw`[v=\s]*(${m})(?:\.(${m})(?:\.(${m})(?:${l})?${d}?)?)?`,String.raw`(?:\^)`;var h=String.raw`(^|[^\d])(\d{1,${16}})(?:\.(\d{1,${16}}))?(?:\.(\d{1,${16}}))?`,g=String.raw`${h}(?:$|[^\d])`,_=String.raw`${h}(?:${c})?(?:${d})?(?:$|[^\d])`;function v(t){let n=[[String.raw`\s`,1],[String.raw`\d`,256],[e,250]];for(let[e,r]of n)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t}function y(e,t){return new RegExp(v(e),t)}var b=y(`^${ee}$`),x=y(`^${f}$`),S=/^\d+$/;function te(e){let t=`${e.major}.${e.minor}.${e.patch}`;return e.prerelease?.length?`${t}-${e.prerelease.join(`.`)}`:t}function ne(e){let t=te(e);return e.build?.length?`${t}+${e.build.join(`.`)}`:t}function re(e,t={}){if(typeof e!=`string`)return e;if(e.length>256)throw TypeError(`Version exceeds the maximum length of 256 characters`);let n=e.trim().match(t.loose?x:b);if(!n)throw TypeError(`Invalid version syntax: ${e}`);let r=Number(n[1]),i=Number(n[2]),a=Number(n[3]);if(r>2**53-1||r<0)throw TypeError(`Invalid major version: ${n[1]}`);if(i>2**53-1||i<0)throw TypeError(`Invalid minor version: ${n[2]}`);if(a>2**53-1||a<0)throw TypeError(`Invalid patch version: ${n[3]}`);let o=n[4]?n[4].split(`.`).map(e=>{if(S.test(e)){let t=Number(e);if(t>=0&&t<2**53-1)return t}return e}):void 0;return{build:n[5]?.split(`.`),major:r,minor:i,patch:a,prerelease:o}}function C(e,t={}){try{return re(e,t)}catch{return null}}var ie=y(g),w=y(_);y(`^${c}$`),y(`^${l}$`);function T(e,t={}){let n=C(e,t);return n?ne(n):null}function E(e,t={}){if(typeof e==`object`)return e;let n=typeof e==`number`?String(e):e,r=null;if(t.rtl){let e=y(t.includePrerelease?_:g,`g`),i;for(;(i=e.exec(n))&&(!r||r.index+r[0].length!==n.length);)(!r||i.index+i[0].length!==r.index+r[0].length)&&(r=i),e.lastIndex=i.index+i[1].length+i[2].length}else r=(t.includePrerelease?w:ie).exec(n);if(!r)return null;let i=r[2];return C(`${i}.${r[3]||`0`}.${r[4]||`0`}${t.includePrerelease&&r[5]?`-${r[5]}`:``}${t.includePrerelease&&r[6]?`+${r[6]}`:``}`,t)}function D(e){let t=E(e);return t?T(t):null}var O=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`;function k(e){let t=[];for(let n of e){let e=n.codePointAt(0);e<=127?t.push(e):e<=2047?t.push(192|e>>6,128|e&63):e<=65535?t.push(224|e>>12,128|e>>6&63,128|e&63):t.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|e&63)}return t}function A(e){let t=``;for(let n=0;n<e.length;){let r=e[n++],i,a;if(r<=127)i=r,a=0;else if((r&224)==192)i=r&31,a=1;else if((r&240)==224)i=r&15,a=2;else if((r&248)==240)i=r&7,a=3;else throw Error(`Invalid UTF-8 channel key`);for(let t=0;t<a;t+=1){let t=e[n++];if(t===void 0||(t&192)!=128)throw Error(`Invalid UTF-8 channel key`);i=i<<6|t&63}if(i>1114111||i>=55296&&i<=57343||a===1&&i<128||a===2&&i<2048||a===3&&i<65536)throw Error(`Invalid UTF-8 channel key`);t+=String.fromCodePoint(i)}return t}function j(e){let t=``;for(let n=0;n<e.length;n+=3){let r=e[n],i=e[n+1],a=e[n+2],o=r<<16|(i??0)<<8|(a??0);t+=O[o>>18&63],t+=O[o>>12&63],i!==void 0&&(t+=O[o>>6&63]),a!==void 0&&(t+=O[o&63])}return t}function M(e){if(!/^[A-Za-z0-9_-]*$/.test(e)||e.length%4==1)throw Error(`Invalid channel key`);let t=[];for(let n=0;n<e.length;n+=4){let r=e.slice(n,n+4),i=[...r].map(e=>O.indexOf(e));if(i.some(e=>e<0))throw Error(`Invalid channel key`);let a=i[0]<<18|i[1]<<12|(i[2]??0)<<6|(i[3]??0);t.push(a>>16&255),r.length>=3&&t.push(a>>8&255),r.length===4&&t.push(a&255)}return t}function N(e){return e.trim().normalize(`NFC`)}function P(e){let t=N(e);if(t.length===0||t!==e)throw Error(`Channel name must be non-empty, trimmed, and NFC-normalized`);let n=0;for(let e of t)if(n+=1,n>255)throw Error(`Channel name must not exceed 255 characters`)}function F(e){return P(e),j(k(e))}function I(e){let t=A(M(e));if(P(t),F(t)!==e)throw Error(`Channel key is not canonically encoded`);return t}var L=/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/,R=e=>typeof e==`string`&&L.test(e),z=e=>{if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return typeof t.baseBundleId==`string`&&typeof t.baseFileHash==`string`&&typeof t.patchFileHash==`string`&&typeof t.patchStorageUri==`string`},B=e=>Array.isArray(e)?e.filter(z):[],V=e=>{let t=B(e.patches),n=new Set;return t.filter(e=>n.has(e.baseBundleId)?!1:(n.add(e.baseBundleId),!0))},H=e=>V(e)[0]??null,U=e=>H(e)?.baseBundleId??null,ae=e=>H(e)?.baseFileHash??null,W=e=>H(e)?.patchFileHash??null,G=1e3,K=G,q=`Invalid cohort. Use 1-1000 or a lowercase slug without spaces, up to 64 characters.`,J=/^[a-z0-9-]+$/;function Y(e){if(!/^\d+$/.test(e))return null;let t=Number.parseInt(e,10);return Number.isNaN(t)||t<1||t>1e3?null:t}function X(e,t){return(e%t+t)%t}function Z(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t=(t<<5)-t+r,t|=0}return t}function oe(e,t){let n=Math.abs(e),r=Math.abs(t);for(;r!==0;){let e=n%r;n=r,r=e}return n}function se(e,t){let n=0,r=1,i=t,a=X(e,t);for(;a!==0;){let e=Math.floor(i/a);[n,r]=[r,n-e*r],[i,a]=[a,i-e*a]}if(i>1)throw Error(`No modular inverse for ${e} mod ${t}`);return X(n,t)}function ce(e){let t=X(Z(`${e}:multiplier`),997);for(t===0&&(t=1);oe(t,G)!==1;)t=X(t+1,G),t===0&&(t=1);let n=X(Z(`${e}:offset`),G);return{multiplier:t,offset:n,inverseMultiplier:se(t,G)}}function le(e){return e==null?K:e<=0?0:e>=1e3?G:Math.floor(e)}function Q(e){let t=e.trim().toLowerCase(),n=Y(t);return n===null?t:String(n)}function $(e){return Y(Q(e))}function ue(e){return $(e)!==null}function de(e){let t=Q(e);return t.length>0&&t.length<=64&&!/^\d+$/.test(t)&&J.test(t)}function fe(e){let t=Q(e);return ue(t)||de(t)}function pe(e,t){if(t<1||t>1e3)throw Error(`Invalid numeric cohort: ${t}`);let{offset:n,inverseMultiplier:r}=ce(e);return X(r*(t-1-n),G)}var me=e=>{if(!R(e))throw TypeError(`Expected a canonical lowercase UUIDv7`);let t=e.split(`-`).join(``).slice(0,12);return Number.parseInt(t,16)},he=`production`,ge=`All channels`;export{G as a,ae as c,Q as d,le as f,R as g,I as h,q as i,W as l,D as m,he as n,pe as o,P as p,me as r,U as s,ge as t,fe as u};
@@ -1 +1 @@
1
- import{ir as e}from"./sidebar-Di9SN47G.js";var t=e(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]);export{t};
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Br as e,Di as t,E as n,J as r,Ri as i,S as a,T as o,X as s,Y as c,gr as l,j as u,k as d,vr as f}from"./sidebar-BmzmPGuv.js";i();var p=t();function m({...e}){return(0,p.jsx)(n,{"data-slot":`dialog`,...e})}function h({...e}){return(0,p.jsx)(a,{"data-slot":`dialog-trigger`,...e})}function g({...e}){return(0,p.jsx)(d,{"data-slot":`dialog-portal`,...e})}function _({className:e,...t}){return(0,p.jsx)(s,{"data-slot":`dialog-overlay`,className:f(`fixed inset-0 isolate z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,e),...t})}function v({className:t,children:n,showCloseButton:r=!0,...i}){return(0,p.jsxs)(g,{children:[(0,p.jsx)(_,{}),(0,p.jsxs)(u,{"data-slot":`dialog-content`,className:f(`fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-background p-4 text-xs/relaxed ring-1 ring-foreground/10 duration-100 outline-none max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,t),...i,children:[n,r&&(0,p.jsxs)(c,{"data-slot":`dialog-close`,render:(0,p.jsx)(l,{variant:`ghost`,className:`absolute top-2 right-2 max-md:top-1 max-md:right-1 max-md:size-11`,size:`icon-sm`}),children:[(0,p.jsx)(e,{}),(0,p.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function y({className:e,...t}){return(0,p.jsx)(`div`,{"data-slot":`dialog-header`,className:f(`flex flex-col gap-1`,e),...t})}function b({className:e,showCloseButton:t=!1,children:n,...r}){return(0,p.jsxs)(`div`,{"data-slot":`dialog-footer`,className:f(`flex flex-col-reverse gap-2 max-sm:*:min-h-11 sm:flex-row sm:justify-end`,e),...r,children:[n,t&&(0,p.jsx)(c,{render:(0,p.jsx)(l,{variant:`outline`}),children:`Close`})]})}function x({className:e,...t}){return(0,p.jsx)(o,{"data-slot":`dialog-title`,className:f(`text-sm font-medium`,e),...t})}function S({className:e,...t}){return(0,p.jsx)(r,{"data-slot":`dialog-description`,className:f(`text-xs/relaxed text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,e),...t})}export{y as a,b as i,v as n,x as o,S as r,h as s,m as t};
@@ -0,0 +1 @@
1
+ import{Li as e,Ri as t,Vi as n,Vr as r}from"./sidebar-BmzmPGuv.js";var i=r(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),a=n(t(),1),o=n(e(),1);function s(e){if(!e||typeof document>`u`)return;let t=document.head||document.getElementsByTagName(`head`)[0],n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}var c=e=>{switch(e){case`success`:return d;case`info`:return p;case`warning`:return f;case`error`:return m;default:return null}},l=Array(12).fill(0),u=({visible:e,className:t})=>a.createElement(`div`,{className:[`sonner-loading-wrapper`,t].filter(Boolean).join(` `),"data-visible":e},a.createElement(`div`,{className:`sonner-spinner`},l.map((e,t)=>a.createElement(`div`,{className:`sonner-loading-bar`,key:`spinner-bar-${t}`})))),d=a.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},a.createElement(`path`,{fillRule:`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,clipRule:`evenodd`})),f=a.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`},a.createElement(`path`,{fillRule:`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,clipRule:`evenodd`})),p=a.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},a.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,clipRule:`evenodd`})),m=a.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},a.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,clipRule:`evenodd`})),ee=a.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`},a.createElement(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),a.createElement(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})),te=()=>{let[e,t]=a.useState(document.hidden);return a.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener(`visibilitychange`,e),()=>window.removeEventListener(`visibilitychange`,e)},[]),e},h=1,g=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{let{message:t,...n}=e,r=typeof e?.id==`number`||e.id?.length>0?e.id:h++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:`error`}),this.success=(e,t)=>this.create({...t,type:`success`,message:e}),this.info=(e,t)=>this.create({...t,type:`info`,message:e}),this.warning=(e,t)=>this.create({...t,type:`warning`,message:e}),this.loading=(e,t)=>this.create({...t,type:`loading`,message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,o,s=r.then(async e=>{if(o=[`resolve`,e],a.isValidElement(e))i=!1,this.create({id:n,type:`default`,message:e});else if(v(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,o=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,s=typeof r==`object`&&!a.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:o,...s})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,o=typeof t.description==`function`?await t.description(e):t.description,s=typeof r==`object`&&!a.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:o,...s})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,o=typeof t.description==`function`?await t.description(e):t.description,s=typeof r==`object`&&!a.isValidElement(r)?r:{message:r};this.create({id:n,type:`success`,description:o,...s})}}).catch(async e=>{if(o=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,o=typeof t.description==`function`?await t.description(e):t.description,s=typeof r==`object`&&!a.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:o,...s})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally==null||t.finally.call(t)}),c=()=>new Promise((e,t)=>s.then(()=>o[0]===`reject`?t(o[1]):e(o[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:c}:Object.assign(n,{unwrap:c})},this.custom=(e,t)=>{let n=t?.id||h++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},_=(e,t)=>{let n=t?.id||h++;return g.addToast({title:e,...t,id:n}),n},v=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,y=Object.assign(_,{success:g.success,info:g.info,warning:g.warning,error:g.error,custom:g.custom,message:g.message,promise:g.promise,dismiss:g.dismiss,loading:g.loading},{getHistory:()=>g.toasts,getToasts:()=>g.getActiveToasts()});s(`[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}`);function b(e){return e.label!==void 0}var ne=3,x=`24px`,S=`16px`,C=4e3,w=356,re=14,T=45,ie=200;function E(...e){return e.filter(Boolean).join(` `)}function ae(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}var D=e=>{let{invert:t,toast:n,unstyled:r,interacting:i,setHeights:o,visibleToasts:s,heights:l,index:d,toasts:f,expanded:p,removeToast:m,defaultRichColors:h,closeButton:g,style:_,cancelButtonStyle:v,actionButtonStyle:y,className:ne=``,descriptionClassName:x=``,duration:S,position:w,gap:re,expandByDefault:D,classNames:O,icons:k,closeButtonAriaLabel:A=`Close toast`}=e,[j,M]=a.useState(null),[N,oe]=a.useState(null),[P,F]=a.useState(!1),[I,L]=a.useState(!1),[R,z]=a.useState(!1),[B,se]=a.useState(!1),[ce,V]=a.useState(!1),[le,H]=a.useState(0),[ue,U]=a.useState(0),W=a.useRef(n.duration||S||C),de=a.useRef(null),G=a.useRef(null),fe=d===0,pe=d+1<=s,K=n.type,q=n.dismissible!==!1,me=n.className||``,he=n.descriptionClassName||``,J=a.useMemo(()=>l.findIndex(e=>e.toastId===n.id)||0,[l,n.id]),ge=a.useMemo(()=>n.closeButton??g,[n.closeButton,g]),_e=a.useMemo(()=>n.duration||S||C,[n.duration,S]),Y=a.useRef(0),X=a.useRef(0),ve=a.useRef(0),Z=a.useRef(null),[ye,be]=w.split(`-`),xe=a.useMemo(()=>l.reduce((e,t,n)=>n>=J?e:e+t.height,0),[l,J]),Se=te(),Ce=n.invert||t,Q=K===`loading`;X.current=a.useMemo(()=>J*re+xe,[J,xe]),a.useEffect(()=>{W.current=_e},[_e]),a.useEffect(()=>{F(!0)},[]),a.useEffect(()=>{let e=G.current;if(e){let t=e.getBoundingClientRect().height;return U(t),o(e=>[{toastId:n.id,height:t,position:n.position},...e]),()=>o(e=>e.filter(e=>e.toastId!==n.id))}},[o,n.id]),a.useLayoutEffect(()=>{if(!P)return;let e=G.current,t=e.style.height;e.style.height=`auto`;let r=e.getBoundingClientRect().height;e.style.height=t,U(r),o(e=>e.find(e=>e.toastId===n.id)?e.map(e=>e.toastId===n.id?{...e,height:r}:e):[{toastId:n.id,height:r,position:n.position},...e])},[P,n.title,n.description,o,n.id,n.jsx,n.action,n.cancel]);let $=a.useCallback(()=>{L(!0),H(X.current),o(e=>e.filter(e=>e.toastId!==n.id)),setTimeout(()=>{m(n)},ie)},[n,m,o,X]);a.useEffect(()=>{if(n.promise&&K===`loading`||n.duration===1/0||n.type===`loading`)return;let e;return p||i||Se?(()=>{if(ve.current<Y.current){let e=new Date().getTime()-Y.current;W.current-=e}ve.current=new Date().getTime()})():W.current!==1/0&&(Y.current=new Date().getTime(),e=setTimeout(()=>{n.onAutoClose==null||n.onAutoClose.call(n,n),$()},W.current)),()=>clearTimeout(e)},[p,i,n,K,Se,$]),a.useEffect(()=>{n.delete&&($(),n.onDismiss==null||n.onDismiss.call(n,n))},[$,n.delete]);function we(){return k?.loading?a.createElement(`div`,{className:E(O?.loader,n?.classNames?.loader,`sonner-loader`),"data-visible":K===`loading`},k.loading):a.createElement(u,{className:E(O?.loader,n?.classNames?.loader),visible:K===`loading`})}let Te=n.icon||k?.[K]||c(K);return a.createElement(`li`,{tabIndex:0,ref:G,className:E(ne,me,O?.toast,n?.classNames?.toast,O?.default,O?.[K],n?.classNames?.[K]),"data-sonner-toast":``,"data-rich-colors":n.richColors??h,"data-styled":!(n.jsx||n.unstyled||r),"data-mounted":P,"data-promise":!!n.promise,"data-swiped":ce,"data-removed":I,"data-visible":pe,"data-y-position":ye,"data-x-position":be,"data-index":d,"data-front":fe,"data-swiping":R,"data-dismissible":q,"data-type":K,"data-invert":Ce,"data-swipe-out":B,"data-swipe-direction":N,"data-expanded":!!(p||D&&P),"data-testid":n.testId,style:{"--index":d,"--toasts-before":d,"--z-index":f.length-d,"--offset":`${I?le:X.current}px`,"--initial-height":D?`auto`:`${ue}px`,..._,...n.style},onDragEnd:()=>{z(!1),M(null),Z.current=null},onPointerDown:e=>{e.button!==2&&(Q||!q||(de.current=new Date,H(X.current),e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(z(!0),Z.current={x:e.clientX,y:e.clientY})))},onPointerUp:()=>{if(B||!q)return;Z.current=null;let e=Number(G.current?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(G.current?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-de.current?.getTime(),i=j===`x`?e:t,a=Math.abs(i)/r;if(Math.abs(i)>=T||a>.11){H(X.current),n.onDismiss==null||n.onDismiss.call(n,n),oe(j===`x`?e>0?`right`:`left`:t>0?`down`:`up`),$(),se(!0);return}else{var o,s;(o=G.current)==null||o.style.setProperty(`--swipe-amount-x`,`0px`),(s=G.current)==null||s.style.setProperty(`--swipe-amount-y`,`0px`)}V(!1),z(!1),M(null)},onPointerMove:t=>{var n,r;if(!Z.current||!q||window.getSelection()?.toString().length>0)return;let i=t.clientY-Z.current.y,a=t.clientX-Z.current.x,o=e.swipeDirections??ae(w);!j&&(Math.abs(a)>1||Math.abs(i)>1)&&M(Math.abs(a)>Math.abs(i)?`x`:`y`);let s={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if(j===`y`){if(o.includes(`top`)||o.includes(`bottom`))if(o.includes(`top`)&&i<0||o.includes(`bottom`)&&i>0)s.y=i;else{let e=i*c(i);s.y=Math.abs(e)<Math.abs(i)?e:i}}else if(j===`x`&&(o.includes(`left`)||o.includes(`right`)))if(o.includes(`left`)&&a<0||o.includes(`right`)&&a>0)s.x=a;else{let e=a*c(a);s.x=Math.abs(e)<Math.abs(a)?e:a}(Math.abs(s.x)>0||Math.abs(s.y)>0)&&V(!0),(n=G.current)==null||n.style.setProperty(`--swipe-amount-x`,`${s.x}px`),(r=G.current)==null||r.style.setProperty(`--swipe-amount-y`,`${s.y}px`)}},ge&&!n.jsx&&K!==`loading`?a.createElement(`button`,{"aria-label":A,"data-disabled":Q,"data-close-button":!0,onClick:Q||!q?()=>{}:()=>{$(),n.onDismiss==null||n.onDismiss.call(n,n)},className:E(O?.closeButton,n?.classNames?.closeButton)},k?.close??ee):null,(K||n.icon||n.promise)&&n.icon!==null&&(k?.[K]!==null||n.icon)?a.createElement(`div`,{"data-icon":``,className:E(O?.icon,n?.classNames?.icon)},n.promise||n.type===`loading`&&!n.icon?n.icon||we():null,n.type===`loading`?null:Te):null,a.createElement(`div`,{"data-content":``,className:E(O?.content,n?.classNames?.content)},a.createElement(`div`,{"data-title":``,className:E(O?.title,n?.classNames?.title)},n.jsx?n.jsx:typeof n.title==`function`?n.title():n.title),n.description?a.createElement(`div`,{"data-description":``,className:E(x,he,O?.description,n?.classNames?.description)},typeof n.description==`function`?n.description():n.description):null),a.isValidElement(n.cancel)?n.cancel:n.cancel&&b(n.cancel)?a.createElement(`button`,{"data-button":!0,"data-cancel":!0,style:n.cancelButtonStyle||v,onClick:e=>{b(n.cancel)&&q&&(n.cancel.onClick==null||n.cancel.onClick.call(n.cancel,e),$())},className:E(O?.cancelButton,n?.classNames?.cancelButton)},n.cancel.label):null,a.isValidElement(n.action)?n.action:n.action&&b(n.action)?a.createElement(`button`,{"data-button":!0,"data-action":!0,style:n.actionButtonStyle||y,onClick:e=>{b(n.action)&&(n.action.onClick==null||n.action.onClick.call(n.action,e),!e.defaultPrevented&&$())},className:E(O?.actionButton,n?.classNames?.actionButton)},n.action.label):null)};function O(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}function k(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?S:x;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var A=a.forwardRef(function(e,t){let{id:n,invert:r,position:i=`bottom-right`,hotkey:s=[`altKey`,`KeyT`],expand:c,closeButton:l,className:u,offset:d,mobileOffset:f,theme:p=`light`,richColors:m,duration:ee,style:te,visibleToasts:h=ne,toastOptions:_,dir:v=O(),gap:y=re,icons:b,containerAriaLabel:x=`Notifications`}=e,[S,C]=a.useState([]),T=a.useMemo(()=>n?S.filter(e=>e.toasterId===n):S.filter(e=>!e.toasterId),[S,n]),ie=a.useMemo(()=>Array.from(new Set([i].concat(T.filter(e=>e.position).map(e=>e.position)))),[T,i]),[E,ae]=a.useState([]),[A,j]=a.useState(!1),[M,N]=a.useState(!1),[oe,P]=a.useState(p===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:p),F=a.useRef(null),I=s.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),L=a.useRef(null),R=a.useRef(!1),z=a.useCallback(e=>{C(t=>(t.find(t=>t.id===e.id)?.delete||g.dismiss(e.id),t.filter(({id:t})=>t!==e.id)))},[]);return a.useEffect(()=>g.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{C(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))});return}setTimeout(()=>{o.flushSync(()=>{C(t=>{let n=t.findIndex(t=>t.id===e.id);return n===-1?[e,...t]:[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]})})})}),[S]),a.useEffect(()=>{if(p!==`system`){P(p);return}if(p===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?P(`dark`):P(`light`)),typeof window>`u`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`);try{e.addEventListener(`change`,({matches:e})=>{P(e?`dark`:`light`)})}catch{e.addListener(({matches:e})=>{try{P(e?`dark`:`light`)}catch(e){console.error(e)}})}},[p]),a.useEffect(()=>{S.length<=1&&j(!1)},[S]),a.useEffect(()=>{let e=e=>{if(s.every(t=>e[t]||e.code===t)){var t;j(!0),(t=F.current)==null||t.focus()}e.code===`Escape`&&(document.activeElement===F.current||F.current?.contains(document.activeElement))&&j(!1)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[s]),a.useEffect(()=>{if(F.current)return()=>{L.current&&(L.current.focus({preventScroll:!0}),L.current=null,R.current=!1)}},[F.current]),a.createElement(`section`,{ref:t,"aria-label":`${x} ${I}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,suppressHydrationWarning:!0},ie.map((t,n)=>{let[i,o]=t.split(`-`);return T.length?a.createElement(`ol`,{key:t,dir:v===`auto`?O():v,tabIndex:-1,ref:F,className:u,"data-sonner-toaster":!0,"data-sonner-theme":oe,"data-y-position":i,"data-x-position":o,style:{"--front-toast-height":`${E[0]?.height||0}px`,"--width":`${w}px`,"--gap":`${y}px`,...te,...k(d,f)},onBlur:e=>{R.current&&!e.currentTarget.contains(e.relatedTarget)&&(R.current=!1,L.current&&=(L.current.focus({preventScroll:!0}),null))},onFocus:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||R.current||(R.current=!0,L.current=e.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{M||j(!1)},onDragEnd:()=>j(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||N(!0)},onPointerUp:()=>N(!1)},T.filter(e=>!e.position&&n===0||e.position===t).map((n,i)=>a.createElement(D,{key:n.id,icons:b,index:i,toast:n,defaultRichColors:m,duration:_?.duration??ee,className:_?.className,descriptionClassName:_?.descriptionClassName,invert:r,visibleToasts:h,closeButton:_?.closeButton??l,interacting:M,position:t,style:_?.style,unstyled:_?.unstyled,classNames:_?.classNames,cancelButtonStyle:_?.cancelButtonStyle,actionButtonStyle:_?.actionButtonStyle,closeButtonAriaLabel:_?.closeButtonAriaLabel,removeToast:z,toasts:T.filter(e=>e.position==n.position),heights:E.filter(e=>e.position==n.position),setHeights:ae,expandByDefault:c,gap:y,expanded:A,swipeDirections:e.swipeDirections}))):null}))});export{y as n,i as r,A as t};
@@ -1 +1 @@
1
- import{ir as e}from"./sidebar-Di9SN47G.js";var t=e(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]);export{t};
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Di as e,vr as t,yr as n}from"./sidebar-BmzmPGuv.js";var r=e();function i({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`empty`,className:t(`flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance`,e),...n})}function a({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`empty-header`,className:t(`flex max-w-sm flex-col items-center gap-1`,e),...n})}var o=n(`mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`flex size-8 shrink-0 items-center justify-center rounded-md bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4`}},defaultVariants:{variant:`default`}});function s({className:e,variant:n=`default`,...i}){return(0,r.jsx)(`div`,{"data-slot":`empty-icon`,"data-variant":n,className:t(o({variant:n,className:e})),...i})}function c({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`empty-title`,className:t(`text-sm font-medium tracking-tight`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`empty-description`,className:t(`text-xs/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary`,e),...n})}function u({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`empty-content`,className:t(`flex w-full max-w-sm min-w-0 flex-col items-center gap-2 text-xs/relaxed text-balance`,e),...n})}export{s as a,a as i,u as n,c as o,l as r,i as t};
@@ -0,0 +1 @@
1
+ import{Di as e,Ri as t,Vi as n,vr as r,yr as i}from"./sidebar-BmzmPGuv.js";var a=n(t(),1),o=e();function s({className:e,htmlFor:t,...n}){return(0,o.jsx)(`label`,{"data-slot":`label`,htmlFor:t,className:r(`flex items-center gap-2 text-xs/relaxed leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...n})}function c({className:e,...t}){return(0,o.jsx)(`fieldset`,{"data-slot":`field-set`,className:r(`gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col`,e),...t})}function l({className:e,variant:t=`legend`,...n}){return(0,o.jsx)(`legend`,{"data-slot":`field-legend`,"data-variant":t,className:r(`mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm`,e),...n})}function u({className:e,...t}){return(0,o.jsx)(`div`,{"data-slot":`field-group`,className:r(`gap-4 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col`,e),...t})}var d=i(`data-[invalid=true]:text-destructive gap-2 group/field flex w-full`,{variants:{orientation:{vertical:`flex-col [&>*]:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function f({className:e,orientation:t=`vertical`,...n}){return(0,o.jsx)(`div`,{"data-slot":`field`,"data-orientation":t,className:r(d({orientation:t}),e),...n})}function p({className:e,...t}){return(0,o.jsx)(s,{"data-slot":`field-label`,className:r(`has-data-checked:bg-primary/5 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2 group/field-label peer/field-label flex w-fit leading-snug`,`has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col`,e),...t})}function m({className:e,...t}){return(0,o.jsx)(`p`,{"data-slot":`field-description`,className:r(`text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...t})}function h({className:e,children:t,errors:n,...i}){let s=(0,a.useMemo)(()=>{if(t)return t;if(!n?.length)return null;let e=[...new Map(n.map(e=>[e?.message,e])).values()];return e?.length===1?e[0]?.message:(0,o.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:e.map((e,t)=>e?.message&&(0,o.jsx)(`li`,{children:e.message},t))})},[t,n]);return s?(0,o.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:r(`text-destructive text-xs/relaxed font-normal`,e),...i,children:s}):null}export{p as a,s as c,u as i,m as n,l as o,h as r,c as s,f as t};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{Vr as e}from"./sidebar-BmzmPGuv.js";var t=e(`history`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]]);export{t};