@flamingo-stack/openframe-frontend-core 0.0.592 → 0.0.593-snapshot.20260905112237

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 (114) hide show
  1. package/dist/{chunk-F543W3F2.js → chunk-3OQIZPUX.js} +3 -3
  2. package/dist/{chunk-CRW4WRMH.js → chunk-3T7ZP3TL.js} +2 -2
  3. package/dist/{chunk-ASFEUMFW.js → chunk-3XDPXOMS.js} +4 -4
  4. package/dist/{chunk-3JOBM57M.cjs → chunk-43ADGEWL.cjs} +24 -24
  5. package/dist/{chunk-3JOBM57M.cjs.map → chunk-43ADGEWL.cjs.map} +1 -1
  6. package/dist/{chunk-YBENO4XG.cjs → chunk-5XQMEDGE.cjs} +10 -10
  7. package/dist/{chunk-YBENO4XG.cjs.map → chunk-5XQMEDGE.cjs.map} +1 -1
  8. package/dist/{chunk-HGEA6PW7.cjs → chunk-66I2QUFE.cjs} +3 -3
  9. package/dist/{chunk-HGEA6PW7.cjs.map → chunk-66I2QUFE.cjs.map} +1 -1
  10. package/dist/{chunk-ZT2Z2BYH.cjs → chunk-ACU7J5BL.cjs} +69 -69
  11. package/dist/{chunk-ZT2Z2BYH.cjs.map → chunk-ACU7J5BL.cjs.map} +1 -1
  12. package/dist/{chunk-FVADHGDP.cjs → chunk-C4YJC5X7.cjs} +4 -4
  13. package/dist/{chunk-FVADHGDP.cjs.map → chunk-C4YJC5X7.cjs.map} +1 -1
  14. package/dist/{chunk-5LJZWTOE.cjs → chunk-CCLPJSY3.cjs} +10 -10
  15. package/dist/{chunk-5LJZWTOE.cjs.map → chunk-CCLPJSY3.cjs.map} +1 -1
  16. package/dist/{chunk-WOGLPNK3.cjs → chunk-CQ35OMPJ.cjs} +3 -3
  17. package/dist/{chunk-WOGLPNK3.cjs.map → chunk-CQ35OMPJ.cjs.map} +1 -1
  18. package/dist/{chunk-XNGE5EE5.js → chunk-DRZ224RU.js} +6 -6
  19. package/dist/{chunk-O4VGEJ7I.cjs → chunk-EWOFXJGH.cjs} +43 -43
  20. package/dist/{chunk-O4VGEJ7I.cjs.map → chunk-EWOFXJGH.cjs.map} +1 -1
  21. package/dist/{chunk-6GMMR667.js → chunk-F5Q3DTP5.js} +5 -5
  22. package/dist/{chunk-R25AUM2R.js → chunk-GBIC3VNA.js} +3 -3
  23. package/dist/{chunk-LXD2QJFG.js → chunk-HOLK4ZMT.js} +3 -3
  24. package/dist/{chunk-W2RUBABW.cjs → chunk-HQWZ4IXU.cjs} +21 -21
  25. package/dist/{chunk-W2RUBABW.cjs.map → chunk-HQWZ4IXU.cjs.map} +1 -1
  26. package/dist/{chunk-JIINHJIT.js → chunk-IKQVXZB5.js} +5 -5
  27. package/dist/{chunk-FSCQOWXI.js → chunk-KVNA3HU2.js} +2 -2
  28. package/dist/{chunk-I7JYX5O3.js → chunk-LKN2KKYZ.js} +57 -4
  29. package/dist/{chunk-I7JYX5O3.js.map → chunk-LKN2KKYZ.js.map} +1 -1
  30. package/dist/{chunk-NZQYZKIN.js → chunk-M5HGULIY.js} +5 -5
  31. package/dist/{chunk-AUA6OSU7.js → chunk-MEWAFY6X.js} +2 -2
  32. package/dist/{chunk-OO6AMBHV.js → chunk-N3RHX26N.js} +3 -3
  33. package/dist/{chunk-NICIJRZ4.cjs → chunk-PETYVGEQ.cjs} +5 -5
  34. package/dist/{chunk-NICIJRZ4.cjs.map → chunk-PETYVGEQ.cjs.map} +1 -1
  35. package/dist/{chunk-WVHQQ3NY.js → chunk-PMN7WDXI.js} +31 -10
  36. package/dist/chunk-PMN7WDXI.js.map +1 -0
  37. package/dist/{chunk-5MHDMDPX.cjs → chunk-QAVT6P5F.cjs} +22 -22
  38. package/dist/{chunk-5MHDMDPX.cjs.map → chunk-QAVT6P5F.cjs.map} +1 -1
  39. package/dist/{chunk-V7RUX5CX.cjs → chunk-S7VW4HVL.cjs} +15 -15
  40. package/dist/{chunk-V7RUX5CX.cjs.map → chunk-S7VW4HVL.cjs.map} +1 -1
  41. package/dist/{chunk-COY57SZP.cjs → chunk-UBRVIVY4.cjs} +188 -167
  42. package/dist/chunk-UBRVIVY4.cjs.map +1 -0
  43. package/dist/{chunk-NYH3NVUF.js → chunk-Y22VQDVW.js} +3 -3
  44. package/dist/{chunk-TVPJ5DIB.cjs → chunk-YLVPQNLO.cjs} +57 -4
  45. package/dist/chunk-YLVPQNLO.cjs.map +1 -0
  46. package/dist/{chunk-XHDBU5EI.js → chunk-YZLUOZKR.js} +2 -2
  47. package/dist/{chunk-WP3AVAMP.cjs → chunk-ZEG3ZJPY.cjs} +33 -33
  48. package/dist/{chunk-WP3AVAMP.cjs.map → chunk-ZEG3ZJPY.cjs.map} +1 -1
  49. package/dist/{chunk-TQMZFXWZ.cjs → chunk-ZK3AZ5YF.cjs} +9 -9
  50. package/dist/{chunk-TQMZFXWZ.cjs.map → chunk-ZK3AZ5YF.cjs.map} +1 -1
  51. package/dist/components/case-studies/index.cjs +9 -9
  52. package/dist/components/case-studies/index.js +3 -3
  53. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  54. package/dist/components/chat/index.cjs +2 -2
  55. package/dist/components/chat/index.js +1 -1
  56. package/dist/components/contact/index.cjs +4 -4
  57. package/dist/components/contact/index.js +3 -3
  58. package/dist/components/docs/index.cjs +7 -7
  59. package/dist/components/docs/index.js +6 -6
  60. package/dist/components/embeds/index.cjs +4 -4
  61. package/dist/components/embeds/index.js +3 -3
  62. package/dist/components/faq/index.cjs +4 -4
  63. package/dist/components/faq/index.js +3 -3
  64. package/dist/components/features/index.cjs +3 -3
  65. package/dist/components/features/index.js +2 -2
  66. package/dist/components/help-center-pages/index.cjs +23 -23
  67. package/dist/components/help-center-pages/index.js +14 -14
  68. package/dist/components/index.cjs +38 -38
  69. package/dist/components/index.js +13 -13
  70. package/dist/components/meeting-scheduler/index.cjs +21 -21
  71. package/dist/components/meeting-scheduler/index.js +2 -2
  72. package/dist/components/navigation/index.cjs +6 -6
  73. package/dist/components/navigation/index.js +5 -5
  74. package/dist/components/onboarding-guides/index.cjs +6 -6
  75. package/dist/components/onboarding-guides/index.js +5 -5
  76. package/dist/components/tickets/index.cjs +7 -7
  77. package/dist/components/tickets/index.js +6 -6
  78. package/dist/components/ui/data-table/data-table-row.d.ts +5 -0
  79. package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
  80. package/dist/components/ui/data-table/data-table-skeleton.d.ts +1 -0
  81. package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
  82. package/dist/components/ui/index.cjs +3 -3
  83. package/dist/components/ui/index.js +2 -2
  84. package/dist/index.cjs +7 -7
  85. package/dist/index.js +6 -6
  86. package/dist/utils/index.cjs +14 -2
  87. package/dist/utils/index.cjs.map +1 -1
  88. package/dist/utils/index.js +14 -2
  89. package/dist/utils/index.js.map +1 -1
  90. package/dist/utils/source-icons.d.ts.map +1 -1
  91. package/package.json +1 -1
  92. package/src/__tests__/data-table-row-height.test.tsx +31 -0
  93. package/src/components/chat/entity-cards/dispatch.tsx +57 -0
  94. package/src/components/ui/data-table/data-table-body.tsx +12 -3
  95. package/src/components/ui/data-table/data-table-row.tsx +15 -3
  96. package/src/components/ui/data-table/data-table-skeleton.tsx +5 -2
  97. package/src/utils/source-icons.ts +24 -0
  98. package/dist/chunk-COY57SZP.cjs.map +0 -1
  99. package/dist/chunk-TVPJ5DIB.cjs.map +0 -1
  100. package/dist/chunk-WVHQQ3NY.js.map +0 -1
  101. /package/dist/{chunk-F543W3F2.js.map → chunk-3OQIZPUX.js.map} +0 -0
  102. /package/dist/{chunk-CRW4WRMH.js.map → chunk-3T7ZP3TL.js.map} +0 -0
  103. /package/dist/{chunk-ASFEUMFW.js.map → chunk-3XDPXOMS.js.map} +0 -0
  104. /package/dist/{chunk-XNGE5EE5.js.map → chunk-DRZ224RU.js.map} +0 -0
  105. /package/dist/{chunk-6GMMR667.js.map → chunk-F5Q3DTP5.js.map} +0 -0
  106. /package/dist/{chunk-R25AUM2R.js.map → chunk-GBIC3VNA.js.map} +0 -0
  107. /package/dist/{chunk-LXD2QJFG.js.map → chunk-HOLK4ZMT.js.map} +0 -0
  108. /package/dist/{chunk-JIINHJIT.js.map → chunk-IKQVXZB5.js.map} +0 -0
  109. /package/dist/{chunk-FSCQOWXI.js.map → chunk-KVNA3HU2.js.map} +0 -0
  110. /package/dist/{chunk-NZQYZKIN.js.map → chunk-M5HGULIY.js.map} +0 -0
  111. /package/dist/{chunk-AUA6OSU7.js.map → chunk-MEWAFY6X.js.map} +0 -0
  112. /package/dist/{chunk-OO6AMBHV.js.map → chunk-N3RHX26N.js.map} +0 -0
  113. /package/dist/{chunk-NYH3NVUF.js.map → chunk-Y22VQDVW.js.map} +0 -0
  114. /package/dist/{chunk-XHDBU5EI.js.map → chunk-YZLUOZKR.js.map} +0 -0
@@ -1,13 +1,13 @@
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 _chunkW2RUBABWcjs = require('./chunk-W2RUBABW.cjs');
4
+ var _chunkHQWZ4IXUcjs = require('./chunk-HQWZ4IXU.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunk5LJZWTOEcjs = require('./chunk-5LJZWTOE.cjs');
10
+ var _chunkCCLPJSY3cjs = require('./chunk-CCLPJSY3.cjs');
11
11
 
12
12
 
13
13
 
@@ -18,7 +18,7 @@ var _chunkO4VZOA2Qcjs = require('./chunk-O4VZOA2Q.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkNICIJRZ4cjs = require('./chunk-NICIJRZ4.cjs');
21
+ var _chunkPETYVGEQcjs = require('./chunk-PETYVGEQ.cjs');
22
22
 
23
23
 
24
24
 
@@ -33,7 +33,7 @@ var _chunkNICIJRZ4cjs = require('./chunk-NICIJRZ4.cjs');
33
33
 
34
34
 
35
35
 
36
- var _chunkCOY57SZPcjs = require('./chunk-COY57SZP.cjs');
36
+ var _chunkUBRVIVY4cjs = require('./chunk-UBRVIVY4.cjs');
37
37
 
38
38
 
39
39
 
@@ -56,7 +56,7 @@ var _chunkY7ITKISQcjs = require('./chunk-Y7ITKISQ.cjs');
56
56
 
57
57
 
58
58
 
59
- var _chunkTVPJ5DIBcjs = require('./chunk-TVPJ5DIB.cjs');
59
+ var _chunkYLVPQNLOcjs = require('./chunk-YLVPQNLO.cjs');
60
60
 
61
61
 
62
62
 
@@ -112,7 +112,7 @@ var TicketActionFailure = class extends Error {
112
112
  function useTicketActions(options) {
113
113
  const queryClient = _reactquery.useQueryClient.call(void 0, );
114
114
  const ticketActionEndpoint = _nullishCoalesce(_chunkRDTOMWDNcjs.useRequiredChatRuntime.call(void 0, ).endpoints.ticketActionUrl, () => ( TICKET_ACTION_ENDPOINT));
115
- const ticketLive = _chunkNICIJRZ4cjs.useOptionalTicketLive.call(void 0, );
115
+ const ticketLive = _chunkPETYVGEQcjs.useOptionalTicketLive.call(void 0, );
116
116
  const notifyTicketCreated = _optionalChain([ticketLive, 'optionalAccess', _2 => _2.notifyTicketCreated]);
117
117
  const { prependOptimistic, removeOptimistic, removeTicketFromCache, toast: toast2, onSupportSystemDown } = options;
118
118
  const formInFlightRef = _react.useRef.call(void 0, null);
@@ -273,10 +273,10 @@ function useTicketActions(options) {
273
273
  ..._optionalChain([input, 'access', _3 => _3.attachments, 'optionalAccess', _4 => _4.length]) ? { attachments: input.attachments } : {}
274
274
  });
275
275
  if (result.mirror_synced === false) {
276
- toast2(_chunkNICIJRZ4cjs.TOAST_COPY.open_mirror_pending);
276
+ toast2(_chunkPETYVGEQcjs.TOAST_COPY.open_mirror_pending);
277
277
  watchMirrorSync(placeholderId, result.ticket_id);
278
278
  } else {
279
- toast2(_chunkNICIJRZ4cjs.TOAST_COPY.open_success);
279
+ toast2(_chunkPETYVGEQcjs.TOAST_COPY.open_success);
280
280
  await queryClient.invalidateQueries({ queryKey: ["tickets"] });
281
281
  removeOptimistic(placeholderId);
282
282
  }
@@ -362,7 +362,7 @@ function useTicketActions(options) {
362
362
  ...hasText ? { content_addendum: trimmed } : {},
363
363
  ...hasFiles ? { attachments } : {}
364
364
  },
365
- _chunkNICIJRZ4cjs.TOAST_COPY.comment_success,
365
+ _chunkPETYVGEQcjs.TOAST_COPY.comment_success,
366
366
  "send message"
367
367
  );
368
368
  if (ok) {
@@ -385,13 +385,13 @@ function useTicketActions(options) {
385
385
  status: "CLOSED",
386
386
  ..._optionalChain([resolution, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ? { resolution: resolution.trim() } : {}
387
387
  },
388
- _chunkNICIJRZ4cjs.TOAST_COPY.close_success,
388
+ _chunkPETYVGEQcjs.TOAST_COPY.close_success,
389
389
  "close ticket"
390
390
  ),
391
391
  [updateTicket]
392
392
  );
393
393
  const reopenTicket = _react.useCallback.call(void 0,
394
- (ticket) => updateTicket(ticket, { status: "OPEN" }, _chunkNICIJRZ4cjs.TOAST_COPY.reopen_success, "reopen ticket"),
394
+ (ticket) => updateTicket(ticket, { status: "OPEN" }, _chunkPETYVGEQcjs.TOAST_COPY.reopen_success, "reopen ticket"),
395
395
  [updateTicket]
396
396
  );
397
397
  return _react.useMemo.call(void 0,
@@ -616,14 +616,14 @@ function useTicketsList(filters) {
616
616
  // src/components/tickets/ticket-open-form.tsx
617
617
 
618
618
  var _jsxruntime = require('react/jsx-runtime');
619
- var COUNTER_VISIBLE_AT = Math.floor(_chunkNICIJRZ4cjs.TICKET_TEXT_MAX_CHARS * 0.8);
619
+ var COUNTER_VISIBLE_AT = Math.floor(_chunkPETYVGEQcjs.TICKET_TEXT_MAX_CHARS * 0.8);
620
620
  function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
621
621
  const [subject, setSubject] = _react.useState.call(void 0, "");
622
622
  const [content, setContent] = _react.useState.call(void 0, "");
623
- const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkTVPJ5DIBcjs.useChatAttachments.call(void 0, );
623
+ const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkYLVPQNLOcjs.useChatAttachments.call(void 0, );
624
624
  const trimmedSubject = subject.trim();
625
625
  const trimmedContent = content.trim();
626
- const overCap = content.length > _chunkNICIJRZ4cjs.TICKET_TEXT_MAX_CHARS;
626
+ const overCap = content.length > _chunkPETYVGEQcjs.TICKET_TEXT_MAX_CHARS;
627
627
  const showCounter = content.length >= COUNTER_VISIBLE_AT;
628
628
  const canSubmit = !isSubmitting && !supportSystemDown && !hasInflightUploads && trimmedSubject.length > 0 && trimmedContent.length > 0 && !overCap;
629
629
  const handleSubmit = async (e) => {
@@ -665,7 +665,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
665
665
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
666
666
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
667
667
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
668
- _chunkCOY57SZPcjs.Textarea,
668
+ _chunkUBRVIVY4cjs.Textarea,
669
669
  {
670
670
  id: "ticket-content",
671
671
  placeholder: "Describe your issue or question in detail...",
@@ -679,11 +679,11 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
679
679
  showCounter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: `mt-1 text-right text-h6 ${overCap ? "text-ods-error" : "text-ods-text-secondary"}`, children: [
680
680
  content.length,
681
681
  "/",
682
- _chunkNICIJRZ4cjs.TICKET_TEXT_MAX_CHARS
682
+ _chunkPETYVGEQcjs.TICKET_TEXT_MAX_CHARS
683
683
  ] })
684
684
  ] }),
685
685
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
686
- _chunkTVPJ5DIBcjs.ChatAttachmentChipStrip,
686
+ _chunkYLVPQNLOcjs.ChatAttachmentChipStrip,
687
687
  {
688
688
  attachments,
689
689
  onRemove: removeAttachment,
@@ -692,7 +692,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
692
692
  ),
693
693
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
694
694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
695
- _chunkTVPJ5DIBcjs.ChatAttachmentAddButton,
695
+ _chunkYLVPQNLOcjs.ChatAttachmentAddButton,
696
696
  {
697
697
  attachmentsEnabled: !supportSystemDown,
698
698
  attachmentsCount: attachments.length,
@@ -722,7 +722,7 @@ var _usesticktobottom = require('use-stick-to-bottom');
722
722
 
723
723
  var LIST_ENGAGEMENTS_ENDPOINT = "/api/chat/agent/list-engagements";
724
724
  function useTicketEngagements(externalTicketId, enabled = true) {
725
- const identity = _chunkTVPJ5DIBcjs.useChatIdentity.call(void 0, );
725
+ const identity = _chunkYLVPQNLOcjs.useChatIdentity.call(void 0, );
726
726
  const identityKey = _nullishCoalesce(_optionalChain([identity, 'access', _21 => _21.user, 'optionalAccess', _22 => _22.email]), () => ( "anon"));
727
727
  const listEngagementsEndpoint = _nullishCoalesce(_chunkRDTOMWDNcjs.useRequiredChatRuntime.call(void 0, ).endpoints.listEngagementsUrl, () => ( LIST_ENGAGEMENTS_ENDPOINT));
728
728
  const fetchable = enabled && !!externalTicketId && !externalTicketId.startsWith("temp-");
@@ -795,7 +795,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
795
795
  dateClosed: clickup.date_closed,
796
796
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
797
797
  };
798
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden rounded-md border border-ods-border bg-ods-bg ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LJZWTOEcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
798
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden rounded-md border border-ods-border bg-ods-bg ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCLPJSY3cjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
799
799
  }
800
800
 
801
801
  // src/components/tickets/ticket-reply-composer.tsx
@@ -810,7 +810,7 @@ function TicketReplyComposer({
810
810
  }) {
811
811
  const [resolution, setResolution] = _react.useState.call(void 0, "");
812
812
  const [closeDialogOpen, setCloseDialogOpen] = _react.useState.call(void 0, false);
813
- const attachments = _chunkTVPJ5DIBcjs.useChatAttachments.call(void 0, );
813
+ const attachments = _chunkYLVPQNLOcjs.useChatAttachments.call(void 0, );
814
814
  const { readyAttachments, clear: clearAttachments } = attachments;
815
815
  const ticketRef = { id: ticket.id, external_id: ticket.external_id };
816
816
  const hasReadyFiles = readyAttachments.length > 0;
@@ -831,7 +831,7 @@ function TicketReplyComposer({
831
831
  const disabled = busy || supportSystemDown;
832
832
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
833
833
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
834
- _chunkTVPJ5DIBcjs.ChatAttachmentChipStrip,
834
+ _chunkYLVPQNLOcjs.ChatAttachmentChipStrip,
835
835
  {
836
836
  attachments: attachments.attachments,
837
837
  onRemove: attachments.removeAttachment,
@@ -840,7 +840,7 @@ function TicketReplyComposer({
840
840
  }
841
841
  ),
842
842
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
843
- _chunkTVPJ5DIBcjs.ChatInput,
843
+ _chunkYLVPQNLOcjs.ChatInput,
844
844
  {
845
845
  fullWidth: true,
846
846
  autoFocus: true,
@@ -848,13 +848,13 @@ function TicketReplyComposer({
848
848
  sending: busy || attachments.hasInflightUploads,
849
849
  disabled: supportSystemDown,
850
850
  allowEmptySend: hasReadyFiles,
851
- maxLength: _chunkNICIJRZ4cjs.TICKET_TEXT_MAX_CHARS,
851
+ maxLength: _chunkPETYVGEQcjs.TICKET_TEXT_MAX_CHARS,
852
852
  onSend: handleSend
853
853
  }
854
854
  ),
855
855
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
856
856
  !supportSystemDown && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
857
- _chunkTVPJ5DIBcjs.ChatAttachmentAddButton,
857
+ _chunkYLVPQNLOcjs.ChatAttachmentAddButton,
858
858
  {
859
859
  attachmentsEnabled: true,
860
860
  attachmentsCount: attachments.attachments.length,
@@ -877,25 +877,25 @@ function TicketReplyComposer({
877
877
  }
878
878
  )
879
879
  ] }),
880
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOY57SZPcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCOY57SZPcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
881
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCOY57SZPcjs.AlertDialogHeader, { children: [
882
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOY57SZPcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
883
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOY57SZPcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
880
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUBRVIVY4cjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUBRVIVY4cjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
881
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUBRVIVY4cjs.AlertDialogHeader, { children: [
882
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUBRVIVY4cjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
883
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUBRVIVY4cjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
884
884
  ] }),
885
885
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
886
- _chunkCOY57SZPcjs.Textarea,
886
+ _chunkUBRVIVY4cjs.Textarea,
887
887
  {
888
888
  value: resolution,
889
889
  onChange: (e) => setResolution(e.target.value),
890
890
  placeholder: "Resolution (optional)",
891
891
  rows: 3,
892
- maxLength: _chunkNICIJRZ4cjs.TICKET_TEXT_MAX_CHARS,
892
+ maxLength: _chunkPETYVGEQcjs.TICKET_TEXT_MAX_CHARS,
893
893
  className: "mt-2"
894
894
  }
895
895
  ),
896
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCOY57SZPcjs.AlertDialogFooter, { children: [
896
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUBRVIVY4cjs.AlertDialogFooter, { children: [
897
897
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
898
- _chunkCOY57SZPcjs.AlertDialogCancel,
898
+ _chunkUBRVIVY4cjs.AlertDialogCancel,
899
899
  {
900
900
  disabled: busy,
901
901
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -903,7 +903,7 @@ function TicketReplyComposer({
903
903
  }
904
904
  ),
905
905
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
906
- _chunkCOY57SZPcjs.AlertDialogAction,
906
+ _chunkUBRVIVY4cjs.AlertDialogAction,
907
907
  {
908
908
  onClick: () => void confirmClose(),
909
909
  disabled: busy,
@@ -965,10 +965,10 @@ var TICKET_FEED_HEIGHT = "h-[60vh] md:h-[420px]";
965
965
  var TICKET_FEED_INNER = "flex flex-col gap-4 md:gap-6 px-4 md:px-6 py-4 md:py-6";
966
966
  var TICKET_FEED_SKELETON_ROWS = 6;
967
967
  function TicketTimelinePanel({ ticket }) {
968
- const identity = _chunkTVPJ5DIBcjs.useChatIdentity.call(void 0, );
969
- const externalId = _chunkNICIJRZ4cjs.isOptimistic.call(void 0, ticket) ? null : ticket.external_id;
968
+ const identity = _chunkYLVPQNLOcjs.useChatIdentity.call(void 0, );
969
+ const externalId = _chunkPETYVGEQcjs.isOptimistic.call(void 0, ticket) ? null : ticket.external_id;
970
970
  const { engagements, isLoading } = useTicketEngagements(externalId, !!externalId);
971
- const live = _chunkNICIJRZ4cjs.useOptionalTicketLive.call(void 0, );
971
+ const live = _chunkPETYVGEQcjs.useOptionalTicketLive.call(void 0, );
972
972
  const setOpenTicketId = _optionalChain([live, 'optionalAccess', _25 => _25.setOpenTicketId]);
973
973
  const markRead = _optionalChain([live, 'optionalAccess', _26 => _26.markRead]);
974
974
  const markReadDebounceRef = _react.useRef.call(void 0, null);
@@ -992,7 +992,7 @@ function TicketTimelinePanel({ ticket }) {
992
992
  markReadDebounceRef.current = setTimeout(() => {
993
993
  markReadDebounceRef.current = null;
994
994
  void markRead(externalId);
995
- }, _chunkNICIJRZ4cjs.TICKET_MARK_READ_DEBOUNCE_MS);
995
+ }, _chunkPETYVGEQcjs.TICKET_MARK_READ_DEBOUNCE_MS);
996
996
  }, [engagementsCount, externalId, markRead]);
997
997
  const { scrollRef, contentRef } = _usesticktobottom.useStickToBottom.call(void 0, { initial: "instant", resize: "smooth" });
998
998
  const bodyTurns = ticket.body ? ticket.body.split(TURN_SEPARATOR_RE).map((t) => t.trim()).filter(Boolean) : [];
@@ -1007,7 +1007,7 @@ function TicketTimelinePanel({ ticket }) {
1007
1007
  const customerName = (isViewerTheCustomer ? viewerName : null) || ticketCustomerName || viewerName || _optionalChain([identity, 'access', _40 => _40.user, 'optionalAccess', _41 => _41.email]) || "You";
1008
1008
  const customerAvatar = isViewerTheCustomer ? _nullishCoalesce(_optionalChain([identity, 'access', _42 => _42.user, 'optionalAccess', _43 => _43.avatarUrl]), () => ( void 0)) : void 0;
1009
1009
  if (isLoading) {
1010
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_FEED_INNER, children: Array.from({ length: TICKET_FEED_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVPJ5DIBcjs.ChatMessageRowSkeleton, {}, i)) }) });
1010
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_FEED_INNER, children: Array.from({ length: TICKET_FEED_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYLVPQNLOcjs.ChatMessageRowSkeleton, {}, i)) }) });
1011
1011
  }
1012
1012
  if (bodyTurns.length === 0 && engagements.length === 0) {
1013
1013
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1026,7 +1026,7 @@ function TicketTimelinePanel({ ticket }) {
1026
1026
  const isResolution = turn.startsWith("[Resolution]");
1027
1027
  const text = isResolution ? turn.replace(/^\[Resolution\]\s*/, "") : turn;
1028
1028
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1029
- _chunkTVPJ5DIBcjs.ChatMessageRow,
1029
+ _chunkYLVPQNLOcjs.ChatMessageRow,
1030
1030
  {
1031
1031
  displayName: customerName,
1032
1032
  avatarUrl: customerAvatar,
@@ -1055,13 +1055,13 @@ function TicketTimelinePanel({ ticket }) {
1055
1055
  }
1056
1056
  const engAttachments = mapEngagementAttachments(eng.attachments);
1057
1057
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1058
- _chunkTVPJ5DIBcjs.ChatMessageRow,
1058
+ _chunkYLVPQNLOcjs.ChatMessageRow,
1059
1059
  {
1060
1060
  displayName: author,
1061
1061
  avatarUrl: avatarSrc,
1062
- timeLabel: eng.createdAt ? _chunkTVPJ5DIBcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1062
+ timeLabel: eng.createdAt ? _chunkYLVPQNLOcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1063
1063
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1064
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOY57SZPcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1064
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUBRVIVY4cjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1065
1065
  },
1066
1066
  eng.id
1067
1067
  );
@@ -1174,7 +1174,7 @@ function TicketRow({
1174
1174
  onActionCollapsed,
1175
1175
  id
1176
1176
  }) {
1177
- const optimistic = _chunkNICIJRZ4cjs.isOptimistic.call(void 0, ticket);
1177
+ const optimistic = _chunkPETYVGEQcjs.isOptimistic.call(void 0, ticket);
1178
1178
  const rowRef = _react.useRef.call(void 0, null);
1179
1179
  const handleClick = _react.useCallback.call(void 0, () => {
1180
1180
  onToggle(ticket.id);
@@ -1202,7 +1202,7 @@ function TicketRow({
1202
1202
  // so the badge accurately reflects "Closed" with a checkmark.
1203
1203
  statusLabel: _nullishCoalesce(ticket.pipeline_stage_label, () => ( void 0)),
1204
1204
  category: _nullishCoalesce(ticket.customer_company, () => ( void 0)),
1205
- timeAgo: ticket.hubspot_updated_at ? _chunkTVPJ5DIBcjs.formatRelativeTime.call(void 0, ticket.hubspot_updated_at) : void 0,
1205
+ timeAgo: ticket.hubspot_updated_at ? _chunkYLVPQNLOcjs.formatRelativeTime.call(void 0, ticket.hubspot_updated_at) : void 0,
1206
1206
  // Linked-work chip: surfaced whenever the ticket has a linked
1207
1207
  // ClickUp task. Uses the linked task's own status so the chip text
1208
1208
  // reads "Working" / "Waiting on version release" / etc. — useful
@@ -1212,7 +1212,7 @@ function TicketRow({
1212
1212
  };
1213
1213
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rowRef, id, className: "scroll-mt-24", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Collapsible, { open: expanded && !optimistic, className: "border-b border-ods-border last:border-b-0", children: [
1214
1214
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1215
- _chunkTVPJ5DIBcjs.ChatTicketItem,
1215
+ _chunkYLVPQNLOcjs.ChatTicketItem,
1216
1216
  {
1217
1217
  ticket: tileData,
1218
1218
  onClick: optimistic ? void 0 : handleClick,
@@ -1245,7 +1245,7 @@ function TicketRow({
1245
1245
  // src/components/tickets/ticket-center.tsx
1246
1246
 
1247
1247
  function TicketCenter({ toast: toast2 = _chunkFKXDDJEQcjs.toast } = {}) {
1248
- const identity = _chunkTVPJ5DIBcjs.useChatIdentity.call(void 0, );
1248
+ const identity = _chunkYLVPQNLOcjs.useChatIdentity.call(void 0, );
1249
1249
  if (identity.isLoading) {
1250
1250
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterSkeleton, {});
1251
1251
  }
@@ -1316,7 +1316,7 @@ function TicketCenterAuthed({
1316
1316
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
1317
1317
  lastUpdatedAt && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
1318
1318
  "Updated ",
1319
- _chunkTVPJ5DIBcjs.formatRelativeTime.call(void 0, new Date(lastUpdatedAt))
1319
+ _chunkYLVPQNLOcjs.formatRelativeTime.call(void 0, new Date(lastUpdatedAt))
1320
1320
  ] }),
1321
1321
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1322
1322
  _chunkCJBSU3XBcjs.Button,
@@ -1343,11 +1343,11 @@ function TicketCenterAuthed({
1343
1343
  ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6I2DGKCcjs.Card, { className: "overflow-hidden", children: merged.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1344
1344
  TicketRow,
1345
1345
  {
1346
- id: _chunkCOY57SZPcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1346
+ id: _chunkUBRVIVY4cjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1347
1347
  ticket,
1348
1348
  expanded: expandedTicketId === ticket.id,
1349
1349
  onToggle: toggleRow,
1350
- busy: _chunkNICIJRZ4cjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1350
+ busy: _chunkPETYVGEQcjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1351
1351
  supportSystemDown,
1352
1352
  onSendMessage: actions.sendMessage,
1353
1353
  onClose: actions.closeTicket,
@@ -1401,10 +1401,10 @@ function HelpCenterCard({
1401
1401
  onClearReplyError,
1402
1402
  id
1403
1403
  }) {
1404
- const optimistic = _chunkNICIJRZ4cjs.isOptimistic.call(void 0, ticket);
1404
+ const optimistic = _chunkPETYVGEQcjs.isOptimistic.call(void 0, ticket);
1405
1405
  const rawStatus = (_nullishCoalesce(ticket.status, () => ( "OPEN"))).toUpperCase();
1406
1406
  const priority = (_nullishCoalesce(ticket.priority, () => ( ""))).toUpperCase();
1407
- const relativeUpdated = ticket.hubspot_updated_at ? _chunkTVPJ5DIBcjs.formatRelativeTime.call(void 0, ticket.hubspot_updated_at) : "recently";
1407
+ const relativeUpdated = ticket.hubspot_updated_at ? _chunkYLVPQNLOcjs.formatRelativeTime.call(void 0, ticket.hubspot_updated_at) : "recently";
1408
1408
  const title = (ticket.subject || "").trim() || "(untitled)";
1409
1409
  const subtitle = `UPDATED ${relativeUpdated}, #${ticket.external_id || "\u2014"}${ticket.pipeline_stage_label ? `, ${ticket.pipeline_stage_label}` : ""}`;
1410
1410
  const description = _nullishCoalesce(_nullishCoalesce(ticket.preview, () => ( ticket.body)), () => ( ""));
@@ -1423,7 +1423,7 @@ function HelpCenterCard({
1423
1423
  });
1424
1424
  return () => cancelAnimationFrame(raf);
1425
1425
  }, [isExpanded]);
1426
- const live = _chunkNICIJRZ4cjs.useOptionalTicketLive.call(void 0, );
1426
+ const live = _chunkPETYVGEQcjs.useOptionalTicketLive.call(void 0, );
1427
1427
  const unreadCount = !optimistic && ticket.external_id && _optionalChain([live, 'optionalAccess', _64 => _64.unreadByTicket, 'access', _65 => _65[ticket.external_id]]) || 0;
1428
1428
  const rightBadges = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1429
1429
  unreadCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1473,7 +1473,7 @@ function HelpCenterCard({
1473
1473
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1474
1474
  className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default md:p-[16px]",
1475
1475
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1476
- _chunk5LJZWTOEcjs.DevCardRowContent,
1476
+ _chunkCCLPJSY3cjs.DevCardRowContent,
1477
1477
  {
1478
1478
  title,
1479
1479
  subtitle,
@@ -1573,7 +1573,7 @@ function HelpCenterCreateForm({
1573
1573
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1574
1574
  ] });
1575
1575
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1576
- _chunkW2RUBABWcjs.ContactForm,
1576
+ _chunkHQWZ4IXUcjs.ContactForm,
1577
1577
  {
1578
1578
  title: "Open a new ticket",
1579
1579
  footerText: "The support team typically responds within one business day.",
@@ -1611,29 +1611,29 @@ function HelpCenterCreateForm({
1611
1611
  // src/components/tickets/help-center-list.tsx
1612
1612
 
1613
1613
  function HelpCenterList({ toast: toast2 = _chunkFKXDDJEQcjs.toast, backButton, title, shell } = {}) {
1614
- const identity = _chunkTVPJ5DIBcjs.useChatIdentity.call(void 0, );
1614
+ const identity = _chunkYLVPQNLOcjs.useChatIdentity.call(void 0, );
1615
1615
  const searchParams = _chunkSADRZ4YIcjs.useSearchParams.call(void 0, );
1616
1616
  const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
1617
1617
  const pathname = _chunkSADRZ4YIcjs.usePathname.call(void 0, );
1618
- const search = searchParams.get(_chunkCOY57SZPcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1618
+ const search = searchParams.get(_chunkUBRVIVY4cjs.DEV_SECTION_PARAM_KEYS.search) || "";
1619
1619
  const status = searchParams.get("status") || "all";
1620
- const ticketParam = searchParams.get(_chunkCOY57SZPcjs.TICKET_OPEN_PARAM) || "";
1620
+ const ticketParam = searchParams.get(_chunkUBRVIVY4cjs.TICKET_OPEN_PARAM) || "";
1621
1621
  const page = _chunkH64ZHSYRcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1622
1622
  if (identity.isLoading) {
1623
1623
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1624
- _chunk5LJZWTOEcjs.DevSectionPage,
1624
+ _chunkCCLPJSY3cjs.DevSectionPage,
1625
1625
  {
1626
1626
  sectionKey: "tickets",
1627
1627
  backButton,
1628
1628
  title,
1629
1629
  shell,
1630
1630
  preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
1631
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LJZWTOEcjs.DevCardRowSkeletonList, {})
1631
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCLPJSY3cjs.DevCardRowSkeletonList, {})
1632
1632
  }
1633
1633
  );
1634
1634
  }
1635
1635
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
1636
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LJZWTOEcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1636
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCLPJSY3cjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1637
1637
  _chunkO4VZOA2Qcjs.EmptyState,
1638
1638
  {
1639
1639
  type: "generic",
@@ -1685,8 +1685,8 @@ function HelpCenterListAuthed({
1685
1685
  const setOpenTicket = _react.useCallback.call(void 0,
1686
1686
  (externalId) => {
1687
1687
  const params = new URLSearchParams(searchParams.toString());
1688
- if (externalId) params.set(_chunkCOY57SZPcjs.TICKET_OPEN_PARAM, externalId);
1689
- else params.delete(_chunkCOY57SZPcjs.TICKET_OPEN_PARAM);
1688
+ if (externalId) params.set(_chunkUBRVIVY4cjs.TICKET_OPEN_PARAM, externalId);
1689
+ else params.delete(_chunkUBRVIVY4cjs.TICKET_OPEN_PARAM);
1690
1690
  const qs = params.toString();
1691
1691
  router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });
1692
1692
  },
@@ -1763,13 +1763,13 @@ function HelpCenterListAuthed({
1763
1763
  ] }),
1764
1764
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1765
1765
  ] }),
1766
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LJZWTOEcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1766
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCLPJSY3cjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1767
1767
  // Bridge state — background refetch in flight and the
1768
1768
  // optimistic placeholder was just removed by the mutation
1769
1769
  // callback. Without this branch "No tickets yet" would flash
1770
1770
  // for ~50ms between `removeOptimistic` and the server
1771
1771
  // response landing.
1772
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LJZWTOEcjs.DevCardRowSkeletonList, { rows: 1 })
1772
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCLPJSY3cjs.DevCardRowSkeletonList, { rows: 1 })
1773
1773
  ) : !hasResults ? hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1774
1774
  _chunkO4VZOA2Qcjs.EmptyState,
1775
1775
  {
@@ -1805,11 +1805,11 @@ function HelpCenterListAuthed({
1805
1805
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children: merged.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1806
1806
  HelpCenterCard,
1807
1807
  {
1808
- id: _chunkCOY57SZPcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1808
+ id: _chunkUBRVIVY4cjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1809
1809
  ticket,
1810
1810
  expanded: expandedTicketId === ticket.id,
1811
1811
  onToggle: toggleRow,
1812
- busy: _chunkNICIJRZ4cjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1812
+ busy: _chunkPETYVGEQcjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1813
1813
  supportSystemDown,
1814
1814
  onSendMessage: actions.sendMessage,
1815
1815
  onClose: actions.closeTicket,
@@ -1823,7 +1823,7 @@ function HelpCenterListAuthed({
1823
1823
  ) }),
1824
1824
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkO4VZOA2Qcjs.UnifiedPagination, { currentPage: page, totalPages })
1825
1825
  ] });
1826
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LJZWTOEcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1826
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCLPJSY3cjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1827
1827
  }
1828
1828
 
1829
1829
 
@@ -1842,4 +1842,4 @@ function HelpCenterListAuthed({
1842
1842
 
1843
1843
 
1844
1844
  exports.useTicketActions = useTicketActions; exports.mapTicketActionError = mapTicketActionError; exports.useTicketsList = useTicketsList; exports.TicketOpenForm = TicketOpenForm; exports.useTicketEngagements = useTicketEngagements; exports.TicketLinkedDeliveryCard = TicketLinkedDeliveryCard; exports.TicketReplyComposer = TicketReplyComposer; exports.TicketDetailDrawer = TicketDetailDrawer; exports.TicketRow = TicketRow; exports.TicketCenter = TicketCenter; exports.HelpCenterCard = HelpCenterCard; exports.HelpCenterCreateFormSkeleton = HelpCenterCreateFormSkeleton; exports.HelpCenterCreateForm = HelpCenterCreateForm; exports.HelpCenterList = HelpCenterList;
1845
- //# sourceMappingURL=chunk-ZT2Z2BYH.cjs.map
1845
+ //# sourceMappingURL=chunk-ACU7J5BL.cjs.map