@riverbankcms/sdk 0.175.0 → 0.176.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 (186) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
  2. package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-D-l374tU.d.ts} +8 -16
  3. package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
  4. package/dist/_dts/{client-B6tCvmG4.d.ts → client-D4p0J1lK.d.ts} +1 -1
  5. package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
  7. package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
  8. package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
  9. package/dist/_dts/{index-CQUzwOxO.d.ts → index-CKkkCgb6.d.ts} +1 -1
  10. package/dist/_dts/{index-Bl5_pjmq.d.ts → index-CoLcwjqJ.d.ts} +1 -1
  11. package/dist/_dts/{index-_pXaCO12.d.ts → index-D-ai8IQd.d.ts} +4 -4
  12. package/dist/_dts/{index-OtazQE3U.d.ts → index-DDsfmM4d.d.ts} +2 -2
  13. package/dist/_dts/{index-Btp5nIoz.d.ts → index-EJMo-KSo.d.ts} +2 -2
  14. package/dist/_dts/{index-DmhFb6R1.d.ts → index-ZKEDvLuN.d.ts} +1 -1
  15. package/dist/_dts/{index-YRQulWB4.d.ts → index-tcPtGdag.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
  17. package/dist/_dts/{request-BT8i_vH-.d.ts → request-B8jVdvgI.d.ts} +374 -24
  18. package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-Be4iL6-F.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +5 -177
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{types-CXL1QJSY.d.ts → types-BXMX4z2j.d.ts} +7 -7
  55. package/dist/_dts/{types-C0XZnjXz.d.ts → types-DXY64Xh4.d.ts} +4 -4
  56. package/dist/_dts/{types-OKzbqRBx.d.ts → types-lwSgCWZ4.d.ts} +11 -2
  57. package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-C5xp--Fu.d.ts} +7 -4
  58. package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
  60. package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
  62. package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
  63. package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
  64. package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
  66. package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
  67. package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
  68. package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
  69. package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
  70. package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
  71. package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
  73. package/dist/client/{Page-CWN_8cLZ.mjs → Page-F3lhDvw1.mjs} +329 -268
  74. package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
  75. package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
  76. package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
  77. package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
  78. package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
  79. package/dist/client/bookings.mjs +5 -5
  80. package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
  81. package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
  82. package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
  83. package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
  84. package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
  85. package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
  87. package/dist/client/client.mjs +36 -3
  88. package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
  89. package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
  90. package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
  91. package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
  92. package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
  93. package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
  94. package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
  95. package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
  96. package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
  97. package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
  98. package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
  99. package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
  100. package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
  101. package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
  102. package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
  103. package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
  104. package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
  105. package/dist/client/gifting/client.mjs +4 -4
  106. package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
  107. package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
  108. package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
  109. package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
  110. package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
  111. package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
  112. package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
  113. package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
  114. package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
  115. package/dist/client/portal/client.mjs +7 -7
  116. package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
  117. package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
  118. package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
  119. package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
  120. package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
  121. package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
  122. package/dist/client/rendering/client.mjs +23 -23
  123. package/dist/client/rendering/islands.mjs +1 -1
  124. package/dist/client/rendering.mjs +87 -22
  125. package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
  126. package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
  127. package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
  128. package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
  129. package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
  130. package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
  131. package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
  132. package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
  133. package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
  134. package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
  135. package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
  137. package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
  138. package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
  139. package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
  140. package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-0xyUPWUB.mjs} +3 -3
  141. package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +38 -35
  142. package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +77 -47
  145. package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +436 -278
  146. package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
  147. package/dist/preview-next/client/runtime.mjs +3 -3
  148. package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
  149. package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-DbKozRSn.mjs} +1 -1
  150. package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
  151. package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +16 -2
  152. package/dist/preview-next/keepAlive.mjs +1 -1
  153. package/dist/preview-next/middleware.mjs +1 -1
  154. package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BYezcMx5.mjs} +8 -0
  155. package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
  156. package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
  157. package/dist/server/{client-CgghATBm.mjs → client-Bvag5OtW.mjs} +35 -3
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/server/data/resolveBlockData.mjs +1 -1
  161. package/dist/server/index.mjs +2 -2
  162. package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
  163. package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
  164. package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
  165. package/dist/server/next.mjs +6 -6
  166. package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
  167. package/dist/server/page-converter.mjs +1 -1
  168. package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
  169. package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
  170. package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-D23o5QgC.mjs} +111 -66
  171. package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-BuoXWT9y.mjs} +1 -1
  172. package/dist/server/prebuild.mjs +1 -1
  173. package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
  174. package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
  175. package/dist/server/rendering/components/pageShared.mjs +1 -1
  176. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  177. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  178. package/dist/server/rendering/server.mjs +4 -4
  179. package/dist/server/rendering.mjs +7 -7
  180. package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
  181. package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
  182. package/dist/server/server.mjs +3 -3
  183. package/dist/server/{validation-3puM5SM8.mjs → validation-CozQ7wE0.mjs} +4 -4
  184. package/dist/server/{version-B8g-Wx57.mjs → version-CgCWRFEY.mjs} +1 -1
  185. package/package.json +1 -1
  186. package/dist/server/identity-DQD_8lNO.mjs +0 -6
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { n as EventRegistrationIslandClient } from "./event-registration.client-CAdcpnLc.mjs";
3
- import { t as BlockApiProvider } from "./context-D8TpQXjX.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
2
+ import { n as EventRegistrationIslandClient } from "./event-registration.client-DWvSODTI.mjs";
3
+ import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CcGWvyht.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BgO0rZce.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D8TpQXjX.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
4
- import { t as FormNodeClient } from "./form.client-BU6dM0-C.mjs";
2
+ import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
4
+ import { t as FormNodeClient } from "./form.client-BVlz-9_t.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
7
7
  import "react";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { i as ok, n as assertNever, r as err } from "./noop-DF8_EiFt.mjs";
3
- import { n as useBlockApi } from "./context-D8TpQXjX.mjs";
4
- import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
2
+ import { i as ok, n as assertNever, r as err } from "./noop-CaQxI-Js.mjs";
3
+ import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
4
+ import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
5
5
  import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Db0Iq7nx.mjs";
7
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-TB4UIrML.mjs";
8
8
  import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
9
9
  import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
10
10
  import { useReducer, useRef } from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as listLookControl, r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
2
+ import { n as listLookControl, r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
3
3
  import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
4
4
  import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
5
5
  import "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Yt as formatDateTime, hn as parseUtcIsoDateTimeString, qt as formatDate$1, un as parseBookingLocalDate } from "./noop-DF8_EiFt.mjs";
2
+ import { Jt as formatDateTime, Kt as formatDate$1, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString } from "./noop-CaQxI-Js.mjs";
3
3
  //#region ../blocks/src/bindings/formatDate.ts
4
4
  /** Admit stored civil dates or offset-aware instants before core projection. */
5
5
  function formatDate(value, context, options) {
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  "use client";
3
- import { Sn as formatGiftCardAmountLabel, gn as toUtcIsoDateTimeString, pn as resolveBookingTimeZoneId, qt as formatDate, t as logger } from "../noop-DF8_EiFt.mjs";
4
- import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-D8TpQXjX.mjs";
3
+ import { Kt as formatDate, fn as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, t as logger, xn as formatGiftCardAmountLabel } from "../noop-CaQxI-Js.mjs";
4
+ import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-R9p5c8IH.mjs";
5
5
  import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DuaYtnvG.mjs";
6
6
  import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
7
- import { s as readChosenGiftAmounts } from "../gifting.parts-C2u4Y-pf.mjs";
8
- import { t as GiftingClient } from "../gifting.client-BVa2XYJB.mjs";
7
+ import { s as readChosenGiftAmounts } from "../gifting.parts-CTA1sDW6.mjs";
8
+ import { t as GiftingClient } from "../gifting.client-B__bGhFc.mjs";
9
9
  import React from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { useRouter } from "next/navigation";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D8TpQXjX.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
4
- import { s as readChosenGiftAmounts } from "./gifting.parts-C2u4Y-pf.mjs";
5
- import { t as GiftingClient } from "./gifting.client-BVa2XYJB.mjs";
2
+ import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
4
+ import { s as readChosenGiftAmounts } from "./gifting.parts-CTA1sDW6.mjs";
5
+ import { t as GiftingClient } from "./gifting.client-B__bGhFc.mjs";
6
6
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { n as assertNever, xn as formatCurrencyAmount } from "./noop-DF8_EiFt.mjs";
3
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-Dr5lj4oY.mjs";
4
- import { n as useBlockApi } from "./context-D8TpQXjX.mjs";
2
+ import { bn as formatCurrencyAmount, n as assertNever } from "./noop-CaQxI-Js.mjs";
3
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BYACYP0T.mjs";
4
+ import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
5
5
  import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
- import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-C2u4Y-pf.mjs";
7
+ import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CTA1sDW6.mjs";
8
8
  import { startTransition, useEffect, useReducer, useRef, useState } from "react";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region ../blocks/src/system/runtime/nodes/gifting.client.state.ts
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { xn as formatCurrencyAmount } from "./noop-DF8_EiFt.mjs";
3
- import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
2
+ import { bn as formatCurrencyAmount } from "./noop-CaQxI-Js.mjs";
3
+ import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/gifting.parts.tsx
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
3
- import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-Ciuhsk0E.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
3
+ import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-DEYDI54E.mjs";
4
4
  //#region src/rendering/islands/enhancers/headerSection.ts
5
5
  const decode = defineIslandPropsDecoder("headerSection");
6
6
  const enhance = (root, props) => {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { B as headingDecorationOverrideValues, F as arrangementModes, H as tileTreatmentValues, I as decorativeTransitionIntentValues, L as eventListTreatmentValues, M as accordionIconColorTokenValues, N as accordionIconMotionValues, P as accordionIconSetValues, R as eyebrowTreatmentValues, U as visibleHeadingDecorationFamilyValues, V as isArrangementMode, ct as imageMediaSchema, ft as videoMediaSchema, lt as mediaSchema, ot as assetMediaSchema, st as externalMediaSchema, z as headingDecorationColorTokenValues } from "./noop-DF8_EiFt.mjs";
2
+ import { B as headingDecorationOverrideValues, F as arrangementModes, H as tileTreatmentValues, I as decorativeTransitionIntentValues, L as eventListTreatmentValues, M as accordionIconColorTokenValues, N as accordionIconMotionValues, P as accordionIconSetValues, R as eyebrowTreatmentValues, U as visibleHeadingDecorationFamilyValues, V as isArrangementMode, ct as imageMediaSchema, ft as videoMediaSchema, lt as mediaSchema, ot as assetMediaSchema, st as externalMediaSchema, z as headingDecorationColorTokenValues } from "./noop-CaQxI-Js.mjs";
3
3
  import { At as featuresFromHex, Ct as resolveOpaqueSurfaceHex, Et as requirePaletteColorsFromEntries, F as defineButtonStyleRecipe, I as mapButtonRoleAppearances, K as rgbColorValue, L as mapButtonVisualAppearances, Ot as preparePaletteColourIndex, St as resolveConcreteColorHex, Tt as paletteValueKeySchema, Y as resolveSurfaceForeground, _ as contextualButtonSurfaceResetStyles, _t as surfaceInkDeclarations, a as requireResolvedSurface, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, h as scrimTone, ht as surfaceForegroundValue, i as prepareThemeSurfaceRevision, it as contrastThresholdByPolicy, j as ELEVATION_OFFSET, m as minimumScrimOpacity, o as resolveSurface, ot as expandPalette, p as gradientScrimSamples, t as parseResolvedSurface, u as surfaceTransportContext, ut as SURFACE_FOREGROUND_CSS_VARS, wt as paletteValueKey, xt as ownedThemeSnapshot } from "./accessibleSurfaces-DN8it_Cx.mjs";
4
4
  import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, O as themeColorTokenSchema, S as paletteColorEntries, T as paletteModeSchema, b as isThemeColorToken, c as buttonEffectApplicationSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, l as buttonPressOffsetSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, w as paletteColorsSchema, y as hexColorSchema } from "./types-DjWUR_O6.mjs";
5
5
  import { z } from "zod";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { On as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CJAINJr3.mjs";
3
- import { n as assertNever } from "./noop-DF8_EiFt.mjs";
2
+ import { On as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CxDJ8P2r.mjs";
3
+ import { n as assertNever } from "./noop-CaQxI-Js.mjs";
4
4
  import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
5
- import { i as BlockApiError, n as useBlockApi } from "./context-D8TpQXjX.mjs";
6
- import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
5
+ import { i as BlockApiError, n as useBlockApi } from "./context-R9p5c8IH.mjs";
6
+ import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
7
7
  import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
8
8
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
9
- import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D5UfUaD3.mjs";
9
+ import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DN9wD1ZG.mjs";
10
10
  import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
11
11
  import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
12
12
  import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
2
+ import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
3
3
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
4
4
  import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
5
5
  import "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D8TpQXjX.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
4
- import { t as NewsletterFormClient } from "./newsletter-form.client-BMGRiRpo.mjs";
2
+ import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
4
+ import { t as NewsletterFormClient } from "./newsletter-form.client-B17WYHxZ.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
7
7
  import "react";
@@ -990,14 +990,6 @@ function toLocationCoordinates(value) {
990
990
  lng: value.lng
991
991
  };
992
992
  }
993
- /** Decide permission before loading or projecting the selected source. */
994
- function decideLocationSourcePermission(source, businessAddressVisibility) {
995
- if (source === "business_address" && businessAddressVisibility === void 0) return { kind: "unresolved" };
996
- return source === "business_address" && businessAddressVisibility === "hidden" ? { kind: "hidden" } : {
997
- kind: "permitted",
998
- source
999
- };
1000
- }
1001
993
  //#endregion
1002
994
  //#region ../core/src/event-series-behaviour.ts
1003
995
  const EVENT_PRESET_VALUES = [
@@ -2108,6 +2100,7 @@ const publicEventBaseSchema = z.object({
2108
2100
  "online",
2109
2101
  "hybrid"
2110
2102
  ]),
2103
+ addressAfterBooking: z.literal(true).optional(),
2111
2104
  attendanceModes: z.array(publicEventAttendanceModeAvailabilitySchema),
2112
2105
  startsAt: z.string(),
2113
2106
  endsAt: z.string(),
@@ -2562,4 +2555,4 @@ const logger = {
2562
2555
  withFields: (_) => logger
2563
2556
  };
2564
2557
  //#endregion
2565
- export { toBookingRequirementConsentField as $, formatTimeZoneCityLabel as $t, normalizeEventCalendarDisplayMode as A, publicEventLoaderQuerySchemaShape as At, headingDecorationOverrideValues as B, parseLocationValue as Bt, eventCalendarListGroupingDecision as C, purchasablePublicMembershipProductSchema as Ct, isEventCalendarDefaultView as D, eventScheduleScopeValues as Dt, eventListArrangementValues as E, calendarWindowQuerySchema as Et, arrangementModes as F, EVENT_PRESET_VALUES as Ft, publicEventDestinationSchema as G, trimmedStringOrNull as Gt, tileTreatmentValues as H, publicLocationSchema as Ht, decorativeTransitionIntentValues as I, WHOLE_SERIES_EVENT_PRESET_VALUES as It, publicEventsArraySchema as J, formatDateRange as Jt, publicEventPricingSchema as K, mapDrawingSchema as Kt, eventListTreatmentValues as L, decideLocationSourcePermission as Lt, accordionIconColorTokenValues as M, allocateReductionCents as Mt, accordionIconMotionValues as N, normalizeCurrencyCode as Nt, isEventCalendarDisplayMode as O, eventSurfacePresetValues as Ot, accordionIconSetValues as P, isRecord as Pt, isBookingRequirementConsentFieldId as Q, formatTimeRange as Qt, eyebrowTreatmentValues as R, locationValueSchema as Rt, resolveCalendarReadProfile as S, formatGiftCardAmountLabel as Sn, publicProductSchema as St, eventCalendarVariantMeaning as T, calendarMonthDate as Tt, visibleHeadingDecorationFamilyValues as U, toLocationCoordinates as Ut, isArrangementMode as V, projectPublicLocation as Vt, eventVenueDrawingSchema as W, capitalize as Wt, blockBookingConsentSchema as X, formatDateTimeRange as Xt, blockBookingPaymentTermsSchema as Y, formatDateTime as Yt, bookingConsentCarrierSchema as Z, formatTime as Zt, calendarQueryKey as _, validateBookingPaymentOptionKinds as _n, eventCalendarDisplayModeValues as _t, okWith as a, addLocalScheduleDays as an, isRichTextDoc as at, calendarWindowPageSchema as b, toNonNegativeCents as bn, publicMembershipProductSchema as bt, reportWorkflowSuccess as c, getBookingLocalDateKey as cn, imageMediaSchema as ct, EVENT_BOOKING_RESPONSE_QUERY as d, parseLocalScheduleTime as dn, runtimeMediaSchema as dt, inferSiteDateLocale as en, beforeBookingQuestionsPresentationSchema as et, eventAutoApplyDiscountPreviewSchema as f, resolveBookingBusinessTimeZone as fn, videoMediaSchema as ft, calendarPageResponseError as g, toUtcIsoDateTimeString as gn, eventCalendarDefaultViewValues as gt, calendarMonthKey as h, parseUtcIsoDateTimeString as hn, mediaTypeDiscriminants as ht, ok as i, buildBookingUtcDateWindow as in, createRichTextDoc as it, resolveEventCalendarReadPlan as j, unsafeAsPositiveCheckoutQuantity as jt, isEventCalendarListLayout as k, eventSurfaceScopeValues as kt, blockSiteTermsSchema as l, getLocalScheduleDate as ln, mediaSchema as lt, publicPassProductCollectionSchema as m, toBookingTimeZone as mn, isDisplayMediaKind as mt, assertNever as n, formatBookingCompactEnglishTime as nn, RichTextDocSchema as nt, clearWorkflowFeedback as o, compareLocalScheduleDates as on, assetMediaSchema as ot, publicMembershipProductCollectionSchema as p, resolveBookingTimeZoneId as pn, PUBLIC_FILE_FIELD_KINDS as pt, publicEventSchema as q, formatDate as qt, err as r, toScheduledBookingDateTime as rn, buildRichTextSchema as rt, reportWorkflowError as s, formatLocalScheduleDate as sn, externalMediaSchema as st, logger as t, resolveBookingDisplayContext as tn, bookingQuestionsAnswerValueSchema as tt, verifiedSiteTermsAcceptanceSchema as u, parseBookingLocalDate as un, persistableMediaSchema as ut, calendarWindowBounds as v, parsePositiveCents as vn, eventCalendarListLayoutCompatibleDisplayModeValues as vt, eventCalendarListLayoutOptions as w, purchasablePublicPassProductSchema as wt, planCalendarMonthRanges as x, formatCurrencyAmount as xn, publicPassProductSchema as xt, calendarWindowMonths as y, parsePositiveMoneyInputToCents as yn, eventCalendarListLayoutValues as yt, headingDecorationColorTokenValues as z, normalizeLocationAddressText as zt };
2558
+ export { toBookingRequirementConsentField as $, inferSiteDateLocale as $t, normalizeEventCalendarDisplayMode as A, publicEventLoaderQuerySchemaShape as At, headingDecorationOverrideValues as B, projectPublicLocation as Bt, eventCalendarListGroupingDecision as C, purchasablePublicMembershipProductSchema as Ct, isEventCalendarDefaultView as D, eventScheduleScopeValues as Dt, eventListArrangementValues as E, calendarWindowQuerySchema as Et, arrangementModes as F, EVENT_PRESET_VALUES as Ft, publicEventDestinationSchema as G, mapDrawingSchema as Gt, tileTreatmentValues as H, toLocationCoordinates as Ht, decorativeTransitionIntentValues as I, WHOLE_SERIES_EVENT_PRESET_VALUES as It, publicEventsArraySchema as J, formatDateTime as Jt, publicEventPricingSchema as K, formatDate as Kt, eventListTreatmentValues as L, locationValueSchema as Lt, accordionIconColorTokenValues as M, allocateReductionCents as Mt, accordionIconMotionValues as N, normalizeCurrencyCode as Nt, isEventCalendarDisplayMode as O, eventSurfacePresetValues as Ot, accordionIconSetValues as P, isRecord as Pt, isBookingRequirementConsentFieldId as Q, formatTimeZoneCityLabel as Qt, eyebrowTreatmentValues as R, normalizeLocationAddressText as Rt, resolveCalendarReadProfile as S, publicProductSchema as St, eventCalendarVariantMeaning as T, calendarMonthDate as Tt, visibleHeadingDecorationFamilyValues as U, capitalize as Ut, isArrangementMode as V, publicLocationSchema as Vt, eventVenueDrawingSchema as W, trimmedStringOrNull as Wt, blockBookingConsentSchema as X, formatTime as Xt, blockBookingPaymentTermsSchema as Y, formatDateTimeRange as Yt, bookingConsentCarrierSchema as Z, formatTimeRange as Zt, calendarQueryKey as _, parsePositiveCents as _n, eventCalendarDisplayModeValues as _t, okWith as a, compareLocalScheduleDates as an, isRichTextDoc as at, calendarWindowPageSchema as b, formatCurrencyAmount as bn, publicMembershipProductSchema as bt, reportWorkflowSuccess as c, getLocalScheduleDate as cn, imageMediaSchema as ct, EVENT_BOOKING_RESPONSE_QUERY as d, resolveBookingBusinessTimeZone as dn, runtimeMediaSchema as dt, resolveBookingDisplayContext as en, beforeBookingQuestionsPresentationSchema as et, eventAutoApplyDiscountPreviewSchema as f, resolveBookingTimeZoneId as fn, videoMediaSchema as ft, calendarPageResponseError as g, validateBookingPaymentOptionKinds as gn, eventCalendarDefaultViewValues as gt, calendarMonthKey as h, toUtcIsoDateTimeString as hn, mediaTypeDiscriminants as ht, ok as i, addLocalScheduleDays as in, createRichTextDoc as it, resolveEventCalendarReadPlan as j, unsafeAsPositiveCheckoutQuantity as jt, isEventCalendarListLayout as k, eventSurfaceScopeValues as kt, blockSiteTermsSchema as l, parseBookingLocalDate as ln, mediaSchema as lt, publicPassProductCollectionSchema as m, parseUtcIsoDateTimeString as mn, isDisplayMediaKind as mt, assertNever as n, toScheduledBookingDateTime as nn, RichTextDocSchema as nt, clearWorkflowFeedback as o, formatLocalScheduleDate as on, assetMediaSchema as ot, publicMembershipProductCollectionSchema as p, toBookingTimeZone as pn, PUBLIC_FILE_FIELD_KINDS as pt, publicEventSchema as q, formatDateRange as qt, err as r, buildBookingUtcDateWindow as rn, buildRichTextSchema as rt, reportWorkflowError as s, getBookingLocalDateKey as sn, externalMediaSchema as st, logger as t, formatBookingCompactEnglishTime as tn, bookingQuestionsAnswerValueSchema as tt, verifiedSiteTermsAcceptanceSchema as u, parseLocalScheduleTime as un, persistableMediaSchema as ut, calendarWindowBounds as v, parsePositiveMoneyInputToCents as vn, eventCalendarListLayoutCompatibleDisplayModeValues as vt, eventCalendarListLayoutOptions as w, purchasablePublicPassProductSchema as wt, planCalendarMonthRanges as x, formatGiftCardAmountLabel as xn, publicPassProductSchema as xt, calendarWindowMonths as y, toNonNegativeCents as yn, eventCalendarListLayoutValues as yt, headingDecorationColorTokenValues as z, parseLocationValue as zt };
@@ -1,18 +1,18 @@
1
1
  "use client";
2
2
  "use client";
3
- import { n as assertNever, t as logger, xn as formatCurrencyAmount, yn as parsePositiveMoneyInputToCents } from "../noop-DF8_EiFt.mjs";
3
+ import { bn as formatCurrencyAmount, n as assertNever, t as logger, vn as parsePositiveMoneyInputToCents } from "../noop-CaQxI-Js.mjs";
4
4
  import { D as unsafeAsAppointmentResourceId, T as assertNever$1, c as initialBookingQuestionValues, f as unansweredRequiredBookingQuestions, g as formatCreditProductUnits, i as UNANSWERED_QUESTION_MESSAGE, m as formatCreditProductBalance, n as getCreditProductTypeLabel, r as UNANSWERED_QUESTIONS_SUMMARY, t as deriveCreditProductLabels, y as formatOrderInstalmentStatusLabel$1 } from "../creditProducts-BQ1t1erI.mjs";
5
5
  import { t as generateUuidV4 } from "../uuid-BETKW8rS.mjs";
6
- import { n as useAvailableDates, s as clientPersonPhrases, t as useAvailableSlots } from "../useAvailableSlots-BomyyKeo.mjs";
7
- import { a as createBlockApi, i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-D8TpQXjX.mjs";
6
+ import { n as useAvailableDates, s as clientPersonPhrases, t as useAvailableSlots } from "../useAvailableSlots-BGu_2F50.mjs";
7
+ import { a as createBlockApi, i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-R9p5c8IH.mjs";
8
8
  import { S as clsx, i as ThemedButtonLink, l as SpinnerNode, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton } from "../ThemedButton-DuaYtnvG.mjs";
9
9
  import { t as resolveDedicatedBookingHref } from "../bookingRoute-D6DlxYx6.mjs";
10
- import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-CUFxBaTM.mjs";
10
+ import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-MbvIo2jS.mjs";
11
11
  import { t as ModalShell } from "../ModalShell-B_fHWK71.mjs";
12
12
  import { t as TabBarFragment } from "../TabBarFragment-BqfRLojo.mjs";
13
- import { t as formatDate } from "../formatDate-DFfWHpQB.mjs";
14
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-BdcuW_pa.mjs";
15
- import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-ABCZWkpT.mjs";
13
+ import { t as formatDate } from "../formatDate-TDHhFjFN.mjs";
14
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-tZxIm3RL.mjs";
15
+ import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-CF6FWCoo.mjs";
16
16
  import * as React$1 from "react";
17
17
  import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
18
18
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ProductDetailController } from "./shop-commerce-aQqcDmyZ.mjs";
2
+ import { r as ProductDetailController } from "./shop-commerce-C-I29eaA.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as ProductListController } from "./shop-commerce-aQqcDmyZ.mjs";
2
+ import { i as ProductListController } from "./shop-commerce-C-I29eaA.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
3
- import { t as ProductDetailClient } from "./product-detail.client-D-XNir0m.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-DwVAuGsx.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
3
+ import { t as ProductDetailClient } from "./product-detail.client-Di_anRGR.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.mjs";
5
5
  //#region src/rendering/islands/enhancers/productDetail.tsx
6
6
  const decode = defineIslandPropsDecoder("product-detail");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
3
- import { t as ProductListClient } from "./product-list.client-BLfYQ-qi.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-DwVAuGsx.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
3
+ import { t as ProductListClient } from "./product-list.client-Duhl6rtL.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.mjs";
5
5
  //#region src/rendering/islands/enhancers/productList.tsx
6
6
  const decode = defineIslandPropsDecoder("product-list");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { A as formInteractiveIslandPropsCodec, C as newsletterFormInteractiveIslandPropsCodec, Dt as eventListingInteractiveIslandPropsCodec, E as giftingInteractiveIslandPropsCodec, F as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, gt as eventCombinedInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, vn as headerChromeRuntimeContractSchema, xt as eventCalendarInteractiveIslandPropsCodec } from "./shop.interactive-CJAINJr3.mjs";
3
- import { Ga as eventRegistrationPageSurfaceSubjectSchema, gi as bookingFormInteractiveIslandPropsCodec, vo as createZodCodec, xo as isDecodeSuccess } from "./display-DMqotaGU.mjs";
4
- import { W as eventVenueDrawingSchema, f as eventAutoApplyDiscountPreviewSchema, m as publicPassProductCollectionSchema, p as publicMembershipProductCollectionSchema, q as publicEventSchema } from "./noop-DF8_EiFt.mjs";
5
- import { i as lookListPresentationSchemaShape } from "./lookSurfaces-BDZLALxj.mjs";
2
+ import { A as formInteractiveIslandPropsCodec, C as newsletterFormInteractiveIslandPropsCodec, Dt as eventListingInteractiveIslandPropsCodec, E as giftingInteractiveIslandPropsCodec, F as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, gt as eventCombinedInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, vn as headerChromeRuntimeContractSchema, xt as eventCalendarInteractiveIslandPropsCodec } from "./shop.interactive-CxDJ8P2r.mjs";
3
+ import { So as createZodCodec, To as isDecodeSuccess, Ya as eventRegistrationPageSurfaceSubjectSchema, bi as bookingFormInteractiveIslandPropsCodec } from "./display-4HYOb-AK.mjs";
4
+ import { W as eventVenueDrawingSchema, f as eventAutoApplyDiscountPreviewSchema, m as publicPassProductCollectionSchema, p as publicMembershipProductCollectionSchema, q as publicEventSchema } from "./noop-CaQxI-Js.mjs";
5
+ import { i as lookListPresentationSchemaShape } from "./lookSurfaces-BwiNdgMU.mjs";
6
6
  import { z } from "zod";
7
7
  //#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
8
8
  const eventDetailsLookSchemaShape = {
@@ -1,36 +1,36 @@
1
1
  "use client";
2
- import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CJAINJr3.mjs";
2
+ import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CxDJ8P2r.mjs";
3
3
  import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { Aa as isBlockButtonRole, Eo as parseAspectRatioValue, Fr as resolvePublicMediaUrl, Ja as resolveEventRegistrationScopedEvents, Ka as normalizeEventRegistrationPageSurfaceSubject, Oa as BLOCK_BUTTON_ROLE_OPTIONS, Ro as resolveWholeSeriesBookingPhase, To as sanitizeHref, Tr as ImagePresets, Wr as asPartialObject, Xo as formatBookingPriceDisplay, Zr as buildCalendarViewport, _i as buildBookingFormInteractiveIslandProps, _o as groupPublicEventsByRun, ai as formatEventCompactDateRail, ao as isBookableEvent, ei as eventDateOptions, fi as formatTime, hi as resolveRuntimeEventDestination, is as resolvePricingOptionsPriceDisplay, ni as formatCalendarTitle, pi as groupEventsByDate, rs as resolveExactOrFreePriceDisplay, si as formatEventHourLabel, ui as formatEventTimeRange, wr as RichText, yr as bookingPresentation } from "./display-DMqotaGU.mjs";
5
- import { A as normalizeEventCalendarDisplayMode$1, Bt as parseLocationValue, D as isEventCalendarDefaultView, F as arrangementModes, Gt as trimmedStringOrNull, Ht as publicLocationSchema, J as publicEventsArraySchema, O as isEventCalendarDisplayMode, T as eventCalendarVariantMeaning, Ut as toLocationCoordinates, Vt as projectPublicLocation, b as calendarWindowPageSchema, dt as runtimeMediaSchema, fn as resolveBookingBusinessTimeZone, gn as toUtcIsoDateTimeString, ht as mediaTypeDiscriminants, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, m as publicPassProductCollectionSchema, mt as isDisplayMediaKind, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, qt as formatDate, w as eventCalendarListLayoutOptions, zt as normalizeLocationAddressText } from "./noop-DF8_EiFt.mjs";
4
+ import { Ao as parseAspectRatioValue, Fr as resolvePublicMediaUrl, Ho as resolveWholeSeriesBookingPhase, Ma as BLOCK_BUTTON_ROLE_OPTIONS, Pa as isBlockButtonRole, Qa as resolveEventRegistrationScopedEvents, Tr as ImagePresets, Wr as asPartialObject, Xa as normalizeEventRegistrationPageSurfaceSubject, _i as groupEventsByDate, cs as resolveExactOrFreePriceDisplay, di as formatEventHourLabel, ei as formatEventLocation, gi as formatTime, ii as eventDateOptions, ko as sanitizeHref, li as formatEventCompactDateRail, lo as isBookableEvent, ls as resolvePricingOptionsPriceDisplay, mi as formatEventTimeRange, oi as formatCalendarTitle, ti as buildCalendarViewport, ts as formatBookingPriceDisplay, wr as RichText, xi as buildBookingFormInteractiveIslandProps, xo as groupPublicEventsByRun, yi as resolveRuntimeEventDestination, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
5
+ import { A as normalizeEventCalendarDisplayMode$1, Bt as projectPublicLocation, D as isEventCalendarDefaultView, F as arrangementModes, Ht as toLocationCoordinates, J as publicEventsArraySchema, Kt as formatDate, O as isEventCalendarDisplayMode, Rt as normalizeLocationAddressText, T as eventCalendarVariantMeaning, Vt as publicLocationSchema, Wt as trimmedStringOrNull, b as calendarWindowPageSchema, dn as resolveBookingBusinessTimeZone, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, ht as mediaTypeDiscriminants, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, m as publicPassProductCollectionSchema, mt as isDisplayMediaKind, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, w as eventCalendarListLayoutOptions, zt as parseLocationValue } from "./noop-CaQxI-Js.mjs";
6
6
  import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
7
7
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
8
8
  import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
9
- import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-DBTIFWTb.mjs";
9
+ import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel--R0zVzZO.mjs";
10
10
  import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
11
11
  import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-DN8it_Cx.mjs";
12
12
  import { h as SYSTEM_BLOCK_KINDS } from "./types-DjWUR_O6.mjs";
13
- import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BDZLALxj.mjs";
14
- import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-C-gFwhnO.mjs";
13
+ import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
14
+ import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-B_hcuT06.mjs";
15
15
  import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DuaYtnvG.mjs";
16
- import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-Cw4EmEPv.mjs";
17
- import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-DHmeQAvq.mjs";
18
- import { i as SvgNode, s as formatEventLocation } from "./MapDrawingSvg-BJzmFdcn.mjs";
19
- import { n as CardListItems, r as EventItem } from "./EventItem-BybMSKNL.mjs";
20
- import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, u as CalendarDayHeaders } from "./CalendarNavigationChevron-Ch0w0Utn.mjs";
21
- import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-r31k8Icz.mjs";
16
+ import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-BbzH5MQb.mjs";
17
+ import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
18
+ import { n as CardListItems, r as EventItem } from "./EventItem-B0WjGXsH.mjs";
19
+ import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, u as CalendarDayHeaders } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
20
+ import { i as SvgNode } from "./MapDrawingSvg-BfsVyPvB.mjs";
21
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BEH4UbSL.mjs";
22
22
  import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
23
23
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
24
- import { t as BookingPanelArrangement } from "./BookingPanelArrangement-DrdtON0q.mjs";
24
+ import { t as BookingPanelArrangement } from "./BookingPanelArrangement-BShQSial.mjs";
25
25
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
26
26
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
27
- import { t as coerceRichTextDoc } from "./richText-coerce-CDAfpMQU.mjs";
28
- import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BTk470k0.mjs";
29
- import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-C2u4Y-pf.mjs";
30
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-uvWRE5wi.mjs";
31
- import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-C7RJBOW3.mjs";
32
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Db0Iq7nx.mjs";
33
- import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D5UfUaD3.mjs";
27
+ import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
28
+ import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-3foOzGWR.mjs";
29
+ import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CTA1sDW6.mjs";
30
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-8Ij7vuxY.mjs";
31
+ import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-Bb7rPtSq.mjs";
32
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-TB4UIrML.mjs";
33
+ import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DN9wD1ZG.mjs";
34
34
  import React, { forwardRef } from "react";
35
35
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
36
36
  import { z } from "zod";
@@ -234,6 +234,21 @@ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
234
234
  addressWithBooking: z.boolean().optional()
235
235
  }).readonly();
236
236
  //#endregion
237
+ //#region ../site-contracts/src/siteData/mapLocation.ts
238
+ /** Site and preview authority belong to transport, never to the selected source. */
239
+ const publicMapLocationParamsSchema = z.discriminatedUnion("source", [z.object({
240
+ source: z.literal("venue"),
241
+ venueId: z.string().uuid()
242
+ }), z.object({ source: z.literal("business_address") })]);
243
+ const publicMapLocationResultSchema = z.discriminatedUnion("kind", [
244
+ z.object({
245
+ kind: z.literal("shown"),
246
+ location: publicVenueMapLocationSchema
247
+ }),
248
+ z.object({ kind: z.literal("hidden") }),
249
+ z.object({ kind: z.literal("not_found") })
250
+ ]);
251
+ //#endregion
237
252
  //#region ../core/src/links.ts
238
253
  const nullableString = z.union([z.string().min(1), z.null()]);
239
254
  const RESOLVED_INTERNAL_LINK_ENTITY_TYPES = [
@@ -2165,6 +2180,17 @@ const LOCATION_MAP_LIMITS = {
2165
2180
  max: 600
2166
2181
  }
2167
2182
  };
2183
+ /** Each source has its own loader, so a venue map never asks for the business address. */
2184
+ const LOCATION_MAP_LOADER_KEYS = {
2185
+ venue: "venueMapLocation",
2186
+ business_address: "businessMapLocation"
2187
+ };
2188
+ /** Loader data crosses transport boundaries, so anything unrecognised counts as not loaded. */
2189
+ function parseLocationMapLoaderResult(value) {
2190
+ if (value === void 0 || value === null) return void 0;
2191
+ const parsed = publicMapLocationResultSchema.safeParse(value);
2192
+ return parsed.success ? parsed.data : void 0;
2193
+ }
2168
2194
  function normalizeNumber(value, fallback) {
2169
2195
  if (typeof value === "number" && Number.isFinite(value)) return value;
2170
2196
  if (typeof value === "string") {
@@ -2200,14 +2226,14 @@ function normalizeLocationMapSource(value) {
2200
2226
  function resolveLocationMapLocation(input) {
2201
2227
  const source = normalizeLocationMapSource(input.locationSource);
2202
2228
  if (source === "business_address") {
2203
- const locationValue = normalizeLocationMapValue(input.businessAddress, input.siteCountry);
2229
+ const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
2204
2230
  return locationValue ? {
2205
2231
  kind: "business_address",
2206
2232
  locationValue
2207
2233
  } : {
2208
2234
  kind: "unresolved",
2209
2235
  source,
2210
- reason: "missing_business_address"
2236
+ reason: unresolvedLoadReason(input.loaded, "missing_business_address")
2211
2237
  };
2212
2238
  }
2213
2239
  if (source === "venue") {
@@ -2217,15 +2243,16 @@ function resolveLocationMapLocation(input) {
2217
2243
  source,
2218
2244
  reason: "missing_venue_id"
2219
2245
  };
2220
- const locationValue = input.venuesById ? normalizeLocationMapValue(input.venuesById[venueId] ?? null, input.siteCountry) : null;
2246
+ const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
2221
2247
  return locationValue ? {
2222
2248
  kind: "venue",
2223
2249
  venueId,
2224
- locationValue
2250
+ locationValue,
2251
+ disclosure: loadedDisclosure(input.loaded)
2225
2252
  } : {
2226
2253
  kind: "unresolved",
2227
2254
  source,
2228
- reason: "missing_venue_location"
2255
+ reason: venueLoadReason(input.loaded)
2229
2256
  };
2230
2257
  }
2231
2258
  const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
@@ -2238,6 +2265,26 @@ function resolveLocationMapLocation(input) {
2238
2265
  reason: "missing_custom_location"
2239
2266
  };
2240
2267
  }
2268
+ function loadedLocationValue(loaded, siteCountry) {
2269
+ return loaded?.kind === "shown" ? normalizeLocationMapValue(loaded.location, siteCountry) : null;
2270
+ }
2271
+ function loadedDisclosure(loaded) {
2272
+ return loaded?.kind === "shown" && loaded.location.addressWithBooking ? "area" : "full";
2273
+ }
2274
+ function unresolvedLoadReason(loaded, missing) {
2275
+ switch (loaded?.kind) {
2276
+ case "hidden": return "hidden_business_address";
2277
+ case "pending": return "location_loading";
2278
+ case "failed": return "location_load_failed";
2279
+ case "shown":
2280
+ case "not_found":
2281
+ case void 0: return missing;
2282
+ }
2283
+ }
2284
+ /** Only the business address can be hidden; a venue that says so is simply unavailable. */
2285
+ function venueLoadReason(loaded) {
2286
+ return loaded?.kind === "hidden" ? "missing_venue_location" : unresolvedLoadReason(loaded, "missing_venue_location");
2287
+ }
2241
2288
  function describeUnresolvedLocationMapLocation(resolvedLocation) {
2242
2289
  if (resolvedLocation.kind !== "unresolved") return null;
2243
2290
  switch (resolvedLocation.reason) {
@@ -2245,11 +2292,20 @@ function describeUnresolvedLocationMapLocation(resolvedLocation) {
2245
2292
  case "missing_venue_id": return "Choose a venue to show this map.";
2246
2293
  case "missing_venue_location": return "The selected venue does not have location details yet.";
2247
2294
  case "missing_custom_location": return "Location details coming soon.";
2295
+ case "hidden_business_address": return "This map is hidden because your business address is hidden.";
2296
+ case "location_loading": return "Loading this map's location…";
2297
+ case "location_load_failed": return "We couldn't load this map's location. Reload the preview to try again.";
2248
2298
  }
2249
2299
  }
2250
2300
  function normalizeLocationMapProps(input) {
2251
2301
  const parsedHours = parseWeeklyOpeningHours(input.openingHours);
2252
- const resolvedLocation = resolveLocationMapLocation(input);
2302
+ const resolvedLocation = resolveLocationMapLocation({
2303
+ location: input.location,
2304
+ siteCountry: input.siteCountry,
2305
+ locationSource: input.locationSource,
2306
+ venueId: input.venueId,
2307
+ loaded: parseLocationMapLoaderResult(normalizeLocationMapSource(input.locationSource) === "venue" ? input.venueMapLocation : input.businessMapLocation)
2308
+ });
2253
2309
  const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
2254
2310
  const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
2255
2311
  return {
@@ -11786,4 +11842,4 @@ const serverComponentRegistry = {
11786
11842
  ...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
11787
11843
  };
11788
11844
  //#endregion
11789
- export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A, ICON_CONFIG as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, linkSchema as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, getAnchorClasses as Cn, repeat as Ct, shopBlockDefinition as D, ACCORDION_SPACING_MAP as Dn, text as Dt, productListBlockDefinition as E, ACCORDION_OPEN_ACCENT_THICKNESS as En, stack as Et, markEditableSurfaceForwarding as F, parseRepeaterGridInteger as Fn, parseBlockIconValue as Ft, withApiBindings as G, teamReadiness as Gt, formDataSchema as H, augmentManifest as Ht, splitPositioningClasses as I, resolveRepeaterGridColumnFieldId as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventReadinessLoaderKey as Jt, formCopyFragment as K, testimonialsReadiness as Kt, desktopOnlyDisplay as L, resolveRepeaterGridRowFieldId as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, bindingSchema as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, DEFAULT_MEDIA_FIELD_KINDS as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, ACCORDION_TRIGGER_FONT_SCALE as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, isAcceptedRepeaterGridSpan as Pn, normalizeCardListContent as Pt, sectionContainer as Q, eventWeekReadScope as Qt, mobileOnlyDisplay as R, resolveRepeaterGridSpanFieldId as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, BACKGROUND_POSITION_PRESET_VALUES as Sn, props as St, productDetailBlockDefinition as T, createButtonVariantField as Tn, section as Tt, createBlockManifest as U, chosenString as Ut, formBlockDefinition as V, isCanonicalRichTextDoc as Vn, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, galleryReadiness as Wt, styledSection as X, eventReadinessQueryKeys as Xt, resolveBackgroundColorValue as Y, eventReadinessQuery as Yt, styledContainer as Z, eventReadinessResultSchema as Zt, publicAppointmentLocationSchema as _, eventDisplayFields as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, hiddenFromVisitors as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, containerStylesField as bn, link as bt, HeaderSectionFrame as c, unavailableReadinessFact as cn, lookSlot as ct, accordionIconColorStyle as d, normalizeLocationMapProps as dn, bookingForm as dt, eventScopeLoaderParam as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, normalizeLocationMapSource as fn, button as ft, formatAppointmentPrice as g, emptyStateField as gn, form as gt, formatAppointmentLocation as h, columnsField as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, admitReadinessFacts as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, ICON_SIZE_PX as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ACCORDION_TRIGGER_LETTER_SPACING as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_DEFAULTS as ln, accordionList as lt, formatAppointmentDuration as m, cardStylingFields as mn, el as mt, runtimeBackedBlockModes as n, eventScopeQueryKeys as nn, defineFragment as nt, LocationMapSSR as o, loadedReadinessFact as on, lookQuoteLimitTransform as ot, SectionNode as p, resolveLocationMapLocation as pn, carousel as pt, sectionHeaderFields as q, blockChecksForEvents as qt, runtimeBackedBlockServerEntries as r, resolveEventScope as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, pageTemplateFromEntry as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, eventScopeQuery as tn, composeFragments as tt, accordionLookAttributes as u, LOCATION_MAP_LIMITS as un, bind as ut, publicAppointmentPricingSchema as v, layoutField as vn, icon as vt, cartBlockDefinition as w, createButtonGroup as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, sectionStylesField as xn, media as xt, offeringCourseSlotParents as y, cardStylesField as yn, inline as yt, teamMemberCardBiographyFallback as z, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as zn, parseFieldDefinition as zt };
11845
+ export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A, ACCORDION_SPACING_MAP as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, resolveRepeaterGridRowFieldId as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, containerStylesField as Cn, repeat as Ct, shopBlockDefinition as D, createButtonGroup as Dn, text as Dt, productListBlockDefinition as E, getAnchorClasses as En, stack as Et, markEditableSurfaceForwarding as F, bindingSchema as Fn, parseBlockIconValue as Ft, withApiBindings as G, publicMapLocationResultSchema as Gn, teamReadiness as Gt, formDataSchema as H, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Hn, augmentManifest as Ht, splitPositioningClasses as I, DEFAULT_MEDIA_FIELD_KINDS as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventReadinessLoaderKey as Jt, formCopyFragment as K, isCanonicalRichTextDoc as Kn, testimonialsReadiness as Kt, desktopOnlyDisplay as L, isAcceptedRepeaterGridSpan as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, ACCORDION_TRIGGER_LETTER_SPACING as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, ICON_CONFIG as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, createButtonVariantField as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, ICON_SIZE_PX as Pn, normalizeCardListContent as Pt, sectionContainer as Q, eventWeekReadScope as Qt, mobileOnlyDisplay as R, parseRepeaterGridInteger as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, cardStylesField as Sn, props as St, productDetailBlockDefinition as T, BACKGROUND_POSITION_PRESET_VALUES as Tn, section as Tt, createBlockManifest as U, linkSchema as Un, chosenString as Ut, formBlockDefinition as V, resolveRepeaterGridSpanFieldId as Vn, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, publicMapLocationParamsSchema as Wn, galleryReadiness as Wt, styledSection as X, eventReadinessQueryKeys as Xt, resolveBackgroundColorValue as Y, eventReadinessQuery as Yt, styledContainer as Z, eventReadinessResultSchema as Zt, publicAppointmentLocationSchema as _, cardStylingFields as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, hiddenFromVisitors as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, eventDisplayFields as bn, link as bt, HeaderSectionFrame as c, unavailableReadinessFact as cn, lookSlot as ct, accordionIconColorStyle as d, LOCATION_MAP_LOADER_KEYS as dn, bookingForm as dt, eventScopeLoaderParam as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, describeUnresolvedLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, resolveLocationMapLocation as gn, form as gt, formatAppointmentLocation as h, parseLocationMapLoaderResult as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, admitReadinessFacts as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, ACCORDION_TRIGGER_FONT_SCALE as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ACCORDION_OPEN_ACCENT_THICKNESS as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_DEFAULTS as ln, accordionList as lt, formatAppointmentDuration as m, normalizeLocationMapSource as mn, el as mt, runtimeBackedBlockModes as n, eventScopeQueryKeys as nn, defineFragment as nt, LocationMapSSR as o, loadedReadinessFact as on, lookQuoteLimitTransform as ot, SectionNode as p, normalizeLocationMapProps as pn, carousel as pt, sectionHeaderFields as q, blockChecksForEvents as qt, runtimeBackedBlockServerEntries as r, resolveEventScope as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, pageTemplateFromEntry as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, eventScopeQuery as tn, composeFragments as tt, accordionLookAttributes as u, LOCATION_MAP_LIMITS as un, bind as ut, publicAppointmentPricingSchema as v, columnsField as vn, icon as vt, cartBlockDefinition as w, sectionStylesField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, layoutField as xn, media as xt, offeringCourseSlotParents as y, emptyStateField as yn, inline as yt, teamMemberCardBiographyFallback as z, resolveRepeaterGridColumnFieldId as zn, parseFieldDefinition as zt };