@riverbankcms/sdk 0.180.0 → 0.182.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 (232) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
  9. package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
  10. package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
  11. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
  12. package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
  13. package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  28. package/dist/_dts/sdk/src/index.d.ts +104 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +83 -52
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  36. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
  54. package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
  55. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.mjs} +2 -2
  87. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  88. package/dist/client/{cart-BsjsdGZE.mjs → cart-BYOe7MCh.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
  93. package/dist/client/client.mjs +106 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.mjs} +2 -2
  112. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  113. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-rIYPziZC.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
  119. package/dist/client/portal/client.mjs +12202 -7166
  120. package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
  121. package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
  128. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  129. package/dist/client/rendering/client.mjs +26 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +16 -8
  132. package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-Bnng7JFA.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-Al4ooTl_.mjs +164 -0
  144. package/dist/client/{src-o7WEvbK1.mjs → src-CmXh3JWs.mjs} +233 -91
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
  164. package/dist/preview-next/container-responsive.css +203 -174
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-BHTBA48n.mjs} +90 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-CeMywaiD.mjs +1485 -0
  177. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  178. package/dist/server/data/resolveBlockData.mjs +1 -1
  179. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
  182. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
  183. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
  184. package/dist/server/manifest.mjs +36 -25
  185. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  186. package/dist/server/media-BRmYrnzb.mjs +31 -0
  187. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  188. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
  189. package/dist/server/navigation.mjs +1 -1
  190. package/dist/server/next.mjs +134 -81
  191. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
  192. package/dist/server/page-converter.mjs +3 -3
  193. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
  194. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
  195. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
  196. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
  197. package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
  198. package/dist/server/portal.mjs +3 -3
  199. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  200. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
  203. package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +10 -9
  209. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
  210. package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
  211. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BcFuhhD7.mjs} +22 -21
  214. package/dist/server/theme-bridge.mjs +34 -8
  215. package/dist/server/theme.mjs +2 -2
  216. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  217. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  218. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  219. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  220. package/dist/server/{validation-DCl-FCk_.mjs → validation-BovmbS8N.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1098 -1885
  224. package/package.json +2 -1
  225. package/dist/_dts/index-B0_2-65A.d.ts +0 -101
  226. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  227. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  228. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  229. package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
  230. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  231. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  232. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,11 +1,31 @@
1
1
  "use client";
2
- import { a as mediaIdentifierSchema, d as parseUuidBrand, f as err$1, n as renderableMediaAssetSchema, p as ok$1 } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
2
+ import { a as mediaIdentifierSchema, f as parseUuidBrand, m as ok$1, n as renderableMediaAssetSchema, p as err$1 } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
3
3
  import { c as addMonths } from "./src-uwCpbHXG.mjs";
4
4
  import { z } from "zod";
5
+ //#region ../core/src/branded/events.ts
6
+ const unsafeAsEventOfferingId = (id) => id;
7
+ const unsafeAsEventSeriesId = (id) => id;
8
+ const unsafeAsEventSeriesRegistrationId = (id) => id;
9
+ const unsafeAsEventCategoryId = (id) => id;
10
+ const unsafeAsAttendeeId = (id) => id;
11
+ const parseEventOfferingId = (value) => parseUuidBrand(value, unsafeAsEventOfferingId);
12
+ const parseAttendeeId = (value) => parseUuidBrand(value, unsafeAsAttendeeId);
13
+ const parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
14
+ const parseEventSeriesRegistrationId = (value) => parseUuidBrand(value, unsafeAsEventSeriesRegistrationId);
15
+ //#endregion
5
16
  //#region ../core/src/branded/customers.ts
6
17
  const unsafeAsSiteTermsVersionId = (id) => id;
7
18
  const parseSiteTermsVersionId = (value) => parseUuidBrand(value, unsafeAsSiteTermsVersionId);
8
19
  //#endregion
20
+ //#region ../core/src/branded/appointments.ts
21
+ const unsafeAsAppointmentId = (id) => id;
22
+ const unsafeAsAppointmentServiceId = (id) => id;
23
+ const unsafeAsAppointmentResourceId = (id) => id;
24
+ const parseAppointmentId = (value) => parseUuidBrand(value, unsafeAsAppointmentId);
25
+ const parseAppointmentServiceId = (value) => parseUuidBrand(value, unsafeAsAppointmentServiceId);
26
+ const unsafeAsClientArrangementId = (id) => id;
27
+ const parseClientArrangementId = (value) => parseUuidBrand(value, unsafeAsClientArrangementId);
28
+ //#endregion
9
29
  //#region ../core/src/currency-format.ts
10
30
  const CURRENCY_LOCALE_BY_CODE = {
11
31
  USD: "en-US",
@@ -1436,6 +1456,209 @@ z.object({
1436
1456
  reviewed: reviewedRoomsSchema
1437
1457
  });
1438
1458
  //#endregion
1459
+ //#region ../site-contracts/src/siteData/wireSchema.ts
1460
+ /**
1461
+ * Admits a wire decoder only when it matches its contract type `T` in this
1462
+ * build: what it decodes is a `T`, and it accepts the input side of every
1463
+ * `T`. A schema stricter than its type would refuse real responses (a member
1464
+ * the type has but the schema forgot), and a looser one would let unchecked
1465
+ * shapes through, so both directions are checked where the type is declared.
1466
+ *
1467
+ * It is a compile-time check against today's type and nothing more. It can't
1468
+ * know what a newer server will send a client built from an older contract
1469
+ * (SDK sites run pinned builds), so a value the type later gains is still
1470
+ * refused by an old decoder. Where that has to keep working, the contract
1471
+ * names the point as extensible and decodes it with {@link evolvingSchema}.
1472
+ *
1473
+ * Mirror the type's arrays: `z.array(x).readonly()` for a `readonly` array,
1474
+ * plain `z.array(x)` for a mutable one.
1475
+ */
1476
+ function exactSchema() {
1477
+ return evolvingSchema();
1478
+ }
1479
+ /**
1480
+ * A decoder at a named extensible point of a contract: it reads every `TWire`
1481
+ * the server sends today, and decodes anything a newer server might add there
1482
+ * to the closed fallback inside `TDecoded` (an `unsupported` state the client
1483
+ * renders safely: shown, but with nothing to act on). Known variants stay
1484
+ * strict, so a broken known value is still an error rather than a fallback.
1485
+ */
1486
+ function evolvingSchema() {
1487
+ return (schema) => schema;
1488
+ }
1489
+ /** Anything at an extensible point whose `kind` this build doesn't know. */
1490
+ function unknownKind(known) {
1491
+ return z.object({ kind: z.string().refine((kind) => !known.includes(kind), "a known kind failed to decode") });
1492
+ }
1493
+ /** The same for a point discriminated by `tag` (a booking reference), whose `tag` this build doesn't know. */
1494
+ function unknownTag(known) {
1495
+ return z.object({ tag: z.string().refine((tag) => !known.includes(tag), "a known tag failed to decode") });
1496
+ }
1497
+ //#endregion
1498
+ //#region ../site-contracts/src/siteData/portalQuestions.ts
1499
+ const optionSchema = exactSchema()(z.object({
1500
+ value: z.string(),
1501
+ label: z.string()
1502
+ }));
1503
+ const scalarFieldSchema = exactSchema()(z.object({
1504
+ id: z.string().min(1),
1505
+ label: z.string(),
1506
+ type: z.enum([
1507
+ "text",
1508
+ "email",
1509
+ "textarea",
1510
+ "select",
1511
+ "radio",
1512
+ "checkbox",
1513
+ "tel",
1514
+ "url",
1515
+ "number",
1516
+ "date",
1517
+ "time"
1518
+ ]),
1519
+ required: z.boolean().optional(),
1520
+ placeholder: z.string().optional(),
1521
+ helpText: z.string().optional(),
1522
+ options: z.array(optionSchema).readonly().optional(),
1523
+ multiple: z.boolean().optional(),
1524
+ minLength: z.number().optional(),
1525
+ maxLength: z.number().optional(),
1526
+ pattern: z.string().optional(),
1527
+ min: z.number().optional(),
1528
+ max: z.number().optional()
1529
+ }));
1530
+ const documentFieldSchema = exactSchema()(z.object({
1531
+ id: z.string().min(1),
1532
+ label: z.string(),
1533
+ type: z.literal("document_upload"),
1534
+ required: z.boolean().optional(),
1535
+ placeholder: z.string().optional(),
1536
+ helpText: z.string().optional(),
1537
+ allowedFileTypes: z.array(z.enum([
1538
+ "pdf",
1539
+ "image",
1540
+ "docx"
1541
+ ])).readonly(),
1542
+ maxBytes: z.number()
1543
+ }));
1544
+ const bookingQuestionsFieldSchema = exactSchema()(z.union([scalarFieldSchema, documentFieldSchema]));
1545
+ const bookingQuestionsSectionSchema = exactSchema()(z.object({
1546
+ id: z.string(),
1547
+ title: z.string(),
1548
+ description: z.string().optional(),
1549
+ items: z.array(bookingQuestionsFieldSchema).readonly()
1550
+ }));
1551
+ const FIELD_TYPES = [
1552
+ "text",
1553
+ "email",
1554
+ "textarea",
1555
+ "select",
1556
+ "radio",
1557
+ "checkbox",
1558
+ "tel",
1559
+ "url",
1560
+ "number",
1561
+ "date",
1562
+ "time",
1563
+ "document_upload"
1564
+ ];
1565
+ /**
1566
+ * The portal's questions, read at their extensible point: a type this build
1567
+ * doesn't know decodes to `unsupported` with its id, label and required flag;
1568
+ * a known type that's malformed is still an error.
1569
+ */
1570
+ const unsupportedFieldSchema = z.object({
1571
+ id: z.string().min(1),
1572
+ label: z.string(),
1573
+ type: z.string().refine((type) => !FIELD_TYPES.includes(type), "a known question type failed to decode"),
1574
+ required: z.boolean().optional()
1575
+ }).transform((field) => ({
1576
+ id: field.id,
1577
+ label: field.label,
1578
+ type: "unsupported",
1579
+ required: field.required ?? false
1580
+ }));
1581
+ const bookingQuestionsFieldViewSchema = evolvingSchema()(z.union([
1582
+ scalarFieldSchema,
1583
+ documentFieldSchema,
1584
+ unsupportedFieldSchema
1585
+ ]));
1586
+ const bookingQuestionsSectionViewSchema = evolvingSchema()(z.object({
1587
+ id: z.string(),
1588
+ title: z.string(),
1589
+ description: z.string().optional(),
1590
+ items: z.array(bookingQuestionsFieldViewSchema).readonly()
1591
+ }));
1592
+ const bookingQuestionsDocumentAnswerValueSchema = exactSchema()(z.object({
1593
+ kind: z.literal("document_upload"),
1594
+ fileName: z.string(),
1595
+ mimeType: z.string(),
1596
+ bytes: z.number(),
1597
+ uploadId: z.string().optional()
1598
+ }));
1599
+ /** One answer as a booking flow holds it; also what drafts kept across a sign-in or payment return parse. */
1600
+ const bookingQuestionsAnswerValueSchema = exactSchema()(z.union([
1601
+ z.string(),
1602
+ z.number(),
1603
+ z.boolean(),
1604
+ z.null(),
1605
+ z.array(z.string()),
1606
+ bookingQuestionsDocumentAnswerValueSchema
1607
+ ]));
1608
+ const bookingQuestionsAnswersSchema = z.record(z.string(), bookingQuestionsAnswerValueSchema);
1609
+ const taskStatusSchema = z.enum([
1610
+ "complete",
1611
+ "incomplete",
1612
+ "overdue"
1613
+ ]);
1614
+ const beforeYouComeTaskSummarySchema = exactSchema()(z.object({
1615
+ status: taskStatusSchema,
1616
+ dueAt: z.string(),
1617
+ completedAt: z.string().nullable(),
1618
+ prefillAvailable: z.boolean()
1619
+ }));
1620
+ const portalBeforeYouComeTaskSchema = exactSchema()(z.union([beforeYouComeTaskSummarySchema, z.object({ kind: z.literal("unavailable") })]));
1621
+ const capturedAnswerSchema = exactSchema()(z.union([z.object({
1622
+ fieldId: z.string(),
1623
+ label: z.string(),
1624
+ kind: z.literal("scalar"),
1625
+ valueSummary: z.string()
1626
+ }), z.object({
1627
+ fieldId: z.string(),
1628
+ label: z.string(),
1629
+ kind: z.literal("document"),
1630
+ fileName: z.string(),
1631
+ bytes: z.number()
1632
+ })]));
1633
+ const bookingQuestionsAnsweringSchema = evolvingSchema()(z.union([
1634
+ z.object({
1635
+ kind: z.literal("open"),
1636
+ late: z.boolean()
1637
+ }),
1638
+ z.object({
1639
+ kind: z.literal("sent"),
1640
+ changeNote: z.string()
1641
+ }),
1642
+ unknownKind(["open", "sent"]).transform(() => ({ kind: "unsupported" }))
1643
+ ]));
1644
+ const bookingQuestionsTaskDetailSchema = evolvingSchema()(z.object({
1645
+ completedAnswers: z.array(capturedAnswerSchema).readonly().optional(),
1646
+ timeZone: z.string(),
1647
+ isOnline: z.boolean().nullable(),
1648
+ requirementId: z.string(),
1649
+ title: z.string(),
1650
+ introTitle: z.string().nullable(),
1651
+ introBody: z.string().nullable(),
1652
+ shape: z.enum(["short-form", "detailed-questionnaire"]),
1653
+ status: taskStatusSchema,
1654
+ dueAt: z.string(),
1655
+ completedAt: z.string().nullable(),
1656
+ prefillAvailable: z.boolean(),
1657
+ answering: bookingQuestionsAnsweringSchema,
1658
+ answers: bookingQuestionsAnswersSchema,
1659
+ sections: z.array(bookingQuestionsSectionViewSchema).readonly()
1660
+ }));
1661
+ //#endregion
1439
1662
  //#region ../site-contracts/src/identity/presentationVocabulary.ts
1440
1663
  const arrangementModes = [
1441
1664
  "list",
@@ -1865,85 +2088,14 @@ function eventCalendarListGroupingDecision(input) {
1865
2088
  }
1866
2089
  //#endregion
1867
2090
  //#region ../blocks/src/system/runtime/api/schemas/bookingQuestions.ts
1868
- const optionSchema = z.object({
1869
- value: z.string(),
1870
- label: z.string()
1871
- });
1872
- /** Everything a scalar question may carry besides its identity; all of it is optional. */
1873
- const scalarFieldDetails = z.object({
1874
- required: z.boolean(),
1875
- placeholder: z.string(),
1876
- helpText: z.string(),
1877
- options: z.array(optionSchema),
1878
- multiple: z.boolean(),
1879
- minLength: z.number(),
1880
- maxLength: z.number(),
1881
- pattern: z.string(),
1882
- min: z.number(),
1883
- max: z.number()
1884
- }).partial();
1885
- const scalarFieldSchema = z.object({
1886
- id: z.string().min(1),
1887
- label: z.string(),
1888
- type: z.enum([
1889
- "text",
1890
- "email",
1891
- "textarea",
1892
- "select",
1893
- "radio",
1894
- "checkbox",
1895
- "tel",
1896
- "url",
1897
- "number",
1898
- "date",
1899
- "time"
1900
- ]),
1901
- ...scalarFieldDetails.shape
1902
- });
1903
- const documentFieldSchema = z.object({
1904
- id: z.string().min(1),
1905
- label: z.string(),
1906
- type: z.literal("document_upload"),
1907
- required: z.boolean().optional(),
1908
- placeholder: z.string().optional(),
1909
- helpText: z.string().optional(),
1910
- allowedFileTypes: z.array(z.enum([
1911
- "pdf",
1912
- "image",
1913
- "docx"
1914
- ])),
1915
- maxBytes: z.number()
1916
- });
1917
- const fieldSchema = z.union([scalarFieldSchema, documentFieldSchema]);
1918
- const sectionSchema = z.object({
1919
- id: z.string(),
1920
- title: z.string(),
1921
- description: z.string().optional(),
1922
- items: z.array(fieldSchema)
1923
- });
1924
- /** One answer as a booking flow holds it; also what drafts kept across a sign-in or payment return parse. */
1925
- const bookingQuestionsAnswerValueSchema = z.union([
1926
- z.string(),
1927
- z.number(),
1928
- z.boolean(),
1929
- z.null(),
1930
- z.array(z.string()),
1931
- z.object({
1932
- kind: z.literal("document_upload"),
1933
- fileName: z.string(),
1934
- mimeType: z.string(),
1935
- bytes: z.number(),
1936
- uploadId: z.string().optional()
1937
- })
1938
- ]);
1939
2091
  const setSchema = z.object({
1940
2092
  requirementId: z.string().min(1),
1941
2093
  sharingKey: z.string().min(1).optional(),
1942
2094
  title: z.string(),
1943
- sections: z.array(sectionSchema)
2095
+ sections: z.array(bookingQuestionsSectionSchema)
1944
2096
  });
1945
- z.array(sectionSchema);
1946
- const bookingQuestionAnswersSchema = z.record(z.string(), bookingQuestionsAnswerValueSchema);
2097
+ z.array(bookingQuestionsSectionSchema);
2098
+ const bookingQuestionAnswersSchema = bookingQuestionsAnswersSchema;
1947
2099
  /** The presentation a public catalogue or the authenticated read hands the booking flows. */
1948
2100
  const beforeBookingQuestionsPresentationSchema = z.discriminatedUnion("kind", [
1949
2101
  z.object({ kind: z.literal("none") }),
@@ -2170,7 +2322,11 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
2170
2322
  }), z.object({
2171
2323
  kind: z.literal("external"),
2172
2324
  url: z.string(),
2173
- label: z.string()
2325
+ label: z.string(),
2326
+ page: z.object({
2327
+ mode: eventDestinationModeSchema,
2328
+ path: z.string()
2329
+ }).optional()
2174
2330
  })]);
2175
2331
  /**
2176
2332
  * Zod schema for venue data
@@ -2587,16 +2743,6 @@ function planCalendarMonthRanges(months) {
2587
2743
  return ranges;
2588
2744
  }
2589
2745
  //#endregion
2590
- //#region ../logger/src/noop.ts
2591
- const noop = () => {};
2592
- const logger = {
2593
- debug: noop,
2594
- info: noop,
2595
- warn: noop,
2596
- error: noop,
2597
- withFields: (_) => logger
2598
- };
2599
- //#endregion
2600
2746
  //#region ../blocks/src/system/blocks/shared/siteTerms.ts
2601
2747
  const versionId = z.string().uuid().transform((value, ctx) => {
2602
2748
  const parsed = parseSiteTermsVersionId(value);
@@ -2617,10 +2763,6 @@ const blockSiteTermsSchema = z.discriminatedUnion("kind", [z.object({ kind: z.li
2617
2763
  businessName: z.string(),
2618
2764
  href: z.string().min(1).nullable()
2619
2765
  })]);
2620
- const verifiedSiteTermsAcceptanceSchema = z.object({
2621
- versionId,
2622
- alreadyAgreed: z.boolean()
2623
- });
2624
2766
  //#endregion
2625
2767
  //#region ../frontend-state/src/submission.ts
2626
2768
  function clearWorkflowFeedback(state) {
@@ -2677,4 +2819,4 @@ function assertNever(value, message) {
2677
2819
  throw new Error(message ?? `Unexpected value: ${String(value)}`);
2678
2820
  }
2679
2821
  //#endregion
2680
- export { PUBLIC_FILE_FIELD_KINDS as $, formatDateTime as $t, toBookingRequirementConsentField as A, calendarMonthDate as At, normalizeEventCalendarDisplayMode as B, normalizeLocationAddressText as Bt, publicEventPricingSchema as C, parsePositiveMoneyInputToCents as Cn, eventCalendarListLayoutCompatibleDisplayModeValues as Ct, blockBookingConsentSchema as D, publicProductSchema as Dt, blockBookingPaymentTermsSchema as E, formatGiftCardAmountLabel as En, publicPassProductSchema as Et, eventCalendarVariantMeaning as F, publicEventLoaderQuerySchemaShape as Ft, isRichTextDoc as G, capitalize as Gt, RichTextDocSchema as H, projectPublicLocation as Ht, eventListArrangementValues as I, isRecord as It, imageMediaSchema as J, mapDrawingSchema as Jt, assetMediaSchema as K, hasText as Kt, isEventCalendarDefaultView as L, EVENT_PRESET_VALUES as Lt, bookingQuestionsAnswerValueSchema as M, eventScheduleScopeValues as Mt, eventCalendarListGroupingDecision as N, eventSurfacePresetValues as Nt, bookingConsentCarrierSchema as O, purchasablePublicMembershipProductSchema as Ot, eventCalendarListLayoutOptions as P, eventSurfaceScopeValues as Pt, videoMediaSchema as Q, formatDateRange as Qt, isEventCalendarDisplayMode as R, WHOLE_SERIES_EVENT_PRESET_VALUES as Rt, publicEventDestinationSchema as S, parsePositiveCents as Sn, eventCalendarDisplayModeValues as St, publicEventsArraySchema as T, formatCurrencyAmount as Tn, publicMembershipProductSchema as Tt, buildRichTextSchema as U, publicLocationSchema as Ut, resolveEventCalendarReadPlan as V, parseLocationValue as Vt, createRichTextDoc as W, toLocationCoordinates as Wt, persistableMediaSchema as X, validateBookingPaymentOptionKinds as Xt, mediaSchema as Y, buildBookingUtcDateWindow as Yt, runtimeMediaSchema as Z, formatDate as Zt, planCalendarMonthRanges as _, parseUtcIsoDateTimeString as _n, roomChoicesSchema as _t, clearWorkflowFeedback as a, formatTimeZoneCityLabel as an, arrangementModes as at, publicPassProductCollectionSchema as b, resolveBookingTimeZoneId as bn, normalizeCurrencyCode as bt, blockSiteTermsSchema as c, formatBookingCompactEnglishTime as cn, eyebrowTreatmentValues as ct, calendarMonthKey as d, compareLocalScheduleDates as dn, isArrangementMode as dt, formatDateTimeRange as en, isDisplayMediaKind as et, calendarPageResponseError as f, formatLocalScheduleDate as fn, tileTreatmentValues as ft, calendarWindowPageSchema as g, parseLocalScheduleTime as gn, reviewedRoomsSchema as gt, calendarWindowMonths as h, parseBookingLocalDate as hn, placesFor as ht, okWith as i, formatTimeRange as in, accordionIconSetValues as it, beforeBookingQuestionsPresentationSchema as j, calendarWindowQuerySchema as jt, isBookingRequirementConsentFieldId as k, purchasablePublicPassProductSchema as kt, verifiedSiteTermsAcceptanceSchema as l, toScheduledBookingDateTime as ln, headingDecorationColorTokenValues as lt, calendarWindowBounds as m, getLocalScheduleDate as mn, ROOM_PLACES as mt, err as n, formatSiteInstantTime as nn, accordionIconColorTokenValues as nt, reportWorkflowError as o, inferSiteDateLocale as on, decorativeTransitionIntentValues as ot, calendarQueryKey as p, getBookingLocalDateKey as pn, visibleHeadingDecorationFamilyValues as pt, externalMediaSchema as q, trimmedStringOrNull as qt, ok as r, formatTime as rn, accordionIconMotionValues as rt, reportWorkflowSuccess as s, resolveBookingDisplayContext as sn, eventListTreatmentValues as st, assertNever as t, formatSiteInstantDate as tn, mediaTypeDiscriminants as tt, logger as u, addLocalScheduleDays as un, headingDecorationOverrideValues as ut, resolveCalendarReadProfile as v, toUtcIsoDateTimeString as vn, unsafeAsPositiveCheckoutQuantity as vt, publicEventSchema as w, toNonNegativeCents as wn, eventCalendarListLayoutValues as wt, eventVenueDrawingSchema as x, toBookingTimeZone as xn, eventCalendarDefaultViewValues as xt, publicMembershipProductCollectionSchema as y, resolveBookingBusinessTimeZone as yn, allocateReductionCents as yt, isEventCalendarListLayout as z, locationValueSchema as zt };
2822
+ export { accordionIconColorTokenValues as $, mapDrawingSchema as $t, eventCalendarListGroupingDecision as A, formatCurrencyAmount as An, publicMembershipProductSchema as At, buildRichTextSchema as B, parseEventSeriesId as Bn, publicEventLoaderQuerySchemaShape as Bt, publicEventsArraySchema as C, toUtcIsoDateTimeString as Cn, unsafeAsPositiveCheckoutQuantity as Ct, isBookingRequirementConsentFieldId as D, parsePositiveCents as Dn, eventCalendarDisplayModeValues as Dt, bookingConsentCarrierSchema as E, toBookingTimeZone as En, eventCalendarDefaultViewValues as Et, isEventCalendarDisplayMode as F, unsafeAsAppointmentResourceId as Fn, calendarMonthDate as Ft, imageMediaSchema as G, normalizeLocationAddressText as Gt, isRichTextDoc as H, unsafeAsEventCategoryId as Hn, EVENT_PRESET_VALUES as Ht, isEventCalendarListLayout as I, unsafeAsAppointmentServiceId as In, calendarWindowQuerySchema as It, runtimeMediaSchema as J, publicLocationSchema as Jt, mediaSchema as K, parseLocationValue as Kt, normalizeEventCalendarDisplayMode as L, parseSiteTermsVersionId as Ln, eventScheduleScopeValues as Lt, eventCalendarVariantMeaning as M, parseAppointmentId as Mn, publicProductSchema as Mt, eventListArrangementValues as N, parseAppointmentServiceId as Nn, purchasablePublicMembershipProductSchema as Nt, toBookingRequirementConsentField as O, parsePositiveMoneyInputToCents as On, eventCalendarListLayoutCompatibleDisplayModeValues as Ot, isEventCalendarDefaultView as P, parseClientArrangementId as Pn, purchasablePublicPassProductSchema as Pt, mediaTypeDiscriminants as Q, trimmedStringOrNull as Qt, resolveEventCalendarReadPlan as R, parseAttendeeId as Rn, eventSurfacePresetValues as Rt, publicEventSchema as S, parseUtcIsoDateTimeString as Sn, roomChoicesSchema as St, blockBookingConsentSchema as T, resolveBookingTimeZoneId as Tn, normalizeCurrencyCode as Tt, assetMediaSchema as U, WHOLE_SERIES_EVENT_PRESET_VALUES as Ut, createRichTextDoc as V, parseEventSeriesRegistrationId as Vn, isRecord as Vt, externalMediaSchema as W, locationValueSchema as Wt, PUBLIC_FILE_FIELD_KINDS as X, capitalize as Xt, videoMediaSchema as Y, toLocationCoordinates as Yt, isDisplayMediaKind as Z, hasText as Zt, publicMembershipProductCollectionSchema as _, formatLocalScheduleDate as _n, unknownKind as _t, clearWorkflowFeedback as a, formatDateTimeRange as an, eyebrowTreatmentValues as at, publicEventDestinationSchema as b, parseBookingLocalDate as bn, placesFor as bt, blockSiteTermsSchema as c, formatTime as cn, isArrangementMode as ct, calendarQueryKey as d, inferSiteDateLocale as dn, bookingQuestionsAnswerValueSchema as dt, buildBookingUtcDateWindow as en, accordionIconMotionValues as et, calendarWindowBounds as f, resolveBookingDisplayContext as fn, bookingQuestionsDocumentAnswerValueSchema as ft, resolveCalendarReadProfile as g, compareLocalScheduleDates as gn, exactSchema as gt, planCalendarMonthRanges as h, addLocalScheduleDays as hn, evolvingSchema as ht, okWith as i, formatDateTime as in, eventListTreatmentValues as it, eventCalendarListLayoutOptions as j, formatGiftCardAmountLabel as jn, publicPassProductSchema as jt, beforeBookingQuestionsPresentationSchema as k, toNonNegativeCents as kn, eventCalendarListLayoutValues as kt, calendarMonthKey as l, formatTimeRange as ln, tileTreatmentValues as lt, calendarWindowPageSchema as m, toScheduledBookingDateTime as mn, portalBeforeYouComeTaskSchema as mt, err as n, formatDate as nn, arrangementModes as nt, reportWorkflowError as o, formatSiteInstantDate as on, headingDecorationColorTokenValues as ot, calendarWindowMonths as p, formatBookingCompactEnglishTime as pn, bookingQuestionsTaskDetailSchema as pt, persistableMediaSchema as q, projectPublicLocation as qt, ok as r, formatDateRange as rn, decorativeTransitionIntentValues as rt, reportWorkflowSuccess as s, formatSiteInstantTime as sn, headingDecorationOverrideValues as st, assertNever as t, validateBookingPaymentOptionKinds as tn, accordionIconSetValues as tt, calendarPageResponseError as u, formatTimeZoneCityLabel as un, visibleHeadingDecorationFamilyValues as ut, publicPassProductCollectionSchema as v, getBookingLocalDateKey as vn, unknownTag as vt, blockBookingPaymentTermsSchema as w, resolveBookingBusinessTimeZone as wn, allocateReductionCents as wt, publicEventPricingSchema as x, parseLocalScheduleTime as xn, reviewedRoomsSchema as xt, eventVenueDrawingSchema as y, getLocalScheduleDate as yn, ROOM_PLACES as yt, RichTextDocSchema as z, parseEventOfferingId as zn, eventSurfaceScopeValues as zt };
@@ -1,13 +1,14 @@
1
1
  "use client";
2
- import { $a as RichText, Ga as getEventAvailabilityStatus, Ho as parseInlineTextFromUnknown, Jo as resolveDateRuntimeContext, Va as formatEventRemainingPlaces, Vo as isInlineTextEmpty, _o as resolveEventTimeZone, go as groupEventsByDate, po as formatEventTimeRange, qa as isEventFull, ro as eventDateOptions, so as formatEventClockLabel } from "./wizardSteps-CWIQyRIw.mjs";
3
- import { Bt as normalizeLocationAddressText, Jt as mapDrawingSchema, Zt as formatDate, cn as formatBookingCompactEnglishTime, gn as parseLocalScheduleTime, ln as toScheduledBookingDateTime } from "./src-o7WEvbK1.mjs";
4
- import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
5
- import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-VfP50sYm.mjs";
6
- import { q as textColorStyle } from "./accessibleSurfaces-Wl8-_OVJ.mjs";
7
- import { C as parseThemeButtonVariantId, S as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
2
+ import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-CmXh3JWs.mjs";
3
+ import { $o as groupEventsByDate, Ao as isEventFull, Bo as eventDateOptions, Io as RichText, Oo as getEventAvailabilityStatus, Ts as parseInlineTextFromUnknown, Wo as formatEventClockLabel, Xo as formatEventTimeRange, es as resolveEventTimeZone, js as resolveDateRuntimeContext, mo as eventDestinationBookingLink, vo as resolveEventPageLink, wo as formatEventRemainingPlaces, ws as isInlineTextEmpty } from "./wizardSteps-B952ify5.mjs";
4
+ import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
5
+ import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
6
+ import { U as textColorStyle } from "./accessibleSurfaces-BogaGutk.mjs";
7
+ import { S as parseThemeButtonVariantId, n as ThemedButton, r as ThemedButtonLink, t as ThemedAuthoredButton, x as clsx } from "./ThemedButton-PFOhXktM.mjs";
8
8
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-uwCpbHXG.mjs";
9
- import { t as coerceRichTextDoc } from "./richText-coerce-Z45OLLEX.mjs";
10
- import { _ as resolveEventLinkProps, m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-CJITrGkF.mjs";
9
+ import { t as getAtPath } from "./src-Al4ooTl_.mjs";
10
+ import { t as coerceRichTextDoc } from "./richText-coerce-Bnng7JFA.mjs";
11
+ import { m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-Bb0ppG2N.mjs";
11
12
  import "react";
12
13
  import { jsx, jsxs } from "react/jsx-runtime";
13
14
  //#region ../core/src/locationLinks.ts
@@ -83,76 +84,6 @@ function formatOpeningHoursRows(hours, options = {}) {
83
84
  }, []);
84
85
  }
85
86
  //#endregion
86
- //#region ../path-utils/src/index.ts
87
- const PATH_SEPARATOR_REGEX = /\./g;
88
- const BRACKET_ACCESS_REGEX = /\[([^\]]+)\]/g;
89
- /**
90
- * Segments that would traverse or mutate the prototype chain.
91
- *
92
- * `setAtPath` creates nested objects along the path, so allowing these
93
- * segments is a prototype-pollution vector. They are rejected everywhere a
94
- * path is parsed (string or pre-parsed array form) — fail closed.
95
- */
96
- const UNSAFE_PATH_SEGMENTS = /* @__PURE__ */ new Set([
97
- "__proto__",
98
- "constructor",
99
- "prototype"
100
- ]);
101
- var UnsafePathSegmentError = class extends Error {
102
- constructor(segment) {
103
- super(`Unsafe path segment: "${segment}"`);
104
- this.name = "UnsafePathSegmentError";
105
- this.segment = segment;
106
- }
107
- };
108
- function assertSafePathSegments(segments) {
109
- for (const segment of segments) if (typeof segment === "string" && UNSAFE_PATH_SEGMENTS.has(segment)) throw new UnsafePathSegmentError(segment);
110
- }
111
- function isRecord(value) {
112
- return typeof value === "object" && value !== null && !Array.isArray(value);
113
- }
114
- function isPathContainer(value) {
115
- return Array.isArray(value) || isRecord(value);
116
- }
117
- function getContainerValue(container, segment) {
118
- if (typeof segment === "number") return Array.isArray(container) ? container[segment] : void 0;
119
- if (segment in container) return Reflect.get(container, segment);
120
- }
121
- function parsePath(path) {
122
- if (Array.isArray(path)) {
123
- assertSafePathSegments(path);
124
- return path;
125
- }
126
- const segments = [];
127
- const parts = path.split(PATH_SEPARATOR_REGEX);
128
- for (const raw of parts) {
129
- if (!raw) continue;
130
- const baseMatch = raw.match(/^[^\[]+/);
131
- if (baseMatch !== null) {
132
- const base = baseMatch[1] ?? baseMatch[0];
133
- if (/^\d+$/.test(base)) segments.push(Number(base));
134
- else segments.push(base);
135
- }
136
- const bracketMatches = raw.matchAll(BRACKET_ACCESS_REGEX);
137
- for (const match of bracketMatches) {
138
- const token = match[1] ?? "";
139
- if (token.startsWith("\"") || token.startsWith("'")) segments.push(token.slice(1, -1));
140
- else if (/^\d+$/.test(token)) segments.push(Number(token));
141
- else segments.push(token);
142
- }
143
- if (baseMatch === null && !raw.includes("[")) segments.push(raw);
144
- }
145
- assertSafePathSegments(segments);
146
- return segments;
147
- }
148
- function getAtPath(source, path) {
149
- return parsePath(path).reduce((current, segment) => {
150
- if (current === void 0 || current === null) return void 0;
151
- if (!isPathContainer(current)) return void 0;
152
- return getContainerValue(current, segment);
153
- }, source);
154
- }
155
- //#endregion
156
87
  //#region ../blocks/src/primitives/content/components/Text.tsx
157
88
  function Text({ as: Comp = "span", children, className = "", path, style, "data-slot": dataSlot, "data-surface": dataSurface, maxLength: _maxLength }) {
158
89
  return /* @__PURE__ */ jsx(Comp, {
@@ -627,15 +558,8 @@ const LinkNode = ({ href, children, className, target, rel, linkRequired = false
627
558
  };
628
559
  //#endregion
629
560
  //#region ../blocks/src/system/runtime/nodes/events/RecurringSchedule.tsx
630
- function destinationHref(destination) {
631
- return destination.kind === "external" ? destination.url : destination.path;
632
- }
633
561
  function bookingLinkProps(booking) {
634
- return booking.destination.kind === "external" ? {
635
- href: destinationHref(booking.destination),
636
- target: "_blank",
637
- rel: "noopener noreferrer"
638
- } : { href: destinationHref(booking.destination) };
562
+ return eventDestinationBookingLink(booking.destination);
639
563
  }
640
564
  function bookingActionContent(input) {
641
565
  switch (input.booking.kind) {
@@ -809,7 +733,7 @@ function formatCompactTimeRange(event, calendarTimeZone) {
809
733
  }));
810
734
  }
811
735
  const WeekBoardCard = ({ event, showCapacity, calendarTimeZone }) => {
812
- const linkProps = resolveEventLinkProps(event);
736
+ const linkProps = resolveEventPageLink(event);
813
737
  const { status, label } = getEventAvailabilityStatus(event);
814
738
  const pill = showCapacity ? label : null;
815
739
  return /* @__PURE__ */ jsxs("a", {
@@ -1,7 +1,4 @@
1
1
  "use client";
2
- import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
3
- import * as React$1 from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
2
  //#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
6
3
  /**
7
4
  * URL param helpers for client-side "return from redirect" flows.
@@ -48,42 +45,4 @@ function consumeSearchParams(paramNames) {
48
45
  return values;
49
46
  }
50
47
  //#endregion
51
- //#region ../blocks/src/system/runtime/nodes/shop-add-feedback.tsx
52
- const DEFAULT_TIMEOUT_MS = 2500;
53
- function useTransientShopAddFeedback(timeoutMs = DEFAULT_TIMEOUT_MS) {
54
- const [activeKey, setActiveKey] = React$1.useState(null);
55
- React$1.useEffect(() => {
56
- if (!activeKey) return;
57
- const timeoutId = window.setTimeout(() => {
58
- setActiveKey((current) => current === activeKey ? null : current);
59
- }, timeoutMs);
60
- return () => window.clearTimeout(timeoutId);
61
- }, [activeKey, timeoutMs]);
62
- return {
63
- activeKey,
64
- markAdded: setActiveKey,
65
- clear: () => setActiveKey(null)
66
- };
67
- }
68
- function ShopAddFeedback(props) {
69
- if (!props.active) return null;
70
- return /* @__PURE__ */ jsxs(FeedbackMessage, {
71
- tone: "success",
72
- className: "rb-caption status-muted",
73
- role: "status",
74
- live: "polite",
75
- children: [
76
- "Added ",
77
- props.itemLabel,
78
- " to cart.",
79
- " ",
80
- /* @__PURE__ */ jsx("a", {
81
- href: "#shop-cart",
82
- children: "View cart"
83
- }),
84
- "."
85
- ]
86
- });
87
- }
88
- //#endregion
89
- export { consumeSearchParams as i, useTransientShopAddFeedback as n, consumeSearchParam as r, ShopAddFeedback as t };
48
+ export { consumeSearchParams as n, consumeSearchParam as t };
@@ -1,7 +1,6 @@
1
1
  "use client";
2
- import { Zt as formatDate$1, _n as parseUtcIsoDateTimeString, bn as resolveBookingTimeZoneId, fn as formatLocalScheduleDate, hn as parseBookingLocalDate, mn as getLocalScheduleDate, rn as formatTime$1, t as assertNever, un as addLocalScheduleDays } from "./src-o7WEvbK1.mjs";
3
- import { D as unsafeAsAppointmentResourceId } from "./creditProducts-BQ1t1erI.mjs";
4
- import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
2
+ import { Fn as unsafeAsAppointmentResourceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, _n as formatLocalScheduleDate, bn as parseBookingLocalDate, cn as formatTime$1, hn as addLocalScheduleDays, nn as formatDate$1, t as assertNever, yn as getLocalScheduleDate } from "./src-CmXh3JWs.mjs";
3
+ import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
5
4
  import { useCallback, useEffect, useReducer, useRef } from "react";
6
5
  //#region ../blocks/src/utils/date-formatting.ts
7
6
  /**
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
2
+ import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
3
3
  import { useEffect, useReducer, useState } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { Ft as getEventIdentity, It as getEventPaginationView, Lt as planEventPageOperation, Mt as createInitialEventPaginationLoadState, Nt as eventPageOperationQuery, Pt as eventPaginationLoadReducer, Rt as toEventPaginationLoadError, an as getEventRuntimeFiltersKey, cn as normalizeOptionalId, on as normalizeCsvIds, sn as normalizeCsvString, zt as toError } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { wa as getBlockApiReadStage } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { t as assertNever } from "./src-o7WEvbK1.mjs";
5
- import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
6
- import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-gJ3OqPf9.mjs";
7
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
8
- import { r as EventItem } from "./EventItem-CJITrGkF.mjs";
9
- import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CXfb7RRy.mjs";
2
+ import { At as normalizeCsvIds, Bt as eventPageOperationQuery, Gt as toEventPaginationLoadError, Ht as getEventIdentity, Kt as toError, Mt as normalizeOptionalId, Ut as getEventPaginationView, Vt as eventPaginationLoadReducer, Wt as planEventPageOperation, jt as normalizeCsvString, kt as getEventRuntimeFiltersKey, zt as createInitialEventPaginationLoadState } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
+ import { t as assertNever } from "./src-CmXh3JWs.mjs";
4
+ import { no as getBlockApiReadStage } from "./wizardSteps-B952ify5.mjs";
5
+ import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
6
+ import { i as listLookSlot, n as listItemPresentation } from "./noop-jesvJXEE.mjs";
7
+ import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
8
+ import { r as EventItem } from "./EventItem-Bb0ppG2N.mjs";
9
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-DsqvuulZ.mjs";
10
10
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { Dr as membershipClassesLabel, Er as membershipCardListContent, Or as passCardListContent } from "./wizardSteps-CWIQyRIw.mjs";
3
- import { r as listLookSlot } from "./lookSurfaces-gJ3OqPf9.mjs";
4
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
5
- import { r as EventItem, t as CardListCollection } from "./EventItem-CJITrGkF.mjs";
2
+ import { ei as membershipCardListContent, ni as passCardListContent, ti as membershipClassesLabel } from "./wizardSteps-B952ify5.mjs";
3
+ import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
4
+ import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
5
+ import { r as EventItem, t as CardListCollection } from "./EventItem-Bb0ppG2N.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx