@riverbankcms/sdk 0.174.1 → 0.175.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 (195) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-YRmc-Yxz.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
  2. package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
  4. package/dist/_dts/{client-B1J6Akyf.d.ts → client-B6tCvmG4.d.ts} +487 -11
  5. package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-B9qryk4R.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
  9. package/dist/_dts/{index-yWDbUojb.d.ts → index-Bl5_pjmq.d.ts} +1 -1
  10. package/dist/_dts/{index-CF62FntA.d.ts → index-Btp5nIoz.d.ts} +2 -2
  11. package/dist/_dts/{index-BLEKFHt1.d.ts → index-CQUzwOxO.d.ts} +1 -1
  12. package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-DmhFb6R1.d.ts} +1 -1
  13. package/dist/_dts/{index-CXZSy_9M.d.ts → index-OtazQE3U.d.ts} +2 -2
  14. package/dist/_dts/{index-BgOr1Xyz.d.ts → index-YRQulWB4.d.ts} +3 -3
  15. package/dist/_dts/{index-DpJm0NpL.d.ts → index-_pXaCO12.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
  17. package/dist/_dts/{request-BK-pHf0P.d.ts → request-BT8i_vH-.d.ts} +1621 -385
  18. package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-CVLYWcoI.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/gifting/client.d.ts +13 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +3 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +2 -1
  54. package/dist/_dts/{types-DjVNADXR.d.ts → types-C0XZnjXz.d.ts} +3 -3
  55. package/dist/_dts/{types-CwmB2NHU.d.ts → types-CXL1QJSY.d.ts} +7 -7
  56. package/dist/_dts/{types-Dmow_FI6.d.ts → types-OKzbqRBx.d.ts} +2 -2
  57. package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
  59. package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
  60. package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
  63. package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
  64. package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
  65. package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
  66. package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-BybMSKNL.mjs} +4 -3
  67. package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
  68. package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
  69. package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
  70. package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +635 -359
  71. package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-BecH-qhI.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BJzmFdcn.mjs} +18 -3
  73. package/dist/client/{Page-BpeP9xdt.mjs → Page-CWN_8cLZ.mjs} +601 -579
  74. package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
  75. package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-C7RJBOW3.mjs} +37 -12
  76. package/dist/client/{accordion-nR7D4m1a.mjs → accordion-uUi_N6mZ.mjs} +1 -1
  77. package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
  78. package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
  79. package/dist/client/bookings.mjs +22 -15
  80. package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-C-gFwhnO.mjs} +2 -1
  81. package/dist/client/{carousel-CVUOatsY.mjs → carousel-C0_BqMA0.mjs} +1 -1
  82. package/dist/client/{cart-DE0K6E0R.mjs → cart-BOHuppVu.mjs} +3 -3
  83. package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-IfJE1zAp.mjs} +1 -1
  84. package/dist/client/{checkout-76cdHyPL.mjs → checkout-C3Aj-aNa.mjs} +3 -3
  85. package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
  87. package/dist/client/client.mjs +112 -21
  88. package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
  89. package/dist/client/{course-DHIrXqNT.mjs → course-DHmeQAvq.mjs} +2 -2
  90. package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
  91. package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-ABCZWkpT.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-BdcuW_pa.mjs} +1 -1
  93. package/dist/client/display-DMqotaGU.mjs +11797 -0
  94. package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
  95. package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-CJapNbTv.mjs} +1 -1
  96. package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-CAdcpnLc.mjs} +176 -75
  97. package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
  98. package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-B9Ly3024.mjs} +4 -4
  99. package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
  100. package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-ZSmvhWII.mjs} +4 -4
  101. package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
  102. package/dist/client/{form-CfqIAhfN.mjs → form-DG_YZSNn.mjs} +3 -3
  103. package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BU6dM0-C.mjs} +4 -4
  104. package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-Db0Iq7nx.mjs} +1 -1
  105. package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-DFfWHpQB.mjs} +1 -1
  106. package/dist/client/gifting/client.mjs +5 -3
  107. package/dist/client/gifting-DMrsN4B4.mjs +28 -0
  108. package/dist/client/gifting.client-BVa2XYJB.mjs +404 -0
  109. package/dist/client/gifting.parts-C2u4Y-pf.mjs +86 -0
  110. package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-D91EzlOR.mjs} +2 -2
  111. package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BDZLALxj.mjs} +2951 -14395
  112. package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
  113. package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
  114. package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-B_67sNwa.mjs} +3 -3
  115. package/dist/client/{noop-D5mFWXtN.mjs → noop-DF8_EiFt.mjs} +93 -28
  116. package/dist/client/portal/client.mjs +313 -148
  117. package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
  118. package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
  119. package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-W0_0lDGe.mjs} +3 -3
  120. package/dist/client/{productList-DTgZXOEq.mjs → productList-ayAtPJdb.mjs} +3 -3
  121. package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
  122. package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-B1EEZkcr.mjs} +307 -240
  123. package/dist/client/rendering/client.mjs +25 -491
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +7 -6
  126. package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
  128. package/dist/client/{shop-5LBhftWx.mjs → shop-DbUUoHFJ.mjs} +3 -3
  129. package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
  130. package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
  131. package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
  132. package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
  133. package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
  134. package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CJAINJr3.mjs} +113 -35
  135. package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-DwVAuGsx.mjs} +2 -2
  136. package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel-DBTIFWTb.mjs} +10 -10
  137. package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
  138. package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
  139. package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
  140. package/dist/client/{view-BvuYmQJ5.mjs → view-BTk470k0.mjs} +3 -2
  141. package/dist/client/{view-D9ObkFtz.mjs → view-Cw4EmEPv.mjs} +99 -30
  142. package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +28 -25
  144. package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
  145. package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
  146. package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
  147. package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-B61mZd81.mjs} +4141 -2677
  148. package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
  149. package/dist/preview-next/client/runtime.mjs +3 -3
  150. package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
  151. package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-BZDIC-fA.mjs} +527 -236
  152. package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
  153. package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +13 -4
  154. package/dist/preview-next/container-responsive.css +51 -3
  155. package/dist/preview-next/keepAlive.mjs +1 -1
  156. package/dist/preview-next/middleware.mjs +1 -1
  157. package/dist/preview-next/{route-contract-BOuNcOcN.mjs → route-contract-0gSlK9S0.mjs} +86 -12
  158. package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-DeXXycg8.mjs} +4 -4
  159. package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
  160. package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-7L3pC5Os.mjs} +13 -34
  161. package/dist/server/{client-CGtU5fHI.mjs → client-CgghATBm.mjs} +111 -20
  162. package/dist/server/config-validation.mjs +1 -1
  163. package/dist/server/config.mjs +2 -2
  164. package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
  165. package/dist/server/data/resolveBlockData.mjs +1 -1
  166. package/dist/server/index.mjs +2 -2
  167. package/dist/server/{loadContent-ChnkJSay.mjs → loadContent-D7M5Vcug.mjs} +5 -5
  168. package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CiTId05y.mjs} +2 -2
  169. package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
  170. package/dist/server/next.mjs +35 -9
  171. package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
  172. package/dist/server/page-converter.mjs +1 -1
  173. package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-Cuos4Xcd.mjs} +97 -39
  174. package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
  175. package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-JxlV8_Bo.mjs} +1261 -1129
  176. package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
  177. package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BDhlJbAx.mjs} +1 -1
  178. package/dist/server/prebuild.mjs +1 -1
  179. package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
  180. package/dist/server/{registry-DmqxC8th.mjs → registry-cQ9N5W-n.mjs} +20432 -20165
  181. package/dist/server/rendering/components/pageShared.mjs +1 -1
  182. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  183. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  184. package/dist/server/rendering/server.mjs +3 -3
  185. package/dist/server/rendering.mjs +7 -7
  186. package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-CN4UmmTK.mjs} +1 -1
  187. package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/theme-bridge.mjs +1 -1
  190. package/dist/server/theme.mjs +2 -2
  191. package/dist/server/{validation-Bt_8IL1g.mjs → validation-3puM5SM8.mjs} +3 -3
  192. package/dist/server/{version-DT_efohp.mjs → version-B8g-Wx57.mjs} +1 -1
  193. package/dist/styles/index.css +295 -37
  194. package/package.json +1 -1
  195. package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
@@ -1,12 +1,13 @@
1
1
  "use client";
2
- import { Bt as CardListContentPart, Gt as MediaNodeServer, Kt as EventQuickFacts, an as formatEventPriceDisplay, in as formatEventPriceAmount, lt as closedRunCopy, nn as formatCoursePrice, rn as formatEventPrice, st as formatBookingSchedulePresentation } from "./shop.interactive-DNRqG4aX.mjs";
3
- import { $a as isBookableEvent, $c as publicEventPricingCurrency, $r as formatEventCompactDateRail, Fc as CANCELLED_SESSION_STATUS, Ha as resolveEventRegistrationScopedEvents, Ic as nextLiveRunSessionStartMs, Jr as eventDateOptions, Lc as orderedLiveRunSessions, Qc as isPublicEventPricingOptionDisplayable, Rc as resolveWholeSeriesBookingPhase, Xc as formatBookingPriceDisplay, ao as getEventAvailability, co as isEventFull, ei as formatEventDateParts, el as publicEventPricingDisplay, ii as formatEventTimeRange, io as formatTotalCapacity, nl as publicEventPricingType, no as formatEventRemainingPlaces, oi as formatTime, oo as getEventAvailabilityStatus, ri as formatEventRunDates, rl as resolveExactOrFreePriceDisplay, vo as listLookSlot, yr as ImagePresets } from "./display-Cf_j5stk.mjs";
4
- import { $t as compareLocalScheduleDates, Bt as formatDate, Ut as formatDateTimeRange, Vt as formatDateRange, Xt as toScheduledBookingDateTime, an as resolveBookingBusinessTimeZone, ln as toUtcIsoDateTimeString, nn as getLocalScheduleDate, sn as toBookingTimeZone, tn as getBookingLocalDateKey } from "./noop-D5mFWXtN.mjs";
5
- import { A as assertNever } from "./creditProducts-KYMVIH3J.mjs";
2
+ import { Jt as MediaNodeServer, Ut as CardListContentPart, Yt as EventQuickFacts, an as formatCoursePrice, cn as formatEventPriceAmount, ct as formatBookingSchedulePresentation, ln as formatEventPriceDisplay, on as formatEventDepositNote, sn as formatEventPrice, ut as closedRunCopy } from "./shop.interactive-CJAINJr3.mjs";
3
+ import { $o as publicEventPricingCurrency, Fo as CANCELLED_SESSION_STATUS, Io as nextLiveRunSessionStartMs, Ja as resolveEventRegistrationScopedEvents, Lo as orderedLiveRunSessions, Qo as isPublicEventPricingOptionDisplayable, Ro as resolveWholeSeriesBookingPhase, Tr as ImagePresets, Xo as formatBookingPriceDisplay, ai as formatEventCompactDateRail, ao as isBookableEvent, co as formatEventRemainingPlaces, do as getEventAvailability, ei as eventDateOptions, es as publicEventPricingDisplay, fi as formatTime, fo as getEventAvailabilityStatus, li as formatEventRunDates, mo as isEventFull, ns as publicEventPricingType, oi as formatEventDateParts, rs as resolveExactOrFreePriceDisplay, ui as formatEventTimeRange, uo as formatTotalCapacity } from "./display-DMqotaGU.mjs";
4
+ import { Jt as formatDateRange, Xt as formatDateTimeRange, cn as getBookingLocalDateKey, fn as resolveBookingBusinessTimeZone, gn as toUtcIsoDateTimeString, ln as getLocalScheduleDate, mn as toBookingTimeZone, on as compareLocalScheduleDates, qt as formatDate, rn as toScheduledBookingDateTime } from "./noop-DF8_EiFt.mjs";
5
+ import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
6
6
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
7
- import { t as LocationMapActions } from "./LocationMapActions-BJT7MqP2.mjs";
8
- import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-DHIrXqNT.mjs";
9
- import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DCIwlON6.mjs";
7
+ import { t as LocationMapActions } from "./LocationMapActions-BecH-qhI.mjs";
8
+ import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
9
+ import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-DHmeQAvq.mjs";
10
+ import { a as eventOnlinePlace, n as MapDrawingSvg, o as eventVenuePlace, s as formatEventLocation } from "./MapDrawingSvg-BJzmFdcn.mjs";
10
11
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
11
12
  import "react";
12
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -348,9 +349,9 @@ function offeringFacts(event, places, offering) {
348
349
  label: "Length",
349
350
  value: sessions
350
351
  }] : lengthFact(event, !offering || course),
351
- ...offering && event.venue ? [{
352
+ ...offering && (event.venue || event.deliveryMode !== "in_person") ? [{
352
353
  label: "Venue",
353
- value: event.venue.name
354
+ value: formatEventLocation(event)
354
355
  }] : [],
355
356
  ...places ? [{
356
357
  label: "Places",
@@ -426,7 +427,7 @@ function eventHeaderContent(selection, show) {
426
427
  label: "Time",
427
428
  value: timeRange
428
429
  },
429
- ...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price") : [],
430
+ ...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, event)) : [],
430
431
  ...groupSize === null ? [] : [{
431
432
  label: "Group size",
432
433
  value: groupSize
@@ -435,6 +436,14 @@ function eventHeaderContent(selection, show) {
435
436
  action: headerAction(selection, item.action)
436
437
  };
437
438
  }
439
+ /** The page states a deposit option beside the price, so it isn't first seen at checkout. */
440
+ function withDepositNote(fact, event) {
441
+ const note = formatEventDepositNote(event.pricing, event.paymentTerms, event);
442
+ return note ? {
443
+ ...fact,
444
+ value: `${fact.value}, ${note}`
445
+ } : fact;
446
+ }
438
447
  /** A course run is described by its whole span, not by whichever session was selected. */
439
448
  function headerDateFact(selection) {
440
449
  const event = selection.selected;
@@ -591,14 +600,22 @@ function membershipCoversEvent(args, event) {
591
600
  return isCategoryEligible(args.eligibleCategoryIds, event.eventCategoryId);
592
601
  }
593
602
  /**
603
+ * Whether a pass or membership could get someone into this event at all. Nobody
604
+ * books an event that takes no bookings, and a free one has nothing to pay. A
605
+ * tiered event whose tickets are all free isn't `free`: the dashboard treats it
606
+ * as priced, and the server refuses to spend anything on a free ticket.
607
+ */
608
+ function eventCanUseProducts(event) {
609
+ return event.requiresRegistration !== false && event.pricing.kind !== "free";
610
+ }
611
+ /**
594
612
  * Filter site passes to only those that cover the selected event.
595
613
  *
596
614
  * Public purchasable products are a pre-auth proxy for whether the pass path is
597
615
  * worth advertising; owned pass eligibility is checked later after portal auth.
598
616
  */
599
617
  function filterPassesForEvent(sitePasses, event) {
600
- if (!sitePasses || !event) return [];
601
- if (event.requiresRegistration === false) return [];
618
+ if (!sitePasses || !event || !eventCanUseProducts(event)) return [];
602
619
  const eventCategoryId = event.eventCategory?.id ?? null;
603
620
  return sitePasses.filter((pass) => pass.productUseCase === "event_pass" && passCoversEvent({ eligibleCategoryIds: pass.eligibleCategoryIds }, {
604
621
  acceptsPasses: event.acceptsPasses,
@@ -613,8 +630,7 @@ function filterPassesForEvent(sitePasses, event) {
613
630
  * after portal auth.
614
631
  */
615
632
  function filterMembershipsForEvent(siteMemberships, event) {
616
- if (!siteMemberships || !event) return [];
617
- if (event.requiresRegistration === false) return [];
633
+ if (!siteMemberships || !event || !eventCanUseProducts(event)) return [];
618
634
  const eventCategoryId = event.eventCategory?.id ?? null;
619
635
  return siteMemberships.filter((membership) => membershipCoversEvent({ eligibleCategoryIds: membership.eligibleCategoryIds }, {
620
636
  acceptsMemberships: event.acceptsMemberships,
@@ -773,7 +789,11 @@ function resolveEventDetailsPresentation(input) {
773
789
  function wholeSeriesPriceOptions(pricing) {
774
790
  return pricing.kind === "tiered" ? pricing.options.filter((option) => option.isActive) : [];
775
791
  }
776
- function WholeSeriesPricingDisplay({ pricing, acceptedItems }) {
792
+ /** The price, with any deposit option said beside it. */
793
+ function PriceLine({ price, depositNote }) {
794
+ return /* @__PURE__ */ jsxs("p", { children: [/* @__PURE__ */ jsx("strong", { children: price }), depositNote ? `, ${depositNote}` : null] });
795
+ }
796
+ function WholeSeriesPricingDisplay({ pricing, depositNote, acceptedItems }) {
777
797
  const options = wholeSeriesPriceOptions(pricing);
778
798
  return /* @__PURE__ */ jsxs("div", {
779
799
  className: "rb-mt-6",
@@ -793,7 +813,14 @@ function WholeSeriesPricingDisplay({ pricing, acceptedItems }) {
793
813
  className: "rb-caption status-muted",
794
814
  children: option.description
795
815
  }) : null] }, option.id))
796
- }) : /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: formatBookingPriceDisplay(publicEventPricingDisplay(pricing), { decimals: "auto" }) }) }),
816
+ }) : /* @__PURE__ */ jsx(PriceLine, {
817
+ price: formatBookingPriceDisplay(publicEventPricingDisplay(pricing), { decimals: "auto" }),
818
+ depositNote
819
+ }),
820
+ depositNote && options.length > 1 ? /* @__PURE__ */ jsxs("p", {
821
+ className: "rb-caption rb-mt-1",
822
+ children: [depositNote.charAt(0).toUpperCase(), depositNote.slice(1)]
823
+ }) : null,
797
824
  acceptedItems.length > 0 ? /* @__PURE__ */ jsxs("p", {
798
825
  className: "rb-caption rb-mt-1",
799
826
  children: ["You can also attend with: ", acceptedItems.join(", ")]
@@ -834,7 +861,7 @@ function TicketTypePriceList({ ticketTypes, currency }) {
834
861
  }, ticketType.id))
835
862
  });
836
863
  }
837
- function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItems, eventCostLabel, eventPricingCurrency, ticketTypes, autoApplyDiscount }) {
864
+ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItems, eventCostLabel, depositNote, eventPricingCurrency, ticketTypes, autoApplyDiscount }) {
838
865
  if (isDropIn) return /* @__PURE__ */ jsxs("div", {
839
866
  className: "rb-mt-6",
840
867
  children: [/* @__PURE__ */ jsx("div", {
@@ -847,6 +874,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
847
874
  });
848
875
  if (wholeSeriesPricingDisplay) return /* @__PURE__ */ jsx(WholeSeriesPricingDisplay, {
849
876
  pricing: wholeSeriesPricingDisplay,
877
+ depositNote,
850
878
  acceptedItems: [...acceptedItems]
851
879
  });
852
880
  if (eventCostLabel) return /* @__PURE__ */ jsxs("div", {
@@ -856,7 +884,10 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
856
884
  className: "rb-label rb-mb-2",
857
885
  children: "Cost"
858
886
  }),
859
- /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: eventCostLabel }) }),
887
+ /* @__PURE__ */ jsx(PriceLine, {
888
+ price: eventCostLabel,
889
+ depositNote
890
+ }),
860
891
  autoApplyDiscount && eventPricingCurrency ? /* @__PURE__ */ jsx("p", {
861
892
  className: "rb-caption rb-mt-1",
862
893
  children: formatAutoApplyDiscountLine(autoApplyDiscount, eventPricingCurrency)
@@ -879,7 +910,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
879
910
  })
880
911
  }) : null;
881
912
  }
882
- function EventFacts({ selection, selected, venue, teamMembers, pricing, showCapacity, lookSlots }) {
913
+ function EventFacts({ selection, selected, venue, online, teamMembers, pricing, showCapacity, lookSlots }) {
883
914
  const { date, timeRange } = formatEventDateParts({
884
915
  startsAt: selected.startsAt,
885
916
  endsAt: selected.endsAt,
@@ -901,7 +932,10 @@ function EventFacts({ selection, selected, venue, teamMembers, pricing, showCapa
901
932
  children: timeRange
902
933
  })
903
934
  ] }),
904
- /* @__PURE__ */ jsx(EventVenueFact, { venue }),
935
+ /* @__PURE__ */ jsx(EventVenueFact, {
936
+ venue,
937
+ online
938
+ }),
905
939
  /* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
906
940
  showCapacity && selected.capacity != null ? /* @__PURE__ */ jsxs("div", {
907
941
  className: "rb-mt-6",
@@ -918,8 +952,26 @@ function EventFacts({ selection, selected, venue, teamMembers, pricing, showCapa
918
952
  ]
919
953
  });
920
954
  }
921
- function EventVenueFact({ venue }) {
922
- if (!venue) return null;
955
+ const eventOnlinePlaceShown = (event, showVenue) => showVenue ? eventOnlinePlace(event) : null;
956
+ /** An online event says so where a venue would go; a hybrid one adds it under the venue. */
957
+ function EventVenueFact({ venue, online }) {
958
+ if (!venue) {
959
+ if (!online) return null;
960
+ return /* @__PURE__ */ jsxs("div", {
961
+ className: "rb-mt-6",
962
+ children: [
963
+ /* @__PURE__ */ jsx("div", {
964
+ className: "rb-label rb-mb-2",
965
+ children: "Venue"
966
+ }),
967
+ /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
968
+ online.note ? /* @__PURE__ */ jsx("p", {
969
+ className: "rb-caption",
970
+ children: online.note
971
+ }) : null
972
+ ]
973
+ });
974
+ }
923
975
  const { place, addressWithBooking } = eventVenuePlace(venue);
924
976
  return /* @__PURE__ */ jsxs("div", {
925
977
  className: "rb-mt-6",
@@ -939,7 +991,11 @@ function EventVenueFact({ venue }) {
939
991
  }) : /* @__PURE__ */ jsx(LocationMapActions, {
940
992
  location: venue.location,
941
993
  addressText: venue.address
942
- })
994
+ }),
995
+ online ? /* @__PURE__ */ jsxs("p", {
996
+ className: "rb-caption rb-mt-1",
997
+ children: ["You can also join online.", online.note ? ` ${online.note}` : ""]
998
+ }) : null
943
999
  ]
944
1000
  });
945
1001
  }
@@ -1091,21 +1147,27 @@ function EventVenueMap({ venue, drawing, showMap, mapHeight, mapClassName }) {
1091
1147
  }
1092
1148
  /** One pricing projection governs the selected panel, including drop-in and whole-series behavior. */
1093
1149
  function selectedEventPricing(event, showCost) {
1094
- const isDropIn = event.bookingScope === "single_occurrence" && event.requiresRegistration === false;
1095
- const wholeSeriesPricing = event.bookingScope === "whole_series" && event.pricing.kind !== "external" ? event.pricing : null;
1096
- const showEventCost = showCost && publicEventPricingType(event.pricing) !== "free" && !isDropIn && wholeSeriesPricing === null;
1150
+ const isDropIn = isDropInEvent(event);
1151
+ const wholeSeriesPricing = wholeSeriesPricingOf(event);
1152
+ const showEventCost = showCost && !isDropIn && wholeSeriesPricing === null;
1097
1153
  return {
1098
1154
  isDropIn,
1099
1155
  wholeSeriesPricingDisplay: showCost ? wholeSeriesPricing : null,
1100
1156
  eventCostLabel: showEventCost ? formatEventPrice(event) : null,
1157
+ depositNote: showCost && !isDropIn ? paidDepositNote(event) : null,
1101
1158
  eventPricingCurrency: publicEventPricingCurrency(event.pricing),
1102
- ticketTypes: showEventCost ? getDisplayablePricingOptions(event) : []
1159
+ ticketTypes: showEventCost && isPaid(event) ? getDisplayablePricingOptions(event) : []
1103
1160
  };
1104
1161
  }
1162
+ const isDropInEvent = (event) => event.bookingScope === "single_occurrence" && event.requiresRegistration === false;
1163
+ const wholeSeriesPricingOf = (event) => event.bookingScope === "whole_series" && event.pricing.kind !== "external" ? event.pricing : null;
1164
+ const isPaid = (event) => publicEventPricingType(event.pricing) !== "free";
1165
+ const paidDepositNote = (event) => isPaid(event) ? formatEventDepositNote(event.pricing, event.paymentTerms, event) : null;
1105
1166
  function SelectedEventDetailsView(props) {
1106
1167
  const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, acceptedItems } = props;
1107
1168
  const selected = selection.selected;
1108
1169
  const venue = showVenue ? selected.venue : void 0;
1170
+ const online = eventOnlinePlaceShown(selected, showVenue);
1109
1171
  const pricing = selectedEventPricing(selected, props.showCost);
1110
1172
  return /* @__PURE__ */ jsxs("div", {
1111
1173
  className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
@@ -1123,6 +1185,7 @@ function SelectedEventDetailsView(props) {
1123
1185
  selection,
1124
1186
  selected,
1125
1187
  venue,
1188
+ online,
1126
1189
  showCapacity,
1127
1190
  teamMembers: selected.teamMembers ?? [],
1128
1191
  pricing: /* @__PURE__ */ jsx(EventPricingDetails, {
@@ -1215,11 +1278,14 @@ function EventHeaderPanel(props) {
1215
1278
  })
1216
1279
  });
1217
1280
  }
1218
- function HeaderPanelFacts({ venue, teamMembers, pricing }) {
1281
+ function HeaderPanelFacts({ venue, online, teamMembers, pricing }) {
1219
1282
  return /* @__PURE__ */ jsxs("div", {
1220
1283
  className: "rb-flex rb-flex-col rb-gap-4",
1221
1284
  children: [
1222
- /* @__PURE__ */ jsx(EventVenueFact, { venue }),
1285
+ /* @__PURE__ */ jsx(EventVenueFact, {
1286
+ venue,
1287
+ online
1288
+ }),
1223
1289
  /* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
1224
1290
  pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
1225
1291
  ]
@@ -1229,15 +1295,17 @@ function HeaderPanelFacts({ venue, teamMembers, pricing }) {
1229
1295
  function headerPanelContent(props) {
1230
1296
  const { selection } = props;
1231
1297
  const venue = props.showVenue ? selection.selected.venue : void 0;
1298
+ const online = eventOnlinePlaceShown(selection.selected, props.showVenue);
1232
1299
  const teamMembers = selection.selected.teamMembers ?? [];
1233
1300
  const pricing = headerPanelPricing(props, selection.selected);
1234
1301
  const scheduled = selection.kind === "wholeSeries" ? selection.sessions.length : selection.otherDates.length;
1235
1302
  return {
1236
1303
  venue,
1304
+ online,
1237
1305
  teamMembers,
1238
1306
  pricing,
1239
1307
  hasMap: Boolean(props.showMap && venue && props.selectedVenueDrawing),
1240
- hasFacts: Boolean(venue) || teamMembers.length > 0 || pricing !== null,
1308
+ hasFacts: Boolean(venue) || online !== null || teamMembers.length > 0 || pricing !== null,
1241
1309
  hasDates: props.showOtherDates && scheduled > 0
1242
1310
  };
1243
1311
  }
@@ -1251,6 +1319,7 @@ function headerPanelPricing(props, event) {
1251
1319
  if (pricing.isDropIn) return null;
1252
1320
  const detail = {
1253
1321
  ...pricing,
1322
+ depositNote: null,
1254
1323
  acceptedItems: acceptedProductNames(props),
1255
1324
  autoApplyDiscount: props.autoApplyDiscount ?? null
1256
1325
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $s as DialogHeader, Bl as formatAspectRatioToken, Bs as unwrapResponse, Cc as __read, Ci as resolveImageUrlWithContext, E as selectedImageFromRenderableAsset, Ec as __spreadArrays, F as lookTilePosition, Gs as Callout, Hl as resolveMediaTransformForAspect, Ja as RichTextDocSchema, Jc as createContextScope, Js as Dialog, Kc as useControllableState, L as nextLookTilePin, P as lookPositionLabel, Qc as Button, Ql as mediaIdentifierSchema, Qo as getGradientPreset, Rc as useSize, Rl as isRotationDimensionSwap, S as pageDesignLookPosition, Sc as __generator, T as selectedImageFromMediaValue, Tc as __spreadArray, Ti as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, Ul as getDirectImageUrlForMediaAsset, Vl as parseAspectRatioValue, Vs as selectedCanvasBlockId, Wl as getImageUrl, Wo as getCuratedSiteStyle, Xa as richTextVariantCapabilities, Xc as Primitive, Xl as resolveManagedMediaReference, Xo as gradientToCss, Xs as DialogContent$1, Yc as composeEventHandlers, Yu as unsafeAsEditorBlockId, Zi as readThemeScopeContext, Zs as DialogDescription$1, _c as usePortalContainer, _o as replaceInlineTextRange, ac as DialogContent, al as useComposedRefs, an as getDashboardBaseUrl, bc as __awaiter, bi as getRichTextImageSize, bn as useEditorUiStoreInstance, cc as DialogPortal, co as inlineTextEqual, ec as DialogTitle$1, el as useControlReadiness, er as backgroundColorTokens, fo as normalizeInlineText, go as removeInlineTextMarkFromRange, ho as plainTextToInlineText, i as usePreviewSidebarNavigation, ic as DialogClose, id as assertNever, io as applyInlineTextMarkToRange, iu as asLayoutVariantKey, j as usePreviewRenderBackgrounds, kl as surfaceForegroundValue, lc as DialogTitle, lo as inlineTextHighlightTones, lr as rankBackgroundImagePoolItems, nc as overlayScrimClass, ni as getBlockDefinition, nr as defaultBackgroundOverrideForMode, o as usePreviewPageDesignEditorState, oc as DialogDescription, od as unsafeAsMediaAssetId, ol as cn$2, ou as authoredValuesEqual, po as normalizeInlineTextMarks, ps as assertNever$1, sc as DialogOverlay, sd as unsafeAsPositiveByteCount, so as inlineTextAccentTones, su as generateUuidV4, tl as cva, uo as inlineTextToPlainText, vo as truncateInlineText, wc as __rest, wi as resolveMediaStorageUrl, x as cyclePageDesignBlockLook, xc as __extends, xi as computeMediaTransformStyle, yc as __assign, yn as useEditorUiStore, zl as normalizeRightAngle } from "./previewAssistantSlot-Jpj_HDra.mjs";
3
+ import { $s as DialogHeader, Bl as formatAspectRatioToken, Bs as unwrapResponse, Cc as __read, Ci as resolveImageUrlWithContext, E as selectedImageFromRenderableAsset, Ec as __spreadArrays, F as lookTilePosition, Gs as Callout, Hl as resolveMediaTransformForAspect, Ja as RichTextDocSchema, Jc as createContextScope, Js as Dialog, Kc as useControllableState, L as nextLookTilePin, P as lookPositionLabel, Qc as Button, Ql as mediaIdentifierSchema, Qo as getGradientPreset, Rc as useSize, Rl as isRotationDimensionSwap, S as pageDesignLookPosition, Sc as __generator, T as selectedImageFromMediaValue, Tc as __spreadArray, Ti as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, Ul as getDirectImageUrlForMediaAsset, Vl as parseAspectRatioValue, Vs as selectedCanvasBlockId, Wl as getImageUrl, Wo as getCuratedSiteStyle, Xa as richTextVariantCapabilities, Xc as Primitive, Xl as resolveManagedMediaReference, Xo as gradientToCss, Xs as DialogContent$1, Yc as composeEventHandlers, Yi as readThemeScopeContext, Yu as unsafeAsEditorBlockId, Zs as DialogDescription$1, _c as usePortalContainer, _o as replaceInlineTextRange, ac as DialogContent, al as useComposedRefs, an as getDashboardBaseUrl, bc as __awaiter, bi as getRichTextImageSize, bn as useEditorUiStoreInstance, cc as DialogPortal, co as inlineTextEqual, ec as DialogTitle$1, el as useControlReadiness, er as backgroundColorTokens, fo as normalizeInlineText, go as removeInlineTextMarkFromRange, ho as plainTextToInlineText, i as usePreviewSidebarNavigation, ic as DialogClose, id as assertNever, io as applyInlineTextMarkToRange, iu as asLayoutVariantKey, j as usePreviewRenderBackgrounds, kl as surfaceForegroundValue, lc as DialogTitle, lo as inlineTextHighlightTones, lr as rankBackgroundImagePoolItems, nc as overlayScrimClass, ni as getBlockDefinition, nr as defaultBackgroundOverrideForMode, o as usePreviewPageDesignEditorState, oc as DialogDescription, od as unsafeAsMediaAssetId, ol as cn$2, ou as authoredValuesEqual, po as normalizeInlineTextMarks, ps as assertNever$1, sc as DialogOverlay, sd as unsafeAsPositiveByteCount, so as inlineTextAccentTones, su as generateUuidV4, tl as cva, uo as inlineTextToPlainText, vo as truncateInlineText, wc as __rest, wi as resolveMediaStorageUrl, x as cyclePageDesignBlockLook, xc as __extends, xi as computeMediaTransformStyle, yc as __assign, yn as useEditorUiStore, zl as normalizeRightAngle } from "./previewAssistantSlot-B61mZd81.mjs";
4
4
  import { A as LoaderCircle, F as Italic$1, G as FileText, H as Highlighter, I as Info, J as FileHeadphone, K as FileSpreadsheet, Kt as err, L as Image, M as ListOrdered, N as Link$1, R as ImageUp, S as Palette, St as Archive, W as File, Y as FileArchive, Z as EyeOff, a as Upload, c as Trash2, j as List, mt as Check, n as X, q as FilePlay, qt as ok, s as TriangleAlert, tt as Crop, vt as Bold$1, y as Pencil } from "./lucide-react-Dfgl3Vtq.mjs";
5
- import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-DmGIG9Hk.mjs";
6
- import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-LwE5yXvL.mjs";
5
+ import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-BZDIC-fA.mjs";
6
+ import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-BEXcWQeI.mjs";
7
7
  import * as React$1 from "react";
8
8
  import React, { Component, createContext, createRef, forwardRef, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -21689,7 +21689,7 @@ function InternalTabPanel(props) {
21689
21689
  })]
21690
21690
  }), /* @__PURE__ */ jsx(Button, {
21691
21691
  type: "button",
21692
- variant: "ghost",
21692
+ variant: "link",
21693
21693
  size: "sm",
21694
21694
  className: "h-7 shrink-0 px-2 text-xs",
21695
21695
  onClick: () => onSelectRouteId(null),
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $ as useFooterComposerState, $a as getGeneratedBlockIconStyleState, $c as buttonVariants, $i as FEATURE_CARD_GENERATED_ICON_SIZE_PX, $l as asRecord, $n as readSliderFieldUiConfig, $o as buildFontPreviewUrl, $s as DialogHeader, $t as listEntryPageContentSlots, $u as parseBookingLocalDate, A as usePreviewJoinOutcome, An as lifecycleOutcomeMessage, At as toRoutableLinkPayload, Au as knownSocialPlatforms, Bc as FocusScope, Bn as withoutServerVersions, Bs as unwrapResponse, Bt as derivePromotedFieldPlan, Bu as knownRevision, C as pageDesignLookTiles, Ci as resolveImageUrlWithContext, Cl as updateButtonStyleHoverPreference, Cn as recoveryConflictCopy, Co as DEFAULT_THEME_RESPONSIVE_MODE, Cs as planRepeaterGridStartNewRow, Cu as mailingListTargetingChoiceIds, Dc as hideOthers, Di as resolveMediaSlotContract, Ds as resolveBlockTitle, Dt as sendPageCommand, Du as parseMailchimpInterestId, Ei as resolveMediaSlot, Es as resolveRepeaterGridColumnsForBreakpoint, Eu as parseMailchimpAudienceId, F as lookTilePosition, Fc as Content$1, Fi as buildResolveImageUrlContext, Fl as paletteValueKey, Fo as getHeaderLayout, Fr as siblingPath$2, Fs as OPERATION_ID_HEADER, Ft as NewsletterFormClient, Gc as createCollection, Gi as normalizeOfferingsPreviewGroupOrder, Gl as mediaSchema, Gn as createManifestFormAdapter, Gs as Callout, Gt as hasVisibilityConditions, Gu as createEditorRemoveBlockCommand, Hc as DismissableLayer, Hl as resolveMediaTransformForAspect, Hs as sidebarReturnView, Ht as evaluateVisibility, Hu as syncStateOf, I as lookTilesFor, Ic as Root2$1, Io as getHeaderStyle, Ir as withValueAtPath, J as footerLayoutSelection, Jc as createContextScope, Jn as getFieldDefault, Js as Dialog, Jt as createBlock, Ju as editorBlockCollectionOwnersEqual, Ka as admitLayoutGridForPlan, Kc as useControllableState, Kl as runtimeMediaSchema, Kn as createManifestValidation, Ko as offeredSiteStyles, Ks as CalloutDescription, Kt as isNonEmptyValue, Ku as createEditorReorderBlocksCommand, La as BLOCK_BUTTON_ROLE_OPTIONS, Lc as createPopperScope, Lo as concretePaletteFromTheme, Lt as useImageResolveContextOptional, M as usePreviewRenderReadiness, Mc as Portal$1, Mt as updateFooterComposition, Mu as publicProfileWeekdays, Nc as Anchor, Nt as footerCreditLine, Nu as publishedContactDetails, Ot as missingReceiptError, Ou as parseNewsletterListId, Pc as Arrow$1, Pr as getAtPath, Q as useFooterAuthoringOptional, Qa as getBlockIconSemanticId, Qc as Button$1, Qi as themeRuntimeScopeProps, Ql as mediaIdentifierSchema, Qn as readNumberFieldUiConfig, Qo as getGradientPreset, Qs as DialogFooter, Qt as isSurfaceSlotBlockTarget, Qu as formatDateTime, R as selectedLookTile, Ra as isBlockButtonRole, Rc as useSize, Rl as isRotationDimensionSwap, Ro as concretePaletteToTheme, Rt as FormNodeClient, Si as resolveImageSourceSetWithContext, Sl as resolveButtonStyleSelection, Sn as useSidebarView, Ss as normalizeRepeaterGridSpan, Su as DEFAULT_MAILING_LIST_TARGETING, Tl as buttonStyleSelectionKey, Tn as unfinishedBlockCopy, To as resolveVisiblePromotedFieldPathsForEditorBlock, Ts as resolveRepeaterGridBreakpointForWidth, Tt as LeaseNoticeButtons, Tu as parseBrevoListId, U as usePreviewAuth, Ui as inferLegacyOfferingsPreviewGroupOrder, Ul as getDirectImageUrlForMediaAsset, Ut as getFieldIntent, Uu as valueStatus, Vc as useFocusGuards, Vl as parseAspectRatioValue, Vn as deriveEditorValuePublicationState, Vo as defaultPolicyPageFlowPresetId, Vt as collectVisibleWhenWatchPaths, Vu as pristineValueSync, Wc as useDirection, Wi as isOfferingsPreviewSourceKey, Wn as initialBlockDraftValues, Wo as getCuratedSiteStyle, Wt as getWidgetKey, Wu as createEditorInsertBlockCommand, X as resolveFooterEngagementPreview, Xc as Primitive, Xi as buildThemeDataAttrs, Xn as normalizeFieldForCanonicalValidation, Xo as gradientToCss, Xs as DialogContent, Xt as deleteBlock, Xu as unsafeAsEditorBlockValues, Y as resolveFooterEngagementAuthoringState, Ya as isRichTextDoc, Yc as composeEventHandlers, Yi as resolveOfferingsPreviewGroupOrderEntries, Yn as getRepeaterItemDefault, Ys as DialogClose, Yt as createSlotBlock, Yu as unsafeAsEditorBlockId, Z as FooterComposerProvider, Za as sanitizeHref, Zl as PUBLIC_FILE_FIELD_KINDS, Zn as getGroupChildFields, Zo as GRADIENT_PRESETS, Zs as DialogDescription$1, Zt as deleteSlotBlock, Zu as formatDate, _c as usePortalContainer, _i as writeEventSelectionChips, _l as resolveRepeaterGridSpanFieldId, _n as resolveContentTitle, _s as planRepeaterGridSpanChange, _u as resolveFooterSections, aa as toFeatureCardIconSuggestionInputs, ad as parseMediaAssetId, al as useComposedRefs, ao as coerceInlineTextWithFallback, as as sectionTransitionFamilies, at as readFooterEngagementDraft, b as buildPageDesignEditorReadModelForBlocks, bl as buttonStyleSelectionParameterValue, bn as useEditorUiStoreInstance, bo as buildThemeRuntime, bs as flowRepeaterGridItems, bu as planFooterLayout, cr as planBackgroundTransition, cu as slugify$1, d as cycleSiteChromeSelectionId, dc as Content, di as EVENT_SELECTION_SCOPE_OPTIONS, dl as readLinkedEntryLease, ds as appearancePresets, dt as DONE, du as resolveMailingListDefaultDestination, ea as createFeatureCardIconKey, ec as DialogTitle$1, ed as resolveBookingBusinessTimeZone, en as listPageSurfaceContentSlots, eo as parseBlockIconValue, fc as Root$2, fi as EVENT_SELECTION_TYPE_OPTIONS, fl as canEditorWrite, ft as runHeldLifecycle, fu as mailingListProviderName, gi as toggleEventType, gl as resolveRepeaterGridRowFieldId, gn as resolvePageRouteSlug, gs as buildRepeaterGridDropTargets, hi as readEventSelectionChips, hl as resolveRepeaterGridColumnFieldId, hn as deriveRouteMetadataPresentation, ho as plainTextToInlineText, hs as planLayoutGridColumnEdit, hu as parseFooterCompositionV1, i as usePreviewSidebarNavigation, ia as suggestSemanticIconForFeatureCard, id as assertNever$1, in as blocksKeys, ir as imagePoolForOverride, is as defaultSectionTransitionVariantForFamily, it as footerPartKey, jc as Presence, jt as publishContentEntry, ju as parsePublicProfile, ko as sectionPhotoPresence, kt as footerMenuNavigationFacts, ku as knownSocialPlatformLabels, lc as DialogTitle, ld as parseSiteId, ll as isEdited, lr as rankBackgroundImagePoolItems, lt as useEntryController, mi as chooseScheduleScope, ml as isAcceptedRepeaterGridSpan, mn as routeLifecycleContext, ms as isInternalResolvedLinkValue, mu as normalizeLegacyFooterContentToV1, n as usePreviewAssistantSlot, na as parseFeatureCardGeneratedIconSizePx, nd as parseUtcIsoDateTimeString, ni as getBlockDefinition, nl as createSlot, nn as reorderSlotBlocks, no as parseGeneratedIconSetId, nt as footerHeaderStatus, nu as asAppearancePresetId, o as usePreviewPageDesignEditorState, oc as DialogDescription, ol as cn, on as getDashboardUrl, or as parseBackgroundOverrideFromContent, os as sectionTransitionFamilyForBoundaryOptionId, ot as footerEngagementEventFields, ou as authoredValuesEqual, pc as Trigger$1, pi as chooseAllEvents, pt as useServerRefresh, pu as deriveFooterEditorOverview, q as buildFooterRuntimeViewModel, qa as deriveFieldValidationPlan, qi as planOfferingPreviewCardSelection, qn as manifestFieldSectionOptions, qo as palettesForSiteStyle, qs as CalloutTitle, qt as partitionFieldsByIntent, qu as editorBlockCollectionOwnerKey, ra as resolveFeatureCardGeneratedIconSizePx, rd as toUtcIsoDateTimeString, ri as listBlockDescriptors, rn as withSlotCompositionHash, ro as parseSiteIconStyleGuideVersionId, rr as enabledBackgroundModes, rs as findCuratedPalette, rt as footerEngagementStarted, s as usePreviewPageDesignRenderState, si as buildNewsletterFormInteractiveIslandProps, sl as useShallow, ss as sectionTransitionVariantForBoundaryOptionId, st as parseFooterEngagementDraft, su as generateUuidV4, ta as getFeatureCardIconCompletion, tc as DialogTrigger, td as resolveBookingTimeZoneId, tl as cva, tn as reorderBlocks, to as parseGeneratedIconAssetId, tr as canCycleBackgroundOverrideValue, tu as isBodyFontFamily, u as useSiteChromeCustomizeOptional, ud as expectParsedBrandedId, ul as canWriteLinkedEntry, un as ApiRequestError, uo as inlineTextToPlainText, ur as resolveBackgroundCapability, uu as assessMailingListTargeting, v as useLiveFooterRuntime, va as buildFormInteractiveIslandProps, vc as ReactRemoveScroll, vl as siteOptionSources, vn as planLeaseNotice, vs as projectRepeaterGridLayout, vu as setFooterSectionSelected, w as setPageDesignBlockBackground, wl as updateButtonStyleSelectionChoice, ws as resolveRepeaterGridAcceptedSpans, wt as LeaseDiscardedNoticeView, xi as computeMediaTransformStyle, xl as findButtonStyleRecipe, xs as isRepeaterGridLayoutInvalid, xu as parseMailingListPlacementTargeting, yl as buttonStyleHoverPreferenceValue, yn as useEditorUiStore, yo as parseFieldDefinition, ys as findFirstAvailableRepeaterGridPlacement, yu as unsafeAsFooterModuleId, zc as useId$1, zn as toEditorBlockItem, zs as extractApiEnvelopeErrorDetails, zt as BlockApiProvider, zu as displayedValues } from "./previewAssistantSlot-Jpj_HDra.mjs";
3
+ import { $ as useFooterComposerState, $a as getGeneratedBlockIconStyleState, $c as buttonVariants, $i as getFeatureCardIconCompletion, $l as asRecord, $n as readSliderFieldUiConfig, $o as buildFontPreviewUrl, $s as DialogHeader, $t as listEntryPageContentSlots, $u as parseBookingLocalDate, A as usePreviewJoinOutcome, An as lifecycleOutcomeMessage, At as toRoutableLinkPayload, Au as knownSocialPlatforms, Bc as FocusScope, Bn as withoutServerVersions, Bs as unwrapResponse, Bt as derivePromotedFieldPlan, Bu as knownRevision, C as pageDesignLookTiles, Ci as resolveImageUrlWithContext, Cl as updateButtonStyleHoverPreference, Cn as recoveryConflictCopy, Co as DEFAULT_THEME_RESPONSIVE_MODE, Cs as planRepeaterGridStartNewRow, Cu as mailingListTargetingChoiceIds, Dc as hideOthers, Di as resolveMediaSlotContract, Ds as resolveBlockTitle, Dt as sendPageCommand, Du as parseMailchimpInterestId, Ei as resolveMediaSlot, Es as resolveRepeaterGridColumnsForBreakpoint, Eu as parseMailchimpAudienceId, F as lookTilePosition, Fc as Content$1, Fi as buildResolveImageUrlContext, Fl as paletteValueKey, Fo as getHeaderLayout, Fr as siblingPath$2, Fs as OPERATION_ID_HEADER, Ft as NewsletterFormClient, Gc as createCollection, Gi as planOfferingPreviewCardSelection, Gl as mediaSchema, Gn as createManifestFormAdapter, Gs as Callout, Gt as hasVisibilityConditions, Gu as createEditorRemoveBlockCommand, Hc as DismissableLayer, Hi as isOfferingsPreviewSourceKey, Hl as resolveMediaTransformForAspect, Hs as sidebarReturnView, Ht as evaluateVisibility, Hu as syncStateOf, I as lookTilesFor, Ic as Root2$1, Io as getHeaderStyle, Ir as withValueAtPath, J as footerLayoutSelection, Jc as createContextScope, Ji as buildThemeDataAttrs, Jn as getFieldDefault, Js as Dialog, Jt as createBlock, Ju as editorBlockCollectionOwnersEqual, Ka as admitLayoutGridForPlan, Kc as useControllableState, Kl as runtimeMediaSchema, Kn as createManifestValidation, Ko as offeredSiteStyles, Ks as CalloutDescription, Kt as isNonEmptyValue, Ku as createEditorReorderBlocksCommand, La as BLOCK_BUTTON_ROLE_OPTIONS, Lc as createPopperScope, Lo as concretePaletteFromTheme, Lt as useImageResolveContextOptional, M as usePreviewRenderReadiness, Mc as Portal$1, Mt as updateFooterComposition, Mu as publicProfileWeekdays, Nc as Anchor, Nt as footerCreditLine, Nu as publishedContactDetails, Ot as missingReceiptError, Ou as parseNewsletterListId, Pc as Arrow$1, Pr as getAtPath, Q as useFooterAuthoringOptional, Qa as getBlockIconSemanticId, Qc as Button$1, Qi as createFeatureCardIconKey, Ql as mediaIdentifierSchema, Qn as readNumberFieldUiConfig, Qo as getGradientPreset, Qs as DialogFooter, Qt as isSurfaceSlotBlockTarget, Qu as formatDateTime, R as selectedLookTile, Ra as isBlockButtonRole, Rc as useSize, Rl as isRotationDimensionSwap, Ro as concretePaletteToTheme, Rt as FormNodeClient, Si as resolveImageSourceSetWithContext, Sl as resolveButtonStyleSelection, Sn as useSidebarView, Ss as normalizeRepeaterGridSpan, Su as DEFAULT_MAILING_LIST_TARGETING, Tl as buttonStyleSelectionKey, Tn as unfinishedBlockCopy, To as resolveVisiblePromotedFieldPathsForEditorBlock, Ts as resolveRepeaterGridBreakpointForWidth, Tt as LeaseNoticeButtons, Tu as parseBrevoListId, U as usePreviewAuth, Ui as normalizeOfferingsPreviewGroupOrder, Ul as getDirectImageUrlForMediaAsset, Ut as getFieldIntent, Uu as valueStatus, Vc as useFocusGuards, Vi as inferLegacyOfferingsPreviewGroupOrder, Vl as parseAspectRatioValue, Vn as deriveEditorValuePublicationState, Vo as defaultPolicyPageFlowPresetId, Vt as collectVisibleWhenWatchPaths, Vu as pristineValueSync, Wc as useDirection, Wn as initialBlockDraftValues, Wo as getCuratedSiteStyle, Wt as getWidgetKey, Wu as createEditorInsertBlockCommand, X as resolveFooterEngagementPreview, Xc as Primitive, Xi as themeRuntimeScopeProps, Xn as normalizeFieldForCanonicalValidation, Xo as gradientToCss, Xs as DialogContent, Xt as deleteBlock, Xu as unsafeAsEditorBlockValues, Y as resolveFooterEngagementAuthoringState, Ya as isRichTextDoc, Yc as composeEventHandlers, Yn as getRepeaterItemDefault, Ys as DialogClose, Yt as createSlotBlock, Yu as unsafeAsEditorBlockId, Z as FooterComposerProvider, Za as sanitizeHref, Zi as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Zl as PUBLIC_FILE_FIELD_KINDS, Zn as getGroupChildFields, Zo as GRADIENT_PRESETS, Zs as DialogDescription$1, Zt as deleteSlotBlock, Zu as formatDate, _c as usePortalContainer, _i as writeEventSelectionChips, _l as resolveRepeaterGridSpanFieldId, _n as resolveContentTitle, _s as planRepeaterGridSpanChange, _u as resolveFooterSections, ad as parseMediaAssetId, al as useComposedRefs, ao as coerceInlineTextWithFallback, as as sectionTransitionFamilies, at as readFooterEngagementDraft, b as buildPageDesignEditorReadModelForBlocks, bl as buttonStyleSelectionParameterValue, bn as useEditorUiStoreInstance, bo as buildThemeRuntime, bs as flowRepeaterGridItems, bu as planFooterLayout, cr as planBackgroundTransition, cu as slugify$1, d as cycleSiteChromeSelectionId, dc as Content, di as EVENT_SELECTION_SCOPE_OPTIONS, dl as readLinkedEntryLease, ds as appearancePresets, dt as DONE, du as resolveMailingListDefaultDestination, ea as parseFeatureCardGeneratedIconSizePx, ec as DialogTitle$1, ed as resolveBookingBusinessTimeZone, en as listPageSurfaceContentSlots, eo as parseBlockIconValue, fc as Root$2, fi as EVENT_SELECTION_TYPE_OPTIONS, fl as canEditorWrite, ft as runHeldLifecycle, fu as mailingListProviderName, ga as buildFormInteractiveIslandProps, gi as toggleEventType, gl as resolveRepeaterGridRowFieldId, gn as resolvePageRouteSlug, gs as buildRepeaterGridDropTargets, hi as readEventSelectionChips, hl as resolveRepeaterGridColumnFieldId, hn as deriveRouteMetadataPresentation, ho as plainTextToInlineText, hs as planLayoutGridColumnEdit, hu as parseFooterCompositionV1, i as usePreviewSidebarNavigation, id as assertNever$1, in as blocksKeys, ir as imagePoolForOverride, is as defaultSectionTransitionVariantForFamily, it as footerPartKey, jc as Presence, jt as publishContentEntry, ju as parsePublicProfile, ko as sectionPhotoPresence, kt as footerMenuNavigationFacts, ku as knownSocialPlatformLabels, lc as DialogTitle, ld as parseSiteId, ll as isEdited, lr as rankBackgroundImagePoolItems, lt as useEntryController, mi as chooseScheduleScope, ml as isAcceptedRepeaterGridSpan, mn as routeLifecycleContext, ms as isInternalResolvedLinkValue, mu as normalizeLegacyFooterContentToV1, n as usePreviewAssistantSlot, na as suggestSemanticIconForFeatureCard, nd as parseUtcIsoDateTimeString, ni as getBlockDefinition, nl as createSlot, nn as reorderSlotBlocks, no as parseGeneratedIconSetId, nt as footerHeaderStatus, nu as asAppearancePresetId, o as usePreviewPageDesignEditorState, oc as DialogDescription, ol as cn, on as getDashboardUrl, or as parseBackgroundOverrideFromContent, os as sectionTransitionFamilyForBoundaryOptionId, ot as footerEngagementEventFields, ou as authoredValuesEqual, pc as Trigger$1, pi as chooseAllEvents, pt as useServerRefresh, pu as deriveFooterEditorOverview, q as buildFooterRuntimeViewModel, qa as deriveFieldValidationPlan, qi as resolveOfferingsPreviewGroupOrderEntries, qn as manifestFieldSectionOptions, qo as palettesForSiteStyle, qs as CalloutTitle, qt as partitionFieldsByIntent, qu as editorBlockCollectionOwnerKey, ra as toFeatureCardIconSuggestionInputs, rd as toUtcIsoDateTimeString, ri as listBlockDescriptors, rn as withSlotCompositionHash, ro as parseSiteIconStyleGuideVersionId, rr as enabledBackgroundModes, rs as findCuratedPalette, rt as footerEngagementStarted, s as usePreviewPageDesignRenderState, si as buildNewsletterFormInteractiveIslandProps, sl as useShallow, ss as sectionTransitionVariantForBoundaryOptionId, st as parseFooterEngagementDraft, su as generateUuidV4, ta as resolveFeatureCardGeneratedIconSizePx, tc as DialogTrigger, td as resolveBookingTimeZoneId, tl as cva, tn as reorderBlocks, to as parseGeneratedIconAssetId, tr as canCycleBackgroundOverrideValue, tu as isBodyFontFamily, u as useSiteChromeCustomizeOptional, ud as expectParsedBrandedId, ul as canWriteLinkedEntry, un as ApiRequestError, uo as inlineTextToPlainText, ur as resolveBackgroundCapability, uu as assessMailingListTargeting, v as useLiveFooterRuntime, vc as ReactRemoveScroll, vl as siteOptionSources, vn as planLeaseNotice, vs as projectRepeaterGridLayout, vu as setFooterSectionSelected, w as setPageDesignBlockBackground, wl as updateButtonStyleSelectionChoice, ws as resolveRepeaterGridAcceptedSpans, wt as LeaseDiscardedNoticeView, xi as computeMediaTransformStyle, xl as findButtonStyleRecipe, xs as isRepeaterGridLayoutInvalid, xu as parseMailingListPlacementTargeting, yl as buttonStyleHoverPreferenceValue, yn as useEditorUiStore, yo as parseFieldDefinition, ys as findFirstAvailableRepeaterGridPlacement, yu as unsafeAsFooterModuleId, zc as useId$1, zn as toEditorBlockItem, zs as extractApiEnvelopeErrorDetails, zt as BlockApiProvider, zu as displayedValues } from "./previewAssistantSlot-B61mZd81.mjs";
4
4
  import { $ as EllipsisVertical, A as LoaderCircle, B as ImageOff, E as Maximize2, G as FileText, Kt as err, L as Image, O as Lock, P as Link2, R as ImageUp, S as Palette, U as GripVertical, Z as EyeOff, _t as Box$1, b as PanelTop, bt as ArrowUpRight, c as Trash2, d as SlidersHorizontal, dt as ChevronRight, f as Settings, ft as ChevronLeft, g as RotateCcw, ht as Calendar$1, i as Video, it as Clock3, lt as CircleAlert, m as Rows3, mt as Check, n as X$1, nt as Copy, pt as ChevronDown, qt as ok, rt as Clock, s as TriangleAlert, t as lucide_react_exports, tt as Crop, u as Sparkles, v as Plus, x as PanelBottom, xt as ArrowDown, y as Pencil, yt as ArrowUp, z as ImagePlus } from "./lucide-react-Dfgl3Vtq.mjs";
5
- import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-DmGIG9Hk.mjs";
5
+ import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-BZDIC-fA.mjs";
6
6
  import { J as paletteTokenNameSchema, V as hexColorSchema, W as paletteColorEntries, c as isKnownIconName, i as ThemedButtonSpecimen, l as isIconPickerPreset, o as getIconComponent, s as getIconPickerOptionsForPreset, tt as VARIANT_ROLES, u as resolveIconPickerPreset } from "./ThemedButton-CVYz7h68.mjs";
7
- import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, O as Switch, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as SegmentedControl, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-DwxHT-2k.mjs";
7
+ import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, O as Switch, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as SegmentedControl, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-bq7gbKvn.mjs";
8
8
  import { n as TZDate } from "./src-DzXUmsyK.mjs";
9
9
  import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
10
- import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-DQCyswQ-.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-LwE5yXvL.mjs";
10
+ import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-BbzLMf-l.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-BEXcWQeI.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";
@@ -3583,7 +3583,12 @@ function matchesQuery(item, query) {
3583
3583
  if (!needle) return true;
3584
3584
  return [item.label, item.subtitle].filter((value) => typeof value === "string" && value.length > 0).some((value) => value.toLowerCase().includes(needle));
3585
3585
  }
3586
- function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel = "Loading…", error, emptySelectionLabel, selectedSummary, showBadges = true, helpText, className, triggerClassName, popoverContentClassName, showSearch = true, searchPlaceholder = "Search...", searchInputAriaLabel = "Search options" }) {
3586
+ function describeSelection(selected, props) {
3587
+ if (props.isLoading) return props.loadingLabel;
3588
+ if (selected.length === 0) return props.emptySelectionLabel ?? props.placeholder;
3589
+ return props.selectedSummary ? props.selectedSummary(selected) : `${selected.length} selected`;
3590
+ }
3591
+ function CommandMultiSelect({ id, items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel = "Loading…", error, emptySelectionLabel, selectedSummary, showBadges = true, helpText, className, triggerClassName, popoverContentClassName, showSearch = true, searchPlaceholder = "Search...", searchInputAriaLabel = "Search options" }) {
3587
3592
  const [open, setOpen] = useState(false);
3588
3593
  const triggerRef = useRef(null);
3589
3594
  const [portalContainer, setPortalContainer] = useState(null);
@@ -3591,18 +3596,6 @@ function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-
3591
3596
  const toggle = (id) => {
3592
3597
  onValuesChange(values.includes(id) ? values.filter((value) => value !== id) : [...values, id]);
3593
3598
  };
3594
- const buttonLabel = useMemo(() => {
3595
- if (isLoading) return loadingLabel;
3596
- if (selectedItems.length === 0) return emptySelectionLabel ?? placeholder;
3597
- return selectedSummary ? selectedSummary(selectedItems) : `${selectedItems.length} selected`;
3598
- }, [
3599
- emptySelectionLabel,
3600
- isLoading,
3601
- loadingLabel,
3602
- placeholder,
3603
- selectedItems,
3604
- selectedSummary
3605
- ]);
3606
3599
  const isDisabled = Boolean(disabled || isLoading || error);
3607
3600
  const handleOpenChange = (nextOpen) => {
3608
3601
  if (isDisabled) return;
@@ -3625,6 +3618,7 @@ function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-
3625
3618
  asChild: true,
3626
3619
  children: /* @__PURE__ */ jsx(FieldTrigger, {
3627
3620
  ref: triggerRef,
3621
+ id,
3628
3622
  role: "combobox",
3629
3623
  "aria-expanded": open,
3630
3624
  "aria-describedby": ariaDescribedBy,
@@ -3632,7 +3626,13 @@ function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-
3632
3626
  disabled: isDisabled,
3633
3627
  active: open,
3634
3628
  isPlaceholder: selectedItems.length === 0 && !emptySelectionLabel,
3635
- children: buttonLabel
3629
+ children: describeSelection(selectedItems, {
3630
+ isLoading,
3631
+ loadingLabel,
3632
+ emptySelectionLabel,
3633
+ placeholder,
3634
+ selectedSummary
3635
+ })
3636
3636
  })
3637
3637
  }), /* @__PURE__ */ jsx(PopoverContent, {
3638
3638
  container: portalContainer,
@@ -4733,6 +4733,7 @@ function ContentSpinner({ className, size = "xl" }) {
4733
4733
  */
4734
4734
  function EmptyState$1({ title, description, icon: Icon, action, className, variant = "default" }) {
4735
4735
  if (variant === "simple") return /* @__PURE__ */ jsx("div", {
4736
+ "data-assistant-text": true,
4736
4737
  className: cn("rounded-md border border-dashed p-6 text-sm text-muted-foreground", className),
4737
4738
  children: title
4738
4739
  });
@@ -4744,10 +4745,12 @@ function EmptyState$1({ title, description, icon: Icon, action, className, varia
4744
4745
  children: /* @__PURE__ */ jsx(Icon, { className: "h-6 w-6 text-muted-foreground" })
4745
4746
  }) : null,
4746
4747
  /* @__PURE__ */ jsx("h3", {
4748
+ "data-assistant-text": true,
4747
4749
  className: cn("font-semibold", Icon ? "mt-4 text-lg" : "text-base"),
4748
4750
  children: title
4749
4751
  }),
4750
4752
  description ? /* @__PURE__ */ jsx("p", {
4753
+ "data-assistant-text": true,
4751
4754
  className: "mt-2 text-sm text-muted-foreground",
4752
4755
  children: description
4753
4756
  }) : null,
@@ -20766,7 +20769,7 @@ function DateField({ path, backend, config, pickerDisplay, dateContext }) {
20766
20769
  className: "flex justify-end border-t p-2",
20767
20770
  children: /* @__PURE__ */ jsx(Button$1, {
20768
20771
  type: "button",
20769
- variant: "ghost",
20772
+ variant: "outline",
20770
20773
  size: "sm",
20771
20774
  onClick: () => {
20772
20775
  handleSelectDate(null);
@@ -20978,7 +20981,7 @@ function DateTimeField({ path, backend, config, pickerDisplay, dateContext }) {
20978
20981
  className: "flex justify-end gap-2",
20979
20982
  children: [/* @__PURE__ */ jsx(Button$1, {
20980
20983
  type: "button",
20981
- variant: "ghost",
20984
+ variant: "outline",
20982
20985
  size: "sm",
20983
20986
  disabled: !current,
20984
20987
  onClick: () => {
@@ -20989,7 +20992,7 @@ function DateTimeField({ path, backend, config, pickerDisplay, dateContext }) {
20989
20992
  children: "Clear time"
20990
20993
  }), /* @__PURE__ */ jsx(Button$1, {
20991
20994
  type: "button",
20992
- variant: "ghost",
20995
+ variant: "outline",
20993
20996
  size: "sm",
20994
20997
  onClick: () => {
20995
20998
  backend.setValue(path, null);
@@ -27296,8 +27299,8 @@ function moveOfferingPreviewOrderItem(keys, fromIndex, toIndex) {
27296
27299
  return next;
27297
27300
  }
27298
27301
  function mergeVisibleOrderWithStoredOrder(input) {
27299
- const visibleQueue = [...input.visibleOrder];
27300
- const visibleKeys = new Set(input.visibleOrder);
27302
+ const visibleQueue = input.visibleOrder.filter(isOfferingsPreviewSourceKey);
27303
+ const visibleKeys = new Set(visibleQueue);
27301
27304
  const next = [];
27302
27305
  for (const storedKey of input.storedOrder ?? []) {
27303
27306
  if (!isOfferingsPreviewSourceKey(storedKey)) continue;
@@ -28148,7 +28151,7 @@ function SocialImageField({ path, backend, config }) {
28148
28151
  error: error?.message,
28149
28152
  children: () => /* @__PURE__ */ jsx(Fragment$1, { children: image.kind === "loading" ? /* @__PURE__ */ jsx(ContentSpinner, {}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [image.kind === "unavailable" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(UnreadableMediaWarning, {}), /* @__PURE__ */ jsx(Button$1, {
28150
28153
  type: "button",
28151
- variant: "ghost",
28154
+ variant: "outline",
28152
28155
  onClick: () => setValue(null),
28153
28156
  children: "Remove"
28154
28157
  })] }) : null, /* @__PURE__ */ jsx(MediaEditor, {
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $s as DialogHeader, Bs as unwrapResponse, Ct as EditorWriteSurface, Ds as resolveBlockTitle, Js as Dialog, Qc as Button, Qs as DialogFooter, Sn as useSidebarView, U as usePreviewAuth, Un as editorAuthoredBlockDocument, Xr as publishReadinessWarning, Xs as DialogContent, Yr as PUBLISH_READINESS_COPY, Yu as unsafeAsEditorBlockId, Zr as readinessFactsFromPayload, Zs as DialogDescription, ba as pageTemplateFromEntry, bn as useEditorUiStoreInstance, dn as PREVIEW_CHROME_Z_INDEX, ec as DialogTitle, et as useFooterPanelOwnsNotice, ht as useSessionJournalHistory, jn as canDiscardDraft, js as editorAdmissionIsOpen, mt as useSessionJournal, n as usePreviewAssistantSlot, ol as cn, ou as authoredValuesEqual, pt as useServerRefresh, tl as cva, ut as useEntryEditorController, yn as useEditorUiStore, zu as displayedValues } from "./previewAssistantSlot-Jpj_HDra.mjs";
2
+ import { $s as DialogHeader, Bs as unwrapResponse, Ct as EditorWriteSurface, Ds as resolveBlockTitle, Js as Dialog, Qc as Button, Qs as DialogFooter, Sn as useSidebarView, U as usePreviewAuth, Un as editorAuthoredBlockDocument, Xr as publishReadinessWarning, Xs as DialogContent, Yr as PUBLISH_READINESS_COPY, Yu as unsafeAsEditorBlockId, Zr as readinessFactsFromPayload, Zs as DialogDescription, ba as pageTemplateFromEntry, bn as useEditorUiStoreInstance, dn as PREVIEW_CHROME_Z_INDEX, ec as DialogTitle, et as useFooterPanelOwnsNotice, ht as useSessionJournalHistory, jn as canDiscardDraft, js as editorAdmissionIsOpen, mt as useSessionJournal, n as usePreviewAssistantSlot, ol as cn, ou as authoredValuesEqual, pt as useServerRefresh, tl as cva, ut as useEntryEditorController, yn as useEditorUiStore, zu as displayedValues } from "./previewAssistantSlot-B61mZd81.mjs";
3
3
  import { $ as EllipsisVertical, A as LoaderCircle, S as Palette, X as Eye, _ as Redo2, o as Undo2, pt as ChevronDown, s as TriangleAlert, y as Pencil } from "./lucide-react-Dfgl3Vtq.mjs";
4
- import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-DQCyswQ-.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-LwE5yXvL.mjs";
6
- import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-CYTDvx4u.mjs";
4
+ import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-BbzLMf-l.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-BEXcWQeI.mjs";
6
+ import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-dwOn9XtM.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";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
3
3
  import { t as PreviewQueryProvider } from "./PreviewQueryProvider-BgIucg_5.mjs";
4
- import { $s as DialogHeader, B as initPreviewAuth, Bs as unwrapResponse, Co as DEFAULT_THEME_RESPONSIVE_MODE, Ct as EditorWriteSurface, Dn as parseStoredSidebarWidth, En as SIDEBAR_WIDTH, Et as getEditorClientId, Fi as buildResolveImageUrlContext, Fn as renderSourceFor, Fs as OPERATION_ID_HEADER, G as renderSiteChromeBlock, Gs as Callout, H as renewPreviewSession, Hn as unsafeAsLinkedContentEntryId, Is as API_ENDPOINTS, It as ImageResolveContextProvider, Jl as renderableMediaAssetSchema$1, Js as Dialog, Ks as CalloutDescription, Ln as resolveRenderedValues, Lr as LINKED_CONTENT_ENTRY_META_KEY, Mn as activeLinkedSaveHandover, Ms as editorAdmissionNotice, Nn as planLinkedSaveHandoverRetention, Ns as editorAdmissionSession, O as PreviewRenderObservationsProvider, Pn as remoteDraftValues, Ps as observeEditorAdmission, Qc as Button, Qi as themeRuntimeScopeProps, Qs as DialogFooter, Ru as parseEditLeaseScope, St as EditLeaseModal, U as usePreviewAuth, V as registerPreviewRenewalFetcher, Vs as selectedCanvasBlockId, W as usePreviewToken, Xi as buildThemeDataAttrs, Xs as DialogContent, Yl as indexRenderableMediaAssets, Yu as unsafeAsEditorBlockId, Zs as DialogDescription, _ as PreviewFooterProvider, _a as planSiteChromePlacement, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, bn as useEditorUiStoreInstance, bt as VIEWING_PARTICIPATION, ca as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, cl as baselineRevisionOf, ct as EntryControllerProvider, ec as DialogTitle, f as PreviewThemeJournalProvider, fa as planSiteOverlayHeaderClearance, fl as canEditorWrite, fn as createRoutingHelpers, g as previewThemeBase, gt as createEditorApiClientFactory, gu as parseFooterModuleId, i as usePreviewSidebarNavigation, id as assertNever$2, in as blocksKeys, l as SiteChromeCustomizeProvider, la as SITE_STICKY_CHROME_HEIGHT_FALLBACK, ll as isEdited, m as usePreviewThemeSourceOptional, ol as cn, ou as authoredValuesEqual, p as usePreviewThemeSource, pa as siteTopChromeMeasurementTargets, pn as createSnapshotFromPageRecord, ps as assertNever$1, pt as useServerRefresh, ql as buildRenderableMediaAssetIndex, r as PreviewSidebarBootstrap, sa as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, t as PreviewAssistantSlotProvider, tt as SessionJournalHost, ua as measureSiteStickyChromeHeightPx, un as ApiRequestError, ut as useEntryEditorController, v as useLiveFooterRuntime, vt as savedPageSurfaceMetadataReceipt, wo as getResponsiveScopeSpec, xn as useOptionalEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, yn as useEditorUiStore, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as getLinkedContentEntryMeta, zt as BlockApiProvider } from "./previewAssistantSlot-Jpj_HDra.mjs";
4
+ import { $s as DialogHeader, B as initPreviewAuth, Bs as unwrapResponse, Co as DEFAULT_THEME_RESPONSIVE_MODE, Ct as EditorWriteSurface, Dn as parseStoredSidebarWidth, En as SIDEBAR_WIDTH, Et as getEditorClientId, Fi as buildResolveImageUrlContext, Fn as renderSourceFor, Fs as OPERATION_ID_HEADER, G as renderSiteChromeBlock, Gs as Callout, H as renewPreviewSession, Hn as unsafeAsLinkedContentEntryId, Is as API_ENDPOINTS, It as ImageResolveContextProvider, Ji as buildThemeDataAttrs, Jl as renderableMediaAssetSchema$1, Js as Dialog, Ks as CalloutDescription, Ln as resolveRenderedValues, Lr as LINKED_CONTENT_ENTRY_META_KEY, Mn as activeLinkedSaveHandover, Ms as editorAdmissionNotice, Nn as planLinkedSaveHandoverRetention, Ns as editorAdmissionSession, O as PreviewRenderObservationsProvider, Pn as remoteDraftValues, Ps as observeEditorAdmission, Qc as Button, Qs as DialogFooter, Ru as parseEditLeaseScope, St as EditLeaseModal, U as usePreviewAuth, V as registerPreviewRenewalFetcher, Vs as selectedCanvasBlockId, W as usePreviewToken, Xi as themeRuntimeScopeProps, Xs as DialogContent, Yl as indexRenderableMediaAssets, Yu as unsafeAsEditorBlockId, Zs as DialogDescription, _ as PreviewFooterProvider, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, aa as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, bn as useEditorUiStoreInstance, bt as VIEWING_PARTICIPATION, ca as measureSiteStickyChromeHeightPx, cl as baselineRevisionOf, ct as EntryControllerProvider, da as siteTopChromeMeasurementTargets, ec as DialogTitle, f as PreviewThemeJournalProvider, fl as canEditorWrite, fn as createRoutingHelpers, g as previewThemeBase, gt as createEditorApiClientFactory, gu as parseFooterModuleId, ha as planSiteChromePlacement, i as usePreviewSidebarNavigation, id as assertNever$2, in as blocksKeys, l as SiteChromeCustomizeProvider, ll as isEdited, m as usePreviewThemeSourceOptional, oa as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, ol as cn, ou as authoredValuesEqual, p as usePreviewThemeSource, pn as createSnapshotFromPageRecord, ps as assertNever$1, pt as useServerRefresh, ql as buildRenderableMediaAssetIndex, r as PreviewSidebarBootstrap, sa as SITE_STICKY_CHROME_HEIGHT_FALLBACK, t as PreviewAssistantSlotProvider, tt as SessionJournalHost, ua as planSiteOverlayHeaderClearance, un as ApiRequestError, ut as useEntryEditorController, v as useLiveFooterRuntime, vt as savedPageSurfaceMetadataReceipt, wo as getResponsiveScopeSpec, xn as useOptionalEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, yn as useEditorUiStore, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as getLinkedContentEntryMeta, zt as BlockApiProvider } from "./previewAssistantSlot-B61mZd81.mjs";
5
5
  import { U as GripVertical } from "./lucide-react-Dfgl3Vtq.mjs";
6
- import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-DmGIG9Hk.mjs";
6
+ import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-BZDIC-fA.mjs";
7
7
  import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
8
- import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-CYTDvx4u.mjs";
8
+ import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-dwOn9XtM.mjs";
9
9
  import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { useQueryClient } from "@tanstack/react-query";
@@ -4446,10 +4446,10 @@ function resolveShellThemeRoles(props, journalSource) {
4446
4446
  }
4447
4447
  const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
4448
4448
  const PreviewEditorSidebar = React.lazy(async () => {
4449
- return { default: (await import("./PreviewEditorSidebar-D4SBxGU6.mjs")).PreviewEditorSidebar };
4449
+ return { default: (await import("./PreviewEditorSidebar-DVsPNcos.mjs")).PreviewEditorSidebar };
4450
4450
  });
4451
4451
  const PreviewEditorUI = React.lazy(async () => {
4452
- return { default: (await import("./PreviewEditorUI-D8mUct32.mjs")).PreviewEditorUI };
4452
+ return { default: (await import("./PreviewEditorUI-B-pq3aZc.mjs")).PreviewEditorUI };
4453
4453
  });
4454
4454
  function renderShellProviders(input) {
4455
4455
  if (!input.themeRoles) return input.content;