@riverbankcms/sdk 0.175.0 → 0.176.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.
- package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
- package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-D-l374tU.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
- package/dist/_dts/{client-B6tCvmG4.d.ts → client-D4p0J1lK.d.ts} +1 -1
- package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
- package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
- package/dist/_dts/{index-CQUzwOxO.d.ts → index-CKkkCgb6.d.ts} +1 -1
- package/dist/_dts/{index-Bl5_pjmq.d.ts → index-CoLcwjqJ.d.ts} +1 -1
- package/dist/_dts/{index-_pXaCO12.d.ts → index-D-ai8IQd.d.ts} +4 -4
- package/dist/_dts/{index-OtazQE3U.d.ts → index-DDsfmM4d.d.ts} +2 -2
- package/dist/_dts/{index-Btp5nIoz.d.ts → index-EJMo-KSo.d.ts} +2 -2
- package/dist/_dts/{index-DmhFb6R1.d.ts → index-ZKEDvLuN.d.ts} +1 -1
- package/dist/_dts/{index-YRQulWB4.d.ts → index-tcPtGdag.d.ts} +3 -3
- package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
- package/dist/_dts/{request-BT8i_vH-.d.ts → request-B8jVdvgI.d.ts} +374 -24
- package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-Be4iL6-F.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +5 -177
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CXL1QJSY.d.ts → types-BXMX4z2j.d.ts} +7 -7
- package/dist/_dts/{types-C0XZnjXz.d.ts → types-DXY64Xh4.d.ts} +4 -4
- package/dist/_dts/{types-OKzbqRBx.d.ts → types-lwSgCWZ4.d.ts} +11 -2
- package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-C5xp--Fu.d.ts} +7 -4
- package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
- package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
- package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
- package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
- package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
- package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
- package/dist/client/{Page-CWN_8cLZ.mjs → Page-F3lhDvw1.mjs} +329 -268
- package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
- package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
- package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
- package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
- package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +36 -3
- package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
- package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
- package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
- package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
- package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -4
- package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
- package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
- package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
- package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
- package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
- package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -22
- package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
- package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
- package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
- package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
- package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
- package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
- package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
- package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
- package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-0xyUPWUB.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +38 -35
- package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +77 -47
- package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +436 -278
- package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-DbKozRSn.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +16 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BYezcMx5.mjs} +8 -0
- package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
- package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
- package/dist/server/{client-CgghATBm.mjs → client-Bvag5OtW.mjs} +35 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
- package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
- package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
- package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-D23o5QgC.mjs} +111 -66
- package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-BuoXWT9y.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-3puM5SM8.mjs → validation-CozQ7wE0.mjs} +4 -4
- package/dist/server/{version-B8g-Wx57.mjs → version-CgCWRFEY.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Jt as MediaNodeServer, Ut as CardListContentPart, Yt as EventQuickFacts, an as formatCoursePrice, cn as formatEventPriceAmount, ct as formatBookingSchedulePresentation, ln as formatEventPriceDisplay, on as formatEventDepositNote, sn as formatEventPrice, ut as closedRunCopy } from "./shop.interactive-
|
|
3
|
-
import { $
|
|
4
|
-
import {
|
|
2
|
+
import { Jt as MediaNodeServer, Ut as CardListContentPart, Yt as EventQuickFacts, an as formatCoursePrice, cn as formatEventPriceAmount, ct as formatBookingSchedulePresentation, ln as formatEventPriceDisplay, on as formatEventDepositNote, sn as formatEventPrice, ut as closedRunCopy } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { $r as eventVenuePlace, Bo as nextLiveRunSessionStartMs, Ho as resolveWholeSeriesBookingPhase, Qa as resolveEventRegistrationScopedEvents, Qo as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Tr as ImagePresets, Vo as orderedLiveRunSessions, Zr as eventOnlinePlace, as as publicEventPricingDisplay, cs as resolveExactOrFreePriceDisplay, ei as formatEventLocation, fo as formatEventRemainingPlaces, gi as formatTime, go as getEventAvailabilityStatus, ho as getEventAvailability, ii as eventDateOptions, is as publicEventPricingCurrency, li as formatEventCompactDateRail, lo as isBookableEvent, mi as formatEventTimeRange, mo as formatTotalCapacity, pi as formatEventRunDates, rs as isPublicEventPricingOptionDisplayable, ss as publicEventPricingType, ts as formatBookingPriceDisplay, ui as formatEventDateParts, vo as isEventFull, zo as CANCELLED_SESSION_STATUS } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { Kt as formatDate, Yt as formatDateTimeRange, an as compareLocalScheduleDates, cn as getLocalScheduleDate, dn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, nn as toScheduledBookingDateTime, pn as toBookingTimeZone, qt as formatDateRange, sn as getBookingLocalDateKey } from "./noop-CaQxI-Js.mjs";
|
|
5
5
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
6
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
7
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
8
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
9
|
-
import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-
|
|
10
|
-
import {
|
|
7
|
+
import { t as LocationMapActions } from "./LocationMapActions-myIQIvQL.mjs";
|
|
8
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
9
|
+
import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
|
|
10
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-BfsVyPvB.mjs";
|
|
11
11
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -349,10 +349,7 @@ function offeringFacts(event, places, offering) {
|
|
|
349
349
|
label: "Length",
|
|
350
350
|
value: sessions
|
|
351
351
|
}] : lengthFact(event, !offering || course),
|
|
352
|
-
...offering
|
|
353
|
-
label: "Venue",
|
|
354
|
-
value: formatEventLocation(event)
|
|
355
|
-
}] : [],
|
|
352
|
+
...offering ? placeFact(event) : [],
|
|
356
353
|
...places ? [{
|
|
357
354
|
label: "Places",
|
|
358
355
|
value: places,
|
|
@@ -364,6 +361,13 @@ function offeringFacts(event, places, offering) {
|
|
|
364
361
|
}]
|
|
365
362
|
];
|
|
366
363
|
}
|
|
364
|
+
/** An online event, or one whose address follows the booking, says so where a venue would go. */
|
|
365
|
+
function placeFact(event) {
|
|
366
|
+
return event.venue || event.addressAfterBooking || event.deliveryMode !== "in_person" ? [{
|
|
367
|
+
label: "Venue",
|
|
368
|
+
value: formatEventLocation(event)
|
|
369
|
+
}] : [];
|
|
370
|
+
}
|
|
367
371
|
function lengthFact(event, shown) {
|
|
368
372
|
const minutes = Math.round((Date.parse(event.endsAt) - Date.parse(event.startsAt)) / 6e4);
|
|
369
373
|
return shown && minutes > 0 ? [{
|
|
@@ -910,7 +914,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
|
|
|
910
914
|
})
|
|
911
915
|
}) : null;
|
|
912
916
|
}
|
|
913
|
-
function EventFacts({ selection, selected, venue, online, teamMembers, pricing, showCapacity, lookSlots }) {
|
|
917
|
+
function EventFacts({ selection, selected, venue, online, addressAfterBooking, teamMembers, pricing, showCapacity, lookSlots }) {
|
|
914
918
|
const { date, timeRange } = formatEventDateParts({
|
|
915
919
|
startsAt: selected.startsAt,
|
|
916
920
|
endsAt: selected.endsAt,
|
|
@@ -934,7 +938,8 @@ function EventFacts({ selection, selected, venue, online, teamMembers, pricing,
|
|
|
934
938
|
] }),
|
|
935
939
|
/* @__PURE__ */ jsx(EventVenueFact, {
|
|
936
940
|
venue,
|
|
937
|
-
online
|
|
941
|
+
online,
|
|
942
|
+
addressAfterBooking
|
|
938
943
|
}),
|
|
939
944
|
/* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
|
|
940
945
|
showCapacity && selected.capacity != null ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -953,25 +958,43 @@ function EventFacts({ selection, selected, venue, online, teamMembers, pricing,
|
|
|
953
958
|
});
|
|
954
959
|
}
|
|
955
960
|
const eventOnlinePlaceShown = (event, showVenue) => showVenue ? eventOnlinePlace(event) : null;
|
|
961
|
+
const hasEventPlaceFact = (event, showVenue) => showVenue && (Boolean(event.venue) || eventOnlinePlace(event) !== null || event.addressAfterBooking === true);
|
|
962
|
+
const addressAfterBookingShown = (event, showVenue) => showVenue && event.addressAfterBooking === true;
|
|
963
|
+
/** Where a venue would go: online, the owner's word that the address follows the booking, or nothing at all. */
|
|
964
|
+
function EventPlaceWithoutVenue({ online, addressAfterBooking }) {
|
|
965
|
+
if (!online && !addressAfterBooking) return null;
|
|
966
|
+
if (!online) return /* @__PURE__ */ jsxs("div", {
|
|
967
|
+
className: "rb-mt-6",
|
|
968
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
969
|
+
className: "rb-label rb-mb-2",
|
|
970
|
+
children: "Venue"
|
|
971
|
+
}), /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL }) })]
|
|
972
|
+
});
|
|
973
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
974
|
+
className: "rb-mt-6",
|
|
975
|
+
children: [
|
|
976
|
+
/* @__PURE__ */ jsx("div", {
|
|
977
|
+
className: "rb-label rb-mb-2",
|
|
978
|
+
children: "Venue"
|
|
979
|
+
}),
|
|
980
|
+
/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
|
|
981
|
+
addressAfterBooking ? /* @__PURE__ */ jsxs("p", {
|
|
982
|
+
className: "rb-caption",
|
|
983
|
+
children: [EVENT_ADDRESS_AFTER_BOOKING_LABEL, "."]
|
|
984
|
+
}) : null,
|
|
985
|
+
online.note ? /* @__PURE__ */ jsx("p", {
|
|
986
|
+
className: "rb-caption",
|
|
987
|
+
children: online.note
|
|
988
|
+
}) : null
|
|
989
|
+
]
|
|
990
|
+
});
|
|
991
|
+
}
|
|
956
992
|
/** 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
|
-
|
|
960
|
-
|
|
961
|
-
|
|
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
|
-
}
|
|
993
|
+
function EventVenueFact({ venue, online, addressAfterBooking }) {
|
|
994
|
+
if (!venue) return /* @__PURE__ */ jsx(EventPlaceWithoutVenue, {
|
|
995
|
+
online,
|
|
996
|
+
addressAfterBooking
|
|
997
|
+
});
|
|
975
998
|
const { place, addressWithBooking } = eventVenuePlace(venue);
|
|
976
999
|
return /* @__PURE__ */ jsxs("div", {
|
|
977
1000
|
className: "rb-mt-6",
|
|
@@ -1168,6 +1191,7 @@ function SelectedEventDetailsView(props) {
|
|
|
1168
1191
|
const selected = selection.selected;
|
|
1169
1192
|
const venue = showVenue ? selected.venue : void 0;
|
|
1170
1193
|
const online = eventOnlinePlaceShown(selected, showVenue);
|
|
1194
|
+
const addressAfterBooking = addressAfterBookingShown(selected, showVenue);
|
|
1171
1195
|
const pricing = selectedEventPricing(selected, props.showCost);
|
|
1172
1196
|
return /* @__PURE__ */ jsxs("div", {
|
|
1173
1197
|
className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
|
|
@@ -1186,6 +1210,7 @@ function SelectedEventDetailsView(props) {
|
|
|
1186
1210
|
selected,
|
|
1187
1211
|
venue,
|
|
1188
1212
|
online,
|
|
1213
|
+
addressAfterBooking,
|
|
1189
1214
|
showCapacity,
|
|
1190
1215
|
teamMembers: selected.teamMembers ?? [],
|
|
1191
1216
|
pricing: /* @__PURE__ */ jsx(EventPricingDetails, {
|
|
@@ -1278,13 +1303,14 @@ function EventHeaderPanel(props) {
|
|
|
1278
1303
|
})
|
|
1279
1304
|
});
|
|
1280
1305
|
}
|
|
1281
|
-
function HeaderPanelFacts({ venue, online, teamMembers, pricing }) {
|
|
1306
|
+
function HeaderPanelFacts({ venue, online, addressAfterBooking, teamMembers, pricing }) {
|
|
1282
1307
|
return /* @__PURE__ */ jsxs("div", {
|
|
1283
1308
|
className: "rb-flex rb-flex-col rb-gap-4",
|
|
1284
1309
|
children: [
|
|
1285
1310
|
/* @__PURE__ */ jsx(EventVenueFact, {
|
|
1286
1311
|
venue,
|
|
1287
|
-
online
|
|
1312
|
+
online,
|
|
1313
|
+
addressAfterBooking
|
|
1288
1314
|
}),
|
|
1289
1315
|
/* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
|
|
1290
1316
|
pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
|
|
@@ -1302,10 +1328,11 @@ function headerPanelContent(props) {
|
|
|
1302
1328
|
return {
|
|
1303
1329
|
venue,
|
|
1304
1330
|
online,
|
|
1331
|
+
addressAfterBooking: addressAfterBookingShown(selection.selected, props.showVenue),
|
|
1305
1332
|
teamMembers,
|
|
1306
1333
|
pricing,
|
|
1307
1334
|
hasMap: Boolean(props.showMap && venue && props.selectedVenueDrawing),
|
|
1308
|
-
hasFacts:
|
|
1335
|
+
hasFacts: hasEventPlaceFact(selection.selected, props.showVenue) || teamMembers.length > 0 || pricing !== null,
|
|
1309
1336
|
hasDates: props.showOtherDates && scheduled > 0
|
|
1310
1337
|
};
|
|
1311
1338
|
}
|
package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-0xyUPWUB.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $
|
|
3
|
+
import { $a as richTextVariantCapabilities, $c as composeEventHandlers, $o as gradientToCss, $u as unsafeAsEditorBlockId, Ac as __spreadArrays, Cc as __assign, Ci as getRichTextImageSize, Dc as __read, Di as resolveMediaStorageUrl, E as selectedImageFromRenderableAsset, Ec as __generator, Ei as resolveImageUrlWithContext, F as lookTilePosition, Gl as parseAspectRatioValue, Gs as selectedCanvasBlockId, Hc as useSize, Hl as isRotationDimensionSwap, Jl as getImageUrl, Kl as resolveMediaTransformForAspect, L as nextLookTilePin, Nl as surfaceForegroundValue, Oc as __rest, Oi as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, P as lookPositionLabel, Qc as createContextScope, Qi as readThemeScopeContext, Qs as Dialog, S as pageDesignLookPosition, T as selectedImageFromMediaValue, Tc as __extends, Ul as normalizeRightAngle, Wl as formatAspectRatioToken, Ws as unwrapResponse, Xc as useControllableState, Ys as Callout, Za as RichTextDocSchema, al as cva, an as getDashboardBaseUrl, bn as useEditorUiStoreInstance, bo as replaceInlineTextRange, cc as DialogClose, cd as assertNever, cu as asLayoutVariantKey, dc as DialogOverlay, dd as unsafeAsPositiveByteCount, do as inlineTextEqual, du as generateUuidV4, ec as DialogContent$1, el as Primitive, er as backgroundColorTokens, eu as resolveManagedMediaReference, fc as DialogPortal, fo as inlineTextHighlightTones, go as normalizeInlineTextMarks, gs as assertNever$1, ho as normalizeInlineText, i as usePreviewSidebarNavigation, ic as DialogTitle$1, il as useControlReadiness, j as usePreviewRenderBackgrounds, kc as __spreadArray, lc as DialogContent, ll as useComposedRefs, lr as rankBackgroundImagePoolItems, ni as getBlockDefinition, nl as Button, nr as defaultBackgroundOverrideForMode, nu as mediaIdentifierSchema, o as usePreviewPageDesignEditorState, oc as overlayScrimClass, pc as DialogTitle, po as inlineTextToPlainText, ql as getDirectImageUrlForMediaAsset, qo as getCuratedSiteStyle, rc as DialogHeader, so as applyInlineTextMarkToRange, tc as DialogDescription$1, ts as getGradientPreset, uc as DialogDescription, ud as unsafeAsMediaAssetId, ul as cn$2, uo as inlineTextAccentTones, uu as authoredValuesEqual, vo as plainTextToInlineText, wc as __awaiter, wi as computeMediaTransformStyle, x as cyclePageDesignBlockLook, xc as usePortalContainer, xo as truncateInlineText, yn as useEditorUiStore, yo as removeInlineTextMarkFromRange } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
4
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-
|
|
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-
|
|
5
|
+
import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-DbKozRSn.mjs";
|
|
6
|
+
import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
|
|
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";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $ as useFooterComposerState, $
|
|
3
|
+
import { $ as useFooterComposerState, $c as composeEventHandlers, $i as themeRuntimeScopeProps, $n as readSliderFieldUiConfig, $o as gradientToCss, $s as DialogClose, $t as listEntryPageContentSlots, $u as unsafeAsEditorBlockId, A as usePreviewJoinOutcome, Ai as resolveMediaSlotContract, An as lifecycleOutcomeMessage, As as resolveBlockTitle, At as toRoutableLinkPayload, Au as parseMailchimpAudienceId, Ba as BLOCK_BUTTON_ROLE_OPTIONS, Bc as Root2$1, Bn as withoutServerVersions, Bo as concretePaletteFromTheme, Bt as derivePromotedFieldPlan, C as pageDesignLookTiles, Cl as buttonStyleHoverPreferenceValue, Cn as recoveryConflictCopy, Co as buildThemeRuntime, Cs as flowRepeaterGridItems, Cu as unsafeAsFooterModuleId, Dl as updateButtonStyleHoverPreference, Ds as resolveRepeaterGridAcceptedSpans, Dt as sendPageCommand, Du as mailingListTargetingChoiceIds, Ei as resolveImageUrlWithContext, El as resolveButtonStyleSelection, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Es as planRepeaterGridStartNewRow, Eu as DEFAULT_MAILING_LIST_TARGETING, F as lookTilePosition, Fc as Presence, Fr as siblingPath$2, Ft as NewsletterFormClient, Fu as parsePublicProfile, Gc as useFocusGuards, Gi as isOfferingsPreviewSourceKey, Gl as parseAspectRatioValue, Gn as createManifestFormAdapter, Gt as hasVisibilityConditions, Gu as pristineValueSync, Hc as useSize, Hl as isRotationDimensionSwap, Ht as evaluateVisibility, I as lookTilesFor, Ic as Portal$1, Ir as withValueAtPath, Iu as publicProfileWeekdays, J as footerLayoutSelection, Jc as useDirection, Ji as planOfferingPreviewCardSelection, Jn as getFieldDefault, Jt as createBlock, Ju as createEditorInsertBlockCommand, Kc as DismissableLayer, Ki as normalizeOfferingsPreviewGroupOrder, Kl as resolveMediaTransformForAspect, Kn as createManifestValidation, Ks as sidebarReturnView, Kt as isNonEmptyValue, Ku as syncStateOf, Lc as Anchor, Lt as useImageResolveContextOptional, Lu as publishedContactDetails, M as usePreviewRenderReadiness, Mo as sectionPhotoPresence, Mt as updateFooterComposition, Mu as parseNewsletterListId, Nt as footerCreditLine, Nu as knownSocialPlatformLabels, Ol as updateButtonStyleSelectionChoice, Oo as resolveVisiblePromotedFieldPathsForEditorBlock, Os as resolveRepeaterGridBreakpointForWidth, Ot as missingReceiptError, Pr as getAtPath, Pu as knownSocialPlatforms, Q as useFooterAuthoringOptional, Qa as isRichTextDoc, Qc as createContextScope, Qn as readNumberFieldUiConfig, Qs as Dialog, Qt as isSurfaceSlotBlockTarget, Qu as editorBlockCollectionOwnersEqual, R as selectedLookTile, Rc as Arrow$1, Ri as buildResolveImageUrlContext, Ro as getHeaderLayout, Rs as OPERATION_ID_HEADER, Rt as FormNodeClient, Sc as ReactRemoveScroll, Sl as siteOptionSources, Sn as useSidebarView, So as parseFieldDefinition, Ss as findFirstAvailableRepeaterGridPlacement, Su as setFooterSectionSelected, Ti as resolveImageSourceSetWithContext, Tl as findButtonStyleRecipe, Tn as unfinishedBlockCopy, Ts as normalizeRepeaterGridSpan, Tt as LeaseNoticeButtons, Tu as parseMailingListPlacementTargeting, U as usePreviewAuth, Uc as useId$1, Us as extractApiEnvelopeErrorDetails, Ut as getFieldIntent, Uu as displayedValues, Va as isBlockButtonRole, Vc as createPopperScope, Vn as deriveEditorValuePublicationState, Vo as concretePaletteToTheme, Vt as collectVisibleWhenWatchPaths, Wc as FocusScope, Wi as inferLegacyOfferingsPreviewGroupOrder, Wn as initialBlockDraftValues, Wo as defaultPolicyPageFlowPresetId, Ws as unwrapResponse, Wt as getWidgetKey, Wu as knownRevision, X as resolveFooterEngagementPreview, Xa as deriveFieldValidationPlan, Xc as useControllableState, Xi as resolveOfferingsPreviewGroupOrderEntries, Xl as runtimeMediaSchema, Xn as normalizeFieldForCanonicalValidation, Xo as palettesForSiteStyle, Xs as CalloutDescription, Xt as deleteBlock, Xu as createEditorReorderBlocksCommand, Y as resolveFooterEngagementAuthoringState, Ya as admitLayoutGridForPlan, Yc as createCollection, Yl as mediaSchema, Yn as getRepeaterItemDefault, Yo as offeredSiteStyles, Ys as Callout, Yt as createSlotBlock, Yu as createEditorRemoveBlockCommand, Z as FooterComposerProvider, Zi as buildThemeDataAttrs, Zn as getGroupChildFields, Zs as CalloutTitle, Zt as deleteSlotBlock, Zu as editorBlockCollectionOwnerKey, _c as Trigger$1, _i as chooseScheduleScope, _n as resolveContentTitle, _s as isInternalResolvedLinkValue, _u as deriveFooterEditorOverview, aa as suggestSemanticIconForFeatureCard, ac as DialogTrigger, ad as resolveBookingTimeZoneId, al as cva, ao as parseGeneratedIconSetId, at as readFooterEngagementDraft, au as isBodyFontFamily, b as buildPageDesignEditorReadModelForBlocks, bi as writeEventSelectionChips, bl as resolveRepeaterGridRowFieldId, bn as useEditorUiStoreInstance, bs as planRepeaterGridSpanChange, cd as assertNever$1, co as coerceInlineTextWithFallback, cr as planBackgroundTransition, cs as sectionTransitionFamilies, d as cycleSiteChromeSelectionId, dl as useShallow, dt as DONE, du as generateUuidV4, ea as FEATURE_CARD_GENERATED_ICON_SIZE_PX, ec as DialogContent, ed as unsafeAsEditorBlockValues, el as Primitive, en as listPageSurfaceContentSlots, eo as sanitizeHref, es as GRADIENT_PRESETS, ft as runHeldLifecycle, fu as slugify$1, gc as Root$2, gi as chooseAllEvents, gl as canEditorWrite, gn as resolvePageRouteSlug, gu as mailingListProviderName, hc as Content, hi as EVENT_SELECTION_TYPE_OPTIONS, hl as readLinkedEntryLease, hn as deriveRouteMetadataPresentation, hu as resolveMailingListDefaultDestination, i as usePreviewSidebarNavigation, ia as resolveFeatureCardGeneratedIconSizePx, ic as DialogTitle$1, id as resolveBookingBusinessTimeZone, in as blocksKeys, io as parseGeneratedIconAssetId, ir as imagePoolForOverride, it as footerPartKey, jc as hideOthers, jt as publishContentEntry, ju as parseMailchimpInterestId, ki as resolveMediaSlot, kl as buttonStyleSelectionKey, ks as resolveRepeaterGridColumnsForBreakpoint, kt as footerMenuNavigationFacts, ku as parseBrevoListId, ld as parseMediaAssetId, ll as useComposedRefs, lr as rankBackgroundImagePoolItems, ls as sectionTransitionFamilyForBoundaryOptionId, lt as useEntryController, md as expectParsedBrandedId, mi as EVENT_SELECTION_SCOPE_OPTIONS, ml as canWriteLinkedEntry, mn as routeLifecycleContext, ms as appearancePresets, mu as assessMailingListTargeting, n as usePreviewAssistantSlot, na as getFeatureCardIconCompletion, nc as DialogFooter, nd as formatDateTime, ni as getBlockDefinition, nl as Button$1, nn as reorderSlotBlocks, no as getGeneratedBlockIconStyleState, ns as buildFontPreviewUrl, nt as footerHeaderStatus, nu as mediaIdentifierSchema, o as usePreviewPageDesignEditorState, oa as toFeatureCardIconSuggestionInputs, od as parseUtcIsoDateTimeString, ol as createSlot, on as getDashboardUrl, oo as parseSiteIconStyleGuideVersionId, or as parseBackgroundOverrideFromContent, os as findCuratedPalette, ot as footerEngagementEventFields, ou as asAppearancePresetId, pc as DialogTitle, pd as parseSiteId, pl as isEdited, po as inlineTextToPlainText, pt as useServerRefresh, q as buildFooterRuntimeViewModel, ql as getDirectImageUrlForMediaAsset, qn as manifestFieldSectionOptions, qo as getCuratedSiteStyle, qt as partitionFieldsByIntent, qu as valueStatus, ra as parseFeatureCardGeneratedIconSizePx, rc as DialogHeader, rd as parseBookingLocalDate, ri as listBlockDescriptors, rl as buttonVariants, rn as withSlotCompositionHash, ro as parseBlockIconValue, rr as enabledBackgroundModes, rt as footerEngagementStarted, ru as asRecord, s as usePreviewPageDesignRenderState, sd as toUtcIsoDateTimeString, ss as defaultSectionTransitionVariantForFamily, st as parseFooterEngagementDraft, ta as createFeatureCardIconKey, tc as DialogDescription$1, td as formatDate, tn as reorderBlocks, to as getBlockIconSemanticId, tr as canCycleBackgroundOverrideValue, ts as getGradientPreset, tu as PUBLIC_FILE_FIELD_KINDS, u as useSiteChromeCustomizeOptional, uc as DialogDescription, ui as buildNewsletterFormInteractiveIslandProps, ul as cn, un as ApiRequestError, ur as resolveBackgroundCapability, us as sectionTransitionVariantForBoundaryOptionId, uu as authoredValuesEqual, v as useLiveFooterRuntime, vi as readEventSelectionChips, vl as isAcceptedRepeaterGridSpan, vn as planLeaseNotice, vo as plainTextToInlineText, vs as planLayoutGridColumnEdit, vu as normalizeLegacyFooterContentToV1, w as setPageDesignBlockBackground, wi as computeMediaTransformStyle, wl as buttonStyleSelectionParameterValue, ws as isRepeaterGridLayoutInvalid, wt as LeaseDiscardedNoticeView, wu as planFooterLayout, xc as usePortalContainer, xl as resolveRepeaterGridSpanFieldId, xs as projectRepeaterGridLayout, xu as resolveFooterSections, ya as buildFormInteractiveIslandProps, yi as toggleEventType, yl as resolveRepeaterGridColumnFieldId, yn as useEditorUiStore, ys as buildRepeaterGridDropTargets, yu as parseFooterCompositionV1, zc as Content$1, zl as paletteValueKey, zn as toEditorBlockItem, zo as getHeaderStyle, zt as BlockApiProvider } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
4
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-
|
|
5
|
+
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-DbKozRSn.mjs";
|
|
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-
|
|
7
|
+
import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, O as Switch, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as SegmentedControl, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-0xyUPWUB.mjs";
|
|
8
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-
|
|
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-
|
|
10
|
+
import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-D9s6dyMW.mjs";
|
|
11
|
+
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
|
|
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";
|
|
@@ -2920,6 +2920,29 @@ function Label({ className, ...props }) {
|
|
|
2920
2920
|
});
|
|
2921
2921
|
}
|
|
2922
2922
|
//#endregion
|
|
2923
|
+
//#region ../ui/src/combobox-active-row.ts
|
|
2924
|
+
/**
|
|
2925
|
+
* The highlighted row: one the pointer or arrow keys picked while it is still
|
|
2926
|
+
* listed, else the selected row, else the first. Setting null goes back to
|
|
2927
|
+
* following the selection.
|
|
2928
|
+
*/
|
|
2929
|
+
function useActiveRow(rows, selectedRowId) {
|
|
2930
|
+
const [pickedId, setPickedId] = useState(null);
|
|
2931
|
+
const listed = (id) => Boolean(id) && rows.some((row) => row.id === id);
|
|
2932
|
+
const current = listed(pickedId) ? pickedId : listed(selectedRowId) ? selectedRowId : rows[0]?.id ?? null;
|
|
2933
|
+
const move = (by) => {
|
|
2934
|
+
if (rows.length === 0) return;
|
|
2935
|
+
const index = rows.findIndex((row) => row.id === current);
|
|
2936
|
+
setPickedId(rows[index === -1 ? by === 1 ? 0 : rows.length - 1 : (index + by + rows.length) % rows.length]?.id ?? null);
|
|
2937
|
+
};
|
|
2938
|
+
return {
|
|
2939
|
+
id: current,
|
|
2940
|
+
row: rows.find((row) => row.id === current) ?? null,
|
|
2941
|
+
set: setPickedId,
|
|
2942
|
+
move
|
|
2943
|
+
};
|
|
2944
|
+
}
|
|
2945
|
+
//#endregion
|
|
2923
2946
|
//#region ../ui/src/combobox-keys.ts
|
|
2924
2947
|
const NONE = { tag: "none" };
|
|
2925
2948
|
const CLOSE = { tag: "close" };
|
|
@@ -2991,6 +3014,16 @@ function searchKeyIntent(key) {
|
|
|
2991
3014
|
preventDefault: intent.tag !== "none"
|
|
2992
3015
|
};
|
|
2993
3016
|
}
|
|
3017
|
+
/** Carries an intent out. */
|
|
3018
|
+
function applyComboboxIntent(intent, handlers) {
|
|
3019
|
+
switch (intent.tag) {
|
|
3020
|
+
case "open": return handlers.openAt(intent.fallback);
|
|
3021
|
+
case "move": return handlers.move(intent.by);
|
|
3022
|
+
case "choose": return handlers.choose();
|
|
3023
|
+
case "close": return handlers.close();
|
|
3024
|
+
case "none": return;
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
2994
3027
|
//#endregion
|
|
2995
3028
|
//#region ../ui/src/combobox-rows.ts
|
|
2996
3029
|
const COMBOBOX_NONE_ROW_ID = "__none__";
|
|
@@ -3442,36 +3475,6 @@ function Combobox(props) {
|
|
|
3442
3475
|
}) : null]
|
|
3443
3476
|
});
|
|
3444
3477
|
}
|
|
3445
|
-
function applyComboboxIntent(intent, handlers) {
|
|
3446
|
-
switch (intent.tag) {
|
|
3447
|
-
case "open": return handlers.openAt(intent.fallback);
|
|
3448
|
-
case "move": return handlers.move(intent.by);
|
|
3449
|
-
case "choose": return handlers.choose();
|
|
3450
|
-
case "close": return handlers.close();
|
|
3451
|
-
case "none": return;
|
|
3452
|
-
}
|
|
3453
|
-
}
|
|
3454
|
-
/**
|
|
3455
|
-
* The highlighted row: one the pointer or arrow keys picked while it is still
|
|
3456
|
-
* listed, else the selected row, else the first. Setting null goes back to
|
|
3457
|
-
* following the selection.
|
|
3458
|
-
*/
|
|
3459
|
-
function useActiveRow(rows, selectedRowId) {
|
|
3460
|
-
const [pickedId, setPickedId] = useState(null);
|
|
3461
|
-
const listed = (id) => Boolean(id) && rows.some((row) => row.id === id);
|
|
3462
|
-
const current = listed(pickedId) ? pickedId : listed(selectedRowId) ? selectedRowId : rows[0]?.id ?? null;
|
|
3463
|
-
const move = (by) => {
|
|
3464
|
-
if (rows.length === 0) return;
|
|
3465
|
-
const index = rows.findIndex((row) => row.id === current);
|
|
3466
|
-
setPickedId(rows[index === -1 ? by === 1 ? 0 : rows.length - 1 : (index + by + rows.length) % rows.length]?.id ?? null);
|
|
3467
|
-
};
|
|
3468
|
-
return {
|
|
3469
|
-
id: current,
|
|
3470
|
-
row: rows.find((row) => row.id === current) ?? null,
|
|
3471
|
-
set: setPickedId,
|
|
3472
|
-
move
|
|
3473
|
-
};
|
|
3474
|
-
}
|
|
3475
3478
|
function useFocusOnOpen(shouldFocus, inputRef) {
|
|
3476
3479
|
useEffect(() => {
|
|
3477
3480
|
if (shouldFocus) inputRef.current?.focus();
|
package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-CRjS4gAu.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
2
|
+
import { $u as unsafeAsEditorBlockId, As as resolveBlockTitle, Ca as pageTemplateFromEntry, Ct as EditorWriteSurface, Ps as editorAdmissionIsOpen, Qs as Dialog, Sn as useSidebarView, U as usePreviewAuth, Un as editorAuthoredBlockDocument, Uu as displayedValues, Ws as unwrapResponse, Xr as publishReadinessWarning, Yr as PUBLISH_READINESS_COPY, Zr as readinessFactsFromPayload, al as cva, bn as useEditorUiStoreInstance, dn as PREVIEW_CHROME_Z_INDEX, ec as DialogContent, et as useFooterPanelOwnsNotice, ht as useSessionJournalHistory, ic as DialogTitle, jn as canDiscardDraft, mt as useSessionJournal, n as usePreviewAssistantSlot, nc as DialogFooter, nl as Button, pt as useServerRefresh, rc as DialogHeader, tc as DialogDescription, ul as cn, ut as useEntryEditorController, uu as authoredValuesEqual, yn as useEditorUiStore } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
3
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-
|
|
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-
|
|
6
|
-
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-D9s6dyMW.mjs";
|
|
5
|
+
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-BuRYe2iL.mjs";
|
|
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 { $
|
|
4
|
+
import { $i as themeRuntimeScopeProps, $l as indexRenderableMediaAssets, $u as unsafeAsEditorBlockId, B as initPreviewAuth, Ct as EditorWriteSurface, Dn as parseStoredSidebarWidth, Do as getResponsiveScopeSpec, En as SIDEBAR_WIDTH, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Et as getEditorClientId, Fn as renderSourceFor, Fs as editorAdmissionNotice, G as renderSiteChromeBlock, Gs as selectedCanvasBlockId, H as renewPreviewSession, Hn as unsafeAsLinkedContentEntryId, Hu as parseEditLeaseScope, Is as editorAdmissionSession, It as ImageResolveContextProvider, Ln as resolveRenderedValues, Lr as LINKED_CONTENT_ENTRY_META_KEY, Ls as observeEditorAdmission, Mn as activeLinkedSaveHandover, Nn as planLinkedSaveHandoverRetention, O as PreviewRenderObservationsProvider, Pn as remoteDraftValues, Ql as renderableMediaAssetSchema$1, Qs as Dialog, Ri as buildResolveImageUrlContext, Rs as OPERATION_ID_HEADER, St as EditLeaseModal, U as usePreviewAuth, V as registerPreviewRenewalFetcher, W as usePreviewToken, Ws as unwrapResponse, Xs as CalloutDescription, Ys as Callout, Zi as buildThemeDataAttrs, Zl as buildRenderableMediaAssetIndex, _ as PreviewFooterProvider, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, bn as useEditorUiStoreInstance, bt as VIEWING_PARTICIPATION, bu as parseFooterModuleId, ca as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, cd as assertNever$2, ct as EntryControllerProvider, da as measureSiteStickyChromeHeightPx, ec as DialogContent, f as PreviewThemeJournalProvider, fl as baselineRevisionOf, fn as createRoutingHelpers, g as previewThemeBase, gl as canEditorWrite, gs as assertNever$1, gt as createEditorApiClientFactory, i as usePreviewSidebarNavigation, ic as DialogTitle, in as blocksKeys, l as SiteChromeCustomizeProvider, la as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, m as usePreviewThemeSourceOptional, ma as siteTopChromeMeasurementTargets, nc as DialogFooter, nl as Button, p as usePreviewThemeSource, pa as planSiteOverlayHeaderClearance, pl as isEdited, pn as createSnapshotFromPageRecord, pt as useServerRefresh, r as PreviewSidebarBootstrap, rc as DialogHeader, t as PreviewAssistantSlotProvider, tc as DialogDescription, tt as SessionJournalHost, ua as SITE_STICKY_CHROME_HEIGHT_FALLBACK, ul as cn, un as ApiRequestError, ut as useEntryEditorController, uu as authoredValuesEqual, v as useLiveFooterRuntime, va as planSiteChromePlacement, vt as savedPageSurfaceMetadataReceipt, xn as useOptionalEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, yn as useEditorUiStore, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as getLinkedContentEntryMeta, zs as API_ENDPOINTS, zt as BlockApiProvider } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
5
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-
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-DbKozRSn.mjs";
|
|
7
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-
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-BuRYe2iL.mjs";
|
|
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-
|
|
4449
|
+
return { default: (await import("./PreviewEditorSidebar-D8vUzXtI.mjs")).PreviewEditorSidebar };
|
|
4450
4450
|
});
|
|
4451
4451
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4452
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4452
|
+
return { default: (await import("./PreviewEditorUI-CRjS4gAu.mjs")).PreviewEditorUI };
|
|
4453
4453
|
});
|
|
4454
4454
|
function renderShellProviders(input) {
|
|
4455
4455
|
if (!input.themeRoles) return input.content;
|