@riverbankcms/sdk 0.166.0 → 0.167.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 (195) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +5 -0
  3. package/dist/_dts/{BlocksIslandsHydrator-CPvN6RBW.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
  4. package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bs3WxFgr.d.ts} +8 -8
  5. package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +2 -2
  6. package/dist/_dts/{client-D4BXQEZc.d.ts → client-CwsI23pj.d.ts} +9 -1
  7. package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-CAeP_-cV.d.ts} +2 -2
  8. package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
  9. package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
  10. package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
  11. package/dist/_dts/{index-ahxQCUc7.d.ts → index-5_jf52sZ.d.ts} +2 -2
  12. package/dist/_dts/{index-Bmboeb49.d.ts → index-C20yUyob.d.ts} +1 -1
  13. package/dist/_dts/{index-DdcwPqQN.d.ts → index-CS6b1B-c.d.ts} +4 -4
  14. package/dist/_dts/{index-wbBZ0awa.d.ts → index-ChpjHK0U.d.ts} +498 -74
  15. package/dist/_dts/{index-kQ5xkM6X.d.ts → index-D7EbliE3.d.ts} +1 -1
  16. package/dist/_dts/{index--qflsCiy.d.ts → index-DeHDwMfu.d.ts} +3 -3
  17. package/dist/_dts/{index-mMMvLLAJ.d.ts → index-RugyUnqR.d.ts} +207 -11
  18. package/dist/_dts/{index-BgJ2aU5c.d.ts → index-bDln38Hm.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-CTqcL7CS.d.ts} +7 -7
  20. package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-C3s9WMPs.d.ts} +5 -5
  21. package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-JPwgRxwh.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +6 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +8 -5
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-DuiHLiPo.d.ts → types-BlaCuPLr.d.ts} +2 -2
  56. package/dist/_dts/{types-BX3Y-EW3.d.ts → types-CwtTcaQP.d.ts} +3 -3
  57. package/dist/_dts/{types-DF54stxv.d.ts → types-D-WElMCy.d.ts} +7 -7
  58. package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-DOWOZYlK.mjs → BookingMailingListNote-CCVXX1LN.mjs} +1 -1
  61. package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +165 -16
  62. package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +3 -3
  63. package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-DAeQPV76.mjs} +10 -29
  64. package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-Bus9R0bj.mjs} +136 -60
  65. package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-DPBLjGwj.mjs} +53 -6
  66. package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
  67. package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
  68. package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-CEumpN7i.mjs} +13 -40
  69. package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +13 -8
  70. package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-BVO-qx4q.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
  72. package/dist/client/{Page-DNDZLRlB.mjs → Page-D4_H_u9V.mjs} +22658 -21604
  73. package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-Dptantmg.mjs} +1 -1
  74. package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-BxEGsKUx.mjs} +18 -18
  75. package/dist/client/{accordion-uVqNowRX.mjs → accordion--EUHmEGa.mjs} +1 -1
  76. package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-BCXwOnhc.mjs} +9 -9
  77. package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-sHHcdism.mjs} +4 -4
  78. package/dist/client/bookings.mjs +5 -5
  79. package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-Cp9xPBFZ.mjs} +1 -1
  80. package/dist/client/{cart-DCxjE3Is.mjs → cart-CCZZC-Lq.mjs} +3 -3
  81. package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-B7JfA19I.mjs} +1 -1
  82. package/dist/client/{checkout-B0EKbeVv.mjs → checkout-CipmYL4A.mjs} +3 -3
  83. package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DraalWdH.mjs} +1 -1
  84. package/dist/client/client.mjs +89 -6
  85. package/dist/client/{context-n6IZigd3.mjs → context-Cv3QHjAF.mjs} +4 -1
  86. package/dist/client/{cta-CDeAwYoN.mjs → cta-P2vJVTEn.mjs} +1 -1
  87. package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +3 -3
  90. package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-dLmyuPap.mjs} +1 -1
  91. package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-BEhC2_-Y.mjs} +11 -14
  92. package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
  93. package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
  94. package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
  95. package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-Bih-BgQM.mjs} +4 -4
  96. package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
  97. package/dist/client/{form-BeNQiZ2V.mjs → form-Bw1uuiUs.mjs} +3 -3
  98. package/dist/client/{form.client-BFdCKlp7.mjs → form.client-pZ-9gN33.mjs} +3 -3
  99. package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-PXlu6XQO.mjs} +1 -1
  100. package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DI3DP48e.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +2 -2
  102. package/dist/client/{headerSection-CalNAShx.mjs → headerSection-BpJYUMd6.mjs} +2 -2
  103. package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-CSoP0cGR.mjs} +4 -4
  104. package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +1 -1
  105. package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
  106. package/dist/client/{noop-D-RG9eR3.mjs → noop-ByVtIWf4.mjs} +28 -4
  107. package/dist/client/portal/client.mjs +8 -8
  108. package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
  109. package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DEad-Pma.mjs} +1 -1
  110. package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-G1SMXG13.mjs} +3 -3
  111. package/dist/client/{productList-DjGrjOwD.mjs → productList-B21TGdpT.mjs} +3 -3
  112. package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-B3vIBkex.mjs} +3 -4
  113. package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-B8aQhJpO.mjs} +205 -178
  114. package/dist/client/rendering/client.mjs +25 -25
  115. package/dist/client/rendering/islands.mjs +1 -1
  116. package/dist/client/rendering.mjs +5 -5
  117. package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
  118. package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
  119. package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-B2UmrQg_.mjs} +9 -9
  120. package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
  121. package/dist/client/{shop-DLufMauE.mjs → shop-mqyoOvOK.mjs} +3 -3
  122. package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-BH-BBnA9.mjs} +10 -10
  123. package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-mdM3UMWG.mjs} +30 -6
  124. package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-CXF5wxdg.mjs} +2 -2
  125. package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
  126. package/dist/client/{site-styles-DELkUk9s.mjs → site-styles-D56hT2u1.mjs} +1637 -406
  127. package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-CrC80EOG.mjs} +11 -156
  128. package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-C4LOaI_Z.mjs} +2 -2
  129. package/dist/client/{useBookingNowIso-Da-f9iHw.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
  130. package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-6Q0nToVA.mjs} +1 -1
  131. package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
  132. package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-Bcs89BR5.mjs} +5 -5
  133. package/dist/client/{view-DAVEoe8A.mjs → view-BN-fxyfq.mjs} +16 -11
  134. package/dist/client/{view-8w4GA8rf.mjs → view-Dh2tGoS0.mjs} +3 -3
  135. package/dist/client/{wizardSteps-DNpajrAH.mjs → wizardSteps-DtkhwKXK.mjs} +17 -10
  136. package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-D4VjPs-r.mjs} +3 -3
  137. package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-Ckr2zk_L.mjs} +309 -111
  138. package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-KOZgw_gS.mjs} +5 -5
  139. package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-CyO2V4kB.mjs} +58 -8
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-DW3uKvNF.mjs} +7 -7
  141. package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-CU9VD-7O.mjs} +17439 -16381
  142. package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-DBi-WybM.mjs} +2014 -381
  143. package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-BhkUJst9.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-BjCb6lOn.mjs} +2 -2
  146. package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-CKxTaC3j.mjs} +1 -1
  147. package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-B7MLTjBX.mjs} +1 -92
  148. package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-BTUc0g9X.mjs} +1 -1
  149. package/dist/preview-next/keepAlive.mjs +1 -1
  150. package/dist/preview-next/middleware.mjs +1 -1
  151. package/dist/preview-next/{route-contract-Bq7SUX3K.mjs → route-contract-Bv3nkdpV.mjs} +83 -0
  152. package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-4fMqzltx.mjs} +4 -4
  153. package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-C72VC_lR.mjs} +756 -64
  154. package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-B_Y_dA20.mjs} +300 -97
  155. package/dist/server/{bindings-DjdUq9FR.mjs → bindings-ConMYJ2U.mjs} +1 -1
  156. package/dist/server/{client-07UeMDzA.mjs → client-Cot-H5fQ.mjs} +88 -5
  157. package/dist/server/config-validation.mjs +1 -1
  158. package/dist/server/config.mjs +1 -1
  159. package/dist/server/data/resolveBlockData.mjs +1 -1
  160. package/dist/server/index.mjs +2 -2
  161. package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-BkaWYEwt.mjs} +4 -4
  162. package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-kviUdH8c.mjs} +2 -2
  163. package/dist/server/metadata.mjs +5 -1
  164. package/dist/server/next/revalidate.mjs +9 -4
  165. package/dist/server/next.mjs +6 -6
  166. package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BTnS09GS.mjs} +2 -2
  167. package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-itXZCXs7.mjs} +1 -1
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-CDyn7iLy.mjs} +132 -25
  170. package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +2 -2
  171. package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Q_Vij87H.mjs} +11752 -11549
  172. package/dist/server/{parseThemeForPersistence-CJMrEkze.mjs → parseThemeForPersistence-CDrF51tJ.mjs} +2 -2
  173. package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-DOG4MkOy.mjs} +1 -1
  174. package/dist/server/prebuild.mjs +1 -1
  175. package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-DlprLLsc.mjs} +3 -33
  176. package/dist/server/{registry-TFPJdGQi.mjs → registry-BPFcpn6k.mjs} +1326 -181
  177. package/dist/server/rendering/components/pageShared.mjs +1 -1
  178. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  179. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  180. package/dist/server/rendering/server.mjs +3 -3
  181. package/dist/server/rendering.mjs +7 -7
  182. package/dist/server/{resolveBlockData-OHlOXlOE.mjs → resolveBlockData-BHvfGD4y.mjs} +1 -1
  183. package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-OXFRGn5M.mjs} +15 -5
  184. package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
  185. package/dist/server/{schema-C2PqHrMo.mjs → schema-DEizlyi4.mjs} +4 -3
  186. package/dist/server/server.mjs +3 -3
  187. package/dist/server/theme-bridge.mjs +2 -2
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DIBFZeMB.mjs → validation-bl6WcAi_.mjs} +6 -6
  190. package/dist/server/{version-DZWZM1H6.mjs → version-BLXZ31S-.mjs} +1 -1
  191. package/dist/styles/index.css +696 -25
  192. package/package.json +1 -1
  193. package/dist/client/events-BmqPeeQm.mjs +0 -20
  194. package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
  195. package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
@@ -1,9 +1,9 @@
1
- import { A as unsafeAsOpaqueButtonColourToken, At as parseThemeColorToken, B as hexColorSchema, Ct as borderColorStyle, Dt as textColorStyle, E as buttonVisualStatesSchema, Et as rgbColorValue, F as expandPalette, G as paletteModeSchema, J as requirePaletteColorsFromEntries, K as paletteValueKey, Mt as parseBlockColorToken, Nt as parseColorTokenParts, O as isVariantRole, S as buttonPressOffsetSchema, St as backgroundColorStyle, T as buttonVariantIdSchema, Tt as mergeStyles, W as paletteColorsSchema, _ as DEFAULT_VARIANT_ALIAS_ID, _t as surfaceForegroundStyle, b as asSpecialVariantId, c as resolveThemeColorReferenceValue, gt as surfaceForegroundInputFromResolved, m as ELEVATION_OFFSET, n as BUTTON_CONTRAST_POLICY, q as paletteValueKeySchema, rt as featuresFromHex, vt as surfaceForegroundValue, x as buttonEffectApplicationSchema, xt as surfaceInkStyle, y as VARIANT_ROLES } from "./resolveButtonColourStates-lry2ORwX.mjs";
2
- import { D as resolveConcreteColorHex, E as planForegroundHover, O as resolveOpaqueSurfaceHex, S as resolveSurfaceForeground, b as mapButtonRoleAppearances, c as scrimTone, i as resolveSurface, o as surfaceDecorationColors, s as gradientScrimSamples, t as parseResolvedSurface, v as PUBLIC_BUTTON_ROLES, w as surfaceInkPublication, x as mapButtonVisualAppearances, y as defineButtonStyleRecipe } from "./accessibleSurfaces-CuN8U_iU.mjs";
3
- import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-3YSDPtDe.mjs";
1
+ import { C as buttonPressOffsetSchema, Ct as backgroundColorStyle, D as buttonVisualStatesSchema, Dt as rgbColorValue, E as buttonVariantIdSchema, Et as mergeStyles, Ft as parseColorTokenParts, G as paletteColorsSchema, I as expandPalette, J as paletteValueKeySchema, K as paletteModeSchema, Mt as parseThemeColorToken, Ot as surfaceRoleForTextToken, Pt as parseBlockColorToken, S as buttonEffectApplicationSchema, St as surfaceInkStyle, V as hexColorSchema, Y as requirePaletteColorsFromEntries, _t as surfaceForegroundInputFromResolved, at as hexToRgb, b as VARIANT_ROLES, h as ELEVATION_OFFSET, it as featuresFromHex, j as unsafeAsOpaqueButtonColourToken, k as isVariantRole, kt as textColorStyle, l as resolveThemeColorReferenceValue, q as paletteValueKey, r as BUTTON_CONTRAST_POLICY, v as DEFAULT_VARIANT_ALIAS_ID, vt as surfaceForegroundStyle, wt as borderColorStyle, x as asSpecialVariantId, yt as surfaceForegroundValue } from "./resolveButtonColourStates-OXFRGn5M.mjs";
2
+ import { C as mapButtonVisualAppearances, E as surfaceInkPublication, M as planForegroundHover, N as resolveConcreteColorHex, O as certifyPaint, P as resolveOpaqueSurfaceHex, S as mapButtonRoleAppearances, b as PUBLIC_BUTTON_ROLES, i as resolveSurface, k as contrastThresholdByPolicy, l as gradientScrimSamples, o as surfaceButtonRequest, s as surfaceDecorationColors, t as parseResolvedSurface, u as scrimTone, w as resolveSurfaceForeground, x as defineButtonStyleRecipe } from "./accessibleSurfaces-B_Y_dA20.mjs";
3
+ import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-BTnS09GS.mjs";
4
4
  import { _ as unsafeAsStoragePath, b as ok$1, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as unsafeAsStorageBucketName, h as unsafeAsMediaAssetId, o as runtimeMediaSchema, p as parseCanonicalMediaIdentifier, v as parseUuidBrand, y as err } from "./media-DnlczCMA.mjs";
5
5
  import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
6
- import { $ as asSiteStyleId, A as NAV_LINK_BORDER_RADIUS_MAP, B as boxBackgroundSchema, D as cardVariantRoleValues, E as cardRoleValues, F as navLinkHoverColorCandidate, I as navLinkOwnsHoverForeground, J as asBoundaryOptionId, K as arrangementModes, L as navLinkOwnsUnderline, M as NAV_LINK_PADDING_MAP, N as NAV_LINK_PADDING_X_MAP, O as normalizeCardRole, P as NAV_LINK_TEXT_SIZE_MAP, Q as asPageFlowPresetId, R as navEffectPolicy, T as cardRoleSchema, U as siteChromeBackgroundOverrideOwner, V as runtimeBoxBackgroundSchema, X as asDesignSystemTemplateId, Z as asLayoutVariantKey, _t as testimonialsCompositionTreatmentValues, at as eyebrowTreatmentValues, bt as visibleHeadingDecorationFamilyValues, ct as headingDecorationColorTokenValues, d as headerVariantValues, et as assertNever$2, ft as noHeadingDecoration, gt as requireNonEmptyReadonlyArray, ht as plainFrame, it as eventListTreatmentValues, j as NAV_LINK_LETTER_SPACING_MAP, mt as panelFrame, nt as defineExactCatalog, pt as offeringsPreviewCompositionTreatmentValues, q as asAppearancePresetId, rt as defineFrameCapability, st as flushPanelFrame, tt as defineBlockDesignCapability, ut as isArrangementMode, vt as tileTreatmentValues, yt as toNonEmptyReadonlyArray, z as boxBackgroundOverlaySchema } from "./schema-C2PqHrMo.mjs";
6
+ import { $ as asSiteStyleId, A as NAV_LINK_BORDER_RADIUS_MAP, B as boxBackgroundSchema, D as cardVariantRoleValues, E as cardRoleValues, F as navLinkHoverColorCandidate, I as navLinkOwnsHoverForeground, J as asBoundaryOptionId, K as arrangementModes, L as navLinkOwnsUnderline, M as NAV_LINK_PADDING_MAP, N as NAV_LINK_PADDING_X_MAP, O as normalizeCardRole, P as NAV_LINK_TEXT_SIZE_MAP, Q as asPageFlowPresetId, R as navEffectPolicy, T as cardRoleSchema, U as siteChromeBackgroundOverrideOwner, V as runtimeBoxBackgroundSchema, X as asDesignSystemTemplateId, Z as asLayoutVariantKey, _t as testimonialsCompositionTreatmentValues, at as eyebrowTreatmentValues, bt as visibleHeadingDecorationFamilyValues, ct as headingDecorationColorTokenValues, d as headerVariantValues, et as assertNever$2, ft as noHeadingDecoration, gt as requireNonEmptyReadonlyArray, ht as plainFrame, it as eventListTreatmentValues, j as NAV_LINK_LETTER_SPACING_MAP, mt as panelFrame, nt as defineExactCatalog, pt as offeringsPreviewCompositionTreatmentValues, q as asAppearancePresetId, rt as defineFrameCapability, st as flushPanelFrame, tt as defineBlockDesignCapability, ut as isArrangementMode, vt as tileTreatmentValues, yt as toNonEmptyReadonlyArray, z as boxBackgroundOverlaySchema } from "./schema-DEizlyi4.mjs";
7
7
  import { o as isRecord$12, t as RichTextDocSchema } from "./richTextSchema-Euhuj-7V.mjs";
8
8
  import { z } from "zod";
9
9
  import React from "react";
@@ -2386,6 +2386,7 @@ const lookKnobBlocks = {
2386
2386
  aspectRatio: "block.media-text",
2387
2387
  stickerLine: "block.hero",
2388
2388
  smallCaption: "block.hero",
2389
+ photoTint: "block.hero",
2389
2390
  candleGlow: "block.hero",
2390
2391
  columnGuides: "block.hero",
2391
2392
  showPhotos: cardListKnobBlocks,
@@ -2738,6 +2739,12 @@ const heroKnobs = [
2738
2739
  "stickerLine"
2739
2740
  ];
2740
2741
  const id$1 = asAppearancePresetId;
2742
+ const calendarRuledRows = defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"], { thumbnail: sketch.band([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]) });
2743
+ const calendarRuledRowsPanel = defineArrangementLook("event-calendar-ruled-rows-panel", "event-calendar", "Ruled rows on a panel", "ledger", ["showCapacity"], {
2744
+ thumbnail: sketch.page([sketch.panel([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.button]))], { ruled: true })])]),
2745
+ slotRoles: { layout: "card" },
2746
+ styleFallback: [id$1("event-calendar-ruled-rows")]
2747
+ });
2741
2748
  //#endregion
2742
2749
  //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
2743
2750
  const appearancePresets = [
@@ -3668,6 +3675,11 @@ const appearancePresets = [
3668
3675
  slotRoles: { sticker: "highlight" },
3669
3676
  styleFallback: [id$1("hero-photo-beside-text")]
3670
3677
  }),
3678
+ defineArrangementLook("hero-photo-then-text", "hero", "Photo, then text below", "split", ["titleSize"], {
3679
+ photoUse: "beside",
3680
+ thumbnail: sketch.page([sketch.photo("medium"), sketch.row([sketch.title(.95, "large"), sketch.title(.6, "large")], [sketch.text(2), sketch.button])]),
3681
+ styleFallback: [id$1("hero-photo-beside-text")]
3682
+ }),
3671
3683
  defineArrangementLook("hero-copy-over-gallery", "hero", "Title over a row of photos", "copy-over-gallery", ["titleSize", "stickerLine"], {
3672
3684
  photoUse: "beside",
3673
3685
  thumbnail: sketch.page([
@@ -3680,6 +3692,7 @@ const appearancePresets = [
3680
3692
  }),
3681
3693
  defineArrangementLook("hero-photo-behind-text", "hero", "Photo behind the text", "classic", ["titleSize", "smallCaption"], {
3682
3694
  photoUse: "behind",
3695
+ photoTreatment: "photo-only",
3683
3696
  thumbnail: sketch.page([sketch.over("full", [
3684
3697
  sketch.title(.7, "large"),
3685
3698
  sketch.text(2, .7),
@@ -3704,6 +3717,7 @@ const appearancePresets = [
3704
3717
  }),
3705
3718
  defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
3706
3719
  photoUse: "behind",
3720
+ photoTreatment: "photo-only",
3707
3721
  thumbnail: sketch.page([sketch.over("banner", [sketch.title(.6)], { panel: true })]),
3708
3722
  slotRoles: { copy: "card" },
3709
3723
  styleFallback: [id$1("hero-page-head")]
@@ -3816,11 +3830,29 @@ const appearancePresets = [
3816
3830
  },
3817
3831
  styleFallback: [id$1("feature-cards-cards")]
3818
3832
  }),
3819
- defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"], { thumbnail: sketch.band([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]) }),
3833
+ calendarRuledRows,
3834
+ calendarRuledRowsPanel,
3820
3835
  defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
3821
3836
  thumbnail: sketch.band([sketch.title(.4), sketch.down(2, [sketch.title(.2, "small"), sketch.panel([sketch.down(2, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])])]),
3822
3837
  styleFallback: [id$1("event-calendar-ruled-rows")]
3823
3838
  }),
3839
+ {
3840
+ ...calendarRuledRowsPanel,
3841
+ id: id$1("event-calendar-combined-panel"),
3842
+ structure: {
3843
+ ...calendarRuledRowsPanel.structure,
3844
+ byMode: { combined: "ledger" },
3845
+ styleFallback: [id$1("event-calendar-combined-rows")]
3846
+ }
3847
+ },
3848
+ {
3849
+ ...calendarRuledRows,
3850
+ id: id$1("event-calendar-combined-rows"),
3851
+ structure: {
3852
+ ...calendarRuledRows.structure,
3853
+ byMode: { combined: "ledger" }
3854
+ }
3855
+ },
3824
3856
  {
3825
3857
  ...defineArrangementLook("event-calendar-week-columns", "event-calendar", "The week in columns", "week-columns", [], { thumbnail: sketch.band([sketch.title(.4), sketch.across(5, [sketch.title(.5, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
3826
3858
  structure: {
@@ -3983,6 +4015,14 @@ const appearancePresets = [
3983
4015
  sketch.title(.8),
3984
4016
  sketch.text(3)
3985
4017
  ])]) }),
4018
+ defineArrangementLook("media-text-photo-to-edge", "media-text", "Photo to the edge", "default", ["imagePosition"], {
4019
+ thumbnail: sketch.page([sketch.row(sketch.weight(1, [
4020
+ sketch.rule,
4021
+ sketch.title(.8),
4022
+ sketch.text(3)
4023
+ ]), sketch.weight(1, [sketch.photo("tall")]))]),
4024
+ styleFallback: [id$1("media-text-photo-beside-text")]
4025
+ }),
3986
4026
  defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
3987
4027
  thumbnail: sketch.band([
3988
4028
  sketch.title(.6),
@@ -4067,6 +4107,11 @@ const appearancePresets = [
4067
4107
  styleFallback: [id$1("body-text-reading-column")]
4068
4108
  }),
4069
4109
  defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", [], { thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })]) }),
4110
+ defineArrangementLook("faq-questions-in-panel", "faq", "Questions in a panel", "default", [], {
4111
+ thumbnail: sketch.page([sketch.panel([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })])], { align: "center" }),
4112
+ slotRoles: { layout: "card" },
4113
+ styleFallback: [id$1("faq-questions-under-title")]
4114
+ }),
4070
4115
  defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], {
4071
4116
  thumbnail: sketch.page([sketch.row(sketch.weight(1, [sketch.rule, sketch.title(.9)]), sketch.weight(2, [sketch.down(4, [sketch.text(1, .8)], { ruled: true })]))]),
4072
4117
  styleFallback: [id$1("faq-questions-under-title")]
@@ -4108,6 +4153,15 @@ const appearancePresets = [
4108
4153
  }],
4109
4154
  styleFallback: [id$1("cta-centred")]
4110
4155
  }),
4156
+ defineArrangementLook("cta-text-in-panel", "cta-full", "Text in a panel", "default", [], {
4157
+ thumbnail: sketch.page([sketch.panel([
4158
+ sketch.title(.5),
4159
+ sketch.text(2),
4160
+ sketch.button
4161
+ ])]),
4162
+ slotRoles: { copy: "card" },
4163
+ styleFallback: [id$1("cta-centred")]
4164
+ }),
4111
4165
  defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", [], { thumbnail: sketch.page([sketch.map, sketch.row([sketch.text(2)], [sketch.text(2)])]) }),
4112
4166
  defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
4113
4167
  thumbnail: sketch.page([sketch.middle(sketch.weight(2, [sketch.map]), sketch.weight(1, [sketch.title(.7, "small"), sketch.text(3)]))]),
@@ -4553,6 +4607,49 @@ function rotateNormalizedPoint(point, rotation) {
4553
4607
  }
4554
4608
  }
4555
4609
  //#endregion
4610
+ //#region ../theme-core/src/site-styles/imageSurfaceBackground.ts
4611
+ /** The brand tint older photo heroes use, shared with the Look photo treatment's brand arm. */
4612
+ function brandScrimOverlay(token) {
4613
+ return {
4614
+ type: "color",
4615
+ color: darkenedThemeToken(token),
4616
+ opacity: imageSurfaceTreatmentOpacity("brand-scrim", void 0)
4617
+ };
4618
+ }
4619
+ const opacityByKind = {
4620
+ "brand-scrim": {
4621
+ soft: .26,
4622
+ balanced: .35,
4623
+ strong: .52
4624
+ },
4625
+ "brand-wash": {
4626
+ soft: .24,
4627
+ balanced: .34,
4628
+ strong: .46
4629
+ },
4630
+ "neutral-scrim": {
4631
+ soft: .42,
4632
+ balanced: .58,
4633
+ strong: .72
4634
+ },
4635
+ "neutral-wash": {
4636
+ soft: 1,
4637
+ balanced: 1,
4638
+ strong: 1
4639
+ },
4640
+ "solid-panel": {
4641
+ soft: .78,
4642
+ balanced: .88,
4643
+ strong: .94
4644
+ }
4645
+ };
4646
+ function imageSurfaceTreatmentOpacity(kind, intensity) {
4647
+ return opacityByKind[kind][intensity ?? "balanced"];
4648
+ }
4649
+ function darkenedThemeToken(token) {
4650
+ return `color-mix(in oklab, rgb(var(--tb-${token})), black 28%)`;
4651
+ }
4652
+ //#endregion
4556
4653
  //#region ../theme-core/src/site-styles/runtimeBackgroundResolution.ts
4557
4654
  function parseCanonicalRuntimeBackground(content) {
4558
4655
  const background = readRecord(readRecord(content._sectionStyles)?.background);
@@ -4567,9 +4664,15 @@ function parseCanonicalRuntimeBackground(content) {
4567
4664
  background: parsed.data
4568
4665
  };
4569
4666
  }
4570
- /** The Look owns shading and ink together; authored image/crop stay intact. */
4571
- function applyLookPhotoTreatment(background, treatment) {
4572
- if (background.type !== "image" || treatment !== "text-overlay") return background;
4667
+ /** The Look owns photo shading; copy panels keep their independently solved ink. */
4668
+ function applyLookPhotoTreatment(background, treatment, palette, tint = "dark") {
4669
+ if (background.type !== "image" || !treatment) return background;
4670
+ if (tint === "brand") return brandPhotoTreatment(background, treatment, palette);
4671
+ if (treatment === "photo-only") return background;
4672
+ return darkPhotoTreatment(background, palette);
4673
+ }
4674
+ function darkPhotoTreatment(background, palette) {
4675
+ const ink = lightPhotoInk(palette);
4573
4676
  return {
4574
4677
  ...background,
4575
4678
  overlay: {
@@ -4577,10 +4680,40 @@ function applyLookPhotoTreatment(background, treatment) {
4577
4680
  opacity: 1,
4578
4681
  gradient: "var(--rb-opening-photo-shade, linear-gradient(transparent, transparent)), linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.76) 25%, rgba(0,0,0,0.4) 46%, transparent 72%)"
4579
4682
  },
4580
- textColor: "neutral-50",
4581
- headingColor: "neutral-50",
4582
- linkColor: "neutral-50",
4583
- supportingColor: "neutral-50"
4683
+ textColor: ink,
4684
+ headingColor: ink,
4685
+ linkColor: ink,
4686
+ supportingColor: ink
4687
+ };
4688
+ }
4689
+ /** Neutral scales follow the ground: their physical light end reverses on dark palettes. */
4690
+ function lightPhotoInk(palette) {
4691
+ return ["neutral-50", "neutral-950"].find((token) => surfaceToneFromForegroundToken(palette, token) === "dark") ?? "#fafafa";
4692
+ }
4693
+ /** A light brand's dark ink cannot sit on unknown pixels: give light ink a dark backing. */
4694
+ function brandPhotoTreatment(background, treatment, palette) {
4695
+ const brand = brandScrimOverlay("primary");
4696
+ if (treatment === "photo-only") return {
4697
+ ...background,
4698
+ overlay: brand
4699
+ };
4700
+ if (surfaceToneFromForegroundToken(palette, "primaryForeground") === "dark") return {
4701
+ ...background,
4702
+ overlay: brand,
4703
+ textColor: "primaryForeground",
4704
+ headingColor: "primaryForeground",
4705
+ linkColor: "primaryForeground",
4706
+ supportingColor: "primaryForeground"
4707
+ };
4708
+ const shade = darkPhotoTreatment(background, palette);
4709
+ const wash = `color-mix(in srgb, ${brand.color} ${brand.opacity * 100}%, transparent)`;
4710
+ return {
4711
+ ...shade,
4712
+ overlay: {
4713
+ type: "gradient",
4714
+ opacity: 1,
4715
+ gradient: `linear-gradient(${wash}, ${wash}), linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8))`
4716
+ }
4584
4717
  };
4585
4718
  }
4586
4719
  function resolveSectionBackground(source, lookDefault, rhythm, arrangementHeroPhoto) {
@@ -4688,6 +4821,35 @@ function deriveSectionGround(resolved, palette) {
4688
4821
  if (solid) return solid;
4689
4822
  return (scrimTone(sectionScrimSamples(background, palette)) ?? sectionForegroundTone(resolved, palette)) === "dark" ? "deep" : "light";
4690
4823
  }
4824
+ /** Content media sits beside the text, so its slots sit on the colour ground, as deriveSectionGround reads it. */
4825
+ function sectionSurfaceBase(resolved, palette) {
4826
+ if (resolved.kind === "base") return {
4827
+ kind: "measured",
4828
+ token: "background"
4829
+ };
4830
+ const background = resolved.kind === "content-media" ? resolved.ground : resolved.background;
4831
+ switch (background.type) {
4832
+ case "image":
4833
+ case "video": return {
4834
+ kind: "unmeasured",
4835
+ paint: "media"
4836
+ };
4837
+ case "gradient": return {
4838
+ kind: "unmeasured",
4839
+ paint: "gradient"
4840
+ };
4841
+ case "color": {
4842
+ const colour = background.color ?? "background";
4843
+ return resolveConcreteColorHex(colour, palette) ? {
4844
+ kind: "measured",
4845
+ token: colour
4846
+ } : {
4847
+ kind: "unmeasured",
4848
+ paint: "colour"
4849
+ };
4850
+ }
4851
+ }
4852
+ }
4691
4853
  function solidSectionGround(background) {
4692
4854
  if (background.type !== "color") return null;
4693
4855
  return solidTokenGround(background.color ?? "background");
@@ -6041,10 +6203,7 @@ const defaultFooterLookRecipes = {
6041
6203
  hoverColorToken: "primary",
6042
6204
  typography: "body"
6043
6205
  },
6044
- legal: {
6045
- kind: "separate",
6046
- bar: null
6047
- },
6206
+ legal: { bar: null },
6048
6207
  brandAlign: "center"
6049
6208
  },
6050
6209
  "footer-links-row": {
@@ -6059,7 +6218,7 @@ const defaultFooterLookRecipes = {
6059
6218
  hoverColorToken: "primary",
6060
6219
  typography: "body"
6061
6220
  },
6062
- legal: { kind: "integrated" },
6221
+ legal: { bar: null },
6063
6222
  brandAlign: "start"
6064
6223
  }
6065
6224
  };
@@ -6426,11 +6585,13 @@ const backgroundOnHoverAlphaEffect = {
6426
6585
  const { themeId, variantId, stateGroup, options } = ctx;
6427
6586
  const rawOpacity = options.opacity;
6428
6587
  const clampedOpacity = Math.max(0, Math.min(100, typeof rawOpacity === "number" && !Number.isNaN(rawOpacity) ? rawOpacity : 50));
6429
- const cssVar = `var(--tb-${options.colorToken || "neutral-800"})`;
6588
+ const colorToken = options.colorToken || "neutral-800";
6589
+ const parts = parseColorTokenParts(colorToken);
6590
+ const background = parts.kind === "raw" ? `color-mix(in srgb, ${parts.value} ${clampedOpacity}%, transparent)` : `rgb(var(--tb-${colorToken}) / ${clampedOpacity}%)`;
6430
6591
  return `
6431
6592
  /* Add semi-transparent background (${stateGroup}) */
6432
6593
  :where([data-theme-scope="${themeId}"]) .${variantId}${stateGroup === "base" ? "" : `:${stateGroup}`} {
6433
- background-color: rgb(${cssVar} / ${clampedOpacity}%);
6594
+ background-color: ${background};
6434
6595
  }
6435
6596
  `;
6436
6597
  }
@@ -7184,12 +7345,13 @@ const EFFECT_PRESETS = [
7184
7345
  ]
7185
7346
  },
7186
7347
  generateCSS: (ctx) => {
7187
- const { themeId, variantId, options, tokens } = ctx;
7348
+ const { themeId, variantId, stateGroup, options, tokens } = ctx;
7188
7349
  const hoverColorToken = options.hoverColorToken ?? options.colorToken ?? "neutral-50";
7350
+ const hoverColor = tokens.getColor(hoverColorToken);
7189
7351
  return `
7190
- /* Change text color on hover */
7191
- :where([data-theme-scope="${themeId}"]) .${variantId}:hover {
7192
- color: ${tokens.getColor(hoverColorToken)};
7352
+ /* Change text color on ${stateGroup} */
7353
+ :where([data-theme-scope="${themeId}"]) .${variantId}${stateGroup === "base" ? "" : `:${stateGroup}`} {
7354
+ color: ${hoverColor};
7193
7355
  }
7194
7356
  `;
7195
7357
  }
@@ -7914,7 +8076,7 @@ function generateFooterBottomTextLinkStyles(footer, themeId, tokens) {
7914
8076
  //#region ../theme-core/src/site-styles/footerLookRecipe.ts
7915
8077
  /** Reject undeclared references when the curated catalogue is loaded, before rendering. */
7916
8078
  function validateFooterRecipeSurfaces(style, recipe) {
7917
- [recipe.ground, ...recipe.legal.kind === "separate" && recipe.legal.bar ? [recipe.legal.bar.background] : []].forEach((ground) => {
8079
+ [recipe.ground, ...recipe.legal.bar ? [recipe.legal.bar.background] : []].forEach((ground) => {
7918
8080
  if (ground.kind === "style-surface" && (style.looks.kind !== "offers" || !style.looks.surfaces[ground.surface])) throw new Error(`Undeclared footer surface: ${ground.surface}`);
7919
8081
  });
7920
8082
  }
@@ -15620,6 +15782,201 @@ const havenPlum = defineCuratedPalette({
15620
15782
  }
15621
15783
  ]
15622
15784
  });
15785
+ const brookTerracotta = defineCuratedPalette({
15786
+ authoringKey: "brook-terracotta",
15787
+ name: "Brook — Terracotta",
15788
+ description: "Warm cream and sand, terracotta for buttons and squiggles, and an olive band.",
15789
+ tags: {
15790
+ tone: "classic",
15791
+ energy: "calm",
15792
+ era: "organic"
15793
+ },
15794
+ mode: "light",
15795
+ colors: [
15796
+ {
15797
+ name: "primary",
15798
+ hex: "#a8573d"
15799
+ },
15800
+ {
15801
+ name: "secondary",
15802
+ hex: "#72765c"
15803
+ },
15804
+ {
15805
+ name: "accent",
15806
+ hex: "#b0624a"
15807
+ },
15808
+ {
15809
+ name: "success",
15810
+ hex: "#4e7a4f"
15811
+ },
15812
+ {
15813
+ name: "warning",
15814
+ hex: "#b7791f"
15815
+ },
15816
+ {
15817
+ name: "destructive",
15818
+ hex: "#b3402f"
15819
+ },
15820
+ {
15821
+ name: "background",
15822
+ hex: "#fbf6eb"
15823
+ },
15824
+ {
15825
+ name: "surface",
15826
+ hex: "#fffdf7"
15827
+ },
15828
+ {
15829
+ name: "surfaceAlt",
15830
+ hex: "#f0e4d3"
15831
+ },
15832
+ {
15833
+ name: "muted",
15834
+ hex: "#5f564b"
15835
+ },
15836
+ {
15837
+ name: "text",
15838
+ hex: "#30281f"
15839
+ },
15840
+ {
15841
+ name: "primaryForeground",
15842
+ hex: "#ffffff"
15843
+ },
15844
+ {
15845
+ name: "border",
15846
+ hex: "#dccdb8"
15847
+ }
15848
+ ]
15849
+ });
15850
+ const brookFell = defineCuratedPalette({
15851
+ authoringKey: "brook-fell",
15852
+ name: "Brook — Fell",
15853
+ description: "Stone white with slate buttons, a fell green band and heather squiggles.",
15854
+ tags: {
15855
+ tone: "classic",
15856
+ energy: "calm",
15857
+ era: "organic"
15858
+ },
15859
+ mode: "light",
15860
+ colors: [
15861
+ {
15862
+ name: "primary",
15863
+ hex: "#2c4a55"
15864
+ },
15865
+ {
15866
+ name: "secondary",
15867
+ hex: "#33463c"
15868
+ },
15869
+ {
15870
+ name: "accent",
15871
+ hex: "#94669a"
15872
+ },
15873
+ {
15874
+ name: "success",
15875
+ hex: "#3e7a55"
15876
+ },
15877
+ {
15878
+ name: "warning",
15879
+ hex: "#b7791f"
15880
+ },
15881
+ {
15882
+ name: "destructive",
15883
+ hex: "#b3402f"
15884
+ },
15885
+ {
15886
+ name: "background",
15887
+ hex: "#f2f1eb"
15888
+ },
15889
+ {
15890
+ name: "surface",
15891
+ hex: "#ffffff"
15892
+ },
15893
+ {
15894
+ name: "surfaceAlt",
15895
+ hex: "#e3e5dd"
15896
+ },
15897
+ {
15898
+ name: "muted",
15899
+ hex: "#545c57"
15900
+ },
15901
+ {
15902
+ name: "text",
15903
+ hex: "#1d2522"
15904
+ },
15905
+ {
15906
+ name: "primaryForeground",
15907
+ hex: "#ffffff"
15908
+ },
15909
+ {
15910
+ name: "border",
15911
+ hex: "#cbd0c6"
15912
+ }
15913
+ ]
15914
+ });
15915
+ const brookDusk = defineCuratedPalette({
15916
+ authoringKey: "brook-dusk",
15917
+ name: "Brook — Dusk",
15918
+ description: "Dark plum and dusk violet, with pale brass for buttons and squiggles.",
15919
+ tags: {
15920
+ tone: "classic",
15921
+ energy: "calm",
15922
+ era: "organic"
15923
+ },
15924
+ mode: "dark",
15925
+ colors: [
15926
+ {
15927
+ name: "primary",
15928
+ hex: "#d8c29e"
15929
+ },
15930
+ {
15931
+ name: "secondary",
15932
+ hex: "#3a2f4b"
15933
+ },
15934
+ {
15935
+ name: "accent",
15936
+ hex: "#c9a66a"
15937
+ },
15938
+ {
15939
+ name: "success",
15940
+ hex: "#8fc7a0"
15941
+ },
15942
+ {
15943
+ name: "warning",
15944
+ hex: "#e3b25c"
15945
+ },
15946
+ {
15947
+ name: "destructive",
15948
+ hex: "#e58a7a"
15949
+ },
15950
+ {
15951
+ name: "background",
15952
+ hex: "#1c1824"
15953
+ },
15954
+ {
15955
+ name: "surface",
15956
+ hex: "#2b2535"
15957
+ },
15958
+ {
15959
+ name: "surfaceAlt",
15960
+ hex: "#241f2e"
15961
+ },
15962
+ {
15963
+ name: "muted",
15964
+ hex: "#b6acc1"
15965
+ },
15966
+ {
15967
+ name: "text",
15968
+ hex: "#eee8f2"
15969
+ },
15970
+ {
15971
+ name: "primaryForeground",
15972
+ hex: "#1c1824"
15973
+ },
15974
+ {
15975
+ name: "border",
15976
+ hex: "#433a50"
15977
+ }
15978
+ ]
15979
+ });
15623
15980
  //#endregion
15624
15981
  //#region ../theme-core/src/palette/curated/index.ts
15625
15982
  function admitCuratedPaletteDefinition(definition) {
@@ -15686,6 +16043,18 @@ const styleSuggestedPalettes = [
15686
16043
  ...admitCuratedPaletteDefinition(havenPlum),
15687
16044
  ownerStyleId: "site-style:haven"
15688
16045
  },
16046
+ {
16047
+ ...admitCuratedPaletteDefinition(brookTerracotta),
16048
+ ownerStyleId: "site-style:brook"
16049
+ },
16050
+ {
16051
+ ...admitCuratedPaletteDefinition(brookFell),
16052
+ ownerStyleId: "site-style:brook"
16053
+ },
16054
+ {
16055
+ ...admitCuratedPaletteDefinition(brookDusk),
16056
+ ownerStyleId: "site-style:brook"
16057
+ },
15689
16058
  {
15690
16059
  ...admitCuratedPaletteDefinition(fulcrumDeepGreen),
15691
16060
  ownerStyleId: "site-style:fulcrum"
@@ -16899,6 +17268,79 @@ const havenTypography = {
16899
17268
  },
16900
17269
  scale: "spacious"
16901
17270
  };
17271
+ /** Brook: Cormorant Garamond at 400 for headings (an uploaded display face may only have 400); Inter to read. */
17272
+ const brookTypography = {
17273
+ body: {
17274
+ family: "Inter, system-ui, sans-serif",
17275
+ size: "md",
17276
+ weight: "regular",
17277
+ lineHeight: "relaxed",
17278
+ letterSpacing: "normal"
17279
+ },
17280
+ smallHeading: {
17281
+ family: "Inter, system-ui, sans-serif",
17282
+ weight: "semibold"
17283
+ },
17284
+ headings: {
17285
+ default: {
17286
+ family: "\"Cormorant Garamond\", Georgia, serif",
17287
+ weight: "regular",
17288
+ lineHeight: "normal",
17289
+ letterSpacing: "normal",
17290
+ italic: null,
17291
+ case: null
17292
+ },
17293
+ h1: {
17294
+ size: "2xl",
17295
+ weight: "regular",
17296
+ lineHeight: "tight",
17297
+ letterSpacing: "normal",
17298
+ italic: null
17299
+ },
17300
+ h2: {
17301
+ size: "xl",
17302
+ weight: "regular",
17303
+ lineHeight: "tight",
17304
+ letterSpacing: "normal",
17305
+ italic: null
17306
+ },
17307
+ h3: {
17308
+ size: "md",
17309
+ weight: "regular",
17310
+ lineHeight: "snug",
17311
+ letterSpacing: "normal",
17312
+ italic: null
17313
+ }
17314
+ },
17315
+ scale: "balanced"
17316
+ };
17317
+ const brookFontPairings = [
17318
+ {
17319
+ id: "brook-cormorant",
17320
+ heading: "\"Cormorant Garamond\", Georgia, serif",
17321
+ body: "Inter, system-ui, sans-serif"
17322
+ },
17323
+ {
17324
+ id: "brook-hanken",
17325
+ heading: "\"Hanken Grotesk\", system-ui, sans-serif",
17326
+ body: "\"Source Serif 4\", Georgia, serif",
17327
+ headingTreatment: {
17328
+ weight: "semibold",
17329
+ letterSpacing: "tight",
17330
+ lineHeight: "tight"
17331
+ }
17332
+ },
17333
+ {
17334
+ id: "brook-jost",
17335
+ heading: "Jost, system-ui, sans-serif",
17336
+ body: "Jost, system-ui, sans-serif",
17337
+ headingTreatment: {
17338
+ weight: "light",
17339
+ letterSpacing: "normal",
17340
+ lineHeight: "snug"
17341
+ }
17342
+ }
17343
+ ];
16902
17344
  const fulcrumFontPairings = [{
16903
17345
  id: "fulcrum-source",
16904
17346
  heading: "\"Source Serif 4\", Georgia, serif",
@@ -17373,6 +17815,15 @@ const headerCurationBySiteStyle = {
17373
17815
  layoutId: "classic",
17374
17816
  styleIds: ["fine-line"]
17375
17817
  }]),
17818
+ "site-style:brook": defineHeaderCuration([{
17819
+ layoutId: "classic",
17820
+ styleIds: [
17821
+ "serif-line",
17822
+ "brand-underline",
17823
+ "fine-line",
17824
+ "minimal"
17825
+ ]
17826
+ }]),
17376
17827
  "site-style:clarity-zen-blue": defineHeaderCuration([{
17377
17828
  layoutId: "centered",
17378
17829
  styleIds: [
@@ -18894,6 +19345,462 @@ const havenLooks = {
18894
19345
  defaultJoin: noneBoundaryOption.id,
18895
19346
  offers: havenOffers
18896
19347
  };
19348
+ /**
19349
+ * Brook (issue 1682): paper panels, hairline rules and a hand-drawn squiggle under each section
19350
+ * heading. The mockup names its grounds base, quiet, surface, band, brand and inverse; in code
19351
+ * they are base (background), band (surfaceAlt, the quiet ground), sheet (surface), deep
19352
+ * (secondary, the coloured band), brand (primary) and inverse (text). Panels take the quiet
19353
+ * colour on light grounds. On coloured grounds they shade the enclosing paint,
19354
+ * with contrast checked against the resulting panel.
19355
+ */
19356
+ const brookRoles = {
19357
+ card: {
19358
+ default: "band",
19359
+ brand: {
19360
+ source: "shade",
19361
+ opacity: 12
19362
+ },
19363
+ deep: {
19364
+ source: "shade",
19365
+ opacity: 12
19366
+ }
19367
+ },
19368
+ statement: {
19369
+ default: "brand",
19370
+ brand: "sheet"
19371
+ },
19372
+ highlight: "sheet"
19373
+ };
19374
+ const brookLinks = { link: "primary" };
19375
+ /**
19376
+ * Looks drawn as one panel holding a white list (Questions in a panel, Ruled rows on a panel)
19377
+ * put the list on `highlight`: the sheet on light grounds, and on coloured grounds a lighter
19378
+ * shade of the same paint than the panel around it.
19379
+ */
19380
+ const brookPanelListRoles = {
19381
+ ...brookRoles,
19382
+ highlight: {
19383
+ default: "sheet",
19384
+ brand: {
19385
+ source: "shade",
19386
+ opacity: 7
19387
+ },
19388
+ deep: {
19389
+ source: "shade",
19390
+ opacity: 7
19391
+ }
19392
+ }
19393
+ };
19394
+ const brookOffers = [
19395
+ {
19396
+ id: id("event-calendar-combined-panel"),
19397
+ treatment: "rows-panel",
19398
+ itemRoles: { container: "highlight" },
19399
+ roleMap: brookPanelListRoles
19400
+ },
19401
+ {
19402
+ id: id("event-calendar-combined-rows"),
19403
+ treatment: "rows",
19404
+ roleMap: brookRoles
19405
+ },
19406
+ {
19407
+ id: id("team-members-portrait-bio"),
19408
+ treatment: "team-bio",
19409
+ roleMap: brookRoles
19410
+ },
19411
+ {
19412
+ id: id("team-members-tall-portraits"),
19413
+ treatment: "team-portraits",
19414
+ roleMap: brookRoles
19415
+ },
19416
+ {
19417
+ id: id("team-members-ruled-names"),
19418
+ treatment: "team-names",
19419
+ roleMap: brookRoles
19420
+ },
19421
+ {
19422
+ id: id("shop-price-cards"),
19423
+ treatment: "prices",
19424
+ roleMap: brookRoles
19425
+ },
19426
+ {
19427
+ id: id("shop-price-cards-featured"),
19428
+ treatment: "prices-featured",
19429
+ roleMap: brookRoles
19430
+ },
19431
+ {
19432
+ id: id("shop-ruled-prices"),
19433
+ treatment: "price-rows",
19434
+ roleMap: brookRoles
19435
+ },
19436
+ {
19437
+ id: id("card-list-photos-on-top"),
19438
+ treatment: "photos-on-top",
19439
+ roleMap: brookRoles
19440
+ },
19441
+ {
19442
+ id: id("hero-photo-behind-text"),
19443
+ treatment: "hero-panel",
19444
+ addKnobs: ["photoTint"],
19445
+ roleMap: brookRoles
19446
+ },
19447
+ {
19448
+ id: id("hero-text-over-photo"),
19449
+ treatment: "hero-cover",
19450
+ addKnobs: ["photoTint"],
19451
+ roleMap: brookRoles
19452
+ },
19453
+ {
19454
+ id: id("hero-photo-beside-text"),
19455
+ visibleMarks: ["sticker"],
19456
+ treatment: "hero-split",
19457
+ roleMap: brookRoles
19458
+ },
19459
+ {
19460
+ id: id("hero-photo-then-text"),
19461
+ treatment: "hero-photo-then",
19462
+ roleMap: brookRoles
19463
+ },
19464
+ {
19465
+ id: id("hero-short-photo-banner"),
19466
+ treatment: "hero-banner",
19467
+ addKnobs: ["photoTint"],
19468
+ roleMap: brookRoles
19469
+ },
19470
+ {
19471
+ id: id("hero-page-head"),
19472
+ treatment: "hero-page-head",
19473
+ roleMap: brookRoles
19474
+ },
19475
+ {
19476
+ id: id("intro-photo-beside-text"),
19477
+ treatment: "intro-photo",
19478
+ roleMap: brookRoles
19479
+ },
19480
+ {
19481
+ id: id("intro-statement-beside-text"),
19482
+ treatment: "intro-statement",
19483
+ roleMap: brookRoles
19484
+ },
19485
+ {
19486
+ id: id("media-text-photo-beside-text"),
19487
+ treatment: "media-beside",
19488
+ roleMap: brookRoles
19489
+ },
19490
+ {
19491
+ id: id("media-text-photo-to-edge"),
19492
+ treatment: "media-edge",
19493
+ roleMap: brookRoles
19494
+ },
19495
+ {
19496
+ id: id("feature-cards-open-columns"),
19497
+ treatment: "open-columns",
19498
+ roleMap: brookRoles
19499
+ },
19500
+ {
19501
+ id: id("feature-cards-sequence"),
19502
+ treatment: "steps",
19503
+ roleMap: brookRoles
19504
+ },
19505
+ {
19506
+ id: id("feature-cards-cards"),
19507
+ treatment: "cards",
19508
+ roleMap: brookRoles
19509
+ },
19510
+ {
19511
+ id: id("feature-cards-index"),
19512
+ treatment: "index",
19513
+ roleMap: brookRoles
19514
+ },
19515
+ {
19516
+ id: id("card-list-scroll-row"),
19517
+ treatment: "card-row",
19518
+ roleMap: brookRoles
19519
+ },
19520
+ {
19521
+ id: id("event-calendar-ruled-rows-panel"),
19522
+ treatment: "rows-panel",
19523
+ itemRoles: { container: "highlight" },
19524
+ roleMap: brookPanelListRoles
19525
+ },
19526
+ {
19527
+ id: id("event-calendar-ruled-rows"),
19528
+ treatment: "rows",
19529
+ roleMap: brookRoles
19530
+ },
19531
+ {
19532
+ id: id("event-calendar-session-cards"),
19533
+ treatment: "session-cards",
19534
+ roleMap: brookRoles
19535
+ },
19536
+ {
19537
+ id: id("event-calendar-grouped-by-day"),
19538
+ treatment: "day-groups",
19539
+ roleMap: brookRoles
19540
+ },
19541
+ {
19542
+ id: id("event-calendar-next-three"),
19543
+ treatment: "compact",
19544
+ roleMap: brookRoles
19545
+ },
19546
+ {
19547
+ id: id("events-spotlight"),
19548
+ treatment: "spotlight",
19549
+ roleMap: brookRoles
19550
+ },
19551
+ {
19552
+ id: id("events-recurring-week"),
19553
+ treatment: "week-list",
19554
+ roleMap: brookRoles
19555
+ },
19556
+ {
19557
+ id: id("event-calendar-month-grid"),
19558
+ treatment: "month-grid",
19559
+ roleMap: brookRoles,
19560
+ itemRoles: { container: "card" }
19561
+ },
19562
+ {
19563
+ id: id("event-calendar-month-day"),
19564
+ treatment: "month-day",
19565
+ roleMap: brookRoles
19566
+ },
19567
+ {
19568
+ id: id("event-details-panel"),
19569
+ treatment: "details-panel",
19570
+ roleMap: brookRoles
19571
+ },
19572
+ {
19573
+ id: id("event-details-header"),
19574
+ treatment: "event-header",
19575
+ roleMap: brookRoles,
19576
+ slotRoles: { panel: "card" }
19577
+ },
19578
+ {
19579
+ id: id("testimonials-quote-columns"),
19580
+ treatment: "quote-columns",
19581
+ roleMap: brookRoles
19582
+ },
19583
+ {
19584
+ id: id("testimonials-quote-cards"),
19585
+ treatment: "quote-cards",
19586
+ roleMap: brookRoles
19587
+ },
19588
+ {
19589
+ id: id("testimonials-lead-quote"),
19590
+ treatment: "quote-lead",
19591
+ roleMap: brookRoles
19592
+ },
19593
+ {
19594
+ id: id("testimonials-one-quote"),
19595
+ treatment: "quote-single",
19596
+ roleMap: brookRoles
19597
+ },
19598
+ {
19599
+ id: id("testimonials-scroll-row"),
19600
+ treatment: "quote-row",
19601
+ roleMap: brookRoles
19602
+ },
19603
+ {
19604
+ id: id("testimonials-one-at-a-time"),
19605
+ treatment: "quote-slides",
19606
+ roleMap: brookRoles
19607
+ },
19608
+ {
19609
+ id: id("faq-questions-in-panel"),
19610
+ treatment: "faq-panel",
19611
+ itemRoles: { container: "highlight" },
19612
+ roleMap: brookPanelListRoles
19613
+ },
19614
+ {
19615
+ id: id("faq-questions-under-title"),
19616
+ treatment: "faq-under",
19617
+ roleMap: brookRoles
19618
+ },
19619
+ {
19620
+ id: id("faq-title-beside-questions"),
19621
+ treatment: "faq-beside",
19622
+ roleMap: brookRoles
19623
+ },
19624
+ {
19625
+ id: id("faq-questions-two-columns"),
19626
+ treatment: "faq-columns",
19627
+ roleMap: brookRoles
19628
+ },
19629
+ {
19630
+ id: id("faq-all-answers-showing"),
19631
+ treatment: "faq-open",
19632
+ roleMap: brookRoles
19633
+ },
19634
+ {
19635
+ id: id("cta-text-in-panel"),
19636
+ treatment: "cta-panel",
19637
+ roleMap: brookRoles
19638
+ },
19639
+ {
19640
+ id: id("cta-centred"),
19641
+ treatment: "cta-centred",
19642
+ roleMap: brookRoles
19643
+ },
19644
+ {
19645
+ id: id("cta-title-beside-buttons"),
19646
+ treatment: "cta-beside",
19647
+ roleMap: brookRoles
19648
+ },
19649
+ {
19650
+ id: id("cta-figure-beside-offer"),
19651
+ treatment: "cta-figure",
19652
+ roleMap: brookRoles
19653
+ },
19654
+ {
19655
+ id: id("newsletter-signup-text-beside"),
19656
+ treatment: "signup-beside",
19657
+ roleMap: brookRoles
19658
+ },
19659
+ {
19660
+ id: id("newsletter-signup-one-row"),
19661
+ treatment: "signup-row",
19662
+ roleMap: brookRoles
19663
+ },
19664
+ {
19665
+ id: id("form-below-introduction"),
19666
+ treatment: "form-below",
19667
+ roleMap: brookRoles
19668
+ },
19669
+ {
19670
+ id: id("form-beside-introduction-arched-panel"),
19671
+ treatment: "form-beside",
19672
+ roleMap: brookRoles
19673
+ },
19674
+ {
19675
+ id: id("body-text-reading-column"),
19676
+ treatment: "body-reading",
19677
+ roleMap: brookRoles
19678
+ },
19679
+ {
19680
+ id: id("body-text-title-beside"),
19681
+ treatment: "body-beside",
19682
+ roleMap: brookRoles
19683
+ },
19684
+ {
19685
+ id: id("body-text-large-opening"),
19686
+ treatment: "body-opening",
19687
+ roleMap: brookRoles
19688
+ },
19689
+ {
19690
+ id: id("image-gallery-square-tiles"),
19691
+ treatment: "gallery-tiles",
19692
+ roleMap: brookRoles
19693
+ },
19694
+ {
19695
+ id: id("image-gallery-captions-under"),
19696
+ treatment: "gallery-captions",
19697
+ roleMap: brookRoles
19698
+ },
19699
+ {
19700
+ id: id("image-gallery-lead-photo"),
19701
+ treatment: "gallery-lead",
19702
+ roleMap: brookRoles
19703
+ },
19704
+ {
19705
+ id: id("location-map-beside-address"),
19706
+ treatment: "map-beside",
19707
+ roleMap: brookRoles,
19708
+ slotRoles: { panel: "card" }
19709
+ },
19710
+ {
19711
+ id: id("location-map-above-details"),
19712
+ treatment: "map-above",
19713
+ roleMap: brookRoles
19714
+ },
19715
+ {
19716
+ id: id("location-map-address-over-wide-map"),
19717
+ treatment: "map-wide",
19718
+ roleMap: brookRoles
19719
+ },
19720
+ {
19721
+ id: id("location-map-entrance-photo"),
19722
+ treatment: "map-entrance",
19723
+ roleMap: brookRoles
19724
+ }
19725
+ ];
19726
+ const brookLooks = {
19727
+ kind: "offers",
19728
+ skin: "brook",
19729
+ skinTokens: {
19730
+ radius: "8px",
19731
+ rule: "1px",
19732
+ "mark-length": "134px",
19733
+ "mark-weight": "16px",
19734
+ gutter: "32px",
19735
+ "copy-gap": "1.25rem",
19736
+ "stack-gap": "2.5rem",
19737
+ "shadow-offset": "0",
19738
+ rotation: "0deg",
19739
+ wrap: "1232px"
19740
+ },
19741
+ fontLoading: { extraBodyFontWeights: [500, 600] },
19742
+ surfaces: {
19743
+ base: {
19744
+ kind: "token",
19745
+ token: "background",
19746
+ foreground: brookLinks
19747
+ },
19748
+ band: {
19749
+ kind: "token",
19750
+ token: "surfaceAlt",
19751
+ foreground: brookLinks
19752
+ },
19753
+ sheet: {
19754
+ kind: "token",
19755
+ token: "surface",
19756
+ foreground: brookLinks
19757
+ },
19758
+ deep: {
19759
+ kind: "token",
19760
+ token: "secondary"
19761
+ },
19762
+ brand: {
19763
+ kind: "token",
19764
+ token: "primary",
19765
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
19766
+ },
19767
+ inverse: {
19768
+ kind: "token",
19769
+ token: "text"
19770
+ }
19771
+ },
19772
+ rhythm: {
19773
+ "flow:quiet": [
19774
+ "base",
19775
+ "base",
19776
+ "band",
19777
+ "base"
19778
+ ],
19779
+ "flow:balanced": [
19780
+ "base",
19781
+ "base",
19782
+ "base",
19783
+ "deep",
19784
+ "band",
19785
+ "base",
19786
+ "band",
19787
+ "base"
19788
+ ],
19789
+ "flow:expressive": [
19790
+ "base",
19791
+ "base",
19792
+ "deep",
19793
+ "base",
19794
+ "band",
19795
+ "brand",
19796
+ "base",
19797
+ "band",
19798
+ "inverse"
19799
+ ]
19800
+ },
19801
+ defaultJoin: noneBoundaryOption.id,
19802
+ offers: brookOffers
19803
+ };
18897
19804
  /** Folio: quiet sheets and band-coloured statements. */
18898
19805
  const folioRoles = {
18899
19806
  card: "sheet",
@@ -20986,7 +21893,6 @@ const curatedSiteStyles = [
20986
21893
  typography: "body"
20987
21894
  },
20988
21895
  legal: {
20989
- kind: "separate",
20990
21896
  bar: {
20991
21897
  fullBleed: true,
20992
21898
  background: {
@@ -21137,7 +22043,7 @@ const curatedSiteStyles = [
21137
22043
  hoverColorToken: "primary",
21138
22044
  typography: "body"
21139
22045
  },
21140
- legal: { kind: "integrated" },
22046
+ legal: { bar: null },
21141
22047
  brandAlign: "start"
21142
22048
  } },
21143
22049
  recommendedFooterLookIds: ["footer-links-row"],
@@ -21251,7 +22157,7 @@ const curatedSiteStyles = [
21251
22157
  hoverColorToken: "primary",
21252
22158
  typography: "body"
21253
22159
  },
21254
- legal: { kind: "integrated" },
22160
+ legal: { bar: null },
21255
22161
  brandAlign: "start"
21256
22162
  } },
21257
22163
  recommendedFooterLookIds: ["footer-links-row"],
@@ -21306,10 +22212,7 @@ const curatedSiteStyles = [
21306
22212
  hoverColorToken: "primary",
21307
22213
  typography: "heading"
21308
22214
  },
21309
- legal: {
21310
- kind: "separate",
21311
- bar: null
21312
- },
22215
+ legal: { bar: null },
21313
22216
  brandAlign: "center"
21314
22217
  } },
21315
22218
  recommendedFooterLookIds: ["footer-centred-name", "footer-links-row"],
@@ -21435,21 +22338,18 @@ const curatedSiteStyles = [
21435
22338
  hoverColorToken: "primary",
21436
22339
  typography: "body"
21437
22340
  },
21438
- legal: {
21439
- kind: "separate",
21440
- bar: {
21441
- fullBleed: false,
21442
- background: {
21443
- kind: "token",
21444
- token: "surface"
21445
- },
21446
- textColor: "text",
21447
- textAlign: "left",
21448
- paddingY: "tight",
21449
- paddingX: "none",
21450
- borderTop: { width: "none" }
21451
- }
21452
- },
22341
+ legal: { bar: {
22342
+ fullBleed: false,
22343
+ background: {
22344
+ kind: "token",
22345
+ token: "surface"
22346
+ },
22347
+ textColor: "text",
22348
+ textAlign: "left",
22349
+ paddingY: "tight",
22350
+ paddingX: "none",
22351
+ borderTop: { width: "none" }
22352
+ } },
21453
22353
  brandAlign: "start",
21454
22354
  brandLogoSize: "md"
21455
22355
  } },
@@ -21535,24 +22435,21 @@ const curatedSiteStyles = [
21535
22435
  hoverColorToken: "primaryForeground",
21536
22436
  typography: "body"
21537
22437
  },
21538
- legal: {
21539
- kind: "separate",
21540
- bar: {
21541
- fullBleed: false,
21542
- background: {
21543
- kind: "style-surface",
21544
- surface: "deep"
21545
- },
21546
- textColor: "primaryForeground",
21547
- textAlign: "left",
21548
- paddingY: "compact",
21549
- paddingX: "none",
21550
- borderTop: {
21551
- width: "medium",
21552
- colorToken: "primaryForeground"
21553
- }
22438
+ legal: { bar: {
22439
+ fullBleed: false,
22440
+ background: {
22441
+ kind: "style-surface",
22442
+ surface: "deep"
22443
+ },
22444
+ textColor: "primaryForeground",
22445
+ textAlign: "left",
22446
+ paddingY: "compact",
22447
+ paddingX: "none",
22448
+ borderTop: {
22449
+ width: "medium",
22450
+ colorToken: "primaryForeground"
21554
22451
  }
21555
- },
22452
+ } },
21556
22453
  brandAlign: "start",
21557
22454
  brandLogoSize: "md"
21558
22455
  } },
@@ -21636,24 +22533,21 @@ const curatedSiteStyles = [
21636
22533
  hoverColorToken: "background",
21637
22534
  typography: "body"
21638
22535
  },
21639
- legal: {
21640
- kind: "separate",
21641
- bar: {
21642
- fullBleed: false,
21643
- background: {
21644
- kind: "style-surface",
21645
- surface: "inverse"
21646
- },
21647
- textColor: "background",
21648
- textAlign: "left",
21649
- paddingY: "compact",
21650
- paddingX: "none",
21651
- borderTop: {
21652
- width: "thin",
21653
- colorToken: "background"
21654
- }
22536
+ legal: { bar: {
22537
+ fullBleed: false,
22538
+ background: {
22539
+ kind: "style-surface",
22540
+ surface: "inverse"
22541
+ },
22542
+ textColor: "background",
22543
+ textAlign: "left",
22544
+ paddingY: "compact",
22545
+ paddingX: "none",
22546
+ borderTop: {
22547
+ width: "thin",
22548
+ colorToken: "background"
21655
22549
  }
21656
- },
22550
+ } },
21657
22551
  brandAlign: "start",
21658
22552
  brandLogoSize: "md"
21659
22553
  } },
@@ -21708,24 +22602,21 @@ const curatedSiteStyles = [
21708
22602
  hoverColorToken: "text",
21709
22603
  typography: "body"
21710
22604
  },
21711
- legal: {
21712
- kind: "separate",
21713
- bar: {
21714
- fullBleed: false,
21715
- background: {
21716
- kind: "style-surface",
21717
- surface: "band"
21718
- },
21719
- textColor: "text",
21720
- textAlign: "left",
21721
- paddingY: "compact",
21722
- paddingX: "none",
21723
- borderTop: {
21724
- width: "thin",
21725
- colorToken: "border"
21726
- }
22605
+ legal: { bar: {
22606
+ fullBleed: false,
22607
+ background: {
22608
+ kind: "style-surface",
22609
+ surface: "band"
22610
+ },
22611
+ textColor: "text",
22612
+ textAlign: "left",
22613
+ paddingY: "compact",
22614
+ paddingX: "none",
22615
+ borderTop: {
22616
+ width: "thin",
22617
+ colorToken: "border"
21727
22618
  }
21728
- },
22619
+ } },
21729
22620
  brandAlign: "start",
21730
22621
  brandLogoSize: "md"
21731
22622
  } },
@@ -21740,6 +22631,75 @@ const curatedSiteStyles = [
21740
22631
  paletteRecommendation("haven-sage"),
21741
22632
  paletteRecommendation("haven-plum")
21742
22633
  ]
22634
+ }),
22635
+ defineCuratedSiteStyle({
22636
+ id: "site-style:brook",
22637
+ name: "Brook",
22638
+ offering: {
22639
+ kind: "public",
22640
+ generation: { kind: "explicit_only" }
22641
+ },
22642
+ description: "Soft waves where your photos and colour bands meet, hand-drawn squiggles under headings, and calm panels for your classes. For yoga teachers, retreats and wellbeing practices.",
22643
+ generationBrief: "Use calm, warm words in sentence case. Say plainly what happens in a class or retreat, who it suits and what to bring, give real times, prices and places, and avoid wellness cliches and health claims.",
22644
+ headingDecoration: noHeadingDecoration,
22645
+ tokenRecipes: {
22646
+ palette: "warm-neutral",
22647
+ contrast: "standard",
22648
+ radius: "soft",
22649
+ shadow: "none",
22650
+ typography: "classic-serif",
22651
+ spacing: "airy",
22652
+ motion: "subtle"
22653
+ },
22654
+ compositionBudget: balancedBudget,
22655
+ typography: brookTypography,
22656
+ fontPairings: brookFontPairings,
22657
+ looks: brookLooks,
22658
+ themeOverrides: {
22659
+ accordions: editorialDividedAccordionSystem,
22660
+ testimonialQuote: serifDisplayQuote
22661
+ },
22662
+ footerLookRecipes: { "footer-links-row": {
22663
+ arrangement: "simple",
22664
+ ground: {
22665
+ kind: "style-surface",
22666
+ surface: "base"
22667
+ },
22668
+ nav: {
22669
+ weight: "regular",
22670
+ colorToken: "text",
22671
+ hoverColorToken: "primary",
22672
+ typography: "body"
22673
+ },
22674
+ legal: { bar: {
22675
+ fullBleed: false,
22676
+ background: {
22677
+ kind: "style-surface",
22678
+ surface: "base"
22679
+ },
22680
+ textColor: "text",
22681
+ textAlign: "left",
22682
+ paddingY: "compact",
22683
+ paddingX: "none",
22684
+ borderTop: {
22685
+ width: "thin",
22686
+ colorToken: "border"
22687
+ }
22688
+ } },
22689
+ brandAlign: "start",
22690
+ brandLogoSize: "md"
22691
+ } },
22692
+ recommendedFooterLookIds: ["footer-links-row"],
22693
+ buttonStyleChoices: [
22694
+ buttonChoice("pebble"),
22695
+ buttonChoice("showtime-pill"),
22696
+ buttonChoice("flat-ink")
22697
+ ],
22698
+ paletteRecommendations: [
22699
+ paletteRecommendation("brook-terracotta"),
22700
+ paletteRecommendation("brook-fell"),
22701
+ paletteRecommendation("brook-dusk")
22702
+ ]
21743
22703
  })
21744
22704
  ];
21745
22705
  const curatedSiteStylesById = new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -21971,7 +22931,7 @@ function validateLookFallbacks(style, catalogue = appearancePresets.filter(isArr
21971
22931
  /** Every admitted calendar mode needs an automatic Look before a style can load. */
21972
22932
  function validateCalendarModeOffers(style, catalogue = appearancePresets.filter(isArrangementAppearancePreset)) {
21973
22933
  const calendarLooks = catalogue.filter((look) => look.blockKinds.includes("block.event-calendar"));
21974
- arrangementModes.forEach((mode) => {
22934
+ arrangementModes.filter((mode) => mode !== "combined").forEach((mode) => {
21975
22935
  if (!calendarLooks.some((look) => lookModes(look).includes(mode) && style.offers.some((offer) => offer.id === look.id))) throw new Error(`Missing automatic calendar Look for ${style.skin}: ${mode}`);
21976
22936
  });
21977
22937
  }
@@ -22108,14 +23068,23 @@ function validateOfferKnobs(style, catalogue) {
22108
23068
  });
22109
23069
  });
22110
23070
  }
22111
- /** One role resolver, including section inheritance and ground-specific overrides. */
22112
- function resolveItemSurface(role, ground, style) {
22113
- return resolveSurface(itemSurfaceSpec(role, ground, style), style.context);
23071
+ /** Ground-keyed shades use their default surface when the section has no measurable paint. */
23072
+ function pickRoleSurface(mapped, ground, base) {
23073
+ if (typeof mapped === "string" || "source" in mapped) return mapped;
23074
+ const picked = mapped[ground] ?? mapped.default;
23075
+ return typeof picked !== "string" && base.kind === "unmeasured" ? mapped.default : picked;
22114
23076
  }
22115
23077
  /** The declaration selected by a role/ground mapping; shared by preparation and checks. */
22116
- function itemSurfaceSpec(role, ground, style) {
22117
- const mapped = style.roleMap[role];
22118
- const name = typeof mapped === "string" ? mapped : mapped[ground] ?? mapped.default;
23078
+ function itemSurfaceSpec(role, ground, style, base) {
23079
+ const name = pickRoleSurface(style.roleMap[role], ground, base);
23080
+ if (typeof name !== "string") {
23081
+ if (base.kind === "unmeasured") throw new Error(`A ${role} shade has no paint to shade on a ${base.paint} section`);
23082
+ return {
23083
+ kind: "tint",
23084
+ base: base.token,
23085
+ ...name
23086
+ };
23087
+ }
22119
23088
  if (name === "section") return {
22120
23089
  kind: "paint",
22121
23090
  paint: { kind: "transparent" }
@@ -22247,6 +23216,26 @@ function selectItemSurfacePresentation(presentation, role) {
22247
23216
  ...presentation.items[role]
22248
23217
  } : presentation;
22249
23218
  }
23219
+ function lookPresentationSurfaces(presentation) {
23220
+ const branch = (value) => [...Object.values(value.slots), ...Object.values(value.states).flatMap((states) => Object.values(states))];
23221
+ return [...branch(presentation), ...Object.values(presentation.items).flatMap(branch)];
23222
+ }
23223
+ /**
23224
+ * Every surface in the presentation was decided against this palette. Colours are
23225
+ * compared by value, so a transported or re-parsed copy of the same theme still matches.
23226
+ */
23227
+ function lookPresentationOnPalette(presentation, palette) {
23228
+ return lookPresentationSurfaces(presentation).every((surface) => samePalette(surface.revision.palette, palette));
23229
+ }
23230
+ function samePalette(decided, expected) {
23231
+ return decided === expected || [.../* @__PURE__ */ new Set([...Object.keys(decided), ...Object.keys(expected)])].every((key) => decided[key] === expected[key]);
23232
+ }
23233
+ /** Transport re-certifies from the inputs; a slot that comes back as media was never an arrangement slot. */
23234
+ const parseArrangementSlotSurface = (value) => requireArrangementSlotSurface(parseResolvedSurface(value));
23235
+ function requireArrangementSlotSurface(surface) {
23236
+ if (surface.proof === "unproven-media") throw new Error("Arrangement slot surfaces never paint media");
23237
+ return surface;
23238
+ }
22250
23239
  /** Solid tokens retain section semantics; literals/gradients use the solved ink. */
22251
23240
  function resolvedSurfaceGround(surface, inherited) {
22252
23241
  if (!surface || surface.kind === "inherit") return inherited;
@@ -22290,7 +23279,7 @@ function resolveSlotBranch(input) {
22290
23279
  }));
22291
23280
  const today = input.look.slotRoles.today;
22292
23281
  const under = resolveSlot(input, "group-date");
22293
- const surface = today ? resolveItemSurface(today, under.ground, input.style) : void 0;
23282
+ const surface = today ? applySlotTint(input, "today", today, under).surface : void 0;
22294
23283
  return {
22295
23284
  slots,
22296
23285
  states: surface ? { "group-date": { today: surface } } : {}
@@ -22301,40 +23290,68 @@ function resolveSlot(input, slot, visiting = []) {
22301
23290
  const parent = input.parents[slot];
22302
23291
  const under = parent ? resolveSlot(input, parent, [...visiting, slot]) : {
22303
23292
  ground: input.ground,
22304
- base: input.base
23293
+ base: input.base,
23294
+ buttonContext: input.style.context.buttonContext
22305
23295
  };
22306
- const role = input.itemRole && itemSlots.includes(slot) ? input.itemRole : input.roles[slot];
22307
- const decided = applySlotTint(input, slot, role ? resolveItemSurface(role, under.ground, input.style) : void 0, under);
23296
+ const decided = applySlotTint(input, slot, input.itemRole && itemSlots.includes(slot) ? input.itemRole : input.roles[slot], under);
22308
23297
  return {
22309
23298
  ...decided,
22310
23299
  base: surfaceBase(decided.surface, under.base)
22311
23300
  };
22312
23301
  }
22313
23302
  function surfaceBase(surface, inherited) {
22314
- return surface?.kind === "owned" && surface.paint.kind === "solid" ? surface.tintBase ?? surface.paint.token : inherited;
22315
- }
22316
- function applySlotTint(input, slot, owned, under) {
22317
- const tint = input.look.surfaceTints?.[slot];
22318
- if (!tint || tint.knob && input.content?.[tint.knob] !== true) return {
23303
+ return surface?.kind === "owned" ? {
23304
+ kind: "measured",
23305
+ token: surface.tintBase ?? surface.paint.token
23306
+ } : inherited;
23307
+ }
23308
+ /** Slot tints need a measured paint; shades inherit their enclosing button request and ground. */
23309
+ function applySlotTint(input, slot, role, under) {
23310
+ const spec = role ? itemSurfaceSpec(role, under.ground, input.style, under.base) : void 0;
23311
+ const owned = spec ? resolveSurface(spec, slotContext(spec, under, input.style.context)) : void 0;
23312
+ const tint = activeSlotTint(input, slot, spec);
23313
+ const base = tint?.source === "shade" ? under.base : surfaceBase(owned, under.base);
23314
+ if (!tint || base.kind === "unmeasured") return {
22319
23315
  surface: owned,
22320
- ground: resolvedSurfaceGround(owned, under.ground)
23316
+ ground: resolvedSurfaceGround(owned, under.ground),
23317
+ buttonContext: slotButtonRequest(spec, under, input.style.context)
22321
23318
  };
22322
- const base = owned?.kind === "owned" && owned.paint.kind === "solid" ? owned.paint.token : under.base;
22323
23319
  const baseSurface = resolveSurface({
22324
23320
  kind: "token",
22325
- token: base
23321
+ token: base.token
22326
23322
  }, input.style.context);
23323
+ const tintSpec = {
23324
+ kind: "tint",
23325
+ base: base.token,
23326
+ source: tint.source,
23327
+ opacity: tint.opacity,
23328
+ gradient: tint.gradient
23329
+ };
22327
23330
  return {
22328
- surface: resolveSurface({
22329
- kind: "tint",
22330
- base,
22331
- source: tint.source,
22332
- opacity: tint.opacity,
22333
- gradient: tint.gradient
22334
- }, input.style.context),
22335
- ground: resolvedSurfaceGround(baseSurface, under.ground)
23331
+ surface: resolveSurface(tintSpec, slotContext(tintSpec, under, input.style.context)),
23332
+ buttonContext: slotButtonRequest(tintSpec, under, input.style.context),
23333
+ ground: tint.source === "shade" ? under.ground : resolvedSurfaceGround(baseSurface, under.ground)
22336
23334
  };
22337
23335
  }
23336
+ /** Only a shade owns paint derived from its ancestor; transparent surfaces keep their canonical inherited decision. */
23337
+ function slotContext(spec, under, context) {
23338
+ return spec.kind === "tint" && spec.source === "shade" ? {
23339
+ ...context,
23340
+ buttonContext: under.buttonContext
23341
+ } : context;
23342
+ }
23343
+ /** What a slot hands its descendants: the resolver's request, never its already-checked button styles. */
23344
+ function slotButtonRequest(spec, under, context) {
23345
+ if (!spec || spec.kind === "paint" && spec.paint.kind === "transparent") return under.buttonContext;
23346
+ return surfaceButtonRequest(spec, slotContext(spec, under, context));
23347
+ }
23348
+ /** Explicit enabled slot tints override the role's default paint. */
23349
+ function activeSlotTint(input, slot, spec) {
23350
+ const tint = input.look.surfaceTints?.[slot];
23351
+ if (!tint) return spec?.kind === "tint" ? spec : void 0;
23352
+ if (tint.knob && input.content?.[tint.knob] !== true) return void 0;
23353
+ return tint;
23354
+ }
22338
23355
  const itemSlots = [
22339
23356
  "item",
22340
23357
  "lead",
@@ -22352,6 +23369,81 @@ function slotAssignments({ look, slotRoles, itemRoles }) {
22352
23369
  };
22353
23370
  }
22354
23371
  //#endregion
23372
+ //#region ../theme-core/src/footer/footerForegrounds.ts
23373
+ /** The footer's own ground and the foreground contract certified on it. */
23374
+ function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
23375
+ return resolveSurfaceForeground(footer?.background ?? {
23376
+ type: "color",
23377
+ color: "surface"
23378
+ }, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
23379
+ }
23380
+ function resolveFooterBottomBarPaint(footer, palette) {
23381
+ const bar = footer.bottomBar;
23382
+ if (!bar) return { kind: "inherits" };
23383
+ const root = resolveFooterRootForeground(footer, palette);
23384
+ const ground = root.kind === "known" && root.provenance.kind === "measured" ? root.provenance.backdropHex : null;
23385
+ return bar.background?.type === "color" ? {
23386
+ kind: "surface",
23387
+ foreground: barSurfaceForeground(footer, bar.background, ground, palette)
23388
+ } : barTextPaint(footer, root, ground, palette);
23389
+ }
23390
+ /** A bar with its own colour owns a contract, composited over the footer's measured ground. */
23391
+ function barSurfaceForeground(footer, background, ground, palette) {
23392
+ const bar = footer.bottomBar;
23393
+ return resolveSurfaceForeground(background, palette, {
23394
+ text: bar?.textColor,
23395
+ link: footer.bottomTextLinkStyle?.colorToken ?? bar?.textColor,
23396
+ linkHover: footer.bottomTextLinkStyle?.hoverColorToken
23397
+ }, { compositeBase: ground });
23398
+ }
23399
+ /** A bar without its own colour paints its declared text on the footer's ground. */
23400
+ function barTextPaint(footer, root, ground, palette) {
23401
+ const declared = footer.bottomBar?.textColor;
23402
+ if (footer.background?.contentOwner === "site-chrome-editor" || !declared) return { kind: "inherits" };
23403
+ if (!ground) return {
23404
+ kind: "unmeasured",
23405
+ declared
23406
+ };
23407
+ return {
23408
+ kind: "ink",
23409
+ declared,
23410
+ paint: certifyPaint("footer bottom bar text", paintedInk(declared, root), contrastThresholdByPolicy["body-aa"], ground, { palette })
23411
+ };
23412
+ }
23413
+ /**
23414
+ * The colour a declared text token shows: `text`, `heading` and `mutedText` paint the
23415
+ * footer's certified role ink (at the token's opacity), any other token its palette colour.
23416
+ */
23417
+ function paintedInk(declared, root) {
23418
+ const parts = parseColorTokenParts(declared);
23419
+ const role = parts.kind === "token" ? surfaceRoleForTextToken(parts.token) : null;
23420
+ if (!role || root.kind !== "known" || parts.kind !== "token") return declared;
23421
+ const ink = root.roles[role];
23422
+ return parts.opacityPercent === null ? ink : withOpacity(ink, parts.opacityPercent);
23423
+ }
23424
+ function withOpacity(ink, opacityPercent) {
23425
+ const parts = parseColorTokenParts(ink);
23426
+ if (parts.kind === "token") return `${parts.token}/${opacityPercent}`;
23427
+ const hex = resolveOpaqueSurfaceHex(ink, {});
23428
+ if (!hex) return ink;
23429
+ const { r, g, b } = hexToRgb(hex);
23430
+ return `rgba(${r}, ${g}, ${b}, ${opacityPercent / 100})`;
23431
+ }
23432
+ //#endregion
23433
+ //#region ../theme-core/src/header/headerRootForeground.ts
23434
+ /**
23435
+ * The header bar's foreground contract, certified on its own ground. A transparent
23436
+ * header paints over the page opening, so it uses the opening's projected (and
23437
+ * certified) foreground, or inherits when there is none.
23438
+ */
23439
+ function resolveHeaderRootForeground(header, palette, isTransparent) {
23440
+ if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "inherits" };
23441
+ return resolveSurfaceForeground(header?.background ?? {
23442
+ type: "color",
23443
+ color: "surface"
23444
+ }, palette, headerForegroundCandidates(header));
23445
+ }
23446
+ //#endregion
22355
23447
  //#region ../blocks/src/system/registryStore.ts
22356
23448
  const REGISTRY_SYMBOL$1 = Symbol.for("@riverbankcms/blocks/system/definitions");
22357
23449
  const isBlocksTestRuntime$1 = typeof process !== "undefined" && typeof process.env !== "undefined" && process.env.RIVERBANK_BLOCKS_TEST === "1";
@@ -27183,20 +28275,6 @@ function resolveBackgroundColorValue(value, context) {
27183
28275
  //#endregion
27184
28276
  //#region ../blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.ts
27185
28277
  const sectionSurfaceCache = /* @__PURE__ */ new WeakMap();
27186
- function resolveHeaderRootForeground(header, palette, isTransparent) {
27187
- if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "inherits" };
27188
- const background = header?.background;
27189
- return resolveSurfaceForeground(background ?? {
27190
- type: "color",
27191
- color: "surface"
27192
- }, palette, headerForegroundCandidates(header));
27193
- }
27194
- function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
27195
- return resolveSurfaceForeground(footer?.background ?? {
27196
- type: "color",
27197
- color: "surface"
27198
- }, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
27199
- }
27200
28278
  function resolveSurfaceForegroundStyles(value, context, options) {
27201
28279
  const resolved = cachedSectionSurface(value, context, options);
27202
28280
  const foreground = resolved.foreground;
@@ -30951,6 +32029,24 @@ const heroBlockDefinition = { manifest: createBlockManifest({
30951
32029
  renderInHeader: true,
30952
32030
  intent: "style"
30953
32031
  }),
32032
+ {
32033
+ id: "photoTint",
32034
+ type: "select",
32035
+ multiple: false,
32036
+ required: false,
32037
+ label: "Photo tint",
32038
+ options: [{
32039
+ label: "Dark",
32040
+ value: "dark"
32041
+ }, {
32042
+ label: "Brand colour",
32043
+ value: "brand"
32044
+ }],
32045
+ ui: {
32046
+ intent: "display",
32047
+ hidden: true
32048
+ }
32049
+ },
30954
32050
  {
30955
32051
  id: "candleGlow",
30956
32052
  type: "boolean",
@@ -32063,7 +33159,7 @@ function resolvedItemSurfaceProps(surface, slot, style = void 0) {
32063
33159
  }
32064
33160
  const resolvedSurfaceSchema = z.unknown().transform((value, context) => {
32065
33161
  try {
32066
- return parseResolvedSurface(value);
33162
+ return parseArrangementSlotSurface(value);
32067
33163
  } catch {
32068
33164
  context.addIssue({
32069
33165
  code: "custom",
@@ -33937,36 +35033,19 @@ const footerBottomBarStyleTransform = {
33937
35033
  run: (value, _options, context) => {
33938
35034
  const footer = asPartialObject(value);
33939
35035
  const bottomBar = footer?.bottomBar;
33940
- return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), footerBottomBarForegroundStyle(footer, context.theme.palette), footerBottomBarInkStyle(footer, context));
35036
+ return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), ...footerBottomBarForegroundStyles(footer, context));
33941
35037
  }
33942
35038
  };
33943
- function footerBottomBarForegroundStyle(footer, palette) {
33944
- if (!footer?.bottomBar) return void 0;
33945
- const foreground = footerBottomBarSurfaceForeground(footer, palette);
33946
- return foreground === null ? backgroundlessBottomBarForegroundStyle(footer) : resolvedForegroundStyle(foreground);
33947
- }
33948
- /** A bar without its own colour paints nothing, so the footer's inks carry on. */
33949
- function footerBottomBarInkStyle(footer, context) {
33950
- const foreground = footer ? footerBottomBarSurfaceForeground(footer, context.theme.palette) : null;
33951
- return foreground === null ? void 0 : solvedInkStyle(foreground, context);
33952
- }
33953
- function footerBottomBarSurfaceForeground(footer, palette) {
33954
- const bar = footer.bottomBar;
33955
- if (bar?.background?.type !== "color") return null;
33956
- return resolveSurfaceForeground(bar.background, palette, {
33957
- text: bar.textColor,
33958
- link: footer.bottomTextLinkStyle?.colorToken ?? bar.textColor,
33959
- linkHover: footer.bottomTextLinkStyle?.hoverColorToken
33960
- }, { compositeBase: measuredFooterBackdrop(footer, palette) });
33961
- }
33962
- function backgroundlessBottomBarForegroundStyle(footer) {
33963
- if (footer.background?.contentOwner === "site-chrome-editor") return;
33964
- const textColor = footer.bottomBar?.textColor;
33965
- return textColor ? textColorStyle(textColor) : void 0;
33966
- }
33967
- function measuredFooterBackdrop(footer, palette) {
33968
- const foreground = resolveFooterRootForeground(footer, palette);
33969
- return foreground.kind === "known" && foreground.provenance.kind === "measured" ? foreground.provenance.backdropHex : null;
35039
+ /** The bar's own certified contract and inks, its certified text on the footer's ground, or nothing of its own. */
35040
+ function footerBottomBarForegroundStyles(footer, context) {
35041
+ if (!footer) return [];
35042
+ const paint = resolveFooterBottomBarPaint(footer, context.theme.palette);
35043
+ switch (paint.kind) {
35044
+ case "inherits": return [];
35045
+ case "surface": return [resolvedForegroundStyle(paint.foreground), solvedInkStyle(paint.foreground, context)];
35046
+ case "unmeasured": return [textColorStyle(paint.declared)];
35047
+ case "ink": return [paint.paint.fallback ? { color: paint.paint.ink } : textColorStyle(paint.declared)];
35048
+ }
33970
35049
  }
33971
35050
  const footerLogoClassTransform = {
33972
35051
  id: "layout.footerLogoClass",
@@ -34275,8 +35354,9 @@ function visitRichTextNode(node, allowedTokens, tokenValues) {
34275
35354
  return changed ? nextNode : node;
34276
35355
  }
34277
35356
  function interpolateRichTextTokens(value, options, context) {
34278
- if (!isRecord$12(value)) return value;
34279
- return visitRichTextNode(value, new Set(options.tokens), {
35357
+ if (typeof value !== "string" && !isRecord$12(value)) return value;
35358
+ const allowedTokens = new Set(options.tokens);
35359
+ const tokenValues = {
34280
35360
  year: () => formatDate$2({
34281
35361
  kind: "instant",
34282
35362
  value: readRuntimeNow(context.now)
@@ -34285,7 +35365,12 @@ function interpolateRichTextTokens(value, options, context) {
34285
35365
  year: "numeric"
34286
35366
  }),
34287
35367
  site_name: () => getSiteName(context)
34288
- });
35368
+ };
35369
+ if (typeof value === "string") return replaceTokenText(value, allowedTokens, {
35370
+ ...tokenValues,
35371
+ site_name: () => getSiteName(context) ?? ""
35372
+ }).trim();
35373
+ return visitRichTextNode(value, allowedTokens, tokenValues);
34289
35374
  }
34290
35375
  const contentTransforms = [{
34291
35376
  id: "content.interpolateRichTextTokens",
@@ -34702,9 +35787,9 @@ const brandLogo = link({
34702
35787
  from: "$root.theme.footer.logo",
34703
35788
  transforms: [{
34704
35789
  id: "layout.footerLogoClass",
34705
- options: { base: "footer-logo rb-inline-flex rb-items-center rb-gap-3 rb-no-underline" }
35790
+ options: { base: "footer-logo rb-inline-flex rb-flex-wrap rb-items-center rb-gap-3 rb-no-underline" }
34706
35791
  }],
34707
- fallback: "footer-logo rb-inline-flex rb-items-center rb-gap-3 rb-no-underline"
35792
+ fallback: "footer-logo rb-inline-flex rb-flex-wrap rb-items-center rb-gap-3 rb-no-underline"
34708
35793
  } }
34709
35794
  }, [brandMedia, brandTitle], (node) => ({
34710
35795
  ...node,
@@ -34811,7 +35896,8 @@ const authoredCopy = richText({
34811
35896
  }] }));
34812
35897
  const footerEngagement = stack({
34813
35898
  gap: "md",
34814
- className: "rb-w-full"
35899
+ className: "rb-w-full",
35900
+ "data-footer-engagement": ""
34815
35901
  }, [
34816
35902
  text({
34817
35903
  as: "p",
@@ -34827,9 +35913,18 @@ const footerEngagement = stack({
34827
35913
  }), [], when("module.engagement.kind", { equals: "mailing-list" }))
34828
35914
  ], when("module.kind", { equals: "engagement" }));
34829
35915
  const platformAttribution = el("div", {
34830
- className: "rb-caption",
35916
+ className: "rb-caption rb-footer-credit",
34831
35917
  "data-site-attribution": "macadamia"
34832
- }, [
35918
+ }, [el("svg", {
35919
+ viewBox: "556 422 262 274",
35920
+ className: "rb-footer-credit-mark",
35921
+ shapes: [{
35922
+ kind: "path",
35923
+ d: "M695.95 432.12C703.56 441.79 712.58 444.68 722.92 450.58C734.35 457.11 744.89 465 754.42 474.07C800.52 517.98 814.25 592.12 777.56 646.07C769.9 657.35 760.46 667.11 753.15 678.67C750.79 682.39 748.47 690.26 743.47 690.98C739.99 691.49 735.89 689.93 732.5 689.2C725.87 687.78 719.29 686.48 712.5 686.05C682.8 684.2 655.61 683.31 628.67 668.83C570.03 637.3 541.86 560.59 572.51 500C585.09 475.13 607.1 455 632.83 444.39C638.62 442 644.49 439.78 650.56 438.19C655.41 436.93 660.62 436.52 665.33 434.79C668.19 433.74 670.85 432.04 673.57 430.68C677.42 429.93 681.48 428 685.46 428.25C689.27 428.49 692.49 430.99 695.95 432.12Z M684.5 466.17C723.47 503.72 749.19 550.28 748.93 605.5C748.88 617.14 748.67 629.96 745.5 641.21C743.7 631.07 742.83 620.81 740.66 610.71C734.59 582.42 725.07 554.31 713.82 527.66C707.95 513.78 701.99 499.91 694.94 486.57C692.46 481.89 684.79 470.62 684.5 466.17Z",
35924
+ fillRule: "evenodd",
35925
+ fill: "currentColor"
35926
+ }]
35927
+ }), el("div", null, [
34833
35928
  text({ as: "span" }, bind("module.lead")),
34834
35929
  text({
34835
35930
  as: "span",
@@ -34839,7 +35934,14 @@ const platformAttribution = el("div", {
34839
35934
  href: { $bind: { from: "module.link.href" } },
34840
35935
  className: "footer-nav-link rb-caption transition-theme-standard"
34841
35936
  }, [text({ as: "span" }, bind("module.link.label"))])
34842
- ], when("module.kind", { equals: "attribution" }));
35937
+ ])], when("module.kind", { equals: "attribution" }));
35938
+ const copyright = text({
35939
+ as: "p",
35940
+ className: "rb-caption"
35941
+ }, bind("module.text", { transforms: [{
35942
+ id: "content.interpolateRichTextTokens",
35943
+ options: { tokens: ["year", "site_name"] }
35944
+ }] }), when("module.kind", { equals: "copyright" }));
34843
35945
  const footerGroup = stack({
34844
35946
  gap: "md",
34845
35947
  align: { $bind: {
@@ -34859,6 +35961,7 @@ const footerGroup = stack({
34859
35961
  fallback: "start"
34860
35962
  } },
34861
35963
  className: { $bind: { from: "module.className" } },
35964
+ "data-footer-module": { $bind: { from: "module.kind" } },
34862
35965
  "data-preview-footer-module-id": { $bind: { from: "module.id" } }
34863
35966
  }, [
34864
35967
  text({
@@ -34886,6 +35989,7 @@ const footerGroup = stack({
34886
35989
  hours,
34887
35990
  socials,
34888
35991
  footerEngagement,
35992
+ copyright,
34889
35993
  platformAttribution,
34890
35994
  stack({ className: "rb-w-full" }, [authoredCopy], when("module.kind", { equals: "supporting-text" })),
34891
35995
  stack({ className: "rb-w-full rb-lg-col-span-3" }, [authoredCopy], when("module.kind", { equals: "legal" }))
@@ -37460,6 +38564,8 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
37460
38564
  * Zod schema for venue data
37461
38565
  */
37462
38566
  const eventVenueSchema = z.object({
38567
+ area: z.string().nullable().optional(),
38568
+ addressWithBooking: z.boolean().optional(),
37463
38569
  drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
37464
38570
  id: z.string(),
37465
38571
  name: z.string(),
@@ -44288,6 +45394,16 @@ function withEventSelectionVisibility(field) {
44288
45394
  };
44289
45395
  }
44290
45396
  //#endregion
45397
+ //#region ../blocks/src/system/runtime/nodes/events/shared/combinedLook.ts
45398
+ const presentation = z.object({
45399
+ ...lookListPresentationSchemaShape,
45400
+ hooks: z.record(z.string(), z.string())
45401
+ });
45402
+ const combinedLookSchema = z.object({
45403
+ list: presentation.extend({ arrangement: z.enum(eventListArrangementValues) }),
45404
+ month: presentation.extend({ arrangement: z.enum(["month-grid", "month-day"]) })
45405
+ });
45406
+ //#endregion
44291
45407
  //#region ../blocks/src/system/runtime/nodes/events/EventCalendar.interactive.ts
44292
45408
  const eventCalendarDateContextSchema = z.object({
44293
45409
  locale: z.string(),
@@ -44300,6 +45416,7 @@ const eventCalendarSourceSchema = z.object({
44300
45416
  seeAllButtonVariant: eventButtonVariantSchema.nullable().optional(),
44301
45417
  effectiveListArrangementKey: z.enum(eventListArrangementValues).nullable().optional(),
44302
45418
  listBy: z.enum(["upcoming", "week"]).optional(),
45419
+ combinedLook: combinedLookSchema.optional(),
44303
45420
  monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
44304
45421
  variant: eventCalendarDisplayModeSchema.nullable().optional(),
44305
45422
  displayMode: eventCalendarDisplayModeSchema.nullable().optional(),
@@ -44315,6 +45432,7 @@ const eventCalendarDisplaySchema = z.object({
44315
45432
  schedule: recurringScheduleProjectionSchema.optional(),
44316
45433
  seeAllButtonVariant: eventButtonVariantSchema,
44317
45434
  listBy: z.literal("week").optional(),
45435
+ combinedLook: combinedLookSchema.optional(),
44318
45436
  monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
44319
45437
  kind: z.literal("event-calendar"),
44320
45438
  displayMode: eventCalendarDisplayModeSchema,
@@ -44349,13 +45467,14 @@ function normalizeOptionalText(value) {
44349
45467
  return trimmed.length > 0 ? trimmed : void 0;
44350
45468
  }
44351
45469
  function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.effectiveListArrangementKey ?? resolveCalendarListArrangement(source)) {
44352
- const listLayout = effectiveListArrangementKey;
45470
+ const presentation = combinedCalendarPresentation(source, effectiveListArrangementKey);
44353
45471
  return {
44354
45472
  ...buildEventCollectionDisplay({
44355
45473
  ...source,
44356
- listLayout,
45474
+ ...presentation,
44357
45475
  listColumns: source.listColumns ?? source.columns
44358
45476
  }),
45477
+ ...presentation,
44359
45478
  ...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
44360
45479
  ...calendarListGrouping(source),
44361
45480
  ...weekListPaging(source),
@@ -44445,6 +45564,17 @@ function calendarRecurringWeekPresentation(source) {
44445
45564
  seeAllButtonVariant: source.seeAllButtonVariant ?? "secondary"
44446
45565
  };
44447
45566
  }
45567
+ /** A resolved composition owns the layout and the allowed calendar view. */
45568
+ function combinedCalendarPresentation(source, listLayout) {
45569
+ const combinedLook = source.combinedLook;
45570
+ return combinedLook ? {
45571
+ ...combinedLook.list,
45572
+ combinedLook,
45573
+ listLayout: combinedLook.list.arrangement,
45574
+ calendarTabViews: "month",
45575
+ defaultCalendarView: "month"
45576
+ } : { listLayout };
45577
+ }
44448
45578
  //#endregion
44449
45579
  //#region ../blocks/src/system/blocks/events/eventCalendarDataLoaders.ts
44450
45580
  const scopeParams = {
@@ -44656,6 +45786,7 @@ const eventCalendarLayout = [styledSection({
44656
45786
  listBy: { $bind: { from: "content.listBy" } },
44657
45787
  bookingTimeZone: { $bind: { from: "$root.dateContext.timeZone" } },
44658
45788
  dateContext: { $bind: { from: "$root.dateContext" } },
45789
+ combinedLook: { $bind: { from: "content._combinedLook" } },
44659
45790
  monthArrangement: { $bind: { from: "content._lookMonthArrangement" } },
44660
45791
  lookSlots: { $bind: { from: "content._lookSlots" } },
44661
45792
  itemActionStyle: { $bind: { from: "content._effectiveKnobs.actionStyle.value" } },
@@ -50948,6 +52079,12 @@ const teamMembersBlockDefinition = {
50948
52079
  };
50949
52080
  //#endregion
50950
52081
  //#region ../blocks/src/system/runtime/nodes/location-map.shared.ts
52082
+ /** Additive map DTO; hidden venues retain only their public name and area. */
52083
+ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
52084
+ name: z.string().optional(),
52085
+ area: z.string().nullable().optional(),
52086
+ addressWithBooking: z.boolean().optional()
52087
+ }).readonly();
50951
52088
  const LOCATION_MAP_DEFAULTS = {
50952
52089
  zoom: 15,
50953
52090
  heightPx: 320,
@@ -51082,10 +52219,18 @@ function normalizedGoogleMapsLabel(value) {
51082
52219
  return normalizeLocationAddressText(value) ?? "Open in Google Maps";
51083
52220
  }
51084
52221
  function readLocationMapProjection(value, siteCountry) {
52222
+ const venue = publicVenueMapLocationSchema.safeParse(value);
52223
+ if (venue.success) return venue.data.addressWithBooking ? {
52224
+ ...venue.data,
52225
+ address: null,
52226
+ displayAddress: venue.data.area ?? null,
52227
+ pin: null,
52228
+ doorNote: null,
52229
+ drawing: void 0
52230
+ } : venue.data;
51085
52231
  const canonical = parseLocationValue(value);
51086
52232
  if (canonical.ok && canonical.value !== null) return projectPublicLocation(canonical.value, siteCountry);
51087
- const projected = publicLocationSchema.safeParse(value);
51088
- return projected.success ? projected.data : null;
52233
+ return null;
51089
52234
  }
51090
52235
  //#endregion
51091
52236
  //#region ../blocks/src/system/blocks/location-map.ts
@@ -52277,4 +53422,4 @@ function listBlockDescriptors() {
52277
53422
  }));
52278
53423
  }
52279
53424
  //#endregion
52280
- export { RichText as $, normalizeLocationAddressText as $a, effectiveHeaderNavLinkStyle as $i, formatDate$1 as $n, lookSkinSlotTransform as $r, formatEventDateParts as $t, buildOfferingsCatalogueListing as A, deriveSectionGround as Aa, normalizeSelectSource as Ai, blockBookingPaymentTermsSchema as An, heroCtaRowFragment as Ar, resolveOfferingsPreviewGroupCta as At, buildEventCollectionListingDisplay as B, pageTemplateFromEntry as Ba, PUBLIC_DOWNLOAD_MEDIA_TYPES as Bi, parseTeamMemberSpecialties as Bn, parseBackgroundContent as Br, eventListWeekDays as Bt, buildShopInteractiveIslandProps as C, sectionShapeForGround as Ca, plainTextToInlineText as Ci, getEventAvailabilityStatus as Cn, resolvePricingOptionsPriceDisplay as Co, blogFeaturedPostFragment as Cr, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Ct, passCardListContent as D, anglePolygonCss as Da, blockSectionDeclarationShape as Di, publicEventsArraySchema as Dn, testimonialsCarouselFragment as Dr, buildOfferingsPreviewListing as Dt, membershipClassesLabel as E, boundaryRuntimeMetricsForDecorativeTransition as Ea, blockCategoryEnum as Ei, groupPublicEventsByRun as En, TokenResolver as Eo, formCopyFragment as Er, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Et, projectRecurringSchedule as F, cardListFamilyBlocks as Fa, validateSdkBlockDeclaration as Fi, siteHeaderManifest as Fn, defineFragment as Fr, ThemedButtonLink as Ft, resolveCalendarReadProfile as G, resolveWholeSeriesBookingPhase as Ga, resolveRepeaterGridColumnFieldId as Gi, mediaTransforms as Gn, resolveBackgroundColorValue as Gr, buildCalendarViewport as Gt, eventCollectionHydrationSchema as H, CANCELLED_SESSION_STATUS as Ha, projectRepeaterGridLayoutForRendering as Hi, teamMemberCardBiography as Hn, parseRuntimeBackgroundContent as Hr, formatEventPrice as Ht, eventListingBlockDefinition as I, cardListKnobBlocks as Ia, NodeSchema as Ii, composeHeaderSectionWrapperClassName as In, boxStylesTransforms as Ir, ThemedDownloadLink as It, CardListContentPart as J, parseMailingListProviderScope as Ja, resolveRepeaterGridSpanFieldId as Ji, layoutTransforms as Jn, BACKGROUND_POSITION_PRESET_VALUES as Jr, eventLocalDateKey as Jt, catalogueEventCardProps as K, buildMailingListSignupBlockSourceRef as Ka, resolveRepeaterGridColumnsForBreakpoint as Ki, headerRuntimeTransforms as Kn, ctaButton as Kr, eventCalendarWeekStart as Kt, buildEventListingInteractiveIslandProps as L, chosenString as La, bindingSchema as Li, markEditableSurfaceForwarding as Ln, boxStyleClassNames as Lr, getIconComponent as Lt, eventCalendarBlockDefinition as M, resolveSectionBackground as Ma, parseFieldDefinitions as Mi, resolveFeatureCardGeneratedIconSizePx as Mn, isBlockButtonRole as Mr, resolveOfferingsRenderInput as Mt, buildEventCalendarInteractiveIslandProps as N, isRecord$5 as Na, validateManifestLookField as Ni, shouldReserveFeatureCardIconZone as Nn, heroCopyFragment as Nr, ThemedAuthoredButton as Nt, offeringsPreviewBlockDefinition as O, transitionCatalogueEntries as Oa, builtInBlockKindsSchema as Oi, blockBookingConsentSchema as On, testimonialsHeadingFragment as Or, normalizeOfferingsPreviewItemLimit as Ot, buildEventCalendarListingDisplay as P, resolveEffectiveKnobs as Pa, sdkBlockPresentationShape as Pi, siteFooterManifest as Pn, bodyCopyFragment as Pr, ThemedButton as Pt, MediaNodeServer as Q, locationValueSchema as Qa, heroPhotoPaintsGround as Qi, formattingTransforms as Qn, lookQuoteLimitTransform as Qr, formatEventCompactDateRail as Qt, buildEventCollectionDisplay as R, admitReadinessFacts as Ra, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Ri, splitPositioningClasses as Rn, normalizeBoxStylesBorder as Rr, SpinnerNode as Rt, buildProductListInteractiveIslandProps as S, headerRootPaint as Sa, parseInlineTextFromUnknown as Si, getEventAvailability as Sn, resolveExactOrFreePriceDisplay as So, faqHeadingFragment as Sr, resolveEventRegistrationScopedEvents as St, membershipCardListContent as T, sectionShapeHook as Ta, PUBLIC_FILE_FIELD_KINDS as Ti, blockSiteTermsSchema as Tn, parseContentVersionId as To, formEmbedFragment as Tr, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Tt, eventCollectionSourceSchemaShape as U, nextLiveRunSessionStartMs as Ua, buildRepeaterGridLayout as Ui, readRuntimeNow as Un, resolveSectionSurfaceForeground as Ur, formatEventPriceAmount as Ut, eventCollectionDisplaySchemaShape as V, unavailableReadinessFact as Va, projectRepeaterGridLayout as Vi, teamMemberBiography as Vn, parseBackgroundOverlay as Vr, weekColumnDays as Vt, calendarWindowQuerySchema as W, orderedLiveRunSessions as Wa, parseRepeaterGridInteger as Wi, resolveDateRuntimeContext as Wn, resolveSurfaceForegroundStyles as Wr, formatEventPriceDisplay as Wt, resolveCardListSchedule as X, sameMailingListPlacementTargeting as Xa, resolveLookSurfacePresentation as Xi, resolveHeroTitleLength as Xn, lookCarouselRegionTransform as Xr, formatDate as Xt, CardListLeadDate as Y, parseMailingListPlacementTargeting as Ya, augmentManifest as Yi, staticHeaderChromeRuntime as Yn, getAnchorClasses as Yr, formatCalendarTitle as Yt, selectCardListPresentation as Z, decideLocationSourcePermission as Za, selectItemSurfacePresentation as Zi, uiTransforms as Zn, lookLeadSlotTransform as Zr, formatEventClockLabel as Zt, productListBlockDefinition as _, generateEffectsCSS as _a, FileTextIcon as _i, formatBookingSchedulePresentation as _n, formatBookingPriceDisplay as _o, heroTitleSizeOptions as _r, eventCalendarListGroupingDecision as _t, normalizeLocationMapSource as a, readStoredMode as aa, sanitizeHref as ai, resolveEventTimeZone as an, formatDateTimeRange as ao, createZodCodec as ar, resolveImageUrlWithContext as at, buildCheckoutInteractiveIslandProps as b, generateDefaultCardSystem as ba, inlineTextToPlainText as bi, formatEventRemainingPlaces as bn, publicEventPricingDisplay as bo, cardFragment as br, resolveEventCalendarReadPlan as bt, sanitizeNewsletterSignupPublicContent as c, resolvePublishedLook as ca, resolveBlockIconRenderValue as ci, addDays as cn, toScheduledBookingDateTime as co, listItemPresentation as cr, getCurrentResolveImageUrlContext as ct, newsletterBlockSubmissionMessage as d, parseThemeButtonVariantId as da, CircleMinusIcon as di, getOrderedDayNames as dn, getLocalScheduleDate as do, lookListPresentationSchemaShape as dr, getContainerClass as dt, readOpeningToneProjection as ea, asPartialObject as ei, formatEventHourLabel as en, projectPublicLocation as eo, formBlockDefinition as er, ImagePresets as et, giftingBlockDefinition as f, themeButtonSelector as fa, CirclePlusIcon as fi, getWeekCalendarDayTuple as fn, parseBookingLocalDate as fo, resolvedItemSurfaceProps as fr, resolveEventSelection as ft, productDetailBlockDefinition as g, generateNavLinkCSS as ga, FileSpreadsheetIcon as gi, resolveRuntimeEventDestination as gn, toUtcIsoDateTimeString as go, clsx as gr, previewStageSchema as gt, cartBlockDefinition as h, buildTextContrastShadow as ha, FileAudioIcon as hi, isToday as hn, toBookingTimeZone as ho, Grid as hr, bookingNowSchema as ht, normalizeLocationMapProps as i, arrangementManifestFromVariants as ia, when as ii, groupEventsByDate as in, formatDateRange as io, defineInteractiveIslandMetaKeys as ir, resolveImageUrl as it, offeringsCatalogueShape as j, parseCanonicalRuntimeBackground as ja, parseFieldDefinition as ji, FEATURE_CARD_ICON_TREATMENTS as jn, ctaRowFragment as jr, resolveOfferingsPreviewGroups as jt, publicRouteCandidatesSchema as k, applyLookPhotoTreatment as ka, fieldSchema as ki, bookingConsentCarrierSchema as kn, ctaCopyFragment as kr, offeringsListingFor as kt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as l, deriveSiteStyleBlockPolicy as la, ArrowDownIcon as li, formatDateKey as ln, compareLocalScheduleDates as lo, listLookControl as lr, setContextResolveImageUrlContext as lt, checkoutBlockDefinition as m, generateFooterCss as ma, FileArchiveIcon as mi, isSameCalendarDay as mn, resolveBookingBusinessTimeZone as mo, standardAspectRatioOptions as mr, buildEventRegistrationInteractiveIslandProps as mt, listBlockDescriptors as n, arrangementLookHooks as na, runTransforms as ni, formatEventTimeRange as nn, mapDrawingSchema as no, buildInteractiveIslandProps as nr, computeMediaTransformStyle as nt, resolveLocationMapLocation as o, resolveEffectiveArrangement as oa, buildGeneratedBlockIconRenderAssetLookupFromUnknown as oi, getLocalDateKey as on, inferSiteDateLocale as oo, defineClientOwnedBlockRuntime as or, resolvePublicMediaUrl as ot, buildGiftingInteractiveIslandProps as p, AFFORDANCE_SUPPRESS_CLASS as pa, ClockIcon as pi, getWeekCalendarDays as pn, parseLocalScheduleTime as po, itemRole as pr, eventRegistrationBlockDefinition as pt, listingEventCardProps as q, parseMailingListRuntimeContext as qa, resolveRepeaterGridRowFieldId as qi, chromeLogoTransforms as qn, standardImageShapeOptions as qr, eventDateOptions as qt, normalizeBlockContent as r, arrangementSlotNames as ra, el as ri, formatTime as rn, formatDate$2 as ro, createInteractiveIslandCodec as rr, resolveImageSourceSetWithContext as rt, newsletterSignupBlockDefinition as s, resolveModeArrangement as sa, parseBlockIconValue as si, getLocalMinuteOfDay as sn, formatBookingCompactEnglishTime as so, defineProgressiveBlockRuntime as sr, buildResolveImageUrlContext as st, getBlockDefinition as t, arrangementAppearancePresets as ta, createTransformRegistry as ti, formatEventNextDateFact as tn, publicLocationSchema as to, buildFormInteractiveIslandProps as tr, MediaPlaceholder as tt, buildNewsletterFormInteractiveIslandProps as u, requireCuratedSiteStyle as ua, ChevronDownIcon as ui, getDayOfWeek as un, getBookingLocalDateKey as uo, listLookSlot as ur, getCardOrientation as ut, shopBlockDefinition as v, generateInteractiveChildInheritanceCSS as va, MinusIcon as vi, browserReadAuthoritySchema as vn, isPublicEventPricingOptionDisplayable as vo, richTextFragment as vr, eventCalendarListLayoutCompatibleDisplayModeValues as vt, shopProductPresentation as w, sectionShapeFromContent as wa, DEFAULT_MEDIA_FIELD_KINDS as wi, isEventFull as wn, formatCurrencyAmount as wo, singleButtonFragment as wr, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as wt, buildProductDetailInteractiveIslandProps as x, headerNeedsPhotoShade as xa, isInlineTextEmpty as xi, formatTotalCapacity as xn, publicEventPricingType as xo, faqAccordionFragment as xr, normalizeEventRegistrationPageSurfaceSubject as xt, buildCartInteractiveIslandProps as y, resolveCardRole as ya, PlusIcon as yi, canJoinEventWaitlistOnAnyMode as yn, publicEventPricingCurrency as yo, headingFragment as yr, eventCalendarListLayoutOptions as yt, buildEventCollectionHydration as z, loadedReadinessFact as za, linkSchema as zi, contentTransforms as zn, resolveCardRoleForBoxStyles as zr, buildEventListWeek as zt };
53425
+ export { MediaNodeServer as $, sameMailingListPlacementTargeting as $a, selectItemSurfacePresentation as $i, formattingTransforms as $n, lookQuoteLimitTransform as $r, formatEventCompactDateRail as $t, buildOfferingsCatalogueListing as A, transitionCatalogueEntries as Aa, fieldSchema as Ai, bookingConsentCarrierSchema as An, ctaCopyFragment as Ar, offeringsListingFor as At, buildEventCollectionHydration as B, chosenString as Ba, linkSchema as Bi, contentTransforms as Bn, resolveCardRoleForBoxStyles as Br, buildEventListWeek as Bt, buildShopInteractiveIslandProps as C, headerNeedsPhotoShade as Ca, parseInlineTextFromUnknown as Ci, getEventAvailability as Cn, publicEventPricingDisplay as Co, faqHeadingFragment as Cr, resolveEventRegistrationScopedEvents as Ct, passCardListContent as D, sectionShapeHook as Da, blockCategoryEnum as Di, groupPublicEventsByRun as Dn, formatCurrencyAmount as Do, formCopyFragment as Dr, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Dt, membershipClassesLabel as E, sectionShapeFromContent as Ea, PUBLIC_FILE_FIELD_KINDS as Ei, blockSiteTermsSchema as En, resolvePricingOptionsPriceDisplay as Eo, formEmbedFragment as Er, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Et, combinedLookSchema as F, sectionSurfaceBase as Fa, sdkBlockPresentationShape as Fi, siteFooterManifest as Fn, bodyCopyFragment as Fr, ThemedButton as Ft, calendarWindowQuerySchema as G, CANCELLED_SESSION_STATUS as Ga, parseRepeaterGridInteger as Gi, resolveDateRuntimeContext as Gn, resolveSurfaceForegroundStyles as Gr, formatEventPriceDisplay as Gt, eventCollectionDisplaySchemaShape as H, loadedReadinessFact as Ha, projectRepeaterGridLayout as Hi, teamMemberBiography as Hn, parseBackgroundOverlay as Hr, weekColumnDays as Ht, projectRecurringSchedule as I, isRecord$5 as Ia, validateSdkBlockDeclaration as Ii, siteHeaderManifest as In, defineFragment as Ir, ThemedButtonLink as It, listingEventCardProps as J, resolveWholeSeriesBookingPhase as Ja, resolveRepeaterGridRowFieldId as Ji, chromeLogoTransforms as Jn, standardImageShapeOptions as Jr, eventDateOptions as Jt, resolveCalendarReadProfile as K, nextLiveRunSessionStartMs as Ka, resolveRepeaterGridColumnFieldId as Ki, mediaTransforms as Kn, resolveBackgroundColorValue as Kr, buildCalendarViewport as Kt, eventListingBlockDefinition as L, resolveEffectiveKnobs as La, NodeSchema as Li, composeHeaderSectionWrapperClassName as Ln, boxStylesTransforms as Lr, ThemedDownloadLink as Lt, eventCalendarBlockDefinition as M, deriveSectionGround as Ma, parseFieldDefinition as Mi, FEATURE_CARD_ICON_TREATMENTS as Mn, ctaRowFragment as Mr, resolveOfferingsPreviewGroups as Mt, buildEventCalendarInteractiveIslandProps as N, parseCanonicalRuntimeBackground as Na, parseFieldDefinitions as Ni, resolveFeatureCardGeneratedIconSizePx as Nn, isBlockButtonRole as Nr, resolveOfferingsRenderInput as Nt, offeringsPreviewBlockDefinition as O, boundaryRuntimeMetricsForDecorativeTransition as Oa, blockSectionDeclarationShape as Oi, publicEventsArraySchema as On, parseContentVersionId as Oo, testimonialsCarouselFragment as Or, buildOfferingsPreviewListing as Ot, buildEventCalendarListingDisplay as P, resolveSectionBackground as Pa, validateManifestLookField as Pi, shouldReserveFeatureCardIconZone as Pn, heroCopyFragment as Pr, ThemedAuthoredButton as Pt, selectCardListPresentation as Q, parseMailingListPlacementTargeting as Qa, resolveLookSurfacePresentation as Qi, uiTransforms as Qn, lookLeadSlotTransform as Qr, formatEventClockLabel as Qt, buildEventListingInteractiveIslandProps as R, cardListFamilyBlocks as Ra, bindingSchema as Ri, markEditableSurfaceForwarding as Rn, boxStyleClassNames as Rr, getIconComponent as Rt, buildProductListInteractiveIslandProps as S, generateDefaultCardSystem as Sa, isInlineTextEmpty as Si, formatTotalCapacity as Sn, publicEventPricingCurrency as So, faqAccordionFragment as Sr, normalizeEventRegistrationPageSurfaceSubject as St, membershipCardListContent as T, sectionShapeForGround as Ta, DEFAULT_MEDIA_FIELD_KINDS as Ti, isEventFull as Tn, resolveExactOrFreePriceDisplay as To, singleButtonFragment as Tr, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Tt, eventCollectionHydrationSchema as U, pageTemplateFromEntry as Ua, projectRepeaterGridLayoutForRendering as Ui, teamMemberCardBiography as Un, parseRuntimeBackgroundContent as Ur, formatEventPrice as Ut, buildEventCollectionListingDisplay as V, admitReadinessFacts as Va, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vi, parseTeamMemberSpecialties as Vn, parseBackgroundContent as Vr, eventListWeekDays as Vt, eventCollectionSourceSchemaShape as W, unavailableReadinessFact as Wa, buildRepeaterGridLayout as Wi, readRuntimeNow as Wn, resolveSectionSurfaceForeground as Wr, formatEventPriceAmount as Wt, CardListLeadDate as X, parseMailingListRuntimeContext as Xa, augmentManifest as Xi, staticHeaderChromeRuntime as Xn, getAnchorClasses as Xr, formatCalendarTitle as Xt, CardListContentPart as Y, buildMailingListSignupBlockSourceRef as Ya, resolveRepeaterGridSpanFieldId as Yi, layoutTransforms as Yn, BACKGROUND_POSITION_PRESET_VALUES as Yr, eventLocalDateKey as Yt, resolveCardListSchedule as Z, parseMailingListProviderScope as Za, lookPresentationOnPalette as Zi, resolveHeroTitleLength as Zn, lookCarouselRegionTransform as Zr, formatDate as Zt, productListBlockDefinition as _, buildTextContrastShadow as _a, FileSpreadsheetIcon as _i, resolveRuntimeEventDestination as _n, resolveBookingBusinessTimeZone as _o, clsx as _r, previewStageSchema as _t, normalizeLocationMapSource as a, arrangementSlotNames as aa, when as ai, groupEventsByDate as an, mapDrawingSchema as ao, defineInteractiveIslandMetaKeys as ar, resolveImageUrl as at, buildCheckoutInteractiveIslandProps as b, generateInteractiveChildInheritanceCSS as ba, PlusIcon as bi, canJoinEventWaitlistOnAnyMode as bn, formatBookingPriceDisplay as bo, headingFragment as br, eventCalendarListLayoutOptions as bt, sanitizeNewsletterSignupPublicContent as c, resolveEffectiveArrangement as ca, parseBlockIconValue as ci, getLocalMinuteOfDay as cn, formatDateTimeRange as co, defineProgressiveBlockRuntime as cr, buildResolveImageUrlContext as ct, newsletterBlockSubmissionMessage as d, deriveSiteStyleBlockPolicy as da, ChevronDownIcon as di, getDayOfWeek as dn, toScheduledBookingDateTime as do, listLookSlot as dr, getCardOrientation as dt, heroPhotoPaintsGround as ea, lookSkinSlotTransform as ei, formatEventDateParts as en, decideLocationSourcePermission as eo, formatDate$1 as er, RichText as et, giftingBlockDefinition as f, requireCuratedSiteStyle as fa, CircleMinusIcon as fi, getOrderedDayNames as fn, compareLocalScheduleDates as fo, lookListPresentationSchemaShape as fr, getContainerClass as ft, productDetailBlockDefinition as g, generateFooterCss as ga, FileAudioIcon as gi, isToday as gn, parseLocalScheduleTime as go, Grid as gr, bookingNowSchema as gt, cartBlockDefinition as h, AFFORDANCE_SUPPRESS_CLASS as ha, FileArchiveIcon as hi, isSameCalendarDay as hn, parseBookingLocalDate as ho, standardAspectRatioOptions as hr, buildEventRegistrationInteractiveIslandProps as ht, normalizeLocationMapProps as i, arrangementLookHooks as ia, el as ii, formatTime as in, publicLocationSchema as io, createInteractiveIslandCodec as ir, resolveImageSourceSetWithContext as it, offeringsCatalogueShape as j, applyLookPhotoTreatment as ja, normalizeSelectSource as ji, blockBookingPaymentTermsSchema as jn, heroCtaRowFragment as jr, resolveOfferingsPreviewGroupCta as jt, publicRouteCandidatesSchema as k, anglePolygonCss as ka, builtInBlockKindsSchema as ki, blockBookingConsentSchema as kn, TokenResolver as ko, testimonialsHeadingFragment as kr, normalizeOfferingsPreviewItemLimit as kt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as l, resolveModeArrangement as la, resolveBlockIconRenderValue as li, addDays as ln, inferSiteDateLocale as lo, listItemPresentation as lr, getCurrentResolveImageUrlContext as lt, checkoutBlockDefinition as m, themeButtonSelector as ma, ClockIcon as mi, getWeekCalendarDays as mn, getLocalScheduleDate as mo, itemRole as mr, eventRegistrationBlockDefinition as mt, listBlockDescriptors as n, readOpeningToneProjection as na, createTransformRegistry as ni, formatEventNextDateFact as nn, normalizeLocationAddressText as no, buildFormInteractiveIslandProps as nr, MediaPlaceholder as nt, resolveLocationMapLocation as o, arrangementManifestFromVariants as oa, sanitizeHref as oi, resolveEventTimeZone as on, formatDate$2 as oo, createZodCodec as or, resolveImageUrlWithContext as ot, buildGiftingInteractiveIslandProps as p, parseThemeButtonVariantId as pa, CirclePlusIcon as pi, getWeekCalendarDayTuple as pn, getBookingLocalDateKey as po, resolvedItemSurfaceProps as pr, resolveEventSelection as pt, catalogueEventCardProps as q, orderedLiveRunSessions as qa, resolveRepeaterGridColumnsForBreakpoint as qi, headerRuntimeTransforms as qn, ctaButton as qr, eventCalendarWeekStart as qt, normalizeBlockContent as r, arrangementAppearancePresets as ra, runTransforms as ri, formatEventTimeRange as rn, projectPublicLocation as ro, buildInteractiveIslandProps as rr, computeMediaTransformStyle as rt, newsletterSignupBlockDefinition as s, readStoredMode as sa, buildGeneratedBlockIconRenderAssetLookupFromUnknown as si, getLocalDateKey as sn, formatDateRange as so, defineClientOwnedBlockRuntime as sr, resolvePublicMediaUrl as st, getBlockDefinition as t, effectiveHeaderNavLinkStyle as ta, asPartialObject as ti, formatEventHourLabel as tn, locationValueSchema as to, formBlockDefinition as tr, ImagePresets as tt, buildNewsletterFormInteractiveIslandProps as u, resolvePublishedLook as ua, ArrowDownIcon as ui, formatDateKey as un, formatBookingCompactEnglishTime as uo, listLookControl as ur, setContextResolveImageUrlContext as ut, shopBlockDefinition as v, generateNavLinkCSS as va, FileTextIcon as vi, formatBookingSchedulePresentation as vn, toBookingTimeZone as vo, heroTitleSizeOptions as vr, eventCalendarListGroupingDecision as vt, shopProductPresentation as w, headerRootPaint as wa, plainTextToInlineText as wi, getEventAvailabilityStatus as wn, publicEventPricingType as wo, blogFeaturedPostFragment as wr, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as wt, buildProductDetailInteractiveIslandProps as x, resolveCardRole as xa, inlineTextToPlainText as xi, formatEventRemainingPlaces as xn, isPublicEventPricingOptionDisplayable as xo, cardFragment as xr, resolveEventCalendarReadPlan as xt, buildCartInteractiveIslandProps as y, generateEffectsCSS as ya, MinusIcon as yi, browserReadAuthoritySchema as yn, toUtcIsoDateTimeString as yo, richTextFragment as yr, eventCalendarListLayoutCompatibleDisplayModeValues as yt, buildEventCollectionDisplay as z, cardListKnobBlocks as za, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as zi, splitPositioningClasses as zn, normalizeBoxStylesBorder as zr, SpinnerNode as zt };