@flamingo-stack/openframe-frontend-core 0.0.791 → 0.0.793

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 (83) hide show
  1. package/dist/{chunk-ABZGBMC2.cjs → chunk-BI6FE3HO.cjs} +10 -10
  2. package/dist/{chunk-W3Q7ZQLS.cjs → chunk-BTI4RRU2.cjs} +2 -2
  3. package/dist/{chunk-3XSWE5FW.cjs → chunk-CASWVIJC.cjs} +8 -4
  4. package/dist/{chunk-6TPROUHW.cjs → chunk-CB24ILOB.cjs} +24 -14
  5. package/dist/{chunk-YWNXZAQ2.cjs → chunk-CKSAUEEL.cjs} +16 -16
  6. package/dist/{chunk-3AN35WAO.cjs → chunk-DWYMZ3LO.cjs} +24 -24
  7. package/dist/{chunk-DKOLQPE7.cjs → chunk-FDZOE5TL.cjs} +16 -1
  8. package/dist/{chunk-YPWFYQFE.cjs → chunk-FEARCFP4.cjs} +5 -5
  9. package/dist/{chunk-STEJZPIO.cjs → chunk-LHV2R6QU.cjs} +3 -3
  10. package/dist/{chunk-O4TKEWNW.cjs → chunk-LMZICTQW.cjs} +3 -3
  11. package/dist/{chunk-EPWLLLGW.cjs → chunk-LVBSVUHD.cjs} +2 -2
  12. package/dist/{chunk-4YIDZCTL.cjs → chunk-SMZWXY4X.cjs} +7 -13
  13. package/dist/{chunk-6ZPHUDTP.cjs → chunk-XGE2WCOH.cjs} +3 -3
  14. package/dist/{chunk-MIUFSOUN.cjs → chunk-YDH5OVRQ.cjs} +45 -38
  15. package/dist/{chunk-2I2AXIBD.cjs → chunk-ZCNEO273.cjs} +75 -55
  16. package/dist/{cloud-tenants-TTOYIEN3.cjs → cloud-tenants-BISHVU2T.cjs} +12 -12
  17. package/dist/components/case-studies/index.cjs +11 -11
  18. package/dist/components/contact/index.cjs +3 -3
  19. package/dist/components/docs/index.cjs +5 -5
  20. package/dist/components/docs/skeletons.d.ts.map +1 -1
  21. package/dist/components/docs/skeletons.js +11 -1
  22. package/dist/components/embeds/index.cjs +3 -3
  23. package/dist/components/faq/index.cjs +3 -3
  24. package/dist/components/features/conversation-card.d.ts.map +1 -1
  25. package/dist/components/features/conversation-card.js +77 -56
  26. package/dist/components/features/index.cjs +2 -2
  27. package/dist/components/help-center-pages/index.cjs +50 -50
  28. package/dist/components/help-center-pages/trust-center-sections.js +1 -1
  29. package/dist/components/index.cjs +18 -18
  30. package/dist/components/meeting-scheduler/booking-context-summary.d.ts +8 -0
  31. package/dist/components/meeting-scheduler/booking-context-summary.d.ts.map +1 -0
  32. package/dist/components/meeting-scheduler/booking-context-summary.js +54 -0
  33. package/dist/components/meeting-scheduler/booking-form.d.ts +14 -1
  34. package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
  35. package/dist/components/meeting-scheduler/booking-form.js +13 -3
  36. package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
  37. package/dist/components/meeting-scheduler/directory.js +3 -1
  38. package/dist/components/meeting-scheduler/index.cjs +137 -61
  39. package/dist/components/meeting-scheduler/index.d.ts +6 -2
  40. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  41. package/dist/components/meeting-scheduler/index.js +7 -2
  42. package/dist/components/navigation/index.cjs +3 -3
  43. package/dist/components/onboarding-guides/index.cjs +4 -4
  44. package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
  45. package/dist/components/product-demo/fixtures/devices.js +5 -12
  46. package/dist/components/product-demo/fixtures/shared.d.ts +89 -0
  47. package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
  48. package/dist/components/product-demo/fixtures/shared.js +15 -0
  49. package/dist/components/product-demo/index.cjs +16 -16
  50. package/dist/components/product-demo/screens/devices-view.d.ts.map +1 -1
  51. package/dist/components/product-demo/screens/devices-view.js +3 -1
  52. package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
  53. package/dist/components/shared/roadmap/roadmap-grid.js +15 -8
  54. package/dist/components/tickets/index.cjs +5 -5
  55. package/dist/components/ui/index.cjs +2 -2
  56. package/dist/{devices-SKWJYGUD.cjs → devices-GMR73ZF3.cjs} +8 -8
  57. package/dist/index.cjs +3 -3
  58. package/dist/{knowledge-BPB2TROI.cjs → knowledge-XC2K5VQO.cjs} +6 -6
  59. package/dist/loading-standard/engine.d.mts.map +1 -1
  60. package/dist/{logs-VIHYNQU4.cjs → logs-LBGQLETC.cjs} +24 -24
  61. package/dist/{policies-YVNOCNNO.cjs → policies-3XVE6266.cjs} +9 -9
  62. package/dist/{remote-session-WKLEYACD.cjs → remote-session-4ZNTOLOQ.cjs} +5 -5
  63. package/dist/schemas/meeting-booking-schema.cjs +21 -0
  64. package/dist/schemas/meeting-booking-schema.d.ts +43 -0
  65. package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
  66. package/dist/schemas/meeting-booking-schema.js +21 -0
  67. package/dist/{scripts-MK5FCR7L.cjs → scripts-NE5IL4NC.cjs} +13 -13
  68. package/dist/{software-update-GDV75A2Z.cjs → software-update-EJDKTFAP.cjs} +13 -13
  69. package/dist/{tickets-board-URMIIAKD.cjs → tickets-board-X4GHEKPB.cjs} +17 -17
  70. package/package.json +1 -1
  71. package/src/components/docs/skeletons.tsx +7 -1
  72. package/src/components/features/conversation-card.tsx +89 -64
  73. package/src/components/help-center-pages/trust-center-sections.tsx +1 -1
  74. package/src/components/meeting-scheduler/booking-context-summary.tsx +100 -0
  75. package/src/components/meeting-scheduler/booking-form.tsx +28 -0
  76. package/src/components/meeting-scheduler/directory.tsx +6 -1
  77. package/src/components/meeting-scheduler/index.tsx +23 -2
  78. package/src/components/product-demo/fixtures/devices.ts +5 -12
  79. package/src/components/product-demo/fixtures/shared.ts +20 -0
  80. package/src/components/product-demo/screens/devices-view.tsx +3 -0
  81. package/src/components/shared/roadmap/roadmap-grid.tsx +29 -7
  82. package/src/loading-standard/engine.mjs +6 -2
  83. package/src/schemas/meeting-booking-schema.ts +62 -0
@@ -22,7 +22,7 @@ var _chunkZW2TS775cjs = require('../../chunk-ZW2TS775.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunk2I2AXIBDcjs = require('../../chunk-2I2AXIBD.cjs');
25
+ var _chunkZCNEO273cjs = require('../../chunk-ZCNEO273.cjs');
26
26
  require('../../chunk-PQIWR4Q2.cjs');
27
27
  require('../../chunk-HJBJHQKE.cjs');
28
28
 
@@ -1873,6 +1873,7 @@ var _chunk72NE4G63cjs = require('../../chunk-72NE4G63.cjs');
1873
1873
 
1874
1874
 
1875
1875
 
1876
+
1876
1877
  var _chunk7VXMO4XJcjs = require('../../chunk-7VXMO4XJ.cjs');
1877
1878
  require('../../chunk-S5C3OZCO.cjs');
1878
1879
  require('../../chunk-32ASZMTV.cjs');
@@ -2030,7 +2031,7 @@ var DATA_TYPE_CONTROLS = {
2030
2031
  datetime: "date",
2031
2032
  phone_number: "phone"
2032
2033
  };
2033
- var hasDeclaredOptions = (field) => (_nullishCoalesce(_optionalChain([field, 'access', _ => _.options, 'optionalAccess', _2 => _2.length]), () => ( 0))) > 0;
2034
+ var hasDeclaredOptions = (field) => (_nullishCoalesce(_optionalChain([field, 'access', _2 => _2.options, 'optionalAccess', _3 => _3.length]), () => ( 0))) > 0;
2034
2035
  function resolveFormFieldControl(field) {
2035
2036
  const fieldType = (_nullishCoalesce(field.type, () => ( ""))).toLowerCase();
2036
2037
  const withOptions = hasDeclaredOptions(field);
@@ -2138,7 +2139,7 @@ function buildBookingSchema(formFields, legalConsent, slot) {
2138
2139
  }
2139
2140
  answers[field.name] = validator;
2140
2141
  }
2141
- const requiredConsentIds = (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess', _3 => _3.communicationConsentCheckboxes]), () => ( []))).filter((c) => c.required).map((c) => c.communicationTypeId);
2142
+ const requiredConsentIds = (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess', _4 => _4.communicationConsentCheckboxes]), () => ( []))).filter((c) => c.required).map((c) => c.communicationTypeId);
2142
2143
  const hasRequiredAnswers = drawn.some((f) => f.required);
2143
2144
  const answersObject = z.object(answers);
2144
2145
  return z.object({
@@ -2183,7 +2184,7 @@ function makeDeferredBookingSchema(formFields, legalConsent) {
2183
2184
  }
2184
2185
  function emailDomainDenied(email, rule) {
2185
2186
  if (typeof email !== "string") return false;
2186
- const domain = _optionalChain([email, 'access', _4 => _4.split, 'call', _5 => _5("@"), 'access', _6 => _6[1], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8(), 'access', _9 => _9.toLowerCase, 'call', _10 => _10()]);
2187
+ const domain = _optionalChain([email, 'access', _5 => _5.split, 'call', _6 => _6("@"), 'access', _7 => _7[1], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9(), 'access', _10 => _10.toLowerCase, 'call', _11 => _11()]);
2187
2188
  if (domain === void 0 || domain === "") return false;
2188
2189
  return rule.domains.includes(domain);
2189
2190
  }
@@ -2195,6 +2196,18 @@ function withDeniedEmailDomains(schema, rule) {
2195
2196
  }
2196
2197
  });
2197
2198
  }
2199
+ var BOOKING_CONTEXT_FIELD = "bookingContext";
2200
+ var BOOKING_CONTEXT_LIMITS = { label: 120, items: 20, item: 400 };
2201
+ var bookingContextSchema = z.object({
2202
+ label: z.string().trim().min(1).max(BOOKING_CONTEXT_LIMITS.label),
2203
+ items: z.array(z.string().trim().min(1).max(BOOKING_CONTEXT_LIMITS.item)).min(1).max(BOOKING_CONTEXT_LIMITS.items)
2204
+ });
2205
+ function hasBookingContext(context) {
2206
+ return Boolean(context && context.label.trim() && context.items.some((item) => item.trim()));
2207
+ }
2208
+ function bookingContextFields(context) {
2209
+ return hasBookingContext(context) ? { [BOOKING_CONTEXT_FIELD]: context } : {};
2210
+ }
2198
2211
 
2199
2212
  // src/hooks/use-meeting-booking.ts
2200
2213
  var AVAILABILITY_STALE_MS = 0;
@@ -2205,7 +2218,7 @@ var BOOKING_IN_FLIGHT_MESSAGE = "Already submitting";
2205
2218
  function useMeetingBooking(options) {
2206
2219
  const { meetingId, apiBaseUrl = "", initialAvailability } = options;
2207
2220
  const queryClient = _reactquery.useQueryClient.call(void 0, );
2208
- const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _11 => _11.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
2221
+ const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
2209
2222
  const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
2210
2223
  const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
2211
2224
  setMonthOffsetState(Math.max(0, Math.min(_chunk7EH7KKFWcjs.MAX_MONTH_OFFSET, offset)));
@@ -2217,7 +2230,7 @@ function useMeetingBooking(options) {
2217
2230
  setMonthOffsetState(0);
2218
2231
  }, [meetingId]);
2219
2232
  const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
2220
- const seed = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId && initialAvailability.monthOffset === monthOffset ? initialAvailability : void 0;
2233
+ const seed = _optionalChain([initialAvailability, 'optionalAccess', _13 => _13.meetingId]) === meetingId && initialAvailability.monthOffset === monthOffset ? initialAvailability : void 0;
2221
2234
  const availabilityQuery = _reactquery.useQuery.call(void 0, {
2222
2235
  queryKey: meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset),
2223
2236
  queryFn: async ({ signal }) => {
@@ -2291,7 +2304,57 @@ function useMeetingBooking(options) {
2291
2304
  var _zod2 = require('@hookform/resolvers/zod');
2292
2305
 
2293
2306
  var _reacthookform = require('react-hook-form');
2307
+
2308
+ // src/components/meeting-scheduler/booking-context-summary.tsx
2294
2309
  var _jsxruntime = require('react/jsx-runtime');
2310
+ var SLOT_GRID_CLASS = "grid grid-cols-1 gap-[var(--spacing-system-xs)] content-md:grid-cols-2";
2311
+ var SLOT_CELL_CLASS = "flex min-w-0";
2312
+ var LINE_TAG_PROPS = { variant: "outline", size: "sentence", className: "max-w-full" };
2313
+ var LOADING_LINE_CLASS = "w-3/4";
2314
+ var EMPTY_CLASS = "absolute inset-0 flex items-center justify-center rounded-md border border-dashed border-ods-border px-[var(--spacing-system-sf)] text-center text-ods-text-secondary text-h6";
2315
+ var EMPTY_CELL_CLASS = "h-9 w-full rounded-md border border-dashed border-ods-border";
2316
+ function BookingContextSummary({
2317
+ context,
2318
+ slot,
2319
+ loading: loadingProp
2320
+ }) {
2321
+ const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
2322
+ const items = hasBookingContext(context) ? context.items.filter((item) => item.trim()) : [];
2323
+ const label = _nullishCoalesce(_optionalChain([slot, 'optionalAccess', _14 => _14.label]), () => ( _optionalChain([context, 'optionalAccess', _15 => _15.label])));
2324
+ if (!label || !slot && items.length === 0) return null;
2325
+ if (!slot) {
2326
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-wrap gap-[var(--spacing-system-xs)]", "aria-label": label, children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: item, ...LINE_TAG_PROPS }) }, item)) }) });
2327
+ }
2328
+ const cells = Array.from({ length: Math.max(slot.slots, items.length) }, (_, index) => items[index]);
2329
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
2330
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: SLOT_GRID_CLASS, "aria-label": label, children: cells.map((item, index) => {
2331
+ const empty = !loading && !item;
2332
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2333
+ "li",
2334
+ {
2335
+ className: SLOT_CELL_CLASS,
2336
+ "aria-hidden": empty || void 0,
2337
+ "data-loading-item": "",
2338
+ children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: "", loading: true, ...LINE_TAG_PROPS, className: LOADING_LINE_CLASS }) : item ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: item, ...LINE_TAG_PROPS }) : (
2339
+ // With no line at all the empty state covers every slot; with some, the rest stay as slots.
2340
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, EMPTY_CELL_CLASS, items.length === 0 && "invisible") })
2341
+ )
2342
+ },
2343
+ _nullishCoalesce(item, () => ( `empty-${index}`))
2344
+ );
2345
+ }) }),
2346
+ !loading && items.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: EMPTY_CLASS, children: slot.emptyText })
2347
+ ] }) });
2348
+ }
2349
+ function SummaryFrame({ label, children }) {
2350
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
2351
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: label }),
2352
+ children
2353
+ ] });
2354
+ }
2355
+
2356
+ // src/components/meeting-scheduler/booking-form.tsx
2357
+
2295
2358
  var FORM_STACK = "flex flex-col gap-[var(--spacing-system-l)]";
2296
2359
  var ROW_GRID = "grid grid-cols-2 gap-x-[var(--spacing-system-m)] gap-y-[var(--spacing-system-lf)] content-md:grid-cols-4";
2297
2360
  var HOST_CONSENT_KEY = "hostConsent";
@@ -2313,8 +2376,8 @@ var evenSpan = (count, index) => {
2313
2376
  return Math.min(GRID_COLUMNS, Math.max(1, index < extra ? base + 1 : base));
2314
2377
  };
2315
2378
  var slotColumnClass = (row, slot, index) => _chunk6YZNUHXTcjs.cn.call(void 0, row.length === 2 ? "col-span-1" : "col-span-2", SPAN_CLASS[_nullishCoalesce(slot.span, () => ( evenSpan(row.length, index)))]);
2316
- var placeholderFor = (field) => _nullishCoalesce(field.placeholder, () => ( _optionalChain([fieldTypeSpec, 'call', _13 => _13(field.type), 'access', _14 => _14.placeholder, 'optionalCall', _15 => _15(field)])));
2317
- var formFieldOptionLabel = (field, value) => _nullishCoalesce(_optionalChain([field, 'access', _16 => _16.optionLabels, 'optionalAccess', _17 => _17[value]]), () => ( value));
2379
+ var placeholderFor = (field) => _nullishCoalesce(field.placeholder, () => ( _optionalChain([fieldTypeSpec, 'call', _16 => _16(field.type), 'access', _17 => _17.placeholder, 'optionalCall', _18 => _18(field)])));
2380
+ var formFieldOptionLabel = (field, value) => _nullishCoalesce(_optionalChain([field, 'access', _19 => _19.optionLabels, 'optionalAccess', _20 => _20[value]]), () => ( value));
2318
2381
  var trimmed = (v) => String(_nullishCoalesce(v, () => ( ""))).trim();
2319
2382
  var canonicalNumber = (v) => {
2320
2383
  const s = String(_nullishCoalesce(v, () => ( ""))).trim();
@@ -2339,7 +2402,7 @@ var FIELD_CONTROLS = {
2339
2402
  }
2340
2403
  ),
2341
2404
  textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2342
- _chunk2I2AXIBDcjs.Textarea,
2405
+ _chunkZCNEO273cjs.Textarea,
2343
2406
  {
2344
2407
  id,
2345
2408
  required: field.required,
@@ -2416,14 +2479,14 @@ var FIELD_CONTROLS = {
2416
2479
  control,
2417
2480
  name: registerName,
2418
2481
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2419
- _chunk2I2AXIBDcjs.RadioGroup,
2482
+ _chunkZCNEO273cjs.RadioGroup,
2420
2483
  {
2421
2484
  value: _nullishCoalesce(rhf.value, () => ( "")),
2422
2485
  onValueChange: rhf.onChange,
2423
2486
  "aria-required": field.required || void 0,
2424
2487
  "aria-invalid": Boolean(error),
2425
2488
  children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
2426
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
2489
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
2427
2490
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
2428
2491
  ] }, opt))
2429
2492
  }
@@ -2487,7 +2550,7 @@ var CHIP_FIELD_TYPES = /* @__PURE__ */ new Set(["select", "radio"]);
2487
2550
  var CHIP_MAX_OPTIONS = 6;
2488
2551
  function drawnAsChips(field, display) {
2489
2552
  if (display !== "chips" || !CHIP_FIELD_TYPES.has(field.type)) return false;
2490
- const count = _nullishCoalesce(_optionalChain([field, 'access', _18 => _18.options, 'optionalAccess', _19 => _19.length]), () => ( 0));
2553
+ const count = _nullishCoalesce(_optionalChain([field, 'access', _21 => _21.options, 'optionalAccess', _22 => _22.length]), () => ( 0));
2491
2554
  return count > 0 && count <= CHIP_MAX_OPTIONS;
2492
2555
  }
2493
2556
  var CHIP_ROW_CLASS = "flex flex-wrap justify-start gap-[var(--spacing-system-xsf)]";
@@ -2497,7 +2560,7 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
2497
2560
  control,
2498
2561
  name: registerName,
2499
2562
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2500
- _chunk2I2AXIBDcjs.ToggleGroup,
2563
+ _chunkZCNEO273cjs.ToggleGroup,
2501
2564
  {
2502
2565
  id,
2503
2566
  type: "single",
@@ -2506,13 +2569,13 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
2506
2569
  onValueChange: (value) => {
2507
2570
  if (value) rhf.onChange(value);
2508
2571
  },
2509
- ref: (group) => rhf.ref(group && { focus: () => _optionalChain([group, 'access', _20 => _20.querySelector, 'call', _21 => _21("button"), 'optionalAccess', _22 => _22.focus, 'call', _23 => _23()]) }),
2572
+ ref: (group) => rhf.ref(group && { focus: () => _optionalChain([group, 'access', _23 => _23.querySelector, 'call', _24 => _24("button"), 'optionalAccess', _25 => _25.focus, 'call', _26 => _26()]) }),
2510
2573
  onBlur: rhf.onBlur,
2511
2574
  "aria-labelledby": _chunkHCXNFMLOcjs.fieldLabelId.call(void 0, id),
2512
2575
  "aria-required": field.required || void 0,
2513
2576
  "aria-invalid": Boolean(error),
2514
2577
  className: CHIP_ROW_CLASS,
2515
- children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.ToggleGroupItem, { value: opt, className: _chunk6YZNUHXTcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
2578
+ children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.ToggleGroupItem, { value: opt, className: _chunk6YZNUHXTcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
2516
2579
  }
2517
2580
  )
2518
2581
  }
@@ -2530,7 +2593,8 @@ function BookingForm(props) {
2530
2593
  fieldCopy: props.fieldCopy,
2531
2594
  consent: props.consent,
2532
2595
  footerNote: props.footerNote,
2533
- submitLabel: props.submitLabel
2596
+ submitLabel: props.submitLabel,
2597
+ contextSlot: props.contextSlot
2534
2598
  }
2535
2599
  );
2536
2600
  }
@@ -2545,6 +2609,8 @@ function BookingFormBody({
2545
2609
  deferSlot = false,
2546
2610
  initialValues,
2547
2611
  answers,
2612
+ context,
2613
+ contextSlot,
2548
2614
  submitLabel,
2549
2615
  footerNote,
2550
2616
  fieldRows,
@@ -2571,7 +2637,7 @@ function BookingFormBody({
2571
2637
  [supportedFields, legalConsent, deniedEmailDomains]
2572
2638
  );
2573
2639
  const consentDefaults = _react.useMemo.call(void 0,
2574
- () => (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess', _24 => _24.communicationConsentCheckboxes]), () => ( []))).map((c) => ({
2640
+ () => (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess', _27 => _27.communicationConsentCheckboxes]), () => ( []))).map((c) => ({
2575
2641
  communicationTypeId: c.communicationTypeId,
2576
2642
  consented: false
2577
2643
  })),
@@ -2603,8 +2669,8 @@ function BookingFormBody({
2603
2669
  ..._nullishCoalesce(initialValues, () => ( {}))
2604
2670
  }
2605
2671
  });
2606
- const priorConsents = _optionalChain([initialValues, 'optionalAccess', _25 => _25.legalConsentResponses]);
2607
- const [consented, setConsented] = _react.useState.call(void 0, _optionalChain([initialValues, 'optionalAccess', _26 => _26[HOST_CONSENT_KEY]]) === true);
2672
+ const priorConsents = _optionalChain([initialValues, 'optionalAccess', _28 => _28.legalConsentResponses]);
2673
+ const [consented, setConsented] = _react.useState.call(void 0, _optionalChain([initialValues, 'optionalAccess', _29 => _29[HOST_CONSENT_KEY]]) === true);
2608
2674
  const [consentError, setConsentError] = _react.useState.call(void 0, null);
2609
2675
  const consentMissing = Boolean(consent) && !consented;
2610
2676
  const watchedValues = watch();
@@ -2622,7 +2688,7 @@ function BookingFormBody({
2622
2688
  "legalConsentResponses",
2623
2689
  consentDefaults.map((next) => ({
2624
2690
  ...next,
2625
- consented: _nullishCoalesce(_optionalChain([current, 'access', _27 => _27.find, 'call', _28 => _28((r) => r.communicationTypeId === next.communicationTypeId), 'optionalAccess', _29 => _29.consented]), () => ( false))
2691
+ consented: _nullishCoalesce(_optionalChain([current, 'access', _30 => _30.find, 'call', _31 => _31((r) => r.communicationTypeId === next.communicationTypeId), 'optionalAccess', _32 => _32.consented]), () => ( false))
2626
2692
  })),
2627
2693
  { shouldDirty: false }
2628
2694
  );
@@ -2632,8 +2698,8 @@ function BookingFormBody({
2632
2698
  const names = /* @__PURE__ */ new Set([...Object.keys(_nullishCoalesce(answers, () => ( {}))), ...Object.keys(written.current)]);
2633
2699
  for (const name of names) {
2634
2700
  if (!supportedFields.some((field) => field.name === name)) continue;
2635
- const next = _nullishCoalesce(_optionalChain([answers, 'optionalAccess', _30 => _30[name]]), () => ( ""));
2636
- const current = _nullishCoalesce(_optionalChain([getValues, 'call', _31 => _31("formFields"), 'optionalAccess', _32 => _32[name]]), () => ( ""));
2701
+ const next = _nullishCoalesce(_optionalChain([answers, 'optionalAccess', _33 => _33[name]]), () => ( ""));
2702
+ const current = _nullishCoalesce(_optionalChain([getValues, 'call', _34 => _34("formFields"), 'optionalAccess', _35 => _35[name]]), () => ( ""));
2637
2703
  if (current !== "" && current !== written.current[name]) continue;
2638
2704
  if (next) written.current[name] = next;
2639
2705
  else delete written.current[name];
@@ -2677,20 +2743,22 @@ function BookingFormBody({
2677
2743
  startTimeMs,
2678
2744
  durationMs,
2679
2745
  timezone,
2746
+ // The page's context rides beside the answers, never inside them: the server strips it from the booking.
2747
+ ...bookingContextFields(context),
2680
2748
  ...getSignals(),
2681
2749
  ...formRescue.submitFields()
2682
2750
  });
2683
2751
  }, onInvalid);
2684
2752
  const submit = (event) => {
2685
- if (consentMissing) setConsentError(_nullishCoalesce(_optionalChain([consent, 'optionalAccess', _33 => _33.errorMessage]), () => ( "Please agree to continue.")));
2753
+ if (consentMissing) setConsentError(_nullishCoalesce(_optionalChain([consent, 'optionalAccess', _36 => _36.errorMessage]), () => ( "Please agree to continue.")));
2686
2754
  return submitValid(event);
2687
2755
  };
2688
2756
  const fieldError = (name) => {
2689
- const err = _optionalChain([errors, 'access', _34 => _34.formFields, 'optionalAccess', _35 => _35[name]]);
2690
- return _optionalChain([err, 'optionalAccess', _36 => _36.message]);
2757
+ const err = _optionalChain([errors, 'access', _37 => _37.formFields, 'optionalAccess', _38 => _38[name]]);
2758
+ return _optionalChain([err, 'optionalAccess', _39 => _39.message]);
2691
2759
  };
2692
2760
  const renderField = (field, where) => {
2693
- const copy = _optionalChain([fieldCopy, 'optionalAccess', _37 => _37[field.name]]);
2761
+ const copy = _optionalChain([fieldCopy, 'optionalAccess', _40 => _40[field.name]]);
2694
2762
  const shown = copy ? { ...field, label: _nullishCoalesce(copy.label, () => ( field.label)), placeholder: _nullishCoalesce(copy.placeholder, () => ( field.placeholder)) } : field;
2695
2763
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2696
2764
  _chunkHCXNFMLOcjs.FieldWrapper,
@@ -2699,7 +2767,7 @@ function BookingFormBody({
2699
2767
  htmlFor: where.id,
2700
2768
  required: shown.required,
2701
2769
  error: where.error,
2702
- children: (drawnAsChips(shown, _optionalChain([copy, 'optionalAccess', _38 => _38.display])) ? chipsControl : FIELD_CONTROLS[shown.type])({
2770
+ children: (drawnAsChips(shown, _optionalChain([copy, 'optionalAccess', _41 => _41.display])) ? chipsControl : FIELD_CONTROLS[shown.type])({
2703
2771
  field: shown,
2704
2772
  id: where.id,
2705
2773
  registerName: where.registerName,
@@ -2714,7 +2782,7 @@ function BookingFormBody({
2714
2782
  const builtInFields = Object.fromEntries(
2715
2783
  BUILT_IN_BOOKING_FIELDS.map((field) => [
2716
2784
  field.name,
2717
- renderField(field, { id: builtInId(field.name), registerName: field.name, error: _optionalChain([errors, 'access', _39 => _39[field.name], 'optionalAccess', _40 => _40.message]) })
2785
+ renderField(field, { id: builtInId(field.name), registerName: field.name, error: _optionalChain([errors, 'access', _42 => _42[field.name], 'optionalAccess', _43 => _43.message]) })
2718
2786
  ])
2719
2787
  );
2720
2788
  const renderDeclaredField = (field) => renderField(field, {
@@ -2743,7 +2811,8 @@ function BookingFormBody({
2743
2811
  }
2744
2812
  );
2745
2813
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { id: formId, onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunk7EH7KKFWcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
2746
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.HoneypotField, { ...honeypotInputProps }),
2814
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.HoneypotField, { ...honeypotInputProps }),
2815
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { context, slot: contextSlot }),
2747
2816
  fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2748
2817
  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("|"))),
2749
2818
  [...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
@@ -2756,7 +2825,7 @@ function BookingFormBody({
2756
2825
  supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
2757
2826
  ] }),
2758
2827
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2759
- _chunk2I2AXIBDcjs.CheckboxBlock,
2828
+ _chunkZCNEO273cjs.CheckboxBlock,
2760
2829
  {
2761
2830
  id: "ms-host-consent",
2762
2831
  checked: consented,
@@ -2775,7 +2844,7 @@ function BookingFormBody({
2775
2844
  // box doesn't shove the submit button down the card. With no error the
2776
2845
  // wrapper is `display:contents` and the panel below is the flex item,
2777
2846
  // exactly as it was.
2778
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { error: _optionalChain([errors, 'access', _41 => _41.legalConsentResponses, 'optionalAccess', _42 => _42.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
2847
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { error: _optionalChain([errors, 'access', _44 => _44.legalConsentResponses, 'optionalAccess', _45 => _45.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
2779
2848
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.processingConsentText }),
2780
2849
  legalConsent.communicationConsentText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.communicationConsentText }),
2781
2850
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2791,10 +2860,10 @@ function BookingFormBody({
2791
2860
  // same block the waitlist form uses): box + label in one
2792
2861
  // bordered row.
2793
2862
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2794
- _chunk2I2AXIBDcjs.CheckboxBlock,
2863
+ _chunkZCNEO273cjs.CheckboxBlock,
2795
2864
  {
2796
2865
  id: `ms-consent-${box.communicationTypeId}`,
2797
- checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _43 => _43.consented]), () => ( false)),
2866
+ checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _46 => _46.consented]), () => ( false)),
2798
2867
  onCheckedChange: (v) => rhf.onChange(
2799
2868
  responses.map(
2800
2869
  (r) => r.communicationTypeId === box.communicationTypeId ? { ...r, consented: v } : r
@@ -2823,13 +2892,15 @@ function BookingFormPending({
2823
2892
  fieldCopy,
2824
2893
  consent,
2825
2894
  footerNote,
2826
- submitLabel = DEFAULT_SUBMIT_LABEL
2895
+ submitLabel = DEFAULT_SUBMIT_LABEL,
2896
+ contextSlot
2827
2897
  }) {
2828
2898
  const consentId = _react.useId.call(void 0, );
2829
2899
  const submitButton = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", tabIndex: -1, className: footerNote ? SUBMIT_WIDE_CLASS : void 0, children: submitLabel });
2830
2900
  return (
2831
2901
  // Inert: the fields are the form's own controls, drawn so each is its loaded size; none takes focus.
2832
2902
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex-1", FORM_STACK), "aria-hidden": true, inert: true, children: [
2903
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { slot: contextSlot, loading: true }),
2833
2904
  skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS)), optionalFields).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2834
2905
  FieldSkeleton,
2835
2906
  {
@@ -2842,10 +2913,10 @@ function BookingFormPending({
2842
2913
  !fieldRows && // An empty label keeps the field's own frame (`FieldWrapper` draws no label for it); the bar stands for it.
2843
2914
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label: "", children: [
2844
2915
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-40" }),
2845
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.Textarea, { tabIndex: -1 })
2916
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.Textarea, { tabIndex: -1 })
2846
2917
  ] }),
2847
2918
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2848
- _chunk2I2AXIBDcjs.CheckboxBlock,
2919
+ _chunkZCNEO273cjs.CheckboxBlock,
2849
2920
  {
2850
2921
  id: consentId,
2851
2922
  checked: false,
@@ -2890,13 +2961,13 @@ function FieldSkeleton({
2890
2961
  className
2891
2962
  }) {
2892
2963
  const builtIn = BUILT_IN_BOOKING_FIELDS.find((f) => f.name === name);
2893
- const copy = _optionalChain([fieldCopy, 'optionalAccess', _44 => _44[name]]);
2894
- const label = builtIn ? _nullishCoalesce(_optionalChain([copy, 'optionalAccess', _45 => _45.label]), () => ( builtIn.label)) : _optionalChain([copy, 'optionalAccess', _46 => _46.label]);
2964
+ const copy = _optionalChain([fieldCopy, 'optionalAccess', _47 => _47[name]]);
2965
+ const label = builtIn ? _nullishCoalesce(_optionalChain([copy, 'optionalAccess', _48 => _48.label]), () => ( builtIn.label)) : _optionalChain([copy, 'optionalAccess', _49 => _49.label]);
2895
2966
  return (
2896
2967
  // An empty label keeps the field's own frame; a read label is the bar under it.
2897
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess', _47 => _47.required]), className, children: [
2968
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess', _50 => _50.required]), className, children: [
2898
2969
  label === void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-32" }),
2899
- !builtIn && _optionalChain([copy, 'optionalAccess', _48 => _48.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { variant: "default", className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunk2I2AXIBDcjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.Input, { tabIndex: -1 })
2970
+ !builtIn && _optionalChain([copy, 'optionalAccess', _51 => _51.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { variant: "default", className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunkZCNEO273cjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.Input, { tabIndex: -1 })
2900
2971
  ] })
2901
2972
  );
2902
2973
  }
@@ -3005,7 +3076,7 @@ function ContextPanelSkeleton({
3005
3076
  ] }),
3006
3077
  timezone !== "hidden" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ASIDE, timezone === "wide" && TIMEZONE_WIDE_ONLY_CLASS), children: [
3007
3078
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
3008
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk6YZNUHXTcjs.LOADING_NOOP })
3079
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk6YZNUHXTcjs.LOADING_NOOP })
3009
3080
  ] })
3010
3081
  ] })
3011
3082
  ] });
@@ -3084,13 +3155,13 @@ function SchedulerContextPanel({
3084
3155
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ASIDE, locked && TIMEZONE_WIDE_ONLY_CLASS), children: [
3085
3156
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
3086
3157
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3087
- _chunk2I2AXIBDcjs.TimezoneSelect,
3158
+ _chunkZCNEO273cjs.TimezoneSelect,
3088
3159
  {
3089
3160
  value: _nullishCoalesce(timezone, () => ( null)),
3090
3161
  loading: !timezone,
3091
3162
  disabled,
3092
3163
  onChange: (tz) => {
3093
- if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _49 => _49(tz)]);
3164
+ if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _52 => _52(tz)]);
3094
3165
  }
3095
3166
  }
3096
3167
  )
@@ -3141,13 +3212,13 @@ function SchedulerModalHeader({
3141
3212
  showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
3142
3213
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
3143
3214
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3144
- _chunk2I2AXIBDcjs.TimezoneSelect,
3215
+ _chunkZCNEO273cjs.TimezoneSelect,
3145
3216
  {
3146
3217
  value: timezone,
3147
3218
  loading: !timezone,
3148
3219
  disabled,
3149
3220
  onChange: (tz) => {
3150
- if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _50 => _50(tz)]);
3221
+ if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _53 => _53(tz)]);
3151
3222
  }
3152
3223
  }
3153
3224
  )
@@ -3162,7 +3233,7 @@ function SchedulerModalHeaderSkeleton({ showTimezone = true } = {}) {
3162
3233
  ] }),
3163
3234
  showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
3164
3235
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
3165
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk6YZNUHXTcjs.LOADING_NOOP })
3236
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk6YZNUHXTcjs.LOADING_NOOP })
3166
3237
  ] })
3167
3238
  ] });
3168
3239
  }
@@ -3246,9 +3317,9 @@ function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDa
3246
3317
  const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
3247
3318
  const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunk7EH7KKFWcjs.MAX_MONTH_OFFSET + 1, 0);
3248
3319
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
3249
- const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _51 => _51.has, 'call', _52 => _52(calendarDayKey(day))]), [slotsByDay]);
3320
+ const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _54 => _54.has, 'call', _55 => _55(calendarDayKey(day))]), [slotsByDay]);
3250
3321
  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,
3251
- _chunk2I2AXIBDcjs.DatePickerCalendar,
3322
+ _chunkZCNEO273cjs.DatePickerCalendar,
3252
3323
  {
3253
3324
  mode: "single",
3254
3325
  bare: true,
@@ -3264,7 +3335,7 @@ function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDa
3264
3335
  const day = value;
3265
3336
  if (!day) return;
3266
3337
  const key = calendarDayKey(day);
3267
- if (_optionalChain([slotsByDay, 'optionalAccess', _53 => _53.has, 'call', _54 => _54(key)])) onSelectDay(key);
3338
+ if (_optionalChain([slotsByDay, 'optionalAccess', _56 => _56.has, 'call', _57 => _57(key)])) onSelectDay(key);
3268
3339
  },
3269
3340
  disabledDays: slotsByDay === null ? DISABLE_EVERY_DAY : dayHasNoSlots
3270
3341
  }
@@ -3473,6 +3544,8 @@ function DirectoryRow({
3473
3544
  }
3474
3545
  );
3475
3546
  }
3547
+ var NO_HOSTS = [];
3548
+ var TYPICAL_HOSTS = 1;
3476
3549
  function MeetingSchedulerDirectoryRowSkeleton(props = {}) {
3477
3550
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_FRAME_CLASS, "aria-hidden": true, ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props), children: [
3478
3551
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_TITLE_COLUMN_CLASS, children: [
@@ -3480,7 +3553,7 @@ function MeetingSchedulerDirectoryRowSkeleton(props = {}) {
3480
3553
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" })
3481
3554
  ] }),
3482
3555
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "hidden h-6 w-28 shrink-0 content-sm:block" }),
3483
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "h-10 w-10 shrink-0 rounded-full" }),
3556
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72NE4G63cjs.AvatarStack, { people: NO_HOSTS, loading: true, max: TYPICAL_HOSTS, size: "md", label: "Hosts", className: "flex shrink-0" }),
3484
3557
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_NEXT_COLUMN_CLASS, children: [
3485
3558
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: ROW_NEXT_LABEL_CLASS, children: "Next available" }),
3486
3559
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-32" })
@@ -3538,7 +3611,7 @@ function MeetingSchedulerDirectory({
3538
3611
  };
3539
3612
  }, [initialData, inScope, includeAll, apiBaseUrl]);
3540
3613
  const rows = _react.useMemo.call(void 0, () => {
3541
- const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _55 => _55.purposes]), () => ( []));
3614
+ const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _58 => _58.purposes]), () => ( []));
3542
3615
  return purposes.flatMap((p) => p.links.map((link) => ({ link, audienceLabel: p.label })));
3543
3616
  }, [data]);
3544
3617
  const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, rows.length, pageSize);
@@ -3731,7 +3804,7 @@ function HubSpotMeetingScheduler({
3731
3804
  });
3732
3805
  _react.useEffect.call(void 0, () => {
3733
3806
  if (inScope) return;
3734
- _optionalChain([onStageChangeRef, 'access', _56 => _56.current, 'optionalCall', _57 => _57(stage)]);
3807
+ _optionalChain([onStageChangeRef, 'access', _59 => _59.current, 'optionalCall', _60 => _60(stage)]);
3735
3808
  }, [stage, inScope]);
3736
3809
  const [stash, setStash] = _react.useState.call(void 0, null);
3737
3810
  const inFlightRef = _react.useRef.call(void 0, false);
@@ -3762,8 +3835,8 @@ function HubSpotMeetingScheduler({
3762
3835
  _react.useEffect.call(void 0, () => {
3763
3836
  autoAdvanceCount.current = 0;
3764
3837
  }, [meetingId]);
3765
- const durations = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([availability, 'optionalAccess', _58 => _58.durationsMs]), () => ( [])), [_optionalChain([availability, 'optionalAccess', _59 => _59.durationsMs])]);
3766
- const shownHosts = _nullishCoalesce(_nullishCoalesce(hosts, () => ( _optionalChain([availability, 'optionalAccess', _60 => _60.hosts]))), () => ( []));
3838
+ const durations = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([availability, 'optionalAccess', _61 => _61.durationsMs]), () => ( [])), [_optionalChain([availability, 'optionalAccess', _62 => _62.durationsMs])]);
3839
+ const shownHosts = _nullishCoalesce(_nullishCoalesce(hosts, () => ( _optionalChain([availability, 'optionalAccess', _63 => _63.hosts]))), () => ( []));
3767
3840
  const durationMs = _nullishCoalesce(_nullishCoalesce(pickedDurationMs, () => ( durations[0])), () => ( null));
3768
3841
  const slots = _react.useMemo.call(void 0, () => {
3769
3842
  if (!availability || durationMs == null) return [];
@@ -3823,7 +3896,7 @@ function HubSpotMeetingScheduler({
3823
3896
  _chunkCWA6J7KCcjs.completeFormRescue.call(void 0, rescue, payload[_chunkUCHO4BOScjs.FORM_RESCUE_ATTEMPT_FIELD]);
3824
3897
  setConfirmation(result.confirmation);
3825
3898
  setStep("confirmed");
3826
- _optionalChain([onBooked, 'optionalCall', _61 => _61(result.confirmation)]);
3899
+ _optionalChain([onBooked, 'optionalCall', _64 => _64(result.confirmation)]);
3827
3900
  return;
3828
3901
  }
3829
3902
  const code = _nullishCoalesce(result.code, () => ( "TEMPORARILY_UNAVAILABLE"));
@@ -3915,7 +3988,7 @@ function HubSpotMeetingScheduler({
3915
3988
  }
3916
3989
  )
3917
3990
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3918
- bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
3991
+ bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
3919
3992
  !coldStart && (!timezone || durationMs == null) && durations.length === 0 && !isFetchingAvailability ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, MODAL_STEP_CLASS, "items-start gap-[var(--spacing-system-m)]"), children: [
3920
3993
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No call times are published right now." }),
3921
3994
  escapeHatch
@@ -4063,7 +4136,7 @@ function HubSpotMeetingScheduler({
4063
4136
  deferSlot: detailsFirst,
4064
4137
  submitLabel: preset.submitLabel,
4065
4138
  footerNote: preset.footerNote,
4066
- initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _62 => _62.payload]) : void 0,
4139
+ initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _65 => _65.payload]) : void 0,
4067
4140
  isSubmitting,
4068
4141
  onSubmit: detailsFirst ? stashDetails : handleSubmit,
4069
4142
  honeypotInputProps,
@@ -4073,11 +4146,11 @@ function HubSpotMeetingScheduler({
4073
4146
  )
4074
4147
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] content-md:min-h-0 content-md:flex-1", children: [
4075
4148
  bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4076
- _chunk2I2AXIBDcjs.Alert,
4149
+ _chunkZCNEO273cjs.Alert,
4077
4150
  {
4078
4151
  variant: "warning",
4079
4152
  className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
4080
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
4153
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
4081
4154
  }
4082
4155
  ),
4083
4156
  (!timezone || durationMs == null) && durations.length === 0 && (!isFetchingAvailability || formOnly) ? (
@@ -4130,7 +4203,9 @@ function HubSpotMeetingScheduler({
4130
4203
  // Live values: both stay editable after Continue, so the
4131
4204
  // copies frozen at that point can be stale.
4132
4205
  durationMs,
4133
- timezone
4206
+ timezone,
4207
+ // Live too: the page's context can change while the visitor is on the calendar.
4208
+ ...bookingContextFields(_optionalChain([detailsFormProps, 'optionalAccess', _66 => _66.context]))
4134
4209
  }).finally(() => {
4135
4210
  inFlightRef.current = false;
4136
4211
  });
@@ -4159,4 +4234,5 @@ function HubSpotMeetingScheduler({
4159
4234
 
4160
4235
 
4161
4236
 
4162
- exports.BookingForm = BookingForm; exports.DEFAULT_SCHEDULER_FLOW = DEFAULT_SCHEDULER_FLOW; exports.HubSpotMeetingScheduler = HubSpotMeetingScheduler; exports.MEETING_DIRECTORY_PAGE_SIZE = MEETING_DIRECTORY_PAGE_SIZE; exports.MEETING_SCHEDULER_DETAILS_FIRST_H = MEETING_SCHEDULER_DETAILS_FIRST_H; exports.MEETING_SCHEDULER_H = MEETING_SCHEDULER_H; exports.MeetingSchedulerDirectory = MeetingSchedulerDirectory; exports.SCHEDULER_FLOW_PRESETS = SCHEDULER_FLOW_PRESETS; exports.SchedulerDegradedCard = SchedulerDegradedCard; exports.formFieldOptionLabel = formFieldOptionLabel;
4237
+
4238
+ exports.BookingContextSummary = BookingContextSummary; exports.BookingForm = BookingForm; exports.DEFAULT_SCHEDULER_FLOW = DEFAULT_SCHEDULER_FLOW; exports.HubSpotMeetingScheduler = HubSpotMeetingScheduler; exports.MEETING_DIRECTORY_PAGE_SIZE = MEETING_DIRECTORY_PAGE_SIZE; exports.MEETING_SCHEDULER_DETAILS_FIRST_H = MEETING_SCHEDULER_DETAILS_FIRST_H; exports.MEETING_SCHEDULER_H = MEETING_SCHEDULER_H; exports.MeetingSchedulerDirectory = MeetingSchedulerDirectory; exports.SCHEDULER_FLOW_PRESETS = SCHEDULER_FLOW_PRESETS; exports.SchedulerDegradedCard = SchedulerDegradedCard; exports.formFieldOptionLabel = formFieldOptionLabel;
@@ -73,8 +73,11 @@ export interface HubSpotMeetingSchedulerProps {
73
73
  * so a Server Component can pass it across the RSC boundary where a component
74
74
  * cannot. `answers` are what the page took outside the form (a choice made
75
75
  * higher up the page), written into questions the visitor has not answered.
76
+ * `context` is what the page learned outside the link's questions, shown in the
77
+ * form and sent with the booking (`BookingContext`); `contextSlot` is the space the
78
+ * form keeps for it from its first paint.
76
79
  */
77
- detailsFormProps?: Pick<BookingFormProps, 'fieldRows' | 'optionalFields' | 'consent' | 'fieldCopy' | 'deniedEmailDomains' | 'answers'>;
80
+ detailsFormProps?: Pick<BookingFormProps, 'fieldRows' | 'optionalFields' | 'consent' | 'fieldCopy' | 'deniedEmailDomains' | 'answers' | 'context' | 'contextSlot'>;
78
81
  /** Form rescue for the details form (`RESCUE_FORMS.meetingBooking`). OPT-IN:
79
82
  * omitted or `null` saves nothing. */
80
83
  rescue?: FormRescueDefinition | null;
@@ -192,7 +195,8 @@ export declare function SchedulerDegradedCard({ flow, className, message, action
192
195
  }): import("react").JSX.Element;
193
196
  export declare function HubSpotMeetingScheduler({ meetingId, apiBaseUrl, initialAvailability, title, description, hosts, displayTimezone, fallbackUrl, onBack, onBooked, onStageChange, className, flow, detailsForm: DetailsForm, detailsFormProps, rescue, layout, }: HubSpotMeetingSchedulerProps): import("react").JSX.Element;
194
197
  export { BookingForm, formFieldOptionLabel, type BookingFormProps, type BookingFieldRow, type BookingFieldSlot, type BookingFieldCopy, type BookingFormConsent, } from './booking-form';
198
+ export { BookingContextSummary } from './booking-context-summary';
195
199
  export { MeetingSchedulerDirectory, MEETING_DIRECTORY_PAGE_SIZE, type MeetingSchedulerDirectoryProps, } from './directory';
196
200
  export type { MeetingAvailability, BookingConfirmation, MeetingBookingErrorCode, MeetingHost };
197
- export type { SchedulingLink, SchedulingLinksPayload, DeniedEmailDomains } from '../../schemas/meeting-booking-schema';
201
+ export type { SchedulingLink, SchedulingLinksPayload, DeniedEmailDomains, BookingContext, BookingContextSlot, } from '../../schemas/meeting-booking-schema';
198
202
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/index.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtD,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAA6B,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAM/F,OAAO,EAA2D,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAyBhH,MAAM,WAAW,4BAA4B;IAC3C,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mEAAmE;IACnE,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yFAAyF;IACzF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5C;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;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a,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gHAAgH;IAChH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,+BAQA;AA0FD,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,UAAe,EACf,mBAAmB,EACnB,KAAK,EACL,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,MAAM,EACN,QAAQ,EACR,aAAa,EACb,SAAS,EACT,IAA6B,EAC7B,WAAW,EAAE,WAAyB,EACtC,gBAAgB,EAChB,MAAa,EACb,MAAe,GAChB,EAAE,4BAA4B,+BAsrB9B;AAKD,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,KAAK,8BAA8B,GACpC,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAC;AAC/F,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/index.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtD,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAA6B,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAM/F,OAAO,EAA2D,K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