@riverbankcms/sdk 0.176.0 → 0.178.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 (205) hide show
  1. package/README.md +12 -4
  2. package/dist/_dts/{BlocksIslandsHydrator-DvoTk7Py.d.ts → BlocksIslandsHydrator-CrKsXtpD.d.ts} +1 -1
  3. package/dist/_dts/{Page-D-l374tU.d.ts → Page-C9i27wZA.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-22DdQAj5.d.ts → SdkPreviewMode-DzGSR3jh.d.ts} +2 -2
  5. package/dist/_dts/{client-D4p0J1lK.d.ts → client-BnYN6XsH.d.ts} +31 -7
  6. package/dist/_dts/{content-types-0WWR6dC4.d.ts → content-types-CXj6lp3d.d.ts} +4 -8
  7. package/dist/_dts/{contracts-f_ZG_SwY.d.ts → contracts-BZLwkTwL.d.ts} +3 -3
  8. package/dist/_dts/{footerPageOutline-DSeZvOaj.d.ts → footerPageOutline-D_XbQW_o.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-BlitPA2D.d.ts → generatePageMetadata-ByEWwe9j.d.ts} +2 -2
  10. package/dist/_dts/{index-ZKEDvLuN.d.ts → index-0HFgCnGz.d.ts} +1 -1
  11. package/dist/_dts/{index-tcPtGdag.d.ts → index-BE9dWIsr.d.ts} +3 -3
  12. package/dist/_dts/{index-D-ai8IQd.d.ts → index-CKDRr54L.d.ts} +4 -4
  13. package/dist/_dts/{index-CoLcwjqJ.d.ts → index-D9-N1d9v.d.ts} +1 -1
  14. package/dist/_dts/{index-CKkkCgb6.d.ts → index-DCa-8TEY.d.ts} +1 -1
  15. package/dist/_dts/{index-DDsfmM4d.d.ts → index-cTpvQg_Q.d.ts} +2 -2
  16. package/dist/_dts/{index-EJMo-KSo.d.ts → index-nnEdgc3Z.d.ts} +2 -15
  17. package/dist/_dts/{loadContent-Ci932ORy.d.ts → loadContent-DYkVV6w4.d.ts} +7 -7
  18. package/dist/_dts/{request-B8jVdvgI.d.ts → request-B20VRWHH.d.ts} +55384 -55036
  19. package/dist/_dts/{resolveBlockData-DrSMuD76.d.ts → resolveBlockData-C_aK5GIS.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-Be4iL6-F.d.ts → resolvePageContent-YT6ndha1.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/next/index.d.ts +24 -12
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +56 -4
  39. package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
  40. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  41. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  43. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  45. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  48. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  49. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  50. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  51. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  52. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  53. package/dist/_dts/sdk/src/server.d.ts +5 -5
  54. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  55. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  56. package/dist/_dts/{types-lwSgCWZ4.d.ts → types-CMZ5mkpv.d.ts} +11 -3
  57. package/dist/_dts/{types-BXMX4z2j.d.ts → types-CYcd15BQ.d.ts} +7 -7
  58. package/dist/_dts/{types-DXY64Xh4.d.ts → types-rm2M4LGx.d.ts} +4 -4
  59. package/dist/_dts/{validation-C5xp--Fu.d.ts → validation-BSxnRhyy.d.ts} +4 -6
  60. package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-D1n09bu-.mjs} +17 -17
  61. package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-DSD4gS96.mjs} +6 -6
  62. package/dist/client/{BookingPanelArrangement-BShQSial.mjs → BookingPanelArrangement--EkA1ZQd.mjs} +1 -1
  63. package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-B57oGPcj.mjs} +2 -2
  64. package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-qXvsFYOg.mjs} +7 -7
  65. package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-Olvrwi3Z.mjs} +3 -3
  66. package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-DwFNFb-0.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-Ffu-aVOb.mjs} +9 -9
  68. package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-b8tVkNHA.mjs} +4 -4
  69. package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BxnJW_Gf.mjs} +1 -1
  70. package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-ViCnrNg4.mjs} +3 -3
  71. package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-CdjiepMf.mjs} +7 -7
  72. package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs} +262 -24
  73. package/dist/client/{LocationMapActions-myIQIvQL.mjs → LocationMapActions-CiMtl1Ha.mjs} +1 -1
  74. package/dist/client/{MapDrawingSvg-BfsVyPvB.mjs → MapDrawingSvg-BCZa3dpf.mjs} +1 -1
  75. package/dist/client/{Page-F3lhDvw1.mjs → Page-DqETUt-U.mjs} +22 -13
  76. package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs} +2 -2
  77. package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-JO2PS03n.mjs} +79 -32
  78. package/dist/client/{accordion-BfsOiweL.mjs → accordion-XgNxl0Wg.mjs} +1 -1
  79. package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-ljJoDwuI.mjs} +13 -13
  80. package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-DtEHwY4W.mjs} +4 -4
  81. package/dist/client/bookings.mjs +5 -5
  82. package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-BHoMAcun.mjs} +2 -2
  83. package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-B3UhbFu7.mjs} +1 -1
  84. package/dist/client/{cart-CTC2oS3p.mjs → cart-DzOJfYOR.mjs} +3 -3
  85. package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-DBG77v-5.mjs} +1 -1
  86. package/dist/client/{checkout-BeW1ufaH.mjs → checkout-LmePoEgM.mjs} +3 -3
  87. package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-DmgZuLBT.mjs} +1 -1
  88. package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-CMZI8o_V.mjs} +1 -1
  89. package/dist/client/client.mjs +93 -12
  90. package/dist/client/{context-R9p5c8IH.mjs → context-CJIz4FdL.mjs} +1 -1
  91. package/dist/client/{course-CUFVJEAc.mjs → course-DBEU9IA9.mjs} +11 -4
  92. package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-UoXqBh10.mjs} +1 -1
  93. package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-6CgFZNvu.mjs} +5 -4
  94. package/dist/client/{display-4HYOb-AK.mjs → display-D1oVR5Eh.mjs} +180 -15
  95. package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DaMo6len.mjs} +3 -3
  96. package/dist/client/{event-details.client-BwjBJP-f.mjs → event-details.client-BwASwKIq.mjs} +1 -1
  97. package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-b6APrFQe.mjs} +118 -180
  98. package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-DJYz7yZf.mjs} +4 -4
  99. package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-j9VCVgMW.mjs} +4 -4
  100. package/dist/client/{eventDetails-C2LfNW_o.mjs → eventDetails-BzGOVDI-.mjs} +2 -2
  101. package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-DWgpGuFM.mjs} +4 -4
  102. package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-DCinRot3.mjs} +4 -4
  103. package/dist/client/{form-BbUUt784.mjs → form-BBBtRwvy.mjs} +3 -3
  104. package/dist/client/{form.client-BVlz-9_t.mjs → form.client-CZeRQLGF.mjs} +4 -4
  105. package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-DhGGv4_L.mjs} +1 -1
  106. package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-DVFVDcDW.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +6 -5
  108. package/dist/client/{gifting-CbNSrp7C.mjs → gifting-Di9-SpwW.mjs} +4 -4
  109. package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-CjT5PrAZ.mjs} +4 -4
  110. package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-ffP6mjMd.mjs} +2 -2
  111. package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-jjAvtSZk.mjs} +2 -2
  112. package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-C2VzJfyG.mjs} +1 -1
  113. package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-D45frHoa.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-CHdg82ct.mjs} +1 -1
  115. package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-tS465_vl.mjs} +3 -3
  116. package/dist/client/{noop-CaQxI-Js.mjs → noop-D11X-B6n.mjs} +123 -91
  117. package/dist/client/portal/client.mjs +384 -38
  118. package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-DIWSeW7P.mjs} +1 -1
  119. package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-BRf14h_e.mjs} +1 -1
  120. package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-gxF5whea.mjs} +3 -3
  121. package/dist/client/{productList-C_wMKsYS.mjs → productList-B9t0XJrN.mjs} +3 -3
  122. package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Db8wAmgr.mjs} +4 -4
  123. package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-Bn0gE0uP.mjs} +27 -27
  124. package/dist/client/rendering/client.mjs +23 -23
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +7 -7
  127. package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-COnKrLO7.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-Bok1Oy50.mjs} +1 -1
  129. package/dist/client/{shop-CFbWlv_W.mjs → shop-D1oTPDxm.mjs} +3 -3
  130. package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-DyMZLC0a.mjs} +12 -12
  131. package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-FODNS63D.mjs} +1 -1
  132. package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-C4xcmFzZ.mjs} +2 -2
  133. package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-CRgRulfI.mjs} +12 -12
  134. package/dist/client/{shop.interactive-CxDJ8P2r.mjs → shop.interactive-D7wky1GL.mjs} +6 -33
  135. package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Bd_hy9ZO.mjs} +2 -2
  136. package/dist/client/src-DqMbCjI1.mjs +3 -0
  137. package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
  138. package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-UlWfP1gh.mjs} +9 -9
  139. package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-D-qoooLy.mjs} +2 -2
  140. package/dist/client/{useDiscountCodeUi-I_mXI9Yd.mjs → useDiscountCodeUi-B9DODAkj.mjs} +1 -1
  141. package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-CQH2e9sQ.mjs} +7 -7
  142. package/dist/client/{view-BbzH5MQb.mjs → view-DNX59QwM.mjs} +10 -9
  143. package/dist/client/{view-3foOzGWR.mjs → view-bGU1ws-m.mjs} +3 -3
  144. package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
  145. package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
  146. package/dist/preview-next/client/{PageSectionToolbar-0xyUPWUB.mjs → PageSectionToolbar-D-Le7O3o.mjs} +52 -8
  147. package/dist/preview-next/client/{PreviewEditorSidebar-D8vUzXtI.mjs → PreviewEditorSidebar-DNy5j_ce.mjs} +34 -39
  148. package/dist/preview-next/client/{PreviewEditorUI-CRjS4gAu.mjs → PreviewEditorUI-CzJvgbqt.mjs} +10 -10
  149. package/dist/preview-next/client/{PreviewShell-BvdBdeH_.mjs → PreviewShell-xhJ6ca1i.mjs} +9 -8
  150. package/dist/preview-next/client/{SdkPreviewModeRuntime-DWTyKbFj.mjs → SdkPreviewModeRuntime-BmYO1TdT.mjs} +16 -7
  151. package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
  152. package/dist/preview-next/client/{previewAssistantSlot-BqY2TTcZ.mjs → previewAssistantSlot-BN93X9o1.mjs} +1211 -600
  153. package/dist/preview-next/client/{previewChromeRoot-BuRYe2iL.mjs → previewChromeRoot-C51RQseo.mjs} +1 -1
  154. package/dist/preview-next/client/runtime.mjs +3 -3
  155. package/dist/preview-next/client/{sdk-runtime-BnK5kH9f.mjs → sdk-runtime-oeGquJM-.mjs} +2 -2
  156. package/dist/preview-next/client/{siteStyleAccess-DbKozRSn.mjs → siteStyleAccess-BGTAcPud.mjs} +27 -17
  157. package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
  158. package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
  159. package/dist/preview-next/client/{useAutosaveStatus-D9s6dyMW.mjs → useAutosaveStatus-BMGXjGZq.mjs} +3 -30
  160. package/dist/preview-next/client/{useOpenBlockForSetup-Ce4WCxpT.mjs → useOpenBlockForSetup-CTDoR_gQ.mjs} +2 -2
  161. package/dist/preview-next/container-responsive.css +3 -0
  162. package/dist/preview-next/editor-chrome.css +4 -2
  163. package/dist/preview-next/keepAlive.mjs +1 -1
  164. package/dist/preview-next/middleware.mjs +1 -1
  165. package/dist/preview-next/{route-contract-BYezcMx5.mjs → route-contract-BtdzkSUg.mjs} +71 -4
  166. package/dist/server/{Block.shared-Cn7gg13_.mjs → Block.shared-Bp3OlOjj.mjs} +5 -5
  167. package/dist/server/{bindings-VGgS6UvF.mjs → bindings-DrbJuftt.mjs} +3 -3
  168. package/dist/server/{client-Bvag5OtW.mjs → client-Bf06n9oj.mjs} +90 -9
  169. package/dist/server/config-validation.mjs +1 -1
  170. package/dist/server/config.mjs +2 -2
  171. package/dist/server/constants-Cj7hfbrA.mjs +41 -0
  172. package/dist/server/data/resolveBlockData.mjs +1 -1
  173. package/dist/server/index.mjs +2 -2
  174. package/dist/server/{loadContent-CxASA3PE.mjs → loadContent-eaTY7RPg.mjs} +4 -4
  175. package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-5iZefzDd.mjs} +2 -2
  176. package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
  177. package/dist/server/navigation.mjs +1 -1
  178. package/dist/server/next/revalidate.mjs +15 -8
  179. package/dist/server/next.mjs +56 -13
  180. package/dist/server/{overrideResolution-BqVLO4gX.mjs → overrideResolution-CUHtm7tW.mjs} +1 -1
  181. package/dist/server/page-converter.mjs +1 -1
  182. package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-GmPXForc.mjs} +13 -6
  183. package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-Dd8LFzfa.mjs} +1 -1
  184. package/dist/server/{pageShared-D23o5QgC.mjs → pageShared-tz-GVWft.mjs} +96 -39
  185. package/dist/server/portal-B4JVkdjc.mjs +783 -0
  186. package/dist/server/portal.mjs +3 -3
  187. package/dist/server/{prebuild-BuoXWT9y.mjs → prebuild-JmsuYCIH.mjs} +1 -1
  188. package/dist/server/prebuild.mjs +1 -1
  189. package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-Ce9DDwON.mjs} +2 -2
  190. package/dist/server/{registry-CXRXsFSx.mjs → registry-D12XF_h1.mjs} +466 -311
  191. package/dist/server/rendering/components/pageShared.mjs +1 -1
  192. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  193. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  194. package/dist/server/rendering/server.mjs +3 -3
  195. package/dist/server/rendering.mjs +7 -7
  196. package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-D9yZIN3V.mjs} +1 -1
  197. package/dist/server/server.mjs +3 -3
  198. package/dist/server/{validation-CozQ7wE0.mjs → validation-CLq5cw6M.mjs} +3 -5
  199. package/dist/server/{version-CgCWRFEY.mjs → version-oPbhAx8E.mjs} +1 -1
  200. package/dist/styles/index.css +27 -1
  201. package/package.json +1 -1
  202. package/dist/client/src-BozhJ43Z.mjs +0 -3
  203. package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
  204. package/dist/server/constants-hl17xz6x.mjs +0 -22
  205. package/dist/server/portal-BjVHMAUC.mjs +0 -371
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { Jt as MediaNodeServer, Ut as CardListContentPart, Yt as EventQuickFacts, an as formatCoursePrice, cn as formatEventPriceAmount, ct as formatBookingSchedulePresentation, ln as formatEventPriceDisplay, on as formatEventDepositNote, sn as formatEventPrice, ut as closedRunCopy } from "./shop.interactive-CxDJ8P2r.mjs";
3
- import { $r as eventVenuePlace, Bo as nextLiveRunSessionStartMs, Ho as resolveWholeSeriesBookingPhase, Qa as resolveEventRegistrationScopedEvents, Qo as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Tr as ImagePresets, Vo as orderedLiveRunSessions, Zr as eventOnlinePlace, as as publicEventPricingDisplay, cs as resolveExactOrFreePriceDisplay, ei as formatEventLocation, fo as formatEventRemainingPlaces, gi as formatTime, go as getEventAvailabilityStatus, ho as getEventAvailability, ii as eventDateOptions, is as publicEventPricingCurrency, li as formatEventCompactDateRail, lo as isBookableEvent, mi as formatEventTimeRange, mo as formatTotalCapacity, pi as formatEventRunDates, rs as isPublicEventPricingOptionDisplayable, ss as publicEventPricingType, ts as formatBookingPriceDisplay, ui as formatEventDateParts, vo as isEventFull, zo as CANCELLED_SESSION_STATUS } from "./display-4HYOb-AK.mjs";
4
- import { Kt as formatDate, Yt as formatDateTimeRange, an as compareLocalScheduleDates, cn as getLocalScheduleDate, dn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, nn as toScheduledBookingDateTime, pn as toBookingTimeZone, qt as formatDateRange, sn as getBookingLocalDateKey } from "./noop-CaQxI-Js.mjs";
2
+ import { Ht as CardListContentPart, Jt as EventQuickFacts, an as formatEventDepositNote, cn as formatEventPriceDisplay, ct as formatBookingSchedulePresentation, in as formatCoursePrice, on as formatEventPrice, qt as MediaNodeServer, sn as formatEventPriceAmount } from "./shop.interactive-D7wky1GL.mjs";
3
+ import { Co as isEventFull, Er as closedRunCopy, Go as nextLiveRunSessionStartMs, Ko as orderedLiveRunSessions, Wo as CANCELLED_SESSION_STATUS, _i as formatEventRunDates, _o as formatEventRemainingPlaces, bi as formatTime, bo as getEventAvailability, ci as eventDateOptions, cs as isPublicEventPricingOptionDisplayable, fs as publicEventPricingType, ii as formatEventLocation, kr as ImagePresets, ls as publicEventPricingCurrency, mi as formatEventDateParts, mo as isBookableEvent, no as resolveEventRegistrationScopedEvents, os as formatBookingPriceDisplay, pi as formatEventCompactDateRail, ps as resolveExactOrFreePriceDisplay, qo as resolveWholeSeriesBookingPhase, ri as eventVenuePlace, rs as EVENT_ADDRESS_AFTER_BOOKING_LABEL, ti as eventOnlinePlace, us as publicEventPricingDisplay, vi as formatEventTimeRange, xo as getEventAvailabilityStatus, yo as formatTotalCapacity } from "./display-D1oVR5Eh.mjs";
4
+ import { Jt as formatDate, Yt as formatDateRange, Zt as formatDateTimeRange, cn as compareLocalScheduleDates, dn as getLocalScheduleDate, gn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, on as toScheduledBookingDateTime, un as getBookingLocalDateKey, vn as toBookingTimeZone } from "./noop-D11X-B6n.mjs";
5
5
  import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
6
6
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
7
- import { t as LocationMapActions } from "./LocationMapActions-myIQIvQL.mjs";
8
- import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
9
- import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
10
- import { n as MapDrawingSvg } from "./MapDrawingSvg-BfsVyPvB.mjs";
7
+ import { t as LocationMapActions } from "./LocationMapActions-CiMtl1Ha.mjs";
8
+ import { r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
9
+ import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-DBEU9IA9.mjs";
10
+ import { n as MapDrawingSvg } from "./MapDrawingSvg-BCZa3dpf.mjs";
11
11
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
12
12
  import "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -62,8 +62,8 @@ function selectEventDetailsCandidate(events, requested, nowIso) {
62
62
  * Sorting before deduplication means a duplicate occurrence keeps its earliest
63
63
  * deterministic representation.
64
64
  */
65
- function selectQuickDateEvents(events) {
66
- return orderedUniqueEventOccurrences(events.filter((event) => event.bookingScope !== "whole_series" && isBookableEvent(event))).slice(0, 4);
65
+ function selectQuickDateEvents(events, now) {
66
+ return orderedUniqueEventOccurrences(events.filter((event) => event.bookingScope !== "whole_series" && isBookableEvent(event, now))).slice(0, 4);
67
67
  }
68
68
  /** Shared ordering and identity selection, independent of booking capacity. */
69
69
  function orderedUniqueEventOccurrences(events) {
@@ -1083,6 +1083,7 @@ function bookingClosedReason(reason) {
1083
1083
  case "cancelled": return "These dates have been cancelled.";
1084
1084
  case "in-progress": return "Bookings closed when the first session began.";
1085
1085
  case "completed": return "These dates have finished.";
1086
+ case "bookings-closed":
1086
1087
  case "enrolment-closed": return "Bookings for these dates have closed.";
1087
1088
  case "no-sessions": return "No dates are currently scheduled.";
1088
1089
  }
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { d as membershipCardListContent, f as membershipClassesLabel, p as passCardListContent } from "./display-4HYOb-AK.mjs";
3
- import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
2
+ import { d as membershipCardListContent, f as membershipClassesLabel, p as passCardListContent } from "./display-D1oVR5Eh.mjs";
3
+ import { r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
4
4
  import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
5
- import { r as EventItem, t as CardListCollection } from "./EventItem-B0WjGXsH.mjs";
5
+ import { r as EventItem, t as CardListCollection } from "./EventItem-b8tVkNHA.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
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ft as locationPinSchema } from "./lucide-react-Dfgl3Vtq.mjs";
2
+ import { Pt as locationPinSchema } from "./lucide-react-McYZeSMb.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, Ft as locationPinSchema, T as Minus, k as LocateFixed, v as Plus } from "./lucide-react-Dfgl3Vtq.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-8iKKoYZr.mjs";
3
+ import { Pt as locationPinSchema, T as Minus, k as LocateFixed, kt as sameMeaningfulAddress, v as Plus } from "./lucide-react-McYZeSMb.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-BHAT81Wx.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";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $a as richTextVariantCapabilities, $c as composeEventHandlers, $o as gradientToCss, $u as unsafeAsEditorBlockId, Ac as __spreadArrays, Cc as __assign, Ci as getRichTextImageSize, Dc as __read, Di as resolveMediaStorageUrl, E as selectedImageFromRenderableAsset, Ec as __generator, Ei as resolveImageUrlWithContext, F as lookTilePosition, Gl as parseAspectRatioValue, Gs as selectedCanvasBlockId, Hc as useSize, Hl as isRotationDimensionSwap, Jl as getImageUrl, Kl as resolveMediaTransformForAspect, L as nextLookTilePin, Nl as surfaceForegroundValue, Oc as __rest, Oi as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, P as lookPositionLabel, Qc as createContextScope, Qi as readThemeScopeContext, Qs as Dialog, S as pageDesignLookPosition, T as selectedImageFromMediaValue, Tc as __extends, Ul as normalizeRightAngle, Wl as formatAspectRatioToken, Ws as unwrapResponse, Xc as useControllableState, Ys as Callout, Za as RichTextDocSchema, al as cva, an as getDashboardBaseUrl, bn as useEditorUiStoreInstance, bo as replaceInlineTextRange, cc as DialogClose, cd as assertNever, cu as asLayoutVariantKey, dc as DialogOverlay, dd as unsafeAsPositiveByteCount, do as inlineTextEqual, du as generateUuidV4, ec as DialogContent$1, el as Primitive, er as backgroundColorTokens, eu as resolveManagedMediaReference, fc as DialogPortal, fo as inlineTextHighlightTones, go as normalizeInlineTextMarks, gs as assertNever$1, ho as normalizeInlineText, i as usePreviewSidebarNavigation, ic as DialogTitle$1, il as useControlReadiness, j as usePreviewRenderBackgrounds, kc as __spreadArray, lc as DialogContent, ll as useComposedRefs, lr as rankBackgroundImagePoolItems, ni as getBlockDefinition, nl as Button, nr as defaultBackgroundOverrideForMode, nu as mediaIdentifierSchema, o as usePreviewPageDesignEditorState, oc as overlayScrimClass, pc as DialogTitle, po as inlineTextToPlainText, ql as getDirectImageUrlForMediaAsset, qo as getCuratedSiteStyle, rc as DialogHeader, so as applyInlineTextMarkToRange, tc as DialogDescription$1, ts as getGradientPreset, uc as DialogDescription, ud as unsafeAsMediaAssetId, ul as cn$2, uo as inlineTextAccentTones, uu as authoredValuesEqual, vo as plainTextToInlineText, wc as __awaiter, wi as computeMediaTransformStyle, x as cyclePageDesignBlockLook, xc as usePortalContainer, xo as truncateInlineText, yn as useEditorUiStore, yo as removeInlineTextMarkFromRange } from "./previewAssistantSlot-BqY2TTcZ.mjs";
4
- import { A as LoaderCircle, F as Italic$1, G as FileText, H as Highlighter, I as Info, J as FileHeadphone, K as FileSpreadsheet, Kt as err, L as Image, M as ListOrdered, N as Link$1, R as ImageUp, S as Palette, St as Archive, W as File, Y as FileArchive, Z as EyeOff, a as Upload, c as Trash2, j as List, mt as Check, n as X, q as FilePlay, qt as ok, s as TriangleAlert, tt as Crop, vt as Bold$1, y as Pencil } from "./lucide-react-Dfgl3Vtq.mjs";
5
- import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-DbKozRSn.mjs";
6
- import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
3
+ import { $i as readThemeScopeContext, $s as Spinner, Ac as __rest, Cc as usePortalContainer, Dc as __extends, Di as resolveImageUrlWithContext, E as selectedImageFromRenderableAsset, Ec as __awaiter, F as lookTilePosition, Fl as surfaceForegroundValue, Gl as normalizeRightAngle, Gs as unwrapResponse, Jl as resolveMediaTransformForAspect, Jo as getCuratedSiteStyle, Kl as formatAspectRatioToken, Ks as selectedCanvasBlockId, L as nextLookTilePin, Mc as __spreadArrays, Oc as __generator, Oi as resolveMediaStorageUrl, P as lookPositionLabel, Qa as RichTextDocSchema, Qc as useControllableState, S as pageDesignLookPosition, So as truncateInlineText, T as selectedImageFromMediaValue, Tc as __assign, Ti as computeMediaTransformStyle, Wc as useSize, Wl as isRotationDimensionSwap, Xl as getImageUrl, Xs as Callout, Yl as getDirectImageUrlForMediaAsset, _o as normalizeInlineTextMarks, _s as assertNever$1, ac as DialogHeader, bn as useEditorUiStore, bo as removeInlineTextMarkFromRange, cc as overlayScrimClass, co as applyInlineTextMarkToRange, dc as DialogContent, dl as useComposedRefs, do as inlineTextAccentTones, ec as Dialog, el as createContextScope, eo as richTextVariantCapabilities, es as gradientToCss, fc as DialogDescription, fd as unsafeAsMediaAssetId, fl as cn$2, fo as inlineTextEqual, fu as authoredValuesEqual, go as normalizeInlineText, hc as DialogTitle, i as usePreviewSidebarNavigation, il as Button, iu as mediaIdentifierSchema, j as usePreviewRenderBackgrounds, jc as __spreadArray, kc as __read, ki as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, mc as DialogPortal, mo as inlineTextToPlainText, nc as DialogContent$1, nl as Primitive, ns as getGradientPreset, nu as resolveManagedMediaReference, o as usePreviewPageDesignEditorState, oc as DialogTitle$1, ol as useControlReadiness, on as getDashboardBaseUrl, pc as DialogOverlay, pd as unsafeAsPositiveByteCount, po as inlineTextHighlightTones, pu as generateUuidV4, ql as parseAspectRatioValue, rc as DialogDescription$1, ri as getBlockDefinition, rr as defaultBackgroundOverrideForMode, sl as cva, td as unsafeAsEditorBlockId, tl as composeEventHandlers, tr as backgroundColorTokens, uc as DialogClose, ud as assertNever, ur as rankBackgroundImagePoolItems, uu as asLayoutVariantKey, wi as getRichTextImageSize, x as cyclePageDesignBlockLook, xn as useEditorUiStoreInstance, xo as replaceInlineTextRange, yo as plainTextToInlineText } from "./previewAssistantSlot-BN93X9o1.mjs";
4
+ import { A as List, F as Info, G as FileSpreadsheet, Gt as err, I as Image, J as FileArchive, K as FilePlay, Kt as ok, L as ImageUp, M as Link$1, P as Italic$1, S as Palette, U as File, V as Highlighter, W as FileText, X as EyeOff, _t as Bold$1, a as Upload, c as Trash2, et as Crop, j as ListOrdered, n as X, pt as Check, q as FileHeadphone, s as TriangleAlert, xt as Archive, y as Pencil } from "./lucide-react-McYZeSMb.mjs";
5
+ import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-BGTAcPud.mjs";
6
+ import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-CTDoR_gQ.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";
@@ -329,6 +329,49 @@ function SegmentedControl({ options, value, onValueChange, size = "default", cla
329
329
  });
330
330
  }
331
331
  //#endregion
332
+ //#region ../ui/src/content-spinner.tsx
333
+ const LOADING_PANEL_MARK_SIZE = {
334
+ section: 24,
335
+ page: 48
336
+ };
337
+ /**
338
+ * The layout of a panel-sized wait, whichever mark it's showing.
339
+ *
340
+ * It renders straight away on the server and has no hold-back: `loading.tsx`
341
+ * files are shown during SSR streaming, and a delayed loader would show nothing
342
+ * until hydration.
343
+ */
344
+ function LoadingPanel({ mark, scale, words, srLabel, className }) {
345
+ return /* @__PURE__ */ jsxs("div", {
346
+ role: "status",
347
+ "aria-live": "polite",
348
+ className: cn$2("flex flex-col items-center justify-center gap-3", scale === "page" ? "py-24" : "py-8", className),
349
+ children: [mark, words === void 0 ? /* @__PURE__ */ jsx("span", {
350
+ className: "sr-only",
351
+ children: srLabel
352
+ }) : /* @__PURE__ */ jsx("p", {
353
+ className: "text-sm text-muted-foreground",
354
+ children: words
355
+ })]
356
+ });
357
+ }
358
+ /**
359
+ * The neutral panel: what a shared package shows, because it can't know the
360
+ * surface and may be running on a customer's domain. The dashboard's own panels
361
+ * use `WaitPanel`, which picks the surface's mark.
362
+ */
363
+ function ContentSpinner({ scale, className, ...label }) {
364
+ return /* @__PURE__ */ jsx(LoadingPanel, {
365
+ ...label,
366
+ scale,
367
+ className,
368
+ mark: /* @__PURE__ */ jsx(Spinner, {
369
+ size: LOADING_PANEL_MARK_SIZE[scale],
370
+ className: "text-primary"
371
+ })
372
+ });
373
+ }
374
+ //#endregion
332
375
  //#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
333
376
  var SWITCH_NAME = "Switch";
334
377
  var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
@@ -29191,9 +29234,10 @@ const DASHBOARD_ORIGIN = process.env.NEXT_PUBLIC_DASHBOARD_URL ? getDashboardBas
29191
29234
  const MEDIA_UPGRADE_HREF = `${DASHBOARD_ORIGIN}/dashboard/account/billing`;
29192
29235
  const MEDIA_SIGN_IN_HREF = `${DASHBOARD_ORIGIN}/auth/login`;
29193
29236
  function MediaPickerLibraryStatus({ loading, error, visibleCount, hasMore, retryLoad }) {
29194
- if (loading && visibleCount === 0) return /* @__PURE__ */ jsxs("div", {
29195
- className: "col-span-full flex min-h-32 items-center justify-center gap-2 rounded border border-dashed p-4 text-sm text-muted-foreground",
29196
- children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "h-4 w-4 animate-spin" }), "Loading media library..."]
29237
+ if (loading && visibleCount === 0) return /* @__PURE__ */ jsx(ContentSpinner, {
29238
+ scale: "section",
29239
+ words: "Loading your media library…",
29240
+ className: "col-span-full min-h-32 rounded border border-dashed p-4"
29197
29241
  });
29198
29242
  if (!loading && error) return /* @__PURE__ */ jsxs("div", {
29199
29243
  className: "col-span-full flex min-h-32 flex-col items-center justify-center gap-3 rounded border border-destructive/30 p-4 text-center text-sm",
@@ -31422,4 +31466,4 @@ function PageSectionToolbar({ blockId, content }) {
31422
31466
  ] });
31423
31467
  }
31424
31468
  //#endregion
31425
- export { ScrollableDialogContent as A, EMPTY_DOC as C, resolveSdkFooterMode as D, decideDocumentReplacement as E, resolveVideoSelectionIntentForMediaField as F, isSvgMimeType as I, Surface as M, surfaceVariants as N, Switch as O, emitMediaCropDebug as P, useRichTextEditor as S, InlineTextEditor as T, MediaPickerMiniDialog as _, ArrangementOptionsBody as a, getRichTextImagePositionFromTarget as b, BackgroundChooser as c, gradientLabel as d, readBackgroundColorPaletteSnapshot as f, MediaEditor as g, getUnresolvedRichTextImageWarnings as h, ArrangementLookNote as i, ScrollableDialogShell as j, SegmentedControl as k, BackgroundPreviewSwatch as l, useRichTextImageProjection as m, pageSectionIdFromBlockId as n, lookIsAutomatic as o, useSiteColourVariables as p, BlockToolbar as r, useArrangementToolbar as s, PageSectionToolbar as t, formatTokenLabel as u, MediaPickerMini as v, parseRichTextDoc as w, insertOrReplaceRichTextImage as x, RichTextEditorSurface as y };
31469
+ export { SegmentedControl as A, EMPTY_DOC as C, resolveSdkFooterMode as D, decideDocumentReplacement as E, emitMediaCropDebug as F, resolveVideoSelectionIntentForMediaField as I, isSvgMimeType as L, ScrollableDialogShell as M, Surface as N, Switch as O, surfaceVariants as P, useRichTextEditor as S, InlineTextEditor as T, MediaPickerMiniDialog as _, ArrangementOptionsBody as a, getRichTextImagePositionFromTarget as b, BackgroundChooser as c, gradientLabel as d, readBackgroundColorPaletteSnapshot as f, MediaEditor as g, getUnresolvedRichTextImageWarnings as h, ArrangementLookNote as i, ScrollableDialogContent as j, ContentSpinner as k, BackgroundPreviewSwatch as l, useRichTextImageProjection as m, pageSectionIdFromBlockId as n, lookIsAutomatic as o, useSiteColourVariables as p, BlockToolbar as r, useArrangementToolbar as s, PageSectionToolbar as t, formatTokenLabel as u, MediaPickerMini as v, parseRichTextDoc as w, insertOrReplaceRichTextImage as x, RichTextEditorSurface as y };
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $ as useFooterComposerState, $c as composeEventHandlers, $i as themeRuntimeScopeProps, $n as readSliderFieldUiConfig, $o as gradientToCss, $s as DialogClose, $t as listEntryPageContentSlots, $u as unsafeAsEditorBlockId, A as usePreviewJoinOutcome, Ai as resolveMediaSlotContract, An as lifecycleOutcomeMessage, As as resolveBlockTitle, At as toRoutableLinkPayload, Au as parseMailchimpAudienceId, Ba as BLOCK_BUTTON_ROLE_OPTIONS, Bc as Root2$1, Bn as withoutServerVersions, Bo as concretePaletteFromTheme, Bt as derivePromotedFieldPlan, C as pageDesignLookTiles, Cl as buttonStyleHoverPreferenceValue, Cn as recoveryConflictCopy, Co as buildThemeRuntime, Cs as flowRepeaterGridItems, Cu as unsafeAsFooterModuleId, Dl as updateButtonStyleHoverPreference, Ds as resolveRepeaterGridAcceptedSpans, Dt as sendPageCommand, Du as mailingListTargetingChoiceIds, Ei as resolveImageUrlWithContext, El as resolveButtonStyleSelection, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Es as planRepeaterGridStartNewRow, Eu as DEFAULT_MAILING_LIST_TARGETING, F as lookTilePosition, Fc as Presence, Fr as siblingPath$2, Ft as NewsletterFormClient, Fu as parsePublicProfile, Gc as useFocusGuards, Gi as isOfferingsPreviewSourceKey, Gl as parseAspectRatioValue, Gn as createManifestFormAdapter, Gt as hasVisibilityConditions, Gu as pristineValueSync, Hc as useSize, Hl as isRotationDimensionSwap, Ht as evaluateVisibility, I as lookTilesFor, Ic as Portal$1, Ir as withValueAtPath, Iu as publicProfileWeekdays, J as footerLayoutSelection, Jc as useDirection, Ji as planOfferingPreviewCardSelection, Jn as getFieldDefault, Jt as createBlock, Ju as createEditorInsertBlockCommand, Kc as DismissableLayer, Ki as normalizeOfferingsPreviewGroupOrder, Kl as resolveMediaTransformForAspect, Kn as createManifestValidation, Ks as sidebarReturnView, Kt as isNonEmptyValue, Ku as syncStateOf, Lc as Anchor, Lt as useImageResolveContextOptional, Lu as publishedContactDetails, M as usePreviewRenderReadiness, Mo as sectionPhotoPresence, Mt as updateFooterComposition, Mu as parseNewsletterListId, Nt as footerCreditLine, Nu as knownSocialPlatformLabels, Ol as updateButtonStyleSelectionChoice, Oo as resolveVisiblePromotedFieldPathsForEditorBlock, Os as resolveRepeaterGridBreakpointForWidth, Ot as missingReceiptError, Pr as getAtPath, Pu as knownSocialPlatforms, Q as useFooterAuthoringOptional, Qa as isRichTextDoc, Qc as createContextScope, Qn as readNumberFieldUiConfig, Qs as Dialog, Qt as isSurfaceSlotBlockTarget, Qu as editorBlockCollectionOwnersEqual, R as selectedLookTile, Rc as Arrow$1, Ri as buildResolveImageUrlContext, Ro as getHeaderLayout, Rs as OPERATION_ID_HEADER, Rt as FormNodeClient, Sc as ReactRemoveScroll, Sl as siteOptionSources, Sn as useSidebarView, So as parseFieldDefinition, Ss as findFirstAvailableRepeaterGridPlacement, Su as setFooterSectionSelected, Ti as resolveImageSourceSetWithContext, Tl as findButtonStyleRecipe, Tn as unfinishedBlockCopy, Ts as normalizeRepeaterGridSpan, Tt as LeaseNoticeButtons, Tu as parseMailingListPlacementTargeting, U as usePreviewAuth, Uc as useId$1, Us as extractApiEnvelopeErrorDetails, Ut as getFieldIntent, Uu as displayedValues, Va as isBlockButtonRole, Vc as createPopperScope, Vn as deriveEditorValuePublicationState, Vo as concretePaletteToTheme, Vt as collectVisibleWhenWatchPaths, Wc as FocusScope, Wi as inferLegacyOfferingsPreviewGroupOrder, Wn as initialBlockDraftValues, Wo as defaultPolicyPageFlowPresetId, Ws as unwrapResponse, Wt as getWidgetKey, Wu as knownRevision, X as resolveFooterEngagementPreview, Xa as deriveFieldValidationPlan, Xc as useControllableState, Xi as resolveOfferingsPreviewGroupOrderEntries, Xl as runtimeMediaSchema, Xn as normalizeFieldForCanonicalValidation, Xo as palettesForSiteStyle, Xs as CalloutDescription, Xt as deleteBlock, Xu as createEditorReorderBlocksCommand, Y as resolveFooterEngagementAuthoringState, Ya as admitLayoutGridForPlan, Yc as createCollection, Yl as mediaSchema, Yn as getRepeaterItemDefault, Yo as offeredSiteStyles, Ys as Callout, Yt as createSlotBlock, Yu as createEditorRemoveBlockCommand, Z as FooterComposerProvider, Zi as buildThemeDataAttrs, Zn as getGroupChildFields, Zs as CalloutTitle, Zt as deleteSlotBlock, Zu as editorBlockCollectionOwnerKey, _c as Trigger$1, _i as chooseScheduleScope, _n as resolveContentTitle, _s as isInternalResolvedLinkValue, _u as deriveFooterEditorOverview, aa as suggestSemanticIconForFeatureCard, ac as DialogTrigger, ad as resolveBookingTimeZoneId, al as cva, ao as parseGeneratedIconSetId, at as readFooterEngagementDraft, au as isBodyFontFamily, b as buildPageDesignEditorReadModelForBlocks, bi as writeEventSelectionChips, bl as resolveRepeaterGridRowFieldId, bn as useEditorUiStoreInstance, bs as planRepeaterGridSpanChange, cd as assertNever$1, co as coerceInlineTextWithFallback, cr as planBackgroundTransition, cs as sectionTransitionFamilies, d as cycleSiteChromeSelectionId, dl as useShallow, dt as DONE, du as generateUuidV4, ea as FEATURE_CARD_GENERATED_ICON_SIZE_PX, ec as DialogContent, ed as unsafeAsEditorBlockValues, el as Primitive, en as listPageSurfaceContentSlots, eo as sanitizeHref, es as GRADIENT_PRESETS, ft as runHeldLifecycle, fu as slugify$1, gc as Root$2, gi as chooseAllEvents, gl as canEditorWrite, gn as resolvePageRouteSlug, gu as mailingListProviderName, hc as Content, hi as EVENT_SELECTION_TYPE_OPTIONS, hl as readLinkedEntryLease, hn as deriveRouteMetadataPresentation, hu as resolveMailingListDefaultDestination, i as usePreviewSidebarNavigation, ia as resolveFeatureCardGeneratedIconSizePx, ic as DialogTitle$1, id as resolveBookingBusinessTimeZone, in as blocksKeys, io as parseGeneratedIconAssetId, ir as imagePoolForOverride, it as footerPartKey, jc as hideOthers, jt as publishContentEntry, ju as parseMailchimpInterestId, ki as resolveMediaSlot, kl as buttonStyleSelectionKey, ks as resolveRepeaterGridColumnsForBreakpoint, kt as footerMenuNavigationFacts, ku as parseBrevoListId, ld as parseMediaAssetId, ll as useComposedRefs, lr as rankBackgroundImagePoolItems, ls as sectionTransitionFamilyForBoundaryOptionId, lt as useEntryController, md as expectParsedBrandedId, mi as EVENT_SELECTION_SCOPE_OPTIONS, ml as canWriteLinkedEntry, mn as routeLifecycleContext, ms as appearancePresets, mu as assessMailingListTargeting, n as usePreviewAssistantSlot, na as getFeatureCardIconCompletion, nc as DialogFooter, nd as formatDateTime, ni as getBlockDefinition, nl as Button$1, nn as reorderSlotBlocks, no as getGeneratedBlockIconStyleState, ns as buildFontPreviewUrl, nt as footerHeaderStatus, nu as mediaIdentifierSchema, o as usePreviewPageDesignEditorState, oa as toFeatureCardIconSuggestionInputs, od as parseUtcIsoDateTimeString, ol as createSlot, on as getDashboardUrl, oo as parseSiteIconStyleGuideVersionId, or as parseBackgroundOverrideFromContent, os as findCuratedPalette, ot as footerEngagementEventFields, ou as asAppearancePresetId, pc as DialogTitle, pd as parseSiteId, pl as isEdited, po as inlineTextToPlainText, pt as useServerRefresh, q as buildFooterRuntimeViewModel, ql as getDirectImageUrlForMediaAsset, qn as manifestFieldSectionOptions, qo as getCuratedSiteStyle, qt as partitionFieldsByIntent, qu as valueStatus, ra as parseFeatureCardGeneratedIconSizePx, rc as DialogHeader, rd as parseBookingLocalDate, ri as listBlockDescriptors, rl as buttonVariants, rn as withSlotCompositionHash, ro as parseBlockIconValue, rr as enabledBackgroundModes, rt as footerEngagementStarted, ru as asRecord, s as usePreviewPageDesignRenderState, sd as toUtcIsoDateTimeString, ss as defaultSectionTransitionVariantForFamily, st as parseFooterEngagementDraft, ta as createFeatureCardIconKey, tc as DialogDescription$1, td as formatDate, tn as reorderBlocks, to as getBlockIconSemanticId, tr as canCycleBackgroundOverrideValue, ts as getGradientPreset, tu as PUBLIC_FILE_FIELD_KINDS, u as useSiteChromeCustomizeOptional, uc as DialogDescription, ui as buildNewsletterFormInteractiveIslandProps, ul as cn, un as ApiRequestError, ur as resolveBackgroundCapability, us as sectionTransitionVariantForBoundaryOptionId, uu as authoredValuesEqual, v as useLiveFooterRuntime, vi as readEventSelectionChips, vl as isAcceptedRepeaterGridSpan, vn as planLeaseNotice, vo as plainTextToInlineText, vs as planLayoutGridColumnEdit, vu as normalizeLegacyFooterContentToV1, w as setPageDesignBlockBackground, wi as computeMediaTransformStyle, wl as buttonStyleSelectionParameterValue, ws as isRepeaterGridLayoutInvalid, wt as LeaseDiscardedNoticeView, wu as planFooterLayout, xc as usePortalContainer, xl as resolveRepeaterGridSpanFieldId, xs as projectRepeaterGridLayout, xu as resolveFooterSections, ya as buildFormInteractiveIslandProps, yi as toggleEventType, yl as resolveRepeaterGridColumnFieldId, yn as useEditorUiStore, ys as buildRepeaterGridDropTargets, yu as parseFooterCompositionV1, zc as Content$1, zl as paletteValueKey, zn as toEditorBlockItem, zo as getHeaderStyle, zt as BlockApiProvider } from "./previewAssistantSlot-BqY2TTcZ.mjs";
4
- import { $ as EllipsisVertical, A as LoaderCircle, B as ImageOff, E as Maximize2, G as FileText, Kt as err, L as Image, O as Lock, P as Link2, R as ImageUp, S as Palette, U as GripVertical, Z as EyeOff, _t as Box$1, b as PanelTop, bt as ArrowUpRight, c as Trash2, d as SlidersHorizontal, dt as ChevronRight, f as Settings, ft as ChevronLeft, g as RotateCcw, ht as Calendar$1, i as Video, it as Clock3, lt as CircleAlert, m as Rows3, mt as Check, n as X$1, nt as Copy, pt as ChevronDown, qt as ok, rt as Clock, s as TriangleAlert, t as lucide_react_exports, tt as Crop, u as Sparkles, v as Plus, x as PanelBottom, xt as ArrowDown, y as Pencil, yt as ArrowUp, z as ImagePlus } from "./lucide-react-Dfgl3Vtq.mjs";
5
- import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-DbKozRSn.mjs";
3
+ import { $ as useFooterComposerState, $a as isRichTextDoc, $n as readNumberFieldUiConfig, $s as Spinner, $t as isSurfaceSlotBlockTarget, $u as editorBlockCollectionOwnerKey, A as usePreviewJoinOutcome, Ai as resolveMediaSlot, Al as updateButtonStyleSelectionChoice, As as resolveRepeaterGridColumnsForBreakpoint, At as footerMenuNavigationFacts, Bc as Arrow$1, Bn as toEditorBlockItem, Bo as getHeaderStyle, Bt as BlockApiProvider, C as pageDesignLookTiles, Cc as usePortalContainer, Cl as resolveRepeaterGridSpanFieldId, Cn as useSidebarView, Co as parseFieldDefinition, Cs as findFirstAvailableRepeaterGridPlacement, Cu as resolveFooterSections, Di as resolveImageUrlWithContext, Dl as findButtonStyleRecipe, Do as DEFAULT_THEME_RESPONSIVE_MODE, Ds as planRepeaterGridStartNewRow, Du as parseMailingListPlacementTargeting, Ei as resolveImageSourceSetWithContext, El as buttonStyleSelectionParameterValue, En as unfinishedBlockCopy, Es as normalizeRepeaterGridSpan, Et as reloadPage, Eu as planFooterLayout, F as lookTilePosition, Fr as getAtPath, Fu as knownSocialPlatformLabels, Gc as useId$1, Gi as inferLegacyOfferingsPreviewGroupOrder, Gn as initialBlockDraftValues, Go as defaultPolicyPageFlowPresetId, Gs as unwrapResponse, Gt as getWidgetKey, Gu as displayedValues, Ha as isBlockButtonRole, Hc as Root2$1, Hn as deriveEditorValuePublicationState, Ho as concretePaletteToTheme, Ht as collectVisibleWhenWatchPaths, I as lookTilesFor, Ir as siblingPath$2, It as NewsletterFormClient, Iu as knownSocialPlatforms, J as footerLayoutSelection, Jc as DismissableLayer, Jl as resolveMediaTransformForAspect, Jn as manifestFieldSectionOptions, Jo as getCuratedSiteStyle, Jt as partitionFieldsByIntent, Ju as syncStateOf, Kc as FocusScope, Ki as isOfferingsPreviewSourceKey, Kn as createManifestFormAdapter, Kt as hasVisibilityConditions, Ku as knownRevision, Lc as Presence, Lr as withValueAtPath, Lu as parsePublicProfile, M as usePreviewRenderReadiness, Mt as publishContentEntry, Mu as parseMailchimpAudienceId, Nc as hideOthers, No as sectionPhotoPresence, Nt as updateFooterComposition, Nu as parseMailchimpInterestId, Ol as resolveButtonStyleSelection, Os as resolveRepeaterGridAcceptedSpans, Ot as sendPageCommand, Ou as DEFAULT_MAILING_LIST_TARGETING, Pt as footerCreditLine, Pu as parseNewsletterListId, Q as useFooterAuthoringOptional, Qc as useControllableState, Qi as buildThemeDataAttrs, Ql as runtimeMediaSchema, Qn as getGroupChildFields, Qs as CalloutTitle, Qt as deleteSlotBlock, Qu as createEditorReorderBlocksCommand, R as selectedLookTile, Rc as Portal$1, Rt as useImageResolveContextOptional, Ru as publicProfileWeekdays, Sl as resolveRepeaterGridRowFieldId, Ss as projectRepeaterGridLayout, Ti as computeMediaTransformStyle, Tl as buttonStyleHoverPreferenceValue, Ts as isRepeaterGridLayoutInvalid, Tt as LeaseNoticeButtons, Tu as unsafeAsFooterModuleId, U as usePreviewAuth, Uc as createPopperScope, Ut as evaluateVisibility, Va as BLOCK_BUTTON_ROLE_OPTIONS, Vc as Content$1, Vl as paletteValueKey, Vn as withoutServerVersions, Vo as concretePaletteFromTheme, Vt as derivePromotedFieldPlan, Wc as useSize, Wl as isRotationDimensionSwap, Ws as extractApiEnvelopeErrorDetails, Wt as getFieldIntent, X as resolveFooterEngagementPreview, Xa as admitLayoutGridForPlan, Xc as useDirection, Xn as getRepeaterItemDefault, Xo as offeredSiteStyles, Xs as Callout, Xt as createSlotBlock, Xu as createEditorInsertBlockCommand, Y as resolveFooterEngagementAuthoringState, Yi as planOfferingPreviewCardSelection, Yl as getDirectImageUrlForMediaAsset, Yn as getFieldDefault, Yt as createBlock, Yu as valueStatus, Z as FooterComposerProvider, Za as deriveFieldValidationPlan, Zc as createCollection, Zi as resolveOfferingsPreviewGroupOrderEntries, Zl as mediaSchema, Zn as normalizeFieldForCanonicalValidation, Zo as palettesForSiteStyle, Zs as CalloutDescription, Zt as deleteBlock, Zu as createEditorRemoveBlockCommand, _c as Content, _i as chooseAllEvents, _l as readLinkedEntryLease, _n as resolvePageRouteSlug, _u as resolveMailingListDefaultDestination, aa as resolveFeatureCardGeneratedIconSizePx, ac as DialogHeader, ad as parseBookingLocalDate, al as buttonVariants, an as blocksKeys, ao as parseGeneratedIconAssetId, ar as imagePoolForOverride, at as readFooterEngagementDraft, au as asRecord, b as buildPageDesignEditorReadModelForBlocks, ba as buildFormInteractiveIslandProps, bi as toggleEventType, bl as isAcceptedRepeaterGridSpan, bn as useEditorUiStore, bs as buildRepeaterGridDropTargets, bu as normalizeLegacyFooterContentToV1, cd as resolveBookingBusinessTimeZone, cl as createSlot, cs as defaultSectionTransitionVariantForFamily, cu as asAppearancePresetId, d as cycleSiteChromeSelectionId, dd as parseMediaAssetId, di as buildNewsletterFormInteractiveIslandProps, dl as useComposedRefs, dn as ApiRequestError, dr as resolveBackgroundCapability, ds as sectionTransitionVariantForBoundaryOptionId, dt as DONE, ea as themeRuntimeScopeProps, ec as Dialog, ed as editorBlockCollectionOwnersEqual, el as createContextScope, en as listEntryPageContentSlots, er as readSliderFieldUiConfig, es as gradientToCss, fc as DialogDescription, fl as cn, ft as runHeldLifecycle, fu as authoredValuesEqual, gd as expectParsedBrandedId, gi as EVENT_SELECTION_TYPE_OPTIONS, gl as canWriteLinkedEntry, gn as deriveRouteMetadataPresentation, gu as assessMailingListTargeting, hc as DialogTitle, hd as parseSiteId, hi as EVENT_SELECTION_SCOPE_OPTIONS, hl as isEdited, hn as routeLifecycleContext, hs as appearancePresets, i as usePreviewSidebarNavigation, ia as parseFeatureCardGeneratedIconSizePx, ic as DialogFooter, id as formatDateTime, ii as listBlockDescriptors, il as Button$1, in as withSlotCompositionHash, io as parseBlockIconValue, ir as enabledBackgroundModes, it as footerPartKey, iu as mediaIdentifierSchema, ji as resolveMediaSlotContract, jl as buttonStyleSelectionKey, jn as lifecycleOutcomeMessage, js as resolveBlockTitle, jt as toRoutableLinkPayload, ju as parseBrevoListId, kl as updateButtonStyleHoverPreference, ko as resolveVisiblePromotedFieldPathsForEditorBlock, ks as resolveRepeaterGridBreakpointForWidth, kt as missingReceiptError, ku as mailingListTargetingChoiceIds, ld as resolveBookingTimeZoneId, lo as coerceInlineTextWithFallback, lr as planBackgroundTransition, ls as sectionTransitionFamilies, lt as useEntryController, mo as inlineTextToPlainText, mu as slugify$1, n as usePreviewAssistantSlot, na as createFeatureCardIconKey, nc as DialogContent, nd as unsafeAsEditorBlockValues, nl as Primitive, nn as reorderBlocks, no as getBlockIconSemanticId, nr as canCycleBackgroundOverrideValue, ns as getGradientPreset, nt as footerHeaderStatus, o as usePreviewPageDesignEditorState, oa as suggestSemanticIconForFeatureCard, oc as DialogTitle$1, od as parseUtcIsoDateTimeString, oo as parseGeneratedIconSetId, ot as footerEngagementEventFields, pl as useShallow, pt as useServerRefresh, pu as generateUuidV4, q as buildFooterRuntimeViewModel, qc as useFocusGuards, qi as normalizeOfferingsPreviewGroupOrder, ql as parseAspectRatioValue, qn as createManifestValidation, qs as sidebarReturnView, qt as isNonEmptyValue, qu as pristineValueSync, ra as getFeatureCardIconCompletion, rc as DialogDescription$1, rd as formatDate, ri as getBlockDefinition, rn as reorderSlotBlocks, ro as getGeneratedBlockIconStyleState, rs as buildFontPreviewUrl, rt as footerEngagementStarted, ru as PUBLIC_FILE_FIELD_KINDS, s as usePreviewPageDesignRenderState, sa as toFeatureCardIconSuggestionInputs, sc as DialogTrigger, sd as toUtcIsoDateTimeString, sl as cva, sn as getDashboardUrl, so as parseSiteIconStyleGuideVersionId, sr as parseBackgroundOverrideFromContent, ss as findCuratedPalette, st as parseFooterEngagementDraft, su as isBodyFontFamily, ta as FEATURE_CARD_GENERATED_ICON_SIZE_PX, tc as DialogClose, td as unsafeAsEditorBlockId, tl as composeEventHandlers, tn as listPageSurfaceContentSlots, to as sanitizeHref, ts as GRADIENT_PRESETS, u as useSiteChromeCustomizeOptional, ud as assertNever$1, ur as rankBackgroundImagePoolItems, us as sectionTransitionFamilyForBoundaryOptionId, v as useLiveFooterRuntime, vc as Root$2, vi as chooseScheduleScope, vl as canEditorWrite, vn as resolveContentTitle, vs as isInternalResolvedLinkValue, vu as mailingListProviderName, w as setPageDesignBlockBackground, wc as ReactRemoveScroll, wl as siteOptionSources, wn as recoveryConflictCopy, wo as buildThemeRuntime, ws as flowRepeaterGridItems, wt as LeaseDiscardedNoticeView, wu as setFooterSectionSelected, xi as writeEventSelectionChips, xl as resolveRepeaterGridColumnFieldId, xn as useEditorUiStoreInstance, xs as planRepeaterGridSpanChange, xu as parseFooterCompositionV1, yc as Trigger$1, yi as readEventSelectionChips, yn as planLeaseNotice, yo as plainTextToInlineText, ys as planLayoutGridColumnEdit, yu as deriveFooterEditorOverview, zc as Anchor, zi as buildResolveImageUrlContext, zo as getHeaderLayout, zs as OPERATION_ID_HEADER, zt as FormNodeClient, zu as publishedContactDetails } from "./previewAssistantSlot-BN93X9o1.mjs";
4
+ import { E as Maximize2, Gt as err, H as GripVertical, I as Image, Kt as ok, L as ImageUp, N as Link2, O as Lock, Q as EllipsisVertical, R as ImagePlus, S as Palette, W as FileText, X as EyeOff, b as PanelTop, bt as ArrowDown, c as Trash2, ct as CircleAlert, d as SlidersHorizontal, dt as ChevronLeft, et as Crop, f as Settings, ft as ChevronDown, g as RotateCcw, gt as Box$1, i as Video, m as Rows3, mt as Calendar$1, n as X$1, nt as Clock, pt as Check, rt as Clock3, s as TriangleAlert, t as lucide_react_exports, tt as Copy, u as Sparkles, ut as ChevronRight, v as Plus, vt as ArrowUp, x as PanelBottom, y as Pencil, yt as ArrowUpRight, z as ImageOff } from "./lucide-react-McYZeSMb.mjs";
5
+ import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-BGTAcPud.mjs";
6
6
  import { J as paletteTokenNameSchema, V as hexColorSchema, W as paletteColorEntries, c as isKnownIconName, i as ThemedButtonSpecimen, l as isIconPickerPreset, o as getIconComponent, s as getIconPickerOptionsForPreset, tt as VARIANT_ROLES, u as resolveIconPickerPreset } from "./ThemedButton-CVYz7h68.mjs";
7
- import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, O as Switch, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as SegmentedControl, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-0xyUPWUB.mjs";
8
- import { n as TZDate } from "./src-DzXUmsyK.mjs";
9
- import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
10
- import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-D9s6dyMW.mjs";
11
- import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
7
+ import { A as SegmentedControl, C as EMPTY_DOC, D as resolveSdkFooterMode, F as emitMediaCropDebug, I as resolveVideoSelectionIntentForMediaField, L as isSvgMimeType, M as ScrollableDialogShell, N as Surface, O as Switch, P as surfaceVariants, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogContent, k as ContentSpinner, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-D-Le7O3o.mjs";
8
+ import { n as TZDate } from "./src-lX6heoDA.mjs";
9
+ import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
10
+ import { a as publicationLabel, o as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-BMGXjGZq.mjs";
11
+ import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-CTDoR_gQ.mjs";
12
12
  import * as React$1 from "react";
13
13
  import React, { Fragment, createContext, forwardRef, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
14
14
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -3561,7 +3561,7 @@ function ComboboxRowContent({ row, selected, isCreating, noneLabel, createLabel,
3561
3561
  className: "flex-1 truncate text-left text-muted-foreground",
3562
3562
  children: noneLabel
3563
3563
  });
3564
- case "create": return /* @__PURE__ */ jsxs(Fragment$1, { children: [isCreating ? /* @__PURE__ */ jsx(LoaderCircle, { className: "h-4 w-4 shrink-0 animate-spin" }) : /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ jsx("span", {
3564
+ case "create": return /* @__PURE__ */ jsxs(Fragment$1, { children: [isCreating ? /* @__PURE__ */ jsx(Spinner, { className: "shrink-0" }) : /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ jsx("span", {
3565
3565
  className: "flex-1 truncate text-left",
3566
3566
  children: createLabel ? createLabel(row.name) : row.name
3567
3567
  })] });
@@ -4711,25 +4711,6 @@ const Slider = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__
4711
4711
  }));
4712
4712
  Slider.displayName = Slider$1.displayName;
4713
4713
  //#endregion
4714
- //#region ../ui/src/content-spinner.tsx
4715
- /**
4716
- * Centered spinner for content areas — replaces bespoke skeleton layouts.
4717
- *
4718
- * Uses plain `Spinner` (NOT `DelayedSpinner`) so it renders immediately on
4719
- * the server. `loading.tsx` files are shown during SSR streaming — a
4720
- * `DelayedSpinner` would render nothing until hydration + delay.
4721
- */
4722
- function ContentSpinner({ className, size = "xl" }) {
4723
- return /* @__PURE__ */ jsx("div", {
4724
- className: cn("flex items-center justify-center py-24", className),
4725
- children: /* @__PURE__ */ jsx(Spinner, {
4726
- size,
4727
- srLabel: "Loading content",
4728
- className: "text-primary"
4729
- })
4730
- });
4731
- }
4732
- //#endregion
4733
4714
  //#region ../ui/src/empty-state.tsx
4734
4715
  /**
4735
4716
  * EmptyState component for consistent no-results and empty data displays.
@@ -8687,7 +8668,10 @@ function BlockTile({ block, onClick, isLoading = false, disabled = false }) {
8687
8668
  children: [/* @__PURE__ */ jsx("p", {
8688
8669
  className: "truncate text-sm font-medium text-foreground",
8689
8670
  children: block.title
8690
- }), isLoading && /* @__PURE__ */ jsx(LoaderCircle, { className: "h-3 w-3 shrink-0 animate-spin text-muted-foreground" })]
8671
+ }), isLoading && /* @__PURE__ */ jsx(Spinner, {
8672
+ size: 12,
8673
+ className: "shrink-0 text-muted-foreground"
8674
+ })]
8691
8675
  }), block.description && /* @__PURE__ */ jsx("p", {
8692
8676
  className: "mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground",
8693
8677
  children: block.description
@@ -28152,7 +28136,10 @@ function SocialImageField({ path, backend, config }) {
28152
28136
  label: config.label,
28153
28137
  description: config.description,
28154
28138
  error: error?.message,
28155
- children: () => /* @__PURE__ */ jsx(Fragment$1, { children: image.kind === "loading" ? /* @__PURE__ */ jsx(ContentSpinner, {}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [image.kind === "unavailable" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(UnreadableMediaWarning, {}), /* @__PURE__ */ jsx(Button$1, {
28139
+ children: () => /* @__PURE__ */ jsx(Fragment$1, { children: image.kind === "loading" ? /* @__PURE__ */ jsx(ContentSpinner, {
28140
+ scale: "section",
28141
+ srLabel: "Loading this image"
28142
+ }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [image.kind === "unavailable" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(UnreadableMediaWarning, {}), /* @__PURE__ */ jsx(Button$1, {
28156
28143
  type: "button",
28157
28144
  variant: "outline",
28158
28145
  onClick: () => setValue(null),
@@ -28244,6 +28231,14 @@ function LinkedEntryLeaseBanner({ entryId }) {
28244
28231
  canKeepViewing: false
28245
28232
  });
28246
28233
  if (!notice) return null;
28234
+ const handlers = {
28235
+ "take-over": () => session.takeOver(),
28236
+ retry: () => session.retry(),
28237
+ reload: reloadPage,
28238
+ discard: () => store.getState().linkedEntries.discard(entryId),
28239
+ "keep-viewing": () => void 0,
28240
+ "discard-and-view": () => void 0
28241
+ };
28247
28242
  return /* @__PURE__ */ jsxs(Callout, {
28248
28243
  tone: "warning",
28249
28244
  "data-linked-entry-lease-notice": notice.variant,
@@ -28254,13 +28249,7 @@ function LinkedEntryLeaseBanner({ entryId }) {
28254
28249
  className: "mt-3 flex flex-wrap gap-2",
28255
28250
  children: /* @__PURE__ */ jsx(LeaseNoticeButtons, {
28256
28251
  notice,
28257
- handlers: {
28258
- "take-over": () => session.takeOver(),
28259
- retry: () => session.retry(),
28260
- discard: () => store.getState().linkedEntries.discard(entryId),
28261
- "keep-viewing": () => void 0,
28262
- "discard-and-view": () => void 0
28263
- },
28252
+ handlers,
28264
28253
  size: "sm"
28265
28254
  })
28266
28255
  })]
@@ -31541,7 +31530,10 @@ function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId,
31541
31530
  setSlotSelection((current) => selectionsEqual(current, selection) ? current : selection);
31542
31531
  }, [selection]);
31543
31532
  if (!visible) return null;
31544
- if (slotsQuery.isLoading) return /* @__PURE__ */ jsx(ContentSpinner, { className: "py-8" });
31533
+ if (slotsQuery.isLoading) return /* @__PURE__ */ jsx(ContentSpinner, {
31534
+ scale: "section",
31535
+ srLabel: "Loading page content"
31536
+ });
31545
31537
  if (slotsQuery.isError) return /* @__PURE__ */ jsx(Callout, {
31546
31538
  tone: "danger",
31547
31539
  role: "alert",
@@ -32589,7 +32581,10 @@ function PreviewFooterEditorPanel({ sdkConfig, apiClient, siteId, dashboardBaseU
32589
32581
  widgets: previewWidgetOverrides,
32590
32582
  liveRuntime: liveRuntime ?? void 0,
32591
32583
  appearanceControls: /* @__PURE__ */ jsx(SiteChromeSurfaceControls, { surface: "footer" }),
32592
- loadingFallback: /* @__PURE__ */ jsx(ContentSpinner, { className: "py-8" }),
32584
+ loadingFallback: /* @__PURE__ */ jsx(ContentSpinner, {
32585
+ scale: "section",
32586
+ srLabel: "Loading your footer"
32587
+ }),
32593
32588
  ...footerComposerNavigationProps(view, requestId),
32594
32589
  variant: "sidebar",
32595
32590
  canEdit
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $u as unsafeAsEditorBlockId, As as resolveBlockTitle, Ca as pageTemplateFromEntry, Ct as EditorWriteSurface, Ps as editorAdmissionIsOpen, Qs as Dialog, Sn as useSidebarView, U as usePreviewAuth, Un as editorAuthoredBlockDocument, Uu as displayedValues, Ws as unwrapResponse, Xr as publishReadinessWarning, Yr as PUBLISH_READINESS_COPY, Zr as readinessFactsFromPayload, al as cva, bn as useEditorUiStoreInstance, dn as PREVIEW_CHROME_Z_INDEX, ec as DialogContent, et as useFooterPanelOwnsNotice, ht as useSessionJournalHistory, ic as DialogTitle, jn as canDiscardDraft, mt as useSessionJournal, n as usePreviewAssistantSlot, nc as DialogFooter, nl as Button, pt as useServerRefresh, rc as DialogHeader, tc as DialogDescription, ul as cn, ut as useEntryEditorController, uu as authoredValuesEqual, yn as useEditorUiStore } from "./previewAssistantSlot-BqY2TTcZ.mjs";
3
- import { $ as EllipsisVertical, A as LoaderCircle, S as Palette, X as Eye, _ as Redo2, o as Undo2, pt as ChevronDown, s as TriangleAlert, y as Pencil } from "./lucide-react-Dfgl3Vtq.mjs";
4
- import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-D9s6dyMW.mjs";
5
- import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
6
- import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-BuRYe2iL.mjs";
2
+ import { $s as Spinner, Cn as useSidebarView, Ct as EditorWriteSurface, Fs as editorAdmissionIsOpen, Gs as unwrapResponse, Gu as displayedValues, Mn as canDiscardDraft, Qr as readinessFactsFromPayload, U as usePreviewAuth, Wn as editorAuthoredBlockDocument, Xr as PUBLISH_READINESS_COPY, Zr as publishReadinessWarning, ac as DialogHeader, bn as useEditorUiStore, ec as Dialog, et as useFooterPanelOwnsNotice, fl as cn, fn as PREVIEW_CHROME_Z_INDEX, fu as authoredValuesEqual, ht as useSessionJournalHistory, ic as DialogFooter, il as Button, js as resolveBlockTitle, mt as useSessionJournal, n as usePreviewAssistantSlot, nc as DialogContent, oc as DialogTitle, pt as useServerRefresh, rc as DialogDescription, sl as cva, td as unsafeAsEditorBlockId, ut as useEntryEditorController, wa as pageTemplateFromEntry, xn as useEditorUiStoreInstance } from "./previewAssistantSlot-BN93X9o1.mjs";
3
+ import { Q as EllipsisVertical, S as Palette, Y as Eye, _ as Redo2, ft as ChevronDown, o as Undo2, s as TriangleAlert, y as Pencil } from "./lucide-react-McYZeSMb.mjs";
4
+ import { i as formatEditorStatus, n as useEditorWriteState, r as decideEditorStatus } from "./useAutosaveStatus-BMGXjGZq.mjs";
5
+ import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-CTDoR_gQ.mjs";
6
+ import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-C51RQseo.mjs";
7
7
  import * as React$1 from "react";
8
8
  import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -85,7 +85,7 @@ function EditPageButton({ placement }) {
85
85
  "aria-busy": isEditingPending,
86
86
  className: `${floating ? "fixed bottom-6 right-6" : ""} h-10 cursor-pointer gap-2 rounded-full border-foreground/80 bg-background px-4 font-semibold shadow-lg`,
87
87
  style: floating ? FLOATING_STYLE : void 0,
88
- children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, { size: "sm" }) : /* @__PURE__ */ jsx(Pencil, {
88
+ children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {}) : /* @__PURE__ */ jsx(Pencil, {
89
89
  className: "h-4 w-4",
90
90
  "aria-hidden": true
91
91
  }), isEditingPending ? "Switching to edit…" : "Edit page"]
@@ -111,7 +111,7 @@ function ViewAsVisitorButton({ placement }) {
111
111
  "aria-busy": isEditingPending,
112
112
  className: `${floating ? "fixed bottom-6 right-6" : ""} h-10 w-10 cursor-pointer rounded-full shadow-lg backdrop-blur-sm transition-all hover:scale-105`,
113
113
  style: floating ? FLOATING_STYLE : void 0,
114
- children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, { size: "sm" }) : /* @__PURE__ */ jsx(Eye, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
114
+ children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {}) : /* @__PURE__ */ jsx(Eye, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
115
115
  className: "sr-only",
116
116
  children: label
117
117
  })]
@@ -287,7 +287,7 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
287
287
  }) : statusDecision.primary.kind === "saving" ? /* @__PURE__ */ jsxs("span", {
288
288
  className: "inline-flex min-w-0 items-center gap-2",
289
289
  children: [
290
- /* @__PURE__ */ jsx(LoaderCircle, { className: "h-4 w-4 shrink-0 animate-spin" }),
290
+ /* @__PURE__ */ jsx(Spinner, { className: "shrink-0" }),
291
291
  /* @__PURE__ */ jsx("span", {
292
292
  className: "hidden min-w-0 truncate sm:block",
293
293
  children: /* @__PURE__ */ jsx(StatusCopy, {
@@ -345,14 +345,14 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
345
345
  tone: item.variant === "destructive" ? "destructive" : "default"
346
346
  })),
347
347
  onClick: () => onPublish(),
348
- children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }), publishLabel] }) : publishLabel
348
+ children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Spinner, { className: "mr-2" }), publishLabel] }) : publishLabel
349
349
  }) : /* @__PURE__ */ jsx(Button, {
350
350
  type: "button",
351
351
  variant: "default",
352
352
  size: actionButtonSize,
353
353
  onClick: () => onPublish(),
354
354
  disabled: disablePublish,
355
- children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }), publishLabel] }) : publishLabel
355
+ children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Spinner, { className: "mr-2" }), publishLabel] }) : publishLabel
356
356
  }) : null
357
357
  ]
358
358
  }),
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
3
3
  import { t as PreviewQueryProvider } from "./PreviewQueryProvider-BgIucg_5.mjs";
4
- import { $i as themeRuntimeScopeProps, $l as indexRenderableMediaAssets, $u as unsafeAsEditorBlockId, B as initPreviewAuth, Ct as EditorWriteSurface, Dn as parseStoredSidebarWidth, Do as getResponsiveScopeSpec, En as SIDEBAR_WIDTH, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Et as getEditorClientId, Fn as renderSourceFor, Fs as editorAdmissionNotice, G as renderSiteChromeBlock, Gs as selectedCanvasBlockId, H as renewPreviewSession, Hn as unsafeAsLinkedContentEntryId, Hu as parseEditLeaseScope, Is as editorAdmissionSession, It as ImageResolveContextProvider, Ln as resolveRenderedValues, Lr as LINKED_CONTENT_ENTRY_META_KEY, Ls as observeEditorAdmission, Mn as activeLinkedSaveHandover, Nn as planLinkedSaveHandoverRetention, O as PreviewRenderObservationsProvider, Pn as remoteDraftValues, Ql as renderableMediaAssetSchema$1, Qs as Dialog, Ri as buildResolveImageUrlContext, Rs as OPERATION_ID_HEADER, St as EditLeaseModal, U as usePreviewAuth, V as registerPreviewRenewalFetcher, W as usePreviewToken, Ws as unwrapResponse, Xs as CalloutDescription, Ys as Callout, Zi as buildThemeDataAttrs, Zl as buildRenderableMediaAssetIndex, _ as PreviewFooterProvider, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, bn as useEditorUiStoreInstance, bt as VIEWING_PARTICIPATION, bu as parseFooterModuleId, ca as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, cd as assertNever$2, ct as EntryControllerProvider, da as measureSiteStickyChromeHeightPx, ec as DialogContent, f as PreviewThemeJournalProvider, fl as baselineRevisionOf, fn as createRoutingHelpers, g as previewThemeBase, gl as canEditorWrite, gs as assertNever$1, gt as createEditorApiClientFactory, i as usePreviewSidebarNavigation, ic as DialogTitle, in as blocksKeys, l as SiteChromeCustomizeProvider, la as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, m as usePreviewThemeSourceOptional, ma as siteTopChromeMeasurementTargets, nc as DialogFooter, nl as Button, p as usePreviewThemeSource, pa as planSiteOverlayHeaderClearance, pl as isEdited, pn as createSnapshotFromPageRecord, pt as useServerRefresh, r as PreviewSidebarBootstrap, rc as DialogHeader, t as PreviewAssistantSlotProvider, tc as DialogDescription, tt as SessionJournalHost, ua as SITE_STICKY_CHROME_HEIGHT_FALLBACK, ul as cn, un as ApiRequestError, ut as useEntryEditorController, uu as authoredValuesEqual, v as useLiveFooterRuntime, va as planSiteChromePlacement, vt as savedPageSurfaceMetadataReceipt, xn as useOptionalEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, yn as useEditorUiStore, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as getLinkedContentEntryMeta, zs as API_ENDPOINTS, zt as BlockApiProvider } from "./previewAssistantSlot-BqY2TTcZ.mjs";
5
- import { U as GripVertical } from "./lucide-react-Dfgl3Vtq.mjs";
6
- import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-DbKozRSn.mjs";
7
- import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
8
- import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-BuRYe2iL.mjs";
4
+ import { $l as buildRenderableMediaAssetIndex, B as initPreviewAuth, Br as getLinkedContentEntryMeta, Bs as API_ENDPOINTS, Bt as BlockApiProvider, Ct as EditorWriteSurface, Dn as SIDEBAR_WIDTH, Do as DEFAULT_THEME_RESPONSIVE_MODE, Dt as getEditorClientId, Fn as remoteDraftValues, G as renderSiteChromeBlock, Gs as unwrapResponse, H as renewPreviewSession, In as renderSourceFor, Is as editorAdmissionNotice, Ks as selectedCanvasBlockId, Ls as editorAdmissionSession, Lt as ImageResolveContextProvider, Nn as activeLinkedSaveHandover, O as PreviewRenderObservationsProvider, On as parseStoredSidebarWidth, Oo as getResponsiveScopeSpec, Pn as planLinkedSaveHandoverRetention, Qi as buildThemeDataAttrs, Rn as resolveRenderedValues, Rr as LINKED_CONTENT_ENTRY_META_KEY, Rs as observeEditorAdmission, Sn as useOptionalEditorUiStoreInstance, St as EditLeaseModal, Su as parseFooterModuleId, U as usePreviewAuth, Un as unsafeAsLinkedContentEntryId, V as registerPreviewRenewalFetcher, W as usePreviewToken, Wu as parseEditLeaseScope, Xs as Callout, Zs as CalloutDescription, _ as PreviewFooterProvider, _s as assertNever$1, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, ac as DialogHeader, an as blocksKeys, bn as useEditorUiStore, bt as VIEWING_PARTICIPATION, ct as EntryControllerProvider, da as SITE_STICKY_CHROME_HEIGHT_FALLBACK, dn as ApiRequestError, ea as themeRuntimeScopeProps, ec as Dialog, eu as renderableMediaAssetSchema$1, f as PreviewThemeJournalProvider, fa as measureSiteStickyChromeHeightPx, fl as cn, fu as authoredValuesEqual, g as previewThemeBase, gt as createEditorApiClientFactory, ha as siteTopChromeMeasurementTargets, hl as isEdited, i as usePreviewSidebarNavigation, ic as DialogFooter, il as Button, l as SiteChromeCustomizeProvider, la as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, m as usePreviewThemeSourceOptional, ma as planSiteOverlayHeaderClearance, ml as baselineRevisionOf, mn as createSnapshotFromPageRecord, nc as DialogContent, oc as DialogTitle, p as usePreviewThemeSource, pn as createRoutingHelpers, pt as useServerRefresh, r as PreviewSidebarBootstrap, rc as DialogDescription, t as PreviewAssistantSlotProvider, td as unsafeAsEditorBlockId, tt as SessionJournalHost, tu as indexRenderableMediaAssets, ua as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, ud as assertNever$2, ut as useEntryEditorController, v as useLiveFooterRuntime, vl as canEditorWrite, vt as savedPageSurfaceMetadataReceipt, xn as useEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, ya as planSiteChromePlacement, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zi as buildResolveImageUrlContext, zs as OPERATION_ID_HEADER } from "./previewAssistantSlot-BN93X9o1.mjs";
5
+ import { H as GripVertical } from "./lucide-react-McYZeSMb.mjs";
6
+ import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-BGTAcPud.mjs";
7
+ import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
8
+ import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-C51RQseo.mjs";
9
9
  import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { useQueryClient } from "@tanstack/react-query";
@@ -216,8 +216,9 @@ function ToastProvider() {
216
216
  position: "bottom-right",
217
217
  offset: {
218
218
  right: "calc(var(--assistant-dock-inset, 0px) + 24px)",
219
- bottom: "24px"
219
+ bottom: "calc(var(--builder-editor-chrome-offset, 0px) + 24px)"
220
220
  },
221
+ mobileOffset: { bottom: "calc(var(--builder-editor-chrome-offset, 0px) + 16px)" },
221
222
  richColors: false,
222
223
  className: "rb-sonner-toaster",
223
224
  toastOptions: { classNames: {
@@ -4446,10 +4447,10 @@ function resolveShellThemeRoles(props, journalSource) {
4446
4447
  }
4447
4448
  const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
4448
4449
  const PreviewEditorSidebar = React.lazy(async () => {
4449
- return { default: (await import("./PreviewEditorSidebar-D8vUzXtI.mjs")).PreviewEditorSidebar };
4450
+ return { default: (await import("./PreviewEditorSidebar-DNy5j_ce.mjs")).PreviewEditorSidebar };
4450
4451
  });
4451
4452
  const PreviewEditorUI = React.lazy(async () => {
4452
- return { default: (await import("./PreviewEditorUI-CRjS4gAu.mjs")).PreviewEditorUI };
4453
+ return { default: (await import("./PreviewEditorUI-CzJvgbqt.mjs")).PreviewEditorUI };
4453
4454
  });
4454
4455
  function renderShellProviders(input) {
4455
4456
  if (!input.themeRoles) return input.content;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { $r as selectBlockContent, $u as unsafeAsEditorBlockId, Aa as faqHeadingFragment, Al as parseThemeForPersistence, Bi as setContextResolveImageUrlContext, Bl as defaultThemeTokens, Br as defaultTransforms, Bs as publicMapLocationParamsSchema, Bu as readPublishedBlockPlacement, Ca as pageTemplateFromEntry, Co as buildThemeRuntime, Cr as arrangementHooksFromContent, D as ObservedJoin, Da as headingFragment, Dr as buildLoadedOfferingsPreviewListing, Ea as richTextFragment, Er as getDefaultComponentRegistry, Fa as testimonialsCarouselFragment, Fl as textColorStyle, Fn as renderSourceFor, Fr as siblingPath, Ga as defineFragment, Gr as createEditorPresentationPageReader, Ha as heroCopyFragment, Hi as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Hn as unsafeAsLinkedContentEntryId, Hr as resolvePageRouteTarget, Ia as testimonialsHeadingFragment, In as renderedFieldChanges, Ja as validateManifestDraft, Jr as mapOutlineRegions, Ka as runTransforms, Kr as allOutlineBlocks, La as ctaCopyFragment, Ll as parseSurfaceTree, Ln as resolveRenderedValues, Ma as singleButtonFragment, Mr as logger, Ms as isObjectRecord, Na as formEmbedFragment, Nr as Text$1, Ns as isRecord$1, Oa as cardFragment, Or as resolveEventDetailsPresentation, Ou as sameMailingListPlacementTargeting, Pa as formCopyFragment, Pn as remoteDraftValues, Pr as getAtPath, Pt as clientComponentRegistry, Qr as readinessFactsFromLoaders, Ra as heroCtaRowFragment, Ri as buildResolveImageUrlContext, Rr as coerceLinkedContentEntriesPayload, Ru as NO_BLOCK_VERSIONS, Sa as hiddenFromVisitors, Si as RichText$1, Sr as resolveDefaultBlockTree, Ta as bookingConsentCarrierSchema, To as mergeContentWithBlockStyleOverrides, Tr as readBlockComposition, Tu as parseMailingListPlacementTargeting, Ua as ctaButton, Ui as groupOfferingRunsByCourse, Ur as resolveRouteTarget, Vi as normalizeEventRegistrationPageSurfaceSubject, Vr as resolveEntryRouteTarget, Vs as calendarWindowQuerySchema, Vu as selectedContentVersionId, W as usePreviewToken, Wa as bodyCopyFragment, Ws as unwrapResponse, Yi as readOfferingsGrouping, _a as resolveDateRuntimeContext, _l as bindingSchema, _o as parseInlineTextFromUnknown, ai as LOCATION_MAP_LOADER_KEYS, ao as parseGeneratedIconSetId, bn as useEditorUiStoreInstance, br as makeDefaultBlockComponent, cd as assertNever, ci as parseLocationMapLoaderResult, co as coerceInlineTextWithFallback, di as offeringsPreviewBlockDefinition, dr as createPageRenderPlanReader, du as generateUuidV4, fi as publicRouteCandidatesSchema, fr as planArrangementContent, ga as readRuntimeNow, gr as retargetJoinsAcrossOmissions, hr as renderedJoinLayout, ii as normalizeBlockContent, io as parseGeneratedIconAssetId, ja as blogFeaturedPostFragment, jr as renderInlineText, k as PreviewRenderPlanProjection, ka as faqAccordionFragment, kr as buildAppointmentServicesView, li as resolveLocationMapLocation, lo as deriveInlineTextFieldChanges, ml as canWriteLinkedEntry, mo as isInlineTextEmpty, mr as joinSlotKey, ni as getBlockDefinition, oi as describeUnresolvedLocationMapLocation, po as inlineTextToPlainText, pr as composePageJoins, pu as buildMailingListSignupBlockSourceRef, qa as compileManifestContentContract, qi as offeringsListingFor, qr as mapOutlineBlocks, ro as parseBlockIconValue, s as usePreviewPageDesignRenderState, sd as toUtcIsoDateTimeString, si as normalizeLocationMapSource, wa as publicEventsArraySchema, wr as blockLookFromContent, xa as projectRecurringSchedule, xi as cardListPresentationSchemaShape, yn as useEditorUiStore, za as ctaRowFragment, zi as getCurrentResolveImageUrlContext, zu as readEditorBlockVersionsFromPlacement } from "./previewAssistantSlot-BqY2TTcZ.mjs";
3
- import { Bt as publicLocationSchema, Rt as parseLocationValue, zt as projectPublicLocation } from "./lucide-react-Dfgl3Vtq.mjs";
4
- import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-DbKozRSn.mjs";
5
- import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-0xyUPWUB.mjs";
6
- import { f as useEditor } from "./previewChromeRoot-BuRYe2iL.mjs";
7
- import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-BvdBdeH_.mjs";
2
+ import { $r as readinessFactsFromLoaders, Aa as faqAccordionFragment, Ar as buildAppointmentServicesView, Au as sameMailingListPlacementTargeting, Ba as ctaRowFragment, Bi as getCurrentResolveImageUrlContext, Bu as NO_BLOCK_VERSIONS, Ca as hiddenFromVisitors, Ci as RichText$1, Cr as resolveDefaultBlockTree, D as ObservedJoin, Da as richTextFragment, Dr as getDefaultComponentRegistry, Du as parseMailingListPlacementTargeting, Ea as bookingConsentCarrierSchema, Eo as mergeContentWithBlockStyleOverrides, Er as readBlockComposition, Fa as formCopyFragment, Fn as remoteDraftValues, Fr as getAtPath, Ft as clientComponentRegistry, Ga as bodyCopyFragment, Gs as unwrapResponse, Hi as normalizeEventRegistrationPageSurfaceSubject, Hl as defaultThemeTokens, Hr as resolveEntryRouteTarget, Hs as calendarWindowQuerySchema, Hu as readPublishedBlockPlacement, Ia as testimonialsCarouselFragment, In as renderSourceFor, Ir as siblingPath, Ja as compileManifestContentContract, Ji as offeringsListingFor, Jr as mapOutlineBlocks, Ka as defineFragment, Kr as createEditorPresentationPageReader, La as testimonialsHeadingFragment, Ll as textColorStyle, Ln as renderedFieldChanges, Ma as blogFeaturedPostFragment, Ml as parseThemeForPersistence, Mr as renderInlineText, Na as singleButtonFragment, Nr as logger, Ns as isObjectRecord, Oa as headingFragment, Or as buildLoadedOfferingsPreviewListing, Pa as formEmbedFragment, Pr as Text$1, Ps as isRecord$1, Ra as ctaCopyFragment, Rn as resolveRenderedValues, Sa as projectRecurringSchedule, Si as cardListPresentationSchemaShape, Ta as publicEventsArraySchema, Tr as blockLookFromContent, Ua as heroCopyFragment, Ui as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Un as unsafeAsLinkedContentEntryId, Ur as resolvePageRouteTarget, Uu as selectedContentVersionId, Vi as setContextResolveImageUrlContext, Vr as defaultTransforms, Vs as publicMapLocationParamsSchema, Vu as readEditorBlockVersionsFromPlacement, W as usePreviewToken, Wa as ctaButton, Wi as groupOfferingRunsByCourse, Wr as resolveRouteTarget, Xi as readOfferingsGrouping, Ya as validateManifestDraft, Yr as mapOutlineRegions, _a as readRuntimeNow, _r as retargetJoinsAcrossOmissions, ai as normalizeBlockContent, ao as parseGeneratedIconAssetId, bn as useEditorUiStore, ci as normalizeLocationMapSource, ei as selectBlockContent, fi as offeringsPreviewBlockDefinition, fr as createPageRenderPlanReader, gl as canWriteLinkedEntry, gr as renderedJoinLayout, ho as isInlineTextEmpty, hr as joinSlotKey, hu as buildMailingListSignupBlockSourceRef, io as parseBlockIconValue, ja as faqHeadingFragment, k as PreviewRenderPlanProjection, ka as cardFragment, kr as resolveEventDetailsPresentation, li as parseLocationMapLoaderResult, lo as coerceInlineTextWithFallback, mo as inlineTextToPlainText, mr as composePageJoins, oi as LOCATION_MAP_LOADER_KEYS, oo as parseGeneratedIconSetId, pi as publicRouteCandidatesSchema, pr as planArrangementContent, pu as generateUuidV4, qa as runTransforms, qr as allOutlineBlocks, ri as getBlockDefinition, s as usePreviewPageDesignRenderState, sd as toUtcIsoDateTimeString, si as describeUnresolvedLocationMapLocation, td as unsafeAsEditorBlockId, ud as assertNever, ui as resolveLocationMapLocation, uo as deriveInlineTextFieldChanges, va as resolveDateRuntimeContext, vo as parseInlineTextFromUnknown, wa as pageTemplateFromEntry, wo as buildThemeRuntime, wr as arrangementHooksFromContent, xn as useEditorUiStoreInstance, xr as makeDefaultBlockComponent, yl as bindingSchema, za as heroCtaRowFragment, zi as buildResolveImageUrlContext, zl as parseSurfaceTree, zr as coerceLinkedContentEntriesPayload } from "./previewAssistantSlot-BN93X9o1.mjs";
3
+ import { Lt as parseLocationValue, Rt as projectPublicLocation, zt as publicLocationSchema } from "./lucide-react-McYZeSMb.mjs";
4
+ import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-BGTAcPud.mjs";
5
+ import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-D-Le7O3o.mjs";
6
+ import { f as useEditor } from "./previewChromeRoot-C51RQseo.mjs";
7
+ import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-xhJ6ca1i.mjs";
8
8
  import * as React$1 from "react";
9
9
  import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1666,7 +1666,16 @@ function prepareEntry(entry, input) {
1666
1666
  */
1667
1667
  function previewableEditorContent(entry) {
1668
1668
  if (entry.block.presentationAdmission.kind !== "editor") return entry.renderableContent;
1669
- return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), entry.ownerEditableContent).kind === "previewable" ? entry.renderableContent : null;
1669
+ return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), withoutRenderOnlyLocation(entry)).kind === "previewable" ? entry.renderableContent : null;
1670
+ }
1671
+ /**
1672
+ * The editor gives a custom map its public projection to draw (authoringLocationMaps).
1673
+ * The draft contract rightly refuses that shape, because it mustn't be saved, and
1674
+ * the owner's stored location was admitted before it was projected.
1675
+ */
1676
+ function withoutRenderOnlyLocation(entry) {
1677
+ const { location, ...content } = entry.ownerEditableContent;
1678
+ return entry.block.kind === "block.location-map" && publicLocationSchema.safeParse(location).success ? content : entry.ownerEditableContent;
1670
1679
  }
1671
1680
  function buildPreparedContent(entry, content, input) {
1672
1681
  const { dataContext } = input;