efficient-storefront-blocks 0.100.0 → 0.101.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 +31 -0
- package/dist/chunks/{EditorPreviewCheckout-OLTXWUGM.js → EditorPreviewCheckout-JMBBJSI7.js} +1 -1
- package/dist/chunks/{SiteEditorProvider-4XV2T5MD.js → SiteEditorProvider-BKZW7KVN.js} +1 -1
- package/dist/chunks/chunk-AF5TRBQB.js +1 -0
- package/dist/chunks/chunk-GJZGQCDM.js +1 -0
- package/dist/chunks/chunk-KV3EHFHB.js +339 -0
- package/dist/chunks/chunk-YSKMBJ7V.js +74 -0
- package/dist/chunks/{fitment-data-ZWKG2FFA.js → fitment-data-HMD5DDDB.js} +1 -1
- package/dist/consent.js +1 -1
- package/dist/editor/lib/api/section-templates.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/AlloyWheelsListing/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/GalleryB/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/ProductGrid/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/index.d.ts +1 -1
- package/dist/editor/lib/document/blocks/service/Subscribe/fields.js +1 -1
- package/dist/editor/lib/document/box-header.js +1 -1
- package/dist/editor/lib/document/config.js +1 -1
- package/dist/editor/lib/efficient-block-sources.js +1 -1
- package/dist/editor/lib/storefront-editor-words.d.ts +1 -0
- package/dist/editor/lib/storefront-editor-words.js +1 -1
- package/dist/editor.css +1 -1
- package/dist/index.js +35 -30
- package/dist/links.js +1 -1
- package/dist/render/app/globals.css +122 -16
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/ChatWidget.js +1 -1
- package/dist/render/components/Collections.js +1 -1
- package/dist/render/components/ConsentContext.d.ts +6 -0
- package/dist/render/components/ConsentContext.js +1 -1
- package/dist/render/components/ConsentPanel.d.ts +6 -0
- package/dist/render/components/ConsentPanel.js +1 -1
- package/dist/render/components/ConsentProvider.js +1 -1
- package/dist/render/components/CouponField.js +1 -1
- package/dist/render/components/DealerFinderSection.js +1 -1
- package/dist/render/components/EmailCaptureForm.js +1 -1
- package/dist/render/components/Events.js +1 -1
- package/dist/render/components/FooterEmailSignup.js +1 -1
- package/dist/render/components/FooterLogo.d.ts +1 -1
- package/dist/render/components/FooterLogo.js +1 -1
- package/dist/render/components/FooterMenu.d.ts +2 -1
- package/dist/render/components/FooterMenu.js +1 -1
- package/dist/render/components/GalleryGrid.d.ts +2 -1
- package/dist/render/components/GalleryGrid.js +3 -3
- package/dist/render/components/LegalLine.d.ts +10 -0
- package/dist/render/components/LegalLine.js +1 -1
- package/dist/render/components/ProductGridSection.js +1 -1
- package/dist/render/components/ProductHeroPanel.js +1 -1
- package/dist/render/components/SiteLegalContext.d.ts +19 -0
- package/dist/render/components/SiteLegalContext.js +1 -0
- package/dist/render/components/Subscribe.d.ts +9 -1
- package/dist/render/components/Subscribe.js +1 -1
- package/dist/render/components/booking/BookingFormState.js +1 -1
- package/dist/render/components/fitment/FitmentFinder.js +1 -1
- package/dist/render/components/pdp-dynamic/DynamicGalleryGrid.js +1 -1
- package/dist/render/components/wheels-plp/AlloyWheelsListing.d.ts +2 -2
- package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
- package/dist/render/components/wheels-plp/PlpFacetRows.js +1 -1
- package/dist/render/components/wheels-plp/PlpSidebar.js +1 -1
- package/dist/render/components/wheels-plp/usePlpFiltersInUrl.d.ts +3 -2
- package/dist/render/components/wheels-plp/usePlpFiltersInUrl.js +1 -1
- package/dist/render/lib/api/index.js +1 -1
- package/dist/render/lib/api/list-rows.d.ts +3 -0
- package/dist/render/lib/api/list-rows.js +1 -0
- package/dist/render/lib/api/types.d.ts +4 -0
- package/dist/render/lib/cache-evict.d.ts +1 -0
- package/dist/render/lib/cache-evict.js +1 -1
- package/dist/render/lib/chrome-cache.js +1 -1
- package/dist/render/lib/consent/rules.d.ts +7 -0
- package/dist/render/lib/consent/rules.js +1 -1
- package/dist/render/lib/content/collection-card-look.d.ts +0 -4
- package/dist/render/lib/content/collection-card-look.js +1 -1
- package/dist/render/lib/content/facet-row-seed.js +1 -1
- package/dist/render/lib/content/product-card-seed.js +1 -1
- package/dist/render/lib/content/rail-row-seed.js +1 -1
- package/dist/render/lib/content/site.d.ts +4 -0
- package/dist/render/lib/content/site.js +1 -1
- package/dist/render/lib/content/tab-strip.d.ts +3 -1
- package/dist/render/lib/content/tab-strip.js +1 -1
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/GalleryB/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductGrid/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Subscribe/render.js +1 -1
- package/dist/render/lib/document/card-templates.js +1 -1
- package/dist/render/lib/document/document-nodes.d.ts +2 -0
- package/dist/render/lib/document/document-nodes.js +1 -1
- package/dist/render/lib/document/footer-page-blocks.js +1 -1
- package/dist/render/lib/document/section-to-box-rows-listing.js +1 -1
- package/dist/render/lib/field-input.d.ts +2 -0
- package/dist/render/lib/field-input.js +1 -1
- package/dist/render/lib/links/link-rules.d.ts +5 -0
- package/dist/render/lib/links/link-rules.js +1 -1
- package/dist/render/lib/sections/band-padding.d.ts +17 -1
- package/dist/render/lib/sections/band-padding.js +1 -1
- package/dist/render/lib/sections/gallery-toolbar.d.ts +2 -2
- package/dist/render/lib/sections/gallery-toolbar.js +1 -1
- package/dist/render/lib/sections/product-pictures.js +1 -1
- package/dist/render/lib/wheels/catalog-filters-to-listing.js +1 -1
- package/dist/render/lib/wheels/plp-filters.d.ts +2 -1
- package/dist/render/lib/wheels/plp-filters.js +1 -1
- package/dist/render/lib/wheels/plp-hydrate.d.ts +0 -3
- package/dist/render/lib/wheels/plp-hydrate.js +1 -1
- package/dist/render/lib/wheels/selected-ranges.d.ts +1 -0
- package/dist/render/lib/wheels/selected-ranges.js +1 -1
- package/dist/words.d.ts +1 -0
- package/dist/words.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/chunk-4SYZK3TW.js +0 -1
- package/dist/chunks/chunk-G6OVBAOA.js +0 -74
- package/dist/chunks/chunk-OWUMH5VC.js +0 -339
- package/dist/chunks/chunk-WN7SFD3N.js +0 -1
- /package/dist/chunks/{chunk-OWUMH5VC.js.LEGAL.txt → chunk-KV3EHFHB.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-SCTOV5CT.js → chunk-XNUK2QNK.js} +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import{jsx as co}from"react/jsx-runtime";import{createContext as Lr,useCallback as u,useContext as Nr,useMemo as Ir,useState as Pr}from"react";import{createContext as Yn,useContext as ot}from"react";import{createContext as Ii}from"react";var Un=Ii(null);var Pi=Yn(null),at=Yn({logo:null,placeholder:!1,wordmark:null});function Eu(){let e=ot(Un),t=ot(Pi),n=ot(at),o=!e&&n.placeholder,a=e?e.logoUrl:n.logo?.logoUrl??t?.logoUrl??null;return{src:o?null:a,reversedSrc:e?e.logoReversed:n.logo?.logoReversed??t?.logoReversed??null,inkIsDark:e?e.logoInkIsDark:n.logo?.logoInkIsDark??t?.logoInkIsDark??null,wordmark:e?null:n.wordmark,siteName:e?.siteName??t?.siteName}}import{contrastRatio as Iu,hexToRgb as Ae,parseHexColor as M,readableInk as jn,relativeLuminance as Re}from"efficient-shell/format";import{DEFAULT_SHADOW_COLOR as Fi,pictureShadowColor as Gi}from"efficient-easel/screen/lib/document/shadow-values";import{isLengthUnit as Wi}from"efficient-easel/screen/lib/content/length-units";import{viewKeyAt as $n}from"efficient-easel/screen/lib/content/view-tiers";var P=e=>typeof e=="number"&&Number.isFinite(e)?e:void 0;import{VIEW_ABOVE as Oe,isLengthUnit as st,lengthOf as Hi,rowGrid as Di}from"efficient-easel/screen/lib/content/length-units";var Bi=(()=>{let e=Object.keys(Oe),t=e.filter(n=>Oe[n]===null);for(let n=e.find(o=>Oe[o]===t[0]);n&&!t.includes(n);n=e.find(o=>Oe[o]===t[t.length-1]))t.push(n);return t})();function it(e,t){let n=Hi(e,rt(t));return typeof n=="number"?`${n}px`:n}function rt(e,t="px"){return st(e)?e:t}function Ou(e,t,n){return t.unitKey?rt(e[$n(t.unitKey,n)],t.base??"px"):t.base??"px"}function ku(e,t=Bi){return e.unitKey?t.map(n=>$n(e.unitKey,n)):[]}function lt(e,t,n,o,{floor:a=!1}={}){let s=P(e);if(!st(t)||t==="px"||s===void 0)return null;let i=Di({kind:n},t,o),r=Math.min(i.max,Math.max(a?i.step:i.min,s));return Math.round(r*100)/100}function Au(e,t,n,o,a){let s=lt(e,t,n,o,a);return s===null?null:it(s,t)}var Mi={cornerRadiusUnit:"corner_radius_unit",siteWidthUnit:"site_width_unit",siteGutterUnit:"site_gutter_unit",siteGutterPhoneUnit:"site_gutter_phone_unit",blockGapUnit:"block_gap_unit",blockGapPhoneUnit:"block_gap_phone_unit"};function Ru(e){let t=e;return Object.fromEntries(Object.entries(Mi).map(([n,o])=>[n,rt(t[o])]))}function Cu(e,t,n){let o=P(e);return st(t)&&t!=="px"&&o!==void 0?o:n(o??null)}import{DEFAULT_SHADOW_COLOR as hp}from"efficient-easel/screen/lib/document/shadow-values";var Bu="storefront-theme",Mu="sf:theme-mode",Fu="sf:theme-switch",Gu="hide",wt="light",gt=!1,Ui=7,Yi=18;function $i(e){return e>=Ui&&e<Yi}function Wu(e){let{mode:t,override:n,switchShown:o,hour:a}=e;return o&&(n==="light"||n==="dark")?n:t==="auto"?$i(a)?"light":"dark":t==="light"?"light":"dark"}var q={background:"#0a0a0a",surface:"#131313",line:"#2a2a2a",muted:"#9a9388"},Ki=[{text:"#2e2e2e",accent:"#2e2e2e",background:"#ffffff",surface:"#f7f7f7",line:"#e0e0e0",muted:"#5c5c5c"},{text:"#f7f7f7",accent:"#f7f7f7",background:"#0a0a0a",surface:"#1b1b1b",line:"#363636",muted:"#a3a3a3"},{text:"#ffffff",accent:"#ffffff",background:"#2e2e2e",surface:"#3d3d3d",line:"#545454",muted:"#b0b0b0"},{text:"#0a0a0a",accent:"#0a0a0a",background:"#f7f7f7",surface:"#ffffff",line:"#d9d9d9",muted:"#5c5c5c"}],Ce={selected:0,themes:Ki};function zn(e){return!e||!Array.isArray(e.themes)||e.themes.length===0?{...Ce}:{selected:Math.min(Math.max(0,e.selected??0),e.themes.length-1),themes:e.themes}}function ct(e,t,n){let o=Ae(e),a=Ae(t);if(o===null||a===null)return e;let s=(i,r)=>Math.max(0,Math.min(255,Math.round(i+(r-i)*n))).toString(16).padStart(2,"0");return`#${s(o.r,a.r)}${s(o.g,a.g)}${s(o.b,a.b)}`}var Vi={light:"#ffffff",dark:"#0a0a0a"},Uu=["light","dark"];function Yu(e,t){let n=Vi[t],o=t==="light"?"#ffffff":"#000000";return{text:n,accent:n,background:e,surface:ct(e,o,.1),line:ct(e,o,.22),muted:ct(n,e,.35),brandInk:t}}function Q(e){let t=zn(e);return t.themes[t.selected]}function Z(e){return{text:e.text,accent:e.accent,background:e.background||q.background,surface:e.surface||q.surface,line:e.line||q.line,muted:e.muted||q.muted}}var Xi=.4,ji="#f5f1e8",Kn="#0a0a0a";function zi(e){let t=Q(e).text,n=Re(t);return n===null||n>=Xi?t:null}var qi=4.5,Zi=3,$u={good:"Good","large-only":"Large text only",hard:"Hard to read"};function Ku(e){return e>=qi?"good":e>=Zi?"large-only":"hard"}var Qi=["#000000","#ffffff"];function Le(e){return jn(e,Qi)}function qn(e,t){let n=t!==void 0&&Re(t)!==null?t:ji;return jn(e,[Kn,n])===n&&n!==Kn}var Ji=[.25,.4,.55];function Vu(e){let t=Ae(e);return t===null?[]:Ji.map(n=>"#"+[t.r,t.g,t.b].map(o=>Math.round(o*(1-n)).toString(16).padStart(2,"0")).join(""))}function Xu(e){let t={"--theme-fg":Q(e).text},n=zi(e);return n!==null&&(t["--overlay-fg"]=n),t}var er=82;function bt(e){return`color-mix(in srgb, ${e} ${er}%, #000)`}function ju(e){let t=Q(e);return{"--theme-accent":t.accent,"--theme-accent-2":bt(t.accent),"--theme-accent-ink":Le(t.accent)}}function yt(e){let t=e?.button;return t&&M(t)===t.toLowerCase()?t.toLowerCase():null}function zu(e){let t=Q(e),n=yt(t),o=Zn(t);if(n===null&&o===null)return{};let a={};return n!==null&&(a["--theme-btn"]=n,a["--theme-btn-2"]=bt(n)),a["--theme-btn-ink"]=o??Le(n),a}function Zn(e){let t=e?.buttonInk;return t&&M(t)===t.toLowerCase()?t.toLowerCase():null}function tr(e,t){return Zn(e)??Le(yt(e)??t)}function qu(e){let t=Q(e);return{fill:yt(t)??t.accent.toLowerCase(),ink:tr(t,t.accent)}}function Zu(e){let t={};return zn(e).themes.forEach((n,o)=>{let a=Z(n);t[`--theme-preset-${o}-accent`]=a.accent,t[`--theme-preset-${o}-accent-2`]=bt(a.accent),t[`--theme-preset-${o}-accent-ink`]=Le(a.accent),t[`--theme-preset-${o}-bg`]=a.background,t[`--theme-preset-${o}-fg`]=a.text,t[`--theme-preset-${o}-surface`]=a.surface,t[`--theme-preset-${o}-surface-2`]=`color-mix(in srgb, ${a.surface} 60%, ${a.line})`,t[`--theme-preset-${o}-line`]=a.line,t[`--theme-preset-${o}-muted`]=a.muted}),t}var dt=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},ht=e=>255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055);function Vn([e,t,n]){let[o,a,s]=[dt(e),dt(t),dt(n)],i=Math.cbrt(.4122214708*o+.5363325363*a+.0514459929*s),r=Math.cbrt(.2119034982*o+.6806995451*a+.1073969566*s),l=Math.cbrt(.0883024619*o+.2817188376*a+.6299787005*s);return[.2104542553*i+.793617785*r-.0040720468*l,1.9779984951*i-2.428592205*r+.4505937099*l,.0259040371*i+.7827717662*r-.808675766*l]}function nr([e,t,n]){let o=(e+.3963377774*t+.2158037573*n)**3,a=(e-.1055613458*t-.0638541728*n)**3,s=(e-.0894841775*t-1.291485548*n)**3;return[ht(4.0767416621*o-3.3077115913*a+.2309699292*s),ht(-1.2684380046*o+2.6097574011*a-.3413193965*s),ht(-.0041960863*o-.7034186147*a+1.707614701*s)]}var mt=e=>{let t=Ae(e);return t===null?[0,0,0]:[t.r,t.g,t.b]},Qn=(e,t,n)=>[e[0]*n+t[0]*(1-n),e[1]*n+t[1]*(1-n),e[2]*n+t[2]*(1-n)],Jn=e=>`#${e.map(t=>Math.max(0,Math.min(255,Math.round(t))).toString(16).padStart(2,"0")).join("")}`,eo=e=>Qn(mt(e.surface),mt(e.line),.6);function Qu(e){return Jn(eo(Z(e)))}function or(e){let t=Z(e);return Jn(nr(Qn(Vn(eo(t)),Vn(mt(t.text)),.92)))}function to(e,t,n,o){let a=e[t];if(!a)return-1;let s=n(a);if(!s)return-1;let i=Z(a);return e.findIndex((r,l)=>{if(l===t)return!1;let d=Z(r);return M(d.background)!==s?!1:!o||M(d.text??"")===M(i.text??"")&&M(d.accent??"")===M(i.accent??"")})}function Ju(e,t){return to(e,t,or,!1)}function ep(e,t){return to(e,t,n=>M(n.surface??""),!0)}var ar=1;function sr(e,t){let n=(e??[]).flatMap((o,a)=>{let s=Re(o.background??""),i=Re(o.text??"");return s!==null&&i!==null&&s<i?[a]:[]});return n.find(o=>o!==t)??n[0]??ar}function tp(e){return sr(e?.themes,e?.selected)}var np=["--theme-bg","--theme-surface","--theme-surface-2","--theme-line","--theme-muted"];function op(e){let t=Z(Q(e)),n=`color-mix(in srgb, ${t.surface} 60%, ${t.line})`,o={"--theme-bg":t.background,"--theme-surface":t.surface,"--theme-line":t.line,"--theme-muted":t.muted};return(t.surface!==q.surface||t.line!==q.line)&&(o["--theme-surface-2"]=n),o}var ir=["heading","body","label"];function ap(e){if(!e)return null;for(let t of ir)if(e.includes(`--size-${t}`))return t;return/--size-heading(Large|Medium|Small)/.test(e)?"heading":null}var no=["headingLarge","headingMedium","headingSmall","accent","body","label"];var Et={headingLarge:null,headingMedium:null,headingSmall:null,accent:null,body:null,label:null},rr=8,lr=200;function cr(e){if(typeof e!="number"||!Number.isFinite(e))return null;let t=Math.round(e);return t>=rr&&t<=lr?t:null}function dr(e){let t={};for(let n of no)t[n]=cr(e?.[n]);return t}function sp(e){let t=dr(e),n={};for(let o of no){let a=t[o];a!==null&&(n[`--size-${o}`]=`${a}px`)}return n}var hr=["square","small","large"],ur="small";function ip(e){return hr.includes(e??"")?e:ur}var Ne=0,oo=40,pr={min:Ne,max:oo,step:1},rp={square:0,small:null,large:16},ft={"--sf-card-radius":1,"--sf-button-radius":.5,"--site-radius":.5,"--site-radius-xs":.25,"--site-radius-sm":.5,"--site-radius-md":.75,"--site-radius-lg":1,"--site-radius-xl":1.25,"--site-radius-2xl":1.5,"--site-radius-3xl":2,"--site-radius-4xl":2.5};function St(e){if(e==null||typeof e=="string"&&e.trim()==="")return null;let t=typeof e=="string"?Number(e):e;return Number.isFinite(t)?Math.min(oo,Math.max(Ne,Math.round(t))):null}function Xn(e,t){if(Wi(t)&&t!=="px"){if(typeof e!="number"||!Number.isFinite(e))return{};let o=Math.max(0,e);return Object.fromEntries(Object.entries(ft).map(([a,s])=>{let i=Math.round(o*s*1e4)/1e4;return[a,i===0?"0":it(i,t)]}))}let n=St(e);return n===null?{}:Object.fromEntries(Object.entries(ft).map(([o,a])=>{let s=n*a/16;return[o,s===0?"0":`${s}rem`]}))}function lp(e){return(St(e)??Ne)*ft["--sf-button-radius"]}function cp(e,t){let n=lt(e,t,"radius",pr);return n!==null?Xn(n,t):Xn(St(e)??Ne)}var mr=["none","soft","lifted"],fr="soft",ao="none",wr=["tight","normal","roomy"],gr="normal",Ie="normal",br=["none","lift","highlight"],yr="lift",Er="highlight";function so(e){return mr.includes(e??"")?e:fr}function Sr(e){return wr.includes(e??"")?e:gr}function io(e){return br.includes(e??"")?e:yr}function up(e){let t=so(e);return t===ao?void 0:t}function pp(e){let t=Sr(e);return t===Ie?void 0:t}function mp(e){let t=io(e);return t===Er?void 0:t}function fp(e,t,n){let o=Gi(t);return o===Fi?{}:so(e)!==ao||io(n)==="lift"?{"--sf-shadow-color":o}:{}}var _r=["normal","tight","compressed"],he="normal";function ro(e){return _r.includes(e??"")?e:he}function wp(e){let t=ro(e);return t===he?void 0:t}function gp(e){switch(ro(e)){case"tight":return{lineHeight:.95,letterSpacing:-.01};case"compressed":return{lineHeight:.86,letterSpacing:-.01};default:return{}}}var _t={case:"authored",weight:null,weightStrong:null,italicStrong:null,maxPx:null,weight2:null,weight3:null,case2:"authored",case3:"authored"},ut=100,pt=900,Tr=24,vr=200;function ke(e,t,n){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),n))}function lo(e){let t=ke(e?.weight,ut,pt),n=e?.case==="sentence"?"sentence":"authored",o=s=>s==null?t:ke(s,ut,pt),a=s=>s==="sentence"?"sentence":s==="authored"?"authored":n;return{case:n,weight:t,weightStrong:ke(e?.weightStrong,ut,pt),italicStrong:typeof e?.italicStrong=="boolean"?e.italicStrong:null,maxPx:ke(e?.maxPx,Tr,vr),weight2:o(e?.weight2),weight3:o(e?.weight3),case2:a(e?.case2),case3:a(e?.case3)}}function bp(e){let t=lo(e),n={};return t.case==="sentence"&&(n["--sf-heading-case"]="none"),t.weight!==null&&(n["--sf-heading-weight"]=String(t.weight)),t.weightStrong!==null&&(n["--sf-heading-weight-strong"]=String(t.weightStrong)),t.maxPx!==null&&(n["--sf-heading-max"]=`${t.maxPx}px`),t.weight2!==null&&t.weight2!==t.weight&&(n["--sf-heading-2-weight"]=String(t.weight2)),t.weight3!==null&&t.weight3!==t.weight&&(n["--sf-heading-3-weight"]=String(t.weight3)),t.case2!==t.case&&(n["--sf-heading-2-case"]=t.case2==="sentence"?"none":"uppercase"),t.case3!==t.case&&(n["--sf-heading-3-case"]=t.case3==="sentence"?"none":"uppercase"),n}function yp(e){return lo({case:e?.heading_case??void 0,weight:e?.heading_weight,weightStrong:e?.heading_weight_strong,italicStrong:e?.accent_italic,maxPx:e?.heading_max_px,weight2:e?.heading_2_weight??void 0,weight3:e?.heading_3_weight??void 0,case2:e?.heading_2_case??void 0,case3:e?.heading_3_case??void 0})}var ue=[{key:"space-grotesk",label:"Space Grotesk",cssVar:"--font-display",category:"sans",italic:!1,italicLoaded:!1},{key:"inter",label:"Inter",cssVar:"--font-body",category:"sans",italic:!0,italicLoaded:!0},{key:"poppins",label:"Poppins",cssVar:"--font-poppins",category:"sans",italic:!0,italicLoaded:!0},{key:"dm-sans",label:"DM Sans",cssVar:"--font-dm-sans",category:"sans",italic:!0,italicLoaded:!0},{key:"sora",label:"Sora",cssVar:"--font-sora",category:"sans",italic:!1,italicLoaded:!1},{key:"oswald",label:"Oswald",cssVar:"--font-oswald",category:"sans",italic:!1,italicLoaded:!1},{key:"archivo",label:"Archivo",cssVar:"--font-archivo",category:"sans",italic:!0,italicLoaded:!0},{key:"outfit",label:"Outfit",cssVar:"--font-outfit",category:"sans",italic:!1,italicLoaded:!1},{key:"manrope",label:"Manrope",cssVar:"--font-manrope",category:"sans",italic:!1,italicLoaded:!1},{key:"big-shoulders",label:"Big Shoulders",cssVar:"--font-big-shoulders",category:"sans",italic:!1,italicLoaded:!1},{key:"michroma",label:"Michroma",cssVar:"--font-michroma",category:"sans",italic:!1,italicLoaded:!1},{key:"assistant",label:"Assistant",cssVar:"--font-assistant",category:"sans",italic:!1,italicLoaded:!1},{key:"jost",label:"Jost",cssVar:"--font-jost",category:"sans",italic:!0,italicLoaded:!0},{key:"fraunces",label:"Fraunces",cssVar:"--font-serif",category:"serif",italic:!0,italicLoaded:!0},{key:"playfair-display",label:"Playfair Display",cssVar:"--font-playfair",category:"serif",italic:!0,italicLoaded:!0},{key:"cormorant",label:"Cormorant",cssVar:"--font-cormorant",category:"serif",italic:!0,italicLoaded:!0},{key:"jetbrains-mono",label:"JetBrains Mono",cssVar:"--font-mono-loaded",category:"mono",italic:!0,italicLoaded:!0}],ee=new Map(ue.map(e=>[e.key,e]));function Sp(e){return ee.get(e)}var Tt=["heading","heading2","heading3","body","accent","label"];function _p(e){return typeof e=="string"&&Tt.includes(e)?e:null}var Tp={heading:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",body:"Body",accent:"Emphasis",label:"Labels"},xr=[["font-heading2","heading2"],["font-heading3","heading3"],["font-display","heading"],["font-serif","accent"],["font-mono","label"],["font-body","body"]],Or=/var\(--size-(headingLarge|headingMedium|headingSmall|accent|body|label)\s*,/,vp={heading:"headingLarge",heading2:"headingMedium",heading3:"headingSmall",accent:"accent",body:"body",label:"label"},kr={headingLarge:"heading",headingMedium:"heading2",headingSmall:"heading3",accent:"accent",body:"body",label:"label"};function xp(e){let t=e?Or.exec(e):null;return t?kr[t[1]]??null:Ar(e)}function Ar(e){if(!e)return null;let t=e.split(/\s+/).filter(n=>!n.slice(0,n.lastIndexOf(":")+1).includes("&")).map(n=>n.slice(n.lastIndexOf(":")+1));for(let[n,o]of xr)if(t.includes(n))return o;return null}var U={heading:"space-grotesk",heading2:"space-grotesk",heading3:"space-grotesk",body:"inter",accent:"fraunces",label:"jetbrains-mono"};function Rr(e){let t=n=>{let o=e?.[n];if(o&&ee.has(o))return o;if(n==="heading2"||n==="heading3"){let a=e?.heading;return a&&ee.has(a)?a:U.heading}return U[n]};return Object.fromEntries(Tt.map(n=>[n,t(n)]))}function Cr(e,t){return ee.get(e[t])??ee.get(U[t])}function J(e,t){return`var(${Cr(e,t).cssVar})`}var Op=[...new Set(Tt.map(e=>ee.get(U[e]).cssVar))],kp=[...new Set(ue.map(e=>e.cssVar))];function Ap(e){let t=Rr(e);return{"--font-role-heading":J(t,"heading"),"--font-role-heading2":J(t,"heading2"),"--font-role-heading3":J(t,"heading3"),"--font-role-body":J(t,"body"),"--font-role-accent":J(t,"accent"),"--font-role-label":J(t,"label"),fontFamily:"var(--font-role-body)"}}var ho={},uo=Lr({settings:null,setSettings:()=>{},primeSettings:()=>{},websiteName:null,templateChrome:!1,templateName:null,chromePlaceholder:!1,themeMode:wt,setThemeMode:()=>{},themeSwitchShown:gt,setThemeSwitchShown:()=>{},theme:Ce,themeRow:"none",setTheme:()=>{},fonts:U,setFonts:()=>{},sizes:Et,setSizes:()=>{},cornerRadiusPx:null,setCornerRadiusPx:()=>{},cardShadow:null,setCardShadow:()=>{},shadowColor:null,setShadowColor:()=>{},cardGap:Ie,setCardGap:()=>{},hoverEffect:null,setHoverEffect:()=>{},headingCompression:he,setHeadingCompression:()=>{},siteWidth:null,setSiteWidth:()=>{},siteGutter:null,siteGutterPhone:null,blockGap:null,blockGapPhone:null,siteLengthUnits:ho,setSiteGutter:()=>{},setSiteGutterPhone:()=>{},setBlockGap:()=>{},setBlockGapPhone:()=>{},headingTypography:_t,setHeadingTypography:()=>{},textStyles:null,setTextStyles:()=>{},wordStyles:null,heroBackgroundFollowsWidth:null,setHeroBackgroundFollowsWidth:()=>{},sectionBackgroundWidth:null,setSectionBackgroundWidth:()=>{},sectionContentWidth:null,setSectionContentWidth:()=>{},photographyGrayscale:null,setPhotographyGrayscale:()=>{},shareButtonOnPosts:null,setShareButtonOnPosts:()=>{},themeFromDocument:!1});function Hp({children:e,websiteName:t=null,templateChrome:n=!1,templateName:o=null,chromePlaceholder:a=!1,themeMode:s=wt,onThemeModeChange:i,themeSwitchShown:r=gt,onThemeSwitchShownChange:l,theme:d=Ce,themeRow:p="none",onThemeChange:h,fonts:N=U,onFontsChange:I,sizes:W=Et,onSizesChange:ve,cornerRadiusPx:tt=null,onCornerRadiusPxChange:xe,cardShadow:nt=null,onCardShadowChange:En,shadowColor:Us=null,onShadowColorChange:Sn,cardGap:Ys=Ie,onCardGapChange:_n,hoverEffect:$s=null,onHoverEffectChange:Tn,headingCompression:Ks=he,onHeadingCompressionChange:vn,siteWidth:Vs=null,onSiteWidthChange:xn,siteGutter:Xs=null,siteGutterPhone:js=null,blockGap:zs=null,blockGapPhone:qs=null,siteLengthUnits:Zs=ho,onSiteGutterChange:On,onSiteGutterPhoneChange:kn,onBlockGapChange:An,onBlockGapPhoneChange:Rn,headingTypography:Qs=_t,onHeadingTypographyChange:Cn,textStyles:Js=null,onTextStylesChange:Ln,wordStyles:ei=null,heroBackgroundFollowsWidth:ti=null,onHeroBackgroundFollowsWidthChange:Nn,sectionBackgroundWidth:ni=null,onSectionBackgroundWidthChange:In,sectionContentWidth:oi=null,onSectionContentWidthChange:Pn,photographyGrayscale:ai=null,onPhotographyGrayscaleChange:Hn,shareButtonOnPosts:si=null,onShareButtonOnPostsChange:Dn,themeFromDocument:ii=!1}){let[de,Bn]=Pr(null),ri=u(c=>Bn(Ni=>Ni??c),[]),li=u(c=>i?.(c),[i]),ci=u(c=>l?.(c),[l]),di=u(c=>h?.(c),[h]),hi=u(c=>I?.(c),[I]),ui=u(c=>ve?.(c),[ve]),pi=u(c=>xn?.(c),[xn]),mi=u(c=>On?.(c),[On]),fi=u(c=>kn?.(c),[kn]),wi=u(c=>An?.(c),[An]),gi=u(c=>Rn?.(c),[Rn]),bi=u(c=>Nn?.(c),[Nn]),yi=u(c=>In?.(c),[In]),Ei=u(c=>Pn?.(c),[Pn]),Si=u(c=>Hn?.(c),[Hn]),_i=u(c=>Dn?.(c),[Dn]),Ti=u(c=>xe?.(c),[xe]),vi=u(c=>En?.(c),[En]),xi=u(c=>Sn?.(c),[Sn]),Oi=u(c=>_n?.(c),[_n]),ki=u(c=>Tn?.(c),[Tn]),Ai=u(c=>vn?.(c),[vn]),Ri=u(c=>Cn?.(c),[Cn]),Ci=u(c=>Ln?.(c),[Ln]),Mn=de?.logoUrl,Fn=de?.logoReversed,Gn=de?.logoInkIsDark,Wn=de!==null,Li=Ir(()=>({logo:Wn?{logoUrl:Mn,logoReversed:Fn,logoInkIsDark:Gn}:null,placeholder:n||a,wordmark:n?o:t}),[Wn,Mn,Fn,Gn,n,a,o,t]);return co(at.Provider,{value:Li,children:co(uo.Provider,{value:{settings:de,setSettings:Bn,primeSettings:ri,websiteName:t,templateChrome:n,templateName:o,chromePlaceholder:a,themeMode:s,setThemeMode:li,themeSwitchShown:r,setThemeSwitchShown:ci,theme:d,themeRow:p,setTheme:di,fonts:N,setFonts:hi,sizes:W,setSizes:ui,cornerRadiusPx:tt,setCornerRadiusPx:Ti,cardShadow:nt,setCardShadow:vi,shadowColor:Us,setShadowColor:xi,cardGap:Ys,setCardGap:Oi,hoverEffect:$s,setHoverEffect:ki,headingCompression:Ks,setHeadingCompression:Ai,siteWidth:Vs,setSiteWidth:pi,siteGutter:Xs,siteGutterPhone:js,blockGap:zs,blockGapPhone:qs,siteLengthUnits:Zs,setSiteGutter:mi,setSiteGutterPhone:fi,setBlockGap:wi,setBlockGapPhone:gi,headingTypography:Qs,setHeadingTypography:Ri,textStyles:Js,setTextStyles:Ci,wordStyles:ei,heroBackgroundFollowsWidth:ti,setHeroBackgroundFollowsWidth:bi,sectionBackgroundWidth:ni,setSectionBackgroundWidth:yi,sectionContentWidth:oi,setSectionContentWidth:Ei,photographyGrayscale:ai,setPhotographyGrayscale:Si,shareButtonOnPosts:si,setShareButtonOnPosts:_i,themeFromDocument:ii},children:e})})}var Hr=()=>Nr(uo);function Dp(e,t,n){return e?t===n?"read":"loading":"none"}function Bp(e,t){return{value:e,readFor:t}}function Mp(e,t,n){return{value:t,readFor:e.readFor===n?n:null}}function Fp(){let{sectionContentWidth:e,themeFromDocument:t}=Hr();return t?null:e}var g=e=>typeof e=="string"&&e?e:void 0;function pe(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function te(e,t){return Object.hasOwn(e,t)}var $p=["general","commerce","service"],ne=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"GalleryB",label:"Gallery",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"},{type:"DocTabs",label:"Tab Bar",set:"general"},{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Banner",label:"Banner",set:"general"}]}];function Kp(){return Object.fromEntries(ne.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}var Dr="2027-02-05",po={CategoryBar:{label:"Category bar",note:`The reviewer, 2026-11-06 (the page headers and the tab bars become TWO Layouts rows, Page Header and Tab Bar): Category Bar folds into the Tab Bar. Retired from the Add menu with no second preset.
|
|
2
|
-
|
|
3
|
-
WHAT REPLACES IT: Tab Bar, a Box pinned under the header that stays above the sections after it, with a line below, holding the Menu block (One row, Menu style Tabs, Current page). Set the Menu's content to Blog categories: the blog's own categories, most posts first, each with its count in its cell (the host seeds the count card, Count on). Its converter row (\`section-to-box-rows-tabbar\` \`categoryBar\`, OFF) draws that bar for a stored page that moves later.
|
|
4
|
-
|
|
5
|
-
WHAT A MERCHANT LOSES: typed tabs with typed counts (the Menu draws the blog's categories, or a Console menu); the Archive and RSS links at the bar's right end (a Box beside the Menu holds Buttons, if wanted); the first tab marked when no page matches (the Menu marks the page's own entry); the blur behind the bar.
|
|
6
|
-
|
|
7
|
-
0 Category Bars are stored on the US sites (34 pages, draft and published; read only, 2026-11-09). Old sites stay as they are (owner, 2026-11-06).
|
|
8
|
-
|
|
9
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding a Category Bar still renders through it and can still be edited; no document is rewritten. Delete the component when CategoryBar is on SECTION_TO_BOX_ON and the stored count on the US sites is 0.`},Masthead:{label:"Issue Header",note:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
|
|
10
|
-
|
|
11
|
-
WHAT REPLACES IT: Page Header, a Box of Text blocks: a Header Box (the eyebrow, the title, a Details Box of one Text per line) over a Deck Box. Every Issue Header field is plain words with no data source, so the merchant makes the issue shape from Text blocks in that Box: the issue lines are Details lines, the lead is the Deck, and the "In this issue" panel is a Box of Texts beside it. Its converter row (\`section-to-box-rows-pageheader\` \`masthead\`, OFF) stays for a stored page that moves later.
|
|
12
|
-
|
|
13
|
-
WHAT A MERCHANT LOSES: a press that lays down the two-row issue shape with its "In this issue" panel; the merchant builds it from Boxes and Text blocks. No field is lost.
|
|
14
|
-
|
|
15
|
-
1 Issue Header is stored on the US sites (journal, draft and published; read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
|
|
16
|
-
|
|
17
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding an Issue Header still renders through it and can still be edited; no document is rewritten.`},Grid:{label:"Grid",note:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A \u2014 shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or Custom, and its own `Columns` in the Phone view. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` \u2014 256 documents): 2 Grid nodes, and they are ONE Grid counted twice \u2014 the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 \u2014 equal thirds \u2014 and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n\u26A0\uFE0F THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned \u2014 hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. \u26D4 So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says \u2014 Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS \u2014 the owner redoes live sections himself.\n\n\u26A0\uFE0F AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/document/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot \u2014 a Box included \u2014 refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` \xA73 pins it.'},CompatibleTyres:{label:"Compatible Tyres",note:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings \u2014 it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 \u2014 it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n\u26A0\uFE0F THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call \u2014 nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n \u2022 settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT \u2014 the map holds only TimelineTrack and Footprint, both AUTHORED lists\n \u2022 read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n \u2022 panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n \u2022 head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero \u2014 neither can style them \u2014 and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/document/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS \u2014 the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n\u26A0\uFE0F AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.'},Spacer:{label:"Spacer",note:`Lewis, 2026-10-10 (section-merges.md group 19, approved): one Divider holds space and lines. Style = None (was Spacer) / Line / Stripes; the space above and below as number boxes. Retired by card [MERGE] Spacer Into Divider (2026-10-26).
|
|
18
|
-
|
|
19
|
-
WHAT REPLACES IT: a Divider with Style set to None. It draws no line, only its space, and that space is the Divider's Padding row (top and bottom, each with its phone value): the Spacer's 24 / 48 / 96 / 160 px are None with Padding 12 + 12, 24 + 24, 48 + 48, 80 + 80. \`scripts/test-divider-holds-the-spacer.tsx\` \xA75 holds it.
|
|
20
|
-
|
|
21
|
-
WHAT A MERCHANT LOSES on a NEW space: nothing the Spacer had. Four fixed sizes become any number on the 4px grid, top and bottom apart, and a phone value.
|
|
22
|
-
|
|
23
|
-
NO CONVERTER ROW: 0 Spacer nodes on any page, draft or published, in any schema of the local production clone (read-only count, 2026-10-26), and none in the backend's seed files. This entry is its reason in the guard (\`scripts/test-section-to-box.tsx\` \xA75: a retired type is accounted for).
|
|
24
|
-
|
|
25
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Spacer anywhere still renders through it and can still be edited; no document is rewritten.`},KeyFeatures:{label:"Key Features",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds Cards and Key Features; Key Features' diamond cells are the card style "Label only". Retired by card [MERGE] One Text Block And Click Through Parts (2026-10-22).
|
|
26
|
-
|
|
27
|
-
WHAT REPLACES IT: a Cards section with Card style set to Label only. Every cell is a copy of the Label only card template (Cards/card-seed \`labelOnlyCardSeed\`): a cell Box (its link from the row's \`href\`), a 9px Mark Box in the main colour turned 45 degrees, and the label Text; the eyebrow starts on the pill look when none is stored. A cell's words are the card's \`title\` (row "Feature label"), its link the card's \`href\` (row "Link"). The Key Features conversion lands on the same card (\`scripts/test-key-features-diamond.tsx\`).
|
|
28
|
-
|
|
29
|
-
WHAT A MERCHANT LOSES on a NEW Label only section: nothing this section had. It GAINS the Cards head split (its head can move into a box of its own), which Key Features never had: that head draws the shared \`simple\` head, eyebrow ABOVE the heading, where Key Features drew it beside.
|
|
30
|
-
|
|
31
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT, until the stored nodes move (delete date ${Dr}). Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`},DeliveryOptions:{label:"Delivery Options",note:"Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids \u2014 Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).\n\nWHAT REPLACES IT: Cards with Card content set to Delivery options, drawn from its card template: the backend's `delivery-options` rows (name, price, time, note), one card each, in the website's own currency. The one Highlighted card row and the Highlight badge replace the per-option Highlight switch.\n\nWHAT A MERCHANT LOSES: more than one highlighted option (Lewis approved ONE Highlighted card row, 2026-10-10). No stored node held two.\n\nNO CONVERTER ROW: 0 DeliveryOptions nodes on the US sites, draft or published (read only, 2026-11-04). This entry is its reason in the guard (`scripts/test-section-to-box.tsx` \xA75).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A Delivery Options anywhere still renders through it and can still be edited; no document is rewritten.\n\nDELETE DATE 2026-12-18: the retired component in efficient-storefront-blocks (`components/DeliveryOptions`, `DeliveryOptionsSource`, `blocks/commerce/DeliveryOptions`) goes then, in a storefront-blocks follow-up. 0 stored DeliveryOptions nodes on the 34 US pages, draft or published (read only, 2026-11-08), and no converter row is coming."},Series:{label:"Recurring Columns",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids \u2014 Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
|
|
32
|
-
|
|
33
|
-
WHAT REPLACES IT: Cards drawn from its card template. A column's number is Number, its "Right Top Text" Corner note, its title Card title, its words Card body, its count and label one Count, and the one \`viewLabel\` a plain Text typed once in the template, so every card shows it; the background is the Box's. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
|
|
34
|
-
|
|
35
|
-
WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints; a short row no longer keeps 4 columns; the count is one plain Text, its figure no longer in the text ink; a card with no count still draws the footer line.
|
|
36
|
-
|
|
37
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Recurring Columns still renders through it and can still be edited; no document is rewritten.`},DocMetaCards:{label:"Document Detail Cards",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids \u2014 Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
|
|
38
|
-
|
|
39
|
-
WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value and a Card body. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
|
|
40
|
-
|
|
41
|
-
WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints, not the old 40 (16 on a phone).
|
|
42
|
-
|
|
43
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`},StatsParagraph:{label:"Stats with Text",note:`Lewis, 2026-10-10 (approved): one Stats holds Stats and Stats with Text. Its head (eyebrow, heading, body) and each number's Prefix, Unit, Superscript, Label, "Use accent color" and text go into Stats; Card style Table (the old Stats with Text) or List (the old Stats). 2026-10-27: no Number block, the cards are Box + Text. Retired when the two became one Stats (2026-11-06).
|
|
44
|
-
|
|
45
|
-
WHAT REPLACES IT: a Stats press, a Box of real parts: three head Texts, then a Stats Box holding ONE Card list, Card style Table. Each number is a row of the Card list; its card is a figure Text (the prefix and number typed in it, the unit marked \`==_yr_==\`, which draws the section theme's Main colour; a whole number in that colour is \`==_8_==\`), a superscript Text beside it, a label Text and a body Text, each showing its row's field, and a row may link its own live number. The Stats Box's Card style row (Table / List) writes the Box's Gap and the card's own Border, Padding and Height.
|
|
46
|
-
|
|
47
|
-
WHAT A MERCHANT LOSES: the numbers do not count up (the Text block's Count up numbers setting is its own change, held); the figure has no tabular numbers; a unit is not a lighter weight than its number; rows of four stack below 800px, not two columns from 1100px.
|
|
48
|
-
|
|
49
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Stats with Text still renders through it and can still be edited; no document is rewritten (owner 2026-11-06: old sites stay as they are).`},Testimonials:{label:"Testimonials",note:"Lewis, 2026-10-10 (section-merges.md group 6, approved): Testimonials goes into Reviews, whose Review content is Manual (typed quotes) or Reviews (the store's approved reviews), with a product choice in place of the old Design code. Retired by card [MERGE] Remaining Section Merges (2026-11-06), after Reviews took typed quotes and a card template (efficient-storefront-blocks #242) and the product choice (#359).\n\nWHAT REPLACES IT: Reviews with Review content set to Manual. Every Testimonials key has the same key there: `eyebrow`, `eyebrowLook`, `title`, `items[]` (`quote`, `name`, `role`), `columns` 1-3 and `headPlacement` (both split their head). A typed review also has a `title` and a `rating`, empty for a quote that has none.\n\nWHAT A MERCHANT LOSES on a NEW quote list: nothing this section had. Reviews is in the service set where this section was general; no host narrows the sets (2026-11-06).\n\nNO CONVERTER ROW HERE: its Box row is efficient-storefront-blocks' (`section-to-box-rows-reviews`, OFF). 0 Testimonials nodes on the US sites, draft or published (read only, 2026-11-06). Old sites stay as they are (owner, 2026-11-06).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Testimonials anywhere still renders through it and can still be edited; no document is rewritten."},SubscribeBlogs:{label:"Subscribe with Posts",note:"card 66396 \u2014 folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},RelatedProducts:{label:"Related Products",note:`Owner, 2026-11-06 (plan productgrid-card-template-2026-11-06, inovit row 19): a Product Grid with "Show the current product's related" on IS the related grid, so offering both asked a merchant to choose between two names for one section.
|
|
50
|
-
|
|
51
|
-
WHAT REPLACES IT: Product Grid, bound to the current product. Both draw every card through the grid's ONE card template (efficient-storefront-blocks, lib/content/product-card-seed).
|
|
52
|
-
|
|
53
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Related Products node is read as that grid by the host (\`relatedToGrid\`) and draws the same cards; no document is rewritten. Its footnote is the one value the grid has no home for.`},BundleOffer:{label:"Bundle Products",note:`Plan section-parts bundles grid source (2026-11-07): a Product Grid that shows "Bundles with this product" IS the bundle section, so offering both asked a merchant to choose between two names for one section.
|
|
54
|
-
|
|
55
|
-
WHAT REPLACES IT: Product Grid, bound to the current product, Show set to its bundles. Both draw every kit through the grid's ONE card template (efficient-storefront-blocks, lib/content/product-card-seed).
|
|
56
|
-
|
|
57
|
-
THE TYPE KEY STAYS AND SO DOES THE DRAWING. A stored Bundle Products node is read as that grid by the host (\`bundleToGrid\`) and draws its kits; no document is rewritten.`},TyreFitment:{label:"Tyre Fitment Form",note:`Owner, 2026-10-10 (approved): the Tyre Fitment Form goes into the Fitment Form, whose answer follows the page. One vehicle section, not two.
|
|
58
|
-
|
|
59
|
-
WHAT REPLACES IT: the Fitment Form, a Box of a head, the vehicle picker (\`FitmentPicker\`), its answer (\`StockFitment\`) and a Button. On a tyre product page the answer part draws one verdict per size against the picked car, the same \`TyreFitVerdicts\` drawing this section made; on every other page it draws the car's OEM fitment card (efficient-storefront-blocks 0.87.0). The old escape link is the Box's Button.
|
|
60
|
-
|
|
61
|
-
WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a press seeds the Fitment Form's own head. The page decides the answer, so there is no mode row.
|
|
62
|
-
|
|
63
|
-
NO CONVERTER ROW: 0 TyreFitment nodes on the US sites, draft or published (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
|
|
64
|
-
|
|
65
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`},EuTyreLabel:{label:"EU Tyre Label",note:`Owner, 2026-10-10 (approved): the EU Tyre Label becomes a Spec Table display chip. One place for a tyre's sheet, not two sections.
|
|
66
|
-
|
|
67
|
-
WHAT REPLACES IT: the Spec Table's "EU tyre label" Display chip (efficient-storefront-blocks, default off), which draws this page's grades under the tyre sheet; and the EU Tyre Label block (\`EuTyreLabelBlock\`, efficient-storefront-blocks), the same grades as a block of their own. Both read the grades live through the one grades draw (\`EuTyreLabelGrades\`), as this section did. Default on for sites that sell to the EU or UK waits for a site market source (a later step).
|
|
68
|
-
|
|
69
|
-
WHAT A MERCHANT LOSES: the label as a section of its own, with its fixed head ("EU tyre label.") and its section number (\`num\`, its only field). The grades, their source line and the live read are not lost.
|
|
70
|
-
|
|
71
|
-
NO CONVERTER ROW: 0 EU Tyre Labels are stored on the US and AU sites (inovit_us and inovit_au, \`layout\` and \`published_layout\`; read only, 2026-11-10). Old sites stay as they are (owner, 2026-11-06).
|
|
72
|
-
|
|
73
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks EuTyreLabels). A stored EU Tyre Label still renders through it and can still be edited, its width, heading level, settings groups and cover included; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items \xB7 Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. \u26D4 A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},Br=Object.fromEntries(Object.entries(po).map(([e,t])=>[e,t.note])),Vp=["Grid","Spacer","TyreFitment"],Xp=Array.from(new Set([...ne.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(Br)])),Mr=Object.fromEntries(Object.entries(po).map(([e,t])=>[e,t.label])),jp={...Mr,...Object.fromEntries(ne.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},Fr={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",HostPart:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CategoryBar:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",WheelDiagram:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",EuTyreLabel:"commerce",PaymentBadges:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},vt={...Fr,...Object.fromEntries(ne.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function zp(e){return pe(vt,e)}function xt(e){return Object.keys(vt).filter(t=>pe(vt,t)===e).sort()}var qp=xt("general"),Zp=xt("commerce"),Qp=xt("service"),Gr="Flex",Pe="Box",Jp=`${Pe}es`;function Wr(e){return e==="section"?"Blank section":Pe}function em(e,t,n){return e===Gr?Wr(t):n}var Y=["highlight","strong","quiet"],$={highlight:"Highlight",strong:"Bold",quiet:"Quiet"},R={highlight:{kind:"wordHighlight",delimiter:"@@"},strong:{kind:"wordStrong",delimiter:"++"},quiet:{kind:"wordQuiet",delimiter:"^^"}},om=Object.fromEntries(Y.map(e=>[R[e].kind,e])),am="data-sf-ws",Ur=["accent","text","labels"],Yr={accent:"var(--accent)",text:"var(--fg)",labels:"var(--fg-dim)"},$r=80,Kr=120,Vr=100,Xr=900,jr=.5,zr=3,qr=-.1,Zr=.5,Qr=3,Ot={font:null,size:null,weight:null,bold:null,italic:null,lineGap:null,textGap:null,colour:null},Jr={highlight:{...Ot},strong:{...Ot},quiet:{...Ot}};function mo(e,t,n){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),n))}function fo(e,t,n){if(typeof e!="number"||!Number.isFinite(e))return null;let o=10**Qr;return Math.round(Math.min(Math.max(e,t),n)*o)/o}function wo(e){return typeof e=="boolean"?e:null}function el(e){let t=typeof e?.font=="string"&&ue.some(o=>o.key===e.font)?e.font:null,n=typeof e?.colour=="string"&&Ur.includes(e.colour)?e.colour:null;return{font:t,size:mo(e?.size,$r,Kr),weight:mo(e?.weight,Vr,Xr),bold:wo(e?.bold),italic:wo(e?.italic),lineGap:fo(e?.lineGap,jr,zr),textGap:fo(e?.textGap,qr,Zr),colour:n}}function go(e){let t={};for(let n of Y)t[n]=e&&n in e&&e[n]?el(e[n]):{...Jr[n]};return t}function sm(e){let t=go(e),n={};for(let o of Y){let a=t[o],s=`--sf-ws-${o}`;if(a.font){let i=ue.find(r=>r.key===a.font);i&&(n[`${s}-font`]=`var(${i.cssVar})`)}a.size!==null&&(n[`${s}-size`]=`${a.size/100}em`),a.weight!==null&&(n[`${s}-weight`]=String(a.weight)),a.bold!==null&&(n[`${s}-weight-bold`]=a.bold?"700":"400"),a.italic!==null&&(n[`${s}-style`]=a.italic?"italic":"normal"),a.lineGap!==null&&(n[`${s}-line`]=String(a.lineGap)),a.textGap!==null&&(n[`${s}-track`]=`${a.textGap}em`),a.colour!==null&&(n[`${s}-color`]=Yr[a.colour])}return n}function im(e){let t=e?.word_styles??void 0,n={};for(let o of Y)t&&o in t&&(n[o]=t[o]??null);return go(n)}import{applyMark as cm,markupTools as dm,MARKUP_TOOLS as hm,COPY_FIELD_TOOLS as um,STOREFRONT_MARKUP as pm,tokenizeInline as mm,stripInline as fm,isSafeLinkHref as wm}from"efficient-shell/markup";import{applyMark as tl,clearStyle as nl,markedAt as ol,markupTools as al,MARKUP_TOOLS as sl,parseMarkup as il,RETIRED_MARKS as rl,STOREFRONT_MARKUP as ll,tokenizeInline as bm}from"efficient-shell/markup";var cl=new Set(["strong"]),bo=Y.map(e=>({open:R[e].delimiter,close:R[e].delimiter,kind:R[e].kind,...cl.has(e)?{wordStart:!0}:{}})),Em=[{style:R.highlight.kind,label:$.highlight,title:`${$.highlight} word style`},{style:R.strong.kind,label:$.strong,title:`${$.strong} word style`},{style:R.quiet.kind,label:$.quiet,title:`${$.quiet} word style`}],dl=new Set(bo.map(e=>e.open)),kt=[...ll.filter(e=>!dl.has(e.open)),...bo];function hl(e){return e.bullet?"- ":e.number!=null?`${e.number}. `:""}function yo(e){return il(typeof e=="string"?e:"",kt)}var ul=sl.map(e=>e.style).filter(e=>!rl.includes(e)).filter(e=>kt.some(t=>t.kind===e));function Sm(){return al(ul)}var Eo=Object.fromEntries(Y.map(e=>[R[e].kind,R[e].delimiter]));function _m(e,t,n,o){let a=Eo[o];if(!a)return tl(e,t,n,o);let s=e.slice(t,n),i=e.slice(Math.max(0,t-a.length),t),r=e.slice(n,n+a.length);if(i===a&&r===a)return{text:e.slice(0,t-a.length)+s+e.slice(n+a.length),selectionStart:t-a.length,selectionEnd:t-a.length+s.length};let l=s||"styled text";return{text:e.slice(0,t)+a+l+a+e.slice(n),selectionStart:t+a.length,selectionEnd:t+a.length+l.length}}function Tm(e,t,n,o){let a=Eo[o];return a?t>=a.length&&e.slice(t-a.length,t)===a&&e.slice(n,n+a.length)===a:ol(e,t,n,o)}function So(e){return e.replace(/==(.+?)==/g,(t,n)=>n.startsWith("_")&&n.endsWith("_")?t:`==_${n}_==`)}function vm(e){return yo(e).map(t=>hl(t)+_o(t.children)).join(`
|
|
74
|
-
`)}function xm(e,t,n){return nl(e,t,n,kt)}function _o(e){return e.map(t=>t.kind==="text"?t.text:_o(t.children)).join("")}function Om(e){let t=n=>n.some(o=>o.kind==="link"||"children"in o&&t(o.children));return yo(e).some(n=>t(n.children))}import{isNodeList as pl}from"efficient-easel/data";var He=["top-left","top-center","top-right","left","center","right","bottom-left","bottom-center","bottom-right"],vo="bottom-left",oe=4,ml=oe+1,To=40,fl=30,wl=100,gl=60,Rm=100;var At={"top-left":"Top left","top-center":"Top center","top-right":"Top right",left:"Left",center:"Center",right:"Right","bottom-left":"Bottom left","bottom-center":"Bottom center","bottom-right":"Bottom right"};function bl(e){let t=He.indexOf(me(e));return{band:Math.floor(t/3),column:["start","center","end"][t%3]}}function yl(e){return 1+bl(e).band*(ml+1)}function Cm(e){return yl(e)+1}function me(e){return He.includes(e)?e:vo}function Lm(e){let t=typeof e=="number"&&Number.isFinite(e)?e:0;return Math.max(-To,Math.min(To,Math.round(t)))}function Nm(e,t=gl){let n=typeof e=="number"&&Number.isFinite(e)?e:t;return Math.max(fl,Math.min(wl,Math.round(n)))}function Rt(e,t){let n=me(t);return e.filter(o=>me(o?.props?.placement)===n).length}function xo(e){return`${At[me(e)]} already holds ${oe} boxes. Move one somewhere else first.`}function Im(e,t){let n=e.filter(o=>o?.props?.id!==t);return He.map(o=>{let a=Rt(n,o)>=oe,s=At[o];return a?{value:o,label:s,disabled:!0,title:xo(o)}:{value:o,label:s}})}function El(e,t){let n=t===void 0?vo:me(t?.props?.placement);return Rt(e,n)>=oe?xo(n):null}var Oo="HeroGroup";function Sl(e){return He.map(t=>{let n=Rt(e,t);return{anchor:t,total:n,hidden:n-oe}}).filter(t=>t.hidden>0)}function Pm(e){let t=Sl(e);return t.length===0?null:t.map(({anchor:n,total:o,hidden:a})=>{let s=At[n],i=a===1?"1 is not shown":`${a} are not shown`;return`${s} holds ${o} boxes. The published page draws the first ${oe}, so ${i}. ${a===1?"Move it":"Move them"} somewhere else.`}).join(" ")}function Hm(e,t){let n=t;if(n?.type!==Oo)return null;let o=n.props?.id===void 0?"":String(n.props.id);return o?El(_l(e,o),n):null}function _l(e,t){let n=ko(e,t);return n&&n.ownerType===vl?n.siblings:[]}function Dm(e,t){let n=ko(e,t);return n?n.ancestorTypes.filter(o=>o===Oo).length:Tl}var Tl=1,vl="HeroSlide";function ko(e,t){let n=(o,a,s)=>{if(a>12||!o||typeof o!="object")return null;if(pl(o)){if(o.some(i=>i?.props?.id===t))return{siblings:o,ownerType:s.at(-1)??null,ancestorTypes:s};for(let i of o){let r=i.type,l=n(i,a+1,[...s,String(r)]);if(l)return l}return null}for(let i of Object.values(o)){let r=n(i,a+1,s);if(r)return r}return null};return n(e,0,[])}import{forwardRef as xl}from"react";import{jsx as Al}from"react/jsx-runtime";function Ol(e){if(typeof e=="string")return e;let t=e.query?`?${new URLSearchParams(e.query).toString()}`:"",n=e.hash?e.hash.startsWith("#")?e.hash:`#${e.hash}`:"";return`${e.pathname??""}${t}${n}`}var kl=xl(function({href:t,prefetch:n,replace:o,scroll:a,shallow:s,legacyBehavior:i,passHref:r,locale:l,onClick:d,children:p,...h},N){let I=W=>{d?.(W),!(W.defaultPrevented||h.target==="_blank")&&W.preventDefault()};return Al("a",{ref:N,href:Ol(t),onClick:I,...h,children:p})}),Fm=kl;var Rl="Website";function Um(e){return e?.trim()||Rl}var Ao=["instagram","facebook","tiktok","youtube","x","linkedin","pinterest","whatsapp","telegram","line","wechat"],Cl={instagram:"Instagram",facebook:"Facebook",tiktok:"TikTok",youtube:"YouTube",x:"X",linkedin:"LinkedIn",pinterest:"Pinterest",whatsapp:"WhatsApp",telegram:"Telegram",line:"LINE",wechat:"WeChat"},Ll={};function $m(e){if(!e||typeof e!="object")return Ll;let t={};for(let n of Ao){let o=e[n];if(typeof o!="string")continue;let a=o.trim();!a||!/^https?:\/\//i.test(a)||(t[n]=a)}return t}function Km(e){return Ao.flatMap(t=>{let n=e[t];return n?[{platform:t,href:n,label:Cl[t]}]:[]})}var Vm=e=>`${e}_url`;function ae(e,t){let n=globalThis,o=Symbol.for(e),a=n[o];return a===void 0&&(a=t(),n[o]=a),a}function fe(){return ae("efficient.slot-field-blocks",()=>new Set)}var Nl="dataSource",ef="dataSourceOptions",Il="dataRows",tf="countKey",nf="counts",of="location-payment-methods",af="shop-payment-methods",sf="delivery-options",rf="blog-categories",Ct="dealers";function Pl(e){return typeof e.open=="function"}var Lo=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function lf(e){return typeof e=="string"&&Lo.test(e)}var Ro=new Set([Ct]);function we(){return ae("efficient.block-sources",()=>({sources:new Map,revision:0}))}var Hl=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!==""),Dl=e=>[e?.key,e?.label].every(t=>typeof t=="string"&&t.trim()!==""),Co=e=>typeof e=="string"&&e.trim()!=="";function Bl(e){if(!e||!Co(e.label))return null;if(Pl(e))return{label:e.label.trim(),open:e.open};let t=e.href;return Co(t)?{label:e.label.trim(),href:t.trim()}:null}function Ml(e){if(typeof e.key!="string"||!Lo.test(e.key))throw new Error(`A block source key is lower-case words joined by hyphens, not ${JSON.stringify(e.key)}.`);if(typeof e.label!="string"||!e.label.trim())throw new Error(`The block source ${e.key} has no label.`);if(!Array.isArray(e.blocks)||!e.blocks.length||e.blocks.some(o=>typeof o!="string"||!o))throw new Error(`The block source ${e.key} names no block it can fill.`);let t=e.blocks.find(o=>fe().has(o));if(t)throw new Error(`The block source ${e.key} names ${t}, whose card template declares slot fields: slot fields take the place of a source's fields, so a block with slot fields reads no source.`);let n=Bl(e.edit);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(o=>Io(o)).filter(o=>o!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(Hl)}:{},...Array.isArray(e.fields)?{fields:e.fields.filter(Dl).map(o=>({...o}))}:{},...n?{edit:n}:{},...typeof e.useRows=="function"?{useRows:e.useRows}:{},...Array.isArray(e.records)?{records:e.records.filter(o=>typeof o=="string"&&o.trim()!=="").map(o=>o.trim())}:{}}}function cf(e){let t=e.map(Ml),n=we();for(let o of t)n.sources.set(o.key,o);t.length&&(n.revision+=1)}function No(e){let t=[...we().sources.values()],n=[...t.filter(o=>!Ro.has(o.key)),...t.filter(o=>Ro.has(o.key))];return e===void 0?n:n.filter(o=>o.blocks.includes(e))}function De(e){return we().sources.get(e)??null}function df(e){return we().sources.get(e)?.choices??[]}function hf(){return we().revision}function v(e){let t=e?.[Nl];return typeof t=="string"?t.trim():""}function Io(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let[n,o]of Object.entries(e)){let a=g(o);a&&(t[n]=a)}return Object.keys(t).length?t:null}function Fl(e){let t=e?.[Il];return Array.isArray(t)?t.map(Io).filter(n=>n!==null):null}function uf(e,t,n=[]){let o=Fl(e);if(o!==null&&(o.length||!t))return{rows:o,sample:!1};if(!t)return{rows:[],sample:!1};let a=De(v(e))?.sample;return{rows:a?.length?a:n,sample:!0}}var m="content",w="Flex",Gl="Text & media",Wl="Layout & structure",Ho=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"},{type:"Contents",label:"Contents"}],Ul=[...Ho,{type:"ListSearch",label:"List search"},{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats",retired:!0},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos",retired:!0},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:Gl})),Yl=(ne.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:Wl})),Po=[...Ul,...Yl],Lt=[...Ho,{type:"HeroGroup",label:Pe}],wf=Lt.map(e=>e.type),$l=1,Kl=Lt.filter(e=>e.type!=="HeroGroup");function Vl(e){return e<$l?Lt:Kl}var Xl={Flex:{slot:m,choices:()=>Po},Grid:{slot:m,choices:()=>Po},HeroGroup:{slot:m,choices:Vl}};function gf(e,t=0){let n=pe(Xl,e);return n?{slot:n.slot,choices:n.choices(t)}:null}import{AUTO_RULES as ql,FOLLOW_RULES as Zl,isAuto as Ql,resolveViewValue as Jl}from"efficient-easel/screen/lib/content/view-tiers";import{VIEW_DESKTOP_MIN as jl,VIEW_TABLET_MIN as zl}from"efficient-easel/screen/lib/content/view-tiers";var Bo="v1",Mo=800,Do={"view-tablet":zl,"view-desktop":jl,"view-wide":Mo};function Ef(e){let t=e.startsWith("max-"),n=t?e.slice(4):e;if(n in Do)return{px:Do[n],max:t};let o=/^(max|min)-\[(\d+)px\]$/.exec(e);return o?{px:Number(o[2]),max:o[1]==="max"}:void 0}var Sf=`(min-width: ${Mo}px)`;function ec(){return Bo==="v2"?ql:Zl}function Fo(e,t,n,o,a=ec()){let s=Jl(e,t,n,o,a),i={},r=(l,d)=>!Ql(l)||d!=null&&d!==t;return r(n,s.tablet)&&(i.tablet=s.tablet),r(o,s.phone)&&(i.phone=s.phone),i}var Nt="rowImageField",tc="boxOutsideCopy",nc={all:[{field:Nt,set:!0},{not:{context:tc,is:!0}}]},Of={any:[{field:"bgImage",set:!0},nc]},Go="boxInCopy",oc={any:[{not:{field:Nt,set:!0}},{not:{context:Go,is:!0}}]},kf={all:[{not:{field:"bgImage",set:!0}},oc]},Wo={all:[{not:{context:"parent.bgImage",set:!0}},{any:[{not:{context:`parent.${Nt}`,set:!0}},{not:{context:Go,is:!0}}]}]};function ge(e,t,n){return e.some(o=>(typeof o=="object"?o.value:o)===n)?n:t}var ac="small",sc="dot",ic=[{label:"Small",value:"small"},{label:"Display",value:"display"}],It=[{label:"Dot \u25CF",value:"dot"},{label:"Cross \u2715",value:"cross"},{label:"Slash /",value:"slash"},{label:"Triangle \u25BC",value:"triangle"},{label:"None",value:"none"}],Uo={dot:"\u25CF",cross:"\u2715",slash:"/",triangle:"\u25BC",none:""},rc={small:"font-mono text-[length:var(--size-label,14px)] uppercase tracking-[0.25em] max-view-wide:text-[length:var(--size-label,12px)]",display:"font-display font-medium text-[length:var(--size-headingMedium,44px)] uppercase leading-none tracking-[0.005em] max-view-wide:text-[length:var(--size-headingMedium,28px)]"},lc={small:{dot:"",cross:"text-[0.77em]",slash:"text-[0.77em]",triangle:"",none:""},display:{dot:"text-[0.3em]",cross:"text-[0.64em]",slash:"text-[0.64em]",triangle:"text-[0.3em]",none:""}};function Lf(e){return ge(ic,ac,e)}function Yo(e){return ge(It,sc,e)}function Nf(e){return rc[e]}function $o(e,t){return lc[e][t]}var Hf=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function Ko(e){return It.some(t=>t.value===e)?Yo(e):void 0}var cc="overflow-x-clip [&>*]:shrink-0 [&>[data-sf-box-items]>*]:shrink-0 [&>*]:max-view-wide:basis-[content] [&>[data-sf-box-items]>*]:max-view-wide:basis-[content] [&>*_:is(p,h1,h2,h3,h4,h5,h6)]:max-w-none [&>[data-sf-box-items]>*_:is(p,h1,h2,h3,h4,h5,h6)]:max-w-none [&>*_:is(.sf-button-block>div)]:font-mono [&>[data-sf-box-items]>*_:is(.sf-button-block>div)]:font-mono [&>*_:is(.sf-button-block>div)]:text-[length:var(--size-label,14px)] [&>[data-sf-box-items]>*_:is(.sf-button-block>div)]:text-[length:var(--size-label,14px)] [&>*_:is(.sf-button-block>div)]:tracking-[0.2em] [&>[data-sf-box-items]>*_:is(.sf-button-block>div)]:tracking-[0.2em] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:inline-flex [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:inline-flex [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:items-center [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:items-center [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:align-top [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:align-top [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:h-[calc(1lh/var(--sf-sep-k,1))] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:h-[calc(1lh/var(--sf-sep-k,1))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:mr-[var(--sf-gap-len,0px)] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:mr-[var(--sf-gap-len,0px)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-view-wide:before:mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-view-wide:before:mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-accent [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-accent [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:content-[var(--sf-sep-mark)] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:content-[var(--sf-sep-mark)]";function K(e,t){return e==="row"&&Ko(t)!==void 0}function Df(e,t){return K(e,t)?cc:""}var dc="[&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:inline-flex [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:items-center [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:align-top [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:h-[calc(1lh/var(--sf-sep-k,1))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:ml-[var(--sf-gap-len,0px)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-view-wide:after:ml-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-accent [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:content-[var(--sf-sep-mark)] [&>[data-sf-box-items]:last-child>*:not(:last-child)_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:content-none";function Bf(e,t){return K(e,t)?dc:""}function Mf(e,t){if(!K(e,t))return{};let n=Ko(t),o=/^text-\[([\d.]+)em\]$/.exec($o("small",n))?.[1],a=Uo[n];return{"--sf-sep-mark":a===""?"none":JSON.stringify(a),...o?{"--sf-sep-k":o}:{}}}var zo={sectionPaddingTop:0,sectionPaddingBottom:0},be={start:"justify-start",center:"justify-center",between:"justify-between",end:"justify-end"},ye={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"};function $f(e,t){let n=typeof e=="string"&&te(be,e)?be[e]:"",o=typeof t=="string"&&te(ye,t)?ye[t]:"";return[n,o].filter(Boolean).join(" ")}function hc(e){return e===!0||e==="wrap"?"flex-wrap":""}var uc={start:"view-wide:max-view-desktop:justify-start!",center:"view-wide:max-view-desktop:justify-center!",between:"view-wide:max-view-desktop:justify-between!",end:"view-wide:max-view-desktop:justify-end!"},pc={start:"max-view-wide:justify-start",center:"max-view-wide:justify-center",between:"max-view-wide:justify-between",end:"max-view-wide:justify-end"},mc={start:"view-wide:max-view-desktop:items-start!",center:"view-wide:max-view-desktop:items-center!",end:"view-wide:max-view-desktop:items-end!",stretch:"view-wide:max-view-desktop:items-stretch!"},fc={start:"max-view-wide:items-start",center:"max-view-wide:items-center",end:"max-view-wide:items-end",stretch:"max-view-wide:items-stretch"},wc={wrap:"view-wide:max-view-desktop:flex-wrap!",nowrap:"view-wide:max-view-desktop:flex-nowrap!"};function j(e,t){return typeof t=="string"&&te(e,t)?t:void 0}function Ht(e,t,n){let o=Fo("same",e,t,n),a={};return o.tablet!==void 0&&o.tablet!==e&&(a.tablet=o.tablet),o.phone!==void 0&&o.phone!==e&&(a.phone=o.phone),a}function Dt(e,t,n){return[e.tablet?t[e.tablet]:"",e.phone?n[e.phone]:""].filter(Boolean).join(" ")}function gc(e,t,n){return Ht(j(be,e)??"start",j(be,t),j(be,n))}function Kf(e,t,n){return Dt(gc(e,t,n),uc,pc)}function Vf(e,t,n){let o=j(ye,e)??"stretch";if(o==="stretch")return"";let a=Ht(o,j(ye,t),j(ye,n));return Dt(a,mc,fc)}function Pt(e){if(e===!0||e==="wrap")return"wrap";if(e===!1||e==="nowrap")return"nowrap"}function Xf(e,t){let n=hc(e)===""?"nowrap":"wrap",o=Pt(t);return o&&o!==n?wc[o]:""}var jf="Block widths",qo=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{value:"bigLeft",weights:[2,1]},{value:"bigRight",weights:[1,2]},{value:"biggerLeft",weights:[3,1]},{value:"biggerRight",weights:[1,3]},{value:"twoThree",weights:[2,3]}],bc="data-sf-box-items",zf=new RegExp(`[ \\t]+[^\\s"'\`]*\\[${bc}\\][^\\s"'\`]*`,"g");var qf=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{label:"Custom",value:"custom",weights:[2,1]}];function Zf(e){return Array.isArray(e)?"custom":e==="equal"?"equal":typeof e=="string"&&e in Be?"custom":"content"}var Zo=4,Vo=10;function yc(e,t){if(!Number.isInteger(t)||t<2||t>Zo||e.length!==t-1||!e.every(a=>typeof a=="number"&&Number.isFinite(a)))return;let n=[],o=0;return e.forEach((a,s)=>{let i=100-o-Vo*(t-1-s),r=Math.min(i,Math.max(Vo,Math.round(a)));n.push(r),o+=r}),n}function Xo(e,t,n){if(!Array.isArray(t))return;let o=yc(t,n),a=o?[...o,100-o.reduce((i,r)=>i+r,0)]:[],s={};for(let i=0;i<Zo;i+=1)s[`--${e}-${i+1}`]=a[i]??1;return s}function Qf(e,t,n){let o=Xo("sf-share",e,n),a=Xo("sf-share-tablet",t,n);return o||a?{...o,...a}:void 0}function Ec(e,t){let n=Array.from({length:t},()=>1),o=qo.find(i=>i.value===e);if(!o?.weights||t<1)return n;let[a,s]=o.weights;return a>1&&(n[0]=a),s>1&&(n[t-1]=s),n}function Jf(e,t){if(typeof e!="string"||!(e in Be)||e==="equal")return e;let n=Ec(e,t),o=n.reduce((a,s)=>a+s,0);return n.slice(0,-1).map(a=>Math.round(a/o*100))}var V="[&>*]:min-w-0 [&>[data-sf-box-items]>*]:min-w-0 [&>*]:flex-1 [&>[data-sf-box-items]>*]:flex-1 [&>*]:basis-0 [&>[data-sf-box-items]>*]:basis-0",Be={equal:V,bigLeft:`${V} [&>*:first-child]:view-wide:grow-[2] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[2]`,bigRight:`${V} [&>*:last-child]:view-wide:grow-[2] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[2]`,biggerLeft:`${V} [&>*:first-child]:view-wide:grow-[3] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[3]`,biggerRight:`${V} [&>*:last-child]:view-wide:grow-[3] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[3]`,twoThree:`${V} [&>*:first-child]:view-wide:grow-[2] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[2] [&>*:last-child]:view-wide:grow-[3] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[3]`},Sc=`${V} [&>*:nth-child(1)]:view-wide:grow-[var(--sf-share-1,1)] [&>[data-sf-box-items]>*:nth-child(1)]:view-wide:grow-[var(--sf-share-1,1)] [&>*:nth-child(2)]:view-wide:grow-[var(--sf-share-2,1)] [&>[data-sf-box-items]>*:nth-child(2)]:view-wide:grow-[var(--sf-share-2,1)] [&>*:nth-child(3)]:view-wide:grow-[var(--sf-share-3,1)] [&>[data-sf-box-items]>*:nth-child(3)]:view-wide:grow-[var(--sf-share-3,1)] [&>*:nth-child(4)]:view-wide:grow-[var(--sf-share-4,1)] [&>[data-sf-box-items]>*:nth-child(4)]:view-wide:grow-[var(--sf-share-4,1)]`;function _c(e){return Array.isArray(e)?Sc:typeof e=="string"?Be[e]??"":""}var Qo={all:[{context:"parentType",is:"Flex"},{context:"parent.direction",is:"row"},{any:[{not:{context:"parent.align",set:!0}},{context:"parent.align",is:"stretch"}]},{not:{context:"parent.separator",set:!0}},{not:{context:"parent.loop",is:"scroll"}},{not:{context:"parent.line",is:!0}},Wo,{any:[{context:"parent.columns",in:[2,3,4,5,6]},{all:[{not:{context:"parent.columns",is:1}},{context:"parent.share",in:Object.keys(Be)}]}]}]},Jo="view-wide:max-view-desktop:flex-row!",X=`${Jo} [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-0!`,ea={content:`${Jo} [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[content]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[content]!`,equal:X,bigLeft:`${X} [&>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>[data-sf-box-items]:first-child>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]!`,bigRight:`${X} [&>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>[data-sf-box-items]:last-child>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]!`,biggerLeft:`${X} [&>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]! [&>[data-sf-box-items]:first-child>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]!`,biggerRight:`${X} [&>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]! [&>[data-sf-box-items]:last-child>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]!`,twoThree:`${X} [&>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>[data-sf-box-items]:first-child>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]! [&>[data-sf-box-items]:last-child>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]!`},Tc=`${X} [&>*:nth-child(1):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-1,1)]! [&>[data-sf-box-items]>*:nth-child(1):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-1,1)]! [&>*:nth-child(2):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-2,1)]! [&>[data-sf-box-items]>*:nth-child(2):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-2,1)]! [&>*:nth-child(3):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-3,1)]! [&>[data-sf-box-items]>*:nth-child(3):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-3,1)]! [&>*:nth-child(4):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-4,1)]! [&>[data-sf-box-items]>*:nth-child(4):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-4,1)]!`;function vc(e){return Array.isArray(e)||typeof e=="string"&&e in ea?e:null}function ew(e){if(e.direction!=="row"||K(e.direction,e.separator)||e.loop==="scroll"||e.line===!0||ta(e.columns)!==""||na(e.columnsTablet)!=="")return"";let t=vc(e.shareTablet);return t===null?"":typeof t=="string"?ea[t]:Tc}var xc="[&>*]:view-wide:basis-[content] [&>[data-sf-box-items]>*]:view-wide:basis-[content]";function tw(e){return _c(e)===""?xc:""}var nw="Columns",ow=1,aw=3,Bt={2:"max-view-wide:flex-wrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)]",3:"max-view-wide:flex-wrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)]"},sw=qo.filter(e=>e.value==="content"||e.value==="equal"),iw="equal",rw=1,lw=6,se="view-wide:flex-wrap [&>*]:view-wide:min-w-0 [&>[data-sf-box-items]>*]:view-wide:min-w-0 [&>*]:view-wide:grow-0! [&>[data-sf-box-items]>*]:view-wide:grow-0!",Oc={1:`${se} [&>*]:view-wide:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc(100%/1)]!`,2:`${se} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px))/2)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px))/2)]!`,3:`${se} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_2)/3)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_2)/3)]!`,4:`${se} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_3)/4)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_3)/4)]!`,5:`${se} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_4)/5)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_4)/5)]!`,6:`${se} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_5)/6)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_5)/6)]!`};function ta(e){return typeof e=="number"?Oc[e]??"":""}var kc={1:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc(100%/1)]!",2:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px)))/2)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px)))/2)]!",3:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_2)/3)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_2)/3)]!",4:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_3)/4)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_3)/4)]!",5:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_4)/5)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_4)/5)]!",6:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_5)/6)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_5)/6)]!"};function na(e){return typeof e=="number"?kc[e]??"":""}function cw(e){return e.direction!=="row"||K(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":na(e.columnsTablet)}function dw(e){return e.direction!=="row"||K(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":ta(e.columns)}var oa={2:"view-wide:grid view-wide:grid-cols-2",3:"view-wide:grid view-wide:grid-cols-3",4:"view-wide:grid view-wide:grid-cols-4",5:"view-wide:grid view-wide:grid-cols-5",6:"view-wide:grid view-wide:grid-cols-6"},aa={2:"max-view-wide:grid max-view-wide:grid-cols-2",3:"max-view-wide:grid max-view-wide:grid-cols-3"},hw=Object.keys(oa).map(Number),uw=Object.keys(aa).map(Number);function pw(e,t,n=!1){let o=typeof e=="number"?oa[e]??"":"",a=aa[Number(t)]??"";return!o&&!a?"":[o,a,n?"gap-y-0!":""].filter(Boolean).join(" ")}var Ac="max-view-wide:flex-wrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:grow-0 [&>[data-sf-box-items]>*]:max-view-wide:grow-0 [&>*]:max-view-wide:basis-[content] [&>[data-sf-box-items]>*]:max-view-wide:basis-[content]",Rc={2:"max-view-wide:flex-nowrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)]",3:"max-view-wide:flex-nowrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)]"},Cc="max-view-wide:flex-nowrap [&>*]:max-view-wide:grow-0 [&>[data-sf-box-items]>*]:max-view-wide:grow-0 [&>*]:max-view-wide:basis-[content] [&>[data-sf-box-items]>*]:max-view-wide:basis-[content]";function Lc(e,t){return(Pt(e)??Pt(t)??"wrap")==="nowrap"}function mw(e,t,n,o){let a=Bt[Number(e)];if(!a)return"max-view-wide:flex-col";let s=Lc(n,o);return sa(e,t)?s?Cc:Ac:s?Rc[Number(e)]:a}function fw(e,t){return Number(e)in Bt&&!sa(e,t)}function sa(e,t){return Number(e)in Bt&&t==="content"}var ww="Block spacing",gw=[{label:"Each block",value:"each"},{label:"Gap only",value:"gap"}],Nc="sf-box-gap-only";function bw(e){return e==="gap"?Nc:""}var jo={each:"sf-box-each-tablet",gap:"sf-box-gap-only-tablet"},Ic={each:"sf-box-each-phone",gap:"sf-box-gap-only-phone"};function yw(e,t,n){let o=s=>j(jo,s),a=Ht(e==="gap"?"gap":"each",o(t),o(n));return Dt(a,jo,Ic)}var ia={label:"Text",defaultProps:{text:"",align:"left",tone:"default",tag:"p",contained:!0}};var{text:vw,tag:xw,...Pc}=ia.defaultProps,b=Pc,x={...b,tone:"dim"},Hc={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},y={...Hc,direction:"column",...zo},H=(e,t=e,n=e,o=t)=>({sectionPaddingTop:e,sectionPaddingRight:t,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingTopPhone:n,sectionPaddingRightPhone:o,sectionPaddingBottomPhone:n,sectionPaddingLeftPhone:o}),Dc=e=>({fillColor:e}),ra=(e,t,n={})=>({...y,widthFit:"fixed",width:e,minWidth:e,sectionHeightMode:"fixed",sectionHeightValue:e,sectionHeightUnit:"px",...t?Dc(t):{},...n}),_=(e,t,n,o)=>({sizeToken:{step:e,px:t,...o?{stepPhone:o}:{},...n?{pxPhone:n}:{}}}),la={case:"upper"},Mt={textStyle:"body-5",...la},Ft=(e,t)=>({..._("label",e,t),letterSpacing:.2,...la}),Ow=(e,t)=>({...Mt,...Ft(e,t)});function S(e,t,n=""){return e.map((o,a)=>{let s=n?`${n}.${a}`:String(a),i={...o.props??{}};for(let[r,l]of Object.entries(o.slots??{}))i[r]=S(l,t,s);return{type:o.type,props:{...i,id:t(o.type,s)}}})}import{isNodeList as ud}from"efficient-easel/data";function pa(e,t){if(e!=="Cards")return t;if(t.template!==void 0)return ca(t);let n=g(t.id)??"Cards",o=ha(n);if(t.cardStyle==="label-only"){let s=Array.isArray(t.items)&&t.items.some(i=>g(i?.href)!==void 0);return ca({...t,template:ua(o,s)})}let a=v(t)?Me:ie;return{...t,template:da(o,a)}}var Bc=e=>{let[t,n]=e?[ie,Me]:[Me,ie];return new Map([[t.title,n.title],[t.body,n.body]])};function ma(e,t){let n=null;return e.forEach((o,a)=>{let s=o?.props;if(!s)return;let i=s,r=s[E];o.type==="Text"&&typeof r=="string"&&t.has(r)&&(i={...i,[E]:t.get(r)});let l=s[m];if(Array.isArray(l)){let d=ma(l,t);d!==l&&(i={...i,[m]:d})}i!==s&&(n??=[...e],n[a]={...o,props:i})}),n??e}function ca(e,t){if(!Array.isArray(e.template))return e;let n=Bc(!!v(e)),o=t?new Map([...n].filter(([s,i])=>t(i)&&!t(s))):n;if(!o.size)return e;let a=ma(e.template,o);return a===e.template?e:{...e,template:a}}var Mc="label";function fa(e){if(e.template!==void 0)return e;let t=g(e.id)??"CardList",n={type:w,props:{...y,name:"Item"},slots:{[m]:[f(Mc,{...b,tag:"p"},Ee)]}};return{...e,template:S([n],(o,a)=>a==="0"?`${t}~item`:`${t}~item.${a.slice(2)}`)}}var Gt="ArticleBody",Fc={textStyle:"heading-3",..._("headingSmall",20),weight:500,lineHeight:1.4,align:"center"},Gc={...Ee,align:"center"},wa=640,Wc=()=>[f("heading",{...b,tag:"h2",align:"center",maxWidth:wa},Fc),f("paragraph",{...x,tag:"p",align:"center",maxWidth:wa},Gc)],Uc=e=>S(Wc(),e);function Yc(e){return Uc((t,n)=>`${e}~${n==="0"?"heading":"paragraph"}`)}function ga(e){if(e.template!==void 0)return e;let t=typeof e.id=="string"&&e.id.trim()?e.id:Gt;return{...e,template:Yc(t)}}var $c="label",Kc=()=>({type:"LogoBlock",props:{[E]:$c}}),ba=e=>{let t=g(e.id)??"Logos";return{...e,template:S([Kc()],()=>`${t}~logo`)}};function ya(e){return!v(e)||e.template!==void 0?e:ba(e)}function Vw(e){if(!v(e))return e;let t=e.template;return t!==void 0&&!(Array.isArray(t)&&t.length===0)?e:ba(e)}import{addShowWhenFacts as Vc}from"efficient-shell/format";import{showWhenOf as qw,shownForOption as Zw,truthy as Qw,withRowRules as Jw,withRowsShownWhen as Ea,withShowWhen as eg}from"efficient-shell/format";var tg=Vc;function ng(e,t,n){return e.slice(0,-1).reduceRight((o,a)=>({any:[{all:[t(a),n(a)]},{all:[{not:t(a)},o]}]}),n(e[e.length-1]))}var Xc="inline",jc=[{label:"In this section",value:"inline"},{label:"In its own box",value:"own-box"}];var zc={ProductGrid:{num:"num",title:"title",description:"description",headRows:["num","title","titleSize","description","linkText","linkHref"],renderer:"ProductGridSection",padKey:"padTop",linkProp:"link"},TyreSizes:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicTyreSizes"},FitmentFinder:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"FitmentFinder"},TyreFitment:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicTyreFitment"},BundleOffer:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicRelatedProducts"},CompatibleTyres:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicRelatedProducts"},RelatedProducts:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicRelatedProducts"},SpecTable:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"SpecTable"},FAQ:{num:"num",title:"title",linkProp:"link",headRows:["num","title","linkText","linkHref"],renderer:"FAQ"},GalleryB:{num:"num",title:"title",headRows:["num","title","linkText","linkHref"],renderer:"GalleryGrid"},FitmentTable:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"FitmentTable"},Events:{num:"num",title:"title",linkProp:"link",headRows:["num","title","linkText","linkHref"],renderer:"Events"},ProcessSteps:{num:"num",title:"title",description:"description",headRows:["num","title","description"],headStyle:"editorial",renderer:"ProcessSteps",padKey:"padTop"},LongRead:{num:"headNum",title:"headTitle",description:"headDesc",headRows:["headNum","headTitle","headDesc"],headStyle:"editorial",renderer:"LongRead"},Series:{num:"headNum",title:"headTitle",description:"headDesc",headRows:["headNum","headTitle","headDesc"],headStyle:"editorial",renderer:"Series"},TimelineTrack:{num:"eyebrow",title:"title",description:"intro",headRows:["eyebrow","title","intro"],headStyle:"editorial",renderer:"TimelineTrack",padKey:"padTop"},StatsParagraph:{num:"eyebrow",title:"title",description:"desc",headRows:["eyebrow","title","desc"],headStyle:"editorial",renderer:"StatsParagraph"},Footprint:{num:"sectionNumber",title:"heading",description:"tagline",headRows:["sectionNumber","heading","tagline"],headStyle:"editorial",renderer:"Footprint",padKey:"padTop"},Collections:{num:"eyebrow",title:"heading",headRows:["eyebrow","heading"],renderer:"Collections"},Cards:{num:"eyebrow",title:"title",headRows:["eyebrow","eyebrowLook","title"],headStyle:"simple",renderer:"Cards"},Testimonials:{num:"eyebrow",title:"title",headRows:["eyebrow","eyebrowLook","title"],headStyle:"simple",renderer:"Testimonials"},Reviews:{num:"eyebrow",title:"title",headRows:["eyebrow","eyebrowLook","title"],headStyle:"simple",renderer:"Reviews"},Prose:{num:"eyebrow",title:"title",headRows:["eyebrow","title"],headStyle:"essay",renderer:"Prose"},ReviewForm:{num:"eyebrow",title:"title",headRows:["eyebrow","title"],headStyle:"simple",renderer:"ReviewForm"},DeliveryOptions:{num:"eyebrow",title:"title",description:"body",headRows:["eyebrow","title","body"],headStyle:"natural",headRowGap:"gap-3",headDescriptionSize:"text-[15px]",renderer:"DeliveryOptions"}},rg="SectionHeader";function lg(e){return te(zc,e)}function Sa(e){return ge(jc,Xc,e)}var qc=new Set(["Flex"]);function cg(e){return!!e?.type&&qc.has(e.type)}var _a={not:{field:"headPlacement",is:"own-box"}},dg={not:_a};function hg(e,t,n){return Ea(e,n,_a)}var pg="data-sf-spec-region";function mg(e){return e.writable===!0&&e.sized===!0}function fg(e,t,n){if(!e)return;let o=n[e];if(o)return{fontFamily:`var(--font-role-${e})`,fontSize:`var(--size-${o}, ${t.builtIn})`}}function wg(e){let t=/var\(--size-[A-Za-z]+, ?([0-9.]+px)\)/.exec(e);if(!t)throw new Error(`builtInOf: no --size-* fallback in ${e}`);return t[1]}function Ta(e){return`@${e}`}function gg(e,t){if(!t.startsWith("@"))return null;let n=t.slice(1);return n in e?n:null}function bg(e,t){return t&&t in e?t:null}var Wt={number:{label:"Number",follows:"Labels",builtIn:"14px",writable:!0,sized:!0},question:{label:"Question",follows:"Body",builtIn:"18px",writable:!0,sized:!0},answer:{label:"Answer",follows:"Body",builtIn:"15px",writable:!0,sized:!0}},Eg=Wt;var Zc="question",Qc="answer",Jc={textStyle:"body-1",fontRole:"heading",..._("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},ed={textStyle:"body-1",..._("body",15),lineHeight:1.7};function Rg(){return Object.keys(Wt).map(Ta)}var td=()=>({type:w,props:{...y,gap:0,name:"Question"},slots:{rowTitle:[f(Zc,{...b,tag:"p",widthFit:"fill"},Jc)],[m]:[f(Qc,{...x,tag:"p",widthFit:"fill",maxWidth:760},ed)]}});function nd(e){return Sa(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>g(e[t])!==void 0)}function va(e){if(e.template!==void 0||nd(e))return e;let t=g(e.id)??"FAQ",n=0;return{...e,template:S([td()],o=>o===w?`${t}~row`:`${t}~row.${n++}`)}}var od=["below","left","right"];function ad(e){return od.includes(e)?e:"below"}function Ut(e){return ad(e)!=="below"}function Yt(e){return Array.isArray(e)?e.map(Yt):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).filter(([t,n])=>t!=="id"&&n!==void 0&&!(Array.isArray(n)&&n.length===0)).sort(([t],[n])=>t<n?-1:t>n?1:0).map(([t,n])=>[t,Yt(n)]))}var F=e=>JSON.stringify(Yt(e));var ka=e=>v(e)===Ct,Fe=Ft(11),sd={textStyle:"body-1",..._("body",18),weight:500,lineHeight:1.2},Wg=()=>({type:w,props:{...y,gap:8,gapPhone:8,...H(20,24,20,20),name:"Office"},slots:{[m]:[f("badge",{...b,tag:"p",widthFit:"fill"},Fe,!0),f("role",{...b,tag:"p",widthFit:"fill"},Fe,!0),f("city",{...b,tag:"p",widthFit:"fill"},sd),f("country",{...x,tag:"p",widthFit:"fill"},Fe),f("address",{...x,tag:"p",widthFit:"fill"},Fe),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[E]:"linkLabel",[C]:"href"}}]}}),Aa={textStyle:"body-1",fontRole:"heading",..._("body",16),weight:500,lineHeight:1.25},Kt={textStyle:"body-1",..._("body",14),lineHeight:1.5},id=()=>({type:w,props:{...y,gap:4,gapPhone:4,...H(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[m]:[f("city",{...b,tag:"p",widthFit:"fill"},Aa),f("address",{...x,tag:"p",widthFit:"fill"},Kt),f("phone",{...x,tag:"p",widthFit:"fill"},Kt)]}});function Ra(e){let t=g(e.id)??"Footprint",n=0;return S([id()],o=>o===w?`${t}~office`:`${t}~office.${n++}`)}function Ca(e){return Array.isArray(e.template)&&e.template.length>0&&F(e.template)===F(Ra(e))}var La=e=>e===void 0||Array.isArray(e)&&e.length===0;function xa(e){return Ut(e.listPosition)?!La(e.template)||ka(e)?e:{...e,template:Ra(e)}:Ca(e)?{...e,template:[]}:e}var rd=Aa,ld=Kt,cd={textFit:"line"},Vt=(e,t,n="",o={},a={})=>{let s=f(e,{...t?x:b,tag:"p",...o},{...ld,...a});return n?{...s,props:{...s.props,[C]:n}}:s},$t=(e,t,n,o)=>({type:w,props:{...y,gap:0,gapPhone:0,[jt]:[e],name:o},slots:{[m]:[Vt(e,t,n,cd,{align:"right"})]}}),dd=e=>({type:w,props:{...y,direction:"row",justify:"between",share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",gap:12,gapPhone:12,...e?H(20,24):{...H(16,4),sectionBorder:{bottom:1}},name:"Dealer"},slots:{[m]:[{type:w,props:{...y,justify:"center",gap:0,gapPhone:0,widthFit:"fill",name:"Dealer words"},slots:{[m]:[{type:w,props:{...y,gap:4,gapPhone:4,widthFit:"fill",name:"Dealer name"},slots:{[m]:[f("name",{...b,tag:"p",widthFit:"fill"},rd),Vt("address",!0)]}},Vt("place",!0,"",{widthFit:"fill"})]}},{type:w,props:{...y,align:"end",gap:4,gapPhone:4,name:"Dealer contact"},slots:{[m]:[$t("distance",!0,"","Dealer distance"),$t("phone",!1,"phoneHref","Dealer phone"),$t("website",!1,"websiteHref","Dealer website")]}}]}}),hd=e=>{let t=dd(e),n={type:w,props:{...y,...H(0,12),name:"Dealer"},slots:{[m]:[{...t,props:{...t.props,name:"Dealer row"}}]}};return e?t:n};function Xt(e,t){let n=g(e.id)??"Footprint",o=0;return S([hd(t)],(a,s)=>s==="0"?`${n}~dealer`:`${n}~dealer.${o++}`)}function Oa(e){if(!Array.isArray(e.template)||e.template.length===0)return!1;let t=F(e.template);return t===F(Xt(e,!0))||t===F(Xt(e,!1))}function Na(e){if(ka(e)){let n=Xt(e,!Ut(e.listPosition));return!(La(e.template)||Ca(e)||Oa(e))||F(e.template??[])===F(n)?e:{...e,template:n}}if(!Oa(e))return xa(e);let t={...e,template:[]};return xa(t)}var Ia="template",pd="Card template",Ge="CardList",Pa=["Text","ImageBlock","ButtonBlock","Flex"],E="rowField",C="rowLinkField";function nb(){return{type:"slot",allow:[...Pa]}}var md=Pa.filter(e=>e!=="ButtonBlock"),Ha="items",Da="itemFields";function ob(){return{type:"slot",allow:[...md]}}var fd=[{block:"OrderSummary",typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"FAQ",typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>va(e)},{block:"Footprint",typedRows:"offices",fields:[{key:"badge",label:"HQ",plain:!0},{key:"role",label:"Role"},{key:"city",label:"City"},{key:"country",label:"Region \xB7 country"},{key:"address",label:"Address"},{key:"phone",label:"Phone"},{key:"linkLabel",label:"Button"},{key:"href",label:"Link",kind:"link"}],seed:e=>Na(e)},{block:"Cards",typedRows:"items",fields:[{key:"num",label:"Number"},{key:"since",label:"Corner note"},{key:"label",label:"Label"},{key:"title",label:"Card title"},{key:"value",label:"Value"},{key:"body",label:"Card body",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:"count",label:"Count"},{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],seed:e=>pa("Cards",e)},{block:"ProcessSteps",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title",mark:"accentItalic"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"},{key:"specs",label:"Specs",kind:"list",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}],blocks:[{type:Ge,label:"Card list"}]},{block:"Logos",fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>ya(e)},{block:Ge,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:Ha,seed:e=>fa(e)},{block:Gt,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>ga(e)}];function T(){return ae("efficient.card-templates",()=>new Map(fd.map(e=>[e.block,e])))}function ab(e){for(let t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");let n=[];for(let i of t.blocks??[]){if(typeof i?.type!="string"||!i.type)throw new Error(`The card template of ${t.block} names an empty block.`);if(i.type===We)throw new Error(`The card template of ${t.block} names "${We}" in its blocks. Only a host's seed puts a host part in a card template; a merchant never adds one. Take it out.`);n.some(r=>r.type===i.type)||n.push({type:i.type,label:i.label||i.type})}let o=[];for(let i of t.slots??[]){if(typeof i?.slot!="string"||!i.slot)throw new Error(`The card template of ${t.block} names an empty slot.`);let r=g(i.label),l=Array.isArray(i.fields)?{fields:i.fields.map(d=>({...d}))}:null;o.some(d=>d.slot===i.slot)||o.push({slot:i.slot,...r?{label:r}:null,...l})}let a=o.some(i=>i.fields);if(a&&(t.fields.some(i=>i.everySource)||No(t.block).length))throw new Error(`The card template of ${t.block} declares slot fields, but the block reads a source: slot fields take the place of a source's fields, so a block with slot fields reads no source.`);a?fe().add(t.block):fe().delete(t.block);let s=g(t.typedRows);T().set(t.block,{block:t.block,...o.length?{slots:o}:{},fields:t.fields.map(i=>({...i})),blocks:n,typedRows:s,...t.seed?{seed:t.seed}:{},...t.seedOnInsert?{seedOnInsert:t.seedOnInsert}:{},...t.linesBetween===!0?{linesBetween:!0}:{}})}}function wd(e,t){let n=e?T().get(e)?.seed:void 0;return n?n(t):t}function sb(e,t){let n=bd(e),o=(n.length?n:[Ia]).filter(r=>t[r]===void 0||Array.isArray(t[r])&&t[r].length===0);if(!o.length)return t;let a={...t};for(let r of o)delete a[r];let s=e?T().get(e)?.seedOnInsert:void 0,i=s?s(a):wd(e,a);return i===a?t:i}function ib(){for(let e of T().values())if(e.blocks?.length)return!0;return!1}function rb(e){return T().get(e)?.blocks??[]}function lb(e){for(let t of T().values())if(t.blocks?.some(n=>n.type===e))return!0;return!1}function cb(e){return typeof e=="string"&&T().get(e)?.typedRows||""}function db(e){return typeof e=="string"&&T().get(e)?.linesBetween===!0}function hb(e){return typeof e=="string"&&T().has(e)}var gd=[{slot:Ia}];function Ue(e){if(typeof e!="string")return[];let t=T().get(e);return t?t.slots??gd:[]}function bd(e){return Ue(e).map(t=>t.slot)}function yd(e,t){return Ue(e).some(n=>n.slot===t)}function ub(e,t){let n=Ue(e).find(o=>o.slot===t);return n?n.label??pd:null}function zt(e,t){return t?Ue(e).find(n=>n.slot===t)?.fields:void 0}function Ed(e,t){let n=T().get(e)?.fields??[];return t?n.filter(o=>(o.kind??"text")===t):n}function Sd(e,t){if(typeof e!="string")return"";let n=zt(e,t);return(n?n.filter(o=>o.kind==="list"):Ed(e,"list"))[0]?.key??""}function _d(e,t,n){return qt(e)||Sd(t,n)}function Ba(e,t,n){let o=typeof e?.type=="string"?e.type:"";if(!o)return[];let a=zt(o,n);if(a)return t?a.filter(l=>(l.kind??"text")===t):a;let s=T().get(o)?.fields??[],i=De(v(e?.props))?.fields,r=i?.length?[...i.map(l=>({...l})),...s.filter(l=>l.everySource&&!i.some(d=>d.key===l.key))]:s;return t?r.filter(l=>(l.kind??"text")===t):r}function Td(e,t,n,o){if(!e)return null;let a=zt(e,o);return a?a.find(s=>s.key===t)??null:n?Ba(n).find(s=>s.key===t)??null:T().get(e)?.fields.find(s=>s.key===t)??null}function Ma(e,t){return!e||!t?null:e.fields?.find(n=>n.key===t)??Td(e.ownerType,t,e.owner,e.slot)}function pb(e,t){return Ma(e,t)?.plain===!0}function qt(e,t=E){let n=e?.[t];return typeof n=="string"?n.trim():""}function mb(e,t){return e.key||String(t+1)}function fb(e){let t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(let[n,o]of Object.entries(e))typeof o=="string"&&(t[n]=o);return t}var jt="hideWhenRowEmpty";function wb(e,t){let n=e[jt];return!t||!Array.isArray(n)||!n.length?!1:n.every(o=>typeof o!="string"||!t[o]?.trim())}var Fa={Text:{text:E,href:C},ImageBlock:{src:E,href:C},ButtonBlock:{label:E,href:C},LogoBlock:{alt:E,href:C},Breadcrumb:{currentCrumb:E}};var vd=new Set(["ButtonBlock.label","LogoBlock.alt"]);function gb(e,t,n){return xd(e,t,n)&&!vd.has(`${e}.${n}`)}function xd(e,t,n){return Od(e,t,n)!==""}function Od(e,t,n){let o=Fa[e]?.[n];return o?qt(t,o):""}function Ga(e,t){return!t||!e?null:e[t]??""}function kd(e,t){return Ga(e,t)?.trim()||void 0}function bb(e,t,n,o,a,s){if(!n)return t;let i=null;for(let[r,l]of Object.entries(Fa[e]??{})){let d=qt(t,l),p=Ga(n,d);if(p!==null){if(i??={...t},l===C){i[r]=kd(n,d);continue}i[r]=Ma({ownerType:o,fields:a,slot:s},d)?.mark==="accentItalic"?So(p):p}}return i??t}function Ye(e,t){let n=e?.data?.content;if(!Array.isArray(n)||typeof t!="string")return;let o=(s,i)=>{for(let r of s){if(r?.props?.id===t)return i;for(let[l,d]of Object.entries(r?.props??{})){if(!ud(d))continue;let p=yd(r.type,l)?{owner:r,slot:l,direct:!0,nested:i!==null,underBox:!1}:i&&{owner:i.owner,slot:i.slot,direct:!1,nested:i.nested,underBox:i.underBox||r.type===w},h=o(d,p);if(h!==void 0)return h}}},a=o(n,null);return a===void 0?null:a}function Ad(e,t){let n=Ye(e,t);return n&&n.owner}function Rd(e,t){let n=Ye(e,t);return n&&n.slot}function yb(e,t){let n=Ye(e,t);return n&&(n.direct?n.owner:null)}function Eb(e,t){let n=Ye(e,t);if(n!==void 0)return n===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:n.nested,underBox:n.underBox}}function Sb(e,t,n){if(t?.type!==Ge)return[];let o=Ad(e,t.props?.id);if(!o){let r=De(v(t.props))?.fields,l=r?.length?r.map(h=>({...h})):Cd(t.props),d=(T().get(Ge)?.fields??[]).filter(h=>h.everySource&&!l.some(N=>N.key===h.key)),p=[...l,...d];return n?p.filter(h=>(h.kind??"text")===n):p}let a=Rd(e,t.props?.id)??void 0,s=_d(t.props,o.type,a),i=s&&Ba(o,"list",a).find(r=>r.key===s)?.fields||[];return n?i.filter(r=>(r.kind??"text")===n):i}function _b(e,t){return{[E]:"",[Ha]:e.map(n=>({...n})),[Da]:t.map(n=>({...n}))}}function Cd(e,t){let n=e?.[Da];if(!Array.isArray(n))return[];let o=n.flatMap(a=>{if(!a||typeof a!="object")return[];let{key:s,label:i,kind:r,multiline:l,alt:d,next:p}=a;if(typeof s!="string"||!s||typeof i!="string")return[];let h=r==="image"||r==="link"||r==="colour"?r:void 0;return[{key:s,label:i,...h?{kind:h}:{},...l===!0?{multiline:!0}:{},...typeof d=="string"&&d?{alt:d}:{},...typeof p=="string"&&p?{next:p}:{}}]});return t?o.filter(a=>(a.kind??"text")===t):o}var We="HostPart";var re={min:0,max:360,step:1},Wa="angle";function xb(e){let t=P(e);if(t===void 0)return null;let n=Math.min(re.max,Math.max(re.min,t));return n===re.min||n===re.max?null:{rotate:`${n}deg`}}import{MEDIA_ZONES as Ld,MEDIA_ZONE_LABELS as Nd}from"efficient-easel/screen/lib/content/media-zones";import{HOVER_MOTION as Id,hoverKindsOf as Ke,motionSeconds as $e}from"efficient-shell/format";var k="hover",Lb="_gHover",Pd={none:"None",nextImage:"Show next image",rotate:"Rotate",zoom:"Zoom",lift:"Lift",mono:"Black and white"},z="highlight",Hd="Highlight",Nb=["none",z],Ib={none:Pd.none,[z]:Hd};function Dd(e){return e[k]===z?z:"none"}var Pb="transition-colors hover:bg-[var(--sf-hl-bg)]! hover:[--fg:var(--sf-hl-ink)] active:bg-[var(--sf-hl-bg)]! active:[--fg:var(--sf-hl-ink)]",Hb="hover:[--fg:var(--sf-hl-ink)]! hover:[--fg-dim:inherit]! hover:[--site-line:inherit]! hover:[color:inherit]! active:[--fg:var(--sf-hl-ink)]! active:[--fg-dim:inherit]! active:[--site-line:inherit]! active:[color:inherit]!";function Db(e,t){return Dd(e)!==z?null:{"--sf-hl-bg":t("surface"),"--sf-hl-ink":t("main")}}var Bd=Ke(["none","lift"]);function Bb(e){let t=e[k];return Bd.includes(t)?t:"none"}var $a=Ke(["none","nextImage","rotate"]),O={kind:k,angle:"hoverAngle",duration:"hoverDuration",delay:"hoverDelay",mediaKind:"hoverKind",mediaGroup:"hoverGroup",cover:"hoverCover"},en="spinOnHover",Ua=re,Ka={ProductGrid:"rotate",RelatedProducts:"rotate",AlloyWheelsListing:"none"},Mb=Object.keys(Ka);function Md(e){return Ka[e]??"none"}var Fd=Id.rotateFallbackDeg,Gd=e=>e==="rendering"?"renderings":e,Wd=e=>e==="renderings"?"rendering":e,Va=Object.freeze(Ld.filter(e=>e!=="videos").map(Gd)),Fb=Object.freeze(Object.fromEntries(Va.map(e=>[e,Nd[Wd(e)]]))),Ud=["finish","first"],Gb={finish:"Same finish",first:"First group"},Yd=["card","picture"],Wb={card:"Whole card",picture:"Picture"},Zt={kind:"photos",group:"finish",cover:"card"},Qt=(e,t,n)=>e.includes(t)?t:n;function Xa(e){return{kind:Qt(Va,e[O.mediaKind],Zt.kind),group:Qt(Ud,e[O.mediaGroup],Zt.group),cover:Qt(Yd,e[O.cover],Zt.cover)}}function Ub(){return{field:O.kind,is:"nextImage"}}function $d(e,t){let n=e[O.kind];if($a.includes(n))return n;let o=e[en];return typeof o=="boolean"?o?"rotate":"none":t}function Kd(e){let t=P(e);return t===void 0?Fd:Math.min(Ua.max,Math.max(Ua.min,t))}function Yb(e,t){let n=Md(t),o=$d(e,n);return{kind:o,angle:o==="rotate"?Kd(e[O.angle]):null,duration:$e("hover","duration",o==="rotate"?e[O.duration]:void 0),delay:$e("hover","delay",o==="rotate"?e[O.delay]:void 0),...o==="nextImage"?{media:Xa(e)}:{}}}function $b(e){let t={field:O.kind,in:[...$a]};return{any:[{field:O.kind,is:"rotate"},{all:[{not:t},e==="rotate"?{not:{field:en,is:!1}}:{field:en,is:!0}]}]}}var ja=Ke(["none","mono"]),Vd=Ke(["none","nextImage","mono"]),za={ImageBlock:"none",Manifesto:"none",Split:"none",ContactLocations:"mono"},Kb=Object.keys(za);function Xd(e){return za[e]??"none"}var qa={zoom:"hoverZoom",darken:"hoverDarken"},Jt={min:100,max:150,step:1,unit:"%"};function jd(e){let t=P(e[qa.zoom]);if(t===void 0)return null;let n=Math.min(Jt.max,Math.max(Jt.min,t));return n===Jt.min?null:String(n/100)}function zd(e){let t=P(e[qa.darken]);return t!==void 0&&t>0?t:null}var Vb="hoverShow",Xb="cardHover",jb="always",qd=["ImageBlock","Flex"];function Zd(e,t,n=ja){let o=e[k];return n.includes(o)?o:t}function zb(e,t=""){let n=qd.includes(t)?Vd:ja,o=Zd(e,Xd(t),n),a=o==="mono";return{kind:o,duration:$e("hover","duration",a?e[O.duration]:void 0),delay:$e("hover","delay",a?e[O.delay]:void 0),...o==="nextImage"?{media:Xa(e),...t==="Flex"?Ya(e):{}}:Ya(e)}}function Ya(e){let t=jd(e),n=zd(e);return{...t?{zoom:t}:{},...n?{darken:n}:{}}}function qb(){return{not:{field:k,is:"nextImage"}}}function Zb(e){return e==="none"?{field:k,in:["mono","nextImage"]}:{not:{field:k,is:"none"}}}function Qb(e){return e==="none"?{field:k,is:"mono"}:{not:{field:k,in:["none","nextImage"]}}}var ty=()=>({tag:"h2",_partStyles:{text:{textStyle:"heading-2"}}}),Za=()=>({_partStyles:{text:{...Mt,color:"accent",letterSpacing:.3,lineHeight:1.5}}});var Qd={...y,gap:12,gapPhone:12,...H(32,32,28,28)},Jd={textStyle:"heading-3",..._("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02},Ee={textStyle:"body-1",..._("body",15),lineHeight:1.6},f=(e,t,n,o=!1)=>({type:"Text",props:{...t,text:"",[E]:e,_partStyles:{text:{...o?Za()._partStyles?.text??{}:{},...n}}}}),ie={title:"title",body:"body"},Me={title:"name",body:"note"},eh=(e=ie)=>({type:w,props:{...Qd,name:"Card"},slots:{[m]:[f(e.title,{...b,tag:"p",widthFit:"fill"},Jd),f(e.body,{...x,tag:"p",widthFit:"fill"},Ee)]}}),da=(e,t)=>S([eh(t)],e),Qa={label:ie.title,href:"href"},th={textStyle:"body-1",fontRole:"heading",color:"text",..._("body",17),weight:500,case:"upper",letterSpacing:.06,lineHeight:1.5},nh=ra(9,"main",{[Wa]:45}),oh=(e=!1)=>({type:w,props:{...y,name:"Card",direction:"row",align:"center",gap:16,gapPhone:16,phoneRow:2,sharePhone:"content",wrapPhone:!1,...H(32,28),[C]:Qa.href,...e?{[k]:z}:{}},slots:{[m]:[{type:w,props:{...nh,name:"Mark"}},f(Qa.label,{...b,tag:"p",widthFit:"fill"},th)]}}),ha=e=>(t,n)=>n==="0"?`${e}~card`:`${e}~card.${n.slice(2)}`,ua=(e,t=!1)=>S([oh(t)],e);import{parseHexColor as ah}from"efficient-shell/format";var tn=[{role:"bg",token:"--bg",ink:!1},{role:"fg",token:"--fg",ink:!0},{role:"surface",token:"--site-surface",ink:!1},{role:"surface-2",token:"--site-surface-2",ink:!1},{role:"line",token:"--site-line",ink:!0},{role:"muted",token:"--fg-dim",ink:!0}],sh=tn.filter(e=>e.ink);function Ja(e){let t={color:e.fg};for(let{role:n,token:o}of sh)t[o]=e[n];return t}var ih={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},rh=Object.freeze(Ja(ih)),lh={fg:"var(--overlay-fg-on-light)",line:"color-mix(in srgb, var(--overlay-fg-on-light) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg-on-light) 76%, transparent)"},ch=Object.freeze(Ja(lh));function uy(e,t){let n=e?ah(e):null;return n?qn(n,t)?rh:ch:null}var es=-1,dh="sf-section-accent",fy="Color",ts=new Set(["CategoryBar","DocTabs"]),wy=new Set(["Flex"]),hh=0;function uh(e){return e===es?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:hh}function gy(e){return e??es}function ph(e){let t=`--theme-preset-${e}`,n={"--sf-sec-accent":`var(${t}-accent)`,"--sf-sec-accent-2":`var(${t}-accent-2)`,"--sf-sec-accent-ink":`var(${t}-accent-ink)`};for(let{role:o}of tn)n[`--sf-sec-${o}`]=`var(${t}-${o}, var(--theme-${o}))`;return n}function by(e){let t=uh(e.sectionAccent);return t===null?null:{className:dh,style:ph(t)}}import{FOLLOW_RULES as fh,resolveViewValue as wh,viewKeyAt as gh}from"efficient-easel/screen/lib/content/view-tiers";var nn={desktop:"desktop",tablet:"tablet",phone:"mobile"},mh=Object.keys(nn);function ns(e){return nn[e??"desktop"]}function Ey(e){return mh.find(t=>nn[t]===e)??"desktop"}var sn=["desktop","tablet","phone"],an=(e,t)=>gh(e,ns(t)),os=e=>e.flatMap(t=>sn.map(n=>an(t,n))),on=e=>e===null||e===""?void 0:e,bh=(e,t,n)=>wh("same",on(e),on(t),on(n),fh);function as(e,t,n,o=e[t]){return bh(o,e[an(t,"tablet")],e[an(t,"phone")])[n]}import{createContext as Ps,createElement as _e,useContext as Te}from"react";import{jsx as B}from"react/jsx-runtime";import{createContext as gn,useContext as L}from"react";import{jsx as ce,Fragment as ws}from"react/jsx-runtime";import{createContext as Ph,useContext as gs,useEffect as Hh,useRef as Dh,useState as Bh}from"react";import{SCROLL_ZOOM_VAR as ms}from"efficient-shell/format";import{readEntrance as Eh}from"efficient-shell/format";var Se={kind:"entrance",from:"entranceFrom",duration:"entranceDuration",delay:"entranceDelay"},rn="sectionAnimation",yh=os(Object.values(Se));var ss="sf-entrance",Sh=e=>e!=null&&e!=="";function _h(e,t){let n=e[Se[t]];return t==="kind"&&!Sh(n)?e[rn]:n}var Ve=(e,t,n)=>as(e,Se[t],n,_h(e,t));function ln(e,t){return Eh(Ve(e,"kind",t),Ve(e,"from",t),Ve(e,"duration",t),Ve(e,"delay",t))}var Th=e=>({desktop:ln(e,"desktop"),tablet:ln(e,"tablet"),phone:ln(e,"phone")});function Iy(e){let t=Th(e);return sn.every(n=>t[n].kind==="none")?null:t}var vh={...Object.fromEntries([...ts].map(e=>[e,"a root position: sticky bar; an outer box becomes its sticky containing block and the pin collapses (the same fact every wrapper pass excludes it for, lib/content/section-surface)"])),HeroSlide:"a slide is a direct child of the Hero's transform track ([&>*]:basis-full); a wrapper would take its width, and the Hero already moves one slide in at a time",HeroGroup:"a slide box is placed by grid-item properties on its own root (--sf-hg-row, justify-self); a wrapper becomes the grid item and the box loses its anchor (lib/document/blocks/general/HeroGroup/meta)",[We]:"a host part draws its data block's answer with no element of its own (lib/content/card-template HOST_PART_TYPE); a wrapper would be one, and the host's content is not the merchant's to animate"},Py=new Set(Object.keys(vh));function is(e,t,n,o){return t<=0?1/0:o?2*(e-4)/(t+n):2*(e-n/2-4)/t}function rs(e,t,n){let o=r=>r.width>0&&r.height>0;if(!o(e)||t.some(r=>r.mark&&!o(r.rect)))return 1;let a=e.left+e.width/2,s=e.top+e.height/2,i=n;for(let{rect:r,mark:l}of t){let d=Math.abs(r.left+r.width/2-a),p=Math.abs(r.top+r.height/2-s),h=Math.max(is(d,e.width,r.width,l),is(p,e.height,r.height,l));i=Math.min(i,Math.max(1,h))}return i}var ls=["cover","contain"],xh={cover:"Cover",contain:"Contain"},By="Image fit";function cn(e,t){return ls.includes(e)?e:t}function My(){return ls.map(e=>({label:xh[e],value:e}))}function Fy(e){return e==="contain"?"object-contain":"object-cover"}function dn(e,t){return e!=="auto"&&t==="cover"}function Xe(e){return`color-mix(in srgb, var(--overlay-scrim) ${Math.round(Math.min(1,Math.max(0,e))*1e3)/10}%, transparent)`}function Yy(e){switch(e){case"tall":return"aspect-[3/4]";case"wide":return"aspect-[2/1]";case"landscape":return"aspect-[4/3]";case"screen":return"aspect-[16/10]";case"portrait":return"aspect-[4/5]";case"video":return"aspect-[16/9]";case"panorama":return"aspect-[21/9]";case"story":return"aspect-[9/16]";case"poster":return"aspect-[2/3]";case"auto":return"";default:return"aspect-square"}}var je=[{shape:"auto",image:"auto",ratio:null,label:"Auto"},{shape:"story",image:"9/16",ratio:[9,16],label:"Story 9:16"},{shape:"poster",image:"2/3",ratio:[2,3],label:"Poster 2:3"},{shape:"tall",image:"3/4",ratio:[3,4],label:"Tall 3:4"},{shape:"portrait",image:"4/5",ratio:[4,5],label:"Portrait 4:5"},{shape:"square",image:"1/1",ratio:[1,1],label:"Square 1:1"},{shape:"landscape",image:"4/3",ratio:[4,3],label:"Landscape 4:3"},{shape:"screen",image:"16/10",ratio:[16,10],label:"Screen 16:10"},{shape:"video",image:"16/9",ratio:[16,9],label:"Video 16:9"},{shape:"wide",image:"2/1",ratio:[2,1],label:"Wide 2:1"},{shape:"panorama",image:"21/9",ratio:[21,9],label:"Panorama 21:9"}];function $y(e){return je.filter(t=>e.includes(t.shape))}function Ky(e){return e==="below"}var Vy=`linear-gradient(180deg, transparent 40%, ${Xe(.85)} 100%)`,Xy=`linear-gradient(0deg, transparent 40%, ${Xe(.85)} 100%)`,jy=Xe(.45);var Oh=je.map(e=>e.image),D="fill",Jy={label:"Fill row",value:D,showWhen:Qo},hn="4/3",cs={frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},hs={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:cs,tablet:cs,desktop:{frame:"view-desktop:h-full view-desktop:min-h-[240px] max-view-desktop:aspect-[4/3]",img:"view-desktop:absolute view-desktop:inset-0",figure:"view-desktop:h-full"}};function eE(e,t,n){return t&&!le(n)?"all":e??"wide"}function ds(e){return hs[e]}var tE=hs.all;function us(e){return e?`${e.img} h-full w-full`:"relative h-full w-full"}var kh={auto:"","3/4":"aspect-[3/4]","2/1":"aspect-[2/1]","21/9":"aspect-[21/9]","16/9":"aspect-[16/9]","4/3":"aspect-[4/3]","16/10":"aspect-[16/10]","1/1":"aspect-square","9/16":"aspect-[9/16]","2/3":"aspect-[2/3]","4/5":"aspect-[4/5]"},Ah={auto:"","3/4":"view-wide:aspect-[3/4]","2/1":"view-wide:aspect-[2/1]","21/9":"view-wide:aspect-[21/9]","16/9":"view-wide:aspect-[16/9]","4/3":"view-wide:aspect-[4/3]","16/10":"view-wide:aspect-[16/10]","1/1":"view-wide:aspect-square","9/16":"view-wide:aspect-[9/16]","2/3":"view-wide:aspect-[2/3]","4/5":"view-wide:aspect-[4/5]"},Rh={auto:"","3/4":"max-view-wide:aspect-[3/4]","2/1":"max-view-wide:aspect-[2/1]","21/9":"max-view-wide:aspect-[21/9]","16/9":"max-view-wide:aspect-[16/9]","4/3":"max-view-wide:aspect-[4/3]","16/10":"max-view-wide:aspect-[16/10]","1/1":"max-view-wide:aspect-square","9/16":"max-view-wide:aspect-[9/16]","2/3":"max-view-wide:aspect-[2/3]","4/5":"max-view-wide:aspect-[4/5]"},Ch={auto:"max-view-wide:aspect-auto!","3/4":"max-view-wide:aspect-[3/4]!","2/1":"max-view-wide:aspect-[2/1]!","21/9":"max-view-wide:aspect-[21/9]!","16/9":"max-view-wide:aspect-[16/9]!","4/3":"","16/10":"max-view-wide:aspect-[16/10]!","1/1":"max-view-wide:aspect-square!","9/16":"max-view-wide:aspect-[9/16]!","2/3":"max-view-wide:aspect-[2/3]!","4/5":"max-view-wide:aspect-[4/5]!"},un=e=>Oh.includes(e),le=un;function nE(e){let t=un(e)?je.find(n=>n.image===e)?.ratio:null;return t?`${t[0]} / ${t[1]}`:null}function oE(e,t,n){return n==="contain"?!0:[e,t??e].every(o=>o!==D&&(!un(o)||o==="auto"))}function aE(e,t){return e===D&&!t?hn:e}function sE(e){return e===D?hn:le(e)?e:void 0}function ps(e,t){return le(t)?t===e?null:t:e===D?hn:null}function Lh(e,t){let n=ps(e,t);return dn(e,"cover")||n!==null&&dn(n,"cover")}function Nh(e,t,n){return cn(e,"cover")==="cover"&&Lh(t,n)}function iE(e,t,n,o){return e==="desktop"?Nh(t,n,o):cn(t,"cover")!=="cover"?!1:Ih(e==="tablet"?n:ps(n,o)??n)}var Ih=e=>e===D||le(e)&&e!=="auto";function rE(e,t,n="wide"){return e===D&&n==="all"?ds("all").frame:t===null?le(e)?kh[e]:"":[e===D?ds(n).frame:le(e)?Ah[e]:"",e===D&&n==="desktop"?Ch[t]:Rh[t]].filter(Boolean).join(" ")}var qe=Ph(null);function fE({attrs:e,style:t,children:n}){return ce(qe.Provider,{value:{attrs:e,style:t},children:n})}function bs({children:e}){return ce(qe.Provider,{value:null,children:e})}function wE({fill:e=null,children:t}){let n=gs(qe);return n?ce("div",{className:us(e),...n.attrs,style:n.style,children:t}):ce(ws,{children:t})}var ze="data-sf-mark";function fs(e){let t=e.getBoundingClientRect(),n=e.firstElementChild,o=n&&typeof n.offsetWidth=="number"?n:e,a=Math.max(o.offsetWidth,e.offsetWidth),s=Math.max(o.offsetHeight,e.offsetHeight);return{left:t.left+t.width/2-a/2,top:t.top+t.height/2-s/2,width:a,height:s}}function Mh(e){return e.closest(`[${ze}]`)||e.closest("style, script")?!1:[...e.childNodes].some(t=>t.nodeType===3&&(t.textContent??"").trim()!=="")}var ys=e=>e.closest(`.${ss}`)??e.ownerDocument.body;function Fh(e,t){let n=ys(e),o=[];for(let a of n.querySelectorAll(`[${ze}]`))a!==e&&o.push({rect:fs(a),mark:!0});for(let a of n.querySelectorAll("*")){if(a.contains(e)||!Mh(a))continue;let s=a.getBoundingClientRect();s.width===0||s.height===0||o.push({rect:{left:s.left,top:s.top,width:s.width,height:s.height},mark:!1})}return rs(fs(e),o,t)}function gE({inCell:e=!1,children:t}){let n=gs(qe),o=Dh(null),[a,s]=Bh(null),i=n?Number.parseFloat(String(n.style[ms])):Number.NaN;if(Hh(()=>{let l=o.current;if(!l||!Number.isFinite(i))return;let d=()=>s(Fh(l,i));d();let p=l.ownerDocument.defaultView?.ResizeObserver;if(!p)return;let h=new p(d),N=ys(l);h.observe(l),h.observe(N);for(let I of N.querySelectorAll(`[${ze}]`))I!==l&&h.observe(I);return()=>h.disconnect()},[i]),!n)return ce(ws,{children:t});let r=Number.isFinite(i)?{...n.style,[ms]:String(a??1)}:n.style;return ce("span",{ref:o,className:e?"inline-flex min-w-0 max-w-full items-center justify-center":"inline-flex items-center justify-center",[ze]:"",...n.attrs,style:r,children:t})}import{FOLLOW_RULES as Gh,resolveViewValue as Wh}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as Uh}from"efficient-easel/screen/lib/content/length-units";var Yh=["auto","fixed","screen","fill"],$h=Uh.filter(e=>e==="px"||e==="%"),Kh="svh",Vh="vh",Xh="var(--sf-header-h, 88px)",jh={min:40,max:2e3,step:10,fallback:600},zh={min:10,max:200,step:5,fallback:100},qh="sf-section-minh",Ze="grid-cols-[minmax(0,1fr)]",Es={base:"--sf-section-minh",small:"--sf-section-minh-s"},mn=e=>typeof e=="string"&&Yh.includes(e),Zh=e=>typeof e=="string"&&$h.includes(e);function Qe(e){let t=mn(e.sectionHeightMode)?e.sectionHeightMode:"auto",n=t==="screen"?"%":Zh(e.sectionHeightUnit)?e.sectionHeightUnit:"px",o=t==="screen"?zh.fallback:jh.fallback,a=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:o;return{mode:t,value:a,unit:n}}function Ts(e){let{mode:t,value:n,unit:o}=Qe(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&o==="px")return[`${n}px`,null];let a=n/100,s=i=>t==="screen"?`(100${i} - ${Xh})`:`100${i}`;return[`calc(${s(Vh)} * ${a})`,`calc(${s(Kh)} * ${a})`]}function vs(e){let t=Ts(e);if(!t)return;let[n,o]=t;return{display:"grid",[Es.base]:n,...o?{[Es.small]:o}:{}}}var SE=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),_E="Height",xs="sf-section-minh-phone",Ss={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function Os(e){return mn(e.sectionHeightModePhone)}function Qh(e){return Qe({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}var ks="sf-section-minh-tablet",_s={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function As(e){return mn(e.sectionHeightModeTablet)}function Jh(e){return Qe({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function fn(e){let t=vs(e),n=(r,l,d)=>Ts({sectionHeightMode:r,sectionHeightValue:l,sectionHeightUnit:d})??(t?["auto",null]:void 0),o=As(e)?n(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,a=Os(e)?n(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):o;if(!t&&!o&&!a)return null;let s=[qh,Ze],i={...t??{}};return o&&(s.push(ks),i[_s.base]=o[0],o[1]&&(i[_s.small]=o[1])),a&&(s.push(xs),i[Ss.base]=a[0],a[1]&&(i[Ss.small]=a[1])),{className:s.join(" "),style:i}}function TE(e){return fn(e)!==null||Je(e).length>0}var pn=`grid ${Ze}`,Rs="h-full",eu="view-tablet:max-view-desktop:grid",Cs="max-view-tablet:grid",tu=`${Cs} ${Ze}`;function vE(e){if(Je(e).length>0)return pn;let t=fn(e);if(!t)return"";if(vs(e))return pn;let n=t.className.split(" ");if(!n.includes(ks))return tu;let o=n.includes(xs);return[eu,o?Cs:"",Ze].filter(Boolean).join(" ")}var Ls="data-sf-height-fill",nu=["desktop","tablet","mobile"],ou={desktop:"view-desktop:[.flex-col>&]:grow! view-desktop:[.flex-row>&]:self-stretch",tablet:"view-wide:max-view-desktop:[.flex-col>&]:grow! view-wide:max-view-desktop:[.flex-row>&]:self-stretch",mobile:"max-view-wide:[.flex-col>&]:grow!"};function Je(e){let t=e,n=Wh("heightMode",Qe(t).mode,As(t)?Jh(t).mode:null,Os(t)?Qh(t).mode:null,Gh),o={desktop:n.desktop==="fill",tablet:n.tablet==="fill",mobile:n.phone==="fill"};return nu.filter(a=>o[a])}function xE(e){return Je(e).map(t=>ou[t]).join(" ")}function OE(e){let t=fn(e);return Je(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:pn}}var Ns={stretchedRow:!1,fillingColumn:!1},A=gn(null),IE=()=>L(A)!==null,PE=()=>L(A),HE=()=>L(A)?.id??null,G=gn(!1);function au(){let e=L(A)?.stretchedRow===!0,t=L(G);return e&&!t}var su=()=>L(G);function iu(){let e=L(A),t=au(),n=su();return{fill:n?` ${Rs}`:"",inner:o=>{let a=t||n?B(G.Provider,{value:!0,children:o}):o;return e?.columnsRow?B(A.Provider,{value:{...e,columnsRow:!1},children:a}):a}}}function DE({className:e,style:t,attrs:n,children:o}){let{fill:a,inner:s}=iu(),i=bn();return i.scope(B("div",{className:yn(`${e}${a}`,i.className),...t?{style:t}:{},...n,...i.attrs,children:s(o)}))}var wn=gn(!1);function BE({children:e}){return B(wn.Provider,{value:!0,children:B(G.Provider,{value:!0,children:e})})}function ME({children:e,ownPictures:t=!1}){let n=L(A),o=L(wn),a=L(G),s=o&&a,i=n===null?null:n.id===void 0?Ns:{...Ns,id:n.id};return B(A.Provider,{value:i,children:B(wn.Provider,{value:!1,children:B(G.Provider,{value:s,children:t?e:B(bs,{children:e})})})})}var et=Ps(null),Is="data-sf-view-hide",Hs=e=>_e(et.Provider,{value:null},e),Ds={className:"",attrs:{},scope:Hs},ru=Ds,Bs=Ps(null),YE=(e,t)=>e?{className:e,views:t}:null,lu=e=>_e(et.Provider,{value:null},_e(Bs.Provider,{value:null},_e(G.Provider,{value:!0},e))),$E=(e,t,n={})=>e?{className:e,words:t,...n}:null,Ms=(e,t)=>e.sectionClassName===void 0?{className:e.className,words:e.words}:e.line==="edge"||e.line!=="section"&&t?{className:e.className,words:`${e.words} edge`}:{className:e.sectionClassName,words:e.words};function bn(){let e=Te(et),t=Te(Bs),n=Te(A)!==null;if(e===null&&t===null)return ru;let o=e===null?null:Ms(e,n);return t===null?{className:o.className,attrs:{[Is]:o.words},scope:Hs}:{className:o?`${o.className} ${t.className}`:t.className,attrs:{...o?{[Is]:o.words}:{},[Ls]:t.views},scope:lu}}function KE(){let e=Te(et),t=Te(A)!==null;return e===null?"":Ms(e,t).className}var yn=(e,t)=>t?e?`${e} ${t}`:t:e;function VE(e){let t=bn(),n=e.takes===!1?Ds:t,o={},a=!1;for(let[s,i]of Object.entries(e))s==="as"||s==="takes"||s==="children"||(s==="className"?(o.className=yn(i,n.className),a=!0):o[s]=i);return!a&&n.className&&(o.className=n.className),n.scope(_e(e.as??"div",{...o,...n.attrs},e.children))}var jE={small:54,medium:66,large:84},cu=44,du=16,hu=140,zE={min:du,max:hu,step:1},qE=cu*4;import{forwardRef as uu}from"react";import{imageCopyUrl as Fs,imageSrcSet as Gs}from"efficient-shell/image-copies";import{jsx as fu}from"react/jsx-runtime";var pu={position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,color:"transparent"};function Ws(e,t,n){if(n){let o=Gs(e);return o?{src:Fs(e,1280),srcSet:o,sizes:n}:{src:e,sizes:n}}if(t&&t>0){let o=Gs(e,{maxWidth:t*3});return o?{src:Fs(e,t*2),srcSet:o,sizes:`${t}px`}:{src:e}}return{src:e}}var mu=uu(function({src:t,width:n,height:o,fill:a,priority:s,loading:i,style:r,quality:l,placeholder:d,blurDataURL:p,unoptimized:h,loader:N,overrideSrc:I,sizes:W,...ve},tt){let xe=I??(typeof t=="string"?t:t.src),nt=Ws(xe,a?void 0:Number(n)||void 0,W??(a?"100vw":void 0));return fu("img",{ref:tt,...nt,width:a?void 0:n,height:a?void 0:o,loading:s?"eager":i??"lazy",fetchPriority:s?"high":void 0,decoding:"async",style:a?{...pu,...r}:{color:"transparent",...r},...ve})}),eS=mu;function tS(e){let t=e.overrideSrc??(typeof e.src=="string"?e.src:e.src.src),n=e.fill?void 0:Number(e.width)||void 0;return{props:Ws(t,n,e.sizes??(e.fill?"100vw":void 0))}}export{ae as a,g as b,Nl as c,ef as d,Il as e,tf as f,nf as g,of as h,af as i,sf as j,rf as k,Ct as l,Pl as m,lf as n,cf as o,No as p,De as q,df as r,hf as s,v as t,Fl as u,uf as v,pe as w,te as x,$p as y,ne as z,Kp as A,Br as B,Vp as C,Xp as D,jp as E,zp as F,Gr as G,Pe as H,em as I,m as J,w as K,Po as L,wf as M,gf as N,ue as O,Sp as P,Tt as Q,_p as R,Tp as S,vp as T,xp as U,Ar as V,U as W,Rr as X,Ap as Y,om as Z,am as _,Yr as $,sm as aa,im as ba,wm as ca,kt as da,hl as ea,yo as fa,Sm as ga,_m as ha,Tm as ia,So as ja,vm as ka,xm as la,Om as ma,P as na,re as oa,Wa as pa,xb as qa,k as ra,Lb as sa,Pd as ta,z as ua,Hd as va,Nb as wa,Ib as xa,Pb as ya,Hb as za,Db as Aa,Bd as Ba,Bb as Ca,$a as Da,O as Ea,en as Fa,Mb as Ga,Md as Ha,Fd as Ia,Va as Ja,Fb as Ka,Ud as La,Gb as Ma,Yd as Na,Wb as Oa,Zt as Pa,Ub as Qa,$d as Ra,Kd as Sa,Yb as Ta,$b as Ua,ja as Va,Vd as Wa,Kb as Xa,Xd as Ya,qa as Za,Jt as _a,Vb as $a,Xb as ab,jb as bb,qd as cb,Zd as db,zb as eb,qb as fb,Zb as gb,Qb as hb,Nt as ib,tc as jb,Of as kb,Go as lb,kf as mb,ge as nb,ac as ob,sc as pb,ic as qb,Uo as rb,Lf as sb,Yo as tb,Nf as ub,$o as vb,Hf as wb,Ko as xb,K as yb,Df as zb,Bf as Ab,Mf as Bb,Mo as Cb,Do as Db,Ef as Eb,Sf as Fb,ec as Gb,Fo as Hb,zo as Ib,ye as Jb,$f as Kb,hc as Lb,gc as Mb,Kf as Nb,Vf as Ob,Pt as Pb,Xf as Qb,jf as Rb,bc as Sb,qf as Tb,Zf as Ub,Qf as Vb,Jf as Wb,_c as Xb,vc as Yb,ew as Zb,tw as _b,nw as $b,ow as ac,aw as bc,sw as cc,iw as dc,rw as ec,lw as fc,ta as gc,na as hc,cw as ic,dw as jc,hw as kc,uw as lc,pw as mc,Lc as nc,mw as oc,fw as pc,sa as qc,ww as rc,gw as sc,Nc as tc,bw as uc,yw as vc,ia as wc,b as xc,x as yc,Hc as zc,y as Ac,H as Bc,Dc as Cc,ra as Dc,_ as Ec,Mt as Fc,Ft as Gc,Ow as Hc,S as Ic,ty as Jc,Za as Kc,Ee as Lc,f as Mc,ie as Nc,Me as Oc,eh as Pc,da as Qc,Qa as Rc,oh as Sc,ha as Tc,ca as Uc,fa as Vc,Gt as Wc,Uc as Xc,Kc as Yc,Vw as Zc,qw as _c,Zw as $c,Qw as ad,Jw as bd,Ea as cd,eg as dd,tg as ed,ng as fd,zc as gd,rg as hd,lg as id,Sa as jd,cg as kd,_a as ld,dg as md,hg as nd,pg as od,mg as pd,fg as qd,wg as rd,Ta as sd,gg as td,bg as ud,Wt as vd,Eg as wd,Rg as xd,td as yd,ad as zd,F as Ad,Wg as Bd,Na as Cd,Ia as Dd,Ge as Ed,E as Fd,C as Gd,nb as Hd,Ha as Id,Da as Jd,ob as Kd,ab as Ld,wd as Md,sb as Nd,ib as Od,rb as Pd,lb as Qd,cb as Rd,db as Sd,hb as Td,bd as Ud,yd as Vd,ub as Wd,Ed as Xd,_d as Yd,Ba as Zd,Ma as _d,pb as $d,qt as ae,mb as be,fb as ce,jt as de,wb as ee,gb as fe,xd as ge,Od as he,Ga as ie,kd as je,bb as ke,Ad as le,Rd as me,yb as ne,Eb as oe,Sb as pe,_b as qe,We as re,it as se,rt as te,Ou as ue,ku as ve,lt as we,Au as xe,Ru as ye,Cu as ze,Iu as Ae,Bu as Be,Mu as Ce,Fu as De,Gu as Ee,wt as Fe,gt as Ge,Wu as He,q as Ie,Ki as Je,zn as Ke,Uu as Le,Yu as Me,Q as Ne,Z as Oe,zi as Pe,$u as Qe,Ku as Re,Le as Se,qn as Te,Vu as Ue,Xu as Ve,ju as We,yt as Xe,zu as Ye,Zn as Ze,tr as _e,qu as $e,Zu as af,Qu as bf,or as cf,Ju as df,ep as ef,tp as ff,np as gf,op as hf,ap as if,Et as jf,dr as kf,sp as lf,ip as mf,Ne as nf,oo as of,rp as pf,St as qf,Xn as rf,lp as sf,cp as tf,mr as uf,fr as vf,ao as wf,Ie as xf,br as yf,yr as zf,Er as Af,so as Bf,Sr as Cf,io as Df,up as Ef,pp as Ff,mp as Gf,fp as Hf,he as If,ro as Jf,wp as Kf,gp as Lf,_t as Mf,lo as Nf,bp as Of,yp as Pf,tn as Qf,sh as Rf,rh as Sf,uy as Tf,es as Uf,fy as Vf,ts as Wf,wy as Xf,hh as Yf,uh as Zf,gy as _f,ph as $f,by as ag,nn as bg,ns as cg,Ey as dg,sn as eg,an as fg,os as gg,bh as hg,as as ig,Se as jg,rn as kg,yh as lg,ss as mg,ln as ng,Th as og,Iy as pg,Py as qg,xh as rg,By as sg,cn as tg,My as ug,Fy as vg,He as wg,vo as xg,To as yg,fl as zg,wl as Ag,gl as Bg,Rm as Cg,bl as Dg,Cm as Eg,me as Fg,Lm as Gg,Nm as Hg,Im as Ig,El as Jg,Oo as Kg,Pm as Lg,Hm as Mg,_l as Ng,Dm as Og,Xe as Pg,Yy as Qg,je as Rg,$y as Sg,Ky as Tg,D as Ug,Jy as Vg,eE as Wg,ds as Xg,tE as Yg,us as Zg,nE as _g,oE as $g,aE as ah,sE as bh,ps as ch,Lh as dh,Nh as eh,iE as fh,rE as gh,fE as hh,bs as ih,wE as jh,gE as kh,Yh as lh,jh as mh,zh as nh,Ze as oh,Qe as ph,SE as qh,_E as rh,Os as sh,As as th,Jh as uh,TE as vh,pn as wh,Rs as xh,vE as yh,Je as zh,xE as Ah,OE as Bh,A as Ch,IE as Dh,PE as Eh,HE as Fh,G as Gh,au as Hh,su as Ih,iu as Jh,DE as Kh,BE as Lh,ME as Mh,et as Nh,Ds as Oh,Bs as Ph,YE as Qh,$E as Rh,bn as Sh,KE as Th,yn as Uh,VE as Vh,jE as Wh,cu as Xh,du as Yh,zE as Zh,qE as _h,eS as $h,tS as ai,Fm as bi,Un as ci,Eu as di,Hp as ei,Hr as fi,Dp as gi,Bp as hi,Mp as ii,Fp as ji,Rl as ki,Um as li,Ao as mi,Cl as ni,Ll as oi,$m as pi,Km as qi,Vm as ri};
|