@flamingo-stack/openframe-frontend-core 0.0.596-2034.5686.1 → 0.0.596-2034.5696.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 (162) hide show
  1. package/dist/{chunk-QVOGALQE.cjs → chunk-4S5E7NOM.cjs} +5 -5
  2. package/dist/{chunk-QVOGALQE.cjs.map → chunk-4S5E7NOM.cjs.map} +1 -1
  3. package/dist/{chunk-FGHJ3BC7.js → chunk-6EBKO275.js} +3 -3
  4. package/dist/{chunk-Y6JB7X5Y.js → chunk-7L5ROE3Z.js} +3 -3
  5. package/dist/{chunk-A6YERC4N.js → chunk-AVIZUQRW.js} +2 -2
  6. package/dist/{chunk-D3Q3VYRU.cjs → chunk-AYVTVUZT.cjs} +15 -15
  7. package/dist/{chunk-D3Q3VYRU.cjs.map → chunk-AYVTVUZT.cjs.map} +1 -1
  8. package/dist/{chunk-25LZZY6E.cjs → chunk-B3NX4GZS.cjs} +3 -3
  9. package/dist/{chunk-25LZZY6E.cjs.map → chunk-B3NX4GZS.cjs.map} +1 -1
  10. package/dist/{chunk-OI7RNQAS.cjs → chunk-DVSTM6QK.cjs} +33 -33
  11. package/dist/{chunk-OI7RNQAS.cjs.map → chunk-DVSTM6QK.cjs.map} +1 -1
  12. package/dist/{chunk-SLIUM3VO.cjs → chunk-EQ3DAGD7.cjs} +43 -43
  13. package/dist/{chunk-SLIUM3VO.cjs.map → chunk-EQ3DAGD7.cjs.map} +1 -1
  14. package/dist/{chunk-MN4TFBRA.cjs → chunk-FCNICDWP.cjs} +9 -9
  15. package/dist/{chunk-MN4TFBRA.cjs.map → chunk-FCNICDWP.cjs.map} +1 -1
  16. package/dist/{chunk-YP56SX7C.cjs → chunk-FV5VGJE6.cjs} +3 -3
  17. package/dist/{chunk-YP56SX7C.cjs.map → chunk-FV5VGJE6.cjs.map} +1 -1
  18. package/dist/{chunk-QNZM43HU.js → chunk-GOD47MJM.js} +6 -4
  19. package/dist/{chunk-QNZM43HU.js.map → chunk-GOD47MJM.js.map} +1 -1
  20. package/dist/{chunk-AYMBMVOD.js → chunk-HFJSBIXL.js} +3 -3
  21. package/dist/{chunk-ZXEYS2XP.cjs → chunk-IMIR5V6E.cjs} +26 -24
  22. package/dist/chunk-IMIR5V6E.cjs.map +1 -0
  23. package/dist/{chunk-J5EA7PMY.js → chunk-KU3JQWYJ.js} +5 -5
  24. package/dist/{chunk-TYURDSIN.js → chunk-MF324FSD.js} +30 -30
  25. package/dist/chunk-MF324FSD.js.map +1 -0
  26. package/dist/{chunk-FIQIT6HX.js → chunk-MGBWMZEL.js} +2 -2
  27. package/dist/{chunk-YQYOEGAT.cjs → chunk-MIC4HHVZ.cjs} +23 -21
  28. package/dist/chunk-MIC4HHVZ.cjs.map +1 -0
  29. package/dist/{chunk-PO4ATWE4.js → chunk-N7SFQMCH.js} +2 -2
  30. package/dist/{chunk-E4YWJY3A.cjs → chunk-OEDUVTPT.cjs} +10 -10
  31. package/dist/{chunk-E4YWJY3A.cjs.map → chunk-OEDUVTPT.cjs.map} +1 -1
  32. package/dist/{chunk-3IT35YDV.cjs → chunk-OGTXZFFE.cjs} +71 -70
  33. package/dist/chunk-OGTXZFFE.cjs.map +1 -0
  34. package/dist/{chunk-GZ76RASF.js → chunk-P2SECY3U.js} +5 -5
  35. package/dist/{chunk-S7LV66HD.js → chunk-PTXOWFRB.js} +8 -7
  36. package/dist/chunk-PTXOWFRB.js.map +1 -0
  37. package/dist/{chunk-AGKFT4FA.js → chunk-PYWF5JJW.js} +5 -5
  38. package/dist/{chunk-TZK5N6AH.cjs → chunk-R5IWJONE.cjs} +187 -187
  39. package/dist/chunk-R5IWJONE.cjs.map +1 -0
  40. package/dist/{chunk-JVYNMMNE.js → chunk-SSSZ64YG.js} +5 -3
  41. package/dist/chunk-SSSZ64YG.js.map +1 -0
  42. package/dist/{chunk-IDDGXYES.cjs → chunk-SXVGFJ24.cjs} +22 -22
  43. package/dist/{chunk-IDDGXYES.cjs.map → chunk-SXVGFJ24.cjs.map} +1 -1
  44. package/dist/{chunk-ZVBYWM5Z.js → chunk-TRJJMZSQ.js} +2 -2
  45. package/dist/{chunk-BLYQD3PG.js → chunk-VD3ZAA2O.js} +3 -3
  46. package/dist/{chunk-E7MTTLKC.js → chunk-VNSRNVPD.js} +2 -2
  47. package/dist/{chunk-E7MTTLKC.js.map → chunk-VNSRNVPD.js.map} +1 -1
  48. package/dist/{chunk-TDLETTI4.cjs → chunk-WRWXND3X.cjs} +10 -10
  49. package/dist/{chunk-TDLETTI4.cjs.map → chunk-WRWXND3X.cjs.map} +1 -1
  50. package/dist/{chunk-L7GNBUXF.cjs → chunk-YBPFIXV4.cjs} +2 -2
  51. package/dist/{chunk-L7GNBUXF.cjs.map → chunk-YBPFIXV4.cjs.map} +1 -1
  52. package/dist/{chunk-HPUD7X67.cjs → chunk-YNO4DEXK.cjs} +4 -4
  53. package/dist/{chunk-HPUD7X67.cjs.map → chunk-YNO4DEXK.cjs.map} +1 -1
  54. package/dist/components/case-studies/index.cjs +9 -9
  55. package/dist/components/case-studies/index.js +3 -3
  56. package/dist/components/chat/index.cjs +2 -2
  57. package/dist/components/chat/index.js +1 -1
  58. package/dist/components/contact/contact-form.d.ts.map +1 -1
  59. package/dist/components/contact/index.cjs +4 -4
  60. package/dist/components/contact/index.js +3 -3
  61. package/dist/components/docs/index.cjs +7 -7
  62. package/dist/components/docs/index.js +6 -6
  63. package/dist/components/embeds/index.cjs +4 -4
  64. package/dist/components/embeds/index.js +3 -3
  65. package/dist/components/faq/index.cjs +4 -4
  66. package/dist/components/faq/index.js +3 -3
  67. package/dist/components/features/auth/terms-agreement-label.d.ts.map +1 -1
  68. package/dist/components/features/index.cjs +3 -3
  69. package/dist/components/features/index.js +2 -2
  70. package/dist/components/help-center-pages/index.cjs +23 -23
  71. package/dist/components/help-center-pages/index.js +14 -14
  72. package/dist/components/index.cjs +38 -38
  73. package/dist/components/index.js +13 -13
  74. package/dist/components/meeting-scheduler/booking-form.d.ts +9 -3
  75. package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
  76. package/dist/components/meeting-scheduler/index.cjs +75 -50
  77. package/dist/components/meeting-scheduler/index.cjs.map +1 -1
  78. package/dist/components/meeting-scheduler/index.d.ts +12 -1
  79. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  80. package/dist/components/meeting-scheduler/index.js +53 -28
  81. package/dist/components/meeting-scheduler/index.js.map +1 -1
  82. package/dist/components/navigation/header-global-search.d.ts.map +1 -1
  83. package/dist/components/navigation/index.cjs +6 -6
  84. package/dist/components/navigation/index.js +5 -5
  85. package/dist/components/onboarding-guides/index.cjs +6 -6
  86. package/dist/components/onboarding-guides/index.js +5 -5
  87. package/dist/components/tickets/index.cjs +7 -7
  88. package/dist/components/tickets/index.js +6 -6
  89. package/dist/components/tickets/ticket-open-form.d.ts.map +1 -1
  90. package/dist/components/ui/admin-form-modal.d.ts.map +1 -1
  91. package/dist/components/ui/benefit-card.d.ts +1 -1
  92. package/dist/components/ui/benefit-card.d.ts.map +1 -1
  93. package/dist/components/ui/checkbox-block.d.ts +2 -1
  94. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  95. package/dist/components/ui/icon-tile.d.ts +3 -2
  96. package/dist/components/ui/icon-tile.d.ts.map +1 -1
  97. package/dist/components/ui/index.cjs +3 -3
  98. package/dist/components/ui/index.js +2 -2
  99. package/dist/components/ui/policy-link.d.ts +9 -1
  100. package/dist/components/ui/policy-link.d.ts.map +1 -1
  101. package/dist/hooks/use-meeting-booking.d.ts +2 -0
  102. package/dist/hooks/use-meeting-booking.d.ts.map +1 -1
  103. package/dist/index.cjs +9 -7
  104. package/dist/index.cjs.map +1 -1
  105. package/dist/index.js +8 -6
  106. package/dist/index.js.map +1 -1
  107. package/dist/schemas/meeting-booking-schema.cjs +4 -0
  108. package/dist/schemas/meeting-booking-schema.cjs.map +1 -1
  109. package/dist/schemas/meeting-booking-schema.d.ts +2 -0
  110. package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
  111. package/dist/schemas/meeting-booking-schema.js +4 -1
  112. package/dist/schemas/meeting-booking-schema.js.map +1 -1
  113. package/dist/utils/hubspot-collected-forms.d.ts +22 -0
  114. package/dist/utils/hubspot-collected-forms.d.ts.map +1 -0
  115. package/dist/utils/hubspot-meetings-convention.d.ts +3 -1
  116. package/dist/utils/hubspot-meetings-convention.d.ts.map +1 -1
  117. package/dist/utils/index.cjs +5 -1
  118. package/dist/utils/index.cjs.map +1 -1
  119. package/dist/utils/index.d.ts +1 -0
  120. package/dist/utils/index.d.ts.map +1 -1
  121. package/dist/utils/index.js +5 -2
  122. package/dist/utils/index.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/__tests__/meeting-scheduler-details-first.test.tsx +25 -3
  125. package/src/components/contact/contact-form.tsx +2 -0
  126. package/src/components/features/auth/terms-agreement-label.tsx +6 -16
  127. package/src/components/features/video-center-badge.tsx +2 -2
  128. package/src/components/meeting-scheduler/booking-form.tsx +37 -13
  129. package/src/components/meeting-scheduler/index.tsx +56 -32
  130. package/src/components/navigation/header-global-search.tsx +2 -0
  131. package/src/components/tickets/ticket-open-form.tsx +2 -1
  132. package/src/components/ui/admin-form-modal.tsx +2 -0
  133. package/src/components/ui/benefit-card.tsx +5 -1
  134. package/src/components/ui/checkbox-block.tsx +4 -1
  135. package/src/components/ui/icon-tile.tsx +3 -2
  136. package/src/components/ui/policy-link.tsx +20 -2
  137. package/src/hooks/use-meeting-booking.ts +4 -1
  138. package/src/schemas/meeting-booking-schema.ts +5 -0
  139. package/src/styles/app-globals.css +1 -1
  140. package/src/styles/index.css +1 -0
  141. package/src/styles/ods-effects.css +53 -0
  142. package/src/utils/hubspot-collected-forms.ts +19 -0
  143. package/src/utils/hubspot-meetings-convention.ts +4 -2
  144. package/src/utils/index.ts +1 -0
  145. package/dist/chunk-3IT35YDV.cjs.map +0 -1
  146. package/dist/chunk-JVYNMMNE.js.map +0 -1
  147. package/dist/chunk-S7LV66HD.js.map +0 -1
  148. package/dist/chunk-TYURDSIN.js.map +0 -1
  149. package/dist/chunk-TZK5N6AH.cjs.map +0 -1
  150. package/dist/chunk-YQYOEGAT.cjs.map +0 -1
  151. package/dist/chunk-ZXEYS2XP.cjs.map +0 -1
  152. /package/dist/{chunk-FGHJ3BC7.js.map → chunk-6EBKO275.js.map} +0 -0
  153. /package/dist/{chunk-Y6JB7X5Y.js.map → chunk-7L5ROE3Z.js.map} +0 -0
  154. /package/dist/{chunk-A6YERC4N.js.map → chunk-AVIZUQRW.js.map} +0 -0
  155. /package/dist/{chunk-AYMBMVOD.js.map → chunk-HFJSBIXL.js.map} +0 -0
  156. /package/dist/{chunk-J5EA7PMY.js.map → chunk-KU3JQWYJ.js.map} +0 -0
  157. /package/dist/{chunk-FIQIT6HX.js.map → chunk-MGBWMZEL.js.map} +0 -0
  158. /package/dist/{chunk-PO4ATWE4.js.map → chunk-N7SFQMCH.js.map} +0 -0
  159. /package/dist/{chunk-GZ76RASF.js.map → chunk-P2SECY3U.js.map} +0 -0
  160. /package/dist/{chunk-AGKFT4FA.js.map → chunk-PYWF5JJW.js.map} +0 -0
  161. /package/dist/{chunk-ZVBYWM5Z.js.map → chunk-TRJJMZSQ.js.map} +0 -0
  162. /package/dist/{chunk-BLYQD3PG.js.map → chunk-VD3ZAA2O.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-6EBKO275.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-GOD47MJM.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-KU3JQWYJ.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-PYWF5JJW.js";
66
66
  import {
67
67
  FileDownloadCard,
68
68
  GoogleSheetsViewer,
69
69
  PdfViewer
70
- } from "../chunk-A6YERC4N.js";
70
+ } from "../chunk-AVIZUQRW.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-7L5ROE3Z.js";
81
81
  import {
82
82
  MobileNavigationDropdown,
83
83
  MultiLevelNavigation,
84
84
  StickySectionNav,
85
85
  useSectionNavigation
86
- } from "../chunk-FIQIT6HX.js";
86
+ } from "../chunk-MGBWMZEL.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-TRJJMZSQ.js";
95
95
  import {
96
96
  EmptyState,
97
97
  UnifiedPagination
98
98
  } from "../chunk-2JNCZDJR.js";
99
- import "../chunk-AYMBMVOD.js";
99
+ import "../chunk-HFJSBIXL.js";
100
100
  import {
101
101
  ArticleAuthorByline,
102
102
  DetailPageSkeleton
103
- } from "../chunk-PO4ATWE4.js";
103
+ } from "../chunk-N7SFQMCH.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-VD3ZAA2O.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-MF324FSD.js";
618
618
  import "../chunk-L2SLFCXP.js";
619
619
  import "../chunk-BJXDHKUX.js";
620
620
  import {
@@ -980,7 +980,7 @@ import {
980
980
  useVideoOriginPreconnect,
981
981
  useVideoWarmup,
982
982
  usesCanonicalStatusStyle
983
- } from "../chunk-E7MTTLKC.js";
983
+ } from "../chunk-VNSRNVPD.js";
984
984
  import {
985
985
  errorMessage,
986
986
  scrollElementIntoView
@@ -107,11 +107,17 @@ 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. Two footprints it
112
+ * cannot know: a textarea row is taller than its placeholder (the rows carry no
113
+ * type), and a HubSpot `legalConsent` block only exists once availability lands.
112
114
  */
113
- export declare function BookingFormSkeleton({ fieldRows, footerNote }: {
115
+ export declare function BookingFormSkeleton({ fieldRows, consent, footerNote, }: {
114
116
  fieldRows?: BookingFieldRow[];
117
+ /** Whether the host adds its consent row (drawn only then). A HubSpot
118
+ * `legalConsent` block is unknown until availability lands — the one
119
+ * footprint this skeleton cannot budget for. */
120
+ consent?: boolean;
115
121
  footerNote?: string;
116
122
  }): import("react").JSX.Element;
117
123
  export {};
@@ -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,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;qEACiE;IACjE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,uFAAuF;IACvF,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,mFAAmF;IACnF,kBAAkB,EAAE;QAAE,GAAG,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACnD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,UAAU,GACX,EAAE,gBAAgB,+BAmTlB;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,+BA2BpH"}
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,EAKzB,MAAM,sCAAsC,CAAC;AAsB9C;;;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;AAOX,0GAA0G;AAC1G,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAYtD;iFACiF;AACjF,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,gBAIvD,CAAC;AAqJF,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,mBAAmB,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;qEACiE;IACjE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,uFAAuF;IACvF,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,mFAAmF;IACnF,kBAAkB,EAAE;QAAE,GAAG,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACnD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,UAAU,GACX,EAAE,gBAAgB,+BAoTlB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE;IACD,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B;;qDAEiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,+BA2BA"}
@@ -23,7 +23,8 @@ var _chunkO4VZOA2Qcjs = require('../../chunk-O4VZOA2Q.cjs');
23
23
 
24
24
 
25
25
 
26
- var _chunkTZK5N6AHcjs = require('../../chunk-TZK5N6AH.cjs');
26
+
27
+ var _chunkR5IWJONEcjs = require('../../chunk-R5IWJONE.cjs');
27
28
  require('../../chunk-GQWM3ECA.cjs');
28
29
  require('../../chunk-TON3YCCW.cjs');
29
30
 
@@ -43,7 +44,7 @@ var _chunkH64ZHSYRcjs = require('../../chunk-H64ZHSYR.cjs');
43
44
  var _chunkN6HNK25Acjs = require('../../chunk-N6HNK25A.cjs');
44
45
 
45
46
 
46
- var _chunkL7GNBUXFcjs = require('../../chunk-L7GNBUXF.cjs');
47
+ var _chunkYBPFIXV4cjs = require('../../chunk-YBPFIXV4.cjs');
47
48
  require('../../chunk-YXWGSDK4.cjs');
48
49
  require('../../chunk-SADRZ4YI.cjs');
49
50
  require('../../chunk-KOQCA5X5.cjs');
@@ -246,13 +247,14 @@ var AVAILABILITY_STALE_MS = 0;
246
247
  function meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset) {
247
248
  return ["meeting-availability", apiBaseUrl, meetingId, monthOffset];
248
249
  }
250
+ var BOOKING_IN_FLIGHT_MESSAGE = "Already submitting";
249
251
  function useMeetingBooking(options) {
250
252
  const { meetingId, apiBaseUrl = "", initialAvailability } = options;
251
253
  const queryClient = _reactquery.useQueryClient.call(void 0, );
252
254
  const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _3 => _3.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
253
255
  const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
254
256
  const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
255
- setMonthOffsetState(Math.max(0, Math.min(_chunkTZK5N6AHcjs.MAX_MONTH_OFFSET, offset)));
257
+ setMonthOffsetState(Math.max(0, Math.min(_chunkR5IWJONEcjs.MAX_MONTH_OFFSET, offset)));
256
258
  }, []);
257
259
  const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
258
260
  _react.useLayoutEffect.call(void 0, () => {
@@ -303,7 +305,7 @@ function useMeetingBooking(options) {
303
305
  const { mutateAsync } = bookMutation;
304
306
  const book = _react.useCallback.call(void 0,
305
307
  async (payload) => {
306
- if (submittingRef.current !== null) return { ok: false, code: "VALIDATION", message: "Already submitting" };
308
+ if (submittingRef.current !== null) return { ok: false, code: "VALIDATION", message: BOOKING_IN_FLIGHT_MESSAGE };
307
309
  const submitToken = {};
308
310
  submittingRef.current = submitToken;
309
311
  try {
@@ -379,7 +381,7 @@ var FIELD_CONTROLS = {
379
381
  }
380
382
  ),
381
383
  textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
382
- _chunkTZK5N6AHcjs.Textarea,
384
+ _chunkR5IWJONEcjs.Textarea,
383
385
  {
384
386
  id,
385
387
  required: field.required,
@@ -405,9 +407,9 @@ var FIELD_CONTROLS = {
405
407
  {
406
408
  control,
407
409
  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)) })
410
+ render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkR5IWJONEcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
411
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectValue, { placeholder: "Select\u2026" }) }),
412
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectItem, { value: opt, children: opt }, opt)) })
411
413
  ] })
412
414
  }
413
415
  ),
@@ -417,14 +419,14 @@ var FIELD_CONTROLS = {
417
419
  control,
418
420
  name: registerName,
419
421
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
420
- _chunkTZK5N6AHcjs.RadioGroup,
422
+ _chunkR5IWJONEcjs.RadioGroup,
421
423
  {
422
424
  value: _nullishCoalesce(rhf.value, () => ( "")),
423
425
  onValueChange: rhf.onChange,
424
426
  "aria-required": field.required || void 0,
425
427
  "aria-invalid": Boolean(error),
426
428
  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 }),
429
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
428
430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: `${id}-${opt}`, children: opt })
429
431
  ] }, opt))
430
432
  }
@@ -588,8 +590,8 @@ function BookingForm({
588
590
  children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
589
591
  }
590
592
  );
591
- 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
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkR5IWJONEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
594
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.HoneypotField, { ...honeypotInputProps }),
593
595
  fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
594
596
  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
597
  [...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
@@ -602,7 +604,7 @@ function BookingForm({
602
604
  supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
603
605
  ] }),
604
606
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
605
- _chunkTZK5N6AHcjs.CheckboxBlock,
607
+ _chunkR5IWJONEcjs.CheckboxBlock,
606
608
  {
607
609
  id: "ms-host-consent",
608
610
  checked: consented,
@@ -637,7 +639,7 @@ function BookingForm({
637
639
  // same block the waitlist form uses): box + label in one
638
640
  // bordered row.
639
641
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
640
- _chunkTZK5N6AHcjs.CheckboxBlock,
642
+ _chunkR5IWJONEcjs.CheckboxBlock,
641
643
  {
642
644
  id: `ms-consent-${box.communicationTypeId}`,
643
645
  checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _22 => _22.consented]), () => ( false)),
@@ -663,11 +665,15 @@ function BookingForm({
663
665
  ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: FOOTER_BARE_CLASS, children: submitButton })
664
666
  ] });
665
667
  }
666
- function BookingFormSkeleton({ fieldRows, footerNote }) {
668
+ function BookingFormSkeleton({
669
+ fieldRows,
670
+ consent,
671
+ footerNote
672
+ }) {
667
673
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex-1", FORM_STACK), children: [
668
674
  skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS))).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: _chunk23V5BSHDcjs.cn.call(void 0, FIELD_SKELETON_CLASS, slotColumnClass(row, slot, slotIndex)) }, slot.name)) }, row.map((s) => s.name).join("|"))),
669
675
  !fieldRows && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-[7.75rem] w-full" }),
670
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-[4.25rem] w-full" }),
676
+ consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-[4.25rem] w-full" }),
671
677
  footerNote ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: FOOTER_ROW_CLASS, children: [
672
678
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-5 min-w-40 flex-1" }),
673
679
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: _chunk23V5BSHDcjs.cn.call(void 0, "h-12 w-full", SUBMIT_WIDE_CLASS) })
@@ -676,10 +682,17 @@ function BookingFormSkeleton({ fieldRows, footerNote }) {
676
682
  }
677
683
  function normalizeFieldRows(fieldRows, resolves = () => true) {
678
684
  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);
685
+ const rows = [];
686
+ for (const row of fieldRows) {
687
+ const kept = [];
688
+ for (const slot of row) {
689
+ if (!resolves(slot.name) || seen.has(slot.name)) continue;
690
+ seen.add(slot.name);
691
+ kept.push(slot);
692
+ }
693
+ if (kept.length === 0) continue;
694
+ rows.push(kept.length === row.length ? kept : kept.map((slot) => ({ name: slot.name })));
695
+ }
683
696
  const named = new Set(fieldRows.flat().map((slot) => slot.name));
684
697
  const unplacedBuiltIns = BUILT_IN_BOOKING_FIELDS.filter((f) => !named.has(f.name));
685
698
  return { rows, unplacedBuiltIns, named };
@@ -742,7 +755,7 @@ function ContextPanelSkeleton({
742
755
  backLabel = "Back"
743
756
  }) {
744
757
  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 }),
758
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
746
759
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
747
760
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
748
761
  /* @__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 +803,7 @@ function SchedulerContextPanel({
790
803
  return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
791
804
  }, [timezone]);
792
805
  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 }),
806
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
794
807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
795
808
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
796
809
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
@@ -852,7 +865,7 @@ function SchedulerContextPanel({
852
865
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
853
866
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
854
867
  timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
855
- _chunkTZK5N6AHcjs.Autocomplete,
868
+ _chunkR5IWJONEcjs.Autocomplete,
856
869
  {
857
870
  value: timezone,
858
871
  disabled,
@@ -939,18 +952,18 @@ var NOOP = () => void 0;
939
952
  function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
940
953
  const now = /* @__PURE__ */ new Date();
941
954
  const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
942
- const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkTZK5N6AHcjs.MAX_MONTH_OFFSET + 1, 0);
955
+ const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkR5IWJONEcjs.MAX_MONTH_OFFSET + 1, 0);
943
956
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
944
957
  const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _27 => _27.has, 'call', _28 => _28(calendarDayKey(day))]), [slotsByDay]);
945
958
  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,
959
+ _chunkR5IWJONEcjs.DatePickerCalendar,
947
960
  {
948
961
  mode: "single",
949
962
  bare: true,
950
963
  month: visibleMonth,
951
964
  onMonthChange: (month) => {
952
965
  const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
953
- onMonthOffsetChange(Math.max(0, Math.min(_chunkTZK5N6AHcjs.MAX_MONTH_OFFSET, offset)));
966
+ onMonthOffsetChange(Math.max(0, Math.min(_chunkR5IWJONEcjs.MAX_MONTH_OFFSET, offset)));
954
967
  },
955
968
  fromDate: startMonth,
956
969
  toDate: endMonth,
@@ -1070,7 +1083,7 @@ function SlotPicker({
1070
1083
  monthLabelFor(monthOffset),
1071
1084
  "."
1072
1085
  ] }),
1073
- monthOffset < _chunkTZK5N6AHcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1086
+ monthOffset < _chunkR5IWJONEcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1074
1087
  _chunkCJBSU3XBcjs.Button,
1075
1088
  {
1076
1089
  variant: "outline",
@@ -1092,7 +1105,7 @@ function SlotPicker({
1092
1105
 
1093
1106
 
1094
1107
  function useNextAvailableLabel(ms) {
1095
- const hydrated = _chunkL7GNBUXFcjs.useIsHydrated.call(void 0, );
1108
+ const hydrated = _chunkYBPFIXV4cjs.useIsHydrated.call(void 0, );
1096
1109
  return _react.useMemo.call(void 0, () => {
1097
1110
  if (!hydrated || ms == null) return null;
1098
1111
  try {
@@ -1260,7 +1273,7 @@ var ACTION_PANEL_CLASS = "flex-1 min-w-0 flex flex-col md:min-h-0 lg:p-[var(--sp
1260
1273
  var PANEL_STEP_CLASS = "p-[var(--spacing-system-l)] md:min-h-0 md:overflow-y-auto lg:p-0";
1261
1274
  var STEP_PANEL_CLASS = _chunk23V5BSHDcjs.cn.call(void 0, "flex flex-1 flex-col", PANEL_STEP_CLASS);
1262
1275
  var MEETING_SCHEDULER_H = "md:h-[34.375rem] lg:h-[23.75rem]";
1263
- var MEETING_SCHEDULER_DETAILS_FIRST_H = "md:h-[39.875rem]";
1276
+ var MEETING_SCHEDULER_DETAILS_FIRST_H = "h-[50.75rem] md:h-[39.875rem]";
1264
1277
  var DEFAULT_SCHEDULER_FLOW = "slot-first";
1265
1278
  var SCHEDULER_FLOW_PRESETS = {
1266
1279
  "slot-first": { initialStep: "slot", height: MEETING_SCHEDULER_H, submitLabel: DEFAULT_SUBMIT_LABEL },
@@ -1333,7 +1346,7 @@ function HubSpotMeetingScheduler({
1333
1346
  isSubmitting
1334
1347
  } = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
1335
1348
  const detailsFirst = flow === "details-first";
1336
- const hydrated = _chunkL7GNBUXFcjs.useIsHydrated.call(void 0, );
1349
+ const hydrated = _chunkYBPFIXV4cjs.useIsHydrated.call(void 0, );
1337
1350
  const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
1338
1351
  const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
1339
1352
  if (!hydrated) return null;
@@ -1407,11 +1420,11 @@ function HubSpotMeetingScheduler({
1407
1420
  setBookingError(null);
1408
1421
  }, []);
1409
1422
  const backToDetails = _react.useCallback.call(void 0, () => {
1410
- if (inFlightRef.current) return;
1423
+ if (postInFlight()) return;
1411
1424
  setSelectedSlot(null);
1412
1425
  setStep("details");
1413
1426
  setBookingError(null);
1414
- }, []);
1427
+ }, [postInFlight]);
1415
1428
  const stashDetails = _react.useCallback.call(void 0,
1416
1429
  (payload) => {
1417
1430
  setBookingError(null);
@@ -1428,7 +1441,7 @@ function HubSpotMeetingScheduler({
1428
1441
  const priorError = bookingError;
1429
1442
  setBookingError(null);
1430
1443
  const result = await book(payload);
1431
- if (!result.ok && result.message === "Already submitting") {
1444
+ if (!result.ok && result.message === BOOKING_IN_FLIGHT_MESSAGE) {
1432
1445
  setBookingError(priorError);
1433
1446
  return;
1434
1447
  }
@@ -1446,8 +1459,8 @@ function HubSpotMeetingScheduler({
1446
1459
  if (!detailsFirst) resetSignals();
1447
1460
  void refetchAvailability();
1448
1461
  } else {
1462
+ if (detailsFirst) setSelectedSlot(null);
1449
1463
  if (detailsFirst && (code === "VALIDATION" || code === "INVALID_EMAIL")) {
1450
- setSelectedSlot(null);
1451
1464
  setStep("details");
1452
1465
  }
1453
1466
  toast({
@@ -1461,16 +1474,26 @@ function HubSpotMeetingScheduler({
1461
1474
  );
1462
1475
  const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
1463
1476
  const backEdge = detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack;
1464
- const cardClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_CLASS, preset.height, formOnly && "bg-ods-bg", className);
1477
+ const cardClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_CLASS, preset.height, detailsFirst && "flex flex-col", formOnly && "bg-ods-bg", className);
1478
+ const innerClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_INNER_CLASS, detailsFirst && "min-h-0 flex-1");
1479
+ const actionPanelClass = _chunk23V5BSHDcjs.cn.call(void 0, ACTION_PANEL_CLASS, detailsFirst && "min-h-0 overflow-y-auto");
1480
+ const stepPanelClass = _chunk23V5BSHDcjs.cn.call(void 0, STEP_PANEL_CLASS, detailsFirst && "min-h-0 overflow-y-auto");
1465
1481
  const degraded = (message) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SchedulerDegradedCard, { flow, className, message, action: escapeHatch });
1466
1482
  const degradedCard = degraded("We couldn't load available call times. Please try again shortly.");
1467
1483
  if (isLoadingAvailability && !availability) {
1468
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_INNER_CLASS, children: [
1484
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: innerClass, children: [
1469
1485
  !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" ? (
1486
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: actionPanelClass, children: formOnly ? (
1471
1487
  // The SAME wrapper the loaded form gets, so the skeleton never
1472
1488
  // states its own inset.
1473
- /* @__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 }) })
1489
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: stepPanelClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1490
+ BookingFormSkeleton,
1491
+ {
1492
+ fieldRows: _optionalChain([detailsFormProps, 'optionalAccess', _36 => _36.fieldRows]),
1493
+ consent: Boolean(_optionalChain([detailsFormProps, 'optionalAccess', _37 => _37.consent])),
1494
+ footerNote: preset.footerNote
1495
+ }
1496
+ ) })
1474
1497
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SlotPickerSkeleton, { monthOffset }) })
1475
1498
  ] }) });
1476
1499
  }
@@ -1478,7 +1501,7 @@ function HubSpotMeetingScheduler({
1478
1501
  if (!isNativelyBookable(availability)) {
1479
1502
  return degraded("This meeting type is booked directly on HubSpot.");
1480
1503
  }
1481
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_INNER_CLASS, children: [
1504
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: innerClass, children: [
1482
1505
  !formOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1483
1506
  SchedulerContextPanel,
1484
1507
  {
@@ -1502,14 +1525,14 @@ function HubSpotMeetingScheduler({
1502
1525
  className: CONTEXT_PANEL_CLASS
1503
1526
  }
1504
1527
  ),
1505
- /* @__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 ? (
1528
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: actionPanelClass, children: step === "confirmed" && confirmation && timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: stepPanelClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Confirmation, { confirmation, timezone }) }) : step === "details" && (detailsFirst ? (
1506
1529
  // The form is step ONE here: no slot yet, and `timezone` is null
1507
1530
  // 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
1512
- ) : 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: [
1531
+ // publishing no durations has no form worth showing; it gets the
1532
+ // "nothing published" message below at every moment, refetch or
1533
+ // not — never a calendar skeleton in the form-only layout.
1534
+ durations.length > 0
1535
+ ) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, stepPanelClass, "gap-[var(--spacing-system-m)]"), children: [
1513
1536
  selectedSlot != null && durationMs != null && timezone != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
1514
1537
  new Intl.DateTimeFormat(void 0, {
1515
1538
  timeZone: timezone,
@@ -1536,7 +1559,7 @@ function HubSpotMeetingScheduler({
1536
1559
  deferSlot: detailsFirst,
1537
1560
  submitLabel: preset.submitLabel,
1538
1561
  footerNote: preset.footerNote,
1539
- initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _37 => _37.payload]) : void 0,
1562
+ initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _38 => _38.payload]) : void 0,
1540
1563
  isSubmitting,
1541
1564
  onSubmit: detailsFirst ? stashDetails : handleSubmit,
1542
1565
  honeypotInputProps,
@@ -1545,11 +1568,11 @@ function HubSpotMeetingScheduler({
1545
1568
  )
1546
1569
  ] }) : /* @__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
1570
  bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1548
- _chunkTZK5N6AHcjs.Alert,
1571
+ _chunkR5IWJONEcjs.Alert,
1549
1572
  {
1550
1573
  variant: "warning",
1551
1574
  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.)" })
1575
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.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
1576
  }
1554
1577
  ),
1555
1578
  timezone && durationMs != null ? (
@@ -1603,10 +1626,12 @@ function HubSpotMeetingScheduler({
1603
1626
  isSubmitting: detailsFirst ? isSubmitting : void 0
1604
1627
  }
1605
1628
  )
1606
- ) : durations.length === 0 && !isFetchingAvailability ? (
1629
+ ) : durations.length === 0 && (!isFetchingAvailability || formOnly) ? (
1607
1630
  // The LINK publishes nothing at all — a different thing from a
1608
1631
  // fully-booked month, and the only case the escape hatch is
1609
- // the right answer to.
1632
+ // the right answer to. In the form-only layout it holds through
1633
+ // a refetch too: the alternative frame is a calendar skeleton
1634
+ // where a form belongs.
1610
1635
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-[var(--spacing-system-m)]", children: [
1611
1636
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No call times are published right now." }),
1612
1637
  escapeHatch