@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
@@ -2618,6 +2618,15 @@ const eyebrowTypographyStyleSchema = z.object({
2618
2618
  });
2619
2619
  const typographySchema = z.object({
2620
2620
  body: bodyTypographyStyleSchema,
2621
+ smallHeading: z.object({
2622
+ family: z.string().min(1),
2623
+ weight: z.enum([
2624
+ "regular",
2625
+ "medium",
2626
+ "semibold",
2627
+ "bold"
2628
+ ])
2629
+ }).optional(),
2621
2630
  headings: z.object({
2622
2631
  default: headingTypographyStyleSchema,
2623
2632
  h1: headingTypographyOverridesSchema,
@@ -2922,10 +2931,12 @@ function parseUuidBrand(value, unsafeConstructor) {
2922
2931
  const unsafeAsEventOfferingId = (id) => id;
2923
2932
  const unsafeAsEventSeriesId = (id) => id;
2924
2933
  const unsafeAsMediaAssetId = (id) => id;
2934
+ const unsafeAsSiteTermsVersionId = (id) => id;
2925
2935
  const unsafeAsContentVersionId = (id) => id;
2926
2936
  const parseEventOfferingId = (value) => parseUuidBrand(value, unsafeAsEventOfferingId);
2927
2937
  const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
2928
2938
  const parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
2939
+ const parseSiteTermsVersionId = (value) => parseUuidBrand(value, unsafeAsSiteTermsVersionId);
2929
2940
  const parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
2930
2941
  //#endregion
2931
2942
  //#region ../core/src/assert-never.ts
@@ -3271,14 +3282,23 @@ function validateBookingPaymentOptionKinds(kinds) {
3271
3282
  /** Shared Intl engine, internal to core's date presentation owners. */
3272
3283
  const FORMATTER_CACHE_LIMIT = 100;
3273
3284
  const dateTimeFormatterCache = /* @__PURE__ */ new Map();
3285
+ /** Intl's boolean clock option can select h11/h24 on other ICU builds. */
3286
+ function resolveClockCycle(format) {
3287
+ const { hour12, ...explicitFormat } = format;
3288
+ return hour12 === void 0 ? explicitFormat : {
3289
+ ...explicitFormat,
3290
+ hourCycle: hour12 ? "h12" : "h23"
3291
+ };
3292
+ }
3274
3293
  function getDateTimeFormatter(locale, timeZone, format) {
3275
- const key = `${locale}\u0000${timeZone}\u0000${JSON.stringify(Object.entries(format).sort(([left], [right]) => left.localeCompare(right)))}`;
3294
+ const explicitFormat = resolveClockCycle(format);
3295
+ const key = `${locale}\u0000${timeZone}\u0000${JSON.stringify(Object.entries(explicitFormat).sort(([left], [right]) => left.localeCompare(right)))}`;
3276
3296
  const cached = dateTimeFormatterCache.get(key);
3277
3297
  if (cached !== void 0) return cached;
3278
3298
  if (typeof locale !== "string" || Intl.DateTimeFormat.supportedLocalesOf([locale]).length === 0) throw new RangeError("An explicit supported locale is required");
3279
3299
  if (typeof timeZone !== "string" || timeZone.length === 0) throw new RangeError("An explicit time zone is required");
3280
3300
  const formatter = new Intl.DateTimeFormat(locale, {
3281
- ...format,
3301
+ ...explicitFormat,
3282
3302
  timeZone
3283
3303
  });
3284
3304
  if (dateTimeFormatterCache.size >= FORMATTER_CACHE_LIMIT) dateTimeFormatterCache.clear();
@@ -3348,7 +3368,7 @@ function getZonedDateTimeParts(date, timeZone) {
3348
3368
  hour: "2-digit",
3349
3369
  minute: "2-digit",
3350
3370
  second: "2-digit",
3351
- hour12: false
3371
+ hourCycle: "h23"
3352
3372
  });
3353
3373
  const read = (type) => Number(parts.get(type) ?? "");
3354
3374
  return {
@@ -3443,7 +3463,7 @@ function formatBookingDate(input, format = {
3443
3463
  function formatBookingTime(input, format = {
3444
3464
  hour: "numeric",
3445
3465
  minute: "2-digit",
3446
- hour12: true
3466
+ hourCycle: "h12"
3447
3467
  }) {
3448
3468
  return formatBookingInstant(input.startsAt, {
3449
3469
  locale: input.locale,
@@ -6229,7 +6249,11 @@ const BUTTON_STYLE_IDS = [
6229
6249
  "hairline-tab",
6230
6250
  "marquee"
6231
6251
  ];
6232
- const quietArrowParametersSchema = z.object({ secondaryTreatment: z.enum(["outlined", "solid-accent"]) }).strict();
6252
+ const quietArrowParametersSchema = z.object({
6253
+ secondaryTreatment: z.enum(["outlined", "solid-accent"]),
6254
+ size: z.enum(["comfortable"]).optional(),
6255
+ hoverTreatment: z.enum(["deep-and-sheet"]).optional()
6256
+ }).strict();
6233
6257
  const flatInkHoverTreatmentSchema = z.enum([
6234
6258
  "contextual",
6235
6259
  "secondary",
@@ -6686,6 +6710,63 @@ const solidAccentSecondary = {
6686
6710
  },
6687
6711
  affordance: { iconId: "ArrowRight" }
6688
6712
  };
6713
+ /** Selection-owned sizing leaves historical recipe output unchanged when absent. */
6714
+ function sizedQuietArrowRoles(roles, size) {
6715
+ if (size === void 0) return roles;
6716
+ return mapButtonRoleAppearances(roles, (appearance) => ({
6717
+ ...appearance,
6718
+ states: mapButtonVisualAppearances(appearance.states, (state) => ({
6719
+ ...state,
6720
+ sizes: {
6721
+ sm: {
6722
+ padding: "0.875rem 1.125rem",
6723
+ fontSize: "text-xs"
6724
+ },
6725
+ md: {
6726
+ padding: "0.75rem 1.375rem",
6727
+ fontSize: "text-sm"
6728
+ },
6729
+ lg: {
6730
+ padding: "0.875rem 1.75rem",
6731
+ fontSize: "text-sm"
6732
+ },
6733
+ xl: {
6734
+ padding: "1rem 2rem",
6735
+ fontSize: "text-base"
6736
+ }
6737
+ }
6738
+ }))
6739
+ }));
6740
+ }
6741
+ /** Forward sheet interaction is explicit selection data; absent preserves the captured recipe. */
6742
+ function quietArrowHoverRoles(roles, treatment) {
6743
+ if (treatment === void 0) return roles;
6744
+ const hover = (role, colour) => ({
6745
+ ...roles[role],
6746
+ states: {
6747
+ ...roles[role].states,
6748
+ hover: {
6749
+ ...roles[role].states.hover,
6750
+ background: {
6751
+ type: "solid",
6752
+ colorToken: unsafeAsOpaqueButtonColourToken(colour)
6753
+ },
6754
+ text: "treatment",
6755
+ effects: [],
6756
+ ...role === "secondary" ? { border: {
6757
+ widthClass: "border",
6758
+ marksBoundary: true,
6759
+ boundaryInk: unsafeAsOpaqueButtonColourToken("text")
6760
+ } } : {}
6761
+ }
6762
+ }
6763
+ });
6764
+ return {
6765
+ ...roles,
6766
+ primary: hover("primary", "primary-800"),
6767
+ secondary: hover("secondary", "surface")
6768
+ };
6769
+ }
6689
6770
  const quietArrowRecipe = defineButtonStyleRecipe({
6690
6771
  id: "quiet-arrow",
6691
6772
  accessibilityLabel: "Wide uppercase buttons with trailing arrows",
@@ -6709,10 +6790,10 @@ const quietArrowRecipe = defineButtonStyleRecipe({
6709
6790
  label: "Solid accent"
6710
6791
  }]
6711
6792
  }],
6712
- defineSystem: (parameters) => ({ roles: {
6793
+ defineSystem: (parameters) => ({ roles: quietArrowHoverRoles(sizedQuietArrowRoles({
6713
6794
  ...quietArrowSystem.roles,
6714
6795
  secondary: parameters.secondaryTreatment === "solid-accent" ? solidAccentSecondary : quietArrowSystem.roles.secondary
6715
- } })
6796
+ }, parameters.size), parameters.hoverTreatment) })
6716
6797
  });
6717
6798
  //#endregion
6718
6799
  //#region ../theme-core/src/buttons/styles/recipes/flatInk.ts
@@ -10990,6 +11071,7 @@ const headerContainerSchema = z.object({
10990
11071
  "lg"
10991
11072
  ]).default("md"),
10992
11073
  tint: z.string().nullable().optional(),
11074
+ mobileSheet: z.literal("inset").optional(),
10993
11075
  opacity: z.number().min(0).max(1).default(.12)
10994
11076
  }).optional();
10995
11077
  //#endregion
@@ -11708,8 +11790,12 @@ const cardListKnobBlocks = [...cardListFamilyBlocks, "block.event-calendar"];
11708
11790
  const lookKnobBlocks = {
11709
11791
  actionStyle: cardListKnobBlocks,
11710
11792
  titleSize: "block.hero",
11711
- imagePosition: ["block.hero", "block.media-text"],
11712
- imageShape: "block.media-text",
11793
+ imagePosition: [
11794
+ "block.hero",
11795
+ "block.intro",
11796
+ "block.media-text"
11797
+ ],
11798
+ imageShape: ["block.intro", "block.media-text"],
11713
11799
  aspectRatio: "block.media-text",
11714
11800
  stickerLine: "block.hero",
11715
11801
  smallCaption: "block.hero",
@@ -11753,6 +11839,7 @@ function cardListKnobDefaults(block, arrangement, knobs, defaults) {
11753
11839
  }
11754
11840
  const arrangementLookTargets = {
11755
11841
  hero: "hero",
11842
+ intro: "intro",
11756
11843
  "feature-cards": "feature-cards",
11757
11844
  "event-calendar": "events",
11758
11845
  testimonials: "testimonials",
@@ -12590,14 +12677,20 @@ const appearancePresets = [
12590
12677
  }
12591
12678
  }),
12592
12679
  defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []),
12593
- defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], { slotRoles: { panel: "card" } }),
12594
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", []),
12680
+ defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], {
12681
+ slotRoles: { panel: "card" },
12682
+ styleFallback: [id$1("form-below-introduction")]
12683
+ }),
12684
+ defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
12595
12685
  defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", []),
12596
12686
  defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
12597
- defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], { forcedKnobs: {
12598
- imageShape: "circle",
12599
- aspectRatio: "1/1"
12600
- } }),
12687
+ defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
12688
+ forcedKnobs: {
12689
+ imageShape: "circle",
12690
+ aspectRatio: "1/1"
12691
+ },
12692
+ styleFallback: [id$1("media-text-photo-beside-text")]
12693
+ }),
12601
12694
  defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, { slotRoles: { sticker: "highlight" } }),
12602
12695
  defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
12603
12696
  slotRoles: { sticker: "highlight" },
@@ -12618,6 +12711,15 @@ const appearancePresets = [
12618
12711
  "text",
12619
12712
  "action"
12620
12713
  ], ["showPhotos", "cardMarker"], { itemRoles: { items: "card" } }),
12714
+ defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
12715
+ "media",
12716
+ "title",
12717
+ "text",
12718
+ "action"
12719
+ ], ["showPhotos", "cardMarker"], {
12720
+ itemRoles: { items: "card" },
12721
+ styleFallback: [id$1("feature-cards-cards")]
12722
+ }),
12621
12723
  defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
12622
12724
  "media",
12623
12725
  "title",
@@ -12728,6 +12830,52 @@ const appearancePresets = [
12728
12830
  defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
12729
12831
  slotRoles: { panel: "card" },
12730
12832
  styleFallback: [id$1("event-details-header")]
12833
+ }),
12834
+ defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], { styleFallback: [id$1("intro-photo-beside-text")] }),
12835
+ defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], { whenMissing: [{
12836
+ fact: "photo",
12837
+ look: id$1("intro-statement-beside-text")
12838
+ }] }),
12839
+ defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"]),
12840
+ defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
12841
+ slotRoles: { panel: "card" },
12842
+ styleFallback: [id$1("newsletter-signup-text-beside")]
12843
+ }),
12844
+ defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
12845
+ slotRoles: { panel: "card" },
12846
+ styleFallback: [id$1("newsletter-signup-in-arch")]
12847
+ }),
12848
+ defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
12849
+ slotRoles: { panel: "card" },
12850
+ styleFallback: [id$1("form-beside-introduction-arched-panel")]
12851
+ }),
12852
+ defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
12853
+ "media",
12854
+ "title",
12855
+ "text",
12856
+ "action"
12857
+ ], ["showPhotos"], {
12858
+ itemRoles: { items: "card" },
12859
+ slotRoles: { date: "highlight" },
12860
+ knobDefaults: {
12861
+ actionStyle: "button",
12862
+ dates: "summary"
12863
+ },
12864
+ styleFallback: [id$1("card-list-plates"), id$1("feature-cards-cards")]
12865
+ }),
12866
+ defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
12867
+ "media",
12868
+ "title",
12869
+ "text",
12870
+ "action"
12871
+ ], ["showPhotos"], {
12872
+ itemRoles: { items: "card" },
12873
+ slotRoles: { date: "highlight" },
12874
+ knobDefaults: {
12875
+ actionStyle: "button",
12876
+ dates: "summary"
12877
+ },
12878
+ styleFallback: [id$1("feature-cards-cards")]
12731
12879
  })
12732
12880
  ];
12733
12881
  //#endregion
@@ -13382,6 +13530,9 @@ const arrangementSlotNames = [
13382
13530
  "social",
13383
13531
  "base",
13384
13532
  "section",
13533
+ "background",
13534
+ "schedule-section",
13535
+ "shop-section",
13385
13536
  "stack",
13386
13537
  "inline",
13387
13538
  "grid",
@@ -14518,6 +14669,36 @@ const groundedSerifTypography = {
14518
14669
  },
14519
14670
  scale: "balanced"
14520
14671
  };
14672
+ /** Folio keeps the practitioner pairing, with a larger serif and working sans names. */
14673
+ const folioTypography = {
14674
+ ...groundedSerifTypography,
14675
+ body: {
14676
+ ...groundedSerifTypography.body,
14677
+ family: "Open Sans, system-ui, sans-serif",
14678
+ size: "lg"
14679
+ },
14680
+ smallHeading: {
14681
+ family: "Open Sans, system-ui, sans-serif",
14682
+ weight: "semibold"
14683
+ },
14684
+ headings: {
14685
+ ...groundedSerifTypography.headings,
14686
+ h1: {
14687
+ ...groundedSerifTypography.headings.h1,
14688
+ lineHeight: "tight",
14689
+ letterSpacing: "tight"
14690
+ },
14691
+ h2: {
14692
+ ...groundedSerifTypography.headings.h2,
14693
+ lineHeight: "tight",
14694
+ letterSpacing: "tight"
14695
+ },
14696
+ h3: {
14697
+ ...groundedSerifTypography.headings.h3,
14698
+ lineHeight: "tight"
14699
+ }
14700
+ }
14701
+ };
14521
14702
  const kirtanOrnateTypography = {
14522
14703
  body: {
14523
14704
  family: "Jost, system-ui, sans-serif",
@@ -15276,7 +15457,8 @@ const curatedSiteStyleIdValues = [
15276
15457
  "site-style:grounded-practice",
15277
15458
  "site-style:poster",
15278
15459
  "site-style:lantern",
15279
- "site-style:measure"
15460
+ "site-style:measure",
15461
+ "site-style:folio"
15280
15462
  ];
15281
15463
  const quietBudget = {
15282
15464
  accentDensity: "low",
@@ -15605,6 +15787,30 @@ const headerCurationBySiteStyle = {
15605
15787
  "fine-line"
15606
15788
  ]
15607
15789
  }]),
15790
+ "site-style:folio": defineHeaderCuration([
15791
+ {
15792
+ layoutId: "floating",
15793
+ styleIds: ["minimal-surface", "glass"]
15794
+ },
15795
+ {
15796
+ layoutId: "classic",
15797
+ styleIds: [
15798
+ "minimal",
15799
+ "serif-line",
15800
+ "fine-line",
15801
+ "soft-bar"
15802
+ ]
15803
+ },
15804
+ {
15805
+ layoutId: "centered",
15806
+ styleIds: [
15807
+ "serif-line",
15808
+ "fine-line",
15809
+ "minimal",
15810
+ "soft-bar"
15811
+ ]
15812
+ }
15813
+ ]),
15608
15814
  "site-style:measure": defineHeaderCuration([{
15609
15815
  layoutId: "classic",
15610
15816
  styleIds: ["fine-line", "minimal"]
@@ -15634,6 +15840,7 @@ function defineCuratedSiteStyle(input) {
15634
15840
  recommendedAppearancePresetIds
15635
15841
  },
15636
15842
  headerCuration: headerCurationBySiteStyle[input.id],
15843
+ headerStyleRecipes: input.headerStyleRecipes,
15637
15844
  footerLookRecipes: input.footerLookRecipes,
15638
15845
  recommendedFooterLookIds: (input.recommendedFooterLookIds ?? []).map(asFooterLookId),
15639
15846
  buttonStyleChoices: input.buttonStyleChoices,
@@ -15667,6 +15874,233 @@ function paletteRecommendation(authoringKey, note) {
15667
15874
  const id = asAppearancePresetId;
15668
15875
  const quieterOrStandard = { titleSize: ["quiet", "auto"] };
15669
15876
  /** Fulcrum: cards are white sheets, the statement is the brand band, stickers are sheets too. */
15877
+ const folioRoles = {
15878
+ card: "sheet",
15879
+ statement: {
15880
+ default: "band",
15881
+ band: "sheet"
15882
+ },
15883
+ highlight: "band"
15884
+ };
15885
+ const folioLinks = { link: "primary" };
15886
+ const folioLooks = {
15887
+ kind: "offers",
15888
+ skin: "folio",
15889
+ skinTokens: {
15890
+ radius: "10px",
15891
+ rule: "1px",
15892
+ "mark-length": "44px",
15893
+ "mark-weight": "2px",
15894
+ gutter: "32px",
15895
+ "copy-gap": "1.25rem",
15896
+ "stack-gap": "2.5rem"
15897
+ },
15898
+ fontLoading: {
15899
+ extraHeadingFontWeights: [600],
15900
+ italicHeadingFontWeights: [500]
15901
+ },
15902
+ surfaces: {
15903
+ base: {
15904
+ kind: "token",
15905
+ token: "background",
15906
+ foreground: folioLinks
15907
+ },
15908
+ sheet: {
15909
+ kind: "token",
15910
+ token: "surface",
15911
+ roleOnly: true,
15912
+ foreground: folioLinks
15913
+ },
15914
+ band: {
15915
+ kind: "token",
15916
+ token: "muted",
15917
+ foreground: folioLinks
15918
+ },
15919
+ brand: {
15920
+ kind: "token",
15921
+ token: "primary",
15922
+ foreground: folioLinks
15923
+ },
15924
+ deep: {
15925
+ kind: "token",
15926
+ token: "primary-800",
15927
+ foreground: folioLinks
15928
+ }
15929
+ },
15930
+ rhythm: {
15931
+ "flow:quiet": [
15932
+ "base",
15933
+ "base",
15934
+ "band",
15935
+ "base",
15936
+ "band",
15937
+ "base"
15938
+ ],
15939
+ "flow:balanced": [
15940
+ "base",
15941
+ "band",
15942
+ "base",
15943
+ "deep",
15944
+ "base",
15945
+ "band"
15946
+ ],
15947
+ "flow:expressive": [
15948
+ "base",
15949
+ "band",
15950
+ "deep",
15951
+ "base",
15952
+ "band",
15953
+ "brand"
15954
+ ]
15955
+ },
15956
+ offers: [
15957
+ {
15958
+ id: id("hero-photo-beside-text"),
15959
+ treatment: "hero-framed",
15960
+ knobValues: quieterOrStandard,
15961
+ roleMap: folioRoles
15962
+ },
15963
+ {
15964
+ id: id("hero-photo-behind-text"),
15965
+ treatment: "hero-panel",
15966
+ knobValues: quieterOrStandard,
15967
+ roleMap: folioRoles
15968
+ },
15969
+ {
15970
+ id: id("hero-page-head"),
15971
+ treatment: "hero-ruled",
15972
+ knobValues: quieterOrStandard,
15973
+ roleMap: folioRoles
15974
+ },
15975
+ {
15976
+ id: id("intro-photo-beside-text"),
15977
+ treatment: "intro-keyline",
15978
+ roleMap: folioRoles
15979
+ },
15980
+ {
15981
+ id: id("intro-statement-beside-text"),
15982
+ treatment: "intro-ruled-split",
15983
+ roleMap: folioRoles
15984
+ },
15985
+ {
15986
+ id: id("media-text-photo-beside-text"),
15987
+ treatment: "media-mount",
15988
+ roleMap: folioRoles
15989
+ },
15990
+ {
15991
+ id: id("media-text-circle-beside-text"),
15992
+ treatment: "media-circle",
15993
+ roleMap: folioRoles
15994
+ },
15995
+ {
15996
+ id: id("feature-cards-cards"),
15997
+ treatment: "cards-sheet",
15998
+ roleMap: folioRoles
15999
+ },
16000
+ {
16001
+ id: id("feature-cards-open-columns"),
16002
+ treatment: "cards-open",
16003
+ roleMap: folioRoles
16004
+ },
16005
+ {
16006
+ id: id("feature-cards-index"),
16007
+ treatment: "cards-register",
16008
+ roleMap: folioRoles
16009
+ },
16010
+ {
16011
+ id: id("body-text-reading-column"),
16012
+ treatment: "body-reading",
16013
+ roleMap: folioRoles
16014
+ },
16015
+ {
16016
+ id: id("event-calendar-ruled-rows"),
16017
+ treatment: "calendar-card",
16018
+ itemRoles: { container: "card" },
16019
+ surfaceTints: { date: {
16020
+ source: "text",
16021
+ opacity: 8
16022
+ } },
16023
+ roleMap: folioRoles
16024
+ },
16025
+ {
16026
+ id: id("event-calendar-session-cards"),
16027
+ treatment: "calendar-sheets",
16028
+ roleMap: folioRoles
16029
+ },
16030
+ {
16031
+ id: id("event-calendar-next-three"),
16032
+ treatment: "calendar-compact",
16033
+ roleMap: folioRoles
16034
+ },
16035
+ {
16036
+ id: id("event-calendar-month-grid"),
16037
+ treatment: "calendar-month",
16038
+ roleMap: folioRoles
16039
+ },
16040
+ {
16041
+ id: id("event-details-panel"),
16042
+ treatment: "details-sheet",
16043
+ roleMap: {
16044
+ ...folioRoles,
16045
+ card: "section"
16046
+ }
16047
+ },
16048
+ {
16049
+ id: id("event-details-header"),
16050
+ treatment: "details-ruled",
16051
+ roleMap: folioRoles
16052
+ },
16053
+ {
16054
+ id: id("newsletter-signup-text-beside"),
16055
+ treatment: "signup-sheet",
16056
+ roleMap: {
16057
+ ...folioRoles,
16058
+ card: "section"
16059
+ }
16060
+ },
16061
+ {
16062
+ id: id("newsletter-signup-one-row"),
16063
+ treatment: "signup-row",
16064
+ roleMap: {
16065
+ ...folioRoles,
16066
+ card: "section"
16067
+ }
16068
+ },
16069
+ {
16070
+ id: id("form-below-introduction"),
16071
+ treatment: "form-sheet-below",
16072
+ roleMap: {
16073
+ ...folioRoles,
16074
+ card: "section"
16075
+ }
16076
+ },
16077
+ {
16078
+ id: id("testimonials-lead-quote"),
16079
+ treatment: "quote-lead",
16080
+ roleMap: folioRoles
16081
+ },
16082
+ {
16083
+ id: id("testimonials-quote-cards"),
16084
+ treatment: "quote-sheets",
16085
+ roleMap: folioRoles
16086
+ },
16087
+ {
16088
+ id: id("card-list-accent-edged-cards"),
16089
+ treatment: "cards-accent-edged",
16090
+ roleMap: folioRoles
16091
+ },
16092
+ {
16093
+ id: id("card-list-wide-slides"),
16094
+ treatment: "carousel-wide-sheet",
16095
+ roleMap: folioRoles
16096
+ },
16097
+ {
16098
+ id: id("card-list-scroll-row"),
16099
+ treatment: "carousel-row-sheet",
16100
+ roleMap: folioRoles
16101
+ }
16102
+ ]
16103
+ };
15670
16104
  const fulcrumRoles = {
15671
16105
  card: "sheet",
15672
16106
  statement: {
@@ -15873,6 +16307,55 @@ const fulcrumLooks = {
15873
16307
  id: id("testimonials-scroll-row"),
15874
16308
  treatment: "cards",
15875
16309
  roleMap: fulcrumRoles
16310
+ },
16311
+ {
16312
+ id: id("intro-photo-beside-text"),
16313
+ treatment: "intro-plate",
16314
+ roleMap: fulcrumRoles
16315
+ },
16316
+ {
16317
+ id: id("intro-statement-beside-text"),
16318
+ treatment: "lintel",
16319
+ roleMap: fulcrumRoles
16320
+ },
16321
+ {
16322
+ id: id("media-text-photo-beside-text"),
16323
+ treatment: "beside-plate",
16324
+ roleMap: fulcrumRoles
16325
+ },
16326
+ {
16327
+ id: id("newsletter-signup-one-row"),
16328
+ treatment: "signup-strip",
16329
+ roleMap: {
16330
+ ...fulcrumRoles,
16331
+ card: "section"
16332
+ }
16333
+ },
16334
+ {
16335
+ id: id("newsletter-signup-text-beside"),
16336
+ treatment: "signup-beside-panel",
16337
+ roleMap: fulcrumRoles
16338
+ },
16339
+ {
16340
+ id: id("form-below-introduction"),
16341
+ treatment: "form-sheet",
16342
+ roleMap: fulcrumRoles
16343
+ },
16344
+ {
16345
+ id: id("card-list-wide-slides"),
16346
+ treatment: "carousel-wide-plate",
16347
+ roleMap: fulcrumRoles,
16348
+ knobValues: { actionStyle: ["link"] }
16349
+ },
16350
+ {
16351
+ id: id("card-list-scroll-row"),
16352
+ treatment: "carousel-row-cards",
16353
+ roleMap: fulcrumRoles
16354
+ },
16355
+ {
16356
+ id: id("card-list-accent-edged-cards"),
16357
+ treatment: "cards-accent-edged",
16358
+ roleMap: fulcrumRoles
15876
16359
  }
15877
16360
  ]
15878
16361
  };
@@ -16004,6 +16487,49 @@ const posterOffers = [
16004
16487
  id: id("testimonials-scroll-row"),
16005
16488
  treatment: "punchy",
16006
16489
  roleMap: posterRoles
16490
+ },
16491
+ {
16492
+ id: id("intro-photo-beside-text"),
16493
+ treatment: "ink-edge",
16494
+ roleMap: posterRoles
16495
+ },
16496
+ {
16497
+ id: id("intro-statement-beside-text"),
16498
+ treatment: "headline",
16499
+ roleMap: posterRoles
16500
+ },
16501
+ {
16502
+ id: id("media-text-photo-beside-text"),
16503
+ treatment: "beside-slab",
16504
+ roleMap: posterRoles
16505
+ },
16506
+ {
16507
+ id: id("newsletter-signup-one-row"),
16508
+ treatment: "signup-ticket",
16509
+ roleMap: posterRoles
16510
+ },
16511
+ {
16512
+ id: id("newsletter-signup-text-beside"),
16513
+ treatment: "signup-block",
16514
+ roleMap: {
16515
+ ...posterRoles,
16516
+ card: "pop"
16517
+ }
16518
+ },
16519
+ {
16520
+ id: id("form-below-introduction"),
16521
+ treatment: "form-heavy",
16522
+ roleMap: posterRoles
16523
+ },
16524
+ {
16525
+ id: id("card-list-wide-slides"),
16526
+ treatment: "carousel-wide-stamp",
16527
+ roleMap: posterRoles
16528
+ },
16529
+ {
16530
+ id: id("card-list-scroll-row"),
16531
+ treatment: "carousel-row-punchy",
16532
+ roleMap: posterRoles
16007
16533
  }
16008
16534
  ];
16009
16535
  const posterLooks = {
@@ -16348,6 +16874,48 @@ const lanternLooks = {
16348
16874
  treatment: "quote-arch",
16349
16875
  addKnobs: ["archFrame"],
16350
16876
  roleMap: lanternRoles
16877
+ },
16878
+ {
16879
+ id: id("testimonials-scroll-row"),
16880
+ treatment: "quote-row-cards",
16881
+ addKnobs: ["archFrame"],
16882
+ roleMap: lanternRoles
16883
+ },
16884
+ {
16885
+ id: id("intro-photo-beside-text"),
16886
+ treatment: "ringed",
16887
+ roleMap: lanternRoles
16888
+ },
16889
+ {
16890
+ id: id("intro-statement-beside-text"),
16891
+ treatment: "divided",
16892
+ roleMap: lanternRoles
16893
+ },
16894
+ {
16895
+ id: id("media-text-photo-beside-text"),
16896
+ treatment: "outlined",
16897
+ roleMap: lanternRoles
16898
+ },
16899
+ {
16900
+ id: id("newsletter-signup-text-beside"),
16901
+ treatment: "signup-beside-arch",
16902
+ addKnobs: ["archFrame"],
16903
+ roleMap: lanternRoles
16904
+ },
16905
+ {
16906
+ id: id("form-below-introduction"),
16907
+ treatment: "form-arch-below",
16908
+ roleMap: lanternRoles
16909
+ },
16910
+ {
16911
+ id: id("card-list-wide-slides"),
16912
+ treatment: "carousel-wide-arch",
16913
+ roleMap: lanternRoles
16914
+ },
16915
+ {
16916
+ id: id("card-list-scroll-row"),
16917
+ treatment: "carousel-row-cards",
16918
+ roleMap: lanternRoles
16351
16919
  }
16352
16920
  ]
16353
16921
  };
@@ -16536,6 +17104,51 @@ const measureLooks = {
16536
17104
  id: id("testimonials-one-at-a-time"),
16537
17105
  treatment: "counter",
16538
17106
  roleMap: measureRoles
17107
+ },
17108
+ {
17109
+ id: id("testimonials-scroll-row"),
17110
+ treatment: "quote-row-hairline",
17111
+ roleMap: measureRuledPanelRoles
17112
+ },
17113
+ {
17114
+ id: id("intro-photo-beside-text"),
17115
+ treatment: "rail-photo",
17116
+ roleMap: measureRoles
17117
+ },
17118
+ {
17119
+ id: id("intro-statement-beside-text"),
17120
+ treatment: "rule-split",
17121
+ roleMap: measureRoles
17122
+ },
17123
+ {
17124
+ id: id("media-text-photo-beside-text"),
17125
+ treatment: "beside-grid",
17126
+ roleMap: measureRoles
17127
+ },
17128
+ {
17129
+ id: id("newsletter-signup-one-row"),
17130
+ treatment: "signup-rail-row",
17131
+ roleMap: measureRuledPanelRoles
17132
+ },
17133
+ {
17134
+ id: id("newsletter-signup-text-beside"),
17135
+ treatment: "signup-split",
17136
+ roleMap: measureRoles
17137
+ },
17138
+ {
17139
+ id: id("form-below-introduction"),
17140
+ treatment: "form-rail",
17141
+ roleMap: measureRuledPanelRoles
17142
+ },
17143
+ {
17144
+ id: id("card-list-wide-slides"),
17145
+ treatment: "carousel-wide-sheet",
17146
+ roleMap: measureRoles
17147
+ },
17148
+ {
17149
+ id: id("card-list-scroll-row"),
17150
+ treatment: "carousel-row-sheets",
17151
+ roleMap: measureRoles
16539
17152
  }
16540
17153
  ]
16541
17154
  };
@@ -16999,7 +17612,10 @@ const curatedSiteStyles = [
16999
17612
  headingDecoration: noHeadingDecoration,
17000
17613
  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.",
17001
17614
  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.",
17002
- offering: { kind: "lab" },
17615
+ offering: {
17616
+ kind: "public",
17617
+ generation: { kind: "explicit_only" }
17618
+ },
17003
17619
  tokenRecipes: {
17004
17620
  palette: "brand-led",
17005
17621
  contrast: "standard",
@@ -17134,7 +17750,10 @@ const curatedSiteStyles = [
17134
17750
  headingDecoration: noHeadingDecoration,
17135
17751
  description: "Loud but controlled: huge condensed type, flat colour blocks, hard offset shadows on anything you can press, and one sticker for the news.",
17136
17752
  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.",
17137
- offering: { kind: "lab" },
17753
+ offering: {
17754
+ kind: "public",
17755
+ generation: { kind: "explicit_only" }
17756
+ },
17138
17757
  tokenRecipes: {
17139
17758
  palette: "brand-led",
17140
17759
  contrast: "strong",
@@ -17186,8 +17805,8 @@ const curatedSiteStyles = [
17186
17805
  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.",
17187
17806
  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.",
17188
17807
  offering: {
17189
- kind: "client",
17190
- siteSlugs: ["kirtan-lucy"]
17808
+ kind: "public",
17809
+ generation: { kind: "explicit_only" }
17191
17810
  },
17192
17811
  tokenRecipes: {
17193
17812
  palette: "brand-led",
@@ -17245,7 +17864,10 @@ const curatedSiteStyles = [
17245
17864
  headingDecoration: noHeadingDecoration,
17246
17865
  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.",
17247
17866
  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.",
17248
- offering: { kind: "lab" },
17867
+ offering: {
17868
+ kind: "public",
17869
+ generation: { kind: "explicit_only" }
17870
+ },
17249
17871
  tokenRecipes: {
17250
17872
  palette: "brand-led",
17251
17873
  contrast: "strong",
@@ -17274,6 +17896,104 @@ const curatedSiteStyles = [
17274
17896
  paletteRecommendation("measure-plaster"),
17275
17897
  paletteRecommendation("measure-night")
17276
17898
  ]
17899
+ }),
17900
+ defineCuratedSiteStyle({
17901
+ id: "site-style:folio",
17902
+ name: "Folio",
17903
+ offering: {
17904
+ kind: "public",
17905
+ generation: { kind: "explicit_only" }
17906
+ },
17907
+ 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.",
17908
+ generationBrief: "Use restrained serif headings, clear sans-serif body copy, natural photography, practical calls to action and concrete class and workshop details.",
17909
+ headingDecoration: noHeadingDecoration,
17910
+ tokenRecipes: {
17911
+ palette: "warm-neutral",
17912
+ contrast: "standard",
17913
+ radius: "soft",
17914
+ shadow: "none",
17915
+ typography: "classic-serif",
17916
+ spacing: "airy",
17917
+ motion: "subtle"
17918
+ },
17919
+ compositionBudget: accentLedQuietBudget,
17920
+ typography: folioTypography,
17921
+ heroTypography: groundedSerifHeroTypography,
17922
+ looks: folioLooks,
17923
+ contentTemplateDefaults: { event: "event-header" },
17924
+ themeOverrides: {
17925
+ accordions: editorialDividedAccordionSystem,
17926
+ testimonialQuote: serifDisplayQuote
17927
+ },
17928
+ headerStyleRecipes: { "minimal-surface": {
17929
+ tone: "neutral",
17930
+ background: { kind: "transparent" },
17931
+ nav: {
17932
+ kind: "minimal",
17933
+ hoverColorToken: "primary"
17934
+ },
17935
+ navWeight: "medium",
17936
+ navLinkWeight: "medium",
17937
+ navTypography: "plain",
17938
+ border: "none",
17939
+ shadow: { kind: "absent" },
17940
+ frame: {
17941
+ kind: "container",
17942
+ rounded: "lg",
17943
+ padding: "sm",
17944
+ tint: "background",
17945
+ opacity: 1,
17946
+ shadow: false,
17947
+ mobileSheet: "inset"
17948
+ },
17949
+ cta: { treatment: "default" },
17950
+ openingPlacement: "photo-behind-text"
17951
+ } },
17952
+ footerLookRecipes: { "footer-links-row": {
17953
+ arrangement: "simple",
17954
+ ground: {
17955
+ kind: "token",
17956
+ token: "surface"
17957
+ },
17958
+ nav: {
17959
+ weight: "regular",
17960
+ colorToken: "text",
17961
+ hoverColorToken: "primary",
17962
+ typography: "body"
17963
+ },
17964
+ legal: {
17965
+ kind: "separate",
17966
+ bar: {
17967
+ fullBleed: false,
17968
+ background: {
17969
+ kind: "token",
17970
+ token: "surface"
17971
+ },
17972
+ textColor: "text",
17973
+ textAlign: "left",
17974
+ paddingY: "tight",
17975
+ paddingX: "none",
17976
+ borderTop: { width: "none" }
17977
+ }
17978
+ },
17979
+ brandAlign: "start",
17980
+ brandLogoSize: "md"
17981
+ } },
17982
+ recommendedFooterLookIds: ["footer-links-row"],
17983
+ buttonStyleChoices: [
17984
+ buttonChoice("quiet-arrow", void 0, {
17985
+ secondaryTreatment: "solid-accent",
17986
+ size: "comfortable",
17987
+ hoverTreatment: "deep-and-sheet"
17988
+ }),
17989
+ buttonChoice("flat-ink"),
17990
+ buttonChoice("editorial-link")
17991
+ ],
17992
+ paletteRecommendations: [
17993
+ paletteRecommendation("warm-neutral-forest"),
17994
+ paletteRecommendation("soft-natural-sage"),
17995
+ paletteRecommendation("soft-natural-stone")
17996
+ ]
17277
17997
  })
17278
17998
  ];
17279
17999
  new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -18749,7 +19469,14 @@ function asPartialObject(value) {
18749
19469
  //#endregion
18750
19470
  //#region ../blocks/src/system/node/fragments/lookSlot.ts
18751
19471
  /** Compiler-owned slots are absent for legacy Looks, preserving their HTML. */
18752
- const lookSlot = (name) => ({ "data-slot": { $bind: { from: `content._lookSlots.${name}` } } });
19472
+ const lookSlot = (name, source = "look") => source === "skin" ? { "data-slot": { $bind: {
19473
+ from: "theme.skin",
19474
+ transforms: [{
19475
+ id: "look.skinSlot",
19476
+ options: { slot: name }
19477
+ }]
19478
+ } } } : { "data-slot": { $bind: { from: `content._lookSlots.${name}` } } };
19479
+ z.object({ fallback: z.string().trim().min(1) });
18753
19480
  //#endregion
18754
19481
  //#region ../blocks/src/system/fields/imageLayout.ts
18755
19482
  function createImageColSizeField(options = {}) {
@@ -19655,7 +20382,10 @@ const stack = (props, children, ...mods) => el("stack", props, children, ...mods
19655
20382
  const inline = (props, children, ...mods) => el("inline", props, children, ...mods);
19656
20383
  const accordion = (props, children, ...mods) => el("accordion", props, children, ...mods);
19657
20384
  const accordionItem = (props, children, ...mods) => el("accordionItem", props, children, ...mods);
19658
- const carousel = (props, children, ...mods) => el("carousel", props, children, ...mods);
20385
+ const carousel = (props, children, ...mods) => el("carousel", {
20386
+ mode: "legacy",
20387
+ ...props
20388
+ }, children, ...mods);
19659
20389
  const text = (props, ...mods) => el("text", props, void 0, ...mods);
19660
20390
  const richText = (props, ...mods) => el("richText", props, void 0, ...mods);
19661
20391
  const icon = (props, ...mods) => el("icon", props, void 0, ...mods);
@@ -19789,7 +20519,7 @@ const BACKGROUND_FRAME_BASE_CLASS = "rb-background-frame rb-absolute rb-inset-0
19789
20519
  * )
19790
20520
  */
19791
20521
  function backgroundLayer(path, options = {}) {
19792
- 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;
20522
+ 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;
19793
20523
  const styleLayer = el("div", {
19794
20524
  className: styleClassName,
19795
20525
  style: { $bind: {
@@ -19802,7 +20532,8 @@ function backgroundLayer(path, options = {}) {
19802
20532
  });
19803
20533
  const imageLayer = createBackgroundImageNode(path, imageClassName, {
19804
20534
  loading: imageLoading,
19805
- fetchPriority: imageFetchPriority
20535
+ fetchPriority: imageFetchPriority,
20536
+ slot: imageSlot
19806
20537
  });
19807
20538
  const overlayLayer = createBackgroundOverlayNode(path, overlayClassName);
19808
20539
  return omitImageLayer ? [styleLayer, overlayLayer] : [
@@ -19820,7 +20551,7 @@ function backgroundLayer(path, options = {}) {
19820
20551
  * the decorative layer rather than changing the content root.
19821
20552
  */
19822
20553
  function backgroundFrame(path, options = {}) {
19823
- const { leadingNodes = [], ...layerOptions } = options;
20554
+ const { leadingNodes = [], frameSlot, ...layerOptions } = options;
19824
20555
  const framedLayerOptions = {
19825
20556
  ...layerOptions,
19826
20557
  styleClassName: layerOptions.styleClassName ?? "background-style rb-absolute rb-inset-0 rb-z-0 rb-h-full rb-w-full rb-pointer-events-none",
@@ -19828,6 +20559,7 @@ function backgroundFrame(path, options = {}) {
19828
20559
  overlayClassName: layerOptions.overlayClassName ?? "background-overlay rb-absolute rb-inset-0 rb-z-0 rb-h-full rb-w-full rb-pointer-events-none"
19829
20560
  };
19830
20561
  return el("div", {
20562
+ ...frameSlot ? lookSlot(frameSlot) : {},
19831
20563
  className: { $bind: {
19832
20564
  from: path,
19833
20565
  transforms: [{
@@ -19868,6 +20600,7 @@ function backgroundFrame(path, options = {}) {
19868
20600
  function createBackgroundImageNode(path, baseClassName = "rb-absolute rb-z-neg-10", options = {}) {
19869
20601
  const imagePath = `${path}.image`;
19870
20602
  return media({
20603
+ ...options.slot ? lookSlot(options.slot) : {},
19871
20604
  className: { $bind: {
19872
20605
  from: path,
19873
20606
  transforms: [{
@@ -20181,6 +20914,10 @@ const DEFAULT_SECTION_SPACING = "medium";
20181
20914
  function styledSection(config) {
20182
20915
  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;
20183
20916
  const renderedBackgroundNode = backgroundFrame(`${bindFrom}.background`, {
20917
+ ...config.backgroundLookSlots ? {
20918
+ frameSlot: "background",
20919
+ imageSlot: "photo"
20920
+ } : {},
20184
20921
  imageClassName,
20185
20922
  fallbackToken: background,
20186
20923
  omitImageLayer: !renderBackgroundImage,
@@ -20193,12 +20930,13 @@ function styledSection(config) {
20193
20930
  background,
20194
20931
  baseClass,
20195
20932
  spacing,
20196
- fullWidthPath
20933
+ fullWidthPath,
20934
+ skinSlot: config.skinSlot
20197
20935
  }), [renderedBackgroundNode, ...childrenArray]);
20198
20936
  }
20199
20937
  function sectionAppearanceProps(input) {
20200
20938
  return {
20201
- ...lookSlot("section"),
20939
+ ...input.skinSlot ? lookSlot(input.skinSlot, "skin") : lookSlot("section"),
20202
20940
  "data-arrangement": { $bind: { from: "content._lookHooks.data-arrangement" } },
20203
20941
  style: { $bind: {
20204
20942
  from: `${input.bindFrom}.background`,
@@ -20790,9 +21528,12 @@ function twoColumnProps(config) {
20790
21528
  from: config.gapFrom,
20791
21529
  transforms: [{
20792
21530
  id: "boxStyles.semanticGapValue",
20793
- options: { fallback }
21531
+ options: {
21532
+ fallback,
21533
+ legacyOnly: config.lookSlots === true
21534
+ }
20794
21535
  }],
20795
- fallback: GAP_VALUE_MAP[fallback]
21536
+ ...config.lookSlots ? {} : { fallback: GAP_VALUE_MAP[fallback] }
20796
21537
  } } } } : {}
20797
21538
  };
20798
21539
  }
@@ -21955,6 +22696,7 @@ function buildTestimonialCard(...mods) {
21955
22696
  */
21956
22697
  function buildCarouselLayout() {
21957
22698
  return carousel({
22699
+ mode: "legacy",
21958
22700
  className: "rb-mt-12 rb-testimonials-carousel",
21959
22701
  slidesToShow: {
21960
22702
  mobile: { $bind: {
@@ -23685,6 +24427,7 @@ function heroContainerStack(children, gap) {
23685
24427
  rootType: "stack",
23686
24428
  baseClassName: "rb-relative rb-isolate",
23687
24429
  rootProps: {
24430
+ ...lookSlot("frame"),
23688
24431
  gap: "none",
23689
24432
  justify: { $bind: {
23690
24433
  from: "content",
@@ -23718,6 +24461,7 @@ function heroSplitImagePane() {
23718
24461
  }, when("_sectionStyles.background.image"), bind("_sectionStyles.background.image")), lookSticker]);
23719
24462
  }
23720
24463
  const classicLayout$1 = styledSection({
24464
+ backgroundLookSlots: true,
23721
24465
  children: heroContainerStack(heroContentNodes, "md"),
23722
24466
  baseClass: "",
23723
24467
  backgroundImageLoading: heroPriorityMediaProps.loading,
@@ -24073,18 +24817,34 @@ function createAspectRatioField(options = {}) {
24073
24817
  function introHeading(className) {
24074
24818
  return text({
24075
24819
  as: "h2",
24076
- className
24077
- }, when("content.title"), bind("content.title"));
24820
+ className,
24821
+ ...lookSlot("heading")
24822
+ }, when("content.title", { authoringPresence: {
24823
+ kind: "recover-empty-when-active",
24824
+ placeholder: "Add heading"
24825
+ } }), bind("content.title"));
24078
24826
  }
24079
24827
  function introBody(className = "rb-prose rb-max-w-none") {
24080
- return richText({ className }, bind("content.body"));
24828
+ return richText({
24829
+ className,
24830
+ ...lookSlot("intro"),
24831
+ leadParagraphSlot: { $bind: { from: "content._lookSlots.lede" } },
24832
+ lookSlots: { $bind: { from: "content._lookSlots" } }
24833
+ }, bind("content.body"));
24081
24834
  }
24082
24835
  function introCtas(justify = "start") {
24083
- return ctaRow({
24836
+ const row = ctaRow({
24084
24837
  justify,
24085
24838
  gap: "md",
24086
24839
  containerClassName: "rb-mt-2"
24087
24840
  });
24841
+ return {
24842
+ ...row,
24843
+ props: {
24844
+ ...row.props,
24845
+ ...lookSlot("actions")
24846
+ }
24847
+ };
24088
24848
  }
24089
24849
  function introCopyStack(options = {}) {
24090
24850
  return stack({
@@ -24097,6 +24857,7 @@ function introCopyStack(options = {}) {
24097
24857
  ]);
24098
24858
  }
24099
24859
  const introMedia = media({
24860
+ ...lookSlot("photo"),
24100
24861
  className: { $bind: {
24101
24862
  from: "content.imageShape",
24102
24863
  transforms: [{
@@ -24109,7 +24870,7 @@ const introMedia = media({
24109
24870
  from: "content.aspectRatio",
24110
24871
  fallback: "1/1"
24111
24872
  } } }
24112
- }, bind("content.media"));
24873
+ }, bind("content.media"), when("content.media"));
24113
24874
  const centeredCopyLayout = styledSection({
24114
24875
  children: styledContainer({
24115
24876
  rootType: "stack",
@@ -24125,9 +24886,13 @@ const centeredCopyLayout = styledSection({
24125
24886
  spacing: "medium"
24126
24887
  });
24127
24888
  const statementCopyLayout = styledSection({
24128
- 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({
24889
+ children: styledContainer({ children: [el("div", {
24890
+ className: "rb-intro rb-intro-statement rb-grid rb-grid-cols-1 rb-gap-8 rb-md-grid-cols-2 rb-md-items-start",
24891
+ ...lookSlot("frame")
24892
+ }, [introHeading("rb-intro-title rb-max-w-xl"), stack({
24129
24893
  gap: "md",
24130
- className: "rb-intro-copy rb-max-w-xl"
24894
+ className: "rb-intro-copy rb-max-w-xl",
24895
+ ...lookSlot("copy")
24131
24896
  }, [introBody(), introCtas("start")])])] }),
24132
24897
  baseClass: "",
24133
24898
  spacing: "medium"
@@ -24146,6 +24911,7 @@ const statementMediaLayout = styledSection({
24146
24911
  });
24147
24912
  const mediaCopyLayout = styledSection({
24148
24913
  children: styledContainer({ children: [responsiveTwoColumn({
24914
+ lookSlots: true,
24149
24915
  image: el("div", { className: "rb-intro-media-wrap rb-w-full" }, [introMedia]),
24150
24916
  text: introCopyStack({
24151
24917
  className: "rb-intro-copy rb-max-w-xl",
@@ -24217,20 +24983,26 @@ const introBlockDefinition = { manifest: createBlockManifest({
24217
24983
  gapSelectField({
24218
24984
  label: "Gap between media and text",
24219
24985
  defaultValue: "comfortable",
24220
- visibleWhen: {
24986
+ visibleWhen: { allOf: [{
24221
24987
  field: "variant",
24222
24988
  equals: "media-copy"
24223
- }
24989
+ }, {
24990
+ field: "blockLook",
24991
+ notEquals: "intro-photo-beside-text"
24992
+ }] }
24224
24993
  }),
24225
24994
  createImageColSizeField({
24226
24995
  id: "ratio",
24227
24996
  label: "Media column size",
24228
24997
  defaultValue: "1/2",
24229
24998
  uiIntent: "display",
24230
- visibleWhen: {
24999
+ visibleWhen: { allOf: [{
24231
25000
  field: "variant",
24232
25001
  equals: "media-copy"
24233
- }
25002
+ }, {
25003
+ field: "blockLook",
25004
+ notEquals: "intro-photo-beside-text"
25005
+ }] }
24234
25006
  }),
24235
25007
  createAspectRatioField({
24236
25008
  id: "aspectRatio",
@@ -25007,36 +25779,39 @@ const formSurface = styledContainer({
25007
25779
  baseClassName: "rb-form-surface rb-relative rb-isolate rb-overflow-visible",
25008
25780
  children: embedLayout$1
25009
25781
  });
25010
- function createFormLayout(variant) {
25011
- if (variant === "two-column") return styledSection({
25012
- children: el("div", {
25013
- className: "rb-container",
25782
+ const twoColumnFormLayout = styledSection({
25783
+ children: el("div", {
25784
+ className: "rb-container",
25785
+ ...lookSlot("layout")
25786
+ }, [el("div", {
25787
+ className: "rb-form-two-column rb-grid rb-grid-cols-1 rb-gap-8 rb-lg-grid-cols-2 rb-lg-items-start",
25788
+ ...lookSlot("frame")
25789
+ }, [stack({
25790
+ gap: "md",
25791
+ className: "rb-form-copy-column",
25792
+ ...lookSlot("copy")
25793
+ }, [copyLayout]), formSurface])]),
25794
+ baseClass: "",
25795
+ spacing: "medium",
25796
+ background: "surface"
25797
+ });
25798
+ const formLayout = styledSection({
25799
+ children: [when("content._lookSlots", { not: true })(styledContainer({
25800
+ rootType: "stack",
25801
+ rootProps: { gap: "lg" },
25802
+ children: formComposition.layout
25803
+ })), when("content._lookSlots")(styledContainer({
25804
+ rootType: "stack",
25805
+ rootProps: {
25806
+ gap: "lg",
25014
25807
  ...lookSlot("layout")
25015
- }, [el("div", {
25016
- className: "rb-form-two-column rb-grid rb-grid-cols-1 rb-gap-8 rb-lg-grid-cols-2 rb-lg-items-start",
25017
- ...lookSlot("frame")
25018
- }, [stack({
25019
- gap: "md",
25020
- className: "rb-form-copy-column",
25021
- ...lookSlot("copy")
25022
- }, [copyLayout]), formSurface])]),
25023
- baseClass: "",
25024
- spacing: "medium",
25025
- background: "surface"
25026
- });
25027
- return styledSection({
25028
- children: styledContainer({
25029
- rootType: "stack",
25030
- rootProps: { gap: "lg" },
25031
- children: formComposition.layout
25032
- }),
25033
- baseClass: "",
25034
- spacing: "medium",
25035
- background: "surface"
25036
- });
25037
- }
25038
- const formLayout = createFormLayout("default");
25039
- const twoColumnFormLayout = createFormLayout("two-column");
25808
+ },
25809
+ children: el("div", lookSlot("frame"), [el("div", lookSlot("copy"), [copyLayout]), el("div", lookSlot("panel"), [embedLayout$1])])
25810
+ }))],
25811
+ baseClass: "",
25812
+ spacing: "medium",
25813
+ background: "surface"
25814
+ });
25040
25815
  const dataLoaders$1 = buildFragmentDataLoaders(formComposition);
25041
25816
  const formManifest = createBlockManifest({
25042
25817
  variantMeaning: { kind: "arrangement" },
@@ -26096,17 +26871,31 @@ const quoteArrangement = (arrangement) => styledSection({
26096
26871
  as: "p",
26097
26872
  ...lookSlot("intro")
26098
26873
  }, when("content.subheading"), bind("content.subheading"))]), arrangement === "slides" || arrangement === "track" ? el("carousel", {
26874
+ mode: "arrangement",
26099
26875
  arrangement,
26100
- autoplay: false,
26101
- loop: false,
26102
- showControls: true,
26103
- arrowVisibility: "always",
26104
- slidesToShow: arrangement === "slides" ? 1 : {
26105
- mobile: 1,
26106
- tablet: 2,
26107
- desktop: 3
26108
- }
26109
- }, [quoteFigure(false)]) : el("div", lookSlot("items"), [quoteFigure(arrangement === "lead-rest")])]) })
26876
+ labels: {
26877
+ item: "quote",
26878
+ region: { $bind: {
26879
+ from: "content.heading",
26880
+ transforms: [{
26881
+ id: "look.carouselRegion",
26882
+ options: { fallback: "Quotes" }
26883
+ }]
26884
+ } }
26885
+ },
26886
+ indicator: "counter"
26887
+ }, [{
26888
+ type: "carouselSlide",
26889
+ props: { title: { $bind: {
26890
+ from: "testimonial.content.name",
26891
+ fallback: "Anonymous"
26892
+ } } },
26893
+ $repeat: quoteFigure(false).$repeat,
26894
+ children: [{
26895
+ ...quoteFigure(false),
26896
+ $repeat: void 0
26897
+ }]
26898
+ }]) : el("div", lookSlot("items"), [quoteFigure(arrangement === "lead-rest")])]) })
26110
26899
  });
26111
26900
  const additionalFields = parseFieldDefinitions([
26112
26901
  ...testimonialsHeadingFragment.fields,
@@ -27088,6 +27877,33 @@ const leadCard = {
27088
27877
  indexName: "cardIndex"
27089
27878
  }
27090
27879
  };
27880
+ const carouselCardsLayout = (arrangement) => arrangementCardsLayout(el("carousel", {
27881
+ mode: "arrangement",
27882
+ arrangement,
27883
+ cardList: true,
27884
+ labels: {
27885
+ item: "card",
27886
+ region: { $bind: {
27887
+ from: "content.title",
27888
+ transforms: [{
27889
+ id: "look.carouselRegion",
27890
+ options: { fallback: "Cards" }
27891
+ }]
27892
+ } }
27893
+ },
27894
+ indicator: arrangement === "slides" ? "dots" : "none"
27895
+ }, [{
27896
+ type: "carouselSlide",
27897
+ props: { title: { $bind: {
27898
+ from: "card.title",
27899
+ fallback: ""
27900
+ } } },
27901
+ $repeat: featureCard.$repeat,
27902
+ children: [{
27903
+ ...featureCard,
27904
+ $repeat: void 0
27905
+ }]
27906
+ }]));
27091
27907
  const leadSupportLayout = arrangementCardsLayout(el("div", lookSlot("items"), [leadCard]));
27092
27908
  const indexRow = el("li", lookSlot("item"), [
27093
27909
  el("div", {
@@ -27300,6 +28116,8 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
27300
28116
  promotedFields: ["_generatedIconSizePx"],
27301
28117
  layout: cardsLayout,
27302
28118
  variants: {
28119
+ slides: carouselCardsLayout("slides"),
28120
+ track: carouselCardsLayout("track"),
27303
28121
  cards: cardsLayout,
27304
28122
  "lead-support": leadSupportLayout,
27305
28123
  index: indexLayout,
@@ -27312,7 +28130,9 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
27312
28130
  lookOnlyKeys: [
27313
28131
  "lead-support",
27314
28132
  "index",
27315
- "sequence"
28133
+ "sequence",
28134
+ "slides",
28135
+ "track"
27316
28136
  ]
27317
28137
  },
27318
28138
  defaultVariant: "cards",
@@ -27666,17 +28486,22 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
27666
28486
  }],
27667
28487
  fallback: ""
27668
28488
  } };
27669
- const copyHeading = el("div", {
27670
- className: titleClassNameFromAlignment,
27671
- ...lookSlot("head")
27672
- }, [text({
28489
+ const headingNodes = [text({
27673
28490
  as: "p",
27674
28491
  className: eyebrowClassName("rb-eyebrow heading-eyebrow"),
27675
28492
  ...lookSlot("eyebrow")
27676
28493
  }, when("content.eyebrow"), bind("content.eyebrow")), text({
27677
28494
  as: "h2",
27678
28495
  ...lookSlot("heading")
27679
- }, bind("content.title"))], when("content.title"));
28496
+ }, bind("content.title"), when("content.title", { authoringPresence: {
28497
+ kind: "recover-empty-when-active",
28498
+ placeholder: "Add heading"
28499
+ } }))];
28500
+ const copyHeading = el("div", {
28501
+ className: titleClassNameFromAlignment,
28502
+ ...lookSlot("head")
28503
+ }, headingNodes, when("content.title"));
28504
+ const lookCopyHeading = el("div", {}, headingNodes, when("content._lookSlots.head"));
27680
28505
  const textContentNodes = (className) => {
27681
28506
  const props = {
27682
28507
  className,
@@ -27686,7 +28511,8 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
27686
28511
  };
27687
28512
  return [styledCard([richText(props, bind("content.text"))], mediaTextCardOptions, when("content.wrapTextInCard")), richText(props, when("content.wrapTextInCard", { not: true }), bind("content.text"))];
27688
28513
  };
27689
- const defaultTextColumn = el("div", {}, textContentNodes("rb-prose rb-max-w-none"));
28514
+ const bodyTextColumn = el("div", {}, textContentNodes("rb-prose rb-max-w-none"));
28515
+ const defaultTextColumn = el("div", {}, [lookCopyHeading, ...textContentNodes("rb-prose rb-max-w-none")]);
27690
28516
  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)]);
27691
28517
  const defaultImageCommonProps = {
27692
28518
  ...lookSlot("photo"),
@@ -27700,7 +28526,7 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
27700
28526
  } },
27701
28527
  style: { aspectRatio: { $bind: { from: "content.aspectRatio" } } }
27702
28528
  };
27703
- const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"));
28529
+ const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"), when("content.images[0].image"));
27704
28530
  const defaultCarouselImages = carousel({
27705
28531
  className: "rb-media-text-carousel",
27706
28532
  transition: { $bind: {
@@ -27752,7 +28578,11 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
27752
28578
  imageWrapperClassName: "rb-w-full rb-shrink-0",
27753
28579
  textWrapperClassName: "rb-w-full rb-min-w-0 rb-flex-1 rb-self-stretch"
27754
28580
  })], whenImagesLength(0, { not: true }));
27755
- const defaultTextOnlyLayout = el("div", lookSlot("copy"), textContentNodes("rb-prose rb-max-w-none"), whenImagesLength(0));
28581
+ const defaultTextOnlyLayout = el("div", lookSlot("copy"), [
28582
+ el("div", lookSlot("media"), [defaultSingleImage], when("content._lookSlots.media")),
28583
+ lookCopyHeading,
28584
+ ...textContentNodes("rb-prose rb-max-w-none")
28585
+ ], whenImagesLength(0));
27756
28586
  const bioTextOnlyLayout = el("div", {
27757
28587
  className: "rb-flex rb-w-full rb-max-w-prose rb-flex-col rb-gap-5",
27758
28588
  ...lookSlot("copy")
@@ -27764,11 +28594,15 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
27764
28594
  const defaultInner = el("div", {}, [defaultImagesLayout, defaultTextOnlyLayout]);
27765
28595
  const bioInner = el("div", {}, [bioImagesLayout, bioTextOnlyLayout]);
27766
28596
  const defaultLayout = styledSection({
27767
- children: styledContainer({
28597
+ children: [when("content._lookSlots.head", { not: true })(styledContainer({
27768
28598
  rootType: "stack",
27769
28599
  rootProps: { gap: "lg" },
27770
28600
  children: [copyHeading, defaultInner]
27771
- }),
28601
+ })), when("content._lookSlots.head")(styledContainer({
28602
+ rootType: "stack",
28603
+ rootProps: { gap: "lg" },
28604
+ children: [defaultInner]
28605
+ }))],
27772
28606
  baseClass: "",
27773
28607
  spacing: "medium"
27774
28608
  });
@@ -27792,17 +28626,7 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
27792
28626
  el("div", {}, [when("content.images[0].image")(defaultSingleImage)], whenImagesLength(1)),
27793
28627
  el("div", {}, [el("div", {}, [defaultCarouselImages], whenImagesLength(1, { not: true }))], whenImagesLength(0, { not: true })),
27794
28628
  el("div", {}, [when("content.images[0].image")(defaultSingleImage)], whenImagesLength(0))
27795
- ]), el("div", lookSlot("copy"), [el("div", lookSlot("head"), [text({
27796
- as: "p",
27797
- className: eyebrowClassName("rb-eyebrow heading-eyebrow"),
27798
- ...lookSlot("eyebrow")
27799
- }, when("content.eyebrow"), bind("content.eyebrow")), text({
27800
- as: "h2",
27801
- ...lookSlot("heading")
27802
- }, bind("content.title"), when("content.title", { authoringPresence: {
27803
- kind: "recover-empty-when-active",
27804
- placeholder: "Add heading"
27805
- } }))]), defaultTextColumn])]) })
28629
+ ]), el("div", lookSlot("copy"), [el("div", lookSlot("head"), headingNodes), bodyTextColumn])]) })
27806
28630
  })
27807
28631
  },
27808
28632
  variantMeaning: {
@@ -27854,6 +28678,7 @@ const bookingWizard = bookingForm(withApiBindings({
27854
28678
  form: { $bind: { from: "data.form" } },
27855
28679
  services: { $bind: { from: "data.services" } },
27856
28680
  mailingList: { $bind: { from: "$root.mailingList" } },
28681
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
27857
28682
  siteName: { $bind: { from: "$root.siteName" } }
27858
28683
  }));
27859
28684
  /** Both variants sit in the same section shell; only the inner layout differs. */
@@ -27982,7 +28807,9 @@ const appointmentServicesBlockDefinition = {
27982
28807
  "cards",
27983
28808
  "lead-support",
27984
28809
  "index",
27985
- "sequence"
28810
+ "sequence",
28811
+ "slides",
28812
+ "track"
27986
28813
  ]
27987
28814
  },
27988
28815
  id: "block.appointment-services",
@@ -28837,6 +29664,7 @@ const publicEventBaseSchema = z.object({
28837
29664
  cutoffHours: z.number(),
28838
29665
  method: z.enum(["original_payment_method", "site_credit"])
28839
29666
  }) }),
29667
+ asksSiteTerms: z.boolean(),
28840
29668
  consent: blockBookingConsentSchema.nullable(),
28841
29669
  accessRestriction: accessRestrictionSchema,
28842
29670
  allowedCategoryIds: z.array(z.string()),
@@ -29153,6 +29981,31 @@ const occurrenceContextSchema = z.object({
29153
29981
  overrides: z.record(z.string(), z.unknown()).nullable().optional()
29154
29982
  }).nullable();
29155
29983
  //#endregion
29984
+ //#region ../blocks/src/system/blocks/shared/siteTerms.ts
29985
+ const versionId = z.string().uuid().transform((value, ctx) => {
29986
+ const parsed = parseSiteTermsVersionId(value);
29987
+ if (parsed.ok) return parsed.value;
29988
+ ctx.addIssue({
29989
+ code: "custom",
29990
+ message: "Invalid site terms version"
29991
+ });
29992
+ return z.NEVER;
29993
+ });
29994
+ const blockSiteTermsSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("none") }), z.object({
29995
+ kind: z.literal("published"),
29996
+ version: z.object({
29997
+ id: versionId,
29998
+ number: z.number().int().positive(),
29999
+ generation: z.number().int().positive()
30000
+ }),
30001
+ businessName: z.string(),
30002
+ href: z.string().min(1).nullable()
30003
+ })]);
30004
+ z.object({
30005
+ versionId,
30006
+ alreadyAgreed: z.boolean()
30007
+ });
30008
+ //#endregion
29156
30009
  //#region ../blocks/src/system/runtime/nodes/events/domain/capacity.ts
29157
30010
  /**
29158
30011
  * Compute remaining spots for an event from `availableSpots` with a fallback
@@ -29603,27 +30456,48 @@ function eventListWindowEvents(events, window) {
29603
30456
  });
29604
30457
  }
29605
30458
  //#endregion
29606
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
29607
- function eventMatchesOccurrenceId(event, occurrenceId) {
29608
- return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
30459
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
30460
+ function toRegistrationEvent(event) {
30461
+ return {
30462
+ ...event,
30463
+ selectionId: event.id,
30464
+ registrationSubject: {
30465
+ kind: "occurrence",
30466
+ occurrenceId: event.occurrenceId
30467
+ }
30468
+ };
29609
30469
  }
29610
- function findPreSelectedEvent(input) {
29611
- const occurrenceContext = input.occurrenceContext;
29612
- if (!occurrenceContext) return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
29613
- const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
29614
- startsAt: occurrenceContext.startsAt,
29615
- timeZone: occurrenceContext.timeZone
29616
- }));
29617
- return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
29618
- startsAt: event.startsAt,
29619
- timeZone: event.timeZone
29620
- })) === contextDate) ?? null;
30470
+ function toRegistrationEvents(events) {
30471
+ return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
29621
30472
  }
29622
- function resolveEventRequiresPayment(input) {
29623
- if (input.eligibility) return input.eligibility.requiresPayment;
29624
- if (input.selectedTicketType) return input.selectedTicketType.priceAmount > 0;
29625
- if (!input.event) return false;
29626
- return publicEventPricingType(input.event.pricing) === "paid";
30473
+ /**
30474
+ * Project one whole-series run onto the registration surface.
30475
+ *
30476
+ * Capacity, pricing, payment terms and consent come straight off the canonical
30477
+ * Event record; only the schedule is widened from the single occurrence to the
30478
+ * live run. A run without live sessions has no registration event.
30479
+ */
30480
+ function toWholeSeriesRegistrationEvent(group) {
30481
+ const { representative, run } = group;
30482
+ const sessions = orderedLiveRunSessions(run.sessions);
30483
+ const firstSession = sessions[0];
30484
+ if (!firstSession) return null;
30485
+ const lastSession = sessions[sessions.length - 1] ?? firstSession;
30486
+ return {
30487
+ ...representative,
30488
+ selectionId: run.eventSeriesId,
30489
+ registrationSubject: {
30490
+ kind: "wholeSeries",
30491
+ eventSeriesId: run.eventSeriesId,
30492
+ sessions
30493
+ },
30494
+ startsAt: firstSession.startsAt,
30495
+ endsAt: lastSession.endsAt,
30496
+ timeZone: firstSession.timeZone
30497
+ };
30498
+ }
30499
+ function toWholeSeriesRegistrationEvents(events) {
30500
+ return groupPublicEventsByRun(events).map(toWholeSeriesRegistrationEvent).filter((event) => event !== null);
29627
30501
  }
29628
30502
  //#endregion
29629
30503
  //#region ../blocks/src/system/runtime/nodes/event-registration/utils.ts
@@ -29647,7 +30521,7 @@ function bookingClock(startsAt, input) {
29647
30521
  return formatBookingTime(bookingInstant(startsAt, input), {
29648
30522
  hour: "numeric",
29649
30523
  minute: "2-digit",
29650
- hour12: true
30524
+ hourCycle: "h12"
29651
30525
  }).replace(/\s*([ap])\.?\s?m\.?$/i, (_match, period) => `${period.toLowerCase()}m`);
29652
30526
  }
29653
30527
  /** "7:00pm – 8:15pm", or just the start when there's no distinct end. */
@@ -29756,6 +30630,29 @@ function scheduleInput(event, occurrence) {
29756
30630
  };
29757
30631
  }
29758
30632
  //#endregion
30633
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
30634
+ function eventMatchesOccurrenceId(event, occurrenceId) {
30635
+ return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
30636
+ }
30637
+ function findPreSelectedEvent(input) {
30638
+ const occurrenceContext = input.occurrenceContext;
30639
+ if (!occurrenceContext) return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
30640
+ const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
30641
+ startsAt: occurrenceContext.startsAt,
30642
+ timeZone: occurrenceContext.timeZone
30643
+ }));
30644
+ return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
30645
+ startsAt: event.startsAt,
30646
+ timeZone: event.timeZone
30647
+ })) === contextDate) ?? null;
30648
+ }
30649
+ function resolveEventRequiresPayment(input) {
30650
+ if (input.eligibility) return input.eligibility.requiresPayment;
30651
+ if (input.selectedTicketType) return input.selectedTicketType.priceAmount > 0;
30652
+ if (!input.event) return false;
30653
+ return publicEventPricingType(input.event.pricing) === "paid";
30654
+ }
30655
+ //#endregion
29759
30656
  //#region ../blocks/src/system/runtime/nodes/event-registration/wizardSteps.ts
29760
30657
  function registrationRoute(input) {
29761
30658
  const base = input.chooseEvent ? [
@@ -30044,50 +30941,6 @@ function lowerCased(noun) {
30044
30941
  };
30045
30942
  }
30046
30943
  //#endregion
30047
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
30048
- function toRegistrationEvent(event) {
30049
- return {
30050
- ...event,
30051
- selectionId: event.id,
30052
- registrationSubject: {
30053
- kind: "occurrence",
30054
- occurrenceId: event.occurrenceId
30055
- }
30056
- };
30057
- }
30058
- function toRegistrationEvents(events) {
30059
- return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
30060
- }
30061
- /**
30062
- * Project one whole-series run onto the registration surface.
30063
- *
30064
- * Capacity, pricing, payment terms and consent come straight off the canonical
30065
- * Event record; only the schedule is widened from the single occurrence to the
30066
- * live run. A run without live sessions has no registration event.
30067
- */
30068
- function toWholeSeriesRegistrationEvent(group) {
30069
- const { representative, run } = group;
30070
- const sessions = orderedLiveRunSessions(run.sessions);
30071
- const firstSession = sessions[0];
30072
- if (!firstSession) return null;
30073
- const lastSession = sessions[sessions.length - 1] ?? firstSession;
30074
- return {
30075
- ...representative,
30076
- selectionId: run.eventSeriesId,
30077
- registrationSubject: {
30078
- kind: "wholeSeries",
30079
- eventSeriesId: run.eventSeriesId,
30080
- sessions
30081
- },
30082
- startsAt: firstSession.startsAt,
30083
- endsAt: lastSession.endsAt,
30084
- timeZone: firstSession.timeZone
30085
- };
30086
- }
30087
- function toWholeSeriesRegistrationEvents(events) {
30088
- return groupPublicEventsByRun(events).map(toWholeSeriesRegistrationEvent).filter((event) => event !== null);
30089
- }
30090
- //#endregion
30091
30944
  //#region ../blocks/src/system/runtime/nodes/event-registration/bookingCardDisplay.ts
30092
30945
  /**
30093
30946
  * The booking card the server renders on CMS pages (issue 1581), and the
@@ -30423,6 +31276,7 @@ const eventRegistrationCommonSchemaShape = {
30423
31276
  const parsed = parseMailingListRuntimeContext(value);
30424
31277
  return parsed.ok ? parsed.value : void 0;
30425
31278
  }),
31279
+ siteTerms: blockSiteTermsSchema.optional(),
30426
31280
  siteName: z.string().optional()
30427
31281
  };
30428
31282
  const eventRegistrationEventSourceSchema = z.discriminatedUnion("kind", [z.object({
@@ -30606,6 +31460,7 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
30606
31460
  sitePasses: source.sitePasses ?? null,
30607
31461
  siteMemberships: source.siteMemberships ?? null,
30608
31462
  mailingList: source.mailingList,
31463
+ siteTerms: source.siteTerms,
30609
31464
  siteName: source.siteName,
30610
31465
  offeringNoun: resolveOfferingNoun(source, scopedSourceEvents)
30611
31466
  }
@@ -30777,6 +31632,7 @@ const eventRegistrationBlockDefinition = {
30777
31632
  wholeSeriesRunEvents: { $bind: { from: "data.wholeSeriesRunEvents" } },
30778
31633
  loaderFailures: { $bind: { from: "$root.loaderFailures" } },
30779
31634
  mailingList: { $bind: { from: "$root.mailingList" } },
31635
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
30780
31636
  siteName: { $bind: { from: "$root.siteName" } },
30781
31637
  bookingOfferingPresets: { $bind: {
30782
31638
  from: "$root.bookingOfferingPresets",
@@ -33449,6 +34305,7 @@ const recurringScheduleProjectionSchema = z.object({
33449
34305
  //#endregion
33450
34306
  //#region ../blocks/src/system/blocks/events/recurring-schedule.ts
33451
34307
  const recurringScheduleLayout = styledSection({
34308
+ skinSlot: "schedule-section",
33452
34309
  children: styledContainer({
33453
34310
  rootType: "stack",
33454
34311
  rootProps: {
@@ -33906,6 +34763,8 @@ function offeringsPreviewHeaderNodes() {
33906
34763
  const offeringsPreviewLayout = [styledSection({
33907
34764
  children: sectionContainer([el("offerings-preview", {
33908
34765
  ...cardListPresentationBindings,
34766
+ carouselRegion: { $bind: { from: "content.heading" } },
34767
+ renderInput: { $bind: { from: "content._offeringsPreviewInput" } },
33909
34768
  displayMode: { $bind: displayModeBinding },
33910
34769
  pathname: { $bind: { from: "$root.pathname" } },
33911
34770
  catalogueEvents: { $bind: { from: "data.catalogueEvents" } },
@@ -33954,7 +34813,9 @@ const offeringsPreviewManifest = createBlockManifest({
33954
34813
  "lead-support",
33955
34814
  "index",
33956
34815
  "sequence",
33957
- "plates"
34816
+ "plates",
34817
+ "slides",
34818
+ "track"
33958
34819
  ]
33959
34820
  },
33960
34821
  id: "block.offerings-preview",
@@ -34988,6 +35849,7 @@ const gridLayout = grid$1({ className: "rb-grid rb-grid-cols-1 rb-gap-4 rb-sm-gr
34988
35849
  bindAspectRatio: true
34989
35850
  })]);
34990
35851
  const carouselLayout = carousel({
35852
+ mode: "legacy",
34991
35853
  className: { $bind: {
34992
35854
  from: "content.fullBleed",
34993
35855
  transforms: [{
@@ -36097,6 +36959,7 @@ const shopSourceSchema = z.object({
36097
36959
  memberships: z.array(publicMembershipProductSchema).nullable().optional(),
36098
36960
  products: z.array(publicProductSchema).nullable().optional(),
36099
36961
  siteId: z.string().optional(),
36962
+ siteTerms: blockSiteTermsSchema.optional(),
36100
36963
  demoEmailSuppressed: z.boolean().optional(),
36101
36964
  apiBaseUrl: z.string().optional(),
36102
36965
  readAuthority: browserReadAuthoritySchema.optional(),
@@ -36225,6 +37088,7 @@ const passesMembershipsHydrationSchema = z.object({
36225
37088
  memberships: z.array(publicMembershipProductSchema),
36226
37089
  passPurchaseMode: z.enum(["add_to_cart", "buy_now"]),
36227
37090
  buttonVariant: blockButtonRoleSchema,
37091
+ siteTerms: blockSiteTermsSchema.optional(),
36228
37092
  demoEmailSuppressed: z.boolean().optional()
36229
37093
  });
36230
37094
  const productListHydrationSchema = z.object({
@@ -36248,6 +37112,7 @@ const cartHydrationSchema = z.object({
36248
37112
  const checkoutHydrationSchema = z.object({
36249
37113
  emptyStateText: z.string(),
36250
37114
  submitButtonText: z.string(),
37115
+ siteTerms: blockSiteTermsSchema.optional(),
36251
37116
  demoEmailSuppressed: z.boolean().optional()
36252
37117
  });
36253
37118
  const passesMembershipsRenderSchema = z.object({
@@ -36308,6 +37173,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
36308
37173
  memberships: source.showMemberships === false ? [] : source.memberships ?? [],
36309
37174
  passPurchaseMode,
36310
37175
  buttonVariant: source.buttonVariant ?? "primary",
37176
+ siteTerms: source.siteTerms,
36311
37177
  demoEmailSuppressed: source.demoEmailSuppressed
36312
37178
  }
36313
37179
  };
@@ -36402,6 +37268,7 @@ const checkoutBlockRuntime = defineClientOwnedBlockRuntime({
36402
37268
  hydration: {
36403
37269
  emptyStateText: source.emptyStateText ?? "Add something to your cart to continue.",
36404
37270
  submitButtonText: source.submitButtonText ?? "Checkout",
37271
+ siteTerms: source.siteTerms,
36405
37272
  demoEmailSuppressed: source.demoEmailSuppressed
36406
37273
  }
36407
37274
  })
@@ -36617,10 +37484,12 @@ const shopBlockDefinition = {
36617
37484
  ],
36618
37485
  icon: "ShoppingBag",
36619
37486
  layout: [styledSection({
37487
+ skinSlot: "shop-section",
36620
37488
  baseClass: "",
36621
37489
  spacing: "spacious",
36622
37490
  children: sectionContainer([shop(withApiBindings({
36623
37491
  readAuthority: { $bind: { from: "$root.readAuthority" } },
37492
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
36624
37493
  demoEmailSuppressed: { $bind: {
36625
37494
  from: "$root.demoEmailSuppressed",
36626
37495
  fallback: false
@@ -36692,12 +37561,18 @@ const shopBlockDefinition = {
36692
37561
  dataLoaders: {
36693
37562
  passes: {
36694
37563
  endpoint: "listPublicPasses",
36695
- params: { siteId: { $bind: { from: "$root.siteId" } } },
37564
+ params: {
37565
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
37566
+ siteId: { $bind: { from: "$root.siteId" } }
37567
+ },
36696
37568
  mode: "server"
36697
37569
  },
36698
37570
  memberships: {
36699
37571
  endpoint: "listPublicMemberships",
36700
- params: { siteId: { $bind: { from: "$root.siteId" } } },
37572
+ params: {
37573
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
37574
+ siteId: { $bind: { from: "$root.siteId" } }
37575
+ },
36701
37576
  mode: "server"
36702
37577
  }
36703
37578
  }
@@ -37225,6 +38100,7 @@ const publicGiftingOffersResponseSchema = z.object({
37225
38100
  vouchers: z.array(publicVoucherOfferSchema)
37226
38101
  });
37227
38102
  const giftingSourceSchema = z.object({
38103
+ siteTerms: blockSiteTermsSchema.optional(),
37228
38104
  siteId: z.string().optional(),
37229
38105
  apiBaseUrl: z.string().optional(),
37230
38106
  offers: publicGiftingOffersResponseSchema.nullable().optional(),
@@ -37248,6 +38124,7 @@ const giftingDisplaySchema = z.object({
37248
38124
  emptyStateText: z.string()
37249
38125
  });
37250
38126
  const giftingHydrationSchema = z.object({
38127
+ siteTerms: blockSiteTermsSchema.optional(),
37251
38128
  offers: publicGiftingOffersResponseSchema.nullable(),
37252
38129
  checkoutButtonText: z.string(),
37253
38130
  successMessage: z.string()
@@ -37281,6 +38158,7 @@ const giftingBlockRuntime = defineClientOwnedBlockRuntime({
37281
38158
  buildRender: (source) => ({
37282
38159
  display: buildGiftingDisplay(source),
37283
38160
  hydration: {
38161
+ siteTerms: source.siteTerms,
37284
38162
  offers: source.offers ?? null,
37285
38163
  checkoutButtonText: source.checkoutButtonText?.trim() || "Continue",
37286
38164
  successMessage: source.successMessage?.trim() || "Thanks. Your purchase is complete and your gift will be sent shortly."
@@ -37418,7 +38296,10 @@ const giftingBlockDefinition = {
37418
38296
  dataSchemas: { offers: publicGiftingOffersResponseSchema.optional() },
37419
38297
  dataLoaders: { offers: {
37420
38298
  endpoint: "listPublicGiftingOffers",
37421
- params: { siteId: { $bind: { from: "$root.siteId" } } },
38299
+ params: {
38300
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
38301
+ siteId: { $bind: { from: "$root.siteId" } }
38302
+ },
37422
38303
  mode: "server"
37423
38304
  } }
37424
38305
  };
@@ -37744,10 +38625,10 @@ const stackedLayout = styledSection({
37744
38625
  background: "surface"
37745
38626
  });
37746
38627
  const inlineLayout = styledSection({
37747
- children: props(lookSlot("layout"))(sectionContainer(stackedComposition.layout, {
38628
+ children: [when("content._lookSlots", { not: true })(sectionContainer(stackedComposition.layout, {
37748
38629
  gap: "md",
37749
38630
  className: "newsletter-inline"
37750
- })),
38631
+ })), when("content._lookSlots")(props(lookSlot("layout"))(sectionContainer([el("div", lookSlot("head"), newsletterCopyFragment.layout), el("div", lookSlot("panel"), newsletterFormFragment.layout)], { gap: "md" })))],
37751
38632
  baseClass: "",
37752
38633
  spacing: "medium",
37753
38634
  background: "surface"