@vectoriox/iox-ui 5.137.0 → 5.139.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/assist-core/index.d.ts +22 -4
- package/composite-core/index.d.ts +10 -2
- package/design-core/index.d.ts +225 -20
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +12 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -5
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +18 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +376 -61
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1038 -251
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +16 -6
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +197 -28
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +185 -11
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1124 -732
- package/harness-core/index.d.ts +8 -3
- package/index.d.ts +46 -2
- package/package.json +1 -1
- package/scene-core/index.d.ts +69 -13
- package/src/actions-core/element-actions.ts +14 -4
- package/src/assist-core/assist-turn.ts +3 -1
- package/src/assist-core/route-schema.ts +20 -5
- package/src/assist-core/surfaces.ts +12 -0
- package/src/composite-core/header.ts +18 -1
- package/src/design-core/design-settings.ts +14 -3
- package/src/design-core/design-token.model.ts +3 -0
- package/src/design-core/flavor-spec.generated.ts +64 -25
- package/src/design-core/graphemes.ts +16 -0
- package/src/design-core/header-behaviour.ts +20 -2
- package/src/design-core/motion-language.ts +11 -7
- package/src/design-core/node-classes.ts +10 -4
- package/src/design-core/preloader.ts +3 -4
- package/src/design-core/public-api.ts +3 -0
- package/src/design-core/scrub.ts +37 -0
- package/src/design-core/section-edge.ts +223 -0
- package/src/design-core/style-presets.ts +2 -0
- package/src/generation-core/body-mix.ts +443 -0
- package/src/generation-core/check-layout.ts +42 -4
- package/src/generation-core/compose-layout.ts +28 -6
- package/src/generation-core/compose-site.ts +34 -10
- package/src/generation-core/header-mix.ts +4 -0
- package/src/generation-core/layout-fingerprint.ts +19 -1
- package/src/generation-core/layout-language.ts +21 -1
- package/src/generation-core/layout-wire.ts +27 -2
- package/src/generation-core/node-baselines.generated.ts +7 -2
- package/src/generation-core/opening-mix.ts +32 -0
- package/src/generation-core/plan-wire.ts +67 -21
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/redesign-run.ts +27 -0
- package/src/generation-core/site-build-run.ts +24 -6
- package/src/generation-core/site-plan.model.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +120 -58
- package/src/generation-core/text-scroll.ts +179 -0
- package/src/generation-core/validate-site-plan.ts +4 -2
- package/src/harness-core/motion.ts +12 -1
- package/src/harness-core/starting-design.ts +6 -5
- package/src/scene-core/scroll-range.ts +4 -0
- package/src/scene-core/split-text.ts +216 -28
- package/styles/iox-design.css +87 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace,
|
|
2
|
-
|
|
1
|
+
import { NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace, toHexColor, relativeLuminance, sectionEdgeClass, SECTION_EDGE_TYPES, colorSchemeOf, planSectionShape, SectionShape, setSectionShape, sectionShapeOf, setSectionEdge, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, setColorScheme, ColorScheme, COLOR_SCHEMES, motionLanguageForPlan, headerInkOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, readDesignConfig, ANIMATE_IDS, auditDesignContrast, compositeOver, wcagContrastRatio, isScrubId, HeaderBehaviour, headerBehaviourOf, headerEdgeOf } from '@vectoriox/iox-ui/design-core';
|
|
2
|
+
export { HeaderInk } from '@vectoriox/iox-ui/design-core';
|
|
3
|
+
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, findByRole, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, buildMarqueeRecipe, SceneRole, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, ACCORDION_WORDS, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, TABS_WORDS, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ACCOUNT_RECIPES, AccountRecipe, buildCarouselRecipe, SLIDE_TYPE, buildSlideshowRecipe, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour, setHeaderInk, buildConsentRecipe, ConsentActionType } from '@vectoriox/iox-ui/composite-core';
|
|
3
4
|
import { formPresetById, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
4
5
|
import { normalizeFrameSequence, filmScreensFor, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
5
6
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
6
7
|
import { VARIANT_NAME_SEPARATOR, CheckoutGateCode, labelIn } from '@vectoriox/iox-ui/commerce-core';
|
|
7
|
-
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset } from '@vectoriox/iox-ui/scene-core';
|
|
8
|
+
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy } from '@vectoriox/iox-ui/scene-core';
|
|
9
|
+
import { SCROLL_PROGRESS_TRIGGER, ELEMENT_ACTION_DESCRIPTORS, actionOfferedUnder, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
8
10
|
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
9
|
-
import { ELEMENT_ACTION_DESCRIPTORS, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
10
11
|
|
|
11
12
|
// GENERATED from iox-ai-guidance flavor-spec.v1.json — do not edit; re-run scripts/gen-flavor-spec.mjs
|
|
12
13
|
// (npm run gen:flavor-spec). The JSON is itself generated by iox-ai-guidance
|
|
@@ -27,12 +28,13 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
27
28
|
"film?": "film — the owner's film as pictures (SC6b), set by the build and placed by placeFilm; never a model's",
|
|
28
29
|
"artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's",
|
|
29
30
|
"direction?": "direction — what the site is built around (M8 gate 2): written with the pages, shown on the Plan step; every composed page serves it",
|
|
30
|
-
"mixes?": "mixes — the header, the footer
|
|
31
|
+
"mixes?": "mixes — the header, the footer, the home page's opening and the body as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern"
|
|
31
32
|
},
|
|
32
33
|
"mixes": {
|
|
33
34
|
"header?": "string[] — the header as <ingredient>:<word> words (site.layout.header; header ingredients HI1)",
|
|
34
35
|
"footer?": "string[] — the footer as <ingredient>:<word> words (site.layout.footer; list ingredients LI5)",
|
|
35
|
-
"opening?": "string[] — the home page's opening (its first screen) as <ingredient>:<word> words (site.layout.opening; award ingredients AW8): it takes the place of the home page's first section when that is a hero, the hero's words and pictures carried in; absent or empty = the home page opens with its sections as written"
|
|
36
|
+
"opening?": "string[] — the home page's opening (its first screen) as <ingredient>:<word> words (site.layout.opening; award ingredients AW8): it takes the place of the home page's first section when that is a hero, the hero's words and pictures carried in; absent or empty = the home page opens with its sections as written",
|
|
37
|
+
"body?": "string[] — the site's body as <ingredient>:<word> words (site.layout.body; award ingredients AW6): how sections meet (seam), how their grounds follow one another (rhythm), the texture and the extra kinds of section; absent or empty = straight seams, each section's ground its own"
|
|
36
38
|
},
|
|
37
39
|
"direction": {
|
|
38
40
|
"idea": "string — one sentence: what this site is about and how it should feel",
|
|
@@ -86,7 +88,8 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
86
88
|
"between?": "string — axes.betweens: what plays between pages",
|
|
87
89
|
"feel?": "string — motionLanguage.arrive: the curve things arrive on, the leave follows it (AW3, MB-D5; absent = motionLanguage.defaults.arrive)",
|
|
88
90
|
"headings?": "string — motionLanguage.move: how headings arrive (AW3; absent = each How animated level's own heading)",
|
|
89
|
-
"preloader?": "string — motionLanguage.preloader: what opens a visitor's first page (AW5; absent = none; the exit is the style's, never stored)"
|
|
91
|
+
"preloader?": "string — motionLanguage.preloader: what opens a visitor's first page (AW5; absent = none; the exit is the style's, never stored)",
|
|
92
|
+
"scrub?": "string — motionLanguage.scrub: what follows the scroll — never · words · entrances (AW10; absent = never; Lively and up, Pro)"
|
|
90
93
|
},
|
|
91
94
|
"contentType": {
|
|
92
95
|
"name": "string — unique",
|
|
@@ -6637,7 +6640,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
6637
6640
|
"clipReveal",
|
|
6638
6641
|
"maskRise",
|
|
6639
6642
|
"blurIn",
|
|
6640
|
-
"pop"
|
|
6643
|
+
"pop",
|
|
6644
|
+
"letters"
|
|
6641
6645
|
],
|
|
6642
6646
|
"sides": [
|
|
6643
6647
|
"bottom",
|
|
@@ -6749,7 +6753,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
6749
6753
|
"loop",
|
|
6750
6754
|
"drift",
|
|
6751
6755
|
"scroll",
|
|
6752
|
-
"autoplay"
|
|
6756
|
+
"autoplay",
|
|
6757
|
+
"scrub"
|
|
6753
6758
|
],
|
|
6754
6759
|
"dials": [
|
|
6755
6760
|
"distinct",
|
|
@@ -7870,6 +7875,10 @@ const SPEC_SITE_LAYOUT = {
|
|
|
7870
7875
|
"none",
|
|
7871
7876
|
"icons",
|
|
7872
7877
|
"search"
|
|
7878
|
+
],
|
|
7879
|
+
"ink": [
|
|
7880
|
+
"opening",
|
|
7881
|
+
"follows"
|
|
7873
7882
|
]
|
|
7874
7883
|
},
|
|
7875
7884
|
"meanings": {
|
|
@@ -7933,7 +7942,9 @@ const SPEC_SITE_LAYOUT = {
|
|
|
7933
7942
|
"above.marquee": "a moving band of the owner's words above the bar",
|
|
7934
7943
|
"inBar.none": "nothing more in the bar",
|
|
7935
7944
|
"inBar.icons": "small icons (sound, theme, chat) in the bar",
|
|
7936
|
-
"inBar.search": "a search field in the bar"
|
|
7945
|
+
"inBar.search": "a search field in the bar",
|
|
7946
|
+
"ink.opening": "the header's colours follow the page's opening ground",
|
|
7947
|
+
"ink.follows": "the header's colours follow the ground of every section that passes under it"
|
|
7937
7948
|
},
|
|
7938
7949
|
"meaningsHe": {
|
|
7939
7950
|
"arrange.split": "השם בתחילת הפס, הדפים בסופו",
|
|
@@ -7996,7 +8007,9 @@ const SPEC_SITE_LAYOUT = {
|
|
|
7996
8007
|
"above.marquee": "פס נע של מילים מעל הפס",
|
|
7997
8008
|
"inBar.none": "שום דבר נוסף בפס",
|
|
7998
8009
|
"inBar.icons": "אייקונים קטנים (צליל, ערכת צבע, צ׳אט) בפס",
|
|
7999
|
-
"inBar.search": "שדה חיפוש בפס"
|
|
8010
|
+
"inBar.search": "שדה חיפוש בפס",
|
|
8011
|
+
"ink.opening": "צבעי הכותרת העליונה הולכים אחרי הרקע של פתיחת הדף",
|
|
8012
|
+
"ink.follows": "צבעי הכותרת העליונה הולכים אחרי הרקע של כל אזור שעובר מתחתיה"
|
|
8000
8013
|
},
|
|
8001
8014
|
"waits": {
|
|
8002
8015
|
"menuShows.pictures": {
|
|
@@ -8077,7 +8090,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8077
8090
|
"button": "lines",
|
|
8078
8091
|
"menuHover": "line",
|
|
8079
8092
|
"above": "none",
|
|
8080
|
-
"inBar": "none"
|
|
8093
|
+
"inBar": "none",
|
|
8094
|
+
"ink": "opening"
|
|
8081
8095
|
},
|
|
8082
8096
|
"named": {
|
|
8083
8097
|
"nav.inline-cta": {},
|
|
@@ -8727,10 +8741,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8727
8741
|
"phase": "AW7",
|
|
8728
8742
|
"drawnAs": "photo"
|
|
8729
8743
|
},
|
|
8730
|
-
"motion.copy-out": {
|
|
8731
|
-
"phase": "AW10",
|
|
8732
|
-
"drawnAs": null
|
|
8733
|
-
},
|
|
8734
8744
|
"motion.pinned-covered": {
|
|
8735
8745
|
"phase": "AW9",
|
|
8736
8746
|
"drawnAs": null
|
|
@@ -9104,23 +9114,92 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9104
9114
|
"sections.timeline": "steps by time (weeks, the hours of a day)",
|
|
9105
9115
|
"sections.hotspots": "points on a picture that open item cards"
|
|
9106
9116
|
},
|
|
9107
|
-
"
|
|
9108
|
-
"seam.
|
|
9109
|
-
|
|
9110
|
-
|
|
9117
|
+
"meaningsHe": {
|
|
9118
|
+
"seam.straight": "קו ישר בין שני רקעים",
|
|
9119
|
+
"seam.wave": "גבעה רכה בין שני רקעים",
|
|
9120
|
+
"seam.drip": "קצה בצורת טיפות נוטפות",
|
|
9121
|
+
"seam.torn": "קצה קרוע ומשונן",
|
|
9122
|
+
"seam.rounded": "אזור עם פינות תחתונות מעוגלות שמונח מעל הבא",
|
|
9123
|
+
"rhythm.free": "הרקע של כל אזור כפי שערכת הצבע שלו בוחרת",
|
|
9124
|
+
"rhythm.alternate": "הרקעים מתחלפים כהה ובהיר, אזור אחרי אזור",
|
|
9125
|
+
"rhythm.loud-quiet": "אזור עם תמונה, ואחריו אזור מילים צר וממורכז, שוב ושוב",
|
|
9126
|
+
"rhythm.chapters": "הרקע מתחלף רק במקום שבו פרק מתחיל",
|
|
9127
|
+
"rhythm.tail": "האזורים האחרונים חולקים את הרקע של הכותרת התחתונה, כך שהסוף נקרא כגוש אחד",
|
|
9128
|
+
"texture.none": "בלי מרקם",
|
|
9129
|
+
"texture.pattern": "דוגמה מצבעי העיצוב: נקודות, רשת, קווקוו, קווי גובה או סמל חוזר",
|
|
9130
|
+
"texture.light": "תמונות צל רכות (תריסים, עלים) מעל רקע של נייר",
|
|
9131
|
+
"texture.material": "חומר שמצויר ב-CSS (צלעות מעל זוהר נע, קרן איטית)",
|
|
9132
|
+
"texture.grain": "גרעיניות של נייר על רקע",
|
|
9133
|
+
"texture.lanes": "קווי השיער של עמודת התוכן וסימני הצלב לאורך כל הדף",
|
|
9134
|
+
"sections.inset-card": "אזור ככרטיס מעוגל על רקע הדף",
|
|
9135
|
+
"sections.sticky-title": "הכותרת של אזור נשארת בזמן שהכרטיסים שלו עוברים",
|
|
9136
|
+
"sections.tabs-nav": "פס לשוניות קבוע בדף, שהקו שלו הולך אחרי האזור שבתצוגה",
|
|
9137
|
+
"sections.promises": "פס של שלוש או ארבע הבטחות קצרות (משלוח, החזרות, אחריות) — העובדות של בעל העסק",
|
|
9138
|
+
"sections.table": "שורות מפתח : ערך (מפרט, השוואה)",
|
|
9139
|
+
"sections.timeline": "שלבים לפי זמן (שבועות, שעות היום)",
|
|
9140
|
+
"sections.hotspots": "נקודות על תמונה שפותחות כרטיסי פריטים"
|
|
9141
|
+
},
|
|
9142
|
+
"seams": {
|
|
9143
|
+
"straight": {
|
|
9144
|
+
"depth": [
|
|
9145
|
+
0,
|
|
9146
|
+
0
|
|
9147
|
+
],
|
|
9148
|
+
"mirrors": false
|
|
9111
9149
|
},
|
|
9112
|
-
"
|
|
9113
|
-
"
|
|
9114
|
-
|
|
9150
|
+
"wave": {
|
|
9151
|
+
"depth": [
|
|
9152
|
+
48,
|
|
9153
|
+
24
|
|
9154
|
+
],
|
|
9155
|
+
"mirrors": false
|
|
9115
9156
|
},
|
|
9116
|
-
"
|
|
9117
|
-
"
|
|
9118
|
-
|
|
9157
|
+
"drip": {
|
|
9158
|
+
"depth": [
|
|
9159
|
+
64,
|
|
9160
|
+
32
|
|
9161
|
+
],
|
|
9162
|
+
"mirrors": true
|
|
9119
9163
|
},
|
|
9120
|
-
"
|
|
9121
|
-
"
|
|
9122
|
-
|
|
9164
|
+
"torn": {
|
|
9165
|
+
"depth": [
|
|
9166
|
+
20,
|
|
9167
|
+
14
|
|
9168
|
+
],
|
|
9169
|
+
"mirrors": true
|
|
9170
|
+
},
|
|
9171
|
+
"rounded": {
|
|
9172
|
+
"depth": [
|
|
9173
|
+
0,
|
|
9174
|
+
0
|
|
9175
|
+
],
|
|
9176
|
+
"radius": [
|
|
9177
|
+
48,
|
|
9178
|
+
28
|
|
9179
|
+
],
|
|
9180
|
+
"mirrors": false
|
|
9181
|
+
}
|
|
9182
|
+
},
|
|
9183
|
+
"rhythms": {
|
|
9184
|
+
"free": {},
|
|
9185
|
+
"alternate": {
|
|
9186
|
+
"neighbours": "differ"
|
|
9187
|
+
},
|
|
9188
|
+
"loud-quiet": {
|
|
9189
|
+
"pairs": 2,
|
|
9190
|
+
"quietCols": 8
|
|
9191
|
+
},
|
|
9192
|
+
"chapters": {
|
|
9193
|
+
"changesAt": [
|
|
9194
|
+
"inhale",
|
|
9195
|
+
"signature"
|
|
9196
|
+
]
|
|
9123
9197
|
},
|
|
9198
|
+
"tail": {
|
|
9199
|
+
"last": 2
|
|
9200
|
+
}
|
|
9201
|
+
},
|
|
9202
|
+
"waits": {
|
|
9124
9203
|
"rhythm.alternate": {
|
|
9125
9204
|
"phase": "AW6",
|
|
9126
9205
|
"drawnAs": "free"
|
|
@@ -9157,10 +9236,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9157
9236
|
"phase": "AW7",
|
|
9158
9237
|
"drawnAs": "none"
|
|
9159
9238
|
},
|
|
9160
|
-
"sections.inset-card": {
|
|
9161
|
-
"phase": "AW6",
|
|
9162
|
-
"drawnAs": null
|
|
9163
|
-
},
|
|
9164
9239
|
"sections.sticky-title": {
|
|
9165
9240
|
"phase": "AW9",
|
|
9166
9241
|
"drawnAs": null
|
|
@@ -9200,7 +9275,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9200
9275
|
"rules": {
|
|
9201
9276
|
"seamAudited": true,
|
|
9202
9277
|
"texturesClearUnderReducedTransparency": true,
|
|
9203
|
-
"seamPaintsOnly": true
|
|
9278
|
+
"seamPaintsOnly": true,
|
|
9279
|
+
"seamKeepsClear": true
|
|
9204
9280
|
},
|
|
9205
9281
|
"tiers": {
|
|
9206
9282
|
"seam.straight": "all",
|
|
@@ -9209,6 +9285,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9209
9285
|
"rules.seamAudited": "all",
|
|
9210
9286
|
"rules.texturesClearUnderReducedTransparency": "all",
|
|
9211
9287
|
"rules.seamPaintsOnly": "all",
|
|
9288
|
+
"rules.seamKeepsClear": "all",
|
|
9212
9289
|
"seam.wave": "pro",
|
|
9213
9290
|
"seam.drip": "pro",
|
|
9214
9291
|
"seam.torn": "pro",
|
|
@@ -9945,7 +10022,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9945
10022
|
"drawnAs": "two"
|
|
9946
10023
|
},
|
|
9947
10024
|
"inline.media": {
|
|
9948
|
-
"phase": "
|
|
10025
|
+
"phase": "AW13",
|
|
9949
10026
|
"drawnAs": "none"
|
|
9950
10027
|
},
|
|
9951
10028
|
"gradient.accent": {
|
|
@@ -10198,14 +10275,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10198
10275
|
"micro.odometer": "a price's digits roll when the period changes"
|
|
10199
10276
|
},
|
|
10200
10277
|
"waits": {
|
|
10201
|
-
"scrub.words": {
|
|
10202
|
-
"phase": "AW10",
|
|
10203
|
-
"drawnAs": "never"
|
|
10204
|
-
},
|
|
10205
|
-
"scrub.entrances": {
|
|
10206
|
-
"phase": "AW10",
|
|
10207
|
-
"drawnAs": "never"
|
|
10208
|
-
},
|
|
10209
10278
|
"loops.drift": {
|
|
10210
10279
|
"phase": "AW8",
|
|
10211
10280
|
"drawnAs": "none"
|
|
@@ -10294,6 +10363,10 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10294
10363
|
"lively",
|
|
10295
10364
|
"expressive"
|
|
10296
10365
|
],
|
|
10366
|
+
"scrubLevels": [
|
|
10367
|
+
"lively",
|
|
10368
|
+
"expressive"
|
|
10369
|
+
],
|
|
10297
10370
|
"leaveFor": {
|
|
10298
10371
|
"enter": "exit",
|
|
10299
10372
|
"expo-out": "expo-out",
|
|
@@ -10313,7 +10386,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10313
10386
|
"arrive": "enter",
|
|
10314
10387
|
"move": "fade",
|
|
10315
10388
|
"cover": "fade",
|
|
10316
|
-
"preloader": "none"
|
|
10389
|
+
"preloader": "none",
|
|
10390
|
+
"scrub": "never"
|
|
10317
10391
|
},
|
|
10318
10392
|
"coverMaxMs": {
|
|
10319
10393
|
"cover": 400,
|
|
@@ -10356,6 +10430,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10356
10430
|
"rules.preloaderCapMs": "all",
|
|
10357
10431
|
"rules.preloaderLevels": "all",
|
|
10358
10432
|
"rules.popLevels": "all",
|
|
10433
|
+
"rules.scrubLevels": "all",
|
|
10359
10434
|
"rules.leaveFor": "all",
|
|
10360
10435
|
"rules.quietLevels": "all",
|
|
10361
10436
|
"rules.quiet": "all",
|
|
@@ -10918,15 +10993,17 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10918
10993
|
"revealBy": {
|
|
10919
10994
|
"built": [
|
|
10920
10995
|
"line",
|
|
10921
|
-
"word"
|
|
10996
|
+
"word",
|
|
10997
|
+
"letter"
|
|
10922
10998
|
],
|
|
10923
|
-
"where": "scene-core TextRevealBy"
|
|
10999
|
+
"where": "scene-core TextRevealBy (letter since AW10)"
|
|
10924
11000
|
},
|
|
10925
11001
|
"enterMode": {
|
|
10926
11002
|
"built": [
|
|
10927
|
-
"once"
|
|
11003
|
+
"once",
|
|
11004
|
+
"scrubbed"
|
|
10928
11005
|
],
|
|
10929
|
-
"where": "
|
|
11006
|
+
"where": "an entrance plays once (viewportEnter, once), or by the scroll (AW10: scrollProgress, until 0.5)"
|
|
10930
11007
|
},
|
|
10931
11008
|
"phoneWalk": {
|
|
10932
11009
|
"built": [],
|
|
@@ -10964,20 +11041,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10964
11041
|
"tier": "pro",
|
|
10965
11042
|
"meaning": "a word sits on the bottom edge, cropped by it"
|
|
10966
11043
|
},
|
|
10967
|
-
{
|
|
10968
|
-
"key": "revealBy.letter",
|
|
10969
|
-
"phase": "AW10",
|
|
10970
|
-
"drawnAs": "word",
|
|
10971
|
-
"tier": "pro",
|
|
10972
|
-
"meaning": "words assemble or light letter by letter (split in the browser only, put back after)"
|
|
10973
|
-
},
|
|
10974
|
-
{
|
|
10975
|
-
"key": "enterMode.scrubbed",
|
|
10976
|
-
"phase": "AW10",
|
|
10977
|
-
"drawnAs": "once",
|
|
10978
|
-
"tier": "pro",
|
|
10979
|
-
"meaning": "an entrance follows the scroll instead of playing once"
|
|
10980
|
-
},
|
|
10981
11044
|
{
|
|
10982
11045
|
"key": "phoneWalk.zigzag",
|
|
10983
11046
|
"phase": "AW9",
|
|
@@ -11776,10 +11839,13 @@ const NODE_BASELINES = {
|
|
|
11776
11839
|
"headerBehaviour",
|
|
11777
11840
|
"headerEdge",
|
|
11778
11841
|
"headerMix",
|
|
11842
|
+
"headerInk",
|
|
11779
11843
|
"marqueeSpeed",
|
|
11780
11844
|
"marqueeDirection",
|
|
11781
11845
|
"marqueeFade",
|
|
11782
|
-
"marqueePauseOnHover"
|
|
11846
|
+
"marqueePauseOnHover",
|
|
11847
|
+
"seam",
|
|
11848
|
+
"sectionShape"
|
|
11783
11849
|
],
|
|
11784
11850
|
"styleTraits": [
|
|
11785
11851
|
"position",
|
|
@@ -12962,7 +13028,9 @@ const NODE_BASELINES = {
|
|
|
12962
13028
|
},
|
|
12963
13029
|
"traits": [
|
|
12964
13030
|
"colorScheme",
|
|
12965
|
-
"openingMix"
|
|
13031
|
+
"openingMix",
|
|
13032
|
+
"seam",
|
|
13033
|
+
"sectionShape"
|
|
12966
13034
|
],
|
|
12967
13035
|
"styleTraits": [
|
|
12968
13036
|
"position",
|
|
@@ -17610,6 +17678,9 @@ var LayoutEnter;
|
|
|
17610
17678
|
LayoutEnter["MaskRise"] = "maskRise";
|
|
17611
17679
|
LayoutEnter["BlurIn"] = "blurIn";
|
|
17612
17680
|
LayoutEnter["Pop"] = "pop";
|
|
17681
|
+
/** AW10 (AW10-D1, D12): a line of words rises letter by letter (a text reveal `by: letter`, split in the browser only,
|
|
17682
|
+
* put back whole). Offered only when the look's `scrub` is not never; a non-text layer fades instead. */
|
|
17683
|
+
LayoutEnter["Letters"] = "letters";
|
|
17613
17684
|
})(LayoutEnter || (LayoutEnter = {}));
|
|
17614
17685
|
var LayoutDepth;
|
|
17615
17686
|
(function (LayoutDepth) {
|
|
@@ -17846,8 +17917,12 @@ var LayoutMendKind;
|
|
|
17846
17917
|
LayoutMendKind["Accent"] = "accent";
|
|
17847
17918
|
/** Words too faint on their ground, where the ink holds there: they go back to the ink. */
|
|
17848
17919
|
LayoutMendKind["Ink"] = "ink";
|
|
17849
|
-
/** Decoration that enters with a move: it fades instead.
|
|
17920
|
+
/** Decoration that enters with a move: it fades instead. Also (AW10) letters on a layer that is no line of words, or on
|
|
17921
|
+
* a look that never scrubs. */
|
|
17850
17922
|
LayoutMendKind["Fade"] = "fade";
|
|
17923
|
+
/** AW10 (AW10-D8, D12): a layer that follows the scroll where it may not — in the first screen (`scrub-opening`) or on a
|
|
17924
|
+
* look whose By the scroll is never or does not take its entrance (`scrub-look`): it plays once instead. */
|
|
17925
|
+
LayoutMendKind["Scrub"] = "scrub";
|
|
17851
17926
|
/** Fewer layers glide than the look asks (iox-ui#63): the layers that may glide and do not get a depth, most important
|
|
17852
17927
|
* first — exactly as many as are missing. */
|
|
17853
17928
|
LayoutMendKind["Depth"] = "depth";
|
|
@@ -17880,6 +17955,14 @@ var LayoutMendKind;
|
|
|
17880
17955
|
* left): the action is dropped from the carry and the drop is said (`mendCarry`), never refused. */
|
|
17881
17956
|
LayoutMendKind["Link"] = "link";
|
|
17882
17957
|
})(LayoutMendKind || (LayoutMendKind = {}));
|
|
17958
|
+
/** Why a layer's `scrub` is mended (AW10-D12) — the words the build says. */
|
|
17959
|
+
var LayoutScrubRefusal;
|
|
17960
|
+
(function (LayoutScrubRefusal) {
|
|
17961
|
+
/** The first screen never scrubs: it is wholly in view at load (AW10-D8); its scroll motion is copy-out. */
|
|
17962
|
+
LayoutScrubRefusal["Opening"] = "scrub-opening";
|
|
17963
|
+
/** The look's By the scroll is never, or takes no entrance of this kind (words: a text reveal only). */
|
|
17964
|
+
LayoutScrubRefusal["Look"] = "scrub-look";
|
|
17965
|
+
})(LayoutScrubRefusal || (LayoutScrubRefusal = {}));
|
|
17883
17966
|
/** Which rule chose a mended gallery's list. */
|
|
17884
17967
|
var LayoutSourceChoice;
|
|
17885
17968
|
(function (LayoutSourceChoice) {
|
|
@@ -18609,7 +18692,7 @@ function writtenTexts(plan) {
|
|
|
18609
18692
|
});
|
|
18610
18693
|
return out;
|
|
18611
18694
|
}
|
|
18612
|
-
const HEBREW$
|
|
18695
|
+
const HEBREW$5 = /[-]/;
|
|
18613
18696
|
/** Hebrew joins up to two one-letter words (and, the, in, to, from, that, as) to the next: "והטוב" holds "טוב". The
|
|
18614
18697
|
* ONE rule — the intake's keyword match (harness-core) uses it too. */
|
|
18615
18698
|
const HEBREW_PREFIXES = '[והבלמשכ]{0,2}';
|
|
@@ -18618,7 +18701,7 @@ const normalise = (s) => s.normalize('NFKC').toLowerCase();
|
|
|
18618
18701
|
/** A word (or phrase) as a whole-word pattern; Hebrew allows its one-letter prefixes. */
|
|
18619
18702
|
function wordPattern(word) {
|
|
18620
18703
|
const w = escape(normalise(word.trim())).replace(/\s+/g, '\\s+');
|
|
18621
|
-
const prefix = HEBREW$
|
|
18704
|
+
const prefix = HEBREW$5.test(word) ? HEBREW_PREFIXES : '';
|
|
18622
18705
|
return new RegExp(`(?<![\\p{L}\\p{N}])${prefix}${w}(?![\\p{L}\\p{N}])`, 'u');
|
|
18623
18706
|
}
|
|
18624
18707
|
const PRICE_SHAPE = { kind: 'price', pattern: /(?:[$€£₪]\s?\d[\d,.]*|\d[\d,.]*\s?(?:[$€£₪]|ש"ח|NIS|USD|EUR|GBP))/gu, key: (m) => m.replace(/[^\d]/g, '') };
|
|
@@ -18838,146 +18921,6 @@ function shopListAliases(plan) {
|
|
|
18838
18921
|
return [aliases[ShopSourceRole.List], aliases[ShopSourceRole.Latest]].filter(isNonEmptyString);
|
|
18839
18922
|
}
|
|
18840
18923
|
|
|
18841
|
-
/** The scroll is replayed in steps this long (px). */
|
|
18842
|
-
const STEP_PX = 4;
|
|
18843
|
-
/** The depth a layer glides at in a section, as the composer stamps it — or null (mid, a held section, what a visitor
|
|
18844
|
-
* operates). ONE rule: `composeLayout` stamps by it, the render check and the depth mend replay by it. */
|
|
18845
|
-
function layoutGlideDepth(section, layer) {
|
|
18846
|
-
if (section.pin || !layer.depth || layer.depth === LayoutDepth.Mid || LAYOUT_OPERATED.has(layer.kind))
|
|
18847
|
-
return null;
|
|
18848
|
-
return layer.depth === LayoutDepth.Front ? ParallaxDepth.Front : ParallaxDepth.Back;
|
|
18849
|
-
}
|
|
18850
|
-
/** How far a layer at `depth` stands off its place with the page scrolled `scroll` px, on a screen `viewHeight` tall. */
|
|
18851
|
-
function driftAt(layer, scroll, viewHeight, phone = false) {
|
|
18852
|
-
if (!layer.depth)
|
|
18853
|
-
return 0;
|
|
18854
|
-
const view = { top: 0, height: viewHeight };
|
|
18855
|
-
const height = layer.box.b - layer.box.t;
|
|
18856
|
-
const shift = parallaxShift(rangeDistance(ScrollRange.Cover, { top: layer.box.t, height }, view), viewHeight, { phone, onPhone: normalizeParallaxPhone(LAYOUT_DEPTH_ON_PHONE) });
|
|
18857
|
-
if (!shift)
|
|
18858
|
-
return 0;
|
|
18859
|
-
const rest = parallaxRest(rangeProgress(ScrollRange.Cover, { top: layer.box.t, height }, view));
|
|
18860
|
-
const progress = rangeProgress(ScrollRange.Cover, { top: layer.box.t - scroll, height }, view);
|
|
18861
|
-
return parallaxOffset(layer.depth, shift, progress, rest);
|
|
18862
|
-
}
|
|
18863
|
-
const meet$1 = (a, b) => ({ l: Math.max(a.l, b.l), t: Math.max(a.t, b.t), r: Math.min(a.r, b.r), b: Math.min(a.b, b.b) });
|
|
18864
|
-
const areaOf = (r) => Math.max(0, r.r - r.l) * Math.max(0, r.b - r.t);
|
|
18865
|
-
const moved = (r, dy) => ({ l: r.l, r: r.r, t: r.t + dy, b: r.b + dy });
|
|
18866
|
-
/**
|
|
18867
|
-
* Where two layers overlap most on screen while the page scrolls past them, at least one gliding — inside `clip` (their
|
|
18868
|
-
* section, which clips a glide) — or null when they never meet more than they already do at rest. `pageHeight` bounds the
|
|
18869
|
-
* scroll. Pure: the same answer in the browser and the server.
|
|
18870
|
-
*/
|
|
18871
|
-
function driftOverlap(a, b, view, clip) {
|
|
18872
|
-
if (!a.depth && !b.depth)
|
|
18873
|
-
return null;
|
|
18874
|
-
const rest = areaOf(clip ? meet$1(meet$1(a.box, b.box), clip) : meet$1(a.box, b.box));
|
|
18875
|
-
const from = Math.max(0, Math.min(a.box.t, b.box.t) - view.height);
|
|
18876
|
-
const to = Math.min(Math.max(0, view.pageHeight - view.height), Math.max(a.box.b, b.box.b));
|
|
18877
|
-
let best = null;
|
|
18878
|
-
for (let scroll = from; scroll <= to; scroll += STEP_PX) {
|
|
18879
|
-
const screen = { l: 0, r: view.width, t: scroll, b: scroll + view.height };
|
|
18880
|
-
const ra = moved(a.box, driftAt(a, scroll, view.height, view.phone));
|
|
18881
|
-
const rb = moved(b.box, driftAt(b, scroll, view.height, view.phone));
|
|
18882
|
-
let overlap = meet$1(meet$1(ra, rb), screen);
|
|
18883
|
-
if (clip)
|
|
18884
|
-
overlap = meet$1(overlap, clip);
|
|
18885
|
-
const area = areaOf(overlap);
|
|
18886
|
-
if (area > rest && (!best || area > best.area))
|
|
18887
|
-
best = { scroll, overlap: moved(overlap, -scroll), area };
|
|
18888
|
-
}
|
|
18889
|
-
return best;
|
|
18890
|
-
}
|
|
18891
|
-
|
|
18892
|
-
const LOOKS = SPEC_SITE_LAYOUT.looks;
|
|
18893
|
-
const PRESET_LOOK = SPEC_SITE_LAYOUT.presetLook;
|
|
18894
|
-
const DARING_LEVELS = SPEC_SITE_LAYOUT.daringLevels;
|
|
18895
|
-
/** How far two brand colours are apart (RGB) — the last word between two presets that differ by their colour alone. */
|
|
18896
|
-
function seedDistance(a, b) {
|
|
18897
|
-
const rgb = (hex) => [1, 3, 5].map(i => parseInt(hex.slice(i, i + 2), 16) || 0);
|
|
18898
|
-
const [x, y] = [rgb(a), rgb(b)];
|
|
18899
|
-
return x.reduce((sum, v, i) => sum + (v - y[i]) ** 2, 0);
|
|
18900
|
-
}
|
|
18901
|
-
/**
|
|
18902
|
-
* The style preset a design wears (M8 gate 2): the preset it IS, else the closest of its flavor — same font pairing,
|
|
18903
|
-
* then the most of shape · density · pill buttons · tint · mode in common, then the nearer brand colour (six pairings
|
|
18904
|
-
* carry two presets each: Quiet luxury and Soft spa are both Linen + Cormorant; Morning glass and Coral studio differ by
|
|
18905
|
-
* their colour alone) — so an owner whose brand became a reference colour still wears THEIR preset's composition notes.
|
|
18906
|
-
* Never null: a design with no preset of its flavor reads the first preset's.
|
|
18907
|
-
*/
|
|
18908
|
-
function layoutPresetOf(choices) {
|
|
18909
|
-
const exact = stylePresetOfChoices(choices);
|
|
18910
|
-
if (exact)
|
|
18911
|
-
return exact;
|
|
18912
|
-
const c = resolveDesignChoices(choices);
|
|
18913
|
-
const kept = (p) => [p.shape === c.shape, p.density === c.density, p.pillButtons === c.pillButtons, p.tint === c.tint,
|
|
18914
|
-
presetModes(p).includes(c.mode)].filter(Boolean).length;
|
|
18915
|
-
const nearer = (a, b) => kept(a) - kept(b) || seedDistance(b.seed, c.seed) - seedDistance(a.seed, c.seed);
|
|
18916
|
-
const paired = STYLE_PRESETS.filter(p => p.flavorId === c.flavorId && p.pairId === c.pairId);
|
|
18917
|
-
if (paired.length)
|
|
18918
|
-
return paired.reduce((best, p) => (nearer(p, best) > 0 ? p : best));
|
|
18919
|
-
return STYLE_PRESETS.find(p => p.flavorId === c.flavorId) ?? STYLE_PRESETS[0];
|
|
18920
|
-
}
|
|
18921
|
-
/** A preset's look (the round-three composition notes it carries). */
|
|
18922
|
-
function layoutLookOf(presetId) {
|
|
18923
|
-
return LOOKS.find(l => l.id === PRESET_LOOK[presetId]) ?? LOOKS[0];
|
|
18924
|
-
}
|
|
18925
|
-
/** The pace and ease a composed page moves with: its look's. */
|
|
18926
|
-
function layoutMotionOf(presetId) {
|
|
18927
|
-
const look = layoutLookOf(presetId);
|
|
18928
|
-
return { pace: look.pace, ease: look.ease };
|
|
18929
|
-
}
|
|
18930
|
-
/**
|
|
18931
|
-
* How far a composed page dares (M8-G2-D5): daring when the look moves Lively or Expressive and the business type's
|
|
18932
|
-
* ceiling allows it (a trust or care type never dares), else distinct. `ceiling` is harness-core's for the type.
|
|
18933
|
-
*/
|
|
18934
|
-
function layoutDialOf(animate, ceiling) {
|
|
18935
|
-
const daring = !!animate && DARING_LEVELS.includes(animate) && (!ceiling || DARING_LEVELS.includes(ceiling));
|
|
18936
|
-
return daring ? LayoutDial.Daring : LayoutDial.Distinct;
|
|
18937
|
-
}
|
|
18938
|
-
|
|
18939
|
-
/** The design a page wears when only its look's preset is known: the preset in `mode` (else its own), else the default. */
|
|
18940
|
-
function layoutDesignOf(presetId, mode) {
|
|
18941
|
-
const id = String(presetId ?? '');
|
|
18942
|
-
return presetChoices(id, (mode ?? undefined)) ?? presetChoices(id) ?? resolveDesignChoices(null);
|
|
18943
|
-
}
|
|
18944
|
-
/** The element style a layer wears, by kind, role and size (the round-four renderer's `elementStyleOf`). */
|
|
18945
|
-
function layoutElementStyle(l) {
|
|
18946
|
-
switch (l.kind) {
|
|
18947
|
-
case LayoutLayerKind.Word: return 'display';
|
|
18948
|
-
case LayoutLayerKind.Heading: return l.role === LayoutRole.Lead ? 'h1' : 'h2';
|
|
18949
|
-
case LayoutLayerKind.Text: return l.size === 'm' || l.size === 'l' ? 'lead' : 'body';
|
|
18950
|
-
case LayoutLayerKind.List: return 'body';
|
|
18951
|
-
case LayoutLayerKind.Label: return !l.size || l.size === 'xs' || l.size === 's' ? 'eyebrow' : 'small';
|
|
18952
|
-
default: return NO_ELEMENT_STYLE;
|
|
18953
|
-
}
|
|
18954
|
-
}
|
|
18955
|
-
/** How wide a layer's words stand at 1em on one line, in the face its element style wears in `design` (iox-ui#46). */
|
|
18956
|
-
function layoutTextWidthEm(l, design) {
|
|
18957
|
-
return textWidthEm(l.text ?? '', elementStyleFace(design, layoutElementStyle(l)));
|
|
18958
|
-
}
|
|
18959
|
-
/** The columns a `screen` word fills: its span, and half a column more for each side it bleeds off. */
|
|
18960
|
-
function screenWordColumns(l) {
|
|
18961
|
-
const bleed = l.bleed && l.bleed !== LayoutBleed.None ? (l.bleed === LayoutBleed.Both ? 1 : 0.5) : 0;
|
|
18962
|
-
return l.col[1] - l.col[0] + bleed;
|
|
18963
|
-
}
|
|
18964
|
-
/** The screens a composed page is judged at (the render check's): a laptop and a phone. */
|
|
18965
|
-
const SCREENS = [{ width: 1440, phone: false }, { width: 390, phone: true }];
|
|
18966
|
-
/** Where a `screen` word cannot fit even at its smallest size: the screen and by how many px — null when it fits both. */
|
|
18967
|
-
function screenWordMisfit(l, design) {
|
|
18968
|
-
if (l.size !== LayoutSize.Screen || !l.text)
|
|
18969
|
-
return null;
|
|
18970
|
-
const em = layoutTextWidthEm(l, design);
|
|
18971
|
-
for (const s of SCREENS) {
|
|
18972
|
-
if (s.phone ? false : !!l.bleed && l.bleed !== LayoutBleed.None)
|
|
18973
|
-
continue;
|
|
18974
|
-
const px = screenWordOverflowPx(em, s.phone ? 12 : screenWordColumns(l), s.width, s.phone);
|
|
18975
|
-
if (px > 0)
|
|
18976
|
-
return { ...s, px };
|
|
18977
|
-
}
|
|
18978
|
-
return null;
|
|
18979
|
-
}
|
|
18980
|
-
|
|
18981
18924
|
/**
|
|
18982
18925
|
* How animated (AI plan rev 3.1 §3p) — the ONE reading of the contract's `axes.animations` (what each level
|
|
18983
18926
|
* moves, how) and `axes.animationFamilies` (which parts a section family lets move). The pieces every stamper
|
|
@@ -19124,6 +19067,285 @@ function planEntrances(input) {
|
|
|
19124
19067
|
});
|
|
19125
19068
|
}
|
|
19126
19069
|
|
|
19070
|
+
/**
|
|
19071
|
+
* TEXT BY THE SCROLL (award-ingredients-plan AW10; board `award-text-scroll`) — the pure stamps. The runtime is the ONE
|
|
19072
|
+
* `scrollProgress` runtime (`attachScrollProgress`), which plays a text's pieces since AW10 (`scrubTextReveal`); nothing
|
|
19073
|
+
* here moves anything, it only says what a node carries.
|
|
19074
|
+
*
|
|
19075
|
+
* - **scrubbed**: an entrance the look stamps on time (`viewportEnter`, once) becomes the SAME action played by the
|
|
19076
|
+
* scroll — wholly played when its element reaches the middle of the screen, let go there (its hover and press apply
|
|
19077
|
+
* again). The first screen never scrubs: it is wholly in view at load, so a scroll entrance would be let go unseen.
|
|
19078
|
+
* - **copy-out**: the opening's words fade as the page leaves it, following the scroll (graya) — a `fadeOut` played by
|
|
19079
|
+
* the opening's own exit, gone at 0.6 of it. Opacity only, so it is the same under reduced motion.
|
|
19080
|
+
* - **letter**: `params.by = 'letter'` on a text reveal (`TextRevealBy.Letter`); the split is the browser's, never the
|
|
19081
|
+
* page's.
|
|
19082
|
+
*
|
|
19083
|
+
* Board approved 2026-11-22 (AW10-D1…D12): `planEntrances` runs every look stamp through `scrubbedEntrance` (the look's
|
|
19084
|
+
* `design.scrub`, the opening excluded), the layout composer through `layoutScrub` (a layer's `scrub`), and
|
|
19085
|
+
* `composeOpening` stamps copy-out when the opening's mix names it. The look's word is design-core's `ScrubId`.
|
|
19086
|
+
*/
|
|
19087
|
+
/** The action a text reveal is. */
|
|
19088
|
+
const TEXT_REVEAL = 'revealText';
|
|
19089
|
+
/** Where a scrubbed entrance plays: from its element's first pixel on screen, wholly played at the middle of it. */
|
|
19090
|
+
const SCRUBBED_ENTRANCE = Object.freeze({ range: 'cover', until: 0.5 });
|
|
19091
|
+
/** Interactions ▸ Follow the scroll ▸ Wholly in by (AW10-D6): the middle of the screen (the default), three quarters of
|
|
19092
|
+
* the way, or the end of its pass — `params.until`. */
|
|
19093
|
+
var ScrubUntil;
|
|
19094
|
+
(function (ScrubUntil) {
|
|
19095
|
+
ScrubUntil["Middle"] = "middle";
|
|
19096
|
+
ScrubUntil["ThreeQuarters"] = "three-quarters";
|
|
19097
|
+
ScrubUntil["End"] = "end";
|
|
19098
|
+
})(ScrubUntil || (ScrubUntil = {}));
|
|
19099
|
+
const SCRUB_UNTIL = Object.freeze({ [ScrubUntil.Middle]: 0.5, [ScrubUntil.ThreeQuarters]: 0.75, [ScrubUntil.End]: 1 });
|
|
19100
|
+
/** The Wholly in by choice a stored `until` reads as (absent or 1 = the end). */
|
|
19101
|
+
function scrubUntilChoice(until) {
|
|
19102
|
+
const n = Number(until);
|
|
19103
|
+
return Object.entries(SCRUB_UNTIL).find(([, v]) => v === n)?.[0] ?? ScrubUntil.End;
|
|
19104
|
+
}
|
|
19105
|
+
/** Where copy-out plays: the opening's own exit, the words gone at 0.6 of it. */
|
|
19106
|
+
const COPY_OUT = Object.freeze({ range: 'exit', until: 0.6 });
|
|
19107
|
+
/** Whether the look's `scrub` makes an entrance of `type` follow the scroll. */
|
|
19108
|
+
function scrubsEntrance(scrub, type, context = {}) {
|
|
19109
|
+
if (context.opening)
|
|
19110
|
+
return false;
|
|
19111
|
+
if (scrub === ScrubId.Entrances)
|
|
19112
|
+
return true;
|
|
19113
|
+
return scrub === ScrubId.Words && type === TEXT_REVEAL;
|
|
19114
|
+
}
|
|
19115
|
+
/**
|
|
19116
|
+
* An entrance stamp under the look's `scrub` (AW10): the same action played by the scroll when the scrub takes it, else
|
|
19117
|
+
* the stamp unchanged. A scroll-played action keeps its own params (distance, side, pieces) and its curve (the look's
|
|
19118
|
+
* `ease-enter` — H7) and drops its clock (no duration, delay or row stagger: the scroll is the clock); under `words` a
|
|
19119
|
+
* text lights rather than rises. Pure.
|
|
19120
|
+
*/
|
|
19121
|
+
function scrubbedEntrance(ix, scrub, context = {}) {
|
|
19122
|
+
const action = ix.actions[0];
|
|
19123
|
+
if (ix.trigger !== ENTRANCE_TRIGGER || ix.actions.length !== 1 || !action || !scrubsEntrance(scrub, action.type, context))
|
|
19124
|
+
return ix;
|
|
19125
|
+
const params = { ...(action.params ?? {}), until: SCRUBBED_ENTRANCE.until };
|
|
19126
|
+
delete params['stagger'];
|
|
19127
|
+
delete params['cap'];
|
|
19128
|
+
if (scrub === ScrubId.Words)
|
|
19129
|
+
params['look'] = 'light';
|
|
19130
|
+
return {
|
|
19131
|
+
id: ix.id,
|
|
19132
|
+
trigger: SCROLL_PROGRESS_TRIGGER,
|
|
19133
|
+
range: SCRUBBED_ENTRANCE.range,
|
|
19134
|
+
actions: [{ type: action.type, target: action.target, ...(action.easing ? { easing: action.easing } : {}), params }],
|
|
19135
|
+
...(ix.origin ? { origin: ix.origin } : {}),
|
|
19136
|
+
};
|
|
19137
|
+
}
|
|
19138
|
+
/** How long an entrance plays once when Follow the scroll is turned off (AW10-D11): the Standard level's heading. */
|
|
19139
|
+
const ONCE_ENTRANCE_MS = 700;
|
|
19140
|
+
/** Is `ix` a scrubbed entrance — one this module made, or an author's Follow the scroll: passing through the screen, one
|
|
19141
|
+
* action the time trigger could play too (never a depth or a reading bar, which only the scroll plays)? */
|
|
19142
|
+
function isScrubbedEntrance(ix) {
|
|
19143
|
+
if (ix.trigger !== SCROLL_PROGRESS_TRIGGER || ix.range !== SCRUBBED_ENTRANCE.range || ix.actions.length !== 1)
|
|
19144
|
+
return false;
|
|
19145
|
+
const d = ELEMENT_ACTION_DESCRIPTORS.find(x => x.type === ix.actions[0].type);
|
|
19146
|
+
return !!d && actionOfferedUnder(d, ENTRANCE_TRIGGER);
|
|
19147
|
+
}
|
|
19148
|
+
/**
|
|
19149
|
+
* Follow the scroll turned OFF (AW10-D11, "off, back to once"): a scrubbed entrance becomes the same action played once
|
|
19150
|
+
* as it arrives (`viewportEnter`), `timing` its clock (its own curve, else the look's, and a Standard length when not
|
|
19151
|
+
* given); its `until` goes, every other param (pieces, look, distance) stays. Anything else comes back as it was. Pure —
|
|
19152
|
+
* the panel's one undo step, and the inverse of `scrubbedEntrance` but for the clock it dropped.
|
|
19153
|
+
*/
|
|
19154
|
+
function onceEntrance(ix, timing = {}) {
|
|
19155
|
+
if (!isScrubbedEntrance(ix))
|
|
19156
|
+
return ix;
|
|
19157
|
+
const action = ix.actions[0];
|
|
19158
|
+
const params = { ...(action.params ?? {}) };
|
|
19159
|
+
delete params['until'];
|
|
19160
|
+
const out = {
|
|
19161
|
+
type: action.type, target: action.target,
|
|
19162
|
+
duration: timing.duration ?? ONCE_ENTRANCE_MS, delay: timing.delay ?? 0, easing: timing.easing ?? action.easing ?? ENTRANCE_EASING, once: true,
|
|
19163
|
+
...(Object.keys(params).length ? { params } : {}),
|
|
19164
|
+
};
|
|
19165
|
+
return { id: ix.id, trigger: ENTRANCE_TRIGGER, actions: [out], ...(ix.origin ? { origin: ix.origin } : {}) };
|
|
19166
|
+
}
|
|
19167
|
+
/**
|
|
19168
|
+
* Copy-out (AW10, OPENING `motion.copy-out`, AW10-D9): stamped on the opening SECTION (its exit is what is measured),
|
|
19169
|
+
* fading each node that holds the opening's words — opacity only, so reduced motion keeps it (AW10-D10). Pure.
|
|
19170
|
+
*/
|
|
19171
|
+
function copyOutInteraction(sectionId, wordsIds) {
|
|
19172
|
+
const targets = typeof wordsIds === 'string' ? [wordsIds] : [...wordsIds];
|
|
19173
|
+
return {
|
|
19174
|
+
id: `${sectionId}-copy-out`,
|
|
19175
|
+
trigger: SCROLL_PROGRESS_TRIGGER,
|
|
19176
|
+
range: COPY_OUT.range,
|
|
19177
|
+
actions: targets.map(target => ({ type: 'fadeOut', target, params: { until: COPY_OUT.until } })),
|
|
19178
|
+
origin: ENTRANCE_ORIGIN_LOOK,
|
|
19179
|
+
};
|
|
19180
|
+
}
|
|
19181
|
+
/**
|
|
19182
|
+
* The look's entrance stamps of one composed section under the look's `scrub` (AW10-D5, D7, D8): each one the scrub
|
|
19183
|
+
* takes becomes the same action played by the scroll (`scrubbedEntrance`); the opening keeps every stamp on time. The
|
|
19184
|
+
* ONE rule the composer applies to `planEntrances`' stamps. Pure.
|
|
19185
|
+
*/
|
|
19186
|
+
function scrubEntranceStamps(stamps, scrub, context = {}) {
|
|
19187
|
+
if (!scrub || scrub === ScrubId.Never || context.opening)
|
|
19188
|
+
return [...stamps];
|
|
19189
|
+
return stamps.map(s => {
|
|
19190
|
+
const interaction = scrubbedEntrance(s.interaction, scrub, context);
|
|
19191
|
+
return interaction === s.interaction ? s : { ...s, interaction };
|
|
19192
|
+
});
|
|
19193
|
+
}
|
|
19194
|
+
/** The layout language's entrances a line of words plays as a text reveal (word by word, letter by letter). */
|
|
19195
|
+
const TEXT_REVEAL_ENTERS = new Set([LayoutEnter.MaskRise, LayoutEnter.Letters]);
|
|
19196
|
+
/**
|
|
19197
|
+
* Whether the look's `scrub` takes a layout layer's entrance (AW10-D12): `entrances` takes every entrance, `words` a
|
|
19198
|
+
* line of words that reveals (mask rise, letters — never a decoration, which only fades), the opening none. The layout
|
|
19199
|
+
* composer plays a layer that says `scrub` by the scroll only when this holds; `checkLayout` mends a `scrub` it does not
|
|
19200
|
+
* (`scrub-look`). `textual`: the layer is a line of words (word, heading, text, label, number). Pure.
|
|
19201
|
+
*/
|
|
19202
|
+
function layoutScrubTakes(layer, textual, scrub, context = {}) {
|
|
19203
|
+
if (!layer.enter || layer.enter === LayoutEnter.None)
|
|
19204
|
+
return false;
|
|
19205
|
+
const reveals = textual && layer.role !== LayoutRole.Decoration && TEXT_REVEAL_ENTERS.has(layer.enter);
|
|
19206
|
+
return scrubsEntrance(scrub, reveals ? TEXT_REVEAL : layer.enter, context);
|
|
19207
|
+
}
|
|
19208
|
+
|
|
19209
|
+
/** The scroll is replayed in steps this long (px). */
|
|
19210
|
+
const STEP_PX = 4;
|
|
19211
|
+
/** The depth a layer glides at in a section, as the composer stamps it — or null (mid, a held section, what a visitor
|
|
19212
|
+
* operates). ONE rule: `composeLayout` stamps by it, the render check and the depth mend replay by it. */
|
|
19213
|
+
function layoutGlideDepth(section, layer) {
|
|
19214
|
+
if (section.pin || !layer.depth || layer.depth === LayoutDepth.Mid || LAYOUT_OPERATED.has(layer.kind))
|
|
19215
|
+
return null;
|
|
19216
|
+
return layer.depth === LayoutDepth.Front ? ParallaxDepth.Front : ParallaxDepth.Back;
|
|
19217
|
+
}
|
|
19218
|
+
/** How far a layer at `depth` stands off its place with the page scrolled `scroll` px, on a screen `viewHeight` tall. */
|
|
19219
|
+
function driftAt(layer, scroll, viewHeight, phone = false) {
|
|
19220
|
+
if (!layer.depth)
|
|
19221
|
+
return 0;
|
|
19222
|
+
const view = { top: 0, height: viewHeight };
|
|
19223
|
+
const height = layer.box.b - layer.box.t;
|
|
19224
|
+
const shift = parallaxShift(rangeDistance(ScrollRange.Cover, { top: layer.box.t, height }, view), viewHeight, { phone, onPhone: normalizeParallaxPhone(LAYOUT_DEPTH_ON_PHONE) });
|
|
19225
|
+
if (!shift)
|
|
19226
|
+
return 0;
|
|
19227
|
+
const rest = parallaxRest(rangeProgress(ScrollRange.Cover, { top: layer.box.t, height }, view));
|
|
19228
|
+
const progress = rangeProgress(ScrollRange.Cover, { top: layer.box.t - scroll, height }, view);
|
|
19229
|
+
return parallaxOffset(layer.depth, shift, progress, rest);
|
|
19230
|
+
}
|
|
19231
|
+
const meet$1 = (a, b) => ({ l: Math.max(a.l, b.l), t: Math.max(a.t, b.t), r: Math.min(a.r, b.r), b: Math.min(a.b, b.b) });
|
|
19232
|
+
const areaOf = (r) => Math.max(0, r.r - r.l) * Math.max(0, r.b - r.t);
|
|
19233
|
+
const moved = (r, dy) => ({ l: r.l, r: r.r, t: r.t + dy, b: r.b + dy });
|
|
19234
|
+
/**
|
|
19235
|
+
* Where two layers overlap most on screen while the page scrolls past them, at least one gliding — inside `clip` (their
|
|
19236
|
+
* section, which clips a glide) — or null when they never meet more than they already do at rest. `pageHeight` bounds the
|
|
19237
|
+
* scroll. Pure: the same answer in the browser and the server.
|
|
19238
|
+
*/
|
|
19239
|
+
function driftOverlap(a, b, view, clip) {
|
|
19240
|
+
if (!a.depth && !b.depth)
|
|
19241
|
+
return null;
|
|
19242
|
+
const rest = areaOf(clip ? meet$1(meet$1(a.box, b.box), clip) : meet$1(a.box, b.box));
|
|
19243
|
+
const from = Math.max(0, Math.min(a.box.t, b.box.t) - view.height);
|
|
19244
|
+
const to = Math.min(Math.max(0, view.pageHeight - view.height), Math.max(a.box.b, b.box.b));
|
|
19245
|
+
let best = null;
|
|
19246
|
+
for (let scroll = from; scroll <= to; scroll += STEP_PX) {
|
|
19247
|
+
const screen = { l: 0, r: view.width, t: scroll, b: scroll + view.height };
|
|
19248
|
+
const ra = moved(a.box, driftAt(a, scroll, view.height, view.phone));
|
|
19249
|
+
const rb = moved(b.box, driftAt(b, scroll, view.height, view.phone));
|
|
19250
|
+
let overlap = meet$1(meet$1(ra, rb), screen);
|
|
19251
|
+
if (clip)
|
|
19252
|
+
overlap = meet$1(overlap, clip);
|
|
19253
|
+
const area = areaOf(overlap);
|
|
19254
|
+
if (area > rest && (!best || area > best.area))
|
|
19255
|
+
best = { scroll, overlap: moved(overlap, -scroll), area };
|
|
19256
|
+
}
|
|
19257
|
+
return best;
|
|
19258
|
+
}
|
|
19259
|
+
|
|
19260
|
+
const LOOKS = SPEC_SITE_LAYOUT.looks;
|
|
19261
|
+
const PRESET_LOOK = SPEC_SITE_LAYOUT.presetLook;
|
|
19262
|
+
const DARING_LEVELS = SPEC_SITE_LAYOUT.daringLevels;
|
|
19263
|
+
/** How far two brand colours are apart (RGB) — the last word between two presets that differ by their colour alone. */
|
|
19264
|
+
function seedDistance(a, b) {
|
|
19265
|
+
const rgb = (hex) => [1, 3, 5].map(i => parseInt(hex.slice(i, i + 2), 16) || 0);
|
|
19266
|
+
const [x, y] = [rgb(a), rgb(b)];
|
|
19267
|
+
return x.reduce((sum, v, i) => sum + (v - y[i]) ** 2, 0);
|
|
19268
|
+
}
|
|
19269
|
+
/**
|
|
19270
|
+
* The style preset a design wears (M8 gate 2): the preset it IS, else the closest of its flavor — same font pairing,
|
|
19271
|
+
* then the most of shape · density · pill buttons · tint · mode in common, then the nearer brand colour (six pairings
|
|
19272
|
+
* carry two presets each: Quiet luxury and Soft spa are both Linen + Cormorant; Morning glass and Coral studio differ by
|
|
19273
|
+
* their colour alone) — so an owner whose brand became a reference colour still wears THEIR preset's composition notes.
|
|
19274
|
+
* Never null: a design with no preset of its flavor reads the first preset's.
|
|
19275
|
+
*/
|
|
19276
|
+
function layoutPresetOf(choices) {
|
|
19277
|
+
const exact = stylePresetOfChoices(choices);
|
|
19278
|
+
if (exact)
|
|
19279
|
+
return exact;
|
|
19280
|
+
const c = resolveDesignChoices(choices);
|
|
19281
|
+
const kept = (p) => [p.shape === c.shape, p.density === c.density, p.pillButtons === c.pillButtons, p.tint === c.tint,
|
|
19282
|
+
presetModes(p).includes(c.mode)].filter(Boolean).length;
|
|
19283
|
+
const nearer = (a, b) => kept(a) - kept(b) || seedDistance(b.seed, c.seed) - seedDistance(a.seed, c.seed);
|
|
19284
|
+
const paired = STYLE_PRESETS.filter(p => p.flavorId === c.flavorId && p.pairId === c.pairId);
|
|
19285
|
+
if (paired.length)
|
|
19286
|
+
return paired.reduce((best, p) => (nearer(p, best) > 0 ? p : best));
|
|
19287
|
+
return STYLE_PRESETS.find(p => p.flavorId === c.flavorId) ?? STYLE_PRESETS[0];
|
|
19288
|
+
}
|
|
19289
|
+
/** A preset's look (the round-three composition notes it carries). */
|
|
19290
|
+
function layoutLookOf(presetId) {
|
|
19291
|
+
return LOOKS.find(l => l.id === PRESET_LOOK[presetId]) ?? LOOKS[0];
|
|
19292
|
+
}
|
|
19293
|
+
/** The pace and ease a composed page moves with: its look's. */
|
|
19294
|
+
function layoutMotionOf(presetId) {
|
|
19295
|
+
const look = layoutLookOf(presetId);
|
|
19296
|
+
return { pace: look.pace, ease: look.ease };
|
|
19297
|
+
}
|
|
19298
|
+
/**
|
|
19299
|
+
* How far a composed page dares (M8-G2-D5): daring when the look moves Lively or Expressive and the business type's
|
|
19300
|
+
* ceiling allows it (a trust or care type never dares), else distinct. `ceiling` is harness-core's for the type.
|
|
19301
|
+
*/
|
|
19302
|
+
function layoutDialOf(animate, ceiling) {
|
|
19303
|
+
const daring = !!animate && DARING_LEVELS.includes(animate) && (!ceiling || DARING_LEVELS.includes(ceiling));
|
|
19304
|
+
return daring ? LayoutDial.Daring : LayoutDial.Distinct;
|
|
19305
|
+
}
|
|
19306
|
+
|
|
19307
|
+
/** The design a page wears when only its look's preset is known: the preset in `mode` (else its own), else the default. */
|
|
19308
|
+
function layoutDesignOf(presetId, mode) {
|
|
19309
|
+
const id = String(presetId ?? '');
|
|
19310
|
+
return presetChoices(id, (mode ?? undefined)) ?? presetChoices(id) ?? resolveDesignChoices(null);
|
|
19311
|
+
}
|
|
19312
|
+
/** The element style a layer wears, by kind, role and size (the round-four renderer's `elementStyleOf`). */
|
|
19313
|
+
function layoutElementStyle(l) {
|
|
19314
|
+
switch (l.kind) {
|
|
19315
|
+
case LayoutLayerKind.Word: return 'display';
|
|
19316
|
+
case LayoutLayerKind.Heading: return l.role === LayoutRole.Lead ? 'h1' : 'h2';
|
|
19317
|
+
case LayoutLayerKind.Text: return l.size === 'm' || l.size === 'l' ? 'lead' : 'body';
|
|
19318
|
+
case LayoutLayerKind.List: return 'body';
|
|
19319
|
+
case LayoutLayerKind.Label: return !l.size || l.size === 'xs' || l.size === 's' ? 'eyebrow' : 'small';
|
|
19320
|
+
default: return NO_ELEMENT_STYLE;
|
|
19321
|
+
}
|
|
19322
|
+
}
|
|
19323
|
+
/** How wide a layer's words stand at 1em on one line, in the face its element style wears in `design` (iox-ui#46). */
|
|
19324
|
+
function layoutTextWidthEm(l, design) {
|
|
19325
|
+
return textWidthEm(l.text ?? '', elementStyleFace(design, layoutElementStyle(l)));
|
|
19326
|
+
}
|
|
19327
|
+
/** The columns a `screen` word fills: its span, and half a column more for each side it bleeds off. */
|
|
19328
|
+
function screenWordColumns(l) {
|
|
19329
|
+
const bleed = l.bleed && l.bleed !== LayoutBleed.None ? (l.bleed === LayoutBleed.Both ? 1 : 0.5) : 0;
|
|
19330
|
+
return l.col[1] - l.col[0] + bleed;
|
|
19331
|
+
}
|
|
19332
|
+
/** The screens a composed page is judged at (the render check's): a laptop and a phone. */
|
|
19333
|
+
const SCREENS = [{ width: 1440, phone: false }, { width: 390, phone: true }];
|
|
19334
|
+
/** Where a `screen` word cannot fit even at its smallest size: the screen and by how many px — null when it fits both. */
|
|
19335
|
+
function screenWordMisfit(l, design) {
|
|
19336
|
+
if (l.size !== LayoutSize.Screen || !l.text)
|
|
19337
|
+
return null;
|
|
19338
|
+
const em = layoutTextWidthEm(l, design);
|
|
19339
|
+
for (const s of SCREENS) {
|
|
19340
|
+
if (s.phone ? false : !!l.bleed && l.bleed !== LayoutBleed.None)
|
|
19341
|
+
continue;
|
|
19342
|
+
const px = screenWordOverflowPx(em, s.phone ? 12 : screenWordColumns(l), s.width, s.phone);
|
|
19343
|
+
if (px > 0)
|
|
19344
|
+
return { ...s, px };
|
|
19345
|
+
}
|
|
19346
|
+
return null;
|
|
19347
|
+
}
|
|
19348
|
+
|
|
19127
19349
|
/**
|
|
19128
19350
|
* THE PHOTO INVENTORY (premium components M8 gate 2, §5; the prototype's `code/inventory.cjs`, made pure): what a layout
|
|
19129
19351
|
* may know about a photo without seeing it — its shape, five main colours, and a 12×12 grid of how light and how busy each
|
|
@@ -19339,7 +19561,7 @@ function describeInventoryForPrompt(id, inv, label) {
|
|
|
19339
19561
|
const LIST_TABLE = SPEC_SITE_LAYOUT.list;
|
|
19340
19562
|
/** The ingredients, in the table's order. */
|
|
19341
19563
|
const LIST_INGREDIENTS = Object.keys(LIST_TABLE.ingredients);
|
|
19342
|
-
const WAITS$
|
|
19564
|
+
const WAITS$4 = LIST_TABLE.waits;
|
|
19343
19565
|
const MEANINGS$2 = LIST_TABLE.meanings;
|
|
19344
19566
|
/** Every word of an ingredient. */
|
|
19345
19567
|
function listIngredientWords(k) {
|
|
@@ -19347,7 +19569,7 @@ function listIngredientWords(k) {
|
|
|
19347
19569
|
}
|
|
19348
19570
|
/** The wait of a word, or null when the product draws it. */
|
|
19349
19571
|
function listWait(k, word) {
|
|
19350
|
-
return WAITS$
|
|
19572
|
+
return WAITS$4[`${k}.${word}`] ?? null;
|
|
19351
19573
|
}
|
|
19352
19574
|
/** The words of an ingredient the product draws — the only ones the wire offers (ingredients.md §3.3). */
|
|
19353
19575
|
function listBuiltWords(k) {
|
|
@@ -19562,6 +19784,388 @@ function pageListIssues(page) {
|
|
|
19562
19784
|
return issues;
|
|
19563
19785
|
}
|
|
19564
19786
|
|
|
19787
|
+
/**
|
|
19788
|
+
* THE BODY (award-ingredients-plan §3.4, AW6; board award-body): how a site's sections meet (the seam), how their grounds
|
|
19789
|
+
* follow one another (the rhythm), the texture laid on a ground (AW7) and the extra kinds of section a site may hold. Every
|
|
19790
|
+
* word, its meaning in both languages, whether the product draws it, its tier, each seam's geometry and each rhythm's rule
|
|
19791
|
+
* live in ONE table, the contract's `site.layout.body` (layout.mjs `BODY`). This module reads it, mends a mix the site
|
|
19792
|
+
* cannot carry (`checkBody`) and judges a composed page's grounds against its rhythm (`rhythmIssues`, run by
|
|
19793
|
+
* `checkLayout`). Pure.
|
|
19794
|
+
*
|
|
19795
|
+
* A seam is PAINTED, never laid out (`rules.seamPaintsOnly`): the LOWER section's ground rises into the one above it as a
|
|
19796
|
+
* shape `depth` px tall, under the words; the upper section keeps its words clear of it (`rules.seamKeepsClear`). `rounded`
|
|
19797
|
+
* instead lays the upper section over the next with its lower corners at `radius`. A Hebrew page mirrors an asymmetric
|
|
19798
|
+
* shape (`mirrors`).
|
|
19799
|
+
*/
|
|
19800
|
+
const B = SPEC_SITE_LAYOUT.body;
|
|
19801
|
+
/** The ingredients, by the contract's keys (held equal to it by body-mix.spec). */
|
|
19802
|
+
var BodyIngredient;
|
|
19803
|
+
(function (BodyIngredient) {
|
|
19804
|
+
BodyIngredient["Seam"] = "seam";
|
|
19805
|
+
BodyIngredient["Rhythm"] = "rhythm";
|
|
19806
|
+
BodyIngredient["Texture"] = "texture";
|
|
19807
|
+
BodyIngredient["Sections"] = "sections";
|
|
19808
|
+
})(BodyIngredient || (BodyIngredient = {}));
|
|
19809
|
+
var BodySeam;
|
|
19810
|
+
(function (BodySeam) {
|
|
19811
|
+
BodySeam["Straight"] = "straight";
|
|
19812
|
+
BodySeam["Wave"] = "wave";
|
|
19813
|
+
BodySeam["Drip"] = "drip";
|
|
19814
|
+
BodySeam["Torn"] = "torn";
|
|
19815
|
+
BodySeam["Rounded"] = "rounded";
|
|
19816
|
+
})(BodySeam || (BodySeam = {}));
|
|
19817
|
+
var BodyRhythm;
|
|
19818
|
+
(function (BodyRhythm) {
|
|
19819
|
+
BodyRhythm["Free"] = "free";
|
|
19820
|
+
BodyRhythm["Alternate"] = "alternate";
|
|
19821
|
+
BodyRhythm["LoudQuiet"] = "loud-quiet";
|
|
19822
|
+
BodyRhythm["Chapters"] = "chapters";
|
|
19823
|
+
BodyRhythm["Tail"] = "tail";
|
|
19824
|
+
})(BodyRhythm || (BodyRhythm = {}));
|
|
19825
|
+
var BodyTexture;
|
|
19826
|
+
(function (BodyTexture) {
|
|
19827
|
+
BodyTexture["None"] = "none";
|
|
19828
|
+
BodyTexture["Pattern"] = "pattern";
|
|
19829
|
+
BodyTexture["Light"] = "light";
|
|
19830
|
+
BodyTexture["Material"] = "material";
|
|
19831
|
+
BodyTexture["Grain"] = "grain";
|
|
19832
|
+
BodyTexture["Lanes"] = "lanes";
|
|
19833
|
+
})(BodyTexture || (BodyTexture = {}));
|
|
19834
|
+
var BodySectionWord;
|
|
19835
|
+
(function (BodySectionWord) {
|
|
19836
|
+
BodySectionWord["InsetCard"] = "inset-card";
|
|
19837
|
+
BodySectionWord["StickyTitle"] = "sticky-title";
|
|
19838
|
+
BodySectionWord["TabsNav"] = "tabs-nav";
|
|
19839
|
+
BodySectionWord["Promises"] = "promises";
|
|
19840
|
+
BodySectionWord["Table"] = "table";
|
|
19841
|
+
BodySectionWord["Timeline"] = "timeline";
|
|
19842
|
+
BodySectionWord["Hotspots"] = "hotspots";
|
|
19843
|
+
})(BodySectionWord || (BodySectionWord = {}));
|
|
19844
|
+
class BodyMixError extends Error {
|
|
19845
|
+
}
|
|
19846
|
+
const HEBREW$4 = 'he';
|
|
19847
|
+
const INGREDIENTS$3 = B.ingredients;
|
|
19848
|
+
const MANY$2 = new Set(B.many);
|
|
19849
|
+
const WAITS$3 = B.waits;
|
|
19850
|
+
const ORDER$1 = Object.values(BodyIngredient);
|
|
19851
|
+
const isMany$1 = (k) => MANY$2.has(k);
|
|
19852
|
+
const listOf$2 = (v) => (v === undefined ? [] : Array.isArray(v) ? [...v] : [v]);
|
|
19853
|
+
const ordered$1 = (k, words) => bodyWords(k).filter(w => words.includes(w));
|
|
19854
|
+
/** The words an ingredient may take, in the table's order. */
|
|
19855
|
+
function bodyWords(ingredient) {
|
|
19856
|
+
return INGREDIENTS$3[ingredient] ?? [];
|
|
19857
|
+
}
|
|
19858
|
+
/** What a word means — in Hebrew when the builder speaks it. */
|
|
19859
|
+
function bodyMeaning(ingredient, word, locale) {
|
|
19860
|
+
const key = `${ingredient}.${word}`;
|
|
19861
|
+
return (locale === HEBREW$4 ? B.meaningsHe?.[key] : undefined) ?? B.meanings[key] ?? word;
|
|
19862
|
+
}
|
|
19863
|
+
/** Whether the product draws a word today (a waiting word is listed with its phase, drawn as its stand-in). */
|
|
19864
|
+
function bodyWordDrawn(ingredient, word) {
|
|
19865
|
+
return bodyWords(ingredient).includes(word) && !WAITS$3[`${ingredient}.${word}`];
|
|
19866
|
+
}
|
|
19867
|
+
/** The phase a waiting word waits for, or null. */
|
|
19868
|
+
function bodyWordWaits(ingredient, word) {
|
|
19869
|
+
return WAITS$3[`${ingredient}.${word}`]?.phase ?? null;
|
|
19870
|
+
}
|
|
19871
|
+
/** AW-D23: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
19872
|
+
function bodyWordTier(ingredient, word) {
|
|
19873
|
+
return B.tiers[`${ingredient}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
19874
|
+
}
|
|
19875
|
+
/** May a build at `tier` wear this word? */
|
|
19876
|
+
function bodyWordOffered(ingredient, word, tier) {
|
|
19877
|
+
return bodyWordTier(ingredient, word) === 'all' || tier === GenerationTier.Award;
|
|
19878
|
+
}
|
|
19879
|
+
/** A whole mix from part of one: what is not named is the default (straight, free, no texture). Refuses a word the table
|
|
19880
|
+
* lacks. */
|
|
19881
|
+
function bodyMix(partial = {}) {
|
|
19882
|
+
const mix = {
|
|
19883
|
+
seam: B.defaults['seam'], rhythm: B.defaults['rhythm'], texture: B.defaults['texture'],
|
|
19884
|
+
sections: listOf$2(B.defaults['sections']),
|
|
19885
|
+
};
|
|
19886
|
+
for (const [k, v] of Object.entries(partial)) {
|
|
19887
|
+
if (v === undefined)
|
|
19888
|
+
continue;
|
|
19889
|
+
if (!INGREDIENTS$3[k])
|
|
19890
|
+
throw new BodyMixError(`no body ingredient "${k}"`);
|
|
19891
|
+
const words = listOf$2(v);
|
|
19892
|
+
for (const w of words)
|
|
19893
|
+
if (!INGREDIENTS$3[k].includes(w))
|
|
19894
|
+
throw new BodyMixError(`a body's ${k} cannot be "${w}" (${INGREDIENTS$3[k].join(' · ')})`);
|
|
19895
|
+
if (isMany$1(k))
|
|
19896
|
+
mix[k] = ordered$1(k, words);
|
|
19897
|
+
else if (words.length !== 1)
|
|
19898
|
+
throw new BodyMixError(`a body has one ${k}`);
|
|
19899
|
+
else
|
|
19900
|
+
mix[k] = words[0];
|
|
19901
|
+
}
|
|
19902
|
+
return mix;
|
|
19903
|
+
}
|
|
19904
|
+
/** A mix on the wire: one `<ingredient>:<word>` per word, in the table's order. */
|
|
19905
|
+
function bodyMixWords(mix) {
|
|
19906
|
+
return ORDER$1.flatMap(k => listOf$2(mix[k]).map(w => `${k}:${w}`));
|
|
19907
|
+
}
|
|
19908
|
+
/** The words back into a mix. Refuses an unknown word and two words for a one-word ingredient. */
|
|
19909
|
+
function bodyMixFromWords(words) {
|
|
19910
|
+
const partial = {};
|
|
19911
|
+
for (const pair of words) {
|
|
19912
|
+
const [k, w] = String(pair).split(':');
|
|
19913
|
+
if (!INGREDIENTS$3[k] || !w)
|
|
19914
|
+
throw new BodyMixError(`"${pair}" is no body word (<ingredient>:<word>)`);
|
|
19915
|
+
const got = (partial[k] ??= []);
|
|
19916
|
+
if (!isMany$1(k) && got.length && got[0] !== w)
|
|
19917
|
+
throw new BodyMixError(`a body has one ${k} ("${got[0]}" and "${w}")`);
|
|
19918
|
+
if (!got.includes(w))
|
|
19919
|
+
got.push(w);
|
|
19920
|
+
}
|
|
19921
|
+
return bodyMix(Object.fromEntries(Object.entries(partial).map(([k, v]) => [k, isMany$1(k) ? v : v[0]])));
|
|
19922
|
+
}
|
|
19923
|
+
/** A site plan's body (AW6): its `mixes.body` as a mix, or null — absent or empty, straight seams and free grounds. */
|
|
19924
|
+
function bodyMixOfPlan(plan) {
|
|
19925
|
+
const words = plan.mixes?.body;
|
|
19926
|
+
return words?.length ? bodyMixFromWords(words) : null;
|
|
19927
|
+
}
|
|
19928
|
+
/** The mix the product DRAWS today: a waiting word becomes its stand-in (a waiting kind of section is left out), each said. */
|
|
19929
|
+
function drawnBodyMix(mix) {
|
|
19930
|
+
const drawn = { ...mix, sections: [...mix.sections] };
|
|
19931
|
+
const gaps = [];
|
|
19932
|
+
for (const k of ORDER$1) {
|
|
19933
|
+
if (isMany$1(k)) {
|
|
19934
|
+
drawn[k] = mix[k].filter(w => {
|
|
19935
|
+
const wait = WAITS$3[`${k}.${w}`];
|
|
19936
|
+
if (wait)
|
|
19937
|
+
gaps.push({ ingredient: k, word: w, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
19938
|
+
return !wait;
|
|
19939
|
+
});
|
|
19940
|
+
continue;
|
|
19941
|
+
}
|
|
19942
|
+
const word = mix[k];
|
|
19943
|
+
const wait = WAITS$3[`${k}.${word}`];
|
|
19944
|
+
if (!wait)
|
|
19945
|
+
continue;
|
|
19946
|
+
gaps.push({ ingredient: k, word, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
19947
|
+
drawn[k] = wait.drawnAs ?? B.defaults[k];
|
|
19948
|
+
}
|
|
19949
|
+
return { drawn, gaps };
|
|
19950
|
+
}
|
|
19951
|
+
/** The fingerprint's prefix for a body. */
|
|
19952
|
+
const BODY_TOKEN = 'body';
|
|
19953
|
+
/** A body as the fingerprint sees it: `body:<seam>/<rhythm>/<texture>`. */
|
|
19954
|
+
function bodyTokenOf(mix) {
|
|
19955
|
+
return `${BODY_TOKEN}:${B.fingerprint.map(k => mix[k]).join('/')}`;
|
|
19956
|
+
}
|
|
19957
|
+
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only, the award tier's only there. */
|
|
19958
|
+
function bodyWireWords(tier = GenerationTier.Basic) {
|
|
19959
|
+
return ORDER$1.flatMap(k => bodyWords(k).filter(w => bodyWordDrawn(k, w) && bodyWordOffered(k, w, tier)).map(w => `${k}:${w}`));
|
|
19960
|
+
}
|
|
19961
|
+
/** How a seam is drawn at a width and in a direction. An unknown word is the straight seam. */
|
|
19962
|
+
function bodySeamShape(word, opts = {}) {
|
|
19963
|
+
const g = B.seams[word] ?? B.seams[BodySeam.Straight];
|
|
19964
|
+
const at = opts.phone ? 1 : 0;
|
|
19965
|
+
return { depth: g.depth[at], radius: g.radius?.[at] ?? 0, mirrored: !!opts.rtl && g.mirrors };
|
|
19966
|
+
}
|
|
19967
|
+
/** The class a section wears for its seam (`iox-seam-<word>`); the straight seam wears none. design-core's
|
|
19968
|
+
* `sectionEdgeClass` is the one writer (the renderers' node-class helper); this reads the table's words through it. */
|
|
19969
|
+
function bodySeamClass(word) {
|
|
19970
|
+
return word && B.seams[word] ? sectionEdgeClass(word) : null;
|
|
19971
|
+
}
|
|
19972
|
+
// ── The body worn by a composed page (H4: the composer stamps what the palette's Section edge writes) ─────────────────
|
|
19973
|
+
const SCENE_ROLE$1 = 'scene';
|
|
19974
|
+
function holdsScene(node) {
|
|
19975
|
+
let found = false;
|
|
19976
|
+
walkSerialized([node], n => { if (n.role === SCENE_ROLE$1)
|
|
19977
|
+
found = true; });
|
|
19978
|
+
return found;
|
|
19979
|
+
}
|
|
19980
|
+
/** Split a CSS shorthand at its top-level spaces (a `calc()` / `var()` stays whole). */
|
|
19981
|
+
function shorthandParts(value) {
|
|
19982
|
+
const out = [];
|
|
19983
|
+
let depth = 0;
|
|
19984
|
+
let cur = '';
|
|
19985
|
+
for (const ch of value.trim()) {
|
|
19986
|
+
if (ch === '(')
|
|
19987
|
+
depth++;
|
|
19988
|
+
if (ch === ')')
|
|
19989
|
+
depth--;
|
|
19990
|
+
if (/\s/.test(ch) && depth === 0) {
|
|
19991
|
+
if (cur)
|
|
19992
|
+
out.push(cur);
|
|
19993
|
+
cur = '';
|
|
19994
|
+
continue;
|
|
19995
|
+
}
|
|
19996
|
+
cur += ch;
|
|
19997
|
+
}
|
|
19998
|
+
if (cur)
|
|
19999
|
+
out.push(cur);
|
|
20000
|
+
return out;
|
|
20001
|
+
}
|
|
20002
|
+
/** The padding with its bottom at least `px` (`rules.seamKeepsClear`): `a b max(c, 48px) d`, a px value raised in place. */
|
|
20003
|
+
function paddingKeepingClear(padding, px) {
|
|
20004
|
+
const parts = shorthandParts(typeof padding === 'string' && padding.trim() ? padding : '0px');
|
|
20005
|
+
const [top, right = top, bottom = top, left = right] = parts;
|
|
20006
|
+
const m = /^(-?\d*\.?\d+)px$/.exec(bottom);
|
|
20007
|
+
const kept = m ? (Number(m[1]) >= px ? bottom : `${px}px`) : (bottom.startsWith('max(') && bottom.endsWith(`, ${px}px)`) ? bottom : `max(${bottom}, ${px}px)`);
|
|
20008
|
+
return `${top} ${right} ${kept} ${left}`;
|
|
20009
|
+
}
|
|
20010
|
+
/**
|
|
20011
|
+
* A composed page wearing the body mix (AW6, H4): the plan's seam on every Section whose ground differs from the one
|
|
20012
|
+
* above it (never the first, a Scene or a section holding one — AW6-D11; two equal grounds would draw nothing), the
|
|
20013
|
+
* upper's bottom space raised to the seam's depth so its words stay clear (R-H17); `inset-card` makes every later
|
|
20014
|
+
* section that wears a scheme a rounded card on the page's ground. A mix with nothing drawn returns the layout as it was
|
|
20015
|
+
* (the same array — byte-identical, R-H4). Pure: touched nodes are copied.
|
|
20016
|
+
*/
|
|
20017
|
+
function wearBodyMix(layout, mix) {
|
|
20018
|
+
if (!mix)
|
|
20019
|
+
return layout;
|
|
20020
|
+
const drawn = drawnBodyMix(mix).drawn;
|
|
20021
|
+
const cards = drawn.sections.includes(BodySectionWord.InsetCard);
|
|
20022
|
+
const seam = drawn.seam;
|
|
20023
|
+
if (seam === BodySeam.Straight && !cards)
|
|
20024
|
+
return layout;
|
|
20025
|
+
const out = layout.map(n => n);
|
|
20026
|
+
const depth = bodySeamShape(seam).depth;
|
|
20027
|
+
for (let i = 1; i < out.length; i++) {
|
|
20028
|
+
const node = out[i];
|
|
20029
|
+
if (!SECTION_EDGE_TYPES.includes(node.type) || holdsScene(node))
|
|
20030
|
+
continue;
|
|
20031
|
+
const scheme = colorSchemeOf(node) ?? 'default';
|
|
20032
|
+
const above = colorSchemeOf(out[i - 1]) ?? 'default';
|
|
20033
|
+
const copy = { ...node, props: { ...(node.props ?? {}) }, styleProps: { ...(node.styleProps ?? {}) } };
|
|
20034
|
+
if (cards && scheme !== 'default') {
|
|
20035
|
+
const plan = planSectionShape(SectionShape.Card, copy.styleProps);
|
|
20036
|
+
setSectionShape(copy, SectionShape.Card);
|
|
20037
|
+
Object.assign(copy.styleProps, plan?.styles ?? {});
|
|
20038
|
+
out[i] = copy;
|
|
20039
|
+
continue;
|
|
20040
|
+
}
|
|
20041
|
+
// A card stands inset on the page's ground: the section under it meets that ground, never the card (D11).
|
|
20042
|
+
if (seam === BodySeam.Straight || scheme === above || holdsScene(out[i - 1]) || sectionShapeOf(out[i - 1]) === SectionShape.Card)
|
|
20043
|
+
continue;
|
|
20044
|
+
setSectionEdge(copy, seam);
|
|
20045
|
+
out[i] = copy;
|
|
20046
|
+
if (depth > 0) {
|
|
20047
|
+
const upper = out[i - 1];
|
|
20048
|
+
out[i - 1] = { ...upper, styleProps: { ...(upper.styleProps ?? {}), padding: paddingKeepingClear(upper.styleProps?.['padding'], depth) } };
|
|
20049
|
+
}
|
|
20050
|
+
}
|
|
20051
|
+
return out;
|
|
20052
|
+
}
|
|
20053
|
+
// ── The check: a mix judged against the site, mended where the site cannot carry it, each mend said ──────────────────
|
|
20054
|
+
var BodyRepairCode;
|
|
20055
|
+
(function (BodyRepairCode) {
|
|
20056
|
+
/** A word the award tier alone wears, on a site built below it. */
|
|
20057
|
+
BodyRepairCode["ProOnly"] = "pro-only";
|
|
20058
|
+
/** A trust or care business (harness `MOTION_CEILINGS.subtle`) never wears a torn or dripping edge: a soft hill. */
|
|
20059
|
+
BodyRepairCode["CalmSeam"] = "calm-seam";
|
|
20060
|
+
})(BodyRepairCode || (BodyRepairCode = {}));
|
|
20061
|
+
/** The seams a calm business never wears (award plan H1), and the one it wears instead. */
|
|
20062
|
+
const LOUD_SEAMS = new Set([BodySeam.Torn, BodySeam.Drip]);
|
|
20063
|
+
const CALM_SEAM = BodySeam.Wave;
|
|
20064
|
+
/** The ONE judge of a body mix against the site. Judges the mix as DRAWN (`drawnBodyMix` first). Never throws. Pure. */
|
|
20065
|
+
function checkBody(mix, ctx = {}) {
|
|
20066
|
+
const m = { ...mix, sections: [...mix.sections] };
|
|
20067
|
+
const repairs = [];
|
|
20068
|
+
if (ctx.tier && ctx.tier !== GenerationTier.Award) {
|
|
20069
|
+
for (const k of ORDER$1) {
|
|
20070
|
+
if (isMany$1(k)) {
|
|
20071
|
+
const kept = m[k].filter(w => bodyWordTier(k, w) === 'all');
|
|
20072
|
+
for (const w of m[k].filter(x => !kept.includes(x)))
|
|
20073
|
+
repairs.push({ code: BodyRepairCode.ProOnly, said: `"${bodyMeaning(k, w)}" comes with the award plan: left out` });
|
|
20074
|
+
m[k] = kept;
|
|
20075
|
+
continue;
|
|
20076
|
+
}
|
|
20077
|
+
const word = m[k];
|
|
20078
|
+
if (bodyWordTier(k, word) === 'all')
|
|
20079
|
+
continue;
|
|
20080
|
+
const standIn = B.defaults[k];
|
|
20081
|
+
m[k] = standIn;
|
|
20082
|
+
repairs.push({ code: BodyRepairCode.ProOnly, said: `"${bodyMeaning(k, word)}" comes with the award plan: ${bodyMeaning(k, standIn)} instead` });
|
|
20083
|
+
}
|
|
20084
|
+
}
|
|
20085
|
+
if (ctx.calm && LOUD_SEAMS.has(m.seam)) {
|
|
20086
|
+
repairs.push({ code: BodyRepairCode.CalmSeam, said: `a calm business never wears "${bodyMeaning(BodyIngredient.Seam, m.seam)}": ${bodyMeaning(BodyIngredient.Seam, CALM_SEAM)} instead` });
|
|
20087
|
+
m.seam = CALM_SEAM;
|
|
20088
|
+
}
|
|
20089
|
+
return { mix: m, repairs };
|
|
20090
|
+
}
|
|
20091
|
+
// ── The rhythm: a composed page's grounds against the body's rhythm ──────────────────────────────────────────────────
|
|
20092
|
+
/** How a section's ground reads: dark or light (by its colour's luminance), or a photo (free in every rhythm). */
|
|
20093
|
+
var GroundTone;
|
|
20094
|
+
(function (GroundTone) {
|
|
20095
|
+
GroundTone["Dark"] = "dark";
|
|
20096
|
+
GroundTone["Light"] = "light";
|
|
20097
|
+
GroundTone["Photo"] = "photo";
|
|
20098
|
+
})(GroundTone || (GroundTone = {}));
|
|
20099
|
+
/** The luminance where black and white words read equally on a ground (≈ 0.179): above it the ground is light. */
|
|
20100
|
+
const TONE_SPLIT = Math.sqrt(1.05 * 0.05) - 0.05;
|
|
20101
|
+
/** A ground's tone from its relative luminance. */
|
|
20102
|
+
function groundToneOf(luminance) {
|
|
20103
|
+
return luminance > TONE_SPLIT ? GroundTone.Light : GroundTone.Dark;
|
|
20104
|
+
}
|
|
20105
|
+
const PICTURED = new Set([LayoutLayerKind.Photo, LayoutLayerKind.Gallery, LayoutLayerKind.List, LayoutLayerKind.Marquee]);
|
|
20106
|
+
const span$2 = (l) => (Array.isArray(l.col) ? l.col[1] - l.col[0] : 0);
|
|
20107
|
+
const pictured = (s) => String(s.ground ?? '').startsWith('photo:') || (s.layers ?? []).some(l => PICTURED.has(l.kind));
|
|
20108
|
+
/** A quiet section: words only, centred, every layer within `cols` of the twelve. */
|
|
20109
|
+
const quiet = (s, cols) => !pictured(s) && !!(s.layers ?? []).length && (s.layers ?? []).every(l => l.kind === LayoutLayerKind.Shape || (span$2(l) <= cols && (l.align ?? 'start') === 'center'));
|
|
20110
|
+
const startsChapter = (s, at) => (at.includes('inhale') && s.kind === LayoutSectionKind.Inhale) || (at.includes('signature') && !!s.signature);
|
|
20111
|
+
/**
|
|
20112
|
+
* A composed page's grounds judged against the body's rhythm (`BODY.rhythms`): each issue a `Structure` issue on the page,
|
|
20113
|
+
* so the layout request is asked again with it. `free` (and an unknown word) asks nothing. A photo ground is free in
|
|
20114
|
+
* `alternate`, `chapters` and `tail`. Pure.
|
|
20115
|
+
*/
|
|
20116
|
+
function rhythmIssues(sections, rhythm, ctx) {
|
|
20117
|
+
const issues = [];
|
|
20118
|
+
const add = (path, message) => issues.push({ code: LayoutIssueCode.Structure, path, message });
|
|
20119
|
+
const tones = sections.map(s => ctx.toneOf(s));
|
|
20120
|
+
const R = B.rhythms;
|
|
20121
|
+
switch (rhythm) {
|
|
20122
|
+
case BodyRhythm.Alternate:
|
|
20123
|
+
for (let i = 1; i < sections.length; i++) {
|
|
20124
|
+
if (tones[i] !== GroundTone.Photo && tones[i] === tones[i - 1]) {
|
|
20125
|
+
add(`sections[${i}].ground`, `grounds alternate dark and light — "${sections[i].id}" is ${tones[i]} like the section before it`);
|
|
20126
|
+
}
|
|
20127
|
+
}
|
|
20128
|
+
break;
|
|
20129
|
+
case BodyRhythm.LoudQuiet: {
|
|
20130
|
+
const { pairs, quietCols } = R['loud-quiet'];
|
|
20131
|
+
let found = 0;
|
|
20132
|
+
for (let i = 1; i < sections.length; i++)
|
|
20133
|
+
if (pictured(sections[i - 1]) && quiet(sections[i], quietCols))
|
|
20134
|
+
found++;
|
|
20135
|
+
if (found < pairs) {
|
|
20136
|
+
add('sections', `${found} picture section(s) followed by a quiet one — the loud-quiet rhythm asks at least ${pairs}: a picture section, then words only, centred, within ${quietCols} of the 12 columns`);
|
|
20137
|
+
}
|
|
20138
|
+
break;
|
|
20139
|
+
}
|
|
20140
|
+
case BodyRhythm.Chapters: {
|
|
20141
|
+
const at = R.chapters.changesAt;
|
|
20142
|
+
let last = null;
|
|
20143
|
+
sections.forEach((s, i) => {
|
|
20144
|
+
const tone = tones[i];
|
|
20145
|
+
if (tone === GroundTone.Photo)
|
|
20146
|
+
return;
|
|
20147
|
+
if (last !== null && tone !== last && !startsChapter(s, at)) {
|
|
20148
|
+
add(`sections[${i}].ground`, `the ground changes only where a chapter starts (an inhale or the signature) — "${s.id}" changes it`);
|
|
20149
|
+
}
|
|
20150
|
+
last = tone;
|
|
20151
|
+
});
|
|
20152
|
+
break;
|
|
20153
|
+
}
|
|
20154
|
+
case BodyRhythm.Tail: {
|
|
20155
|
+
if (!ctx.footerTone || ctx.footerTone === GroundTone.Photo)
|
|
20156
|
+
break;
|
|
20157
|
+
const from = Math.max(0, sections.length - R.tail.last);
|
|
20158
|
+
for (let i = from; i < sections.length; i++) {
|
|
20159
|
+
if (tones[i] !== GroundTone.Photo && tones[i] !== ctx.footerTone) {
|
|
20160
|
+
add(`sections[${i}].ground`, `the last ${R.tail.last} sections wear the footer's ${ctx.footerTone} ground — "${sections[i].id}" is ${tones[i]}`);
|
|
20161
|
+
}
|
|
20162
|
+
}
|
|
20163
|
+
break;
|
|
20164
|
+
}
|
|
20165
|
+
}
|
|
20166
|
+
return issues;
|
|
20167
|
+
}
|
|
20168
|
+
|
|
19565
20169
|
/**
|
|
19566
20170
|
* Space on a composed page (the M8 demo, the bar's live page 2026-11-10): what the static check can read off the grid
|
|
19567
20171
|
* about stillness and emptiness — a held section where nothing moves, a shape that is there for nothing, a stretch of the
|
|
@@ -19896,6 +20500,8 @@ const overlaps = (a, b) => {
|
|
|
19896
20500
|
const trackOf = (s) => s.track ?? 1;
|
|
19897
20501
|
const groundPhotoOf = (s) => (String(s.ground ?? '').startsWith(PHOTO_GROUND) ? String(s.ground).slice(PHOTO_GROUND.length) : null);
|
|
19898
20502
|
const isText = (l) => LAYOUT_TEXT_KINDS.has(l.kind);
|
|
20503
|
+
/** A line of words — what a text reveal splits (the composer's `textual`): every text kind but a list. */
|
|
20504
|
+
const isLine = (l) => isText(l) && l.kind !== LayoutLayerKind.List;
|
|
19899
20505
|
const isPictured = (l) => l.kind === LayoutLayerKind.Photo || l.kind === LayoutLayerKind.Gallery;
|
|
19900
20506
|
const contrastOf = (a, b) => (Math.max(a, b) + 0.05) / (Math.min(a, b) + 0.05);
|
|
19901
20507
|
const boxPx = layoutBoxPx;
|
|
@@ -20010,6 +20616,8 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
20010
20616
|
const look = L$1.presetLook[ctx.presetId] ? layoutLookOf(ctx.presetId) : null;
|
|
20011
20617
|
const paint = presetPaint(ctx.presetId, ctx.mode);
|
|
20012
20618
|
const design = ctx.design ?? layoutDesignOf(ctx.presetId, ctx.mode);
|
|
20619
|
+
// AW10: the look's By the scroll — what a layer's `scrub` and `letters` may ask of it.
|
|
20620
|
+
const scrub = scrubOfChoices(design);
|
|
20013
20621
|
if (!look)
|
|
20014
20622
|
add(LayoutIssueCode.Value, 'look', `"${ctx.presetId}" is not a style preset`);
|
|
20015
20623
|
if (!paint)
|
|
@@ -20232,11 +20840,25 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
20232
20840
|
if (LAYOUT_OPERATED.has(l.kind) && deep)
|
|
20233
20841
|
add(LayoutIssueCode.Motion, `${lp}.depth`, 'what a visitor operates never moves for style — give it no depth (mid)');
|
|
20234
20842
|
// the entrance
|
|
20843
|
+
const letters = l.enter === LayoutEnter.Letters;
|
|
20235
20844
|
if (l.enter !== undefined && !inList(V$1.enters, l.enter))
|
|
20236
20845
|
add(LayoutIssueCode.Value, `${lp}.enter`, V$1.enters.join(' | '));
|
|
20237
|
-
else if (look && l.enter && l.enter !== LayoutEnter.None && l.enter !== LayoutEnter.Fade && !look.enters.includes(l.enter)) {
|
|
20846
|
+
else if (look && l.enter && l.enter !== LayoutEnter.None && l.enter !== LayoutEnter.Fade && !letters && !look.enters.includes(l.enter)) {
|
|
20238
20847
|
add(LayoutIssueCode.Look, `${lp}.enter`, `the ${look.id} look enters with ${['fade', ...look.enters].join(' | ')}`);
|
|
20239
20848
|
}
|
|
20849
|
+
// AW10 (AW10-D2, D12): letters rise on a line of words, on a look whose By the scroll is not never.
|
|
20850
|
+
if (letters && l.role !== LayoutRole.Decoration && (!isLine(l) || scrub === ScrubId.Never)) {
|
|
20851
|
+
add(LayoutIssueCode.Motion, `${lp}.enter`, !isLine(l) ? `letters rise on a line of words, never a ${l.kind}: it fades` : 'letters come with a look that moves by the scroll: it fades', { kind: LayoutMendKind.Fade, layer: lp });
|
|
20852
|
+
}
|
|
20853
|
+
// AW10 (AW10-D8, D12): a scrubbed entrance — never in the first screen, only where the look takes it.
|
|
20854
|
+
if (l.scrub && i === 0) {
|
|
20855
|
+
add(LayoutIssueCode.Motion, `${lp}.scrub`, 'the first screen never follows the scroll — it is wholly in view at load; it plays on time', { kind: LayoutMendKind.Scrub, layer: lp, why: LayoutScrubRefusal.Opening });
|
|
20856
|
+
}
|
|
20857
|
+
else if (l.scrub && !layoutScrubTakes(l, isLine(l), scrub)) {
|
|
20858
|
+
add(LayoutIssueCode.Motion, `${lp}.scrub`, scrub === ScrubId.Never
|
|
20859
|
+
? "the look's By the scroll is never: it plays once as it arrives"
|
|
20860
|
+
: `the look's By the scroll (${scrub}) does not take ${l.enter && l.enter !== LayoutEnter.None ? `a ${l.enter} entrance` : 'a layer with no entrance'}: it plays once`, { kind: LayoutMendKind.Scrub, layer: lp, why: LayoutScrubRefusal.Look });
|
|
20861
|
+
}
|
|
20240
20862
|
if (l.enter === LayoutEnter.ClipReveal && l.from && !inList(V$1.sides, l.from))
|
|
20241
20863
|
add(LayoutIssueCode.Value, `${lp}.from`, V$1.sides.join(' | '));
|
|
20242
20864
|
if (l.enter === LayoutEnter.Pop && isText(l) && wordsOf$3(l.text) > POP_WORDS)
|
|
@@ -20576,6 +21198,12 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
20576
21198
|
add(LayoutIssueCode.Look, 'sections', `${lightGrounds} sections on a light ground — the ${look.id} look allows ${limits.lightGroundsMax}`);
|
|
20577
21199
|
}
|
|
20578
21200
|
issues.push(...pageListIssues(page));
|
|
21201
|
+
if (ctx.rhythm && paint) {
|
|
21202
|
+
const toneOf = (s) => (groundPhotoOf(s)
|
|
21203
|
+
? GroundTone.Photo
|
|
21204
|
+
: groundToneOf(lumOf(paint.colours[(inList(V$1.colours, s.ground) ? s.ground : LayoutColour.Ground)])));
|
|
21205
|
+
issues.push(...rhythmIssues(sections, ctx.rhythm, { toneOf, footerTone: ctx.footerTone }));
|
|
21206
|
+
}
|
|
20579
21207
|
const unshown = shownListIssue(page, ctx);
|
|
20580
21208
|
if (unshown)
|
|
20581
21209
|
issues.push(unshown);
|
|
@@ -20862,7 +21490,14 @@ function mendLayout(page, issues) {
|
|
|
20862
21490
|
};
|
|
20863
21491
|
for (const issue of issues) {
|
|
20864
21492
|
const mend = issue.mend;
|
|
20865
|
-
if (mend?.kind === LayoutMendKind.
|
|
21493
|
+
if (mend?.kind === LayoutMendKind.Scrub) {
|
|
21494
|
+
const layer = layerAt(mend.layer);
|
|
21495
|
+
if (!layer)
|
|
21496
|
+
continue;
|
|
21497
|
+
delete layer.scrub;
|
|
21498
|
+
mended.push(issue);
|
|
21499
|
+
}
|
|
21500
|
+
else if (mend?.kind === LayoutMendKind.Scrim || mend?.kind === LayoutMendKind.Ink || mend?.kind === LayoutMendKind.Fade) {
|
|
20866
21501
|
const layer = layerAt(mend.layer);
|
|
20867
21502
|
if (!layer)
|
|
20868
21503
|
continue;
|
|
@@ -22229,6 +22864,8 @@ var HeaderIngredient;
|
|
|
22229
22864
|
HeaderIngredient["Above"] = "above";
|
|
22230
22865
|
/** HB-D1 (HI3 / HI6): what more sits in the bar. */
|
|
22231
22866
|
HeaderIngredient["InBar"] = "inBar";
|
|
22867
|
+
/** AW6: whose ground the header's ink follows — the opening's, or every section's as it passes under the bar. */
|
|
22868
|
+
HeaderIngredient["Ink"] = "ink";
|
|
22232
22869
|
})(HeaderIngredient || (HeaderIngredient = {}));
|
|
22233
22870
|
var HeaderArrange;
|
|
22234
22871
|
(function (HeaderArrange) {
|
|
@@ -22854,6 +23491,38 @@ function openingMixValue(mix) {
|
|
|
22854
23491
|
function stampOpeningMix(root, mix) {
|
|
22855
23492
|
root.props = { ...root.props, [OPENING_MIX_PROP]: openingMixValue(mix) };
|
|
22856
23493
|
}
|
|
23494
|
+
/** The opening parts that hold its words — what copy-out fades (a part that holds a form is never faded: it is used). */
|
|
23495
|
+
const WORDS_ROLES = new Set([OpeningRole.Words, OpeningRole.Apart, OpeningRole.Aside]);
|
|
23496
|
+
const FORM_TYPE = 'Form';
|
|
23497
|
+
/**
|
|
23498
|
+
* The opening's own motion as interactions (AW10, AW10-D9): `copy-out` — its words fade as the page leaves it, by the
|
|
23499
|
+
* scroll, gone at 0.6 of its exit (`copyOutInteraction`, stamped on the root, opacity only). A re-mix recomposes the root,
|
|
23500
|
+
* so a mix without it carries none. Slow zoom and the frame's settle are the shared stylesheet's (by role). Pure on the
|
|
23501
|
+
* composed section.
|
|
23502
|
+
*/
|
|
23503
|
+
function stampOpeningMotion(root, mix) {
|
|
23504
|
+
if (!mix.motion.includes(OpeningMotion.CopyOut))
|
|
23505
|
+
return;
|
|
23506
|
+
const words = [];
|
|
23507
|
+
const holdsForm = (n) => {
|
|
23508
|
+
let found = false;
|
|
23509
|
+
walkSerialized(n.children ?? [], c => { if (c.role === OpeningRole.Form || c.type === FORM_TYPE)
|
|
23510
|
+
found = true; });
|
|
23511
|
+
return found;
|
|
23512
|
+
};
|
|
23513
|
+
// The outermost words part that holds no form: a live opening's aside (words + form) gives its words part.
|
|
23514
|
+
const visit = (n) => {
|
|
23515
|
+
if (n.role && WORDS_ROLES.has(n.role) && !holdsForm(n)) {
|
|
23516
|
+
words.push(n.id);
|
|
23517
|
+
return;
|
|
23518
|
+
}
|
|
23519
|
+
for (const c of n.children ?? [])
|
|
23520
|
+
visit(c);
|
|
23521
|
+
};
|
|
23522
|
+
visit(root);
|
|
23523
|
+
if (words.length)
|
|
23524
|
+
root.interactions = [...(root.interactions ?? []), copyOutInteraction(root.id, words)];
|
|
23525
|
+
}
|
|
22857
23526
|
/** The mix an opening root stores, or null — none stored, or words the table no longer knows. */
|
|
22858
23527
|
function storedOpeningMix(root) {
|
|
22859
23528
|
const value = root?.props?.[OPENING_MIX_PROP];
|
|
@@ -23468,6 +24137,7 @@ function validateDesign(c, design) {
|
|
|
23468
24137
|
word('feel', ARRIVE_IDS);
|
|
23469
24138
|
word('headings', MOVE_IDS);
|
|
23470
24139
|
word('preloader', PRELOADER_IDS);
|
|
24140
|
+
word('scrub', SCRUB_IDS);
|
|
23471
24141
|
if (design['mode'] !== undefined && !SPEC_AXES.modes.includes(design['mode']))
|
|
23472
24142
|
bad('mode', `must be one of ${SPEC_AXES.modes.join(', ')}`);
|
|
23473
24143
|
if (design['pillButtons'] !== undefined && typeof design['pillButtons'] !== 'boolean')
|
|
@@ -24068,7 +24738,7 @@ function validateGlobals(c, globals) {
|
|
|
24068
24738
|
}
|
|
24069
24739
|
}
|
|
24070
24740
|
/** The parts a plan may carry as a mix, and how each reads its words (only the footer until header ingredients HI1). */
|
|
24071
|
-
const MIX_READERS = { header: headerMixFromWords, footer: footerMixFromWords, opening: openingMixFromWords };
|
|
24741
|
+
const MIX_READERS = { header: headerMixFromWords, footer: footerMixFromWords, opening: openingMixFromWords, body: bodyMixFromWords };
|
|
24072
24742
|
/** `mixes`: each part's words parse in its table (list ingredients LI5); absent is fine. */
|
|
24073
24743
|
function validateMixes(c, mixes) {
|
|
24074
24744
|
if (mixes === undefined)
|
|
@@ -24491,6 +25161,9 @@ var LayoutGapCode;
|
|
|
24491
25161
|
LayoutGapCode["ListUnlinked"] = "list-unlinked";
|
|
24492
25162
|
/** A list section naming a list the composer was not told how to read (no `listOf`): today's gallery instead. */
|
|
24493
25163
|
LayoutGapCode["ListUnbound"] = "list-unbound";
|
|
25164
|
+
/** AW10: a layer saying `scrub` that the look's By the scroll does not take, or in the first screen — it plays once
|
|
25165
|
+
* (`checkLayout` mends it before; a stored layout is composed as is and said). */
|
|
25166
|
+
LayoutGapCode["Scrub"] = "scrub";
|
|
24494
25167
|
})(LayoutGapCode || (LayoutGapCode = {}));
|
|
24495
25168
|
var LayoutColourMode;
|
|
24496
25169
|
(function (LayoutColourMode) {
|
|
@@ -24744,11 +25417,28 @@ const ENTER_TYPE = {
|
|
|
24744
25417
|
[LayoutEnter.Pop]: 'scaleIn',
|
|
24745
25418
|
[LayoutEnter.ClipReveal]: 'clipReveal',
|
|
24746
25419
|
[LayoutEnter.MaskRise]: 'revealText',
|
|
25420
|
+
// AW10: a line of words rises letter by letter (split in the browser only; a long or joined-script line falls to words).
|
|
25421
|
+
[LayoutEnter.Letters]: 'revealText',
|
|
24747
25422
|
// AW3: the keyframe map draws blurIn (a small blur into focus) — it no longer rises without its blur.
|
|
24748
25423
|
[LayoutEnter.BlurIn]: 'blurIn',
|
|
24749
25424
|
};
|
|
24750
|
-
/**
|
|
24751
|
-
|
|
25425
|
+
/**
|
|
25426
|
+
* A time entrance: the round-four renderer's `playEnter` as a `viewportEnter` interaction on the node — or, for a layer
|
|
25427
|
+
* that says `scrub` where the look's By the scroll takes it (AW10, `layoutScrubTakes`; never the first screen), the same
|
|
25428
|
+
* action played by the scroll (`scrubbedEntrance`).
|
|
25429
|
+
*/
|
|
25430
|
+
function enterInteraction(nodeId, l, ctx, path, textual, scale = 1, opening = false) {
|
|
25431
|
+
const once = onceEnterInteraction(nodeId, l, ctx, path, textual, scale);
|
|
25432
|
+
if (!once || !l.scrub)
|
|
25433
|
+
return once;
|
|
25434
|
+
const scrub = scrubOfChoices(ctx.design);
|
|
25435
|
+
if (!layoutScrubTakes(l, textual, scrub, { opening })) {
|
|
25436
|
+
gap(ctx, LayoutGapCode.Scrub, path, opening ? 'the first screen plays on time' : `the look's By the scroll (${scrub}) does not take this entrance: it plays once`);
|
|
25437
|
+
return once;
|
|
25438
|
+
}
|
|
25439
|
+
return scrubbedEntrance(once, scrub, { opening });
|
|
25440
|
+
}
|
|
25441
|
+
function onceEnterInteraction(nodeId, l, ctx, path, textual, scale = 1) {
|
|
24752
25442
|
const enter = l.enter ?? LayoutEnter.None;
|
|
24753
25443
|
if (enter === LayoutEnter.None)
|
|
24754
25444
|
return null;
|
|
@@ -24765,9 +25455,9 @@ function enterInteraction(nodeId, l, ctx, path, textual, scale = 1) {
|
|
|
24765
25455
|
gap(ctx, LayoutGapCode.ScaleIn, path, `${recipe} starts at 0.8`);
|
|
24766
25456
|
if (recipe === LayoutEnter.ClipReveal)
|
|
24767
25457
|
params['from'] = l.from ?? LayoutSide.Bottom;
|
|
24768
|
-
if (recipe === LayoutEnter.MaskRise) {
|
|
25458
|
+
if (recipe === LayoutEnter.MaskRise || recipe === LayoutEnter.Letters) {
|
|
24769
25459
|
if (textual)
|
|
24770
|
-
params['by'] =
|
|
25460
|
+
params['by'] = recipe === LayoutEnter.Letters ? TextRevealBy.Letter : TextRevealBy.Word;
|
|
24771
25461
|
else {
|
|
24772
25462
|
type = 'moveUp';
|
|
24773
25463
|
params['distance'] = rise;
|
|
@@ -25501,7 +26191,7 @@ function composeLayer(l, lc, ctx) {
|
|
|
25501
26191
|
// A list's items arrive on their own (its mix's `arrive`): the frame never enters on top of them.
|
|
25502
26192
|
const itemsArrive = l.kind === LayoutLayerKind.Gallery && !!listOfLayer(l, ctx);
|
|
25503
26193
|
if (!(lc.held && l.kinetic && textual) && !itemsArrive) {
|
|
25504
|
-
const enter = enterInteraction(entering.id, l, ctx, lc.path, textual);
|
|
26194
|
+
const enter = enterInteraction(entering.id, l, ctx, lc.path, textual, 1, lc.si === 0);
|
|
25505
26195
|
if (enter)
|
|
25506
26196
|
entering.interactions = [...entering.interactions, enter];
|
|
25507
26197
|
if (image && l.enter === LayoutEnter.ClipReveal && l.role !== LayoutRole.Decoration)
|
|
@@ -25909,14 +26599,17 @@ var ComposeIssueCode;
|
|
|
25909
26599
|
/** AW8: the opening's mix asked for what the site cannot carry (`checkOpening`), or for a word the product does not
|
|
25910
26600
|
* draw yet (drawn as its stand-in): the detail says how. */
|
|
25911
26601
|
ComposeIssueCode["OpeningMended"] = "opening-mended";
|
|
26602
|
+
/** AW6: the body's mix asked for what the build cannot carry (`checkBody`: an award edge on a basic build): the
|
|
26603
|
+
* detail says how. */
|
|
26604
|
+
ComposeIssueCode["BodyMended"] = "body-mended";
|
|
25912
26605
|
})(ComposeIssueCode || (ComposeIssueCode = {}));
|
|
25913
26606
|
/** The issues that are a dangling link (a route the plan has no page for) and what was done about it. */
|
|
25914
26607
|
const DANGLING_LINK_CODES = new Set([
|
|
25915
26608
|
ComposeIssueCode.LinkToEmail, ComposeIssueCode.LinkRemoved, ComposeIssueCode.LinkUnlinked,
|
|
25916
26609
|
]);
|
|
25917
26610
|
/** The composer's context for a site whose layouts name photos: the year, and each photo's address, words and shape. */
|
|
25918
|
-
function composeContextOf(year, photos, tier, legal) {
|
|
25919
|
-
const tiered = { ...(tier ? { tier } : {}), ...(legal ? { legal } : {}) };
|
|
26611
|
+
function composeContextOf(year, photos, tier, legal, calm) {
|
|
26612
|
+
const tiered = { ...(tier ? { tier } : {}), ...(legal ? { legal } : {}), ...(calm ? { calm } : {}) };
|
|
25920
26613
|
if (!photos)
|
|
25921
26614
|
return { year, ...tiered };
|
|
25922
26615
|
return {
|
|
@@ -27131,7 +27824,7 @@ function stampEntrances(root, family, entrances, motion) {
|
|
|
27131
27824
|
seen.set(key, index + 1);
|
|
27132
27825
|
return { ...e, index };
|
|
27133
27826
|
});
|
|
27134
|
-
const stamps = planEntrances({ family, level: motion.level, marks, contentIds: (root.children ?? []).map(c => c.id), rtl: motion.rtl, move: motion.move });
|
|
27827
|
+
const stamps = scrubEntranceStamps(planEntrances({ family, level: motion.level, marks, contentIds: (root.children ?? []).map(c => c.id), rtl: motion.rtl, move: motion.move }), motion.scrub, { opening: motion.opening });
|
|
27135
27828
|
for (const { nodeId, interaction } of stamps) {
|
|
27136
27829
|
const node = nodes.get(nodeId);
|
|
27137
27830
|
if (node)
|
|
@@ -27332,6 +28025,12 @@ function composeSite(plan, context) {
|
|
|
27332
28025
|
const design = motionLanguageForPlan(resolveDesignChoices(clone$2(plan.design)), context?.tier === GenerationTier.Award);
|
|
27333
28026
|
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
27334
28027
|
const rtl = isRtlLocale(locale);
|
|
28028
|
+
// AW6: the plan's body (seams, inset cards) as the build's tier may carry it — every mend said (`body-mended`).
|
|
28029
|
+
const bodyMixAsked = bodyMixOfPlan(plan);
|
|
28030
|
+
const bodyChecked = bodyMixAsked ? checkBody(drawnBodyMix(bodyMixAsked).drawn, { tier: context?.tier ?? GenerationTier.Basic, calm: !!context?.calm }) : null;
|
|
28031
|
+
for (const r of bodyChecked?.repairs ?? [])
|
|
28032
|
+
issues.push({ code: ComposeIssueCode.BodyMended, nodeId: 'body', owner: 'body', detail: r.said });
|
|
28033
|
+
const body = bodyChecked?.mix ?? null;
|
|
27335
28034
|
const pages = plan.pages.map(page => {
|
|
27336
28035
|
const nextAlias = page.routeSource ? nextSourceOf(relatives, page.routeSource) : null;
|
|
27337
28036
|
if (page.layout) {
|
|
@@ -27345,12 +28044,12 @@ function composeSite(plan, context) {
|
|
|
27345
28044
|
return {
|
|
27346
28045
|
key: page.key, name: page.name, route: { path: page.route }, isHome: page.isHome === true, status: STATUS_DRAFT, locale,
|
|
27347
28046
|
pageSettings: { designSystem: true, layoutSource: { pageKey: page.key }, ...(opening ? { opening } : {}) }, seo: composePageSeo(page, plan),
|
|
27348
|
-
layout: worn,
|
|
28047
|
+
layout: wearBodyMix(worn, body),
|
|
27349
28048
|
};
|
|
27350
28049
|
}
|
|
27351
28050
|
const layout = wearPlanOpening(page, page.sections.map((section, i) => {
|
|
27352
28051
|
const pattern = patternById(section.pattern);
|
|
27353
|
-
const motion = { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null };
|
|
28052
|
+
const motion = { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null, scrub: design.scrub ?? null, opening: i === 0 };
|
|
27354
28053
|
return stampSection(composePattern(pattern, `${page.key}-${i}`, { ...base, owner: page.key, page, section, nextAlias }, motion), { pattern: section.pattern });
|
|
27355
28054
|
}), plan, context, design, placeholders, issues, false);
|
|
27356
28055
|
const opening = schemeOfFirst(layout);
|
|
@@ -27363,7 +28062,7 @@ function composeSite(plan, context) {
|
|
|
27363
28062
|
locale,
|
|
27364
28063
|
pageSettings: { designSystem: true, ...(opening ? { opening } : {}) },
|
|
27365
28064
|
seo: composePageSeo(page, plan),
|
|
27366
|
-
layout,
|
|
28065
|
+
layout: wearBodyMix(layout, body),
|
|
27367
28066
|
};
|
|
27368
28067
|
});
|
|
27369
28068
|
// LI5: the footer is the plan's footer MIX (a stored pattern id is read as one), checked and arranged from the
|
|
@@ -27404,6 +28103,9 @@ function composeSite(plan, context) {
|
|
|
27404
28103
|
const headerRoot = globals.find(g => g.id === GlobalSlot.Header);
|
|
27405
28104
|
if (headerRoot)
|
|
27406
28105
|
stampHeaderMix(headerRoot, header.recipe.mix);
|
|
28106
|
+
// AW6 (AW6-D10): a header whose ink follows the sections says so (the renderers' header ink runtime reads it).
|
|
28107
|
+
if (headerRoot)
|
|
28108
|
+
setHeaderInk(headerRoot, headerInkOf(header.recipe.mix[HeaderIngredient.Ink]));
|
|
27407
28109
|
if (planSells(plan))
|
|
27408
28110
|
globals = withStore(globals, plan.locale ?? DEFAULT_SITE_LOCALE);
|
|
27409
28111
|
// AW1: the law, derived from facts and never asked — the legal pages, the banner when a tracker is connected, the
|
|
@@ -27679,6 +28381,7 @@ function composeNavHeader(input, options) {
|
|
|
27679
28381
|
if (pattern.header)
|
|
27680
28382
|
setHeaderBehaviour(header, pattern.header.behaviour, pattern.header.edge ?? null);
|
|
27681
28383
|
stampHeaderMix(header, recipe.mix);
|
|
28384
|
+
setHeaderInk(header, headerInkOf(recipe.mix[HeaderIngredient.Ink]));
|
|
27682
28385
|
if (input.storeSlots)
|
|
27683
28386
|
withStoreSlots(header, input.locale ?? DEFAULT_SITE_LOCALE);
|
|
27684
28387
|
return { header, issues, mix: checked.mix, companions };
|
|
@@ -27865,6 +28568,7 @@ function composeOpening(input, options) {
|
|
|
27865
28568
|
const recipe = openingRecipe(checked.mix, context);
|
|
27866
28569
|
const section = composePattern(recipe.pattern, options.id, ctx);
|
|
27867
28570
|
stampOpeningMix(section, recipe.mix);
|
|
28571
|
+
stampOpeningMotion(section, recipe.mix);
|
|
27868
28572
|
const badge = typeof input.badge === 'string' && input.badge.trim() ? input.badge.trim() : null;
|
|
27869
28573
|
if (badge) {
|
|
27870
28574
|
walkSerialized([section], n => {
|
|
@@ -28250,6 +28954,9 @@ var BuildNoticeCode;
|
|
|
28250
28954
|
/** LI5: the footer the plan asked for was mended (a word that waits drawn as its stand-in, a one-line footer that
|
|
28251
28955
|
* holds only some parts) — said like the header's and the opening's. */
|
|
28252
28956
|
BuildNoticeCode["FooterMended"] = "footer-mended";
|
|
28957
|
+
/** AW6: the body the plan asked for was mended (a section edge that comes with the award plan, on a basic build) —
|
|
28958
|
+
* said like the header's, the opening's and the footer's. */
|
|
28959
|
+
BuildNoticeCode["BodyMended"] = "body-mended";
|
|
28253
28960
|
})(BuildNoticeCode || (BuildNoticeCode = {}));
|
|
28254
28961
|
/** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
|
|
28255
28962
|
* pair (`replaceGlobals`), for pages. */
|
|
@@ -28257,20 +28964,37 @@ var KeptPagesChoice;
|
|
|
28257
28964
|
(function (KeptPagesChoice) {
|
|
28258
28965
|
/** Build every other page; leave these as they are. */
|
|
28259
28966
|
KeptPagesChoice["Keep"] = "keep";
|
|
28260
|
-
/** Move each aside as a draft at `/<route>-previous` and build the plan's
|
|
28967
|
+
/** Move each aside as a draft at `/<route>-previous` (`/shop-previous/:slug` for a per-item page) and build the plan's
|
|
28968
|
+
* page at its address. Nothing is deleted. */
|
|
28261
28969
|
KeptPagesChoice["Replace"] = "replace";
|
|
28262
28970
|
})(KeptPagesChoice || (KeptPagesChoice = {}));
|
|
28263
28971
|
/** The suffix a replaced page's address takes. */
|
|
28264
28972
|
const PREVIOUS_ROUTE_SUFFIX = '-previous';
|
|
28265
28973
|
/** Where a page moved aside goes: `/<route>-previous`, then `-previous-2`… — never an address in `taken` (shapes
|
|
28266
|
-
* compared case-insensitively, trailing slash ignored). The home page (`/`) goes to `/home-previous`.
|
|
28974
|
+
* compared case-insensitively, trailing slash and parameter names ignored). The home page (`/`) goes to `/home-previous`.
|
|
28975
|
+
*
|
|
28976
|
+
* ⚠️ The suffix goes on the route's LAST STATIC segment, never on a `:param` (vectoriox/iox-ui#100): `/shop/:slug` moved
|
|
28977
|
+
* to `/shop/:slug-previous` still answered every `/shop/<item>` — a parameter matches the whole segment — and, older
|
|
28978
|
+
* and published by Publish site, the replaced product page was served instead of the new one. So `/shop/:slug` →
|
|
28979
|
+
* `/shop-previous/:slug`, and a route of parameters only (`/:slug`) → `/previous/:slug`. */
|
|
28267
28980
|
function previousRoute(route, taken) {
|
|
28268
|
-
const key = (r) => (r.replace(/\/+$/, '') || '/').toLowerCase();
|
|
28981
|
+
const key = (r) => (r.replace(/\/+$/, '') || '/').replace(/\/:[^/]+/g, '/:').toLowerCase();
|
|
28269
28982
|
const held = new Set(taken.map(key));
|
|
28270
|
-
const
|
|
28271
|
-
|
|
28983
|
+
const segments = (route.replace(/\/+$/, '') || '/home').split('/').filter(Boolean);
|
|
28984
|
+
if (!segments.length)
|
|
28985
|
+
segments.push('home');
|
|
28986
|
+
const at = segments.map((seg, i) => (seg.startsWith(':') ? -1 : i)).filter(i => i >= 0).pop();
|
|
28987
|
+
const shaped = (suffix) => {
|
|
28988
|
+
const out = [...segments];
|
|
28989
|
+
if (at === undefined)
|
|
28990
|
+
out.unshift(`previous${suffix}`);
|
|
28991
|
+
else
|
|
28992
|
+
out[at] = `${out[at]}${PREVIOUS_ROUTE_SUFFIX}${suffix}`;
|
|
28993
|
+
return `/${out.join('/')}`;
|
|
28994
|
+
};
|
|
28995
|
+
let candidate = shaped('');
|
|
28272
28996
|
for (let n = 2; held.has(key(candidate)); n++)
|
|
28273
|
-
candidate =
|
|
28997
|
+
candidate = shaped(`-${n}`);
|
|
28274
28998
|
return candidate;
|
|
28275
28999
|
}
|
|
28276
29000
|
/** The compose issues the run SAYS (header, opening, footer), each kind once (the wizard tracks a notice by its code): the words of every mend of
|
|
@@ -28280,6 +29004,7 @@ const MEND_NOTICES = [
|
|
|
28280
29004
|
[ComposeIssueCode.HeaderMended, BuildNoticeCode.HeaderMended],
|
|
28281
29005
|
[ComposeIssueCode.OpeningMended, BuildNoticeCode.OpeningMended],
|
|
28282
29006
|
[ComposeIssueCode.FooterMended, BuildNoticeCode.FooterMended],
|
|
29007
|
+
[ComposeIssueCode.BodyMended, BuildNoticeCode.BodyMended],
|
|
28283
29008
|
];
|
|
28284
29009
|
const CARRY_ONLY = /^the opening found no place for /;
|
|
28285
29010
|
function mendNotices(issues) {
|
|
@@ -28626,6 +29351,17 @@ const HEADER_WIRE_TEXT = 'string[] — the header as ONE list of <ingredient>:<w
|
|
|
28626
29351
|
+ `default (${headerMixWords(headerMix()).join(', ')}). The site decides what it can carry: a menu needs three pages or more, the pages in the bar must fit `
|
|
28627
29352
|
+ 'beside the name, pages either side of the name need a short name, two actions need a shop. '
|
|
28628
29353
|
+ Object.values(HeaderIngredient).map(k => `${k}: ${headerWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1)).map(w => `${w} (${headerMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
29354
|
+
/** The wire's `globals` key the site's body travels in (AW6) — the award tier's alone (AW-D23…D25). */
|
|
29355
|
+
const BODY_WIRE_KEY = 'body';
|
|
29356
|
+
/** The body's words as the model reads them (AW6): each ingredient, the words an award build may wear today and their
|
|
29357
|
+
* meanings, from the contract's body table. */
|
|
29358
|
+
const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>:<word> words: how its sections meet and how their grounds "
|
|
29359
|
+
+ `follow one another; one word per ingredient but sections, which lists each extra kind it takes; an ingredient left out is the default `
|
|
29360
|
+
+ `(${bodyMixWords(bodyMix()).join(', ')}); [] = straight edges, each section's ground its own. An edge shows only where two neighbouring `
|
|
29361
|
+
+ 'sections wear different grounds; a calm business (care, advice) never wears a torn or dripping edge. '
|
|
29362
|
+
+ Object.values(BodyIngredient).map(k => [k, bodyWireWords(GenerationTier.Award).filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))])
|
|
29363
|
+
.filter(([, words]) => words.length)
|
|
29364
|
+
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
28629
29365
|
const WIRE_KEYS = {
|
|
28630
29366
|
plan: {
|
|
28631
29367
|
business: inPart(PlanPart.Structure, key('plan.business')),
|
|
@@ -28731,6 +29467,9 @@ const WIRE_KEYS = {
|
|
|
28731
29467
|
footer: { refs: ['globals.footer', 'plan.mixes', 'mixes.footer'], text: FOOTER_WIRE_TEXT },
|
|
28732
29468
|
// AW8: the home page's opening travels as its MIX, ONE list of `<ingredient>:<word>` words (opening-mix.ts); [] = none.
|
|
28733
29469
|
opening: { refs: ['plan.mixes', 'mixes.opening'], text: OPENING_WIRE_TEXT },
|
|
29470
|
+
// AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. The award
|
|
29471
|
+
// tier's request alone carries it (AW-D23…D25): a Basic wire is without the key, so its grammar is the one it was.
|
|
29472
|
+
body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT, tier: GenerationTier.Award },
|
|
28734
29473
|
},
|
|
28735
29474
|
shopProduct: {
|
|
28736
29475
|
name: key('shopProduct.name'),
|
|
@@ -28769,8 +29508,18 @@ const wireText = (spec) => {
|
|
|
28769
29508
|
const base = spec.text ?? describeShapeKey(PLAN_SHAPE[entry], planKey);
|
|
28770
29509
|
return spec.none === undefined ? base : `${base} — ${spec.none} = none`;
|
|
28771
29510
|
};
|
|
28772
|
-
|
|
28773
|
-
|
|
29511
|
+
const isAward = (options) => options.tier === GenerationTier.Award;
|
|
29512
|
+
/** Is a wire key on the request asked at `options`? (A key with no tier is on every request.) */
|
|
29513
|
+
const asked = (spec, options) => !spec.tier || (spec.tier === GenerationTier.Award && isAward(options));
|
|
29514
|
+
const wireShapeAt = (options) => Object.fromEntries(Object.entries(WIRE_KEYS).map(([entry, keys]) => [entry, Object.fromEntries(Object.entries(keys).filter(([, spec]) => asked(spec, options)).map(([k, spec]) => [k, wireText(spec)]))]));
|
|
29515
|
+
/** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. The
|
|
29516
|
+
* Basic tier's (every tier's but the award's); `planWireShape(options)` gives a tier's own. */
|
|
29517
|
+
const PLAN_WIRE_SHAPE = wireShapeAt({});
|
|
29518
|
+
const AWARD_WIRE_SHAPE = wireShapeAt({ tier: GenerationTier.Award });
|
|
29519
|
+
/** The wire's shape table a request at `options` reads (AW6: the award tier's carries the body). Basic = `PLAN_WIRE_SHAPE`. */
|
|
29520
|
+
function planWireShape(options = {}) {
|
|
29521
|
+
return isAward(options) ? AWARD_WIRE_SHAPE : PLAN_WIRE_SHAPE;
|
|
29522
|
+
}
|
|
28774
29523
|
/** Each part's top-level keys, from the ONE wire table. */
|
|
28775
29524
|
const PLAN_PART_KEYS = Object.fromEntries(PLAN_PARTS.map(part => [part, Object.entries(WIRE_KEYS.plan).filter(([, spec]) => spec.part === part).map(([k]) => k)]));
|
|
28776
29525
|
/** The keys of a shape entry, but these. */
|
|
@@ -28882,11 +29631,12 @@ const PLAN_TOP_SCHEMAS = {
|
|
|
28882
29631
|
contentTypes: () => jsonListOf(wireContentTypeJsonSchema()),
|
|
28883
29632
|
dataSources: () => jsonListOf(wireDataSourceJsonSchema()),
|
|
28884
29633
|
pages: () => jsonListOf(wirePageJsonSchema()),
|
|
28885
|
-
globals:
|
|
29634
|
+
globals: options => jsonShapedObject(planWireShape(options).globals, {
|
|
28886
29635
|
[GlobalSlot.Header]: jsonListOf(jsonOneOf(headerWireWords())),
|
|
28887
29636
|
[GlobalSlot.Footer]: jsonListOf(jsonOneOf(footerWireWords())),
|
|
28888
29637
|
[OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords(GenerationTier.Award))),
|
|
28889
|
-
|
|
29638
|
+
...(isAward(options) ? { [BODY_WIRE_KEY]: jsonListOf(jsonOneOf(bodyWireWords(GenerationTier.Award))) } : {}),
|
|
29639
|
+
}, `wire ${PlanWireEntry.Globals}`),
|
|
28890
29640
|
direction: () => shaped(PlanWireEntry.Direction, { idea: jsonText(), cliche: jsonText(), flip: jsonText(), rules: jsonListOf(jsonText()) }),
|
|
28891
29641
|
shop: () => jsonListOf(wireShopProductJsonSchema()),
|
|
28892
29642
|
};
|
|
@@ -28898,21 +29648,22 @@ function wireShopProductJsonSchema() {
|
|
|
28898
29648
|
});
|
|
28899
29649
|
}
|
|
28900
29650
|
/** The plan's top-level shape for one part (its keys only) — what that part's request shows and is built from. */
|
|
28901
|
-
function planWirePartShape(part) {
|
|
28902
|
-
return Object.fromEntries(Object.entries(
|
|
29651
|
+
function planWirePartShape(part, options = {}) {
|
|
29652
|
+
return Object.fromEntries(Object.entries(planWireShape(options).plan).filter(([k]) => PLAN_PART_KEYS[part].includes(k)));
|
|
28903
29653
|
}
|
|
28904
29654
|
/**
|
|
28905
29655
|
* The format a model writes one part of a plan in — one request each (vectoriox/iox-cms#47). The same for every studio
|
|
28906
|
-
* and run: nothing in it is pinned, so the provider compiles each part's grammar once
|
|
29656
|
+
* and run at a tier: nothing in it is pinned, so the provider compiles each part's grammar once per tier (AW6: the award
|
|
29657
|
+
* tier's Pages part adds `globals.body`; every other tier's is the format it always was, byte for byte).
|
|
28907
29658
|
*/
|
|
28908
|
-
function planWirePartJsonSchema(part) {
|
|
29659
|
+
function planWirePartJsonSchema(part, options = {}) {
|
|
28909
29660
|
const gaps = planWireGaps();
|
|
28910
29661
|
if (gaps.length)
|
|
28911
29662
|
throw new PlanWireShapeError(`the plan wire neither carries nor derives ${gaps.join(', ')}`);
|
|
28912
29663
|
const missing = Object.keys(WIRE_KEYS.plan).filter(k => !PLAN_TOP_SCHEMAS[k] || !WIRE_KEYS.plan[k].part);
|
|
28913
29664
|
if (missing.length)
|
|
28914
29665
|
throw new PlanWireShapeError(`the plan wire's ${missing.join(', ')} has no part or no format`);
|
|
28915
|
-
return jsonShapedObject(planWirePartShape(part), Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TOP_SCHEMAS[k]()])), `wire plan ${part}`);
|
|
29666
|
+
return jsonShapedObject(planWirePartShape(part, options), Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TOP_SCHEMAS[k](options)])), `wire plan ${part}`);
|
|
28916
29667
|
}
|
|
28917
29668
|
/** A value standing for "absent": `''` (or nothing at all). */
|
|
28918
29669
|
const isNone = (v) => v === undefined || v === NONE$1;
|
|
@@ -29062,12 +29813,15 @@ function expandWireGlobals(globals) {
|
|
|
29062
29813
|
return {};
|
|
29063
29814
|
if (!isPlainObject(globals))
|
|
29064
29815
|
return { globals };
|
|
29065
|
-
const { [OPENING_WIRE_KEY]: opening, ...rest } = globals;
|
|
29816
|
+
const { [OPENING_WIRE_KEY]: opening, [BODY_WIRE_KEY]: body, ...rest } = globals;
|
|
29066
29817
|
const out = { ...rest };
|
|
29067
29818
|
const mixes = {};
|
|
29068
29819
|
// AW8: the opening is a mix only (no stored pattern stands for it on the wire); [] = none. Not a list: the validator says so.
|
|
29069
|
-
|
|
29070
|
-
|
|
29820
|
+
// AW6: so is the body (the award tier's wire alone writes it); [] = none.
|
|
29821
|
+
for (const [name, words] of [[OPENING_WIRE_KEY, opening], [BODY_WIRE_KEY, body]]) {
|
|
29822
|
+
if (words !== undefined && (!Array.isArray(words) || words.length))
|
|
29823
|
+
mixes[name] = Array.isArray(words) ? [...words] : words;
|
|
29824
|
+
}
|
|
29071
29825
|
for (const [slot, readId, fallback] of [
|
|
29072
29826
|
[GlobalSlot.Header, (w) => headerPatternIdOf(headerMixFromWords(w)), DEFAULT_HEADER_PATTERN],
|
|
29073
29827
|
[GlobalSlot.Footer, (w) => footerPatternIdOf(footerMixFromWords(w)), DEFAULT_FOOTER_PATTERN],
|
|
@@ -29135,20 +29889,23 @@ const PLAN_TO_WIRE = {
|
|
|
29135
29889
|
contentTypes: plan => plan.contentTypes.map(type => contentTypeToWire(type)),
|
|
29136
29890
|
dataSources: plan => plan.dataSources.map(dataSourceToWire),
|
|
29137
29891
|
pages: plan => plan.pages.map(page => pageToWire(page)),
|
|
29138
|
-
globals: plan => ({
|
|
29892
|
+
globals: (plan, options) => ({
|
|
29139
29893
|
...plan.globals, [GlobalSlot.Header]: headerMixWords(headerMixOfPlan(plan)), [GlobalSlot.Footer]: footerMixWords(footerMixOfPlan(plan)),
|
|
29140
29894
|
[OPENING_WIRE_KEY]: [...(plan.mixes?.opening ?? [])],
|
|
29895
|
+
// AW6: the award tier's wire writes the body ([] = none); every other tier's has no such key (its plan wears none).
|
|
29896
|
+
...(isAward(options) ? { [BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])] } : {}),
|
|
29141
29897
|
}),
|
|
29142
29898
|
direction: plan => ({ idea: plan.direction?.idea ?? NONE$1, cliche: plan.direction?.cliche ?? NONE$1, flip: plan.direction?.flip ?? NONE$1, rules: [...(plan.direction?.rules ?? [])] }),
|
|
29143
29899
|
shop: plan => (plan.shop?.products ?? []).map(p => ({ name: p.name, category: p.category, description: p.description, options: p.options.map(o => ({ name: o.name, values: [...o.values] })) })),
|
|
29144
29900
|
};
|
|
29145
|
-
/** One part of the plan on the wire: what that part's request would have answered. */
|
|
29146
|
-
function planPartToWire(plan, part) {
|
|
29147
|
-
return Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TO_WIRE[k](plan)]));
|
|
29901
|
+
/** One part of the plan on the wire: what that part's request (asked at `options`' tier) would have answered. */
|
|
29902
|
+
function planPartToWire(plan, part, options = {}) {
|
|
29903
|
+
return Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TO_WIRE[k](plan, options)]));
|
|
29148
29904
|
}
|
|
29149
|
-
/** The plan → the wire, by part: what a model would have written (the change prompt shows it; fakes and evals write it).
|
|
29150
|
-
|
|
29151
|
-
|
|
29905
|
+
/** The plan → the wire, by part: what a model would have written (the change prompt shows it; fakes and evals write it).
|
|
29906
|
+
* At the award tier the body travels too (AW6); below it, a plan's body is not on the wire. */
|
|
29907
|
+
function planToWire(plan, options = {}) {
|
|
29908
|
+
return Object.fromEntries(PLAN_PARTS.map(part => [part, planPartToWire(plan, part, options)]));
|
|
29152
29909
|
}
|
|
29153
29910
|
|
|
29154
29911
|
/**
|
|
@@ -31992,6 +32749,18 @@ const LAYOUT_MIX_WORDS = LIST_INGREDIENTS.flatMap(k => listIngredientWords(k).ma
|
|
|
31992
32749
|
/** The words the wire OFFERS — the built ones only (ingredients.md §3.3): a waiting word would put its stand-in on every
|
|
31993
32750
|
* site that asked for it. */
|
|
31994
32751
|
const LAYOUT_MIX_OFFERED = LIST_INGREDIENTS.flatMap(k => listBuiltWords(k).map(w => `${k}${MIX_SEPARATOR}${w}`));
|
|
32752
|
+
/** AW10: the entrance and the switch a look that never scrubs is not offered. */
|
|
32753
|
+
const LETTERS = 'letters';
|
|
32754
|
+
const SCRUB_FLAG = 'scrub';
|
|
32755
|
+
/** The entrances the wire offers under the look's scrub (AW10 H3). */
|
|
32756
|
+
function layoutEntersOffered(scrub) {
|
|
32757
|
+
return ENTER_ON_WIRE.filter(e => e !== LETTERS || scrubOffered(scrub));
|
|
32758
|
+
}
|
|
32759
|
+
/** The switches the wire offers under the look's scrub (AW10 H3). */
|
|
32760
|
+
function layoutFlagsOffered(scrub) {
|
|
32761
|
+
return V.flags.filter(f => f !== SCRUB_FLAG || scrubOffered(scrub));
|
|
32762
|
+
}
|
|
32763
|
+
const scrubOffered = (scrub) => !!scrub && scrub !== ScrubId.Never && isScrubId(scrub);
|
|
31995
32764
|
/** A handle the wire places as a whole SECTION (RD-D20): a bound part, a block or a kept section. */
|
|
31996
32765
|
const SECTION_HANDLE = /^(?:bind|block|keep):/;
|
|
31997
32766
|
/** Is `handle` one a section places whole (`bind:`/`block:`/`keep:`), never a layer's words or photo? */
|
|
@@ -32046,10 +32815,12 @@ function layoutWireJsonSchema(options = {}) {
|
|
|
32046
32815
|
rotate: integer("degrees, within the look's limit"),
|
|
32047
32816
|
to: text("button: a section id of this page or a page route ('/contact'); '' for none"),
|
|
32048
32817
|
variant: oneOf(VARIANT_ON_WIRE, 'button: primary | secondary | ghost · gallery: its effect · form: its preset · none'),
|
|
32049
|
-
enter: oneOf(
|
|
32818
|
+
enter: oneOf(layoutEntersOffered(options.scrub), scrubOffered(options.scrub)
|
|
32819
|
+
? 'plays once as it arrives (time); clipReveal opens from that side; letters: a line of words rises letter by letter (a display line)'
|
|
32820
|
+
: 'plays once as it arrives (time); clipReveal opens from that side'),
|
|
32050
32821
|
depth: oneOf([NONE, ...V.depths], 'the parallax trio (not in held sections)'),
|
|
32051
32822
|
inner: integer('0..3: how far a photo drifts inside its frame'),
|
|
32052
|
-
flags: listOf(jsonOneOf(
|
|
32823
|
+
flags: listOf(jsonOneOf(layoutFlagsOffered(options.scrub)), `switches: scrim (a shadow under words on a photo) · kinetic (lit word by word, held only) · contain · gallery: centered, freeMode, loop, drift, scroll (held only: the scroll turns it), autoplay${scrubOffered(options.scrub) ? ` · scrub (its entrance follows the scroll instead of playing once — ${options.scrub === ScrubId.Words ? 'a mask rise or letters only' : 'any entrance'}; never in the first section)` : ''}; [] for none`),
|
|
32053
32824
|
perView: { type: 'number', description: 'gallery slides per view; 0 for none' },
|
|
32054
32825
|
slots: listOf(closed({ slot: oneOf(SLOT_NAMES, 'which words'), text: text('the words, in the business\'s language') }), "form: its title, intro, submit, successTitle, successText, channel, and one entry per chip (needs · budget · guests); [] for none"),
|
|
32055
32826
|
motion: listOf(closed({
|
|
@@ -32212,6 +32983,8 @@ function expandLayer(l, beat) {
|
|
|
32212
32983
|
out.kinetic = true;
|
|
32213
32984
|
if (flags.has('contain'))
|
|
32214
32985
|
out.fit = 'contain';
|
|
32986
|
+
if (flags.has(SCRUB_FLAG))
|
|
32987
|
+
out.scrub = true;
|
|
32215
32988
|
const enter = String(l['enter'] ?? NONE);
|
|
32216
32989
|
if (enter.startsWith(CLIP_SIDE)) {
|
|
32217
32990
|
out.enter = CLIP;
|
|
@@ -32303,6 +33076,7 @@ function layerToWire(l) {
|
|
|
32303
33076
|
const flags = [
|
|
32304
33077
|
l.scrim && 'scrim', l.kinetic && 'kinetic', l.fit === 'contain' && 'contain',
|
|
32305
33078
|
g?.centered && 'centered', g?.freeMode && 'freeMode', g?.loop && 'loop', g?.drift && 'drift', g?.scroll && 'scroll', g?.autoplay ? 'autoplay' : null,
|
|
33079
|
+
l.scrub && SCRUB_FLAG,
|
|
32306
33080
|
].filter((x) => !!x);
|
|
32307
33081
|
const slots = f
|
|
32308
33082
|
? [
|
|
@@ -32891,11 +33665,23 @@ function openingOf(s) {
|
|
|
32891
33665
|
return lead.kind;
|
|
32892
33666
|
return lead.size ? `${lead.size}-${lead.kind}` : lead.kind;
|
|
32893
33667
|
}
|
|
33668
|
+
const SCRUB_TOKEN = 'scrub';
|
|
33669
|
+
/** What of AW10 a page wears (`LayoutFingerprint.scrub`): letters rising, entrances following the scroll, both — or
|
|
33670
|
+
* null for neither. */
|
|
33671
|
+
function scrubTokenOf(page) {
|
|
33672
|
+
const layers = (page.sections ?? []).flatMap(s => s.layers ?? []);
|
|
33673
|
+
const parts = [
|
|
33674
|
+
layers.some(l => l.enter === LayoutEnter.Letters) && LayoutEnter.Letters,
|
|
33675
|
+
layers.some(l => l.scrub) && SCRUB_TOKEN,
|
|
33676
|
+
].filter((x) => !!x);
|
|
33677
|
+
return parts.length ? parts.join('+') : null;
|
|
33678
|
+
}
|
|
32894
33679
|
/** A page's fingerprint, worn in `preset` and `mode`, under the site's `header` and `footer` when they are known. A photo ground opens on
|
|
32895
33680
|
* the page's own ground colour. */
|
|
32896
33681
|
function fingerprintOf(page, preset, mode, header, footer) {
|
|
32897
33682
|
const sections = page.sections ?? [];
|
|
32898
33683
|
const lists = listTokensOf(page);
|
|
33684
|
+
const scrub = scrubTokenOf(page);
|
|
32899
33685
|
const first = sections[0];
|
|
32900
33686
|
const ground = String(first?.ground ?? LayoutColour.Ground);
|
|
32901
33687
|
const name = Object.values(LayoutColour).includes(ground) ? ground : LayoutColour.Ground;
|
|
@@ -32910,6 +33696,7 @@ function fingerprintOf(page, preset, mode, header, footer) {
|
|
|
32910
33696
|
...(lists.length ? { lists } : {}),
|
|
32911
33697
|
...(header ? { header: headerTokenOf(header) } : {}),
|
|
32912
33698
|
...(footer ? { footer: footerTokenOf(footer) } : {}),
|
|
33699
|
+
...(scrub ? { scrub } : {}),
|
|
32913
33700
|
};
|
|
32914
33701
|
}
|
|
32915
33702
|
/** A composed page's fingerprint under its site plan's header and footer — the ONE call every reader of a plan makes. */
|
|
@@ -33974,5 +34761,5 @@ function siteGlobalsOf(globals) {
|
|
|
33974
34761
|
* Generated bundle index. Do not edit.
|
|
33975
34762
|
*/
|
|
33976
34763
|
|
|
33977
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
34764
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
33978
34765
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|