@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,12 +1,12 @@
1
- import { D as ok, E as err, s as runtimeMediaSchema, u as renderableMediaAssetSchema } from "./media-CcHwZkdJ.mjs";
1
+ import { An as resolveOnColorForThemeToken, E as ICON_CONFIG, Jt as featureCardCompositionTreatmentValues, Mn as resolveTokenOrCssColorValue, N as generateDefaultButtonSystem, P as parseThemeButtonVariantId, R as parseThemeForPersistence, Rn as defaultThemeTokens, Sn as textColorStyle, Tr as ok, Yn as getTextColorForBackground, Zt as introCompositionTreatmentValues, _n as backgroundColorStyle, bn as mergeStyles, dn as serializeSurfaceTree, en as offeringsPreviewCompositionTreatmentValues, ht as renderableMediaAssetSchema, in as testimonialsCompositionTreatmentValues, kn as isCssColorLiteral, pt as runtimeMediaSchema, ur as parseThemeColorToken, wr as err, xn as rgbColorValue } from "./schema-CD4peO7m.mjs";
2
2
  import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
3
- import { $ as ImagePresets, $n as createInteractiveIslandCodec, $r as parseBlockIconValue, $t as formatEventHourLabel, A as buildOfferingsCatalogueListing, Aa as isPublicEventPricingOptionDisplayable, An as FEATURE_CARD_ICON_TREATMENTS, At as resolveOfferingsPreviewGroupCta, B as eventCollectionDisplaySchemaShape, Bn as resolveDateRuntimeContext, Br as el, Bt as buildEventListWeek, C as buildShopInteractiveIslandProps, Ca as parseBookingLocalDate, Cn as isEventFull, Cr as ctaCopyFragment, D as passCardListContent, Da as toScheduledBookingDateTime, Dn as blockBookingConsentSchema, Dr as heroCopyFragment, Dt as buildOfferingsPreviewListing, E as membershipClassesLabel, Ea as toBookingTimeZone, En as publicEventsArraySchema, Er as isBlockButtonRole, Et as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, F as eventListingBlockDefinition, Fa as resolvePricingOptionsPriceDisplay, Fn as composeHeaderSectionWrapperClassName, Ft as ThemedButton, G as catalogueEventCardProps, Gn as staticHeaderChromeRuntime, H as eventCollectionSourceSchemaShape, Hi as arrangementManifestFromVariants, Ht as formatEventPriceAmount, I as buildEventListingInteractiveIslandProps, Ia as formatCurrencyAmount, In as markEditableSurfaceForwarding, It as ThemedButtonLink, J as CardListLeadDate, Jt as formatCalendarTitle, K as listingEventCardProps, Kt as eventDateOptions, L as buildEventCollectionDisplay, La as parseCurrencyCode, Ln as splitPositioningClasses, Lt as ThemedDownloadLink, M as buildEventCalendarInteractiveIslandProps, Ma as publicEventPricingDisplay, Mi as PUBLIC_DOWNLOAD_MEDIA_TYPES, Mn as shouldReserveFeatureCardIconZone, Mr as normalizeBoxStylesBorder, Mt as resolveOfferingsPreviewRunPath, N as buildEventCalendarListingDisplay, Na as publicEventPricingType, Nr as resolveCardRoleForBoxStyles, Nt as resolveOfferingsRenderInput, O as offeringsPreviewBlockDefinition, Oa as toUtcIsoDateTimeString, On as bookingConsentCarrierSchema, Or as bodyCopyFragment, Ot as normalizeOfferingsPreviewItemLimit, Pa as resolveExactOrFreePriceDisplay, Pt as ThemedAuthoredButton, Q as RichText, Qn as buildInteractiveIslandProps, Qr as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Qt as formatEventDateParts, R as buildEventCollectionHydration, Rr as resolveBackgroundColorValue, Rt as getIconComponent, S as buildProductListInteractiveIslandProps, Sa as getLocalScheduleDate, Sn as getEventAvailabilityStatus, Sr as testimonialsHeadingFragment, St as resolveEventRegistrationScopedEvents, T as membershipCardListContent, Ta as resolveBookingBusinessTimeZone, Tn as groupPublicEventsByRun, Tr as ctaRowFragment, Ut as formatEventPriceDisplay, V as eventCollectionHydrationSchema, Vr as when, Vt as formatEventPrice, Wi as resolveEffectiveArrangement, Wt as buildCalendarViewport, X as selectCardListPresentation, Xn as formBlockDefinition, Xt as formatEventClockLabel, Y as resolveCardListSchedule, Yt as formatDate, Z as MediaNodeServer, Zn as buildFormInteractiveIslandProps, Zr as runTransforms, Zt as formatEventCompactDateRail, _ as productListBlockDefinition, _a as formatDateTimeRange, _n as browserReadAuthoritySchema, _r as blogFeaturedPostFragment, a as normalizeLocationMapProps, aa as unavailableReadinessFact, ai as ClockIcon, an as getLocalDateKey, ar as listLookControl, at as resolvePublicMediaUrl, b as buildCheckoutInteractiveIslandProps, ba as formatBookingCompactEnglishTime, bn as formatTotalCapacity, br as formCopyFragment, ca as orderedLiveRunSessions, ci as FileSpreadsheetIcon, cn as formatDateKey, cr as itemRole, ct as setContextResolveImageUrlContext, d as newsletterBlockSubmissionMessage, da as parseMailingListRuntimeContext, di as PlusIcon, dn as getWeekCalendarDayTuple, dr as clsx, dt as getContainerClass, ei as resolveBlockIconRenderValue, en as formatEventNextDateFact, er as defineInteractiveIslandMetaKeys, et as MediaPlaceholder, f as giftingBlockDefinition, fi as inlineTextToPlainText, fn as getWeekCalendarDays, fr as richTextFragment, g as productDetailBlockDefinition, ga as formatDateRange, gn as formatBookingSchedulePresentation, gr as faqHeadingFragment, gt as previewStageSchema, h as cartBlockDefinition, ha as formatDate$1, hn as resolveRuntimeEventDestination, hr as faqAccordionFragment, ht as bookingNowSchema, i as buildGoogleMapsDirectionsUrl, ia as pageTemplateFromEntry, ii as CirclePlusIcon, in as resolveEventTimeZone, ir as listItemPresentation, j as eventCalendarBlockDefinition, ja as publicEventPricingCurrency, jn as resolveFeatureCardGeneratedIconSizePx, jr as boxStyleClassNames, jt as resolveOfferingsPreviewGroups, k as publicRouteCandidatesSchema, ka as formatBookingPriceDisplay, ki as bindingSchema, kn as blockBookingPaymentTermsSchema, kr as defineFragment, kt as offeringsListingFor, l as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, la as resolveWholeSeriesBookingPhase, li as FileTextIcon, ln as getDayOfWeek, lt as sanitizeHref, m as checkoutBlockDefinition, ma as sameMailingListPlacementTargeting, mi as parseInlineTextFromUnknown, mn as isToday, mr as cardFragment, mt as buildEventRegistrationInteractiveIslandProps, na as admitReadinessFacts, ni as ChevronDownIcon, nn as formatTime, nr as defineClientOwnedBlockRuntime, o as toLocationMapHydrationProps, oa as CANCELLED_SESSION_STATUS, oi as FileArchiveIcon, on as getLocalMinuteOfDay, or as listLookSlot, ot as buildResolveImageUrlContext, p as buildGiftingInteractiveIslandProps, pa as parseMailingListPlacementTargeting, pi as isInlineTextEmpty, pn as isSameCalendarDay, pr as headingFragment, pt as eventRegistrationBlockDefinition, q as CardListContentPart, qt as eventLocalDateKey, r as normalizeBlockContent, ra as loadedReadinessFact, ri as CircleMinusIcon, rn as groupEventsByDate, rr as defineProgressiveBlockRuntime, s as newsletterSignupBlockDefinition, sa as nextLiveRunSessionStartMs, si as FileAudioIcon, sn as addDays, sr as resolvedItemSurfaceProps, st as getCurrentResolveImageUrlContext, t as getBlockDefinition, ta as chosenString, ti as ArrowDownIcon, tn as formatEventTimeRange, tr as createZodCodec, u as buildNewsletterFormInteractiveIslandProps, ua as buildMailingListSignupBlockSourceRef, ui as MinusIcon, un as getOrderedDayNames, ur as Grid, ut as getCardOrientation, v as shopBlockDefinition, vn as canJoinEventWaitlistOnAnyMode, vr as singleButtonFragment, w as shopProductPresentation, wa as parseLocalScheduleTime, wi as parseFieldDefinitions, wn as blockSiteTermsSchema, wr as heroCtaRowFragment, x as buildProductDetailInteractiveIslandProps, xa as getBookingLocalDateKey, xn as getEventAvailability, xr as testimonialsCarouselFragment, xt as normalizeEventRegistrationPageSurfaceSubject, y as buildCartInteractiveIslandProps, ya as compareLocalScheduleDates, yn as formatEventRemainingPlaces, yr as formEmbedFragment, z as buildEventCollectionListingDisplay, zn as readRuntimeNow, zr as ctaButton, zt as SpinnerNode } from "./registry-eFjKtEhF.mjs";
4
- import { g as validateManifestDraft, h as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-ruoyXb_0.mjs";
5
- import { C as resolvePageRouteTarget, D as parseStoredVariant, E as toPresentationPage, S as resolveEntryRouteTarget, T as toEditorPresentationPage, _ as buildLinkedContentEditTarget, b as defaultTransforms, f as buildPageRenderPlan, g as retargetJoinsAcrossOmissions, h as renderedJoinLayout, m as joinSlotKey, p as composePageJoins, v as resolveLinkedEntryInlineFieldEligibility, w as resolveRouteTarget } from "./prefetchBlockData-B7ukYXXR.mjs";
6
- import { E as ICON_CONFIG, En as defaultThemeTokens, Jn as parseThemeColorToken, Jt as testimonialsCompositionTreatmentValues, Ln as getTextColorForBackground, N as generateDefaultButtonSystem, P as parseThemeButtonVariantId, R as parseThemeForPersistence, Rt as featureCardCompositionTreatmentValues, Vt as introCompositionTreatmentValues, Wt as offeringsPreviewCompositionTreatmentValues, cn as rgbColorValue, gn as resolveOnColorForThemeToken, hn as isCssColorLiteral, in as backgroundColorStyle, ln as textColorStyle, sn as mergeStyles, vn as resolveTokenOrCssColorValue } from "./schema-C3dJ5UkL.mjs";
7
- import { A as arrangementLookHooks } from "./siteChromeOverlayClearance-DALIAMwo.mjs";
3
+ import { $ as ImagePresets, $i as resolveWholeSeriesBookingPhase, $n as createInteractiveIslandCodec, $r as runTransforms, $t as formatEventHourLabel, A as buildOfferingsCatalogueListing, Aa as resolveExactOrFreePriceDisplay, An as FEATURE_CARD_ICON_TREATMENTS, Ar as defineFragment, At as resolveOfferingsPreviewGroupCta, B as eventCollectionDisplaySchemaShape, Bn as resolveDateRuntimeContext, Br as resolveBackgroundColorValue, Bt as buildEventListWeek, C as buildShopInteractiveIslandProps, Ca as toScheduledBookingDateTime, Cn as isEventFull, Cr as testimonialsHeadingFragment, D as passCardListContent, Da as publicEventPricingCurrency, Dn as blockBookingConsentSchema, Dr as isBlockButtonRole, Dt as buildOfferingsPreviewListing, E as membershipClassesLabel, Ea as isPublicEventPricingOptionDisplayable, Ei as parseFieldDefinitions, En as publicEventsArraySchema, Er as ctaRowFragment, Et as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, F as eventListingBlockDefinition, Fn as composeHeaderSectionWrapperClassName, Ft as ThemedButton, G as catalogueEventCardProps, Gi as chosenString, Gn as staticHeaderChromeRuntime, H as eventCollectionSourceSchemaShape, Hr as el, Ht as formatEventPriceAmount, I as buildEventListingInteractiveIslandProps, In as markEditableSurfaceForwarding, It as ThemedButtonLink, J as CardListLeadDate, Ji as pageTemplateFromEntry, Jt as formatCalendarTitle, K as listingEventCardProps, Ki as admitReadinessFacts, Kt as eventDateOptions, L as buildEventCollectionDisplay, Ln as splitPositioningClasses, Lt as ThemedDownloadLink, M as buildEventCalendarInteractiveIslandProps, Ma as formatCurrencyAmount, Mn as shouldReserveFeatureCardIconZone, Mr as boxStyleClassNames, Mt as resolveOfferingsPreviewRunPath, N as buildEventCalendarListingDisplay, Na as parseCurrencyCode, Nr as normalizeBoxStylesBorder, Nt as resolveOfferingsRenderInput, O as offeringsPreviewBlockDefinition, Oa as publicEventPricingDisplay, On as bookingConsentCarrierSchema, Or as heroCopyFragment, Ot as normalizeOfferingsPreviewItemLimit, Pi as PUBLIC_DOWNLOAD_MEDIA_TYPES, Pr as resolveCardRoleForBoxStyles, Pt as ThemedAuthoredButton, Q as RichText, Qi as orderedLiveRunSessions, Qn as buildInteractiveIslandProps, Qt as formatEventDateParts, R as buildEventCollectionHydration, Rt as getIconComponent, S as buildProductListInteractiveIslandProps, Sa as toBookingTimeZone, Sn as getEventAvailabilityStatus, Sr as testimonialsCarouselFragment, St as resolveEventRegistrationScopedEvents, T as membershipCardListContent, Ta as formatBookingPriceDisplay, Tn as groupPublicEventsByRun, Tr as heroCtaRowFragment, Ur as when, Ut as formatEventPriceDisplay, V as eventCollectionHydrationSchema, Vr as ctaButton, Vt as formatEventPrice, Wt as buildCalendarViewport, X as selectCardListPresentation, Xi as CANCELLED_SESSION_STATUS, Xn as formBlockDefinition, Xt as formatEventClockLabel, Y as resolveCardListSchedule, Yi as unavailableReadinessFact, Yt as formatDate, Z as MediaNodeServer, Zi as nextLiveRunSessionStartMs, Zn as buildFormInteractiveIslandProps, Zt as formatEventCompactDateRail, _ as productListBlockDefinition, _a as getBookingLocalDateKey, _n as browserReadAuthoritySchema, _r as faqHeadingFragment, a as normalizeLocationMapSource, aa as decideLocationSourcePermission, ai as CircleMinusIcon, an as getLocalDateKey, ar as listLookControl, at as resolvePublicMediaUrl, b as buildCheckoutInteractiveIslandProps, ba as parseLocalScheduleTime, bn as formatTotalCapacity, br as formEmbedFragment, ci as FileArchiveIcon, cn as formatDateKey, cr as resolvedItemSurfaceProps, ct as setContextResolveImageUrlContext, d as newsletterBlockSubmissionMessage, da as formatDate$1, di as FileTextIcon, dn as getWeekCalendarDayTuple, dr as Grid, dt as getContainerClass, ea as buildMailingListSignupBlockSourceRef, ei as buildGeneratedBlockIconRenderAssetLookupFromUnknown, en as formatEventNextDateFact, er as defineInteractiveIslandMetaKeys, et as MediaPlaceholder, f as giftingBlockDefinition, fa as formatDateRange, fi as MinusIcon, fn as getWeekCalendarDays, fr as clsx, g as productDetailBlockDefinition, ga as formatBookingCompactEnglishTime, gi as parseInlineTextFromUnknown, gn as formatBookingSchedulePresentation, gr as faqAccordionFragment, gt as previewStageSchema, h as cartBlockDefinition, ha as compareLocalScheduleDates, hi as isInlineTextEmpty, hn as resolveRuntimeEventDestination, hr as cardFragment, ht as bookingNowSchema, i as normalizeLocationMapProps, ia as sameMailingListPlacementTargeting, ii as ChevronDownIcon, in as resolveEventTimeZone, ir as listItemPresentation, j as eventCalendarBlockDefinition, ja as resolvePricingOptionsPriceDisplay, ji as bindingSchema, jn as resolveFeatureCardGeneratedIconSizePx, jt as resolveOfferingsPreviewGroups, k as publicRouteCandidatesSchema, ka as publicEventPricingType, kn as blockBookingPaymentTermsSchema, kr as bodyCopyFragment, kt as offeringsListingFor, l as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, li as FileAudioIcon, ln as getDayOfWeek, lr as itemRole, lt as sanitizeHref, m as checkoutBlockDefinition, mi as inlineTextToPlainText, mn as isToday, mr as headingFragment, mt as buildEventRegistrationInteractiveIslandProps, ni as resolveBlockIconRenderValue, nn as formatTime, nr as defineClientOwnedBlockRuntime, o as resolveLocationMapLocation, oi as CirclePlusIcon, on as getLocalMinuteOfDay, or as listLookSlot, ot as buildResolveImageUrlContext, p as buildGiftingInteractiveIslandProps, pa as formatDateTimeRange, pi as PlusIcon, pn as isSameCalendarDay, pr as richTextFragment, pt as eventRegistrationBlockDefinition, q as CardListContentPart, qi as loadedReadinessFact, qt as eventLocalDateKey, r as normalizeBlockContent, ra as parseMailingListPlacementTargeting, ri as ArrowDownIcon, rn as groupEventsByDate, rr as defineProgressiveBlockRuntime, s as newsletterSignupBlockDefinition, sa as normalizeLocationAddressText, si as ClockIcon, sn as addDays, sr as lookListPresentationSchemaShape, st as getCurrentResolveImageUrlContext, t as getBlockDefinition, ta as parseMailingListRuntimeContext, ti as parseBlockIconValue, tn as formatEventTimeRange, tr as createZodCodec, u as buildNewsletterFormInteractiveIslandProps, ua as mapDrawingSchema, ui as FileSpreadsheetIcon, un as getOrderedDayNames, ut as getCardOrientation, v as shopBlockDefinition, va as getLocalScheduleDate, vn as canJoinEventWaitlistOnAnyMode, vr as blogFeaturedPostFragment, w as shopProductPresentation, wa as toUtcIsoDateTimeString, wn as blockSiteTermsSchema, wr as ctaCopyFragment, x as buildProductDetailInteractiveIslandProps, xa as resolveBookingBusinessTimeZone, xn as getEventAvailability, xr as formCopyFragment, xt as normalizeEventRegistrationPageSurfaceSubject, y as buildCartInteractiveIslandProps, ya as parseBookingLocalDate, yn as formatEventRemainingPlaces, yr as singleButtonFragment, z as buildEventCollectionListingDisplay, zn as readRuntimeNow, zt as SpinnerNode } from "./registry-BVfCqaCq.mjs";
4
+ import { _ as validateManifestDraft, g as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-BNHIXiUj.mjs";
5
+ import { C as resolvePageRouteTarget, D as parseStoredVariant, E as toPresentationPage, S as resolveEntryRouteTarget, T as toEditorPresentationPage, _ as buildLinkedContentEditTarget, b as defaultTransforms, f as buildPageRenderPlan, g as retargetJoinsAcrossOmissions, h as renderedJoinLayout, m as joinSlotKey, p as composePageJoins, v as resolveLinkedEntryInlineFieldEligibility, w as resolveRouteTarget } from "./prefetchBlockData-CqJnokWJ.mjs";
6
+ import { _ as resolveEffectiveArrangement, d as arrangementLookHooks, h as arrangementManifestFromVariants } from "./effectiveNavLinkStyle-CGvGr3yD.mjs";
7
+ import "./site-styles-H-EvTJiW.mjs";
8
8
  import { a as isRecord$4, i as isObjectRecord, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
9
- import { a as buildThemeRuntime$1, n as ResponsiveScope, o as mergeContentWithBlockStyleOverrides, r as ThemeScope$1, s as generateDefaultAccordionSystem } from "./src-C5Mu-z0F.mjs";
9
+ import { a as buildThemeRuntime$1, n as ResponsiveScope, o as mergeContentWithBlockStyleOverrides, r as ThemeScope$1, s as generateDefaultAccordionSystem } from "./src-ILxc6pid.mjs";
10
10
  import { t as getAtPath } from "./src-Cxucn-1P.mjs";
11
11
  import { z } from "zod";
12
12
  import * as React$1 from "react";
@@ -132,6 +132,26 @@ function selectCategoryView(categories, services, filterCategoryId) {
132
132
  };
133
133
  }
134
134
  //#endregion
135
+ //#region ../core/src/locationLinks.ts
136
+ /** Both outbound actions use the arrival pin, never match evidence. */
137
+ function locationMapLinks(input) {
138
+ const target = input.location != null ? `${input.location.lat},${input.location.lng}` : normalizeLocationAddressText(input.addressText);
139
+ if (target === null) return {
140
+ directions: null,
141
+ googleMaps: null
142
+ };
143
+ const directions = new URL("https://www.google.com/maps/dir/");
144
+ directions.searchParams.set("api", "1");
145
+ directions.searchParams.set("destination", target);
146
+ const search = new URL("https://www.google.com/maps/search/");
147
+ search.searchParams.set("api", "1");
148
+ search.searchParams.set("query", target);
149
+ return {
150
+ directions: directions.toString(),
151
+ googleMaps: search.toString()
152
+ };
153
+ }
154
+ //#endregion
135
155
  //#region ../core/src/opening-hours.ts
136
156
  const openingHoursWeekdayLabels = {
137
157
  monday: "Monday",
@@ -1521,6 +1541,248 @@ function leadItemPresentation(presentation, index, count) {
1521
1541
  };
1522
1542
  }
1523
1543
  //#endregion
1544
+ //#region ../blocks/src/system/runtime/nodes/svg.tsx
1545
+ /**
1546
+ * Strict SVG-`transform` validator.
1547
+ *
1548
+ * Accepts only a whitespace/comma-separated list of the geometric transform
1549
+ * functions (`translate`/`rotate`/`scale`/`skewX`/`skewY`/`matrix`) whose
1550
+ * arguments are plain numbers. This deliberately rejects anything else —
1551
+ * `url(...)`, CSS functions, `javascript:`, angle/length units, stray letters —
1552
+ * so a persisted custom-block tree can't smuggle an executable or exfiltrating
1553
+ * value into the attribute.
1554
+ */
1555
+ const TRANSFORM_NUMBER = String.raw`-?(?:\d+\.?\d*|\.\d+)(?:e-?\d+)?`;
1556
+ const TRANSFORM_ARGS = String.raw`${TRANSFORM_NUMBER}(?:[\s,]+${TRANSFORM_NUMBER})*`;
1557
+ const TRANSFORM_FN = String.raw`(?:translate|rotate|scale|skewX|skewY|matrix)\(\s*${TRANSFORM_ARGS}\s*\)`;
1558
+ const SAFE_TRANSFORM_RE = new RegExp(String.raw`^\s*${TRANSFORM_FN}(?:[\s,]*${TRANSFORM_FN})*\s*$`);
1559
+ function safeTransform(value) {
1560
+ if (typeof value !== "string") return void 0;
1561
+ const trimmed = value.trim();
1562
+ if (trimmed.length === 0) return void 0;
1563
+ return SAFE_TRANSFORM_RE.test(trimmed) ? trimmed : void 0;
1564
+ }
1565
+ /**
1566
+ * Turn paint props into a CSS style object. Colour values pass through as-is so
1567
+ * they may reference theme tokens via `var()`, which only resolves in a CSS
1568
+ * property context (not in a bare presentation attribute).
1569
+ */
1570
+ function paintStyle(shape) {
1571
+ const style = {};
1572
+ if (shape.fill !== void 0) style.fill = shape.fill;
1573
+ if (shape.stroke !== void 0) style.stroke = shape.stroke;
1574
+ if (shape.strokeWidth !== void 0) style.strokeWidth = shape.strokeWidth;
1575
+ if (shape.fillOpacity !== void 0) style.fillOpacity = shape.fillOpacity;
1576
+ if (shape.strokeOpacity !== void 0) style.strokeOpacity = shape.strokeOpacity;
1577
+ if (shape.strokeLinecap !== void 0) style.strokeLinecap = shape.strokeLinecap;
1578
+ if (shape.strokeLinejoin !== void 0) style.strokeLinejoin = shape.strokeLinejoin;
1579
+ if (shape.strokeDasharray !== void 0) style.strokeDasharray = shape.strokeDasharray;
1580
+ return style;
1581
+ }
1582
+ function renderShape(shape, key) {
1583
+ const style = paintStyle(shape);
1584
+ const transform = safeTransform(shape.transform);
1585
+ switch (shape.kind) {
1586
+ case "text": return /* @__PURE__ */ jsx("text", {
1587
+ className: shape.className,
1588
+ x: shape.x,
1589
+ y: shape.y,
1590
+ transform,
1591
+ children: shape.text
1592
+ }, key);
1593
+ case "path": return /* @__PURE__ */ jsx("path", {
1594
+ d: shape.d,
1595
+ className: shape.className,
1596
+ fillRule: shape.fillRule,
1597
+ style,
1598
+ transform
1599
+ }, key);
1600
+ case "ellipse": return /* @__PURE__ */ jsx("ellipse", {
1601
+ cx: shape.cx,
1602
+ cy: shape.cy,
1603
+ rx: shape.rx,
1604
+ ry: shape.ry,
1605
+ style,
1606
+ transform
1607
+ }, key);
1608
+ case "circle": return /* @__PURE__ */ jsx("circle", {
1609
+ cx: shape.cx,
1610
+ cy: shape.cy,
1611
+ r: shape.r,
1612
+ style,
1613
+ transform
1614
+ }, key);
1615
+ case "rect": return /* @__PURE__ */ jsx("rect", {
1616
+ x: shape.x,
1617
+ y: shape.y,
1618
+ className: shape.className,
1619
+ width: shape.width,
1620
+ height: shape.height,
1621
+ rx: shape.rx,
1622
+ ry: shape.ry,
1623
+ style,
1624
+ transform
1625
+ }, key);
1626
+ case "line": return /* @__PURE__ */ jsx("line", {
1627
+ x1: shape.x1,
1628
+ y1: shape.y1,
1629
+ x2: shape.x2,
1630
+ y2: shape.y2,
1631
+ style,
1632
+ transform
1633
+ }, key);
1634
+ default: return null;
1635
+ }
1636
+ }
1637
+ const SvgNode = ({ blockId: _blockId, blockKind: _blockKind, blockContent: _blockContent, fragmentRegistry: _fragmentRegistry, pathBase: _pathBase, viewBox, width, height, className, style, ariaHidden = true, ariaLabel, shapes }) => {
1638
+ return /* @__PURE__ */ jsx("svg", {
1639
+ viewBox,
1640
+ width,
1641
+ height,
1642
+ className,
1643
+ style,
1644
+ "aria-hidden": ariaHidden || void 0,
1645
+ role: ariaLabel ? "img" : void 0,
1646
+ "aria-label": ariaLabel,
1647
+ xmlns: "http://www.w3.org/2000/svg",
1648
+ fill: "none",
1649
+ children: (Array.isArray(shapes) ? shapes : []).map((shape, index) => renderShape(shape, index))
1650
+ });
1651
+ };
1652
+ //#endregion
1653
+ //#region ../blocks/src/system/runtime/nodes/shared/MapDrawingSvg.tsx
1654
+ const PIN_PATH = "M0 0C-3.5-9-13-15-13-25A13 13 0 1 1 13-25C13-15 3.5-9 0 0ZM0-20.5A4.5 4.5 0 1 0 0-29.5A4.5 4.5 0 1 0 0-20.5Z";
1655
+ const commands = (points) => points.map(([x, y], index) => `${index ? "L" : "M"}${x} ${y}`).join(" ");
1656
+ function pathShape(path) {
1657
+ return path.kind === "polygon" ? {
1658
+ kind: "path",
1659
+ className: path.className,
1660
+ fillRule: path.fillRule,
1661
+ d: path.rings.map((ring) => `${commands(ring)} Z`).join(" ")
1662
+ } : {
1663
+ kind: "path",
1664
+ className: path.className,
1665
+ d: commands(path.points)
1666
+ };
1667
+ }
1668
+ function labelShapes(label) {
1669
+ const [x, y] = label.point, transform = `rotate(${label.angle} ${x} ${y})`;
1670
+ return [label.haloClassName, label.className].map((className) => ({
1671
+ kind: "text",
1672
+ className,
1673
+ x,
1674
+ y,
1675
+ transform,
1676
+ text: label.text
1677
+ }));
1678
+ }
1679
+ /** The drawing the renderer below would show, or null when there's nothing it can draw. */
1680
+ function readableMapDrawing(drawing) {
1681
+ const parsed = mapDrawingSchema.safeParse(drawing);
1682
+ return parsed.success ? parsed.data : null;
1683
+ }
1684
+ /** Untrusted standalone callers retain boundary admission. */
1685
+ function MapDrawingSvg(props) {
1686
+ const drawing = readableMapDrawing(props.drawing);
1687
+ return drawing ? /* @__PURE__ */ jsx(AdmittedMapDrawingSvg, {
1688
+ ...props,
1689
+ drawing
1690
+ }) : null;
1691
+ }
1692
+ /** Render an already admitted value without allocating another validation copy. */
1693
+ function AdmittedMapDrawingSvg(props) {
1694
+ const drawing = props.drawing;
1695
+ const name = props.wider ? "wider" : "neighbourhood", frame = drawing.frames[name];
1696
+ const shapes = [
1697
+ {
1698
+ kind: "rect",
1699
+ className: frame.backgroundClass,
1700
+ x: 0,
1701
+ y: 0,
1702
+ width: 800,
1703
+ height: 800
1704
+ },
1705
+ ...frame.paths.map(pathShape),
1706
+ ...frame.labels.flatMap(labelShapes),
1707
+ {
1708
+ kind: "path",
1709
+ className: frame.pin.className,
1710
+ fillRule: "evenodd",
1711
+ d: PIN_PATH,
1712
+ transform: `translate(${frame.pin.point.join(" ")})`
1713
+ }
1714
+ ];
1715
+ return /* @__PURE__ */ jsxs("figure", {
1716
+ className: `rb-map-drawing ${props.className ?? ""}`.trim(),
1717
+ children: [/* @__PURE__ */ jsx("div", {
1718
+ className: "rb-map-drawing-crop",
1719
+ style: cropHeightStyle(Math.max(255, props.height ?? 320), props.heightAs ?? "fixed"),
1720
+ children: /* @__PURE__ */ jsx(SvgNode, {
1721
+ className: `map-${name}`,
1722
+ viewBox: frame.viewBox.join(" "),
1723
+ shapes,
1724
+ ariaHidden: false,
1725
+ ariaLabel: props.label ? `Map showing ${props.label}` : "Map showing the arrival pin"
1726
+ })
1727
+ }), /* @__PURE__ */ jsxs("figcaption", { children: ["© ", /* @__PURE__ */ jsx("a", {
1728
+ href: "https://www.openstreetmap.org/copyright",
1729
+ target: "_blank",
1730
+ rel: "noreferrer",
1731
+ children: "OpenStreetMap contributors"
1732
+ })] })]
1733
+ });
1734
+ }
1735
+ function cropHeightStyle(height, heightAs) {
1736
+ return heightAs === "minimum" ? { minHeight: height } : { height };
1737
+ }
1738
+ //#endregion
1739
+ //#region ../blocks/src/system/runtime/nodes/shared/LocationMapActions.tsx
1740
+ /**
1741
+ * `compact` (event details, cards and modals) keeps two small ghost buttons;
1742
+ * `block` (the map block) leads with a secondary directions button and keeps
1743
+ * Google Maps as a plain text link beside it.
1744
+ */
1745
+ function LocationMapActions(props) {
1746
+ const links = locationMapLinks(props);
1747
+ const directionsLabel = props.directionsLabel ?? "Get directions";
1748
+ const googleMapsLabel = props.googleMapsLabel ?? "Open in Google Maps";
1749
+ if (props.layout === "block") return /* @__PURE__ */ jsxs("div", {
1750
+ className: "rb-location-map-actions",
1751
+ children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
1752
+ href: links.directions,
1753
+ target: "_blank",
1754
+ rel: "noreferrer",
1755
+ variant: "secondary",
1756
+ size: "sm",
1757
+ label: directionsLabel
1758
+ }) : null, links.googleMaps ? /* @__PURE__ */ jsx("a", {
1759
+ className: "rb-location-map-link",
1760
+ href: links.googleMaps,
1761
+ target: "_blank",
1762
+ rel: "noreferrer",
1763
+ children: googleMapsLabel
1764
+ }) : null]
1765
+ });
1766
+ return /* @__PURE__ */ jsxs("div", {
1767
+ className: "rb-flex rb-flex-wrap rb-gap-2",
1768
+ children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
1769
+ href: links.directions,
1770
+ target: "_blank",
1771
+ rel: "noreferrer",
1772
+ variant: "ghost",
1773
+ size: "sm",
1774
+ label: directionsLabel
1775
+ }) : null, links.googleMaps ? /* @__PURE__ */ jsx(ThemedButtonLink, {
1776
+ href: links.googleMaps,
1777
+ target: "_blank",
1778
+ rel: "noreferrer",
1779
+ variant: "ghost",
1780
+ size: "sm",
1781
+ label: googleMapsLabel
1782
+ }) : null]
1783
+ });
1784
+ }
1785
+ //#endregion
1524
1786
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
1525
1787
  function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
1526
1788
  return /* @__PURE__ */ jsxs("svg", {
@@ -1631,7 +1893,7 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
1631
1893
  formattedTime,
1632
1894
  hasImage,
1633
1895
  headingLevel: cardHeadingLevel,
1634
- mapSlot,
1896
+ mapSlot: resolveVenueMapSlot(event.venue, mapSlot),
1635
1897
  priceText,
1636
1898
  showMap,
1637
1899
  showSummary,
@@ -1642,6 +1904,13 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
1642
1904
  })]
1643
1905
  });
1644
1906
  };
1907
+ function resolveVenueMapSlot(venue, override) {
1908
+ return override ?? (venue?.drawing ? /* @__PURE__ */ jsx(MapDrawingSvg, {
1909
+ drawing: venue.drawing,
1910
+ label: venue.name,
1911
+ height: 255
1912
+ }) : null);
1913
+ }
1645
1914
  function EventCardMedia(props) {
1646
1915
  if (props.lookPresentation.lookSlots !== void 0) return /* @__PURE__ */ jsx(EventLookDate, {
1647
1916
  event: props.event,
@@ -1746,13 +2015,20 @@ function EventCardVenue(props) {
1746
2015
  if (!venue) return null;
1747
2016
  return /* @__PURE__ */ jsxs("div", {
1748
2017
  className: "rb-mb-3",
1749
- children: [/* @__PURE__ */ jsxs("div", {
1750
- className: "rb-flex rb-items-center rb-gap-2 rb-caption",
1751
- children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
1752
- }), props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
1753
- className: "rb-mt-2",
1754
- children: props.mapSlot
1755
- })]
2018
+ children: [
2019
+ /* @__PURE__ */ jsxs("div", {
2020
+ className: "rb-flex rb-items-center rb-gap-2 rb-caption",
2021
+ children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
2022
+ }),
2023
+ props.allowMap ? /* @__PURE__ */ jsx(LocationMapActions, {
2024
+ location: venue.location,
2025
+ addressText: venue.address
2026
+ }) : null,
2027
+ props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
2028
+ className: "rb-mt-2",
2029
+ children: props.mapSlot
2030
+ })
2031
+ ]
1756
2032
  });
1757
2033
  }
1758
2034
  function EventCardFooter(props) {
@@ -2582,6 +2858,102 @@ function renderMark(mark, key, child) {
2582
2858
  }
2583
2859
  }
2584
2860
  //#endregion
2861
+ //#region ../blocks/src/system/runtime/nodes/location-map.view.tsx
2862
+ function OpeningHoursTable({ hours, lookLayout }) {
2863
+ if (!hours) return null;
2864
+ return /* @__PURE__ */ jsxs("div", {
2865
+ className: "rb-location-map-hours",
2866
+ "data-slot": lookLayout ? "schedule" : void 0,
2867
+ children: [/* @__PURE__ */ jsxs("table", { children: [/* @__PURE__ */ jsx("caption", { children: "Opening hours" }), /* @__PURE__ */ jsx("tbody", { children: formatOpeningHoursRows(hours).map((row) => /* @__PURE__ */ jsxs("tr", {
2868
+ "data-slot": lookLayout ? "row" : void 0,
2869
+ "data-closed": row.kind === "closed" ? true : void 0,
2870
+ children: [/* @__PURE__ */ jsx("th", {
2871
+ scope: "row",
2872
+ "data-slot": lookLayout ? "fact-label" : void 0,
2873
+ children: row.label
2874
+ }), /* @__PURE__ */ jsx("td", {
2875
+ "data-slot": lookLayout ? "fact-value" : void 0,
2876
+ children: row.hours
2877
+ })]
2878
+ }, row.label)) })] }), hours.note ? /* @__PURE__ */ jsx("p", { children: hours.note }) : null]
2879
+ });
2880
+ }
2881
+ function LocationMapView(props) {
2882
+ const { addressText, location } = props;
2883
+ const hours = props.showOpeningHours === false ? null : props.openingHours ?? null;
2884
+ if (![
2885
+ location,
2886
+ addressText,
2887
+ hours
2888
+ ].some(Boolean)) return /* @__PURE__ */ jsx("p", {
2889
+ className: "rb-caption",
2890
+ style: textColorStyle("mutedText"),
2891
+ children: props.unresolvedMessage ?? "Location details coming soon."
2892
+ });
2893
+ return /* @__PURE__ */ jsx(LocationMapDetails, {
2894
+ ...props,
2895
+ openingHours: hours
2896
+ });
2897
+ }
2898
+ /** The entrance-photo Look leaves the drawing out; Look layouts treat the authored height as a minimum. */
2899
+ function LocationMapDrawing(props) {
2900
+ return /* @__PURE__ */ jsx(AdmittedMapDrawingSvg, {
2901
+ drawing: props.drawing,
2902
+ wider: props.wider,
2903
+ label: props.addressText ?? void 0,
2904
+ height: props.heightPx,
2905
+ heightAs: props.lookLayout ? "minimum" : "fixed"
2906
+ });
2907
+ }
2908
+ /**
2909
+ * `data-map="none"` marks details shown without a drawing (none yet, or the entrance photo
2910
+ * takes its place), so map Looks lay the details out on their own instead of beside an empty space.
2911
+ */
2912
+ function LocationMapDetails(props) {
2913
+ const drawing = props.showMap === false ? null : readableMapDrawing(props.drawing);
2914
+ return /* @__PURE__ */ jsxs("div", {
2915
+ className: "rb-location-map",
2916
+ "data-map": drawing ? "drawing" : "none",
2917
+ children: [drawing ? /* @__PURE__ */ jsx(LocationMapDrawing, {
2918
+ ...props,
2919
+ drawing
2920
+ }) : null, /* @__PURE__ */ jsxs("div", {
2921
+ className: "rb-location-map-details",
2922
+ ...props.detailsSlot,
2923
+ children: [/* @__PURE__ */ jsx(LocationMapPlace, { ...props }), /* @__PURE__ */ jsx(OpeningHoursTable, {
2924
+ lookLayout: props.lookLayout,
2925
+ hours: props.openingHours ?? null
2926
+ })]
2927
+ })]
2928
+ });
2929
+ }
2930
+ /** Address, door note and the directions actions. */
2931
+ function LocationMapPlace(props) {
2932
+ const address = props.showAddressText && props.addressText ? props.addressText : null;
2933
+ return /* @__PURE__ */ jsxs("div", {
2934
+ className: "rb-location-map-place",
2935
+ "data-slot": props.lookLayout ? "copy" : void 0,
2936
+ children: [
2937
+ address ? /* @__PURE__ */ jsx("p", {
2938
+ className: "rb-location-map-address",
2939
+ "data-slot": props.lookLayout ? "headline" : void 0,
2940
+ children: address
2941
+ }) : null,
2942
+ props.doorNote ? /* @__PURE__ */ jsx("p", {
2943
+ className: "rb-location-map-door",
2944
+ children: props.doorNote
2945
+ }) : null,
2946
+ props.showDirections ? /* @__PURE__ */ jsx(LocationMapActions, {
2947
+ layout: "block",
2948
+ location: props.location,
2949
+ addressText: props.addressText,
2950
+ directionsLabel: props.directionsLabel,
2951
+ googleMapsLabel: props.googleMapsLabel
2952
+ }) : null
2953
+ ]
2954
+ });
2955
+ }
2956
+ //#endregion
2585
2957
  //#region ../blocks/src/system/runtime/nodes/basic.tsx
2586
2958
  const TextNode = ({ value, children, blockContent, inlineTextFallbackPath, ...rest }) => {
2587
2959
  const inlineText = parseInlineTextFromUnknown(value);
@@ -3092,7 +3464,7 @@ function getIslandRootProps(kind, id) {
3092
3464
  return resolved;
3093
3465
  }
3094
3466
  function serializeIslandProps(value) {
3095
- return JSON.stringify(value).replace(/</g, "\\u003c");
3467
+ return JSON.stringify(serializeSurfaceTree(value)).replace(/</g, "\\u003c");
3096
3468
  }
3097
3469
  function IslandPropsScript({ value }) {
3098
3470
  return /* @__PURE__ */ jsx("script", {
@@ -3429,103 +3801,6 @@ function HeaderControlNode({ className, children, "aria-label": label, "aria-exp
3429
3801
  });
3430
3802
  }
3431
3803
  //#endregion
3432
- //#region ../blocks/src/system/runtime/nodes/svg.tsx
3433
- /**
3434
- * Strict SVG-`transform` validator.
3435
- *
3436
- * Accepts only a whitespace/comma-separated list of the geometric transform
3437
- * functions (`translate`/`rotate`/`scale`/`skewX`/`skewY`/`matrix`) whose
3438
- * arguments are plain numbers. This deliberately rejects anything else —
3439
- * `url(...)`, CSS functions, `javascript:`, angle/length units, stray letters —
3440
- * so a persisted custom-block tree can't smuggle an executable or exfiltrating
3441
- * value into the attribute.
3442
- */
3443
- const TRANSFORM_NUMBER = String.raw`-?(?:\d+\.?\d*|\.\d+)(?:e-?\d+)?`;
3444
- const TRANSFORM_ARGS = String.raw`${TRANSFORM_NUMBER}(?:[\s,]+${TRANSFORM_NUMBER})*`;
3445
- const TRANSFORM_FN = String.raw`(?:translate|rotate|scale|skewX|skewY|matrix)\(\s*${TRANSFORM_ARGS}\s*\)`;
3446
- const SAFE_TRANSFORM_RE = new RegExp(String.raw`^\s*${TRANSFORM_FN}(?:[\s,]*${TRANSFORM_FN})*\s*$`);
3447
- function safeTransform(value) {
3448
- if (typeof value !== "string") return void 0;
3449
- const trimmed = value.trim();
3450
- if (trimmed.length === 0) return void 0;
3451
- return SAFE_TRANSFORM_RE.test(trimmed) ? trimmed : void 0;
3452
- }
3453
- /**
3454
- * Turn paint props into a CSS style object. Colour values pass through as-is so
3455
- * they may reference theme tokens via `var()`, which only resolves in a CSS
3456
- * property context (not in a bare presentation attribute).
3457
- */
3458
- function paintStyle(shape) {
3459
- const style = {};
3460
- if (shape.fill !== void 0) style.fill = shape.fill;
3461
- if (shape.stroke !== void 0) style.stroke = shape.stroke;
3462
- if (shape.strokeWidth !== void 0) style.strokeWidth = shape.strokeWidth;
3463
- if (shape.fillOpacity !== void 0) style.fillOpacity = shape.fillOpacity;
3464
- if (shape.strokeOpacity !== void 0) style.strokeOpacity = shape.strokeOpacity;
3465
- if (shape.strokeLinecap !== void 0) style.strokeLinecap = shape.strokeLinecap;
3466
- if (shape.strokeLinejoin !== void 0) style.strokeLinejoin = shape.strokeLinejoin;
3467
- if (shape.strokeDasharray !== void 0) style.strokeDasharray = shape.strokeDasharray;
3468
- return style;
3469
- }
3470
- function renderShape(shape, key) {
3471
- const style = paintStyle(shape);
3472
- const transform = safeTransform(shape.transform);
3473
- switch (shape.kind) {
3474
- case "path": return /* @__PURE__ */ jsx("path", {
3475
- d: shape.d,
3476
- style,
3477
- transform
3478
- }, key);
3479
- case "ellipse": return /* @__PURE__ */ jsx("ellipse", {
3480
- cx: shape.cx,
3481
- cy: shape.cy,
3482
- rx: shape.rx,
3483
- ry: shape.ry,
3484
- style,
3485
- transform
3486
- }, key);
3487
- case "circle": return /* @__PURE__ */ jsx("circle", {
3488
- cx: shape.cx,
3489
- cy: shape.cy,
3490
- r: shape.r,
3491
- style,
3492
- transform
3493
- }, key);
3494
- case "rect": return /* @__PURE__ */ jsx("rect", {
3495
- x: shape.x,
3496
- y: shape.y,
3497
- width: shape.width,
3498
- height: shape.height,
3499
- rx: shape.rx,
3500
- ry: shape.ry,
3501
- style,
3502
- transform
3503
- }, key);
3504
- case "line": return /* @__PURE__ */ jsx("line", {
3505
- x1: shape.x1,
3506
- y1: shape.y1,
3507
- x2: shape.x2,
3508
- y2: shape.y2,
3509
- style,
3510
- transform
3511
- }, key);
3512
- default: return null;
3513
- }
3514
- }
3515
- const SvgNode = ({ blockId: _blockId, blockKind: _blockKind, blockContent: _blockContent, fragmentRegistry: _fragmentRegistry, pathBase: _pathBase, viewBox, width, height, className, style, ariaHidden = true, shapes }) => {
3516
- return /* @__PURE__ */ jsx("svg", {
3517
- viewBox,
3518
- width,
3519
- height,
3520
- className,
3521
- style,
3522
- "aria-hidden": ariaHidden,
3523
- xmlns: "http://www.w3.org/2000/svg",
3524
- fill: "none",
3525
- children: (Array.isArray(shapes) ? shapes : []).map((shape, index) => renderShape(shape, index))
3526
- });
3527
- };
3528
- //#endregion
3529
3804
  //#region ../blocks/src/system/runtime/nodes/appointment-services.tsx
3530
3805
  const publicVenueSchema = z.object({
3531
3806
  name: z.string(),
@@ -5132,7 +5407,11 @@ function EventVenueFact({ venue }) {
5132
5407
  venue.address ? /* @__PURE__ */ jsx("p", {
5133
5408
  className: "rb-caption",
5134
5409
  children: venue.address
5135
- }) : null
5410
+ }) : null,
5411
+ /* @__PURE__ */ jsx(LocationMapActions, {
5412
+ location: venue.location,
5413
+ addressText: venue.address
5414
+ })
5136
5415
  ]
5137
5416
  }) : null;
5138
5417
  }
@@ -5271,11 +5550,11 @@ function acceptedProductNames(props) {
5271
5550
  const memberships = props.showAcceptedMemberships !== false ? (props.applicableMemberships ?? []).map(({ name }) => name) : [];
5272
5551
  return [...passes, ...memberships];
5273
5552
  }
5274
- function EventVenueMap({ venue, showMap, mapHeight, mapClassName, renderVenueMap }) {
5275
- if (!showMap || !renderVenueMap || !venue?.location) return null;
5276
- return renderVenueMap({
5277
- venueName: venue.name,
5278
- location: venue.location,
5553
+ function EventVenueMap({ venue, showMap, mapHeight, mapClassName }) {
5554
+ if (!showMap || !venue?.drawing) return null;
5555
+ return /* @__PURE__ */ jsx(MapDrawingSvg, {
5556
+ drawing: venue.drawing,
5557
+ label: venue.name,
5279
5558
  className: mapClassName,
5280
5559
  height: mapHeight
5281
5560
  });
@@ -5294,7 +5573,7 @@ function selectedEventPricing(event, showCost) {
5294
5573
  };
5295
5574
  }
5296
5575
  function SelectedEventDetailsView(props) {
5297
- const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, renderVenueMap, acceptedItems } = props;
5576
+ const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, acceptedItems } = props;
5298
5577
  const selected = selection.selected;
5299
5578
  const venue = showVenue ? selected.venue : void 0;
5300
5579
  const pricing = selectedEventPricing(selected, props.showCost);
@@ -5325,8 +5604,7 @@ function SelectedEventDetailsView(props) {
5325
5604
  venue,
5326
5605
  showMap,
5327
5606
  mapHeight,
5328
- mapClassName,
5329
- renderVenueMap
5607
+ mapClassName
5330
5608
  })]
5331
5609
  }),
5332
5610
  showOtherDates ? /* @__PURE__ */ jsx(OtherEventDates, { selection }) : null
@@ -5351,7 +5629,6 @@ function LegacyEventDetailsView(props) {
5351
5629
  autoApplyDiscount: props.autoApplyDiscount ?? null,
5352
5630
  mapHeight: props.mapHeight ?? 200,
5353
5631
  mapClassName: props.mapClassName ?? "event-details-map",
5354
- renderVenueMap: props.renderVenueMap,
5355
5632
  acceptedItems: acceptedProductNames(props)
5356
5633
  });
5357
5634
  }
@@ -5391,22 +5668,6 @@ function EventDetailsView(props) {
5391
5668
  }
5392
5669
  //#endregion
5393
5670
  //#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
5394
- function ServerVenueMap({ venueName, className, height }) {
5395
- return /* @__PURE__ */ jsx("div", {
5396
- className: "event-details-map-wrap rb-w-full rb-ml-auto",
5397
- children: /* @__PURE__ */ jsx("div", {
5398
- className,
5399
- style: {
5400
- height: height ?? 200,
5401
- width: "100%",
5402
- borderRadius: "0.5rem",
5403
- overflow: "hidden",
5404
- backgroundColor: "rgb(var(--tb-surface))"
5405
- },
5406
- "aria-label": `Map showing ${venueName}`
5407
- })
5408
- });
5409
- }
5410
5671
  function EventDetailsHydration({ props, presentation, scopedEvents, subject, nowIso }) {
5411
5672
  return /* @__PURE__ */ jsx(IslandPropsScript, { value: {
5412
5673
  ...props.arrangement ? {
@@ -5466,105 +5727,41 @@ function EventDetailsSSR(props) {
5466
5727
  }),
5467
5728
  /* @__PURE__ */ jsx(EventDetailsView, {
5468
5729
  ...presentation,
5469
- mapClassName: "venue-map event-details-map",
5470
- renderVenueMap: ServerVenueMap
5730
+ mapClassName: "venue-map event-details-map"
5471
5731
  }),
5472
5732
  children
5473
5733
  ]
5474
5734
  });
5475
5735
  }
5476
5736
  //#endregion
5477
- //#region ../blocks/src/system/runtime/nodes/location-map.view.tsx
5478
- function OpeningHoursTable({ hours }) {
5479
- if (!hours) return null;
5480
- return /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("table", { children: [/* @__PURE__ */ jsx("caption", { children: "Opening hours" }), /* @__PURE__ */ jsx("tbody", { children: formatOpeningHoursRows(hours).map((row) => /* @__PURE__ */ jsxs("tr", {
5481
- "data-closed": row.kind === "closed" ? true : void 0,
5482
- children: [/* @__PURE__ */ jsx("th", {
5483
- scope: "row",
5484
- children: row.label
5485
- }), /* @__PURE__ */ jsx("td", { children: row.hours })]
5486
- }, row.label)) })] }), hours.note ? /* @__PURE__ */ jsx("p", { children: hours.note }) : null] });
5487
- }
5488
- function LocationMapDirections({ url, label }) {
5489
- return url ? /* @__PURE__ */ jsx(ThemedButtonLink, {
5490
- href: url,
5491
- target: "_blank",
5492
- rel: "noreferrer",
5493
- variant: "ghost",
5494
- size: "sm",
5495
- extraClassName: "rb-w-fit",
5496
- label
5497
- }) : null;
5498
- }
5499
- function LocationMapView(props) {
5500
- const { addressText, location, renderMap, zoom, heightPx, showAddressText, directionsLabel } = props;
5501
- const directionsUrl = props.showDirections ? buildGoogleMapsDirectionsUrl({
5502
- addressText,
5503
- location
5504
- }) : null;
5505
- const hours = props.showOpeningHours === false ? null : props.openingHours ?? null;
5506
- if (![
5507
- location,
5508
- addressText,
5509
- directionsUrl,
5510
- hours
5511
- ].some(Boolean)) return /* @__PURE__ */ jsx("p", {
5512
- className: "rb-caption",
5513
- style: textColorStyle("mutedText"),
5514
- children: props.unresolvedMessage ?? "Location details coming soon."
5515
- });
5516
- return /* @__PURE__ */ jsxs("div", {
5517
- className: "rb-flex rb-flex-col rb-gap-4 rb-text-left",
5518
- children: [
5519
- location && renderMap ? renderMap({
5520
- addressText,
5521
- location,
5522
- className: "rb-location-map-canvas",
5523
- height: heightPx,
5524
- zoom
5525
- }) : null,
5526
- showAddressText && addressText ? /* @__PURE__ */ jsx("p", {
5527
- className: "rb-caption",
5528
- style: textColorStyle("mutedText"),
5529
- children: addressText
5530
- }) : null,
5531
- /* @__PURE__ */ jsx(OpeningHoursTable, { hours }),
5532
- /* @__PURE__ */ jsx(LocationMapDirections, {
5533
- url: directionsUrl,
5534
- label: directionsLabel
5535
- })
5536
- ]
5537
- });
5538
- }
5539
- //#endregion
5540
5737
  //#region ../blocks/src/system/runtime/nodes/location-map.server.tsx
5738
+ const lookPresentationSchema = z.object({
5739
+ lookSlots: lookListPresentationSchemaShape.lookSlots,
5740
+ itemSurfaces: lookListPresentationSchemaShape.itemSurfaces
5741
+ });
5541
5742
  function LocationMapSSR(props) {
5542
5743
  const normalized = normalizeLocationMapProps(props);
5543
- const hydrationProps = toLocationMapHydrationProps(props);
5744
+ if (normalized.resolvedLocation.kind === "unresolved") return null;
5544
5745
  return /* @__PURE__ */ jsxs("div", {
5545
5746
  className: `location-map ${normalized.className ?? ""}`.trim(),
5546
5747
  "data-block": "location-map",
5547
- ...getIslandRootProps("location-map", props.blockId),
5548
- children: [
5549
- /* @__PURE__ */ jsx(IslandPropsScript, { value: hydrationProps }),
5550
- /* @__PURE__ */ jsx(LocationMapView, {
5551
- ...normalized,
5552
- renderMap: ({ addressText, className, height }) => /* @__PURE__ */ jsx("div", {
5553
- className,
5554
- style: {
5555
- height,
5556
- width: "100%",
5557
- borderRadius: "0.75rem",
5558
- overflow: "hidden",
5559
- backgroundColor: "rgb(var(--tb-surface))"
5560
- },
5561
- "aria-label": addressText ? `Map showing ${addressText}` : "Map showing business location"
5562
- })
5563
- }),
5564
- props.children
5565
- ]
5748
+ style: props.mapStyle ?? void 0,
5749
+ children: [/* @__PURE__ */ jsx(LocationMapView, {
5750
+ ...normalized,
5751
+ showMap: props.showMap !== false,
5752
+ lookLayout: props.lookSlots != null,
5753
+ detailsSlot: lookDetailsSlot(props)
5754
+ }), props.children]
5566
5755
  });
5567
5756
  }
5757
+ /** Legacy and automatic-Look markup carries no slot; Look-only layouts mark the details as the panel. */
5758
+ function lookDetailsSlot(props) {
5759
+ const presentation = lookPresentationSchema.safeParse({
5760
+ lookSlots: props.lookSlots ?? void 0,
5761
+ itemSurfaces: props.itemSurfaces ?? void 0
5762
+ });
5763
+ return presentation.success ? listLookSlot(presentation.data, "panel") : {};
5764
+ }
5568
5765
  //#endregion
5569
5766
  //#region ../blocks/src/system/runtime/nodes/events/EventSpotlight.tsx
5570
5767
  /**
@@ -10971,7 +11168,7 @@ function prepareBlockRender(input) {
10971
11168
  resolvedThemeConfig: resolveThemeConfigForBindings(input.themeConfig),
10972
11169
  viewModelOverrides: input.viewModelOverrides
10973
11170
  }),
10974
- themeForTransforms: withButtonSystem(input.theme, input.themeConfig),
11171
+ themeForTransforms: withThemeRuntimeFacts(input.theme, input.themeConfig),
10975
11172
  proseHoverCandidate: parseThemeColorToken(input.themeConfig?.typography.proseLinkStyle?.hoverColorToken) ?? void 0
10976
11173
  };
10977
11174
  }
@@ -10991,11 +11188,13 @@ function buildBlockViewModel(input) {
10991
11188
  }
10992
11189
  };
10993
11190
  }
10994
- function withButtonSystem(theme, themeConfig) {
11191
+ /** The theme facts transforms decide from: button system, and the arrangement skin map tokens follow. */
11192
+ function withThemeRuntimeFacts(theme, themeConfig) {
10995
11193
  if (!themeConfig) return theme;
10996
11194
  return {
10997
11195
  ...theme,
10998
- buttons: themeConfig.buttons ?? generateDefaultButtonSystem(themeConfig)
11196
+ buttons: themeConfig.buttons ?? generateDefaultButtonSystem(themeConfig),
11197
+ ...themeConfig.skin === void 0 ? {} : { skin: themeConfig.skin }
10999
11198
  };
11000
11199
  }
11001
11200
  function beginBlockRenderMeasurement() {
@@ -11089,6 +11288,56 @@ function runtimeDateContext(viewModel) {
11089
11288
  return resolveDateRuntimeContext(typeof root.bookingTimeZone === "string" ? root.bookingTimeZone : void 0);
11090
11289
  }
11091
11290
  //#endregion
11291
+ //#region ../blocks/src/pageRenderAudience.tsx
11292
+ /**
11293
+ * The single policy for what a non-renderable block looks like.
11294
+ *
11295
+ * Public visitors never see renderer diagnostics, so every reason omits.
11296
+ * Authoring surfaces keep the wording they have always had — the strings below
11297
+ * are moved verbatim from the five former `fallback()` call sites.
11298
+ */
11299
+ function presentNotRenderableBlock(reason, audience) {
11300
+ if (audience === "public") return null;
11301
+ if (reason.kind === "hidden-business-location" && reason.businessDetailsHref) return diagnostic(/* @__PURE__ */ jsxs(Fragment, { children: [
11302
+ authoringMessage(reason),
11303
+ " ",
11304
+ /* @__PURE__ */ jsx("a", {
11305
+ href: reason.businessDetailsHref,
11306
+ children: "Open Business details"
11307
+ })
11308
+ ] }));
11309
+ return diagnostic(authoringMessage(reason));
11310
+ }
11311
+ function authoringMessage(reason) {
11312
+ switch (reason.kind) {
11313
+ case "invalid-admission": return `Invalid content for block kind "${reason.blockKind}".`;
11314
+ 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}".`;
11315
+ 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}".`;
11316
+ case "hidden-business-location": return "This map is hidden because your business address is hidden.";
11317
+ case "unresolved-location":
11318
+ if (reason.source === "business_address") return "Business address details are not configured yet.";
11319
+ 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.";
11320
+ case "editor-unpreviewable":
11321
+ case "render-threw": return `Unable to render block kind "${reason.blockKind}".`;
11322
+ }
11323
+ }
11324
+ /**
11325
+ * The empty-page notice. Authoring-only for the same reason as the block
11326
+ * diagnostics: "No blocks found." is a message for whoever is building the
11327
+ * page, not for whoever is reading it.
11328
+ */
11329
+ function presentEmptyPage(audience) {
11330
+ if (audience === "public") return null;
11331
+ return diagnostic("No blocks found.");
11332
+ }
11333
+ function diagnostic(message) {
11334
+ return /* @__PURE__ */ jsx("div", {
11335
+ className: "rb-p-6 rb-caption",
11336
+ style: textColorStyle("mutedText"),
11337
+ children: message
11338
+ });
11339
+ }
11340
+ //#endregion
11092
11341
  //#region ../blocks/src/pageRenderingMode.ts
11093
11342
  var MissingBlockOverrideError$1 = class extends Error {
11094
11343
  constructor(blockKind) {
@@ -11213,27 +11462,33 @@ function pageBlockPosition(index, blockCount) {
11213
11462
  //#endregion
11214
11463
  //#region ../blocks/src/pageRendererContracts.ts
11215
11464
  function buildPageRendererRootRuntime(dataContext) {
11216
- 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 ?? {};
11465
+ const { siteId = null, siteName, pageId = null, pathname = null, previewStage = "published", apiBaseUrl = null, portalToken = null, readAuthority, openingHours, siteTerms, mailingList = { tag: "not_configured" }, loaderFailures = {} } = dataContext ?? {};
11217
11466
  return {
11218
11467
  siteId,
11219
11468
  demoEmailSuppressed: resolveDemoEmailSuppression(dataContext),
11220
11469
  siteName,
11470
+ site: publicLocationRuntime(dataContext),
11221
11471
  pageId,
11222
11472
  pathname,
11223
- bookingTimeZone,
11473
+ ...pageBookingRuntime(dataContext),
11224
11474
  ...pageRuntimeContext(dataContext),
11225
11475
  previewStage,
11226
11476
  apiBaseUrl,
11227
11477
  portalToken,
11228
11478
  readAuthority,
11229
- bookingOfferingPresets,
11230
- appointmentServicePathPrefix,
11231
11479
  openingHours,
11232
11480
  siteTerms,
11233
11481
  mailingList,
11234
11482
  loaderFailures
11235
11483
  };
11236
11484
  }
11485
+ function publicLocationRuntime(context) {
11486
+ return {
11487
+ businessAddress: context?.businessLocation ?? null,
11488
+ venuesById: context?.venuesById ?? {},
11489
+ siteCountry: context?.siteCountry ?? null
11490
+ };
11491
+ }
11237
11492
  function resolveDemoEmailSuppression(dataContext) {
11238
11493
  return dataContext?.demoEmailSuppressed === true;
11239
11494
  }
@@ -11247,43 +11502,14 @@ function pageRuntimeContext(dataContext) {
11247
11502
  function pageDateRuntimeContext(dataContext) {
11248
11503
  return dataContext?.dateContext ?? resolveDateRuntimeContext(dataContext?.bookingTimeZone);
11249
11504
  }
11250
- //#endregion
11251
- //#region ../blocks/src/pageRenderAudience.tsx
11252
- /**
11253
- * The single policy for what a non-renderable block looks like.
11254
- *
11255
- * Public visitors never see renderer diagnostics, so every reason omits.
11256
- * Authoring surfaces keep the wording they have always had — the strings below
11257
- * are moved verbatim from the five former `fallback()` call sites.
11258
- */
11259
- function presentNotRenderableBlock(reason, audience) {
11260
- if (audience === "public") return null;
11261
- return diagnostic(authoringMessage(reason));
11262
- }
11263
- function authoringMessage(reason) {
11264
- switch (reason.kind) {
11265
- case "invalid-admission": return `Invalid content for block kind "${reason.blockKind}".`;
11266
- 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}".`;
11267
- 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}".`;
11268
- case "editor-unpreviewable":
11269
- case "render-threw": return `Unable to render block kind "${reason.blockKind}".`;
11270
- }
11271
- }
11272
- /**
11273
- * The empty-page notice. Authoring-only for the same reason as the block
11274
- * diagnostics: "No blocks found." is a message for whoever is building the
11275
- * page, not for whoever is reading it.
11276
- */
11277
- function presentEmptyPage(audience) {
11278
- if (audience === "public") return null;
11279
- return diagnostic("No blocks found.");
11280
- }
11281
- function diagnostic(message) {
11282
- return /* @__PURE__ */ jsx("div", {
11283
- className: "rb-p-6 rb-caption",
11284
- style: textColorStyle("mutedText"),
11285
- children: message
11286
- });
11505
+ /** Booking context keeps its defaults together across SSR and authoring. */
11506
+ function pageBookingRuntime(context) {
11507
+ const { bookingTimeZone, bookingOfferingPresets = [], appointmentServicePathPrefix = null } = context ?? {};
11508
+ return {
11509
+ bookingTimeZone,
11510
+ bookingOfferingPresets,
11511
+ appointmentServicePathPrefix
11512
+ };
11287
11513
  }
11288
11514
  //#endregion
11289
11515
  //#region ../blocks/src/pageRenderDiagnostics.ts
@@ -11591,15 +11817,44 @@ function preparePageRender(input) {
11591
11817
  mailingList: input.dataContext?.mailingList,
11592
11818
  template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
11593
11819
  });
11594
- const entries = input.plan.entries.filter((entry) => input.audience === "authoring" || !entryNeedsSetup(entry, facts)).map((entry) => preparedPlanEntry(entry, prepareEntry(entry, input)));
11595
- const constructionFailures = entries.filter(({ prepared }) => prepared.kind === "render-threw").map(({ entry }) => entry);
11596
- const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw");
11820
+ const permission = input.dataContext?.businessLocationPermission ?? decideLocationSourcePermission("business_address", input.dataContext?.businessAddressVisibility);
11821
+ 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)));
11822
+ const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
11823
+ const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location");
11597
11824
  return {
11598
11825
  entries: survivors,
11599
11826
  constructionFailures,
11600
11827
  joins: composeSurvivorJoins(input.plan, survivors, input.themeResources)
11601
11828
  };
11602
11829
  }
11830
+ /** Source availability is decided before constructing the block or its hydration props. */
11831
+ function prepareSourceEntry(entry, input, permission) {
11832
+ if (!isPublicSourcePermitted(entry, permission)) return {
11833
+ kind: "hidden-business-location",
11834
+ businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
11835
+ };
11836
+ if (entry.block.kind === "block.location-map") {
11837
+ const content = entry.renderableContent;
11838
+ const resolved = resolveLocationMapLocation({
11839
+ location: content.location,
11840
+ locationSource: typeof content.locationSource === "string" ? content.locationSource : null,
11841
+ venueId: typeof content.venueId === "string" ? content.venueId : null,
11842
+ businessAddress: input.dataContext?.businessLocation,
11843
+ venuesById: input.dataContext?.venuesById
11844
+ });
11845
+ if (resolved.kind === "unresolved") return {
11846
+ kind: "unresolved-location",
11847
+ source: resolved.source
11848
+ };
11849
+ }
11850
+ return prepareEntry(entry, input);
11851
+ }
11852
+ /** No source data, override component or wrapper is touched for a hidden map. */
11853
+ function isPublicSourcePermitted(entry, permission) {
11854
+ if (entry.block.kind !== "block.location-map") return true;
11855
+ const rawSource = entry.renderableContent.locationSource;
11856
+ return normalizeLocationMapSource(typeof rawSource === "string" ? rawSource : null) !== "business_address" || permission.kind === "permitted";
11857
+ }
11603
11858
  /**
11604
11859
  * The only place joins are composed. Plan-time omissions were already
11605
11860
  * re-pointed by the plan; construction failures are re-pointed here by the
@@ -12188,6 +12443,64 @@ function renderSystemBlockElement(input) {
12188
12443
  previewAuthoring: input.previewAuthoring
12189
12444
  });
12190
12445
  }
12446
+ /** Pure diagnostic choice; the audience owner controls its presentation. */
12447
+ function preparationDiagnostic(prepared, blockKind) {
12448
+ switch (prepared.kind) {
12449
+ case "hidden-business-location": return {
12450
+ reason: {
12451
+ kind: prepared.kind,
12452
+ blockKind,
12453
+ businessDetailsHref: prepared.businessDetailsHref
12454
+ },
12455
+ outcome: "invalidPlaceholder"
12456
+ };
12457
+ case "unresolved-location": return {
12458
+ reason: {
12459
+ kind: prepared.kind,
12460
+ blockKind,
12461
+ source: prepared.source
12462
+ },
12463
+ outcome: "invalidPlaceholder"
12464
+ };
12465
+ case "editor-unpreviewable": return {
12466
+ reason: {
12467
+ kind: prepared.kind,
12468
+ blockKind
12469
+ },
12470
+ outcome: "invalidPlaceholder"
12471
+ };
12472
+ case "render-threw": return {
12473
+ reason: {
12474
+ kind: prepared.kind,
12475
+ blockKind
12476
+ },
12477
+ outcome: "exception"
12478
+ };
12479
+ case "content":
12480
+ case "plan-decided": return null;
12481
+ }
12482
+ }
12483
+ function blockRenderPerformanceMeta(meta) {
12484
+ return {
12485
+ outcome: meta?.outcome ?? "ok",
12486
+ override: meta?.override ?? false,
12487
+ hasResolvedData: meta?.hasResolvedData ?? false
12488
+ };
12489
+ }
12490
+ function finishBlockRender(node, block, perfStart, meta) {
12491
+ if (!perfStart) return node;
12492
+ const durationMs = Date.now() - perfStart;
12493
+ if (durationMs < getPerfSlowBlockRenderThresholdMs()) return node;
12494
+ try {
12495
+ console.debug("perf.blocks.blockRender", {
12496
+ blockId: block.id ?? null,
12497
+ blockKind: block.kind,
12498
+ durationMs,
12499
+ ...blockRenderPerformanceMeta(meta)
12500
+ });
12501
+ } catch {}
12502
+ return node;
12503
+ }
12191
12504
  /**
12192
12505
  * Memoized block section component.
12193
12506
  *
@@ -12200,22 +12513,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
12200
12513
  const block = entry.block;
12201
12514
  const perfStart = globalThis.process?.env?.DEBUG_PERF === "1" && typeof window === "undefined" ? Date.now() : 0;
12202
12515
  const resolvedImageResolveContext = imageResolveContext ?? getCurrentResolveImageUrlContext();
12203
- function finish(node, meta) {
12204
- if (!perfStart) return node;
12205
- const durationMs = Date.now() - perfStart;
12206
- if (durationMs < getPerfSlowBlockRenderThresholdMs()) return node;
12207
- try {
12208
- console.debug("perf.blocks.blockRender", {
12209
- blockId: block.id ?? null,
12210
- blockKind: block.kind,
12211
- durationMs,
12212
- outcome: meta?.outcome ?? "ok",
12213
- override: meta?.override ?? false,
12214
- hasResolvedData: meta?.hasResolvedData ?? false
12215
- });
12216
- } catch {}
12217
- return node;
12218
- }
12516
+ const finish = (node, meta) => finishBlockRender(node, block, perfStart, meta);
12219
12517
  function wrapped(node) {
12220
12518
  return wrapBlock && block.id ? /* @__PURE__ */ jsx(Fragment, { children: wrapBlock(block.id, node) }) : /* @__PURE__ */ jsx(Fragment, { children: node });
12221
12519
  }
@@ -12231,6 +12529,11 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
12231
12529
  override: false
12232
12530
  });
12233
12531
  }
12532
+ const diagnostic = preparationDiagnostic(prepared, block.kind);
12533
+ if (diagnostic) return finish(wrapped(presentNotRenderableBlock(diagnostic.reason, audience)), {
12534
+ outcome: diagnostic.outcome,
12535
+ override: false
12536
+ });
12234
12537
  if (entry.kind === "override-only") {
12235
12538
  const OverrideOnlyComponent = entry.override;
12236
12539
  return finish(wrapped(/* @__PURE__ */ jsx(OverrideOnlyComponent, { ...buildBlockOverrideProps({
@@ -12247,20 +12550,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
12247
12550
  hasResolvedData: false
12248
12551
  });
12249
12552
  }
12250
- if (prepared.kind === "editor-unpreviewable") return finish(wrapped(presentNotRenderableBlock({
12251
- kind: "editor-unpreviewable",
12252
- blockKind: block.kind
12253
- }, audience)), {
12254
- outcome: "invalidPlaceholder",
12255
- override: false
12256
- });
12257
- if (prepared.kind !== "content") return finish(wrapped(presentNotRenderableBlock({
12258
- kind: "render-threw",
12259
- blockKind: block.kind
12260
- }, audience)), {
12261
- outcome: "exception",
12262
- override: false
12263
- });
12553
+ if (prepared.kind !== "content") return null;
12264
12554
  let rendered;
12265
12555
  if (OverrideComponent) rendered = /* @__PURE__ */ jsx(OverrideComponent, { ...prepared.baseProps });
12266
12556
  else {
@@ -12534,6 +12824,11 @@ function buildPageIdentityRenderContext(dataContext) {
12534
12824
  demoEmailSuppressed: dataContext.demoEmailSuppressed,
12535
12825
  now: dataContext.now,
12536
12826
  siteName: dataContext.siteName,
12827
+ businessLocationPermission: dataContext.businessLocationPermission,
12828
+ businessAddressVisibility: dataContext.businessAddressVisibility,
12829
+ businessLocation: dataContext.businessLocation,
12830
+ venuesById: dataContext.venuesById,
12831
+ siteCountry: dataContext.siteCountry,
12537
12832
  pathname: dataContext.pathname
12538
12833
  };
12539
12834
  }