@riverbankcms/sdk 0.171.1 → 0.172.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 (210) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-DViYbakk.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-DZBOzd3U.d.ts} +1 -2
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
  9. package/dist/_dts/{index-BQPJbOkU.d.ts → index-BnMavhoh.d.ts} +2 -2
  10. package/dist/_dts/{index-DScYSl03.d.ts → index-C0zjLMAW.d.ts} +49 -38
  11. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-CpOkfBt1.d.ts} +3 -3
  12. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-Da4UMgbs.d.ts} +2 -2
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-DkFV_1Bc.d.ts} +1 -1
  14. package/dist/_dts/{index-Sua-7CF1.d.ts → index-Dns7OHyl.d.ts} +1 -1
  15. package/dist/_dts/{index-B3gfKNI-.d.ts → index-MuMYjetm.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-wQ28JWbr.d.ts} +1021 -247
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-Cc4zqaEC.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
  53. package/dist/_dts/{types-BCzfYDW2.d.ts → types-CpjyP5I4.d.ts} +7 -7
  54. package/dist/_dts/{types-JD-36x3P.d.ts → types-DrinAfeW.d.ts} +3 -3
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-ZuZoGsZV.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-sKBofjiW.mjs} +40 -14
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-Ds1s3DuC.mjs} +1426 -486
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-OsAseM7H.mjs} +36 -18
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-DgwFZJSx.mjs} +1 -1
  81. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
  82. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
  83. package/dist/client/bookings.mjs +5 -5
  84. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
  85. package/dist/client/{carousel-DeI76SEP.mjs → carousel-0sw2Kc3a.mjs} +2 -2
  86. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  87. package/dist/client/{cart-D_uxULCO.mjs → cart-CPfvMDGJ.mjs} +3 -3
  88. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BJBPUTmg.mjs} +1 -1
  89. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-DU4JFjGT.mjs} +3 -3
  90. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
  91. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
  92. package/dist/client/client.mjs +135 -4
  93. package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
  94. package/dist/client/{cta-CP9l112u.mjs → cta-CNVQHLKs.mjs} +53 -11
  95. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
  97. package/dist/client/{display-ChgDe9Da.mjs → display-B5DfNb6A.mjs} +1869 -333
  98. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
  99. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
  100. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
  101. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
  102. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
  103. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
  104. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-EhSDk4UL.mjs} +4 -4
  105. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
  106. package/dist/client/{form-ERv_X_oZ.mjs → form-BfChzSkS.mjs} +3 -3
  107. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D1zehtPk.mjs} +4 -4
  108. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-rMDlUQIv.mjs} +3 -3
  109. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
  110. package/dist/client/gifting/client.mjs +3 -3
  111. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BX9bQ84k.mjs} +2 -2
  112. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
  113. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
  114. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
  115. package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
  116. package/dist/client/portal/client.mjs +231 -117
  117. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
  118. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-CDL-jihv.mjs} +1 -1
  119. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-B97m0uZy.mjs} +3 -3
  120. package/dist/client/{productList-HoFGQXFl.mjs → productList-DE4vSSG_.mjs} +3 -3
  121. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
  122. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cn8XjRte.mjs} +1458 -1178
  123. package/dist/client/rendering/client.mjs +27 -27
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +22 -16
  126. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
  128. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
  129. package/dist/client/runtimeResponse-CPcA8xSm.mjs +3 -0
  130. package/dist/client/{shop-DXyeSNgi.mjs → shop-BC4H0oYT.mjs} +3 -3
  131. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
  132. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
  133. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-WgGVGelc.mjs} +12 -12
  134. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
  135. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-BE6TEk2A.mjs} +2 -2
  136. package/dist/client/spam-protection.mjs +1 -1
  137. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
  138. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  139. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
  140. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
  141. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
  142. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
  143. package/dist/client/{view-DhEwiTJG.mjs → view-B0TFnP4y.mjs} +198 -60
  144. package/dist/client/{view-C_brMDU2.mjs → view-DNNNbnNj.mjs} +3 -3
  145. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  146. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  147. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  148. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-D59tHj_L.mjs} +25 -20
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +100 -70
  150. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI--kS9Cwsc.mjs} +5 -5
  151. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  152. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  153. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bi8-rclb.mjs} +311 -62
  154. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +301 -125
  155. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +584 -286
  156. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  157. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  158. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-Caofnr1Z.mjs} +7190 -4065
  159. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
  160. package/dist/preview-next/client/runtime.mjs +5 -4
  161. package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
  162. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
  163. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +20 -8
  164. package/dist/preview-next/container-responsive.css +215 -4
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-DsKDQoVW.mjs} +131 -0
  168. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
  169. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  170. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  171. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Bp6OnR3n.mjs} +109 -20
  172. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  173. package/dist/server/{client-DCwLR0kQ.mjs → client-dROAfMRa.mjs} +133 -2
  174. package/dist/server/config-template-validation.mjs +3 -0
  175. package/dist/server/config-validation.mjs +1 -1
  176. package/dist/server/config.mjs +2 -2
  177. package/dist/server/data/resolveBlockData.mjs +1 -1
  178. package/dist/server/index.mjs +3 -3
  179. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-zOIrtqz-.mjs} +19 -14
  180. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
  181. package/dist/server/next.mjs +6 -6
  182. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  183. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-DjboggbB.mjs} +1 -1
  184. package/dist/server/page-converter.mjs +1 -1
  185. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
  186. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
  187. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-BJjptSGp.mjs} +1039 -853
  188. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
  189. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-CntSkZQI.mjs} +1 -1
  190. package/dist/server/prebuild.mjs +1 -1
  191. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
  192. package/dist/server/{registry-CaeRTf4E.mjs → registry-wYH0LH5f.mjs} +7257 -4959
  193. package/dist/server/rendering/components/pageShared.mjs +1 -1
  194. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  195. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  196. package/dist/server/rendering/server.mjs +3 -3
  197. package/dist/server/rendering.mjs +7 -7
  198. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
  199. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  200. package/dist/server/{schema-CxBsE9Dv.mjs → schema-BFOqYIMQ.mjs} +2 -1
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/theme-bridge.mjs +2 -2
  203. package/dist/server/theme.mjs +2 -2
  204. package/dist/server/{validation-CvmhnkDr.mjs → validation-DAQdPDku.mjs} +4 -4
  205. package/dist/server/{version-Clp2evCf.mjs → version-DAB0O3yx.mjs} +1 -1
  206. package/dist/styles/index.css +1260 -15
  207. package/package.json +1 -1
  208. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  209. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  210. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $d as inlineTextToPlainText, $m as Arrow$1, $t as useEditorUiStore, A as usePreviewRenderReadiness, Aa as resolveImageSourceSetWithContext, Ah as readLinkedEntryLease, Ai as EVENT_SELECTION_TYPE_OPTIONS, An as getFieldDefault, Ap as resolveRepeaterGridAcceptedSpans, At as deleteSlotBlock, Bd as getBlockIconSemanticId, Bh as buttonStyleSelectionParameterValue, Bn as imagePoolForOverride, Bt as getDashboardUrl, Bv as parseBookingLocalDate, Cm as DialogTrigger, Cn as deriveEditorValuePublicationState, Cp as planRepeaterGridSpanChange, Ct as getWidgetKey, Cv as editorBlockCollectionOwnerKey, Df as concretePaletteToTheme, Dn as createManifestFormAdapter, Dp as isRepeaterGridLayoutInvalid, Dt as createBlock, Dv as formatDate, Ea as computeMediaTransformStyle, Ef as concretePaletteFromTheme, Eh as useShallow, En as initialBlockDraftValues, Ep as flowRepeaterGridItems, Et as partitionFieldsByIntent, Ev as unsafeAsEditorBlockValues, Fh as resolveRepeaterGridColumnFieldId, Fi as writeEventSelectionChips, Fn as readSliderFieldUiConfig, Ft as reorderSlotBlocks, Gd as parseGeneratedIconSetId, Gf as getGradientPreset, Gg as paletteValueKey, Gh as buttonStyleSelectionKey, Gn as rankBackgroundImagePoolItems, Gv as parseUtcIsoDateTimeString, H_ as slugify$1, Hd as parseBlockIconValue, Hh as resolveButtonStyleSelection, Hn as parseBackgroundOverrideFromContent, Hv as resolveBookingBusinessTimeZone, I as selectedLookTile, Ia as resolveMediaSlotContract, Id as isRichTextDoc, If as getCuratedSiteStyle, Ih as resolveRepeaterGridRowFieldId, Im as usePortalContainer, It as withSlotCompositionHash, J as runHeldLifecycle, J_ as mailingListProviderName, Jd as coerceInlineTextWithFallback, Jl as parseFeatureCardGeneratedIconSizePx, Jt as routeLifecycleContext, K_ as assessMailingListTargeting, Kd as parseSiteIconStyleGuideVersionId, Kf as findCuratedPalette, Kl as createFeatureCardIconKey, Km as hideOthers, Kn as resolveBackgroundCapability, Kv as toUtcIsoDateTimeString, La as buildResolveImageUrlContext, Lh as resolveRepeaterGridSpanFieldId, Lm as ReactRemoveScroll, Ln as canCycleBackgroundOverrideValue, Lt as blocksKeys, Mi as chooseScheduleScope, Mn as normalizeFieldForCanonicalValidation, Mp as resolveRepeaterGridColumnsForBreakpoint, Mt as listEntryPageContentSlots, N as lookTilePosition, N_ as authoredValuesEqual, Nd as admitLayoutGridForPlan, Nf as defaultPolicyPageFlowPresetId, Ni as readEventSelectionChips, Nn as getGroupChildFields, Nr as getBlockDefinition, Nt as listPageSurfaceContentSlots, O as usePreviewJoinOutcome, Oh as isEdited, Om as DialogDescription, On as createManifestValidation, Op as normalizeRepeaterGridSpan, Ot as createSlotBlock, Ou as buildFormInteractiveIslandProps, Ov as formatDateTime, P as lookTilesFor, Pd as deriveFieldValidationPlan, Ph as isAcceptedRepeaterGridSpan, Pi as toggleEventType, Pn as readNumberFieldUiConfig, Pr as listBlockDescriptors, Pt as reorderBlocks, Q_ as mailingListTargetingChoiceIds, Ql as toFeatureCardIconSuggestionInputs, Qm as Anchor, Qt as planLeaseNotice, Rd as sanitizeHref, Rf as offeredSiteStyles, Rh as siteOptionSources, Rt as normalizeApiError, S as setPageDesignBlockBackground, Sm as DialogTitle$1, Sn as withoutServerVersions, Sp as buildRepeaterGridDropTargets, St as getFieldIntent, Sv as createEditorReorderBlocksCommand, T_ as asAppearancePresetId, Tf as getHeaderStyle, Th as cn, Tp as findFirstAvailableRepeaterGridPlacement, Tt as isNonEmptyValue, Tv as unsafeAsEditorBlockId, Uf as gradientToCss, Uh as updateButtonStyleHoverPreference, Uv as resolveBookingTimeZoneId, V as usePreviewAuth, V_ as generateUuidV4, Vd as getGeneratedBlockIconStyleState, Vh as findButtonStyleRecipe, Vr as buildNewsletterFormInteractiveIslandProps, W as useEntryController, Wd as parseGeneratedIconAssetId, Wf as GRADIENT_PRESETS, Wh as updateButtonStyleSelectionChoice, Wl as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Wn as planBackgroundTransition, Wp as editorAdmissionIsOpen, Wt as ApiRequestError, X as useServerRefresh, Xm as Presence, Xt as resolvePageRouteSlug, Y_ as parseMailingListPlacementTargeting, Yf as findFooterLook, Yl as resolveFeatureCardGeneratedIconSizePx, Yp as OPERATION_ID_HEADER, Yt as deriveRouteMetadataPresentation, Z as useSessionJournal, Z_ as DEFAULT_MAILING_LIST_TARGETING, Zl as suggestSemanticIconForFeatureCard, Zm as Portal$1, Zt as resolveContentTitle, _h as Button$1, _m as DialogClose, _t as collectVisibleWhenWatchPaths, _v as pristineValueSync, a_ as isRotationDimensionSwap, ad as BLOCK_BUTTON_ROLE_OPTIONS, ah as FocusScope, an as unfinishedBlockCopy, ap as sectionTransitionFamilyForBoundaryOptionId, ar as siblingPath$2, av as knownSocialPlatforms, b_ as asRecord, bh as cva, bm as DialogFooter, bn as useStore, bp as planLayoutGridColumnEdit, bt as evaluateVisibleWhenPredicate, bv as createEditorInsertBlockCommand, c_ as parseAspectRatioValue, cf as parseFieldDefinition, cm as journalTargetKey, ct as LeaseNoticeButtons, cv as publishedContactDetails, d as cycleSiteChromeSelectionId, dh as useControllableState, dn as journalNoticeMessage, do as normalizeOfferingsPreviewGroupOrder, dt as JournalWriteRefused, dy as parseSiteId, eh as Content, en as useEditorUiStoreInstance, ev as parseBrevoListId, f_ as mediaSchema, fn as lifecycleOutcomeMessage, fp as appearancePresets, fy as unsafeAsSiteId, gf as sectionPhotoPresence, gm as Dialog, go as resolveOfferingsPreviewGroupOrderEntries, gt as derivePromotedFieldPlan, gv as knownRevision, hh as Primitive, hm as CalloutTitle, ht as publishContentEntry, hv as displayedValues, i as usePreviewSidebarNavigation, if as plainTextToInlineText, ih as useId$1, im as unwrapResponse, ip as sectionTransitionFamilies, ir as getAtPath, iv as knownSocialPlatformLabels, iy as assertNever$1, ja as resolveImageUrlWithContext, jh as canEditorWrite, ji as chooseAllEvents, jm as DialogTitle, jn as getRepeaterItemDefault, jp as resolveRepeaterGridBreakpointForWidth, jt as isSurfaceSlotBlockTarget, kh as canWriteLinkedEntry, ki as EVENT_SELECTION_SCOPE_OPTIONS, kn as manifestFieldSectionOptions, kp as planRepeaterGridStartNewRow, kt as deleteBlock, l_ as resolveMediaTransformForAspect, lh as useDirection, lm as journalTrustAt, lo as inferLegacyOfferingsPreviewGroupOrder, mh as composeEventHandlers, mm as CalloutDescription, mo as planOfferingPreviewCardSelection, mt as missingReceiptError, n as usePreviewAssistantSlot, nh as createPopperScope, nn as useSidebarView, nv as parseMailchimpInterestId, o as usePreviewPageDesignEditorState, od as isBlockButtonRole, oh as useFocusGuards, om as sidebarReturnView, op as sectionTransitionVariantForBoundaryOptionId, or as withValueAtPath, ov as parsePublicProfile, p_ as runtimeMediaSchema, pf as resolveVisiblePromotedFieldPathsForEditorBlock, ph as createContextScope, pm as Callout, pt as sendPageCommand, py as expectParsedBrandedId, q as DONE, q_ as resolveMailingListDefaultDestination, ql as getFeatureCardIconCompletion, qp as editorAdmissionSession, rh as useSize, rm as extractApiEnvelopeErrorDetails, rn as recoveryConflictCopy, rp as defaultSectionTransitionVariantForFamily, rv as parseNewsletterListId, s as usePreviewPageDesignRenderState, sh as DismissableLayer, sm as journalLabels, st as LeaseDiscardedNoticeView, sv as publicProfileWeekdays, sy as parseMediaAssetId, th as Root2$1, tv as parseMailchimpAudienceId, u as useSiteChromeCustomizeOptional, u_ as getDirectImageUrlForMediaAsset, uh as createCollection, un as selectJournalWriteState, uo as isOfferingsPreviewSourceKey, v as buildPageDesignEditorReadModelForBlocks, v_ as PUBLIC_FILE_FIELD_KINDS, vh as buttonVariants, vm as DialogContent, vt as evaluateVisibility, vv as syncStateOf, wf as getHeaderLayout, wh as useComposedRefs, wp as projectRepeaterGridLayout, wt as hasVisibilityConditions, wv as editorBlockCollectionOwnersEqual, x as pageDesignLookTiles, x_ as getFontWidthRange, xh as createSlot, xm as DialogHeader, xn as toEditorBlockItem, xt as getVisibleWhenPredicates, xv as createEditorRemoveBlockCommand, y_ as mediaIdentifierSchema, ym as DialogDescription$1, yp as isInternalResolvedLinkValue, yt as evaluateVisibleWhen, yv as valueStatus, zf as palettesForSiteStyle, zh as buttonStyleHoverPreferenceValue, zn as enabledBackgroundModes, zp as resolveBlockTitle } from "./previewAssistantSlot-3FZrzbK8.mjs";
4
- import { A as LoaderCircle, B as ImageOff, E as Maximize2, G as FileText, Gt as ok, L as Image, O as Lock, P as Link2, Q as EllipsisVertical, R as ImageUp, S as Palette, U as GripVertical, Wt as err, Z 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 ImagePlus } from "./lucide-react-X0DjcFij.mjs";
5
- import { $ as useMediaEditor, $t as SelectItem, An as upsertFooterEngagementSection, B as buildFooterRuntimeViewModel, C as isHeaderMenuSurfaceState, Cn as deriveFooterEditorOverview, Dn as removeFooterEngagementSection, F as siteColourCss, G as getFooterComposition, Gt as DEFAULT_THEME_RESPONSIVE_MODE, Ht as buildThemeRuntime, I as locationWidgetOverrides, J as updateFooterComposition, Jt as ChoiceTileGroup, K as getFooterEngagementAuthoringOptions, Mn as footerArrangementPolicy, Nn as planFooterArrangement, On as resolveFooterSections, Qt as SelectContent, R as useSiteEditorAdmission, S as HeaderMenuControls, Sn as classifyKnownMimeType, Tn as parseFooterEngagementSection, U as SiteOptionWidgetProvider, Ut as escapeStyleContent, V as resolveFooterLayoutHints, Vt as themeRuntimeScopeProps, W as useSiteOptionWidgetContext, X as updatePublicProfile, Xt as Textarea, Y as updateFooterCredit, Z as footerCreditLine, Zt as Select$1, _ as resolvePreviewEditorGuidanceModel, _n as Trigger$2, _t as FieldLabelText, an as FieldTrigger, bn as Trigger$1, bt as revealEditorElement, cn as FIELD_SURFACE_CLASS, ct as BlockApiProvider, dn as TabsContent, dt as SelectField, en as SelectTrigger, f as canInspectSiteStyle, fn as TabsList, ft as hasEmptyOption, gn as Root2$2, gt as FieldFrame, h as resolvePreviewDashboardSetupHandoff, hn as List, ht as unmapValueFromSelect, in as SearchInput, it as NewsletterFormClient, jn as validateFooterComposition, kn as setFooterSectionSelected, lt as BlockContextProvider, m as buildPreviewDashboardSetupUrl, mn as Content$2, mt as mapOptionValueForSelect, n as SiteChromeSurfaceControls, nn as usePrevious$1, on as Input, ot as useImageResolveContextOptional, pn as TabsTrigger, pt as mapCurrentValueForSelect, q as getPublicProfile, qt as CHOSEN_OPTION_CLASS, rn as clamp, sn as FIELD_FOCUS_WITHIN_CLASS, st as FormNodeClient, tn as SelectValue, u as CustomizeBackgroundControlRows, un as Tabs, ut as useBlockContext, vn as Content$1, vt as useField, wn as normalizeLegacyFooterContentToV1, x as useSiteFontStorageUrl, xt as ThemeScopeCore, y as resolvePreviewSidebarChromeModel, yn as Root$2, yt as useLinkedInlineTextField, zt as buildThemeDataAttrs } from "./SiteChromeCustomizeButton-eU-zMftO.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-CKYjeU_M.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, 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 Switch, 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-Dfi8Y3AI.mjs";
3
+ import { $_ as authoredValuesEqual, $d as deriveFieldValidationPlan, $h as isAcceptedRepeaterGridSpan, $l as suggestSemanticIconForFeatureCard, $n as getAtPath, $t as useSidebarView, A as usePreviewRenderReadiness, A_ as getDirectImageUrlForMediaAsset, Ah as useControllableState, Ai as chooseScheduleScope, An as getGroupChildFields, At as listPageSurfaceContentSlots, Ay as parseSiteId, B_ as asRecord, Bh as createSlot, Bm as DialogHeader, Br as buildNewsletterFormInteractiveIslandProps, Bv as createEditorRemoveBlockCommand, Ca as resolveMediaSlotContract, Cf as plainTextToInlineText, Ch as useId$1, Cm as unwrapResponse, Cn as initialBlockDraftValues, Cp as sectionTransitionFamilies, Ct as partitionFieldsByIntent, Cv as knownSocialPlatformLabels, Cy as assertNever$1, Df as parseFieldDefinition, Di as EVENT_SELECTION_SCOPE_OPTIONS, Dm as journalTargetKey, Dn as getFieldDefault, Dt as deleteSlotBlock, Dv as publishedContactDetails, Eh as DismissableLayer, Em as journalLabels, En as manifestFieldSectionOptions, Et as deleteBlock, Ev as publicProfileWeekdays, Ey as parseMediaAssetId, Ff as sectionPhotoPresence, Fm as Dialog, Ft as normalizeApiError, Fv as knownRevision, G_ as asAppearancePresetId, Gf as concretePaletteFromTheme, Gh as useShallow, Gp as flowRepeaterGridItems, Gt as routeLifecycleContext, Gv as unsafeAsEditorBlockValues, Hm as DialogTrigger, Hn as rankBackgroundImagePoolItems, Hp as planRepeaterGridSpanChange, Hv as editorBlockCollectionOwnerKey, I as selectedLookTile, Ih as Button$1, Im as DialogClose, In as enabledBackgroundModes, Iv as pristineValueSync, J as runHeldLifecycle, Jh as canWriteLinkedEntry, Jl as createFeatureCardIconKey, Jp as planRepeaterGridStartNewRow, Jt as resolveContentTitle, Kf as concretePaletteToTheme, Kl as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Kp as isRepeaterGridLayoutInvalid, Kt as deriveRouteMetadataPresentation, Kv as formatDate, Lh as buttonVariants, Lm as DialogContent, Ln as imagePoolForOverride, Lt as getDashboardUrl, Lv as syncStateOf, M_ as mediaSchema, Mh as createContextScope, Mi as toggleEventType, Mm as Callout, Mn as readSliderFieldUiConfig, Mr as getBlockDefinition, Mt as reorderSlotBlocks, My as expectParsedBrandedId, N as lookTilePosition, N_ as runtimeMediaSchema, Nh as composeEventHandlers, Ni as writeEventSelectionChips, Nm as CalloutDescription, Nr as listBlockDescriptors, Nt as withSlotCompositionHash, O as usePreviewJoinOutcome, O_ as parseAspectRatioValue, Oh as useDirection, Oi as EVENT_SELECTION_TYPE_OPTIONS, Om as journalTrustAt, On as getRepeaterItemDefault, Ot as isSurfaceSlotBlockTarget, P as lookTilesFor, Ph as Primitive, Pm as CalloutTitle, Pn as canCycleBackgroundOverrideValue, Pt as blocksKeys, Pv as displayedValues, Qd as admitLayoutGridForPlan, Qf as defaultPolicyPageFlowPresetId, R_ as PUBLIC_FILE_FIELD_KINDS, Rm as DialogDescription$1, Rp as isInternalResolvedLinkValue, Rv as valueStatus, S as setPageDesignBlockBackground, Sh as useSize, Sm as extractApiEnvelopeErrorDetails, So as planOfferingPreviewCardSelection, Sp as defaultSectionTransitionVariantForFamily, St as isNonEmptyValue, Sv as parseNewsletterListId, T_ as isRotationDimensionSwap, Td as isBlockButtonRole, Th as useFocusGuards, Tm as sidebarReturnView, Tn as createManifestValidation, Tp as sectionTransitionVariantForBoundaryOptionId, Tt as createSlotBlock, Tv as parsePublicProfile, Uf as getHeaderLayout, Uh as useComposedRefs, Un as resolveBackgroundCapability, Up as projectRepeaterGridLayout, Uv as editorBlockCollectionOwnersEqual, V as usePreviewAuth, V_ as getFontWidthRange, Vm as DialogTitle$1, Vn as planBackgroundTransition, Vp as buildRepeaterGridDropTargets, Vt as ApiRequestError, Vv as createEditorReorderBlocksCommand, W as useEntryController, Wf as getHeaderStyle, Wh as cn, Wp as findFirstAvailableRepeaterGridPlacement, Wv as unsafeAsEditorBlockId, X as useServerRefresh, Xh as canEditorWrite, Xl as parseFeatureCardGeneratedIconSizePx, Xm as DialogTitle, Xp as resolveRepeaterGridBreakpointForWidth, Xt as useEditorUiStore, Yh as readLinkedEntryLease, Yl as getFeatureCardIconCompletion, Yp as resolveRepeaterGridAcceptedSpans, Yt as planLeaseNotice, Z as useSessionJournal, Zl as resolveFeatureCardGeneratedIconSizePx, Zp as resolveRepeaterGridColumnsForBreakpoint, Zt as useEditorUiStoreInstance, _a as resolveImageSourceSetWithContext, _h as Anchor, _n as useStore, _o as isOfferingsPreviewSourceKey, _t as collectVisibleWhenWatchPaths, _v as mailingListTargetingChoiceIds, af as getBlockIconSemanticId, ag as buttonStyleSelectionParameterValue, ay as parseBookingLocalDate, bh as Root2$1, bn as deriveEditorValuePublicationState, bt as getWidgetKey, bv as parseMailchimpAudienceId, cg as updateButtonStyleHoverPreference, cn as journalNoticeMessage, cp as gradientToCss, ct as LeaseNoticeButtons, cy as resolveBookingTimeZoneId, d as cycleSiteChromeSelectionId, d_ as paletteValueKey, df as parseSiteIconStyleGuideVersionId, dh as hideOthers, dp as findCuratedPalette, dt as JournalWriteRefused, dv as assessMailingListTargeting, dy as toUtcIsoDateTimeString, eg as resolveRepeaterGridColumnFieldId, en as recoveryConflictCopy, er as siblingPath$2, eu as toFeatureCardIconSuggestionInputs, fm as editorAdmissionSession, fv as resolveMailingListDefaultDestination, gh as Portal$1, go as inferLegacyOfferingsPreviewGroupOrder, gt as derivePromotedFieldPlan, gv as DEFAULT_MAILING_LIST_TARGETING, hh as Presence, ht as publishContentEntry, i as usePreviewSidebarNavigation, ig as buttonStyleHoverPreferenceValue, im as resolveBlockTitle, ip as palettesForSiteStyle, jf as resolveVisiblePromotedFieldPathsForEditorBlock, ji as readEventSelectionChips, jn as readNumberFieldUiConfig, jp as appearancePresets, jt as reorderBlocks, ju as buildFormInteractiveIslandProps, jy as unsafeAsSiteId, k_ as resolveMediaTransformForAspect, kh as createCollection, ki as chooseAllEvents, kn as normalizeFieldForCanonicalValidation, kt as listEntryPageContentSlots, lf as parseGeneratedIconAssetId, lg as updateButtonStyleSelectionChoice, lm as editorAdmissionIsOpen, ln as lifecycleOutcomeMessage, lp as GRADIENT_PRESETS, mm as OPERATION_ID_HEADER, mp as findFooterLook, mt as missingReceiptError, mv as parseMailingListPlacementTargeting, n as usePreviewAssistantSlot, ng as resolveRepeaterGridSpanFieldId, nh as ReactRemoveScroll, nn as unfinishedBlockCopy, o as usePreviewPageDesignEditorState, of as getGeneratedBlockIconStyleState, og as findButtonStyleRecipe, ov as generateUuidV4, pa as computeMediaTransformStyle, pf as coerceInlineTextWithFallback, pt as sendPageCommand, pv as mailingListProviderName, q as DONE, qh as isEdited, qm as DialogDescription, qp as normalizeRepeaterGridSpan, qt as resolvePageRouteSlug, qv as formatDateTime, rf as sanitizeHref, rg as siteOptionSources, rp as offeredSiteStyles, s as usePreviewPageDesignRenderState, sf as parseBlockIconValue, sg as resolveButtonStyleSelection, sn as selectJournalWriteState, st as LeaseDiscardedNoticeView, sv as slugify$1, sy as resolveBookingBusinessTimeZone, tf as isRichTextDoc, tg as resolveRepeaterGridRowFieldId, th as usePortalContainer, tp as getCuratedSiteStyle, tr as withValueAtPath, u as useSiteChromeCustomizeOptional, uf as parseGeneratedIconSetId, ug as buttonStyleSelectionKey, up as getGradientPreset, uy as parseUtcIsoDateTimeString, v as buildPageDesignEditorReadModelForBlocks, va as resolveImageUrlWithContext, vf as inlineTextToPlainText, vh as Arrow$1, vn as toEditorBlockItem, vo as normalizeOfferingsPreviewGroupOrder, vt as evaluateVisibility, wa as buildResolveImageUrlContext, wd as BLOCK_BUTTON_ROLE_OPTIONS, wh as FocusScope, wn as createManifestFormAdapter, wo as resolveOfferingsPreviewGroupOrderEntries, wp as sectionTransitionFamilyForBoundaryOptionId, wt as createBlock, wv as knownSocialPlatforms, x as pageDesignLookTiles, xh as createPopperScope, xt as hasVisibilityConditions, xv as parseMailchimpInterestId, yh as Content, yn as withoutServerVersions, yt as getFieldIntent, yv as parseBrevoListId, z_ as mediaIdentifierSchema, zh as cva, zm as DialogFooter, zn as parseBackgroundOverrideFromContent, zp as planLayoutGridColumnEdit, zv as createEditorInsertBlockCommand } from "./previewAssistantSlot-Caofnr1Z.mjs";
4
+ import { $ as EllipsisVertical, A as LoaderCircle, B as ImageOff, E as Maximize2, G as FileText, Gt as err, Kt as ok, 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, 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-BCNn8dEQ.mjs";
5
+ import { $t as Textarea, An as removeFooterEngagementSection, C as HeaderMenuControls, Cn as Trigger$1, Dn as normalizeLegacyFooterContentToV1, En as deriveFooterEditorOverview, Fn as footerArrangementPolicy, G as useSiteOptionWidgetContext, Gt as buildThemeRuntime, H as resolveFooterLayoutHints, Ht as buildThemeDataAttrs, I as siteColourCss, In as planFooterArrangement, J as getPublicProfile, Jt as DEFAULT_THEME_RESPONSIVE_MODE, K as getFooterComposition, Kt as escapeStyleContent, L as locationWidgetOverrides, Mn as setFooterSectionSelected, Nn as upsertFooterEngagementSection, On as parseFooterEngagementSection, Pn as validateFooterComposition, Q as footerCreditLine, S as useSiteFontStorageUrl, Sn as Root$2, St as ThemeScopeCore, Tn as classifyKnownMimeType, V as buildFooterRuntimeViewModel, W as SiteOptionWidgetProvider, Wt as themeRuntimeScopeProps, X as updateFooterCredit, Xt as CHOSEN_OPTION_CLASS, Y as updateFooterComposition, Z as updatePublicProfile, Zt as ChoiceTileGroup, _n as Content$2, _t as FieldFrame, an as usePrevious$1, at as NewsletterFormClient, b as resolvePreviewSidebarChromeModel, bn as Trigger$2, bt as useLinkedInlineTextField, cn as FieldTrigger, ct as FormNodeClient, d as CustomizeBackgroundControlRows, dn as FIELD_SURFACE_CLASS, dt as useBlockContext, en as Select$1, et as useMediaEditor, ft as SelectField, g as resolvePreviewDashboardSetupHandoff, gn as TabsTrigger, gt as unmapValueFromSelect, h as buildPreviewDashboardSetupUrl, hn as TabsList, ht as mapOptionValueForSelect, in as SelectValue, jn as resolveFooterSections, ln as Input, lt as BlockApiProvider, mn as TabsContent, mt as mapCurrentValueForSelect, n as SiteChromeSurfaceControls, nn as SelectItem, on as clamp, p as canInspectSiteStyle, pn as Tabs, pt as hasEmptyOption, q as getFooterEngagementAuthoringOptions, r as dashboardLogoSettingsHref, rn as SelectTrigger, sn as SearchInput, st as useImageResolveContextOptional, tn as SelectContent, un as FIELD_FOCUS_WITHIN_CLASS, ut as BlockContextProvider, v as resolvePreviewEditorGuidanceModel, vn as List, vt as FieldLabelText, w as isHeaderMenuSurfaceState, xn as Content$1, xt as revealEditorElement, yn as Root2$2, yt as useField, z as useSiteEditorAdmission } from "./SiteChromeCustomizeButton-CrgS3I8d.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-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, 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 Switch, 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-D59tHj_L.mjs";
8
8
  import { n as TZDate } from "./src-DzXUmsyK.mjs";
9
- import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-OwAxA2C0.mjs";
10
- import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-OIMkhbkP.mjs";
11
- import { A as TooltipProvider, B as DropdownMenuTrigger, C as hideThemeV2RawStyleFields, D as mergeBlockDescriptors, E as getBlockManifestFromSdkConfig, F as DropdownMenuItem, M as Badge, N as DropdownMenu, O as Tooltip, P as DropdownMenuContent, S as lookNotShownFieldIds, T as showRawStyleFields, _ as useSdkConfig, b as arrangementVisibilityValues, c as useBlockNeedsSetup, d as arrangementLookNameFor, f as createStoreBackend, g as SdkConfigProvider, h as createFieldObservation, i as NEEDS_SETUP_LABEL, j as TooltipTrigger, k as TooltipContent, m as isRecord$1, n as resolveBlockManifest, o as needsSetupMessage, p as isObjectRecord, r as useBlockCustomizeControls, s as needsSetupOf, u as arrangementBlockControlsFor, v as arrangementLookResolution, w as prepareBlockEditorManifest, x as blockLookOwnedFieldPaths, y as arrangementOwnedFieldIds, z as DropdownMenuSeparator } from "./useOpenBlockForSetup-BNG9P9sM.mjs";
9
+ import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-D4F_5rnr.mjs";
10
+ import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-CakNU3lp.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-CCEMkosU.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";
@@ -9763,6 +9763,17 @@ function BlockSourceLine({ source, siteId, dashboardBaseUrl = "", getValue = ()
9763
9763
  });
9764
9764
  }
9765
9765
  //#endregion
9766
+ //#region ../block-form/src/utils/visibilityValues.ts
9767
+ /** Effective presentation values override stored values for visibility only. */
9768
+ const VisibilityValuesContext = createContext({});
9769
+ function withVisibilityValues(reader, values) {
9770
+ return { getValue: (path) => Object.prototype.hasOwnProperty.call(values, path) ? values[path] : reader.getValue(path) };
9771
+ }
9772
+ function useVisibilityValueReader(reader) {
9773
+ const values = useContext(VisibilityValuesContext);
9774
+ return useMemo(() => withVisibilityValues(reader, values), [reader, values]);
9775
+ }
9776
+ //#endregion
9766
9777
  //#region ../block-form/src/widgets/LookField.tsx
9767
9778
  function LookField({ config, path, backend }) {
9768
9779
  const { value, setValue, error } = useField(path, backend);
@@ -11201,39 +11212,9 @@ function useRepeaterHostActions(path) {
11201
11212
  }
11202
11213
  //#endregion
11203
11214
  //#region ../block-form/src/widgets/RepeaterField/hooks/useRepeaterVisibility.ts
11204
- /**
11205
- * Hook to handle repeater field visibility based on visibleWhen conditions
11206
- */
11207
11215
  function useRepeaterVisibility(field, backend, path) {
11208
- const pathSegments = useMemo(() => path.length ? path.split(".") : [], [path]);
11209
- const parentSegments = useMemo(() => pathSegments.length > 0 ? pathSegments.slice(0, -1) : [], [pathSegments]);
11210
- const visibleWhen = field.ui?.visibleWhen;
11211
- const conditions = useMemo(() => visibleWhen ? getVisibleWhenPredicates(visibleWhen) : [], [visibleWhen]);
11212
- const watchedValues = useMemo(() => {
11213
- if (conditions.length === 0) return [];
11214
- return conditions.map((condition) => {
11215
- const segments = condition.field.split(".");
11216
- const absolute = [...parentSegments, ...segments].filter((s) => s.length > 0).join(".");
11217
- return backend.getValue(absolute);
11218
- });
11219
- }, [
11220
- conditions,
11221
- parentSegments,
11222
- backend
11223
- ]);
11224
- const isHidden = Boolean(field.ui?.hidden);
11225
- const satisfiesCondition = useMemo(() => {
11226
- if (!visibleWhen) return true;
11227
- if (conditions.length === 0) return true;
11228
- return evaluateVisibleWhen(visibleWhen, (condition) => {
11229
- return evaluateVisibleWhenPredicate(condition, watchedValues[conditions.indexOf(condition)]);
11230
- });
11231
- }, [
11232
- visibleWhen,
11233
- conditions,
11234
- watchedValues
11235
- ]);
11236
- return !isHidden && satisfiesCondition;
11216
+ useBackendWatch(backend, collectVisibleWhenWatchPaths(field, path));
11217
+ return evaluateVisibility(field, useVisibilityValueReader(backend), path);
11237
11218
  }
11238
11219
  //#endregion
11239
11220
  //#region ../block-form/src/widgets/RepeaterField/hooks/useRepeaterRowErrors.ts
@@ -21917,11 +21898,11 @@ const WIDGET_COMPONENTS = {
21917
21898
  * 3. Shows/hides field accordingly
21918
21899
  */
21919
21900
  function VisibilityWrapper({ field, path, backend, children }) {
21920
- if (field.ui?.hidden) return null;
21901
+ const reader = useVisibilityValueReader(backend);
21921
21902
  const watchedPaths = useMemo(() => collectVisibleWhenWatchPaths(field, path), [field, path]);
21922
- return useMemo(() => evaluateVisibility(field, backend, path), [
21903
+ return useMemo(() => evaluateVisibility(field, reader, path), [
21923
21904
  field,
21924
- backend,
21905
+ reader,
21925
21906
  path,
21926
21907
  useBackendWatch(backend, watchedPaths.length ? watchedPaths : path)
21927
21908
  ]) ? children : null;
@@ -21992,10 +21973,18 @@ function PromotedFieldSection({ items, renderField, backend }) {
21992
21973
  */
21993
21974
  function FormRenderer(props) {
21994
21975
  useBackendWatch(props.backend, props.fields.map((field) => field.id));
21995
- const plan = props.sectionPlan ?? derivePromotedFieldPlan(props.fields, props.promotedFields, (path) => path === "blockLook" && props.visibilityValues ? props.visibilityValues.lookId : path === props.visibilityValues?.arrangementField ? props.visibilityValues.arrangement : props.backend.getValue(path) ?? props.fields.find((field) => field.id === path)?.defaultValue, props.sectionOptions);
21996
- return /* @__PURE__ */ jsx(FormRendererContent, {
21997
- ...props,
21998
- promotedPlan: plan
21976
+ const values = useMemo(() => props.visibilityValues ? {
21977
+ blockLook: props.visibilityValues.lookId,
21978
+ [props.visibilityValues.arrangementField]: props.visibilityValues.arrangement
21979
+ } : {}, [props.visibilityValues]);
21980
+ const reader = withVisibilityValues(props.backend, values);
21981
+ const plan = props.sectionPlan ?? derivePromotedFieldPlan(props.fields, props.promotedFields, (path) => reader.getValue(path) ?? props.fields.find((field) => field.id === path)?.defaultValue, props.sectionOptions);
21982
+ return /* @__PURE__ */ jsx(VisibilityValuesContext.Provider, {
21983
+ value: values,
21984
+ children: /* @__PURE__ */ jsx(FormRendererContent, {
21985
+ ...props,
21986
+ promotedPlan: plan
21987
+ })
21999
21988
  });
22000
21989
  }
22001
21990
  /** Widget dispatch and recursion share the same backend, overrides and wrapping policy. */
@@ -34393,6 +34382,24 @@ const typographyFontCategories = [
34393
34382
  label: "Mono"
34394
34383
  }
34395
34384
  ];
34385
+ /**
34386
+ * Display and handwriting faces are drawn for a few large words. Set as
34387
+ * paragraphs and navigation they're hard to read, so the body slot doesn't
34388
+ * offer them. A site's own uploaded fonts stay on offer, because someone chose
34389
+ * those on purpose, and so do fonts Google hasn't given a category.
34390
+ */
34391
+ const headingOnlyCategories = /* @__PURE__ */ new Set(["display", "handwriting"]);
34392
+ /** The category filters a slot shows: the body slot leaves out the ones it doesn't offer. */
34393
+ function typographyFontCategoriesForSlot(slot) {
34394
+ return slot === "body" ? typographyFontCategories.filter((option) => !headingOnlyCategories.has(option.value)) : typographyFontCategories;
34395
+ }
34396
+ function fontOptionSuitsSlot(option, slot) {
34397
+ return slot === "heading" || option.source === "site" || option.category === null || !headingOnlyCategories.has(option.category);
34398
+ }
34399
+ /** The Google families a slot can offer, before any search or category. */
34400
+ function googleFontsForSlot(googleFonts, slot) {
34401
+ return googleFonts.filter((font) => !/^material (?:icons|symbols)(?:\s|$)/iu.test(font.family.trim())).filter((font) => fontOptionSuitsSlot(googleFontOption(font), slot));
34402
+ }
34396
34403
  /** The name a category goes by, on its filter and beside a font in the list. */
34397
34404
  function typographyFontCategoryLabel(category) {
34398
34405
  return typographyFontCategories.find((option) => option.value === category)?.label ?? category;
@@ -34403,7 +34410,7 @@ function buildTypographyFontCatalog(input) {
34403
34410
  const siteFamilies = new Set(input.siteFonts.map((font) => familyKey(font.familyName)));
34404
34411
  return {
34405
34412
  site,
34406
- google: input.googleFonts.filter((font) => !/^material (?:icons|symbols)(?:\s|$)/iu.test(font.family.trim())).map(googleFontOption).filter((option) => !siteFamilies.has(familyKey(option.family))).filter((option) => fontOptionMatches(option, normalizedQuery, input.category)).sort(compareGoogleOptions)
34413
+ google: googleFontsForSlot(input.googleFonts, input.slot).map(googleFontOption).filter((option) => !siteFamilies.has(familyKey(option.family))).filter((option) => fontOptionMatches(option, normalizedQuery, input.category)).sort(compareGoogleOptions)
34407
34414
  };
34408
34415
  }
34409
34416
  /**
@@ -35184,6 +35191,7 @@ function buildFontPickerView(input) {
35184
35191
  const options = splitSuggestedFontOptions(buildTypographyFontCatalog({
35185
35192
  googleFonts: input.catalog.google.value,
35186
35193
  siteFonts: input.catalog.site.value,
35194
+ slot: input.slot,
35187
35195
  query: input.query,
35188
35196
  category: input.category
35189
35197
  }), input.suggested?.families ?? []);
@@ -35215,7 +35223,7 @@ function buildFontPickerView(input) {
35215
35223
  searching,
35216
35224
  shown,
35217
35225
  available: shown + held,
35218
- total: input.catalog.google.value.length + input.catalog.site.value.length,
35226
+ total: googleFontsForSlot(input.catalog.google.value, input.slot).length + input.catalog.site.value.length,
35219
35227
  loaded: input.catalog.google.kind === "loaded" && input.catalog.site.kind === "loaded"
35220
35228
  })
35221
35229
  };
@@ -35227,11 +35235,13 @@ function buildFontPickerView(input) {
35227
35235
  */
35228
35236
  function useFontPicker({ slot, value, catalog, suggested }) {
35229
35237
  const [query, setQuery] = useState("");
35230
- const [category, setCategory] = useState("all");
35238
+ const [chosenCategory, setCategory] = useState("all");
35239
+ const category = typographyFontCategoriesForSlot(slot).some((option) => option.value === chosenCategory) ? chosenCategory : "all";
35231
35240
  const [googleLimit, setGoogleLimit] = useState(24);
35232
35241
  const selectedFamily = primaryFontFamily(value);
35233
35242
  const view = useMemo(() => buildFontPickerView({
35234
35243
  catalog,
35244
+ slot,
35235
35245
  query,
35236
35246
  category,
35237
35247
  selectedFamily,
@@ -35243,6 +35253,7 @@ function useFontPicker({ slot, value, catalog, suggested }) {
35243
35253
  googleLimit,
35244
35254
  query,
35245
35255
  selectedFamily,
35256
+ slot,
35246
35257
  suggested
35247
35258
  ]);
35248
35259
  const listRef = useRef(null);
@@ -35307,6 +35318,7 @@ function TypographyFontPickerTakeover(props) {
35307
35318
  }),
35308
35319
  /* @__PURE__ */ jsx(FontCategoryFilter, {
35309
35320
  layout,
35321
+ slot,
35310
35322
  value: picker.category,
35311
35323
  onChange: picker.setCategory,
35312
35324
  disabled
@@ -35401,12 +35413,12 @@ function FontPickerTitleBar({ title, selectedFamily, onBack }) {
35401
35413
  });
35402
35414
  }
35403
35415
  /** The categories as pills that wrap; the chosen one is filled. */
35404
- function FontCategoryFilter({ layout, value, onChange, disabled }) {
35416
+ function FontCategoryFilter({ layout, slot, value, onChange, disabled }) {
35405
35417
  return /* @__PURE__ */ jsx("div", {
35406
35418
  role: "group",
35407
35419
  "aria-label": fontPickerCopy.categoryGroup,
35408
35420
  className: cn("flex flex-wrap gap-[6px]", layout === "inline" && "mt-[10px]"),
35409
- children: typographyFontCategories.map((option) => /* @__PURE__ */ jsx("button", {
35421
+ children: typographyFontCategoriesForSlot(slot).map((option) => /* @__PURE__ */ jsx("button", {
35410
35422
  type: "button",
35411
35423
  "aria-pressed": value === option.value,
35412
35424
  className: cn("rounded-full border border-transparent px-[12px] py-[5px] text-[0.84rem] leading-[1.2] transition disabled:cursor-not-allowed disabled:opacity-50", fontPickerFocus, value === option.value ? cn("font-medium", fontPickerInk, fontPickerField) : cn(fontPickerMuted, "hover:text-foreground")),
@@ -36570,7 +36582,7 @@ function SelectedBlockCustomizeFields({ block, blockId, uiStoreForBlockEditor, t
36570
36582
  designBlock
36571
36583
  });
36572
36584
  const showsLook = customizeControls.lookSource.kind !== "sdk" && designBlock !== null;
36573
- const needs = useBlockNeedsSetup(String(blockId));
36585
+ const notice = useBlockNotice(String(blockId));
36574
36586
  const lookFooter = useSectionBreakFooter(String(blockId), sdkConfig);
36575
36587
  const focusSignal = useUISelector(uiStoreForBlockEditor, (state) => state.focusRequest?.blockId === blockId ? state.focusRequest : null);
36576
36588
  const onFocusHandled = useCallback((requestId) => {
@@ -36603,7 +36615,7 @@ function SelectedBlockCustomizeFields({ block, blockId, uiStoreForBlockEditor, t
36603
36615
  }) : void 0,
36604
36616
  lookOptions: showsLook ? /* @__PURE__ */ jsx(SelectedBlockLookOptions, { look }) : void 0,
36605
36617
  lookFooter,
36606
- whatItShowsLead: whatItShowsLead(needs, !showsLook || !offersModeChoice(designBlock, blockContent) ? null : /* @__PURE__ */ jsx(SelectedBlockModeControl, {
36618
+ whatItShowsLead: whatItShowsLead(notice, !showsLook || !offersModeChoice(designBlock, blockContent) ? null : /* @__PURE__ */ jsx(SelectedBlockModeControl, {
36607
36619
  blockId,
36608
36620
  blockKind: block.kind,
36609
36621
  content: blockContent,
@@ -36626,17 +36638,28 @@ function useBlockCurrentValues(store, blockId, fallback) {
36626
36638
  function readBlockCurrentValues(store, blockId, fallback) {
36627
36639
  return store.getState().drafts.getCurrentValues(blockId) ?? fallback;
36628
36640
  }
36629
- /** What it shows opens with what's missing, if anything, then the block's choice of view. */
36630
- function whatItShowsLead(needs, mode) {
36631
- if (!needs && !mode) return void 0;
36632
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [needs ? /* @__PURE__ */ jsxs("p", {
36633
- role: "note",
36634
- className: "flex gap-2 rounded-lg border border-amber-300 bg-amber-50 px-3 py-2.5 text-[13px] leading-snug text-amber-950",
36635
- children: [/* @__PURE__ */ jsx(TriangleAlert, {
36636
- className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-600",
36637
- "aria-hidden": "true"
36638
- }), needsSetupMessage(needs)]
36639
- }) : null, mode] });
36641
+ /** What it shows opens with why visitors can't see it, if they can't, then the block's choice of view. */
36642
+ function whatItShowsLead(notice, mode) {
36643
+ if (!notice && !mode) return void 0;
36644
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
36645
+ notice?.kind === "NeedsSetup" ? /* @__PURE__ */ jsxs("p", {
36646
+ role: "note",
36647
+ className: "flex gap-2 rounded-lg border border-amber-300 bg-amber-50 px-3 py-2.5 text-[13px] leading-snug text-amber-950",
36648
+ children: [/* @__PURE__ */ jsx(TriangleAlert, {
36649
+ className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-600",
36650
+ "aria-hidden": "true"
36651
+ }), blockNoticeMessage(notice)]
36652
+ }) : null,
36653
+ notice?.kind === "Hidden" ? /* @__PURE__ */ jsxs("p", {
36654
+ role: "note",
36655
+ className: "flex gap-2 rounded-lg border px-3 py-2.5 text-[13px] leading-snug text-muted-foreground",
36656
+ children: [/* @__PURE__ */ jsx(EyeOff, {
36657
+ className: "mt-0.5 h-3.5 w-3.5 shrink-0",
36658
+ "aria-hidden": "true"
36659
+ }), blockNoticeMessage(notice)]
36660
+ }) : null,
36661
+ mode
36662
+ ] });
36640
36663
  }
36641
36664
  /** Only blocks whose Looks come in more than one mode (List, Month, Week) get a mode choice. */
36642
36665
  function offersModeChoice(designBlock, content) {
@@ -37084,7 +37107,7 @@ function useBlockHeader(blockId, sdkConfig) {
37084
37107
  const store = useEditorUiStoreInstance();
37085
37108
  const block = blockId ? blocks.list.find((candidate) => candidate.id === blockId) ?? null : null;
37086
37109
  const content = useUISelector(store, (state) => blockId ? state.drafts.getCurrentValues(blockId) : null);
37087
- const needs = useBlockNeedsSetup(blockId);
37110
+ const notice = useBlockNotice(blockId);
37088
37111
  if (!block) return null;
37089
37112
  const manifest = resolveBlockManifest(block.kind, sdkConfig);
37090
37113
  const { displayTitle, showSubtitle } = resolveBlockTitle(manifest, content ?? block.content, block.kind);
@@ -37092,16 +37115,20 @@ function useBlockHeader(blockId, sdkConfig) {
37092
37115
  return {
37093
37116
  icon: /* @__PURE__ */ jsx(BlockKindIcon, { iconName: manifest?.icon }),
37094
37117
  title: displayTitle,
37095
- subtitle: needs ? /* @__PURE__ */ jsxs(Fragment$1, { children: [kind ? `${kind} · ` : null, /* @__PURE__ */ jsx(NeedsSetupChip, {})] }) : kind
37118
+ subtitle: notice ? /* @__PURE__ */ jsxs(Fragment$1, { children: [kind ? `${kind} · ` : null, /* @__PURE__ */ jsx(BlockNoticeChip, { notice })] }) : kind
37096
37119
  };
37097
37120
  }
37098
- function NeedsSetupChip() {
37121
+ function BlockNoticeChip({ notice }) {
37122
+ if (notice.kind === "Hidden") return /* @__PURE__ */ jsx("span", {
37123
+ className: "text-muted-foreground",
37124
+ children: blockNoticeLabel(notice)
37125
+ });
37099
37126
  return /* @__PURE__ */ jsxs("span", {
37100
37127
  className: "inline-flex items-center gap-1 font-semibold text-amber-700",
37101
37128
  children: [/* @__PURE__ */ jsx("span", {
37102
37129
  className: "h-1.5 w-1.5 rounded-full bg-warning",
37103
37130
  "aria-hidden": "true"
37104
- }), NEEDS_SETUP_LABEL]
37131
+ }), blockNoticeLabel(notice)]
37105
37132
  });
37106
37133
  }
37107
37134
  /** Where a new block will go, e.g. After “This week at Lotus”. */
@@ -37450,7 +37477,10 @@ function SidebarTaskView({ props, view, requestId, uiStoreForBlockEditor, linked
37450
37477
  props,
37451
37478
  controller
37452
37479
  });
37453
- case "chrome": return view.target === "header" ? /* @__PURE__ */ jsx(SiteChromeSurfaceControls, { surface: "header" }) : /* @__PURE__ */ jsx(PreviewFooterEditorPanel, {
37480
+ case "chrome": return view.target === "header" ? /* @__PURE__ */ jsx(SiteChromeSurfaceControls, {
37481
+ surface: "header",
37482
+ logoSettingsHref: dashboardLogoSettingsHref(props.dashboardBaseUrl, props.siteId)
37483
+ }) : /* @__PURE__ */ jsx(PreviewFooterEditorPanel, {
37454
37484
  ...props,
37455
37485
  dashboardBaseUrl: props.dashboardBaseUrl ?? null,
37456
37486
  theme: props.theme ?? null,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $t as useEditorUiStore, G as useEntryEditorController, Gt as PREVIEW_CHROME_Z_INDEX, N_ as authoredValuesEqual, Q as useSessionJournalHistory, Sm as DialogTitle, Th as cn, Tn as editorAuthoredBlockDocument, Tv as unsafeAsEditorBlockId, V as usePreviewAuth, Vu as pageTemplateFromEntry, Wp as editorAdmissionIsOpen, X as useServerRefresh, Z as useSessionJournal, _h as Button, bh as cva, bm as DialogFooter, br as publishReadinessWarning, en as useEditorUiStoreInstance, gm as Dialog, hv as displayedValues, im as unwrapResponse, n as usePreviewAssistantSlot, ot as EditorWriteSurface, pn as canDiscardDraft, vm as DialogContent, xm as DialogHeader, xr as readinessFactsFromPayload, ym as DialogDescription, yr as PUBLISH_READINESS_COPY, zp as resolveBlockTitle } from "./previewAssistantSlot-3FZrzbK8.mjs";
3
- import { A as LoaderCircle, Q as EllipsisVertical, S as Palette, X as Eye, _ as Redo2, ft as ChevronDown, o as Undo2, s as TriangleAlert, y as Pencil } from "./lucide-react-X0DjcFij.mjs";
4
- import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-OIMkhbkP.mjs";
5
- import { B as DropdownMenuTrigger, F as DropdownMenuItem, I as DropdownMenuLabel, L as DropdownMenuRadioGroup, M as Badge, N as DropdownMenu, O as Tooltip, P as DropdownMenuContent, R as DropdownMenuRadioItem, a as needsSetupAsk, j as TooltipTrigger, k as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuSeparator } from "./useOpenBlockForSetup-BNG9P9sM.mjs";
6
- import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-C4gyNQXE.mjs";
2
+ import { $_ as authoredValuesEqual, Bm as DialogHeader, Cm as unwrapResponse, Fm as Dialog, G as useEntryEditorController, Gu as pageTemplateFromEntry, Ht as PREVIEW_CHROME_Z_INDEX, Ih as Button, Lm as DialogContent, Pv as displayedValues, Q as useSessionJournalHistory, Rm as DialogDescription, Sn as editorAuthoredBlockDocument, V as usePreviewAuth, Vm as DialogTitle, Wh as cn, Wv as unsafeAsEditorBlockId, X as useServerRefresh, Xt as useEditorUiStore, Z as useSessionJournal, Zt as useEditorUiStoreInstance, br as readinessFactsFromPayload, im as resolveBlockTitle, lm as editorAdmissionIsOpen, n as usePreviewAssistantSlot, ot as EditorWriteSurface, un as canDiscardDraft, vr as PUBLISH_READINESS_COPY, yr as publishReadinessWarning, zh as cva, zm as DialogFooter } from "./previewAssistantSlot-Caofnr1Z.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-BCNn8dEQ.mjs";
4
+ import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-CakNU3lp.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-CCEMkosU.mjs";
6
+ import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-CbAI_jSH.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";
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { createContext, useContext } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region ../preview-next/src/client/layout/PreviewLayoutContext.tsx
5
+ const PreviewLayoutContext = createContext(null);
6
+ function PreviewLayoutProvider({ headerNode, bannerNode = null, footerNode, siteChromeRenderModel = null, children }) {
7
+ return /* @__PURE__ */ jsx(PreviewLayoutContext.Provider, {
8
+ value: {
9
+ headerNode,
10
+ bannerNode,
11
+ footerNode,
12
+ siteChromeRenderModel
13
+ },
14
+ children
15
+ });
16
+ }
17
+ function usePreviewLayout() {
18
+ const context = useContext(PreviewLayoutContext);
19
+ if (!context) throw new Error("usePreviewLayout must be used within PreviewLayoutProvider");
20
+ return context;
21
+ }
22
+ function useOptionalPreviewLayout() {
23
+ return useContext(PreviewLayoutContext);
24
+ }
25
+ //#endregion
26
+ export { useOptionalPreviewLayout as n, usePreviewLayout as r, PreviewLayoutProvider as t };
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ import { useRef } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
5
+ //#region ../preview-next/src/client/preview/PreviewQueryProvider.tsx
6
+ function createPreviewQueryClient() {
7
+ return new QueryClient({ defaultOptions: { queries: {
8
+ staleTime: 3e4,
9
+ refetchOnWindowFocus: false
10
+ } } });
11
+ }
12
+ function PreviewQueryProvider({ children }) {
13
+ const clientRef = useRef(null);
14
+ if (!clientRef.current) clientRef.current = createPreviewQueryClient();
15
+ return /* @__PURE__ */ jsx(QueryClientProvider, {
16
+ client: clientRef.current,
17
+ children
18
+ });
19
+ }
20
+ //#endregion
21
+ export { createPreviewQueryClient as n, PreviewQueryProvider as t };