@riverbankcms/sdk 0.167.0 → 0.169.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 (235) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Dgb-ptph.d.ts → BlocksIslandsHydrator-DpROiz12.d.ts} +1 -1
  2. package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-DHBBDRC_.d.ts} +7 -6
  3. package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-CG7Qib7u.d.ts} +2 -2
  4. package/dist/_dts/{client-CwsI23pj.d.ts → client-MURxFla9.d.ts} +90 -418
  5. package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-ClBGjxBV.d.ts} +2 -2
  6. package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CHNvzh0y.d.ts} +6 -4
  7. package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-DQM934Fm.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-ConZaEqB.d.ts} +2 -2
  9. package/dist/_dts/{index-CS6b1B-c.d.ts → index-BaDqRekr.d.ts} +4 -4
  10. package/dist/_dts/{index-bDln38Hm.d.ts → index-CVB5wgbz.d.ts} +2 -2
  11. package/dist/_dts/{index-D7EbliE3.d.ts → index-CiR_oPYT.d.ts} +3 -3
  12. package/dist/_dts/{index-5_jf52sZ.d.ts → index-CovKPftP.d.ts} +2 -2
  13. package/dist/_dts/{index-C20yUyob.d.ts → index-DCw8LO4M.d.ts} +1 -1
  14. package/dist/_dts/index-DDaX-K2D.d.ts +14 -0
  15. package/dist/_dts/{index-DeHDwMfu.d.ts → index-rfAssXq0.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-CRLKVVDP.d.ts} +7 -7
  17. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
  18. package/dist/_dts/{index-ChpjHK0U.d.ts → request-DeVetKBr.d.ts} +81273 -46979
  19. package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-C5KYFeig.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-D8MZWyNO.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/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -5
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{types-BlaCuPLr.d.ts → types-B4MBlP_B.d.ts} +4 -2
  55. package/dist/_dts/{types-D-WElMCy.d.ts → types-Fj31kIi2.d.ts} +7 -7
  56. package/dist/_dts/{types-CwtTcaQP.d.ts → types-OwqfS8Gn.d.ts} +3 -3
  57. package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-B1Fa8o_b.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-qq4Vhs7k.mjs} +21 -21
  59. package/dist/client/BookingMailingListNote-y3qWjnOo.mjs +957 -0
  60. package/dist/client/BookingQuestionFields-DjLjd0vc.mjs +359 -0
  61. package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-VM7C2fdh.mjs} +8 -8
  62. package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-C2QCj_Ta.mjs} +68 -12
  64. package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-DDjz7tuX.mjs} +10 -10
  65. package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-CeYbNsch.mjs} +9 -9
  66. package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
  67. package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-B5J0IeF4.mjs} +37 -15
  68. package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-eH04D8-V.mjs} +1 -1
  69. package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-slpvrTrM.mjs} +3 -3
  70. package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-BYBaElec.mjs} +34 -16
  71. package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-Do7Q0wRG.mjs} +362 -90
  72. package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-BFp2uQQQ.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
  74. package/dist/client/{Page-D4_H_u9V.mjs → Page-Dv9eIOGr.mjs} +4475 -1600
  75. package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
  76. package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-BZNUd0-v.mjs} +3 -3
  77. package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
  78. package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
  79. package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
  80. package/dist/client/{accordion--EUHmEGa.mjs → accordion-BCtVxnDZ.mjs} +1 -1
  81. package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-Cr5G-HHO.mjs} +1323 -567
  82. package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-B1Fc62Sl.mjs} +9 -5
  83. package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
  84. package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
  85. package/dist/client/bookings.mjs +28 -20
  86. package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DW-HgjvT.mjs} +3 -3
  87. package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
  88. package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
  89. package/dist/client/{cart-CCZZC-Lq.mjs → cart-D1zWe4R7.mjs} +3 -3
  90. package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-CIfbTLHS.mjs} +1 -1
  91. package/dist/client/{checkout-CipmYL4A.mjs → checkout-fDCNZ3IT.mjs} +3 -3
  92. package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-C4l2KjtV.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-cWL6I-Vz.mjs} +3 -2
  94. package/dist/client/client.mjs +287 -63
  95. package/dist/client/{context-Cv3QHjAF.mjs → context-DQnTyApV.mjs} +320 -4
  96. package/dist/client/creditProducts-CMOmhWm2.mjs +364 -0
  97. package/dist/client/{cta-P2vJVTEn.mjs → cta-Bj5WHgcv.mjs} +2 -2
  98. package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-3uVu3WgG.mjs} +1 -1
  100. package/dist/client/{site-styles-D56hT2u1.mjs → display-CT8KMSpH.mjs} +19832 -17912
  101. package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-B27KFGDv.mjs} +4 -3
  102. package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-CL4Lqz2c.mjs} +1 -1
  103. package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-Dj3Kyp5X.mjs} +118 -241
  104. package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DGsdSF8J.mjs} +4 -4
  105. package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DFSVDJ3D.mjs} +4 -4
  106. package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzMskXYA.mjs} +2 -2
  107. package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CpFFcAUr.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-BipMUOCw.mjs} +8 -5
  109. package/dist/client/{form-Bw1uuiUs.mjs → form-57k2JQnm.mjs} +3 -3
  110. package/dist/client/{form.client-pZ-9gN33.mjs → form.client-CCl6CpRJ.mjs} +5 -5
  111. package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-BOJ1yDDf.mjs} +3 -3
  112. package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-BGlhrmhF.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-q_bEzfhW.mjs} +2 -2
  115. package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
  116. package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
  117. package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-CiqKAmPs.mjs} +6 -6
  118. package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-x1RzAMNO.mjs} +2 -2
  119. package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-Cn7h4zFe.mjs} +3 -3
  120. package/dist/client/{noop-ByVtIWf4.mjs → noop-B_f7RqLD.mjs} +544 -494
  121. package/dist/client/portal/client.mjs +86 -231
  122. package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-rWUvpVvZ.mjs} +1 -1
  123. package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-J0wDOmKv.mjs} +1 -1
  124. package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-LtCkMrJ0.mjs} +3 -3
  125. package/dist/client/{productList-B21TGdpT.mjs → productList-C0MLeh-v.mjs} +3 -3
  126. package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-CAmEkJ6Y.mjs} +5 -4
  127. package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Bf2YX_4v.mjs} +2218 -2435
  128. package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
  129. package/dist/client/rendering/client.mjs +30 -30
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +10 -9
  132. package/dist/client/{richText-coerce-DHkBtO0G.mjs → richText-coerce-BTurYEao.mjs} +1 -1
  133. package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-UdAlnZGQ.mjs} +1 -1
  134. package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
  135. package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
  136. package/dist/client/{shop-mqyoOvOK.mjs → shop-Dkn6EasY.mjs} +3 -3
  137. package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-bo0Z6kwf.mjs} +13 -13
  138. package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-Ckxa4_jI.mjs} +1 -1
  139. package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-B_GqU6_U.mjs} +111 -32
  140. package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C6L_Ig5F.mjs} +87 -528
  141. package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-CO1Y8lFd.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-BozhJ43Z.mjs +3 -0
  144. package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
  145. package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
  146. package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-D62jfOxZ.mjs} +12 -12
  147. package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
  148. package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-CStfVmyY.mjs} +3 -3
  149. package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-Ca2pHUDu.mjs} +6 -4
  150. package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-AEifktGO.mjs} +1 -1
  151. package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-uxnUWI2v.mjs} +7 -7
  152. package/dist/client/{view-BN-fxyfq.mjs → view-B6KSxQMO.mjs} +11 -7
  153. package/dist/client/{view-Dh2tGoS0.mjs → view-SVnWic7i.mjs} +3 -4
  154. package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-kbdqYkWM.mjs} +26 -17
  155. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
  156. package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
  157. package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
  158. package/dist/preview-next/client/{PreviewEditorSidebar-Ckr2zk_L.mjs → PreviewEditorSidebar-DI_LhsMQ.mjs} +212 -55
  159. package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-yyD-ZREP.mjs} +6 -6
  160. package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-YauP65Gi.mjs} +199 -155
  161. package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-Bl7jQMI1.mjs} +32 -32
  162. package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-CQFRP9aM.mjs} +4772 -3687
  163. package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
  164. package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
  165. package/dist/preview-next/client/{previewAssistantSlot-DBi-WybM.mjs → previewAssistantSlot-DSR0IdAw.mjs} +16547 -13046
  166. package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-uSnVzeNs.mjs} +1 -1
  167. package/dist/preview-next/client/runtime.mjs +3 -3
  168. package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-6Q0RVJTQ.mjs} +2 -2
  169. package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
  170. package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
  171. package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-Cdx3kAGm.mjs} +2 -2
  172. package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-ZrWdhcB6.mjs} +2 -2
  173. package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-CK-GWb9k.mjs} +1 -1
  174. package/dist/preview-next/keepAlive.mjs +1 -1
  175. package/dist/preview-next/middleware.mjs +1 -1
  176. package/dist/preview-next/{route-contract-Bv3nkdpV.mjs → route-contract-BU1m9SV3.mjs} +212 -0
  177. package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-4vx7wzxj.mjs} +5 -5
  178. package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-C3HLgqBF.mjs} +463 -127
  179. package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
  180. package/dist/server/{bindings-ConMYJ2U.mjs → bindings-TAQbo2P5.mjs} +2 -2
  181. package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
  182. package/dist/server/{client-Cot-H5fQ.mjs → client-DzCxEl3L.mjs} +308 -61
  183. package/dist/server/config-validation.mjs +1 -1
  184. package/dist/server/config.mjs +1 -1
  185. package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
  186. package/dist/server/data/resolveBlockData.mjs +1 -1
  187. package/dist/server/headerVariant-8O5MvxIU.mjs +464 -0
  188. package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
  189. package/dist/server/index.mjs +3 -3
  190. package/dist/server/{loadContent-BkaWYEwt.mjs → loadContent-BO1M9Hdf.mjs} +4 -5
  191. package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-BvWzmZcD.mjs} +2 -2
  192. package/dist/server/manifest.mjs +1 -1
  193. package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
  194. package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
  195. package/dist/server/next.mjs +6 -6
  196. package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
  197. package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-fxuB1zZg.mjs} +1 -1
  198. package/dist/server/page-converter.mjs +3 -3
  199. package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-DzduDSqY.mjs} +255 -158
  200. package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-BU8pwTNx.mjs} +291 -5
  201. package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-CSOJ8p8E.mjs} +1303 -907
  202. package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-BebSeE17.mjs} +593 -1592
  203. package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-C5ZYo7wA.mjs} +1 -1
  204. package/dist/server/prebuild.mjs +1 -1
  205. package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-BvbxqeKn.mjs} +5 -4
  206. package/dist/server/{registry-BPFcpn6k.mjs → registry-Fv-7D8o2.mjs} +4595 -4045
  207. package/dist/server/rendering/components/pageShared.mjs +1 -1
  208. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  209. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  210. package/dist/server/rendering/server.mjs +3 -3
  211. package/dist/server/rendering.mjs +8 -8
  212. package/dist/server/{resolveBlockData-BHvfGD4y.mjs → resolveBlockData-xPgkvoWS.mjs} +1 -1
  213. package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
  214. package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
  215. package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
  216. package/dist/server/server.mjs +3 -3
  217. package/dist/server/theme-bridge.mjs +2 -3
  218. package/dist/server/theme.mjs +1 -2
  219. package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
  220. package/dist/server/{validation-bl6WcAi_.mjs → validation-DddhgNdb.mjs} +58 -9
  221. package/dist/server/{version-BLXZ31S-.mjs → version-D_W2mt8w.mjs} +1 -1
  222. package/dist/styles/index.css +342 -67
  223. package/package.json +4 -3
  224. package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
  225. package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
  226. package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
  227. package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
  228. package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
  229. package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
  230. package/dist/client/src-CdRISvQp.mjs +0 -3
  231. package/dist/client/src-DjnxOjXG.mjs +0 -217
  232. package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
  233. package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
  234. package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
  235. package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $_ as createEditorInsertBlockCommand, $l as isBlockButtonRole, $n as getAtPath, $t as planLeaseNotice, $u as plainTextToInlineText, A as usePreviewRenderReadiness, A_ as DEFAULT_MAILING_LIST_TARGETING, Af as flowRepeaterGridItems, An as manifestFieldSectionOptions, Ap as DialogDescription$1, At as deleteSlotBlock, B_ as publicProfileWeekdays, Bd as offeredSiteStyles, Bf as resolveRepeaterGridSpanFieldId, Bg as resolveMediaTransformForAspect, Bm as buttonStyleHoverPreferenceValue, Bn as enabledBackgroundModes, Bt as getDashboardUrl, Bu as parseGeneratedIconSetId, Cf as isInternalResolvedLinkValue, Cl as buildFormInteractiveIslandProps, Cm as Primitive, Cn as withoutServerVersions, Cp as FIELD_FOCUS_WITHIN_CLASS, Ct as getWidgetKey, Cv as resolveBookingBusinessTimeZone, D_ as mailingListProviderName, Df as planRepeaterGridSpanChange, Dm as cva, Dn as initialBlockDraftValues, Dp as Dialog, Dt as createBlock, Dv as toUtcIsoDateTimeString, E_ as resolveMailingListDefaultDestination, Ef as buildRepeaterGridDropTargets, Em as buttonVariants, Er as buildNewsletterFormInteractiveIslandProps, Et as partitionFieldsByIntent, Ev as parseUtcIsoDateTimeString, F_ as parseMailchimpInterestId, Ff as resolveRepeaterGridAcceptedSpans, Fg as paletteValueKey, Fm as isEdited, Fn as readNumberFieldUiConfig, Ft as reorderSlotBlocks, Fu as getBlockIconSemanticId, Gd as gradientToCss, Gm as updateButtonStyleSelectionChoice, Gn as planBackgroundTransition, Gp as ReactRemoveScroll, Gt as ApiRequestError, Hc as getFeatureCardIconCompletion, Hm as findButtonStyleRecipe, Hv as parseSiteId, I as selectedLookTile, I_ as parseNewsletterListId, If as resolveRepeaterGridBreakpointForWidth, Ig as isRotationDimensionSwap, Im as canWriteLinkedEntry, In as readSliderFieldUiConfig, It as withSlotCompositionHash, Iu as getGeneratedBlockIconStyleState, J as runHeldLifecycle, J_ as displayedValues, Ja as isOfferingsPreviewSourceKey, Ju as inlineTextToPlainText, Kc as suggestSemanticIconForFeatureCard, Kd as GRADIENT_PRESETS, Kf as editorAdmissionIsOpen, Km as buttonStyleSelectionKey, Kn as rankBackgroundImagePoolItems, L_ as knownSocialPlatformLabels, Lf as resolveRepeaterGridColumnFieldId, Lm as readLinkedEntryLease, Lt as blocksKeys, Lu as parseBlockIconValue, Lv as assertNever$1, Mf as isRepeaterGridLayoutInvalid, Mm as cn, Mn as getRepeaterItemDefault, Mp as DialogHeader, Mt as listEntryPageContentSlots, N as lookTilePosition, N_ as parseBrevoListId, Nf as normalizeRepeaterGridSpan, Ng as hexColorSchema, Nm as useShallow, Nn as normalizeFieldForCanonicalValidation, Np as DialogTitle$1, Nt as listPageSurfaceContentSlots, Nu as sanitizeHref, O as usePreviewJoinOutcome, O_ as parseMailingListPlacementTargeting, Of as projectRepeaterGridLayout, Om as createSlot, On as createManifestFormAdapter, Op as DialogClose, Ot as createSlotBlock, Ou as admitLayoutGridForPlan, P_ as parseMailchimpAudienceId, Pd as defaultPolicyPageFlowPresetId, Pf as planRepeaterGridStartNewRow, Pg as paletteColorEntries, Pn as getGroupChildFields, Pp as DialogTrigger, Pt as reorderBlocks, Q_ as valueStatus, Qa as planOfferingPreviewCardSelection, Qd as findCuratedPalette, Ql as BLOCK_BUTTON_ROLE_OPTIONS, Qt as resolveContentTitle, R_ as knownSocialPlatforms, Rd as getCuratedSiteStyle, Rf as resolveRepeaterGridColumnsForBreakpoint, Rm as canEditorWrite, Rn as canCycleBackgroundOverrideValue, Rp as DialogDescription, Rt as normalizeApiError, Rv as parseMediaAssetId, S as setPageDesignBlockBackground, Sm as composeEventHandlers, Sn as toEditorBlockItem, St as getFieldIntent, T_ as assessMailingListTargeting, Tm as Button$1, Tt as isNonEmptyValue, Uc as parseFeatureCardGeneratedIconSizePx, Ug as mediaSchema, Um as resolveButtonStyleSelection, Un as parseBackgroundOverrideFromContent, Uu as coerceInlineTextWithFallback, Uv as unsafeAsSiteId, V as usePreviewAuth, V_ as publishedContactDetails, Vc as createFeatureCardIconKey, Vd as palettesForSiteStyle, Vf as resolveBlockTitle, Vg as getDirectImageUrlForMediaAsset, Vm as buttonStyleSelectionParameterValue, Vn as imagePoolForOverride, Vp as DialogTitle, Vu as parseSiteIconStyleGuideVersionId, W as useEntryController, Wc as resolveFeatureCardGeneratedIconSizePx, Wg as runtimeMediaSchema, Wm as updateButtonStyleHoverPreference, Wv as expectParsedBrandedId, X as useServerRefresh, X_ as pristineValueSync, Xd as getHeaderLayout, Xg as asRecord, Xt as deriveRouteMetadataPresentation, Y_ as knownRevision, Ya as normalizeOfferingsPreviewGroupOrder, Yd as findFooterLook, Yf as editorAdmissionSession, Yg as mediaIdentifierSchema, Yt as routeLifecycleContext, Z as useSessionJournal, Z_ as syncStateOf, Zd as getHeaderStyle, Zf as OPERATION_ID_HEADER, Zt as resolvePageRouteSlug, _i as chooseScheduleScope, _m as useDirection, _p as Callout, _t as collectVisibleWhenWatchPaths, ad as siteOptionSources, am as Portal$1, ap as journalLabels, av as unsafeAsEditorBlockValues, b_ as generateUuidV4, ba as resolveMediaSlotContract, bd as concretePaletteToTheme, bi as writeEventSelectionChips, bp as FieldTrigger, bt as evaluateVisibleWhenPredicate, c_ as buildGoogleFontFamilyQuery, cm as Content, ct as LeaseNoticeButtons, cv as formatDateTime, d as cycleSiteChromeSelectionId, d_ as getSiteFontsStorageUrl, df as sectionTransitionFamilyForBoundaryOptionId, dm as useSize, dn as selectJournalWriteState, dp as SelectItem, dt as JournalWriteRefused, em as hideOthers, en as useEditorUiStore, eo as resolveOfferingsPreviewGroupOrderEntries, er as siblingPath$2, ev as createEditorRemoveBlockCommand, ff as sectionTransitionVariantForBoundaryOptionId, fm as useId$1, fn as journalNoticeMessage, fp as SelectTrigger, gi as chooseAllEvents, gp as clamp, gt as derivePromotedFieldPlan, h_ as authoredValuesEqual, ha as resolveImageUrlWithContext, hi as EVENT_SELECTION_TYPE_OPTIONS, hm as DismissableLayer, hp as usePrevious$1, ht as publishContentEntry, i as usePreviewSidebarNavigation, id as parseFieldDefinition, im as Presence, in as recoveryConflictCopy, ip as sidebarReturnView, iv as unsafeAsEditorBlockId, j_ as mailingListTargetingChoiceIds, jf as isAcceptedRepeaterGridSpan, jm as useComposedRefs, jn as getFieldDefault, jp as DialogFooter, jt as isSurfaceSlotBlockTarget, ju as isRichTextDoc, kf as findFirstAvailableRepeaterGridPlacement, kn as createManifestValidation, kp as DialogContent, kt as deleteBlock, ku as deriveFieldValidationPlan, l_ as generateFontFaceCss, lf as defaultSectionTransitionVariantForFamily, lm as Root2$1, lp as Select$1, ma as resolveImageSourceSetWithContext, mi as EVENT_SELECTION_SCOPE_OPTIONS, mm as useFocusGuards, mt as missingReceiptError, n as usePreviewAssistantSlot, np as extractApiEnvelopeErrorDetails, nv as editorBlockCollectionOwnerKey, o as usePreviewPageDesignEditorState, om as Anchor, on as unfinishedBlockCopy, op as journalTargetKey, ov as formatDate, pm as FocusScope, pn as lifecycleOutcomeMessage, pp as SelectValue, pt as sendPageCommand, q as DONE, qa as inferLegacyOfferingsPreviewGroupOrder, qc as toFeatureCardIconSuggestionInputs, qd as getGradientPreset, qn as resolveBackgroundCapability, rd as PUBLIC_FILE_FIELD_KINDS, rn as useSidebarView, rp as unwrapResponse, rv as editorBlockCollectionOwnersEqual, s as usePreviewPageDesignRenderState, s_ as buildFontPreviewUrl, sm as Arrow$1, sp as journalTrustAt, st as LeaseDiscardedNoticeView, tn as useEditorUiStoreInstance, tr as withValueAtPath, tv as createEditorReorderBlocksCommand, u as useSiteChromeCustomizeOptional, u_ as getFontWidthRange, ua as computeMediaTransformStyle, uf as sectionTransitionFamilies, um as createPopperScope, up as SelectContent, v as buildPageDesignEditorReadModelForBlocks, vi as readEventSelectionChips, vm as createCollection, vp as CalloutDescription, vr as getBlockDefinition, vt as evaluateVisibility, wd as sectionPhotoPresence, wf as planLayoutGridColumnEdit, wn as deriveEditorValuePublicationState, wp as FIELD_SURFACE_CLASS, wt as hasVisibilityConditions, wv as resolveBookingTimeZoneId, x as pageDesignLookTiles, x_ as slugify$1, xa as buildResolveImageUrlContext, xd as resolveVisiblePromotedFieldPathsForEditorBlock, xf as appearancePresets, xm as createContextScope, xn as useStore, xt as getVisibleWhenPredicates, xv as parseBookingLocalDate, yd as concretePaletteFromTheme, yi as toggleEventType, ym as useControllableState, yp as CalloutTitle, yr as listBlockDescriptors, yt as evaluateVisibleWhen, z_ as parsePublicProfile, zc as FEATURE_CARD_GENERATED_ICON_SIZE_PX, zf as resolveRepeaterGridRowFieldId, zg as parseAspectRatioValue, zu as parseGeneratedIconAssetId } from "./previewAssistantSlot-DBi-WybM.mjs";
4
- import { $ as EyeOff, A as Lock, B as ImageUp, C as Palette, G as GripVertical, Gt as ok, H as ImageOff, I as Link2, M as LoaderCircle, O as Maximize2, S as PanelBottom, V as ImagePlus, Wt as err, _ as RotateCcw, at as Clock3, b as Pencil, bt as ArrowUp, c as Trash2, d as Sparkles, et as EllipsisVertical, ft as ChevronRight, gt as Calendar$1, ht as Check, i as Video, it as Clock, m as Settings, mt as ChevronDown, n as X$1, nt as Crop, p as SlidersHorizontal, pt as ChevronLeft, q as FileText, rt as Copy, s as TriangleAlert, t as lucide_react_exports, ut as CircleAlert, vt as Box$1, x as PanelTop, xt as ArrowDown, y as Plus, z as Image } from "./lucide-react-CPBCf6QT.mjs";
5
- import { B as resolveFooterLayoutHints, C as isHeaderMenuSurfaceState, Cn as setFooterSectionSelected, Dn as planFooterArrangement, En as footerArrangementPolicy, F as locationWidgetOverrides, G as getFooterEngagementAuthoringOptions, H as SiteOptionWidgetProvider, J as updateFooterCredit, Jt as themeRuntimeScopeProps, K as getPublicProfile, Kt as buildThemeDataAttrs, L as useSiteEditorAdmission, Q as useMediaEditor, Qt as DEFAULT_THEME_RESPONSIVE_MODE, S as HeaderMenuControls, Sn as resolveFooterSections, Tn as validateFooterComposition, U as useSiteOptionWidgetContext, W as getFooterComposition, X as footerCreditLine, Xt as escapeStyleContent, Y as updatePublicProfile, Yt as buildThemeRuntime, _ as resolvePreviewEditorGuidanceModel, _n as deriveFooterEditorOverview, _t as useField, an as TabsContent, at as useImageResolveContextOptional, bt as ThemeScopeCore, cn as Content$2, ct as BlockContextProvider, dn as Trigger$2, dt as hasEmptyOption, f as canInspectSiteStyle, fn as Content$1, ft as mapCurrentValueForSelect, gn as classifyKnownMimeType, gt as FieldLabelText, h as resolvePreviewDashboardSetupHandoff, ht as FieldFrame, in as Tabs, ln as List, lt as useBlockContext, m as buildPreviewDashboardSetupUrl, mn as Trigger$1, mt as unmapValueFromSelect, n as SiteChromeSurfaceControls, nn as SearchInput, on as TabsList, ot as FormNodeClient, pn as Root$2, pt as mapOptionValueForSelect, q as updateFooterComposition, rn as Input, rt as NewsletterFormClient, sn as TabsTrigger, st as BlockApiProvider, tn as Textarea, u as CustomizeBackgroundControlRows, un as Root2$2, ut as SelectField, vn as normalizeLegacyFooterContentToV1, vt as useLinkedInlineTextField, wn as upsertFooterEngagementSection, x as useSiteFontStorageUrl, xn as removeFooterEngagementSection, y as resolvePreviewSidebarChromeModel, yn as parseFooterEngagementSection, yt as revealEditorElement, z as buildFooterRuntimeViewModel } from "./SiteChromeCustomizeButton-CU9VD-7O.mjs";
6
- import { U as paletteTokenNameSchema, c as isKnownIconName, d as resolveIconPickerPreset, i as ThemedButtonSpecimen, j as VARIANT_ROLES, o as getIconComponent, s as getIconPickerOptionsForPreset, u as isIconPickerPreset } from "./ThemedButton-C0dgGJ5k.mjs";
7
- import { C as useRichTextEditor, E as InlineTextEditor, F as ScrollableDialogContent, I as ScrollableDialogShell, L as emitMediaCropDebug, N as Switch, O as resolveSdkFooterMode, P as Badge, R as resolveVideoSelectionIntentForMediaField, S as insertOrReplaceRichTextImage, _ as MediaEditor, b as RichTextEditorSurface, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as getUnresolvedRichTextImageWarnings, h as useRichTextImageProjection, i as ArrangementOptionsBody, l as BackgroundPreviewSwatch, m as useSiteColourVariables, o as lookIsAutomatic, p as siteColourCss, s as useArrangementToolbar, t as ArrangementLookNote, u as formatTokenLabel, v as MediaPickerMiniDialog, w as EMPTY_DOC, x as getRichTextImagePositionFromTarget, y as MediaPickerMini, z as isSvgMimeType } from "./ArrangementLookControls-D4VjPs-r.mjs";
8
- import { n as TZDate } from "./src-DY8JCJdE.mjs";
9
- import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-D56RD3e_.mjs";
10
- import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-CKxTaC3j.mjs";
11
- import { A as TooltipTrigger, C as prepareBlockEditorManifest, D as Tooltip, E as mergeBlockDescriptors, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, P as DropdownMenuSeparator, S as hideThemeV2RawStyleFields, T as getBlockManifestFromSdkConfig, _ as arrangementLookResolution, a as needsSetupMessage, b as blockLookOwnedFieldPaths, d as createStoreBackend, f as isObjectRecord, g as useSdkConfig, h as SdkConfigProvider, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor, m as createFieldObservation, n as useBlockCustomizeControls, o as needsSetupOf, p as isRecord$1, r as NEEDS_SETUP_LABEL, s as useBlockNeedsSetup, t as resolveBlockManifest, u as arrangementLookNameFor, v as arrangementOwnedFieldIds, w as showRawStyleFields, x as lookNotShownFieldIds, y as arrangementVisibilityValues } from "./useBlockCustomizeControls-B7MLTjBX.mjs";
3
+ import { $_ as parseMailchimpInterestId, $m as Anchor, $p as journalTargetKey, $t as planLeaseNotice, A as usePreviewRenderReadiness, Ad as sanitizeHref, Ah as canWriteLinkedEntry, Ai as chooseScheduleScope, An as manifestFieldSectionOptions, At as deleteSlotBlock, Bd as coerceInlineTextWithFallback, Bh as buttonStyleHoverPreferenceValue, Bl as parseFeatureCardGeneratedIconSizePx, Bn as enabledBackgroundModes, Bt as getDashboardUrl, Bv as resolveBookingTimeZoneId, Cf as defaultPolicyPageFlowPresetId, Cm as DialogDescription$1, Cn as withoutServerVersions, Cp as resolveRepeaterGridBreakpointForWidth, Ct as getWidgetKey, Cv as unsafeAsEditorBlockValues, Dh as useShallow, Di as EVENT_SELECTION_SCOPE_OPTIONS, Dm as DialogTrigger, Dn as initialBlockDraftValues, Dt as createBlock, Ed as deriveFieldValidationPlan, Ef as getCuratedSiteStyle, Eh as cn, Em as DialogTitle$1, Et as partitionFieldsByIntent, Fa as buildResolveImageUrlContext, Ff as getGradientPreset, Fh as isAcceptedRepeaterGridSpan, Fn as readNumberFieldUiConfig, Ft as reorderSlotBlocks, G_ as mailingListProviderName, Gd as inlineTextToPlainText, Gh as updateButtonStyleSelectionChoice, Gn as planBackgroundTransition, Gt as ApiRequestError, Hh as findButtonStyleRecipe, Hv as parseUtcIsoDateTimeString, I as selectedLookTile, Id as parseGeneratedIconAssetId, If as getHeaderLayout, Ih as resolveRepeaterGridColumnFieldId, Il as FEATURE_CARD_GENERATED_ICON_SIZE_PX, In as readSliderFieldUiConfig, Ip as editorAdmissionIsOpen, It as withSlotCompositionHash, J as runHeldLifecycle, J_ as DEFAULT_MAILING_LIST_TARGETING, K_ as parseMailingListPlacementTargeting, Kg as paletteValueKey, Kh as buttonStyleSelectionKey, Kn as rankBackgroundImagePoolItems, Ld as parseGeneratedIconSetId, Lf as getHeaderStyle, Lh as resolveRepeaterGridRowFieldId, Lt as blocksKeys, Lv as parseBookingLocalDate, Md as getBlockIconSemanticId, Mh as canEditorWrite, Mi as toggleEventType, Mn as getRepeaterItemDefault, Mr as listBlockDescriptors, Mt as listEntryPageContentSlots, N as lookTilePosition, N_ as authoredValuesEqual, Nd as getGeneratedBlockIconStyleState, Nf as gradientToCss, Ni as writeEventSelectionChips, Nn as normalizeFieldForCanonicalValidation, Nt as listPageSurfaceContentSlots, O as usePreviewJoinOutcome, Oa as resolveImageSourceSetWithContext, Od as isRichTextDoc, Of as offeredSiteStyles, Oi as EVENT_SELECTION_TYPE_OPTIONS, On as createManifestFormAdapter, Ot as createSlotBlock, Pa as resolveMediaSlotContract, Pd as parseBlockIconValue, Pf as GRADIENT_PRESETS, Pm as DialogTitle, Pn as getGroupChildFields, Pt as reorderBlocks, Q_ as parseMailchimpAudienceId, Qf as sectionTransitionVariantForBoundaryOptionId, Qm as Portal$1, Qp as journalLabels, Qt as resolveContentTitle, R_ as generateUuidV4, Rd as parseSiteIconStyleGuideVersionId, Rf as findCuratedPalette, Rh as resolveRepeaterGridSpanFieldId, Rl as createFeatureCardIconKey, Rm as ReactRemoveScroll, Rn as canCycleBackgroundOverrideValue, Rt as normalizeApiError, S as setPageDesignBlockBackground, S_ as getFontWidthRange, Sh as createSlot, Sm as DialogContent, Sn as toEditorBlockItem, Sp as resolveRepeaterGridAcceptedSpans, St as getFieldIntent, Sv as unsafeAsEditorBlockId, Td as admitLayoutGridForPlan, Th as useComposedRefs, Tm as DialogHeader, Tt as isNonEmptyValue, Tv as formatDateTime, U_ as assessMailingListTargeting, Uh as resolveButtonStyleSelection, Ul as suggestSemanticIconForFeatureCard, Un as parseBackgroundOverrideFromContent, Uv as toUtcIsoDateTimeString, V as usePreviewAuth, Vf as findFooterLook, Vh as buttonStyleSelectionParameterValue, Vl as resolveFeatureCardGeneratedIconSizePx, Vn as imagePoolForOverride, Vp as OPERATION_ID_HEADER, W as useEntryController, W_ as resolveMailingListDefaultDestination, Wh as updateButtonStyleHoverPreference, Wl as toFeatureCardIconSuggestionInputs, X as useServerRefresh, Xd as plainTextToInlineText, Xf as sectionTransitionFamilies, Xp as unwrapResponse, Xt as deriveRouteMetadataPresentation, Xu as isBlockButtonRole, Y_ as mailingListTargetingChoiceIds, Yf as defaultSectionTransitionVariantForFamily, Yp as extractApiEnvelopeErrorDetails, Yt as routeLifecycleContext, Yu as BLOCK_BUTTON_ROLE_OPTIONS, Z as useSessionJournal, Z_ as parseBrevoListId, Zf as sectionTransitionFamilyForBoundaryOptionId, Zm as Presence, Zp as sidebarReturnView, Zt as resolvePageRouteSlug, _f as concretePaletteToTheme, _m as FIELD_SURFACE_CLASS, _p as findFirstAvailableRepeaterGridPlacement, _t as collectVisibleWhenWatchPaths, _v as createEditorInsertBlockCommand, af as resolveVisiblePromotedFieldPathsForEditorBlock, ah as useId$1, am as SelectTrigger, ao as isOfferingsPreviewSourceKey, ar as getAtPath, av as publishedContactDetails, b_ as mediaIdentifierSchema, bm as Dialog, bp as normalizeRepeaterGridSpan, bt as evaluateVisibleWhenPredicate, bu as buildFormInteractiveIslandProps, bv as editorBlockCollectionOwnerKey, cf as sectionPhotoPresence, ch as DismissableLayer, cm as usePrevious$1, ct as LeaseNoticeButtons, cy as expectParsedBrandedId, d as cycleSiteChromeSelectionId, d_ as getDirectImageUrlForMediaAsset, dh as createCollection, dm as CalloutDescription, dn as selectJournalWriteState, do as resolveOfferingsPreviewGroupOrderEntries, dp as isInternalResolvedLinkValue, dt as JournalWriteRefused, ef as parseFieldDefinition, eh as Arrow$1, em as journalTrustAt, en as useEditorUiStore, ev as parseNewsletterListId, fh as useControllableState, fm as CalloutTitle, fn as journalNoticeMessage, fp as planLayoutGridColumnEdit, fv as displayedValues, gf as concretePaletteFromTheme, gh as Primitive, gm as FIELD_FOCUS_WITHIN_CLASS, gp as projectRepeaterGridLayout, gt as derivePromotedFieldPlan, gv as valueStatus, hh as composeEventHandlers, hp as planRepeaterGridSpanChange, ht as publishContentEntry, hv as syncStateOf, i as usePreviewSidebarNavigation, ih as useSize, im as SelectItem, in as recoveryConflictCopy, io as inferLegacyOfferingsPreviewGroupOrder, ip as appearancePresets, iv as publicProfileWeekdays, jh as readLinkedEntryLease, ji as readEventSelectionChips, jm as DialogDescription, jn as getFieldDefault, jp as resolveBlockTitle, jr as getBlockDefinition, jt as isSurfaceSlotBlockTarget, ka as resolveImageUrlWithContext, kf as palettesForSiteStyle, kh as isEdited, ki as chooseAllEvents, kn as createManifestValidation, kt as deleteBlock, l_ as parseAspectRatioValue, lm as clamp, lo as planOfferingPreviewCardSelection, m_ as runtimeMediaSchema, mh as createContextScope, mp as buildRepeaterGridDropTargets, mt as missingReceiptError, mv as pristineValueSync, n as usePreviewAssistantSlot, nh as Root2$1, nm as Select$1, nv as knownSocialPlatforms, ny as parseMediaAssetId, o as usePreviewPageDesignEditorState, o_ as isRotationDimensionSwap, oh as FocusScope, om as SelectValue, on as unfinishedBlockCopy, oo as normalizeOfferingsPreviewGroupOrder, or as siblingPath$2, oy as parseSiteId, p_ as mediaSchema, pm as FieldTrigger, pn as lifecycleOutcomeMessage, pt as sendPageCommand, pv as knownRevision, q as DONE, qm as hideOthers, qn as resolveBackgroundCapability, rh as createPopperScope, rm as SelectContent, rn as useSidebarView, rv as parsePublicProfile, s as usePreviewPageDesignRenderState, sh as useFocusGuards, sr as withValueAtPath, st as LeaseDiscardedNoticeView, sy as unsafeAsSiteId, th as Content, tn as useEditorUiStoreInstance, tv as knownSocialPlatformLabels, ty as assertNever$1, u as useSiteChromeCustomizeOptional, u_ as resolveMediaTransformForAspect, uh as useDirection, um as Callout, v as buildPageDesignEditorReadModelForBlocks, vh as Button$1, vp as flowRepeaterGridItems, vt as evaluateVisibility, vv as createEditorRemoveBlockCommand, wa as computeMediaTransformStyle, wm as DialogFooter, wn as deriveEditorValuePublicationState, wp as resolveRepeaterGridColumnsForBreakpoint, wt as hasVisibilityConditions, wv as formatDate, x as pageDesignLookTiles, x_ as asRecord, xh as cva, xm as DialogClose, xn as useStore, xp as planRepeaterGridStartNewRow, xt as getVisibleWhenPredicates, xv as editorBlockCollectionOwnersEqual, y_ as PUBLIC_FILE_FIELD_KINDS, yh as buttonVariants, yp as isRepeaterGridLayoutInvalid, yt as evaluateVisibleWhen, yv as createEditorReorderBlocksCommand, z_ as slugify$1, zh as siteOptionSources, zl as getFeatureCardIconCompletion, zp as editorAdmissionSession, zr as buildNewsletterFormInteractiveIslandProps, zv as resolveBookingBusinessTimeZone } from "./previewAssistantSlot-DSR0IdAw.mjs";
4
+ import { $ as EyeOff, A as Lock, B as ImageUp, C as Palette, G as GripVertical, Gt as err, H as ImageOff, I as Link2, Kt as ok, M as LoaderCircle, O as Maximize2, S as PanelBottom, V as ImagePlus, _ as RotateCcw, at as Clock3, b as Pencil, bt as ArrowUp, c as Trash2, d as Sparkles, et as EllipsisVertical, ft as ChevronRight, gt as Calendar$1, ht as Check, i as Video, it as Clock, m as Settings, mt as ChevronDown, n as X$1, nt as Crop, p as SlidersHorizontal, pt as ChevronLeft, q as FileText, rt as Copy, s as TriangleAlert, t as lucide_react_exports, ut as CircleAlert, vt as Box$1, x as PanelTop, xt as ArrowDown, y as Plus, z as Image } from "./lucide-react-DkZ8fO-G.mjs";
5
+ import { $t as TabsList, B as resolveFooterLayoutHints, C as isHeaderMenuSurfaceState, F as locationWidgetOverrides, G as getFooterEngagementAuthoringOptions, Gt as DEFAULT_THEME_RESPONSIVE_MODE, H as SiteOptionWidgetProvider, Ht as buildThemeRuntime, J as updateFooterCredit, Jt as Textarea, K as getPublicProfile, L as useSiteEditorAdmission, Q as useMediaEditor, Qt as TabsContent, S as HeaderMenuControls, U as useSiteOptionWidgetContext, Ut as escapeStyleContent, Vt as themeRuntimeScopeProps, W as getFooterComposition, X as footerCreditLine, Xt as Input, Y as updatePublicProfile, Yt as SearchInput, Zt as Tabs, _ as resolvePreviewEditorGuidanceModel, _n as upsertFooterEngagementSection, _t as useField, an as Content$1, at as useImageResolveContextOptional, bn as planFooterArrangement, bt as ThemeScopeCore, ct as BlockContextProvider, dn as normalizeLegacyFooterContentToV1, dt as hasEmptyOption, en as TabsTrigger, f as canInspectSiteStyle, fn as parseFooterEngagementSection, ft as mapCurrentValueForSelect, gn as setFooterSectionSelected, gt as FieldLabelText, h as resolvePreviewDashboardSetupHandoff, hn as resolveFooterSections, ht as FieldFrame, in as Trigger$2, ln as classifyKnownMimeType, lt as useBlockContext, m as buildPreviewDashboardSetupUrl, mn as removeFooterEngagementSection, mt as unmapValueFromSelect, n as SiteChromeSurfaceControls, nn as List, on as Root$2, ot as FormNodeClient, pt as mapOptionValueForSelect, q as updateFooterComposition, rn as Root2$2, rt as NewsletterFormClient, sn as Trigger$1, st as BlockApiProvider, tn as Content$2, u as CustomizeBackgroundControlRows, un as deriveFooterEditorOverview, ut as SelectField, vn as validateFooterComposition, vt as useLinkedInlineTextField, x as useSiteFontStorageUrl, y as resolvePreviewSidebarChromeModel, yn as footerArrangementPolicy, yt as revealEditorElement, z as buildFooterRuntimeViewModel, zt as buildThemeDataAttrs } from "./SiteChromeCustomizeButton-CQFRP9aM.mjs";
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-BQU45t-E.mjs";
7
+ import { C as useRichTextEditor, E as InlineTextEditor, F as ScrollableDialogContent, I as ScrollableDialogShell, L as emitMediaCropDebug, N as Switch, O as resolveSdkFooterMode, P as Badge, R as resolveVideoSelectionIntentForMediaField, S as insertOrReplaceRichTextImage, _ as MediaEditor, b as RichTextEditorSurface, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as getUnresolvedRichTextImageWarnings, h as useRichTextImageProjection, i as ArrangementOptionsBody, l as BackgroundPreviewSwatch, m as useSiteColourVariables, o as lookIsAutomatic, p as siteColourCss, s as useArrangementToolbar, t as ArrangementLookNote, u as formatTokenLabel, v as MediaPickerMiniDialog, w as EMPTY_DOC, x as getRichTextImagePositionFromTarget, y as MediaPickerMini, z as isSvgMimeType } from "./ArrangementLookControls-kbdqYkWM.mjs";
8
+ import { n as TZDate } from "./src-DzXUmsyK.mjs";
9
+ import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-CZQ4vkRe.mjs";
10
+ import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-Cdx3kAGm.mjs";
11
+ import { A as TooltipTrigger, C as prepareBlockEditorManifest, D as Tooltip, E as mergeBlockDescriptors, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, P as DropdownMenuSeparator, S as hideThemeV2RawStyleFields, T as getBlockManifestFromSdkConfig, _ as arrangementLookResolution, a as needsSetupMessage, b as blockLookOwnedFieldPaths, d as createStoreBackend, f as isObjectRecord, g as useSdkConfig, h as SdkConfigProvider, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor, m as createFieldObservation, n as useBlockCustomizeControls, o as needsSetupOf, p as isRecord$1, r as NEEDS_SETUP_LABEL, s as useBlockNeedsSetup, t as resolveBlockManifest, u as arrangementLookNameFor, v as arrangementOwnedFieldIds, w as showRawStyleFields, x as lookNotShownFieldIds, y as arrangementVisibilityValues } from "./useBlockCustomizeControls-ZrWdhcB6.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";
@@ -4662,6 +4662,106 @@ const automaticPageDocumentIntent = {
4662
4662
  boundaryPins: []
4663
4663
  };
4664
4664
  //#endregion
4665
+ //#region ../theme-core/src/fonts/types.ts
4666
+ /**
4667
+ * The Supabase storage bucket name for site fonts
4668
+ */
4669
+ const SITE_FONTS_BUCKET = "site-fonts";
4670
+ /**
4671
+ * Construct the storage base URL for site fonts
4672
+ *
4673
+ * @param supabaseUrl - The Supabase project URL (e.g., https://xxx.supabase.co)
4674
+ * @returns The full storage URL for the site-fonts bucket
4675
+ *
4676
+ * @example
4677
+ * ```ts
4678
+ * const storageUrl = getSiteFontsStorageUrl('https://xxx.supabase.co')
4679
+ * // Returns: 'https://xxx.supabase.co/storage/v1/object/public/site-fonts'
4680
+ * ```
4681
+ */
4682
+ function getSiteFontsStorageUrl(supabaseUrl) {
4683
+ return `${supabaseUrl}/storage/v1/object/public/${SITE_FONTS_BUCKET}`;
4684
+ }
4685
+ /**
4686
+ * Build a lightweight Google Fonts stylesheet URL for a family-name preview.
4687
+ * The text subset keeps catalog rows cheap while still rendering the name in
4688
+ * the typeface being chosen. Pass `text` when the preview draws something
4689
+ * other than the name (a sample heading, "Aa"); its letters are deduplicated.
4690
+ */
4691
+ function buildFontPreviewUrl(family, text = family) {
4692
+ return `https://fonts.googleapis.com/css2?family=${encodeURIComponent(family).replace(/%20/gu, "+")}&display=swap&text=${encodeURIComponent(text === family ? family : [...new Set(text)].join(""))}`;
4693
+ }
4694
+ /**
4695
+ * Escape a string for use in CSS font-family declaration
4696
+ * Escapes quotes, backslashes, and newlines
4697
+ */
4698
+ function escapeCssFontFamily(name) {
4699
+ return name.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/"/g, "\\\"").replace(/\n/g, "\\n").replace(/\r/g, "\\r");
4700
+ }
4701
+ /**
4702
+ * Encode storage path segments for use in URLs
4703
+ * Encodes each path segment individually to handle special characters
4704
+ */
4705
+ function encodeStoragePath(storagePath) {
4706
+ return storagePath.split("/").map((segment) => encodeURIComponent(segment)).join("/");
4707
+ }
4708
+ /**
4709
+ * Generate @font-face CSS for a single font file
4710
+ */
4711
+ function generateFontFaceForFile(familyName, file, storageBaseUrl) {
4712
+ return `@font-face {
4713
+ font-family: '${escapeCssFontFamily(familyName)}';
4714
+ src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
4715
+ font-weight: ${file.weight};
4716
+ font-style: ${file.style};
4717
+ font-display: swap;
4718
+ }`;
4719
+ }
4720
+ /**
4721
+ * Generate @font-face CSS for a variable font
4722
+ */
4723
+ function generateFontFaceForVariableFont(familyName, file, weightMin, weightMax, storageBaseUrl) {
4724
+ return `@font-face {
4725
+ font-family: '${escapeCssFontFamily(familyName)}';
4726
+ src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
4727
+ font-weight: ${weightMin} ${weightMax};
4728
+ font-style: ${file.style};
4729
+ font-display: swap;
4730
+ }`;
4731
+ }
4732
+ /**
4733
+ * Generate all @font-face rules for custom fonts
4734
+ *
4735
+ * @param fonts - Array of custom fonts
4736
+ * @param storageBaseUrl - Base URL for storage (e.g., https://xxx.supabase.co/storage/v1/object/public/site-fonts)
4737
+ * @returns CSS string with all @font-face rules
4738
+ */
4739
+ function generateFontFaceCss(fonts, storageBaseUrl) {
4740
+ const rules = [];
4741
+ const seenFamilies = /* @__PURE__ */ new Set();
4742
+ for (const font of fonts) {
4743
+ if (seenFamilies.has(font.familyName)) continue;
4744
+ seenFamilies.add(font.familyName);
4745
+ if (font.isVariable && font.variableWeightMin && font.variableWeightMax) {
4746
+ const normalFile = font.files.find((f) => f.style === "normal");
4747
+ const italicFile = font.files.find((f) => f.style === "italic");
4748
+ if (normalFile) rules.push(generateFontFaceForVariableFont(font.familyName, normalFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
4749
+ if (italicFile) rules.push(generateFontFaceForVariableFont(font.familyName, italicFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
4750
+ } else for (const file of font.files) rules.push(generateFontFaceForFile(font.familyName, file, storageBaseUrl));
4751
+ }
4752
+ return rules.join("\n\n");
4753
+ }
4754
+ /** CSS2 axis tuples are sorted normal-first, then real italic weights. */
4755
+ function buildGoogleFontFamilyQuery(family, weights, italics = [], widthRange) {
4756
+ const name = encodeURIComponent(family.replace(/\s+/g, "+")).replace(/%2B/g, "+");
4757
+ const normal = [...new Set(weights)].sort((a, b) => a - b);
4758
+ const width = widthRange ? `${widthRange.min}..${widthRange.max},` : "";
4759
+ const axes = widthRange ? "wdth,wght" : "wght";
4760
+ if (italics.length === 0) return `family=${name}:${axes}@${normal.map((weight) => `${width}${weight}`).join(";")}`;
4761
+ const italic = [...new Set(italics)].sort((a, b) => a - b);
4762
+ return `family=${name}:ital,${axes}@${[...normal.map((weight) => `0,${width}${weight}`), ...italic.map((weight) => `1,${width}${weight}`)].join(";")}`;
4763
+ }
4764
+ //#endregion
4665
4765
  //#region ../blocks/src/subroutes/formatDate.ts
4666
4766
  /** Occurrence instants name the occurrence-local day; civil keys preserve their day. */
4667
4767
  function formatOccurrenceDate(iso, context) {
@@ -8270,6 +8370,20 @@ function normalizeLocalDisabled$1(localDisabled, globalDisabled) {
8270
8370
  }
8271
8371
  KeyboardCode.Down, KeyboardCode.Right, KeyboardCode.Up, KeyboardCode.Left;
8272
8372
  //#endregion
8373
+ //#region ../editor-blocks/src/block-editor/blockReveals.ts
8374
+ /**
8375
+ * The reveals not yet shown, and the section to scroll to: the first section of
8376
+ * the newest one. A reveal with no sections never counts as shown.
8377
+ */
8378
+ function decideBlockReveals(reveals, shown) {
8379
+ const fresh = reveals.filter((reveal) => reveal.blockIds.length > 0 && !shown.has(reveal.key));
8380
+ return {
8381
+ open: fresh.flatMap((reveal) => reveal.blockIds),
8382
+ focus: fresh.at(-1)?.blockIds[0] ?? null,
8383
+ shown: fresh.map((reveal) => reveal.key)
8384
+ };
8385
+ }
8386
+ //#endregion
8273
8387
  //#region ../editor-blocks/src/block-editor/categoryHelpers.ts
8274
8388
  const PICKER_CATEGORIES = [
8275
8389
  "text-and-images",
@@ -24105,17 +24219,23 @@ function BlockListHeading({ layout, canCreate, onAdd }) {
24105
24219
  }
24106
24220
  /**
24107
24221
  * Where a new block can go. Cards insert between blocks; the outline also
24108
- * offers the end of the list, since its footer row closes the list.
24222
+ * offers the end of the list, since its footer row closes the list. Between
24223
+ * cards the divider is also the gap, so it keeps its height while adding isn't
24224
+ * possible, including while the blocks you can add are still loading.
24109
24225
  */
24110
- function BlockListInsert({ layout, position, count, onOpen }) {
24111
- if (layout.kind === "outline") return /* @__PURE__ */ jsx(EditorOutlineInsertPoint, {
24226
+ function BlockListInsert({ layout, canCreate, position, count, onOpen }) {
24227
+ if (layout.kind === "outline") return canCreate ? /* @__PURE__ */ jsx(EditorOutlineInsertPoint, {
24112
24228
  label: layout.copy.insert,
24113
24229
  onSelect: () => onOpen(position)
24114
- });
24115
- return position < count ? /* @__PURE__ */ jsx(AddBlockDivider, {
24230
+ }) : null;
24231
+ if (position >= count) return null;
24232
+ return canCreate ? /* @__PURE__ */ jsx(AddBlockDivider, {
24116
24233
  onOpen,
24117
24234
  position
24118
- }) : null;
24235
+ }) : /* @__PURE__ */ jsx("div", {
24236
+ "aria-hidden": "true",
24237
+ className: "h-8"
24238
+ });
24119
24239
  }
24120
24240
  function blockListClassNames(layout) {
24121
24241
  return layout.kind === "outline" ? {
@@ -24195,7 +24315,8 @@ function getGeneratedIconSetErrorMessage(error) {
24195
24315
  const message = getApiRequestErrorMessage(error);
24196
24316
  return message === "Internal server error" || /^Request to .+ failed with status \d+$/u.test(message) ? GENERATED_ICON_SET_FRIENDLY_ERROR : message;
24197
24317
  }
24198
- const BlockEditor = forwardRef(function BlockEditor({ siteId, displayContext, dashboardBaseUrl, renderPreviewLink, owner, source, collectionReads, onStaleRead, recoveryConflictBlockIds = [], recoveryConflictReviewRequestId = null, apiClient, uiStore, enableReordering = true, enableCreation = true, enableDeletion = true, onBlockSave, onBlocksChange, onStructuralRevisionChange, theme, widgetOverrides, headerLeftSlot, hideThemeV2RawStyleFields = false, pageDesignEditorModel = null, sdkConfig = null, customBlocks = [], allowedBlockKinds = null, emptyUnavailableMessage = "No blocks available for this page.", creationCopy, initialCollapsed = true, reorderControlMode = DEFAULT_REORDER_CONTROL_MODE, actionPresentation = DEFAULT_BLOCK_ACTION_PRESENTATION, layout = CARDS_BLOCK_LIST_LAYOUT }, ref) {
24318
+ const noReveals = [];
24319
+ const BlockEditor = forwardRef(function BlockEditor({ siteId, displayContext, dashboardBaseUrl, renderPreviewLink, owner, source, collectionReads, onStaleRead, recoveryConflictBlockIds = [], reveals = noReveals, apiClient, uiStore, enableReordering = true, enableCreation = true, enableDeletion = true, onBlockSave, onBlocksChange, onStructuralRevisionChange, theme, widgetOverrides, headerLeftSlot, hideThemeV2RawStyleFields = false, pageDesignEditorModel = null, sdkConfig = null, customBlocks = [], allowedBlockKinds = null, emptyUnavailableMessage = "No blocks available for this page.", creationCopy, initialCollapsed = true, reorderControlMode = DEFAULT_REORDER_CONTROL_MODE, actionPresentation = DEFAULT_BLOCK_ACTION_PRESENTATION, layout = CARDS_BLOCK_LIST_LAYOUT }, ref) {
24199
24320
  const canonicalBlocks = useStoreSelector(uiStore, (state) => state.structure.getList());
24200
24321
  const blockList = useMemo(() => [...canonicalBlocks], [canonicalBlocks]);
24201
24322
  const setBlockList = useCallback((next) => {
@@ -24512,7 +24633,8 @@ const BlockEditor = forwardRef(function BlockEditor({ siteId, displayContext, da
24512
24633
  window.setTimeout(() => {
24513
24634
  revealEditorElement(blockRefs.current.get(focusedBlockId) ?? null, {
24514
24635
  behavior: "smooth",
24515
- block: "center"
24636
+ block: "center",
24637
+ scrollDocument: layout.kind === "cards"
24516
24638
  });
24517
24639
  }, 100);
24518
24640
  if (highlightTimerRef.current !== null) window.clearTimeout(highlightTimerRef.current);
@@ -24523,21 +24645,21 @@ const BlockEditor = forwardRef(function BlockEditor({ siteId, displayContext, da
24523
24645
  }, [
24524
24646
  focusRequest?.requestId,
24525
24647
  focusRequest?.blockId,
24648
+ layout.kind,
24526
24649
  setCollapsed,
24527
24650
  uiStore
24528
24651
  ]);
24652
+ const revealedKeys = useRef(/* @__PURE__ */ new Set());
24529
24653
  useEffect(() => {
24530
- if (recoveryConflictReviewRequestId === null || recoveryConflictBlockIds.length === 0) return;
24531
- for (const blockId of recoveryConflictBlockIds) setCollapsed(blockId, false);
24532
- const firstRecoveryBlockId = recoveryConflictBlockIds[0];
24533
- if (!firstRecoveryBlockId) return;
24534
- uiStore.getState().requestFocus({
24654
+ const decision = decideBlockReveals(reveals, revealedKeys.current);
24655
+ decision.shown.forEach((key) => revealedKeys.current.add(key));
24656
+ decision.open.forEach((blockId) => setCollapsed(blockId, false));
24657
+ if (decision.focus) uiStore.getState().requestFocus({
24535
24658
  kind: "block",
24536
- blockId: unsafeAsEditorBlockId(firstRecoveryBlockId)
24659
+ blockId: unsafeAsEditorBlockId(decision.focus)
24537
24660
  });
24538
24661
  }, [
24539
- recoveryConflictBlockIds,
24540
- recoveryConflictReviewRequestId,
24662
+ reveals,
24541
24663
  setCollapsed,
24542
24664
  uiStore
24543
24665
  ]);
@@ -24616,12 +24738,13 @@ const BlockEditor = forwardRef(function BlockEditor({ siteId, displayContext, da
24616
24738
  strategy: verticalListSortingStrategy$1,
24617
24739
  children: /* @__PURE__ */ jsxs("div", {
24618
24740
  className: listClassNames.list,
24619
- children: [canCreateBlocks ? /* @__PURE__ */ jsx(BlockListInsert, {
24741
+ children: [/* @__PURE__ */ jsx(BlockListInsert, {
24620
24742
  layout,
24743
+ canCreate: canCreateBlocks,
24621
24744
  position: 0,
24622
24745
  count: blockList.length,
24623
24746
  onOpen: openBlockPicker
24624
- }) : null, blockList.map((block, index) => {
24747
+ }), blockList.map((block, index) => {
24625
24748
  const focusSignal = focusRequest && block.id && focusRequest.blockId === unsafeAsEditorBlockId(block.id) ? focusRequest : null;
24626
24749
  const collapsed = isCollapsed(block.id);
24627
24750
  return /* @__PURE__ */ jsxs("div", {
@@ -24672,12 +24795,13 @@ const BlockEditor = forwardRef(function BlockEditor({ siteId, displayContext, da
24672
24795
  onGenerateIconSet: generateFeatureCardIconSet,
24673
24796
  layout,
24674
24797
  selected: isOutlineSelected(block.id, selectedBlockId)
24675
- }), canCreateBlocks ? /* @__PURE__ */ jsx(BlockListInsert, {
24798
+ }), /* @__PURE__ */ jsx(BlockListInsert, {
24676
24799
  layout,
24800
+ canCreate: canCreateBlocks,
24677
24801
  position: index + 1,
24678
24802
  count: blockList.length,
24679
24803
  onOpen: openBlockPicker
24680
- }) : null]
24804
+ })]
24681
24805
  }, block.id ?? index);
24682
24806
  })]
24683
24807
  })
@@ -27910,6 +28034,11 @@ function getSiteOptionSource(config) {
27910
28034
  const trimmed = raw.trim();
27911
28035
  return siteOptionSources.includes(trimmed) ? trimmed : null;
27912
28036
  }
28037
+ /** What the picker offers: everything except retired items, unless one is already chosen. */
28038
+ function offeredSiteOptionItems(items, value) {
28039
+ const selected = new Set(normalizeSiteOptionMultiValue(value));
28040
+ return items.some((item) => item.retired) ? items.filter((item) => !item.retired || selected.has(item.value)) : items;
28041
+ }
27913
28042
  //#endregion
27914
28043
  //#region ../editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.tsx
27915
28044
  /** The Combobox id standing in for the empty value's named default option. */
@@ -27947,7 +28076,7 @@ function SiteOptionPickerField({ path, backend, config }) {
27947
28076
  siteId,
27948
28077
  source
27949
28078
  ]);
27950
- const { options: items, state: loadState, isLoading, errorMessage: loadError } = useAsyncPickerOptions({
28079
+ const { options: loadedItems, state: loadState, isLoading, errorMessage: loadError } = useAsyncPickerOptions({
27951
28080
  enabled: Boolean(adapter && siteId && source),
27952
28081
  loadOptions: loadItems
27953
28082
  });
@@ -27960,6 +28089,7 @@ function SiteOptionPickerField({ path, backend, config }) {
27960
28089
  children: "This field type is not supported yet."
27961
28090
  })
27962
28091
  });
28092
+ const items = offeredSiteOptionItems(loadedItems, value);
27963
28093
  const manageLink = adapter.renderManageLink?.({
27964
28094
  siteId,
27965
28095
  source
@@ -28157,10 +28287,14 @@ function mapEventsToSiteOptionItems(events) {
28157
28287
  })));
28158
28288
  }
28159
28289
  function mapVenuesToSiteOptionItems(payload) {
28160
- return payload.map((venue) => ({
28290
+ return payload.map((venue) => venue.archivedAt === null ? {
28161
28291
  value: venue.id,
28162
28292
  label: venue.title
28163
- }));
28293
+ } : {
28294
+ value: venue.id,
28295
+ label: `${venue.title} (archived)`,
28296
+ retired: true
28297
+ });
28164
28298
  }
28165
28299
  function mapStaffMembersToSiteOptionItems(payload) {
28166
28300
  return payload.resources.map((staffMember) => ({
@@ -32161,8 +32295,7 @@ function useSlotBlockSave({ uiStore, queryClient, queryKey, requestServerRefresh
32161
32295
  uiStore
32162
32296
  ]);
32163
32297
  }
32164
- function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId, pageSurfaceId, theme = null, apiClient, sdkConfig = null, widgets, visible = true }) {
32165
- const { displayContext } = useEntryController();
32298
+ function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId, pageSurfaceId, theme = null, apiClient, sdkConfig = null, widgets, visible = true, displayContext }) {
32166
32299
  const { requestServerRefresh } = useServerRefresh();
32167
32300
  const queryClient = useQueryClient();
32168
32301
  const uiStore = useEditorUiStoreInstance();
@@ -32380,20 +32513,23 @@ function resolveSubrouteNotice(ctx, args) {
32380
32513
  }
32381
32514
  //#endregion
32382
32515
  //#region ../preview-next/src/client/preview/EntryEditorPanel.tsx
32383
- function EntryEditorPanel({ siteId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, apiClient, entrySubrouteContext, widgets }) {
32384
- const [contentOpen, setContentOpen] = useState(true);
32385
- const [templateOpen, setTemplateOpen] = useState(false);
32386
- const contentFormFields = useMemo(() => contentTypeSchema ? mapContentSchemaToFormFields(contentTypeSchema, { referenceContentTypeKeys }) : [], [contentTypeSchema, referenceContentTypeKeys]);
32387
- const contentFormSpec = useMemo(() => ({
32516
+ /** The entry's content fields as a block-form manifest, resolving references against the site's content types. */
32517
+ function entryContentForm(contentTypeSchema, referenceContentTypeKeys) {
32518
+ return {
32388
32519
  variantMeaning: { kind: "arrangement" },
32389
32520
  name: "content-fields",
32390
32521
  version: "1.0",
32391
32522
  title: "Content",
32392
32523
  component: "content-form",
32393
32524
  description: "",
32394
- fields: contentFormFields,
32525
+ fields: contentTypeSchema ? mapContentSchemaToFormFields(contentTypeSchema, { referenceContentTypeKeys }) : [],
32395
32526
  slots: []
32396
- }), [contentFormFields]);
32527
+ };
32528
+ }
32529
+ function EntryEditorPanel({ siteId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, apiClient, entrySubrouteContext, widgets }) {
32530
+ const [contentOpen, setContentOpen] = useState(true);
32531
+ const [templateOpen, setTemplateOpen] = useState(false);
32532
+ const contentFormSpec = useMemo(() => entryContentForm(contentTypeSchema, referenceContentTypeKeys), [contentTypeSchema, referenceContentTypeKeys]);
32397
32533
  const contentInitialValues = useMemo(() => draftContent ?? {}, [draftContent]);
32398
32534
  const subrouteNotice = useMemo(() => resolveSubrouteNotice(entrySubrouteContext ?? null, { siteId }), [entrySubrouteContext, siteId]);
32399
32535
  return /* @__PURE__ */ jsxs("div", {
@@ -33005,6 +33141,7 @@ const NEW_BLOCK_ID = "new-block";
33005
33141
  function newBlockLookTiles(model, blockKind) {
33006
33142
  const content = {};
33007
33143
  const block = buildPageDesignEditorReadModelForBlocks({
33144
+ surfaceResolutionContext: null,
33008
33145
  siteStyleId: model.siteStyleId,
33009
33146
  intent: {
33010
33147
  ...automaticPageDocumentIntent,
@@ -33112,7 +33249,6 @@ const OUTLINE_COPY = {
33112
33249
  };
33113
33250
  /** The page view's outline: the page's blocks between the site header and footer, each opening its own view. */
33114
33251
  function PageBlockEditorPanel(props) {
33115
- const { displayContext } = useEntryController();
33116
33252
  const describeLook = useOutlineLookNames();
33117
33253
  const attentionFor = useOutlineAttention();
33118
33254
  const openBlock = props.uiStoreForBlockEditor.getState().openSidebarBlock;
@@ -33139,7 +33275,7 @@ function PageBlockEditorPanel(props) {
33139
33275
  bookingOfferingPresets: props.bookingOfferingPresets,
33140
33276
  sdkConfig: props.sdkConfig ?? null,
33141
33277
  children: /* @__PURE__ */ jsx(BlockEditor, {
33142
- displayContext,
33278
+ displayContext: props.displayContext,
33143
33279
  ref: props.blockEditorRef,
33144
33280
  siteId: props.siteId,
33145
33281
  dashboardBaseUrl: props.dashboardBaseUrl,
@@ -36181,6 +36317,8 @@ function sectionBreakSource(boundary) {
36181
36317
  }
36182
36318
  /** Approved copy (issue 1422) for a join the renderer didn't draw. */
36183
36319
  const NOT_SHOWN_COPY = {
36320
+ "same-paint": "This break won't show here, because both sections have the same background color. It'll appear if you give one of them a different background.",
36321
+ "photo-required": "This break won't show here, because the wave with echo is drawn over a photo. It'll appear if the section above it has a photo background.",
36184
36322
  "both-unpainted": "This break won't show here, because both sections have an image or video background. It'll appear if you give one of them a color background.",
36185
36323
  "flush-panel": "This break won't show here, because one of these sections has an image that runs right to its edge. It'll appear if you pick a different look for that section.",
36186
36324
  field: "This break won't show here, because one of these sections is drawn as a rounded panel set in from the page edge. It'll appear if you give that section a different background."
@@ -36260,9 +36398,9 @@ function useBreakAbove(blockId) {
36260
36398
  return boundary && boundary.availableBreaks.length > 1 ? boundary : null;
36261
36399
  }
36262
36400
  function useJoinedSectionNames(aboveId, hereId, sdkConfig) {
36263
- const { blocks } = useEntryController();
36401
+ const blocks = useEditorUiStore((state) => state.structure.getList());
36264
36402
  const nameOf = (id) => {
36265
- const block = id ? blocks.list.find((candidate) => String(candidate.id) === id) : void 0;
36403
+ const block = id ? blocks.find((candidate) => String(candidate.id) === id) : void 0;
36266
36404
  return block ? resolveBlockTitle(resolveBlockManifest(block.kind, sdkConfig), block.content, block.kind).displayTitle : null;
36267
36405
  };
36268
36406
  return {
@@ -36738,6 +36876,7 @@ function PageSettingsView({ ownerKind, contentTypeKey, entry, statusMessage, add
36738
36876
  dateContext: civilPickerDisplay.dateContext,
36739
36877
  manifest: identity,
36740
36878
  backend,
36879
+ widgetOverrides: previewWidgetOverrides,
36741
36880
  plain: true,
36742
36881
  className: "space-y-4"
36743
36882
  }) : null,
@@ -36756,6 +36895,7 @@ function PageSettingsView({ ownerKind, contentTypeKey, entry, statusMessage, add
36756
36895
  dateContext: civilPickerDisplay.dateContext,
36757
36896
  manifest: search,
36758
36897
  backend,
36898
+ widgetOverrides: previewWidgetOverrides,
36759
36899
  plain: true,
36760
36900
  className: "space-y-4"
36761
36901
  })
@@ -36902,11 +37042,13 @@ function PreviewEditorSidebar(props) {
36902
37042
  });
36903
37043
  }
36904
37044
  function SidebarSlotResource({ props, visible }) {
37045
+ const { displayContext } = useEntryController();
36905
37046
  if (!props.entryData?.type) return null;
36906
37047
  return /* @__PURE__ */ jsx("div", {
36907
37048
  "data-testid": "preview-sidebar-entry-content",
36908
37049
  children: /* @__PURE__ */ jsx(EntrySlotBlockEditorPanel, {
36909
37050
  siteId: props.siteId,
37051
+ displayContext,
36910
37052
  dashboardBaseUrl: props.dashboardBaseUrl,
36911
37053
  typeKey: props.entryData.type,
36912
37054
  entryId: props.entryData.id,
@@ -36964,16 +37106,9 @@ function SidebarTaskView({ props, view, requestId, uiStoreForBlockEditor, linked
36964
37106
  })
36965
37107
  });
36966
37108
  case "siteStyle": return /* @__PURE__ */ jsx(SidebarSiteStyle, { props });
36967
- case "pageSettings": return /* @__PURE__ */ jsx(PageSettingsView, {
36968
- ownerKind: props.entryData ? "content" : "page",
36969
- contentTypeKey: props.entryData?.type,
36970
- entry: controller.entry,
36971
- statusMessage: controller.toolbar.publishedMessage ?? null,
36972
- address: {
36973
- siteId: props.siteId,
36974
- apiClient: controller.apiClient,
36975
- target: previewAddressTarget(props)
36976
- }
37109
+ case "pageSettings": return /* @__PURE__ */ jsx(SidebarPageSettings, {
37110
+ props,
37111
+ controller
36977
37112
  });
36978
37113
  case "chrome": return view.target === "header" ? /* @__PURE__ */ jsx(SiteChromeSurfaceControls, { surface: "header" }) : /* @__PURE__ */ jsx(PreviewFooterEditorPanel, {
36979
37114
  ...props,
@@ -37008,6 +37143,27 @@ function previewAddressTarget(props) {
37008
37143
  targetId: props.pageId
37009
37144
  } : null;
37010
37145
  }
37146
+ /** The social image picker needs the media editor the form provider sets up. */
37147
+ function SidebarPageSettings({ props, controller }) {
37148
+ return /* @__PURE__ */ jsx(PreviewFormProvider, {
37149
+ siteId: props.siteId,
37150
+ theme: props.theme ?? null,
37151
+ previewClient: props.apiClient,
37152
+ sdkConfig: props.sdkConfig,
37153
+ bookingOfferingPresets: props.bookingOfferingPresets,
37154
+ children: /* @__PURE__ */ jsx(PageSettingsView, {
37155
+ ownerKind: props.entryData ? "content" : "page",
37156
+ contentTypeKey: props.entryData?.type,
37157
+ entry: controller.entry,
37158
+ statusMessage: controller.toolbar.publishedMessage ?? null,
37159
+ address: {
37160
+ siteId: props.siteId,
37161
+ apiClient: controller.apiClient,
37162
+ target: previewAddressTarget(props)
37163
+ }
37164
+ })
37165
+ });
37166
+ }
37011
37167
  function SidebarSiteStyle({ props }) {
37012
37168
  return canInspectSiteStyle(props.siteStyleAccess ?? { kind: "hidden" }) ? /* @__PURE__ */ jsx(StyleConfigurator, {
37013
37169
  siteId: props.siteId,
@@ -37035,6 +37191,7 @@ function SidebarPagePanel({ props, uiStoreForBlockEditor, picking }) {
37035
37191
  if (!props.pageId) return null;
37036
37192
  const outline = /* @__PURE__ */ jsx(PageBlockEditorPanel, {
37037
37193
  ...props,
37194
+ displayContext: controller.displayContext,
37038
37195
  pageId: props.pageId,
37039
37196
  blockItems: controller.blocks.list,
37040
37197
  uiStoreForBlockEditor,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Ap as DialogDescription, Dm as cva, Dp as Dialog, En as editorAuthoredBlockDocument, G as useEntryEditorController, Il as pageTemplateFromEntry, J_ as displayedValues, Kf as editorAdmissionIsOpen, Kt as PREVIEW_CHROME_Z_INDEX, Mm as cn, Mp as DialogHeader, Np as DialogTitle, Q as useSessionJournalHistory, Tm as Button, V as usePreviewAuth, Vf as resolveBlockTitle, X as useServerRefresh, Z as useSessionJournal, dp as SelectItem, en as useEditorUiStore, fp as SelectTrigger, h_ as authoredValuesEqual, ir as readinessFactsFromPayload, iv as unsafeAsEditorBlockId, jp as DialogFooter, kp as DialogContent, lp as Select, mn as canDiscardDraft, n as usePreviewAssistantSlot, nr as PUBLISH_READINESS_COPY, ot as EditorWriteSurface, pp as SelectValue, rp as unwrapResponse, rr as publishReadinessWarning, tn as useEditorUiStoreInstance, up as SelectContent } from "./previewAssistantSlot-DBi-WybM.mjs";
3
- import { C as Palette, E as Monitor, M as LoaderCircle, Q as Eye, b as Pencil, et as EllipsisVertical, f as Smartphone, l as Tablet, mt as ChevronDown, o as Undo2, s as TriangleAlert, v as Redo2 } from "./lucide-react-CPBCf6QT.mjs";
4
- import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-CKxTaC3j.mjs";
5
- import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, i as needsSetupAsk, j as DropdownMenu, t as resolveBlockManifest } from "./useBlockCustomizeControls-B7MLTjBX.mjs";
6
- import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, f as useEditor, n as PREVIEW_CHROME_THEME_CLASS_NAME, o as readPreviewThemeCookie, p as FixedBottomSurface, r as applyPreviewChromeSurfaceToElement, t as PREVIEW_CHROME_PORTAL_CLASS_NAME } from "./previewChromeSurface-BhkUJst9.mjs";
7
- import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-BTUc0g9X.mjs";
2
+ import { Cm as DialogDescription, Eh as cn, Em as DialogTitle, En as editorAuthoredBlockDocument, G as useEntryEditorController, Ip as editorAdmissionIsOpen, Kt as PREVIEW_CHROME_Z_INDEX, N_ as authoredValuesEqual, Nu as pageTemplateFromEntry, Q as useSessionJournalHistory, Sm as DialogContent, Sv as unsafeAsEditorBlockId, Tm as DialogHeader, V as usePreviewAuth, X as useServerRefresh, Xp as unwrapResponse, Z as useSessionJournal, _r as PUBLISH_READINESS_COPY, am as SelectTrigger, bm as Dialog, en as useEditorUiStore, fv as displayedValues, im as SelectItem, jp as resolveBlockTitle, mn as canDiscardDraft, n as usePreviewAssistantSlot, nm as Select, om as SelectValue, ot as EditorWriteSurface, rm as SelectContent, tn as useEditorUiStoreInstance, vh as Button, vr as publishReadinessWarning, wm as DialogFooter, xh as cva, yr as readinessFactsFromPayload } from "./previewAssistantSlot-DSR0IdAw.mjs";
3
+ import { C as Palette, E as Monitor, M as LoaderCircle, Q as Eye, b as Pencil, et as EllipsisVertical, f as Smartphone, l as Tablet, mt as ChevronDown, o as Undo2, s as TriangleAlert, v as Redo2 } from "./lucide-react-DkZ8fO-G.mjs";
4
+ import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-Cdx3kAGm.mjs";
5
+ import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, i as needsSetupAsk, j as DropdownMenu, t as resolveBlockManifest } from "./useBlockCustomizeControls-ZrWdhcB6.mjs";
6
+ import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, f as useEditor, n as PREVIEW_CHROME_THEME_CLASS_NAME, o as readPreviewThemeCookie, p as FixedBottomSurface, r as applyPreviewChromeSurfaceToElement, t as PREVIEW_CHROME_PORTAL_CLASS_NAME } from "./previewChromeSurface-uSnVzeNs.mjs";
7
+ import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-CK-GWb9k.mjs";
8
8
  import * as React$1 from "react";
9
9
  import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";