@riverbankcms/sdk 0.101.0 → 0.103.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/README.md +10 -2
- package/dist/{PreviewEditorSidebar-DBpy0KTh.mjs → PreviewEditorSidebar-DkNpCPja.mjs} +430 -74
- package/dist/{PreviewEditorUI-Fg6I2R2T.mjs → PreviewEditorUI-DeNKtqk3.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BICQLAUF.mjs → PreviewQueryProvider-ZF6TXq5Q.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DFQP-Q53.mjs → SdkPreviewModeRuntime-5bCsXK2y.mjs} +694 -329
- package/dist/{SiteChromeCustomizeContext-GwZc89KN.mjs → SiteChromeCustomizeContext-CO1sTK_W.mjs} +538 -69
- package/dist/_dts/ai/src/contracts/proposals.d.ts +298 -298
- package/dist/_dts/ai/src/designer/rfc6902.d.ts +57 -1
- package/dist/_dts/ai/src/designer/themePatch.d.ts +16 -6
- package/dist/_dts/api/src/bookingVerticals.d.ts +53 -1
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +6 -6
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +14 -14
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +5 -5
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +227 -227
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/inlineText.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +177 -177
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/core/src/branded.d.ts +4 -0
- package/dist/_dts/core/src/person-records.d.ts +6 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +154 -18
- package/dist/_dts/db/src/schemas/forms.d.ts +15 -15
- package/dist/_dts/media-core/src/identifiers.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/CustomizeColorTokenPicker.d.ts +27 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +10 -2
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +43 -7
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +16 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +4 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +2 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +10 -10
- package/dist/_dts/sdk/src/next/revalidate.d.ts +14 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +3 -4
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +19 -19
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/cards/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +150 -144
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/schema.d.ts +199 -169
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +28 -26
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +9 -2
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +3 -3
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +50 -2
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +77 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +44 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/cli/index.mjs +58 -21
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +9 -1
- package/dist/client/client.mjs +379 -83
- package/dist/client/hooks.mjs +27 -6
- package/dist/client/rendering/client.mjs +46 -17
- package/dist/client/rendering.mjs +378 -82
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/{previewAuthStore-Da74OL0X.mjs → previewAuthStore-ByPPZqmp.mjs} +1 -0
- package/dist/{sdk-runtime-CP6Kwalv.mjs → sdk-runtime-C8whifOy.mjs} +2 -2
- package/dist/{separator-BVk7GvGN.mjs → separator-CM2C5Axs.mjs} +1 -1
- package/dist/server/components.mjs +357 -77
- package/dist/server/config-validation.mjs +26 -6
- package/dist/server/config.mjs +26 -6
- package/dist/server/data.mjs +26 -6
- package/dist/server/index.mjs +2 -2
- package/dist/server/next/revalidate.mjs +31 -1
- package/dist/server/next.mjs +361 -78
- package/dist/server/page-converter.mjs +19 -5
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +359 -77
- package/dist/server/rendering.mjs +359 -77
- package/dist/server/routing.mjs +40 -9
- package/dist/server/server.mjs +29 -7
- package/dist/server/theme-bridge.mjs +158 -36
- package/dist/server/theme.mjs +3 -0
- package/dist/styles/index.css +123 -30
- package/package.json +1 -1
package/dist/{SiteChromeCustomizeContext-GwZc89KN.mjs → SiteChromeCustomizeContext-CO1sTK_W.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as unwrapResponse, s as ApiRequestError } from "./previewAuthStore-
|
|
2
|
+
import { d as unwrapResponse, s as ApiRequestError } from "./previewAuthStore-ByPPZqmp.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import React, { cloneElement, createContext, createElement, forwardRef, isValidElement, memo, useCallback, useContext, useDebugValue, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -88654,6 +88654,7 @@ const themeV2RuntimeStyleFieldNames = [
|
|
|
88654
88654
|
"_sectionStyles",
|
|
88655
88655
|
"_containerStyles",
|
|
88656
88656
|
"_cardStyles",
|
|
88657
|
+
"_transitionStyles",
|
|
88657
88658
|
"styleGroup"
|
|
88658
88659
|
];
|
|
88659
88660
|
const themeV2BlockSpecificRawStyleFieldNames = [
|
|
@@ -89217,6 +89218,8 @@ const headerSchema = z$1.object({
|
|
|
89217
89218
|
navStyle: headerNavStyle,
|
|
89218
89219
|
navColor: themeColorTokenSchema.nullable().optional(),
|
|
89219
89220
|
navWeight: navFontWeight.default("medium"),
|
|
89221
|
+
navTypography: z$1.enum(["body", "heading"]).optional(),
|
|
89222
|
+
navTextSize: navLinkStyleSchema.shape.textSize,
|
|
89220
89223
|
container: headerContainerSchema,
|
|
89221
89224
|
border: headerBorderSchema,
|
|
89222
89225
|
shadow: componentShadowSchema.optional(),
|
|
@@ -90888,6 +90891,31 @@ function uniqueStrings(values) {
|
|
|
90888
90891
|
}
|
|
90889
90892
|
//#endregion
|
|
90890
90893
|
//#region ../theme-core/src/site-styles/sectionTransitions.ts
|
|
90894
|
+
function boundaryRuntimeMetrics(family, size, heightExpression) {
|
|
90895
|
+
return {
|
|
90896
|
+
family,
|
|
90897
|
+
size,
|
|
90898
|
+
heightCss: heightExpression.includes(" ") ? `calc(${heightExpression})` : heightExpression,
|
|
90899
|
+
reserveCss: `calc((${heightExpression}) / 2)`
|
|
90900
|
+
};
|
|
90901
|
+
}
|
|
90902
|
+
const sectionBoundaryRuntimeMetricsByTransition = {
|
|
90903
|
+
none: null,
|
|
90904
|
+
"soft-fade-short": boundaryRuntimeMetrics("gradient", "medium", "6rem + 2px"),
|
|
90905
|
+
"soft-fade-long": boundaryRuntimeMetrics("gradient", "spacious", "10rem"),
|
|
90906
|
+
"soft-fade-expansive": boundaryRuntimeMetrics("gradient", "expansive", "14rem"),
|
|
90907
|
+
"wave-edge": boundaryRuntimeMetrics("wave", "medium", "6rem + 2px"),
|
|
90908
|
+
"wave-edge-balanced": boundaryRuntimeMetrics("wave", "medium", "6rem + 2px"),
|
|
90909
|
+
"wave-edge-gentle": boundaryRuntimeMetrics("wave", "compact", "4.5rem + 2px"),
|
|
90910
|
+
"wave-edge-bold": boundaryRuntimeMetrics("wave", "large", "7rem + 2px"),
|
|
90911
|
+
"wave-edge-drift": boundaryRuntimeMetrics("wave", "medium", "6rem + 2px"),
|
|
90912
|
+
"angle-edge": boundaryRuntimeMetrics("angle", "medium", "6rem + 2px"),
|
|
90913
|
+
"angle-edge-subtle": boundaryRuntimeMetrics("angle", "compact", "4.5rem + 2px"),
|
|
90914
|
+
"angle-edge-steep": boundaryRuntimeMetrics("angle", "large", "7rem + 2px")
|
|
90915
|
+
};
|
|
90916
|
+
function boundaryRuntimeMetricsForTransition(transition) {
|
|
90917
|
+
return sectionBoundaryRuntimeMetricsByTransition[transition];
|
|
90918
|
+
}
|
|
90891
90919
|
const noneBoundaryOption = {
|
|
90892
90920
|
id: asBoundaryOptionId("break:none"),
|
|
90893
90921
|
label: "None",
|
|
@@ -91913,7 +91941,7 @@ function requireHeaderBrandPresentationSelection(plan) {
|
|
|
91913
91941
|
* optional nested styling fields that would otherwise leak from another Look.
|
|
91914
91942
|
*/
|
|
91915
91943
|
function baseHeader(theme) {
|
|
91916
|
-
const { navLinkStyle: _navLinkStyle, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
91944
|
+
const { navLinkStyle: _navLinkStyle, navTypography: _navTypography, navTextSize: _navTextSize, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
91917
91945
|
return {
|
|
91918
91946
|
...header,
|
|
91919
91947
|
navContainer: {
|
|
@@ -91986,12 +92014,12 @@ const headerStyleCatalog = defineExactCatalog()([
|
|
|
91986
92014
|
},
|
|
91987
92015
|
{
|
|
91988
92016
|
id: asHeaderStyleId("fine-line"),
|
|
91989
|
-
label: "
|
|
91990
|
-
description: "
|
|
92017
|
+
label: "Seamless",
|
|
92018
|
+
description: "Borderless surface with underline hover for a quieter page transition.",
|
|
91991
92019
|
supportedLayoutIds: supportedLayouts(["classic", "centered"]),
|
|
91992
92020
|
navInteraction: "underline-grow",
|
|
91993
|
-
surface: "
|
|
91994
|
-
defaultDepth: "
|
|
92021
|
+
surface: "neutral",
|
|
92022
|
+
defaultDepth: "none",
|
|
91995
92023
|
navTypography: "plain",
|
|
91996
92024
|
moods: [
|
|
91997
92025
|
"calm",
|
|
@@ -92651,7 +92679,7 @@ function applyHeaderStyle(theme, header, style) {
|
|
|
92651
92679
|
navStyle: "underline-grow",
|
|
92652
92680
|
navWeight: "medium",
|
|
92653
92681
|
navLinkStyle: underlineNavLinkStyle("text", void 0, style.navTypography),
|
|
92654
|
-
border:
|
|
92682
|
+
border: noHeaderBorder(),
|
|
92655
92683
|
ctaTreatment: "outline",
|
|
92656
92684
|
ctaVariant: ctaVariant("outline")
|
|
92657
92685
|
};
|
|
@@ -94667,6 +94695,7 @@ const compiledRuntimeStyleFieldNames = [
|
|
|
94667
94695
|
"_contentCardStyles",
|
|
94668
94696
|
"_heroLayoutStyles",
|
|
94669
94697
|
"_cardStyles",
|
|
94698
|
+
"_transitionStyles",
|
|
94670
94699
|
"blockLook",
|
|
94671
94700
|
"styleGroup"
|
|
94672
94701
|
];
|
|
@@ -95150,6 +95179,17 @@ function compileBlockRuntimeFields(input) {
|
|
|
95150
95179
|
});
|
|
95151
95180
|
const transitionTargetSurface = transitionTargetSurfaceForAdjacency(sectionAdjacencyForBlock(input));
|
|
95152
95181
|
const transitionClassName = transitionTargetSurface ? designRules.transitionClassName(input.block.appliedTransitionAfter, visualSectionSurface, transitionTargetSurface) : null;
|
|
95182
|
+
const transitionRuntime = transitionTargetSurface && transitionClassName ? compileTransitionRuntime({
|
|
95183
|
+
treatment: input.block.appliedTransitionAfter,
|
|
95184
|
+
from: {
|
|
95185
|
+
kind: "surface",
|
|
95186
|
+
surface: visualSectionSurface
|
|
95187
|
+
},
|
|
95188
|
+
to: {
|
|
95189
|
+
kind: "surface",
|
|
95190
|
+
surface: transitionTargetSurface
|
|
95191
|
+
}
|
|
95192
|
+
}) : null;
|
|
95153
95193
|
return {
|
|
95154
95194
|
blockId: input.block.blockId,
|
|
95155
95195
|
visualSectionSurface,
|
|
@@ -95174,28 +95214,115 @@ function compileBlockRuntimeFields(input) {
|
|
|
95174
95214
|
...cardStyles ? { _cardStyles: cardStyles } : {},
|
|
95175
95215
|
...heroRuntimeFields,
|
|
95176
95216
|
...input.block.appearancePresetId ? { blockLook: input.block.appearancePresetId } : {},
|
|
95217
|
+
...transitionRuntime ? { _transitionStyles: transitionRuntime } : {},
|
|
95177
95218
|
...transitionClassName ? { styleGroup: transitionClassName } : {}
|
|
95178
95219
|
}
|
|
95179
95220
|
};
|
|
95180
95221
|
}
|
|
95222
|
+
function compileTransitionRuntime(input) {
|
|
95223
|
+
return {
|
|
95224
|
+
treatment: input.treatment,
|
|
95225
|
+
from: input.from,
|
|
95226
|
+
to: input.to,
|
|
95227
|
+
cssVars: {
|
|
95228
|
+
from: transitionEndpointCssValue(input.from),
|
|
95229
|
+
to: transitionEndpointCssValue(input.to)
|
|
95230
|
+
}
|
|
95231
|
+
};
|
|
95232
|
+
}
|
|
95233
|
+
function compileBoundaryRuntime(input) {
|
|
95234
|
+
const styleGroup = (input.rules ?? defaultDesignRuntimeRules).transitionClassName(input.treatment, input.fromSurface, input.toSurface);
|
|
95235
|
+
if (!styleGroup) return null;
|
|
95236
|
+
const metrics = boundaryRuntimeMetricsForTransition(input.treatment);
|
|
95237
|
+
if (!metrics) return null;
|
|
95238
|
+
const transition = compileTransitionRuntime({
|
|
95239
|
+
treatment: input.treatment,
|
|
95240
|
+
from: {
|
|
95241
|
+
kind: "surface",
|
|
95242
|
+
surface: input.fromSurface
|
|
95243
|
+
},
|
|
95244
|
+
to: {
|
|
95245
|
+
kind: "surface",
|
|
95246
|
+
surface: input.toSurface
|
|
95247
|
+
}
|
|
95248
|
+
});
|
|
95249
|
+
return {
|
|
95250
|
+
boundaryId: input.boundaryId,
|
|
95251
|
+
previousBlockId: input.previousBlockId,
|
|
95252
|
+
nextBlockId: input.nextBlockId,
|
|
95253
|
+
treatment: transition.treatment,
|
|
95254
|
+
metrics,
|
|
95255
|
+
from: transition.from,
|
|
95256
|
+
to: transition.to,
|
|
95257
|
+
cssVars: transition.cssVars,
|
|
95258
|
+
styleGroup
|
|
95259
|
+
};
|
|
95260
|
+
}
|
|
95261
|
+
function transitionEndpointCssValue(endpoint) {
|
|
95262
|
+
switch (endpoint.kind) {
|
|
95263
|
+
case "color-token": return themeColorTokenCssValue(endpoint.token);
|
|
95264
|
+
case "surface": return themeColorTokenCssValue(tokenForTransitionSurface(endpoint.surface));
|
|
95265
|
+
default: return assertNever$5(endpoint);
|
|
95266
|
+
}
|
|
95267
|
+
}
|
|
95268
|
+
function tokenForTransitionSurface(surface) {
|
|
95269
|
+
switch (surface) {
|
|
95270
|
+
case "base":
|
|
95271
|
+
case "hero-image": return "background";
|
|
95272
|
+
case "muted-band": return "muted";
|
|
95273
|
+
case "accent-band": return "primary";
|
|
95274
|
+
case "brand-depth-band": return "primary-800";
|
|
95275
|
+
default: return assertNever$5(surface);
|
|
95276
|
+
}
|
|
95277
|
+
}
|
|
95278
|
+
function themeColorTokenCssValue(token) {
|
|
95279
|
+
return `rgb(var(--tb-${token}))`;
|
|
95280
|
+
}
|
|
95181
95281
|
/** Compiles a resolved page plan into legacy runtime fields for each resolved block. */
|
|
95182
95282
|
function compilePageRuntimeFields(input) {
|
|
95183
95283
|
const visualSurfaces = input.resolved.blocks.map(resolveVisualSectionSurfaceForBlock);
|
|
95184
95284
|
const terminalSectionAdjacency = input.terminalSectionAdjacency ?? { kind: "page-end" };
|
|
95185
|
-
|
|
95186
|
-
|
|
95187
|
-
|
|
95188
|
-
|
|
95189
|
-
|
|
95190
|
-
|
|
95191
|
-
|
|
95192
|
-
|
|
95193
|
-
|
|
95194
|
-
|
|
95195
|
-
|
|
95196
|
-
|
|
95197
|
-
|
|
95198
|
-
|
|
95285
|
+
const designRules = input.designRules ?? defaultDesignRuntimeRules;
|
|
95286
|
+
return {
|
|
95287
|
+
blocks: input.resolved.blocks.map((block, index) => {
|
|
95288
|
+
const nextSurface = visualSurfaces[index + 1];
|
|
95289
|
+
const compiled = compileBlockRuntimeFields({
|
|
95290
|
+
block,
|
|
95291
|
+
surfaceResolutionContext: input.surfaceResolutionContext,
|
|
95292
|
+
designRules: input.designRules,
|
|
95293
|
+
componentRules: input.componentRules,
|
|
95294
|
+
sectionSpacing: input.sectionSpacing,
|
|
95295
|
+
sectionAdjacency: nextSurface ? {
|
|
95296
|
+
kind: "next-section",
|
|
95297
|
+
surface: nextSurface
|
|
95298
|
+
} : terminalSectionAdjacency
|
|
95299
|
+
});
|
|
95300
|
+
return {
|
|
95301
|
+
...compiled,
|
|
95302
|
+
fields: stripPageLevelTransitionFields(compiled.fields)
|
|
95303
|
+
};
|
|
95304
|
+
}),
|
|
95305
|
+
boundaries: input.resolved.blocks.flatMap((block, index) => {
|
|
95306
|
+
const nextBlock = input.resolved.blocks[index + 1];
|
|
95307
|
+
const fromSurface = visualSurfaces[index];
|
|
95308
|
+
const toSurface = visualSurfaces[index + 1];
|
|
95309
|
+
if (!nextBlock || !fromSurface || !toSurface) return [];
|
|
95310
|
+
const boundary = compileBoundaryRuntime({
|
|
95311
|
+
boundaryId: `boundary:${block.blockId}:${nextBlock.blockId}`,
|
|
95312
|
+
previousBlockId: block.blockId,
|
|
95313
|
+
nextBlockId: nextBlock.blockId,
|
|
95314
|
+
treatment: block.appliedTransitionAfter,
|
|
95315
|
+
fromSurface,
|
|
95316
|
+
toSurface,
|
|
95317
|
+
rules: designRules
|
|
95318
|
+
});
|
|
95319
|
+
return boundary ? [boundary] : [];
|
|
95320
|
+
})
|
|
95321
|
+
};
|
|
95322
|
+
}
|
|
95323
|
+
function stripPageLevelTransitionFields(fields) {
|
|
95324
|
+
const { _transitionStyles, styleGroup, ...rest } = fields;
|
|
95325
|
+
return rest;
|
|
95199
95326
|
}
|
|
95200
95327
|
const paletteByRecipe = {
|
|
95201
95328
|
"brand-led": [
|
|
@@ -97851,7 +97978,6 @@ function siteStyleIdFromTheme(theme) {
|
|
|
97851
97978
|
*/
|
|
97852
97979
|
function compileEditorModelRuntime(input) {
|
|
97853
97980
|
const lookOverrideByBlockId = new Map(input.lookOverrides?.map((override) => [override.blockId, override]) ?? []);
|
|
97854
|
-
const transitionByBlockId = transitionByPreviousBlockId(input.editorModel.boundaries);
|
|
97855
97981
|
const blocks = input.editorModel.blocks.flatMap((block) => {
|
|
97856
97982
|
const look = lookForEditorRuntimeBlock(block, lookOverrideByBlockId.get(block.blockId) ?? null);
|
|
97857
97983
|
if (!look) return [];
|
|
@@ -97860,12 +97986,15 @@ function compileEditorModelRuntime(input) {
|
|
|
97860
97986
|
blockKind: block.blockKind,
|
|
97861
97987
|
purpose: previewCustomizePurpose,
|
|
97862
97988
|
appearancePresetId: look.id,
|
|
97863
|
-
...look.design
|
|
97864
|
-
transitionAfter: transitionByBlockId.get(block.blockId) ?? look.design.transitionAfter
|
|
97989
|
+
...look.design
|
|
97865
97990
|
}];
|
|
97866
97991
|
});
|
|
97867
|
-
if (blocks.length === 0) return {
|
|
97868
|
-
|
|
97992
|
+
if (blocks.length === 0) return {
|
|
97993
|
+
blocks: [],
|
|
97994
|
+
boundaries: []
|
|
97995
|
+
};
|
|
97996
|
+
const fallbackTransitionAfterByBlockId = new Map(blocks.map((block) => [block.blockId, block.transitionAfter]));
|
|
97997
|
+
const compiled = compilePageRuntimeFields({
|
|
97869
97998
|
resolved: resolveBlockDesignPlan({
|
|
97870
97999
|
policy: "user",
|
|
97871
98000
|
blocks,
|
|
@@ -97876,12 +98005,37 @@ function compileEditorModelRuntime(input) {
|
|
|
97876
98005
|
componentRules: input.componentRules,
|
|
97877
98006
|
sectionSpacing: input.sectionSpacing
|
|
97878
98007
|
});
|
|
98008
|
+
return {
|
|
98009
|
+
blocks: compiled.blocks,
|
|
98010
|
+
boundaries: compileEditorBoundaryRuntime({
|
|
98011
|
+
boundaries: input.editorModel.boundaries,
|
|
98012
|
+
blocks: compiled.blocks,
|
|
98013
|
+
fallbackTransitionAfterByPreviousBlockId: fallbackTransitionAfterByBlockId,
|
|
98014
|
+
designRules: input.designRules
|
|
98015
|
+
})
|
|
98016
|
+
};
|
|
97879
98017
|
}
|
|
97880
|
-
function
|
|
97881
|
-
|
|
98018
|
+
function compileEditorBoundaryRuntime(input) {
|
|
98019
|
+
const blockById = new Map(input.blocks.map((block) => [block.blockId, block]));
|
|
98020
|
+
return input.boundaries.flatMap((boundary) => {
|
|
98021
|
+
const previousBlock = blockById.get(boundary.previousBlockId);
|
|
98022
|
+
const nextBlock = blockById.get(boundary.nextBlockId);
|
|
98023
|
+
const transitionAfter = transitionAfterForEditorBoundary(boundary) ?? input.fallbackTransitionAfterByPreviousBlockId.get(boundary.previousBlockId) ?? null;
|
|
98024
|
+
if (!previousBlock || !nextBlock || !transitionAfter) return [];
|
|
98025
|
+
const compiled = compileBoundaryRuntime({
|
|
98026
|
+
boundaryId: boundary.boundaryId,
|
|
98027
|
+
previousBlockId: boundary.previousBlockId,
|
|
98028
|
+
nextBlockId: boundary.nextBlockId,
|
|
98029
|
+
treatment: transitionAfter,
|
|
98030
|
+
fromSurface: previousBlock.visualSectionSurface,
|
|
98031
|
+
toSurface: nextBlock.visualSectionSurface,
|
|
98032
|
+
rules: input.designRules
|
|
98033
|
+
});
|
|
98034
|
+
return compiled ? [compiled] : [];
|
|
98035
|
+
});
|
|
97882
98036
|
}
|
|
97883
|
-
function
|
|
97884
|
-
return
|
|
98037
|
+
function transitionAfterForEditorBoundary(boundary) {
|
|
98038
|
+
return boundary.availableBreaks.find((candidate) => candidate.id === boundary.breakChoice.effectiveValue)?.transitionAfter ?? null;
|
|
97885
98039
|
}
|
|
97886
98040
|
function applyCompiledRuntimeFieldsToContent(content, fields) {
|
|
97887
98041
|
const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, fields) : fields;
|
|
@@ -97890,6 +98044,47 @@ function applyCompiledRuntimeFieldsToContent(content, fields) {
|
|
|
97890
98044
|
...runtimeFields
|
|
97891
98045
|
};
|
|
97892
98046
|
}
|
|
98047
|
+
function retargetCompiledRuntimeFieldsForContentAdjacency(fields, adjacency) {
|
|
98048
|
+
if (!fields?._transitionStyles) return fields;
|
|
98049
|
+
const transition = fields._transitionStyles;
|
|
98050
|
+
const fromSurface = contentOwnedBackgroundEndpoint(adjacency.currentContent) ?? transition.from;
|
|
98051
|
+
const toSurface = contentOwnedBackgroundEndpoint(adjacency.nextContent) ?? transition.to;
|
|
98052
|
+
if (fromSurface === transition.from && toSurface === transition.to) return fields;
|
|
98053
|
+
return {
|
|
98054
|
+
...fields,
|
|
98055
|
+
_transitionStyles: compileTransitionRuntime({
|
|
98056
|
+
treatment: transition.treatment,
|
|
98057
|
+
from: fromSurface,
|
|
98058
|
+
to: toSurface
|
|
98059
|
+
})
|
|
98060
|
+
};
|
|
98061
|
+
}
|
|
98062
|
+
function retargetCompiledBoundaryRuntimeForContentAdjacency(boundary, adjacency) {
|
|
98063
|
+
const fromSurface = contentOwnedBackgroundEndpoint(adjacency.currentContent) ?? boundary.from;
|
|
98064
|
+
const toSurface = contentOwnedBackgroundEndpoint(adjacency.nextContent) ?? boundary.to;
|
|
98065
|
+
if (fromSurface === boundary.from && toSurface === boundary.to) return boundary;
|
|
98066
|
+
const transition = compileTransitionRuntime({
|
|
98067
|
+
treatment: boundary.treatment,
|
|
98068
|
+
from: fromSurface,
|
|
98069
|
+
to: toSurface
|
|
98070
|
+
});
|
|
98071
|
+
return {
|
|
98072
|
+
...boundary,
|
|
98073
|
+
from: transition.from,
|
|
98074
|
+
to: transition.to,
|
|
98075
|
+
cssVars: transition.cssVars
|
|
98076
|
+
};
|
|
98077
|
+
}
|
|
98078
|
+
function contentOwnedBackgroundEndpoint(content) {
|
|
98079
|
+
const background = readRecord(readRecord(content?._sectionStyles)?.background);
|
|
98080
|
+
if (background?.contentOwner !== "page-design-editor" || background.type !== "color") return null;
|
|
98081
|
+
const token = parseThemeColorToken(background.color);
|
|
98082
|
+
if (!token) return null;
|
|
98083
|
+
return {
|
|
98084
|
+
kind: "color-token",
|
|
98085
|
+
token
|
|
98086
|
+
};
|
|
98087
|
+
}
|
|
97893
98088
|
function preserveContentOwnedBackgroundFields(content, fields) {
|
|
97894
98089
|
const currentBackground = readRecord(readRecord(content._sectionStyles)?.background);
|
|
97895
98090
|
if (currentBackground?.contentOwner === "page-design-editor") return {
|
|
@@ -97946,12 +98141,6 @@ function readRecord(value) {
|
|
|
97946
98141
|
function pickExistingImageBackgroundFields(background) {
|
|
97947
98142
|
return Object.fromEntries(promotedBackgroundImageFieldNames.flatMap((fieldName) => Object.prototype.hasOwnProperty.call(background, fieldName) ? [[fieldName, background[fieldName]]] : []));
|
|
97948
98143
|
}
|
|
97949
|
-
function transitionByPreviousBlockId(boundaries) {
|
|
97950
|
-
return new Map(boundaries.flatMap((boundary) => {
|
|
97951
|
-
const option = boundary.availableBreaks.find((candidate) => candidate.id === boundary.breakChoice.effectiveValue) ?? null;
|
|
97952
|
-
return option ? [[boundary.previousBlockId, option.transitionAfter]] : [];
|
|
97953
|
-
}));
|
|
97954
|
-
}
|
|
97955
98144
|
function lookForEditorRuntimeBlock(block, override) {
|
|
97956
98145
|
if (override?.kind === "pinned") return block.availableLooks.find((look) => look.id === override.appearancePresetId) ?? null;
|
|
97957
98146
|
if (override?.kind === "auto") return block.look.kind === "auto" ? block.availableLooks.find((look) => look.id === block.look.effectiveValue) ?? null : block.availableLooks[0] ?? null;
|
|
@@ -98278,6 +98467,84 @@ function requiredQuickSiteChromeBackgroundColorToken(index) {
|
|
|
98278
98467
|
return token;
|
|
98279
98468
|
}
|
|
98280
98469
|
//#endregion
|
|
98470
|
+
//#region ../theme-core/src/site-styles/siteChromeNavPreferences.ts
|
|
98471
|
+
const headerNavTypographyOptions = [
|
|
98472
|
+
{
|
|
98473
|
+
value: "inherit",
|
|
98474
|
+
label: "Default"
|
|
98475
|
+
},
|
|
98476
|
+
{
|
|
98477
|
+
value: "body",
|
|
98478
|
+
label: "Body"
|
|
98479
|
+
},
|
|
98480
|
+
{
|
|
98481
|
+
value: "heading",
|
|
98482
|
+
label: "Heading"
|
|
98483
|
+
}
|
|
98484
|
+
];
|
|
98485
|
+
const headerNavFontSizeOptions = [
|
|
98486
|
+
{
|
|
98487
|
+
value: "inherit",
|
|
98488
|
+
label: "Default"
|
|
98489
|
+
},
|
|
98490
|
+
{
|
|
98491
|
+
value: "xs",
|
|
98492
|
+
label: "Tiny"
|
|
98493
|
+
},
|
|
98494
|
+
{
|
|
98495
|
+
value: "sm",
|
|
98496
|
+
label: "Small"
|
|
98497
|
+
},
|
|
98498
|
+
{
|
|
98499
|
+
value: "base",
|
|
98500
|
+
label: "Regular"
|
|
98501
|
+
},
|
|
98502
|
+
{
|
|
98503
|
+
value: "lg",
|
|
98504
|
+
label: "Large"
|
|
98505
|
+
}
|
|
98506
|
+
];
|
|
98507
|
+
const defaultHeaderNavPreferences = {
|
|
98508
|
+
typography: "inherit",
|
|
98509
|
+
fontSize: "inherit"
|
|
98510
|
+
};
|
|
98511
|
+
function readHeaderNavPreferences(theme) {
|
|
98512
|
+
const typography = theme?.header?.navTypography;
|
|
98513
|
+
const fontSize = theme?.header?.navTextSize;
|
|
98514
|
+
return typography === "body" || typography === "heading" ? {
|
|
98515
|
+
typography,
|
|
98516
|
+
fontSize: readHeaderNavFontSizePreference(fontSize)
|
|
98517
|
+
} : {
|
|
98518
|
+
...defaultHeaderNavPreferences,
|
|
98519
|
+
fontSize: readHeaderNavFontSizePreference(fontSize)
|
|
98520
|
+
};
|
|
98521
|
+
}
|
|
98522
|
+
function headerNavPreferencesEqual(left, right) {
|
|
98523
|
+
return left.typography === right.typography && left.fontSize === right.fontSize;
|
|
98524
|
+
}
|
|
98525
|
+
function withHeaderNavThemePreferences(theme, preferences) {
|
|
98526
|
+
const { navTypography: _navTypography, navTextSize: _navTextSize, ...headerWithoutPreference } = theme.header;
|
|
98527
|
+
const nextHeader = {
|
|
98528
|
+
...headerWithoutPreference,
|
|
98529
|
+
...preferences.typography === "inherit" ? {} : { navTypography: preferences.typography },
|
|
98530
|
+
...preferences.fontSize === "inherit" ? {} : { navTextSize: preferences.fontSize }
|
|
98531
|
+
};
|
|
98532
|
+
return {
|
|
98533
|
+
...theme,
|
|
98534
|
+
header: nextHeader
|
|
98535
|
+
};
|
|
98536
|
+
}
|
|
98537
|
+
function mergeHeaderNavTypographyPreference(style, preferences) {
|
|
98538
|
+
return preferences.typography === "inherit" && preferences.fontSize === "inherit" ? style : {
|
|
98539
|
+
...style,
|
|
98540
|
+
...preferences.typography === "inherit" ? {} : { typography: preferences.typography },
|
|
98541
|
+
...preferences.fontSize === "inherit" ? {} : { textSize: preferences.fontSize }
|
|
98542
|
+
};
|
|
98543
|
+
}
|
|
98544
|
+
function readHeaderNavFontSizePreference(value) {
|
|
98545
|
+
return value === "xs" || value === "sm" || value === "base" || value === "lg" ? value : "inherit";
|
|
98546
|
+
}
|
|
98547
|
+
//#endregion
|
|
98281
98548
|
//#region ../theme-core/src/site-styles/tokenRecipes.ts
|
|
98282
98549
|
const themeTokenRecipeOptions = {
|
|
98283
98550
|
palette: [
|
|
@@ -105922,6 +106189,7 @@ const eventCalendarLayout = [styledSection({
|
|
|
105922
106189
|
} },
|
|
105923
106190
|
seeAllUrl: { $bind: {
|
|
105924
106191
|
from: "content.seeAllUrl",
|
|
106192
|
+
fallback: "",
|
|
105925
106193
|
transforms: [{ id: "links.resolve" }]
|
|
105926
106194
|
} },
|
|
105927
106195
|
loadMoreText: { $bind: {
|
|
@@ -107145,6 +107413,7 @@ const eventListingBlockDefinition = {
|
|
|
107145
107413
|
} },
|
|
107146
107414
|
seeAllUrl: { $bind: {
|
|
107147
107415
|
from: "content.seeAllUrl",
|
|
107416
|
+
fallback: "",
|
|
107148
107417
|
transforms: [{ id: "links.resolve" }]
|
|
107149
107418
|
} },
|
|
107150
107419
|
loadMoreText: { $bind: {
|
|
@@ -123097,6 +123366,7 @@ const VERTICAL_IDS = [
|
|
|
123097
123366
|
"training_provider",
|
|
123098
123367
|
"retreat_centre",
|
|
123099
123368
|
"music_school",
|
|
123369
|
+
"voice_singing",
|
|
123100
123370
|
"performing_arts_school",
|
|
123101
123371
|
"community_wellbeing",
|
|
123102
123372
|
"venue_event_space"
|
|
@@ -123149,6 +123419,11 @@ const VERTICAL_BOOKING_PRESETS = [
|
|
|
123149
123419
|
preset("music_school.terms", "music_school", "course", "Term", "Terms", "Multi-week term blocks or fixed-date group courses."),
|
|
123150
123420
|
preset("music_school.workshops", "music_school", "workshop", "Workshop", "Workshops", "One-off workshops, masterclasses, or intensives."),
|
|
123151
123421
|
preset("music_school.performances", "music_school", "performance", "Performance", "Performances", "Concerts, recitals, showcases, or ticketed performances."),
|
|
123422
|
+
preset("voice_singing.lessons", "voice_singing", "appointment", "Voice session", "Voice sessions", "One-to-one singing lessons, voice coaching, or private practice sessions."),
|
|
123423
|
+
preset("voice_singing.classes", "voice_singing", "class", "Ongoing weekly session", "Ongoing weekly sessions", "Regular choirs, voice circles, community singing, or group practice."),
|
|
123424
|
+
preset("voice_singing.terms", "voice_singing", "course", "Singing term", "Singing terms", "Multi-week choir terms, voice courses, or fixed-date group programmes."),
|
|
123425
|
+
preset("voice_singing.workshops", "voice_singing", "workshop", "Workshop", "Workshops", "One-off singing workshops, voice journeys, or devotional singing sessions."),
|
|
123426
|
+
preset("voice_singing.performances", "voice_singing", "performance", "Performance", "Performances", "Choir concerts, sharing events, recitals, or community performances."),
|
|
123152
123427
|
preset("performing_arts_school.classes", "performing_arts_school", "class", "Class", "Classes", "Regular group classes, rehearsals, or weekly sessions."),
|
|
123153
123428
|
preset("performing_arts_school.terms", "performing_arts_school", "course", "Term", "Terms", "Multi-week term blocks or fixed-date course groups."),
|
|
123154
123429
|
preset("performing_arts_school.workshops", "performing_arts_school", "workshop", "Workshop", "Workshops", "One-off workshops, masterclasses, or intensives."),
|
|
@@ -154816,26 +155091,30 @@ function previewFooterLook(state, footerLookId) {
|
|
|
154816
155091
|
function previewTypographyPreset(state, typographyPresetId) {
|
|
154817
155092
|
return withPreviewedSelection(state, {
|
|
154818
155093
|
...state.previewed,
|
|
154819
|
-
|
|
155094
|
+
typographySelection: {
|
|
155095
|
+
kind: "preset",
|
|
155096
|
+
presetId: typographyPresetId,
|
|
155097
|
+
bodyFontOverride: null,
|
|
155098
|
+
headingFontOverride: null
|
|
155099
|
+
}
|
|
154820
155100
|
});
|
|
154821
155101
|
}
|
|
154822
|
-
function
|
|
155102
|
+
function setCustomTypography(state, typography) {
|
|
154823
155103
|
return withPreviewedSelection(state, {
|
|
154824
155104
|
...state.previewed,
|
|
154825
|
-
|
|
155105
|
+
typographySelection: {
|
|
155106
|
+
kind: "custom",
|
|
155107
|
+
typography
|
|
155108
|
+
}
|
|
154826
155109
|
});
|
|
154827
155110
|
}
|
|
154828
|
-
function
|
|
154829
|
-
return
|
|
154830
|
-
...state.previewed,
|
|
154831
|
-
typographyHeadingFontOverride
|
|
154832
|
-
});
|
|
155111
|
+
function applyTypographyDraftPatch(state, currentTypography, patch) {
|
|
155112
|
+
return setCustomTypography(state, patchTypography(currentTypography, patch));
|
|
154833
155113
|
}
|
|
154834
|
-
function
|
|
155114
|
+
function resetTypographyToSaved(state) {
|
|
154835
155115
|
return withPreviewedSelection(state, {
|
|
154836
155116
|
...state.previewed,
|
|
154837
|
-
|
|
154838
|
-
typographyHeadingFontOverride: null
|
|
155117
|
+
typographySelection: state.base.typographySelection
|
|
154839
155118
|
});
|
|
154840
155119
|
}
|
|
154841
155120
|
function previewPaletteVariant(state, paletteVariantId) {
|
|
@@ -154871,9 +155150,7 @@ function applyResolvedSelections(state, input) {
|
|
|
154871
155150
|
headerLayoutId: input.resolved.headerLayoutId,
|
|
154872
155151
|
headerStyleId: input.resolved.headerStyleId,
|
|
154873
155152
|
headerLookId: input.resolved.headerLookId,
|
|
154874
|
-
|
|
154875
|
-
typographyBodyFontOverride: input.resolved.typographyBodyFontOverride,
|
|
154876
|
-
typographyHeadingFontOverride: input.resolved.typographyHeadingFontOverride
|
|
155153
|
+
typographySelection: input.typographySelection ?? typographySelectionSnapshotFromFlat(input.resolved)
|
|
154877
155154
|
}),
|
|
154878
155155
|
warnings: input.warnings
|
|
154879
155156
|
};
|
|
@@ -155045,7 +155322,73 @@ function appendPaletteOverrideScopeNotice(notices, input) {
|
|
|
155045
155322
|
return [...notices, { kind }];
|
|
155046
155323
|
}
|
|
155047
155324
|
function selectionSnapshotsEqual(a, b) {
|
|
155048
|
-
return a.siteStyleId === b.siteStyleId && a.selectionVersion === b.selectionVersion && a.selectionUpdatedAt === b.selectionUpdatedAt && a.headerLayoutId === b.headerLayoutId && a.headerStyleId === b.headerStyleId && a.headerLookId === b.headerLookId && a.footerLookId === b.footerLookId && a.buttonPersonalityId === b.buttonPersonalityId && a.paletteVariantId === b.paletteVariantId && a.
|
|
155325
|
+
return a.siteStyleId === b.siteStyleId && a.selectionVersion === b.selectionVersion && a.selectionUpdatedAt === b.selectionUpdatedAt && a.headerLayoutId === b.headerLayoutId && a.headerStyleId === b.headerStyleId && a.headerLookId === b.headerLookId && a.footerLookId === b.footerLookId && a.buttonPersonalityId === b.buttonPersonalityId && a.paletteVariantId === b.paletteVariantId && typographySelectionsEqual(a.typographySelection, b.typographySelection) && paletteOverridesEqual(a.paletteOverrides, b.paletteOverrides);
|
|
155326
|
+
}
|
|
155327
|
+
function typographySelectionSnapshotFromFlat(input) {
|
|
155328
|
+
if (input.typographyPresetId === null && input.theme?.typography) return {
|
|
155329
|
+
kind: "custom",
|
|
155330
|
+
typography: input.theme.typography
|
|
155331
|
+
};
|
|
155332
|
+
return {
|
|
155333
|
+
kind: "preset",
|
|
155334
|
+
presetId: input.typographyPresetId ?? null,
|
|
155335
|
+
bodyFontOverride: input.typographyBodyFontOverride ?? null,
|
|
155336
|
+
headingFontOverride: input.typographyHeadingFontOverride ?? null
|
|
155337
|
+
};
|
|
155338
|
+
}
|
|
155339
|
+
function typographySelectionFlatFields(selection) {
|
|
155340
|
+
if (selection.kind === "custom") return {
|
|
155341
|
+
typographyPresetId: null,
|
|
155342
|
+
typographyBodyFontOverride: null,
|
|
155343
|
+
typographyHeadingFontOverride: null
|
|
155344
|
+
};
|
|
155345
|
+
return {
|
|
155346
|
+
typographyPresetId: selection.presetId,
|
|
155347
|
+
typographyBodyFontOverride: selection.bodyFontOverride,
|
|
155348
|
+
typographyHeadingFontOverride: selection.headingFontOverride
|
|
155349
|
+
};
|
|
155350
|
+
}
|
|
155351
|
+
function customTypographyForSelection(selection) {
|
|
155352
|
+
return selection.kind === "custom" ? selection.typography : null;
|
|
155353
|
+
}
|
|
155354
|
+
function typographySelectionsEqual(a, b) {
|
|
155355
|
+
if (a.kind === "preset" && b.kind === "preset") return a.presetId === b.presetId && a.bodyFontOverride === b.bodyFontOverride && a.headingFontOverride === b.headingFontOverride;
|
|
155356
|
+
if (a.kind === "custom" && b.kind === "custom") return typographyObjectsEqual(a.typography, b.typography);
|
|
155357
|
+
return false;
|
|
155358
|
+
}
|
|
155359
|
+
function patchTypography(typography, patch) {
|
|
155360
|
+
switch (patch.kind) {
|
|
155361
|
+
case "heading": return {
|
|
155362
|
+
...typography,
|
|
155363
|
+
headings: {
|
|
155364
|
+
...typography.headings,
|
|
155365
|
+
default: {
|
|
155366
|
+
...typography.headings.default,
|
|
155367
|
+
...patch.patch
|
|
155368
|
+
}
|
|
155369
|
+
}
|
|
155370
|
+
};
|
|
155371
|
+
case "body": return {
|
|
155372
|
+
...typography,
|
|
155373
|
+
body: {
|
|
155374
|
+
...typography.body,
|
|
155375
|
+
...patch.patch
|
|
155376
|
+
}
|
|
155377
|
+
};
|
|
155378
|
+
case "scale": return {
|
|
155379
|
+
...typography,
|
|
155380
|
+
scale: patch.scale
|
|
155381
|
+
};
|
|
155382
|
+
}
|
|
155383
|
+
}
|
|
155384
|
+
function typographyObjectsEqual(a, b) {
|
|
155385
|
+
return a.scale === b.scale && bodyTypographyEqual(a.body, b.body) && headingTypographyEqual(a.headings.default, b.headings.default) && headingTypographyEqual(a.headings.h1, b.headings.h1) && headingTypographyEqual(a.headings.h2, b.headings.h2) && headingTypographyEqual(a.headings.h3, b.headings.h3);
|
|
155386
|
+
}
|
|
155387
|
+
function bodyTypographyEqual(a, b) {
|
|
155388
|
+
return a.family === b.family && a.size === b.size && a.weight === b.weight && a.lineHeight === b.lineHeight && a.letterSpacing === b.letterSpacing;
|
|
155389
|
+
}
|
|
155390
|
+
function headingTypographyEqual(a, b) {
|
|
155391
|
+
return a.family === b.family && a.weight === b.weight && a.lineHeight === b.lineHeight && a.letterSpacing === b.letterSpacing && a.case === b.case && a.italic === b.italic && a.colorToken === b.colorToken;
|
|
155049
155392
|
}
|
|
155050
155393
|
function paletteOverridesEqual(a, b) {
|
|
155051
155394
|
if (a === b) return true;
|
|
@@ -155588,6 +155931,16 @@ function diagnosticsForRequestedFooterSelection(requestedLookId, renderedLookId,
|
|
|
155588
155931
|
//#endregion
|
|
155589
155932
|
//#region ../preview-next/src/client/preview/typographySelectionInput.ts
|
|
155590
155933
|
function typographySelectionInputForSnapshot(snapshot, theme) {
|
|
155934
|
+
if (snapshot.typographySelection?.kind === "custom") return { typographySelection: {
|
|
155935
|
+
kind: "custom",
|
|
155936
|
+
typography: snapshot.typographySelection.typography
|
|
155937
|
+
} };
|
|
155938
|
+
if (snapshot.typographySelection?.kind === "preset") return { typographySelection: {
|
|
155939
|
+
kind: "preset",
|
|
155940
|
+
presetId: snapshot.typographySelection.presetId,
|
|
155941
|
+
bodyFontOverride: snapshot.typographySelection.bodyFontOverride,
|
|
155942
|
+
headingFontOverride: snapshot.typographySelection.headingFontOverride
|
|
155943
|
+
} };
|
|
155591
155944
|
if (snapshot.typographyPresetId === null && theme?.typography) return { typographySelection: {
|
|
155592
155945
|
kind: "custom",
|
|
155593
155946
|
typography: theme.typography
|
|
@@ -155630,9 +155983,14 @@ function resolveStyleConfiguratorInitialSnapshot(input) {
|
|
|
155630
155983
|
buttonPersonalityId: compiled.resolvedSelections.buttonPersonalityId,
|
|
155631
155984
|
paletteVariantId: compiled.resolvedSelections.paletteVariantId,
|
|
155632
155985
|
paletteOverrides: paletteChanged ? null : input.initialSelections.paletteOverrides,
|
|
155633
|
-
|
|
155634
|
-
|
|
155635
|
-
|
|
155986
|
+
typographySelection: compiled.resolvedSelections.typographySelection.kind === "custom" ? {
|
|
155987
|
+
kind: "custom",
|
|
155988
|
+
typography: compiled.theme.typography
|
|
155989
|
+
} : typographySelectionSnapshotFromFlat({
|
|
155990
|
+
typographyPresetId: compiled.resolvedSelections.typographyPresetId,
|
|
155991
|
+
typographyBodyFontOverride: compiled.resolvedSelections.typographyBodyFontOverride,
|
|
155992
|
+
typographyHeadingFontOverride: compiled.resolvedSelections.typographyHeadingFontOverride
|
|
155993
|
+
})
|
|
155636
155994
|
};
|
|
155637
155995
|
}
|
|
155638
155996
|
//#endregion
|
|
@@ -155793,7 +156151,7 @@ function planSiteStylePreviewChange(input) {
|
|
|
155793
156151
|
}
|
|
155794
156152
|
//#endregion
|
|
155795
156153
|
//#region ../preview-next/src/client/preview/siteChromeSavePlan.ts
|
|
155796
|
-
function buildSiteChromeSavePlan({ surface, siteStyle, selection, baseTheme, headerSelectionContext, footerSelectionContext, headerBrandPreferences, backgroundPreferences, themeId, selectionId, baseSelectionUpdatedAt }) {
|
|
156154
|
+
function buildSiteChromeSavePlan({ surface, siteStyle, selection, baseTheme, headerSelectionContext, footerSelectionContext, headerBrandPreferences, headerNavPreferences, backgroundPreferences, themeId, selectionId, baseSelectionUpdatedAt }) {
|
|
155797
156155
|
const compiled = planSiteStylePreviewChange({
|
|
155798
156156
|
siteStyle,
|
|
155799
156157
|
selection,
|
|
@@ -155801,7 +156159,7 @@ function buildSiteChromeSavePlan({ surface, siteStyle, selection, baseTheme, hea
|
|
|
155801
156159
|
headerSelectionContext: withHeaderBrandPreferences(headerSelectionContext, headerBrandPreferences),
|
|
155802
156160
|
footerSelectionContext
|
|
155803
156161
|
});
|
|
155804
|
-
const themeOverlay = applySiteChromeBackgroundPreferences(withHeaderBrandThemePreferences(compiled.themeOverlay, headerBrandPreferences), backgroundPreferences);
|
|
156162
|
+
const themeOverlay = applySiteChromeBackgroundPreferences(withHeaderNavThemePreferences(withHeaderBrandThemePreferences(compiled.themeOverlay, headerBrandPreferences), headerNavPreferences), backgroundPreferences);
|
|
155805
156163
|
return {
|
|
155806
156164
|
compiled,
|
|
155807
156165
|
themeOverlay,
|
|
@@ -155833,14 +156191,14 @@ function siteChromeSavePlanBodyForBaseRevision(plan, baseSelectionUpdatedAt) {
|
|
|
155833
156191
|
//#endregion
|
|
155834
156192
|
//#region ../preview-next/src/client/preview/styleConfiguratorApplyPayload.ts
|
|
155835
156193
|
function buildApplySiteStyleSelectionBody(input) {
|
|
156194
|
+
const typographyFields = typographySelectionFlatFields(input.previewed.typographySelection);
|
|
155836
156195
|
return {
|
|
155837
156196
|
siteStyleId: input.previewed.siteStyleId,
|
|
155838
156197
|
buttonPersonalityId: input.previewed.buttonPersonalityId,
|
|
155839
156198
|
paletteVariantId: input.previewed.paletteVariantId,
|
|
155840
156199
|
paletteOverrides: input.previewed.paletteOverrides,
|
|
155841
|
-
|
|
155842
|
-
|
|
155843
|
-
typographyHeadingFontOverride: input.previewed.typographyHeadingFontOverride,
|
|
156200
|
+
...typographyFields,
|
|
156201
|
+
customTypography: customTypographyForSelection(input.previewed.typographySelection),
|
|
155844
156202
|
headerLookId: input.previewed.headerLookId,
|
|
155845
156203
|
headerLayoutId: input.previewed.headerLayoutId,
|
|
155846
156204
|
headerStyleId: input.previewed.headerStyleId,
|
|
@@ -155857,9 +156215,12 @@ function selectionSnapshotFromApplySiteStyleSelectionResponse(saved, fallback) {
|
|
|
155857
156215
|
buttonPersonalityId: saved.buttonPersonalityId,
|
|
155858
156216
|
paletteVariantId: saved.paletteVariantId,
|
|
155859
156217
|
paletteOverrides: saved.paletteOverrides ?? null,
|
|
155860
|
-
|
|
155861
|
-
|
|
155862
|
-
|
|
156218
|
+
typographySelection: typographySelectionSnapshotFromFlat({
|
|
156219
|
+
typographyPresetId: saved.typographyPresetId,
|
|
156220
|
+
typographyBodyFontOverride: saved.typographyBodyFontOverride,
|
|
156221
|
+
typographyHeadingFontOverride: saved.typographyHeadingFontOverride,
|
|
156222
|
+
theme: saved.theme
|
|
156223
|
+
}),
|
|
155863
156224
|
headerLookId: saved.headerLookId,
|
|
155864
156225
|
headerLayoutId: saved.headerLayoutId,
|
|
155865
156226
|
headerStyleId: saved.headerStyleId,
|
|
@@ -156204,6 +156565,21 @@ function quickControlHistoryEntryFromBackgroundPreferenceChange(previous, next,
|
|
|
156204
156565
|
default: return assertNever$5(target, "Unhandled site chrome background quick-control target");
|
|
156205
156566
|
}
|
|
156206
156567
|
}
|
|
156568
|
+
function quickControlHistoryEntryFromNavPreferenceChange(previous, next, target) {
|
|
156569
|
+
switch (target) {
|
|
156570
|
+
case "header-menu-font": return previous.typography === next.typography ? null : {
|
|
156571
|
+
kind: target,
|
|
156572
|
+
previous: previous.typography,
|
|
156573
|
+
next: next.typography
|
|
156574
|
+
};
|
|
156575
|
+
case "header-menu-font-size": return previous.fontSize === next.fontSize ? null : {
|
|
156576
|
+
kind: target,
|
|
156577
|
+
previous: previous.fontSize,
|
|
156578
|
+
next: next.fontSize
|
|
156579
|
+
};
|
|
156580
|
+
default: return assertNever$5(target, "Unhandled site chrome nav quick-control target");
|
|
156581
|
+
}
|
|
156582
|
+
}
|
|
156207
156583
|
function beginSiteChromeQuickControlHistoryUndo(state) {
|
|
156208
156584
|
const skipReason = skipReasonForHistoryMutation(state, "undo");
|
|
156209
156585
|
if (skipReason) return {
|
|
@@ -156304,6 +156680,7 @@ function beginSiteChromeQuickControlHistoryMutation(state, mutationKind, entry)
|
|
|
156304
156680
|
const target = quickControlReplayPlanForEntry({
|
|
156305
156681
|
selection: base.selection,
|
|
156306
156682
|
headerBrandPreferences: base.headerBrandPreferences,
|
|
156683
|
+
headerNavPreferences: base.headerNavPreferences,
|
|
156307
156684
|
backgroundPreferences: base.backgroundPreferences
|
|
156308
156685
|
}, entry, mutationKind === "undoing" ? "undo" : "redo");
|
|
156309
156686
|
return {
|
|
@@ -156369,6 +156746,20 @@ function quickControlReplayPlanForEntry(current, entry, command) {
|
|
|
156369
156746
|
logoSize: command === "undo" ? entry.previous : entry.next
|
|
156370
156747
|
}
|
|
156371
156748
|
};
|
|
156749
|
+
case "header-menu-font": return {
|
|
156750
|
+
kind: "nav-preferences",
|
|
156751
|
+
preferences: {
|
|
156752
|
+
...current.headerNavPreferences,
|
|
156753
|
+
typography: command === "undo" ? entry.previous : entry.next
|
|
156754
|
+
}
|
|
156755
|
+
};
|
|
156756
|
+
case "header-menu-font-size": return {
|
|
156757
|
+
kind: "nav-preferences",
|
|
156758
|
+
preferences: {
|
|
156759
|
+
...current.headerNavPreferences,
|
|
156760
|
+
fontSize: command === "undo" ? entry.previous : entry.next
|
|
156761
|
+
}
|
|
156762
|
+
};
|
|
156372
156763
|
case "header-background": return {
|
|
156373
156764
|
kind: "background-preferences",
|
|
156374
156765
|
preferences: {
|
|
@@ -156412,6 +156803,7 @@ function headerStyleSelection(selection) {
|
|
|
156412
156803
|
function normalizePresentInput(present) {
|
|
156413
156804
|
return {
|
|
156414
156805
|
...present,
|
|
156806
|
+
headerNavPreferences: present.headerNavPreferences ?? defaultHeaderNavPreferences,
|
|
156415
156807
|
backgroundPreferences: present.backgroundPreferences ?? defaultSiteChromeBackgroundPreferences()
|
|
156416
156808
|
};
|
|
156417
156809
|
}
|
|
@@ -156419,7 +156811,7 @@ function siteChromeQuickControlHistoryPresentEquals(left, right) {
|
|
|
156419
156811
|
return siteChromeQuickControlHistoryPresentCoreEquals(left, right) && siteChromeQuickControlHistoryEntryEquals(left.entry, right.entry);
|
|
156420
156812
|
}
|
|
156421
156813
|
function siteChromeQuickControlHistoryPresentCoreEquals(left, right) {
|
|
156422
|
-
return selectionSnapshotsEqual(left.selection, right.selection) && headerBrandPreferencesEqual(left.headerBrandPreferences, right.headerBrandPreferences) && backgroundPreferencesEqual(left.backgroundPreferences, right.backgroundPreferences);
|
|
156814
|
+
return selectionSnapshotsEqual(left.selection, right.selection) && headerBrandPreferencesEqual(left.headerBrandPreferences, right.headerBrandPreferences) && headerNavPreferencesEqual(left.headerNavPreferences, right.headerNavPreferences) && backgroundPreferencesEqual(left.backgroundPreferences, right.backgroundPreferences);
|
|
156423
156815
|
}
|
|
156424
156816
|
function siteChromeQuickControlHistoryEntryEquals(left, right) {
|
|
156425
156817
|
if (left === right) return true;
|
|
@@ -156430,7 +156822,9 @@ function siteChromeQuickControlHistoryEntryEquals(left, right) {
|
|
|
156430
156822
|
case "footer-layout":
|
|
156431
156823
|
case "footer-look":
|
|
156432
156824
|
case "header-brand-display":
|
|
156433
|
-
case "header-logo-size":
|
|
156825
|
+
case "header-logo-size":
|
|
156826
|
+
case "header-menu-font":
|
|
156827
|
+
case "header-menu-font-size": return right.kind === left.kind && left.previous === right.previous && left.next === right.next;
|
|
156434
156828
|
case "header-background":
|
|
156435
156829
|
case "footer-background": return right.kind === left.kind && siteChromeBackgroundOverrideEquals(left.previous, right.previous) && siteChromeBackgroundOverrideEquals(left.next, right.next);
|
|
156436
156830
|
default: return assertNever$5(left, "Unhandled site chrome quick-control history entry");
|
|
@@ -156463,6 +156857,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156463
156857
|
headerSelectionContext
|
|
156464
156858
|
}).preferences);
|
|
156465
156859
|
const [backgroundPreferences, setBackgroundPreferences] = useState(() => siteChromeBackgroundPreferencesFromTheme(theme ?? null));
|
|
156860
|
+
const [headerNavPreferences, setHeaderNavPreferences] = useState(() => readHeaderNavPreferences(theme ?? null));
|
|
156466
156861
|
const latestSelectionUpdatedAtRef = useRef(initialSelections.selectionUpdatedAt ?? selectionUpdatedAt ?? null);
|
|
156467
156862
|
const initialSelectionVersion = initialSelections.selectionVersion ?? selectionVersion ?? 0;
|
|
156468
156863
|
const baseSnapshot = useMemo(() => resolveStyleConfiguratorInitialSnapshot({
|
|
@@ -156490,6 +156885,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156490
156885
|
theme: theme ?? null,
|
|
156491
156886
|
headerSelectionContext
|
|
156492
156887
|
}).preferences,
|
|
156888
|
+
headerNavPreferences: readHeaderNavPreferences(theme ?? null),
|
|
156493
156889
|
backgroundPreferences: siteChromeBackgroundPreferencesFromTheme(theme ?? null)
|
|
156494
156890
|
}) : null);
|
|
156495
156891
|
const [siteStylePreviewActive, setSiteStylePreviewActive] = useState(false);
|
|
@@ -156498,6 +156894,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156498
156894
|
const quickControlHistoryRef = useRef(quickControlHistory);
|
|
156499
156895
|
const siteStylePreviewActiveRef = useRef(siteStylePreviewActive);
|
|
156500
156896
|
const confirmedHeaderBrandPreferencesRef = useRef(headerBrandPreferences);
|
|
156897
|
+
const confirmedHeaderNavPreferencesRef = useRef(headerNavPreferences);
|
|
156501
156898
|
const backgroundPreferencesRef = useRef(backgroundPreferences);
|
|
156502
156899
|
const confirmedBackgroundPreferencesRef = useRef(backgroundPreferences);
|
|
156503
156900
|
const clearPreviewRef = useRef(clearPreview);
|
|
@@ -156531,6 +156928,9 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156531
156928
|
const nextBackgroundPreferences = siteChromeBackgroundPreferencesFromTheme(theme ?? null);
|
|
156532
156929
|
setBackgroundPreferencesSnapshot(nextBackgroundPreferences);
|
|
156533
156930
|
confirmedBackgroundPreferencesRef.current = nextBackgroundPreferences;
|
|
156931
|
+
const nextHeaderNavPreferences = readHeaderNavPreferences(theme ?? null);
|
|
156932
|
+
setHeaderNavPreferences(nextHeaderNavPreferences);
|
|
156933
|
+
confirmedHeaderNavPreferencesRef.current = nextHeaderNavPreferences;
|
|
156534
156934
|
}, [
|
|
156535
156935
|
headerSelectionContext,
|
|
156536
156936
|
setBackgroundPreferencesSnapshot,
|
|
@@ -156554,6 +156954,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156554
156954
|
const next = createSiteChromeQuickControlHistoryState({
|
|
156555
156955
|
selection: baseSnapshot,
|
|
156556
156956
|
headerBrandPreferences: confirmedHeaderBrandPreferencesRef.current,
|
|
156957
|
+
headerNavPreferences: confirmedHeaderNavPreferencesRef.current,
|
|
156557
156958
|
backgroundPreferences: confirmedBackgroundPreferencesRef.current
|
|
156558
156959
|
});
|
|
156559
156960
|
quickControlHistoryRef.current = next;
|
|
@@ -156609,8 +157010,13 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156609
157010
|
options: lookModels.headerStyle.options,
|
|
156610
157011
|
brandDisplay: headerBrandControlState.preferences.brandDisplay,
|
|
156611
157012
|
brandDisplayOptions: headerBrandControlState.brandDisplayOptions,
|
|
157013
|
+
brandSizeLabel: headerBrandSizeControlLabel(headerBrandControlState),
|
|
156612
157014
|
logoSize: headerBrandControlState.preferences.logoSize,
|
|
156613
157015
|
logoSizeOptions: headerBrandControlState.logoSizeOptions,
|
|
157016
|
+
menuFont: headerNavPreferences.typography,
|
|
157017
|
+
menuFontOptions: headerNavTypographyOptions,
|
|
157018
|
+
menuFontSize: headerNavPreferences.fontSize,
|
|
157019
|
+
menuFontSizeOptions: headerNavFontSizeOptions,
|
|
156614
157020
|
diagnostics: [],
|
|
156615
157021
|
background: backgroundControlState(backgroundPreferences.header, canCustomizeSiteChromeBackground(currentThemeRef.current ?? theme, "header")),
|
|
156616
157022
|
failure: state.saveStatus.kind === "failed" ? state.saveStatus.message : null,
|
|
@@ -156640,6 +157046,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156640
157046
|
applyAllowed,
|
|
156641
157047
|
backgroundPreferences,
|
|
156642
157048
|
headerBrandControlState,
|
|
157049
|
+
headerNavPreferences,
|
|
156643
157050
|
lookModels,
|
|
156644
157051
|
state,
|
|
156645
157052
|
theme
|
|
@@ -156652,6 +157059,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156652
157059
|
};
|
|
156653
157060
|
const selection = request.kind === "selection" ? request.selection : current.previewed;
|
|
156654
157061
|
const headerBrandPreferences = request.kind === "brand-preferences" ? request.preferences : confirmedHeaderBrandPreferencesRef.current;
|
|
157062
|
+
const headerNavPreferences = request.kind === "nav-preferences" ? request.preferences : confirmedHeaderNavPreferencesRef.current;
|
|
156655
157063
|
const nextBackgroundPreferences = request.kind === "background-preferences" ? request.preferences : confirmedBackgroundPreferencesRef.current;
|
|
156656
157064
|
const siteStyle = getCuratedSiteStyle(selection.siteStyleId);
|
|
156657
157065
|
if (!siteStyle) return {
|
|
@@ -156666,6 +157074,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156666
157074
|
headerSelectionContext,
|
|
156667
157075
|
footerSelectionContext,
|
|
156668
157076
|
headerBrandPreferences,
|
|
157077
|
+
headerNavPreferences,
|
|
156669
157078
|
backgroundPreferences: nextBackgroundPreferences,
|
|
156670
157079
|
themeId: themeId ?? null,
|
|
156671
157080
|
selectionId: selectionId ?? null,
|
|
@@ -156679,6 +157088,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156679
157088
|
optimistic: () => {
|
|
156680
157089
|
if (request.kind === "brand-preferences") setHeaderBrandPreferences(request.preferences);
|
|
156681
157090
|
if (request.kind === "background-preferences") setBackgroundPreferencesSnapshot(request.preferences);
|
|
157091
|
+
if (request.kind === "nav-preferences") setHeaderNavPreferences(request.preferences);
|
|
156682
157092
|
previewTheme("site-chrome", savePlan.themeOverlay, "site-chrome");
|
|
156683
157093
|
setState((latest) => {
|
|
156684
157094
|
if (!latest) return latest;
|
|
@@ -156705,6 +157115,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156705
157115
|
onSuccess: (saved) => {
|
|
156706
157116
|
currentThemeRef.current = saved.theme;
|
|
156707
157117
|
const previousHeaderBrandPreferences = confirmedHeaderBrandPreferencesRef.current;
|
|
157118
|
+
const previousHeaderNavPreferences = confirmedHeaderNavPreferencesRef.current;
|
|
156708
157119
|
const previousBackgroundPreferences = confirmedBackgroundPreferencesRef.current;
|
|
156709
157120
|
const persistedHeaderBrandPreferences = createHeaderBrandControlState({
|
|
156710
157121
|
theme: saved.theme,
|
|
@@ -156712,6 +157123,9 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156712
157123
|
}).preferences;
|
|
156713
157124
|
setHeaderBrandPreferences(persistedHeaderBrandPreferences);
|
|
156714
157125
|
confirmedHeaderBrandPreferencesRef.current = persistedHeaderBrandPreferences;
|
|
157126
|
+
const persistedHeaderNavPreferences = readHeaderNavPreferences(saved.theme);
|
|
157127
|
+
setHeaderNavPreferences(persistedHeaderNavPreferences);
|
|
157128
|
+
confirmedHeaderNavPreferencesRef.current = persistedHeaderNavPreferences;
|
|
156715
157129
|
const persistedBackgroundPreferences = siteChromeBackgroundPreferencesFromTheme(saved.theme);
|
|
156716
157130
|
setBackgroundPreferencesSnapshot(persistedBackgroundPreferences);
|
|
156717
157131
|
confirmedBackgroundPreferencesRef.current = persistedBackgroundPreferences;
|
|
@@ -156726,20 +157140,23 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156726
157140
|
const history = quickControlHistoryRef.current ?? createSiteChromeQuickControlHistoryState({
|
|
156727
157141
|
selection: current.previewed,
|
|
156728
157142
|
headerBrandPreferences: confirmedHeaderBrandPreferencesRef.current,
|
|
157143
|
+
headerNavPreferences: confirmedHeaderNavPreferencesRef.current,
|
|
156729
157144
|
backgroundPreferences: confirmedBackgroundPreferencesRef.current
|
|
156730
157145
|
});
|
|
156731
|
-
const entry = request.kind === "selection" ? quickControlHistoryEntryFromSelectionChange(current.previewed, persisted, request.history.target) : request.kind === "brand-preferences" ? quickControlHistoryEntryFromBrandPreferenceChange(previousHeaderBrandPreferences, persistedHeaderBrandPreferences, request.history.target) : quickControlHistoryEntryFromBackgroundPreferenceChange(previousBackgroundPreferences, persistedBackgroundPreferences, request.history.target);
|
|
157146
|
+
const entry = request.kind === "selection" ? quickControlHistoryEntryFromSelectionChange(current.previewed, persisted, request.history.target) : request.kind === "brand-preferences" ? quickControlHistoryEntryFromBrandPreferenceChange(previousHeaderBrandPreferences, persistedHeaderBrandPreferences, request.history.target) : request.kind === "nav-preferences" ? quickControlHistoryEntryFromNavPreferenceChange(previousHeaderNavPreferences, persistedHeaderNavPreferences, request.history.target) : quickControlHistoryEntryFromBackgroundPreferenceChange(previousBackgroundPreferences, persistedBackgroundPreferences, request.history.target);
|
|
156732
157147
|
if (entry) {
|
|
156733
157148
|
const nextHistory = recordSiteChromeQuickControlHistoryEntry(history, {
|
|
156734
157149
|
entry,
|
|
156735
157150
|
previous: {
|
|
156736
157151
|
selection: current.previewed,
|
|
156737
157152
|
headerBrandPreferences: previousHeaderBrandPreferences,
|
|
157153
|
+
headerNavPreferences: previousHeaderNavPreferences,
|
|
156738
157154
|
backgroundPreferences: previousBackgroundPreferences
|
|
156739
157155
|
},
|
|
156740
157156
|
persisted: {
|
|
156741
157157
|
selection: persisted,
|
|
156742
157158
|
headerBrandPreferences: persistedHeaderBrandPreferences,
|
|
157159
|
+
headerNavPreferences: persistedHeaderNavPreferences,
|
|
156743
157160
|
backgroundPreferences: persistedBackgroundPreferences
|
|
156744
157161
|
}
|
|
156745
157162
|
});
|
|
@@ -156753,6 +157170,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156753
157170
|
const nextHistory = confirmSiteChromeQuickControlHistoryMutation(history, {
|
|
156754
157171
|
selection: persisted,
|
|
156755
157172
|
headerBrandPreferences: persistedHeaderBrandPreferences,
|
|
157173
|
+
headerNavPreferences: persistedHeaderNavPreferences,
|
|
156756
157174
|
backgroundPreferences: persistedBackgroundPreferences
|
|
156757
157175
|
});
|
|
156758
157176
|
quickControlHistoryRef.current = nextHistory;
|
|
@@ -156764,6 +157182,7 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156764
157182
|
onError: (error) => {
|
|
156765
157183
|
if (request.kind === "brand-preferences") setHeaderBrandPreferences(confirmedHeaderBrandPreferencesRef.current);
|
|
156766
157184
|
if (request.kind === "background-preferences") setBackgroundPreferencesSnapshot(confirmedBackgroundPreferencesRef.current);
|
|
157185
|
+
if (request.kind === "nav-preferences") setHeaderNavPreferences(confirmedHeaderNavPreferencesRef.current);
|
|
156767
157186
|
const failure = classifySiteChromeQuickControlApplyError(error);
|
|
156768
157187
|
if (request.history.kind === "confirm-mutation") setQuickControlHistory((latest) => {
|
|
156769
157188
|
if (!latest) return latest;
|
|
@@ -156829,6 +157248,17 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156829
157248
|
}
|
|
156830
157249
|
});
|
|
156831
157250
|
}, [applyAllowed, runSiteChromeQuickControlSave]);
|
|
157251
|
+
const persistHeaderNavPreferences = useCallback((nextPreferences, target) => {
|
|
157252
|
+
if (!applyAllowed) return;
|
|
157253
|
+
runSiteChromeQuickControlSave({
|
|
157254
|
+
kind: "nav-preferences",
|
|
157255
|
+
preferences: nextPreferences,
|
|
157256
|
+
history: {
|
|
157257
|
+
kind: "record",
|
|
157258
|
+
target
|
|
157259
|
+
}
|
|
157260
|
+
});
|
|
157261
|
+
}, [applyAllowed, runSiteChromeQuickControlSave]);
|
|
156832
157262
|
const selectHeaderStyle = useCallback((styleId) => {
|
|
156833
157263
|
if (!applyAllowed) return;
|
|
156834
157264
|
const current = stateRef.current;
|
|
@@ -156913,6 +157343,18 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
156913
157343
|
logoSize
|
|
156914
157344
|
}, "header-logo-size");
|
|
156915
157345
|
}, [headerBrandControlState.preferences, persistHeaderBrandPreferences]);
|
|
157346
|
+
const setHeaderMenuFont = useCallback((typography) => {
|
|
157347
|
+
persistHeaderNavPreferences({
|
|
157348
|
+
...headerNavPreferences,
|
|
157349
|
+
typography
|
|
157350
|
+
}, "header-menu-font");
|
|
157351
|
+
}, [headerNavPreferences, persistHeaderNavPreferences]);
|
|
157352
|
+
const setHeaderMenuFontSize = useCallback((fontSize) => {
|
|
157353
|
+
persistHeaderNavPreferences({
|
|
157354
|
+
...headerNavPreferences,
|
|
157355
|
+
fontSize
|
|
157356
|
+
}, "header-menu-font-size");
|
|
157357
|
+
}, [headerNavPreferences, persistHeaderNavPreferences]);
|
|
156916
157358
|
const chooseSurfaceBackground = useCallback((surface, override) => {
|
|
156917
157359
|
if (!applyAllowed) return;
|
|
156918
157360
|
if (surface === "header" && !canCustomizeSiteChromeBackground(currentThemeRef.current ?? theme, "header")) return;
|
|
@@ -157029,6 +157471,8 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
157029
157471
|
cycleSurfaceLayout,
|
|
157030
157472
|
setHeaderBrandDisplay,
|
|
157031
157473
|
setHeaderLogoSize,
|
|
157474
|
+
setHeaderMenuFont,
|
|
157475
|
+
setHeaderMenuFontSize,
|
|
157032
157476
|
cycleSurfaceBackground,
|
|
157033
157477
|
chooseSurfaceBackground,
|
|
157034
157478
|
siteStyleHistory: siteStyleHistoryController,
|
|
@@ -157041,6 +157485,8 @@ function SiteChromeCustomizeProvider({ children, siteId, apiClient, theme, theme
|
|
|
157041
157485
|
cycleSurfaceBackground,
|
|
157042
157486
|
setHeaderBrandDisplay,
|
|
157043
157487
|
setHeaderLogoSize,
|
|
157488
|
+
setHeaderMenuFont,
|
|
157489
|
+
setHeaderMenuFontSize,
|
|
157044
157490
|
quickControlHistoryController,
|
|
157045
157491
|
siteStyleHistoryController
|
|
157046
157492
|
]);
|
|
@@ -157066,6 +157512,16 @@ function backgroundControlState(current, available) {
|
|
|
157066
157512
|
advancedTokens: advancedSiteChromeBackgroundColorTokens
|
|
157067
157513
|
};
|
|
157068
157514
|
}
|
|
157515
|
+
function headerBrandSizeControlLabel(state) {
|
|
157516
|
+
if (state.kind === "no-logo") return "Site title size";
|
|
157517
|
+
switch (state.preferences.brandDisplay) {
|
|
157518
|
+
case "logo-only": return "Logo size";
|
|
157519
|
+
case "title-only": return "Site title size";
|
|
157520
|
+
case "auto":
|
|
157521
|
+
case "logo-plus-title": return "Brand size";
|
|
157522
|
+
default: return assertNever$5(state.preferences.brandDisplay, "Unhandled header brand display mode");
|
|
157523
|
+
}
|
|
157524
|
+
}
|
|
157069
157525
|
function saveRequestFromQuickControlReplayPlan(plan, mutation) {
|
|
157070
157526
|
switch (plan.kind) {
|
|
157071
157527
|
case "selection": return {
|
|
@@ -157085,6 +157541,14 @@ function saveRequestFromQuickControlReplayPlan(plan, mutation) {
|
|
|
157085
157541
|
mutation
|
|
157086
157542
|
}
|
|
157087
157543
|
};
|
|
157544
|
+
case "nav-preferences": return {
|
|
157545
|
+
kind: "nav-preferences",
|
|
157546
|
+
preferences: plan.preferences,
|
|
157547
|
+
history: {
|
|
157548
|
+
kind: "confirm-mutation",
|
|
157549
|
+
mutation
|
|
157550
|
+
}
|
|
157551
|
+
};
|
|
157088
157552
|
case "background-preferences": return {
|
|
157089
157553
|
kind: "background-preferences",
|
|
157090
157554
|
preferences: plan.preferences,
|
|
@@ -157104,9 +157568,14 @@ function selectionSnapshotFromSiteChromeSaveResponse({ saved, fallback, savePlan
|
|
|
157104
157568
|
buttonPersonalityId: savePlan.compiled.resolvedSelections.buttonPersonalityId,
|
|
157105
157569
|
paletteVariantId: savePlan.compiled.resolvedSelections.paletteVariantId,
|
|
157106
157570
|
paletteOverrides: fallback.paletteOverrides,
|
|
157107
|
-
|
|
157108
|
-
|
|
157109
|
-
|
|
157571
|
+
typographySelection: savePlan.compiled.resolvedSelections.typographySelection.kind === "custom" ? {
|
|
157572
|
+
kind: "custom",
|
|
157573
|
+
typography: savePlan.themeOverlay.typography
|
|
157574
|
+
} : typographySelectionSnapshotFromFlat({
|
|
157575
|
+
typographyPresetId: savePlan.compiled.resolvedSelections.typographyPresetId,
|
|
157576
|
+
typographyBodyFontOverride: savePlan.compiled.resolvedSelections.typographyBodyFontOverride,
|
|
157577
|
+
typographyHeadingFontOverride: savePlan.compiled.resolvedSelections.typographyHeadingFontOverride
|
|
157578
|
+
}),
|
|
157110
157579
|
headerLookId: saved.headerLookId ?? fallback.headerLookId,
|
|
157111
157580
|
headerLayoutId: saved.headerLayoutId ?? savePlan.compiled.resolvedSelections.headerLayoutId,
|
|
157112
157581
|
headerStyleId: saved.headerStyleId ?? savePlan.compiled.resolvedSelections.headerStyleId,
|
|
@@ -157137,4 +157606,4 @@ function useSiteChromeCustomizeOptional() {
|
|
|
157137
157606
|
return useContext(SiteChromeCustomizeContext);
|
|
157138
157607
|
}
|
|
157139
157608
|
//#endregion
|
|
157140
|
-
export { PreviewRichTextEditor as $, eventScheduleScopeValues as $a, useSdkConfig as $c, Check as $d, parseBlockCustomCssRules as $i, DropdownMenuLabel as $l, formBlockDefinition as $n, ACCORDION_SPACING_MAP as $o, heroCtaRowFragment as $r, createRichTextDocFromMarkdown as $s, listEntryPageContentSlots as $t, unsafeAsMediaAssetId as $u, markApplySaving as A, buildEventRuntimeFilters as Aa, siblingPath as Ac, ImagePlus as Ad, requireEntriesForCuratedChoices as Ai, ScrollableDialogContent as Al, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as An, getContainerClass as Ao, formatInterval as Ar, ChevronDownIcon as As, createSnapshotFromPageRecord as At, formatBookingInstant as Au, setTypographyBodyFontOverride as B, columnOptionSchema as Ba, themeButtonClassName as Bc, EllipsisVertical as Bd, backgroundAppearanceColorTokenNames as Bi, CollapsibleTrigger as Bl, ImageResolveContextProvider as Bn, createInteractiveIslandCodec as Bo, richTextFragment as Br, FileAudioIcon as Bs, createManifestFormAdapter as Bt, publicEventPricingMode as Bu, createStyleConfiguratorState as C, normalizeOfferingsPreviewItemLimit as Ca, formatAspectRatioToken as Cc, Palette as Cd, curatedSiteStyles as Ci, TabsContent as Cl, gradientToCss as Cn, formatEventCompactDateRail as Co, buildProductListInteractiveIslandProps as Cr, getSemanticIconComponent as Cs, pushHistoryEntry as Ct, createEditorRemoveBlockCommand as Cu, isPreviewingChange as D, resolveOfferingsPreviewGroups as Da, getDirectImageUrlForMediaAsset as Dc, LoaderCircle as Dd, evaluateTypographyFontSlot as Di, List as Dl, siteFooterManifest as Dn, formatEventTeacherLine as Do, buildProductCardDisplay as Dr, ArrowRightIcon as Ds, useMultiAutosave as Dt, addLocalScheduleDays as Du, dismissWarnings as E, resolveOfferingsPreviewGroupOrderEntries as Ea, asRecord as Ec, Maximize2 as Ed, surfaceResolutionContextFromTheme as Ei, Content as El, listBlockDescriptors as En, formatEventPriceDisplay as Eo, buildCartDisplay as Er, ArrowLeftIcon as Es, unsafeAsLinkedContentEntryId as Et, unsafeAsEditorBlockValues as Eu, previewHeaderStyle as F, resolveEventListPaginationAction as Fa, generateShadowValue$1 as Fc, FilePlay as Fd, defaultSectionTransitionVariantForFamily as Fi, DialogFooter as Fl, layoutTransforms as Fn, getLocalDateKey as Fo, parseStoredCommerceCartState as Fr, CirclePlusIcon as Fs, usePalette as Ft, resolveBookingTimeZoneId as Fu, beginAutosaveBatch as G, previewStageSchema as Ga, textColorStyle as Gc, CircleMinus as Gd, findPaletteVariant as Gi, Card as Gl, newsletterSignupBlockDefinition as Gn, EDITABLE_SURFACE_FORWARDING_PROP as Go, blogFeaturedPostFragment as Gr, MapPinIcon as Gs, listContentTypes as Gt, assertNever$6 as Gu, styleConfiguratorHistoryEntryForPersistedSelection as H, eventCalendarDefaultViewSchema as Ha, borderColorStyle as Hc, CreditCard as Hd, foregroundTokenForBackgroundAppearanceColorToken as Hi, Root$3 as Hl, shopBlockDefinition as Hn, createZodCodec as Ho, cardFragment as Hr, FileTextIcon as Hs, FormRenderer as Ht, publicEventScalarPrice as Hu, previewPaletteVariant as I, normalizeCsvIds as Ia, generateBaseInteractiveCSS as Ic, FileHeadphone as Id, sectionTransitionFamilies as Ii, DialogHeader as Il, uiTransforms as In, getLocalMinuteOfDay as Io, productItemKey as Ir, ClockIcon as Is, recoveryConflictCopy as It, toBookingTimeZone as Iu, enqueueTransaction as J, eventCalendarListLayoutOptions as Ja, getModalConfig as Jc, ChevronsUpDown as Jd, isThemeV2NormalEditorRawStyleFieldName as Ji, CardTitle as Jl, buildEventListingInteractiveIslandProps as Jn, splitPositioningClasses as Jo, formEmbedFragment as Jr, PlayIcon as Js, getPageDesignEditorState as Jt, parseSiteId as Ju, confirmAutosaveBatch as K, weekStartSchema as Ka, useBackendWatch as Kc, CircleCheck as Kd, paletteVariants as Ki, CardContent as Kl, buildNewsletterFormInteractiveIslandProps as Kn, composeHeaderSectionWrapperClassName as Ko, singleButtonFragment as Kr, MinusIcon as Ks, toRoutableLinkPayload as Kt, expectParsedBrandedId as Ku, previewSiteStyle as L, normalizeCsvString as La, generateInteractiveChildInheritanceCSS as Lc, FileArchive as Ld, sectionTransitionFamilyForBoundaryOptionId as Li, DialogTitle as Ll, formattingTransforms as Ln, resolveRuntimeEventPricing as Lo, reduceCommerceCart as Lr, DownloadIcon as Ls, unfinishedBlockCopy as Lt, toScheduledBookingDateTime as Lu, previewButtonPersonality as M, eventPageSizeSchema as Ma, findButtonPersonality as Mc, File as Md, getFooterLayout as Mi, DialogClose as Ml, visibleHeaderClearancePx as Mn, resolveEventCta as Mo, buildPassCartItem as Mr, ChevronRightIcon as Ms, resolvePageRouteSlug as Mt, formatLocalScheduleDate as Mu, previewFooterLook as N, getEventRuntimeFiltersKey as Na, generateButtonCss as Nc, FileText as Nd, getHeaderLayout as Ni, DialogContent as Nl, contentTransforms as Nn, resolveEventLinkProps as No, buildProductCartItem as Nr, ChevronUpIcon as Ns, resolveContentTitle as Nt, getBookingLocalDateKey as Nu, markApplyFailed as O, isSemanticSpacing as Oa, getImageUrl as Oc, Image as Od, findTypographyPreset as Oi, Root2$1 as Ol, siteHeaderManifest as On, formatTime as Oo, buildProductDetailDisplay as Or, CalendarIcon as Os, useDebouncedLatestSave as Ot, formatBookingDate as Ou, previewHeaderLayout as P, resolveEventCalendarListPageSize as Pa, generateEffectsCSS as Pc, FileSpreadsheet as Pd, getHeaderStyle as Pi, DialogDescription as Pl, mediaTransforms as Pn, getEventAvailability as Po, deriveCommerceCheckoutState as Pr, CircleMinusIcon as Ps, PaletteProvider as Pt, parseBookingLocalDate as Pu, resolvePreviewSidebarTab as Q, eventBlockKindValues as Qa, SdkConfigProvider as Qc, ChevronDown as Qd, getComponentShadowVar as Qi, DropdownMenuItem as Ql, buildEventCalendarListingRender as Qn, ACCORDION_OPEN_ACCENT_THICKNESS as Qo, ctaCopyFragment as Qr, XIcon as Qs, deleteEntrySlotBlock as Qt, unsafeAsFormId as Qu, previewTypographyPreset as R, normalizeOptionalId as Ra, TokenResolver as Rc, Eye as Rd, sectionTransitionVariantForBoundaryOptionId as Ri, Collapsible as Rl, createManifestValidator as Rn, blockBookingPaymentTermsSchema as Ro, augmentManifest as Rr, ExternalLinkIcon as Rs, validateBlockManifestIssues as Rt, formatBookingPriceDisplay as Ru, clearTypographyFontOverrides as S, normalizeOfferingsPreviewGroupOrder as Sa, normalizeRightAngle as Sc, PenLine as Sd, resolveVisiblePromotedFieldPathsForEditorBlock as Si, Tabs as Sl, isSupportedLoaderEndpoint as Sn, formatDate as So, buildProductDetailInteractiveIslandProps as Sr, SEMANTIC_ICON_DEFINITIONS as Ss, createHistoryState as St, createEditorInsertBlockCommand as Su, dismissNotices as T, resolveOfferingsPreviewGroupCta as Ta, resolveMediaTransformForAspect as Tc, Minus as Td, getCuratedSiteStyle as Ti, TabsTrigger as Tl, getBlockDefinition as Tn, formatEventPrice as To, getShopDisplayForItems as Tr, ArrowDownIcon as Ts, undoHistory as Tt, unsafeAsEditorBlockId as Tu, syncStyleConfiguratorState as U, eventLayoutSchema as Ua, mergeStyles as Uc, Copy as Ud, parseBackgroundAppearanceColorToken as Ui, Trigger$3 as Ul, productListBlockDefinition as Un, defineClientOwnedBlockRuntime as Uo, faqAccordionFragment as Ur, InfoIcon as Us, evaluateVisibility as Ut, publicEventTicketTypes as Uu, setTypographyHeadingFontOverride as V, eventButtonVariantSchema as Va, backgroundColorStyle as Vc, Crop as Vd, backgroundAppearanceQuickColorTokenNames as Vi, Content$1 as Vl, useImageResolveContextOptional as Vn, defineInteractiveIslandMetaKeys as Vo, headingFragment as Vr, FileSpreadsheetIcon as Vs, createManifestValidation as Vt, publicEventPricingType as Vu, toggleRow as W, filterAutoShowSchema as Wa, rgbColorValue as Wc, CirclePlus as Wd, defaultThemeTokens as Wi, createCollapsibleScope as Wl, productDetailBlockDefinition as Wn, defineProgressiveBlockRuntime as Wo, faqHeadingFragment as Wr, MailIcon as Ws, createStoreBackend as Wt, formatCurrencyAmount as Wu, rejectAutosaveBatch as X, when as Xa, isNonEmptyValue as Xc, ChevronRight as Xd, pageDesignEditorBackgroundOverrideOwner as Xi, DropdownMenu as Xl, buildEventCalendarInteractiveIslandProps as Xn, asDesignBlockId as Xo, testimonialsCarouselFragment as Xr, ShoppingCartIcon as Xs, createEntrySlotBlock as Xt, unsafeAsAppointmentServiceId as Xu, idleEditorTransactionQueueState as Y, el as Ya, isHeaderField as Yc, ChevronUp as Yd, isThemeV2NormalEditorRawStylePath as Yi, Surface as Yl, eventCalendarBlockDefinition as Yn, planSiteChromePlacement as Yo, formCopyFragment as Yr, PlusIcon as Ys, createBlock as Yt, unsafeAsAppointmentResourceId as Yu, createOptimisticActionRunner as Z, bindingSchema as Za, useBlockContext as Zc, ChevronLeft as Zd, getComponentBorderWidthPx as Zi, DropdownMenuContent as Zl, buildEventCalendarListingDisplay as Zn, assertNever$5 as Zo, testimonialsHeadingFragment as Zr, UploadIcon as Zs, deleteBlock as Zt, unsafeAsCustomerPassId as Zu, usePreviewDesignCoordinator as _, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as _a, setContextResolveImageUrlContext as _c, Search as _d, PAGE_DESIGN_EDITOR_STATE_FETCH_ERROR_MESSAGE as _i, Badge as _l, CSS$1 as _n, getTextColorForBackground as _o, buildCourseRegistrationInteractiveIslandProps as _r, parseBlockIconValue as _s, useEditorUiStore as _t, Button$1 as _u, previewDesignHistoryDomainForCommand as a, NAV_LINK_TEXT_SIZE_MAP as aa, isInlineTextEmpty as ac, lucide_react_exports as ad, __exportAll as af, siteOptionSources as ai, useField as al, deriveLaunchReadiness as an, normalizeEventSurfacePresetsCsv as ao, findPreSelectedEvent as ar, mediaSchema$1 as as, getRichTextImagePositionFromTarget as at, __generator as au, applyResolvedSelections as b, inferLegacyOfferingsPreviewGroupOrder as ba, attachRenderableMediaAssetFields as bc, Plus as bd, normalEditorCuratedPromotedFieldPaths as bi, PopoverTrigger as bl, useIsomorphicLayoutEffect$1 as bn, normalizeLocationMapProps as bo, buildCartInteractiveIslandProps as br, isIconPickerPreset as bs, canRedoHistory as bt, cn$1 as bu, selectionSnapshotFromApplySiteStyleSelectionResponse as c, INPUT_SPACING_MAP as ca, MediaPlaceholder as cc, Undo2 as cd, MQ_SM_DOWN as ci, TooltipProvider as cl, KeyboardCode as cn, publicEventSchema as co, resolveRegistrationTarget as cr, createFeatureCardIconKey as cs, EditorProvider as ct, __spreadArray as cu, buildSiteChromeLookModels as d, generateCssVars as da, getCurrentResolveImageUrlContext as dc, Ticket as dd, BACKGROUND_POSITION_PRESET_VALUES as di, Select$1 as dl, getClientRect as dn, generateShadowValue as do, getWizardStepsForContext as dr, suggestFeatureCardSemanticIcons as ds, useUISelector as dt, useDirection as du, parseCustomCssRules as ea, unwrapRichTextRoot as ec, unsafeAsPassId as ed, Box as ef, ctaRowFragment as ei, hasEmptyOption as el, mutateBlockContent as en, eventSurfaceScopeValues as eo, buildFormInteractiveIslandProps as er, ACCORDION_TRIGGER_FONT_SCALE as es, PreviewInlineTextEditor as et, DropdownMenuSeparator as eu, cycleSiteChromeLookId as f, createTransformRegistry as fa, renderAudio as fc, Tablet as fd, getAnchorClasses as fi, SelectContent as fl, useDndContext as fn, normalizeBoxStylesCardVariant as fo, normalizeEventRegistrationPageSurfaceSubject as fr, suggestSemanticIconForFeatureCard as fs, EditableBlockProvider as ft, createCollection as fu, PreviewDesignCoordinatorProvider as g, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as ga, resolveMediaStorageUrl as gc, Settings as gd, formatSiteChromeBackgroundTokenLabel as gi, Label as gl, useSensors as gn, resolveTokenOrCssColorValue as go, courseRegistrationBlockDefinition as gr, getGeneratedBlockIconStyleState as gs, classifyHistoryShortcut as gt, Primitive as gu, planSiteChromeLookSelection as h, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as ha, resolveMediaNodeResponsiveImage as hc, Smartphone as hd, resolveBackgroundColorValue as hi, SelectValue as hl, useSensor as hn, resolveOnColorForThemeToken as ho, buildGiftingInteractiveIslandProps as hr, getBlockIconSemanticFallbackId as hs, useEntryEditorController as ht, composeEventHandlers as hu, usePreviewDesignHistoryOrder as i, NAV_LINK_PADDING_X_MAP as ia, inlineTextToPlainText as ic, ok as id, __commonJSMin as if, PUBLIC_FILE_FIELD_KINDS as ii, FieldFrame as il, DEFAULT_LAUNCH_READINESS_INPUT as in, normalizeEventStaffMemberId as io, findEventByOccurrenceId as ir, PUBLIC_DOWNLOAD_MEDIA_TYPES as is, RichTextEditorSurface as it, __extends as iu, openRow as j, eventListPaginationActionSchema as ja, buttonPersonalities as jc, GripVertical as jd, findFooterLook as ji, Dialog as jl, planSiteOverlayHeaderClearance as jn, groupEventsByDate as jo, EMPTY_COMMERCE_CART_STATE as jr, ChevronLeftIcon as js, deriveRouteMetadataPresentation as jt, formatBookingTime as ju, markApplySaved as k, resolveSpacing as ka, getAtPath as kc, ImageUp as kd, typographyPresets as ki, Trigger$2 as kl, SITE_CHROME_VISIBLE_HEADER_SELECTOR as kn, getCardOrientation as ko, formatCommercePrice as kr, CheckIcon as ks, createRoutingHelpers as kt, formatBookingDateTime as ku, planSiteStylePreviewChange as l, LABEL_FONT_SIZE_MAP as la, buildResolveImageUrlContext as lc, TriangleAlert as ld, MQ_SM_UP as li, TooltipTrigger as ll, PointerSensor as ln, generateCardCss as lo, WIZARD_STEPS as lr, getFeatureCardIconCompletion as ls, useEditor$1 as lt, __spreadArrays as lu, planSiteChromeFooterLayoutSelection as m, ctaButton as ma, resolveImageUrlWithContext as mc, Sparkles as md, resolveSectionForegroundStyles as mi, SelectTrigger as ml, useDroppable as mn, isCssColorLiteral as mo, giftingBlockDefinition as mr, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ms, useEntryController as mt, createContextScope as mu, useSiteChromeCustomizeOptional as n, NAV_LINK_LETTER_SPACING_MAP as na, isRecord$11 as nc, unsafeAsPositiveSeconds as nd, ArrowDown as nf, bodyCopyFragment as ni, mapOptionValueForSelect as nl, reorderEntrySlotBlocks as nn, normalizeEventCategoryIdsCsv as no, buildEventRegistrationInteractiveIslandProps as nr, ICON_CONFIG as ns, useRichTextEditor as nt, __assign as nu, selectPreviewDesignHistoryDomain as o, FONT_WEIGHT_MAP as oa, parseInlineTextFromUnknown as oc, X as od, __toESM as of, MQ_LG_UP as oi, Tooltip as ol, AMBIENT_BACKGROUND_ROLES as on, normalizeEventSurfaceScope as oo, resolveDiscountContext as or, FEATURE_CARD_ICON_TREATMENTS as os, insertOrReplaceRichTextImage as ot, __read as ou, cycleableSiteChromeOptions as p, runTransforms as pa, renderVideo as pc, Star as pd, boxStylesTransforms as pi, SelectItem as pl, useDraggable as pn, normalizeCardVariantRole as po, resolveEventRegistrationScopedEvents as pr, toFeatureCardIconSuggestionInputs as ps, EntryControllerProvider as pt, useControllableState as pu, deriveTransactionCapabilities as q, eventCalendarListLayoutCompatibleDisplayModeValues as qa, getFieldIntent as qc, CircleAlert as qd, paletteOverridesSchema as qi, CardHeader as ql, eventListingBlockDefinition as qn, markEditableSurfaceForwarding as qo, footerBottomTextFragment as qr, PhoneIcon as qs, applyPageDesignEditorAction as qt, parseMediaAssetId as qu, PreviewDesignHistoryOrderProvider as r, NAV_LINK_PADDING_MAP as ra, coerceInlineTextWithFallback as rc, err as rd, Archive as rf, defineFragment as ri, unmapValueFromSelect as rl, decodePublicProductCategorySelectorQuery as rn, normalizeEventScheduleScope as ro, toRegistrationEvents as rr, ICON_SIZE_PX as rs, EMPTY_DOC as rt, __awaiter as ru, buildApplySiteStyleSelectionBody as s, INPUT_FONT_SIZE_MAP as sa, ImagePresets as sc, Upload as sd, MQ_MD_DOWN as si, TooltipContent as sl, DndContext as sn, normalizeEventVenueId as so, resolveEventRequiresPayment as sr, applyFeatureCardIconSuggestions as ss, InlineTextEditor as st, __rest as su, SiteChromeCustomizeProvider as t, NAV_LINK_BORDER_RADIUS_MAP as ta, isObjectRecord$1 as tc, unsafeAsPositiveByteCount as td, ArrowUp as tf, heroCopyFragment as ti, mapCurrentValueForSelect as tl, reorderBlocks as tn, normalizeEventBlockKind as to, eventRegistrationBlockDefinition as tr, ACCORDION_TRIGGER_LETTER_SPACING as ts, PreviewTextEditor as tt, DropdownMenuTrigger as tu, resolveStyleConfiguratorInitialSnapshot as u, expandPalette as ua, computeMediaTransformStyle as uc, Trash2 as ud, MQ_TABLET_ONLY as ui, Textarea as ul, closestCenter as un, statusMutedColorDeclaration as uo, getStepNumber as ur, shouldReserveFeatureCardIconZone as us, ContentFieldsForm as ut, useId$1 as uu, PreviewThemeOverlayProvider as v, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as va, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as vc, RotateCcw as vd, applyCompiledRuntimeFieldsToContent as vi, Popover as vl, isKeyboardEvent as vn, featuresFromHex as vo, checkoutBlockDefinition as vr, resolveBlockIconRenderValue as vs, useEditorUiStoreInstance as vt, cva as vu, deriveStyleConfiguratorCapabilities as w, resolveOfferingsPreviewCoursePath as wa, parseAspectRatioValue as wc, Monitor as wd, designRuntimeRulesForTheme as wi, TabsList as wl, GRADIENT_PRESETS as wn, formatEventDateParts as wo, buildShopInteractiveIslandProps as wr, isSemanticIconId as ws, redoHistory as wt, createEditorReorderBlocksCommand as wu, cancelPreview as x, isOfferingsPreviewSourceKey as xa, isRotationDimensionSwap as xc, Pencil as xd, planPageDesignLayoutLookCompatibility as xi, Input as xl, useUniqueId as xn, toLocationMapHydrationProps as xo, buildCheckoutInteractiveIslandProps as xr, resolveIconPickerPreset as xs, canUndoHistory as xt, clsx as xu, usePreviewThemeOverlay as y, buildOfferingsPreviewRenderStates as ya, resolveMediaSlotContract as yc, Redo2 as yd, buildEditorModelRuntimeFieldsByBlockId as yi, PopoverContent as yl, useCombinedRefs as yn, buildGoogleMapsDirectionsUrl as yo, cartBlockDefinition as yr, parseSiteIconStyleGuideVersionId as ys, useOptionalEditorUiStoreInstance as yt, useComposedRefs as yu, setPaletteOverrides as z, calendarTabViewsSchema as za, parseThemeButtonVariantId as zc, EyeOff as zd, BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO as zi, CollapsibleContent as zl, isInternalResolvedLinkValue as zn, buildInteractiveIslandProps as zo, augmentManifestWithStyleGroups as zr, FileArchiveIcon as zs, ManifestForm as zt, publicEventPricingCurrency as zu };
|
|
157609
|
+
export { PreviewRichTextEditor as $, eventCalendarListLayoutOptions as $a, getModalConfig as $c, ChevronsUpDown as $d, isThemeV2NormalEditorRawStyleFieldName as $i, CardTitle as $l, buildEventCalendarListingRender as $n, splitPositioningClasses as $o, ctaCopyFragment as $r, PlayIcon as $s, deleteEntrySlotBlock as $t, parseSiteId as $u, markApplySaving as A, resolveOfferingsPreviewGroupCta as Aa, resolveMediaTransformForAspect as Ac, Minus as Ad, surfaceResolutionContextFromTheme as Ai, TabsTrigger as Al, SITE_CHROME_VISIBLE_HEADER_SELECTOR as An, formatEventPrice as Ao, formatCommercePrice as Ar, ArrowDownIcon as As, createRoutingHelpers as At, unsafeAsEditorBlockId as Au, setPaletteOverrides as B, resolveEventListPaginationAction as Ba, generateShadowValue$1 as Bc, FilePlay as Bd, defaultSectionTransitionVariantForFamily as Bi, DialogFooter as Bl, isInternalResolvedLinkValue as Bn, getLocalDateKey as Bo, augmentManifestWithStyleGroups as Br, CirclePlusIcon as Bs, ManifestForm as Bt, resolveBookingTimeZoneId as Bu, createStyleConfiguratorState as C, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ca, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as Cc, RotateCcw as Cd, retargetCompiledRuntimeFieldsForContentAdjacency as Ci, Popover as Cl, isSupportedLoaderEndpoint as Cn, featuresFromHex as Co, buildProductDetailInteractiveIslandProps as Cr, resolveBlockIconRenderValue as Cs, pushHistoryEntry as Ct, cva as Cu, isPreviewingChange as D, normalizeOfferingsPreviewGroupOrder as Da, normalizeRightAngle as Dc, PenLine as Dd, curatedSiteStyles as Di, Tabs as Dl, listBlockDescriptors as Dn, formatDate as Do, buildCartDisplay as Dr, SEMANTIC_ICON_DEFINITIONS as Ds, recordsEqual as Dt, createEditorInsertBlockCommand as Du, dismissWarnings as E, isOfferingsPreviewSourceKey as Ea, isRotationDimensionSwap as Ec, Pencil as Ed, resolveVisiblePromotedFieldPathsForEditorBlock as Ei, Input as El, getBlockDefinition as En, toLocationMapHydrationProps as Eo, getShopDisplayForItems as Er, resolveIconPickerPreset as Es, unsafeAsLinkedContentEntryId as Et, clsx as Eu, previewHeaderStyle as F, buildEventRuntimeFilters as Fa, siblingPath as Fc, ImagePlus as Fd, findFooterLook as Fi, ScrollableDialogContent as Fl, mediaTransforms as Fn, getContainerClass as Fo, deriveCommerceCheckoutState as Fr, ChevronDownIcon as Fs, PaletteProvider as Ft, formatBookingInstant as Fu, beginAutosaveBatch as G, columnOptionSchema as Ga, themeButtonClassName as Gc, EllipsisVertical as Gd, backgroundAppearanceColorTokenNames as Gi, CollapsibleTrigger as Gl, productDetailBlockDefinition as Gn, createInteractiveIslandCodec as Go, faqHeadingFragment as Gr, FileAudioIcon as Gs, createStoreBackend as Gt, publicEventPricingMode as Gu, syncStyleConfiguratorState as H, normalizeCsvString as Ha, generateInteractiveChildInheritanceCSS as Hc, FileArchive as Hd, sectionTransitionFamilyForBoundaryOptionId as Hi, DialogTitle as Hl, useImageResolveContextOptional as Hn, resolveRuntimeEventPricing as Ho, headingFragment as Hr, DownloadIcon as Hs, createManifestValidation as Ht, toScheduledBookingDateTime as Hu, previewPaletteVariant as I, eventListPaginationActionSchema as Ia, buttonPersonalities as Ic, GripVertical as Id, getFooterLayout as Ii, Dialog as Il, layoutTransforms as In, groupEventsByDate as Io, parseStoredCommerceCartState as Ir, ChevronLeftIcon as Is, usePalette as It, formatBookingTime as Iu, enqueueTransaction as J, eventLayoutSchema as Ja, mergeStyles as Jc, Copy as Jd, parseBackgroundAppearanceColorToken as Ji, Trigger$3 as Jl, eventListingBlockDefinition as Jn, defineClientOwnedBlockRuntime as Jo, footerBottomTextFragment as Jr, InfoIcon as Js, applyPageDesignEditorAction as Jt, publicEventTicketTypes as Ju, confirmAutosaveBatch as K, eventButtonVariantSchema as Ka, backgroundColorStyle as Kc, Crop as Kd, backgroundAppearanceQuickColorTokenNames as Ki, Content$1 as Kl, newsletterSignupBlockDefinition as Kn, defineInteractiveIslandMetaKeys as Ko, blogFeaturedPostFragment as Kr, FileSpreadsheetIcon as Ks, listContentTypes as Kt, publicEventPricingType as Ku, previewSiteStyle as L, eventPageSizeSchema as La, findButtonPersonality as Lc, File as Ld, getHeaderLayout as Li, DialogClose as Ll, uiTransforms as Ln, resolveEventCta as Lo, productItemKey as Lr, ChevronRightIcon as Ls, recoveryConflictCopy as Lt, formatLocalScheduleDate as Lu, previewButtonPersonality as M, resolveOfferingsPreviewGroups as Ma, getDirectImageUrlForMediaAsset as Mc, LoaderCircle as Md, findTypographyPreset as Mi, List as Ml, planSiteOverlayHeaderClearance as Mn, formatEventTeacherLine as Mo, EMPTY_COMMERCE_CART_STATE as Mr, ArrowRightIcon as Ms, deriveRouteMetadataPresentation as Mt, addLocalScheduleDays as Mu, previewFooterLook as N, isSemanticSpacing as Na, getImageUrl as Nc, Image as Nd, typographyPresets as Ni, Root2$1 as Nl, visibleHeaderClearancePx as Nn, formatTime as No, buildPassCartItem as Nr, CalendarIcon as Ns, resolvePageRouteSlug as Nt, formatBookingDate as Nu, markApplyFailed as O, normalizeOfferingsPreviewItemLimit as Oa, formatAspectRatioToken as Oc, Palette as Od, designRuntimeRulesForTheme as Oi, TabsContent as Ol, siteFooterManifest as On, formatEventCompactDateRail as Oo, buildProductCardDisplay as Or, getSemanticIconComponent as Os, useMultiAutosave as Ot, createEditorRemoveBlockCommand as Ou, previewHeaderLayout as P, resolveSpacing as Pa, getAtPath as Pc, ImageUp as Pd, requireEntriesForCuratedChoices as Pi, Trigger$2 as Pl, contentTransforms as Pn, getCardOrientation as Po, buildProductCartItem as Pr, CheckIcon as Ps, resolveContentTitle as Pt, formatBookingDateTime as Pu, resolvePreviewSidebarTab as Q, eventCalendarListLayoutCompatibleDisplayModeValues as Qa, getFieldIntent as Qc, CircleAlert as Qd, paletteOverridesSchema as Qi, CardHeader as Ql, buildEventCalendarListingDisplay as Qn, markEditableSurfaceForwarding as Qo, testimonialsHeadingFragment as Qr, PhoneIcon as Qs, deleteBlock as Qt, parseMediaAssetId as Qu, previewTypographyPreset as R, getEventRuntimeFiltersKey as Ra, generateButtonCss as Rc, FileText as Rd, getHeaderStyle as Ri, DialogContent as Rl, formattingTransforms as Rn, resolveEventLinkProps as Ro, reduceCommerceCart as Rr, ChevronUpIcon as Rs, unfinishedBlockCopy as Rt, getBookingLocalDateKey as Ru, cancelPreview as S, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Sa, setContextResolveImageUrlContext as Sc, Search as Sd, retargetCompiledBoundaryRuntimeForContentAdjacency as Si, Badge as Sl, useUniqueId as Sn, getTextColorForBackground as So, buildCheckoutInteractiveIslandProps as Sr, parseBlockIconValue as Ss, createHistoryState as St, Button$1 as Su, dismissNotices as T, inferLegacyOfferingsPreviewGroupOrder as Ta, attachRenderableMediaAssetFields as Tc, Plus as Td, planPageDesignLayoutLookCompatibility as Ti, PopoverTrigger as Tl, GRADIENT_PRESETS as Tn, normalizeLocationMapProps as To, buildShopInteractiveIslandProps as Tr, isIconPickerPreset as Ts, undoHistory as Tt, cn$1 as Tu, toggleRow as U, normalizeOptionalId as Ua, TokenResolver as Uc, Eye as Ud, sectionTransitionVariantForBoundaryOptionId as Ui, Collapsible as Ul, shopBlockDefinition as Un, blockBookingPaymentTermsSchema as Uo, cardFragment as Ur, ExternalLinkIcon as Us, FormRenderer as Ut, formatBookingPriceDisplay as Uu, styleConfiguratorHistoryEntryForPersistedSelection as V, normalizeCsvIds as Va, generateBaseInteractiveCSS as Vc, FileHeadphone as Vd, sectionTransitionFamilies as Vi, DialogHeader as Vl, ImageResolveContextProvider as Vn, getLocalMinuteOfDay as Vo, richTextFragment as Vr, ClockIcon as Vs, createManifestFormAdapter as Vt, toBookingTimeZone as Vu, typographySelectionSnapshotFromFlat as W, calendarTabViewsSchema as Wa, parseThemeButtonVariantId as Wc, EyeOff as Wd, BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO as Wi, CollapsibleContent as Wl, productListBlockDefinition as Wn, buildInteractiveIslandProps as Wo, faqAccordionFragment as Wr, FileArchiveIcon as Ws, evaluateVisibility as Wt, publicEventPricingCurrency as Wu, rejectAutosaveBatch as X, previewStageSchema as Xa, textColorStyle as Xc, CircleMinus as Xd, findPaletteVariant as Xi, Card as Xl, eventCalendarBlockDefinition as Xn, EDITABLE_SURFACE_FORWARDING_PROP as Xo, formCopyFragment as Xr, MapPinIcon as Xs, createBlock as Xt, assertNever$6 as Xu, idleEditorTransactionQueueState as Y, filterAutoShowSchema as Ya, rgbColorValue as Yc, CirclePlus as Yd, defaultThemeTokens as Yi, createCollapsibleScope as Yl, buildEventListingInteractiveIslandProps as Yn, defineProgressiveBlockRuntime as Yo, formEmbedFragment as Yr, MailIcon as Ys, getPageDesignEditorState as Yt, formatCurrencyAmount as Yu, createOptimisticActionRunner as Z, weekStartSchema as Za, useBackendWatch as Zc, CircleCheck as Zd, paletteVariants as Zi, CardContent as Zl, buildEventCalendarInteractiveIslandProps as Zn, composeHeaderSectionWrapperClassName as Zo, testimonialsCarouselFragment as Zr, MinusIcon as Zs, createEntrySlotBlock as Zt, expectParsedBrandedId as Zu, usePreviewDesignCoordinator as _, createTransformRegistry as _a, renderAudio as _c, Tablet as _d, mergeHeaderNavTypographyPreference as _i, SelectContent as _l, useSensors as _n, normalizeBoxStylesCardVariant as _o, courseRegistrationBlockDefinition as _r, suggestSemanticIconForFeatureCard as _s, useEditorUiStore as _t, createCollection as _u, previewDesignHistoryDomainForCommand as a, parseCustomCssRules as aa, unwrapRichTextRoot as ac, unsafeAsPassId as ad, Box as af, PUBLIC_FILE_FIELD_KINDS as ai, hasEmptyOption as al, DEFAULT_LAUNCH_READINESS_INPUT as an, eventSurfaceScopeValues as ao, findEventByOccurrenceId as ar, ACCORDION_TRIGGER_FONT_SCALE as as, getRichTextImagePositionFromTarget as at, DropdownMenuSeparator as au, applyResolvedSelections as b, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as ba, resolveMediaNodeResponsiveImage as bc, Smartphone as bd, applyCompiledRuntimeFieldsToContent as bi, SelectValue as bl, useCombinedRefs as bn, resolveOnColorForThemeToken as bo, cartBlockDefinition as br, getBlockIconSemanticFallbackId as bs, canRedoHistory as bt, composeEventHandlers as bu, selectionSnapshotFromApplySiteStyleSelectionResponse as c, NAV_LINK_PADDING_MAP as ca, coerceInlineTextWithFallback as cc, err as cd, Archive as cf, MQ_MD_DOWN as ci, unmapValueFromSelect as cl, DndContext as cn, normalizeEventScheduleScope as co, resolveEventRequiresPayment as cr, ICON_SIZE_PX as cs, EditorProvider as ct, __awaiter as cu, buildSiteChromeLookModels as d, FONT_WEIGHT_MAP as da, parseInlineTextFromUnknown as dc, X as dd, __toESM as df, MQ_TABLET_ONLY as di, Tooltip as dl, closestCenter as dn, normalizeEventSurfaceScope as do, getStepNumber as dr, FEATURE_CARD_ICON_TREATMENTS as ds, useUISelector as dt, __read as du, isThemeV2NormalEditorRawStylePath as ea, PlusIcon as ec, unsafeAsAppointmentResourceId as ed, ChevronUp as ef, heroCtaRowFragment as ei, isHeaderField as el, listEntryPageContentSlots as en, el as eo, formBlockDefinition as er, planSiteChromePlacement as es, PreviewInlineTextEditor as et, Surface as eu, cycleSiteChromeLookId as f, INPUT_FONT_SIZE_MAP as fa, ImagePresets as fc, Upload as fd, BACKGROUND_POSITION_PRESET_VALUES as fi, TooltipContent as fl, getClientRect as fn, normalizeEventVenueId as fo, getWizardStepsForContext as fr, applyFeatureCardIconSuggestions as fs, EditableBlockProvider as ft, __rest as fu, PreviewDesignCoordinatorProvider as g, generateCssVars as ga, getCurrentResolveImageUrlContext as gc, Ticket as gd, resolveBackgroundColorValue as gi, Select$1 as gl, useSensor as gn, generateShadowValue as go, buildGiftingInteractiveIslandProps as gr, suggestFeatureCardSemanticIcons as gs, classifyHistoryShortcut as gt, useDirection as gu, planSiteChromeLookSelection as h, expandPalette as ha, computeMediaTransformStyle as hc, Trash2 as hd, resolveSectionForegroundStyles as hi, Textarea as hl, useDroppable as hn, statusMutedColorDeclaration as ho, giftingBlockDefinition as hr, shouldReserveFeatureCardIconZone as hs, useEntryEditorController as ht, useId$1 as hu, usePreviewDesignHistoryOrder as i, parseBlockCustomCssRules as ia, createRichTextDocFromMarkdown as ic, unsafeAsMediaAssetId as id, Check as if, defineFragment as ii, useSdkConfig as il, decodePublicProductCategorySelectorQuery as in, eventScheduleScopeValues as io, toRegistrationEvents as ir, ACCORDION_SPACING_MAP as is, RichTextEditorSurface as it, DropdownMenuLabel as iu, openRow as j, resolveOfferingsPreviewGroupOrderEntries as ja, asRecord as jc, Maximize2 as jd, evaluateTypographyFontSlot as ji, Content as jl, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as jn, formatEventPriceDisplay as jo, formatInterval as jr, ArrowLeftIcon as js, createSnapshotFromPageRecord as jt, unsafeAsEditorBlockValues as ju, markApplySaved as k, resolveOfferingsPreviewCoursePath as ka, parseAspectRatioValue as kc, Monitor as kd, getCuratedSiteStyle as ki, TabsList as kl, siteHeaderManifest as kn, formatEventDateParts as ko, buildProductDetailDisplay as kr, isSemanticIconId as ks, useDebouncedLatestSave as kt, createEditorReorderBlocksCommand as ku, planSiteStylePreviewChange as l, NAV_LINK_PADDING_X_MAP as la, inlineTextToPlainText as lc, ok as ld, __commonJSMin as lf, MQ_SM_DOWN as li, FieldFrame as ll, KeyboardCode as ln, normalizeEventStaffMemberId as lo, resolveRegistrationTarget as lr, PUBLIC_DOWNLOAD_MEDIA_TYPES as ls, useEditor$1 as lt, __extends as lu, planSiteChromeFooterLayoutSelection as m, LABEL_FONT_SIZE_MAP as ma, buildResolveImageUrlContext as mc, TriangleAlert as md, boxStylesTransforms as mi, TooltipTrigger as ml, useDraggable as mn, generateCardCss as mo, resolveEventRegistrationScopedEvents as mr, getFeatureCardIconCompletion as ms, useEntryController as mt, __spreadArrays as mu, useSiteChromeCustomizeOptional as n, getComponentBorderWidthPx as na, UploadIcon as nc, unsafeAsCustomerPassId as nd, ChevronLeft as nf, heroCopyFragment as ni, useBlockContext as nl, reorderBlocks as nn, bindingSchema as no, eventRegistrationBlockDefinition as nr, assertNever$5 as ns, useRichTextEditor as nt, DropdownMenuContent as nu, selectPreviewDesignHistoryDomain as o, NAV_LINK_BORDER_RADIUS_MAP as oa, isObjectRecord$1 as oc, unsafeAsPositiveByteCount as od, ArrowUp as of, siteOptionSources as oi, mapCurrentValueForSelect as ol, deriveLaunchReadiness as on, normalizeEventBlockKind as oo, findPreSelectedEvent as or, ACCORDION_TRIGGER_LETTER_SPACING as os, insertOrReplaceRichTextImage as ot, DropdownMenuTrigger as ou, cycleableSiteChromeOptions as p, INPUT_SPACING_MAP as pa, MediaPlaceholder as pc, Undo2 as pd, getAnchorClasses as pi, TooltipProvider as pl, useDndContext as pn, publicEventSchema as po, normalizeEventRegistrationPageSurfaceSubject as pr, createFeatureCardIconKey as ps, EntryControllerProvider as pt, __spreadArray as pu, deriveTransactionCapabilities as q, eventCalendarDefaultViewSchema as qa, borderColorStyle as qc, CreditCard as qd, foregroundTokenForBackgroundAppearanceColorToken as qi, Root$3 as ql, buildNewsletterFormInteractiveIslandProps as qn, createZodCodec as qo, singleButtonFragment as qr, FileTextIcon as qs, toRoutableLinkPayload as qt, publicEventScalarPrice as qu, PreviewDesignHistoryOrderProvider as r, getComponentShadowVar as ra, XIcon as rc, unsafeAsFormId as rd, ChevronDown as rf, bodyCopyFragment as ri, SdkConfigProvider as rl, reorderEntrySlotBlocks as rn, eventBlockKindValues as ro, buildEventRegistrationInteractiveIslandProps as rr, ACCORDION_OPEN_ACCENT_THICKNESS as rs, EMPTY_DOC as rt, DropdownMenuItem as ru, buildApplySiteStyleSelectionBody as s, NAV_LINK_LETTER_SPACING_MAP as sa, isRecord$11 as sc, unsafeAsPositiveSeconds as sd, ArrowDown as sf, MQ_LG_UP as si, mapOptionValueForSelect as sl, AMBIENT_BACKGROUND_ROLES as sn, normalizeEventCategoryIdsCsv as so, resolveDiscountContext as sr, ICON_CONFIG as ss, InlineTextEditor as st, __assign as su, SiteChromeCustomizeProvider as t, pageDesignEditorBackgroundOverrideOwner as ta, ShoppingCartIcon as tc, unsafeAsAppointmentServiceId as td, ChevronRight as tf, ctaRowFragment as ti, isNonEmptyValue as tl, mutateBlockContent as tn, when as to, buildFormInteractiveIslandProps as tr, asDesignBlockId as ts, PreviewTextEditor as tt, DropdownMenu as tu, resolveStyleConfiguratorInitialSnapshot as u, NAV_LINK_TEXT_SIZE_MAP as ua, isInlineTextEmpty as uc, lucide_react_exports as ud, __exportAll as uf, MQ_SM_UP as ui, useField as ul, PointerSensor as un, normalizeEventSurfacePresetsCsv as uo, WIZARD_STEPS as ur, mediaSchema$1 as us, ContentFieldsForm as ut, __generator as uu, PreviewThemeOverlayProvider as v, runTransforms as va, renderVideo as vc, Star as vd, formatSiteChromeBackgroundTokenLabel as vi, SelectItem as vl, CSS$1 as vn, normalizeCardVariantRole as vo, buildCourseRegistrationInteractiveIslandProps as vr, toFeatureCardIconSuggestionInputs as vs, useEditorUiStoreInstance as vt, useControllableState as vu, deriveStyleConfiguratorCapabilities as w, buildOfferingsPreviewRenderStates as wa, resolveMediaSlotContract as wc, Redo2 as wd, normalEditorCuratedPromotedFieldPaths as wi, PopoverContent as wl, gradientToCss as wn, buildGoogleMapsDirectionsUrl as wo, buildProductListInteractiveIslandProps as wr, parseSiteIconStyleGuideVersionId as ws, redoHistory as wt, useComposedRefs as wu, applyTypographyDraftPatch as x, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as xa, resolveMediaStorageUrl as xc, Settings as xd, compileEditorModelRuntime as xi, Label as xl, useIsomorphicLayoutEffect$1 as xn, resolveTokenOrCssColorValue as xo, buildCartInteractiveIslandProps as xr, getGeneratedBlockIconStyleState as xs, canUndoHistory as xt, Primitive as xu, usePreviewThemeOverlay as y, ctaButton as ya, resolveImageUrlWithContext as yc, Sparkles as yd, PAGE_DESIGN_EDITOR_STATE_FETCH_ERROR_MESSAGE as yi, SelectTrigger as yl, isKeyboardEvent as yn, isCssColorLiteral as yo, checkoutBlockDefinition as yr, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ys, useOptionalEditorUiStoreInstance as yt, createContextScope as yu, resetTypographyToSaved as z, resolveEventCalendarListPageSize as za, generateEffectsCSS as zc, FileSpreadsheet as zd, boundaryRuntimeMetricsForTransition as zi, DialogDescription as zl, createManifestValidator as zn, getEventAvailability as zo, augmentManifest as zr, CircleMinusIcon as zs, validateBlockManifestIssues as zt, parseBookingLocalDate as zu };
|