@hot-updater/console 1.2.0-rc.22 → 1.2.0-rc.23

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 (77) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{index-i5bn-u_u.js → index-BKB82n6Y.js} +1 -1
  3. package/.output/public/assets/{native-builds_._buildId-D8YN2nuE.js → native-builds_._buildId-BuVvRbMp.js} +1 -1
  4. package/.output/public/assets/{native-builds_._buildId-DnflZszD.js → native-builds_._buildId-D5tnmyu7.js} +2 -2
  5. package/.output/server/{__23tanstack-start-server-fn-resolver-CqmGqsCf.mjs → __23tanstack-start-server-fn-resolver-DaTWUE6C.mjs} +49 -49
  6. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  7. package/.output/server/_libs/_.mjs +1 -1
  8. package/.output/server/_ssr/{BundleIdDisplay-DKzerkt2.mjs → BundleIdDisplay-B3TQ2UPT.mjs} +2 -2
  9. package/.output/server/_ssr/{ConsoleFeatureUnavailable-CGHUzMT7.mjs → ConsoleFeatureUnavailable-8rgfIK09.mjs} +6 -6
  10. package/.output/server/_ssr/{EventDetails-CW5BuINX.mjs → EventDetails-DsF6iUEM.mjs} +6 -6
  11. package/.output/server/_ssr/{HashValueDisplay-B2q2ERkY.mjs → HashValueDisplay-C65YyzTZ.mjs} +2 -2
  12. package/.output/server/_ssr/{InsightsPageHeader-BmRtEJBU.mjs → InsightsPageHeader-BRIlEf4s.mjs} +6 -6
  13. package/.output/server/_ssr/{NotFoundPage-D9z2l-z3.mjs → NotFoundPage-CxzFwYM2.mjs} +2 -2
  14. package/.output/server/_ssr/{RelativeTime-0fTpchA0.mjs → RelativeTime-BY-D2hQH.mjs} +3 -3
  15. package/.output/server/_ssr/{RolloutPercentageBadge-BK9s6lRs.mjs → RolloutPercentageBadge-CiLrDDSI.mjs} +3 -3
  16. package/.output/server/_ssr/{StoreSubmission-DFVHx80N.mjs → StoreSubmission-BrXiddhd.mjs} +2 -2
  17. package/.output/server/_ssr/{TargetDisplay-DkpULH7H.mjs → TargetDisplay-doQm0rXM.mjs} +4 -4
  18. package/.output/server/_ssr/{alert-dialog-CxqpyGYz.mjs → alert-dialog-Dwk4SyVJ.mjs} +1 -1
  19. package/.output/server/_ssr/{api-CiOdv1kS.mjs → api-6otHuUXZ.mjs} +3 -3
  20. package/.output/server/_ssr/{api-keys-CB0m7Py8.mjs → api-keys-BVnSI848.mjs} +9 -9
  21. package/.output/server/_ssr/{api-keys-BQKh6ZGX.mjs → api-keys-CTDRxIhp.mjs} +2 -2
  22. package/.output/server/_ssr/{api-keys-rpc-BofO_aCG.mjs → api-keys-rpc-CETWYBIN.mjs} +3 -3
  23. package/.output/server/_ssr/{api-rpc-Dj5gSySe.mjs → api-rpc-DpYJuaim.mjs} +5 -5
  24. package/.output/server/_ssr/{auth-rpc-DfnPI5lv.mjs → auth-rpc-Ck3SvXA8.mjs} +4 -4
  25. package/.output/server/_ssr/{auth.server-B9EYuuAd.mjs → auth.server-CmoG6_cL.mjs} +2 -2
  26. package/.output/server/_ssr/{badge-CYeoWPOd.mjs → badge-P2fzkUwd.mjs} +1 -1
  27. package/.output/server/_ssr/{card-NEBHHGZu.mjs → card-jXV-z2bQ.mjs} +1 -1
  28. package/.output/server/_ssr/{config.server-BTIrLhiH.mjs → config.server-ZWIt6mfE.mjs} +3 -3
  29. package/.output/server/_ssr/{console-access-ByHDrgoN.mjs → console-access-AkctZ8ST.mjs} +2 -2
  30. package/.output/server/_ssr/{console-features-api-DGI39r8E.mjs → console-features-api-Bmu8qSBn.mjs} +5 -5
  31. package/.output/server/_ssr/{console-features-rpc-CyulT2ae.mjs → console-features-rpc-D-jrGQD8.mjs} +3 -3
  32. package/.output/server/_ssr/{dialog-BEhLuqo7.mjs → dialog-BNUJ-Tav.mjs} +1 -1
  33. package/.output/server/_ssr/{empty-CQbX9Rww.mjs → empty-B2CjWEqi.mjs} +2 -2
  34. package/.output/server/_ssr/{field-C22YvQzr.mjs → field-CFjbaK8C.mjs} +2 -2
  35. package/.output/server/_ssr/{input-group-aMRxXJ0R.mjs → input-group-DeNexl2C.mjs} +1 -1
  36. package/.output/server/_ssr/{insights-QJ4IMIDa.mjs → insights-Bs00fQC0.mjs} +20 -20
  37. package/.output/server/_ssr/{insights-D4P6kDJw.mjs → insights-CX3PQxhX.mjs} +5 -5
  38. package/.output/server/_ssr/{insights-Cp5JAezy.mjs → insights-D2LyzYDU.mjs} +2 -2
  39. package/.output/server/_ssr/{insights-api-DAdiA7Vl.mjs → insights-api-Dc4AiQJ-.mjs} +3 -3
  40. package/.output/server/_ssr/{insights-failures-rpc-CEnf87Av.mjs → insights-failures-rpc-BJnk4PuZ.mjs} +4 -4
  41. package/.output/server/_ssr/{insights-recovery-rpc-BBCIMOuF.mjs → insights-recovery-rpc-CUkpSkLZ.mjs} +3 -3
  42. package/.output/server/_ssr/{insights-rpc-B08Jfrow.mjs → insights-rpc-JOLiQk5w.mjs} +3 -3
  43. package/.output/server/_ssr/{insights-search-CEkMOZ90.mjs → insights-search-Bpn6HQCy.mjs} +2 -2
  44. package/.output/server/_ssr/{insights-usage-rpc-IdutLuXu.mjs → insights-usage-rpc-CilhlWkg.mjs} +3 -3
  45. package/.output/server/_ssr/{insights-usage-rpc-CF9avOn-.mjs → insights-usage-rpc-CquRnAc4.mjs} +3 -3
  46. package/.output/server/_ssr/{insights_.distribution-C7R85n7b.mjs → insights_.distribution-D7-7KGSG.mjs} +2 -2
  47. package/.output/server/_ssr/{insights_.distribution-DhJJ1kiK.mjs → insights_.distribution-XYvyfx99.mjs} +5 -5
  48. package/.output/server/_ssr/{insights_.distribution-5-ccoWvP.mjs → insights_.distribution-vkIWZa9G.mjs} +14 -14
  49. package/.output/server/_ssr/{installations-BRjjwSQS.mjs → installations-Bgzm28Fr.mjs} +11 -11
  50. package/.output/server/_ssr/{installations-BR3I0OuV.mjs → installations-CFM2uH9R.mjs} +4 -4
  51. package/.output/server/_ssr/{installations-DYzmMSOa.mjs → installations-yjwnzWUQ.mjs} +2 -2
  52. package/.output/server/_ssr/{native-builds-gM76NiAI.mjs → native-builds-CqUOuXBL.mjs} +2 -2
  53. package/.output/server/_ssr/{native-builds-S4x5ReBK.mjs → native-builds-DC-tSwJd.mjs} +11 -11
  54. package/.output/server/_ssr/{native-builds_._buildId-Dq0IUPFP.mjs → native-builds_._buildId-BazicFrf.mjs} +2 -2
  55. package/.output/server/_ssr/{native-builds_._buildId-C5Y3QYDD.mjs → native-builds_._buildId-DLZqcKWd.mjs} +17 -14
  56. package/.output/server/_ssr/{nativeBuildDownloadLink-BJ0v8peF.mjs → nativeBuildDownloadLink-8nBXIZu0.mjs} +2 -2
  57. package/.output/server/_ssr/{nativeBuildInstall-Cvh3E39_.mjs → nativeBuildInstall-D8CQD14D.mjs} +2 -2
  58. package/.output/server/_ssr/{release-adoption-rpc-D_l0i2k2.mjs → release-adoption-rpc-CC31TdXP.mjs} +5 -5
  59. package/.output/server/_ssr/{remote-config-DVYGVpPm.mjs → remote-config-BTwMIdJy.mjs} +18 -18
  60. package/.output/server/_ssr/{remote-config-CFbIFNRX.mjs → remote-config-CxWJt-NA.mjs} +2 -2
  61. package/.output/server/_ssr/{remote-config-UWKIqnxv.mjs → remote-config-WK1MQtcB.mjs} +2 -2
  62. package/.output/server/_ssr/{remote-config-rpc-C6_i-WQD.mjs → remote-config-rpc-DxApmx2s.mjs} +3 -3
  63. package/.output/server/_ssr/{router-CCbvwPmc.mjs → router-D26SaoFq.mjs} +21 -21
  64. package/.output/server/_ssr/{routes-DAyIdgoY.mjs → routes-BEGM59TV.mjs} +20 -20
  65. package/.output/server/_ssr/{routes-Bl06X54f.mjs → routes-C1iy2sJb.mjs} +10 -10
  66. package/.output/server/_ssr/{schema-migration-rpc-BZr71Ubh.mjs → schema-migration-rpc-CpFx-gh2.mjs} +3 -3
  67. package/.output/server/_ssr/{select-3TA7xhiz.mjs → select-CIz7S4Tb.mjs} +1 -1
  68. package/.output/server/_ssr/{server-BhcERMRJ.mjs → server-DwhLa_FJ.mjs} +3 -3
  69. package/.output/server/_ssr/{sidebar-DA36V52n.mjs → sidebar-Dwvgo8IR.mjs} +2 -2
  70. package/.output/server/_ssr/ssr.mjs +1 -1
  71. package/.output/server/_ssr/{switch-LPZF-jY_.mjs → switch-DeGndt4r.mjs} +2 -2
  72. package/.output/server/_ssr/{table-Di_642iX.mjs → table-CcyO8t_8.mjs} +1 -1
  73. package/.output/server/_ssr/{tabs-B70kDhg4.mjs → tabs-vNKtG-tj.mjs} +2 -2
  74. package/.output/server/{_tanstack-start-manifest_v-DsL0Uqjn.mjs → _tanstack-start-manifest_v-Df6g3sSt.mjs} +5 -5
  75. package/.output/server/index.mjs +141 -141
  76. package/package.json +7 -7
  77. package/src/components/features/native-builds/InstallCard.tsx +12 -5
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-11-05T07:32:33.417Z",
2
+ "date": "2026-11-05T09:36:28.149Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/api-keys-4w2-ofii.js","assets/ConsoleFeatureUnavailable-DUqlpHCp.js","assets/sidebar-Di9SN47G.js","assets/console-features-api-DEXSwFtc.js","assets/arrow-up-right-DK8Zdg40.js","assets/NotFoundPage-Ckb5GMhh.js","assets/link-DTEyW70e.js","assets/empty-Bhlj8PEo.js","assets/api-keys-3IL4dIHe.js","assets/alert-dialog-DiRLrFVe.js","assets/useMutation-DbYw7boA.js","assets/check-CXVR3s3X.js","assets/clipboard-DQbOcrL7.js","assets/key-round-DzBe6DHr.js","assets/plus-BVhOauU3.js","assets/refresh-cw-C-tvoCcE.js","assets/badge-laIuYW1U.js","assets/dist-Bf1BPKMs.js","assets/card-ulgg5xHn.js","assets/dialog-CLIaC82_.js","assets/field-q4sTYzNU.js","assets/table-TUtVz-2l.js"])))=>i.map(i=>d[i]);
2
- import{$r as e,Ar as t,Br as n,Cr as r,Dr as i,Er as a,Fn as o,Gr as s,In as c,Lr as l,Mr as u,Pr as d,Rr as f,Sr as p,Tr as m,Vr as h,Wr as g,Yr as _,Zr as v,a as y,ar as b,c as x,d as ee,ei as te,f as ne,gr as re,i as ie,ii as ae,ir as oe,jr as se,kr as ce,l as le,m as ue,n as de,ni as S,nr as C,o as fe,p as pe,r as me,rt as he,s as w,t as T,ti as ge,u as _e,wr as ve,xr as ye,zr as be}from"./sidebar-Di9SN47G.js";import{C as xe,a as Se,b as Ce,c as we,i as Te,l as Ee,o as De,p as Oe,r as ke,s as Ae,t as je,u as Me,v as Ne,x as Pe,y as Fe}from"./link-DTEyW70e.js";import{c as Ie,i as Le,l as Re,n as ze,o as Be,r as Ve,s as He,t as Ue}from"./preload-helper-B44EvKhG.js";import{n as We}from"./useMutation-DbYw7boA.js";import{l as Ge,r as Ke,t as qe}from"./console-features-api-DEXSwFtc.js";import{t as Je}from"./remote-config-ZJ_IRSKE.js";import{t as Ye}from"./arrow-up-right-DK8Zdg40.js";import{o as Xe,t as Ze}from"./routes-Rtz-KcQO.js";import{b as Qe}from"./insights-api-BVCXJsoV.js";import{n as $e,t as et}from"./native-builds_._buildId-DnflZszD.js";import{t as tt}from"./copy-DsuLj3oj.js";import{r as nt}from"./-native-builds-search-OlRj4Jz0.js";import{n as rt}from"./plus-BVhOauU3.js";import{t as it}from"./package-ytYrywZH.js";import{t as at}from"./rotate-cw-Clk5xTeE.js";import{o as ot}from"./badge-laIuYW1U.js";import{n as st,t as ct}from"./dist-Bf1BPKMs.js";import{t as lt}from"./NotFoundPage-Ckb5GMhh.js";import{i as ut,n as dt,o as ft,r as pt,t as mt}from"./empty-Bhlj8PEo.js";import{t as ht}from"./insights-DDRfERph.js";import{t as gt}from"./installations-CSZfo1rG.js";import{t as _t}from"./native-builds-B4pD_O7E.js";import{t as E}from"./insights_.distribution-CjYkDRA4.js";var vt=S((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,oe());else{var t=n(l);t!==null&&le(x,t.startTime-e)}}var ee=!1,te=-1,ne=5,re=-1;function ie(){return g?!0:!(e.unstable_now()-re<ne)}function ae(){if(g=!1,ee){var t=e.unstable_now();re=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ie());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&le(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?oe():ee=!1}}}var oe;if(typeof y==`function`)oe=function(){y(ae)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=ae,oe=function(){ce.postMessage(null)}}else oe=function(){_(ae,0)};function le(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,le(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,oe()))),r},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),yt=S(((e,t)=>{t.exports=vt()})),bt=S((e=>{var t=yt(),n=ge(),r=te();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),ae=Symbol.for(`react.activity`),oe=Symbol.for(`react.memo_cache_sentinel`),se=Symbol.iterator;function ce(e){return typeof e!=`object`||!e?null:(e=se&&e[se]||e[`@@iterator`],typeof e==`function`?e:null)}var le=Symbol.for(`react.client.reference`);function ue(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===le?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case ne:return`SuspenseList`;case ae:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?ue(e.type)||`Memo`:t;case ie:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var de=Array.isArray,S=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe={pending:!1,data:null,method:null,action:null},pe=[],me=-1;function he(e){return{current:e}}function w(e){0>me||(e.current=pe[me],pe[me]=null,me--)}function T(e,t){me++,pe[me]=e.current,e.current=t}var _e=he(null),ve=he(null),ye=he(null),be=he(null);function xe(e,t){switch(T(ye,t),T(ve,e),T(_e,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}w(_e),T(_e,e)}function Se(){w(_e),w(ve),w(ye)}function Ce(e){e.memoizedState!==null&&T(be,e);var t=_e.current,n=Hd(t,e.type);t!==n&&(T(ve,e),T(_e,n))}function we(e){ve.current===e&&(w(_e),w(ve)),be.current===e&&(w(be),Qf._currentValue=fe)}var Te,Ee;function De(e){if(Te===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Te=t&&t[1]||``,Ee=-1<e.stack.indexOf(`
2
+ import{$r as e,Ar as t,Br as n,Cr as r,Dr as i,Er as a,Fn as o,Gr as s,In as c,Lr as l,Mr as u,Pr as d,Rr as f,Sr as p,Tr as m,Vr as h,Wr as g,Yr as _,Zr as v,a as y,ar as b,c as x,d as ee,ei as te,f as ne,gr as re,i as ie,ii as ae,ir as oe,jr as se,kr as ce,l as le,m as ue,n as de,ni as S,nr as C,o as fe,p as pe,r as me,rt as he,s as w,t as T,ti as ge,u as _e,wr as ve,xr as ye,zr as be}from"./sidebar-Di9SN47G.js";import{C as xe,a as Se,b as Ce,c as we,i as Te,l as Ee,o as De,p as Oe,r as ke,s as Ae,t as je,u as Me,v as Ne,x as Pe,y as Fe}from"./link-DTEyW70e.js";import{c as Ie,i as Le,l as Re,n as ze,o as Be,r as Ve,s as He,t as Ue}from"./preload-helper-B44EvKhG.js";import{n as We}from"./useMutation-DbYw7boA.js";import{l as Ge,r as Ke,t as qe}from"./console-features-api-DEXSwFtc.js";import{t as Je}from"./remote-config-ZJ_IRSKE.js";import{t as Ye}from"./arrow-up-right-DK8Zdg40.js";import{o as Xe,t as Ze}from"./routes-Rtz-KcQO.js";import{b as Qe}from"./insights-api-BVCXJsoV.js";import{n as $e,t as et}from"./native-builds_._buildId-D5tnmyu7.js";import{t as tt}from"./copy-DsuLj3oj.js";import{r as nt}from"./-native-builds-search-OlRj4Jz0.js";import{n as rt}from"./plus-BVhOauU3.js";import{t as it}from"./package-ytYrywZH.js";import{t as at}from"./rotate-cw-Clk5xTeE.js";import{o as ot}from"./badge-laIuYW1U.js";import{n as st,t as ct}from"./dist-Bf1BPKMs.js";import{t as lt}from"./NotFoundPage-Ckb5GMhh.js";import{i as ut,n as dt,o as ft,r as pt,t as mt}from"./empty-Bhlj8PEo.js";import{t as ht}from"./insights-DDRfERph.js";import{t as gt}from"./installations-CSZfo1rG.js";import{t as _t}from"./native-builds-B4pD_O7E.js";import{t as E}from"./insights_.distribution-CjYkDRA4.js";var vt=S((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,oe());else{var t=n(l);t!==null&&le(x,t.startTime-e)}}var ee=!1,te=-1,ne=5,re=-1;function ie(){return g?!0:!(e.unstable_now()-re<ne)}function ae(){if(g=!1,ee){var t=e.unstable_now();re=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ie());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&le(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?oe():ee=!1}}}var oe;if(typeof y==`function`)oe=function(){y(ae)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=ae,oe=function(){ce.postMessage(null)}}else oe=function(){_(ae,0)};function le(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,le(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,oe()))),r},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),yt=S(((e,t)=>{t.exports=vt()})),bt=S((e=>{var t=yt(),n=ge(),r=te();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),ae=Symbol.for(`react.activity`),oe=Symbol.for(`react.memo_cache_sentinel`),se=Symbol.iterator;function ce(e){return typeof e!=`object`||!e?null:(e=se&&e[se]||e[`@@iterator`],typeof e==`function`?e:null)}var le=Symbol.for(`react.client.reference`);function ue(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===le?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case ne:return`SuspenseList`;case ae:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?ue(e.type)||`Memo`:t;case ie:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var de=Array.isArray,S=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe={pending:!1,data:null,method:null,action:null},pe=[],me=-1;function he(e){return{current:e}}function w(e){0>me||(e.current=pe[me],pe[me]=null,me--)}function T(e,t){me++,pe[me]=e.current,e.current=t}var _e=he(null),ve=he(null),ye=he(null),be=he(null);function xe(e,t){switch(T(ye,t),T(ve,e),T(_e,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}w(_e),T(_e,e)}function Se(){w(_e),w(ve),w(ye)}function Ce(e){e.memoizedState!==null&&T(be,e);var t=_e.current,n=Hd(t,e.type);t!==n&&(T(ve,e),T(_e,n))}function we(e){ve.current===e&&(w(_e),w(ve)),be.current===e&&(w(be),Qf._currentValue=fe)}var Te,Ee;function De(e){if(Te===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Te=t&&t[1]||``,Ee=-1<e.stack.indexOf(`
3
3
  at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
4
4
  `+Te+e+Ee}var Oe=!1;function ke(e,t){if(!e||Oe)return``;Oe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
5
5
  `),l=s.split(`
@@ -1 +1 @@
1
- import{$ as e,Fn as t,In as n,Ln as r,Wr as i,ii as a,ir as o,p as s,ti as c}from"./sidebar-Di9SN47G.js";import{t as l}from"./link-DTEyW70e.js";import{t as u}from"./arrow-up-right-DK8Zdg40.js";import{C as d,S as f,_ as ee,a as te,c as p,d as ne,f as re,g as ie,h as ae,i as oe,l as se,m,o as ce,p as le,r as ue,s as de,t as fe,v as pe,w as me,x as h,y as g}from"./TargetDisplay-CoYY8Fs4.js";import{t as he}from"./chevron-right-BoUXo82O.js";import{n as ge,t as _}from"./native-builds_._buildId-DnflZszD.js";import{r as _e}from"./HashValueDisplay-MoZMmTeP.js";import{i as ve,n as ye,r as v,t as be}from"./RolloutPercentageBadge-D-tZKnX7.js";import{n as xe,t as Se}from"./history-DakJoeSM.js";import{r as Ce}from"./-native-builds-search-OlRj4Jz0.js";import{t as we}from"./refresh-cw-C-tvoCcE.js";import{n as y,r as Te,t as Ee}from"./StoreSubmission-CGFw9Mjw.js";import{t as De}from"./smartphone-r0rRdPas.js";import{a as b,i as x,n as S,o as C,r as Oe,t as ke}from"./badge-laIuYW1U.js";import{n as w}from"./dist-Bf1BPKMs.js";import{a as T,n as E,o as D,t as O}from"./card-ulgg5xHn.js";import{r as Ae}from"./uuidv7-cI6C63Fm.js";import{a as k,i as A,n as j,o as M,r as N,t as P}from"./empty-Bhlj8PEo.js";import{n as je}from"./relativeTime-DvyxGIsm.js";import{t as Me}from"./PlatformIcon-CJ69KopR.js";import{a as Ne,d as Pe,f as Fe,l as Ie,m as Le,p as Re,u as ze}from"./api-LQJH44FU.js";import{a as Be,i as F,n as Ve,o as I,r as L,t as He}from"./table-TUtVz-2l.js";import{t as Ue}from"./BundleIdDisplay-CP6rsdFO.js";var We=o(`package-open`,[[`path`,{d:`M12 22v-9`,key:`x3hkom`}],[`path`,{d:`M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z`,key:`2ntwy6`}],[`path`,{d:`M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13`,key:`1pmm1c`}],[`path`,{d:`M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z`,key:`12ttoo`}]]),R=i();function Ge({value:e,length:t,label:n}){let r=async()=>{try{await navigator.clipboard.writeText(e),w.success(`Copied to clipboard`,{description:e})}catch{w.error(`Could not copy the ${n}`)}};return(0,R.jsx)(`button`,{"aria-label":`Copy the ${n} ${e}`,className:`relative cursor-copy rounded-sm font-mono after:absolute after:-inset-x-2 after:-inset-y-4 sm:after:hidden text-xs whitespace-nowrap tabular-nums underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`,onClick:e=>{e.stopPropagation(),r()},title:e,translate:`no`,type:`button`,children:e.slice(0,t)})}function Ke({hash:e}){let t=Ne();if(e===null)return(0,R.jsx)(`span`,{className:`text-muted-foreground`,children:`—`});let n=ye(t.data?.console.gitUrl,e);return n===null?(0,R.jsx)(Ge,{label:`commit`,length:7,value:e}):(0,R.jsx)(`a`,{className:`relative font-mono text-xs whitespace-nowrap underline-offset-4 after:absolute after:-inset-x-2 after:-inset-y-4 hover:underline sm:after:hidden`,href:n,onClick:e=>e.stopPropagation(),rel:`noreferrer`,target:`_blank`,title:e,translate:`no`,children:e.slice(0,7)})}function z({label:e,children:t}){return(0,R.jsxs)(`div`,{className:`grid gap-1 sm:grid-cols-[10rem_minmax(0,1fr)] sm:gap-4`,children:[(0,R.jsx)(`dt`,{className:`text-xs font-medium text-muted-foreground`,children:e}),(0,R.jsx)(`dd`,{className:`min-w-0 text-sm`,children:t})]})}function qe({detail:e}){let{build:n}=e,r=Ie();if(n.is_sandbox)return null;let i=!n.is_store_build;return(0,R.jsx)(t,{className:`min-h-11 shrink-0 sm:min-h-8`,disabled:r.isPending,onClick:()=>r.mutate({id:n.id,storeBuild:i},{onSuccess:()=>{w.success(i?`Marked as the store build`:`Mark cleared`)},onError:e=>{w.error(`Could not change the mark`,{description:e.message})}}),size:`sm`,type:`button`,variant:`outline`,children:i?`Mark as store build`:`Clear mark`})}function Je({detail:e}){let{build:t,newestInScope:n,storeBuildInScope:r}=e,i=r??n;if(i===null)return null;let a=i.id===t.id;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-3 rounded-md border bg-muted/40 p-3 text-xs sm:flex-row sm:items-center sm:justify-between`,children:[(0,R.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,R.jsx)(a?ge:Se,{"aria-hidden":`true`,className:`mt-0.5 size-3.5 shrink-0 text-muted-foreground`}),r?.id===t.id?(0,R.jsxs)(`p`,{children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Store build.`}),` New deploys to this scope patch from this build.`]}):a?(0,R.jsxs)(`p`,{children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Current baseline.`}),` The newest build, and no store build is marked. New deploys to this scope patch from this build.`]}):(0,R.jsxs)(`p`,{children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Not the base.`}),` New deploys patch from`,` `,(0,R.jsxs)(l,{className:`inline-flex items-center gap-0.5 font-medium underline underline-offset-4`,params:{buildId:i.id},to:`/native-builds/$buildId`,children:[ee(i)??(0,R.jsxs)(R.Fragment,{children:[g(i.platform),` `,se[i.artifact_kind].label,` ·`,` `,(0,R.jsx)(v,{uuid:i.id})]}),(0,R.jsx)(u,{"aria-hidden":`true`,className:`size-3`})]}),`, so this one gets no new patches.`]})]}),(0,R.jsx)(qe,{detail:e})]})}function Ye({detail:e}){let{build:t,builtInBundle:n,channel:r}=e,i=n?.childCount??0;return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Built-in bundle`})})}),(0,R.jsxs)(E,{className:`flex flex-col gap-4 p-4 sm:p-6`,children:[(0,R.jsxs)(`dl`,{className:`flex flex-col gap-3`,children:[(0,R.jsx)(z,{label:`Bundle ID`,children:(0,R.jsx)(Ue,{bundleId:t.min_bundle_id})}),(0,R.jsx)(z,{label:`OTAs patching from it`,children:(0,R.jsx)(`span`,{className:`tabular-nums`,children:i===1?`1 bundle`:`${i} bundles`})}),(0,R.jsx)(z,{label:`Scope`,children:(0,R.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,R.jsx)(l,{"aria-label":`Show the builds that embed ${r}`,className:`relative rounded-md after:absolute after:inset-x-0 after:-inset-y-[11px] sm:after:hidden`,search:{channel:r},to:`/native-builds`,children:(0,R.jsx)(d,{channel:r})}),(0,R.jsx)(`span`,{className:`text-xs`,children:g(t.platform)})]})}),(0,R.jsx)(z,{label:`Target`,children:(0,R.jsx)(`span`,{className:`text-xs`,children:(0,R.jsx)(ue,{appVersion:t.app_version,fingerprintHash:t.fingerprint_hash})})}),(0,R.jsx)(z,{label:`Build key`,children:(0,R.jsx)(`span`,{className:`text-xs`,children:(0,R.jsx)(fe,{value:t.build_key})})}),t.build_number?(0,R.jsx)(z,{label:`Build`,children:(0,R.jsx)(`span`,{className:`font-mono text-xs tabular-nums`,translate:`no`,children:t.build_number})}):null,y(t)?(0,R.jsx)(z,{label:`Store`,children:(0,R.jsx)(Ee,{build:t,withTime:!0})}):null,(0,R.jsx)(z,{label:`Commit`,children:(0,R.jsx)(Ke,{hash:t.git_commit_hash})}),(0,R.jsx)(z,{label:`Created`,children:(0,R.jsx)(v,{format:`both`,uuid:t.id})})]}),(0,R.jsx)(Je,{detail:e}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`A store or test install of this build runs this bundle until its first OTA. That OTA downloads as a patch from this bundle when one exists, and as the full bundle otherwise.`})]})]})}var B=a(c(),1),Xe=a(je(),1),V=(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))(V||{}),Ze=[0,1],Qe=[1,0],$e=[2,3],et=[3,2],tt={L:Ze,M:Qe,Q:$e,H:et},nt=/^\d*$/,rt=/^[A-Z0-9 $%*+./:-]*$/,H=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,U=1,W=40,it=3,at=3,G=40,ot=10,st=[[-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]],ct=[[-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]],lt=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<U||e>W)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,V.Timing),this.setFunctionModule(e,6,e%2==0,V.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,q(r,e));this.setFunctionModule(8,7,q(r,6)),this.setFunctionModule(8,8,q(r,7)),this.setFunctionModule(7,8,q(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,q(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,q(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,q(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=q(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,V.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,V.Alignment)}setFunctionModule(e,t,n,r=V.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==X(t,n))throw RangeError(`Invalid argument`);let r=ct[n[0]][t],i=st[n[0]][t],a=Math.floor(Y(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=St(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=Ct(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(Y(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]=q(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+=it:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*G),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*G}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+=it:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*G),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*G}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+=at)}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*ot,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 K(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 q(e,t){return(e>>>t&1)!=0}var J=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()}},ut=[1,10,12,14],dt=[2,9,11,13],ft=[4,8,16,16];function pt(e,t){return e[Math.floor((t+7)/17)+1]}function mt(e){let t=[];for(let n of e)K(n,8,t);return new J(ft,e.length,t)}function ht(e){if(!vt(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);K(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new J(ut,e.length,t)}function gt(e){if(!yt(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=H.indexOf(e.charAt(n))*45;r+=H.indexOf(e.charAt(n+1)),K(r,11,t)}return n<e.length&&K(H.indexOf(e.charAt(n)),6,t),new J(dt,e.length,t)}function _t(e){return e===``?[]:vt(e)?[ht(e)]:yt(e)?[gt(e)]:[mt(xt(e))]}function vt(e){return nt.test(e)}function yt(e){return rt.test(e)}function bt(e,t){let n=0;for(let r of e){let e=pt(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function xt(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 Y(e){if(e<U||e>W)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 X(e,t){return Math.floor(Y(e)/8)-st[t[0]][e]*ct[t[0]][e]}function St(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]=Z(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=Z(n,2)}return t}function Ct(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]^=Z(t,e))}return n}function Z(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 wt(e,t,n=1,r=40,i=-1,a=!0){if(!(U<=n&&n<=r&&r<=W)||i<-1||i>7)throw RangeError(`Invalid value`);let o,s;for(o=n;;o++){let n=X(o,t)*8,i=bt(e,o);if(i<=n){s=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[Qe,$e,et])a&&s<=X(o,e)*8&&(t=e);let c=[];for(let t of e){K(t.mode[0],4,c),K(t.numChars,pt(t.mode,o),c);for(let e of t.getData())c.push(e)}let l=X(o,t)*8;K(0,Math.min(4,l-c.length),c),K(0,(8-c.length%8)%8,c);for(let e=236;c.length<l;e^=253)K(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 lt(o,t,u,i)}function Tt(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`?_t(e):Array.isArray(e)?[mt(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=wt(c,tt[n],i,a,o,r),u=Et({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 Et(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=V.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 Dt=e=>{let{data:t,size:n}=Tt(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}};function Ot({value:e,label:t,className:n}){let{size:i,path:a}=(0,B.useMemo)(()=>Dt(e),[e]);return(0,R.jsxs)(`svg`,{"aria-label":t,className:r(`aspect-square rounded-md`,n),role:`img`,shapeRendering:`crispEdges`,viewBox:`0 0 ${i} ${i}`,children:[(0,R.jsx)(`rect`,{fill:`#fff`,height:i,width:i}),(0,R.jsx)(`path`,{d:a,fill:`#000`})]})}var kt=`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`,At=e=>/iPhone|iPod|iPad/u.test(e.userAgent)||/Macintosh/u.test(e.userAgent)&&e.maxTouchPoints>1,jt=()=>{let[e,t]=(0,B.useState)(null);return(0,B.useEffect)(()=>{let e=null;try{e=window.localStorage.getItem(te)}catch{}t({ios:At(navigator),udid:e!==null&&oe.test(e)?e:null})},[]),e},Mt=300*1e3,Nt=(e,t)=>{let[,n]=(0,B.useReducer)(e=>e+1,0),r=e+ce-Mt;return(0,B.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 Pt({fetching:e,onRenew:n}){return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`This install link has expired.`,e?` Getting a new one.`:``]}),e?null:(0,R.jsx)(t,{className:Q,onClick:n,variant:`outline`,children:`Get a new link`})]})}function Ft({build:e,token:t,secondary:r=!1}){return(0,R.jsx)(`a`,{className:n({className:Q,variant:r?`outline`:`default`}),href:ie(window.location,e.id,t),children:r?`Install anyway`:`Install`})}function $(){return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.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,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:kt})]})}function It({build:e,outline:t=!1}){return(0,R.jsxs)(`a`,{className:n({className:Q,variant:t?`outline`:`default`}),href:`${de(window.location,e.id)}${re(e.id)}`,children:[(0,R.jsx)(De,{"data-icon":`inline-start`}),`Check this iPhone`]})}function Lt({build:t,udid:n}){let r=Re(t.id,n),{refetch:i}=r,a=Nt(r.dataUpdatedAt,r.data?.status===`installable`);if((0,B.useEffect)(()=>{a&&i()},[a,i]),r.isPending)return(0,R.jsx)(e,{"aria-label":`Reading this IPA`,className:`h-11 w-full`});let o=r.data;if(o===void 0||o.status===`unavailable`)return(0,R.jsxs)(S,{children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`Installation details unavailable`}),(0,R.jsx)(x,{children:`The Console couldn't read this IPA from storage in parts, which takes an HTTPS download link that answers Range requests. Xcode or Apple Configurator still installs the download over USB.`})]});if(o.status===`store`)return(0,R.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(o.status===`expired`)return(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`This build's profile has expired`}),(0,R.jsxs)(x,{children:[`It expired on `,(0,Xe.default)(o.expiresAt).format(`YYYY-MM-DD`),`. A maintainer rebuilds it to install again.`]})]});let s=o.link.status===`issued`?o.link.token:null;if(o.link.status===`no-secret`)return(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`Set `,o.link.secretName,` on the Console to install from this page.`]});if(s===null)return null;let c=({secondary:e=!1}={})=>a?(0,R.jsx)(Pt,{fetching:r.isFetching,onRenew:()=>void i()}):(0,R.jsx)(Ft,{build:t,secondary:e,token:s});return o.device===`included`?(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium`,children:`This iPhone is in this build.`}),c(),(0,R.jsx)($,{})]}):o.device===`not-included`?(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium`,children:`Not in this build`}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`This IPA was signed without this iPhone. Send a maintainer this command, then open the newer build once they've rebuilt. Send it only if this is your iPhone.`})]}),(0,R.jsx)(f,{label:`the command that registers this iPhone`,value:ne(n??``),wrap:!0}),c({secondary:!0}),(0,R.jsx)($,{})]}):(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium`,children:`Is this iPhone in this build?`}),(0,R.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 and nothing else: allow the download, then install it from Settings, where iOS calls it not signed. Nothing stays installed.`})]}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row sm:flex-wrap`,children:[(0,R.jsx)(It,{build:t}),c({secondary:!0})]}),(0,R.jsx)($,{})]})}var Rt={ipa:`The .ipa installs only on devices its signing profile allows (development or ad hoc); an App Store export reaches testers through TestFlight.`,aab:`The .aab installs through Google Play or bundletool, not from the file.`},zt={apk:`Scan with an Android phone's camera, then open the APK to install it.`,ipa:`Scan to download. ${Rt.ipa}`,aab:`Scan to download. ${Rt.aab}`,app:`Scan to download the .app.zip on a Mac.`};function Bt(){let{origin:e,pathname:t}=window.location;return(0,R.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,R.jsx)(Ot,{className:`size-48`,label:`Open this page on an iPhone`,value:`${e}${t}`}),(0,R.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:`Scan with an iPhone to install this build from here. The phone signs in to the Console first.`})]})}function Vt({build:e,url:t,note:n}){return(0,R.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,R.jsx)(Ot,{className:`size-48`,label:`Download ${m(e)}`,value:t}),(0,R.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:zt[e.artifact_kind]}),n?(0,R.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:n}):null]})}function Ht({message:e}){return(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`The download link couldn't be created`}),(0,R.jsx)(x,{children:e})]})}function Ut({build:t}){let n=Fe(t.id),r=n.data?.url;if(r===null){let e=Rt[t.artifact_kind];return(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 text-xs text-muted-foreground`,children:[(0,R.jsx)(`p`,{children:`This storage gives no download link a phone can open without signing in, so there is no QR code. Download the build here, or open this page on the phone signed in to the console.`}),e?(0,R.jsx)(`p`,{children:e}):null]})}return r===void 0?n.isError?(0,R.jsx)(Ht,{message:n.error.message}):(0,R.jsx)(e,{className:`size-48`}):(0,R.jsx)(Vt,{build:t,note:`This link expires. If the download fails, reload this page.`,url:r})}function Wt({build:e}){return(0,R.jsx)(`span`,{className:`font-mono text-foreground`,translate:`no`,children:e.submitted_version??`this build`})}var Gt={testflight:{name:`App Store Connect`,url:`https://appstoreconnect.apple.com/apps`},"play-internal":{name:`Play Console`,url:`https://play.google.com/console`}};function Kt({build:e}){let t=Gt[e.submitted_to];return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Install`})})}),(0,R.jsxs)(E,{className:`flex min-w-0 flex-col gap-4 p-4 sm:p-6`,children:[(0,R.jsx)(qt,{build:e}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row sm:flex-wrap`,children:[(0,R.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`}),href:t.url,rel:`noreferrer`,target:`_blank`,children:[(0,R.jsx)(ve,{"data-icon":`inline-start`}),`Open `,t.name]}),(0,R.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,variant:`outline`}),download:!0,href:le(e.id),children:[(0,R.jsx)(_e,{"data-icon":`inline-start`}),(0,R.jsxs)(`span`,{className:`text-left [overflow-wrap:anywhere]`,children:[`Download `,m(e)]})]})]})]})]})}function qt({build:e}){switch(e.artifact_kind){case`apk`:return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Your browser needs the "Install unknown apps" permission.`}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`If this package is already installed with another signing key, such as a Play copy, the install fails. Uninstall that copy first, or build with sandbox: true, whose .sandbox ID installs beside it.`}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`On an emulator or a phone over USB, install and open it from your project:`}),(0,R.jsx)(f,{label:`the install command`,value:ae(e)})]});case`app`:return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`It runs only in the iOS Simulator. In your project, install and open it on the booted one:`}),(0,R.jsx)(f,{label:`the install command`,value:ae(e)})]});case`aab`:return y(e)?(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Submitted to Google Play internal testing as`,` `,(0,R.jsx)(Wt,{build:e}),`. Testers get it once its release is rolled out; on an app Play Console hasn't published, the release is a draft you roll out in Play Console.`]}):(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`For testers, build and release to internal testing:`}),(0,R.jsx)(f,{label:`the Google Play command`,value:`npx hot-updater google-play upload`})]});case`ipa`:return y(e)?(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`On TestFlight as `,(0,R.jsx)(Wt,{build:e}),`. Internal testers install it from the TestFlight app once App Store Connect has processed it, and a preview's pull request comment shows that state.`]}):(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Over USB, Xcode or Apple Configurator installs it. For testers without a registered device:`}),(0,R.jsx)(f,{label:`the TestFlight command`,value:`npx hot-updater testflight`})]})}}function Jt({link:e,url:t}){return e?.status===`no-secret`?(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`Set `,e.secretName,` on the Console to create links.`]}):e?.status!==`issued`||t===null?null:(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(f,{label:`the download link`,value:t}),(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Anyone with this link can download this build until`,` `,(0,Xe.default)(e.expiresAt).format(`YYYY-MM-DD`),`.`]})]})}function Yt({build:e}){return y(e)&&(e.artifact_kind===`ipa`||e.artifact_kind===`aab`)?(0,R.jsx)(Kt,{build:e}):(0,R.jsx)(Xt,{build:e})}function Xt({build:t}){let r=m(t),i=Pe(t.id),a=i.data?.status===`issued`?pe(window.location,t.id,i.data.token):null,o=jt(),s=t.artifact_kind===`ipa`,c=s&&o?.ios===!0;return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Install`})})}),(0,R.jsxs)(E,{className:c?`flex min-w-0 flex-col gap-6 p-4 sm:p-6`:`grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6`,children:[c?(0,R.jsx)(Lt,{build:t,udid:o.udid}):s&&a!==null?(0,R.jsx)(Bt,{}):a===null?i.data===void 0?i.isError?(0,R.jsx)(Ht,{message:i.error.message}):(0,R.jsx)(e,{className:`size-48`}):(0,R.jsx)(Ut,{build:t}):(0,R.jsx)(Vt,{build:t,url:a}),(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-4`,children:[(0,R.jsx)(qt,{build:t}),(0,R.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,variant:`outline`}),download:!0,href:a??le(t.id),children:[(0,R.jsx)(_e,{"data-icon":`inline-start`}),(0,R.jsxs)(`span`,{className:`text-left [overflow-wrap:anywhere]`,children:[`Download `,r]})]}),(0,R.jsx)(Jt,{link:i.data,url:a})]})]})]})}var Zt=`https://hot-updater.dev/docs/guides/bundle-diffing#first-ota-update`;function Qt({detail:r,page:i,onPage:a}){let o=i.before!==void 0||i.after!==void 0,s=Le(r.build.min_bundle_id,i,o),c=o?s.data:r.patches,{next:d,previous:f}=c??{};return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,id:`patches`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Patches from this build`})})}),(0,R.jsxs)(E,{className:`p-0`,children:[o&&s.isError?(0,R.jsx)(`div`,{className:`p-4`,children:(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`Patches couldn't be loaded`}),(0,R.jsx)(x,{children:s.error.message}),(0,R.jsx)(Oe,{children:(0,R.jsxs)(t,{onClick:()=>void s.refetch(),size:`xs`,variant:`outline`,children:[(0,R.jsx)(we,{"data-icon":`inline-start`}),`Retry`]})})]})}):c===void 0?(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 p-4`,children:[(0,R.jsx)(`span`,{className:`sr-only`,children:`Loading patches`}),(0,R.jsx)(e,{className:`h-4 w-full`}),(0,R.jsx)(e,{className:`h-4 w-2/3`})]}):c.data.length===0?o?(0,R.jsxs)(P,{className:`py-10`,children:[(0,R.jsx)(A,{children:(0,R.jsx)(M,{children:`No more patches`})}),(0,R.jsx)(t,{className:`min-h-11 sm:min-h-8`,onClick:()=>a({}),variant:`outline`,children:`Show the newest patches`})]}):(0,R.jsxs)(P,{className:`py-10`,children:[(0,R.jsxs)(A,{children:[(0,R.jsx)(k,{variant:`icon`,children:(0,R.jsx)(xe,{})}),(0,R.jsx)(M,{children:`No patches from this build`}),(0,R.jsxs)(N,{children:[`A deploy adds a patch from this build's bundle while it is its scope's store build, or its newest build with none marked, and the deploy config turns patches on, with`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`patch`}),` in`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`hot-updater.config.ts`}),`.`]})]}),(0,R.jsx)(j,{children:(0,R.jsxs)(`a`,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),href:Zt,rel:`noreferrer`,target:`_blank`,children:[`Bundle diffing guide`,(0,R.jsx)(u,{"data-icon":`inline-end`})]})})]}):(0,R.jsxs)(He,{"aria-busy":o&&s.isPlaceholderData,"aria-label":`Patches from this build`,className:`table-fixed`,children:[(0,R.jsx)(Be,{children:(0,R.jsxs)(I,{children:[(0,R.jsx)(F,{children:`Target bundle`}),(0,R.jsx)(F,{className:`w-28`,children:`Patch size`}),(0,R.jsx)(F,{className:`hidden w-32 sm:table-cell`,children:`Created`})]})}),(0,R.jsx)(Ve,{children:c.data.map(e=>(0,R.jsxs)(I,{children:[(0,R.jsx)(L,{className:`py-3 whitespace-normal`,children:(0,R.jsx)(l,{className:`block font-mono text-xs [overflow-wrap:anywhere] underline-offset-4 hover:underline`,search:{bundleId:e.bundleId},title:e.bundleId,to:`/`,translate:`no`,children:e.bundleId})}),(0,R.jsx)(L,{className:`text-xs tabular-nums`,children:p(e.byteSize)}),(0,R.jsx)(L,{className:`hidden sm:table-cell`,children:(0,R.jsx)(v,{uuid:e.bundleId})})]},e.bundleId))})]}),d!==void 0||f!==void 0?(0,R.jsxs)(`nav`,{"aria-label":`Patch pages`,className:`flex items-center justify-end gap-2 border-t px-4 py-2`,children:[(0,R.jsxs)(t,{className:`min-h-11 sm:min-h-7`,disabled:f===void 0||o&&s.isPlaceholderData,onClick:()=>a({after:f}),size:`sm`,variant:`ghost`,children:[(0,R.jsx)(me,{"data-icon":`inline-start`}),`Newer`]}),(0,R.jsxs)(t,{className:`min-h-11 sm:min-h-7`,disabled:d===void 0||o&&s.isPlaceholderData,onClick:()=>a({before:d}),size:`sm`,variant:`ghost`,children:[`Older`,(0,R.jsx)(he,{"data-icon":`inline-end`})]})]}):null]})]})}var $t=(e,t)=>{let n=e.data.find(e=>e.bundleId===t);if(n!==void 0)return{kind:`patch`,byteSize:n.byteSize};let r=e.data.at(-1)?.bundleId;return e.next!==void 0&&r!==void 0&&t<r?{kind:`unknown`}:{kind:`full`}};function en({download:e}){switch(e.kind){case`patch`:return(0,R.jsxs)(`span`,{className:`text-xs`,children:[`Patch`,` `,(0,R.jsxs)(`span`,{className:`text-muted-foreground tabular-nums`,children:[`(`,p(e.byteSize),`)`]})]});case`full`:return(0,R.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Full bundle`});case`unknown`:return(0,R.jsx)(`a`,{className:`text-xs underline-offset-4 hover:underline`,href:`#patches`,children:`See patches`})}}function tn({detail:e}){let{build:t,channel:r,servedNow:i,patches:a,catalogScopeKey:o}=e,s=i.find(({rolloutCohortCount:e,targetCohorts:t})=>e>0||t.length>0)?.bundleId,c=t.is_store_build&&s!=null&&$t(a,s).kind===`full`?[`npx hot-updater patch`,`-p ${t.platform}`,`-c ${h(r)}`,`-b ${h(s)}`,`--base-artifact-id ${h(t.min_bundle_id)}`].join(` `):null,d=(0,R.jsxs)(l,{className:`inline-flex items-center gap-0.5 underline-offset-4 hover:underline`,search:{scopeKey:o},to:`/`,children:[`All releases in this scope`,(0,R.jsx)(u,{"aria-hidden":`true`,className:`size-3`})]});return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Served now`})})}),(0,R.jsx)(E,{className:`p-0`,children:i.length===0?(0,R.jsxs)(P,{className:`py-10`,children:[(0,R.jsxs)(A,{children:[(0,R.jsx)(k,{variant:`icon`,children:(0,R.jsx)(We,{})}),(0,R.jsx)(M,{children:`No OTA for this build yet`}),(0,R.jsxs)(N,{children:[`No release in this build's scope is newer than its built-in bundle. Deploy one with`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`hot-updater deploy`}),`, and it shows here.`]})]}),(0,R.jsx)(j,{children:(0,R.jsx)(l,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),search:{scopeKey:o},to:`/`,children:`All releases in this scope`})})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(He,{"aria-label":`Served now`,className:`table-fixed`,children:[(0,R.jsx)(Be,{children:(0,R.jsxs)(I,{children:[(0,R.jsx)(F,{children:`Bundle`}),(0,R.jsx)(F,{className:`hidden w-40 md:table-cell`,children:`Rollout`}),(0,R.jsx)(F,{className:`hidden w-32 sm:table-cell`,children:`Created`}),(0,R.jsx)(F,{className:`w-32`,children:`First OTA download`})]})}),(0,R.jsx)(Ve,{children:i.map(e=>{let t=e.bundleId,n=e.rolloutCohortCount/Ae*100;return(0,R.jsxs)(I,{children:[(0,R.jsx)(L,{className:`py-3 whitespace-normal`,children:(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.jsx)(l,{className:`font-mono text-xs [overflow-wrap:anywhere] underline-offset-4 hover:underline`,search:{releaseId:e.releaseId},title:t,to:`/`,translate:`no`,children:t}),e.message?(0,R.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.message}):null]})}),(0,R.jsx)(L,{className:`hidden md:table-cell`,children:(0,R.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[e.targetCohorts.length>0?(0,R.jsx)(ke,{variant:`secondary`,children:e.targetCohorts.length===1?`1 cohort`:`${e.targetCohorts.length} cohorts`}):(0,R.jsx)(be,{percentage:n}),e.shouldForceUpdate?(0,R.jsx)(ke,{variant:`outline`,children:`Forced`}):null]})}),(0,R.jsx)(L,{className:`hidden sm:table-cell`,children:(0,R.jsx)(v,{uuid:t})}),(0,R.jsx)(L,{children:(0,R.jsx)(en,{download:$t(a,t)})})]},e.releaseId)})})]}),c===null?null:(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 border-t px-4 py-3 text-xs`,children:[(0,R.jsx)(`p`,{children:`The OTA fresh installs get first has no patch from this store build, so they download all of it. Add one from your project:`}),(0,R.jsx)(f,{label:`the patch command`,value:c})]}),(0,R.jsxs)(`p`,{className:`border-t px-4 py-3 text-xs text-muted-foreground`,children:[`What the update check serves an install of this build now, newest first: not the history. `,d]})]})})]})}function nn({buildId:r,search:i,onSearchChange:a}){let o=ze(r),c=o.data,u={...i.patchesBefore===void 0?{}:{before:i.patchesBefore},...i.patchesAfter===void 0?{}:{after:i.patchesAfter}};return(0,R.jsxs)(`div`,{className:`flex h-svh min-h-0 flex-col`,children:[(0,R.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 items-center gap-x-2 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,R.jsx)(s,{className:`-ml-1 size-11 lg:size-7`}),(0,R.jsxs)(l,{className:n({className:`min-h-11 sm:min-h-7`,size:`sm`,variant:`ghost`}),to:`/native-builds`,children:[(0,R.jsx)(me,{"data-icon":`inline-start`}),`Native builds`]}),c?(0,R.jsxs)(`h1`,{className:`flex min-w-0 items-center gap-1.5 text-sm font-medium`,children:[(0,R.jsx)(Me,{className:`size-3.5 shrink-0 text-muted-foreground`,platform:c.build.platform}),(0,R.jsxs)(`span`,{className:`flex min-w-0 flex-wrap items-center gap-x-1.5`,children:[(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 whitespace-nowrap`,children:[(0,R.jsxs)(`span`,{className:`sr-only`,children:[g(c.build.platform),` `]}),se[c.build.artifact_kind].label,(0,R.jsx)(Te,{build:c.build})]}),(0,R.jsxs)(`span`,{className:`min-w-0 [overflow-wrap:anywhere]`,children:[`· `,(0,R.jsx)(`span`,{translate:`no`,children:c.channel})]})]}),(0,R.jsx)(`span`,{className:`hidden text-xs font-normal text-muted-foreground tabular-nums sm:inline`,children:p(c.build.byte_size)})]}):(0,R.jsx)(`h1`,{className:`sr-only`,children:`Native build`})]}),(0,R.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6`,children:(0,R.jsx)(`div`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-4 sm:gap-6`,children:o.isError?(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`The native build couldn't be loaded`}),(0,R.jsx)(x,{children:o.error.message}),(0,R.jsx)(Oe,{children:(0,R.jsxs)(t,{onClick:()=>void o.refetch(),size:`xs`,variant:`outline`,children:[(0,R.jsx)(we,{"data-icon":`inline-start`}),`Retry`]})})]}):c===void 0?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`span`,{className:`sr-only`,children:`Loading the native build`}),(0,R.jsx)(e,{className:`h-56 w-full rounded-xl`}),(0,R.jsx)(e,{className:`h-64 w-full rounded-xl`})]}):c===null?(0,R.jsxs)(P,{className:`border py-16`,children:[(0,R.jsxs)(A,{children:[(0,R.jsx)(k,{variant:`icon`,children:(0,R.jsx)(Ce,{})}),(0,R.jsx)(M,{children:`Native build not found`}),(0,R.jsxs)(N,{children:[`No native build has this ID. It may have been deleted with`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`native-build delete`}),`, or be from another console.`]})]}),(0,R.jsx)(j,{children:(0,R.jsx)(l,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),to:`/native-builds`,children:`Show all native builds`})})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(Yt,{build:c.build}),(0,R.jsx)(Ye,{detail:c}),(0,R.jsx)(tn,{detail:c}),(0,R.jsx)(Qt,{detail:c,onPage:e=>a({...e.before===void 0?{}:{patchesBefore:e.before},...e.after===void 0?{}:{patchesAfter:e.after}}),page:u})]})})})]})}function rn(){let{buildId:e}=_.useParams(),t=_.useSearch(),n=_.useNavigate();return(0,R.jsx)(nn,{buildId:e,onSearchChange:e=>void n({search:e,replace:!0}),search:t})}export{rn as component};
1
+ import{$ as e,Fn as t,In as n,Ln as r,Wr as i,ii as a,ir as o,p as s,ti as c}from"./sidebar-Di9SN47G.js";import{t as l}from"./link-DTEyW70e.js";import{t as u}from"./arrow-up-right-DK8Zdg40.js";import{C as d,S as f,_ as ee,a as te,c as p,d as ne,f as re,g as ie,h as ae,i as oe,l as se,m,o as ce,p as le,r as ue,s as de,t as fe,v as pe,w as me,x as h,y as g}from"./TargetDisplay-CoYY8Fs4.js";import{t as he}from"./chevron-right-BoUXo82O.js";import{n as ge,t as _}from"./native-builds_._buildId-D5tnmyu7.js";import{r as _e}from"./HashValueDisplay-MoZMmTeP.js";import{i as ve,n as ye,r as v,t as be}from"./RolloutPercentageBadge-D-tZKnX7.js";import{n as xe,t as Se}from"./history-DakJoeSM.js";import{r as Ce}from"./-native-builds-search-OlRj4Jz0.js";import{t as we}from"./refresh-cw-C-tvoCcE.js";import{n as y,r as Te,t as Ee}from"./StoreSubmission-CGFw9Mjw.js";import{t as De}from"./smartphone-r0rRdPas.js";import{a as b,i as x,n as S,o as C,r as Oe,t as ke}from"./badge-laIuYW1U.js";import{n as w}from"./dist-Bf1BPKMs.js";import{a as T,n as E,o as D,t as O}from"./card-ulgg5xHn.js";import{r as Ae}from"./uuidv7-cI6C63Fm.js";import{a as k,i as A,n as j,o as M,r as N,t as P}from"./empty-Bhlj8PEo.js";import{n as je}from"./relativeTime-DvyxGIsm.js";import{t as Me}from"./PlatformIcon-CJ69KopR.js";import{a as Ne,d as Pe,f as Fe,l as Ie,m as Le,p as Re,u as ze}from"./api-LQJH44FU.js";import{a as Be,i as F,n as Ve,o as I,r as L,t as He}from"./table-TUtVz-2l.js";import{t as Ue}from"./BundleIdDisplay-CP6rsdFO.js";var We=o(`package-open`,[[`path`,{d:`M12 22v-9`,key:`x3hkom`}],[`path`,{d:`M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z`,key:`2ntwy6`}],[`path`,{d:`M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13`,key:`1pmm1c`}],[`path`,{d:`M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z`,key:`12ttoo`}]]),R=i();function Ge({value:e,length:t,label:n}){let r=async()=>{try{await navigator.clipboard.writeText(e),w.success(`Copied to clipboard`,{description:e})}catch{w.error(`Could not copy the ${n}`)}};return(0,R.jsx)(`button`,{"aria-label":`Copy the ${n} ${e}`,className:`relative cursor-copy rounded-sm font-mono after:absolute after:-inset-x-2 after:-inset-y-4 sm:after:hidden text-xs whitespace-nowrap tabular-nums underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`,onClick:e=>{e.stopPropagation(),r()},title:e,translate:`no`,type:`button`,children:e.slice(0,t)})}function Ke({hash:e}){let t=Ne();if(e===null)return(0,R.jsx)(`span`,{className:`text-muted-foreground`,children:`—`});let n=ye(t.data?.console.gitUrl,e);return n===null?(0,R.jsx)(Ge,{label:`commit`,length:7,value:e}):(0,R.jsx)(`a`,{className:`relative font-mono text-xs whitespace-nowrap underline-offset-4 after:absolute after:-inset-x-2 after:-inset-y-4 hover:underline sm:after:hidden`,href:n,onClick:e=>e.stopPropagation(),rel:`noreferrer`,target:`_blank`,title:e,translate:`no`,children:e.slice(0,7)})}function z({label:e,children:t}){return(0,R.jsxs)(`div`,{className:`grid gap-1 sm:grid-cols-[10rem_minmax(0,1fr)] sm:gap-4`,children:[(0,R.jsx)(`dt`,{className:`text-xs font-medium text-muted-foreground`,children:e}),(0,R.jsx)(`dd`,{className:`min-w-0 text-sm`,children:t})]})}function qe({detail:e}){let{build:n}=e,r=Ie();if(n.is_sandbox)return null;let i=!n.is_store_build;return(0,R.jsx)(t,{className:`min-h-11 shrink-0 sm:min-h-8`,disabled:r.isPending,onClick:()=>r.mutate({id:n.id,storeBuild:i},{onSuccess:()=>{w.success(i?`Marked as the store build`:`Mark cleared`)},onError:e=>{w.error(`Could not change the mark`,{description:e.message})}}),size:`sm`,type:`button`,variant:`outline`,children:i?`Mark as store build`:`Clear mark`})}function Je({detail:e}){let{build:t,newestInScope:n,storeBuildInScope:r}=e,i=r??n;if(i===null)return null;let a=i.id===t.id;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-3 rounded-md border bg-muted/40 p-3 text-xs sm:flex-row sm:items-center sm:justify-between`,children:[(0,R.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,R.jsx)(a?ge:Se,{"aria-hidden":`true`,className:`mt-0.5 size-3.5 shrink-0 text-muted-foreground`}),r?.id===t.id?(0,R.jsxs)(`p`,{children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Store build.`}),` New deploys to this scope patch from this build.`]}):a?(0,R.jsxs)(`p`,{children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Current baseline.`}),` The newest build, and no store build is marked. New deploys to this scope patch from this build.`]}):(0,R.jsxs)(`p`,{children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Not the base.`}),` New deploys patch from`,` `,(0,R.jsxs)(l,{className:`inline-flex items-center gap-0.5 font-medium underline underline-offset-4`,params:{buildId:i.id},to:`/native-builds/$buildId`,children:[ee(i)??(0,R.jsxs)(R.Fragment,{children:[g(i.platform),` `,se[i.artifact_kind].label,` ·`,` `,(0,R.jsx)(v,{uuid:i.id})]}),(0,R.jsx)(u,{"aria-hidden":`true`,className:`size-3`})]}),`, so this one gets no new patches.`]})]}),(0,R.jsx)(qe,{detail:e})]})}function Ye({detail:e}){let{build:t,builtInBundle:n,channel:r}=e,i=n?.childCount??0;return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Built-in bundle`})})}),(0,R.jsxs)(E,{className:`flex flex-col gap-4 p-4 sm:p-6`,children:[(0,R.jsxs)(`dl`,{className:`flex flex-col gap-3`,children:[(0,R.jsx)(z,{label:`Bundle ID`,children:(0,R.jsx)(Ue,{bundleId:t.min_bundle_id})}),(0,R.jsx)(z,{label:`OTAs patching from it`,children:(0,R.jsx)(`span`,{className:`tabular-nums`,children:i===1?`1 bundle`:`${i} bundles`})}),(0,R.jsx)(z,{label:`Scope`,children:(0,R.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,R.jsx)(l,{"aria-label":`Show the builds that embed ${r}`,className:`relative rounded-md after:absolute after:inset-x-0 after:-inset-y-[11px] sm:after:hidden`,search:{channel:r},to:`/native-builds`,children:(0,R.jsx)(d,{channel:r})}),(0,R.jsx)(`span`,{className:`text-xs`,children:g(t.platform)})]})}),(0,R.jsx)(z,{label:`Target`,children:(0,R.jsx)(`span`,{className:`text-xs`,children:(0,R.jsx)(ue,{appVersion:t.app_version,fingerprintHash:t.fingerprint_hash})})}),(0,R.jsx)(z,{label:`Build key`,children:(0,R.jsx)(`span`,{className:`text-xs`,children:(0,R.jsx)(fe,{value:t.build_key})})}),t.build_number?(0,R.jsx)(z,{label:`Build`,children:(0,R.jsx)(`span`,{className:`font-mono text-xs tabular-nums`,translate:`no`,children:t.build_number})}):null,y(t)?(0,R.jsx)(z,{label:`Store`,children:(0,R.jsx)(Ee,{build:t,withTime:!0})}):null,(0,R.jsx)(z,{label:`Commit`,children:(0,R.jsx)(Ke,{hash:t.git_commit_hash})}),(0,R.jsx)(z,{label:`Created`,children:(0,R.jsx)(v,{format:`both`,uuid:t.id})})]}),(0,R.jsx)(Je,{detail:e}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`A store or test install of this build runs this bundle until its first OTA. That OTA downloads as a patch from this bundle when one exists, and as the full bundle otherwise.`})]})]})}var B=a(c(),1),Xe=a(je(),1),V=(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))(V||{}),Ze=[0,1],Qe=[1,0],$e=[2,3],et=[3,2],tt={L:Ze,M:Qe,Q:$e,H:et},nt=/^\d*$/,rt=/^[A-Z0-9 $%*+./:-]*$/,H=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,U=1,W=40,it=3,at=3,G=40,ot=10,st=[[-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]],ct=[[-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]],lt=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<U||e>W)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,V.Timing),this.setFunctionModule(e,6,e%2==0,V.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,q(r,e));this.setFunctionModule(8,7,q(r,6)),this.setFunctionModule(8,8,q(r,7)),this.setFunctionModule(7,8,q(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,q(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,q(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,q(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=q(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,V.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,V.Alignment)}setFunctionModule(e,t,n,r=V.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==X(t,n))throw RangeError(`Invalid argument`);let r=ct[n[0]][t],i=st[n[0]][t],a=Math.floor(Y(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=St(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=Ct(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(Y(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]=q(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+=it:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*G),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*G}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+=it:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*G),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*G}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+=at)}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*ot,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 K(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 q(e,t){return(e>>>t&1)!=0}var J=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()}},ut=[1,10,12,14],dt=[2,9,11,13],ft=[4,8,16,16];function pt(e,t){return e[Math.floor((t+7)/17)+1]}function mt(e){let t=[];for(let n of e)K(n,8,t);return new J(ft,e.length,t)}function ht(e){if(!vt(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);K(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new J(ut,e.length,t)}function gt(e){if(!yt(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=H.indexOf(e.charAt(n))*45;r+=H.indexOf(e.charAt(n+1)),K(r,11,t)}return n<e.length&&K(H.indexOf(e.charAt(n)),6,t),new J(dt,e.length,t)}function _t(e){return e===``?[]:vt(e)?[ht(e)]:yt(e)?[gt(e)]:[mt(xt(e))]}function vt(e){return nt.test(e)}function yt(e){return rt.test(e)}function bt(e,t){let n=0;for(let r of e){let e=pt(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function xt(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 Y(e){if(e<U||e>W)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 X(e,t){return Math.floor(Y(e)/8)-st[t[0]][e]*ct[t[0]][e]}function St(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]=Z(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=Z(n,2)}return t}function Ct(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]^=Z(t,e))}return n}function Z(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 wt(e,t,n=1,r=40,i=-1,a=!0){if(!(U<=n&&n<=r&&r<=W)||i<-1||i>7)throw RangeError(`Invalid value`);let o,s;for(o=n;;o++){let n=X(o,t)*8,i=bt(e,o);if(i<=n){s=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[Qe,$e,et])a&&s<=X(o,e)*8&&(t=e);let c=[];for(let t of e){K(t.mode[0],4,c),K(t.numChars,pt(t.mode,o),c);for(let e of t.getData())c.push(e)}let l=X(o,t)*8;K(0,Math.min(4,l-c.length),c),K(0,(8-c.length%8)%8,c);for(let e=236;c.length<l;e^=253)K(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 lt(o,t,u,i)}function Tt(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`?_t(e):Array.isArray(e)?[mt(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=wt(c,tt[n],i,a,o,r),u=Et({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 Et(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=V.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 Dt=e=>{let{data:t,size:n}=Tt(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}};function Ot({value:e,label:t,className:n}){let{size:i,path:a}=(0,B.useMemo)(()=>Dt(e),[e]);return(0,R.jsxs)(`svg`,{"aria-label":t,className:r(`aspect-square rounded-md`,n),role:`img`,shapeRendering:`crispEdges`,viewBox:`0 0 ${i} ${i}`,children:[(0,R.jsx)(`rect`,{fill:`#fff`,height:i,width:i}),(0,R.jsx)(`path`,{d:a,fill:`#000`})]})}var kt=`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`,At=e=>/iPhone|iPod|iPad/u.test(e.userAgent)||/Macintosh/u.test(e.userAgent)&&e.maxTouchPoints>1,jt=()=>{let[e,t]=(0,B.useState)(null);return(0,B.useEffect)(()=>{let e=null;try{e=window.localStorage.getItem(te)}catch{}t({ios:At(navigator),udid:e!==null&&oe.test(e)?e:null})},[]),e},Mt=300*1e3,Nt=(e,t)=>{let[,n]=(0,B.useReducer)(e=>e+1,0),r=e+ce-Mt;return(0,B.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 Pt({fetching:e,onRenew:n}){return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`This install link has expired.`,e?` Getting a new one.`:``]}),e?null:(0,R.jsx)(t,{className:Q,onClick:n,variant:`outline`,children:`Get a new link`})]})}function Ft({build:e,token:t,secondary:r=!1}){return(0,R.jsx)(`a`,{className:n({className:Q,variant:r?`outline`:`default`}),href:ie(window.location,e.id,t),children:r?`Install anyway`:`Install`})}function $(){return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.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,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:kt})]})}function It({build:e,outline:t=!1}){return(0,R.jsxs)(`a`,{className:n({className:Q,variant:t?`outline`:`default`}),href:`${de(window.location,e.id)}${re(e.id)}`,children:[(0,R.jsx)(De,{"data-icon":`inline-start`}),`Check this iPhone`]})}function Lt({build:t,udid:n}){let r=Re(t.id,n),{refetch:i}=r,a=Nt(r.dataUpdatedAt,r.data?.status===`installable`);if((0,B.useEffect)(()=>{a&&i()},[a,i]),r.isPending)return(0,R.jsx)(e,{"aria-label":`Reading this IPA`,className:`h-11 w-full`});let o=r.data;if(o===void 0||o.status===`unavailable`)return(0,R.jsxs)(S,{children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`Installation details unavailable`}),(0,R.jsx)(x,{children:`The Console couldn't read this IPA from storage in parts, which takes an HTTPS download link that answers Range requests. Xcode or Apple Configurator still installs the download over USB.`})]});if(o.status===`store`)return(0,R.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(o.status===`expired`)return(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`This build's profile has expired`}),(0,R.jsxs)(x,{children:[`It expired on `,(0,Xe.default)(o.expiresAt).format(`YYYY-MM-DD`),`. A maintainer rebuilds it to install again.`]})]});let s=o.link.status===`issued`?o.link.token:null;if(o.link.status===`no-secret`)return(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`Set `,o.link.secretName,` on the Console to install from this page.`]});if(s===null)return null;let c=({secondary:e=!1}={})=>a?(0,R.jsx)(Pt,{fetching:r.isFetching,onRenew:()=>void i()}):(0,R.jsx)(Ft,{build:t,secondary:e,token:s});return o.device===`included`?(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium`,children:`This iPhone is in this build.`}),c(),(0,R.jsx)($,{})]}):o.device===`not-included`?(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium`,children:`Not in this build`}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`This IPA was signed without this iPhone. Send a maintainer this command, then open the newer build once they've rebuilt. Send it only if this is your iPhone.`})]}),(0,R.jsx)(f,{label:`the command that registers this iPhone`,value:ne(n??``),wrap:!0}),c({secondary:!0}),(0,R.jsx)($,{})]}):(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium`,children:`Is this iPhone in this build?`}),(0,R.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 and nothing else: allow the download, then install it from Settings, where iOS calls it not signed. Nothing stays installed.`})]}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row sm:flex-wrap`,children:[(0,R.jsx)(It,{build:t}),c({secondary:!0})]}),(0,R.jsx)($,{})]})}var Rt={ipa:`The .ipa installs only on devices its signing profile allows (development or ad hoc); an App Store export reaches testers through TestFlight.`,aab:`The .aab installs through Google Play or bundletool, not from the file.`},zt={apk:`Scan with an Android phone's camera, then open the APK to install it.`,ipa:`Scan to download. ${Rt.ipa}`,aab:`Scan to download. ${Rt.aab}`,app:`Scan to download the .app.zip on a Mac.`};function Bt(){let{origin:e,pathname:t}=window.location;return(0,R.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,R.jsx)(Ot,{className:`size-48`,label:`Open this page on an iPhone`,value:`${e}${t}`}),(0,R.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:`Scan with an iPhone to install this build from here. The phone signs in to the Console first.`})]})}function Vt({build:e,url:t,note:n}){return(0,R.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,R.jsx)(Ot,{className:`size-48`,label:`Download ${m(e)}`,value:t}),(0,R.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:zt[e.artifact_kind]}),n?(0,R.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:n}):null]})}function Ht({message:e}){return(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`The download link couldn't be created`}),(0,R.jsx)(x,{children:e})]})}function Ut({build:t}){let n=Fe(t.id),r=n.data?.url;if(r===null){let e=Rt[t.artifact_kind];return(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 text-xs text-muted-foreground`,children:[(0,R.jsx)(`p`,{children:`This storage gives no download link a phone can open without signing in, so there is no QR code. Download the build here, or open this page on the phone signed in to the console.`}),e?(0,R.jsx)(`p`,{children:e}):null]})}return r===void 0?n.isError?(0,R.jsx)(Ht,{message:n.error.message}):(0,R.jsx)(e,{className:`size-48`}):(0,R.jsx)(Vt,{build:t,note:`This link expires. If the download fails, reload this page.`,url:r})}function Wt({build:e}){return(0,R.jsx)(`span`,{className:`font-mono text-foreground`,translate:`no`,children:e.submitted_version??`this build`})}var Gt={testflight:{name:`App Store Connect`,url:`https://appstoreconnect.apple.com/apps`},"play-internal":{name:`Play Console`,url:`https://play.google.com/console`}};function Kt({build:e}){let t=Gt[e.submitted_to];return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Install`})})}),(0,R.jsxs)(E,{className:`flex min-w-0 flex-col gap-4 p-4 sm:p-6`,children:[(0,R.jsx)(qt,{build:e}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row sm:flex-wrap`,children:[(0,R.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`}),href:t.url,rel:`noreferrer`,target:`_blank`,children:[(0,R.jsx)(ve,{"data-icon":`inline-start`}),`Open `,t.name]}),(0,R.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,variant:`outline`}),download:!0,href:le(e.id),children:[(0,R.jsx)(_e,{"data-icon":`inline-start`}),(0,R.jsxs)(`span`,{className:`text-left [overflow-wrap:anywhere]`,children:[`Download `,m(e)]})]})]})]})]})}function qt({build:e}){switch(e.artifact_kind){case`apk`:return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Your browser needs the "Install unknown apps" permission.`}),e.is_sandbox?(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Its .sandbox ID installs it beside a Play copy.`}):(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`If this package is already installed with another signing key, such as a Play copy, the install fails. Uninstall that copy first, or build with sandbox: true, whose .sandbox ID installs beside it.`}),(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`On an emulator or a phone over USB, install and open it from your project:`}),(0,R.jsx)(f,{label:`the install command`,value:ae(e)})]});case`app`:return(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`It runs only in the iOS Simulator. In your project, install and open it on the booted one:`}),(0,R.jsx)(f,{label:`the install command`,value:ae(e)})]});case`aab`:return y(e)?(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Submitted to Google Play internal testing as`,` `,(0,R.jsx)(Wt,{build:e}),`. Testers get it once its release is rolled out; on an app Play Console hasn't published, the release is a draft you roll out in Play Console.`]}):(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`For testers, build and release to internal testing:`}),(0,R.jsx)(f,{label:`the Google Play command`,value:`npx hot-updater google-play upload`})]});case`ipa`:return y(e)?(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`On TestFlight as `,(0,R.jsx)(Wt,{build:e}),`. Internal testers install it from the TestFlight app once App Store Connect has processed it, and a preview's pull request comment shows that state.`]}):(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Over USB, Xcode or Apple Configurator installs it. For testers without a registered device:`}),(0,R.jsx)(f,{label:`the TestFlight command`,value:`npx hot-updater testflight`})]})}}function Jt({link:e,url:t}){return e?.status===`no-secret`?(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,role:`status`,children:[`Set `,e.secretName,` on the Console to create links.`]}):e?.status!==`issued`||t===null?null:(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,R.jsx)(f,{label:`the download link`,value:t}),(0,R.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Anyone with this link can download this build until`,` `,(0,Xe.default)(e.expiresAt).format(`YYYY-MM-DD`),`.`]})]})}function Yt({build:e}){return y(e)&&(e.artifact_kind===`ipa`||e.artifact_kind===`aab`)?(0,R.jsx)(Kt,{build:e}):(0,R.jsx)(Xt,{build:e})}function Xt({build:t}){let r=m(t),i=Pe(t.id),a=i.data?.status===`issued`?pe(window.location,t.id,i.data.token):null,o=jt(),s=t.artifact_kind===`ipa`,c=s&&o?.ios===!0;return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Install`})})}),(0,R.jsxs)(E,{className:c?`flex min-w-0 flex-col gap-6 p-4 sm:p-6`:`grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6`,children:[c?(0,R.jsx)(Lt,{build:t,udid:o.udid}):s&&a!==null?(0,R.jsx)(Bt,{}):a===null?i.data===void 0?i.isError?(0,R.jsx)(Ht,{message:i.error.message}):(0,R.jsx)(e,{className:`size-48`}):(0,R.jsx)(Ut,{build:t}):(0,R.jsx)(Vt,{build:t,url:a}),(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-4`,children:[(0,R.jsx)(qt,{build:t}),(0,R.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,variant:`outline`}),download:!0,href:a??le(t.id),children:[(0,R.jsx)(_e,{"data-icon":`inline-start`}),(0,R.jsxs)(`span`,{className:`text-left [overflow-wrap:anywhere]`,children:[`Download `,r]})]}),(0,R.jsx)(Jt,{link:i.data,url:a})]})]})]})}var Zt=`https://hot-updater.dev/docs/guides/bundle-diffing#first-ota-update`;function Qt({detail:r,page:i,onPage:a}){let o=i.before!==void 0||i.after!==void 0,s=Le(r.build.min_bundle_id,i,o),c=o?s.data:r.patches,{next:d,previous:f}=c??{};return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,id:`patches`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Patches from this build`})})}),(0,R.jsxs)(E,{className:`p-0`,children:[o&&s.isError?(0,R.jsx)(`div`,{className:`p-4`,children:(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`Patches couldn't be loaded`}),(0,R.jsx)(x,{children:s.error.message}),(0,R.jsx)(Oe,{children:(0,R.jsxs)(t,{onClick:()=>void s.refetch(),size:`xs`,variant:`outline`,children:[(0,R.jsx)(we,{"data-icon":`inline-start`}),`Retry`]})})]})}):c===void 0?(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 p-4`,children:[(0,R.jsx)(`span`,{className:`sr-only`,children:`Loading patches`}),(0,R.jsx)(e,{className:`h-4 w-full`}),(0,R.jsx)(e,{className:`h-4 w-2/3`})]}):c.data.length===0?o?(0,R.jsxs)(P,{className:`py-10`,children:[(0,R.jsx)(A,{children:(0,R.jsx)(M,{children:`No more patches`})}),(0,R.jsx)(t,{className:`min-h-11 sm:min-h-8`,onClick:()=>a({}),variant:`outline`,children:`Show the newest patches`})]}):(0,R.jsxs)(P,{className:`py-10`,children:[(0,R.jsxs)(A,{children:[(0,R.jsx)(k,{variant:`icon`,children:(0,R.jsx)(xe,{})}),(0,R.jsx)(M,{children:`No patches from this build`}),(0,R.jsxs)(N,{children:[`A deploy adds a patch from this build's bundle while it is its scope's store build, or its newest build with none marked, and the deploy config turns patches on, with`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`patch`}),` in`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`hot-updater.config.ts`}),`.`]})]}),(0,R.jsx)(j,{children:(0,R.jsxs)(`a`,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),href:Zt,rel:`noreferrer`,target:`_blank`,children:[`Bundle diffing guide`,(0,R.jsx)(u,{"data-icon":`inline-end`})]})})]}):(0,R.jsxs)(He,{"aria-busy":o&&s.isPlaceholderData,"aria-label":`Patches from this build`,className:`table-fixed`,children:[(0,R.jsx)(Be,{children:(0,R.jsxs)(I,{children:[(0,R.jsx)(F,{children:`Target bundle`}),(0,R.jsx)(F,{className:`w-28`,children:`Patch size`}),(0,R.jsx)(F,{className:`hidden w-32 sm:table-cell`,children:`Created`})]})}),(0,R.jsx)(Ve,{children:c.data.map(e=>(0,R.jsxs)(I,{children:[(0,R.jsx)(L,{className:`py-3 whitespace-normal`,children:(0,R.jsx)(l,{className:`block font-mono text-xs [overflow-wrap:anywhere] underline-offset-4 hover:underline`,search:{bundleId:e.bundleId},title:e.bundleId,to:`/`,translate:`no`,children:e.bundleId})}),(0,R.jsx)(L,{className:`text-xs tabular-nums`,children:p(e.byteSize)}),(0,R.jsx)(L,{className:`hidden sm:table-cell`,children:(0,R.jsx)(v,{uuid:e.bundleId})})]},e.bundleId))})]}),d!==void 0||f!==void 0?(0,R.jsxs)(`nav`,{"aria-label":`Patch pages`,className:`flex items-center justify-end gap-2 border-t px-4 py-2`,children:[(0,R.jsxs)(t,{className:`min-h-11 sm:min-h-7`,disabled:f===void 0||o&&s.isPlaceholderData,onClick:()=>a({after:f}),size:`sm`,variant:`ghost`,children:[(0,R.jsx)(me,{"data-icon":`inline-start`}),`Newer`]}),(0,R.jsxs)(t,{className:`min-h-11 sm:min-h-7`,disabled:d===void 0||o&&s.isPlaceholderData,onClick:()=>a({before:d}),size:`sm`,variant:`ghost`,children:[`Older`,(0,R.jsx)(he,{"data-icon":`inline-end`})]})]}):null]})]})}var $t=(e,t)=>{let n=e.data.find(e=>e.bundleId===t);if(n!==void 0)return{kind:`patch`,byteSize:n.byteSize};let r=e.data.at(-1)?.bundleId;return e.next!==void 0&&r!==void 0&&t<r?{kind:`unknown`}:{kind:`full`}};function en({download:e}){switch(e.kind){case`patch`:return(0,R.jsxs)(`span`,{className:`text-xs`,children:[`Patch`,` `,(0,R.jsxs)(`span`,{className:`text-muted-foreground tabular-nums`,children:[`(`,p(e.byteSize),`)`]})]});case`full`:return(0,R.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Full bundle`});case`unknown`:return(0,R.jsx)(`a`,{className:`text-xs underline-offset-4 hover:underline`,href:`#patches`,children:`See patches`})}}function tn({detail:e}){let{build:t,channel:r,servedNow:i,patches:a,catalogScopeKey:o}=e,s=i.find(({rolloutCohortCount:e,targetCohorts:t})=>e>0||t.length>0)?.bundleId,c=t.is_store_build&&s!=null&&$t(a,s).kind===`full`?[`npx hot-updater patch`,`-p ${t.platform}`,`-c ${h(r)}`,`-b ${h(s)}`,`--base-artifact-id ${h(t.min_bundle_id)}`].join(` `):null,d=(0,R.jsxs)(l,{className:`inline-flex items-center gap-0.5 underline-offset-4 hover:underline`,search:{scopeKey:o},to:`/`,children:[`All releases in this scope`,(0,R.jsx)(u,{"aria-hidden":`true`,className:`size-3`})]});return(0,R.jsxs)(O,{className:`overflow-hidden shadow-sm`,children:[(0,R.jsx)(T,{className:`border-b px-4 py-3`,children:(0,R.jsx)(D,{className:`text-sm`,children:(0,R.jsx)(`h2`,{children:`Served now`})})}),(0,R.jsx)(E,{className:`p-0`,children:i.length===0?(0,R.jsxs)(P,{className:`py-10`,children:[(0,R.jsxs)(A,{children:[(0,R.jsx)(k,{variant:`icon`,children:(0,R.jsx)(We,{})}),(0,R.jsx)(M,{children:`No OTA for this build yet`}),(0,R.jsxs)(N,{children:[`No release in this build's scope is newer than its built-in bundle. Deploy one with`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`hot-updater deploy`}),`, and it shows here.`]})]}),(0,R.jsx)(j,{children:(0,R.jsx)(l,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),search:{scopeKey:o},to:`/`,children:`All releases in this scope`})})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(He,{"aria-label":`Served now`,className:`table-fixed`,children:[(0,R.jsx)(Be,{children:(0,R.jsxs)(I,{children:[(0,R.jsx)(F,{children:`Bundle`}),(0,R.jsx)(F,{className:`hidden w-40 md:table-cell`,children:`Rollout`}),(0,R.jsx)(F,{className:`hidden w-32 sm:table-cell`,children:`Created`}),(0,R.jsx)(F,{className:`w-32`,children:`First OTA download`})]})}),(0,R.jsx)(Ve,{children:i.map(e=>{let t=e.bundleId,n=e.rolloutCohortCount/Ae*100;return(0,R.jsxs)(I,{children:[(0,R.jsx)(L,{className:`py-3 whitespace-normal`,children:(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,R.jsx)(l,{className:`font-mono text-xs [overflow-wrap:anywhere] underline-offset-4 hover:underline`,search:{releaseId:e.releaseId},title:t,to:`/`,translate:`no`,children:t}),e.message?(0,R.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.message}):null]})}),(0,R.jsx)(L,{className:`hidden md:table-cell`,children:(0,R.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[e.targetCohorts.length>0?(0,R.jsx)(ke,{variant:`secondary`,children:e.targetCohorts.length===1?`1 cohort`:`${e.targetCohorts.length} cohorts`}):(0,R.jsx)(be,{percentage:n}),e.shouldForceUpdate?(0,R.jsx)(ke,{variant:`outline`,children:`Forced`}):null]})}),(0,R.jsx)(L,{className:`hidden sm:table-cell`,children:(0,R.jsx)(v,{uuid:t})}),(0,R.jsx)(L,{children:(0,R.jsx)(en,{download:$t(a,t)})})]},e.releaseId)})})]}),c===null?null:(0,R.jsxs)(`div`,{className:`flex flex-col gap-2 border-t px-4 py-3 text-xs`,children:[(0,R.jsx)(`p`,{children:`The OTA fresh installs get first has no patch from this store build, so they download all of it. Add one from your project:`}),(0,R.jsx)(f,{label:`the patch command`,value:c})]}),(0,R.jsxs)(`p`,{className:`border-t px-4 py-3 text-xs text-muted-foreground`,children:[`What the update check serves an install of this build now, newest first: not the history. `,d]})]})})]})}function nn({buildId:r,search:i,onSearchChange:a}){let o=ze(r),c=o.data,u={...i.patchesBefore===void 0?{}:{before:i.patchesBefore},...i.patchesAfter===void 0?{}:{after:i.patchesAfter}};return(0,R.jsxs)(`div`,{className:`flex h-svh min-h-0 flex-col`,children:[(0,R.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 items-center gap-x-2 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,R.jsx)(s,{className:`-ml-1 size-11 lg:size-7`}),(0,R.jsxs)(l,{className:n({className:`min-h-11 sm:min-h-7`,size:`sm`,variant:`ghost`}),to:`/native-builds`,children:[(0,R.jsx)(me,{"data-icon":`inline-start`}),`Native builds`]}),c?(0,R.jsxs)(`h1`,{className:`flex min-w-0 items-center gap-1.5 text-sm font-medium`,children:[(0,R.jsx)(Me,{className:`size-3.5 shrink-0 text-muted-foreground`,platform:c.build.platform}),(0,R.jsxs)(`span`,{className:`flex min-w-0 flex-wrap items-center gap-x-1.5`,children:[(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 whitespace-nowrap`,children:[(0,R.jsxs)(`span`,{className:`sr-only`,children:[g(c.build.platform),` `]}),se[c.build.artifact_kind].label,(0,R.jsx)(Te,{build:c.build})]}),(0,R.jsxs)(`span`,{className:`min-w-0 [overflow-wrap:anywhere]`,children:[`· `,(0,R.jsx)(`span`,{translate:`no`,children:c.channel})]})]}),(0,R.jsx)(`span`,{className:`hidden text-xs font-normal text-muted-foreground tabular-nums sm:inline`,children:p(c.build.byte_size)})]}):(0,R.jsx)(`h1`,{className:`sr-only`,children:`Native build`})]}),(0,R.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6`,children:(0,R.jsx)(`div`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-4 sm:gap-6`,children:o.isError?(0,R.jsxs)(S,{variant:`destructive`,children:[(0,R.jsx)(C,{}),(0,R.jsx)(b,{children:`The native build couldn't be loaded`}),(0,R.jsx)(x,{children:o.error.message}),(0,R.jsx)(Oe,{children:(0,R.jsxs)(t,{onClick:()=>void o.refetch(),size:`xs`,variant:`outline`,children:[(0,R.jsx)(we,{"data-icon":`inline-start`}),`Retry`]})})]}):c===void 0?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`span`,{className:`sr-only`,children:`Loading the native build`}),(0,R.jsx)(e,{className:`h-56 w-full rounded-xl`}),(0,R.jsx)(e,{className:`h-64 w-full rounded-xl`})]}):c===null?(0,R.jsxs)(P,{className:`border py-16`,children:[(0,R.jsxs)(A,{children:[(0,R.jsx)(k,{variant:`icon`,children:(0,R.jsx)(Ce,{})}),(0,R.jsx)(M,{children:`Native build not found`}),(0,R.jsxs)(N,{children:[`No native build has this ID. It may have been deleted with`,` `,(0,R.jsx)(`code`,{className:`font-mono`,children:`native-build delete`}),`, or be from another console.`]})]}),(0,R.jsx)(j,{children:(0,R.jsx)(l,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),to:`/native-builds`,children:`Show all native builds`})})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(Yt,{build:c.build}),(0,R.jsx)(Ye,{detail:c}),(0,R.jsx)(tn,{detail:c}),(0,R.jsx)(Qt,{detail:c,onPage:e=>a({...e.before===void 0?{}:{patchesBefore:e.before},...e.after===void 0?{}:{patchesAfter:e.after}}),page:u})]})})})]})}function rn(){let{buildId:e}=_.useParams(),t=_.useSearch(),n=_.useNavigate();return(0,R.jsx)(nn,{buildId:e,onSearchChange:e=>void n({search:e,replace:!0}),search:t})}export{rn as component};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-builds_._buildId-D8YN2nuE.js","assets/sidebar-Di9SN47G.js","assets/link-DTEyW70e.js","assets/relativeTime-DvyxGIsm.js","assets/arrow-up-right-DK8Zdg40.js","assets/TargetDisplay-CoYY8Fs4.js","assets/copy-DsuLj3oj.js","assets/HashValueDisplay-MoZMmTeP.js","assets/dist-Bf1BPKMs.js","assets/key-round-DzBe6DHr.js","assets/package-ytYrywZH.js","assets/badge-laIuYW1U.js","assets/uuidv7-cI6C63Fm.js","assets/chevron-right-BoUXo82O.js","assets/RolloutPercentageBadge-D-tZKnX7.js","assets/history-DakJoeSM.js","assets/-native-builds-search-OlRj4Jz0.js","assets/refresh-cw-C-tvoCcE.js","assets/StoreSubmission-CGFw9Mjw.js","assets/smartphone-r0rRdPas.js","assets/BundleIdDisplay-CP6rsdFO.js","assets/PlatformIcon-CJ69KopR.js","assets/card-ulgg5xHn.js","assets/empty-Bhlj8PEo.js","assets/table-TUtVz-2l.js","assets/api-LQJH44FU.js","assets/useMutation-DbYw7boA.js"])))=>i.map(i=>d[i]);
2
- import{ir as e}from"./sidebar-Di9SN47G.js";import{n as t,r as n,t as r}from"./preload-helper-B44EvKhG.js";import{t as i}from"./-native-builds-search-OlRj4Jz0.js";var a=e(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),o=n(`/native-builds_/$buildId`)({component:t(()=>r(()=>import(`./native-builds_._buildId-D8YN2nuE.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])),`component`),validateSearch:i});export{a as n,o as t};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-builds_._buildId-BuVvRbMp.js","assets/sidebar-Di9SN47G.js","assets/link-DTEyW70e.js","assets/relativeTime-DvyxGIsm.js","assets/arrow-up-right-DK8Zdg40.js","assets/TargetDisplay-CoYY8Fs4.js","assets/copy-DsuLj3oj.js","assets/HashValueDisplay-MoZMmTeP.js","assets/dist-Bf1BPKMs.js","assets/key-round-DzBe6DHr.js","assets/package-ytYrywZH.js","assets/badge-laIuYW1U.js","assets/uuidv7-cI6C63Fm.js","assets/chevron-right-BoUXo82O.js","assets/RolloutPercentageBadge-D-tZKnX7.js","assets/history-DakJoeSM.js","assets/-native-builds-search-OlRj4Jz0.js","assets/refresh-cw-C-tvoCcE.js","assets/StoreSubmission-CGFw9Mjw.js","assets/smartphone-r0rRdPas.js","assets/BundleIdDisplay-CP6rsdFO.js","assets/PlatformIcon-CJ69KopR.js","assets/card-ulgg5xHn.js","assets/empty-Bhlj8PEo.js","assets/table-TUtVz-2l.js","assets/api-LQJH44FU.js","assets/useMutation-DbYw7boA.js"])))=>i.map(i=>d[i]);
2
+ import{ir as e}from"./sidebar-Di9SN47G.js";import{n as t,r as n,t as r}from"./preload-helper-B44EvKhG.js";import{t as i}from"./-native-builds-search-OlRj4Jz0.js";var a=e(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),o=n(`/native-builds_/$buildId`)({component:t(()=>r(()=>import(`./native-builds_._buildId-BuVvRbMp.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])),`component`),validateSearch:i});export{a as n,o as t};
@@ -1,196 +1,196 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/__23tanstack-start-server-fn-resolver-CqmGqsCf.js
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/__23tanstack-start-server-fn-resolver-DaTWUE6C.js
2
2
  var manifest = {
3
3
  "0ccfae64b399b03d820328fa98a38e2caa0b622d3da5a7ca633c5a0e8101e3f6": {
4
4
  functionName: "getRemoteConfigRpc_createServerFn_handler",
5
- importer: () => import("./_ssr/remote-config-rpc-C6_i-WQD.mjs")
5
+ importer: () => import("./_ssr/remote-config-rpc-DxApmx2s.mjs")
6
6
  },
7
7
  "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97": {
8
8
  functionName: "getUpdateFailuresRpc_createServerFn_handler",
9
- importer: () => import("./_ssr/insights-failures-rpc-CEnf87Av.mjs")
9
+ importer: () => import("./_ssr/insights-failures-rpc-BJnk4PuZ.mjs")
10
10
  },
11
11
  "1371bff16085636e2c44b60a573ae434b556c63045c40a0a93a93ab69ec47999": {
12
12
  functionName: "previewRemoteConfigRpc_createServerFn_handler",
13
- importer: () => import("./_ssr/remote-config-rpc-C6_i-WQD.mjs")
13
+ importer: () => import("./_ssr/remote-config-rpc-DxApmx2s.mjs")
14
14
  },
15
15
  "16e3be74610cddd54e5e894419dca16817a7b63c09a4eed15042cdac9c39e1e0": {
16
16
  functionName: "getAdoptionReleaseRpc_createServerFn_handler",
17
- importer: () => import("./_ssr/release-adoption-rpc-D_l0i2k2.mjs")
17
+ importer: () => import("./_ssr/release-adoption-rpc-CC31TdXP.mjs")
18
18
  },
19
19
  "17a54fe7c5ad6ca53457914b1d02b3d6887811aa6b5fa6598a1ee107796ce8f0": {
20
20
  functionName: "getNativeBuilds_createServerFn_handler",
21
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
21
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
22
22
  },
23
23
  "1bd85c2a50e24785cb6abb023a247a9f048f37ddfa85cbb1c57e579563bad013": {
24
24
  functionName: "getBundle_createServerFn_handler",
25
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
25
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
26
26
  },
27
27
  "206547cb1526f961070a989818ca7b9e34f6b2b0e4ab851698c3807fe9fb5e0c": {
28
28
  functionName: "getReleases_createServerFn_handler",
29
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
29
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
30
30
  },
31
31
  "28ea8c9bdbeb67f80c776990bb5bcb5c990f5129520631f241faf074d90fea02": {
32
32
  functionName: "getSchemaMigrationRpc_createServerFn_handler",
33
- importer: () => import("./_ssr/schema-migration-rpc-BZr71Ubh.mjs")
33
+ importer: () => import("./_ssr/schema-migration-rpc-CpFx-gh2.mjs")
34
34
  },
35
35
  "2b9b8d1f49f79a511589617d8d4bfc6094a3acf5264f33651b9569ba66d3f321": {
36
36
  functionName: "createChannel_createServerFn_handler",
37
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
37
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
38
38
  },
39
39
  "2c7f3cdb9bd3cab2c026a48abdc84c362db0362924a08679052a325640aec56b": {
40
40
  functionName: "listApiKeysRpc_createServerFn_handler",
41
- importer: () => import("./_ssr/api-keys-rpc-BofO_aCG.mjs")
41
+ importer: () => import("./_ssr/api-keys-rpc-CETWYBIN.mjs")
42
42
  },
43
43
  "2e3fab89483b2e4fea0c2f996071b2dbb15b8bc072e7dae78c75a9a9d854d5b9": {
44
44
  functionName: "getNativeBuildPatches_createServerFn_handler",
45
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
45
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
46
46
  },
47
47
  "3377db68b9d1d971971595469029c0466da0777a177b294d655cd0c039737f1a": {
48
48
  functionName: "listRemoteConfigVersionsRpc_createServerFn_handler",
49
- importer: () => import("./_ssr/remote-config-rpc-C6_i-WQD.mjs")
49
+ importer: () => import("./_ssr/remote-config-rpc-DxApmx2s.mjs")
50
50
  },
51
51
  "3c04bc6624be6dfdd80cf96819f9c6d0455e59a7bb4c0374b6afb0162ffd15b0": {
52
52
  functionName: "listInsightsInstallationEventsRpc_createServerFn_handler",
53
- importer: () => import("./_ssr/insights-rpc-B08Jfrow.mjs")
53
+ importer: () => import("./_ssr/insights-rpc-JOLiQk5w.mjs")
54
54
  },
55
55
  "4182bf9ccbb675700638f30bc6122517ccd90b16a339a6823a0f5f6c808d70a6": {
56
56
  functionName: "publishRemoteConfigRpc_createServerFn_handler",
57
- importer: () => import("./_ssr/remote-config-rpc-C6_i-WQD.mjs")
57
+ importer: () => import("./_ssr/remote-config-rpc-DxApmx2s.mjs")
58
58
  },
59
59
  "4370f1bf70b91f1168d85379d3008449a1bedb915e9878ca4ef89d5f3a80fa7f": {
60
60
  functionName: "getBundleChildren_createServerFn_handler",
61
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
61
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
62
62
  },
63
63
  "4ca367070b00f58179a572f0bb8196a4ccdd3881e9b1dbfe33deee0cb6e1f549": {
64
64
  functionName: "getBundleChildCounts_createServerFn_handler",
65
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
65
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
66
66
  },
67
67
  "51a34c05479a893c7d320bd4cd1604427289d667698c48b9f30a01aabf8a5e68": {
68
68
  functionName: "getConfig_createServerFn_handler",
69
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
69
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
70
70
  },
71
71
  "52756dde414919a906bfe83d1ab6d29910c63bcafdb47653d6f1df562d958920": {
72
72
  functionName: "deleteChannel_createServerFn_handler",
73
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
73
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
74
74
  },
75
75
  "6726f1ed9eda1f0cb4c1f1ad1023faee435ddcfd0b7c55ef08ca7f2f7f577370": {
76
76
  functionName: "getInsightsInstallationRpc_createServerFn_handler",
77
- importer: () => import("./_ssr/insights-rpc-B08Jfrow.mjs")
77
+ importer: () => import("./_ssr/insights-rpc-JOLiQk5w.mjs")
78
78
  },
79
79
  "67cea9f69773d83e69e68e20b81116a2bee9ee4ab3e378698ff74149f1d59ad0": {
80
80
  functionName: "getNativeBuildInstallEligibility_createServerFn_handler",
81
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
81
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
82
82
  },
83
83
  "68a2d94ee016be64936401f5eba60ab08a47ff373e1cf9de48e4413336e6034b": {
84
84
  functionName: "createApiKeyRpc_createServerFn_handler",
85
- importer: () => import("./_ssr/api-keys-rpc-BofO_aCG.mjs")
85
+ importer: () => import("./_ssr/api-keys-rpc-CETWYBIN.mjs")
86
86
  },
87
87
  "735c501f6d5ea81a445ff2b6b2ea6a1b589e3c6f63a465a881822c80ae71e7d1": {
88
88
  functionName: "findInsightsInstallationsRpc_createServerFn_handler",
89
- importer: () => import("./_ssr/insights-rpc-B08Jfrow.mjs")
89
+ importer: () => import("./_ssr/insights-rpc-JOLiQk5w.mjs")
90
90
  },
91
91
  "79ada05964de8f2123bfcd62b10097d59bf8fd689ef5c7161031e5871d8396c5": {
92
92
  functionName: "getChannels_createServerFn_handler",
93
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
93
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
94
94
  },
95
95
  "7ea0186f19f9f2bc2ca4b26e3c59636891cf046957f84287b6783f8d88bd8cb7": {
96
96
  functionName: "updateRelease_createServerFn_handler",
97
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
97
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
98
98
  },
99
99
  "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe": {
100
100
  functionName: "getConsoleFeaturesRpc_createServerFn_handler",
101
- importer: () => import("./_ssr/console-features-rpc-CyulT2ae.mjs")
101
+ importer: () => import("./_ssr/console-features-rpc-D-jrGQD8.mjs")
102
102
  },
103
103
  "868ce85f0b63ad138a1f82a573d1d6b12f80c7ca44aefec3dadf01b5fa7db86c": {
104
104
  functionName: "getReleaseNativeBuild_createServerFn_handler",
105
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
105
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
106
106
  },
107
107
  "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e": {
108
108
  functionName: "getAppUsageReportRpc_createServerFn_handler",
109
- importer: () => import("./_ssr/insights-usage-rpc-IdutLuXu.mjs")
109
+ importer: () => import("./_ssr/insights-usage-rpc-CilhlWkg.mjs")
110
110
  },
111
111
  "936ef8582ff49d97077d1d80e8403d0b4106831c955591c5c471a88f96007fe9": {
112
112
  functionName: "getNativeBuildDownloadUrl_createServerFn_handler",
113
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
113
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
114
114
  },
115
115
  "956539a300d79a7efa191c1cc2d529d62fc4bfd940442548fdbc1404e0d53078": {
116
116
  functionName: "promoteRelease_createServerFn_handler",
117
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
117
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
118
118
  },
119
119
  "98c10bdc514eb4d3fe65af546be44452b492a81092cfe45625778a4c9f731727": {
120
120
  functionName: "rollbackRemoteConfigRpc_createServerFn_handler",
121
- importer: () => import("./_ssr/remote-config-rpc-C6_i-WQD.mjs")
121
+ importer: () => import("./_ssr/remote-config-rpc-DxApmx2s.mjs")
122
122
  },
123
123
  "a1cb80b19ca72a64fb631ca28ebb9b6941db245983de082d5dd3203ec2eef795": {
124
124
  functionName: "revokeApiKeyRpc_createServerFn_handler",
125
- importer: () => import("./_ssr/api-keys-rpc-BofO_aCG.mjs")
125
+ importer: () => import("./_ssr/api-keys-rpc-CETWYBIN.mjs")
126
126
  },
127
127
  "a6c8cfa907e2f75bf69aa90044bd52a3ee684d1a0462d23781161a1a3531aa33": {
128
128
  functionName: "markNativeBuild_createServerFn_handler",
129
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
129
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
130
130
  },
131
131
  "a6f23116eeaf76166d405e28a95213123025613c6603030894e519015bf48032": {
132
132
  functionName: "getRelease_createServerFn_handler",
133
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
133
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
134
134
  },
135
135
  "af71e3c55a659ce46093e33b9d70e729359610eec7d576502e8f0e26c785b317": {
136
136
  functionName: "getRemoteConfigVersionRpc_createServerFn_handler",
137
- importer: () => import("./_ssr/remote-config-rpc-C6_i-WQD.mjs")
137
+ importer: () => import("./_ssr/remote-config-rpc-DxApmx2s.mjs")
138
138
  },
139
139
  "b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3": {
140
140
  functionName: "listFailureReportsRpc_createServerFn_handler",
141
- importer: () => import("./_ssr/insights-failures-rpc-CEnf87Av.mjs")
141
+ importer: () => import("./_ssr/insights-failures-rpc-BJnk4PuZ.mjs")
142
142
  },
143
143
  "b46c95dba95a6a3e8fa5c9d100e3622fa5ae7af4f38e10fb1ed2fa48289a3a8f": {
144
144
  functionName: "preflightRelease_createServerFn_handler",
145
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
145
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
146
146
  },
147
147
  "b4bf4c461903edcdc44eea52468c737b5b600a586f542138ff022dcbbe86c45c": {
148
148
  functionName: "getBundleActivityRpc_createServerFn_handler",
149
- importer: () => import("./_ssr/insights-recovery-rpc-BBCIMOuF.mjs")
149
+ importer: () => import("./_ssr/insights-recovery-rpc-CUkpSkLZ.mjs")
150
150
  },
151
151
  "bfcca2365dfef4d071bdcddf97538a2637482c77bb747969dbdcd6769ca98416": {
152
152
  functionName: "getBundleEventsRpc_createServerFn_handler",
153
- importer: () => import("./_ssr/release-adoption-rpc-D_l0i2k2.mjs")
153
+ importer: () => import("./_ssr/release-adoption-rpc-CC31TdXP.mjs")
154
154
  },
155
155
  "c101ad0315790cf226f182906274176b64a93b9bf5b410cacec5067208c70a04": {
156
156
  functionName: "getNativeBuildDetail_createServerFn_handler",
157
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
157
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
158
158
  },
159
159
  "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13": {
160
160
  functionName: "getConsoleAccessRpc_createServerFn_handler",
161
- importer: () => import("./_ssr/auth-rpc-DfnPI5lv.mjs")
161
+ importer: () => import("./_ssr/auth-rpc-Ck3SvXA8.mjs")
162
162
  },
163
163
  "c6f18db42ac40385dbff247095197ee9f3fd3a97dc914efd368ce0ded1f098c6": {
164
164
  functionName: "getInsightsRetentionRpc_createServerFn_handler",
165
- importer: () => import("./_ssr/insights-rpc-B08Jfrow.mjs")
165
+ importer: () => import("./_ssr/insights-rpc-JOLiQk5w.mjs")
166
166
  },
167
167
  "c6ff40bd8faad0b2d7aba3e94179c18e02a918a76bff25849d771ff31f688208": {
168
168
  functionName: "createNativeBuildDownloadLink_createServerFn_handler",
169
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
169
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
170
170
  },
171
171
  "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256": {
172
172
  functionName: "listAdoptionReleasesRpc_createServerFn_handler",
173
- importer: () => import("./_ssr/release-adoption-rpc-D_l0i2k2.mjs")
173
+ importer: () => import("./_ssr/release-adoption-rpc-CC31TdXP.mjs")
174
174
  },
175
175
  "d4c50f40701055145f24873dc90f3c55a5494457a6a03a743339b2ac4545eb19": {
176
176
  functionName: "listInsightsEventsRpc_createServerFn_handler",
177
- importer: () => import("./_ssr/insights-rpc-B08Jfrow.mjs")
177
+ importer: () => import("./_ssr/insights-rpc-JOLiQk5w.mjs")
178
178
  },
179
179
  "d5b58722ce514e3b63a377f736b4823c2011782495442ae4870ed547e392c70b": {
180
180
  functionName: "deleteRelease_createServerFn_handler",
181
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
181
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
182
182
  },
183
183
  "e8c24b7247936f045a145ffd5c177fd0e3df3b52769d67dfbd8d1de491d66396": {
184
184
  functionName: "getReleaseCatalogDiagnostics_createServerFn_handler",
185
- importer: () => import("./_ssr/api-rpc-Dj5gSySe.mjs")
185
+ importer: () => import("./_ssr/api-rpc-DpYJuaim.mjs")
186
186
  },
187
187
  "fa8c48f0489d97c62b9b68fd0caf0a61b15bad25a42b3866ec36264b4b30bb74": {
188
188
  functionName: "getConsoleAuthProvidersRpc_createServerFn_handler",
189
- importer: () => import("./_ssr/auth-rpc-DfnPI5lv.mjs")
189
+ importer: () => import("./_ssr/auth-rpc-Ck3SvXA8.mjs")
190
190
  },
191
191
  "ff00311d412c8cdfa8ad5b0ba1eb6aa7471d0cc12170e6cc645deb91603d42dd": {
192
192
  functionName: "getReportingInstallationsRpc_createServerFn_handler",
193
- importer: () => import("./_ssr/insights-rpc-B08Jfrow.mjs")
193
+ importer: () => import("./_ssr/insights-rpc-JOLiQk5w.mjs")
194
194
  }
195
195
  };
196
196
  async function getServerFnById(id, access) {
@@ -1,8 +1,8 @@
1
1
  import { i as __toESM } from "../../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../@base-ui/react+[...].mjs";
3
- import { _ as isRedirect } from "./react-router+[...].mjs";
4
3
  import { o as QueryClientProvider } from "../tanstack__react-query.mjs";
5
4
  import { c as hydrate, s as dehydrateQuery } from "../tanstack__query-core.mjs";
5
+ import { _ as isRedirect } from "./react-router+[...].mjs";
6
6
  //#region ../../node_modules/.pnpm/@tanstack+router-ssr-query-core@1.169.3_@tanstack+query-core@5.104.0_@tanstack+router-core@1.171.37/node_modules/@tanstack/router-ssr-query-core/dist/esm/index.js
7
7
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
8
8
  var shouldDehydrateAllQueries = () => true;
@@ -1,2 +1,2 @@
1
- import { a as server_exports } from "../_ssr/server-BhcERMRJ.mjs";
1
+ import { a as server_exports } from "../_ssr/server-DwhLa_FJ.mjs";
2
2
  export { server_exports as t };
@@ -1,6 +1,6 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { k as cn } from "./sidebar-DA36V52n.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/BundleIdDisplay-DKzerkt2.js
2
+ import { k as cn } from "./sidebar-Dwvgo8IR.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/BundleIdDisplay-B3TQ2UPT.js
4
4
  var import_jsx_runtime = require_jsx_runtime();
5
5
  function BundleIdDisplay({ bundleId, className }) {
6
6
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
@@ -1,11 +1,11 @@
1
- import { a as unavailableReason, n as consoleFeatures } from "./console-features-CgdQJQlX.mjs";
2
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
2
  import { et as ArrowUpRight } from "../_libs/lucide-react.mjs";
4
- import { O as buttonVariants, S as SidebarTrigger } from "./sidebar-DA36V52n.mjs";
5
- import { a as useConsoleFeatures, n as notFoundFeature } from "./console-features-api-DGI39r8E.mjs";
6
- import { t as NotFoundPage } from "./NotFoundPage-D9z2l-z3.mjs";
7
- import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CQbX9Rww.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/ConsoleFeatureUnavailable-CGHUzMT7.js
3
+ import { O as buttonVariants, S as SidebarTrigger } from "./sidebar-Dwvgo8IR.mjs";
4
+ import { a as unavailableReason, n as consoleFeatures } from "./console-features-CgdQJQlX.mjs";
5
+ import { a as useConsoleFeatures, n as notFoundFeature } from "./console-features-api-Bmu8qSBn.mjs";
6
+ import { t as NotFoundPage } from "./NotFoundPage-CxzFwYM2.mjs";
7
+ import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-B2CjWEqi.mjs";
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/ConsoleFeatureUnavailable-8rgfIK09.js
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  var CONSOLE_DEPLOYMENT_GUIDE_URL = "https://hot-updater.dev/docs/guides/console-deployment";
11
11
  /**
@@ -1,14 +1,14 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { B as Copy, J as ChevronDown, W as CircleAlert, Y as Check, at as Activity, g as RotateCcw, l as Sparkles, nt as ArrowRightLeft, u as Smartphone, z as Download } from "../_libs/lucide-react.mjs";
4
- import { a as SheetContent, c as SheetTitle, i as Sheet, l as SheetTrigger, o as SheetDescription, s as SheetHeader, t as Button$1 } from "./sidebar-DA36V52n.mjs";
5
- import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CQbX9Rww.mjs";
6
- import { a as Badge } from "./badge-CYeoWPOd.mjs";
4
+ import { a as SheetContent, c as SheetTitle, i as Sheet, l as SheetTrigger, o as SheetDescription, s as SheetHeader, t as Button$1 } from "./sidebar-Dwvgo8IR.mjs";
5
+ import { a as Badge } from "./badge-P2fzkUwd.mjs";
7
6
  import { n as toast } from "../_libs/sonner.mjs";
7
+ import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-B2CjWEqi.mjs";
8
8
  import { n as describeFailure } from "./insights-failures-DNQ9qVVf.mjs";
9
- import { s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-BmRtEJBU.mjs";
10
- import { t as HashValueDisplay } from "./HashValueDisplay-B2q2ERkY.mjs";
11
- //#region node_modules/.nitro/vite/services/ssr/assets/EventDetails-CW5BuINX.js
9
+ import { s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-BRIlEf4s.mjs";
10
+ import { t as HashValueDisplay } from "./HashValueDisplay-C65YyzTZ.mjs";
11
+ //#region node_modules/.nitro/vite/services/ssr/assets/EventDetails-DsF6iUEM.js
12
12
  var import_react = /* @__PURE__ */ __toESM(require_react());
13
13
  var import_jsx_runtime = require_jsx_runtime();
14
14
  var eventTypes = {