@riverbankcms/sdk 0.154.0 → 0.155.0

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 (253) hide show
  1. package/README.md +2 -0
  2. package/dist/{EventEmbeddedCheckoutStep-ba9npQtb.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
  3. package/dist/{PreviewEditorSidebar-C7FiaxlF.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +29 -20
  4. package/dist/{PreviewEditorUI-DFst50q1.mjs → PreviewEditorUI-CKKnAw11.mjs} +9 -17
  5. package/dist/{SdkPreviewModeRuntime-BUNV_YHZ.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +132 -56
  6. package/dist/{SiteChromeCustomizeContext-DEj7qppF.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +6324 -3566
  7. package/dist/{ThemedButton-C8kzu0hY.mjs → ThemedButton-Bi0rgijy.mjs} +83 -5
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +42213 -16421
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3322 -258
  10. package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
  11. package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
  12. package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
  13. package/dist/_dts/api/src/bookingPeople.d.ts +1 -1
  14. package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
  15. package/dist/_dts/api/src/bookings.d.ts +8 -1
  16. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
  17. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  18. package/dist/_dts/api/src/contentRuntime.d.ts +4 -3
  19. package/dist/_dts/api/src/endpoints.d.ts +1 -1
  20. package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
  21. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
  22. package/dist/_dts/api/src/index.d.ts +5 -2
  23. package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
  24. package/dist/_dts/api/src/public/types.d.ts +1 -0
  25. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
  26. package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
  27. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
  28. package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
  29. package/dist/_dts/api/src/sdk-event-upsert.d.ts +22 -7
  30. package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
  31. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
  32. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
  33. package/dist/_dts/api/src/sdkThemeWire.d.ts +10 -0
  34. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
  35. package/dist/_dts/api/src/siteTerms.d.ts +100 -0
  36. package/dist/_dts/api/src/types.d.ts +2 -1
  37. package/dist/_dts/api/src/webhooks.d.ts +9 -9
  38. package/dist/_dts/block-form/src/client/index.d.ts +2 -1
  39. package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
  40. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
  41. package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
  42. package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
  43. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
  44. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +22 -22
  45. package/dist/_dts/blocks/src/index.d.ts +2 -2
  46. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
  47. package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
  48. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
  49. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
  50. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +9 -5
  51. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
  52. package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
  53. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
  54. package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
  55. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
  56. package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
  57. package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
  58. package/dist/_dts/blocks/src/system/customize/facets.d.ts +44 -0
  59. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
  60. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
  61. package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
  62. package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
  63. package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
  64. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
  65. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
  66. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
  67. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
  68. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
  69. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +33 -0
  70. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
  71. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
  72. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
  73. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
  74. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
  75. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
  76. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
  77. package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +6 -0
  78. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
  79. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
  80. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
  81. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
  82. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
  83. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
  84. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
  85. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
  86. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +6 -0
  87. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
  89. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
  90. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
  91. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
  92. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
  93. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
  94. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
  96. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
  97. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
  98. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
  99. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
  100. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
  101. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +20 -4
  102. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
  103. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
  104. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
  105. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
  106. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
  107. package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
  108. package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
  109. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
  110. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
  111. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
  112. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -0
  113. package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
  114. package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
  115. package/dist/_dts/calendar/src/index.d.ts +2 -0
  116. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
  117. package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
  118. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
  119. package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
  120. package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
  121. package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
  122. package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
  123. package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
  124. package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
  125. package/dist/_dts/core/src/booking-refunds.d.ts +43 -2
  126. package/dist/_dts/core/src/branded.d.ts +6 -0
  127. package/dist/_dts/core/src/date-display.d.ts +7 -2
  128. package/dist/_dts/core/src/index.d.ts +3 -2
  129. package/dist/_dts/core/src/site-terms.d.ts +94 -0
  130. package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
  131. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +306 -0
  132. package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
  133. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
  134. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
  135. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
  136. package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
  137. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
  138. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  139. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
  140. package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
  141. package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
  142. package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
  143. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
  144. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
  145. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -0
  146. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
  147. package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
  148. package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -2
  149. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  150. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
  151. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
  152. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
  153. package/dist/_dts/sdk/src/version.d.ts +1 -1
  154. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
  155. package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
  156. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +12 -8
  157. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +12 -0
  158. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  159. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
  160. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
  161. package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
  162. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
  163. package/dist/_dts/theme-core/src/schema.d.ts +21 -0
  164. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
  165. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +3 -2
  166. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  167. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +56 -1
  168. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  169. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
  170. package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
  171. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -1
  172. package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
  173. package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
  174. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
  175. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
  176. package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
  177. package/dist/_dts/ui/src/calendar.d.ts +6 -1
  178. package/dist/_dts/ui/src/index.d.ts +1 -1
  179. package/dist/client/{BookingMailingListNote-CNoSqFtf.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
  180. package/dist/client/{CardListItem-BkTkqBkh.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
  181. package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
  182. package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
  183. package/dist/client/{EventCombined.client-BgeYMjHJ.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
  184. package/dist/client/{EventEmbeddedCheckoutStep-BTc_lTkM.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
  185. package/dist/client/{EventListing.client-ChRs9Hl2.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
  186. package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
  187. package/dist/client/{LeafletStaticMap-C_dNQgd0.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
  188. package/dist/client/{RichText-BI9bzbjo.mjs → RichText-D3oE1_pw.mjs} +4 -4
  189. package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
  190. package/dist/client/{accordion-6Yz8Wd83.mjs → accordion-yBx6d4O2.mjs} +1 -1
  191. package/dist/client/{bookingForm-i_pKIGiY.mjs → bookingForm-CPDEsQci.mjs} +64 -35
  192. package/dist/client/bookings.mjs +6572 -3274
  193. package/dist/client/carousel-DCqjwd2s.mjs +71 -0
  194. package/dist/client/{carousel.client-BUgjPbb6.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
  195. package/dist/client/{cart-D8OBHuF4.mjs → cart-DWJXrQxs.mjs} +3 -3
  196. package/dist/client/{checkout-F3-9IGLU.mjs → checkout-CH4ypSLS.mjs} +3 -3
  197. package/dist/client/client.mjs +7379 -2504
  198. package/dist/client/{context-Dg4ZrxDD.mjs → context-BOs0m_iw.mjs} +16 -12
  199. package/dist/client/{eventCalendar-BUc7YIBM.mjs → eventCalendar-CRylMllc.mjs} +8 -319
  200. package/dist/client/{eventCombined-BwfShk2a.mjs → eventCombined-DohTS3kp.mjs} +4 -4
  201. package/dist/client/{eventDetails-BMOVC3go.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
  202. package/dist/client/{eventListing-BwE9PM-t.mjs → eventListing-Cg__X2vy.mjs} +4 -4
  203. package/dist/client/{eventRegistration-CCWPYDc7.mjs → eventRegistration-CybWxswy.mjs} +215 -237
  204. package/dist/client/{form-CXFr0Gd5.mjs → form-C-SGk6nq.mjs} +4 -4
  205. package/dist/client/{headerSection-BX8qw8kH.mjs → headerSection-BdzPaHqo.mjs} +3 -3
  206. package/dist/client/hooks.mjs +1283 -213
  207. package/dist/client/{locationMap-B3La71m0.mjs → locationMap-CEwIKmMb.mjs} +3 -3
  208. package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
  209. package/dist/client/{media-B1Cbv721.mjs → media-V_ShXXru.mjs} +3 -3
  210. package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
  211. package/dist/client/{newsletterForm-DnGyR0x7.mjs → newsletterForm-CmwTltoS.mjs} +5 -4
  212. package/dist/client/{productDetail-BVgTqvkb.mjs → productDetail-DjIzUwg3.mjs} +3 -3
  213. package/dist/client/{productList-CcO7kUQw.mjs → productList-D6JGFnMF.mjs} +3 -3
  214. package/dist/client/{propsDecoder-B1OeWavE.mjs → propsDecoder-BRKz13eg.mjs} +5110 -2504
  215. package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
  216. package/dist/client/rendering/client.mjs +6176 -2738
  217. package/dist/client/rendering/islands.mjs +19 -19
  218. package/dist/client/rendering.mjs +7656 -2726
  219. package/dist/client/{routeIslandApiConfig-Dl4vglJm.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
  220. package/dist/client/{shop-P72nX5Fs.mjs → shop-C45K96_0.mjs} +178 -157
  221. package/dist/client/{shop-commerce-Bt7uraDx.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
  222. package/dist/client/{shop-commerce-store-C1-mxSye.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
  223. package/dist/client/{shopShared-Db-cRGu3.mjs → shopShared-D54T_LAV.mjs} +5 -5
  224. package/dist/client/{useDiscountCodeUi-jvAiUoUX.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
  225. package/dist/client/{useEventPagination-BdWpCniq.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
  226. package/dist/preview-next/before-render.mjs +1 -0
  227. package/dist/preview-next/client/runtime.mjs +3 -3
  228. package/dist/preview-next/keepAlive.mjs +1 -0
  229. package/dist/preview-next/middleware.mjs +1 -0
  230. package/dist/{sdk-runtime-DLhjF2Nw.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
  231. package/dist/server/components.mjs +4514 -1408
  232. package/dist/server/config-validation.mjs +1181 -179
  233. package/dist/server/config.mjs +1147 -177
  234. package/dist/server/data.mjs +1204 -180
  235. package/dist/server/date-time.mjs +18 -7
  236. package/dist/server/index.mjs +4 -1
  237. package/dist/server/next.mjs +4533 -1429
  238. package/dist/server/page-converter.mjs +1054 -173
  239. package/dist/server/prebuild.mjs +1 -1
  240. package/dist/server/rendering/server.mjs +3775 -1015
  241. package/dist/server/rendering.mjs +4540 -1425
  242. package/dist/server/routing.mjs +1321 -247
  243. package/dist/server/server.mjs +1296 -215
  244. package/dist/server/theme-bridge.mjs +1864 -73
  245. package/dist/server/theme.mjs +74 -3
  246. package/dist/{spinner-MTooKfck.mjs → spinner-KVVZh8jd.mjs} +1 -1
  247. package/dist/src-BgmWy3P1.mjs +1667 -0
  248. package/dist/styles/index.css +942 -1
  249. package/package.json +1 -1
  250. package/dist/client/CheckboxChoice-CHJpsty4.mjs +0 -24
  251. package/dist/client/DemoBookingPortalAccess-C7KQKFNt.mjs +0 -344
  252. package/dist/client/ThemedButton-wl3Z3wkH.mjs +0 -411
  253. package/dist/client/carousel-DNqd_PjC.mjs +0 -38
@@ -114,6 +114,7 @@ const unsafeAsEventOfferingId = (id) => id;
114
114
  const unsafeAsEventSeriesId = (id) => id;
115
115
  const unsafeAsMediaAssetId = (id) => id;
116
116
  const unsafeAsUserId = (id) => id;
117
+ const unsafeAsSiteTermsVersionId = (id) => id;
117
118
  const unsafeAsContentVersionId = (id) => id;
118
119
  const parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
119
120
  const parseApiKeyId = (value) => parseUuidBrand(value, unsafeAsApiKeyId);
@@ -121,6 +122,7 @@ const parseEventOfferingId = (value) => parseUuidBrand(value, unsafeAsEventOffer
121
122
  const parseUserId = (value) => parseUuidBrand(value, unsafeAsUserId);
122
123
  const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
123
124
  const parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
125
+ const parseSiteTermsVersionId = (value) => parseUuidBrand(value, unsafeAsSiteTermsVersionId);
124
126
  const parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
125
127
  //#endregion
126
128
  //#region ../core/src/assert-never.ts
@@ -393,7 +395,7 @@ function parseEventPageSurfaceDestinationMode(value) {
393
395
  return value === "cms-managed" || value === "system-managed" ? value : void 0;
394
396
  }
395
397
  function parseEventPageSurfaceSubject(value) {
396
- if (!isRecord$13(value)) return err({ kind: "notObject" });
398
+ if (!isRecord$14(value)) return err({ kind: "notObject" });
397
399
  switch (value.kind) {
398
400
  case "eventSeries": {
399
401
  const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
@@ -448,7 +450,7 @@ function parseEventSeriesIdList(values) {
448
450
  }
449
451
  return ok(parsed);
450
452
  }
451
- function isRecord$13(value) {
453
+ function isRecord$14(value) {
452
454
  return typeof value === "object" && value !== null && !Array.isArray(value);
453
455
  }
454
456
  //#endregion
@@ -466,14 +468,23 @@ function validateBookingPaymentOptionKinds(kinds) {
466
468
  /** Shared Intl engine, internal to core's date presentation owners. */
467
469
  const FORMATTER_CACHE_LIMIT = 100;
468
470
  const dateTimeFormatterCache = /* @__PURE__ */ new Map();
471
+ /** Intl's boolean clock option can select h11/h24 on other ICU builds. */
472
+ function resolveClockCycle(format) {
473
+ const { hour12, ...explicitFormat } = format;
474
+ return hour12 === void 0 ? explicitFormat : {
475
+ ...explicitFormat,
476
+ hourCycle: hour12 ? "h12" : "h23"
477
+ };
478
+ }
469
479
  function getDateTimeFormatter(locale, timeZone, format) {
470
- const key = `${locale}\u0000${timeZone}\u0000${JSON.stringify(Object.entries(format).sort(([left], [right]) => left.localeCompare(right)))}`;
480
+ const explicitFormat = resolveClockCycle(format);
481
+ const key = `${locale}\u0000${timeZone}\u0000${JSON.stringify(Object.entries(explicitFormat).sort(([left], [right]) => left.localeCompare(right)))}`;
471
482
  const cached = dateTimeFormatterCache.get(key);
472
483
  if (cached !== void 0) return cached;
473
484
  if (typeof locale !== "string" || Intl.DateTimeFormat.supportedLocalesOf([locale]).length === 0) throw new RangeError("An explicit supported locale is required");
474
485
  if (typeof timeZone !== "string" || timeZone.length === 0) throw new RangeError("An explicit time zone is required");
475
486
  const formatter = new Intl.DateTimeFormat(locale, {
476
- ...format,
487
+ ...explicitFormat,
477
488
  timeZone
478
489
  });
479
490
  if (dateTimeFormatterCache.size >= FORMATTER_CACHE_LIMIT) dateTimeFormatterCache.clear();
@@ -543,7 +554,7 @@ function getZonedDateTimeParts(date, timeZone) {
543
554
  hour: "2-digit",
544
555
  minute: "2-digit",
545
556
  second: "2-digit",
546
- hour12: false
557
+ hourCycle: "h23"
547
558
  });
548
559
  const read = (type) => Number(parts.get(type) ?? "");
549
560
  return {
@@ -638,7 +649,7 @@ function formatBookingDate(input, format = {
638
649
  function formatBookingTime(input, format = {
639
650
  hour: "numeric",
640
651
  minute: "2-digit",
641
- hour12: true
652
+ hourCycle: "h12"
642
653
  }) {
643
654
  return formatBookingInstant(input.startsAt, {
644
655
  locale: input.locale,
@@ -774,6 +785,38 @@ function toLocationCoordinates(value) {
774
785
  };
775
786
  }
776
787
  //#endregion
788
+ //#region ../core/src/rich-text.ts
789
+ function isRecord$13(value) {
790
+ return typeof value === "object" && value !== null && !Array.isArray(value);
791
+ }
792
+ function hasOnlyKeys(value, allowed) {
793
+ return Object.keys(value).every((key) => allowed.has(key));
794
+ }
795
+ const rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
796
+ const nodeKeys = /* @__PURE__ */ new Set([
797
+ "type",
798
+ "content",
799
+ "text",
800
+ "attrs",
801
+ "marks"
802
+ ]);
803
+ const markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
804
+ function isDenseArrayOf(value, predicate) {
805
+ for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
806
+ return true;
807
+ }
808
+ function isTipTapMark(value) {
809
+ return isRecord$13(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$13(value.attrs));
810
+ }
811
+ function isTipTapNode(value) {
812
+ if (!isRecord$13(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$13(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
813
+ if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
814
+ return value.text === void 0;
815
+ }
816
+ function isCanonicalRichTextDoc(value) {
817
+ return isRecord$13(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
818
+ }
819
+ //#endregion
777
820
  //#region ../core/src/mailing-list-identifiers.ts
778
821
  const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/iu;
779
822
  const OPAQUE_ID_PATTERN = /^[A-Za-z0-9_-]{1,100}$/u;
@@ -2517,6 +2560,7 @@ const publicEventBaseSchema = z.object({
2517
2560
  cutoffHours: z.number(),
2518
2561
  method: z.enum(["original_payment_method", "site_credit"])
2519
2562
  }) }),
2563
+ asksSiteTerms: z.boolean(),
2520
2564
  consent: blockBookingConsentSchema.nullable(),
2521
2565
  accessRestriction: accessRestrictionSchema,
2522
2566
  allowedCategoryIds: z.array(z.string()),
@@ -4854,6 +4898,7 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
4854
4898
  "validation:invalid_input",
4855
4899
  "resource:not_found",
4856
4900
  "resource:already_exists",
4901
+ "resource:conflict",
4857
4902
  "server:internal_error"
4858
4903
  ]
4859
4904
  },
@@ -8892,6 +8937,15 @@ const eyebrowTypographyStyleSchema = z.object({
8892
8937
  });
8893
8938
  const typographySchema = z.object({
8894
8939
  body: bodyTypographyStyleSchema,
8940
+ smallHeading: z.object({
8941
+ family: z.string().min(1),
8942
+ weight: z.enum([
8943
+ "regular",
8944
+ "medium",
8945
+ "semibold",
8946
+ "bold"
8947
+ ])
8948
+ }).optional(),
8895
8949
  headings: z.object({
8896
8950
  default: headingTypographyStyleSchema,
8897
8951
  h1: headingTypographyOverridesSchema,
@@ -10138,7 +10192,7 @@ function shadeCandidates(seedToken, palette) {
10138
10192
  const currentShade = match?.[2] ? Number(match[2]) : 500;
10139
10193
  const seedHex = palette[seedToken];
10140
10194
  const shades = Object.keys(palette).flatMap((token) => {
10141
- const shade = token.match(new RegExp(`^${escapeRegExp(family)}-(\\d{2,3})$`));
10195
+ const shade = token.match(new RegExp(`^${escapeRegExp$1(family)}-(\\d{2,3})$`));
10142
10196
  return shade?.[1] ? [Number(shade[1])] : [];
10143
10197
  }).filter((shade) => Number.isFinite(shade)).sort((left, right) => left - right);
10144
10198
  const lower = [...shades].filter((shade) => shade < currentShade).sort((left, right) => right - left);
@@ -10166,7 +10220,7 @@ function isSafeCandidate(token, palette, surface) {
10166
10220
  if (!hasSafeTextContrast(token, palette)) return false;
10167
10221
  return surface ? contrastRatio(palette[token] ?? "", surface.backgroundHex) >= BUTTON_CONTRAST_POLICY.nonTextMinimumRatio : true;
10168
10222
  }
10169
- function escapeRegExp(value) {
10223
+ function escapeRegExp$1(value) {
10170
10224
  return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
10171
10225
  }
10172
10226
  //#endregion
@@ -10948,6 +11002,7 @@ function canonicalHoverToken(reference, palette) {
10948
11002
  }
10949
11003
  return canonicalToken(reference, palette);
10950
11004
  }
11005
+ /** Keep a candidate only when it meets ordinary-text contrast on the ground. */
10951
11006
  function safeTokenOr(candidate, fallback, backgroundHex, palette) {
10952
11007
  return firstSafeToken([candidate], backgroundHex, palette) ?? fallback;
10953
11008
  }
@@ -12701,7 +12756,11 @@ const BUTTON_STYLE_IDS = [
12701
12756
  "hairline-tab",
12702
12757
  "marquee"
12703
12758
  ];
12704
- const quietArrowParametersSchema = z.object({ secondaryTreatment: z.enum(["outlined", "solid-accent"]) }).strict();
12759
+ const quietArrowParametersSchema = z.object({
12760
+ secondaryTreatment: z.enum(["outlined", "solid-accent"]),
12761
+ size: z.enum(["comfortable"]).optional(),
12762
+ hoverTreatment: z.enum(["deep-and-sheet"]).optional()
12763
+ }).strict();
12705
12764
  const flatInkHoverTreatmentSchema = z.enum([
12706
12765
  "contextual",
12707
12766
  "secondary",
@@ -13158,6 +13217,63 @@ const solidAccentSecondary = {
13158
13217
  },
13159
13218
  affordance: { iconId: "ArrowRight" }
13160
13219
  };
13220
+ /** Selection-owned sizing leaves historical recipe output unchanged when absent. */
13221
+ function sizedQuietArrowRoles(roles, size) {
13222
+ if (size === void 0) return roles;
13223
+ return mapButtonRoleAppearances(roles, (appearance) => ({
13224
+ ...appearance,
13225
+ states: mapButtonVisualAppearances(appearance.states, (state) => ({
13226
+ ...state,
13227
+ sizes: {
13228
+ sm: {
13229
+ padding: "0.875rem 1.125rem",
13230
+ fontSize: "text-xs"
13231
+ },
13232
+ md: {
13233
+ padding: "0.75rem 1.375rem",
13234
+ fontSize: "text-sm"
13235
+ },
13236
+ lg: {
13237
+ padding: "0.875rem 1.75rem",
13238
+ fontSize: "text-sm"
13239
+ },
13240
+ xl: {
13241
+ padding: "1rem 2rem",
13242
+ fontSize: "text-base"
13243
+ }
13244
+ }
13245
+ }))
13246
+ }));
13247
+ }
13248
+ /** Forward sheet interaction is explicit selection data; absent preserves the captured recipe. */
13249
+ function quietArrowHoverRoles(roles, treatment) {
13250
+ if (treatment === void 0) return roles;
13251
+ const hover = (role, colour) => ({
13252
+ ...roles[role],
13253
+ states: {
13254
+ ...roles[role].states,
13255
+ hover: {
13256
+ ...roles[role].states.hover,
13257
+ background: {
13258
+ type: "solid",
13259
+ colorToken: unsafeAsOpaqueButtonColourToken(colour)
13260
+ },
13261
+ text: "treatment",
13262
+ effects: [],
13263
+ ...role === "secondary" ? { border: {
13264
+ widthClass: "border",
13265
+ marksBoundary: true,
13266
+ boundaryInk: unsafeAsOpaqueButtonColourToken("text")
13267
+ } } : {}
13268
+ }
13269
+ }
13270
+ });
13271
+ return {
13272
+ ...roles,
13273
+ primary: hover("primary", "primary-800"),
13274
+ secondary: hover("secondary", "surface")
13275
+ };
13276
+ }
13161
13277
  const quietArrowRecipe = defineButtonStyleRecipe({
13162
13278
  id: "quiet-arrow",
13163
13279
  accessibilityLabel: "Wide uppercase buttons with trailing arrows",
@@ -13181,10 +13297,10 @@ const quietArrowRecipe = defineButtonStyleRecipe({
13181
13297
  label: "Solid accent"
13182
13298
  }]
13183
13299
  }],
13184
- defineSystem: (parameters) => ({ roles: {
13300
+ defineSystem: (parameters) => ({ roles: quietArrowHoverRoles(sizedQuietArrowRoles({
13185
13301
  ...quietArrowSystem.roles,
13186
13302
  secondary: parameters.secondaryTreatment === "solid-accent" ? solidAccentSecondary : quietArrowSystem.roles.secondary
13187
- } })
13303
+ }, parameters.size), parameters.hoverTreatment) })
13188
13304
  });
13189
13305
  //#endregion
13190
13306
  //#region ../theme-core/src/buttons/styles/recipes/flatInk.ts
@@ -16966,7 +17082,11 @@ function resolveSurface(spec, context) {
16966
17082
  token: spec.token
16967
17083
  }, {
16968
17084
  ...context,
16969
- buttonContext: spec.buttonContext ?? context.buttonContext
17085
+ buttonContext: spec.buttonContext ?? context.buttonContext,
17086
+ ...spec.foreground ? { foreground: {
17087
+ ...context.foreground,
17088
+ ...spec.foreground
17089
+ } } : {}
16970
17090
  });
16971
17091
  case "tint": return resolveTintSurface(spec, context);
16972
17092
  }
@@ -18041,6 +18161,7 @@ const headerContainerSchema = z.object({
18041
18161
  "lg"
18042
18162
  ]).default("md"),
18043
18163
  tint: z.string().nullable().optional(),
18164
+ mobileSheet: z.literal("inset").optional(),
18044
18165
  opacity: z.number().min(0).max(1).default(.12)
18045
18166
  }).optional();
18046
18167
  //#endregion
@@ -18760,8 +18881,12 @@ const cardListKnobBlocks = [...cardListFamilyBlocks, "block.event-calendar"];
18760
18881
  const lookKnobBlocks = {
18761
18882
  actionStyle: cardListKnobBlocks,
18762
18883
  titleSize: "block.hero",
18763
- imagePosition: ["block.hero", "block.media-text"],
18764
- imageShape: "block.media-text",
18884
+ imagePosition: [
18885
+ "block.hero",
18886
+ "block.intro",
18887
+ "block.media-text"
18888
+ ],
18889
+ imageShape: ["block.intro", "block.media-text"],
18765
18890
  aspectRatio: "block.media-text",
18766
18891
  stickerLine: "block.hero",
18767
18892
  smallCaption: "block.hero",
@@ -18805,6 +18930,7 @@ function cardListKnobDefaults(block, arrangement, knobs, defaults) {
18805
18930
  }
18806
18931
  const arrangementLookTargets = {
18807
18932
  hero: "hero",
18933
+ intro: "intro",
18808
18934
  "feature-cards": "feature-cards",
18809
18935
  "event-calendar": "events",
18810
18936
  testimonials: "testimonials",
@@ -19711,14 +19837,20 @@ const appearancePresets = [
19711
19837
  }
19712
19838
  }),
19713
19839
  defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []),
19714
- defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], { slotRoles: { panel: "card" } }),
19715
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", []),
19840
+ defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], {
19841
+ slotRoles: { panel: "card" },
19842
+ styleFallback: [id$1("form-below-introduction")]
19843
+ }),
19844
+ defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
19716
19845
  defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", []),
19717
19846
  defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
19718
- defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], { forcedKnobs: {
19719
- imageShape: "circle",
19720
- aspectRatio: "1/1"
19721
- } }),
19847
+ defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
19848
+ forcedKnobs: {
19849
+ imageShape: "circle",
19850
+ aspectRatio: "1/1"
19851
+ },
19852
+ styleFallback: [id$1("media-text-photo-beside-text")]
19853
+ }),
19722
19854
  defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, { slotRoles: { sticker: "highlight" } }),
19723
19855
  defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
19724
19856
  slotRoles: { sticker: "highlight" },
@@ -19739,6 +19871,15 @@ const appearancePresets = [
19739
19871
  "text",
19740
19872
  "action"
19741
19873
  ], ["showPhotos", "cardMarker"], { itemRoles: { items: "card" } }),
19874
+ defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
19875
+ "media",
19876
+ "title",
19877
+ "text",
19878
+ "action"
19879
+ ], ["showPhotos", "cardMarker"], {
19880
+ itemRoles: { items: "card" },
19881
+ styleFallback: [id$1("feature-cards-cards")]
19882
+ }),
19742
19883
  defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
19743
19884
  "media",
19744
19885
  "title",
@@ -19849,6 +19990,52 @@ const appearancePresets = [
19849
19990
  defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
19850
19991
  slotRoles: { panel: "card" },
19851
19992
  styleFallback: [id$1("event-details-header")]
19993
+ }),
19994
+ defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], { styleFallback: [id$1("intro-photo-beside-text")] }),
19995
+ defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], { whenMissing: [{
19996
+ fact: "photo",
19997
+ look: id$1("intro-statement-beside-text")
19998
+ }] }),
19999
+ defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"]),
20000
+ defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
20001
+ slotRoles: { panel: "card" },
20002
+ styleFallback: [id$1("newsletter-signup-text-beside")]
20003
+ }),
20004
+ defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
20005
+ slotRoles: { panel: "card" },
20006
+ styleFallback: [id$1("newsletter-signup-in-arch")]
20007
+ }),
20008
+ defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
20009
+ slotRoles: { panel: "card" },
20010
+ styleFallback: [id$1("form-beside-introduction-arched-panel")]
20011
+ }),
20012
+ defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
20013
+ "media",
20014
+ "title",
20015
+ "text",
20016
+ "action"
20017
+ ], ["showPhotos"], {
20018
+ itemRoles: { items: "card" },
20019
+ slotRoles: { date: "highlight" },
20020
+ knobDefaults: {
20021
+ actionStyle: "button",
20022
+ dates: "summary"
20023
+ },
20024
+ styleFallback: [id$1("card-list-plates"), id$1("feature-cards-cards")]
20025
+ }),
20026
+ defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
20027
+ "media",
20028
+ "title",
20029
+ "text",
20030
+ "action"
20031
+ ], ["showPhotos"], {
20032
+ itemRoles: { items: "card" },
20033
+ slotRoles: { date: "highlight" },
20034
+ knobDefaults: {
20035
+ actionStyle: "button",
20036
+ dates: "summary"
20037
+ },
20038
+ styleFallback: [id$1("feature-cards-cards")]
19852
20039
  })
19853
20040
  ];
19854
20041
  //#endregion
@@ -20511,6 +20698,9 @@ const arrangementSlotNames = [
20511
20698
  "social",
20512
20699
  "base",
20513
20700
  "section",
20701
+ "background",
20702
+ "schedule-section",
20703
+ "shop-section",
20514
20704
  "stack",
20515
20705
  "inline",
20516
20706
  "grid",
@@ -21830,6 +22020,36 @@ const groundedSerifTypography = {
21830
22020
  },
21831
22021
  scale: "balanced"
21832
22022
  };
22023
+ /** Folio keeps the practitioner pairing, with a larger serif and working sans names. */
22024
+ const folioTypography = {
22025
+ ...groundedSerifTypography,
22026
+ body: {
22027
+ ...groundedSerifTypography.body,
22028
+ family: "Open Sans, system-ui, sans-serif",
22029
+ size: "lg"
22030
+ },
22031
+ smallHeading: {
22032
+ family: "Open Sans, system-ui, sans-serif",
22033
+ weight: "semibold"
22034
+ },
22035
+ headings: {
22036
+ ...groundedSerifTypography.headings,
22037
+ h1: {
22038
+ ...groundedSerifTypography.headings.h1,
22039
+ lineHeight: "tight",
22040
+ letterSpacing: "tight"
22041
+ },
22042
+ h2: {
22043
+ ...groundedSerifTypography.headings.h2,
22044
+ lineHeight: "tight",
22045
+ letterSpacing: "tight"
22046
+ },
22047
+ h3: {
22048
+ ...groundedSerifTypography.headings.h3,
22049
+ lineHeight: "tight"
22050
+ }
22051
+ }
22052
+ };
21833
22053
  const kirtanOrnateTypography = {
21834
22054
  body: {
21835
22055
  family: "Jost, system-ui, sans-serif",
@@ -22621,7 +22841,8 @@ const curatedSiteStyleIdValues = [
22621
22841
  "site-style:grounded-practice",
22622
22842
  "site-style:poster",
22623
22843
  "site-style:lantern",
22624
- "site-style:measure"
22844
+ "site-style:measure",
22845
+ "site-style:folio"
22625
22846
  ];
22626
22847
  const quietBudget = {
22627
22848
  accentDensity: "low",
@@ -22950,6 +23171,30 @@ const headerCurationBySiteStyle = {
22950
23171
  "fine-line"
22951
23172
  ]
22952
23173
  }]),
23174
+ "site-style:folio": defineHeaderCuration([
23175
+ {
23176
+ layoutId: "floating",
23177
+ styleIds: ["minimal-surface", "glass"]
23178
+ },
23179
+ {
23180
+ layoutId: "classic",
23181
+ styleIds: [
23182
+ "minimal",
23183
+ "serif-line",
23184
+ "fine-line",
23185
+ "soft-bar"
23186
+ ]
23187
+ },
23188
+ {
23189
+ layoutId: "centered",
23190
+ styleIds: [
23191
+ "serif-line",
23192
+ "fine-line",
23193
+ "minimal",
23194
+ "soft-bar"
23195
+ ]
23196
+ }
23197
+ ]),
22953
23198
  "site-style:measure": defineHeaderCuration([{
22954
23199
  layoutId: "classic",
22955
23200
  styleIds: ["fine-line", "minimal"]
@@ -22979,6 +23224,7 @@ function defineCuratedSiteStyle(input) {
22979
23224
  recommendedAppearancePresetIds
22980
23225
  },
22981
23226
  headerCuration: headerCurationBySiteStyle[input.id],
23227
+ headerStyleRecipes: input.headerStyleRecipes,
22982
23228
  footerLookRecipes: input.footerLookRecipes,
22983
23229
  recommendedFooterLookIds: (input.recommendedFooterLookIds ?? []).map(asFooterLookId),
22984
23230
  buttonStyleChoices: input.buttonStyleChoices,
@@ -23012,6 +23258,233 @@ function paletteRecommendation(authoringKey, note) {
23012
23258
  const id = asAppearancePresetId;
23013
23259
  const quieterOrStandard = { titleSize: ["quiet", "auto"] };
23014
23260
  /** Fulcrum: cards are white sheets, the statement is the brand band, stickers are sheets too. */
23261
+ const folioRoles = {
23262
+ card: "sheet",
23263
+ statement: {
23264
+ default: "band",
23265
+ band: "sheet"
23266
+ },
23267
+ highlight: "band"
23268
+ };
23269
+ const folioLinks = { link: "primary" };
23270
+ const folioLooks = {
23271
+ kind: "offers",
23272
+ skin: "folio",
23273
+ skinTokens: {
23274
+ radius: "10px",
23275
+ rule: "1px",
23276
+ "mark-length": "44px",
23277
+ "mark-weight": "2px",
23278
+ gutter: "32px",
23279
+ "copy-gap": "1.25rem",
23280
+ "stack-gap": "2.5rem"
23281
+ },
23282
+ fontLoading: {
23283
+ extraHeadingFontWeights: [600],
23284
+ italicHeadingFontWeights: [500]
23285
+ },
23286
+ surfaces: {
23287
+ base: {
23288
+ kind: "token",
23289
+ token: "background",
23290
+ foreground: folioLinks
23291
+ },
23292
+ sheet: {
23293
+ kind: "token",
23294
+ token: "surface",
23295
+ roleOnly: true,
23296
+ foreground: folioLinks
23297
+ },
23298
+ band: {
23299
+ kind: "token",
23300
+ token: "muted",
23301
+ foreground: folioLinks
23302
+ },
23303
+ brand: {
23304
+ kind: "token",
23305
+ token: "primary",
23306
+ foreground: folioLinks
23307
+ },
23308
+ deep: {
23309
+ kind: "token",
23310
+ token: "primary-800",
23311
+ foreground: folioLinks
23312
+ }
23313
+ },
23314
+ rhythm: {
23315
+ "flow:quiet": [
23316
+ "base",
23317
+ "base",
23318
+ "band",
23319
+ "base",
23320
+ "band",
23321
+ "base"
23322
+ ],
23323
+ "flow:balanced": [
23324
+ "base",
23325
+ "band",
23326
+ "base",
23327
+ "deep",
23328
+ "base",
23329
+ "band"
23330
+ ],
23331
+ "flow:expressive": [
23332
+ "base",
23333
+ "band",
23334
+ "deep",
23335
+ "base",
23336
+ "band",
23337
+ "brand"
23338
+ ]
23339
+ },
23340
+ offers: [
23341
+ {
23342
+ id: id("hero-photo-beside-text"),
23343
+ treatment: "hero-framed",
23344
+ knobValues: quieterOrStandard,
23345
+ roleMap: folioRoles
23346
+ },
23347
+ {
23348
+ id: id("hero-photo-behind-text"),
23349
+ treatment: "hero-panel",
23350
+ knobValues: quieterOrStandard,
23351
+ roleMap: folioRoles
23352
+ },
23353
+ {
23354
+ id: id("hero-page-head"),
23355
+ treatment: "hero-ruled",
23356
+ knobValues: quieterOrStandard,
23357
+ roleMap: folioRoles
23358
+ },
23359
+ {
23360
+ id: id("intro-photo-beside-text"),
23361
+ treatment: "intro-keyline",
23362
+ roleMap: folioRoles
23363
+ },
23364
+ {
23365
+ id: id("intro-statement-beside-text"),
23366
+ treatment: "intro-ruled-split",
23367
+ roleMap: folioRoles
23368
+ },
23369
+ {
23370
+ id: id("media-text-photo-beside-text"),
23371
+ treatment: "media-mount",
23372
+ roleMap: folioRoles
23373
+ },
23374
+ {
23375
+ id: id("media-text-circle-beside-text"),
23376
+ treatment: "media-circle",
23377
+ roleMap: folioRoles
23378
+ },
23379
+ {
23380
+ id: id("feature-cards-cards"),
23381
+ treatment: "cards-sheet",
23382
+ roleMap: folioRoles
23383
+ },
23384
+ {
23385
+ id: id("feature-cards-open-columns"),
23386
+ treatment: "cards-open",
23387
+ roleMap: folioRoles
23388
+ },
23389
+ {
23390
+ id: id("feature-cards-index"),
23391
+ treatment: "cards-register",
23392
+ roleMap: folioRoles
23393
+ },
23394
+ {
23395
+ id: id("body-text-reading-column"),
23396
+ treatment: "body-reading",
23397
+ roleMap: folioRoles
23398
+ },
23399
+ {
23400
+ id: id("event-calendar-ruled-rows"),
23401
+ treatment: "calendar-card",
23402
+ itemRoles: { container: "card" },
23403
+ surfaceTints: { date: {
23404
+ source: "text",
23405
+ opacity: 8
23406
+ } },
23407
+ roleMap: folioRoles
23408
+ },
23409
+ {
23410
+ id: id("event-calendar-session-cards"),
23411
+ treatment: "calendar-sheets",
23412
+ roleMap: folioRoles
23413
+ },
23414
+ {
23415
+ id: id("event-calendar-next-three"),
23416
+ treatment: "calendar-compact",
23417
+ roleMap: folioRoles
23418
+ },
23419
+ {
23420
+ id: id("event-calendar-month-grid"),
23421
+ treatment: "calendar-month",
23422
+ roleMap: folioRoles
23423
+ },
23424
+ {
23425
+ id: id("event-details-panel"),
23426
+ treatment: "details-sheet",
23427
+ roleMap: {
23428
+ ...folioRoles,
23429
+ card: "section"
23430
+ }
23431
+ },
23432
+ {
23433
+ id: id("event-details-header"),
23434
+ treatment: "details-ruled",
23435
+ roleMap: folioRoles
23436
+ },
23437
+ {
23438
+ id: id("newsletter-signup-text-beside"),
23439
+ treatment: "signup-sheet",
23440
+ roleMap: {
23441
+ ...folioRoles,
23442
+ card: "section"
23443
+ }
23444
+ },
23445
+ {
23446
+ id: id("newsletter-signup-one-row"),
23447
+ treatment: "signup-row",
23448
+ roleMap: {
23449
+ ...folioRoles,
23450
+ card: "section"
23451
+ }
23452
+ },
23453
+ {
23454
+ id: id("form-below-introduction"),
23455
+ treatment: "form-sheet-below",
23456
+ roleMap: {
23457
+ ...folioRoles,
23458
+ card: "section"
23459
+ }
23460
+ },
23461
+ {
23462
+ id: id("testimonials-lead-quote"),
23463
+ treatment: "quote-lead",
23464
+ roleMap: folioRoles
23465
+ },
23466
+ {
23467
+ id: id("testimonials-quote-cards"),
23468
+ treatment: "quote-sheets",
23469
+ roleMap: folioRoles
23470
+ },
23471
+ {
23472
+ id: id("card-list-accent-edged-cards"),
23473
+ treatment: "cards-accent-edged",
23474
+ roleMap: folioRoles
23475
+ },
23476
+ {
23477
+ id: id("card-list-wide-slides"),
23478
+ treatment: "carousel-wide-sheet",
23479
+ roleMap: folioRoles
23480
+ },
23481
+ {
23482
+ id: id("card-list-scroll-row"),
23483
+ treatment: "carousel-row-sheet",
23484
+ roleMap: folioRoles
23485
+ }
23486
+ ]
23487
+ };
23015
23488
  const fulcrumRoles = {
23016
23489
  card: "sheet",
23017
23490
  statement: {
@@ -23218,6 +23691,55 @@ const fulcrumLooks = {
23218
23691
  id: id("testimonials-scroll-row"),
23219
23692
  treatment: "cards",
23220
23693
  roleMap: fulcrumRoles
23694
+ },
23695
+ {
23696
+ id: id("intro-photo-beside-text"),
23697
+ treatment: "intro-plate",
23698
+ roleMap: fulcrumRoles
23699
+ },
23700
+ {
23701
+ id: id("intro-statement-beside-text"),
23702
+ treatment: "lintel",
23703
+ roleMap: fulcrumRoles
23704
+ },
23705
+ {
23706
+ id: id("media-text-photo-beside-text"),
23707
+ treatment: "beside-plate",
23708
+ roleMap: fulcrumRoles
23709
+ },
23710
+ {
23711
+ id: id("newsletter-signup-one-row"),
23712
+ treatment: "signup-strip",
23713
+ roleMap: {
23714
+ ...fulcrumRoles,
23715
+ card: "section"
23716
+ }
23717
+ },
23718
+ {
23719
+ id: id("newsletter-signup-text-beside"),
23720
+ treatment: "signup-beside-panel",
23721
+ roleMap: fulcrumRoles
23722
+ },
23723
+ {
23724
+ id: id("form-below-introduction"),
23725
+ treatment: "form-sheet",
23726
+ roleMap: fulcrumRoles
23727
+ },
23728
+ {
23729
+ id: id("card-list-wide-slides"),
23730
+ treatment: "carousel-wide-plate",
23731
+ roleMap: fulcrumRoles,
23732
+ knobValues: { actionStyle: ["link"] }
23733
+ },
23734
+ {
23735
+ id: id("card-list-scroll-row"),
23736
+ treatment: "carousel-row-cards",
23737
+ roleMap: fulcrumRoles
23738
+ },
23739
+ {
23740
+ id: id("card-list-accent-edged-cards"),
23741
+ treatment: "cards-accent-edged",
23742
+ roleMap: fulcrumRoles
23221
23743
  }
23222
23744
  ]
23223
23745
  };
@@ -23349,6 +23871,49 @@ const posterOffers = [
23349
23871
  id: id("testimonials-scroll-row"),
23350
23872
  treatment: "punchy",
23351
23873
  roleMap: posterRoles
23874
+ },
23875
+ {
23876
+ id: id("intro-photo-beside-text"),
23877
+ treatment: "ink-edge",
23878
+ roleMap: posterRoles
23879
+ },
23880
+ {
23881
+ id: id("intro-statement-beside-text"),
23882
+ treatment: "headline",
23883
+ roleMap: posterRoles
23884
+ },
23885
+ {
23886
+ id: id("media-text-photo-beside-text"),
23887
+ treatment: "beside-slab",
23888
+ roleMap: posterRoles
23889
+ },
23890
+ {
23891
+ id: id("newsletter-signup-one-row"),
23892
+ treatment: "signup-ticket",
23893
+ roleMap: posterRoles
23894
+ },
23895
+ {
23896
+ id: id("newsletter-signup-text-beside"),
23897
+ treatment: "signup-block",
23898
+ roleMap: {
23899
+ ...posterRoles,
23900
+ card: "pop"
23901
+ }
23902
+ },
23903
+ {
23904
+ id: id("form-below-introduction"),
23905
+ treatment: "form-heavy",
23906
+ roleMap: posterRoles
23907
+ },
23908
+ {
23909
+ id: id("card-list-wide-slides"),
23910
+ treatment: "carousel-wide-stamp",
23911
+ roleMap: posterRoles
23912
+ },
23913
+ {
23914
+ id: id("card-list-scroll-row"),
23915
+ treatment: "carousel-row-punchy",
23916
+ roleMap: posterRoles
23352
23917
  }
23353
23918
  ];
23354
23919
  const posterLooks = {
@@ -23693,6 +24258,48 @@ const lanternLooks = {
23693
24258
  treatment: "quote-arch",
23694
24259
  addKnobs: ["archFrame"],
23695
24260
  roleMap: lanternRoles
24261
+ },
24262
+ {
24263
+ id: id("testimonials-scroll-row"),
24264
+ treatment: "quote-row-cards",
24265
+ addKnobs: ["archFrame"],
24266
+ roleMap: lanternRoles
24267
+ },
24268
+ {
24269
+ id: id("intro-photo-beside-text"),
24270
+ treatment: "ringed",
24271
+ roleMap: lanternRoles
24272
+ },
24273
+ {
24274
+ id: id("intro-statement-beside-text"),
24275
+ treatment: "divided",
24276
+ roleMap: lanternRoles
24277
+ },
24278
+ {
24279
+ id: id("media-text-photo-beside-text"),
24280
+ treatment: "outlined",
24281
+ roleMap: lanternRoles
24282
+ },
24283
+ {
24284
+ id: id("newsletter-signup-text-beside"),
24285
+ treatment: "signup-beside-arch",
24286
+ addKnobs: ["archFrame"],
24287
+ roleMap: lanternRoles
24288
+ },
24289
+ {
24290
+ id: id("form-below-introduction"),
24291
+ treatment: "form-arch-below",
24292
+ roleMap: lanternRoles
24293
+ },
24294
+ {
24295
+ id: id("card-list-wide-slides"),
24296
+ treatment: "carousel-wide-arch",
24297
+ roleMap: lanternRoles
24298
+ },
24299
+ {
24300
+ id: id("card-list-scroll-row"),
24301
+ treatment: "carousel-row-cards",
24302
+ roleMap: lanternRoles
23696
24303
  }
23697
24304
  ]
23698
24305
  };
@@ -23881,6 +24488,51 @@ const measureLooks = {
23881
24488
  id: id("testimonials-one-at-a-time"),
23882
24489
  treatment: "counter",
23883
24490
  roleMap: measureRoles
24491
+ },
24492
+ {
24493
+ id: id("testimonials-scroll-row"),
24494
+ treatment: "quote-row-hairline",
24495
+ roleMap: measureRuledPanelRoles
24496
+ },
24497
+ {
24498
+ id: id("intro-photo-beside-text"),
24499
+ treatment: "rail-photo",
24500
+ roleMap: measureRoles
24501
+ },
24502
+ {
24503
+ id: id("intro-statement-beside-text"),
24504
+ treatment: "rule-split",
24505
+ roleMap: measureRoles
24506
+ },
24507
+ {
24508
+ id: id("media-text-photo-beside-text"),
24509
+ treatment: "beside-grid",
24510
+ roleMap: measureRoles
24511
+ },
24512
+ {
24513
+ id: id("newsletter-signup-one-row"),
24514
+ treatment: "signup-rail-row",
24515
+ roleMap: measureRuledPanelRoles
24516
+ },
24517
+ {
24518
+ id: id("newsletter-signup-text-beside"),
24519
+ treatment: "signup-split",
24520
+ roleMap: measureRoles
24521
+ },
24522
+ {
24523
+ id: id("form-below-introduction"),
24524
+ treatment: "form-rail",
24525
+ roleMap: measureRuledPanelRoles
24526
+ },
24527
+ {
24528
+ id: id("card-list-wide-slides"),
24529
+ treatment: "carousel-wide-sheet",
24530
+ roleMap: measureRoles
24531
+ },
24532
+ {
24533
+ id: id("card-list-scroll-row"),
24534
+ treatment: "carousel-row-sheets",
24535
+ roleMap: measureRoles
23884
24536
  }
23885
24537
  ]
23886
24538
  };
@@ -24344,7 +24996,10 @@ const curatedSiteStyles = [
24344
24996
  headingDecoration: noHeadingDecoration,
24345
24997
  description: "Calm and editorial: Newsreader over IBM Plex Sans, hairlines instead of boxes, flat ink actions, and photos mounted on an offset plate in the brand tone.",
24346
24998
  generationBrief: "Use a calm, well-run voice: precise, reassuring and specific. Lead with what happens at a first visit, keep proof concrete (registrations, same-week appointments, outcomes), use sentence case throughout with no all-caps labels, and let photographs carry the boldness. Avoid spa or hard-sell wellness language and medical claims.",
24347
- offering: { kind: "lab" },
24999
+ offering: {
25000
+ kind: "public",
25001
+ generation: { kind: "explicit_only" }
25002
+ },
24348
25003
  tokenRecipes: {
24349
25004
  palette: "brand-led",
24350
25005
  contrast: "standard",
@@ -24479,7 +25134,10 @@ const curatedSiteStyles = [
24479
25134
  headingDecoration: noHeadingDecoration,
24480
25135
  description: "Loud but controlled: huge condensed type, flat colour blocks, hard offset shadows on anything you can press, and one sticker for the news.",
24481
25136
  generationBrief: "Write like a gig poster: short, direct lines, one fact set big (a time, a price, an age range), sentence case throughout and no all-caps labels. Keep body copy plain and friendly, and save the sticker line for one piece of real news.",
24482
- offering: { kind: "lab" },
25137
+ offering: {
25138
+ kind: "public",
25139
+ generation: { kind: "explicit_only" }
25140
+ },
24483
25141
  tokenRecipes: {
24484
25142
  palette: "brand-led",
24485
25143
  contrast: "strong",
@@ -24531,8 +25189,8 @@ const curatedSiteStyles = [
24531
25189
  description: "Dark, candlelit and symmetrical: Gloock display over Alegreya Sans, every photo seen through an arched window, one small lozenge rule above each heading, and a lit panel for the one thing you would pick.",
24532
25190
  generationBrief: "Warm and ceremonial without being religious. Write plain invitations (\"Come along this Friday\") with real times and prices, sentence case throughout and no all-caps labels. Let the quiet, candlelit mood come from the photographs rather than from spiritual language.",
24533
25191
  offering: {
24534
- kind: "client",
24535
- siteSlugs: ["kirtan-lucy"]
25192
+ kind: "public",
25193
+ generation: { kind: "explicit_only" }
24536
25194
  },
24537
25195
  tokenRecipes: {
24538
25196
  palette: "brand-led",
@@ -24590,7 +25248,10 @@ const curatedSiteStyles = [
24590
25248
  headingDecoration: noHeadingDecoration,
24591
25249
  description: "Swiss and warm: one grotesque through weight and size, a visible twelve-column grid, a heavy rule and a small hanging title at the top of every section, square corners and no shadows. The accent is only ever a small square.",
24592
25250
  generationBrief: "Calm and exact, for one-to-one practices. Number real sequences and nothing else, give times and fees as plain figures, keep sentence case throughout, and include a crisis line where a therapy site needs one. Avoid wellness cliches and promises of outcomes.",
24593
- offering: { kind: "lab" },
25251
+ offering: {
25252
+ kind: "public",
25253
+ generation: { kind: "explicit_only" }
25254
+ },
24594
25255
  tokenRecipes: {
24595
25256
  palette: "brand-led",
24596
25257
  contrast: "strong",
@@ -24619,6 +25280,104 @@ const curatedSiteStyles = [
24619
25280
  paletteRecommendation("measure-plaster"),
24620
25281
  paletteRecommendation("measure-night")
24621
25282
  ]
25283
+ }),
25284
+ defineCuratedSiteStyle({
25285
+ id: "site-style:folio",
25286
+ name: "Folio",
25287
+ offering: {
25288
+ kind: "public",
25289
+ generation: { kind: "explicit_only" }
25290
+ },
25291
+ description: "Calm and editorial: a classic serif over a plain sans, soft corners, thin rules and photos with room around them. For practitioners who teach classes, see clients and run workshops.",
25292
+ generationBrief: "Use restrained serif headings, clear sans-serif body copy, natural photography, practical calls to action and concrete class and workshop details.",
25293
+ headingDecoration: noHeadingDecoration,
25294
+ tokenRecipes: {
25295
+ palette: "warm-neutral",
25296
+ contrast: "standard",
25297
+ radius: "soft",
25298
+ shadow: "none",
25299
+ typography: "classic-serif",
25300
+ spacing: "airy",
25301
+ motion: "subtle"
25302
+ },
25303
+ compositionBudget: accentLedQuietBudget,
25304
+ typography: folioTypography,
25305
+ heroTypography: groundedSerifHeroTypography,
25306
+ looks: folioLooks,
25307
+ contentTemplateDefaults: { event: "event-header" },
25308
+ themeOverrides: {
25309
+ accordions: editorialDividedAccordionSystem,
25310
+ testimonialQuote: serifDisplayQuote
25311
+ },
25312
+ headerStyleRecipes: { "minimal-surface": {
25313
+ tone: "neutral",
25314
+ background: { kind: "transparent" },
25315
+ nav: {
25316
+ kind: "minimal",
25317
+ hoverColorToken: "primary"
25318
+ },
25319
+ navWeight: "medium",
25320
+ navLinkWeight: "medium",
25321
+ navTypography: "plain",
25322
+ border: "none",
25323
+ shadow: { kind: "absent" },
25324
+ frame: {
25325
+ kind: "container",
25326
+ rounded: "lg",
25327
+ padding: "sm",
25328
+ tint: "background",
25329
+ opacity: 1,
25330
+ shadow: false,
25331
+ mobileSheet: "inset"
25332
+ },
25333
+ cta: { treatment: "default" },
25334
+ openingPlacement: "photo-behind-text"
25335
+ } },
25336
+ footerLookRecipes: { "footer-links-row": {
25337
+ arrangement: "simple",
25338
+ ground: {
25339
+ kind: "token",
25340
+ token: "surface"
25341
+ },
25342
+ nav: {
25343
+ weight: "regular",
25344
+ colorToken: "text",
25345
+ hoverColorToken: "primary",
25346
+ typography: "body"
25347
+ },
25348
+ legal: {
25349
+ kind: "separate",
25350
+ bar: {
25351
+ fullBleed: false,
25352
+ background: {
25353
+ kind: "token",
25354
+ token: "surface"
25355
+ },
25356
+ textColor: "text",
25357
+ textAlign: "left",
25358
+ paddingY: "tight",
25359
+ paddingX: "none",
25360
+ borderTop: { width: "none" }
25361
+ }
25362
+ },
25363
+ brandAlign: "start",
25364
+ brandLogoSize: "md"
25365
+ } },
25366
+ recommendedFooterLookIds: ["footer-links-row"],
25367
+ buttonStyleChoices: [
25368
+ buttonChoice("quiet-arrow", void 0, {
25369
+ secondaryTreatment: "solid-accent",
25370
+ size: "comfortable",
25371
+ hoverTreatment: "deep-and-sheet"
25372
+ }),
25373
+ buttonChoice("flat-ink"),
25374
+ buttonChoice("editorial-link")
25375
+ ],
25376
+ paletteRecommendations: [
25377
+ paletteRecommendation("warm-neutral-forest"),
25378
+ paletteRecommendation("soft-natural-sage"),
25379
+ paletteRecommendation("soft-natural-stone")
25380
+ ]
24622
25381
  })
24623
25382
  ];
24624
25383
  new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -25127,6 +25886,27 @@ z.object({
25127
25886
  motion: z.enum(themeTokenRecipeOptions.motion)
25128
25887
  });
25129
25888
  //#endregion
25889
+ //#region ../theme-core/src/responsiveMode.ts
25890
+ const THEME_RESPONSIVE_MODE_ATTR = "data-rb-responsive-mode";
25891
+ function escapeRegExp(value) {
25892
+ return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
25893
+ }
25894
+ new RegExp(buildResponsiveScopeRulePatternSource(), "g");
25895
+ new RegExp(buildResponsiveScopeRulePatternSource(), "y");
25896
+ function buildResponsiveScopeRulePatternSource() {
25897
+ return [
25898
+ "@scope",
25899
+ "\\(\\[",
25900
+ escapeRegExp(THEME_RESPONSIVE_MODE_ATTR),
25901
+ "=\"(?:viewport|container)\"\\]\\)",
25902
+ "to",
25903
+ "\\((?::scope )?\\[",
25904
+ escapeRegExp(THEME_RESPONSIVE_MODE_ATTR),
25905
+ "\\]\\)",
25906
+ "\\{"
25907
+ ].join("\\s*");
25908
+ }
25909
+ //#endregion
25130
25910
  //#region ../theme-core/src/siteChromeOverlayClearance.ts
25131
25911
  const SITE_CHROME_VISIBLE_HEADER_ATTR = "data-site-chrome-visible-header";
25132
25912
  //#endregion
@@ -26153,7 +26933,19 @@ function testimonialLoaderLimit(content) {
26153
26933
  //#endregion
26154
26934
  //#region ../blocks/src/system/node/fragments/lookSlot.ts
26155
26935
  /** Compiler-owned slots are absent for legacy Looks, preserving their HTML. */
26156
- const lookSlot = (name) => ({ "data-slot": { $bind: { from: `content._lookSlots.${name}` } } });
26936
+ const lookSlot = (name, source = "look") => source === "skin" ? { "data-slot": { $bind: {
26937
+ from: "theme.skin",
26938
+ transforms: [{
26939
+ id: "look.skinSlot",
26940
+ options: { slot: name }
26941
+ }]
26942
+ } } } : { "data-slot": { $bind: { from: `content._lookSlots.${name}` } } };
26943
+ /** Non-Look widgets expose section geometry only when a theme has a skin. */
26944
+ const lookSkinSlotTransform = {
26945
+ id: "look.skinSlot",
26946
+ kind: "string",
26947
+ run: (value, options) => typeof value === "string" && value.length > 0 ? arrangementSlotNames.find((slot) => slot === asPartialObject(options)?.slot) : void 0
26948
+ };
26157
26949
  const lookLeadSlotTransform = {
26158
26950
  id: "look.leadSlot",
26159
26951
  kind: "string",
@@ -26164,6 +26956,13 @@ const lookQuoteLimitTransform = {
26164
26956
  kind: "string",
26165
26957
  run: (value) => testimonialLoaderLimit(asPartialObject(value) ?? {})
26166
26958
  };
26959
+ /** Blank headings use the same non-empty region fallback as absent headings. */
26960
+ const lookCarouselRegionTransform = {
26961
+ schema: z.object({ fallback: z.string().trim().min(1) }),
26962
+ id: "look.carouselRegion",
26963
+ kind: "string",
26964
+ run: (value, options) => typeof value === "string" && value.trim() ? value.trim() : options?.fallback ?? "Carousel"
26965
+ };
26167
26966
  //#endregion
26168
26967
  //#region ../blocks/src/system/fields/imageLayout.ts
26169
26968
  function createImageColSizeField(options = {}) {
@@ -27102,7 +27901,10 @@ const stack = (props, children, ...mods) => el("stack", props, children, ...mods
27102
27901
  const inline = (props, children, ...mods) => el("inline", props, children, ...mods);
27103
27902
  const accordion = (props, children, ...mods) => el("accordion", props, children, ...mods);
27104
27903
  const accordionItem = (props, children, ...mods) => el("accordionItem", props, children, ...mods);
27105
- const carousel = (props, children, ...mods) => el("carousel", props, children, ...mods);
27904
+ const carousel = (props, children, ...mods) => el("carousel", {
27905
+ mode: "legacy",
27906
+ ...props
27907
+ }, children, ...mods);
27106
27908
  const text = (props, ...mods) => el("text", props, void 0, ...mods);
27107
27909
  const richText = (props, ...mods) => el("richText", props, void 0, ...mods);
27108
27910
  const icon = (props, ...mods) => el("icon", props, void 0, ...mods);
@@ -27236,7 +28038,7 @@ const BACKGROUND_FRAME_BASE_CLASS = "rb-background-frame rb-absolute rb-inset-0
27236
28038
  * )
27237
28039
  */
27238
28040
  function backgroundLayer(path, options = {}) {
27239
- const { styleClassName = "background-style rb-absolute rb-inset-0 rb-z-neg-10 rb-h-full rb-w-full rb-pointer-events-none", imageClassName, overlayClassName = "background-overlay rb-absolute rb-inset-0 rb-z-neg-10 rb-h-full rb-w-full rb-pointer-events-none", fallbackToken, omitImageLayer = false, imageLoading, imageFetchPriority } = options;
28041
+ const { styleClassName = "background-style rb-absolute rb-inset-0 rb-z-neg-10 rb-h-full rb-w-full rb-pointer-events-none", imageClassName, overlayClassName = "background-overlay rb-absolute rb-inset-0 rb-z-neg-10 rb-h-full rb-w-full rb-pointer-events-none", fallbackToken, omitImageLayer = false, imageLoading, imageFetchPriority, imageSlot } = options;
27240
28042
  const styleLayer = el("div", {
27241
28043
  className: styleClassName,
27242
28044
  style: { $bind: {
@@ -27249,7 +28051,8 @@ function backgroundLayer(path, options = {}) {
27249
28051
  });
27250
28052
  const imageLayer = createBackgroundImageNode(path, imageClassName, {
27251
28053
  loading: imageLoading,
27252
- fetchPriority: imageFetchPriority
28054
+ fetchPriority: imageFetchPriority,
28055
+ slot: imageSlot
27253
28056
  });
27254
28057
  const overlayLayer = createBackgroundOverlayNode(path, overlayClassName);
27255
28058
  return omitImageLayer ? [styleLayer, overlayLayer] : [
@@ -27267,7 +28070,7 @@ function backgroundLayer(path, options = {}) {
27267
28070
  * the decorative layer rather than changing the content root.
27268
28071
  */
27269
28072
  function backgroundFrame(path, options = {}) {
27270
- const { leadingNodes = [], ...layerOptions } = options;
28073
+ const { leadingNodes = [], frameSlot, ...layerOptions } = options;
27271
28074
  const framedLayerOptions = {
27272
28075
  ...layerOptions,
27273
28076
  styleClassName: layerOptions.styleClassName ?? "background-style rb-absolute rb-inset-0 rb-z-0 rb-h-full rb-w-full rb-pointer-events-none",
@@ -27275,6 +28078,7 @@ function backgroundFrame(path, options = {}) {
27275
28078
  overlayClassName: layerOptions.overlayClassName ?? "background-overlay rb-absolute rb-inset-0 rb-z-0 rb-h-full rb-w-full rb-pointer-events-none"
27276
28079
  };
27277
28080
  return el("div", {
28081
+ ...frameSlot ? lookSlot(frameSlot) : {},
27278
28082
  className: { $bind: {
27279
28083
  from: path,
27280
28084
  transforms: [{
@@ -27315,6 +28119,7 @@ function backgroundFrame(path, options = {}) {
27315
28119
  function createBackgroundImageNode(path, baseClassName = "rb-absolute rb-z-neg-10", options = {}) {
27316
28120
  const imagePath = `${path}.image`;
27317
28121
  return media({
28122
+ ...options.slot ? lookSlot(options.slot) : {},
27318
28123
  className: { $bind: {
27319
28124
  from: path,
27320
28125
  transforms: [{
@@ -27646,6 +28451,10 @@ const DEFAULT_SECTION_SPACING = "medium";
27646
28451
  function styledSection(config) {
27647
28452
  const { children, baseClass = "rb-px-6", spacing = DEFAULT_SECTION_SPACING, background = "background", bindFrom = "_sectionStyles", imageClassName = "rb-absolute rb-z-0", renderBackgroundImage = true, backgroundImageLoading, backgroundImageFetchPriority, fullWidthPath } = config;
27648
28453
  const renderedBackgroundNode = backgroundFrame(`${bindFrom}.background`, {
28454
+ ...config.backgroundLookSlots ? {
28455
+ frameSlot: "background",
28456
+ imageSlot: "photo"
28457
+ } : {},
27649
28458
  imageClassName,
27650
28459
  fallbackToken: background,
27651
28460
  omitImageLayer: !renderBackgroundImage,
@@ -27658,12 +28467,13 @@ function styledSection(config) {
27658
28467
  background,
27659
28468
  baseClass,
27660
28469
  spacing,
27661
- fullWidthPath
28470
+ fullWidthPath,
28471
+ skinSlot: config.skinSlot
27662
28472
  }), [renderedBackgroundNode, ...childrenArray]);
27663
28473
  }
27664
28474
  function sectionAppearanceProps(input) {
27665
28475
  return {
27666
- ...lookSlot("section"),
28476
+ ...input.skinSlot ? lookSlot(input.skinSlot, "skin") : lookSlot("section"),
27667
28477
  "data-arrangement": { $bind: { from: "content._lookHooks.data-arrangement" } },
27668
28478
  style: { $bind: {
27669
28479
  from: `${input.bindFrom}.background`,
@@ -28713,7 +29523,8 @@ const boxStylesTransforms = [
28713
29523
  id: "boxStyles.semanticGapValue",
28714
29524
  kind: "string",
28715
29525
  summary: "Map semantic gap value to CSS gap value for inline styles",
28716
- run: (value, options, _context) => {
29526
+ run: (value, options, context) => {
29527
+ if (options?.legacyOnly && asPartialObject(context.viewModel?.content)?._lookSlots !== void 0) return void 0;
28717
29528
  const fallback = options?.fallback ?? "medium";
28718
29529
  return GAP_VALUE_MAP[isSemanticSpacing(value) ? value : fallback];
28719
29530
  }
@@ -28745,9 +29556,12 @@ function twoColumnProps(config) {
28745
29556
  from: config.gapFrom,
28746
29557
  transforms: [{
28747
29558
  id: "boxStyles.semanticGapValue",
28748
- options: { fallback }
29559
+ options: {
29560
+ fallback,
29561
+ legacyOnly: config.lookSlots === true
29562
+ }
28749
29563
  }],
28750
- fallback: GAP_VALUE_MAP[fallback]
29564
+ ...config.lookSlots ? {} : { fallback: GAP_VALUE_MAP[fallback] }
28751
29565
  } } } } : {}
28752
29566
  };
28753
29567
  }
@@ -29916,6 +30730,7 @@ function buildTestimonialCard(...mods) {
29916
30730
  */
29917
30731
  function buildCarouselLayout() {
29918
30732
  return carousel({
30733
+ mode: "legacy",
29919
30734
  className: "rb-mt-12 rb-testimonials-carousel",
29920
30735
  slidesToShow: {
29921
30736
  mobile: { $bind: {
@@ -31646,6 +32461,7 @@ function heroContainerStack(children, gap) {
31646
32461
  rootType: "stack",
31647
32462
  baseClassName: "rb-relative rb-isolate",
31648
32463
  rootProps: {
32464
+ ...lookSlot("frame"),
31649
32465
  gap: "none",
31650
32466
  justify: { $bind: {
31651
32467
  from: "content",
@@ -31679,6 +32495,7 @@ function heroSplitImagePane() {
31679
32495
  }, when("_sectionStyles.background.image"), bind("_sectionStyles.background.image")), lookSticker]);
31680
32496
  }
31681
32497
  const classicLayout$1 = styledSection({
32498
+ backgroundLookSlots: true,
31682
32499
  children: heroContainerStack(heroContentNodes, "md"),
31683
32500
  baseClass: "",
31684
32501
  backgroundImageLoading: heroPriorityMediaProps.loading,
@@ -32034,18 +32851,34 @@ function createAspectRatioField(options = {}) {
32034
32851
  function introHeading(className) {
32035
32852
  return text({
32036
32853
  as: "h2",
32037
- className
32038
- }, when("content.title"), bind("content.title"));
32854
+ className,
32855
+ ...lookSlot("heading")
32856
+ }, when("content.title", { authoringPresence: {
32857
+ kind: "recover-empty-when-active",
32858
+ placeholder: "Add heading"
32859
+ } }), bind("content.title"));
32039
32860
  }
32040
32861
  function introBody(className = "rb-prose rb-max-w-none") {
32041
- return richText({ className }, bind("content.body"));
32862
+ return richText({
32863
+ className,
32864
+ ...lookSlot("intro"),
32865
+ leadParagraphSlot: { $bind: { from: "content._lookSlots.lede" } },
32866
+ lookSlots: { $bind: { from: "content._lookSlots" } }
32867
+ }, bind("content.body"));
32042
32868
  }
32043
32869
  function introCtas(justify = "start") {
32044
- return ctaRow({
32870
+ const row = ctaRow({
32045
32871
  justify,
32046
32872
  gap: "md",
32047
32873
  containerClassName: "rb-mt-2"
32048
32874
  });
32875
+ return {
32876
+ ...row,
32877
+ props: {
32878
+ ...row.props,
32879
+ ...lookSlot("actions")
32880
+ }
32881
+ };
32049
32882
  }
32050
32883
  function introCopyStack(options = {}) {
32051
32884
  return stack({
@@ -32058,6 +32891,7 @@ function introCopyStack(options = {}) {
32058
32891
  ]);
32059
32892
  }
32060
32893
  const introMedia = media({
32894
+ ...lookSlot("photo"),
32061
32895
  className: { $bind: {
32062
32896
  from: "content.imageShape",
32063
32897
  transforms: [{
@@ -32070,7 +32904,7 @@ const introMedia = media({
32070
32904
  from: "content.aspectRatio",
32071
32905
  fallback: "1/1"
32072
32906
  } } }
32073
- }, bind("content.media"));
32907
+ }, bind("content.media"), when("content.media"));
32074
32908
  const centeredCopyLayout = styledSection({
32075
32909
  children: styledContainer({
32076
32910
  rootType: "stack",
@@ -32086,9 +32920,13 @@ const centeredCopyLayout = styledSection({
32086
32920
  spacing: "medium"
32087
32921
  });
32088
32922
  const statementCopyLayout = styledSection({
32089
- children: styledContainer({ children: [el("div", { className: "rb-intro rb-intro-statement rb-grid rb-grid-cols-1 rb-gap-8 rb-md-grid-cols-2 rb-md-items-start" }, [introHeading("rb-intro-title rb-max-w-xl"), stack({
32923
+ children: styledContainer({ children: [el("div", {
32924
+ className: "rb-intro rb-intro-statement rb-grid rb-grid-cols-1 rb-gap-8 rb-md-grid-cols-2 rb-md-items-start",
32925
+ ...lookSlot("frame")
32926
+ }, [introHeading("rb-intro-title rb-max-w-xl"), stack({
32090
32927
  gap: "md",
32091
- className: "rb-intro-copy rb-max-w-xl"
32928
+ className: "rb-intro-copy rb-max-w-xl",
32929
+ ...lookSlot("copy")
32092
32930
  }, [introBody(), introCtas("start")])])] }),
32093
32931
  baseClass: "",
32094
32932
  spacing: "medium"
@@ -32107,6 +32945,7 @@ const statementMediaLayout = styledSection({
32107
32945
  });
32108
32946
  const mediaCopyLayout = styledSection({
32109
32947
  children: styledContainer({ children: [responsiveTwoColumn({
32948
+ lookSlots: true,
32110
32949
  image: el("div", { className: "rb-intro-media-wrap rb-w-full" }, [introMedia]),
32111
32950
  text: introCopyStack({
32112
32951
  className: "rb-intro-copy rb-max-w-xl",
@@ -32178,20 +33017,26 @@ const introBlockDefinition = { manifest: createBlockManifest({
32178
33017
  gapSelectField({
32179
33018
  label: "Gap between media and text",
32180
33019
  defaultValue: "comfortable",
32181
- visibleWhen: {
33020
+ visibleWhen: { allOf: [{
32182
33021
  field: "variant",
32183
33022
  equals: "media-copy"
32184
- }
33023
+ }, {
33024
+ field: "blockLook",
33025
+ notEquals: "intro-photo-beside-text"
33026
+ }] }
32185
33027
  }),
32186
33028
  createImageColSizeField({
32187
33029
  id: "ratio",
32188
33030
  label: "Media column size",
32189
33031
  defaultValue: "1/2",
32190
33032
  uiIntent: "display",
32191
- visibleWhen: {
33033
+ visibleWhen: { allOf: [{
32192
33034
  field: "variant",
32193
33035
  equals: "media-copy"
32194
- }
33036
+ }, {
33037
+ field: "blockLook",
33038
+ notEquals: "intro-photo-beside-text"
33039
+ }] }
32195
33040
  }),
32196
33041
  createAspectRatioField({
32197
33042
  id: "aspectRatio",
@@ -32968,36 +33813,39 @@ const formSurface = styledContainer({
32968
33813
  baseClassName: "rb-form-surface rb-relative rb-isolate rb-overflow-visible",
32969
33814
  children: embedLayout$1
32970
33815
  });
32971
- function createFormLayout(variant) {
32972
- if (variant === "two-column") return styledSection({
32973
- children: el("div", {
32974
- className: "rb-container",
33816
+ const twoColumnFormLayout = styledSection({
33817
+ children: el("div", {
33818
+ className: "rb-container",
33819
+ ...lookSlot("layout")
33820
+ }, [el("div", {
33821
+ className: "rb-form-two-column rb-grid rb-grid-cols-1 rb-gap-8 rb-lg-grid-cols-2 rb-lg-items-start",
33822
+ ...lookSlot("frame")
33823
+ }, [stack({
33824
+ gap: "md",
33825
+ className: "rb-form-copy-column",
33826
+ ...lookSlot("copy")
33827
+ }, [copyLayout]), formSurface])]),
33828
+ baseClass: "",
33829
+ spacing: "medium",
33830
+ background: "surface"
33831
+ });
33832
+ const formLayout = styledSection({
33833
+ children: [when("content._lookSlots", { not: true })(styledContainer({
33834
+ rootType: "stack",
33835
+ rootProps: { gap: "lg" },
33836
+ children: formComposition.layout
33837
+ })), when("content._lookSlots")(styledContainer({
33838
+ rootType: "stack",
33839
+ rootProps: {
33840
+ gap: "lg",
32975
33841
  ...lookSlot("layout")
32976
- }, [el("div", {
32977
- className: "rb-form-two-column rb-grid rb-grid-cols-1 rb-gap-8 rb-lg-grid-cols-2 rb-lg-items-start",
32978
- ...lookSlot("frame")
32979
- }, [stack({
32980
- gap: "md",
32981
- className: "rb-form-copy-column",
32982
- ...lookSlot("copy")
32983
- }, [copyLayout]), formSurface])]),
32984
- baseClass: "",
32985
- spacing: "medium",
32986
- background: "surface"
32987
- });
32988
- return styledSection({
32989
- children: styledContainer({
32990
- rootType: "stack",
32991
- rootProps: { gap: "lg" },
32992
- children: formComposition.layout
32993
- }),
32994
- baseClass: "",
32995
- spacing: "medium",
32996
- background: "surface"
32997
- });
32998
- }
32999
- const formLayout = createFormLayout("default");
33000
- const twoColumnFormLayout = createFormLayout("two-column");
33842
+ },
33843
+ children: el("div", lookSlot("frame"), [el("div", lookSlot("copy"), [copyLayout]), el("div", lookSlot("panel"), [embedLayout$1])])
33844
+ }))],
33845
+ baseClass: "",
33846
+ spacing: "medium",
33847
+ background: "surface"
33848
+ });
33001
33849
  const dataLoaders$1 = buildFragmentDataLoaders(formComposition);
33002
33850
  const formManifest = createBlockManifest({
33003
33851
  variantMeaning: { kind: "arrangement" },
@@ -35408,17 +36256,31 @@ const quoteArrangement = (arrangement) => styledSection({
35408
36256
  as: "p",
35409
36257
  ...lookSlot("intro")
35410
36258
  }, when("content.subheading"), bind("content.subheading"))]), arrangement === "slides" || arrangement === "track" ? el("carousel", {
36259
+ mode: "arrangement",
35411
36260
  arrangement,
35412
- autoplay: false,
35413
- loop: false,
35414
- showControls: true,
35415
- arrowVisibility: "always",
35416
- slidesToShow: arrangement === "slides" ? 1 : {
35417
- mobile: 1,
35418
- tablet: 2,
35419
- desktop: 3
35420
- }
35421
- }, [quoteFigure(false)]) : el("div", lookSlot("items"), [quoteFigure(arrangement === "lead-rest")])]) })
36261
+ labels: {
36262
+ item: "quote",
36263
+ region: { $bind: {
36264
+ from: "content.heading",
36265
+ transforms: [{
36266
+ id: "look.carouselRegion",
36267
+ options: { fallback: "Quotes" }
36268
+ }]
36269
+ } }
36270
+ },
36271
+ indicator: "counter"
36272
+ }, [{
36273
+ type: "carouselSlide",
36274
+ props: { title: { $bind: {
36275
+ from: "testimonial.content.name",
36276
+ fallback: "Anonymous"
36277
+ } } },
36278
+ $repeat: quoteFigure(false).$repeat,
36279
+ children: [{
36280
+ ...quoteFigure(false),
36281
+ $repeat: void 0
36282
+ }]
36283
+ }]) : el("div", lookSlot("items"), [quoteFigure(arrangement === "lead-rest")])]) })
35422
36284
  });
35423
36285
  const additionalFields = parseFieldDefinitions([
35424
36286
  ...testimonialsHeadingFragment.fields,
@@ -36338,6 +37200,33 @@ const leadCard = {
36338
37200
  indexName: "cardIndex"
36339
37201
  }
36340
37202
  };
37203
+ const carouselCardsLayout = (arrangement) => arrangementCardsLayout(el("carousel", {
37204
+ mode: "arrangement",
37205
+ arrangement,
37206
+ cardList: true,
37207
+ labels: {
37208
+ item: "card",
37209
+ region: { $bind: {
37210
+ from: "content.title",
37211
+ transforms: [{
37212
+ id: "look.carouselRegion",
37213
+ options: { fallback: "Cards" }
37214
+ }]
37215
+ } }
37216
+ },
37217
+ indicator: arrangement === "slides" ? "dots" : "none"
37218
+ }, [{
37219
+ type: "carouselSlide",
37220
+ props: { title: { $bind: {
37221
+ from: "card.title",
37222
+ fallback: ""
37223
+ } } },
37224
+ $repeat: featureCard.$repeat,
37225
+ children: [{
37226
+ ...featureCard,
37227
+ $repeat: void 0
37228
+ }]
37229
+ }]));
36341
37230
  const leadSupportLayout = arrangementCardsLayout(el("div", lookSlot("items"), [leadCard]));
36342
37231
  const indexRow = el("li", lookSlot("item"), [
36343
37232
  el("div", {
@@ -36550,6 +37439,8 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
36550
37439
  promotedFields: ["_generatedIconSizePx"],
36551
37440
  layout: cardsLayout,
36552
37441
  variants: {
37442
+ slides: carouselCardsLayout("slides"),
37443
+ track: carouselCardsLayout("track"),
36553
37444
  cards: cardsLayout,
36554
37445
  "lead-support": leadSupportLayout,
36555
37446
  index: indexLayout,
@@ -36562,7 +37453,9 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
36562
37453
  lookOnlyKeys: [
36563
37454
  "lead-support",
36564
37455
  "index",
36565
- "sequence"
37456
+ "sequence",
37457
+ "slides",
37458
+ "track"
36566
37459
  ]
36567
37460
  },
36568
37461
  defaultVariant: "cards",
@@ -36916,17 +37809,22 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
36916
37809
  }],
36917
37810
  fallback: ""
36918
37811
  } };
36919
- const copyHeading = el("div", {
36920
- className: titleClassNameFromAlignment,
36921
- ...lookSlot("head")
36922
- }, [text({
37812
+ const headingNodes = [text({
36923
37813
  as: "p",
36924
37814
  className: eyebrowClassName("rb-eyebrow heading-eyebrow"),
36925
37815
  ...lookSlot("eyebrow")
36926
37816
  }, when("content.eyebrow"), bind("content.eyebrow")), text({
36927
37817
  as: "h2",
36928
37818
  ...lookSlot("heading")
36929
- }, bind("content.title"))], when("content.title"));
37819
+ }, bind("content.title"), when("content.title", { authoringPresence: {
37820
+ kind: "recover-empty-when-active",
37821
+ placeholder: "Add heading"
37822
+ } }))];
37823
+ const copyHeading = el("div", {
37824
+ className: titleClassNameFromAlignment,
37825
+ ...lookSlot("head")
37826
+ }, headingNodes, when("content.title"));
37827
+ const lookCopyHeading = el("div", {}, headingNodes, when("content._lookSlots.head"));
36930
37828
  const textContentNodes = (className) => {
36931
37829
  const props = {
36932
37830
  className,
@@ -36936,7 +37834,8 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
36936
37834
  };
36937
37835
  return [styledCard([richText(props, bind("content.text"))], mediaTextCardOptions, when("content.wrapTextInCard")), richText(props, when("content.wrapTextInCard", { not: true }), bind("content.text"))];
36938
37836
  };
36939
- const defaultTextColumn = el("div", {}, textContentNodes("rb-prose rb-max-w-none"));
37837
+ const bodyTextColumn = el("div", {}, textContentNodes("rb-prose rb-max-w-none"));
37838
+ const defaultTextColumn = el("div", {}, [lookCopyHeading, ...textContentNodes("rb-prose rb-max-w-none")]);
36940
37839
  const bioTextColumn = el("div", { className: "rb-flex rb-h-full rb-w-full rb-max-w-prose rb-flex-col rb-justify-center rb-gap-5" }, [copyHeading, ...textContentNodes(bodyClassNameFromAlignment)]);
36941
37840
  const defaultImageCommonProps = {
36942
37841
  ...lookSlot("photo"),
@@ -36950,7 +37849,7 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
36950
37849
  } },
36951
37850
  style: { aspectRatio: { $bind: { from: "content.aspectRatio" } } }
36952
37851
  };
36953
- const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"));
37852
+ const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"), when("content.images[0].image"));
36954
37853
  const defaultCarouselImages = carousel({
36955
37854
  className: "rb-media-text-carousel",
36956
37855
  transition: { $bind: {
@@ -37002,7 +37901,11 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
37002
37901
  imageWrapperClassName: "rb-w-full rb-shrink-0",
37003
37902
  textWrapperClassName: "rb-w-full rb-min-w-0 rb-flex-1 rb-self-stretch"
37004
37903
  })], whenImagesLength(0, { not: true }));
37005
- const defaultTextOnlyLayout = el("div", lookSlot("copy"), textContentNodes("rb-prose rb-max-w-none"), whenImagesLength(0));
37904
+ const defaultTextOnlyLayout = el("div", lookSlot("copy"), [
37905
+ el("div", lookSlot("media"), [defaultSingleImage], when("content._lookSlots.media")),
37906
+ lookCopyHeading,
37907
+ ...textContentNodes("rb-prose rb-max-w-none")
37908
+ ], whenImagesLength(0));
37006
37909
  const bioTextOnlyLayout = el("div", {
37007
37910
  className: "rb-flex rb-w-full rb-max-w-prose rb-flex-col rb-gap-5",
37008
37911
  ...lookSlot("copy")
@@ -37014,11 +37917,15 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
37014
37917
  const defaultInner = el("div", {}, [defaultImagesLayout, defaultTextOnlyLayout]);
37015
37918
  const bioInner = el("div", {}, [bioImagesLayout, bioTextOnlyLayout]);
37016
37919
  const defaultLayout = styledSection({
37017
- children: styledContainer({
37920
+ children: [when("content._lookSlots.head", { not: true })(styledContainer({
37018
37921
  rootType: "stack",
37019
37922
  rootProps: { gap: "lg" },
37020
37923
  children: [copyHeading, defaultInner]
37021
- }),
37924
+ })), when("content._lookSlots.head")(styledContainer({
37925
+ rootType: "stack",
37926
+ rootProps: { gap: "lg" },
37927
+ children: [defaultInner]
37928
+ }))],
37022
37929
  baseClass: "",
37023
37930
  spacing: "medium"
37024
37931
  });
@@ -37042,17 +37949,7 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
37042
37949
  el("div", {}, [when("content.images[0].image")(defaultSingleImage)], whenImagesLength(1)),
37043
37950
  el("div", {}, [el("div", {}, [defaultCarouselImages], whenImagesLength(1, { not: true }))], whenImagesLength(0, { not: true })),
37044
37951
  el("div", {}, [when("content.images[0].image")(defaultSingleImage)], whenImagesLength(0))
37045
- ]), el("div", lookSlot("copy"), [el("div", lookSlot("head"), [text({
37046
- as: "p",
37047
- className: eyebrowClassName("rb-eyebrow heading-eyebrow"),
37048
- ...lookSlot("eyebrow")
37049
- }, when("content.eyebrow"), bind("content.eyebrow")), text({
37050
- as: "h2",
37051
- ...lookSlot("heading")
37052
- }, bind("content.title"), when("content.title", { authoringPresence: {
37053
- kind: "recover-empty-when-active",
37054
- placeholder: "Add heading"
37055
- } }))]), defaultTextColumn])]) })
37952
+ ]), el("div", lookSlot("copy"), [el("div", lookSlot("head"), headingNodes), bodyTextColumn])]) })
37056
37953
  })
37057
37954
  },
37058
37955
  variantMeaning: {
@@ -37104,6 +38001,7 @@ const bookingWizard = bookingForm(withApiBindings({
37104
38001
  form: { $bind: { from: "data.form" } },
37105
38002
  services: { $bind: { from: "data.services" } },
37106
38003
  mailingList: { $bind: { from: "$root.mailingList" } },
38004
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
37107
38005
  siteName: { $bind: { from: "$root.siteName" } }
37108
38006
  }));
37109
38007
  /** Both variants sit in the same section shell; only the inner layout differs. */
@@ -37232,7 +38130,9 @@ const appointmentServicesBlockDefinition = {
37232
38130
  "cards",
37233
38131
  "lead-support",
37234
38132
  "index",
37235
- "sequence"
38133
+ "sequence",
38134
+ "slides",
38135
+ "track"
37236
38136
  ]
37237
38137
  },
37238
38138
  id: "block.appointment-services",
@@ -37765,6 +38665,31 @@ const occurrenceContextSchema = z.object({
37765
38665
  overrides: z.record(z.string(), z.unknown()).nullable().optional()
37766
38666
  }).nullable();
37767
38667
  //#endregion
38668
+ //#region ../blocks/src/system/blocks/shared/siteTerms.ts
38669
+ const versionId = z.string().uuid().transform((value, ctx) => {
38670
+ const parsed = parseSiteTermsVersionId(value);
38671
+ if (parsed.ok) return parsed.value;
38672
+ ctx.addIssue({
38673
+ code: "custom",
38674
+ message: "Invalid site terms version"
38675
+ });
38676
+ return z.NEVER;
38677
+ });
38678
+ const blockSiteTermsSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("none") }), z.object({
38679
+ kind: z.literal("published"),
38680
+ version: z.object({
38681
+ id: versionId,
38682
+ number: z.number().int().positive(),
38683
+ generation: z.number().int().positive()
38684
+ }),
38685
+ businessName: z.string(),
38686
+ href: z.string().min(1).nullable()
38687
+ })]);
38688
+ z.object({
38689
+ versionId,
38690
+ alreadyAgreed: z.boolean()
38691
+ });
38692
+ //#endregion
37768
38693
  //#region ../blocks/src/system/runtime/nodes/events/domain/capacity.ts
37769
38694
  /**
37770
38695
  * Compute remaining spots for an event from `availableSpots` with a fallback
@@ -38131,27 +39056,48 @@ function eventListWindowEvents(events, window) {
38131
39056
  });
38132
39057
  }
38133
39058
  //#endregion
38134
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
38135
- function eventMatchesOccurrenceId(event, occurrenceId) {
38136
- return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
39059
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
39060
+ function toRegistrationEvent(event) {
39061
+ return {
39062
+ ...event,
39063
+ selectionId: event.id,
39064
+ registrationSubject: {
39065
+ kind: "occurrence",
39066
+ occurrenceId: event.occurrenceId
39067
+ }
39068
+ };
38137
39069
  }
38138
- function findPreSelectedEvent(input) {
38139
- const occurrenceContext = input.occurrenceContext;
38140
- if (!occurrenceContext) return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
38141
- const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
38142
- startsAt: occurrenceContext.startsAt,
38143
- timeZone: occurrenceContext.timeZone
38144
- }));
38145
- return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
38146
- startsAt: event.startsAt,
38147
- timeZone: event.timeZone
38148
- })) === contextDate) ?? null;
39070
+ function toRegistrationEvents(events) {
39071
+ return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
38149
39072
  }
38150
- function resolveEventRequiresPayment(input) {
38151
- if (input.eligibility) return input.eligibility.requiresPayment;
38152
- if (input.selectedTicketType) return input.selectedTicketType.priceAmount > 0;
38153
- if (!input.event) return false;
38154
- return publicEventPricingType(input.event.pricing) === "paid";
39073
+ /**
39074
+ * Project one whole-series run onto the registration surface.
39075
+ *
39076
+ * Capacity, pricing, payment terms and consent come straight off the canonical
39077
+ * Event record; only the schedule is widened from the single occurrence to the
39078
+ * live run. A run without live sessions has no registration event.
39079
+ */
39080
+ function toWholeSeriesRegistrationEvent(group) {
39081
+ const { representative, run } = group;
39082
+ const sessions = orderedLiveRunSessions(run.sessions);
39083
+ const firstSession = sessions[0];
39084
+ if (!firstSession) return null;
39085
+ const lastSession = sessions[sessions.length - 1] ?? firstSession;
39086
+ return {
39087
+ ...representative,
39088
+ selectionId: run.eventSeriesId,
39089
+ registrationSubject: {
39090
+ kind: "wholeSeries",
39091
+ eventSeriesId: run.eventSeriesId,
39092
+ sessions
39093
+ },
39094
+ startsAt: firstSession.startsAt,
39095
+ endsAt: lastSession.endsAt,
39096
+ timeZone: firstSession.timeZone
39097
+ };
39098
+ }
39099
+ function toWholeSeriesRegistrationEvents(events) {
39100
+ return groupPublicEventsByRun(events).map(toWholeSeriesRegistrationEvent).filter((event) => event !== null);
38155
39101
  }
38156
39102
  //#endregion
38157
39103
  //#region ../blocks/src/system/runtime/nodes/event-registration/utils.ts
@@ -38175,7 +39121,7 @@ function bookingClock(startsAt, input) {
38175
39121
  return formatBookingTime(bookingInstant(startsAt, input), {
38176
39122
  hour: "numeric",
38177
39123
  minute: "2-digit",
38178
- hour12: true
39124
+ hourCycle: "h12"
38179
39125
  }).replace(/\s*([ap])\.?\s?m\.?$/i, (_match, period) => `${period.toLowerCase()}m`);
38180
39126
  }
38181
39127
  /** "7:00pm – 8:15pm", or just the start when there's no distinct end. */
@@ -38284,6 +39230,29 @@ function scheduleInput(event, occurrence) {
38284
39230
  };
38285
39231
  }
38286
39232
  //#endregion
39233
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
39234
+ function eventMatchesOccurrenceId(event, occurrenceId) {
39235
+ return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
39236
+ }
39237
+ function findPreSelectedEvent(input) {
39238
+ const occurrenceContext = input.occurrenceContext;
39239
+ if (!occurrenceContext) return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
39240
+ const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
39241
+ startsAt: occurrenceContext.startsAt,
39242
+ timeZone: occurrenceContext.timeZone
39243
+ }));
39244
+ return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
39245
+ startsAt: event.startsAt,
39246
+ timeZone: event.timeZone
39247
+ })) === contextDate) ?? null;
39248
+ }
39249
+ function resolveEventRequiresPayment(input) {
39250
+ if (input.eligibility) return input.eligibility.requiresPayment;
39251
+ if (input.selectedTicketType) return input.selectedTicketType.priceAmount > 0;
39252
+ if (!input.event) return false;
39253
+ return publicEventPricingType(input.event.pricing) === "paid";
39254
+ }
39255
+ //#endregion
38287
39256
  //#region ../blocks/src/system/runtime/nodes/event-registration/wizardSteps.ts
38288
39257
  function registrationRoute(input) {
38289
39258
  const base = input.chooseEvent ? [
@@ -38572,50 +39541,6 @@ function lowerCased(noun) {
38572
39541
  };
38573
39542
  }
38574
39543
  //#endregion
38575
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
38576
- function toRegistrationEvent(event) {
38577
- return {
38578
- ...event,
38579
- selectionId: event.id,
38580
- registrationSubject: {
38581
- kind: "occurrence",
38582
- occurrenceId: event.occurrenceId
38583
- }
38584
- };
38585
- }
38586
- function toRegistrationEvents(events) {
38587
- return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
38588
- }
38589
- /**
38590
- * Project one whole-series run onto the registration surface.
38591
- *
38592
- * Capacity, pricing, payment terms and consent come straight off the canonical
38593
- * Event record; only the schedule is widened from the single occurrence to the
38594
- * live run. A run without live sessions has no registration event.
38595
- */
38596
- function toWholeSeriesRegistrationEvent(group) {
38597
- const { representative, run } = group;
38598
- const sessions = orderedLiveRunSessions(run.sessions);
38599
- const firstSession = sessions[0];
38600
- if (!firstSession) return null;
38601
- const lastSession = sessions[sessions.length - 1] ?? firstSession;
38602
- return {
38603
- ...representative,
38604
- selectionId: run.eventSeriesId,
38605
- registrationSubject: {
38606
- kind: "wholeSeries",
38607
- eventSeriesId: run.eventSeriesId,
38608
- sessions
38609
- },
38610
- startsAt: firstSession.startsAt,
38611
- endsAt: lastSession.endsAt,
38612
- timeZone: firstSession.timeZone
38613
- };
38614
- }
38615
- function toWholeSeriesRegistrationEvents(events) {
38616
- return groupPublicEventsByRun(events).map(toWholeSeriesRegistrationEvent).filter((event) => event !== null);
38617
- }
38618
- //#endregion
38619
39544
  //#region ../blocks/src/system/runtime/nodes/event-registration/bookingCardDisplay.ts
38620
39545
  /**
38621
39546
  * The booking card the server renders on CMS pages (issue 1581), and the
@@ -38853,6 +39778,7 @@ const eventRegistrationCommonSchemaShape = {
38853
39778
  const parsed = parseMailingListRuntimeContext(value);
38854
39779
  return parsed.ok ? parsed.value : void 0;
38855
39780
  }),
39781
+ siteTerms: blockSiteTermsSchema.optional(),
38856
39782
  siteName: z.string().optional()
38857
39783
  };
38858
39784
  const eventRegistrationEventSourceSchema = z.discriminatedUnion("kind", [z.object({
@@ -39036,6 +39962,7 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
39036
39962
  sitePasses: source.sitePasses ?? null,
39037
39963
  siteMemberships: source.siteMemberships ?? null,
39038
39964
  mailingList: source.mailingList,
39965
+ siteTerms: source.siteTerms,
39039
39966
  siteName: source.siteName,
39040
39967
  offeringNoun: resolveOfferingNoun(source, scopedSourceEvents)
39041
39968
  }
@@ -39207,6 +40134,7 @@ const eventRegistrationBlockDefinition = {
39207
40134
  wholeSeriesRunEvents: { $bind: { from: "data.wholeSeriesRunEvents" } },
39208
40135
  loaderFailures: { $bind: { from: "$root.loaderFailures" } },
39209
40136
  mailingList: { $bind: { from: "$root.mailingList" } },
40137
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
39210
40138
  siteName: { $bind: { from: "$root.siteName" } },
39211
40139
  bookingOfferingPresets: { $bind: {
39212
40140
  from: "$root.bookingOfferingPresets",
@@ -42037,6 +42965,7 @@ function projectRecurringSchedule(events) {
42037
42965
  //#endregion
42038
42966
  //#region ../blocks/src/system/blocks/events/recurring-schedule.ts
42039
42967
  const recurringScheduleLayout = styledSection({
42968
+ skinSlot: "schedule-section",
42040
42969
  children: styledContainer({
42041
42970
  rootType: "stack",
42042
42971
  rootProps: {
@@ -42494,6 +43423,8 @@ function offeringsPreviewHeaderNodes() {
42494
43423
  const offeringsPreviewLayout = [styledSection({
42495
43424
  children: sectionContainer([el("offerings-preview", {
42496
43425
  ...cardListPresentationBindings,
43426
+ carouselRegion: { $bind: { from: "content.heading" } },
43427
+ renderInput: { $bind: { from: "content._offeringsPreviewInput" } },
42497
43428
  displayMode: { $bind: displayModeBinding },
42498
43429
  pathname: { $bind: { from: "$root.pathname" } },
42499
43430
  catalogueEvents: { $bind: { from: "data.catalogueEvents" } },
@@ -42542,7 +43473,9 @@ const offeringsPreviewManifest = createBlockManifest({
42542
43473
  "lead-support",
42543
43474
  "index",
42544
43475
  "sequence",
42545
- "plates"
43476
+ "plates",
43477
+ "slides",
43478
+ "track"
42546
43479
  ]
42547
43480
  },
42548
43481
  id: "block.offerings-preview",
@@ -43576,6 +44509,7 @@ const gridLayout = grid$1({ className: "rb-grid rb-grid-cols-1 rb-gap-4 rb-sm-gr
43576
44509
  bindAspectRatio: true
43577
44510
  })]);
43578
44511
  const carouselLayout = carousel({
44512
+ mode: "legacy",
43579
44513
  className: { $bind: {
43580
44514
  from: "content.fullBleed",
43581
44515
  transforms: [{
@@ -44685,6 +45619,7 @@ const shopSourceSchema = z.object({
44685
45619
  memberships: z.array(publicMembershipProductSchema).nullable().optional(),
44686
45620
  products: z.array(publicProductSchema).nullable().optional(),
44687
45621
  siteId: z.string().optional(),
45622
+ siteTerms: blockSiteTermsSchema.optional(),
44688
45623
  demoEmailSuppressed: z.boolean().optional(),
44689
45624
  apiBaseUrl: z.string().optional(),
44690
45625
  readAuthority: browserReadAuthoritySchema.optional(),
@@ -44813,6 +45748,7 @@ const passesMembershipsHydrationSchema = z.object({
44813
45748
  memberships: z.array(publicMembershipProductSchema),
44814
45749
  passPurchaseMode: z.enum(["add_to_cart", "buy_now"]),
44815
45750
  buttonVariant: blockButtonRoleSchema,
45751
+ siteTerms: blockSiteTermsSchema.optional(),
44816
45752
  demoEmailSuppressed: z.boolean().optional()
44817
45753
  });
44818
45754
  const productListHydrationSchema = z.object({
@@ -44836,6 +45772,7 @@ const cartHydrationSchema = z.object({
44836
45772
  const checkoutHydrationSchema = z.object({
44837
45773
  emptyStateText: z.string(),
44838
45774
  submitButtonText: z.string(),
45775
+ siteTerms: blockSiteTermsSchema.optional(),
44839
45776
  demoEmailSuppressed: z.boolean().optional()
44840
45777
  });
44841
45778
  const passesMembershipsRenderSchema = z.object({
@@ -44896,6 +45833,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
44896
45833
  memberships: source.showMemberships === false ? [] : source.memberships ?? [],
44897
45834
  passPurchaseMode,
44898
45835
  buttonVariant: source.buttonVariant ?? "primary",
45836
+ siteTerms: source.siteTerms,
44899
45837
  demoEmailSuppressed: source.demoEmailSuppressed
44900
45838
  }
44901
45839
  };
@@ -44990,6 +45928,7 @@ const checkoutBlockRuntime = defineClientOwnedBlockRuntime({
44990
45928
  hydration: {
44991
45929
  emptyStateText: source.emptyStateText ?? "Add something to your cart to continue.",
44992
45930
  submitButtonText: source.submitButtonText ?? "Checkout",
45931
+ siteTerms: source.siteTerms,
44993
45932
  demoEmailSuppressed: source.demoEmailSuppressed
44994
45933
  }
44995
45934
  })
@@ -45205,10 +46144,12 @@ const shopBlockDefinition = {
45205
46144
  ],
45206
46145
  icon: "ShoppingBag",
45207
46146
  layout: [styledSection({
46147
+ skinSlot: "shop-section",
45208
46148
  baseClass: "",
45209
46149
  spacing: "spacious",
45210
46150
  children: sectionContainer([shop(withApiBindings({
45211
46151
  readAuthority: { $bind: { from: "$root.readAuthority" } },
46152
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
45212
46153
  demoEmailSuppressed: { $bind: {
45213
46154
  from: "$root.demoEmailSuppressed",
45214
46155
  fallback: false
@@ -45280,12 +46221,18 @@ const shopBlockDefinition = {
45280
46221
  dataLoaders: {
45281
46222
  passes: {
45282
46223
  endpoint: "listPublicPasses",
45283
- params: { siteId: { $bind: { from: "$root.siteId" } } },
46224
+ params: {
46225
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
46226
+ siteId: { $bind: { from: "$root.siteId" } }
46227
+ },
45284
46228
  mode: "server"
45285
46229
  },
45286
46230
  memberships: {
45287
46231
  endpoint: "listPublicMemberships",
45288
- params: { siteId: { $bind: { from: "$root.siteId" } } },
46232
+ params: {
46233
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
46234
+ siteId: { $bind: { from: "$root.siteId" } }
46235
+ },
45289
46236
  mode: "server"
45290
46237
  }
45291
46238
  }
@@ -45813,6 +46760,7 @@ const publicGiftingOffersResponseSchema = z.object({
45813
46760
  vouchers: z.array(publicVoucherOfferSchema)
45814
46761
  });
45815
46762
  const giftingSourceSchema = z.object({
46763
+ siteTerms: blockSiteTermsSchema.optional(),
45816
46764
  siteId: z.string().optional(),
45817
46765
  apiBaseUrl: z.string().optional(),
45818
46766
  offers: publicGiftingOffersResponseSchema.nullable().optional(),
@@ -45836,6 +46784,7 @@ const giftingDisplaySchema = z.object({
45836
46784
  emptyStateText: z.string()
45837
46785
  });
45838
46786
  const giftingHydrationSchema = z.object({
46787
+ siteTerms: blockSiteTermsSchema.optional(),
45839
46788
  offers: publicGiftingOffersResponseSchema.nullable(),
45840
46789
  checkoutButtonText: z.string(),
45841
46790
  successMessage: z.string()
@@ -45869,6 +46818,7 @@ const giftingBlockRuntime = defineClientOwnedBlockRuntime({
45869
46818
  buildRender: (source) => ({
45870
46819
  display: buildGiftingDisplay(source),
45871
46820
  hydration: {
46821
+ siteTerms: source.siteTerms,
45872
46822
  offers: source.offers ?? null,
45873
46823
  checkoutButtonText: source.checkoutButtonText?.trim() || "Continue",
45874
46824
  successMessage: source.successMessage?.trim() || "Thanks. Your purchase is complete and your gift will be sent shortly."
@@ -46006,7 +46956,10 @@ const giftingBlockDefinition = {
46006
46956
  dataSchemas: { offers: publicGiftingOffersResponseSchema.optional() },
46007
46957
  dataLoaders: { offers: {
46008
46958
  endpoint: "listPublicGiftingOffers",
46009
- params: { siteId: { $bind: { from: "$root.siteId" } } },
46959
+ params: {
46960
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
46961
+ siteId: { $bind: { from: "$root.siteId" } }
46962
+ },
46010
46963
  mode: "server"
46011
46964
  } }
46012
46965
  };
@@ -46332,10 +47285,10 @@ const stackedLayout = styledSection({
46332
47285
  background: "surface"
46333
47286
  });
46334
47287
  const inlineLayout = styledSection({
46335
- children: props(lookSlot("layout"))(sectionContainer(stackedComposition.layout, {
47288
+ children: [when("content._lookSlots", { not: true })(sectionContainer(stackedComposition.layout, {
46336
47289
  gap: "md",
46337
47290
  className: "newsletter-inline"
46338
- })),
47291
+ })), when("content._lookSlots")(props(lookSlot("layout"))(sectionContainer([el("div", lookSlot("head"), newsletterCopyFragment.layout), el("div", lookSlot("panel"), newsletterFormFragment.layout)], { gap: "md" })))],
46339
47292
  baseClass: "",
46340
47293
  spacing: "medium",
46341
47294
  background: "surface"
@@ -48584,6 +49537,8 @@ const defaultTransforms = createTransformRegistry([
48584
49537
  offeringsPreviewDatesReadEnabled,
48585
49538
  lookLeadSlotTransform,
48586
49539
  lookQuoteLimitTransform,
49540
+ lookCarouselRegionTransform,
49541
+ lookSkinSlotTransform,
48587
49542
  {
48588
49543
  id: "events.calendarListWindow",
48589
49544
  kind: "formatter",
@@ -48761,6 +49716,14 @@ const systemCustomizeFacetDefinitions = [
48761
49716
  value: "right",
48762
49717
  label: "Right"
48763
49718
  }], "right"),
49719
+ fixedKnob("block.intro", "imageShape", "Media shape", standardImageShapeOptions, "default"),
49720
+ fixedKnob("block.intro", "imagePosition", "Photo side", [{
49721
+ value: "left",
49722
+ label: "Left"
49723
+ }, {
49724
+ value: "right",
49725
+ label: "Right"
49726
+ }], "left"),
48764
49727
  fixedKnob("block.media-text", "imagePosition", "Photo side", [{
48765
49728
  value: "left",
48766
49729
  label: "Left"
@@ -48915,6 +49878,10 @@ function planArrangementContent(blockKind, manifest, content, audience) {
48915
49878
  ...activeContent,
48916
49879
  ...effectiveContent,
48917
49880
  ...photoContent,
49881
+ ...arrangementShapeContent(effective.look.id, {
49882
+ ...activeContent,
49883
+ ...effectiveContent
49884
+ }),
48918
49885
  ...arrangementPanelContent(activeContent, effective, mode),
48919
49886
  ...arrangementQuoteContent(blockKind, effective, values),
48920
49887
  _effectiveLook: effective,
@@ -48924,10 +49891,19 @@ function planArrangementContent(blockKind, manifest, content, audience) {
48924
49891
  }, values, visiblePhotos.photoCount),
48925
49892
  _effectiveKnobs: knobs,
48926
49893
  _lookAudience: audience,
48927
- _lookSlots: Object.fromEntries(arrangementSlotNames.map((slot) => [slot, slot])),
49894
+ _lookSlots: arrangementContentSlots(blockKind),
48928
49895
  blockLook: effective.look.id
48929
49896
  };
48930
49897
  }
49898
+ /** Widget section hooks use the theme; hero background geometry never travels to list islands. */
49899
+ function arrangementContentSlots(blockKind) {
49900
+ return Object.fromEntries(arrangementSlotNames.filter((slot) => slot !== "schedule-section" && slot !== "shop-section" && (slot !== "background" || blockKind === "block.hero")).map((slot) => [slot, slot]));
49901
+ }
49902
+ /** C photo Looks render shape-specific crops without rewriting authored preferences. */
49903
+ function arrangementShapeContent(lookId, content) {
49904
+ if (lookId !== "intro-photo-beside-text" && lookId !== "media-text-photo-beside-text") return {};
49905
+ return content.imageShape === "circle" ? { aspectRatio: "1/1" } : content.imageShape === "arch" ? { aspectRatio: "4/5" } : {};
49906
+ }
48931
49907
  function arrangementQuoteContent(blockKind, effective, values) {
48932
49908
  if (blockKind !== "block.testimonials") return {};
48933
49909
  const single = effective.look.structure.byMode.default === "single";
@@ -48973,6 +49949,7 @@ function arrangementContentFacts(content) {
48973
49949
  function arrangementPhotoCount(content) {
48974
49950
  if (Array.isArray(content.cards)) return content.cards.filter((card) => isObjectRecord$1(card) && isObjectRecord$1(card.media)).length;
48975
49951
  if (Array.isArray(content.images)) return content.images.filter((item) => isObjectRecord$1(item) && isObjectRecord$1(item.image)).length;
49952
+ if (isObjectRecord$1(content.media)) return 1;
48976
49953
  const section = isObjectRecord$1(content._sectionStyles) ? content._sectionStyles : {};
48977
49954
  return isObjectRecord$1((isObjectRecord$1(section.background) ? section.background : {}).image) ? 1 : 0;
48978
49955
  }
@@ -50755,6 +51732,53 @@ z.object({
50755
51732
  toolCallsUsed: z.number()
50756
51733
  });
50757
51734
  //#endregion
51735
+ //#region ../api/src/siteTerms.ts
51736
+ const versionIdSchema = z.string().uuid().transform((value, ctx) => {
51737
+ const parsed = parseSiteTermsVersionId(value);
51738
+ if (parsed.ok) return parsed.value;
51739
+ ctx.addIssue({
51740
+ code: "custom",
51741
+ message: "Invalid site terms version"
51742
+ });
51743
+ return z.NEVER;
51744
+ });
51745
+ z.object({
51746
+ shown: z.discriminatedUnion("kind", [
51747
+ z.object({ kind: z.literal("nothing") }),
51748
+ z.object({
51749
+ kind: z.literal("checkbox"),
51750
+ versionId: versionIdSchema
51751
+ }),
51752
+ z.object({
51753
+ kind: z.literal("already_agreed_line"),
51754
+ versionId: versionIdSchema
51755
+ })
51756
+ ]),
51757
+ agreed: z.boolean()
51758
+ });
51759
+ const siteTermsSourceSchema = z.discriminatedUnion("kind", [z.object({
51760
+ kind: z.literal("written"),
51761
+ body: z.custom(isCanonicalRichTextDoc)
51762
+ }), z.object({
51763
+ kind: z.literal("link"),
51764
+ destination: z.discriminatedUnion("kind", [z.object({
51765
+ kind: z.literal("page"),
51766
+ identifier: z.string().trim().min(1)
51767
+ }), z.object({
51768
+ kind: z.literal("url"),
51769
+ href: z.url({ protocol: /^https?$/ })
51770
+ })])
51771
+ })]);
51772
+ z.discriminatedUnion("kind", [z.object({
51773
+ kind: z.literal("publish"),
51774
+ expectedRevision: z.number().int().positive().nullable(),
51775
+ source: siteTermsSourceSchema,
51776
+ askAgain: z.boolean()
51777
+ }).strict(), z.object({
51778
+ kind: z.literal("stop"),
51779
+ expectedRevision: z.number().int().positive()
51780
+ }).strict()]);
51781
+ //#endregion
50758
51782
  //#region src/data/prefetchBlockData.ts
50759
51783
  const SUPPORTED_LOADER_ENDPOINTS = SUPPORTED_LOADER_ENDPOINTS$1;
50760
51784
  function isSupportedLoaderEndpoint(endpoint) {