@flamingo-stack/openframe-frontend-core 0.0.818 → 0.0.819

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 (50) hide show
  1. package/dist/{chunk-U2THWP25.cjs → chunk-2JFR6XVT.cjs} +32 -32
  2. package/dist/{chunk-DL4HWYIB.cjs → chunk-2S6BUXYD.cjs} +3 -3
  3. package/dist/{chunk-AE22KOW3.cjs → chunk-2T3HXLZD.cjs} +53 -53
  4. package/dist/{chunk-YHPUD4PM.cjs → chunk-2W3W3ZV6.cjs} +11 -11
  5. package/dist/{chunk-4XASD2TL.cjs → chunk-7IQU54VE.cjs} +16 -16
  6. package/dist/{chunk-VRXDTRIY.cjs → chunk-A36XVWIQ.cjs} +39 -39
  7. package/dist/{chunk-BD42NMCT.cjs → chunk-CEXPWDT4.cjs} +4 -4
  8. package/dist/{chunk-YMPPE322.cjs → chunk-I453QCEF.cjs} +107 -107
  9. package/dist/{chunk-NWIEZUM7.cjs → chunk-IVQT5R6M.cjs} +19 -19
  10. package/dist/{chunk-VGZXB3SY.cjs → chunk-JOXJDNHN.cjs} +3 -3
  11. package/dist/{chunk-DGAX5WG2.cjs → chunk-MYIOOA4E.cjs} +2 -2
  12. package/dist/{chunk-IQCHV7Z2.cjs → chunk-OTGYA5F7.cjs} +21 -3
  13. package/dist/{chunk-5VRSUEC5.cjs → chunk-Q6QQSCUC.cjs} +10 -10
  14. package/dist/{chunk-JTBJB4JF.cjs → chunk-S2ZA4TMJ.cjs} +9 -9
  15. package/dist/{chunk-NEXMK6OP.cjs → chunk-TDQRDQVU.cjs} +4 -4
  16. package/dist/{chunk-5AIOYEXW.cjs → chunk-U3OICGCV.cjs} +47 -47
  17. package/dist/{chunk-6QT5K5I5.cjs → chunk-VSKR26MV.cjs} +6 -6
  18. package/dist/{chunk-ZWAVMZIF.cjs → chunk-WPHCVXES.cjs} +7 -7
  19. package/dist/{cloud-tenants-V6EV4OGK.cjs → cloud-tenants-P5XJ5DPJ.cjs} +4 -4
  20. package/dist/components/case-studies/index.cjs +16 -16
  21. package/dist/components/chat/index.cjs +3 -3
  22. package/dist/components/chat/remark-strip-citations.d.ts +1 -1
  23. package/dist/components/chat/remark-strip-citations.d.ts.map +1 -1
  24. package/dist/components/chat/remark-strip-citations.js +8 -2
  25. package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
  26. package/dist/components/chat/utils/cited-sources.js +36 -0
  27. package/dist/components/contact/index.cjs +5 -5
  28. package/dist/components/docs/index.cjs +8 -8
  29. package/dist/components/embeds/index.cjs +5 -5
  30. package/dist/components/faq/index.cjs +6 -6
  31. package/dist/components/features/index.cjs +4 -4
  32. package/dist/components/help-center-pages/index.cjs +61 -61
  33. package/dist/components/index.cjs +37 -37
  34. package/dist/components/meeting-scheduler/index.cjs +29 -29
  35. package/dist/components/navigation/index.cjs +7 -7
  36. package/dist/components/onboarding-guides/index.cjs +6 -6
  37. package/dist/components/product-demo/index.cjs +13 -13
  38. package/dist/components/tickets/index.cjs +9 -9
  39. package/dist/components/ui/index.cjs +4 -4
  40. package/dist/{devices-6KZAJAAS.cjs → devices-BSIWSRZG.cjs} +5 -5
  41. package/dist/{embeddable-chat-5IHA5SUZ.cjs → embeddable-chat-5L2PKTW3.cjs} +99 -62
  42. package/dist/index.cjs +8 -8
  43. package/dist/{knowledge-I7FDQQYJ.cjs → knowledge-2F3IPK73.cjs} +5 -5
  44. package/dist/{logs-Q7PAVJUG.cjs → logs-U3OCJ2OC.cjs} +12 -12
  45. package/dist/{policies-C3DW5CHS.cjs → policies-L3KHKE2G.cjs} +8 -8
  46. package/dist/{scripts-BET663HD.cjs → scripts-U4SLB5YC.cjs} +9 -9
  47. package/dist/{software-update-W7ZQXEPK.cjs → software-update-QALYFCIO.cjs} +7 -7
  48. package/package.json +1 -1
  49. package/src/components/chat/remark-strip-citations.ts +14 -3
  50. package/src/components/chat/utils/cited-sources.ts +51 -0
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkJTBJB4JFcjs = require('./chunk-JTBJB4JF.cjs');
4
+ var _chunkS2ZA4TMJcjs = require('./chunk-S2ZA4TMJ.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunk5VRSUEC5cjs = require('./chunk-5VRSUEC5.cjs');
11
+ var _chunkQ6QQSCUCcjs = require('./chunk-Q6QQSCUC.cjs');
12
12
 
13
13
 
14
14
 
15
15
  var _chunkSBFBNOKUcjs = require('./chunk-SBFBNOKU.cjs');
16
16
 
17
17
 
18
- var _chunkBD42NMCTcjs = require('./chunk-BD42NMCT.cjs');
18
+ var _chunkCEXPWDT4cjs = require('./chunk-CEXPWDT4.cjs');
19
19
 
20
20
 
21
21
 
@@ -28,7 +28,7 @@ var _chunkBD42NMCTcjs = require('./chunk-BD42NMCT.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunkYMPPE322cjs = require('./chunk-YMPPE322.cjs');
31
+ var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
32
32
 
33
33
 
34
34
 
@@ -45,14 +45,14 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
45
45
 
46
46
 
47
47
 
48
- var _chunk4XASD2TLcjs = require('./chunk-4XASD2TL.cjs');
48
+ var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
49
49
 
50
50
 
51
51
 
52
52
 
53
53
 
54
54
 
55
- var _chunkIQCHV7Z2cjs = require('./chunk-IQCHV7Z2.cjs');
55
+ var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
56
56
 
57
57
 
58
58
  var _chunkOBQ5WUNGcjs = require('./chunk-OBQ5WUNG.cjs');
@@ -155,7 +155,7 @@ var TicketActionFailure = class extends Error {
155
155
  function useTicketActions(options) {
156
156
  const queryClient = _reactquery.useQueryClient.call(void 0, );
157
157
  const ticketActionEndpoint = _nullishCoalesce(_chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, ).endpoints.ticketActionUrl, () => ( TICKET_ACTION_ENDPOINT));
158
- const ticketLive = _chunkBD42NMCTcjs.useOptionalTicketLive.call(void 0, );
158
+ const ticketLive = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
159
159
  const notifyTicketCreated = _optionalChain([ticketLive, 'optionalAccess', _ => _.notifyTicketCreated]);
160
160
  const { prependOptimistic, removeOptimistic, removeTicketFromCache, toast: toast2, onSupportSystemDown } = options;
161
161
  const formInFlightRef = _react.useRef.call(void 0, null);
@@ -648,7 +648,7 @@ var COUNTER_VISIBLE_AT = Math.floor(TICKET_TEXT_MAX_CHARS * 0.8);
648
648
  function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
649
649
  const [subject, setSubject] = _react.useState.call(void 0, "");
650
650
  const [content, setContent] = _react.useState.call(void 0, "");
651
- const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkIQCHV7Z2cjs.useChatAttachments.call(void 0, );
651
+ const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkOTGYA5F7cjs.useChatAttachments.call(void 0, );
652
652
  const trimmedSubject = subject.trim();
653
653
  const trimmedContent = content.trim();
654
654
  const overCap = content.length > TICKET_TEXT_MAX_CHARS;
@@ -668,7 +668,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
668
668
  clear();
669
669
  }
670
670
  };
671
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunk4XASD2TLcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
671
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunk7IQU54VEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
672
672
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 md:max-w-md", children: [
673
673
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 text-ods-text-primary text-h2", children: "Need Support?" }),
674
674
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Can't find what you're looking for? Submit a support ticket below \u2014 we'll follow up shortly." }),
@@ -693,7 +693,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
693
693
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
694
694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "ticket-content", className: "mb-1", children: "Your Message" }),
695
695
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
696
- _chunkYMPPE322cjs.Textarea,
696
+ _chunkI453QCEFcjs.Textarea,
697
697
  {
698
698
  id: "ticket-content",
699
699
  placeholder: "Describe your issue or question in detail...",
@@ -711,7 +711,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
711
711
  ] })
712
712
  ] }),
713
713
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
714
- _chunkIQCHV7Z2cjs.ChatAttachmentChipStrip,
714
+ _chunkOTGYA5F7cjs.ChatAttachmentChipStrip,
715
715
  {
716
716
  attachments,
717
717
  onRemove: removeAttachment,
@@ -720,7 +720,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
720
720
  ),
721
721
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
722
722
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
723
- _chunkIQCHV7Z2cjs.ChatAttachmentAddButton,
723
+ _chunkOTGYA5F7cjs.ChatAttachmentAddButton,
724
724
  {
725
725
  attachmentsEnabled: !supportSystemDown,
726
726
  attachmentsCount: attachments.length,
@@ -750,7 +750,7 @@ var _usesticktobottom = require('use-stick-to-bottom');
750
750
 
751
751
  var LIST_ENGAGEMENTS_ENDPOINT = "/api/chat/agent/list-engagements";
752
752
  function useTicketEngagements(externalTicketId, enabled = true) {
753
- const identity = _chunkIQCHV7Z2cjs.useChatIdentity.call(void 0, );
753
+ const identity = _chunkOTGYA5F7cjs.useChatIdentity.call(void 0, );
754
754
  const identityKey = _nullishCoalesce(_optionalChain([identity, 'access', _21 => _21.user, 'optionalAccess', _22 => _22.email]), () => ( "anon"));
755
755
  const listEngagementsEndpoint = _nullishCoalesce(_chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, ).endpoints.listEngagementsUrl, () => ( LIST_ENGAGEMENTS_ENDPOINT));
756
756
  const fetchable = enabled && !!externalTicketId && !externalTicketId.startsWith("temp-");
@@ -823,7 +823,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
823
823
  dateClosed: clickup.date_closed,
824
824
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
825
825
  };
826
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkUEULXVW2cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5VRSUEC5cjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
826
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkUEULXVW2cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
827
827
  }
828
828
 
829
829
  // src/components/tickets/ticket-reply-composer.tsx
@@ -838,7 +838,7 @@ function TicketReplyComposer({
838
838
  }) {
839
839
  const [resolution, setResolution] = _react.useState.call(void 0, "");
840
840
  const [closeDialogOpen, setCloseDialogOpen] = _react.useState.call(void 0, false);
841
- const attachments = _chunkIQCHV7Z2cjs.useChatAttachments.call(void 0, );
841
+ const attachments = _chunkOTGYA5F7cjs.useChatAttachments.call(void 0, );
842
842
  const { readyAttachments, clear: clearAttachments } = attachments;
843
843
  const ticketRef = { id: ticket.id, external_id: ticket.external_id };
844
844
  const hasReadyFiles = readyAttachments.length > 0;
@@ -859,7 +859,7 @@ function TicketReplyComposer({
859
859
  const disabled = busy || supportSystemDown;
860
860
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
861
861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
862
- _chunkIQCHV7Z2cjs.ChatAttachmentChipStrip,
862
+ _chunkOTGYA5F7cjs.ChatAttachmentChipStrip,
863
863
  {
864
864
  attachments: attachments.attachments,
865
865
  onRemove: attachments.removeAttachment,
@@ -882,7 +882,7 @@ function TicketReplyComposer({
882
882
  ),
883
883
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
884
884
  !supportSystemDown && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
885
- _chunkIQCHV7Z2cjs.ChatAttachmentAddButton,
885
+ _chunkOTGYA5F7cjs.ChatAttachmentAddButton,
886
886
  {
887
887
  attachmentsEnabled: true,
888
888
  attachmentsCount: attachments.attachments.length,
@@ -905,13 +905,13 @@ function TicketReplyComposer({
905
905
  }
906
906
  )
907
907
  ] }),
908
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYMPPE322cjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
909
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYMPPE322cjs.AlertDialogHeader, { children: [
910
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
911
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
908
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkI453QCEFcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
909
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkI453QCEFcjs.AlertDialogHeader, { children: [
910
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
911
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
912
912
  ] }),
913
913
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
914
- _chunkYMPPE322cjs.Textarea,
914
+ _chunkI453QCEFcjs.Textarea,
915
915
  {
916
916
  value: resolution,
917
917
  onChange: (e) => setResolution(e.target.value),
@@ -921,9 +921,9 @@ function TicketReplyComposer({
921
921
  className: "mt-2"
922
922
  }
923
923
  ),
924
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYMPPE322cjs.AlertDialogFooter, { children: [
924
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkI453QCEFcjs.AlertDialogFooter, { children: [
925
925
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
926
- _chunkYMPPE322cjs.AlertDialogCancel,
926
+ _chunkI453QCEFcjs.AlertDialogCancel,
927
927
  {
928
928
  disabled: busy,
929
929
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -931,7 +931,7 @@ function TicketReplyComposer({
931
931
  }
932
932
  ),
933
933
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
934
- _chunkYMPPE322cjs.AlertDialogAction,
934
+ _chunkI453QCEFcjs.AlertDialogAction,
935
935
  {
936
936
  onClick: () => void confirmClose(),
937
937
  disabled: busy,
@@ -993,11 +993,11 @@ var TICKET_FEED_HEIGHT = "h-[60vh] md:h-[420px]";
993
993
  var TICKET_FEED_INNER = "flex flex-col gap-4 md:gap-6 px-4 md:px-6 py-4 md:py-6";
994
994
  var TICKET_FEED_SKELETON_ROWS = 6;
995
995
  function TicketTimelinePanel({ ticket }) {
996
- const identity = _chunkIQCHV7Z2cjs.useChatIdentity.call(void 0, );
996
+ const identity = _chunkOTGYA5F7cjs.useChatIdentity.call(void 0, );
997
997
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
998
998
  const externalId = isOptimistic(ticket) ? null : ticket.external_id;
999
999
  const { engagements, isLoading } = useTicketEngagements(externalId, !!externalId);
1000
- const live = _chunkBD42NMCTcjs.useOptionalTicketLive.call(void 0, );
1000
+ const live = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
1001
1001
  const setOpenTicketId = _optionalChain([live, 'optionalAccess', _25 => _25.setOpenTicketId]);
1002
1002
  const markRead = _optionalChain([live, 'optionalAccess', _26 => _26.markRead]);
1003
1003
  const markReadDebounceRef = _react.useRef.call(void 0, null);
@@ -1036,7 +1036,7 @@ function TicketTimelinePanel({ ticket }) {
1036
1036
  const customerName = (isViewerTheCustomer ? viewerName : null) || ticketCustomerName || viewerName || _optionalChain([identity, 'access', _40 => _40.user, 'optionalAccess', _41 => _41.email]) || "You";
1037
1037
  const customerAvatar = isViewerTheCustomer ? _nullishCoalesce(_optionalChain([identity, 'access', _42 => _42.user, 'optionalAccess', _43 => _43.avatarUrl]), () => ( void 0)) : void 0;
1038
1038
  if (isLoading) {
1039
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading messages", className: TICKET_FEED_INNER, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: TICKET_FEED_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4XASD2TLcjs.ChatMessageRow, { loading: true, displayName: "", body: "", "data-loading-item": true }) }) }) });
1039
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading messages", className: TICKET_FEED_INNER, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: TICKET_FEED_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7IQU54VEcjs.ChatMessageRow, { loading: true, displayName: "", body: "", "data-loading-item": true }) }) }) });
1040
1040
  }
1041
1041
  if (bodyTurns.length === 0 && engagements.length === 0) {
1042
1042
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1055,7 +1055,7 @@ function TicketTimelinePanel({ ticket }) {
1055
1055
  const isResolution = turn.startsWith("[Resolution]");
1056
1056
  const text = isResolution ? turn.replace(/^\[Resolution\]\s*/, "") : turn;
1057
1057
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1058
- _chunk4XASD2TLcjs.ChatMessageRow,
1058
+ _chunk7IQU54VEcjs.ChatMessageRow,
1059
1059
  {
1060
1060
  "data-loading-item": true,
1061
1061
  displayName: customerName,
@@ -1085,14 +1085,14 @@ function TicketTimelinePanel({ ticket }) {
1085
1085
  }
1086
1086
  const engAttachments = mapEngagementAttachments(eng.attachments, runtime);
1087
1087
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1088
- _chunk4XASD2TLcjs.ChatMessageRow,
1088
+ _chunk7IQU54VEcjs.ChatMessageRow,
1089
1089
  {
1090
1090
  "data-loading-item": true,
1091
1091
  displayName: author,
1092
1092
  avatarUrl: avatarSrc,
1093
1093
  timeLabel: eng.createdAt ? _chunkOBQ5WUNGcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1094
1094
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1095
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1095
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1096
1096
  },
1097
1097
  eng.id
1098
1098
  );
@@ -1197,7 +1197,7 @@ var TICKET_ROW_FRAME_CLASS = "border-b border-ods-border last:border-b-0";
1197
1197
  var TICKET_ROW_OUTER_CLASS = "scroll-mt-24";
1198
1198
  function TicketRow(props) {
1199
1199
  if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
1200
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id: props.id, className: TICKET_ROW_OUTER_CLASS, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_ROW_FRAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4XASD2TLcjs.ChatTicketItem, { loading: true }) }) });
1200
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id: props.id, className: TICKET_ROW_OUTER_CLASS, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_ROW_FRAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7IQU54VEcjs.ChatTicketItem, { loading: true }) }) });
1201
1201
  }
1202
1202
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketRowLoaded, { ...props });
1203
1203
  }
@@ -1252,7 +1252,7 @@ function TicketRowLoaded({
1252
1252
  };
1253
1253
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rowRef, id, className: TICKET_ROW_OUTER_CLASS, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, markers), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Collapsible, { open: expanded && !optimistic, className: TICKET_ROW_FRAME_CLASS, children: [
1254
1254
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1255
- _chunk4XASD2TLcjs.ChatTicketItem,
1255
+ _chunk7IQU54VEcjs.ChatTicketItem,
1256
1256
  {
1257
1257
  ticket: tileData,
1258
1258
  onClick: optimistic ? void 0 : handleClick,
@@ -1291,7 +1291,7 @@ function TicketCenter({ toast: toast2 = _chunkT266OITJcjs.toast } = {}) {
1291
1291
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterGate, { toast: toast2 });
1292
1292
  }
1293
1293
  function TicketCenterGate({ toast: toast2 }) {
1294
- const identity = _chunkIQCHV7Z2cjs.useChatIdentity.call(void 0, );
1294
+ const identity = _chunkOTGYA5F7cjs.useChatIdentity.call(void 0, );
1295
1295
  if (identity.isLoading) {
1296
1296
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterPending, {});
1297
1297
  }
@@ -1346,7 +1346,7 @@ function TicketCenterAuthed({
1346
1346
  const toggleRow = _react.useCallback.call(void 0, (id) => {
1347
1347
  setExpandedTicketId((prev) => prev === id ? null : id);
1348
1348
  }, []);
1349
- const syncInPage = _chunk5VRSUEC5cjs.usePageDataSync.call(void 0, sync, isLoading);
1349
+ const syncInPage = _chunkQ6QQSCUCcjs.usePageDataSync.call(void 0, sync, isLoading);
1350
1350
  const merged = [...optimisticTickets, ...tickets];
1351
1351
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1352
1352
  TicketCenterView,
@@ -1363,7 +1363,7 @@ function TicketCenterAuthed({
1363
1363
  TicketRow,
1364
1364
  {
1365
1365
  "data-loading-item": true,
1366
- id: _chunk4XASD2TLcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1366
+ id: _chunk7IQU54VEcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1367
1367
  ticket,
1368
1368
  expanded: expandedTicketId === ticket.id,
1369
1369
  onToggle: toggleRow,
@@ -1382,8 +1382,8 @@ function TicketCenterAuthed({
1382
1382
  function TicketCenterPending({
1383
1383
  region = true
1384
1384
  } = {}) {
1385
- const syncInPage = _chunk5VRSUEC5cjs.usePageDataSync.call(void 0, null, true);
1386
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1385
+ const syncInPage = _chunkQ6QQSCUCcjs.usePageDataSync.call(void 0, null, true);
1386
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1387
1387
  TicketCenterView,
1388
1388
  {
1389
1389
  tickets: [],
@@ -1445,7 +1445,7 @@ function TicketListHeader({
1445
1445
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
1446
1446
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
1447
1447
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
1448
- sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1448
+ sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1449
1449
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1450
1450
  _chunkFCZAUK4Dcjs.Button,
1451
1451
  {
@@ -1480,7 +1480,7 @@ function HelpCenterCard(props) {
1480
1480
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCardLoaded, { ...props });
1481
1481
  }
1482
1482
  function HelpCenterCardSkeleton({ id, ...props }) {
1483
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5VRSUEC5cjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
1483
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
1484
1484
  }
1485
1485
  function HelpCenterCardLoaded({
1486
1486
  ticket,
@@ -1519,7 +1519,7 @@ function HelpCenterCardLoaded({
1519
1519
  });
1520
1520
  return () => cancelAnimationFrame(raf);
1521
1521
  }, [isExpanded]);
1522
- const live = _chunkBD42NMCTcjs.useOptionalTicketLive.call(void 0, );
1522
+ const live = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
1523
1523
  const unreadCount = !optimistic && ticket.external_id && _optionalChain([live, 'optionalAccess', _64 => _64.unreadByTicket, 'access', _65 => _65[ticket.external_id]]) || 0;
1524
1524
  const rightBadges = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1525
1525
  unreadCount > 0 && // Only rows with unread replies carry it; the row's loading form draws the status badge alone.
@@ -1574,7 +1574,7 @@ function HelpCenterCardLoaded({
1574
1574
  "aria-expanded": isExpandable ? isExpanded : void 0,
1575
1575
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1576
1576
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "block", HELP_CENTER_SUMMARY_PAD_CLASS), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1577
- _chunk5VRSUEC5cjs.DevCardRowContent,
1577
+ _chunkQ6QQSCUCcjs.DevCardRowContent,
1578
1578
  {
1579
1579
  title,
1580
1580
  subtitle,
@@ -1655,7 +1655,7 @@ function HelpCenterCreateFormBody({
1655
1655
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1656
1656
  ] });
1657
1657
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1658
- _chunkJTBJB4JFcjs.ContactForm,
1658
+ _chunkS2ZA4TMJcjs.ContactForm,
1659
1659
  {
1660
1660
  rescue: null,
1661
1661
  title: "Open a new ticket",
@@ -1695,17 +1695,17 @@ function HelpCenterCreateFormBody({
1695
1695
  // src/components/tickets/help-center-list.tsx
1696
1696
 
1697
1697
  function HelpCenterList({ toast: toast2 = _chunkT266OITJcjs.toast, backButton, title, shell } = {}) {
1698
- const identity = _chunkIQCHV7Z2cjs.useChatIdentity.call(void 0, );
1698
+ const identity = _chunkOTGYA5F7cjs.useChatIdentity.call(void 0, );
1699
1699
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
1700
1700
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
1701
1701
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
1702
- const search = searchParams.get(_chunk4XASD2TLcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1702
+ const search = searchParams.get(_chunk7IQU54VEcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1703
1703
  const status = searchParams.get("status") || "all";
1704
- const ticketParam = searchParams.get(_chunk4XASD2TLcjs.TICKET_OPEN_PARAM) || "";
1704
+ const ticketParam = searchParams.get(_chunk7IQU54VEcjs.TICKET_OPEN_PARAM) || "";
1705
1705
  const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1706
1706
  if (identity.isLoading) {
1707
1707
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1708
- _chunk5VRSUEC5cjs.DevSectionPage,
1708
+ _chunkQ6QQSCUCcjs.DevSectionPage,
1709
1709
  {
1710
1710
  sectionKey: "tickets",
1711
1711
  backButton,
@@ -1717,7 +1717,7 @@ function HelpCenterList({ toast: toast2 = _chunkT266OITJcjs.toast, backButton, t
1717
1717
  );
1718
1718
  }
1719
1719
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
1720
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5VRSUEC5cjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1720
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1721
1721
  _chunkSBFBNOKUcjs.EmptyState,
1722
1722
  {
1723
1723
  type: "generic",
@@ -1769,8 +1769,8 @@ function HelpCenterListAuthed({
1769
1769
  const setOpenTicket = _react.useCallback.call(void 0,
1770
1770
  (externalId) => {
1771
1771
  const params = new URLSearchParams(searchParams.toString());
1772
- if (externalId) params.set(_chunk4XASD2TLcjs.TICKET_OPEN_PARAM, externalId);
1773
- else params.delete(_chunk4XASD2TLcjs.TICKET_OPEN_PARAM);
1772
+ if (externalId) params.set(_chunk7IQU54VEcjs.TICKET_OPEN_PARAM, externalId);
1773
+ else params.delete(_chunk7IQU54VEcjs.TICKET_OPEN_PARAM);
1774
1774
  const qs = params.toString();
1775
1775
  router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });
1776
1776
  },
@@ -1848,7 +1848,7 @@ function HelpCenterListAuthed({
1848
1848
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1849
1849
  ] }),
1850
1850
  !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading || !hasResults && isFetching ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterRowsFrame, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCard, { ticket: null, "data-loading-item": true }) }) }) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1851
- _chunk5VRSUEC5cjs.ListEmptyState,
1851
+ _chunkQ6QQSCUCcjs.ListEmptyState,
1852
1852
  {
1853
1853
  isFiltered: hasActiveFilters,
1854
1854
  filtered: {
@@ -1871,7 +1871,7 @@ function HelpCenterListAuthed({
1871
1871
  HelpCenterCard,
1872
1872
  {
1873
1873
  "data-loading-item": true,
1874
- id: _chunk4XASD2TLcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1874
+ id: _chunk7IQU54VEcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1875
1875
  ticket,
1876
1876
  expanded: expandedTicketId === ticket.id,
1877
1877
  onToggle: toggleRow,
@@ -1888,7 +1888,7 @@ function HelpCenterListAuthed({
1888
1888
  )) }) }),
1889
1889
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSBFBNOKUcjs.UnifiedPagination, { currentPage: page, totalPages })
1890
1890
  ] });
1891
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5VRSUEC5cjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1891
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1892
1892
  }
1893
1893
  function HelpCenterRowsFrame({ children }) {
1894
1894
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children });
@@ -6,7 +6,7 @@ var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunk4XASD2TLcjs = require('./chunk-4XASD2TL.cjs');
9
+ var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -172,31 +172,31 @@ CveLink.displayName = "CveLink";
172
172
  // src/components/platform/ShellTypeBadge.tsx
173
173
 
174
174
  var shellIconMap = {
175
- [_chunk4XASD2TLcjs.ShellTypeValues.POWERSHELL]: {
175
+ [_chunk7IQU54VEcjs.ShellTypeValues.POWERSHELL]: {
176
176
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
177
177
  props: { size: 16, className: "text-ods-text-secondary" }
178
178
  },
179
- [_chunk4XASD2TLcjs.ShellTypeValues.CMD]: {
179
+ [_chunk7IQU54VEcjs.ShellTypeValues.CMD]: {
180
180
  icon: _chunkUXUYT4WKcjs.CmdIcon,
181
181
  props: { size: 16, color: "var(--color-text-secondary)" }
182
182
  },
183
- [_chunk4XASD2TLcjs.ShellTypeValues.BASH]: {
183
+ [_chunk7IQU54VEcjs.ShellTypeValues.BASH]: {
184
184
  icon: _chunk5OG5ZTNMcjs.BashIcon,
185
185
  props: { size: 16, color: "var(--color-text-secondary)" }
186
186
  },
187
- [_chunk4XASD2TLcjs.ShellTypeValues.PYTHON]: {
187
+ [_chunk7IQU54VEcjs.ShellTypeValues.PYTHON]: {
188
188
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
189
189
  props: { size: 16, className: "text-ods-text-secondary" }
190
190
  },
191
- [_chunk4XASD2TLcjs.ShellTypeValues.NUSHELL]: {
191
+ [_chunk7IQU54VEcjs.ShellTypeValues.NUSHELL]: {
192
192
  icon: _chunkG37H4CBTcjs.NushellIcon,
193
193
  props: { size: 16, color: "var(--color-text-secondary)" }
194
194
  },
195
- [_chunk4XASD2TLcjs.ShellTypeValues.DENO]: {
195
+ [_chunk7IQU54VEcjs.ShellTypeValues.DENO]: {
196
196
  icon: _chunkHUL6SF5Acjs.DenoIcon,
197
197
  props: { size: 16, color: "var(--color-text-secondary)" }
198
198
  },
199
- [_chunk4XASD2TLcjs.ShellTypeValues.SHELL]: {
199
+ [_chunk7IQU54VEcjs.ShellTypeValues.SHELL]: {
200
200
  icon: _chunk6RMATQNNcjs.ShellIcon,
201
201
  props: { size: 16, color: "var(--color-text-secondary)" }
202
202
  }
@@ -207,7 +207,7 @@ var defaultIconConfig = {
207
207
  };
208
208
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
209
209
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
210
- const label = _chunk4XASD2TLcjs.getShellLabel.call(void 0, normalizedType);
210
+ const label = _chunk7IQU54VEcjs.getShellLabel.call(void 0, normalizedType);
211
211
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
212
212
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
213
213
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -223,7 +223,7 @@ function formatSupportedPlatforms(platforms) {
223
223
  if (!platforms || platforms.length === 0) {
224
224
  return "All Platforms";
225
225
  }
226
- return platforms.map((platform) => _chunk4XASD2TLcjs.getOSLabel.call(void 0, platform)).join(", ");
226
+ return platforms.map((platform) => _chunk7IQU54VEcjs.getOSLabel.call(void 0, platform)).join(", ");
227
227
  }
228
228
  function InfoCell({ label, value, avatar, className }) {
229
229
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -253,7 +253,7 @@ var ScriptInfoSection = ({
253
253
  author,
254
254
  className
255
255
  }) => {
256
- const shellLabel = _chunk4XASD2TLcjs.getShellLabel.call(void 0, shellType);
256
+ const shellLabel = _chunk7IQU54VEcjs.getShellLabel.call(void 0, shellType);
257
257
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
258
258
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkIQCHV7Z2cjs = require('./chunk-IQCHV7Z2.cjs');
15
+ var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
16
16
 
17
17
 
18
18
 
@@ -2243,7 +2243,7 @@ function extractSections(markdown, options = {}) {
2243
2243
  if (heading.level > opts.maxLevel) continue;
2244
2244
  let title = heading.text;
2245
2245
  if (opts.stripFormattingMarkers) {
2246
- title = _chunkIQCHV7Z2cjs.stripInlineMarkdown.call(void 0, title).trim();
2246
+ title = _chunkOTGYA5F7cjs.stripInlineMarkdown.call(void 0, title).trim();
2247
2247
  }
2248
2248
  const baseId = _chunkA34UNP5Vcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkA34UNP5Vcjs.stripHeadingEmojis.call(void 0, title) : title);
2249
2249
  const cleanId = baseId || `section-${sections.length + 1}`;
@@ -2558,7 +2558,7 @@ function demoClockTimes(seed, options = {}) {
2558
2558
  function openAskAi(source, options) {
2559
2559
  const prompt = _optionalChain([options, 'optionalAccess', _96 => _96.prompt, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
2560
2560
  const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
2561
- window.dispatchEvent(new CustomEvent(_chunkIQCHV7Z2cjs.ASK_AI_OPEN_EVENT, { detail }));
2561
+ window.dispatchEvent(new CustomEvent(_chunkOTGYA5F7cjs.ASK_AI_OPEN_EVENT, { detail }));
2562
2562
  }
2563
2563
  function MingoAiButton({
2564
2564
  source,
@@ -2601,7 +2601,7 @@ function MingoAiButton({
2601
2601
  {
2602
2602
  ...props,
2603
2603
  type: "button",
2604
- ...{ [_chunkIQCHV7Z2cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2604
+ ...{ [_chunkOTGYA5F7cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2605
2605
  variant: field ? "glyph" : "transparent",
2606
2606
  size: "wrap",
2607
2607
  font: "regular",
@@ -2842,9 +2842,9 @@ function QuestionChips({
2842
2842
  {
2843
2843
  "data-loading-item": true,
2844
2844
  className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
2845
- ...prompt ? { [_chunkIQCHV7Z2cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2845
+ ...prompt ? { [_chunkOTGYA5F7cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2846
2846
  children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2847
- _chunkIQCHV7Z2cjs.QuickActionChipButton,
2847
+ _chunkOTGYA5F7cjs.QuickActionChipButton,
2848
2848
  {
2849
2849
  loading,
2850
2850
  variant: "question",
@@ -3054,7 +3054,7 @@ function QuickActionMarquee({
3054
3054
  );
3055
3055
  if (items.length === 0) return null;
3056
3056
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3057
- _chunkIQCHV7Z2cjs.QuickActionWall,
3057
+ _chunkOTGYA5F7cjs.QuickActionWall,
3058
3058
  {
3059
3059
  chips,
3060
3060
  mode,
@@ -3269,7 +3269,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
3269
3269
  hasNextPage,
3270
3270
  isFetchingNextPage,
3271
3271
  onLoadMore,
3272
- pageSize = _chunkIQCHV7Z2cjs.CHAT_HISTORY_PAGE_SIZE,
3272
+ pageSize = _chunkOTGYA5F7cjs.CHAT_HISTORY_PAGE_SIZE,
3273
3273
  ...props
3274
3274
  }, ref) => {
3275
3275
  const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
@@ -3567,7 +3567,7 @@ function AdminContentCardGridSkeleton({
3567
3567
  label = "Loading",
3568
3568
  region = true
3569
3569
  }) {
3570
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.LoadingFallback, { label, status: region, className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3570
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.LoadingFallback, { label, status: region, className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3571
3571
  }
3572
3572
  function AdminContentCardGrid({
3573
3573
  items,
@@ -5159,7 +5159,7 @@ function Section({ title, description, children }) {
5159
5159
  ] });
5160
5160
  }
5161
5161
  function ProxyCredentialsPanel({ description }) {
5162
- const hydrated = _chunkIQCHV7Z2cjs.useIsHydrated.call(void 0, );
5162
+ const hydrated = _chunkOTGYA5F7cjs.useIsHydrated.call(void 0, );
5163
5163
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5164
5164
  ProxyCredentialsForm,
5165
5165
  {
@@ -5323,12 +5323,12 @@ function ProxyCredentialsForm({ description, saved }) {
5323
5323
 
5324
5324
  // src/components/chat/index.ts
5325
5325
  var LoadedEmbeddableChat = _react.lazy.call(void 0,
5326
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-5IHA5SUZ.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5326
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-5L2PKTW3.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5327
5327
  );
5328
5328
  var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5329
5329
  const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
5330
5330
  const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
5331
- _react.useEffect.call(void 0, () => _chunkIQCHV7Z2cjs.holdAskAiOpens.call(void 0, ), []);
5331
+ _react.useEffect.call(void 0, () => _chunkOTGYA5F7cjs.holdAskAiOpens.call(void 0, ), []);
5332
5332
  const { loadStyles } = props;
5333
5333
  _react.useEffect.call(void 0, () => {
5334
5334
  if (load) _optionalChain([loadStyles, 'optionalCall', _204 => _204()]);
@@ -5336,12 +5336,12 @@ var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5336
5336
  _react.useEffect.call(void 0, () => {
5337
5337
  if (load) return void 0;
5338
5338
  const start = () => setLoadRequested(true);
5339
- if (_chunkIQCHV7Z2cjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5340
- for (const name of _chunkIQCHV7Z2cjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5341
- const cancel = _chunkIQCHV7Z2cjs.onAskAiIntent.call(void 0, start);
5339
+ if (_chunkOTGYA5F7cjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5340
+ for (const name of _chunkOTGYA5F7cjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5341
+ const cancel = _chunkOTGYA5F7cjs.onAskAiIntent.call(void 0, start);
5342
5342
  return () => {
5343
5343
  cancel();
5344
- for (const name of _chunkIQCHV7Z2cjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5344
+ for (const name of _chunkOTGYA5F7cjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5345
5345
  };
5346
5346
  }, [load]);
5347
5347
  if (!load) return null;