@flamingo-stack/openframe-frontend-core 0.0.761 → 0.0.762

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 (86) hide show
  1. package/dist/{chunk-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
  2. package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
  3. package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
  4. package/dist/{chunk-G6IK3HC5.cjs → chunk-3WPWUUFU.cjs} +32 -32
  5. package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
  6. package/dist/{chunk-HQYWVNQL.cjs → chunk-4NGXJA3V.cjs} +4 -4
  7. package/dist/{chunk-GLQBCQOF.cjs → chunk-4VAMNI27.cjs} +59 -59
  8. package/dist/{chunk-4EM7HIIM.cjs → chunk-72XMAKDA.cjs} +566 -566
  9. package/dist/{chunk-B7AOUPBV.cjs → chunk-AXGTRPF6.cjs} +20 -20
  10. package/dist/{chunk-6T6O36LT.cjs → chunk-CEJDHCFZ.cjs} +89 -89
  11. package/dist/{chunk-NOFJH7MA.cjs → chunk-CZ3OVWUL.cjs} +14 -14
  12. package/dist/{chunk-GKRHGVB4.cjs → chunk-DYJWZIPU.cjs} +100 -100
  13. package/dist/{chunk-6M54EVOA.cjs → chunk-DZ6BYXQF.cjs} +28 -28
  14. package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
  15. package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
  16. package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
  17. package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
  18. package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
  19. package/dist/{chunk-VAZTFCVY.cjs → chunk-J4P47JHM.cjs} +20 -20
  20. package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
  21. package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
  22. package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
  23. package/dist/{chunk-TIV74DVS.cjs → chunk-N52HFJTK.cjs} +43 -43
  24. package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
  25. package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
  26. package/dist/{chunk-OBXZDUC3.cjs → chunk-NSR7K57R.cjs} +83 -83
  27. package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
  28. package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
  29. package/dist/{chunk-EMSOBT6R.cjs → chunk-PFXR3RF3.cjs} +6 -6
  30. package/dist/{chunk-D252ICCO.cjs → chunk-QCO32MEE.cjs} +17 -17
  31. package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
  32. package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
  33. package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
  34. package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
  35. package/dist/{chunk-H45OTVYI.cjs → chunk-TGVV7STM.cjs} +22 -22
  36. package/dist/{chunk-SUHPBFNU.cjs → chunk-TQPQKBBL.cjs} +242 -240
  37. package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
  38. package/dist/{chunk-LOM3S64Z.cjs → chunk-TWAHPTWW.cjs} +8 -8
  39. package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
  40. package/dist/{cloud-tenants-BDGV4N2T.cjs → cloud-tenants-M5SIL6QZ.cjs} +22 -22
  41. package/dist/components/case-studies/index.cjs +36 -36
  42. package/dist/components/chat/index.cjs +15 -15
  43. package/dist/components/contact/index.cjs +23 -23
  44. package/dist/components/docs/index.cjs +26 -26
  45. package/dist/components/embeds/index.cjs +23 -23
  46. package/dist/components/faq/index.cjs +24 -24
  47. package/dist/components/features/index.cjs +22 -22
  48. package/dist/components/help-center-pages/index.cjs +125 -125
  49. package/dist/components/index.cjs +83 -83
  50. package/dist/components/meeting-scheduler/index.cjs +77 -77
  51. package/dist/components/navigation/index.cjs +25 -25
  52. package/dist/components/onboarding-guides/index.cjs +25 -25
  53. package/dist/components/product-demo/index.cjs +9 -9
  54. package/dist/components/related-content/index.cjs +10 -10
  55. package/dist/components/tickets/index.cjs +28 -28
  56. package/dist/components/ui/index.cjs +22 -22
  57. package/dist/{devices-Q5YHMXGV.cjs → devices-TZY7RF7M.cjs} +23 -23
  58. package/dist/{embeddable-chat-ST5IR6VN.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
  59. package/dist/hooks/index.cjs +8 -8
  60. package/dist/index.cjs +28 -28
  61. package/dist/{knowledge-UJTJT36J.cjs → knowledge-UKC2BLQP.cjs} +23 -23
  62. package/dist/{logs-WMNITBLM.cjs → logs-MFVTQ5NN.cjs} +30 -30
  63. package/dist/platform-domains.cjs +2 -0
  64. package/dist/platform-domains.d.ts.map +1 -1
  65. package/dist/platform-domains.js +2 -0
  66. package/dist/{policies-TRXVBOH7.cjs → policies-BETELENB.cjs} +26 -26
  67. package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
  68. package/dist/{scripts-HECY7XDL.cjs → scripts-XDT3ZAXU.cjs} +29 -29
  69. package/dist/{software-update-NNFLEMYD.cjs → software-update-EW5X7R2X.cjs} +26 -26
  70. package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
  71. package/dist/types/platform.d.ts +1 -1
  72. package/dist/types/platform.d.ts.map +1 -1
  73. package/dist/utils/index.cjs +13 -0
  74. package/dist/utils/platform-config.d.ts.map +1 -1
  75. package/dist/utils/platform-config.js +1 -0
  76. package/dist/utils/platform-identity.cjs +10 -0
  77. package/dist/utils/platform-identity.d.ts +3 -2
  78. package/dist/utils/platform-identity.d.ts.map +1 -1
  79. package/dist/utils/platform-identity.js +10 -0
  80. package/package.json +1 -1
  81. package/src/platform-domains.ts +2 -0
  82. package/src/styles/README.md +1 -0
  83. package/src/styles/ods-colors.css +16 -0
  84. package/src/types/platform.ts +1 -0
  85. package/src/utils/platform-config.tsx +1 -0
  86. package/src/utils/platform-identity.ts +19 -2
@@ -2,31 +2,31 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4EM7HIIMcjs = require('./chunk-4EM7HIIM.cjs');
5
+ var _chunk72XMAKDAcjs = require('./chunk-72XMAKDA.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
12
+ var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
17
+ var _chunkXCH7SPGIcjs = require('./chunk-XCH7SPGI.cjs');
18
18
 
19
19
 
20
- var _chunk6T6O36LTcjs = require('./chunk-6T6O36LT.cjs');
20
+ var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkSUHPBFNUcjs = require('./chunk-SUHPBFNU.cjs');
25
+ var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
29
+ var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
30
30
 
31
31
 
32
32
 
@@ -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 = _chunkSUHPBFNUcjs.useChatAttachments.call(void 0, );
123
- const builtInSubmission = _chunkVUWPLQBYcjs.useContactSubmission.call(void 0, {
122
+ const attachments = _chunkTQPQKBBLcjs.useChatAttachments.call(void 0, );
123
+ const builtInSubmission = _chunkXCH7SPGIcjs.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 } = _chunkVUWPLQBYcjs.useHumanitySignals.call(void 0, );
129
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkXCH7SPGIcjs.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 = _chunkVUWPLQBYcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
155
+ const rescue = _chunkXCH7SPGIcjs.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: `${_chunk7Z4EQOIXcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk22XAPV6Ncjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk22XAPV6Ncjs.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,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunk6T6O36LTcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkCEJDHCFZcjs.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, _chunk4EM7HIIMcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.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: [
@@ -261,17 +261,17 @@ function ContactForm({
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAXBVN5SWcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2IFCRPNPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunkAXBVN5SWcjs.SelectTrigger,
266
+ _chunk2IFCRPNPcjs.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, _chunkAXBVN5SWcjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
@@ -284,17 +284,17 @@ function ContactForm({
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAXBVN5SWcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2IFCRPNPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunkAXBVN5SWcjs.SelectTrigger,
289
+ _chunk2IFCRPNPcjs.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, _chunkAXBVN5SWcjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -311,18 +311,18 @@ function ContactForm({
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAXBVN5SWcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2IFCRPNPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunkAXBVN5SWcjs.SelectTrigger,
316
+ _chunk2IFCRPNPcjs.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, _chunkAXBVN5SWcjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunk4EM7HIIMcjs.Textarea,
337
+ _chunk72XMAKDAcjs.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
- _chunkSUHPBFNUcjs.ChatAttachmentChipStrip,
352
+ _chunkTQPQKBBLcjs.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
- _chunkSUHPBFNUcjs.ChatAttachmentAddButton,
361
+ _chunkTQPQKBBLcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
6
+ var _chunkFQSXZC2Kcjs = require('./chunk-FQSXZC2K.cjs');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkF64VMOIBcjs = require('./chunk-F64VMOIB.cjs');
15
+ var _chunkPE26VSWTcjs = require('./chunk-PE26VSWT.cjs');
16
16
 
17
17
 
18
18
 
@@ -69,14 +69,14 @@ var _chunkZ7OPT4PNcjs = require('./chunk-Z7OPT4PN.cjs');
69
69
  var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
70
70
 
71
71
 
72
- var _chunkQYLIHZKZcjs = require('./chunk-QYLIHZKZ.cjs');
72
+ var _chunkOJJ4RL2Tcjs = require('./chunk-OJJ4RL2T.cjs');
73
73
 
74
74
 
75
75
 
76
- var _chunkJHQNUWFMcjs = require('./chunk-JHQNUWFM.cjs');
76
+ var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
77
77
 
78
78
 
79
- var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
79
+ var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
80
80
 
81
81
 
82
82
  var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
@@ -177,7 +177,7 @@ function BoardColumnHeader({
177
177
  }) {
178
178
  const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
179
179
  const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
180
- const useStatusVariant = _chunkF64VMOIBcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
180
+ const useStatusVariant = _chunkPE26VSWTcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
181
181
  const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
182
182
  if (collapsed) {
183
183
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
@@ -193,7 +193,7 @@ function BoardColumnHeader({
193
193
  }
194
194
  ),
195
195
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
196
- _chunkF64VMOIBcjs.TicketStatusTag,
196
+ _chunkPE26VSWTcjs.TicketStatusTag,
197
197
  {
198
198
  status: tagStatus,
199
199
  label: column.label,
@@ -206,7 +206,7 @@ function BoardColumnHeader({
206
206
  }
207
207
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
208
208
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
209
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64VMOIBcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
209
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPE26VSWTcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
210
210
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
211
211
  ] }),
212
212
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
@@ -264,7 +264,7 @@ function tintOnDark(hex) {
264
264
 
265
265
  function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
266
266
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
267
- const { innerRef, containerStyle } = _chunkF64VMOIBcjs.useCollapsible.call(void 0, { expanded });
267
+ const { innerRef, containerStyle } = _chunkPE26VSWTcjs.useCollapsible.call(void 0, { expanded });
268
268
  const isAdmin = pendingApproval.approvalType === "ADMIN";
269
269
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
270
270
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -293,7 +293,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
293
293
  }
294
294
  ),
295
295
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
296
- _chunkF64VMOIBcjs.ApprovalBatchMessage,
296
+ _chunkPE26VSWTcjs.ApprovalBatchMessage,
297
297
  {
298
298
  className: "mb-0",
299
299
  data: {
@@ -467,7 +467,7 @@ function TicketCardBody({
467
467
  onLinkClick
468
468
  }) {
469
469
  const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
470
- const newMessageTextColor = columnColor ? _chunkQYLIHZKZcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
470
+ const newMessageTextColor = columnColor ? _chunkOJJ4RL2Tcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
471
471
  const showDeviceRow = !!(_optionalChain([ticket, 'access', _12 => _12.deviceHostnames, 'optionalAccess', _13 => _13.length]) || ticket.organizationName);
472
472
  const deviceText = [_optionalChain([ticket, 'access', _14 => _14.deviceHostnames, 'optionalAccess', _15 => _15.join, 'call', _16 => _16(", ")]), ticket.organizationName].filter(Boolean).join(", ");
473
473
  const hasRightSection = !!(ticket.priority || ticket.agent || _optionalChain([ticket, 'access', _17 => _17.assignees, 'optionalAccess', _18 => _18.length]) || renderAssignSlot);
@@ -485,7 +485,7 @@ function TicketCardBody({
485
485
  role: "img",
486
486
  "aria-label": `Owned by ${ticket.agent === "fae" ? "Fae" : "Mingo"}`,
487
487
  className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-ods-border bg-ods-bg",
488
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64VMOIBcjs.AgentMark, { agent: ticket.agent, className: ticket.agent === "fae" ? "size-full" : "size-5" })
488
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPE26VSWTcjs.AgentMark, { agent: ticket.agent, className: ticket.agent === "fae" ? "size-full" : "size-5" })
489
489
  }
490
490
  ),
491
491
  renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _19 => _19.assignees, 'optionalAccess', _20 => _20.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
@@ -498,7 +498,7 @@ function TicketCardBody({
498
498
  },
499
499
  a.id
500
500
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
501
- _chunkJHQNUWFMcjs.SquareAvatar,
501
+ _chunkEQZXJUYVcjs.SquareAvatar,
502
502
  {
503
503
  src: a.avatarUrl,
504
504
  alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
@@ -515,8 +515,8 @@ function TicketCardBody({
515
515
  ] })
516
516
  ] }) : null
517
517
  ] }) : null;
518
- const timestampLabel = ticket.createdAt ? _chunkF64VMOIBcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
519
- const tooltipLabel = ticket.createdAt ? _chunkF64VMOIBcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
518
+ const timestampLabel = ticket.createdAt ? _chunkPE26VSWTcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
519
+ const tooltipLabel = ticket.createdAt ? _chunkPE26VSWTcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
520
520
  const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
521
521
  const metaClass = "truncate text-ods-text-secondary text-h6";
522
522
  const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -565,7 +565,7 @@ function TicketCardBody({
565
565
  }
566
566
  ),
567
567
  showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
568
- _chunkJHQNUWFMcjs.Tag,
568
+ _chunkEQZXJUYVcjs.Tag,
569
569
  {
570
570
  label: "New Message",
571
571
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJSIUVERGcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
@@ -785,8 +785,8 @@ function TicketTagRow({ tags }) {
785
785
  const visible = tags.slice(0, MAX_VISIBLE_TAGS);
786
786
  const hidden = tags.length - visible.length;
787
787
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
788
- visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.Tag, { variant: "outline", label: tag }, tag)),
789
- hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.Tag, { variant: "outline", label: `+${hidden}` })
788
+ visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.Tag, { variant: "outline", label: tag }, tag)),
789
+ hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.Tag, { variant: "outline", label: `+${hidden}` })
790
790
  ] });
791
791
  }
792
792
 
@@ -1077,7 +1077,7 @@ function EmptyState({ columnId, touchMode }) {
1077
1077
  // src/components/features/board/use-board-collapse.ts
1078
1078
 
1079
1079
  function useBoardCollapse(storageKey, initial) {
1080
- const [persisted, setPersisted] = _chunkLU7TD6QScjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
1080
+ const [persisted, setPersisted] = _chunkFQSXZC2Kcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
1081
1081
  const [memory, setMemory] = _react.useState.call(void 0, _nullishCoalesce(initial, () => ( {})));
1082
1082
  const collapsed = storageKey ? persisted : memory;
1083
1083
  const setMap = storageKey ? setPersisted : setMemory;
@@ -1219,7 +1219,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
1219
1219
  var DRAG_PREVIEW_Z = 1200;
1220
1220
  var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
1221
1221
  function Board(props) {
1222
- const dragAndDropEnabled = _chunkKTPR66EEcjs.useMediaQuery.call(void 0, _chunkLU7TD6QScjs.DRAG_AND_DROP_MEDIA_QUERY);
1222
+ const dragAndDropEnabled = _chunkR3TWQ3ZJcjs.useMediaQuery.call(void 0, _chunkFQSXZC2Kcjs.DRAG_AND_DROP_MEDIA_QUERY);
1223
1223
  if (dragAndDropEnabled === void 0) {
1224
1224
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
1225
1225
  }
@@ -1253,7 +1253,7 @@ function DragBoard({
1253
1253
  onThumbPointerMove,
1254
1254
  onThumbPointerUp,
1255
1255
  onThumbPointerCancel
1256
- } = _chunkLU7TD6QScjs.useHorizontalScrollbar.call(void 0, );
1256
+ } = _chunkFQSXZC2Kcjs.useHorizontalScrollbar.call(void 0, );
1257
1257
  const columnsRef = _react.useRef.call(void 0, columns);
1258
1258
  const onChangeRef = _react.useRef.call(void 0, onChange);
1259
1259
  const boardRef = _react.useRef.call(void 0, null);
@@ -5,7 +5,7 @@ var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
8
+ var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
9
9
 
10
10
 
11
11
  var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
@@ -248,7 +248,7 @@ var disabledTagClasses = [
248
248
  ];
249
249
  function TagLabel({ label, labelClassName }) {
250
250
  const isString = typeof label === "string";
251
- const { ref, isTruncated } = _chunkKTPR66EEcjs.useIsTruncated.call(void 0, isString ? label : null);
251
+ const { ref, isTruncated } = _chunkR3TWQ3ZJcjs.useIsTruncated.call(void 0, isString ? label : null);
252
252
  if (!isString) {
253
253
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate", labelClassName), children: label });
254
254
  }
@@ -839,7 +839,7 @@ var SquareAvatar = _react3.memo.call(void 0,
839
839
  style,
840
840
  ...props
841
841
  }, ref) => {
842
- const resolvedSrc = _chunkKTPR66EEcjs.useAuthedImageSrc.call(void 0, src);
842
+ const resolvedSrc = _chunkR3TWQ3ZJcjs.useAuthedImageSrc.call(void 0, src);
843
843
  const sizeClasses = {
844
844
  // xs (24px): dense card meta rows — avatar stacks on delivery/
845
845
  // roadmap cards. Part of the shared scale so no caller ever
@@ -2,15 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
5
+ var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
6
6
 
7
7
 
8
8
  var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
9
9
 
10
10
  // src/hooks/ui/use-drag-and-drop-enabled.ts
11
- var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkKTPR66EEcjs.breakpoints.md}`;
11
+ var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkR3TWQ3ZJcjs.breakpoints.md}`;
12
12
  function useDragAndDropEnabled() {
13
- return _nullishCoalesce(_chunkKTPR66EEcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
13
+ return _nullishCoalesce(_chunkR3TWQ3ZJcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
14
14
  }
15
15
 
16
16
  // src/hooks/ui/use-horizontal-scrollbar.ts
@@ -7,7 +7,7 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
7
7
  var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
8
8
 
9
9
 
10
- var _chunkR34JD6NPcjs = require('./chunk-R34JD6NP.cjs');
10
+ var _chunkMWLD6NXVcjs = require('./chunk-MWLD6NXV.cjs');
11
11
 
12
12
 
13
13
 
@@ -401,7 +401,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
401
401
  ref: panelRef,
402
402
  className: _chunk3ATAYP36cjs.cn.call(void 0, drawerPanelVariants({ side, flush, size }), className, panelClassName),
403
403
  style: { ...sizeStyle, ...panelStyle },
404
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR34JD6NPcjs.ViewportBreakpoints, { children }) }) })
404
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLD6NXVcjs.ViewportBreakpoints, { children }) }) })
405
405
  }
406
406
  ),
407
407
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, className: "contents" })
@@ -10,18 +10,18 @@ var _chunkUYHKZN5Dcjs = require('./chunk-UYHKZN5D.cjs');
10
10
  var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
11
11
 
12
12
 
13
- var _chunkL2IQESTQcjs = require('./chunk-L2IQESTQ.cjs');
13
+ var _chunkM7YZGRAVcjs = require('./chunk-M7YZGRAV.cjs');
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunkJHQNUWFMcjs = require('./chunk-JHQNUWFM.cjs');
18
+ var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
19
19
 
20
20
 
21
- var _chunkR34JD6NPcjs = require('./chunk-R34JD6NP.cjs');
21
+ var _chunkMWLD6NXVcjs = require('./chunk-MWLD6NXV.cjs');
22
22
 
23
23
 
24
- var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
24
+ var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
25
25
 
26
26
 
27
27
  var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
@@ -222,7 +222,7 @@ var Modal = _react.forwardRef.call(void 0,
222
222
  ),
223
223
  role: "dialog",
224
224
  "aria-modal": "true",
225
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR34JD6NPcjs.ViewportBreakpoints, { children }) }) }) })
225
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLD6NXVcjs.ViewportBreakpoints, { children }) }) }) })
226
226
  }
227
227
  ),
228
228
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, className: "contents" })
@@ -452,7 +452,7 @@ function SlashCommandSuggestions({
452
452
  className
453
453
  ),
454
454
  children: commands.map((cmd, idx) => {
455
- const Icon = _chunkKTPR66EEcjs.resolveIcon.call(void 0, cmd.iconName);
455
+ const Icon = _chunkR3TWQ3ZJcjs.resolveIcon.call(void 0, cmd.iconName);
456
456
  const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
457
457
  const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
458
458
  const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
@@ -548,7 +548,7 @@ function buildChipEl(token, label, icon) {
548
548
  span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
549
549
  span.innerHTML = _server.renderToStaticMarkup.call(void 0,
550
550
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
551
- _chunkJHQNUWFMcjs.Tag,
551
+ _chunkEQZXJUYVcjs.Tag,
552
552
  {
553
553
  as: "span",
554
554
  variant: "badge",
@@ -936,7 +936,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
936
936
  className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
937
937
  children: [
938
938
  awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
939
- _chunkL2IQESTQcjs.AvatarStack,
939
+ _chunkM7YZGRAVcjs.AvatarStack,
940
940
  {
941
941
  people: awaitingTeam,
942
942
  total: awaitingTeamCount,
@@ -1103,7 +1103,7 @@ ChatInput.displayName = "ChatInput";
1103
1103
 
1104
1104
  // src/utils/format-date.ts
1105
1105
  var INVALID_DATE_PLACEHOLDER = "\u2014";
1106
- var render = (input, fields) => _chunkJHQNUWFMcjs.formatDateWithTimezone.call(void 0, input, _chunkJHQNUWFMcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
1106
+ var render = (input, fields) => _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, input, _chunkEQZXJUYVcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
1107
1107
  var formatDate = (input) => render(input, { dateStyle: "short" });
1108
1108
  var formatTime = (input) => render(input, { timeStyle: "short" });
1109
1109
 
@@ -1,21 +1,21 @@
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 _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
4
+ var _chunkXCH7SPGIcjs = require('./chunk-XCH7SPGI.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk6T6O36LTcjs = require('./chunk-6T6O36LT.cjs');
8
+ var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkSUHPBFNUcjs = require('./chunk-SUHPBFNU.cjs');
13
+ var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
18
+ var _chunk3RYIF4OWcjs = require('./chunk-3RYIF4OW.cjs');
19
19
 
20
20
 
21
21
  var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
28
+ var _chunkNS64LMVEcjs = require('./chunk-NS64LMVE.cjs');
29
29
 
30
30
 
31
- var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
31
+ var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
32
32
 
33
33
 
34
34
  var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
@@ -63,7 +63,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
63
63
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
64
64
  "div",
65
65
  {
66
- id: _chunkSUHPBFNUcjs.faqItemAnchor.call(void 0, item.id),
66
+ id: _chunkTQPQKBBLcjs.faqItemAnchor.call(void 0, item.id),
67
67
  className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
68
68
  children: [
69
69
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -116,14 +116,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
116
116
 
117
117
  var PICK_ROOT_MARGIN = "600px";
118
118
  function faqAskCardShown(assistant) {
119
- return _chunk6T6O36LTcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
119
+ return _chunkCEJDHCFZcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
120
120
  }
121
121
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
122
- const { ref, inView } = _chunkCSJO7ZGNcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
122
+ const { ref, inView } = _chunk3RYIF4OWcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
123
123
  const [reached, setReached] = _react.useState.call(void 0, false);
124
124
  if (inView && !reached) setReached(true);
125
125
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
126
- _chunk6T6O36LTcjs.AssistantAskPrompts,
126
+ _chunkCEJDHCFZcjs.AssistantAskPrompts,
127
127
  {
128
128
  variant: "card",
129
129
  topic,
@@ -176,7 +176,7 @@ function pageFaqProps(faq) {
176
176
  }
177
177
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
178
178
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
179
- return _chunkB27XV2TCcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
179
+ return _chunkNS64LMVEcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
180
180
  apiBaseUrl,
181
181
  entityType,
182
182
  entityId,
@@ -197,7 +197,7 @@ function groupFaqsBySection(faqs) {
197
197
  }
198
198
  let group = byName.get(name);
199
199
  if (!group) {
200
- group = { section: name, slug: _chunkSUHPBFNUcjs.faqSectionSlug.call(void 0, name), items: [] };
200
+ group = { section: name, slug: _chunkTQPQKBBLcjs.faqSectionSlug.call(void 0, name), items: [] };
201
201
  byName.set(name, group);
202
202
  }
203
203
  group.items.push(item);
@@ -242,7 +242,7 @@ function GroupedFaqList({
242
242
  }
243
243
  if (bestId) setActiveSlug(bestId);
244
244
  },
245
- { rootMargin: `-${_chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
245
+ { rootMargin: `-${_chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
246
246
  );
247
247
  for (const group of navGroupsRef.current) {
248
248
  const el = group.slug ? document.getElementById(group.slug) : null;
@@ -252,7 +252,7 @@ function GroupedFaqList({
252
252
  }, [slugKey]);
253
253
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
254
254
  _react.useEffect.call(void 0, () => {
255
- const refresh = () => setHashTarget(_chunkSUHPBFNUcjs.parseFaqHash.call(void 0, window.location.hash));
255
+ const refresh = () => setHashTarget(_chunkTQPQKBBLcjs.parseFaqHash.call(void 0, window.location.hash));
256
256
  refresh();
257
257
  window.addEventListener("hashchange", refresh);
258
258
  return () => window.removeEventListener("hashchange", refresh);
@@ -269,7 +269,7 @@ function GroupedFaqList({
269
269
  }, [groups, hashTarget]);
270
270
  const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
271
271
  const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _10 => _10.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
272
- _chunkVUWPLQBYcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX });
272
+ _chunkXCH7SPGIcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX });
273
273
  const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
274
274
  if (pillSyncedHash !== hashTarget) {
275
275
  setPillSyncedHash(hashTarget);
@@ -277,8 +277,8 @@ function GroupedFaqList({
277
277
  }
278
278
  const handleJump = _react.useCallback.call(void 0, (e, slug) => {
279
279
  e.preventDefault();
280
- _chunkCSJO7ZGNcjs.navigateSamePageHash.call(void 0, "#" + slug, {
281
- headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX,
280
+ _chunk3RYIF4OWcjs.navigateSamePageHash.call(void 0, "#" + slug, {
281
+ headerOffset: _chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX,
282
282
  history: "replace"
283
283
  });
284
284
  }, []);
@@ -302,7 +302,7 @@ function GroupedFaqList({
302
302
  const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
303
303
  const key = groupKey(group);
304
304
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
305
- group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunk7Z4EQOIXcjs.SECTION_HEADING_CLASS, children: group.section }),
305
+ group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunk22XAPV6Ncjs.SECTION_HEADING_CLASS, children: group.section }),
306
306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
307
307
  FaqAccordion,
308
308
  {
@@ -363,11 +363,11 @@ function FaqSection({
363
363
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
364
364
  [initialFaqs]
365
365
  );
366
- const { data, dataUrl, isLoading, error } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, url, { initialData });
366
+ const { data, dataUrl, isLoading, error } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, url, { initialData });
367
367
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
368
368
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
369
369
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
370
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk7Z4EQOIXcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
370
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk22XAPV6Ncjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
371
371
  const headingNode = showTopic && topic ? (
372
372
  // The host's heading may arrive from a server component, still streaming: React cannot check such a
373
373
  // node when it sits in a list of siblings and warns about a missing key. So it is the ONLY child of its