@flamingo-stack/openframe-frontend-core 0.0.596-2034.5686.1 → 0.0.596-2034.5687.1

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 (109) hide show
  1. package/dist/{chunk-HPUD7X67.cjs → chunk-26GIURMP.cjs} +4 -4
  2. package/dist/{chunk-HPUD7X67.cjs.map → chunk-26GIURMP.cjs.map} +1 -1
  3. package/dist/{chunk-JVYNMMNE.js → chunk-2VGIM6WY.js} +2 -2
  4. package/dist/{chunk-TYURDSIN.js → chunk-36PHDSTO.js} +1 -1
  5. package/dist/{chunk-TYURDSIN.js.map → chunk-36PHDSTO.js.map} +1 -1
  6. package/dist/{chunk-BLYQD3PG.js → chunk-47IZN43H.js} +2 -2
  7. package/dist/{chunk-Y6JB7X5Y.js → chunk-5JMMSSMV.js} +2 -2
  8. package/dist/{chunk-YP56SX7C.cjs → chunk-6QBKSVAZ.cjs} +3 -3
  9. package/dist/{chunk-YP56SX7C.cjs.map → chunk-6QBKSVAZ.cjs.map} +1 -1
  10. package/dist/{chunk-ZVBYWM5Z.js → chunk-AOANH6ZJ.js} +2 -2
  11. package/dist/{chunk-3IT35YDV.cjs → chunk-BTRH2YFY.cjs} +49 -49
  12. package/dist/{chunk-3IT35YDV.cjs.map → chunk-BTRH2YFY.cjs.map} +1 -1
  13. package/dist/{chunk-YQYOEGAT.cjs → chunk-DYTFM2MX.cjs} +16 -16
  14. package/dist/{chunk-YQYOEGAT.cjs.map → chunk-DYTFM2MX.cjs.map} +1 -1
  15. package/dist/{chunk-IDDGXYES.cjs → chunk-E2ALHISW.cjs} +17 -17
  16. package/dist/{chunk-IDDGXYES.cjs.map → chunk-E2ALHISW.cjs.map} +1 -1
  17. package/dist/{chunk-GZ76RASF.js → chunk-EWBOBUCM.js} +4 -4
  18. package/dist/{chunk-MN4TFBRA.cjs → chunk-H7NBAAIH.cjs} +3 -3
  19. package/dist/{chunk-MN4TFBRA.cjs.map → chunk-H7NBAAIH.cjs.map} +1 -1
  20. package/dist/{chunk-TZK5N6AH.cjs → chunk-JF56KVHW.cjs} +1 -1
  21. package/dist/{chunk-TZK5N6AH.cjs.map → chunk-JF56KVHW.cjs.map} +1 -1
  22. package/dist/{chunk-FIQIT6HX.js → chunk-KJ4O6NSF.js} +2 -2
  23. package/dist/{chunk-25LZZY6E.cjs → chunk-KQ2X5FUP.cjs} +3 -3
  24. package/dist/{chunk-25LZZY6E.cjs.map → chunk-KQ2X5FUP.cjs.map} +1 -1
  25. package/dist/{chunk-J5EA7PMY.js → chunk-MEHPKLH5.js} +4 -4
  26. package/dist/{chunk-FGHJ3BC7.js → chunk-MRW4QU2L.js} +2 -2
  27. package/dist/{chunk-S7LV66HD.js → chunk-NM5Q56PX.js} +5 -5
  28. package/dist/{chunk-A6YERC4N.js → chunk-PHNFKPWJ.js} +2 -2
  29. package/dist/{chunk-AYMBMVOD.js → chunk-PMIKKJMI.js} +2 -2
  30. package/dist/{chunk-PO4ATWE4.js → chunk-PWXQBKFP.js} +2 -2
  31. package/dist/{chunk-ZXEYS2XP.cjs → chunk-R6IV75YP.cjs} +17 -17
  32. package/dist/{chunk-ZXEYS2XP.cjs.map → chunk-R6IV75YP.cjs.map} +1 -1
  33. package/dist/{chunk-QVOGALQE.cjs → chunk-SQXNSIGS.cjs} +3 -3
  34. package/dist/{chunk-QVOGALQE.cjs.map → chunk-SQXNSIGS.cjs.map} +1 -1
  35. package/dist/{chunk-TDLETTI4.cjs → chunk-SSUJ4Z62.cjs} +10 -10
  36. package/dist/{chunk-TDLETTI4.cjs.map → chunk-SSUJ4Z62.cjs.map} +1 -1
  37. package/dist/{chunk-E4YWJY3A.cjs → chunk-VNQ2LF6G.cjs} +4 -4
  38. package/dist/{chunk-E4YWJY3A.cjs.map → chunk-VNQ2LF6G.cjs.map} +1 -1
  39. package/dist/{chunk-AGKFT4FA.js → chunk-VZMCNCW5.js} +5 -5
  40. package/dist/{chunk-SLIUM3VO.cjs → chunk-WVSUQTPS.cjs} +34 -34
  41. package/dist/{chunk-SLIUM3VO.cjs.map → chunk-WVSUQTPS.cjs.map} +1 -1
  42. package/dist/{chunk-QNZM43HU.js → chunk-XIEV46BX.js} +3 -3
  43. package/dist/{chunk-D3Q3VYRU.cjs → chunk-XW4JIRYE.cjs} +13 -13
  44. package/dist/{chunk-D3Q3VYRU.cjs.map → chunk-XW4JIRYE.cjs.map} +1 -1
  45. package/dist/{chunk-OI7RNQAS.cjs → chunk-Y3VGUQIW.cjs} +33 -33
  46. package/dist/{chunk-OI7RNQAS.cjs.map → chunk-Y3VGUQIW.cjs.map} +1 -1
  47. package/dist/components/case-studies/index.cjs +8 -8
  48. package/dist/components/case-studies/index.js +2 -2
  49. package/dist/components/contact/index.cjs +3 -3
  50. package/dist/components/contact/index.js +2 -2
  51. package/dist/components/docs/index.cjs +6 -6
  52. package/dist/components/docs/index.js +5 -5
  53. package/dist/components/embeds/index.cjs +3 -3
  54. package/dist/components/embeds/index.js +2 -2
  55. package/dist/components/faq/index.cjs +3 -3
  56. package/dist/components/faq/index.js +2 -2
  57. package/dist/components/features/index.cjs +2 -2
  58. package/dist/components/features/index.js +1 -1
  59. package/dist/components/help-center-pages/index.cjs +22 -22
  60. package/dist/components/help-center-pages/index.js +13 -13
  61. package/dist/components/index.cjs +31 -31
  62. package/dist/components/index.js +12 -12
  63. package/dist/components/meeting-scheduler/booking-form.d.ts +4 -2
  64. package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
  65. package/dist/components/meeting-scheduler/index.cjs +43 -33
  66. package/dist/components/meeting-scheduler/index.cjs.map +1 -1
  67. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  68. package/dist/components/meeting-scheduler/index.js +24 -14
  69. package/dist/components/meeting-scheduler/index.js.map +1 -1
  70. package/dist/components/navigation/index.cjs +5 -5
  71. package/dist/components/navigation/index.js +4 -4
  72. package/dist/components/onboarding-guides/index.cjs +5 -5
  73. package/dist/components/onboarding-guides/index.js +4 -4
  74. package/dist/components/tickets/index.cjs +6 -6
  75. package/dist/components/tickets/index.js +5 -5
  76. package/dist/components/ui/index.cjs +2 -2
  77. package/dist/components/ui/index.js +1 -1
  78. package/dist/components/ui/policy-link.d.ts.map +1 -1
  79. package/dist/hooks/use-meeting-booking.d.ts +2 -0
  80. package/dist/hooks/use-meeting-booking.d.ts.map +1 -1
  81. package/dist/index.cjs +6 -6
  82. package/dist/index.js +5 -5
  83. package/dist/schemas/meeting-booking-schema.cjs +4 -0
  84. package/dist/schemas/meeting-booking-schema.cjs.map +1 -1
  85. package/dist/schemas/meeting-booking-schema.d.ts +2 -0
  86. package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
  87. package/dist/schemas/meeting-booking-schema.js +4 -1
  88. package/dist/schemas/meeting-booking-schema.js.map +1 -1
  89. package/package.json +1 -1
  90. package/src/__tests__/meeting-scheduler-details-first.test.tsx +1 -0
  91. package/src/components/meeting-scheduler/booking-form.tsx +18 -9
  92. package/src/components/meeting-scheduler/index.tsx +17 -15
  93. package/src/components/ui/policy-link.tsx +2 -0
  94. package/src/hooks/use-meeting-booking.ts +4 -1
  95. package/src/schemas/meeting-booking-schema.ts +5 -0
  96. /package/dist/{chunk-JVYNMMNE.js.map → chunk-2VGIM6WY.js.map} +0 -0
  97. /package/dist/{chunk-BLYQD3PG.js.map → chunk-47IZN43H.js.map} +0 -0
  98. /package/dist/{chunk-Y6JB7X5Y.js.map → chunk-5JMMSSMV.js.map} +0 -0
  99. /package/dist/{chunk-ZVBYWM5Z.js.map → chunk-AOANH6ZJ.js.map} +0 -0
  100. /package/dist/{chunk-GZ76RASF.js.map → chunk-EWBOBUCM.js.map} +0 -0
  101. /package/dist/{chunk-FIQIT6HX.js.map → chunk-KJ4O6NSF.js.map} +0 -0
  102. /package/dist/{chunk-J5EA7PMY.js.map → chunk-MEHPKLH5.js.map} +0 -0
  103. /package/dist/{chunk-FGHJ3BC7.js.map → chunk-MRW4QU2L.js.map} +0 -0
  104. /package/dist/{chunk-S7LV66HD.js.map → chunk-NM5Q56PX.js.map} +0 -0
  105. /package/dist/{chunk-A6YERC4N.js.map → chunk-PHNFKPWJ.js.map} +0 -0
  106. /package/dist/{chunk-AYMBMVOD.js.map → chunk-PMIKKJMI.js.map} +0 -0
  107. /package/dist/{chunk-PO4ATWE4.js.map → chunk-PWXQBKFP.js.map} +0 -0
  108. /package/dist/{chunk-AGKFT4FA.js.map → chunk-VZMCNCW5.js.map} +0 -0
  109. /package/dist/{chunk-QNZM43HU.js.map → chunk-XIEV46BX.js.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  SoftwareInfo,
16
16
  SoftwareSourceBadge,
17
17
  ToolBadge
18
- } from "../chunk-FGHJ3BC7.js";
18
+ } from "../chunk-MRW4QU2L.js";
19
19
  import {
20
20
  AppHeader,
21
21
  AppLayout,
@@ -34,7 +34,7 @@ import {
34
34
  SlidingSidebar,
35
35
  TicketAlertsButton,
36
36
  TopNavigation
37
- } from "../chunk-QNZM43HU.js";
37
+ } from "../chunk-XIEV46BX.js";
38
38
  import {
39
39
  DeliveryLists,
40
40
  DeliveryTable,
@@ -48,7 +48,7 @@ import {
48
48
  RoadmapView,
49
49
  useLegalDocs,
50
50
  useRoadmapVoting
51
- } from "../chunk-J5EA7PMY.js";
51
+ } from "../chunk-MEHPKLH5.js";
52
52
  import {
53
53
  DocNavigationProvider,
54
54
  DocViewer,
@@ -62,12 +62,12 @@ import {
62
62
  useDocNavigation,
63
63
  useDocumentTree,
64
64
  useScrollSpy
65
- } from "../chunk-AGKFT4FA.js";
65
+ } from "../chunk-VZMCNCW5.js";
66
66
  import {
67
67
  FileDownloadCard,
68
68
  GoogleSheetsViewer,
69
69
  PdfViewer
70
- } from "../chunk-A6YERC4N.js";
70
+ } from "../chunk-PHNFKPWJ.js";
71
71
  import {
72
72
  PersistentPagination,
73
73
  PersistentPaginationWrapper,
@@ -77,13 +77,13 @@ import {
77
77
  FaqAccordion,
78
78
  FaqDocumentPage,
79
79
  FaqSection
80
- } from "../chunk-Y6JB7X5Y.js";
80
+ } from "../chunk-5JMMSSMV.js";
81
81
  import {
82
82
  MobileNavigationDropdown,
83
83
  MultiLevelNavigation,
84
84
  StickySectionNav,
85
85
  useSectionNavigation
86
- } from "../chunk-FIQIT6HX.js";
86
+ } from "../chunk-KJ4O6NSF.js";
87
87
  import {
88
88
  DeliveryRow,
89
89
  DevCardRowContent,
@@ -91,16 +91,16 @@ import {
91
91
  DevCardRowSkeletonList,
92
92
  DevSectionPage,
93
93
  DevSectionView
94
- } from "../chunk-ZVBYWM5Z.js";
94
+ } from "../chunk-AOANH6ZJ.js";
95
95
  import {
96
96
  EmptyState,
97
97
  UnifiedPagination
98
98
  } from "../chunk-2JNCZDJR.js";
99
- import "../chunk-AYMBMVOD.js";
99
+ import "../chunk-PMIKKJMI.js";
100
100
  import {
101
101
  ArticleAuthorByline,
102
102
  DetailPageSkeleton
103
- } from "../chunk-PO4ATWE4.js";
103
+ } from "../chunk-PWXQBKFP.js";
104
104
  import {
105
105
  DocSearchBar,
106
106
  DocSearchResultRow,
@@ -108,7 +108,7 @@ import {
108
108
  mapDocSearchResults,
109
109
  resolveSearchResultAction,
110
110
  useDocSearch
111
- } from "../chunk-BLYQD3PG.js";
111
+ } from "../chunk-47IZN43H.js";
112
112
  import {
113
113
  useSelfFetch
114
114
  } from "../chunk-WZJOILPU.js";
@@ -614,7 +614,7 @@ import {
614
614
  useTimeTracker,
615
615
  useTrackerClock,
616
616
  useWalkthroughVideo
617
- } from "../chunk-TYURDSIN.js";
617
+ } from "../chunk-36PHDSTO.js";
618
618
  import "../chunk-L2SLFCXP.js";
619
619
  import "../chunk-BJXDHKUX.js";
620
620
  import {
@@ -107,8 +107,10 @@ export declare function BookingForm({ availability, meetingId, startTimeMs, dura
107
107
  *
108
108
  * The slot-first skeleton (`SlotPickerSkeleton`) would put a grey calendar
109
109
  * where the form belongs — above the fold on a page whose entire content is
110
- * this card. Same footprint discipline as its sibling: fixed heights, no shift
111
- * when the real form swaps in.
110
+ * this card. Same footprint discipline as its sibling: fixed heights, and no
111
+ * shift when the real form swaps in for single-line fields. A textarea row is
112
+ * taller than its placeholder — the rows carry no type, so the skeleton cannot
113
+ * know which slot is one.
112
114
  */
113
115
  export declare function BookingFormSkeleton({ fieldRows, footerNote }: {
114
116
  fieldRows?: BookingFieldRow[];
@@ -1 +1 @@
1
- {"version":3,"file":"booking-form.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/booking-form.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAa,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAEL,KAAK,uBAAuB,EAM5B,KAAK,mBAAmB,EAIzB,MAAM,sCAAsC,CAAC;AAqB9C;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,yFAAyF;IACzF,IAAI,EAAE,uBAAuB,GAAG,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IAChE,gFAAgF;IAChF,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,+EAA+E;AAC/E,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,UAAU,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAiBD;6CAC6C;AAC7C,QAAA,MAAM,UAAU;;;;;CAKN,CAAC;AAKX,0GAA0G;AAC1G,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAYtD;iFACiF;AACjF,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,gBAIvD,CAAC;AAoJF,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,mBAAmB,CAA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2Q.cjs');
23
23
 
24
24
 
25
25
 
26
- var _chunkTZK5N6AHcjs = require('../../chunk-TZK5N6AH.cjs');
26
+ var _chunkJF56KVHWcjs = require('../../chunk-JF56KVHW.cjs');
27
27
  require('../../chunk-GQWM3ECA.cjs');
28
28
  require('../../chunk-TON3YCCW.cjs');
29
29
 
@@ -246,13 +246,14 @@ var AVAILABILITY_STALE_MS = 0;
246
246
  function meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset) {
247
247
  return ["meeting-availability", apiBaseUrl, meetingId, monthOffset];
248
248
  }
249
+ var BOOKING_IN_FLIGHT_MESSAGE = "Already submitting";
249
250
  function useMeetingBooking(options) {
250
251
  const { meetingId, apiBaseUrl = "", initialAvailability } = options;
251
252
  const queryClient = _reactquery.useQueryClient.call(void 0, );
252
253
  const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _3 => _3.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
253
254
  const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
254
255
  const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
255
- setMonthOffsetState(Math.max(0, Math.min(_chunkTZK5N6AHcjs.MAX_MONTH_OFFSET, offset)));
256
+ setMonthOffsetState(Math.max(0, Math.min(_chunkJF56KVHWcjs.MAX_MONTH_OFFSET, offset)));
256
257
  }, []);
257
258
  const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
258
259
  _react.useLayoutEffect.call(void 0, () => {
@@ -303,7 +304,7 @@ function useMeetingBooking(options) {
303
304
  const { mutateAsync } = bookMutation;
304
305
  const book = _react.useCallback.call(void 0,
305
306
  async (payload) => {
306
- if (submittingRef.current !== null) return { ok: false, code: "VALIDATION", message: "Already submitting" };
307
+ if (submittingRef.current !== null) return { ok: false, code: "VALIDATION", message: BOOKING_IN_FLIGHT_MESSAGE };
307
308
  const submitToken = {};
308
309
  submittingRef.current = submitToken;
309
310
  try {
@@ -379,7 +380,7 @@ var FIELD_CONTROLS = {
379
380
  }
380
381
  ),
381
382
  textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
382
- _chunkTZK5N6AHcjs.Textarea,
383
+ _chunkJF56KVHWcjs.Textarea,
383
384
  {
384
385
  id,
385
386
  required: field.required,
@@ -405,9 +406,9 @@ var FIELD_CONTROLS = {
405
406
  {
406
407
  control,
407
408
  name: registerName,
408
- render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTZK5N6AHcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
409
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.SelectValue, { placeholder: "Select\u2026" }) }),
410
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.SelectItem, { value: opt, children: opt }, opt)) })
409
+ render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJF56KVHWcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
410
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectValue, { placeholder: "Select\u2026" }) }),
411
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectItem, { value: opt, children: opt }, opt)) })
411
412
  ] })
412
413
  }
413
414
  ),
@@ -417,14 +418,14 @@ var FIELD_CONTROLS = {
417
418
  control,
418
419
  name: registerName,
419
420
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
420
- _chunkTZK5N6AHcjs.RadioGroup,
421
+ _chunkJF56KVHWcjs.RadioGroup,
421
422
  {
422
423
  value: _nullishCoalesce(rhf.value, () => ( "")),
423
424
  onValueChange: rhf.onChange,
424
425
  "aria-required": field.required || void 0,
425
426
  "aria-invalid": Boolean(error),
426
427
  children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
427
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
428
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
428
429
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: `${id}-${opt}`, children: opt })
429
430
  ] }, opt))
430
431
  }
@@ -589,7 +590,7 @@ function BookingForm({
589
590
  }
590
591
  );
591
592
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, children: [
592
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.HoneypotField, { ...honeypotInputProps }),
593
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.HoneypotField, { ...honeypotInputProps }),
593
594
  fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
594
595
  placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
595
596
  [...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
@@ -602,7 +603,7 @@ function BookingForm({
602
603
  supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
603
604
  ] }),
604
605
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
605
- _chunkTZK5N6AHcjs.CheckboxBlock,
606
+ _chunkJF56KVHWcjs.CheckboxBlock,
606
607
  {
607
608
  id: "ms-host-consent",
608
609
  checked: consented,
@@ -637,7 +638,7 @@ function BookingForm({
637
638
  // same block the waitlist form uses): box + label in one
638
639
  // bordered row.
639
640
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
640
- _chunkTZK5N6AHcjs.CheckboxBlock,
641
+ _chunkJF56KVHWcjs.CheckboxBlock,
641
642
  {
642
643
  id: `ms-consent-${box.communicationTypeId}`,
643
644
  checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _22 => _22.consented]), () => ( false)),
@@ -676,10 +677,17 @@ function BookingFormSkeleton({ fieldRows, footerNote }) {
676
677
  }
677
678
  function normalizeFieldRows(fieldRows, resolves = () => true) {
678
679
  const seen = /* @__PURE__ */ new Set();
679
- const rows = fieldRows.map((row) => {
680
- const kept = row.filter((slot) => resolves(slot.name) && !seen.has(slot.name) && Boolean(seen.add(slot.name)));
681
- return kept.length === row.length ? kept : kept.map((slot) => ({ name: slot.name }));
682
- }).filter((row) => row.length > 0);
680
+ const rows = [];
681
+ for (const row of fieldRows) {
682
+ const kept = [];
683
+ for (const slot of row) {
684
+ if (!resolves(slot.name) || seen.has(slot.name)) continue;
685
+ seen.add(slot.name);
686
+ kept.push(slot);
687
+ }
688
+ if (kept.length === 0) continue;
689
+ rows.push(kept.length === row.length ? kept : kept.map((slot) => ({ name: slot.name })));
690
+ }
683
691
  const named = new Set(fieldRows.flat().map((slot) => slot.name));
684
692
  const unplacedBuiltIns = BUILT_IN_BOOKING_FIELDS.filter((f) => !named.has(f.name));
685
693
  return { rows, unplacedBuiltIns, named };
@@ -742,7 +750,7 @@ function ContextPanelSkeleton({
742
750
  backLabel = "Back"
743
751
  }) {
744
752
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
745
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
753
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
746
754
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
747
755
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
748
756
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] lg:flex-none", children: [
@@ -790,7 +798,7 @@ function SchedulerContextPanel({
790
798
  return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
791
799
  }, [timezone]);
792
800
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
793
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
801
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
794
802
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
795
803
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
796
804
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
@@ -852,7 +860,7 @@ function SchedulerContextPanel({
852
860
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
853
861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
854
862
  timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
855
- _chunkTZK5N6AHcjs.Autocomplete,
863
+ _chunkJF56KVHWcjs.Autocomplete,
856
864
  {
857
865
  value: timezone,
858
866
  disabled,
@@ -939,18 +947,18 @@ var NOOP = () => void 0;
939
947
  function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
940
948
  const now = /* @__PURE__ */ new Date();
941
949
  const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
942
- const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkTZK5N6AHcjs.MAX_MONTH_OFFSET + 1, 0);
950
+ const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkJF56KVHWcjs.MAX_MONTH_OFFSET + 1, 0);
943
951
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
944
952
  const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _27 => _27.has, 'call', _28 => _28(calendarDayKey(day))]), [slotsByDay]);
945
953
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
946
- _chunkTZK5N6AHcjs.DatePickerCalendar,
954
+ _chunkJF56KVHWcjs.DatePickerCalendar,
947
955
  {
948
956
  mode: "single",
949
957
  bare: true,
950
958
  month: visibleMonth,
951
959
  onMonthChange: (month) => {
952
960
  const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
953
- onMonthOffsetChange(Math.max(0, Math.min(_chunkTZK5N6AHcjs.MAX_MONTH_OFFSET, offset)));
961
+ onMonthOffsetChange(Math.max(0, Math.min(_chunkJF56KVHWcjs.MAX_MONTH_OFFSET, offset)));
954
962
  },
955
963
  fromDate: startMonth,
956
964
  toDate: endMonth,
@@ -1070,7 +1078,7 @@ function SlotPicker({
1070
1078
  monthLabelFor(monthOffset),
1071
1079
  "."
1072
1080
  ] }),
1073
- monthOffset < _chunkTZK5N6AHcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1081
+ monthOffset < _chunkJF56KVHWcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1074
1082
  _chunkCJBSU3XBcjs.Button,
1075
1083
  {
1076
1084
  variant: "outline",
@@ -1428,7 +1436,7 @@ function HubSpotMeetingScheduler({
1428
1436
  const priorError = bookingError;
1429
1437
  setBookingError(null);
1430
1438
  const result = await book(payload);
1431
- if (!result.ok && result.message === "Already submitting") {
1439
+ if (!result.ok && result.message === BOOKING_IN_FLIGHT_MESSAGE) {
1432
1440
  setBookingError(priorError);
1433
1441
  return;
1434
1442
  }
@@ -1467,7 +1475,7 @@ function HubSpotMeetingScheduler({
1467
1475
  if (isLoadingAvailability && !availability) {
1468
1476
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_INNER_CLASS, children: [
1469
1477
  !formOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextPanelSkeleton, { onBack: backEdge, className: CONTEXT_PANEL_CLASS }),
1470
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ACTION_PANEL_CLASS, children: detailsFirst && step === "details" ? (
1478
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ACTION_PANEL_CLASS, children: formOnly ? (
1471
1479
  // The SAME wrapper the loaded form gets, so the skeleton never
1472
1480
  // states its own inset.
1473
1481
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STEP_PANEL_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingFormSkeleton, { fieldRows: _optionalChain([detailsFormProps, 'optionalAccess', _36 => _36.fieldRows]), footerNote: preset.footerNote }) })
@@ -1505,10 +1513,10 @@ function HubSpotMeetingScheduler({
1505
1513
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ACTION_PANEL_CLASS, children: step === "confirmed" && confirmation && timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STEP_PANEL_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Confirmation, { confirmation, timezone }) }) : step === "details" && (detailsFirst ? (
1506
1514
  // The form is step ONE here: no slot yet, and `timezone` is null
1507
1515
  // on the server render, so neither may gate the PANEL. A link
1508
- // publishing no durations has no form worth showing — but while a
1509
- // refetch is in flight the form stays (a calendar skeleton is
1510
- // the wrong shape here).
1511
- durations.length > 0 || isFetchingAvailability
1516
+ // publishing no durations has no form worth showing; it gets the
1517
+ // "nothing published" message below at every moment, refetch or
1518
+ // not — never a calendar skeleton in the form-only layout.
1519
+ durations.length > 0
1512
1520
  ) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STEP_PANEL_CLASS, "gap-[var(--spacing-system-m)]"), children: [
1513
1521
  selectedSlot != null && durationMs != null && timezone != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
1514
1522
  new Intl.DateTimeFormat(void 0, {
@@ -1545,11 +1553,11 @@ function HubSpotMeetingScheduler({
1545
1553
  )
1546
1554
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] md:min-h-0 md:flex-1", children: [
1547
1555
  bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1548
- _chunkTZK5N6AHcjs.Alert,
1556
+ _chunkJF56KVHWcjs.Alert,
1549
1557
  {
1550
1558
  variant: "warning",
1551
1559
  className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto lg:m-0 lg:w-full",
1552
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZK5N6AHcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
1560
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
1553
1561
  }
1554
1562
  ),
1555
1563
  timezone && durationMs != null ? (
@@ -1603,10 +1611,12 @@ function HubSpotMeetingScheduler({
1603
1611
  isSubmitting: detailsFirst ? isSubmitting : void 0
1604
1612
  }
1605
1613
  )
1606
- ) : durations.length === 0 && !isFetchingAvailability ? (
1614
+ ) : durations.length === 0 && (!isFetchingAvailability || formOnly) ? (
1607
1615
  // The LINK publishes nothing at all — a different thing from a
1608
1616
  // fully-booked month, and the only case the escape hatch is
1609
- // the right answer to.
1617
+ // the right answer to. In the form-only layout it holds through
1618
+ // a refetch too: the alternative frame is a calendar skeleton
1619
+ // where a form belongs.
1610
1620
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-[var(--spacing-system-m)]", children: [
1611
1621
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No call times are published right now." }),
1612
1622
  escapeHatch