@flamingo-stack/openframe-frontend-core 0.0.854 → 0.0.856

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 (137) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{case-study-card-WP5Z234Q.cjs → case-study-card-6VAMNHLU.cjs} +8 -8
  3. package/dist/{chunk-ZDPPNHA2.cjs → chunk-2BTEERLH.cjs} +3 -3
  4. package/dist/{chunk-FBANHIAG.cjs → chunk-2JCA7BRK.cjs} +19 -19
  5. package/dist/{chunk-GVHCQRUE.cjs → chunk-2P72KAG5.cjs} +23 -23
  6. package/dist/{chunk-YY3WP2YQ.cjs → chunk-3GJ75OUL.cjs} +183 -183
  7. package/dist/{chunk-FJXSKMQJ.cjs → chunk-4H3J57AN.cjs} +25 -25
  8. package/dist/{chunk-6GWRPW6B.cjs → chunk-5NK3FUHY.cjs} +4 -4
  9. package/dist/{chunk-DLTPSP5F.cjs → chunk-5TYG5JNB.cjs} +2 -2
  10. package/dist/{chunk-63ZV3UGG.cjs → chunk-65NMKAPQ.cjs} +12 -12
  11. package/dist/{chunk-IGVAPIEW.cjs → chunk-6C4OR4MZ.cjs} +2 -2
  12. package/dist/{chunk-GG466XFQ.cjs → chunk-6DMH4GXN.cjs} +30 -5
  13. package/dist/{chunk-2IJMHBOK.cjs → chunk-77GX573I.cjs} +9 -9
  14. package/dist/{chunk-O3EKOXFZ.cjs → chunk-AYMY2VNB.cjs} +37 -43
  15. package/dist/{chunk-JKBNK5U6.cjs → chunk-D6GEMVHD.cjs} +3 -3
  16. package/dist/{chunk-SSKMGH5O.cjs → chunk-DXVGGWLG.cjs} +10 -10
  17. package/dist/{chunk-S5P6CF5R.cjs → chunk-E5OQHFM6.cjs} +54 -54
  18. package/dist/{chunk-5TXE7BXT.cjs → chunk-EOUEUYCQ.cjs} +54 -54
  19. package/dist/{chunk-EIHMPQRQ.cjs → chunk-ESGE7CUX.cjs} +14 -14
  20. package/dist/{chunk-ETZFBB7O.cjs → chunk-EXQSIX2I.cjs} +4 -4
  21. package/dist/{chunk-3WXHPD6N.cjs → chunk-F33EAPD2.cjs} +124 -124
  22. package/dist/{chunk-4SSJ3T3N.cjs → chunk-GK577ZLJ.cjs} +3 -13
  23. package/dist/{chunk-ETQNMR2K.cjs → chunk-GTUQGVXH.cjs} +8 -8
  24. package/dist/{chunk-7MOBD44H.cjs → chunk-HGM7WDJT.cjs} +28 -28
  25. package/dist/{chunk-VMAOZA2V.cjs → chunk-HML3JUXF.cjs} +324 -322
  26. package/dist/{chunk-4O5N5CGK.cjs → chunk-J3CFRGZ2.cjs} +17 -17
  27. package/dist/{chunk-LQDAB5V5.cjs → chunk-KZAQPRTA.cjs} +9 -11
  28. package/dist/{chunk-6DCUGIGU.cjs → chunk-LSLRJJFP.cjs} +2 -2
  29. package/dist/{chunk-ONYANAMA.cjs → chunk-MX52LZ6M.cjs} +6 -6
  30. package/dist/{chunk-OH5TXFRR.cjs → chunk-O4CPT3RK.cjs} +7 -7
  31. package/dist/{chunk-BAA3YCLT.cjs → chunk-OW5MQKCI.cjs} +103 -103
  32. package/dist/{chunk-5HMENXSR.cjs → chunk-PCQ2HKU3.cjs} +5 -5
  33. package/dist/{chunk-D2XGRWPW.cjs → chunk-QLFNMWBP.cjs} +90 -90
  34. package/dist/{chunk-UPQ4MAR7.cjs → chunk-QZXCUY36.cjs} +53 -53
  35. package/dist/{chunk-KKFDRCQF.cjs → chunk-RY7INTYU.cjs} +14 -1
  36. package/dist/{chunk-PRJZMZ3X.cjs → chunk-SJZWVMBF.cjs} +678 -678
  37. package/dist/{chunk-GI3MMBP3.cjs → chunk-SQ7YHWEP.cjs} +228 -15
  38. package/dist/{chunk-ACPOJE32.cjs → chunk-STV6VJ3U.cjs} +21 -21
  39. package/dist/{chunk-QD727QFI.cjs → chunk-T54I5ZZY.cjs} +7 -7
  40. package/dist/{chunk-4LTLEUY5.cjs → chunk-TW5Y4D5I.cjs} +7 -7
  41. package/dist/{chunk-6XU3RCK3.cjs → chunk-UHGARY3S.cjs} +27 -27
  42. package/dist/{chunk-7J5NSWJG.cjs → chunk-UZIGMLTH.cjs} +100 -100
  43. package/dist/{chunk-FX35L4Y6.cjs → chunk-XCQ5I27Z.cjs} +3 -3
  44. package/dist/{chunk-5OENPMRU.cjs → chunk-XI3AMOW6.cjs} +65 -62
  45. package/dist/{chunk-TMPLHUUU.cjs → chunk-XTLMWLFB.cjs} +6 -6
  46. package/dist/{chunk-AZEO7HBB.cjs → chunk-Y44EF4JW.cjs} +2 -2
  47. package/dist/{chunk-RMI6O3AE.cjs → chunk-YB244RRB.cjs} +36 -36
  48. package/dist/{chunk-KA3L6D5N.cjs → chunk-YSXVRTGT.cjs} +9 -12
  49. package/dist/{chunk-H3GBPYPS.cjs → chunk-ZYAVIRQV.cjs} +25 -25
  50. package/dist/{cloud-tenants-5RNK4ZAT.cjs → cloud-tenants-J5T4YL2P.cjs} +28 -29
  51. package/dist/components/case-studies/index.cjs +44 -45
  52. package/dist/components/chat/chat-message-row.d.ts +1 -1
  53. package/dist/components/chat/chat-message-row.d.ts.map +1 -1
  54. package/dist/components/chat/chat-message-row.js +4 -4
  55. package/dist/components/chat/entity-cards/use-cover-image-fallback.d.ts +7 -13
  56. package/dist/components/chat/entity-cards/use-cover-image-fallback.d.ts.map +1 -1
  57. package/dist/components/chat/entity-cards/use-cover-image-fallback.js +2 -8
  58. package/dist/components/chat/hooks/use-chat-attachment-image-gallery.d.ts.map +1 -1
  59. package/dist/components/chat/hooks/use-chat-attachment-image-gallery.js +8 -4
  60. package/dist/components/chat/index.cjs +22 -23
  61. package/dist/components/contact/index.cjs +29 -30
  62. package/dist/components/docs/index.cjs +32 -33
  63. package/dist/components/embeds/index.cjs +29 -30
  64. package/dist/components/faq/index.cjs +30 -31
  65. package/dist/components/features/index.cjs +28 -29
  66. package/dist/components/features/remote-session/remote-session-viewers.d.ts +6 -1
  67. package/dist/components/features/remote-session/remote-session-viewers.d.ts.map +1 -1
  68. package/dist/components/features/remote-session/remote-session-viewers.js +10 -3
  69. package/dist/components/help-center-pages/index.cjs +134 -135
  70. package/dist/components/index.cjs +112 -113
  71. package/dist/components/meeting-scheduler/index.cjs +102 -103
  72. package/dist/components/navigation/index.cjs +31 -32
  73. package/dist/components/onboarding-guides/index.cjs +31 -32
  74. package/dist/components/product-demo/index.cjs +39 -40
  75. package/dist/components/related-content/index.cjs +16 -17
  76. package/dist/components/tickets/index.cjs +35 -36
  77. package/dist/components/ui/entity-image.d.ts +1 -2
  78. package/dist/components/ui/entity-image.d.ts.map +1 -1
  79. package/dist/components/ui/entity-image.js +4 -8
  80. package/dist/components/ui/index.cjs +28 -29
  81. package/dist/components/ui/markdown/base-components.d.ts +0 -13
  82. package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
  83. package/dist/components/ui/markdown/base-components.js +7 -7
  84. package/dist/components/ui/square-avatar.d.ts.map +1 -1
  85. package/dist/components/ui/square-avatar.js +3 -8
  86. package/dist/{devices-44O5PZOW.cjs → devices-IJDF7SSK.cjs} +29 -30
  87. package/dist/embed-shims/index.cjs +3 -2
  88. package/dist/embed-shims/next-image.cjs +3 -2
  89. package/dist/embed-shims/next-image.d.ts +2 -0
  90. package/dist/embed-shims/next-image.d.ts.map +1 -1
  91. package/dist/embed-shims/next-image.js +14 -4
  92. package/dist/{embeddable-chat-W3CLMGC3.cjs → embeddable-chat-QD7NFD2H.cjs} +100 -101
  93. package/dist/hooks/index.cjs +23 -16
  94. package/dist/hooks/index.d.ts +1 -0
  95. package/dist/hooks/index.d.ts.map +1 -1
  96. package/dist/hooks/index.js +1 -0
  97. package/dist/hooks/use-authed-asset-src.d.ts +77 -2
  98. package/dist/hooks/use-authed-asset-src.d.ts.map +1 -1
  99. package/dist/hooks/use-authed-asset-src.js +185 -73
  100. package/dist/hooks/use-authed-image-src.d.ts +11 -4
  101. package/dist/hooks/use-authed-image-src.d.ts.map +1 -1
  102. package/dist/hooks/use-authed-image-src.js +6 -2
  103. package/dist/hooks/use-image-fallback.d.ts +16 -0
  104. package/dist/hooks/use-image-fallback.d.ts.map +1 -0
  105. package/dist/hooks/use-image-fallback.js +14 -0
  106. package/dist/index.cjs +40 -36
  107. package/dist/{knowledge-UUU3WVO3.cjs → knowledge-5LIK6Q4E.cjs} +29 -30
  108. package/dist/{logs-DFHNSODA.cjs → logs-FMENCAXT.cjs} +35 -36
  109. package/dist/{policies-RGFUGDBP.cjs → policies-DKQEEKB4.cjs} +32 -33
  110. package/dist/{remote-session-U3H77HKR.cjs → remote-session-6X7CAHBC.cjs} +13 -14
  111. package/dist/{scripts-KOVO5DHW.cjs → scripts-4EPUIFHF.cjs} +35 -36
  112. package/dist/{software-update-4EKHVV5W.cjs → software-update-IMNRXBAI.cjs} +32 -33
  113. package/dist/{tickets-board-YIFOVMDX.cjs → tickets-board-POYZS7BW.cjs} +16 -17
  114. package/dist/utils/app-origins.d.ts +3 -6
  115. package/dist/utils/app-origins.d.ts.map +1 -1
  116. package/dist/utils/app-origins.js +8 -1
  117. package/dist/utils/embed-authed-fetch.d.ts +46 -26
  118. package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
  119. package/dist/utils/embed-authed-fetch.js +24 -8
  120. package/dist/utils/index.cjs +4 -1
  121. package/dist/{video-file-player-XMOB234V.cjs → video-file-player-RIOT24NT.cjs} +3 -4
  122. package/package.json +1 -1
  123. package/src/components/chat/chat-message-row.tsx +8 -7
  124. package/src/components/chat/entity-cards/use-cover-image-fallback.ts +8 -28
  125. package/src/components/chat/hooks/use-chat-attachment-image-gallery.tsx +19 -8
  126. package/src/components/features/remote-session/remote-session-viewers.tsx +16 -3
  127. package/src/components/ui/entity-image.tsx +4 -12
  128. package/src/components/ui/markdown/base-components.tsx +15 -20
  129. package/src/components/ui/square-avatar.tsx +5 -8
  130. package/src/embed-shims/next-image.tsx +34 -3
  131. package/src/hooks/index.ts +1 -0
  132. package/src/hooks/use-authed-asset-src.ts +323 -107
  133. package/src/hooks/use-authed-image-src.ts +15 -5
  134. package/src/hooks/use-image-fallback.ts +31 -0
  135. package/src/utils/app-origins.ts +12 -7
  136. package/src/utils/embed-authed-fetch.ts +71 -32
  137. package/dist/chunk-YSDB6HGQ.cjs +0 -102
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkDLTPSP5Fcjs = require('./chunk-DLTPSP5F.cjs');
4
+ var _chunk5TYG5JNBcjs = require('./chunk-5TYG5JNB.cjs');
5
5
 
6
6
 
7
7
 
@@ -12,7 +12,7 @@ var _chunkDLTPSP5Fcjs = require('./chunk-DLTPSP5F.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkFBANHIAGcjs = require('./chunk-FBANHIAG.cjs');
15
+ var _chunk2JCA7BRKcjs = require('./chunk-2JCA7BRK.cjs');
16
16
 
17
17
 
18
18
 
@@ -27,17 +27,17 @@ var _chunkFBANHIAGcjs = require('./chunk-FBANHIAG.cjs');
27
27
 
28
28
 
29
29
 
30
- var _chunkYY3WP2YQcjs = require('./chunk-YY3WP2YQ.cjs');
30
+ var _chunk3GJ75OULcjs = require('./chunk-3GJ75OUL.cjs');
31
31
 
32
32
 
33
- var _chunkO3EKOXFZcjs = require('./chunk-O3EKOXFZ.cjs');
33
+ var _chunkAYMY2VNBcjs = require('./chunk-AYMY2VNB.cjs');
34
34
 
35
35
 
36
36
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
37
37
 
38
38
 
39
39
 
40
- var _chunkETZFBB7Ocjs = require('./chunk-ETZFBB7O.cjs');
40
+ var _chunkEXQSIX2Icjs = require('./chunk-EXQSIX2I.cjs');
41
41
 
42
42
 
43
43
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -449,13 +449,13 @@ function programEntry(configKey) {
449
449
  return cardEntry({
450
450
  // The gallery and hosts rows are drawn only for a type whose cards show them (its config's `cardShowsGallery`,
451
451
  // `cardShowsHosts`), as `ProgramCard` decides in a scope: elsewhere a record may have none.
452
- skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
452
+ skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
453
453
  decode: decodeProgramRow,
454
454
  render: (item, ctx) => {
455
455
  const config = _optionalChain([ctx, 'access', _4 => _4.extras, 'optionalAccess', _5 => _5.programConfigs, 'optionalAccess', _6 => _6[configKey]]);
456
456
  if (!config) return null;
457
457
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
458
- _chunkYY3WP2YQcjs.ProgramCard,
458
+ _chunk3GJ75OULcjs.ProgramCard,
459
459
  {
460
460
  config,
461
461
  item,
@@ -473,10 +473,10 @@ function programEntry(configKey) {
473
473
  }
474
474
  function roadmapEntry(cardType) {
475
475
  return cardEntry({
476
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
476
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
477
477
  decode: decodeRoadmapRow,
478
478
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
479
- _chunkYY3WP2YQcjs.RoadmapCard,
479
+ _chunk3GJ75OULcjs.RoadmapCard,
480
480
  {
481
481
  item,
482
482
  href: ctx.href,
@@ -493,10 +493,10 @@ function roadmapEntry(cardType) {
493
493
  }
494
494
  var RELATED_CARD_REGISTRY = {
495
495
  blog_post_existing: cardEntry({
496
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
496
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
497
497
  decode: decodeBlogRow,
498
498
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
499
- _chunkYY3WP2YQcjs.BlogCard,
499
+ _chunk3GJ75OULcjs.BlogCard,
500
500
  {
501
501
  post,
502
502
  size: ctx.legacySize,
@@ -509,10 +509,10 @@ var RELATED_CARD_REGISTRY = {
509
509
  )
510
510
  }),
511
511
  case_study: cardEntry({
512
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkO3EKOXFZcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
512
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAYMY2VNBcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
513
513
  decode: decodeCaseStudyRow,
514
514
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
515
- _chunkO3EKOXFZcjs.CaseStudyCard,
515
+ _chunkAYMY2VNBcjs.CaseStudyCard,
516
516
  {
517
517
  study,
518
518
  size: ctx.legacySize,
@@ -524,10 +524,10 @@ var RELATED_CARD_REGISTRY = {
524
524
  )
525
525
  }),
526
526
  customer_interview: cardEntry({
527
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
527
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
528
528
  decode: decodeCustomerInterviewRow,
529
529
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
530
- _chunkYY3WP2YQcjs.CustomerInterviewCard,
530
+ _chunk3GJ75OULcjs.CustomerInterviewCard,
531
531
  {
532
532
  interview,
533
533
  size: ctx.legacySize,
@@ -545,13 +545,13 @@ var RELATED_CARD_REGISTRY = {
545
545
  * record, and the three props the rail sets itself are read off it.
546
546
  */
547
547
  product_release: cardEntry({
548
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
548
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
549
549
  decode: asRecord,
550
550
  render: (release, ctx) => {
551
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunkYY3WP2YQcjs.buildProductReleaseCardProps));
551
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunk3GJ75OULcjs.buildProductReleaseCardProps));
552
552
  const releaseProps = buildReleaseProps(release);
553
553
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
554
- _chunkYY3WP2YQcjs.ProductReleaseCard,
554
+ _chunk3GJ75OULcjs.ProductReleaseCard,
555
555
  {
556
556
  size: ctx.size === "sm" ? "sm" : "lg",
557
557
  title: str(release, "title"),
@@ -567,10 +567,10 @@ var RELATED_CARD_REGISTRY = {
567
567
  webinar: programEntry("webinar"),
568
568
  event: programEntry("event"),
569
569
  investor_update: cardEntry({
570
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
570
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
571
571
  decode: decodeInvestorUpdateRow,
572
572
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
573
- _chunkYY3WP2YQcjs.InvestorUpdateCard,
573
+ _chunk3GJ75OULcjs.InvestorUpdateCard,
574
574
  {
575
575
  update,
576
576
  size: ctx.legacySize,
@@ -585,10 +585,10 @@ var RELATED_CARD_REGISTRY = {
585
585
  * step-numbered 'default' variant is for the guide detail page's "More in
586
586
  * section" rail, not this full-width row. */
587
587
  onboarding_guide: cardEntry({
588
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYY3WP2YQcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
588
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
589
589
  decode: decodeOnboardingGuideRow,
590
590
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
591
- _chunkYY3WP2YQcjs.OnboardingGuideCard,
591
+ _chunk3GJ75OULcjs.OnboardingGuideCard,
592
592
  {
593
593
  guide,
594
594
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -605,10 +605,10 @@ var RELATED_CARD_REGISTRY = {
605
605
  * href: an object with `href: undefined` is still truthy and would wrap the
606
606
  * card in a dead <a>. */
607
607
  what_i_shipped: cardEntry({
608
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBANHIAGcjs.WhatIShippedCard, { loading: true }),
608
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JCA7BRKcjs.WhatIShippedCard, { loading: true }),
609
609
  decode: decodeEmployeeEntryRow,
610
610
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
611
- _chunkFBANHIAGcjs.WhatIShippedCard,
611
+ _chunk2JCA7BRKcjs.WhatIShippedCard,
612
612
  {
613
613
  entry,
614
614
  placeholderUrl: ctx.placeholderUrl,
@@ -618,10 +618,10 @@ var RELATED_CARD_REGISTRY = {
618
618
  }),
619
619
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
620
620
  how_i_work: cardEntry({
621
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBANHIAGcjs.HowIWorkCard, { loading: true }),
621
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JCA7BRKcjs.HowIWorkCard, { loading: true }),
622
622
  decode: decodeEmployeeEntryRow,
623
623
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
624
- _chunkFBANHIAGcjs.HowIWorkCard,
624
+ _chunk2JCA7BRKcjs.HowIWorkCard,
625
625
  {
626
626
  entry,
627
627
  placeholderUrl: ctx.placeholderUrl,
@@ -631,10 +631,10 @@ var RELATED_CARD_REGISTRY = {
631
631
  }),
632
632
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
633
633
  ai_prompt: cardEntry({
634
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBANHIAGcjs.AiPromptCard, { loading: true }),
634
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JCA7BRKcjs.AiPromptCard, { loading: true }),
635
635
  decode: decodeEmployeeEntryRow,
636
636
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
637
- _chunkFBANHIAGcjs.AiPromptCard,
637
+ _chunk2JCA7BRKcjs.AiPromptCard,
638
638
  {
639
639
  entry,
640
640
  placeholderUrl: ctx.placeholderUrl,
@@ -656,8 +656,8 @@ function DefaultLinkPropsProvider({
656
656
  }) {
657
657
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
658
658
  if (!href) return children(null);
659
- const target = _chunkETZFBB7Ocjs.navLinkTarget.call(void 0, runtime, href, targetPlatform);
660
- return children({ href: target.href, ..._chunkETZFBB7Ocjs.newTabAnchorAttrs.call(void 0, target.isNewTab, target.href, targetPlatform) });
659
+ const target = _chunkEXQSIX2Icjs.navLinkTarget.call(void 0, runtime, href, targetPlatform);
660
+ return children({ href: target.href, ..._chunkEXQSIX2Icjs.newTabAnchorAttrs.call(void 0, target.isNewTab, target.href, targetPlatform) });
661
661
  }
662
662
  function defaultResolveHref(ref) {
663
663
  return { href: ref.url || null, targetPlatform: _nullishCoalesce(ref.targetPlatform, () => ( null)) };
@@ -718,9 +718,9 @@ function useGroupItems(type, refs, buildUrl, seedRows) {
718
718
  () => seedRows && url !== null ? /* @__PURE__ */ new Map([[url, [...seedRows]]]) : /* @__PURE__ */ new Map()
719
719
  );
720
720
  const cached = url !== null ? pages.get(url) : void 0;
721
- const { data, dataUrl, error } = _chunkFBANHIAGcjs.useSelfFetch.call(void 0, cached ? null : url);
721
+ const { data, dataUrl, error } = _chunk2JCA7BRKcjs.useSelfFetch.call(void 0, cached ? null : url);
722
722
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
723
- setPages(new Map(pages).set(dataUrl, _chunkYY3WP2YQcjs.extractItems.call(void 0, data)));
723
+ setPages(new Map(pages).set(dataUrl, _chunk3GJ75OULcjs.extractItems.call(void 0, data)));
724
724
  }
725
725
  if (url === null) return { items: null, isLoading: false };
726
726
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -729,7 +729,7 @@ function gridClassFor(columns) {
729
729
  return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
730
730
  }
731
731
  function resolveGroupConfig(type) {
732
- return _nullishCoalesce(_chunkFBANHIAGcjs.CONTENT_REF_GROUPS[type], () => ( {
732
+ return _nullishCoalesce(_chunk2JCA7BRKcjs.CONTENT_REF_GROUPS[type], () => ( {
733
733
  label: type,
734
734
  order: 999,
735
735
  layout: "grid",
@@ -742,15 +742,15 @@ var GROUP_HEADING_CLASS = "font-semibold text-ods-text-secondary text-h5";
742
742
  var RAIL_CLASS = "flex flex-col gap-8";
743
743
  var UNKNOWN_TYPE_CARD = "blog_post_existing";
744
744
  function GroupHeading({ type }) {
745
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkFBANHIAGcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
745
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunk2JCA7BRKcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
746
746
  }
747
747
  function orderRailTypes(types, entityType) {
748
- let ordered = _chunkFBANHIAGcjs.orderContentRefTypes.call(void 0, types);
748
+ let ordered = _chunk2JCA7BRKcjs.orderContentRefTypes.call(void 0, types);
749
749
  if (entityType) {
750
- const canonicalEntityType = _chunkYY3WP2YQcjs.canonicalContentRefType.call(void 0, entityType);
751
- const sameType = ordered.filter((t) => _chunkYY3WP2YQcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
750
+ const canonicalEntityType = _chunk3GJ75OULcjs.canonicalContentRefType.call(void 0, entityType);
751
+ const sameType = ordered.filter((t) => _chunk3GJ75OULcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
752
752
  if (sameType.length > 0) {
753
- ordered = [...sameType, ...ordered.filter((t) => _chunkYY3WP2YQcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
753
+ ordered = [...sameType, ...ordered.filter((t) => _chunk3GJ75OULcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
754
754
  }
755
755
  }
756
756
  return ordered;
@@ -779,10 +779,10 @@ function ContentGroup({
779
779
  setPagedRefsKey(refsKey);
780
780
  setPage(1);
781
781
  }
782
- const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkFBANHIAGcjs.GROUP_PAGE_SIZE);
783
- const pageRefs = refs.slice((page - 1) * _chunkFBANHIAGcjs.GROUP_PAGE_SIZE, page * _chunkFBANHIAGcjs.GROUP_PAGE_SIZE);
782
+ const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunk2JCA7BRKcjs.GROUP_PAGE_SIZE);
783
+ const pageRefs = refs.slice((page - 1) * _chunk2JCA7BRKcjs.GROUP_PAGE_SIZE, page * _chunk2JCA7BRKcjs.GROUP_PAGE_SIZE);
784
784
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl, seedRows);
785
- const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDLTPSP5Fcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
785
+ const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5TYG5JNBcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
786
786
  _react.useEffect.call(void 0, () => {
787
787
  onLoadingChange(type, isLoading);
788
788
  return () => onLoadingChange(type, false);
@@ -800,7 +800,7 @@ function ContentGroup({
800
800
  }
801
801
  if (!items) return null;
802
802
  const rowKey = (it) => {
803
- const extracted = _chunkYY3WP2YQcjs.extractItemId.call(void 0, type, it);
803
+ const extracted = _chunk3GJ75OULcjs.extractItemId.call(void 0, type, it);
804
804
  if (extracted !== null) return extracted;
805
805
  return String(typeof it === "object" && it !== null ? it.id : void 0);
806
806
  };
@@ -871,11 +871,11 @@ function RelatedContentSection({
871
871
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
872
872
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
873
873
  };
874
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkFBANHIAGcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
874
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunk2JCA7BRKcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
875
875
  apiBaseUrl,
876
876
  extraParams: { authorId, ...typeFilterParams }
877
877
  }) : null;
878
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkFBANHIAGcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
878
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunk2JCA7BRKcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
879
879
  apiBaseUrl,
880
880
  entityType,
881
881
  entityId,
@@ -892,7 +892,7 @@ function RelatedContentSection({
892
892
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
893
893
  [initialItems, suggestionsDisabled]
894
894
  );
895
- const { data, isLoading } = _chunkFBANHIAGcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
895
+ const { data, isLoading } = _chunk2JCA7BRKcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
896
896
  const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
897
897
  const [loadingTypes, setLoadingTypes] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
898
898
  const onGroupLoadingChange = _react.useCallback.call(void 0, (type, loading) => {
@@ -905,7 +905,7 @@ function RelatedContentSection({
905
905
  });
906
906
  }, []);
907
907
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
908
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkYY3WP2YQcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
908
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk3GJ75OULcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
909
909
  [buildListUrl2, apiBaseUrl]
910
910
  );
911
911
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _12 => _12.refs]))), () => ( []));
@@ -929,7 +929,7 @@ function RelatedContentSection({
929
929
  }
930
930
  if (!showWhenEmpty) return null;
931
931
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
932
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkYY3WP2YQcjs.accentSentenceMarks.call(void 0, title) }),
932
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk3GJ75OULcjs.accentSentenceMarks.call(void 0, title) }),
933
933
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
934
934
  ] });
935
935
  }
@@ -955,7 +955,7 @@ function RelatedContentSection({
955
955
  );
956
956
  }
957
957
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
958
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkYY3WP2YQcjs.accentSentenceMarks.call(void 0, title) }),
958
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunk3GJ75OULcjs.accentSentenceMarks.call(void 0, title) }),
959
959
  orderedTypes.map((type, groupIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
960
960
  ContentGroup,
961
961
  {
@@ -986,24 +986,24 @@ function RelatedContentSectionSkeleton({
986
986
  adminCampaignCard,
987
987
  extras
988
988
  }) {
989
- const canonicalEntityType = entityType ? _chunkYY3WP2YQcjs.canonicalContentRefType.call(void 0, entityType) : null;
989
+ const canonicalEntityType = entityType ? _chunk3GJ75OULcjs.canonicalContentRefType.call(void 0, entityType) : null;
990
990
  const unknownGroup = types.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: GROUP_CLASS, "aria-hidden": true, "data-loading-item": true, children: [
991
991
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
992
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkFBANHIAGcjs.GROUP_PAGE_SIZE }, (_, i) => (
992
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunk2JCA7BRKcjs.GROUP_PAGE_SIZE }, (_, i) => (
993
993
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
994
994
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(UNKNOWN_TYPE_CARD, "default", adminCampaignCard, extras) }, i)
995
995
  )) })
996
996
  ] }) : null;
997
997
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
998
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkYY3WP2YQcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
998
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunk3GJ75OULcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
999
999
  unknownGroup,
1000
1000
  orderRailTypes(new Set(types), entityType).map((type) => {
1001
1001
  const config = resolveGroupConfig(type);
1002
- const sameType = canonicalEntityType !== null && _chunkYY3WP2YQcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
1002
+ const sameType = canonicalEntityType !== null && _chunk3GJ75OULcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
1003
1003
  const isList = config.layout === "list";
1004
1004
  const count = Math.min(
1005
- _chunkFBANHIAGcjs.GROUP_PAGE_SIZE,
1006
- _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkFBANHIAGcjs.GROUP_PAGE_SIZE))
1005
+ _chunk2JCA7BRKcjs.GROUP_PAGE_SIZE,
1006
+ _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunk2JCA7BRKcjs.GROUP_PAGE_SIZE))
1007
1007
  );
1008
1008
  const cards = Array.from({ length: count }, (_, i) => (
1009
1009
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
@@ -5,19 +5,19 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkVMAOZA2Vcjs = require('./chunk-VMAOZA2V.cjs');
8
+ var _chunkHML3JUXFcjs = require('./chunk-HML3JUXF.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunk2IJMHBOKcjs = require('./chunk-2IJMHBOK.cjs');
13
+ var _chunk77GX573Icjs = require('./chunk-77GX573I.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkETZFBB7Ocjs = require('./chunk-ETZFBB7O.cjs');
17
+ var _chunkEXQSIX2Icjs = require('./chunk-EXQSIX2I.cjs');
18
18
 
19
19
 
20
- var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
20
+ var _chunkXCQ5I27Zcjs = require('./chunk-XCQ5I27Z.cjs');
21
21
 
22
22
 
23
23
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -35,7 +35,7 @@ var _jsxruntime = require('react/jsx-runtime');
35
35
  function DocSearchResultRow({ result, isHighlighted }) {
36
36
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
37
37
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
38
- const { Icon: SourceIcon, label: iconLabel } = _chunkVMAOZA2Vcjs.resolveSourceIcon.call(void 0, {
38
+ const { Icon: SourceIcon, label: iconLabel } = _chunkHML3JUXFcjs.resolveSourceIcon.call(void 0, {
39
39
  sourceRepo,
40
40
  documentType: docType
41
41
  });
@@ -65,7 +65,7 @@ function DocSearchBar({
65
65
  renderResult
66
66
  }) {
67
67
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
68
- _chunkVMAOZA2Vcjs.SearchInput,
68
+ _chunkHML3JUXFcjs.SearchInput,
69
69
  {
70
70
  placeholder,
71
71
  value: query,
@@ -115,7 +115,7 @@ function mapDocSearchResults(docs) {
115
115
  results.push({
116
116
  id: `group-${entry.repo}`,
117
117
  // Same table label and count as the chat's grouped chip: one owner each.
118
- title: `${_chunkVMAOZA2Vcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkVMAOZA2Vcjs.recordCountLabel.call(void 0, rows.length)}`,
118
+ title: `${_chunkHML3JUXFcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkHML3JUXFcjs.recordCountLabel.call(void 0, rows.length)}`,
119
119
  path: rows[0].path,
120
120
  type: "file",
121
121
  metadata: {
@@ -171,9 +171,9 @@ function resolveSearchResultAction(result, source, runtime, composeContentUrl) {
171
171
  externalUrl,
172
172
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null))
173
173
  }) : null;
174
- const hostRoute = !!_optionalChain([composed, 'optionalAccess', _10 => _10.href]) && _chunkETZFBB7Ocjs.isRelativeHref.call(void 0, composed.href);
174
+ const hostRoute = !!_optionalChain([composed, 'optionalAccess', _10 => _10.href]) && _chunkEXQSIX2Icjs.isRelativeHref.call(void 0, composed.href);
175
175
  const actionPlatform = composed ? composed.targetPlatform : _nullishCoalesce(targetPlatform, () => ( null));
176
- const target = _chunkETZFBB7Ocjs.navLinkTarget.call(void 0, runtime, _optionalChain([composed, 'optionalAccess', _11 => _11.href]) || externalUrl, actionPlatform, { hostRoute });
176
+ const target = _chunkEXQSIX2Icjs.navLinkTarget.call(void 0, runtime, _optionalChain([composed, 'optionalAccess', _11 => _11.href]) || externalUrl, actionPlatform, { hostRoute });
177
177
  const kind = target.isNewTab ? "navigate-new-tab" : "navigate-same-tab";
178
178
  return hostRoute ? { kind, href: target.href, targetPlatform: actionPlatform, hostRoute } : { kind, href: target.href, targetPlatform: actionPlatform };
179
179
  }
@@ -239,7 +239,7 @@ function useDocSearch(config) {
239
239
  const [query, setQuery] = _react.useState.call(void 0, "");
240
240
  const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
241
241
  const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
242
- const debouncedQuery = _chunk2IJMHBOKcjs.useDebounce.call(void 0, query, 300);
242
+ const debouncedQuery = _chunk77GX573Icjs.useDebounce.call(void 0, query, 300);
243
243
  const searchable = debouncedQuery.trim().length >= 2;
244
244
  const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
245
245
  if (wasSearchable !== searchable) {
@@ -261,7 +261,7 @@ function useDocSearch(config) {
261
261
  limit: "10"
262
262
  });
263
263
  if (tableIdsKey) params.set("tableIds", tableIdsKey);
264
- const response = await _chunkFX35L4Y6cjs.contentFetch.call(void 0, `${resolvedSearchEndpoint}?${params.toString()}`);
264
+ const response = await _chunkXCQ5I27Zcjs.contentFetch.call(void 0, `${resolvedSearchEndpoint}?${params.toString()}`);
265
265
  if (!response.ok) {
266
266
  throw new Error(`Search request failed: ${response.status}`);
267
267
  }
@@ -297,13 +297,13 @@ function useDocSearch(config) {
297
297
  case "navigate-new-tab": {
298
298
  if (wantsNewTab) {
299
299
  setKeepOpen(true);
300
- _chunk2IJMHBOKcjs.executeNewTabNavigation.call(void 0, { runtime, href: action.href, targetPlatform: action.targetPlatform });
300
+ _chunk77GX573Icjs.executeNewTabNavigation.call(void 0, { runtime, href: action.href, targetPlatform: action.targetPlatform });
301
301
  return;
302
302
  }
303
303
  setKeepOpen(action.kind === "navigate-new-tab");
304
304
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
305
305
  if (action.kind === "navigate-same-tab" && path && _optionalChain([onInPageSwap, 'optionalCall', _15 => _15(path)])) return;
306
- _chunk2IJMHBOKcjs.executeNavigationImperative.call(void 0, {
306
+ _chunk77GX573Icjs.executeNavigationImperative.call(void 0, {
307
307
  runtime,
308
308
  href: action.href,
309
309
  path,
@@ -314,7 +314,7 @@ function useDocSearch(config) {
314
314
  }
315
315
  case "ask-ai":
316
316
  setKeepOpen(false);
317
- window.dispatchEvent(new CustomEvent(_chunkVMAOZA2Vcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
317
+ window.dispatchEvent(new CustomEvent(_chunkHML3JUXFcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
318
318
  return;
319
319
  case "route":
320
320
  setKeepOpen(false);
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkKKFDRCQFcjs = require('./chunk-KKFDRCQF.cjs');
4
+ var _chunkRY7INTYUcjs = require('./chunk-RY7INTYU.cjs');
5
5
 
6
6
 
7
- var _chunkGG466XFQcjs = require('./chunk-GG466XFQ.cjs');
7
+ var _chunk6DMH4GXNcjs = require('./chunk-6DMH4GXN.cjs');
8
8
 
9
9
 
10
10
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -14,7 +14,7 @@ var _chunk63A4GZMBcjs = require('./chunk-63A4GZMB.cjs');
14
14
 
15
15
  // src/hooks/ui/use-image-edge-color.ts
16
16
  var _react = require('react');
17
- var EDGE_SAMPLE_WIDTH = _chunkKKFDRCQFcjs.IMAGE_FIXED_WIDTHS[2];
17
+ var EDGE_SAMPLE_WIDTH = _chunkRY7INTYUcjs.IMAGE_FIXED_WIDTHS[2];
18
18
  function extractEdgeColor(img) {
19
19
  const canvas = document.createElement("canvas");
20
20
  const ctx = canvas.getContext("2d");
@@ -90,7 +90,7 @@ function useImageEdgeColor(givenUrl, fallback = "#000000") {
90
90
  setColor(fallback);
91
91
  }
92
92
  };
93
- const sampleUrl = _chunkGG466XFQcjs.resizedImageUrl.call(void 0, imageUrl, EDGE_SAMPLE_WIDTH);
93
+ const sampleUrl = _chunk6DMH4GXNcjs.resizedImageUrl.call(void 0, imageUrl, EDGE_SAMPLE_WIDTH);
94
94
  let triedOriginal = sampleUrl === imageUrl;
95
95
  img.onerror = () => {
96
96
  if (cancelled) return;