@riverbankcms/sdk 0.169.0 → 0.170.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 (203) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DpROiz12.d.ts → BlocksIslandsHydrator-B2i5CY_X.d.ts} +1 -1
  2. package/dist/_dts/{Page-DHBBDRC_.d.ts → Page-BSZjbeRK.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-CG7Qib7u.d.ts → SdkPreviewMode-BZpPBMcu.d.ts} +2 -2
  4. package/dist/_dts/{client-MURxFla9.d.ts → client-x82SZgwK.d.ts} +1 -1
  5. package/dist/_dts/{content-types-ClBGjxBV.d.ts → content-types-CODkxsZy.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CHNvzh0y.d.ts → contracts-Lyfhmbjf.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DQM934Fm.d.ts → footerPageOutline-BShG2GAV.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-ConZaEqB.d.ts → generatePageMetadata-DLhUW3xK.d.ts} +2 -2
  9. package/dist/_dts/{index-BaDqRekr.d.ts → index-B7Mq5M6P.d.ts} +4 -4
  10. package/dist/_dts/{index-CovKPftP.d.ts → index-B82pqQAC.d.ts} +2 -2
  11. package/dist/_dts/{index-CiR_oPYT.d.ts → index-BisbMZTW.d.ts} +1 -1
  12. package/dist/_dts/{index-CVB5wgbz.d.ts → index-C3rMEJ5a.d.ts} +2 -2
  13. package/dist/_dts/{index-DDaX-K2D.d.ts → index-CCugONHM.d.ts} +1 -1
  14. package/dist/_dts/{index-rfAssXq0.d.ts → index-CstY6ZMa.d.ts} +3 -3
  15. package/dist/_dts/{index-DCw8LO4M.d.ts → index-DXc_ewhR.d.ts} +1 -1
  16. package/dist/_dts/{loadContent-CRLKVVDP.d.ts → loadContent-BoqtbbhP.d.ts} +7 -7
  17. package/dist/_dts/{request-DeVetKBr.d.ts → request-CJ_ClHLv.d.ts} +39255 -37305
  18. package/dist/_dts/{resolveBlockData-C5KYFeig.d.ts → resolveBlockData-DFExYkJ4.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-D8MZWyNO.d.ts → resolvePageContent-D-WvpC_d.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/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  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 +5 -5
  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/{types-Fj31kIi2.d.ts → types-990t4t99.d.ts} +7 -7
  54. package/dist/_dts/{types-B4MBlP_B.d.ts → types-CbjK5ZLy.d.ts} +2 -2
  55. package/dist/_dts/{types-OwqfS8Gn.d.ts → types-CpuxuS40.d.ts} +3 -3
  56. package/dist/_dts/{validation-B1Fa8o_b.d.ts → validation-BN95LiS0.d.ts} +4 -4
  57. package/dist/client/BlocksIslandsHydrator-B1Tkg-ZW.mjs +410 -0
  58. package/dist/client/{BookingMailingListNote-y3qWjnOo.mjs → BookingMailingListNote-Br1VyHkP.mjs} +5 -5
  59. package/dist/client/{BookingQuestionFields-DjLjd0vc.mjs → BookingQuestionFields-LLGCWjvU.mjs} +1 -1
  60. package/dist/client/{CalendarNavigationChevron-VM7C2fdh.mjs → CalendarNavigationChevron-CH7z2m47.mjs} +4 -4
  61. package/dist/client/{DemoBookingPortalAccess-C2QCj_Ta.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +3 -3
  62. package/dist/client/{EventCalendar.client-DDjz7tuX.mjs → EventCalendar.client-LXUHJEi7.mjs} +7 -7
  63. package/dist/client/{EventCombined.client-CeYbNsch.mjs → EventCombined.client-DpugEJLB.mjs} +5 -5
  64. package/dist/client/{EventItem-B5J0IeF4.mjs → EventItem-gFuZn-dE.mjs} +7 -6
  65. package/dist/client/{EventListWeekNavigation-eH04D8-V.mjs → EventListWeekNavigation-D-kLg1jQ.mjs} +2 -1
  66. package/dist/client/{EventListing.client-slpvrTrM.mjs → EventListing.client-BNACUaxV.mjs} +3 -3
  67. package/dist/client/{EventListing.view-BYBaElec.mjs → EventListing.view-CtVfe3VG.mjs} +5 -6
  68. package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +18 -10
  69. package/dist/client/Page-PW4Ojv9r.mjs +29977 -0
  70. package/dist/client/{StepIndicator-BZNUd0-v.mjs → StepIndicator-CR7_0yu4.mjs} +4 -3
  71. package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
  72. package/dist/client/{accordion-BCtVxnDZ.mjs → accordion-DMItWylU.mjs} +6 -1
  73. package/dist/client/{booking-form.client-Cr5G-HHO.mjs → booking-form.client-wd71DG19.mjs} +10 -10
  74. package/dist/client/bookingForm-Cyr2qeS1.mjs +31 -0
  75. package/dist/client/bookings.mjs +4 -4
  76. package/dist/client/{carousel-DW-HgjvT.mjs → carousel-B5-Hzzif.mjs} +7 -9
  77. package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
  78. package/dist/client/{cart-D1zWe4R7.mjs → cart-wlRXnOjO.mjs} +3 -3
  79. package/dist/client/{cart.client-CIfbTLHS.mjs → cart.client-CfpnxTUZ.mjs} +1 -1
  80. package/dist/client/{checkout-fDCNZ3IT.mjs → checkout-Dnu9W8IA.mjs} +3 -3
  81. package/dist/client/{checkout.client-C4l2KjtV.mjs → checkout.client-ovtyXyn0.mjs} +1 -1
  82. package/dist/client/{checkoutUrls-cWL6I-Vz.mjs → checkoutUrls-CY8qywXl.mjs} +1 -1
  83. package/dist/client/client.mjs +40 -12
  84. package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
  85. package/dist/client/{cta-Bj5WHgcv.mjs → cta-CfuyGqXL.mjs} +1 -1
  86. package/dist/client/{demoPortalMagicLink-3uVu3WgG.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
  87. package/dist/client/{display-CT8KMSpH.mjs → display-DDNmyb0z.mjs} +18 -793
  88. package/dist/client/{enhanceHeaderSection-B27KFGDv.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -3
  89. package/dist/client/{event-details.client-CL4Lqz2c.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
  90. package/dist/client/{event-registration.client-Dj3Kyp5X.mjs → event-registration.client-CLBdHUfd.mjs} +12 -11
  91. package/dist/client/{eventCalendar-DGsdSF8J.mjs → eventCalendar-B4VbblGN.mjs} +14 -17
  92. package/dist/client/eventCombined-e2AvbA0u.mjs +25 -0
  93. package/dist/client/{eventDetails-DzMskXYA.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
  94. package/dist/client/eventListing-C0bpAR1t.mjs +26 -0
  95. package/dist/client/eventRegistration-DyseP_sY.mjs +31 -0
  96. package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
  97. package/dist/client/form-Cfl8d6qc.mjs +27 -0
  98. package/dist/client/{form.client-CCl6CpRJ.mjs → form.client-D3_RF29v.mjs} +3 -3
  99. package/dist/client/{form.parts-BOJ1yDDf.mjs → form.parts-DWLf_3PF.mjs} +1 -1
  100. package/dist/client/formSnapshot-Cy4abc0T.mjs +73 -0
  101. package/dist/client/gifting/client.mjs +1 -1
  102. package/dist/client/{headerSection-q_bEzfhW.mjs → headerSection-CyNGt23J.mjs} +2 -2
  103. package/dist/client/{newsletter-form.client-CiqKAmPs.mjs → newsletter-form.client-IfLup4o0.mjs} +4 -4
  104. package/dist/client/{newsletter-form.parts-x1RzAMNO.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
  105. package/dist/client/newsletterForm-Bn7HVbuq.mjs +27 -0
  106. package/dist/client/portal/client.mjs +5 -5
  107. package/dist/client/{product-detail.client-rWUvpVvZ.mjs → product-detail.client-BXeLqkCE.mjs} +1 -1
  108. package/dist/client/{product-list.client-J0wDOmKv.mjs → product-list.client-C627X8DQ.mjs} +1 -1
  109. package/dist/client/{productDetail-LtCkMrJ0.mjs → productDetail-B-K_hd7Y.mjs} +3 -3
  110. package/dist/client/{productList-C0MLeh-v.mjs → productList-BNZAsfaP.mjs} +3 -3
  111. package/dist/client/{propsDecoder-CAmEkJ6Y.mjs → propsDecoder-Dc8j5i79.mjs} +2 -2
  112. package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
  113. package/dist/client/{registry.server-Bf2YX_4v.mjs → registry.server-CBg2M6Uj.mjs} +352 -288
  114. package/dist/client/rendering/client.mjs +36 -36
  115. package/dist/client/rendering/islandDelivery.flight.mjs +132 -0
  116. package/dist/client/rendering/islands.mjs +1 -1
  117. package/dist/client/rendering.mjs +4 -4
  118. package/dist/client/{routeIslandApiConfig-UdAlnZGQ.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
  119. package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
  120. package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
  121. package/dist/client/{shop-Dkn6EasY.mjs → shop-PgmiVKSV.mjs} +3 -3
  122. package/dist/client/{shop-commerce-bo0Z6kwf.mjs → shop-commerce-DkgvZAQS.mjs} +10 -10
  123. package/dist/client/{shop-commerce-store-Ckxa4_jI.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
  124. package/dist/client/{shop.client-B_GqU6_U.mjs → shop.client-DDFRt6OU.mjs} +10 -10
  125. package/dist/client/{shop.interactive-C6L_Ig5F.mjs → shop.interactive-BH0xDlMF.mjs} +37 -12
  126. package/dist/client/{shopShared-CO1Y8lFd.mjs → shopShared-BEfD0e4m.mjs} +12 -15
  127. package/dist/client/{timetableModel-D62jfOxZ.mjs → timetableModel-GsDrJxxw.mjs} +6 -6
  128. package/dist/client/{useAvailableSlots-CStfVmyY.mjs → useAvailableSlots-GP8tnAVW.mjs} +1 -1
  129. package/dist/client/{useDiscountApply-Ca2pHUDu.mjs → useDiscountApply-Cq07nTyG.mjs} +1 -1
  130. package/dist/client/{useDiscountCodeUi-AEifktGO.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
  131. package/dist/client/{useEventPagination-uxnUWI2v.mjs → useEventPagination-DGl4Jeuz.mjs} +5 -5
  132. package/dist/client/{view-SVnWic7i.mjs → view-CgComegl.mjs} +2 -2
  133. package/dist/client/{view-B6KSxQMO.mjs → view-oToSpu1N.mjs} +3 -3
  134. package/dist/preview-next/chrome.css +4 -0
  135. package/dist/preview-next/client/{ArrangementLookControls-kbdqYkWM.mjs → ArrangementLookControls-DJQrgD5f.mjs} +12 -19
  136. package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
  137. package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
  138. package/dist/preview-next/client/{PreviewEditorSidebar-DI_LhsMQ.mjs → PreviewEditorSidebar-DWU6X6Y-.mjs} +119 -133
  139. package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-C-X0ptC3.mjs} +7 -39
  140. package/dist/preview-next/client/{PreviewShell-YauP65Gi.mjs → PreviewShell-C1WUNsj9.mjs} +40 -46
  141. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bl7jQMI1.mjs → SdkPreviewModeRuntime-Cs2QFT7k.mjs} +11 -9
  142. package/dist/preview-next/client/{SiteChromeCustomizeButton-CQFRP9aM.mjs → SiteChromeCustomizeButton-CcZ_ERvZ.mjs} +844 -23038
  143. package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
  144. package/dist/preview-next/client/{previewAssistantSlot-DSR0IdAw.mjs → previewAssistantSlot-CSs9S8wr.mjs} +357 -924
  145. package/dist/preview-next/client/{previewChromeSurface-uSnVzeNs.mjs → previewChromeRoot-B2OTurZH.mjs} +52 -14
  146. package/dist/preview-next/client/runtime.mjs +3 -3
  147. package/dist/preview-next/client/{sdk-runtime-6Q0RVJTQ.mjs → sdk-runtime-CBIwYDyi.mjs} +2 -2
  148. package/dist/preview-next/client/{useAutosaveStatus-Cdx3kAGm.mjs → useAutosaveStatus-DoWvGNPA.mjs} +3 -3
  149. package/dist/preview-next/client/{useBlockCustomizeControls-ZrWdhcB6.mjs → useBlockCustomizeControls-WOs8Atje.mjs} +17 -23
  150. package/dist/preview-next/client/{useOpenBlockForSetup-CK-GWb9k.mjs → useOpenBlockForSetup-CipKCK2O.mjs} +1 -1
  151. package/dist/preview-next/container-responsive.css +3050 -0
  152. package/dist/preview-next/editor-base.css +90 -178
  153. package/dist/preview-next/editor-chrome.css +25 -8
  154. package/dist/preview-next/keepAlive.mjs +1 -1
  155. package/dist/preview-next/middleware.mjs +3 -4
  156. package/dist/preview-next/{route-contract-BU1m9SV3.mjs → route-contract-BLYaenrK.mjs} +36 -8
  157. package/dist/server/{Block.shared-4vx7wzxj.mjs → Block.shared-Dx4j9CJT.mjs} +4 -4
  158. package/dist/server/ThemeScopeCore-B0IfeNNZ.mjs +1983 -0
  159. package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
  160. package/dist/server/{bindings-TAQbo2P5.mjs → bindings-C1-MNwwS.mjs} +1 -1
  161. package/dist/server/{client-DzCxEl3L.mjs → client-Djjv-NuA.mjs} +38 -10
  162. package/dist/server/config-validation.mjs +1 -1
  163. package/dist/server/config.mjs +1 -1
  164. package/dist/server/data/resolveBlockData.mjs +1 -1
  165. package/dist/server/index.mjs +2 -2
  166. package/dist/server/{loadContent-BO1M9Hdf.mjs → loadContent-DhraQ_Fi.mjs} +4 -4
  167. package/dist/server/{loadPage-BvWzmZcD.mjs → loadPage-QXSdPSYY.mjs} +2 -2
  168. package/dist/server/next.mjs +6 -6
  169. package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
  170. package/dist/server/{overrideResolution-fxuB1zZg.mjs → overrideResolution-CMNx5tQg.mjs} +1 -1
  171. package/dist/server/page-converter.mjs +1 -1
  172. package/dist/server/{pageRenderPlan-DzduDSqY.mjs → pageRenderPlan-Bv6NbFeM.mjs} +11 -9
  173. package/dist/server/{pageRuntimeSupport-BU8pwTNx.mjs → pageRuntimeSupport-B2laBtff.mjs} +1 -1
  174. package/dist/server/{pageShared-CSOJ8p8E.mjs → pageShared-CE9EBNSH.mjs} +352 -290
  175. package/dist/server/{prebuild-C5ZYo7wA.mjs → prebuild-FBA6Y1K7.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-BvbxqeKn.mjs → prefetchBlockData-yL2hB2l_.mjs} +2 -2
  178. package/dist/server/{registry-Fv-7D8o2.mjs → registry-Djrj9gWy.mjs} +56 -816
  179. package/dist/server/rendering/components/pageShared.mjs +1 -1
  180. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  181. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  182. package/dist/server/rendering/islandDelivery.script.mjs +19 -0
  183. package/dist/server/rendering/server.mjs +3 -3
  184. package/dist/server/rendering.mjs +7 -7
  185. package/dist/server/{resolveBlockData-xPgkvoWS.mjs → resolveBlockData-CyeIjmqx.mjs} +1 -1
  186. package/dist/server/server.mjs +3 -3
  187. package/dist/server/theme-bridge.mjs +2 -2
  188. package/dist/server/{validation-DddhgNdb.mjs → validation-Dh8htd6l.mjs} +3 -3
  189. package/dist/server/{version-D_W2mt8w.mjs → version-LMwnoksN.mjs} +1 -1
  190. package/dist/styles/index.css +122 -49
  191. package/package.json +10 -6
  192. package/dist/client/BlocksIslandsHydrator-qq4Vhs7k.mjs +0 -296
  193. package/dist/client/Page-Dv9eIOGr.mjs +0 -52213
  194. package/dist/client/bookingForm-B1Fc62Sl.mjs +0 -34
  195. package/dist/client/eventCombined-DFSVDJ3D.mjs +0 -28
  196. package/dist/client/eventListing-CpFFcAUr.mjs +0 -29
  197. package/dist/client/eventRegistration-BipMUOCw.mjs +0 -34
  198. package/dist/client/form-57k2JQnm.mjs +0 -90
  199. package/dist/client/newsletterForm-Cn7h4zFe.mjs +0 -53
  200. package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
  201. package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
  202. package/dist/server/ThemeScopeCore-C3HLgqBF.mjs +0 -24213
  203. package/dist/client/{context-DQnTyApV.mjs → context-Xhf81Q-c.mjs} +1 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
3
- import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UdAlnZGQ.mjs";
2
+ import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
+ import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -9,18 +9,15 @@ function mountShopBlockIsland(root, props, Component, label) {
9
9
  const { siteId, apiBaseUrl, stage } = props;
10
10
  if (!siteId) throw new Error(`[sdk:islands] ${label} requires siteId`);
11
11
  if (!apiBaseUrl) throw new Error(`[sdk:islands] ${label} requires apiBaseUrl`);
12
- const apiConfig = buildRouteIslandApiConfig({
13
- readAuthority: props.readAuthority,
14
- apiBaseUrl,
15
- siteId,
16
- stage
17
- });
18
- return mountReactIsland(root, ({ root: reactRoot }) => {
19
- reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
20
- config: apiConfig,
21
- children: /* @__PURE__ */ jsx(Component, { ...props })
22
- }));
23
- });
12
+ return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
13
+ config: buildRouteIslandApiConfig({
14
+ readAuthority: props.readAuthority,
15
+ apiBaseUrl,
16
+ siteId,
17
+ stage
18
+ }),
19
+ children: /* @__PURE__ */ jsx(Component, { ...props })
20
+ }));
24
21
  }
25
22
  //#endregion
26
23
  export { mountShopBlockIsland as t };
@@ -1,19 +1,19 @@
1
1
  "use client";
2
- import { Cn as RichText, Hn as formatEventClockLabel, Rn as eventDateOptions, Xn as resolveEventTimeZone, Yn as groupEventsByDate, er as formatEventRemainingPlaces, ir as getEventAvailabilityStatus, or as isEventFull, qn as formatEventTimeRange, wi as resolveDateRuntimeContext } from "./display-CT8KMSpH.mjs";
2
+ import { Cn as RichText, Hn as formatEventClockLabel, Rn as eventDateOptions, Xn as resolveEventTimeZone, Yn as groupEventsByDate, er as formatEventRemainingPlaces, ir as getEventAvailabilityStatus, or as isEventFull, qn as formatEventTimeRange, wi as resolveDateRuntimeContext } from "./display-DDNmyb0z.mjs";
3
3
  import { Ht as toScheduledBookingDateTime, Mt as formatDate, Vt as formatBookingCompactEnglishTime, Xt as parseLocalScheduleTime } from "./noop-B_f7RqLD.mjs";
4
4
  import { M as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
5
  import { t as LocationMapActions } from "./LocationMapActions-BFp2uQQQ.mjs";
6
+ import { U as textColorStyle } from "./accessibleSurfaces-_7jkuinl.mjs";
6
7
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-xrjaKaCj.mjs";
7
- import { U as textColorStyle } from "./accessibleSurfaces-chpD4C2c.mjs";
8
8
  import { C as parseThemeButtonVariantId, S as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
9
- import { r as resolveEventLinkProps } from "./cta-Bj5WHgcv.mjs";
9
+ import { r as resolveEventLinkProps } from "./cta-CfuyGqXL.mjs";
10
10
  import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-DDWfmgpA.mjs";
11
- import { l as formatEventTeacherLine } from "./EventItem-B5J0IeF4.mjs";
12
- import { t as CalendarNavigationChevron } from "./CalendarNavigationChevron-VM7C2fdh.mjs";
11
+ import { l as formatEventTeacherLine } from "./EventItem-gFuZn-dE.mjs";
12
+ import { t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CH7z2m47.mjs";
13
13
  import { t as coerceRichTextDoc } from "./richText-coerce-BTurYEao.mjs";
14
14
  import "react";
15
- import { z } from "zod";
16
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
+ import { z } from "zod";
17
17
  //#region ../core/src/opening-hours.ts
18
18
  const openingHoursWeekdayLabels = {
19
19
  monday: "Monday",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { It as formatTime$1, Jt as getLocalScheduleDate, Kt as formatLocalScheduleDate, Mt as formatDate$1, Qt as resolveBookingTimeZoneId, Wt as addLocalScheduleDays, Yt as parseBookingLocalDate, en as parseUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
3
3
  import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
4
- import { n as useBlockApi } from "./context-DQnTyApV.mjs";
4
+ import { n as useBlockApi } from "./context-Xhf81Q-c.mjs";
5
5
  import { useCallback, useEffect, useReducer, useRef } from "react";
6
6
  //#region ../core/src/branded/appointments.ts
7
7
  const unsafeAsAppointmentServiceId = (id) => id;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
3
3
  import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
4
- import { d as getAutoAppliedDiscountPreview, l as discountAvailabilityAllowsManualEntry, u as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-C2QCj_Ta.mjs";
4
+ import { d as getAutoAppliedDiscountPreview, l as discountAvailabilityAllowsManualEntry, u as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
6
  import * as React$1 from "react";
7
7
  import { useCallback } from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { d as getAutoAppliedDiscountPreview, l as discountAvailabilityAllowsManualEntry, u as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-C2QCj_Ta.mjs";
2
+ import { d as getAutoAppliedDiscountPreview, l as discountAvailabilityAllowsManualEntry, u as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
3
3
  import { useEffect, useReducer, useRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { At as normalizeCsvString, Ct as getEventPaginationView, Et as toError, Ot as getEventRuntimeFiltersKey, St as getEventIdentity, Tt as toEventPaginationLoadError, bt as eventPageOperationQuery, jt as normalizeOptionalId, kt as normalizeCsvIds, wt as planEventPageOperation, xt as eventPaginationLoadReducer, yt as createInitialEventPaginationLoadState } from "./shop.interactive-C6L_Ig5F.mjs";
3
- import { Di as getBlockApiReadStage, Gi as listLookSlot, Ui as listItemPresentation } from "./display-CT8KMSpH.mjs";
2
+ import { At as normalizeCsvIds, Ct as getEventIdentity, Dt as toError, Et as toEventPaginationLoadError, Mt as normalizeOptionalId, St as eventPaginationLoadReducer, Tt as planEventPageOperation, bt as createInitialEventPaginationLoadState, jt as normalizeCsvString, kt as getEventRuntimeFiltersKey, wt as getEventPaginationView, xt as eventPageOperationQuery } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { Di as getBlockApiReadStage, Gi as listLookSlot, Ui as listItemPresentation } from "./display-DDNmyb0z.mjs";
4
4
  import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
- import { n as useBlockApi } from "./context-DQnTyApV.mjs";
6
- import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BYBaElec.mjs";
5
+ import { n as useBlockApi } from "./context-Xhf81Q-c.mjs";
6
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CtVfe3VG.mjs";
7
7
  import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
8
- import { r as EventItem } from "./EventItem-B5J0IeF4.mjs";
8
+ import { r as EventItem } from "./EventItem-gFuZn-dE.mjs";
9
9
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Gi as listLookSlot, d as membershipClassesLabel, f as passCardListContent, u as membershipCardListContent } from "./display-CT8KMSpH.mjs";
2
+ import { Gi as listLookSlot, d as membershipClassesLabel, f as passCardListContent, u as membershipCardListContent } from "./display-DDNmyb0z.mjs";
3
3
  import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
4
- import { r as EventItem, t as CardListCollection } from "./EventItem-B5J0IeF4.mjs";
4
+ import { r as EventItem, t as CardListCollection } from "./EventItem-gFuZn-dE.mjs";
5
5
  import React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { Gt as formatEventPrice, Kt as formatEventPriceAmount, Pt as CardListContentPart, Rt as MediaNodeServer, nt as formatBookingSchedulePresentation, qt as formatEventPriceDisplay } from "./shop.interactive-C6L_Ig5F.mjs";
3
- import { Fo as publicEventPricingType, Gi as listLookSlot, Mo as publicEventPricingCurrency, No as publicEventPricingDisplay, Ri as resolveEventRegistrationScopedEvents, Rn as eventDateOptions, Un as formatEventCompactDateRail, Wn as formatEventDateParts, go as CANCELLED_SESSION_STATUS, jo as isPublicEventPricingOptionDisplayable, ko as formatBookingPriceDisplay, nr as formatTotalCapacity, vo as orderedLiveRunSessions, wn as ImagePresets, yo as resolveWholeSeriesBookingPhase } from "./display-CT8KMSpH.mjs";
2
+ import { Ft as CardListContentPart, Jt as formatEventPriceDisplay, Kt as formatEventPrice, qt as formatEventPriceAmount, rt as formatBookingSchedulePresentation, zt as MediaNodeServer } from "./shop.interactive-BH0xDlMF.mjs";
3
+ import { Fo as publicEventPricingType, Gi as listLookSlot, Mo as publicEventPricingCurrency, No as publicEventPricingDisplay, Ri as resolveEventRegistrationScopedEvents, Rn as eventDateOptions, Un as formatEventCompactDateRail, Wn as formatEventDateParts, go as CANCELLED_SESSION_STATUS, jo as isPublicEventPricingOptionDisplayable, ko as formatBookingPriceDisplay, nr as formatTotalCapacity, vo as orderedLiveRunSessions, wn as ImagePresets, yo as resolveWholeSeriesBookingPhase } from "./display-DDNmyb0z.mjs";
4
4
  import { $t as toBookingTimeZone, Ft as formatDateTimeRange, Gt as compareLocalScheduleDates, Ht as toScheduledBookingDateTime, Jt as getLocalScheduleDate, Mt as formatDate, Nt as formatDateRange, Zt as resolveBookingBusinessTimeZone, on as formatCurrencyAmount, qt as getBookingLocalDateKey, tn as toUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
5
5
  import { M as assertNever } from "./creditProducts-CMOmhWm2.mjs";
6
6
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
7
7
  import { t as LocationMapActions } from "./LocationMapActions-BFp2uQQQ.mjs";
8
- import { r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-Bj5WHgcv.mjs";
8
+ import { r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CfuyGqXL.mjs";
9
9
  import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DDWfmgpA.mjs";
10
10
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
11
11
  import "react";
@@ -12,3 +12,7 @@
12
12
  @import "./editor-chrome.css";
13
13
 
14
14
  @import "./edit-map.css";
15
+
16
+ /* Width rules for previewing a site at a chosen width (container mode). The base theme
17
+ stylesheet comes from @riverbankcms/sdk/styles.css, which sites import as well. */
18
+ @import "./container-responsive.css";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $d as truncateInlineText, Am as DialogContent, Bm as __awaiter, C as selectedImageFromMediaValue, Cm as DialogDescription$1, D_ as asLayoutVariantKey, Dd as RichTextDocSchema, Ef as getCuratedSiteStyle, Eh as cn$2, Em as DialogTitle$1, F as nextLookTilePin, Ff as getGradientPreset, Gd as inlineTextToPlainText, Gm as __spreadArray, Hd as inlineTextAccentTones, Hm as __generator, Jd as normalizeInlineTextMarks, Km as __spreadArrays, Kn as rankBackgroundImagePoolItems, Ln as backgroundColorTokens, Mm as DialogOverlay, Na as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, Nf as gradientToCss, Nm as DialogPortal, Pm as DialogTitle, Qd as replaceInlineTextRange, R_ as generateUuidV4, Sm as DialogContent$1, Th as useComposedRefs, Tm as DialogHeader, Ud as inlineTextEqual, Um as __read, Vm as __extends, Wd as inlineTextHighlightTones, Wm as __rest, Xd as plainTextToInlineText, Xp as unwrapResponse, Zd as removeInlineTextMarkFromRange, am as SelectTrigger, b_ as mediaIdentifierSchema, bh as useControlReadiness, bm as Dialog, c_ as formatAspectRatioToken, cm as usePrevious, d_ as getDirectImageUrlForMediaAsset, f_ as getImageUrl, fh as useControllableState, gh as Primitive, hh as composeEventHandlers, ig as surfaceForegroundValue, ih as useSize, im as SelectItem, iy as unsafeAsPositiveByteCount, ja as resolveMediaStorageUrl, jm as DialogDescription, jr as getBlockDefinition, k as usePreviewRenderBackgrounds, ka as resolveImageUrlWithContext, kd as richTextVariantCapabilities, km as DialogClose, l_ as parseAspectRatioValue, mh as createContextScope, nm as Select, o_ as isRotationDimensionSwap, om as SelectValue, op as assertNever$1, qd as normalizeInlineText, rm as SelectContent, ry as unsafeAsMediaAssetId, s_ as normalizeRightAngle, ty as assertNever, u_ as resolveMediaTransformForAspect, v_ as resolveManagedMediaReference, vh as Button, w as selectedImageFromRenderableAsset, wa as computeMediaTransformStyle, xa as getRichTextImageSize, xh as cva, zd as applyInlineTextMarkToRange, zm as __assign, zn as defaultBackgroundOverrideForMode, zt as getDashboardBaseUrl } from "./previewAssistantSlot-DSR0IdAw.mjs";
4
- import { B as ImageUp, C as Palette, F as Link$1, Gt as err, J as FileSpreadsheet, K as File, Kt as ok, L as Italic$1, M as LoaderCircle, N as List, P as ListOrdered, R as Info, St as Archive, W as Highlighter, X as FileHeadphone, Y as FilePlay, Z as FileArchive, a as Upload, b as Pencil, c as Trash2, ft as ChevronRight, ht as Check, n as X, nt as Crop, pt as ChevronLeft, q as FileText, y as Plus, yt as Bold$1, z as Image } from "./lucide-react-DkZ8fO-G.mjs";
5
- import { $ as useMediaEditorOptional, Bt as readThemeScopeContext, D as usePreviewCompiledThemeOptional, Q as useMediaEditor, Xt as Input, d as CustomizeBackgroundColorPicker, et as useApiMediaUploader, ln as classifyKnownMimeType, tt as TransferError } from "./SiteChromeCustomizeButton-CQFRP9aM.mjs";
6
- import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, c as arrangementBackgroundControlFor, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor } from "./useBlockCustomizeControls-ZrWdhcB6.mjs";
3
+ import { $d as truncateInlineText, Aa as resolveMediaStorageUrl, Am as DialogContent, Ar as getBlockDefinition, B_ as generateUuidV4, C as selectedImageFromMediaValue, Ca as computeMediaTransformStyle, Ch as cva, Cm as DialogDescription$1, Dd as RichTextDocSchema, Dh as useComposedRefs, Ef as getCuratedSiteStyle, Em as DialogTitle$1, F as nextLookTilePin, Ff as getGradientPreset, Gd as inlineTextToPlainText, Gm as __read, Gn as rankBackgroundImagePoolItems, Hd as inlineTextAccentTones, Hm as __awaiter, In as backgroundColorTokens, Jd as normalizeInlineTextMarks, Jm as __spreadArrays, Km as __rest, Ma as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, Mm as DialogOverlay, Nf as gradientToCss, Nm as DialogPortal, Oa as resolveImageUrlWithContext, Oh as cn$2, Pm as DialogTitle, Qd as replaceInlineTextRange, Rn as defaultBackgroundOverrideForMode, S_ as mediaIdentifierSchema, Sh as useControlReadiness, Sm as DialogContent$1, Tm as DialogHeader, Ud as inlineTextEqual, Um as __extends, Vm as __assign, Wd as inlineTextHighlightTones, Wm as __generator, Xd as plainTextToInlineText, Xp as unwrapResponse, Zd as removeInlineTextMarkFromRange, _h as composeEventHandlers, am as SelectTrigger, ay as unsafeAsMediaAssetId, b_ as resolveManagedMediaReference, ba as getRichTextImageSize, bh as Button, bm as Dialog, c_ as isRotationDimensionSwap, cm as usePrevious, d_ as parseAspectRatioValue, f_ as resolveMediaTransformForAspect, gh as createContextScope, im as SelectItem, jm as DialogDescription, k as usePreviewRenderBackgrounds, k_ as asLayoutVariantKey, kd as richTextVariantCapabilities, km as DialogClose, l_ as normalizeRightAngle, m_ as getImageUrl, mh as useControllableState, nm as Select, og as surfaceForegroundValue, oh as useSize, om as SelectValue, op as assertNever$1, oy as unsafeAsPositiveByteCount, p_ as getDirectImageUrlForMediaAsset, qd as normalizeInlineText, qm as __spreadArray, rm as SelectContent, ry as assertNever, u_ as formatAspectRatioToken, vh as Primitive, w as selectedImageFromRenderableAsset, zd as applyInlineTextMarkToRange, zm as usePortalContainer, zt as getDashboardBaseUrl } from "./previewAssistantSlot-CSs9S8wr.mjs";
4
+ import { B as ImageUp, C as Palette, F as Link$1, Gt as err, J as FileSpreadsheet, K as File, Kt as ok, L as Italic$1, M as LoaderCircle, N as List, P as ListOrdered, R as Info, St as Archive, W as Highlighter, X as FileHeadphone, Y as FilePlay, Z as FileArchive, a as Upload, b as Pencil, c as Trash2, ft as ChevronRight, ht as Check, n as X, nt as Crop, pt as ChevronLeft, q as FileText, y as Plus, yt as Bold$1, z as Image } from "./lucide-react-DbC1o6_9.mjs";
5
+ import { $ as useMediaEditorOptional, D as usePreviewCompiledThemeOptional, Q as useMediaEditor, Yt as Input, cn as classifyKnownMimeType, d as CustomizeBackgroundColorPicker, et as useApiMediaUploader, tt as TransferError, zt as readThemeScopeContext } from "./SiteChromeCustomizeButton-CcZ_ERvZ.mjs";
6
+ import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, c as arrangementBackgroundControlFor, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor } from "./useBlockCustomizeControls-WOs8Atje.mjs";
7
7
  import * as React$1 from "react";
8
8
  import React, { Component, createContext, createRef, forwardRef, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -172,6 +172,7 @@ const footerModeSchema = z.enum([
172
172
  //#endregion
173
173
  //#region ../ui/src/scrollable-dialog-shell.tsx
174
174
  function ScrollableDialogShell({ header, footer, children, mobileFullscreen = false, desktopMaxWidth = "sm:max-w-3xl", desktopHeight = "sm:h-[80vh]", maxWidth = "max-w-3xl", height = "h-[80vh]", disableMotion = false, showCloseButton = true, className, headerClassName, bodyClassName, footerClassName, wrapContent, ...props }) {
175
+ const portalContainer = usePortalContainer();
175
176
  const inner = /* @__PURE__ */ jsxs(Fragment$1, { children: [
176
177
  /* @__PURE__ */ jsx("div", {
177
178
  "data-slot": "scrollable-dialog-header",
@@ -204,6 +205,7 @@ function ScrollableDialogShell({ header, footer, children, mobileFullscreen = fa
204
205
  ] });
205
206
  return /* @__PURE__ */ jsxs(DialogPortal, {
206
207
  "data-slot": "dialog-portal",
208
+ container: portalContainer,
207
209
  children: [/* @__PURE__ */ jsx(DialogOverlay, {
208
210
  "data-slot": "dialog-overlay",
209
211
  className: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50"
@@ -375,7 +377,7 @@ function SegmentedControl({ options, value, onValueChange, size = "default", cla
375
377
  });
376
378
  }
377
379
  //#endregion
378
- //#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.3.1_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react_f30aab934061263a32f2b7a519c5feb6/node_modules/@radix-ui/react-switch/dist/index.mjs
380
+ //#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.3.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@_5ced62f53b2a5960b397a73a077192c7/node_modules/@radix-ui/react-switch/dist/index.mjs
379
381
  var SWITCH_NAME = "Switch";
380
382
  var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
381
383
  var [SwitchProviderImpl, useSwitchContext] = createSwitchContext(SWITCH_NAME);
@@ -20294,7 +20296,7 @@ const richTextConfigs = {
20294
20296
  }
20295
20297
  };
20296
20298
  //#endregion
20297
- //#region ../../node_modules/.pnpm/@tiptap+react@2.26.1_@tiptap+core@2.26.1_@tiptap+pm@2.26.1__@tiptap+pm@2.26.1_react-dom_d6863931a408dbca923decba179ce185/node_modules/@tiptap/react/dist/index.js
20299
+ //#region ../../node_modules/.pnpm/@tiptap+react@2.26.1_@tiptap+core@2.26.1_@tiptap+pm@2.26.1__@tiptap+pm@2.26.1_react-dom_2826fa9920ea965115cb69a53712a0a5/node_modules/@tiptap/react/dist/index.js
20298
20300
  function getDefaultExportFromCjs(x) {
20299
20301
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
20300
20302
  }
@@ -21616,7 +21618,6 @@ function BlockTypeDropdown({ editor, onOpenChange, tone = "dark" }) {
21616
21618
  "data-rb-document-toolbar": richTextDocumentOwner(editor),
21617
21619
  align: "start",
21618
21620
  className: cn$1("min-w-[12rem] p-1", tone === "light" ? "border-2 border-input bg-white text-slate-900" : "border border-slate-700 bg-slate-950/95 text-slate-100"),
21619
- container: typeof document !== "undefined" ? document.getElementById("builder-editor-chrome-root") : void 0,
21620
21621
  children: options.map((option) => {
21621
21622
  const active = option.isActive(editor);
21622
21623
  return /* @__PURE__ */ jsxs(DropdownMenuItem, {
@@ -21674,10 +21675,7 @@ function ToolbarIconButton({ children, ariaLabel, isActive, label, widthClassNam
21674
21675
  children: label
21675
21676
  }) : null]
21676
21677
  })
21677
- }), /* @__PURE__ */ jsx(TooltipContent, {
21678
- container: typeof document !== "undefined" ? document.getElementById("builder-editor-chrome-root") : void 0,
21679
- children: ariaLabel
21680
- })] });
21678
+ }), /* @__PURE__ */ jsx(TooltipContent, { children: ariaLabel })] });
21681
21679
  }
21682
21680
  //#endregion
21683
21681
  //#region ../editor/src/primitives/rich-text/toolbar/linkPopoverUtils.ts
@@ -22107,7 +22105,7 @@ function RichTextToolbar({ editor, buttons, onPickImage, linkItems, onRequestLin
22107
22105
  const [isHovered, setIsHovered] = useState(false);
22108
22106
  const [isFocused, setIsFocused] = useState(false);
22109
22107
  const [isMenuOpen, setIsMenuOpen] = useState(false);
22110
- const [chromeRoot, setChromeRoot] = useState(null);
22108
+ const portalContainer = usePortalContainer() ?? null;
22111
22109
  useEffect(() => {
22112
22110
  if (!editor) return;
22113
22111
  const handleFocus = () => setIsFocused(true);
@@ -22119,11 +22117,6 @@ function RichTextToolbar({ editor, buttons, onPickImage, linkItems, onRequestLin
22119
22117
  editor.off("blur", handleBlur);
22120
22118
  };
22121
22119
  }, [editor]);
22122
- useEffect(() => {
22123
- if (host.kind !== "chrome") return;
22124
- if (typeof window === "undefined") return;
22125
- setChromeRoot(document.getElementById("builder-editor-chrome-root") ?? null);
22126
- }, [host.kind]);
22127
22120
  if (!editor || buttons.length === 0) return null;
22128
22121
  if (!shouldShowToolbar(visibility, {
22129
22122
  isFocused,
@@ -22217,7 +22210,7 @@ function RichTextToolbar({ editor, buttons, onPickImage, linkItems, onRequestLin
22217
22210
  delayDuration: 200,
22218
22211
  children: buttons.map(renderButton)
22219
22212
  })
22220
- }), chromeRoot);
22213
+ }), portalContainer);
22221
22214
  }
22222
22215
  /** Hosting follows this toolbar's admitted visibility, retaining its interaction state while hidden. */
22223
22216
  function renderToolbarHost(host, toolbar, chromeRoot) {
@@ -26070,7 +26063,7 @@ function fixedStencil(state, settings, action) {
26070
26063
  return state;
26071
26064
  }
26072
26065
  //#endregion
26073
- //#region ../../node_modules/.pnpm/react-advanced-cropper@0.20.1_react@19.2.7/node_modules/react-advanced-cropper/dist/index.esm-bundler.js
26066
+ //#region ../../node_modules/.pnpm/react-advanced-cropper@0.20.1_react@19.3.1/node_modules/react-advanced-cropper/dist/index.esm-bundler.js
26074
26067
  function hybridStencilAutoZoomAlgorithm(state, settings) {
26075
26068
  if (isInitializedState(state)) {
26076
26069
  var result = copyState(state);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ft as locationPinSchema } from "./lucide-react-DkZ8fO-G.mjs";
2
+ import { Ft as locationPinSchema } from "./lucide-react-DbC1o6_9.mjs";
3
3
  import { createContext, useContext } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../editor-blocks/src/widgets/location/editMapDecision.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { At as sameMeaningfulAddress, D as Minus, Ft as locationPinSchema, j as LocateFixed, y as Plus } from "./lucide-react-DkZ8fO-G.mjs";
4
- import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-CZQ4vkRe.mjs";
3
+ import { At as sameMeaningfulAddress, D as Minus, Ft as locationPinSchema, j as LocateFixed, y as Plus } from "./lucide-react-DbC1o6_9.mjs";
4
+ import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-CwxRbAs2.mjs";
5
5
  import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { createPortal } from "react-dom";