@hot-updater/console 1.2.0-rc.31 → 1.2.0-rc.33
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.
- package/.output/nitro.json +1 -1
- package/.output/public/assets/-native-builds-search-BvCftqF2.js +1 -0
- package/.output/public/assets/{BundleIdDisplay-CTBdtFQ8.js → BundleIdDisplay-D8oR8mcP.js} +1 -1
- package/.output/public/assets/{ChannelBadge-CEabmopB.js → ChannelBadge-Do-lWsLM.js} +1 -1
- package/.output/public/assets/{CompositeItem-KUM5yQVr.js → CompositeItem-CyQoQkYs.js} +1 -1
- package/.output/public/assets/{ConsoleFeatureUnavailable-Be-0iTww.js → ConsoleFeatureUnavailable-C0iDIboF.js} +1 -1
- package/.output/public/assets/{EventDetails-bDOYte1z.js → EventDetails-DFWS-HcW.js} +1 -1
- package/.output/public/assets/{HashValueDisplay-D2f0HmyU.js → HashValueDisplay-DKziWjEg.js} +1 -1
- package/.output/public/assets/{InsightsPageHeader-Cj2ROSQO.js → InsightsPageHeader-BATHTZWn.js} +1 -1
- package/.output/public/assets/IosInstall-DsKczesK.js +1 -0
- package/.output/public/assets/NativeBuildsNav-D3FIlSu0.js +1 -0
- package/.output/public/assets/{NotFoundPage-CVBtl68B.js → NotFoundPage-CijSy63W.js} +1 -1
- package/.output/public/assets/{PlatformIcon-DVnzzGqM.js → PlatformIcon-Kq3q98tU.js} +1 -1
- package/.output/public/assets/QrCode-D3-Vuudy.js +1 -0
- package/.output/public/assets/{RelativeTime-Dz25a2yJ.js → RelativeTime-CP7nosYx.js} +1 -1
- package/.output/public/assets/{RolloutPercentageBadge-D_I0Raj2.js → RolloutPercentageBadge-DnmU8XbU.js} +1 -1
- package/.output/public/assets/{RowReason-CAkj76WL.js → RowReason-D7TZ2xwW.js} +1 -1
- package/.output/public/assets/SandboxBadge-BPf2uve4.js +1 -0
- package/.output/public/assets/TargetDisplay-DzSkf5yP.js +1 -0
- package/.output/public/assets/alert-dialog-Dihztkem.js +1 -0
- package/.output/public/assets/{api-C1OPeiG1.js → api-B1z_XXrQ.js} +1 -1
- package/.output/public/assets/api-keys-C_u_ZmPS.js +1 -0
- package/.output/public/assets/api-keys-DPuPM7ag.js +1 -0
- package/.output/public/assets/arrow-left-CxxDwBQs.js +1 -0
- package/.output/public/assets/arrow-right-jHG0fJt7.js +1 -0
- package/.output/public/assets/arrow-up-right-BPRe5soE.js +1 -0
- package/.output/public/assets/{badge-FZMD5vvS.js → badge-D4Tiwei-.js} +1 -1
- package/.output/public/assets/{card-CyHYmHue.js → card-BfeRlTvj.js} +1 -1
- package/.output/public/assets/check-Dz_5aNwx.js +1 -0
- package/.output/public/assets/chevron-right-CuYrscDY.js +1 -0
- package/.output/public/assets/{circle-off-BCkZpskJ.js → circle-off-BZFOMb8J.js} +1 -1
- package/.output/public/assets/{clipboard-DZrZK5gR.js → clipboard-D8uvj6FN.js} +1 -1
- package/.output/public/assets/{console-features-api-BO5V64P3.js → console-features-api-De6tXQnd.js} +1 -1
- package/.output/public/assets/{copy-CH1__JAW.js → copy-BxI24-g-.js} +1 -1
- package/.output/public/assets/dialog-e9AF5T6h.js +1 -0
- package/.output/public/assets/{dist-DAM__Tdz.js → dist-BEIz5ojx.js} +1 -1
- package/.output/public/assets/{download-B2GjTySo.js → download-ekENI2Sw.js} +1 -1
- package/.output/public/assets/{empty--YaE5Z4p.js → empty-DpSPWLc2.js} +1 -1
- package/.output/public/assets/{field-CdhSgWhI.js → field-PkdRPD3A.js} +1 -1
- package/.output/public/assets/{git-branch-DG1VDaKq.js → git-branch-BWrvONjc.js} +1 -1
- package/.output/public/assets/{history-C0wv4htz.js → history-DwdBLzJP.js} +1 -1
- package/.output/public/assets/index-BZVWufH3.js +10 -0
- package/.output/public/assets/input-group-DNfVeeYZ.js +1 -0
- package/.output/public/assets/{insights-_j_ieOyh.js → insights-Bm4Kua5R.js} +2 -2
- package/.output/public/assets/insights-CpnFoyo5.js +2 -0
- package/.output/public/assets/insights-MQrx_wbP.js +1 -0
- package/.output/public/assets/{insights-api-B6Gj74n5.js → insights-api-CXXCRZhF.js} +1 -1
- package/.output/public/assets/{insights-search-Bgvg6wSP.js → insights-search-CtEcj6lz.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-BUCinjSN.js → insights-usage-rpc-DdmD1Nuy.js} +1 -1
- package/.output/public/assets/{insights_.distribution-CRkGNelG.js → insights_.distribution-Bjo0aQE4.js} +1 -1
- package/.output/public/assets/insights_.distribution-Dd2mYz8D.js +2 -0
- package/.output/public/assets/insights_.distribution-REbBAqgL.js +1 -0
- package/.output/public/assets/{installations-BsD6LgNc.js → installations-DYT2mSjX.js} +2 -2
- package/.output/public/assets/installations-Di02gX_V.js +1 -0
- package/.output/public/assets/{installations-CYTzndfP.js → installations-iqDa8KPW.js} +1 -1
- package/.output/public/assets/{key-round-D7UgdXyA.js → key-round-B-vaAsR7.js} +1 -1
- package/.output/public/assets/{link-CN3iHC4A.js → link-D95E0fwF.js} +1 -1
- package/.output/public/assets/{list-Bm-CfN5g.js → list-Dq40Mmoj.js} +1 -1
- package/.output/public/assets/loader-circle-C26cZDSM.js +1 -0
- package/.output/public/assets/native-builds-7sC78eTq.js +1 -0
- package/.output/public/assets/native-builds-BOSmoLed.js +1 -0
- package/.output/public/assets/native-builds-CXDwW54k.js +2 -0
- package/.output/public/assets/native-builds_._buildId-C7-yUwvH.js +2 -0
- package/.output/public/assets/native-builds_._buildId-u5dG7ej5.js +1 -0
- package/.output/public/assets/native-builds_.devices-CQ_tB3SO.js +1 -0
- package/.output/public/assets/native-builds_.devices-C_YZoRxB.js +2 -0
- package/.output/public/assets/plus-Bp6IqwOH.js +1 -0
- package/.output/public/assets/{preload-helper-CRQjUQaZ.js → preload-helper-52zhjEsw.js} +1 -1
- package/.output/public/assets/{refresh-cw-BHhBYjS8.js → refresh-cw-CpCxPYma.js} +1 -1
- package/.output/public/assets/{relativeTime-BYRt19mj.js → relativeTime-D_aYJRc7.js} +1 -1
- package/.output/public/assets/remote-config-BbiN7bGR.js +6 -0
- package/.output/public/assets/remote-config-BhdrBpLM.js +1 -0
- package/.output/public/assets/remote-config-Dmuqm9xx.js +1 -0
- package/.output/public/assets/{rotate-cw-Ba-slJea.js → rotate-cw-Bn3fIWmY.js} +1 -1
- package/.output/public/assets/routes-C4MTDNA3.js +2 -0
- package/.output/public/assets/routes-Cjjfwbs_.js +1 -0
- package/.output/public/assets/search-DeKSyo9Q.js +1 -0
- package/.output/public/assets/{select-CA8r-UUe.js → select-BAd2hAoW.js} +1 -1
- package/.output/public/assets/{sidebar-yC7KdImc.js → sidebar-UnsNYOry.js} +1 -1
- package/.output/public/assets/smartphone-lSZWrqxx.js +1 -0
- package/.output/public/assets/styles-CQNxu86i.css +2 -0
- package/.output/public/assets/{switch-BsV3d4km.js → switch-C_s67MO4.js} +1 -1
- package/.output/public/assets/{table-D8YjT_ht.js → table-r_sYqKTQ.js} +1 -1
- package/.output/public/assets/{tabs-RdhEl9sE.js → tabs-BBfg-c0h.js} +1 -1
- package/.output/public/assets/{trash-2-B5KIvrXy.js → trash-2-BPH7ydek.js} +1 -1
- package/.output/public/assets/{undo-2-CFcU9dIB.js → undo-2-CGeTBZjC.js} +1 -1
- package/.output/public/assets/{useCompositeListItem-lAmUsXcc.js → useCompositeListItem-B9ONn9qn.js} +1 -1
- package/.output/public/assets/{useMutation-w3qYaU2L.js → useMutation-BWX97JX2.js} +1 -1
- package/.output/server/{__23tanstack-start-server-fn-resolver-CPVg1lWP.mjs → __23tanstack-start-server-fn-resolver-DBw1tYEH.mjs} +58 -62
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{-native-builds-search-DD7wilC0.mjs → -native-builds-search-OJ8XmaBa.mjs} +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-CHwdLSxI.mjs → BundleIdDisplay-DsNg19E8.mjs} +2 -2
- package/.output/server/_ssr/{ChannelBadge-DdrhdvMM.mjs → ChannelBadge-DWQcxohs.mjs} +3 -3
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-DPX24kXX.mjs → ConsoleFeatureUnavailable-CfcFJ4k4.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-6jBbGcbN.mjs → EventDetails-DJYShaIG.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-B4--TU87.mjs → HashValueDisplay-B7FFJcIK.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-CuJ8N3TQ.mjs → InsightsPageHeader-CaceslcD.mjs} +6 -6
- package/.output/server/_ssr/{IosInstall-CHC-d6NT.mjs → IosInstall-gEVi9PFl.mjs} +164 -72
- package/.output/server/_ssr/{NativeBuildsNav-C69l7uNo.mjs → NativeBuildsNav-DoB6DGO2.mjs} +5 -5
- package/.output/server/_ssr/{NotFoundPage-ZsHGzoLS.mjs → NotFoundPage-Bu3yot-M.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-BXcpYcrO.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
- package/.output/server/_ssr/QrCode-DkmvYkKS.mjs +50 -0
- package/.output/server/_ssr/{RelativeTime-7vOoIT4P.mjs → RelativeTime-Dg47Cmmt.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge--MojdSYZ.mjs → RolloutPercentageBadge-CcEZuUxL.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-CIaGuzr1.mjs → RowReason-CbKEYA9N.mjs} +4 -4
- package/.output/server/_ssr/{SandboxBadge-BqBSRE2-.mjs → SandboxBadge-CuTOlGaF.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-CLn4k3f5.mjs → TargetDisplay-DkRZwhNW.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-DihcZr0y.mjs → alert-dialog-Ckdomw6e.mjs} +3 -3
- package/.output/server/_ssr/{api-nFsUxTG1.mjs → api-BIDpAoY0.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-DExjZkdx.mjs → api-keys-BStTPcTe.mjs} +11 -9
- package/.output/server/_ssr/{api-keys-CN5wpM3R.mjs → api-keys-MdcfK9Zw.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-CClIn3D8.mjs → api-keys-rpc-FwkHHfJL.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-DLRzLoop.mjs → api-rpc-DI164kWO.mjs} +13 -13
- package/.output/server/_ssr/{auth-rpc-U46OWsbS.mjs → auth-rpc-DOONC4Xw.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-iIXxFs8t.mjs → auth.server-MkFb8t-c.mjs} +2 -2
- package/.output/server/_ssr/{badge-jnl4Ajh1.mjs → badge-MGJQ5WNb.mjs} +1 -1
- package/.output/server/_ssr/{card-BEfQk5Ei.mjs → card-st1F0w5g.mjs} +1 -1
- package/.output/server/_ssr/{config.server-Ig1eUxaf.mjs → config.server-A4yZxfTn.mjs} +4 -4
- package/.output/server/_ssr/{console-access-BOTh4-fO.mjs → console-access-Cj95NxRZ.mjs} +2 -2
- package/.output/server/_ssr/{console-features-CzhqrCcX.mjs → console-features-DTYyXrWO.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-Dk02j_6v.mjs → console-features-api-WvvE114Q.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-B_V68MjF.mjs → console-features-rpc-DxhmScBd.mjs} +3 -3
- package/.output/server/_ssr/{deviceProfileToken-BbLKmrUb.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
- package/.output/server/_ssr/{dialog-DuyJ0HsU.mjs → dialog-jxN7lCij.mjs} +4 -4
- package/.output/server/_ssr/{empty-BDBZwsuM.mjs → empty-Dfmlc-7_.mjs} +2 -2
- package/.output/server/_ssr/{field-CX6srGIn.mjs → field-BrPlhj0S.mjs} +2 -2
- package/.output/server/_ssr/{input-group-CV_H0YX7.mjs → input-group-Ckaa4ML0.mjs} +2 -2
- package/.output/server/_ssr/{insights-CBoiq6pK.mjs → insights-BX9okQmy.mjs} +2 -2
- package/.output/server/_ssr/{insights-DQmsr9I4.mjs → insights-CmbOo4Er.mjs} +29 -24
- package/.output/server/_ssr/{insights-Td2VtKJZ.mjs → insights-DHvN6knB.mjs} +5 -5
- package/.output/server/_ssr/{insights-api-G8ZOyKKA.mjs → insights-api-t8rcSzVu.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-Ba4YSjbA.mjs → insights-failures-rpc-DadwsaxJ.mjs} +7 -7
- package/.output/server/_ssr/{insights-recovery-rpc-LKbOLo-_.mjs → insights-recovery-rpc-BK-RELe9.mjs} +4 -4
- package/.output/server/_ssr/{insights-rpc-TkflAi0Z.mjs → insights-rpc-BmDuFOYA.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-aCzmEqnq.mjs → insights-search-CQ0aMRHX.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-Cbk3jKjA.mjs → insights-usage-rpc-CkeNir2v.mjs} +4 -4
- package/.output/server/_ssr/{insights-usage-rpc-NoT-iWyp.mjs → insights-usage-rpc-JhBWMZfn.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-Bo1WRLKV.mjs → insights_.distribution-BtGiM-F8.mjs} +15 -15
- package/.output/server/_ssr/{insights_.distribution-Vt7W1Xw7.mjs → insights_.distribution-CEldmJz1.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-Y3uFkJMX.mjs → insights_.distribution-DlBTOrjk.mjs} +5 -5
- package/.output/server/_ssr/{installations-BEUOlOQs.mjs → installations-3fgKUnRv.mjs} +11 -11
- package/.output/server/_ssr/{installations-BpcY3NSj.mjs → installations-DHbd6gfU.mjs} +2 -2
- package/.output/server/_ssr/{installations-DClqNAQn.mjs → installations-oBJc0TH1.mjs} +4 -4
- package/.output/server/_ssr/{ios-devices-rpc-DmjO2Cbe.mjs → ios-devices-rpc-DjlS64L9.mjs} +9 -21
- package/.output/server/_ssr/iosDeviceCookie-Ccxr1MR8.mjs +155 -0
- package/.output/server/_ssr/{iosDeviceProfile-CseUPyC3.mjs → iosDeviceProfile-nEW-zQnl.mjs} +13 -14
- package/.output/server/_ssr/{iosDevices-BcM0YdL8.mjs → iosDevices-gG7HCnCL.mjs} +4 -20
- package/.output/server/_ssr/{native-artifact-C-jGiTjz.mjs → native-artifact-BRNP_q-y.mjs} +1 -1
- package/.output/server/_ssr/{native-builds-CwdDL-ag.mjs → native-builds-Be2Ga-eY.mjs} +17 -17
- package/.output/server/_ssr/{native-builds-B31AnQ0z.mjs → native-builds-mq_fr3k0.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-DjoHvBQf.mjs → native-builds-nRuXKypG.mjs} +63 -2
- package/.output/server/_ssr/{native-builds_._buildId-Dew-f4Ox.mjs → native-builds_._buildId-Cq-3MWHV.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-xNxhulXv.mjs → native-builds_._buildId-Du028raJ.mjs} +20 -27
- package/.output/server/_ssr/{native-builds_.devices-BBWNnbAj.mjs → native-builds_.devices-CWOFxrsg.mjs} +120 -68
- package/.output/server/_ssr/{native-builds_.devices-DpYGqdjz.mjs → native-builds_.devices-DVBT3gKp.mjs} +3 -3
- package/.output/server/_ssr/{nativeBuildDownloadLink-CMo_0eeE.mjs → nativeBuildDownloadLink-BXFMIxJ8.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-BlT6X49f.mjs → nativeBuildInstall-CjG3sJmP.mjs} +8 -7
- package/.output/server/_ssr/{nativeBuilds-DnIRDijn.mjs → nativeBuilds-DaF-TcfO.mjs} +2 -2
- package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
- package/.output/server/_ssr/{publicConsoleBase-CBG0Pv8f.mjs → publicConsoleBase-wTKw3_iB.mjs} +2 -14
- package/.output/server/_ssr/{release-adoption-rpc-CNwUfrya.mjs → release-adoption-rpc-BiUppdo3.mjs} +7 -7
- package/.output/server/_ssr/{releaseAdoption-COlUf2W5.mjs → releaseAdoption-DfEYq7I4.mjs} +1 -1
- package/.output/server/_ssr/{remote-config-D1X_UwRB.mjs → remote-config-8SDPC3Ex.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-7NN5w0OC.mjs → remote-config-CKjwym6Y.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DdcrliiZ.mjs → remote-config-MgYpLVNI.mjs} +19 -19
- package/.output/server/_ssr/{remote-config-rpc-oR3e-Ixt.mjs → remote-config-rpc-RoH5hIma.mjs} +3 -3
- package/.output/server/_ssr/{router-DxsgaBqH.mjs → router-DaSGo-53.mjs} +101 -61
- package/.output/server/_ssr/{routes-BXne94ak.mjs → routes-2wXfjE3q.mjs} +37 -33
- package/.output/server/_ssr/{routes-DdZw0VC5.mjs → routes-Y7SrNegl.mjs} +11 -10
- package/.output/server/_ssr/{runtime.server-DImJAltO.mjs → runtime.server-BUbb281Z.mjs} +2 -2
- package/.output/server/_ssr/{schema-migration-rpc-BZueLWKW.mjs → schema-migration-rpc-C302GUdI.mjs} +3 -3
- package/.output/server/_ssr/{select-DcWzmCb3.mjs → select-DsWMUB9T.mjs} +1 -1
- package/.output/server/_ssr/{server-DA_rB8Ch.mjs → server-Bx_Shfka.mjs} +4 -4
- package/.output/server/_ssr/{sidebar-BsFYs26D.mjs → sidebar-S1E-7aSS.mjs} +6 -6
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-Ds6WPOwH.mjs → start-BaUpXI0L.mjs} +1 -1
- package/.output/server/_ssr/{switch-CByCMAau.mjs → switch-DMCgvrFu.mjs} +3 -3
- package/.output/server/_ssr/{table-SLiL-w8T.mjs → table-BN3AmMyY.mjs} +1 -1
- package/.output/server/_ssr/{tabs-BCG8AAvJ.mjs → tabs-D3tzMdsj.mjs} +3 -3
- package/.output/server/_ssr/{updateFailures-Cl1Fxj4J.mjs → updateFailures-BwDwIoNu.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-DcKFR9bk.mjs +225 -0
- package/.output/server/index.mjs +431 -431
- package/package.json +7 -7
- package/src/components/AppSidebar.tsx +11 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +4 -2
- package/src/components/features/bundles/BundleMetadata.tsx +1 -1
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
- package/src/components/features/insights/FailureReports.tsx +3 -2
- package/src/components/features/insights/InsightsOverview.tsx +7 -1
- package/src/components/features/insights/ReleaseActivity.tsx +5 -1
- package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
- package/src/components/features/insights/UpdateFailures.tsx +1 -0
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +1 -1
- package/src/components/features/native-builds/IosDevicesPage.tsx +120 -34
- package/src/components/features/native-builds/IosInstall.tsx +85 -27
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
- package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
- package/src/components/features/native-builds/NativeBuildsTable.tsx +1 -1
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
- package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
- package/src/components/ui/alert-dialog.tsx +2 -2
- package/src/components/ui/dialog.tsx +3 -3
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/sidebar.tsx +2 -2
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/lib/ios-devices-api.ts +170 -5
- package/src/lib/ios-devices-rpc.ts +0 -12
- package/src/lib/native-builds.ts +88 -0
- package/src/lib/server/deviceProfileToken.ts +37 -3
- package/src/lib/server/iosDeviceCookie.ts +239 -0
- package/src/lib/server/iosDeviceProfile.ts +4 -2
- package/src/lib/server/iosDevices.ts +0 -30
- package/src/routeTree.gen.ts +44 -0
- package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
- package/src/routes/[_]hot-updater/devices/request.ts +28 -0
- package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
- package/.output/public/assets/IosInstall-B-Yt7DUj.js +0 -1
- package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
- package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
- package/.output/public/assets/TargetDisplay-B_dqT5iw.js +0 -1
- package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
- package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
- package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
- package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
- package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
- package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
- package/.output/public/assets/check-CqWNyG93.js +0 -1
- package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
- package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
- package/.output/public/assets/index-IK43LiLE.js +0 -10
- package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
- package/.output/public/assets/insights-C94CdeAA.js +0 -1
- package/.output/public/assets/insights-DILMVpk8.js +0 -2
- package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
- package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
- package/.output/public/assets/installations-BA01mqJE.js +0 -1
- package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
- package/.output/public/assets/native-builds-C-Dayo63.js +0 -2
- package/.output/public/assets/native-builds-_3SRMVOS.js +0 -1
- package/.output/public/assets/native-builds_._buildId-BPJzn5LY.js +0 -2
- package/.output/public/assets/native-builds_._buildId-DJWMBKQQ.js +0 -1
- package/.output/public/assets/native-builds_.devices-BbE0s2il.js +0 -1
- package/.output/public/assets/native-builds_.devices-BiXjrMS-.js +0 -2
- package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
- package/.output/public/assets/plus-Db0KxLZp.js +0 -1
- package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
- package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
- package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
- package/.output/public/assets/routes-CH42g1N9.js +0 -1
- package/.output/public/assets/routes-_QhVAS_l.js +0 -2
- package/.output/public/assets/search-dJG2BYmx.js +0 -1
- package/.output/public/assets/send-DuMOCzbD.js +0 -1
- package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
- package/.output/public/assets/styles-BYO5PJYg.css +0 -2
- package/.output/server/_tanstack-start-manifest_v-BoMD43wU.mjs +0 -225
- /package/.output/public/assets/{uuidv7-DAoOOpz9.js → uuidv7-DgXZ1zRR.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,Di as t,Hr as n,Oi as r,Ri as i,Si as a,Vi as o,Z as s,_r as c,di as l,gr as u,vr as d,wi as f,zr as p}from"./sidebar-yC7KdImc.js";import{t as m}from"./link-CN3iHC4A.js";import{t as h}from"./useMutation-w3qYaU2L.js";import{c as g,f as _,l as v,o as ee,s as y,u as te,y as ne}from"./TargetDisplay-B_dqT5iw.js";import{t as re}from"./loader-circle-iMqC-8ZE.js";import{t as ie}from"./refresh-cw-BHhBYjS8.js";import{t as ae}from"./send-DuMOCzbD.js";import{t as oe}from"./smartphone-D1C6BRd_.js";import{a as b,i as x,n as S,o as C}from"./badge-FZMD5vvS.js";import{n as se}from"./relativeTime-BYRt19mj.js";import{a as ce,n as le,r as ue,t as de}from"./field-CdhSgWhI.js";import{m as fe}from"./api-C1OPeiG1.js";var w=o(i(),1),T=(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))(T||{}),pe=[0,1],E=[1,0],D=[2,3],O=[3,2],me={L:pe,M:E,Q:D,H:O},he=/^\d*$/,ge=/^[A-Z0-9 $%*+./:-]*$/,k=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,A=1,j=40,M=3,_e=3,N=40,ve=10,P=[[-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]],F=[[-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]],ye=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<A||e>j)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,T.Timing),this.setFunctionModule(e,6,e%2==0,T.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,L(r,e));this.setFunctionModule(8,7,L(r,6)),this.setFunctionModule(8,8,L(r,7)),this.setFunctionModule(7,8,L(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,L(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,L(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,L(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=L(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)),a=e+r,o=t+n;a>=0&&a<this.size&&o>=0&&o<this.size&&this.setFunctionModule(a,o,i!==2&&i!==4,T.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,T.Alignment)}setFunctionModule(e,t,n,r=T.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==W(t,n))throw RangeError(`Invalid argument`);let r=F[n[0]][t],i=P[n[0]][t],a=Math.floor(U(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=Oe(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=ke(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(U(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]=L(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+=M:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*N),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*N}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+=M:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*N),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*N}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+=_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*ve,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 I(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 L(e,t){return(e>>>t&1)!=0}var R=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()}},be=[1,10,12,14],xe=[2,9,11,13],Se=[4,8,16,16];function z(e,t){return e[Math.floor((t+7)/17)+1]}function B(e){let t=[];for(let n of e)I(n,8,t);return new R(Se,e.length,t)}function Ce(e){if(!V(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);I(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new R(be,e.length,t)}function we(e){if(!H(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=k.indexOf(e.charAt(n))*45;r+=k.indexOf(e.charAt(n+1)),I(r,11,t)}return n<e.length&&I(k.indexOf(e.charAt(n)),6,t),new R(xe,e.length,t)}function Te(e){return e===``?[]:V(e)?[Ce(e)]:H(e)?[we(e)]:[B(De(e))]}function V(e){return he.test(e)}function H(e){return ge.test(e)}function Ee(e,t){let n=0;for(let r of e){let e=z(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function De(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 U(e){if(e<A||e>j)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 W(e,t){return Math.floor(U(e)/8)-P[t[0]][e]*F[t[0]][e]}function Oe(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]=G(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=G(n,2)}return t}function ke(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]^=G(t,e))}return n}function G(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 Ae(e,t,n=1,r=40,i=-1,a=!0){if(!(A<=n&&n<=r&&r<=j)||i<-1||i>7)throw RangeError(`Invalid value`);let o,s;for(o=n;;o++){let n=W(o,t)*8,i=Ee(e,o);if(i<=n){s=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[E,D,O])a&&s<=W(o,e)*8&&(t=e);let c=[];for(let t of e){I(t.mode[0],4,c),I(t.numChars,z(t.mode,o),c);for(let e of t.getData())c.push(e)}let l=W(o,t)*8;I(0,Math.min(4,l-c.length),c),I(0,(8-c.length%8)%8,c);for(let e=236;c.length<l;e^=253)I(e,8,c);let u=Array.from({length:Math.ceil(c.length/8)},()=>0);return c.forEach((e,t)=>u[t>>>3]|=e<<7-(t&7)),new ye(o,t,u,i)}function je(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`?Te(e):Array.isArray(e)?[B(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=Ae(c,me[n],i,a,o,r),u=Me({version:l.version,maskPattern:l.mask,size:l.size,data:l.modules,types:l.types},s);return t?.invert&&(u.data=u.data.map(e=>e.map(e=>!e))),t?.onEncoded?.(u),u}function Me(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=T.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 Ne=e=>{let{data:t,size:n}=je(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}},K=t();function Pe({value:e,label:t,className:n}){let{size:r,path:i}=(0,w.useMemo)(()=>Ne(e),[e]);return(0,K.jsxs)(`svg`,{"aria-label":t,className:d(`aspect-square rounded-md`,n),role:`img`,shapeRendering:`crispEdges`,viewBox:`0 0 ${r} ${r}`,children:[(0,K.jsx)(`rect`,{fill:`#fff`,height:r,width:r}),(0,K.jsx)(`path`,{d:i,fill:`#000`})]})}var q=o(se(),1),Fe=f({method:`GET`}).middleware([p]).handler(r(`3a62744a539db57f5a29f39cec7fb03fd2817703b40d98e6da69e2f5e7ae6f3d`)),Ie=f({method:`POST`}).middleware([p]).handler(r(`7138a71df2ede8dd2c3db732d8d0ae10c56b85a8177dcdacf4e747b8087177c6`)),Le=f({method:`POST`}).middleware([p]).handler(r(`4b173c2b2f5ea074a1f10862282308f11f5a043c044d64b6f63e6a29d571ec64`)),Re=f({method:`POST`}).middleware([p]).handler(r(`24005564c8e58dbdeadba89e3f567255a991f5695359cbcc2e8392e033dac8e1`)),ze=f({method:`POST`}).middleware([p]).handler(r(`7908c24ccc2674ce07a553a645b8f4790889975a80f424a05d71a9fb8ab49787`)),Be=f({method:`POST`}).middleware([p]).handler(r(`4c92dfeae76a6fc898d6f38941eeedaec1f3d118f51a6f31ebf0bb1cea3fcea4`)),Ve=f({method:`POST`}).middleware([p]).handler(r(`8e37ec67413ceba554adb2d4b15e53682595a089d4b431ba7965d4347fb500fc`)),He=f({method:`GET`}).middleware([p]).handler(r(`a11cb4014e6b23528f76382c43684798b0e84a6936aaba02c918e8f4e216e282`)),J={all:[`ios-devices`],list:e=>[`ios-devices`,e??`all`],device:e=>[`ios-devices`,`device`,e],ipa:e=>[`native-build-ipa-devices`,e]},Y=600*1e3;function Ue(e){return n({queryKey:J.list(e),queryFn:()=>Fe({data:e===void 0?{}:{status:e}}),placeholderData:l})}function We(e){return n({queryKey:J.device(e??``),queryFn:()=>Ie({data:{udid:e}}),enabled:e!==null})}function X(e,t=!0){return n({queryKey:[`ios-device-profile-link`,e],queryFn:()=>Le({data:e}),enabled:t,staleTime:Y,refetchInterval:Y})}function Ge(e){return n({queryKey:J.ipa(e),queryFn:()=>He({data:{id:e}})})}var Z=e=>{let t=a();return h({mutationFn:e,onSettled:async()=>{await Promise.all([t.invalidateQueries({queryKey:J.all}),t.invalidateQueries({queryKey:[`native-build-install-eligibility`]})])}})},Ke=()=>Z(e=>ze({data:e})),qe=()=>Z(e=>Be({data:e})),Je=()=>Z(e=>Ve({data:e})),Ye=()=>Z(e=>Re({data:e})),Xe=`With the same bundle ID, this install replaces the App Store's copy of the app on this iPhone.`,Q=`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,Ze=e=>/iPhone|iPod|iPad/u.test(e.userAgent)||/Macintosh/u.test(e.userAgent)&&e.maxTouchPoints>1,Qe=()=>{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`}},$e=e=>{try{return window.localStorage.getItem(e)}catch{return null}},et=(e,t)=>{try{window.localStorage.setItem(e,t)}catch{}},tt=()=>{let[e,t]=(0,w.useState)(null),[n]=(0,w.useState)(Qe);return(0,w.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,et(g,e.udid),e.receipt!==null&&et(ee,JSON.stringify({udid:e.udid,receipt:e.receipt}))),e.udid!==null&&window.location.hash!==``&&window.history.replaceState(window.history.state,``,`${window.location.pathname}${window.location.search}`)};a(n);let o=()=>{let n=e($e(`hot-updater-ios-udid`))??r.udid,a=null;try{let e=JSON.parse($e(`hot-updater-ios-device-receipt`)??`null`);a=e?.udid===n&&typeof e?.receipt==`string`?e.receipt:null}catch{a=null}a===null&&r.udid===n&&(a=r.receipt);let o=r.requested,s=i;t(e=>e!==null&&e.udid===n&&e.receipt===a&&e.requested===o&&e.answers===s?e:{ios:Ze(navigator),udid:n,receipt:a,requested:o,answers:s})};o();let s=e=>{(e.key===null||e.key===`hot-updater-ios-udid`||e.key===`hot-updater-ios-device-receipt`)&&o()},c=()=>{let e=Qe();e.udid!==null&&(r=e,a(e)),o()};return window.addEventListener(`storage`,s),window.addEventListener(`hashchange`,c),window.addEventListener(`pageshow`,c),document.addEventListener(`visibilitychange`,c),()=>{window.removeEventListener(`storage`,s),window.removeEventListener(`hashchange`,c),window.removeEventListener(`pageshow`,c),document.removeEventListener(`visibilitychange`,c)}},[n]),e},nt=300*1e3,rt=(e,t)=>{let[,n]=(0,w.useReducer)(e=>e+1,0),r=e+v-nt;return(0,w.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 it({fetching:e,onRenew:t}){return(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,K.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`This install link has expired.`,e?` Getting a new one.`:``]}),e?null:(0,K.jsx)(u,{className:Q,onClick:t,variant:`outline`,children:`Get a new link`})]})}function at({build:e,token:t}){return(0,K.jsx)(`a`,{className:c({className:Q}),href:ne(window.location,e.id,t),children:`Install`})}function ot(){return(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,K.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,K.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:Xe})]})}function $({build:t,again:n=!1}){let r=X({mode:`identify`,buildId:t.id});return r.data?.status===`no-secret`?(0,K.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,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`a`,{className:c({className:Q,variant:n?`secondary`:`default`}),href:_(te(window.location,t.id),r.data.token),children:[(0,K.jsx)(oe,{"data-icon":`inline-start`}),n?`Check this iPhone again`:`Check this iPhone`]}),(0,K.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,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(S,{variant:`destructive`,children:[(0,K.jsx)(C,{}),(0,K.jsx)(b,{children:`The check couldn't start`}),(0,K.jsx)(x,{children:`Check your connection and try again.`})]}),(0,K.jsxs)(u,{className:Q,disabled:r.isFetching,onClick:()=>void r.refetch(),variant:`outline`,children:[(0,K.jsx)(ie,{"data-icon":`inline-start`}),`Reload`]})]}):(0,K.jsx)(e,{"aria-label":`Preparing the check`,className:`h-11 w-full`})}var st=e=>(0,q.default)(e).format(`MMM D`);function ct({device:e,canApprove:t,onDevicesPage:n=!1}){return(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,K.jsxs)(S,{children:[(0,K.jsx)(C,{}),(0,K.jsx)(b,{children:`Apple didn't register this iPhone`}),(0,K.jsx)(x,{children:e.apple_error})]}),t?n?null:(0,K.jsx)(m,{className:c({className:Q,variant:`outline`}),to:`/native-builds/devices`,children:`iOS devices`}):(0,K.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 lt({build:e,device:t,registry:n,newerBuild:r,canApprove:i,registryReadAt:a}){let o=Ye(),[l,d]=(0,w.useState)(``),[f,p]=(0,w.useState)(null),h=f!==null&&a<=f.readBefore,g=h?f.device:n,_=(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,K.jsx)(`p`,{className:`text-sm font-medium`,children:`Not in this build`}),(0,K.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`This IPA was signed without this iPhone, and iOS won't install it here.`})]});if(g!==null){let e=h?null:r;return g.apple_error!==null&&e===null?(0,K.jsx)(ct,{canApprove:i,device:g}):(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[_,(0,K.jsx)(`p`,{className:`text-sm`,role:`status`,children:g.status===`pending`?`${g.name} was requested on ${st(g.created_at_ms)}. A maintainer approves it next.`:e===null?`${g.name} is ${g.status}. It joins the next ad hoc build.`:`A newer build has ${g.name}.`}),e===null?null:(0,K.jsx)(m,{className:c({className:Q}),params:{buildId:e},to:`/native-builds/$buildId`,children:`Open the newer build`})]})}if(t.receipt===null)return(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[_,(0,K.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Check this iPhone once more to request it for the next ad hoc build.`}),(0,K.jsx)($,{build:e,again:!0})]});let v=l.trim();return(0,K.jsxs)(`form`,{className:`flex min-w-0 flex-col gap-3`,onSubmit:e=>{if(e.preventDefault(),v===``)return;let n=a;o.mutate({receipt:t.receipt,name:v},{onSuccess:({device:e})=>p({device:e,readBefore:n})})},children:[_,(0,K.jsxs)(de,{"data-invalid":o.isError||void 0,children:[(0,K.jsx)(ce,{htmlFor:`ios-device-name`,children:`This iPhone's name`}),(0,K.jsx)(s,{autoComplete:`off`,className:`h-11 sm:h-8`,id:`ios-device-name`,maxLength:100,onChange:e=>d(e.target.value),placeholder:`Kim's iPhone`,value:l}),(0,K.jsx)(le,{children:`A maintainer approves it, and it joins the next ad hoc build.`}),(0,K.jsx)(ue,{children:o.isError?`The request didn't go through. Check this iPhone again, then try once more.`:null})]}),(0,K.jsxs)(u,{className:Q,disabled:v===``||o.isPending,type:`submit`,children:[o.isPending?(0,K.jsx)(re,{className:`animate-spin motion-reduce:animate-none`,"data-icon":`inline-start`}):(0,K.jsx)(ae,{"data-icon":`inline-start`}),`Request access`]}),o.isError?(0,K.jsx)($,{again:!0,build:e}):null]})}function ut({build:t,device:n}){let{udid:r}=n,i=fe(t.id,r),{refetch:a}=i,o=rt(i.dataUpdatedAt,i.data?.status===`installable`&&i.data.device===`included`);if((0,w.useEffect)(()=>{o&&a()},[o,a]),i.isPending)return(0,K.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,K.jsxs)(S,{children:[(0,K.jsx)(C,{}),(0,K.jsx)(b,{children:`Installation details unavailable`}),(0,K.jsx)(x,{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,K.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`This IPA is an App Store export, which installs through TestFlight, not from this page.`});if(s.status===`expired`)return(0,K.jsxs)(S,{variant:`destructive`,children:[(0,K.jsx)(C,{}),(0,K.jsx)(b,{children:`This build's profile has expired`}),(0,K.jsxs)(x,{children:[`It expired on `,(0,q.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,K.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,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,K.jsx)(`p`,{className:`text-sm font-medium`,children:`In this build`}),o?(0,K.jsx)(it,{fetching:i.isFetching,onRenew:()=>void a()}):(0,K.jsx)(at,{build:t,token:c}),(0,K.jsx)(ot,{})]}):s.device===`not-included`?(0,K.jsx)(lt,{build:t,device:n,registry:s.registry,newerBuild:s.newerBuild,canApprove:s.canApprove,registryReadAt:i.dataUpdatedAt}):(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,K.jsx)(`p`,{className:`text-sm font-medium`,children:`Check this iPhone first`}),(0,K.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,K.jsx)($,{build:t})]})}export{Ke as a,Ue as c,qe as d,Pe as f,J as i,Ge as l,ut as n,X as o,tt as r,We as s,ct as t,Je as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Di as e,vr as t}from"./sidebar-yC7KdImc.js";import{t as n}from"./link-CN3iHC4A.js";import{a as r}from"./tabs-RdhEl9sE.js";var i=e(),a=`relative inline-flex h-full 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-11 sm:h-8 [&>a]:min-h-10 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 +0,0 @@
|
|
|
1
|
-
import{Di as e,Vi as t}from"./sidebar-yC7KdImc.js";import{t as n}from"./send-DuMOCzbD.js";import{t as r}from"./badge-FZMD5vvS.js";import{n as i,t as a}from"./relativeTime-BYRt19mj.js";var o=t(i(),1),s=t(a(),1),c={"play-internal":{label:`Play internal`,name:`Google Play internal testing`},"play-closed":{label:`Play closed`,name:`Google Play closed testing`},"play-open":{label:`Play open`,name:`Google Play open testing`},"play-production":{label:`Play production`,name:`Google 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{c as a,u as i,m as n,d as r,h as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Di as e,Vr as t,gr as n}from"./sidebar-yC7KdImc.js";import{t as r}from"./copy-CH1__JAW.js";import{t as i}from"./key-round-D7UgdXyA.js";import{t as a}from"./package-BmfoZ5Zj.js";import{n as o}from"./dist-DAM__Tdz.js";import{f as s,p as c}from"./uuidv7-DAoOOpz9.js";import{t as l}from"./HashValueDisplay-D2f0HmyU.js";var u=t(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),d=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`}]]),f=e();function p({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,f.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,f.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,f.jsx)(n,{"aria-label":`Copy ${e}`,className:`size-11 sm:size-7`,onClick:()=>void a(),size:`icon-sm`,variant:`ghost`,children:(0,f.jsx)(r,{"aria-hidden":`true`})})]})}var m=e=>/^[\w@%+=:,./-]+$/.test(e)?e:`'${e.replaceAll(`'`,`'\\''`)}'`,h={apk:{label:`APK`,installs:`Android device or emulator`},aab:{label:`AAB`,installs:`Google Play or bundletool`},app:{label:`Simulator app`,installs:`iOS Simulator`},ipa:{label:`IPA`,installs:`registered iOS devices`}},g=e=>e===`ios`?`iOS`:`Android`,_=e=>{let t=e.submitted_version??[e.app_version??e.native_app_version??null,e.build_number===null?null:`(${e.build_number})`].filter(e=>e!==null).join(` `);return t===``?null:`${g(e.platform)} ${t}`},v=e=>`/api/native-builds/${encodeURIComponent(e)}/download`,y=(e,t,n)=>`${e.origin}${b(e,t)}${v(t)}?t=${encodeURIComponent(n)}`,b=(e,t)=>{let n=x(t);return e.pathname.endsWith(n)?e.pathname.slice(0,-n.length):``},x=e=>`/native-builds/${encodeURIComponent(e)}`,S=3600*1e3,C=`hot-updater-ios-udid`,w=`hot-updater-ios-device-receipt`,T=/^(?:[0-9a-f]{40}|[0-9a-f]{8}-[0-9a-f]{16})$/iu,E=`/native-builds/devices`,D=`/_hot-updater/devices/device.mobileconfig`,O=(e,t)=>`${e}${D}?t=${encodeURIComponent(t)}`,k=`npx hot-updater native-build devices add`,A=e=>`…${e.slice(-6)}`,j=e=>`/_hot-updater/native-builds/${encodeURIComponent(e)}/manifest.plist`,M=(e,t,n)=>{let r=`${e.origin}${b(e,t)}${j(t)}?t=${encodeURIComponent(n)}`;return`itms-services://?action=download-manifest&url=${encodeURIComponent(r)}`},N=e=>c(e.channel_id.slice(8)),P=e=>{if(e.fingerprintHash!==null)return{platform:e.platform,channel:e.channel,fingerprintHash:e.fingerprintHash,appVersion:null};let t=e.targetAppVersion;return t===null||s(t)!==t?null:{platform:e.platform,channel:e.channel,fingerprintHash:null,appVersion:t}},F=e=>{let t=(e.artifact_storage_uri.split(/[?#]/,1)[0]??``).split(`/`).at(-1)??``;try{return decodeURIComponent(t)}catch{return t}},I=[`B`,`KB`,`MB`,`GB`],L=e=>{let t=e,n=0;for(;t>=1024&&n<I.length-1;)t/=1024,n+=1;return`${n===0?t:t.toFixed(1)} ${I[n]}`},R=e=>`npx hot-updater native-build install ${m(e.id)}`;function z({icon:e,value:t,display:n}){return(0,f.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,f.jsx)(e,{className:`size-4 shrink-0 text-muted-foreground`}),(0,f.jsx)(l,{display:n,maxLength:12,value:t})]})}function B(){return(0,f.jsx)(`span`,{className:`text-muted-foreground`,children:`-`})}function V({value:e}){return(0,f.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,f.jsx)(a,{className:`size-4 shrink-0 text-muted-foreground`}),(0,f.jsx)(`span`,{className:`font-medium`,children:e})]})}function H({appVersion:e,fingerprintHash:t,nativeAppVersion:n}){if(e)return(0,f.jsx)(V,{value:e});if(t){let e=(0,f.jsx)(z,{icon:d,value:t});return n?(0,f.jsxs)(`span`,{className:`flex flex-col items-start gap-3 sm:gap-1`,"data-target-display":``,children:[(0,f.jsxs)(`span`,{title:`The app version this build reports`,children:[(0,f.jsx)(`span`,{className:`sr-only`,children:`App version `}),(0,f.jsx)(V,{value:n})]}),e]}):e}return(0,f.jsx)(B,{})}function U({value:e}){return e?(0,f.jsx)(z,{display:e.replace(/^nbk1:/,``),icon:i,value:e}):(0,f.jsx)(B,{})}export{P as C,u as E,g as S,p as T,F as _,E as a,_ as b,C as c,L as d,O as f,v as g,N as h,k as i,S as l,h as m,B as n,w as o,A as p,H as r,T as s,U as t,b as u,R as v,m as w,y as x,M as y};
|
|
@@ -1 +0,0 @@
|
|
|
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-yC7KdImc.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 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 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./ConsoleFeatureUnavailable-Be-0iTww.js";var t=e;export{t as notFoundComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,Di as t,Hr as n,Oi as r,Ri as i,Si as a,Vi as o,Vr as s,Z as c,gr as l,p as u,wi as d,zr as f}from"./sidebar-yC7KdImc.js";import{t as p}from"./useMutation-w3qYaU2L.js";import{t as ee}from"./check-CqWNyG93.js";import{t as te}from"./clipboard-DZrZK5gR.js";import{t as m}from"./key-round-D7UgdXyA.js";import{t as ne}from"./loader-circle-iMqC-8ZE.js";import{t as re}from"./plus-Db0KxLZp.js";import{t as h}from"./refresh-cw-BHhBYjS8.js";import{a as ie,i as g,n as _,o as ae,r as v,t as y}from"./badge-FZMD5vvS.js";import{n as b}from"./dist-DAM__Tdz.js";import{a as oe,n as se,o as x,t as S}from"./card-CyHYmHue.js";import{a as C,c as w,i as T,l as E,n as D,o as O,r as k,s as A,t as j,u as M}from"./alert-dialog-Ch0QxRsa.js";import{a as N,i as P,n as F,o as I,r as L,t as R}from"./dialog-BLj71-Nf.js";import{a as z,i as B,n as V,r as H,t as U}from"./field-CdhSgWhI.js";import{a as W,i as G,n as K,o as q,r as J,t as ce}from"./table-D8YjT_ht.js";var Y=s(`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`}]]),X=o(i(),1),Z=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:()=>Z()}),fe=()=>{let e=a();return p({mutationFn:e=>le({data:{name:e}}),onSuccess:async()=>{await e.invalidateQueries({queryKey:Q.list})}})},pe=()=>{let e=a();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,X.useState)(!1),[n,r]=(0,X.useState)(``),[i,a]=(0,X.useState)(null),o=fe(),s=n.trim(),u=s.length>64?`Name must be 64 characters or fewer.`:null,d=()=>{r(``),a(null),o.reset()},f=e=>{t(e),e||d()};return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(l,{onClick:()=>t(!0),children:[(0,$.jsx)(re,{"data-icon":`inline-start`}),`Create API key`]}),(0,$.jsx)(R,{open:e,onOpenChange:f,children:(0,$.jsxs)(F,{showCloseButton:i===null,children:[(0,$.jsxs)(N,{children:[(0,$.jsx)(I,{children:i===null?`Create API key`:`Save your API key`}),(0,$.jsx)(L,{children:i===null?`Name the app or environment that will use this key.`:`This key is shown once. Store it securely before closing.`})]}),i===null?(0,$.jsxs)(`form`,{onSubmit:async e=>{if(e.preventDefault(),!(s.length===0||u!==null))try{a((await o.mutateAsync(s)).apiKey),b.success(`API key created`)}catch(e){b.error(e instanceof Error?e.message:`Unable to create API key`)}},children:[(0,$.jsx)(B,{children:(0,$.jsxs)(U,{"data-invalid":u!==null||void 0,children:[(0,$.jsx)(z,{htmlFor:`api-key-name`,children:`Name`}),(0,$.jsx)(c,{id:`api-key-name`,autoComplete:`off`,maxLength:65,onChange:e=>r(e.target.value),placeholder:`Production app`,value:n}),(0,$.jsx)(V,{children:`Use a name you can identify before revoking the key.`}),(0,$.jsx)(H,{children:u})]})}),(0,$.jsx)(P,{className:`mt-4`,children:(0,$.jsxs)(l,{disabled:o.isPending||s.length===0||u!==null,type:`submit`,children:[o.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)(B,{children:[(0,$.jsxs)(U,{children:[(0,$.jsx)(z,{htmlFor:`created-api-key`,children:`API key`}),(0,$.jsxs)(`div`,{className:`flex gap-2`,children:[(0,$.jsx)(c,{id:`created-api-key`,className:`font-mono`,readOnly:!0,value:i}),(0,$.jsxs)(l,{onClick:async()=>{if(i!==null)try{await navigator.clipboard.writeText(i),b.success(`API key copied`)}catch{b.error(`Unable to copy API key`)}},type:`button`,variant:`outline`,children:[(0,$.jsx)(te,{"data-icon":`inline-start`}),`Copy`]})]})]}),(0,$.jsx)(P,{children:(0,$.jsxs)(l,{onClick:()=>f(!1),children:[(0,$.jsx)(ee,{"data-icon":`inline-start`}),`Done`]})})]})]})})]})}function ge({record:e}){let[t,n]=(0,X.useState)(!1),r=pe(),i=async t=>{t.preventDefault();try{await r.mutateAsync(e.id),n(!1),b.success(`API key revoked`)}catch(e){b.error(e instanceof Error?e.message:`Unable to revoke API key`)}};return(0,$.jsxs)(j,{open:t,onOpenChange:e=>{r.isPending||n(e)},children:[(0,$.jsxs)(M,{render:(0,$.jsx)(l,{size:`sm`,variant:`ghost`}),children:[(0,$.jsx)(Y,{"data-icon":`inline-start`}),`Revoke`]}),(0,$.jsxs)(T,{children:[(0,$.jsxs)(A,{children:[(0,$.jsx)(w,{children:(0,$.jsx)(Y,{})}),(0,$.jsxs)(E,{children:[`Revoke `,e.name,`?`]}),(0,$.jsxs)(C,{children:[`Apps using `,e.prefix,`… will immediately lose OTA update and insights access. This action cannot be undone.`]})]}),(0,$.jsxs)(O,{children:[(0,$.jsx)(k,{disabled:r.isPending,children:`Cancel`}),(0,$.jsx)(D,{disabled:r.isPending,onClick:e=>void i(e),variant:`destructive`,children:`Revoke API key`})]})]})]})}function _e(){let t=de();return(0,$.jsxs)(S,{className:`overflow-hidden shadow-sm`,children:[(0,$.jsxs)(oe,{className:`flex-row items-center justify-between space-y-0 border-b px-4 py-3`,children:[(0,$.jsx)(x,{className:`text-sm`,children:(0,$.jsx)(`h2`,{children:`API keys`})}),(0,$.jsx)(he,{})]}),(0,$.jsx)(se,{className:`p-0`,children:t.isError?(0,$.jsx)(`div`,{className:`p-4`,children:(0,$.jsxs)(_,{variant:`destructive`,children:[(0,$.jsx)(ae,{}),(0,$.jsx)(ie,{children:`API keys couldn't be loaded`}),(0,$.jsx)(g,{children:`Check your connection and try again.`}),(0,$.jsx)(v,{children:(0,$.jsxs)(l,{onClick:()=>void t.refetch(),size:`xs`,variant:`outline`,children:[(0,$.jsx)(h,{"data-icon":`inline-start`}),`Retry`]})})]})}):(0,$.jsxs)(ce,{"aria-label":`API keys`,className:`table-fixed`,children:[(0,$.jsx)(W,{children:(0,$.jsxs)(q,{children:[(0,$.jsx)(G,{children:`Key`}),(0,$.jsx)(G,{className:`w-32`,children:`Created`}),(0,$.jsx)(G,{className:`w-24 text-right`,children:(0,$.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,$.jsx)(K,{children:t.isLoading?Array.from({length:3},(t,n)=>(0,$.jsxs)(q,{children:[(0,$.jsxs)(J,{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)(J,{children:(0,$.jsx)(e,{className:`h-3.5 w-20`})}),(0,$.jsx)(J,{children:(0,$.jsx)(e,{className:`ml-auto h-6 w-16`})})]},n)):t.data?.length===0?(0,$.jsx)(q,{children:(0,$.jsx)(J,{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)(q,{className:e.revoked_at_ms===null?void 0:`text-muted-foreground`,children:[(0,$.jsx)(J,{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)(J,{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)(J,{className:`text-right`,children:e.revoked_at_ms===null?(0,$.jsx)(ge,{record:e}):(0,$.jsx)(y,{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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Vr as e}from"./sidebar-yC7KdImc.js";var t=e(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Vr as e}from"./sidebar-yC7KdImc.js";var t=e(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Vr as e}from"./sidebar-yC7KdImc.js";var t=e(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Vr as e}from"./sidebar-yC7KdImc.js";var t=e(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Vr as e}from"./sidebar-yC7KdImc.js";var t=e(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
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-yC7KdImc.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 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`,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 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};
|