@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
@@ -656,7 +656,7 @@ function parseUuidBrand(value, unsafeConstructor) {
656
656
  if (!UUID_PATTERN$1.test(normalized)) return err$1({ kind: "invalid_uuid" });
657
657
  return ok$1(unsafeConstructor(normalized));
658
658
  }
659
- var UUID_PATTERN$1, unsafeAsSiteId, unsafeAsApiKeyId, unsafeAsEventOfferingId, unsafeAsEventSeriesId, unsafeAsMediaAssetId, unsafeAsStorageBucketName, unsafeAsPositiveByteCount$1, unsafeAsPositiveSeconds, unsafeAsUserId, unsafeAsContentVersionId, parseSiteId, parseApiKeyId, parseEventOfferingId, parseUserId, parseMediaAssetId, parseContentVersionId, parseEventSeriesId;
659
+ var UUID_PATTERN$1, unsafeAsSiteId, unsafeAsApiKeyId, unsafeAsEventOfferingId, unsafeAsEventSeriesId, unsafeAsMediaAssetId, unsafeAsStorageBucketName, unsafeAsPositiveByteCount$1, unsafeAsPositiveSeconds, unsafeAsUserId, unsafeAsSiteTermsVersionId, unsafeAsContentVersionId, parseSiteId, parseApiKeyId, parseEventOfferingId, parseUserId, parseMediaAssetId, parseContentVersionId, parseSiteTermsVersionId, parseEventSeriesId;
660
660
  var init_branded = __esmMin((() => {
661
661
  init_result();
662
662
  UUID_PATTERN$1 = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -669,6 +669,7 @@ var init_branded = __esmMin((() => {
669
669
  unsafeAsPositiveByteCount$1 = (value) => value;
670
670
  unsafeAsPositiveSeconds = (value) => value;
671
671
  unsafeAsUserId = (id) => id;
672
+ unsafeAsSiteTermsVersionId = (id) => id;
672
673
  unsafeAsContentVersionId = (id) => id;
673
674
  parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
674
675
  parseApiKeyId = (value) => parseUuidBrand(value, unsafeAsApiKeyId);
@@ -676,6 +677,7 @@ var init_branded = __esmMin((() => {
676
677
  parseUserId = (value) => parseUuidBrand(value, unsafeAsUserId);
677
678
  parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
678
679
  parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
680
+ parseSiteTermsVersionId = (value) => parseUuidBrand(value, unsafeAsSiteTermsVersionId);
679
681
  parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
680
682
  }));
681
683
  //#endregion
@@ -993,7 +995,7 @@ function parseEventPageSurfaceDestinationMode(value) {
993
995
  return value === "cms-managed" || value === "system-managed" ? value : void 0;
994
996
  }
995
997
  function parseEventPageSurfaceSubject(value) {
996
- if (!isRecord$16(value)) return err$1({ kind: "notObject" });
998
+ if (!isRecord$17(value)) return err$1({ kind: "notObject" });
997
999
  switch (value.kind) {
998
1000
  case "eventSeries": {
999
1001
  const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
@@ -1048,7 +1050,7 @@ function parseEventSeriesIdList(values) {
1048
1050
  }
1049
1051
  return ok$1(parsed);
1050
1052
  }
1051
- function isRecord$16(value) {
1053
+ function isRecord$17(value) {
1052
1054
  return typeof value === "object" && value !== null && !Array.isArray(value);
1053
1055
  }
1054
1056
  var init_event_page_surface_subject = __esmMin((() => {
@@ -1100,14 +1102,23 @@ var init_booking_payment_options = __esmMin((() => {
1100
1102
  var init_appointment_booking_terms = __esmMin((() => {}));
1101
1103
  //#endregion
1102
1104
  //#region ../core/src/date-time-formatter.ts
1105
+ /** Intl's boolean clock option can select h11/h24 on other ICU builds. */
1106
+ function resolveClockCycle(format) {
1107
+ const { hour12, ...explicitFormat } = format;
1108
+ return hour12 === void 0 ? explicitFormat : {
1109
+ ...explicitFormat,
1110
+ hourCycle: hour12 ? "h12" : "h23"
1111
+ };
1112
+ }
1103
1113
  function getDateTimeFormatter(locale, timeZone, format) {
1104
- const key = `${locale}\u0000${timeZone}\u0000${JSON.stringify(Object.entries(format).sort(([left], [right]) => left.localeCompare(right)))}`;
1114
+ const explicitFormat = resolveClockCycle(format);
1115
+ const key = `${locale}\u0000${timeZone}\u0000${JSON.stringify(Object.entries(explicitFormat).sort(([left], [right]) => left.localeCompare(right)))}`;
1105
1116
  const cached = dateTimeFormatterCache.get(key);
1106
1117
  if (cached !== void 0) return cached;
1107
1118
  if (typeof locale !== "string" || Intl.DateTimeFormat.supportedLocalesOf([locale]).length === 0) throw new RangeError("An explicit supported locale is required");
1108
1119
  if (typeof timeZone !== "string" || timeZone.length === 0) throw new RangeError("An explicit time zone is required");
1109
1120
  const formatter = new Intl.DateTimeFormat(locale, {
1110
- ...format,
1121
+ ...explicitFormat,
1111
1122
  timeZone
1112
1123
  });
1113
1124
  if (dateTimeFormatterCache.size >= FORMATTER_CACHE_LIMIT) dateTimeFormatterCache.clear();
@@ -1178,7 +1189,7 @@ function getZonedDateTimeParts(date, timeZone) {
1178
1189
  hour: "2-digit",
1179
1190
  minute: "2-digit",
1180
1191
  second: "2-digit",
1181
- hour12: false
1192
+ hourCycle: "h23"
1182
1193
  });
1183
1194
  const read = (type) => Number(parts.get(type) ?? "");
1184
1195
  return {
@@ -1203,6 +1214,9 @@ function resolveBookingTimeZoneId(...candidates) {
1203
1214
  }
1204
1215
  return FALLBACK_TIMEZONE;
1205
1216
  }
1217
+ function resolveBookingBusinessTimeZone(value) {
1218
+ return resolveBookingTimeZoneId(value, DEFAULT_BOOKING_BUSINESS_TIME_ZONE);
1219
+ }
1206
1220
  function parseUtcIsoDateTimeString(value) {
1207
1221
  const normalized = value.trim();
1208
1222
  const hasUtcSuffix = normalized.endsWith("Z");
@@ -1273,7 +1287,7 @@ function formatBookingDate(input, format = {
1273
1287
  function formatBookingTime(input, format = {
1274
1288
  hour: "numeric",
1275
1289
  minute: "2-digit",
1276
- hour12: true
1290
+ hourCycle: "h12"
1277
1291
  }) {
1278
1292
  return formatBookingInstant(input.startsAt, {
1279
1293
  locale: input.locale,
@@ -1380,7 +1394,7 @@ function localScheduleDateTimeToUtcDate(localDate, localTime, timeZone) {
1380
1394
  }
1381
1395
  return new Date(guess);
1382
1396
  }
1383
- var DEFAULT_LOCALE, FALLBACK_TIMEZONE, START_OF_DAY, LOCAL_DATE_PATTERN;
1397
+ var DEFAULT_LOCALE, FALLBACK_TIMEZONE, START_OF_DAY, LOCAL_DATE_PATTERN, DEFAULT_BOOKING_BUSINESS_TIME_ZONE;
1384
1398
  var init_booking_date_time = __esmMin((() => {
1385
1399
  init_date_time_formatter();
1386
1400
  init_result();
@@ -1393,6 +1407,7 @@ var init_booking_date_time = __esmMin((() => {
1393
1407
  second: 0
1394
1408
  };
1395
1409
  LOCAL_DATE_PATTERN = /^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})$/u;
1410
+ DEFAULT_BOOKING_BUSINESS_TIME_ZONE = "Europe/London";
1396
1411
  }));
1397
1412
  //#endregion
1398
1413
  //#region ../core/src/date-display.ts
@@ -1413,6 +1428,9 @@ var init_scheduled_date_time = __esmMin((() => {}));
1413
1428
  //#region ../core/src/booking-consent.ts
1414
1429
  var init_booking_consent = __esmMin((() => {}));
1415
1430
  //#endregion
1431
+ //#region ../core/src/site-terms.ts
1432
+ var init_site_terms = __esmMin((() => {}));
1433
+ //#endregion
1416
1434
  //#region ../core/src/appointment-service-categories.ts
1417
1435
  var init_appointment_service_categories = __esmMin((() => {}));
1418
1436
  //#endregion
@@ -1503,7 +1521,39 @@ var init_public_profile = __esmMin((() => {}));
1503
1521
  var init_public_experience = __esmMin((() => {}));
1504
1522
  //#endregion
1505
1523
  //#region ../core/src/rich-text.ts
1506
- var init_rich_text = __esmMin((() => {}));
1524
+ function isRecord$16(value) {
1525
+ return typeof value === "object" && value !== null && !Array.isArray(value);
1526
+ }
1527
+ function hasOnlyKeys(value, allowed) {
1528
+ return Object.keys(value).every((key) => allowed.has(key));
1529
+ }
1530
+ function isDenseArrayOf(value, predicate) {
1531
+ for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
1532
+ return true;
1533
+ }
1534
+ function isTipTapMark(value) {
1535
+ return isRecord$16(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$16(value.attrs));
1536
+ }
1537
+ function isTipTapNode(value) {
1538
+ if (!isRecord$16(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$16(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
1539
+ if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
1540
+ return value.text === void 0;
1541
+ }
1542
+ function isCanonicalRichTextDoc(value) {
1543
+ return isRecord$16(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
1544
+ }
1545
+ var rootKeys, nodeKeys, markKeys;
1546
+ var init_rich_text = __esmMin((() => {
1547
+ rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
1548
+ nodeKeys = /* @__PURE__ */ new Set([
1549
+ "type",
1550
+ "content",
1551
+ "text",
1552
+ "attrs",
1553
+ "marks"
1554
+ ]);
1555
+ markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
1556
+ }));
1507
1557
  //#endregion
1508
1558
  //#region ../core/src/footer-composition.ts
1509
1559
  var init_footer_composition = __esmMin((() => {}));
@@ -2663,6 +2713,7 @@ var init_src$4 = __esmMin((() => {
2663
2713
  init_date_display();
2664
2714
  init_scheduled_date_time();
2665
2715
  init_booking_consent();
2716
+ init_site_terms();
2666
2717
  init_appointment_service_categories();
2667
2718
  init_dated_offering_settlement();
2668
2719
  init_person_records();
@@ -3776,6 +3827,7 @@ var init_schemas = __esmMin((() => {
3776
3827
  cutoffHours: z.number(),
3777
3828
  method: z.enum(["original_payment_method", "site_credit"])
3778
3829
  }) }),
3830
+ asksSiteTerms: z.boolean(),
3779
3831
  consent: blockBookingConsentSchema.nullable(),
3780
3832
  accessRestriction: accessRestrictionSchema,
3781
3833
  allowedCategoryIds: z.array(z.string()),
@@ -6175,6 +6227,7 @@ var init_eventManagementEndpointDefinitions = __esmMin((() => {
6175
6227
  "validation:invalid_input",
6176
6228
  "resource:not_found",
6177
6229
  "resource:already_exists",
6230
+ "resource:conflict",
6178
6231
  "server:internal_error"
6179
6232
  ]
6180
6233
  },
@@ -7142,6 +7195,8 @@ var init_envelope = __esmMin((() => {
7142
7195
  "auth:impersonation_restricted",
7143
7196
  "auth:lease_required",
7144
7197
  "auth:lease_lost",
7198
+ "site_terms_changed",
7199
+ "site_terms_agreement_missing",
7145
7200
  "validation:invalid_input",
7146
7201
  "validation:missing_field",
7147
7202
  "validation:invalid_format",
@@ -11659,6 +11714,15 @@ var init_schema$4 = __esmMin((() => {
11659
11714
  });
11660
11715
  typographySchema = z.object({
11661
11716
  body: bodyTypographyStyleSchema,
11717
+ smallHeading: z.object({
11718
+ family: z.string().min(1),
11719
+ weight: z.enum([
11720
+ "regular",
11721
+ "medium",
11722
+ "semibold",
11723
+ "bold"
11724
+ ])
11725
+ }).optional(),
11662
11726
  headings: z.object({
11663
11727
  default: headingTypographyStyleSchema,
11664
11728
  h1: headingTypographyOverridesSchema,
@@ -13729,6 +13793,7 @@ function canonicalHoverToken(reference, palette) {
13729
13793
  }
13730
13794
  return canonicalToken(reference, palette);
13731
13795
  }
13796
+ /** Keep a candidate only when it meets ordinary-text contrast on the ground. */
13732
13797
  function safeTokenOr(candidate, fallback, backgroundHex, palette) {
13733
13798
  return firstSafeToken([candidate], backgroundHex, palette) ?? fallback;
13734
13799
  }
@@ -15630,7 +15695,11 @@ var init_selection = __esmMin((() => {
15630
15695
  "hairline-tab",
15631
15696
  "marquee"
15632
15697
  ];
15633
- quietArrowParametersSchema = z.object({ secondaryTreatment: z.enum(["outlined", "solid-accent"]) }).strict();
15698
+ quietArrowParametersSchema = z.object({
15699
+ secondaryTreatment: z.enum(["outlined", "solid-accent"]),
15700
+ size: z.enum(["comfortable"]).optional(),
15701
+ hoverTreatment: z.enum(["deep-and-sheet"]).optional()
15702
+ }).strict();
15634
15703
  FLAT_INK_HOVER_TREATMENT_VALUES = [
15635
15704
  "contextual",
15636
15705
  "secondary",
@@ -15669,6 +15738,63 @@ var init_selection = __esmMin((() => {
15669
15738
  }));
15670
15739
  //#endregion
15671
15740
  //#region ../theme-core/src/buttons/styles/recipes/quietArrow.ts
15741
+ /** Selection-owned sizing leaves historical recipe output unchanged when absent. */
15742
+ function sizedQuietArrowRoles(roles, size) {
15743
+ if (size === void 0) return roles;
15744
+ return mapButtonRoleAppearances(roles, (appearance) => ({
15745
+ ...appearance,
15746
+ states: mapButtonVisualAppearances(appearance.states, (state) => ({
15747
+ ...state,
15748
+ sizes: {
15749
+ sm: {
15750
+ padding: "0.875rem 1.125rem",
15751
+ fontSize: "text-xs"
15752
+ },
15753
+ md: {
15754
+ padding: "0.75rem 1.375rem",
15755
+ fontSize: "text-sm"
15756
+ },
15757
+ lg: {
15758
+ padding: "0.875rem 1.75rem",
15759
+ fontSize: "text-sm"
15760
+ },
15761
+ xl: {
15762
+ padding: "1rem 2rem",
15763
+ fontSize: "text-base"
15764
+ }
15765
+ }
15766
+ }))
15767
+ }));
15768
+ }
15769
+ /** Forward sheet interaction is explicit selection data; absent preserves the captured recipe. */
15770
+ function quietArrowHoverRoles(roles, treatment) {
15771
+ if (treatment === void 0) return roles;
15772
+ const hover = (role, colour) => ({
15773
+ ...roles[role],
15774
+ states: {
15775
+ ...roles[role].states,
15776
+ hover: {
15777
+ ...roles[role].states.hover,
15778
+ background: {
15779
+ type: "solid",
15780
+ colorToken: unsafeAsOpaqueButtonColourToken(colour)
15781
+ },
15782
+ text: "treatment",
15783
+ effects: [],
15784
+ ...role === "secondary" ? { border: {
15785
+ widthClass: "border",
15786
+ marksBoundary: true,
15787
+ boundaryInk: unsafeAsOpaqueButtonColourToken("text")
15788
+ } } : {}
15789
+ }
15790
+ }
15791
+ });
15792
+ return {
15793
+ ...roles,
15794
+ primary: hover("primary", "primary-800"),
15795
+ secondary: hover("secondary", "surface")
15796
+ };
15797
+ }
15672
15798
  var quietArrowSizes, quietArrowTypography, quietArrowSizes1, solidAccentSecondarySizes, solidAccentSecondaryTypography, defaultParameters$1, quietArrowVisual, quietArrowVisual1, quietArrowVisual2, quietArrowVisual3, quietArrowVisual4, quietArrowVisual5, quietArrowState0, quietArrowState1, quietArrowState2, quietArrowState3, quietArrowState4, quietArrowState5, quietArrowSystem, solidAccentSecondaryVisual, solidAccentSecondaryState0, solidAccentSecondary, quietArrowRecipe;
15673
15799
  var init_quietArrow = __esmMin((() => {
15674
15800
  init_domain$1();
@@ -16112,10 +16238,10 @@ var init_quietArrow = __esmMin((() => {
16112
16238
  label: "Solid accent"
16113
16239
  }]
16114
16240
  }],
16115
- defineSystem: (parameters) => ({ roles: {
16241
+ defineSystem: (parameters) => ({ roles: quietArrowHoverRoles(sizedQuietArrowRoles({
16116
16242
  ...quietArrowSystem.roles,
16117
16243
  secondary: parameters.secondaryTreatment === "solid-accent" ? solidAccentSecondary : quietArrowSystem.roles.secondary
16118
- } })
16244
+ }, parameters.size), parameters.hoverTreatment) })
16119
16245
  });
16120
16246
  }));
16121
16247
  //#endregion
@@ -19854,7 +19980,11 @@ function resolveSurface(spec, context) {
19854
19980
  token: spec.token
19855
19981
  }, {
19856
19982
  ...context,
19857
- buttonContext: spec.buttonContext ?? context.buttonContext
19983
+ buttonContext: spec.buttonContext ?? context.buttonContext,
19984
+ ...spec.foreground ? { foreground: {
19985
+ ...context.foreground,
19986
+ ...spec.foreground
19987
+ } } : {}
19858
19988
  });
19859
19989
  case "tint": return resolveTintSurface(spec, context);
19860
19990
  }
@@ -20994,6 +21124,7 @@ var init_containerSchema = __esmMin((() => {
20994
21124
  "lg"
20995
21125
  ]).default("md"),
20996
21126
  tint: z.string().nullable().optional(),
21127
+ mobileSheet: z.literal("inset").optional(),
20997
21128
  opacity: z.number().min(0).max(1).default(.12)
20998
21129
  }).optional();
20999
21130
  }));
@@ -21782,8 +21913,12 @@ var init_appearancePresetTypes = __esmMin((() => {
21782
21913
  lookKnobBlocks = {
21783
21914
  actionStyle: cardListKnobBlocks,
21784
21915
  titleSize: "block.hero",
21785
- imagePosition: ["block.hero", "block.media-text"],
21786
- imageShape: "block.media-text",
21916
+ imagePosition: [
21917
+ "block.hero",
21918
+ "block.intro",
21919
+ "block.media-text"
21920
+ ],
21921
+ imageShape: ["block.intro", "block.media-text"],
21787
21922
  aspectRatio: "block.media-text",
21788
21923
  stickerLine: "block.hero",
21789
21924
  smallCaption: "block.hero",
@@ -21803,6 +21938,7 @@ var init_appearancePresetTypes = __esmMin((() => {
21803
21938
  };
21804
21939
  arrangementLookTargets = {
21805
21940
  hero: "hero",
21941
+ intro: "intro",
21806
21942
  "feature-cards": "feature-cards",
21807
21943
  "event-calendar": "events",
21808
21944
  testimonials: "testimonials",
@@ -22674,14 +22810,20 @@ var init_blockAppearancePresets = __esmMin((() => {
22674
22810
  }
22675
22811
  }),
22676
22812
  defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []),
22677
- defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], { slotRoles: { panel: "card" } }),
22678
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", []),
22813
+ defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], {
22814
+ slotRoles: { panel: "card" },
22815
+ styleFallback: [id$1("form-below-introduction")]
22816
+ }),
22817
+ defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
22679
22818
  defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", []),
22680
22819
  defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
22681
- defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], { forcedKnobs: {
22682
- imageShape: "circle",
22683
- aspectRatio: "1/1"
22684
- } }),
22820
+ defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
22821
+ forcedKnobs: {
22822
+ imageShape: "circle",
22823
+ aspectRatio: "1/1"
22824
+ },
22825
+ styleFallback: [id$1("media-text-photo-beside-text")]
22826
+ }),
22685
22827
  defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, { slotRoles: { sticker: "highlight" } }),
22686
22828
  defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
22687
22829
  slotRoles: { sticker: "highlight" },
@@ -22702,6 +22844,15 @@ var init_blockAppearancePresets = __esmMin((() => {
22702
22844
  "text",
22703
22845
  "action"
22704
22846
  ], ["showPhotos", "cardMarker"], { itemRoles: { items: "card" } }),
22847
+ defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
22848
+ "media",
22849
+ "title",
22850
+ "text",
22851
+ "action"
22852
+ ], ["showPhotos", "cardMarker"], {
22853
+ itemRoles: { items: "card" },
22854
+ styleFallback: [id$1("feature-cards-cards")]
22855
+ }),
22705
22856
  defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
22706
22857
  "media",
22707
22858
  "title",
@@ -22812,6 +22963,52 @@ var init_blockAppearancePresets = __esmMin((() => {
22812
22963
  defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
22813
22964
  slotRoles: { panel: "card" },
22814
22965
  styleFallback: [id$1("event-details-header")]
22966
+ }),
22967
+ defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], { styleFallback: [id$1("intro-photo-beside-text")] }),
22968
+ defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], { whenMissing: [{
22969
+ fact: "photo",
22970
+ look: id$1("intro-statement-beside-text")
22971
+ }] }),
22972
+ defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"]),
22973
+ defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
22974
+ slotRoles: { panel: "card" },
22975
+ styleFallback: [id$1("newsletter-signup-text-beside")]
22976
+ }),
22977
+ defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
22978
+ slotRoles: { panel: "card" },
22979
+ styleFallback: [id$1("newsletter-signup-in-arch")]
22980
+ }),
22981
+ defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
22982
+ slotRoles: { panel: "card" },
22983
+ styleFallback: [id$1("form-beside-introduction-arched-panel")]
22984
+ }),
22985
+ defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
22986
+ "media",
22987
+ "title",
22988
+ "text",
22989
+ "action"
22990
+ ], ["showPhotos"], {
22991
+ itemRoles: { items: "card" },
22992
+ slotRoles: { date: "highlight" },
22993
+ knobDefaults: {
22994
+ actionStyle: "button",
22995
+ dates: "summary"
22996
+ },
22997
+ styleFallback: [id$1("card-list-plates"), id$1("feature-cards-cards")]
22998
+ }),
22999
+ defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
23000
+ "media",
23001
+ "title",
23002
+ "text",
23003
+ "action"
23004
+ ], ["showPhotos"], {
23005
+ itemRoles: { items: "card" },
23006
+ slotRoles: { date: "highlight" },
23007
+ knobDefaults: {
23008
+ actionStyle: "button",
23009
+ dates: "summary"
23010
+ },
23011
+ styleFallback: [id$1("feature-cards-cards")]
22815
23012
  })
22816
23013
  ];
22817
23014
  }));
@@ -23544,6 +23741,9 @@ var init_lookResolution = __esmMin((() => {
23544
23741
  "social",
23545
23742
  "base",
23546
23743
  "section",
23744
+ "background",
23745
+ "schedule-section",
23746
+ "shop-section",
23547
23747
  "stack",
23548
23748
  "inline",
23549
23749
  "grid",
@@ -24632,7 +24832,7 @@ function defaultTypographyForRecipe(recipe) {
24632
24832
  case "classic-serif": return classicSerifTypography;
24633
24833
  }
24634
24834
  }
24635
- var modernSansTypography, warmRoundedTypography, editorialSerifTypography, classicSerifTypography, groundedSerifTypography, kirtanOrnateTypography, boldDisplayTypography, originalJoyTypography, fulcrumTypography, posterTypography, lanternTypography, measureTypography, kirtanOrnateHeroTypography, boldDisplayHeroTypography, originalJoyHeroTypography, groundedSerifHeroTypography;
24835
+ var modernSansTypography, warmRoundedTypography, editorialSerifTypography, classicSerifTypography, groundedSerifTypography, folioTypography, kirtanOrnateTypography, boldDisplayTypography, originalJoyTypography, fulcrumTypography, posterTypography, lanternTypography, measureTypography, kirtanOrnateHeroTypography, boldDisplayHeroTypography, originalJoyHeroTypography, groundedSerifHeroTypography;
24636
24836
  var init_siteStyleTypography = __esmMin((() => {
24637
24837
  modernSansTypography = {
24638
24838
  body: {
@@ -24839,6 +25039,35 @@ var init_siteStyleTypography = __esmMin((() => {
24839
25039
  },
24840
25040
  scale: "balanced"
24841
25041
  };
25042
+ folioTypography = {
25043
+ ...groundedSerifTypography,
25044
+ body: {
25045
+ ...groundedSerifTypography.body,
25046
+ family: "Open Sans, system-ui, sans-serif",
25047
+ size: "lg"
25048
+ },
25049
+ smallHeading: {
25050
+ family: "Open Sans, system-ui, sans-serif",
25051
+ weight: "semibold"
25052
+ },
25053
+ headings: {
25054
+ ...groundedSerifTypography.headings,
25055
+ h1: {
25056
+ ...groundedSerifTypography.headings.h1,
25057
+ lineHeight: "tight",
25058
+ letterSpacing: "tight"
25059
+ },
25060
+ h2: {
25061
+ ...groundedSerifTypography.headings.h2,
25062
+ lineHeight: "tight",
25063
+ letterSpacing: "tight"
25064
+ },
25065
+ h3: {
25066
+ ...groundedSerifTypography.headings.h3,
25067
+ lineHeight: "tight"
25068
+ }
25069
+ }
25070
+ };
24842
25071
  kirtanOrnateTypography = {
24843
25072
  body: {
24844
25073
  family: "Jost, system-ui, sans-serif",
@@ -25715,6 +25944,7 @@ function defineCuratedSiteStyle(input) {
25715
25944
  recommendedAppearancePresetIds
25716
25945
  },
25717
25946
  headerCuration: headerCurationBySiteStyle[input.id],
25947
+ headerStyleRecipes: input.headerStyleRecipes,
25718
25948
  footerLookRecipes: input.footerLookRecipes,
25719
25949
  recommendedFooterLookIds: (input.recommendedFooterLookIds ?? []).map(asFooterLookId),
25720
25950
  buttonStyleChoices: input.buttonStyleChoices,
@@ -25752,7 +25982,7 @@ function curatedStyleTemplate(input) {
25752
25982
  supportedTransitions: generatedDesignOptionCatalog.transitions
25753
25983
  };
25754
25984
  }
25755
- var SOFT_EARTH_SITE_STYLE_ID_VALUE, curatedSiteStyleIdValues, quietBudget, accentLedQuietBudget, balancedBudget, expressiveBudget, kirtanOrnateDesignRuntimeRules, expressiveUnderlineInputs, ornateDarkInputs, generatedContentFrameKinds, headerCurationBySiteStyle, id, quieterOrStandard, fulcrumRoles, fulcrumLooks, posterRoles, posterOffers, posterLooks, lanternRoles, lanternVeilRoles, lanternLooks, measureRoles, measureRuledPanelRoles, measureNoMarkers, measureLooks, curatedSiteStyles;
25985
+ var SOFT_EARTH_SITE_STYLE_ID_VALUE, curatedSiteStyleIdValues, quietBudget, accentLedQuietBudget, balancedBudget, expressiveBudget, kirtanOrnateDesignRuntimeRules, expressiveUnderlineInputs, ornateDarkInputs, generatedContentFrameKinds, headerCurationBySiteStyle, id, quieterOrStandard, folioRoles, folioLinks, folioLooks, fulcrumRoles, fulcrumLooks, posterRoles, posterOffers, posterLooks, lanternRoles, lanternVeilRoles, lanternLooks, measureRoles, measureRuledPanelRoles, measureNoMarkers, measureLooks, curatedSiteStyles;
25756
25986
  var init_curatedSiteStyles = __esmMin((() => {
25757
25987
  init_footerLookDefaults();
25758
25988
  init_footerLookRecipe();
@@ -25782,7 +26012,8 @@ var init_curatedSiteStyles = __esmMin((() => {
25782
26012
  "site-style:grounded-practice",
25783
26013
  "site-style:poster",
25784
26014
  "site-style:lantern",
25785
- "site-style:measure"
26015
+ "site-style:measure",
26016
+ "site-style:folio"
25786
26017
  ];
25787
26018
  quietBudget = {
25788
26019
  accentDensity: "low",
@@ -26067,6 +26298,30 @@ var init_curatedSiteStyles = __esmMin((() => {
26067
26298
  "fine-line"
26068
26299
  ]
26069
26300
  }]),
26301
+ "site-style:folio": defineHeaderCuration([
26302
+ {
26303
+ layoutId: "floating",
26304
+ styleIds: ["minimal-surface", "glass"]
26305
+ },
26306
+ {
26307
+ layoutId: "classic",
26308
+ styleIds: [
26309
+ "minimal",
26310
+ "serif-line",
26311
+ "fine-line",
26312
+ "soft-bar"
26313
+ ]
26314
+ },
26315
+ {
26316
+ layoutId: "centered",
26317
+ styleIds: [
26318
+ "serif-line",
26319
+ "fine-line",
26320
+ "minimal",
26321
+ "soft-bar"
26322
+ ]
26323
+ }
26324
+ ]),
26070
26325
  "site-style:measure": defineHeaderCuration([{
26071
26326
  layoutId: "classic",
26072
26327
  styleIds: ["fine-line", "minimal"]
@@ -26074,6 +26329,233 @@ var init_curatedSiteStyles = __esmMin((() => {
26074
26329
  };
26075
26330
  id = asAppearancePresetId;
26076
26331
  quieterOrStandard = { titleSize: ["quiet", "auto"] };
26332
+ folioRoles = {
26333
+ card: "sheet",
26334
+ statement: {
26335
+ default: "band",
26336
+ band: "sheet"
26337
+ },
26338
+ highlight: "band"
26339
+ };
26340
+ folioLinks = { link: "primary" };
26341
+ folioLooks = {
26342
+ kind: "offers",
26343
+ skin: "folio",
26344
+ skinTokens: {
26345
+ radius: "10px",
26346
+ rule: "1px",
26347
+ "mark-length": "44px",
26348
+ "mark-weight": "2px",
26349
+ gutter: "32px",
26350
+ "copy-gap": "1.25rem",
26351
+ "stack-gap": "2.5rem"
26352
+ },
26353
+ fontLoading: {
26354
+ extraHeadingFontWeights: [600],
26355
+ italicHeadingFontWeights: [500]
26356
+ },
26357
+ surfaces: {
26358
+ base: {
26359
+ kind: "token",
26360
+ token: "background",
26361
+ foreground: folioLinks
26362
+ },
26363
+ sheet: {
26364
+ kind: "token",
26365
+ token: "surface",
26366
+ roleOnly: true,
26367
+ foreground: folioLinks
26368
+ },
26369
+ band: {
26370
+ kind: "token",
26371
+ token: "muted",
26372
+ foreground: folioLinks
26373
+ },
26374
+ brand: {
26375
+ kind: "token",
26376
+ token: "primary",
26377
+ foreground: folioLinks
26378
+ },
26379
+ deep: {
26380
+ kind: "token",
26381
+ token: "primary-800",
26382
+ foreground: folioLinks
26383
+ }
26384
+ },
26385
+ rhythm: {
26386
+ "flow:quiet": [
26387
+ "base",
26388
+ "base",
26389
+ "band",
26390
+ "base",
26391
+ "band",
26392
+ "base"
26393
+ ],
26394
+ "flow:balanced": [
26395
+ "base",
26396
+ "band",
26397
+ "base",
26398
+ "deep",
26399
+ "base",
26400
+ "band"
26401
+ ],
26402
+ "flow:expressive": [
26403
+ "base",
26404
+ "band",
26405
+ "deep",
26406
+ "base",
26407
+ "band",
26408
+ "brand"
26409
+ ]
26410
+ },
26411
+ offers: [
26412
+ {
26413
+ id: id("hero-photo-beside-text"),
26414
+ treatment: "hero-framed",
26415
+ knobValues: quieterOrStandard,
26416
+ roleMap: folioRoles
26417
+ },
26418
+ {
26419
+ id: id("hero-photo-behind-text"),
26420
+ treatment: "hero-panel",
26421
+ knobValues: quieterOrStandard,
26422
+ roleMap: folioRoles
26423
+ },
26424
+ {
26425
+ id: id("hero-page-head"),
26426
+ treatment: "hero-ruled",
26427
+ knobValues: quieterOrStandard,
26428
+ roleMap: folioRoles
26429
+ },
26430
+ {
26431
+ id: id("intro-photo-beside-text"),
26432
+ treatment: "intro-keyline",
26433
+ roleMap: folioRoles
26434
+ },
26435
+ {
26436
+ id: id("intro-statement-beside-text"),
26437
+ treatment: "intro-ruled-split",
26438
+ roleMap: folioRoles
26439
+ },
26440
+ {
26441
+ id: id("media-text-photo-beside-text"),
26442
+ treatment: "media-mount",
26443
+ roleMap: folioRoles
26444
+ },
26445
+ {
26446
+ id: id("media-text-circle-beside-text"),
26447
+ treatment: "media-circle",
26448
+ roleMap: folioRoles
26449
+ },
26450
+ {
26451
+ id: id("feature-cards-cards"),
26452
+ treatment: "cards-sheet",
26453
+ roleMap: folioRoles
26454
+ },
26455
+ {
26456
+ id: id("feature-cards-open-columns"),
26457
+ treatment: "cards-open",
26458
+ roleMap: folioRoles
26459
+ },
26460
+ {
26461
+ id: id("feature-cards-index"),
26462
+ treatment: "cards-register",
26463
+ roleMap: folioRoles
26464
+ },
26465
+ {
26466
+ id: id("body-text-reading-column"),
26467
+ treatment: "body-reading",
26468
+ roleMap: folioRoles
26469
+ },
26470
+ {
26471
+ id: id("event-calendar-ruled-rows"),
26472
+ treatment: "calendar-card",
26473
+ itemRoles: { container: "card" },
26474
+ surfaceTints: { date: {
26475
+ source: "text",
26476
+ opacity: 8
26477
+ } },
26478
+ roleMap: folioRoles
26479
+ },
26480
+ {
26481
+ id: id("event-calendar-session-cards"),
26482
+ treatment: "calendar-sheets",
26483
+ roleMap: folioRoles
26484
+ },
26485
+ {
26486
+ id: id("event-calendar-next-three"),
26487
+ treatment: "calendar-compact",
26488
+ roleMap: folioRoles
26489
+ },
26490
+ {
26491
+ id: id("event-calendar-month-grid"),
26492
+ treatment: "calendar-month",
26493
+ roleMap: folioRoles
26494
+ },
26495
+ {
26496
+ id: id("event-details-panel"),
26497
+ treatment: "details-sheet",
26498
+ roleMap: {
26499
+ ...folioRoles,
26500
+ card: "section"
26501
+ }
26502
+ },
26503
+ {
26504
+ id: id("event-details-header"),
26505
+ treatment: "details-ruled",
26506
+ roleMap: folioRoles
26507
+ },
26508
+ {
26509
+ id: id("newsletter-signup-text-beside"),
26510
+ treatment: "signup-sheet",
26511
+ roleMap: {
26512
+ ...folioRoles,
26513
+ card: "section"
26514
+ }
26515
+ },
26516
+ {
26517
+ id: id("newsletter-signup-one-row"),
26518
+ treatment: "signup-row",
26519
+ roleMap: {
26520
+ ...folioRoles,
26521
+ card: "section"
26522
+ }
26523
+ },
26524
+ {
26525
+ id: id("form-below-introduction"),
26526
+ treatment: "form-sheet-below",
26527
+ roleMap: {
26528
+ ...folioRoles,
26529
+ card: "section"
26530
+ }
26531
+ },
26532
+ {
26533
+ id: id("testimonials-lead-quote"),
26534
+ treatment: "quote-lead",
26535
+ roleMap: folioRoles
26536
+ },
26537
+ {
26538
+ id: id("testimonials-quote-cards"),
26539
+ treatment: "quote-sheets",
26540
+ roleMap: folioRoles
26541
+ },
26542
+ {
26543
+ id: id("card-list-accent-edged-cards"),
26544
+ treatment: "cards-accent-edged",
26545
+ roleMap: folioRoles
26546
+ },
26547
+ {
26548
+ id: id("card-list-wide-slides"),
26549
+ treatment: "carousel-wide-sheet",
26550
+ roleMap: folioRoles
26551
+ },
26552
+ {
26553
+ id: id("card-list-scroll-row"),
26554
+ treatment: "carousel-row-sheet",
26555
+ roleMap: folioRoles
26556
+ }
26557
+ ]
26558
+ };
26077
26559
  fulcrumRoles = {
26078
26560
  card: "sheet",
26079
26561
  statement: {
@@ -26280,6 +26762,55 @@ var init_curatedSiteStyles = __esmMin((() => {
26280
26762
  id: id("testimonials-scroll-row"),
26281
26763
  treatment: "cards",
26282
26764
  roleMap: fulcrumRoles
26765
+ },
26766
+ {
26767
+ id: id("intro-photo-beside-text"),
26768
+ treatment: "intro-plate",
26769
+ roleMap: fulcrumRoles
26770
+ },
26771
+ {
26772
+ id: id("intro-statement-beside-text"),
26773
+ treatment: "lintel",
26774
+ roleMap: fulcrumRoles
26775
+ },
26776
+ {
26777
+ id: id("media-text-photo-beside-text"),
26778
+ treatment: "beside-plate",
26779
+ roleMap: fulcrumRoles
26780
+ },
26781
+ {
26782
+ id: id("newsletter-signup-one-row"),
26783
+ treatment: "signup-strip",
26784
+ roleMap: {
26785
+ ...fulcrumRoles,
26786
+ card: "section"
26787
+ }
26788
+ },
26789
+ {
26790
+ id: id("newsletter-signup-text-beside"),
26791
+ treatment: "signup-beside-panel",
26792
+ roleMap: fulcrumRoles
26793
+ },
26794
+ {
26795
+ id: id("form-below-introduction"),
26796
+ treatment: "form-sheet",
26797
+ roleMap: fulcrumRoles
26798
+ },
26799
+ {
26800
+ id: id("card-list-wide-slides"),
26801
+ treatment: "carousel-wide-plate",
26802
+ roleMap: fulcrumRoles,
26803
+ knobValues: { actionStyle: ["link"] }
26804
+ },
26805
+ {
26806
+ id: id("card-list-scroll-row"),
26807
+ treatment: "carousel-row-cards",
26808
+ roleMap: fulcrumRoles
26809
+ },
26810
+ {
26811
+ id: id("card-list-accent-edged-cards"),
26812
+ treatment: "cards-accent-edged",
26813
+ roleMap: fulcrumRoles
26283
26814
  }
26284
26815
  ]
26285
26816
  };
@@ -26410,6 +26941,49 @@ var init_curatedSiteStyles = __esmMin((() => {
26410
26941
  id: id("testimonials-scroll-row"),
26411
26942
  treatment: "punchy",
26412
26943
  roleMap: posterRoles
26944
+ },
26945
+ {
26946
+ id: id("intro-photo-beside-text"),
26947
+ treatment: "ink-edge",
26948
+ roleMap: posterRoles
26949
+ },
26950
+ {
26951
+ id: id("intro-statement-beside-text"),
26952
+ treatment: "headline",
26953
+ roleMap: posterRoles
26954
+ },
26955
+ {
26956
+ id: id("media-text-photo-beside-text"),
26957
+ treatment: "beside-slab",
26958
+ roleMap: posterRoles
26959
+ },
26960
+ {
26961
+ id: id("newsletter-signup-one-row"),
26962
+ treatment: "signup-ticket",
26963
+ roleMap: posterRoles
26964
+ },
26965
+ {
26966
+ id: id("newsletter-signup-text-beside"),
26967
+ treatment: "signup-block",
26968
+ roleMap: {
26969
+ ...posterRoles,
26970
+ card: "pop"
26971
+ }
26972
+ },
26973
+ {
26974
+ id: id("form-below-introduction"),
26975
+ treatment: "form-heavy",
26976
+ roleMap: posterRoles
26977
+ },
26978
+ {
26979
+ id: id("card-list-wide-slides"),
26980
+ treatment: "carousel-wide-stamp",
26981
+ roleMap: posterRoles
26982
+ },
26983
+ {
26984
+ id: id("card-list-scroll-row"),
26985
+ treatment: "carousel-row-punchy",
26986
+ roleMap: posterRoles
26413
26987
  }
26414
26988
  ];
26415
26989
  posterLooks = {
@@ -26748,6 +27322,48 @@ var init_curatedSiteStyles = __esmMin((() => {
26748
27322
  treatment: "quote-arch",
26749
27323
  addKnobs: ["archFrame"],
26750
27324
  roleMap: lanternRoles
27325
+ },
27326
+ {
27327
+ id: id("testimonials-scroll-row"),
27328
+ treatment: "quote-row-cards",
27329
+ addKnobs: ["archFrame"],
27330
+ roleMap: lanternRoles
27331
+ },
27332
+ {
27333
+ id: id("intro-photo-beside-text"),
27334
+ treatment: "ringed",
27335
+ roleMap: lanternRoles
27336
+ },
27337
+ {
27338
+ id: id("intro-statement-beside-text"),
27339
+ treatment: "divided",
27340
+ roleMap: lanternRoles
27341
+ },
27342
+ {
27343
+ id: id("media-text-photo-beside-text"),
27344
+ treatment: "outlined",
27345
+ roleMap: lanternRoles
27346
+ },
27347
+ {
27348
+ id: id("newsletter-signup-text-beside"),
27349
+ treatment: "signup-beside-arch",
27350
+ addKnobs: ["archFrame"],
27351
+ roleMap: lanternRoles
27352
+ },
27353
+ {
27354
+ id: id("form-below-introduction"),
27355
+ treatment: "form-arch-below",
27356
+ roleMap: lanternRoles
27357
+ },
27358
+ {
27359
+ id: id("card-list-wide-slides"),
27360
+ treatment: "carousel-wide-arch",
27361
+ roleMap: lanternRoles
27362
+ },
27363
+ {
27364
+ id: id("card-list-scroll-row"),
27365
+ treatment: "carousel-row-cards",
27366
+ roleMap: lanternRoles
26751
27367
  }
26752
27368
  ]
26753
27369
  };
@@ -26933,6 +27549,51 @@ var init_curatedSiteStyles = __esmMin((() => {
26933
27549
  id: id("testimonials-one-at-a-time"),
26934
27550
  treatment: "counter",
26935
27551
  roleMap: measureRoles
27552
+ },
27553
+ {
27554
+ id: id("testimonials-scroll-row"),
27555
+ treatment: "quote-row-hairline",
27556
+ roleMap: measureRuledPanelRoles
27557
+ },
27558
+ {
27559
+ id: id("intro-photo-beside-text"),
27560
+ treatment: "rail-photo",
27561
+ roleMap: measureRoles
27562
+ },
27563
+ {
27564
+ id: id("intro-statement-beside-text"),
27565
+ treatment: "rule-split",
27566
+ roleMap: measureRoles
27567
+ },
27568
+ {
27569
+ id: id("media-text-photo-beside-text"),
27570
+ treatment: "beside-grid",
27571
+ roleMap: measureRoles
27572
+ },
27573
+ {
27574
+ id: id("newsletter-signup-one-row"),
27575
+ treatment: "signup-rail-row",
27576
+ roleMap: measureRuledPanelRoles
27577
+ },
27578
+ {
27579
+ id: id("newsletter-signup-text-beside"),
27580
+ treatment: "signup-split",
27581
+ roleMap: measureRoles
27582
+ },
27583
+ {
27584
+ id: id("form-below-introduction"),
27585
+ treatment: "form-rail",
27586
+ roleMap: measureRuledPanelRoles
27587
+ },
27588
+ {
27589
+ id: id("card-list-wide-slides"),
27590
+ treatment: "carousel-wide-sheet",
27591
+ roleMap: measureRoles
27592
+ },
27593
+ {
27594
+ id: id("card-list-scroll-row"),
27595
+ treatment: "carousel-row-sheets",
27596
+ roleMap: measureRoles
26936
27597
  }
26937
27598
  ]
26938
27599
  };
@@ -27396,7 +28057,10 @@ var init_curatedSiteStyles = __esmMin((() => {
27396
28057
  headingDecoration: noHeadingDecoration,
27397
28058
  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.",
27398
28059
  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.",
27399
- offering: { kind: "lab" },
28060
+ offering: {
28061
+ kind: "public",
28062
+ generation: { kind: "explicit_only" }
28063
+ },
27400
28064
  tokenRecipes: {
27401
28065
  palette: "brand-led",
27402
28066
  contrast: "standard",
@@ -27531,7 +28195,10 @@ var init_curatedSiteStyles = __esmMin((() => {
27531
28195
  headingDecoration: noHeadingDecoration,
27532
28196
  description: "Loud but controlled: huge condensed type, flat colour blocks, hard offset shadows on anything you can press, and one sticker for the news.",
27533
28197
  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.",
27534
- offering: { kind: "lab" },
28198
+ offering: {
28199
+ kind: "public",
28200
+ generation: { kind: "explicit_only" }
28201
+ },
27535
28202
  tokenRecipes: {
27536
28203
  palette: "brand-led",
27537
28204
  contrast: "strong",
@@ -27583,8 +28250,8 @@ var init_curatedSiteStyles = __esmMin((() => {
27583
28250
  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.",
27584
28251
  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.",
27585
28252
  offering: {
27586
- kind: "client",
27587
- siteSlugs: ["kirtan-lucy"]
28253
+ kind: "public",
28254
+ generation: { kind: "explicit_only" }
27588
28255
  },
27589
28256
  tokenRecipes: {
27590
28257
  palette: "brand-led",
@@ -27642,7 +28309,10 @@ var init_curatedSiteStyles = __esmMin((() => {
27642
28309
  headingDecoration: noHeadingDecoration,
27643
28310
  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.",
27644
28311
  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.",
27645
- offering: { kind: "lab" },
28312
+ offering: {
28313
+ kind: "public",
28314
+ generation: { kind: "explicit_only" }
28315
+ },
27646
28316
  tokenRecipes: {
27647
28317
  palette: "brand-led",
27648
28318
  contrast: "strong",
@@ -27671,6 +28341,104 @@ var init_curatedSiteStyles = __esmMin((() => {
27671
28341
  paletteRecommendation("measure-plaster"),
27672
28342
  paletteRecommendation("measure-night")
27673
28343
  ]
28344
+ }),
28345
+ defineCuratedSiteStyle({
28346
+ id: "site-style:folio",
28347
+ name: "Folio",
28348
+ offering: {
28349
+ kind: "public",
28350
+ generation: { kind: "explicit_only" }
28351
+ },
28352
+ 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.",
28353
+ generationBrief: "Use restrained serif headings, clear sans-serif body copy, natural photography, practical calls to action and concrete class and workshop details.",
28354
+ headingDecoration: noHeadingDecoration,
28355
+ tokenRecipes: {
28356
+ palette: "warm-neutral",
28357
+ contrast: "standard",
28358
+ radius: "soft",
28359
+ shadow: "none",
28360
+ typography: "classic-serif",
28361
+ spacing: "airy",
28362
+ motion: "subtle"
28363
+ },
28364
+ compositionBudget: accentLedQuietBudget,
28365
+ typography: folioTypography,
28366
+ heroTypography: groundedSerifHeroTypography,
28367
+ looks: folioLooks,
28368
+ contentTemplateDefaults: { event: "event-header" },
28369
+ themeOverrides: {
28370
+ accordions: editorialDividedAccordionSystem,
28371
+ testimonialQuote: serifDisplayQuote
28372
+ },
28373
+ headerStyleRecipes: { "minimal-surface": {
28374
+ tone: "neutral",
28375
+ background: { kind: "transparent" },
28376
+ nav: {
28377
+ kind: "minimal",
28378
+ hoverColorToken: "primary"
28379
+ },
28380
+ navWeight: "medium",
28381
+ navLinkWeight: "medium",
28382
+ navTypography: "plain",
28383
+ border: "none",
28384
+ shadow: { kind: "absent" },
28385
+ frame: {
28386
+ kind: "container",
28387
+ rounded: "lg",
28388
+ padding: "sm",
28389
+ tint: "background",
28390
+ opacity: 1,
28391
+ shadow: false,
28392
+ mobileSheet: "inset"
28393
+ },
28394
+ cta: { treatment: "default" },
28395
+ openingPlacement: "photo-behind-text"
28396
+ } },
28397
+ footerLookRecipes: { "footer-links-row": {
28398
+ arrangement: "simple",
28399
+ ground: {
28400
+ kind: "token",
28401
+ token: "surface"
28402
+ },
28403
+ nav: {
28404
+ weight: "regular",
28405
+ colorToken: "text",
28406
+ hoverColorToken: "primary",
28407
+ typography: "body"
28408
+ },
28409
+ legal: {
28410
+ kind: "separate",
28411
+ bar: {
28412
+ fullBleed: false,
28413
+ background: {
28414
+ kind: "token",
28415
+ token: "surface"
28416
+ },
28417
+ textColor: "text",
28418
+ textAlign: "left",
28419
+ paddingY: "tight",
28420
+ paddingX: "none",
28421
+ borderTop: { width: "none" }
28422
+ }
28423
+ },
28424
+ brandAlign: "start",
28425
+ brandLogoSize: "md"
28426
+ } },
28427
+ recommendedFooterLookIds: ["footer-links-row"],
28428
+ buttonStyleChoices: [
28429
+ buttonChoice("quiet-arrow", void 0, {
28430
+ secondaryTreatment: "solid-accent",
28431
+ size: "comfortable",
28432
+ hoverTreatment: "deep-and-sheet"
28433
+ }),
28434
+ buttonChoice("flat-ink"),
28435
+ buttonChoice("editorial-link")
28436
+ ],
28437
+ paletteRecommendations: [
28438
+ paletteRecommendation("warm-neutral-forest"),
28439
+ paletteRecommendation("soft-natural-sage"),
28440
+ paletteRecommendation("soft-natural-stone")
28441
+ ]
27674
28442
  })
27675
28443
  ];
27676
28444
  new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -28441,6 +29209,7 @@ var init_defaults = __esmMin((() => {
28441
29209
  //#region ../theme-core/src/inputs/checkable.ts
28442
29210
  var init_checkable = __esmMin((() => {
28443
29211
  init_colorStyles();
29212
+ init_surfaces();
28444
29213
  }));
28445
29214
  //#endregion
28446
29215
  //#region ../theme-core/src/inputs/generateInputCss.ts
@@ -28448,6 +29217,30 @@ var init_generateInputCss = __esmMin((() => {
28448
29217
  init_types$7();
28449
29218
  init_colorStyles();
28450
29219
  init_checkable();
29220
+ }));
29221
+ //#endregion
29222
+ //#region ../theme-core/src/responsiveMode.ts
29223
+ function escapeRegExp(value) {
29224
+ return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
29225
+ }
29226
+ function buildResponsiveScopeRulePatternSource() {
29227
+ return [
29228
+ "@scope",
29229
+ "\\(\\[",
29230
+ escapeRegExp(THEME_RESPONSIVE_MODE_ATTR),
29231
+ "=\"(?:viewport|container)\"\\]\\)",
29232
+ "to",
29233
+ "\\((?::scope )?\\[",
29234
+ escapeRegExp(THEME_RESPONSIVE_MODE_ATTR),
29235
+ "\\]\\)",
29236
+ "\\{"
29237
+ ].join("\\s*");
29238
+ }
29239
+ var THEME_RESPONSIVE_MODE_ATTR;
29240
+ var init_responsiveMode = __esmMin((() => {
29241
+ THEME_RESPONSIVE_MODE_ATTR = "data-rb-responsive-mode";
29242
+ new RegExp(buildResponsiveScopeRulePatternSource(), "g");
29243
+ new RegExp(buildResponsiveScopeRulePatternSource(), "y");
28451
29244
  })), NAV_DROPDOWN_SHIFT_PROPERTY, NAV_DROPDOWN_MAX_WIDTH_CSS;
28452
29245
  var init_navDropdownSizing = __esmMin((() => {
28453
29246
  NAV_DROPDOWN_SHIFT_PROPERTY = "--nav-dropdown-shift-x";
@@ -28481,6 +29274,7 @@ var init_generateHeaderCss = __esmMin((() => {
28481
29274
  init_generateNavLinkCSS();
28482
29275
  init_shared$4();
28483
29276
  init_breakpoints();
29277
+ init_responsiveMode();
28484
29278
  init_navDropdownSizing();
28485
29279
  init_scrollTreatment();
28486
29280
  init_paintTargets();
@@ -28525,6 +29319,9 @@ var init_layout$2 = __esmMin((() => {
28525
29319
  //#region ../theme-core/src/status/generateStatusCss.ts
28526
29320
  var init_generateStatusCss = __esmMin((() => {
28527
29321
  init_surfaces();
29322
+ init_opaqueSurfaceColor();
29323
+ init_themeColorTokens();
29324
+ init_colorStyles();
28528
29325
  }));
28529
29326
  //#endregion
28530
29327
  //#region ../theme-core/src/status/index.ts
@@ -29101,30 +29898,6 @@ var init_blockOverrides = __esmMin((() => {
29101
29898
  init_schema$2();
29102
29899
  }));
29103
29900
  //#endregion
29104
- //#region ../theme-core/src/responsiveMode.ts
29105
- function escapeRegExp(value) {
29106
- return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
29107
- }
29108
- function buildResponsiveScopeRulePatternSource() {
29109
- return [
29110
- "@scope",
29111
- "\\(\\[",
29112
- escapeRegExp(THEME_RESPONSIVE_MODE_ATTR),
29113
- "=\"(?:viewport|container)\"\\]\\)",
29114
- "to",
29115
- "\\((?::scope )?\\[",
29116
- escapeRegExp(THEME_RESPONSIVE_MODE_ATTR),
29117
- "\\]\\)",
29118
- "\\{"
29119
- ].join("\\s*");
29120
- }
29121
- var THEME_RESPONSIVE_MODE_ATTR;
29122
- var init_responsiveMode = __esmMin((() => {
29123
- THEME_RESPONSIVE_MODE_ATTR = "data-rb-responsive-mode";
29124
- new RegExp(buildResponsiveScopeRulePatternSource(), "g");
29125
- new RegExp(buildResponsiveScopeRulePatternSource(), "y");
29126
- }));
29127
- //#endregion
29128
29901
  //#region ../theme-core/src/customCss/compileAtRules.ts
29129
29902
  var init_compileAtRules = __esmMin((() => {
29130
29903
  init_responsiveMode();
@@ -31860,10 +32633,10 @@ function normalizeFieldValue(plan, value, ctx) {
31860
32633
  case "string": return acceptsOptionalBlankAsMissing(plan, value) ? void 0 : value;
31861
32634
  case "group": return normalizeObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
31862
32635
  case "repeater": return normalizeRepeaterItems(plan, value, ctx);
32636
+ case "link":
31863
32637
  case "boolean":
31864
32638
  case "richText":
31865
32639
  case "inlineText":
31866
- case "link":
31867
32640
  case "select":
31868
32641
  case "passthrough": return value;
31869
32642
  case "media": return value;
@@ -31915,12 +32688,12 @@ function validateNormalizedFieldValue(plan, value, ctx) {
31915
32688
  if (value === null && (ctx.allowNull || acceptsOptionalNullValue(plan))) return [];
31916
32689
  if (isMissingForPlan(plan, value)) return shouldRequireValue(plan, value, ctx) ? [requiredIssue(plan, value)] : [];
31917
32690
  switch (plan.kind) {
31918
- case "string": return validateStringPlan(plan, value);
32691
+ case "string": return validateStringPlan(plan, value, ctx);
31919
32692
  case "number": return validateNumberPlan(plan, value);
31920
32693
  case "boolean": return typeof value === "boolean" ? [] : [issue(plan, "wrongType", { expected: "a true/false value" })];
31921
32694
  case "select": return validateSelectPlan(plan, value);
31922
32695
  case "richText": return isValidRichTextDoc(value) ? [] : [issue(plan, "invalidRichText")];
31923
- case "inlineText": return validateInlineTextPlan(plan, value);
32696
+ case "inlineText": return validateInlineTextPlan(plan, value, ctx);
31924
32697
  case "media": return validateMediaPlan(plan, value, ctx);
31925
32698
  case "link": return linkSchema.safeParse(value).success ? [] : [issue(plan, "invalidLink")];
31926
32699
  case "repeater": return validateRepeaterPlan(plan, value, ctx);
@@ -31953,32 +32726,30 @@ function isMissingForPlan(plan, value) {
31953
32726
  if (Array.isArray(value) && value.length === 0) return true;
31954
32727
  return false;
31955
32728
  }
31956
- function validateStringPlan(plan, value) {
31957
- if (plan.constraints.some((constraint) => constraint.kind === "blockIconValue")) return plan.constraints.flatMap((constraint) => validateStringConstraint(plan, constraint, value));
32729
+ function validateStringPlan(plan, value, ctx) {
32730
+ if (plan.constraints.some((constraint) => constraint.kind === "blockIconValue")) return plan.constraints.flatMap((constraint) => validateStringConstraint(plan, constraint, value, ctx));
31958
32731
  if (typeof value !== "string") return [issue(plan, "wrongType", { expected: "text" })];
31959
- return plan.constraints.flatMap((constraint) => validateStringConstraint(plan, constraint, value));
32732
+ return plan.constraints.flatMap((constraint) => validateStringConstraint(plan, constraint, value, ctx));
31960
32733
  }
31961
- function validateStringConstraint(plan, constraint, value) {
31962
- switch (constraint.kind) {
31963
- case "required": return [];
31964
- case "textType":
31965
- case "referenceText": return typeof value === "string" ? [] : [issue(plan, "wrongType", { expected: "text" })];
31966
- case "blockIconValue": return isValidIconPickerValue(value) ? [] : [issue(plan, "wrongType", { expected: "text or icon" })];
31967
- case "maxLength": return typeof value === "string" && value.length > constraint.maximum ? [issue(plan, "tooLong", { maximum: constraint.maximum })] : [];
31968
- case "emailFormat": return typeof value === "string" && isCanonicalEmailValue(value) ? [] : [issue(plan, "invalidEmail")];
31969
- case "phoneFormat": return typeof value === "string" && isCanonicalPhoneValue(value) ? [] : [issue(plan, "invalidPhone")];
31970
- case "patternFormat": {
31971
- if (typeof value !== "string") return [issue(plan, "wrongType", { expected: "text" })];
31972
- const re = compilePattern(constraint.pattern);
31973
- return re && !re.test(value) ? [issue(plan, "invalidPattern")] : [];
31974
- }
31975
- case "urlFormat": return typeof value === "string" && isCanonicalUrlValue(value, { allowRelative: constraint.allowRelative }) ? [] : [issue(plan, "invalidUrl")];
31976
- case "dateFormat": return typeof value === "string" && isValidDateString(value) ? [] : [issue(plan, "invalidDate")];
31977
- case "timeFormat": return typeof value === "string" && isValidTimeString(value) ? [] : [issue(plan, "invalidTime")];
31978
- case "datetimeFormat": return typeof value === "string" && isValidDateTimeInstantString(value) ? [] : [issue(plan, "invalidDateTime")];
31979
- case "slugFormat": return typeof value === "string" && SLUG_PATTERN.test(value) ? [] : [issue(plan, "invalidSlug")];
31980
- default: return assertNever$2(constraint);
32734
+ function validateStringConstraint(plan, constraint, value, ctx) {
32735
+ if (constraint.kind === "required") return [];
32736
+ if (constraint.kind === "blockIconValue") return isValidIconPickerValue(value) ? [] : [issue(plan, "wrongType", { expected: "text or icon" })];
32737
+ if (typeof value !== "string") return [issue(plan, "wrongType", { expected: "text" })];
32738
+ if (constraint.kind === "textType" || constraint.kind === "referenceText") return [];
32739
+ return constraint.kind === "maxLength" ? validateAuthoredTextLength(plan, value, constraint.maximum, ctx) : validateStringFormat(plan, constraint, value);
32740
+ }
32741
+ function validateStringFormat(plan, constraint, value) {
32742
+ if (constraint.kind === "patternFormat") {
32743
+ const pattern = compilePattern(constraint.pattern);
32744
+ return pattern && !pattern.test(value) ? [issue(plan, "invalidPattern")] : [];
31981
32745
  }
32746
+ if (constraint.kind === "urlFormat") return isCanonicalUrlValue(value, { allowRelative: constraint.allowRelative }) ? [] : [issue(plan, "invalidUrl")];
32747
+ const format = SIMPLE_STRING_FORMATS[constraint.kind];
32748
+ return format.accepts(value) ? [] : [issue(plan, format.failure)];
32749
+ }
32750
+ /** Authoring limits govern stored block copy; resolved entry text has its own owner. */
32751
+ function validateAuthoredTextLength(plan, text, maximum, ctx) {
32752
+ return ctx.mode !== "render" && maximum !== void 0 && text.length > maximum ? [issue(plan, "tooLong", { maximum })] : [];
31982
32753
  }
31983
32754
  function isValidIconPickerValue(value) {
31984
32755
  if (typeof value === "string") return true;
@@ -32115,13 +32886,10 @@ function rebaseFieldPlanPath(plan, fromPrefix, toPrefix) {
32115
32886
  default: return assertNever$2(plan);
32116
32887
  }
32117
32888
  }
32118
- function validateInlineTextPlan(plan, value) {
32889
+ function validateInlineTextPlan(plan, value, ctx) {
32119
32890
  const parsed = parseInlineTextFromUnknown(value);
32120
32891
  if (!parsed.ok) return [issue(plan, "invalidInlineText")];
32121
- const text = inlineTextToPlainText(parsed.value);
32122
- const lengthIssue = plan.constraints.find((constraint) => constraint.kind === "maxPlainTextLength");
32123
- if (lengthIssue && text.length > lengthIssue.maximum) return [issue(plan, "tooLong", { maximum: lengthIssue.maximum })];
32124
- return [];
32892
+ return validateAuthoredTextLength(plan, inlineTextToPlainText(parsed.value), plan.constraints.find((constraint) => constraint.kind === "maxPlainTextLength")?.maximum, ctx);
32125
32893
  }
32126
32894
  function rebaseFieldPath(path, fromPrefix, toPrefix) {
32127
32895
  if (!startsWithFieldPath(path, fromPrefix)) throw new Error(`Cannot rebase field path ${formatFieldPath(path)} from ${formatFieldPath(fromPrefix)}`);
@@ -32344,7 +33112,7 @@ function isEmptyRichTextDoc(value) {
32344
33112
  const first = content[0];
32345
33113
  return first?.type === "paragraph" && (!Array.isArray(first.content) || first.content.length === 0);
32346
33114
  }
32347
- var TEL_RE, SLUG_PATTERN, ALLOWED_URL_PROTOCOLS, DATE_PATTERN, TIME_PATTERN, DATETIME_PATTERN;
33115
+ var TEL_RE, SLUG_PATTERN, ALLOWED_URL_PROTOCOLS, DATE_PATTERN, TIME_PATTERN, DATETIME_PATTERN, SIMPLE_STRING_FORMATS;
32348
33116
  var init_fieldValidation = __esmMin((() => {
32349
33117
  init_schema$2();
32350
33118
  init_link();
@@ -32360,6 +33128,32 @@ var init_fieldValidation = __esmMin((() => {
32360
33128
  DATE_PATTERN = /^(?<year>[1-9]\d{3})-(?<month>\d{2})-(?<day>\d{2})$/;
32361
33129
  TIME_PATTERN = /^(?<hours>[01]\d|2[0-3]):(?<minutes>[0-5]\d)$/;
32362
33130
  DATETIME_PATTERN = /^(?<date>[1-9]\d{3}-\d{2}-\d{2})T(?<time>(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d)(?:\.\d+)?(?<offset>Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;
33131
+ SIMPLE_STRING_FORMATS = {
33132
+ emailFormat: {
33133
+ accepts: isCanonicalEmailValue,
33134
+ failure: "invalidEmail"
33135
+ },
33136
+ phoneFormat: {
33137
+ accepts: isCanonicalPhoneValue,
33138
+ failure: "invalidPhone"
33139
+ },
33140
+ dateFormat: {
33141
+ accepts: isValidDateString,
33142
+ failure: "invalidDate"
33143
+ },
33144
+ timeFormat: {
33145
+ accepts: isValidTimeString,
33146
+ failure: "invalidTime"
33147
+ },
33148
+ datetimeFormat: {
33149
+ accepts: isValidDateTimeInstantString,
33150
+ failure: "invalidDateTime"
33151
+ },
33152
+ slugFormat: {
33153
+ accepts: (value) => SLUG_PATTERN.test(value),
33154
+ failure: "invalidSlug"
33155
+ }
33156
+ };
32363
33157
  }));
32364
33158
  //#endregion
32365
33159
  //#region ../blocks/src/system/manifest/registry.ts
@@ -32390,14 +33184,23 @@ function preprocessEmptyValues(content) {
32390
33184
  * Compiles editor-facing manifest structure into the presentation-independent
32391
33185
  * validation contract used by every manifest-content trust transition.
32392
33186
  */
32393
- function compileManifestContentContract(manifestOrFields) {
33187
+ function compileManifestContentContract(manifestOrFields, options = {}) {
32394
33188
  const plans = derivePlansFromManifestOrFields(manifestOrFields);
32395
33189
  const strictOptions = { allowNull: false };
32396
33190
  const strictStoredSchema = deriveStrictContentZodFromPlans(plans);
32397
33191
  return Object.freeze({ [compiledManifestContentContract]: Object.freeze({
32398
33192
  plans,
32399
33193
  strictStoredSchema,
32400
- writeSchema: deriveNormalizedContentZodFromPlans(plans, strictOptions, normalizeManifestContentForWrite).transform((value) => canonicalizeObjectForWrite(plans, value)),
33194
+ writeSchema: deriveNormalizedContentZodFromPlans(plans, strictOptions, normalizeManifestContentForWrite).superRefine((value, ctx) => {
33195
+ if (options.unknownFields !== "reject") return;
33196
+ unknownManifestFieldPaths(plans, value).forEach((path) => {
33197
+ ctx.addIssue({
33198
+ code: "custom",
33199
+ path,
33200
+ message: `Unknown content field: ${path.join(".")}`
33201
+ });
33202
+ });
33203
+ }).transform((value) => canonicalizeObjectForWrite(plans, value)),
32401
33204
  draftSchema: deriveNormalizedContentZodFromPlans(plans, {
32402
33205
  allowNull: true,
32403
33206
  allowIncomplete: true,
@@ -32407,6 +33210,22 @@ function compileManifestContentContract(manifestOrFields) {
32407
33210
  findNonPortableMediaPaths: (content) => findNonPortableMediaPaths(plans, content)
32408
33211
  }) });
32409
33212
  }
33213
+ function unknownManifestFieldPaths(plans, value, parent = [], discriminator) {
33214
+ if (!isPlainRecord(value)) return [];
33215
+ const known = /* @__PURE__ */ new Set([...plans.map((plan) => plan.fieldId), ...discriminator ? [discriminator] : []]);
33216
+ return [...Object.keys(value).filter((key) => !known.has(key)).map((key) => [...parent, key]), ...plans.flatMap((plan) => nestedUnknownManifestFieldPaths(plan, value[plan.fieldId], [...parent, plan.fieldId]))];
33217
+ }
33218
+ function nestedUnknownManifestFieldPaths(plan, value, path) {
33219
+ if (plan.kind === "group") {
33220
+ if (plan.valueContract === "boxBackground") return [];
33221
+ const selection = plan.childSelection;
33222
+ return unknownManifestFieldPaths(allGroupChildPlans(plan), value, path, selection.kind === "discriminatedTabs" ? selection.activeTabField : void 0);
33223
+ }
33224
+ if (plan.kind !== "repeater" || !Array.isArray(value)) return [];
33225
+ return value.flatMap((item, index) => {
33226
+ return unknownManifestFieldPaths((isPlainRecord(item) ? plan.repeatedItemVariants?.find((entry) => entry.typeId === item._type) : void 0)?.fields ?? plan.repeatedItemPlan ?? [], item, [...path, index], plan.repeatedItemVariants ? "_type" : void 0);
33227
+ });
33228
+ }
32410
33229
  /**
32411
33230
  * Re-admits renderable content after a transport boundary has erased its
32412
33231
  * compile-time proof. Unlike write admission, this never canonicalizes or
@@ -32647,11 +33466,23 @@ function testimonialLoaderLimit(content) {
32647
33466
  var init_testimonialCount = __esmMin((() => {}));
32648
33467
  //#endregion
32649
33468
  //#region ../blocks/src/system/node/fragments/lookSlot.ts
32650
- var lookSlot, lookLeadSlotTransform, lookQuoteLimitTransform;
33469
+ var lookSlot, lookSkinSlotTransform, lookLeadSlotTransform, lookQuoteLimitTransform, lookCarouselRegionTransform;
32651
33470
  var init_lookSlot = __esmMin((() => {
32652
33471
  init_core();
32653
33472
  init_testimonialCount();
32654
- lookSlot = (name) => ({ "data-slot": { $bind: { from: `content._lookSlots.${name}` } } });
33473
+ init_site_styles();
33474
+ lookSlot = (name, source = "look") => source === "skin" ? { "data-slot": { $bind: {
33475
+ from: "theme.skin",
33476
+ transforms: [{
33477
+ id: "look.skinSlot",
33478
+ options: { slot: name }
33479
+ }]
33480
+ } } } : { "data-slot": { $bind: { from: `content._lookSlots.${name}` } } };
33481
+ lookSkinSlotTransform = {
33482
+ id: "look.skinSlot",
33483
+ kind: "string",
33484
+ run: (value, options) => typeof value === "string" && value.length > 0 ? arrangementSlotNames.find((slot) => slot === asPartialObject(options)?.slot) : void 0
33485
+ };
32655
33486
  lookLeadSlotTransform = {
32656
33487
  id: "look.leadSlot",
32657
33488
  kind: "string",
@@ -32662,6 +33493,12 @@ var init_lookSlot = __esmMin((() => {
32662
33493
  kind: "string",
32663
33494
  run: (value) => testimonialLoaderLimit(asPartialObject(value) ?? {})
32664
33495
  };
33496
+ lookCarouselRegionTransform = {
33497
+ schema: z.object({ fallback: z.string().trim().min(1) }),
33498
+ id: "look.carouselRegion",
33499
+ kind: "string",
33500
+ run: (value, options) => typeof value === "string" && value.trim() ? value.trim() : options?.fallback ?? "Carousel"
33501
+ };
32665
33502
  }));
32666
33503
  //#endregion
32667
33504
  //#region ../blocks/src/system/fields/imageLayout.ts
@@ -33674,7 +34511,10 @@ var init_builder$1 = __esmMin((() => {
33674
34511
  inline = (props, children, ...mods) => el$1("inline", props, children, ...mods);
33675
34512
  accordion = (props, children, ...mods) => el$1("accordion", props, children, ...mods);
33676
34513
  accordionItem = (props, children, ...mods) => el$1("accordionItem", props, children, ...mods);
33677
- carousel = (props, children, ...mods) => el$1("carousel", props, children, ...mods);
34514
+ carousel = (props, children, ...mods) => el$1("carousel", {
34515
+ mode: "legacy",
34516
+ ...props
34517
+ }, children, ...mods);
33678
34518
  text = (props, ...mods) => el$1("text", props, void 0, ...mods);
33679
34519
  richText = (props, ...mods) => el$1("richText", props, void 0, ...mods);
33680
34520
  icon = (props, ...mods) => el$1("icon", props, void 0, ...mods);
@@ -33737,7 +34577,7 @@ var init_builder$1 = __esmMin((() => {
33737
34577
  * )
33738
34578
  */
33739
34579
  function backgroundLayer(path, options = {}) {
33740
- 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;
34580
+ 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;
33741
34581
  const styleLayer = el$1("div", {
33742
34582
  className: styleClassName,
33743
34583
  style: { $bind: {
@@ -33750,7 +34590,8 @@ function backgroundLayer(path, options = {}) {
33750
34590
  });
33751
34591
  const imageLayer = createBackgroundImageNode(path, imageClassName, {
33752
34592
  loading: imageLoading,
33753
- fetchPriority: imageFetchPriority
34593
+ fetchPriority: imageFetchPriority,
34594
+ slot: imageSlot
33754
34595
  });
33755
34596
  const overlayLayer = createBackgroundOverlayNode(path, overlayClassName);
33756
34597
  return omitImageLayer ? [styleLayer, overlayLayer] : [
@@ -33768,7 +34609,7 @@ function backgroundLayer(path, options = {}) {
33768
34609
  * the decorative layer rather than changing the content root.
33769
34610
  */
33770
34611
  function backgroundFrame(path, options = {}) {
33771
- const { leadingNodes = [], ...layerOptions } = options;
34612
+ const { leadingNodes = [], frameSlot, ...layerOptions } = options;
33772
34613
  const framedLayerOptions = {
33773
34614
  ...layerOptions,
33774
34615
  styleClassName: layerOptions.styleClassName ?? "background-style rb-absolute rb-inset-0 rb-z-0 rb-h-full rb-w-full rb-pointer-events-none",
@@ -33776,6 +34617,7 @@ function backgroundFrame(path, options = {}) {
33776
34617
  overlayClassName: layerOptions.overlayClassName ?? "background-overlay rb-absolute rb-inset-0 rb-z-0 rb-h-full rb-w-full rb-pointer-events-none"
33777
34618
  };
33778
34619
  return el$1("div", {
34620
+ ...frameSlot ? lookSlot(frameSlot) : {},
33779
34621
  className: { $bind: {
33780
34622
  from: path,
33781
34623
  transforms: [{
@@ -33816,6 +34658,7 @@ function backgroundFrame(path, options = {}) {
33816
34658
  function createBackgroundImageNode(path, baseClassName = "rb-absolute rb-z-neg-10", options = {}) {
33817
34659
  const imagePath = `${path}.image`;
33818
34660
  return media({
34661
+ ...options.slot ? lookSlot(options.slot) : {},
33819
34662
  className: { $bind: {
33820
34663
  from: path,
33821
34664
  transforms: [{
@@ -33865,6 +34708,7 @@ function createBackgroundOverlayNode(path, className = "background-overlay rb-ab
33865
34708
  var BACKGROUND_FRAME_BASE_CLASS;
33866
34709
  var init_backgroundLayer = __esmMin((() => {
33867
34710
  init_builder$1();
34711
+ init_lookSlot();
33868
34712
  BACKGROUND_FRAME_BASE_CLASS = "rb-background-frame rb-absolute rb-inset-0 rb-z-neg-10 rb-h-full rb-w-full rb-isolate rb-pointer-events-none";
33869
34713
  }));
33870
34714
  //#endregion
@@ -34128,6 +34972,10 @@ var init_spacing = __esmMin((() => {
34128
34972
  function styledSection(config) {
34129
34973
  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;
34130
34974
  const renderedBackgroundNode = backgroundFrame(`${bindFrom}.background`, {
34975
+ ...config.backgroundLookSlots ? {
34976
+ frameSlot: "background",
34977
+ imageSlot: "photo"
34978
+ } : {},
34131
34979
  imageClassName,
34132
34980
  fallbackToken: background,
34133
34981
  omitImageLayer: !renderBackgroundImage,
@@ -34140,12 +34988,13 @@ function styledSection(config) {
34140
34988
  background,
34141
34989
  baseClass,
34142
34990
  spacing,
34143
- fullWidthPath
34991
+ fullWidthPath,
34992
+ skinSlot: config.skinSlot
34144
34993
  }), [renderedBackgroundNode, ...childrenArray]);
34145
34994
  }
34146
34995
  function sectionAppearanceProps(input) {
34147
34996
  return {
34148
- ...lookSlot("section"),
34997
+ ...input.skinSlot ? lookSlot(input.skinSlot, "skin") : lookSlot("section"),
34149
34998
  "data-arrangement": { $bind: { from: "content._lookHooks.data-arrangement" } },
34150
34999
  style: { $bind: {
34151
35000
  from: `${input.bindFrom}.background`,
@@ -35117,7 +35966,8 @@ var init_boxStyles = __esmMin((() => {
35117
35966
  id: "boxStyles.semanticGapValue",
35118
35967
  kind: "string",
35119
35968
  summary: "Map semantic gap value to CSS gap value for inline styles",
35120
- run: (value, options, _context) => {
35969
+ run: (value, options, context) => {
35970
+ if (options?.legacyOnly && asPartialObject(context.viewModel?.content)?._lookSlots !== void 0) return void 0;
35121
35971
  const fallback = options?.fallback ?? "medium";
35122
35972
  return GAP_VALUE_MAP[isSemanticSpacing(value) ? value : fallback];
35123
35973
  }
@@ -35164,9 +36014,12 @@ function twoColumnProps(config) {
35164
36014
  from: config.gapFrom,
35165
36015
  transforms: [{
35166
36016
  id: "boxStyles.semanticGapValue",
35167
- options: { fallback }
36017
+ options: {
36018
+ fallback,
36019
+ legacyOnly: config.lookSlots === true
36020
+ }
35168
36021
  }],
35169
- fallback: GAP_VALUE_MAP[fallback]
36022
+ ...config.lookSlots ? {} : { fallback: GAP_VALUE_MAP[fallback] }
35170
36023
  } } } } : {}
35171
36024
  };
35172
36025
  }
@@ -36451,6 +37304,7 @@ function buildTestimonialCard(...mods) {
36451
37304
  */
36452
37305
  function buildCarouselLayout() {
36453
37306
  return carousel({
37307
+ mode: "legacy",
36454
37308
  className: "rb-mt-12 rb-testimonials-carousel",
36455
37309
  slidesToShow: {
36456
37310
  mobile: { $bind: {
@@ -38375,6 +39229,7 @@ function heroContainerStack(children, gap) {
38375
39229
  rootType: "stack",
38376
39230
  baseClassName: "rb-relative rb-isolate",
38377
39231
  rootProps: {
39232
+ ...lookSlot("frame"),
38378
39233
  gap: "none",
38379
39234
  justify: { $bind: {
38380
39235
  from: "content",
@@ -38462,6 +39317,7 @@ var init_hero = __esmMin((() => {
38462
39317
  }, when("content._effectiveKnobs.stickerLine.value"), bind$1("content.stickerLine"));
38463
39318
  heroContentNodes = [lookCaption, ...heroCopyAndCta.layout];
38464
39319
  classicLayout$1 = styledSection({
39320
+ backgroundLookSlots: true,
38465
39321
  children: heroContainerStack(heroContentNodes, "md"),
38466
39322
  baseClass: "",
38467
39323
  backgroundImageLoading: heroPriorityMediaProps.loading,
@@ -38804,18 +39660,34 @@ var init_aspectRatio = __esmMin((() => {
38804
39660
  function introHeading(className) {
38805
39661
  return text({
38806
39662
  as: "h2",
38807
- className
38808
- }, when("content.title"), bind$1("content.title"));
39663
+ className,
39664
+ ...lookSlot("heading")
39665
+ }, when("content.title", { authoringPresence: {
39666
+ kind: "recover-empty-when-active",
39667
+ placeholder: "Add heading"
39668
+ } }), bind$1("content.title"));
38809
39669
  }
38810
39670
  function introBody(className = "rb-prose rb-max-w-none") {
38811
- return richText({ className }, bind$1("content.body"));
39671
+ return richText({
39672
+ className,
39673
+ ...lookSlot("intro"),
39674
+ leadParagraphSlot: { $bind: { from: "content._lookSlots.lede" } },
39675
+ lookSlots: { $bind: { from: "content._lookSlots" } }
39676
+ }, bind$1("content.body"));
38812
39677
  }
38813
39678
  function introCtas(justify = "start") {
38814
- return ctaRow({
39679
+ const row = ctaRow({
38815
39680
  justify,
38816
39681
  gap: "md",
38817
39682
  containerClassName: "rb-mt-2"
38818
39683
  });
39684
+ return {
39685
+ ...row,
39686
+ props: {
39687
+ ...row.props,
39688
+ ...lookSlot("actions")
39689
+ }
39690
+ };
38819
39691
  }
38820
39692
  function introCopyStack(options = {}) {
38821
39693
  return stack({
@@ -38829,6 +39701,7 @@ function introCopyStack(options = {}) {
38829
39701
  }
38830
39702
  var introMedia, centeredCopyLayout, statementCopyLayout, statementMediaLayout, mediaCopyLayout, introConfig, introManifest, introBlockDefinition;
38831
39703
  var init_intro = __esmMin((() => {
39704
+ init_lookSlot();
38832
39705
  init_gridLayout();
38833
39706
  init_defineBlock();
38834
39707
  init_aspectRatio();
@@ -38838,6 +39711,7 @@ var init_intro = __esmMin((() => {
38838
39711
  init_builder$1();
38839
39712
  init_fragments$1();
38840
39713
  introMedia = media({
39714
+ ...lookSlot("photo"),
38841
39715
  className: { $bind: {
38842
39716
  from: "content.imageShape",
38843
39717
  transforms: [{
@@ -38850,7 +39724,7 @@ var init_intro = __esmMin((() => {
38850
39724
  from: "content.aspectRatio",
38851
39725
  fallback: "1/1"
38852
39726
  } } }
38853
- }, bind$1("content.media"));
39727
+ }, bind$1("content.media"), when("content.media"));
38854
39728
  centeredCopyLayout = styledSection({
38855
39729
  children: styledContainer({
38856
39730
  rootType: "stack",
@@ -38866,9 +39740,13 @@ var init_intro = __esmMin((() => {
38866
39740
  spacing: "medium"
38867
39741
  });
38868
39742
  statementCopyLayout = styledSection({
38869
- children: styledContainer({ children: [el$1("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({
39743
+ children: styledContainer({ children: [el$1("div", {
39744
+ className: "rb-intro rb-intro-statement rb-grid rb-grid-cols-1 rb-gap-8 rb-md-grid-cols-2 rb-md-items-start",
39745
+ ...lookSlot("frame")
39746
+ }, [introHeading("rb-intro-title rb-max-w-xl"), stack({
38870
39747
  gap: "md",
38871
- className: "rb-intro-copy rb-max-w-xl"
39748
+ className: "rb-intro-copy rb-max-w-xl",
39749
+ ...lookSlot("copy")
38872
39750
  }, [introBody(), introCtas("start")])])] }),
38873
39751
  baseClass: "",
38874
39752
  spacing: "medium"
@@ -38887,6 +39765,7 @@ var init_intro = __esmMin((() => {
38887
39765
  });
38888
39766
  mediaCopyLayout = styledSection({
38889
39767
  children: styledContainer({ children: [responsiveTwoColumn({
39768
+ lookSlots: true,
38890
39769
  image: el$1("div", { className: "rb-intro-media-wrap rb-w-full" }, [introMedia]),
38891
39770
  text: introCopyStack({
38892
39771
  className: "rb-intro-copy rb-max-w-xl",
@@ -38958,20 +39837,26 @@ var init_intro = __esmMin((() => {
38958
39837
  gapSelectField({
38959
39838
  label: "Gap between media and text",
38960
39839
  defaultValue: "comfortable",
38961
- visibleWhen: {
39840
+ visibleWhen: { allOf: [{
38962
39841
  field: "variant",
38963
39842
  equals: "media-copy"
38964
- }
39843
+ }, {
39844
+ field: "blockLook",
39845
+ notEquals: "intro-photo-beside-text"
39846
+ }] }
38965
39847
  }),
38966
39848
  createImageColSizeField({
38967
39849
  id: "ratio",
38968
39850
  label: "Media column size",
38969
39851
  defaultValue: "1/2",
38970
39852
  uiIntent: "display",
38971
- visibleWhen: {
39853
+ visibleWhen: { allOf: [{
38972
39854
  field: "variant",
38973
39855
  equals: "media-copy"
38974
- }
39856
+ }, {
39857
+ field: "blockLook",
39858
+ notEquals: "intro-photo-beside-text"
39859
+ }] }
38975
39860
  }),
38976
39861
  createAspectRatioField({
38977
39862
  id: "aspectRatio",
@@ -39803,8 +40688,26 @@ function fragmentLayoutNode$1(layout) {
39803
40688
  function isNodeDefinitionArray$1(layout) {
39804
40689
  return Array.isArray(layout);
39805
40690
  }
39806
- function createFormLayout(variant) {
39807
- if (variant === "two-column") return styledSection({
40691
+ var formComposition, copyLayout, embedLayout$1, formSurface, twoColumnFormLayout, formLayout, dataLoaders$1, formManifest, formDataSchema, formBlockDefinition;
40692
+ var init_form = __esmMin((() => {
40693
+ init_fragments$1();
40694
+ init_styledSection();
40695
+ init_defineBlock();
40696
+ init_fragments();
40697
+ init_form_interactive();
40698
+ init_lookSlot();
40699
+ init_builder$1();
40700
+ formComposition = composeFragments([{ fragment: formCopyFragment }, { fragment: formEmbedFragment }]);
40701
+ copyLayout = props(lookSlot("head"))(fragmentLayoutNode$1(formCopyFragment.layout));
40702
+ embedLayout$1 = fragmentLayoutNode$1(formEmbedFragment.layout);
40703
+ formSurface = styledContainer({
40704
+ rootProps: lookSlot("panel"),
40705
+ bindFrom: "_containerStyles",
40706
+ constrainWidth: false,
40707
+ baseClassName: "rb-form-surface rb-relative rb-isolate rb-overflow-visible",
40708
+ children: embedLayout$1
40709
+ });
40710
+ twoColumnFormLayout = styledSection({
39808
40711
  children: el$1("div", {
39809
40712
  className: "rb-container",
39810
40713
  ...lookSlot("layout")
@@ -39820,38 +40723,23 @@ function createFormLayout(variant) {
39820
40723
  spacing: "medium",
39821
40724
  background: "surface"
39822
40725
  });
39823
- return styledSection({
39824
- children: styledContainer({
40726
+ formLayout = styledSection({
40727
+ children: [when("content._lookSlots", { not: true })(styledContainer({
39825
40728
  rootType: "stack",
39826
40729
  rootProps: { gap: "lg" },
39827
40730
  children: formComposition.layout
39828
- }),
40731
+ })), when("content._lookSlots")(styledContainer({
40732
+ rootType: "stack",
40733
+ rootProps: {
40734
+ gap: "lg",
40735
+ ...lookSlot("layout")
40736
+ },
40737
+ children: el$1("div", lookSlot("frame"), [el$1("div", lookSlot("copy"), [copyLayout]), el$1("div", lookSlot("panel"), [embedLayout$1])])
40738
+ }))],
39829
40739
  baseClass: "",
39830
40740
  spacing: "medium",
39831
40741
  background: "surface"
39832
40742
  });
39833
- }
39834
- var formComposition, copyLayout, embedLayout$1, formSurface, formLayout, twoColumnFormLayout, dataLoaders$1, formManifest, formDataSchema, formBlockDefinition;
39835
- var init_form = __esmMin((() => {
39836
- init_fragments$1();
39837
- init_styledSection();
39838
- init_defineBlock();
39839
- init_fragments();
39840
- init_form_interactive();
39841
- init_lookSlot();
39842
- init_builder$1();
39843
- formComposition = composeFragments([{ fragment: formCopyFragment }, { fragment: formEmbedFragment }]);
39844
- copyLayout = props(lookSlot("head"))(fragmentLayoutNode$1(formCopyFragment.layout));
39845
- embedLayout$1 = fragmentLayoutNode$1(formEmbedFragment.layout);
39846
- formSurface = styledContainer({
39847
- rootProps: lookSlot("panel"),
39848
- bindFrom: "_containerStyles",
39849
- constrainWidth: false,
39850
- baseClassName: "rb-form-surface rb-relative rb-isolate rb-overflow-visible",
39851
- children: embedLayout$1
39852
- });
39853
- formLayout = createFormLayout("default");
39854
- twoColumnFormLayout = createFormLayout("two-column");
39855
40743
  dataLoaders$1 = buildFragmentDataLoaders(formComposition);
39856
40744
  formManifest = createBlockManifest({
39857
40745
  variantMeaning: { kind: "arrangement" },
@@ -42263,17 +43151,31 @@ var init_testimonials = __esmMin((() => {
42263
43151
  as: "p",
42264
43152
  ...lookSlot("intro")
42265
43153
  }, when("content.subheading"), bind$1("content.subheading"))]), arrangement === "slides" || arrangement === "track" ? el$1("carousel", {
43154
+ mode: "arrangement",
42266
43155
  arrangement,
42267
- autoplay: false,
42268
- loop: false,
42269
- showControls: true,
42270
- arrowVisibility: "always",
42271
- slidesToShow: arrangement === "slides" ? 1 : {
42272
- mobile: 1,
42273
- tablet: 2,
42274
- desktop: 3
42275
- }
42276
- }, [quoteFigure(false)]) : el$1("div", lookSlot("items"), [quoteFigure(arrangement === "lead-rest")])]) })
43156
+ labels: {
43157
+ item: "quote",
43158
+ region: { $bind: {
43159
+ from: "content.heading",
43160
+ transforms: [{
43161
+ id: "look.carouselRegion",
43162
+ options: { fallback: "Quotes" }
43163
+ }]
43164
+ } }
43165
+ },
43166
+ indicator: "counter"
43167
+ }, [{
43168
+ type: "carouselSlide",
43169
+ props: { title: { $bind: {
43170
+ from: "testimonial.content.name",
43171
+ fallback: "Anonymous"
43172
+ } } },
43173
+ $repeat: quoteFigure(false).$repeat,
43174
+ children: [{
43175
+ ...quoteFigure(false),
43176
+ $repeat: void 0
43177
+ }]
43178
+ }]) : el$1("div", lookSlot("items"), [quoteFigure(arrangement === "lead-rest")])]) })
42277
43179
  });
42278
43180
  additionalFields = parseFieldDefinitions([
42279
43181
  ...testimonialsHeadingFragment.fields,
@@ -43090,7 +43992,7 @@ function arrangementCardsLayout(items) {
43090
43992
  })
43091
43993
  });
43092
43994
  }
43093
- var featureCardItemRole, centeredSectionHeading, editorialSectionHeading, featureCard, cardsLayout, editorialDiptychLayout, editorialPathwaysLayout, leadCard, leadSupportLayout, indexRow, indexLayout, featureCardsConfig, featureCardsManifest, featureCardsBlockDefinition;
43995
+ var featureCardItemRole, centeredSectionHeading, editorialSectionHeading, featureCard, cardsLayout, editorialDiptychLayout, editorialPathwaysLayout, leadCard, carouselCardsLayout, leadSupportLayout, indexRow, indexLayout, featureCardsConfig, featureCardsManifest, featureCardsBlockDefinition;
43094
43996
  var init_feature_cards = __esmMin((() => {
43095
43997
  init_cardList();
43096
43998
  init_cardListSectionAction();
@@ -43243,6 +44145,33 @@ var init_feature_cards = __esmMin((() => {
43243
44145
  indexName: "cardIndex"
43244
44146
  }
43245
44147
  };
44148
+ carouselCardsLayout = (arrangement) => arrangementCardsLayout(el$1("carousel", {
44149
+ mode: "arrangement",
44150
+ arrangement,
44151
+ cardList: true,
44152
+ labels: {
44153
+ item: "card",
44154
+ region: { $bind: {
44155
+ from: "content.title",
44156
+ transforms: [{
44157
+ id: "look.carouselRegion",
44158
+ options: { fallback: "Cards" }
44159
+ }]
44160
+ } }
44161
+ },
44162
+ indicator: arrangement === "slides" ? "dots" : "none"
44163
+ }, [{
44164
+ type: "carouselSlide",
44165
+ props: { title: { $bind: {
44166
+ from: "card.title",
44167
+ fallback: ""
44168
+ } } },
44169
+ $repeat: featureCard.$repeat,
44170
+ children: [{
44171
+ ...featureCard,
44172
+ $repeat: void 0
44173
+ }]
44174
+ }]));
43246
44175
  leadSupportLayout = arrangementCardsLayout(el$1("div", lookSlot("items"), [leadCard]));
43247
44176
  indexRow = el$1("li", lookSlot("item"), [
43248
44177
  el$1("div", {
@@ -43455,6 +44384,8 @@ var init_feature_cards = __esmMin((() => {
43455
44384
  promotedFields: ["_generatedIconSizePx"],
43456
44385
  layout: cardsLayout,
43457
44386
  variants: {
44387
+ slides: carouselCardsLayout("slides"),
44388
+ track: carouselCardsLayout("track"),
43458
44389
  cards: cardsLayout,
43459
44390
  "lead-support": leadSupportLayout,
43460
44391
  index: indexLayout,
@@ -43467,7 +44398,9 @@ var init_feature_cards = __esmMin((() => {
43467
44398
  lookOnlyKeys: [
43468
44399
  "lead-support",
43469
44400
  "index",
43470
- "sequence"
44401
+ "sequence",
44402
+ "slides",
44403
+ "track"
43471
44404
  ]
43472
44405
  },
43473
44406
  defaultVariant: "cards",
@@ -43836,17 +44769,22 @@ var init_media_text = __esmMin((() => {
43836
44769
  }],
43837
44770
  fallback: ""
43838
44771
  } };
43839
- const copyHeading = el$1("div", {
43840
- className: titleClassNameFromAlignment,
43841
- ...lookSlot("head")
43842
- }, [text({
44772
+ const headingNodes = [text({
43843
44773
  as: "p",
43844
44774
  className: eyebrowClassName("rb-eyebrow heading-eyebrow"),
43845
44775
  ...lookSlot("eyebrow")
43846
44776
  }, when("content.eyebrow"), bind$1("content.eyebrow")), text({
43847
44777
  as: "h2",
43848
44778
  ...lookSlot("heading")
43849
- }, bind$1("content.title"))], when("content.title"));
44779
+ }, bind$1("content.title"), when("content.title", { authoringPresence: {
44780
+ kind: "recover-empty-when-active",
44781
+ placeholder: "Add heading"
44782
+ } }))];
44783
+ const copyHeading = el$1("div", {
44784
+ className: titleClassNameFromAlignment,
44785
+ ...lookSlot("head")
44786
+ }, headingNodes, when("content.title"));
44787
+ const lookCopyHeading = el$1("div", {}, headingNodes, when("content._lookSlots.head"));
43850
44788
  const textContentNodes = (className) => {
43851
44789
  const props = {
43852
44790
  className,
@@ -43856,7 +44794,8 @@ var init_media_text = __esmMin((() => {
43856
44794
  };
43857
44795
  return [styledCard([richText(props, bind$1("content.text"))], mediaTextCardOptions, when("content.wrapTextInCard")), richText(props, when("content.wrapTextInCard", { not: true }), bind$1("content.text"))];
43858
44796
  };
43859
- const defaultTextColumn = el$1("div", {}, textContentNodes("rb-prose rb-max-w-none"));
44797
+ const bodyTextColumn = el$1("div", {}, textContentNodes("rb-prose rb-max-w-none"));
44798
+ const defaultTextColumn = el$1("div", {}, [lookCopyHeading, ...textContentNodes("rb-prose rb-max-w-none")]);
43860
44799
  const bioTextColumn = el$1("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)]);
43861
44800
  const defaultImageCommonProps = {
43862
44801
  ...lookSlot("photo"),
@@ -43870,7 +44809,7 @@ var init_media_text = __esmMin((() => {
43870
44809
  } },
43871
44810
  style: { aspectRatio: { $bind: { from: "content.aspectRatio" } } }
43872
44811
  };
43873
- const defaultSingleImage = media(defaultImageCommonProps, bind$1("content.images[0].image"));
44812
+ const defaultSingleImage = media(defaultImageCommonProps, bind$1("content.images[0].image"), when("content.images[0].image"));
43874
44813
  const defaultCarouselImages = carousel({
43875
44814
  className: "rb-media-text-carousel",
43876
44815
  transition: { $bind: {
@@ -43922,7 +44861,11 @@ var init_media_text = __esmMin((() => {
43922
44861
  imageWrapperClassName: "rb-w-full rb-shrink-0",
43923
44862
  textWrapperClassName: "rb-w-full rb-min-w-0 rb-flex-1 rb-self-stretch"
43924
44863
  })], whenImagesLength(0, { not: true }));
43925
- const defaultTextOnlyLayout = el$1("div", lookSlot("copy"), textContentNodes("rb-prose rb-max-w-none"), whenImagesLength(0));
44864
+ const defaultTextOnlyLayout = el$1("div", lookSlot("copy"), [
44865
+ el$1("div", lookSlot("media"), [defaultSingleImage], when("content._lookSlots.media")),
44866
+ lookCopyHeading,
44867
+ ...textContentNodes("rb-prose rb-max-w-none")
44868
+ ], whenImagesLength(0));
43926
44869
  const bioTextOnlyLayout = el$1("div", {
43927
44870
  className: "rb-flex rb-w-full rb-max-w-prose rb-flex-col rb-gap-5",
43928
44871
  ...lookSlot("copy")
@@ -43934,11 +44877,15 @@ var init_media_text = __esmMin((() => {
43934
44877
  const defaultInner = el$1("div", {}, [defaultImagesLayout, defaultTextOnlyLayout]);
43935
44878
  const bioInner = el$1("div", {}, [bioImagesLayout, bioTextOnlyLayout]);
43936
44879
  const defaultLayout = styledSection({
43937
- children: styledContainer({
44880
+ children: [when("content._lookSlots.head", { not: true })(styledContainer({
43938
44881
  rootType: "stack",
43939
44882
  rootProps: { gap: "lg" },
43940
44883
  children: [copyHeading, defaultInner]
43941
- }),
44884
+ })), when("content._lookSlots.head")(styledContainer({
44885
+ rootType: "stack",
44886
+ rootProps: { gap: "lg" },
44887
+ children: [defaultInner]
44888
+ }))],
43942
44889
  baseClass: "",
43943
44890
  spacing: "medium"
43944
44891
  });
@@ -43962,17 +44909,7 @@ var init_media_text = __esmMin((() => {
43962
44909
  el$1("div", {}, [when("content.images[0].image")(defaultSingleImage)], whenImagesLength(1)),
43963
44910
  el$1("div", {}, [el$1("div", {}, [defaultCarouselImages], whenImagesLength(1, { not: true }))], whenImagesLength(0, { not: true })),
43964
44911
  el$1("div", {}, [when("content.images[0].image")(defaultSingleImage)], whenImagesLength(0))
43965
- ]), el$1("div", lookSlot("copy"), [el$1("div", lookSlot("head"), [text({
43966
- as: "p",
43967
- className: eyebrowClassName("rb-eyebrow heading-eyebrow"),
43968
- ...lookSlot("eyebrow")
43969
- }, when("content.eyebrow"), bind$1("content.eyebrow")), text({
43970
- as: "h2",
43971
- ...lookSlot("heading")
43972
- }, bind$1("content.title"), when("content.title", { authoringPresence: {
43973
- kind: "recover-empty-when-active",
43974
- placeholder: "Add heading"
43975
- } }))]), defaultTextColumn])]) })
44912
+ ]), el$1("div", lookSlot("copy"), [el$1("div", lookSlot("head"), headingNodes), bodyTextColumn])]) })
43976
44913
  })
43977
44914
  },
43978
44915
  variantMeaning: {
@@ -44036,6 +44973,7 @@ var init_appointment_booking = __esmMin((() => {
44036
44973
  form: { $bind: { from: "data.form" } },
44037
44974
  services: { $bind: { from: "data.services" } },
44038
44975
  mailingList: { $bind: { from: "$root.mailingList" } },
44976
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
44039
44977
  siteName: { $bind: { from: "$root.siteName" } }
44040
44978
  }));
44041
44979
  stackedLayout$1 = bookingSection([
@@ -44166,7 +45104,9 @@ var init_appointment_services = __esmMin((() => {
44166
45104
  "cards",
44167
45105
  "lead-support",
44168
45106
  "index",
44169
- "sequence"
45107
+ "sequence",
45108
+ "slides",
45109
+ "track"
44170
45110
  ]
44171
45111
  },
44172
45112
  id: "block.appointment-services",
@@ -44708,6 +45648,32 @@ var init_event_registration_shared = __esmMin((() => {
44708
45648
  capacityOverride: z.number().nullable().optional(),
44709
45649
  overrides: z.record(z.string(), z.unknown()).nullable().optional()
44710
45650
  }).nullable();
45651
+ })), versionId, blockSiteTermsSchema;
45652
+ var init_siteTerms$1 = __esmMin((() => {
45653
+ init_src$4();
45654
+ versionId = z.string().uuid().transform((value, ctx) => {
45655
+ const parsed = parseSiteTermsVersionId(value);
45656
+ if (parsed.ok) return parsed.value;
45657
+ ctx.addIssue({
45658
+ code: "custom",
45659
+ message: "Invalid site terms version"
45660
+ });
45661
+ return z.NEVER;
45662
+ });
45663
+ blockSiteTermsSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("none") }), z.object({
45664
+ kind: z.literal("published"),
45665
+ version: z.object({
45666
+ id: versionId,
45667
+ number: z.number().int().positive(),
45668
+ generation: z.number().int().positive()
45669
+ }),
45670
+ businessName: z.string(),
45671
+ href: z.string().min(1).nullable()
45672
+ })]);
45673
+ z.object({
45674
+ versionId,
45675
+ alreadyAgreed: z.boolean()
45676
+ });
44711
45677
  }));
44712
45678
  //#endregion
44713
45679
  //#region ../blocks/src/system/runtime/nodes/events/domain/capacity.ts
@@ -45131,30 +46097,52 @@ var init_domain = __esmMin((() => {
45131
46097
  init_listWeek();
45132
46098
  }));
45133
46099
  //#endregion
45134
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
45135
- function eventMatchesOccurrenceId(event, occurrenceId) {
45136
- return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
46100
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
46101
+ function toRegistrationEvent(event) {
46102
+ return {
46103
+ ...event,
46104
+ selectionId: event.id,
46105
+ registrationSubject: {
46106
+ kind: "occurrence",
46107
+ occurrenceId: event.occurrenceId
46108
+ }
46109
+ };
45137
46110
  }
45138
- function findPreSelectedEvent(input) {
45139
- const occurrenceContext = input.occurrenceContext;
45140
- if (!occurrenceContext) return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
45141
- const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
45142
- startsAt: occurrenceContext.startsAt,
45143
- timeZone: occurrenceContext.timeZone
45144
- }));
45145
- return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
45146
- startsAt: event.startsAt,
45147
- timeZone: event.timeZone
45148
- })) === contextDate) ?? null;
46111
+ function toRegistrationEvents(events) {
46112
+ return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
45149
46113
  }
45150
- function resolveEventRequiresPayment(input) {
45151
- if (input.eligibility) return input.eligibility.requiresPayment;
45152
- if (input.selectedTicketType) return input.selectedTicketType.priceAmount > 0;
45153
- if (!input.event) return false;
45154
- return publicEventPricingType(input.event.pricing) === "paid";
46114
+ /**
46115
+ * Project one whole-series run onto the registration surface.
46116
+ *
46117
+ * Capacity, pricing, payment terms and consent come straight off the canonical
46118
+ * Event record; only the schedule is widened from the single occurrence to the
46119
+ * live run. A run without live sessions has no registration event.
46120
+ */
46121
+ function toWholeSeriesRegistrationEvent(group) {
46122
+ const { representative, run } = group;
46123
+ const sessions = orderedLiveRunSessions(run.sessions);
46124
+ const firstSession = sessions[0];
46125
+ if (!firstSession) return null;
46126
+ const lastSession = sessions[sessions.length - 1] ?? firstSession;
46127
+ return {
46128
+ ...representative,
46129
+ selectionId: run.eventSeriesId,
46130
+ registrationSubject: {
46131
+ kind: "wholeSeries",
46132
+ eventSeriesId: run.eventSeriesId,
46133
+ sessions
46134
+ },
46135
+ startsAt: firstSession.startsAt,
46136
+ endsAt: lastSession.endsAt,
46137
+ timeZone: firstSession.timeZone
46138
+ };
45155
46139
  }
45156
- var init_registrationDerivations = __esmMin((() => {
46140
+ function toWholeSeriesRegistrationEvents(events) {
46141
+ return groupPublicEventsByRun(events).map(toWholeSeriesRegistrationEvent).filter((event) => event !== null);
46142
+ }
46143
+ var init_registrationEventAdapter = __esmMin((() => {
45157
46144
  init_src$4();
46145
+ init_runGrouping();
45158
46146
  }));
45159
46147
  //#endregion
45160
46148
  //#region ../blocks/src/system/runtime/nodes/event-registration/utils.ts
@@ -45178,7 +46166,7 @@ function bookingClock(startsAt, input) {
45178
46166
  return formatBookingTime(bookingInstant(startsAt, input), {
45179
46167
  hour: "numeric",
45180
46168
  minute: "2-digit",
45181
- hour12: true
46169
+ hourCycle: "h12"
45182
46170
  }).replace(/\s*([ap])\.?\s?m\.?$/i, (_match, period) => `${period.toLowerCase()}m`);
45183
46171
  }
45184
46172
  /** "7:00pm – 8:15pm", or just the start when there's no distinct end. */
@@ -45291,6 +46279,32 @@ var init_utils$1 = __esmMin((() => {
45291
46279
  init_dates();
45292
46280
  }));
45293
46281
  //#endregion
46282
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
46283
+ function eventMatchesOccurrenceId(event, occurrenceId) {
46284
+ return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
46285
+ }
46286
+ function findPreSelectedEvent(input) {
46287
+ const occurrenceContext = input.occurrenceContext;
46288
+ if (!occurrenceContext) return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
46289
+ const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
46290
+ startsAt: occurrenceContext.startsAt,
46291
+ timeZone: occurrenceContext.timeZone
46292
+ }));
46293
+ return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
46294
+ startsAt: event.startsAt,
46295
+ timeZone: event.timeZone
46296
+ })) === contextDate) ?? null;
46297
+ }
46298
+ function resolveEventRequiresPayment(input) {
46299
+ if (input.eligibility) return input.eligibility.requiresPayment;
46300
+ if (input.selectedTicketType) return input.selectedTicketType.priceAmount > 0;
46301
+ if (!input.event) return false;
46302
+ return publicEventPricingType(input.event.pricing) === "paid";
46303
+ }
46304
+ var init_registrationDerivations = __esmMin((() => {
46305
+ init_src$4();
46306
+ }));
46307
+ //#endregion
45294
46308
  //#region ../blocks/src/system/runtime/nodes/event-registration/wizardSteps.ts
45295
46309
  function registrationRoute(input) {
45296
46310
  const base = input.chooseEvent ? [
@@ -45530,6 +46544,7 @@ function isOfferingsPreviewEventPreset(value) {
45530
46544
  }
45531
46545
  var OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, OFFERINGS_PREVIEW_EVENT_PRESETS, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, OFFERINGS_PREVIEW_SOURCE_KEYS;
45532
46546
  var init_model = __esmMin((() => {
46547
+ init_site_styles();
45533
46548
  OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT = "Book";
45534
46549
  OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE = "Nothing scheduled just yet.";
45535
46550
  OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS = [
@@ -45598,54 +46613,6 @@ var init_offeringNoun = __esmMin((() => {
45598
46613
  init_model();
45599
46614
  }));
45600
46615
  //#endregion
45601
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
45602
- function toRegistrationEvent(event) {
45603
- return {
45604
- ...event,
45605
- selectionId: event.id,
45606
- registrationSubject: {
45607
- kind: "occurrence",
45608
- occurrenceId: event.occurrenceId
45609
- }
45610
- };
45611
- }
45612
- function toRegistrationEvents(events) {
45613
- return events.filter((event) => event.bookingScope === "single_occurrence").map(toRegistrationEvent);
45614
- }
45615
- /**
45616
- * Project one whole-series run onto the registration surface.
45617
- *
45618
- * Capacity, pricing, payment terms and consent come straight off the canonical
45619
- * Event record; only the schedule is widened from the single occurrence to the
45620
- * live run. A run without live sessions has no registration event.
45621
- */
45622
- function toWholeSeriesRegistrationEvent(group) {
45623
- const { representative, run } = group;
45624
- const sessions = orderedLiveRunSessions(run.sessions);
45625
- const firstSession = sessions[0];
45626
- if (!firstSession) return null;
45627
- const lastSession = sessions[sessions.length - 1] ?? firstSession;
45628
- return {
45629
- ...representative,
45630
- selectionId: run.eventSeriesId,
45631
- registrationSubject: {
45632
- kind: "wholeSeries",
45633
- eventSeriesId: run.eventSeriesId,
45634
- sessions
45635
- },
45636
- startsAt: firstSession.startsAt,
45637
- endsAt: lastSession.endsAt,
45638
- timeZone: firstSession.timeZone
45639
- };
45640
- }
45641
- function toWholeSeriesRegistrationEvents(events) {
45642
- return groupPublicEventsByRun(events).map(toWholeSeriesRegistrationEvent).filter((event) => event !== null);
45643
- }
45644
- var init_registrationEventAdapter = __esmMin((() => {
45645
- init_src$4();
45646
- init_runGrouping();
45647
- }));
45648
- //#endregion
45649
46616
  //#region ../blocks/src/system/runtime/nodes/event-registration/bookingCardDisplay.ts
45650
46617
  /**
45651
46618
  * The booking card the server renders on CMS pages (issue 1581), and the
@@ -45972,6 +46939,7 @@ function isRecord$5(value) {
45972
46939
  }
45973
46940
  var EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS, eventRegistrationPublicEventSchema, eventRegistrationCommonSchemaShape, eventRegistrationEventSourceSchema, eventRegistrationSourceSchema, eventRegistrationDisplaySchema, eventRegistrationHydrationSchema, eventRegistrationRenderSchema, eventRegistrationBlockRuntime;
45974
46941
  var init_event_registration_interactive = __esmMin((() => {
46942
+ init_siteTerms$1();
45975
46943
  init_registrationDisplay();
45976
46944
  init_src$4();
45977
46945
  init_readAuthority();
@@ -46012,6 +46980,7 @@ var init_event_registration_interactive = __esmMin((() => {
46012
46980
  const parsed = parseMailingListRuntimeContext(value);
46013
46981
  return parsed.ok ? parsed.value : void 0;
46014
46982
  }),
46983
+ siteTerms: blockSiteTermsSchema.optional(),
46015
46984
  siteName: z.string().optional()
46016
46985
  };
46017
46986
  eventRegistrationEventSourceSchema = z.discriminatedUnion("kind", [z.object({
@@ -46120,6 +47089,7 @@ var init_event_registration_interactive = __esmMin((() => {
46120
47089
  sitePasses: source.sitePasses ?? null,
46121
47090
  siteMemberships: source.siteMemberships ?? null,
46122
47091
  mailingList: source.mailingList,
47092
+ siteTerms: source.siteTerms,
46123
47093
  siteName: source.siteName,
46124
47094
  offeringNoun: resolveOfferingNoun(source, scopedSourceEvents)
46125
47095
  }
@@ -46295,6 +47265,7 @@ var init_event_registration = __esmMin((() => {
46295
47265
  wholeSeriesRunEvents: { $bind: { from: "data.wholeSeriesRunEvents" } },
46296
47266
  loaderFailures: { $bind: { from: "$root.loaderFailures" } },
46297
47267
  mailingList: { $bind: { from: "$root.mailingList" } },
47268
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
46298
47269
  siteName: { $bind: { from: "$root.siteName" } },
46299
47270
  bookingOfferingPresets: { $bind: {
46300
47271
  from: "$root.bookingOfferingPresets",
@@ -49237,6 +50208,7 @@ var init_recurring_schedule = __esmMin((() => {
49237
50208
  init_fragments$1();
49238
50209
  init_recurring_schedule_projection();
49239
50210
  recurringScheduleLayout = styledSection({
50211
+ skinSlot: "schedule-section",
49240
50212
  children: styledContainer({
49241
50213
  rootType: "stack",
49242
50214
  rootProps: {
@@ -49812,6 +50784,8 @@ var init_offerings_preview = __esmMin((() => {
49812
50784
  offeringsPreviewLayout = [styledSection({
49813
50785
  children: sectionContainer([el$1("offerings-preview", {
49814
50786
  ...cardListPresentationBindings,
50787
+ carouselRegion: { $bind: { from: "content.heading" } },
50788
+ renderInput: { $bind: { from: "content._offeringsPreviewInput" } },
49815
50789
  displayMode: { $bind: displayModeBinding },
49816
50790
  pathname: { $bind: { from: "$root.pathname" } },
49817
50791
  catalogueEvents: { $bind: { from: "data.catalogueEvents" } },
@@ -49860,7 +50834,9 @@ var init_offerings_preview = __esmMin((() => {
49860
50834
  "lead-support",
49861
50835
  "index",
49862
50836
  "sequence",
49863
- "plates"
50837
+ "plates",
50838
+ "slides",
50839
+ "track"
49864
50840
  ]
49865
50841
  },
49866
50842
  id: "block.offerings-preview",
@@ -50825,6 +51801,7 @@ var init_image_gallery = __esmMin((() => {
50825
51801
  bindAspectRatio: true
50826
51802
  })]);
50827
51803
  carouselLayout = carousel({
51804
+ mode: "legacy",
50828
51805
  className: { $bind: {
50829
51806
  from: "content.fullBleed",
50830
51807
  transforms: [{
@@ -51941,6 +52918,7 @@ function resolvePassBuyButtonText(buyButtonText, passPurchaseMode) {
51941
52918
  }
51942
52919
  var shopModeSchema, contentEntrySchema, shopSourceSchema, productVariantOptionDisplaySchema, productCardDisplaySchema, productListDisplaySchema, productDetailDisplaySchema, membershipCardDisplaySchema, passesMembershipsDisplaySchema, cartLineDisplaySchema, cartDisplaySchema, checkoutDisplaySchema, passesMembershipsHydrationSchema, productListHydrationSchema, productDetailHydrationSchema, cartHydrationSchema, checkoutHydrationSchema, passesMembershipsRenderSchema, productListRenderSchema, productDetailRenderSchema, cartRenderSchema, checkoutRenderSchema, shopBlockRuntime, productListBlockRuntime, productDetailBlockRuntime, cartBlockRuntime, checkoutBlockRuntime;
51943
52920
  var init_shop_interactive = __esmMin((() => {
52921
+ init_siteTerms$1();
51944
52922
  init_buttonRoles();
51945
52923
  init_shop_shared();
51946
52924
  init_shared();
@@ -51997,6 +52975,7 @@ var init_shop_interactive = __esmMin((() => {
51997
52975
  memberships: z.array(publicMembershipProductSchema).nullable().optional(),
51998
52976
  products: z.array(publicProductSchema).nullable().optional(),
51999
52977
  siteId: z.string().optional(),
52978
+ siteTerms: blockSiteTermsSchema.optional(),
52000
52979
  demoEmailSuppressed: z.boolean().optional(),
52001
52980
  apiBaseUrl: z.string().optional(),
52002
52981
  readAuthority: browserReadAuthoritySchema.optional(),
@@ -52125,6 +53104,7 @@ var init_shop_interactive = __esmMin((() => {
52125
53104
  memberships: z.array(publicMembershipProductSchema),
52126
53105
  passPurchaseMode: z.enum(["add_to_cart", "buy_now"]),
52127
53106
  buttonVariant: blockButtonRoleSchema,
53107
+ siteTerms: blockSiteTermsSchema.optional(),
52128
53108
  demoEmailSuppressed: z.boolean().optional()
52129
53109
  });
52130
53110
  productListHydrationSchema = z.object({
@@ -52148,6 +53128,7 @@ var init_shop_interactive = __esmMin((() => {
52148
53128
  checkoutHydrationSchema = z.object({
52149
53129
  emptyStateText: z.string(),
52150
53130
  submitButtonText: z.string(),
53131
+ siteTerms: blockSiteTermsSchema.optional(),
52151
53132
  demoEmailSuppressed: z.boolean().optional()
52152
53133
  });
52153
53134
  passesMembershipsRenderSchema = z.object({
@@ -52205,6 +53186,7 @@ var init_shop_interactive = __esmMin((() => {
52205
53186
  memberships: source.showMemberships === false ? [] : source.memberships ?? [],
52206
53187
  passPurchaseMode,
52207
53188
  buttonVariant: source.buttonVariant ?? "primary",
53189
+ siteTerms: source.siteTerms,
52208
53190
  demoEmailSuppressed: source.demoEmailSuppressed
52209
53191
  }
52210
53192
  };
@@ -52299,6 +53281,7 @@ var init_shop_interactive = __esmMin((() => {
52299
53281
  hydration: {
52300
53282
  emptyStateText: source.emptyStateText ?? "Add something to your cart to continue.",
52301
53283
  submitButtonText: source.submitButtonText ?? "Checkout",
53284
+ siteTerms: source.siteTerms,
52302
53285
  demoEmailSuppressed: source.demoEmailSuppressed
52303
53286
  }
52304
53287
  })
@@ -52523,10 +53506,12 @@ var init_shop = __esmMin((() => {
52523
53506
  ],
52524
53507
  icon: "ShoppingBag",
52525
53508
  layout: [styledSection({
53509
+ skinSlot: "shop-section",
52526
53510
  baseClass: "",
52527
53511
  spacing: "spacious",
52528
53512
  children: sectionContainer([shop(withApiBindings$1({
52529
53513
  readAuthority: { $bind: { from: "$root.readAuthority" } },
53514
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
52530
53515
  demoEmailSuppressed: { $bind: {
52531
53516
  from: "$root.demoEmailSuppressed",
52532
53517
  fallback: false
@@ -52600,12 +53585,18 @@ var init_shop = __esmMin((() => {
52600
53585
  dataLoaders: {
52601
53586
  passes: {
52602
53587
  endpoint: "listPublicPasses",
52603
- params: { siteId: { $bind: { from: "$root.siteId" } } },
53588
+ params: {
53589
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
53590
+ siteId: { $bind: { from: "$root.siteId" } }
53591
+ },
52604
53592
  mode: "server"
52605
53593
  },
52606
53594
  memberships: {
52607
53595
  endpoint: "listPublicMemberships",
52608
- params: { siteId: { $bind: { from: "$root.siteId" } } },
53596
+ params: {
53597
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
53598
+ siteId: { $bind: { from: "$root.siteId" } }
53599
+ },
52609
53600
  mode: "server"
52610
53601
  }
52611
53602
  }
@@ -53170,6 +54161,7 @@ function buildGiftingDisplay(source) {
53170
54161
  }
53171
54162
  var publicGiftCardOfferSchema, publicVoucherOfferSchema, publicGiftingOffersResponseSchema, giftingSourceSchema, giftingDisplaySchema, giftingHydrationSchema, giftingRenderSchema, giftingBlockRuntime;
53172
54163
  var init_gifting_interactive = __esmMin((() => {
54164
+ init_siteTerms$1();
53173
54165
  init_islands();
53174
54166
  init_runtime$1();
53175
54167
  publicGiftCardOfferSchema = z.object({
@@ -53201,6 +54193,7 @@ var init_gifting_interactive = __esmMin((() => {
53201
54193
  vouchers: z.array(publicVoucherOfferSchema)
53202
54194
  });
53203
54195
  giftingSourceSchema = z.object({
54196
+ siteTerms: blockSiteTermsSchema.optional(),
53204
54197
  siteId: z.string().optional(),
53205
54198
  apiBaseUrl: z.string().optional(),
53206
54199
  offers: publicGiftingOffersResponseSchema.nullable().optional(),
@@ -53224,6 +54217,7 @@ var init_gifting_interactive = __esmMin((() => {
53224
54217
  emptyStateText: z.string()
53225
54218
  });
53226
54219
  giftingHydrationSchema = z.object({
54220
+ siteTerms: blockSiteTermsSchema.optional(),
53227
54221
  offers: publicGiftingOffersResponseSchema.nullable(),
53228
54222
  checkoutButtonText: z.string(),
53229
54223
  successMessage: z.string()
@@ -53245,6 +54239,7 @@ var init_gifting_interactive = __esmMin((() => {
53245
54239
  buildRender: (source) => ({
53246
54240
  display: buildGiftingDisplay(source),
53247
54241
  hydration: {
54242
+ siteTerms: source.siteTerms,
53248
54243
  offers: source.offers ?? null,
53249
54244
  checkoutButtonText: source.checkoutButtonText?.trim() || "Continue",
53250
54245
  successMessage: source.successMessage?.trim() || "Thanks. Your purchase is complete and your gift will be sent shortly."
@@ -53395,7 +54390,10 @@ var init_gifting = __esmMin((() => {
53395
54390
  dataSchemas: { offers: publicGiftingOffersResponseSchema.optional() },
53396
54391
  dataLoaders: { offers: {
53397
54392
  endpoint: "listPublicGiftingOffers",
53398
- params: { siteId: { $bind: { from: "$root.siteId" } } },
54393
+ params: {
54394
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
54395
+ siteId: { $bind: { from: "$root.siteId" } }
54396
+ },
53399
54397
  mode: "server"
53400
54398
  } }
53401
54399
  };
@@ -53750,10 +54748,10 @@ var init_newsletter_signup = __esmMin((() => {
53750
54748
  background: "surface"
53751
54749
  });
53752
54750
  inlineLayout = styledSection({
53753
- children: props(lookSlot("layout"))(sectionContainer(stackedComposition.layout, {
54751
+ children: [when("content._lookSlots", { not: true })(sectionContainer(stackedComposition.layout, {
53754
54752
  gap: "md",
53755
54753
  className: "newsletter-inline"
53756
- })),
54754
+ })), when("content._lookSlots")(props(lookSlot("layout"))(sectionContainer([el$1("div", lookSlot("head"), newsletterCopyFragment.layout), el$1("div", lookSlot("panel"), newsletterFormFragment.layout)], { gap: "md" })))],
53757
54755
  baseClass: "",
53758
54756
  spacing: "medium",
53759
54757
  background: "surface"
@@ -56212,6 +57210,8 @@ var init_registry$2 = __esmMin((() => {
56212
57210
  offeringsPreviewDatesReadEnabled,
56213
57211
  lookLeadSlotTransform,
56214
57212
  lookQuoteLimitTransform,
57213
+ lookCarouselRegionTransform,
57214
+ lookSkinSlotTransform,
56215
57215
  eventCalendarListWindow,
56216
57216
  eventCalendarLookTimeZone,
56217
57217
  eventCalendarSelectionParam,
@@ -56513,6 +57513,14 @@ var init_facets = __esmMin((() => {
56513
57513
  value: "right",
56514
57514
  label: "Right"
56515
57515
  }], "right"),
57516
+ fixedKnob("block.intro", "imageShape", "Media shape", standardImageShapeOptions, "default"),
57517
+ fixedKnob("block.intro", "imagePosition", "Photo side", [{
57518
+ value: "left",
57519
+ label: "Left"
57520
+ }, {
57521
+ value: "right",
57522
+ label: "Right"
57523
+ }], "left"),
56516
57524
  fixedKnob("block.media-text", "imagePosition", "Photo side", [{
56517
57525
  value: "left",
56518
57526
  label: "Left"
@@ -56670,6 +57678,10 @@ function planArrangementContent(blockKind, manifest, content, audience) {
56670
57678
  ...activeContent,
56671
57679
  ...effectiveContent,
56672
57680
  ...photoContent,
57681
+ ...arrangementShapeContent(effective.look.id, {
57682
+ ...activeContent,
57683
+ ...effectiveContent
57684
+ }),
56673
57685
  ...arrangementPanelContent(activeContent, effective, mode),
56674
57686
  ...arrangementQuoteContent(blockKind, effective, values),
56675
57687
  _effectiveLook: effective,
@@ -56679,10 +57691,19 @@ function planArrangementContent(blockKind, manifest, content, audience) {
56679
57691
  }, values, visiblePhotos.photoCount),
56680
57692
  _effectiveKnobs: knobs,
56681
57693
  _lookAudience: audience,
56682
- _lookSlots: Object.fromEntries(arrangementSlotNames.map((slot) => [slot, slot])),
57694
+ _lookSlots: arrangementContentSlots(blockKind),
56683
57695
  blockLook: effective.look.id
56684
57696
  };
56685
57697
  }
57698
+ /** Widget section hooks use the theme; hero background geometry never travels to list islands. */
57699
+ function arrangementContentSlots(blockKind) {
57700
+ return Object.fromEntries(arrangementSlotNames.filter((slot) => slot !== "schedule-section" && slot !== "shop-section" && (slot !== "background" || blockKind === "block.hero")).map((slot) => [slot, slot]));
57701
+ }
57702
+ /** C photo Looks render shape-specific crops without rewriting authored preferences. */
57703
+ function arrangementShapeContent(lookId, content) {
57704
+ if (lookId !== "intro-photo-beside-text" && lookId !== "media-text-photo-beside-text") return {};
57705
+ return content.imageShape === "circle" ? { aspectRatio: "1/1" } : content.imageShape === "arch" ? { aspectRatio: "4/5" } : {};
57706
+ }
56686
57707
  function arrangementQuoteContent(blockKind, effective, values) {
56687
57708
  if (blockKind !== "block.testimonials") return {};
56688
57709
  const single = effective.look.structure.byMode.default === "single";
@@ -56728,6 +57749,7 @@ function arrangementContentFacts(content) {
56728
57749
  function arrangementPhotoCount(content) {
56729
57750
  if (Array.isArray(content.cards)) return content.cards.filter((card) => isObjectRecord$1(card) && isObjectRecord$1(card.media)).length;
56730
57751
  if (Array.isArray(content.images)) return content.images.filter((item) => isObjectRecord$1(item) && isObjectRecord$1(item.image)).length;
57752
+ if (isObjectRecord$1(content.media)) return 1;
56731
57753
  const section = isObjectRecord$1(content._sectionStyles) ? content._sectionStyles : {};
56732
57754
  return isObjectRecord$1((isObjectRecord$1(section.background) ? section.background : {}).image) ? 1 : 0;
56733
57755
  }
@@ -58912,6 +59934,54 @@ var init_auth = __esmMin((() => {
58912
59934
  init_request();
58913
59935
  init_envelope();
58914
59936
  init_error_propagation();
59937
+ })), versionIdSchema, siteTermsSourceSchema;
59938
+ var init_siteTerms = __esmMin((() => {
59939
+ init_src$4();
59940
+ versionIdSchema = z.string().uuid().transform((value, ctx) => {
59941
+ const parsed = parseSiteTermsVersionId(value);
59942
+ if (parsed.ok) return parsed.value;
59943
+ ctx.addIssue({
59944
+ code: "custom",
59945
+ message: "Invalid site terms version"
59946
+ });
59947
+ return z.NEVER;
59948
+ });
59949
+ z.object({
59950
+ shown: z.discriminatedUnion("kind", [
59951
+ z.object({ kind: z.literal("nothing") }),
59952
+ z.object({
59953
+ kind: z.literal("checkbox"),
59954
+ versionId: versionIdSchema
59955
+ }),
59956
+ z.object({
59957
+ kind: z.literal("already_agreed_line"),
59958
+ versionId: versionIdSchema
59959
+ })
59960
+ ]),
59961
+ agreed: z.boolean()
59962
+ });
59963
+ siteTermsSourceSchema = z.discriminatedUnion("kind", [z.object({
59964
+ kind: z.literal("written"),
59965
+ body: z.custom(isCanonicalRichTextDoc)
59966
+ }), z.object({
59967
+ kind: z.literal("link"),
59968
+ destination: z.discriminatedUnion("kind", [z.object({
59969
+ kind: z.literal("page"),
59970
+ identifier: z.string().trim().min(1)
59971
+ }), z.object({
59972
+ kind: z.literal("url"),
59973
+ href: z.url({ protocol: /^https?$/ })
59974
+ })])
59975
+ })]);
59976
+ z.discriminatedUnion("kind", [z.object({
59977
+ kind: z.literal("publish"),
59978
+ expectedRevision: z.number().int().positive().nullable(),
59979
+ source: siteTermsSourceSchema,
59980
+ askAgain: z.boolean()
59981
+ }).strict(), z.object({
59982
+ kind: z.literal("stop"),
59983
+ expectedRevision: z.number().int().positive()
59984
+ }).strict()]);
58915
59985
  }));
58916
59986
  //#endregion
58917
59987
  //#region ../api/src/index.ts
@@ -58980,6 +60050,7 @@ var init_src = __esmMin((() => {
58980
60050
  init_domains();
58981
60051
  init_admin();
58982
60052
  init_auth();
60053
+ init_siteTerms();
58983
60054
  }));
58984
60055
  //#endregion
58985
60056
  //#region src/data/prefetchBlockData.ts
@@ -59422,8 +60493,9 @@ function buildSiteRenderSupport(site, mediaAssets) {
59422
60493
  site: site.site,
59423
60494
  sdkConfig: site.sdkConfig ?? null,
59424
60495
  bookingOfferingPresets: site.bookingOfferingPresets ?? [],
60496
+ siteTerms: site.siteTerms,
59425
60497
  mailingList: site.mailingList,
59426
- bookingTimeZone: site.bookingTimeZone ?? "UTC",
60498
+ bookingTimeZone: resolveBookingBusinessTimeZone(site.bookingTimeZone),
59427
60499
  ...customBlocks ? { customBlocks } : {},
59428
60500
  supabaseUrl: site.supabaseUrl,
59429
60501
  routeMap: site.routes,
@@ -59577,6 +60649,7 @@ function sanitizeNullableSdkRuntimeBlockContent(blockKind, content) {
59577
60649
  return content ? sanitizeSdkRuntimeBlockContent(blockKind, content) : null;
59578
60650
  }
59579
60651
  var init_pageRuntimeSupport = __esmMin((() => {
60652
+ init_src$4();
59580
60653
  init_newsletter_signup();
59581
60654
  init_src$2();
59582
60655
  init_definitions();
@@ -59717,6 +60790,7 @@ async function loadPageWithDeps(deps, params) {
59717
60790
  },
59718
60791
  resolvedData,
59719
60792
  bookingOfferingPresets: support.bookingOfferingPresets,
60793
+ siteTerms: support.siteTerms,
59720
60794
  mailingList: support.mailingList,
59721
60795
  bookingTimeZone: support.bookingTimeZone,
59722
60796
  supabaseUrl: support.supabaseUrl,