efficient-storefront-blocks 0.125.5 → 0.125.7
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 +24 -0
- package/dist/chunks/CustomHtmlCodeWindow-KAHNIUZO.js +26 -0
- package/dist/chunks/{EditorPreviewCheckout-3ZX2DIIL.js → EditorPreviewCheckout-M5LLO3H2.js} +1 -1
- package/dist/chunks/SiteEditorProvider-6P7LYLL2.js +1 -0
- package/dist/chunks/{chunk-5SWY36EZ.js → chunk-4SIPG47B.js} +1 -1
- package/dist/chunks/chunk-7ARO3R4C.js +9 -0
- package/dist/chunks/chunk-7SLHEYYR.js +337 -0
- package/dist/chunks/chunk-COR5IL6E.js +2 -0
- package/dist/chunks/{chunk-4WRJWM6K.js → chunk-FD3ICZTF.js} +1 -1
- package/dist/chunks/{chunk-RGLTNGJH.js → chunk-L6MXM22Q.js} +1 -1
- package/dist/chunks/chunk-SB3V6PTJ.js +1 -0
- package/dist/chunks/chunk-SQ6D33WV.js +96 -0
- package/dist/chunks/{chunk-ACYEMD5J.js → chunk-UREPZPIT.js} +1 -1
- package/dist/chunks/{fitment-data-CFDAFXJB.js → fitment-data-BQFU5HN3.js} +1 -1
- package/dist/chunks/section-css-style-VF2FOE3B.js +1 -0
- package/dist/editor/lib/document/blocks/service/SiteHeader/fields.js +1 -1
- package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
- package/dist/editor/lib/storefront-editor-words.d.ts +2 -0
- package/dist/editor/lib/storefront-editor-words.js +1 -1
- package/dist/editor.css +1 -1
- package/dist/index.d.ts +29 -2
- package/dist/index.js +32 -32
- package/dist/render/app/globals.css +12 -0
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/AppointmentBooking.js +1 -1
- package/dist/render/components/BoxHeaderBar.d.ts +3 -1
- package/dist/render/components/BoxHeaderBar.js +1 -1
- package/dist/render/components/CheckoutCTA.js +1 -1
- package/dist/render/components/Collections.js +1 -1
- package/dist/render/components/ContactRouting.d.ts +3 -1
- package/dist/render/components/ContactRouting.js +1 -1
- package/dist/render/components/DeliveryOptions.js +1 -1
- package/dist/render/components/FormBlock.js +1 -1
- package/dist/render/components/GalleryShowcase.js +1 -1
- package/dist/render/components/ProductHeroPanel.js +1 -1
- package/dist/render/components/PublishedHeader.js +1 -1
- package/dist/render/components/ReviewForm.js +1 -1
- package/dist/render/components/Reviews.js +1 -1
- package/dist/render/components/SectionBand.d.ts +2 -1
- package/dist/render/components/SectionBand.js +1 -1
- package/dist/render/components/SectionNotice.js +1 -1
- package/dist/render/components/SectionPadScope.d.ts +23 -0
- package/dist/render/components/SectionPadScope.js +1 -0
- package/dist/render/components/catalog/CatalogFilterBar.js +1 -1
- package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
- package/dist/render/lib/content/block-own-pads.d.ts +27 -0
- package/dist/render/lib/content/block-own-pads.js +1 -0
- package/dist/render/lib/content/header-bar.d.ts +8 -0
- package/dist/render/lib/content/header-bar.js +1 -1
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/BundleOffer/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/BundleOffer/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CatalogFilterBar/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CatalogFilterBar/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CheckoutCTA/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CheckoutCTA/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Collections/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Collections/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CompatibleTyres/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/CompatibleTyres/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/DeliveryOptions/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/DeliveryOptions/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/EuTyreLabel/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/EuTyreLabel/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentFinder/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentFinder/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentTable/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/FitmentTable/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Gallery/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/Gallery/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductHero/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductHero/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/RelatedProducts/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/RelatedProducts/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/SpecTable/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/SpecTable/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreFitment/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreFitment/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreSizes/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/TyreSizes/render.js +1 -1
- package/dist/render/lib/document/blocks/service/AppointmentBooking/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/AppointmentBooking/render.js +1 -1
- package/dist/render/lib/document/blocks/service/ContactRouting/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/ContactRouting/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Form/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Form/render.js +1 -1
- package/dist/render/lib/document/blocks/service/ReviewForm/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/ReviewForm/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Reviews/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Reviews/render.js +1 -1
- package/dist/render/lib/document/blocks/service/SiteHeader/render.js +1 -1
- package/dist/render/lib/document/blocks/service/SubmitBuild/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/SubmitBuild/render.js +1 -1
- package/dist/render/lib/document/blocks/service/Subscribe/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/Subscribe/render.js +1 -1
- package/dist/render/lib/document/blocks/service/SubscribeBlogs/meta.js +1 -1
- package/dist/render/lib/document/blocks/service/SubscribeBlogs/render.js +1 -1
- package/dist/render/lib/document/pads-itself.d.ts +16 -0
- package/dist/render/lib/document/pads-itself.js +1 -0
- package/dist/render/lib/document/published-header-bar.d.ts +2 -0
- package/dist/render/lib/document/published-header-bar.js +1 -1
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/dist/words.d.ts +2 -0
- package/dist/words.js +1 -1
- package/package.json +2 -2
- package/dist/chunks/CustomHtmlCodeWindow-HSZVKXL4.js +0 -26
- package/dist/chunks/SiteEditorProvider-6X2YHTVA.js +0 -1
- package/dist/chunks/chunk-AEBQM5LZ.js +0 -2
- package/dist/chunks/chunk-B3U6XXDZ.js +0 -337
- package/dist/chunks/chunk-GATK7RJE.js +0 -7
- package/dist/chunks/chunk-HKL2EKLO.js +0 -96
- package/dist/chunks/section-css-style-TKWJ7WU2.js +0 -1
- /package/dist/chunks/{chunk-B3U6XXDZ.js.LEGAL.txt → chunk-7SLHEYYR.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-3DCSW3PN.js → chunk-ECMYL3O7.js} +0 -0
- /package/dist/chunks/{chunk-ACYEMD5J.js.LEGAL.txt → chunk-UREPZPIT.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-5NGS7VFJ.js → chunk-VYXOE5FY.js} +0 -0
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
var me=[{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}],Q=new Map(me.map(e=>[e.key,e]));function tu(e){return Q.get(e)}var Ze=["heading","heading2","heading3","body","accent","label"];function ou(e){return typeof e=="string"&&Ze.includes(e)?e:null}var au={heading:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",body:"Body",accent:"Emphasis",label:"Labels"},ui=[["font-heading2","heading2"],["font-heading3","heading3"],["font-display","heading"],["font-serif","accent"],["font-mono","label"],["font-body","body"]],pi=/var\(--size-(headingLarge|headingMedium|headingSmall|accent|body|label)\s*,/,su={heading:"headingLarge",heading2:"headingMedium",heading3:"headingSmall",accent:"accent",body:"body",label:"label"},mi={headingLarge:"heading",headingMedium:"heading2",headingSmall:"heading3",accent:"accent",body:"body",label:"label"};function nu(e){let t=e?pi.exec(e):null;return t?mi[t[1]]??null:fi(e)}function fi(e){if(!e)return null;let t=e.split(/\s+/).filter(o=>!o.slice(0,o.lastIndexOf(":")+1).includes("&")).map(o=>o.slice(o.lastIndexOf(":")+1));for(let[o,a]of ui)if(t.includes(o))return a;return null}var M={heading:"space-grotesk",heading2:"space-grotesk",heading3:"space-grotesk",body:"inter",accent:"fraunces",label:"jetbrains-mono"};function wi(e){let t=o=>{let a=e?.[o];if(a&&Q.has(a))return a;if(o==="heading2"||o==="heading3"){let s=e?.heading;return s&&Q.has(s)?s:M.heading}return M[o]};return Object.fromEntries(Ze.map(o=>[o,t(o)]))}function gi(e,t){return Q.get(e[t])??Q.get(M[t])}function q(e,t){return`var(${gi(e,t).cssVar})`}var iu=[...new Set(Ze.map(e=>Q.get(M[e]).cssVar))],ru=[...new Set(me.map(e=>e.cssVar))];function lu(e){let t=wi(e);return{"--font-role-heading":q(t,"heading"),"--font-role-heading2":q(t,"heading2"),"--font-role-heading3":q(t,"heading3"),"--font-role-body":q(t,"body"),"--font-role-accent":q(t,"accent"),"--font-role-label":q(t,"label"),fontFamily:"var(--font-role-body)"}}import{VIEW_DESKTOP_MIN as bi,VIEW_TABLET_MIN as yi}from"efficient-easel/screen/lib/content/view-tiers";function F(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function Z(e,t){return Object.hasOwn(e,t)}var Fo="v1",Go=800,pu=961,Ti={"view-tablet":yi,"view-desktop":bi,"view-wide":Go};function mu(e){let t=e.startsWith("max-"),o=t?e.slice(4):e,a=F(Ti,o);if(a!==void 0)return{px:a,max:t};let s=/^(max|min)-\[(\d+)px\]$/.exec(e);return s?{px:Number(s[2]),max:s[1]==="max"}:void 0}var fu=`(min-width: ${Go}px)`,Ei="data-sf-line",Si="edge",wu={[Ei]:Si},gu=(e,t)=>e==="edge"||e!=="section"&&t;import{contrastRatio as Lu,hexToRgb as Oe,parseHexColor as N,readableInk as Vo,relativeLuminance as ve,parseOption as lt}from"efficient-shell/format";import{DEFAULT_SHADOW_COLOR as Ai,pictureShadowColor as Ri}from"efficient-easel/screen/lib/document/shadow-values";import{isLengthUnit as Li}from"efficient-easel/screen/lib/content/length-units";import{CORNER_RADIUS_MAX as jo}from"efficient-easel/screen/lib/content/style-keys";import{VIEW_TIERS as _i,viewKeyAt as Wo}from"efficient-easel/screen/lib/content/view-tiers";var C=e=>typeof e=="number"&&Number.isFinite(e)?e:void 0;import{isLengthUnit as Je,lengthOf as Oi,rowGrid as vi}from"efficient-easel/screen/lib/content/length-units";function et(e,t){let o=Oi(e,tt(t));return typeof o=="number"?`${o}px`:o}function tt(e,t="px"){return Je(e)?e:t}function _u(e,t,o){return t.unitKey?tt(e[Wo(t.unitKey,o)],t.base??"px"):t.base??"px"}function Ou(e,t=_i){return e.unitKey?t.map(o=>Wo(e.unitKey,o)):[]}function xi(e,t,o){let a=vi({kind:e},t,o);return t!=="px"&&o.min>0?{...a,min:a.step}:a}function ot(e,t,o,a){let s=C(e);if(!Je(t)||t==="px"||s===void 0)return null;let n=xi(o,t,a),i=Math.min(n.max,Math.max(n.min,s));return Math.round(i*100)/100}function vu(e,t,o,a){let s=ot(e,t,o,a);return s===null?null:et(s,t)}var ki={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 xu(e){let t=e;return Object.fromEntries(Object.entries(ki).map(([o,a])=>[o,tt(t[a])]))}function ku(e,t,o){let a=C(e);return Je(t)&&t!=="px"&&a!==void 0?a:o(a??null)}import{DEFAULT_SHADOW_COLOR as dp}from"efficient-easel/screen/lib/document/shadow-values";var Hu="storefront-theme",Du="sf:theme-mode",Bu="sf:theme-switch",Mu="hide",Fu=["light","dark","auto"],ut="light",pt=!1,Ci=7,Ii=18;function Pi(e){return e>=Ci&&e<Ii}function Gu(e){let{mode:t,override:o,switchShown:a,hour:s}=e;return a&&(o==="light"||o==="dark")?o:t==="auto"?Pi(s)?"light":"dark":lt(["light","dark"],"dark",t)}var J={background:"#0a0a0a",surface:"#131313",line:"#2a2a2a",muted:"#9a9388"},Ni=[{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"}],xe={selected:0,themes:Ni};function Xo(e){return!e||!Array.isArray(e.themes)||e.themes.length===0?{...xe}:{selected:Math.min(Math.max(0,e.selected??0),e.themes.length-1),themes:e.themes}}function at(e,t,o){let a=Oe(e),s=Oe(t);if(a===null||s===null)return e;let n=(i,r)=>Math.max(0,Math.min(255,Math.round(i+(r-i)*o))).toString(16).padStart(2,"0");return`#${n(a.r,s.r)}${n(a.g,s.g)}${n(a.b,s.b)}`}var Hi={light:"#ffffff",dark:"#0a0a0a"},Wu=["light","dark"];function Uu(e,t){let o=Hi[t],a=t==="light"?"#ffffff":"#000000";return{text:o,accent:o,background:e,surface:at(e,a,.1),line:at(e,a,.22),muted:at(o,e,.35),brandInk:t}}function te(e){let t=Xo(e);return t.themes[t.selected]}function ee(e){return{text:e.text,accent:e.accent,background:e.background||J.background,surface:e.surface||J.surface,line:e.line||J.line,muted:e.muted||J.muted}}var Di=.4,Bi="#f5f1e8",Uo="#0a0a0a";function Mi(e){let t=te(e).text,o=ve(t);return o===null||o>=Di?t:null}var Fi=4.5,Gi=3,Yu={good:"Good","large-only":"Large text only",hard:"Hard to read"};function Ku(e){return e>=Fi?"good":e>=Gi?"large-only":"hard"}var Wi=["#000000","#ffffff"];function ke(e){return Vo(e,Wi)}function zo(e,t){let o=t!==void 0&&ve(t)!==null?t:Bi;return Vo(e,[Uo,o])===o&&o!==Uo}var Ui=[.25,.4,.55];function $u(e){let t=Oe(e);return t===null?[]:Ui.map(o=>"#"+[t.r,t.g,t.b].map(a=>Math.round(a*(1-o)).toString(16).padStart(2,"0")).join(""))}function Vu(e){let t={"--theme-fg":te(e).text},o=Mi(e);return o!==null&&(t["--overlay-fg"]=o),t}var Yi=82;function mt(e){return`color-mix(in srgb, ${e} ${Yi}%, #000)`}function ju(e){let t=te(e);return{"--theme-accent":t.accent,"--theme-accent-2":mt(t.accent),"--theme-accent-ink":ke(t.accent)}}function ft(e){let t=e?.button;return t&&N(t)===t.toLowerCase()?t.toLowerCase():null}function Xu(e){let t=te(e),o=ft(t),a=qo(t);if(o===null&&a===null)return{};let s={};return o!==null&&(s["--theme-btn"]=o,s["--theme-btn-2"]=mt(o)),s["--theme-btn-ink"]=a??ke(o),s}function qo(e){let t=e?.buttonInk;return t&&N(t)===t.toLowerCase()?t.toLowerCase():null}function Ki(e,t){return qo(e)??ke(ft(e)??t)}function zu(e){let t=te(e);return{fill:ft(t)??t.accent.toLowerCase(),ink:Ki(t,t.accent)}}function qu(e){let t={};return Xo(e).themes.forEach((o,a)=>{let s=ee(o);t[`--theme-preset-${a}-accent`]=s.accent,t[`--theme-preset-${a}-accent-2`]=mt(s.accent),t[`--theme-preset-${a}-accent-ink`]=ke(s.accent),t[`--theme-preset-${a}-bg`]=s.background,t[`--theme-preset-${a}-fg`]=s.text,t[`--theme-preset-${a}-surface`]=s.surface,t[`--theme-preset-${a}-surface-2`]=`color-mix(in srgb, ${s.surface} 60%, ${s.line})`,t[`--theme-preset-${a}-line`]=s.line,t[`--theme-preset-${a}-muted`]=s.muted}),t}var st=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},nt=e=>255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055);function Yo([e,t,o]){let[a,s,n]=[st(e),st(t),st(o)],i=Math.cbrt(.4122214708*a+.5363325363*s+.0514459929*n),r=Math.cbrt(.2119034982*a+.6806995451*s+.1073969566*n),c=Math.cbrt(.0883024619*a+.2817188376*s+.6299787005*n);return[.2104542553*i+.793617785*r-.0040720468*c,1.9779984951*i-2.428592205*r+.4505937099*c,.0259040371*i+.7827717662*r-.808675766*c]}function $i([e,t,o]){let a=(e+.3963377774*t+.2158037573*o)**3,s=(e-.1055613458*t-.0638541728*o)**3,n=(e-.0894841775*t-1.291485548*o)**3;return[nt(4.0767416621*a-3.3077115913*s+.2309699292*n),nt(-1.2684380046*a+2.6097574011*s-.3413193965*n),nt(-.0041960863*a-.7034186147*s+1.707614701*n)]}var ct=e=>{let t=Oe(e);return t===null?[0,0,0]:[t.r,t.g,t.b]},Qo=(e,t,o)=>[e[0]*o+t[0]*(1-o),e[1]*o+t[1]*(1-o),e[2]*o+t[2]*(1-o)],Zo=e=>`#${e.map(t=>Math.max(0,Math.min(255,Math.round(t))).toString(16).padStart(2,"0")).join("")}`,Jo=e=>Qo(ct(e.surface),ct(e.line),.6);function Qu(e){return Zo(Jo(ee(e)))}function Vi(e){let t=ee(e);return Zo($i(Qo(Yo(Jo(t)),Yo(ct(t.text)),.92)))}function ea(e,t,o,a){let s=e[t];if(!s)return-1;let n=o(s);if(!n)return-1;let i=ee(s);return e.findIndex((r,c)=>{if(c===t)return!1;let h=ee(r);return N(h.background)!==n?!1:!a||N(h.text??"")===N(i.text??"")&&N(h.accent??"")===N(i.accent??"")})}function Zu(e,t){return ea(e,t,Vi,!1)}function Ju(e,t){return ea(e,t,o=>N(o.surface??""),!0)}var ji=1;function Xi(e,t){let o=(e??[]).flatMap((a,s)=>{let n=ve(a.background??""),i=ve(a.text??"");return n!==null&&i!==null&&n<i?[s]:[]});return o.find(a=>a!==t)??o[0]??ji}function ep(e){return Xi(e?.themes,e?.selected)}var tp=["--theme-bg","--theme-surface","--theme-surface-2","--theme-line","--theme-muted"];function op(e){let t=ee(te(e)),o=`color-mix(in srgb, ${t.surface} 60%, ${t.line})`,a={"--theme-bg":t.background,"--theme-surface":t.surface,"--theme-line":t.line,"--theme-muted":t.muted};return(t.surface!==J.surface||t.line!==J.line)&&(a["--theme-surface-2"]=o),a}var zi=["heading","body","label"];function ap(e){if(!e)return null;for(let t of zi)if(e.includes(`--size-${t}`))return t;return/--size-heading(Large|Medium|Small)/.test(e)?"heading":null}var ta=["headingLarge","headingMedium","headingSmall","accent","body","label"];var wt={headingLarge:null,headingMedium:null,headingSmall:null,accent:null,body:null,label:null},qi=8,Qi=200;function Zi(e){if(typeof e!="number"||!Number.isFinite(e))return null;let t=Math.round(e);return t>=qi&&t<=Qi?t:null}function Ji(e){let t={};for(let o of ta)t[o]=Zi(e?.[o]);return t}function sp(e){let t=Ji(e),o={};for(let a of ta){let s=t[a];s!==null&&(o[`--size-${a}`]=`${s}px`)}return o}var er=["square","small","large"],tr="small";function np(e){return er.includes(e??"")?e:tr}var Ae=0,or={min:Ae,max:jo,step:1},ip={square:0,small:null,large:16},dt={"--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 gt(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(jo,Math.max(Ae,Math.round(t))):null}function Ko(e,t){if(Li(t)&&t!=="px"){if(typeof e!="number"||!Number.isFinite(e))return{};let a=Math.max(0,e);return Object.fromEntries(Object.entries(dt).map(([s,n])=>{let i=Math.round(a*n*1e4)/1e4;return[s,i===0?"0":et(i,t)]}))}let o=gt(e);return o===null?{}:Object.fromEntries(Object.entries(dt).map(([a,s])=>{let n=o*s/16;return[a,n===0?"0":`${n}rem`]}))}function rp(e){return(gt(e)??Ae)*dt["--sf-button-radius"]}function lp(e,t){let o=ot(e,t,"radius",or);return o!==null?Ko(o,t):Ko(gt(e)??Ae)}var ar=["none","soft","lifted"],sr="soft",oa="none",nr=["tight","normal","roomy"],ir="normal",Re="normal",rr=["none","lift","highlight"],lr="lift",cr="highlight";function aa(e){return ar.includes(e??"")?e:sr}function dr(e){return nr.includes(e??"")?e:ir}function sa(e){return rr.includes(e??"")?e:lr}function hp(e){let t=aa(e);return t===oa?void 0:t}function up(e){let t=dr(e);return t===Re?void 0:t}function pp(e){let t=sa(e);return t===cr?void 0:t}function mp(e,t,o){let a=Ri(t);return a===Ai?{}:aa(e)!==oa||sa(o)==="lift"?{"--sf-shadow-color":a}:{}}var hr=["normal","tight","compressed"],fe="normal";function na(e){return hr.includes(e??"")?e:fe}function fp(e){let t=na(e);return t===fe?void 0:t}function wp(e){switch(na(e)){case"tight":return{lineHeight:.95,letterSpacing:-.01};case"compressed":return{lineHeight:.86,letterSpacing:-.01};default:return{}}}var $o=["authored","sentence"],bt={case:"authored",weight:null,weightStrong:null,italicStrong:null,maxPx:null,weight2:null,weight3:null,case2:"authored",case3:"authored"},it=100,rt=900,ur=24,pr=200;function _e(e,t,o){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),o))}function ia(e){let t=_e(e?.weight,it,rt),o=lt($o,"authored",e?.case),a=n=>n==null?t:_e(n,it,rt),s=n=>lt($o,o,n);return{case:o,weight:t,weightStrong:_e(e?.weightStrong,it,rt),italicStrong:typeof e?.italicStrong=="boolean"?e.italicStrong:null,maxPx:_e(e?.maxPx,ur,pr),weight2:a(e?.weight2),weight3:a(e?.weight3),case2:s(e?.case2),case3:s(e?.case3)}}function gp(e){let t=ia(e),o={};return t.case==="sentence"&&(o["--sf-heading-case"]="none"),t.weight!==null&&(o["--sf-heading-weight"]=String(t.weight)),t.weightStrong!==null&&(o["--sf-heading-weight-strong"]=String(t.weightStrong)),t.maxPx!==null&&(o["--sf-heading-max"]=`${t.maxPx}px`),t.weight2!==null&&t.weight2!==t.weight&&(o["--sf-heading-2-weight"]=String(t.weight2)),t.weight3!==null&&t.weight3!==t.weight&&(o["--sf-heading-3-weight"]=String(t.weight3)),t.case2!==t.case&&(o["--sf-heading-2-case"]=t.case2==="sentence"?"none":"uppercase"),t.case3!==t.case&&(o["--sf-heading-3-case"]=t.case3==="sentence"?"none":"uppercase"),o}function bp(e){return ia({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 ht="siteTheme";function mr(e){let t=e;if(!t||typeof t!="object"||!Array.isArray(t.themes)||!t.themes.every(a=>!!a&&typeof a=="object"))return{};let o=typeof t.selected=="number"&&Number.isInteger(t.selected)&&t.selected>=0?t.selected:0;return{[ht]:{selected:o,themes:t.themes}}}function yp(e){return mr(e?.[ht])[ht]}import{parseHexColor as fr}from"efficient-shell/format";var yt=[{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}],wr=yt.filter(e=>e.ink);function ra(e){let t={color:e.fg};for(let{role:o,token:a}of wr)t[a]=e[o];return t}var gr={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},br=Object.freeze(ra(gr)),yr={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)"},Tr=Object.freeze(ra(yr));function _p(e,t){let o=e?fr(e):null;return o?zo(o,t)?br:Tr:null}import{jsx as da}from"react/jsx-runtime";import{createContext as _r,useCallback as m,useContext as Or,useMemo as vr,useState as xr}from"react";import{createContext as ca,useContext as Tt}from"react";import{createContext as Er}from"react";var la=Er(null);var Sr=ca(null),Et=ca({logo:null,placeholder:!1,wordmark:null});function Rp(){let e=Tt(la),t=Tt(Sr),o=Tt(Et),a=!e&&o.placeholder,s=e?e.logoUrl:o.logo?.logoUrl??t?.logoUrl??null;return{src:a?null:s,reversedSrc:e?e.logoReversed:o.logo?.logoReversed??t?.logoReversed??null,inkIsDark:e?e.logoInkIsDark:o.logo?.logoInkIsDark??t?.logoInkIsDark??null,wordmark:e?null:o.wordmark,siteName:e?.siteName??t?.siteName}}var ha={},ua=_r({settings:null,setSettings:()=>{},primeSettings:()=>{},websiteName:null,templateChrome:!1,templateName:null,chromePlaceholder:!1,themeMode:ut,setThemeMode:()=>{},themeSwitchShown:pt,setThemeSwitchShown:()=>{},theme:xe,themeRow:"none",setTheme:()=>{},fonts:M,setFonts:()=>{},sizes:wt,setSizes:()=>{},cornerRadiusPx:null,setCornerRadiusPx:()=>{},cardShadow:null,setCardShadow:()=>{},shadowColor:null,setShadowColor:()=>{},cardGap:Re,setCardGap:()=>{},hoverEffect:null,setHoverEffect:()=>{},headingCompression:fe,setHeadingCompression:()=>{},siteWidth:null,setSiteWidth:()=>{},siteGutter:null,siteGutterPhone:null,blockGap:null,blockGapPhone:null,siteLengthUnits:ha,setSiteLengthUnits:()=>{},setSiteGutter:()=>{},setSiteGutterPhone:()=>{},setBlockGap:()=>{},setBlockGapPhone:()=>{},headingTypography:bt,setHeadingTypography:()=>{},textStyles:null,setTextStyles:()=>{},wordStyles:null,heroBackgroundFollowsWidth:null,setHeroBackgroundFollowsWidth:()=>{},sectionBackgroundWidth:null,setSectionBackgroundWidth:()=>{},sectionContentWidth:null,setSectionContentWidth:()=>{},photographyGrayscale:null,setPhotographyGrayscale:()=>{},shareButtonOnPosts:null,setShareButtonOnPosts:()=>{},themeFromDocument:!1});function Dp({children:e,websiteName:t=null,templateChrome:o=!1,templateName:a=null,chromePlaceholder:s=!1,themeMode:n=ut,onThemeModeChange:i,themeSwitchShown:r=pt,onThemeSwitchShownChange:c,theme:h=xe,themeRow:_="none",onThemeChange:O,fonts:Qe=M,onFontsChange:po,sizes:gn=wt,onSizesChange:mo,cornerRadiusPx:bn=null,onCornerRadiusPxChange:fo,cardShadow:yn=null,onCardShadowChange:wo,shadowColor:Tn=null,onShadowColorChange:go,cardGap:En=Re,onCardGapChange:bo,hoverEffect:Sn=null,onHoverEffectChange:yo,headingCompression:_n=fe,onHeadingCompressionChange:To,siteWidth:On=null,onSiteWidthChange:Eo,siteGutter:vn=null,siteGutterPhone:xn=null,blockGap:kn=null,blockGapPhone:An=null,siteLengthUnits:Rn=ha,onSiteLengthUnitsChange:So,onSiteGutterChange:_o,onSiteGutterPhoneChange:Oo,onBlockGapChange:vo,onBlockGapPhoneChange:xo,headingTypography:Ln=bt,onHeadingTypographyChange:ko,textStyles:Cn=null,onTextStylesChange:Ao,wordStyles:In=null,heroBackgroundFollowsWidth:Pn=null,onHeroBackgroundFollowsWidthChange:Ro,sectionBackgroundWidth:Nn=null,onSectionBackgroundWidthChange:Lo,sectionContentWidth:Hn=null,onSectionContentWidthChange:Co,photographyGrayscale:Dn=null,onPhotographyGrayscaleChange:Io,shareButtonOnPosts:Bn=null,onShareButtonOnPostsChange:Po,themeFromDocument:Mn=!1}){let[pe,No]=xr(null),Fn=m(l=>No(hi=>hi??l),[]),Gn=m(l=>i?.(l),[i]),Wn=m(l=>c?.(l),[c]),Un=m(l=>O?.(l),[O]),Yn=m(l=>po?.(l),[po]),Kn=m(l=>mo?.(l),[mo]),$n=m(l=>Eo?.(l),[Eo]),Vn=m(l=>_o?.(l),[_o]),jn=m(l=>Oo?.(l),[Oo]),Xn=m(l=>vo?.(l),[vo]),zn=m(l=>xo?.(l),[xo]),qn=m(l=>So?.(l),[So]),Qn=m(l=>Ro?.(l),[Ro]),Zn=m(l=>Lo?.(l),[Lo]),Jn=m(l=>Co?.(l),[Co]),ei=m(l=>Io?.(l),[Io]),ti=m(l=>Po?.(l),[Po]),oi=m(l=>fo?.(l),[fo]),ai=m(l=>wo?.(l),[wo]),si=m(l=>go?.(l),[go]),ni=m(l=>bo?.(l),[bo]),ii=m(l=>yo?.(l),[yo]),ri=m(l=>To?.(l),[To]),li=m(l=>ko?.(l),[ko]),ci=m(l=>Ao?.(l),[Ao]),Ho=pe?.logoUrl,Do=pe?.logoReversed,Bo=pe?.logoInkIsDark,Mo=pe!==null,di=vr(()=>({logo:Mo?{logoUrl:Ho,logoReversed:Do,logoInkIsDark:Bo}:null,placeholder:o||s,wordmark:o?a:t}),[Mo,Ho,Do,Bo,o,s,a,t]);return da(Et.Provider,{value:di,children:da(ua.Provider,{value:{settings:pe,setSettings:No,primeSettings:Fn,websiteName:t,templateChrome:o,templateName:a,chromePlaceholder:s,themeMode:n,setThemeMode:Gn,themeSwitchShown:r,setThemeSwitchShown:Wn,theme:h,themeRow:_,setTheme:Un,fonts:Qe,setFonts:Yn,sizes:gn,setSizes:Kn,cornerRadiusPx:bn,setCornerRadiusPx:oi,cardShadow:yn,setCardShadow:ai,shadowColor:Tn,setShadowColor:si,cardGap:En,setCardGap:ni,hoverEffect:Sn,setHoverEffect:ii,headingCompression:_n,setHeadingCompression:ri,siteWidth:On,setSiteWidth:$n,siteGutter:vn,siteGutterPhone:xn,blockGap:kn,blockGapPhone:An,siteLengthUnits:Rn,setSiteLengthUnits:qn,setSiteGutter:Vn,setSiteGutterPhone:jn,setBlockGap:Xn,setBlockGapPhone:zn,headingTypography:Ln,setHeadingTypography:li,textStyles:Cn,setTextStyles:ci,wordStyles:In,heroBackgroundFollowsWidth:Pn,setHeroBackgroundFollowsWidth:Qn,sectionBackgroundWidth:Nn,setSectionBackgroundWidth:Zn,sectionContentWidth:Hn,setSectionContentWidth:Jn,photographyGrayscale:Dn,setPhotographyGrayscale:ei,shareButtonOnPosts:Bn,setShareButtonOnPosts:ti,themeFromDocument:Mn},children:e})})}var kr=()=>Or(ua);function Bp(e,t,o){return e?t===o?"read":"loading":"none"}function Mp(e,t){return{value:e,readFor:t}}function Fp(e,t,o){return{value:t,readFor:e.readFor===o?o:null}}function Gp(){let{sectionContentWidth:e,themeFromDocument:t}=kr();return t?null:e}var I=e=>typeof e=="string"&&e?e:void 0;var Kp=["general","commerce","service"],oe=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",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:"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 $p(){return Object.fromEntries(oe.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}var Ar="2027-02-05",Rr="2027-02-14",pa={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 ${Ar}). 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.`},Integrations:{label:"Integrations Grid",note:`Never listed: the Integrations Grid was registered but never offered (2026-11-14: a press of this type lays down a Box of real parts, SECTION_TO_BOX_PRESS, and its converter row \`section-to-box-rows-integrations\` moves a stored one).
|
|
74
|
-
|
|
75
|
-
WHAT REPLACES IT: a Box. \`eyebrow\`, \`title\` and \`body\` are Text blocks; each of \`apps\` is a Logo block named by the app in a Logos wall, Logo style Chips (the shell's brand mark beside the name, efficient-shell/icons/brands), dealt round-robin into three scrolling rows; \`statValue\`, \`statLabel\` and \`note\` are Text blocks.
|
|
76
|
-
|
|
77
|
-
0 Integrations nodes are stored on the US sites (76 pages, read only, 2026-11-14). Old sites stay as they are (owner, 2026-11-06).
|
|
78
|
-
|
|
79
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT, until ${Rr}. A stored Integrations node still renders through it and can still be edited; no document is rewritten.`},HeroSingle:{label:"Hero Single",note:`Owner, 2026-10-10: three heroes into one, the Hero (the slideshow) is the base; a single hero is a Hero with one slide. Every row the single Hero has is a slide row now: the picture is Media \u203A Image, Image 2 on the slide as it was on the single Hero (lib/document/hero-media-parts), with the same rows from one home (blocks/hero-shared-fields: the two-picture Layout, Image 2 and its tint); the height, corners, border, stick, anchor, entrance, scroll, width and hide are the Hero's own section rows.
|
|
80
|
-
|
|
81
|
-
WHAT REPLACES IT: a Hero with one slide (Hero \u203A Slide \u203A Box). The words are Boxes on the slide, as they were Boxes on the single Hero.
|
|
82
|
-
|
|
83
|
-
WHAT A MERCHANT LOSES: nothing a row sets. The single Hero's own copy rows (eyebrow, title, level, alignment) were deleted on 2026-09-09; their words were already Box blocks.
|
|
84
|
-
|
|
85
|
-
Old sites stay as they are; moving a stored page (lib/sections/hero-single-to-hero) is a separate write that needs the owner's word.
|
|
86
|
-
|
|
87
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Hero Single still renders through it and can still be edited; no document is rewritten.`},ContactLocations:{label:"Contact / Locations",note:`Owner, 2026-10-27/30: Contact / Locations is TWO sections, each with its own look, the city photo wall and the city cards with their own map. Its row (\`section-to-box-rows-locations\`) makes two Boxes, so the old row leaves the Add menu and each Box is a preset of its own (lib/sections/city-presets). A press of this type lays down that row (SECTION_TO_BOX_PRESS).
|
|
88
|
-
|
|
89
|
-
WHAT REPLACES IT: City maps, a Box with one Box per region group (its head: key, name, "N locations"), and in it one City Box per city: Words (name, state and country, time zone, address, a Directions button, hours) and a Map block (LocationMap); then the OpenStreetMap credit. City pictures, the head (number, heading, tagline) over the photo wall, comes back to the menu when the wall is redone: the owner, 2026-11-02, hid the photo groups until then (\`CITY_PHOTO_WALL_HIDDEN\`).
|
|
90
|
-
|
|
91
|
-
WHAT A MERCHANT LOSES until the wall is redone: the photo wall and the section head on a new insert (a Text section gives a heading). The look gaps of the Boxes are listed in the row.
|
|
92
|
-
|
|
93
|
-
Old sites stay as they are (owner, 2026-11-06); moving a stored page is a separate write that needs the owner's word.
|
|
94
|
-
|
|
95
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Contact / Locations node still renders through it and can still be edited; 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.'}},Lr=Object.fromEntries(Object.entries(pa).map(([e,t])=>[e,t.note])),Vp=["Grid","Spacer","TyreFitment"],jp=Array.from(new Set([...oe.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(Lr)])),Cr=Object.fromEntries(Object.entries(pa).map(([e,t])=>[e,t.label])),Xp={...Cr,...Object.fromEntries(oe.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},Ir={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",ProductBuyButton:"commerce",ProductSku:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",EuTyreLabel:"commerce",PaymentBadges:"general",ContactLocations:"general",HeroSingle:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},St={...Ir,...Object.fromEntries(oe.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function zp(e){return F(St,e)}function _t(e){return Object.keys(St).filter(t=>F(St,t)===e).sort()}var qp=_t("general"),Qp=_t("commerce"),Zp=_t("service"),Pr="Flex",Le="Box",Jp=`${Le}es`;function Nr(e){return e==="section"?"Blank section":Le}function em(e,t,o){return e===Pr?Nr(t):o}var G=["highlight","strong","quiet"],W={highlight:"Highlight",strong:"Bold",quiet:"Quiet"},L={highlight:{kind:"wordHighlight",delimiter:"@@"},strong:{kind:"wordStrong",delimiter:"++"},quiet:{kind:"wordQuiet",delimiter:"^^"}},am=Object.fromEntries(G.map(e=>[L[e].kind,e])),sm="data-sf-ws",Hr=["accent","text","labels"],Dr={accent:"var(--accent)",text:"var(--fg)",labels:"var(--fg-dim)"},Br=80,Mr=120,Fr=100,Gr=900,Wr=.5,Ur=3,Yr=-.1,Kr=.5,$r=3,Ot={font:null,size:null,weight:null,bold:null,italic:null,lineGap:null,textGap:null,colour:null},Vr={highlight:{...Ot},strong:{...Ot},quiet:{...Ot}};function ma(e,t,o){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),o))}function fa(e,t,o){if(typeof e!="number"||!Number.isFinite(e))return null;let a=10**$r;return Math.round(Math.min(Math.max(e,t),o)*a)/a}function wa(e){return typeof e=="boolean"?e:null}function jr(e){let t=typeof e?.font=="string"&&me.some(a=>a.key===e.font)?e.font:null,o=typeof e?.colour=="string"&&Hr.includes(e.colour)?e.colour:null;return{font:t,size:ma(e?.size,Br,Mr),weight:ma(e?.weight,Fr,Gr),bold:wa(e?.bold),italic:wa(e?.italic),lineGap:fa(e?.lineGap,Wr,Ur),textGap:fa(e?.textGap,Yr,Kr),colour:o}}function ga(e){let t={};for(let o of G)t[o]=e&&o in e&&e[o]?jr(e[o]):{...Vr[o]};return t}function nm(e){let t=ga(e),o={};for(let a of G){let s=t[a],n=`--sf-ws-${a}`;if(s.font){let i=me.find(r=>r.key===s.font);i&&(o[`${n}-font`]=`var(${i.cssVar})`)}s.size!==null&&(o[`${n}-size`]=`${s.size/100}em`),s.weight!==null&&(o[`${n}-weight`]=String(s.weight)),s.bold!==null&&(o[`${n}-weight-bold`]=s.bold?"700":"400"),s.italic!==null&&(o[`${n}-style`]=s.italic?"italic":"normal"),s.lineGap!==null&&(o[`${n}-line`]=String(s.lineGap)),s.textGap!==null&&(o[`${n}-track`]=`${s.textGap}em`),s.colour!==null&&(o[`${n}-color`]=Dr[s.colour])}return o}function im(e){let t=e?.word_styles??void 0,o={};for(let a of G)t&&a in t&&(o[a]=t[a]??null);return ga(o)}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 Xr,clearStyle as zr,markedAt as qr,markupTools as Qr,MARKUP_TOOLS as Zr,parseMarkup as Jr,RETIRED_MARKS as el,STOREFRONT_MARKUP as tl,tokenizeInline as bm}from"efficient-shell/markup";var ol=new Set(["strong"]),ba=G.map(e=>({open:L[e].delimiter,close:L[e].delimiter,kind:L[e].kind,...ol.has(e)?{wordStart:!0}:{}})),Tm=[{style:L.highlight.kind,label:W.highlight,title:`${W.highlight} word style`},{style:L.strong.kind,label:W.strong,title:`${W.strong} word style`},{style:L.quiet.kind,label:W.quiet,title:`${W.quiet} word style`}],al=new Set(ba.map(e=>e.open)),vt=[...tl.filter(e=>!al.has(e.open)),...ba];function sl(e){return e.bullet?"- ":e.number!=null?`${e.number}. `:""}function ya(e){return Jr(typeof e=="string"?e:"",vt)}var nl=Zr.map(e=>e.style).filter(e=>!el.includes(e)).filter(e=>vt.some(t=>t.kind===e));function Em(){return Qr(nl)}var Ta=Object.fromEntries(G.map(e=>[L[e].kind,L[e].delimiter]));function Sm(e,t,o,a){let s=Ta[a];if(!s)return Xr(e,t,o,a);let n=e.slice(t,o),i=e.slice(Math.max(0,t-s.length),t),r=e.slice(o,o+s.length);if(i===s&&r===s)return{text:e.slice(0,t-s.length)+n+e.slice(o+s.length),selectionStart:t-s.length,selectionEnd:t-s.length+n.length};let c=n||"styled text";return{text:e.slice(0,t)+s+c+s+e.slice(o),selectionStart:t+s.length,selectionEnd:t+s.length+c.length}}function _m(e,t,o,a){let s=Ta[a];return s?t>=s.length&&e.slice(t-s.length,t)===s&&e.slice(o,o+s.length)===s:qr(e,t,o,a)}function Ea(e){return e.replace(/==(.+?)==/g,(t,o)=>o.startsWith("_")&&o.endsWith("_")?t:`==_${o}_==`)}function Om(e){return ya(e).map(t=>sl(t)+Sa(t.children)).join(`
|
|
96
|
-
`)}function vm(e,t,o){return zr(e,t,o,vt)}function Sa(e){return e.map(t=>t.kind==="text"?t.text:Sa(t.children)).join("")}function xm(e){let t=o=>o.some(a=>a.kind==="link"||"children"in a&&t(a.children));return ya(e).some(o=>t(o.children))}import{AUTO_RULES as il,FOLLOW_RULES as rl,isAuto as ll,resolveViewValue as cl}from"efficient-easel/screen/lib/content/view-tiers";function dl(){return Fo==="v2"?il:rl}function Ce(e,t,o,a,s=dl()){let n=cl(e,t,o,a,s),i={},r=(c,h)=>!ll(c)||h!=null&&h!==t;return r(o,n.tablet)&&(i.tablet=n.tablet),r(a,n.phone)&&(i.phone=n.phone),i}var _a=-1,hl="sf-section-accent",Im="Color",Pm=new Set(["CategoryBar","DocTabs"]),Nm=new Set(["Flex"]),ul=0;function pl(e){return e===_a?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:ul}function Hm(e){return e??_a}function ml(e){let t=`--theme-preset-${e}`,o={"--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:a}of yt)o[`--sf-sec-${a}`]=`var(${t}-${a}, var(--theme-${a}))`;return o}function Dm(e){let t=pl(e.sectionAccent);return t===null?null:{className:hl,style:ml(t)}}import{isNodeList as fl}from"efficient-easel/data";import{parseOption as wl}from"efficient-shell/format";var Ie=["top-left","top-center","top-right","left","center","right","bottom-left","bottom-center","bottom-right"],va="bottom-left",U=4,gl=U+1,Oa=40,bl=30,yl=100,Tl=60,Gm=100;var xt={"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 El(e){let t=Ie.indexOf(ae(e));return{band:Math.floor(t/3),column:["start","center","end"][t%3]}}function Sl(e){return 1+El(e).band*(gl+1)}function Wm(e){return Sl(e)+1}function ae(e){return wl(Ie,va,e)}function Um(e){let t=typeof e=="number"&&Number.isFinite(e)?e:0;return Math.max(-Oa,Math.min(Oa,Math.round(t)))}function Ym(e,t=Tl){let o=typeof e=="number"&&Number.isFinite(e)?e:t;return Math.max(bl,Math.min(yl,Math.round(o)))}function kt(e,t){let o=ae(t);return e.filter(a=>ae(a?.props?.placement)===o).length}function xa(e){return`${xt[ae(e)]} already holds ${U} boxes. Move one somewhere else first.`}function Km(e,t){let o=e.filter(a=>a?.props?.id!==t);return Ie.map(a=>{let s=kt(o,a)>=U,n=xt[a];return s?{value:a,label:n,disabled:!0,title:xa(a)}:{value:a,label:n}})}function _l(e,t){let o=t===void 0?va:ae(t?.props?.placement);return kt(e,o)>=U?xa(o):null}var ka="HeroGroup";function $m(e){let t=new Map,o=!1,a=e.filter(s=>{let n=ae(s?.props?.placement),i=(t.get(n)??0)+1;return t.set(n,i),i<=U?!0:(o=!0,!1)});return o?a:e}function Ol(e){return Ie.map(t=>{let o=kt(e,t);return{anchor:t,total:o,hidden:o-U}}).filter(t=>t.hidden>0)}function Vm(e){let t=Ol(e);return t.length===0?null:t.map(({anchor:o,total:a,hidden:s})=>{let n=xt[o],i=s===1?"1 is not shown":`${s} are not shown`;return`${n} holds ${a} boxes. The published page draws the first ${U}, so ${i}. ${s===1?"Move it":"Move them"} somewhere else.`}).join(" ")}function jm(e,t){let o=t;if(o?.type!==ka)return null;let a=o.props?.id===void 0?"":String(o.props.id);return a?_l(vl(e,a),o):null}function vl(e,t){let o=Aa(e,t);return o&&o.ownerType===kl?o.siblings:[]}function Xm(e,t){let o=Aa(e,t);return o?o.ancestorTypes.filter(a=>a===ka).length:xl}var xl=1,kl="HeroSlide";function Aa(e,t){let o=(a,s,n)=>{if(s>12||!a||typeof a!="object")return null;if(fl(a)){if(a.some(i=>i?.props?.id===t))return{siblings:a,ownerType:n.at(-1)??null,ancestorTypes:n};for(let i of a){let r=i.type,c=o(i,s+1,[...n,String(r)]);if(c)return c}return null}for(let i of Object.values(a)){let r=o(i,s+1,n);if(r)return r}return null};return o(e,0,[])}var At={desktop:"desktop",tablet:"tablet",phone:"mobile"},Al=Object.keys(At);function Ra(e){return At[e??"desktop"]}function qm(e){return Al.find(t=>At[t]===e)??"desktop"}import{FOLLOW_RULES as Rl,resolveViewValue as Ll,viewKeyAt as Cl}from"efficient-easel/screen/lib/content/view-tiers";var Il=["desktop","tablet","phone"],Lt=(e,t)=>Cl(e,Ra(t)),ef=e=>e.flatMap(t=>Il.map(o=>Lt(t,o))),Rt=e=>e===null||e===""?void 0:e,Pl=(e,t,o)=>Ll("same",Rt(e),Rt(t),Rt(o),Rl);function tf(e,t,o,a=e[t]){return Pl(a,e[Lt(t,"tablet")],e[Lt(t,"phone")])[o]}var Nl="Website";function af(e){return e?.trim()||Nl}function se(e,t){let o=globalThis,a=Symbol.for(e),s=o[a];return s===void 0&&(s=t(),o[a]=s),s}function we(){return se("efficient.slot-field-blocks",()=>new Set)}var Hl="dataSource",uf="dataSourceOptions",Dl="dataRows",pf="countKey",mf="counts",ff="location-payment-methods",wf="shop-payment-methods",gf="delivery-options",bf="blog-categories",Ct="dealers",Bl="site-offices";function Ml(e){return typeof e.open=="function"}var Ia=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function yf(e){return typeof e=="string"&&Ia.test(e)}var La=new Set([Ct,Bl]);function ge(){return se("efficient.block-sources",()=>({sources:new Map,revision:0}))}var Fl=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!==""),Gl=e=>[e?.key,e?.label].every(t=>typeof t=="string"&&t.trim()!==""),Ca=e=>typeof e=="string"&&e.trim()!=="";function Wl(e){if(!e||!Ca(e.label))return null;if(Ml(e))return{label:e.label.trim(),open:e.open};let t=e.href;return Ca(t)?{label:e.label.trim(),href:t.trim()}:null}function Ul(e){if(typeof e.key!="string"||!Ia.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(a=>typeof a!="string"||!a))throw new Error(`The block source ${e.key} names no block it can fill.`);let t=e.blocks.find(a=>we().has(a));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 o=Wl(e.edit);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(a=>Na(a)).filter(a=>a!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(Fl)}:{},...Array.isArray(e.fields)?{fields:e.fields.filter(Gl).map(a=>({...a}))}:{},...o?{edit:o}:{},...typeof e.useRows=="function"?{useRows:e.useRows}:{},...Array.isArray(e.records)?{records:e.records.filter(a=>typeof a=="string"&&a.trim()!=="").map(a=>a.trim())}:{}}}function Tf(e){let t=e.map(Ul),o=ge();for(let a of t)o.sources.set(a.key,a);t.length&&(o.revision+=1)}function Pa(e){let t=[...ge().sources.values()],o=[...t.filter(a=>!La.has(a.key)),...t.filter(a=>La.has(a.key))];return e===void 0?o:o.filter(a=>a.blocks.includes(e))}function Pe(e){return ge().sources.get(e)??null}function Ef(e){return ge().sources.get(e)?.choices??[]}function Sf(){return ge().revision}function v(e){let t=e?.[Hl];return typeof t=="string"?t.trim():""}function Na(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let[o,a]of Object.entries(e)){let s=I(a);s&&(t[o]=s)}return Object.keys(t).length?t:null}function Yl(e){let t=e?.[Dl];return Array.isArray(t)?t.map(Na).filter(o=>o!==null):null}function _f(e,t,o=[]){let a=Yl(e);if(a!==null&&(a.length||!t))return{rows:a,sample:!1};if(!t)return{rows:[],sample:!1};let s=Pe(v(e))?.sample;return{rows:s?.length?s:o,sample:!0}}var w="rowField",x="rowLinkField",d="template",A="CardList",be="hideWhenRowEmpty",It=["Text","ImageBlock","ButtonBlock","Flex"];function Y(){return{type:"slot",allow:[...It]}}var Ha=It.filter(e=>e!=="ButtonBlock");function Pt(){return{type:"slot",allow:[...Ha]}}var Kl="boxes",Da={CardList:{template:Pt()},Cards:{template:Y()},FAQ:{template:Y()},Flex:{rowTitle:{type:"slot",allow:["Text"]},content:{type:"slot"}},Footprint:{template:Y()},Grid:{content:{type:"slot"}},Hero:{slides:{type:"slot",ownPictures:!0},strip:{type:"slot",allow:["Flex"]}},HeroGroup:{content:{type:"slot"}},HeroSingle:{boxes:{type:"slot",allow:["HeroGroup"]}},HeroSlide:{groups:{type:"slot",allow:["HeroGroup"]}},Logos:{logos:{type:"slot",allow:["LogoBlock"]},template:{type:"slot",allow:["LogoBlock"]}},OrderSummary:{template:Y()},ProcessSteps:{[Kl]:{type:"slot"},template:Y()}};import{isNodeList as Ba,slotsOf as $l,storedKeyOrder as Vl}from"efficient-easel/data";var jl={},Xl=null;function zl(){let e=Object.fromEntries(Object.entries(Da).map(([t,o])=>[t,{fields:o}]));return Xl??={components:{...e,...jl}}}function ne(e){let t=e.props??{},o=typeof e.type=="string"?e.type:"",a=zl(),s=o!==""&&Object.prototype.hasOwnProperty.call(a.components,o)?$l({type:o,props:t},a).map(r=>r.slot).filter(r=>!r.includes(".")):[],n=s.filter(r=>Ba(t[r])),i=Vl(Object.keys(t).filter(r=>!s.includes(r)&&Ba(t[r])));return[...n,...i]}function Lf(e){let t=e.props??{};return ne(e).map(o=>t[o])}function Cf(e,t){let o=null;return e.forEach((a,s)=>{let n=t(a,s);n!==a&&((o??=e.slice())[s]=n)}),o??e}function If(e,t){let o=null;for(let a of ne(e)){let s=e.props[a],n=t(s,a);n!==s&&((o??={...e.props})[a]=n)}return o?{...e,props:o}:e}function ql(e,t){let o=e;if(!o||!Array.isArray(o.content))return e;let a=t(o.content);return a===o.content?e:{...o,content:a}}function Pf(e,t){let o=ql(e,t),a=e?.zones;if(!a||typeof a!="object")return o;let s=null;for(let[n,i]of Object.entries(a)){if(!Array.isArray(i))continue;let r=t(i);r!==i&&((s??={...a})[n]=r)}return s?{...o,zones:s}:o}var p="content",f="Flex",Ql="Text & media",Zl="Layout & structure",Fa=[{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"}],Jl=[...Fa,{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:Ql})),ec=(oe.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:Zl})),Ma=[...Jl,...ec],Nt=[...Fa,{type:"HeroGroup",label:Le}],Bf=Nt.map(e=>e.type),tc=1,oc=Nt.filter(e=>e.type!=="HeroGroup");function ac(e){return e<tc?Nt:oc}var sc={Flex:{slot:p,choices:()=>Ma},Grid:{slot:p,choices:()=>Ma},HeroGroup:{slot:p,choices:ac}};function Mf(e,t=0){let o=F(sc,e);return o?{slot:o.slot,choices:o.choices(t)}:null}import{MEDIA_ZONES as nc,MEDIA_ZONE_LABELS as ic}from"efficient-easel/screen/lib/content/media-zones";import{HOVER_MOTION as rc,hoverKindsOf as He,motionSeconds as Ne,parseOption as ye}from"efficient-shell/format";var ie={min:0,max:360,step:1},Ga="angle";function Wf(e){let t=C(e);if(t===void 0)return null;let o=Math.min(ie.max,Math.max(ie.min,t));return o===ie.min||o===ie.max?null:{rotate:`${o}deg`}}var R="hover",jf="_gHover",lc={none:"None",nextImage:"Show next image",rotate:"Rotate",zoom:"Zoom",lift:"Lift",mono:"Black and white"},K="highlight",cc="Highlight",Xf=["none",K],zf={none:lc.none,[K]:cc};function dc(e){return e[R]===K?K:"none"}var qf="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)]",Qf="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 Zf(e,t){return dc(e)!==K?null:{"--sf-hl-bg":t("surface"),"--sf-hl-ink":t("main")}}var hc=He(["none","lift"]);function Jf(e){let t=e[R];return ye(hc,"none",t)}var Ya=He(["none","nextImage","rotate"]),k={kind:R,angle:"hoverAngle",duration:"hoverDuration",delay:"hoverDelay",mediaKind:"hoverKind",mediaGroup:"hoverGroup",cover:"hoverCover"},Bt="spinOnHover",Wa=ie,Ka={ProductGrid:"rotate",RelatedProducts:"rotate",AlloyWheelsListing:"none"},ew=Object.keys(Ka);function uc(e){return Ka[e]??"none"}var pc=rc.rotateFallbackDeg,mc=e=>e==="rendering"?"renderings":e,fc=e=>e==="renderings"?"rendering":e,$a=Object.freeze(nc.filter(e=>e!=="videos").map(mc)),tw=Object.freeze(Object.fromEntries($a.map(e=>[e,ic[fc(e)]]))),wc=["finish","first"],ow={finish:"Same finish",first:"First group"},gc=["card","picture"],aw={card:"Whole card",picture:"Picture"},Ht={kind:"photos",group:"finish",cover:"card"};function Va(e){return{kind:ye($a,Ht.kind,e[k.mediaKind]),group:ye(wc,Ht.group,e[k.mediaGroup]),cover:ye(gc,Ht.cover,e[k.cover])}}function sw(){return{field:k.kind,is:"nextImage"}}function bc(e,t){let o=e[k.kind];if(Ya.includes(o))return o;let a=e[Bt];return typeof a=="boolean"?a?"rotate":"none":t}function yc(e){let t=C(e);return t===void 0?pc:Math.min(Wa.max,Math.max(Wa.min,t))}function nw(e,t){let o=uc(t),a=bc(e,o);return{kind:a,angle:a==="rotate"?yc(e[k.angle]):null,duration:Ne("hover","duration",a==="rotate"?e[k.duration]:void 0),delay:Ne("hover","delay",a==="rotate"?e[k.delay]:void 0),...a==="nextImage"?{media:Va(e)}:{}}}function iw(e){let t={field:k.kind,in:[...Ya]};return{any:[{field:k.kind,is:"rotate"},{all:[{not:t},e==="rotate"?{not:{field:Bt,is:!1}}:{field:Bt,is:!0}]}]}}var ja=He(["none","mono"]),Tc=He(["none","nextImage","mono"]),Xa={ImageBlock:"none",Manifesto:"none",Split:"none",ContactLocations:"mono"},rw=Object.keys(Xa);function Ec(e){return Xa[e]??"none"}var za={zoom:"hoverZoom",darken:"hoverDarken"},Dt={min:100,max:150,step:1,unit:"%"};function Sc(e){let t=C(e[za.zoom]);if(t===void 0)return null;let o=Math.min(Dt.max,Math.max(Dt.min,t));return o===Dt.min?null:String(o/100)}function _c(e){let t=C(e[za.darken]);return t!==void 0&&t>0?t:null}var lw="hoverShow",cw="cardHover",dw="always",Oc=["ImageBlock","Flex"];function vc(e,t,o=ja){let a=e[R];return ye(o,t,a)}function hw(e,t=""){let o=Oc.includes(t)?Tc:ja,a=vc(e,Ec(t),o),s=a==="mono";return{kind:a,duration:Ne("hover","duration",s?e[k.duration]:void 0),delay:Ne("hover","delay",s?e[k.delay]:void 0),...a==="nextImage"?{media:Va(e),...t==="Flex"?Ua(e):{}}:Ua(e)}}function Ua(e){let t=Sc(e),o=_c(e);return{...t?{zoom:t}:{},...o?{darken:o}:{}}}function uw(){return{not:{field:R,is:"nextImage"}}}function pw(e){return e==="none"?{field:R,in:["mono","nextImage"]}:{not:{field:R,is:"none"}}}function mw(e){return e==="none"?{field:R,is:"mono"}:{not:{field:R,in:["none","nextImage"]}}}var gw={left:"start",center:"center",right:"end"},bw={left:"justify-start",center:"justify-center",right:"justify-end"},yw={left:"",center:"mx-auto",right:"ml-auto"},qa={left:"",center:"text-center",right:"text-right"},xc={text:{left:"view-wide:max-view-desktop:text-left",center:"view-wide:max-view-desktop:text-center",right:"view-wide:max-view-desktop:text-right"},place:{left:"view-wide:max-view-desktop:mx-0",center:"view-wide:max-view-desktop:mx-auto",right:"view-wide:max-view-desktop:ml-auto view-wide:max-view-desktop:mr-0"},items:{left:"view-wide:max-view-desktop:grid-cols-1 view-wide:max-view-desktop:justify-items-start",center:"view-wide:max-view-desktop:grid-cols-1 view-wide:max-view-desktop:justify-items-center",right:"view-wide:max-view-desktop:justify-items-end"},justify:{left:"view-wide:max-view-desktop:justify-start",center:"view-wide:max-view-desktop:justify-center",right:"view-wide:max-view-desktop:justify-end"}},kc={text:{left:"max-view-wide:text-left",center:"max-view-wide:text-center",right:"max-view-wide:text-right"},place:{left:"max-view-wide:mx-0",center:"max-view-wide:mx-auto",right:"max-view-wide:ml-auto max-view-wide:mr-0"},items:{left:"max-view-wide:grid-cols-1 max-view-wide:justify-items-start",center:"max-view-wide:grid-cols-1 max-view-wide:justify-items-center",right:"max-view-wide:justify-items-end"},justify:{left:"max-view-wide:justify-start",center:"max-view-wide:justify-center",right:"max-view-wide:justify-end"}},Ac={text:{left:"view-tablet:max-view-desktop:text-left",center:"view-tablet:max-view-desktop:text-center",right:"view-tablet:max-view-desktop:text-right"},place:{left:"view-tablet:max-view-desktop:mx-0",center:"view-tablet:max-view-desktop:mx-auto",right:"view-tablet:max-view-desktop:ml-auto view-tablet:max-view-desktop:mr-0"},items:{left:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-start",center:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-center",right:"view-tablet:max-view-desktop:justify-items-end"},justify:{left:"view-tablet:max-view-desktop:justify-start",center:"view-tablet:max-view-desktop:justify-center",right:"view-tablet:max-view-desktop:justify-end"}},Rc={text:{left:"max-view-tablet:text-left",center:"max-view-tablet:text-center",right:"max-view-tablet:text-right"},place:{left:"max-view-tablet:mx-0",center:"max-view-tablet:mx-auto",right:"max-view-tablet:ml-auto max-view-tablet:mr-0"},items:{left:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-start",center:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-center",right:"max-view-tablet:justify-items-end"},justify:{left:"max-view-tablet:justify-start",center:"max-view-tablet:justify-center",right:"max-view-tablet:justify-end"}};function De(e){return e==="left"||e==="center"||e==="right"?e:void 0}function Tw(e){return e==="start"?"left":e==="end"?"right":De(e)}function Lc(e,t,o){let a=De(e)??"left",s=Ce("same",a,De(t),De(o)),n={};return s.tablet&&s.tablet!==a&&(n.tablet=s.tablet),s.phone&&s.phone!==a&&(n.phone=s.phone),n}function Ew(e,t,o,a,{atSectionLine:s=!1}={}){let n=Lc(t,o,a),i=s?Ac:xc,r=s?Rc:kc;return[n.tablet?i[e][n.tablet]:"",n.phone?r[e][n.phone]:""].filter(Boolean).join(" ")}var Mt="rowImageField",Cc="boxOutsideCopy",Ic={all:[{field:Mt,set:!0},{not:{context:Cc,is:!0}}]},_w={any:[{field:"bgImage",set:!0},Ic]},Qa="boxInCopy",Pc={any:[{not:{field:Mt,set:!0}},{not:{context:Qa,is:!0}}]},Ow={all:[{not:{field:"bgImage",set:!0}},Pc]},Za={all:[{not:{context:"parent.bgImage",set:!0}},{any:[{not:{context:`parent.${Mt}`,set:!0}},{not:{context:Qa,is:!0}}]}]};import{parseOption as Ja}from"efficient-shell/format";var Nc="small",Hc="dot",Dc=[{label:"Small",value:"small"},{label:"Display",value:"display"}],Ft=[{label:"Dot \u25CF",value:"dot"},{label:"Cross \u2715",value:"cross"},{label:"Slash /",value:"slash"},{label:"Triangle \u25BC",value:"triangle"},{label:"None",value:"none"}],es={dot:"\u25CF",cross:"\u2715",slash:"/",triangle:"\u25BC",none:""},Bc={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)]"},Mc={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 kw(e){return Ja(Dc,Nc,e)}function ts(e){return Ja(Ft,Hc,e)}function Aw(e){return Bc[e]}function os(e,t){return Mc[e][t]}var Cw=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function as(e){return Ft.some(t=>t.value===e)?ts(e):void 0}var Fc="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 $(e,t){return e==="row"&&as(t)!==void 0}function Iw(e,t){return $(e,t)?Fc:""}var Gc="[&>*: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 Pw(e,t){return $(e,t)?Gc:""}function Nw(e,t){if(!$(e,t))return{};let o=as(t),a=/^text-\[([\d.]+)em\]$/.exec(os("small",o))?.[1],s=es[o];return{"--sf-sep-mark":s===""?"none":JSON.stringify(s),...a?{"--sf-sep-k":a}:{}}}import{parseOption as Wc}from"efficient-shell/format";var rs={sectionPaddingTop:0,sectionPaddingBottom:0},Te={start:"justify-start",center:"justify-center",between:"justify-between",end:"justify-end"},le={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},Uw=[...new Set([...Object.keys(le),...Object.keys(qa)])];function Yw(e,t){let o=typeof e=="string"&&Z(Te,e)?Te[e]:"",a=typeof t=="string"&&Z(le,t)?le[t]:"";return[o,a].filter(Boolean).join(" ")}function Uc(e){return e===!0||e==="wrap"?"flex-wrap":""}var Yc={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!"},Kc={start:"max-view-wide:justify-start",center:"max-view-wide:justify-center",between:"max-view-wide:justify-between",end:"max-view-wide:justify-end"},$c={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!"},Vc={start:"max-view-wide:items-start",center:"max-view-wide:items-center",end:"max-view-wide:items-end",stretch:"max-view-wide:items-stretch"},jc={wrap:"view-wide:max-view-desktop:flex-wrap!",nowrap:"view-wide:max-view-desktop:flex-nowrap!"};function X(e,t){return typeof t=="string"&&Z(e,t)?t:void 0}function Wt(e,t,o){let a=Ce("same",e,t,o),s={};return a.tablet!==void 0&&a.tablet!==e&&(s.tablet=a.tablet),a.phone!==void 0&&a.phone!==e&&(s.phone=a.phone),s}function Ut(e,t,o){return[e.tablet?t[e.tablet]:"",e.phone?o[e.phone]:""].filter(Boolean).join(" ")}function Xc(e,t,o){return Wt(X(Te,e)??"start",X(Te,t),X(Te,o))}function Kw(e,t,o){return Ut(Xc(e,t,o),Yc,Kc)}function $w(e,t,o){let a=X(le,e)??"stretch";if(a==="stretch")return"";let s=Wt(a,X(le,t),X(le,o));return Ut(s,$c,Vc)}function Gt(e){if(e===!0||e==="wrap")return"wrap";if(e===!1||e==="nowrap")return"nowrap"}function Vw(e,t){let o=Uc(e)===""?"nowrap":"wrap",a=Gt(t);return a&&a!==o?jc[a]:""}var jw="Block widths",ls=[{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]}],zc="data-sf-box-items",Xw=new RegExp(`[ \\t]+[^\\s"'\`]*\\[${zc}\\][^\\s"'\`]*`,"g");var zw=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{label:"Custom",value:"custom",weights:[2,1]}];function qw(e){return Array.isArray(e)?"custom":e==="equal"?"equal":typeof e=="string"&&e in Be?"custom":"content"}var cs=4,ss=10;function qc(e,t){if(!Number.isInteger(t)||t<2||t>cs||e.length!==t-1||!e.every(s=>typeof s=="number"&&Number.isFinite(s)))return;let o=[],a=0;return e.forEach((s,n)=>{let i=100-a-ss*(t-1-n),r=Math.min(i,Math.max(ss,Math.round(s)));o.push(r),a+=r}),o}function ns(e,t,o){if(!Array.isArray(t))return;let a=qc(t,o),s=a?[...a,100-a.reduce((i,r)=>i+r,0)]:[],n={};for(let i=0;i<cs;i+=1)n[`--${e}-${i+1}`]=s[i]??1;return n}function Qw(e,t,o){let a=ns("sf-share",e,o),s=ns("sf-share-tablet",t,o);return a||s?{...a,...s}:void 0}function Qc(e,t){let o=Array.from({length:t},()=>1),a=ls.find(i=>i.value===e);if(!a?.weights||t<1)return o;let[s,n]=a.weights;return s>1&&(o[0]=s),n>1&&(o[t-1]=n),o}function Zw(e,t){if(typeof e!="string"||!(e in Be)||e==="equal")return e;let o=Qc(e,t),a=o.reduce((s,n)=>s+n,0);return o.slice(0,-1).map(s=>Math.round(s/a*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]`},Zc=`${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 Jc(e){return Array.isArray(e)?Zc:typeof e=="string"?Be[e]??"":""}var Jw={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}},Za,{any:[{context:"parent.columns",in:[2,3,4,5,6]},{all:[{not:{context:"parent.columns",is:1}},{context:"parent.share",in:Object.keys(Be)}]}]}]},ds="view-wide:max-view-desktop:flex-row!",j=`${ds} [&>*: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!`,hs={content:`${ds} [&>*: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:j,bigLeft:`${j} [&>*: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:`${j} [&>*: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:`${j} [&>*: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:`${j} [&>*: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:`${j} [&>*: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]!`},ed=`${j} [&>*: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 td(e){return Array.isArray(e)||typeof e=="string"&&e in hs?e:null}function eg(e){if(e.direction!=="row"||$(e.direction,e.separator)||e.loop==="scroll"||e.line===!0||us(e.columns)!==""||ps(e.columnsTablet)!=="")return"";let t=td(e.shareTablet);return t===null?"":typeof t=="string"?hs[t]:ed}var od="[&>*]:view-wide:basis-[content] [&>[data-sf-box-items]>*]:view-wide:basis-[content]";function tg(e){return Jc(e)===""?od:""}var og="Columns",ag=1,sg=3,Yt={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)]"},ng=ls.filter(e=>e.value==="content"||e.value==="equal"),ig="equal",rg=1,lg=6,re="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!",ad={1:`${re} [&>*]:view-wide:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc(100%/1)]!`,2:`${re} [&>*]: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:`${re} [&>*]: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:`${re} [&>*]: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:`${re} [&>*]: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:`${re} [&>*]: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 us(e){return typeof e=="number"?ad[e]??"":""}var sd={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 ps(e){return typeof e=="number"?sd[e]??"":""}function cg(e){return e.direction!=="row"||$(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":ps(e.columnsTablet)}function dg(e){return e.direction!=="row"||$(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":us(e.columns)}var ms={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"},fs={2:"max-view-wide:grid max-view-wide:grid-cols-2",3:"max-view-wide:grid max-view-wide:grid-cols-3"},hg=Object.keys(ms).map(Number),ug=Object.keys(fs).map(Number);function pg(e,t,o=!1){let a=typeof e=="number"?ms[e]??"":"",s=fs[Number(t)]??"";return!a&&!s?"":[a,s,o?"gap-y-0!":""].filter(Boolean).join(" ")}var nd="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]",id={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)]"},rd="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 ld(e,t){return(Gt(e)??Gt(t)??"wrap")==="nowrap"}function mg(e,t,o,a){let s=Yt[Number(e)];if(!s)return"max-view-wide:flex-col";let n=ld(o,a);return ws(e,t)?n?rd:nd:n?id[Number(e)]:s}function fg(e,t){return Number(e)in Yt&&!ws(e,t)}function ws(e,t){return Number(e)in Yt&&t==="content"}var wg="Block spacing",cd=[{label:"Each block",value:"each"},{label:"Gap only",value:"gap"}],dd="sf-box-gap-only";function gg(e){return e==="gap"?dd:""}var is={each:"sf-box-each-tablet",gap:"sf-box-gap-only-tablet"},hd={each:"sf-box-each-phone",gap:"sf-box-gap-only-phone"};function bg(e,t,o){let a=n=>X(is,n),s=Wt(Wc(cd,"each",e),a(t),a(o));return Ut(s,is,hd)}var gs={label:"Text",defaultProps:{text:"",align:"left",tone:"default",tag:"p",contained:!0}};var{text:_g,tag:Og,...ud}=gs.defaultProps,b=ud,E={...b,tone:"dim"},pd={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},g={...pd,direction:"column",...rs},P=(e,t=e,o=e,a=t)=>({sectionPaddingTop:e,sectionPaddingRight:t,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingTopPhone:o,sectionPaddingRightPhone:a,sectionPaddingBottomPhone:o,sectionPaddingLeftPhone:a}),md=e=>({fillColor:e}),bs=(e,t,o={})=>({...g,widthFit:"fixed",width:e,minWidth:e,sectionHeightMode:"fixed",sectionHeightValue:e,sectionHeightUnit:"px",...t?md(t):{},...o}),y=(e,t,o,a)=>({sizeToken:{step:e,px:t,...a?{stepPhone:a}:{},...o?{pxPhone:o}:{}}}),vg=e=>({textStyle:"body-1",...y("body",e),lineHeight:1.625}),ys={case:"upper"},Kt={textStyle:"body-5",...ys},$t=(e,t)=>({...y("label",e,t),letterSpacing:.2,...ys}),Vt=(e,t)=>({...Kt,...$t(e,t)});function T(e,t,o=""){return e.map((a,s)=>{let n=o?`${o}.${s}`:String(s),i={...a.props??{}};for(let[r,c]of Object.entries(a.slots??{}))i[r]=T(c,t,n);return{type:a.type,props:{...i,id:t(a.type,n)}}})}function H(e,t){return typeof e.id=="string"&&e.id.trim()?e.id:t}var ce=(e,t)=>(o,a)=>a==="0"?`${e}~${t}`:`${e}~${t}.${a.slice(2)}`;function D(e,t,o,a){return e[t]!==void 0?e:{...e,[t]:a(H(e,o))}}var Ag=()=>({tag:"h2",_partStyles:{text:{textStyle:"heading-2"}}}),Ts=()=>({_partStyles:{text:{...Kt,color:"accent",letterSpacing:.3,lineHeight:1.5}}});var de="Cards",fd={...g,gap:12,gapPhone:12,...P(32,32,28,28)},wd={textStyle:"heading-3",...y("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02},Ee={textStyle:"body-1",...y("body",15),lineHeight:1.6},u=(e,t,o,a=!1)=>({type:"Text",props:{...t,text:"",[w]:e,_partStyles:{text:{...a?Ts()._partStyles?.text??{}:{},...o}}}}),he={title:"title",body:"body"},Me={title:"name",body:"note"},gd=(e=he)=>({type:f,props:{...fd,name:"Card"},slots:{[p]:[u(e.title,{...b,tag:"p",widthFit:"fill"},wd),u(e.body,{...E,tag:"p",widthFit:"fill"},Ee)]}}),Ss=(e,t)=>T([gd(t)],e),Es={label:he.title,href:"href"},bd={textStyle:"body-1",fontRole:"heading",color:"text",...y("body",17),weight:500,case:"upper",letterSpacing:.06,lineHeight:1.5},yd=bs(9,"main",{[Ga]:45}),Td=(e=!1)=>({type:f,props:{...g,name:"Card",direction:"row",align:"center",gap:16,gapPhone:16,phoneRow:2,sharePhone:"content",wrapPhone:!1,...P(32,28),[x]:Es.href,...e?{[R]:K}:{}},slots:{[p]:[{type:f,props:{...yd,name:"Mark"}},u(Es.label,{...b,tag:"p",widthFit:"fill"},bd)]}}),_s=e=>ce(e,"card"),Os=(e,t=!1)=>T([Td(t)],e);var jt="ArticleBody",Ed={textStyle:"heading-3",...y("headingSmall",20),weight:500,lineHeight:1.4,align:"center"},Sd={...Ee,align:"center"},vs=640,_d=()=>[u("heading",{...b,tag:"h2",align:"center",maxWidth:vs},Ed),u("paragraph",{...E,tag:"p",align:"center",maxWidth:vs},Sd)],Od=e=>T(_d(),e);function vd(e){return Od((t,o)=>`${e}~${o==="0"?"heading":"paragraph"}`)}function xs(e){return D(e,d,jt,vd)}import{addShowWhenFacts as xd}from"efficient-shell/format";import{showWhenOf as Yg,shownForOption as Kg,truthy as $g,withRowRules as Vg,withRowsShownWhen as ks,withShowWhen as jg}from"efficient-shell/format";var Xg=xd;function zg(e,t,o){return e.slice(0,-1).reduceRight((a,s)=>({any:[{all:[t(s),o(s)]},{all:[{not:t(s)},a]}]}),o(e[e.length-1]))}import{parseOption as kd}from"efficient-shell/format";var Ad="inline",Rd=[{label:"In this section",value:"inline"},{label:"In its own box",value:"own-box"},{label:"In the list column",value:"list-column",only:["Footprint"]}],As="list-column";var Ld={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"},Subscribe:{num:"headNum",title:"headTitle",description:"headDesc",headRows:["headNum","headTitle","headDesc"],headStyle:"editorial",renderer:"Subscribe"},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"}},eb="SectionHeader";function tb(e){return Z(Ld,e)}function Fe(e){return kd(Rd,Ad,e)}var Cd=new Set(["Flex"]);function ob(e){return!!e?.type&&Cd.has(e.type)}var Rs={not:{field:"headPlacement",is:"own-box"}},ab={not:Rs};function sb(e,t,o){return ks(e,o,Rs)}var ib="data-sf-spec-region";function rb(e){return e.writable===!0&&e.sized===!0}function lb(e,t,o){if(!e)return;let a=o[e];if(a)return{fontFamily:`var(--font-role-${e})`,fontSize:`var(--size-${a}, ${t.builtIn})`}}function cb(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 Ls(e){return`@${e}`}function db(e,t){if(!t.startsWith("@"))return null;let o=t.slice(1);return o in e?o:null}function hb(e,t){return t&&t in e?t:null}function Is(e,t){if(e!==de)return t;if(t[d]!==void 0)return Cs(t);let o=H(t,de),a=_s(o);if(t.cardStyle==="label-only"){let n=Array.isArray(t.items)&&t.items.some(i=>I(i?.href)!==void 0);return Cs({...t,[d]:Os(a,n)})}let s=v(t)?Me:he;return{...t,[d]:Ss(a,s)}}var Id=e=>{let[t,o]=e?[he,Me]:[Me,he];return new Map([[t.title,o.title],[t.body,o.body]])};function Ps(e,t){let o=null;return e.forEach((a,s)=>{let n=a?.props;if(!n)return;let i=n,r=n[w];a.type==="Text"&&typeof r=="string"&&t.has(r)&&(i={...i,[w]:t.get(r)});let c=n[p];if(Array.isArray(c)){let h=Ps(c,t);h!==c&&(i={...i,[p]:h})}i!==n&&(o??=[...e],o[s]={...a,props:i})}),o??e}function Cs(e,t){if(!Array.isArray(e[d]))return e;let o=Id(!!v(e)),a=t?new Map([...o].filter(([n,i])=>t(i)&&!t(n))):o;if(!a.size)return e;let s=Ps(e[d],a);return s===e[d]?e:{...e,[d]:s}}var Ns="OrderSummary";var Pd="label";function Ge(e){return D(e,d,A,t=>T([Nd()],ce(t,"item")))}function Nd(){return{type:f,props:{...g,name:"Item"},slots:{[p]:[u(Pd,{...b,tag:"p"},Ee)]}}}var Hs="ProcessSteps",Hd={eyebrow:"eyebrow",title:"title",copy:"copy",image:"image",tag:"tag",specs:"specs"},ue=Hd,Dd=()=>({type:f,props:{...g,name:"Row",direction:"row",share:"equal",align:"center",gap:48,sectionPaddingTop:60,sectionPaddingBottom:60,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60},slots:{[p]:[{type:f,props:{...g,name:"Picture",direction:"column",gap:12},slots:{[p]:[{type:"ImageBlock",props:{[w]:ue.image,aspect:"1/1",fit:"contain"}},u(ue.tag,{...E,tag:"p"},Vt(11))]}},{type:f,props:{...g,name:"Words",direction:"column",gap:16},slots:{[p]:[u(ue.eyebrow,{...b,tag:"p"},{...Vt(13),color:"accent"}),u(ue.title,{...b,tag:"h2"},{textStyle:"heading-2",...y("headingMedium",42,28),lineHeight:1.1,letterSpacing:-.02}),u(ue.copy,{...E,tag:"p"},{textStyle:"body-1",...y("body",15),lineHeight:1.6}),{type:A,props:{[w]:ue.specs}}]}}]}});function Ds(e){return e.map(t=>{let o=t.props;for(let a of ne(t))o={...o,[a]:Ds(o[a])};return t.type===A?{...t,props:Ge(o)}:{...t,props:o}})}function Ib(e){return Ds(T([Dd()],ce(e,"row")))}var Bd="label",Md=()=>({type:"LogoBlock",props:{[w]:Bd}}),We="Logos",Bs=e=>T([Md()],()=>`${e}~logo`);function Ms(e){return v(e)?D(e,d,We,Bs):e}function Bb(e){if(!v(e))return e;let t=e[d];return t!==void 0&&!(Array.isArray(t)&&t.length===0)?e:{...e,[d]:Bs(H(e,We))}}var Xt={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}},Fb=Xt;var zt="FAQ",Fd="question",Gd="answer",Wd={textStyle:"body-1",fontRole:"heading",...y("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},Ud={textStyle:"body-1",...y("body",15),lineHeight:1.7};function zb(){return Object.keys(Xt).map(Ls)}var Yd=()=>({type:f,props:{...g,gap:0,name:"Question"},slots:{rowTitle:[u(Fd,{...b,tag:"p",widthFit:"fill"},Wd)],[p]:[u(Gd,{...E,tag:"p",widthFit:"fill",maxWidth:760},Ud)]}});function Kd(e){return Fe(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>I(e[t])!==void 0)}function Fs(e){return Kd(e)?e:D(e,d,zt,t=>{let o=0;return T([Yd()],a=>a===f?`${t}~row`:`${t}~row.${o++}`)})}import{rootIsDark as $d}from"efficient-shell/format";function Zb(e="auto"){return e==="light"?!0:e==="dark"?!1:!$d({whenUnset:!0})}function Gs(e,t){return Number.isFinite(e)&&Number.isFinite(t)&&!(e===0&&t===0)}function qt(e){let t=Number.parseFloat(e??"");return Number.isFinite(t)?t:0}function ey(e,t,o){let a=[];return e.forEach((s,n)=>{let i=t(s),r=a.find(c=>c.key===i);r||(r={key:i,name:o(s),items:[]},a.push(r)),r.items.push({item:s,index:n})}),a}function Ws(e){return Vd[Qt(e)]}var Vd={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4"};function Qt(e){if(e<=1)return 1;if(e<=4)return e;let t=o=>e%o||o;return t(4)>=t(3)?4:3}import{parseOption as Zt}from"efficient-shell/format";import{parseOption as jd}from"efficient-shell/format";var Xd=["below","left","right"];function Us(e){return jd(Xd,"below",e)}var zd=/^https?:\/\//i;function cy(e){let t=(e.href??"").trim(),o=(e.linkLabel??"").trim();return{role:e.role??"",city:e.city??"",country:e.country??"",address:e.address??"",hq:e.hq==="true",lat:qt(e.lat),lng:qt(e.lng),...t&&o&&zd.test(t)?{href:t,linkLabel:o}:{}}}function dy(e){let t=o=>typeof o=="string"?o:"";return{badge:e.hq?"HQ":"",role:t(e.role),city:t(e.city),country:t(e.country),address:t(e.address),phone:t(e.phone),...e.href&&e.linkLabel?{href:e.href,linkLabel:e.linkLabel}:{}}}function hy(e){return[e.city,e.country,e.address,e.role].map(t=>typeof t=="string"?t.replace(/[=*]/g,"").trim():"").filter(Boolean).join(" ")}var uy={sectionNumber:"",heading:"",tagline:"",mapTheme:"auto"};function py(e){let t=[];return e.forEach((o,a)=>{Gs(o.lat,o.lng)&&t.push({key:String(a),label:o.city||o.role||"Office",lat:o.lat,lng:o.lng,glyph:"",tone:"",...o.hq?{badge:"HQ"}:{}})}),t}var qd=["both","map","list"],my="shows",Ks="both";function Qd(e){return Zt(qd,Ks,e.shows)}function Ye(e){return Qd(e)===Ks?Us(e.listPosition):"below"}var Zd=["fixed","full"],Jd="mapHeight",Ys="fixed",fy="full",$s=e=>Ye(e)!=="below";function wy(e){return $s(e)?Zt(Zd,Ys,e[Jd]):Ys}function gy(e){return $s(e)&&Fe(e.headPlacement)===As}var eh=[1,2,3,4],Ue="auto",th=2,oh=1,ah=[Ue,...eh.map(String)];function by(e){let t=Zt(ah,Ue,e.listColumns);return t===Ue?t:Number(t)}var sh="max-view-desktop:grid-cols-2",nh="max-[700px]:grid-cols-1";function yy(e,t){let o=e===Ue?Qt(t):e;return[Ws(o),[o>th?sh:"",o>oh?nh:""].filter(Boolean).join(" ")].join(" ")}function Jt(e){return Array.isArray(e)?e.map(Jt):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).filter(([t,o])=>t!=="id"&&o!==void 0&&!(Array.isArray(o)&&o.length===0)).sort(([t],[o])=>t<o?-1:t>o?1:0).map(([t,o])=>[t,Jt(o)]))}var B=e=>JSON.stringify(Jt(e));var $e="Footprint",Xs=e=>v(e)===Ct,Ke=$t(11),ih={textStyle:"body-1",...y("body",18),weight:500,lineHeight:1.2},Ry=()=>({type:f,props:{...g,gap:8,gapPhone:8,...P(20,24,20,20),name:"Office"},slots:{[p]:[u("badge",{...b,tag:"p",widthFit:"fill"},Ke,!0),u("role",{...b,tag:"p",widthFit:"fill"},Ke,!0),u("city",{...b,tag:"p",widthFit:"fill"},ih),u("country",{...E,tag:"p",widthFit:"fill"},Ke),u("address",{...E,tag:"p",widthFit:"fill"},Ke),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[w]:"linkLabel",[x]:"href"}}]}}),zs={textStyle:"body-1",fontRole:"heading",...y("body",16),weight:500,lineHeight:1.25},to={textStyle:"body-1",...y("body",14),lineHeight:1.5},rh=()=>({type:f,props:{...g,gap:4,gapPhone:4,...P(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[p]:[u("city",{...b,tag:"p",widthFit:"fill"},zs),u("address",{...E,tag:"p",widthFit:"fill"},to),u("phone",{...E,tag:"p",widthFit:"fill"},to)]}});function qs(e){let t=H(e,$e),o=0;return T([rh()],a=>a===f?`${t}~office`:`${t}~office.${o++}`)}function Qs(e){return Array.isArray(e[d])&&e[d].length>0&&B(e[d])===B(qs(e))}var Zs=e=>e===void 0||Array.isArray(e)&&e.length===0;function Vs(e){return Ye(e)==="below"?Qs(e)?{...e,[d]:[]}:e:!Zs(e[d])||Xs(e)?e:{...e,[d]:qs(e)}}var lh=zs,ch=to,dh={textFit:"line"},oo=(e,t,o="",a={},s={})=>{let n=u(e,{...t?E:b,tag:"p",...a},{...ch,...s});return o?{...n,props:{...n.props,[x]:o}}:n},eo=(e,t,o,a)=>({type:f,props:{...g,gap:0,gapPhone:0,[be]:[e],name:a},slots:{[p]:[oo(e,t,o,dh,{align:"right"})]}}),hh=e=>({type:f,props:{...g,direction:"row",justify:"between",share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",gap:12,gapPhone:12,...e?P(20,24):{...P(16,4),sectionBorder:{bottom:1}},name:"Dealer"},slots:{[p]:[{type:f,props:{...g,justify:"center",gap:0,gapPhone:0,widthFit:"fill",name:"Dealer words"},slots:{[p]:[{type:f,props:{...g,gap:4,gapPhone:4,widthFit:"fill",name:"Dealer name"},slots:{[p]:[u("name",{...b,tag:"p",widthFit:"fill"},lh),oo("address",!0)]}},oo("place",!0,"",{widthFit:"fill"})]}},{type:f,props:{...g,align:"end",gap:4,gapPhone:4,name:"Dealer contact"},slots:{[p]:[eo("distance",!0,"","Dealer distance"),eo("phone",!1,"phoneHref","Dealer phone"),eo("website",!1,"websiteHref","Dealer website")]}}]}}),uh=e=>{let t=hh(e),o={type:f,props:{...g,...P(0,12),name:"Dealer"},slots:{[p]:[{...t,props:{...t.props,name:"Dealer row"}}]}};return e?t:o};function ao(e,t){let o=H(e,$e),a=0;return T([uh(t)],(s,n)=>n==="0"?`${o}~dealer`:`${o}~dealer.${a++}`)}function js(e){if(!Array.isArray(e[d])||e[d].length===0)return!1;let t=B(e[d]);return t===B(ao(e,!0))||t===B(ao(e,!1))}function Js(e){if(Xs(e)){let o=ao(e,Ye(e)==="below");return!(Zs(e[d])||Qs(e)||js(e))||B(e[d]??[])===B(o)?e:{...e,[d]:o}}if(!js(e))return Vs(e);let t={...e,[d]:[]};return Vs(t)}var ph="Card template",tn="items",on="itemFields";function z(e,t){if(!t)return e;let o=typeof t=="string"?[t]:t;return e.filter(a=>o.includes(a.kind??"text"))}var mh=[{block:Ns,typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:zt,typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>Fs(e)},{block:$e,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=>Js(e)},{block:de,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=>Is(de,e)},{block:Hs,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:A,label:"Card list"}]},{block:We,fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>Ms(e)},{block:A,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:tn,seed:e=>Ge(e)},{block:jt,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>xs(e)}];function S(){return se("efficient.card-templates",()=>new Map(mh.map(e=>[e.block,e])))}function zy(e){for(let t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");let o=[];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===en)throw new Error(`The card template of ${t.block} names "${en}" in its blocks. Only a host's seed puts a host part in a card template; a merchant never adds one. Take it out.`);o.some(r=>r.type===i.type)||o.push({type:i.type,label:i.label||i.type})}let a=[];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=I(i.label),c=Array.isArray(i.fields)?{fields:i.fields.map(h=>({...h}))}:null;a.some(h=>h.slot===i.slot)||a.push({slot:i.slot,...r?{label:r}:null,...c})}let s=a.some(i=>i.fields);if(s&&(t.fields.some(i=>i.everySource)||Pa(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.`);s?we().add(t.block):we().delete(t.block);let n=I(t.typedRows);S().set(t.block,{block:t.block,...a.length?{slots:a}:{},fields:t.fields.map(i=>({...i})),blocks:o,typedRows:n,...t.seed?{seed:t.seed}:{},...t.seedOnInsert?{seedOnInsert:t.seedOnInsert}:{},...t.linesBetween===!0?{linesBetween:!0}:{}})}}function fh(e,t){let o=e?S().get(e)?.seed:void 0;return o?o(t):t}function qy(e,t){let o=gh(e),a=(o.length?o:[d]).filter(r=>t[r]===void 0||Array.isArray(t[r])&&t[r].length===0);if(!a.length)return t;let s={...t};for(let r of a)delete s[r];let n=e?S().get(e)?.seedOnInsert:void 0,i=n?n(s):fh(e,s);return i===s?t:i}function Qy(){for(let e of S().values())if(e.blocks?.length)return!0;return!1}function Zy(e){return S().get(e)?.blocks??[]}function Jy(e){for(let t of S().values())if(t.blocks?.some(o=>o.type===e))return!0;return!1}function eT(e){return typeof e=="string"&&S().get(e)?.typedRows||""}function tT(e){return typeof e=="string"&&S().get(e)?.linesBetween===!0}function oT(e){return typeof e=="string"&&S().has(e)}var wh=[{slot:d}];function Ve(e){if(typeof e!="string")return[];let t=S().get(e);return t?t.slots??wh:[]}function gh(e){return Ve(e).map(t=>t.slot)}function bh(e,t){return Ve(e).some(o=>o.slot===t)}function aT(e,t){let o=Ve(e).find(a=>a.slot===t);return o?o.label??ph:null}function so(e,t){return t?Ve(e).find(o=>o.slot===t)?.fields:void 0}function yh(e,t){let o=S().get(e)?.fields??[];return z(o,t)}function Th(e,t){if(typeof e!="string")return"";let o=so(e,t);return(o?z(o,"list"):yh(e,"list"))[0]?.key??""}function Eh(e,t,o){return io(e)||Th(t,o)}function an(e,t,o){let a=typeof e?.type=="string"?e.type:"";if(!a)return[];let s=so(a,o);if(s)return z(s,t);let n=S().get(a)?.fields??[],i=Pe(v(e?.props))?.fields,r=i?.length?[...i.map(c=>({...c})),...n.filter(c=>c.everySource&&!i.some(h=>h.key===c.key))]:n;return z(r,t)}function Sh(e,t,o,a){if(!e)return null;let s=so(e,a);return s?s.find(n=>n.key===t)??null:o?an(o).find(n=>n.key===t)??null:S().get(e)?.fields.find(n=>n.key===t)??null}function no(e,t){return!e||!t?null:e.fields?.find(o=>o.key===t)??Sh(e.ownerType,t,e.owner,e.slot)}function sT(e,t){return no(e,t)?.plain===!0}function nT(e,t){return no(e,t)?.kind==="date"}function io(e,t=w){let o=e?.[t];return typeof o=="string"?o.trim():""}function iT(e,t){return e.key||String(t+1)}function rT(e){let t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(let[o,a]of Object.entries(e))typeof a=="string"&&(t[o]=a);return t}function lT(e,t){let o=e[be];return!t||!Array.isArray(o)||!o.length?!1:o.every(a=>typeof a!="string"||!t[a]?.trim())}var ro={Text:{text:w,href:x},ImageBlock:{src:w,href:x},ButtonBlock:{label:w,href:x},LogoBlock:{alt:w,href:x},Breadcrumb:{currentCrumb:w}},cT=ro,_h=new Set(["ButtonBlock.label","LogoBlock.alt"]);function dT(e,t,o){return Oh(e,t,o)&&!_h.has(`${e}.${o}`)}function Oh(e,t,o){return vh(e,t,o)!==""}function vh(e,t,o){let a=ro[e]?.[o];return a?io(t,a):""}function sn(e,t){return!t||!e?null:e[t]??""}function xh(e,t){return sn(e,t)?.trim()||void 0}function hT(e,t,o,a,s,n){if(!o)return t;let i=null;for(let[r,c]of Object.entries(ro[e]??{})){let h=io(t,c),_=sn(o,h);if(_!==null){if(i??={...t},c===x){i[r]=xh(o,h);continue}i[r]=no({ownerType:a,fields:s,slot:n},h)?.mark==="accentItalic"?Ea(_):_}}return i??t}function je(e,t){let o=e?.data?.content;if(!Array.isArray(o)||typeof t!="string")return;let a=(n,i)=>{for(let r of n){if(r?.props?.id===t)return i;for(let c of ne(r??{})){let h=r.props[c],_=bh(r.type,c)?{owner:r,slot:c,direct:!0,nested:i!==null,underBox:!1}:i&&{owner:i.owner,slot:i.slot,direct:!1,nested:i.nested,underBox:i.underBox||r.type===f},O=a(h,_);if(O!==void 0)return O}}},s=a(o,null);return s===void 0?null:s}function kh(e,t){let o=je(e,t);return o&&o.owner}function Ah(e,t){let o=je(e,t);return o&&o.slot}function uT(e,t){let o=je(e,t);return o&&(o.direct?o.owner:null)}function pT(e,t){let o=je(e,t);if(o!==void 0)return o===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:o.nested,underBox:o.underBox}}function mT(e,t,o){if(t?.type!==A)return[];let a=kh(e,t.props?.id);if(!a){let r=Pe(v(t.props))?.fields,c=r?.length?r.map(O=>({...O})):Rh(t.props),h=(S().get(A)?.fields??[]).filter(O=>O.everySource&&!c.some(Qe=>Qe.key===O.key)),_=[...c,...h];return z(_,o)}let s=Ah(e,t.props?.id)??void 0,n=Eh(t.props,a.type,s),i=n&&an(a,"list",s).find(r=>r.key===n)?.fields||[];return z(i,o)}function fT(e,t){return{[w]:"",[tn]:e.map(o=>({...o})),[on]:t.map(o=>({...o}))}}function Rh(e,t){let o=e?.[on];if(!Array.isArray(o))return[];let a=o.flatMap(s=>{if(!s||typeof s!="object")return[];let{key:n,label:i,kind:r,multiline:c,alt:h,next:_}=s;if(typeof n!="string"||!n||typeof i!="string")return[];let O=r==="image"||r==="link"||r==="colour"||r==="date"?r:void 0;return[{key:n,label:i,...O?{kind:O}:{},...c===!0?{multiline:!0}:{},...typeof h=="string"&&h?{alt:h}:{},...typeof _=="string"&&_?{next:_}:{}}]});return z(a,t)}var en="HostPart";function Xe(e){return`color-mix(in srgb, var(--overlay-scrim) ${Math.round(Math.min(1,Math.max(0,e))*1e3)/10}%, transparent)`}import{FOLLOW_RULES as Lh,VIEW_TIERS as Ch,resolveViewValue as Ih}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as Ph}from"efficient-easel/screen/lib/content/length-units";var Nh=["auto","fixed","screen","fill"],Hh=Ph.filter(e=>e==="px"||e==="%"),Dh="svh",Bh="vh",Mh="var(--sf-header-h, 88px)",Fh={min:40,max:2e3,step:10,fallback:600},Gh={min:10,max:200,step:5,fallback:100},Wh="sf-section-minh",Se="grid-cols-[minmax(0,1fr)]",nn={base:"--sf-section-minh",small:"--sf-section-minh-s"},co=e=>typeof e=="string"&&Nh.includes(e),Uh=e=>typeof e=="string"&&Hh.includes(e);function ze(e){let t=co(e.sectionHeightMode)?e.sectionHeightMode:"auto",o=t==="screen"?"%":Uh(e.sectionHeightUnit)?e.sectionHeightUnit:"px",a=t==="screen"?Gh.fallback:Fh.fallback,s=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:a;return{mode:t,value:s,unit:o}}function cn(e){let{mode:t,value:o,unit:a}=ze(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&a==="px")return[`${o}px`,null];let s=o/100,n=i=>t==="screen"?`(100${i} - ${Mh})`:`100${i}`;return[`calc(${n(Bh)} * ${s})`,`calc(${n(Dh)} * ${s})`]}function dn(e){let t=cn(e);if(!t)return;let[o,a]=t;return{display:"grid",[nn.base]:o,...a?{[nn.small]:a}:{}}}var TT=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),ET="Height",hn="sf-section-minh-phone",rn={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function un(e){return co(e.sectionHeightModePhone)}function Yh(e){return ze({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}var pn="sf-section-minh-tablet",ln={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function mn(e){return co(e.sectionHeightModeTablet)}function Kh(e){return ze({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function ho(e){let t=dn(e),o=(r,c,h)=>cn({sectionHeightMode:r,sectionHeightValue:c,sectionHeightUnit:h})??(t?["auto",null]:void 0),a=mn(e)?o(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,s=un(e)?o(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):a;if(!t&&!a&&!s)return null;let n=[Wh,Se],i={...t??{}};return a&&(n.push(pn),i[ln.base]=a[0],a[1]&&(i[ln.small]=a[1])),s&&(n.push(hn),i[rn.base]=s[0],s[1]&&(i[rn.small]=s[1])),{className:n.join(" "),style:i}}function ST(e){return ho(e)!==null||qe(e).length>0}var lo=`grid ${Se}`,_T="h-full",$h="view-tablet:max-view-desktop:grid",fn="max-view-tablet:grid",Vh="view-wide:max-view-desktop:grid",jh="max-view-wide:grid",Xh=`${fn} ${Se}`;function OT(e,{atSectionLine:t=!1}={}){if(qe(e).length>0)return lo;let o=ho(e);if(!o)return"";if(dn(e))return lo;let a=o.className.split(" "),s=t?$h:Vh,n=t?fn:jh;if(!a.includes(pn))return t?Xh:`${n} ${Se}`;let i=a.includes(hn);return[s,i?n:"",Se].filter(Boolean).join(" ")}var vT="data-sf-height-fill",zh=Ch,qh={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 qe(e){let t=e,o=Ih("heightMode",ze(t).mode,mn(t)?Kh(t).mode:null,un(t)?Yh(t).mode:null,Lh),a={desktop:o.desktop==="fill",tablet:o.tablet==="fill",mobile:o.phone==="fill"};return zh.filter(s=>a[s])}function xT(e){return qe(e).map(t=>qh[t]).join(" ")}function kT(e){let t=ho(e);return qe(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:lo}}function LT(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"";case"custom":return"aspect-[var(--shape-ratio)]";default:return"aspect-square"}}var uo=[{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"},{shape:"custom",image:"custom",ratio:null,label:"Custom W:H"}],CT="custom",Qh=/^(\d{1,4}(?:\.\d{1,2})?)\/(\d{1,4}(?:\.\d{1,2})?)$/;function wn(e){if(typeof e!="string")return null;let t=Qh.exec(e);if(!t)return null;let o=Number(t[1]),a=Number(t[2]);return o>0&&a>0?[o,a]:null}function Zh(e){return uo.every(t=>t.shape!==e&&t.image!==e)&&wn(e)!==null}function IT(e,t,o){let a=uo.find(s=>s.ratio!==null&&s.ratio[0]*t===s.ratio[1]*e);return a?a[o]:`${e}/${t}`}function Jh(e){return`${e[0]} / ${e[1]}`}var eu={desktop:"--shape-ratio",tablet:"--shape-ratio-tablet",phone:"--shape-ratio-phone"};function PT(e){let t={};for(let o of["desktop","phone","tablet"]){let a=Zh(e[o])?wn(e[o]):null;a&&(t[eu[o]]=Jh(a))}return Object.keys(t).length?t:null}function NT(e){return uo.filter(t=>e.includes(t.shape))}function HT(e){return e==="below"}var DT=`linear-gradient(180deg, transparent 40%, ${Xe(.85)} 100%)`,BT=`linear-gradient(0deg, transparent 40%, ${Xe(.85)} 100%)`,MT=Xe(.45);export{se as a,I as b,Hl as c,uf as d,Dl as e,pf as f,mf as g,ff as h,wf as i,gf as j,bf as k,Ct as l,Bl as m,Ml as n,yf as o,Tf as p,Pa as q,Pe as r,Ef as s,Sf as t,v as u,Yl as v,_f as w,w as x,x as y,d as z,A,be as B,Y as C,Kl as D,Da as E,ne as F,Lf as G,Cf as H,If as I,ql as J,Pf as K,F as L,Z as M,Kp as N,oe as O,$p as P,Lr as Q,Vp as R,jp as S,Xp as T,zp as U,Pr as V,Le as W,em as X,p as Y,f as Z,Ma as _,Bf as $,Mf as aa,me as ba,tu as ca,Ze as da,ou as ea,au as fa,su as ga,nu as ha,fi as ia,M as ja,wi as ka,lu as la,am as ma,sm as na,Dr as oa,nm as pa,im as qa,wm as ra,vt as sa,sl as ta,ya as ua,Em as va,Sm as wa,_m as xa,Ea as ya,Om as za,vm as Aa,xm as Ba,C as Ca,ie as Da,Ga as Ea,Wf as Fa,R as Ga,jf as Ha,lc as Ia,K as Ja,cc as Ka,Xf as La,zf as Ma,qf as Na,Qf as Oa,Zf as Pa,hc as Qa,Jf as Ra,Ya as Sa,k as Ta,Bt as Ua,ew as Va,uc as Wa,pc as Xa,$a as Ya,tw as Za,wc as _a,ow as $a,gc as ab,aw as bb,Ht as cb,sw as db,bc as eb,yc as fb,nw as gb,iw as hb,ja as ib,Tc as jb,rw as kb,Ec as lb,za as mb,Dt as nb,lw as ob,cw as pb,dw as qb,Oc as rb,vc as sb,hw as tb,uw as ub,pw as vb,mw as wb,Go as xb,pu as yb,Ti as zb,mu as Ab,fu as Bb,wu as Cb,gu as Db,dl as Eb,Ce as Fb,gw as Gb,bw as Hb,yw as Ib,qa as Jb,De as Kb,Tw as Lb,Lc as Mb,Ew as Nb,Mt as Ob,Cc as Pb,_w as Qb,Qa as Rb,Ow as Sb,Nc as Tb,Hc as Ub,Dc as Vb,es as Wb,kw as Xb,ts as Yb,Aw as Zb,os as _b,Cw as $b,as as ac,$ as bc,Iw as cc,Pw as dc,Nw as ec,rs as fc,le as gc,Yw as hc,Uc as ic,Xc as jc,Kw as kc,$w as lc,Gt as mc,Vw as nc,jw as oc,zc as pc,zw as qc,qw as rc,Qw as sc,Zw as tc,Jc as uc,Jw as vc,td as wc,eg as xc,tg as yc,og as zc,ag as Ac,sg as Bc,ng as Cc,ig as Dc,rg as Ec,lg as Fc,us as Gc,ps as Hc,cg as Ic,dg as Jc,hg as Kc,ug as Lc,pg as Mc,ld as Nc,mg as Oc,fg as Pc,ws as Qc,wg as Rc,cd as Sc,dd as Tc,gg as Uc,bg as Vc,gs as Wc,b as Xc,E as Yc,pd as Zc,g as _c,P as $c,md as ad,bs as bd,y as cd,vg as dd,Kt as ed,$t as fd,Vt as gd,T as hd,H as id,Ag as jd,Ts as kd,de as ld,Ee as md,u as nd,he as od,Me as pd,gd as qd,Ss as rd,Es as sd,Td as td,_s as ud,Cs as vd,Hs as wd,Ib as xd,jt as yd,Od as zd,xs as Ad,Md as Bd,Bb as Cd,Yg as Dd,Kg as Ed,$g as Fd,Vg as Gd,ks as Hd,jg as Id,Xg as Jd,zg as Kd,Ld,eb as Md,tb as Nd,Fe as Od,ob as Pd,Rs as Qd,ab as Rd,sb as Sd,ib as Td,rb as Ud,lb as Vd,cb as Wd,Ls as Xd,db as Yd,hb as Zd,Xt as _d,Fb as $d,zb as ae,Yd as be,Zb as ce,Gs as de,qt as ee,ey as fe,Ws as ge,Qt as he,cy as ie,dy as je,hy as ke,uy as le,py as me,my as ne,Ks as oe,Qd as pe,Ye as qe,Jd as re,Ys as se,fy as te,wy as ue,gy as ve,eh as we,Ue as xe,by as ye,yy as ze,B as Ae,Ry as Be,Js as Ce,tn as De,on as Ee,z as Fe,zy as Ge,fh as He,qy as Ie,Qy as Je,Zy as Ke,Jy as Le,eT as Me,tT as Ne,oT as Oe,gh as Pe,bh as Qe,aT as Re,yh as Se,Eh as Te,an as Ue,no as Ve,sT as We,nT as Xe,io as Ye,iT as Ze,rT as _e,lT as $e,cT as af,dT as bf,Oh as cf,vh as df,sn as ef,xh as ff,hT as gf,kh as hf,Ah as if,uT as jf,pT as kf,mT as lf,fT as mf,en as nf,et as of,tt as pf,_u as qf,Ou as rf,xi as sf,ot as tf,vu as uf,ki as vf,xu as wf,ku as xf,Lu as yf,jo as zf,Hu as Af,Du as Bf,Bu as Cf,Mu as Df,Fu as Ef,ut as Ff,pt as Gf,Gu as Hf,J as If,Ni as Jf,Xo as Kf,Wu as Lf,Uu as Mf,te as Nf,ee as Of,Bi as Pf,Mi as Qf,Yu as Rf,Ku as Sf,ke as Tf,zo as Uf,$u as Vf,Vu as Wf,ju as Xf,ft as Yf,Xu as Zf,qo as _f,Ki as $f,zu as ag,qu as bg,Qu as cg,Vi as dg,Zu as eg,Ju as fg,ep as gg,tp as hg,op as ig,ap as jg,wt as kg,Ji as lg,sp as mg,np as ng,Ae as og,or as pg,ip as qg,gt as rg,Ko as sg,rp as tg,lp as ug,ar as vg,sr as wg,oa as xg,Re as yg,rr as zg,lr as Ag,cr as Bg,aa as Cg,dr as Dg,sa as Eg,hp as Fg,up as Gg,pp as Hg,mp as Ig,fe as Jg,na as Kg,fp as Lg,wp as Mg,bt as Ng,ia as Og,gp as Pg,bp as Qg,yp as Rg,yt as Sg,wr as Tg,br as Ug,_p as Vg,_a as Wg,Im as Xg,Pm as Yg,Nm as Zg,ul as _g,pl as $g,Hm as ah,ml as bh,Dm as ch,Ie as dh,va as eh,Oa as fh,bl as gh,yl as hh,Tl as ih,Gm as jh,El as kh,Wm as lh,ae as mh,Um as nh,Ym as oh,Km as ph,_l as qh,ka as rh,$m as sh,Vm as th,jm as uh,vl as vh,Xm as wh,kl as xh,Xe as yh,LT as zh,uo as Ah,CT as Bh,wn as Ch,Zh as Dh,IT as Eh,Jh as Fh,PT as Gh,NT as Hh,HT as Ih,At as Jh,Ra as Kh,qm as Lh,Il as Mh,Lt as Nh,ef as Oh,Pl as Ph,tf as Qh,Nh as Rh,Hh as Sh,Fh as Th,Gh as Uh,Se as Vh,ze as Wh,TT as Xh,ET as Yh,un as Zh,mn as _h,Kh as $h,ST as ai,lo as bi,_T as ci,OT as di,vT as ei,qe as fi,xT as gi,kT as hi,la as ii,Rp as ji,Dp as ki,kr as li,Bp as mi,Mp as ni,Fp as oi,Gp as pi,Nl as qi,af as ri};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as o}from"./chunk-ACYEMD5J.js";import{a as t}from"./chunk-AEBQM5LZ.js";import"./chunk-Y6SLVHK3.js";import{jsx as e}from"react/jsx-runtime";function f({css:r,id:m,attr:n=t}){let s=o(r,m,n);return s?e("style",{dangerouslySetInnerHTML:{__html:s}}):null}export{f as default};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|