efficient-web-builder 74.13.0 → 75.0.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/CHANGELOG.md +16 -0
- package/dist/editor/lib/animation/hover-fields.js +1 -1
- package/dist/format/lib/content/hover-media.d.ts +0 -6
- package/dist/format/lib/content/hover-media.js +1 -1
- package/dist/format/lib/editor-words-catalogue.d.ts +3 -2
- package/dist/format/lib/editor-words-catalogue.js +1 -1
- package/dist/format/lib/editor-words-kept.js +1 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/HeroArrows.d.ts +3 -6
- package/dist/render/components/HeroArrows.js +1 -1
- package/dist/render/components/HoverMediaLayer.d.ts +2 -18
- package/dist/render/components/HoverMediaLayer.js +1 -1
- package/dist/render/components/ImageBlock.d.ts +0 -1
- package/dist/render/components/ImageBlock.js +1 -1
- package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 75.0.0 - 2026-11-25
|
|
4
|
+
|
|
5
|
+
From main at `fa22c1e1`: #860, #863 (CI only: the verify job may take 30 minutes).
|
|
6
|
+
|
|
7
|
+
A major: exports removed (below). Peers unchanged (efficient-easel `^38.0.0`, efficient-shell `^15.8.0`).
|
|
8
|
+
|
|
9
|
+
**For hosts:**
|
|
10
|
+
- ⚠️ **Breaking:** `HoverMediaLayer` takes no `name` prop. A host that passes one drops it.
|
|
11
|
+
- ⚠️ **Removed exports:** `HoverArrowsSlot`, `HoverMediaArrows`, `HoverArrowsState` (`components/HoverMediaLayer`); `hoverLayerName`, `hoverArrowLabel`, `hoverMediaCount`, `HOVER_ARROWS_HOST_ATTR`, `HOVER_ARROWS_HOST_CLASS` (`lib/content/hover-media`). `HeroArrows` takes no `labels`, `onPress` or `sides`.
|
|
12
|
+
- Look change only at Show next image: no arrows on the hover photo. No published inovit_us page uses Show next image (read 2026-11-25); the default Hover of every card section is not Show next image.
|
|
13
|
+
- New mark: the hover layer carries `data-hover-fit` (`cover` for photos, `contain` for renderings), so a host stylesheet can place the two apart.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **Show next image draws no arrows** (owner, 2026-11-25): under the pointer a card shows the first photo of its pick, with nothing to press. The Box arrows layer, the arrow words and the screen-reader count are gone. The panel hints no longer say "with arrows".
|
|
18
|
+
|
|
3
19
|
## 74.13.0 - 2026-11-24
|
|
4
20
|
|
|
5
21
|
From main at `29474c50`: #857.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";import{AccentIcon as j,ContrastIcon as Z,EyeIcon as q,ExpandIcon as J,FinishIcon as Q,ImagesIcon as $,NoSymbolIcon as S,HoverLiftIcon as ee,HoverNextImageIcon as oe,HoverRotateIcon as te,HoverZoomIcon as T,OpacityIcon as ne}from"efficient-easel/icons";import{customize as re,describedAs as N,group as se}from"efficient-easel/screen/lib/document/box-fields";import{effectTiles as V}from"efficient-easel/screen/lib/document/effect-tiles";import{deviceField as r}from"efficient-easel/screen/lib/document/device-fields";import{NoControlMark as ie,noControlField as ce}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{BOX_DARKEN as p}from"../../../format/lib/content/box-background.js";import{cardTemplateOwner as ae}from"../../../format/lib/content/card-template.js";import{angleRow as pe,segmented as H,select as he,slider as A}from"../document/box-fields.js";import{say as E}from"../../../format/lib/editor-words.js";import{withShowWhen as a}from"../../../format/lib/document/show-when-attach.js";import{animationDelayField as D,animationDurationField as k,showsWhatRuns as O}from"./AnimationDurationRow.js";import{BOX_HIGHLIGHT as C,BOX_HOVER_KINDS as g,BOX_HOVER_LABELS as x,CARD_HOVER_KEYS as c,CARD_HOVER_KINDS as de,CARD_HOVER_SECTIONS as _e,CARD_HOVER_TURN as le,HOVER_KEY as h,HOVER_MEDIA_COVERS as ue,HOVER_MEDIA_COVER_LABELS as Ee,HOVER_MEDIA_DEFAULTS as m,HOVER_MEDIA_GROUPS as Re,HOVER_MEDIA_GROUP_LABELS as He,HOVER_MEDIA_KINDS as Oe,HOVER_MEDIA_KIND_LABELS as me,HOVER_KIND_LABELS as B,BOX_SHOW_KEY as P,BOX_SHOW_ALWAYS as W,BOX_SHOW_ON_CARD_HOVER as K,NEXT_PICTURE_BLOCKS as b,NEXT_PICTURE_HOVER_KINDS as y,OLD_SPIN_KEY as Ie,PART_HOVER_KINDS as X,PICTURE_HOVER_KEYS as U,PICTURE_HOVER_KINDS as fe,PICTURE_HOVER_ZOOM as d,cardHoverAngleOf as we,cardHoverKindOf as ve,cardRotatesRule as Se,cardShowsNextRule as I,HOVER_GROUP_KEY as _,pictureHoverKindOf as Te,pictureHoverMoveRule as Ne,pictureHoverRunsRule as L,pictureHoverTimedRule as Ve}from"../../../format/lib/animation/hover.js";const R=e=>r("desktop",se("Hover",{dot:e})),M=()=>r("desktop",re()),Ae="What this does when a shopper points at it, or taps it on a phone.",De="What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.",ke="What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{AccentIcon as j,ContrastIcon as Z,EyeIcon as q,ExpandIcon as J,FinishIcon as Q,ImagesIcon as $,NoSymbolIcon as S,HoverLiftIcon as ee,HoverNextImageIcon as oe,HoverRotateIcon as te,HoverZoomIcon as T,OpacityIcon as ne}from"efficient-easel/icons";import{customize as re,describedAs as N,group as se}from"efficient-easel/screen/lib/document/box-fields";import{effectTiles as V}from"efficient-easel/screen/lib/document/effect-tiles";import{deviceField as r}from"efficient-easel/screen/lib/document/device-fields";import{NoControlMark as ie,noControlField as ce}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{BOX_DARKEN as p}from"../../../format/lib/content/box-background.js";import{cardTemplateOwner as ae}from"../../../format/lib/content/card-template.js";import{angleRow as pe,segmented as H,select as he,slider as A}from"../document/box-fields.js";import{say as E}from"../../../format/lib/editor-words.js";import{withShowWhen as a}from"../../../format/lib/document/show-when-attach.js";import{animationDelayField as D,animationDurationField as k,showsWhatRuns as O}from"./AnimationDurationRow.js";import{BOX_HIGHLIGHT as C,BOX_HOVER_KINDS as g,BOX_HOVER_LABELS as x,CARD_HOVER_KEYS as c,CARD_HOVER_KINDS as de,CARD_HOVER_SECTIONS as _e,CARD_HOVER_TURN as le,HOVER_KEY as h,HOVER_MEDIA_COVERS as ue,HOVER_MEDIA_COVER_LABELS as Ee,HOVER_MEDIA_DEFAULTS as m,HOVER_MEDIA_GROUPS as Re,HOVER_MEDIA_GROUP_LABELS as He,HOVER_MEDIA_KINDS as Oe,HOVER_MEDIA_KIND_LABELS as me,HOVER_KIND_LABELS as B,BOX_SHOW_KEY as P,BOX_SHOW_ALWAYS as W,BOX_SHOW_ON_CARD_HOVER as K,NEXT_PICTURE_BLOCKS as b,NEXT_PICTURE_HOVER_KINDS as y,OLD_SPIN_KEY as Ie,PART_HOVER_KINDS as X,PICTURE_HOVER_KEYS as U,PICTURE_HOVER_KINDS as fe,PICTURE_HOVER_ZOOM as d,cardHoverAngleOf as we,cardHoverKindOf as ve,cardRotatesRule as Se,cardShowsNextRule as I,HOVER_GROUP_KEY as _,pictureHoverKindOf as Te,pictureHoverMoveRule as Ne,pictureHoverRunsRule as L,pictureHoverTimedRule as Ve}from"../../../format/lib/animation/hover.js";const R=e=>r("desktop",se("Hover",{dot:e})),M=()=>r("desktop",re()),Ae="What this does when a shopper points at it, or taps it on a phone.",De="What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.",ke="What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos; a phone shows the picture as it is. Black and white shows it in grey until then.",Ce="What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos; a phone shows the picture as it is. Black and white shows it in grey until then.",ge="When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.",xe="What each card does when a shopper points at it. Show next image covers the card with this product's photos; a phone shows the card as it is. Rotate turns the wheel picture.",Be="Which of the product's pictures the card shows.",Pe="Same finish shows the photos of the finish the card shows, else the first group.",We="Whole card hides the words under the photo. Picture keeps the words and swatches in view.",Ke={none:()=>i(S,{}),nextImage:()=>i(oe,{}),rotate:()=>i(te,{}),zoom:()=>i(T,{}),lift:()=>i(ee,{}),mono:()=>i(Z,{})};function f(e,o){const s=V({label:E("Hover effect"),options:e.map(n=>({value:n,label:E(B[n]),picture:Ke[n]()})),fallback:o});return N(s,{type:"select",label:"Hover effect",options:e.map(n=>({value:n,label:B[n]}))})}function oo(){return{[_]:R({field:h,in:X.filter(e=>e!=="none")}),[h]:r("desktop",{...f(X,"none"),description:Ae})}}function to(e){const o=Se(e),s=I(),n=pe(le);return{[_]:R({any:[o,s]}),[c.kind]:r("desktop",{...O(f(de,e),(t,l)=>ve(l??{},e)),description:xe}),...w(s),[Ie]:ce({type:"custom",render:()=>i(ie,{})},"always"),_cHover:M(),[c.angle]:r("desktop",a(O(n,t=>we(t)),o)),[c.duration]:r("desktop",a(k("hover"),o)),[c.delay]:r("desktop",a(D("hover"),o))}}function w(e){const o=he("Type",i($,{}),Oe.map(t=>({value:t,label:me[t]})),m.kind),s=H("Group",i(Q,{}),Re.map(t=>({value:t,label:He[t]})),m.group),n=H("Covers",i(J,{}),ue.map(t=>({value:t,label:Ee[t]})),m.cover);return{[c.mediaKind]:r("desktop",a({...o,description:Be},e)),[c.mediaGroup]:r("desktop",a({...s,description:Pe},e)),[c.cover]:r("desktop",a({...n,description:We},e))}}function be(e,o="",s=b.includes(o)){const n=L(e),t=Ve(e);return{[_]:R(n),[c.kind]:v(fe,e,De),...b.includes(o)?w(I()):{},_cHover:M(),...s?F():{},[c.duration]:r("desktop",a(k("hover"),t)),[c.delay]:r("desktop",a(D("hover"),t))}}function F(e=!1){const o=t=>e?t:a(t,Ne()),s=A("Zoom",i(T,{}),d.min,d.max,d.step,d.min,d.unit),n=A("Darken on hover",i(ne,{}),p.min,p.max,p.step,p.fallback,p.unit);return{[U.zoom]:r("desktop",o(s)),[U.darken]:r("desktop",o(n))}}function v(e,o,s){const n=r("desktop",{...O(f(e,o),t=>Te({[h]:t},o,e)),description:s});return Object.assign(n,{[G]:o})}const G="sfPictureResting",Y=new WeakMap;function no(e,o,s){const n=e[c.kind],t=n?.[G];if(!n||!t)return e;const l=o.props?.[h]==="nextImage",z=l?null:ae(s.appState,o.props?.id);if(!l&&!_e.includes(String(z?.type??"")))return e;let u=Y.get(e);return u||(u={...e,[c.kind]:v(y,t,ke)},Y.set(e,u)),u}const ye="What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.",Xe={none:()=>i(S,{}),[C]:()=>i(j,{})},ro=r("desktop",{...N(V({label:E("Hover effect"),options:g.map(e=>({value:e,label:E(x[e]),picture:Xe[e]()})),fallback:"none"}),{type:"select",label:"Hover effect",options:g.map(e=>({value:e,label:x[e]}))}),description:ye}),Ue=r("desktop",{...H("Show",i(q,{}),[{value:W,label:"Always"},{value:K,label:"On card hover"}],W),description:ge});function so(){const e={any:[L("none"),{field:h,is:C},{field:P,is:K}]},{[_]:o,[c.kind]:s,...n}=be("none","",!0);return{[_]:R(e),[c.kind]:s,[P]:Ue,...w(I()),...n,...F(!0)}}const io=v(y,"none",Ce);export{ro as BOX_HIGHLIGHT_ROW,io as BOX_NEXT_PICTURE_ROW,so as boxHoverFields,to as cardHoverFields,oo as hoverFields,no as offerNextPicture,be as pictureHoverFields};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { HoverMediaCover, HoverMediaGroup, HoverMediaKind } from "../animation/hover.js";
|
|
2
|
-
import type { SourceRow } from "./block-sources.js";
|
|
3
2
|
export declare const HOVER_MEDIA_LIMIT = 8;
|
|
4
3
|
export type HoverMediaItem = {
|
|
5
4
|
url?: string;
|
|
@@ -33,10 +32,5 @@ export declare function cardRowHoverMedia(at: {
|
|
|
33
32
|
kind: HoverMediaKind;
|
|
34
33
|
group: HoverMediaGroup;
|
|
35
34
|
} | null | undefined): HoverMediaPick | null;
|
|
36
|
-
export declare function hoverLayerName(row: SourceRow | null | undefined, own?: string): string;
|
|
37
|
-
export declare function hoverArrowLabel(direction: "prev" | "next", name: string): string;
|
|
38
|
-
export declare function hoverMediaCount(index: number, count: number): string;
|
|
39
35
|
export declare const HOVER_LAYER_GROUND: Readonly<Record<HoverMediaCover, string>>;
|
|
40
|
-
export declare const HOVER_ARROWS_HOST_ATTR = "data-hover-media-arrows";
|
|
41
|
-
export declare const HOVER_ARROWS_HOST_CLASS = "pointer-events-none absolute inset-0 z-[2] rounded-[inherit] max-view-wide:hidden";
|
|
42
36
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{nonEmptyString as
|
|
1
|
+
import{nonEmptyString as u}from"../non-empty-string.js";const d=8,f=(e,n)=>!!e&&!!n&&e.trim().toLowerCase()===n.trim().toLowerCase(),l=(e,n,t)=>{if(t){const r=n(t);if(r.length>0)return r}for(const r of e){const i=n(r);if(i.length>0)return i}return[]},g=e=>(e.items??[]).flatMap(n=>{const t=n.kind==="image"?u(n.url):void 0;return t?[t]:[]}),a=e=>(e.angles??[]).flatMap(n=>{const t=u(n);return t?[t]:[]});function p(e,n,t){if(!e)return null;const r=n.group==="finish";let i;if(n.kind==="renderings"){const o=e.finishes??[],s=r?o.find(c=>f(c.name,t)):void 0;i=l(o,a,s)}else{const o=e.hoverMedia?.[n.kind]??[],s=r?o.find(c=>f(c.finish,t)):void 0;i=l(o,g,s)}return i.length===0?null:{kind:n.kind,fit:n.kind==="renderings"?"contain":"cover",urls:i.slice(0,d)}}function m(e,n){return!e||!n||!e.item||typeof e.item!="object"?null:p(e.item,n,e.finish)}const k={picture:"var(--surface)",card:"var(--card-bg)"};export{k as HOVER_LAYER_GROUND,d as HOVER_MEDIA_LIMIT,m as cardRowHoverMedia,p as pickHoverMedia};
|
|
@@ -1443,12 +1443,13 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1443
1443
|
readonly "Website link": "Website link";
|
|
1444
1444
|
readonly "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.": "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.";
|
|
1445
1445
|
readonly "What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.": "What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.";
|
|
1446
|
+
readonly "What each card does when a shopper points at it. Show next image covers the card with this product's photos; a phone shows the card as it is. Rotate turns the wheel picture.": "What each card does when a shopper points at it. Show next image covers the card with this product's photos; a phone shows the card as it is. Rotate turns the wheel picture.";
|
|
1446
1447
|
readonly "What people *say.*": "What people *say.*";
|
|
1447
1448
|
readonly "What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.": "What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.";
|
|
1448
1449
|
readonly "What this does when a shopper points at it, or taps it on a phone.": "What this does when a shopper points at it, or taps it on a phone.";
|
|
1449
1450
|
readonly "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.": "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.";
|
|
1450
|
-
readonly "What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos
|
|
1451
|
-
readonly "What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos
|
|
1451
|
+
readonly "What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos; a phone shows the picture as it is. Black and white shows it in grey until then.": "What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos; a phone shows the picture as it is. Black and white shows it in grey until then.";
|
|
1452
|
+
readonly "What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos; a phone shows the picture as it is. Black and white shows it in grey until then.": "What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos; a phone shows the picture as it is. Black and white shows it in grey until then.";
|
|
1452
1453
|
readonly "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.": "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.";
|
|
1453
1454
|
readonly "What we count.": "What we count.";
|
|
1454
1455
|
readonly WhatsApp: "WhatsApp";
|
|
@@ -5,7 +5,7 @@ const e={"$ efficient …":"$ efficient …","0 min":"0 min","0 min read":"0 min
|
|
|
5
5
|
*Highlight line*`,"Section heading *here.*":"Section heading *here.*","Section headline\n*Highlight line*":`Section headline
|
|
6
6
|
*Highlight line*`,"Section headline *here.*\n*Highlight line*":`Section headline *here.*
|
|
7
7
|
*Highlight line*`,"Section number":"Section number","Section settings":"Section settings",Sections:"Sections","Section’s own":"Section’s own","Secure encrypted checkout":"Secure encrypted checkout","Seen from\n*the counter.*":`Seen from
|
|
8
|
-
*the counter.*`,"Select a section or block to edit it.":"Select a section or block to edit it.","Select a word, then press the highlighter.":"Select a word, then press the highlighter.","Selector guide":"Selector guide","Selector guide (pills + results)":"Selector guide (pills + results)","Selector pills":"Selector pills",Separator:"Separator","Series title":"Series title",Serif:"Serif","Set by country":"Set by country","Set this card's corners first.":"Set this card's corners first.",Shadow:"Shadow","Shadow color":"Shadow color",Shape:"Shape","Share button":"Share button",Shared:"Shared","Shared, scroll":"Shared, scroll","Shop & galleries":"Shop & galleries","Short description of this figure.":"Short description of this figure.","Short detail line":"Short detail line","Short supporting line":"Short supporting line",Shorten:"Shorten",Show:"Show","Show arrows":"Show arrows","Show cover image":"Show cover image","Show for":"Show for","Show hints":"Show hints","Show next image":"Show next image","Show on a card":"Show on a card","Show on phones":"Show on phones","Show slide picker":"Show slide picker","Show texture":"Show texture","Show the chat bubble":"Show the chat bubble","Show the chat bubble on the whole site":"Show the chat bubble on the whole site","Show ticker":"Show ticker","Show {label} on the slide":"Show {label} on the slide","Shown beside the heading":"Shown beside the heading","Shown by the section: {name}":"Shown by the section: {name}",Shows:"Shows","Shows the preview in this Theme. It adds no code. The section uses the Theme in its own settings.":"Shows the preview in this Theme. It adds no code. The section uses the Theme in its own settings.","Shows when a visitor points at the button":"Shows when a visitor points at the button",Shrink:"Shrink","Shrink to fit":"Shrink to fit","Side space":"Side space","Side-by-side image and text in two columns.":"Side-by-side image and text in two columns.",Sideways:"Sideways","Signup Form":"Signup Form",Simple:"Simple",Site:"Site","Site button color":"Site button color","Site offices":"Site offices","Site settings":"Site settings","Six across":"Six across","Six stagger":"Six stagger",Size:"Size",Sizes:"Sizes","Slash /":"Slash /","Slide name":"Slide name","Slide picker":"Slide picker","Slide picker placement":"Slide picker placement","Slide picker shape":"Slide picker shape","Slide {n}: own Overlay color.":"Slide {n}: own Overlay color.","Slides {n}: own Overlay color.":"Slides {n}: own Overlay color.",Small:"Small","Small — 40px":"Small — 40px","Social Logos":"Social Logos","Social link settings belong to a website.":"Social link settings belong to a website.","Social links":"Social links",Soft:"Soft",Solid:"Solid","Somebody else":"Somebody else",Source:"Source","Space above and below":"Space above and below","Space between boxes":"Space between boxes",Spacer:"Spacer",Spacing:"Spacing","Spec Strip":"Spec Strip","Spec Table":"Spec Table","Spec label":"Spec label","Spec tiles":"Spec tiles","Spec value":"Spec value","Specified in California to a 14-step protocol. No two sets are identical.":"Specified in California to a 14-step protocol. No two sets are identical.",Specs:"Specs",Spin:"Spin",Spine:"Spine","Spine (single rail)":"Spine (single rail)",Split:"Split","Split (editorial aside)":"Split (editorial aside)",Square:"Square","Square 1:1":"Square 1:1",Squares:"Squares",Stacked:"Stacked","Stacks below":"Stacks below",Standard:"Standard","Start with a blank page, then add sections.":"Start with a blank page, then add sections.","Starts open":"Starts open",Stat:"Stat","Stat & note":"Stat & note","Stat label":"Stat label","Stat name":"Stat name","Stat value":"Stat value",State:"State","State / Province":"State / Province",Statement:"Statement",Stats:"Stats","Stats & social proof":"Stats & social proof","Stats with Text":"Stats with Text","Status chip":"Status chip","Stays above":"Stays above","Step *one*":"Step *one*","Step *three*":"Step *three*","Step *two*":"Step *two*","Stick to top":"Stick to top","Still time per slide":"Still time per slide","Still to come: a hollow dot, and the gold line stops before it.":"Still to come: a hollow dot, and the gold line stops before it.","Storefront → Blog":"Storefront → Blog","Storefront ▸ Sites ▸ Settings":"Storefront ▸ Sites ▸ Settings","Story 9:16":"Story 9:16","Story Timeline":"Story Timeline","Street address":"Street address","Strip fill":"Strip fill","Strip items":"Strip items","Stripes · bold":"Stripes · bold","Stripes · fine":"Stripes · fine","Stripes · medium":"Stripes · medium",Style:"Style",Styles:"Styles","Sub-title":"Sub-title","Sub-total lines":"Sub-total lines",Subhead:"Subhead",Subscribe:"Subscribe","Subscribe with Posts":"Subscribe with Posts",Subtitle:"Subtitle","Subtitle font size":"Subtitle font size",Subtotal:"Subtotal","Success heading":"Success heading","Success message":"Success message",Superscript:"Superscript",Surface:"Surface","Switch now":"Switch now","Switch to Box footer":"Switch to Box footer","Synced from the blog post.":"Synced from the blog post.","Synced from the product.":"Synced from the product.","Synced from the site menu.":"Synced from the site menu.","Syncing from {place}…":"Syncing from {place}…",Tab:"Tab","Tab Bar":"Tab Bar","Tab label":"Tab label","Tab name":"Tab name","Tab shape":"Tab shape","Tabbed Gallery":"Tabbed Gallery",Table:"Table",Tabs:"Tabs","Tall (3:4)":"Tall (3:4)","Tall 3:4":"Tall 3:4","Tall first":"Tall first","Tall middle":"Tall middle","Team four":"Team four","Team one":"Team one","Team three":"Team three","Team two":"Team two",Telegram:"Telegram",Template:"Template","Templates don’t store images — this slot stays a placeholder. Each website picks its own after it’s created.":"Templates don’t store images — this slot stays a placeholder. Each website picks its own after it’s created.","Templates don’t store videos — this slot stays a placeholder. Each website picks its own after it’s created.":"Templates don’t store videos — this slot stays a placeholder. Each website picks its own after it’s created.","Templates keep their look. Press Done.":"Templates keep their look. Press Done.",Terminal:"Terminal","Terminal (CLI session)":"Terminal (CLI session)","Terminal lines":"Terminal lines",Testimonials:"Testimonials",Text:"Text","Text & content":"Text & content","Text & media":"Text & media","Text color":"Text color","Text column":"Text column","Text height":"Text height","Text position":"Text position","Text size":"Text size","Text style":"Text style","Text styles":"Text styles",Texts:"Texts",Texture:"Texture","Texture color":"Texture color","Texture opacity":"Texture opacity","Texture style":"Texture style","Thanks — we'll email you to confirm.":"Thanks — we'll email you to confirm.","The chat bubble is hidden across the whole site.":"The chat bubble is hidden across the whole site.","The colour fades into the page colour at the bottom":"The colour fades into the page colour at the bottom","The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.":"The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.","The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.":"The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.","The floating chat bubble shows in the corner of every page.":"The floating chat bubble shows in the corner of every page.","The footer cannot take another one of these":"The footer cannot take another one of these","The footer holds at most 6 sections":"The footer holds at most 6 sections","The header and footer could not load. They are hidden for now and nothing in them is saved. Reload to try again.":"The header and footer could not load. They are hidden for now and nothing in them is saved. Reload to try again.","The header and footer did not save. They are sent again with your next change.":"The header and footer did not save. They are sent again with your next change.","The header and footer were changed somewhere else. Nothing you change in them here is saved. Reload to get the latest.":"The header and footer were changed somewhere else. Nothing you change in them here is saved. Reload to get the latest.","The header cannot take another one of these":"The header cannot take another one of these","The header holds at most 3 sections":"The header holds at most 3 sections","The name was not saved. Try again.":"The name was not saved. Try again.","The newest 30 are kept. Named versions are always kept.":"The newest 30 are kept. Named versions are always kept.","The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.":"The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.","The preview did not open. Try again.":"The preview did not open. Try again.","The room left at the left and right edge of every page.":"The room left at the left and right edge of every page.","The row of the section a reader is in stands out as they scroll.":"The row of the section a reader is in stands out as they scroll.","The section draws {what} here, in every card.":"The section draws {what} here, in every card.","The section it belonged to has been changed or removed.":"The section it belonged to has been changed or removed.","The slide shows your Image while the video loads, because this video has no frame.":"The slide shows your Image while the video loads, because this video has no frame.","The version was not restored. Nothing changed. Try again.":"The version was not restored. Nothing changed. Try again.","The whole website goes back to version {n} as a draft.":"The whole website goes back to version {n} as a draft.","The whole website goes back to version {n} as a draft: {what}.":"The whole website goes back to version {n} as a draft: {what}.","The width bar works for 2 to {count} blocks.":"The width bar works for 2 to {count} blocks.","The width of every section's background.":"The width of every section's background.","The width of every section's content.":"The width of every section's content.","The words are still on your page and nothing has been lost. The editor could not work out which control belongs to them, which is a fault on our side. Go back and click the section to open its settings instead.":"The words are still on your page and nothing has been lost. The editor could not work out which control belongs to them, which is a fault on our side. Go back and click the section to open its settings instead.",Theme:"Theme","Theme Switch":"Theme Switch","Theme {n}":"Theme {n}","Theme {n} background":"Theme {n} background","Theme {n} main color":"Theme {n} main color","Theme {n} muted color":"Theme {n} muted color","Theme {n} surface color":"Theme {n} surface color","Theme {n} text color":"Theme {n} text color","These settings apply to every view.":"These settings apply to every view.","They are saved in Version history as “Draft before restore”, so you can get them back.":"They are saved in Version history as “Draft before restore”, so you can get them back.",Thickness:"Thickness","Third item":"Third item","This cannot be undone.":"This cannot be undone.","This card is not in a section that can share corners.":"This card is not in a section that can share corners.","This color is hard to read on this theme's page. The buttons below are the same hue, darkened.":"This color is hard to read on this theme's page. The buttons below are the same hue, darkened.","This color is hard to read on your page background. Pick one further from it — lighter if your pages are dark, deeper if they are light.":"This color is hard to read on your page background. Pick one further from it — lighter if your pages are dark, deeper if they are light.","This color reads clearly on your pages.":"This color reads clearly on your pages.","This footer uses the old layout":"This footer uses the old layout","This is the only card in the section.":"This is the only card in the section.","This page":"This page","This page has no look of its own to set.":"This page has no look of its own to set.","This page is read-only.":"This page is read-only.","This part is no longer here.":"This part is no longer here.","This part's settings did not open.":"This part's settings did not open.","This site has {n} color theme of its own. Clearing takes them away and puts back the four the shop supplies.":"This site has {n} color theme of its own. Clearing takes them away and puts back the four the shop supplies.","This site has {n} color themes of its own. Clearing takes them away and puts back the four the shop supplies.":"This site has {n} color themes of its own. Clearing takes them away and puts back the four the shop supplies.","This ticker’s hero is no longer on the page.":"This ticker’s hero is no longer on the page.","This video has no frame yet. The slide shows its background colour until one is made.":"This video has no frame yet. The slide shows its background colour until one is made.","This video has no frame yet. The slide shows its image until one is made.":"This video has no frame yet. The slide shows its image until one is made.","This video is on another website, so no frame can be made. The slide shows its background colour while the video loads. Choose Image to show a picture.":"This video is on another website, so no frame can be made. The slide shows its background colour while the video loads. Choose Image to show a picture.","This video starts dark, so no frame was made. The slide shows its background colour while the video loads. Choose Image to show a picture.":"This video starts dark, so no frame was made. The slide shows its background colour while the video loads. Choose Image to show a picture.","This video's file type gives no frame. The slide shows its background colour while the video loads. Choose Image to show a picture.":"This video's file type gives no frame. The slide shows its background colour while the video loads. Choose Image to show a picture.","Three across":"Three across","Three ladder":"Three ladder","Three stagger":"Three stagger","Ticker items":"Ticker items",TikTok:"TikTok","Timeline entries":"Timeline entries","Timezone chip":"Timezone chip",Tint:"Tint","Tint color":"Tint color","Tint opacity":"Tint opacity",Title:"Title","Today, {time}":"Today, {time}",Tone:"Tone",Top:"Top","Top border":"Top border","Top center":"Top center","Top left":"Top left","Top right":"Top right","Top row":"Top row","Top space":"Top space",Total:"Total","Total amount":"Total amount","Total label":"Total label","Total line":"Total line",Track:"Track","Track (year rail)":"Track (year rail)","Trailing note":"Trailing note","Triangle ▼":"Triangle ▼","Trusted by *teams worldwide*":"Trusted by *teams worldwide*","Try again":"Try again","Turns the box. 0° is straight.":"Turns the box. 0° is straight.","Two across":"Two across","Two image galleries with tabs and filters.":"Two image galleries with tabs and filters.","Two tall":"Two tall","Two, then threes":"Two, then threes","Two, then threes · photo":"Two, then threes · photo",Type:"Type","Type a postcode or address":"Type a postcode or address","Typed by hand":"Typed by hand","Typed here":"Typed here","Typed in":"Typed in","Tyre Fitment Form":"Tyre Fitment Form","Tyre Sizes":"Tyre Sizes","URL pill":"URL pill","URL: /{slug}":"URL: /{slug}","Under the header":"Under the header","Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.":"Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.","Under this screen width the blocks stand one under another, with the Phone Gap and Padding.":"Under this screen width the blocks stand one under another, with the Phone Gap and Padding.","Under this screen width the side space narrows and the Phone Padding is used.":"Under this screen width the side space narrows and the Phone Padding is used.",Undo:"Undo","Undo did not work. Nothing changed. Try again.":"Undo did not work. Nothing changed. Try again.",Ungrouped:"Ungrouped",Unit:"Unit","Unit labels":"Unit labels",Unlink:"Unlink",Up:"Up","Up and down":"Up and down",Upcoming:"Upcoming","Update style":"Update style","Update {style}?":"Update {style}?",Upload:"Upload","Upload a background image":"Upload a background image","Upload a poster still":"Upload a poster still","Uppercase heading":"Uppercase heading","Use {colour}":"Use {colour}",Value:"Value","Value suffix":"Value suffix","Version history":"Version history","Version history did not load.":"Version history did not load.","Version {n}":"Version {n}","Version {n} is now your draft":"Version {n} is now your draft",Versions:"Versions","Versus OEM equivalents, across our forged catalog.":"Versus OEM equivalents, across our forged catalog.","Vertical breathing room between sections.":"Vertical breathing room between sections.",Video:"Video","Video 16:9":"Video 16:9","Video file":"Video file","Video frame":"Video frame","Video poster":"Video poster","View all":"View all","View all questions":"View all questions","View series →":"View series →",Volume:"Volume","Ways to pay":"Ways to pay","We accept":"We accept",WeChat:"WeChat",Website:"Website","Website link":"Website link","What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.":"What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.","What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.":"What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.","What people *say.*":"What people *say.*","What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.":"What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.","What this does when a shopper points at it, or taps it on a phone.":"What this does when a shopper points at it, or taps it on a phone.","What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.":"What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.","What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.":"What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.","What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.":"What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.","What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.":"What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.","What we count.":"What we count.",WhatsApp:"WhatsApp","When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.":"When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.","When the text does not fit":"When the text does not fit","When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.":"When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.","Where this content is edited.":"Where this content is edited.","Whether this page sits on the site's content column, or runs edge to edge.":"Whether this page sits on the site's content column, or runs edge to edge.","Which of the product's pictures the card shows.":"Which of the product's pictures the card shows.","Whole card":"Whole card","Whole card hides the words under the photo. Picture keeps the words and swatches in view.":"Whole card hides the words under the photo. Picture keeps the words and swatches in view.","Whole number Theme Color":"Whole number Theme Color","Wide (2:1)":"Wide (2:1)","Wide 2:1":"Wide 2:1","Wide promo strip with background image.":"Wide promo strip with background image.",Width:"Width","With us":"With us",Wording:"Wording",Words:"Words","Words first":"Words first","Words space bottom":"Words space bottom","Words space top":"Words space top",Wrap:"Wrap","Write the answer here.":"Write the answer here.","Write the opening paragraph here.\n\n- Start a line with a dash for a bullet.\n- Add as many as you like.":`Write the opening paragraph here.
|
|
8
|
+
*the counter.*`,"Select a section or block to edit it.":"Select a section or block to edit it.","Select a word, then press the highlighter.":"Select a word, then press the highlighter.","Selector guide":"Selector guide","Selector guide (pills + results)":"Selector guide (pills + results)","Selector pills":"Selector pills",Separator:"Separator","Series title":"Series title",Serif:"Serif","Set by country":"Set by country","Set this card's corners first.":"Set this card's corners first.",Shadow:"Shadow","Shadow color":"Shadow color",Shape:"Shape","Share button":"Share button",Shared:"Shared","Shared, scroll":"Shared, scroll","Shop & galleries":"Shop & galleries","Short description of this figure.":"Short description of this figure.","Short detail line":"Short detail line","Short supporting line":"Short supporting line",Shorten:"Shorten",Show:"Show","Show arrows":"Show arrows","Show cover image":"Show cover image","Show for":"Show for","Show hints":"Show hints","Show next image":"Show next image","Show on a card":"Show on a card","Show on phones":"Show on phones","Show slide picker":"Show slide picker","Show texture":"Show texture","Show the chat bubble":"Show the chat bubble","Show the chat bubble on the whole site":"Show the chat bubble on the whole site","Show ticker":"Show ticker","Show {label} on the slide":"Show {label} on the slide","Shown beside the heading":"Shown beside the heading","Shown by the section: {name}":"Shown by the section: {name}",Shows:"Shows","Shows the preview in this Theme. It adds no code. The section uses the Theme in its own settings.":"Shows the preview in this Theme. It adds no code. The section uses the Theme in its own settings.","Shows when a visitor points at the button":"Shows when a visitor points at the button",Shrink:"Shrink","Shrink to fit":"Shrink to fit","Side space":"Side space","Side-by-side image and text in two columns.":"Side-by-side image and text in two columns.",Sideways:"Sideways","Signup Form":"Signup Form",Simple:"Simple",Site:"Site","Site button color":"Site button color","Site offices":"Site offices","Site settings":"Site settings","Six across":"Six across","Six stagger":"Six stagger",Size:"Size",Sizes:"Sizes","Slash /":"Slash /","Slide name":"Slide name","Slide picker":"Slide picker","Slide picker placement":"Slide picker placement","Slide picker shape":"Slide picker shape","Slide {n}: own Overlay color.":"Slide {n}: own Overlay color.","Slides {n}: own Overlay color.":"Slides {n}: own Overlay color.",Small:"Small","Small — 40px":"Small — 40px","Social Logos":"Social Logos","Social link settings belong to a website.":"Social link settings belong to a website.","Social links":"Social links",Soft:"Soft",Solid:"Solid","Somebody else":"Somebody else",Source:"Source","Space above and below":"Space above and below","Space between boxes":"Space between boxes",Spacer:"Spacer",Spacing:"Spacing","Spec Strip":"Spec Strip","Spec Table":"Spec Table","Spec label":"Spec label","Spec tiles":"Spec tiles","Spec value":"Spec value","Specified in California to a 14-step protocol. No two sets are identical.":"Specified in California to a 14-step protocol. No two sets are identical.",Specs:"Specs",Spin:"Spin",Spine:"Spine","Spine (single rail)":"Spine (single rail)",Split:"Split","Split (editorial aside)":"Split (editorial aside)",Square:"Square","Square 1:1":"Square 1:1",Squares:"Squares",Stacked:"Stacked","Stacks below":"Stacks below",Standard:"Standard","Start with a blank page, then add sections.":"Start with a blank page, then add sections.","Starts open":"Starts open",Stat:"Stat","Stat & note":"Stat & note","Stat label":"Stat label","Stat name":"Stat name","Stat value":"Stat value",State:"State","State / Province":"State / Province",Statement:"Statement",Stats:"Stats","Stats & social proof":"Stats & social proof","Stats with Text":"Stats with Text","Status chip":"Status chip","Stays above":"Stays above","Step *one*":"Step *one*","Step *three*":"Step *three*","Step *two*":"Step *two*","Stick to top":"Stick to top","Still time per slide":"Still time per slide","Still to come: a hollow dot, and the gold line stops before it.":"Still to come: a hollow dot, and the gold line stops before it.","Storefront → Blog":"Storefront → Blog","Storefront ▸ Sites ▸ Settings":"Storefront ▸ Sites ▸ Settings","Story 9:16":"Story 9:16","Story Timeline":"Story Timeline","Street address":"Street address","Strip fill":"Strip fill","Strip items":"Strip items","Stripes · bold":"Stripes · bold","Stripes · fine":"Stripes · fine","Stripes · medium":"Stripes · medium",Style:"Style",Styles:"Styles","Sub-title":"Sub-title","Sub-total lines":"Sub-total lines",Subhead:"Subhead",Subscribe:"Subscribe","Subscribe with Posts":"Subscribe with Posts",Subtitle:"Subtitle","Subtitle font size":"Subtitle font size",Subtotal:"Subtotal","Success heading":"Success heading","Success message":"Success message",Superscript:"Superscript",Surface:"Surface","Switch now":"Switch now","Switch to Box footer":"Switch to Box footer","Synced from the blog post.":"Synced from the blog post.","Synced from the product.":"Synced from the product.","Synced from the site menu.":"Synced from the site menu.","Syncing from {place}…":"Syncing from {place}…",Tab:"Tab","Tab Bar":"Tab Bar","Tab label":"Tab label","Tab name":"Tab name","Tab shape":"Tab shape","Tabbed Gallery":"Tabbed Gallery",Table:"Table",Tabs:"Tabs","Tall (3:4)":"Tall (3:4)","Tall 3:4":"Tall 3:4","Tall first":"Tall first","Tall middle":"Tall middle","Team four":"Team four","Team one":"Team one","Team three":"Team three","Team two":"Team two",Telegram:"Telegram",Template:"Template","Templates don’t store images — this slot stays a placeholder. Each website picks its own after it’s created.":"Templates don’t store images — this slot stays a placeholder. Each website picks its own after it’s created.","Templates don’t store videos — this slot stays a placeholder. Each website picks its own after it’s created.":"Templates don’t store videos — this slot stays a placeholder. Each website picks its own after it’s created.","Templates keep their look. Press Done.":"Templates keep their look. Press Done.",Terminal:"Terminal","Terminal (CLI session)":"Terminal (CLI session)","Terminal lines":"Terminal lines",Testimonials:"Testimonials",Text:"Text","Text & content":"Text & content","Text & media":"Text & media","Text color":"Text color","Text column":"Text column","Text height":"Text height","Text position":"Text position","Text size":"Text size","Text style":"Text style","Text styles":"Text styles",Texts:"Texts",Texture:"Texture","Texture color":"Texture color","Texture opacity":"Texture opacity","Texture style":"Texture style","Thanks — we'll email you to confirm.":"Thanks — we'll email you to confirm.","The chat bubble is hidden across the whole site.":"The chat bubble is hidden across the whole site.","The colour fades into the page colour at the bottom":"The colour fades into the page colour at the bottom","The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.":"The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.","The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.":"The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.","The floating chat bubble shows in the corner of every page.":"The floating chat bubble shows in the corner of every page.","The footer cannot take another one of these":"The footer cannot take another one of these","The footer holds at most 6 sections":"The footer holds at most 6 sections","The header and footer could not load. They are hidden for now and nothing in them is saved. Reload to try again.":"The header and footer could not load. They are hidden for now and nothing in them is saved. Reload to try again.","The header and footer did not save. They are sent again with your next change.":"The header and footer did not save. They are sent again with your next change.","The header and footer were changed somewhere else. Nothing you change in them here is saved. Reload to get the latest.":"The header and footer were changed somewhere else. Nothing you change in them here is saved. Reload to get the latest.","The header cannot take another one of these":"The header cannot take another one of these","The header holds at most 3 sections":"The header holds at most 3 sections","The name was not saved. Try again.":"The name was not saved. Try again.","The newest 30 are kept. Named versions are always kept.":"The newest 30 are kept. Named versions are always kept.","The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.":"The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.","The preview did not open. Try again.":"The preview did not open. Try again.","The room left at the left and right edge of every page.":"The room left at the left and right edge of every page.","The row of the section a reader is in stands out as they scroll.":"The row of the section a reader is in stands out as they scroll.","The section draws {what} here, in every card.":"The section draws {what} here, in every card.","The section it belonged to has been changed or removed.":"The section it belonged to has been changed or removed.","The slide shows your Image while the video loads, because this video has no frame.":"The slide shows your Image while the video loads, because this video has no frame.","The version was not restored. Nothing changed. Try again.":"The version was not restored. Nothing changed. Try again.","The whole website goes back to version {n} as a draft.":"The whole website goes back to version {n} as a draft.","The whole website goes back to version {n} as a draft: {what}.":"The whole website goes back to version {n} as a draft: {what}.","The width bar works for 2 to {count} blocks.":"The width bar works for 2 to {count} blocks.","The width of every section's background.":"The width of every section's background.","The width of every section's content.":"The width of every section's content.","The words are still on your page and nothing has been lost. The editor could not work out which control belongs to them, which is a fault on our side. Go back and click the section to open its settings instead.":"The words are still on your page and nothing has been lost. The editor could not work out which control belongs to them, which is a fault on our side. Go back and click the section to open its settings instead.",Theme:"Theme","Theme Switch":"Theme Switch","Theme {n}":"Theme {n}","Theme {n} background":"Theme {n} background","Theme {n} main color":"Theme {n} main color","Theme {n} muted color":"Theme {n} muted color","Theme {n} surface color":"Theme {n} surface color","Theme {n} text color":"Theme {n} text color","These settings apply to every view.":"These settings apply to every view.","They are saved in Version history as “Draft before restore”, so you can get them back.":"They are saved in Version history as “Draft before restore”, so you can get them back.",Thickness:"Thickness","Third item":"Third item","This cannot be undone.":"This cannot be undone.","This card is not in a section that can share corners.":"This card is not in a section that can share corners.","This color is hard to read on this theme's page. The buttons below are the same hue, darkened.":"This color is hard to read on this theme's page. The buttons below are the same hue, darkened.","This color is hard to read on your page background. Pick one further from it — lighter if your pages are dark, deeper if they are light.":"This color is hard to read on your page background. Pick one further from it — lighter if your pages are dark, deeper if they are light.","This color reads clearly on your pages.":"This color reads clearly on your pages.","This footer uses the old layout":"This footer uses the old layout","This is the only card in the section.":"This is the only card in the section.","This page":"This page","This page has no look of its own to set.":"This page has no look of its own to set.","This page is read-only.":"This page is read-only.","This part is no longer here.":"This part is no longer here.","This part's settings did not open.":"This part's settings did not open.","This site has {n} color theme of its own. Clearing takes them away and puts back the four the shop supplies.":"This site has {n} color theme of its own. Clearing takes them away and puts back the four the shop supplies.","This site has {n} color themes of its own. Clearing takes them away and puts back the four the shop supplies.":"This site has {n} color themes of its own. Clearing takes them away and puts back the four the shop supplies.","This ticker’s hero is no longer on the page.":"This ticker’s hero is no longer on the page.","This video has no frame yet. The slide shows its background colour until one is made.":"This video has no frame yet. The slide shows its background colour until one is made.","This video has no frame yet. The slide shows its image until one is made.":"This video has no frame yet. The slide shows its image until one is made.","This video is on another website, so no frame can be made. The slide shows its background colour while the video loads. Choose Image to show a picture.":"This video is on another website, so no frame can be made. The slide shows its background colour while the video loads. Choose Image to show a picture.","This video starts dark, so no frame was made. The slide shows its background colour while the video loads. Choose Image to show a picture.":"This video starts dark, so no frame was made. The slide shows its background colour while the video loads. Choose Image to show a picture.","This video's file type gives no frame. The slide shows its background colour while the video loads. Choose Image to show a picture.":"This video's file type gives no frame. The slide shows its background colour while the video loads. Choose Image to show a picture.","Three across":"Three across","Three ladder":"Three ladder","Three stagger":"Three stagger","Ticker items":"Ticker items",TikTok:"TikTok","Timeline entries":"Timeline entries","Timezone chip":"Timezone chip",Tint:"Tint","Tint color":"Tint color","Tint opacity":"Tint opacity",Title:"Title","Today, {time}":"Today, {time}",Tone:"Tone",Top:"Top","Top border":"Top border","Top center":"Top center","Top left":"Top left","Top right":"Top right","Top row":"Top row","Top space":"Top space",Total:"Total","Total amount":"Total amount","Total label":"Total label","Total line":"Total line",Track:"Track","Track (year rail)":"Track (year rail)","Trailing note":"Trailing note","Triangle ▼":"Triangle ▼","Trusted by *teams worldwide*":"Trusted by *teams worldwide*","Try again":"Try again","Turns the box. 0° is straight.":"Turns the box. 0° is straight.","Two across":"Two across","Two image galleries with tabs and filters.":"Two image galleries with tabs and filters.","Two tall":"Two tall","Two, then threes":"Two, then threes","Two, then threes · photo":"Two, then threes · photo",Type:"Type","Type a postcode or address":"Type a postcode or address","Typed by hand":"Typed by hand","Typed here":"Typed here","Typed in":"Typed in","Tyre Fitment Form":"Tyre Fitment Form","Tyre Sizes":"Tyre Sizes","URL pill":"URL pill","URL: /{slug}":"URL: /{slug}","Under the header":"Under the header","Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.":"Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.","Under this screen width the blocks stand one under another, with the Phone Gap and Padding.":"Under this screen width the blocks stand one under another, with the Phone Gap and Padding.","Under this screen width the side space narrows and the Phone Padding is used.":"Under this screen width the side space narrows and the Phone Padding is used.",Undo:"Undo","Undo did not work. Nothing changed. Try again.":"Undo did not work. Nothing changed. Try again.",Ungrouped:"Ungrouped",Unit:"Unit","Unit labels":"Unit labels",Unlink:"Unlink",Up:"Up","Up and down":"Up and down",Upcoming:"Upcoming","Update style":"Update style","Update {style}?":"Update {style}?",Upload:"Upload","Upload a background image":"Upload a background image","Upload a poster still":"Upload a poster still","Uppercase heading":"Uppercase heading","Use {colour}":"Use {colour}",Value:"Value","Value suffix":"Value suffix","Version history":"Version history","Version history did not load.":"Version history did not load.","Version {n}":"Version {n}","Version {n} is now your draft":"Version {n} is now your draft",Versions:"Versions","Versus OEM equivalents, across our forged catalog.":"Versus OEM equivalents, across our forged catalog.","Vertical breathing room between sections.":"Vertical breathing room between sections.",Video:"Video","Video 16:9":"Video 16:9","Video file":"Video file","Video frame":"Video frame","Video poster":"Video poster","View all":"View all","View all questions":"View all questions","View series →":"View series →",Volume:"Volume","Ways to pay":"Ways to pay","We accept":"We accept",WeChat:"WeChat",Website:"Website","Website link":"Website link","What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.":"What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.","What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.":"What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.","What each card does when a shopper points at it. Show next image covers the card with this product's photos; a phone shows the card as it is. Rotate turns the wheel picture.":"What each card does when a shopper points at it. Show next image covers the card with this product's photos; a phone shows the card as it is. Rotate turns the wheel picture.","What people *say.*":"What people *say.*","What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.":"What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color.","What this does when a shopper points at it, or taps it on a phone.":"What this does when a shopper points at it, or taps it on a phone.","What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.":"What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.","What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos; a phone shows the picture as it is. Black and white shows it in grey until then.":"What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos; a phone shows the picture as it is. Black and white shows it in grey until then.","What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos; a phone shows the picture as it is. Black and white shows it in grey until then.":"What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos; a phone shows the picture as it is. Black and white shows it in grey until then.","What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.":"What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.","What we count.":"What we count.",WhatsApp:"WhatsApp","When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.":"When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.","When the text does not fit":"When the text does not fit","When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.":"When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.","Where this content is edited.":"Where this content is edited.","Whether this page sits on the site's content column, or runs edge to edge.":"Whether this page sits on the site's content column, or runs edge to edge.","Which of the product's pictures the card shows.":"Which of the product's pictures the card shows.","Whole card":"Whole card","Whole card hides the words under the photo. Picture keeps the words and swatches in view.":"Whole card hides the words under the photo. Picture keeps the words and swatches in view.","Whole number Theme Color":"Whole number Theme Color","Wide (2:1)":"Wide (2:1)","Wide 2:1":"Wide 2:1","Wide promo strip with background image.":"Wide promo strip with background image.",Width:"Width","With us":"With us",Wording:"Wording",Words:"Words","Words first":"Words first","Words space bottom":"Words space bottom","Words space top":"Words space top",Wrap:"Wrap","Write the answer here.":"Write the answer here.","Write the opening paragraph here.\n\n- Start a line with a dash for a bullet.\n- Add as many as you like.":`Write the opening paragraph here.
|
|
9
9
|
|
|
10
10
|
- Start a line with a dash for a bullet.
|
|
11
11
|
- Add as many as you like.`,X:"X","X-Large":"X-Large",Year:"Year","Year →":"Year →",Years:"Years","Years in business":"Years in business",YouTube:"YouTube","YouTube link":"YouTube link","Your *first* section.":"Your *first* section.","Your *second* section.":"Your *second* section.","Your drafts from before the restore are back":"Your drafts from before the restore are back","Your drafts go back to how they were before the restore.":"Your drafts go back to how they were before the restore.","Your fifth question goes here?":"Your fifth question goes here?","Your first question goes here?":"Your first question goes here?","Your fourth question goes here?":"Your fourth question goes here?","Your last changes did not save, so nothing was restored. Try again.":"Your last changes did not save, so nothing was restored. Try again.","Your last changes did not save, so the template was not made. Try again.":"Your last changes did not save, so the template was not made. Try again.","Your live website does not change until you press Publish.":"Your live website does not change until you press Publish.","Your locations as a city gallery plus address and map cards.":"Your locations as a city gallery plus address and map cards.","Your review":"Your review","Your second question goes here?":"Your second question goes here?","Your third question goes here?":"Your third question goes here?","Your unpublished changes are kept":"Your unpublished changes are kept",Zigzag:"Zigzag",Zoom:"Zoom","Zoom in":"Zoom in","Zoom out":"Zoom out",add:"add","all theme colors":"all theme colors",arrangement:"arrangement","body text":"body text",boxes:"boxes",button:"button",card:"card",cities:"cities",city:"city",direction:"direction",draft:"draft","e.g. About":"e.g. About","e.g. Americas":"e.g. Americas","e.g. about":"e.g. about","each block's own spacing":"each block's own spacing",entries:"entries",group:"group","https://youtu.be/…":"https://youtu.be/…",item:"item",label:"label",link:"link",main:"main",manifesto:"manifesto",none:"none","not set":"not set","not shown live":"not shown live",part:"part","plus {n} px (older setting)":"plus {n} px (older setting)",px:"px",tabs:"tabs","the Text style in Styles":"the Text style in Styles","the built-in corners":"the built-in corners","the page":"the page","the same as Desktop":"the same as Desktop","the section":"the section","the theme's image stage":"the theme's image stage","the theme's section background":"the theme's section background","this container's own spacing":"this container's own spacing",upper:"upper",vh:"vh","{day}, {time}":"{day}, {time}","{grade} on the button":"{grade} on the button","{label} hex code":"{label} hex code","{label} {n}":"{label} {n}","{label} — row {n}":"{label} — row {n}","{letter} · Step":"{letter} · Step","{name} (taken down)":"{name} (taken down)","{name} (unavailable)":"{name} (unavailable)","{name} is editing the header and footer. Nothing you change in them here is saved.":"{name} is editing the header and footer. Nothing you change in them here is saved.","{name} is editing {section}. Nothing you change in it here is saved.":"{name} is editing {section}. Nothing you change in it here is saved.","{name} is on this section":"{name} is on this section","{name} — renamed in the Console: {place}.":"{name} — renamed in the Console: {place}.","{n} change":"{n} change","{n} changes":"{n} changes","{n} cities":"{n} cities","{n} city":"{n} city","{n} of {total} layouts":"{n} of {total} layouts","{n} page":"{n} page","{n} pages":"{n} pages","{n} picture in this version was deleted from the media library. It stays empty.":"{n} picture in this version was deleted from the media library. It stays empty.","{n} pictures in this version were deleted from the media library. They stay empty.":"{n} pictures in this version were deleted from the media library. They stay empty.","{page} from version {n} is now your draft":"{page} from version {n} is now your draft","{page} goes back to version {n} as a draft. Nothing else on your website changes.":"{page} goes back to version {n} as a draft. Nothing else on your website changes.","{section} could not load. It stays on the page as it was. Reload to try again.":"{section} could not load. It stays on the page as it was. Reload to try again.","{section} did not save. It is sent again with your next change.":"{section} did not save. It is sent again with your next change.","{section} was changed somewhere else. Nothing you change in it here is saved. Reload to get the latest.":"{section} was changed somewhere else. Nothing you change in it here is saved. Reload to get the latest.","{value} from {from}":"{value} from {from}","{value} on desktop":"{value} on desktop","{value} on tablet":"{value} on tablet","{what} settings belong to a website.":"{what} settings belong to a website.","— Articles in total":"— Articles in total","— Label":"— Label","— Name, Year":"— Name, Year"};export{e as WEB_BUILDER_WORDS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={"Tint opacity":"Tint opacity",cellWidth:"Cell width",rowsFirstImageLeft:"Rows, first image on the left",rowsFirstImageRight:"Rows, first image on the right",relatedProducts:"Related Products",bundleProducts:"Bundle Products",documentHeader:"Document Header",documentHeaderBlurb:"A document header — headline, metadata and standfirst.",shrinkToFit:"Shrink to fit",dividerPhoneHide:"Hide",tyreFitmentForm:"Tyre Fitment Form",tabbedGallery:"Tabbed Gallery",customerPhotoGrid:"Customer Photo Grid",footprintTypedIn:"Typed in",locationsSearchShow:"Show",customerPhotoGridBlurb:"Customer photos in a card grid with a click-to-open lightbox.",cardHoverHint:"What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.",nextPictureHoverHint:"What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.",renderings:"Renderings",documentTabs:"Document Tabs",documentTabsBlurb:"A sticky tab bar to switch between documents.",categoryBar:"Category Bar","Add a page":"Add a page","Give the new template page a name. It starts blank — add sections once it opens.":"Give the new template page a name. It starts blank — add sections once it opens.","Page name":"Page name","URL: /{slug}":"URL: /{slug}","e.g. About":"e.g. About","Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.":"Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width."};export{e as KEPT_EDITOR_PHRASES};
|
|
1
|
+
const e={"Tint opacity":"Tint opacity",cellWidth:"Cell width",rowsFirstImageLeft:"Rows, first image on the left",rowsFirstImageRight:"Rows, first image on the right",relatedProducts:"Related Products",bundleProducts:"Bundle Products",documentHeader:"Document Header",documentHeaderBlurb:"A document header — headline, metadata and standfirst.",shrinkToFit:"Shrink to fit",dividerPhoneHide:"Hide",tyreFitmentForm:"Tyre Fitment Form",tabbedGallery:"Tabbed Gallery",customerPhotoGrid:"Customer Photo Grid",footprintTypedIn:"Typed in",locationsSearchShow:"Show",customerPhotoGridBlurb:"Customer photos in a card grid with a click-to-open lightbox.",cardHoverHint:"What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.",nextPictureHoverHint:"What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.",renderings:"Renderings",documentTabs:"Document Tabs",documentTabsBlurb:"A sticky tab bar to switch between documents.",categoryBar:"Category Bar","Add a page":"Add a page","Give the new template page a name. It starts blank — add sections once it opens.":"Give the new template page a name. It starts blank — add sections once it opens.","Page name":"Page name","URL: /{slug}":"URL: /{slug}","e.g. About":"e.g. About","Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.":"Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width.","What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.":"What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture."};export{e as KEPT_EDITOR_PHRASES};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Fragment as P,jsx as e,jsxs as L}from"react/jsx-runtime";import{useContext as Rr,useId as Ar,useState as Pr}from"react";import Lr from"./BoxTabs.js";import{AccordionRowStyleContext as so,BoxAnchorContext as $r,BoxTabPaneContext as no,copyAnchorOf as yr,useAccordionRowStyle as Nr,useBoxPaneKind as Er,useCopyAnchors as kr,useFirstCopyOpens as Ir,useIsTabPane as Br}from"./BoxTabPaneContext.js";import gr,{ACCORDION_COUNTER_RESET as Tr}from"./BoxAccordionRow.js";import{readAnchorName as Fr}from"../../format/lib/content/anchor-name.js";import{ACCORDION_MARK_SHEET as Hr}from"./AccordionMark.js";import{EDGE_LINE_ATTRS as Dr}from"../../format/lib/content/view-lines.js";import{accordionRowStyleOf as Vr}from"../../format/lib/content/accordion-row-style.js";import{boxPhoneCell as Mr,boxPhoneOrder as Wr}from"../../format/lib/content/box-phone-place.js";import{CellFillContext as gs,InBoxContext as Ts,useCellOfStretchedRow as Gr,useFillsCell as Xr}from"./InBoxContext.js";import jr,{InsideSiteColumn as Fs,useInsideSiteGutter as Kr,useSectionRoot as Ur}from"./SiteGutterFrame.js";import{BoxSurfaceProvider as zr}from"./BoxSurfaceContext.js";import Yr from"./PictureWash.js";import{BoxCellContext as Hs,NoCellBound as Jr}from"./BoxCellContext.js";import{boxCellFractions as Zr}from"../lib/content/box-cell-bound.js";import{boundOf as qr}from"../../format/lib/content/cell-picture-sizes.js";import{useInSiteHeader as Qr}from"./PhoneMenuTools.js";import{useCardRow as et}from"./CardRowContext.js";import{cardLineBetween as ro,framesItsCards as ot}from"../../format/lib/content/card-place.js";import{rowLinkText as st}from"../../format/lib/content/card-template.js";import{HandedMirrorContext as nt,MirrorContext as rt,RowHandContext as Ds,boxPlace as tt,useHandedMirrorAbove as lt,useHandedRows as it,useMirroredCopy as ct,useUnderCardBox as at}from"./MirrorContext.js";import{boxChildrenHand as dt,isMirroredCopy as ut,mirrorCardsActs as Vs,mirrorCardsOf as mt,mirroredBoxClass as ft,MIRROR_ROW_CLASS as ht,ownsCard as Ct}from"../../format/lib/content/mirror-cards.js";import{FRAME_BASE as to,frameGutterOf as bt}from"./BlockFrame.js";import{BOX_SIDE_SPACE_NONE as St,boxSideSpaceOf as pt}from"../../format/lib/content/box-side-space.js";import{containerGapProps as Ms}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as wt,boxAlignViewClasses as xt,boxBlockSpacingClass as _t,boxBlockSpacingViewClasses as vt,boxJustifyViewClasses as Ot,boxWrapTabletClass as Rt,boxFitContentClass as At,boxAccordionColumnsClass as Ws,boxRowColumnsClass as Pt,boxRowTabletColumnsClass as Lt,boxRowTabletShareClass as $t,boxPhoneCellsShareLine as yt,boxPhoneRowClasses as ie,boxPhoneRowFits as Gs,boxShareClasses as $,boxShareVars as Nt,boxWrapClass as Et,BOX_GAP_ONLY_CLASS as kt}from"../../format/lib/content/box-layout.js";import{boxSeparatorClasses as It,boxSeparatorSeamClass as Bt,boxSeparatorStyle as gt,isStripBox as Tt}from"../../format/lib/content/box-separator.js";import{DEFAULT_LOOP_DELAY as Ft,DEFAULT_LOOP_DIRECTION as Ht,DEFAULT_LOOP_SECONDS as Dt,isVerticalLoop as Vt}from"../../format/lib/animation/index.js";import{LoopTrack as Mt}from"../lib/animation/LoopTrack.js";import{BOX_CARD_PAD as y,BOX_OWNS_SIDES_CLASS as Wt,boxDarkenStyle as Xs,boxPaintOf as Gt,boxFillFadeStyle as Xt,boxFillViews as jt,boxPlacementClasses as Kt,boxCardProps as Ut,boxIsCard as js,boxRowPicture as zt,boxSwatchFill as Yt,boxWashViews as Jt,CARD_NO_LIFT_CLASS as Zt,CARD_SHADOW_CLASS as qt,isBackgroundBox as _e}from"../../format/lib/content/box-background.js";import{BOX_ROW_IMAGE_PROP as x}from"../../format/lib/content/box-card-rule.js";import{boxShadowAttrs as Qt,boxShadowOnAnyView as el,boxShadowViewAttrs as ol}from"../../format/lib/content/box-shadow.js";import{boxRunsEdgeToEdge as sl,drawsSiteGutter as nl}from"../../format/lib/content/site-gutter.js";import{boxShapeClass as rl,boxShapeClasses as tl,boxShapeStyle as ll}from"../../format/lib/content/box-shape.js";import{boxAngleStyle as il}from"../../format/lib/content/box-angle.js";import{BOX_JUMP_ATTR as cl,BOX_LINK_ATTR as Ks,BOX_LINK_CLASS as Us,BOX_LINKED_CLASS as al,boxJumpBlocksClass as dl,boxJumpCss as ul,boxJumpSlug as ml,boxLinkOf as fl,siteLinkDraws as hl}from"../../format/lib/content/box-link.js";import{SiteLink as Cl}from"../lib/site-runtime.js";import{sectionBorderStyle as zs}from"../../format/lib/content/borders.js";import{finiteNumber as ve}from"../../format/lib/finite-number.js";import{padDefaultIn as N,padSideValue as Oe,sectionPadAttrs as bl}from"../lib/content/section-padding.js";import{SECTION_FILL_CLASS as Re}from"../../format/lib/content/section-min-height.js";import{ON_MEDIA_INK_STYLE as Sl,rowFillInkStyle as pl}from"../../format/lib/content/ink.js";import{useThemeLightInk as wl}from"./ThemeLightInkContext.js";import{sizedBackground as lo}from"../../format/lib/sized-image.js";import{BOX_REVEAL_CLASS as xl,BOX_REVEAL_CSS as _l,BOX_REVEAL_SHEET as vl,PHOTO_HOST_ATTR as Ol,resolveImageTreatment as Rl}from"../../format/lib/content/image-treatment.js";import Al,{HoverArrowsSlot as Pl,HoverMediaArrows as Ll}from"./HoverMediaLayer.js";import{HOVER_ARROWS_HOST_ATTR as $l,HOVER_ARROWS_HOST_CLASS as yl,HOVER_LAYER_GROUND as Nl,cardRowHoverMedia as El,hoverLayerName as kl}from"../../format/lib/content/hover-media.js";import{BOX_HIGHLIGHT_CLASS as Il,BOX_HIGHLIGHT_OVER_ROW_INK_CLASS as Bl,BOX_SHOW_ON_CARD_HOVER as gl}from"../../format/lib/animation/hover.js";import{BoxRail as Tl,BoxRailStop as Fl,RAIL_STOPS_CLASS as Hl,useTimelineRail as Dl}from"./TimelineRail.js";import{SHARED_PLAIN_ATTR as Vl,sharedColumnsClasses as Ml,sharedColumnsCss as Wl,sharedRowsClasses as Gl,sharedRowsCss as Xl}from"../lib/content/box-shared-columns.js";import Ys from"./PhotoHoverSheet.js";import{PICTURE_FRAME_ONLY as jl,PictureHoverMoveSheet as Kl,PictureHoverZoom as Ul,pictureHoverMoveOf as zl}from"./PictureHoverMove.js";import{BOX_DESKTOP_LINE as Yl,stackGutterClass as Jl,stackLineCss as Zl,stackOuterClass as ql,stackRowClass as Ql,storedStackLine as io}from"../lib/content/box-stack-line.js";import{partAttr as co}from"../../format/lib/content/part-names.js";import{withSideOnce as Js}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as ei}from"./SideSpaceOnce.js";const ao={"--sf-site-gutter":"0px"},oi={overflowX:"clip",overflowY:"visible"},si={stretchedRow:!1,fillingColumn:!1,columnsRow:!1},Zs={desktop:!1,phone:!1},qs="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-view-wide:bg-[image:var(--sf-box-bg-p)]",uo=m=>m==null||m==="",mo=m=>!uo(m)&&Number(m)===0;function ni({children:m}){return e(P,{children:m(Ar())})}function ri({direction:m,label:Qs,tabShape:en,gap:fo,gapPhone:on,gapTablet:Ae,justify:z,align:E,wrap:ce,share:sn,sharePhone:F,shareTablet:H,wrapPhone:nn,orderPhone:rn,phoneRow:C,columns:f,columnsTablet:D,separator:h,stackBelow:ae,blockSpacing:ho,bgImage:tn,bgImagePhone:ln,rowImage:cn,hoverShow:an,pictureHover:V,darken:Pe,darkenStyle:de,darkenTablet:dn,darkenPhone:un,darkenStyleTablet:mn,darkenStylePhone:fn,placement:hn,padV2:Co=!1,border:Cn,borderTablet:bn,borderPhone:Sn,borderUnits:bo,pad:t={},contained:Le=!0,fillHeight:_=!1,shadow:$e,shadowTablet:So,shadowPhone:po,justifyTablet:wo,justifyPhone:pn,alignTablet:wn,alignPhone:xn,wrapTablet:xo,blockSpacingTablet:_n,blockSpacingPhone:vn,loop:b,scrollDirection:ye=Ht,loopSeconds:On=Dt,loopDelay:Rn=Ft,editing:k=!1,fillColor:_o,fillColorTablet:An,fillColorPhone:Pn,fillFade:Ln,swatch:$n,line:v,upcoming:yn,link:Nn,rowLink:vo,highlight:En,boxShape:Ne,boxShapePhone:Oo,boxShapeTablet:Ro,angle:kn,jumpHighlight:In,anchor:Ao,sharedSides:Bn=Zs,sharedRows:gn=!1,boxId:M,slotCount:Tn,mirrorCards:Po,content:c,rowTitle:Ee,startsOpen:Fn,rowStyle:Hn,sideSpace:Dn}){const n=et(),I=Ut({[x]:cn},n!==null)[x],Lo=js({[x]:I}),d=Lo?Zs:Bn,Vn=Lo?!1:gn,$o=zt({[x]:I},n?.row),S=$o??tn,ke=$o===null?ln:void 0,yo=Rr(Hs),[No,Mn]=Pr(null),Wn=lt(),Eo=at()&&!(Wn&&n!==null),O=it(),u=Ct({inCopy:n!==null,nestedCopy:n?.nested===!0,underBox:Eo}),Ie=an===gl&&n!==null&&!u&&!(k&&n.previewHover===!0),ko=ro(Cn,n,u),Io=ro(bn,n,u),Bo=ro(Sn,n,u),go=n===null&&!Eo&&O?.ids&&M?O.ids.indexOf(M):-1,ue=go>=0&&O&&M?tt(O,M,go):-1,p=ue>=0?O?.hand??null:u&&O?.copies===!0?O.hand:null,o=p?.row?"row":m,a=p?.row?p.row.share:sn,Gn=p?.row?p.row.phoneReverse?[...c.blockIds??[]].reverse():void 0:rn,me=Vn&&!p?.row,W=k?"":vo&&n?st(n.row,vo)??"":fl(Nn),R=_?"":tl(Ne,Oo,Ro),Xn=!_&&rl(Ne)!=="",B=ml(In,Ao),Be=Yt({swatch:$n},n?.row),Y=Be??Gt(_o),g=Be?{className:"",style:{}}:jt(_o,An,Pn),jn=wl(),To=pl(Be,jn??void 0),Kn=_e(S)||_e(ke),Un=(Y||g.className)&&!Kn?Xt(Ln):null,Fo=Y||g.className?{...Y?{backgroundColor:Y}:{},...g.style,...Un,...To}:void 0,Ho=Dl(),J=v===!0&&o!=="tabs"&&o!=="accordion",r=js({bgImage:S,[x]:I}),Do=il(kn),Vo=r?void 0:Fo,fe=r?null:En??null,Mo=_?null:ll(Ne,Oo,Ro),zn=Do||fe||Mo?{...Vo,...Do,...fe,...Mo}:Vo,he=Qr(),Yn=Ur(),Jn=Br(),Wo=Er(),Go=Nr(),Zn=Ir(),qn=kr(),l=o==="accordion",ge=Vr(Hn),Z=l&&ge==="numbered",Te=l&&ge==="chevron",Fe=Xr(),Xo=Gr(),G=Tt(o,h),i=b==="scroll"&&o!=="tabs"&&!l,Qn=ct(),Ce=u||ue>=0&&p!==null,jo=p?p.mirror:Po,er=ue>=0?ue:n?.index,q=u&&ot(n?.ownerType),Ko=Vs({direction:o,separator:h,loop:b,line:v,bgImage:S,[x]:I,columns:f,columnsTablet:D,share:a,wrap:ce},Ce,d.desktop)&&ut(jo,er),or=Vs({direction:o,separator:h,loop:b,line:v,bgImage:S,[x]:I,columns:f,columnsTablet:D,share:a,wrap:ce},Ce,d.desktop)&&mt(jo)!==null,X=Pt({direction:o,separator:h,loop:b,line:v,columns:f}),T=Lt({direction:o,separator:h,loop:b,line:v,columnsTablet:D}),Q=$t({direction:o,separator:h,loop:b,line:v,columns:f,columnsTablet:D,share:a,shareTablet:H}),be=pt(Dn),He=be!=="box",De=bt(be),Uo=ei(),zo=J&&io(ae)===Yl,j=o==="row"&&!r&&!G&&!i&&(!J||zo)&&T===""&&Q===""?io(ae):void 0,K=j??(o==="column"&&!r?io(ae):void 0),sr=Kr(),Se=Ml(d,c.blockCount??0,j),nr=(Se&&(!n||n.index===0)?Wl(d,c.blockCount??0,j):"")+(me&&(!n||n.index===0)?Xl(me,c.blockCount??0):""),Yo=Gl(me,c.blockCount??0),Jo=T!==""?Number(D)>=2:Q===""||$(H)!=="",Zo=T!==""||Q!=="",Ve=o==="row"&&!G&&!i&&v!==!0,Me=Ve&&!d.phone&&!d.desktop?Mr(Wr(Gn,c.blockIds??[]),{editing:k}):void 0,qo=Me!==void 0&&!k,rr=X!==""?Number(f)>=2:$(a)!=="",Qo=!r&&!l&&!or&&!d.desktop&&!d.phone,pe=Qo&&!i?Ot(z,wo,pn):"",We=r||Ce?"":ft(Qn,o,i?void 0:z,E,pe?wo:void 0),tr=/view-wide:max-view-desktop:justify-/.test(We)?pe.split(" ").filter(s=>!s.startsWith("view-wide:max-view-desktop:justify-")).join(" "):pe,lr=Qo&&o==="row"?xt(E,wn,xn):"",es=Xo&&o==="column"&&!r&&!i&&!l,Ge=typeof z=="string"&&z!=="start"||pe!=="",os=es&&Ge&&$(a)!=="",ss=es&&!Ge&&$(a)!==""&&(c.blockCount??0)===1,ir=!i&&!l&&X===""&&T===""&&!d.desktop?Rt(ce,xo):"",ns=[l||os?"":$(a),o==="row"?At(a):"",X,T,Q,_t(l?"gap":ho),It(o,h),l&&!Z&&!Te?"border-t border-line":"",tr,lr,ir,l?"":vt(ho,_n,vn),l?Ws(f,C,Z||Te):"",Z?Tr:""].filter(Boolean).join(" "),cr=ns?` ${ns}`:"",rs=["flex",o==="row"?G||i?"flex-row":`flex-row ${ie(C,F,nn,xo)}`:"flex-col",Et(i||l?!1:ce),r?Kt(hn??"center",o):wt(i||l?void 0:z,l?void 0:E)+(We?` ${We}`:"")].join(" ")+cr,ee=_||r||R||Fe?` ${Re}`:"",Xe=Xn?` ${R}`:R?`${ee} ${R}`:ee,ts=Xo&&o==="column"&&!r&&!i&&$(a)===""&&Ge||os,ls=ee||(ts||ss?` ${Re}`:""),je=W?` ${al}`:"",Ke=r||he||Co?"":" py-6",ar=j===void 0?"":` ${Ql(j)}`,is=K===void 0||He?"":` ${Jl(K)}`,Ue=K===void 0?"":` ${ql(K)}`,dr=`${to}${Ke} ${De}${Xe}${je}${is}${Ue}`,ur=he?`${Xe}${je}${Ue}`.trim():`w-full${Ke}${Xe}${je}${Ue}`,oe=(Z||Te)&&Ws(f,C)===""?Ms("Flex",0,"block"):Ms("Flex",fo,o==="row"?"inline":"block",on,G||i?void 0:Ae),cs=Nt(a,H,o==="row"?c.blockCount??0:0),as=G?{...oe.style,...gt(o,h)}:oe.style,mr=cs?{...as,...cs}:as,ze=(s="")=>e(c,{className:`${rs}${Ko?` ${ht}`:""}${oe.className}${ls}${ar}${s?` ${s}`:""}${J?` ${Hl}`:""}${B?` ${dl(B)}`:""}${Se}${Yo}`,style:mr,minEmptyHeight:120,...Me?{cell:Me}:null}),ds=Vt(ye)?"":Bt(o,h),us=i?e(Mt,{direction:ye,seconds:On,delay:Rn,editing:k,copy:s=>ze(s&&ds?`${s} ${ds}`:s)}):Z?L(P,{children:[e("style",{children:Hr}),ze()]}):ze(),Ye=o==="tabs"?e(Lr,{className:`${rs}${oe.className}${Fe&&!_&&!r&&!R?"":ee}`,style:oe.style,shape:en,children:us}):us,Je=l?e(no.Provider,{value:"accordion",children:e(so.Provider,{value:ge,children:Ye})}):Wo?e(no.Provider,{value:!1,children:e(so.Provider,{value:"plain",children:Ye})}):Ye,ms=o==="row"&&!r&&(E===void 0||E==="stretch"),fr={stretchedRow:ms,fillingColumn:o==="column"&&(Fe||ts),columnsRow:X!==""||T!==""||Se!==""||Yo!==""||o==="row"&&(Array.isArray(a)||Array.isArray(H))||qo,...qo?{phoneCells:!0}:null,...ms&&Ve&&(c.blockCount??0)>=2&&rr||ss?{picturesFillRow:!0}:null,...Zo&&!Jo?{fillFrom:"desktop"}:null,...yt(C,F)&&(!Zo||Jo)?{phoneRowFills:!0}:null,...Ve&&Gs(C,F)?{phoneRowFits:!0}:null,...i?{loops:!0}:null,...M?{id:M}:null},fs=n===null?dt({direction:o,loop:b,bgImage:S,[x]:I,columns:f,mirrorCards:Po},!1):null,hs=fs?e(Ds.Provider,{value:{hand:fs,ids:c.blockIds??[],boxes:[]},children:Je}):O?e(Ds.Provider,{value:null,children:Je}):Je,Cs=Fr(Ao),bs=e(Ts.Provider,{value:fr,children:e(gs.Provider,{value:!1,children:Ce?e(rt.Provider,{value:Ko,children:e(nt.Provider,{value:!u,children:hs})}):hs})}),Ss=Cs?e($r.Provider,{value:Cs,children:bs}):bs,hr=Ee?.blockCount??0,ps=Wo==="accordion"&&!!Ee&&(k||hr>0)?e(gr,{startsOpen:Fn===!0||Zn&&u&&n?.index===0,editing:k,numbered:Go==="numbered",chevron:Go==="chevron",anchor:u?yr(qn,n):void 0,title:e(Ts.Provider,{value:si,children:e(gs.Provider,{value:!1,children:e(no.Provider,{value:!1,children:e(so.Provider,{value:"plain",children:e(Ee,{className:`min-w-0 flex-1 ${kt}`,minEmptyHeight:24})})})})}),children:Ss}):Ss,Ze=J?e(Tl,{row:o==="row",stops:c.blockCount??0,desktopLine:j!==void 0&&zo,children:ps}):ps,Cr=Qs?.trim()||(Jn?"":void 0),br={values:t,frame:Ke?24:0},Sr=s=>Ho?e(Fl,{on:Ho,future:yn===!0,children:s}):s,pr=s=>hl(W)?e(Cl,{href:W,newTab:"auto",className:Us,"aria-labelledby":s,[Ks]:""}):e("a",{href:W,className:Us,"aria-labelledby":s,[Ks]:""}),ws=(B?ul(B):"")+nr+(K===void 0||n&&n.index!==0?"":Zl(K,{gutter:!He})),xs=ws?e("style",{dangerouslySetInnerHTML:{__html:ws}}):null,se=sl({loop:b,direction:o,scrollDirection:ye,bgImage:S,[x]:I}),wr=d.desktop&&Se!==""&&!Y&&!g.className&&!zs(ko,Bo,Io,bo)&&!el($e,So,po)&&!W&&!R&&!_&&!B&&!nl(Le&&!se,sr)&&mo(fo)&&(uo(Ae)||mo(Ae))&&Co&&Object.values(t).every(s=>uo(s)||mo(s)),xr=s=>({...Dr,...wr?{[Vl]:""}:null,...r?null:{...Qt($e),...ol($e,So,po)},...B?{[cl]:B}:null,...s?{id:s}:null}),_s=X!==""?Number(f):0,_r=ie(C,F)===ie(void 0),vr=(o==="column"||o==="row"&&!G&&!i&&(_s===1&&_r||_s===0&&c.blockCount===1))&&!r&&!J&&!he,vs=r&&Yn&&!he,we=!r&&n!==null?Xs(Pe,de):null,Os=Ie||we?L(P,{children:[Ie?e(Ys,{sheet:_l,name:vl}):null,we?e("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit]",style:we}):null]}):null,Rs=[Ie?xl:"",we?"relative isolate":""].filter(Boolean).join(" "),As=s=>Os?L(P,{children:[Os,s]}):s,Ps=(s,A)=>Sr(e(jr,{contained:Le&&!se,style:se?ao:void 0,framedClass:dr,fillClass:ur,columnClass:`${to} ${De}${ls}${is}`,tabLabel:Cr,pad:r?void 0:br,border:zs(ko,Bo,Io,bo),outerAttrs:xr(A),box:!0,edge:vr&&be!==St,outerStyle:zn,outerClass:r?Rs||void 0:[g.className,fe?Il:"",fe&&To?Bl:"",Rs].filter(Boolean).join(" ")||void 0,bleed:vs,siteSide:He,part:co("box"),children:xs||A?L(P,{children:[xs,A?pr(A):null,se?e(Fs,{children:s}):s]}):se?e(Fs,{children:s}):s})),qe=s=>W?e(ni,{children:A=>Ps(As(s),A)}):Ps(As(s)),Ls=s=>yo.bound?e(Jr,{children:s}):s;if(!r){const s=E===void 0||E==="stretch",A=($(a)!==""||X!==""||T!=="")&&!Gs(C,F)&&!(Q!==""&&$(H)==="")&&(s||ie(C)!==ie(void 0));if(!(o==="row"?A:o==="column"&&s))return qe(Ls(Ze));const Bs=Zr({direction:o,separator:h,loop:b,line:v,share:a,shareTablet:H,sharePhone:F,phoneRow:C,columns:f,columnsTablet:D,stackBelow:ae,shared:d.desktop||d.phone||me,count:Tn}),Or={hasWidth:!0,...Bs?{bound:qr(Bs,yo.bound)}:null};return qe(e(Hs.Provider,{value:Or,children:Ze}))}const ne=_e(S),re=ne?Xs(Pe,de):null,xe=ne?Jt({darken:Pe,darkenStyle:de,darkenTablet:dn,darkenStyleTablet:mn,darkenPhone:un,darkenStylePhone:fn}):{className:"",style:{}},Qe=_e(ke),$s=ne?Qe?{"--sf-box-bg":lo(S??""),"--sf-box-bg-p":lo(ke??"")}:{backgroundImage:lo(S??""),backgroundSize:"cover",backgroundPosition:"center"}:{},ys=Rl(void 0,void 0,V),U=ys.className?ys:null,te=ne&&n&&V?.kind==="nextImage"&&V.media?El(n,V.media):null,w=ne?zl(V,de)??(te?jl:null):null,Ns=V?.media?.cover??"picture",eo=te?e("div",{className:`absolute inset-0 isolate${q?" rounded-[inherit]":""}`,children:e(Pl.Provider,{value:Mn,children:e(Al,{media:te,name:kl(n?.row),cover:Ns,ground:Nl[Ns],arrowsAbove:!0})})}):null,le=U!==null||!!w?.zoom,Es=le?e("div",{"aria-hidden":!0,className:`absolute inset-0${q?" rounded-[inherit]":""}${Qe?` ${qs}`:""}${U?` ${U.className}`:""}`,style:{...$s,...U?.style??{}}}):null,oo=bl({...t,top:ve(t.top)??N(y.desktop,t.unit,"desktop"),bottom:ve(t.bottom)??N(y.desktop,t.unit,"desktop"),topPhone:ve(t.topPhone)??N(y.phone,t.unitPhone,"mobile"),bottomPhone:ve(t.bottomPhone)??N(y.phone,t.unitPhone,"mobile"),left:Oe(t.left)??N(y.side,t.unit,"desktop"),right:Oe(t.right)??N(y.side,t.unit,"desktop"),leftPhone:Oe(t.leftPhone)??N(y.sidePhone,t.unitPhone,"mobile"),rightPhone:Oe(t.rightPhone)??N(y.sidePhone,t.unitPhone,"mobile"),sideSpace:be}),ks=e("div",{className:`relative z-[1] ${Wt} ${Js(oo?.className??"",Uo)}${_||R?` ${Re}`:""}`.trimEnd(),style:re?{...oo?.style,...ao,...Sl}:{...oo?.style,...ao},...co("card-content"),children:Ls(Ze)}),Is=vs&&Le?e("div",{className:Js(`${to} ${De}${_||R?` ${Re}`:""}`,Uo),children:ks}):ks;return qe(e(P,{children:L("div",{className:`relative isolate overflow-hidden ${qt}${n!==null&&!u?` ${Zt}`:""}${ee}${Qe&&!le?` ${qs}`:""}${g.className?` ${g.className}`:""}${w?` ${w.className}`:""}`,style:{...q?oi:{},...Fo,...le?{}:$s,...w?w.style:{}},...U||te?{[Ol]:""}:{},...co("card"),children:[e(Kl,{move:w}),le&&L(P,{children:[e(Ys,{sheet:U?.sheet}),w?.zoom?e("div",{className:`absolute inset-0 overflow-hidden${q?" rounded-[inherit]":""}`,children:L(Ul,{move:w,className:"absolute inset-0",children:[Es,eo]})}):L(P,{children:[Es,eo]})]}),!le&&eo,e(Yr,{wash:re&&xe.className?{...re,...xe.style}:re,hover:w?.washHover,...q?{className:"rounded-[inherit]"}:{},...xe.className?{restClassName:xe.className}:{}}),re?e(zr,{children:Is}):Is,te?e("div",{[$l]:"",className:yl,children:No?e(Ll,{state:No}):null}):null]})}))}export{ri as default};
|
|
1
|
+
import{Fragment as A,jsx as e,jsxs as $}from"react/jsx-runtime";import{useContext as vt,useId as Ot}from"react";import Pt from"./BoxTabs.js";import{AccordionRowStyleContext as so,BoxAnchorContext as Rt,BoxTabPaneContext as no,copyAnchorOf as At,useAccordionRowStyle as $t,useBoxPaneKind as Lt,useCopyAnchors as yt,useFirstCopyOpens as Nt,useIsTabPane as Et}from"./BoxTabPaneContext.js";import kt,{ACCORDION_COUNTER_RESET as It}from"./BoxAccordionRow.js";import{readAnchorName as Bt}from"../../format/lib/content/anchor-name.js";import{ACCORDION_MARK_SHEET as gt}from"./AccordionMark.js";import{EDGE_LINE_ATTRS as Tt}from"../../format/lib/content/view-lines.js";import{accordionRowStyleOf as Ft}from"../../format/lib/content/accordion-row-style.js";import{boxPhoneCell as Dt,boxPhoneOrder as Ht}from"../../format/lib/content/box-phone-place.js";import{CellFillContext as Bs,InBoxContext as gs,useCellOfStretchedRow as Vt,useFillsCell as Mt}from"./InBoxContext.js";import Gt,{InsideSiteColumn as Ts,useInsideSiteGutter as Xt,useSectionRoot as Wt}from"./SiteGutterFrame.js";import{BoxSurfaceProvider as jt}from"./BoxSurfaceContext.js";import Kt from"./PictureWash.js";import{BoxCellContext as Fs,NoCellBound as Ut}from"./BoxCellContext.js";import{boxCellFractions as zt}from"../lib/content/box-cell-bound.js";import{boundOf as Yt}from"../../format/lib/content/cell-picture-sizes.js";import{useInSiteHeader as Jt}from"./PhoneMenuTools.js";import{useCardRow as Zt}from"./CardRowContext.js";import{cardLineBetween as to,framesItsCards as qt}from"../../format/lib/content/card-place.js";import{rowLinkText as Qt}from"../../format/lib/content/card-template.js";import{HandedMirrorContext as er,MirrorContext as or,RowHandContext as Ds,boxPlace as sr,useHandedMirrorAbove as nr,useHandedRows as tr,useMirroredCopy as rr,useUnderCardBox as lr}from"./MirrorContext.js";import{boxChildrenHand as ir,isMirroredCopy as cr,mirrorCardsActs as Hs,mirrorCardsOf as ar,mirroredBoxClass as dr,MIRROR_ROW_CLASS as ur,ownsCard as mr}from"../../format/lib/content/mirror-cards.js";import{FRAME_BASE as ro,frameGutterOf as fr}from"./BlockFrame.js";import{BOX_SIDE_SPACE_NONE as hr,boxSideSpaceOf as Cr}from"../../format/lib/content/box-side-space.js";import{containerGapProps as Vs}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as br,boxAlignViewClasses as pr,boxBlockSpacingClass as Sr,boxBlockSpacingViewClasses as wr,boxJustifyViewClasses as xr,boxWrapTabletClass as _r,boxFitContentClass as vr,boxAccordionColumnsClass as Ms,boxRowColumnsClass as Or,boxRowTabletColumnsClass as Pr,boxRowTabletShareClass as Rr,boxPhoneCellsShareLine as Ar,boxPhoneRowClasses as le,boxPhoneRowFits as Gs,boxShareClasses as L,boxShareVars as $r,boxWrapClass as Lr,BOX_GAP_ONLY_CLASS as yr}from"../../format/lib/content/box-layout.js";import{boxSeparatorClasses as Nr,boxSeparatorSeamClass as Er,boxSeparatorStyle as kr,isStripBox as Ir}from"../../format/lib/content/box-separator.js";import{DEFAULT_LOOP_DELAY as Br,DEFAULT_LOOP_DIRECTION as gr,DEFAULT_LOOP_SECONDS as Tr,isVerticalLoop as Fr}from"../../format/lib/animation/index.js";import{LoopTrack as Dr}from"../lib/animation/LoopTrack.js";import{BOX_CARD_PAD as y,BOX_OWNS_SIDES_CLASS as Hr,boxDarkenStyle as Xs,boxPaintOf as Vr,boxFillFadeStyle as Mr,boxFillViews as Gr,boxPlacementClasses as Xr,boxCardProps as Wr,boxIsCard as Ws,boxRowPicture as jr,boxSwatchFill as Kr,boxWashViews as Ur,CARD_NO_LIFT_CLASS as zr,CARD_SHADOW_CLASS as Yr,isBackgroundBox as _e}from"../../format/lib/content/box-background.js";import{BOX_ROW_IMAGE_PROP as x}from"../../format/lib/content/box-card-rule.js";import{boxShadowAttrs as Jr,boxShadowOnAnyView as Zr,boxShadowViewAttrs as qr}from"../../format/lib/content/box-shadow.js";import{boxRunsEdgeToEdge as Qr,drawsSiteGutter as el}from"../../format/lib/content/site-gutter.js";import{boxShapeClass as ol,boxShapeClasses as sl,boxShapeStyle as nl}from"../../format/lib/content/box-shape.js";import{boxAngleStyle as tl}from"../../format/lib/content/box-angle.js";import{BOX_JUMP_ATTR as rl,BOX_LINK_ATTR as js,BOX_LINK_CLASS as Ks,BOX_LINKED_CLASS as ll,boxJumpBlocksClass as il,boxJumpCss as cl,boxJumpSlug as al,boxLinkOf as dl,siteLinkDraws as ul}from"../../format/lib/content/box-link.js";import{SiteLink as ml}from"../lib/site-runtime.js";import{sectionBorderStyle as Us}from"../../format/lib/content/borders.js";import{finiteNumber as ve}from"../../format/lib/finite-number.js";import{padDefaultIn as N,padSideValue as Oe,sectionPadAttrs as fl}from"../lib/content/section-padding.js";import{SECTION_FILL_CLASS as Pe}from"../../format/lib/content/section-min-height.js";import{ON_MEDIA_INK_STYLE as hl,rowFillInkStyle as Cl}from"../../format/lib/content/ink.js";import{useThemeLightInk as bl}from"./ThemeLightInkContext.js";import{sizedBackground as lo}from"../../format/lib/sized-image.js";import{BOX_REVEAL_CLASS as pl,BOX_REVEAL_CSS as Sl,BOX_REVEAL_SHEET as wl,PHOTO_HOST_ATTR as xl,resolveImageTreatment as _l}from"../../format/lib/content/image-treatment.js";import vl from"./HoverMediaLayer.js";import{HOVER_LAYER_GROUND as Ol,cardRowHoverMedia as Pl}from"../../format/lib/content/hover-media.js";import{BOX_HIGHLIGHT_CLASS as Rl,BOX_HIGHLIGHT_OVER_ROW_INK_CLASS as Al,BOX_SHOW_ON_CARD_HOVER as $l}from"../../format/lib/animation/hover.js";import{BoxRail as Ll,BoxRailStop as yl,RAIL_STOPS_CLASS as Nl,useTimelineRail as El}from"./TimelineRail.js";import{SHARED_PLAIN_ATTR as kl,sharedColumnsClasses as Il,sharedColumnsCss as Bl,sharedRowsClasses as gl,sharedRowsCss as Tl}from"../lib/content/box-shared-columns.js";import zs from"./PhotoHoverSheet.js";import{PICTURE_FRAME_ONLY as Fl,PictureHoverMoveSheet as Dl,PictureHoverZoom as Hl,pictureHoverMoveOf as Vl}from"./PictureHoverMove.js";import{BOX_DESKTOP_LINE as Ml,stackGutterClass as Gl,stackLineCss as Xl,stackOuterClass as Wl,stackRowClass as jl,storedStackLine as io}from"../lib/content/box-stack-line.js";import{partAttr as co}from"../../format/lib/content/part-names.js";import{withSideOnce as Ys}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as Kl}from"./SideSpaceOnce.js";const ao={"--sf-site-gutter":"0px"},Ul={overflowX:"clip",overflowY:"visible"},zl={stretchedRow:!1,fillingColumn:!1,columnsRow:!1},Js={desktop:!1,phone:!1},Zs="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-view-wide:bg-[image:var(--sf-box-bg-p)]",uo=m=>m==null||m==="",mo=m=>!uo(m)&&Number(m)===0;function Yl({children:m}){return e(A,{children:m(Ot())})}function Jl({direction:m,label:qs,tabShape:Qs,gap:fo,gapPhone:en,gapTablet:Re,justify:z,align:E,wrap:ie,share:on,sharePhone:F,shareTablet:D,wrapPhone:sn,orderPhone:nn,phoneRow:C,columns:f,columnsTablet:H,separator:h,stackBelow:ce,blockSpacing:ho,bgImage:tn,bgImagePhone:rn,rowImage:ln,hoverShow:cn,pictureHover:V,darken:Ae,darkenStyle:ae,darkenTablet:an,darkenPhone:dn,darkenStyleTablet:un,darkenStylePhone:mn,placement:fn,padV2:Co=!1,border:hn,borderTablet:Cn,borderPhone:bn,borderUnits:bo,pad:r={},contained:$e=!0,fillHeight:_=!1,shadow:Le,shadowTablet:po,shadowPhone:So,justifyTablet:wo,justifyPhone:pn,alignTablet:Sn,alignPhone:wn,wrapTablet:xo,blockSpacingTablet:xn,blockSpacingPhone:_n,loop:b,scrollDirection:ye=gr,loopSeconds:vn=Tr,loopDelay:On=Br,editing:k=!1,fillColor:_o,fillColorTablet:Pn,fillColorPhone:Rn,fillFade:An,swatch:$n,line:v,upcoming:Ln,link:yn,rowLink:vo,highlight:Nn,boxShape:Ne,boxShapePhone:Oo,boxShapeTablet:Po,angle:En,jumpHighlight:kn,anchor:Ro,sharedSides:In=Js,sharedRows:Bn=!1,boxId:M,slotCount:gn,mirrorCards:Ao,content:c,rowTitle:Ee,startsOpen:Tn,rowStyle:Fn,sideSpace:Dn}){const n=Zt(),I=Wr({[x]:ln},n!==null)[x],$o=Ws({[x]:I}),d=$o?Js:In,Hn=$o?!1:Bn,Lo=jr({[x]:I},n?.row),p=Lo??tn,ke=Lo===null?rn:void 0,yo=vt(Fs),Vn=nr(),No=lr()&&!(Vn&&n!==null),O=tr(),u=mr({inCopy:n!==null,nestedCopy:n?.nested===!0,underBox:No}),Ie=cn===$l&&n!==null&&!u&&!(k&&n.previewHover===!0),Eo=to(hn,n,u),ko=to(Cn,n,u),Io=to(bn,n,u),Bo=n===null&&!No&&O?.ids&&M?O.ids.indexOf(M):-1,de=Bo>=0&&O&&M?sr(O,M,Bo):-1,S=de>=0?O?.hand??null:u&&O?.copies===!0?O.hand:null,o=S?.row?"row":m,a=S?.row?S.row.share:on,Mn=S?.row?S.row.phoneReverse?[...c.blockIds??[]].reverse():void 0:nn,ue=Hn&&!S?.row,G=k?"":vo&&n?Qt(n.row,vo)??"":dl(yn),P=_?"":sl(Ne,Oo,Po),Gn=!_&&ol(Ne)!=="",B=al(kn,Ro),Be=Kr({swatch:$n},n?.row),Y=Be??Vr(_o),g=Be?{className:"",style:{}}:Gr(_o,Pn,Rn),Xn=bl(),go=Cl(Be,Xn??void 0),Wn=_e(p)||_e(ke),jn=(Y||g.className)&&!Wn?Mr(An):null,To=Y||g.className?{...Y?{backgroundColor:Y}:{},...g.style,...jn,...go}:void 0,Fo=El(),J=v===!0&&o!=="tabs"&&o!=="accordion",t=Ws({bgImage:p,[x]:I}),Do=tl(En),Ho=t?void 0:To,me=t?null:Nn??null,Vo=_?null:nl(Ne,Oo,Po),Kn=Do||me||Vo?{...Ho,...Do,...me,...Vo}:Ho,fe=Jt(),Un=Wt(),zn=Et(),Mo=Lt(),Go=$t(),Yn=Nt(),Jn=yt(),l=o==="accordion",ge=Ft(Fn),Z=l&&ge==="numbered",Te=l&&ge==="chevron",Fe=Mt(),Xo=Vt(),X=Ir(o,h),i=b==="scroll"&&o!=="tabs"&&!l,Zn=rr(),he=u||de>=0&&S!==null,Wo=S?S.mirror:Ao,qn=de>=0?de:n?.index,q=u&&qt(n?.ownerType),jo=Hs({direction:o,separator:h,loop:b,line:v,bgImage:p,[x]:I,columns:f,columnsTablet:H,share:a,wrap:ie},he,d.desktop)&&cr(Wo,qn),Qn=Hs({direction:o,separator:h,loop:b,line:v,bgImage:p,[x]:I,columns:f,columnsTablet:H,share:a,wrap:ie},he,d.desktop)&&ar(Wo)!==null,W=Or({direction:o,separator:h,loop:b,line:v,columns:f}),T=Pr({direction:o,separator:h,loop:b,line:v,columnsTablet:H}),Q=Rr({direction:o,separator:h,loop:b,line:v,columns:f,columnsTablet:H,share:a,shareTablet:D}),Ce=Cr(Dn),De=Ce!=="box",He=fr(Ce),Ko=Kl(),Uo=J&&io(ce)===Ml,j=o==="row"&&!t&&!X&&!i&&(!J||Uo)&&T===""&&Q===""?io(ce):void 0,K=j??(o==="column"&&!t?io(ce):void 0),et=Xt(),be=Il(d,c.blockCount??0,j),ot=(be&&(!n||n.index===0)?Bl(d,c.blockCount??0,j):"")+(ue&&(!n||n.index===0)?Tl(ue,c.blockCount??0):""),zo=gl(ue,c.blockCount??0),Yo=T!==""?Number(H)>=2:Q===""||L(D)!=="",Jo=T!==""||Q!=="",Ve=o==="row"&&!X&&!i&&v!==!0,Me=Ve&&!d.phone&&!d.desktop?Dt(Ht(Mn,c.blockIds??[]),{editing:k}):void 0,Zo=Me!==void 0&&!k,st=W!==""?Number(f)>=2:L(a)!=="",qo=!t&&!l&&!Qn&&!d.desktop&&!d.phone,pe=qo&&!i?xr(z,wo,pn):"",Ge=t||he?"":dr(Zn,o,i?void 0:z,E,pe?wo:void 0),nt=/view-wide:max-view-desktop:justify-/.test(Ge)?pe.split(" ").filter(s=>!s.startsWith("view-wide:max-view-desktop:justify-")).join(" "):pe,tt=qo&&o==="row"?pr(E,Sn,wn):"",Qo=Xo&&o==="column"&&!t&&!i&&!l,Xe=typeof z=="string"&&z!=="start"||pe!=="",es=Qo&&Xe&&L(a)!=="",os=Qo&&!Xe&&L(a)!==""&&(c.blockCount??0)===1,rt=!i&&!l&&W===""&&T===""&&!d.desktop?_r(ie,xo):"",ss=[l||es?"":L(a),o==="row"?vr(a):"",W,T,Q,Sr(l?"gap":ho),Nr(o,h),l&&!Z&&!Te?"border-t border-line":"",nt,tt,rt,l?"":wr(ho,xn,_n),l?Ms(f,C,Z||Te):"",Z?It:""].filter(Boolean).join(" "),lt=ss?` ${ss}`:"",ns=["flex",o==="row"?X||i?"flex-row":`flex-row ${le(C,F,sn,xo)}`:"flex-col",Lr(i||l?!1:ie),t?Xr(fn??"center",o):br(i||l?void 0:z,l?void 0:E)+(Ge?` ${Ge}`:"")].join(" ")+lt,ee=_||t||P||Fe?` ${Pe}`:"",We=Gn?` ${P}`:P?`${ee} ${P}`:ee,ts=Xo&&o==="column"&&!t&&!i&&L(a)===""&&Xe||es,rs=ee||(ts||os?` ${Pe}`:""),je=G?` ${ll}`:"",Ke=t||fe||Co?"":" py-6",it=j===void 0?"":` ${jl(j)}`,ls=K===void 0||De?"":` ${Gl(K)}`,Ue=K===void 0?"":` ${Wl(K)}`,ct=`${ro}${Ke} ${He}${We}${je}${ls}${Ue}`,at=fe?`${We}${je}${Ue}`.trim():`w-full${Ke}${We}${je}${Ue}`,oe=(Z||Te)&&Ms(f,C)===""?Vs("Flex",0,"block"):Vs("Flex",fo,o==="row"?"inline":"block",en,X||i?void 0:Re),is=$r(a,D,o==="row"?c.blockCount??0:0),cs=X?{...oe.style,...kr(o,h)}:oe.style,dt=is?{...cs,...is}:cs,ze=(s="")=>e(c,{className:`${ns}${jo?` ${ur}`:""}${oe.className}${rs}${it}${s?` ${s}`:""}${J?` ${Nl}`:""}${B?` ${il(B)}`:""}${be}${zo}`,style:dt,minEmptyHeight:120,...Me?{cell:Me}:null}),as=Fr(ye)?"":Er(o,h),ds=i?e(Dr,{direction:ye,seconds:vn,delay:On,editing:k,copy:s=>ze(s&&as?`${s} ${as}`:s)}):Z?$(A,{children:[e("style",{children:gt}),ze()]}):ze(),Ye=o==="tabs"?e(Pt,{className:`${ns}${oe.className}${Fe&&!_&&!t&&!P?"":ee}`,style:oe.style,shape:Qs,children:ds}):ds,Je=l?e(no.Provider,{value:"accordion",children:e(so.Provider,{value:ge,children:Ye})}):Mo?e(no.Provider,{value:!1,children:e(so.Provider,{value:"plain",children:Ye})}):Ye,us=o==="row"&&!t&&(E===void 0||E==="stretch"),ut={stretchedRow:us,fillingColumn:o==="column"&&(Fe||ts),columnsRow:W!==""||T!==""||be!==""||zo!==""||o==="row"&&(Array.isArray(a)||Array.isArray(D))||Zo,...Zo?{phoneCells:!0}:null,...us&&Ve&&(c.blockCount??0)>=2&&st||os?{picturesFillRow:!0}:null,...Jo&&!Yo?{fillFrom:"desktop"}:null,...Ar(C,F)&&(!Jo||Yo)?{phoneRowFills:!0}:null,...Ve&&Gs(C,F)?{phoneRowFits:!0}:null,...i?{loops:!0}:null,...M?{id:M}:null},ms=n===null?ir({direction:o,loop:b,bgImage:p,[x]:I,columns:f,mirrorCards:Ao},!1):null,fs=ms?e(Ds.Provider,{value:{hand:ms,ids:c.blockIds??[],boxes:[]},children:Je}):O?e(Ds.Provider,{value:null,children:Je}):Je,hs=Bt(Ro),Cs=e(gs.Provider,{value:ut,children:e(Bs.Provider,{value:!1,children:he?e(or.Provider,{value:jo,children:e(er.Provider,{value:!u,children:fs})}):fs})}),bs=hs?e(Rt.Provider,{value:hs,children:Cs}):Cs,mt=Ee?.blockCount??0,ps=Mo==="accordion"&&!!Ee&&(k||mt>0)?e(kt,{startsOpen:Tn===!0||Yn&&u&&n?.index===0,editing:k,numbered:Go==="numbered",chevron:Go==="chevron",anchor:u?At(Jn,n):void 0,title:e(gs.Provider,{value:zl,children:e(Bs.Provider,{value:!1,children:e(no.Provider,{value:!1,children:e(so.Provider,{value:"plain",children:e(Ee,{className:`min-w-0 flex-1 ${yr}`,minEmptyHeight:24})})})})}),children:bs}):bs,Ze=J?e(Ll,{row:o==="row",stops:c.blockCount??0,desktopLine:j!==void 0&&Uo,children:ps}):ps,ft=qs?.trim()||(zn?"":void 0),ht={values:r,frame:Ke?24:0},Ct=s=>Fo?e(yl,{on:Fo,future:Ln===!0,children:s}):s,bt=s=>ul(G)?e(ml,{href:G,newTab:"auto",className:Ks,"aria-labelledby":s,[js]:""}):e("a",{href:G,className:Ks,"aria-labelledby":s,[js]:""}),Ss=(B?cl(B):"")+ot+(K===void 0||n&&n.index!==0?"":Xl(K,{gutter:!De})),ws=Ss?e("style",{dangerouslySetInnerHTML:{__html:Ss}}):null,se=Qr({loop:b,direction:o,scrollDirection:ye,bgImage:p,[x]:I}),pt=d.desktop&&be!==""&&!Y&&!g.className&&!Us(Eo,Io,ko,bo)&&!Zr(Le,po,So)&&!G&&!P&&!_&&!B&&!el($e&&!se,et)&&mo(fo)&&(uo(Re)||mo(Re))&&Co&&Object.values(r).every(s=>uo(s)||mo(s)),St=s=>({...Tt,...pt?{[kl]:""}:null,...t?null:{...Jr(Le),...qr(Le,po,So)},...B?{[rl]:B}:null,...s?{id:s}:null}),xs=W!==""?Number(f):0,wt=le(C,F)===le(void 0),xt=(o==="column"||o==="row"&&!X&&!i&&(xs===1&&wt||xs===0&&c.blockCount===1))&&!t&&!J&&!fe,_s=t&&Un&&!fe,Se=!t&&n!==null?Xs(Ae,ae):null,vs=Ie||Se?$(A,{children:[Ie?e(zs,{sheet:Sl,name:wl}):null,Se?e("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit]",style:Se}):null]}):null,Os=[Ie?pl:"",Se?"relative isolate":""].filter(Boolean).join(" "),Ps=s=>vs?$(A,{children:[vs,s]}):s,Rs=(s,R)=>Ct(e(Gt,{contained:$e&&!se,style:se?ao:void 0,framedClass:ct,fillClass:at,columnClass:`${ro} ${He}${rs}${ls}`,tabLabel:ft,pad:t?void 0:ht,border:Us(Eo,Io,ko,bo),outerAttrs:St(R),box:!0,edge:xt&&Ce!==hr,outerStyle:Kn,outerClass:t?Os||void 0:[g.className,me?Rl:"",me&&go?Al:"",Os].filter(Boolean).join(" ")||void 0,bleed:_s,siteSide:De,part:co("box"),children:ws||R?$(A,{children:[ws,R?bt(R):null,se?e(Ts,{children:s}):s]}):se?e(Ts,{children:s}):s})),qe=s=>G?e(Yl,{children:R=>Rs(Ps(s),R)}):Rs(Ps(s)),As=s=>yo.bound?e(Ut,{children:s}):s;if(!t){const s=E===void 0||E==="stretch",R=(L(a)!==""||W!==""||T!=="")&&!Gs(C,F)&&!(Q!==""&&L(D)==="")&&(s||le(C)!==le(void 0));if(!(o==="row"?R:o==="column"&&s))return qe(As(Ze));const Is=zt({direction:o,separator:h,loop:b,line:v,share:a,shareTablet:D,sharePhone:F,phoneRow:C,columns:f,columnsTablet:H,stackBelow:ce,shared:d.desktop||d.phone||ue,count:gn}),_t={hasWidth:!0,...Is?{bound:Yt(Is,yo.bound)}:null};return qe(e(Fs.Provider,{value:_t,children:Ze}))}const ne=_e(p),te=ne?Xs(Ae,ae):null,we=ne?Ur({darken:Ae,darkenStyle:ae,darkenTablet:an,darkenStyleTablet:un,darkenPhone:dn,darkenStylePhone:mn}):{className:"",style:{}},Qe=_e(ke),$s=ne?Qe?{"--sf-box-bg":lo(p??""),"--sf-box-bg-p":lo(ke??"")}:{backgroundImage:lo(p??""),backgroundSize:"cover",backgroundPosition:"center"}:{},Ls=_l(void 0,void 0,V),U=Ls.className?Ls:null,xe=ne&&n&&V?.kind==="nextImage"&&V.media?Pl(n,V.media):null,w=ne?Vl(V,ae)??(xe?Fl:null):null,ys=V?.media?.cover??"picture",eo=xe?e("div",{className:`absolute inset-0 isolate${q?" rounded-[inherit]":""}`,children:e(vl,{media:xe,cover:ys,ground:Ol[ys]})}):null,re=U!==null||!!w?.zoom,Ns=re?e("div",{"aria-hidden":!0,className:`absolute inset-0${q?" rounded-[inherit]":""}${Qe?` ${Zs}`:""}${U?` ${U.className}`:""}`,style:{...$s,...U?.style??{}}}):null,oo=fl({...r,top:ve(r.top)??N(y.desktop,r.unit,"desktop"),bottom:ve(r.bottom)??N(y.desktop,r.unit,"desktop"),topPhone:ve(r.topPhone)??N(y.phone,r.unitPhone,"mobile"),bottomPhone:ve(r.bottomPhone)??N(y.phone,r.unitPhone,"mobile"),left:Oe(r.left)??N(y.side,r.unit,"desktop"),right:Oe(r.right)??N(y.side,r.unit,"desktop"),leftPhone:Oe(r.leftPhone)??N(y.sidePhone,r.unitPhone,"mobile"),rightPhone:Oe(r.rightPhone)??N(y.sidePhone,r.unitPhone,"mobile"),sideSpace:Ce}),Es=e("div",{className:`relative z-[1] ${Hr} ${Ys(oo?.className??"",Ko)}${_||P?` ${Pe}`:""}`.trimEnd(),style:te?{...oo?.style,...ao,...hl}:{...oo?.style,...ao},...co("card-content"),children:As(Ze)}),ks=_s&&$e?e("div",{className:Ys(`${ro} ${He}${_||P?` ${Pe}`:""}`,Ko),children:Es}):Es;return qe(e(A,{children:$("div",{className:`relative isolate overflow-hidden ${Yr}${n!==null&&!u?` ${zr}`:""}${ee}${Qe&&!re?` ${Zs}`:""}${g.className?` ${g.className}`:""}${w?` ${w.className}`:""}`,style:{...q?Ul:{},...To,...re?{}:$s,...w?w.style:{}},...U||xe?{[xl]:""}:{},...co("card"),children:[e(Dl,{move:w}),re&&$(A,{children:[e(zs,{sheet:U?.sheet}),w?.zoom?e("div",{className:`absolute inset-0 overflow-hidden${q?" rounded-[inherit]":""}`,children:$(Hl,{move:w,className:"absolute inset-0",children:[Ns,eo]})}):$(A,{children:[Ns,eo]})]}),!re&&eo,e(Kt,{wash:te&&we.className?{...te,...we.style}:te,hover:w?.washHover,...q?{className:"rounded-[inherit]"}:{},...we.className?{restClassName:we.className}:{}}),te?e(jt,{children:ks}):ks]})}))}export{Jl as default};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { type
|
|
1
|
+
import type { Ref } from "react";
|
|
2
|
+
import { type HeroArrowShape } from "../../format/lib/hero-arrows.js";
|
|
3
3
|
import type { PartAttr } from "../../format/lib/content/part-names.js";
|
|
4
4
|
export interface HeroArrowsProps {
|
|
5
5
|
shape?: HeroArrowShape | string;
|
|
6
6
|
placement?: string;
|
|
7
7
|
ref?: Ref<HTMLDivElement>;
|
|
8
|
-
labels?: Readonly<Record<HeroArrowDirection, string>>;
|
|
9
|
-
onPress?: (direction: HeroArrowDirection, event: MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
-
sides?: boolean;
|
|
11
8
|
part?: PartAttr;
|
|
12
9
|
buttonPart?: PartAttr;
|
|
13
10
|
}
|
|
14
|
-
export default function HeroArrows({ shape, placement, ref,
|
|
11
|
+
export default function HeroArrows({ shape, placement, ref, part, buttonPart }: HeroArrowsProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as
|
|
1
|
+
"use client";import{jsx as e}from"react/jsx-runtime";import{UiIcon as u}from"efficient-easel/draw/client";import{arrowButtonClass as m,arrowsRailClass as f,HERO_ARROW_DIRECTIONS as i,HERO_ARROW_LABELS as R}from"../../format/lib/hero-arrows.js";function c({shape:a,placement:o,ref:t,part:s,buttonPart:l}){const n=m(a);return e("div",{ref:t,className:f(o),style:{color:"var(--overlay-fg)"},...s,children:i.map(r=>e("button",{type:"button","data-hero-nav":r,"aria-label":R[r],className:n,...l,children:e(u,{name:"chevron-right",size:18,rounded:!0,style:r==="prev"?{rotate:"180deg"}:void 0})},r))})}export{c as default};
|
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
import type { HoverMediaCover } from "../../format/lib/animation/hover.js";
|
|
2
|
-
import {
|
|
3
|
-
import { type HoverMediaPick } from "../../format/lib/content/hover-media.js";
|
|
2
|
+
import type { HoverMediaPick } from "../../format/lib/content/hover-media.js";
|
|
4
3
|
export interface HoverMediaLayerProps {
|
|
5
4
|
media: HoverMediaPick | null;
|
|
6
|
-
name: string;
|
|
7
5
|
cover?: HoverMediaCover;
|
|
8
6
|
ground?: string;
|
|
9
|
-
arrowsAbove?: boolean;
|
|
10
7
|
}
|
|
11
|
-
export
|
|
12
|
-
name: string;
|
|
13
|
-
count: number;
|
|
14
|
-
shown: boolean;
|
|
15
|
-
press: (direction: HeroArrowDirection, e: {
|
|
16
|
-
preventDefault(): void;
|
|
17
|
-
stopPropagation(): void;
|
|
18
|
-
}) => void;
|
|
19
|
-
}
|
|
20
|
-
export declare const HoverArrowsSlot: import("react").Context<((state: HoverArrowsState | null) => void) | null>;
|
|
21
|
-
export declare function HoverMediaArrows({ state }: {
|
|
22
|
-
state: HoverArrowsState;
|
|
23
|
-
}): import("react").JSX.Element;
|
|
24
|
-
export default function HoverMediaLayer({ media, name, cover, ground, arrowsAbove }: HoverMediaLayerProps): import("react").JSX.Element | null;
|
|
8
|
+
export default function HoverMediaLayer({ media, cover, ground }: HoverMediaLayerProps): import("react").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as
|
|
1
|
+
"use client";import{jsx as m,Fragment as C,jsxs as j}from"react/jsx-runtime";import{useEffect as S,useRef as F,useState as y}from"react";import{CARD_COPY_ATTR as $,PHOTO_HOST_ATTR as H}from"../../format/lib/content/image-treatment.js";import{useDeferredPicture as I}from"../lib/first-screen.js";import{sizedImage as R}from"../../format/lib/sized-image.js";const M=200,O="data-hover-media-anchor";function k(e){const o=e.closest(`[${$}]`);for(let r=e.parentElement;r;r=r.parentElement){const a=!o?.contains(r)&&[...r.children].some(s=>s.matches("a[href]"));if(r.hasAttribute(H)||a)return r.querySelectorAll(`[${O}]`).length===1?r:null}return null}const b="transition-opacity duration-200 motion-reduce:transition-none",D={card:`pointer-events-none absolute inset-0 z-20 overflow-hidden rounded-[inherit] ${b}`,picture:`pointer-events-none absolute inset-0 z-20 overflow-hidden ${b}`},N={cover:"h-full w-full object-cover",contain:"h-full w-full object-contain"};function P(e){const o=R(e,{fallbackWidth:960});return o.src===e?{src:e}:{src:o.src,srcSet:`${o.src} 1x, ${R(e,{fallbackWidth:1280}).src} 2x`}}const g=()=>typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(hover: hover) and (pointer: fine)").matches;function Y({media:e,cover:o="card",ground:r}){const a=F(null),v=I(),[s,l]=y(!1),[x,p]=y(!1),d=e?.urls.length??0;if(S(()=>{const i=a.current;if(!i||d===0)return;const t=k(i)??i.parentElement;if(!t)return;let n,f=!1;const h=()=>{n!==void 0&&clearTimeout(n),n=void 0,l(!1),p(!1),f=!1},E=c=>{c.pointerType!=="mouse"||!g()||(n!==void 0&&clearTimeout(n),n=setTimeout(()=>{n=void 0,l(!0)},M))},w=c=>{if(c.pointerType==="mouse"){if(!f&&t.contains(document.activeElement)){n!==void 0&&clearTimeout(n),n=void 0;return}h()}},A=()=>{f=!0},T=()=>{!f&&g()&&l(!0)},L=c=>{const _=c.relatedTarget;(!_||!t.contains(_))&&h()};return t.addEventListener("pointerenter",E),t.addEventListener("pointerleave",w),t.addEventListener("pointerdown",A),t.addEventListener("focusin",T),t.addEventListener("focusout",L),()=>{n!==void 0&&clearTimeout(n),t.removeEventListener("pointerenter",E),t.removeEventListener("pointerleave",w),t.removeEventListener("pointerdown",A),t.removeEventListener("focusin",T),t.removeEventListener("focusout",L)}},[d]),S(()=>{if(!s)return;const i=requestAnimationFrame(()=>p(!0));return()=>cancelAnimationFrame(i)},[s]),!e||d===0)return null;const u=s?P(e.urls[0]):null;return j(C,{children:[m("span",{ref:a,className:"sr-only",[O]:""}),u?m("div",{"data-hover-media":"","data-hover-cover":o,"data-hover-fit":e.fit,className:D[o],style:{opacity:x?1:0,...r?{backgroundColor:r}:{}},children:m("img",{src:u.src,...u.srcSet?{srcSet:u.srcSet}:{},alt:"",decoding:"async",...v,className:N[e.fit]})}):null]})}export{Y as default};
|
|
@@ -5,7 +5,6 @@ import { type HoverMediaPick } from "../../format/lib/content/hover-media.js";
|
|
|
5
5
|
import type { PadValues } from "../lib/content/section-padding.js";
|
|
6
6
|
export type ImageHoverLayer = {
|
|
7
7
|
media: HoverMediaPick;
|
|
8
|
-
name: string;
|
|
9
8
|
cover: HoverMediaCover;
|
|
10
9
|
};
|
|
11
10
|
interface ImageBlockProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,Fragment as ie,jsxs as w}from"react/jsx-runtime";import{PagePicture as me}from"../lib/first-screen.js";import{SiteLink as ae}from"../lib/site-runtime.js";import{siteLinkDraws as ce}from"../../format/lib/content/box-link.js";import ne from"./BlockFrame.js";import{partAttr as F}from"../../format/lib/content/part-names.js";import{useCellPictureSizes as fe}from"./BoxCellContext.js";import{useBoxCell as pe,useFillsCell as ue}from"./InBoxContext.js";import{useInsideSiteGutter as de,useSectionEdge as ge}from"./SiteGutterFrame.js";import{useSitePhotography as he}from"./SitePhotographyContext.js";import{media as Se}from"../lib/media.js";import{CONTENT_SIZES as j,sizedImage as ve}from"../../format/lib/sized-image.js";import{imageCornerStyle as we}from"../../format/lib/content/image-corners.js";import{FILL_ROW as Fe,imageAspectClasses as Ne,pictureLayerClass as ye,imageFillFrom as Ce,imageAspectDrawn as be,imageAspectDrawsARatio as Ae,imageFocalPointActs as xe,imageFocalPointActsIn as E,imageAspectPhoneOf as ke,imageFillRowClasses as Ie,imageWidthFollowsBox as $e,imageShapeStyle as Oe}from"../../format/lib/content/image-aspect.js";import{drawsSiteGutter as _e}from"../../format/lib/content/site-gutter.js";import{imageFitClass as Pe,parseImageFit as Re}from"../../format/lib/content/image-fit.js";import{SECTION_FILL_CLASS as je}from"../../format/lib/content/section-min-height.js";import{PICTURE_WASH_CLASS as Ee,resolveImageTreatment as He}from"../../format/lib/content/image-treatment.js";import{boxDarkenStyle as ze}from"../../format/lib/content/box-background.js";import{HOVER_LAYER_GROUND as Le}from"../../format/lib/content/hover-media.js";import{phoneFocus as Te}from"../../format/lib/content/phone-focus.js";import{say as De}from"../../format/lib/editor-words.js";import{sectionEdgeAttrs as Ge}from"../lib/content/section-edge.js";import{useSideSpaceOnce as We}from"./SideSpaceOnce.js";import Be from"./PhotoHoverSheet.js";import Me from"./PictureWash.js";import Ze from"./HoverMediaLayer.js";import{PictureHoverMoveSheet as Ue,PictureHoverZoom as Ve,pictureHoverMoveOf as Ye}from"./PictureHoverMove.js";import{PictureZoom as qe}from"./PictureZoom.js";function Je({src:o,alt:H,aspect:z,aspectPhone:
|
|
1
|
+
import{jsx as e,Fragment as ie,jsxs as w}from"react/jsx-runtime";import{PagePicture as me}from"../lib/first-screen.js";import{SiteLink as ae}from"../lib/site-runtime.js";import{siteLinkDraws as ce}from"../../format/lib/content/box-link.js";import ne from"./BlockFrame.js";import{partAttr as F}from"../../format/lib/content/part-names.js";import{useCellPictureSizes as fe}from"./BoxCellContext.js";import{useBoxCell as pe,useFillsCell as ue}from"./InBoxContext.js";import{useInsideSiteGutter as de,useSectionEdge as ge}from"./SiteGutterFrame.js";import{useSitePhotography as he}from"./SitePhotographyContext.js";import{media as Se}from"../lib/media.js";import{CONTENT_SIZES as j,sizedImage as ve}from"../../format/lib/sized-image.js";import{imageCornerStyle as we}from"../../format/lib/content/image-corners.js";import{FILL_ROW as Fe,imageAspectClasses as Ne,pictureLayerClass as ye,imageFillFrom as Ce,imageAspectDrawn as be,imageAspectDrawsARatio as Ae,imageFocalPointActs as xe,imageFocalPointActsIn as E,imageAspectPhoneOf as ke,imageFillRowClasses as Ie,imageWidthFollowsBox as $e,imageShapeStyle as Oe}from"../../format/lib/content/image-aspect.js";import{drawsSiteGutter as _e}from"../../format/lib/content/site-gutter.js";import{imageFitClass as Pe,parseImageFit as Re}from"../../format/lib/content/image-fit.js";import{SECTION_FILL_CLASS as je}from"../../format/lib/content/section-min-height.js";import{PICTURE_WASH_CLASS as Ee,resolveImageTreatment as He}from"../../format/lib/content/image-treatment.js";import{boxDarkenStyle as ze}from"../../format/lib/content/box-background.js";import{HOVER_LAYER_GROUND as Le}from"../../format/lib/content/hover-media.js";import{phoneFocus as Te}from"../../format/lib/content/phone-focus.js";import{say as De}from"../../format/lib/editor-words.js";import{sectionEdgeAttrs as Ge}from"../lib/content/section-edge.js";import{useSideSpaceOnce as We}from"./SideSpaceOnce.js";import Be from"./PhotoHoverSheet.js";import Me from"./PictureWash.js";import Ze from"./HoverMediaLayer.js";import{PictureHoverMoveSheet as Ue,PictureHoverZoom as Ve,pictureHoverMoveOf as Ye}from"./PictureHoverMove.js";import{PictureZoom as qe}from"./PictureZoom.js";function Je({src:o,alt:H,aspect:z,aspectPhone:r,contained:N,grayscale:L,pictureHover:y,hoverLayer:l,darken:T,darkenStyle:C,href:D,fit:G,focal:b,focalPhone:W,focalTablet:B,corners:M,cornerSides:Z,cornersUnit:U,pad:A,ownSize:V=!1,editing:x=!1}){const c=He(L,he(),y),u=pe(),Y=ue(),d=ge(),q=fe(j),t=be(z,u?.picturesFillRow===!0),g=t===Fe,k=Ce(u?.fillFrom,u?.phoneRowFills===!0,r),i=g?Ie(k):null,h=ke(t,r),m=Re(G,"cover"),J=d||!$e(t,h,m)?j:q,I=we(M,Z,U),K=xe(m,t,r),S=Te(E("mobile",m,t,r)?W:void 0,E("tablet",m,t,r)?B:void 0),$={...c.style??{},...b&&K?{objectPosition:b}:{},...S.style},n=o?ve(Se(o)):null,s=Ye(y,C),Q=ze(T,C),X=s?.washHover??null,O=Oe(t,h),_=O?{...s?.style??{},...O}:s?.style??{},f=l&&o?e(Ze,{media:l.media,cover:l.cover,ground:Le[l.cover]}):null,P=o&&n?e(me,{src:n.src,...n.srcSet?{srcSet:n.srcSet,sizes:J}:{},alt:H,className:`${i?`${i.img} `:""}h-full w-full ${Ae(t,r)?Pe(m):""}${c.className?` ${c.className}`:""}${S.className?` ${S.className}`:""}`,...Object.keys($).length?{style:$}:{},...F("image")}):null,v=P?w(ie,{children:[e(Be,{sheet:c.sheet}),e(Ue,{move:s}),e(Ve,{move:s,className:ye(i),children:P}),e(Me,{wash:Q,hover:X,className:`pointer-events-none ${Ee}`})]}):e("div",{className:"flex aspect-[16/9] items-center justify-center border border-dashed border-line font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.2em] text-fg-dim",children:De("Image — set a path")}),p=(D??"").trim(),ee=p&&o?ce(p)?e(ae,{href:p,className:"block h-full w-full",newTab:"auto",children:v}):e("a",{href:p,className:"block h-full w-full",children:v}):v,te=de(),oe=We(),a=d&&!V?Ge(d,oe):null,R=A?{values:A,frame:g?0:24}:void 0,se=R!==void 0&&_e(a?!1:N,te),re=g?Y||x||se?je:"":"py-6",le=o&&m==="contain"?"":"bg-surface ";return!o&&!x?null:w(ne,{contained:a?!1:N,className:re,pad:R,...a?{fillWidth:a.className,style:a.style}:{},part:F("image-block"),children:[e("figure",{...i?{className:i.figure}:{},children:w("div",{className:`relative w-full overflow-hidden ${le}${Ne(t,h,k)}${s?` ${s.className}`:""}`,...I||Object.keys(_).length?{style:{...I,..._}}:{},...F("image-frame"),children:[e(qe,{fill:i,children:ee}),f&&l?.cover==="picture"?f:null]})}),f&&l?.cover==="card"?f:null]})}export{Je as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as k}from"react/jsx-runtime";import{phoneKey as R}from"efficient-easel/draw";import{CardRowDrawn as v}from"../../../../../components/CardRowContext.js";import y from"../../../../../components/ImageBlock.js";import{recordPictureAlt as O}from"../../../../../../format/lib/content/record-row.js";import{CARD_ROW_LINK_PROP as x,namedRowField as g,rowFieldSpec as B,rowFieldText as P}from"../../../../../../format/lib/content/card-template.js";import{cardRowHoverMedia as b}from"../../../../../../format/lib/content/hover-media.js";import{blockSizeOf as F,blockSizeValuesOf as _}from"../../../../content/block-size.js";import{padValuesOf as z}from"../../../../content/section-padding.js";import{pictureHoverOf as H}from"../../../../../../format/lib/animation/hover.js";import{viewFocusValues as K}from"../../../../../../format/lib/content/picture-focus-rows.js";import{ImageBlockMeta as V}from"../../../../../../format/lib/document/blocks/general/ImageBlock/meta.js";const G={...V,render:e=>{const r=H(e,"ImageBlock"),o=g(e),n=g(e,x);return!o&&!n&&r.kind!=="nextImage"?h(e,e.src,e.alt,r):k(v,{type:"ImageBlock",props:e,children:(t,c,l)=>{const m=o?B(c,o):null,i=o?c?m?.alt:O(o):null,d=o?t.src:e.src,f=(i&&P(l,i))??e.alt,a=r.media?b(c,r.media):null,s=n?t.href:e.href;return h({...e,href:s},d,f,r,a&&r.media?{media:a,cover:r.media.cover}:null)}})}};function h(e,r,o,n,t=null){const{aspect:c,contained:l,grayscale:m,darken:i,darkenStyle:d,href:f,fit:a,corners:s,cornerSides:w,cornersUnit:S,editor:I}=e,u=K(e,"focal");return k(y,{src:r,alt:o,aspect:c,aspectPhone:e[R("aspect")],contained:l,grayscale:m,darken:i,darkenStyle:d,pictureHover:n,...t?{hoverLayer:t}:{},href:f,fit:a,focal:u.desktop,focalPhone:u.phone,focalTablet:u.tablet,corners:s,cornerSides:w,cornersUnit:S,pad:z(e),ownSize:F(_(e))!==null,editing:I?.isEditing===!0})}export{G as ImageBlockRender};
|