@flamingo-stack/openframe-frontend-core 0.0.784 → 0.0.785

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 (104) hide show
  1. package/dist/case-study-card-236RTB5D.cjs +23 -0
  2. package/dist/{chunk-4LQKUZQL.cjs → chunk-2JDK4FWV.cjs} +209 -209
  3. package/dist/{chunk-KVPHCBQV.cjs → chunk-2PMLX52X.cjs} +46 -46
  4. package/dist/{chunk-CBKXU77H.cjs → chunk-2U4H74KS.cjs} +45 -45
  5. package/dist/{chunk-GI5QCHOV.cjs → chunk-3ITHC2Y4.cjs} +6 -6
  6. package/dist/{chunk-ODDUGLYF.cjs → chunk-3SENOTWT.cjs} +110 -110
  7. package/dist/{chunk-5WMRVMXH.cjs → chunk-4ZHLORL3.cjs} +5 -5
  8. package/dist/{chunk-XVFESSEB.cjs → chunk-55KZW2P2.cjs} +31 -31
  9. package/dist/{chunk-4MQASMIU.cjs → chunk-5CAQZRVN.cjs} +7 -7
  10. package/dist/{chunk-GTYVI4QR.cjs → chunk-5PVYYZEK.cjs} +37 -37
  11. package/dist/{chunk-UPQMFK5B.cjs → chunk-5Z77NJZF.cjs} +7 -7
  12. package/dist/{chunk-JYLECAIR.cjs → chunk-7FCOQCAK.cjs} +61 -61
  13. package/dist/{chunk-EFCWHAYC.cjs → chunk-7QK4R7UU.cjs} +8 -8
  14. package/dist/{chunk-YXZOP726.cjs → chunk-7W3NVU4V.cjs} +10 -10
  15. package/dist/{chunk-MKF6XX5A.cjs → chunk-BP7GLDRJ.cjs} +63 -63
  16. package/dist/{chunk-NZJ5WW2D.cjs → chunk-BQDO7PU7.cjs} +51 -51
  17. package/dist/{chunk-FQE5MGRD.cjs → chunk-DGUZUOWN.cjs} +42 -42
  18. package/dist/{chunk-A3UZFFR3.cjs → chunk-DNB5DELQ.cjs} +3 -3
  19. package/dist/{chunk-V5PJQ4C2.cjs → chunk-EIXFIGLX.cjs} +13 -13
  20. package/dist/{chunk-5XAWVXNI.cjs → chunk-EOZ23WOY.cjs} +320 -320
  21. package/dist/{chunk-WMXNSSJZ.cjs → chunk-EQKMFQ5J.cjs} +535 -535
  22. package/dist/{chunk-L33AEGH4.cjs → chunk-FDPAD7GS.cjs} +44 -44
  23. package/dist/{chunk-N5TPRCSS.cjs → chunk-FFW3IY5E.cjs} +60 -60
  24. package/dist/{chunk-4DKPNN2A.cjs → chunk-G7COLTR6.cjs} +17 -17
  25. package/dist/{chunk-3INHO6GP.cjs → chunk-GX6YLDAS.cjs} +22 -22
  26. package/dist/{chunk-BE4OUWTA.cjs → chunk-HAAQUV3O.cjs} +54 -54
  27. package/dist/{chunk-4DQ4CNAG.cjs → chunk-HE6UVP6R.cjs} +10 -10
  28. package/dist/{chunk-FLS6DZEN.cjs → chunk-IZXVGIQX.cjs} +44 -44
  29. package/dist/{chunk-LUWYWYNC.cjs → chunk-J4ZNQ55O.cjs} +2 -2
  30. package/dist/{chunk-OMTH355I.cjs → chunk-JHY6H2XR.cjs} +3 -3
  31. package/dist/{chunk-WSBWP7IW.cjs → chunk-JSNLMPXN.cjs} +3 -3
  32. package/dist/{chunk-4T2ZBCVJ.cjs → chunk-JZUBBNTT.cjs} +110 -110
  33. package/dist/{chunk-ZJS45HQZ.cjs → chunk-KKD7XV5A.cjs} +29 -29
  34. package/dist/{chunk-ZFOMRALU.cjs → chunk-L4ORB5RP.cjs} +16 -16
  35. package/dist/{chunk-CZPUVFON.cjs → chunk-LCPJNG5M.cjs} +115 -115
  36. package/dist/{chunk-NNNRN4OF.cjs → chunk-LCSYTFFO.cjs} +14 -14
  37. package/dist/{chunk-N2SVJJLU.cjs → chunk-MZOODES3.cjs} +5 -5
  38. package/dist/{chunk-MYXC6PEG.cjs → chunk-NVWROBPF.cjs} +2014 -2014
  39. package/dist/{chunk-MGEUZRNQ.cjs → chunk-NWNC22IZ.cjs} +4 -3
  40. package/dist/{chunk-6F3IS3RD.cjs → chunk-NXUL4W7Q.cjs} +13 -13
  41. package/dist/{chunk-CBDSML44.cjs → chunk-OOSSOL7E.cjs} +172 -174
  42. package/dist/{chunk-F2FFJWOQ.cjs → chunk-PCBKE6LA.cjs} +4 -4
  43. package/dist/{chunk-MZQGHDTE.cjs → chunk-Q73MAT62.cjs} +3 -3
  44. package/dist/{chunk-DYF6XB27.cjs → chunk-QWVVXXFG.cjs} +4 -4
  45. package/dist/{chunk-CS5SZJFV.cjs → chunk-RU37NNZG.cjs} +2 -2
  46. package/dist/{chunk-EHQ2UGT4.cjs → chunk-TC2T5Q7M.cjs} +15 -15
  47. package/dist/{chunk-GMIXTXAO.cjs → chunk-TRV5GGOH.cjs} +61 -61
  48. package/dist/{chunk-FS7CBRF4.cjs → chunk-UVPV6TUI.cjs} +23 -23
  49. package/dist/{chunk-RT6QATX4.cjs → chunk-WLHHXAT7.cjs} +19 -19
  50. package/dist/{chunk-U5R4MY4F.cjs → chunk-WNKOWR3E.cjs} +4 -4
  51. package/dist/{chunk-XAA5LUHC.cjs → chunk-Y6KZFPZN.cjs} +12 -12
  52. package/dist/{chunk-STYH4ISW.cjs → chunk-YCSX7MCG.cjs} +197 -197
  53. package/dist/{cloud-tenants-HUFCDOSC.cjs → cloud-tenants-TJSSGC5O.cjs} +32 -32
  54. package/dist/components/calendar.cjs +10 -10
  55. package/dist/components/case-studies/index.cjs +52 -52
  56. package/dist/components/chat/index.cjs +26 -26
  57. package/dist/components/contact/index.cjs +33 -33
  58. package/dist/components/docs/index.cjs +36 -36
  59. package/dist/components/embeds/index.cjs +33 -33
  60. package/dist/components/faq/index.cjs +34 -34
  61. package/dist/components/features/index.cjs +32 -32
  62. package/dist/components/help-center-pages/index.cjs +163 -163
  63. package/dist/components/index.cjs +204 -204
  64. package/dist/components/meeting-scheduler/index.cjs +187 -187
  65. package/dist/components/navigation/index.cjs +35 -35
  66. package/dist/components/navigation/navigation-sidebar-item.js +1 -3
  67. package/dist/components/onboarding-guides/index.cjs +35 -35
  68. package/dist/components/product-demo/index.cjs +45 -45
  69. package/dist/components/related-content/index.cjs +17 -17
  70. package/dist/components/tickets/index.cjs +39 -39
  71. package/dist/components/ui/autocomplete.js +1 -1
  72. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  73. package/dist/components/ui/button/button-styles.js +4 -3
  74. package/dist/components/ui/date-picker.js +1 -1
  75. package/dist/components/ui/file-manager/index.cjs +55 -55
  76. package/dist/components/ui/index.cjs +32 -32
  77. package/dist/components/ui/input.js +1 -1
  78. package/dist/components/ui/select.js +1 -1
  79. package/dist/components/ui/tag-search-input.js +1 -1
  80. package/dist/components/ui/textarea.js +1 -1
  81. package/dist/{devices-KRWVEY76.cjs → devices-RQ7OSCJZ.cjs} +33 -33
  82. package/dist/embed-shims/index.cjs +4 -4
  83. package/dist/embed-shims/next-image.cjs +4 -4
  84. package/dist/{embeddable-chat-AZEPJAPN.cjs → embeddable-chat-SYWOS6YZ.cjs} +115 -115
  85. package/dist/hooks/index.cjs +10 -10
  86. package/dist/index.cjs +48 -48
  87. package/dist/{knowledge-Z3FM7U3W.cjs → knowledge-5QKXKQ4Q.cjs} +33 -33
  88. package/dist/{logs-CNJYF5CO.cjs → logs-GBKJZHMC.cjs} +41 -41
  89. package/dist/{policies-U32LUDZ4.cjs → policies-WAYKWIZM.cjs} +36 -36
  90. package/dist/{remote-session-ST6JEZML.cjs → remote-session-AXKWTU4I.cjs} +17 -17
  91. package/dist/{scripts-2Y6ISOOK.cjs → scripts-L46FQYCQ.cjs} +39 -39
  92. package/dist/{software-update-EEN7PQR3.cjs → software-update-2HMC5XIV.cjs} +36 -36
  93. package/dist/{tickets-board-EYKLSB36.cjs → tickets-board-SXETISNL.cjs} +17 -17
  94. package/dist/{video-file-player-ZU666VUY.cjs → video-file-player-XWZIO3YN.cjs} +14 -14
  95. package/package.json +1 -1
  96. package/src/components/navigation/navigation-sidebar-item.tsx +2 -3
  97. package/src/components/ui/autocomplete.tsx +1 -1
  98. package/src/components/ui/button/button-styles.ts +4 -3
  99. package/src/components/ui/date-picker.tsx +1 -1
  100. package/src/components/ui/input.tsx +1 -1
  101. package/src/components/ui/select.tsx +1 -1
  102. package/src/components/ui/tag-search-input.tsx +1 -1
  103. package/src/components/ui/textarea.tsx +1 -1
  104. package/dist/case-study-card-WYZPBDDM.cjs +0 -23
@@ -2,41 +2,41 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkMYXC6PEGcjs = require('./chunk-MYXC6PEG.cjs');
5
+ var _chunkNVWROBPFcjs = require('./chunk-NVWROBPF.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk4LQKUZQLcjs = require('./chunk-4LQKUZQL.cjs');
12
+ var _chunk2JDK4FWVcjs = require('./chunk-2JDK4FWV.cjs');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkCBKXU77Hcjs = require('./chunk-CBKXU77H.cjs');
17
+ var _chunk2U4H74KScjs = require('./chunk-2U4H74KS.cjs');
18
18
 
19
19
 
20
- var _chunkSTYH4ISWcjs = require('./chunk-STYH4ISW.cjs');
20
+ var _chunkYCSX7MCGcjs = require('./chunk-YCSX7MCG.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkWMXNSSJZcjs = require('./chunk-WMXNSSJZ.cjs');
25
+ var _chunkEQKMFQ5Jcjs = require('./chunk-EQKMFQ5J.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunk5XAWVXNIcjs = require('./chunk-5XAWVXNI.cjs');
29
+ var _chunkEOZ23WOYcjs = require('./chunk-EOZ23WOY.cjs');
30
30
 
31
31
 
32
32
 
33
- var _chunkEHQ2UGT4cjs = require('./chunk-EHQ2UGT4.cjs');
33
+ var _chunkTC2T5Q7Mcjs = require('./chunk-TC2T5Q7M.cjs');
34
34
 
35
35
 
36
- var _chunkOMTH355Icjs = require('./chunk-OMTH355I.cjs');
36
+ var _chunkJHY6H2XRcjs = require('./chunk-JHY6H2XR.cjs');
37
37
 
38
38
 
39
- var _chunkFLS6DZENcjs = require('./chunk-FLS6DZEN.cjs');
39
+ var _chunkIZXVGIQXcjs = require('./chunk-IZXVGIQX.cjs');
40
40
 
41
41
  // src/components/contact/contact-form.tsx
42
42
  var _zod = require('@hookform/resolvers/zod');
@@ -119,14 +119,14 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkWMXNSSJZcjs.useChatAttachments.call(void 0, );
123
- const builtInSubmission = _chunkCBKXU77Hcjs.useContactSubmission.call(void 0, {
122
+ const attachments = _chunkEQKMFQ5Jcjs.useChatAttachments.call(void 0, );
123
+ const builtInSubmission = _chunk2U4H74KScjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
126
126
  successToastMessage
127
127
  });
128
128
  const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
129
- const { honeypotInputProps, getSignals, resetSignals } = _chunkCBKXU77Hcjs.useHumanitySignals.call(void 0, );
129
+ const { honeypotInputProps, getSignals, resetSignals } = _chunk2U4H74KScjs.useHumanitySignals.call(void 0, );
130
130
  const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
131
131
  const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
132
132
  const form = _reacthookform.useForm.call(void 0, {
@@ -152,7 +152,7 @@ function ContactForm({
152
152
  ),
153
153
  [hideFields]
154
154
  );
155
- const rescue = _chunkCBKXU77Hcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
155
+ const rescue = _chunk2U4H74KScjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
156
156
  const handleFormSubmit = async (data) => {
157
157
  if (isSubmitting) return;
158
158
  if (attachmentsEnabled && attachments.hasInflightUploads) return;
@@ -190,7 +190,7 @@ function ContactForm({
190
190
  className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
191
191
  children: [
192
192
  (title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
193
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk5XAWVXNIcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk5XAWVXNIcjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkEOZ23WOYcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkEOZ23WOYcjs.accentSentenceMarks.call(void 0, title) }),
194
194
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
195
195
  ] }),
196
196
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -203,22 +203,22 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunkSTYH4ISWcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkYCSX7MCGcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYXC6PEGcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNVWROBPFcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
216
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "name", children: [
216
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJHY6H2XRcjs.Label, { htmlFor: "name", children: [
217
217
  "Your Name",
218
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHQ2UGT4cjs.RequiredMark, {})
218
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTC2T5Q7Mcjs.RequiredMark, {})
219
219
  ] }),
220
220
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
221
- _chunkEHQ2UGT4cjs.Input,
221
+ _chunkTC2T5Q7Mcjs.Input,
222
222
  {
223
223
  id: "name",
224
224
  type: "text",
@@ -233,12 +233,12 @@ function ContactForm({
233
233
  errors.name && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "name-error", className: "mt-1 text-ods-error text-h6", children: errors.name.message })
234
234
  ] }),
235
235
  showEmail && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
236
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "email", children: [
236
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJHY6H2XRcjs.Label, { htmlFor: "email", children: [
237
237
  "Email",
238
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHQ2UGT4cjs.RequiredMark, {})
238
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTC2T5Q7Mcjs.RequiredMark, {})
239
239
  ] }),
240
240
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
241
- _chunkEHQ2UGT4cjs.Input,
241
+ _chunkTC2T5Q7Mcjs.Input,
242
242
  {
243
243
  id: "email",
244
244
  type: "email",
@@ -255,46 +255,46 @@ function ContactForm({
255
255
  ] }),
256
256
  (showCompanySize || showReferralSource) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
257
257
  showCompanySize && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
258
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "companySize", children: "Company Size" }),
258
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHY6H2XRcjs.Label, { htmlFor: "companySize", children: "Company Size" }),
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
260
260
  _reacthookform.Controller,
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4LQKUZQLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2JDK4FWVcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunk4LQKUZQLcjs.SelectTrigger,
266
+ _chunk2JDK4FWVcjs.SelectTrigger,
267
267
  {
268
268
  id: "companySize",
269
269
  "aria-label": "Company Size",
270
270
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
271
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
278
278
  errors.companySize && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "companySize-error", className: "mt-1 text-ods-error text-h6", children: errors.companySize.message })
279
279
  ] }),
280
280
  showReferralSource && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
281
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "referralSource", children: "How did you hear about us?" }),
281
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHY6H2XRcjs.Label, { htmlFor: "referralSource", children: "How did you hear about us?" }),
282
282
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
283
283
  _reacthookform.Controller,
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4LQKUZQLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2JDK4FWVcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunk4LQKUZQLcjs.SelectTrigger,
289
+ _chunk2JDK4FWVcjs.SelectTrigger,
290
290
  {
291
291
  id: "referralSource",
292
292
  "aria-label": "Referral Source",
293
293
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
294
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -302,39 +302,39 @@ function ContactForm({
302
302
  ] })
303
303
  ] }),
304
304
  showHelpCategory && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
305
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "helpCategory", children: [
305
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJHY6H2XRcjs.Label, { htmlFor: "helpCategory", children: [
306
306
  "Choose your main interest",
307
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHQ2UGT4cjs.RequiredMark, {})
307
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTC2T5Q7Mcjs.RequiredMark, {})
308
308
  ] }),
309
309
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
310
310
  _reacthookform.Controller,
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4LQKUZQLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2JDK4FWVcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunk4LQKUZQLcjs.SelectTrigger,
316
+ _chunk2JDK4FWVcjs.SelectTrigger,
317
317
  {
318
318
  id: "helpCategory",
319
319
  "aria-label": "Help Category",
320
320
  "aria-required": true,
321
321
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
322
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LQKUZQLcjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
329
329
  errors.helpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "helpCategory-error", className: "mt-1 text-ods-error text-h6", children: errors.helpCategory.message })
330
330
  ] }),
331
331
  showMessage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col", children: [
332
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "message", children: [
332
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJHY6H2XRcjs.Label, { htmlFor: "message", children: [
333
333
  "Your Message",
334
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHQ2UGT4cjs.RequiredMark, {})
334
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTC2T5Q7Mcjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkMYXC6PEGcjs.Textarea,
337
+ _chunkNVWROBPFcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -349,7 +349,7 @@ function ContactForm({
349
349
  ] }),
350
350
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
351
351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
352
- _chunkWMXNSSJZcjs.ChatAttachmentChipStrip,
352
+ _chunkEQKMFQ5Jcjs.ChatAttachmentChipStrip,
353
353
  {
354
354
  attachments: attachments.attachments,
355
355
  onRemove: attachments.removeAttachment,
@@ -358,7 +358,7 @@ function ContactForm({
358
358
  ),
359
359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
360
360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
361
- _chunkWMXNSSJZcjs.ChatAttachmentAddButton,
361
+ _chunkEQKMFQ5Jcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,
@@ -372,7 +372,7 @@ function ContactForm({
372
372
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 content-md:flex-row content-md:gap-6", children: [
373
373
  footerText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-center text-ods-text-secondary text-h6 content-md:text-left", children: footerText }),
374
374
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
375
- _chunkFLS6DZENcjs.Button,
375
+ _chunkIZXVGIQXcjs.Button,
376
376
  {
377
377
  type: "submit",
378
378
  loading: isSubmitting,
@@ -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 _chunkRT6QATX4cjs = require('./chunk-RT6QATX4.cjs');
4
+ var _chunkWLHHXAT7cjs = require('./chunk-WLHHXAT7.cjs');
5
5
 
6
6
 
7
7
 
@@ -12,7 +12,7 @@ var _chunkRT6QATX4cjs = require('./chunk-RT6QATX4.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunk4DKPNN2Acjs = require('./chunk-4DKPNN2A.cjs');
15
+ var _chunkG7COLTR6cjs = require('./chunk-G7COLTR6.cjs');
16
16
 
17
17
 
18
18
 
@@ -27,23 +27,23 @@ var _chunk4DKPNN2Acjs = require('./chunk-4DKPNN2A.cjs');
27
27
 
28
28
 
29
29
 
30
- var _chunk5XAWVXNIcjs = require('./chunk-5XAWVXNI.cjs');
30
+ var _chunkEOZ23WOYcjs = require('./chunk-EOZ23WOY.cjs');
31
31
 
32
32
 
33
33
 
34
- var _chunkODDUGLYFcjs = require('./chunk-ODDUGLYF.cjs');
34
+ var _chunk3SENOTWTcjs = require('./chunk-3SENOTWT.cjs');
35
35
 
36
36
 
37
37
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
38
38
 
39
39
 
40
- var _chunkA3UZFFR3cjs = require('./chunk-A3UZFFR3.cjs');
40
+ var _chunkDNB5DELQcjs = require('./chunk-DNB5DELQ.cjs');
41
41
 
42
42
 
43
- var _chunkNNNRN4OFcjs = require('./chunk-NNNRN4OF.cjs');
43
+ var _chunkLCSYTFFOcjs = require('./chunk-LCSYTFFO.cjs');
44
44
 
45
45
 
46
- var _chunkMGEUZRNQcjs = require('./chunk-MGEUZRNQ.cjs');
46
+ var _chunkNWNC22IZcjs = require('./chunk-NWNC22IZ.cjs');
47
47
 
48
48
  // src/components/related-content/related-content-section.tsx
49
49
  var _react = require('react');
@@ -443,13 +443,13 @@ function programEntry(configKey) {
443
443
  return cardEntry({
444
444
  // The gallery and hosts rows are drawn only for a type whose cards show them (its config's `cardShowsGallery`,
445
445
  // `cardShowsHosts`), as `ProgramCard` decides in a scope: elsewhere a record may have none.
446
- skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
446
+ skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
447
447
  decode: decodeProgramRow,
448
448
  render: (item, ctx) => {
449
449
  const config = _optionalChain([ctx, 'access', _4 => _4.extras, 'optionalAccess', _5 => _5.programConfigs, 'optionalAccess', _6 => _6[configKey]]);
450
450
  if (!config) return null;
451
451
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
452
- _chunk5XAWVXNIcjs.ProgramCard,
452
+ _chunkEOZ23WOYcjs.ProgramCard,
453
453
  {
454
454
  config,
455
455
  item,
@@ -467,10 +467,10 @@ function programEntry(configKey) {
467
467
  }
468
468
  function roadmapEntry(cardType) {
469
469
  return cardEntry({
470
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
470
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
471
471
  decode: decodeRoadmapRow,
472
472
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
473
- _chunk5XAWVXNIcjs.RoadmapCard,
473
+ _chunkEOZ23WOYcjs.RoadmapCard,
474
474
  {
475
475
  item,
476
476
  href: ctx.href,
@@ -487,10 +487,10 @@ function roadmapEntry(cardType) {
487
487
  }
488
488
  var RELATED_CARD_REGISTRY = {
489
489
  blog_post_existing: cardEntry({
490
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
490
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
491
491
  decode: decodeBlogRow,
492
492
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
493
- _chunk5XAWVXNIcjs.BlogCard,
493
+ _chunkEOZ23WOYcjs.BlogCard,
494
494
  {
495
495
  post,
496
496
  size: ctx.legacySize,
@@ -503,10 +503,10 @@ var RELATED_CARD_REGISTRY = {
503
503
  )
504
504
  }),
505
505
  case_study: cardEntry({
506
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkODDUGLYFcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
506
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3SENOTWTcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
507
507
  decode: decodeCaseStudyRow,
508
508
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
509
- _chunkODDUGLYFcjs.CaseStudyCard,
509
+ _chunk3SENOTWTcjs.CaseStudyCard,
510
510
  {
511
511
  study,
512
512
  size: ctx.legacySize,
@@ -518,10 +518,10 @@ var RELATED_CARD_REGISTRY = {
518
518
  )
519
519
  }),
520
520
  customer_interview: cardEntry({
521
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
521
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
522
522
  decode: decodeCustomerInterviewRow,
523
523
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
524
- _chunk5XAWVXNIcjs.CustomerInterviewCard,
524
+ _chunkEOZ23WOYcjs.CustomerInterviewCard,
525
525
  {
526
526
  interview,
527
527
  size: ctx.legacySize,
@@ -539,13 +539,13 @@ var RELATED_CARD_REGISTRY = {
539
539
  * record, and the three props the rail sets itself are read off it.
540
540
  */
541
541
  product_release: cardEntry({
542
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
542
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
543
543
  decode: asRecord,
544
544
  render: (release, ctx) => {
545
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunk5XAWVXNIcjs.buildProductReleaseCardProps));
545
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunkEOZ23WOYcjs.buildProductReleaseCardProps));
546
546
  const releaseProps = buildReleaseProps(release);
547
547
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
548
- _chunk5XAWVXNIcjs.ProductReleaseCard,
548
+ _chunkEOZ23WOYcjs.ProductReleaseCard,
549
549
  {
550
550
  size: ctx.size === "sm" ? "sm" : "lg",
551
551
  title: str(release, "title"),
@@ -561,10 +561,10 @@ var RELATED_CARD_REGISTRY = {
561
561
  webinar: programEntry("webinar"),
562
562
  event: programEntry("event"),
563
563
  investor_update: cardEntry({
564
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
564
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
565
565
  decode: decodeInvestorUpdateRow,
566
566
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
567
- _chunk5XAWVXNIcjs.InvestorUpdateCard,
567
+ _chunkEOZ23WOYcjs.InvestorUpdateCard,
568
568
  {
569
569
  update,
570
570
  size: ctx.legacySize,
@@ -579,10 +579,10 @@ var RELATED_CARD_REGISTRY = {
579
579
  * step-numbered 'default' variant is for the guide detail page's "More in
580
580
  * section" rail, not this full-width row. */
581
581
  onboarding_guide: cardEntry({
582
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XAWVXNIcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
582
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEOZ23WOYcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
583
583
  decode: decodeOnboardingGuideRow,
584
584
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
585
- _chunk5XAWVXNIcjs.OnboardingGuideCard,
585
+ _chunkEOZ23WOYcjs.OnboardingGuideCard,
586
586
  {
587
587
  guide,
588
588
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -599,10 +599,10 @@ var RELATED_CARD_REGISTRY = {
599
599
  * href: an object with `href: undefined` is still truthy and would wrap the
600
600
  * card in a dead <a>. */
601
601
  what_i_shipped: cardEntry({
602
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4DKPNN2Acjs.WhatIShippedCard, { loading: true }),
602
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG7COLTR6cjs.WhatIShippedCard, { loading: true }),
603
603
  decode: decodeEmployeeEntryRow,
604
604
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
605
- _chunk4DKPNN2Acjs.WhatIShippedCard,
605
+ _chunkG7COLTR6cjs.WhatIShippedCard,
606
606
  {
607
607
  entry,
608
608
  placeholderUrl: ctx.placeholderUrl,
@@ -612,10 +612,10 @@ var RELATED_CARD_REGISTRY = {
612
612
  }),
613
613
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
614
614
  how_i_work: cardEntry({
615
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4DKPNN2Acjs.HowIWorkCard, { loading: true }),
615
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG7COLTR6cjs.HowIWorkCard, { loading: true }),
616
616
  decode: decodeEmployeeEntryRow,
617
617
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
618
- _chunk4DKPNN2Acjs.HowIWorkCard,
618
+ _chunkG7COLTR6cjs.HowIWorkCard,
619
619
  {
620
620
  entry,
621
621
  placeholderUrl: ctx.placeholderUrl,
@@ -625,10 +625,10 @@ var RELATED_CARD_REGISTRY = {
625
625
  }),
626
626
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
627
627
  ai_prompt: cardEntry({
628
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4DKPNN2Acjs.AiPromptCard, { loading: true }),
628
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG7COLTR6cjs.AiPromptCard, { loading: true }),
629
629
  decode: decodeEmployeeEntryRow,
630
630
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
631
- _chunk4DKPNN2Acjs.AiPromptCard,
631
+ _chunkG7COLTR6cjs.AiPromptCard,
632
632
  {
633
633
  entry,
634
634
  placeholderUrl: ctx.placeholderUrl,
@@ -649,7 +649,7 @@ function DefaultLinkPropsProvider({
649
649
  children
650
650
  }) {
651
651
  if (!href) return children(null);
652
- const newTab = _chunkODDUGLYFcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
652
+ const newTab = _chunk3SENOTWTcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
653
653
  return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
654
654
  }
655
655
  function defaultResolveHref(ref) {
@@ -711,9 +711,9 @@ function useGroupItems(type, refs, buildUrl, seedRows) {
711
711
  () => seedRows && url !== null ? /* @__PURE__ */ new Map([[url, [...seedRows]]]) : /* @__PURE__ */ new Map()
712
712
  );
713
713
  const cached = url !== null ? pages.get(url) : void 0;
714
- const { data, dataUrl, error } = _chunk4DKPNN2Acjs.useSelfFetch.call(void 0, cached ? null : url);
714
+ const { data, dataUrl, error } = _chunkG7COLTR6cjs.useSelfFetch.call(void 0, cached ? null : url);
715
715
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
716
- setPages(new Map(pages).set(dataUrl, _chunk5XAWVXNIcjs.extractItems.call(void 0, data)));
716
+ setPages(new Map(pages).set(dataUrl, _chunkEOZ23WOYcjs.extractItems.call(void 0, data)));
717
717
  }
718
718
  if (url === null) return { items: null, isLoading: false };
719
719
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -722,7 +722,7 @@ function gridClassFor(columns) {
722
722
  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";
723
723
  }
724
724
  function resolveGroupConfig(type) {
725
- return _nullishCoalesce(_chunk4DKPNN2Acjs.CONTENT_REF_GROUPS[type], () => ( {
725
+ return _nullishCoalesce(_chunkG7COLTR6cjs.CONTENT_REF_GROUPS[type], () => ( {
726
726
  label: type,
727
727
  order: 999,
728
728
  layout: "grid",
@@ -735,15 +735,15 @@ var GROUP_HEADING_CLASS = "font-semibold text-ods-text-secondary text-h5";
735
735
  var RAIL_CLASS = "flex flex-col gap-8";
736
736
  var UNKNOWN_TYPE_CARD = "blog_post_existing";
737
737
  function GroupHeading({ type }) {
738
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunk4DKPNN2Acjs.getContentRefLabelOrTitleCase.call(void 0, type) });
738
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkG7COLTR6cjs.getContentRefLabelOrTitleCase.call(void 0, type) });
739
739
  }
740
740
  function orderRailTypes(types, entityType) {
741
- let ordered = _chunk4DKPNN2Acjs.orderContentRefTypes.call(void 0, types);
741
+ let ordered = _chunkG7COLTR6cjs.orderContentRefTypes.call(void 0, types);
742
742
  if (entityType) {
743
- const canonicalEntityType = _chunk5XAWVXNIcjs.canonicalContentRefType.call(void 0, entityType);
744
- const sameType = ordered.filter((t) => _chunk5XAWVXNIcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
743
+ const canonicalEntityType = _chunkEOZ23WOYcjs.canonicalContentRefType.call(void 0, entityType);
744
+ const sameType = ordered.filter((t) => _chunkEOZ23WOYcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
745
745
  if (sameType.length > 0) {
746
- ordered = [...sameType, ...ordered.filter((t) => _chunk5XAWVXNIcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
746
+ ordered = [...sameType, ...ordered.filter((t) => _chunkEOZ23WOYcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
747
747
  }
748
748
  }
749
749
  return ordered;
@@ -772,10 +772,10 @@ function ContentGroup({
772
772
  setPagedRefsKey(refsKey);
773
773
  setPage(1);
774
774
  }
775
- const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunk4DKPNN2Acjs.GROUP_PAGE_SIZE);
776
- const pageRefs = refs.slice((page - 1) * _chunk4DKPNN2Acjs.GROUP_PAGE_SIZE, page * _chunk4DKPNN2Acjs.GROUP_PAGE_SIZE);
775
+ const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkG7COLTR6cjs.GROUP_PAGE_SIZE);
776
+ const pageRefs = refs.slice((page - 1) * _chunkG7COLTR6cjs.GROUP_PAGE_SIZE, page * _chunkG7COLTR6cjs.GROUP_PAGE_SIZE);
777
777
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl, seedRows);
778
- const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRT6QATX4cjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
778
+ const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLHHXAT7cjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
779
779
  _react.useEffect.call(void 0, () => {
780
780
  onLoadingChange(type, isLoading);
781
781
  return () => onLoadingChange(type, false);
@@ -784,7 +784,7 @@ function ContentGroup({
784
784
  const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(type, cardSize, adminCampaignCard, extras) }, r.id));
785
785
  return (
786
786
  // The rail announces for every group (`announce={false}`): one rail, one "loading".
787
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkA3UZFFR3cjs.LoadingRegion, { announce: false, className: GROUP_CLASS, "data-loading-item": true, children: [
787
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDNB5DELQcjs.LoadingRegion, { announce: false, className: GROUP_CLASS, "data-loading-item": true, children: [
788
788
  heading,
789
789
  isListLayout ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GROUP_LIST_CLASS, children: skeletons }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: skeletons }),
790
790
  groupPagination
@@ -793,7 +793,7 @@ function ContentGroup({
793
793
  }
794
794
  if (!items) return null;
795
795
  const rowKey = (it) => {
796
- const extracted = _chunk5XAWVXNIcjs.extractItemId.call(void 0, type, it);
796
+ const extracted = _chunkEOZ23WOYcjs.extractItemId.call(void 0, type, it);
797
797
  if (extracted !== null) return extracted;
798
798
  return String(typeof it === "object" && it !== null ? it.id : void 0);
799
799
  };
@@ -864,11 +864,11 @@ function RelatedContentSection({
864
864
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
865
865
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
866
866
  };
867
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunk4DKPNN2Acjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
867
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkG7COLTR6cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
868
868
  apiBaseUrl,
869
869
  extraParams: { authorId, ...typeFilterParams }
870
870
  }) : null;
871
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunk4DKPNN2Acjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
871
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkG7COLTR6cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
872
872
  apiBaseUrl,
873
873
  entityType,
874
874
  entityId,
@@ -885,8 +885,8 @@ function RelatedContentSection({
885
885
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
886
886
  [initialItems, suggestionsDisabled]
887
887
  );
888
- const { data, isLoading } = _chunk4DKPNN2Acjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
889
- const inScope = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, );
888
+ const { data, isLoading } = _chunkG7COLTR6cjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
889
+ const inScope = _chunkNWNC22IZcjs.useLoadingScope.call(void 0, );
890
890
  const [loadingTypes, setLoadingTypes] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
891
891
  const onGroupLoadingChange = _react.useCallback.call(void 0, (type, loading) => {
892
892
  setLoadingTypes((prev) => {
@@ -898,7 +898,7 @@ function RelatedContentSection({
898
898
  });
899
899
  }, []);
900
900
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
901
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk5XAWVXNIcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
901
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkEOZ23WOYcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
902
902
  [buildListUrl2, apiBaseUrl]
903
903
  );
904
904
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _12 => _12.refs]))), () => ( []));
@@ -922,7 +922,7 @@ function RelatedContentSection({
922
922
  }
923
923
  if (!showWhenEmpty) return null;
924
924
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
925
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk5XAWVXNIcjs.accentSentenceMarks.call(void 0, title) }),
925
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkEOZ23WOYcjs.accentSentenceMarks.call(void 0, title) }),
926
926
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
927
927
  ] });
928
928
  }
@@ -947,8 +947,8 @@ function RelatedContentSection({
947
947
  }
948
948
  );
949
949
  }
950
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkA3UZFFR3cjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
951
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunk5XAWVXNIcjs.accentSentenceMarks.call(void 0, title) }),
950
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDNB5DELQcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
951
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkEOZ23WOYcjs.accentSentenceMarks.call(void 0, title) }),
952
952
  orderedTypes.map((type, groupIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
953
953
  ContentGroup,
954
954
  {
@@ -979,24 +979,24 @@ function RelatedContentSectionSkeleton({
979
979
  adminCampaignCard,
980
980
  extras
981
981
  }) {
982
- const canonicalEntityType = entityType ? _chunk5XAWVXNIcjs.canonicalContentRefType.call(void 0, entityType) : null;
982
+ const canonicalEntityType = entityType ? _chunkEOZ23WOYcjs.canonicalContentRefType.call(void 0, entityType) : null;
983
983
  const unknownGroup = types.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: GROUP_CLASS, "aria-hidden": true, "data-loading-item": true, children: [
984
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
985
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunk4DKPNN2Acjs.GROUP_PAGE_SIZE }, (_, i) => (
984
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
985
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkG7COLTR6cjs.GROUP_PAGE_SIZE }, (_, i) => (
986
986
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
987
987
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(UNKNOWN_TYPE_CARD, "default", adminCampaignCard, extras) }, i)
988
988
  )) })
989
989
  ] }) : null;
990
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkA3UZFFR3cjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
991
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunk5XAWVXNIcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
990
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDNB5DELQcjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
991
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkEOZ23WOYcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
992
992
  unknownGroup,
993
993
  orderRailTypes(new Set(types), entityType).map((type) => {
994
994
  const config = resolveGroupConfig(type);
995
- const sameType = canonicalEntityType !== null && _chunk5XAWVXNIcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
995
+ const sameType = canonicalEntityType !== null && _chunkEOZ23WOYcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
996
996
  const isList = config.layout === "list";
997
997
  const count = Math.min(
998
- _chunk4DKPNN2Acjs.GROUP_PAGE_SIZE,
999
- _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunk4DKPNN2Acjs.GROUP_PAGE_SIZE))
998
+ _chunkG7COLTR6cjs.GROUP_PAGE_SIZE,
999
+ _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkG7COLTR6cjs.GROUP_PAGE_SIZE))
1000
1000
  );
1001
1001
  const cards = Array.from({ length: count }, (_, i) => (
1002
1002
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder