@flamingo-stack/openframe-frontend-core 0.0.774 → 0.0.775

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 (51) hide show
  1. package/dist/{chunk-NX7P2T2U.cjs → chunk-36GYLB3Z.cjs} +3 -3
  2. package/dist/{chunk-ZHGOXDA3.cjs → chunk-3XLDYEQD.cjs} +13 -6
  3. package/dist/{chunk-4JZC624S.cjs → chunk-42JGOJCB.cjs} +8 -7
  4. package/dist/{chunk-TTQHSSHF.cjs → chunk-4LFB4YY3.cjs} +3 -3
  5. package/dist/{chunk-5Z3XL2VU.cjs → chunk-5YJWT5ZQ.cjs} +26 -26
  6. package/dist/{chunk-U332FL4C.cjs → chunk-6SJYFUGD.cjs} +5 -5
  7. package/dist/{chunk-LEVA5WO3.cjs → chunk-F67SEXCW.cjs} +13 -13
  8. package/dist/{chunk-VWUQVJ2D.cjs → chunk-FHTTRWAK.cjs} +32 -32
  9. package/dist/{chunk-Q7EXOVMT.cjs → chunk-ODF3KCRK.cjs} +10 -10
  10. package/dist/{chunk-E5E7IE7X.cjs → chunk-PMX6QNNN.cjs} +2 -2
  11. package/dist/{chunk-Q6B2DC65.cjs → chunk-TF2XYDH3.cjs} +3 -3
  12. package/dist/{chunk-HTSRAQVG.cjs → chunk-VAGZJRYV.cjs} +2 -2
  13. package/dist/{chunk-UAKXZ2KD.cjs → chunk-VDXBACD3.cjs} +16 -16
  14. package/dist/{cloud-tenants-7RNZ6GHM.cjs → cloud-tenants-ISGAMTJD.cjs} +2 -2
  15. package/dist/components/authors/author-detail-view.d.ts.map +1 -1
  16. package/dist/components/authors/author-detail-view.js +12 -2
  17. package/dist/components/case-studies/index.cjs +12 -12
  18. package/dist/components/contact/index.cjs +3 -3
  19. package/dist/components/docs/index.cjs +5 -5
  20. package/dist/components/embeds/index.cjs +3 -3
  21. package/dist/components/faq/index.cjs +3 -3
  22. package/dist/components/features/index.cjs +2 -2
  23. package/dist/components/help-center-pages/index.cjs +49 -49
  24. package/dist/components/index.cjs +30 -20
  25. package/dist/components/meeting-scheduler/index.cjs +18 -18
  26. package/dist/components/navigation/index.cjs +3 -3
  27. package/dist/components/onboarding-guides/index.cjs +4 -4
  28. package/dist/components/product-demo/index.cjs +11 -11
  29. package/dist/components/related-content/card-registry.d.ts +5 -0
  30. package/dist/components/related-content/card-registry.d.ts.map +1 -1
  31. package/dist/components/related-content/card-registry.js +2 -0
  32. package/dist/components/related-content/index.cjs +2 -2
  33. package/dist/components/related-content/related-content-section.d.ts.map +1 -1
  34. package/dist/components/related-content/related-content-section.js +11 -6
  35. package/dist/components/tickets/index.cjs +5 -5
  36. package/dist/components/ui/index.cjs +2 -2
  37. package/dist/components/ui/photo-wall.d.ts +9 -1
  38. package/dist/components/ui/photo-wall.d.ts.map +1 -1
  39. package/dist/components/ui/photo-wall.js +8 -7
  40. package/dist/{devices-NNDBC6IH.cjs → devices-AHJX6ACJ.cjs} +3 -3
  41. package/dist/index.cjs +3 -3
  42. package/dist/{knowledge-DPUMWQED.cjs → knowledge-FH5GVRVP.cjs} +2 -2
  43. package/dist/{logs-EE25MWYM.cjs → logs-JBIHHLUQ.cjs} +10 -10
  44. package/dist/{policies-H5LPZWEM.cjs → policies-XLJ2ABY5.cjs} +6 -6
  45. package/dist/{scripts-YGO4LOES.cjs → scripts-CQLXM7PP.cjs} +7 -7
  46. package/dist/{software-update-5BEB62ZH.cjs → software-update-7NYZ7L76.cjs} +5 -5
  47. package/package.json +1 -1
  48. package/src/components/authors/author-detail-view.tsx +10 -2
  49. package/src/components/related-content/card-registry.tsx +7 -0
  50. package/src/components/related-content/related-content-section.tsx +12 -2
  51. package/src/components/ui/photo-wall.tsx +19 -8
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4JZC624Scjs = require('./chunk-4JZC624S.cjs');
5
+ var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
6
6
 
7
7
 
8
8
 
@@ -209,7 +209,7 @@ function ContactForm({
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, _chunk4JZC624Scjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.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: [
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXDHVHB2cjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunk4JZC624Scjs.Textarea,
337
+ _chunk42JGOJCBcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -474,6 +474,7 @@ function programEntry(configKey) {
474
474
  href: ctx.href,
475
475
  targetPlatform: ctx.targetPlatform,
476
476
  placeholderUrl: ctx.placeholderUrl,
477
+ priority: ctx.priority,
477
478
  ...ctx.anchorAttrs
478
479
  }
479
480
  );
@@ -512,6 +513,7 @@ var RELATED_CARD_REGISTRY = {
512
513
  href: ctx.href,
513
514
  targetPlatform: ctx.targetPlatform,
514
515
  placeholderUrl: ctx.placeholderUrl,
516
+ priority: ctx.priority,
515
517
  ...ctx.anchorAttrs
516
518
  }
517
519
  )
@@ -684,7 +686,8 @@ function CardForType({
684
686
  targetPlatform,
685
687
  linkProps,
686
688
  extras,
687
- adminCampaignCard
689
+ adminCampaignCard,
690
+ priority
688
691
  }) {
689
692
  if (type === "marketing_campaign") {
690
693
  return adminCampaignCard ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, adminCampaignCard.Card, { campaign: item }) : null;
@@ -713,6 +716,7 @@ function CardForType({
713
716
  // a numeric title reached `buildOgPlaceholderUrl` as a number. `rowString`
714
717
  // makes the claim true.
715
718
  placeholderUrl: _nullishCoalesce(_optionalChain([extras, 'optionalAccess', _10 => _10.buildOgPlaceholderUrl, 'optionalCall', _11 => _11(_nullishCoalesce(rowString(item, "title"), () => ( "")))]), () => ( void 0)),
719
+ priority,
716
720
  extras
717
721
  });
718
722
  }
@@ -771,7 +775,8 @@ function ContentGroup({
771
775
  adminCampaignCard,
772
776
  heading,
773
777
  onLoadingChange,
774
- seedRows
778
+ seedRows,
779
+ leadsRail = false
775
780
  }) {
776
781
  const config = resolveGroupConfig(type);
777
782
  const isListLayout = config.layout === "list";
@@ -809,7 +814,7 @@ function ContentGroup({
809
814
  return String(typeof it === "object" && it !== null ? it.id : void 0);
810
815
  };
811
816
  const itemById = new Map(items.map((it) => [rowKey(it), it]));
812
- const cards = pageRefs.map((contentRef) => {
817
+ const cards = pageRefs.map((contentRef, index) => {
813
818
  const itemId = String(contentRef.id);
814
819
  const item = itemById.get(itemId);
815
820
  if (!item) return null;
@@ -826,7 +831,8 @@ function ContentGroup({
826
831
  targetPlatform,
827
832
  linkProps,
828
833
  extras,
829
- adminCampaignCard
834
+ adminCampaignCard,
835
+ priority: leadsRail && page === 1 && index === 0
830
836
  }
831
837
  ) }) }, itemId);
832
838
  }).filter(Boolean);
@@ -959,7 +965,7 @@ function RelatedContentSection({
959
965
  }
960
966
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
961
967
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkY3EBUFX4cjs.accentSentenceMarks.call(void 0, title) }),
962
- orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
968
+ orderedTypes.map((type, groupIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
963
969
  ContentGroup,
964
970
  {
965
971
  type,
@@ -972,7 +978,8 @@ function RelatedContentSection({
972
978
  adminCampaignCard,
973
979
  heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GroupHeading, { type }),
974
980
  onLoadingChange: onGroupLoadingChange,
975
- seedRows: _optionalChain([initialRows, 'optionalAccess', _14 => _14[type]])
981
+ seedRows: _optionalChain([initialRows, 'optionalAccess', _14 => _14[type]]),
982
+ leadsRail: groupIndex === 0
976
983
  },
977
984
  type
978
985
  ))
@@ -17356,7 +17356,8 @@ function PhotoWall({
17356
17356
  speed = 24,
17357
17357
  fadeColor,
17358
17358
  className,
17359
- loading: loadingProp = false
17359
+ loading: loadingProp = false,
17360
+ sizes
17360
17361
  }) {
17361
17362
  const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
17362
17363
  const loading = loadingProp || inScope;
@@ -17379,13 +17380,14 @@ function PhotoWall({
17379
17380
  (box.width - COLUMN_GAP_PX * (columnCount - 1)) / columnCount,
17380
17381
  typeof window === "undefined" ? 1 : window.devicePixelRatio || 1
17381
17382
  ) : void 0;
17383
+ const sizedUpFront = !!sizes && images.length > 0 && images.every((image) => image.width && image.height);
17382
17384
  const unique = _react.useMemo.call(void 0, () => {
17383
- if (requestWidth === void 0 || inScope) return [];
17385
+ if (inScope || !sizedUpFront && requestWidth === void 0) return [];
17384
17386
  const byUrl = /* @__PURE__ */ new Map();
17385
17387
  for (const image of images) if (!byUrl.has(image.url)) byUrl.set(image.url, image);
17386
17388
  return Array.from(byUrl.values());
17387
- }, [images, requestWidth, inScope]);
17388
- const drawnWidth = _nullishCoalesce(requestWidth, () => ( void 0));
17389
+ }, [images, requestWidth, inScope, sizedUpFront]);
17390
+ const drawnWidth = sizedUpFront ? void 0 : _nullishCoalesce(requestWidth, () => ( void 0));
17389
17391
  const drawnUrl = _react.useCallback.call(void 0, (url) => drawnWidth ? _chunkE76ONBKFcjs.resizedImageUrl.call(void 0, url, drawnWidth) : url, [drawnWidth]);
17390
17392
  const known = _react.useMemo.call(void 0, () => {
17391
17393
  const byUrl = /* @__PURE__ */ new Map();
@@ -17423,7 +17425,7 @@ function PhotoWall({
17423
17425
  });
17424
17426
  }, [orientations, unique, drawnUrl, columns, box]);
17425
17427
  if (images.length === 0 && !loading) return null;
17426
- const columnsToDraw = loading || requestWidth === void 0 ? null : layout;
17428
+ const columnsToDraw = loading || !sizedUpFront && requestWidth === void 0 ? null : layout;
17427
17429
  const gridStyle = {
17428
17430
  gridTemplateColumns: `repeat(${_optionalChain([columnsToDraw, 'optionalAccess', _365 => _365.length]) || columns}, minmax(0, 1fr))`,
17429
17431
  gap: COLUMN_GAP_PX
@@ -17453,8 +17455,7 @@ function PhotoWall({
17453
17455
  alt: _nullishCoalesce(photo.alt, () => ( "")),
17454
17456
  fill: true,
17455
17457
  className: "object-cover",
17456
- optimizedWidth: drawnWidth,
17457
- unoptimized: true,
17458
+ ...sizedUpFront ? { sizes } : { optimizedWidth: drawnWidth, unoptimized: true },
17458
17459
  loading: i < EAGER_PHOTOS_PER_COLUMN ? "eager" : "lazy",
17459
17460
  fetchPriority: index === 0 && i === 0 ? "high" : void 0
17460
17461
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk4JZC624Scjs = require('./chunk-4JZC624S.cjs');
4
+ var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
5
5
 
6
6
 
7
7
  var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
48
48
  ] });
49
49
  }
50
50
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51
- _chunk4JZC624Scjs.EmbedViewerFrame,
51
+ _chunk42JGOJCBcjs.EmbedViewerFrame,
52
52
  {
53
53
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
54
54
  title: displayName,
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
86
- _chunk4JZC624Scjs.EmbedViewerFrame,
86
+ _chunk42JGOJCBcjs.EmbedViewerFrame,
87
87
  {
88
88
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
89
89
  title: displayName,
@@ -1,7 +1,7 @@
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 _chunkNX7P2T2Ucjs = require('./chunk-NX7P2T2U.cjs');
4
+ var _chunk36GYLB3Zcjs = require('./chunk-36GYLB3Z.cjs');
5
5
 
6
6
 
7
7
 
@@ -9,7 +9,7 @@ var _chunkNX7P2T2Ucjs = require('./chunk-NX7P2T2U.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkU332FL4Ccjs = require('./chunk-U332FL4C.cjs');
12
+ var _chunk6SJYFUGDcjs = require('./chunk-6SJYFUGD.cjs');
13
13
 
14
14
 
15
15
 
@@ -29,7 +29,7 @@ var _chunkUSMR73NDcjs = require('./chunk-USMR73ND.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunk4JZC624Scjs = require('./chunk-4JZC624S.cjs');
32
+ var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
33
33
 
34
34
 
35
35
 
@@ -689,7 +689,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
689
689
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
690
690
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
691
691
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
692
- _chunk4JZC624Scjs.Textarea,
692
+ _chunk42JGOJCBcjs.Textarea,
693
693
  {
694
694
  id: "ticket-content",
695
695
  placeholder: "Describe your issue or question in detail...",
@@ -819,7 +819,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
819
819
  dateClosed: clickup.date_closed,
820
820
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
821
821
  };
822
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkY3EBUFX4cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU332FL4Ccjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
822
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkY3EBUFX4cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
823
823
  }
824
824
 
825
825
  // src/components/tickets/ticket-reply-composer.tsx
@@ -901,13 +901,13 @@ function TicketReplyComposer({
901
901
  }
902
902
  )
903
903
  ] }),
904
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JZC624Scjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
905
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JZC624Scjs.AlertDialogHeader, { children: [
906
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
907
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
904
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk42JGOJCBcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
905
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk42JGOJCBcjs.AlertDialogHeader, { children: [
906
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
907
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
908
908
  ] }),
909
909
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
910
- _chunk4JZC624Scjs.Textarea,
910
+ _chunk42JGOJCBcjs.Textarea,
911
911
  {
912
912
  value: resolution,
913
913
  onChange: (e) => setResolution(e.target.value),
@@ -917,9 +917,9 @@ function TicketReplyComposer({
917
917
  className: "mt-2"
918
918
  }
919
919
  ),
920
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JZC624Scjs.AlertDialogFooter, { children: [
920
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk42JGOJCBcjs.AlertDialogFooter, { children: [
921
921
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
922
- _chunk4JZC624Scjs.AlertDialogCancel,
922
+ _chunk42JGOJCBcjs.AlertDialogCancel,
923
923
  {
924
924
  disabled: busy,
925
925
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -927,7 +927,7 @@ function TicketReplyComposer({
927
927
  }
928
928
  ),
929
929
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
930
- _chunk4JZC624Scjs.AlertDialogAction,
930
+ _chunk42JGOJCBcjs.AlertDialogAction,
931
931
  {
932
932
  onClick: () => void confirmClose(),
933
933
  disabled: busy,
@@ -1085,7 +1085,7 @@ function TicketTimelinePanel({ ticket }) {
1085
1085
  avatarUrl: avatarSrc,
1086
1086
  timeLabel: eng.createdAt ? _chunkEHJE3UWZcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1087
1087
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1088
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1088
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1089
1089
  },
1090
1090
  eng.id
1091
1091
  );
@@ -1331,7 +1331,7 @@ function TicketCenterAuthed({
1331
1331
  const toggleRow = _react.useCallback.call(void 0, (id) => {
1332
1332
  setExpandedTicketId((prev) => prev === id ? null : id);
1333
1333
  }, []);
1334
- const syncInPage = _chunkU332FL4Ccjs.usePageDataSync.call(void 0, sync, isLoading);
1334
+ const syncInPage = _chunk6SJYFUGDcjs.usePageDataSync.call(void 0, sync, isLoading);
1335
1335
  const merged = [...optimisticTickets, ...tickets];
1336
1336
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1337
1337
  TicketCenterView,
@@ -1366,7 +1366,7 @@ function TicketCenterAuthed({
1366
1366
  function TicketCenterPending({
1367
1367
  region = true
1368
1368
  } = {}) {
1369
- const syncInPage = _chunkU332FL4Ccjs.usePageDataSync.call(void 0, null, true);
1369
+ const syncInPage = _chunk6SJYFUGDcjs.usePageDataSync.call(void 0, null, true);
1370
1370
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading tickets", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1371
1371
  TicketCenterView,
1372
1372
  {
@@ -1429,7 +1429,7 @@ function TicketListHeader({
1429
1429
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
1430
1430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
1431
1431
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
1432
- sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1432
+ sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1433
1433
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1434
1434
  _chunkTF5D5MNOcjs.Button,
1435
1435
  {
@@ -1549,7 +1549,7 @@ function HelpCenterCard({
1549
1549
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1550
1550
  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 content-md:p-[16px]",
1551
1551
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1552
- _chunkU332FL4Ccjs.DevCardRowContent,
1552
+ _chunk6SJYFUGDcjs.DevCardRowContent,
1553
1553
  {
1554
1554
  title,
1555
1555
  subtitle,
@@ -1660,7 +1660,7 @@ function HelpCenterCreateForm({
1660
1660
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1661
1661
  ] });
1662
1662
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1663
- _chunkNX7P2T2Ucjs.ContactForm,
1663
+ _chunk36GYLB3Zcjs.ContactForm,
1664
1664
  {
1665
1665
  rescue: null,
1666
1666
  title: "Open a new ticket",
@@ -1709,19 +1709,19 @@ function HelpCenterList({ toast: toast2 = _chunkE64HPPRHcjs.toast, backButton, t
1709
1709
  const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1710
1710
  if (identity.isLoading) {
1711
1711
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1712
- _chunkU332FL4Ccjs.DevSectionPage,
1712
+ _chunk6SJYFUGDcjs.DevSectionPage,
1713
1713
  {
1714
1714
  sectionKey: "tickets",
1715
1715
  backButton,
1716
1716
  title,
1717
1717
  shell,
1718
1718
  preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
1719
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU332FL4Ccjs.DevCardRowSkeletonList, { rows: TICKETS_PAGE_SIZE })
1719
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DevCardRowSkeletonList, { rows: TICKETS_PAGE_SIZE })
1720
1720
  }
1721
1721
  );
1722
1722
  }
1723
1723
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _67 => _67.user, 'optionalAccess', _68 => _68.email])) {
1724
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU332FL4Ccjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1724
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1725
1725
  _chunk5AOKXXHVcjs.EmptyState,
1726
1726
  {
1727
1727
  type: "generic",
@@ -1851,15 +1851,15 @@ function HelpCenterListAuthed({
1851
1851
  ] }),
1852
1852
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1853
1853
  ] }),
1854
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU332FL4Ccjs.DevCardRowSkeletonList, { rows: pageSize }) : !hasResults && isFetching ? (
1854
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DevCardRowSkeletonList, { rows: pageSize }) : !hasResults && isFetching ? (
1855
1855
  // Bridge state — background refetch in flight and the
1856
1856
  // optimistic placeholder was just removed by the mutation
1857
1857
  // callback. Without this branch "No tickets yet" would flash
1858
1858
  // for ~50ms between `removeOptimistic` and the server
1859
1859
  // response landing.
1860
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU332FL4Ccjs.DevCardRowSkeletonList, { rows: 1 })
1860
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DevCardRowSkeletonList, { rows: 1 })
1861
1861
  ) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1862
- _chunkU332FL4Ccjs.ListEmptyState,
1862
+ _chunk6SJYFUGDcjs.ListEmptyState,
1863
1863
  {
1864
1864
  isFiltered: hasActiveFilters,
1865
1865
  filtered: {
@@ -1908,7 +1908,7 @@ function HelpCenterListAuthed({
1908
1908
  ) }),
1909
1909
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5AOKXXHVcjs.UnifiedPagination, { currentPage: page, totalPages })
1910
1910
  ] });
1911
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU332FL4Ccjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1911
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1912
1912
  }
1913
1913
 
1914
1914
 
@@ -15,7 +15,7 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunk4JZC624Scjs = require('./chunk-4JZC624S.cjs');
18
+ var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
19
19
 
20
20
 
21
21
  var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
106
106
  function PageDataSyncRow({ inline = false }) {
107
107
  const context = _react.useContext.call(void 0, PageDataSyncContext);
108
108
  if (!context) return null;
109
- const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
109
+ const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
110
110
  return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
111
111
  }
112
112
  function usePageDataSync(sync, loading) {
@@ -167,7 +167,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
167
167
  preControls,
168
168
  (search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
169
169
  search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
170
- _chunk4JZC624Scjs.SearchInput,
170
+ _chunk42JGOJCBcjs.SearchInput,
171
171
  {
172
172
  showDropdown: false,
173
173
  placeholder: search.placeholder,
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
177
177
  }
178
178
  ),
179
179
  filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
180
- _chunk4JZC624Scjs.StatusFilterComponent,
180
+ _chunk42JGOJCBcjs.StatusFilterComponent,
181
181
  {
182
182
  selectedStatus: currentFilterValue,
183
183
  onStatusChange: handleFilterChange,
@@ -229,7 +229,7 @@ function DevSectionPage({
229
229
  }
230
230
  )
231
231
  );
232
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
232
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
233
233
  }
234
234
 
235
235
  // src/components/shared/dev-section/dev-card-row.tsx
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkTTQHSSHFcjs = require('./chunk-TTQHSSHF.cjs');
6
+ var _chunk4LFB4YY3cjs = require('./chunk-4LFB4YY3.cjs');
7
7
 
8
8
 
9
9
 
@@ -13,14 +13,14 @@ var _chunkSWEPHSIPcjs = require('./chunk-SWEPHSIP.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkE5E7IE7Xcjs = require('./chunk-E5E7IE7X.cjs');
16
+ var _chunkPMX6QNNNcjs = require('./chunk-PMX6QNNN.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk4JZC624Scjs = require('./chunk-4JZC624S.cjs');
23
+ var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
24
24
 
25
25
 
26
26
  var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
@@ -354,7 +354,7 @@ function toDocContent(value, requestedPath) {
354
354
  function toDataSync(value) {
355
355
  if (!isRecord(value)) return void 0;
356
356
  const source = readString(value, "source");
357
- if (!_chunk4JZC624Scjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunk42JGOJCBcjs.isDataSyncSource.call(void 0, source)) return void 0;
358
358
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
359
359
  }
360
360
  function useDocumentTree(config, initialPath) {
@@ -760,7 +760,7 @@ function DocViewerContent({
760
760
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
761
761
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
762
762
  };
763
- const docSearch = _chunkE5E7IE7Xcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunkPMX6QNNNcjs.useDocSearch.call(void 0, {
764
764
  source: chatSource,
765
765
  baseRoute,
766
766
  searchEndpoint,
@@ -796,9 +796,9 @@ function DocViewerContent({
796
796
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
797
797
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
798
798
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
799
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
799
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkE5E7IE7Xcjs.DocSearchBar,
801
+ _chunkPMX6QNNNcjs.DocSearchBar,
802
802
  {
803
803
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
804
804
  query: docSearch.query,
@@ -887,7 +887,7 @@ function DocViewerContent({
887
887
  ) })
888
888
  ] })
889
889
  ] }) }) });
890
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
890
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
891
891
  }
892
892
 
893
893
  // src/components/docs/skeletons.tsx
@@ -949,7 +949,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
949
949
  ] }),
950
950
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
951
951
  ] }),
952
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.EmbedLoadingSkeleton, { region: false })
952
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.EmbedLoadingSkeleton, { region: false })
953
953
  ] });
954
954
  }
955
955
 
@@ -957,11 +957,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
957
957
 
958
958
  var DEFAULT_TITLE = "Documents";
959
959
  var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
960
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTTQHSSHFcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
961
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTTQHSSHFcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
962
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JZC624Scjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
960
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LFB4YY3cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
961
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LFB4YY3cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
962
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
963
963
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
964
- _chunkTTQHSSHFcjs.FileDownloadCard,
964
+ _chunk4LFB4YY3cjs.FileDownloadCard,
965
965
  {
966
966
  fileName: content.fileName,
967
967
  mimeType: content.mimeType,