@riverbankcms/sdk 0.171.1 → 0.173.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 (220) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
  15. package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-CGa6QMgc.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 +6 -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-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
  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-D4DhWo9j.mjs} +37 -38
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
  81. package/dist/client/bookability-SargNwlO.mjs +17 -0
  82. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
  83. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  86. package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
  87. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  88. package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
  89. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  90. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
  91. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  93. package/dist/client/client.mjs +183 -4
  94. package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
  95. package/dist/client/course-CmOuoZHN.mjs +237 -0
  96. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  98. package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
  99. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
  100. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  101. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
  102. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  103. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  104. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  105. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  106. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  107. package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
  108. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
  109. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
  110. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  111. package/dist/client/gifting/client.mjs +3 -3
  112. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  113. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
  115. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  116. package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
  117. package/dist/client/portal/client.mjs +231 -117
  118. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  119. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  120. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  121. package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
  122. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  123. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
  124. package/dist/client/rendering/client.mjs +27 -27
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +38 -63
  127. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  129. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  130. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  131. package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
  132. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
  133. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  134. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  135. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
  136. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
  137. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  140. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
  141. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  142. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  143. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  144. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  145. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
  146. package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
  147. package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
  148. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  149. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  151. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
  152. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
  153. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
  154. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  155. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  156. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
  158. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
  159. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  160. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  161. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
  162. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  163. package/dist/preview-next/client/runtime.mjs +5 -4
  164. package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
  165. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
  167. package/dist/preview-next/container-responsive.css +215 -4
  168. package/dist/preview-next/keepAlive.mjs +1 -1
  169. package/dist/preview-next/middleware.mjs +1 -1
  170. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
  171. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  172. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  173. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  174. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
  175. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  176. package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
  177. package/dist/server/config-template-validation.mjs +3 -0
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +3 -3
  180. package/dist/server/data/resolveBlockData.mjs +1 -1
  181. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  182. package/dist/server/index.mjs +4 -4
  183. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
  184. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
  185. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  186. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  187. package/dist/server/navigation.mjs +1 -1
  188. package/dist/server/next.mjs +6 -6
  189. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  190. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +1 -1
  192. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
  193. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
  194. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
  195. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
  196. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  197. package/dist/server/prebuild.mjs +1 -1
  198. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  199. package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
  200. package/dist/server/rendering/components/pageShared.mjs +1 -1
  201. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  202. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  203. package/dist/server/rendering/server.mjs +3 -3
  204. package/dist/server/rendering.mjs +8 -8
  205. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
  206. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  207. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  208. package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
  209. package/dist/server/server.mjs +3 -3
  210. package/dist/server/theme-bridge.mjs +2 -2
  211. package/dist/server/theme.mjs +2 -2
  212. package/dist/server/{validation-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
  213. package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
  214. package/dist/styles/index.css +1434 -15
  215. package/package.json +1 -1
  216. package/dist/client/cta-CP9l112u.mjs +0 -121
  217. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  218. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  219. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
  220. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -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 { $f as admitLayoutGridForPlan, $m as planRepeaterGridStartNewRow, $n as getAtPath, $p as defaultPolicyPageFlowPresetId, $t as useSidebarView, $u as suggestSemanticIconForFeatureCard, $v as asAppearancePresetId, $y as unsafeAsEditorBlockId, A as usePreviewRenderReadiness, Ag as useId$1, Ah as unwrapResponse, Ai as chooseScheduleScope, Am as sectionTransitionVariantForBoundaryOptionId, An as getGroupChildFields, At as listPageSurfaceContentSlots, Ay as parseNewsletterListId, Bb as unsafeAsSiteId, Bg as composeEventHandlers, Bh as CalloutDescription, Br as buildNewsletterFormInteractiveIslandProps, Bv as runtimeMediaSchema, Ca as resolveMediaSlotContract, Cg as Portal$1, Cn as initialBlockDraftValues, Ct as partitionFieldsByIntent, Dg as Root2$1, Di as EVENT_SELECTION_SCOPE_OPTIONS, Dm as defaultSectionTransitionVariantForFamily, Dn as getFieldDefault, Dt as deleteSlotBlock, Dy as parseBrevoListId, Ef as isBlockButtonRole, Eg as Content, En as manifestFieldSectionOptions, Et as deleteBlock, Fb as parseMediaAssetId, Fg as useDirection, Fh as journalTrustAt, Ft as normalizeApiError, Fv as parseAspectRatioValue, Fy as publicProfileWeekdays, Gh as DialogDescription$1, Gp as getHeaderStyle, Gt as routeLifecycleContext, Gv as PUBLIC_FILE_FIELD_KINDS, Gy as pristineValueSync, Hh as Dialog, Hn as rankBackgroundImagePoolItems, I as selectedLookTile, Ig as createCollection, Im as appearancePresets, In as enabledBackgroundModes, Ip as sectionPhotoPresence, Iv as resolveMediaTransformForAspect, Iy as publishedContactDetails, J as runHeldLifecycle, Jh as DialogTitle$1, Jm as projectRepeaterGridLayout, Jt as resolveContentTitle, Ju as createFeatureCardIconKey, Jy as createEditorInsertBlockCommand, Kg as cva, Kh as DialogFooter, Km as buildRepeaterGridDropTargets, Kp as concretePaletteFromTheme, Kt as deriveRouteMetadataPresentation, Ku as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Kv as mediaIdentifierSchema, Ky as syncStateOf, Lg as useControllableState, Ln as imagePoolForOverride, Lt as getDashboardUrl, Lv as getDirectImageUrlForMediaAsset, Mb as assertNever$1, Mg as useFocusGuards, Mh as sidebarReturnView, Mi as toggleEventType, Mn as readSliderFieldUiConfig, Mp as resolveVisiblePromotedFieldPathsForEditorBlock, Mr as getBlockDefinition, Mt as reorderSlotBlocks, Mv as isRotationDimensionSwap, My as knownSocialPlatformLabels, N as lookTilePosition, Ng as DismissableLayer, Nh as journalLabels, Ni as writeEventSelectionChips, Nr as listBlockDescriptors, Nt as withSlotCompositionHash, Ny as knownSocialPlatforms, O as usePreviewJoinOutcome, Og as createPopperScope, Oi as EVENT_SELECTION_TYPE_OPTIONS, Om as sectionTransitionFamilies, On as getRepeaterItemDefault, Op as parseFieldDefinition, Ot as isSurfaceSlotBlockTarget, Oy as parseMailchimpAudienceId, P as lookTilesFor, Ph as journalTargetKey, Pn as canCycleBackgroundOverrideValue, Pt as blocksKeys, Py as parsePublicProfile, Qg as useShallow, Qm as normalizeRepeaterGridSpan, Qy as editorBlockCollectionOwnersEqual, S as setPageDesignBlockBackground, Sg as Presence, So as planOfferingPreviewCardSelection, St as isNonEmptyValue, Sy as parseMailingListPlacementTargeting, Tf as BLOCK_BUTTON_ROLE_OPTIONS, Tg as Arrow$1, Tn as createManifestValidation, Tt as createSlotBlock, Ty as mailingListTargetingChoiceIds, Ug as Button$1, Uh as DialogClose, Um as isInternalResolvedLinkValue, Un as resolveBackgroundCapability, Uy as displayedValues, V as usePreviewAuth, Vb as expectParsedBrandedId, Vg as Primitive, Vh as CalloutTitle, Vn as planBackgroundTransition, Vt as ApiRequestError, W as useEntryController, Wg as buttonVariants, Wh as DialogContent, Wm as planLayoutGridColumnEdit, Wp as getHeaderLayout, Wy as knownRevision, X as useServerRefresh, Xg as useComposedRefs, Xm as flowRepeaterGridItems, Xt as useEditorUiStore, Xu as parseFeatureCardGeneratedIconSizePx, Xy as createEditorReorderBlocksCommand, Yh as DialogTrigger, Ym as findFirstAvailableRepeaterGridPlacement, Yt as planLeaseNotice, Yu as getFeatureCardIconCompletion, Yv as isBodyFontFamily, Yy as createEditorRemoveBlockCommand, Z as useSessionJournal, Zg as cn, Zm as isRepeaterGridLayoutInvalid, Zt as useEditorUiStoreInstance, Zu as resolveFeatureCardGeneratedIconSizePx, Zy as editorBlockCollectionOwnerKey, __ as buttonStyleSelectionKey, _a as resolveImageSourceSetWithContext, _b as resolveBookingTimeZoneId, _h as editorAdmissionSession, _n as useStore, _o as isOfferingsPreviewSourceKey, _t as collectVisibleWhenWatchPaths, am as palettesForSiteStyle, bb as toUtcIsoDateTimeString, bn as deriveEditorValuePublicationState, bt as getWidgetKey, by as resolveMailingListDefaultDestination, c_ as resolveRepeaterGridRowFieldId, cg as usePortalContainer, cn as journalNoticeMessage, cp as parseBlockIconValue, ct as LeaseNoticeButtons, d as cycleSiteChromeSelectionId, d_ as buttonStyleHoverPreferenceValue, dm as getGradientPreset, dp as parseGeneratedIconSetId, dt as JournalWriteRefused, e_ as isEdited, eb as unsafeAsEditorBlockValues, ed as toFeatureCardIconSuggestionInputs, eg as DialogDescription, eh as resolveRepeaterGridAcceptedSpans, en as recoveryConflictCopy, ep as deriveFieldValidationPlan, er as siblingPath$2, f_ as buttonStyleSelectionParameterValue, fm as buildFontPreviewUrl, fp as parseSiteIconStyleGuideVersionId, g_ as updateButtonStyleSelectionChoice, gb as resolveBookingBusinessTimeZone, gm as findCuratedPalette, go as inferLegacyOfferingsPreviewGroupOrder, gt as derivePromotedFieldPlan, h_ as updateButtonStyleHoverPreference, ht as publishContentEntry, hy as slugify$1, i as usePreviewSidebarNavigation, im as offeredSiteStyles, ip as sanitizeHref, jd as buildFormInteractiveIslandProps, jg as FocusScope, ji as readEventSelectionChips, jn as readNumberFieldUiConfig, jt as reorderBlocks, kg as useSize, kh as extractApiEnvelopeErrorDetails, ki as chooseAllEvents, km as sectionTransitionFamilyForBoundaryOptionId, kn as normalizeFieldForCanonicalValidation, kt as listEntryPageContentSlots, ky as parseMailchimpInterestId, l_ as resolveRepeaterGridSpanFieldId, lg as ReactRemoveScroll, lh as resolveBlockTitle, lm as gradientToCss, ln as lifecycleOutcomeMessage, m_ as resolveButtonStyleSelection, mb as parseBookingLocalDate, mh as editorAdmissionIsOpen, mp as coerceInlineTextWithFallback, mt as missingReceiptError, my as generateUuidV4, n as usePreviewAssistantSlot, n_ as readLinkedEntryLease, nb as formatDateTime, nh as resolveRepeaterGridColumnsForBreakpoint, nm as getCuratedSiteStyle, nn as unfinishedBlockCopy, np as isRichTextDoc, o as usePreviewPageDesignEditorState, o_ as isAcceptedRepeaterGridSpan, op as getBlockIconSemanticId, p_ as findButtonStyleRecipe, pa as computeMediaTransformStyle, pt as sendPageCommand, q as DONE, qg as createSlot, qh as DialogHeader, qm as planRepeaterGridSpanChange, qp as concretePaletteToTheme, qt as resolvePageRouteSlug, qv as asRecord, qy as valueStatus, r_ as canEditorWrite, rg as DialogTitle, s as usePreviewPageDesignRenderState, s_ as resolveRepeaterGridColumnFieldId, sn as selectJournalWriteState, sp as getGeneratedBlockIconStyleState, st as LeaseDiscardedNoticeView, sy as authoredValuesEqual, t_ as canWriteLinkedEntry, tb as formatDate, th as resolveRepeaterGridBreakpointForWidth, tr as withValueAtPath, u as useSiteChromeCustomizeOptional, u_ as siteOptionSources, um as GRADIENT_PRESETS, up as parseGeneratedIconAssetId, v as buildPageDesignEditorReadModelForBlocks, va as resolveImageUrlWithContext, vg as hideOthers, vn as toEditorBlockItem, vo as normalizeOfferingsPreviewGroupOrder, vt as evaluateVisibility, wa as buildResolveImageUrlContext, wg as Anchor, wn as createManifestFormAdapter, wo as resolveOfferingsPreviewGroupOrderEntries, wp as plainTextToInlineText, wt as createBlock, wy as DEFAULT_MAILING_LIST_TARGETING, x as pageDesignLookTiles, xt as hasVisibilityConditions, xy as mailingListProviderName, yb as parseUtcIsoDateTimeString, yh as OPERATION_ID_HEADER, ym as findFooterLook, yn as withoutServerVersions, yp as inlineTextToPlainText, yt as getFieldIntent, yv as paletteValueKey, yy as assessMailingListTargeting, zb as parseSiteId, zg as createContextScope, zh as Callout, zn as parseBackgroundOverrideFromContent, zv as mediaSchema } from "./previewAssistantSlot-La6MerV_.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 { $ as footerCreditLine, $t as Textarea, An as removeFooterEngagementSection, B as useSiteEditorAdmission, Cn as Trigger$1, Ct as ThemeScopeCore, D as SiteFontFaceStyles, Dn as normalizeLegacyFooterContentToV1, En as deriveFooterEditorOverview, Fn as footerArrangementPolicy, G as SiteOptionWidgetProvider, Gt as themeRuntimeScopeProps, H as buildFooterRuntimeViewModel, In as planFooterArrangement, J as getFooterEngagementAuthoringOptions, Jt as DEFAULT_THEME_RESPONSIVE_MODE, K as useSiteOptionWidgetContext, Kt as buildThemeRuntime, L as siteColourCss, Mn as setFooterSectionSelected, Nn as upsertFooterEngagementSection, On as parseFooterEngagementSection, Pn as validateFooterComposition, Q as updatePublicProfile, R as locationWidgetOverrides, S as isHeaderMenuSurfaceState, Sn as Root$2, St as revealEditorElement, Tn as classifyKnownMimeType, U as resolveFooterLayoutHints, Ut as buildThemeDataAttrs, X as updateFooterComposition, Xt as CHOSEN_OPTION_CLASS, Y as getPublicProfile, Z as updateFooterCredit, Zt as ChoiceTileGroup, _n as Content$2, _t as unmapValueFromSelect, an as usePrevious$1, b as resolvePreviewSidebarChromeModel, bn as Trigger$2, bt as useField, cn as FieldTrigger, ct as useImageResolveContextOptional, d as CustomizeBackgroundControlRows, dn as FIELD_SURFACE_CLASS, dt as BlockContextProvider, en as Select$1, ft as useBlockContext, g as resolvePreviewDashboardSetupHandoff, gn as TabsTrigger, gt as mapOptionValueForSelect, h as buildPreviewDashboardSetupUrl, hn as TabsList, ht as mapCurrentValueForSelect, in as SelectValue, jn as resolveFooterSections, k as useRememberSiteFonts, ln as Input, lt as FormNodeClient, mn as TabsContent, mt as hasEmptyOption, n as SiteChromeSurfaceControls, nn as SelectItem, on as clamp, ot as NewsletterFormClient, p as canInspectSiteStyle, pn as Tabs, pt as SelectField, q as getFooterComposition, r as dashboardLogoSettingsHref, rn as SelectTrigger, sn as SearchInput, tn as SelectContent, tt as useMediaEditor, un as FIELD_FOCUS_WITHIN_CLASS, ut as BlockApiProvider, v as resolvePreviewEditorGuidanceModel, vn as List, vt as FieldFrame, x as HeaderMenuControls, xn as Content$1, xt as useLinkedInlineTextField, yn as Root2$2, yt as FieldLabelText } from "./SiteChromeCustomizeButton-D1MGyN_Z.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-DG2rXUmo.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-CPAHgGqI.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-BDkuSZxQ.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";
@@ -8037,106 +8037,6 @@ const automaticPageDocumentIntent = {
8037
8037
  boundaryPins: []
8038
8038
  };
8039
8039
  //#endregion
8040
- //#region ../theme-core/src/fonts/types.ts
8041
- /**
8042
- * The Supabase storage bucket name for site fonts
8043
- */
8044
- const SITE_FONTS_BUCKET = "site-fonts";
8045
- /**
8046
- * Construct the storage base URL for site fonts
8047
- *
8048
- * @param supabaseUrl - The Supabase project URL (e.g., https://xxx.supabase.co)
8049
- * @returns The full storage URL for the site-fonts bucket
8050
- *
8051
- * @example
8052
- * ```ts
8053
- * const storageUrl = getSiteFontsStorageUrl('https://xxx.supabase.co')
8054
- * // Returns: 'https://xxx.supabase.co/storage/v1/object/public/site-fonts'
8055
- * ```
8056
- */
8057
- function getSiteFontsStorageUrl(supabaseUrl) {
8058
- return `${supabaseUrl}/storage/v1/object/public/${SITE_FONTS_BUCKET}`;
8059
- }
8060
- /**
8061
- * Build a lightweight Google Fonts stylesheet URL for a family-name preview.
8062
- * The text subset keeps catalog rows cheap while still rendering the name in
8063
- * the typeface being chosen. Pass `text` when the preview draws something
8064
- * other than the name (a sample heading, "Aa"); its letters are deduplicated.
8065
- */
8066
- function buildFontPreviewUrl(family, text = family) {
8067
- return `https://fonts.googleapis.com/css2?family=${encodeURIComponent(family).replace(/%20/gu, "+")}&display=swap&text=${encodeURIComponent(text === family ? family : [...new Set(text)].join(""))}`;
8068
- }
8069
- /**
8070
- * Escape a string for use in CSS font-family declaration
8071
- * Escapes quotes, backslashes, and newlines
8072
- */
8073
- function escapeCssFontFamily(name) {
8074
- return name.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/"/g, "\\\"").replace(/\n/g, "\\n").replace(/\r/g, "\\r");
8075
- }
8076
- /**
8077
- * Encode storage path segments for use in URLs
8078
- * Encodes each path segment individually to handle special characters
8079
- */
8080
- function encodeStoragePath(storagePath) {
8081
- return storagePath.split("/").map((segment) => encodeURIComponent(segment)).join("/");
8082
- }
8083
- /**
8084
- * Generate @font-face CSS for a single font file
8085
- */
8086
- function generateFontFaceForFile(familyName, file, storageBaseUrl) {
8087
- return `@font-face {
8088
- font-family: '${escapeCssFontFamily(familyName)}';
8089
- src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
8090
- font-weight: ${file.weight};
8091
- font-style: ${file.style};
8092
- font-display: swap;
8093
- }`;
8094
- }
8095
- /**
8096
- * Generate @font-face CSS for a variable font
8097
- */
8098
- function generateFontFaceForVariableFont(familyName, file, weightMin, weightMax, storageBaseUrl) {
8099
- return `@font-face {
8100
- font-family: '${escapeCssFontFamily(familyName)}';
8101
- src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
8102
- font-weight: ${weightMin} ${weightMax};
8103
- font-style: ${file.style};
8104
- font-display: swap;
8105
- }`;
8106
- }
8107
- /**
8108
- * Generate all @font-face rules for custom fonts
8109
- *
8110
- * @param fonts - Array of custom fonts
8111
- * @param storageBaseUrl - Base URL for storage (e.g., https://xxx.supabase.co/storage/v1/object/public/site-fonts)
8112
- * @returns CSS string with all @font-face rules
8113
- */
8114
- function generateFontFaceCss(fonts, storageBaseUrl) {
8115
- const rules = [];
8116
- const seenFamilies = /* @__PURE__ */ new Set();
8117
- for (const font of fonts) {
8118
- if (seenFamilies.has(font.familyName)) continue;
8119
- seenFamilies.add(font.familyName);
8120
- if (font.isVariable && font.variableWeightMin && font.variableWeightMax) {
8121
- const normalFile = font.files.find((f) => f.style === "normal");
8122
- const italicFile = font.files.find((f) => f.style === "italic");
8123
- if (normalFile) rules.push(generateFontFaceForVariableFont(font.familyName, normalFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
8124
- if (italicFile) rules.push(generateFontFaceForVariableFont(font.familyName, italicFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
8125
- } else for (const file of font.files) rules.push(generateFontFaceForFile(font.familyName, file, storageBaseUrl));
8126
- }
8127
- return rules.join("\n\n");
8128
- }
8129
- /** CSS2 axis tuples are sorted normal-first, then real italic weights. */
8130
- function buildGoogleFontFamilyQuery(family, weights, italics = [], widthRange) {
8131
- const name = encodeURIComponent(family.replace(/\s+/g, "+")).replace(/%2B/g, "+");
8132
- const normal = [...new Set(weights)].sort((a, b) => a - b);
8133
- const width = widthRange ? `${widthRange.min}..${widthRange.max},` : "";
8134
- const axes = widthRange ? "wdth,wght" : "wght";
8135
- if (italics.length === 0) return `family=${name}:${axes}@${normal.map((weight) => `${width}${weight}`).join(";")}`;
8136
- const italic = [...new Set(italics)].sort((a, b) => a - b);
8137
- return `family=${name}:ital,${axes}@${[...normal.map((weight) => `0,${width}${weight}`), ...italic.map((weight) => `1,${width}${weight}`)].join(";")}`;
8138
- }
8139
- //#endregion
8140
8040
  //#region ../blocks/src/subroutes/formatDate.ts
8141
8041
  /** Occurrence instants name the occurrence-local day; civil keys preserve their day. */
8142
8042
  function formatOccurrenceDate(iso, context) {
@@ -8229,215 +8129,6 @@ function ThemeScope({ theme, children, themeId = "theme-default", responsiveMode
8229
8129
  });
8230
8130
  }
8231
8131
  //#endregion
8232
- //#region ../theme-core/src/ThemeFontLoader.tsx
8233
- /**
8234
- * Map typography weight names to numeric CSS font-weight values.
8235
- * These values correspond to the weight enum in schema.ts (typographyStyleSchema).
8236
- * Keep in sync if new weight options are added to the schema.
8237
- */
8238
- const WEIGHT_MAP = {
8239
- light: 300,
8240
- regular: 400,
8241
- medium: 500,
8242
- semibold: 600,
8243
- bold: 700,
8244
- black: 800
8245
- };
8246
- function resolveNamedWeight(weight) {
8247
- if (typeof weight === "number" && Number.isFinite(weight)) return weight;
8248
- if (typeof weight !== "string") return null;
8249
- return WEIGHT_MAP[weight] ?? null;
8250
- }
8251
- /**
8252
- * Extract the primary font family from a CSS font-family stack
8253
- * e.g., "Inter, system-ui, sans-serif" -> "Inter"
8254
- */
8255
- function extractPrimaryFont(family) {
8256
- return (family.split(",")[0] ?? "").trim().replace(/^["']|["']$/g, "");
8257
- }
8258
- function collectFontFamilies(typography) {
8259
- return new Set([
8260
- typography.body.family,
8261
- typography.headings.default.family,
8262
- ...typography.eyebrow?.width != null ? [typography.eyebrow.family] : [],
8263
- ...typography.smallHeading ? [typography.smallHeading.family] : []
8264
- ].map(extractPrimaryFont).filter(Boolean));
8265
- }
8266
- /**
8267
- * Collect font weights per font family from typography config
8268
- * Returns a Map of font family -> Set of numeric weights
8269
- */
8270
- function collectFontWeights(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights) {
8271
- const bodyFamily = extractPrimaryFont(typography.body.family);
8272
- const headingFamily = extractPrimaryFont(typography.headings.default.family);
8273
- const headingStyles = [typography.headings.default, ...[
8274
- "h1",
8275
- "h2",
8276
- "h3",
8277
- "h4",
8278
- "h5",
8279
- "h6"
8280
- ].map((level) => typography.headings[level])];
8281
- const entries = [
8282
- ...typography.smallHeading ? [{
8283
- family: extractPrimaryFont(typography.smallHeading.family),
8284
- weights: [resolveNamedWeight(typography.smallHeading.weight)]
8285
- }] : [],
8286
- {
8287
- family: bodyFamily,
8288
- weights: [
8289
- resolveNamedWeight(typography.body.weight),
8290
- buttonFontWeight,
8291
- ...extraBodyFontWeights ?? []
8292
- ]
8293
- },
8294
- {
8295
- family: headingFamily,
8296
- weights: [...headingStyles.map((style) => resolveNamedWeight(style?.weight)), ...extraHeadingFontWeights ?? []]
8297
- },
8298
- ...typography.eyebrow?.width != null ? [{
8299
- family: extractPrimaryFont(typography.eyebrow.family),
8300
- weights: [resolveNamedWeight(typography.eyebrow.weight) ?? 600]
8301
- }] : []
8302
- ];
8303
- return new Map([...collectFontFamilies(typography)].map((family) => [family, /* @__PURE__ */ new Set([400, ...entries.filter((entry) => entry.family === family).flatMap((entry) => entry.weights).filter((weight) => typeof weight === "number" && Number.isFinite(weight))])]));
8304
- }
8305
- /**
8306
- * Build Google Fonts CSS2 API URL for the given typography config.
8307
- * Includes all font weights used by the theme so they load correctly.
8308
- */
8309
- function buildGoogleFontsUrl(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicWeights = {}, customFonts = []) {
8310
- const families = collectFontFamilies(typography);
8311
- if (families.size === 0) return null;
8312
- const fontWeights = collectFontWeights(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights);
8313
- const familyParams = Array.from(families).filter((family) => !findCustomFont(family, customFonts)).map((family) => {
8314
- const weights = fontWeights.get(family);
8315
- return buildGoogleFontFamilyQuery(family, weights ? Array.from(weights).sort((a, b) => a - b) : [400], italicWeights[family] ?? [], usedFontWidthRange(typography, family));
8316
- }).join("&");
8317
- return familyParams ? `https://fonts.googleapis.com/css2?${familyParams}&display=swap` : null;
8318
- }
8319
- /**
8320
- * Find a custom font by family name (case-insensitive match)
8321
- */
8322
- function findCustomFont(familyName, customFonts) {
8323
- const normalized = familyName.toLowerCase();
8324
- return customFonts.find((f) => f.familyName.toLowerCase() === normalized);
8325
- }
8326
- function usedFontWidthRange(typography, family) {
8327
- const bodyUsesWidth = extractPrimaryFont(typography.body.family) === family && typography.body.width != null;
8328
- const headingUsesWidth = extractPrimaryFont(typography.headings.default.family) === family && [typography.headings.default, ...[
8329
- "h1",
8330
- "h2",
8331
- "h3",
8332
- "h4",
8333
- "h5",
8334
- "h6"
8335
- ].map((level) => typography.headings[level])].some((style) => style?.width != null);
8336
- const eyebrowUsesWidth = typography.eyebrow?.width != null && extractPrimaryFont(typography.eyebrow.family) === family;
8337
- return bodyUsesWidth || headingUsesWidth || eyebrowUsesWidth ? getFontWidthRange(family) : void 0;
8338
- }
8339
- function ThemeFontLoader({ typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicBodyFontWeights, italicHeadingFontWeights, customFonts, storageBaseUrl }) {
8340
- const italicWeights = React$1.useMemo(() => {
8341
- const body = extractPrimaryFont(typography.body.family);
8342
- const heading = extractPrimaryFont(typography.headings.default.family);
8343
- return {
8344
- [body]: italicBodyFontWeights ?? [],
8345
- [heading]: [...body === heading ? italicBodyFontWeights ?? [] : [], ...italicHeadingFontWeights ?? []]
8346
- };
8347
- }, [
8348
- typography,
8349
- italicBodyFontWeights,
8350
- italicHeadingFontWeights
8351
- ]);
8352
- const googleFontsUrl = React$1.useMemo(() => buildGoogleFontsUrl(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicWeights, customFonts), [
8353
- typography,
8354
- buttonFontWeight,
8355
- extraBodyFontWeights,
8356
- extraHeadingFontWeights,
8357
- customFonts,
8358
- italicWeights
8359
- ]);
8360
- const customFontCss = React$1.useMemo(() => {
8361
- if (!customFonts || customFonts.length === 0 || !storageBaseUrl) return null;
8362
- const families = collectFontFamilies(typography);
8363
- const usedCustomFonts = [];
8364
- for (const familyName of families) {
8365
- const customFont = findCustomFont(familyName, customFonts);
8366
- if (customFont) usedCustomFonts.push(customFont);
8367
- }
8368
- if (usedCustomFonts.length === 0) return null;
8369
- return generateFontFaceCss(usedCustomFonts, storageBaseUrl);
8370
- }, [
8371
- typography,
8372
- customFonts,
8373
- storageBaseUrl
8374
- ]);
8375
- const hasGoogleFonts = !!googleFontsUrl;
8376
- const hasCustomFonts = !!customFontCss;
8377
- if (!hasGoogleFonts && !hasCustomFonts) return null;
8378
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [hasCustomFonts && /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: escapeStyleContent(customFontCss) } }), hasGoogleFonts && /* @__PURE__ */ jsxs(Fragment$1, { children: [
8379
- /* @__PURE__ */ jsx("link", {
8380
- rel: "preconnect",
8381
- href: "https://fonts.googleapis.com"
8382
- }),
8383
- /* @__PURE__ */ jsx("link", {
8384
- rel: "preconnect",
8385
- href: "https://fonts.gstatic.com",
8386
- crossOrigin: ""
8387
- }),
8388
- /* @__PURE__ */ jsx("link", {
8389
- rel: "stylesheet",
8390
- href: googleFontsUrl
8391
- })
8392
- ] })] });
8393
- }
8394
- function getThemeFontLoadingOptions(theme) {
8395
- const buttonFontWeight = typeof theme.buttons?.global?.fontWeight === "number" ? theme.buttons.global.fontWeight : void 0;
8396
- const fontLoading = themeFontLoading(theme);
8397
- const extraBody = new Set(fontLoading.extraBodyFontWeights);
8398
- const extraHeading = new Set(fontLoading.extraHeadingFontWeights);
8399
- const labelWeight = resolveNamedWeight(theme.inputs?.label?.fontWeight);
8400
- if (labelWeight && labelWeight !== 400) extraBody.add(labelWeight);
8401
- const addNavLinkWeight = (options) => {
8402
- const weight = resolveNamedWeight(options?.fontWeight);
8403
- if (!weight || weight === 400) return;
8404
- if (options?.typography === "heading") extraHeading.add(weight);
8405
- else extraBody.add(weight);
8406
- };
8407
- const navFontRole = theme.header?.navFontRole;
8408
- if (navFontRole) addNavLinkWeight({
8409
- typography: navFontRole,
8410
- fontWeight: theme.header.navLinkStyle?.fontWeight ?? theme.header.navWeight
8411
- });
8412
- else addNavLinkWeight(theme.header?.navLinkStyle);
8413
- addNavLinkWeight(theme.footer?.navLinkStyle);
8414
- return {
8415
- buttonFontWeight,
8416
- italicBodyFontWeights: fontLoading.italicBodyFontWeights,
8417
- italicHeadingFontWeights: fontLoading.italicHeadingFontWeights,
8418
- extraBodyFontWeights: extraBody.size > 0 ? Array.from(extraBody).sort((a, b) => a - b) : void 0,
8419
- extraHeadingFontWeights: extraHeading.size > 0 ? Array.from(extraHeading).sort((a, b) => a - b) : void 0
8420
- };
8421
- }
8422
- function ThemeFontLoaderFromTheme({ theme, customFonts, storageBaseUrl }) {
8423
- const typography = theme.typography;
8424
- if (!typography) return null;
8425
- const { buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicBodyFontWeights, italicHeadingFontWeights } = getThemeFontLoadingOptions(theme);
8426
- return /* @__PURE__ */ jsx(ThemeFontLoader, {
8427
- typography,
8428
- buttonFontWeight,
8429
- extraBodyFontWeights,
8430
- extraHeadingFontWeights,
8431
- italicBodyFontWeights,
8432
- italicHeadingFontWeights,
8433
- customFonts,
8434
- storageBaseUrl
8435
- });
8436
- }
8437
- function themeFontLoading(theme) {
8438
- return theme.fontLoading ?? {};
8439
- }
8440
- //#endregion
8441
8132
  //#region ../content-model/src/content-types/entryValidation.ts
8442
8133
  function hasRepeaterVariants(field) {
8443
8134
  return field.itemTypes !== void 0;
@@ -9763,6 +9454,17 @@ function BlockSourceLine({ source, siteId, dashboardBaseUrl = "", getValue = ()
9763
9454
  });
9764
9455
  }
9765
9456
  //#endregion
9457
+ //#region ../block-form/src/utils/visibilityValues.ts
9458
+ /** Effective presentation values override stored values for visibility only. */
9459
+ const VisibilityValuesContext = createContext({});
9460
+ function withVisibilityValues(reader, values) {
9461
+ return { getValue: (path) => Object.prototype.hasOwnProperty.call(values, path) ? values[path] : reader.getValue(path) };
9462
+ }
9463
+ function useVisibilityValueReader(reader) {
9464
+ const values = useContext(VisibilityValuesContext);
9465
+ return useMemo(() => withVisibilityValues(reader, values), [reader, values]);
9466
+ }
9467
+ //#endregion
9766
9468
  //#region ../block-form/src/widgets/LookField.tsx
9767
9469
  function LookField({ config, path, backend }) {
9768
9470
  const { value, setValue, error } = useField(path, backend);
@@ -11201,39 +10903,9 @@ function useRepeaterHostActions(path) {
11201
10903
  }
11202
10904
  //#endregion
11203
10905
  //#region ../block-form/src/widgets/RepeaterField/hooks/useRepeaterVisibility.ts
11204
- /**
11205
- * Hook to handle repeater field visibility based on visibleWhen conditions
11206
- */
11207
10906
  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;
10907
+ useBackendWatch(backend, collectVisibleWhenWatchPaths(field, path));
10908
+ return evaluateVisibility(field, useVisibilityValueReader(backend), path);
11237
10909
  }
11238
10910
  //#endregion
11239
10911
  //#region ../block-form/src/widgets/RepeaterField/hooks/useRepeaterRowErrors.ts
@@ -21055,6 +20727,7 @@ function DatePickerPopover({ selectedDate, onSelectDate, onOpenChange, placehold
21055
20727
  labels: calendarLabels,
21056
20728
  locale: calendarLocale,
21057
20729
  selected: selectedDate ?? void 0,
20730
+ defaultMonth: selectedDate ?? void 0,
21058
20731
  onSelect: handleSelect,
21059
20732
  initialFocus: true,
21060
20733
  disabled
@@ -21917,11 +21590,11 @@ const WIDGET_COMPONENTS = {
21917
21590
  * 3. Shows/hides field accordingly
21918
21591
  */
21919
21592
  function VisibilityWrapper({ field, path, backend, children }) {
21920
- if (field.ui?.hidden) return null;
21593
+ const reader = useVisibilityValueReader(backend);
21921
21594
  const watchedPaths = useMemo(() => collectVisibleWhenWatchPaths(field, path), [field, path]);
21922
- return useMemo(() => evaluateVisibility(field, backend, path), [
21595
+ return useMemo(() => evaluateVisibility(field, reader, path), [
21923
21596
  field,
21924
- backend,
21597
+ reader,
21925
21598
  path,
21926
21599
  useBackendWatch(backend, watchedPaths.length ? watchedPaths : path)
21927
21600
  ]) ? children : null;
@@ -21992,10 +21665,18 @@ function PromotedFieldSection({ items, renderField, backend }) {
21992
21665
  */
21993
21666
  function FormRenderer(props) {
21994
21667
  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
21668
+ const values = useMemo(() => props.visibilityValues ? {
21669
+ blockLook: props.visibilityValues.lookId,
21670
+ [props.visibilityValues.arrangementField]: props.visibilityValues.arrangement
21671
+ } : {}, [props.visibilityValues]);
21672
+ const reader = withVisibilityValues(props.backend, values);
21673
+ const plan = props.sectionPlan ?? derivePromotedFieldPlan(props.fields, props.promotedFields, (path) => reader.getValue(path) ?? props.fields.find((field) => field.id === path)?.defaultValue, props.sectionOptions);
21674
+ return /* @__PURE__ */ jsx(VisibilityValuesContext.Provider, {
21675
+ value: values,
21676
+ children: /* @__PURE__ */ jsx(FormRendererContent, {
21677
+ ...props,
21678
+ promotedPlan: plan
21679
+ })
21999
21680
  });
22000
21681
  }
22001
21682
  /** Widget dispatch and recursion share the same backend, overrides and wrapping policy. */
@@ -25847,7 +25528,7 @@ function RichTextField({ path, backend, config }) {
25847
25528
  editor,
25848
25529
  config: editorConfig,
25849
25530
  isEmpty,
25850
- placeholderText: "Add text",
25531
+ placeholderText: config.ui?.placeholder ?? "Add text",
25851
25532
  onPickImage,
25852
25533
  linkItems,
25853
25534
  onRequestLinkItems: loadLinkItems,
@@ -25862,7 +25543,7 @@ function RichTextField({ path, backend, config }) {
25862
25543
  });
25863
25544
  }
25864
25545
  function toEditorContent(value) {
25865
- if (value === void 0) return EMPTY_DOC;
25546
+ if (value == null) return EMPTY_DOC;
25866
25547
  if (!isRichTextDoc(value)) throw new TypeError("Rich-text editor requires a canonical TipTap document");
25867
25548
  return value;
25868
25549
  }
@@ -34393,6 +34074,25 @@ const typographyFontCategories = [
34393
34074
  label: "Mono"
34394
34075
  }
34395
34076
  ];
34077
+ /**
34078
+ * Body text is paragraphs, menus and buttons, so the body slot offers only
34079
+ * Google families built for reading (`isBodyFontFamily`, the same rule the
34080
+ * server applies). A site's own uploaded fonts stay on offer, because someone
34081
+ * chose those on purpose. Headings offer everything.
34082
+ */
34083
+ const headingOnlyCategories = /* @__PURE__ */ new Set([
34084
+ "display",
34085
+ "handwriting",
34086
+ "monospace"
34087
+ ]);
34088
+ /** The category filters a slot shows: the body slot leaves out the ones it doesn't offer. */
34089
+ function typographyFontCategoriesForSlot(slot) {
34090
+ return slot === "body" ? typographyFontCategories.filter((option) => !headingOnlyCategories.has(option.value)) : typographyFontCategories;
34091
+ }
34092
+ /** The Google families a slot can offer, before any search or category. */
34093
+ function googleFontsForSlot(googleFonts, slot) {
34094
+ return googleFonts.filter((font) => !/^material (?:icons|symbols)(?:\s|$)/iu.test(font.family.trim())).filter((font) => slot === "heading" || isBodyFontFamily(font.family));
34095
+ }
34396
34096
  /** The name a category goes by, on its filter and beside a font in the list. */
34397
34097
  function typographyFontCategoryLabel(category) {
34398
34098
  return typographyFontCategories.find((option) => option.value === category)?.label ?? category;
@@ -34403,7 +34103,7 @@ function buildTypographyFontCatalog(input) {
34403
34103
  const siteFamilies = new Set(input.siteFonts.map((font) => familyKey(font.familyName)));
34404
34104
  return {
34405
34105
  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)
34106
+ 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
34107
  };
34408
34108
  }
34409
34109
  /**
@@ -34508,29 +34208,6 @@ function familyKey(family) {
34508
34208
  return family.trim().toLocaleLowerCase();
34509
34209
  }
34510
34210
  //#endregion
34511
- //#region ../preview-next/src/client/fonts/siteFontPreview.tsx
34512
- /** Load complete faces for the staged theme, separately from picker subsets. */
34513
- function TypographyThemeFontStyles({ theme, siteFonts }) {
34514
- const siteFontStorageUrl = useSiteFontStorageUrl();
34515
- return /* @__PURE__ */ jsx(ThemeFontLoaderFromTheme, {
34516
- theme,
34517
- customFonts: [...siteFonts],
34518
- storageBaseUrl: siteFontStorageUrl ? getSiteFontsStorageUrl(siteFontStorageUrl) : void 0
34519
- });
34520
- }
34521
- function buildSiteFontFaceCss(siteFonts, siteFontStorageUrl) {
34522
- if (!siteFontStorageUrl || siteFonts.length === 0) return "";
34523
- return generateFontFaceCss([...siteFonts], getSiteFontsStorageUrl(siteFontStorageUrl));
34524
- }
34525
- function SiteFontFaceStyles({ siteFonts }) {
34526
- const siteFontStorageUrl = useSiteFontStorageUrl();
34527
- const css = useMemo(() => buildSiteFontFaceCss(siteFonts, siteFontStorageUrl), [siteFontStorageUrl, siteFonts]);
34528
- return css ? /* @__PURE__ */ jsx("style", {
34529
- "data-typography-site-fonts": true,
34530
- children: css
34531
- }) : null;
34532
- }
34533
- //#endregion
34534
34211
  //#region ../preview-next/src/client/fonts/TypographyEditor.tsx
34535
34212
  const typographyOverviewSurface = { kind: "overview" };
34536
34213
  function useTypographyFontCatalog(apiClient, siteId, enabled) {
@@ -34544,6 +34221,7 @@ function useTypographyFontCatalog(apiClient, siteId, enabled) {
34544
34221
  });
34545
34222
  const googleRequestRef = useRef(null);
34546
34223
  const siteRequestRef = useRef(null);
34224
+ const rememberSiteFonts = useRememberSiteFonts();
34547
34225
  useEffect(() => {
34548
34226
  if (!enabled) return;
34549
34227
  if (googleRequestRef.current?.apiClient === apiClient) return;
@@ -34611,10 +34289,12 @@ function useTypographyFontCatalog(apiClient, siteId, enabled) {
34611
34289
  siteId: requestedSiteId,
34612
34290
  status: "loaded"
34613
34291
  };
34292
+ const fonts = Array.isArray(value?.fonts) ? value.fonts : [];
34614
34293
  setSite({
34615
34294
  kind: "loaded",
34616
- value: Array.isArray(value?.fonts) ? value.fonts : []
34295
+ value: fonts
34617
34296
  });
34297
+ rememberSiteFonts(fonts);
34618
34298
  }
34619
34299
  } catch (error) {
34620
34300
  if (!cancelled) {
@@ -34635,7 +34315,8 @@ function useTypographyFontCatalog(apiClient, siteId, enabled) {
34635
34315
  }, [
34636
34316
  apiClient,
34637
34317
  enabled,
34638
- siteId
34318
+ siteId,
34319
+ rememberSiteFonts
34639
34320
  ]);
34640
34321
  return {
34641
34322
  google,
@@ -35184,6 +34865,7 @@ function buildFontPickerView(input) {
35184
34865
  const options = splitSuggestedFontOptions(buildTypographyFontCatalog({
35185
34866
  googleFonts: input.catalog.google.value,
35186
34867
  siteFonts: input.catalog.site.value,
34868
+ slot: input.slot,
35187
34869
  query: input.query,
35188
34870
  category: input.category
35189
34871
  }), input.suggested?.families ?? []);
@@ -35215,7 +34897,7 @@ function buildFontPickerView(input) {
35215
34897
  searching,
35216
34898
  shown,
35217
34899
  available: shown + held,
35218
- total: input.catalog.google.value.length + input.catalog.site.value.length,
34900
+ total: googleFontsForSlot(input.catalog.google.value, input.slot).length + input.catalog.site.value.length,
35219
34901
  loaded: input.catalog.google.kind === "loaded" && input.catalog.site.kind === "loaded"
35220
34902
  })
35221
34903
  };
@@ -35227,11 +34909,13 @@ function buildFontPickerView(input) {
35227
34909
  */
35228
34910
  function useFontPicker({ slot, value, catalog, suggested }) {
35229
34911
  const [query, setQuery] = useState("");
35230
- const [category, setCategory] = useState("all");
34912
+ const [chosenCategory, setCategory] = useState("all");
34913
+ const category = typographyFontCategoriesForSlot(slot).some((option) => option.value === chosenCategory) ? chosenCategory : "all";
35231
34914
  const [googleLimit, setGoogleLimit] = useState(24);
35232
34915
  const selectedFamily = primaryFontFamily(value);
35233
34916
  const view = useMemo(() => buildFontPickerView({
35234
34917
  catalog,
34918
+ slot,
35235
34919
  query,
35236
34920
  category,
35237
34921
  selectedFamily,
@@ -35243,6 +34927,7 @@ function useFontPicker({ slot, value, catalog, suggested }) {
35243
34927
  googleLimit,
35244
34928
  query,
35245
34929
  selectedFamily,
34930
+ slot,
35246
34931
  suggested
35247
34932
  ]);
35248
34933
  const listRef = useRef(null);
@@ -35307,6 +34992,7 @@ function TypographyFontPickerTakeover(props) {
35307
34992
  }),
35308
34993
  /* @__PURE__ */ jsx(FontCategoryFilter, {
35309
34994
  layout,
34995
+ slot,
35310
34996
  value: picker.category,
35311
34997
  onChange: picker.setCategory,
35312
34998
  disabled
@@ -35401,12 +35087,12 @@ function FontPickerTitleBar({ title, selectedFamily, onBack }) {
35401
35087
  });
35402
35088
  }
35403
35089
  /** The categories as pills that wrap; the chosen one is filled. */
35404
- function FontCategoryFilter({ layout, value, onChange, disabled }) {
35090
+ function FontCategoryFilter({ layout, slot, value, onChange, disabled }) {
35405
35091
  return /* @__PURE__ */ jsx("div", {
35406
35092
  role: "group",
35407
35093
  "aria-label": fontPickerCopy.categoryGroup,
35408
35094
  className: cn("flex flex-wrap gap-[6px]", layout === "inline" && "mt-[10px]"),
35409
- children: typographyFontCategories.map((option) => /* @__PURE__ */ jsx("button", {
35095
+ children: typographyFontCategoriesForSlot(slot).map((option) => /* @__PURE__ */ jsx("button", {
35410
35096
  type: "button",
35411
35097
  "aria-pressed": value === option.value,
35412
35098
  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")),
@@ -35593,13 +35279,10 @@ function StyleConfigurator({ siteId, apiClient, buttonStyleRepairs, onFocusedSur
35593
35279
  const headerSurfaceState = siteChromeCustomize.getSurfaceState("header");
35594
35280
  const styleSelections = siteChromeCustomize.styleSelections;
35595
35281
  const { handlePreviewButtonStyle, handlePreviewHeaderLayout, handlePreviewHeaderStyle, handlePreviewFooterLook, handlePreviewPalette, handleHeadingTypographyChange, handleBodyTypographyChange, handleTypographyScaleChange, handleTokenOverride, handleChooseSiteStyle } = controls;
35596
- if (expandedRow === "typography" && typographySurface.kind !== "overview") return /* @__PURE__ */ jsxs("div", {
35282
+ if (expandedRow === "typography" && typographySurface.kind !== "overview") return /* @__PURE__ */ jsx("div", {
35597
35283
  className: "flex h-full min-h-0 flex-col",
35598
35284
  "data-style-configurator-focused-surface": true,
35599
- children: [/* @__PURE__ */ jsx(TypographyThemeFontStyles, {
35600
- theme: shown.theme,
35601
- siteFonts: fontCatalog.site.value
35602
- }), typographySurface.kind === "font-picker" ? /* @__PURE__ */ jsx(TypographyFontPickerTakeover, {
35285
+ children: typographySurface.kind === "font-picker" ? /* @__PURE__ */ jsx(TypographyFontPickerTakeover, {
35603
35286
  slot: typographySurface.slot,
35604
35287
  value: typographySurface.slot === "heading" ? currentTypography.headings.default.family : currentTypography.body.family,
35605
35288
  catalog: fontCatalog,
@@ -35614,15 +35297,11 @@ function StyleConfigurator({ siteId, apiClient, buttonStyleRepairs, onFocusedSur
35614
35297
  onBodyChange: handleBodyTypographyChange,
35615
35298
  onScaleChange: handleTypographyScaleChange,
35616
35299
  disabled
35617
- })]
35300
+ })
35618
35301
  });
35619
35302
  return /* @__PURE__ */ jsxs("div", {
35620
35303
  className: "space-y-3",
35621
35304
  children: [
35622
- /* @__PURE__ */ jsx(TypographyThemeFontStyles, {
35623
- theme: shown.theme,
35624
- siteFonts: fontCatalog.site.value
35625
- }),
35626
35305
  /* @__PURE__ */ jsx(SiteStyleRow, {
35627
35306
  expanded: expandedRow === "style",
35628
35307
  onToggle: () => handleToggleRow("style"),
@@ -36570,7 +36249,7 @@ function SelectedBlockCustomizeFields({ block, blockId, uiStoreForBlockEditor, t
36570
36249
  designBlock
36571
36250
  });
36572
36251
  const showsLook = customizeControls.lookSource.kind !== "sdk" && designBlock !== null;
36573
- const needs = useBlockNeedsSetup(String(blockId));
36252
+ const notice = useBlockNotice(String(blockId));
36574
36253
  const lookFooter = useSectionBreakFooter(String(blockId), sdkConfig);
36575
36254
  const focusSignal = useUISelector(uiStoreForBlockEditor, (state) => state.focusRequest?.blockId === blockId ? state.focusRequest : null);
36576
36255
  const onFocusHandled = useCallback((requestId) => {
@@ -36603,7 +36282,7 @@ function SelectedBlockCustomizeFields({ block, blockId, uiStoreForBlockEditor, t
36603
36282
  }) : void 0,
36604
36283
  lookOptions: showsLook ? /* @__PURE__ */ jsx(SelectedBlockLookOptions, { look }) : void 0,
36605
36284
  lookFooter,
36606
- whatItShowsLead: whatItShowsLead(needs, !showsLook || !offersModeChoice(designBlock, blockContent) ? null : /* @__PURE__ */ jsx(SelectedBlockModeControl, {
36285
+ whatItShowsLead: whatItShowsLead(notice, !showsLook || !offersModeChoice(designBlock, blockContent) ? null : /* @__PURE__ */ jsx(SelectedBlockModeControl, {
36607
36286
  blockId,
36608
36287
  blockKind: block.kind,
36609
36288
  content: blockContent,
@@ -36626,17 +36305,28 @@ function useBlockCurrentValues(store, blockId, fallback) {
36626
36305
  function readBlockCurrentValues(store, blockId, fallback) {
36627
36306
  return store.getState().drafts.getCurrentValues(blockId) ?? fallback;
36628
36307
  }
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] });
36308
+ /** What it shows opens with why visitors can't see it, if they can't, then the block's choice of view. */
36309
+ function whatItShowsLead(notice, mode) {
36310
+ if (!notice && !mode) return void 0;
36311
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
36312
+ notice?.kind === "NeedsSetup" ? /* @__PURE__ */ jsxs("p", {
36313
+ role: "note",
36314
+ 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",
36315
+ children: [/* @__PURE__ */ jsx(TriangleAlert, {
36316
+ className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-600",
36317
+ "aria-hidden": "true"
36318
+ }), blockNoticeMessage(notice)]
36319
+ }) : null,
36320
+ notice?.kind === "Hidden" ? /* @__PURE__ */ jsxs("p", {
36321
+ role: "note",
36322
+ className: "flex gap-2 rounded-lg border px-3 py-2.5 text-[13px] leading-snug text-muted-foreground",
36323
+ children: [/* @__PURE__ */ jsx(EyeOff, {
36324
+ className: "mt-0.5 h-3.5 w-3.5 shrink-0",
36325
+ "aria-hidden": "true"
36326
+ }), blockNoticeMessage(notice)]
36327
+ }) : null,
36328
+ mode
36329
+ ] });
36640
36330
  }
36641
36331
  /** Only blocks whose Looks come in more than one mode (List, Month, Week) get a mode choice. */
36642
36332
  function offersModeChoice(designBlock, content) {
@@ -37084,7 +36774,7 @@ function useBlockHeader(blockId, sdkConfig) {
37084
36774
  const store = useEditorUiStoreInstance();
37085
36775
  const block = blockId ? blocks.list.find((candidate) => candidate.id === blockId) ?? null : null;
37086
36776
  const content = useUISelector(store, (state) => blockId ? state.drafts.getCurrentValues(blockId) : null);
37087
- const needs = useBlockNeedsSetup(blockId);
36777
+ const notice = useBlockNotice(blockId);
37088
36778
  if (!block) return null;
37089
36779
  const manifest = resolveBlockManifest(block.kind, sdkConfig);
37090
36780
  const { displayTitle, showSubtitle } = resolveBlockTitle(manifest, content ?? block.content, block.kind);
@@ -37092,16 +36782,20 @@ function useBlockHeader(blockId, sdkConfig) {
37092
36782
  return {
37093
36783
  icon: /* @__PURE__ */ jsx(BlockKindIcon, { iconName: manifest?.icon }),
37094
36784
  title: displayTitle,
37095
- subtitle: needs ? /* @__PURE__ */ jsxs(Fragment$1, { children: [kind ? `${kind} · ` : null, /* @__PURE__ */ jsx(NeedsSetupChip, {})] }) : kind
36785
+ subtitle: notice ? /* @__PURE__ */ jsxs(Fragment$1, { children: [kind ? `${kind} · ` : null, /* @__PURE__ */ jsx(BlockNoticeChip, { notice })] }) : kind
37096
36786
  };
37097
36787
  }
37098
- function NeedsSetupChip() {
36788
+ function BlockNoticeChip({ notice }) {
36789
+ if (notice.kind === "Hidden") return /* @__PURE__ */ jsx("span", {
36790
+ className: "text-muted-foreground",
36791
+ children: blockNoticeLabel(notice)
36792
+ });
37099
36793
  return /* @__PURE__ */ jsxs("span", {
37100
36794
  className: "inline-flex items-center gap-1 font-semibold text-amber-700",
37101
36795
  children: [/* @__PURE__ */ jsx("span", {
37102
36796
  className: "h-1.5 w-1.5 rounded-full bg-warning",
37103
36797
  "aria-hidden": "true"
37104
- }), NEEDS_SETUP_LABEL]
36798
+ }), blockNoticeLabel(notice)]
37105
36799
  });
37106
36800
  }
37107
36801
  /** Where a new block will go, e.g. After “This week at Lotus”. */
@@ -37450,7 +37144,10 @@ function SidebarTaskView({ props, view, requestId, uiStoreForBlockEditor, linked
37450
37144
  props,
37451
37145
  controller
37452
37146
  });
37453
- case "chrome": return view.target === "header" ? /* @__PURE__ */ jsx(SiteChromeSurfaceControls, { surface: "header" }) : /* @__PURE__ */ jsx(PreviewFooterEditorPanel, {
37147
+ case "chrome": return view.target === "header" ? /* @__PURE__ */ jsx(SiteChromeSurfaceControls, {
37148
+ surface: "header",
37149
+ logoSettingsHref: dashboardLogoSettingsHref(props.dashboardBaseUrl, props.siteId)
37150
+ }) : /* @__PURE__ */ jsx(PreviewFooterEditorPanel, {
37454
37151
  ...props,
37455
37152
  dashboardBaseUrl: props.dashboardBaseUrl ?? null,
37456
37153
  theme: props.theme ?? null,