riverbankcms 0.37.0 → 0.38.1

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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { En as sdkEntrySlotBlocksInputSchema, a as classifySdkEventSchedule, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer } from "./sdk-event-upsert-BL6uAz53.mjs";
3
- import { S as EVENT_PRESET_VALUES } from "./src-ClX_VLD6.mjs";
2
+ import { On as sdkEntrySlotBlocksInputSchema, a as classifySdkEventSchedule, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer } from "./sdk-event-upsert-78zikPNp.mjs";
3
+ import { w as EVENT_PRESET_VALUES } from "./src-e6JfJMDt.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/commands/eventUpsertInputSchema.ts
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { t as loadConfigFile } from "./load-config-Dl_o53yP.mjs";
3
+
4
+ export { loadConfigFile };
@@ -7,7 +7,7 @@ import { existsSync as existsSync$1 } from "fs";
7
7
  import { fileURLToPath } from "url";
8
8
 
9
9
  //#region package.json
10
- var version = "0.37.0";
10
+ var version = "0.38.1";
11
11
  var peerDependencies = { "@riverbankcms/sdk": ">=0.157.0 <1.0.0" };
12
12
  var package_default = {
13
13
  name: "riverbankcms",
@@ -94,7 +94,7 @@ var package_default = {
94
94
  //#endregion
95
95
  //#region src/version.ts
96
96
  /** The package manifest is the source-run fallback; builds inject this value. */
97
- const CLI_VERSION = typeof "0.37.0" === "string" ? "0.37.0" : version;
97
+ const CLI_VERSION = typeof "0.38.1" === "string" ? "0.38.1" : version;
98
98
  /**
99
99
  * The CLI's SDK peer range is bundled from the CLI manifest alongside its
100
100
  * version. Runtime config loading uses this value as the single compatibility
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Ir as err, Lr as ok, Tr as parseSiteId } from "./src-ClX_VLD6.mjs";
2
+ import { Kr as err, Nr as parseSiteId, qr as ok } from "./src-e6JfJMDt.mjs";
3
3
  import { existsSync, readFileSync } from "node:fs";
4
4
  import { dirname, isAbsolute, join, parse, relative, resolve, sep } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
@@ -1322,27 +1322,24 @@ export default function NotFound() {
1322
1322
 
1323
1323
  //#endregion
1324
1324
  //#region src/scaffold/templates/portal-pages.ts
1325
- function portalPageTemplate(path$1, helper, configPath, metadata = "") {
1325
+ function portalPageTemplate(path$1, page, configPath, metadata) {
1326
+ const imports = page.alsoImport ? `${page.helper}, ${page.alsoImport}` : page.helper;
1326
1327
  return {
1327
1328
  path: `src/app/${path$1}/page.tsx`,
1328
- content: `import { ${helper} } from '@riverbankcms/sdk/next';
1329
+ content: `import { ${imports} } from '@riverbankcms/sdk/next';
1329
1330
  import { getRiverbankClient } from '@/lib/riverbank-client';
1330
1331
  import config from '${configPath}';
1331
1332
 
1332
1333
  ${metadata}export const dynamic = 'force-dynamic';
1333
- export default ${helper}({ getClient: getRiverbankClient, config });
1334
+ export default ${page.helper}({ getClient: getRiverbankClient, config });
1334
1335
  `
1335
1336
  };
1336
1337
  }
1337
1338
  function portalPageTemplates() {
1338
- return [
1339
- portalPageTemplate("redeem", "createRedeemPage", "../../../riverbank.config", "export const metadata = { title: 'Redeem a gift card', referrer: 'no-referrer', robots: { index: false, follow: false } };\n"),
1340
- portalPageTemplate("portal", "createPortalPage", "../../../riverbank.config"),
1341
- portalPageTemplate("portal/continue", "createPortalContinuePage", "../../../../riverbank.config", "export const metadata = { title: 'Continue', robots: { index: false, follow: false } };\n"),
1342
- portalPageTemplate("portal/tickets/[registrationId]", "createPortalTicketPage", "../../../../../riverbank.config"),
1343
- portalPageTemplate("portal/digital-products/[entitlementId]", "createPortalDigitalProductPage", "../../../../../riverbank.config"),
1344
- portalPageTemplate("portal/digital-products/[entitlementId]/files/[assetId]", "createPortalDigitalProductFilePage", "../../../../../../../riverbank.config")
1345
- ];
1339
+ return [portalPageTemplate("redeem", { helper: "createRedeemPage" }, "../../../riverbank.config", "export const metadata = { title: 'Redeem a gift card', referrer: 'no-referrer', robots: { index: false, follow: false } };\n"), portalPageTemplate("portal/[[...path]]", {
1340
+ helper: "createPortalPage",
1341
+ alsoImport: "generatePortalPageMetadata"
1342
+ }, "../../../../riverbank.config", "export const generateMetadata = generatePortalPageMetadata;\n")];
1346
1343
  }
1347
1344
 
1348
1345
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import "../src-ClX_VLD6.mjs";
3
- import { a as prepareScaffoldExecution, d as loadGeneratedPackageRanges, i as preflightScaffoldTargets, l as deriveGeneratedPackageRanges, o as writeScaffoldFiles, r as preflightScaffoldPlan, s as deriveScaffoldLocalManifest, t as deriveScaffoldPlan, u as findPackageManifestPath } from "../plan-FPq8qKNu.mjs";
2
+ import "../src-e6JfJMDt.mjs";
3
+ import { a as prepareScaffoldExecution, d as loadGeneratedPackageRanges, i as preflightScaffoldTargets, l as deriveGeneratedPackageRanges, o as writeScaffoldFiles, r as preflightScaffoldPlan, s as deriveScaffoldLocalManifest, t as deriveScaffoldPlan, u as findPackageManifestPath } from "../plan-D0-jU0Ye.mjs";
4
4
 
5
5
  export { deriveGeneratedPackageRanges, deriveScaffoldLocalManifest, deriveScaffoldPlan, findPackageManifestPath, loadGeneratedPackageRanges, preflightScaffoldPlan, preflightScaffoldTargets, prepareScaffoldExecution, writeScaffoldFiles };
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as parseFooterCompositionV1, An as fromArray, C as ORDINARY_EVENT_PRESET_VALUES, Cr as unsafeAsSiteFontId, Dr as unsafeAsSiteId, Dt as BOOKING_COURSE_INSTALMENT_DEADLINES, Hn as assertNever, Ht as MAX_BOOKING_CUT_OFF_HOURS, Ir as err, J as parseConfiguredMailingListProvider, Kn as unsafeAsContentEntryId, Lr as ok, Mn as mapReadonlyNonEmptyArray, Or as unsafeAsUserId, Ot as validateBookingPaymentOptionKinds, Qn as unsafeAsEntitlementId, S as EVENT_PRESET_VALUES, Sr as unsafeAsPageSurfaceId, St as isPresent, Tr as parseSiteId, Wn as unsafeAsBookingRequirementId, Y as parseMailingListGlobalForm, _n as parseBookingTimeZone, ar as unsafeAsDetectedMimeType, b as resolveSiteVerticalBookingConfig, c as STAFF_OPERATIONAL_CAPABILITIES, cr as unsafeAsOriginalFilename, ct as parseWeeklyOpeningHours, dr as unsafeAsSafeDownloadFilename, dt as SENSITIVE_COLLECTION_MODES, fn as parseUtcIsoDateTimeString, fr as unsafeAsSiteScopedStoragePath, gr as unsafeAsProductId, gt as locationValueSchema, h as NAVIGATION_LOCATIONS, hr as unsafeAsUploadSessionId, i as isRecord$6, ir as unsafeAsDeclaredMimeType, it as isCanonicalRichTextDoc, jn as mapNonEmptyArray, jr as unsafeAsEventCategoryId, ln as localScheduleTimePattern, lr as unsafeAsPositiveByteCount, mr as unsafeAsStoragePath, n as OFFLINE_PAYMENT_METHODS, nr as unsafeAsBookingSessionId, o as applyClearable, or as unsafeAsFileChecksumSha256, pr as unsafeAsStorageBucketName, pt as stableJsonStringify, rr as parseMediaAssetId, s as clearableFrom, sr as unsafeAsMediaAssetId, st as parsePublicContactDetails, t as isEventOccurrenceRouteSegment, ur as unsafeAsPositiveSeconds, ut as SENSITIVE_COLLECTION_CONFIRMATION_VERSION } from "./src-ClX_VLD6.mjs";
2
+ import { Ar as unsafeAsPageSurfaceId, At as validateBookingPaymentOptionKinds, Fr as unsafeAsSiteId, Ir as unsafeAsUserId, Jn as unsafeAsContentEntryId, Kn as unsafeAsBookingRequirementId, Kr as err, Mn as fromArray, Nn as mapNonEmptyArray, Nr as parseSiteId, Pn as mapReadonlyNonEmptyArray, S as resolveSiteVerticalBookingConfig, Sr as unsafeAsProductId, T as ORDINARY_EVENT_PRESET_VALUES, Vr as unsafeAsEventCategoryId, Wn as assertNever, Wt as MAX_BOOKING_CUT_OFF_HOURS, X as parseConfiguredMailingListProvider, Z as parseMailingListGlobalForm, _ as NAVIGATION_LOCATIONS, _r as unsafeAsSafeDownloadFilename, a as isRecord$6, br as unsafeAsStoragePath, c as applyClearable, cr as unsafeAsBookingSessionId, dn as localScheduleTimePattern, dr as unsafeAsDetectedMimeType, fr as unsafeAsFileChecksumSha256, ft as SENSITIVE_COLLECTION_CONFIRMATION_VERSION, gr as unsafeAsPositiveSeconds, hr as unsafeAsPositiveByteCount, ht as stableJsonStringify, jr as unsafeAsSiteFontId, kt as BOOKING_COURSE_INSTALMENT_DEADLINES, l as clearableFrom, lr as parseMediaAssetId, lt as parsePublicContactDetails, mn as parseUtcIsoDateTimeString, mr as unsafeAsOriginalFilename, n as OFFLINE_PAYMENT_METHODS, ot as isCanonicalRichTextDoc, pr as unsafeAsMediaAssetId, pt as SENSITIVE_COLLECTION_MODES, qr as ok, rr as unsafeAsEntitlementId, t as isEventOccurrenceRouteSegment, tt as parseFooterCompositionV1, u as STAFF_OPERATIONAL_CAPABILITIES, ur as unsafeAsDeclaredMimeType, ut as parseWeeklyOpeningHours, vr as unsafeAsSiteScopedStoragePath, vt as locationValueSchema, w as EVENT_PRESET_VALUES, wt as isPresent, xr as unsafeAsUploadSessionId, yn as parseBookingTimeZone, yr as unsafeAsStorageBucketName } from "./src-e6JfJMDt.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import { z } from "zod";
5
5
 
@@ -3045,6 +3045,14 @@ const PRODUCT_CATEGORY_CONTENT_TYPE_SCHEMA = {
3045
3045
  /** The content type that holds team member profiles, and their page sections. */
3046
3046
  const TEAM_MEMBER_CONTENT_TYPE_KEY = "team-member";
3047
3047
  /**
3048
+ * The empty bio a profile stores when its bio is cleared. The profile then
3049
+ * shows the person's short bio from About instead.
3050
+ */
3051
+ const EMPTY_TEAM_MEMBER_BIO = {
3052
+ type: "doc",
3053
+ content: []
3054
+ };
3055
+ /**
3048
3056
  * Built-in `ContentTypeSchema` registry. Keyed exhaustively on
3049
3057
  * `BuiltinContentTypeKey` via `satisfies` — adding a new builtin key
3050
3058
  * fails the compile here until a schema is provided. The `as const`
@@ -41443,8 +41451,43 @@ const FORBIDDEN_SELECTORS = [
41443
41451
  ];
41444
41452
  /** Universal selector - forbidden because it affects everything */
41445
41453
  const UNIVERSAL_SELECTOR = "*";
41446
- /** Pattern to detect remote URL references (http://, https://, //) */
41447
- const REMOTE_URL_PATTERN = /url\s*\(\s*['"]?(https?:|\/\/)/i;
41454
+ /**
41455
+ * The start of an address on another origin: an http(s) scheme (browsers
41456
+ * accept `http:evil.example` without slashes), or two slashes, where a
41457
+ * backslash counts as a slash and whitespace between them is dropped.
41458
+ */
41459
+ const REMOTE_ADDRESS = String.raw`(?:https?:|[/\\]\s*[/\\])`;
41460
+ /**
41461
+ * A remote address in url(), or at the start of any quoted string, which is
41462
+ * how image-set(), -webkit-image-set() and src() take one without url(). In a
41463
+ * quoted string, two slashes followed by a space are text (`'// note'`): a
41464
+ * browser cannot read a host that starts with a space.
41465
+ */
41466
+ const REMOTE_URL_PATTERN = new RegExp(String.raw`url\s*\(\s*['"]?\s*${REMOTE_ADDRESS}|['"]\s*(?:https?:|[/\\]\s*[/\\](?! ))`, "i");
41467
+ /** Comments and quoted strings, matched left to right the way a browser reads them. */
41468
+ const COMMENT_OR_STRING = /\/\*[\s\S]*?\*\/|"(?:[^"\\\n]|\\[\s\S])*"|'(?:[^'\\\n]|\\[\s\S])*'/g;
41469
+ const DATA_URL_STRING = /^["']\s*data:/i;
41470
+ /**
41471
+ * A quoted `data:` URL holds its file inline, so the addresses inside it are
41472
+ * text and nothing is fetched: the standard inline SVG carries
41473
+ * `xmlns='http://www.w3.org/2000/svg'`. Those strings are emptied before the
41474
+ * remote check. Only a string the browser would also read as one is emptied,
41475
+ * so a comment or another string cannot pose as a `data:` URL around a real
41476
+ * `url()`.
41477
+ */
41478
+ function withoutDataUrlStrings(value) {
41479
+ return value.replace(COMMENT_OR_STRING, (token) => DATA_URL_STRING.test(token) ? "\"\"" : token);
41480
+ }
41481
+ /** CSS comments, and escapes such as `\72` or `\/`, which can spell `url(` or `//`. */
41482
+ const CSS_COMMENT = /\/\*[\s\S]*?\*\//g;
41483
+ const CSS_ESCAPE = /\\(?:([0-9a-fA-F]{1,6})\s?|([^\n0-9a-fA-F]))/g;
41484
+ function decodeCss(value) {
41485
+ return value.replace(CSS_COMMENT, "").replace(CSS_ESCAPE, (_match, hex, char) => {
41486
+ if (hex === undefined) return char ?? "";
41487
+ const codePoint = Number.parseInt(hex, 16);
41488
+ return codePoint > 0 && codePoint <= 1114111 ? String.fromCodePoint(codePoint) : "�";
41489
+ });
41490
+ }
41448
41491
  /** Pattern to detect javascript: URLs */
41449
41492
  const JAVASCRIPT_URL_PATTERN = /javascript\s*:/i;
41450
41493
  /**
@@ -41494,13 +41537,14 @@ const selectorSchema = z.string().min(1, "Selector cannot be empty").max(200, "S
41494
41537
  * Check if a CSS value contains a remote URL.
41495
41538
  */
41496
41539
  function containsRemoteUrl(value) {
41497
- return REMOTE_URL_PATTERN.test(value);
41540
+ const checked = withoutDataUrlStrings(value);
41541
+ return REMOTE_URL_PATTERN.test(checked) || REMOTE_URL_PATTERN.test(decodeCss(checked));
41498
41542
  }
41499
41543
  /**
41500
41544
  * Check if a CSS value contains a javascript: URL.
41501
41545
  */
41502
41546
  function containsJavascriptUrl(value) {
41503
- return JAVASCRIPT_URL_PATTERN.test(value);
41547
+ return JAVASCRIPT_URL_PATTERN.test(value) || JAVASCRIPT_URL_PATTERN.test(decodeCss(value));
41504
41548
  }
41505
41549
  /**
41506
41550
  * Validates a CSS declaration value for safety.
@@ -41610,8 +41654,12 @@ const supportsAtRuleSchema = z.object({
41610
41654
  function containsBlockedAtRule(css) {
41611
41655
  return BLOCKED_AT_RULE_PATTERN.test(css);
41612
41656
  }
41613
- /** Raw CSS validation - blocks @import, @charset, must start with @ */
41614
- const rawCssSchema = z.string().min(1, "CSS is required").max(5e3, "Raw CSS too long (max 5000 characters)").refine((css) => css.trim().startsWith("@"), { message: "Raw at-rule must start with @" }).refine((css) => !containsBlockedAtRule(css), { message: `Blocked at-rules: ${BLOCKED_AT_RULES.join(", ")}. Use typed at-rules or local assets instead.` });
41657
+ /**
41658
+ * Raw CSS validation - blocks @import, @charset, must start with @.
41659
+ * A raw at-rule holds whole declarations, so it gets the same url() and
41660
+ * javascript: checks as a typed rule's declaration values.
41661
+ */
41662
+ const rawCssSchema = z.string().min(1, "CSS is required").max(5e3, "Raw CSS too long (max 5000 characters)").refine((css) => css.trim().startsWith("@"), { message: "Raw at-rule must start with @" }).refine((css) => !containsBlockedAtRule(css), { message: `Blocked at-rules: ${BLOCKED_AT_RULES.join(", ")}. Use typed at-rules or local assets instead.` }).refine((css) => !containsRemoteUrl(css), { message: "Remote url() references are not allowed. Use local paths, data URIs, or fragment IDs." }).refine((css) => !containsJavascriptUrl(css), { message: "javascript: URLs are not allowed" });
41615
41663
  /** Raw at-rule schema */
41616
41664
  const rawAtRuleSchema = z.object({
41617
41665
  id: ruleIdSchema,
@@ -42371,23 +42419,6 @@ const themeSchema = z.object({
42371
42419
  styleGroups: z.record(z.string(), z.array(z.string())).optional()
42372
42420
  });
42373
42421
 
42374
- //#endregion
42375
- //#region ../site-contracts/src/theme/hostedBooking.ts
42376
- /**
42377
- * The complete appearance contract accepted by the hosted-booking renderer.
42378
- * It deliberately contains only the simplified theme choices: semantic
42379
- * palette, palette mode, two font roles, and the canonical corner shape.
42380
- */
42381
- const hostedBookingAppearanceSchema = z.object({
42382
- palette: paletteColorsSchema,
42383
- paletteMode: paletteModeSchema,
42384
- typography: z.object({
42385
- headingFamily: z.string().trim().min(1),
42386
- bodyFamily: z.string().trim().min(1)
42387
- }).strict(),
42388
- corners
42389
- }).strict();
42390
-
42391
42422
  //#endregion
42392
42423
  //#region ../site-contracts/src/theme/footerMode.ts
42393
42424
  const footerModeSchema = z.enum([
@@ -46365,4 +46396,4 @@ function parseSdkEventRunUpsertInput(input, runIndex, options) {
46365
46396
  }
46366
46397
 
46367
46398
  //#endregion
46368
- export { walkAndCollectImageAttrs as $, headerStyleIdValues as $n, flatInkParametersSchema as $t, parseSiteChromeBackgroundColorToken as A, buildEntryScaffold as An, createContentEntryRef as Ar, getMimeType as At, sectionStylesOverrideSchema as B, isResolvedInternalLinkEntityType as Bn, slugPart as Br, footerPreferencesSchema as Bt, blockOrderIdentifiersForCommand as C, bookingPaymentCollectionOptionSchema as Cn, makeBoundaryId as Cr, parseCanonicalMediaIdentifier as Ct, pagePathForCommand as D, RichTextDocSchema as Dn, createBlockRef as Dr, deriveVideoSlotPolicy as Dt, pageIdentifierForCommand as E, sdkEntrySlotBlocksInputSchema as En, ianaTimezoneSchema as Er, slugifyMediaIdentifier as Et, defaultHeaderBrandPreferences as F, entryLinkSchema as Fn, createNavigationRef as Fr, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Ft, headerInteractionQuietPalette as G, parseGradientPresetId as Gn, cardVariantRoleValues as Gt, skinBookingBarSchema as H, pageLinkSchema as Hn, __toESM as Hr, boxlessCardVariantValue as Ht, footerModeSchema as I, externalLinkSchema as In, createPageRef as Ir, classifyKnownMimeType as It, boxBackgroundOverlaySchema as J, asHeaderLayoutId as Jn, surfaceCardRoleValues as Jt, blockCustomCssRuleSchema as K, SUPPORTED_LOADER_ENDPOINTS as Kn, itemRoleValues as Kt, cardStylesOverrideSchema as L, internalLinkSchema as Ln, createSiteCommandSiteRef as Lr, managementMediaLibraryUploadLimitForMimeType as Lt, defaultHeaderPreferences as M, findUnfilledSentinels as Mn, createEventSeriesRef as Mr, normalizeAmbiguousStoragePathForSite as Mt, defaultHeaderNavPreferences as N, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Nn, createFooterRef as Nr, parseRelativeStoragePath as Nt, hasConfiguredBookingVertical as O, isRichTextDoc as On, createBlocksRef as Or, resolveVideoSelectionIntentForMediaField as Ot, defaultHeaderBrandPresentation as P, customLinkSchema as Pn, createFormRef as Pr, FILE_SIZE_LIMITS as Pt, summarizePortableMediaReferences as Q, headerLayoutIdValues as Qn, flatInkHoverTreatmentSchema as Qt, containerStylesOverrideSchema as R, internalResolvedLinkSchema as Rn, createVenueRef as Rr, parseSafeDownloadFilename as Rt, blockIdentifierForCommand as S, eventBookingOfferIntentSchema as Sn, asSiteStyleId as Sr, buildMediaIdentifierFromFilename as St, pageIdentifierForBlockCommand as T, eventCommandScheduleSchema as Tn, bookingQuestionAttachmentSchema as Tr, resolveMediaIdentifier as Tt, headerVariantValues as U, ICON_PICKER_PRESETS as Un, cardRoleSchema as Ut, themeSchema as V, linkSchema as Vn, __commonJSMin as Vr, getFontWidthRange as Vt, headerInteractionPaletteValues as W, gradientPresetIdValues as Wn, cardRoleValues as Wt, runtimeBoxBackgroundSchema as X, bookingPageLookIdValues as Xn, buttonStyleSelectionSchema as Xt, boxBackgroundSchema as Y, asHeaderStyleId as Yn, BUTTON_STYLE_IDS as Yt, collectPortableMediaReferencesFromContent as Z, footerLookIdValues as Zn, editorialLinkParametersSchema as Zt, mapEventCommandContent as _, paletteTokenNameSchema as _n, asDesignBoundaryId as _r, resolveManagedMediaReference as _t, classifySdkEventSchedule as a, buttonVariantIdSchema as an, arrangementModes as ar, parseAspectRatioValue as at, getSiteCommandMetadata as b, changeBookingQuestionsInputSchema as bn, asLayoutVariantKey as br, mediaTypeDiscriminants as bt, isEventVisibility as c, parseOpaqueButtonColourToken as cn, headingDecorationColorTokenValues as cr, getDirectImageUrlForSiteScopedPath as ct, venueManagementFields as d, hexColorSchema as dn, visibleHeadingDecorationFamilyValues as dr, imageMediaSchema as dt, quietArrowParametersSchema as en, pageDesignEditorBackgroundOverrideOwner as er, deleteEnvSpecificKeys as et, sortRecord as f, normalizePaletteHex as fn, asAppearancePresetId as fr, mediaSchema as ft, resolveEventSeriesWaitlistMapping as g, paletteModeSchema as gn, asDesignBlockId as gr, buildRenderableMediaAssetIndex as gt, parseAndPlanCommandBatchForTypes as h, paletteColorsSchema as hn, asBoundaryOptionId as hr, videoMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, buttonSystemSchema as in, VARIANT_ROLES as ir, isExplicitRectCrop as it, backgroundAppearanceColorTokenNames as j, validateEntryInstance as jn, createEventCategoryRef as jr, asRecord as jt, headerPreferencesSchema as k, sanitizeHref as kn, createCommandRef as kr, getExtensionForMimeType as kt, resolvePageUpsertSeo as l, PALETTE_TOKEN_NAMES as ln, isArrangementMode as lr, getImageUrl as lt, createDryRunReport as m, paletteColorsFromEntries as mn, asBlockOrderIndex as mr, runtimeMediaSchema as mt, sdkCourseBookingSettingsSchema as n, buttonEffectApplicationSchema as nn, siteChromeBackgroundOverrideOwner as nr, rotateNormalizedPoint as nt, classifySdkEventBookingOffer as o, buttonVisualStatesSchema as on, eventListTreatmentValues as or, resolveMediaTransformForAspect as ot, stableStringify as p, paletteColorEntries as pn, asBlockContentVersionId as pr, persistableMediaSchema as pt, customCssRuleSchema as q, asFooterLookId as qn, openCardRoleValue as qt, sdkEventOccurrenceInputSchema as r, buttonPressOffsetSchema as rn, SYSTEM_BLOCK_KINDS as rr, normalizeWidthCandidates as rt, eventVisibilitySchema as s, opaqueButtonColourTokenSchema as sn, eyebrowTreatmentValues as sr, getDirectImageUrlForRelativePath as st, classifySdkEventTiming as t, squareOutlineParametersSchema as tn, parseBookingPageLookId as tr, looksLikeUuid as tt, eventCategoryManagementFields as u, blockColorTokenNames as un, tileTreatmentValues as ur, isSiteScopedDirectImageStoragePath as ut, evaluateSiteCommandBatchExposure as v, parseColorTokenParts as vn, asDesignPageId as vr, PUBLIC_FILE_FIELD_KINDS as vt, entryIdentifierForCommand as w, bookingPaymentTermsSchema as wn, compareEntrySlug as wr, parseMediaIdentifier as wt, eventManagementTiming as x, require_dist as xn, asPageFlowPresetId as xr, mediaIdentifierSchema as xt, evaluateSiteCommandExposure as y, parseThemeColorToken as yn, asDesignSystemTemplateId as yr, isDisplayMediaKind as yt, headerPositioningValues as z, internalRouteOnlyLinkSchema as zn, refSlug as zr, defaultFooterPreferences as zt };
46399
+ export { walkAndCollectImageAttrs as $, bookingPageLookIdValues as $n, flatInkHoverTreatmentSchema as $t, parseSiteChromeBackgroundColorToken as A, isRichTextDoc as An, createBlockRef as Ar, getMimeType as At, sectionStylesOverrideSchema as B, internalLinkSchema as Bn, createSiteCommandSiteRef as Br, footerPreferencesSchema as Bt, blockOrderIdentifiersForCommand as C, require_dist as Cn, asLayoutVariantKey as Cr, parseCanonicalMediaIdentifier as Ct, pagePathForCommand as D, eventCommandScheduleSchema as Dn, compareEntrySlug as Dr, deriveVideoSlotPolicy as Dt, pageIdentifierForCommand as E, bookingPaymentTermsSchema as En, makeBoundaryId as Er, slugifyMediaIdentifier as Et, defaultHeaderBrandPreferences as F, findUnfilledSentinels as Fn, createEventSeriesRef as Fr, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Ft, headerInteractionQuietPalette as G, pageLinkSchema as Gn, __toESM as Gr, cardRoleValues as Gt, skinBookingBarSchema as H, internalRouteOnlyLinkSchema as Hn, refSlug as Hr, accordionIconSchema as Ht, footerModeSchema as I, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as In, createFooterRef as Ir, classifyKnownMimeType as It, boxBackgroundOverlaySchema as J, parseGradientPresetId as Jn, openCardRoleValue as Jt, blockCustomCssRuleSchema as K, ICON_PICKER_PRESETS as Kn, cardVariantRoleValues as Kt, cardStylesOverrideSchema as L, customLinkSchema as Ln, createFormRef as Lr, managementMediaLibraryUploadLimitForMimeType as Lt, defaultHeaderPreferences as M, sanitizeHref as Mn, createCommandRef as Mr, normalizeAmbiguousStoragePathForSite as Mt, defaultHeaderNavPreferences as N, buildEntryScaffold as Nn, createContentEntryRef as Nr, parseRelativeStoragePath as Nt, hasConfiguredBookingVertical as O, sdkEntrySlotBlocksInputSchema as On, bookingQuestionAttachmentSchema as Or, resolveVideoSelectionIntentForMediaField as Ot, defaultHeaderBrandPresentation as P, validateEntryInstance as Pn, createEventCategoryRef as Pr, FILE_SIZE_LIMITS as Pt, summarizePortableMediaReferences as Q, asHeaderStyleId as Qn, editorialLinkParametersSchema as Qt, containerStylesOverrideSchema as R, entryLinkSchema as Rn, createNavigationRef as Rr, parseSafeDownloadFilename as Rt, blockIdentifierForCommand as S, changeBookingQuestionsInputSchema as Sn, asDesignSystemTemplateId as Sr, buildMediaIdentifierFromFilename as St, pageIdentifierForBlockCommand as T, bookingPaymentCollectionOptionSchema as Tn, asSiteStyleId as Tr, resolveMediaIdentifier as Tt, headerVariantValues as U, isResolvedInternalLinkEntityType as Un, slugPart as Ur, boxlessCardVariantValue as Ut, themeSchema as V, internalResolvedLinkSchema as Vn, createVenueRef as Vr, getFontWidthRange as Vt, headerInteractionPaletteValues as W, linkSchema as Wn, __commonJSMin as Wr, cardRoleSchema as Wt, runtimeBoxBackgroundSchema as X, asFooterLookId as Xn, BUTTON_STYLE_IDS as Xt, boxBackgroundSchema as Y, SUPPORTED_LOADER_ENDPOINTS as Yn, surfaceCardRoleValues as Yt, collectPortableMediaReferencesFromContent as Z, asHeaderLayoutId as Zn, buttonStyleSelectionSchema as Zt, mapEventCommandContent as _, paletteColorsSchema as _n, asBlockOrderIndex as _r, resolveManagedMediaReference as _t, classifySdkEventSchedule as a, buttonSystemSchema as an, siteChromeBackgroundOverrideOwner as ar, parseAspectRatioValue as at, getSiteCommandMetadata as b, parseColorTokenParts as bn, asDesignBoundaryId as br, mediaTypeDiscriminants as bt, isEventVisibility as c, opaqueButtonColourTokenSchema as cn, arrangementModes as cr, getDirectImageUrlForSiteScopedPath as ct, venueManagementFields as d, blockColorTokenNames as dn, headingDecorationColorTokenValues as dr, imageMediaSchema as dt, flatInkParametersSchema as en, footerLookIdValues as er, deleteEnvSpecificKeys as et, sortRecord as f, hexColorSchema as fn, isArrangementMode as fr, mediaSchema as ft, resolveEventSeriesWaitlistMapping as g, paletteColorsFromEntries as gn, asBlockContentVersionId as gr, buildRenderableMediaAssetIndex as gt, parseAndPlanCommandBatchForTypes as h, paletteColorEntries as hn, asAppearancePresetId as hr, videoMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, buttonPressOffsetSchema as in, parseBookingPageLookId as ir, isExplicitRectCrop as it, backgroundAppearanceColorTokenNames as j, isSafeRichTextHref as jn, createBlocksRef as jr, asRecord as jt, headerPreferencesSchema as k, RichTextDocSchema as kn, ianaTimezoneSchema as kr, getExtensionForMimeType as kt, resolvePageUpsertSeo as l, parseOpaqueButtonColourToken as ln, eventListTreatmentValues as lr, getImageUrl as lt, createDryRunReport as m, normalizePaletteHex as mn, visibleHeadingDecorationFamilyValues as mr, runtimeMediaSchema as mt, sdkCourseBookingSettingsSchema as n, squareOutlineParametersSchema as nn, headerStyleIdValues as nr, rotateNormalizedPoint as nt, classifySdkEventBookingOffer as o, buttonVariantIdSchema as on, SYSTEM_BLOCK_KINDS as or, resolveMediaTransformForAspect as ot, stableStringify as p, isThemeColorToken as pn, tileTreatmentValues as pr, persistableMediaSchema as pt, customCssRuleSchema as q, gradientPresetIdValues as qn, itemRoleValues as qt, sdkEventOccurrenceInputSchema as r, buttonEffectApplicationSchema as rn, pageDesignEditorBackgroundOverrideOwner as rr, normalizeWidthCandidates as rt, eventVisibilitySchema as s, buttonVisualStatesSchema as sn, VARIANT_ROLES as sr, getDirectImageUrlForRelativePath as st, classifySdkEventTiming as t, quietArrowParametersSchema as tn, headerLayoutIdValues as tr, looksLikeUuid as tt, eventCategoryManagementFields as u, PALETTE_TOKEN_NAMES as un, eyebrowTreatmentValues as ur, isSiteScopedDirectImageStoragePath as ut, evaluateSiteCommandBatchExposure as v, paletteModeSchema as vn, asBoundaryOptionId as vr, PUBLIC_FILE_FIELD_KINDS as vt, entryIdentifierForCommand as w, eventBookingOfferIntentSchema as wn, asPageFlowPresetId as wr, parseMediaIdentifier as wt, eventManagementTiming as x, parseThemeColorToken as xn, asDesignPageId as xr, mediaIdentifierSchema as xt, evaluateSiteCommandExposure as y, paletteTokenNameSchema as yn, asDesignBlockId as yr, isDisplayMediaKind as yt, headerPositioningValues as z, externalLinkSchema as zn, createPageRef as zr, defaultFooterPreferences as zt };