@flamingo-stack/openframe-frontend-core 0.0.573 → 0.0.574

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 (103) hide show
  1. package/dist/{chunk-TIX2SHZX.js → chunk-2EPUD2VR.js} +2 -2
  2. package/dist/{chunk-2EB5273T.js → chunk-2IK6SB6F.js} +2 -2
  3. package/dist/{chunk-OUMRHNZW.cjs → chunk-3IUQLB47.cjs} +3 -3
  4. package/dist/{chunk-OUMRHNZW.cjs.map → chunk-3IUQLB47.cjs.map} +1 -1
  5. package/dist/{chunk-BWHLWS32.cjs → chunk-3U2P63NQ.cjs} +10 -10
  6. package/dist/{chunk-BWHLWS32.cjs.map → chunk-3U2P63NQ.cjs.map} +1 -1
  7. package/dist/{chunk-EC44ZXBH.js → chunk-5QDGP3RI.js} +2 -2
  8. package/dist/{chunk-YS64Y5MP.cjs → chunk-7G23ANVM.cjs} +49 -49
  9. package/dist/{chunk-YS64Y5MP.cjs.map → chunk-7G23ANVM.cjs.map} +1 -1
  10. package/dist/{chunk-R3I2XI33.js → chunk-BGE7CKXC.js} +4 -4
  11. package/dist/{chunk-6SMQCAPO.cjs → chunk-BGZCZ2JS.cjs} +3 -3
  12. package/dist/{chunk-6SMQCAPO.cjs.map → chunk-BGZCZ2JS.cjs.map} +1 -1
  13. package/dist/{chunk-B7S7ETML.cjs → chunk-BKXL7OYT.cjs} +3 -3
  14. package/dist/{chunk-B7S7ETML.cjs.map → chunk-BKXL7OYT.cjs.map} +1 -1
  15. package/dist/{chunk-4WCTY326.js → chunk-BTZF3JRS.js} +2 -2
  16. package/dist/{chunk-J5OC2KYU.js → chunk-DTSRMQIY.js} +5 -5
  17. package/dist/{chunk-4TGUWWMY.cjs → chunk-GFSJXRX7.cjs} +16 -16
  18. package/dist/{chunk-4TGUWWMY.cjs.map → chunk-GFSJXRX7.cjs.map} +1 -1
  19. package/dist/{chunk-P625NSEA.cjs → chunk-IRJQH7RJ.cjs} +17 -17
  20. package/dist/{chunk-P625NSEA.cjs.map → chunk-IRJQH7RJ.cjs.map} +1 -1
  21. package/dist/{chunk-DSU7LQMU.js → chunk-ISULYCGY.js} +2 -2
  22. package/dist/{chunk-SB67TZQU.js → chunk-IWISKP3F.js} +2 -2
  23. package/dist/{chunk-JLIXPN37.cjs → chunk-K3XONUML.cjs} +4 -4
  24. package/dist/{chunk-JLIXPN37.cjs.map → chunk-K3XONUML.cjs.map} +1 -1
  25. package/dist/{chunk-IBZBGRO2.js → chunk-KG7D35RU.js} +5 -5
  26. package/dist/{chunk-3ENV3IEP.js → chunk-KSKCQ3ZN.js} +2 -2
  27. package/dist/{chunk-NGXP4EAQ.js → chunk-OE7NV7H3.js} +2 -2
  28. package/dist/{chunk-66LZDE7U.js → chunk-PBS4F534.js} +3 -2
  29. package/dist/chunk-PBS4F534.js.map +1 -0
  30. package/dist/{chunk-AQBWGEL3.cjs → chunk-PUL6X6HY.cjs} +32 -32
  31. package/dist/{chunk-AQBWGEL3.cjs.map → chunk-PUL6X6HY.cjs.map} +1 -1
  32. package/dist/{chunk-YK7M7RBF.cjs → chunk-QDOBY3TP.cjs} +3 -2
  33. package/dist/chunk-QDOBY3TP.cjs.map +1 -0
  34. package/dist/{chunk-OYWAPTEF.cjs → chunk-QF5B6V4L.cjs} +17 -17
  35. package/dist/{chunk-OYWAPTEF.cjs.map → chunk-QF5B6V4L.cjs.map} +1 -1
  36. package/dist/{chunk-NCCWS6YE.cjs → chunk-QTVW5XBL.cjs} +4 -4
  37. package/dist/{chunk-NCCWS6YE.cjs.map → chunk-QTVW5XBL.cjs.map} +1 -1
  38. package/dist/{chunk-PDQ7F5AB.cjs → chunk-RXJZXMDZ.cjs} +13 -13
  39. package/dist/{chunk-PDQ7F5AB.cjs.map → chunk-RXJZXMDZ.cjs.map} +1 -1
  40. package/dist/{chunk-EIK6KDAE.cjs → chunk-SVUZUFT4.cjs} +34 -34
  41. package/dist/{chunk-EIK6KDAE.cjs.map → chunk-SVUZUFT4.cjs.map} +1 -1
  42. package/dist/{chunk-GSSJFXIW.cjs → chunk-UILNZL6J.cjs} +3 -3
  43. package/dist/{chunk-GSSJFXIW.cjs.map → chunk-UILNZL6J.cjs.map} +1 -1
  44. package/dist/{chunk-4IAZOAS7.js → chunk-UPEIX7VG.js} +4 -4
  45. package/dist/{chunk-SY7M6VAJ.js → chunk-WAWMZSCP.js} +3 -3
  46. package/dist/{chunk-JTDYVW2B.js → chunk-WVKRSC65.js} +2 -2
  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 +114 -114
  62. package/dist/components/index.js +12 -12
  63. package/dist/components/meeting-scheduler/index.cjs +35 -19
  64. package/dist/components/meeting-scheduler/index.cjs.map +1 -1
  65. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  66. package/dist/components/meeting-scheduler/index.js +20 -4
  67. package/dist/components/meeting-scheduler/index.js.map +1 -1
  68. package/dist/components/navigation/index.cjs +5 -5
  69. package/dist/components/navigation/index.js +4 -4
  70. package/dist/components/onboarding-guides/index.cjs +5 -5
  71. package/dist/components/onboarding-guides/index.js +4 -4
  72. package/dist/components/tickets/index.cjs +6 -6
  73. package/dist/components/tickets/index.js +5 -5
  74. package/dist/components/ui/alert.d.ts +1 -1
  75. package/dist/components/ui/alert.d.ts.map +1 -1
  76. package/dist/components/ui/index.cjs +2 -2
  77. package/dist/components/ui/index.js +1 -1
  78. package/dist/index.cjs +6 -6
  79. package/dist/index.js +5 -5
  80. package/dist/schemas/meeting-booking-schema.cjs.map +1 -1
  81. package/dist/schemas/meeting-booking-schema.d.ts +6 -2
  82. package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
  83. package/dist/schemas/meeting-booking-schema.js.map +1 -1
  84. package/package.json +1 -1
  85. package/src/components/meeting-scheduler/index.tsx +34 -16
  86. package/src/components/ui/alert.tsx +1 -0
  87. package/src/schemas/meeting-booking-schema.ts +6 -2
  88. package/dist/chunk-66LZDE7U.js.map +0 -1
  89. package/dist/chunk-YK7M7RBF.cjs.map +0 -1
  90. /package/dist/{chunk-TIX2SHZX.js.map → chunk-2EPUD2VR.js.map} +0 -0
  91. /package/dist/{chunk-2EB5273T.js.map → chunk-2IK6SB6F.js.map} +0 -0
  92. /package/dist/{chunk-EC44ZXBH.js.map → chunk-5QDGP3RI.js.map} +0 -0
  93. /package/dist/{chunk-R3I2XI33.js.map → chunk-BGE7CKXC.js.map} +0 -0
  94. /package/dist/{chunk-4WCTY326.js.map → chunk-BTZF3JRS.js.map} +0 -0
  95. /package/dist/{chunk-J5OC2KYU.js.map → chunk-DTSRMQIY.js.map} +0 -0
  96. /package/dist/{chunk-DSU7LQMU.js.map → chunk-ISULYCGY.js.map} +0 -0
  97. /package/dist/{chunk-SB67TZQU.js.map → chunk-IWISKP3F.js.map} +0 -0
  98. /package/dist/{chunk-IBZBGRO2.js.map → chunk-KG7D35RU.js.map} +0 -0
  99. /package/dist/{chunk-3ENV3IEP.js.map → chunk-KSKCQ3ZN.js.map} +0 -0
  100. /package/dist/{chunk-NGXP4EAQ.js.map → chunk-OE7NV7H3.js.map} +0 -0
  101. /package/dist/{chunk-4IAZOAS7.js.map → chunk-UPEIX7VG.js.map} +0 -0
  102. /package/dist/{chunk-SY7M6VAJ.js.map → chunk-WAWMZSCP.js.map} +0 -0
  103. /package/dist/{chunk-JTDYVW2B.js.map → chunk-WVKRSC65.js.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  SoftwareInfo,
16
16
  SoftwareSourceBadge,
17
17
  ToolBadge
18
- } from "../chunk-EC44ZXBH.js";
18
+ } from "../chunk-5QDGP3RI.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-SY7M6VAJ.js";
37
+ } from "../chunk-WAWMZSCP.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-R3I2XI33.js";
51
+ } from "../chunk-BGE7CKXC.js";
52
52
  import {
53
53
  AnnouncementBarSkeleton,
54
54
  ArticleLayoutSkeleton,
@@ -81,12 +81,12 @@ import {
81
81
  useDocNavigation,
82
82
  useDocumentTree,
83
83
  useScrollSpy
84
- } from "../chunk-IBZBGRO2.js";
84
+ } from "../chunk-KG7D35RU.js";
85
85
  import {
86
86
  FileDownloadCard,
87
87
  GoogleSheetsViewer,
88
88
  PdfViewer
89
- } from "../chunk-DSU7LQMU.js";
89
+ } from "../chunk-ISULYCGY.js";
90
90
  import {
91
91
  PersistentPagination,
92
92
  PersistentPaginationWrapper,
@@ -96,13 +96,13 @@ import {
96
96
  FaqAccordion,
97
97
  FaqDocumentPage,
98
98
  FaqSection
99
- } from "../chunk-NGXP4EAQ.js";
99
+ } from "../chunk-OE7NV7H3.js";
100
100
  import {
101
101
  MobileNavigationDropdown,
102
102
  MultiLevelNavigation,
103
103
  StickySectionNav,
104
104
  useSectionNavigation
105
- } from "../chunk-3ENV3IEP.js";
105
+ } from "../chunk-KSKCQ3ZN.js";
106
106
  import {
107
107
  DeliveryRow,
108
108
  DevCardRowContent,
@@ -110,16 +110,16 @@ import {
110
110
  DevCardRowSkeletonList,
111
111
  DevSectionPage,
112
112
  DevSectionView
113
- } from "../chunk-JTDYVW2B.js";
113
+ } from "../chunk-WVKRSC65.js";
114
114
  import {
115
115
  EmptyState,
116
116
  UnifiedPagination
117
117
  } from "../chunk-QQ5ZVCD4.js";
118
- import "../chunk-SB67TZQU.js";
118
+ import "../chunk-IWISKP3F.js";
119
119
  import {
120
120
  ArticleAuthorByline,
121
121
  DetailPageSkeleton
122
- } from "../chunk-TIX2SHZX.js";
122
+ } from "../chunk-2EPUD2VR.js";
123
123
  import {
124
124
  DocSearchBar,
125
125
  DocSearchResultRow,
@@ -127,7 +127,7 @@ import {
127
127
  mapDocSearchResults,
128
128
  resolveSearchResultAction,
129
129
  useDocSearch
130
- } from "../chunk-4WCTY326.js";
130
+ } from "../chunk-BTZF3JRS.js";
131
131
  import {
132
132
  useSelfFetch
133
133
  } from "../chunk-UC5RXT3O.js";
@@ -576,7 +576,7 @@ import {
576
576
  useTimeTracker,
577
577
  useTrackerClock,
578
578
  useWalkthroughVideo
579
- } from "../chunk-66LZDE7U.js";
579
+ } from "../chunk-PBS4F534.js";
580
580
  import "../chunk-L2SLFCXP.js";
581
581
  import "../chunk-BJXDHKUX.js";
582
582
  import {
@@ -20,7 +20,9 @@ var _chunkVIAZWBZ2cjs = require('../../chunk-VIAZWBZ2.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkYK7M7RBFcjs = require('../../chunk-YK7M7RBF.cjs');
23
+
24
+
25
+ var _chunkQDOBY3TPcjs = require('../../chunk-QDOBY3TP.cjs');
24
26
  require('../../chunk-GQWM3ECA.cjs');
25
27
  require('../../chunk-TON3YCCW.cjs');
26
28
 
@@ -94,7 +96,7 @@ function useMeetingBooking(options) {
94
96
  const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _2 => _2.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
95
97
  const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
96
98
  const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
97
- setMonthOffsetState(Math.max(0, Math.min(_chunkYK7M7RBFcjs.MAX_MONTH_OFFSET, offset)));
99
+ setMonthOffsetState(Math.max(0, Math.min(_chunkQDOBY3TPcjs.MAX_MONTH_OFFSET, offset)));
98
100
  }, []);
99
101
  const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
100
102
  _react.useLayoutEffect.call(void 0, () => {
@@ -311,7 +313,7 @@ function BookingForm({
311
313
  const inputClass = "bg-ods-card border-ods-border text-ods-text-primary placeholder-ods-text-secondary px-3 h-11 md:h-12";
312
314
  const FORM_STACK = "flex flex-col gap-[var(--spacing-system-l)]";
313
315
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, children: [
314
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.HoneypotField, { ...honeypotInputProps }),
316
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.HoneypotField, { ...honeypotInputProps }),
315
317
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQYQXAXVRcjs.FieldWrapper, { label: "Email", htmlFor: "ms-email", error: _optionalChain([errors, 'access', _9 => _9.email, 'optionalAccess', _10 => _10.message]), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
318
  _chunkQYQXAXVRcjs.Input,
317
319
  {
@@ -359,7 +361,7 @@ function BookingForm({
359
361
  error: fieldError(field.name),
360
362
  children: [
361
363
  field.type === "textarea" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
362
- _chunkYK7M7RBFcjs.Textarea,
364
+ _chunkQDOBY3TPcjs.Textarea,
363
365
  {
364
366
  id: `ms-q-${field.name}`,
365
367
  className: "border-ods-border bg-ods-card px-3 text-ods-text-primary placeholder-ods-text-secondary",
@@ -379,11 +381,11 @@ function BookingForm({
379
381
  {
380
382
  control,
381
383
  name: `formFields.${field.name}`,
382
- render: ({ field: rhf }) => field.type === "select" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYK7M7RBFcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
383
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.SelectTrigger, { id: `ms-q-${field.name}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.SelectValue, { placeholder: "Select\u2026" }) }),
384
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.SelectItem, { value: opt, children: opt }, opt)) })
385
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.RadioGroup, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
386
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.RadioGroupItem, { id: `ms-q-${field.name}-${opt}`, value: opt }),
384
+ render: ({ field: rhf }) => field.type === "select" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDOBY3TPcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
385
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.SelectTrigger, { id: `ms-q-${field.name}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.SelectValue, { placeholder: "Select\u2026" }) }),
386
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.SelectItem, { value: opt, children: opt }, opt)) })
387
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.RadioGroup, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
388
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.RadioGroupItem, { id: `ms-q-${field.name}-${opt}`, value: opt }),
387
389
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3QDJLLD2cjs.Label, { htmlFor: `ms-q-${field.name}-${opt}`, children: opt })
388
390
  ] }, opt)) })
389
391
  }
@@ -504,7 +506,7 @@ function ContextPanelSkeleton({
504
506
  backLabel = "Back"
505
507
  }) {
506
508
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, PANEL_STACK, className), children: [
507
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
509
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
508
510
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
509
511
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
510
512
  /* @__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: [
@@ -551,7 +553,7 @@ function SchedulerContextPanel({
551
553
  return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
552
554
  }, [timezone]);
553
555
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, PANEL_STACK, className), children: [
554
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYK7M7RBFcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
556
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
555
557
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
556
558
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
557
559
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
@@ -612,7 +614,7 @@ function SchedulerContextPanel({
612
614
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
613
615
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
614
616
  timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
615
- _chunkYK7M7RBFcjs.Autocomplete,
617
+ _chunkQDOBY3TPcjs.Autocomplete,
616
618
  {
617
619
  value: timezone,
618
620
  onChange: (tz) => {
@@ -698,18 +700,18 @@ var NOOP = () => void 0;
698
700
  function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
699
701
  const now = /* @__PURE__ */ new Date();
700
702
  const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
701
- const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkYK7M7RBFcjs.MAX_MONTH_OFFSET + 1, 0);
703
+ const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkQDOBY3TPcjs.MAX_MONTH_OFFSET + 1, 0);
702
704
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
703
705
  const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _22 => _22.has, 'call', _23 => _23(calendarDayKey(day))]), [slotsByDay]);
704
706
  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,
705
- _chunkYK7M7RBFcjs.DatePickerCalendar,
707
+ _chunkQDOBY3TPcjs.DatePickerCalendar,
706
708
  {
707
709
  mode: "single",
708
710
  bare: true,
709
711
  month: visibleMonth,
710
712
  onMonthChange: (month) => {
711
713
  const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
712
- onMonthOffsetChange(Math.max(0, Math.min(_chunkYK7M7RBFcjs.MAX_MONTH_OFFSET, offset)));
714
+ onMonthOffsetChange(Math.max(0, Math.min(_chunkQDOBY3TPcjs.MAX_MONTH_OFFSET, offset)));
713
715
  },
714
716
  fromDate: startMonth,
715
717
  toDate: endMonth,
@@ -823,7 +825,7 @@ function SlotPicker({
823
825
  monthLabelFor(monthOffset),
824
826
  "."
825
827
  ] }),
826
- monthOffset < _chunkYK7M7RBFcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
828
+ monthOffset < _chunkQDOBY3TPcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
827
829
  _chunkS6LZN66Dcjs.Button,
828
830
  {
829
831
  variant: "outline",
@@ -1001,6 +1003,13 @@ function MeetingSchedulerDirectory({
1001
1003
 
1002
1004
  // src/components/meeting-scheduler/index.tsx
1003
1005
 
1006
+ var BOOKING_ERROR_COPY = {
1007
+ INVALID_EMAIL: "That email address was rejected by our scheduling system \u2014 please use a real, reachable address (work email works best).",
1008
+ VALIDATION: "Please double-check your details \u2014 especially that the email address is real and reachable \u2014 and try again.",
1009
+ TEMPORARILY_UNAVAILABLE: "Scheduling is briefly unavailable \u2014 please try again in a minute.",
1010
+ MEETING_UNAVAILABLE: "This meeting type has reached its booking limit for today \u2014 try another time or contact us.",
1011
+ LINK_GONE: "This meeting type is no longer available."
1012
+ };
1004
1013
  var CONTEXT_PANEL_CLASS = "p-[var(--spacing-system-l)] shrink-0 lg:w-[280px] border-b lg:border-b-0 lg:border-r border-ods-border lg:min-h-0 lg:overflow-y-auto";
1005
1014
  var ACTION_PANEL_CLASS = "flex-1 min-w-0 flex flex-col md:min-h-0 lg:p-[var(--spacing-system-l)]";
1006
1015
  var PANEL_STEP_CLASS = "p-[var(--spacing-system-l)] md:min-h-0 md:overflow-y-auto lg:p-0";
@@ -1189,8 +1198,8 @@ function HubSpotMeetingScheduler({
1189
1198
  "\xB7 ",
1190
1199
  _chunkSPAAKHQAcjs.formatDurationCompact.call(void 0, durationMs / 1e3)
1191
1200
  ] }),
1192
- bookingError && bookingError !== "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-[var(--spacing-system-xs)]", children: [
1193
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-error text-h6", children: bookingError === "TEMPORARILY_UNAVAILABLE" ? "Scheduling is briefly unavailable \u2014 please try again in a minute." : bookingError === "MEETING_UNAVAILABLE" ? "This meeting type has reached its booking limit for today \u2014 try another time or contact us." : bookingError === "LINK_GONE" ? "This meeting type is no longer available." : "Please double-check your details and try again." }),
1201
+ bookingError && bookingError !== "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDOBY3TPcjs.Alert, { variant: "error", className: "flex flex-col items-start gap-[var(--spacing-system-xs)]", children: [
1202
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.AlertDescription, { children: _nullishCoalesce(BOOKING_ERROR_COPY[bookingError], () => ( BOOKING_ERROR_COPY.VALIDATION)) }),
1194
1203
  escapeHatch
1195
1204
  ] }),
1196
1205
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1208,7 +1217,14 @@ function HubSpotMeetingScheduler({
1208
1217
  }
1209
1218
  )
1210
1219
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] md:min-h-0 md:flex-1", children: [
1211
- bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-[var(--spacing-system-l)] pt-[var(--spacing-system-l)] text-ods-error text-h6 lg:p-0", children: "That time is no longer available \u2014 if you just submitted, check your email for a confirmation before rebooking." }),
1220
+ bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1221
+ _chunkQDOBY3TPcjs.Alert,
1222
+ {
1223
+ variant: "warning",
1224
+ className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto lg:m-0 lg:w-full",
1225
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
1226
+ }
1227
+ ),
1212
1228
  timezone && durationMs != null ? (
1213
1229
  // The picker owns BOTH the loading and the empty month now —
1214
1230
  // it keeps the calendar up either way, so there is no branch