@riverbankcms/sdk 0.175.0 → 0.177.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 (194) hide show
  1. package/README.md +12 -4
  2. package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-sYraeqm9.d.ts} +1 -1
  3. package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-Bp7hTDTy.d.ts} +8 -16
  4. package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-CxkCCyKw.d.ts} +2 -2
  5. package/dist/_dts/{client-B6tCvmG4.d.ts → client-K6UhbL3t.d.ts} +1 -1
  6. package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-BLAdIMyr.d.ts} +4 -8
  7. package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-BG7yTZ6t.d.ts} +8 -8
  8. package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DwMHeYmQ.d.ts} +85 -8
  9. package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-X_WpGzZZ.d.ts} +2 -2
  10. package/dist/_dts/{index-CQUzwOxO.d.ts → index--n-wV8Xd.d.ts} +1 -1
  11. package/dist/_dts/{index-OtazQE3U.d.ts → index-BLseXObg.d.ts} +2 -2
  12. package/dist/_dts/{index-Bl5_pjmq.d.ts → index-BMGif2r3.d.ts} +1 -1
  13. package/dist/_dts/{index-DmhFb6R1.d.ts → index-BpAW9AKB.d.ts} +1 -1
  14. package/dist/_dts/{index-_pXaCO12.d.ts → index-Bygd2RCg.d.ts} +4 -4
  15. package/dist/_dts/{index-Btp5nIoz.d.ts → index-CBRbZJ6u.d.ts} +2 -15
  16. package/dist/_dts/{index-YRQulWB4.d.ts → index-CX9bp60k.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-uhUThWaq.d.ts} +7 -7
  18. package/dist/_dts/{request-BT8i_vH-.d.ts → request-Bf9YImJw.d.ts} +54398 -54148
  19. package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-D6M5NMZB.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-DkzWvFbG.d.ts} +2 -2
  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/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +5 -177
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-OKzbqRBx.d.ts → types-BdZ5pJSk.d.ts} +20 -3
  56. package/dist/_dts/{types-C0XZnjXz.d.ts → types-C1l2Sm2h.d.ts} +5 -5
  57. package/dist/_dts/{types-CXL1QJSY.d.ts → types-DgV8P2mz.d.ts} +7 -7
  58. package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-BtbZIT5f.d.ts} +7 -6
  59. package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
  61. package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
  62. package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
  63. package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
  64. package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
  65. package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
  66. package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
  67. package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
  68. package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
  69. package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
  70. package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
  71. package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
  72. package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
  73. package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
  74. package/dist/client/{Page-CWN_8cLZ.mjs → Page-C03rc6jw.mjs} +339 -269
  75. package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
  76. package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
  77. package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
  78. package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
  79. package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
  80. package/dist/client/bookings.mjs +5 -5
  81. package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
  82. package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
  83. package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
  84. package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
  85. package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
  86. package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
  88. package/dist/client/client.mjs +70 -10
  89. package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
  90. package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
  91. package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
  93. package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
  94. package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
  95. package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
  96. package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
  97. package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
  98. package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
  99. package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
  100. package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
  101. package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
  102. package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
  103. package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
  104. package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
  105. package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
  106. package/dist/client/gifting/client.mjs +4 -4
  107. package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
  108. package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
  109. package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
  110. package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
  111. package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
  112. package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
  113. package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
  114. package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
  115. package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
  116. package/dist/client/portal/client.mjs +47 -26
  117. package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
  118. package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
  119. package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
  120. package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
  121. package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
  122. package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
  123. package/dist/client/rendering/client.mjs +23 -23
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +87 -22
  126. package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
  128. package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
  129. package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
  130. package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
  131. package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
  132. package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
  133. package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
  134. package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
  135. package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
  136. package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
  137. package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
  138. package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
  139. package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
  140. package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
  141. package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
  142. package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
  143. package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-D6-jojqh.mjs} +52 -8
  144. package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-BUVFKZ4k.mjs} +57 -61
  145. package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-292pOiSt.mjs} +10 -10
  146. package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-CW0Yzj3h.mjs} +9 -8
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-Dba7zoZK.mjs} +87 -48
  148. package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
  149. package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-B-utyhbS.mjs} +506 -282
  150. package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-CCoGydUD.mjs} +1 -1
  151. package/dist/preview-next/client/runtime.mjs +3 -3
  152. package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-DCpXVcA0.mjs} +2 -2
  153. package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-sjOvRAHY.mjs} +27 -17
  154. package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-R1rZ9-IZ.mjs} +3 -30
  155. package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-BS7CANPv.mjs} +17 -3
  156. package/dist/preview-next/container-responsive.css +3 -0
  157. package/dist/preview-next/editor-chrome.css +4 -2
  158. package/dist/preview-next/keepAlive.mjs +1 -1
  159. package/dist/preview-next/middleware.mjs +1 -1
  160. package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BSSbtz6A.mjs} +24 -3
  161. package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Dc3DX7Cf.mjs} +84 -16
  162. package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
  163. package/dist/server/{client-CgghATBm.mjs → client-BPLLL22F.mjs} +69 -10
  164. package/dist/server/config-validation.mjs +1 -1
  165. package/dist/server/config.mjs +2 -2
  166. package/dist/server/data/resolveBlockData.mjs +1 -1
  167. package/dist/server/index.mjs +2 -2
  168. package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
  169. package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
  170. package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
  171. package/dist/server/next/revalidate.mjs +15 -8
  172. package/dist/server/next.mjs +6 -6
  173. package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-CkpwAHvW.mjs} +1 -1
  174. package/dist/server/page-converter.mjs +1 -1
  175. package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
  176. package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
  177. package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-6z6JBU41.mjs} +121 -67
  178. package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-B4_Llisx.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
  181. package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
  182. package/dist/server/rendering/components/pageShared.mjs +1 -1
  183. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  184. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  185. package/dist/server/rendering/server.mjs +4 -4
  186. package/dist/server/rendering.mjs +7 -7
  187. package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
  188. package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
  189. package/dist/server/server.mjs +3 -3
  190. package/dist/server/{validation-3puM5SM8.mjs → validation-BvHio6QI.mjs} +4 -6
  191. package/dist/server/{version-B8g-Wx57.mjs → version-SuFlio6n.mjs} +1 -1
  192. package/dist/styles/index.css +8 -1
  193. package/package.json +1 -1
  194. package/dist/server/identity-DQD_8lNO.mjs +0 -6
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import { An as sameMailingListPlacementTargeting, Cn as planSiteChromePlacement, Ct as recurringScheduleProjectionSchema, Dn as parseMailingListPlacementTargeting, G as groupOfferingRunsByCourse, Gt as cardListPresentationSchemaShape, K as isOfferingsPreviewSourceKey, Sn as parseHeaderPositioning, St as projectRecurringSchedule, Tn as buildMailingListSignupBlockSourceRef, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, V as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, X as offeringsListingFor, Xt as quickFactSlots, Z as readOfferingsGrouping, bn as resolveHeaderChromeRuntimeContract, en as buildEventListWeek, jn as parseContentVersionId, lt as occurrenceContextSchema, q as normalizeOfferingsPreviewContentForWrite, un as formatEventStartingPrice, wt as combinedLookSchema, yn as isHeaderScrollRuntimeEnabled, z as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS } from "./shop.interactive-CJAINJr3.mjs";
2
+ import { An as sameMailingListPlacementTargeting, Cn as planSiteChromePlacement, Ct as recurringScheduleProjectionSchema, Dn as parseMailingListPlacementTargeting, G as groupOfferingRunsByCourse, Gt as cardListPresentationSchemaShape, K as isOfferingsPreviewSourceKey, Sn as parseHeaderPositioning, St as projectRecurringSchedule, Tn as buildMailingListSignupBlockSourceRef, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, V as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, X as offeringsListingFor, Xt as quickFactSlots, Z as readOfferingsGrouping, bn as resolveHeaderChromeRuntimeContract, en as buildEventListWeek, jn as parseContentVersionId, lt as occurrenceContextSchema, q as normalizeOfferingsPreviewContentForWrite, un as formatEventStartingPrice, wt as combinedLookSchema, yn as isHeaderScrollRuntimeEnabled, z as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS } from "./shop.interactive-CxDJ8P2r.mjs";
3
3
  import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { Aa as isBlockButtonRole, Br as createAspectRatioField, Co as resolveLookMediaFrame, Do as isRecord$8, Dr as computeMediaTransformStyle, Er as MediaPlaceholder, Gr as createTransformRegistry, Hr as SECTION_STATE_KINDS, Ir as resolveArrangementKnobs, Ka as normalizeEventRegistrationPageSurfaceSubject, Kr as runTransforms, Lr as systemCustomizeFacetDefinitionsForBlock, Ma as resolveDateRuntimeContext, Qr as eventCalendarWeekStart, Rr as createImageShapeField, So as generateLookMediaFrameCss, Ur as sectionStateToneFromKind, Vr as uiTransforms, Wr as asPartialObject, Xo as formatBookingPriceDisplay, Xr as plainTextToInlineText, Yr as parseInlineTextFromUnknown, ja as readRuntimeNow, qr as inlineTextToPlainText, wo as parseBlockColorToken, zr as heroTitleSizeOptions } from "./display-DMqotaGU.mjs";
5
- import { Bt as parseLocationValue, C as eventCalendarListGroupingDecision, Et as calendarWindowQuerySchema, Gt as trimmedStringOrNull, H as tileTreatmentValues, Ht as publicLocationSchema, It as WHOLE_SERIES_EVENT_PRESET_VALUES, J as publicEventsArraySchema, K as publicEventPricingSchema, L as eventListTreatmentValues, Lt as decideLocationSourcePermission, Pt as isRecord$9, Rt as locationValueSchema, S as resolveCalendarReadProfile, V as isArrangementMode, Vt as projectPublicLocation, W as eventVenueDrawingSchema, Z as bookingConsentCarrierSchema, at as isRichTextDoc, dt as runtimeMediaSchema, f as eventAutoApplyDiscountPreviewSchema, fn as resolveBookingBusinessTimeZone, gn as toUtcIsoDateTimeString, j as resolveEventCalendarReadPlan, ln as getLocalScheduleDate, lt as mediaSchema, m as publicPassProductCollectionSchema, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, qt as formatDate, t as logger } from "./noop-DF8_EiFt.mjs";
4
+ import { Br as createAspectRatioField, Do as resolveLookMediaFrame, Dr as computeMediaTransformStyle, Eo as generateLookMediaFrameCss, Er as MediaPlaceholder, Fa as readRuntimeNow, Gr as createTransformRegistry, Hr as SECTION_STATE_KINDS, Ia as resolveDateRuntimeContext, Ir as resolveArrangementKnobs, Kr as runTransforms, Lr as systemCustomizeFacetDefinitionsForBlock, Oo as parseBlockColorToken, Pa as isBlockButtonRole, Rr as createImageShapeField, Ur as sectionStateToneFromKind, Vr as uiTransforms, Wr as asPartialObject, Xa as normalizeEventRegistrationPageSurfaceSubject, Xr as plainTextToInlineText, Yr as parseInlineTextFromUnknown, jo as isRecord$8, ni as eventCalendarWeekStart, qr as inlineTextToPlainText, ts as formatBookingPriceDisplay, zr as heroTitleSizeOptions } from "./display-4HYOb-AK.mjs";
5
+ import { Bt as projectPublicLocation, C as eventCalendarListGroupingDecision, Et as calendarWindowQuerySchema, H as tileTreatmentValues, It as WHOLE_SERIES_EVENT_PRESET_VALUES, J as publicEventsArraySchema, K as publicEventPricingSchema, Kt as formatDate, L as eventListTreatmentValues, Lt as locationValueSchema, Pt as isRecord$9, S as resolveCalendarReadProfile, V as isArrangementMode, Vt as publicLocationSchema, W as eventVenueDrawingSchema, Wt as trimmedStringOrNull, Z as bookingConsentCarrierSchema, at as isRichTextDoc, cn as getLocalScheduleDate, dn as resolveBookingBusinessTimeZone, dt as runtimeMediaSchema, f as eventAutoApplyDiscountPreviewSchema, hn as toUtcIsoDateTimeString, j as resolveEventCalendarReadPlan, lt as mediaSchema, m as publicPassProductCollectionSchema, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, t as logger, zt as parseLocationValue } from "./noop-CaQxI-Js.mjs";
6
6
  import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
7
- import { $ as backgroundFrame, $t as eventDiscoveryFilterKeys, A as mapDrawingStyleBinding, An as ICON_CONFIG, At as cardListKnobFields, B as normalizeMailingListBlockContent, Bn as linkSchema, Bt as parseFieldDefinitions, C as checkoutBlockDefinition, Cn as getAnchorClasses, Ct as repeat, D as shopBlockDefinition, Dn as ACCORDION_SPACING_MAP, Dt as text, E as productListBlockDefinition, En as ACCORDION_OPEN_ACCENT_THICKNESS, Et as stack, Fn as parseRepeaterGridInteger, Ft as parseBlockIconValue, G as withApiBindings, Gt as teamReadiness, H as formDataSchema, Ht as augmentManifest, In as resolveRepeaterGridColumnFieldId, It as createSdkSelectField, J as sectionHeaderLayoutNodes, Jt as eventReadinessLoaderKey, K as formCopyFragment, Kt as testimonialsReadiness, L as desktopOnlyDisplay, Ln as resolveRepeaterGridRowFieldId, Lt as createSiteOptionSelectField, M as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Mn as bindingSchema, Mt as cardListPresentationBindings, N as FEATURE_CARD_ICON_TREATMENTS, Nn as DEFAULT_MEDIA_FIELD_KINDS, Nt as cardListSectionActionFields, O as eventCalendarBlockDefinition, On as ACCORDION_TRIGGER_FONT_SCALE, Ot as videoEmbed, Pn as isAcceptedRepeaterGridSpan, Pt as normalizeCardListContent, Q as sectionContainer, Qt as eventWeekReadScope, R as mobileOnlyDisplay, Rn as resolveRepeaterGridSpanFieldId, Rt as normalizeSelectSource, S as giftingBlockDefinition, Sn as BACKGROUND_POSITION_PRESET_VALUES, St as props, T as productDetailBlockDefinition, Tn as createButtonVariantField, Tt as section, U as createBlockManifest, Ut as chosenString, V as formBlockDefinition, Vt as PUBLIC_DOWNLOAD_MEDIA_TYPES, W as formEmbedFragment, Wt as galleryReadiness, X as styledSection, Xt as eventReadinessQueryKeys, Y as resolveBackgroundColorValue, Yt as eventReadinessQuery, Z as styledContainer, Zt as eventReadinessResultSchema, _ as publicAppointmentLocationSchema, _n as eventDisplayFields, _t as headerSection, a as buildLoadedOfferingsPreviewListing, an as hiddenFromVisitors, at as lookLeadSlotTransform, b as newsletterSignupBlockDefinition, bn as containerStylesField, bt as link, cn as unavailableReadinessFact, ct as lookSlot, dn as normalizeLocationMapProps, dt as bookingForm, en as eventScopeLoaderParam, et as buildFragmentDataLoaders, fn as normalizeLocationMapSource, ft as button, g as formatAppointmentPrice, gn as emptyStateField, gt as form, h as formatAppointmentLocation, hn as columnsField, ht as fileDownload, in as admitReadinessFacts, it as lookCarouselRegionTransform, j as eventRegistrationBlockDefinition, jn as ICON_SIZE_PX, jt as cardListPhotoNumberFields, k as eventListingBlockDefinition, kn as ACCORDION_TRIGGER_LETTER_SPACING, kt as when, ln as LOCATION_MAP_DEFAULTS, lt as accordionList, m as formatAppointmentDuration, mn as cardStylingFields, mt as el, nn as eventScopeQueryKeys, nt as defineFragment, on as loadedReadinessFact, ot as lookQuoteLimitTransform, p as SectionNode, pn as resolveLocationMapLocation, pt as carousel, q as sectionHeaderFields, qt as blockChecksForEvents, rn as resolveEventScope, rt as cardListSectionAction, s as buildAppointmentServicesView, sn as pageTemplateFromEntry, st as lookSkinSlotTransform, t as serverComponentRegistry, tn as eventScopeQuery, tt as composeFragments, un as LOCATION_MAP_LIMITS, ut as bind, v as publicAppointmentPricingSchema, vn as layoutField, vt as icon, w as cartBlockDefinition, wn as createButtonGroup, wt as richText, x as sanitizeNewsletterSignupPublicContent, xn as sectionStylesField, xt as media, y as offeringCourseSlotParents, yn as cardStylesField, yt as inline, z as teamMemberCardBiographyFallback, zn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, zt as parseFieldDefinition } from "./registry.server-B1EEZkcr.mjs";
7
+ import { $ as backgroundFrame, $t as eventDiscoveryFilterKeys, A as mapDrawingStyleBinding, An as ACCORDION_SPACING_MAP, At as cardListKnobFields, B as normalizeMailingListBlockContent, Bn as resolveRepeaterGridRowFieldId, Bt as parseFieldDefinitions, C as checkoutBlockDefinition, Cn as containerStylesField, Ct as repeat, D as shopBlockDefinition, Dn as createButtonGroup, Dt as text, E as productListBlockDefinition, En as getAnchorClasses, Et as stack, Fn as bindingSchema, Ft as parseBlockIconValue, G as withApiBindings, Gn as publicMapLocationResultSchema, Gt as teamReadiness, H as formDataSchema, Hn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Ht as augmentManifest, In as DEFAULT_MEDIA_FIELD_KINDS, It as createSdkSelectField, J as sectionHeaderLayoutNodes, Jt as eventReadinessLoaderKey, K as formCopyFragment, Kt as testimonialsReadiness, L as desktopOnlyDisplay, Ln as isAcceptedRepeaterGridSpan, Lt as createSiteOptionSelectField, M as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Mn as ACCORDION_TRIGGER_LETTER_SPACING, Mt as cardListPresentationBindings, N as FEATURE_CARD_ICON_TREATMENTS, Nn as ICON_CONFIG, Nt as cardListSectionActionFields, O as eventCalendarBlockDefinition, On as createButtonVariantField, Ot as videoEmbed, Pn as ICON_SIZE_PX, Pt as normalizeCardListContent, Q as sectionContainer, Qt as eventWeekReadScope, R as mobileOnlyDisplay, Rn as parseRepeaterGridInteger, Rt as normalizeSelectSource, S as giftingBlockDefinition, Sn as cardStylesField, St as props, T as productDetailBlockDefinition, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as section, U as createBlockManifest, Un as linkSchema, Ut as chosenString, V as formBlockDefinition, Vn as resolveRepeaterGridSpanFieldId, Vt as PUBLIC_DOWNLOAD_MEDIA_TYPES, W as formEmbedFragment, Wt as galleryReadiness, X as styledSection, Xt as eventReadinessQueryKeys, Y as resolveBackgroundColorValue, Yt as eventReadinessQuery, Z as styledContainer, Zt as eventReadinessResultSchema, _ as publicAppointmentLocationSchema, _n as cardStylingFields, _t as headerSection, a as buildLoadedOfferingsPreviewListing, an as hiddenFromVisitors, at as lookLeadSlotTransform, b as newsletterSignupBlockDefinition, bn as eventDisplayFields, bt as link, cn as unavailableReadinessFact, ct as lookSlot, dn as LOCATION_MAP_LOADER_KEYS, dt as bookingForm, en as eventScopeLoaderParam, et as buildFragmentDataLoaders, fn as describeUnresolvedLocationMapLocation, ft as button, g as formatAppointmentPrice, gn as resolveLocationMapLocation, gt as form, h as formatAppointmentLocation, hn as parseLocationMapLoaderResult, ht as fileDownload, in as admitReadinessFacts, it as lookCarouselRegionTransform, j as eventRegistrationBlockDefinition, jn as ACCORDION_TRIGGER_FONT_SCALE, jt as cardListPhotoNumberFields, k as eventListingBlockDefinition, kn as ACCORDION_OPEN_ACCENT_THICKNESS, kt as when, ln as LOCATION_MAP_DEFAULTS, lt as accordionList, m as formatAppointmentDuration, mn as normalizeLocationMapSource, mt as el, nn as eventScopeQueryKeys, nt as defineFragment, on as loadedReadinessFact, ot as lookQuoteLimitTransform, p as SectionNode, pn as normalizeLocationMapProps, pt as carousel, q as sectionHeaderFields, qt as blockChecksForEvents, rn as resolveEventScope, rt as cardListSectionAction, s as buildAppointmentServicesView, sn as pageTemplateFromEntry, st as lookSkinSlotTransform, t as serverComponentRegistry, tn as eventScopeQuery, tt as composeFragments, un as LOCATION_MAP_LIMITS, ut as bind, v as publicAppointmentPricingSchema, vn as columnsField, vt as icon, w as cartBlockDefinition, wn as sectionStylesField, wt as richText, x as sanitizeNewsletterSignupPublicContent, xn as layoutField, xt as media, y as offeringCourseSlotParents, yn as emptyStateField, yt as inline, z as teamMemberCardBiographyFallback, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-CIWYKz1V.mjs";
8
8
  import { $ as solveSurfaceInks, A as DEFAULT_BUTTON_SIZES, C as buttonRadius, Ct as resolveOpaqueSurfaceHex, D as materializeRuntimeButtonAppearance, Dt as contrastRatio, E as buttonTypographyDeclarations, Ft as rgbToHex, G as mergeStyles, H as backgroundColorStyle, It as srgbToOklab, J as textColorValue, K as rgbColorValue, L as mapButtonVisualAppearances, M as FONT_SIZE_MAP, Mt as oklabToOklch, N as generateShadowValue$1, Nt as oklabToSrgb, O as paddingDeclarations, Pt as oklchToHexGamut, S as buttonBorder, St as resolveConcreteColorHex, T as buttonStateAppearanceDeclarations, U as borderColorStyle, W as cssVarValue, X as safeTokenOr, Y as resolveSurfaceForeground, Z as surfaceInkPublication, _t as surfaceInkDeclarations, at as inkReference, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, ct as planForegroundHover, dt as SURFACE_INK_CSS_VARS, f as compositeHex, ft as surfaceForegroundDeclarations, g as actionVariableFallback, gt as surfaceForegroundValueWithOpacity, ht as surfaceForegroundValue, it as contrastThresholdByPolicy, jt as hexToRgb, k as BORDER_WIDTH_MAP, l as surfaceDecorationColors, lt as DEFAULT_SURFACE_TEXT_COLOR, mt as surfaceForegroundStyle, n as parseSurfaceTree, nt as HOVER_TEXT_THRESHOLD, o as resolveSurface, ot as expandPalette, pt as surfaceForegroundInputFromResolved, q as textColorStyle, r as prepareSurfaceIndex, rt as certifyPaint, ut as SURFACE_FOREGROUND_CSS_VARS, v as compileButtonColourStates, vt as surfaceInkStyle, w as buttonShadow, x as formatButtonColourContractError, xt as ownedThemeSnapshot, y as resolveSolidButtonColour, yt as surfaceInkValue } from "./accessibleSurfaces-DN8it_Cx.mjs";
9
9
  import { D as parseThemeColorToken, E as parseColorTokenParts, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-DjWUR_O6.mjs";
10
- import { $ as resolvePageDesignBlockLookChoice, $t as customCssRuleSchema, A as getCuratedSiteStyle, At as defineExactCatalog, B as generateFooterCss, Bt as toNonEmptyReadonlyArray, C as resolvePublishedLook, Ct as themeV2CompilerOwnedFieldNames, D as filterLookIdsForPolicy, Dt as lookModes, E as filterLayoutProfilesForPolicy, Ft as introCompositionTreatmentValues, G as generateEffectsCSS, Gt as selectLogoVariant, H as getNavLinkPreset, I as gradientToCss, It as offeringsPreviewCompositionTreatmentValues, J as generateInteractiveChildInheritanceCSS, Jt as TokenResolver, K as resolveEffectApplications, Kt as surfaceToneFromForegroundToken, L as getGradientPreset, Lt as plainFrame, M as compilePageRuntimeFields, Mt as defineNoBlockDesignCapability, Nt as designIssueSeverityForPolicy, Ot as assertNever$2, P as stripCompiledRuntimeStyleFields, Pt as featureCardCompositionTreatmentValues, Qt as blockCustomCssRuleSchema, R as resolveCardRole, Rt as sectionBackgroundPaintValues, S as resolveModeArrangement, St as stripStaleTransitionStyleGroup, T as deriveSiteStyleBlockPolicy, U as buildTextContrastShadow, Ut as opaqueSurfaceContextFromTheme, V as footerForegroundCandidates, W as generateNavLinkCSS, Wt as opaqueSurfaceDeclarations, X as navLinkOwnsHoverForeground, Xt as themeSchema, Y as navLinkHoverColorCandidate, Yt as sectionStylesOverrideSchema, Z as navLinkOwnsUnderline, Zt as headerVariantValues, _ as resolveLookForBlock, _n as asSiteStyleId, _t as parseCanonicalRuntimeBackground, a as resolvedItemSurfaceProps, an as cardVariantRoleValues, at as boundaryOptions, b as readStoredMode, bt as sectionSurfaceBase, c as resolveLookSurfacePresentation, cn as surfaceCardRoleValues, ct as isDecorativeTransitionIntent, d as arrangementLookHooks, dn as asHeaderStyleId, dt as spaciousBoundaryOption, et as resolvePageDesignBoundaryChoice, f as arrangementStyleAvailability, fn as siteChromeBackgroundOverrideOwner, ft as transitionIntentForTreatment, g as resolveArrangementLookForBlock, gn as asPageFlowPresetId, gt as deriveSectionGround, h as getCompatibleBlockAppearancePresets, hn as asLayoutVariantKey, ht as applyLookPhotoTreatment, it as boundaryOptionForTransitionIntent, j as requireCuratedSiteStyle, jt as defineFrameCapability, kt as defineBlockDesignCapability, l as selectItemSurfacePresentation, ln as parseGradientPresetId, lt as noneBoundaryOption, m as compileArrangementLookRuntime, mn as asDesignBlockId, mt as transitionCatalogueEntries, nn as runtimeBoxBackgroundSchema, nt as sectionShapeFromContent, o as itemRole, ot as boundaryRuntimeMetricsForDecorativeTransition, p as automaticArrangementLook, pt as anglePolygonCss, q as resolveEffectPaint, qt as arrangementSlotNames, rt as sectionShapeHook, s as lookPresentationOnPalette, st as boundaryTreatmentForBoundaryOptionId, tn as boxBackgroundSchema, tt as sectionShapeForGround, u as arrangementAppearancePresets, un as asHeaderLayoutId, ut as softBoundaryOption, v as styleSectionBackgroundForColour, vn as makeBoundaryId, vt as resolveSectionBackground, x as resolveEffectiveArrangement, xt as defaultHeroImageSurfaceTreatment, y as arrangementManifestFromVariants, yt as sectionForegroundBackground, z as generateDefaultCardSystem, zt as testimonialsCompositionTreatmentValues } from "./lookSurfaces-BDZLALxj.mjs";
11
- import { _ as resolveSpacing, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as parseRuntimeBackgroundContent, g as resolveSectionMinHeight, h as isSemanticSpacing, i as fixedFrameScopeClass, l as parseBackgroundContent, m as isSectionMinHeight, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as SEMANTIC_SPACING_VALUES, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as parseBackgroundOverlay } from "./boxStyleClassNames-C-gFwhnO.mjs";
10
+ import { $ as resolvePageDesignBlockLookChoice, $t as customCssRuleSchema, A as getCuratedSiteStyle, At as defineExactCatalog, B as generateFooterCss, Bt as toNonEmptyReadonlyArray, C as resolvePublishedLook, Ct as themeV2CompilerOwnedFieldNames, D as filterLookIdsForPolicy, Dt as lookModes, E as filterLayoutProfilesForPolicy, Ft as introCompositionTreatmentValues, G as generateEffectsCSS, Gt as selectLogoVariant, H as getNavLinkPreset, I as gradientToCss, It as offeringsPreviewCompositionTreatmentValues, J as generateInteractiveChildInheritanceCSS, Jt as TokenResolver, K as resolveEffectApplications, Kt as surfaceToneFromForegroundToken, L as getGradientPreset, Lt as plainFrame, M as compilePageRuntimeFields, Mt as defineNoBlockDesignCapability, Nt as designIssueSeverityForPolicy, Ot as assertNever$2, P as stripCompiledRuntimeStyleFields, Pt as featureCardCompositionTreatmentValues, Qt as blockCustomCssRuleSchema, R as resolveCardRole, Rt as sectionBackgroundPaintValues, S as resolveModeArrangement, St as stripStaleTransitionStyleGroup, T as deriveSiteStyleBlockPolicy, U as buildTextContrastShadow, Ut as opaqueSurfaceContextFromTheme, V as footerForegroundCandidates, W as generateNavLinkCSS, Wt as opaqueSurfaceDeclarations, X as navLinkOwnsHoverForeground, Xt as themeSchema, Y as navLinkHoverColorCandidate, Yt as sectionStylesOverrideSchema, Z as navLinkOwnsUnderline, Zt as headerVariantValues, _ as resolveLookForBlock, _n as asSiteStyleId, _t as parseCanonicalRuntimeBackground, a as resolvedItemSurfaceProps, an as cardVariantRoleValues, at as boundaryOptions, b as readStoredMode, bt as sectionSurfaceBase, c as resolveLookSurfacePresentation, cn as surfaceCardRoleValues, ct as isDecorativeTransitionIntent, d as arrangementLookHooks, dn as asHeaderStyleId, dt as spaciousBoundaryOption, et as resolvePageDesignBoundaryChoice, f as arrangementStyleAvailability, fn as siteChromeBackgroundOverrideOwner, ft as transitionIntentForTreatment, g as resolveArrangementLookForBlock, gn as asPageFlowPresetId, gt as deriveSectionGround, h as getCompatibleBlockAppearancePresets, hn as asLayoutVariantKey, ht as applyLookPhotoTreatment, it as boundaryOptionForTransitionIntent, j as requireCuratedSiteStyle, jt as defineFrameCapability, kt as defineBlockDesignCapability, l as selectItemSurfacePresentation, ln as parseGradientPresetId, lt as noneBoundaryOption, m as compileArrangementLookRuntime, mn as asDesignBlockId, mt as transitionCatalogueEntries, nn as runtimeBoxBackgroundSchema, nt as sectionShapeFromContent, o as itemRole, ot as boundaryRuntimeMetricsForDecorativeTransition, p as automaticArrangementLook, pt as anglePolygonCss, q as resolveEffectPaint, qt as arrangementSlotNames, rt as sectionShapeHook, s as lookPresentationOnPalette, st as boundaryTreatmentForBoundaryOptionId, tn as boxBackgroundSchema, tt as sectionShapeForGround, u as arrangementAppearancePresets, un as asHeaderLayoutId, ut as softBoundaryOption, v as styleSectionBackgroundForColour, vn as makeBoundaryId, vt as resolveSectionBackground, x as resolveEffectiveArrangement, xt as defaultHeroImageSurfaceTreatment, y as arrangementManifestFromVariants, yt as sectionForegroundBackground, z as generateDefaultCardSystem, zt as testimonialsCompositionTreatmentValues } from "./lookSurfaces-BwiNdgMU.mjs";
11
+ import { _ as resolveSpacing, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as parseRuntimeBackgroundContent, g as resolveSectionMinHeight, h as isSemanticSpacing, i as fixedFrameScopeClass, l as parseBackgroundContent, m as isSectionMinHeight, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as SEMANTIC_SPACING_VALUES, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as parseBackgroundOverlay } from "./boxStyleClassNames-B_hcuT06.mjs";
12
12
  import { C as parseThemeButtonVariantId, T as AFFORDANCE_SUPPRESS_CLASS, w as themeButtonSelector } from "./ThemedButton-DuaYtnvG.mjs";
13
13
  import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
14
- import { i as eventHeaderSlotParents, n as resolveEventDetailsPresentation, r as lookPartShown } from "./view-Cw4EmEPv.mjs";
15
- import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-BybMSKNL.mjs";
16
- import { l as monthSlotParents } from "./CalendarNavigationChevron-Ch0w0Utn.mjs";
14
+ import { i as eventHeaderSlotParents, n as resolveEventDetailsPresentation, r as lookPartShown } from "./view-BbzH5MQb.mjs";
15
+ import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-B0WjGXsH.mjs";
16
+ import { l as monthSlotParents } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
17
17
  import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
18
- import { n as eventListSlotParents } from "./EventListing.view-r31k8Icz.mjs";
18
+ import { n as eventListSlotParents } from "./EventListing.view-BEH4UbSL.mjs";
19
19
  import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
20
- import { t as formatDate$1 } from "./formatDate-DFfWHpQB.mjs";
20
+ import { t as formatDate$1 } from "./formatDate-TDHhFjFN.mjs";
21
21
  import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
22
- import { t as coerceRichTextDoc } from "./richText-coerce-CDAfpMQU.mjs";
22
+ import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
23
23
  import { t as resolveBlocksPageMediaContext } from "./mediaAssets-B99AP7ai.mjs";
24
24
  import * as React$1 from "react";
25
25
  import React from "react";
@@ -132,6 +132,7 @@ const SUPPORTED_LOADER_ENDPOINTS$1 = [
132
132
  "listPublicEventCalendarWindow",
133
133
  "listPublicRecurringSchedule",
134
134
  "getPublicEventDetails",
135
+ "getPublicMapLocation",
135
136
  "listPublicRouteCandidates",
136
137
  "listPublicTeamMembers",
137
138
  "listPublicProducts",
@@ -22761,10 +22762,6 @@ const locationMapNodeProps = {
22761
22762
  from: "content.location",
22762
22763
  fallback: null
22763
22764
  } },
22764
- businessAddress: { $bind: {
22765
- from: "$root.site.businessAddress",
22766
- fallback: null
22767
- } },
22768
22765
  locationSource: { $bind: {
22769
22766
  from: "content.locationSource",
22770
22767
  fallback: "custom"
@@ -22773,8 +22770,12 @@ const locationMapNodeProps = {
22773
22770
  from: "content.venueId",
22774
22771
  fallback: null
22775
22772
  } },
22776
- venuesById: { $bind: {
22777
- from: "$root.site.venuesById",
22773
+ venueMapLocation: { $bind: {
22774
+ from: `data.${LOCATION_MAP_LOADER_KEYS.venue}`,
22775
+ fallback: null
22776
+ } },
22777
+ businessMapLocation: { $bind: {
22778
+ from: `data.${LOCATION_MAP_LOADER_KEYS.business_address}`,
22778
22779
  fallback: null
22779
22780
  } },
22780
22781
  wider: { $bind: {
@@ -22822,212 +22823,256 @@ const arrangedLayout = (body) => styledSection({
22822
22823
  ...lookSlot("heading")
22823
22824
  }, bind("content.heading"))], when("content.heading")), ...body])
22824
22825
  });
22825
- const locationMapBlockDefinition = {
22826
- manifest: createBlockManifest({
22827
- variantMeaning: {
22828
- kind: "arrangement",
22829
- lookOnlyKeys: ["map-and-details", "photo-and-details"]
22830
- },
22831
- id: "block.location-map",
22832
- title: "Map",
22833
- titleSource: "heading",
22834
- description: "Shows where you are on a map, with a button for directions.",
22835
- category: "text-and-images",
22836
- contentSource: { kind: "inline" },
22837
- tags: [
22838
- "map",
22839
- "location",
22840
- "address",
22841
- "directions"
22842
- ],
22843
- icon: "MapPin",
22844
- styleTokens: {
22845
- background: "surface",
22846
- typography: "body",
22847
- spacing: "md"
22848
- },
22849
- additionalFields: [
22850
- parseFieldDefinition({
22851
- id: "heading",
22852
- type: "text",
22853
- label: "Heading",
22854
- required: false,
22855
- maxLength: 120
22856
- }),
22857
- parseFieldDefinition({
22858
- id: "locationSource",
22859
- type: "select",
22860
- label: "Which place?",
22861
- defaultValue: "custom",
22862
- options: [
22863
- {
22864
- value: "business_address",
22865
- label: "Your business address"
22866
- },
22867
- {
22868
- value: "venue",
22869
- label: "One of your venues"
22870
- },
22871
- {
22872
- value: "custom",
22873
- label: "A different place"
22874
- }
22875
- ],
22876
- ui: {
22877
- intent: "content",
22878
- widget: "locationSourceSelect"
22826
+ const locationMapManifest = createBlockManifest({
22827
+ variantMeaning: {
22828
+ kind: "arrangement",
22829
+ lookOnlyKeys: ["map-and-details", "photo-and-details"]
22830
+ },
22831
+ id: "block.location-map",
22832
+ title: "Map",
22833
+ titleSource: "heading",
22834
+ description: "Shows where you are on a map, with a button for directions.",
22835
+ category: "text-and-images",
22836
+ contentSource: { kind: "inline" },
22837
+ tags: [
22838
+ "map",
22839
+ "location",
22840
+ "address",
22841
+ "directions"
22842
+ ],
22843
+ icon: "MapPin",
22844
+ styleTokens: {
22845
+ background: "surface",
22846
+ typography: "body",
22847
+ spacing: "md"
22848
+ },
22849
+ additionalFields: [
22850
+ parseFieldDefinition({
22851
+ id: "heading",
22852
+ type: "text",
22853
+ label: "Heading",
22854
+ required: false,
22855
+ maxLength: 120
22856
+ }),
22857
+ parseFieldDefinition({
22858
+ id: "locationSource",
22859
+ type: "select",
22860
+ label: "Which place?",
22861
+ defaultValue: "custom",
22862
+ options: [
22863
+ {
22864
+ value: "business_address",
22865
+ label: "Your business address"
22866
+ },
22867
+ {
22868
+ value: "venue",
22869
+ label: "One of your venues"
22870
+ },
22871
+ {
22872
+ value: "custom",
22873
+ label: "A different place"
22879
22874
  }
22880
- }),
22881
- createSiteOptionSelectField({
22882
- id: "venueId",
22883
- label: "Venue",
22884
- required: false,
22885
- multiple: false,
22886
- optionSource: "venues",
22887
- ui: {
22888
- intent: "content",
22889
- visibleWhen: {
22890
- field: "locationSource",
22891
- equals: "venue"
22892
- }
22875
+ ],
22876
+ ui: {
22877
+ intent: "content",
22878
+ widget: "locationSourceSelect"
22879
+ }
22880
+ }),
22881
+ createSiteOptionSelectField({
22882
+ id: "venueId",
22883
+ label: "Venue",
22884
+ required: false,
22885
+ multiple: false,
22886
+ optionSource: "venues",
22887
+ ui: {
22888
+ intent: "content",
22889
+ visibleWhen: {
22890
+ field: "locationSource",
22891
+ equals: "venue"
22893
22892
  }
22894
- }),
22895
- parseFieldDefinition({
22896
- id: "location",
22897
- type: "group",
22898
- label: "Location",
22899
- description: "Enter the address and place the map pin.",
22900
- required: false,
22901
- ui: {
22902
- widget: "locationPicker",
22903
- valueContract: "location",
22904
- intent: "content",
22905
- visibleWhen: {
22906
- field: "locationSource",
22907
- equals: "custom"
22908
- }
22893
+ }
22894
+ }),
22895
+ parseFieldDefinition({
22896
+ id: "location",
22897
+ type: "group",
22898
+ label: "Location",
22899
+ description: "Enter the address and place the map pin.",
22900
+ required: false,
22901
+ ui: {
22902
+ widget: "locationPicker",
22903
+ valueContract: "location",
22904
+ intent: "content",
22905
+ visibleWhen: {
22906
+ field: "locationSource",
22907
+ equals: "custom"
22908
+ }
22909
+ },
22910
+ schema: { fields: [
22911
+ {
22912
+ id: "addressText",
22913
+ type: "text",
22914
+ label: "Address",
22915
+ required: true,
22916
+ multiline: true,
22917
+ maxLength: 240
22909
22918
  },
22910
- schema: { fields: [
22911
- {
22912
- id: "addressText",
22913
- type: "text",
22914
- label: "Address",
22915
- required: true,
22916
- multiline: true,
22917
- maxLength: 240
22918
- },
22919
- {
22920
- id: "lat",
22921
- type: "number",
22922
- label: "Latitude",
22923
- required: true,
22924
- min: -90,
22925
- max: 90,
22926
- step: 1e-6
22927
- },
22928
- {
22929
- id: "lng",
22930
- type: "number",
22931
- label: "Longitude",
22932
- required: true,
22933
- min: -180,
22934
- max: 180,
22935
- step: 1e-6
22936
- }
22937
- ] }
22938
- }),
22939
- parseFieldDefinition({
22940
- id: "entrancePhoto",
22941
- type: "media",
22942
- label: "Entrance photo",
22943
- description: "A photo of the door or the way in. It shows when this section uses the “Entrance photo beside the details” Look.",
22944
- required: false,
22945
- mediaKinds: ["image"],
22946
- ui: { intent: "content" }
22947
- }),
22948
- parseFieldDefinition({
22949
- id: "showOpeningHours",
22950
- type: "boolean",
22951
- label: "Show opening hours",
22952
- defaultValue: true,
22953
- ui: { intent: "behavior" }
22954
- }),
22955
- parseFieldDefinition({
22956
- id: "showAddressText",
22957
- type: "boolean",
22958
- label: "Show the address",
22959
- defaultValue: true,
22960
- ui: { intent: "behavior" }
22961
- }),
22962
- parseFieldDefinition({
22963
- id: "showDirections",
22964
- type: "boolean",
22965
- label: "Show directions button",
22966
- defaultValue: true,
22967
- ui: { intent: "behavior" }
22968
- }),
22969
- parseFieldDefinition({
22970
- id: "directionsLabel",
22971
- type: "text",
22972
- label: "Directions button label",
22973
- defaultValue: LOCATION_MAP_DEFAULTS.directionsLabel,
22974
- maxLength: 60,
22975
- ui: {
22976
- intent: "behavior",
22977
- visibleWhen: {
22978
- field: "showDirections",
22979
- equals: true
22980
- }
22919
+ {
22920
+ id: "lat",
22921
+ type: "number",
22922
+ label: "Latitude",
22923
+ required: true,
22924
+ min: -90,
22925
+ max: 90,
22926
+ step: 1e-6
22927
+ },
22928
+ {
22929
+ id: "lng",
22930
+ type: "number",
22931
+ label: "Longitude",
22932
+ required: true,
22933
+ min: -180,
22934
+ max: 180,
22935
+ step: 1e-6
22981
22936
  }
22982
- }),
22983
- parseFieldDefinition({
22984
- id: "wider",
22985
- type: "boolean",
22986
- label: "Show a wider area",
22987
- defaultValue: false,
22988
- ui: { intent: "behavior" }
22989
- }),
22990
- parseFieldDefinition({
22991
- id: "googleMapsLabel",
22992
- type: "text",
22993
- label: "Google Maps button label",
22994
- defaultValue: "Open in Google Maps",
22995
- maxLength: 60,
22996
- ui: { intent: "behavior" }
22997
- }),
22998
- parseFieldDefinition({
22999
- id: "heightPx",
23000
- type: "number",
23001
- label: "Map height",
23002
- defaultValue: LOCATION_MAP_DEFAULTS.heightPx,
23003
- min: LOCATION_MAP_LIMITS.heightPx.min,
23004
- max: LOCATION_MAP_LIMITS.heightPx.max,
23005
- step: 10,
23006
- ui: {
23007
- intent: "display",
23008
- widget: "slider",
23009
- showValue: true,
23010
- valueUnit: "pixels"
22937
+ ] }
22938
+ }),
22939
+ parseFieldDefinition({
22940
+ id: "entrancePhoto",
22941
+ type: "media",
22942
+ label: "Entrance photo",
22943
+ description: "A photo of the door or the way in. It shows when this section uses the “Entrance photo beside the details” Look.",
22944
+ required: false,
22945
+ mediaKinds: ["image"],
22946
+ ui: { intent: "content" }
22947
+ }),
22948
+ parseFieldDefinition({
22949
+ id: "showOpeningHours",
22950
+ type: "boolean",
22951
+ label: "Show opening hours",
22952
+ defaultValue: true,
22953
+ ui: { intent: "behavior" }
22954
+ }),
22955
+ parseFieldDefinition({
22956
+ id: "showAddressText",
22957
+ type: "boolean",
22958
+ label: "Show the address",
22959
+ defaultValue: true,
22960
+ ui: { intent: "behavior" }
22961
+ }),
22962
+ parseFieldDefinition({
22963
+ id: "showDirections",
22964
+ type: "boolean",
22965
+ label: "Show directions button",
22966
+ defaultValue: true,
22967
+ ui: { intent: "behavior" }
22968
+ }),
22969
+ parseFieldDefinition({
22970
+ id: "directionsLabel",
22971
+ type: "text",
22972
+ label: "Directions button label",
22973
+ defaultValue: LOCATION_MAP_DEFAULTS.directionsLabel,
22974
+ maxLength: 60,
22975
+ ui: {
22976
+ intent: "behavior",
22977
+ visibleWhen: {
22978
+ field: "showDirections",
22979
+ equals: true
23011
22980
  }
23012
- })
23013
- ],
23014
- layout: styledSection({
23015
- baseClass: "",
23016
- spacing: "comfortable",
23017
- children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", locationMapNodeProps)], { gap: "md" })
22981
+ }
23018
22982
  }),
23019
- variants: {
23020
- "map-and-details": arrangedLayout([el("location-map", {
23021
- ...locationMapNodeProps,
23022
- ...lookPresentationProps
23023
- })]),
23024
- "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", {
23025
- ...locationMapNodeProps,
23026
- ...lookPresentationProps,
23027
- showMap: false
23028
- })])])
23029
- }
22983
+ parseFieldDefinition({
22984
+ id: "wider",
22985
+ type: "boolean",
22986
+ label: "Show a wider area",
22987
+ defaultValue: false,
22988
+ ui: { intent: "behavior" }
22989
+ }),
22990
+ parseFieldDefinition({
22991
+ id: "googleMapsLabel",
22992
+ type: "text",
22993
+ label: "Google Maps button label",
22994
+ defaultValue: "Open in Google Maps",
22995
+ maxLength: 60,
22996
+ ui: { intent: "behavior" }
22997
+ }),
22998
+ parseFieldDefinition({
22999
+ id: "heightPx",
23000
+ type: "number",
23001
+ label: "Map height",
23002
+ defaultValue: LOCATION_MAP_DEFAULTS.heightPx,
23003
+ min: LOCATION_MAP_LIMITS.heightPx.min,
23004
+ max: LOCATION_MAP_LIMITS.heightPx.max,
23005
+ step: 10,
23006
+ ui: {
23007
+ intent: "display",
23008
+ widget: "slider",
23009
+ showValue: true,
23010
+ valueUnit: "pixels"
23011
+ }
23012
+ })
23013
+ ],
23014
+ layout: styledSection({
23015
+ baseClass: "",
23016
+ spacing: "comfortable",
23017
+ children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", locationMapNodeProps)], { gap: "md" })
23030
23018
  }),
23019
+ variants: {
23020
+ "map-and-details": arrangedLayout([el("location-map", {
23021
+ ...locationMapNodeProps,
23022
+ ...lookPresentationProps
23023
+ })]),
23024
+ "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", {
23025
+ ...locationMapNodeProps,
23026
+ ...lookPresentationProps,
23027
+ showMap: false
23028
+ })])])
23029
+ }
23030
+ });
23031
+ function mapLocationLoaderWhen(source) {
23032
+ return { $bind: {
23033
+ from: "content.locationSource",
23034
+ fallback: false,
23035
+ transforms: [{
23036
+ id: "value.equals",
23037
+ options: { value: source }
23038
+ }]
23039
+ } };
23040
+ }
23041
+ const mapLocationLoaderRoot = {
23042
+ siteId: { $bind: { from: "$root.siteId" } },
23043
+ stage: { $bind: {
23044
+ from: "$root.previewStage",
23045
+ fallback: "published"
23046
+ } }
23047
+ };
23048
+ const locationMapBlockDefinition = {
23049
+ manifest: locationMapManifest,
23050
+ dataSchemas: {
23051
+ [LOCATION_MAP_LOADER_KEYS.venue]: publicMapLocationResultSchema.optional(),
23052
+ [LOCATION_MAP_LOADER_KEYS.business_address]: publicMapLocationResultSchema.optional()
23053
+ },
23054
+ dataLoaders: {
23055
+ [LOCATION_MAP_LOADER_KEYS.venue]: {
23056
+ endpoint: "getPublicMapLocation",
23057
+ when: mapLocationLoaderWhen("venue"),
23058
+ params: {
23059
+ ...mapLocationLoaderRoot,
23060
+ source: "venue",
23061
+ venueId: { $bind: { from: "content.venueId" } }
23062
+ },
23063
+ requiredParams: ["venueId"],
23064
+ mode: "server"
23065
+ },
23066
+ [LOCATION_MAP_LOADER_KEYS.business_address]: {
23067
+ endpoint: "getPublicMapLocation",
23068
+ when: mapLocationLoaderWhen("business_address"),
23069
+ params: {
23070
+ ...mapLocationLoaderRoot,
23071
+ source: "business_address"
23072
+ },
23073
+ mode: "server"
23074
+ }
23075
+ },
23031
23076
  contentNormalizer: {
23032
23077
  fieldIds: [
23033
23078
  "heading",
@@ -27777,9 +27822,10 @@ function projectLoaderOutcomes(blocks, outcomes) {
27777
27822
  return values.length ? [[block.id, Object.fromEntries(values)]] : [];
27778
27823
  })),
27779
27824
  loaderFailures: Object.fromEntries(blocks.flatMap((block) => {
27780
- const values = outcomes.flatMap((outcome) => outcome.request.blockId === block.id && outcome.kind === "failed" ? [[outcome.request.key, {
27825
+ const values = outcomes.flatMap((outcome) => outcome.request.blockId === block.id && outcome.kind !== "loaded" ? [[outcome.request.key, {
27781
27826
  endpoint: outcome.request.endpoint,
27782
- params: outcome.request.params
27827
+ params: outcome.request.params,
27828
+ ...outcome.kind === "pending" ? { pending: true } : {}
27783
27829
  }]] : []);
27784
27830
  return values.length ? [[block.id, Object.fromEntries(values)]] : [];
27785
27831
  }))
@@ -27981,6 +28027,7 @@ const loaderAdapters = {
27981
28027
  }),
27982
28028
  listPublicRecurringSchedule,
27983
28029
  getPublicEventDetails,
28030
+ getPublicMapLocation,
27984
28031
  listPublicRouteCandidates,
27985
28032
  listPublicTeamMembers,
27986
28033
  listPublicProducts,
@@ -28081,6 +28128,19 @@ async function listPublicEvents({ client, params }) {
28081
28128
  async function listPublicRecurringSchedule(input) {
28082
28129
  return projectRecurringSchedule(await listPublicEvents(input));
28083
28130
  }
28131
+ async function getPublicMapLocation({ client, params }) {
28132
+ const siteId = requireStringParam(params, "siteId", "getPublicMapLocation");
28133
+ const stage = readStringParam(params, "stage");
28134
+ const source = requireStringParam(params, "source", "getPublicMapLocation");
28135
+ return await client.getPublicMapLocation({
28136
+ siteId,
28137
+ ...stage ? { stage } : {},
28138
+ ...source === "venue" ? {
28139
+ source,
28140
+ venueId: requireStringParam(params, "venueId", "getPublicMapLocation")
28141
+ } : { source: "business_address" }
28142
+ });
28143
+ }
28084
28144
  async function getPublicEventDetails({ client, params }) {
28085
28145
  return await client.getPublicEventDetails({
28086
28146
  siteId: requireStringParam(params, "siteId", "getPublicEventDetails"),
@@ -28332,6 +28392,11 @@ function authoringMessage(reason) {
28332
28392
  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}".`;
28333
28393
  case "hidden-business-location": return "This map is hidden because your business address is hidden.";
28334
28394
  case "unresolved-location":
28395
+ if (reason.locationReason === "location_loading" || reason.locationReason === "location_load_failed") return describeUnresolvedLocationMapLocation({
28396
+ kind: "unresolved",
28397
+ source: reason.source,
28398
+ reason: reason.locationReason
28399
+ }) ?? "";
28335
28400
  if (reason.source === "business_address") return "Business address details are not configured yet.";
28336
28401
  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.";
28337
28402
  case "editor-unpreviewable":
@@ -28511,11 +28576,7 @@ function buildPageRendererRootRuntime(dataContext) {
28511
28576
  };
28512
28577
  }
28513
28578
  function publicLocationRuntime(context) {
28514
- return {
28515
- businessAddress: context?.businessLocation ?? null,
28516
- venuesById: context?.venuesById ?? {},
28517
- siteCountry: context?.siteCountry ?? null
28518
- };
28579
+ return { siteCountry: context?.siteCountry ?? null };
28519
28580
  }
28520
28581
  function resolveDemoEmailSuppression(dataContext) {
28521
28582
  return dataContext?.demoEmailSuppressed === true;
@@ -28945,11 +29006,10 @@ function createPageRenderPreparationReader() {
28945
29006
  };
28946
29007
  }
28947
29008
  function preparePageRenderEntries(input, previous = null) {
28948
- const admission = preparationAdmission(input);
28949
- const prepared = admission.entries.map((entry) => [entry, readPreparedPlanEntry(entry, input, previous, admission.permission)]);
29009
+ const prepared = preparationAdmission(input).entries.map((entry) => [entry, readPreparedPlanEntry(entry, input, previous)]);
28950
29010
  const entries = prepared.map(([, value]) => value);
28951
29011
  const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
28952
- const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location" && !(candidate.prepared.kind === "content" && candidate.prepared.publicVisibility === "omitted"));
29012
+ const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location" && candidate.prepared.kind !== "hidden-business-location" && !(candidate.prepared.kind === "content" && candidate.prepared.publicVisibility === "omitted"));
28953
29013
  const surviving = new Set(survivors);
28954
29014
  const survivingByEntry = new Map(prepared.filter(([, candidate]) => surviving.has(candidate)));
28955
29015
  const regions = {
@@ -28982,47 +29042,61 @@ function preparationAdmission(input) {
28982
29042
  mailingList: input.dataContext?.mailingList,
28983
29043
  template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
28984
29044
  });
28985
- const permission = input.dataContext?.businessLocationPermission ?? decideLocationSourcePermission("business_address", input.dataContext?.businessAddressVisibility);
28986
- return {
28987
- permission,
28988
- entries: input.plan.entries.filter((entry) => input.audience === "authoring" || !entryHiddenFromVisitors(entry, facts, input.dataContext?.interactionContext)).filter((entry) => isPublicSourcePermitted(entry, permission) || input.audience === "authoring" && permission.kind === "hidden")
28989
- };
29045
+ return { entries: input.plan.entries.filter((entry) => input.audience === "authoring" || !entryHiddenFromVisitors(entry, facts, input.dataContext?.interactionContext)) };
28990
29046
  }
28991
- function readPreparedPlanEntry(entry, input, previous, permission) {
29047
+ function readPreparedPlanEntry(entry, input, previous) {
28992
29048
  const cached = previous?.byEntry.get(entry);
28993
29049
  if (cached && previous && samePreparationSettings(previous.input, input) && sameBlockRenderDataContext(previous.input.dataContext, input.dataContext, entry.block.id)) return cached;
28994
- return preparedPlanEntry(entry, prepareSourceEntry(entry, input, permission));
29050
+ return preparedPlanEntry(entry, prepareSourceEntry(entry, input));
28995
29051
  }
28996
29052
  function samePreparationSettings(previous, current) {
28997
29053
  return previous.audience === current.audience && previous.routeMap === current.routeMap && previous.themeResources === current.themeResources && previous.imageResolveContext === current.imageResolveContext;
28998
29054
  }
28999
- /** Source availability is decided before constructing the block or its hydration props. */
29000
- function prepareSourceEntry(entry, input, permission) {
29001
- if (!isPublicSourcePermitted(entry, permission)) return {
29002
- kind: "hidden-business-location",
29003
- businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
29004
- };
29055
+ /**
29056
+ * A map's place is decided before constructing the block or its hydration props,
29057
+ * so a map with nothing to show touches no override, wrapper or authored detail.
29058
+ * Anything short of a loaded place leaves visitors with no map at all.
29059
+ */
29060
+ function prepareSourceEntry(entry, input) {
29005
29061
  if (entry.block.kind === "block.location-map") {
29006
29062
  const content = entry.renderableContent;
29063
+ const locationSource = typeof content.locationSource === "string" ? content.locationSource : null;
29007
29064
  const resolved = resolveLocationMapLocation({
29008
29065
  location: content.location,
29009
- locationSource: typeof content.locationSource === "string" ? content.locationSource : null,
29066
+ locationSource,
29010
29067
  venueId: typeof content.venueId === "string" ? content.venueId : null,
29011
- businessAddress: input.dataContext?.businessLocation,
29012
- venuesById: input.dataContext?.venuesById
29068
+ loaded: readLocationMapLoad(entry.block.id, normalizeLocationMapSource(locationSource), input.dataContext)
29013
29069
  });
29014
- if (resolved.kind === "unresolved") return {
29070
+ if (resolved.kind === "unresolved") return resolved.reason === "hidden_business_address" ? {
29071
+ kind: "hidden-business-location",
29072
+ businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
29073
+ } : {
29015
29074
  kind: "unresolved-location",
29016
- source: resolved.source
29075
+ source: resolved.source,
29076
+ reason: resolved.reason
29017
29077
  };
29078
+ if (resolved.kind === "venue" && resolved.disclosure === "area") return prepareEntry(withoutEntrancePhoto(entry), input);
29018
29079
  }
29019
29080
  return prepareEntry(entry, input);
29020
29081
  }
29021
- /** No source data, override component or wrapper is touched for a hidden map. */
29022
- function isPublicSourcePermitted(entry, permission) {
29023
- if (entry.block.kind !== "block.location-map") return true;
29024
- const rawSource = entry.renderableContent.locationSource;
29025
- return normalizeLocationMapSource(typeof rawSource === "string" ? rawSource : null) !== "business_address" || permission.kind === "permitted";
29082
+ /** A photo of the entrance gives away a place whose address is only shared with a booking. */
29083
+ function withoutEntrancePhoto(entry) {
29084
+ const { entrancePhoto: _withheld, ...content } = entry.renderableContent;
29085
+ return {
29086
+ ...entry,
29087
+ renderableContent: content
29088
+ };
29089
+ }
29090
+ /** A custom place is in the content. The other sources read only this block's own loader. */
29091
+ function readLocationMapLoad(blockId, source, dataContext) {
29092
+ if (source === "custom" || !blockId) return void 0;
29093
+ const key = LOCATION_MAP_LOADER_KEYS[source];
29094
+ const failure = dataContext?.loaderFailures?.[blockId]?.[key];
29095
+ if (failure) return locationMapLoadFromFailure(failure);
29096
+ return parseLocationMapLoaderResult(dataContext?.resolvedData?.[blockId]?.[key]);
29097
+ }
29098
+ function locationMapLoadFromFailure(failure) {
29099
+ return { kind: failure.pending ? "pending" : "failed" };
29026
29100
  }
29027
29101
  function entryHiddenFromVisitors(entry, facts, interaction) {
29028
29102
  return entry.kind === "renderable" && entry.definition.readiness !== void 0 && hiddenFromVisitors(entry.definition.readiness.assess(entry.renderableContent, facts, {
@@ -29080,7 +29154,16 @@ function prepareEntry(entry, input) {
29080
29154
  */
29081
29155
  function previewableEditorContent(entry) {
29082
29156
  if (entry.block.presentationAdmission.kind !== "editor") return entry.renderableContent;
29083
- return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), entry.ownerEditableContent).kind === "previewable" ? entry.renderableContent : null;
29157
+ return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), withoutRenderOnlyLocation(entry)).kind === "previewable" ? entry.renderableContent : null;
29158
+ }
29159
+ /**
29160
+ * The editor gives a custom map its public projection to draw (authoringLocationMaps).
29161
+ * The draft contract rightly refuses that shape, because it mustn't be saved, and
29162
+ * the owner's stored location was admitted before it was projected.
29163
+ */
29164
+ function withoutRenderOnlyLocation(entry) {
29165
+ const { location, ...content } = entry.ownerEditableContent;
29166
+ return entry.block.kind === "block.location-map" && publicLocationSchema.safeParse(location).success ? content : entry.ownerEditableContent;
29084
29167
  }
29085
29168
  function buildPreparedContent(entry, content, input) {
29086
29169
  const { dataContext } = input;
@@ -29660,7 +29743,8 @@ function preparationDiagnostic(prepared, blockKind) {
29660
29743
  reason: {
29661
29744
  kind: prepared.kind,
29662
29745
  blockKind,
29663
- source: prepared.source
29746
+ source: prepared.source,
29747
+ locationReason: prepared.reason
29664
29748
  },
29665
29749
  outcome: "invalidPlaceholder"
29666
29750
  };
@@ -29950,21 +30034,16 @@ function siteBookingRenderSupport(site) {
29950
30034
  businessPerson: site.bookingPerson ?? null
29951
30035
  };
29952
30036
  }
29953
- function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
30037
+ function buildSiteRenderSupport(site, mediaAssets) {
29954
30038
  const customBlocks = resolveSiteCustomBlocks(site);
29955
30039
  return {
29956
30040
  theme: site.theme,
29957
- site: locationMapSupport ? {
29958
- ...site.site,
29959
- venuesById: locationMapSupport.venuesById
29960
- } : site.site,
30041
+ site: site.site,
29961
30042
  sdkConfig: site.sdkConfig ?? null,
29962
30043
  openingHours: site.businessDetails?.openingHours ?? null,
29963
30044
  siteTerms: site.siteTerms,
29964
30045
  mailingList: site.mailingList,
29965
30046
  interactionContext: site.interactionContext,
29966
- businessLocationPermission: site.site.businessLocationPermission,
29967
- businessAddressVisibility: site.businessDetails?.addressVisibility ?? "hidden",
29968
30047
  ...siteBookingRenderSupport(site),
29969
30048
  now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
29970
30049
  ...customBlocks ? { customBlocks } : {},
@@ -29975,14 +30054,9 @@ function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
29975
30054
  ...mediaAssets ? { mediaAssets } : {}
29976
30055
  };
29977
30056
  }
29978
- /** Only already-permitted projections reach the block runtime. */
29979
30057
  function siteBlockRenderContext(support) {
29980
30058
  return {
29981
30059
  businessPerson: support.businessPerson,
29982
- businessLocationPermission: support.site.businessLocationPermission,
29983
- businessAddressVisibility: support.businessAddressVisibility ?? "hidden",
29984
- businessLocation: support.site.businessLocation ?? null,
29985
- venuesById: support.site.venuesById ?? {},
29986
30060
  siteCountry: support.site.siteCountry ?? null
29987
30061
  };
29988
30062
  }
@@ -30757,10 +30831,6 @@ function buildPageIdentityRenderContext(dataContext) {
30757
30831
  now: dataContext.now,
30758
30832
  siteName: dataContext.siteName,
30759
30833
  businessPerson: dataContext.businessPerson ?? null,
30760
- businessLocationPermission: dataContext.businessLocationPermission,
30761
- businessAddressVisibility: dataContext.businessAddressVisibility,
30762
- businessLocation: dataContext.businessLocation,
30763
- venuesById: dataContext.venuesById,
30764
30834
  siteCountry: dataContext.siteCountry,
30765
30835
  pathname: dataContext.pathname
30766
30836
  };
@@ -30887,4 +30957,4 @@ function Page(props) {
30887
30957
  return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HydratorWithContextProps, { ...toPageHydrationBootstrapConfig(props) }), /* @__PURE__ */ jsx(PageContent, { ...props })] });
30888
30958
  }
30889
30959
  //#endregion
30890
- export { flowRepeaterGridItems as $, prefetchBlockDataWithFailures as A, getBlockDefinition as B, resolveSdkBlockManifest as C, MISSING_SDK_THEME_ERROR_CODE as D, resolveSiteCustomBlocks as E, resolveAuthoredLinkHref as F, admitTransportedRenderableManifestContent as G, siteFooterManifest as H, isRouteVisibleInStage as I, admitLayoutGridForPlan as J, compileManifestContentContract as K, normalizeRenderStage as L, makeDefaultBlockComponent as M, renderBlock as N, MissingSdkThemeError as O, getDefaultComponentRegistry as P, projectRepeaterGridLayoutForRendering as Q, resolveRouteHrefForStage as R, readInvalidBlockAdmission as S, siteBlockRenderContext as T, siteHeaderManifest as U, systemBlockDefinitions as V, blockDesignCapabilityMapFromDefinitions as W, fieldPlanToZod as X, deriveFieldValidationPlan as Y, projectRepeaterGridLayout as Z, buildRenderablePageOutline as _, solvedInksForThemeRuntime as a, buildPageDesignEditorReadModel as at, invalidRenderableBlock as b, MissingBlockOverrideError as c, isSupportedLoaderEndpoint$1 as ct, buildThemeRuntime as d, normalizeRepeaterGridSpan as et, parseBlocksTheme as f, blockDesignInputsForDefinition as g, resolveRuntimeJoinFacts as h, renderWithSdkThemeRuntime as i, parseListLook as it, materializeEntriesMedia as j, requireSdkTheme as k, PageRenderer as l, readPublishedBlockPlacement as lt, isEntryBoundBlockEmpty as m, planLayoutThemeRuntime as n, isRecord$6 as nt, ThemeScope as o, applyCompiledRuntimeFieldsToContent as ot, applyBindingsToContent as p, registeredManifestContentContract as q, renderWithOverrideOnlyRuntime as r, encodePublicProductCategorySelector as rt, EditorPageRenderer as s, compileEditorModelRuntime as st, Page as t, resolveRepeaterGridAcceptedSpans as tt, toBlocksPageRendererDataContext as u, buildSiteRenderSupport as v, sanitizeSdkRuntimeBlockContent as w, projectRenderablePageOutline as x, collectMediaAssetSidecar as y, allOutlineBlocks as z };
30960
+ export { projectRepeaterGridLayout as $, SUPPORTED_LOADER_ENDPOINTS as A, resolveRouteHrefForStage as B, resolveSdkBlockManifest as C, MISSING_SDK_THEME_ERROR_CODE as D, resolveSiteCustomBlocks as E, renderBlock as F, siteHeaderManifest as G, getBlockDefinition as H, getDefaultComponentRegistry as I, compileManifestContentContract as J, blockDesignCapabilityMapFromDefinitions as K, resolveAuthoredLinkHref as L, materializeEntriesMedia as M, planBlockDataRequests as N, MissingSdkThemeError as O, makeDefaultBlockComponent as P, fieldPlanToZod as Q, isRouteVisibleInStage as R, readInvalidBlockAdmission as S, siteBlockRenderContext as T, systemBlockDefinitions as U, allOutlineBlocks as V, siteFooterManifest as W, admitLayoutGridForPlan as X, registeredManifestContentContract as Y, deriveFieldValidationPlan as Z, buildRenderablePageOutline as _, solvedInksForThemeRuntime as a, encodePublicProductCategorySelector as at, invalidRenderableBlock as b, MissingBlockOverrideError as c, applyCompiledRuntimeFieldsToContent as ct, buildThemeRuntime as d, readPublishedBlockPlacement as dt, projectRepeaterGridLayoutForRendering as et, parseBlocksTheme as f, blockDesignInputsForDefinition as g, resolveRuntimeJoinFacts as h, renderWithSdkThemeRuntime as i, isRecord$6 as it, prefetchBlockDataWithFailures as j, requireSdkTheme as k, PageRenderer as l, compileEditorModelRuntime as lt, isEntryBoundBlockEmpty as m, planLayoutThemeRuntime as n, normalizeRepeaterGridSpan as nt, ThemeScope as o, parseListLook as ot, applyBindingsToContent as p, admitTransportedRenderableManifestContent as q, renderWithOverrideOnlyRuntime as r, resolveRepeaterGridAcceptedSpans as rt, EditorPageRenderer as s, buildPageDesignEditorReadModel as st, Page as t, flowRepeaterGridItems as tt, toBlocksPageRendererDataContext as u, isSupportedLoaderEndpoint$1 as ut, buildSiteRenderSupport as v, sanitizeSdkRuntimeBlockContent as w, projectRenderablePageOutline as x, collectMediaAssetSidecar as y, normalizeRenderStage as z };