@riverbankcms/sdk 0.160.0 → 0.161.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 (207) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CoqeotCL.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
  2. package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-Dm7_P13o.d.ts} +211 -9
  3. package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +4 -4
  4. package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
  5. package/dist/_dts/{client-uMMuPq9V.d.ts → client-Ep0jI9eE.d.ts} +1 -1
  6. package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-BgAzCrBc.d.ts} +2 -2
  7. package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-DUiOnj9e.d.ts} +8 -5
  8. package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
  10. package/dist/_dts/{index-Blwl7yl6.d.ts → index-BQDBQvdu.d.ts} +1 -1
  11. package/dist/_dts/{index-lkpjIg5i.d.ts → index-BVkP8f70.d.ts} +1 -1
  12. package/dist/_dts/{index-CEaKil7G.d.ts → index-CF6Cjs7b.d.ts} +2 -2
  13. package/dist/_dts/{index-nVoi_74l.d.ts → index-CSsfq6KG.d.ts} +3 -17
  14. package/dist/_dts/{index-DahMwisK.d.ts → index-D_8uz4OP.d.ts} +3 -3
  15. package/dist/_dts/{index-Bg64CkV-.d.ts → index-DvKQA6AZ.d.ts} +4 -4
  16. package/dist/_dts/{index-C5xslEBn.d.ts → index-KPrWM0KF.d.ts} +1 -1
  17. package/dist/_dts/{index-BaaGBY1v.d.ts → index-ylivB7Jj.d.ts} +2 -2
  18. package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-DTjKOO-T.d.ts} +10 -10
  19. package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
  20. package/dist/_dts/{schema-D0bNcPWK.d.ts → schema-BHu0PYWl.d.ts} +18821 -16622
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  43. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  45. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  46. package/dist/_dts/sdk/src/server.d.ts +5 -5
  47. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  48. package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
  49. package/dist/_dts/{types-D8czmbQF.d.ts → types-BR1Yboa9.d.ts} +1060 -140
  50. package/dist/_dts/{types-Dm-KW7nj.d.ts → types-CJXTCF_F.d.ts} +3 -3
  51. package/dist/_dts/{types-CFrYuXYP.d.ts → types-D02ngcUH.d.ts} +4 -2
  52. package/dist/_dts/{types-DSgmJ15W.d.ts → types-ZGUiHpDE.d.ts} +7 -7
  53. package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BaV565gb.d.ts} +4 -4
  54. package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
  55. package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-BDpxmn1p.mjs} +1 -1
  56. package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
  57. package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
  58. package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +5 -5
  59. package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
  60. package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-BxQLY5cX.mjs} +9 -9
  61. package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
  62. package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
  63. package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-BEx-qiDE.mjs} +4 -4
  64. package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
  65. package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
  66. package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-9RFrBejr.mjs} +29 -13
  67. package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +25 -13
  68. package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
  69. package/dist/client/{Page-7PkzO04N.mjs → Page-Bf2nPACI.mjs} +809 -298
  70. package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CZweb1vs.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
  72. package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
  73. package/dist/client/{accordion-2m27DsIk.mjs → accordion-TcimLLRQ.mjs} +1 -1
  74. package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-q-RpJ4aF.mjs} +12 -12
  75. package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
  76. package/dist/client/bookings.mjs +5 -5
  77. package/dist/client/{carousel-D7nj9I0y.mjs → carousel-CGAk6j0m.mjs} +2 -2
  78. package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
  79. package/dist/client/{cart-PN6yCw1H.mjs → cart-D_h3rAZ2.mjs} +3 -3
  80. package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
  81. package/dist/client/{checkout-CsTwXVSb.mjs → checkout-tC-3CzuM.mjs} +3 -3
  82. package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
  83. package/dist/client/client.mjs +5 -4
  84. package/dist/client/{context-BLAvalAa.mjs → context-9ZfMb6GA.mjs} +1 -1
  85. package/dist/client/{cta-CUXhX_D7.mjs → cta-D-ZqL7-e.mjs} +1 -1
  86. package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
  87. package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
  88. package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
  89. package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-C670TgRd.mjs} +2 -17
  90. package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-C6GApWTB.mjs} +16 -16
  91. package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
  92. package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
  93. package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
  94. package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-C_yXmHyz.mjs} +4 -4
  95. package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
  96. package/dist/client/{form-C-B5O_ko.mjs → form-QZhtdFHA.mjs} +3 -3
  97. package/dist/client/{form.client-DoZVcl8d.mjs → form.client-CgvPACwG.mjs} +4 -4
  98. package/dist/client/{form.parts-mttKpgif.mjs → form.parts-2uI0-5N-.mjs} +3 -3
  99. package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Danr0Nk4.mjs} +1 -1
  100. package/dist/client/gifting/client.mjs +3 -3
  101. package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
  102. package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
  103. package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
  104. package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-Cbepz2KU.mjs} +5 -5
  105. package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
  106. package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
  107. package/dist/client/{noop-B610YKEx.mjs → noop-B7H6gCbj.mjs} +297 -3
  108. package/dist/client/portal/client.mjs +12 -12
  109. package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-CYTR165c.mjs} +1 -1
  110. package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-B4vTvag8.mjs} +1 -1
  111. package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-k8LEMSWn.mjs} +3 -3
  112. package/dist/client/{productList-BKN4D-1z.mjs → productList-DEo8Bqoe.mjs} +3 -3
  113. package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
  114. package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-BTmSXE3D.mjs} +355 -162
  115. package/dist/client/rendering/client.mjs +27 -28
  116. package/dist/client/rendering/islands.mjs +1 -1
  117. package/dist/client/rendering.mjs +15 -9
  118. package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-B19taoH6.mjs} +1 -1
  119. package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
  120. package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-C-m8XHuW.mjs} +990 -2310
  121. package/dist/client/{shop-DZNC0VKk.mjs → shop-RGWa43H7.mjs} +3 -3
  122. package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-TJYCBO_H.mjs} +11 -11
  123. package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
  124. package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-tsKfZw1W.mjs} +12 -12
  125. package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CVqLAU53.mjs} +6 -158
  126. package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-C3lHMz_R.mjs} +2 -2
  127. package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-V2ifvGGy.mjs} +148 -8
  128. package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-D1X69-pN.mjs} +3 -3
  129. package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
  130. package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-Bwzr1RjV.mjs} +2 -2
  131. package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
  132. package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CLAS0upd.mjs} +8 -21
  133. package/dist/client/{view-CkUn3Y0Y.mjs → view-BUh4LnLS.mjs} +4 -4
  134. package/dist/client/{view-CseyBW07.mjs → view-Dj_FZHmg.mjs} +18 -15
  135. package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
  136. package/dist/preview-next/before-render.mjs +5 -4
  137. package/dist/preview-next/chrome.css +2 -0
  138. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
  139. package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
  140. package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
  141. package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +110 -63
  142. package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-BdFjS39R.mjs} +4 -3
  143. package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +425 -412
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
  145. package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +2982 -53859
  146. package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-b14Bv03E.mjs} +1079 -340
  147. package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
  148. package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
  149. package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dd1_mNIg.mjs} +1 -1
  150. package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
  151. package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
  154. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
  155. package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-CGxS8Ns-.mjs} +2 -1
  156. package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
  157. package/dist/preview-next/editor-base.css +2 -2
  158. package/dist/preview-next/keepAlive.mjs +2 -2
  159. package/dist/preview-next/middleware.mjs +7 -3
  160. package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-hLg-yjQN.mjs} +41 -4
  161. package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
  162. package/dist/preview-next/session.mjs +1 -1
  163. package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-CeTd2saO.mjs} +4 -4
  164. package/dist/server/{bindings-CFmJg5lm.mjs → bindings-C5YpKuKt.mjs} +2 -1
  165. package/dist/server/{client-DPsi0Dai.mjs → client-Cv26lZQ4.mjs} +7 -5
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +461 -1064
  169. package/dist/server/index.mjs +3 -3
  170. package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-C8a0b-cC.mjs} +11 -5
  171. package/dist/server/loadPage--DXBwI8V.mjs +2 -0
  172. package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-BW7dklu3.mjs} +3 -2
  173. package/dist/server/next.mjs +9 -9
  174. package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
  175. package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-D1fiPOKF.mjs} +596 -301
  176. package/dist/server/page-converter.mjs +1 -1
  177. package/dist/server/{prebuild-B_1vrSru.mjs → prebuild--fO0E2tr.mjs} +1 -1
  178. package/dist/server/prebuild.mjs +1 -1
  179. package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-CqJnokWJ.mjs} +133 -87
  180. package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-CvvZ4JIe.mjs} +41 -3
  181. package/dist/server/{registry-eFjKtEhF.mjs → registry-BVfCqaCq.mjs} +477 -1021
  182. package/dist/server/rendering/server.mjs +4 -4
  183. package/dist/server/rendering.mjs +8 -8
  184. package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-DPNvhXEz.mjs} +1 -1
  185. package/dist/server/routing.mjs +1 -1
  186. package/dist/server/{schema-C3dJ5UkL.mjs → schema-CD4peO7m.mjs} +2203 -1223
  187. package/dist/server/server.mjs +3 -3
  188. package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
  189. package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
  190. package/dist/server/{src-C5Mu-z0F.mjs → src-ILxc6pid.mjs} +161 -3
  191. package/dist/server/theme-bridge.mjs +1 -1
  192. package/dist/server/theme.mjs +1 -1
  193. package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
  194. package/dist/server/{validation-B-Xar8QS.mjs → validation-B1ieVemg.mjs} +2 -2
  195. package/dist/server/{version-Bg7VHK3i.mjs → version-BQK44wFg.mjs} +1 -1
  196. package/dist/styles/index.css +157 -0
  197. package/package.json +1 -1
  198. package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
  199. package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
  200. package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
  201. package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
  202. package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
  203. package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
  204. package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
  205. package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
  206. package/dist/server/loadPage-DUPP51C-.mjs +0 -2
  207. package/dist/server/media-CcHwZkdJ.mjs +0 -243
@@ -1,27 +1,72 @@
1
1
  "use client";
2
- import { T as ok, a as mediaIdentifierSchema, c as parseApiKeyId, f as parseSiteId, i as resolveManagedMediaReference, l as parseContentVersionId, m as parseUserId, n as renderableMediaAssetSchema, p as parseSiteTermsVersionId, r as indexRenderableMediaAssets, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
3
- import { $ as parseCustomCssRules, $n as backgroundColorStyle, B as generateHeaderScrollTreatmentStyles, Bn as safeTokenOr, Cn as tileTreatmentValues, Cr as surfaceForegroundValueWithOpacity, Dn as surfaceDecorationColors, Dr as runtimeMediaSchema, En as resolveSurface, Ft as boxBackgroundSchema, G as MQ_MD_DOWN, Gn as resolveOpaqueSurfaceHex, H as getHeaderPaintTargets, Ht as renderCssDeclarations, It as runtimeBoxBackgroundSchema, J as MQ_TABLET_ONLY, Jn as paletteModeSchema, K as MQ_SM_DOWN, Kt as cardVariantRoleValues, L as corners, Ln as selectLogoVariant, On as opaqueSurfaceContextFromTheme, Pn as generateShadowValue$1, Q as parseBlockCustomCssRules, Qn as TokenResolver, Qt as asDesignBlockId, Rn as surfaceToneFromForegroundToken, Rt as siteChromeBackgroundOverrideOwner, Sn as testimonialsCompositionTreatmentValues, Sr as surfaceForegroundValue, Tn as visibleHeadingDecorationFamilyValues, Tr as mediaSchema, U as renderHeaderPaintTargetRules, Ut as generateShadowValue, V as generateMobileOverlayBackdropFilterFix, Vn as expandPalette, Vt as generateCardCss, W as MQ_LG_UP, X as getComponentBorderWidthPx, Y as headerVariantValues, Z as getComponentShadowVar, _r as DEFAULT_SURFACE_TEXT_COLOR, an as asSiteStyleId, ar as textColorValue, at as ACCORDION_SPACING_MAP, br as surfaceForegroundInputFromResolved, cr as parseBlockColorToken, ct as ICON_CONFIG, dn as eyebrowTreatmentValues, dr as parseColorTokenParts, dt as generateButtonCss, er as borderColorStyle, et as FONT_WEIGHT_MAP, fn as featureCardCompositionTreatmentValues, ft as generateDefaultButtonSystem, gn as makeBoundaryId, hn as introCompositionTreatmentValues, hr as hexToRgb, ht as skinTokenCssVars, ir as textColorStyle, it as ACCORDION_OPEN_ACCENT_THICKNESS, kn as opaqueSurfaceDeclarations, ln as defineFrameCapability, lr as buildThemeTokens, lt as ICON_SIZE_PX, mn as headingDecorationColorTokenValues, mt as parseThemeForPersistence, nr as mergeStyles, nt as INPUT_SPACING_MAP, or as parseThemeColorToken, ot as ACCORDION_TRIGGER_FONT_SCALE, q as MQ_SM_UP, qn as paletteColorsSchema, rn as asLayoutVariantKey, rr as rgbColorValue, rt as LABEL_FONT_SIZE_MAP, sn as defineBlockDesignCapability, st as ACCORDION_TRIGGER_LETTER_SPACING, tr as cssVarValue, tt as INPUT_FONT_SIZE_MAP, un as eventListTreatmentValues, ur as defaultThemeTokens, ut as generateButtonActionLayoutCss, vn as offeringsPreviewCompositionTreatmentValues, vr as SURFACE_FOREGROUND_CSS_VARS, wr as mediaPosterSchema, xr as surfaceForegroundStyle, yr as surfaceForegroundDeclarations, z as themeSchema, zn as resolveSurfaceForeground, zt as stripStaleTransitionStyleGroup } from "./ThemedButton-C22C9cCF.mjs";
2
+ import { $n as indexRenderableMediaAssets, A as generateDefaultButtonSystem, An as rgbColorValue, At as defineFrameCapability, Bn as hexToRgb, C as ACCORDION_SPACING_MAP, D as ICON_SIZE_PX, Dn as borderColorStyle, E as ICON_CONFIG, En as backgroundColorStyle, Et as asSiteStyleId, F as parseThemeForPersistence, Fn as parseBlockColorToken, Ft as headingDecorationColorTokenValues, Gn as surfaceForegroundStyle, Hn as SURFACE_FOREGROUND_CSS_VARS, I as skinTokenCssVars, In as buildThemeTokens, It as introCompositionTreatmentValues, Jn as mediaSchema, Jt as opaqueSurfaceContextFromTheme, Kn as surfaceForegroundValue, Kt as visibleHeadingDecorationFamilyValues, Ln as defaultThemeTokens, Lt as makeBoundaryId, Mn as textColorValue, Mt as eyebrowTreatmentValues, Nn as parseThemeColorToken, Nt as featureCardCompositionTreatmentValues, O as generateButtonActionLayoutCss, On as cssVarValue, Ot as defineBlockDesignCapability, Qn as renderableMediaAssetSchema, Qt as resolveSurface, Rn as parseColorTokenParts, S as ACCORDION_OPEN_ACCENT_THICKNESS, T as ACCORDION_TRIGGER_LETTER_SPACING, Tn as TokenResolver, Un as surfaceForegroundDeclarations, Ut as testimonialsCompositionTreatmentValues, Vn as DEFAULT_SURFACE_TEXT_COLOR, Wn as surfaceForegroundInputFromResolved, Wt as tileTreatmentValues, Xn as runtimeMediaSchema, Xt as parseResolvedSurface, Yt as opaqueSurfaceDeclarations, Zt as parseSurfaceTree, _ as parseCustomCssRules, a as generateMobileOverlayBackdropFilterFix, ar as parseContentVersionId, at as siteChromeBackgroundOverrideOwner, b as INPUT_SPACING_MAP, bn as paletteColorsSchema, br as err, c as MQ_LG_UP, cr as parseSiteId, ct as generateCardCss, d as MQ_SM_UP, dn as surfaceToneFromForegroundToken, en as surfaceDecorationColors, er as resolveManagedMediaReference, f as MQ_TABLET_ONLY, fn as resolveSurfaceForeground, g as parseBlockCustomCssRules, h as getComponentShadowVar, i as generateHeaderScrollTreatmentStyles, ir as parseApiKeyId, jn as textColorStyle, jt as eventListTreatmentValues, k as generateButtonCss, kn as mergeStyles, l as MQ_MD_DOWN, lr as parseSiteTermsVersionId, lt as renderCssDeclarations, m as getComponentBorderWidthPx, mn as expandPalette, nt as boxBackgroundSchema, o as getHeaderPaintTargets, ot as stripStaleTransitionStyleGroup, p as headerVariantValues, pn as safeTokenOr, pt as cardVariantRoleValues, qn as surfaceForegroundValueWithOpacity, qt as mapDrawingStyle, r as themeSchema, rt as runtimeBoxBackgroundSchema, s as renderHeaderPaintTargetRules, sn as generateShadowValue$1, t as corners, tr as mediaIdentifierSchema, u as MQ_SM_DOWN, un as selectLogoVariant, ur as parseUserId, ut as generateShadowValue, v as FONT_WEIGHT_MAP, vn as resolveOpaqueSurfaceHex, w as ACCORDION_TRIGGER_FONT_SCALE, wt as asLayoutVariantKey, x as LABEL_FONT_SIZE_MAP, xn as paletteModeSchema, xr as ok, y as INPUT_FONT_SIZE_MAP, yt as asDesignBlockId, zt as offeringsPreviewCompositionTreatmentValues } from "./schema-C-m8XHuW.mjs";
4
3
  import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
5
- import { $r as parseGradientPresetId, Br as transparentHeaderForegroundInput, Ci as cardListFamilyBlocks, Di as isRecord$9, Gr as readStoredMode, Hr as mergeHeaderNavTypographyPreference, Ii as parseMailingListProviderScope, Ir as resolvedItemSurfaceProps, Jr as resolvePublishedLook, Jt as MediaPlaceholder, Kr as resolveEffectiveArrangement, Lr as effectiveHeaderNavLinkStyle, Qr as getGradientPreset, Rr as headerForegroundCandidates, Si as resolveEffectiveKnobs, Ti as itemRole, Ur as readHeaderNavFontSizePreference, Vr as readOpeningForegroundProjection, Wr as arrangementManifestFromVariants, Yr as requireCuratedSiteStyle, Yt as computeMediaTransformStyle, Zr as gradientToCss, _i as heroPhotoPaintsGround, ai as arrangementLookHooks, bi as sectionForegroundBackground, br as readRuntimeNow, ci as resolveLookSlotSurfaces, di as composeBoundary, ei as deriveSiteStyleBlockPolicy, fi as sectionFactsForContent, gi as deriveSectionGround, hi as transitionCatalogueEntries, ii as generateNavLinkCSS, li as headerRootPaint, mi as anglePolygonCss, ni as footerForegroundCandidates, oi as arrangementSlotNames, on as eventCalendarWeekStart, pi as boundaryRuntimeMetricsForDecorativeTransition, qr as resolveModeArrangement, ri as buildTextContrastShadow, si as resolveItemSurface, ti as generateFooterCss, ui as boundaryLayout, vi as parseCanonicalRuntimeBackground, wi as cardListKnobBlocks, xi as defineBlockDesignMetadata, xr as resolveDateRuntimeContext, yi as resolveSectionBackground, yr as isBlockButtonRole, zr as headerLeafTextColor } from "./wizardSteps-zgq10lN1.mjs";
6
- import { $ as isRecord$10, Ct as toUtcIsoDateTimeString, K as bookingConsentCarrierSchema, Q as isObjectRecord, W as publicEventsArraySchema, X as RichTextDocSchema, Z as isRichTextDoc, b as eventCalendarListLayoutCompatibleDisplayModeValues, et as WHOLE_SERIES_EVENT_PRESET_VALUES, g as resolveCalendarReadProfile, ht as getLocalScheduleDate, k as resolveEventCalendarReadPlan, m as calendarWindowQuerySchema, t as logger, tt as formatDate, x as eventCalendarListLayoutOptions, y as eventCalendarListGroupingDecision, yt as resolveBookingBusinessTimeZone } from "./noop-B610YKEx.mjs";
7
- import { a as normalizeLocationMapSource, i as normalizeLocationMapProps, n as LOCATION_MAP_DEFAULTS, r as LOCATION_MAP_LIMITS } from "./location-map.view-Cx4Bl7ij.mjs";
8
- import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, $t as resolveEventSelection, At as recurringScheduleProjectionSchema, Q as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, Yt as buildEventListWeek, an as planSiteChromePlacement, at as normalizeOfferingsPreviewContentForWrite, cn as publicPassProductCollectionSchema, dn as parseMailingListPlacementTargeting, et as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, in as parseHeaderPositioning, it as isOfferingsPreviewSourceKey, kt as projectRecurringSchedule, ln as buildMailingListSignupBlockSourceRef, mn as sameMailingListPlacementTargeting, nn as resolveHeaderChromeRuntimeContract, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sn as publicMembershipProductCollectionSchema, st as offeringsListingFor, tn as isHeaderScrollRuntimeEnabled, yt as occurrenceContextSchema } from "./shop.interactive-5SnnDHz3.mjs";
4
+ import { Ir as resolvedItemSurfaceProps, Jr as parseMailingListProviderScope, Jt as MediaPlaceholder, Lr as itemRole, Yt as computeMediaTransformStyle, br as readRuntimeNow, on as eventCalendarWeekStart, xr as resolveDateRuntimeContext, yr as isBlockButtonRole, zr as isRecord$9 } from "./wizardSteps-BkZc-hKH.mjs";
5
+ import { $ as isRecord$10, Ct as getLocalScheduleDate, Dt as resolveBookingBusinessTimeZone, K as bookingConsentCarrierSchema, Q as isObjectRecord, W as publicEventsArraySchema, X as RichTextDocSchema, Z as isRichTextDoc, at as projectPublicLocation, b as eventCalendarListLayoutCompatibleDisplayModeValues, et as WHOLE_SERIES_EVENT_PRESET_VALUES, g as resolveCalendarReadProfile, it as parseLocationValue, jt as toUtcIsoDateTimeString, k as resolveEventCalendarReadPlan, lt as formatDate, m as calendarWindowQuerySchema, nt as locationValueSchema, ot as publicLocationSchema, t as logger, tt as decideLocationSourcePermission, x as eventCalendarListLayoutOptions, y as eventCalendarListGroupingDecision } from "./noop-B7H6gCbj.mjs";
6
+ import { $ as defineFragment, $t as parseFieldDefinition, A as eventRegistrationBlockDefinition, At as lookQuoteLimitTransform, Bt as admitReadinessFacts, C as cartBlockDefinition, Cn as sectionStylesField, Ct as section, D as eventCalendarBlockDefinition, Dn as createButtonVariantField, Dt as when, E as shopBlockDefinition, En as createButtonGroup, Et as videoEmbed, F as cardListPhotoNumberFields, Ft as augmentManifest, G as formBlockDefinition, Gt as PUBLIC_FILE_FIELD_KINDS, H as desktopOnlyDisplay, Ht as pageTemplateFromEntry, I as cardListPresentationBindings, It as chosenString, J as formEmbedFragment, Jt as builtInBlockKindsSchema, K as formDataSchema, Kt as blockCategoryEnum, L as cardListSectionActionFields, Lt as galleryReadiness, M as FEATURE_CARD_ICON_TREATMENTS, Mt as lookSlot, N as cardListSectionAction, Nt as parseBlockIconValue, O as eventListingBlockDefinition, Ot as lookCarouselRegionTransform, P as cardListKnobFields, Pt as PUBLIC_DOWNLOAD_MEDIA_TYPES, Q as composeFragments, Qt as normalizeSelectSource, R as normalizeCardListContent, Rt as teamReadiness, S as checkoutBlockDefinition, Sn as containerStylesField, St as richText, T as productListBlockDefinition, Tn as getAnchorClasses, Tt as text, U as mobileOnlyDisplay, Ut as unavailableReadinessFact, Vt as loadedReadinessFact, W as normalizeMailingListBlockContent, Wt as DEFAULT_MEDIA_FIELD_KINDS, X as formCopyFragment, Xt as createSiteOptionSelectField, Y as withApiBindings, Yt as createSdkSelectField, Z as buildFragmentDataLoaders, Zt as fieldSchema, _ as normalizeLocationMapSource, _n as columnsField, _t as inline, a as buildLoadedOfferingsPreviewListing, an as projectRepeaterGridLayoutForRendering, at as sectionContainer, b as sanitizeNewsletterSignupPublicContent, bn as layoutField, bt as props, cn as resolveRepeaterGridColumnFieldId, ct as bind, dn as resolveRepeaterGridSpanFieldId, dt as carousel, en as parseFieldDefinitions, et as sectionHeaderFields, fn as NodeSchema, ft as el, g as normalizeLocationMapProps, gn as cardStylingFields, gt as icon, h as LOCATION_MAP_LIMITS, hn as linkSchema, ht as headerSection, it as styledContainer, j as FEATURE_CARD_GENERATED_ICON_SIZE_PX, jt as lookSkinSlotTransform, k as mapDrawingStyleBinding, kt as lookLeadSlotTransform, ln as resolveRepeaterGridColumnsForBreakpoint, lt as bookingForm, m as LOCATION_MAP_DEFAULTS, mn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, mt as form, nn as sdkBlockPresentationShape, nt as resolveBackgroundColorValue, on as buildRepeaterGridLayout, ot as backgroundFrame, p as SectionNode, pn as bindingSchema, pt as fileDownload, q as createBlockManifest, qt as blockSectionDeclarationShape, rn as validateSdkBlockDeclaration, rt as styledSection, s as buildAppointmentServicesView, sn as parseRepeaterGridInteger, st as accordionList, t as serverComponentRegistry, tn as validateManifestLookField, tt as sectionHeaderLayoutNodes, un as resolveRepeaterGridRowFieldId, ut as button, v as resolveLocationMapLocation, vn as emptyStateField, vt as link, w as productDetailBlockDefinition, wn as BACKGROUND_POSITION_PRESET_VALUES, wt as stack, x as giftingBlockDefinition, xn as cardStylesField, xt as repeat, y as newsletterSignupBlockDefinition, yn as eventDisplayFields, yt as media, zt as testimonialsReadiness } from "./registry.server-BTmSXE3D.mjs";
7
+ import { _ as plainTextToInlineText, g as parseInlineTextFromUnknown, h as inlineTextToPlainText, m as coerceInlineTextWithFallback } from "./timetableModel-V2ifvGGy.mjs";
8
+ import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, $t as resolveEventSelection, At as recurringScheduleProjectionSchema, Q as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, Yt as buildEventListWeek, an as planSiteChromePlacement, at as normalizeOfferingsPreviewContentForWrite, cn as publicPassProductCollectionSchema, dn as parseMailingListPlacementTargeting, et as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, in as parseHeaderPositioning, it as isOfferingsPreviewSourceKey, kt as projectRecurringSchedule, ln as buildMailingListSignupBlockSourceRef, mn as sameMailingListPlacementTargeting, nn as resolveHeaderChromeRuntimeContract, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sn as publicMembershipProductCollectionSchema, st as offeringsListingFor, tn as isHeaderScrollRuntimeEnabled, yt as occurrenceContextSchema } from "./shop.interactive-CVqLAU53.mjs";
9
+ import { A as footerForegroundCandidates, B as deriveSectionGround, C as deriveSiteStyleBlockPolicy, D as getGradientPreset, E as gradientToCss, F as composeBoundary, G as defineBlockDesignMetadata, H as parseCanonicalRuntimeBackground, I as sectionFactsForContent, J as cardListKnobBlocks, K as resolveEffectiveKnobs, L as boundaryRuntimeMetricsForDecorativeTransition, M as generateNavLinkCSS, N as headerRootPaint, O as parseGradientPresetId, P as boundaryLayout, R as anglePolygonCss, S as resolvePublishedLook, U as resolveSectionBackground, V as heroPhotoPaintsGround, W as sectionForegroundBackground, _ as resolveLookSlotSurfaces, b as resolveEffectiveArrangement, c as headerForegroundCandidates, d as readOpeningForegroundProjection, f as mergeHeaderNavTypographyPreference, g as resolveItemSurface, h as arrangementSlotNames, j as buildTextContrastShadow, k as generateFooterCss, l as headerLeafTextColor, m as arrangementLookHooks, n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, p as readHeaderNavFontSizePreference, q as cardListFamilyBlocks, s as effectiveHeaderNavLinkStyle, t as buildResolveImageUrlContext, u as transparentHeaderForegroundInput, v as arrangementManifestFromVariants, w as requireCuratedSiteStyle, x as resolveModeArrangement, y as readStoredMode, z as transitionCatalogueEntries } from "./mediaContext-jPeJ2PmJ.mjs";
9
10
  import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
10
- import { $ as backgroundFrame, $t as buildRepeaterGridLayout, A as cardListSectionActionFields, At as galleryReadiness, B as createBlockManifest, Bt as blockSectionDeclarationShape, C as eventRegistrationBlockDefinition, Ct as lookQuoteLimitTransform, D as cardListKnobFields, Dt as PUBLIC_DOWNLOAD_MEDIA_TYPES, E as cardListSectionAction, Et as parseBlockIconValue, F as desktopOnlyDisplay, Ft as pageTemplateFromEntry, G as composeFragments, Gt as normalizeSelectSource, H as withApiBindings, Ht as createSdkSelectField, I as mobileOnlyDisplay, It as unavailableReadinessFact, J as sectionHeaderLayoutNodes, Jt as validateManifestLookField, K as defineFragment, Kt as parseFieldDefinition, L as normalizeMailingListBlockContent, Lt as DEFAULT_MEDIA_FIELD_KINDS, Mt as testimonialsReadiness, Nt as admitReadinessFacts, O as cardListPhotoNumberFields, Ot as augmentManifest, Pt as loadedReadinessFact, Q as sectionContainer, Qt as projectRepeaterGridLayoutForRendering, R as formBlockDefinition, Rt as PUBLIC_FILE_FIELD_KINDS, S as eventListingBlockDefinition, St as lookLeadSlotTransform, T as FEATURE_CARD_ICON_TREATMENTS, Tt as lookSlot, U as formCopyFragment, Ut as createSiteOptionSelectField, V as formEmbedFragment, Vt as builtInBlockKindsSchema, W as buildFragmentDataLoaders, Wt as fieldSchema, X as styledSection, Xt as validateSdkBlockDeclaration, Y as resolveBackgroundColorValue, Yt as sdkBlockPresentationShape, Z as styledContainer, _ as cartBlockDefinition, _n as BACKGROUND_POSITION_PRESET_VALUES, _t as stack, a as buildLoadedOfferingsPreviewListing, an as NodeSchema, at as el, b as shopBlockDefinition, bn as createButtonVariantField, bt as when, cn as linkSchema, ct as headerSection, dn as emptyStateField, dt as link, en as parseRepeaterGridInteger, et as accordionList, f as SectionNode, fn as eventDisplayFields, ft as media, g as checkoutBlockDefinition, gn as sectionStylesField, gt as section, h as giftingBlockDefinition, hn as containerStylesField, ht as richText, in as resolveRepeaterGridSpanFieldId, it as carousel, j as normalizeCardListContent, jt as teamReadiness, k as cardListPresentationBindings, kt as chosenString, ln as cardStylingFields, lt as icon, m as sanitizeNewsletterSignupPublicContent, mn as cardStylesField, mt as repeat, nn as resolveRepeaterGridColumnsForBreakpoint, nt as bookingForm, o as buildAppointmentServicesView, on as bindingSchema, ot as fileDownload, p as newsletterSignupBlockDefinition, pn as layoutField, pt as props, q as sectionHeaderFields, qt as parseFieldDefinitions, rn as resolveRepeaterGridRowFieldId, rt as button, sn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, st as form, t as serverComponentRegistry, tn as resolveRepeaterGridColumnFieldId, tt as bind, un as columnsField, ut as inline, v as productDetailBlockDefinition, vn as getAnchorClasses, vt as text, w as FEATURE_CARD_GENERATED_ICON_SIZE_PX, wt as lookSkinSlotTransform, x as eventCalendarBlockDefinition, xt as lookCarouselRegionTransform, y as productListBlockDefinition, yn as createButtonGroup, yt as videoEmbed, z as formDataSchema, zt as blockCategoryEnum } from "./registry.server-BAm4RPNJ.mjs";
11
- import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DThoeEBU.mjs";
12
- import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-B-Yi5JZS.mjs";
11
+ import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-9RFrBejr.mjs";
13
12
  import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
14
- import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText, p as coerceInlineTextWithFallback } from "./timetableModel-C19rcHEw.mjs";
15
13
  import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
16
- import { t as formatDate$1 } from "./formatDate-xUSCknEO.mjs";
14
+ import { t as formatDate$1 } from "./formatDate-Danr0Nk4.mjs";
17
15
  import { s as declarativeCarouselSlides } from "./carousel.shared-DBnWEJzo.mjs";
18
- import { t as coerceRichTextDoc } from "./richText-coerce-Cv-qomNB.mjs";
19
- import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BOj-Co0B.mjs";
16
+ import { t as coerceRichTextDoc } from "./richText-coerce-B19taoH6.mjs";
17
+ import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BvjcAZpS.mjs";
20
18
  import * as React$1 from "react";
21
19
  import React from "react";
22
20
  import { z } from "zod";
23
21
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
24
22
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
23
+ //#region ../core/src/location-relationship.ts
24
+ /** Initial bounded policy; Opus can tune these values without changing callers. */
25
+ const LOCATION_MATCH_THRESHOLDS_METRES = {
26
+ building: 100,
27
+ street: 300,
28
+ area: 1e3
29
+ };
30
+ function locationDistanceMetres(a, b) {
31
+ const radians = Math.PI / 180;
32
+ const haversine = Math.sin((b.lat - a.lat) * radians / 2) ** 2 + Math.cos(a.lat * radians) * Math.cos(b.lat * radians) * Math.sin((b.lng - a.lng) * radians / 2) ** 2;
33
+ return 6371e3 * 2 * Math.asin(Math.sqrt(Math.min(1, Math.max(0, haversine))));
34
+ }
35
+ /** Arrival pins are never substituted for missing provider address points. */
36
+ function decideLocationRelationship(location) {
37
+ if (location === null) return { kind: "empty" };
38
+ if (location.pin === null) return { kind: "address_only" };
39
+ if (location.address === null) return { kind: "pin_only" };
40
+ if (location.addressMatch === null) return { kind: "unchecked" };
41
+ const { point, precision } = location.addressMatch;
42
+ const distanceMetres = locationDistanceMetres(point, location.pin);
43
+ const thresholdMetres = LOCATION_MATCH_THRESHOLDS_METRES[precision === "unknown" ? "building" : precision];
44
+ return {
45
+ kind: distanceMetres > thresholdMetres * (1 + 8 * Number.EPSILON) ? "far" : precision === "building" || precision === "unknown" ? "near" : "approximate",
46
+ distanceMetres,
47
+ thresholdMetres,
48
+ precision
49
+ };
50
+ }
51
+ /** Forms receive the decided save value, rather than a collection of flags. */
52
+ function decideLocationSave(location, activity) {
53
+ if (activity === "address-check") return {
54
+ kind: "blocked",
55
+ reason: "pending_address_check"
56
+ };
57
+ if (activity === "reverse") return {
58
+ kind: "blocked",
59
+ reason: "pending_reverse"
60
+ };
61
+ return decideLocationRelationship(location).kind === "far" && location?.ownerConfirmedPinAndAddress !== true ? {
62
+ kind: "blocked",
63
+ reason: "unconfirmed_mismatch"
64
+ } : {
65
+ kind: "ready",
66
+ location
67
+ };
68
+ }
69
+ //#endregion
25
70
  //#region ../core/src/block-content-identity.ts
26
71
  function readContentVersionId(value) {
27
72
  const parsed = parseContentVersionId(value);
@@ -3679,6 +3724,13 @@ const API_ENDPOINTS = {
3679
3724
  responseKind: "json",
3680
3725
  errors: []
3681
3726
  },
3727
+ replyToSupportTicket: {
3728
+ path: "/assistant/support/reply",
3729
+ method: "POST",
3730
+ auth: "user",
3731
+ responseKind: "json",
3732
+ errors: []
3733
+ },
3682
3734
  assistantTurn: {
3683
3735
  path: "/assistant/turn",
3684
3736
  method: "POST",
@@ -5165,6 +5217,22 @@ const API_ENDPOINTS = {
5165
5217
  auth: "admin",
5166
5218
  responseKind: "json"
5167
5219
  },
5220
+ adminReplyToSupportTicket: {
5221
+ path: "/admin/support/tickets/reply",
5222
+ method: "POST",
5223
+ tags: ["admin", "support"],
5224
+ auth: "admin",
5225
+ responseKind: "json",
5226
+ errors: []
5227
+ },
5228
+ adminSetSupportTicketStatus: {
5229
+ path: "/admin/support/tickets/status",
5230
+ method: "POST",
5231
+ tags: ["admin", "support"],
5232
+ auth: "admin",
5233
+ responseKind: "json",
5234
+ errors: []
5235
+ },
5168
5236
  mfaTotpEnroll: {
5169
5237
  path: "/auth/mfa/totp/enroll",
5170
5238
  method: "POST",
@@ -7233,8 +7301,17 @@ const API_ENDPOINTS = {
7233
7301
  responseKind: "json",
7234
7302
  errors: ["resource:conflict", "resource:not_found"]
7235
7303
  },
7236
- geocodeVenue: {
7237
- path: "/sites/{siteId}/bookings/geocode",
7304
+ previewLocationDrawing: {
7305
+ errors: ["resource:not_found"],
7306
+ path: "/sites/{siteId}/location/drawing-preview",
7307
+ method: "POST",
7308
+ tags: [],
7309
+ auth: "user",
7310
+ responseKind: "json"
7311
+ },
7312
+ geocodeLocation: {
7313
+ errors: ["resource:not_found"],
7314
+ path: "/sites/{siteId}/location/geocode",
7238
7315
  method: "POST",
7239
7316
  tags: ["site-{siteId}"],
7240
7317
  auth: "user",
@@ -9899,7 +9976,7 @@ async function parseSuccessResponse(endpoint, response, config) {
9899
9976
  if (!raw.trim()) return buildSuccessEnvelope(void 0, requestId);
9900
9977
  let parsed;
9901
9978
  try {
9902
- parsed = JSON.parse(raw);
9979
+ parsed = parseSurfaceTree(JSON.parse(raw));
9903
9980
  } catch (cause) {
9904
9981
  throw new ApiRequestError(`Failed to parse JSON response for endpoint ${String(endpoint)}`, {
9905
9982
  endpoint,
@@ -9944,6 +10021,9 @@ function createRawCMSClient(getHeaders = () => ({}), baseUrl) {
9944
10021
  return fetchPromise;
9945
10022
  };
9946
10023
  }
10024
+ function surfaceTransportCapability(endpoint) {
10025
+ return endpoint === "getContentByPath" ? "revision-v1" : void 0;
10026
+ }
9947
10027
  function buildApiRequestPlan(input) {
9948
10028
  const { endpoint, body, params, headers = {}, baseUrl } = input;
9949
10029
  const options = input.options ?? {};
@@ -9977,6 +10057,7 @@ function buildApiRequestPlan(input) {
9977
10057
  if (isGetOrHead && typeof body === "object" && body !== null && !isFormDataBody(body)) Object.entries(body).forEach(([key, value]) => {
9978
10058
  appendQueryParam(queryParams, key, value);
9979
10059
  });
10060
+ appendQueryParam(queryParams, "surfaceTransport", surfaceTransportCapability(endpoint));
9980
10061
  const queryString = queryParams.toString();
9981
10062
  if (queryString) url += (url.includes("?") ? "&" : "?") + queryString;
9982
10063
  const formDataBody = isFormDataBody(body) ? body : void 0;
@@ -10395,11 +10476,12 @@ const appointmentSetupVenueChoiceSchema = z.discriminatedUnion("kind", [
10395
10476
  title: z.string().trim().min(1),
10396
10477
  description: z.string().nullable(),
10397
10478
  timezone: z.string().trim().min(1).nullable(),
10398
- addressJson: z.record(z.string(), z.unknown()),
10479
+ locationValue: locationValueSchema.nullable().optional(),
10480
+ addressJson: z.record(z.string(), z.unknown()).optional(),
10399
10481
  locationJson: z.object({
10400
10482
  lat: z.number(),
10401
10483
  lng: z.number()
10402
- }).nullable()
10484
+ }).nullable().optional()
10403
10485
  })
10404
10486
  ]);
10405
10487
  const appointmentSetupPaymentDraftSchema = z.discriminatedUnion("kind", [
@@ -10852,7 +10934,9 @@ function canonicalizeObjectForWrite(plans, value) {
10852
10934
  function canonicalizeFieldValue(plan, value) {
10853
10935
  switch (plan.kind) {
10854
10936
  case "media": return canonicalizeMedia(value);
10855
- case "group": return plan.childSelection.kind === "discriminatedTabs" ? canonicalizeDiscriminatedGroup(plan, value) : canonicalizeObjectForWrite(plan.childSelection.fields, value);
10937
+ case "group":
10938
+ if (plan.valueContract === "location") return value;
10939
+ return plan.childSelection.kind === "discriminatedTabs" ? canonicalizeDiscriminatedGroup(plan, value) : canonicalizeObjectForWrite(plan.childSelection.fields, value);
10856
10940
  case "repeater": return canonicalizeRepeater(plan, value);
10857
10941
  case "string":
10858
10942
  case "number":
@@ -11058,7 +11142,7 @@ function pluralize(label, count) {
11058
11142
  return label.endsWith("s") ? label : `${label}s`;
11059
11143
  }
11060
11144
  function valueContractForField(field) {
11061
- return field.ui?.valueContract === "boxBackground" ? { valueContract: "boxBackground" } : {};
11145
+ return field.ui?.valueContract !== void 0 ? { valueContract: field.ui.valueContract } : {};
11062
11146
  }
11063
11147
  function deriveTabGroupValidationPlan(field, path, required) {
11064
11148
  return {
@@ -11167,7 +11251,8 @@ function deriveFieldValidationPlan(field, path = [field.id]) {
11167
11251
  kind: "all",
11168
11252
  fields: deriveNestedFieldPlans(field.schema?.fields ?? [], path)
11169
11253
  },
11170
- allowNullChildren: field.type === "group" && field.ui?.widget === "locationPicker"
11254
+ allowNullChildren: field.type === "group" && field.ui?.widget === "locationPicker",
11255
+ ...valueContractForField(field)
11171
11256
  };
11172
11257
  case "tabGroup": return deriveTabGroupValidationPlan(field, path, required);
11173
11258
  case "presetOrCustom":
@@ -11302,7 +11387,9 @@ function normalizeManifestContentForWrite(plans, content, options = {}) {
11302
11387
  function normalizeStoredFieldValueWithContext(plan, value, ctx) {
11303
11388
  if (value === null && !plan.required) return;
11304
11389
  switch (plan.kind) {
11305
- case "group": return normalizeStoredObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
11390
+ case "group":
11391
+ if (plan.valueContract === "location") return normalizeLocationContract(value, ctx.mode);
11392
+ return normalizeStoredObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
11306
11393
  case "repeater": return normalizeStoredRepeaterItems(plan, value, ctx);
11307
11394
  case "string":
11308
11395
  case "number":
@@ -11338,7 +11425,9 @@ function normalizeFieldValue(plan, value, ctx) {
11338
11425
  switch (plan.kind) {
11339
11426
  case "number": return normalizeNumberInput(value, ctx.allowNull);
11340
11427
  case "string": return acceptsOptionalBlankAsMissing(plan, value) ? void 0 : value;
11341
- case "group": return normalizeObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
11428
+ case "group":
11429
+ if (plan.valueContract === "location") return normalizeLocationContract(value, ctx.mode);
11430
+ return normalizeObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
11342
11431
  case "repeater": return normalizeRepeaterItems(plan, value, ctx);
11343
11432
  case "link":
11344
11433
  case "boolean":
@@ -11428,7 +11517,7 @@ function acceptsNullValue(plan, ctx) {
11428
11517
  return ctx.mode === "storable" ? !plan.required : ctx.allowNull || acceptsOptionalNullValue(plan);
11429
11518
  }
11430
11519
  function acceptsOptionalNullValue(plan) {
11431
- return !plan.required && (plan.kind === "media" || plan.kind === "number");
11520
+ return !plan.required && (plan.kind === "media" || plan.kind === "number" || plan.kind === "group" && plan.valueContract === "location");
11432
11521
  }
11433
11522
  function isMissingForPlan(plan, value, mode) {
11434
11523
  if (value === void 0) return true;
@@ -11588,6 +11677,7 @@ function validateFlattenedGroupContainers(groupIds, item, plan, index, ctx) {
11588
11677
  }] : []);
11589
11678
  }
11590
11679
  function validateGroupPlan(plan, value, ctx) {
11680
+ if (plan.valueContract === "location") return validateLocationGroupContract(plan, value, ctx);
11591
11681
  if (!isPlainObject$4(value)) return [issue(plan, "wrongType", { expected: "an object" })];
11592
11682
  if (plan.childSelection.kind === "discriminatedTabs") {
11593
11683
  const selectedType = value[plan.childSelection.activeTabField];
@@ -11601,8 +11691,7 @@ function validateGroupPlan(plan, value, ctx) {
11601
11691
  const childCtx = childValidationContext(plan, ctx);
11602
11692
  const childIssues = selectedGroupChildPlans(plan, value).flatMap((childPlan) => validateNormalizedFieldValue(childPlan, value[childPlan.fieldId], childCtx));
11603
11693
  if (childIssues.length > 0) return childIssues;
11604
- if (plan.valueContract === "boxBackground" && !(ctx.mode === "render" ? runtimeBoxBackgroundSchema : boxBackgroundSchema).safeParse(value).success) return [issue(plan, "invalidBoxBackground")];
11605
- return [];
11694
+ return validateGroupBackgroundContract(plan, value, ctx);
11606
11695
  }
11607
11696
  function childValidationContext(plan, ctx) {
11608
11697
  return plan.allowNullChildren ? {
@@ -11712,12 +11801,12 @@ function fieldPlanToStrictObjectPropertyZod(plan, mode = "strict", layoutGridCoo
11712
11801
  }),
11713
11802
  layoutGridCoordinates
11714
11803
  };
11715
- const schema = z.any().superRefine((value, zodCtx) => {
11804
+ const projected = z.any().superRefine((value, zodCtx) => {
11716
11805
  validateNormalizedFieldValue(plan, value, ctx).forEach((validationIssue) => {
11717
11806
  addFieldIssueToZodContext(zodCtx, validationIssue, plan.path);
11718
11807
  });
11719
- });
11720
- return plan.required ? schema : schema.optional();
11808
+ }).transform((value) => mode === "render" && plan.kind === "group" && plan.valueContract === "location" ? normalizeLocationContract(value, "render") : value);
11809
+ return plan.required ? projected : projected.optional();
11721
11810
  }
11722
11811
  function fieldIssueToZodDetail(issue) {
11723
11812
  if (issue.kind === "required") return issue.emptyOrigin ? {
@@ -11847,6 +11936,28 @@ function isEmptyRichTextDoc(value) {
11847
11936
  const first = content[0];
11848
11937
  return first?.type === "paragraph" && (!Array.isArray(first.content) || first.content.length === 0);
11849
11938
  }
11939
+ function normalizeLocationContract(value, mode) {
11940
+ const canonical = locationValueSchema.safeParse(value);
11941
+ if (canonical.success) return mode === "render" ? projectPublicLocation(canonical.data) : canonical.data;
11942
+ const publicValue = mode === "render" ? publicLocationSchema.safeParse(value) : null;
11943
+ return publicValue?.success ? publicValue.data : value;
11944
+ }
11945
+ function validateLocationGroupContract(plan, value, ctx) {
11946
+ if (isRenderLocationRecovery(value, ctx.mode)) return [];
11947
+ if (!(ctx.mode === "render" || ctx.mode === "render-source" ? z.union([locationValueSchema, publicLocationSchema]) : locationValueSchema).safeParse(value).success) return [issue(plan, "wrongType", { expected: "a valid location" })];
11948
+ if (ctx.mode === "storable" || ctx.mode === "strict") {
11949
+ const canonical = locationValueSchema.safeParse(value);
11950
+ if (canonical.success && decideLocationSave(canonical.data, "idle").kind === "blocked") return [issue(plan, "wrongType", { expected: "a confirmed address and pin" })];
11951
+ }
11952
+ return [];
11953
+ }
11954
+ function validateGroupBackgroundContract(plan, value, ctx) {
11955
+ if (plan.valueContract === "boxBackground" && !(ctx.mode === "render" ? runtimeBoxBackgroundSchema : boxBackgroundSchema).safeParse(value).success) return [issue(plan, "invalidBoxBackground")];
11956
+ return [];
11957
+ }
11958
+ function isRenderLocationRecovery(value, mode) {
11959
+ return (mode === "render" || mode === "render-source") && z.strictObject({ kind: z.literal("needs_place") }).safeParse(value).success;
11960
+ }
11850
11961
  //#endregion
11851
11962
  //#region ../blocks/src/system/manifest/registry.ts
11852
11963
  const REGISTRY_SYMBOL$1 = Symbol.for("@riverbankcms/blocks/manifest-registry");
@@ -11902,7 +12013,7 @@ function projectLayoutGridPlansForRendering(plans, value, rootValues = layoutGri
11902
12013
  if (!values) return value;
11903
12014
  return plans.reduce((projected, plan) => {
11904
12015
  const fieldValue = projected[plan.fieldId];
11905
- const next = plan.kind === "group" ? projectLayoutGridPlansForRendering(allGroupChildPlans(plan), fieldValue, rootValues) : plan.kind === "repeater" && Array.isArray(fieldValue) ? projectGrid(plan, fieldValue, rootValues).map((item) => {
12016
+ const next = plan.kind === "group" && plan.valueContract === "location" ? recoverUnreadableLocation(fieldValue) : plan.kind === "group" ? projectLayoutGridPlansForRendering(allGroupChildPlans(plan), fieldValue, rootValues) : plan.kind === "repeater" && Array.isArray(fieldValue) ? projectGrid(plan, fieldValue, rootValues).map((item) => {
11906
12017
  const row = layoutGridRecord(item);
11907
12018
  return row ? projectLayoutGridPlansForRendering(resolveLayoutGridItemPlans(plan, row), row, rootValues) : item;
11908
12019
  }) : fieldValue;
@@ -11912,6 +12023,11 @@ function projectLayoutGridPlansForRendering(plans, value, rootValues = layoutGri
11912
12023
  };
11913
12024
  }, values);
11914
12025
  }
12026
+ /** Render recovery drops unreadable meaning rather than interpreting obsolete coordinates. */
12027
+ function recoverUnreadableLocation(value) {
12028
+ if (value == null || locationValueSchema.safeParse(value).success || publicLocationSchema.safeParse(value).success) return value;
12029
+ return { kind: "needs_place" };
12030
+ }
11915
12031
  //#endregion
11916
12032
  //#region ../blocks/src/system/manifest/validation.ts
11917
12033
  const compiledManifestContentContract = Symbol("compiledManifestContentContract");
@@ -11968,7 +12084,7 @@ function unknownManifestFieldPaths(plans, value, parent = [], discriminator) {
11968
12084
  }
11969
12085
  function nestedUnknownManifestFieldPaths(plan, value, path) {
11970
12086
  if (plan.kind === "group") {
11971
- if (plan.valueContract === "boxBackground") return [];
12087
+ if (plan.valueContract !== void 0) return [];
11972
12088
  const selection = plan.childSelection;
11973
12089
  return unknownManifestFieldPaths(allGroupChildPlans(plan), value, path, selection.kind === "discriminatedTabs" ? selection.activeTabField : void 0);
11974
12090
  }
@@ -12004,7 +12120,7 @@ function admitTransportedRenderableManifestContent(contract, content) {
12004
12120
  const parsed = state.renderSchema.safeParse(projected);
12005
12121
  return parsed.success ? {
12006
12122
  ok: true,
12007
- value: projected
12123
+ value: parsed.data
12008
12124
  } : {
12009
12125
  ok: false,
12010
12126
  error: zodAdmissionError(parsed.error)
@@ -12030,7 +12146,7 @@ function deriveContentZodFromPlans(plans, options, validateLayoutGrids = true) {
12030
12146
  });
12031
12147
  }
12032
12148
  function deriveStrictContentZodFromPlans(plans, mode = "strict") {
12033
- const shape = Object.fromEntries(plans.map((plan) => [plan.fieldId, fieldPlanToStrictObjectPropertyZod(plan, mode === "render" ? "render" : "strict", mode === "strict" ? "validate" : "projected")]));
12149
+ const shape = Object.fromEntries(plans.map((plan) => [plan.fieldId, fieldPlanToStrictObjectPropertyZod(plan, mode, mode === "strict" ? "validate" : "projected")]));
12034
12150
  return z.object(shape).catchall(z.unknown()).passthrough().superRefine((values, ctx) => {
12035
12151
  if (mode !== "strict") return;
12036
12152
  validateLayoutGridPlans(plans, values).forEach((issue) => {
@@ -12107,7 +12223,7 @@ function visitRepeatedMedia(plan, value, path, visit) {
12107
12223
  function collectNonPortablePlannedMedia(plans, content, parentPath, paths) {
12108
12224
  visitPlannedMedia(plans, content, parentPath, (value, path, kind) => {
12109
12225
  if (kind === "richText") collectNonPortableRichTextImages(value, path, paths);
12110
- else if (isPlainRecord(value) && (hasEnvironmentSpecificMediaField(value) || hasNonPortablePoster(value))) paths.add(formatFieldPath(path));
12226
+ else if (value !== null && value !== void 0 && !mediaSchema.safeParse(value).success) paths.add(formatFieldPath(path));
12111
12227
  });
12112
12228
  }
12113
12229
  function collectNonPortableRichTextImages(value, path, paths) {
@@ -12122,10 +12238,6 @@ function isPlainRecord(value) {
12122
12238
  function hasEnvironmentSpecificMediaField(value) {
12123
12239
  return "assetId" in value || "storageBucket" in value || "storagePath" in value || "src" in value || "mimeType" in value || looksLikeUuid(value.id);
12124
12240
  }
12125
- function hasNonPortablePoster(value) {
12126
- if (value.poster === void 0) return false;
12127
- return !mediaPosterSchema.safeParse(value.poster).success;
12128
- }
12129
12241
  //#endregion
12130
12242
  //#region ../blocks/src/system/manifest/variantKey.ts
12131
12243
  /** Parse stored content only; defaults belong to resolveEffectiveArrangement. */
@@ -13354,6 +13466,20 @@ function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
13354
13466
  }, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
13355
13467
  }
13356
13468
  function resolveSurfaceForegroundStyles(value, context, options) {
13469
+ const resolved = cachedSectionSurface(value, context, options);
13470
+ const foreground = resolved.foreground;
13471
+ if (foreground.kind === "unknown") return { ...resolved.buttonStyles };
13472
+ return {
13473
+ ...arrangementSurfaceInk(foreground, context),
13474
+ ...resolved.buttonStyles,
13475
+ ...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context)))
13476
+ };
13477
+ }
13478
+ /** The section ground's resolved foreground, for decorations drawn on that ground (maps). */
13479
+ function resolveSectionSurfaceForeground(value, context, options) {
13480
+ return cachedSectionSurface(value, context, options).foreground;
13481
+ }
13482
+ function cachedSectionSurface(value, context, options) {
13357
13483
  const key = JSON.stringify([
13358
13484
  value,
13359
13485
  context.proseHoverCandidate,
@@ -13364,13 +13490,7 @@ function resolveSurfaceForegroundStyles(value, context, options) {
13364
13490
  if (!sectionSurfaceCache.has(context.theme)) sectionSurfaceCache.set(context.theme, cache);
13365
13491
  const resolved = cache.get(key) ?? resolveRuntimeSectionSurface(value, context, options);
13366
13492
  cache.set(key, resolved);
13367
- const foreground = resolved.foreground;
13368
- if (foreground.kind === "unknown") return { ...resolved.buttonStyles };
13369
- return {
13370
- ...arrangementSurfaceInk(foreground, context),
13371
- ...resolved.buttonStyles,
13372
- ...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context)))
13373
- };
13493
+ return resolved;
13374
13494
  }
13375
13495
  /** Cache only the owner's result; no foreground or button rules live here. */
13376
13496
  function resolveRuntimeSectionSurface(value, context, options) {
@@ -14148,7 +14268,7 @@ const heroCopyFragment = defineFragment({
14148
14268
  {
14149
14269
  id: "eyebrow",
14150
14270
  type: "text",
14151
- label: "Eyebrow",
14271
+ label: "Small heading above the title",
14152
14272
  description: "Optional short line above the headline",
14153
14273
  visibleRoles: ["designer", "admin"]
14154
14274
  },
@@ -14198,7 +14318,7 @@ const heroCopyFragment = defineFragment({
14198
14318
  //#endregion
14199
14319
  //#region ../blocks/src/system/fields/ctas.ts
14200
14320
  function createCtasRepeater(options = {}) {
14201
- const { id = "ctas", label = "Calls to action", itemLabel = "CTA", minItems = 0, maxItems, button, defaultValue } = options;
14321
+ const { id = "ctas", label = "Buttons", itemLabel = "Button", minItems = 0, maxItems, button, defaultValue } = options;
14202
14322
  const fieldId = id;
14203
14323
  const buttonField = createButtonGroup({
14204
14324
  showGroupLabel: false,
@@ -14227,8 +14347,8 @@ const ctaRowFragment = defineFragment({
14227
14347
  title: "CTA Row",
14228
14348
  description: "Repeatable calls to action rendered inline.",
14229
14349
  fields: [createCtasRepeater({
14230
- label: "Calls to action",
14231
- itemLabel: "CTA",
14350
+ label: "Buttons",
14351
+ itemLabel: "Button",
14232
14352
  maxItems: 3
14233
14353
  })],
14234
14354
  layout: [ctaRow({
@@ -14241,8 +14361,8 @@ const ctaRowFragment = defineFragment({
14241
14361
  //#endregion
14242
14362
  //#region ../blocks/src/system/fragments/library/heroCtaRow.ts
14243
14363
  const heroCtaFields = [createCtasRepeater({
14244
- label: "Calls to action",
14245
- itemLabel: "CTA",
14364
+ label: "Buttons",
14365
+ itemLabel: "Button",
14246
14366
  maxItems: 3,
14247
14367
  defaultValue: [],
14248
14368
  button: {
@@ -14308,7 +14428,7 @@ const ctaCopyFragment = defineFragment({
14308
14428
  {
14309
14429
  id: "eyebrow",
14310
14430
  type: "text",
14311
- label: "Eyebrow",
14431
+ label: "Small heading above the title",
14312
14432
  description: "Optional short line above the title",
14313
14433
  visibleRoles: ["designer", "admin"]
14314
14434
  },
@@ -15071,7 +15191,7 @@ const faqHeadingFragment = defineFragment({
15071
15191
  {
15072
15192
  id: "eyebrow",
15073
15193
  type: "text",
15074
- label: "Eyebrow",
15194
+ label: "Small heading above the title",
15075
15195
  description: "Short label displayed above the title.",
15076
15196
  visibleRoles: ["designer", "admin"],
15077
15197
  maxLength: 60
@@ -16327,6 +16447,11 @@ const heroBlockDefinition = { manifest: createBlockManifest({
16327
16447
  ]
16328
16448
  },
16329
16449
  defaultVariant: "classic",
16450
+ variantOptions: {
16451
+ micro: { label: "Compact" },
16452
+ split: { label: "Split, photo on the left" },
16453
+ splitReverse: { label: "Split, photo on the right" }
16454
+ },
16330
16455
  description: "A big opening headline, with a short line underneath and buttons.",
16331
16456
  tags: [
16332
16457
  "header",
@@ -16661,8 +16786,8 @@ const introBlockDefinition = { manifest: createBlockManifest({
16661
16786
  }
16662
16787
  }),
16663
16788
  createCtasRepeater({
16664
- label: "Calls to action",
16665
- itemLabel: "CTA",
16789
+ label: "Buttons",
16790
+ itemLabel: "Button",
16666
16791
  maxItems: 2
16667
16792
  })
16668
16793
  ],
@@ -19536,7 +19661,7 @@ const testimonialsBlockDefinition = {
19536
19661
  },
19537
19662
  promotedFields: ["maxEntries"],
19538
19663
  title: "Testimonials",
19539
- category: "marketing",
19664
+ category: "people",
19540
19665
  contentSource: { kind: "inline" },
19541
19666
  includeContainerStyles: true,
19542
19667
  layout: carouselLayout$1,
@@ -20244,7 +20369,7 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
20244
20369
  {
20245
20370
  id: "eyebrow",
20246
20371
  type: "text",
20247
- label: "Eyebrow",
20372
+ label: "Small heading above the title",
20248
20373
  required: false,
20249
20374
  multiline: false,
20250
20375
  maxLength: 80
@@ -20342,8 +20467,8 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
20342
20467
  ui: { richTextVariant: "limited" }
20343
20468
  },
20344
20469
  createCtasRepeater({
20345
- label: "Calls to action",
20346
- itemLabel: "CTA",
20470
+ label: "Buttons",
20471
+ itemLabel: "Button",
20347
20472
  maxItems: 1,
20348
20473
  button: { defaultVariant: "ghost" }
20349
20474
  })
@@ -20618,7 +20743,7 @@ const textCardStylesField = (() => {
20618
20743
  const mediaTextBlockDefinition = { manifest: createBlockManifest({
20619
20744
  id: "block.media-text",
20620
20745
  title: "Media and text",
20621
- category: "layout",
20746
+ category: "text-and-images",
20622
20747
  contentSource: { kind: "inline" },
20623
20748
  includeContainerStyles: true,
20624
20749
  titleSource: "title",
@@ -20656,7 +20781,7 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
20656
20781
  {
20657
20782
  id: "eyebrow",
20658
20783
  type: "text",
20659
- label: "Eyebrow",
20784
+ label: "Small heading above the title",
20660
20785
  description: "Optional short label above the title",
20661
20786
  required: false,
20662
20787
  multiline: false,
@@ -21574,7 +21699,7 @@ const eventDetailsBlockDefinition = {
21574
21699
  layout: [styledSection({
21575
21700
  baseClass: "",
21576
21701
  spacing: "spacious",
21577
- children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("event-details", withApiBindings({
21702
+ children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("div", { style: mapDrawingStyleBinding }, [el("event-details", withApiBindings({
21578
21703
  entryTitle: { $bind: {
21579
21704
  from: "$root.contentEntry.title",
21580
21705
  fallback: null
@@ -21624,7 +21749,7 @@ const eventDetailsBlockDefinition = {
21624
21749
  from: "data.eventDetailsData.autoApplyDiscount",
21625
21750
  fallback: null
21626
21751
  } }
21627
- }, { includeApiBaseUrl: false }))], { gap: "lg" })
21752
+ }, { includeApiBaseUrl: false }))])], { gap: "lg" })
21628
21753
  })]
21629
21754
  }),
21630
21755
  dataSchemas: {
@@ -21885,7 +22010,7 @@ const recurringScheduleBlockDefinition = {
21885
22010
  {
21886
22011
  id: "eyebrow",
21887
22012
  type: "text",
21888
- label: "Eyebrow",
22013
+ label: "Small heading above the title",
21889
22014
  required: false,
21890
22015
  maxLength: 80
21891
22016
  },
@@ -22814,6 +22939,7 @@ const imageGalleryFields = parseFieldDefinitions([
22814
22939
  minItems: 0,
22815
22940
  maxItems: 24,
22816
22941
  ui: {
22942
+ intent: "behavior",
22817
22943
  repeaterPreset: "thumbnailGrid",
22818
22944
  thumbnailField: "image",
22819
22945
  thumbnailAltField: "caption",
@@ -23603,7 +23729,7 @@ const imageGalleryBlockDefinition = {
23603
23729
  icon: "Columns"
23604
23730
  },
23605
23731
  marquee: {
23606
- label: "Marquee (infinite scroll)",
23732
+ label: "Scrolling strip",
23607
23733
  description: "Infinite horizontal scrolling gallery",
23608
23734
  icon: "Repeat"
23609
23735
  }
@@ -23719,6 +23845,7 @@ const videoGridLayout = section({
23719
23845
  const videoGridBlockDefinition = { manifest: createBlockManifest({
23720
23846
  variantMeaning: { kind: "arrangement" },
23721
23847
  id: "block.video-grid",
23848
+ promotedFields: ["videos"],
23722
23849
  title: "Video grid",
23723
23850
  category: "photos",
23724
23851
  contentSource: { kind: "inline" },
@@ -23803,6 +23930,7 @@ const videoGridBlockDefinition = { manifest: createBlockManifest({
23803
23930
  type: "repeater",
23804
23931
  label: "Videos",
23805
23932
  itemLabel: "Video",
23933
+ ui: { intent: "behavior" },
23806
23934
  minItems: 0,
23807
23935
  maxItems: 12,
23808
23936
  schema: { fields: [
@@ -24005,7 +24133,7 @@ const fileDownloadBlockDefinition = { manifest: createBlockManifest({
24005
24133
  id: "block.file-download",
24006
24134
  title: "File download",
24007
24135
  titleSource: ["title", "file.filename"],
24008
- category: "media",
24136
+ category: "text-and-images",
24009
24137
  contentSource: { kind: "inline" },
24010
24138
  description: "A link visitors can use to download a file, such as a PDF.",
24011
24139
  tags: [
@@ -24498,9 +24626,11 @@ function normalizeLocationMapContent(content) {
24498
24626
  const locationSource = normalizeLocationMapSource(record.locationSource);
24499
24627
  const venueId = typeof record.venueId === "string" && record.venueId.trim() ? record.venueId.trim() : null;
24500
24628
  return {
24629
+ wider: record.wider === true,
24630
+ googleMapsLabel: typeof record.googleMapsLabel === "string" ? record.googleMapsLabel : "Open in Google Maps",
24501
24631
  heading: typeof record.heading === "string" ? record.heading : void 0,
24502
24632
  locationSource,
24503
- ...authoredLocationMapSourceFields(locationSource, venueId, normalized.locationValue),
24633
+ ...authoredLocationMapSourceFields(locationSource, venueId, locationSource === "custom" ? parseAuthoredLocation(record.location) : null),
24504
24634
  showOpeningHours: record.showOpeningHours !== false,
24505
24635
  showAddressText: normalized.showAddressText,
24506
24636
  showDirections: normalized.showDirections,
@@ -24526,9 +24656,91 @@ function authoredLocationMapSourceFields(source, venueId, location) {
24526
24656
  };
24527
24657
  }
24528
24658
  }
24659
+ const locationMapNodeProps = {
24660
+ mapStyle: mapDrawingStyleBinding,
24661
+ siteCountry: { $bind: {
24662
+ from: "$root.site.siteCountry",
24663
+ fallback: null
24664
+ } },
24665
+ openingHours: { $bind: {
24666
+ from: "$root.openingHours",
24667
+ fallback: null
24668
+ } },
24669
+ showOpeningHours: { $bind: {
24670
+ from: "content.showOpeningHours",
24671
+ fallback: true
24672
+ } },
24673
+ location: { $bind: {
24674
+ from: "content.location",
24675
+ fallback: null
24676
+ } },
24677
+ businessAddress: { $bind: {
24678
+ from: "$root.site.businessAddress",
24679
+ fallback: null
24680
+ } },
24681
+ locationSource: { $bind: {
24682
+ from: "content.locationSource",
24683
+ fallback: "custom"
24684
+ } },
24685
+ venueId: { $bind: {
24686
+ from: "content.venueId",
24687
+ fallback: null
24688
+ } },
24689
+ venuesById: { $bind: {
24690
+ from: "$root.site.venuesById",
24691
+ fallback: null
24692
+ } },
24693
+ wider: { $bind: {
24694
+ from: "content.wider",
24695
+ fallback: false
24696
+ } },
24697
+ googleMapsLabel: { $bind: {
24698
+ from: "content.googleMapsLabel",
24699
+ fallback: "Open in Google Maps"
24700
+ } },
24701
+ zoom: { $bind: {
24702
+ from: "content.zoom",
24703
+ fallback: LOCATION_MAP_DEFAULTS.zoom
24704
+ } },
24705
+ heightPx: { $bind: {
24706
+ from: "content.heightPx",
24707
+ fallback: LOCATION_MAP_DEFAULTS.heightPx
24708
+ } },
24709
+ showAddressText: { $bind: {
24710
+ from: "content.showAddressText",
24711
+ fallback: LOCATION_MAP_DEFAULTS.showAddressText
24712
+ } },
24713
+ showDirections: { $bind: {
24714
+ from: "content.showDirections",
24715
+ fallback: LOCATION_MAP_DEFAULTS.showDirections
24716
+ } },
24717
+ directionsLabel: { $bind: {
24718
+ from: "content.directionsLabel",
24719
+ fallback: LOCATION_MAP_DEFAULTS.directionsLabel
24720
+ } }
24721
+ };
24722
+ /** Look-only layouts hand the details their compiler-resolved slot and surface (the wide map's sheet). */
24723
+ const lookPresentationProps = {
24724
+ lookSlots: { $bind: { from: "content._lookSlots" } },
24725
+ itemSurfaces: { $bind: { from: "content._effectiveLook.itemSurfaces" } }
24726
+ };
24727
+ const arrangedLayout = (body) => styledSection({
24728
+ baseClass: "",
24729
+ spacing: "comfortable",
24730
+ children: el("div", {
24731
+ className: "rb-container",
24732
+ ...lookSlot("layout")
24733
+ }, [el("div", lookSlot("head"), [text({
24734
+ as: "h2",
24735
+ ...lookSlot("heading")
24736
+ }, bind("content.heading"))], when("content.heading")), ...body])
24737
+ });
24529
24738
  const locationMapBlockDefinition = {
24530
24739
  manifest: createBlockManifest({
24531
- variantMeaning: { kind: "arrangement" },
24740
+ variantMeaning: {
24741
+ kind: "arrangement",
24742
+ lookOnlyKeys: ["map-and-details", "photo-and-details"]
24743
+ },
24532
24744
  id: "block.location-map",
24533
24745
  title: "Map",
24534
24746
  titleSource: "heading",
@@ -24558,20 +24770,20 @@ const locationMapBlockDefinition = {
24558
24770
  parseFieldDefinition({
24559
24771
  id: "locationSource",
24560
24772
  type: "select",
24561
- label: "Location source",
24773
+ label: "Which place?",
24562
24774
  defaultValue: "custom",
24563
24775
  options: [
24564
24776
  {
24565
24777
  value: "business_address",
24566
- label: "Use business address"
24778
+ label: "Your business address"
24567
24779
  },
24568
24780
  {
24569
24781
  value: "venue",
24570
- label: "Use a venue"
24782
+ label: "One of your venues"
24571
24783
  },
24572
24784
  {
24573
24785
  value: "custom",
24574
- label: "Custom address"
24786
+ label: "A different place"
24575
24787
  }
24576
24788
  ],
24577
24789
  ui: {
@@ -24601,6 +24813,7 @@ const locationMapBlockDefinition = {
24601
24813
  required: false,
24602
24814
  ui: {
24603
24815
  widget: "locationPicker",
24816
+ valueContract: "location",
24604
24817
  intent: "content",
24605
24818
  visibleWhen: {
24606
24819
  field: "locationSource",
@@ -24636,6 +24849,15 @@ const locationMapBlockDefinition = {
24636
24849
  }
24637
24850
  ] }
24638
24851
  }),
24852
+ parseFieldDefinition({
24853
+ id: "entrancePhoto",
24854
+ type: "media",
24855
+ label: "Entrance photo",
24856
+ description: "A photo of the door or the way in. It shows when this section uses the “Entrance photo beside the details” Look.",
24857
+ required: false,
24858
+ mediaKinds: ["image"],
24859
+ ui: { intent: "content" }
24860
+ }),
24639
24861
  parseFieldDefinition({
24640
24862
  id: "showOpeningHours",
24641
24863
  type: "boolean",
@@ -24672,18 +24894,19 @@ const locationMapBlockDefinition = {
24672
24894
  }
24673
24895
  }),
24674
24896
  parseFieldDefinition({
24675
- id: "zoom",
24676
- type: "number",
24677
- label: "Zoom",
24678
- defaultValue: LOCATION_MAP_DEFAULTS.zoom,
24679
- min: LOCATION_MAP_LIMITS.zoom.min,
24680
- max: LOCATION_MAP_LIMITS.zoom.max,
24681
- step: 1,
24682
- ui: {
24683
- intent: "display",
24684
- widget: "slider",
24685
- showValue: true
24686
- }
24897
+ id: "wider",
24898
+ type: "boolean",
24899
+ label: "Show a wider area",
24900
+ defaultValue: false,
24901
+ ui: { intent: "display" }
24902
+ }),
24903
+ parseFieldDefinition({
24904
+ id: "googleMapsLabel",
24905
+ type: "text",
24906
+ label: "Google Maps button label",
24907
+ defaultValue: "Open in Google Maps",
24908
+ maxLength: 60,
24909
+ ui: { intent: "display" }
24687
24910
  }),
24688
24911
  parseFieldDefinition({
24689
24912
  id: "heightPx",
@@ -24696,64 +24919,27 @@ const locationMapBlockDefinition = {
24696
24919
  ui: {
24697
24920
  intent: "display",
24698
24921
  widget: "slider",
24699
- showValue: true
24922
+ showValue: true,
24923
+ valueUnit: "pixels"
24700
24924
  }
24701
24925
  })
24702
24926
  ],
24703
24927
  layout: styledSection({
24704
24928
  baseClass: "",
24705
24929
  spacing: "comfortable",
24706
- children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", {
24707
- openingHours: { $bind: {
24708
- from: "$root.openingHours",
24709
- fallback: null
24710
- } },
24711
- showOpeningHours: { $bind: {
24712
- from: "content.showOpeningHours",
24713
- fallback: true
24714
- } },
24715
- location: { $bind: {
24716
- from: "content.location",
24717
- fallback: null
24718
- } },
24719
- businessAddress: { $bind: {
24720
- from: "site.businessAddress",
24721
- fallback: null
24722
- } },
24723
- locationSource: { $bind: {
24724
- from: "content.locationSource",
24725
- fallback: "custom"
24726
- } },
24727
- venueId: { $bind: {
24728
- from: "content.venueId",
24729
- fallback: null
24730
- } },
24731
- venuesById: { $bind: {
24732
- from: "site.venuesById",
24733
- fallback: null
24734
- } },
24735
- zoom: { $bind: {
24736
- from: "content.zoom",
24737
- fallback: LOCATION_MAP_DEFAULTS.zoom
24738
- } },
24739
- heightPx: { $bind: {
24740
- from: "content.heightPx",
24741
- fallback: LOCATION_MAP_DEFAULTS.heightPx
24742
- } },
24743
- showAddressText: { $bind: {
24744
- from: "content.showAddressText",
24745
- fallback: LOCATION_MAP_DEFAULTS.showAddressText
24746
- } },
24747
- showDirections: { $bind: {
24748
- from: "content.showDirections",
24749
- fallback: LOCATION_MAP_DEFAULTS.showDirections
24750
- } },
24751
- directionsLabel: { $bind: {
24752
- from: "content.directionsLabel",
24753
- fallback: LOCATION_MAP_DEFAULTS.directionsLabel
24754
- } }
24755
- })], { gap: "md" })
24756
- })
24930
+ children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", locationMapNodeProps)], { gap: "md" })
24931
+ }),
24932
+ variants: {
24933
+ "map-and-details": arrangedLayout([el("location-map", {
24934
+ ...locationMapNodeProps,
24935
+ ...lookPresentationProps
24936
+ })]),
24937
+ "photo-and-details": arrangedLayout([el("div", lookSlot("frame"), [el("div", lookSlot("media"), [media(lookSlot("photo"), bind("content.entrancePhoto"), when("content.entrancePhoto"))], when("content.entrancePhoto")), el("location-map", {
24938
+ ...locationMapNodeProps,
24939
+ ...lookPresentationProps,
24940
+ showMap: false
24941
+ })])])
24942
+ }
24757
24943
  }),
24758
24944
  contentNormalizer: {
24759
24945
  fieldIds: [
@@ -24762,6 +24948,8 @@ const locationMapBlockDefinition = {
24762
24948
  "venueId",
24763
24949
  "location",
24764
24950
  "showAddressText",
24951
+ "wider",
24952
+ "googleMapsLabel",
24765
24953
  "showOpeningHours",
24766
24954
  "showDirections",
24767
24955
  "directionsLabel",
@@ -24771,6 +24959,14 @@ const locationMapBlockDefinition = {
24771
24959
  normalize: normalizeLocationMapContent
24772
24960
  }
24773
24961
  };
24962
+ function parseAuthoredLocation(value) {
24963
+ if (value == null) return null;
24964
+ const canonical = parseLocationValue(value);
24965
+ if (canonical.ok) return canonical.value;
24966
+ const projected = publicLocationSchema.safeParse(value);
24967
+ if (projected.success) return projected.data;
24968
+ return { kind: "needs_place" };
24969
+ }
24774
24970
  //#endregion
24775
24971
  //#region ../blocks/src/system/blocks/index.ts
24776
24972
  function sectionOnly() {
@@ -25088,7 +25284,7 @@ const systemBlockDefinitions = [
25088
25284
  })
25089
25285
  ]
25090
25286
  })),
25091
- withDesignCapability("block.location-map", locationMapBlockDefinition, sectionOnly(), defineBlockDesignMetadata({
25287
+ withDesignCapability("block.location-map", locationMapBlockDefinition, withLookCapability(sectionOnly()), defineBlockDesignMetadata({
25092
25288
  flow: utilityFlow,
25093
25289
  layoutProfiles: [layoutProfile({
25094
25290
  variantKey: "default",
@@ -25690,6 +25886,80 @@ function toEditorPresentationPage(page) {
25690
25886
  };
25691
25887
  }
25692
25888
  //#endregion
25889
+ //#region ../blocks/src/system/customize/arrangementKnobs.ts
25890
+ /**
25891
+ * Content stage for knobs, shared by the renderer and the editor so what the
25892
+ * options show and what renders can't disagree. Knob buffets are the block's
25893
+ * customise facets; the Look exposes, forces or narrows them and the style's
25894
+ * offer can only remove or narrow further.
25895
+ */
25896
+ function resolveArrangementKnobs(input) {
25897
+ const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
25898
+ const exposure = arrangementKnobExposure(input.blockKind, input.look, length);
25899
+ return {
25900
+ length,
25901
+ exposure,
25902
+ knobs: resolveEffectiveKnobs({
25903
+ exposure,
25904
+ content: normalizedHeadlinePreference(input.content)
25905
+ })
25906
+ };
25907
+ }
25908
+ function arrangementKnobExposure(blockKind, look, length) {
25909
+ return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
25910
+ if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
25911
+ const id = facet.target.field;
25912
+ return [{
25913
+ definition: {
25914
+ id,
25915
+ defaultValue: (look.look.structure.knobDefaults ?? {})[id] ?? facet.defaultValue,
25916
+ values: facet.values.map((value) => value.value),
25917
+ ...knobKindMetadata(facet.knob)
25918
+ },
25919
+ exposed: exposedKnobIds(look).includes(id),
25920
+ forced: look.look.structure.forcedKnobs?.[id],
25921
+ lookValues: look.look.structure.knobValues?.[id],
25922
+ styleValues: look.knobValues[id],
25923
+ lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
25924
+ }];
25925
+ });
25926
+ }
25927
+ function knobKindMetadata(knob) {
25928
+ return knob.kind === "fixed" ? { ordered: knob.ordered } : {
25929
+ ordered: false,
25930
+ textMaxLength: knob.maxLength
25931
+ };
25932
+ }
25933
+ function headlineAllowedValues(length) {
25934
+ switch (length) {
25935
+ case "long": return ["quiet"];
25936
+ case "medium": return ["quiet", "auto"];
25937
+ case "short": return [
25938
+ "quiet",
25939
+ "auto",
25940
+ "display"
25941
+ ];
25942
+ case null: return;
25943
+ }
25944
+ }
25945
+ /** `titleSize` keeps its five stored values; under a Look they read as three steps. */
25946
+ function normalizedHeadlinePreference(content) {
25947
+ switch (content.titleSize) {
25948
+ case "editorial": return {
25949
+ ...content,
25950
+ titleSize: "auto"
25951
+ };
25952
+ case "poster": return {
25953
+ ...content,
25954
+ titleSize: "display"
25955
+ };
25956
+ default: return content;
25957
+ }
25958
+ }
25959
+ function exposedKnobIds(look) {
25960
+ return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
25961
+ }
25962
+ //#endregion
25693
25963
  //#region ../blocks/src/system/customize/facets.ts
25694
25964
  function defineCustomizeFacet(definition) {
25695
25965
  return definition;
@@ -25869,80 +26139,6 @@ function systemCustomizeFacetDefinitionsForBlock(blockKind) {
25869
26139
  return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
25870
26140
  }
25871
26141
  //#endregion
25872
- //#region ../blocks/src/system/customize/arrangementKnobs.ts
25873
- /**
25874
- * Content stage for knobs, shared by the renderer and the editor so what the
25875
- * options show and what renders can't disagree. Knob buffets are the block's
25876
- * customise facets; the Look exposes, forces or narrows them and the style's
25877
- * offer can only remove or narrow further.
25878
- */
25879
- function resolveArrangementKnobs(input) {
25880
- const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
25881
- const exposure = arrangementKnobExposure(input.blockKind, input.look, length);
25882
- return {
25883
- length,
25884
- exposure,
25885
- knobs: resolveEffectiveKnobs({
25886
- exposure,
25887
- content: normalizedHeadlinePreference(input.content)
25888
- })
25889
- };
25890
- }
25891
- function arrangementKnobExposure(blockKind, look, length) {
25892
- return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
25893
- if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
25894
- const id = facet.target.field;
25895
- return [{
25896
- definition: {
25897
- id,
25898
- defaultValue: (look.look.structure.knobDefaults ?? {})[id] ?? facet.defaultValue,
25899
- values: facet.values.map((value) => value.value),
25900
- ...knobKindMetadata(facet.knob)
25901
- },
25902
- exposed: exposedKnobIds(look).includes(id),
25903
- forced: look.look.structure.forcedKnobs?.[id],
25904
- lookValues: look.look.structure.knobValues?.[id],
25905
- styleValues: look.knobValues[id],
25906
- lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
25907
- }];
25908
- });
25909
- }
25910
- function knobKindMetadata(knob) {
25911
- return knob.kind === "fixed" ? { ordered: knob.ordered } : {
25912
- ordered: false,
25913
- textMaxLength: knob.maxLength
25914
- };
25915
- }
25916
- function headlineAllowedValues(length) {
25917
- switch (length) {
25918
- case "long": return ["quiet"];
25919
- case "medium": return ["quiet", "auto"];
25920
- case "short": return [
25921
- "quiet",
25922
- "auto",
25923
- "display"
25924
- ];
25925
- case null: return;
25926
- }
25927
- }
25928
- /** `titleSize` keeps its five stored values; under a Look they read as three steps. */
25929
- function normalizedHeadlinePreference(content) {
25930
- switch (content.titleSize) {
25931
- case "editorial": return {
25932
- ...content,
25933
- titleSize: "auto"
25934
- };
25935
- case "poster": return {
25936
- ...content,
25937
- titleSize: "display"
25938
- };
25939
- default: return content;
25940
- }
25941
- }
25942
- function exposedKnobIds(look) {
25943
- return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
25944
- }
25945
- //#endregion
25946
26142
  //#region ../blocks/src/system/transforms/registry/offeringsPreview.ts
25947
26143
  /** Reuse the existing occurrence read for the date strip and card date rows. */
25948
26144
  const offeringsPreviewDatesReadEnabled = {
@@ -26318,6 +26514,29 @@ function resolveAuthoredLinkHref(value, context = {}) {
26318
26514
  function resolvePreResolvedLink(link) {
26319
26515
  return !(typeof link.kind === "string" ? link.kind : null) && typeof link.href === "string" ? resolveExternalLink(link) : null;
26320
26516
  }
26517
+ //#endregion
26518
+ //#region ../blocks/src/system/transforms/registry/mapDrawing.ts
26519
+ /**
26520
+ * Map tokens for the section ground a drawing sits on. The value is the
26521
+ * section's `_sectionStyles.background`, resolved by the same owner as the
26522
+ * section's own foreground; theme-core decides every map colour from it.
26523
+ */
26524
+ const mapDrawingStyleTransform = {
26525
+ id: "mapDrawing.resolveStyle",
26526
+ kind: "formatter",
26527
+ summary: "Resolve map drawing tokens from the section ground and site style",
26528
+ run: (value, options, context) => mapDrawingStyle({
26529
+ foreground: resolveSectionSurfaceForeground(value ?? sectionFallbackBackground(options?.fallbackToken), context, { fallbackToken: options?.fallbackToken }),
26530
+ palette: context.theme.palette,
26531
+ skin: context.theme.skin
26532
+ })
26533
+ };
26534
+ function sectionFallbackBackground(token) {
26535
+ return token === void 0 ? void 0 : {
26536
+ type: "color",
26537
+ color: token
26538
+ };
26539
+ }
26321
26540
  const eventCalendarSelectionParam = {
26322
26541
  id: "events.calendarSelectionParam",
26323
26542
  kind: "formatter",
@@ -26404,7 +26623,8 @@ const defaultTransforms = createTransformRegistry([
26404
26623
  ...linksTransforms,
26405
26624
  ...boxStylesTransforms,
26406
26625
  ...contentTransforms,
26407
- ...headerRuntimeTransforms
26626
+ ...headerRuntimeTransforms,
26627
+ mapDrawingStyleTransform
26408
26628
  ]);
26409
26629
  //#endregion
26410
26630
  //#region ../blocks/src/system/data/linkedContentEntries.ts
@@ -28127,7 +28347,7 @@ function prepareBlockRender(input) {
28127
28347
  resolvedThemeConfig: resolveThemeConfigForBindings(input.themeConfig),
28128
28348
  viewModelOverrides: input.viewModelOverrides
28129
28349
  }),
28130
- themeForTransforms: withButtonSystem(input.theme, input.themeConfig),
28350
+ themeForTransforms: withThemeRuntimeFacts(input.theme, input.themeConfig),
28131
28351
  proseHoverCandidate: parseThemeColorToken(input.themeConfig?.typography.proseLinkStyle?.hoverColorToken) ?? void 0
28132
28352
  };
28133
28353
  }
@@ -28147,11 +28367,13 @@ function buildBlockViewModel(input) {
28147
28367
  }
28148
28368
  };
28149
28369
  }
28150
- function withButtonSystem(theme, themeConfig) {
28370
+ /** The theme facts transforms decide from: button system, and the arrangement skin map tokens follow. */
28371
+ function withThemeRuntimeFacts(theme, themeConfig) {
28151
28372
  if (!themeConfig) return theme;
28152
28373
  return {
28153
28374
  ...theme,
28154
- buttons: themeConfig.buttons ?? generateDefaultButtonSystem(themeConfig)
28375
+ buttons: themeConfig.buttons ?? generateDefaultButtonSystem(themeConfig),
28376
+ ...themeConfig.skin === void 0 ? {} : { skin: themeConfig.skin }
28155
28377
  };
28156
28378
  }
28157
28379
  function beginBlockRenderMeasurement() {
@@ -28623,12 +28845,31 @@ function getRenderableContent(block, previewStage = "published") {
28623
28845
  return selectBlockContent(block, previewStage);
28624
28846
  }
28625
28847
  function arrangementRuntime(content) {
28626
- const value = content._arrangementLooks;
28627
- return isObjectRecord(value) && isObjectRecord(value.byMode) && Array.isArray(value.available) && Array.isArray(value.rhythm) ? value : null;
28848
+ const value = parseSurfaceTree(content._arrangementLooks);
28849
+ return isObjectRecord(value) && isObjectRecord(value.byMode) && Array.isArray(value.available) && Array.isArray(value.rhythm) ? restoreArrangementRuntime(value) : null;
28850
+ }
28851
+ /** JSON transports carry resolver inputs; rebuild every surface at this boundary. */
28852
+ function restoreCompiledLook(look) {
28853
+ return {
28854
+ ...look,
28855
+ itemSurfaces: Object.fromEntries(Object.entries(look.itemSurfaces).map(([slot, surface]) => [slot, parseResolvedSurface(surface)])),
28856
+ ...look.roleSurfaces ? { roleSurfaces: {
28857
+ card: parseResolvedSurface(look.roleSurfaces.card),
28858
+ statement: parseResolvedSurface(look.roleSurfaces.statement),
28859
+ highlight: parseResolvedSurface(look.roleSurfaces.highlight)
28860
+ } } : {}
28861
+ };
28862
+ }
28863
+ function restoreArrangementRuntime(runtime) {
28864
+ return {
28865
+ ...runtime,
28866
+ available: runtime.available.map(restoreCompiledLook),
28867
+ byMode: Object.fromEntries(Object.entries(runtime.byMode).map(([mode, look]) => [mode, restoreCompiledLook(look)]))
28868
+ };
28628
28869
  }
28629
28870
  function effectiveLookFromContent(content) {
28630
28871
  const value = content._effectiveLook;
28631
- return isObjectRecord(value) && isObjectRecord(value.look) ? value : null;
28872
+ return isObjectRecord(value) && isObjectRecord(value.look) ? restoreCompiledLook(value) : null;
28632
28873
  }
28633
28874
  function planArrangementContent(blockKind, manifest, content, audience) {
28634
28875
  const runtime = arrangementRuntime(content);
@@ -28671,6 +28912,7 @@ function planArrangementContent(blockKind, manifest, content, audience) {
28671
28912
  }),
28672
28913
  ...arrangementPanelContent(activeContent, effective, mode),
28673
28914
  ...arrangementQuoteContent(blockKind, effective, values),
28915
+ _arrangementLooks: runtime,
28674
28916
  _effectiveLook: effective,
28675
28917
  _lookHooks: arrangementContentHooks(effective, mode, length, {
28676
28918
  ...facts,
@@ -28730,7 +28972,8 @@ function arrangementContentFacts(content) {
28730
28972
  facts: Array.isArray(content.facts) && content.facts.length > 0,
28731
28973
  featured,
28732
28974
  outcome: typeof content.outcome === "string" && content.outcome.length > 0,
28733
- figure: typeof content.figure === "string" && content.figure.trim().length > 0
28975
+ figure: typeof content.figure === "string" && content.figure.trim().length > 0,
28976
+ entrance: isObjectRecord(content.entrancePhoto)
28734
28977
  }
28735
28978
  };
28736
28979
  }
@@ -28739,7 +28982,7 @@ function arrangementPhotoCount(content) {
28739
28982
  if (Array.isArray(content.cards)) return content.cards.filter((card) => isObjectRecord(card) && isObjectRecord(card.media)).length;
28740
28983
  if (Array.isArray(content.members)) return content.members.filter((member) => isObjectRecord(member) && isObjectRecord(member.photo)).length;
28741
28984
  if (Array.isArray(content.images)) return content.images.filter((item) => isObjectRecord(item) && isObjectRecord(item.image)).length;
28742
- if (isObjectRecord(content.media)) return 1;
28985
+ if (isObjectRecord(content.media) || isObjectRecord(content.entrancePhoto)) return 1;
28743
28986
  const section = isObjectRecord(content._sectionStyles) ? content._sectionStyles : {};
28744
28987
  return isObjectRecord((isObjectRecord(section.background) ? section.background : {}).image) ? 1 : 0;
28745
28988
  }
@@ -29675,6 +29918,56 @@ function requireSdkTheme(theme, siteId, reason = "cms_theme_absent") {
29675
29918
  return theme;
29676
29919
  }
29677
29920
  //#endregion
29921
+ //#region ../blocks/src/pageRenderAudience.tsx
29922
+ /**
29923
+ * The single policy for what a non-renderable block looks like.
29924
+ *
29925
+ * Public visitors never see renderer diagnostics, so every reason omits.
29926
+ * Authoring surfaces keep the wording they have always had — the strings below
29927
+ * are moved verbatim from the five former `fallback()` call sites.
29928
+ */
29929
+ function presentNotRenderableBlock(reason, audience) {
29930
+ if (audience === "public") return null;
29931
+ if (reason.kind === "hidden-business-location" && reason.businessDetailsHref) return diagnostic(/* @__PURE__ */ jsxs(Fragment, { children: [
29932
+ authoringMessage(reason),
29933
+ " ",
29934
+ /* @__PURE__ */ jsx("a", {
29935
+ href: reason.businessDetailsHref,
29936
+ children: "Open Business details"
29937
+ })
29938
+ ] }));
29939
+ return diagnostic(authoringMessage(reason));
29940
+ }
29941
+ function authoringMessage(reason) {
29942
+ switch (reason.kind) {
29943
+ case "invalid-admission": return `Invalid content for block kind "${reason.blockKind}".`;
29944
+ case "missing-definition": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". The custom block definition was not found (missing manifest).` : `No renderer available for block kind "${reason.blockKind}".`;
29945
+ case "missing-layout": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". This custom block has no layout/variants, so it must be rendered via blockOverrides["${reason.blockKind}"].` : `No renderer available for block kind "${reason.blockKind}".`;
29946
+ case "hidden-business-location": return "This map is hidden because your business address is hidden.";
29947
+ case "unresolved-location":
29948
+ if (reason.source === "business_address") return "Business address details are not configured yet.";
29949
+ return reason.source === "venue" ? "This map is hidden on your site until the venue has a location." : "This map is hidden on your site until you choose a place.";
29950
+ case "editor-unpreviewable":
29951
+ case "render-threw": return `Unable to render block kind "${reason.blockKind}".`;
29952
+ }
29953
+ }
29954
+ /**
29955
+ * The empty-page notice. Authoring-only for the same reason as the block
29956
+ * diagnostics: "No blocks found." is a message for whoever is building the
29957
+ * page, not for whoever is reading it.
29958
+ */
29959
+ function presentEmptyPage(audience) {
29960
+ if (audience === "public") return null;
29961
+ return diagnostic("No blocks found.");
29962
+ }
29963
+ function diagnostic(message) {
29964
+ return /* @__PURE__ */ jsx("div", {
29965
+ className: "rb-p-6 rb-caption",
29966
+ style: textColorStyle("mutedText"),
29967
+ children: message
29968
+ });
29969
+ }
29970
+ //#endregion
29678
29971
  //#region ../theme-core/src/runtime/fontFamily.ts
29679
29972
  /**
29680
29973
  * Font Family Formatting Utilities
@@ -32795,27 +33088,33 @@ function pageBlockPosition(index, blockCount) {
32795
33088
  //#endregion
32796
33089
  //#region ../blocks/src/pageRendererContracts.ts
32797
33090
  function buildPageRendererRootRuntime(dataContext) {
32798
- const { siteId = null, siteName, pageId = null, pathname = null, bookingTimeZone, previewStage = "published", apiBaseUrl = null, portalToken = null, readAuthority, bookingOfferingPresets = [], appointmentServicePathPrefix = null, openingHours, siteTerms, mailingList = { tag: "not_configured" }, loaderFailures = {} } = dataContext ?? {};
33091
+ const { siteId = null, siteName, pageId = null, pathname = null, previewStage = "published", apiBaseUrl = null, portalToken = null, readAuthority, openingHours, siteTerms, mailingList = { tag: "not_configured" }, loaderFailures = {} } = dataContext ?? {};
32799
33092
  return {
32800
33093
  siteId,
32801
33094
  demoEmailSuppressed: resolveDemoEmailSuppression(dataContext),
32802
33095
  siteName,
33096
+ site: publicLocationRuntime(dataContext),
32803
33097
  pageId,
32804
33098
  pathname,
32805
- bookingTimeZone,
33099
+ ...pageBookingRuntime(dataContext),
32806
33100
  ...pageRuntimeContext(dataContext),
32807
33101
  previewStage,
32808
33102
  apiBaseUrl,
32809
33103
  portalToken,
32810
33104
  readAuthority,
32811
- bookingOfferingPresets,
32812
- appointmentServicePathPrefix,
32813
33105
  openingHours,
32814
33106
  siteTerms,
32815
33107
  mailingList,
32816
33108
  loaderFailures
32817
33109
  };
32818
33110
  }
33111
+ function publicLocationRuntime(context) {
33112
+ return {
33113
+ businessAddress: context?.businessLocation ?? null,
33114
+ venuesById: context?.venuesById ?? {},
33115
+ siteCountry: context?.siteCountry ?? null
33116
+ };
33117
+ }
32819
33118
  function resolveDemoEmailSuppression(dataContext) {
32820
33119
  return dataContext?.demoEmailSuppressed === true;
32821
33120
  }
@@ -32829,43 +33128,14 @@ function pageRuntimeContext(dataContext) {
32829
33128
  function pageDateRuntimeContext(dataContext) {
32830
33129
  return dataContext?.dateContext ?? resolveDateRuntimeContext(dataContext?.bookingTimeZone);
32831
33130
  }
32832
- //#endregion
32833
- //#region ../blocks/src/pageRenderAudience.tsx
32834
- /**
32835
- * The single policy for what a non-renderable block looks like.
32836
- *
32837
- * Public visitors never see renderer diagnostics, so every reason omits.
32838
- * Authoring surfaces keep the wording they have always had — the strings below
32839
- * are moved verbatim from the five former `fallback()` call sites.
32840
- */
32841
- function presentNotRenderableBlock(reason, audience) {
32842
- if (audience === "public") return null;
32843
- return diagnostic(authoringMessage(reason));
32844
- }
32845
- function authoringMessage(reason) {
32846
- switch (reason.kind) {
32847
- case "invalid-admission": return `Invalid content for block kind "${reason.blockKind}".`;
32848
- case "missing-definition": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". The custom block definition was not found (missing manifest).` : `No renderer available for block kind "${reason.blockKind}".`;
32849
- case "missing-layout": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". This custom block has no layout/variants, so it must be rendered via blockOverrides["${reason.blockKind}"].` : `No renderer available for block kind "${reason.blockKind}".`;
32850
- case "editor-unpreviewable":
32851
- case "render-threw": return `Unable to render block kind "${reason.blockKind}".`;
32852
- }
32853
- }
32854
- /**
32855
- * The empty-page notice. Authoring-only for the same reason as the block
32856
- * diagnostics: "No blocks found." is a message for whoever is building the
32857
- * page, not for whoever is reading it.
32858
- */
32859
- function presentEmptyPage(audience) {
32860
- if (audience === "public") return null;
32861
- return diagnostic("No blocks found.");
32862
- }
32863
- function diagnostic(message) {
32864
- return /* @__PURE__ */ jsx("div", {
32865
- className: "rb-p-6 rb-caption",
32866
- style: textColorStyle("mutedText"),
32867
- children: message
32868
- });
33131
+ /** Booking context keeps its defaults together across SSR and authoring. */
33132
+ function pageBookingRuntime(context) {
33133
+ const { bookingTimeZone, bookingOfferingPresets = [], appointmentServicePathPrefix = null } = context ?? {};
33134
+ return {
33135
+ bookingTimeZone,
33136
+ bookingOfferingPresets,
33137
+ appointmentServicePathPrefix
33138
+ };
32869
33139
  }
32870
33140
  //#endregion
32871
33141
  //#region ../blocks/src/pageRenderDiagnostics.ts
@@ -33173,15 +33443,44 @@ function preparePageRender(input) {
33173
33443
  mailingList: input.dataContext?.mailingList,
33174
33444
  template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
33175
33445
  });
33176
- const entries = input.plan.entries.filter((entry) => input.audience === "authoring" || !entryNeedsSetup(entry, facts)).map((entry) => preparedPlanEntry(entry, prepareEntry(entry, input)));
33177
- const constructionFailures = entries.filter(({ prepared }) => prepared.kind === "render-threw").map(({ entry }) => entry);
33178
- const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw");
33446
+ const permission = input.dataContext?.businessLocationPermission ?? decideLocationSourcePermission("business_address", input.dataContext?.businessAddressVisibility);
33447
+ const entries = input.plan.entries.filter((entry) => input.audience === "authoring" || !entryNeedsSetup(entry, facts)).filter((entry) => isPublicSourcePermitted(entry, permission) || input.audience === "authoring" && permission.kind === "hidden").map((entry) => preparedPlanEntry(entry, prepareSourceEntry(entry, input, permission)));
33448
+ const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
33449
+ const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location");
33179
33450
  return {
33180
33451
  entries: survivors,
33181
33452
  constructionFailures,
33182
33453
  joins: composeSurvivorJoins(input.plan, survivors, input.themeResources)
33183
33454
  };
33184
33455
  }
33456
+ /** Source availability is decided before constructing the block or its hydration props. */
33457
+ function prepareSourceEntry(entry, input, permission) {
33458
+ if (!isPublicSourcePermitted(entry, permission)) return {
33459
+ kind: "hidden-business-location",
33460
+ businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
33461
+ };
33462
+ if (entry.block.kind === "block.location-map") {
33463
+ const content = entry.renderableContent;
33464
+ const resolved = resolveLocationMapLocation({
33465
+ location: content.location,
33466
+ locationSource: typeof content.locationSource === "string" ? content.locationSource : null,
33467
+ venueId: typeof content.venueId === "string" ? content.venueId : null,
33468
+ businessAddress: input.dataContext?.businessLocation,
33469
+ venuesById: input.dataContext?.venuesById
33470
+ });
33471
+ if (resolved.kind === "unresolved") return {
33472
+ kind: "unresolved-location",
33473
+ source: resolved.source
33474
+ };
33475
+ }
33476
+ return prepareEntry(entry, input);
33477
+ }
33478
+ /** No source data, override component or wrapper is touched for a hidden map. */
33479
+ function isPublicSourcePermitted(entry, permission) {
33480
+ if (entry.block.kind !== "block.location-map") return true;
33481
+ const rawSource = entry.renderableContent.locationSource;
33482
+ return normalizeLocationMapSource(typeof rawSource === "string" ? rawSource : null) !== "business_address" || permission.kind === "permitted";
33483
+ }
33185
33484
  /**
33186
33485
  * The only place joins are composed. Plan-time omissions were already
33187
33486
  * re-pointed by the plan; construction failures are re-pointed here by the
@@ -33770,6 +34069,64 @@ function renderSystemBlockElement(input) {
33770
34069
  previewAuthoring: input.previewAuthoring
33771
34070
  });
33772
34071
  }
34072
+ /** Pure diagnostic choice; the audience owner controls its presentation. */
34073
+ function preparationDiagnostic(prepared, blockKind) {
34074
+ switch (prepared.kind) {
34075
+ case "hidden-business-location": return {
34076
+ reason: {
34077
+ kind: prepared.kind,
34078
+ blockKind,
34079
+ businessDetailsHref: prepared.businessDetailsHref
34080
+ },
34081
+ outcome: "invalidPlaceholder"
34082
+ };
34083
+ case "unresolved-location": return {
34084
+ reason: {
34085
+ kind: prepared.kind,
34086
+ blockKind,
34087
+ source: prepared.source
34088
+ },
34089
+ outcome: "invalidPlaceholder"
34090
+ };
34091
+ case "editor-unpreviewable": return {
34092
+ reason: {
34093
+ kind: prepared.kind,
34094
+ blockKind
34095
+ },
34096
+ outcome: "invalidPlaceholder"
34097
+ };
34098
+ case "render-threw": return {
34099
+ reason: {
34100
+ kind: prepared.kind,
34101
+ blockKind
34102
+ },
34103
+ outcome: "exception"
34104
+ };
34105
+ case "content":
34106
+ case "plan-decided": return null;
34107
+ }
34108
+ }
34109
+ function blockRenderPerformanceMeta(meta) {
34110
+ return {
34111
+ outcome: meta?.outcome ?? "ok",
34112
+ override: meta?.override ?? false,
34113
+ hasResolvedData: meta?.hasResolvedData ?? false
34114
+ };
34115
+ }
34116
+ function finishBlockRender(node, block, perfStart, meta) {
34117
+ if (!perfStart) return node;
34118
+ const durationMs = Date.now() - perfStart;
34119
+ if (durationMs < getPerfSlowBlockRenderThresholdMs()) return node;
34120
+ try {
34121
+ console.debug("perf.blocks.blockRender", {
34122
+ blockId: block.id ?? null,
34123
+ blockKind: block.kind,
34124
+ durationMs,
34125
+ ...blockRenderPerformanceMeta(meta)
34126
+ });
34127
+ } catch {}
34128
+ return node;
34129
+ }
33773
34130
  /**
33774
34131
  * Memoized block section component.
33775
34132
  *
@@ -33782,22 +34139,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
33782
34139
  const block = entry.block;
33783
34140
  const perfStart = globalThis.process?.env?.DEBUG_PERF === "1" && typeof window === "undefined" ? Date.now() : 0;
33784
34141
  const resolvedImageResolveContext = imageResolveContext ?? getCurrentResolveImageUrlContext();
33785
- function finish(node, meta) {
33786
- if (!perfStart) return node;
33787
- const durationMs = Date.now() - perfStart;
33788
- if (durationMs < getPerfSlowBlockRenderThresholdMs()) return node;
33789
- try {
33790
- console.debug("perf.blocks.blockRender", {
33791
- blockId: block.id ?? null,
33792
- blockKind: block.kind,
33793
- durationMs,
33794
- outcome: meta?.outcome ?? "ok",
33795
- override: meta?.override ?? false,
33796
- hasResolvedData: meta?.hasResolvedData ?? false
33797
- });
33798
- } catch {}
33799
- return node;
33800
- }
34142
+ const finish = (node, meta) => finishBlockRender(node, block, perfStart, meta);
33801
34143
  function wrapped(node) {
33802
34144
  return wrapBlock && block.id ? /* @__PURE__ */ jsx(Fragment, { children: wrapBlock(block.id, node) }) : /* @__PURE__ */ jsx(Fragment, { children: node });
33803
34145
  }
@@ -33813,6 +34155,11 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
33813
34155
  override: false
33814
34156
  });
33815
34157
  }
34158
+ const diagnostic = preparationDiagnostic(prepared, block.kind);
34159
+ if (diagnostic) return finish(wrapped(presentNotRenderableBlock(diagnostic.reason, audience)), {
34160
+ outcome: diagnostic.outcome,
34161
+ override: false
34162
+ });
33816
34163
  if (entry.kind === "override-only") {
33817
34164
  const OverrideOnlyComponent = entry.override;
33818
34165
  return finish(wrapped(/* @__PURE__ */ jsx(OverrideOnlyComponent, { ...buildBlockOverrideProps({
@@ -33829,20 +34176,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
33829
34176
  hasResolvedData: false
33830
34177
  });
33831
34178
  }
33832
- if (prepared.kind === "editor-unpreviewable") return finish(wrapped(presentNotRenderableBlock({
33833
- kind: "editor-unpreviewable",
33834
- blockKind: block.kind
33835
- }, audience)), {
33836
- outcome: "invalidPlaceholder",
33837
- override: false
33838
- });
33839
- if (prepared.kind !== "content") return finish(wrapped(presentNotRenderableBlock({
33840
- kind: "render-threw",
33841
- blockKind: block.kind
33842
- }, audience)), {
33843
- outcome: "exception",
33844
- override: false
33845
- });
34179
+ if (prepared.kind !== "content") return null;
33846
34180
  let rendered;
33847
34181
  if (OverrideComponent) rendered = /* @__PURE__ */ jsx(OverrideComponent, { ...prepared.baseProps });
33848
34182
  else {
@@ -49121,6 +49455,63 @@ const containerResponsiveThemeCss = `/*
49121
49455
  }
49122
49456
  }
49123
49457
 
49458
+ /* ---------------------------------------------------- Visit (issue 1611) */
49459
+ /* Map above the details is the block's own layout (location-map.css). The three Look-only layouts put
49460
+ * the heading in the head slot (Measure hangs it in the rail) and stack the details in one column:
49461
+ * address, door note and actions, then the opening hours. The authored map height is a minimum here. */
49462
+ .theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="layout"] { row-gap: clamp(2rem, 4cqi, 3rem); }
49463
+ .theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="head"] { margin-bottom: 0; }
49464
+ .theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-details { grid-template-columns: minmax(0, 1fr); gap: 2rem; align-content: start; }
49465
+ .theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-address { font-size: 1.1875rem; line-height: 1.45; }
49466
+ .theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours td { white-space: nowrap; }
49467
+ .theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours tbody tr:last-child :is(th, td) { border-bottom: 1px solid var(--rb-surface-line-color, color-mix(in srgb, currentColor 18%, transparent)); }
49468
+ .theme-scope [data-arrangement="map-and-details"] .rb-map-drawing { display: flex; flex-direction: column; min-width: 0; }
49469
+ .theme-scope [data-arrangement="map-and-details"] .rb-map-drawing-crop { flex: 1 1 auto; }
49470
+
49471
+ /* Map beside the address: the details on the left, the map filling the row on the right. */
49472
+ .theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5cqi, 4rem); align-items: stretch; }
49473
+ .theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map-details { grid-column: 1; grid-row: 1; align-self: center; }
49474
+ .theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 2; grid-row: 1; min-height: 30rem; }
49475
+ .theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing svg { width: max(135%, 680px); }
49476
+
49477
+ /* Address over a wide map: the details on a sheet (the card role) laid over the left of a tall map,
49478
+ * the drawing moved right so the pin stays clear of the sheet, and the attribution over the map's top corner. */
49479
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
49480
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: 1 / 1; }
49481
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { position: relative; min-height: clamp(34rem, 48cqi, 40rem); }
49482
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing figcaption { position: absolute; top: var(--map-frame-width, 1px); right: var(--map-frame-width, 1px); z-index: 1; padding: 0.25rem 0.5rem; background: var(--map-land, rgb(var(--tb-surface))); color: var(--map-label, currentColor); }
49483
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: calc(50% + 10rem); width: max(calc(100% + 20rem), 680px); }
49484
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map-details { position: relative; z-index: 1; align-self: start; justify-self: start; width: min(25rem, calc(100% - 3rem)); margin: clamp(1.5rem, 4cqi, 3rem); padding: 2rem 2rem 1.75rem; gap: 1.5rem; box-sizing: border-box; }
49485
+
49486
+ /* Photo of the entrance beside the details: a tall photo in place of the map. Published without a
49487
+ * photo it reads as Map beside the address; in the editor the photo slot asks for one. */
49488
+ .theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2rem, 5.5cqi, 4.5rem); }
49489
+ .theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] > * { grid-column: auto; }
49490
+ .theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 5; overflow: hidden; }
49491
+ .theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] > [data-placeholder-field] { height: 100%; }
49492
+
49493
+ /* No drawing yet (or none possible): the map Looks set the details out on their own, address and
49494
+ * actions beside the hours, rather than beside an empty map. Wide keeps its sheet, across the row. */
49495
+ .theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] { grid-template-columns: minmax(0, 1fr); }
49496
+ .theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] .rb-location-map-details { align-self: start; }
49497
+ .theme-scope [data-arrangement]:is([data-look="location-map-beside-address"], [data-look="location-map-address-over-wide-map"]) .rb-location-map[data-map="none"] .rb-location-map-details { grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem); column-gap: clamp(2rem, 5cqi, 4rem); }
49498
+ .theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map[data-map="none"] .rb-location-map-details { justify-self: stretch; width: auto; margin: 0; padding: clamp(1.75rem, 4cqi, 2.75rem); }
49499
+
49500
+ @container rb-site (max-width: 767px) {
49501
+ @scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
49502
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
49503
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 1; grid-row: 2; min-height: 0; }
49504
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: auto; }
49505
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { min-height: 0; }
49506
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: 50%; width: max(100%, 680px); }
49507
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map-details { width: auto; margin: -3rem 0.5rem 0; padding: 1.5rem 1.25rem 1.25rem; }
49508
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
49509
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 3; }
49510
+ .theme-scope:is(*, :scope) [data-arrangement]:is([data-look="location-map-beside-address"], [data-look="location-map-address-over-wide-map"]) .rb-location-map[data-map="none"] .rb-location-map-details { grid-template-columns: minmax(0, 1fr); }
49511
+ .theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map[data-map="none"] .rb-location-map-details { margin: 0; padding: 1.5rem 1.25rem 1.25rem; }
49512
+ }
49513
+ }
49514
+
49124
49515
  /* Bounded style skins (issue 1575, D14): one stylesheet per arrangement style, keyed on data-skin. */
49125
49516
 
49126
49517
  /* =============================================================================
@@ -49840,6 +50231,13 @@ const containerResponsiveThemeCss = `/*
49840
50231
  }
49841
50232
  }
49842
50233
 
50234
+ /* ---------------------------------------------------- Visit (issue 1611) */
50235
+ /* map-beside, map-wide, map-entrance: the entrance photo sits on the offset plate; the wide map's sheet
50236
+ * opens with the start mark; the address takes the heading face. */
50237
+ [data-skin="fulcrum"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
50238
+ [data-skin="fulcrum"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 44px); height: var(--rb-skin-mark-weight, 2px); margin-bottom: -0.5rem; background: var(--rb-surface-mark-color); }
50239
+ [data-skin="fulcrum"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { overflow: visible; margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0; box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour); }
50240
+
49843
50241
  /* =============================================================================
49844
50242
  * Poster skin (issue 1575 Phase 1a, D14).
49845
50243
  *
@@ -50562,6 +50960,19 @@ const containerResponsiveThemeCss = `/*
50562
50960
  }
50563
50961
  }
50564
50962
 
50963
+ /* ---------------------------------------------------- Visit (issue 1611) */
50964
+ /* map-beside, map-wide, map-entrance: a loud bold address over ink-ruled hours; the entrance photo and
50965
+ * the wide map's sheet take the same ink frame and hard shadow as the map. The entrance photo keeps its
50966
+ * full colour, like gallery photos: its job is to help people recognise the real door. */
50967
+ [data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.4cqi, 1.875rem); font-weight: 800; font-stretch: 75%; line-height: 1.05; }
50968
+ [data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="schedule"] :is([data-slot="fact-label"], [data-slot="fact-value"]) { border-top: 2px solid var(--rb-surface-text-color); }
50969
+ [data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="schedule"] [data-slot="row"]:last-child :is([data-slot="fact-label"], [data-slot="fact-value"]) { border-bottom: 2px solid var(--rb-surface-text-color); }
50970
+ [data-skin="poster"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
50971
+ [data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border: 3px solid var(--rb-surface-text-color); box-shadow: var(--rb-skin-shadow-offset, 8px) var(--rb-skin-shadow-offset, 8px) 0 var(--rb-surface-text-color); }
50972
+ [data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { margin: 0 var(--rb-skin-shadow-offset, 8px) var(--rb-skin-shadow-offset, 8px) 0; }
50973
+ [data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { filter: none; }
50974
+ [data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"]:has([data-slot="photo"])::after { content: none; }
50975
+
50565
50976
  /* =============================================================================
50566
50977
  * Lantern skin (issue 1575 Phase 1b, D10, D14).
50567
50978
  *
@@ -51820,6 +52231,13 @@ const containerResponsiveThemeCss = `/*
51820
52231
  [data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="item-body"] { align-items: center; padding: 0; }
51821
52232
  [data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="facts"] { justify-content: center; }
51822
52233
 
52234
+ /* ---------------------------------------------------- Visit (issue 1611) */
52235
+ /* map-beside, map-wide, map-entrance: the entrance photo under the arch, the address in the display
52236
+ * face, and the wide map's sheet softly rounded. */
52237
+ [data-skin="lantern"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 400; line-height: 1.25; }
52238
+ [data-skin="lantern"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { border-radius: var(--lantern-arch); }
52239
+ [data-skin="lantern"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { border-radius: var(--rb-skin-radius, 12px); }
52240
+
51823
52241
  /* =============================================================================
51824
52242
  * Measure skin (issue 1575 Phase 1b, D14).
51825
52243
  *
@@ -52509,6 +52927,12 @@ const containerResponsiveThemeCss = `/*
52509
52927
  [data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 3.6cqi, 2.875rem); font-weight: 500; font-stretch: 88%; line-height: 1.04; letter-spacing: -0.025em; }
52510
52928
  [data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1rem; line-height: 1.6; }
52511
52929
 
52930
+ /* ---------------------------------------------------- Visit (issue 1611) */
52931
+ /* map-beside, map-wide, map-entrance: the title hangs in the rail; the wide map's sheet opens with a
52932
+ * heavy rule in the mark colour, square like the map. */
52933
+ [data-skin="measure"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.8cqi, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
52934
+ [data-skin="measure"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { box-shadow: inset 0 var(--rb-skin-mark-weight, 4px) 0 var(--rb-surface-mark-color); }
52935
+
52512
52936
  /* Folio: serif sheets, quiet rules and full-colour photographs. */
52513
52937
  [data-skin="folio"] [data-arrangement] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
52514
52938
  [data-skin="folio"] [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
@@ -52869,7 +53293,74 @@ const containerResponsiveThemeCss = `/*
52869
53293
  [data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="figure-label"] { padding-top: 0.875rem; border-top: 1px solid var(--rb-surface-line-color); font-size: 1rem; }
52870
53294
  [data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="head"] { margin-bottom: 0; }
52871
53295
  [data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 1.4rem + 2cqi, 2.875rem); }
52872
- [data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }`;
53296
+ [data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }
53297
+
53298
+ /* ---------------------------------------------------- Visit (issue 1611) */
53299
+ /* map-beside, map-wide, map-entrance: the address in the serif under a thin mark; the entrance photo
53300
+ * and the wide map's sheet take the soft radius. */
53301
+ [data-skin="folio"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 500; line-height: 1.25; }
53302
+ [data-skin="folio"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="copy"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 44px); height: var(--rb-skin-mark-weight, 2px); margin-bottom: 0.625rem; background: var(--rb-surface-mark-color); }
53303
+ [data-skin="folio"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
53304
+ [data-skin="folio"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border-radius: var(--rb-skin-radius, 10px); }
53305
+
53306
+ /* Geometry display contract (issue 1611). Theme-core's map token contract
53307
+ * (surfaces/mapDrawingTokens.ts) supplies every --map-* value from the section
53308
+ * ground and site style. Fallbacks use existing opaque section theme roles,
53309
+ * never artifact colours. */
53310
+ :where(.theme-scope) .rb-map-drawing{margin:0;width:100%;container-type:inline-size}
53311
+ :where(.theme-scope) .rb-map-drawing-crop{position:relative;overflow:hidden;width:100%;min-height:max(255px,37.5cqw);box-sizing:border-box;border:var(--map-frame-width,1px) solid var(--map-frame-color,rgb(var(--tb-border)));border-radius:var(--map-frame-radius,0);box-shadow:var(--map-frame-shadow,none);background:var(--map-land,rgb(var(--tb-surface)))}
53312
+ :where(.theme-scope) .rb-map-drawing svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,680px);height:auto;aspect-ratio:1}
53313
+ :where(.theme-scope) .rb-map-drawing figcaption{font-size:.75rem;line-height:1.4;padding-top:.5rem;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,currentColor))}
53314
+ :where(.theme-scope) .rb-map-drawing figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
53315
+ :where(.theme-scope) .rb-map-drawing .map-land{fill:var(--map-land,rgb(var(--tb-surface)))}
53316
+ :where(.theme-scope) .rb-map-drawing .map-water{fill:var(--map-water,rgb(var(--tb-background)))}
53317
+ :where(.theme-scope) .rb-map-drawing .map-park{fill:var(--map-park,rgb(var(--tb-surface)))}
53318
+ :where(.theme-scope) .rb-map-drawing .map-building{fill:var(--map-building,rgb(var(--tb-surface)));stroke:var(--map-building-edge,rgb(var(--tb-border)));stroke-width:.75}
53319
+ :where(.theme-scope) .rb-map-drawing [class^=map-road]{fill:none;stroke-linecap:round;stroke-linejoin:round}
53320
+ /* Casing width is the stroke plus a style-scaled edge (scale 1 gives the tuned 13/8.5 and 7/4). */
53321
+ :where(.theme-scope) .rb-map-drawing .map-road-major-casing{stroke:var(--map-road-major-casing,rgb(var(--tb-border)));stroke-width:calc(10 + 3 * var(--map-casing-scale,1))}
53322
+ :where(.theme-scope) .rb-map-drawing .map-road-major{stroke:var(--map-road-major,rgb(var(--tb-surface)));stroke-width:10}
53323
+ :where(.theme-scope) .rb-map-drawing .map-road-minor-casing{stroke:var(--map-road-casing,rgb(var(--tb-border)));stroke-width:calc(6 + 2.5 * var(--map-casing-scale,1))}
53324
+ :where(.theme-scope) .rb-map-drawing .map-road-minor{stroke:var(--map-road,rgb(var(--tb-surface)));stroke-width:6}
53325
+ :where(.theme-scope) .rb-map-drawing .map-road-path{stroke:var(--map-path,rgb(var(--tb-text)));stroke-width:1.4;stroke-dasharray:4 3}
53326
+ :where(.theme-scope) .rb-map-drawing .map-wider .map-road-major-casing{stroke-width:calc(5 + 2 * var(--map-casing-scale,1))}
53327
+ :where(.theme-scope) .rb-map-drawing .map-wider .map-road-major{stroke-width:5}
53328
+ :where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor-casing{stroke-width:calc(2.5 + 1.5 * var(--map-casing-scale,1))}
53329
+ :where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor{stroke-width:2.5}
53330
+ /* Labels stay 12.5 units: the generator's collision budget assumes a compact face no larger than 13. */
53331
+ :where(.theme-scope) .rb-map-drawing .map-label,:where(.theme-scope) .rb-map-drawing .map-label-halo{text-anchor:middle;dominant-baseline:central;font-family:var(--map-label-font,system-ui,sans-serif);font-size:12.5px;font-weight:var(--map-label-weight,500);font-style:normal;letter-spacing:.01em;text-transform:none}
53332
+ :where(.theme-scope) .rb-map-drawing .map-label{fill:var(--map-label,rgb(var(--tb-text)))}
53333
+ :where(.theme-scope) .rb-map-drawing .map-label-halo{fill:none;stroke:var(--map-label-halo,rgb(var(--tb-surface)));stroke-width:3.5;stroke-linejoin:round}
53334
+ /* Unbound surfaces (event details and cards) draw on the surface fallback, where an accent pin can vanish
53335
+ * (Poster's light blue on near-white); the text ink always stands off the surface. */
53336
+ :where(.theme-scope) .rb-map-drawing .map-pin{fill:var(--map-pin,rgb(var(--tb-text)));stroke:var(--map-pin-edge,rgb(var(--tb-surface)));stroke-width:2}
53337
+
53338
+ /* 400 visible units at .85 px/unit need 340 px. At narrower containers retain details only. */
53339
+ @container (max-width: 339px) {
53340
+ :where(.theme-scope) .rb-map-drawing-crop, :where(.theme-scope) .rb-map-drawing figcaption { display: none; }
53341
+ }
53342
+
53343
+ /* Map block details (issue 1611): address, door note, directions and hours under the drawing.
53344
+ * Colours come from the section's surface roles, so every ground reads the same way. */
53345
+ :where(.theme-scope) .rb-location-map{display:grid;gap:clamp(1.25rem,3cqi,2rem);text-align:left;container-type:inline-size}
53346
+ :where(.theme-scope) .rb-location-map-details{display:grid;gap:1.75rem 3rem;align-items:start}
53347
+ :where(.theme-scope) .rb-location-map-place{display:grid;gap:.5rem;justify-items:start;min-width:0}
53348
+ :where(.theme-scope) .rb-location-map-address{margin:0;font-size:1.0625rem;line-height:1.5;font-weight:500;color:var(--rb-surface-heading-color,var(--rb-surface-text-color,inherit));max-width:40ch}
53349
+ /* The door note is directions people need, so it reads in the text ink (softened, as in the mockup), not the muted role. */
53350
+ :where(.theme-scope) .rb-location-map-door{margin:0;line-height:1.55;color:color-mix(in srgb,var(--rb-surface-text-color,currentColor) 82%,transparent);max-width:52ch}
53351
+ :where(.theme-scope) .rb-location-map-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:.75rem}
53352
+ :where(.theme-scope) .rb-location-map-link{color:var(--rb-surface-link-color,var(--rb-surface-text-color,inherit));font-weight:500;text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
53353
+ :where(.theme-scope) .rb-location-map-link:hover{color:var(--rb-surface-link-hover-color,var(--rb-surface-link-color,inherit));text-decoration-thickness:2px}
53354
+ :where(.theme-scope) .rb-location-map-hours{min-width:0}
53355
+ :where(.theme-scope) .rb-location-map-hours table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
53356
+ :where(.theme-scope) .rb-location-map-hours caption{text-align:left;font-weight:600;padding-bottom:.5rem;color:var(--rb-surface-heading-color,var(--rb-surface-text-color,inherit))}
53357
+ :where(.theme-scope) .rb-location-map-hours th,:where(.theme-scope) .rb-location-map-hours td{padding:.4rem 0;border-top:1px solid var(--rb-surface-line-color,color-mix(in srgb,currentColor 18%,transparent));font-weight:400;text-align:left;vertical-align:top}
53358
+ :where(.theme-scope) .rb-location-map-hours td{text-align:right;padding-left:1.5rem}
53359
+ :where(.theme-scope) .rb-location-map-hours tr[data-closed] :is(th,td){color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
53360
+ :where(.theme-scope) .rb-location-map-hours p{margin:.6rem 0 0;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
53361
+ @container (min-width: 640px) {
53362
+ :where(.theme-scope) .rb-location-map-details{grid-template-columns:minmax(0,1fr) minmax(15rem,21rem)}
53363
+ }`;
52873
53364
  //#endregion
52874
53365
  //#region ../theme-core/src/ThemeScopeCore.tsx
52875
53366
  /**
@@ -53080,16 +53571,21 @@ function resolveSiteCustomBlocks(site) {
53080
53571
  }
53081
53572
  //#endregion
53082
53573
  //#region src/rendering/helpers/pageRuntimeSupport.ts
53083
- function buildSiteRenderSupport(site, mediaAssets) {
53574
+ function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
53084
53575
  const customBlocks = resolveSiteCustomBlocks(site);
53085
53576
  return {
53086
53577
  theme: site.theme,
53087
- site: site.site,
53578
+ site: locationMapSupport ? {
53579
+ ...site.site,
53580
+ venuesById: locationMapSupport.venuesById
53581
+ } : site.site,
53088
53582
  sdkConfig: site.sdkConfig ?? null,
53089
53583
  bookingOfferingPresets: site.bookingOfferingPresets ?? [],
53090
53584
  openingHours: site.businessDetails?.openingHours ?? null,
53091
53585
  siteTerms: site.siteTerms,
53092
53586
  mailingList: site.mailingList,
53587
+ businessLocationPermission: site.site.businessLocationPermission,
53588
+ businessAddressVisibility: site.businessDetails?.addressVisibility ?? "hidden",
53093
53589
  bookingTimeZone: resolveBookingBusinessTimeZone(site.bookingTimeZone),
53094
53590
  now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
53095
53591
  ...customBlocks ? { customBlocks } : {},
@@ -53100,6 +53596,16 @@ function buildSiteRenderSupport(site, mediaAssets) {
53100
53596
  ...mediaAssets ? { mediaAssets } : {}
53101
53597
  };
53102
53598
  }
53599
+ /** Only already-permitted projections reach the block runtime. */
53600
+ function siteLocationRenderContext(support) {
53601
+ return {
53602
+ businessLocationPermission: support.site.businessLocationPermission,
53603
+ businessAddressVisibility: support.businessAddressVisibility ?? "hidden",
53604
+ businessLocation: support.site.businessLocation ?? null,
53605
+ venuesById: support.site.venuesById ?? {},
53606
+ siteCountry: support.site.siteCountry ?? null
53607
+ };
53608
+ }
53103
53609
  function collectMediaAssetSidecar(mediaAssets) {
53104
53610
  return Array.isArray(mediaAssets) && mediaAssets.length > 0 ? mediaAssets : void 0;
53105
53611
  }
@@ -53710,6 +54216,11 @@ function buildPageIdentityRenderContext(dataContext) {
53710
54216
  demoEmailSuppressed: dataContext.demoEmailSuppressed,
53711
54217
  now: dataContext.now,
53712
54218
  siteName: dataContext.siteName,
54219
+ businessLocationPermission: dataContext.businessLocationPermission,
54220
+ businessAddressVisibility: dataContext.businessAddressVisibility,
54221
+ businessLocation: dataContext.businessLocation,
54222
+ venuesById: dataContext.venuesById,
54223
+ siteCountry: dataContext.siteCountry,
53713
54224
  pathname: dataContext.pathname
53714
54225
  };
53715
54226
  }
@@ -53826,4 +54337,4 @@ function Page(props) {
53826
54337
  return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HydratorWithContextProps, { ...toPageHydrationBootstrapConfig(props) }), /* @__PURE__ */ jsx(PageContent, { ...props })] });
53827
54338
  }
53828
54339
  //#endregion
53829
- export { isPublicReadEndpoint as $, resolveAuthoredLinkHref as A, deriveFieldValidationPlan as B, MISSING_SDK_THEME_ERROR_CODE as C, makeDefaultBlockComponent as D, prefetchBlockDataWithFailures as E, siteFooterManifest as F, setSdkVersion as G, ApiRequestError as H, siteHeaderManifest as I, resolveSdkFooterMode as J, isSupportedLoaderEndpoint$1 as K, admitTransportedRenderableManifestContent as L, normalizeRenderStage as M, resolveRouteHrefForStage as N, renderBlock as O, getBlockDefinition as P, getPublicReadCachePolicy as Q, compileManifestContentContract as R, resolveSiteCustomBlocks as S, requireSdkTheme as T, createBearerAPIClient as U, encodePublicProductCategorySelector as V, createInternalAPIClient as W, isApiError as X, ApiEnvelopeError as Y, unwrapResponse as Z, invalidRenderableBlock as _, ThemeScope as a, resolveSdkBlockManifest as b, PageRenderer as c, parseBlocksTheme as d, publicReadFreshnessSeconds as et, applyBindingsToContent as f, collectMediaAssetSidecar as g, buildSiteRenderSupport as h, renderWithSdkThemeRuntime as i, isRouteVisibleInStage as j, getDefaultComponentRegistry as k, toBlocksPageRendererDataContext as l, buildRenderablePageOutline as m, planLayoutThemeRuntime as n, EditorPageRenderer as o, BINDING_TRANSFORM_VALUES as p, resolveFooterRenderPlan as q, renderWithOverrideOnlyRuntime as r, MissingBlockOverrideError as s, Page as t, readPublishedBlockPlacement as tt, buildThemeRuntime as u, projectRenderablePageOutline as v, MissingSdkThemeError as w, sanitizeSdkRuntimeBlockContent as x, readInvalidBlockAdmission as y, admitLayoutGridForPlan as z };
54340
+ export { getPublicReadCachePolicy as $, getDefaultComponentRegistry as A, admitLayoutGridForPlan as B, resolveSiteCustomBlocks as C, prefetchBlockDataWithFailures as D, requireSdkTheme as E, getBlockDefinition as F, createInternalAPIClient as G, encodePublicProductCategorySelector as H, siteFooterManifest as I, resolveFooterRenderPlan as J, setSdkVersion as K, siteHeaderManifest as L, isRouteVisibleInStage as M, normalizeRenderStage as N, makeDefaultBlockComponent as O, resolveRouteHrefForStage as P, unwrapResponse as Q, admitTransportedRenderableManifestContent as R, siteLocationRenderContext as S, MissingSdkThemeError as T, ApiRequestError as U, deriveFieldValidationPlan as V, createBearerAPIClient as W, ApiEnvelopeError as X, resolveSdkFooterMode as Y, isApiError as Z, invalidRenderableBlock as _, ThemeScope as a, resolveSdkBlockManifest as b, PageRenderer as c, parseBlocksTheme as d, isPublicReadEndpoint as et, applyBindingsToContent as f, collectMediaAssetSidecar as g, buildSiteRenderSupport as h, renderWithSdkThemeRuntime as i, resolveAuthoredLinkHref as j, renderBlock as k, toBlocksPageRendererDataContext as l, buildRenderablePageOutline as m, planLayoutThemeRuntime as n, readPublishedBlockPlacement as nt, EditorPageRenderer as o, BINDING_TRANSFORM_VALUES as p, isSupportedLoaderEndpoint$1 as q, renderWithOverrideOnlyRuntime as r, MissingBlockOverrideError as s, Page as t, publicReadFreshnessSeconds as tt, buildThemeRuntime as u, projectRenderablePageOutline as v, MISSING_SDK_THEME_ERROR_CODE as w, sanitizeSdkRuntimeBlockContent as x, readInvalidBlockAdmission as y, compileManifestContentContract as z };