@vectoriox/iox-ui 5.196.0 → 5.198.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/composite-core/index.d.ts +19 -2
- package/data-core/index.d.ts +101 -2
- package/design-core/index.d.ts +183 -30
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +49 -10
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-data-core.mjs +192 -2
- package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +299 -74
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +2287 -528
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +3 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +32 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1454 -200
- package/harness-core/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/composite-core/header.ts +34 -1
- package/src/composite-core/slider-runtime.ts +16 -8
- package/src/data-core/placeholder-rows.ts +220 -0
- package/src/data-core/public-api.ts +2 -1
- package/src/design-core/brand.ts +58 -5
- package/src/design-core/contrast-audit.ts +49 -22
- package/src/design-core/design-apply.ts +34 -3
- package/src/design-core/flavor-fixtures.generated.ts +123 -123
- package/src/design-core/flavor-spec.generated.ts +44 -4
- package/src/design-core/flavor-tokens.ts +1 -1
- package/src/design-core/header-behaviour.ts +82 -15
- package/src/design-core/motion-language.ts +5 -14
- package/src/design-core/node-links.ts +34 -0
- package/src/design-core/preloader.ts +4 -5
- package/src/generation-core/audit-site.ts +10 -1
- package/src/generation-core/audit-words.ts +5 -0
- package/src/generation-core/body-mix.ts +40 -102
- package/src/generation-core/check-free.ts +26 -5
- package/src/generation-core/check-layout.ts +10 -4
- package/src/generation-core/check-list.ts +3 -25
- package/src/generation-core/colour-mix.ts +296 -0
- package/src/generation-core/compose-free.ts +40 -18
- package/src/generation-core/compose-site.ts +124 -22
- package/src/generation-core/footer-mix.ts +102 -54
- package/src/generation-core/free-fallback.ts +6 -4
- package/src/generation-core/free-opening.ts +57 -0
- package/src/generation-core/free-parts.ts +87 -0
- package/src/generation-core/free-slot-words.ts +30 -0
- package/src/generation-core/generation-tier.ts +6 -17
- package/src/generation-core/header-mix.ts +125 -4
- package/src/generation-core/item-fill.ts +42 -0
- package/src/generation-core/layout-drawers.ts +3 -2
- package/src/generation-core/layout-wire.ts +10 -16
- package/src/generation-core/list-panel.ts +3 -3
- package/src/generation-core/list-table.ts +5 -14
- package/src/generation-core/list-words.ts +2 -1
- package/src/generation-core/nav-shape.ts +45 -16
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/opening-mix.ts +16 -33
- package/src/generation-core/part-tier.ts +14 -0
- package/src/generation-core/plan-wire.ts +31 -43
- package/src/generation-core/public-api.ts +4 -0
- package/src/generation-core/site-build-run.ts +4 -0
- package/src/generation-core/site-spec.generated.ts +1127 -93
- package/src/generation-core/stock-search.ts +106 -18
- package/src/generation-core/type-led.ts +19 -4
- package/src/generation-core/validate-site-plan.ts +4 -5
- package/src/harness-core/run-compose-context.ts +3 -1
- package/styles/iox-design.css +139 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, 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, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait,
|
|
1
|
+
import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, 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, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait, headerShapeFloats, HeaderShape, HeaderBrand, HeaderGround, headerGroundIsOver, headerGroundIsGlass, wcagContrastRatio, resolveSchemeTokenValues, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, decomposeCssFunctions, FILTER_FUNCTIONS, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, setColorScheme, LIST_MIX_PROP, ColorScheme, COLOR_SCHEMES, motionLanguageForPlan, headerInkOf, headerGroundOf, headerShapeOf, headerBrandOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, readDesignConfig, ANIMATE_IDS, auditDesignContrast, compositeOver, HeaderBehaviour, headerBehaviourOf, headerEdgeOf, COLUMN_IDS, COLUMN_SETTING } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
export { HeaderInk } from '@vectoriox/iox-ui/design-core';
|
|
3
|
-
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, PopupKind, PopupTrait, POPUP_KIND_MIX, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, 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, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe,
|
|
3
|
+
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, PopupKind, PopupTrait, POPUP_KIND_MIX, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, 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, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, buildLightboxRecipe, canOpenAtClickedItem, SLIDE_TO_ROW, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe, LIGHTBOX_LABEL, setHeaderBehaviour, setHeaderInk, setHeaderGround, setHeaderShape, setHeaderBrand, buildConsentRecipe, ConsentActionType, PopupArrive, popupFormOf } from '@vectoriox/iox-ui/composite-core';
|
|
4
4
|
import { formPresetById, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, busyWord, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
5
5
|
import { normalizeFrameSequence, filmScreensFor, VideoMode, VideoSource, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
6
6
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX, SEO_ROBOTS_OPTIONS, fitSeoText, SEO_ROBOTS_NOINDEX, redirectPath } from '@vectoriox/iox-ui/seo-core';
|
|
@@ -8,6 +8,7 @@ import { VARIANT_NAME_SEPARATOR, commerceLanguage, CommerceLanguage, CHECKOUT_GA
|
|
|
8
8
|
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy, SCENE_LAND_TRIGGER, SceneRange, SceneProp, SceneRevealFrom, SceneEase, SCENE_TRACK_EASE } from '@vectoriox/iox-ui/scene-core';
|
|
9
9
|
import { SCROLL_PROGRESS_TRIGGER, ELEMENT_ACTION_DESCRIPTORS, actionOfferedUnder, DISSOLVE_ACTION, resolveActionAvailability, POPUP_RULES, popupEnded } from '@vectoriox/iox-ui/actions-core';
|
|
10
10
|
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
11
|
+
import { isNumberedPlaceholderTitle } from '@vectoriox/iox-ui/data-core';
|
|
11
12
|
|
|
12
13
|
// GENERATED from iox-ai-guidance flavor-spec.v1.json — do not edit; re-run scripts/gen-flavor-spec.mjs
|
|
13
14
|
// (npm run gen:flavor-spec). The JSON is itself generated by iox-ai-guidance
|
|
@@ -43,7 +44,7 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
43
44
|
"header?": "string[] — the header as <ingredient>:<word> words (site.layout.header; header ingredients HI1)",
|
|
44
45
|
"footer?": "string[] — the footer as <ingredient>:<word> words (site.layout.footer; list ingredients LI5)",
|
|
45
46
|
"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",
|
|
46
|
-
"body?": "string[] — the site's body as <ingredient>:<word> words (site.layout.body; award ingredients AW6): how sections meet (seam),
|
|
47
|
+
"body?": "string[] — the site's body as <ingredient>:<word> words (site.layout.body; award ingredients AW6): how sections meet (seam), the page's pace (pace), the texture and the extra kinds of section; absent or empty = straight seams, each section's ground its own",
|
|
47
48
|
"popup?": "string[] — the site's popup as <ingredient>:<word> words (site.layout.popup.wire; popups PU3): its kind, where it sits, how it arrives and link:<page key>; absent or empty = no popup. Stamped only from the owner's popup lines (plan.popup)"
|
|
48
49
|
},
|
|
49
50
|
"direction": {
|
|
@@ -5842,6 +5843,17 @@ const SPEC_SITE_FOOTER_PARTS = {
|
|
|
5842
5843
|
}
|
|
5843
5844
|
]
|
|
5844
5845
|
},
|
|
5846
|
+
"email": {
|
|
5847
|
+
"t": "Link",
|
|
5848
|
+
"es": "link-display",
|
|
5849
|
+
"href": "/contact",
|
|
5850
|
+
"ph": "email",
|
|
5851
|
+
"role": "footer.email",
|
|
5852
|
+
"lay": {
|
|
5853
|
+
"lineHeight": "1",
|
|
5854
|
+
"width": "auto"
|
|
5855
|
+
}
|
|
5856
|
+
},
|
|
5845
5857
|
"rule": {
|
|
5846
5858
|
"t": "Divider",
|
|
5847
5859
|
"es": "rule"
|
|
@@ -8581,22 +8593,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8581
8593
|
"inBar.search": {
|
|
8582
8594
|
"phase": "HI6",
|
|
8583
8595
|
"drawnAs": "none"
|
|
8584
|
-
},
|
|
8585
|
-
"shape.pill": {
|
|
8586
|
-
"phase": "HI3",
|
|
8587
|
-
"drawnAs": "bar"
|
|
8588
|
-
},
|
|
8589
|
-
"shape.islands": {
|
|
8590
|
-
"phase": "HI3",
|
|
8591
|
-
"drawnAs": "bar"
|
|
8592
|
-
},
|
|
8593
|
-
"brand.hangs": {
|
|
8594
|
-
"phase": "HI3",
|
|
8595
|
-
"drawnAs": "fits"
|
|
8596
|
-
},
|
|
8597
|
-
"brand.later": {
|
|
8598
|
-
"phase": "HI3",
|
|
8599
|
-
"drawnAs": "fits"
|
|
8600
8596
|
}
|
|
8601
8597
|
},
|
|
8602
8598
|
"defaults": {
|
|
@@ -8645,6 +8641,30 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8645
8641
|
"edge": "none"
|
|
8646
8642
|
}
|
|
8647
8643
|
},
|
|
8644
|
+
{
|
|
8645
|
+
"id": "floating-pill",
|
|
8646
|
+
"name": "Floating pill",
|
|
8647
|
+
"nameHe": "גלולה מרחפת",
|
|
8648
|
+
"words": "One floating bar · glass · one button",
|
|
8649
|
+
"wordsHe": "פס מרחף אחד · זכוכית · כפתור אחד",
|
|
8650
|
+
"mix": {
|
|
8651
|
+
"shape": "pill",
|
|
8652
|
+
"ground": "over-glass",
|
|
8653
|
+
"edge": "none"
|
|
8654
|
+
}
|
|
8655
|
+
},
|
|
8656
|
+
{
|
|
8657
|
+
"id": "islands",
|
|
8658
|
+
"name": "Islands",
|
|
8659
|
+
"nameHe": "איים",
|
|
8660
|
+
"words": "The name, the pages and the button, each floating",
|
|
8661
|
+
"wordsHe": "השם, הדפים והכפתור, כל אחד מרחף",
|
|
8662
|
+
"mix": {
|
|
8663
|
+
"shape": "islands",
|
|
8664
|
+
"ground": "over-glass",
|
|
8665
|
+
"edge": "none"
|
|
8666
|
+
}
|
|
8667
|
+
},
|
|
8648
8668
|
{
|
|
8649
8669
|
"id": "card",
|
|
8650
8670
|
"name": "Card from the button",
|
|
@@ -8821,7 +8841,9 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8821
8841
|
"centred",
|
|
8822
8842
|
"line",
|
|
8823
8843
|
"ruled",
|
|
8824
|
-
"list-big"
|
|
8844
|
+
"list-big",
|
|
8845
|
+
"free",
|
|
8846
|
+
"halves"
|
|
8825
8847
|
],
|
|
8826
8848
|
"holds": [
|
|
8827
8849
|
"pages",
|
|
@@ -8834,7 +8856,10 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8834
8856
|
"marquee",
|
|
8835
8857
|
"badges",
|
|
8836
8858
|
"region",
|
|
8837
|
-
"search"
|
|
8859
|
+
"search",
|
|
8860
|
+
"social",
|
|
8861
|
+
"top",
|
|
8862
|
+
"chat"
|
|
8838
8863
|
],
|
|
8839
8864
|
"closing": [
|
|
8840
8865
|
"none",
|
|
@@ -8843,7 +8868,9 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8843
8868
|
"statement",
|
|
8844
8869
|
"word",
|
|
8845
8870
|
"newsletter",
|
|
8846
|
-
"name-and-action"
|
|
8871
|
+
"name-and-action",
|
|
8872
|
+
"email",
|
|
8873
|
+
"behind"
|
|
8847
8874
|
],
|
|
8848
8875
|
"ground": [
|
|
8849
8876
|
"inverse",
|
|
@@ -8853,13 +8880,17 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8853
8880
|
"film",
|
|
8854
8881
|
"scene",
|
|
8855
8882
|
"pattern",
|
|
8856
|
-
"inset"
|
|
8883
|
+
"inset",
|
|
8884
|
+
"photo",
|
|
8885
|
+
"gradient",
|
|
8886
|
+
"framed"
|
|
8857
8887
|
],
|
|
8858
8888
|
"nameStyle": [
|
|
8859
8889
|
"plain",
|
|
8860
8890
|
"gradient",
|
|
8861
8891
|
"emboss",
|
|
8862
|
-
"offset"
|
|
8892
|
+
"offset",
|
|
8893
|
+
"script"
|
|
8863
8894
|
]
|
|
8864
8895
|
},
|
|
8865
8896
|
"many": [
|
|
@@ -8900,17 +8931,24 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8900
8931
|
"nameStyle.plain": "the closing name in the ink",
|
|
8901
8932
|
"nameStyle.gradient": "the closing name in the accent's gradient",
|
|
8902
8933
|
"nameStyle.emboss": "the closing name tone on tone, pressed into its ground",
|
|
8903
|
-
"nameStyle.offset": "the closing name starting at the second column"
|
|
8934
|
+
"nameStyle.offset": "the closing name starting at the second column",
|
|
8935
|
+
"arrange.free": "the footer laid by the model from the parts, as a free section under the hard rules (footer-v2 §4)",
|
|
8936
|
+
"arrange.halves": "two zones divided by a vertical hairline",
|
|
8937
|
+
"holds.social": "the owner's social links, as words or round icons",
|
|
8938
|
+
"holds.top": "a round back-to-top button",
|
|
8939
|
+
"holds.chat": "the owner's picture and a chat button",
|
|
8940
|
+
"closing.email": "the email set large as the footer's opening line",
|
|
8941
|
+
"closing.behind": "the name or a farewell line set huge and faint behind the blocks",
|
|
8942
|
+
"ground.photo": "a still photograph of the owner's, dimmed, under the footer",
|
|
8943
|
+
"ground.gradient": "the colour's gradient wash on the footer",
|
|
8944
|
+
"ground.framed": "the footer as a ruled box inside the page frame",
|
|
8945
|
+
"nameStyle.script": "the closing name in the look's script face"
|
|
8904
8946
|
},
|
|
8905
8947
|
"waits": {
|
|
8906
8948
|
"holds.newsletter": {
|
|
8907
8949
|
"phase": "AW12",
|
|
8908
8950
|
"drawnAs": null
|
|
8909
8951
|
},
|
|
8910
|
-
"holds.legal": {
|
|
8911
|
-
"phase": "AW1",
|
|
8912
|
-
"drawnAs": null
|
|
8913
|
-
},
|
|
8914
8952
|
"holds.payments": {
|
|
8915
8953
|
"phase": "commerce",
|
|
8916
8954
|
"drawnAs": null
|
|
@@ -8950,9 +8988,72 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8950
8988
|
"ground.pattern": {
|
|
8951
8989
|
"phase": "AW7",
|
|
8952
8990
|
"drawnAs": "inverse"
|
|
8991
|
+
},
|
|
8992
|
+
"arrange.free": {
|
|
8993
|
+
"phase": "FV2",
|
|
8994
|
+
"drawnAs": "columns"
|
|
8995
|
+
},
|
|
8996
|
+
"holds.social": {
|
|
8997
|
+
"phase": "FV1",
|
|
8998
|
+
"drawnAs": null
|
|
8999
|
+
},
|
|
9000
|
+
"holds.top": {
|
|
9001
|
+
"phase": "FV1",
|
|
9002
|
+
"drawnAs": null
|
|
9003
|
+
},
|
|
9004
|
+
"holds.chat": {
|
|
9005
|
+
"phase": "FV1",
|
|
9006
|
+
"drawnAs": null
|
|
9007
|
+
},
|
|
9008
|
+
"closing.behind": {
|
|
9009
|
+
"phase": "FV3",
|
|
9010
|
+
"drawnAs": "name"
|
|
9011
|
+
},
|
|
9012
|
+
"ground.photo": {
|
|
9013
|
+
"phase": "FV3",
|
|
9014
|
+
"drawnAs": "inverse"
|
|
9015
|
+
},
|
|
9016
|
+
"ground.gradient": {
|
|
9017
|
+
"phase": "FV3",
|
|
9018
|
+
"drawnAs": "inverse"
|
|
9019
|
+
},
|
|
9020
|
+
"nameStyle.script": {
|
|
9021
|
+
"phase": "AW13",
|
|
9022
|
+
"drawnAs": "plain"
|
|
9023
|
+
}
|
|
9024
|
+
},
|
|
9025
|
+
"waitingIngredients": {
|
|
9026
|
+
"before": {
|
|
9027
|
+
"phase": "FV1",
|
|
9028
|
+
"words": [
|
|
9029
|
+
"none",
|
|
9030
|
+
"contact-form",
|
|
9031
|
+
"newsletter-band",
|
|
9032
|
+
"visit"
|
|
9033
|
+
],
|
|
9034
|
+
"default": "none",
|
|
9035
|
+
"meanings": {
|
|
9036
|
+
"before.none": "nothing before the footer",
|
|
9037
|
+
"before.contact-form": "a contact-form area before the footer, on every page",
|
|
9038
|
+
"before.newsletter-band": "a sign-up band before the footer",
|
|
9039
|
+
"before.visit": "a band of where and when to visit before the footer"
|
|
9040
|
+
}
|
|
9041
|
+
},
|
|
9042
|
+
"phone": {
|
|
9043
|
+
"phase": "FV1",
|
|
9044
|
+
"words": [
|
|
9045
|
+
"stack",
|
|
9046
|
+
"accordion",
|
|
9047
|
+
"first"
|
|
9048
|
+
],
|
|
9049
|
+
"default": "stack",
|
|
9050
|
+
"meanings": {
|
|
9051
|
+
"phone.stack": "the blocks stacked one under another",
|
|
9052
|
+
"phone.accordion": "the link columns fold into accordions",
|
|
9053
|
+
"phone.first": "the sign-up comes first"
|
|
9054
|
+
}
|
|
8953
9055
|
}
|
|
8954
9056
|
},
|
|
8955
|
-
"waitingIngredients": {},
|
|
8956
9057
|
"defaults": {
|
|
8957
9058
|
"arrange": "columns",
|
|
8958
9059
|
"holds": [
|
|
@@ -8994,7 +9095,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8994
9095
|
"ruledCells": 4,
|
|
8995
9096
|
"listBigPages": 6,
|
|
8996
9097
|
"listBigLarge": 5,
|
|
8997
|
-
"statementPhoneLines": 3
|
|
9098
|
+
"statementPhoneLines": 3,
|
|
9099
|
+
"legalAlways": true
|
|
8998
9100
|
},
|
|
8999
9101
|
"callWords": [
|
|
9000
9102
|
{
|
|
@@ -9088,6 +9190,17 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9088
9190
|
"rules.listBigPages": "all",
|
|
9089
9191
|
"rules.listBigLarge": "all",
|
|
9090
9192
|
"rules.statementPhoneLines": "all",
|
|
9193
|
+
"rules.legalAlways": "all",
|
|
9194
|
+
"arrange.free": "all",
|
|
9195
|
+
"holds.social": "all",
|
|
9196
|
+
"holds.top": "all",
|
|
9197
|
+
"closing.email": "all",
|
|
9198
|
+
"before.none": "all",
|
|
9199
|
+
"before.contact-form": "all",
|
|
9200
|
+
"before.visit": "all",
|
|
9201
|
+
"phone.stack": "all",
|
|
9202
|
+
"phone.accordion": "all",
|
|
9203
|
+
"phone.first": "all",
|
|
9091
9204
|
"arrange.ruled": "pro",
|
|
9092
9205
|
"arrange.list-big": "pro",
|
|
9093
9206
|
"holds.newsletter": "pro",
|
|
@@ -9107,7 +9220,15 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9107
9220
|
"ground.inset": "pro",
|
|
9108
9221
|
"nameStyle.gradient": "pro",
|
|
9109
9222
|
"nameStyle.emboss": "pro",
|
|
9110
|
-
"nameStyle.offset": "pro"
|
|
9223
|
+
"nameStyle.offset": "pro",
|
|
9224
|
+
"arrange.halves": "pro",
|
|
9225
|
+
"holds.chat": "pro",
|
|
9226
|
+
"closing.behind": "pro",
|
|
9227
|
+
"ground.photo": "pro",
|
|
9228
|
+
"ground.gradient": "pro",
|
|
9229
|
+
"ground.framed": "pro",
|
|
9230
|
+
"nameStyle.script": "pro",
|
|
9231
|
+
"before.newsletter-band": "pro"
|
|
9111
9232
|
},
|
|
9112
9233
|
"references": [
|
|
9113
9234
|
{
|
|
@@ -9264,6 +9385,276 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9264
9385
|
],
|
|
9265
9386
|
"ground": "plain"
|
|
9266
9387
|
}
|
|
9388
|
+
},
|
|
9389
|
+
{
|
|
9390
|
+
"id": "small-form-first-on-phone",
|
|
9391
|
+
"after": "reading: 8pm (footer-v2 §2)",
|
|
9392
|
+
"added": "2026-11-28",
|
|
9393
|
+
"mix": {
|
|
9394
|
+
"holds": [
|
|
9395
|
+
"pages",
|
|
9396
|
+
"contact",
|
|
9397
|
+
"newsletter"
|
|
9398
|
+
],
|
|
9399
|
+
"ground": "subtle"
|
|
9400
|
+
},
|
|
9401
|
+
"waiting": {
|
|
9402
|
+
"phone": "first"
|
|
9403
|
+
}
|
|
9404
|
+
},
|
|
9405
|
+
{
|
|
9406
|
+
"id": "name-filling-the-bottom",
|
|
9407
|
+
"after": "readings: adcker, flyward (footer-v2 §2)",
|
|
9408
|
+
"added": "2026-11-28",
|
|
9409
|
+
"mix": {
|
|
9410
|
+
"closing": "name",
|
|
9411
|
+
"holds": [
|
|
9412
|
+
"pages",
|
|
9413
|
+
"contact",
|
|
9414
|
+
"social",
|
|
9415
|
+
"clock"
|
|
9416
|
+
]
|
|
9417
|
+
}
|
|
9418
|
+
},
|
|
9419
|
+
{
|
|
9420
|
+
"id": "name-from-column-two",
|
|
9421
|
+
"after": "reading: agrumea (footer-v2 §2)",
|
|
9422
|
+
"added": "2026-11-28",
|
|
9423
|
+
"mix": {
|
|
9424
|
+
"closing": "name",
|
|
9425
|
+
"nameStyle": "offset",
|
|
9426
|
+
"ground": "accent",
|
|
9427
|
+
"holds": [
|
|
9428
|
+
"pages",
|
|
9429
|
+
"visit",
|
|
9430
|
+
"contact"
|
|
9431
|
+
]
|
|
9432
|
+
}
|
|
9433
|
+
},
|
|
9434
|
+
{
|
|
9435
|
+
"id": "two-halves-with-badges",
|
|
9436
|
+
"after": "reading: allerstudio (footer-v2 §2)",
|
|
9437
|
+
"added": "2026-11-28",
|
|
9438
|
+
"mix": {
|
|
9439
|
+
"arrange": "halves",
|
|
9440
|
+
"closing": "name",
|
|
9441
|
+
"nameStyle": "gradient",
|
|
9442
|
+
"holds": [
|
|
9443
|
+
"pages",
|
|
9444
|
+
"badges",
|
|
9445
|
+
"social"
|
|
9446
|
+
]
|
|
9447
|
+
}
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
"id": "call-word-and-social",
|
|
9451
|
+
"after": "reading: bar-topas (footer-v2 §2)",
|
|
9452
|
+
"added": "2026-11-28",
|
|
9453
|
+
"mix": {
|
|
9454
|
+
"arrange": "line",
|
|
9455
|
+
"closing": "word",
|
|
9456
|
+
"ground": "accent",
|
|
9457
|
+
"holds": [
|
|
9458
|
+
"pages",
|
|
9459
|
+
"social"
|
|
9460
|
+
]
|
|
9461
|
+
}
|
|
9462
|
+
},
|
|
9463
|
+
{
|
|
9464
|
+
"id": "sign-up-band-before",
|
|
9465
|
+
"after": "reading: cancan (footer-v2 §2)",
|
|
9466
|
+
"added": "2026-11-28",
|
|
9467
|
+
"mix": {
|
|
9468
|
+
"closing": "name",
|
|
9469
|
+
"holds": [
|
|
9470
|
+
"pages",
|
|
9471
|
+
"contact",
|
|
9472
|
+
"visit"
|
|
9473
|
+
]
|
|
9474
|
+
},
|
|
9475
|
+
"waiting": {
|
|
9476
|
+
"before": "newsletter-band"
|
|
9477
|
+
}
|
|
9478
|
+
},
|
|
9479
|
+
{
|
|
9480
|
+
"id": "ruled-box-in-the-frame",
|
|
9481
|
+
"after": "reading: damaria (footer-v2 §2)",
|
|
9482
|
+
"added": "2026-11-28",
|
|
9483
|
+
"mix": {
|
|
9484
|
+
"arrange": "ruled",
|
|
9485
|
+
"ground": "framed",
|
|
9486
|
+
"holds": [
|
|
9487
|
+
"pages",
|
|
9488
|
+
"visit",
|
|
9489
|
+
"contact"
|
|
9490
|
+
]
|
|
9491
|
+
}
|
|
9492
|
+
},
|
|
9493
|
+
{
|
|
9494
|
+
"id": "farewell-behind-the-facts",
|
|
9495
|
+
"after": "reading: haven (footer-v2 §2)",
|
|
9496
|
+
"added": "2026-11-28",
|
|
9497
|
+
"mix": {
|
|
9498
|
+
"closing": "behind",
|
|
9499
|
+
"holds": [
|
|
9500
|
+
"visit",
|
|
9501
|
+
"contact",
|
|
9502
|
+
"pages"
|
|
9503
|
+
]
|
|
9504
|
+
}
|
|
9505
|
+
},
|
|
9506
|
+
{
|
|
9507
|
+
"id": "phrases-clock-script-name",
|
|
9508
|
+
"after": "reading: hotelaurelia (footer-v2 §2)",
|
|
9509
|
+
"added": "2026-11-28",
|
|
9510
|
+
"mix": {
|
|
9511
|
+
"closing": "name",
|
|
9512
|
+
"nameStyle": "script",
|
|
9513
|
+
"holds": [
|
|
9514
|
+
"marquee",
|
|
9515
|
+
"newsletter",
|
|
9516
|
+
"clock",
|
|
9517
|
+
"visit",
|
|
9518
|
+
"pages",
|
|
9519
|
+
"top"
|
|
9520
|
+
]
|
|
9521
|
+
}
|
|
9522
|
+
},
|
|
9523
|
+
{
|
|
9524
|
+
"id": "small-facts-block",
|
|
9525
|
+
"after": "reading: maverickscorral (footer-v2 §2)",
|
|
9526
|
+
"added": "2026-11-28",
|
|
9527
|
+
"mix": {
|
|
9528
|
+
"holds": [
|
|
9529
|
+
"visit",
|
|
9530
|
+
"contact",
|
|
9531
|
+
"social"
|
|
9532
|
+
]
|
|
9533
|
+
}
|
|
9534
|
+
},
|
|
9535
|
+
{
|
|
9536
|
+
"id": "contact-form-then-email",
|
|
9537
|
+
"after": "reading: mdscollective (footer-v2 §2; Doron: \"two areas\")",
|
|
9538
|
+
"added": "2026-11-28",
|
|
9539
|
+
"mix": {
|
|
9540
|
+
"closing": "email",
|
|
9541
|
+
"ground": "plain",
|
|
9542
|
+
"holds": [
|
|
9543
|
+
"visit",
|
|
9544
|
+
"pages"
|
|
9545
|
+
]
|
|
9546
|
+
},
|
|
9547
|
+
"waiting": {
|
|
9548
|
+
"before": "contact-form"
|
|
9549
|
+
}
|
|
9550
|
+
},
|
|
9551
|
+
{
|
|
9552
|
+
"id": "contact-form-first",
|
|
9553
|
+
"after": "reading: mooov (footer-v2 §2)",
|
|
9554
|
+
"added": "2026-11-28",
|
|
9555
|
+
"mix": {
|
|
9556
|
+
"ground": "plain",
|
|
9557
|
+
"holds": [
|
|
9558
|
+
"pages",
|
|
9559
|
+
"contact"
|
|
9560
|
+
]
|
|
9561
|
+
},
|
|
9562
|
+
"waiting": {
|
|
9563
|
+
"before": "contact-form"
|
|
9564
|
+
}
|
|
9565
|
+
},
|
|
9566
|
+
{
|
|
9567
|
+
"id": "call-word-then-facts",
|
|
9568
|
+
"after": "reading: restaurantonyx (footer-v2 §2)",
|
|
9569
|
+
"added": "2026-11-28",
|
|
9570
|
+
"mix": {
|
|
9571
|
+
"closing": "word",
|
|
9572
|
+
"holds": [
|
|
9573
|
+
"visit",
|
|
9574
|
+
"contact"
|
|
9575
|
+
]
|
|
9576
|
+
}
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"id": "one-line-with-partners",
|
|
9580
|
+
"after": "reading: sauveunevie (footer-v2 §2)",
|
|
9581
|
+
"added": "2026-11-28",
|
|
9582
|
+
"mix": {
|
|
9583
|
+
"arrange": "line",
|
|
9584
|
+
"holds": [
|
|
9585
|
+
"pages",
|
|
9586
|
+
"marquee"
|
|
9587
|
+
]
|
|
9588
|
+
}
|
|
9589
|
+
},
|
|
9590
|
+
{
|
|
9591
|
+
"id": "columns-fold-on-phone",
|
|
9592
|
+
"after": "readings: stroms, schlosshotel (footer-v2 §2)",
|
|
9593
|
+
"added": "2026-11-28",
|
|
9594
|
+
"mix": {
|
|
9595
|
+
"ground": "plain",
|
|
9596
|
+
"holds": [
|
|
9597
|
+
"pages",
|
|
9598
|
+
"contact",
|
|
9599
|
+
"newsletter"
|
|
9600
|
+
]
|
|
9601
|
+
},
|
|
9602
|
+
"waiting": {
|
|
9603
|
+
"phone": "accordion"
|
|
9604
|
+
}
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
"id": "owner-chat-and-halves",
|
|
9608
|
+
"after": "reading: thepopuphotel (footer-v2 §2)",
|
|
9609
|
+
"added": "2026-11-28",
|
|
9610
|
+
"mix": {
|
|
9611
|
+
"arrange": "halves",
|
|
9612
|
+
"closing": "name",
|
|
9613
|
+
"holds": [
|
|
9614
|
+
"chat",
|
|
9615
|
+
"pages",
|
|
9616
|
+
"newsletter"
|
|
9617
|
+
]
|
|
9618
|
+
}
|
|
9619
|
+
},
|
|
9620
|
+
{
|
|
9621
|
+
"id": "facts-on-a-dim-photo",
|
|
9622
|
+
"after": "readings: vesuvio, daylight (footer-v2 §2)",
|
|
9623
|
+
"added": "2026-11-28",
|
|
9624
|
+
"mix": {
|
|
9625
|
+
"ground": "photo",
|
|
9626
|
+
"holds": [
|
|
9627
|
+
"visit",
|
|
9628
|
+
"contact",
|
|
9629
|
+
"badges",
|
|
9630
|
+
"social"
|
|
9631
|
+
]
|
|
9632
|
+
}
|
|
9633
|
+
},
|
|
9634
|
+
{
|
|
9635
|
+
"id": "social-rings-and-top",
|
|
9636
|
+
"after": "reading: reddottours (footer-v2 §2)",
|
|
9637
|
+
"added": "2026-11-28",
|
|
9638
|
+
"mix": {
|
|
9639
|
+
"holds": [
|
|
9640
|
+
"pages",
|
|
9641
|
+
"badges",
|
|
9642
|
+
"social",
|
|
9643
|
+
"top"
|
|
9644
|
+
]
|
|
9645
|
+
}
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
"id": "gradient-card-with-search",
|
|
9649
|
+
"after": "reading: plumeform (footer-v2 §2)",
|
|
9650
|
+
"added": "2026-11-28",
|
|
9651
|
+
"mix": {
|
|
9652
|
+
"ground": "gradient",
|
|
9653
|
+
"holds": [
|
|
9654
|
+
"pages",
|
|
9655
|
+
"search"
|
|
9656
|
+
]
|
|
9657
|
+
}
|
|
9267
9658
|
}
|
|
9268
9659
|
]
|
|
9269
9660
|
},
|
|
@@ -9771,12 +10162,9 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9771
10162
|
"torn",
|
|
9772
10163
|
"rounded"
|
|
9773
10164
|
],
|
|
9774
|
-
"
|
|
10165
|
+
"pace": [
|
|
9775
10166
|
"free",
|
|
9776
|
-
"
|
|
9777
|
-
"loud-quiet",
|
|
9778
|
-
"chapters",
|
|
9779
|
-
"tail"
|
|
10167
|
+
"loud-quiet"
|
|
9780
10168
|
],
|
|
9781
10169
|
"texture": [
|
|
9782
10170
|
"none",
|
|
@@ -9805,11 +10193,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9805
10193
|
"seam.drip": "a drip-shaped edge",
|
|
9806
10194
|
"seam.torn": "a ragged, toothed edge",
|
|
9807
10195
|
"seam.rounded": "a section with rounded lower corners laid over the next",
|
|
9808
|
-
"
|
|
9809
|
-
"
|
|
9810
|
-
"rhythm.loud-quiet": "a picture section, then a narrow centred words section, repeated",
|
|
9811
|
-
"rhythm.chapters": "the ground changes only where a chapter starts",
|
|
9812
|
-
"rhythm.tail": "the last bands share the footer's ground, so the end reads as one block",
|
|
10196
|
+
"pace.free": "sections in the order their content asks",
|
|
10197
|
+
"pace.loud-quiet": "a picture section, then a narrow centred words section, repeated",
|
|
9813
10198
|
"texture.none": "no texture",
|
|
9814
10199
|
"texture.pattern": "a pattern from the look's tokens: dots, a grid, a hatch, contour lines or an emblem repeat",
|
|
9815
10200
|
"texture.light": "soft shadow pictures (blinds, leaves) laid over a paper ground",
|
|
@@ -9830,11 +10215,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9830
10215
|
"seam.drip": "קצה בצורת טיפות נוטפות",
|
|
9831
10216
|
"seam.torn": "קצה קרוע ומשונן",
|
|
9832
10217
|
"seam.rounded": "אזור עם פינות תחתונות מעוגלות שמונח מעל הבא",
|
|
9833
|
-
"
|
|
9834
|
-
"
|
|
9835
|
-
"rhythm.loud-quiet": "אזור עם תמונה, ואחריו אזור מילים צר וממורכז, שוב ושוב",
|
|
9836
|
-
"rhythm.chapters": "הרקע מתחלף רק במקום שבו פרק מתחיל",
|
|
9837
|
-
"rhythm.tail": "האזורים האחרונים חולקים את הרקע של הכותרת התחתונה, כך שהסוף נקרא כגוש אחד",
|
|
10218
|
+
"pace.free": "האזורים בסדר שהתוכן שלהם מבקש",
|
|
10219
|
+
"pace.loud-quiet": "אזור עם תמונה, ואחריו אזור מילים צר וממורכז, שוב ושוב",
|
|
9838
10220
|
"texture.none": "בלי מרקם",
|
|
9839
10221
|
"texture.pattern": "דוגמה מצבעי העיצוב: נקודות, רשת, קווקוו, קווי גובה או סמל חוזר",
|
|
9840
10222
|
"texture.light": "תמונות צל רכות (תריסים, עלים) מעל רקע של נייר",
|
|
@@ -9890,39 +10272,15 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9890
10272
|
"mirrors": false
|
|
9891
10273
|
}
|
|
9892
10274
|
},
|
|
9893
|
-
"
|
|
10275
|
+
"paces": {
|
|
9894
10276
|
"free": {},
|
|
9895
|
-
"alternate": {
|
|
9896
|
-
"neighbours": "differ"
|
|
9897
|
-
},
|
|
9898
10277
|
"loud-quiet": {
|
|
9899
10278
|
"pairs": 2,
|
|
9900
10279
|
"quietCols": 8
|
|
9901
|
-
},
|
|
9902
|
-
"chapters": {
|
|
9903
|
-
"changesAt": [
|
|
9904
|
-
"inhale",
|
|
9905
|
-
"signature"
|
|
9906
|
-
]
|
|
9907
|
-
},
|
|
9908
|
-
"tail": {
|
|
9909
|
-
"last": 2
|
|
9910
10280
|
}
|
|
9911
10281
|
},
|
|
9912
10282
|
"waits": {
|
|
9913
|
-
"
|
|
9914
|
-
"phase": "AW6",
|
|
9915
|
-
"drawnAs": "free"
|
|
9916
|
-
},
|
|
9917
|
-
"rhythm.loud-quiet": {
|
|
9918
|
-
"phase": "AW6",
|
|
9919
|
-
"drawnAs": "free"
|
|
9920
|
-
},
|
|
9921
|
-
"rhythm.chapters": {
|
|
9922
|
-
"phase": "AW6",
|
|
9923
|
-
"drawnAs": "free"
|
|
9924
|
-
},
|
|
9925
|
-
"rhythm.tail": {
|
|
10283
|
+
"pace.loud-quiet": {
|
|
9926
10284
|
"phase": "AW6",
|
|
9927
10285
|
"drawnAs": "free"
|
|
9928
10286
|
},
|
|
@@ -9973,13 +10331,13 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9973
10331
|
},
|
|
9974
10332
|
"defaults": {
|
|
9975
10333
|
"seam": "straight",
|
|
9976
|
-
"
|
|
10334
|
+
"pace": "free",
|
|
9977
10335
|
"texture": "none",
|
|
9978
10336
|
"sections": []
|
|
9979
10337
|
},
|
|
9980
10338
|
"fingerprint": [
|
|
9981
10339
|
"seam",
|
|
9982
|
-
"
|
|
10340
|
+
"pace",
|
|
9983
10341
|
"texture"
|
|
9984
10342
|
],
|
|
9985
10343
|
"rules": {
|
|
@@ -9990,7 +10348,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9990
10348
|
},
|
|
9991
10349
|
"tiers": {
|
|
9992
10350
|
"seam.straight": "all",
|
|
9993
|
-
"
|
|
10351
|
+
"pace.free": "all",
|
|
9994
10352
|
"texture.none": "all",
|
|
9995
10353
|
"rules.seamAudited": "all",
|
|
9996
10354
|
"rules.texturesClearUnderReducedTransparency": "all",
|
|
@@ -10000,10 +10358,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10000
10358
|
"seam.drip": "pro",
|
|
10001
10359
|
"seam.torn": "pro",
|
|
10002
10360
|
"seam.rounded": "pro",
|
|
10003
|
-
"
|
|
10004
|
-
"rhythm.loud-quiet": "pro",
|
|
10005
|
-
"rhythm.chapters": "pro",
|
|
10006
|
-
"rhythm.tail": "pro",
|
|
10361
|
+
"pace.loud-quiet": "pro",
|
|
10007
10362
|
"texture.pattern": "pro",
|
|
10008
10363
|
"texture.light": "pro",
|
|
10009
10364
|
"texture.material": "pro",
|
|
@@ -10032,7 +10387,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10032
10387
|
"added": "2026-11-20",
|
|
10033
10388
|
"mix": {
|
|
10034
10389
|
"seam": "wave",
|
|
10035
|
-
"
|
|
10390
|
+
"pace": "loud-quiet",
|
|
10036
10391
|
"texture": "lanes"
|
|
10037
10392
|
}
|
|
10038
10393
|
},
|
|
@@ -10041,8 +10396,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10041
10396
|
"after": "award reading: spylt (§3.6)",
|
|
10042
10397
|
"added": "2026-11-20",
|
|
10043
10398
|
"mix": {
|
|
10044
|
-
"seam": "drip"
|
|
10045
|
-
"rhythm": "alternate"
|
|
10399
|
+
"seam": "drip"
|
|
10046
10400
|
}
|
|
10047
10401
|
},
|
|
10048
10402
|
{
|
|
@@ -10070,7 +10424,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10070
10424
|
"after": "award readings: plumeform, vault (§3.6)",
|
|
10071
10425
|
"added": "2026-11-20",
|
|
10072
10426
|
"mix": {
|
|
10073
|
-
"rhythm": "alternate",
|
|
10074
10427
|
"texture": "material"
|
|
10075
10428
|
}
|
|
10076
10429
|
},
|
|
@@ -10079,7 +10432,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10079
10432
|
"after": "award reading: coutumes (§3.6)",
|
|
10080
10433
|
"added": "2026-11-20",
|
|
10081
10434
|
"mix": {
|
|
10082
|
-
"
|
|
10435
|
+
"pace": "loud-quiet",
|
|
10083
10436
|
"texture": "grain"
|
|
10084
10437
|
}
|
|
10085
10438
|
},
|
|
@@ -10088,7 +10441,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10088
10441
|
"after": "award reading: daylight (§3.6)",
|
|
10089
10442
|
"added": "2026-11-20",
|
|
10090
10443
|
"mix": {
|
|
10091
|
-
"rhythm": "chapters",
|
|
10092
10444
|
"texture": "light",
|
|
10093
10445
|
"sections": [
|
|
10094
10446
|
"inset-card",
|
|
@@ -10101,18 +10453,9 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10101
10453
|
"after": "award readings: lando, le-delizie (§3.6)",
|
|
10102
10454
|
"added": "2026-11-20",
|
|
10103
10455
|
"mix": {
|
|
10104
|
-
"rhythm": "chapters",
|
|
10105
10456
|
"texture": "pattern"
|
|
10106
10457
|
}
|
|
10107
10458
|
},
|
|
10108
|
-
{
|
|
10109
|
-
"id": "end-as-one-block",
|
|
10110
|
-
"after": "award reading: atticus (§3.6)",
|
|
10111
|
-
"added": "2026-11-20",
|
|
10112
|
-
"mix": {
|
|
10113
|
-
"rhythm": "tail"
|
|
10114
|
-
}
|
|
10115
|
-
},
|
|
10116
10459
|
{
|
|
10117
10460
|
"id": "tabbed-institute",
|
|
10118
10461
|
"after": "award reading: graya (§3.6)",
|
|
@@ -10862,6 +11205,698 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10862
11205
|
}
|
|
10863
11206
|
]
|
|
10864
11207
|
},
|
|
11208
|
+
"colour": {
|
|
11209
|
+
"ingredients": {
|
|
11210
|
+
"ground": [
|
|
11211
|
+
"look",
|
|
11212
|
+
"paper",
|
|
11213
|
+
"white",
|
|
11214
|
+
"cool"
|
|
11215
|
+
],
|
|
11216
|
+
"dark": [
|
|
11217
|
+
"ink",
|
|
11218
|
+
"brand-deep",
|
|
11219
|
+
"earth"
|
|
11220
|
+
],
|
|
11221
|
+
"accent": [
|
|
11222
|
+
"signal",
|
|
11223
|
+
"one-place",
|
|
11224
|
+
"none",
|
|
11225
|
+
"flood"
|
|
11226
|
+
],
|
|
11227
|
+
"action": [
|
|
11228
|
+
"accent",
|
|
11229
|
+
"ink",
|
|
11230
|
+
"deep"
|
|
11231
|
+
],
|
|
11232
|
+
"rhythm": [
|
|
11233
|
+
"free",
|
|
11234
|
+
"one-ground",
|
|
11235
|
+
"long-runs",
|
|
11236
|
+
"alternate",
|
|
11237
|
+
"paper-picture",
|
|
11238
|
+
"chapters",
|
|
11239
|
+
"tail",
|
|
11240
|
+
"flood",
|
|
11241
|
+
"flow"
|
|
11242
|
+
],
|
|
11243
|
+
"bands": [
|
|
11244
|
+
"full",
|
|
11245
|
+
"inset"
|
|
11246
|
+
],
|
|
11247
|
+
"wash": [
|
|
11248
|
+
"flat",
|
|
11249
|
+
"gradient",
|
|
11250
|
+
"glow",
|
|
11251
|
+
"photo-dim"
|
|
11252
|
+
],
|
|
11253
|
+
"pictures": [
|
|
11254
|
+
"natural",
|
|
11255
|
+
"warm",
|
|
11256
|
+
"cool",
|
|
11257
|
+
"mono"
|
|
11258
|
+
],
|
|
11259
|
+
"source": [
|
|
11260
|
+
"brand",
|
|
11261
|
+
"photos",
|
|
11262
|
+
"look"
|
|
11263
|
+
]
|
|
11264
|
+
},
|
|
11265
|
+
"meanings": {
|
|
11266
|
+
"ground.look": "the look's own page ground",
|
|
11267
|
+
"ground.paper": "a warm paper: cream, bone or sand",
|
|
11268
|
+
"ground.white": "white, with the brand's breath in the soft ground",
|
|
11269
|
+
"ground.cool": "a cool, faintly blue or green paper",
|
|
11270
|
+
"dark.ink": "the look's neutral near-black",
|
|
11271
|
+
"dark.brand-deep": "the brand's own hue, very dark (navy, plum, forest, olive)",
|
|
11272
|
+
"dark.earth": "a warm earth brown, whatever the brand",
|
|
11273
|
+
"accent.signal": "the brand colour on actions, a last word, bullets and at most one band",
|
|
11274
|
+
"accent.one-place": "the brand colour in ONE place: the main action or one mark",
|
|
11275
|
+
"accent.none": "no accent: the pictures carry the colour",
|
|
11276
|
+
"accent.flood": "whole sections in full colours, taking turns",
|
|
11277
|
+
"action.accent": "the main button in the brand colour",
|
|
11278
|
+
"action.ink": "the main button in the page's ink",
|
|
11279
|
+
"action.deep": "the main button in the deep colour",
|
|
11280
|
+
"rhythm.free": "each section's ground as its own scheme chooses",
|
|
11281
|
+
"rhythm.one-ground": "one ground for most of the page, one dark before the footer",
|
|
11282
|
+
"rhythm.long-runs": "long light runs broken by one dark section",
|
|
11283
|
+
"rhythm.alternate": "grounds alternate dark and light, section by section",
|
|
11284
|
+
"rhythm.paper-picture": "paper and full pictures take turns",
|
|
11285
|
+
"rhythm.chapters": "the ground changes only where a chapter starts",
|
|
11286
|
+
"rhythm.tail": "the last bands share the footer's ground, so the end reads as one block",
|
|
11287
|
+
"rhythm.flood": "a different full colour each section",
|
|
11288
|
+
"rhythm.flow": "the ground changes with the scroll, with no section edge",
|
|
11289
|
+
"bands.full": "a coloured section spans the window",
|
|
11290
|
+
"bands.inset": "a coloured section is a rounded card on the page's ground",
|
|
11291
|
+
"wash.flat": "flat grounds",
|
|
11292
|
+
"wash.gradient": "a coloured ground fades vertically to the next colour",
|
|
11293
|
+
"wash.glow": "soft glows of the brand on the paper",
|
|
11294
|
+
"wash.photo-dim": "a full photo, dimmed, as a ground",
|
|
11295
|
+
"pictures.natural": "pictures as taken",
|
|
11296
|
+
"pictures.warm": "pictures warmed a little",
|
|
11297
|
+
"pictures.cool": "pictures cooled and darkened a little",
|
|
11298
|
+
"pictures.mono": "pictures in black and white, one subject in colour",
|
|
11299
|
+
"source.brand": "the owner's brand colour",
|
|
11300
|
+
"source.photos": "a colour measured from the owner's photos",
|
|
11301
|
+
"source.look": "the look's own colour"
|
|
11302
|
+
},
|
|
11303
|
+
"meaningsHe": {
|
|
11304
|
+
"ground.look": "רקע הדף של העיצוב עצמו",
|
|
11305
|
+
"ground.paper": "נייר חם: שמנת, עצם או חול",
|
|
11306
|
+
"ground.white": "לבן, עם נשימה של צבע המותג ברקע הרך",
|
|
11307
|
+
"ground.cool": "נייר קריר, נוטה מעט לכחול או לירוק",
|
|
11308
|
+
"dark.ink": "השחור-כמעט הנייטרלי של העיצוב",
|
|
11309
|
+
"dark.brand-deep": "הגוון של המותג עצמו, כהה מאוד (כחול לילה, שזיף, יער, זית)",
|
|
11310
|
+
"dark.earth": "חום אדמה חם, מה שלא יהיה המותג",
|
|
11311
|
+
"accent.signal": "צבע המותג על פעולות, מילה אחרונה, תבליטים ולכל היותר אזור אחד",
|
|
11312
|
+
"accent.one-place": "צבע המותג במקום אחד בלבד: הפעולה הראשית או סימן אחד",
|
|
11313
|
+
"accent.none": "בלי צבע הדגשה: התמונות נושאות את הצבע",
|
|
11314
|
+
"accent.flood": "אזורים שלמים בצבעים מלאים, לסירוגין",
|
|
11315
|
+
"action.accent": "הכפתור הראשי בצבע המותג",
|
|
11316
|
+
"action.ink": "הכפתור הראשי בצבע הדיו של הדף",
|
|
11317
|
+
"action.deep": "הכפתור הראשי בצבע הכהה",
|
|
11318
|
+
"rhythm.free": "הרקע של כל אזור כפי שערכת הצבע שלו בוחרת",
|
|
11319
|
+
"rhythm.one-ground": "רקע אחד לרוב הדף, ואזור כהה אחד לפני הכותרת התחתונה",
|
|
11320
|
+
"rhythm.long-runs": "רצפים בהירים ארוכים שאזור כהה אחד שובר",
|
|
11321
|
+
"rhythm.alternate": "הרקעים מתחלפים כהה ובהיר, אזור אחרי אזור",
|
|
11322
|
+
"rhythm.paper-picture": "נייר ותמונות מלאות לסירוגין",
|
|
11323
|
+
"rhythm.chapters": "הרקע מתחלף רק במקום שבו פרק מתחיל",
|
|
11324
|
+
"rhythm.tail": "האזורים האחרונים חולקים את הרקע של הכותרת התחתונה, כך שהסוף נקרא כגוש אחד",
|
|
11325
|
+
"rhythm.flood": "צבע מלא אחר בכל אזור",
|
|
11326
|
+
"rhythm.flow": "הרקע מתחלף עם הגלילה, בלי קצה בין אזורים",
|
|
11327
|
+
"bands.full": "אזור צבעוני שנפרש לכל רוחב החלון",
|
|
11328
|
+
"bands.inset": "אזור צבעוני ככרטיס מעוגל על רקע הדף",
|
|
11329
|
+
"wash.flat": "רקעים אחידים",
|
|
11330
|
+
"wash.gradient": "רקע צבעוני שדוהה מלמעלה למטה אל הצבע הבא",
|
|
11331
|
+
"wash.glow": "זוהר רך של צבע המותג על הנייר",
|
|
11332
|
+
"wash.photo-dim": "תמונה מלאה, מעומעמת, כרקע",
|
|
11333
|
+
"pictures.natural": "התמונות כפי שצולמו",
|
|
11334
|
+
"pictures.warm": "התמונות מחוממות מעט",
|
|
11335
|
+
"pictures.cool": "התמונות מקוררות ומוכהות מעט",
|
|
11336
|
+
"pictures.mono": "התמונות בשחור-לבן, ונושא אחד בצבע",
|
|
11337
|
+
"source.brand": "צבע המותג של בעל העסק",
|
|
11338
|
+
"source.photos": "צבע שנמדד מהתמונות של בעל העסק",
|
|
11339
|
+
"source.look": "הצבע של העיצוב עצמו"
|
|
11340
|
+
},
|
|
11341
|
+
"waits": {
|
|
11342
|
+
"ground.paper": {
|
|
11343
|
+
"phase": "CV2",
|
|
11344
|
+
"drawnAs": "look"
|
|
11345
|
+
},
|
|
11346
|
+
"ground.white": {
|
|
11347
|
+
"phase": "CV2",
|
|
11348
|
+
"drawnAs": "look"
|
|
11349
|
+
},
|
|
11350
|
+
"ground.cool": {
|
|
11351
|
+
"phase": "CV2",
|
|
11352
|
+
"drawnAs": "look"
|
|
11353
|
+
},
|
|
11354
|
+
"dark.brand-deep": {
|
|
11355
|
+
"phase": "CV2",
|
|
11356
|
+
"drawnAs": "ink"
|
|
11357
|
+
},
|
|
11358
|
+
"dark.earth": {
|
|
11359
|
+
"phase": "CV2",
|
|
11360
|
+
"drawnAs": "ink"
|
|
11361
|
+
},
|
|
11362
|
+
"accent.one-place": {
|
|
11363
|
+
"phase": "CV2",
|
|
11364
|
+
"drawnAs": "signal"
|
|
11365
|
+
},
|
|
11366
|
+
"accent.none": {
|
|
11367
|
+
"phase": "CV2",
|
|
11368
|
+
"drawnAs": "signal"
|
|
11369
|
+
},
|
|
11370
|
+
"accent.flood": {
|
|
11371
|
+
"phase": "CV2",
|
|
11372
|
+
"drawnAs": "signal"
|
|
11373
|
+
},
|
|
11374
|
+
"action.ink": {
|
|
11375
|
+
"phase": "CV2",
|
|
11376
|
+
"drawnAs": "accent"
|
|
11377
|
+
},
|
|
11378
|
+
"action.deep": {
|
|
11379
|
+
"phase": "CV2",
|
|
11380
|
+
"drawnAs": "accent"
|
|
11381
|
+
},
|
|
11382
|
+
"rhythm.one-ground": {
|
|
11383
|
+
"phase": "CV2",
|
|
11384
|
+
"drawnAs": "free"
|
|
11385
|
+
},
|
|
11386
|
+
"rhythm.long-runs": {
|
|
11387
|
+
"phase": "CV2",
|
|
11388
|
+
"drawnAs": "free"
|
|
11389
|
+
},
|
|
11390
|
+
"rhythm.alternate": {
|
|
11391
|
+
"phase": "CV2",
|
|
11392
|
+
"drawnAs": "free"
|
|
11393
|
+
},
|
|
11394
|
+
"rhythm.paper-picture": {
|
|
11395
|
+
"phase": "CV2",
|
|
11396
|
+
"drawnAs": "free"
|
|
11397
|
+
},
|
|
11398
|
+
"rhythm.chapters": {
|
|
11399
|
+
"phase": "CV2",
|
|
11400
|
+
"drawnAs": "free"
|
|
11401
|
+
},
|
|
11402
|
+
"rhythm.tail": {
|
|
11403
|
+
"phase": "CV2",
|
|
11404
|
+
"drawnAs": "free"
|
|
11405
|
+
},
|
|
11406
|
+
"rhythm.flood": {
|
|
11407
|
+
"phase": "CV2",
|
|
11408
|
+
"drawnAs": "free"
|
|
11409
|
+
},
|
|
11410
|
+
"rhythm.flow": {
|
|
11411
|
+
"phase": "CV5",
|
|
11412
|
+
"drawnAs": "free"
|
|
11413
|
+
},
|
|
11414
|
+
"bands.inset": {
|
|
11415
|
+
"phase": "CV2",
|
|
11416
|
+
"drawnAs": "full"
|
|
11417
|
+
},
|
|
11418
|
+
"wash.gradient": {
|
|
11419
|
+
"phase": "CV3",
|
|
11420
|
+
"drawnAs": "flat"
|
|
11421
|
+
},
|
|
11422
|
+
"wash.glow": {
|
|
11423
|
+
"phase": "CV3",
|
|
11424
|
+
"drawnAs": "flat"
|
|
11425
|
+
},
|
|
11426
|
+
"wash.photo-dim": {
|
|
11427
|
+
"phase": "CV3",
|
|
11428
|
+
"drawnAs": "flat"
|
|
11429
|
+
},
|
|
11430
|
+
"pictures.warm": {
|
|
11431
|
+
"phase": "CV4",
|
|
11432
|
+
"drawnAs": "natural"
|
|
11433
|
+
},
|
|
11434
|
+
"pictures.cool": {
|
|
11435
|
+
"phase": "CV4",
|
|
11436
|
+
"drawnAs": "natural"
|
|
11437
|
+
},
|
|
11438
|
+
"pictures.mono": {
|
|
11439
|
+
"phase": "CV4",
|
|
11440
|
+
"drawnAs": "natural"
|
|
11441
|
+
},
|
|
11442
|
+
"source.photos": {
|
|
11443
|
+
"phase": "CV4",
|
|
11444
|
+
"drawnAs": "brand"
|
|
11445
|
+
}
|
|
11446
|
+
},
|
|
11447
|
+
"waitingIngredients": {},
|
|
11448
|
+
"defaults": {
|
|
11449
|
+
"ground": "look",
|
|
11450
|
+
"dark": "ink",
|
|
11451
|
+
"accent": "signal",
|
|
11452
|
+
"action": "accent",
|
|
11453
|
+
"rhythm": "free",
|
|
11454
|
+
"bands": "full",
|
|
11455
|
+
"wash": "flat",
|
|
11456
|
+
"pictures": "natural",
|
|
11457
|
+
"source": "brand"
|
|
11458
|
+
},
|
|
11459
|
+
"fingerprint": [
|
|
11460
|
+
"ground",
|
|
11461
|
+
"dark",
|
|
11462
|
+
"accent",
|
|
11463
|
+
"rhythm"
|
|
11464
|
+
],
|
|
11465
|
+
"rhythms": {
|
|
11466
|
+
"free": {},
|
|
11467
|
+
"one-ground": {
|
|
11468
|
+
"darks": 1
|
|
11469
|
+
},
|
|
11470
|
+
"long-runs": {
|
|
11471
|
+
"run": 3,
|
|
11472
|
+
"breaks": 1
|
|
11473
|
+
},
|
|
11474
|
+
"alternate": {
|
|
11475
|
+
"neighbours": "differ"
|
|
11476
|
+
},
|
|
11477
|
+
"paper-picture": {
|
|
11478
|
+
"every": 2
|
|
11479
|
+
},
|
|
11480
|
+
"chapters": {
|
|
11481
|
+
"changesAt": [
|
|
11482
|
+
"inhale",
|
|
11483
|
+
"signature"
|
|
11484
|
+
]
|
|
11485
|
+
},
|
|
11486
|
+
"tail": {
|
|
11487
|
+
"last": 2
|
|
11488
|
+
},
|
|
11489
|
+
"flood": {
|
|
11490
|
+
"neighbours": "differ",
|
|
11491
|
+
"apart": 2
|
|
11492
|
+
},
|
|
11493
|
+
"flow": {
|
|
11494
|
+
"crossfade": "opacity"
|
|
11495
|
+
}
|
|
11496
|
+
},
|
|
11497
|
+
"rules": {
|
|
11498
|
+
"groundsMax": {
|
|
11499
|
+
"signal": 3,
|
|
11500
|
+
"one-place": 3,
|
|
11501
|
+
"none": 3,
|
|
11502
|
+
"flood": 5
|
|
11503
|
+
},
|
|
11504
|
+
"accentMax": {
|
|
11505
|
+
"signal": 4,
|
|
11506
|
+
"one-place": 1,
|
|
11507
|
+
"none": 0,
|
|
11508
|
+
"flood": 10
|
|
11509
|
+
},
|
|
11510
|
+
"mutedGroundIn": [
|
|
11511
|
+
"drawers"
|
|
11512
|
+
],
|
|
11513
|
+
"accentKeepsSeed": true,
|
|
11514
|
+
"washAudited": true
|
|
11515
|
+
},
|
|
11516
|
+
"tiers": {
|
|
11517
|
+
"ground.look": "all",
|
|
11518
|
+
"ground.paper": "all",
|
|
11519
|
+
"ground.white": "all",
|
|
11520
|
+
"ground.cool": "all",
|
|
11521
|
+
"dark.ink": "all",
|
|
11522
|
+
"dark.brand-deep": "all",
|
|
11523
|
+
"dark.earth": "all",
|
|
11524
|
+
"accent.signal": "all",
|
|
11525
|
+
"accent.one-place": "all",
|
|
11526
|
+
"accent.none": "all",
|
|
11527
|
+
"action.accent": "all",
|
|
11528
|
+
"action.ink": "all",
|
|
11529
|
+
"action.deep": "all",
|
|
11530
|
+
"rhythm.free": "all",
|
|
11531
|
+
"rhythm.one-ground": "all",
|
|
11532
|
+
"rhythm.long-runs": "all",
|
|
11533
|
+
"rhythm.tail": "all",
|
|
11534
|
+
"bands.full": "all",
|
|
11535
|
+
"bands.inset": "all",
|
|
11536
|
+
"wash.flat": "all",
|
|
11537
|
+
"wash.glow": "all",
|
|
11538
|
+
"pictures.natural": "all",
|
|
11539
|
+
"source.brand": "all",
|
|
11540
|
+
"source.look": "all",
|
|
11541
|
+
"rules.groundsMax": "all",
|
|
11542
|
+
"rules.accentMax": "all",
|
|
11543
|
+
"rules.mutedGroundIn": "all",
|
|
11544
|
+
"rules.accentKeepsSeed": "all",
|
|
11545
|
+
"rules.washAudited": "all",
|
|
11546
|
+
"accent.flood": "pro",
|
|
11547
|
+
"rhythm.alternate": "pro",
|
|
11548
|
+
"rhythm.paper-picture": "pro",
|
|
11549
|
+
"rhythm.chapters": "pro",
|
|
11550
|
+
"rhythm.flood": "pro",
|
|
11551
|
+
"rhythm.flow": "pro",
|
|
11552
|
+
"wash.gradient": "pro",
|
|
11553
|
+
"wash.photo-dim": "pro",
|
|
11554
|
+
"pictures.warm": "pro",
|
|
11555
|
+
"pictures.cool": "pro",
|
|
11556
|
+
"pictures.mono": "pro",
|
|
11557
|
+
"source.photos": "pro"
|
|
11558
|
+
},
|
|
11559
|
+
"presets": {
|
|
11560
|
+
"clear-care": {
|
|
11561
|
+
"ground": "white",
|
|
11562
|
+
"dark": "brand-deep",
|
|
11563
|
+
"accent": "one-place",
|
|
11564
|
+
"action": "accent",
|
|
11565
|
+
"rhythm": "one-ground",
|
|
11566
|
+
"bands": "inset",
|
|
11567
|
+
"wash": "flat"
|
|
11568
|
+
},
|
|
11569
|
+
"swiss-grid": {
|
|
11570
|
+
"ground": "white",
|
|
11571
|
+
"dark": "ink",
|
|
11572
|
+
"accent": "none",
|
|
11573
|
+
"action": "ink",
|
|
11574
|
+
"rhythm": "long-runs",
|
|
11575
|
+
"bands": "full",
|
|
11576
|
+
"wash": "flat"
|
|
11577
|
+
},
|
|
11578
|
+
"trusted-advisor": {
|
|
11579
|
+
"ground": "white",
|
|
11580
|
+
"dark": "brand-deep",
|
|
11581
|
+
"accent": "none",
|
|
11582
|
+
"action": "ink",
|
|
11583
|
+
"rhythm": "one-ground",
|
|
11584
|
+
"bands": "full",
|
|
11585
|
+
"wash": "flat"
|
|
11586
|
+
},
|
|
11587
|
+
"fresh-practice": {
|
|
11588
|
+
"ground": "cool",
|
|
11589
|
+
"dark": "brand-deep",
|
|
11590
|
+
"accent": "signal",
|
|
11591
|
+
"action": "accent",
|
|
11592
|
+
"rhythm": "long-runs",
|
|
11593
|
+
"bands": "inset",
|
|
11594
|
+
"wash": "glow"
|
|
11595
|
+
},
|
|
11596
|
+
"gallery-minimal": {
|
|
11597
|
+
"ground": "paper",
|
|
11598
|
+
"dark": "ink",
|
|
11599
|
+
"accent": "none",
|
|
11600
|
+
"action": "ink",
|
|
11601
|
+
"rhythm": "one-ground",
|
|
11602
|
+
"bands": "full",
|
|
11603
|
+
"wash": "flat"
|
|
11604
|
+
},
|
|
11605
|
+
"warm-editorial": {
|
|
11606
|
+
"ground": "paper",
|
|
11607
|
+
"dark": "earth",
|
|
11608
|
+
"accent": "signal",
|
|
11609
|
+
"action": "accent",
|
|
11610
|
+
"rhythm": "paper-picture",
|
|
11611
|
+
"bands": "full",
|
|
11612
|
+
"wash": "flat"
|
|
11613
|
+
},
|
|
11614
|
+
"soft-spa": {
|
|
11615
|
+
"ground": "paper",
|
|
11616
|
+
"dark": "brand-deep",
|
|
11617
|
+
"accent": "one-place",
|
|
11618
|
+
"action": "deep",
|
|
11619
|
+
"rhythm": "long-runs",
|
|
11620
|
+
"bands": "inset",
|
|
11621
|
+
"wash": "flat"
|
|
11622
|
+
},
|
|
11623
|
+
"quiet-luxury": {
|
|
11624
|
+
"ground": "paper",
|
|
11625
|
+
"dark": "earth",
|
|
11626
|
+
"accent": "one-place",
|
|
11627
|
+
"action": "deep",
|
|
11628
|
+
"rhythm": "chapters",
|
|
11629
|
+
"bands": "full",
|
|
11630
|
+
"wash": "flat"
|
|
11631
|
+
},
|
|
11632
|
+
"after-dark": {
|
|
11633
|
+
"ground": "look",
|
|
11634
|
+
"dark": "ink",
|
|
11635
|
+
"accent": "signal",
|
|
11636
|
+
"action": "accent",
|
|
11637
|
+
"rhythm": "long-runs",
|
|
11638
|
+
"bands": "inset",
|
|
11639
|
+
"wash": "glow"
|
|
11640
|
+
},
|
|
11641
|
+
"ink-studio": {
|
|
11642
|
+
"ground": "look",
|
|
11643
|
+
"dark": "ink",
|
|
11644
|
+
"accent": "signal",
|
|
11645
|
+
"action": "accent",
|
|
11646
|
+
"rhythm": "alternate",
|
|
11647
|
+
"bands": "full",
|
|
11648
|
+
"wash": "flat"
|
|
11649
|
+
},
|
|
11650
|
+
"night-gallery": {
|
|
11651
|
+
"ground": "look",
|
|
11652
|
+
"dark": "ink",
|
|
11653
|
+
"accent": "none",
|
|
11654
|
+
"action": "ink",
|
|
11655
|
+
"rhythm": "one-ground",
|
|
11656
|
+
"bands": "full",
|
|
11657
|
+
"wash": "flat"
|
|
11658
|
+
},
|
|
11659
|
+
"tech-studio": {
|
|
11660
|
+
"ground": "look",
|
|
11661
|
+
"dark": "ink",
|
|
11662
|
+
"accent": "signal",
|
|
11663
|
+
"action": "accent",
|
|
11664
|
+
"rhythm": "long-runs",
|
|
11665
|
+
"bands": "inset",
|
|
11666
|
+
"wash": "glow"
|
|
11667
|
+
},
|
|
11668
|
+
"morning-glass": {
|
|
11669
|
+
"ground": "cool",
|
|
11670
|
+
"dark": "brand-deep",
|
|
11671
|
+
"accent": "one-place",
|
|
11672
|
+
"action": "accent",
|
|
11673
|
+
"rhythm": "long-runs",
|
|
11674
|
+
"bands": "inset",
|
|
11675
|
+
"wash": "glow"
|
|
11676
|
+
},
|
|
11677
|
+
"holiday-light": {
|
|
11678
|
+
"ground": "cool",
|
|
11679
|
+
"dark": "brand-deep",
|
|
11680
|
+
"accent": "signal",
|
|
11681
|
+
"action": "accent",
|
|
11682
|
+
"rhythm": "long-runs",
|
|
11683
|
+
"bands": "inset",
|
|
11684
|
+
"wash": "glow"
|
|
11685
|
+
},
|
|
11686
|
+
"frosted-portfolio": {
|
|
11687
|
+
"ground": "cool",
|
|
11688
|
+
"dark": "brand-deep",
|
|
11689
|
+
"accent": "none",
|
|
11690
|
+
"action": "ink",
|
|
11691
|
+
"rhythm": "one-ground",
|
|
11692
|
+
"bands": "inset",
|
|
11693
|
+
"wash": "glow"
|
|
11694
|
+
},
|
|
11695
|
+
"coral-studio": {
|
|
11696
|
+
"ground": "paper",
|
|
11697
|
+
"dark": "brand-deep",
|
|
11698
|
+
"accent": "signal",
|
|
11699
|
+
"action": "accent",
|
|
11700
|
+
"rhythm": "alternate",
|
|
11701
|
+
"bands": "inset",
|
|
11702
|
+
"wash": "flat"
|
|
11703
|
+
},
|
|
11704
|
+
"corner-cafe": {
|
|
11705
|
+
"ground": "paper",
|
|
11706
|
+
"dark": "brand-deep",
|
|
11707
|
+
"accent": "one-place",
|
|
11708
|
+
"action": "ink",
|
|
11709
|
+
"rhythm": "one-ground",
|
|
11710
|
+
"bands": "inset",
|
|
11711
|
+
"wash": "flat"
|
|
11712
|
+
},
|
|
11713
|
+
"kind-community": {
|
|
11714
|
+
"ground": "paper",
|
|
11715
|
+
"dark": "brand-deep",
|
|
11716
|
+
"accent": "signal",
|
|
11717
|
+
"action": "accent",
|
|
11718
|
+
"rhythm": "long-runs",
|
|
11719
|
+
"bands": "inset",
|
|
11720
|
+
"wash": "flat"
|
|
11721
|
+
},
|
|
11722
|
+
"little-ones": {
|
|
11723
|
+
"ground": "paper",
|
|
11724
|
+
"dark": "brand-deep",
|
|
11725
|
+
"accent": "flood",
|
|
11726
|
+
"action": "accent",
|
|
11727
|
+
"rhythm": "flood",
|
|
11728
|
+
"bands": "full",
|
|
11729
|
+
"wash": "flat"
|
|
11730
|
+
},
|
|
11731
|
+
"garden-party": {
|
|
11732
|
+
"ground": "paper",
|
|
11733
|
+
"dark": "brand-deep",
|
|
11734
|
+
"accent": "one-place",
|
|
11735
|
+
"action": "deep",
|
|
11736
|
+
"rhythm": "long-runs",
|
|
11737
|
+
"bands": "inset",
|
|
11738
|
+
"wash": "glow"
|
|
11739
|
+
},
|
|
11740
|
+
"bold-maker": {
|
|
11741
|
+
"ground": "look",
|
|
11742
|
+
"dark": "ink",
|
|
11743
|
+
"accent": "flood",
|
|
11744
|
+
"action": "accent",
|
|
11745
|
+
"rhythm": "flood",
|
|
11746
|
+
"bands": "full",
|
|
11747
|
+
"wash": "flat"
|
|
11748
|
+
},
|
|
11749
|
+
"festival": {
|
|
11750
|
+
"ground": "look",
|
|
11751
|
+
"dark": "ink",
|
|
11752
|
+
"accent": "flood",
|
|
11753
|
+
"action": "accent",
|
|
11754
|
+
"rhythm": "flood",
|
|
11755
|
+
"bands": "full",
|
|
11756
|
+
"wash": "flat"
|
|
11757
|
+
},
|
|
11758
|
+
"zine": {
|
|
11759
|
+
"ground": "look",
|
|
11760
|
+
"dark": "ink",
|
|
11761
|
+
"accent": "signal",
|
|
11762
|
+
"action": "ink",
|
|
11763
|
+
"rhythm": "alternate",
|
|
11764
|
+
"bands": "full",
|
|
11765
|
+
"wash": "flat"
|
|
11766
|
+
},
|
|
11767
|
+
"fresh-market": {
|
|
11768
|
+
"ground": "paper",
|
|
11769
|
+
"dark": "brand-deep",
|
|
11770
|
+
"accent": "flood",
|
|
11771
|
+
"action": "accent",
|
|
11772
|
+
"rhythm": "flood",
|
|
11773
|
+
"bands": "full",
|
|
11774
|
+
"wash": "flat"
|
|
11775
|
+
}
|
|
11776
|
+
},
|
|
11777
|
+
"references": [
|
|
11778
|
+
{
|
|
11779
|
+
"id": "one-accent-one-place",
|
|
11780
|
+
"after": "readings: restaurantonyx, oura, vonder, thepopuphotel (colour-v2 §3a)",
|
|
11781
|
+
"added": "2026-11-28",
|
|
11782
|
+
"mix": {
|
|
11783
|
+
"accent": "one-place",
|
|
11784
|
+
"action": "ink",
|
|
11785
|
+
"rhythm": "one-ground"
|
|
11786
|
+
}
|
|
11787
|
+
},
|
|
11788
|
+
{
|
|
11789
|
+
"id": "pictures-are-the-colour",
|
|
11790
|
+
"after": "readings: 8pm, adcker, cancan, mooov, flyward (colour-v2 §3a)",
|
|
11791
|
+
"added": "2026-11-28",
|
|
11792
|
+
"mix": {
|
|
11793
|
+
"accent": "none",
|
|
11794
|
+
"ground": "white",
|
|
11795
|
+
"action": "ink"
|
|
11796
|
+
}
|
|
11797
|
+
},
|
|
11798
|
+
{
|
|
11799
|
+
"id": "warm-grounds-brown-bands",
|
|
11800
|
+
"after": "readings: hotelaurelia, reddottours, savvia (colour-v2 §3b)",
|
|
11801
|
+
"added": "2026-11-28",
|
|
11802
|
+
"mix": {
|
|
11803
|
+
"ground": "paper",
|
|
11804
|
+
"dark": "earth",
|
|
11805
|
+
"rhythm": "alternate"
|
|
11806
|
+
}
|
|
11807
|
+
},
|
|
11808
|
+
{
|
|
11809
|
+
"id": "deep-brand-at-the-end",
|
|
11810
|
+
"after": "readings: atticus, schlosshotel (colour-v2 §3b; award §3.6 end-as-one-block)",
|
|
11811
|
+
"added": "2026-11-28",
|
|
11812
|
+
"mix": {
|
|
11813
|
+
"dark": "brand-deep",
|
|
11814
|
+
"rhythm": "tail",
|
|
11815
|
+
"action": "deep"
|
|
11816
|
+
}
|
|
11817
|
+
},
|
|
11818
|
+
{
|
|
11819
|
+
"id": "signal-on-paper",
|
|
11820
|
+
"after": "readings: coutumes, daylight, polene (colour-v2 §3c)",
|
|
11821
|
+
"added": "2026-11-28",
|
|
11822
|
+
"mix": {
|
|
11823
|
+
"ground": "paper",
|
|
11824
|
+
"accent": "signal",
|
|
11825
|
+
"rhythm": "paper-picture"
|
|
11826
|
+
}
|
|
11827
|
+
},
|
|
11828
|
+
{
|
|
11829
|
+
"id": "cards-of-colour",
|
|
11830
|
+
"after": "readings: graya, oura, haven, plumeform (colour-v2 §3c)",
|
|
11831
|
+
"added": "2026-11-28",
|
|
11832
|
+
"mix": {
|
|
11833
|
+
"bands": "inset",
|
|
11834
|
+
"rhythm": "long-runs"
|
|
11835
|
+
}
|
|
11836
|
+
},
|
|
11837
|
+
{
|
|
11838
|
+
"id": "grounds-take-turns",
|
|
11839
|
+
"after": "readings: bar-topas, mana, spylt, cravburgers (colour-v2 §3c)",
|
|
11840
|
+
"added": "2026-11-28",
|
|
11841
|
+
"mix": {
|
|
11842
|
+
"accent": "flood",
|
|
11843
|
+
"rhythm": "flood"
|
|
11844
|
+
}
|
|
11845
|
+
},
|
|
11846
|
+
{
|
|
11847
|
+
"id": "fade-to-dark",
|
|
11848
|
+
"after": "readings: landonorris, plumeform, allerstudio, enigmascult (colour-v2 §3d)",
|
|
11849
|
+
"added": "2026-11-28",
|
|
11850
|
+
"mix": {
|
|
11851
|
+
"wash": "gradient",
|
|
11852
|
+
"bands": "inset"
|
|
11853
|
+
}
|
|
11854
|
+
},
|
|
11855
|
+
{
|
|
11856
|
+
"id": "dimmed-photo-ground",
|
|
11857
|
+
"after": "readings: vesuvio, flyward, daylight (colour-v2 §3d)",
|
|
11858
|
+
"added": "2026-11-28",
|
|
11859
|
+
"mix": {
|
|
11860
|
+
"wash": "photo-dim",
|
|
11861
|
+
"rhythm": "tail"
|
|
11862
|
+
}
|
|
11863
|
+
},
|
|
11864
|
+
{
|
|
11865
|
+
"id": "light-changes-palette-stays",
|
|
11866
|
+
"after": "readings: daylight, landonorris (colour-v2 §3d)",
|
|
11867
|
+
"added": "2026-11-28",
|
|
11868
|
+
"mix": {
|
|
11869
|
+
"rhythm": "flow",
|
|
11870
|
+
"accent": "signal"
|
|
11871
|
+
}
|
|
11872
|
+
},
|
|
11873
|
+
{
|
|
11874
|
+
"id": "one-subject-in-colour",
|
|
11875
|
+
"after": "reading: chapter-one (colour-v2 §3e)",
|
|
11876
|
+
"added": "2026-11-28",
|
|
11877
|
+
"mix": {
|
|
11878
|
+
"pictures": "mono",
|
|
11879
|
+
"accent": "none"
|
|
11880
|
+
}
|
|
11881
|
+
},
|
|
11882
|
+
{
|
|
11883
|
+
"id": "dark-and-light-take-turns",
|
|
11884
|
+
"after": "award readings: spylt, plumeform, vault (§3.6)",
|
|
11885
|
+
"added": "2026-11-20",
|
|
11886
|
+
"mix": {
|
|
11887
|
+
"rhythm": "alternate"
|
|
11888
|
+
}
|
|
11889
|
+
},
|
|
11890
|
+
{
|
|
11891
|
+
"id": "grounds-change-at-chapters",
|
|
11892
|
+
"after": "award readings: daylight, lando, le-delizie (§3.6)",
|
|
11893
|
+
"added": "2026-11-20",
|
|
11894
|
+
"mix": {
|
|
11895
|
+
"rhythm": "chapters"
|
|
11896
|
+
}
|
|
11897
|
+
}
|
|
11898
|
+
]
|
|
11899
|
+
},
|
|
10865
11900
|
"popup": {
|
|
10866
11901
|
"ingredients": {
|
|
10867
11902
|
"kind": [
|
|
@@ -12830,6 +13865,7 @@ const NODE_BASELINES = {
|
|
|
12830
13865
|
"headerEdge",
|
|
12831
13866
|
"headerMix",
|
|
12832
13867
|
"headerInk",
|
|
13868
|
+
"headerGround",
|
|
12833
13869
|
"marqueeSpeed",
|
|
12834
13870
|
"marqueeDirection",
|
|
12835
13871
|
"marqueeFade",
|
|
@@ -19741,6 +20777,33 @@ function jsonSchemaObjects(node, out = []) {
|
|
|
19741
20777
|
return out;
|
|
19742
20778
|
}
|
|
19743
20779
|
|
|
20780
|
+
/**
|
|
20781
|
+
* A free page's slot words (`<kind>:<ref>`, free-parts.ts) — a leaf module (no imports): the plan validator, the judge and
|
|
20782
|
+
* the stamp read them without reordering the generation-core load. Pure.
|
|
20783
|
+
*/
|
|
20784
|
+
var FreeSlotKind;
|
|
20785
|
+
(function (FreeSlotKind) {
|
|
20786
|
+
FreeSlotKind["List"] = "list";
|
|
20787
|
+
FreeSlotKind["Form"] = "form";
|
|
20788
|
+
FreeSlotKind["Accordion"] = "accordion";
|
|
20789
|
+
FreeSlotKind["Tabs"] = "tabs";
|
|
20790
|
+
FreeSlotKind["Quotes"] = "quotes";
|
|
20791
|
+
})(FreeSlotKind || (FreeSlotKind = {}));
|
|
20792
|
+
/** The separator between a slot's kind and what it names (`list:projects`). */
|
|
20793
|
+
const FREE_SLOT_SEPARATOR = ':';
|
|
20794
|
+
/** A list slot's option that opens a clicked picture large (CC3 Lightbox) — not a list mix word. */
|
|
20795
|
+
const FREE_OPEN_LIGHTBOX = 'open:lightbox';
|
|
20796
|
+
/** `<kind>:<ref>` — a slot word. */
|
|
20797
|
+
const freeSlotWord = (kind, ref) => `${kind}${FREE_SLOT_SEPARATOR}${ref}`;
|
|
20798
|
+
/** A slot word read back: its kind and what it names (null for a word of no known kind). */
|
|
20799
|
+
function freeSlotOf(slot) {
|
|
20800
|
+
const at = slot.indexOf(FREE_SLOT_SEPARATOR);
|
|
20801
|
+
if (at < 0)
|
|
20802
|
+
return null;
|
|
20803
|
+
const kind = slot.slice(0, at);
|
|
20804
|
+
return Object.values(FreeSlotKind).includes(kind) ? { kind, ref: slot.slice(at + 1) } : null;
|
|
20805
|
+
}
|
|
20806
|
+
|
|
19744
20807
|
/**
|
|
19745
20808
|
* The plan stage's word checks (AI plan §3d / §3h, M1-3): every text a model WROTE into a plan — the tagline, page
|
|
19746
20809
|
* names, section slots, content-type labels, sample values — scanned for the words the owner and their kind of
|
|
@@ -19798,7 +20861,7 @@ function writtenTexts(plan) {
|
|
|
19798
20861
|
});
|
|
19799
20862
|
return out;
|
|
19800
20863
|
}
|
|
19801
|
-
const HEBREW$
|
|
20864
|
+
const HEBREW$6 = /[-]/;
|
|
19802
20865
|
/** Hebrew joins up to two one-letter words (and, the, in, to, from, that, as) to the next: "והטוב" holds "טוב". The
|
|
19803
20866
|
* ONE rule — the intake's keyword match (harness-core) uses it too. */
|
|
19804
20867
|
const HEBREW_PREFIXES = '[והבלמשכ]{0,2}';
|
|
@@ -19807,7 +20870,7 @@ const normalise = (s) => s.normalize('NFKC').toLowerCase();
|
|
|
19807
20870
|
/** A word (or phrase) as a whole-word pattern; Hebrew allows its one-letter prefixes. */
|
|
19808
20871
|
function wordPattern(word) {
|
|
19809
20872
|
const w = escape(normalise(word.trim())).replace(/\s+/g, '\\s+');
|
|
19810
|
-
const prefix = HEBREW$
|
|
20873
|
+
const prefix = HEBREW$6.test(word) ? HEBREW_PREFIXES : '';
|
|
19811
20874
|
return new RegExp(`(?<![\\p{L}\\p{N}])${prefix}${w}(?![\\p{L}\\p{N}])`, 'u');
|
|
19812
20875
|
}
|
|
19813
20876
|
const PRICE_SHAPE = { kind: 'price', pattern: /(?:[$€£₪]\s?\d[\d,.]*|\d[\d,.]*\s?(?:[$€£₪]|ש"ח|NIS|USD|EUR|GBP))/gu, key: (m) => m.replace(/[^\d]/g, '') };
|
|
@@ -20345,6 +21408,21 @@ function layoutScrubTakes(layer, textual, scrub, context = {}) {
|
|
|
20345
21408
|
return scrubsEntrance(scrub, reveals ? TEXT_REVEAL : layer.enter, context);
|
|
20346
21409
|
}
|
|
20347
21410
|
|
|
21411
|
+
/**
|
|
21412
|
+
* AW-D42 (Doron, 2026-11-28: "we don't need the award website for Pro" — AW-D23's word gate overturned): EVERY PART IS
|
|
21413
|
+
* EVERY TIER'S. A word, a recipe, a table row or a wire key the contract once held for the award tier (its `tier: 'pro'`
|
|
21414
|
+
* / `'award'`) is offered to a build at any tier. The tier now decides only HOW MUCH the model composes (AW-D24: which
|
|
21415
|
+
* pages, `withComposedPages`) — never what a site may wear.
|
|
21416
|
+
*
|
|
21417
|
+
* This is the ONE predicate every part offer reads — the body, opening, list and footer words, the layout signatures,
|
|
21418
|
+
* the plan wire's keys. The contract's `tier` column stays as each row's history (the tier it was first drawn for), so a
|
|
21419
|
+
* price split, should one ever come back, comes back here and nowhere else. A leaf module (no imports): the mixes read it
|
|
21420
|
+
* without reordering the generation-core load. Pure.
|
|
21421
|
+
*/
|
|
21422
|
+
function tierOffers(_rowTier, _tier) {
|
|
21423
|
+
return true;
|
|
21424
|
+
}
|
|
21425
|
+
|
|
20348
21426
|
/**
|
|
20349
21427
|
* AW9 `drawers` (award plan "Reddottours" S4, RT-D1): a held section whose STEPS slide in from the inline end, one after
|
|
20350
21428
|
* the other, linearly with the scroll, and stop one spine after the step before — so the stack builds a row of titled
|
|
@@ -20411,10 +21489,10 @@ function drawerRamp(n) {
|
|
|
20411
21489
|
const ramp = D.ramp[String(n)];
|
|
20412
21490
|
return ramp ? ramp.map(id => id) : null;
|
|
20413
21491
|
}
|
|
20414
|
-
/** A signature of the contract offered to a build at `tier`:
|
|
21492
|
+
/** A signature of the contract offered to a build at `tier`: every row, at every tier since AW-D42 (`tierOffers`). */
|
|
20415
21493
|
function layoutSignatureOffered(id, tier) {
|
|
20416
21494
|
const row = SPEC_SITE_LAYOUT.signatures.find(s => s.id === id);
|
|
20417
|
-
return !!row && (row.tier
|
|
21495
|
+
return !!row && tierOffers(row.tier, tier);
|
|
20418
21496
|
}
|
|
20419
21497
|
/** The section kinds the layout wire offers a build at `tier`: content · inhale · signature, and a signature kind
|
|
20420
21498
|
* (`drawers`) only where its signature is offered. */
|
|
@@ -20458,18 +21536,13 @@ function listMeaning(k, word, locale) {
|
|
|
20458
21536
|
return (commerceLanguage(locale) === CommerceLanguage.He ? MEANINGS_HE$1[key] : undefined) ?? MEANINGS$2[key] ?? word;
|
|
20459
21537
|
}
|
|
20460
21538
|
// ── AW11 (award-ingredients-plan.md §7.1f, board award-lists): the award tier, the rhythms, what each word needs ─────
|
|
20461
|
-
/**
|
|
21539
|
+
/** The tier a word was first drawn for (`all`, or `pro` — the award tier's, AW-D23); since AW-D42 every tier wears both. */
|
|
20462
21540
|
function listWordTier(k, word) {
|
|
20463
21541
|
return LIST_TABLE.tiers[`${k}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
20464
21542
|
}
|
|
20465
|
-
/** May a build at `tier` wear this word?
|
|
21543
|
+
/** May a build at `tier` wear this word? Every tier wears every word (AW-D42, `tierOffers`). */
|
|
20466
21544
|
function listWordOffered(k, word, tier) {
|
|
20467
|
-
return listWordTier(k, word)
|
|
20468
|
-
}
|
|
20469
|
-
/** The word a round-two word is drawn as below the award tier (null: left out), from the contract's `belowPro`. */
|
|
20470
|
-
function listBelowPro(k, word) {
|
|
20471
|
-
const stand = LIST_TABLE.belowPro[`${k}.${word}`];
|
|
20472
|
-
return stand === undefined ? undefined : stand;
|
|
21545
|
+
return tierOffers(listWordTier(k, word), tier);
|
|
20473
21546
|
}
|
|
20474
21547
|
/** The numbers the round-two arrangements are drawn with (the contract's `rhythms`, AW11-D3) — never the model's. */
|
|
20475
21548
|
const LIST_RHYTHMS = LIST_TABLE.rhythms;
|
|
@@ -20483,8 +21556,6 @@ function bentoFill(items) {
|
|
|
20483
21556
|
/** Why a list cannot carry a word (R-H-AW11-7 — ONE table for the wire, the judge and Bindings ▸ List). */
|
|
20484
21557
|
var ListWordRefusal;
|
|
20485
21558
|
(function (ListWordRefusal) {
|
|
20486
|
-
/** The award tier's word, on a plan below it (AW-D23). */
|
|
20487
|
-
ListWordRefusal["ProOnly"] = "pro-only";
|
|
20488
21559
|
/** The word shows a picture in every item, and the list has none. */
|
|
20489
21560
|
ListWordRefusal["NoPictures"] = "no-pictures";
|
|
20490
21561
|
/** The word shows a second picture (the gallery role), and the list has none (AW11-D12). */
|
|
@@ -20496,12 +21567,9 @@ const inRule = (rule, k, w) => !!rule[k]?.includes(w);
|
|
|
20496
21567
|
/**
|
|
20497
21568
|
* Can this list carry this word — and if not, why (R-H-AW11-7)? The ONE answer the wire's offer, `checkList` and
|
|
20498
21569
|
* Bindings ▸ List read: a word the list's data cannot carry is never offered, never picked. `shape` null: nothing is
|
|
20499
|
-
* known of the list (any word
|
|
20500
|
-
* builder).
|
|
21570
|
+
* known of the list (any word). `tier` holds back no word since AW-D42; kept so its callers still read.
|
|
20501
21571
|
*/
|
|
20502
21572
|
function listWordRefusal(k, word, shape, tier, never) {
|
|
20503
|
-
if (tier !== undefined && tier !== null && !listWordOffered(k, word, tier))
|
|
20504
|
-
return ListWordRefusal.ProOnly;
|
|
20505
21573
|
if (never && ((k === 'arrange' && never.arranges.includes(word)) || (k === 'move' && never.moves.includes(word))))
|
|
20506
21574
|
return ListWordRefusal.Never;
|
|
20507
21575
|
if (!shape)
|
|
@@ -20554,16 +21622,12 @@ var LayoutMixIngredient;
|
|
|
20554
21622
|
LayoutMixIngredient["Phone"] = "phone";
|
|
20555
21623
|
})(LayoutMixIngredient || (LayoutMixIngredient = {}));
|
|
20556
21624
|
const MIX_SEPARATOR = ':';
|
|
20557
|
-
const BASIC$1 = 'basic';
|
|
20558
|
-
const AWARD$2 = 'award';
|
|
20559
21625
|
const PART_SEPARATOR = '.';
|
|
20560
21626
|
/** Every word a stored mix may hold, ingredient by ingredient (a waiting word too: a stored answer still reads). */
|
|
20561
21627
|
const LAYOUT_MIX_WORDS = LIST_INGREDIENTS.flatMap(k => listIngredientWords(k).map(w => `${k}${MIX_SEPARATOR}${w}`));
|
|
20562
|
-
/** The words the wire OFFERS
|
|
20563
|
-
*
|
|
20564
|
-
const LAYOUT_MIX_OFFERED = LIST_INGREDIENTS.flatMap(k => listBuiltWords(k).filter(w => listWordOffered(k, w
|
|
20565
|
-
/** AW11: every built word, the award tier's included — what the wire offers an award site before the lists are read. */
|
|
20566
|
-
const LAYOUT_MIX_OFFERED_AWARD = LIST_INGREDIENTS.flatMap(k => listBuiltWords(k).map(w => `${k}${MIX_SEPARATOR}${w}`));
|
|
21628
|
+
/** The words the wire OFFERS — the built ones only (ingredients.md §3.3: a waiting word would put its stand-in on every
|
|
21629
|
+
* site that asked for it); the award tier's round-two words at every tier since AW-D42 (`listWordOffered`). */
|
|
21630
|
+
const LAYOUT_MIX_OFFERED = LIST_INGREDIENTS.flatMap(k => listBuiltWords(k).filter(w => listWordOffered(k, w)).map(w => `${k}${MIX_SEPARATOR}${w}`));
|
|
20567
21631
|
/** The column words a page of a type is offered (award §0c, AW-D34): the axis's words less what the type never wears. */
|
|
20568
21632
|
function layoutColumnsOffered(never) {
|
|
20569
21633
|
const blocked = new Set(never ?? []);
|
|
@@ -20591,12 +21655,11 @@ function isSectionCarryHandle(handle) {
|
|
|
20591
21655
|
}
|
|
20592
21656
|
/**
|
|
20593
21657
|
* The mix words offered to a business whose lists never do `never` (L-D12): the built words less the forbidden ones —
|
|
20594
|
-
* and since AW11
|
|
20595
|
-
* picture at all) never (R-H-AW11-7: the one table, `listWordRefusal`; `checkList` judges each list).
|
|
21658
|
+
* and since AW11 a word NO list of the plan can carry (a second picture, a picture at all) never (R-H-AW11-7: the one table, `listWordRefusal`; `checkList` judges each list).
|
|
20596
21659
|
*/
|
|
20597
21660
|
function layoutMixOffered(never, options = {}) {
|
|
20598
21661
|
const banned = new Set([...(never?.arranges ?? []).map(w => `arrange${MIX_SEPARATOR}${w}`), ...(never?.moves ?? []).map(w => `move${MIX_SEPARATOR}${w}`)]);
|
|
20599
|
-
const offered =
|
|
21662
|
+
const offered = LAYOUT_MIX_OFFERED;
|
|
20600
21663
|
const lists = options.lists;
|
|
20601
21664
|
return offered.filter(w => {
|
|
20602
21665
|
if (banned.has(w))
|
|
@@ -20623,8 +21686,8 @@ const closed$1 = (properties, d) => jsonClosedObject(properties, Object.keys(pro
|
|
|
20623
21686
|
/** The strict format for one composed page — with the list ingredients when `options.lists` is given. */
|
|
20624
21687
|
function layoutWireJsonSchema(options = {}) {
|
|
20625
21688
|
const partWords = options.lists ? layoutWirePartWords(options.lists) : [];
|
|
20626
|
-
//
|
|
20627
|
-
const mixOffered =
|
|
21689
|
+
// AW-D42: every tier is offered every built word, narrowed by what the plan's lists can carry (R-H-AW11-7).
|
|
21690
|
+
const mixOffered = layoutMixOffered(options.never, { tier: options.tier, lists: options.lists });
|
|
20628
21691
|
const lists = options.lists
|
|
20629
21692
|
? {
|
|
20630
21693
|
mix: listOf$2(jsonOneOf(mixOffered), `gallery showing a list (source): how its items are shown, one word per choice — ${mixHint(mixOffered)}; [] for none`),
|
|
@@ -21507,7 +22570,8 @@ var ListSayCode;
|
|
|
21507
22570
|
(function (ListSayCode) {
|
|
21508
22571
|
/** A word the product draws in a later phase, drawn as its stand-in meanwhile (or left out). */
|
|
21509
22572
|
ListSayCode["Waits"] = "list-waits";
|
|
21510
|
-
/** A round-two word on a site below the award plan: its stand-in instead (or left out).
|
|
22573
|
+
/** A round-two word on a site below the award plan: its stand-in instead (or left out). No longer said since AW-D42
|
|
22574
|
+
* (every tier wears every word); kept so a stored run's sentence still reads. */
|
|
21511
22575
|
ListSayCode["AwardOnly"] = "list-award-only";
|
|
21512
22576
|
/** The mix shows roles the list does not hold. */
|
|
21513
22577
|
ListSayCode["NoSuchParts"] = "list-no-such-parts";
|
|
@@ -21812,7 +22876,6 @@ function bentoFillsParams(fills) {
|
|
|
21812
22876
|
*/
|
|
21813
22877
|
const R = SPEC_SITE_LAYOUT.list.rules;
|
|
21814
22878
|
const IMAGE$1 = 'image';
|
|
21815
|
-
const AWARD$1 = 'award';
|
|
21816
22879
|
/** What a name set on its picture may show beside the picture: the name and a short detail (AW11-D8). */
|
|
21817
22880
|
const TITLE_ON_PHOTO_PARTS$1 = new Set(['title', 'meta', 'date']);
|
|
21818
22881
|
const inList$1 = (values, v) => typeof v === 'string' && values.includes(v);
|
|
@@ -21885,29 +22948,6 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
21885
22948
|
const drawn = next[k].map(w => { const stand = waiting(k, w); return stand === undefined ? w : stand; }).filter((w) => !!w);
|
|
21886
22949
|
next[k] = [...new Set(drawn)];
|
|
21887
22950
|
}
|
|
21888
|
-
// AW-D23: a round-two word on a site built below the award tier is drawn as its stand-in (the contract's belowPro).
|
|
21889
|
-
if (options.tier !== undefined && options.tier !== null && options.tier !== AWARD$1) {
|
|
21890
|
-
const below = (k, fallback) => {
|
|
21891
|
-
const stand = listBelowPro(k, next[k]);
|
|
21892
|
-
if (stand === undefined)
|
|
21893
|
-
return;
|
|
21894
|
-
repair(ListSayCode.AwardOnly, { k, word: listWordRef(k, next[k]), as: listWordRef(k, stand ?? fallback) });
|
|
21895
|
-
next[k] = stand ?? fallback;
|
|
21896
|
-
};
|
|
21897
|
-
below('item', LayoutListItem.Card);
|
|
21898
|
-
below('arrange', LayoutListArrange.Grid);
|
|
21899
|
-
below('arrive', LayoutListArrive.Together);
|
|
21900
|
-
for (const k of ['move', 'hover']) {
|
|
21901
|
-
const kept = next[k].flatMap(w => {
|
|
21902
|
-
const stand = listBelowPro(k, w);
|
|
21903
|
-
if (stand === undefined)
|
|
21904
|
-
return [w];
|
|
21905
|
-
repair(ListSayCode.AwardOnly, { k, word: listWordRef(k, w), ...(stand ? { as: listWordRef(k, stand) } : {}) });
|
|
21906
|
-
return stand ? [stand] : [];
|
|
21907
|
-
});
|
|
21908
|
-
next[k] = [...new Set(kept)];
|
|
21909
|
-
}
|
|
21910
|
-
}
|
|
21911
22951
|
const roles = shape.roles;
|
|
21912
22952
|
const pictured = roles.includes(IMAGE$1);
|
|
21913
22953
|
// What the items show: only what the list holds, each once.
|
|
@@ -22100,7 +23140,7 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
22100
23140
|
next.hover = next.hover.filter(h => !has$2(R.onlyStrips.hover, h));
|
|
22101
23141
|
}
|
|
22102
23142
|
// AW11: hover words that need what the list may not have (one table), and the hover tilt — a still card's.
|
|
22103
|
-
const unread = next.hover.filter(h => listWordRefusal('hover', h, shape) !== null
|
|
23143
|
+
const unread = next.hover.filter(h => listWordRefusal('hover', h, shape) !== null);
|
|
22104
23144
|
if (unread.length) {
|
|
22105
23145
|
// One sentence each (#123: they were one joined line — a screen says each in the owner's words).
|
|
22106
23146
|
for (const h of unread) {
|
|
@@ -22180,7 +23220,7 @@ const GRID$2 = 12;
|
|
|
22180
23220
|
const COLUMN_PX$2 = LAYOUT_CHECK_VIEWPORT.width / GRID$2;
|
|
22181
23221
|
/** A line of words stands its size × this tall. */
|
|
22182
23222
|
const LAYOUT_LINE_HEIGHT = 1.2;
|
|
22183
|
-
const HEBREW$
|
|
23223
|
+
const HEBREW$5 = /[-]/;
|
|
22184
23224
|
/** A button's ink, as tall as its padding and one line. */
|
|
22185
23225
|
const BUTTON_PX = 56;
|
|
22186
23226
|
/** How far the screens mend lowers a section at a time, and how often it tries. */
|
|
@@ -22199,7 +23239,7 @@ const meets = (a, b) => {
|
|
|
22199
23239
|
return ov(a.col ?? [0, 0], b.col ?? [0, 0]) && ov(a.row ?? [0, 0], b.row ?? [0, 0]);
|
|
22200
23240
|
};
|
|
22201
23241
|
const textOf$3 = (l) => String(l.text ?? (l.items ?? []).join(' '));
|
|
22202
|
-
const advanceOf = (text) => (HEBREW$
|
|
23242
|
+
const advanceOf = (text) => (HEBREW$5.test(text) ? LIM$1.advance.hebrew : LIM$1.advance.latin);
|
|
22203
23243
|
/** A grid box's size in px on the laptop. */
|
|
22204
23244
|
function layoutBoxPx(col, row, s, columnPx = COLUMN_PX$2) {
|
|
22205
23245
|
const height = (s.pin ? 1 : s.screens) * LAYOUT_CHECK_VIEWPORT.height;
|
|
@@ -22597,12 +23637,13 @@ function listOverhang(mix) {
|
|
|
22597
23637
|
}
|
|
22598
23638
|
|
|
22599
23639
|
/**
|
|
22600
|
-
* THE BODY (award-ingredients-plan §3.4, AW6; board award-body): how a site's sections meet (the seam),
|
|
22601
|
-
*
|
|
22602
|
-
* word, its meaning in both languages, whether the product draws it, its tier, each seam's geometry and each
|
|
22603
|
-
* live in ONE table, the contract's `site.layout.body` (layout.mjs `BODY`). This module reads it, mends a mix the site
|
|
22604
|
-
* cannot carry (`checkBody`) and judges a composed page
|
|
22605
|
-
* `
|
|
23640
|
+
* THE BODY (award-ingredients-plan §3.4, AW6; board award-body): how a site's sections meet (the seam), the page's pace
|
|
23641
|
+
* (a picture section, then a quiet one), the texture laid on a ground (AW7) and the extra kinds of section a site may hold.
|
|
23642
|
+
* Every word, its meaning in both languages, whether the product draws it, its tier, each seam's geometry and each pace's
|
|
23643
|
+
* rule live in ONE table, the contract's `site.layout.body` (layout.mjs `BODY`). This module reads it, mends a mix the site
|
|
23644
|
+
* cannot carry (`checkBody`) and judges a composed page against its pace (`paceIssues`, run by `checkLayout`). Pure.
|
|
23645
|
+
* Colour v2 CV-D6: how the grounds follow one another (the rhythm) moved to the COLOUR table (`colour-mix.ts`).
|
|
23646
|
+
* A stored award plan may still carry `rhythm:free` in its body words: it is read as nothing (`LEGACY_BODY_INGREDIENTS`).
|
|
22606
23647
|
*
|
|
22607
23648
|
* A seam is PAINTED, never laid out (`rules.seamPaintsOnly`): the LOWER section's ground rises into the one above it as a
|
|
22608
23649
|
* shape `depth` px tall, under the words; the upper section keeps its words clear of it (`rules.seamKeepsClear`). `rounded`
|
|
@@ -22614,7 +23655,7 @@ const B = SPEC_SITE_LAYOUT.body;
|
|
|
22614
23655
|
var BodyIngredient;
|
|
22615
23656
|
(function (BodyIngredient) {
|
|
22616
23657
|
BodyIngredient["Seam"] = "seam";
|
|
22617
|
-
BodyIngredient["
|
|
23658
|
+
BodyIngredient["Pace"] = "pace";
|
|
22618
23659
|
BodyIngredient["Texture"] = "texture";
|
|
22619
23660
|
BodyIngredient["Sections"] = "sections";
|
|
22620
23661
|
})(BodyIngredient || (BodyIngredient = {}));
|
|
@@ -22626,14 +23667,11 @@ var BodySeam;
|
|
|
22626
23667
|
BodySeam["Torn"] = "torn";
|
|
22627
23668
|
BodySeam["Rounded"] = "rounded";
|
|
22628
23669
|
})(BodySeam || (BodySeam = {}));
|
|
22629
|
-
var
|
|
22630
|
-
(function (
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
|
|
22634
|
-
BodyRhythm["Chapters"] = "chapters";
|
|
22635
|
-
BodyRhythm["Tail"] = "tail";
|
|
22636
|
-
})(BodyRhythm || (BodyRhythm = {}));
|
|
23670
|
+
var BodyPace;
|
|
23671
|
+
(function (BodyPace) {
|
|
23672
|
+
BodyPace["Free"] = "free";
|
|
23673
|
+
BodyPace["LoudQuiet"] = "loud-quiet";
|
|
23674
|
+
})(BodyPace || (BodyPace = {}));
|
|
22637
23675
|
var BodyTexture;
|
|
22638
23676
|
(function (BodyTexture) {
|
|
22639
23677
|
BodyTexture["None"] = "none";
|
|
@@ -22655,11 +23693,11 @@ var BodySectionWord;
|
|
|
22655
23693
|
})(BodySectionWord || (BodySectionWord = {}));
|
|
22656
23694
|
class BodyMixError extends Error {
|
|
22657
23695
|
}
|
|
22658
|
-
const HEBREW$
|
|
23696
|
+
const HEBREW$4 = 'he';
|
|
22659
23697
|
const INGREDIENTS$3 = B.ingredients;
|
|
22660
23698
|
const MANY$3 = new Set(B.many);
|
|
22661
23699
|
const WAITS$3 = B.waits;
|
|
22662
|
-
const ORDER$
|
|
23700
|
+
const ORDER$2 = Object.values(BodyIngredient);
|
|
22663
23701
|
const isMany$1 = (k) => MANY$3.has(k);
|
|
22664
23702
|
const listOf$1 = (v) => (v === undefined ? [] : Array.isArray(v) ? [...v] : [v]);
|
|
22665
23703
|
const ordered$1 = (k, words) => bodyWords(k).filter(w => words.includes(w));
|
|
@@ -22670,7 +23708,7 @@ function bodyWords(ingredient) {
|
|
|
22670
23708
|
/** What a word means — in Hebrew when the builder speaks it. */
|
|
22671
23709
|
function bodyMeaning(ingredient, word, locale) {
|
|
22672
23710
|
const key = `${ingredient}.${word}`;
|
|
22673
|
-
return (locale === HEBREW$
|
|
23711
|
+
return (locale === HEBREW$4 ? B.meaningsHe?.[key] : undefined) ?? B.meanings[key] ?? word;
|
|
22674
23712
|
}
|
|
22675
23713
|
/** Whether the product draws a word today (a waiting word is listed with its phase, drawn as its stand-in). */
|
|
22676
23714
|
function bodyWordDrawn(ingredient, word) {
|
|
@@ -22680,19 +23718,19 @@ function bodyWordDrawn(ingredient, word) {
|
|
|
22680
23718
|
function bodyWordWaits(ingredient, word) {
|
|
22681
23719
|
return WAITS$3[`${ingredient}.${word}`]?.phase ?? null;
|
|
22682
23720
|
}
|
|
22683
|
-
/**
|
|
23721
|
+
/** The tier a word was first drawn for (`all`, or `pro` — the award tier's, AW-D23); since AW-D42 every tier wears both. */
|
|
22684
23722
|
function bodyWordTier(ingredient, word) {
|
|
22685
23723
|
return B.tiers[`${ingredient}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
22686
23724
|
}
|
|
22687
|
-
/** May a build at `tier` wear this word? */
|
|
23725
|
+
/** May a build at `tier` wear this word? Every tier wears every drawn word (AW-D42, `tierOffers`). */
|
|
22688
23726
|
function bodyWordOffered(ingredient, word, tier) {
|
|
22689
|
-
return bodyWordTier(ingredient, word)
|
|
23727
|
+
return tierOffers(bodyWordTier(ingredient, word), tier);
|
|
22690
23728
|
}
|
|
22691
23729
|
/** A whole mix from part of one: what is not named is the default (straight, free, no texture). Refuses a word the table
|
|
22692
23730
|
* lacks. */
|
|
22693
23731
|
function bodyMix(partial = {}) {
|
|
22694
23732
|
const mix = {
|
|
22695
|
-
seam: B.defaults['seam'],
|
|
23733
|
+
seam: B.defaults['seam'], pace: B.defaults['pace'], texture: B.defaults['texture'],
|
|
22696
23734
|
sections: listOf$1(B.defaults['sections']),
|
|
22697
23735
|
};
|
|
22698
23736
|
for (const [k, v] of Object.entries(partial)) {
|
|
@@ -22715,13 +23753,18 @@ function bodyMix(partial = {}) {
|
|
|
22715
23753
|
}
|
|
22716
23754
|
/** A mix on the wire: one `<ingredient>:<word>` per word, in the table's order. */
|
|
22717
23755
|
function bodyMixWords(mix) {
|
|
22718
|
-
return ORDER$
|
|
23756
|
+
return ORDER$2.flatMap(k => listOf$1(mix[k]).map(w => `${k}:${w}`));
|
|
22719
23757
|
}
|
|
23758
|
+
/** CV-D6: ingredients the body table no longer has, whose words a stored plan may still carry (an award plan's
|
|
23759
|
+
* `rhythm:free`, the only rhythm word the wire ever offered) — read as nothing; the grounds' rhythm is COLOUR's now. */
|
|
23760
|
+
const LEGACY_BODY_INGREDIENTS = new Set(['rhythm']);
|
|
22720
23761
|
/** The words back into a mix. Refuses an unknown word and two words for a one-word ingredient. */
|
|
22721
23762
|
function bodyMixFromWords(words) {
|
|
22722
23763
|
const partial = {};
|
|
22723
23764
|
for (const pair of words) {
|
|
22724
23765
|
const [k, w] = String(pair).split(':');
|
|
23766
|
+
if (LEGACY_BODY_INGREDIENTS.has(k) && !INGREDIENTS$3[k])
|
|
23767
|
+
continue;
|
|
22725
23768
|
if (!INGREDIENTS$3[k] || !w)
|
|
22726
23769
|
throw new BodyMixError(`"${pair}" is no body word (<ingredient>:<word>)`);
|
|
22727
23770
|
const got = (partial[k] ??= []);
|
|
@@ -22741,7 +23784,7 @@ function bodyMixOfPlan(plan) {
|
|
|
22741
23784
|
function drawnBodyMix(mix) {
|
|
22742
23785
|
const drawn = { ...mix, sections: [...mix.sections] };
|
|
22743
23786
|
const gaps = [];
|
|
22744
|
-
for (const k of ORDER$
|
|
23787
|
+
for (const k of ORDER$2) {
|
|
22745
23788
|
if (isMany$1(k)) {
|
|
22746
23789
|
drawn[k] = mix[k].filter(w => {
|
|
22747
23790
|
const wait = WAITS$3[`${k}.${w}`];
|
|
@@ -22762,13 +23805,13 @@ function drawnBodyMix(mix) {
|
|
|
22762
23805
|
}
|
|
22763
23806
|
/** The fingerprint's prefix for a body. */
|
|
22764
23807
|
const BODY_TOKEN = 'body';
|
|
22765
|
-
/** A body as the fingerprint sees it: `body:<seam>/<
|
|
23808
|
+
/** A body as the fingerprint sees it: `body:<seam>/<pace>/<texture>`. */
|
|
22766
23809
|
function bodyTokenOf(mix) {
|
|
22767
23810
|
return `${BODY_TOKEN}:${B.fingerprint.map(k => mix[k]).join('/')}`;
|
|
22768
23811
|
}
|
|
22769
|
-
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only
|
|
23812
|
+
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only (every tier's since AW-D42). */
|
|
22770
23813
|
function bodyWireWords(tier = GenerationTier.Basic) {
|
|
22771
|
-
return ORDER$
|
|
23814
|
+
return ORDER$2.flatMap(k => bodyWords(k).filter(w => bodyWordDrawn(k, w) && bodyWordOffered(k, w, tier)).map(w => `${k}:${w}`));
|
|
22772
23815
|
}
|
|
22773
23816
|
/** How a seam is drawn at a width and in a direction. An unknown word is the straight seam. */
|
|
22774
23817
|
function bodySeamShape(word, opts = {}) {
|
|
@@ -22908,8 +23951,6 @@ function joinPageHeader(layout) {
|
|
|
22908
23951
|
// ── The check: a mix judged against the site, mended where the site cannot carry it, each mend said ──────────────────
|
|
22909
23952
|
var BodyRepairCode;
|
|
22910
23953
|
(function (BodyRepairCode) {
|
|
22911
|
-
/** A word the award tier alone wears, on a site built below it. */
|
|
22912
|
-
BodyRepairCode["ProOnly"] = "pro-only";
|
|
22913
23954
|
/** A trust or care business (harness `MOTION_CEILINGS.subtle`) never wears a torn or dripping edge: a soft hill. */
|
|
22914
23955
|
BodyRepairCode["CalmSeam"] = "calm-seam";
|
|
22915
23956
|
})(BodyRepairCode || (BodyRepairCode = {}));
|
|
@@ -22920,31 +23961,15 @@ const CALM_SEAM = BodySeam.Wave;
|
|
|
22920
23961
|
function checkBody(mix, ctx = {}) {
|
|
22921
23962
|
const m = { ...mix, sections: [...mix.sections] };
|
|
22922
23963
|
const repairs = [];
|
|
22923
|
-
if (ctx.tier && ctx.tier !== GenerationTier.Award) {
|
|
22924
|
-
for (const k of ORDER$1) {
|
|
22925
|
-
if (isMany$1(k)) {
|
|
22926
|
-
const kept = m[k].filter(w => bodyWordTier(k, w) === 'all');
|
|
22927
|
-
for (const w of m[k].filter(x => !kept.includes(x)))
|
|
22928
|
-
repairs.push({ code: BodyRepairCode.ProOnly, said: `"${bodyMeaning(k, w)}" comes with the award plan: left out` });
|
|
22929
|
-
m[k] = kept;
|
|
22930
|
-
continue;
|
|
22931
|
-
}
|
|
22932
|
-
const word = m[k];
|
|
22933
|
-
if (bodyWordTier(k, word) === 'all')
|
|
22934
|
-
continue;
|
|
22935
|
-
const standIn = B.defaults[k];
|
|
22936
|
-
m[k] = standIn;
|
|
22937
|
-
repairs.push({ code: BodyRepairCode.ProOnly, said: `"${bodyMeaning(k, word)}" comes with the award plan: ${bodyMeaning(k, standIn)} instead` });
|
|
22938
|
-
}
|
|
22939
|
-
}
|
|
22940
23964
|
if (ctx.calm && LOUD_SEAMS.has(m.seam)) {
|
|
22941
23965
|
repairs.push({ code: BodyRepairCode.CalmSeam, said: `a calm business never wears "${bodyMeaning(BodyIngredient.Seam, m.seam)}": ${bodyMeaning(BodyIngredient.Seam, CALM_SEAM)} instead` });
|
|
22942
23966
|
m.seam = CALM_SEAM;
|
|
22943
23967
|
}
|
|
22944
23968
|
return { mix: m, repairs };
|
|
22945
23969
|
}
|
|
22946
|
-
// ── The
|
|
22947
|
-
/** How a section's ground reads: dark or light (by its colour's luminance), or a photo (free in every rhythm).
|
|
23970
|
+
// ── The pace, and how a ground reads ────────────────────────────────────────────────────────────────────────────────
|
|
23971
|
+
/** How a section's ground reads: dark or light (by its colour's luminance), or a photo (free in every rhythm). Shared with
|
|
23972
|
+
* COLOUR's rhythms (`colour-mix.ts`). */
|
|
22948
23973
|
var GroundTone;
|
|
22949
23974
|
(function (GroundTone) {
|
|
22950
23975
|
GroundTone["Dark"] = "dark";
|
|
@@ -22959,40 +23984,252 @@ function groundToneOf(luminance) {
|
|
|
22959
23984
|
}
|
|
22960
23985
|
const PICTURED = new Set([LayoutLayerKind.Photo, LayoutLayerKind.Gallery, LayoutLayerKind.List, LayoutLayerKind.Marquee]);
|
|
22961
23986
|
const span$2 = (l) => (Array.isArray(l.col) ? l.col[1] - l.col[0] : 0);
|
|
22962
|
-
|
|
23987
|
+
/** A section that shows pictures: a photo ground, or a photo, gallery, list or marquee layer. */
|
|
23988
|
+
const sectionPictured = (s) => String(s.ground ?? '').startsWith('photo:') || (s.layers ?? []).some(l => PICTURED.has(l.kind));
|
|
22963
23989
|
/** A quiet section: words only, centred, every layer within `cols` of the twelve. */
|
|
22964
|
-
const quiet = (s, cols) => !
|
|
23990
|
+
const quiet = (s, cols) => !sectionPictured(s) && !!(s.layers ?? []).length && (s.layers ?? []).every(l => l.kind === LayoutLayerKind.Shape || (span$2(l) <= cols && (l.align ?? 'start') === 'center'));
|
|
23991
|
+
/**
|
|
23992
|
+
* A composed page judged against the body's pace (`BODY.paces`): each issue a `Structure` issue on the page, so the layout
|
|
23993
|
+
* request is asked again with it. `free` (and an unknown word) asks nothing. Pure.
|
|
23994
|
+
*/
|
|
23995
|
+
function paceIssues(sections, pace) {
|
|
23996
|
+
if (pace !== BodyPace.LoudQuiet)
|
|
23997
|
+
return [];
|
|
23998
|
+
const { pairs, quietCols } = B.paces['loud-quiet'];
|
|
23999
|
+
let found = 0;
|
|
24000
|
+
for (let i = 1; i < sections.length; i++)
|
|
24001
|
+
if (sectionPictured(sections[i - 1]) && quiet(sections[i], quietCols))
|
|
24002
|
+
found++;
|
|
24003
|
+
if (found >= pairs)
|
|
24004
|
+
return [];
|
|
24005
|
+
return [{ code: LayoutIssueCode.Structure, path: 'sections',
|
|
24006
|
+
message: `${found} picture section(s) followed by a quiet one — the loud-quiet pace asks at least ${pairs}: a picture section, then words only, centred, within ${quietCols} of the 12 columns` }];
|
|
24007
|
+
}
|
|
24008
|
+
|
|
24009
|
+
const C = SPEC_SITE_LAYOUT.colour;
|
|
24010
|
+
/** The ingredients, by the contract's keys (held equal to it by colour-mix.spec). */
|
|
24011
|
+
var ColourIngredient;
|
|
24012
|
+
(function (ColourIngredient) {
|
|
24013
|
+
ColourIngredient["Ground"] = "ground";
|
|
24014
|
+
ColourIngredient["Dark"] = "dark";
|
|
24015
|
+
ColourIngredient["Accent"] = "accent";
|
|
24016
|
+
ColourIngredient["Action"] = "action";
|
|
24017
|
+
ColourIngredient["Rhythm"] = "rhythm";
|
|
24018
|
+
ColourIngredient["Bands"] = "bands";
|
|
24019
|
+
ColourIngredient["Wash"] = "wash";
|
|
24020
|
+
ColourIngredient["Pictures"] = "pictures";
|
|
24021
|
+
ColourIngredient["Source"] = "source";
|
|
24022
|
+
})(ColourIngredient || (ColourIngredient = {}));
|
|
24023
|
+
var ColourGround;
|
|
24024
|
+
(function (ColourGround) {
|
|
24025
|
+
ColourGround["Look"] = "look";
|
|
24026
|
+
ColourGround["Paper"] = "paper";
|
|
24027
|
+
ColourGround["White"] = "white";
|
|
24028
|
+
ColourGround["Cool"] = "cool";
|
|
24029
|
+
})(ColourGround || (ColourGround = {}));
|
|
24030
|
+
var ColourDark;
|
|
24031
|
+
(function (ColourDark) {
|
|
24032
|
+
ColourDark["Ink"] = "ink";
|
|
24033
|
+
ColourDark["BrandDeep"] = "brand-deep";
|
|
24034
|
+
ColourDark["Earth"] = "earth";
|
|
24035
|
+
})(ColourDark || (ColourDark = {}));
|
|
24036
|
+
var ColourAccent;
|
|
24037
|
+
(function (ColourAccent) {
|
|
24038
|
+
ColourAccent["Signal"] = "signal";
|
|
24039
|
+
ColourAccent["OnePlace"] = "one-place";
|
|
24040
|
+
ColourAccent["None"] = "none";
|
|
24041
|
+
ColourAccent["Flood"] = "flood";
|
|
24042
|
+
})(ColourAccent || (ColourAccent = {}));
|
|
24043
|
+
var ColourAction;
|
|
24044
|
+
(function (ColourAction) {
|
|
24045
|
+
ColourAction["Accent"] = "accent";
|
|
24046
|
+
ColourAction["Ink"] = "ink";
|
|
24047
|
+
ColourAction["Deep"] = "deep";
|
|
24048
|
+
})(ColourAction || (ColourAction = {}));
|
|
24049
|
+
var ColourRhythm;
|
|
24050
|
+
(function (ColourRhythm) {
|
|
24051
|
+
ColourRhythm["Free"] = "free";
|
|
24052
|
+
ColourRhythm["OneGround"] = "one-ground";
|
|
24053
|
+
ColourRhythm["LongRuns"] = "long-runs";
|
|
24054
|
+
ColourRhythm["Alternate"] = "alternate";
|
|
24055
|
+
ColourRhythm["PaperPicture"] = "paper-picture";
|
|
24056
|
+
ColourRhythm["Chapters"] = "chapters";
|
|
24057
|
+
ColourRhythm["Tail"] = "tail";
|
|
24058
|
+
ColourRhythm["Flood"] = "flood";
|
|
24059
|
+
ColourRhythm["Flow"] = "flow";
|
|
24060
|
+
})(ColourRhythm || (ColourRhythm = {}));
|
|
24061
|
+
var ColourBands;
|
|
24062
|
+
(function (ColourBands) {
|
|
24063
|
+
ColourBands["Full"] = "full";
|
|
24064
|
+
ColourBands["Inset"] = "inset";
|
|
24065
|
+
})(ColourBands || (ColourBands = {}));
|
|
24066
|
+
var ColourWash;
|
|
24067
|
+
(function (ColourWash) {
|
|
24068
|
+
ColourWash["Flat"] = "flat";
|
|
24069
|
+
ColourWash["Gradient"] = "gradient";
|
|
24070
|
+
ColourWash["Glow"] = "glow";
|
|
24071
|
+
ColourWash["PhotoDim"] = "photo-dim";
|
|
24072
|
+
})(ColourWash || (ColourWash = {}));
|
|
24073
|
+
var ColourPictures;
|
|
24074
|
+
(function (ColourPictures) {
|
|
24075
|
+
ColourPictures["Natural"] = "natural";
|
|
24076
|
+
ColourPictures["Warm"] = "warm";
|
|
24077
|
+
ColourPictures["Cool"] = "cool";
|
|
24078
|
+
ColourPictures["Mono"] = "mono";
|
|
24079
|
+
})(ColourPictures || (ColourPictures = {}));
|
|
24080
|
+
var ColourSource;
|
|
24081
|
+
(function (ColourSource) {
|
|
24082
|
+
ColourSource["Brand"] = "brand";
|
|
24083
|
+
ColourSource["Photos"] = "photos";
|
|
24084
|
+
ColourSource["Look"] = "look";
|
|
24085
|
+
})(ColourSource || (ColourSource = {}));
|
|
24086
|
+
class ColourMixError extends Error {
|
|
24087
|
+
}
|
|
24088
|
+
const HEBREW$3 = 'he';
|
|
24089
|
+
const ORDER$1 = Object.values(ColourIngredient);
|
|
24090
|
+
/** The words an ingredient may take, in the table's order (waiting ones too). */
|
|
24091
|
+
function colourWords(ingredient) {
|
|
24092
|
+
return C.ingredients[ingredient] ?? [];
|
|
24093
|
+
}
|
|
24094
|
+
/** What a word means — in Hebrew when the builder speaks it. */
|
|
24095
|
+
function colourMeaning(ingredient, word, locale) {
|
|
24096
|
+
const key = `${ingredient}.${word}`;
|
|
24097
|
+
return (locale === HEBREW$3 ? C.meaningsHe[key] : undefined) ?? C.meanings[key] ?? word;
|
|
24098
|
+
}
|
|
24099
|
+
/** Whether the product draws a word today. */
|
|
24100
|
+
function colourWordDrawn(ingredient, word) {
|
|
24101
|
+
return colourWords(ingredient).includes(word) && !C.waits[`${ingredient}.${word}`];
|
|
24102
|
+
}
|
|
24103
|
+
/** The phase a waiting word waits for, or null. */
|
|
24104
|
+
function colourWordWaits(ingredient, word) {
|
|
24105
|
+
return C.waits[`${ingredient}.${word}`]?.phase ?? null;
|
|
24106
|
+
}
|
|
24107
|
+
/** CV-D10: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
24108
|
+
function colourWordTier(ingredient, word) {
|
|
24109
|
+
return C.tiers[`${ingredient}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
24110
|
+
}
|
|
24111
|
+
/** May a build at `tier` wear this word? */
|
|
24112
|
+
function colourWordOffered(ingredient, word, tier) {
|
|
24113
|
+
return colourWordTier(ingredient, word) === 'all' || tier === GenerationTier.Award;
|
|
24114
|
+
}
|
|
24115
|
+
/** A whole mix from part of one: what is not named is the default (today's look). Refuses a word the table lacks. */
|
|
24116
|
+
function colourMix(partial = {}) {
|
|
24117
|
+
const mix = { ...C.defaults };
|
|
24118
|
+
for (const [k, w] of Object.entries(partial)) {
|
|
24119
|
+
if (w === undefined)
|
|
24120
|
+
continue;
|
|
24121
|
+
if (!C.ingredients[k])
|
|
24122
|
+
throw new ColourMixError(`no colour ingredient "${k}"`);
|
|
24123
|
+
if (!C.ingredients[k].includes(w))
|
|
24124
|
+
throw new ColourMixError(`a site's colour ${k} cannot be "${w}" (${C.ingredients[k].join(' · ')})`);
|
|
24125
|
+
mix[k] = w;
|
|
24126
|
+
}
|
|
24127
|
+
return mix;
|
|
24128
|
+
}
|
|
24129
|
+
/** CV-D13: a style preset's default colour mix (its §6 row, the rest the defaults); an unknown preset wears the defaults. */
|
|
24130
|
+
function presetColourMix(presetId) {
|
|
24131
|
+
return colourMix(C.presets[presetId ?? ''] ?? {});
|
|
24132
|
+
}
|
|
24133
|
+
/** A mix on the wire: one `<ingredient>:<word>` per ingredient, in the table's order. */
|
|
24134
|
+
function colourMixWords(mix) {
|
|
24135
|
+
return ORDER$1.map(k => `${k}:${mix[k]}`);
|
|
24136
|
+
}
|
|
24137
|
+
/** The words back into a mix. Refuses an unknown word and two words for one ingredient. */
|
|
24138
|
+
function colourMixFromWords(words) {
|
|
24139
|
+
const partial = {};
|
|
24140
|
+
for (const pair of words) {
|
|
24141
|
+
const [k, w] = String(pair).split(':');
|
|
24142
|
+
if (!C.ingredients[k] || !w)
|
|
24143
|
+
throw new ColourMixError(`"${pair}" is no colour word (<ingredient>:<word>)`);
|
|
24144
|
+
if (partial[k] !== undefined && partial[k] !== w)
|
|
24145
|
+
throw new ColourMixError(`a site has one colour ${k} ("${partial[k]}" and "${w}")`);
|
|
24146
|
+
partial[k] = w;
|
|
24147
|
+
}
|
|
24148
|
+
return colourMix(partial);
|
|
24149
|
+
}
|
|
24150
|
+
/** The mix the product DRAWS today: a waiting word becomes its stand-in, each said. */
|
|
24151
|
+
function drawnColourMix(mix) {
|
|
24152
|
+
const drawn = { ...mix };
|
|
24153
|
+
const gaps = [];
|
|
24154
|
+
for (const k of ORDER$1) {
|
|
24155
|
+
const wait = C.waits[`${k}.${mix[k]}`];
|
|
24156
|
+
if (!wait)
|
|
24157
|
+
continue;
|
|
24158
|
+
gaps.push({ ingredient: k, word: mix[k], phase: wait.phase, drawnAs: wait.drawnAs });
|
|
24159
|
+
drawn[k] = wait.drawnAs;
|
|
24160
|
+
}
|
|
24161
|
+
return { drawn: drawn, gaps };
|
|
24162
|
+
}
|
|
24163
|
+
/** The fingerprint's prefix for a site's colour. */
|
|
24164
|
+
const COLOUR_TOKEN$1 = 'colour';
|
|
24165
|
+
/** A site's colour as the fingerprint sees it: `colour:<ground>/<dark>/<accent>/<rhythm>` — what a visitor takes in at once. */
|
|
24166
|
+
function colourTokenOf(mix) {
|
|
24167
|
+
return `${COLOUR_TOKEN$1}:${C.fingerprint.map(k => mix[k]).join('/')}`;
|
|
24168
|
+
}
|
|
24169
|
+
/** Every `<ingredient>:<word>` a generator's wire may carry at `tier`: drawn words only, the award tier's only there. */
|
|
24170
|
+
function colourWireWords(tier = GenerationTier.Basic) {
|
|
24171
|
+
return ORDER$1.flatMap(k => colourWords(k).filter(w => colourWordDrawn(k, w) && colourWordOffered(k, w, tier)).map(w => `${k}:${w}`));
|
|
24172
|
+
}
|
|
24173
|
+
/** CV-D7: the most different grounds a page may wear (photos excepted) under an accent word. */
|
|
24174
|
+
function colourGroundsMax(accent) {
|
|
24175
|
+
return C.rules.groundsMax[accent] ?? C.rules.groundsMax[ColourAccent.Signal];
|
|
24176
|
+
}
|
|
24177
|
+
/** The accent budget an accent word sets (replaces the look's `accentMax` when a plan names one, CV2). */
|
|
24178
|
+
function colourAccentMax(accent) {
|
|
24179
|
+
return C.rules.accentMax[accent] ?? C.rules.accentMax[ColourAccent.Signal];
|
|
24180
|
+
}
|
|
22965
24181
|
const startsChapter = (s, at) => (at.includes('inhale') && s.kind === LayoutSectionKind.Inhale) || (at.includes('signature') && !!s.signature);
|
|
24182
|
+
const PHOTO_GROUND$2 = 'photo:';
|
|
24183
|
+
const groundWordOf = (s) => s.ground ?? 'ground';
|
|
22966
24184
|
/**
|
|
22967
|
-
* A composed page's grounds judged against the
|
|
22968
|
-
* so the layout request is asked again with it. `free` (
|
|
22969
|
-
*
|
|
24185
|
+
* A composed page's grounds judged against the colour rhythm (`COLOUR.rhythms`): each issue a `Structure` issue on the
|
|
24186
|
+
* page, so the layout request is asked again with it. `free`, `flow` (CV5: the ScrollDriver's, not a section's) and an
|
|
24187
|
+
* unknown word ask nothing. A photo ground is free in every rhythm. Pure.
|
|
22970
24188
|
*/
|
|
22971
|
-
function
|
|
24189
|
+
function colourRhythmIssues(sections, rhythm, ctx) {
|
|
22972
24190
|
const issues = [];
|
|
22973
24191
|
const add = (path, message) => issues.push({ code: LayoutIssueCode.Structure, path, message });
|
|
22974
24192
|
const tones = sections.map(s => ctx.toneOf(s));
|
|
22975
|
-
const
|
|
24193
|
+
const darks = tones.flatMap((t, i) => (t === GroundTone.Dark ? [i] : []));
|
|
24194
|
+
const R = C.rhythms;
|
|
22976
24195
|
switch (rhythm) {
|
|
22977
|
-
case
|
|
24196
|
+
case ColourRhythm.Alternate:
|
|
22978
24197
|
for (let i = 1; i < sections.length; i++) {
|
|
22979
24198
|
if (tones[i] !== GroundTone.Photo && tones[i] === tones[i - 1]) {
|
|
22980
24199
|
add(`sections[${i}].ground`, `grounds alternate dark and light — "${sections[i].id}" is ${tones[i]} like the section before it`);
|
|
22981
24200
|
}
|
|
22982
24201
|
}
|
|
22983
24202
|
break;
|
|
22984
|
-
case
|
|
22985
|
-
const
|
|
22986
|
-
|
|
22987
|
-
|
|
22988
|
-
|
|
22989
|
-
|
|
22990
|
-
|
|
22991
|
-
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`);
|
|
22992
|
-
}
|
|
24203
|
+
case ColourRhythm.OneGround: {
|
|
24204
|
+
const lastShown = tones.reduce((at, t, i) => (t === GroundTone.Photo ? at : i), -1);
|
|
24205
|
+
darks.forEach((i, n) => {
|
|
24206
|
+
if (n >= R['one-ground'].darks || i !== lastShown) {
|
|
24207
|
+
add(`sections[${i}].ground`, `one ground for most of the page, at most ${R['one-ground'].darks} dark section before the footer — "${sections[i].id}" is dark`);
|
|
24208
|
+
}
|
|
24209
|
+
});
|
|
22993
24210
|
break;
|
|
22994
24211
|
}
|
|
22995
|
-
case
|
|
24212
|
+
case ColourRhythm.LongRuns: {
|
|
24213
|
+
const { run, breaks } = R['long-runs'];
|
|
24214
|
+
darks.forEach((i, n) => {
|
|
24215
|
+
const since = n ? i - darks[n - 1] - 1 : i;
|
|
24216
|
+
if (n >= breaks || since < Math.min(run, sections.length - 1)) {
|
|
24217
|
+
add(`sections[${i}].ground`, `long light runs (${run} sections or more) broken by at most ${breaks} dark section — "${sections[i].id}" breaks it too soon`);
|
|
24218
|
+
}
|
|
24219
|
+
});
|
|
24220
|
+
break;
|
|
24221
|
+
}
|
|
24222
|
+
case ColourRhythm.PaperPicture: {
|
|
24223
|
+
const { every } = R['paper-picture'];
|
|
24224
|
+
let since = 0;
|
|
24225
|
+
sections.forEach((s, i) => {
|
|
24226
|
+
since = sectionPictured(s) ? 0 : since + 1;
|
|
24227
|
+
if (since > every)
|
|
24228
|
+
add(`sections[${i}]`, `paper and full pictures take turns, a picture at least every ${every} sections — "${s.id}" is the ${since}th without one`);
|
|
24229
|
+
});
|
|
24230
|
+
break;
|
|
24231
|
+
}
|
|
24232
|
+
case ColourRhythm.Chapters: {
|
|
22996
24233
|
const at = R.chapters.changesAt;
|
|
22997
24234
|
let last = null;
|
|
22998
24235
|
sections.forEach((s, i) => {
|
|
@@ -23006,7 +24243,7 @@ function rhythmIssues(sections, rhythm, ctx) {
|
|
|
23006
24243
|
});
|
|
23007
24244
|
break;
|
|
23008
24245
|
}
|
|
23009
|
-
case
|
|
24246
|
+
case ColourRhythm.Tail: {
|
|
23010
24247
|
if (!ctx.footerTone || ctx.footerTone === GroundTone.Photo)
|
|
23011
24248
|
break;
|
|
23012
24249
|
const from = Math.max(0, sections.length - R.tail.last);
|
|
@@ -23017,6 +24254,21 @@ function rhythmIssues(sections, rhythm, ctx) {
|
|
|
23017
24254
|
}
|
|
23018
24255
|
break;
|
|
23019
24256
|
}
|
|
24257
|
+
case ColourRhythm.Flood: {
|
|
24258
|
+
const { apart } = R.flood;
|
|
24259
|
+
sections.forEach((s, i) => {
|
|
24260
|
+
const g = groundWordOf(s);
|
|
24261
|
+
if (g.startsWith(PHOTO_GROUND$2))
|
|
24262
|
+
return;
|
|
24263
|
+
for (let j = Math.max(0, i - apart); j < i; j++) {
|
|
24264
|
+
if (groundWordOf(sections[j]) === g) {
|
|
24265
|
+
add(`sections[${i}].ground`, `a different full colour each section, none again within ${apart} — "${s.id}" repeats "${g}"`);
|
|
24266
|
+
break;
|
|
24267
|
+
}
|
|
24268
|
+
}
|
|
24269
|
+
});
|
|
24270
|
+
break;
|
|
24271
|
+
}
|
|
23020
24272
|
}
|
|
23021
24273
|
return issues;
|
|
23022
24274
|
}
|
|
@@ -23886,8 +25138,9 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
23886
25138
|
const toneOf = (s) => (groundPhotoOf(s)
|
|
23887
25139
|
? GroundTone.Photo
|
|
23888
25140
|
: groundToneOf(lumOf(paint.colours[(inList(V.colours, s.ground) ? s.ground : LayoutColour.Ground)])));
|
|
23889
|
-
issues.push(...
|
|
25141
|
+
issues.push(...colourRhythmIssues(sections, ctx.rhythm, { toneOf, footerTone: ctx.footerTone }));
|
|
23890
25142
|
}
|
|
25143
|
+
issues.push(...paceIssues(sections, ctx.pace));
|
|
23891
25144
|
const unshown = shownListIssue(page, ctx);
|
|
23892
25145
|
if (unshown)
|
|
23893
25146
|
issues.push(unshown);
|
|
@@ -24531,6 +25784,10 @@ var FooterArrange;
|
|
|
24531
25784
|
FooterArrange["Line"] = "line";
|
|
24532
25785
|
FooterArrange["Ruled"] = "ruled";
|
|
24533
25786
|
FooterArrange["ListBig"] = "list-big";
|
|
25787
|
+
/** FV0 (footer-v2 §4): laid by the model from the parts as a free section (waits for FV2). */
|
|
25788
|
+
FooterArrange["Free"] = "free";
|
|
25789
|
+
/** FV0: two zones divided by a vertical hairline (allerstudio, thepopuphotel; waits for FV1). */
|
|
25790
|
+
FooterArrange["Halves"] = "halves";
|
|
24534
25791
|
})(FooterArrange || (FooterArrange = {}));
|
|
24535
25792
|
var FooterHold;
|
|
24536
25793
|
(function (FooterHold) {
|
|
@@ -24545,6 +25802,12 @@ var FooterHold;
|
|
|
24545
25802
|
FooterHold["Badges"] = "badges";
|
|
24546
25803
|
FooterHold["Region"] = "region";
|
|
24547
25804
|
FooterHold["Search"] = "search";
|
|
25805
|
+
/** FV0: the owner's social links (waits for FV1 and the reading's links, FV-D10). */
|
|
25806
|
+
FooterHold["Social"] = "social";
|
|
25807
|
+
/** FV0: a round back-to-top button (waits for FV1). */
|
|
25808
|
+
FooterHold["Top"] = "top";
|
|
25809
|
+
/** FV0: the owner's picture and a chat button (waits for FV1). */
|
|
25810
|
+
FooterHold["Chat"] = "chat";
|
|
24548
25811
|
})(FooterHold || (FooterHold = {}));
|
|
24549
25812
|
var FooterClosing;
|
|
24550
25813
|
(function (FooterClosing) {
|
|
@@ -24555,6 +25818,10 @@ var FooterClosing;
|
|
|
24555
25818
|
FooterClosing["Word"] = "word";
|
|
24556
25819
|
FooterClosing["Newsletter"] = "newsletter";
|
|
24557
25820
|
FooterClosing["NameAndAction"] = "name-and-action";
|
|
25821
|
+
/** FV0: the email set large as the footer's opening line (mdscollective; waits for FV1). */
|
|
25822
|
+
FooterClosing["Email"] = "email";
|
|
25823
|
+
/** FV0: the name or a farewell line huge and faint behind the blocks (haven; waits for FV3). */
|
|
25824
|
+
FooterClosing["Behind"] = "behind";
|
|
24558
25825
|
})(FooterClosing || (FooterClosing = {}));
|
|
24559
25826
|
var FooterGround;
|
|
24560
25827
|
(function (FooterGround) {
|
|
@@ -24566,6 +25833,12 @@ var FooterGround;
|
|
|
24566
25833
|
FooterGround["Scene"] = "scene";
|
|
24567
25834
|
FooterGround["Pattern"] = "pattern";
|
|
24568
25835
|
FooterGround["Inset"] = "inset";
|
|
25836
|
+
/** FV0: the owner's photo, dimmed (waits for FV3). */
|
|
25837
|
+
FooterGround["Photo"] = "photo";
|
|
25838
|
+
/** FV0: the colour's gradient wash (waits for FV3 with colour-v2 CV3). */
|
|
25839
|
+
FooterGround["Gradient"] = "gradient";
|
|
25840
|
+
/** FV0: a ruled box inside the page frame (damaria; waits for FV1). */
|
|
25841
|
+
FooterGround["Framed"] = "framed";
|
|
24569
25842
|
})(FooterGround || (FooterGround = {}));
|
|
24570
25843
|
var FooterNameStyle;
|
|
24571
25844
|
(function (FooterNameStyle) {
|
|
@@ -24573,6 +25846,8 @@ var FooterNameStyle;
|
|
|
24573
25846
|
FooterNameStyle["Gradient"] = "gradient";
|
|
24574
25847
|
FooterNameStyle["Emboss"] = "emboss";
|
|
24575
25848
|
FooterNameStyle["Offset"] = "offset";
|
|
25849
|
+
/** FV0: the closing name in the look's script face (waits for TYPE's third family, AW13). */
|
|
25850
|
+
FooterNameStyle["Script"] = "script";
|
|
24576
25851
|
})(FooterNameStyle || (FooterNameStyle = {}));
|
|
24577
25852
|
/** The roles a footer's parts carry — the contract's (`site.footerParts` and the stored footers), written to the node's
|
|
24578
25853
|
* `role`, a class `iox-role-<role>` both renderers emit. */
|
|
@@ -24595,6 +25870,10 @@ var FooterRole;
|
|
|
24595
25870
|
FooterRole["Ruled"] = "footer.ruled";
|
|
24596
25871
|
/** AW12 `arrange.list-big`: the pages stacked large. */
|
|
24597
25872
|
FooterRole["ListBig"] = "footer.list-big";
|
|
25873
|
+
/** FV1 `arrange.halves`: two zones (the brand · the blocks) divided by a vertical hairline (iox-design.css). */
|
|
25874
|
+
FooterRole["Halves"] = "footer.halves";
|
|
25875
|
+
/** FV1 `closing.email`: the owner's email set large, the contact link. */
|
|
25876
|
+
FooterRole["Email"] = "footer.email";
|
|
24598
25877
|
})(FooterRole || (FooterRole = {}));
|
|
24599
25878
|
class FooterMixError extends Error {
|
|
24600
25879
|
}
|
|
@@ -24612,10 +25891,19 @@ function footerTableWords(ingredient) {
|
|
|
24612
25891
|
function footerWait(ingredient, word) {
|
|
24613
25892
|
return WAITS$2[`${ingredient}.${word}`] ?? null;
|
|
24614
25893
|
}
|
|
25894
|
+
/**
|
|
25895
|
+
* FV0 (FV-D9, vectoriox/iox-ai-guidance#2): blocks a footer holds that are no part of it — the legal row is stamped after
|
|
25896
|
+
* EVERY footer by compose-site `legalRow` (`rules.legalAlways`), whether a mix names it or not. A mix may name it (stored
|
|
25897
|
+
* mixes, the references); the recipe never looks for its part and the wire never offers it (there is no choice to make).
|
|
25898
|
+
*/
|
|
25899
|
+
const FOOTER_ROW_HOLDS = new Set(F.rules.legalAlways ? [FooterHold.Legal] : []);
|
|
25900
|
+
/** The blocks of a mix the recipe lays as parts (the legal row is compose-site's). */
|
|
25901
|
+
const partHolds = (holds) => holds.filter(h => !FOOTER_ROW_HOLDS.has(h));
|
|
24615
25902
|
/** The words an ingredient may take — the DRAWN ones, the only ones the wire, the brief and the mender offer
|
|
24616
|
-
* (ingredients.md §3.3: offering a waiting word would put its stand-in on every site that asked for it).
|
|
25903
|
+
* (ingredients.md §3.3: offering a waiting word would put its stand-in on every site that asked for it). The legal row
|
|
25904
|
+
* is drawn on every footer, so it is never offered as a choice (`FOOTER_ROW_HOLDS`). */
|
|
24617
25905
|
function footerWords(ingredient) {
|
|
24618
|
-
return footerTableWords(ingredient).filter(w => !footerWait(ingredient, w));
|
|
25906
|
+
return footerTableWords(ingredient).filter(w => !footerWait(ingredient, w) && !(ingredient === FooterIngredient.Holds && FOOTER_ROW_HOLDS.has(w)));
|
|
24619
25907
|
}
|
|
24620
25908
|
/** What a word means, as the brief and the builder say it. */
|
|
24621
25909
|
function footerMeaning(ingredient, word) {
|
|
@@ -24730,15 +26018,13 @@ function footerFaceOf(footer) {
|
|
|
24730
26018
|
const at = (k) => words[keys.indexOf(k)] ?? '';
|
|
24731
26019
|
return `${FOOTER_TOKEN}:${at(FooterIngredient.Arrange)}/${at(FooterIngredient.Closing)}`;
|
|
24732
26020
|
}
|
|
24733
|
-
/**
|
|
26021
|
+
/** The tier a word was first drawn for (`all`, or `pro` — AW-D23 / AW12-D13); since AW-D42 every tier wears both. */
|
|
24734
26022
|
function footerWordTier(ingredient, word) {
|
|
24735
26023
|
return F.tiers[`${ingredient}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
24736
26024
|
}
|
|
24737
|
-
/**
|
|
24738
|
-
const AWARD = 'award';
|
|
24739
|
-
/** May a footer at `tier` wear this word? No tier named: every drawn word (as before the tier was asked). */
|
|
26025
|
+
/** May a footer at `tier` wear this word? Every tier wears every drawn word (AW-D42, `tierOffers`). */
|
|
24740
26026
|
function footerWordOffered(ingredient, word, tier) {
|
|
24741
|
-
return
|
|
26027
|
+
return tierOffers(footerWordTier(ingredient, word), tier);
|
|
24742
26028
|
}
|
|
24743
26029
|
/** A footer token in words: `footer:columns/none/inverse` → "columns · none · inverse". */
|
|
24744
26030
|
const footerTokenWords = (token) => token.replace(`${FOOTER_TOKEN}:`, '').split('/').join(' · ');
|
|
@@ -24780,9 +26066,11 @@ var FooterRepairCode;
|
|
|
24780
26066
|
/** AW12-D10 (H1): a word the kind of business never closes with or stands on (harness FOOTER_NEVER): the call · the
|
|
24781
26067
|
* dark band. */
|
|
24782
26068
|
FooterRepairCode["TypeNever"] = "type-never";
|
|
24783
|
-
/**
|
|
24784
|
-
|
|
24785
|
-
FooterRepairCode["
|
|
26069
|
+
/** FV1: the email closing is the owner's own address — none given (or too wide for a phone): no closing. */
|
|
26070
|
+
FooterRepairCode["EmailWithoutAddress"] = "email-without-address";
|
|
26071
|
+
FooterRepairCode["EmailTooLong"] = "email-too-long";
|
|
26072
|
+
/** FV1: halves need a block in the end zone — none held: drawn as columns. */
|
|
26073
|
+
FooterRepairCode["HalvesEmpty"] = "halves-empty";
|
|
24786
26074
|
})(FooterRepairCode || (FooterRepairCode = {}));
|
|
24787
26075
|
/** The phone the closing name must fit (the render check's). */
|
|
24788
26076
|
const PHONE_WIDTH = 390;
|
|
@@ -24841,32 +26129,6 @@ const footerNameFits = (ctx) => !overflowsPhone(nameWidthEm(ctx), ctx);
|
|
|
24841
26129
|
/** The word with its article, as a sentence says it ("an emboss name", "an inset", "a word"). */
|
|
24842
26130
|
const an = (word) => `${/^[aeiou]/.test(word) ? 'an' : 'a'} ${word}`;
|
|
24843
26131
|
const capital = (said) => said.charAt(0).toUpperCase() + said.slice(1);
|
|
24844
|
-
/** The ingredients a footer wears one word of — the ones a tier may mend to the table's default. */
|
|
24845
|
-
const ONE_WORD = [FooterIngredient.Arrange, FooterIngredient.Closing, FooterIngredient.Ground, FooterIngredient.NameStyle];
|
|
24846
|
-
/**
|
|
24847
|
-
* AW12-D13 (iox-ui#153): the mix as `tier` may wear it — a word the award tier alone wears becomes the table's default
|
|
24848
|
-
* (a held block is left out), each said. No tier, or the award tier: the mix as it is. Pure.
|
|
24849
|
-
*/
|
|
24850
|
-
function footerAtTier(mix, tier) {
|
|
24851
|
-
if (!tier || tier === AWARD)
|
|
24852
|
-
return { mix, said: [] };
|
|
24853
|
-
const said = [];
|
|
24854
|
-
const out = { ...mix };
|
|
24855
|
-
const defaults = F.defaults;
|
|
24856
|
-
for (const k of ONE_WORD) {
|
|
24857
|
-
const word = mix[k];
|
|
24858
|
-
if (!word || footerWordOffered(k, word, tier))
|
|
24859
|
-
continue;
|
|
24860
|
-
out[k] = defaults[k];
|
|
24861
|
-
said.push(`"${footerMeaning(k, word)}" comes with the award plan: ${footerMeaning(k, defaults[k])} instead`);
|
|
24862
|
-
}
|
|
24863
|
-
const left = mix.holds.filter(h => !footerWordOffered(FooterIngredient.Holds, h, tier));
|
|
24864
|
-
if (left.length) {
|
|
24865
|
-
out[FooterIngredient.Holds] = mix.holds.filter(h => !left.includes(h));
|
|
24866
|
-
said.push(`${left.map(h => `"${footerMeaning(FooterIngredient.Holds, h)}"`).join(' and ')} ${left.length > 1 ? 'come' : 'comes'} with the award plan: left out`);
|
|
24867
|
-
}
|
|
24868
|
-
return { mix: out, said };
|
|
24869
|
-
}
|
|
24870
26132
|
/**
|
|
24871
26133
|
* The ONE judge of a footer mix: what the table's rules refuse is mended to the nearest mix that keeps them, and each mend
|
|
24872
26134
|
* is said. Never throws on a well-formed mix. Pure.
|
|
@@ -24878,11 +26140,7 @@ function checkFooter(given, ctx) {
|
|
|
24878
26140
|
if (drawn.waited.length) {
|
|
24879
26141
|
say(FooterRepairCode.Waits, drawn.waited.map(w => `the footer's ${w.ingredient} "${w.word}" is drawn in ${w.phase}: ${w.drawnAs ? `"${w.drawnAs}" meanwhile` : 'left out meanwhile'}`).join('; '));
|
|
24880
26142
|
}
|
|
24881
|
-
|
|
24882
|
-
const atTier = footerAtTier(drawn.mix, ctx.tier);
|
|
24883
|
-
for (const said of atTier.said)
|
|
24884
|
-
say(FooterRepairCode.ProOnly, said);
|
|
24885
|
-
const mix = atTier.mix;
|
|
26143
|
+
const mix = drawn.mix;
|
|
24886
26144
|
let holds = inOrder(FooterIngredient.Holds, mix.holds);
|
|
24887
26145
|
let closing = mix.closing;
|
|
24888
26146
|
let arrange = mix.arrange;
|
|
@@ -24919,6 +26177,18 @@ function checkFooter(given, ctx) {
|
|
|
24919
26177
|
say(FooterRepairCode.WordTooLong, `"${footerCallWord(ctx.type, ctx.locale)}" is too wide for a phone even on two lines: the footer closes with a call`);
|
|
24920
26178
|
closing = FooterClosing.Call;
|
|
24921
26179
|
}
|
|
26180
|
+
if (closing === FooterClosing.Email) {
|
|
26181
|
+
// FV1 (rule 3, footer-v2 §4): the address is the owner's fact, never made up and never a placeholder.
|
|
26182
|
+
const email = ctx.email?.trim();
|
|
26183
|
+
if (!email) {
|
|
26184
|
+
say(FooterRepairCode.EmailWithoutAddress, 'the email closing is the owner\'s own address and none was given: no closing');
|
|
26185
|
+
closing = FooterClosing.None;
|
|
26186
|
+
}
|
|
26187
|
+
else if (overflowsPhone(widthEm(email, ctx, 'link-display'), ctx)) {
|
|
26188
|
+
say(FooterRepairCode.EmailTooLong, `"${email}" does not fit a phone even at the smallest size: no closing`);
|
|
26189
|
+
closing = FooterClosing.None;
|
|
26190
|
+
}
|
|
26191
|
+
}
|
|
24922
26192
|
if (closing === FooterClosing.Name && !footerNameFits(ctx)) {
|
|
24923
26193
|
say(FooterRepairCode.NameTooLong, `"${ctx.name}" is too long to stand across a phone: the footer closes with nothing`);
|
|
24924
26194
|
closing = FooterClosing.None;
|
|
@@ -24931,8 +26201,8 @@ function checkFooter(given, ctx) {
|
|
|
24931
26201
|
if (!footerNameFits(ctx))
|
|
24932
26202
|
say(FooterRepairCode.NameTooLong, `"${ctx.name}" is too long to stand across a phone: the action stays, the name is left out`);
|
|
24933
26203
|
}
|
|
24934
|
-
if (arrange === FooterArrange.Ruled && holds.length + 1 < rule('ruledMinBlocks')) {
|
|
24935
|
-
say(FooterRepairCode.RuledFewBlocks, `ruled cells need company and the footer holds ${holds.length + 1} block${holds.length ? 's' : ''}: drawn as columns`);
|
|
26204
|
+
if (arrange === FooterArrange.Ruled && partHolds(holds).length + 1 < rule('ruledMinBlocks')) {
|
|
26205
|
+
say(FooterRepairCode.RuledFewBlocks, `ruled cells need company and the footer holds ${partHolds(holds).length + 1} block${partHolds(holds).length ? 's' : ''}: drawn as columns`);
|
|
24936
26206
|
arrange = FooterArrange.Columns;
|
|
24937
26207
|
}
|
|
24938
26208
|
if (arrange === FooterArrange.ListBig && ctx.pages !== undefined && ctx.pages > rule('listBigPages')) {
|
|
@@ -24947,9 +26217,13 @@ function checkFooter(given, ctx) {
|
|
|
24947
26217
|
say(FooterRepairCode.EmbossNeedsBrand, `${capital(an(nameStyle))} name is a copy of the name the brand block says, and this footer has none: plain`);
|
|
24948
26218
|
nameStyle = FooterNameStyle.Plain;
|
|
24949
26219
|
}
|
|
24950
|
-
if (
|
|
26220
|
+
if (arrange === FooterArrange.Halves && !partHolds(holds).length) {
|
|
26221
|
+
say(FooterRepairCode.HalvesEmpty, 'halves need a block beside the name and the footer holds none: drawn as columns');
|
|
26222
|
+
arrange = FooterArrange.Columns;
|
|
26223
|
+
}
|
|
26224
|
+
if (partHolds(holds).length < F.rules.minHolds && closing === FooterClosing.None) {
|
|
24951
26225
|
say(FooterRepairCode.Empty, 'a footer that holds nothing holds the pages');
|
|
24952
|
-
holds = [FooterHold.Pages];
|
|
26226
|
+
holds = inOrder(FooterIngredient.Holds, [FooterHold.Pages, ...holds]);
|
|
24953
26227
|
}
|
|
24954
26228
|
return { mix: { ...mix, holds, closing, arrange, nameStyle, ground }, repairs };
|
|
24955
26229
|
}
|
|
@@ -25012,6 +26286,11 @@ function callPart(ctx) {
|
|
|
25012
26286
|
return node;
|
|
25013
26287
|
return { ...node, c: (node.c ?? []).map(n => (n.slot === 'closing' ? { ...n, text: line, ...(lineHe ? { textHe: lineHe } : {}) } : n)) };
|
|
25014
26288
|
}
|
|
26289
|
+
/** The email closing (FV1 `closing.email`): the part's link, its words the owner's address (the fact), fitted to the
|
|
26290
|
+
* column as the call word is. */
|
|
26291
|
+
function emailLine(email, ctx) {
|
|
26292
|
+
return laid$1(part$3('email'), { fontSize: columnSize(widthEm(email, ctx, 'link-display'), ctx) });
|
|
26293
|
+
}
|
|
25015
26294
|
/** A block it holds: how to reach the business leaves its city to the visit block when the footer holds both. */
|
|
25016
26295
|
function holdPart(hold, mix) {
|
|
25017
26296
|
const node = part$3(hold);
|
|
@@ -25034,7 +26313,7 @@ function bigPages(ctx) {
|
|
|
25034
26313
|
}
|
|
25035
26314
|
/** The body: the blocks it holds, arranged. */
|
|
25036
26315
|
function bodyOf$2(mix, ctx) {
|
|
25037
|
-
const holds = mix.holds.map(h => holdPart(h, mix));
|
|
26316
|
+
const holds = partHolds(mix.holds).map(h => holdPart(h, mix));
|
|
25038
26317
|
switch (mix.arrange) {
|
|
25039
26318
|
case FooterArrange.Line: {
|
|
25040
26319
|
const row = { t: 'Container', es: 'box', lay: { display: 'flex', flexWrap: 'wrap', alignItems: 'center', justifyContent: 'space-between', gap: GAP$1 }, c: [
|
|
@@ -25044,7 +26323,7 @@ function bodyOf$2(mix, ctx) {
|
|
|
25044
26323
|
return [row];
|
|
25045
26324
|
}
|
|
25046
26325
|
case FooterArrange.Centred: {
|
|
25047
|
-
const blocks = mix.holds.map(h => (h === FooterHold.Pages ? laid$1(part$3('pageRow'), { justifyContent: 'center' }) : centred(holdPart(h, mix))));
|
|
26326
|
+
const blocks = partHolds(mix.holds).map(h => (h === FooterHold.Pages ? laid$1(part$3('pageRow'), { justifyContent: 'center' }) : centred(holdPart(h, mix))));
|
|
25048
26327
|
return [
|
|
25049
26328
|
{ t: 'Container', es: 'box', lay: { display: 'flex', flexDirection: 'column', gap: '28px', ...CENTRED }, c: [centred(brandPart(ctx, mix)), ...blocks] },
|
|
25050
26329
|
part$3('rule'),
|
|
@@ -25060,7 +26339,7 @@ function bodyOf$2(mix, ctx) {
|
|
|
25060
26339
|
resp: { tablet: { gridTemplateColumns: 'repeat(2, minmax(0, 1fr))' }, mobile: { gridTemplateColumns: 'minmax(0, 1fr)' } }, c: cells }, part$3('rule'), part$3('copyright')];
|
|
25061
26340
|
}
|
|
25062
26341
|
case FooterArrange.ListBig: {
|
|
25063
|
-
const others = mix.holds.filter(h => h !== FooterHold.Pages).map(h => holdPart(h, mix));
|
|
26342
|
+
const others = partHolds(mix.holds).filter(h => h !== FooterHold.Pages).map(h => holdPart(h, mix));
|
|
25064
26343
|
const pages = mix.holds.includes(FooterHold.Pages) ? bigPages(ctx) : [];
|
|
25065
26344
|
return [{ t: 'Container', es: 'box', lay: { display: 'grid', gridTemplateColumns: 'minmax(0, 3fr) minmax(0, 2fr)', gap: GAP$1, alignItems: 'end' },
|
|
25066
26345
|
resp: { mobile: { gridTemplateColumns: 'minmax(0, 1fr)' } }, c: [
|
|
@@ -25068,6 +26347,14 @@ function bodyOf$2(mix, ctx) {
|
|
|
25068
26347
|
{ t: 'Container', es: 'box', lay: { display: 'flex', flexDirection: 'column', gap: GAP$1 }, c: [brandPart(ctx, mix), ...others] },
|
|
25069
26348
|
] }, part$3('rule'), part$3('copyright')];
|
|
25070
26349
|
}
|
|
26350
|
+
case FooterArrange.Halves: {
|
|
26351
|
+
// FV1 (footer-v2 §2, after thepopuphotel and allerstudio): the brand at the start, the blocks in columns at the
|
|
26352
|
+
// end, a vertical hairline between them (iox-design.css `footer.halves`); one under another on a phone.
|
|
26353
|
+
const end = { t: 'Container', es: 'box', lay: { display: 'grid', gridTemplateColumns: `repeat(${Math.max(holds.length, 1)}, minmax(0, 1fr))`, gap: GAP$1 },
|
|
26354
|
+
resp: { mobile: { gridTemplateColumns: 'minmax(0, 1fr)' } }, c: holds };
|
|
26355
|
+
return [{ t: 'Container', es: 'box', role: FooterRole.Halves, lay: { display: 'grid', gridTemplateColumns: 'minmax(0, 1fr) minmax(0, 1fr)', gap: '0px' },
|
|
26356
|
+
resp: { mobile: { gridTemplateColumns: 'minmax(0, 1fr)' } }, c: [brandPart(ctx, mix), end] }, part$3('rule'), part$3('copyright')];
|
|
26357
|
+
}
|
|
25071
26358
|
default:
|
|
25072
26359
|
return [{ t: 'Container', es: 'box', ...columnsOf$1(holds.length), c: [brandPart(ctx, mix), ...holds] }, part$3('rule'), part$3('copyright')];
|
|
25073
26360
|
}
|
|
@@ -25089,6 +26376,8 @@ function endOf(mix, ctx) {
|
|
|
25089
26376
|
const GROUND_SCHEME = {
|
|
25090
26377
|
[FooterGround.Inverse]: 'inverse', [FooterGround.Subtle]: 'subtle', [FooterGround.Accent]: 'accent', [FooterGround.Plain]: null,
|
|
25091
26378
|
[FooterGround.Inset]: 'inverse',
|
|
26379
|
+
// FV1: a framed footer stands on the page's own ground, in a ruled box (stampFooterMix + iox-design.css).
|
|
26380
|
+
[FooterGround.Framed]: null,
|
|
25092
26381
|
};
|
|
25093
26382
|
/** A footer mix as a pattern: what the composer stamps as the site's footer (global, after the page). Check it first. */
|
|
25094
26383
|
function footerPattern(given, ctx) {
|
|
@@ -25098,6 +26387,7 @@ function footerPattern(given, ctx) {
|
|
|
25098
26387
|
[FooterClosing.Call]: () => [mix.arrange === FooterArrange.Columns ? callPart(ctx) : centred(callPart(ctx))],
|
|
25099
26388
|
[FooterClosing.Statement]: () => [part$3('statement')],
|
|
25100
26389
|
[FooterClosing.Word]: () => [callWord(ctx)],
|
|
26390
|
+
[FooterClosing.Email]: () => (ctx.email?.trim() ? [emailLine(ctx.email.trim(), ctx)] : []),
|
|
25101
26391
|
};
|
|
25102
26392
|
const before = opens[mix.closing]?.() ?? [];
|
|
25103
26393
|
const body = mix.closing === FooterClosing.NameAndAction ? endOf(mix, ctx) : bodyOf$2(mix, ctx);
|
|
@@ -25125,12 +26415,21 @@ const FOOTER_INSET_STYLES = {
|
|
|
25125
26415
|
paddingRight: 'calc(var(--iox-space-inline) - max(calc(var(--iox-space-gutter) / 2), calc(var(--iox-space-inline) - var(--iox-card-pad))))',
|
|
25126
26416
|
borderRadius: 'var(--iox-radius-xl)',
|
|
25127
26417
|
};
|
|
26418
|
+
/** FV1 `ground.framed`: the box stands at an inset footer's margin (inside the page frame) and pads its words back onto the
|
|
26419
|
+
* column; its rule is iox-design.css's (`iox-footer-ground-framed`). */
|
|
26420
|
+
const FOOTER_FRAMED_STYLES = {
|
|
26421
|
+
margin: FOOTER_INSET_STYLES['margin'], paddingLeft: FOOTER_INSET_STYLES['paddingLeft'], paddingRight: FOOTER_INSET_STYLES['paddingRight'],
|
|
26422
|
+
};
|
|
25128
26423
|
/**
|
|
25129
26424
|
* The composed footer's root says the mix it was composed as (`FOOTER_MIX_PROP` — the classes iox-design.css draws from),
|
|
25130
26425
|
* and an inset footer wears the card shape (AW6's trait) at the footer's own margin. Pure on the node it is given.
|
|
25131
26426
|
*/
|
|
25132
26427
|
function stampFooterMix(root, mix) {
|
|
25133
26428
|
root.props = { ...root.props, [FOOTER_MIX_PROP]: footerMixWords({ ...mix, holds: [] }).filter(w => !w.startsWith(`${FooterIngredient.Holds}:`)).join(' ') };
|
|
26429
|
+
if (mix.ground === FooterGround.Framed) {
|
|
26430
|
+
root.styleProps = { ...(root.styleProps ?? {}), ...FOOTER_FRAMED_STYLES };
|
|
26431
|
+
return;
|
|
26432
|
+
}
|
|
25134
26433
|
if (mix.ground !== FooterGround.Inset)
|
|
25135
26434
|
return;
|
|
25136
26435
|
root.props = { ...root.props, [SECTION_SHAPE_TRAIT]: SectionShape.Card };
|
|
@@ -25145,17 +26444,14 @@ const MEND_ORDER$1 = [
|
|
|
25145
26444
|
/**
|
|
25146
26445
|
* A footer no other site wears (R-H10): the mix when no other site's footer READS like it (`footerFaceOf` — the same
|
|
25147
26446
|
* arrangement and closing, whatever the ground), else the nearest mix that reads otherwise — one changed ingredient before
|
|
25148
|
-
* two, in `MEND_ORDER`, each word in the table's order and offered at `tier` (
|
|
25149
|
-
* award word) — checked again (`checkFooter`), and said. When every face is worn, a free token is enough (the plan's own,
|
|
26447
|
+
* two, in `MEND_ORDER`, each word in the table's order and offered at `tier` (every tier's since AW-D42) — checked again (`checkFooter`), and said. When every face is worn, a free token is enough (the plan's own,
|
|
25150
26448
|
* else the nearest); when every footer is worn, the mix as it is. Pure, deterministic.
|
|
25151
26449
|
*/
|
|
25152
26450
|
function distinctFooter(mix, taken, ctx, tier) {
|
|
25153
26451
|
const used = new Set(taken);
|
|
25154
26452
|
const faces = new Set(taken.map(footerFaceOf));
|
|
25155
26453
|
const free = (m, byFace) => !used.has(footerTokenOf(m)) && (!byFace || !faces.has(footerFaceOf(m)));
|
|
25156
|
-
// judged as the tier will draw it (the composer's check says the tier's mends; here they only shape the judgement)
|
|
25157
26454
|
const asked = mix;
|
|
25158
|
-
mix = footerAtTier(mix, tier).mix;
|
|
25159
26455
|
if (free(mix, true))
|
|
25160
26456
|
return { mix: asked, repairs: [] };
|
|
25161
26457
|
const words = (k) => footerWords(k).filter(w => footerWordOffered(k, w, tier));
|
|
@@ -25292,8 +26588,38 @@ const MENU_WORDS = {
|
|
|
25292
26588
|
en: { ...NAV_SHAPE_COPY },
|
|
25293
26589
|
he: { menu: 'תפריט', close: 'סגירה', closeMenu: 'סגירת התפריט', more: 'עוד', home: 'בית' },
|
|
25294
26590
|
};
|
|
25295
|
-
|
|
25296
|
-
|
|
26591
|
+
/** vectoriox/iox-ui#177: the words a menu button may be named, in order — the next is taken while a page of the site is
|
|
26592
|
+
* called like the one before (a café's "Menu" page beside a "Menu" button: a visitor cannot tell which gives the food).
|
|
26593
|
+
* Its Close is named with it. */
|
|
26594
|
+
const MENU_BUTTON_LADDER = {
|
|
26595
|
+
en: [{ menu: 'Menu', closeMenu: 'Close menu' }, { menu: 'Pages', closeMenu: 'Close pages' }, { menu: 'Navigation', closeMenu: 'Close navigation' }],
|
|
26596
|
+
he: [{ menu: 'תפריט', closeMenu: 'סגירת התפריט' }, { menu: 'עמודים', closeMenu: 'סגירת העמודים' }, { menu: 'ניווט', closeMenu: 'סגירת הניווט' }],
|
|
26597
|
+
};
|
|
26598
|
+
/** The same for the bottom bar's More (a page called "More"). */
|
|
26599
|
+
const MORE_LADDER = {
|
|
26600
|
+
en: ['More', 'Other pages'],
|
|
26601
|
+
he: ['עוד', 'עמודים נוספים'],
|
|
26602
|
+
};
|
|
26603
|
+
/** An article a page name may start with that does not make it another word ("The menu", "התפריט"). */
|
|
26604
|
+
const LEADING_ARTICLE = { en: /^(?:the|our)\s+/u, he: /^ה(?=\p{L}{2})/u };
|
|
26605
|
+
/** One word of the navigation said the same way: case, stops and a leading article aside. */
|
|
26606
|
+
function navWordKey(words, lang) {
|
|
26607
|
+
const plain = words.normalize('NFC').toLocaleLowerCase().replace(/[^\p{L}\p{N}\s]/gu, '').replace(/\s+/g, ' ').trim();
|
|
26608
|
+
return plain.replace(LEADING_ARTICLE[lang] ?? /^$/u, '');
|
|
26609
|
+
}
|
|
26610
|
+
/** The words of the menu's parts in the site's language. Given the labels of the pages it links to (iox-ui#177), the
|
|
26611
|
+
* menu button (and its drawer and Close) and the bar's More never say a word a page is called: each takes the next word
|
|
26612
|
+
* of its ladder. */
|
|
26613
|
+
function menuWords(locale, labels = []) {
|
|
26614
|
+
const lang = MENU_WORDS[commerceLanguage(locale)] ? commerceLanguage(locale) : 'en';
|
|
26615
|
+
const base = MENU_WORDS[lang];
|
|
26616
|
+
if (!labels.length)
|
|
26617
|
+
return base;
|
|
26618
|
+
const taken = new Set(labels.map(l => navWordKey(l, lang)));
|
|
26619
|
+
const free = (w) => !taken.has(navWordKey(w, lang));
|
|
26620
|
+
const buttons = MENU_BUTTON_LADDER[lang];
|
|
26621
|
+
const mores = MORE_LADDER[lang];
|
|
26622
|
+
return { ...base, ...(buttons.find(b => free(b.menu)) ?? buttons[buttons.length - 1]), more: mores.find(free) ?? mores[mores.length - 1] };
|
|
25297
26623
|
}
|
|
25298
26624
|
/** The layer names of the parts (R2: the tree, the breadcrumb and the toolbar read them). */
|
|
25299
26625
|
const NAV_PART_LABELS = {
|
|
@@ -25588,25 +26914,22 @@ function dressDrawer(dr, look) {
|
|
|
25588
26914
|
const WORD_BUTTON_LAY = { width: 'auto', minWidth: '48px' };
|
|
25589
26915
|
/** What a menu button shows for its kind — closed (the menu button) or open (the drawer's Close, which lands where the
|
|
25590
26916
|
* menu button is): the list icon and an X, the nine dots and an X (the shared CSS draws both as dots), or the word. */
|
|
25591
|
-
function buttonFace(kit, suffix, kind, open,
|
|
26917
|
+
function buttonFace(kit, suffix, kind, open, words) {
|
|
25592
26918
|
switch (kind) {
|
|
25593
|
-
case MenuButtonKind.Word: {
|
|
25594
|
-
const words = menuWords(locale);
|
|
25595
|
-
return [labelText(kit, `${suffix}-word`, open ? words.close : words.menu)];
|
|
25596
|
-
}
|
|
26919
|
+
case MenuButtonKind.Word: return [labelText(kit, `${suffix}-word`, open ? words.close : words.menu)];
|
|
25597
26920
|
case MenuButtonKind.Dots: return [iconNode(kit, `${suffix}-dots`, open ? CLOSE_ICON : DOTS_ICON)];
|
|
25598
26921
|
default: return [iconNode(kit, `${suffix}-icon`, open ? CLOSE_ICON : MENU_ICON)];
|
|
25599
26922
|
}
|
|
25600
26923
|
}
|
|
25601
26924
|
/** Give a menu button (or the drawer's Close) a kind. The same kind keeps the author's children; another kind gets that
|
|
25602
26925
|
* kind's face and size. */
|
|
25603
|
-
function dressButton(kit, btn, suffix, kind, open,
|
|
26926
|
+
function dressButton(kit, btn, suffix, kind, open, words) {
|
|
25604
26927
|
const was = menuButtonOf(btn.props?.[MenuTrait.Button]);
|
|
25605
26928
|
const { [MenuTrait.Button]: _drop, ...props } = btn.props ?? {};
|
|
25606
26929
|
btn.props = { ...props, ...menuButtonProps(kind) };
|
|
25607
26930
|
if (was === kind)
|
|
25608
26931
|
return;
|
|
25609
|
-
btn.children = buttonFace(kit, suffix, kind, open,
|
|
26932
|
+
btn.children = buttonFace(kit, suffix, kind, open, words);
|
|
25610
26933
|
if (kind === MenuButtonKind.Word)
|
|
25611
26934
|
Object.assign(btn.styleProps, WORD_BUTTON_LAY);
|
|
25612
26935
|
else if (was === MenuButtonKind.Word)
|
|
@@ -25615,16 +26938,16 @@ function dressButton(kit, btn, suffix, kind, open, locale) {
|
|
|
25615
26938
|
/** An icon menu button's own min-width (its type's, as `part` stamps it) — what a `word` button gives back. */
|
|
25616
26939
|
const ICON_BUTTON_MIN_WIDTH = String(createSerializedNode('min-width', BUTTON, { tag: 'button' }, 'button-ghost', COMPOSED$3).styleProps['minWidth'] ?? '0px');
|
|
25617
26940
|
/** Put a look on a header's menu: the drawer's traits, and the menu button's and the Close's kind. */
|
|
25618
|
-
function dressMenu(kit, dr, menu, look,
|
|
26941
|
+
function dressMenu(kit, dr, menu, look, words) {
|
|
25619
26942
|
if (dr)
|
|
25620
26943
|
dressDrawer(dr, look);
|
|
25621
26944
|
if (!look.button)
|
|
25622
26945
|
return;
|
|
25623
26946
|
if (menu)
|
|
25624
|
-
dressButton(kit, menu, 'menu', look.button, false,
|
|
26947
|
+
dressButton(kit, menu, 'menu', look.button, false, words);
|
|
25625
26948
|
const close = dr ? find([dr], NavRole.DrawerClose) : null;
|
|
25626
26949
|
if (close)
|
|
25627
|
-
dressButton(kit, close, 'drawer-close', look.button, true,
|
|
26950
|
+
dressButton(kit, close, 'drawer-close', look.button, true, words);
|
|
25628
26951
|
}
|
|
25629
26952
|
function barItem(kit, i, page) {
|
|
25630
26953
|
const item = part$2(kit, `bar-item-${i}`, LINKED, { linkType: LinkType.Page, pageRoute: page.route, target: '_self' }, 'bottom-bar-item', NavRole.BarItem, BAR_ITEM_LAY);
|
|
@@ -25782,9 +27105,9 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
25782
27105
|
if (options.everyWidth && shape !== NavShape.Drawer)
|
|
25783
27106
|
throw new NavShapeError('only a drawer menu shows at every width');
|
|
25784
27107
|
const kit = makeKit(out, root.id, options.newId);
|
|
25785
|
-
const words = menuWords(options.locale);
|
|
25786
27108
|
adoptRoles(root);
|
|
25787
27109
|
const { pages } = phoneMenuPages(root, options.pages);
|
|
27110
|
+
const words = menuWords(options.locale, pages.map(p => p.label));
|
|
25788
27111
|
const wantDrawer = shape !== NavShape.Bar;
|
|
25789
27112
|
const wantBar = shape !== NavShape.Drawer;
|
|
25790
27113
|
const wantMenuButton = shape === NavShape.Drawer;
|
|
@@ -25842,7 +27165,7 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
25842
27165
|
}
|
|
25843
27166
|
// HI2a: the menu's look, when one is asked (the composer's header recipe; the Header studio later).
|
|
25844
27167
|
if (options.look)
|
|
25845
|
-
dressMenu(kit, dr, menu, options.look,
|
|
27168
|
+
dressMenu(kit, dr, menu, options.look, words);
|
|
25846
27169
|
if (dr && shape === NavShape.Drawer)
|
|
25847
27170
|
kids.push(dr);
|
|
25848
27171
|
if (dr && shape === NavShape.Both) {
|
|
@@ -25931,8 +27254,9 @@ function addBarItem(globals, options = {}) {
|
|
|
25931
27254
|
if (kids.length >= BAR_ITEMS_MAX)
|
|
25932
27255
|
return { globals: out, added: false };
|
|
25933
27256
|
const linked = new Set(kids.filter(c => c.role === NavRole.BarItem).map(c => prop(c, 'pageRoute')));
|
|
25934
|
-
const
|
|
25935
|
-
const
|
|
27257
|
+
const sitePages = phoneMenuPages(root, options.pages).pages;
|
|
27258
|
+
const words = menuWords(options.locale, sitePages.map(p => p.label));
|
|
27259
|
+
const page = barPages(root, sitePages, BAR_ITEMS_MAX + 1, words).find(p => !linked.has(p.route))
|
|
25936
27260
|
?? { label: words.home, route: HOME_ROUTE$1 };
|
|
25937
27261
|
const item = barItem(makeKit(out, root.id, options.newId), kids.length, page);
|
|
25938
27262
|
const more = kids.findIndex(c => c.role === NavRole.More);
|
|
@@ -26112,13 +27436,13 @@ function openingWordDrawn(ingredient, word) {
|
|
|
26112
27436
|
function openingWordWaits(ingredient, word) {
|
|
26113
27437
|
return WAITS$1[`${ingredient}.${word}`]?.phase ?? null;
|
|
26114
27438
|
}
|
|
26115
|
-
/**
|
|
27439
|
+
/** The tier a word was first drawn for (`all`, or `pro` — the award tier's, AW-D23); since AW-D42 every tier wears both. */
|
|
26116
27440
|
function openingWordTier(ingredient, word) {
|
|
26117
27441
|
return O.tiers[`${ingredient}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
26118
27442
|
}
|
|
26119
|
-
/** May a build at `tier` wear this word? */
|
|
27443
|
+
/** May a build at `tier` wear this word? Every tier wears every drawn word (AW-D42, `tierOffers`). */
|
|
26120
27444
|
function openingWordOffered(ingredient, word, tier) {
|
|
26121
|
-
return openingWordTier(ingredient, word)
|
|
27445
|
+
return tierOffers(openingWordTier(ingredient, word), tier);
|
|
26122
27446
|
}
|
|
26123
27447
|
const listOf = (v) => (v === undefined ? [] : Array.isArray(v) ? [...v] : [v]);
|
|
26124
27448
|
/** A many-ingredient's words once each, in the table's order. */
|
|
@@ -26356,7 +27680,7 @@ function typeLedGrounds(calm = false) {
|
|
|
26356
27680
|
return (O.typeLedGrounds ?? [OpeningGround.Inverse]).filter(g => !(calm && g === OpeningGround.Accent));
|
|
26357
27681
|
}
|
|
26358
27682
|
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only (a waiting word is never
|
|
26359
|
-
* offered)
|
|
27683
|
+
* offered) — every tier's since AW-D42. */
|
|
26360
27684
|
function openingWireWords(tier = GenerationTier.Basic) {
|
|
26361
27685
|
return ORDER.flatMap(k => openingWords$1(k).filter(w => openingWordDrawn(k, w) && openingWordOffered(k, w, tier)).map(w => `${k}:${w}`));
|
|
26362
27686
|
}
|
|
@@ -26369,20 +27693,16 @@ function openingHarnessWord(ingredient, word) {
|
|
|
26369
27693
|
function typeLedOpeningWays() {
|
|
26370
27694
|
return (O.typeLed ?? []).map(w => openingMix({ frame: w.frame, words: w.words, media: OpeningMedia.None }));
|
|
26371
27695
|
}
|
|
26372
|
-
/** AW-D23 amended (2026-11-24): a type-led first screen's frame and words are worn at every tier when they are one of
|
|
26373
|
-
* the contract's type-led ways — with no picture they are all the screen has. */
|
|
26374
|
-
function typeLedWayEveryTier(mix) {
|
|
26375
|
-
return !!O.typeLedEveryTier && mix.media === OpeningMedia.None && (O.typeLed ?? []).some(w => w.frame === mix.frame && w.words === mix.words);
|
|
26376
|
-
}
|
|
26377
27696
|
/** #129: is the mix a type-led first screen (nothing to show but its words)? */
|
|
26378
27697
|
const openingIsTypeLed = (mix) => mix.media === OpeningMedia.None;
|
|
26379
27698
|
// ── The check: a mix judged against the site, mended where the site cannot carry it, each mend said ──────────────────
|
|
26380
27699
|
var OpeningRepairCode;
|
|
26381
27700
|
(function (OpeningRepairCode) {
|
|
26382
|
-
/** A word the award tier alone wears, on a site built below it. */
|
|
26383
|
-
OpeningRepairCode["ProOnly"] = "pro-only";
|
|
26384
27701
|
/** The name behind the subject needs a cut-out picture: the name, large. */
|
|
26385
27702
|
OpeningRepairCode["NeedsCutOut"] = "needs-cut-out";
|
|
27703
|
+
/** J10 lever (b): a looping film is the owner's own clip — a build with none draws a picture there, which the owner's
|
|
27704
|
+
* photo, a made picture or stock can fill (an empty Video was never offered to any of them). */
|
|
27705
|
+
OpeningRepairCode["FilmIsTheOwners"] = "film-is-the-owners";
|
|
26386
27706
|
/** "The film is the message" needs a film or pictures that move: a heading. */
|
|
26387
27707
|
OpeningRepairCode["NoneNeedsFilm"] = "none-needs-film";
|
|
26388
27708
|
/** Words placed apart need two or three of them. */
|
|
@@ -26427,10 +27747,6 @@ function nameFits(ctx, oneLine) {
|
|
|
26427
27747
|
const laptopOk = !oneLine || (LAPTOP_PX - 2 * LAPTOP_SIDE_PX) / line >= MIN_LAPTOP_DISPLAY_PX;
|
|
26428
27748
|
return laptopOk && (PHONE_PX - 2 * PHONE_SIDE_PX) / longest >= MIN_PHONE_DISPLAY_PX;
|
|
26429
27749
|
}
|
|
26430
|
-
/** The stand-in for a word a tier may not wear: the one-word ingredients' defaults; a many-ingredient's word left out. */
|
|
26431
|
-
function tierStandIn(k) {
|
|
26432
|
-
return O.defaults[k];
|
|
26433
|
-
}
|
|
26434
27750
|
/**
|
|
26435
27751
|
* The ONE judge of an opening mix against the site: what the site cannot carry is mended to the nearest mix it can, and
|
|
26436
27752
|
* each mend is said. Judges the mix as DRAWN (`drawnOpeningMix` first). Never throws on a well-formed mix. Pure.
|
|
@@ -26439,24 +27755,9 @@ function checkOpening(mix, ctx) {
|
|
|
26439
27755
|
const m = { ...mix, extras: [...mix.extras], motion: [...mix.motion] };
|
|
26440
27756
|
const repairs = [];
|
|
26441
27757
|
const say = (code, said) => repairs.push({ code, said });
|
|
26442
|
-
if (
|
|
26443
|
-
|
|
26444
|
-
|
|
26445
|
-
if (everyTier && (k === OpeningIngredient.Frame || k === OpeningIngredient.Words))
|
|
26446
|
-
continue;
|
|
26447
|
-
if (isMany(k)) {
|
|
26448
|
-
const kept = m[k].filter(w => openingWordTier(k, w) === 'all');
|
|
26449
|
-
for (const w of m[k].filter(x => !kept.includes(x)))
|
|
26450
|
-
say(OpeningRepairCode.ProOnly, `"${openingMeaning(k, w)}" comes with the award plan: left out`);
|
|
26451
|
-
m[k] = kept;
|
|
26452
|
-
continue;
|
|
26453
|
-
}
|
|
26454
|
-
const word = m[k];
|
|
26455
|
-
if (openingWordTier(k, word) === 'all')
|
|
26456
|
-
continue;
|
|
26457
|
-
m[k] = tierStandIn(k);
|
|
26458
|
-
say(OpeningRepairCode.ProOnly, `"${openingMeaning(k, word)}" comes with the award plan: ${openingMeaning(k, tierStandIn(k))} instead`);
|
|
26459
|
-
}
|
|
27758
|
+
if (m.media === OpeningMedia.Film && ctx.film === false) {
|
|
27759
|
+
m.media = OpeningMedia.Photo;
|
|
27760
|
+
say(OpeningRepairCode.FilmIsTheOwners, 'a looping film is the owner\'s own clip, and there is none yet: a picture stands in, filled by their photo or one that fits the business');
|
|
26460
27761
|
}
|
|
26461
27762
|
if (m.words === OpeningWords.Behind && !ctx.cutOut) {
|
|
26462
27763
|
m.words = OpeningWords.Wordmark;
|
|
@@ -27063,6 +28364,16 @@ var HeaderRepairCode;
|
|
|
27063
28364
|
HeaderRepairCode["GlassOwnBar"] = "glass-own-bar";
|
|
27064
28365
|
/** HI3-D9: glass carries its own hairline and shadow: no scroll edge. */
|
|
27065
28366
|
HeaderRepairCode["GlassEdge"] = "glass-edge";
|
|
28367
|
+
/** HI3-D20: a floating header has no scroll edge. */
|
|
28368
|
+
HeaderRepairCode["FloatEdge"] = "float-edge";
|
|
28369
|
+
/** HI3-D18: a centred name has no island side: islands become one pill. */
|
|
28370
|
+
HeaderRepairCode["IslandsCentred"] = "islands-centred";
|
|
28371
|
+
/** HI3-D25: a floating header, or a name that arrives later, needs a home page that opens on a picture. */
|
|
28372
|
+
HeaderRepairCode["FloatPlain"] = "float-plain";
|
|
28373
|
+
/** HI3-D21: a hanging name needs a logo picture. */
|
|
28374
|
+
HeaderRepairCode["NoLogo"] = "no-logo";
|
|
28375
|
+
/** HI3-D25: a kind of business that keeps its header plain never takes islands or a late name. */
|
|
28376
|
+
HeaderRepairCode["TypeNeverShape"] = "type-never-shape";
|
|
27066
28377
|
})(HeaderRepairCode || (HeaderRepairCode = {}));
|
|
27067
28378
|
const RULES = H.rules;
|
|
27068
28379
|
/** How a laptop's bar is measured (an estimate on the look's own faces — never a guess at a page's words): the name at
|
|
@@ -27125,12 +28436,48 @@ function checkHeader(mix, ctx) {
|
|
|
27125
28436
|
say(HeaderRepairCode.OneDestination, 'two actions need two places to go (the contact page and the shop): one button');
|
|
27126
28437
|
}
|
|
27127
28438
|
mendGround(m, ctx, say);
|
|
28439
|
+
mendShape(m, ctx, say);
|
|
27128
28440
|
return { mix: m, repairs };
|
|
27129
28441
|
}
|
|
28442
|
+
/** The outline and name rules (HI3 slice 2, HI3-D18, D20, D21, D25), in order: the kind of business, the opening, the
|
|
28443
|
+
* arrangement, the logo, then the edge a floating header does not draw. */
|
|
28444
|
+
function mendShape(m, ctx, say) {
|
|
28445
|
+
const floats = () => headerShapeFloats(m.shape);
|
|
28446
|
+
if (ctx.never?.grounds.length && (m.shape === HeaderShape.Islands || m.brand === HeaderBrand.Later)) {
|
|
28447
|
+
if (m.shape === HeaderShape.Islands)
|
|
28448
|
+
m.shape = HeaderShape.Pill;
|
|
28449
|
+
if (m.brand === HeaderBrand.Later)
|
|
28450
|
+
m.brand = HeaderBrand.Fits;
|
|
28451
|
+
say(HeaderRepairCode.TypeNeverShape, 'this kind of business keeps its header plain: one bar, the name always in it');
|
|
28452
|
+
}
|
|
28453
|
+
if ((floats() || m.brand === HeaderBrand.Later) && ctx.opening !== undefined && !opensOnPicture(ctx.opening)) {
|
|
28454
|
+
m.shape = HeaderShape.Bar;
|
|
28455
|
+
if (m.brand === HeaderBrand.Later)
|
|
28456
|
+
m.brand = HeaderBrand.Fits;
|
|
28457
|
+
say(HeaderRepairCode.FloatPlain, 'the home page does not open on a full picture: the header is a bar, its name in it from the top');
|
|
28458
|
+
}
|
|
28459
|
+
if (m.shape === HeaderShape.Islands && (m.arrange === HeaderArrange.Centred || m.arrange === HeaderArrange.Between)) {
|
|
28460
|
+
m.shape = HeaderShape.Pill;
|
|
28461
|
+
say(HeaderRepairCode.IslandsCentred, 'a centred name has no side for an island: the header floats as one pill');
|
|
28462
|
+
}
|
|
28463
|
+
if (m.brand === HeaderBrand.Hangs && !ctx.logo) {
|
|
28464
|
+
m.brand = HeaderBrand.Fits;
|
|
28465
|
+
say(HeaderRepairCode.NoLogo, 'the site has no logo picture, so the name fits the bar');
|
|
28466
|
+
}
|
|
28467
|
+
if (floats() && m.edge !== 'none') {
|
|
28468
|
+
m.edge = 'none';
|
|
28469
|
+
say(HeaderRepairCode.FloatEdge, 'a floating header has no edge under it');
|
|
28470
|
+
}
|
|
28471
|
+
}
|
|
27130
28472
|
/** HI3-D12: does the home page open on a picture the header can stand over — the contract's frames and media. */
|
|
27131
28473
|
function opensOnPicture(opening) {
|
|
27132
28474
|
return !!opening && RULES.overFrames.includes(opening.frame) && RULES.overMedia.includes(opening.media);
|
|
27133
28475
|
}
|
|
28476
|
+
/** HI3-D5: what an over header stands on when its words do not read over the opening — the look's glass from the top,
|
|
28477
|
+
* or its own solid bar in a look with no glass (Pop). The ONE answer `checkHeader` and a build's late mend share. */
|
|
28478
|
+
function headerGroundWhenUnreadable(design) {
|
|
28479
|
+
return lookHasGlass(design) ? HeaderGround.Glass : HeaderGround.Solid;
|
|
28480
|
+
}
|
|
27134
28481
|
/** HI3-D2: does the look carry a header glass set (Pop draws its own solid bar). */
|
|
27135
28482
|
function lookHasGlass(design) {
|
|
27136
28483
|
return RULES.glassFlavors.includes(design.flavorId);
|
|
@@ -27149,7 +28496,7 @@ function mendGround(m, ctx, say) {
|
|
|
27149
28496
|
say(HeaderRepairCode.OverPlain, 'the home page does not open on a full picture the header can stand over: it keeps its own ground');
|
|
27150
28497
|
}
|
|
27151
28498
|
if (headerGroundIsOver(m.ground) && ctx.readableAtRest === false) {
|
|
27152
|
-
m.ground =
|
|
28499
|
+
m.ground = headerGroundWhenUnreadable(ctx.design);
|
|
27153
28500
|
say(HeaderRepairCode.OverUnreadable, glass ? "the header's words do not read over the opening's picture: it stands on its glass from the top"
|
|
27154
28501
|
: "the header's words do not read over the opening's picture: it keeps its own ground");
|
|
27155
28502
|
}
|
|
@@ -27202,6 +28549,64 @@ function headerReadsAtRest(inv, frame, inks, barPx = HEADER_BAR_PX) {
|
|
|
27202
28549
|
}
|
|
27203
28550
|
return true;
|
|
27204
28551
|
}
|
|
28552
|
+
/** The frames the words at rest are judged in (HI3-D5): a laptop's first screen under its 80px bar, a phone's under 64px
|
|
28553
|
+
* (the shared CSS's bar fallbacks, iox-design.css). */
|
|
28554
|
+
const HEADER_REST_FRAMES = [
|
|
28555
|
+
{ w: 1440, h: 900, barPx: HEADER_BAR_PX },
|
|
28556
|
+
{ w: 390, h: 760, barPx: 64 },
|
|
28557
|
+
];
|
|
28558
|
+
const DEFAULT_SCHEME = 'default';
|
|
28559
|
+
const MODES_OF = { light: ['light'], dark: ['dark'], auto: ['light', 'dark'] };
|
|
28560
|
+
/**
|
|
28561
|
+
* HI3-D5: the header's words at rest, one per mode the look offers — the opening scheme's `text` (what an over header
|
|
28562
|
+
* wears at rest, HI3-D8) over a veil of its `bg` — resolved from the look's own token rows. A scheme the rows lack reads
|
|
28563
|
+
* as the page's. Pure.
|
|
28564
|
+
*/
|
|
28565
|
+
function headerRestInks(design, scheme) {
|
|
28566
|
+
const rows = designTokenRows(design);
|
|
28567
|
+
return (MODES_OF[design.mode] ?? MODES_OF['light']).map(mode => {
|
|
28568
|
+
const values = scheme && scheme !== DEFAULT_SCHEME ? resolveSchemeTokenValues(rows, mode, scheme) : resolveTokenValues(rows, mode);
|
|
28569
|
+
return { ink: values['text'] ?? '', veilGround: values['bg'] ?? '' };
|
|
28570
|
+
});
|
|
28571
|
+
}
|
|
28572
|
+
const PICTURE_ROLES$1 = new Set([OpeningRole.Media, OpeningRole.MediaZooms, OpeningRole.Slides, OpeningRole.Film]);
|
|
28573
|
+
/** The address of the picture the home opening shows first: its picture, the first slide, a film's poster — or null. */
|
|
28574
|
+
function openingPictureSrc(opening) {
|
|
28575
|
+
let found = null;
|
|
28576
|
+
const walk = (n, inside) => {
|
|
28577
|
+
if (found)
|
|
28578
|
+
return;
|
|
28579
|
+
const here = inside || PICTURE_ROLES$1.has(n.role ?? '');
|
|
28580
|
+
if (here) {
|
|
28581
|
+
const src = n.type === 'Video' ? n.props?.['poster'] : n.type === 'Image' ? n.props?.['src'] : null;
|
|
28582
|
+
if (typeof src === 'string' && src.trim()) {
|
|
28583
|
+
found = src;
|
|
28584
|
+
return;
|
|
28585
|
+
}
|
|
28586
|
+
}
|
|
28587
|
+
for (const c of n.children ?? [])
|
|
28588
|
+
walk(c, here);
|
|
28589
|
+
};
|
|
28590
|
+
if (opening?.role === OpeningRole.Root)
|
|
28591
|
+
walk(opening, false);
|
|
28592
|
+
return found;
|
|
28593
|
+
}
|
|
28594
|
+
/**
|
|
28595
|
+
* HI3-D5 on a COMPOSED site: whether its header's words read at rest over the home opening's picture — the picture's pixels
|
|
28596
|
+
* (`inventoryOf` its address: the caller holds them, the reading), the opening's scheme, in every mode the look offers
|
|
28597
|
+
* and in both frames (`HEADER_REST_FRAMES`). Null — not judged — when the home page opens on no composed picture or its
|
|
28598
|
+
* pixels are unknown (a placeholder, a stock picture not read yet). The ONE judgement the build (iox-cms, which then
|
|
28599
|
+
* composes with `headerReadable`) and the Header studio's advice share. Pure.
|
|
28600
|
+
*/
|
|
28601
|
+
function headerReadableOfSite(site, inventoryOf) {
|
|
28602
|
+
const home = site.pages.find(p => p.isHome === true) ?? site.pages.find(p => (typeof p.route === 'string' ? p.route : p.route?.path) === '/');
|
|
28603
|
+
const src = openingPictureSrc(home?.layout?.[0]);
|
|
28604
|
+
const inv = src ? inventoryOf(src) : null;
|
|
28605
|
+
if (!inv)
|
|
28606
|
+
return null;
|
|
28607
|
+
const inks = headerRestInks(site.design, home?.pageSettings?.opening ?? null);
|
|
28608
|
+
return HEADER_REST_FRAMES.every(f => headerReadsAtRest(inv, f, inks, f.barPx));
|
|
28609
|
+
}
|
|
27205
28610
|
// ── The recipe: the mix arranged from the contract's parts (§4 — ONE recipe for the palette and the generator) ────
|
|
27206
28611
|
const clone$3 = (v) => JSON.parse(JSON.stringify(v));
|
|
27207
28612
|
const part$1 = (id) => clone$3(PARTS[id]);
|
|
@@ -28090,6 +29495,123 @@ function freeStyleWithoutSlot(type, style) {
|
|
|
28090
29495
|
return out;
|
|
28091
29496
|
}
|
|
28092
29497
|
|
|
29498
|
+
/**
|
|
29499
|
+
* WHAT THE OWNER'S PROMPT RULED OUT, AS A READY-MADE SECTION CAN BREAK IT (award plan FS-D47, R-H20). The reading keeps
|
|
29500
|
+
* the owner's refused and asked words as they wrote them (§11.4a); a ready-made section can only break the few of them
|
|
29501
|
+
* that a pattern decides by its parts — pictures, a video, motion. Those are read here, in English and Hebrew, from the
|
|
29502
|
+
* reading's own lists (never guessed from taste words), and judged against a plan section's pattern as it would be
|
|
29503
|
+
* stamped (its `without` parts left out). The fall back picks only among sections that honour them; when it cannot, the
|
|
29504
|
+
* followed line SAYS which of the owner's words the page no longer follows. Pure.
|
|
29505
|
+
*/
|
|
29506
|
+
var PromptLimit;
|
|
29507
|
+
(function (PromptLimit) {
|
|
29508
|
+
/** "no pictures", "only the names", "mostly words". */
|
|
29509
|
+
PromptLimit["NoPictures"] = "no-pictures";
|
|
29510
|
+
PromptLimit["NoVideo"] = "no-video";
|
|
29511
|
+
/** "nothing moving", "no animation". */
|
|
29512
|
+
PromptLimit["NoMotion"] = "no-motion";
|
|
29513
|
+
})(PromptLimit || (PromptLimit = {}));
|
|
29514
|
+
/** A refused entry that IS one of these words rules the thing out ("pictures"; never "stock photos", which refuses stock). */
|
|
29515
|
+
const REFUSED_WORDS = {
|
|
29516
|
+
[PromptLimit.NoPictures]: ['pictures', 'photos', 'photographs', 'images', 'תמונות', 'צילומים'],
|
|
29517
|
+
[PromptLimit.NoVideo]: ['video', 'videos', 'film', 'films', 'וידאו', 'סרטון', 'סרטונים'],
|
|
29518
|
+
[PromptLimit.NoMotion]: ['motion', 'animation', 'animations', 'movement', 'תנועה', 'אנימציה', 'אנימציות'],
|
|
29519
|
+
};
|
|
29520
|
+
/** A phrase that rules the thing out wherever the reading kept it (asked, said or refused). */
|
|
29521
|
+
const RULING_PHRASES = {
|
|
29522
|
+
[PromptLimit.NoPictures]: ['no pictures', 'no photos', 'no images', 'without pictures', 'without photos', 'mostly words', 'only words', 'just words', 'בלי תמונות', 'ללא תמונות', 'רק מילים', 'בלי צילומים'],
|
|
29523
|
+
[PromptLimit.NoVideo]: ['no video', 'no videos', 'without video', 'בלי וידאו', 'בלי סרטונים', 'ללא וידאו', 'ללא סרטונים'],
|
|
29524
|
+
[PromptLimit.NoMotion]: ['no motion', 'no animation', 'no animations', 'nothing moving', 'without motion', 'בלי תנועה', 'בלי אנימציה', 'בלי אנימציות', 'ללא תנועה'],
|
|
29525
|
+
};
|
|
29526
|
+
const plain$1 = (s) => String(s ?? '').normalize('NFKC').toLowerCase().replace(/^(any|no|בלי|ללא)\s+/, '').trim();
|
|
29527
|
+
/** What the owner's words rule out that a ready-made section could break. */
|
|
29528
|
+
function promptLimitsOf(reading) {
|
|
29529
|
+
const refused = (reading?.refused ?? []).map(plain$1);
|
|
29530
|
+
const all = [...(reading?.refused ?? []), ...(reading?.asked ?? []), ...(reading?.said ?? [])].map(s => String(s ?? ''));
|
|
29531
|
+
return Object.values(PromptLimit).filter(limit => refused.some(r => REFUSED_WORDS[limit].includes(r))
|
|
29532
|
+
|| RULING_PHRASES[limit].some(phrase => all.some(text => wordPattern(phrase).test(text.normalize('NFKC').toLowerCase()))));
|
|
29533
|
+
}
|
|
29534
|
+
const PICTURE_TYPES = ['Image', 'Gallery'];
|
|
29535
|
+
const CARD_RECIPE = 'card';
|
|
29536
|
+
const CARD_MEDIA = 'media';
|
|
29537
|
+
const IMAGE_BIND = 'image';
|
|
29538
|
+
function shows(node, without, out) {
|
|
29539
|
+
if (node.optional && without.has(node.optional))
|
|
29540
|
+
return;
|
|
29541
|
+
// a picture node, or a recipe that draws one: a card keeps its media part unless switched off, a bound image
|
|
29542
|
+
if (PICTURE_TYPES.includes(node.t) || (node.recipe === CARD_RECIPE && node.parts?.[CARD_MEDIA] !== false) || node.binds?.[IMAGE_BIND])
|
|
29543
|
+
out.add(PromptLimit.NoPictures);
|
|
29544
|
+
if (node.t === 'Video')
|
|
29545
|
+
out.add(PromptLimit.NoVideo);
|
|
29546
|
+
if (node.tracks?.length)
|
|
29547
|
+
out.add(PromptLimit.NoMotion);
|
|
29548
|
+
for (const child of node.c ?? [])
|
|
29549
|
+
shows(child, without, out);
|
|
29550
|
+
}
|
|
29551
|
+
/** The owner's limits a plan section would break, stamped as planned (an unknown pattern breaks none it can be judged on). */
|
|
29552
|
+
function sectionBreaks(section, limits) {
|
|
29553
|
+
const pattern = patternById(section.pattern);
|
|
29554
|
+
if (!pattern || !limits.length)
|
|
29555
|
+
return [];
|
|
29556
|
+
const found = new Set();
|
|
29557
|
+
if (pattern.scene || pattern.film)
|
|
29558
|
+
found.add(PromptLimit.NoMotion);
|
|
29559
|
+
shows(pattern.node, new Set(section.without ?? []), found);
|
|
29560
|
+
return limits.filter(l => found.has(l));
|
|
29561
|
+
}
|
|
29562
|
+
/** One sentence per limit broken, in the site's language: n sections are ready-made and do what the owner ruled out. */
|
|
29563
|
+
const UNFOLLOWED = {
|
|
29564
|
+
en: {
|
|
29565
|
+
[PromptLimit.NoPictures]: n => `${n === 1 ? 'One section is' : `${n} sections are`} ready-made and ${n === 1 ? 'shows' : 'show'} pictures, which you asked to leave out.`,
|
|
29566
|
+
[PromptLimit.NoVideo]: n => `${n === 1 ? 'One section is' : `${n} sections are`} ready-made and ${n === 1 ? 'plays a video' : 'play videos'}, which you asked to leave out.`,
|
|
29567
|
+
[PromptLimit.NoMotion]: n => `${n === 1 ? 'One section is' : `${n} sections are`} ready-made and ${n === 1 ? 'moves' : 'move'} as the page scrolls, which you asked to leave out.`,
|
|
29568
|
+
},
|
|
29569
|
+
he: {
|
|
29570
|
+
[PromptLimit.NoPictures]: n => `${n === 1 ? 'חלק אחד מוכן מראש ומציג' : `${n} חלקים מוכנים מראש ומציגים`} תמונות, אף שביקשת בלי תמונות.`,
|
|
29571
|
+
[PromptLimit.NoVideo]: n => `${n === 1 ? 'חלק אחד מוכן מראש ומציג סרטון' : `${n} חלקים מוכנים מראש ומציגים סרטונים`}, אף שביקשת בלי סרטונים.`,
|
|
29572
|
+
[PromptLimit.NoMotion]: n => `${n === 1 ? 'חלק אחד מוכן מראש וזז' : `${n} חלקים מוכנים מראש וזזים`} עם הגלילה, אף שביקשת בלי תנועה.`,
|
|
29573
|
+
},
|
|
29574
|
+
};
|
|
29575
|
+
/** The followed line after a fall back: the model's line, then what the page no longer follows (never a claim kept). */
|
|
29576
|
+
function followedAfter(line, broken, language) {
|
|
29577
|
+
const words = UNFOLLOWED[language === 'he' ? 'he' : 'en'];
|
|
29578
|
+
const said = Object.values(PromptLimit).filter(l => (broken.get(l) ?? 0) > 0).map(l => words[l](broken.get(l)));
|
|
29579
|
+
return [String(line ?? '').trim(), ...said].filter(Boolean).join(' ');
|
|
29580
|
+
}
|
|
29581
|
+
|
|
29582
|
+
/**
|
|
29583
|
+
* A FREE HOME OPENS ON A PICTURE WHEN ONE CAN COME (iox-ui#180, J10 lever b for FS3). The ONE offer a free page's brief
|
|
29584
|
+
* and its judge share: the owner's photos come first (they are the material already); with none, a business stock may
|
|
29585
|
+
* show is offered the picture boxes (`box:<shape>`, the laid brief's own ids, `parseLayoutPhotoId`) — an empty picture the
|
|
29586
|
+
* build fills with stock, or, when nothing fits, the type-led round opens the Home on its words like every Home. Never a
|
|
29587
|
+
* picture claim: no box where stock may not stand in for the work (`BusinessType.stock: false`), none off the Home, and
|
|
29588
|
+
* nothing against the owner's words: "no pictures" (`PromptLimit.NoPictures`) offers nothing, "no stock photos" no box. Pure.
|
|
29589
|
+
*/
|
|
29590
|
+
/** The shapes a free opening's box may take, as material ids (`box:wide` · `box:tall` · `box:square`). */
|
|
29591
|
+
const FREE_OPENING_BOXES = [LayoutPhotoShape.Wide, LayoutPhotoShape.Tall, LayoutPhotoShape.Square]
|
|
29592
|
+
.map(shape => `${LayoutPhotoSource.Box}:${shape}`);
|
|
29593
|
+
/** Words that refuse stock photos ("no stock photos", "בלי תמונות סטוק") wherever the reading kept them. */
|
|
29594
|
+
const STOCK_REFUSALS = ['stock', 'stock photos', 'stock images', 'סטוק', 'תמונות סטוק'];
|
|
29595
|
+
const STOCK_RULINGS = ['no stock', 'without stock', 'not stock', 'never stock', 'בלי סטוק', 'ללא סטוק', 'בלי תמונות סטוק', 'ללא תמונות סטוק'];
|
|
29596
|
+
/** Did the owner refuse stock photos? Read from the reading's own lists, never guessed. Pure. */
|
|
29597
|
+
function refusesStock(reading) {
|
|
29598
|
+
const plain = (t) => String(t ?? '').normalize('NFKC').toLowerCase().replace(/^(any|no|בלי|ללא)\s+/, '').trim();
|
|
29599
|
+
const all = [...(reading?.refused ?? []), ...(reading?.asked ?? []), ...(reading?.said ?? [])].map(t => String(t ?? '').normalize('NFKC').toLowerCase());
|
|
29600
|
+
return (reading?.refused ?? []).some(r => STOCK_REFUSALS.includes(plain(r))) || STOCK_RULINGS.some(phrase => all.some(text => wordPattern(phrase).test(text)));
|
|
29601
|
+
}
|
|
29602
|
+
/** What a free page's opening is offered, and whether it must open on a picture. */
|
|
29603
|
+
function freeOpeningOffer(site) {
|
|
29604
|
+
if (!site.home || promptLimitsOf(site.reading).includes(PromptLimit.NoPictures))
|
|
29605
|
+
return { boxes: [], opensOnPicture: false };
|
|
29606
|
+
if (site.ownPhotos > 0)
|
|
29607
|
+
return { boxes: [], opensOnPicture: true };
|
|
29608
|
+
return site.stockAllowed && !refusesStock(site.reading) ? { boxes: [...FREE_OPENING_BOXES], opensOnPicture: true } : { boxes: [], opensOnPicture: false };
|
|
29609
|
+
}
|
|
29610
|
+
/** Is a material id a picture box (`box:<shape>`)? */
|
|
29611
|
+
function isFreeBox(id) {
|
|
29612
|
+
return parseLayoutPhotoId(String(id ?? ''))?.source === LayoutPhotoSource.Box;
|
|
29613
|
+
}
|
|
29614
|
+
|
|
28093
29615
|
/**
|
|
28094
29616
|
* THE FREE PAGE'S JUDGE (award plan §11.4 gates 1 + 2, FS3): every reason a free page may not be stamped, path first,
|
|
28095
29617
|
* in words the model can act on in its one repair. It judges SAFETY, LAW and TRUTH — never taste (R-H18): what is the
|
|
@@ -28294,7 +29816,8 @@ function judgeFree(page, ctx, signature) {
|
|
|
28294
29816
|
const seen = new Set();
|
|
28295
29817
|
const texts = [];
|
|
28296
29818
|
let h1 = 0;
|
|
28297
|
-
|
|
29819
|
+
let boxes = 0;
|
|
29820
|
+
for (const { node, path, up, section } of walked) {
|
|
28298
29821
|
if (!Object.values(FreeNodeType).includes(node.type)) {
|
|
28299
29822
|
say(FreeIssueCode.Structure, path, `"${node.type}" is not a node type — ${Object.values(FreeNodeType).join(', ')}`);
|
|
28300
29823
|
continue;
|
|
@@ -28331,11 +29854,22 @@ function judgeFree(page, ctx, signature) {
|
|
|
28331
29854
|
if (node.role && (node.role !== FREE_LEAD_ROLE || node.type !== FreeNodeType.Heading))
|
|
28332
29855
|
say(FreeIssueCode.Structure, `${path}.role`, 'role "lead" is for the heading a visitor reads first');
|
|
28333
29856
|
if (node.type === FreeNodeType.Image || node.type === FreeNodeType.Video) {
|
|
28334
|
-
const
|
|
29857
|
+
const src = node.src ?? '';
|
|
29858
|
+
const offeredBox = isFreeBox(src) && !!ctx.boxes?.includes(src);
|
|
29859
|
+
const m = ctx.material[src] ?? (offeredBox ? { kind: 'image' } : undefined);
|
|
28335
29860
|
if (!m)
|
|
28336
|
-
say(FreeIssueCode.Content, `${path}.src`, `"${
|
|
29861
|
+
say(FreeIssueCode.Content, `${path}.src`, `"${src}" is not in the material — use an id from the list`);
|
|
28337
29862
|
else if ((node.type === FreeNodeType.Video) !== (m.kind === 'video'))
|
|
28338
29863
|
say(FreeIssueCode.Content, `${path}.src`, `"${node.src}" is a${m.kind === 'image' ? 'n image' : ' video'} — ${node.type === FreeNodeType.Video ? 'a Video plays a video' : 'an Image shows a picture'}`);
|
|
29864
|
+
else if (offeredBox) {
|
|
29865
|
+
// iox-ui#180: a box is the opening's ONE picture place, filled after the page is written — never a ground.
|
|
29866
|
+
if (section !== 0)
|
|
29867
|
+
say(FreeIssueCode.Content, `${path}.src`, 'a box is the opening\'s picture — only the first section may hold one');
|
|
29868
|
+
else if (boxes++ > 0)
|
|
29869
|
+
say(FreeIssueCode.Content, `${path}.src`, 'one box: the opening has one picture place');
|
|
29870
|
+
if (node.styleProps?.['position'] === 'absolute')
|
|
29871
|
+
say(FreeIssueCode.Content, `${path}.styleProps.position`, 'a box is never a ground: words never stand on a picture nobody has seen yet — set it beside, above or below the words');
|
|
29872
|
+
}
|
|
28339
29873
|
}
|
|
28340
29874
|
if (node.type === FreeNodeType.Slot) {
|
|
28341
29875
|
const offer = ctx.slots?.[node.slot ?? ''];
|
|
@@ -28414,6 +29948,10 @@ function judgeFree(page, ctx, signature) {
|
|
|
28414
29948
|
const hasVideos = Object.values(ctx.material).some(m => m.kind === 'video');
|
|
28415
29949
|
if (ctx.home && hasVideos && !sections.some(s => s.readyMade) && !walked.some(w => w.node.type === FreeNodeType.Video))
|
|
28416
29950
|
say(FreeIssueCode.Content, 'sections', 'this business has videos — the home page plays at least one (a Video node)');
|
|
29951
|
+
// iox-ui#180: a picture can come for this Home's opening (the owner's photo, or a box stock fills) — it opens on it.
|
|
29952
|
+
if (ctx.home && ctx.opensOnPicture && sections[0] && !ready(0) && !walkFree([sections[0]]).some(w => w.node.type === FreeNodeType.Image)) {
|
|
29953
|
+
say(FreeIssueCode.Content, 'sections[0]', `a picture can open this home page — place ${ctx.boxes?.length ? `one of the owner's photos or a box (${ctx.boxes.join(', ')})` : 'one of the owner\'s photos'} as an Image in the first section, beside, above or below its words`);
|
|
29954
|
+
}
|
|
28417
29955
|
if (!Object.values(FreePictures).includes(page?.pictures))
|
|
28418
29956
|
say(FreeIssueCode.Structure, 'pictures', `one word: ${Object.values(FreePictures).join(', ')}`);
|
|
28419
29957
|
issues.push(...followedIssues(page, ctx));
|
|
@@ -29557,8 +31095,6 @@ function validateFree(c, pages, sources) {
|
|
|
29557
31095
|
});
|
|
29558
31096
|
});
|
|
29559
31097
|
}
|
|
29560
|
-
const FREE_LIST_SLOT = 'list:';
|
|
29561
|
-
const FREE_FORM_SLOT = 'form:';
|
|
29562
31098
|
function validateFreeTree(c, roots, path, ctx, single = false) {
|
|
29563
31099
|
const ids = new Set();
|
|
29564
31100
|
const seen = (n) => {
|
|
@@ -29610,10 +31146,10 @@ function validateFreeTree(c, roots, path, ctx, single = false) {
|
|
|
29610
31146
|
}
|
|
29611
31147
|
if (type === FreeNodeType.Slot) {
|
|
29612
31148
|
const slot = String(raw['slot'] ?? '');
|
|
29613
|
-
const
|
|
29614
|
-
|
|
31149
|
+
const placed = freeSlotOf(slot);
|
|
31150
|
+
const ok = !placed ? false : placed.kind === FreeSlotKind.Form ? !!formPresetById(placed.ref) : isListSource(ctx.sources.get(placed.ref));
|
|
29615
31151
|
if (!ok)
|
|
29616
|
-
c.add(SitePlanIssueCode.Free, `${p}.slot`, `"${slot}" —
|
|
31152
|
+
c.add(SitePlanIssueCode.Free, `${p}.slot`, `"${slot}" — form:<a form preset>, or list: / accordion: / tabs: / quotes: <a list source of the plan>`);
|
|
29617
31153
|
}
|
|
29618
31154
|
const move = raw['move'];
|
|
29619
31155
|
if (move !== undefined && !(isPlainObject(move) && FREE_MOVES[move['trigger']]?.[String(move['action'])]))
|
|
@@ -30503,13 +32039,18 @@ const isHome = (page) => page.isHome === true || page.route === '/';
|
|
|
30503
32039
|
/**
|
|
30504
32040
|
* The type-led first screen for a home page: the plan's own frame and words first, then the contract's ways
|
|
30505
32041
|
* (`typeLedOpeningWays`), the first the site carries unmended (its tier, the business name's fit) that no OTHER site of
|
|
30506
|
-
* the studio opens on — else the first it carries, said as worn.
|
|
32042
|
+
* the studio opens on — else the first it carries, said as worn. J10 lever (b): the plan's own way is tried first only
|
|
32043
|
+
* when it is a COMPOSED way — never the bare band (the contract's last way: a heading, a line and one action on a full
|
|
32044
|
+
* plain ground), which stays every site's last resort. Pure.
|
|
30507
32045
|
*/
|
|
30508
32046
|
function chooseTypeLedOpening(plan, context = {}) {
|
|
30509
32047
|
const own = openingMixOfPlan(plan);
|
|
32048
|
+
const contract = typeLedOpeningWays();
|
|
32049
|
+
const bare = contract[contract.length - 1];
|
|
32050
|
+
const isBare = (m) => m.frame === bare.frame && m.words === bare.words;
|
|
30510
32051
|
// The plan's own frame and words, on no picture (a slow zoom has nothing to move: it goes with the picture).
|
|
30511
|
-
const mine = own ? [{ ...own, media: OpeningMedia.None, extras: [...own.extras], motion: own.motion.filter(m => m !== OpeningMotion.SlowZoom) }] : [];
|
|
30512
|
-
const ways = [...mine, ...
|
|
32052
|
+
const mine = own && !isBare(own) ? [{ ...own, media: OpeningMedia.None, extras: [...own.extras], motion: own.motion.filter(m => m !== OpeningMotion.SlowZoom) }] : [];
|
|
32053
|
+
const ways = [...mine, ...contract];
|
|
30513
32054
|
const site = openingContextOf({ business: plan.business, design: plan.design, tier: context.tier ?? BASIC, badge: null, cutOut: false });
|
|
30514
32055
|
const carried = ways.map(m => drawnOpeningMix(m).drawn).filter(m => !checkOpening(m, site).repairs.length);
|
|
30515
32056
|
const worn = [...wornOpenings(context.studio ?? [])].map(openingTokenParts);
|
|
@@ -30634,6 +32175,13 @@ function typeLedRound(plan, composed, filled, context = {}) {
|
|
|
30634
32175
|
if (plated)
|
|
30635
32176
|
next = { ...next, layout: { ...page.layout, sections: laidSections } };
|
|
30636
32177
|
}
|
|
32178
|
+
// iox-ui#180: a free Home whose opening holds a picture nothing fills gives its opening back to the plan's (the
|
|
32179
|
+
// ready-made place a fall back would give) — then it opens type-led below, like every Home; the rest stays free.
|
|
32180
|
+
const opening = next.free?.sections[0];
|
|
32181
|
+
if (first && opening && !opening.readyMade && next.sections[0]) {
|
|
32182
|
+
const given = { id: opening.id, type: FreeNodeType.Section, styleProps: {}, readyMade: { at: 0, pattern: next.sections[0].pattern } };
|
|
32183
|
+
next = { ...next, free: { ...next.free, sections: [given, ...next.free.sections.slice(1)] } };
|
|
32184
|
+
}
|
|
30637
32185
|
if (first) {
|
|
30638
32186
|
firstScreen = next;
|
|
30639
32187
|
homeAt = p;
|
|
@@ -30655,7 +32203,9 @@ function typeLedRound(plan, composed, filled, context = {}) {
|
|
|
30655
32203
|
const hero = at >= 0 ? sections[at] : undefined;
|
|
30656
32204
|
const takes = !!hero && !!typeLedOpeningSection(chosen.mix, hero);
|
|
30657
32205
|
const nextPages = [...pages];
|
|
30658
|
-
|
|
32206
|
+
// A free Home's ready-made places name their plan section by its pattern — the swapped one when it was swapped.
|
|
32207
|
+
const free = home.free ? { ...home.free, sections: home.free.sections.map(s => (s.readyMade && sections[s.readyMade.at] ? { ...s, readyMade: { ...s.readyMade, pattern: sections[s.readyMade.at].pattern } } : s)) } : undefined;
|
|
32208
|
+
nextPages[homeAt] = { ...home, sections, ...(free ? { free } : {}) };
|
|
30659
32209
|
next = { ...next, pages: nextPages };
|
|
30660
32210
|
if (takes) {
|
|
30661
32211
|
const words = openingMixWords(chosen.mix);
|
|
@@ -33107,8 +34657,9 @@ function measureFree(root, page, at, viewport) {
|
|
|
33107
34657
|
const COMPOSED$1 = { releaseLayoutDefaults: true };
|
|
33108
34658
|
const SECTION_LINK = '#';
|
|
33109
34659
|
const ROUTE_MARK = '/';
|
|
33110
|
-
|
|
33111
|
-
const
|
|
34660
|
+
/** The list roles a lightbox reads: the picture, and the name its picture is described by. */
|
|
34661
|
+
const IMAGE_ROLE = 'image';
|
|
34662
|
+
const TITLE_ROLE = 'title';
|
|
33112
34663
|
/** A list slot's mix when the answer names no option: cards of the list's parts, in a grid. */
|
|
33113
34664
|
const LIST_SLOT_WORDS = ['item:card', 'arrange:grid'];
|
|
33114
34665
|
const idOf = (ctx, id) => freeNodeId(ctx.o.owner, id);
|
|
@@ -33168,7 +34719,7 @@ function composeNode$1(n, ctx, beat) {
|
|
|
33168
34719
|
if (move)
|
|
33169
34720
|
node.interactions = [...node.interactions, move];
|
|
33170
34721
|
if (n.type === FreeNodeType.Slot)
|
|
33171
|
-
node.children =
|
|
34722
|
+
node.children = slotOf(n, id, ctx);
|
|
33172
34723
|
else if (n.children?.length) {
|
|
33173
34724
|
let moving = 0;
|
|
33174
34725
|
node.children = [...(node.children ?? []), ...n.children.map(c => composeNode$1(c, ctx, c.move ? moving++ : 0))];
|
|
@@ -33232,22 +34783,40 @@ function moveOf(n, id, ctx, beat) {
|
|
|
33232
34783
|
actions: [{ type: m.action, target: 'self', duration: lead ? ctx.pace.lead : ctx.pace.support, delay, easing: ctx.ease, once: true, ...(Object.keys(params).length ? { params } : {}) }],
|
|
33233
34784
|
};
|
|
33234
34785
|
}
|
|
33235
|
-
/**
|
|
34786
|
+
/**
|
|
34787
|
+
* What a Slot places (`free-parts.ts`): the list composer's frame (and, asked `open:lightbox`, the Lightbox its pictures
|
|
34788
|
+
* open), the preset form, or a recipe over a list — the Accordion, Tabs, the testimonial carousel. Never the model's nodes.
|
|
34789
|
+
*/
|
|
33236
34790
|
function slotOf(n, id, ctx) {
|
|
33237
|
-
const slot = n.slot ?? '';
|
|
33238
|
-
|
|
33239
|
-
|
|
33240
|
-
|
|
33241
|
-
|
|
33242
|
-
|
|
33243
|
-
|
|
33244
|
-
|
|
33245
|
-
|
|
33246
|
-
|
|
34791
|
+
const slot = freeSlotOf(n.slot ?? '');
|
|
34792
|
+
const locale = ctx.o.locale;
|
|
34793
|
+
switch (slot?.kind) {
|
|
34794
|
+
case FreeSlotKind.List: {
|
|
34795
|
+
const list = ctx.o.listOf(slot.ref);
|
|
34796
|
+
if (!list)
|
|
34797
|
+
throw new ComposeError(`${n.id}: "${slot.ref}" is no list of the plan`);
|
|
34798
|
+
const asked = (n.opts ?? []).filter(o => o && o !== FREE_OPEN_LIGHTBOX);
|
|
34799
|
+
const words = [...LIST_SLOT_WORDS.filter(w => !asked.some(a => a.split(':')[0] === w.split(':')[0])), ...asked];
|
|
34800
|
+
const mix = listMixFromWords(words, Object.keys(list.roles));
|
|
34801
|
+
const frame = composeListFrame({ id: `${id}-list`, mix, source: slot.ref, list, locale, label: n.purpose ?? slot.ref, path: n.id, ...(ctx.o.motion ? { motion: ctx.o.motion } : {}) }).frame;
|
|
34802
|
+
if (!(n.opts ?? []).includes(FREE_OPEN_LIGHTBOX))
|
|
34803
|
+
return [frame];
|
|
34804
|
+
const image = list.roles[IMAGE_ROLE];
|
|
34805
|
+
const lightbox = image ? composeListLightbox(`${id}-lightbox`, frame, slot.ref, image, locale, list.roles[TITLE_ROLE]) : null;
|
|
34806
|
+
if (!lightbox)
|
|
34807
|
+
throw new ComposeError(`${n.id}: "${slot.ref}" shows no picture a click could open`);
|
|
34808
|
+
return [frame, lightbox];
|
|
34809
|
+
}
|
|
34810
|
+
case FreeSlotKind.Form: return [composePresetForm(`${id}-form`, slot.ref, ctx.o.owner, locale)];
|
|
34811
|
+
case FreeSlotKind.Accordion: return [composeListAccordion(`${id}-accordion`, slot.ref, ctx.o.listFields?.(slot.ref) ?? [], locale)];
|
|
34812
|
+
case FreeSlotKind.Tabs: return [composeListTabs(`${id}-tabs`, slot.ref, ctx.o.listFields?.(slot.ref) ?? [], locale)];
|
|
34813
|
+
case FreeSlotKind.Quotes: {
|
|
34814
|
+
if (!ctx.o.quotes || ctx.o.quotes.source !== slot.ref)
|
|
34815
|
+
throw new ComposeError(`${n.id}: "${slot.ref}" is no list of real quotes`);
|
|
34816
|
+
return [composeQuoteCarousel(`${id}-quotes`, ctx.o.quotes, locale)];
|
|
34817
|
+
}
|
|
34818
|
+
default: throw new ComposeError(`${n.id}: "${n.slot ?? ''}" is not a part a free page may place`);
|
|
33247
34819
|
}
|
|
33248
|
-
if (slot.startsWith(FORM_SLOT))
|
|
33249
|
-
return composePresetForm(`${id}-form`, slot.slice(FORM_SLOT.length), ctx.o.owner, ctx.o.locale);
|
|
33250
|
-
throw new ComposeError(`${n.id}: "${slot}" is not a part a free page may place`);
|
|
33251
34820
|
}
|
|
33252
34821
|
/** A Button to a section of this page scrolls to it (the product's `scrollTo`: M8-G7, no shareable `#id`). */
|
|
33253
34822
|
function wireLinks(ctx, renamed = {}) {
|
|
@@ -34221,8 +35790,12 @@ function composeSegmented(pn, id, ctx) {
|
|
|
34221
35790
|
}
|
|
34222
35791
|
/** The content type a section binding lists, through its data source. */
|
|
34223
35792
|
function boundContentType(binding, ctx) {
|
|
34224
|
-
|
|
34225
|
-
|
|
35793
|
+
return listedContentType(binding, ctx.plan);
|
|
35794
|
+
}
|
|
35795
|
+
/** The content type a list (a data source's alias) lists, in a plan. */
|
|
35796
|
+
function listedContentType(alias, plan) {
|
|
35797
|
+
const source = plan.dataSources.find(d => d.alias === alias);
|
|
35798
|
+
return source && 'contentType' in source ? plan.contentTypes.find(t => t.name === source.contentType) : undefined;
|
|
34226
35799
|
}
|
|
34227
35800
|
/** A type's fields as composite-core's pickers read them. */
|
|
34228
35801
|
const fieldsOf = (type) => (type?.fields ?? []).map(f => ({ name: f.name, type: f.type, controller: f.controller }));
|
|
@@ -34254,7 +35827,12 @@ function composeAccordion(pn, id, ctx) {
|
|
|
34254
35827
|
}
|
|
34255
35828
|
return root;
|
|
34256
35829
|
}
|
|
34257
|
-
|
|
35830
|
+
return bindAccordion(root, id, binding, fieldsOf(boundContentType(binding, ctx)));
|
|
35831
|
+
}
|
|
35832
|
+
/** From content: the Accordion's root repeats `binding`, its one template item's question and answer bound to the type's
|
|
35833
|
+
* first short-text and long-text fields (`recipeListBinds`), limit 20. */
|
|
35834
|
+
function bindAccordion(root, id, binding, fields) {
|
|
35835
|
+
const { picks, gap } = recipeListBinds(PatternRecipe.Accordion, fields);
|
|
34258
35836
|
if (gap)
|
|
34259
35837
|
throw new ComposeError(`${id}: "${binding}" has no ${gap}`);
|
|
34260
35838
|
addBinding(root, { prop: 'source', source: binding, path: '' });
|
|
@@ -34265,6 +35843,16 @@ function composeAccordion(pn, id, ctx) {
|
|
|
34265
35843
|
addBinding(accordionAnswerOf(template), { prop: ACCORDION_BIND_PROP, source: binding, path: picks.answer });
|
|
34266
35844
|
return root;
|
|
34267
35845
|
}
|
|
35846
|
+
/**
|
|
35847
|
+
* The Accordion over a list, From content — THE same recipe and binding a pattern's `faq.accordion` stamps (CC2, R3's AI
|
|
35848
|
+
* path), for any caller that places it by name (a free page's `accordion:<alias>` slot). Its rows are the list's own
|
|
35849
|
+
* items: no question or answer is written here. Pure.
|
|
35850
|
+
*/
|
|
35851
|
+
function composeListAccordion(id, alias, fields, locale) {
|
|
35852
|
+
const factory = (spec) => create(spec.key === AccordionRole.Accordion ? id : `${id}-${spec.key}`, spec.key === AccordionRole.Accordion ? REPEATER : spec.type, { ...(spec.props ?? {}) }, spec.elementStyle ?? null);
|
|
35853
|
+
const root = buildAccordionRecipe(factory, { items: accordionWords(locale).slice(0, 1) });
|
|
35854
|
+
return bindAccordion(root, id, alias, fields);
|
|
35855
|
+
}
|
|
34268
35856
|
const TABS_ROOT_KEY = 'tabs';
|
|
34269
35857
|
const TABS_HOLDER_KEYS = new Set(['list', 'panels']);
|
|
34270
35858
|
/**
|
|
@@ -34303,7 +35891,13 @@ function composeTabs(pn, id, ctx) {
|
|
|
34303
35891
|
}
|
|
34304
35892
|
return root;
|
|
34305
35893
|
}
|
|
34306
|
-
|
|
35894
|
+
return bindTabs(root, id, binding, fieldsOf(boundContentType(binding, ctx)));
|
|
35895
|
+
}
|
|
35896
|
+
/** From content: the tab list and the panels holder BOTH repeat `binding`, each holding its one template, the tab's
|
|
35897
|
+
* words, the panel's words and picture bound to the type's fields (`recipeListBinds`), limit 6. */
|
|
35898
|
+
function bindTabs(root, id, binding, fields) {
|
|
35899
|
+
const tree = root;
|
|
35900
|
+
const { picks, gap } = recipeListBinds(PatternRecipe.Tabs, fields);
|
|
34307
35901
|
if (gap)
|
|
34308
35902
|
throw new ComposeError(`${id}: "${binding}" has no ${gap}`);
|
|
34309
35903
|
for (const holder of [tabsListOf(tree), tabsPanelsOf(tree)]) {
|
|
@@ -34323,6 +35917,15 @@ function composeTabs(pn, id, ctx) {
|
|
|
34323
35917
|
}
|
|
34324
35918
|
return root;
|
|
34325
35919
|
}
|
|
35920
|
+
/**
|
|
35921
|
+
* Tabs over a list, From content — THE same recipe and binding a pattern's tabs stamp (CC4a, R3's AI path), for any
|
|
35922
|
+
* caller that places it by name (a free page's `tabs:<alias>` slot). Its tabs are the list's own items. Pure.
|
|
35923
|
+
*/
|
|
35924
|
+
function composeListTabs(id, alias, fields, locale, label) {
|
|
35925
|
+
const factory = (spec) => create(spec.key === TABS_ROOT_KEY ? id : `${id}-${spec.key}`, TABS_HOLDER_KEYS.has(spec.key) ? REPEATER : spec.type, { ...(spec.props ?? {}) }, spec.elementStyle ?? null);
|
|
35926
|
+
const root = buildTabsRecipe(factory, { tabs: tabsWords(locale).slice(0, 1), ...(label ? { label } : {}), lang: locale });
|
|
35927
|
+
return bindTabs(root, id, alias, fields);
|
|
35928
|
+
}
|
|
34326
35929
|
/** A recipe's node factory for this composer: ids derive from the recipe's keys (`<id>-<key>`, the root `<id>`). */
|
|
34327
35930
|
/** Commerce G1: a pattern's shop recipes, each E1c's `SHOP_RECIPES` entry and the key its root is built with. */
|
|
34328
35931
|
const SHOP_PATTERN_RECIPES = new Map([
|
|
@@ -34524,6 +36127,35 @@ function composeCarousel(pn, id, ctx) {
|
|
|
34524
36127
|
}
|
|
34525
36128
|
return slider;
|
|
34526
36129
|
}
|
|
36130
|
+
/**
|
|
36131
|
+
* The testimonial carousel over a list of REAL quotes (`quoteListOf`) — THE recipe `composeCarousel` stamps, for any
|
|
36132
|
+
* caller that places it by name (a free page's `quotes:<alias>` slot). Pure.
|
|
36133
|
+
*/
|
|
36134
|
+
function composeQuoteCarousel(id, from, locale) {
|
|
36135
|
+
return buildCarouselRecipe(recipeFactory(id, 'carousel'), { lang: locale, from });
|
|
36136
|
+
}
|
|
36137
|
+
/**
|
|
36138
|
+
* CC3: a Lightbox over a list's pictures, opened at the clicked item — the recipe `composeLightbox` stamps (a Dialog
|
|
36139
|
+
* holding a Slider bound to the list), and every picture of `frame` bound to that list's `imageField` opens it at its own
|
|
36140
|
+
* row (`canOpenAtClickedItem` — the same rule the Interactions panel offers it by). Returns the Lightbox, or null when no
|
|
36141
|
+
* picture in the frame sits in a row of that list. Mutates the frame's pictures' interactions; pure otherwise.
|
|
36142
|
+
*/
|
|
36143
|
+
function composeListLightbox(id, frame, alias, imageField, locale, altField) {
|
|
36144
|
+
const lightbox = buildLightboxRecipe(recipeFactory(id, 'lightbox'), { source: alias, imageField, ...(altField ? { altField } : {}), lang: locale });
|
|
36145
|
+
let wired = 0;
|
|
36146
|
+
const visit = (n, path) => {
|
|
36147
|
+
const here = [...path, n];
|
|
36148
|
+
if (n.type === IMAGE && n.bindings.some(b => b.prop === 'src' && b.path === imageField)
|
|
36149
|
+
&& canOpenAtClickedItem(here, lightbox)) {
|
|
36150
|
+
n.interactions = [...n.interactions, { id: `${n.id}-opens`, trigger: 'click', actions: [{ type: 'openDialog', target: lightbox.id, params: { slideTo: SLIDE_TO_ROW }, duration: 0, delay: 0, easing: 'ease' }] }];
|
|
36151
|
+
wired++;
|
|
36152
|
+
}
|
|
36153
|
+
for (const c of n.children ?? [])
|
|
36154
|
+
visit(c, here);
|
|
36155
|
+
};
|
|
36156
|
+
visit(frame, []);
|
|
36157
|
+
return wired ? lightbox : null;
|
|
36158
|
+
}
|
|
34527
36159
|
/** The first item of a list, as a binding path (`resolvePath` reads `0.<field>` on the list the source resolves to). */
|
|
34528
36160
|
const FIRST_ITEM_PATH = '0';
|
|
34529
36161
|
/**
|
|
@@ -34827,8 +36459,11 @@ function freeOptionsOf(page, plan, context, pictureless, readyMade) {
|
|
|
34827
36459
|
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
34828
36460
|
return {
|
|
34829
36461
|
owner: page.key, locale, rtl: isRtlLocale(locale), motion: layoutMotionOf(layoutPresetOf(plan.design).id),
|
|
34830
|
-
|
|
36462
|
+
// iox-ui#180: a picture box is an empty picture (the build fills it), never an address.
|
|
36463
|
+
photoSrc: id => (isFreeBox(id) ? '' : context.photoSrc?.(id) ?? ''), photoAlt: id => (isFreeBox(id) ? '' : context.photoAlt?.(id) ?? ''),
|
|
34831
36464
|
listOf: alias => pageListOf(alias, plan, pictureless),
|
|
36465
|
+
listFields: alias => fieldsOf(listedContentType(alias, plan)),
|
|
36466
|
+
quotes: quoteListOf(plan),
|
|
34832
36467
|
...(readyMade ? {
|
|
34833
36468
|
readyMade: (at, id) => {
|
|
34834
36469
|
const section = page.sections[at];
|
|
@@ -34926,22 +36561,25 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34926
36561
|
const relatives = new Map(plan.dataSources.map(d => [d.alias, d.type === PlanDataSourceType.Relative ? { type: d.type, of: d.of, op: d.op } : { type: d.type }]));
|
|
34927
36562
|
const email = nonEmpty$1(plan.business.facts?.email) ? plan.business.facts.email.trim() : null;
|
|
34928
36563
|
const base = { plan, placeholders, issues, routes, year: context.year, email, navPage: null, pictureless };
|
|
34929
|
-
// AW-
|
|
34930
|
-
|
|
34931
|
-
const design = motionLanguageForPlan(resolveDesignChoices(clone$2(plan.design)), context?.tier === GenerationTier.Award);
|
|
36564
|
+
// AW-D42: every plan wears the look's whole motion language (a lower plan's Pro words were drawn as its own, AW-D23).
|
|
36565
|
+
const design = motionLanguageForPlan(resolveDesignChoices(clone$2(plan.design)));
|
|
34932
36566
|
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
34933
36567
|
const rtl = isRtlLocale(locale);
|
|
34934
|
-
// AW6: the plan's body (seams, inset cards) as the
|
|
36568
|
+
// AW6: the plan's body (seams, inset cards) as the site may carry it — every mend said (`body-mended`).
|
|
34935
36569
|
const bodyMixAsked = bodyMixOfPlan(plan);
|
|
34936
|
-
const bodyChecked = bodyMixAsked ? checkBody(drawnBodyMix(bodyMixAsked).drawn, {
|
|
36570
|
+
const bodyChecked = bodyMixAsked ? checkBody(drawnBodyMix(bodyMixAsked).drawn, { calm: !!context?.calm }) : null;
|
|
34937
36571
|
for (const r of bodyChecked?.repairs ?? [])
|
|
34938
36572
|
issues.push({ code: ComposeIssueCode.BodyMended, nodeId: 'body', owner: 'body', detail: r.said });
|
|
34939
36573
|
const body = bodyChecked?.mix ?? null;
|
|
34940
36574
|
const pages = plan.pages.map(page => {
|
|
34941
36575
|
const nextAlias = page.routeSource ? nextSourceOf(relatives, page.routeSource) : null;
|
|
34942
36576
|
if (page.free) {
|
|
34943
|
-
// FS3: the model's own page. Its opening is its own (the plan's opening is never worn over it)
|
|
34944
|
-
|
|
36577
|
+
// FS3: the model's own page. Its opening is its own (the plan's opening is never worn over it) — but a ready-made
|
|
36578
|
+
// opening (the fall back's, or the type-led round's when nothing fills its picture, iox-ui#180) is the plan's
|
|
36579
|
+
// section, worn as every Home's is.
|
|
36580
|
+
const stamped = composeFreePlanPage(page, page.free, plan, context, placeholders, pictureless, (section, id, at) => composePattern(patternById(section.pattern), id, { ...base, owner: page.key, page, section, nextAlias }, { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null, scrub: design.scrub ?? null, opening: at === 0 }));
|
|
36581
|
+
const readyOpening = page.free.sections[0]?.readyMade;
|
|
36582
|
+
const nodes = readyOpening ? wearPlanOpening(page, stamped, plan, context, design, placeholders, issues, false, page.sections[readyOpening.at]) : stamped;
|
|
34945
36583
|
const opening = schemeOfFirst(nodes);
|
|
34946
36584
|
return {
|
|
34947
36585
|
key: page.key, name: page.name, route: { path: page.route }, isHome: page.isHome === true, status: STATUS_DRAFT, locale,
|
|
@@ -34995,6 +36633,8 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34995
36633
|
// AW12-D10/D15: the kind of business (the caller's reading) chooses the call word and what the footer never wears.
|
|
34996
36634
|
const footerContext = {
|
|
34997
36635
|
name: plan.business.name, design, tagline: plan.business.tagline, locale: plan.locale, pages: plan.pages.filter(p => p.inNav).length,
|
|
36636
|
+
// FV1 `closing.email`: the owner's address, the fact the email line shows (none given, no such closing — said).
|
|
36637
|
+
...(plan.business.facts?.email?.trim() ? { email: plan.business.facts.email.trim() } : {}),
|
|
34998
36638
|
...(context?.businessType ? { type: context.businessType } : {}), ...(context?.footerNever ? { never: context.footerNever } : {}),
|
|
34999
36639
|
// AW12-D13 (iox-ui#153): the build's tier — absent, Basic, as the body's — never wears an award word.
|
|
35000
36640
|
tier: context?.tier ?? GenerationTier.Basic,
|
|
@@ -35044,6 +36684,11 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
35044
36684
|
// HI3 (HI3-D1): what the header stands on — over the opening, glass, or its own ground — the same edit the Header section makes.
|
|
35045
36685
|
if (headerRoot)
|
|
35046
36686
|
setHeaderGround(headerRoot, headerGroundOf(header.recipe.mix[HeaderIngredient.Ground]));
|
|
36687
|
+
// HI3 slice 2: its outline (pill · islands) and its name (hangs · later) — the same edits the Header studio makes.
|
|
36688
|
+
if (headerRoot)
|
|
36689
|
+
setHeaderShape(headerRoot, headerShapeOf(header.recipe.mix[HeaderIngredient.Shape]));
|
|
36690
|
+
if (headerRoot)
|
|
36691
|
+
setHeaderBrand(headerRoot, headerBrandOf(header.recipe.mix[HeaderIngredient.Brand]));
|
|
35047
36692
|
// AW12: the footer root says the mix it was composed as (the classes iox-design.css draws from); an inset one is a card.
|
|
35048
36693
|
const footerRoot = globals.find(g => g.id === GlobalSlot.Footer);
|
|
35049
36694
|
if (footerRoot)
|
|
@@ -35404,6 +37049,8 @@ function composeNavHeader(input, options) {
|
|
|
35404
37049
|
stampHeaderMix(header, recipe.mix);
|
|
35405
37050
|
setHeaderInk(header, headerInkOf(recipe.mix[HeaderIngredient.Ink]));
|
|
35406
37051
|
setHeaderGround(header, headerGroundOf(recipe.mix[HeaderIngredient.Ground]));
|
|
37052
|
+
setHeaderShape(header, headerShapeOf(recipe.mix[HeaderIngredient.Shape]));
|
|
37053
|
+
setHeaderBrand(header, headerBrandOf(recipe.mix[HeaderIngredient.Brand]));
|
|
35407
37054
|
if (input.storeSlots)
|
|
35408
37055
|
withStoreSlots(header, input.locale ?? DEFAULT_SITE_LOCALE);
|
|
35409
37056
|
return { header, issues, mix: checked.mix, companions };
|
|
@@ -35468,6 +37115,14 @@ const OPENING_KEEPS_TYPES = new Set(['Form', 'Repeater', 'List']);
|
|
|
35468
37115
|
const SCENE_ROLE = 'scene';
|
|
35469
37116
|
/** May the opening take the place of this first section? It must hold a heading (the opening's title is its words) and
|
|
35470
37117
|
* nothing the opening has no part for — a form, bound content, a Scene stay and the opening comes before them. */
|
|
37118
|
+
/** The named opening a first section's pattern stands for (`namedOpeningMix`), when the ONE judge would mend it for this
|
|
37119
|
+
* build — else null: the pattern stays as it is composed. */
|
|
37120
|
+
function openingTheJudgeMends(root, source, ctx) {
|
|
37121
|
+
if (!source || root.composed?.pattern !== source.pattern)
|
|
37122
|
+
return null;
|
|
37123
|
+
const named = namedOpeningMix(source.pattern);
|
|
37124
|
+
return named && checkOpening(named, ctx).repairs.length ? named : null;
|
|
37125
|
+
}
|
|
35471
37126
|
function openingMayReplace(root) {
|
|
35472
37127
|
let heading = false;
|
|
35473
37128
|
let keeps = false;
|
|
@@ -35500,14 +37155,20 @@ function shownWords(root) {
|
|
|
35500
37155
|
* opening mix, is returned as it was. Mutates `placeholders` / `issues` like the composer; pure otherwise.
|
|
35501
37156
|
*/
|
|
35502
37157
|
function wearPlanOpening(page, layout, plan, context, design, placeholders, issues, keep, source) {
|
|
35503
|
-
|
|
35504
|
-
if (!mix || !(page.isHome === true || page.route === HOME_PATH))
|
|
37158
|
+
if (!(page.isHome === true || page.route === HOME_PATH))
|
|
35505
37159
|
return layout;
|
|
35506
37160
|
const first = layout[0];
|
|
35507
37161
|
const replace = !!first && !keep && openingMayReplace(first);
|
|
35508
|
-
const id = replace ? first.id : `${page.key}-opening`;
|
|
35509
37162
|
const tier = context.tier ?? GenerationTier.Basic;
|
|
35510
|
-
|
|
37163
|
+
// J10 lever (b): a build never holds the owner's clip for the opening (their film plays in a Scene, SC6b) — a film
|
|
37164
|
+
// opening is drawn as a picture the owner's photo, a made picture or stock can fill (`checkOpening`, said).
|
|
37165
|
+
const site = { pages: plan.pages.map(p => ({ name: p.name, route: p.route, isHome: p.isHome === true })), locale: plan.locale, design, badge: null, cutOut: false, film: false, tier };
|
|
37166
|
+
// iox-ui#180: with no opening chosen, a first section that IS a named opening (`hero.full-bleed-media` = a film) is
|
|
37167
|
+
// judged as that opening — when the judge mends it (no clip: a picture) it is worn mended; else it stays as it is.
|
|
37168
|
+
const mix = openingMixOfPlan(plan) ?? (replace ? openingTheJudgeMends(first, source, openingContextOf({ ...site, business: plan.business })) : null);
|
|
37169
|
+
if (!mix)
|
|
37170
|
+
return layout;
|
|
37171
|
+
const id = replace ? first.id : `${page.key}-opening`;
|
|
35511
37172
|
// #129: a type-led first screen takes the type-led hero's words slot by slot (nothing it said is lost); the name is
|
|
35512
37173
|
// the business's, as every display-size opening's is.
|
|
35513
37174
|
const checked = replace && source ? checkOpening(drawnOpeningMix(mix).drawn, openingContextOf({ ...site, business: plan.business })).mix : null;
|
|
@@ -35586,6 +37247,7 @@ function openingContextOf(input) {
|
|
|
35586
37247
|
design: resolveDesignChoices(JSON.parse(JSON.stringify(input.design ?? {}))),
|
|
35587
37248
|
...(input.tier ? { tier: input.tier } : {}),
|
|
35588
37249
|
...(input.cutOut !== undefined ? { cutOut: input.cutOut } : {}),
|
|
37250
|
+
...(input.film !== undefined ? { film: input.film } : {}),
|
|
35589
37251
|
...(input.badge !== undefined ? { badge: input.badge } : {}),
|
|
35590
37252
|
};
|
|
35591
37253
|
}
|
|
@@ -35677,6 +37339,47 @@ function fillContactFacts(nodes, placeholders, facts, locale) {
|
|
|
35677
37339
|
return (Array.isArray(nodes) ? nodes : []).map(fill);
|
|
35678
37340
|
}
|
|
35679
37341
|
|
|
37342
|
+
/**
|
|
37343
|
+
* WHICH SAMPLE ITEMS ARE THE PLAN'S OWN, AND WHICH ARE NUMBERED PLACEHOLDERS (vectoriox/iox-ui#178). A generated site
|
|
37344
|
+
* showed "Piece 2", "Product 2", "Room 2": the sample items of a content type whose plan gave no words for each item
|
|
37345
|
+
* (the business's own products, rooms, team — neutral by `SAMPLE_CONTENT_RULE`, Doron 2026-11-01), every title its seed
|
|
37346
|
+
* template (`"Product {n}"`) with the number filled in. Doron, 2026-11-28 — GHOST CARDS: those items stay in the data and
|
|
37347
|
+
* every page and section stays; the builder draws such a row as an owner prompt ("Add your first room"), the live site
|
|
37348
|
+
* never shows a list made only of them, and the Publishable gate ASKS about one still titled like a placeholder.
|
|
37349
|
+
*
|
|
37350
|
+
* This file is the reading both halves share: which items the PLAN fills (the composer, the proof) and how a stored item
|
|
37351
|
+
* is recognised as a numbered placeholder (the gate, the renderers). Pure.
|
|
37352
|
+
*/
|
|
37353
|
+
/** The rule is about a plan the model wrote — a template's samples are its structure, an import's items are real. */
|
|
37354
|
+
function itemFillApplies(plan) {
|
|
37355
|
+
return plan.source?.kind === SitePlanSourceKind.Ai;
|
|
37356
|
+
}
|
|
37357
|
+
const TEMPLATE_NUMBER = /\{n\}/;
|
|
37358
|
+
/** Whether the plan gives item `n` (1-based) of `type` its own title: a real item, or a sample with its own words. */
|
|
37359
|
+
function isFilledItem(type, n) {
|
|
37360
|
+
const seed = type.seed;
|
|
37361
|
+
if (!seed || n < 1 || n > seed.count)
|
|
37362
|
+
return false;
|
|
37363
|
+
if (!seed.sample)
|
|
37364
|
+
return true;
|
|
37365
|
+
const own = seed.perItem?.[type.roles.title]?.[n - 1];
|
|
37366
|
+
return typeof own === 'string' && own.trim() !== '' && !TEMPLATE_NUMBER.test(own);
|
|
37367
|
+
}
|
|
37368
|
+
/** The numbers (1-based) of the items of `type` the plan fills. */
|
|
37369
|
+
function filledItemNumbers(type) {
|
|
37370
|
+
const out = [];
|
|
37371
|
+
for (let n = 1; n <= (type.seed?.count ?? 0); n++)
|
|
37372
|
+
if (isFilledItem(type, n))
|
|
37373
|
+
out.push(n);
|
|
37374
|
+
return out;
|
|
37375
|
+
}
|
|
37376
|
+
/** The content types of an AI plan whose samples are all numbered placeholders — the lists that start as ghost cards. */
|
|
37377
|
+
function placeholderContentTypes(plan) {
|
|
37378
|
+
if (!itemFillApplies(plan))
|
|
37379
|
+
return new Set();
|
|
37380
|
+
return new Set(plan.contentTypes.filter(t => t.seed?.sample && t.seed.count > 0 && !filledItemNumbers(t).length).map(t => t.name));
|
|
37381
|
+
}
|
|
37382
|
+
|
|
35680
37383
|
/**
|
|
35681
37384
|
* What each page of a plan shows and where its data comes from (AI plan rev 3 §3d, `describePlanData`) — the
|
|
35682
37385
|
* Plan step's data lines, in the vocabulary the builder already uses. Pure and STRUCTURED: the screen words
|
|
@@ -36946,35 +38649,32 @@ const roleWords = ROLE_KEYS.map(role => `${role}: ${describeShapeKey(PLAN_SHAPE[
|
|
|
36946
38649
|
/** The footer's words as the model reads them (LI5): each ingredient, its words and their meanings, from the contract. */
|
|
36947
38650
|
const FOOTER_WIRE_TEXT = 'string[] — the footer as ONE list of <ingredient>:<word> words: one word per ingredient but "holds", which lists '
|
|
36948
38651
|
+ `each block it holds (holds:pages, holds:contact); an ingredient left out is the default (${footerMixWords(footerMix()).join(', ')}). `
|
|
36949
|
-
//
|
|
36950
|
-
|
|
36951
|
-
+ 'A word marked (award) is worn by an award build only — elsewhere it is mended. '
|
|
36952
|
-
+ Object.values(FooterIngredient).map(k => `${k}: ${footerWords(k).map(w => `${w} (${footerMeaning(k, w)})${footerWordTier(k, w) === 'pro' ? ' (award)' : ''}`).join(' | ')}`).join('; ');
|
|
38652
|
+
// AW-D42: every word is every tier's — none is marked, none is mended for a tier.
|
|
38653
|
+
+ Object.values(FooterIngredient).map(k => `${k}: ${footerWords(k).map(w => `${w} (${footerMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
36953
38654
|
/** The wire's `globals` key the home page's opening travels in (AW8) — a mix beside the header's and the footer's. */
|
|
36954
38655
|
const OPENING_WIRE_KEY = 'opening';
|
|
36955
|
-
/** The opening's words as the model reads them (AW8): each ingredient, the words the product draws
|
|
36956
|
-
*
|
|
38656
|
+
/** The opening's words as the model reads them (AW8): each ingredient, the words the product draws and their meanings,
|
|
38657
|
+
* from the contract's opening table (every tier's since AW-D42). */
|
|
36957
38658
|
const OPENING_WIRE_TEXT = "string[] — the home page's opening (its first screen) as ONE list of <ingredient>:<word> words: one word per "
|
|
36958
38659
|
+ `ingredient but extras and motion, which list each they take; an ingredient left out is the default; [] = the home page opens with its first `
|
|
36959
38660
|
+ "section as written. The opening takes the place of the home page's first section when that is a hero (its words and pictures carried in); "
|
|
36960
|
-
+
|
|
36961
|
-
|
|
36962
|
-
.map(w => `${w} (${openingMeaning(k, w)}${openingWordTier(k, w) === 'pro' ? ', award' : ''}${openingHarnessWord(k, w) ? ', the build\'s own — keep it where the plan has it, never choose it' : ''})`).join(' | ')}`).join('; ');
|
|
38661
|
+
+ Object.values(OpeningIngredient).map(k => `${k}: ${openingWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))
|
|
38662
|
+
.map(w => `${w} (${openingMeaning(k, w)}${openingHarnessWord(k, w) ? ', the build\'s own — keep it where the plan has it, never choose it' : ''})`).join(' | ')}`).join('; ');
|
|
36963
38663
|
/** The header's words as the model reads them (HI1): each ingredient, the words the product draws and their meanings,
|
|
36964
38664
|
* from the contract's header table. */
|
|
36965
38665
|
const HEADER_WIRE_TEXT = 'string[] — the header as ONE list of <ingredient>:<word> words, one word per ingredient; an ingredient left out is the '
|
|
36966
38666
|
+ `default (${headerMixWords(headerMix()).join(', ')}). The site decides what it can carry: a menu needs three pages or more, the pages in the bar must fit `
|
|
36967
38667
|
+ 'beside the name, pages either side of the name need a short name, two actions need a shop. '
|
|
36968
38668
|
+ Object.values(HeaderIngredient).map(k => `${k}: ${headerWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1)).map(w => `${w} (${headerMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
36969
|
-
/** The wire's `globals` key the site's body travels in (AW6) —
|
|
38669
|
+
/** The wire's `globals` key the site's body travels in (AW6) — every tier's since AW-D42. */
|
|
36970
38670
|
const BODY_WIRE_KEY = 'body';
|
|
36971
|
-
/** The body's words as the model reads them (AW6): each ingredient, the words
|
|
36972
|
-
*
|
|
38671
|
+
/** The body's words as the model reads them (AW6): each ingredient, the words a build may wear today and their meanings,
|
|
38672
|
+
* from the contract's body table. */
|
|
36973
38673
|
const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>:<word> words: how its sections meet and how their grounds "
|
|
36974
38674
|
+ `follow one another; one word per ingredient but sections, which lists each extra kind it takes; an ingredient left out is the default `
|
|
36975
38675
|
+ `(${bodyMixWords(bodyMix()).join(', ')}); [] = straight edges, each section's ground its own. An edge shows only where two neighbouring `
|
|
36976
38676
|
+ 'sections wear different grounds; a calm business (care, advice) never wears a torn or dripping edge. '
|
|
36977
|
-
+ Object.values(BodyIngredient).map(k => [k, bodyWireWords(
|
|
38677
|
+
+ Object.values(BodyIngredient).map(k => [k, bodyWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))])
|
|
36978
38678
|
.filter(([, words]) => words.length)
|
|
36979
38679
|
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
36980
38680
|
/** The wire's `globals` key the site's popup travels in (popups PU3) — a mix beside the others; [] = no popup. */
|
|
@@ -37092,9 +38792,9 @@ const WIRE_KEYS = {
|
|
|
37092
38792
|
footer: { refs: ['globals.footer', 'plan.mixes', 'mixes.footer'], text: FOOTER_WIRE_TEXT },
|
|
37093
38793
|
// AW8: the home page's opening travels as its MIX, ONE list of `<ingredient>:<word>` words (opening-mix.ts); [] = none.
|
|
37094
38794
|
opening: { refs: ['plan.mixes', 'mixes.opening'], text: OPENING_WIRE_TEXT },
|
|
37095
|
-
// AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none.
|
|
37096
|
-
// tier's request
|
|
37097
|
-
body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT
|
|
38795
|
+
// AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. Every
|
|
38796
|
+
// tier's request carries it since AW-D42 (it was the award tier's alone, AW-D23).
|
|
38797
|
+
body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT },
|
|
37098
38798
|
// PU3: the popup travels as its words, ONE list (popup-plan.ts); [] = none. Stamped only from the owner's lines (plan.popup).
|
|
37099
38799
|
popup: { refs: ['plan.mixes', 'mixes.popup'], text: POPUP_WIRE_TEXT },
|
|
37100
38800
|
},
|
|
@@ -37148,17 +38848,12 @@ const wireText = (spec) => {
|
|
|
37148
38848
|
const base = spec.text ?? describeShapeKey(PLAN_SHAPE[entry], planKey);
|
|
37149
38849
|
return spec.none === undefined ? base : `${base} — ${spec.none} = none`;
|
|
37150
38850
|
};
|
|
37151
|
-
|
|
37152
|
-
|
|
37153
|
-
const
|
|
37154
|
-
|
|
37155
|
-
|
|
37156
|
-
|
|
37157
|
-
const PLAN_WIRE_SHAPE = wireShapeAt({});
|
|
37158
|
-
const AWARD_WIRE_SHAPE = wireShapeAt({ tier: GenerationTier.Award });
|
|
37159
|
-
/** The wire's shape table a request at `options` reads (AW6: the award tier's carries the body). Basic = `PLAN_WIRE_SHAPE`. */
|
|
37160
|
-
function planWireShape(options = {}) {
|
|
37161
|
-
return isAward(options) ? AWARD_WIRE_SHAPE : PLAN_WIRE_SHAPE;
|
|
38851
|
+
/** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. ONE for
|
|
38852
|
+
* every tier since AW-D42. */
|
|
38853
|
+
const PLAN_WIRE_SHAPE = Object.fromEntries(Object.entries(WIRE_KEYS).map(([entry, keys]) => [entry, Object.fromEntries(Object.entries(keys).map(([k, spec]) => [k, wireText(spec)]))]));
|
|
38854
|
+
/** The wire's shape table a request at `options` reads — `PLAN_WIRE_SHAPE` at every tier (AW-D42). */
|
|
38855
|
+
function planWireShape(_options = {}) {
|
|
38856
|
+
return PLAN_WIRE_SHAPE;
|
|
37162
38857
|
}
|
|
37163
38858
|
/** Each part's top-level keys, from the ONE wire table. */
|
|
37164
38859
|
const PLAN_PART_KEYS = Object.fromEntries(PLAN_PARTS.map(part => [part, Object.entries(WIRE_KEYS.plan).filter(([, spec]) => spec.part === part).map(([k]) => k)]));
|
|
@@ -37274,8 +38969,8 @@ const PLAN_TOP_SCHEMAS = {
|
|
|
37274
38969
|
globals: options => jsonShapedObject(planWireShape(options).globals, {
|
|
37275
38970
|
[GlobalSlot.Header]: jsonListOf(jsonOneOf(headerWireWords())),
|
|
37276
38971
|
[GlobalSlot.Footer]: jsonListOf(jsonOneOf(footerWireWords())),
|
|
37277
|
-
[OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords(
|
|
37278
|
-
|
|
38972
|
+
[OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords())),
|
|
38973
|
+
[BODY_WIRE_KEY]: jsonListOf(jsonOneOf(bodyWireWords())),
|
|
37279
38974
|
[POPUP_WIRE_KEY]: jsonListOf(jsonText()),
|
|
37280
38975
|
}, `wire ${PlanWireEntry.Globals}`),
|
|
37281
38976
|
direction: () => shaped(PlanWireEntry.Direction, { idea: jsonText(), cliche: jsonText(), flip: jsonText(), rules: jsonListOf(jsonText()) }),
|
|
@@ -37294,8 +38989,8 @@ function planWirePartShape(part, options = {}) {
|
|
|
37294
38989
|
}
|
|
37295
38990
|
/**
|
|
37296
38991
|
* The format a model writes one part of a plan in — one request each (vectoriox/iox-cms#47). The same for every studio
|
|
37297
|
-
* and run
|
|
37298
|
-
*
|
|
38992
|
+
* and run: nothing in it is pinned, so the provider compiles each part's grammar once (one wire for every tier since
|
|
38993
|
+
* AW-D42 — the Pages part carries `globals.body`).
|
|
37299
38994
|
*/
|
|
37300
38995
|
function planWirePartJsonSchema(part, options = {}) {
|
|
37301
38996
|
const gaps = planWireGaps();
|
|
@@ -37533,11 +39228,11 @@ const PLAN_TO_WIRE = {
|
|
|
37533
39228
|
contentTypes: plan => plan.contentTypes.map(type => contentTypeToWire(type)),
|
|
37534
39229
|
dataSources: plan => plan.dataSources.map(dataSourceToWire),
|
|
37535
39230
|
pages: plan => plan.pages.map(page => pageToWire(page)),
|
|
37536
|
-
globals:
|
|
39231
|
+
globals: plan => ({
|
|
37537
39232
|
...plan.globals, [GlobalSlot.Header]: headerMixWords(headerMixOfPlan(plan)), [GlobalSlot.Footer]: footerMixWords(footerMixOfPlan(plan)),
|
|
37538
39233
|
[OPENING_WIRE_KEY]: [...(plan.mixes?.opening ?? [])],
|
|
37539
|
-
// AW6: the
|
|
37540
|
-
|
|
39234
|
+
// AW6: the wire writes the body ([] = none) — at every tier since AW-D42.
|
|
39235
|
+
[BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])],
|
|
37541
39236
|
[POPUP_WIRE_KEY]: [...(plan.mixes?.popup ?? [])],
|
|
37542
39237
|
}),
|
|
37543
39238
|
direction: plan => ({ idea: plan.direction?.idea ?? NONE, cliche: plan.direction?.cliche ?? NONE, flip: plan.direction?.flip ?? NONE, rules: [...(plan.direction?.rules ?? [])] }),
|
|
@@ -38139,9 +39834,9 @@ var AiCallStatus;
|
|
|
38139
39834
|
})(AiCallStatus || (AiCallStatus = {}));
|
|
38140
39835
|
|
|
38141
39836
|
/**
|
|
38142
|
-
* The generation tier (award-ingredients-plan §0, AW-
|
|
38143
|
-
* the award tier: the model composes every page that may be composed, not two
|
|
38144
|
-
*
|
|
39837
|
+
* The generation tier (award-ingredients-plan §0, AW-D24; AW-D42) — pure. A studio whose plan has `awardSites` builds at
|
|
39838
|
+
* the award tier: the model composes every page that may be composed, not two. Since AW-D42 (2026-11-28) the tier holds
|
|
39839
|
+
* back no PART — every word and recipe is every tier's (`tierOffers`); it decides only how much is composed. Read once, when a generation starts, and
|
|
38145
39840
|
* carried by the generation — never re-read mid-run, never written by the model.
|
|
38146
39841
|
*/
|
|
38147
39842
|
const DEFAULT_GENERATION_TIER = GenerationTier.Basic;
|
|
@@ -38153,19 +39848,7 @@ function generationTierOf(features) {
|
|
|
38153
39848
|
function tierOf(stored) {
|
|
38154
39849
|
return stored === GenerationTier.Award ? GenerationTier.Award : GenerationTier.Basic;
|
|
38155
39850
|
}
|
|
38156
|
-
/** The
|
|
38157
|
-
const TIER_RANK = {
|
|
38158
|
-
[GenerationTier.Basic]: 0,
|
|
38159
|
-
[GenerationTier.Award]: 1,
|
|
38160
|
-
};
|
|
38161
|
-
/** May a row of `rowTier` be offered to a build at `tier`? */
|
|
38162
|
-
function tierOffers(rowTier, tier) {
|
|
38163
|
-
return !rowTier || TIER_RANK[rowTier] <= TIER_RANK[tier];
|
|
38164
|
-
}
|
|
38165
|
-
/**
|
|
38166
|
-
* The rows a build at `tier` is offered — the ONE word filter the plan wire, the layout wire and the checks apply once the
|
|
38167
|
-
* contract's rows carry a `tier` (award-ingredients-plan R-H: a lower plan's site never wears an award-only word).
|
|
38168
|
-
*/
|
|
39851
|
+
/** The rows a build at `tier` is offered — every row since AW-D42 (`tierOffers`). */
|
|
38169
39852
|
function offeredForTier(rows, tier) {
|
|
38170
39853
|
return rows.filter(row => tierOffers(row.tier, tier));
|
|
38171
39854
|
}
|
|
@@ -39091,6 +40774,11 @@ const SITE_FINDING_WORDS = {
|
|
|
39091
40774
|
many: S('{n} sample items — replace them with yours or remove them.', '{n} פריטים לדוגמה — החליפו אותם בשלכם או הסירו אותם.'),
|
|
39092
40775
|
group: FindingGrouping.Site,
|
|
39093
40776
|
},
|
|
40777
|
+
'placeholder-title': {
|
|
40778
|
+
one: S('"{name}" is still a numbered placeholder — give it its own name, or remove it.', '"{name}" עדיין שם זמני ממוספר — תנו לו שם משלכם, או הסירו אותו.'),
|
|
40779
|
+
many: S('{n} items are still numbered placeholders — give each its own name, or remove them.', '{n} פריטים עדיין בשמות זמניים ממוספרים — תנו לכל אחד שם משלכם, או הסירו אותם.'),
|
|
40780
|
+
group: FindingGrouping.Site,
|
|
40781
|
+
},
|
|
39094
40782
|
// Each sample product is fixed on its own page (the screen links to it), so they are never one row.
|
|
39095
40783
|
'sample-price': {
|
|
39096
40784
|
one: S('"{name}" has no price yet — set yours, or remove the sample.', 'ל-"{name}" עדיין אין מחיר — קבעו מחיר או הסירו את הדוגמה.'),
|
|
@@ -39341,6 +41029,10 @@ var SiteFindingCode;
|
|
|
39341
41029
|
SiteFindingCode["ContactMissing"] = "contact-missing";
|
|
39342
41030
|
SiteFindingCode["CopyPlaceholder"] = "copy-placeholder";
|
|
39343
41031
|
SiteFindingCode["SampleItems"] = "sample-items";
|
|
41032
|
+
/** iox-ui#178: a sample item still titled like a numbered placeholder ("Product 2", "Room 2") — the builder draws it as
|
|
41033
|
+
* a ghost card and the live site never lists it alone, but it is the owner's to name or remove. Asks ("Publish
|
|
41034
|
+
* anyway", Doron 2026-11-28) — said instead of SampleItems (`isNumberedPlaceholderTitle`). */
|
|
41035
|
+
SiteFindingCode["PlaceholderTitle"] = "placeholder-title";
|
|
39344
41036
|
/** Commerce G1 (shop-aware §3i): a sample product the build added still has no price — a price is a fact a buyer is
|
|
39345
41037
|
* held to, so the owner sets it (or removes the sample) before the store goes live. */
|
|
39346
41038
|
SiteFindingCode["SamplePrice"] = "sample-price";
|
|
@@ -39408,6 +41100,7 @@ const FINDING_SEVERITY = {
|
|
|
39408
41100
|
[SiteFindingCode.ContactMissing]: CheckSeverity.Warn,
|
|
39409
41101
|
[SiteFindingCode.CopyPlaceholder]: CheckSeverity.Ask,
|
|
39410
41102
|
[SiteFindingCode.SampleItems]: CheckSeverity.Ask,
|
|
41103
|
+
[SiteFindingCode.PlaceholderTitle]: CheckSeverity.Ask,
|
|
39411
41104
|
[SiteFindingCode.SamplePrice]: CheckSeverity.Block,
|
|
39412
41105
|
[SiteFindingCode.SampleStock]: CheckSeverity.Block,
|
|
39413
41106
|
[SiteFindingCode.StoreFact]: CheckSeverity.Block,
|
|
@@ -39447,6 +41140,7 @@ const CHECK_OF = {
|
|
|
39447
41140
|
[SiteFindingCode.ContactMissing]: SiteCheckId.Facts,
|
|
39448
41141
|
[SiteFindingCode.CopyPlaceholder]: SiteCheckId.Facts,
|
|
39449
41142
|
[SiteFindingCode.SampleItems]: SiteCheckId.Facts,
|
|
41143
|
+
[SiteFindingCode.PlaceholderTitle]: SiteCheckId.Facts,
|
|
39450
41144
|
[SiteFindingCode.SamplePrice]: SiteCheckId.Facts,
|
|
39451
41145
|
[SiteFindingCode.SampleStock]: SiteCheckId.Facts,
|
|
39452
41146
|
[SiteFindingCode.StoreFact]: SiteCheckId.Facts,
|
|
@@ -39677,8 +41371,9 @@ function checkFacts(ctx, snapshot, pages, personal) {
|
|
|
39677
41371
|
else if (p.kind === PlaceholderKind.Copy)
|
|
39678
41372
|
add(ctx, SiteFindingCode.CopyPlaceholder, null, where);
|
|
39679
41373
|
}
|
|
39680
|
-
for (const s of snapshot.samples ?? [])
|
|
39681
|
-
add(ctx, SiteFindingCode.SampleItems, { name: s.label ?? s.id }, { nodeId: s.id });
|
|
41374
|
+
for (const s of snapshot.samples ?? []) {
|
|
41375
|
+
add(ctx, isNumberedPlaceholderTitle(s.label) ? SiteFindingCode.PlaceholderTitle : SiteFindingCode.SampleItems, { name: s.label ?? s.id }, { nodeId: s.id });
|
|
41376
|
+
}
|
|
39682
41377
|
// iox-cms#98: what the shop lacks holds only the pages that show the shop — never the Home of a site that also sells.
|
|
39683
41378
|
const shopShown = pages.some(pageShowsShop);
|
|
39684
41379
|
for (const s of shopShown ? snapshot.unpricedSamples ?? [] : [])
|
|
@@ -40204,16 +41899,19 @@ const STOCK_NEVER_WORDS = new Set([
|
|
|
40204
41899
|
'cocaine', 'abandoned', 'derelict', 'ruin', 'decay', 'decayed', 'dilapidated', 'demolition', 'rotten', 'trash',
|
|
40205
41900
|
'garbage', 'rubbish', 'dirty', 'homeless', 'riot', 'caricature', 'cartoon', 'figurine', 'clipart', 'illustration', 'vector',
|
|
40206
41901
|
'meme', 'joke', 'funny', 'humor', 'humour', 'halloween', 'horror', 'creepy', 'zombie',
|
|
41902
|
+
// iox-ui#175: a state's emblem says the business speaks for a state (the Pro law firm's "imperial eagle").
|
|
41903
|
+
'emblem', 'imperial',
|
|
40207
41904
|
].map(stockWord));
|
|
40208
41905
|
/** Phrases that say the same where no one word does ("lost places" — the photography of abandoned buildings). */
|
|
40209
|
-
const STOCK_NEVER_PHRASES = ['lost place', 'lost places', 'tax evasion', 'urban exploration', 'urbex'];
|
|
41906
|
+
const STOCK_NEVER_PHRASES = ['lost place', 'lost places', 'tax evasion', 'urban exploration', 'urbex', 'coat of arms'];
|
|
40210
41907
|
/**
|
|
40211
41908
|
* Per business type (harness-core id), what a trade people trust with their rights, money or health never shows on its
|
|
40212
41909
|
* site: a law firm no debt or bankruptcy, a clinic no sickness, a needle or a hospital. Never a word the trade itself
|
|
40213
41910
|
* sells by (an accountant's tax, a lawyer's court) — the universal list already keeps the joke about it out.
|
|
40214
41911
|
*/
|
|
40215
41912
|
const STOCK_TRADE_NEVER_WORDS = {
|
|
40216
|
-
|
|
41913
|
+
// iox-ui#175: another country's law ("The basic law, germany") is not the law this firm practises.
|
|
41914
|
+
'law-accounting': ['debt', 'bankruptcy', 'bankrupt', 'guilty', 'crisis', 'stress', 'eviction', 'divorce', 'germany', 'german', 'constitution'],
|
|
40217
41915
|
consultant: ['debt', 'bankruptcy', 'bankrupt', 'crisis', 'stress'],
|
|
40218
41916
|
coach: ['crisis', 'stress', 'depression', 'sad', 'lonely'],
|
|
40219
41917
|
therapist: ['depression', 'sad', 'lonely', 'suicide', 'crying', 'tear', 'anxiety', 'stress'],
|
|
@@ -40221,8 +41919,58 @@ const STOCK_TRADE_NEVER_WORDS = {
|
|
|
40221
41919
|
dental: ['pain', 'toothache', 'decay', 'cavity', 'syringe', 'needle', 'injection', 'surgery', 'drill', 'blood'],
|
|
40222
41920
|
vet: ['sick', 'injured', 'pain', 'syringe', 'needle', 'injection', 'surgery', 'stray', 'cage'],
|
|
40223
41921
|
};
|
|
41922
|
+
/**
|
|
41923
|
+
* iox-ui#175 — per business type (harness-core id), the words a stock photo of that trade is tagged with when it does not
|
|
41924
|
+
* say the trade's own name: a hairdresser, a manicure, a barbershop are a salon's; a gavel, a contract, a notary a law
|
|
41925
|
+
* firm's. With the type's label, keywords and imagery they are its VOCABULARY (`stockFitFor`) — what a photo must name to
|
|
41926
|
+
* show the business. Every type that may show stock has a row (spec). English only (the provider's tags), compared as
|
|
41927
|
+
* `stockWord`s, and a word of four letters or more counts in its longer forms (`hair` → `hairdressing`).
|
|
41928
|
+
*/
|
|
41929
|
+
const STOCK_TRADE_WORDS = {
|
|
41930
|
+
spa: ['sauna', 'towel', 'aromatherapy', 'relaxation', 'relax', 'treatment', 'jacuzzi', 'hammam', 'pool', 'stones'],
|
|
41931
|
+
salon: ['hairdresser', 'barber', 'barbershop', 'manicure', 'manicurist', 'pedicure', 'fingernail', 'beautician', 'cosmetic', 'cosmetics', 'makeup', 'lash', 'eyelash', 'shampoo', 'scissors', 'comb', 'polish'],
|
|
41932
|
+
yoga: ['mat', 'asana', 'lotus', 'pose', 'stretching', 'zen', 'mindfulness'],
|
|
41933
|
+
fitness: ['workout', 'exercise', 'dumbbell', 'barbell', 'kettlebell', 'treadmill', 'weights', 'sport', 'athlete'],
|
|
41934
|
+
therapist: ['couch', 'armchair', 'counseling', 'counselling', 'psychotherapy', 'mindfulness'],
|
|
41935
|
+
clinic: ['health', 'healthcare', 'medicine', 'stethoscope', 'rehabilitation', 'wellbeing'],
|
|
41936
|
+
dental: ['tooth', 'teeth', 'dentistry', 'toothbrush', 'orthodontic', 'braces', 'smile'],
|
|
41937
|
+
vet: ['cat', 'puppy', 'kitten', 'veterinarian', 'paw', 'animal'],
|
|
41938
|
+
restaurant: ['dining', 'dinner', 'dish', 'meal', 'plate', 'cuisine', 'cooking', 'gourmet', 'table'],
|
|
41939
|
+
'cafe-bakery': ['espresso', 'cappuccino', 'latte', 'barista', 'croissant', 'pastry', 'cake', 'bread', 'muffin', 'dessert', 'breakfast', 'brunch', 'cookie'],
|
|
41940
|
+
'bar-winery': ['beer', 'whiskey', 'whisky', 'vineyard', 'grape', 'barrel', 'pub', 'bartender', 'glass'],
|
|
41941
|
+
boutique: ['dress', 'apparel', 'garment', 'outfit', 'shoe', 'handbag', 'textile', 'wardrobe'],
|
|
41942
|
+
florist: ['rose', 'tulip', 'blossom', 'floral', 'peony', 'orchid', 'succulent', 'greenery', 'vase'],
|
|
41943
|
+
'home-goods': ['sofa', 'chair', 'table', 'lamp', 'interior', 'cushion', 'armchair', 'shelf', 'vase'],
|
|
41944
|
+
consultant: ['meeting', 'business', 'planning', 'presentation', 'chart', 'office', 'desk', 'teamwork'],
|
|
41945
|
+
coach: ['meeting', 'conversation', 'notebook', 'goal', 'growth', 'motivation'],
|
|
41946
|
+
'law-accounting': ['justice', 'court', 'judge', 'gavel', 'contract', 'notary', 'tax', 'finance', 'paperwork', 'document', 'signature', 'desk', 'agreement'],
|
|
41947
|
+
nonprofit: ['donation', 'solidarity', 'fundraising', 'charity'],
|
|
41948
|
+
'venue-events': ['banquet', 'ballroom', 'celebration', 'reception', 'ceremony', 'catering', 'party'],
|
|
41949
|
+
'hotel-bnb': ['bedroom', 'bed', 'suite', 'resort', 'hospitality', 'lobby', 'pillow', 'accommodation', 'villa', 'inn', 'hostel'],
|
|
41950
|
+
classes: ['classroom', 'education', 'learning', 'student', 'study', 'piano', 'guitar', 'blackboard'],
|
|
41951
|
+
};
|
|
41952
|
+
/**
|
|
41953
|
+
* iox-ui#175 — words that name a KIND of business by its place (compared as `stockWord`s). For a type whose vocabulary
|
|
41954
|
+
* does not hold one, it is another trade: never the query's subject word (Pixabay answers "law boutique" with a clothes
|
|
41955
|
+
* shop) and never a word that vouches for a photo.
|
|
41956
|
+
*/
|
|
41957
|
+
const STOCK_TRADE_PLACE_WORDS = new Set([
|
|
41958
|
+
'salon', 'shop', 'store', 'boutique', 'restaurant', 'cafe', 'bar', 'pub', 'bistro', 'bakery', 'cellar', 'winery', 'brewery',
|
|
41959
|
+
'gym', 'clinic', 'spa', 'sauna', 'hotel', 'studio', 'workshop', 'market', 'vineyard', 'barbershop', 'office',
|
|
41960
|
+
].map(stockWord));
|
|
41961
|
+
/** Words of an imagery line that say how a picture is TAKEN or who gives it, never what it shows ("Real people (with
|
|
41962
|
+
* permission)", "never stock", "on plain grounds") — left out of the vocabulary (iox-ui#175). */
|
|
41963
|
+
const IMAGERY_NOISE = new Set([
|
|
41964
|
+
'real', 'people', 'permission', 'needed', 'stock', 'plain', 'ground', 'close', 'treat', 'help', 'working', 'before', 'after',
|
|
41965
|
+
'face', 'own', 'never', 'large', 'uncropped', 'clean', 'healed', 'true', 'flat', 'natural', 'light', 'daylight', 'calm',
|
|
41966
|
+
'portrait', 'good', 'piece', 'wearing', 'need',
|
|
41967
|
+
].map(stockWord));
|
|
40224
41968
|
/** An opening's unreviewed photo names the business this many times (distinct words of the type's vocabulary). */
|
|
40225
41969
|
const STOCK_OPENING_TYPE_WORDS = 2;
|
|
41970
|
+
/** iox-ui#175: every other place's unreviewed photo names it at least this many times. */
|
|
41971
|
+
const STOCK_PLACE_TYPE_WORDS = 1;
|
|
41972
|
+
/** A vocabulary word this long counts in its longer forms (`hair` → `hairdresser`); a shorter one only whole (`law`). */
|
|
41973
|
+
const STEM_MIN = 4;
|
|
40226
41974
|
/** The intents an opening stands as — wide places the visitor reads as "this is the business". */
|
|
40227
41975
|
const OPENING_INTENTS = new Set([StockIntent.Atmosphere]);
|
|
40228
41976
|
/** The roles that make a content type a list of people: someone's words, or who said or made it. */
|
|
@@ -40244,7 +41992,7 @@ const CAMEL = /([a-z0-9])([A-Z])/g;
|
|
|
40244
41992
|
const LATIN_KEYWORD = /^[a-z]+( [a-z]+)?$/;
|
|
40245
41993
|
const DIACRITICS = /\p{M}+/gu;
|
|
40246
41994
|
/** A word as a query carries it: lower case, accents gone (`café` → `cafe`). */
|
|
40247
|
-
const plain
|
|
41995
|
+
const plain = (text) => text.normalize('NFD').replace(DIACRITICS, '').toLowerCase().trim();
|
|
40248
41996
|
/** A code name's words: `teamMember` → `team member`, `gallery-photo` → `gallery photo`. */
|
|
40249
41997
|
const nameWords = (name) => (typeof name === 'string' ? name.replace(CAMEL, '$1 $2').replace(/[-_]+/g, ' ') : '');
|
|
40250
41998
|
/**
|
|
@@ -40274,8 +42022,8 @@ function stockMayFill(target) {
|
|
|
40274
42022
|
* `gym` for "Trainer, gym or dance", `consultant` (never the stem `consult`) — else its first Latin keyword, else none.
|
|
40275
42023
|
*/
|
|
40276
42024
|
function stockSearchTerm(type) {
|
|
40277
|
-
const latin = (type.match ?? []).map(plain
|
|
40278
|
-
const label = ` ${plain
|
|
42025
|
+
const latin = (type.match ?? []).map(plain).filter(k => LATIN_KEYWORD.test(k));
|
|
42026
|
+
const label = ` ${plain(type.label).replace(/[^a-z]+/g, ' ')} `;
|
|
40279
42027
|
return latin.find(k => label.includes(` ${k} `)) ?? latin[0] ?? null;
|
|
40280
42028
|
}
|
|
40281
42029
|
/** Per subject, its vocabulary as compared (`stockWord`) → as asked (the vocabulary's own spelling). */
|
|
@@ -40286,7 +42034,9 @@ const SUBJECT_VOCABULARY = new Map(Object.values(StockSubject).map(subject => [s
|
|
|
40286
42034
|
* its best subject first. None: the base query.
|
|
40287
42035
|
*/
|
|
40288
42036
|
function stockSearchFocus(slot, type, term) {
|
|
40289
|
-
|
|
42037
|
+
// iox-ui#175: another trade's place word is never the subject ("Boutique law firm" → never "law boutique").
|
|
42038
|
+
const vocabulary = 'label' in type ? stockFitFor(type).vocabulary : new Set();
|
|
42039
|
+
const words = [...(slot.kind === 'item' ? slot.subject ?? [] : []), ...slot.words, ...stockWords(type.imagery)].filter(w => !foreignTrade(w, vocabulary));
|
|
40290
42040
|
const asked = new Set(term.split(' ').map(stockWord));
|
|
40291
42041
|
for (const subject of STOCK_INTENT_SUBJECTS[slot.intent] ?? []) {
|
|
40292
42042
|
const vocabulary = SUBJECT_VOCABULARY.get(subject);
|
|
@@ -40310,22 +42060,36 @@ const STOCK_FIT_ANY = { never: STOCK_NEVER_WORDS, vocabulary: new Set() };
|
|
|
40310
42060
|
function stockFitFor(type) {
|
|
40311
42061
|
if (!type)
|
|
40312
42062
|
return STOCK_FIT_ANY;
|
|
40313
|
-
const
|
|
40314
|
-
const
|
|
42063
|
+
const fears = (type.id ? STOCK_TRADE_NEVER_WORDS[type.id] : undefined) ?? [];
|
|
42064
|
+
const tagged = (type.id ? STOCK_TRADE_WORDS[type.id] : undefined) ?? [];
|
|
42065
|
+
const latin = (type.match ?? []).map(plain).filter(k => LATIN_KEYWORD.test(k));
|
|
40315
42066
|
return {
|
|
40316
|
-
never: new Set([...STOCK_NEVER_WORDS, ...
|
|
40317
|
-
vocabulary: new Set(stockWords(type.label, ...latin, type.imagery)),
|
|
42067
|
+
never: new Set([...STOCK_NEVER_WORDS, ...fears.map(stockWord)]),
|
|
42068
|
+
vocabulary: new Set([...stockWords(type.label, ...latin, ...tagged), ...stockWords(type.imagery).filter(w => !IMAGERY_NOISE.has(w))]),
|
|
40318
42069
|
};
|
|
40319
42070
|
}
|
|
42071
|
+
/** Does `word` name one of `words` — whole, or in a longer form of a word of `STEM_MIN` letters or more? */
|
|
42072
|
+
function namesOneOf(word, words) {
|
|
42073
|
+
if (words.has(word))
|
|
42074
|
+
return true;
|
|
42075
|
+
for (const w of words)
|
|
42076
|
+
if (w.length >= STEM_MIN && word.length > w.length && word.startsWith(w))
|
|
42077
|
+
return true;
|
|
42078
|
+
return false;
|
|
42079
|
+
}
|
|
42080
|
+
/** A word that names another trade's place, for a type whose vocabulary is `vocabulary`. */
|
|
42081
|
+
const foreignTrade = (word, vocabulary) => STOCK_TRADE_PLACE_WORDS.has(word) && !namesOneOf(word, vocabulary);
|
|
40320
42082
|
/** A photo's tags (else its alt, split at commas) and the reviewer's notes, each as plain words between spaces. */
|
|
40321
42083
|
function photoPhrases(photo) {
|
|
40322
42084
|
const tags = photo.tags?.length ? photo.tags : String(photo.alt ?? '').split(',');
|
|
40323
|
-
return [...tags, photo.review?.notes ?? ''].map(t => ` ${plain
|
|
42085
|
+
return [...tags, photo.review?.notes ?? ''].map(t => ` ${plain(String(t ?? '')).replace(/[^\p{L}\p{N}]+/gu, ' ').trim()} `);
|
|
40324
42086
|
}
|
|
40325
42087
|
/**
|
|
40326
|
-
* Whether a photo may stand in a place on a site held to `fit`: none of its words is a never-word or phrase, and
|
|
40327
|
-
*
|
|
40328
|
-
*
|
|
42088
|
+
* Whether a photo may stand in a place on a site held to `fit`: none of its words is a never-word or phrase, and a photo no
|
|
42089
|
+
* operator approved SHOWS THE BUSINESS — it names the type's vocabulary `STOCK_OPENING_TYPE_WORDS` times in an opening and
|
|
42090
|
+
* `STOCK_PLACE_TYPE_WORDS` times anywhere else (iox-ui#175); an item's own name counts as the business's there (a
|
|
42091
|
+
* "Bridal makeup" service, a makeup photo). Another trade's place word never counts. An approved library photo was seen for
|
|
42092
|
+
* its type and needs no word. No type known (`STOCK_FIT_ANY`): the never-words only.
|
|
40329
42093
|
*/
|
|
40330
42094
|
function stockPhotoFits(photo, slot, fit = STOCK_FIT_ANY) {
|
|
40331
42095
|
const words = stockPhotoWords(photo);
|
|
@@ -40334,9 +42098,14 @@ function stockPhotoFits(photo, slot, fit = STOCK_FIT_ANY) {
|
|
|
40334
42098
|
const phrases = photoPhrases(photo);
|
|
40335
42099
|
if (STOCK_NEVER_PHRASES.some(phrase => phrases.some(p => p.includes(` ${phrase} `))))
|
|
40336
42100
|
return false;
|
|
40337
|
-
if (
|
|
42101
|
+
if (photo.review?.verdict === StockReviewVerdict.Approved || !fit.vocabulary.size)
|
|
40338
42102
|
return true;
|
|
40339
|
-
return words
|
|
42103
|
+
return businessWordsOf(words, slot, fit) >= (OPENING_INTENTS.has(slot.intent) ? STOCK_OPENING_TYPE_WORDS : STOCK_PLACE_TYPE_WORDS);
|
|
42104
|
+
}
|
|
42105
|
+
/** How many distinct words of a photo name the business (the opening: its vocabulary; elsewhere an item's name too). */
|
|
42106
|
+
function businessWordsOf(words, slot, fit) {
|
|
42107
|
+
const own = OPENING_INTENTS.has(slot.intent) ? null : new Set((slot.subject ?? []).filter(w => !foreignTrade(w, fit.vocabulary)));
|
|
42108
|
+
return words.filter(w => !foreignTrade(w, fit.vocabulary) && (namesOneOf(w, fit.vocabulary) || (!!own && own.has(w)))).length;
|
|
40340
42109
|
}
|
|
40341
42110
|
const intentRank$2 = (intent) => STOCK_INTENT_ORDER.indexOf(intent);
|
|
40342
42111
|
/**
|
|
@@ -41325,90 +43094,6 @@ function fallBackBySection(page, plan, issues, judge, options = {}) {
|
|
|
41325
43094
|
return last(reason, judged.issues, judged.page);
|
|
41326
43095
|
}
|
|
41327
43096
|
|
|
41328
|
-
/**
|
|
41329
|
-
* WHAT THE OWNER'S PROMPT RULED OUT, AS A READY-MADE SECTION CAN BREAK IT (award plan FS-D47, R-H20). The reading keeps
|
|
41330
|
-
* the owner's refused and asked words as they wrote them (§11.4a); a ready-made section can only break the few of them
|
|
41331
|
-
* that a pattern decides by its parts — pictures, a video, motion. Those are read here, in English and Hebrew, from the
|
|
41332
|
-
* reading's own lists (never guessed from taste words), and judged against a plan section's pattern as it would be
|
|
41333
|
-
* stamped (its `without` parts left out). The fall back picks only among sections that honour them; when it cannot, the
|
|
41334
|
-
* followed line SAYS which of the owner's words the page no longer follows. Pure.
|
|
41335
|
-
*/
|
|
41336
|
-
var PromptLimit;
|
|
41337
|
-
(function (PromptLimit) {
|
|
41338
|
-
/** "no pictures", "only the names", "mostly words". */
|
|
41339
|
-
PromptLimit["NoPictures"] = "no-pictures";
|
|
41340
|
-
PromptLimit["NoVideo"] = "no-video";
|
|
41341
|
-
/** "nothing moving", "no animation". */
|
|
41342
|
-
PromptLimit["NoMotion"] = "no-motion";
|
|
41343
|
-
})(PromptLimit || (PromptLimit = {}));
|
|
41344
|
-
/** A refused entry that IS one of these words rules the thing out ("pictures"; never "stock photos", which refuses stock). */
|
|
41345
|
-
const REFUSED_WORDS = {
|
|
41346
|
-
[PromptLimit.NoPictures]: ['pictures', 'photos', 'photographs', 'images', 'תמונות', 'צילומים'],
|
|
41347
|
-
[PromptLimit.NoVideo]: ['video', 'videos', 'film', 'films', 'וידאו', 'סרטון', 'סרטונים'],
|
|
41348
|
-
[PromptLimit.NoMotion]: ['motion', 'animation', 'animations', 'movement', 'תנועה', 'אנימציה', 'אנימציות'],
|
|
41349
|
-
};
|
|
41350
|
-
/** A phrase that rules the thing out wherever the reading kept it (asked, said or refused). */
|
|
41351
|
-
const RULING_PHRASES = {
|
|
41352
|
-
[PromptLimit.NoPictures]: ['no pictures', 'no photos', 'no images', 'without pictures', 'without photos', 'mostly words', 'only words', 'just words', 'בלי תמונות', 'ללא תמונות', 'רק מילים', 'בלי צילומים'],
|
|
41353
|
-
[PromptLimit.NoVideo]: ['no video', 'no videos', 'without video', 'בלי וידאו', 'בלי סרטונים', 'ללא וידאו', 'ללא סרטונים'],
|
|
41354
|
-
[PromptLimit.NoMotion]: ['no motion', 'no animation', 'no animations', 'nothing moving', 'without motion', 'בלי תנועה', 'בלי אנימציה', 'בלי אנימציות', 'ללא תנועה'],
|
|
41355
|
-
};
|
|
41356
|
-
const plain = (s) => String(s ?? '').normalize('NFKC').toLowerCase().replace(/^(any|no|בלי|ללא)\s+/, '').trim();
|
|
41357
|
-
/** What the owner's words rule out that a ready-made section could break. */
|
|
41358
|
-
function promptLimitsOf(reading) {
|
|
41359
|
-
const refused = (reading?.refused ?? []).map(plain);
|
|
41360
|
-
const all = [...(reading?.refused ?? []), ...(reading?.asked ?? []), ...(reading?.said ?? [])].map(s => String(s ?? ''));
|
|
41361
|
-
return Object.values(PromptLimit).filter(limit => refused.some(r => REFUSED_WORDS[limit].includes(r))
|
|
41362
|
-
|| RULING_PHRASES[limit].some(phrase => all.some(text => wordPattern(phrase).test(text.normalize('NFKC').toLowerCase()))));
|
|
41363
|
-
}
|
|
41364
|
-
const PICTURE_TYPES = ['Image', 'Gallery'];
|
|
41365
|
-
const CARD_RECIPE = 'card';
|
|
41366
|
-
const CARD_MEDIA = 'media';
|
|
41367
|
-
const IMAGE_BIND = 'image';
|
|
41368
|
-
function shows(node, without, out) {
|
|
41369
|
-
if (node.optional && without.has(node.optional))
|
|
41370
|
-
return;
|
|
41371
|
-
// a picture node, or a recipe that draws one: a card keeps its media part unless switched off, a bound image
|
|
41372
|
-
if (PICTURE_TYPES.includes(node.t) || (node.recipe === CARD_RECIPE && node.parts?.[CARD_MEDIA] !== false) || node.binds?.[IMAGE_BIND])
|
|
41373
|
-
out.add(PromptLimit.NoPictures);
|
|
41374
|
-
if (node.t === 'Video')
|
|
41375
|
-
out.add(PromptLimit.NoVideo);
|
|
41376
|
-
if (node.tracks?.length)
|
|
41377
|
-
out.add(PromptLimit.NoMotion);
|
|
41378
|
-
for (const child of node.c ?? [])
|
|
41379
|
-
shows(child, without, out);
|
|
41380
|
-
}
|
|
41381
|
-
/** The owner's limits a plan section would break, stamped as planned (an unknown pattern breaks none it can be judged on). */
|
|
41382
|
-
function sectionBreaks(section, limits) {
|
|
41383
|
-
const pattern = patternById(section.pattern);
|
|
41384
|
-
if (!pattern || !limits.length)
|
|
41385
|
-
return [];
|
|
41386
|
-
const found = new Set();
|
|
41387
|
-
if (pattern.scene || pattern.film)
|
|
41388
|
-
found.add(PromptLimit.NoMotion);
|
|
41389
|
-
shows(pattern.node, new Set(section.without ?? []), found);
|
|
41390
|
-
return limits.filter(l => found.has(l));
|
|
41391
|
-
}
|
|
41392
|
-
/** One sentence per limit broken, in the site's language: n sections are ready-made and do what the owner ruled out. */
|
|
41393
|
-
const UNFOLLOWED = {
|
|
41394
|
-
en: {
|
|
41395
|
-
[PromptLimit.NoPictures]: n => `${n === 1 ? 'One section is' : `${n} sections are`} ready-made and ${n === 1 ? 'shows' : 'show'} pictures, which you asked to leave out.`,
|
|
41396
|
-
[PromptLimit.NoVideo]: n => `${n === 1 ? 'One section is' : `${n} sections are`} ready-made and ${n === 1 ? 'plays a video' : 'play videos'}, which you asked to leave out.`,
|
|
41397
|
-
[PromptLimit.NoMotion]: n => `${n === 1 ? 'One section is' : `${n} sections are`} ready-made and ${n === 1 ? 'moves' : 'move'} as the page scrolls, which you asked to leave out.`,
|
|
41398
|
-
},
|
|
41399
|
-
he: {
|
|
41400
|
-
[PromptLimit.NoPictures]: n => `${n === 1 ? 'חלק אחד מוכן מראש ומציג' : `${n} חלקים מוכנים מראש ומציגים`} תמונות, אף שביקשת בלי תמונות.`,
|
|
41401
|
-
[PromptLimit.NoVideo]: n => `${n === 1 ? 'חלק אחד מוכן מראש ומציג סרטון' : `${n} חלקים מוכנים מראש ומציגים סרטונים`}, אף שביקשת בלי סרטונים.`,
|
|
41402
|
-
[PromptLimit.NoMotion]: n => `${n === 1 ? 'חלק אחד מוכן מראש וזז' : `${n} חלקים מוכנים מראש וזזים`} עם הגלילה, אף שביקשת בלי תנועה.`,
|
|
41403
|
-
},
|
|
41404
|
-
};
|
|
41405
|
-
/** The followed line after a fall back: the model's line, then what the page no longer follows (never a claim kept). */
|
|
41406
|
-
function followedAfter(line, broken, language) {
|
|
41407
|
-
const words = UNFOLLOWED[language === 'he' ? 'he' : 'en'];
|
|
41408
|
-
const said = Object.values(PromptLimit).filter(l => (broken.get(l) ?? 0) > 0).map(l => words[l](broken.get(l)));
|
|
41409
|
-
return [String(line ?? '').trim(), ...said].filter(Boolean).join(' ');
|
|
41410
|
-
}
|
|
41411
|
-
|
|
41412
43097
|
/**
|
|
41413
43098
|
* THE FREE PAGE'S SILENT FALL BACK (award plan §11.4 gate 6, R-H7): a free section that still breaks a rule after the
|
|
41414
43099
|
* one repair is given to the plan's ready-made section for its place — through the ONE `fallBackBySection` (never a copy
|
|
@@ -41449,12 +43134,13 @@ function layerOf(node) {
|
|
|
41449
43134
|
return { kind: LayoutLayerKind.Photo, photo: { id: node.src ?? '' }, ...AT };
|
|
41450
43135
|
if (node.type !== FreeNodeType.Slot)
|
|
41451
43136
|
return null;
|
|
41452
|
-
const
|
|
41453
|
-
if (
|
|
41454
|
-
return
|
|
41455
|
-
if (kind ===
|
|
41456
|
-
return { kind: LayoutLayerKind.Form, form: { preset: ref }, ...AT };
|
|
41457
|
-
|
|
43137
|
+
const slot = freeSlotOf(String(node.slot ?? ''));
|
|
43138
|
+
if (!slot)
|
|
43139
|
+
return null;
|
|
43140
|
+
if (slot.kind === FreeSlotKind.Form)
|
|
43141
|
+
return { kind: LayoutLayerKind.Form, form: { preset: slot.ref }, ...AT };
|
|
43142
|
+
// A list, or a recipe over one (Accordion, Tabs, the quotes): the fit reads the list it shows.
|
|
43143
|
+
return { kind: LayoutLayerKind.Gallery, gallery: { slides: [], source: slot.ref }, ...AT };
|
|
41458
43144
|
}
|
|
41459
43145
|
/** A free section read as a layout section (for the fit only — never stamped). */
|
|
41460
43146
|
function freeSectionAsLayout(section) {
|
|
@@ -41527,6 +43213,79 @@ function fallBackOn(page, plan, use, issues, ctx, forgive) {
|
|
|
41527
43213
|
};
|
|
41528
43214
|
}
|
|
41529
43215
|
|
|
43216
|
+
/**
|
|
43217
|
+
* THE PARTS A FREE PAGE MAY PLACE (award-ingredients-plan §11.4, FS3; R-H2; "basic parts", 2026-11-28). A free page is
|
|
43218
|
+
* the main path for a new site, so a part the product has built reaches a generated site only when a free page is
|
|
43219
|
+
* OFFERED it. The ONE offer, read by iox-cms's free gate (the wire's `slot` enum, the brief, the judge) and by the free
|
|
43220
|
+
* stamp (`composeFreePage`, which places each by its slot word). Every part is the builder palette's own recipe, bound
|
|
43221
|
+
* to the plan's content — never words the model writes, so nothing here can state a fact the owner did not give:
|
|
43222
|
+
*
|
|
43223
|
+
* - `list:<alias>` — a list the plan shows with pictures (`composeListFrame`); its `opts` are the built list words the
|
|
43224
|
+
* list can carry (every tier's since AW-D42) and `open:lightbox` (CC3: a click on a picture opens it large, at the
|
|
43225
|
+
* clicked item) when the list has pictures and no page per item.
|
|
43226
|
+
* - `accordion:<alias>` — CC2's Accordion over a list whose type fills it (a question and an answer field), never a list
|
|
43227
|
+
* of quotes.
|
|
43228
|
+
* - `tabs:<alias>` — CC4a's Tabs over a list whose type fills them (a short label and a longer text), never a list of
|
|
43229
|
+
* quotes.
|
|
43230
|
+
* - `quotes:<alias>` — CC3's testimonial carousel over the plan's list of REAL quotes (`quoteListOf`, iox-ui#132):
|
|
43231
|
+
* offered only when the plan holds one, so a quote is never invented.
|
|
43232
|
+
* - `form:contact` — the forms-core contact preset, the one every business takes.
|
|
43233
|
+
*
|
|
43234
|
+
* Pure.
|
|
43235
|
+
*/
|
|
43236
|
+
/** The form every free page may place. */
|
|
43237
|
+
const FREE_FORM_PRESET = FormPresetId.Contact;
|
|
43238
|
+
/** The recipe a list-bound slot kind places (and whose fields `recipeListBinds` checks). */
|
|
43239
|
+
const LIST_RECIPE_SLOTS = [
|
|
43240
|
+
[FreeSlotKind.Accordion, PatternRecipe.Accordion],
|
|
43241
|
+
[FreeSlotKind.Tabs, PatternRecipe.Tabs],
|
|
43242
|
+
];
|
|
43243
|
+
/** The list ingredients a free list slot's options are drawn from: how items are arranged and how a row moves (a row
|
|
43244
|
+
* that turns by itself or by arrows is the carousel). */
|
|
43245
|
+
const LIST_OPTION_INGREDIENTS = LIST_INGREDIENTS.filter(k => k === 'arrange' || k === 'move');
|
|
43246
|
+
/** Every part a free page of `plan` may place, by slot word (see the module's comment). */
|
|
43247
|
+
function freeSlotOffers(plan, tier) {
|
|
43248
|
+
const offers = {};
|
|
43249
|
+
const shapes = layoutListShapes(plan);
|
|
43250
|
+
for (const list of layoutGalleryLists(plan).filter(l => l.pictures)) {
|
|
43251
|
+
const shape = shapes.find(s => s.alias === list.alias) ?? null;
|
|
43252
|
+
const words = LIST_OPTION_INGREDIENTS.flatMap(k => listBuiltWords(k)
|
|
43253
|
+
.filter(w => listWordOffered(k, w, tier) && listWordRefusal(k, w, shape, tier) === null)
|
|
43254
|
+
.map(w => `${k}${FREE_SLOT_SEPARATOR}${w}`));
|
|
43255
|
+
const detail = !!layoutListBinding(list.alias, plan)?.detail;
|
|
43256
|
+
offers[freeSlotWord(FreeSlotKind.List, list.alias)] = { kind: FreeSlotKind.List, ref: list.alias, opts: detail ? words : [...words, FREE_OPEN_LIGHTBOX] };
|
|
43257
|
+
}
|
|
43258
|
+
for (const list of layoutGalleryLists(plan)) {
|
|
43259
|
+
const type = listedContentType(list.alias, plan);
|
|
43260
|
+
// A list of quotes is shown as quotes only — never as questions or tabs made of someone's words.
|
|
43261
|
+
if (type?.roles.quote)
|
|
43262
|
+
continue;
|
|
43263
|
+
const fields = fieldsOf(type);
|
|
43264
|
+
for (const [kind, recipe] of LIST_RECIPE_SLOTS) {
|
|
43265
|
+
if (recipeListBinds(recipe, fields).gap === null)
|
|
43266
|
+
offers[freeSlotWord(kind, list.alias)] = { kind, ref: list.alias };
|
|
43267
|
+
}
|
|
43268
|
+
}
|
|
43269
|
+
const quotes = quoteListOf(plan);
|
|
43270
|
+
if (quotes)
|
|
43271
|
+
offers[freeSlotWord(FreeSlotKind.Quotes, quotes.source)] = { kind: FreeSlotKind.Quotes, ref: quotes.source };
|
|
43272
|
+
offers[freeSlotWord(FreeSlotKind.Form, FREE_FORM_PRESET)] = { kind: FreeSlotKind.Form, ref: FREE_FORM_PRESET };
|
|
43273
|
+
return offers;
|
|
43274
|
+
}
|
|
43275
|
+
/** What each slot kind places, in the words the model reads (the free brief's "parts it may place"). */
|
|
43276
|
+
const SLOT_MEANING = {
|
|
43277
|
+
[FreeSlotKind.List]: ref => `the ${ref} list`,
|
|
43278
|
+
[FreeSlotKind.Form]: ref => `a ${ref} form`,
|
|
43279
|
+
[FreeSlotKind.Accordion]: ref => `the ${ref} list as an accordion — each item a question that opens its answer`,
|
|
43280
|
+
[FreeSlotKind.Tabs]: ref => `the ${ref} list as tabs — one item shown at a time`,
|
|
43281
|
+
[FreeSlotKind.Quotes]: ref => `the ${ref} list as a testimonial carousel — the owner's real quotes, one at a time`,
|
|
43282
|
+
};
|
|
43283
|
+
/** One line of the free brief for an offered part: its slot word, what it places, and its options. */
|
|
43284
|
+
function freeSlotLine(slot, offer) {
|
|
43285
|
+
const kind = Object.values(FreeSlotKind).includes(offer.kind) ? offer.kind : FreeSlotKind.List;
|
|
43286
|
+
return `- "${slot}" (${SLOT_MEANING[kind](offer.ref)})${offer.opts?.length ? ` · opts: ${offer.opts.join(', ')}` : ''}`;
|
|
43287
|
+
}
|
|
43288
|
+
|
|
41530
43289
|
/**
|
|
41531
43290
|
* Where the composed pages' photos come from (M8-G2-D10 — the Plan step's Pictures line: "Your 4 photos go first · 8 from
|
|
41532
43291
|
* your photo library · 0 empty boxes"): every distinct photo id the plan's composed layouts name, by source. Pure.
|
|
@@ -41566,7 +43325,7 @@ function listPanelRows(mix, ctx) {
|
|
|
41566
43325
|
words: listBuiltWords(k).map(word => ({
|
|
41567
43326
|
word,
|
|
41568
43327
|
meaning: listMeaning(k, word, ctx.locale),
|
|
41569
|
-
pro:
|
|
43328
|
+
pro: !listWordOffered(k, word, ctx.tier),
|
|
41570
43329
|
mouse: k === HOVER,
|
|
41571
43330
|
refusal: listWordRefusal(k, word, ctx.shape, ctx.tier, ctx.never),
|
|
41572
43331
|
})),
|
|
@@ -42741,5 +44500,5 @@ function siteGlobalsOf(globals) {
|
|
|
42741
44500
|
* Generated bundle index. Do not edit.
|
|
42742
44501
|
*/
|
|
42743
44502
|
|
|
42744
|
-
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_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, 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_RUNS_AS, 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, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, 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, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, 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_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_TOKEN, HEADER_VEIL, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, 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_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, 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_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, 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, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, 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, SCRIM_WORDS_PAD, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, 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, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_FIT_ANY, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MAX_SEARCHES, STOCK_MIN_KEPT, STOCK_NEVER_PHRASES, STOCK_NEVER_WORDS, STOCK_OPENING_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_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, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadsAtRest, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, lookHasGlass, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensOnPicture, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planStockSearch, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, plateYields, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, 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, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFitFor, stockFits, stockGroupOf, stockItemSlots, stockKept, stockMayFill, stockPhotoFits, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSearchFocus, stockSearchQuery, stockSearchTerm, stockSlotFamily, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
44503
|
+
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_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, 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_RUNS_AS, 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, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyPace, BodyRepairCode, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, COLOUR_TOKEN$1 as COLOUR_TOKEN, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ColourAccent, ColourAction, ColourBands, ColourDark, ColourGround, ColourIngredient, ColourMixError, ColourPictures, ColourRhythm, ColourSource, ColourWash, 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, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, 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_FRAMED_STYLES, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_ROW_HOLDS, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_FORM_PRESET, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_OPENING_BOXES, FREE_OPEN_LIGHTBOX, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_SLOT_SEPARATOR, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeSlotKind, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_REST_FRAMES, HEADER_TOKEN, HEADER_VEIL, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, 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_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGACY_BODY_INGREDIENTS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, 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_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, 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, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, 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, SCRIM_WORDS_PAD, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, 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, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_FIT_ANY, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MAX_SEARCHES, STOCK_MIN_KEPT, STOCK_NEVER_PHRASES, STOCK_NEVER_WORDS, STOCK_OPENING_TYPE_WORDS, STOCK_PLACE_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STOCK_TRADE_PLACE_WORDS, STOCK_TRADE_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, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, colourAccentMax, colourGroundsMax, colourMeaning, colourMix, colourMixFromWords, colourMixWords, colourRhythmIssues, colourTokenOf, colourWireWords, colourWordDrawn, colourWordOffered, colourWordTier, colourWordWaits, colourWords, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListAccordion, composeListFrame, composeListLightbox, composeListTabs, composeNavHeader, composeOpening, composePopup, composePresetForm, composeQuoteCarousel, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnColourMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, fieldsOf, figuresNotIn, fillContactFacts, filledItemNumbers, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeOpeningOffer, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeSlotLine, freeSlotOf, freeSlotOffers, freeSlotWord, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerGroundWhenUnreadable, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadableOfSite, headerReadsAtRest, headerRecipe, headerReferences, headerRestInks, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isFilledItem, isFreeBox, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, itemFillApplies, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, listedContentType, lookHasGlass, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingPictureSrc, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensOnPicture, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paceIssues, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, placeholderContentTypes, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planStockSearch, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, plateYields, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, presetColourMix, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, refusesStock, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionPictured, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFitFor, stockFits, stockGroupOf, stockItemSlots, stockKept, stockMayFill, stockPhotoFits, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSearchFocus, stockSearchQuery, stockSearchTerm, stockSlotFamily, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
42745
44504
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|