sanity 5.22.0-next.28 → 5.22.0

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.
@@ -1,4 +1,4 @@
1
- var version = "5.22.0-next.28+14f7b82b7c";
1
+ var version = "5.22.0";
2
2
  let buildVersion;
3
3
  try {
4
4
  buildVersion = process.env.PKG_BUILD_VERSION;
@@ -7,7 +7,7 @@ try {
7
7
  try {
8
8
  buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
9
9
  // and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
10
- "5.22.0-next.28+14f7b82b7c";
10
+ "5.22.0";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;
package/lib/index.js CHANGED
@@ -82887,7 +82887,15 @@ function DocumentLimitsUpsellPanel() {
82887
82887
  let t5;
82888
82888
  return $[8] !== handlePrimaryButtonClick || $[9] !== handleSecondaryButtonClick || $[10] !== upsellData ? (t5 = /* @__PURE__ */ jsx(Flex, { height: "fill", width: "fill", justify: "center", align: "center", padding: 4, children: /* @__PURE__ */ jsx(motion.div, { initial: t2, animate: t3, transition: t4, children: /* @__PURE__ */ jsx(Container$3, { width: 0, children: /* @__PURE__ */ jsx(UpsellPanel, { data: upsellData, onPrimaryClick: handlePrimaryButtonClick, onSecondaryClick: handleSecondaryButtonClick }) }) }) }), $[8] = handlePrimaryButtonClick, $[9] = handleSecondaryButtonClick, $[10] = upsellData, $[11] = t5) : t5 = $[11], t5;
82889
82889
  }
82890
- const isDocumentLimitError = (error) => error instanceof ClientError ? error.response.body.error.type === "documentLimitExceededError" : !1, checkPath = "/ping", checkRequestTag = "protocol-check";
82890
+ const isDocumentLimitError = (error) => error instanceof ClientError ? error.response.body.error.type === "documentLimitExceededError" : !1, StudioAuthReadyMeasured = defineEvent({
82891
+ name: "Studio Auth Ready Measured",
82892
+ version: 1,
82893
+ description: "Time from browser navigation start to the moment Studio resolves the auth state (logged-in, logged-out, or unauthorized)."
82894
+ }), StudioReadyMeasured = defineEvent({
82895
+ name: "Studio Ready Measured",
82896
+ version: 1,
82897
+ description: "Time from browser navigation start to the moment the active tool has first rendered and the Studio layout is interactive."
82898
+ }), checkPath = "/ping", checkRequestTag = "protocol-check";
82891
82899
  function isUsingLegacyHttp(client) {
82892
82900
  return getProtocolForApi(client).pipe(map((protocol) => {
82893
82901
  if (protocol)
@@ -84244,25 +84252,26 @@ const DetectViteDevServerStopped = lazy(() => import("./_chunks-es/ViteDevServer
84244
84252
  displayName: "SearchFullscreenPortalCard",
84245
84253
  componentId: "sc-ryuemf-0"
84246
84254
  })`height:100%;left:0;overflow:hidden;overflow:clip;position:fixed;top:0;width:100%;z-index:200;`;
84255
+ let studioReadyFired = !1;
84247
84256
  function StudioLayout() {
84248
84257
  const $ = c(2), Layout2 = useLayoutComponent();
84249
84258
  let t0;
84250
84259
  return $[0] !== Layout2 ? (t0 = /* @__PURE__ */ jsx(Layout2, {}), $[0] = Layout2, $[1] = t0) : t0 = $[1], t0;
84251
84260
  }
84252
84261
  function StudioLayoutComponent() {
84253
- const $ = c(64), {
84262
+ const $ = c(69), {
84254
84263
  name,
84255
84264
  title,
84256
84265
  tools
84257
- } = useWorkspace();
84266
+ } = useWorkspace(), telemetry = useTelemetry();
84258
84267
  useNetworkProtocolCheck();
84259
84268
  let t0;
84260
84269
  $[0] !== tools ? (t0 = tools.filter(isDefaultRouteTool), $[0] = tools, $[1] = t0) : t0 = $[1];
84261
84270
  const defaultRouteTools = t0, router = useRouter(), activeToolName = useRouterState(_temp$t);
84262
84271
  let t1;
84263
84272
  if ($[2] !== activeToolName || $[3] !== tools) {
84264
- let t24;
84265
- $[5] !== activeToolName ? (t24 = (tool) => tool.name === activeToolName, $[5] = activeToolName, $[6] = t24) : t24 = $[6], t1 = tools.find(t24), $[2] = activeToolName, $[3] = tools, $[4] = t1;
84273
+ let t26;
84274
+ $[5] !== activeToolName ? (t26 = (tool) => tool.name === activeToolName, $[5] = activeToolName, $[6] = t26) : t26 = $[6], t1 = tools.find(t26), $[2] = activeToolName, $[3] = tools, $[4] = t1;
84266
84275
  } else
84267
84276
  t1 = $[4];
84268
84277
  const activeTool = t1, [searchFullscreenOpen, setSearchFullscreenOpen] = useState(!1), [searchFullscreenPortalEl, setSearchFullscreenPortalEl] = useState(null), [searchOpen, setSearchOpen] = useState(!1);
@@ -84282,69 +84291,77 @@ function StudioLayoutComponent() {
84282
84291
  $[10] !== documentTitle || $[11] !== toolControlsDocumentTitle ? (t3 = () => {
84283
84292
  toolControlsDocumentTitle || (document.title = documentTitle);
84284
84293
  }, t4 = [documentTitle, toolControlsDocumentTitle], $[10] = documentTitle, $[11] = toolControlsDocumentTitle, $[12] = t3, $[13] = t4) : (t3 = $[12], t4 = $[13]), useEffect(t3, t4);
84285
- let t5;
84286
- $[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t5 = (open) => {
84294
+ let t5, t6;
84295
+ $[14] !== activeTool || $[15] !== telemetry || $[16] !== tools.length ? (t5 = () => {
84296
+ studioReadyFired || activeTool && (studioReadyFired = !0, telemetry.log(StudioReadyMeasured, {
84297
+ durationMs: performance.now(),
84298
+ toolsCount: tools.length,
84299
+ activeToolName: activeTool.name
84300
+ }));
84301
+ }, t6 = [activeTool, telemetry, tools.length], $[14] = activeTool, $[15] = telemetry, $[16] = tools.length, $[17] = t5, $[18] = t6) : (t5 = $[17], t6 = $[18]), useEffect(t5, t6);
84302
+ let t7;
84303
+ $[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t7 = (open) => {
84287
84304
  setSearchFullscreenOpen(open);
84288
- }, $[14] = t5) : t5 = $[14];
84289
- const handleSearchFullscreenOpenChange = t5;
84290
- let t6;
84291
- $[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t6 = (open_0) => {
84305
+ }, $[19] = t7) : t7 = $[19];
84306
+ const handleSearchFullscreenOpenChange = t7;
84307
+ let t8;
84308
+ $[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t8 = (open_0) => {
84292
84309
  setSearchOpen(open_0);
84293
- }, $[15] = t6) : t6 = $[15];
84294
- const handleSearchOpenChange = t6;
84295
- let t7;
84296
- $[16] !== searchFullscreenOpen || $[17] !== searchFullscreenPortalEl || $[18] !== searchOpen ? (t7 = {
84310
+ }, $[20] = t8) : t8 = $[20];
84311
+ const handleSearchOpenChange = t8;
84312
+ let t9;
84313
+ $[21] !== searchFullscreenOpen || $[22] !== searchFullscreenPortalEl || $[23] !== searchOpen ? (t9 = {
84297
84314
  searchFullscreenOpen,
84298
84315
  searchFullscreenPortalEl,
84299
84316
  searchOpen,
84300
84317
  onSearchFullscreenOpenChange: handleSearchFullscreenOpenChange,
84301
84318
  onSearchOpenChange: handleSearchOpenChange
84302
- }, $[16] = searchFullscreenOpen, $[17] = searchFullscreenPortalEl, $[18] = searchOpen, $[19] = t7) : t7 = $[19];
84303
- const navbarContextValue = t7, Navbar = useNavbarComponent(), ActiveToolLayout = useActiveToolLayoutComponent();
84304
- let t8;
84305
- $[20] !== activeTool || $[21] !== activeToolName || $[22] !== tools ? (t8 = !activeTool && (activeToolName === "desk" || !activeToolName) && typeof window < "u" && /\/desk(\/|$)/.test(window.location.pathname) && tools.some(_temp2$b), $[20] = activeTool, $[21] = activeToolName, $[22] = tools, $[23] = t8) : t8 = $[23];
84306
- const isLegacyDeskRedirect = t8;
84307
- let t10, t9;
84308
- $[24] !== isLegacyDeskRedirect || $[25] !== router ? (t9 = () => {
84319
+ }, $[21] = searchFullscreenOpen, $[22] = searchFullscreenPortalEl, $[23] = searchOpen, $[24] = t9) : t9 = $[24];
84320
+ const navbarContextValue = t9, Navbar = useNavbarComponent(), ActiveToolLayout = useActiveToolLayoutComponent();
84321
+ let t10;
84322
+ $[25] !== activeTool || $[26] !== activeToolName || $[27] !== tools ? (t10 = !activeTool && (activeToolName === "desk" || !activeToolName) && typeof window < "u" && /\/desk(\/|$)/.test(window.location.pathname) && tools.some(_temp2$b), $[25] = activeTool, $[26] = activeToolName, $[27] = tools, $[28] = t10) : t10 = $[28];
84323
+ const isLegacyDeskRedirect = t10;
84324
+ let t11, t12;
84325
+ $[29] !== isLegacyDeskRedirect || $[30] !== router ? (t11 = () => {
84309
84326
  isLegacyDeskRedirect && router.navigateUrl({
84310
84327
  path: window.location.pathname.replace(/\/desk/, "/structure"),
84311
84328
  replace: !0
84312
84329
  });
84313
- }, t10 = [isLegacyDeskRedirect, router], $[24] = isLegacyDeskRedirect, $[25] = router, $[26] = t10, $[27] = t9) : (t10 = $[26], t9 = $[27]), useEffect(t9, t10);
84330
+ }, t12 = [isLegacyDeskRedirect, router], $[29] = isLegacyDeskRedirect, $[30] = router, $[31] = t11, $[32] = t12) : (t11 = $[31], t12 = $[32]), useEffect(t11, t12);
84314
84331
  const getErrorScreen = _temp3$4;
84315
- let t11;
84316
- $[28] !== Navbar ? (t11 = /* @__PURE__ */ jsx(Navbar, {}), $[28] = Navbar, $[29] = t11) : t11 = $[29];
84317
- let t12;
84318
- $[30] !== navbarContextValue || $[31] !== t11 ? (t12 = /* @__PURE__ */ jsx(NavbarContext.Provider, { value: navbarContextValue, children: t11 }), $[30] = navbarContextValue, $[31] = t11, $[32] = t12) : t12 = $[32];
84319
84332
  let t13;
84320
- $[33] !== isLegacyDeskRedirect ? (t13 = isLegacyDeskRedirect && /* @__PURE__ */ jsx(RedirectingScreen, {}), $[33] = isLegacyDeskRedirect, $[34] = t13) : t13 = $[34];
84333
+ $[33] !== Navbar ? (t13 = /* @__PURE__ */ jsx(Navbar, {}), $[33] = Navbar, $[34] = t13) : t13 = $[34];
84321
84334
  let t14;
84322
- $[35] !== activeTool || $[36] !== defaultRouteTools ? (t14 = !activeTool && defaultRouteTools.length === 0 && /* @__PURE__ */ jsx(NoToolsScreen, {}), $[35] = activeTool, $[36] = defaultRouteTools, $[37] = t14) : t14 = $[37];
84335
+ $[35] !== navbarContextValue || $[36] !== t13 ? (t14 = /* @__PURE__ */ jsx(NavbarContext.Provider, { value: navbarContextValue, children: t13 }), $[35] = navbarContextValue, $[36] = t13, $[37] = t14) : t14 = $[37];
84323
84336
  let t15;
84324
- $[38] !== activeTool || $[39] !== activeToolName || $[40] !== isLegacyDeskRedirect || $[41] !== tools.length ? (t15 = tools.length > 0 && !activeTool && activeToolName && !isLegacyDeskRedirect && /* @__PURE__ */ jsx(ToolNotFoundScreen, { toolName: activeToolName }), $[38] = activeTool, $[39] = activeToolName, $[40] = isLegacyDeskRedirect, $[41] = tools.length, $[42] = t15) : t15 = $[42];
84337
+ $[38] !== isLegacyDeskRedirect ? (t15 = isLegacyDeskRedirect && /* @__PURE__ */ jsx(RedirectingScreen, {}), $[38] = isLegacyDeskRedirect, $[39] = t15) : t15 = $[39];
84325
84338
  let t16;
84326
- $[43] !== searchFullscreenOpen ? (t16 = searchFullscreenOpen && /* @__PURE__ */ jsx(SearchFullscreenPortalCard, { ref: setSearchFullscreenPortalEl, overflow: "auto" }), $[43] = searchFullscreenOpen, $[44] = t16) : t16 = $[44];
84327
- const t17 = activeTool?.name, t18 = `The ${activeTool?.name} tool crashed`;
84328
- let t19;
84329
- $[45] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t19 = detectViteDevServerStopped && /* @__PURE__ */ jsx(DetectViteDevServerStopped, {}), $[45] = t19) : t19 = $[45];
84330
- let t20;
84331
- $[46] !== ActiveToolLayout || $[47] !== activeTool || $[48] !== activeToolName ? (t20 = activeTool && activeToolName && /* @__PURE__ */ jsx(RouteScope, { scope: activeToolName, __unsafe_disableScopedSearchParams: activeTool.router?.__unsafe_disableScopedSearchParams, children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingBlock, { showText: !0 }), children: /* @__PURE__ */ jsx(ActiveToolLayout, { activeTool }) }) }), $[46] = ActiveToolLayout, $[47] = activeTool, $[48] = activeToolName, $[49] = t20) : t20 = $[49];
84339
+ $[40] !== activeTool || $[41] !== defaultRouteTools ? (t16 = !activeTool && defaultRouteTools.length === 0 && /* @__PURE__ */ jsx(NoToolsScreen, {}), $[40] = activeTool, $[41] = defaultRouteTools, $[42] = t16) : t16 = $[42];
84340
+ let t17;
84341
+ $[43] !== activeTool || $[44] !== activeToolName || $[45] !== isLegacyDeskRedirect || $[46] !== tools.length ? (t17 = tools.length > 0 && !activeTool && activeToolName && !isLegacyDeskRedirect && /* @__PURE__ */ jsx(ToolNotFoundScreen, { toolName: activeToolName }), $[43] = activeTool, $[44] = activeToolName, $[45] = isLegacyDeskRedirect, $[46] = tools.length, $[47] = t17) : t17 = $[47];
84342
+ let t18;
84343
+ $[48] !== searchFullscreenOpen ? (t18 = searchFullscreenOpen && /* @__PURE__ */ jsx(SearchFullscreenPortalCard, { ref: setSearchFullscreenPortalEl, overflow: "auto" }), $[48] = searchFullscreenOpen, $[49] = t18) : t18 = $[49];
84344
+ const t19 = activeTool?.name, t20 = `The ${activeTool?.name} tool crashed`;
84332
84345
  let t21;
84333
- $[50] !== searchFullscreenOpen || $[51] !== t20 ? (t21 = /* @__PURE__ */ jsx(Card, { flex: 1, hidden: searchFullscreenOpen, children: t20 }), $[50] = searchFullscreenOpen, $[51] = t20, $[52] = t21) : t21 = $[52];
84346
+ $[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t21 = detectViteDevServerStopped && /* @__PURE__ */ jsx(DetectViteDevServerStopped, {}), $[50] = t21) : t21 = $[50];
84334
84347
  let t22;
84335
- $[53] !== t17 || $[54] !== t18 || $[55] !== t21 ? (t22 = /* @__PURE__ */ jsxs(StudioErrorBoundary, { heading: t18, getErrorScreen, children: [
84336
- t19,
84337
- t21
84338
- ] }, t17), $[53] = t17, $[54] = t18, $[55] = t21, $[56] = t22) : t22 = $[56];
84348
+ $[51] !== ActiveToolLayout || $[52] !== activeTool || $[53] !== activeToolName ? (t22 = activeTool && activeToolName && /* @__PURE__ */ jsx(RouteScope, { scope: activeToolName, __unsafe_disableScopedSearchParams: activeTool.router?.__unsafe_disableScopedSearchParams, children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingBlock, { showText: !0 }), children: /* @__PURE__ */ jsx(ActiveToolLayout, { activeTool }) }) }), $[51] = ActiveToolLayout, $[52] = activeTool, $[53] = activeToolName, $[54] = t22) : t22 = $[54];
84339
84349
  let t23;
84340
- return $[57] !== t12 || $[58] !== t13 || $[59] !== t14 || $[60] !== t15 || $[61] !== t16 || $[62] !== t22 ? (t23 = /* @__PURE__ */ jsxs(Flex, { "data-ui": "ToolScreen", direction: "column", height: "fill", "data-testid": "studio-layout", children: [
84341
- t12,
84342
- t13,
84350
+ $[55] !== searchFullscreenOpen || $[56] !== t22 ? (t23 = /* @__PURE__ */ jsx(Card, { flex: 1, hidden: searchFullscreenOpen, children: t22 }), $[55] = searchFullscreenOpen, $[56] = t22, $[57] = t23) : t23 = $[57];
84351
+ let t24;
84352
+ $[58] !== t19 || $[59] !== t20 || $[60] !== t23 ? (t24 = /* @__PURE__ */ jsxs(StudioErrorBoundary, { heading: t20, getErrorScreen, children: [
84353
+ t21,
84354
+ t23
84355
+ ] }, t19), $[58] = t19, $[59] = t20, $[60] = t23, $[61] = t24) : t24 = $[61];
84356
+ let t25;
84357
+ return $[62] !== t14 || $[63] !== t15 || $[64] !== t16 || $[65] !== t17 || $[66] !== t18 || $[67] !== t24 ? (t25 = /* @__PURE__ */ jsxs(Flex, { "data-ui": "ToolScreen", direction: "column", height: "fill", "data-testid": "studio-layout", children: [
84343
84358
  t14,
84344
84359
  t15,
84345
84360
  t16,
84346
- t22
84347
- ] }), $[57] = t12, $[58] = t13, $[59] = t14, $[60] = t15, $[61] = t16, $[62] = t22, $[63] = t23) : t23 = $[63], t23;
84361
+ t17,
84362
+ t18,
84363
+ t24
84364
+ ] }), $[62] = t14, $[63] = t15, $[64] = t16, $[65] = t17, $[66] = t18, $[67] = t24, $[68] = t25) : t25 = $[68], t25;
84348
84365
  }
84349
84366
  function _temp3$4(error) {
84350
84367
  return isDocumentLimitError(error) ? /* @__PURE__ */ jsx(DocumentLimitsUpsellPanel, {}) : null;
@@ -88450,8 +88467,9 @@ const AuthBoundaryResolved = defineEvent({
88450
88467
  version: 1,
88451
88468
  description: "Result of the session token exchange flow in handleCallbackUrl"
88452
88469
  });
88470
+ let authReadyFired = !1;
88453
88471
  function AuthBoundary(t0) {
88454
- const $ = c(22), {
88472
+ const $ = c(26), {
88455
88473
  children,
88456
88474
  AuthenticateComponent: t1,
88457
88475
  LoadingComponent: t2,
@@ -88470,19 +88488,26 @@ function AuthBoundary(t0) {
88470
88488
  });
88471
88489
  }, t5 = [loggedIn, telemetry, mountTime], $[0] = loggedIn, $[1] = mountTime, $[2] = telemetry, $[3] = t4, $[4] = t5) : (t4 = $[3], t5 = $[4]), useEffect(t4, t5);
88472
88490
  let t6, t7;
88473
- $[5] !== activeWorkspace.auth || $[6] !== telemetry ? (t6 = () => {
88491
+ $[5] !== loggedIn || $[6] !== telemetry ? (t6 = () => {
88492
+ authReadyFired || loggedIn !== "loading" && (authReadyFired = !0, telemetry.log(StudioAuthReadyMeasured, {
88493
+ durationMs: performance.now(),
88494
+ authState: loggedIn
88495
+ }));
88496
+ }, t7 = [loggedIn, telemetry], $[5] = loggedIn, $[6] = telemetry, $[7] = t6, $[8] = t7) : (t6 = $[7], t7 = $[8]), useEffect(t6, t7);
88497
+ let t8, t9;
88498
+ $[9] !== activeWorkspace.auth || $[10] !== telemetry ? (t8 = () => {
88474
88499
  activeWorkspace.auth.handleCallbackUrl?.().then((result) => {
88475
88500
  telemetry.log(SessionTokenExchangeCompleted, result);
88476
88501
  }).catch(handleError);
88477
- }, t7 = [activeWorkspace.auth, telemetry], $[5] = activeWorkspace.auth, $[6] = telemetry, $[7] = t6, $[8] = t7) : (t6 = $[7], t7 = $[8]), useEffect(t6, t7);
88478
- let t8;
88479
- $[9] !== activeWorkspace.auth.state ? (t8 = () => {
88502
+ }, t9 = [activeWorkspace.auth, telemetry], $[9] = activeWorkspace.auth, $[10] = telemetry, $[11] = t8, $[12] = t9) : (t8 = $[11], t9 = $[12]), useEffect(t8, t9);
88503
+ let t10;
88504
+ $[13] !== activeWorkspace.auth.state ? (t10 = () => {
88480
88505
  const subscription = activeWorkspace.auth.state.subscribe({
88481
- next: (t92) => {
88506
+ next: (t112) => {
88482
88507
  const {
88483
88508
  authenticated,
88484
88509
  currentUser
88485
- } = t92;
88510
+ } = t112;
88486
88511
  if (authenticated && (!Array.isArray(currentUser?.roles) || currentUser.roles.length === 0)) {
88487
88512
  setLoggedIn("unauthorized"), currentUser?.provider && setLoginProvider(currentUser.provider);
88488
88513
  return;
@@ -88494,26 +88519,26 @@ function AuthBoundary(t0) {
88494
88519
  return () => {
88495
88520
  subscription.unsubscribe();
88496
88521
  };
88497
- }, $[9] = activeWorkspace.auth.state, $[10] = t8) : t8 = $[10];
88498
- let t9;
88499
- if ($[11] !== activeWorkspace ? (t9 = [activeWorkspace], $[11] = activeWorkspace, $[12] = t9) : t9 = $[12], useEffect(t8, t9), loggedIn === "loading") {
88500
- let t102;
88501
- return $[13] !== LoadingComponent ? (t102 = /* @__PURE__ */ jsx(LoadingComponent, {}), $[13] = LoadingComponent, $[14] = t102) : t102 = $[14], t102;
88522
+ }, $[13] = activeWorkspace.auth.state, $[14] = t10) : t10 = $[14];
88523
+ let t11;
88524
+ if ($[15] !== activeWorkspace ? (t11 = [activeWorkspace], $[15] = activeWorkspace, $[16] = t11) : t11 = $[16], useEffect(t10, t11), loggedIn === "loading") {
88525
+ let t122;
88526
+ return $[17] !== LoadingComponent ? (t122 = /* @__PURE__ */ jsx(LoadingComponent, {}), $[17] = LoadingComponent, $[18] = t122) : t122 = $[18], t122;
88502
88527
  }
88503
88528
  if (loggedIn === "unauthorized") {
88504
88529
  if (!loginProvider || loginProvider === "sanity") {
88505
- let t103;
88506
- return $[15] !== NotAuthenticatedComponent ? (t103 = /* @__PURE__ */ jsx(NotAuthenticatedComponent, {}), $[15] = NotAuthenticatedComponent, $[16] = t103) : t103 = $[16], t103;
88530
+ let t123;
88531
+ return $[19] !== NotAuthenticatedComponent ? (t123 = /* @__PURE__ */ jsx(NotAuthenticatedComponent, {}), $[19] = NotAuthenticatedComponent, $[20] = t123) : t123 = $[20], t123;
88507
88532
  }
88508
- let t102;
88509
- return $[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t102 = /* @__PURE__ */ jsx(RequestAccessScreen, {}), $[17] = t102) : t102 = $[17], t102;
88533
+ let t122;
88534
+ return $[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t122 = /* @__PURE__ */ jsx(RequestAccessScreen, {}), $[21] = t122) : t122 = $[21], t122;
88510
88535
  }
88511
88536
  if (loggedIn === "logged-out") {
88512
- let t102;
88513
- return $[18] !== AuthenticateComponent ? (t102 = /* @__PURE__ */ jsx(AuthenticateComponent, {}), $[18] = AuthenticateComponent, $[19] = t102) : t102 = $[19], t102;
88537
+ let t122;
88538
+ return $[22] !== AuthenticateComponent ? (t122 = /* @__PURE__ */ jsx(AuthenticateComponent, {}), $[22] = AuthenticateComponent, $[23] = t122) : t122 = $[23], t122;
88514
88539
  }
88515
- let t10;
88516
- return $[20] !== children ? (t10 = /* @__PURE__ */ jsx(Fragment$1, { children }), $[20] = children, $[21] = t10) : t10 = $[21], t10;
88540
+ let t12;
88541
+ return $[24] !== children ? (t12 = /* @__PURE__ */ jsx(Fragment$1, { children }), $[24] = children, $[25] = t12) : t12 = $[25], t12;
88517
88542
  }
88518
88543
  function _temp$b() {
88519
88544
  return performance.now();