@vectoriox/iox-ui 5.136.0 → 5.138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/assist-core/index.d.ts +22 -4
  2. package/composite-core/index.d.ts +10 -2
  3. package/design-core/index.d.ts +257 -21
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +12 -2
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -5
  7. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +18 -2
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-design-core.mjs +431 -61
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +999 -259
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +5 -4
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +197 -28
  17. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  18. package/fesm2022/vectoriox-iox-ui.mjs +538 -11
  19. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  20. package/generation-core/index.d.ts +1118 -732
  21. package/harness-core/index.d.ts +2 -2
  22. package/index.d.ts +150 -4
  23. package/package.json +1 -1
  24. package/scene-core/index.d.ts +69 -13
  25. package/src/actions-core/element-actions.ts +14 -4
  26. package/src/assist-core/assist-turn.ts +3 -1
  27. package/src/assist-core/route-schema.ts +20 -5
  28. package/src/assist-core/surfaces.ts +12 -0
  29. package/src/composite-core/header.ts +18 -1
  30. package/src/design-core/design-settings.ts +14 -3
  31. package/src/design-core/design-token.model.ts +3 -0
  32. package/src/design-core/flavor-spec.generated.ts +64 -25
  33. package/src/design-core/graphemes.ts +16 -0
  34. package/src/design-core/header-behaviour.ts +20 -2
  35. package/src/design-core/motion-language.ts +11 -7
  36. package/src/design-core/node-classes.ts +10 -4
  37. package/src/design-core/preloader-of.ts +26 -0
  38. package/src/design-core/preloader.ts +49 -5
  39. package/src/design-core/public-api.ts +4 -0
  40. package/src/design-core/scrub.ts +37 -0
  41. package/src/design-core/section-edge.ts +223 -0
  42. package/src/design-core/style-presets.ts +2 -0
  43. package/src/generation-core/body-mix.ts +443 -0
  44. package/src/generation-core/check-layout.ts +42 -4
  45. package/src/generation-core/compose-layout.ts +28 -6
  46. package/src/generation-core/compose-site.ts +26 -8
  47. package/src/generation-core/header-mix.ts +4 -0
  48. package/src/generation-core/layout-fingerprint.ts +19 -1
  49. package/src/generation-core/layout-language.ts +21 -1
  50. package/src/generation-core/layout-wire.ts +27 -2
  51. package/src/generation-core/node-baselines.generated.ts +7 -2
  52. package/src/generation-core/opening-mix.ts +32 -0
  53. package/src/generation-core/plan-wire.ts +1 -0
  54. package/src/generation-core/public-api.ts +2 -0
  55. package/src/generation-core/redesign-run.ts +69 -2
  56. package/src/generation-core/site-build-run.ts +29 -7
  57. package/src/generation-core/site-plan.model.ts +2 -0
  58. package/src/generation-core/site-spec.generated.ts +120 -86
  59. package/src/generation-core/text-scroll.ts +179 -0
  60. package/src/generation-core/validate-site-plan.ts +4 -2
  61. package/src/harness-core/starting-design.ts +6 -5
  62. package/src/scene-core/scroll-range.ts +4 -0
  63. package/src/scene-core/split-text.ts +216 -28
  64. 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, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, toHexColor, relativeLuminance, resolveTokenValues, designTokenRows, parseCssColour, parseHexColor, rgbToOklab, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, setColorScheme, ColorScheme, COLOR_SCHEMES, motionLanguageForPlan, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, ANIMATE_IDS, auditDesignContrast, compositeOver, wcagContrastRatio, HeaderBehaviour, headerBehaviourOf, headerEdgeOf } from '@vectoriox/iox-ui/design-core';
2
- 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, buildConsentRecipe, ConsentActionType } from '@vectoriox/iox-ui/composite-core';
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 and the home page's opening as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern"
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 ink follows the page's opening ground",
7947
+ "ink.follows": "the header's ink follows 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
- "waits": {
9108
- "seam.wave": {
9109
- "phase": "AW6",
9110
- "drawnAs": "straight"
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
- "seam.drip": {
9113
- "phase": "AW6",
9114
- "drawnAs": "straight"
9150
+ "wave": {
9151
+ "depth": [
9152
+ 48,
9153
+ 24
9154
+ ],
9155
+ "mirrors": false
9115
9156
  },
9116
- "seam.torn": {
9117
- "phase": "AW6",
9118
- "drawnAs": "straight"
9157
+ "drip": {
9158
+ "depth": [
9159
+ 64,
9160
+ 32
9161
+ ],
9162
+ "mirrors": true
9119
9163
  },
9120
- "seam.rounded": {
9121
- "phase": "AW6",
9122
- "drawnAs": "straight"
9164
+ "torn": {
9165
+ "depth": [
9166
+ 20,
9167
+ 14
9168
+ ],
9169
+ "mirrors": true
9123
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
+ ]
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": "AW10",
10025
+ "phase": "AW13",
9949
10026
  "drawnAs": "none"
9950
10027
  },
9951
10028
  "gradient.accent": {
@@ -10198,42 +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
- "preloader.mark": {
10202
- "phase": "AW5",
10203
- "drawnAs": "none"
10204
- },
10205
- "preloader.counter": {
10206
- "phase": "AW5",
10207
- "drawnAs": "none"
10208
- },
10209
- "preloader.letters": {
10210
- "phase": "AW5",
10211
- "drawnAs": "none"
10212
- },
10213
- "preloaderExit.fade": {
10214
- "phase": "AW5",
10215
- "drawnAs": "none"
10216
- },
10217
- "preloaderExit.sweep": {
10218
- "phase": "AW5",
10219
- "drawnAs": "none"
10220
- },
10221
- "preloaderExit.window": {
10222
- "phase": "AW5",
10223
- "drawnAs": "none"
10224
- },
10225
- "preloaderExit.lift": {
10226
- "phase": "AW5",
10227
- "drawnAs": "none"
10228
- },
10229
- "scrub.words": {
10230
- "phase": "AW10",
10231
- "drawnAs": "never"
10232
- },
10233
- "scrub.entrances": {
10234
- "phase": "AW10",
10235
- "drawnAs": "never"
10236
- },
10237
10278
  "loops.drift": {
10238
10279
  "phase": "AW8",
10239
10280
  "drawnAs": "none"
@@ -10322,6 +10363,10 @@ const SPEC_SITE_LAYOUT = {
10322
10363
  "lively",
10323
10364
  "expressive"
10324
10365
  ],
10366
+ "scrubLevels": [
10367
+ "lively",
10368
+ "expressive"
10369
+ ],
10325
10370
  "leaveFor": {
10326
10371
  "enter": "exit",
10327
10372
  "expo-out": "expo-out",
@@ -10341,7 +10386,8 @@ const SPEC_SITE_LAYOUT = {
10341
10386
  "arrive": "enter",
10342
10387
  "move": "fade",
10343
10388
  "cover": "fade",
10344
- "preloader": "none"
10389
+ "preloader": "none",
10390
+ "scrub": "never"
10345
10391
  },
10346
10392
  "coverMaxMs": {
10347
10393
  "cover": 400,
@@ -10384,6 +10430,7 @@ const SPEC_SITE_LAYOUT = {
10384
10430
  "rules.preloaderCapMs": "all",
10385
10431
  "rules.preloaderLevels": "all",
10386
10432
  "rules.popLevels": "all",
10433
+ "rules.scrubLevels": "all",
10387
10434
  "rules.leaveFor": "all",
10388
10435
  "rules.quietLevels": "all",
10389
10436
  "rules.quiet": "all",
@@ -10946,15 +10993,17 @@ const SPEC_SITE_LAYOUT = {
10946
10993
  "revealBy": {
10947
10994
  "built": [
10948
10995
  "line",
10949
- "word"
10996
+ "word",
10997
+ "letter"
10950
10998
  ],
10951
- "where": "scene-core TextRevealBy"
10999
+ "where": "scene-core TextRevealBy (letter since AW10)"
10952
11000
  },
10953
11001
  "enterMode": {
10954
11002
  "built": [
10955
- "once"
11003
+ "once",
11004
+ "scrubbed"
10956
11005
  ],
10957
- "where": "every entrance plays once (viewportEnter, once)"
11006
+ "where": "an entrance plays once (viewportEnter, once), or by the scroll (AW10: scrollProgress, until 0.5)"
10958
11007
  },
10959
11008
  "phoneWalk": {
10960
11009
  "built": [],
@@ -10992,20 +11041,6 @@ const SPEC_SITE_LAYOUT = {
10992
11041
  "tier": "pro",
10993
11042
  "meaning": "a word sits on the bottom edge, cropped by it"
10994
11043
  },
10995
- {
10996
- "key": "revealBy.letter",
10997
- "phase": "AW10",
10998
- "drawnAs": "word",
10999
- "tier": "pro",
11000
- "meaning": "words assemble or light letter by letter (split in the browser only, put back after)"
11001
- },
11002
- {
11003
- "key": "enterMode.scrubbed",
11004
- "phase": "AW10",
11005
- "drawnAs": "once",
11006
- "tier": "pro",
11007
- "meaning": "an entrance follows the scroll instead of playing once"
11008
- },
11009
11044
  {
11010
11045
  "key": "phoneWalk.zigzag",
11011
11046
  "phase": "AW9",
@@ -11804,10 +11839,13 @@ const NODE_BASELINES = {
11804
11839
  "headerBehaviour",
11805
11840
  "headerEdge",
11806
11841
  "headerMix",
11842
+ "headerInk",
11807
11843
  "marqueeSpeed",
11808
11844
  "marqueeDirection",
11809
11845
  "marqueeFade",
11810
- "marqueePauseOnHover"
11846
+ "marqueePauseOnHover",
11847
+ "seam",
11848
+ "sectionShape"
11811
11849
  ],
11812
11850
  "styleTraits": [
11813
11851
  "position",
@@ -12990,7 +13028,9 @@ const NODE_BASELINES = {
12990
13028
  },
12991
13029
  "traits": [
12992
13030
  "colorScheme",
12993
- "openingMix"
13031
+ "openingMix",
13032
+ "seam",
13033
+ "sectionShape"
12994
13034
  ],
12995
13035
  "styleTraits": [
12996
13036
  "position",
@@ -17638,6 +17678,9 @@ var LayoutEnter;
17638
17678
  LayoutEnter["MaskRise"] = "maskRise";
17639
17679
  LayoutEnter["BlurIn"] = "blurIn";
17640
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";
17641
17684
  })(LayoutEnter || (LayoutEnter = {}));
17642
17685
  var LayoutDepth;
17643
17686
  (function (LayoutDepth) {
@@ -17874,8 +17917,12 @@ var LayoutMendKind;
17874
17917
  LayoutMendKind["Accent"] = "accent";
17875
17918
  /** Words too faint on their ground, where the ink holds there: they go back to the ink. */
17876
17919
  LayoutMendKind["Ink"] = "ink";
17877
- /** 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. */
17878
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";
17879
17926
  /** Fewer layers glide than the look asks (iox-ui#63): the layers that may glide and do not get a depth, most important
17880
17927
  * first — exactly as many as are missing. */
17881
17928
  LayoutMendKind["Depth"] = "depth";
@@ -17908,6 +17955,14 @@ var LayoutMendKind;
17908
17955
  * left): the action is dropped from the carry and the drop is said (`mendCarry`), never refused. */
17909
17956
  LayoutMendKind["Link"] = "link";
17910
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 = {}));
17911
17966
  /** Which rule chose a mended gallery's list. */
17912
17967
  var LayoutSourceChoice;
17913
17968
  (function (LayoutSourceChoice) {
@@ -18637,7 +18692,7 @@ function writtenTexts(plan) {
18637
18692
  });
18638
18693
  return out;
18639
18694
  }
18640
- const HEBREW$4 = /[֐-׿]/;
18695
+ const HEBREW$5 = /[֐-׿]/;
18641
18696
  /** Hebrew joins up to two one-letter words (and, the, in, to, from, that, as) to the next: "והטוב" holds "טוב". The
18642
18697
  * ONE rule — the intake's keyword match (harness-core) uses it too. */
18643
18698
  const HEBREW_PREFIXES = '[והבלמשכ]{0,2}';
@@ -18646,7 +18701,7 @@ const normalise = (s) => s.normalize('NFKC').toLowerCase();
18646
18701
  /** A word (or phrase) as a whole-word pattern; Hebrew allows its one-letter prefixes. */
18647
18702
  function wordPattern(word) {
18648
18703
  const w = escape(normalise(word.trim())).replace(/\s+/g, '\\s+');
18649
- const prefix = HEBREW$4.test(word) ? HEBREW_PREFIXES : '';
18704
+ const prefix = HEBREW$5.test(word) ? HEBREW_PREFIXES : '';
18650
18705
  return new RegExp(`(?<![\\p{L}\\p{N}])${prefix}${w}(?![\\p{L}\\p{N}])`, 'u');
18651
18706
  }
18652
18707
  const PRICE_SHAPE = { kind: 'price', pattern: /(?:[$€£₪]\s?\d[\d,.]*|\d[\d,.]*\s?(?:[$€£₪]|ש"ח|NIS|USD|EUR|GBP))/gu, key: (m) => m.replace(/[^\d]/g, '') };
@@ -18866,146 +18921,6 @@ function shopListAliases(plan) {
18866
18921
  return [aliases[ShopSourceRole.List], aliases[ShopSourceRole.Latest]].filter(isNonEmptyString);
18867
18922
  }
18868
18923
 
18869
- /** The scroll is replayed in steps this long (px). */
18870
- const STEP_PX = 4;
18871
- /** The depth a layer glides at in a section, as the composer stamps it — or null (mid, a held section, what a visitor
18872
- * operates). ONE rule: `composeLayout` stamps by it, the render check and the depth mend replay by it. */
18873
- function layoutGlideDepth(section, layer) {
18874
- if (section.pin || !layer.depth || layer.depth === LayoutDepth.Mid || LAYOUT_OPERATED.has(layer.kind))
18875
- return null;
18876
- return layer.depth === LayoutDepth.Front ? ParallaxDepth.Front : ParallaxDepth.Back;
18877
- }
18878
- /** How far a layer at `depth` stands off its place with the page scrolled `scroll` px, on a screen `viewHeight` tall. */
18879
- function driftAt(layer, scroll, viewHeight, phone = false) {
18880
- if (!layer.depth)
18881
- return 0;
18882
- const view = { top: 0, height: viewHeight };
18883
- const height = layer.box.b - layer.box.t;
18884
- const shift = parallaxShift(rangeDistance(ScrollRange.Cover, { top: layer.box.t, height }, view), viewHeight, { phone, onPhone: normalizeParallaxPhone(LAYOUT_DEPTH_ON_PHONE) });
18885
- if (!shift)
18886
- return 0;
18887
- const rest = parallaxRest(rangeProgress(ScrollRange.Cover, { top: layer.box.t, height }, view));
18888
- const progress = rangeProgress(ScrollRange.Cover, { top: layer.box.t - scroll, height }, view);
18889
- return parallaxOffset(layer.depth, shift, progress, rest);
18890
- }
18891
- 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) });
18892
- const areaOf = (r) => Math.max(0, r.r - r.l) * Math.max(0, r.b - r.t);
18893
- const moved = (r, dy) => ({ l: r.l, r: r.r, t: r.t + dy, b: r.b + dy });
18894
- /**
18895
- * Where two layers overlap most on screen while the page scrolls past them, at least one gliding — inside `clip` (their
18896
- * section, which clips a glide) — or null when they never meet more than they already do at rest. `pageHeight` bounds the
18897
- * scroll. Pure: the same answer in the browser and the server.
18898
- */
18899
- function driftOverlap(a, b, view, clip) {
18900
- if (!a.depth && !b.depth)
18901
- return null;
18902
- const rest = areaOf(clip ? meet$1(meet$1(a.box, b.box), clip) : meet$1(a.box, b.box));
18903
- const from = Math.max(0, Math.min(a.box.t, b.box.t) - view.height);
18904
- const to = Math.min(Math.max(0, view.pageHeight - view.height), Math.max(a.box.b, b.box.b));
18905
- let best = null;
18906
- for (let scroll = from; scroll <= to; scroll += STEP_PX) {
18907
- const screen = { l: 0, r: view.width, t: scroll, b: scroll + view.height };
18908
- const ra = moved(a.box, driftAt(a, scroll, view.height, view.phone));
18909
- const rb = moved(b.box, driftAt(b, scroll, view.height, view.phone));
18910
- let overlap = meet$1(meet$1(ra, rb), screen);
18911
- if (clip)
18912
- overlap = meet$1(overlap, clip);
18913
- const area = areaOf(overlap);
18914
- if (area > rest && (!best || area > best.area))
18915
- best = { scroll, overlap: moved(overlap, -scroll), area };
18916
- }
18917
- return best;
18918
- }
18919
-
18920
- const LOOKS = SPEC_SITE_LAYOUT.looks;
18921
- const PRESET_LOOK = SPEC_SITE_LAYOUT.presetLook;
18922
- const DARING_LEVELS = SPEC_SITE_LAYOUT.daringLevels;
18923
- /** How far two brand colours are apart (RGB) — the last word between two presets that differ by their colour alone. */
18924
- function seedDistance(a, b) {
18925
- const rgb = (hex) => [1, 3, 5].map(i => parseInt(hex.slice(i, i + 2), 16) || 0);
18926
- const [x, y] = [rgb(a), rgb(b)];
18927
- return x.reduce((sum, v, i) => sum + (v - y[i]) ** 2, 0);
18928
- }
18929
- /**
18930
- * The style preset a design wears (M8 gate 2): the preset it IS, else the closest of its flavor — same font pairing,
18931
- * then the most of shape · density · pill buttons · tint · mode in common, then the nearer brand colour (six pairings
18932
- * carry two presets each: Quiet luxury and Soft spa are both Linen + Cormorant; Morning glass and Coral studio differ by
18933
- * their colour alone) — so an owner whose brand became a reference colour still wears THEIR preset's composition notes.
18934
- * Never null: a design with no preset of its flavor reads the first preset's.
18935
- */
18936
- function layoutPresetOf(choices) {
18937
- const exact = stylePresetOfChoices(choices);
18938
- if (exact)
18939
- return exact;
18940
- const c = resolveDesignChoices(choices);
18941
- const kept = (p) => [p.shape === c.shape, p.density === c.density, p.pillButtons === c.pillButtons, p.tint === c.tint,
18942
- presetModes(p).includes(c.mode)].filter(Boolean).length;
18943
- const nearer = (a, b) => kept(a) - kept(b) || seedDistance(b.seed, c.seed) - seedDistance(a.seed, c.seed);
18944
- const paired = STYLE_PRESETS.filter(p => p.flavorId === c.flavorId && p.pairId === c.pairId);
18945
- if (paired.length)
18946
- return paired.reduce((best, p) => (nearer(p, best) > 0 ? p : best));
18947
- return STYLE_PRESETS.find(p => p.flavorId === c.flavorId) ?? STYLE_PRESETS[0];
18948
- }
18949
- /** A preset's look (the round-three composition notes it carries). */
18950
- function layoutLookOf(presetId) {
18951
- return LOOKS.find(l => l.id === PRESET_LOOK[presetId]) ?? LOOKS[0];
18952
- }
18953
- /** The pace and ease a composed page moves with: its look's. */
18954
- function layoutMotionOf(presetId) {
18955
- const look = layoutLookOf(presetId);
18956
- return { pace: look.pace, ease: look.ease };
18957
- }
18958
- /**
18959
- * How far a composed page dares (M8-G2-D5): daring when the look moves Lively or Expressive and the business type's
18960
- * ceiling allows it (a trust or care type never dares), else distinct. `ceiling` is harness-core's for the type.
18961
- */
18962
- function layoutDialOf(animate, ceiling) {
18963
- const daring = !!animate && DARING_LEVELS.includes(animate) && (!ceiling || DARING_LEVELS.includes(ceiling));
18964
- return daring ? LayoutDial.Daring : LayoutDial.Distinct;
18965
- }
18966
-
18967
- /** The design a page wears when only its look's preset is known: the preset in `mode` (else its own), else the default. */
18968
- function layoutDesignOf(presetId, mode) {
18969
- const id = String(presetId ?? '');
18970
- return presetChoices(id, (mode ?? undefined)) ?? presetChoices(id) ?? resolveDesignChoices(null);
18971
- }
18972
- /** The element style a layer wears, by kind, role and size (the round-four renderer's `elementStyleOf`). */
18973
- function layoutElementStyle(l) {
18974
- switch (l.kind) {
18975
- case LayoutLayerKind.Word: return 'display';
18976
- case LayoutLayerKind.Heading: return l.role === LayoutRole.Lead ? 'h1' : 'h2';
18977
- case LayoutLayerKind.Text: return l.size === 'm' || l.size === 'l' ? 'lead' : 'body';
18978
- case LayoutLayerKind.List: return 'body';
18979
- case LayoutLayerKind.Label: return !l.size || l.size === 'xs' || l.size === 's' ? 'eyebrow' : 'small';
18980
- default: return NO_ELEMENT_STYLE;
18981
- }
18982
- }
18983
- /** How wide a layer's words stand at 1em on one line, in the face its element style wears in `design` (iox-ui#46). */
18984
- function layoutTextWidthEm(l, design) {
18985
- return textWidthEm(l.text ?? '', elementStyleFace(design, layoutElementStyle(l)));
18986
- }
18987
- /** The columns a `screen` word fills: its span, and half a column more for each side it bleeds off. */
18988
- function screenWordColumns(l) {
18989
- const bleed = l.bleed && l.bleed !== LayoutBleed.None ? (l.bleed === LayoutBleed.Both ? 1 : 0.5) : 0;
18990
- return l.col[1] - l.col[0] + bleed;
18991
- }
18992
- /** The screens a composed page is judged at (the render check's): a laptop and a phone. */
18993
- const SCREENS = [{ width: 1440, phone: false }, { width: 390, phone: true }];
18994
- /** Where a `screen` word cannot fit even at its smallest size: the screen and by how many px — null when it fits both. */
18995
- function screenWordMisfit(l, design) {
18996
- if (l.size !== LayoutSize.Screen || !l.text)
18997
- return null;
18998
- const em = layoutTextWidthEm(l, design);
18999
- for (const s of SCREENS) {
19000
- if (s.phone ? false : !!l.bleed && l.bleed !== LayoutBleed.None)
19001
- continue;
19002
- const px = screenWordOverflowPx(em, s.phone ? 12 : screenWordColumns(l), s.width, s.phone);
19003
- if (px > 0)
19004
- return { ...s, px };
19005
- }
19006
- return null;
19007
- }
19008
-
19009
18924
  /**
19010
18925
  * How animated (AI plan rev 3.1 §3p) — the ONE reading of the contract's `axes.animations` (what each level
19011
18926
  * moves, how) and `axes.animationFamilies` (which parts a section family lets move). The pieces every stamper
@@ -19152,6 +19067,285 @@ function planEntrances(input) {
19152
19067
  });
19153
19068
  }
19154
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
+
19155
19349
  /**
19156
19350
  * THE PHOTO INVENTORY (premium components M8 gate 2, §5; the prototype's `code/inventory.cjs`, made pure): what a layout
19157
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
@@ -19367,7 +19561,7 @@ function describeInventoryForPrompt(id, inv, label) {
19367
19561
  const LIST_TABLE = SPEC_SITE_LAYOUT.list;
19368
19562
  /** The ingredients, in the table's order. */
19369
19563
  const LIST_INGREDIENTS = Object.keys(LIST_TABLE.ingredients);
19370
- const WAITS$3 = LIST_TABLE.waits;
19564
+ const WAITS$4 = LIST_TABLE.waits;
19371
19565
  const MEANINGS$2 = LIST_TABLE.meanings;
19372
19566
  /** Every word of an ingredient. */
19373
19567
  function listIngredientWords(k) {
@@ -19375,7 +19569,7 @@ function listIngredientWords(k) {
19375
19569
  }
19376
19570
  /** The wait of a word, or null when the product draws it. */
19377
19571
  function listWait(k, word) {
19378
- return WAITS$3[`${k}.${word}`] ?? null;
19572
+ return WAITS$4[`${k}.${word}`] ?? null;
19379
19573
  }
19380
19574
  /** The words of an ingredient the product draws — the only ones the wire offers (ingredients.md §3.3). */
19381
19575
  function listBuiltWords(k) {
@@ -19590,6 +19784,388 @@ function pageListIssues(page) {
19590
19784
  return issues;
19591
19785
  }
19592
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
+
19593
20169
  /**
19594
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
19595
20171
  * about stillness and emptiness — a held section where nothing moves, a shape that is there for nothing, a stretch of the
@@ -19924,6 +20500,8 @@ const overlaps = (a, b) => {
19924
20500
  const trackOf = (s) => s.track ?? 1;
19925
20501
  const groundPhotoOf = (s) => (String(s.ground ?? '').startsWith(PHOTO_GROUND) ? String(s.ground).slice(PHOTO_GROUND.length) : null);
19926
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;
19927
20505
  const isPictured = (l) => l.kind === LayoutLayerKind.Photo || l.kind === LayoutLayerKind.Gallery;
19928
20506
  const contrastOf = (a, b) => (Math.max(a, b) + 0.05) / (Math.min(a, b) + 0.05);
19929
20507
  const boxPx = layoutBoxPx;
@@ -20038,6 +20616,8 @@ function examineLayout(page, ctx, carried, given) {
20038
20616
  const look = L$1.presetLook[ctx.presetId] ? layoutLookOf(ctx.presetId) : null;
20039
20617
  const paint = presetPaint(ctx.presetId, ctx.mode);
20040
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);
20041
20621
  if (!look)
20042
20622
  add(LayoutIssueCode.Value, 'look', `"${ctx.presetId}" is not a style preset`);
20043
20623
  if (!paint)
@@ -20260,11 +20840,25 @@ function examineLayout(page, ctx, carried, given) {
20260
20840
  if (LAYOUT_OPERATED.has(l.kind) && deep)
20261
20841
  add(LayoutIssueCode.Motion, `${lp}.depth`, 'what a visitor operates never moves for style — give it no depth (mid)');
20262
20842
  // the entrance
20843
+ const letters = l.enter === LayoutEnter.Letters;
20263
20844
  if (l.enter !== undefined && !inList(V$1.enters, l.enter))
20264
20845
  add(LayoutIssueCode.Value, `${lp}.enter`, V$1.enters.join(' | '));
20265
- 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)) {
20266
20847
  add(LayoutIssueCode.Look, `${lp}.enter`, `the ${look.id} look enters with ${['fade', ...look.enters].join(' | ')}`);
20267
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
+ }
20268
20862
  if (l.enter === LayoutEnter.ClipReveal && l.from && !inList(V$1.sides, l.from))
20269
20863
  add(LayoutIssueCode.Value, `${lp}.from`, V$1.sides.join(' | '));
20270
20864
  if (l.enter === LayoutEnter.Pop && isText(l) && wordsOf$3(l.text) > POP_WORDS)
@@ -20604,6 +21198,12 @@ function examineLayout(page, ctx, carried, given) {
20604
21198
  add(LayoutIssueCode.Look, 'sections', `${lightGrounds} sections on a light ground — the ${look.id} look allows ${limits.lightGroundsMax}`);
20605
21199
  }
20606
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
+ }
20607
21207
  const unshown = shownListIssue(page, ctx);
20608
21208
  if (unshown)
20609
21209
  issues.push(unshown);
@@ -20890,7 +21490,14 @@ function mendLayout(page, issues) {
20890
21490
  };
20891
21491
  for (const issue of issues) {
20892
21492
  const mend = issue.mend;
20893
- if (mend?.kind === LayoutMendKind.Scrim || mend?.kind === LayoutMendKind.Ink || mend?.kind === LayoutMendKind.Fade) {
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) {
20894
21501
  const layer = layerAt(mend.layer);
20895
21502
  if (!layer)
20896
21503
  continue;
@@ -22257,6 +22864,8 @@ var HeaderIngredient;
22257
22864
  HeaderIngredient["Above"] = "above";
22258
22865
  /** HB-D1 (HI3 / HI6): what more sits in the bar. */
22259
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";
22260
22869
  })(HeaderIngredient || (HeaderIngredient = {}));
22261
22870
  var HeaderArrange;
22262
22871
  (function (HeaderArrange) {
@@ -22882,6 +23491,38 @@ function openingMixValue(mix) {
22882
23491
  function stampOpeningMix(root, mix) {
22883
23492
  root.props = { ...root.props, [OPENING_MIX_PROP]: openingMixValue(mix) };
22884
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
+ }
22885
23526
  /** The mix an opening root stores, or null — none stored, or words the table no longer knows. */
22886
23527
  function storedOpeningMix(root) {
22887
23528
  const value = root?.props?.[OPENING_MIX_PROP];
@@ -23496,6 +24137,7 @@ function validateDesign(c, design) {
23496
24137
  word('feel', ARRIVE_IDS);
23497
24138
  word('headings', MOVE_IDS);
23498
24139
  word('preloader', PRELOADER_IDS);
24140
+ word('scrub', SCRUB_IDS);
23499
24141
  if (design['mode'] !== undefined && !SPEC_AXES.modes.includes(design['mode']))
23500
24142
  bad('mode', `must be one of ${SPEC_AXES.modes.join(', ')}`);
23501
24143
  if (design['pillButtons'] !== undefined && typeof design['pillButtons'] !== 'boolean')
@@ -24096,7 +24738,7 @@ function validateGlobals(c, globals) {
24096
24738
  }
24097
24739
  }
24098
24740
  /** The parts a plan may carry as a mix, and how each reads its words (only the footer until header ingredients HI1). */
24099
- const MIX_READERS = { header: headerMixFromWords, footer: footerMixFromWords, opening: openingMixFromWords };
24741
+ const MIX_READERS = { header: headerMixFromWords, footer: footerMixFromWords, opening: openingMixFromWords, body: bodyMixFromWords };
24100
24742
  /** `mixes`: each part's words parse in its table (list ingredients LI5); absent is fine. */
24101
24743
  function validateMixes(c, mixes) {
24102
24744
  if (mixes === undefined)
@@ -24519,6 +25161,9 @@ var LayoutGapCode;
24519
25161
  LayoutGapCode["ListUnlinked"] = "list-unlinked";
24520
25162
  /** A list section naming a list the composer was not told how to read (no `listOf`): today's gallery instead. */
24521
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";
24522
25167
  })(LayoutGapCode || (LayoutGapCode = {}));
24523
25168
  var LayoutColourMode;
24524
25169
  (function (LayoutColourMode) {
@@ -24772,11 +25417,28 @@ const ENTER_TYPE = {
24772
25417
  [LayoutEnter.Pop]: 'scaleIn',
24773
25418
  [LayoutEnter.ClipReveal]: 'clipReveal',
24774
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',
24775
25422
  // AW3: the keyframe map draws blurIn (a small blur into focus) — it no longer rises without its blur.
24776
25423
  [LayoutEnter.BlurIn]: 'blurIn',
24777
25424
  };
24778
- /** A time entrance: the round-four renderer's `playEnter` as a `viewportEnter` interaction on the node. */
24779
- function enterInteraction(nodeId, l, ctx, path, textual, scale = 1) {
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) {
24780
25442
  const enter = l.enter ?? LayoutEnter.None;
24781
25443
  if (enter === LayoutEnter.None)
24782
25444
  return null;
@@ -24793,9 +25455,9 @@ function enterInteraction(nodeId, l, ctx, path, textual, scale = 1) {
24793
25455
  gap(ctx, LayoutGapCode.ScaleIn, path, `${recipe} starts at 0.8`);
24794
25456
  if (recipe === LayoutEnter.ClipReveal)
24795
25457
  params['from'] = l.from ?? LayoutSide.Bottom;
24796
- if (recipe === LayoutEnter.MaskRise) {
25458
+ if (recipe === LayoutEnter.MaskRise || recipe === LayoutEnter.Letters) {
24797
25459
  if (textual)
24798
- params['by'] = 'word';
25460
+ params['by'] = recipe === LayoutEnter.Letters ? TextRevealBy.Letter : TextRevealBy.Word;
24799
25461
  else {
24800
25462
  type = 'moveUp';
24801
25463
  params['distance'] = rise;
@@ -25529,7 +26191,7 @@ function composeLayer(l, lc, ctx) {
25529
26191
  // A list's items arrive on their own (its mix's `arrive`): the frame never enters on top of them.
25530
26192
  const itemsArrive = l.kind === LayoutLayerKind.Gallery && !!listOfLayer(l, ctx);
25531
26193
  if (!(lc.held && l.kinetic && textual) && !itemsArrive) {
25532
- 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);
25533
26195
  if (enter)
25534
26196
  entering.interactions = [...entering.interactions, enter];
25535
26197
  if (image && l.enter === LayoutEnter.ClipReveal && l.role !== LayoutRole.Decoration)
@@ -25937,6 +26599,9 @@ var ComposeIssueCode;
25937
26599
  /** AW8: the opening's mix asked for what the site cannot carry (`checkOpening`), or for a word the product does not
25938
26600
  * draw yet (drawn as its stand-in): the detail says how. */
25939
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";
25940
26605
  })(ComposeIssueCode || (ComposeIssueCode = {}));
25941
26606
  /** The issues that are a dangling link (a route the plan has no page for) and what was done about it. */
25942
26607
  const DANGLING_LINK_CODES = new Set([
@@ -27159,7 +27824,7 @@ function stampEntrances(root, family, entrances, motion) {
27159
27824
  seen.set(key, index + 1);
27160
27825
  return { ...e, index };
27161
27826
  });
27162
- 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 });
27163
27828
  for (const { nodeId, interaction } of stamps) {
27164
27829
  const node = nodes.get(nodeId);
27165
27830
  if (node)
@@ -27360,6 +28025,12 @@ function composeSite(plan, context) {
27360
28025
  const design = motionLanguageForPlan(resolveDesignChoices(clone$2(plan.design)), context?.tier === GenerationTier.Award);
27361
28026
  const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
27362
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 }) : 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;
27363
28034
  const pages = plan.pages.map(page => {
27364
28035
  const nextAlias = page.routeSource ? nextSourceOf(relatives, page.routeSource) : null;
27365
28036
  if (page.layout) {
@@ -27373,12 +28044,12 @@ function composeSite(plan, context) {
27373
28044
  return {
27374
28045
  key: page.key, name: page.name, route: { path: page.route }, isHome: page.isHome === true, status: STATUS_DRAFT, locale,
27375
28046
  pageSettings: { designSystem: true, layoutSource: { pageKey: page.key }, ...(opening ? { opening } : {}) }, seo: composePageSeo(page, plan),
27376
- layout: worn,
28047
+ layout: wearBodyMix(worn, body),
27377
28048
  };
27378
28049
  }
27379
28050
  const layout = wearPlanOpening(page, page.sections.map((section, i) => {
27380
28051
  const pattern = patternById(section.pattern);
27381
- 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 };
27382
28053
  return stampSection(composePattern(pattern, `${page.key}-${i}`, { ...base, owner: page.key, page, section, nextAlias }, motion), { pattern: section.pattern });
27383
28054
  }), plan, context, design, placeholders, issues, false);
27384
28055
  const opening = schemeOfFirst(layout);
@@ -27391,7 +28062,7 @@ function composeSite(plan, context) {
27391
28062
  locale,
27392
28063
  pageSettings: { designSystem: true, ...(opening ? { opening } : {}) },
27393
28064
  seo: composePageSeo(page, plan),
27394
- layout,
28065
+ layout: wearBodyMix(layout, body),
27395
28066
  };
27396
28067
  });
27397
28068
  // LI5: the footer is the plan's footer MIX (a stored pattern id is read as one), checked and arranged from the
@@ -27432,6 +28103,9 @@ function composeSite(plan, context) {
27432
28103
  const headerRoot = globals.find(g => g.id === GlobalSlot.Header);
27433
28104
  if (headerRoot)
27434
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]));
27435
28109
  if (planSells(plan))
27436
28110
  globals = withStore(globals, plan.locale ?? DEFAULT_SITE_LOCALE);
27437
28111
  // AW1: the law, derived from facts and never asked — the legal pages, the banner when a tracker is connected, the
@@ -27707,6 +28381,7 @@ function composeNavHeader(input, options) {
27707
28381
  if (pattern.header)
27708
28382
  setHeaderBehaviour(header, pattern.header.behaviour, pattern.header.edge ?? null);
27709
28383
  stampHeaderMix(header, recipe.mix);
28384
+ setHeaderInk(header, headerInkOf(recipe.mix[HeaderIngredient.Ink]));
27710
28385
  if (input.storeSlots)
27711
28386
  withStoreSlots(header, input.locale ?? DEFAULT_SITE_LOCALE);
27712
28387
  return { header, issues, mix: checked.mix, companions };
@@ -27893,6 +28568,7 @@ function composeOpening(input, options) {
27893
28568
  const recipe = openingRecipe(checked.mix, context);
27894
28569
  const section = composePattern(recipe.pattern, options.id, ctx);
27895
28570
  stampOpeningMix(section, recipe.mix);
28571
+ stampOpeningMotion(section, recipe.mix);
27896
28572
  const badge = typeof input.badge === 'string' && input.badge.trim() ? input.badge.trim() : null;
27897
28573
  if (badge) {
27898
28574
  walkSerialized([section], n => {
@@ -28275,6 +28951,12 @@ var BuildNoticeCode;
28275
28951
  /** AW8: the opening the plan asked for was mended (an award word on a basic build, a part the site cannot carry) —
28276
28952
  * said, so the owner knows the home page opens a little differently and where to change it. */
28277
28953
  BuildNoticeCode["OpeningMended"] = "opening-mended";
28954
+ /** LI5: the footer the plan asked for was mended (a word that waits drawn as its stand-in, a one-line footer that
28955
+ * holds only some parts) — said like the header's and the opening's. */
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";
28278
28960
  })(BuildNoticeCode || (BuildNoticeCode = {}));
28279
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
28280
28962
  * pair (`replaceGlobals`), for pages. */
@@ -28282,28 +28964,47 @@ var KeptPagesChoice;
28282
28964
  (function (KeptPagesChoice) {
28283
28965
  /** Build every other page; leave these as they are. */
28284
28966
  KeptPagesChoice["Keep"] = "keep";
28285
- /** Move each aside as a draft at `/<route>-previous` and build the plan's page at its address. Nothing is deleted. */
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. */
28286
28969
  KeptPagesChoice["Replace"] = "replace";
28287
28970
  })(KeptPagesChoice || (KeptPagesChoice = {}));
28288
28971
  /** The suffix a replaced page's address takes. */
28289
28972
  const PREVIOUS_ROUTE_SUFFIX = '-previous';
28290
28973
  /** Where a page moved aside goes: `/<route>-previous`, then `-previous-2`… — never an address in `taken` (shapes
28291
- * 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`. */
28292
28980
  function previousRoute(route, taken) {
28293
- const key = (r) => (r.replace(/\/+$/, '') || '/').toLowerCase();
28981
+ const key = (r) => (r.replace(/\/+$/, '') || '/').replace(/\/:[^/]+/g, '/:').toLowerCase();
28294
28982
  const held = new Set(taken.map(key));
28295
- const base = `${route.replace(/\/+$/, '') || '/home'}${PREVIOUS_ROUTE_SUFFIX}`.replace(/^\/\//, '/');
28296
- let candidate = base;
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('');
28297
28996
  for (let n = 2; held.has(key(candidate)); n++)
28298
- candidate = `${base}-${n}`;
28997
+ candidate = shaped(`-${n}`);
28299
28998
  return candidate;
28300
28999
  }
28301
- /** The compose issues the run SAYS, each kind once (the wizard tracks a notice by its code): the words of every mend of
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
28302
29001
  * that kind joined, for the log and the API; the screen shows the code's own sentence. An opening that only found no
28303
29002
  * place for a word it carried is not a mend of the mix, so it is not said. */
28304
29003
  const MEND_NOTICES = [
28305
29004
  [ComposeIssueCode.HeaderMended, BuildNoticeCode.HeaderMended],
28306
29005
  [ComposeIssueCode.OpeningMended, BuildNoticeCode.OpeningMended],
29006
+ [ComposeIssueCode.FooterMended, BuildNoticeCode.FooterMended],
29007
+ [ComposeIssueCode.BodyMended, BuildNoticeCode.BodyMended],
28307
29008
  ];
28308
29009
  const CARRY_ONLY = /^the opening found no place for /;
28309
29010
  function mendNotices(issues) {
@@ -28501,6 +29202,14 @@ var RedesignPart;
28501
29202
  RedesignPart["Look"] = "look";
28502
29203
  })(RedesignPart || (RedesignPart = {}));
28503
29204
  const REDESIGN_PARTS = Object.values(RedesignPart);
29205
+ /** The choices of the look a Switch replaced — what Back returns to ("Linen · Warm") — or null when the run does not
29206
+ * say (not switched yet, or a run stored before the look was). A studio with no design row wore its defaults. */
29207
+ function redesignPreviousChoices(run) {
29208
+ const before = run?.look?.before;
29209
+ if (!before)
29210
+ return null;
29211
+ return readDesignConfig(before.config, !!before.config).choices;
29212
+ }
28504
29213
  /** The refusals of a redesign's start, switch and back. */
28505
29214
  var RedesignRefusalCode;
28506
29215
  (function (RedesignRefusalCode) {
@@ -28779,6 +29488,7 @@ const PLAN_WIRE_DERIVED = {
28779
29488
  'page.layout': 'the layout step: one request per composed page, after the pages (M8 gate 2)',
28780
29489
  'shop.categories': "the products' own categories, in order (shopCategoriesOf)",
28781
29490
  layoutPage: 'the layout step: one request per composed page, after the pages (M8 gate 2)',
29491
+ 'mixes.body': 'not asked yet: every body word but the defaults waits for AW6 (bodyWireWords); absent = straight edges, free grounds',
28782
29492
  };
28783
29493
  const wireText = (spec) => {
28784
29494
  const [entry, planKey] = spec.refs[0].split('.');
@@ -32008,6 +32718,18 @@ const LAYOUT_MIX_WORDS = LIST_INGREDIENTS.flatMap(k => listIngredientWords(k).ma
32008
32718
  /** The words the wire OFFERS — the built ones only (ingredients.md §3.3): a waiting word would put its stand-in on every
32009
32719
  * site that asked for it. */
32010
32720
  const LAYOUT_MIX_OFFERED = LIST_INGREDIENTS.flatMap(k => listBuiltWords(k).map(w => `${k}${MIX_SEPARATOR}${w}`));
32721
+ /** AW10: the entrance and the switch a look that never scrubs is not offered. */
32722
+ const LETTERS = 'letters';
32723
+ const SCRUB_FLAG = 'scrub';
32724
+ /** The entrances the wire offers under the look's scrub (AW10 H3). */
32725
+ function layoutEntersOffered(scrub) {
32726
+ return ENTER_ON_WIRE.filter(e => e !== LETTERS || scrubOffered(scrub));
32727
+ }
32728
+ /** The switches the wire offers under the look's scrub (AW10 H3). */
32729
+ function layoutFlagsOffered(scrub) {
32730
+ return V.flags.filter(f => f !== SCRUB_FLAG || scrubOffered(scrub));
32731
+ }
32732
+ const scrubOffered = (scrub) => !!scrub && scrub !== ScrubId.Never && isScrubId(scrub);
32011
32733
  /** A handle the wire places as a whole SECTION (RD-D20): a bound part, a block or a kept section. */
32012
32734
  const SECTION_HANDLE = /^(?:bind|block|keep):/;
32013
32735
  /** Is `handle` one a section places whole (`bind:`/`block:`/`keep:`), never a layer's words or photo? */
@@ -32062,10 +32784,12 @@ function layoutWireJsonSchema(options = {}) {
32062
32784
  rotate: integer("degrees, within the look's limit"),
32063
32785
  to: text("button: a section id of this page or a page route ('/contact'); '' for none"),
32064
32786
  variant: oneOf(VARIANT_ON_WIRE, 'button: primary | secondary | ghost · gallery: its effect · form: its preset · none'),
32065
- enter: oneOf(ENTER_ON_WIRE, 'plays once as it arrives (time); clipReveal opens from that side'),
32787
+ enter: oneOf(layoutEntersOffered(options.scrub), scrubOffered(options.scrub)
32788
+ ? 'plays once as it arrives (time); clipReveal opens from that side; letters: a line of words rises letter by letter (a display line)'
32789
+ : 'plays once as it arrives (time); clipReveal opens from that side'),
32066
32790
  depth: oneOf([NONE, ...V.depths], 'the parallax trio (not in held sections)'),
32067
32791
  inner: integer('0..3: how far a photo drifts inside its frame'),
32068
- flags: listOf(jsonOneOf(V.flags), '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; [] for none'),
32792
+ 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`),
32069
32793
  perView: { type: 'number', description: 'gallery slides per view; 0 for none' },
32070
32794
  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"),
32071
32795
  motion: listOf(closed({
@@ -32228,6 +32952,8 @@ function expandLayer(l, beat) {
32228
32952
  out.kinetic = true;
32229
32953
  if (flags.has('contain'))
32230
32954
  out.fit = 'contain';
32955
+ if (flags.has(SCRUB_FLAG))
32956
+ out.scrub = true;
32231
32957
  const enter = String(l['enter'] ?? NONE);
32232
32958
  if (enter.startsWith(CLIP_SIDE)) {
32233
32959
  out.enter = CLIP;
@@ -32319,6 +33045,7 @@ function layerToWire(l) {
32319
33045
  const flags = [
32320
33046
  l.scrim && 'scrim', l.kinetic && 'kinetic', l.fit === 'contain' && 'contain',
32321
33047
  g?.centered && 'centered', g?.freeMode && 'freeMode', g?.loop && 'loop', g?.drift && 'drift', g?.scroll && 'scroll', g?.autoplay ? 'autoplay' : null,
33048
+ l.scrub && SCRUB_FLAG,
32322
33049
  ].filter((x) => !!x);
32323
33050
  const slots = f
32324
33051
  ? [
@@ -32907,11 +33634,23 @@ function openingOf(s) {
32907
33634
  return lead.kind;
32908
33635
  return lead.size ? `${lead.size}-${lead.kind}` : lead.kind;
32909
33636
  }
33637
+ const SCRUB_TOKEN = 'scrub';
33638
+ /** What of AW10 a page wears (`LayoutFingerprint.scrub`): letters rising, entrances following the scroll, both — or
33639
+ * null for neither. */
33640
+ function scrubTokenOf(page) {
33641
+ const layers = (page.sections ?? []).flatMap(s => s.layers ?? []);
33642
+ const parts = [
33643
+ layers.some(l => l.enter === LayoutEnter.Letters) && LayoutEnter.Letters,
33644
+ layers.some(l => l.scrub) && SCRUB_TOKEN,
33645
+ ].filter((x) => !!x);
33646
+ return parts.length ? parts.join('+') : null;
33647
+ }
32910
33648
  /** 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
32911
33649
  * the page's own ground colour. */
32912
33650
  function fingerprintOf(page, preset, mode, header, footer) {
32913
33651
  const sections = page.sections ?? [];
32914
33652
  const lists = listTokensOf(page);
33653
+ const scrub = scrubTokenOf(page);
32915
33654
  const first = sections[0];
32916
33655
  const ground = String(first?.ground ?? LayoutColour.Ground);
32917
33656
  const name = Object.values(LayoutColour).includes(ground) ? ground : LayoutColour.Ground;
@@ -32926,6 +33665,7 @@ function fingerprintOf(page, preset, mode, header, footer) {
32926
33665
  ...(lists.length ? { lists } : {}),
32927
33666
  ...(header ? { header: headerTokenOf(header) } : {}),
32928
33667
  ...(footer ? { footer: footerTokenOf(footer) } : {}),
33668
+ ...(scrub ? { scrub } : {}),
32929
33669
  };
32930
33670
  }
32931
33671
  /** A composed page's fingerprint under its site plan's header and footer — the ONE call every reader of a plan makes. */
@@ -33990,5 +34730,5 @@ function siteGlobalsOf(globals) {
33990
34730
  * Generated bundle index. Do not edit.
33991
34731
  */
33992
34732
 
33993
- 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, 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 };
34733
+ 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, 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 };
33994
34734
  //# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map