efficient-storefront-blocks 0.130.2 → 0.130.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/chunks/{CustomHtmlCodeWindow-MSEPX5HA.js → CustomHtmlCodeWindow-Q52YFW2U.js} +1 -1
  3. package/dist/chunks/{EditorPreviewCheckout-GQZSREXK.js → EditorPreviewCheckout-E4WBOYOR.js} +1 -1
  4. package/dist/chunks/SiteEditorProvider-XWNSHTWJ.js +1 -0
  5. package/dist/chunks/{chunk-B22AOLEU.js → chunk-2ESL6V6A.js} +1 -1
  6. package/dist/chunks/{chunk-YZZMDZT2.js → chunk-F36A4DQB.js} +1 -1
  7. package/dist/chunks/{chunk-EHNNMX2W.js → chunk-LNFDRN7J.js} +3 -3
  8. package/dist/chunks/{chunk-AZNXYX4W.js → chunk-MWASWPCB.js} +1 -1
  9. package/dist/chunks/{chunk-UJNY3ZUO.js → chunk-NVAI6WFJ.js} +1 -1
  10. package/dist/chunks/{chunk-4HYAKN2G.js → chunk-RQM4VZZW.js} +1 -1
  11. package/dist/chunks/{chunk-AJHYWZA6.js → chunk-RYJPQW5E.js} +1 -1
  12. package/dist/chunks/{chunk-4TGKSUNO.js → chunk-UT3TWN4Y.js} +1 -1
  13. package/dist/chunks/{fitment-data-JRGRP6YG.js → fitment-data-D7EDIBQ7.js} +1 -1
  14. package/dist/chunks/{section-css-style-GHS565I6.js → section-css-style-IGADRKZW.js} +1 -1
  15. package/dist/index.js +26 -26
  16. package/dist/render/built-with.json +1 -1
  17. package/dist/routine-index.json +1 -1
  18. package/dist/value-index.json +1 -1
  19. package/dist/words.d.ts +2 -0
  20. package/dist/words.js +2 -2
  21. package/package.json +1 -1
  22. package/dist/chunks/SiteEditorProvider-U4Y5HLNK.js +0 -1
  23. /package/dist/chunks/{chunk-B22AOLEU.js.LEGAL.txt → chunk-2ESL6V6A.js.LEGAL.txt} +0 -0
  24. /package/dist/chunks/{chunk-PN7RMJTO.js → chunk-ATQPMU57.js} +0 -0
  25. /package/dist/chunks/{chunk-EHNNMX2W.js.LEGAL.txt → chunk-LNFDRN7J.js.LEGAL.txt} +0 -0
  26. /package/dist/chunks/{chunk-AUQKCN7Q.js → chunk-PWMBT2HT.js} +0 -0
  27. /package/dist/chunks/{chunk-POFTB7WN.js → chunk-Z7GIOCFP.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{$ as af,D as Ok,E as Ek,F as Qd,G as _k,H as Nk,I as Cr,J as Mk,K as Hk,L as Wk,M as at,N as ef,O as Co,P as de,R as of,S as kr,T as tf,X as $k,Y as rf,Z as vr,_ as zk,a as qo,b as Vs,ba as Qv,c as zd,d as yn,e as Ys,f as nk,fa as fP,g as Sn,h as Ud,ha as cP,ia as Rf,ja as MT,ka as HT,r as ol,t as Tk}from"./chunk-AJHYWZA6.js";import{a as hP,d as gf,e as nt,f as yf,g as Sf,h as kf,l as Ux}from"./chunk-PN7RMJTO.js";import{$ as In,$a as pk,$c as wv,$e as yP,$i as ar,$j as Ff,A as wC,Aa as YC,Ab as Ht,Ac as sv,Ad as Hv,Ah as fT,Aj as ST,Al as Ln,B as CC,Ba as XC,Bb as wn,Bc as lv,Bd as Wv,Be as Ct,Bh as cT,Bj as bT,Bk as Hx,Bl as Nf,C as ot,Ca as ZC,Cb as el,Cc as $t,Cd as $v,Cf as _P,Ch as pT,Cj as Rx,D as kC,Da as JC,Dc as Ue,Dd as zv,De as je,Df as Tx,Dg as VP,E as vC,Ea as QC,Ec as Pr,Ed as bx,Ee as kt,Ef as AP,Eg as YP,Ej as En,F as PC,Fa as ek,Fb as mx,Fc as Ix,Fd as Uv,Fe as Te,Ff as FP,Fg as XP,Fj as wT,G as TC,Ga as Sr,Gb as aa,Gc as iv,Gd as wx,Ge as mP,Gf as BP,Gg as ZP,H as OC,Ha as ok,Hb as Jd,Hc as dv,Hd as jv,Hf as LP,Hg as JP,Hk as Bf,I as EC,Ib as kk,Ic as fv,Id as Gv,Ig as _x,Ij as Dx,Ik as Lf,J as _C,Ja as tk,Jb as vk,Jc as pf,Jd as Kv,Jf as RP,Jg as QP,Jj as dl,Jk as Wx,Ka as jd,Kb as Pk,Kc as rl,Kd as zt,Ke as Cx,Kg as Ax,Kk as LT,L as AC,La as Xs,Lb as nf,Lc as cv,Ld as qv,Lg as rr,Lk as pa,M as FC,Ma as Gd,Mb as Gk,Mc as pv,Md as ia,Mg as Fx,Mj as _n,Mk as RT,N as BC,Na as sk,Nb as sf,Nc as uv,Nd as Vv,Ne as ll,Ng as Pf,Nk as DT,O as Dd,Ob as hx,Oc as uf,Od as Pn,Og as eT,Oj as CT,Ok as NT,P as LC,Pb as lf,Pc as mv,Pg as oT,Q as RC,Qc as xv,Qd as or,Qf as DP,Qg as tT,Qk as WT,Ra as lk,Rc as gx,Rd as Yv,Re as xP,Rf as NP,Rg as rT,Rk as $x,Sa as ik,Sc as hv,Sd as sl,Se as kx,Sf as MP,Sg as aT,Ta as Zs,Tc as vn,Td as Xv,Te as IP,Tf as Ox,Tk as $T,Ub as Cn,Ud as da,Uf as HP,Uk as zT,V as ax,Va as bn,Vc as Iv,Vd as Zv,Vf as WP,Vg as nT,Vk as UT,Wa as dk,Wc as gv,Wf as Ex,Wg as sT,Wj as kT,Wk as jT,X as Gs,Xa as Kd,Xb as Kk,Xc as yv,Xd as mf,Xj as Nx,Xk as GT,Y as Nd,Ya as fk,Yb as qk,Yc as Sv,Yd as Or,Yj as vT,Yk as KT,Z as Fo,Za as Js,Zb as Vk,Zc as bv,Zd as Jv,Zi as ca,Zj as PT,_ as nx,_a as ck,_b as tl,_c as na,_e as gP,_f as tr,a as Ao,aa as DC,ab as cx,ad as yx,af as bf,ag as Tn,ak as An,b as mn,ba as NC,bb as uk,bd as Cv,bf as SP,bi as uT,bk as Fn,ca as MC,cb as qd,cd as kv,cf as vx,cg as $P,ch as Tf,ci as mT,ck as fl,d as aC,da as HC,db as mk,dd as vv,df as bP,dg as zP,dk as Bn,e as ex,ea as WC,eb as px,ed as Pv,ef as wP,eg as vf,ek as TT,f as nC,fa as sx,fd as Tv,fe as eP,ff as CP,fg as Er,g as c,gb as xk,gd as Tr,gf as kP,gg as UP,gj as _f,h as Mt,ha as $C,hb as hk,hd as al,hf as wf,i as hn,ia as Md,id as sa,ie as oP,ig as On,ih as lT,ij as IT,j as Us,jb as Vd,jc as kn,jd as Ov,je as tP,jf as vP,k as Mo,kb as Ik,kc as Wt,ke as rP,kh as iT,l as js,lb as gk,lc as Yk,ld as la,lk as OT,mb as yk,mc as Xk,md as nl,mf as Px,mi as xT,mk as ET,n as uC,nb as Sk,nc as Zk,nd as Ev,ni as hT,nl as zx,o as mC,ob as Yd,oc as Jk,od as _v,p as xC,pb as bk,pc as Qk,pe as Ho,q as hC,qc as df,qd as Av,qe as Je,r as IC,rc as ff,rd as Fv,rf as PP,rg as _r,s as gC,sb as wk,sc as ev,sd as Bv,se as xf,sf as TP,sg as jP,t as yC,tb as br,te as aP,tf as Cf,tg as GP,tk as Mx,u as Rd,ub as Xd,uc as ov,ud as Lv,ue as nP,uf as OP,ug as KP,uh as Bx,uj as gT,v as yr,va as GC,vb as Zd,vc as tv,vd as Rv,ve as sP,vf as EP,vh as Of,vk as _T,vl as qT,wa as KC,wb as Ck,wc as rv,wd as Dv,we as lP,wh as fa,wk as AT,wl as VT,x as rx,xa as qC,xb as po,xc as cf,xd as Nv,xe as hf,xh as Ef,xj as yT,xk as FT,xl as Df,y as SC,ya as VC,yb as ux,yc as av,yd as Sx,ye as iP,yj as Af,yl as YT,z as bC,za as dx,zb as Qs,zc as nv,zd as Mv,ze as dP,zg as qP,zh as dT,zj as Lx,zk as BT}from"./chunk-YZZMDZT2.js";import{a as cC,b as Ld,c as pC,g as Uk,h as xx,i as jk}from"./chunk-4HYAKN2G.js";import{$ as xb,$a as Db,$c as wo,$d as hw,$e as Xm,$g as tx,A as ro,Ae as qm,Af as Jm,B as tn,Bb as Ms,Bd as Gm,Be as Sw,Ca as Ie,Cb as Zb,D as Rs,Dd as cw,De as Vm,E as sd,Ed as yd,F as Lt,Fg as Xw,G as rn,Ga as Qo,Gb as hd,Gd as et,Gg as Zw,H as ze,Ha as St,Hc as rw,Hd as No,He as wd,Hf as Lw,Hg as Jw,I as qe,Ia as Pm,Id as Ze,Ie as Cd,Ig as Qw,J as an,Ja as Tm,Jc as Wm,Jd as Dt,Je as bw,Jh as fx,K as ld,Kd as Qt,Ke as kd,Kf as er,Kh as gn,L as ib,La as Om,Lb as Jb,Ld as wt,Le as vd,Lg as eC,Lh as rk,M as db,Ma as Em,Md as fn,Me as ww,Mh as tt,Nd as pw,Ne as Cw,Nh as rt,O as fb,Od as cn,Oe as Pd,Og as oC,Oh as $d,P as id,Pd as uw,Pe as Td,Pg as tC,Ph as ak,Q as cb,Qa as _m,Qb as Id,Qc as aw,Qe as ra,Qf as Rw,Qh as qs,R as Qr,Ra as Ob,Re as kw,Rg as rC,S as pb,Sa as Eb,T as ub,Ta as Ge,Tb as Qb,Td as ta,Tg as sC,Th as Ak,U as Ds,Ua as _b,Ub as ew,Ud as mw,Ug as lC,V as km,Va as ud,Vd as xw,Ve as vw,W as we,Wa as Ab,Wb as ow,Wd as pn,Wf as Dw,Wg as gr,X as K,Xa as Fb,Xc as U,Xd as Ws,Xf as Nw,Xh as Fk,Y as mb,Ya as Bb,Yb as Nm,Yc as re,Yd as $s,Ye as Nt,Yf as Mw,Yg as iC,Za as Lb,Zc as $m,Zd as Km,Ze as zs,Zf as Hw,Zg as ox,_ as dd,_a as Rb,_c as L,_e as Ym,_g as dC,a as on,ab as Nb,ad as Zt,ae as Iw,af as Pw,ah as Bd,b as fo,ba as hb,bb as Mb,bd as nw,be as gw,bf as Tw,bg as Ww,c as to,ca as fd,cb as md,cd as W,cf as Od,cg as $w,ch as fC,ci as Bk,d as Yt,da as Ib,db as xd,dd as gd,de as yw,df as Ow,di as wr,ea as gb,eb as Hb,ed as Do,eg as zw,f as Ko,fa as vm,fb as Wb,fc as Mm,fd as sw,fe as Sd,fg as Uw,fi as Lk,g as Ls,ga as yb,gd as bt,gf as Ew,gg as Ad,gi as Rk,h as eb,ha as Sb,hb as $b,hd as Rt,he as bd,hf as Ed,hg as jw,hi as Dk,i as ob,ia as bb,ib as zb,id as zm,if as _w,ig as Fd,j as tb,jb as Am,jd as hr,jf as Zm,jg as Qm,k as rb,kb as Ub,kd as Jt,kf as Aw,la as wb,lb as jb,ld as lw,lf as Fw,li as ko,ma as Cb,mb as Fm,mf as _d,mg as Gw,na as kb,nb as sn,nd as Fe,nf as un,ng as Kw,o as ab,ob as ea,od as oa,of as xn,pa as vb,pb as Bm,pd as Hs,pf as Ir,pi as il,qb as Lm,qd as ln,qg as qw,qh as lx,ra as Pb,rb as Rm,rd as iw,rg as Vw,rh as Hd,s as nb,sa as cd,sb as Gb,sd as Um,sh as zC,ta as Tb,tb as Kb,td as dn,tf as Bw,th as ix,u as Ne,ua as pd,ub as qb,uc as Hm,ud as jm,ug as Yw,uh as UC,v as sb,vb as Dm,w as nd,wb as Vb,wc as tw,wh as Wd,x as lb,xb as Xt,xh as jC,ya as Ns,yb as Yb,yd as dw,yh as Ks,z as Pe,za as nn,zb as Xb,zd as fw}from"./chunk-4TGKSUNO.js";import{a as z,b as co}from"./chunk-AUQKCN7Q.js";import{c as pP,d as uP,e as If}from"./chunk-POFTB7WN.js";import{jsx as jx,Fragment as Y4,jsxs as X4}from"react/jsx-runtime";import{createContext as Z4,useContext as J4}from"react";var Q4={mirrorHostStyles:!0,css:null,fontHrefs:[]},XT=Z4(Q4);function hne({value:e,children:o}){return jx(XT.Provider,{value:e,children:o})}function cl(){return J4(XT)}function ZT(){let{css:e,fontHrefs:o}=cl();return X4(Y4,{children:[o.map(t=>jx("link",{rel:"stylesheet",href:t},t)),e?jx("style",{"data-sf-canvas-css":"",children:e}):null]})}import{jsx as e6}from"react/jsx-runtime";import{createContext as o6,useContext as t6}from"react";var JT=o6(void 0);function Sne({metadata:e,children:o}){return e6(JT.Provider,{value:e,children:o})}var QT=()=>t6(JT);import{jsx as lo,Fragment as R4,jsxs as Qi}from"react/jsx-runtime";import{useCallback as _s,useEffect as qt,useRef as zae,useState as A4}from"react";import{SettingsSwitch as Uae}from"efficient-easel/panel";import{PagesIcon as jae,StylesIcon as Gae}from"efficient-easel/rail";import{PaletteIcon as Kae}from"efficient-shell/icons/efficient";import{Subtree as qae,TreeRow as D4}from"efficient-easel/tree";import{useEasel as N4}from"efficient-easel/easel";import{toItemSelector as Vae}from"efficient-easel/node-ops";import{useEaselStrings as M4}from"efficient-easel/strings";import{createContext as r6,useContext as a6}from"react";var Gx=r6(!1),Cne=()=>a6(Gx);import{useMemo as n6,useRef as s6}from"react";import{useEaselApi as l6}from"efficient-easel/easel";import{useSectionOps as i6}from"efficient-easel/screen/lib/document/use-section-ops";function Mf(){let e=l6(),o=i6(),t=s6(o);return t.current=o,n6(()=>({getItemById:r=>e.getState().getItemById(r),getSelectorForId:r=>e.getState().getSelectorForId(r),get components(){return e.getState().config.components},replace:(r,a,n)=>t.current.replaceComponent(r,a,n)}),[e])}import{encodePartId as E6}from"efficient-easel/draw";import{insertAt as _6,moveTo as A6,removeAt as F6}from"efficient-easel/fields";import{useSyncExternalStore as w6}from"react";import{isNodeList as e0}from"efficient-easel/data";var o0="Flex";function Rn(e,o){return Nt(e)?typeof e?.[Ko]=="string"?Kx(o?.[Ko]):"":Kx(e?.[Ko])}var Kx=e=>typeof e=="string"?e.trim():"",d6=e=>e.type===ro&&Array.isArray(e.props?.[Vm])&&e.props[Vm].some(o=>Kx(o?.[Ko])!==""),f6=new Intl.NumberFormat("en-US");function c6(e){return/^\d+$/.test(e)?f6.format(Number(e)):e}function Bne(e,o){let t=o?o.find(r=>r.key===e)?.value:nb(Ls).find(r=>r.key===e)?.value;return t===void 0?null:c6(t)}var p6={[Ko]:"any"};function qx(e,o=!1){let t=e.props;if(!t)return{node:e,names:!1};let r=e.type==="Text"&&(Rn(t)!==""||o&&Rn(t,p6)!==""),a=o||d6(e),n=qe(e,l=>ze(l,i=>{let d=qx(i,a);return d.names&&(r=!0),d.node})).props;if(e.type!==o0)return{node:n===t?e:{...e,props:n},names:r};let s=Ne(n);if(r&&!s&&(n={...n,[to]:Ls}),!r&&s===Ls){let{[to]:l,...i}=n;n=i}return{node:n===t?e:{...e,props:n},names:!1}}function t0(e,o,t){for(let r of e){if(r?.props?.id===o)return t;for(let a of rn(r??{})){let n=t0(a,o,r.type===o0?r:t);if(n!==void 0)return n}}}function Lne(e,o){if(!e0(e))return!0;let t=t0(e,o,null);if(t===void 0)return!0;if(t===null)return!1;let r=Ne(t.props);return!r||r===Ls}function r0(e){let o=e?.content;if(!e0(o))return e;let t=o.map(r=>qx(r));return t.every((r,a)=>r.node===o[a])?e:{...e,content:t.map(r=>r.node)}}function a0(e){return qx(e).node}import{decodePartId as C6}from"efficient-easel/draw";function Dn(e,o){let t=tv(e);return t?.control==="textList"?o.rowKey===(t.itemKey??"text")?AT(t,o.index):null:rv(e)?.[o.rowKey]??null}function Hf(e,o,t){let r=e.node.props,{key:a,row:n}=Wt(e.propKey),s=n?nv(r,a,n,e.kind,o):ov(r,a,e.kind,o);return s?(t(e.zone,e.index,{...e.node,props:s}),!0):!1}import{readHidable as l0}from"efficient-easel/draw";import{parseOption as u6}from"efficient-shell/format";var Vx=e=>String(e+1).padStart(2,"0"),m6=[{label:"01 \xB7",value:"two-digit"},{label:"1.",value:"plain"}],Yx="two-digit",n0=e=>u6(m6,Yx,e),Wf=(e,o)=>e==="plain"?`${o+1}.`:Vx(o);var Jx="Contents",Xx="Flex",s0="Text",x6="numberForm",h6="_contentsEntries",I6="_kickerNumber",i0="data-sf-kicker-number",g6=e=>l0(e).text.trim(),d0=e=>da(e?.anchor),Zx=e=>String(e.props?.id??""),y6=e=>!l0(e.props?.text).hidden&&!Rn(e.props)&&!Nt(e.props),pl=e=>rn(e);function f0(e){for(let o of pl(e))for(let t of o){if(or(t.props??{}))continue;if(t.type===s0&&y6(t))return t;if(t.type===s0)continue;let r=f0(t);if(r)return r}}function c0(e){return pl(e).some(o=>o.some(t=>t&&!or(t.props??{})&&(t.type===Jx||c0(t))))}var p0=e=>e.type===Xx&&Tn(Xx,e.props?.direction)==="row";function u0(e){return pl(e).some(o=>o.some(t=>t&&!or(t.props??{})&&(t.type===Jx||!p0(t)&&u0(t))))}function S6(e){let o=[],t=(r,a)=>{for(let n of r){if(!n||or(n.props??{}))continue;if(n.type===Jx){a.open={contents:n,sections:a.waiting??[]},a.waiting=null,o.push(a.open);continue}if(p0(n)&&u0(n)){let l={inRow:!0,open:null,waiting:[]};for(let i of pl(n))t(i,l);a.inRow||(a.open=null);continue}let s=a.open?.sections??a.waiting;if(n.type===Xx&&d0(n.props)&&s&&!c0(n)){s.push({box:n,kicker:f0(n)});continue}for(let l of pl(n))t(l,a)}};return t(e,{inRow:!1,open:null,waiting:null}),o}function b6(e){return e.map(o=>({label:o.kicker?nn(g6(o.kicker.props?.text)):"",anchor:d0(o.box.props)}))}function Qx(e){let o=e?.length?S6(e):[];if(!o.length)return null;let t=new Map,r=new Map;for(let a of o){let n=Zx(a.contents);n&&t.set(n,b6(a.sections));let s=n0(a.contents.props?.[x6]);a.sections.forEach((l,i)=>{let d=l.kicker?Zx(l.kicker):"";d&&r.set(d,Wf(s,i))})}return{entries:t,numbers:r}}var Qne=e=>e.endsWith(".")?`${e} `:`${e} \xB7 `;function m0(e){let o=e;if(!o?.content?.length)return e;let t=Qx(o.content);if(!t)return e;let{entries:r,numbers:a}=t,n=s=>{let l=qe(s,h=>ze(h,n)),i=l.props??{},d=l!==s,f=Zx(s),x=f?r.get(f):void 0;x&&(i={...i,[h6]:x},d=!0);let u=f?a.get(f):void 0;return u&&(i={...i,[I6]:u},d=!0),d?{...s,props:i}:s};return{...o,content:o.content.map(n)}}var k6=`[${i0}]`,v6=["bold","italic","underline","strike","link","sup","sub"],P6=["bullet","number"];function th(e,o){return e?[...v6,...o?P6:[]]:[]}function x0(e,o){let t=C6(e);if(!t?.propKey)return null;let{nodeId:r,propKey:a}=t,n=o.getItemById(r),s=o.getSelectorForId(r);if(!n||!s)return null;let{key:l,row:i}=Wt(a),d=o.components[n.type]?.fields?.[l],f=i?Dn(d,i):d,x=df(f);if(!x)return null;let u=n.props??{};if(uT(u)!==null||!i&&Od(n.type,u,l)||n.type==="Text"&&l==="text"&&Rn(u)||i&&!(Array.isArray(u[l])&&i.index<u[l].length))return null;let h=i?cf(u[l],i):u[l];return{node:n,selector:s,propKey:a,kind:x,stored:h,offPage:_f(f),panelOnly:Qk(f)}}function $f(e,o){let t=x0(e,o);if(!t)return null;let{text:r,hidden:a}=ca(t.stored);if(!xv({offPage:t.offPage,hidden:!!a,panelOnly:t.panelOnly}))return null;let n=ff(t.kind);return{partId:e,value:r,rules:cd,multiline:n,skip:k6,offered:th(t.kind!=="plainText",n),write:s=>{let l=x0(e,o);l&&Hf({node:l.node,propKey:l.propKey,kind:l.kind,zone:l.selector.zone,index:l.selector.index},s,o.replace)}}}function rh(e,o,t){return e?.isConnected&&e.getAttribute(Ue)===t?e:o?.querySelector(`[${Ue}="${zf(t)}"]`)??null}function zf(e){return e.replace(/["\\]/g,"\\$&")}function h0(e){let o=e.activeElement;return o?o.tagName==="IFRAME"||!!o.closest(".es-canvas"):!1}var eh=null,oh=new Set;function T6(){return eh}function ah(e){if(e!==eh){eh=e;for(let o of oh)o()}}function O6(e){return oh.add(e),()=>{oh.delete(e)}}function I0(){return w6(O6,T6,()=>null)}function g0(e,o){if(e.outer)return null;let t=o.getItemById(e.ownerId);if(!t)return null;let r=ww(t.type);return!r||Ne(t.props)?null:{node:t,rows:r}}function B6(e,o){let t=g0(e,o),r=o.getItemById(e.nodeId);if(!t||!r)return null;let a=Ow(r.type,r.props,e.key);if(!a)return null;let n=t.node.props[t.rows];return!Array.isArray(n)||e.index<0||e.index>=n.length?null:E6(e.ownerId,kn(t.rows,{index:e.index,rowKey:a}))}function Uf(e,o){let t=B6(e,o);return t?$f(t,o):null}function y0(e,o){return Uf(e,o)?.value}function S0(e,o){let t=Uf(e,o);return t?(t.write(e.text),!0):!1}function b0(e,o){let t=g0(e,o),r=t&&o.getSelectorForId(e.ownerId);if(!t||!r)return!1;let a=t.node.props,n=a[t.rows],s=e.index;if(!Array.isArray(n)||s<0||s>=n.length)return!1;let l;switch(e.action){case"addAfter":{let i=o.components[t.node.type]?.fields?.[t.rows];l=_6(n,s+1,{...i?.defaultItemProps??{}});break}case"moveEarlier":case"moveLater":{let i=e.action==="moveEarlier"?s-1:s+1;if(i<0||i>=n.length)return!1;l=A6(n,s,i);break}case"delete":l=F6(n,s);break;default:return!1}return o.replace(r.zone,r.index,{...t.node,props:{...a,[t.rows]:l}}),!0}import{jsx as ke,Fragment as tJ,jsxs as Mu}from"react/jsx-runtime";import{Fragment as rJ,useEffect as eH,useMemo as oH,useRef as aJ,useState as $a}from"react";import{useScreenDocument as sH}from"efficient-easel/screen/components/ScreenDocumentContext";import{UiIcon as Ny}from"efficient-easel/draw/client";import nJ from"efficient-easel/screen/components/SidePanelHead";import{InspectorIconButton as sJ}from"efficient-easel/chrome";import{Input as lJ,LoadingSpinner as iJ,PopupMenu as dJ,PopupMenuItem as tH,toast as rH}from"efficient-shell/ui";import{LayersTree as fJ,TreeGroupLabel as cJ,TreeRow as aH,TreeRowAction as Hu}from"efficient-easel/tree";import{AddIcon as pJ,DuplicateIcon as uJ,PageIcon as mJ,SettingsIcon as xJ}from"efficient-easel/icons";import{PagesIcon as hJ}from"efficient-easel/rail";import{useEaselHost as IJ}from"efficient-easel/screen/lib/host";import{useEaselSession as My}from"efficient-easel/screen/lib/session-context";import{useCallback as jf,useEffect as L6,useSyncExternalStore as R6}from"react";import{useScreenDocument as v0}from"efficient-easel/screen/components/ScreenDocumentContext";var w0=new WeakMap;function ul(e){let o=w0.get(e);return o||(o={rows:null,loading:null,listeners:new Set},w0.set(e,o)),o}function nh(e,o){e.rows=o;for(let t of e.listeners)t()}var Gf=new Set;function Kf(e,o){o?Gf.add(e):Gf.delete(e)}function C0(e){let o=ul(e),t=e.listPages().then(r=>nh(o,Gf.size?r.filter(a=>!Gf.has(a.id)):r),()=>nh(o,[])).finally(()=>{o.loading===t&&(o.loading=null)});return o.loading=t,t}var k0=()=>null,D6=()=>()=>{};function ml(){let{adapter:e,ready:o}=v0(),t=jf(l=>{let{listeners:i}=ul(e);return i.add(l),()=>i.delete(l)},[e]),r=jf(()=>ul(e).rows,[e]),a=R6(o?t:D6,o?r:k0,k0);L6(()=>{if(!o)return;let l=ul(e);l.rows===null&&!l.loading&&C0(e)},[e,o]);let n=jf(()=>o?C0(e):Promise.resolve(),[e,o]),s=jf(l=>nh(ul(e),l),[e]);return{rows:a,reload:n,setRows:s,getRows:r}}function N6(e,o){return e?.find(t=>t.slug===o)?.label?.trim()||`/${o}`}function P0(){let{currentSlug:e}=v0(),{rows:o}=ml();return N6(o,e)}import{canDuplicatePage as gJ,DuplicatePageDialog as yJ}from"efficient-easel/page-copy";import{jsx as To,jsxs as KM}from"react/jsx-runtime";import{useEffect as HZ,useId as WZ,useMemo as $Z,useRef as zZ,useState as Ly}from"react";import{useScreenDocument as UZ}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as jZ}from"efficient-easel/screen/lib/session-context";import{uniqueSlug as qM}from"efficient-easel/page-copy";import{AddIcon as GZ}from"efficient-easel/icons";import{Button as KZ,Dialog as qZ,EmptyState as VZ,LoadingSpinner as YZ,Paragraph as XZ,SidebarLayout as ZZ,SidebarNavItem as Ry,Title as JZ,toast as VM}from"efficient-shell/ui";import{jsx as Tt,jsxs as cR}from"react/jsx-runtime";import{useEffect as U7,useState as Og}from"react";import{CanvasFrame as j7}from"efficient-easel/easel";import{Button as G7,Card as K7,FitFrame as q7,Text as V7}from"efficient-shell/ui";import{jsx as A0,Fragment as Y6,jsxs as X6}from"react/jsx-runtime";import{useEffect as F0,useLayoutEffect as Z6}from"react";var qf="data-theme",T0="light";function M6(e){return e.getAttribute(qf)===T0?"light":"dark"}function H6(e,o){return M6(e)===o?!1:(o==="light"?e.setAttribute(qf,T0):e.removeAttribute(qf),!0)}function W6(e){return Ux(e).getItem(Jm)}function Ose(e,o){Ux(e).setItem(Jm,o)}function $6(e,o,t=new Date().getHours()){return Lw({mode:o.mode,override:W6(e),switchShown:o.switchShown,hour:t})}function O0(e,o){let t=e.documentElement;if(!t)return()=>{};let r=()=>H6(t,$6(e,o));r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[qf]}),()=>n.disconnect()}var z6="style";function U6(e,o){let t=Fd(o),r=!1;for(let a of jw){let n=t[a]??"";e.style.getPropertyValue(a)!==n&&(n?e.style.setProperty(a,n):e.style.removeProperty(a),r=!0)}return r}function E0(e,o){let t=e.body;if(!t)return()=>{};let r=()=>U6(t,o);r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[z6]}),()=>n.disconnect()}import{VIEW_DESKTOP_MIN as j6,VIEW_TABLET_MIN as G6}from"efficient-easel/screen/lib/content/view-tiers";var nr={fit:"data-fit",fitTablet:"data-fit-tablet",fitPhone:"data-fit-phone",min:"data-fit-min",minTablet:"data-fit-min-tablet",minPhone:"data-fit-min-phone",edge:"data-fit-edge"},Vo=nr,K6=e=>e.flatMap(o=>[`[${o}] p`,`[${o}] li`]).join(","),q6=String.raw`(function (doc) {
1
+ import{$ as af,D as Ok,E as Ek,F as Qd,G as _k,H as Nk,I as Cr,J as Mk,K as Hk,L as Wk,M as at,N as ef,O as Co,P as de,R as of,S as kr,T as tf,X as $k,Y as rf,Z as vr,_ as zk,a as qo,b as Vs,ba as Qv,c as zd,d as yn,e as Ys,f as nk,fa as fP,g as Sn,h as Ud,ha as cP,ia as Rf,ja as MT,ka as HT,r as ol,t as Tk}from"./chunk-RYJPQW5E.js";import{a as hP,d as gf,e as nt,f as yf,g as Sf,h as kf,l as Ux}from"./chunk-ATQPMU57.js";import{$ as In,$a as pk,$c as wv,$e as yP,$i as ar,$j as Ff,A as wC,Aa as YC,Ab as Ht,Ac as sv,Ad as Hv,Ah as fT,Aj as ST,Al as Ln,B as CC,Ba as XC,Bb as wn,Bc as lv,Bd as Wv,Be as Ct,Bh as cT,Bj as bT,Bk as Hx,Bl as Nf,C as ot,Ca as ZC,Cb as el,Cc as $t,Cd as $v,Cf as _P,Ch as pT,Cj as Rx,D as kC,Da as JC,Dc as Ue,Dd as zv,De as je,Df as Tx,Dg as VP,E as vC,Ea as QC,Ec as Pr,Ed as bx,Ee as kt,Ef as AP,Eg as YP,Ej as En,F as PC,Fa as ek,Fb as mx,Fc as Ix,Fd as Uv,Fe as Te,Ff as FP,Fg as XP,Fj as wT,G as TC,Ga as Sr,Gb as aa,Gc as iv,Gd as wx,Ge as mP,Gf as BP,Gg as ZP,H as OC,Ha as ok,Hb as Jd,Hc as dv,Hd as jv,Hf as LP,Hg as JP,Hk as Bf,I as EC,Ib as kk,Ic as fv,Id as Gv,Ig as _x,Ij as Dx,Ik as Lf,J as _C,Ja as tk,Jb as vk,Jc as pf,Jd as Kv,Jf as RP,Jg as QP,Jj as dl,Jk as Wx,Ka as jd,Kb as Pk,Kc as rl,Kd as zt,Ke as Cx,Kg as Ax,Kk as LT,L as AC,La as Xs,Lb as nf,Lc as cv,Ld as qv,Lg as rr,Lk as pa,M as FC,Ma as Gd,Mb as Gk,Mc as pv,Md as ia,Mg as Fx,Mj as _n,Mk as RT,N as BC,Na as sk,Nb as sf,Nc as uv,Nd as Vv,Ne as ll,Ng as Pf,Nk as DT,O as Dd,Ob as hx,Oc as uf,Od as Pn,Og as eT,Oj as CT,Ok as NT,P as LC,Pb as lf,Pc as mv,Pg as oT,Q as RC,Qc as xv,Qd as or,Qf as DP,Qg as tT,Qk as WT,Ra as lk,Rc as gx,Rd as Yv,Re as xP,Rf as NP,Rg as rT,Rk as $x,Sa as ik,Sc as hv,Sd as sl,Se as kx,Sf as MP,Sg as aT,Ta as Zs,Tc as vn,Td as Xv,Te as IP,Tf as Ox,Tk as $T,Ub as Cn,Ud as da,Uf as HP,Uk as zT,V as ax,Va as bn,Vc as Iv,Vd as Zv,Vf as WP,Vg as nT,Vk as UT,Wa as dk,Wc as gv,Wf as Ex,Wg as sT,Wj as kT,Wk as jT,X as Gs,Xa as Kd,Xb as Kk,Xc as yv,Xd as mf,Xj as Nx,Xk as GT,Y as Nd,Ya as fk,Yb as qk,Yc as Sv,Yd as Or,Yj as vT,Yk as KT,Z as Fo,Za as Js,Zb as Vk,Zc as bv,Zd as Jv,Zi as ca,Zj as PT,_ as nx,_a as ck,_b as tl,_c as na,_e as gP,_f as tr,a as Ao,aa as DC,ab as cx,ad as yx,af as bf,ag as Tn,ak as An,b as mn,ba as NC,bb as uk,bd as Cv,bf as SP,bi as uT,bk as Fn,ca as MC,cb as qd,cd as kv,cf as vx,cg as $P,ch as Tf,ci as mT,ck as fl,d as aC,da as HC,db as mk,dd as vv,df as bP,dg as zP,dk as Bn,e as ex,ea as WC,eb as px,ed as Pv,ef as wP,eg as vf,ek as TT,f as nC,fa as sx,fd as Tv,fe as eP,ff as CP,fg as Er,g as c,gb as xk,gd as Tr,gf as kP,gg as UP,gj as _f,h as Mt,ha as $C,hb as hk,hd as al,hf as wf,i as hn,ia as Md,id as sa,ie as oP,ig as On,ih as lT,ij as IT,j as Us,jb as Vd,jc as kn,jd as Ov,je as tP,jf as vP,k as Mo,kb as Ik,kc as Wt,ke as rP,kh as iT,l as js,lb as gk,lc as Yk,ld as la,lk as OT,mb as yk,mc as Xk,md as nl,mf as Px,mi as xT,mk as ET,n as uC,nb as Sk,nc as Zk,nd as Ev,ni as hT,nl as zx,o as mC,ob as Yd,oc as Jk,od as _v,p as xC,pb as bk,pc as Qk,pe as Ho,q as hC,qc as df,qd as Av,qe as Je,r as IC,rc as ff,rd as Fv,rf as PP,rg as _r,s as gC,sb as wk,sc as ev,sd as Bv,se as xf,sf as TP,sg as jP,t as yC,tb as br,te as aP,tf as Cf,tg as GP,tk as Mx,u as Rd,ub as Xd,uc as ov,ud as Lv,ue as nP,uf as OP,ug as KP,uh as Bx,uj as gT,v as yr,va as GC,vb as Zd,vc as tv,vd as Rv,ve as sP,vf as EP,vh as Of,vk as _T,vl as qT,wa as KC,wb as Ck,wc as rv,wd as Dv,we as lP,wh as fa,wk as AT,wl as VT,x as rx,xa as qC,xb as po,xc as cf,xd as Nv,xe as hf,xh as Ef,xj as yT,xk as FT,xl as Df,y as SC,ya as VC,yb as ux,yc as av,yd as Sx,ye as iP,yj as Af,yl as YT,z as bC,za as dx,zb as Qs,zc as nv,zd as Mv,ze as dP,zg as qP,zh as dT,zj as Lx,zk as BT}from"./chunk-F36A4DQB.js";import{a as cC,b as Ld,c as pC,g as Uk,h as xx,i as jk}from"./chunk-RQM4VZZW.js";import{$ as xb,$a as Db,$c as wo,$d as hw,$e as Xm,$g as tx,A as ro,Ae as qm,Af as Jm,B as tn,Bb as Ms,Bd as Gm,Be as Sw,Ca as Ie,Cb as Zb,D as Rs,Dd as cw,De as Vm,E as sd,Ed as yd,F as Lt,Fg as Xw,G as rn,Ga as Qo,Gb as hd,Gd as et,Gg as Zw,H as ze,Ha as St,Hc as rw,Hd as No,He as wd,Hf as Lw,Hg as Jw,I as qe,Ia as Pm,Id as Ze,Ie as Cd,Ig as Qw,J as an,Ja as Tm,Jc as Wm,Jd as Dt,Je as bw,Jh as fx,K as ld,Kd as Qt,Ke as kd,Kf as er,Kh as gn,L as ib,La as Om,Lb as Jb,Ld as wt,Le as vd,Lg as eC,Lh as rk,M as db,Ma as Em,Md as fn,Me as ww,Mh as tt,Nd as pw,Ne as Cw,Nh as rt,O as fb,Od as cn,Oe as Pd,Og as oC,Oh as $d,P as id,Pd as uw,Pe as Td,Pg as tC,Ph as ak,Q as cb,Qa as _m,Qb as Id,Qc as aw,Qe as ra,Qf as Rw,Qh as qs,R as Qr,Ra as Ob,Re as kw,Rg as rC,S as pb,Sa as Eb,T as ub,Ta as Ge,Tb as Qb,Td as ta,Tg as sC,Th as Ak,U as Ds,Ua as _b,Ub as ew,Ud as mw,Ug as lC,V as km,Va as ud,Vd as xw,Ve as vw,W as we,Wa as Ab,Wb as ow,Wd as pn,Wf as Dw,Wg as gr,X as K,Xa as Fb,Xc as U,Xd as Ws,Xf as Nw,Xh as Fk,Y as mb,Ya as Bb,Yb as Nm,Yc as re,Yd as $s,Ye as Nt,Yf as Mw,Yg as iC,Za as Lb,Zc as $m,Zd as Km,Ze as zs,Zf as Hw,Zg as ox,_ as dd,_a as Rb,_c as L,_e as Ym,_g as dC,a as on,ab as Nb,ad as Zt,ae as Iw,af as Pw,ah as Bd,b as fo,ba as hb,bb as Mb,bd as nw,be as gw,bf as Tw,bg as Ww,c as to,ca as fd,cb as md,cd as W,cf as Od,cg as $w,ch as fC,ci as Bk,d as Yt,da as Ib,db as xd,dd as gd,de as yw,df as Ow,di as wr,ea as gb,eb as Hb,ed as Do,eg as zw,f as Ko,fa as vm,fb as Wb,fc as Mm,fd as sw,fe as Sd,fg as Uw,fi as Lk,g as Ls,ga as yb,gd as bt,gf as Ew,gg as Ad,gi as Rk,h as eb,ha as Sb,hb as $b,hd as Rt,he as bd,hf as Ed,hg as jw,hi as Dk,i as ob,ia as bb,ib as zb,id as zm,if as _w,ig as Fd,j as tb,jb as Am,jd as hr,jf as Zm,jg as Qm,k as rb,kb as Ub,kd as Jt,kf as Aw,la as wb,lb as jb,ld as lw,lf as Fw,li as ko,ma as Cb,mb as Fm,mf as _d,mg as Gw,na as kb,nb as sn,nd as Fe,nf as un,ng as Kw,o as ab,ob as ea,od as oa,of as xn,pa as vb,pb as Bm,pd as Hs,pf as Ir,pi as il,qb as Lm,qd as ln,qg as qw,qh as lx,ra as Pb,rb as Rm,rd as iw,rg as Vw,rh as Hd,s as nb,sa as cd,sb as Gb,sd as Um,sh as zC,ta as Tb,tb as Kb,td as dn,tf as Bw,th as ix,u as Ne,ua as pd,ub as qb,uc as Hm,ud as jm,ug as Yw,uh as UC,v as sb,vb as Dm,w as nd,wb as Vb,wc as tw,wh as Wd,x as lb,xb as Xt,xh as jC,ya as Ns,yb as Yb,yd as dw,yh as Ks,z as Pe,za as nn,zb as Xb,zd as fw}from"./chunk-UT3TWN4Y.js";import{a as z,b as co}from"./chunk-PWMBT2HT.js";import{c as pP,d as uP,e as If}from"./chunk-Z7GIOCFP.js";import{jsx as jx,Fragment as Y4,jsxs as X4}from"react/jsx-runtime";import{createContext as Z4,useContext as J4}from"react";var Q4={mirrorHostStyles:!0,css:null,fontHrefs:[]},XT=Z4(Q4);function hne({value:e,children:o}){return jx(XT.Provider,{value:e,children:o})}function cl(){return J4(XT)}function ZT(){let{css:e,fontHrefs:o}=cl();return X4(Y4,{children:[o.map(t=>jx("link",{rel:"stylesheet",href:t},t)),e?jx("style",{"data-sf-canvas-css":"",children:e}):null]})}import{jsx as e6}from"react/jsx-runtime";import{createContext as o6,useContext as t6}from"react";var JT=o6(void 0);function Sne({metadata:e,children:o}){return e6(JT.Provider,{value:e,children:o})}var QT=()=>t6(JT);import{jsx as lo,Fragment as R4,jsxs as Qi}from"react/jsx-runtime";import{useCallback as _s,useEffect as qt,useRef as zae,useState as A4}from"react";import{SettingsSwitch as Uae}from"efficient-easel/panel";import{PagesIcon as jae,StylesIcon as Gae}from"efficient-easel/rail";import{PaletteIcon as Kae}from"efficient-shell/icons/efficient";import{Subtree as qae,TreeRow as D4}from"efficient-easel/tree";import{useEasel as N4}from"efficient-easel/easel";import{toItemSelector as Vae}from"efficient-easel/node-ops";import{useEaselStrings as M4}from"efficient-easel/strings";import{createContext as r6,useContext as a6}from"react";var Gx=r6(!1),Cne=()=>a6(Gx);import{useMemo as n6,useRef as s6}from"react";import{useEaselApi as l6}from"efficient-easel/easel";import{useSectionOps as i6}from"efficient-easel/screen/lib/document/use-section-ops";function Mf(){let e=l6(),o=i6(),t=s6(o);return t.current=o,n6(()=>({getItemById:r=>e.getState().getItemById(r),getSelectorForId:r=>e.getState().getSelectorForId(r),get components(){return e.getState().config.components},replace:(r,a,n)=>t.current.replaceComponent(r,a,n)}),[e])}import{encodePartId as E6}from"efficient-easel/draw";import{insertAt as _6,moveTo as A6,removeAt as F6}from"efficient-easel/fields";import{useSyncExternalStore as w6}from"react";import{isNodeList as e0}from"efficient-easel/data";var o0="Flex";function Rn(e,o){return Nt(e)?typeof e?.[Ko]=="string"?Kx(o?.[Ko]):"":Kx(e?.[Ko])}var Kx=e=>typeof e=="string"?e.trim():"",d6=e=>e.type===ro&&Array.isArray(e.props?.[Vm])&&e.props[Vm].some(o=>Kx(o?.[Ko])!==""),f6=new Intl.NumberFormat("en-US");function c6(e){return/^\d+$/.test(e)?f6.format(Number(e)):e}function Bne(e,o){let t=o?o.find(r=>r.key===e)?.value:nb(Ls).find(r=>r.key===e)?.value;return t===void 0?null:c6(t)}var p6={[Ko]:"any"};function qx(e,o=!1){let t=e.props;if(!t)return{node:e,names:!1};let r=e.type==="Text"&&(Rn(t)!==""||o&&Rn(t,p6)!==""),a=o||d6(e),n=qe(e,l=>ze(l,i=>{let d=qx(i,a);return d.names&&(r=!0),d.node})).props;if(e.type!==o0)return{node:n===t?e:{...e,props:n},names:r};let s=Ne(n);if(r&&!s&&(n={...n,[to]:Ls}),!r&&s===Ls){let{[to]:l,...i}=n;n=i}return{node:n===t?e:{...e,props:n},names:!1}}function t0(e,o,t){for(let r of e){if(r?.props?.id===o)return t;for(let a of rn(r??{})){let n=t0(a,o,r.type===o0?r:t);if(n!==void 0)return n}}}function Lne(e,o){if(!e0(e))return!0;let t=t0(e,o,null);if(t===void 0)return!0;if(t===null)return!1;let r=Ne(t.props);return!r||r===Ls}function r0(e){let o=e?.content;if(!e0(o))return e;let t=o.map(r=>qx(r));return t.every((r,a)=>r.node===o[a])?e:{...e,content:t.map(r=>r.node)}}function a0(e){return qx(e).node}import{decodePartId as C6}from"efficient-easel/draw";function Dn(e,o){let t=tv(e);return t?.control==="textList"?o.rowKey===(t.itemKey??"text")?AT(t,o.index):null:rv(e)?.[o.rowKey]??null}function Hf(e,o,t){let r=e.node.props,{key:a,row:n}=Wt(e.propKey),s=n?nv(r,a,n,e.kind,o):ov(r,a,e.kind,o);return s?(t(e.zone,e.index,{...e.node,props:s}),!0):!1}import{readHidable as l0}from"efficient-easel/draw";import{parseOption as u6}from"efficient-shell/format";var Vx=e=>String(e+1).padStart(2,"0"),m6=[{label:"01 \xB7",value:"two-digit"},{label:"1.",value:"plain"}],Yx="two-digit",n0=e=>u6(m6,Yx,e),Wf=(e,o)=>e==="plain"?`${o+1}.`:Vx(o);var Jx="Contents",Xx="Flex",s0="Text",x6="numberForm",h6="_contentsEntries",I6="_kickerNumber",i0="data-sf-kicker-number",g6=e=>l0(e).text.trim(),d0=e=>da(e?.anchor),Zx=e=>String(e.props?.id??""),y6=e=>!l0(e.props?.text).hidden&&!Rn(e.props)&&!Nt(e.props),pl=e=>rn(e);function f0(e){for(let o of pl(e))for(let t of o){if(or(t.props??{}))continue;if(t.type===s0&&y6(t))return t;if(t.type===s0)continue;let r=f0(t);if(r)return r}}function c0(e){return pl(e).some(o=>o.some(t=>t&&!or(t.props??{})&&(t.type===Jx||c0(t))))}var p0=e=>e.type===Xx&&Tn(Xx,e.props?.direction)==="row";function u0(e){return pl(e).some(o=>o.some(t=>t&&!or(t.props??{})&&(t.type===Jx||!p0(t)&&u0(t))))}function S6(e){let o=[],t=(r,a)=>{for(let n of r){if(!n||or(n.props??{}))continue;if(n.type===Jx){a.open={contents:n,sections:a.waiting??[]},a.waiting=null,o.push(a.open);continue}if(p0(n)&&u0(n)){let l={inRow:!0,open:null,waiting:[]};for(let i of pl(n))t(i,l);a.inRow||(a.open=null);continue}let s=a.open?.sections??a.waiting;if(n.type===Xx&&d0(n.props)&&s&&!c0(n)){s.push({box:n,kicker:f0(n)});continue}for(let l of pl(n))t(l,a)}};return t(e,{inRow:!1,open:null,waiting:null}),o}function b6(e){return e.map(o=>({label:o.kicker?nn(g6(o.kicker.props?.text)):"",anchor:d0(o.box.props)}))}function Qx(e){let o=e?.length?S6(e):[];if(!o.length)return null;let t=new Map,r=new Map;for(let a of o){let n=Zx(a.contents);n&&t.set(n,b6(a.sections));let s=n0(a.contents.props?.[x6]);a.sections.forEach((l,i)=>{let d=l.kicker?Zx(l.kicker):"";d&&r.set(d,Wf(s,i))})}return{entries:t,numbers:r}}var Qne=e=>e.endsWith(".")?`${e} `:`${e} \xB7 `;function m0(e){let o=e;if(!o?.content?.length)return e;let t=Qx(o.content);if(!t)return e;let{entries:r,numbers:a}=t,n=s=>{let l=qe(s,h=>ze(h,n)),i=l.props??{},d=l!==s,f=Zx(s),x=f?r.get(f):void 0;x&&(i={...i,[h6]:x},d=!0);let u=f?a.get(f):void 0;return u&&(i={...i,[I6]:u},d=!0),d?{...s,props:i}:s};return{...o,content:o.content.map(n)}}var k6=`[${i0}]`,v6=["bold","italic","underline","strike","link","sup","sub"],P6=["bullet","number"];function th(e,o){return e?[...v6,...o?P6:[]]:[]}function x0(e,o){let t=C6(e);if(!t?.propKey)return null;let{nodeId:r,propKey:a}=t,n=o.getItemById(r),s=o.getSelectorForId(r);if(!n||!s)return null;let{key:l,row:i}=Wt(a),d=o.components[n.type]?.fields?.[l],f=i?Dn(d,i):d,x=df(f);if(!x)return null;let u=n.props??{};if(uT(u)!==null||!i&&Od(n.type,u,l)||n.type==="Text"&&l==="text"&&Rn(u)||i&&!(Array.isArray(u[l])&&i.index<u[l].length))return null;let h=i?cf(u[l],i):u[l];return{node:n,selector:s,propKey:a,kind:x,stored:h,offPage:_f(f),panelOnly:Qk(f)}}function $f(e,o){let t=x0(e,o);if(!t)return null;let{text:r,hidden:a}=ca(t.stored);if(!xv({offPage:t.offPage,hidden:!!a,panelOnly:t.panelOnly}))return null;let n=ff(t.kind);return{partId:e,value:r,rules:cd,multiline:n,skip:k6,offered:th(t.kind!=="plainText",n),write:s=>{let l=x0(e,o);l&&Hf({node:l.node,propKey:l.propKey,kind:l.kind,zone:l.selector.zone,index:l.selector.index},s,o.replace)}}}function rh(e,o,t){return e?.isConnected&&e.getAttribute(Ue)===t?e:o?.querySelector(`[${Ue}="${zf(t)}"]`)??null}function zf(e){return e.replace(/["\\]/g,"\\$&")}function h0(e){let o=e.activeElement;return o?o.tagName==="IFRAME"||!!o.closest(".es-canvas"):!1}var eh=null,oh=new Set;function T6(){return eh}function ah(e){if(e!==eh){eh=e;for(let o of oh)o()}}function O6(e){return oh.add(e),()=>{oh.delete(e)}}function I0(){return w6(O6,T6,()=>null)}function g0(e,o){if(e.outer)return null;let t=o.getItemById(e.ownerId);if(!t)return null;let r=ww(t.type);return!r||Ne(t.props)?null:{node:t,rows:r}}function B6(e,o){let t=g0(e,o),r=o.getItemById(e.nodeId);if(!t||!r)return null;let a=Ow(r.type,r.props,e.key);if(!a)return null;let n=t.node.props[t.rows];return!Array.isArray(n)||e.index<0||e.index>=n.length?null:E6(e.ownerId,kn(t.rows,{index:e.index,rowKey:a}))}function Uf(e,o){let t=B6(e,o);return t?$f(t,o):null}function y0(e,o){return Uf(e,o)?.value}function S0(e,o){let t=Uf(e,o);return t?(t.write(e.text),!0):!1}function b0(e,o){let t=g0(e,o),r=t&&o.getSelectorForId(e.ownerId);if(!t||!r)return!1;let a=t.node.props,n=a[t.rows],s=e.index;if(!Array.isArray(n)||s<0||s>=n.length)return!1;let l;switch(e.action){case"addAfter":{let i=o.components[t.node.type]?.fields?.[t.rows];l=_6(n,s+1,{...i?.defaultItemProps??{}});break}case"moveEarlier":case"moveLater":{let i=e.action==="moveEarlier"?s-1:s+1;if(i<0||i>=n.length)return!1;l=A6(n,s,i);break}case"delete":l=F6(n,s);break;default:return!1}return o.replace(r.zone,r.index,{...t.node,props:{...a,[t.rows]:l}}),!0}import{jsx as ke,Fragment as tJ,jsxs as Mu}from"react/jsx-runtime";import{Fragment as rJ,useEffect as eH,useMemo as oH,useRef as aJ,useState as $a}from"react";import{useScreenDocument as sH}from"efficient-easel/screen/components/ScreenDocumentContext";import{UiIcon as Ny}from"efficient-easel/draw/client";import nJ from"efficient-easel/screen/components/SidePanelHead";import{InspectorIconButton as sJ}from"efficient-easel/chrome";import{Input as lJ,LoadingSpinner as iJ,PopupMenu as dJ,PopupMenuItem as tH,toast as rH}from"efficient-shell/ui";import{LayersTree as fJ,TreeGroupLabel as cJ,TreeRow as aH,TreeRowAction as Hu}from"efficient-easel/tree";import{AddIcon as pJ,DuplicateIcon as uJ,PageIcon as mJ,SettingsIcon as xJ}from"efficient-easel/icons";import{PagesIcon as hJ}from"efficient-easel/rail";import{useEaselHost as IJ}from"efficient-easel/screen/lib/host";import{useEaselSession as My}from"efficient-easel/screen/lib/session-context";import{useCallback as jf,useEffect as L6,useSyncExternalStore as R6}from"react";import{useScreenDocument as v0}from"efficient-easel/screen/components/ScreenDocumentContext";var w0=new WeakMap;function ul(e){let o=w0.get(e);return o||(o={rows:null,loading:null,listeners:new Set},w0.set(e,o)),o}function nh(e,o){e.rows=o;for(let t of e.listeners)t()}var Gf=new Set;function Kf(e,o){o?Gf.add(e):Gf.delete(e)}function C0(e){let o=ul(e),t=e.listPages().then(r=>nh(o,Gf.size?r.filter(a=>!Gf.has(a.id)):r),()=>nh(o,[])).finally(()=>{o.loading===t&&(o.loading=null)});return o.loading=t,t}var k0=()=>null,D6=()=>()=>{};function ml(){let{adapter:e,ready:o}=v0(),t=jf(l=>{let{listeners:i}=ul(e);return i.add(l),()=>i.delete(l)},[e]),r=jf(()=>ul(e).rows,[e]),a=R6(o?t:D6,o?r:k0,k0);L6(()=>{if(!o)return;let l=ul(e);l.rows===null&&!l.loading&&C0(e)},[e,o]);let n=jf(()=>o?C0(e):Promise.resolve(),[e,o]),s=jf(l=>nh(ul(e),l),[e]);return{rows:a,reload:n,setRows:s,getRows:r}}function N6(e,o){return e?.find(t=>t.slug===o)?.label?.trim()||`/${o}`}function P0(){let{currentSlug:e}=v0(),{rows:o}=ml();return N6(o,e)}import{canDuplicatePage as gJ,DuplicatePageDialog as yJ}from"efficient-easel/page-copy";import{jsx as To,jsxs as KM}from"react/jsx-runtime";import{useEffect as HZ,useId as WZ,useMemo as $Z,useRef as zZ,useState as Ly}from"react";import{useScreenDocument as UZ}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as jZ}from"efficient-easel/screen/lib/session-context";import{uniqueSlug as qM}from"efficient-easel/page-copy";import{AddIcon as GZ}from"efficient-easel/icons";import{Button as KZ,Dialog as qZ,EmptyState as VZ,LoadingSpinner as YZ,Paragraph as XZ,SidebarLayout as ZZ,SidebarNavItem as Ry,Title as JZ,toast as VM}from"efficient-shell/ui";import{jsx as Tt,jsxs as cR}from"react/jsx-runtime";import{useEffect as U7,useState as Og}from"react";import{CanvasFrame as j7}from"efficient-easel/easel";import{Button as G7,Card as K7,FitFrame as q7,Text as V7}from"efficient-shell/ui";import{jsx as A0,Fragment as Y6,jsxs as X6}from"react/jsx-runtime";import{useEffect as F0,useLayoutEffect as Z6}from"react";var qf="data-theme",T0="light";function M6(e){return e.getAttribute(qf)===T0?"light":"dark"}function H6(e,o){return M6(e)===o?!1:(o==="light"?e.setAttribute(qf,T0):e.removeAttribute(qf),!0)}function W6(e){return Ux(e).getItem(Jm)}function Ose(e,o){Ux(e).setItem(Jm,o)}function $6(e,o,t=new Date().getHours()){return Lw({mode:o.mode,override:W6(e),switchShown:o.switchShown,hour:t})}function O0(e,o){let t=e.documentElement;if(!t)return()=>{};let r=()=>H6(t,$6(e,o));r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[qf]}),()=>n.disconnect()}var z6="style";function U6(e,o){let t=Fd(o),r=!1;for(let a of jw){let n=t[a]??"";e.style.getPropertyValue(a)!==n&&(n?e.style.setProperty(a,n):e.style.removeProperty(a),r=!0)}return r}function E0(e,o){let t=e.body;if(!t)return()=>{};let r=()=>U6(t,o);r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[z6]}),()=>n.disconnect()}import{VIEW_DESKTOP_MIN as j6,VIEW_TABLET_MIN as G6}from"efficient-easel/screen/lib/content/view-tiers";var nr={fit:"data-fit",fitTablet:"data-fit-tablet",fitPhone:"data-fit-phone",min:"data-fit-min",minTablet:"data-fit-min-tablet",minPhone:"data-fit-min-phone",edge:"data-fit-edge"},Vo=nr,K6=e=>e.flatMap(o=>[`[${o}] p`,`[${o}] li`]).join(","),q6=String.raw`(function (doc) {
2
2
  if (doc.__sfFitWords) return;
3
3
  var win = doc.defaultView;
4
4
  var SELECTOR = "h1,h2,h3,h4,h5,h6,[class*='font-heading'],[class*='font-display']";
@@ -301,7 +301,7 @@ import{$ as af,D as Ok,E as Ek,F as Qd,G as _k,H as Nk,I as Cr,J as Mk,K as Hk,L
301
301
  doc.__sfFitWords.floorOf = floorOf;
302
302
  })(document);`,V6="storefront-fit-words";function _0(e){let o=e.createElement("script");return o.id=V6,o.textContent=q6,(e.head??e.documentElement).appendChild(o),()=>{e.__sfFitWords?.(),o.remove()}}var J6=`
303
303
  [${Ue}][${Ue}] { cursor: text; }
304
- `;function Vf({children:e,document:o}){let{theme:t,themeMode:r,themeSwitchShown:a}=ko(),n=er(t);return F0(()=>{if(o)return O0(o,{mode:r,switchShown:a})},[o,r,a]),F0(()=>{if(o)return E0(o,n)},[o,n]),Z6(()=>{if(o)return _0(o)},[o]),X6(Y6,{children:[A0(ZT,{}),A0("style",{children:J6}),e]})}import{jsx as dL}from"react/jsx-runtime";import{memo as PK}from"react";import{Render as TK}from"efficient-easel/render";import{jsx as Nn}from"react/jsx-runtime";import{createContext as Q6,useContext as eW,useMemo as oW}from"react";var sh=Q6(null);function tW({children:e}){return Nn(sh.Provider,{value:"first",children:e})}function Xf({children:e}){return Nn(sh.Provider,{value:"below",children:e})}function xl(){return eW(sh)}function lh(){return xl()==="below"?{loading:"lazy"}:{}}function Zf(e){let o=lh();return Nn("img",{...e,...o})}var B0="laterSlideIds",rW=new Set(["Breadcrumb","CategoryBar","Divider","Spacer","Ticker"]);function L0(e){return bf(e?.filter(o=>!o?.type||!rW.has(o.type)))}function Yf(e,o=[]){if(Array.isArray(e))for(let t of e)Yf(t,o);else if(e&&typeof e=="object"){let{slides:t}=e;if(Array.isArray(t))for(let r of t.slice(1))typeof r?.props?.id=="string"&&o.push(r.props.id);for(let r of Object.values(e))Yf(r,o)}return o}function R0(e,o){let t=o?.type,r=o?.props?.id;return oW(()=>{let a=t?e.components[t]:void 0;if(!t||!a)return e;let n=a.render,s=l=>l.id===r?Nn(tW,{children:Nn(n,{...l})}):Nn(n,{...l});return{...e,components:{...e.components,[t]:{...a,render:s}}}},[e,t,r])}function D0(e){return e.props?qe(e,o=>{let t=ze(o,D0),r=e.type===jC&&t.every(a=>a.type===Hd)?zC(t):t;return r.length!==o.length||r.some((a,n)=>a!==o[n])?r:o}):e}function N0(e){return ld(e,o=>ze(o,D0))}var aW="Flex",M0="ListSearch",H0=["FAQ"],nW="listKey";function W0(e,o){let t={search:e.type===M0,list:H0.includes(String(e.type))};return qe(e,r=>{for(let a of r){let n=W0(a,o);t.search||=n.search,t.list||=n.list}return r}),e.type===aW&&t.search&&t.list&&String(e.props?.id??"")?(o.add(e),{search:!1,list:!1}):t}function $0(e,o,t){let r=o.has(e)?String(e.props?.id):t,a=qe(e,n=>ze(n,s=>$0(s,o,r)));return r&&(e.type===M0||H0.includes(String(e.type)))?{...a,props:{...a.props,[nW]:r}}:a}function z0(e){return an(e,o=>{let t=new Set;for(let r of o)W0(r,t);return t.size?ze(o,r=>$0(r,t,"")):o})}import{isNode as u$,isNodeList as HE}from"efficient-easel/data";import{jsx as Ee,Fragment as o$,jsxs as dr}from"react/jsx-runtime";import{jsx as xh}from"react/jsx-runtime";import{Fragment as cW,jsx as pW}from"react/jsx-runtime";import{jsx as ih}from"react/jsx-runtime";import{createContext as iW,Fragment as dW,useContext as fW}from"react";import{jsx as U0,jsxs as sW}from"react/jsx-runtime";import{lazy as lW}from"react";var j0=lW(()=>import("./section-css-style-GHS565I6.js"));function G0({css:e,id:o,attr:t}){return U0(j0,{css:e,id:o,attr:t})}var K0={name:"sectionCustomCss",applies:(e,o,t)=>o.isSection(e)&&!!t&&typeof t.render=="function",panel(e,o,t){e.fields={...e.fields,...t.customCssFields()}},draw(e){e.defaultProps={...e.defaultProps,[Ld]:""};let o=e.render;e.render=t=>{let r=pC(t),a=typeof t.id=="string"?t.id:"";return!r||!a?o(t):sW(vr,{className:"sf-section-css",attrs:{[cC]:a},children:[U0(j0,{css:r,id:a}),o(t)]})}}};var q0=iW(null);function V0({rootProps:e,children:o}){let t=e&&typeof e=="object"?e:null,r=vk(t),a=ih(dW,{children:o},"page");return ih(q0.Provider,{value:t,children:r?[ih(G0,{css:r,id:kk,attr:Jd},"css"),a]:a})}function Y0(){return fW(q0)}function vt(){return Rd(Y0())===yC}function Jf({className:e,children:o}){let t=vt();return pW(cW,{children:o(ot(e,t))})}import{SITE_SIDE as uW}from"efficient-easel/screen/lib/content/length-units";var X0="sideSpace",hl=uW,dh="none",ple=[{value:"box",label:"Box"},{value:hl,label:"Site"},{value:dh,label:"None"}],ule="box",mle="Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. None: from 800 px up the Box runs to the screen's edges; on small screens it keeps the site's Side space, up to 20 px.";function Z0(e){return e===hl||e===dh?e:"box"}function xle(e){return e===hl||e===dh?e:void 0}import{parseOption as ph}from"efficient-shell/format";var Qf="standard",oO=[{label:"Standard",value:"standard"},{label:"Editorial",value:"editorial"},{label:"Simple",value:"simple"},{label:"Statement",value:"statement"},{label:"Natural",value:"natural"},{label:"Essay",value:"essay"}],ch=["numStyle","logoSrc","logoAlt","linkText","linkHref","_gLogo"],fh=[...ch,"description"],J0={standard:["eyebrowLook"],editorial:[...ch,"eyebrowLook"],simple:fh,statement:fh,natural:ch,essay:fh},Q0=["gap-5","gap-3"],eO=["text-[length:var(--size-body,16px)]","text-[15px]"];function yle(e){return ph(Q0,Q0[0],e)}function Sle(e){return ph(eO,eO[0],e)}function tO(e){return ph(oO,Qf,e)}function ble(e){let o=oO.map(r=>r.value),t=[...new Set(Object.values(J0).flat())];return et(e,t.map(r=>[[r],yd("headStyle",o,Qf,o.filter(a=>!J0[a].includes(r)))]))}import{readHidable as mW,VIEW_TIERS as xW,viewKeyAt as hW}from"efficient-easel/draw";var ua={direction:"row",share:"content",align:"center"},ma={top:14,bottom:14,topPhone:12,bottomPhone:12},ec={wrap:"nowrap",loop:"scroll",sectionAccent:dC,gap:60,gapPhone:32,separator:"dot",sectionBorder:{top:1,bottom:1}},rO={gap:120,gapPhone:64},oc={...Do,sizeToken:{step:"label",px:14,pxPhone:12},letterSpacing:.25,lineHeight:1.5},aO={textStyle:"heading-3",letterSpacing:.005,case:"upper",lineHeight:1},Il={top:24,bottom:24,topPhone:16,bottomPhone:16},xa={top:16,bottom:16,topPhone:12,bottomPhone:12},gl={justify:"between",wrap:"wrap",gap:32,separator:"none"},yl={...Do,letterSpacing:.1,lineHeight:1.5};var tc={top:24,bottom:24,topPhone:24,bottomPhone:24},rc={top:72,bottom:72,topPhone:72,bottomPhone:72},Mn={top:100,bottom:100,topPhone:60,bottomPhone:60},ac={top:120,bottom:120,topPhone:70,bottomPhone:70},IW={top:24,bottom:24,topPhone:24,bottomPhone:24},gW=40,nc={top:120,bottom:120,topTablet:80,bottomTablet:80,topPhone:80,bottomPhone:80},yW={top:24,bottom:24,topPhone:24,bottomPhone:24},sc={top:24,bottom:24,topPhone:24,bottomPhone:24},SW={top:84,bottom:84,topPhone:84,bottomPhone:84},lc={top:48,bottom:48,topPhone:48,bottomPhone:48},ic={top:80,bottom:80,topPhone:60,bottomPhone:60},dc={top:100,bottom:60,topPhone:60,bottomPhone:40},fc={top:60,bottom:60,topPhone:40,bottomPhone:40},cc={top:80,bottom:80,topTablet:60,bottomTablet:60,topPhone:60,bottomPhone:60},pc={top:76,bottom:76,topPhone:76,bottomPhone:76},uc={top:76,bottom:76,topPhone:76,bottomPhone:76},bl={top:80,bottom:40,topPhone:60,bottomPhone:32},wl={top:76,bottom:76,topPhone:76,bottomPhone:76},mc={top:72,bottom:72,topPhone:72,bottomPhone:72},xc={top:40,bottom:64,topPhone:24,bottomPhone:36},hc={top:120,bottom:120,topPhone:80,bottomPhone:80,topTablet:80,bottomTablet:80},Ic={top:48,bottom:48,topPhone:48,bottomPhone:48},Cl=e=>{let o=Ie(e.bandPadding)??gW;return{top:o,bottom:o,topPhone:o,bottomPhone:o}},nO=(e,o,t)=>({desktop:e,tablet:o,mobile:t}),uh=e=>cn(e.headPlacement)==="own-box",Be=(e,o)=>({top:nO(e.top,o?.top??e.topTablet??e.top,e.topPhone),bottom:nO(e.bottom,o?.bottom??e.bottomTablet??e.bottom,e.bottomPhone)}),sO=e=>({top:e.topPhone,bottom:e.bottomPhone}),Sl=e=>o=>uh(o)?{top:0,bottom:e.bottom}:e,bW=(e,o)=>{let t=mW(e[o]);return t.hidden?!1:!!t.text||e.editor?.isEditing===!0},gc={Banner:{frame:()=>Be(tc)},Cards:{frame:Sl(Be(rc))},Chart:{frame:()=>Be(wl)},ContactLocations:{frame:()=>Be(Mn,sO(Mn))},Countdown:{frame:()=>Be(lc)},DocBody:{frame:()=>Be(ic)},DocMasthead:{frame:()=>Be(dc)},DocMetaCards:{frame:()=>Be(fc)},FAQ:{frame:e=>{let o=uh(e)||!["num","title","linkText"].some(r=>bW(e,r)),t=Be(ac);return o?{top:0,bottom:t.bottom}:t},edge:!0},FeaturedCover:{frame:()=>Be(cc)},Grid:{frame:()=>Be(IW)},Integrations:{frame:()=>Be(pc)},KeyFeatures:{frame:()=>Be(uc)},Logos:{frame:e=>uh(e)?0:Be(Cl(e))},LongRead:{frame:Sl(Be(nc))},Masthead:{frame:()=>Be(bl,sO(bl))},Mockup:{frame:()=>Be(wl)},OrderSummary:{frame:()=>Be(yW)},PaymentBadges:{frame:()=>Be(sc)},Prose:{frame:Sl(Be(mc))},SectionHeader:{frame:e=>{let o=Be(xc);return tO(e.headStyle)==="standard"?o:{top:o.top,bottom:0}},edge:!0},Series:{frame:Sl(Be(hc))},Stats:{frame:()=>Be(Ic)},Testimonials:{frame:Sl(Be(SW))},Ticker:{frame:()=>Be(ma),edge:!0}};function Ble(e,o,t){let r=z(gc,e)??t;return r?aa({values:Qs(o,po,!0),frame:r.frame(o),drawsFrame:!0,edge:r.edge},!0).root:null}var lO=(e,o)=>typeof e=="object"&&"top"in e?e[o]:e;function wW(e,o){let t={...e};for(let r of xW)delete t[hW(o,r)];return t}function Lle(e,o,t,r){let a=z(gc,e)??t;if(!a)return{first:null,last:null};let n=a.frame(o),s=Qs(o,po,!0),l=(i,d)=>aa({values:wW(s,i),frame:d,drawsFrame:!0,edge:a.edge},!0).root;return{first:l("bottom",{top:lO(n,"top"),bottom:r.firstBottom}),last:l("top",{top:r.lastTop,bottom:lO(n,"bottom")})}}var CW=/^(?:[^\s]*:)?p[ytb]-/;function iO(e,o,t){if(!o)return t?{className:e,style:t}:{className:e};let r=e.split(/\s+/).filter(n=>n&&!CW.test(n)),a={...t,...o.style};return{className:[...r,o.className].filter(Boolean).join(" "),...Object.keys(a).length?{style:a}:{},...o.attrs}}import{isNodeList as kW}from"efficient-easel/data";var mh=new Set(["FAQ"]);function Yo(e,o){if(!mh.has(e))return!1;let t=o.template;return typeof t=="function"?(t.blockCount??0)>0:kW(t)}var cO={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120}},pO=new Set(Object.keys(cO));function hh(e,o){return o?.innerPadding??z(cO,e)}var Hn=e=>hh(e)??{};var yc=new Set(["Flex","Text","Heading","ImageBlock","ButtonBlock"]),vW=new Set(["Divider"]),PW=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),dO=new Set(["ProductGrid"]);function Ih(e,o,t=!1,r){let a=e.render;e.render=n=>{if(o?.(n))return a(n);let s={...Qs(n,po,t),sideSpace:Z0(n.sideSpace)},l=r?aa({values:s,frame:r(n)},!0).outer:bk(s),i=a(n);if(!l)return i;let d=u=>xh(Jf,{className:u?`${l.className} ${u}`:l.className,children:h=>xh(de,{className:h,style:l.style,children:i})}),f=wr(n,{atSectionLine:!0}),x=wr(n);return f===x?d(f):xh(of,{line:"by-box",draw:u=>d(u?x:f)})}}var uO={name:"sectionPadding",applies:(e,o,t)=>o.isSection(e)&&!PW.has(e)&&!!t&&typeof t.render=="function",panel(e,o,t){let r=hh(o,e);if(r){e.fields={...e.fields,...t.sidesPaddingFields({keys:br,unitKey:Xd,fallback:r,tablet:!0,siteSide:!0})};return}if(dO.has(o))return;let a=[br.top,br.bottom].filter(s=>e.fields!=null&&s in e.fields);if(a.length)throw new Error(`section-padding: ${o} declares its own ${a.join(" / ")} row; declare \`innerPadding: { top, bottom }\` in its meta and the one Padding row draws on its band`);let n=fO(o,e);if(n){xO(e,o,t,n);return}e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})}},draw(e,o){if(!hh(o,e)){if(dO.has(o)){Ih(e);return}yc.has(o)||vW.has(o)||Ih(e,o==="Flex"?t=>Kk(t.bgImage):mh.has(o)?t=>Yo(o,t):void 0,!0,fO(o,e))}}},TW=["Heading","Text","ImageBlock","ButtonBlock"],OW=["LogoBlock"],mO={Text:e=>Tr(e,"text").textStyle?.startsWith("heading-")?el.heading:el.text,Heading:()=>el.heading,ButtonBlock:()=>el.text,Breadcrumb:()=>mx(Il),SpecStrip:()=>mx(xa),...Object.fromEntries(Object.entries(gc).map(([e,o])=>[e,o.frame]))};function fO(e,o){return z(mO,e)??o?.ownPad?.frame}var EW={ButtonBlock:"Outer padding"};function _W(e,o){let t=e[Ht],r=Array.isArray(t)?t.filter(i=>typeof i=="string"):[],a=wn().filter(i=>o?.[i]);if(!a.length)return e;let n=[...r.filter(i=>!a.includes(i)),...a.filter(i=>typeof e[i]=="number")];if(n.length===r.length&&n.every((i,d)=>i===r[d]))return e;let{[Ht]:s,...l}=e;return n.length?{...l,[Ht]:n}:l}function AW(e,o,t){if(o<=0)return null;let r=Array.isArray(e[Ht])?e[Ht]:[];return(t?wn().filter(a=>a.startsWith(po[t])):wn()).some(a=>typeof e[a]=="number"&&!r.includes(a))?c("plus {n} px (older setting)",{n:o}):null}function xO(e,o,t,r){e.fields={...e.fields,...t.ownPaddingFields?.(r,AW,z(EW,o))??t.sidesPaddingFields({tablet:!0,siteSide:!0})};let a=e.resolveData;e.resolveData=(n,s)=>{let l=n.props??{},i=s?.trigger==="replace"?_W(l,s.changed):l,d=i===l?n:{...n,props:i};return a?a(d,s):d}}var hO={name:"blockPadding",applies:(e,o,t)=>(TW.includes(e)||OW.includes(e))&&!!t&&typeof t.render=="function",panel(e,o,t){let r=z(mO,o);if(!r){e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})};return}xO(e,o,t,r)},draw(e,o){yc.has(o)||Ih(e,void 0,!0)}};import{createContext as gh,useContext as Sc}from"react";var IO=gh(null);function eie(){return Sc(IO)===!0}function oie(){return Sc(IO)!==null}var FW=gh(!1);function tie(){return Sc(FW)}function rie(e,o,t){let r=e.boxes;if(!r)return t;let a=r.indexOf(o);return a>=0?a:(r.push(o),r.length-1)}var bc=gh(null);function aie(){return Sc(bc)}import{jsx as ha}from"react/jsx-runtime";import{Component as WW,createContext as $W,lazy as Sie,Suspense as bie,useContext as zW,useSyncExternalStore as UW}from"react";function BW(e,o){let t=e.trim();if(!wc(t))return!1;if(!o)return!0;let r;try{r=new URL(t,"https://x.invalid").host}catch{return!1}let a=n=>n.toLowerCase().replace(/^www\./,"");return a(r)!==a(o)}function lie(e){return e.startsWith("/")||wc(e)}function wc(e){return/^(?:https?:)?\/\//i.test(e.trim())}var kl=Object.freeze({target:"_blank",rel:"noopener noreferrer"});function gO(e,o){return BW(e,o)?{...kl}:{}}function iie(e){return typeof e=="string"?e.trim():""}var die="data-sf-box-link",yO="absolute inset-0 -z-[1] outline-none focus-visible:z-[2] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent",yh="relative isolate pointer-events-none [&_a]:pointer-events-auto [&_button]:pointer-events-auto [&_input]:pointer-events-auto [&_select]:pointer-events-auto [&_textarea]:pointer-events-auto [&_label]:pointer-events-auto [&_summary]:pointer-events-auto [&_iframe]:pointer-events-auto [&_video]:pointer-events-auto [&_audio]:pointer-events-auto [&_[role=button]]:pointer-events-auto [&_[tabindex]:not([tabindex='-1'])]:pointer-events-auto",LW="data-sf-box-jump";function RW(e){return`sf-box-jump-${e}`}function fie(e,o){return e===!0?da(o):""}function DW({box:e,lit:o,first:t}){let r=s=>s.join(`,
304
+ `;function Vf({children:e,document:o}){let{theme:t,themeMode:r,themeSwitchShown:a}=ko(),n=er(t);return F0(()=>{if(o)return O0(o,{mode:r,switchShown:a})},[o,r,a]),F0(()=>{if(o)return E0(o,n)},[o,n]),Z6(()=>{if(o)return _0(o)},[o]),X6(Y6,{children:[A0(ZT,{}),A0("style",{children:J6}),e]})}import{jsx as dL}from"react/jsx-runtime";import{memo as PK}from"react";import{Render as TK}from"efficient-easel/render";import{jsx as Nn}from"react/jsx-runtime";import{createContext as Q6,useContext as eW,useMemo as oW}from"react";var sh=Q6(null);function tW({children:e}){return Nn(sh.Provider,{value:"first",children:e})}function Xf({children:e}){return Nn(sh.Provider,{value:"below",children:e})}function xl(){return eW(sh)}function lh(){return xl()==="below"?{loading:"lazy"}:{}}function Zf(e){let o=lh();return Nn("img",{...e,...o})}var B0="laterSlideIds",rW=new Set(["Breadcrumb","CategoryBar","Divider","Spacer","Ticker"]);function L0(e){return bf(e?.filter(o=>!o?.type||!rW.has(o.type)))}function Yf(e,o=[]){if(Array.isArray(e))for(let t of e)Yf(t,o);else if(e&&typeof e=="object"){let{slides:t}=e;if(Array.isArray(t))for(let r of t.slice(1))typeof r?.props?.id=="string"&&o.push(r.props.id);for(let r of Object.values(e))Yf(r,o)}return o}function R0(e,o){let t=o?.type,r=o?.props?.id;return oW(()=>{let a=t?e.components[t]:void 0;if(!t||!a)return e;let n=a.render,s=l=>l.id===r?Nn(tW,{children:Nn(n,{...l})}):Nn(n,{...l});return{...e,components:{...e.components,[t]:{...a,render:s}}}},[e,t,r])}function D0(e){return e.props?qe(e,o=>{let t=ze(o,D0),r=e.type===jC&&t.every(a=>a.type===Hd)?zC(t):t;return r.length!==o.length||r.some((a,n)=>a!==o[n])?r:o}):e}function N0(e){return ld(e,o=>ze(o,D0))}var aW="Flex",M0="ListSearch",H0=["FAQ"],nW="listKey";function W0(e,o){let t={search:e.type===M0,list:H0.includes(String(e.type))};return qe(e,r=>{for(let a of r){let n=W0(a,o);t.search||=n.search,t.list||=n.list}return r}),e.type===aW&&t.search&&t.list&&String(e.props?.id??"")?(o.add(e),{search:!1,list:!1}):t}function $0(e,o,t){let r=o.has(e)?String(e.props?.id):t,a=qe(e,n=>ze(n,s=>$0(s,o,r)));return r&&(e.type===M0||H0.includes(String(e.type)))?{...a,props:{...a.props,[nW]:r}}:a}function z0(e){return an(e,o=>{let t=new Set;for(let r of o)W0(r,t);return t.size?ze(o,r=>$0(r,t,"")):o})}import{isNode as u$,isNodeList as HE}from"efficient-easel/data";import{jsx as Ee,Fragment as o$,jsxs as dr}from"react/jsx-runtime";import{jsx as xh}from"react/jsx-runtime";import{Fragment as cW,jsx as pW}from"react/jsx-runtime";import{jsx as ih}from"react/jsx-runtime";import{createContext as iW,Fragment as dW,useContext as fW}from"react";import{jsx as U0,jsxs as sW}from"react/jsx-runtime";import{lazy as lW}from"react";var j0=lW(()=>import("./section-css-style-IGADRKZW.js"));function G0({css:e,id:o,attr:t}){return U0(j0,{css:e,id:o,attr:t})}var K0={name:"sectionCustomCss",applies:(e,o,t)=>o.isSection(e)&&!!t&&typeof t.render=="function",panel(e,o,t){e.fields={...e.fields,...t.customCssFields()}},draw(e){e.defaultProps={...e.defaultProps,[Ld]:""};let o=e.render;e.render=t=>{let r=pC(t),a=typeof t.id=="string"?t.id:"";return!r||!a?o(t):sW(vr,{className:"sf-section-css",attrs:{[cC]:a},children:[U0(j0,{css:r,id:a}),o(t)]})}}};var q0=iW(null);function V0({rootProps:e,children:o}){let t=e&&typeof e=="object"?e:null,r=vk(t),a=ih(dW,{children:o},"page");return ih(q0.Provider,{value:t,children:r?[ih(G0,{css:r,id:kk,attr:Jd},"css"),a]:a})}function Y0(){return fW(q0)}function vt(){return Rd(Y0())===yC}function Jf({className:e,children:o}){let t=vt();return pW(cW,{children:o(ot(e,t))})}import{SITE_SIDE as uW}from"efficient-easel/screen/lib/content/length-units";var X0="sideSpace",hl=uW,dh="none",ple=[{value:"box",label:"Box"},{value:hl,label:"Site"},{value:dh,label:"None"}],ule="box",mle="Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. None: from 800 px up the Box runs to the screen's edges; on small screens it keeps the site's Side space, up to 20 px.";function Z0(e){return e===hl||e===dh?e:"box"}function xle(e){return e===hl||e===dh?e:void 0}import{parseOption as ph}from"efficient-shell/format";var Qf="standard",oO=[{label:"Standard",value:"standard"},{label:"Editorial",value:"editorial"},{label:"Simple",value:"simple"},{label:"Statement",value:"statement"},{label:"Natural",value:"natural"},{label:"Essay",value:"essay"}],ch=["numStyle","logoSrc","logoAlt","linkText","linkHref","_gLogo"],fh=[...ch,"description"],J0={standard:["eyebrowLook"],editorial:[...ch,"eyebrowLook"],simple:fh,statement:fh,natural:ch,essay:fh},Q0=["gap-5","gap-3"],eO=["text-[length:var(--size-body,16px)]","text-[15px]"];function yle(e){return ph(Q0,Q0[0],e)}function Sle(e){return ph(eO,eO[0],e)}function tO(e){return ph(oO,Qf,e)}function ble(e){let o=oO.map(r=>r.value),t=[...new Set(Object.values(J0).flat())];return et(e,t.map(r=>[[r],yd("headStyle",o,Qf,o.filter(a=>!J0[a].includes(r)))]))}import{readHidable as mW,VIEW_TIERS as xW,viewKeyAt as hW}from"efficient-easel/draw";var ua={direction:"row",share:"content",align:"center"},ma={top:14,bottom:14,topPhone:12,bottomPhone:12},ec={wrap:"nowrap",loop:"scroll",sectionAccent:dC,gap:60,gapPhone:32,separator:"dot",sectionBorder:{top:1,bottom:1}},rO={gap:120,gapPhone:64},oc={...Do,sizeToken:{step:"label",px:14,pxPhone:12},letterSpacing:.25,lineHeight:1.5},aO={textStyle:"heading-3",letterSpacing:.005,case:"upper",lineHeight:1},Il={top:24,bottom:24,topPhone:16,bottomPhone:16},xa={top:16,bottom:16,topPhone:12,bottomPhone:12},gl={justify:"between",wrap:"wrap",gap:32,separator:"none"},yl={...Do,letterSpacing:.1,lineHeight:1.5};var tc={top:24,bottom:24,topPhone:24,bottomPhone:24},rc={top:72,bottom:72,topPhone:72,bottomPhone:72},Mn={top:100,bottom:100,topPhone:60,bottomPhone:60},ac={top:120,bottom:120,topPhone:70,bottomPhone:70},IW={top:24,bottom:24,topPhone:24,bottomPhone:24},gW=40,nc={top:120,bottom:120,topTablet:80,bottomTablet:80,topPhone:80,bottomPhone:80},yW={top:24,bottom:24,topPhone:24,bottomPhone:24},sc={top:24,bottom:24,topPhone:24,bottomPhone:24},SW={top:84,bottom:84,topPhone:84,bottomPhone:84},lc={top:48,bottom:48,topPhone:48,bottomPhone:48},ic={top:80,bottom:80,topPhone:60,bottomPhone:60},dc={top:100,bottom:60,topPhone:60,bottomPhone:40},fc={top:60,bottom:60,topPhone:40,bottomPhone:40},cc={top:80,bottom:80,topTablet:60,bottomTablet:60,topPhone:60,bottomPhone:60},pc={top:76,bottom:76,topPhone:76,bottomPhone:76},uc={top:76,bottom:76,topPhone:76,bottomPhone:76},bl={top:80,bottom:40,topPhone:60,bottomPhone:32},wl={top:76,bottom:76,topPhone:76,bottomPhone:76},mc={top:72,bottom:72,topPhone:72,bottomPhone:72},xc={top:40,bottom:64,topPhone:24,bottomPhone:36},hc={top:120,bottom:120,topPhone:80,bottomPhone:80,topTablet:80,bottomTablet:80},Ic={top:48,bottom:48,topPhone:48,bottomPhone:48},Cl=e=>{let o=Ie(e.bandPadding)??gW;return{top:o,bottom:o,topPhone:o,bottomPhone:o}},nO=(e,o,t)=>({desktop:e,tablet:o,mobile:t}),uh=e=>cn(e.headPlacement)==="own-box",Be=(e,o)=>({top:nO(e.top,o?.top??e.topTablet??e.top,e.topPhone),bottom:nO(e.bottom,o?.bottom??e.bottomTablet??e.bottom,e.bottomPhone)}),sO=e=>({top:e.topPhone,bottom:e.bottomPhone}),Sl=e=>o=>uh(o)?{top:0,bottom:e.bottom}:e,bW=(e,o)=>{let t=mW(e[o]);return t.hidden?!1:!!t.text||e.editor?.isEditing===!0},gc={Banner:{frame:()=>Be(tc)},Cards:{frame:Sl(Be(rc))},Chart:{frame:()=>Be(wl)},ContactLocations:{frame:()=>Be(Mn,sO(Mn))},Countdown:{frame:()=>Be(lc)},DocBody:{frame:()=>Be(ic)},DocMasthead:{frame:()=>Be(dc)},DocMetaCards:{frame:()=>Be(fc)},FAQ:{frame:e=>{let o=uh(e)||!["num","title","linkText"].some(r=>bW(e,r)),t=Be(ac);return o?{top:0,bottom:t.bottom}:t},edge:!0},FeaturedCover:{frame:()=>Be(cc)},Grid:{frame:()=>Be(IW)},Integrations:{frame:()=>Be(pc)},KeyFeatures:{frame:()=>Be(uc)},Logos:{frame:e=>uh(e)?0:Be(Cl(e))},LongRead:{frame:Sl(Be(nc))},Masthead:{frame:()=>Be(bl,sO(bl))},Mockup:{frame:()=>Be(wl)},OrderSummary:{frame:()=>Be(yW)},PaymentBadges:{frame:()=>Be(sc)},Prose:{frame:Sl(Be(mc))},SectionHeader:{frame:e=>{let o=Be(xc);return tO(e.headStyle)==="standard"?o:{top:o.top,bottom:0}},edge:!0},Series:{frame:Sl(Be(hc))},Stats:{frame:()=>Be(Ic)},Testimonials:{frame:Sl(Be(SW))},Ticker:{frame:()=>Be(ma),edge:!0}};function Ble(e,o,t){let r=z(gc,e)??t;return r?aa({values:Qs(o,po,!0),frame:r.frame(o),drawsFrame:!0,edge:r.edge},!0).root:null}var lO=(e,o)=>typeof e=="object"&&"top"in e?e[o]:e;function wW(e,o){let t={...e};for(let r of xW)delete t[hW(o,r)];return t}function Lle(e,o,t,r){let a=z(gc,e)??t;if(!a)return{first:null,last:null};let n=a.frame(o),s=Qs(o,po,!0),l=(i,d)=>aa({values:wW(s,i),frame:d,drawsFrame:!0,edge:a.edge},!0).root;return{first:l("bottom",{top:lO(n,"top"),bottom:r.firstBottom}),last:l("top",{top:r.lastTop,bottom:lO(n,"bottom")})}}var CW=/^(?:[^\s]*:)?p[ytb]-/;function iO(e,o,t){if(!o)return t?{className:e,style:t}:{className:e};let r=e.split(/\s+/).filter(n=>n&&!CW.test(n)),a={...t,...o.style};return{className:[...r,o.className].filter(Boolean).join(" "),...Object.keys(a).length?{style:a}:{},...o.attrs}}import{isNodeList as kW}from"efficient-easel/data";var mh=new Set(["FAQ"]);function Yo(e,o){if(!mh.has(e))return!1;let t=o.template;return typeof t=="function"?(t.blockCount??0)>0:kW(t)}var cO={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120}},pO=new Set(Object.keys(cO));function hh(e,o){return o?.innerPadding??z(cO,e)}var Hn=e=>hh(e)??{};var yc=new Set(["Flex","Text","Heading","ImageBlock","ButtonBlock"]),vW=new Set(["Divider"]),PW=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),dO=new Set(["ProductGrid"]);function Ih(e,o,t=!1,r){let a=e.render;e.render=n=>{if(o?.(n))return a(n);let s={...Qs(n,po,t),sideSpace:Z0(n.sideSpace)},l=r?aa({values:s,frame:r(n)},!0).outer:bk(s),i=a(n);if(!l)return i;let d=u=>xh(Jf,{className:u?`${l.className} ${u}`:l.className,children:h=>xh(de,{className:h,style:l.style,children:i})}),f=wr(n,{atSectionLine:!0}),x=wr(n);return f===x?d(f):xh(of,{line:"by-box",draw:u=>d(u?x:f)})}}var uO={name:"sectionPadding",applies:(e,o,t)=>o.isSection(e)&&!PW.has(e)&&!!t&&typeof t.render=="function",panel(e,o,t){let r=hh(o,e);if(r){e.fields={...e.fields,...t.sidesPaddingFields({keys:br,unitKey:Xd,fallback:r,tablet:!0,siteSide:!0})};return}if(dO.has(o))return;let a=[br.top,br.bottom].filter(s=>e.fields!=null&&s in e.fields);if(a.length)throw new Error(`section-padding: ${o} declares its own ${a.join(" / ")} row; declare \`innerPadding: { top, bottom }\` in its meta and the one Padding row draws on its band`);let n=fO(o,e);if(n){xO(e,o,t,n);return}e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})}},draw(e,o){if(!hh(o,e)){if(dO.has(o)){Ih(e);return}yc.has(o)||vW.has(o)||Ih(e,o==="Flex"?t=>Kk(t.bgImage):mh.has(o)?t=>Yo(o,t):void 0,!0,fO(o,e))}}},TW=["Heading","Text","ImageBlock","ButtonBlock"],OW=["LogoBlock"],mO={Text:e=>Tr(e,"text").textStyle?.startsWith("heading-")?el.heading:el.text,Heading:()=>el.heading,ButtonBlock:()=>el.text,Breadcrumb:()=>mx(Il),SpecStrip:()=>mx(xa),...Object.fromEntries(Object.entries(gc).map(([e,o])=>[e,o.frame]))};function fO(e,o){return z(mO,e)??o?.ownPad?.frame}var EW={ButtonBlock:"Outer padding"};function _W(e,o){let t=e[Ht],r=Array.isArray(t)?t.filter(i=>typeof i=="string"):[],a=wn().filter(i=>o?.[i]);if(!a.length)return e;let n=[...r.filter(i=>!a.includes(i)),...a.filter(i=>typeof e[i]=="number")];if(n.length===r.length&&n.every((i,d)=>i===r[d]))return e;let{[Ht]:s,...l}=e;return n.length?{...l,[Ht]:n}:l}function AW(e,o,t){if(o<=0)return null;let r=Array.isArray(e[Ht])?e[Ht]:[];return(t?wn().filter(a=>a.startsWith(po[t])):wn()).some(a=>typeof e[a]=="number"&&!r.includes(a))?c("plus {n} px (older setting)",{n:o}):null}function xO(e,o,t,r){e.fields={...e.fields,...t.ownPaddingFields?.(r,AW,z(EW,o))??t.sidesPaddingFields({tablet:!0,siteSide:!0})};let a=e.resolveData;e.resolveData=(n,s)=>{let l=n.props??{},i=s?.trigger==="replace"?_W(l,s.changed):l,d=i===l?n:{...n,props:i};return a?a(d,s):d}}var hO={name:"blockPadding",applies:(e,o,t)=>(TW.includes(e)||OW.includes(e))&&!!t&&typeof t.render=="function",panel(e,o,t){let r=z(mO,o);if(!r){e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})};return}xO(e,o,t,r)},draw(e,o){yc.has(o)||Ih(e,void 0,!0)}};import{createContext as gh,useContext as Sc}from"react";var IO=gh(null);function eie(){return Sc(IO)===!0}function oie(){return Sc(IO)!==null}var FW=gh(!1);function tie(){return Sc(FW)}function rie(e,o,t){let r=e.boxes;if(!r)return t;let a=r.indexOf(o);return a>=0?a:(r.push(o),r.length-1)}var bc=gh(null);function aie(){return Sc(bc)}import{jsx as ha}from"react/jsx-runtime";import{Component as WW,createContext as $W,lazy as Sie,Suspense as bie,useContext as zW,useSyncExternalStore as UW}from"react";function BW(e,o){let t=e.trim();if(!wc(t))return!1;if(!o)return!0;let r;try{r=new URL(t,"https://x.invalid").host}catch{return!1}let a=n=>n.toLowerCase().replace(/^www\./,"");return a(r)!==a(o)}function lie(e){return e.startsWith("/")||wc(e)}function wc(e){return/^(?:https?:)?\/\//i.test(e.trim())}var kl=Object.freeze({target:"_blank",rel:"noopener noreferrer"});function gO(e,o){return BW(e,o)?{...kl}:{}}function iie(e){return typeof e=="string"?e.trim():""}var die="data-sf-box-link",yO="absolute inset-0 -z-[1] outline-none focus-visible:z-[2] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent",yh="relative isolate pointer-events-none [&_a]:pointer-events-auto [&_button]:pointer-events-auto [&_input]:pointer-events-auto [&_select]:pointer-events-auto [&_textarea]:pointer-events-auto [&_label]:pointer-events-auto [&_summary]:pointer-events-auto [&_iframe]:pointer-events-auto [&_video]:pointer-events-auto [&_audio]:pointer-events-auto [&_[role=button]]:pointer-events-auto [&_[tabindex]:not([tabindex='-1'])]:pointer-events-auto",LW="data-sf-box-jump";function RW(e){return`sf-box-jump-${e}`}function fie(e,o){return e===!0?da(o):""}function DW({box:e,lit:o,first:t}){let r=s=>s.join(`,
305
305
  `),a=t(e),n=o.flatMap(t);return`
306
306
  ${e} {
307
307
  outline: 2px solid transparent;
@@ -317,7 +317,7 @@ import{$ as af,D as Ok,E as Ek,F as Qd,G as _k,H as Nk,I as Cr,J as Mk,K as Hk,L
317
317
  `),e.head.appendChild(o)}var Fc=Ah(null),jO=Ah(null),GO=Ah(null);function KO({needles:e,styles:o,motions:t=Tc,type:r,atEdge:a=!1,sizeCaps:n,children:s}){let l=b3(),i=kr(a?"edge":"by-box"),d=JSON.stringify([l,e,o,t,r,n]),f=Ct(),x=w3(()=>{let h=Object.keys(t).filter(I=>$O(t[I]));return Uv(e,o,l,I=>sr(r,I),I=>nl(r,I),I=>h.includes(I)?_l(t[I]):null,h,I=>la(n,I),f)},[d,f]);if(!x)return Al(zO,{children:s});let u=Gv(x,{inBox:i});return y3(zO,{children:[u&&Al("style",{href:`${v3}${l}-${jk(u)}`,precedence:VO,dangerouslySetInnerHTML:{__html:Uk(u)}}),Al(Fc.Provider,{value:x,children:s})]})}var _h=new WeakMap;function UO(e,o){let t=Un(o.filter(a=>a.arm)),r=o.some(a=>a.entering)?void 0:Un(o.filter(a=>a.scroll));for(let a of o)a!==t&&a.undo&&(a.undo(),a.undo=void 0),a!==r&&a.undoScroll&&(a.undoScroll(),a.undoScroll=void 0);t?.arm&&!t.undo&&(t.undo=t.arm()),r?.scroll&&!r.undoScroll&&(r.undoScroll=r.scroll()),o.some(a=>a.lift)?(Ac(e.ownerDocument),e.setAttribute(Sa,"")):e.removeAttribute(Sa)}function qO(e){let o=C3(null),t=e?.motion?.entrance??null,r=e?.motion?.scroll??null,a=e?.motion?.hover==="lift",n=Tl(o,t!==null||r!==null),s=t?t[n]:null,l=r&&r[n].effect!=="none"?r[n]:null,i=JSON.stringify([s,l]);return S3(()=>{let d=o.current,f=_c(d?.parentElement??null);if(!t&&!r&&!a||!d||!f)return;let x=s?()=>{let I=Oc(f,s),S=k3(f);return()=>{S?.(),I()}}:null,u=_h.get(f)??[];_h.set(f,u);let h={element:d,arm:x,entering:s!==null&&s.kind!=="none",scroll:l?()=>Ec(f,l):null,lift:a};return u.push(h),UO(f,u),()=>{let I=u.indexOf(h);I<0||(u.splice(I,1),h.undo?.(),h.undo=void 0,h.undoScroll?.(),h.undoScroll=void 0,UO(f,u),u.length||_h.delete(f))}},[i,a]),o}var VO="sf-part-styles",v3=`${VO}-`;function YO(e){let o=Fl(Fc),t=Fl(jO),r=Kv(o,e);return r&&r.stamp!==t?r:null}function kde(e){return wx(Fl(Fc),e)}function XO({stamp:e,children:o}){return Al(jO.Provider,{value:e,children:o})}function vde({children:e}){let o=Fl(Fc);return Al(GO.Provider,{value:o,children:e})}function Pde(e){return wx(Fl(GO),e)}function Bl({value:e,children:o}){let t=YO(e),r=qO(t);return t?Fh(XO,{stamp:t.stamp,children:Fh("span",{ref:r,[bv]:t.stamp,...t.textStyle?{[na]:t.textStyle}:{},children:o})}):Fh(P3,{children:o})}import{jsx as Bh,Fragment as T3}from"react/jsx-runtime";function ZO({className:e}){return Bh("span",{className:e||void 0,children:"\xAE"})}function st(e){if(!e.includes("\xAE"))return e;let o=e.split("\xAE"),t=[];return o.forEach((r,a)=>{r&&t.push(r),a<o.length-1&&t.push(Bh(ZO,{},`r${a}`))}),Bh(T3,{children:t})}var Bde=ZO;function Ve(e,o=!1,t){let r=L3(o),a=pd(e);if(a.length===1){let[s]=a,l=Tb(s),i=l?F3(l,s.children):s.children;return ba(Bl,{value:e,children:[t,Bc(i,r)]})}let n=[];return a.forEach((s,l)=>{if(s.bullet){n.push(Me("span",{"data-sf-bullet":"",className:O3,children:Bc(s.children,r)},l));return}if(s.number!=null){n.push(ba("span",{"data-sf-number":s.number,className:E3,children:[ba("span",{className:_3,children:[s.number,"."]}),Bc(s.children,r)]},l));return}l>0&&!A3(a[l-1])&&n.push(Me("br",{},`br${l}`)),n.push(Me(Rh,{children:Bc(s.children,r)},l))}),ba(Bl,{value:e,children:[t,n]})}var O3="relative block pl-6 before:absolute before:left-1.5 before:font-bold before:text-accent before:content-['\xB7']",E3="relative block pl-[2em]",_3="absolute left-0 w-[1.6em] text-right tabular-nums";function A3(e){return e.bullet||e.number!=null}var JO="text-accent underline underline-offset-[0.18em]";function F3(e,o){let[t,...r]=o;return t?.kind==="text"?[{kind:"text",text:`${e}${t.text}`},...r]:[{kind:"text",text:e},...o]}function B3(e){return Gk(e)||void 0}function Bc(e,o){let t=[],r=!1;return e.forEach((a,n)=>{if(a.kind==="text"){t.push(Me("span",{children:st(a.text)},n)),r=!0;return}r||t.push(Me("span",{},`e${n}`)),t.push(eE(a,n,o)),r=!1}),r||t.push(Me("span",{},"end")),t}function Lh(e,o){return e.length===1&&e[0].kind==="text"?st(e[0].text):e.map((t,r)=>t.kind==="text"?Me(Rh,{children:st(t.text)},r):eE(t,r,o))}function L3(e){return e?"font-normal italic text-accent":"not-italic text-accent"}function jde(e){return QO(e)}function QO(e,o){let t=e.split(`
318
318
  `);return ba(Bl,{value:e,children:[o,t.map((r,a)=>ba(Rh,{children:[a>0?Me("br",{}):null,Me("span",{children:r})]},a))]})}function eE(e,o,t){if(e.kind==="link")return wc(e.href)?Me(Ia,{newTab:"auto",href:e.href,className:JO,children:Lh(e.children,t)},o):Me("a",{href:e.href,className:JO,children:Lh(e.children,t)},o);let r=Lh(e.children,t),a=Cb[e.kind];if(a)return Me("span",{[kb]:a,children:r},o);switch(e.kind){case"underline":return Me("u",{children:r},o);case"sup":return Me("sup",{children:r},o);case"sub":return Me("sub",{children:r},o);case"color":{let n=B3(e.color);return n?Me("span",{style:{color:n},children:r},o):Me("span",{children:r},o)}case"accent":case"highlight":return Me("em",{className:t,children:r},o);case"bold":return Me("strong",{className:"font-semibold",children:r},o);case"italic":return Me("em",{className:"italic",children:r},o);case"strike":return Me("s",{className:"line-through",children:r},o);default:return Me("span",{children:r},o)}}function oE(e,o=!0,t=!1){let r=e.split(`
319
319
  `);return Me(Bl,{value:e,children:r.map((a,n)=>ba("span",{children:[t?QO(a):Ve(a,o),n<r.length-1?Me("br",{}):null]},n))})}function tE(e){return e.split(/\n\s*\n/).map(o=>o.trim()).filter(Boolean)}import{jsx as Dh,jsxs as D3}from"react/jsx-runtime";import{jsx as R3}from"react/jsx-runtime";function rE(){return R3("span",{className:"block h-px w-[30px] bg-current"})}var Nh={labelUpTo800:"max-view-wide:text-[length:var(--size-label,12px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,14px)]"};function N3(e,o){return`font-mono text-[length:var(--size-label,${e}px)] uppercase tracking-[0.3em] text-accent`}var M3=`inline-block w-fit bg-accent px-3.5 py-1.5 font-mono ${Nh.labelSmall} font-semibold uppercase tracking-[0.16em] text-bg`,H3=`flex items-center gap-3.5 font-mono ${Nh.labelLarge} uppercase tracking-[0.3em] opacity-80 ${Nh.labelUpTo800} max-view-wide:tracking-[0.25em]`;function jn({text:e,look:o="plain",size:t=13,scaled:r=!0,className:a="",classNameAfter:n="",takesViewHide:s=!1}){let l=at(),i=s?l:Cr;if(o==="line")return i.scope(D3("div",{className:Co([a,H3,n].filter(Boolean).join(" "),i.className),...i.attrs,children:[Dh(rE,{}),Dh("span",{children:Ve(e)})]}));let d=o==="filled"?M3:N3(t,r);return i.scope(Dh("span",{className:Co([a,d,n].filter(Boolean).join(" "),i.className),...i.attrs,children:Ve(e)}))}var Oe={headingMediumUpTo800Small:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMediumUpTo800Large:"max-view-wide:text-[length:min(var(--size-headingMedium,36px),var(--sf-heading-max,9999px))]",headingSmallUpTo800:"max-view-wide:text-[length:var(--size-headingSmall,28px)]",headingMedium2:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",headingMedium3:"text-[length:min(var(--size-headingMedium,56px),var(--sf-heading-max,9999px))]",headingMedium1:"text-[length:var(--sf-heading-max,var(--size-headingMedium,38px))]",bodySmall:"text-[length:var(--size-body,14px)]",bodyLarge:"text-[length:var(--size-body,16px)]",label:"text-[length:var(--size-label,14px)]",shelfLabel:"text-[length:var(--size-label,13px)]",shelfLabelSmall:"text-[length:var(--size-label,12px)]",shelfBody:"text-[length:var(--size-body,13px)]",shelfHeadingUpTo800Xs:"max-view-wide:text-[length:var(--size-headingMedium,28px)]",shelfHeadingUpTo800Small:"max-view-wide:text-[length:var(--size-headingMedium,32px)]",shelfHeadingUpTo800Large:"max-view-wide:text-[length:var(--size-headingMedium,36px)]",shelfHeadingUpTo800Xl:"max-view-wide:text-[length:var(--size-headingMedium,40px)]",shelfHeading1:"text-[length:var(--size-headingMedium,40px)]",shelfHeading2:"text-[length:var(--size-headingMedium,48px)]",shelfHeading3:"text-[length:var(--size-headingMedium,56px)]",shelfHeading4:"text-[length:var(--size-headingMedium,64px)]"},aE=[{value:"para",label:"Paragraph size \u2014 13px",cls:`font-mono font-normal uppercase tracking-[0.22em] ${Oe.shelfLabel}`},{value:"sm",label:"Small \u2014 40px",cls:`font-heading2 font-medium tracking-[-0.03em] ${Oe.shelfHeading1} ${Oe.shelfHeadingUpTo800Xs}`},{value:"md",label:"Medium \u2014 48px",cls:`font-heading2 font-medium tracking-[-0.03em] ${Oe.shelfHeading2} ${Oe.shelfHeadingUpTo800Small}`},{value:"lg",label:"Large \u2014 56px",cls:`font-heading2 font-medium tracking-[-0.03em] ${Oe.shelfHeading3} ${Oe.shelfHeadingUpTo800Large}`},{value:"xl",label:"Extra large \u2014 64px",cls:`font-heading2 font-medium tracking-[-0.03em] ${Oe.shelfHeading4} ${Oe.shelfHeadingUpTo800Xl}`}],$3="lg";function z3(e){return(aE.find(o=>o.value===e)??aE.find(o=>o.value===$3)).cls}var Gn=(e,o=!1)=>typeof e=="string"?oE(e,o):e,ir=(e,o=!1)=>typeof e=="string"?Ve(e,o):e;function nE({num:e,title:o,link:t,logo:r,description:a,accent:n,accentNum:s,numStyle:l=vl,look:i="standard",titleAccent:d,accentTracking:f="-0.02em",spaceBelow:x,rowGap:u,descriptionSize:h,className:I="",eyebrowLook:S=kh,titleSize:v,count:O,capped:R=!1,rootPadsBottom:T=!1}){let g=vt(),w=x??(i==="editorial"?"mb-[60px]":"");if(i==="shelf")return e||o||a||t?vo("div",{className:ot(`${yP} sticky top-[var(--sf-header-h,88px)] z-30 mb-5 flex items-center justify-between gap-4 max-view-wide:flex-wrap max-view-wide:gap-y-2 border-b border-line bg-bg/95 py-3 backdrop-blur-md ${R?"":"-mx-[var(--sf-site-gutter,40px)] px-[var(--sf-site-gutter,40px)] max-view-wide:-mx-[min(20px,var(--sf-site-gutter,40px))] max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]"}`,g),children:[vo("div",{className:"flex min-w-0 items-end gap-6 max-view-wide:flex-col max-view-wide:items-stretch max-view-wide:gap-3",children:[e&&ye("span",{className:`font-mono ${Oe.shelfLabel} leading-none uppercase tracking-[0.22em] text-fg-dim`,children:ir(e)}),o&&ye("h2",{className:`${z3(v)} leading-none text-fg max-view-wide:leading-[1] [&>span]:block`,children:Gn(o)})]}),(a||t||O)&&vo("div",{className:"flex items-center gap-5 max-view-wide:gap-3 view-wide:grow view-wide:justify-end",children:[a&&ye("span",{className:`max-w-[340px] truncate font-display ${Oe.shelfBody} leading-[1.4] text-fg-dim max-view-wide:hidden view-wide:w-0 view-wide:grow view-wide:text-right`,children:ir(a)}),t&&vo(Ia,{newTab:"auto",href:t.href,className:`inline-flex items-center gap-2 whitespace-nowrap font-mono ${Oe.shelfLabel} uppercase tracking-[0.2em] text-fg-dim transition-colors hover:text-fg`,children:[ir(t.text),ye("span",{"aria-hidden":!0,children:"\u2192"})]}),O&&ye("span",{className:`whitespace-nowrap font-mono ${Oe.shelfLabelSmall} uppercase tracking-[0.2em] text-fg-dim`,children:O})]})]}):null;if(i==="editorial"){let y=!!o||!!d;return vo("header",{className:`${w} grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-8 max-view-desktop:grid-cols-1 max-view-desktop:gap-3.5 ${I}`.trim(),children:[e&&(typeof e=="string"?ye(jn,{text:e,className:"pb-2"}):ye("span",{className:"pb-2",children:e})),y&&vo("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(40px,5.5vw,80px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em]",children:[o,d&&vo(W3,{children:[" ",ye("em",{className:"font-serif font-normal italic text-accent",style:{letterSpacing:f},children:d})]})]}),a&&ye("p",{className:`max-w-[360px] pb-1 text-right font-display ${Oe.bodySmall} leading-[1.5] text-fg-dim max-view-desktop:max-w-full max-view-desktop:text-left`,children:a})]})}if(i==="simple"){let y=`${w} ${I}`.trim();return vo("div",{className:y||void 0,children:[e&&(typeof e=="string"?ye(jn,{text:e,look:S,className:"mb-4 block"}):ye("span",{className:"mb-4 block",children:e})),o&&ye("h2",{className:`font-heading2 ${Oe.headingMedium2} font-medium uppercase leading-none tracking-[-0.02em] text-fg ${Oe.headingMediumUpTo800Small}`,children:Gn(o)})]})}if(i==="statement"){let y=`${w} ${I}`.trim();return vo("div",{className:y||void 0,children:[e&&(typeof e=="string"?ye(jn,{text:e,look:S,className:"mb-4 block"}):ye("span",{className:"mb-4 block",children:e})),o&&ye("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(40px,5vw,72px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em] text-fg",children:Gn(o,!0)})]})}if(i==="natural"){let y=`flex max-w-[680px] flex-col ${u??"gap-5"} ${w} ${I}`.replace(/\s+/g," ").trim();return vo("div",{className:y,children:[e&&(typeof e=="string"?ye(jn,{text:e,look:S}):ye("span",{children:e})),o&&ye("h2",{className:`font-heading2 ${Oe.headingMedium2} font-medium leading-[1.05] tracking-[-0.03em] ${Oe.headingMediumUpTo800Small}`,children:Gn(o)}),a&&ye("p",{className:`${h??`${Oe.bodyLarge}`} leading-[1.6] opacity-85`,children:a})]})}if(i==="essay"){let y=`${w} ${I}`.trim();return vo("div",{className:y||void 0,children:[e&&(typeof e=="string"?ye(jn,{text:e,look:S,className:"mb-4 block"}):ye("span",{className:"mb-4 block",children:e})),o&&ye("h2",{className:`font-heading2 ${Oe.headingMedium1} [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.02em] text-fg ${Oe.headingSmallUpTo800}`,children:Gn(o)})]})}let _=!!a||!!t,E=!!o,D=kO(l)==="outlined",b=`font-mono ${Oe.label} uppercase tracking-[0.3em]`,F=null;if(e)if(D)F=ye("span",{className:`${vO} text-fg-dim ${Ch}`,children:ir(e)});else if(s&&!n&&typeof e=="string"){let y=e.indexOf("/"),k=y===-1?e:e.slice(0,y),P=y===-1?"":e.slice(y);F=vo("span",{className:b,children:[ye("span",{className:"text-accent",children:ir(k)}),P&&ye("span",{className:"text-fg-dim",children:ir(P)})]})}else F=ye("span",{className:`${b} ${n?"text-accent":"text-fg-dim"}`,children:ir(e)});return vo("div",{className:T?"grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-6 max-view-wide:grid-cols-1 max-view-wide:gap-3 max-view-wide:pb-5":"mb-16 grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-6 max-view-wide:mb-9 max-view-wide:grid-cols-1 max-view-wide:gap-3 max-view-wide:pb-5",children:[D&&e&&ye("style",{children:PO}),vo("div",{className:"flex flex-col items-start gap-3",children:[r?.src&&ye(_k,{children:ye(Zf,{...U3(hP(r.src)),alt:r.alt,className:"h-8 w-auto object-contain"})}),F]}),E&&ye("h2",{className:n?"font-heading2 text-[length:min(var(--size-headingMedium,clamp(36px,5vw,64px)),var(--sf-heading-max,9999px))] [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-[0.95] tracking-[-0.025em]":`font-heading2 ${Oe.headingMedium3} [font-weight:var(--sf-heading-weight,500)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.03em] whitespace-pre-line ${Oe.headingMediumUpTo800Large} max-view-wide:leading-[1]`,children:Gn(o)}),_&&vo("div",{className:"flex flex-col items-end gap-3 max-view-wide:items-start",children:[a&&ye("p",{className:`max-w-[340px] font-display ${Oe.bodySmall} leading-[1.5] text-fg-dim text-right max-view-wide:max-w-full max-view-wide:text-left`,children:ir(a)}),t&&vo(Ia,{newTab:"auto",href:t.href,className:`inline-flex items-center gap-2 whitespace-nowrap font-mono ${Oe.label} uppercase tracking-[0.2em] text-fg-dim transition-colors hover:text-fg`,children:[ir(t.text),ye("span",{"aria-hidden":!0,children:"\u2192"})]})]})]})}function U3(e){let o=ga(e,{fallbackWidth:640,maxWidth:960});return o.srcSet?{src:o.src,srcSet:o.srcSet,sizes:"240px"}:{src:e}}function sE({num:e,title:o,titleAccent:t,desc:r,accentTracking:a="-0.02em",spaceBelow:n="mb-[60px]",className:s=""}){return j3(nE,{look:"editorial",num:e,title:o,titleAccent:t,description:r,accentTracking:a,spaceBelow:n,className:s})}import{jsx as Rl,jsxs as Z3}from"react/jsx-runtime";import{useEffect as J3,useState as hE}from"react";import{jsx as G3}from"react/jsx-runtime";var lE="sf-photo-hover";function Lc({sheet:e,name:o=lE}){return e?G3("style",{href:o,precedence:lE,dangerouslySetInnerHTML:{__html:e}}):null}import{jsx as uE,Fragment as V3}from"react/jsx-runtime";import{createContext as Y3,useContext as Dc}from"react";var K3=Xb["view-desktop"];function q3(e,o){return[...[...e].sort((t,r)=>t.below-r.below).map(t=>`(max-width: ${t.below-.02}px) ${t.slot}`),o].join(", ")}var Mh=e=>`${Math.ceil(e*1e4-1e-6)/100}vw`,Rc=e=>{let o=/^([\d.]+)vw$/.exec(e??"");return o?Math.min(1,Number(o[1])/100):1};function Sfe(e,o){return{phone:Mh(e.phone*Rc(o?.phone)),tablet:Mh(e.tablet*Rc(o?.tablet)),desktop:Mh(e.desktop*Rc(o?.desktop))}}function Hh(e){if([e.phone,e.tablet,e.desktop].every(r=>Rc(r)>=1))return;let o=[{below:Xt,slot:e.phone},{below:K3,slot:e.tablet}],t=o.filter((r,a)=>r.slot!==(o[a+1]?.slot??e.desktop));return q3(t,e.desktop)}function iE(e){let o=e.split(/,\s*(?![^()]*\))/).map(a=>a.trim()),t=[];for(let a of o.slice(0,-1)){let n=/^\(max-width:\s*([\d.]+)px\)\s+(.+)$/.exec(a);if(!n)return null;let s=Number(n[1]);if(t.length&&s<=t[t.length-1].edge)return null;t.push({edge:s,slot:n[2]})}let r=o[o.length-1];return!r||r.startsWith("(")?null:{steps:t,last:r}}var dE=(e,o)=>e.steps.find(t=>o<=t.edge)?.slot??e.last,fE=e=>{let o=/^min\((.+)\)$/.exec(e);return o?o[1].split(/,\s*(?![^()]*\))/).map(t=>t.trim()):[e]};function cE(e,o){if(e===o)return e;let t=[...fE(e),...fE(o)],r=s=>{let l=t.map(i=>new RegExp(`^([\\d.]+)${s}$`).exec(i)).filter(Boolean).map(i=>Number(i[1]));return l.length?[`${Math.min(...l)}${s}`]:[]},a=[...new Set(t.filter(s=>!/^[\d.]+(vw|px)$/.test(s)))],n=[...r("vw"),...r("px"),...a];return n.length===1?n[0]:`min(${n.join(", ")})`}function pE(e,o){if(!o)return e;let t=iE(e),r=iE(o);if(!t||!r)return e;let a=[...new Set([...t.steps,...r.steps].map(s=>s.edge))].sort((s,l)=>s-l).map(s=>({edge:s,slot:cE(dE(t,s),dE(r,s))})),n=cE(t.last,r.last);return[...a.filter((s,l)=>s.slot!==(a[l+1]?.slot??n)).map(s=>`(max-width: ${s.edge}px) ${s.slot}`),n].join(", ")}var X3={hasWidth:!1},Ll=Y3(X3);function vfe(){return Dc(Ll).hasWidth}function Pfe(e){let{bound:o}=Dc(Ll);return o&&Hh(o)||e}function mE(e){let{bound:o}=Dc(Ll);return pE(e,o&&Hh(o))}function xE({children:e}){let o=Dc(Ll);return o.bound?uE(Ll.Provider,{value:{hasWidth:o.hasWidth},children:e}):uE(V3,{children:e})}function IE({fallback:e,className:o,src:t,alt:r="",objectPosition:a,objectFit:n="cover",sizes:s="100vw",sizesFromCell:l=!1,priority:i=!1,deferFetch:d=!1,showBackground:f=!0,treatment:x}){let u=lh(),h=mE(s),I=l?h:s,[S,v]=hE(!1),[O,R]=hE(!1),T=t||"";J3(()=>{v(!1),R(!1)},[T]);let g=gf(T),w=g&&!O?ga(T):{src:T},_=!T||S;return Z3("div",{className:`relative h-full w-full overflow-hidden ${o??""}`,children:[Rl("div",{className:"absolute inset-0 flex items-center justify-center",style:f?{background:"var(--site-surface)"}:void 0,children:_?e:null}),Rl(Qd,{fill:ol,children:T&&(g?Rl("img",{src:w.src,alt:r,...w.srcSet?{srcSet:w.srcSet,sizes:I}:{},decoding:"async",...d?{loading:"lazy"}:u,className:`absolute inset-0 h-full w-full${x?.className?` ${x.className}`:""}`,style:{display:S?"none":"block",objectFit:n,...a?{objectPosition:a}:{},...x?.style??{}},onError:()=>w.srcSet?R(!0):v(!0)}):Rl(Cc,{src:T,alt:r,fill:!0,sizes:I,priority:i,...x?.className?{className:x.className}:{},style:{display:S?"none":"block",objectFit:n,...a?{objectPosition:a}:{},...x?.style??{}},onError:()=>v(!0)}))}),Rl(Lc,{sheet:x?.sheet})]})}import{jsx as Q3}from"react/jsx-runtime";var Dl="sf-empty-hides",Wh="sf-empty-else",Nc="sf-head-core",Mc="sf-head-box",Nl="holdsHeadCore",Ml="isHeadCore",e$=`.${Dl}:empty{display:none}.${Dl}:not(:empty)~.${Wh}{display:none}.${Mc},.${Nc}{display:contents}.${Mc}:not(:has(.${Nc}:not(:empty))){display:none}`;function Hc(){return Q3("style",{children:e$})}var Wo={headingSmallUpTo700Small:"max-[700px]:text-[length:var(--size-headingSmall,26px)]",headingSmallUpTo700Large:"max-[700px]:text-[length:var(--size-headingSmall,28px)]",bodySmall:"text-[length:var(--size-body,15px)]",bodyLarge:"text-[length:var(--size-body,18px)]",headingSmall1:"text-[length:var(--size-headingSmall,28px)]",headingSmall2:"text-[length:var(--size-headingSmall,34px)]",labelSmall:"text-[length:var(--size-label,11px)]",label:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"},gE={2:"grid-cols-2 max-[900px]:grid-cols-1",3:"grid-cols-3 max-view-desktop:grid-cols-1",4:"grid-cols-4 max-view-desktop:grid-cols-2 max-[700px]:grid-cols-1"},$h="sf-itc-boxes",t$="sf-itc-steps";function zh(e){return(e??[]).filter(o=>(o?.tag??"").trim()||(o?.meta??"").trim()||(o?.title??"").trim()||(o?.copy??"").trim()||(o?.image??"").trim()||(o?.specs??[]).some(t=>(t?.label??"").trim()||(t?.value??"").trim()))}function rce({num:e,title:o,description:t,boxes:r,steps:a,columns:n=3,cta:s,padTop:l,padBottom:i,bandPad:d,editing:f=!1,omitHead:x=!1,cardImage:u,cardImageUnit:h,cardText:I,rows:S,copies:v}){let O=vt(),R=v!==void 0,T=S&&(R||(r?.blockCount??0)>0)?S:null,g=d??Ck({padTop:l,padBottom:i},Hn("ProcessSteps")),w=R?[]:zh(a),_=w.length>0?w:f&&!r&&!R?[1,2,3].map(y=>({tag:c("Column {n}",{n:y})})):[],E=gE[n]??gE[3],D=T?"grid-cols-1":E,b=T?"":" [&>*]:min-h-[560px]",F=I==="on-image";return Ee(de,{as:"section",className:ot(["relative z-[2] border-b border-line bg-bg",g.className].filter(Boolean).join(" "),O),style:{...g.style,...aT(u,h)},children:dr("div",{className:ot(kC,O),children:[x?null:Ee(sE,{num:e,title:o?.trim()?Ve(o,!0):void 0,desc:t?.trim()?Ve(t,!1):void 0}),r&&!R?dr(o$,{children:[Ee(Hc,{}),T?Ee(bc.Provider,{value:{hand:T,ids:r.blockIds??[],boxes:[]},children:Ee(r,{className:`${$h} ${Dl} sf-card grid ${D} gap-[2px] border border-line bg-line${b} [&>*]:bg-bg`,minEmptyHeight:260})}):Ee(r,{className:`${$h} ${Dl} sf-card grid ${D} gap-[2px] border border-line bg-line [&>*]:min-h-[560px] [&>*]:bg-bg`,minEmptyHeight:260})]}):null,R&&v?Ee("div",{className:`${$h} sf-card grid ${D} gap-[2px] border border-line bg-line${b} [&>*]:bg-bg`,children:T?Ee(bc.Provider,{value:{hand:T,copies:!0},children:v}):v}):null,_.length>0&&Ee("div",{className:`${t$} ${Wh} sf-card grid ${E} gap-[2px] border border-line bg-line`,children:_.map((y,k)=>{let P=(y.specs??[]).filter(C=>(C?.label??"").trim()||(C?.value??"").trim());return dr("article",{className:F?"flex flex-col bg-bg":"flex min-h-[560px] flex-col bg-bg",children:[dr("div",{className:F?"sf-card-image relative aspect-[5/3] overflow-hidden bg-surface max-[700px]:aspect-[4/3]":"sf-card-image relative aspect-[5/3] overflow-hidden border-b border-line bg-surface",children:[Ee(IE,{label:y.tag?.trim()||y.title?.trim()||`column-${k+1}`,src:y.image||void 0,sizes:"(max-width: 1100px) 100vw, 33vw",...r?{deferFetch:!0}:{}}),Ee("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-[1]",style:{background:`linear-gradient(180deg, ${Ks(.55)} 0%, transparent 30%, transparent 70%, ${Ks(.65)} 100%)`}}),F&&Ee("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 z-[1] h-[78%]",style:{background:`linear-gradient(180deg, transparent 0%, ${Ks(.73)} 55%, ${Ks(.92)} 100%)`}}),y.tag?.trim()&&Ee("span",{className:`absolute left-5 top-[18px] z-[2] font-mono ${Wo.label} uppercase tracking-[0.3em] text-accent`,children:st(y.tag)}),y.meta?.trim()&&Ee("span",{className:F?`absolute right-5 top-[18px] z-[2] font-mono ${Wo.label} uppercase tracking-[0.24em] text-overlay-fg/80`:`absolute right-5 bottom-[18px] z-[2] font-mono ${Wo.label} uppercase tracking-[0.24em] text-overlay-fg/80`,children:st(y.meta)}),F&&(y.title?.trim()||y.copy?.trim())&&dr("div",{className:"absolute inset-x-0 bottom-0 z-[2] flex flex-col gap-2.5 px-8 pb-7 pt-14 max-[700px]:px-6 max-[700px]:pb-6",children:[y.title?.trim()&&Ee("h3",{className:`flex min-h-[2em] flex-col justify-end font-heading3 ${Wo.headingSmall1} font-medium uppercase leading-none tracking-[-0.02em] text-overlay-fg ${Wo.headingSmallUpTo700Small}`,children:Ve(y.title,!0)}),y.copy?.trim()&&Ee("p",{className:`min-h-[3em] font-display ${Wo.bodySmall} leading-[1.5] text-overlay-fg/85`,children:Ve(y.copy,!1)})]})]}),F?P.length>0&&Ee("div",{className:"grid grid-cols-2 gap-2 border-t border-line px-8 py-7 max-[700px]:px-6 max-[700px]:py-6",children:P.map((C,B)=>dr("div",{className:"flex flex-col gap-1",children:[C.label?.trim()&&Ee("span",{className:`font-mono ${Wo.labelSmall} uppercase tracking-[0.24em] text-fg-dim`,children:st(C.label)}),C.value?.trim()&&Ee("span",{className:`font-display ${Wo.bodyLarge} font-medium tracking-[-0.01em] text-fg`,children:st(C.value)})]},B))}):dr("div",{className:"flex flex-1 flex-col gap-4 px-8 py-9 max-[700px]:px-6 max-[700px]:py-7",children:[y.title?.trim()&&Ee("h3",{className:`font-heading3 ${Wo.headingSmall2} font-medium uppercase leading-none tracking-[-0.02em] ${Wo.headingSmallUpTo700Large}`,children:Ve(y.title,!0)}),y.copy?.trim()&&Ee("p",{className:`font-display ${Wo.bodySmall} leading-[1.55] text-fg-dim`,children:Ve(y.copy,!1)}),P.length>0&&Ee("div",{className:"mt-auto grid grid-cols-2 gap-2 border-t border-line pt-4",children:P.map((C,B)=>dr("div",{className:"flex flex-col gap-1",children:[C.label?.trim()&&Ee("span",{className:`font-mono ${Wo.labelSmall} uppercase tracking-[0.24em] text-fg-dim`,children:st(C.label)}),C.value?.trim()&&Ee("span",{className:`font-display ${Wo.bodyLarge} font-medium tracking-[-0.01em] text-fg`,children:st(C.value)})]},B))})]})]},k)})}),s?.text&&Ee("div",{className:"mt-12 flex justify-end border-t border-line pt-8",children:dr(Ia,{newTab:"auto",href:s.href,className:`group inline-flex items-center gap-3.5 border border-line px-6 py-4 font-mono ${Wo.labelLarge} uppercase tracking-[0.3em] text-fg transition-colors hover:border-accent hover:text-accent`,children:[st(s.text),Ee("span",{"aria-hidden":!0,className:"text-accent transition-transform group-hover:translate-x-[3px]",children:"\u2192"})]})})]})})}var r$=["selected","highlighted"],yE="data-sf-card-state",bE="pointer-events-none absolute inset-0 border border-accent",wE="pointer-events-none absolute inset-x-0 bottom-0 border-b-2 border-accent",CE="pointer-events-none absolute inset-0 border-2 border-accent outline outline-1 -outline-offset-1 outline-accent",kE="absolute inset-y-0 left-0 w-[3px] bg-accent",vE="absolute -inset-[2px] -z-[1] bg-[color-mix(in_oklab,var(--accent)_14%,transparent)]",PE="after:pointer-events-none after:absolute after:inset-0 hover:after:border-2 hover:after:border-accent",SE=e=>{let o=sC.find(t=>t.role===e)?.token;if(!o)throw new Error(`card-state: the palette has no ink token for "${e}"`);return o},a$={[SE("muted")]:`var(${SE("fg")})`};function Uh(e){return e?.selected===!0}function jh(e){return e?r$.filter(o=>e[o]===!0).join(" "):""}function TE(e,o="frame"){let t=jh(e);return t?o==="frame"&&Uh(e)?{[yE]:t,className:"relative isolate",style:{...a$}}:{[yE]:t,className:"relative"}:{}}var n$={highlighted:!0},s$={},Wc="badge";function ice(e,o=[]){return e.map((t,r)=>({...t,key:t.key||o[r]?.key||zs(t,r)}))}function OE(e){return!e||typeof e!="object"?!1:Object.entries(e).some(([o,t])=>o==="key"||o===Wc||o==="state"?!1:typeof t=="string"?t.trim()!=="":Array.isArray(t)?t.length>0:t!=null&&typeof t!="function")}function dce(e,{chosen:o,badge:t}){let r=o.trim(),a=r?e.findIndex(n=>n.key===r):-1;return{rows:e.map((n,s)=>({...n,[Wc]:s===a?t:""})),states:e.map((n,s)=>s===a?n$:s$)}}function fce(e){return{chosen:typeof e.highlightedCard=="string"?e.highlightedCard.trim():"",badge:typeof e.highlightBadge=="string"?e.highlightBadge:""}}function cce(e){if(!e||typeof e!="object")return;let{press:o,pressLabel:t,pressDisabled:r}=e;if(typeof o=="function")return{press:o,...typeof t=="string"&&t.trim()!==""?{label:t}:null,...r===!0?{disabled:!0}:null}}var EE="data-sf-card-press",_E=`${yO} appearance-none bg-transparent border-0 p-0 m-0`,AE=`${_E} cursor-pointer`,FE=_E;import{paymentMarkItems as l$,paymentMarks as i$}from"efficient-shell/icons/payment";var d$=[eb,ob],BE=e=>d$.includes(e),LE=e=>l$({name:e.label,kind:e.kind}),f$=(e,o)=>e.kind===o.kind&&e.label===o.label&&(e.kind==="brand"?e.mark===o.mark:e.glyph===o.glyph);function RE(e){return i$(e.map(o=>({name:o.label,kind:o.kind}))).map(o=>({label:o.label,kind:e.find(t=>LE(t).some(r=>f$(r,o)))?.kind??""}))}function xce(e){return LE(e)[0]??null}var DE={heading:"Trusted by *teams worldwide*"},$c=()=>[{src:"",alt:c("Logo one")},{src:"",alt:c("Logo two")},{src:"",alt:c("Logo three")},{src:"",alt:c("Logo four")},{src:"",alt:c("Logo five")}],c$=sd.Logos,yce={label:"Logos",drawsPictures:!0,fields:c$,defaultProps:{items:[],contained:!0}};var p$=()=>$c().map(e=>({label:e.alt}));function NE(e,o){let t=nd(e,o,p$()).rows.filter(r=>r.label);return BE(Ne(e))?RE(t):t}var Hl="Flex",m$="Text",Wl=e=>Object.values(e??{}).filter(HE),x$=e=>e.type===ro&&Ne(e.props)!=="",WE=e=>{if(e.type!==Hl)return!1;let o=Wl(e.props).flat();return o.length>0&&o.every(x$)},zc=e=>cn(e.props?.headPlacement)==="own-box"||WE(e),Gh=e=>e===void 0||Array.isArray(e)&&e.length===0;function $E(e){return e.type===m$?!0:e.type===Hl&&Wl(e.props).every(o=>o.every($E))}var zE={ProcessSteps:e=>Gh(e.boxes)&&zh(e.steps).length===0,Logos:e=>Ne(e)?h$(e):Gh(e.logos)&&Gh(e.items)};function h$(e){return sb(e)!==null&&NE(e,!1).length===0}function I$(e){return Wl(e.props).flat().every(o=>!nd(o.props,!1).rows.some(OE))}function Uc(e){let o=Wl(e.props).flat();return o.some(zc)&&o.every(t=>zc(t)||$E(t))}function g$(e){if(!u$(e)||!zc(e))return e;let o=WE(e)?I$(e):z(zE,String(e.type))?.(e.props??{})===!0;return{...e,props:{...e.props,[Ml]:o?"empty":!0}}}function ME(e){return qe(e,o=>ze(o,g$))}function UE(e){let o=Object.entries(e.props??{}).filter(([,r])=>HE(r)).filter(([,r])=>r.length>0);if(o.length!==1||o[0][1].length!==1)return null;let t=o[0][1][0];return t?.type===Hl&&t.props?{key:o[0][0],inner:t}:null}function jE(e){if(e?.type!==Hl||!e.props)return e;if(Uc(e)){let t=ME(e);return{...t,props:{...t.props,[Nl]:!0}}}let o=UE(e);return!o||!Uc(o.inner)?e:{...e,props:{...e.props,[o.key]:[ME(o.inner)],[Nl]:!0}}}function GE(e){let o=e;if(!o||!Array.isArray(o.content))return e;let t=!1,r=o.content.map(a=>{let n=jE(a);return n!==a&&(t=!0),n});return t?{...o,content:r}:e}var y$=e=>z(zE,String(e.type))?.(e.props??{})===!0;function S$(e){if(e.type!==Hl||!e.props)return!1;let o=Uc(e)?null:UE(e),t=o?o.inner:e;if(!Uc(t))return!1;let r=Wl(t.props).flat().filter(zc);return r.some(a=>Ne(a.props)!=="")&&r.every(y$)}function KE(e){return qe(e,o=>b$(o))}function b$(e){let o=!1,t=[];for(let r of e){if(S$(r)){o=!0;continue}let a=KE(r);a!==r&&(o=!0),t.push(a)}return o?t:e}function qE(e){let o=e;if(!o||!Array.isArray(o.content))return e;let t=!1,r=o.content.map(a=>{if(jE(a)!==a)return a;let n=KE(a);return n!==a&&(t=!0),n});return t?{...o,content:r}:e}var w$=["DocMasthead","AlloyWheelsListing"],jc="titleLevel",C$=e=>e===2?"h2":"h1",Kh=e=>C$(e?.[jc])==="h2";function VE(e){let o=e;if(!o?.content?.length)return e;let t=!1,r=!1,a=o.content.map(n=>w$.includes(n?.type??"")?t?(r=!0,{...n,props:{...n.props??{},[jc]:2}}):(t=!0,n):n);return r?{...o,content:a}:e}import{readHidable as E$}from"efficient-easel/draw";var Kn="showFor";function YE(){return on("efficient.box-show-for-choices",()=>({choices:[],revision:0}))}var k$=e=>!!e&&typeof e=="object"&&typeof e.slug=="string"&&e.slug.trim()!==""&&typeof e.name=="string"&&e.name.trim()!=="";function Mce(){return YE().choices}function Hce(){return YE().revision}function XE(e){return k$(e)?{slug:e.slug,name:e.name}:void 0}import{readHidable as v$}from"efficient-easel/draw";var qh="_wallLabelId",P$="_wallLabelledBy",Vh=e=>e.props?.id==null?"":String(e.props.id);function T$(e){if(!e||e.type!=="Text"||!Vh(e))return!1;let o=v$(e.props?.text);return!o.hidden&&o.text.trim()!==""}var O$=e=>!!e&&e.type==="Logos"&&e.props?.look==="marks"&&Vh(e)!=="",ZE=(e,o,t)=>({...e,props:{...e.props,[o]:t}});function JE(e){let o=ze(e,r=>qe(r,JE)),t=null;for(let r=1;r<o.length;r++){if(!O$(o[r])||!T$(o[r-1]))continue;let a=`sf-wall-label-${Vh(o[r-1])}`;t??=o.slice(),t[r-1]=ZE(t[r-1],qh,a),t[r]=ZE(t[r],P$,a)}return t??o}function QE(e){return an(e,JE)}var e_="_cardPressTitles",_$="_cardPressTitle";function Xce(e,o){let t=e?.[e_],r=t&&typeof t=="object"?t[o]:void 0;return Array.isArray(r)&&r.length?r:void 0}var o_=(e,o)=>({...e,props:{...e.props,...o}});function A$(e){let o=e.props??{};return e.type!=="Text"||E$(o.text).hidden||typeof o[Ko]=="string"||typeof o[qh]=="string"?"":Nt(o)}function t_(e,o,t,r){return ze(e,a=>{let n=A$(a);if(n&&!r.has(n))return r.add(n),t.push({field:n,gates:o}),o_(a,{[_$]:!0});if(a.type==="Text"||Array.isArray(a.props?.[Kn]))return a;let s=a.props?.[tn],l=Array.isArray(s)&&s.length?[...o,s.filter(i=>typeof i=="string")]:o;return qe(a,(i,d)=>ra(a.type,d)?i:t_(i,l,t,r))})}function r_(e){let o,t=qe(e,(r,a)=>{let n=ze(r,r_);if(!ra(e.type,a))return n;let s=[],l=t_(n,[],s,new Set);return s.length&&((o??={})[a]=s),l});return o?o_(t,{[e_]:o}):t}function a_(e){return an(e,o=>ze(o,r_))}import{pinnedDuplicateIndices as nU}from"efficient-easel/draw";import{jsx as lt,jsxs as Q_}from"react/jsx-runtime";import{createContext as Xz,useContext as Zz,useEffect as Jz,useRef as Qz,useState as e1}from"react";import{jsx as Fr,jsxs as f_}from"react/jsx-runtime";import{useEffect as qn,useRef as c_,useState as wa}from"react";import{jsx as n_,Fragment as F$,jsxs as B$}from"react/jsx-runtime";import{useEffect as L$,useRef as s_,useState as R$}from"react";var D$="#t=0.001",N$=2;function M$(e,o){if(e.readyState<N$||!e.videoWidth||!e.videoHeight)return!1;let t=o.getContext("2d");return t?(o.width=e.videoWidth,o.height=e.videoHeight,t.drawImage(e,0,0,o.width,o.height),!0):!1}function l_({src:e,objectPosition:o="50% 50%",onError:t}){let r=s_(null),a=s_(null),[n,s]=R$(!1);return L$(()=>{let l=r.current,i=a.current;if(n||!l||!i)return;let d=()=>{M$(l,i)&&s(!0)};return d(),l.addEventListener("loadeddata",d),l.addEventListener("seeked",d),()=>{l.removeEventListener("loadeddata",d),l.removeEventListener("seeked",d)}},[n]),B$(F$,{children:[n_("canvas",{ref:a,"aria-hidden":!0,className:"absolute inset-0 z-[3] h-full w-full object-cover",style:{objectPosition:o,visibility:n?"visible":"hidden"}}),!n&&n_("video",{ref:r,src:`${e}${D$}`,muted:!0,playsInline:!0,preload:"auto",className:"hidden",onError:t})]})}var H$="data-part",ope=Object.freeze({Flex:Object.freeze(["box","card","card-content"]),Grid:Object.freeze(["grid"]),Hero:Object.freeze(["hero","arrows","arrow","dots","dot","strip"]),HeroSlide:Object.freeze(["slide","hero-media","tint","overlay","hero-content"]),HeroSingle:Object.freeze(["hero","hero-media","tint","overlay","hero-content"]),ImageBlock:Object.freeze(["image-block","image-frame","image"]),ButtonBlock:Object.freeze(["button-block","button","button-icon"]),Text:Object.freeze(["text-block","text"]),Heading:Object.freeze(["heading-block","heading"]),LogoBlock:Object.freeze(["logo"]),MenuBlock:Object.freeze(["menu-block","heading","menu","menu-item","menu-link","menu-button"]),SiteHeader:Object.freeze(["header","header-content"]),SiteFooter:Object.freeze(["footer"]),FooterSection:Object.freeze(["footer-block","grid","legal-line","copyright"]),FooterLogo:Object.freeze(["logo-block","logo-link","tagline"]),FooterSocial:Object.freeze(["social-block","social-item","social-link"]),ProductGrid:Object.freeze(["product-grid-block","grid-head","grid-number","heading","description","view-all","count","grid","grid-empty"]),ProductCard:Object.freeze(["card","card-link","card-content","image-block","image-frame","image-plate","image","card-number","badges","badge","eyebrow","product-name","pattern","specs","price","price-note","swatches","swatch","sizes","size","buy","button","page-label"])});function Ar(e){return{[H$]:e}}var $l={min:40,max:100,step:5,fallback:100,unit:"vh"};function W$(e){return`${typeof e=="number"?e:$l.fallback}${$l.unit}`}function i_(...e){return e.some(o=>typeof o=="number"||zl(o)!==null)}var Yh={...Ak,fallback:680,unit:"px"},npe={ratio:"16/9",px:`${Yh.fallback}px`},$$=/^(\d{1,5}(?:\.\d{1,3})?)px$/;function zl(e){if(typeof e!="string")return null;let o=Tk(e);if(o!==null)return{unit:"ratio",value:e,css:"auto",aspect:o};let t=$$.exec(e);if(t&&Number(t[1])>0){let r=Math.min(Yh.max,Math.max(Yh.min,Number(t[1])));return{unit:"px",value:`${r}px`,px:r,css:`${r}px`}}return null}function z$(e){return Object.keys(e.style??{}).some(o=>o.startsWith("--sf-hero-ar-"))}function spe({heightDesktop:e,heightTablet:o,heightMobile:t,heightFixed:r,heightFixedTablet:a,heightFixedMobile:n}){let s=I=>zl(I)?.value,l=i_(e,t,s(r),s(n)),i=i_(o,s(a)),d=(I,S,v)=>{let O=zl(S);return O?.unit==="ratio"?{[`--sf-hero-h-${I}`]:O.css,[`--sf-hero-ar-${I}`]:O.aspect}:{[`--sf-hero-h-${I}`]:O?.css??W$(v)}},f="view-tablet:max-view-desktop:h-[var(--sf-hero-h-t)]",x=l?i?`h-[var(--sf-hero-h-m)] ${f} view-desktop:h-[var(--sf-hero-h-d)]`:"h-[var(--sf-hero-h-m)] view-tablet:h-[var(--sf-hero-h-d)]":i?`h-screen min-h-[680px] ${f} view-tablet:max-view-desktop:min-h-0`:"h-screen min-h-[680px]";if(!l&&!i)return{className:x,style:void 0};let u={...l?d("d",r,e):{},...i?d("t",a,o):{},...l?d("m",n,t):{}},h=z$({style:u})?l?i?" aspect-[var(--sf-hero-ar-m,auto)] view-tablet:max-view-desktop:aspect-[var(--sf-hero-ar-t,auto)] view-desktop:aspect-[var(--sf-hero-ar-d,auto)]":" aspect-[var(--sf-hero-ar-m,auto)] view-tablet:aspect-[var(--sf-hero-ar-d,auto)]":" view-tablet:max-view-desktop:aspect-[var(--sf-hero-ar-t,auto)]":"";return{className:`${x}${h}`,style:u}}var Gc=1280,U$="16 / 9",j$="100svh",G$=[{minDppx:3.01,dppx:4,capPx:Math.floor(Gc/4)},{minDppx:2.01,dppx:3,capPx:Math.floor(Gc/3)},{minDppx:1.01,dppx:2,capPx:Math.floor(Gc/2)},{minDppx:null,dppx:1,capPx:Gc}];function d_(e=j$){let o=`max(100vw, calc(${e} * ${U$}))`;return[...G$.map(({minDppx:t,capPx:r})=>`${t===null?vn:`${vn} and (min-resolution: ${t}dppx)`} min(${o}, ${r}px)`),"100vw"].join(", ")}function fpe(e,o){let t=zl(o);if(t?.unit==="px")return t.css;if(t?.unit==="ratio"){let[r,a]=t.aspect.split("/").map(n=>n.trim());return r&&a?`calc(100vw * ${a} / ${r})`:void 0}if(typeof e=="number"&&e>=$l.min&&e<=$l.max)return`${e}svh`}var K$=.5;function Ul({videoSrc:e,videoAv1Src:o,videoSrcPhone:t,videoAv1SrcPhone:r,posterSrc:a,posterSrcPhone:n,showVideo:s=!0,playbackRate:l=K$,objectPosition:i="50% 50%",objectPositionPhone:d,objectPositionTablet:f,quiet:x=!1,slideShown:u,laterSlide:h=!1,laterOfLead:I=!1,phoneFrame:S}){let v=d_(S),O=IP(d,f),R=xl(),[T,g]=wa(!1),w=R==="below"&&!T,_=R==="first",E=a||"",D=n||"",b=c_(null),F=Ol(b,!0,!0),y=F===void 0?void 0:F==="phone",k=Sf({video:e,av1:o,videoPhone:t,av1Phone:r},y===!0),P=k.video||"",C=yf(P,k.av1),[B,H]=wa(!1),[q,$]=wa(!1),[le,pe]=wa(!1),[ee,xe]=wa(!1),oe=u??!0,[ie,ge]=wa(!1),Re=R!=="first"&&!I,[$e,yo]=wa(!1),oo=c_(null);qn(()=>{if(!Re)return;if(document.readyState==="complete"){yo(!0);return}let N=()=>yo(!0);return window.addEventListener("load",N,{once:!0}),()=>window.removeEventListener("load",N)},[Re]),qn(()=>{H(!1),$(!1),pe(!1),xe(!1)},[P,E,D]),qn(()=>{oe&&ge(!0)},[oe]),qn(()=>{let N=oo.current;N&&(oe?N.play()?.catch(()=>{}):N.pause())},[oe,ie,$e]),qn(()=>{if(!h||Re&&!$e)return;let N=()=>g(!0);if(typeof window.requestIdleCallback=="function"){let he=window.requestIdleCallback(N,{timeout:2e3});return()=>window.cancelIdleCallback(he)}let te=setTimeout(N,800);return()=>clearTimeout(te)},[h,Re,$e]),qn(()=>{let N=oo.current;if(!N)return;let te=()=>{N.playbackRate=l};return te(),N.addEventListener("loadedmetadata",te),()=>N.removeEventListener("loadedmetadata",te)},[P,l]);let io=gf(E),So=E&&(io||D)&&!q?ga(E):{src:E},Xe=D&&!q?ga(D):{src:D},bo=D&&!w&&!T?[{sized:Xe,media:vn},...E?[{sized:So,media:Ms}]:[]]:[];return f_("div",{ref:b,className:"absolute inset-0 z-[1]",...Ar("hero-media"),children:[Fr("div",{className:"absolute inset-0",style:{background:"var(--site-surface)"}}),bo.map(({sized:N,media:te})=>Fr("link",{rel:"preload",as:"image",href:N.src,media:te,fetchPriority:"high",...N.srcSet?{imageSrcSet:N.srcSet,imageSizes:v}:{}},te)),(E||D)&&(io||D?(()=>{let N=Fr("img",{...E?{src:So.src}:{},...So.srcSet?{srcSet:So.srcSet,sizes:v}:{},alt:"",...w?{loading:"lazy"}:{},..._?{fetchPriority:"high"}:{},className:`absolute inset-0 z-[2] h-full w-full object-cover ${O.className}`.trim(),style:{display:B?"none":"block",objectPosition:i,...O.style},onError:te=>{te.currentTarget.currentSrc&&(So.srcSet||Xe.srcSet?$(!0):H(!0))}},D?void 0:E);return D?f_("picture",{children:[Fr("source",{media:vn,srcSet:Xe.srcSet||Xe.src,sizes:v}),N]},`${E} ${D}`):N})():Fr(Cc,{src:E,alt:"",fill:!0,...w?{}:T?{loading:"eager"}:{priority:!0},sizes:v,className:`z-[2] object-cover ${O.className}`.trim(),style:{display:B?"none":"block",objectPosition:i,...O.style},onError:()=>H(!0)},E)),s&&!x&&P&&y!==void 0&&ie&&(!Re||$e)&&!le&&Fr("video",{ref:oo,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"absolute inset-0 z-[3] h-full w-full object-cover",style:{objectPosition:i},onError:()=>pe(!0),children:C.map(N=>Fr("source",{src:N.src,type:N.type},N.src))},P),s&&x&&P&&y!==void 0&&ie&&(!Re||$e)&&!ee&&(!E||B)&&Fr(l_,{src:P,objectPosition:i,onError:()=>xe(!0)},P)]})}import{jsx as mo,Fragment as k_,jsxs as eI}from"react/jsx-runtime";import{jsx as Vn}from"react/jsx-runtime";import{useRef as q$}from"react";import{SCROLL_EFFECTS_WITH_ZOOM as V$,scrollAttrs as Y$}from"efficient-shell/format";function Kc({views:e,origins:o={},boxClass:t,boxAttrs:r,boxStyle:a,takesViewHide:n=!1,atEdge:s=!1,zoomInside:l="layer",zoomLayerClass:i,children:d}){let f=q$(null),x=rf(),u=at(),h=n?u:Cr,I=Tl(f,!0,s),{attrs:S,style:v}=Y$(e[I],o[I]),O=V$.includes(e[I].effect),R=Co(`${yn}${x.fill}${t?` ${t}`:""}`,h.className);if(O&&l==="picture")return h.scope(Vn("div",{ref:f,className:R,...r,...h.attrs,...a?{style:a}:{},children:Vn(Ok,{attrs:S,style:v,children:x.inner(d)})}));let T=Vn(Ek,{children:x.inner(d)});if(O){let w=i??(x.fill?"h-full":void 0);return h.scope(Vn("div",{ref:f,className:R,...r,...h.attrs,style:{...a,overflow:"clip"},children:Vn("div",{...w?{className:w}:{},...S,style:v,children:T})}))}let g=Object.keys(v).length||a?{style:{...a,...v}}:{};return h.scope(Vn("div",{ref:f,className:R,...r,...h.attrs,...S,...g,children:T}))}var Ca=["media","image","image2"],fr={media:"Media",image:"Image",image2:"Image 2"},jl={media:"heroMedia",image:"heroImage",image2:"heroImage2"};function qc(e,o){return e==="image"&&Zs(o)>1?"Image 1":fr[e]}var Npe="Video file",Mpe="Upload a video file",Hpe="AV1 file",Wpe="Upload an AV1 file";function X$(e,o){return yd("mediaType",jd,o,[e])}var Z$=new Set(Object.keys(Gd)),p_="heroPart";function J$(e,o){return{...o,[p_]:e}}function $pe(e,{parts:o={},onlyFor:t,fallback:r,rules:a}){let n={...e},s=[...Object.values(o).flat(),...jd.flatMap(l=>t[l])].filter(l=>!(l in e));if(s.length)throw new Error(`heroMediaFields: ${s.join(", ")} is not a row of this block`);for(let l of jd)for(let i of t[l])n[i]=Ze(n[i],X$(l,r));for(let[l,i]of Object.entries(a??{}))i&&(n[l]=Ze(n[l],i));for(let l of Ca)for(let i of o[l]??[])n[i]=J$(l,n[i]);return n}function Q$(e){let o=e?.[p_];return Ca.includes(o)?o:null}function u_(e,o){let t={};for(let[r,a]of Object.entries(e))Q$(a)===o&&(t[r]=a);return t}function m_(e){if(!Z$.has(e.type))return[];let o=[{part:"media",label:fr.media,depth:0}];return sk(e.type,e.props.mediaType)!=="video"&&(o.push({part:"image",label:qc("image",e.props),depth:1}),Zs(e.props)>1&&o.push({part:"image2",label:qc("image2",e.props),depth:1})),o}function ka(e,o){return`${e}::${o}`}function Vc(e){if(!e)return null;let o=e.lastIndexOf("::");if(o<=0)return null;let t=e.slice(o+2);return Ca.includes(t)?{nodeId:e.slice(0,o),part:t}:null}var Gl="data-sf-hero-part";import{MOTION_TIMING as ez}from"efficient-shell/format";var g_="grayscale(1) contrast(1.03)",Gpe="Black and white";function oz(e){return e===!0?{filter:g_}:{}}function tz(e){let{filter:o}=oz(e);return o?{style:{filter:o}}:{}}var va="sf-photo-grayscale",Qh="data-sf-photo-host",x_={duration:"--sf-photo-hover-duration",delay:"--sf-photo-hover-delay"},Jc=`@media (hover:hover){.${va}{filter:${g_};transition:filter var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))}.${va}:hover,[data-sf-photo-host]:hover .${va}{filter:none}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${va}{transition:none}}`;function y_(e){let o=ez.hover,t={...e.duration!==o.duration.default?{[x_.duration]:`${e.duration}s`}:{},...e.delay!==o.delay.default?{[x_.delay]:`${e.delay}s`}:{}};return Object.keys(t).length?t:void 0}function S_(e,o,t){if(e===!0)return tz(!0);if(t?.kind==="mono"){let r=y_(t);return{className:va,sheet:Jc,...r?{style:r}:{}}}return e===!1?{}:o===!0?{className:va}:{}}var b_="data-sf-repeat",Xh="sf-photo-zoom",rz="--sf-photo-zoom",Kpe="sf-photo-wash",Yc="sf-photo-wash-rest",Kl="sf-photo-wash-hover",Zc="sf-photo-frame",w_=(e,o)=>`:not([${b_}]:not(${o}) .${e})`,Jh=(e,o)=>`[${b_}]${o} .${e}${w_(e,o)}`,Zh=(e,o)=>`${o},${Jh(e,":hover")},[${Qh}]:hover .${e}${w_(e,":hover")}`,h_=e=>`${e} var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))`,az=`.${Kl}{opacity:0}@media (hover:hover){.${Yc},.${Kl}{transition:${h_("opacity")}}${Zh(Kl,`.${Zc}:hover .${Kl}`)}{opacity:1}${Zh(Yc,`.${Zc}:hover .${Yc}`)}{opacity:0}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.${Xh}{transition:${h_("transform")}}${Zh(Xh,`.${Zc}:hover .${Xh}`)}{transform:scale(var(${rz}))}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${Yc},.${Kl}{transition:none}}`,qpe="sf-photo-move";function Vpe(e){if(!e||!e.zoom&&!e.darken)return null;let o=y_(e);return{className:Zc,sheet:az,...o?{style:o}:{}}}function C_(e){return e===!0?{[va]:Jc}:{}}var Xc="sf-box-reveal",Ype="sf-box-reveal",nz=8,I_=.3,Xpe=`@media ${Ms}{.${Xc}{opacity:0;transform:translateY(${nz}px);transition:opacity ${I_}s ease-out,transform ${I_}s ease-out}${Jh(Xc,":hover")},${Jh(Xc,":focus-within")}{opacity:1;transform:none}}@media ${Ms} and (prefers-reduced-motion:reduce){.${Xc}{transition:none;transform:none}}`;import{hidableText as sz}from"efficient-easel/draw";var lz={one:"max-view-tablet:grid-cols-1 max-view-tablet:grid-rows-1",side:"max-view-tablet:grid-cols-2 max-view-tablet:grid-rows-1",stacked:"max-view-tablet:grid-cols-1 max-view-tablet:grid-rows-2"},iz={one:"view-tablet:grid-cols-1 view-tablet:grid-rows-1",side:"view-tablet:grid-cols-2 view-tablet:grid-rows-1",stacked:"view-tablet:grid-cols-1 view-tablet:grid-rows-2"};function v_(e){let o=e.isVideo&&DP(e.videoSource)==="youtube",t=e.isVideo&&NP(e.videoPlayback)==="click",r=o?MP(sz(e.youtubeUrl)):null,a=lk(e.mediaLayout);return{fromYouTube:o,onClick:t,youTubeId:r,backgroundFile:e.isVideo&&!o&&!t,desktopLayout:a,phoneLayout:ik(e.mediaLayoutPhone,a),twoPictures:!e.isVideo&&Zs(e)>1}}function ql(e,o){return Sn(ya({_partMotion:e},o))}function Vl(e,o){return zn(ya({_partMotion:e},o))}var Qc=e=>Ph({desktop:e.objectPosition,tablet:e.objectPositionTablet,phone:e.objectPositionPhone}),P_=ol.img;function T_({entrance:e,scroll:o,origins:t,editing:r,className:a,attrs:n,style:s,zoomLayerClass:l,children:i}){return e?mo(kc,{views:e,editing:r,boxClass:a,boxAttrs:n,...s?{boxStyle:s}:{},children:i}):o?mo(Kc,{views:o,...t?{origins:t}:{},boxClass:a,boxAttrs:n,...s?{boxStyle:s}:{},...l?{zoomLayerClass:l}:{},children:i}):mo("div",{className:a,...n,...s?{style:s}:{},children:i})}function Yn(e,o){return S_(void 0,void 0,Kb(ya({_partMotion:e},o)))}function O_(e){return Ca.some(o=>Yn(e,o).className)?{hostAttrs:{[Qh]:""},sheet:Jc}:{}}function ep({treatment:e,children:o}){return e.className?mo("div",{className:`absolute inset-0 ${e.className}`,...e.style?{style:e.style}:{},children:o}):mo(k_,{children:o})}function op({color:e,opacity:o,passClicks:t=!0}){return o>0?mo("div",{className:t?"pointer-events-none absolute inset-0 z-[2]":"absolute inset-0 z-[2]",style:{background:e,opacity:Math.min(Math.max(o,0),100)/100},...Ar("tint")}):null}function tp({part:e,editing:o,marked:t=!0,entrance:r,scroll:a=null,origins:n,className:s,children:l}){let i=o&&t?{[Gl]:e}:void 0;return mo(T_,{entrance:r,scroll:a,origins:n,editing:o,className:s,attrs:i,zoomLayerClass:P_,children:l})}function E_({partMotion:e,editing:o,children:t}){let r=ql(e,"media"),a=Vl(e,"media"),n=Yn(e,"media"),s=mo(Qd,{fill:ol,children:t}),l=n.className?mo("div",{className:`absolute inset-0 z-[1] ${n.className}`,...n.style?{style:n.style}:{},children:s}):s;return r||a?mo(T_,{entrance:r,scroll:a,editing:o,className:"absolute inset-0 z-[1]",zoomLayerClass:P_,children:l}):mo(k_,{children:l})}function __({desktopLayout:e,phoneLayout:o,editing:t,marked:r=!0,partMotion:a,first:n,second:s,laterSlide:l=!1}){return eI("div",{className:`absolute inset-0 z-[1] grid ${lz[o]} ${iz[e]}`,"data-hero-layout":e,"data-hero-layout-phone":o,children:[mo(tp,{part:"image",editing:t,marked:r,entrance:ql(a,"image"),scroll:Vl(a,"image"),origins:Qc(n),className:"relative overflow-hidden",children:eI(ep,{treatment:Yn(a,"image"),children:[mo(Ul,{posterSrc:nt(n.src),showVideo:!1,laterSlide:l,objectPosition:n.objectPosition,objectPositionPhone:n.objectPositionPhone,objectPositionTablet:n.objectPositionTablet}),mo(op,{color:n.tintColor,opacity:n.tintOpacity})]})}),mo(tp,{part:"image2",editing:t,marked:r,entrance:ql(a,"image2"),scroll:Vl(a,"image2"),origins:Qc(s),className:`relative overflow-hidden ${Vv({desktop:e==="one",tablet:e==="one",mobile:o==="one"},{atSectionLine:!0})}`.trimEnd(),children:eI(ep,{treatment:Yn(a,"image2"),children:[mo(Ul,{posterSrc:nt(s.src),showVideo:!1,laterSlide:l,objectPosition:s.objectPosition,objectPositionPhone:s.objectPositionPhone,objectPositionTablet:s.objectPositionTablet}),mo(op,{color:s.tintColor,opacity:s.tintOpacity})]})})]})}import{jsx as Br,Fragment as dz,jsxs as fz}from"react/jsx-runtime";import{useEffect as cz,useRef as pz,useState as uz}from"react";import{PlaySolidIcon as mz}from"efficient-shell/icons/efficient-looks";function A_({youTubeId:e,ownPoster:o,background:t,editing:r}){let[a,n]=uz("large");return cz(()=>n("large"),[e]),e?fz(dz,{children:[!o&&a!=="none"&&Br(Zf,{src:a==="large"?HP(e):WP(e),alt:"",className:"absolute inset-0 z-[2] h-full w-full object-cover",onLoad:s=>{a==="large"&&s.currentTarget.naturalWidth<=120&&n("small")},onError:()=>n(a==="large"?"small":"none")},`${e}-${a}`),t&&!r&&Br("div",{className:"pointer-events-none absolute inset-0 z-[3] overflow-hidden [container-type:size]","aria-hidden":"true",children:Br("iframe",{src:Ox(e,"background"),title:"",tabIndex:-1,allow:"autoplay; encrypted-media; picture-in-picture",className:"absolute left-1/2 top-1/2 h-[max(100%,56.25cqw)] w-[max(100%,177.78cqh)] -translate-x-1/2 -translate-y-1/2 border-0"})})]}):null}function F_({youTubeId:e,fileSrc:o,fileAv1Src:t,fileSrcPhone:r,fileAv1SrcPhone:a,playing:n,onPlay:s,editing:l}){let i=pz(null),d=Ol(i,!0,!0)==="phone";if(!e&&!o)return null;let f=Sf({video:o,av1:t,videoPhone:r,av1Phone:a},d),x=yf(f.video,f.av1);return n&&!l?e?Br("iframe",{src:Ox(e,"click"),title:Ex,allow:"autoplay; encrypted-media; picture-in-picture; fullscreen",allowFullScreen:!0,className:"absolute inset-0 z-[6] h-full w-full border-0 bg-overlay-scrim"}):Br("video",{ref:u=>{i.current=u},...x.length===1?{src:x[0].src}:{},controls:!0,autoPlay:!0,playsInline:!0,className:"absolute inset-0 z-[6] h-full w-full bg-overlay-scrim object-contain",children:x.length>1&&x.map(u=>Br("source",{src:u.src,type:u.type},u.src))},f.video):Br("button",{ref:u=>{i.current=u},type:"button","aria-label":Ex,onClick:l?void 0:s,className:`absolute left-1/2 top-1/2 z-[4] grid h-16 w-16 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full bg-btn text-btn-ink shadow-lg transition-transform motion-reduce:transition-none ${l?"pointer-events-none":"cursor-pointer hover:scale-105"}`,children:Br(mz,{size:28})})}function B_(e,o){if(!e)return[];let t=`[${o}]`;return Array.from(e.querySelectorAll(t)).filter(r=>{let a=r.parentElement?.closest(t);return!a||a===e||!e.contains(a)})}import{parseOption as N_}from"efficient-shell/format";var M_=["top","middle","bottom"],H_=["left","center","right"],W_="bottom",$_="left",xz={top:"Top",middle:"Middle",bottom:"Bottom"},hz={left:"Left",center:"Center",right:"Right"},Tue="Up and down",Oue="Sideways",Iz={top:"flex-start",middle:"center",bottom:"flex-end"},gz={left:"flex-start",center:"center",right:"flex-end"},yz="--sf-hero-phone-y",Sz="--sf-hero-phone-x";function bz(e){return N_(M_,W_,e)}function wz(e){return N_(H_,$_,e)}function z_(e,o){let t=bz(e),r=wz(o),a={};return t!==W_&&(a[yz]=Iz[t]),r!==$_&&(a[Sz]=gz[r]),a}var Cz="--sf-hero-phone-words-top",kz="--sf-hero-phone-words-bottom",vz="--sf-hero-phone-box-gap",Eue=100,_ue=90,Aue=28,Pz=0,Tz=200,Fue="Words space top",Bue="Words space bottom",Lue="Space between boxes";function oI(e){if(!(typeof e!="number"||!Number.isFinite(e)))return Math.min(Tz,Math.max(Pz,Math.round(e)))}function U_(e,o,t){let r={},a=oI(e),n=oI(o),s=oI(t);return a!==void 0&&(r[Cz]=`${a}px`),n!==void 0&&(r[kz]=`${n}px`),s!==void 0&&(r[vz]=`${s}px`),r}function Rue(){return M_.map(e=>({label:xz[e],value:e}))}function Due(){return H_.map(e=>({label:hz[e],value:e}))}var Oz="--sf-hero-words-top",Ez="--sf-hero-words-bottom",L_="--sf-hero-words-top-t",R_="--sf-hero-words-bottom-t",Nue=140,Mue=56,_z=0,Az=400,D_="pt-[var(--sf-hero-words-top,140px)] pb-[var(--sf-hero-words-bottom,56px)]",Fz="view-wide:max-view-desktop:pt-[var(--sf-hero-words-top-t,var(--sf-hero-words-top,140px))] view-wide:max-view-desktop:pb-[var(--sf-hero-words-bottom-t,var(--sf-hero-words-bottom,56px))]";function Bz(e){if(!(typeof e!="number"||!Number.isFinite(e)))return Math.min(Az,Math.max(_z,Math.round(e)))}function j_(e,o,t,r){let a={},n=(s,l)=>{let i=Bz(l);i!==void 0&&(a[s]=`${i}px`)};return n(Oz,e),n(Ez,o),n(L_,t),n(R_,r),Object.keys(a).length===0?{className:null,style:a}:{className:L_ in a||R_ in a?`${D_} ${Fz}`:D_,style:a}}import{hexToRgb as Lz,parseOption as Rz}from"efficient-shell/format";var Dz=!0;var Nz=[[0,".5"],[30,".1"],[60,".1"],[100,".85"]];function G_(e){let o=Lz(e);return o?`${o.r},${o.g},${o.b}`:null}function K_(e){return e==null?Dz:e!==!1}var Mz="classic",Hz=[{label:"Classic",value:"classic"},{label:"Edges",value:"edges"}],Wz=160,$z=62,zz=".38";function Uz(e){return Rz(Hz,Mz,e)}function q_(e,o){let t=(e?G_(e):null)??G_(tr);if(Uz(o)==="edges"){let r=`rgba(${t},${zz})`,a=`rgba(${t},0)`;return`linear-gradient(180deg, ${r} 0px, ${a} ${Wz}px), linear-gradient(180deg, ${a} ${$z}%, ${r} 100%)`}return`linear-gradient(180deg, ${Nz.map(([r,a])=>`rgba(${t},${a}) ${r}%`).join(", ")})`}import{hexToRgb as V_,parseOption as jz}from"efficient-shell/format";var Y_="bottom";var Gz=[{label:"Bottom",value:"bottom",cell:"bottom"},{label:"Top",value:"top",cell:"top"},{label:"Left",value:"left",cell:"left"},{label:"Right",value:"right",cell:"right"}],Kz={bottom:180,top:0,left:270,right:90},qz=[[.55,0],[.15,18],[null,35],[null,55],[.85,100]],Vz=[[null,33],[.6,67],[.94,100]];function Yz(e,o){let{r:t,g:r,b:a}=V_(e)??V_(tr);return`rgba(${t},${r},${a},${o})`}function X_(e){return jz(Gz,Y_,e)}function Z_(e=tr,o=Y_){let t=X_(o),r=(t==="top"||t==="bottom"?qz:Vz).map(([a,n])=>`${a===null?"transparent":Yz(e,a)} ${n}%`);return`linear-gradient(${Kz[t]}deg, ${r.join(", ")})`}function J_(e,o){let t=fo(e.overlayColor),r=fo(e.overlayPosition),a=fo(o)??tr;return!t&&!r?{own:!1,color:a,position:null}:{own:!0,color:t??a,position:X_(r)}}var eU=Xz({});function pme({name:e,process:o,mediaType:t=Gd.HeroSlide,mediaSrc:r,videoSpeed:a,poster:n,mediaAv1:s,mediaSrcPhone:l,mediaAv1Phone:i,posterPhone:d,objectPosition:f,objectPositionPhone:x,objectPositionTablet:u,tintColor:h=tr,tintOpacity:I=0,groups:S,editing:v=!1,themeClassName:O,themeStyle:R,overlayColor:T,overlayPosition:g,mediaLayout:w,mediaLayoutPhone:_,mediaImage2:E,objectPosition2:D,objectPosition2Phone:b,objectPosition2Tablet:F,tintColor2:y=tr,tintOpacity2:k=0,videoSource:P,youtubeUrl:C,videoPlayback:B,partMotion:H,laterSlide:q=!1}){let $=vt(),le=at(),{alignment:pe="left",textureOpacity:ee,textureOn:xe,textureColor:oe,textureShape:ie,quietVideo:ge,phoneUpDown:Re,phoneSideways:$e,phoneWordsTop:yo,phoneWordsBottom:oo,phoneBoxGap:io,wordsTop:So,wordsBottom:Xe,wordsTopTablet:bo,wordsBottomTablet:N,holdReel:te,reelHeld:he,shownSlide:De,ratioMin:Oo,posterPhoneFrame:Zo}=Zz(eU),Eo=j_(So,Xe,bo,N),ve=xl(),yt=q&&ve==="first",Za=Qz(null),[Vr,bm]=e1(De===void 0?void 0:!1);Jz(()=>{let _o=Za.current;bm(De===void 0||!_o?void 0:B_(_o.closest(".hero-track"),"data-slide-name")[De]===_o)});let Lo=t==="video",Yr=Lo?nt(r):void 0,As=Lo?nt(n):nt(r)??nt(n),Ro=Lo?{av1:nt(s),phone:nt(l),av1Phone:nt(i),poster:nt(d)}:{},Ja=typeof a=="number"?a/100:1,{fromYouTube:Vt,onClick:Fs,youTubeId:Xr,backgroundFile:mr,desktopLayout:ed,phoneLayout:wm,twoPictures:Qa}=v_({isVideo:Lo,videoSource:P,videoPlayback:B,youtubeUrl:C,mediaLayout:w,mediaLayoutPhone:_}),[en,od]=e1(!1);en&&he===!1&&od(!1);let Bs=!en,Jo=J_({overlayColor:T,overlayPosition:g},oe),td=Lo?null:ql(H,"image"),rd=Lo?null:Vl(H,"image"),ad=O_(H),G=lt(ep,{treatment:Lo?{}:Yn(H,"image"),children:lt(Ul,{videoSrc:mr?Yr:void 0,videoAv1Src:mr?Ro.av1:void 0,videoSrcPhone:mr?Ro.phone:void 0,videoAv1SrcPhone:mr?Ro.av1Phone:void 0,posterSrc:As,posterSrcPhone:Ro.poster,showVideo:mr,playbackRate:Ja,objectPosition:f,objectPositionPhone:Lo?void 0:x,objectPositionTablet:Lo?void 0:u,quiet:ge,slideShown:Vr,laterSlide:q,laterOfLead:yt,phoneFrame:Zo})}),Ae=Q_("section",{ref:Za,className:Co(`${Oo?"relative flex min-h-full w-full flex-col overflow-clip":"relative h-full w-full overflow-hidden"}${O?` ${O}`:""}`,le.className),...le.attrs,style:R,"data-slide-name":e??"","data-slide-process":o??"","data-slide-media":mr&&Yr?"video":"still",...ad.hostAttrs,...Ar("slide"),children:[lt(Lc,{sheet:ad.sheet}),lt(E_,{partMotion:H,editing:v,children:Qa?lt(__,{laterSlide:q,desktopLayout:ed,phoneLayout:wm,editing:v,partMotion:H,first:{src:r,objectPosition:f,objectPositionPhone:x,objectPositionTablet:u,tintColor:h,tintOpacity:I},second:{src:E,objectPosition:D,objectPositionPhone:b,objectPositionTablet:F,tintColor:y,tintOpacity:k}}):Vt||td||rd?Q_(tp,{part:Lo?"media":"image",editing:v,entrance:td,scroll:rd,origins:Qc({objectPosition:f,objectPositionTablet:u,objectPositionPhone:x}),className:"absolute inset-0 z-[1]",children:[G,Vt&&lt(A_,{youTubeId:Xr,ownPoster:!!As,background:!Fs,editing:v})]}):G}),Fs&&lt(F_,{youTubeId:Xr,fileSrc:Vt?void 0:Yr,fileAv1Src:Vt?void 0:Ro.av1,fileSrcPhone:Vt?void 0:Ro.phone,fileAv1SrcPhone:Vt?void 0:Ro.av1Phone,playing:en,onPlay:()=>{od(!0),te?.()},editing:v}),Bs&&!Qa&&lt(op,{color:h,opacity:I,passClicks:!1}),Bs&&K_(xe)&&lt("div",{className:"absolute inset-0 z-[2]",style:{background:Jo.own?Z_(Jo.color,Jo.position??void 0):q_(Jo.color,ie),...ee!==void 0?{opacity:ee/100}:null},...Ar("overlay")}),Bs&&lt("div",{className:[Oo?"sf-hero-group-layer relative z-[3] mx-auto w-full flex-1 max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)]":"sf-hero-group-layer absolute inset-0 z-[3] mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)]",Eo.className??"pt-[140px] pb-14",$?bC:"",v?"sf-hero-group-layer-edit":""].filter(Boolean).join(" "),style:{...lC,...z_(Re,$e),...U_(yo,oo,io),...Eo.style},...Ar("hero-content"),children:S&&lt(S,{className:"sf-hero-group-zone",minEmptyHeight:160})})]});return le.scope(yt?lt(Xf,{children:Ae}):Ae)}var o1=Array.from({length:3},(e,o)=>({name:`Slide ${o+1}`,process:"Category",mediaType:"image",mediaVideo:"",poster:""}));import{newNodeId as s1}from"efficient-easel/draw";import{isNodeList as tU}from"efficient-easel/data";var tI=3,rI=()=>({type:K,props:{direction:"column"},slots:{[we]:[{type:"ImageBlock"},{type:K,props:{direction:"column"},slots:{[we]:[{type:"Text",props:hr()},{type:"Text"}]}}]}}),t1=()=>Array.from({length:tI},rI);var r1=["","","","","",""],a1="#ticker",Yl="strip",aI={sectionAccent:gr,line:!1};function oU(e){return(Array.isArray(e.tickerItems)?e.tickerItems:[]).map(o=>typeof o?.text=="string"?o.text:"").filter(o=>o.trim()!=="")}function nI(e){return oU(e).length>0}function yme(e){return e.showTicker!==!1&&nI(e)}var l1=(e,o)=>({type:e.type,props:{...o?.(e.type)??{},...Object.fromEntries(Object.entries(e.props).map(([t,r])=>[t,tU(r)?r.map(a=>l1(a,o)):r]))}}),rU=e=>{let[o]=Rt([rI()],a=>s1(a)),{id:t,...r}=l1(o,e).props;return r},it={Hero:{slot:"slides",childType:"HeroSlide",addLabel:"Add slide",slider:!0,seeds:()=>o1.map(e=>({...e}))},HeroSlide:{slot:"groups",childType:"HeroGroup",addLabel:`Add ${Ds.toLowerCase()}`,seeds:()=>[],addBlocked:lx,notice:ix},HeroSingle:{slot:"boxes",childType:"HeroGroup",addLabel:`Add ${Ds.toLowerCase()}`,seeds:()=>[],addBlocked:lx,notice:ix},ProcessSteps:{slot:Rs,childType:K,addLabel:`Add ${Ds.toLowerCase()}`,seeds:e=>Array.from({length:tI},()=>rU(e)),skipSeed:e=>Array.isArray(e.steps)&&e.steps.length>0}},n1=1,aU={slot:Yl,childType:K,addLabel:`Add ${Ds.toLowerCase()}`,seeds:()=>[],addBlocked:e=>e.length>=n1?"This Hero has its Scrolling Bar already. Delete it to add another.":null,notice:e=>e.length>n1?`This Hero holds ${e.length} Scrolling Bars. Keep one and delete the others.`:null},i1={Hero:{[Yl]:aU}};function Ame(e){for(let[o,t]of Object.entries(e)){if(co(it,o)&&z(it,o)!==t)throw new Error(`lib/document/slot-specs: "${o}" already has a slot spec`);it[o]=t}}function Fme(e,o){let t=z(it,e);return t?{slot:t.slot,children:t.seeds(o).map(r=>({type:t.childType,props:{id:s1(t.childType),...r}}))}:null}var sU=["GalleryB"];function d1(e){let o=e.content;if(!Array.isArray(o))return e;let t=!1,r=o.map(s=>{let l=s?.type;if(!l||!sU.includes(l))return s;let i=z(it,l);if(!i?.legacy)return s;let d=s.props??{},f=d[i.slot];if(Array.isArray(f)&&f.length>0)return s;let x=i.legacy(d);if(!x.length)return s;t=!0;let u=String(d.id??l),h=x.map((I,S)=>({type:i.childType,props:{id:`${i.childType}-${u}-${S}`,...I}}));return{...s,props:{...d,[i.slot]:h}}}),a=new Set(nU(r)),n=a.size?r.filter((s,l)=>!a.has(l)):r;return a.size&&(t=!0),t?{...e,content:n}:e}var lU={"Logos.logosPerRow":"columns","HeroSlide.tintOpacity":"overlay","Split.textBgTint":"overlay"},iU={"Footprint.source":"typed"};function f1(e){let o=e.props,t=!1;if(e.type&&o)for(let[r,a]of Object.entries(lU)){let n=r.indexOf("."),s=r.slice(0,n),l=r.slice(n+1);if(s!==e.type||!(l in o))continue;let i=o[l],d={...o};delete d[l],(!(a in d)||d[a]===void 0)&&(d[a]=i),o=d,t=!0}if(e.type&&o)for(let[r,a]of Object.entries(iU)){let n=r.indexOf("."),s=r.slice(n+1);if(r.slice(0,n)!==e.type||!(s in o))continue;let l=typeof o[s]=="string"?o[s].trim():"",i={...o};delete i[s],ab(l)&&l!==a&&!Ne(i)&&(i[to]=l),o=i,t=!0}if(e.type&&o){let r=wd(e.type,o);r!==o&&(o=r,t=!0)}if(o){let r=qe({props:o},a=>ze(a,f1));r.props!==o&&(o=r.props,t=!0)}return t?{...e,props:o}:e}function c1(e){return ld(e,o=>ze(o,f1))}import{readHidable as dU}from"efficient-easel/draw";var Ut=K,jt=we;function Pa(e){if(e.theme)return er(e.theme);let o=e.site?.themePresets;return o?er({selected:e.site?.selectedPreset??0,themes:[...o]}):void 0}function fU(e,o){return o===0?`${e}~box`:`${e}~box-${o+1}`}var u1=new Set(["id"]),Lr={},Xl=[],cU={ProductGrid:["ProductColour","ProductEyebrow","ProductName","ProductPicture","ProductPrice","ProductRef","ProductSpecs"],Events:[],Collections:["CollectionCard"],GalleryB:["GalleryItem"],ContactRouting:[],ReviewForm:[],AppointmentBooking:["BookingBox"],Reviews:["RatingBlock"],CheckoutCTA:[],AlloyWheelsListing:["ProductBuy","ProductColour","ProductEyebrow","ProductName","ProductPicture","ProductPrice","ProductSpecs"],SpecTable:["EuTyreLabelBlock","WheelDiagram"],FitmentTable:[],ProductHero:["ProductGallery","ProductEyebrow","ProductName","ProductPrice","ProductBuyButton"]},pU=Object.keys(cU),Ta=["Breadcrumb","DocBody","Form","SubmitBuild","Footprint","FAQ","ContactLocations","ProcessSteps",...pU,"Stats","Logos","PaymentBadges","PaymentLogosBlock","FitmentFinder","DocMasthead","DocTabs","Timeline","TimelineTrack","OrderSummary","Chart","Mockup","Integrations","Countdown","FeaturedCover","IntroBleed","SectionHeader","TitleWithButtons","Prose","ParagraphsA","Banner","Cards"];function Qe(e){for(let[o,t]of Object.entries(e)){if(co(Lr,o)&&z(Lr,o)!==t)throw new Error(`lib/sections/section-to-box: "${o}" already has a row`);Lr[o]=t}}function Rr(e){return z(Lr,e)}function uU(e){return co(Lr,e)&&Xl.includes(e)}function m1(e,o=Ta){return co(Lr,e)&&(o.includes(e)||uU(e))}function Zme(e){let o=z(wt,e);if(!o)throw new Error(`lib/sections/section-to-box: "${e}" has no head row in SPLITTABLE_SECTIONS`);let t=[{kind:"text",key:o.num,role:"eyebrow"},{kind:"text",key:o.title,role:"heading"}];return o.description&&t.push({kind:"text",key:o.description,role:"body"}),o.headRows.includes("linkText")&&o.headRows.includes("linkHref")&&t.push({kind:"button",key:"linkText",href:"linkHref"}),t}var sI=e=>dU(e),He=e=>sI(e).text.trim()!=="";function mU(e){if(e.includes("=="))return e;let o=e.indexOf("/"),t=o===-1?e:e.slice(0,o),r=t.trim();if(!r)return e;let a=t.indexOf(r);return`${t.slice(0,a)}==${r}==${t.slice(a+r.length)}${o===-1?"":e.slice(o)}`}var xU=e=>e==="heading"?hr():e==="eyebrow"?Jt():{};function hU(e,o,t,r){let a={...e._partStyles?.text??{},...o??{},...t??{}};return(r==="center"||r==="right")&&a.align===void 0&&(a.align=r),Object.keys(a).length?{_partStyles:{text:a}}:{}}function IU(e,o){if(e===void 0)return{};if(typeof e=="string")return{variant:e};let t=o[e.key];return{variant:(typeof t=="string"?z(e.map,t):void 0)??e.fallback}}function p1(e,o,t,r,a={}){let n={...o};for(let s of e){let[l,i,d]=typeof s=="string"?[s,s,void 0]:s;if(t[l]===void 0)continue;let f=d?d(t[l],t,a):t[l];f===void 0?delete n[i]:n[i]=f,r(l,i,f===void 0)}return n}function gU(e){let o=new Set([...u1,"headPlacement","_partStyles",...Object.keys(e.drop??{}),...Object.keys(e.reads??{})]),t=a=>{for(let n of a??[])o.add(typeof n=="string"?n:n[0])},r=a=>{for(let n of a)switch(n.kind){case"text":case"image":o.add(n.key),n.kind==="image"&&n.alt&&o.add(n.alt);break;case"button":o.add(n.key),o.add(n.href),typeof n.variant=="object"&&o.add(n.variant.key);break;case"list":o.add(n.key);break;case"group":case"block":t(n.box),r(n.parts??[]);break;case"core":if(n.keep!=="rest"&&n.keep.forEach(s=>o.add(s)),Object.keys(n.rename??{}).forEach(s=>o.add(s)),n.derive?.reads.forEach(s=>o.add(s)),typeof n.slots!="function")for(let s of Object.values(n.slots??{}))for(let l of s)"kind"in l&&o.add(l.key);break}};for(let a of[e,...e.also??[]])t(a.box),r(a.parts);return o}var lI=e=>cn(e.headPlacement)==="own-box";function yU(e){return lI(e)?"its head sits in a Box of its own above it (own-box): the row draws the head inline":void 0}function SU(e,o){let t=e[o];return Array.isArray(t)&&t.some(r=>!!r&&typeof r=="object"&&typeof r.type=="string")?"already on the Box path: its items draw from a filled card template":void 0}function bU(e){let o=new Set,t=r=>{for(let a of r)if(a.kind==="group"||a.kind==="block")t(a.parts??[]);else if(a.kind==="core"&&a.slots&&typeof a.slots!="function")for(let[n,s]of Object.entries(a.slots))s.length>0&&s.every(l=>!("kind"in l))&&o.add(n)};for(let r of[e,...e.also??[]])t(r.parts);return[...o]}function wU(e,o,t){if(!t.press)for(let r of bU(e)){let a=SU(o,r);if(a!==void 0)return a}}function Oa(e,o,t={}){let r=e.props,a=(o.ownBoxConverts?void 0:yU(r))??wU(o,r,t)??o.skip?.(r);if(a!==void 0)return{node:e,nodes:[e],carried:[],dropped:[],siteWrites:[],skipped:a};let n=String(r.id??e.type),s=[],l=[],i=new Set,d=(g,w)=>{s.push({key:g,home:w}),i.add(g)},f=r._partStyles??{},x=gU(o),u=0,h=(g,w)=>({type:g,props:{...w,id:`${n}~${g}-${++u}`}}),I=(g,w,_,E,D,b,F)=>{if(D){for(let k of g??[]){let P=typeof k=="string"?k:k[0];_[P]!==void 0&&F(P,`nothing \u2014 the ${E} has no parts, so it is not drawn`)}return}let y=typeof w=="function"?w(r,t):w??{};return p1(g??[],y,_,(k,P,C)=>F(k,C?`nothing \u2014 the old value draws nothing (${E}: no ${P})`:`${b}${E}: ${P}`),t)},S=g=>Rt(g,w=>`${n}~${w}-${++u}`),v=(g,w,_)=>{let E=g.of?g.of(w):Array.isArray(w[g.key])?w[g.key]:[],D=typeof g.props=="function"?g.props(r,t):g.props??{},b=E.map((C,B)=>{let H=C??{},q=g.item?.(H,B,r)??{},$=O(q.reverse?[...g.parts].reverse():g.parts,H,!1,`item ${B+1}: `);return g.flat?q.props?$.map(le=>({...le,props:{...le.props,...q.props,id:le.props.id}})):$:[h(Ut,{name:`${g.name} ${B+1}`,...D,...q.props??{},[jt]:$})]});if(g.groups){let C=g.groups;return _(g.key,E.length?`one Box per item (${E.length}), in a Box per group`:"nothing \u2014 the list is empty"),Sd(E.map(B=>B??{}),C.of,C.of).map((B,H)=>{let q=B.items.map(oe=>oe.item),$=C.parts?O(C.parts,C.head?.(q,r)??{},!1,`group ${H+1}: `):[],le=B.items.map(oe=>b[oe.index]),pe=C.perRow?.(q.length,r),ee=Number.isInteger(pe)&&pe>=1?pe:1,xe=[];if(C.perRow&&ee<le.length)for(let oe=0;oe*ee<le.length;oe++)xe.push(le.slice(oe*ee,(oe+1)*ee).flat());return h(Ut,{name:`${C.name} ${H+1}`,...C.props??{},[jt]:[...$,h(Ut,{name:`${C.itemsName} ${H+1}`,...C.itemsProps?.(q.length,r)??{},[jt]:xe.length?xe.map((oe,ie)=>h(Ut,{name:`${C.rowName??`${C.itemsName} row`} ${ie+1}`,...C.rowProps??{},[jt]:oe})):le.flat()})]})})}let F=g.perRow?.(r),y=g.perRow?Number.isInteger(F)&&F>=1?F:1:0;if(_(g.key,(E.length?g.flat?`each item's parts (${E.length} items), in order`:`one Box per item (${E.length}), its parts inside`:"nothing \u2014 the list is empty")+(y&&E.length?`, in rows of ${y}`:"")),!y)return b.flat();let k=typeof g.rowProps=="function"?g.rowProps(r,t):g.rowProps??{},P=[];for(let C=0;C*y<b.length;C++){let B=b.slice(C*y,(C+1)*y).flat(),H=g.rowFiller?y-b.slice(C*y,(C+1)*y).length:0;P.push(h(Ut,{name:`${g.rowName??`${g.name} row`} ${C+1}`,...k,[jt]:[...B,...Array.from({length:H},(q,$)=>h(Ut,{name:`Empty ${$+1}`,...g.rowFiller,[jt]:[]}))]}))}return P},O=(g,w,_,E)=>{let D=[],b=(y,k)=>_?d(y,k):void 0,F=y=>_?f[y]:void 0;for(let y of g)if(!(y.when&&!y.when(r,_?void 0:w)))switch(y.kind){case"text":{let k=sI(w[y.key]);if(!k.text.trim()&&!(_&&t.press&&o.pressKeepsEmpty?.includes(y.key))){b(y.key,"nothing \u2014 empty words draw nothing, so no block");break}let P=xU(y.role??"body"),{_partStyles:C,...B}=P,H=hU(P,y.styleFrom?{...y.style,...y.styleFrom(r,t)}:y.style,F(y.key),y.props?.align);D.push(h("Text",{text:y.mark==="accentLead"?mU(k.text):y.mark==="accentItalic"?Ns(k.text):k.text,...B,...y.props??{},...H,...k.hidden?{_hidden:!0}:{}})),b(y.key,`${E}Text block: its words${k.hidden?", hidden":""}`);break}case"button":{let k=sI(w[y.key]);if(!k.text.trim()){b(y.key,"nothing \u2014 no words, no button"),b(y.href,"nothing \u2014 no button to link"),typeof y.variant=="object"&&b(y.variant.key,"nothing \u2014 no button to style");break}let P=typeof w[y.href]=="string"&&w[y.href]?w[y.href]:"#",C={...y.style??{},...F(y.key)??{}};D.push(h("ButtonBlock",{label:k.text,href:P,...typeof y.props=="function"?y.props(w,t):y.props??{},...IU(y.variant,w),...Object.keys(C).length?{_partStyles:{label:C}}:{},...k.hidden?{_hidden:!0}:{}})),b(y.key,`${E}Button block: its words`),b(y.href,`${E}Button block: its link`),typeof y.variant=="object"&&b(y.variant.key,`${E}Button block: its Style`);break}case"image":{let k=w[y.key];if(typeof k!="string"||!k){b(y.key,"nothing \u2014 no picture, no block"),y.alt&&b(y.alt,"nothing \u2014 no picture to describe");break}let P=y.alt&&typeof w[y.alt]=="string"?w[y.alt]:"";D.push(h("ImageBlock",{src:k,alt:P,...y.props??{}})),b(y.key,`${E}Image block: its picture`),y.alt&&b(y.alt,`${E}Image block: its alt text`);break}case"list":{D.push(...v(y,w,b));break}case"group":{let k=O(y.parts,w,_,E),P=I(y.box,y.props,w,`${y.name} Box`,!k.length&&!y.keepEmpty,E,b);P&&D.push(h(Ut,{name:y.name,...P,[jt]:k}));break}case"block":{let k=y.parts?O(y.parts,w,_,E):[],P=I(y.box,y.props,w,`${y.type} block`,!!y.parts&&!k.length&&!y.keepEmpty,E,b);P&&D.push(h(y.type,{...P,...y.slot?{[y.slot]:k}:{}}));break}case"core":{let k=y.as??e.type,P={...y.headless?{}:{headPlacement:"own-box"},...y.props??{}},C=y.keep==="rest"?Object.keys(w).filter(H=>!x.has(H)&&!(H in P)):y.keep;for(let H of C)w[H]!==void 0&&(P[H]=w[H],b(H,`the ${k} block inside the Box`));if(y.keep==="rest"){for(let q of Object.keys(y.props??{}))w[q]!==void 0&&!x.has(q)&&b(q,`nothing \u2014 the ${k} block inside the Box has the row's own value`);w.headPlacement!==void 0&&b("headPlacement",`the ${k} block inside the Box: own-box`);let H=Object.fromEntries(Object.entries(f).filter(([q])=>!x.has(q)));Object.keys(H).length&&(P._partStyles=H)}for(let[H,q]of Object.entries(y.rename??{}))w[H]!==void 0&&(P[q]=w[H],b(H,`the ${k} block inside the Box: ${q}`));if(y.derive){Object.assign(P,y.derive.props(w,t));for(let H of y.derive.reads)w[H]!==void 0&&b(H,`the ${k} block inside the Box`)}let B=typeof y.slots=="function"?y.slots(w,t):y.slots??{};for(let[H,q]of Object.entries(B))P[H]=q.flatMap($=>"kind"in $?v($,w,b):S([$]));D.push(h(k,P));break}}return D},R=(g,w)=>{let _=w===0?"Box":`${g.name} Box`,E=O(g.parts,r,!0,w===0?"":`${_}: `),D=typeof g.boxProps=="function"?g.boxProps(r,t):g.boxProps??{},b=p1(g.box??[],D,r,(F,y,k)=>d(F,k?`nothing \u2014 the old value draws nothing (${_}: no ${y})`:`${_}: ${y}`),t);return{type:Ut,props:{name:g.name,...b,[jt]:E,id:fU(n,w)}}},T=[o,...o.also??[]].map(R);r._partStyles!==void 0&&d("_partStyles","each old part's style moved to its new part");for(let[g,w]of Object.entries(o.reads??{}))r[g]!==void 0&&d(g,w);for(let[g,w]of Object.entries(o.drop??{}))g in r&&(l.push({key:g,why:w}),i.add(g));for(let g of Object.keys(r))u1.has(g)||i.has(g)||l.push({key:g,why:"not in the row \u2014 not carried"});return{node:T[0],nodes:T,carried:s,dropped:l,siteWrites:[...o.site?.(e,t)??[]]}}function x1(e,o=Xl,t={}){let r=e.content;if(!Array.isArray(r))return e;let a=!1,n=r.flatMap(s=>{let l=s&&typeof s.type=="string"&&o.includes(s.type)?z(Lr,s.type):void 0;if(!l)return[s];let i=Oa(s,l,t);return i.skipped!==void 0?[s]:(a=!0,i.nodes)});return a?{...e,content:n}:e}function h1(e,o=Xl,t={}){if(!Array.isArray(e))return[];let r=[];return e.forEach((a,n)=>{let s=a&&typeof a.type=="string"&&o.includes(a.type)?z(Lr,a.type):void 0;if(!s)return;let l=Oa(a,s,t);l.skipped===void 0&&r.push({index:n,node:l.node,nodes:l.nodes})}),r}import{BLOCK_FIXED_WIDTH as CU,BLOCK_SIZE_KEYS as kU,parseBlockWidthFit as ap,phoneKey as I1,parseTextFit as rp,tabletKey as g1,viewKeyAt as y1}from"efficient-easel/draw";import{sideLengthAt as vU}from"efficient-easel/screen/lib/content/length-units";var PU="sf-block-size",Zl=["width","minWidth","maxWidth"],np=e=>`${e}Unit`,Dr=e=>typeof e=="number"&&Number.isFinite(e)&&e>=0?e:void 0,TU={desktop:{fill:"view-wide:w-full view-wide:[.flex-row>&]:grow",fixed:"view-wide:w-[min(var(--sf-bw),100%)] view-wide:basis-auto! view-wide:grow-0! view-wide:shrink-0"},phone:{fill:"max-view-wide:w-full",fixed:"max-view-wide:w-[min(var(--sf-bw-p),100%)] max-view-wide:basis-auto! max-view-wide:grow-0! max-view-wide:shrink-0"}},C1={desktop:{fill:"view-desktop:w-full view-desktop:[.flex-row>&]:grow",fixed:"view-desktop:w-[min(var(--sf-bw),100%)] view-desktop:basis-auto! view-desktop:grow-0! view-desktop:shrink-0"},tablet:{fill:"view-wide:max-view-desktop:w-full view-wide:max-view-desktop:[.flex-row>&]:grow",fixed:"view-wide:max-view-desktop:w-[min(var(--sf-bw-t),100%)] view-wide:max-view-desktop:basis-auto! view-wide:max-view-desktop:grow-0! view-wide:max-view-desktop:shrink-0"},phone:{fill:"max-view-wide:w-full",fixed:"max-view-wide:w-[min(var(--sf-bw-p),100%)] max-view-wide:basis-auto! max-view-wide:grow-0! max-view-wide:shrink-0"}},OU={desktop:C1.desktop,tablet:{fill:"view-tablet:max-view-desktop:w-full view-wide:max-view-desktop:[.flex-row>&]:grow",fixed:"view-tablet:max-view-desktop:w-[min(var(--sf-bw-t),100%)] view-tablet:max-view-desktop:basis-auto! view-tablet:max-view-desktop:grow-0! view-tablet:max-view-desktop:shrink-0"},phone:{fill:"max-view-tablet:w-full",fixed:"max-view-tablet:w-[min(var(--sf-bw-p),100%)] max-view-tablet:basis-auto! max-view-tablet:grow-0! max-view-tablet:shrink-0"}},EU={two:{desktop:"view-wide:[.flex-row>*>&]:grow"},three:{desktop:"view-desktop:[.flex-row>*>&]:grow",tablet:"view-wide:max-view-desktop:[.flex-row>*>&]:grow"}},k1="max-view-wide:grow!";function v1(e){return sp(e).mode.phone==="fill"}var _U={desktop:"--sf-bw",tablet:"--sf-bw-t",phone:"--sf-bw-p"},AU={fill:"data-sf-width-fill",fixed:"data-sf-width-fixed"},FU="data-sf-min-width",S1={two:{desktop:"wide",phone:fx.phone},three:fx},BU={minWidth:{desktop:["--sf-bmin","view-wide:min-w-[var(--sf-bmin)]!"],phone:["--sf-bmin-p","max-view-wide:min-w-[var(--sf-bmin-p)]!"]},maxWidth:{desktop:["--sf-bmax","view-wide:max-w-[var(--sf-bmax)]"],phone:["--sf-bmax-p","max-view-wide:max-w-[var(--sf-bmax-p)]"]}},iI={minWidth:{desktop:["--sf-bmin","view-desktop:min-w-[var(--sf-bmin)]!"],tablet:["--sf-bmin-t","view-wide:max-view-desktop:min-w-[var(--sf-bmin-t)]!"],phone:["--sf-bmin-p","max-view-wide:min-w-[var(--sf-bmin-p)]!"]},maxWidth:{desktop:["--sf-bmax","view-desktop:max-w-[var(--sf-bmax)]"],tablet:["--sf-bmax-t","view-wide:max-view-desktop:max-w-[var(--sf-bmax-t)]"],phone:["--sf-bmax-p","max-view-wide:max-w-[var(--sf-bmax-p)]"]}},LU={minWidth:{desktop:iI.minWidth.desktop,tablet:["--sf-bmin-t","view-tablet:max-view-desktop:min-w-[var(--sf-bmin-t)]!"],phone:["--sf-bmin-p","max-view-tablet:min-w-[var(--sf-bmin-p)]!"]},maxWidth:{desktop:iI.maxWidth.desktop,tablet:["--sf-bmax-t","view-tablet:max-view-desktop:max-w-[var(--sf-bmax-t)]"],phone:["--sf-bmax-p","max-view-tablet:max-w-[var(--sf-bmax-p)]"]}},RU=["widthFit",...Zl],b1={desktop:"view-wide:whitespace-nowrap view-wide:[&_*]:whitespace-nowrap!",phone:"max-view-wide:whitespace-nowrap max-view-wide:[&_*]:whitespace-nowrap!"},dI={desktop:"view-desktop:whitespace-nowrap view-desktop:[&_*]:whitespace-nowrap!",tablet:"view-wide:max-view-desktop:whitespace-nowrap view-wide:max-view-desktop:[&_*]:whitespace-nowrap!",phone:"max-view-wide:whitespace-nowrap max-view-wide:[&_*]:whitespace-nowrap!"},DU={desktop:dI.desktop,tablet:"view-tablet:max-view-desktop:whitespace-nowrap view-tablet:max-view-desktop:[&_*]:whitespace-nowrap!",phone:"max-view-tablet:whitespace-nowrap max-view-tablet:[&_*]:whitespace-nowrap!"},P1={desktop:"view-wide:min-w-0 view-wide:[&_*]:overflow-hidden view-wide:[&_*]:text-ellipsis",phone:"max-view-wide:min-w-0 max-view-wide:[&_*]:overflow-hidden max-view-wide:[&_*]:text-ellipsis"},NU={desktop:"view-desktop:min-w-0 view-desktop:[&_*]:overflow-hidden view-desktop:[&_*]:text-ellipsis",tablet:"view-wide:max-view-desktop:min-w-0 view-wide:max-view-desktop:[&_*]:overflow-hidden view-wide:max-view-desktop:[&_*]:text-ellipsis",phone:P1.phone},T1={desktop:"view-wide:max-w-full",phone:"max-view-wide:max-w-full"},w1={desktop:"view-desktop:max-w-full",tablet:"view-wide:max-view-desktop:max-w-full",phone:T1.phone};function O1(e){let o=sp(e);return o.sides.filter(t=>o.mode[t]==="fill").map(t=>EU[o.three?"three":"two"][t]).filter(Boolean).join(" ")}function E1(e){let{three:o,sides:t,mode:r,lengthPerSide:a}=sp(e),n=d=>o?S1.three[d]:S1.two[d],s={fill:[],fixed:[],min:[]},l=a("minWidth");for(let d of t){let f=r[d];(f==="fill"||f==="fixed")&&s[f].push(n(d)),l[d]!==void 0&&s.min.push(n(d))}let i={};for(let d of["fill","fixed"])s[d].length&&(i[AU[d]]=s[d].join(" "));return s.min.length&&(i[FU]=s.min.join(" ")),i}function sp(e){let o=RU.some(a=>{let n=e[a]?.tablet;return a==="widthFit"?ap(n)!==void 0:Dr(n)!==void 0}),t=o?["desktop","tablet","phone"]:["desktop","phone"],r=(a,n)=>{let s=a(n?.desktop),l=o?a(n?.tablet)??s:s;return{desktop:s,tablet:l,phone:a(n?.phone)??l}};return{three:o,sides:t,perSide:r,lengthPerSide:a=>{let n=np(a),s={};for(let i of t)s[y1(a,gn(i))]=Dr(e[a]?.[i]),s[y1(n,gn(i))]=e.units?.[a]?.[i];let l=i=>vU(s,{length:a},n,gn(i),"length")??void 0;return{desktop:l("desktop"),tablet:l("tablet"),phone:l("phone")}},mode:r(ap,e.widthFit)}}function fI(e,{atSectionLine:o=!1}={}){let t=["desktop","tablet","phone"].some(k=>rp(e.textFit?.[k])==="ellipsis"),r=o&&!t,a=r?OU:C1,n=r?LU:iI,s=r?DU:dI,l=[],i={},d={},{three:f,sides:x,lengthPerSide:u,mode:h}=sp(e),I=u("width");for(let k of x){let P=h[k];!P||P==="fit"||(l.push(f?a[k][P]:TU[k][P]),P==="fixed"&&(i[_U[k]]=xn(I[k]?.value??CU.fallback,I[k]?.unit)))}for(let k of Zl.filter(P=>P!=="width")){let P=u(k);for(let C of x){let B=P[C];if(B===void 0)continue;let[H,q]=f?n[k][C]:BU[k][C];i[H]=xn(B.value,B.unit),l.push(q)}}let S=rp(e.textFit?.desktop),v=rp(e.textFit?.phone),O=k=>{let P=Dr(e.minFont?.[k]);return P===void 0?void 0:e.units?.minFont?.[k]==="vw"?`${P}vw`:String(P)},R=O("desktop"),T=O("phone"),g=rp(e.textFit?.tablet),w=g!==S||v!==void 0?g:void 0,_=O("tablet"),E=_!==R||T!==void 0?_:void 0,D=Dr(e.maxWidth?.desktop),b=Dr(e.maxWidth?.tablet)??D,F={desktop:D!==void 0,tablet:b!==void 0,phone:(Dr(e.maxWidth?.phone)??b)!==void 0},y=(k,P,C)=>{if(P!=="line"&&P!=="ellipsis")return;let B=k==="tablet"?void 0:k,H=(q,$)=>C||!B?q[k]:$[B];if(P==="line"){l.push(H(s,b1));return}if(l.push(H(dI,b1)),l.push(H(NU,P1)),f&&!C&&k==="desktop")for(let q of["desktop","tablet"])F[q]||l.push(w1[q]);else F[k]||l.push(H(w1,T1))};return w?(y("desktop",S,!0),y("tablet",w,!0),y("phone",v??w,!0)):(y("desktop",S,!1),y("phone",v??S,!1)),S&&(d[nr.fit]=S),w&&(d[nr.fitTablet]=w),v&&(d[nr.fitPhone]=v),R!==void 0&&(d[nr.min]=R),E!==void 0&&(d[nr.minTablet]=E),T!==void 0&&(d[nr.minPhone]=T),!r&&(w||E!==void 0)&&(d[nr.edge]=""),l.length===0&&Object.keys(d).length===0?null:{className:[PU,...l].join(" "),style:i,attrs:d}}function axe(e){if(Dr(e.maxWidth?.desktop)!==void 0)return!0;let o=ap(e.widthFit?.desktop);return o==="fill"||o==="fixed"}function _1(e){return["desktop","tablet","phone"].some(o=>{let t=ap(e.widthFit?.[o]);return t==="fixed"||t==="fill"||Dr(e.minWidth?.[o])!==void 0})}function lp(e){let o={};for(let t of kU){let r=e[t],a=e[g1(t)],n=e[I1(t)];(r!==void 0||a!==void 0||n!==void 0)&&(o[t]={desktop:r,tablet:a,phone:n});let s=np(t),l={desktop:e[s],tablet:e[g1(s)],phone:e[I1(s)]};(l.desktop!==void 0||l.tablet!==void 0||l.phone!==void 0)&&((o.units??={})[t]=l)}return o}var A1={label:"Button",defaultProps:{label:"",href:"#",variant:"primary",align:"left",contained:!0}};import{parseHexColor as MU}from"efficient-shell/format";import{convertLength as HU}from"efficient-easel/screen/lib/content/length-units";import{viewKeyAt as F1}from"efficient-easel/draw";var Gt=(e,o,t,r)=>o===t?e:HU(e,o,t,r,{min:0,max:200,step:4}),Ea={textFit:"line",textFitPhone:"wrap"},_a={...U,[Ko]:""},{label:Dxe,href:Nxe,...WU}=A1.defaultProps,ao=WU,Aa={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},Y={...$m,sectionAccent:0},Zn={sectionAccent:-1},J=[...Sr,"sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModeTablet","sectionHeightValueTablet","sectionHeightUnitTablet","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderTablet","sectionBorderPhone","sectionAccent",xk.unitKey,...gk,...pk,"anchor",Vs,...Pn,Ld,...zd,...Pc,...$d(["widthFit",...Zl,...Zl.map(np)]),...Object.values(Fo)],Xn="a section width key, ignored since efficient-web-builder 45 (an old key; a section's own width has new keys, lib/content/section-width), so dropping it changes nothing",X={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing",widthMode:Xn,fullWidth:Xn,pageWidth:Xn,backgroundWidth:Xn,contentWidth:Xn,contentMax:Xn},ae=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","sectionPaddingLeftTablet","sectionPaddingRightTablet","sectionPaddingLeftPhone","sectionPaddingRightPhone"].map(e=>[e,"needs Box side padding outside its gutter: the old section added it outside its frame, a Box's side padding replaces the gutter. 0 live nodes store it (JJ's read-only export, 2026-10-24)"])),ip={[Ht]:"read by `wrapperPad`: a value named here is drawn as it is, so the section's own px is not added; the Box's padding is the total"};function ne(e,o){let t=Ie(e.sectionPaddingTop)??0,r=Ie(e.sectionPaddingBottom)??0,a=Ie(e.sectionPaddingTopTablet),n=Ie(e.sectionPaddingBottomTablet),s=Ir(e.sectionPaddingUnit),l=Ir(e.sectionPaddingUnitTablet),i=Ir(e.sectionPaddingUnitPhone),d=Array.isArray(e[Ht])?e[Ht]:[],f=(v,O)=>d.includes(v)?0:O,x=(v,O,R,T,g,w)=>{let _=Ie(e[v]);if(_!==void 0)return _+Gt(f(v,w),"px",i,"mobile");let E=T===void 0?{n:g,unit:s,key:R}:{n:T,unit:l,key:O};return Gt(E.n,E.unit,i,"mobile")+Gt(f(E.key,w),"px",i,"mobile")},u=(v,O,R,T,g,w)=>R!==void 0?{[v]:R+Gt(f(v,w??g),"px",l,"tablet")}:w===void 0?{}:{[v]:Gt(T,s,l,"tablet")+Gt(f(O,w),"px",l,"tablet")},h=v=>({desktop:po[v],tablet:F1(po[v],"tablet"),phone:F1(po[v],"mobile")}),I=h("top"),S=h("bottom");return{[I.desktop]:t+Gt(f(I.desktop,o.top),"px",s,"desktop"),[S.desktop]:r+Gt(f(S.desktop,o.bottom),"px",s,"desktop"),...u(I.tablet,I.desktop,a,t,o.top,o.topTablet),...u(S.tablet,S.desktop,n,r,o.bottom,o.bottomTablet),[I.phone]:x(I.phone,I.tablet,I.desktop,a,t,o.topPhone),[S.phone]:x(S.phone,S.tablet,S.desktop,n,r,o.bottomPhone)}}var fe=e=>[...["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopTablet","sectionPaddingBottomTablet","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(t,r)=>ne(r,typeof e=="function"?e(r):e)[o]]),["sectionPaddingUnit","sectionPaddingUnit"],["sectionPaddingUnitTablet","sectionPaddingUnitTablet"],["sectionPaddingUnitPhone","sectionPaddingUnitPhone"]];function dt(e,o){let t={};for(let[a,n]of ux)e[a]!==void 0&&(t[n]=e[a]);let r=Zd(e,Hn(o));return{...t,sectionPaddingTop:r.top,sectionPaddingBottom:r.bottom}}var Nr=e=>[...ux.map(([o,t])=>[o,t,(r,a)=>dt(a,e)[t]]),["sectionPaddingTop","sectionPaddingTop",(o,t)=>dt(t,e).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,t)=>dt(t,e).sectionPaddingBottom]],$U={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},Mxe=e=>o=>He(o.props[e])?[$U]:[],ce=(e,o)=>({kind:"text",key:e,role:"eyebrow",props:U,...o?{style:o}:{}}),Jn=e=>({kind:"group",name:"Chip",props:{...L,...Zt("main"),...wo(6,14)},parts:[ce(e,{color:"background",...W("label",12),weight:600,letterSpacing:.16})]}),B1=e=>e.background!=="transparent",zU=(e,o)=>{let[t,r]=[e,o].map(a=>typeof a=="string"?a.trim():"");return t?r?`[${t} ]{color=text}${r}`:`[${t}]{color=text}`:r},Jl={align:"right",alignPhone:"left"},UU=(e,o,t)=>{let r=a=>zU(a[e],a[o]);return{kind:"block",type:"Text",when:(a,n)=>n!==void 0&&r(n)!=="",box:[[e,"text",(a,n)=>r(n)],[o,"text",(a,n)=>r(n)]],props:t}},Ql=(e,o,t,r={})=>UU(e,o,{..._a,...Jl,...r,_partStyles:{text:{...Do,color:"labels",...t,case:Do.case,...Jl}}}),Qn=(e,o)=>typeof e=="number"&&Number.isInteger(e)&&e>=0?e:Pa(o)?.selected??0,L1="var(--site-surface-2)",dp=(e,o)=>Pa(o)?.themes[Qn(e.sectionAccent??0,o)],$o=(e,o)=>(t,r)=>{if(!o?.(t,r))return Zt(e);let a=dp(t,r)?.[e];return a?{fillColor:a}:{}},fp=(e,o)=>Mr(e,o)>=0,R1=e=>e.startsWith("#")&&MU(e)!==null,cp=(e,o,t)=>{let r=e?.trim();if(r&&R1(r))return{fillColor:r};let a=hx(r);if(a)return Zt(a);let n=r===L1?dp(o,t):void 0;return n?{fillColor:$w(n)}:{}},pp=e=>{let o=e?.trim();return!o||o==="transparent"||o===zt||hx(o)||o===L1||R1(o)?void 0:"it paints a colour that no Box Fill can hold"},Mr=(e,o)=>{let t=Pa(o)?.themes;return t&&B1(e)?zw(t,Qn(e.sectionAccent,o)):-1},Hr=(e,o,t)=>{let r=Mr(o,t);return r>=0?r:e},es=(e,o)=>{let t=Pa(o)?.themes,r=t?Uw(t,Qn(e,o)):-1;return r>=0?r:e},Fa=(e,o)=>{let t=Mr(e,o);return t>=0?{sectionAccent:t}:{}},Wr=(e,o)=>B1(e.props)&&Mr(e.props,o)<0?[{kind:"band-preset",page:Qn(e.props.sectionAccent,o)}]:[],os=(e,{view:o="desktop",to:t="px",maxPx:r=1/0}={})=>{let{siteGutter:a,siteGutterUnit:n,siteGutterPhone:s,siteGutterPhoneUnit:l}=e.site??{},i=gn(o),d=(x,u,h)=>{let I=Ir(u),S=Bw(x,I,"spacing",h);return S===null?null:Gt(S,I,"px",i)},f=o==="desktop"?d(a,n,mC)??vC(a):d(s,l,xC)??TC(s)??_C(a,n);return Gt(Math.min(r,f),"px",t,i)},ei=Object.fromEntries(["Top","Right","Bottom","Left","TopPhone","RightPhone","BottomPhone","LeftPhone"].map(e=>[`sectionPadding${e}`,0])),oi=e=>({top:0,right:0,bottom:0,left:0,...e}),cI=(e,o,t,r=[])=>({kind:"group",name:e,keepEmpty:!0,props:(a,n)=>({...L,...ei,...$o("surface")(a,n),...typeof t=="function"?t(a,n):t}),box:[[o,"bgImage"],Ge.kind,Ge.duration,Ge.delay],parts:r});import{phoneKey as vI,readHidable as PI}from"efficient-easel/draw";import{isNodeList as xj,newId as hj}from"efficient-easel/data";function D1(e){return Math.min(4,Math.max(2,e??3))}var zxe={eyebrow:"Label",title:"Section *heading.*"},jU=sd.Cards,N1={label:"Cards",fields:jU,defaultProps:{eyebrow:"",title:"",items:[],columns:3}};var Gxe={eyebrow:"Highlight",title:"Key *features.*"},Kxe=()=>[{label:c("Feature label one")},{label:c("Feature label two")},{label:c("Feature label three")},{label:c("Feature label four")},{label:c("Feature label five")},{label:c("Feature label six")}],M1={label:"Key Features",defaultProps:{eyebrow:"",title:"",items:[],columns:3}};import{parseOption as GU}from"efficient-shell/format";var pI="cardPlace",KU=["","top-line"];function Xxe(e){return GU(KU,"",e[pI])}var Zxe="absolute left-5 top-0 z-10 -translate-y-1/2 bg-bg px-2",Jxe="data-sf-top-line",qU=new Set(["Cards",ro]);function Qxe(e){return typeof e=="string"&&qU.has(e)}var VU=e=>{if(!e||typeof e!="object")return!1;let o=e,t=n=>typeof n=="number"&&n>0,r=o.width,a=n=>typeof o[n]=="number"?t(o[n]):t(r);return a("top")&&!a("right")&&!a("bottom")&&!a("left")};function ehe(e,o,t){return!t||!o?.linesBetween||o.index!==0?e:VU(e)?{...e,top:0}:e}var ohe="outsideFramedCard";var up={sectionBorder:{top:0,right:1,bottom:1,left:0},...Zt("background")},YU={gap:0,gapPhone:0,sectionBorder:{top:1,right:0,bottom:0,left:1},shadow:!0},Ba=e=>({direction:"row",columns:e,columnsTablet:e,...YU}),H1=(e={})=>Fe(Wc,{...U,tag:"p",[pI]:"top-line"},e,!0),ts=(e=oa)=>{let o=ln(e);return{...o,props:{...up,...o.props},slots:{[we]:[...o.slots?.[we]??[],H1()]}}},uI=(e=!1)=>{let o=dn(e);return{...o,props:{...up,...o.props}}},XU={name:"name",time:"time",note:"note",price:"price"},ZU={textStyle:"body-1",...W("body",16),weight:500,lineHeight:1.5},JU={...Do,...W("label",12),letterSpacing:.18,lineHeight:1.5},QU={textStyle:"body-1",...W("body",14),lineHeight:1.6},ej={textStyle:"body-1",fontRole:"heading",...W("headingSmall",20),weight:500,color:"accent",lineHeight:1.5},oj={...W("label",11),letterSpacing:.25},tj={gap:16,gapPhone:16,sectionBorder:{top:0,right:0,bottom:0,left:0},shadow:!1},mp=e=>({direction:"row",columns:e,...tj}),mI=[...new Set([...Object.keys(Ba(1)),...Object.keys(mp(1))])],xI=()=>{let e=XU,o={tag:"p",widthFit:"fill"};return{type:K,props:{...L,name:"Card",justify:"between",gap:16,gapPhone:16,...wo(24),sectionBorder:{top:1,right:1,bottom:1,left:1},...Zt("surface"),shadow:!0},slots:{[we]:[H1(oj),{type:K,props:{...L,name:"Words",gap:8,gapPhone:8},slots:{[we]:[Fe(e.name,{...U,...o},ZU),Fe(e.time,{...re,...o},JU),Fe(e.note,{...re,...o},QU)]}},Fe(e.price,{...U,...o},ej)]}}};import{tabletKey as U1}from"efficient-easel/draw";import{VIEW_DESKTOP_MIN as xp}from"efficient-easel/draw";var hp=Xt,hI=xp,W1=960,$1=Xt,z1={min:hp,max:1600,step:10},Ip="stackBelow";function phe(e){if(!(typeof e!="number"||!Number.isFinite(e))&&!(e<z1.min||e>z1.max))return Math.round(e)}var rj=e=>`sf-stack-${e}`,aj=e=>`sf-stack-${e}-gutter`,nj=e=>`sf-stack-${e}-outer`,rs=e=>`${e-.02}px`;function uhe(e,o={}){let t=o.gutter!==!1,r=`.${rj(e)}`,a=`.${aj(e)}`,n=`.${nj(e)}`,s=[];if(e>hp){let l=`${r}>.sf-block-size,${r}>[data-easel-block]>[data-sf-part-host]>.sf-block-size`,i=Math.min(e,xp);s.push(`@media (min-width:${hp}px) and (max-width:${rs(e)}){${r}${r}{flex-direction:column}.sf-gap-overlap${r}{--sf-gap-overlap-eff:calc(var(--sf-gap-overlap) / 2)}${l}{width:min(var(--sf-bw-p,100%),100%);flex-grow:0}}`,`@media (min-width:${hp}px) and (max-width:${rs(i)}){.sf-gap-zone${r}{gap:var(--sf-gap-len-tablet,var(--sf-gap-len-phone,calc(var(--sf-gap-len) / 2)))}}`),e>xp&&s.push(`@media (min-width:${xp}px) and (max-width:${rs(e)}){.sf-gap-zone${r}{gap:var(--sf-gap-len-phone,calc(var(--sf-gap-len) / 2))}}`)}return t&&s.push(`@media (max-width:${rs(e)}){${a}${a}{padding-inline:${IC.frame}}}`),t&&e<W1&&s.push(`@media (min-width:${e}px) and (max-width:${rs(W1)}){${a}${a}{padding-inline:${hC}}}`),e>$1&&s.push(`@media (min-width:${$1}px) and (max-width:${rs(e)}){`+["top","bottom","left","right"].map(l=>`.sf-pad-${l}-phone:has(>${n}),.sf-pad-${l}-phone${n}{padding-${l}:var(--sf-pad-${l[0]}-phone)!important}`).join("")+"}"),s.join("")}import{parseOption as sj}from"efficient-shell/format";var lj=["standard","editorial","simple","essay"];function La(e){if(e==="ProductGrid")return"shelf";let o=z(wt,e)?.headStyle;return sj(lj,"standard",o)}var ti={standard:64,editorial:60,simple:36,essay:28,shelf:20},ij={SectionHeader:"accent",FAQ:"accent",FitmentFinder:"accent",FitmentTable:"accent",SpecTable:"accent",RelatedProducts:"accent",Collections:"accentNum"};function dj(e){if(e==="SectionHeader")return{num:"num",title:"title",description:"description",link:!0};let o=z(wt,e);if(!o)throw new Error(`section-head-looks: "${e}" has no head row in SPLITTABLE_SECTIONS`);return{num:o.num,title:o.title,description:o.description,link:o.headRows.includes("linkText")&&o.headRows.includes("linkHref")}}function yp(e,o,t){let r=`editorial:${e}|${o}|${t}`,a=gp.get(r);if(a)return a;let n=q1({num:e,title:o,description:t,link:!1});return gp.set(r,n),n}var zo={[Ip]:hI},gI={top:0,right:0,bottom:1,left:0},Uo=(e,o,t,r)=>({sizeToken:{step:e,px:r,fluid:{minPx:o,vw:t}}}),Sp=(e,o,t={})=>ce(e,{...W("label",o),...t}),bp=(e,o)=>({kind:"text",key:e,role:"heading",props:U,style:{textStyle:"heading-2",...o}}),yI=Xt,fj=hI,SI=(e,o,t,r,a={})=>({kind:"text",key:e,props:{...re,align:"right",alignPhone:"left",...t?{maxWidth:t,maxWidthPhone:yI}:{},...a},style:{textStyle:"body-5",fontRole:"heading",alignPhone:"left",...W("body",o),...r,...a}}),K1={...ao,align:"right",alignPhone:"left",...Aa},II=e=>({kind:"button",key:"linkText",href:"linkHref",variant:"ghost",props:K1,style:{...bt(e),color:"labels"}}),j1=(e,o,t)=>{let r=t.role==="heading"?{tag:"h2"}:{};return{kind:"block",type:"Text",when:a=>a[e]===void 0,props:{...U,...r,...t.props,text:o,_partStyles:{text:{...t.role==="eyebrow"?cj(Jt()):{},...t.style}}}}},cj=e=>e._partStyles.text??{},as={widthFitPhone:"fill"};function bI(e){if(e.kind!=="group")return e;if(e.name==="Words"){let o=e.props;return{...e,props:typeof o=="function"?(t,r)=>({...o(t,r),...as}):{...o,...as}}}return{...e,parts:e.parts.map(bI)}}function pj(e,o){let t=z(ij,e),r=t==="accent",a=Sp(o.num,14,{color:r?"accent":"labels"}),n=t==="accentNum"&&a.kind==="text"?{...a,mark:"accentLead"}:a,s=bp(o.title,r?{...Uo("headingMedium",36,5,64),case:"upper",lineHeight:.95,letterSpacing:-.025}:{...W("headingMedium",56,36),case:"none",lineHeight:1,letterSpacing:-.03}),l=e==="Collections";return{kind:"group",name:"Header",props:{...L,direction:"row",align:"end",justify:"between",gap:40,gapPhone:12,share:"content",sectionBorder:gI,sectionPaddingBottom:24,sectionPaddingBottomPhone:20},parts:[{kind:"group",name:"Title",props:{...L,...as,direction:"row",align:"end",gap:40,gapPhone:12,share:"content"},parts:[{kind:"group",name:"Number",props:{...L,...as,align:"start",gap:12},parts:[{kind:"image",key:"logoSrc",alt:"logoAlt",props:{aspect:"auto",contained:!1}},n,...l?[j1(o.num,"==01== / Collections",n)]:[]]},{kind:"group",name:"Heading",props:{...L,...as},parts:[s,...l?[j1(o.title,`Three ranges,
320
- one standard.`,s)]:[]]}]},{kind:"group",name:"Words",props:{...L,...as,gap:12,maxWidth:340,maxWidthPhone:yI},parts:[...o.description?[SI(o.description,14,void 0,{lineHeight:1.5})]:[],...o.link?[II(14)]:[],...l?[{kind:"block",type:"ButtonBlock",props:{...K1,variant:"ghost",label:"View all",href:"/wheels",_partStyles:{label:II(14).style}}}]:[]]}]}}function wp(e,o){return e.kind==="text"?o.includes(e.key)?{...e,mark:"accentItalic"}:e:e.kind==="group"?{...e,parts:e.parts.map(t=>wp(t,o))}:e}function q1(e){let o=bp(e.title,{...Uo("headingMedium",40,5.5,80),case:"upper",weight:500,lineHeight:1,letterSpacing:-.03});return{kind:"group",name:"Header",props:{...L,direction:"row",align:"end",justify:"between",gap:40,gapPhone:14,share:"content",sectionBorder:gI,sectionPaddingBottom:32,...zo},parts:[{kind:"group",name:"Title",props:{...L,direction:"row",align:"end",gap:40,gapPhone:14,share:"content",...zo},parts:[{kind:"group",name:"Number",props:{...L,sectionPaddingBottom:8},parts:[{...Sp(e.num,13),props:{...U,...Ea}}]},wp(o,[e.title])]},{kind:"group",name:"Words",props:{...L,sectionPaddingBottom:4,maxWidth:360,[U1("maxWidth")]:fj,maxWidthPhone:yI},parts:e.description?[SI(e.description,14,void 0,{lineHeight:1.5},{[U1("align")]:"left"})]:[]}]}}function G1(e,o){return{kind:"group",name:"Header",props:{...L,gap:16,gapPhone:16},parts:[Sp(e.num,13),bp(e.title,o)]}}var V1=[["para",{...bt(13),weight:400,lineHeight:1,letterSpacing:.22}],["sm",{...W("headingMedium",40,28),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}],["md",{...W("headingMedium",48,32),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}],["lg",{...W("headingMedium",56,36),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}],["xl",{...W("headingMedium",64,40),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}]],uj=e=>V1.some(([o])=>o===e.titleSize)?e.titleSize:"lg";function mj(e){return{kind:"group",name:"Header",props:{...L,direction:"row",align:"center",justify:"between",gap:16,share:"content",stickTop:!0,sectionBorder:gI,sectionPaddingTop:12,sectionPaddingBottom:12},parts:[{kind:"group",name:"Title",props:{...L,direction:"row",align:"end",gap:24,share:"content"},parts:[Sp(e.num,13,{color:"labels",letterSpacing:.22,lineHeight:1}),...V1.map(([o,t])=>({...bp(e.title,t),when:r=>uj(r)===o}))]},{kind:"group",name:"Words",props:{...L,direction:"row",align:"center",justify:"end",gap:20,share:"content"},parts:[...e.description?[SI(e.description,13,340,{lineHeight:1.4})]:[],...e.link?[II(13)]:[]]}]}}function Cp(e){return La(e)==="shelf"?{titleSize:"the Header Box's title Text part: its size, as the old shelf title drew it (lib/document/blocks/general/section-head-looks)"}:{}}var gp=new Map,wI={...W("headingMedium",44,32),case:"upper",weight:500,lineHeight:1,letterSpacing:-.02};function ft(e){let o=gp.get(e);if(o)return o;let t=dj(e),r=La(e),a=r==="editorial"?q1(t):r==="simple"?G1(t,wI):r==="essay"?G1(t,{...W("headingMedium",38,28,"headingSmall"),case:"upper",lineHeight:1,letterSpacing:-.02}):r==="shelf"?mj(t):pj(e,t);return gp.set(e,a),a}var Ra={Series:"transparent",StatsParagraph:"transparent",TimelineTrack:zt,Stats:void 0};var ri=(e,o,t,r)=>({sectionBorder:{top:e,right:o,bottom:t,left:r}}),rA=e=>o=>D1(Ie(o.columns)??Ie(e.columns)),Ij="inline is the head the row draws; an own-box node is skipped (`skip`)",gj={kind:"text",key:"title",role:"heading",props:U,style:{textStyle:"heading-3",...wI}},vp=e=>{let o=ia(typeof e.background=="string"?e.background:void 0,Ra.Series);return o&&o!=="transparent"?o:void 0},kp=e=>vp(e)===zt,yj={...L,justify:"between",gap:16,gapPhone:16,sectionHeightMode:"fixed",sectionHeightValue:340,sectionHeightUnit:"px",sectionPaddingTop:36,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,sectionPaddingTopPhone:36,sectionPaddingRightPhone:28,sectionPaddingBottomPhone:32,sectionPaddingLeftPhone:28},Y1={...L,direction:"row",justify:"between",gap:12,share:"content",phoneRow:2,[vI("share")]:"content"},Sj=e=>{let o=vp(e)?1:2;return{...L,direction:"row",columns:4,columnsTablet:2,gap:o,gapPhone:o}},CI={...bt(12),letterSpacing:.22,lineHeight:1.5},X1=e=>He(e.viewLabel)&&!PI(e.viewLabel).hidden,ct=e=>PI(e).text?.trim?.()??"",Pp=e=>Object.fromEntries(Object.entries(e).filter(([,o])=>fo(o)!==void 0)),TI=e=>e.map(([o,t,r])=>({key:o,label:t,...r?{multiline:!0}:{}})),bj=TI([["num","Number"],["since","Corner note"],["title","Card title"],["body","Card body",!0],["count","Count"],["countLabel","Count word"]]),wj=TI([["label","Label"],["value","Value"],["body","Card body",!0]]),ai=(e,o,t,r,a,{reads:n=["cards"],keep:s=[]}={})=>({kind:"group",name:e,props:o,parts:[{kind:"core",as:ro,headless:!0,keep:s,derive:{reads:n,props:l=>_d(r(l),t)},slots:(l,i)=>({[Pe]:[a(l,i)]})}]}),aA=e=>Array.isArray(e.cards)?e.cards:[],nA=e=>(Array.isArray(e.items)?e.items:[]).map(o=>Pp({title:ct(o?.label),href:typeof o?.href=="string"?o.href.trim():""})).filter(o=>o.title!==void 0).map((o,t)=>({key:zs(Ym(o),t),...o})),Cj=e=>nA(e).some(o=>fo(o.href)!==void 0),sA=[{key:Um.label,label:"Feature label"},{key:Um.href,label:"Link",kind:"link"}],Z1=e=>EO(e.eyebrowLook,"KeyFeatures")==="filled",kj={name:"Key Features",boxProps:(e,o)=>({...Y,direction:"column",gap:44,gapPhone:32,...$o("surface")(e,o),...ri(1,0,1,0),...ne(e,uc)}),box:[...J,...fe(uc)],parts:[{kind:"group",name:"Heading",props:{...L,direction:"row",align:"end",gap:20,wrap:!0,share:"content",phoneRow:2,[vI("share")]:"content"},parts:[{...Jn("eyebrow"),when:Z1},{...ce("eyebrow"),when:e=>!Z1(e)},gj]},ai("Cards",e=>({...L,...Ba(rA(M1.defaultProps)(e))}),sA,nA,e=>uI(Cj(e)),{reads:["items"]})],drop:{...X,...ae,columns:'Box "Cards": its Columns and tablet Columns',eyebrowLook:"the Filled look is a Box in the main colour round the eyebrow Text; the plain look is the eyebrow Text"}},J1=(e,o)=>({...up,...$o("background")(e,o)}),Q1=e=>{let o=rA(N1.defaultProps)(e);return{...L,...Ba(o)}},vj=TI([["title","Card title"],["body","Card body",!0]]),lA=e=>(Array.isArray(e.items)?e.items:[]).map((o,t)=>({key:typeof o?.key=="string"&&o.key?o.key:zs(Ym(o),t),title:ct(o?.title),body:ct(o?.body)})),iA=e=>{let o={},t={};for(let[r,a]of Object.entries(e.props??{}))r!=="id"&&(xj(a)?t[r]=a.map(iA):o[r]=a);return{type:String(e.type),props:o,...Object.keys(t).length?{slots:t}:{}}},eA=(e,o)=>{let t=kI(e)?uI(Pj(e)):ts(),r=Array.isArray(e.template)?e.template.map(iA):[t],[a]=r;return r.length===1&&a.type===K?{...a,props:{...J1(e,o),...a.props}}:{type:K,props:{...L,...J1(e,o),name:"Card"},slots:{[we]:r}}},kI=e=>e.cardStyle==="label-only",dA=e=>lA(e).map((o,t)=>{let r=e.items[t]?.href;return Pp({key:o.key,title:o.title,href:typeof r=="string"?r.trim():""})}),Pj=e=>dA(e).some(o=>fo(o.href)!==void 0),oA=e=>Array.isArray(e.template)&&e.template.length===0,tA=["dataSource","dataSourceOptions","highlightedCard","highlightBadge"];function fA(){let e=t=>({key:hj("card"),title:c(t),body:c("A short line about this card.")}),o=[e("Card title one"),e("Card title two"),e("Card title three")];return{eyebrow:c("Label"),title:c("Section *heading.*"),items:o}}var Tj={name:"Cards",ownBoxConverts:!0,boxProps:(e,o)=>({...Y,direction:"column",gap:36,gapPhone:28,...$o("surface")(e,o),...ne(e,rc)}),box:[...J,...fe(rc)],parts:[{...ft("Cards"),when:e=>!lI(e)},{...ai("Cards",Q1,vj,lA,eA,{reads:["items"],keep:tA}),when:e=>!oA(e)&&!kI(e)},{...ai("Cards",Q1,sA,dA,eA,{reads:["items"],keep:tA}),when:e=>!oA(e)&&kI(e)}],drop:{...X,...ae,columns:'Box "Cards": its Columns and tablet Columns',cardStyle:"the Card list's template: the Cards card, or under Label only the Label only card (a cell Box, a Mark Box, the label Text)",template:"the Card list's template (the card Box takes the old cell's ground and lines)",headPlacement:"an own-box node lands without its head; inline is the head the row draws",eyebrowLook:"needs the eyebrow's Filled look on a Text block: Plain is the eyebrow start look the row draws; 2 of 62 live nodes store it (the stored-node export, 2026-10-24)"}},Oj={name:"Recurring Columns",boxProps:(e,o)=>({...Y,direction:"column",gap:60,gapPhone:60,...ri(0,0,1,0),...zo,...kp(e)?Fa(e,o):{},...cp(vp(e),e,o),...ne(e,hc)}),box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>kp(o)?Hr(e,o,t):e],...fe(hc)],skip:e=>pp(vp(e)),site:(e,o)=>kp(e.props)?Wr(e,o):[],parts:[ft("Series"),ai("Cards",Sj,bj,e=>aA(e).map(o=>Pp({num:ct(o.num),since:ct(o.since),title:ct(o.title),body:ct(o.desc),count:ct(o.entries),countLabel:ct(o.entriesLabel)})),(e,o)=>({type:K,props:{...yj,...$o("background",(t,r)=>kp(t)&&fp(t,r))(e,o),name:"Card"},slots:{[we]:[{type:K,props:{...L,name:"Words",gap:16,gapPhone:16},slots:{[we]:[{type:K,props:{...Y1,name:"Top"},slots:{[we]:[Fe("num",U,W("label",13),!0),Fe("since",U,W("label",13),!0)]}},Fe("title",{...U,tag:"h3"},{textStyle:"heading-3",...W("headingSmall",28),weight:500,case:"upper",lineHeight:1.04,letterSpacing:-.02}),Fe("body",re,{textStyle:"body-5",fontRole:"heading",...W("body",14),lineHeight:1.6})]}},{type:K,props:{...Y1,name:"Footer",align:"center",gap:0,gapPhone:0,sectionPaddingTop:16,sectionPaddingTopPhone:16,...ri(1,0,0,0),...X1(e)?{}:{[tn]:["count","countLabel"]}},slots:{[we]:[{type:K,props:{...L,name:"Count",direction:"row",align:"center",gap:12,gapPhone:12,share:"content",phoneRow:2,[vI("share")]:"content"},slots:{[we]:[Fe("count",U,CI),Fe("countLabel",re,CI)]}},...X1(e)?[{type:K,props:{...L,name:"View",maxWidthPhone:266},slots:{[we]:[{type:"Text",props:{...U,text:PI(e.viewLabel).text,_partStyles:{text:{...Jt()._partStyles.text,...CI}}}}]}}]:[]]}}]}}))],reads:{viewLabel:"a Text typed once in the card template: the far end of every card's footer",background:"the Box's theme (the band preset) or its Fill"},drop:{...X,...ae,headPlacement:Ij}},Ej={...L,direction:"row",columns:3,gap:40,gapPhone:16},_j={...L,gap:8,gapPhone:8,...wo(24),...ri(1,1,1,1)},Aj={name:"Document Detail Cards",boxProps:e=>({...Y,direction:"column",gap:40,gapPhone:16,...ri(0,0,1,0),...ne(e,fc)}),box:[...J,...fe(fc)],parts:[ai("Cards",Ej,wj,e=>aA(e).map(o=>Pp({label:ct(o.label),value:ct(o.value),body:ct(o.desc)})),(e,o)=>({type:K,props:{..._j,...$o("surface")(e,o),name:"Card"},slots:{[we]:[Fe("label",U,{...W("label",12),lineHeight:1.5},!0),{type:K,props:{...L,name:"Words",gap:14,gapPhone:14},slots:{[we]:[Fe("value",U,{textStyle:"heading-3",...W("headingSmall",20),weight:500,letterSpacing:-.015,lineHeight:1.5}),Fe("body",re,{textStyle:"body-5",fontRole:"accent",...W("body",14),italic:!0,lineHeight:1.5})]}}]}}))],drop:{...X,...ae}},cA={Cards:Tj,KeyFeatures:kj,Series:Oj,DocMetaCards:Aj};import{SITE_SIDE as XB}from"efficient-easel/screen/lib/content/length-units";import{phoneKey as Rj}from"efficient-easel/draw";import{newId as Dj}from"efficient-easel/data";import{phoneKey as Fj}from"efficient-easel/draw";import{isNode as ni}from"efficient-easel/data";var ns="cardStyle";function pA(e){let{widthPhone:o,...t}=e;return e.widthFitPhone==="fixed"?{...t,widthFitPhone:"fill"}:{...e}}var Tp={table:{items:{gap:0,gapPhone:0,columnsTablet:2},grid:{gap:0},row:{gap:0,[Fj("share")]:"content"},card:{justify:"between",gap:12,gapPhone:12,sectionHeightMode:"fixed",sectionHeightValue:242,sectionHeightUnit:"px",widthFitPhone:"fixed",widthPhone:800,sectionPaddingTop:48,sectionPaddingBottom:48,sectionPaddingLeft:32,sectionPaddingRight:32,sectionBorder:{top:1,right:1,bottom:1,left:1}}},list:{items:{gap:32,gapPhone:32,phoneRow:2},grid:{gap:32,gapPhone:32},row:{gap:32,gapPhone:32},card:{justify:"start",gap:8,gapPhone:8,sectionPaddingTop:20,sectionPaddingBottom:0,sectionBorder:{top:1,right:0,bottom:0,left:0}}}},pt={table:{...Tp.table,listCard:pA(Tp.table.card)},list:{...Tp.list,listCard:pA(Tp.list.card)}},Qhe=[{label:"Table",value:"table"},{label:"List",value:"list"}],eIe=e=>e==="table"||e==="list",Bj=e=>[...new Set([...Object.keys(pt.table[e]),...Object.keys(pt.list[e])])];function si(e,o,t){let r={...e};for(let a of Bj(o))delete r[a];return{...r,...structuredClone(pt[t][o])}}function Lj(e,o,t){let r=e.props??{},a=Array.isArray(r[Pe])?r[Pe]:[],n=a.findIndex(i=>ni(i)&&i.type===t);if(n<0)return e;let s=a[n],l=a.map((i,d)=>d===n?{...s,props:si(s.props??{},"listCard",o)}:i);return{...e,props:{...r,[Pe]:l}}}function oIe(e,o,t,r){let a=Array.isArray(e[r])?e[r]:[];if(a.some(s=>ni(s)&&s.type===ro)){let s=a.map(l=>ni(l)&&l.type===ro?Lj(l,o,t):l);return{...si(e,"items",o),[ns]:o,[r]:s}}let n=a.map(s=>{if(!ni(s)||s.type!==t)return s;let l=s.props??{},i=(Array.isArray(l[r])?l[r]:[]).map(d=>ni(d)&&d.type===t?{...d,props:si(d.props??{},"card",o)}:d);return{...s,props:{...si(l,"row",o),[r]:i}}});return{...si(e,"grid",o),[ns]:o,[r]:n}}var OI=e=>typeof e=="string"?e.trim():"";function uA(e){let o=`${OI(e.prefix)}${OI(e.value)}`,t=OI(e.suffix);return e.emphasizeAll===!0?o?`==_${o}_==`:"":`${o}${t?`==_${t}_==`:""}`}var xA={textStyle:"heading-2",...Uo("headingMedium",56,7,96),weight:500,case:"none",lineHeight:.9,letterSpacing:-.04},EI={kind:"block",type:"Text",props:{..._a,_partStyles:{text:xA}},box:[["value","text",(e,o)=>uA(o)]],when:(e,o)=>o!==void 0&&typeof o.value=="string"&&uA(o)!==""},mA=e=>He(e?.supSuffix),hA={textStyle:"body-1",fontRole:"heading",...W("body",16),lineHeight:1.5,letterSpacing:-.01},IA={color:"labels",...W("label",12),lineHeight:1.5,letterSpacing:.24},gA={...L,direction:"row",align:"start",gap:32,gapPhone:32,share:"content",phoneRow:2,[Rj("share")]:"content"},yA={textStyle:"body-5",...W("label",13),weight:500,color:"accent",letterSpacing:.18,lineHeight:1,padding:12},_I=e=>ia(e.background,Ra.StatsParagraph),li=e=>_I(e)===zt,Op=e=>({...e,sectionAccent:e.sectionAccent??0}),Nj=(e,o)=>li(e)?$o("background",(t,r)=>fp(Op(t),r))(e,o):{},Mj={name:"Stats with Text",skip:e=>_I(e)&&_I(e)!=="transparent"&&!li(e)?"it paints a colour of its own, not the section band":void 0,boxProps:(e,o)=>({...Y,direction:"column",gap:60,gapPhone:60,sectionBorder:{bottom:1},...zo,...dt(e,"StatsParagraph"),...li(e)?Fa(Op(e),o):{}}),box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>li(o)?Hr(e,Op(o),t):e],...Nr("StatsParagraph")],site:(e,o)=>li(e.props)?Wr({props:Op(e.props)},o):[],parts:[ft("StatsParagraph"),{kind:"group",name:"Stats",props:{...L,...pt.table.grid,[ns]:"table"},parts:[{kind:"list",key:"stats",name:"Stat",perRow:()=>4,rowName:"Stats row",rowProps:{...L,direction:"row",share:"equal",phoneRow:2,...pt.table.row},props:(e,o)=>({...L,...pt.table.card,...Nj(e,o)}),parts:[{...EI,when:(e,o)=>!mA(o)&&EI.when(e,o)},{kind:"group",name:"Figure",props:gA,when:(e,o)=>mA(o),parts:[EI,{kind:"text",key:"supSuffix",props:U,style:yA}]},{kind:"group",name:"Words",props:{...L,gap:4,gapPhone:4},parts:[{kind:"text",key:"label",props:U,style:hA},ce("sub",IA)]}]}]}],drop:{...X,...ae,background:"the band is the Box's theme: the site's band preset (`sectionAccent`), or a declared band-preset write; none paints nothing, and any other colour is skipped",headPlacement:"needs a row per head placement: an own-box Stats with Text draws no head (its words sit in a Section Header above it), the row always draws the head"}},Hj=new Set(["value","label",Ko]),Wj=e=>{let o=ia(typeof e.background=="string"?e.background:void 0,Ra.Stats);return!!o&&o!=="transparent"},$j={name:"Stats",skip:e=>Wj(e)?"it paints a colour inside its padding, and a Box paints its Fill over the padding too":He(e.dataSource)?"its figures come from a source":Array.isArray(e.items)&&e.items.some(o=>He(o?.[Ko]))?"a figure names a count, and each figure Text here is typed by hand until it is linked":Array.isArray(e.items)&&e.items.some(o=>Object.keys(o??{}).some(t=>!Hj.has(t)))?"a figure has a key no part here reads":Object.keys(e._partStyles??{}).some(o=>o!=="heading")?"a figure or a name has a style of its own, kept by kind, which no part here reads":void 0,boxProps:e=>({...Y,direction:"column",gap:24,gapPhone:24,...ne(e,Ic)}),box:[...J,...fe(Ic)],parts:[ce("heading",{color:"labels",...W("label",12),letterSpacing:.2}),{kind:"group",name:"Stats",props:{...L,...pt.list.grid,[ns]:"list"},parts:[{kind:"list",key:"items",name:"Stat",perRow:e=>Ie(e.columns)??4,rowName:"Stats row",rowProps:{...L,direction:"row",share:"equal",phoneRow:2,...pt.list.row},props:{...L,...pt.list.card},parts:[{kind:"text",key:"value",props:_a,style:{textStyle:"heading-2",...W("headingMedium",48,36),weight:500,case:"none",lineHeight:1,letterSpacing:-.03}},ce("label",{color:"labels",...W("label",12),letterSpacing:.2})]}]}],drop:{...X,...ae,columns:"the rows of N: one row Box per `columns` figures, which the Box draws",dataSource:"an empty source is typed figures, what the row draws; a sourced node is skipped (0 Hartes nodes)",dataSourceOptions:"read only with a source; a sourced node is skipped (0 Hartes nodes)",contained:"the Box draws the site frame now; each figure fills the Box's column",background:"only no fill reaches here: a node that paints a colour is skipped"}},SA={StatsParagraph:Mj,Stats:$j};function bA(){return{eyebrow:c("By the numbers"),title:c("What we count."),desc:c("A few numbers that matter to us."),stats:[],background:"transparent"}}var zj=[{key:"figure",label:"Figure"},{key:"superscript",label:"Superscript"},{key:"label",label:"Label"},{key:"body",label:"Text",multiline:!0}];function wA(){let e=(o,t,r,a="")=>({key:Dj("stat"),figure:o,superscript:a,label:t,body:r});return[e("28==_yr_==",c("Years in business"),c("Privately held since day one. Same two founders.")),e("==_8_==",c("Operating footprint"),c("Los Angeles \xB7 Fort Lauderdale \xB7 Bewdley \xB7 Drachten \xB7 Mumbai \xB7 Selangor \xB7 Ho Chi Minh \xB7 Sydney. Three continents covered from one California design studio."),c("cities")),e("\u221221==_%_==",c("Avg. weight saving"),c("Versus OEM equivalents, across our forged catalog.")),e("14==_\xD7_==",c("Finish steps"),c("Specified in California to a 14-step protocol. No two sets are identical."))]}function Uj(e){return{type:K,props:{...L,name:"Card",...structuredClone(pt[e].listCard)},slots:{[we]:[{type:K,props:{...gA,name:"Figure"},slots:{[we]:[Fe("figure",_a,xA),Fe("superscript",U,yA)]}},{type:K,props:{...L,name:"Words",gap:4,gapPhone:4},slots:{[we]:[Fe("label",{...U,widthFit:"fill"},hA),Fe("body",{...U,widthFit:"fill"},IA,!0)]}}]}}}function AI(e,o,t=4){return{type:K,props:{...L,name:"Stats",direction:"row",columns:t,...structuredClone(pt[o].items),[ns]:o},slots:{[we]:[{type:ro,props:_d(e,zj),slots:{[Pe]:[Uj(o)]}}]}}}var CA={heading:"Ways to pay"},kA=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],vA=()=>[{text:c("Secure encrypted checkout")},{text:c("30-day returns")}],SIe={label:"Payment Methods",drawsPictures:!0,defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};import{hiddenKeyOf as jj}from"efficient-easel/screen/lib/content/view-hide";import{parseOption as TA}from"efficient-shell/format";var Ep="Flex",Gj={FooterMenu:"MenuBlock",FooterEmailSignup:"EmailFormBlock",FooterSocial:"SocialLogosBlock"},Kj={FooterPayment:"PaymentLogosBlock"},qj=e=>{let{id:o,...t}=e;return t},PA=e=>typeof e=="string"?e:"",ss={sm:12,md:13,lg:15},OA={sm:{mark:16,words:ss.sm},md:{mark:20,words:ss.md}},Vj="md",EA=1.5,Yj={size:13,lineHeight:EA,width:280},Xj=14,Zj=40,Jj=e=>TA(["left","center","right"],"left",e);function Qj(e){let o={},t=[["padTop","sectionPaddingTop"],["padRight","sectionPaddingRight"],["padBottom","sectionPaddingBottom"],["padLeft","sectionPaddingLeft"]];for(let[r,a]of t){let n=Ie(e[r]);n&&(o[a]=n)}return o}function eG(e,o,t){let r=t(e,qj(o));if(Array.isArray(o.template))return{...r,props:{...r.props,template:_A(o.template,String(r.props.id))}};if(o.template!==void 0)return r;let a=Cd(e,r.props);return a===r.props?r:{...r,props:a}}function _A(e,o,t={at:0}){return e.map(r=>{let a={...r.props,id:`${o}~t${t.at++}`};for(let n of Lt(r))a[n]=_A(a[n],o,t);return{...r,props:a}})}function AA(e,o,t){let r=e.props??{},a=t?.(e,o);if(a)return a;let n=z(Gj,e.type)??z(Kj,e.type);if(n)return[eG(n,r,o)];switch(e.type){case"FooterLogo":{let s=Jj(r.align),l=o("LogoBlock",{...r.reverse?{reverse:r.reverse}:{},...typeof r.customColor=="string"&&r.customColor?{customColor:r.customColor}:{},heightPx:Math.round(Qv*((Ie(r.widthPct)??100)/100)),href:"/",align:s,...Qj(r)}),i=PA(r.tagline).trim();return i?[l,o("Text",{text:i,tone:"dim",align:s,_partStyles:{text:{...Yj}}})]:[l]}case"FooterText":{let s=typeof r.size=="string"&&co(ss,r.size)?r.size:Vj;return[o("Text",{text:PA(r.text),tone:typeof r.tone=="string"?r.tone:"default",_partStyles:{text:{size:ss[s],lineHeight:EA}}})]}case"FooterDivider":{let s=Ie(r.thickness),l=Ie(r.lengthPct);return[o("Divider",{...s!==void 0?{thickness:s}:{},...l!==void 0?{lengthPct:l}:{},...r.hideOnMobile===!0?{[jj("mobile")]:!0}:{}})]}case"FooterGroup":{let s=Array.isArray(r.blocks)?r.blocks:[];return[o(Ep,{direction:r.direction==="horizontal"?"row":"column",gap:eP("FooterGroup",r.gap),align:TA(["start","center","end","stretch"],"start",r.align),...Mm,content:s.flatMap(l=>AA(l,o,t))})]}default:return[]}}function ii(e,o,t,r){let a=e&&Array.isArray(e.props?.blocks)?e.props.blocks:[],n=f=>o(Ep,{direction:"row",wrap:!0,share:"equal",gap:Zj,content:f}),s=[],l=[];for(let f of a){let x=AA(f,o,r);if(f.type==="FooterDivider"){l.length&&s.push(n(l)),l=[],s.push(...x);continue}x.length<=1?l.push(...x):l.push(o(Ep,{direction:"column",gap:Xj,align:"stretch",...Mm,content:x}))}(l.length||!s.length)&&s.push(n(l));let i=o(Ep,{direction:"column",content:[o("LegalLineBlock")]}),d=sP(Je,t,[...s,i]);return{...d,props:{...d.props,...e?.props?.width==="full"?{fullWidth:!0}:{}}}}import{phoneKey as FI,readHidable as oG}from"efficient-easel/draw";import{parseOption as tG}from"efficient-shell/format";var BI={contained:!1},LI=(e,o)=>({logos:[{kind:"list",key:e,name:"Logo",flat:!0,parts:[{kind:"block",type:"LogoBlock",box:["src",[o,"alt"]],when:(t,r)=>He(r?.src)||He(r?.[o])}]}]}),rG={...ce("heading",{color:"labels",letterSpacing:.2}),props:{...U,align:"center"}},aG={name:"Logos",boxProps:e=>({...Y,direction:"column",gap:32,...ne(e,Cl(e))}),box:[...J,...fe(Cl),["bandPadding","sectionPaddingTop",(e,o)=>ne(o,Cl(o)).sectionPaddingTop]],parts:[rG,{kind:"core",keep:["columns","logoHeight","grayscale"],rename:{logosPerRow:"columns"},props:BI,slots:LI("items","alt")}],drop:{...X,...ae,contained:"the Box draws the site frame now; the Logos block inside it fills the Box's column (`contained: false`)",headPlacement:"a Logos band has no split head (not in SPLITTABLE_SECTIONS): no stored node can hold one, and the converted block stores own-box"}},nG={kind:"group",name:"Mark",keepEmpty:!0,parts:[],props:nw(4,"main",{sectionCorners:2})},sG={name:"Payment Methods",boxProps:e=>({...Y,direction:"column",...ne(e,sc)}),box:[...J,...fe(sc)],parts:[{kind:"group",name:"Methods",props:{...L,align:"center",gap:20,gapPhone:20,sectionBorder:{top:1,bottom:1},sectionPaddingTop:32,sectionPaddingBottom:32},parts:[{...ce("heading",{color:"labels"}),props:{...U,align:"center"}},{kind:"core",keep:[],as:"Logos",derive:{reads:[to,Yt],props:e=>He(e[to])?{[to]:e[to],...e[Yt]!==void 0?{[Yt]:e[Yt]}:{}}:{}},props:{...BI,look:"cards",grayscale:!1},slots:e=>({...LI("badges","label"),...He(e[to])?{[Pe]:[Gm()]}:{}})},{kind:"group",name:"Reassurance",props:{...L,direction:"row",wrap:!0,justify:"center",gap:24,gapPhone:24,phoneRow:2,[FI("share")]:"content"},parts:[{kind:"list",key:"assurances",name:"Line",of:e=>(Array.isArray(e.assurances)?e.assurances:[]).filter(o=>He(o?.text)),props:{...L,direction:"row",align:"center",gap:8,gapPhone:8,phoneRow:2,[FI("share")]:"content"},item:e=>oG(e.text).hidden?{props:{_hidden:!0}}:{},parts:[nG,{kind:"text",key:"text",props:{...U,align:"center"},style:{...W("label",13),color:"labels",lineHeight:1.5}}]}]}]}],drop:{...X,...ae,contained:"the Box draws the site frame now; the Logos block inside it fills the Box's column (`contained: false`)"}},FA=e=>Jb(e.align)??"left",BA=e=>tG(["sm","md"],"sm",e.size),LA=12,RA={name:"Payment logos",boxProps:e=>({...L,direction:"row",wrap:!0,align:"center",justify:hd[FA(e)],gap:LA,gapPhone:LA,phoneRow:2,[FI("share")]:"content"}),box:[...Sr],parts:[{kind:"text",key:"lead",props:re,styleFrom:e=>({size:ss[BA(e)],lineHeight:1.5})},{kind:"core",keep:[],as:"Logos",derive:{reads:[to,Yt],props:e=>({logoHeight:OA[BA(e)].mark,align:FA(e),...He(e[to])?{[to]:e[to],...e[Yt]!==void 0?{[Yt]:e[Yt]}:{}}:{}})},props:{...BI,look:"marks",grayscale:!1,sectionAccent:gr},slots:e=>({...LI("methods","label"),...He(e[to])?{[Pe]:[Gm()]}:{}})}],drop:{size:"read as the wall's Logo height (S 16, M 20) and the lead's size (the footer size table, 12 / 13)",align:"read as the Box's justify and the wall's own Alignment (start is left, end is right)",editing:"the editor's preview flag, never a stored setting: the editor tells every block it is editing"}},DA={Logos:aG,PaymentBadges:sG,FooterPayment:RA,PaymentLogosBlock:RA},NA=()=>({heading:DE.heading,items:$c()}),MA=()=>({heading:CA.heading,badges:kA(),assurances:vA()}),HA=()=>({...mf,methods:[]});import{mixHex as cG}from"efficient-shell/format";import{MOTION_EASING as lG,MOTION_TIMING as WA,motionSeconds as $A,parseOption as zA}from"efficient-shell/format";var RI="none",_p=[{label:"None",value:"none"},{label:"Marquee",value:"scroll"}];function ZIe(e){return zA(_p,RI,e)}var ls="_gLoop",di={field:"loop",is:"scroll"},fi="left",DI=[{label:"Left",value:"left",cell:"left"},{label:"Right",value:"right",cell:"right"},{label:"Up",value:"up",cell:"top"},{label:"Down",value:"down",cell:"bottom"}],iG={left:"storefront-ticker",right:"storefront-ticker-right",up:"storefront-ticker-up",down:"storefront-ticker-down"};function UA(e){return zA(DI,fi,e)}function jA(e){return e==="up"||e==="down"}function Ap(e){return $A("loop","duration",e.loopDuration!=null?e.loopDuration:e.speed)}var JIe=WA.loop.duration.default,dG=WA.loop.delay.default;function GA(e){return $A("loop","delay",e.loopDelay)}function QIe(e,o,t=dG){return`${iG[e]} ${o}s ${lG.loop}${t?` ${t}s`:""} infinite`}var Fp="_gEntrance";var rge="none",age=[{label:"Nothing",value:"none"},{label:"Section above",value:"above"},{label:"Section below",value:"below"}];function Bp(e){return e==="above"||e==="below"?e:null}var KA="sf-ticker-join";function fG(e){return e==="above"?"sf-ticker-join-above":"sf-ticker-join-below"}function qA(e){return`absolute inset-x-0 ${fG(e)}`}var VA=e=>e.size==="display",pG=(e,o)=>{let t=dp(e,o),r=e.tone!=="plain"&&t?.text&&t.background?cG(t.text,t.background,.3):null;return r?{color:r}:{}},uG=(e,o)=>e.tone!=="plain"&&tx(e.sectionAccent)===null?$o("background")(e,o):{},YA=(e,o)=>({kind:"list",key:"items",name:"Item",flat:!0,when:o,parts:[{kind:"text",key:"text",props:re,style:e,styleFrom:pG}]}),mG={name:"Scrolling Bar",boxProps:(e,o)=>({...Y,...ua,...ec,...ow[Nm(e.separator)]===""?rO:{},...ne(e,ma),...uG(e,o)}),box:[["scrollDirection","scrollDirection",e=>UA(e)],["speed","loopDuration",(e,o)=>o.loopDuration!=null?o.loopDuration:e],["loopDuration","loopDuration",(e,o)=>e??o.speed],["loopDelay","loopDelay",e=>e],["separator","separator",e=>Nm(e)],["join","join",e=>Bp(e)??void 0],["borders","sectionBorder",e=>e===!1?void 0:{top:1,bottom:1}],...J,["tone","sectionAccent",(e,o)=>tx(o.sectionAccent)??gr],...fe(ma)],parts:[YA(oc,e=>!VA(e)),YA(aO,VA)],drop:{...X,...ae,size:"each item's Text style: Small \u2192 Body 5, Display \u2192 Heading 3"}},XA=e=>e?.tone==="muted",ZA=e=>Ad(Pa(e)),xG={name:"Spec Strip",boxProps:(e,o)=>({...Y,...ua,...gl,...e.fill==="none"?{sectionBorder:{top:1}}:{sectionAccent:ZA(o)},...ne(e,xa)}),box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>o.fill==="none"?e:ZA(t)],...fe(xa)],parts:[{kind:"list",key:"cells",name:"Cell",flat:!0,parts:[{kind:"text",key:"text",props:U,style:yl,when:(e,o)=>!XA(o)},{kind:"text",key:"text",props:re,style:yl,when:(e,o)=>XA(o)}]}],drop:{...X,...ae,...ip,fill:"None \u2192 no fill and a line on top. Dark band (the default) \u2192 the Box's theme is the site's first dark preset that is not its page (lib/theme `darkBandIndex`; Theme 2 with no site theme): the old fixed `plate-band` colour, as a theme"}},JA={Ticker:mG,SpecStrip:xG};import{tabletKey as QA}from"efficient-easel/screen/lib/content/view-tiers";var eF={direction:"column",justify:"between",gap:14,gapPhone:14,sectionPaddingLeft:14,sectionPaddingRight:14,[QA("sectionPaddingLeft")]:0,sectionPaddingLeftPhone:0,sectionHeightMode:"fixed",sectionHeightValue:280,sectionHeightUnit:"px",[QA("sectionHeightMode")]:"auto",sectionHeightModePhone:"auto"},NI={name:"Year and title",direction:"column",gap:14,gapPhone:14};import{tabletKey as hG}from"efficient-easel/draw";var Lp={eyebrow:Te.eyebrow,title:`Section heading
320
+ one standard.`,s)]:[]]}]},{kind:"group",name:"Words",props:{...L,...as,gap:12,maxWidth:340,maxWidthPhone:yI},parts:[...o.description?[SI(o.description,14,void 0,{lineHeight:1.5})]:[],...o.link?[II(14)]:[],...l?[{kind:"block",type:"ButtonBlock",props:{...K1,variant:"ghost",label:"View all",href:"/wheels",_partStyles:{label:II(14).style}}}]:[]]}]}}function wp(e,o){return e.kind==="text"?o.includes(e.key)?{...e,mark:"accentItalic"}:e:e.kind==="group"?{...e,parts:e.parts.map(t=>wp(t,o))}:e}function q1(e){let o=bp(e.title,{...Uo("headingMedium",40,5.5,80),case:"upper",weight:500,lineHeight:1,letterSpacing:-.03});return{kind:"group",name:"Header",props:{...L,direction:"row",align:"end",justify:"between",gap:40,gapPhone:14,share:"content",sectionBorder:gI,sectionPaddingBottom:32,...zo},parts:[{kind:"group",name:"Title",props:{...L,direction:"row",align:"end",gap:40,gapPhone:14,share:"content",...zo},parts:[{kind:"group",name:"Number",props:{...L,sectionPaddingBottom:8},parts:[{...Sp(e.num,13),props:{...U,...Ea}}]},wp(o,[e.title])]},{kind:"group",name:"Words",props:{...L,sectionPaddingBottom:4,maxWidth:360,[U1("maxWidth")]:fj,maxWidthPhone:yI},parts:e.description?[SI(e.description,14,void 0,{lineHeight:1.5},{[U1("align")]:"left"})]:[]}]}}function G1(e,o){return{kind:"group",name:"Header",props:{...L,gap:16,gapPhone:16},parts:[Sp(e.num,13),bp(e.title,o)]}}var V1=[["para",{...bt(13),weight:400,lineHeight:1,letterSpacing:.22}],["sm",{...W("headingMedium",40,28),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}],["md",{...W("headingMedium",48,32),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}],["lg",{...W("headingMedium",56,36),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}],["xl",{...W("headingMedium",64,40),case:"none",weight:500,lineHeight:1,letterSpacing:-.03}]],uj=e=>V1.some(([o])=>o===e.titleSize)?e.titleSize:"lg";function mj(e){return{kind:"group",name:"Header",props:{...L,direction:"row",align:"center",justify:"between",gap:16,share:"content",stickTop:!0,sectionBorder:gI,sectionPaddingTop:12,sectionPaddingBottom:12},parts:[{kind:"group",name:"Title",props:{...L,direction:"row",align:"end",gap:24,share:"content"},parts:[Sp(e.num,13,{color:"labels",letterSpacing:.22,lineHeight:1}),...V1.map(([o,t])=>({...bp(e.title,t),when:r=>uj(r)===o}))]},{kind:"group",name:"Words",props:{...L,direction:"row",align:"center",justify:"end",gap:20,share:"content"},parts:[...e.description?[SI(e.description,13,340,{lineHeight:1.4})]:[],...e.link?[II(13)]:[]]}]}}function Cp(e){return La(e)==="shelf"?{titleSize:"the Header Box's title Text part: its size, as the old shelf title drew it (lib/document/blocks/general/section-head-looks)"}:{}}var gp=new Map,wI={...W("headingMedium",44,32),case:"upper",weight:500,lineHeight:1,letterSpacing:-.02};function ft(e){let o=gp.get(e);if(o)return o;let t=dj(e),r=La(e),a=r==="editorial"?q1(t):r==="simple"?G1(t,wI):r==="essay"?G1(t,{...W("headingMedium",38,28,"headingSmall"),case:"upper",lineHeight:1,letterSpacing:-.02}):r==="shelf"?mj(t):pj(e,t);return gp.set(e,a),a}var Ra={Series:"transparent",StatsParagraph:"transparent",TimelineTrack:zt,Stats:void 0};var ri=(e,o,t,r)=>({sectionBorder:{top:e,right:o,bottom:t,left:r}}),rA=e=>o=>D1(Ie(o.columns)??Ie(e.columns)),Ij="inline is the head the row draws; an own-box node is skipped (`skip`)",gj={kind:"text",key:"title",role:"heading",props:U,style:{textStyle:"heading-3",...wI}},vp=e=>{let o=ia(typeof e.background=="string"?e.background:void 0,Ra.Series);return o&&o!=="transparent"?o:void 0},kp=e=>vp(e)===zt,yj={...L,justify:"between",gap:16,gapPhone:16,sectionHeightMode:"fixed",sectionHeightValue:340,sectionHeightUnit:"px",sectionPaddingTop:36,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,sectionPaddingTopPhone:36,sectionPaddingRightPhone:28,sectionPaddingBottomPhone:32,sectionPaddingLeftPhone:28},Y1={...L,direction:"row",justify:"between",gap:12,share:"content",phoneRow:2,[vI("share")]:"content"},Sj=e=>{let o=vp(e)?1:2;return{...L,direction:"row",columns:4,columnsTablet:2,gap:o,gapPhone:o}},CI={...bt(12),letterSpacing:.22,lineHeight:1.5},X1=e=>He(e.viewLabel)&&!PI(e.viewLabel).hidden,ct=e=>PI(e).text?.trim?.()??"",Pp=e=>Object.fromEntries(Object.entries(e).filter(([,o])=>fo(o)!==void 0)),TI=e=>e.map(([o,t,r])=>({key:o,label:t,...r?{multiline:!0}:{}})),bj=TI([["num","Number"],["since","Corner note"],["title","Card title"],["body","Card body",!0],["count","Count"],["countLabel","Count word"]]),wj=TI([["label","Label"],["value","Value"],["body","Card body",!0]]),ai=(e,o,t,r,a,{reads:n=["cards"],keep:s=[]}={})=>({kind:"group",name:e,props:o,parts:[{kind:"core",as:ro,headless:!0,keep:s,derive:{reads:n,props:l=>_d(r(l),t)},slots:(l,i)=>({[Pe]:[a(l,i)]})}]}),aA=e=>Array.isArray(e.cards)?e.cards:[],nA=e=>(Array.isArray(e.items)?e.items:[]).map(o=>Pp({title:ct(o?.label),href:typeof o?.href=="string"?o.href.trim():""})).filter(o=>o.title!==void 0).map((o,t)=>({key:zs(Ym(o),t),...o})),Cj=e=>nA(e).some(o=>fo(o.href)!==void 0),sA=[{key:Um.label,label:"Feature label"},{key:Um.href,label:"Link",kind:"link"}],Z1=e=>EO(e.eyebrowLook,"KeyFeatures")==="filled",kj={name:"Key Features",boxProps:(e,o)=>({...Y,direction:"column",gap:44,gapPhone:32,...$o("surface")(e,o),...ri(1,0,1,0),...ne(e,uc)}),box:[...J,...fe(uc)],parts:[{kind:"group",name:"Heading",props:{...L,direction:"row",align:"end",gap:20,wrap:!0,share:"content",phoneRow:2,[vI("share")]:"content"},parts:[{...Jn("eyebrow"),when:Z1},{...ce("eyebrow"),when:e=>!Z1(e)},gj]},ai("Cards",e=>({...L,...Ba(rA(M1.defaultProps)(e))}),sA,nA,e=>uI(Cj(e)),{reads:["items"]})],drop:{...X,...ae,columns:'Box "Cards": its Columns and tablet Columns',eyebrowLook:"the Filled look is a Box in the main colour round the eyebrow Text; the plain look is the eyebrow Text"}},J1=(e,o)=>({...up,...$o("background")(e,o)}),Q1=e=>{let o=rA(N1.defaultProps)(e);return{...L,...Ba(o)}},vj=TI([["title","Card title"],["body","Card body",!0]]),lA=e=>(Array.isArray(e.items)?e.items:[]).map((o,t)=>({key:typeof o?.key=="string"&&o.key?o.key:zs(Ym(o),t),title:ct(o?.title),body:ct(o?.body)})),iA=e=>{let o={},t={};for(let[r,a]of Object.entries(e.props??{}))r!=="id"&&(xj(a)?t[r]=a.map(iA):o[r]=a);return{type:String(e.type),props:o,...Object.keys(t).length?{slots:t}:{}}},eA=(e,o)=>{let t=kI(e)?uI(Pj(e)):ts(),r=Array.isArray(e.template)?e.template.map(iA):[t],[a]=r;return r.length===1&&a.type===K?{...a,props:{...J1(e,o),...a.props}}:{type:K,props:{...L,...J1(e,o),name:"Card"},slots:{[we]:r}}},kI=e=>e.cardStyle==="label-only",dA=e=>lA(e).map((o,t)=>{let r=e.items[t]?.href;return Pp({key:o.key,title:o.title,href:typeof r=="string"?r.trim():""})}),Pj=e=>dA(e).some(o=>fo(o.href)!==void 0),oA=e=>Array.isArray(e.template)&&e.template.length===0,tA=["dataSource","dataSourceOptions","highlightedCard","highlightBadge"];function fA(){let e=t=>({key:hj("card"),title:c(t),body:c("A short line about this card.")}),o=[e("Card title one"),e("Card title two"),e("Card title three")];return{eyebrow:c("Label"),title:c("Section *heading.*"),items:o}}var Tj={name:"Cards",ownBoxConverts:!0,boxProps:(e,o)=>({...Y,direction:"column",gap:36,gapPhone:28,...$o("surface")(e,o),...ne(e,rc)}),box:[...J,...fe(rc)],parts:[{...ft("Cards"),when:e=>!lI(e)},{...ai("Cards",Q1,vj,lA,eA,{reads:["items"],keep:tA}),when:e=>!oA(e)&&!kI(e)},{...ai("Cards",Q1,sA,dA,eA,{reads:["items"],keep:tA}),when:e=>!oA(e)&&kI(e)}],drop:{...X,...ae,columns:'Box "Cards": its Columns and tablet Columns',fillLastRow:"a Box's cells have no span: a short last row lands with its cells one column each, as the switch off draws (a cell can be widened by hand)",cardStyle:"the Card list's template: the Cards card, or under Label only the Label only card (a cell Box, a Mark Box, the label Text)",template:"the Card list's template (the card Box takes the old cell's ground and lines)",headPlacement:"an own-box node lands without its head; inline is the head the row draws",eyebrowLook:"needs the eyebrow's Filled look on a Text block: Plain is the eyebrow start look the row draws; 2 of 62 live nodes store it (the stored-node export, 2026-10-24)"}},Oj={name:"Recurring Columns",boxProps:(e,o)=>({...Y,direction:"column",gap:60,gapPhone:60,...ri(0,0,1,0),...zo,...kp(e)?Fa(e,o):{},...cp(vp(e),e,o),...ne(e,hc)}),box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>kp(o)?Hr(e,o,t):e],...fe(hc)],skip:e=>pp(vp(e)),site:(e,o)=>kp(e.props)?Wr(e,o):[],parts:[ft("Series"),ai("Cards",Sj,bj,e=>aA(e).map(o=>Pp({num:ct(o.num),since:ct(o.since),title:ct(o.title),body:ct(o.desc),count:ct(o.entries),countLabel:ct(o.entriesLabel)})),(e,o)=>({type:K,props:{...yj,...$o("background",(t,r)=>kp(t)&&fp(t,r))(e,o),name:"Card"},slots:{[we]:[{type:K,props:{...L,name:"Words",gap:16,gapPhone:16},slots:{[we]:[{type:K,props:{...Y1,name:"Top"},slots:{[we]:[Fe("num",U,W("label",13),!0),Fe("since",U,W("label",13),!0)]}},Fe("title",{...U,tag:"h3"},{textStyle:"heading-3",...W("headingSmall",28),weight:500,case:"upper",lineHeight:1.04,letterSpacing:-.02}),Fe("body",re,{textStyle:"body-5",fontRole:"heading",...W("body",14),lineHeight:1.6})]}},{type:K,props:{...Y1,name:"Footer",align:"center",gap:0,gapPhone:0,sectionPaddingTop:16,sectionPaddingTopPhone:16,...ri(1,0,0,0),...X1(e)?{}:{[tn]:["count","countLabel"]}},slots:{[we]:[{type:K,props:{...L,name:"Count",direction:"row",align:"center",gap:12,gapPhone:12,share:"content",phoneRow:2,[vI("share")]:"content"},slots:{[we]:[Fe("count",U,CI),Fe("countLabel",re,CI)]}},...X1(e)?[{type:K,props:{...L,name:"View",maxWidthPhone:266},slots:{[we]:[{type:"Text",props:{...U,text:PI(e.viewLabel).text,_partStyles:{text:{...Jt()._partStyles.text,...CI}}}}]}}]:[]]}}]}}))],reads:{viewLabel:"a Text typed once in the card template: the far end of every card's footer",background:"the Box's theme (the band preset) or its Fill"},drop:{...X,...ae,headPlacement:Ij}},Ej={...L,direction:"row",columns:3,gap:40,gapPhone:16},_j={...L,gap:8,gapPhone:8,...wo(24),...ri(1,1,1,1)},Aj={name:"Document Detail Cards",boxProps:e=>({...Y,direction:"column",gap:40,gapPhone:16,...ri(0,0,1,0),...ne(e,fc)}),box:[...J,...fe(fc)],parts:[ai("Cards",Ej,wj,e=>aA(e).map(o=>Pp({label:ct(o.label),value:ct(o.value),body:ct(o.desc)})),(e,o)=>({type:K,props:{..._j,...$o("surface")(e,o),name:"Card"},slots:{[we]:[Fe("label",U,{...W("label",12),lineHeight:1.5},!0),{type:K,props:{...L,name:"Words",gap:14,gapPhone:14},slots:{[we]:[Fe("value",U,{textStyle:"heading-3",...W("headingSmall",20),weight:500,letterSpacing:-.015,lineHeight:1.5}),Fe("body",re,{textStyle:"body-5",fontRole:"accent",...W("body",14),italic:!0,lineHeight:1.5})]}}]}}))],drop:{...X,...ae}},cA={Cards:Tj,KeyFeatures:kj,Series:Oj,DocMetaCards:Aj};import{SITE_SIDE as XB}from"efficient-easel/screen/lib/content/length-units";import{phoneKey as Rj}from"efficient-easel/draw";import{newId as Dj}from"efficient-easel/data";import{phoneKey as Fj}from"efficient-easel/draw";import{isNode as ni}from"efficient-easel/data";var ns="cardStyle";function pA(e){let{widthPhone:o,...t}=e;return e.widthFitPhone==="fixed"?{...t,widthFitPhone:"fill"}:{...e}}var Tp={table:{items:{gap:0,gapPhone:0,columnsTablet:2},grid:{gap:0},row:{gap:0,[Fj("share")]:"content"},card:{justify:"between",gap:12,gapPhone:12,sectionHeightMode:"fixed",sectionHeightValue:242,sectionHeightUnit:"px",widthFitPhone:"fixed",widthPhone:800,sectionPaddingTop:48,sectionPaddingBottom:48,sectionPaddingLeft:32,sectionPaddingRight:32,sectionBorder:{top:1,right:1,bottom:1,left:1}}},list:{items:{gap:32,gapPhone:32,phoneRow:2},grid:{gap:32,gapPhone:32},row:{gap:32,gapPhone:32},card:{justify:"start",gap:8,gapPhone:8,sectionPaddingTop:20,sectionPaddingBottom:0,sectionBorder:{top:1,right:0,bottom:0,left:0}}}},pt={table:{...Tp.table,listCard:pA(Tp.table.card)},list:{...Tp.list,listCard:pA(Tp.list.card)}},Qhe=[{label:"Table",value:"table"},{label:"List",value:"list"}],eIe=e=>e==="table"||e==="list",Bj=e=>[...new Set([...Object.keys(pt.table[e]),...Object.keys(pt.list[e])])];function si(e,o,t){let r={...e};for(let a of Bj(o))delete r[a];return{...r,...structuredClone(pt[t][o])}}function Lj(e,o,t){let r=e.props??{},a=Array.isArray(r[Pe])?r[Pe]:[],n=a.findIndex(i=>ni(i)&&i.type===t);if(n<0)return e;let s=a[n],l=a.map((i,d)=>d===n?{...s,props:si(s.props??{},"listCard",o)}:i);return{...e,props:{...r,[Pe]:l}}}function oIe(e,o,t,r){let a=Array.isArray(e[r])?e[r]:[];if(a.some(s=>ni(s)&&s.type===ro)){let s=a.map(l=>ni(l)&&l.type===ro?Lj(l,o,t):l);return{...si(e,"items",o),[ns]:o,[r]:s}}let n=a.map(s=>{if(!ni(s)||s.type!==t)return s;let l=s.props??{},i=(Array.isArray(l[r])?l[r]:[]).map(d=>ni(d)&&d.type===t?{...d,props:si(d.props??{},"card",o)}:d);return{...s,props:{...si(l,"row",o),[r]:i}}});return{...si(e,"grid",o),[ns]:o,[r]:n}}var OI=e=>typeof e=="string"?e.trim():"";function uA(e){let o=`${OI(e.prefix)}${OI(e.value)}`,t=OI(e.suffix);return e.emphasizeAll===!0?o?`==_${o}_==`:"":`${o}${t?`==_${t}_==`:""}`}var xA={textStyle:"heading-2",...Uo("headingMedium",56,7,96),weight:500,case:"none",lineHeight:.9,letterSpacing:-.04},EI={kind:"block",type:"Text",props:{..._a,_partStyles:{text:xA}},box:[["value","text",(e,o)=>uA(o)]],when:(e,o)=>o!==void 0&&typeof o.value=="string"&&uA(o)!==""},mA=e=>He(e?.supSuffix),hA={textStyle:"body-1",fontRole:"heading",...W("body",16),lineHeight:1.5,letterSpacing:-.01},IA={color:"labels",...W("label",12),lineHeight:1.5,letterSpacing:.24},gA={...L,direction:"row",align:"start",gap:32,gapPhone:32,share:"content",phoneRow:2,[Rj("share")]:"content"},yA={textStyle:"body-5",...W("label",13),weight:500,color:"accent",letterSpacing:.18,lineHeight:1,padding:12},_I=e=>ia(e.background,Ra.StatsParagraph),li=e=>_I(e)===zt,Op=e=>({...e,sectionAccent:e.sectionAccent??0}),Nj=(e,o)=>li(e)?$o("background",(t,r)=>fp(Op(t),r))(e,o):{},Mj={name:"Stats with Text",skip:e=>_I(e)&&_I(e)!=="transparent"&&!li(e)?"it paints a colour of its own, not the section band":void 0,boxProps:(e,o)=>({...Y,direction:"column",gap:60,gapPhone:60,sectionBorder:{bottom:1},...zo,...dt(e,"StatsParagraph"),...li(e)?Fa(Op(e),o):{}}),box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>li(o)?Hr(e,Op(o),t):e],...Nr("StatsParagraph")],site:(e,o)=>li(e.props)?Wr({props:Op(e.props)},o):[],parts:[ft("StatsParagraph"),{kind:"group",name:"Stats",props:{...L,...pt.table.grid,[ns]:"table"},parts:[{kind:"list",key:"stats",name:"Stat",perRow:()=>4,rowName:"Stats row",rowProps:{...L,direction:"row",share:"equal",phoneRow:2,...pt.table.row},props:(e,o)=>({...L,...pt.table.card,...Nj(e,o)}),parts:[{...EI,when:(e,o)=>!mA(o)&&EI.when(e,o)},{kind:"group",name:"Figure",props:gA,when:(e,o)=>mA(o),parts:[EI,{kind:"text",key:"supSuffix",props:U,style:yA}]},{kind:"group",name:"Words",props:{...L,gap:4,gapPhone:4},parts:[{kind:"text",key:"label",props:U,style:hA},ce("sub",IA)]}]}]}],drop:{...X,...ae,background:"the band is the Box's theme: the site's band preset (`sectionAccent`), or a declared band-preset write; none paints nothing, and any other colour is skipped",headPlacement:"needs a row per head placement: an own-box Stats with Text draws no head (its words sit in a Section Header above it), the row always draws the head"}},Hj=new Set(["value","label",Ko]),Wj=e=>{let o=ia(typeof e.background=="string"?e.background:void 0,Ra.Stats);return!!o&&o!=="transparent"},$j={name:"Stats",skip:e=>Wj(e)?"it paints a colour inside its padding, and a Box paints its Fill over the padding too":He(e.dataSource)?"its figures come from a source":Array.isArray(e.items)&&e.items.some(o=>He(o?.[Ko]))?"a figure names a count, and each figure Text here is typed by hand until it is linked":Array.isArray(e.items)&&e.items.some(o=>Object.keys(o??{}).some(t=>!Hj.has(t)))?"a figure has a key no part here reads":Object.keys(e._partStyles??{}).some(o=>o!=="heading")?"a figure or a name has a style of its own, kept by kind, which no part here reads":void 0,boxProps:e=>({...Y,direction:"column",gap:24,gapPhone:24,...ne(e,Ic)}),box:[...J,...fe(Ic)],parts:[ce("heading",{color:"labels",...W("label",12),letterSpacing:.2}),{kind:"group",name:"Stats",props:{...L,...pt.list.grid,[ns]:"list"},parts:[{kind:"list",key:"items",name:"Stat",perRow:e=>Ie(e.columns)??4,rowName:"Stats row",rowProps:{...L,direction:"row",share:"equal",phoneRow:2,...pt.list.row},props:{...L,...pt.list.card},parts:[{kind:"text",key:"value",props:_a,style:{textStyle:"heading-2",...W("headingMedium",48,36),weight:500,case:"none",lineHeight:1,letterSpacing:-.03}},ce("label",{color:"labels",...W("label",12),letterSpacing:.2})]}]}],drop:{...X,...ae,columns:"the rows of N: one row Box per `columns` figures, which the Box draws",dataSource:"an empty source is typed figures, what the row draws; a sourced node is skipped (0 Hartes nodes)",dataSourceOptions:"read only with a source; a sourced node is skipped (0 Hartes nodes)",contained:"the Box draws the site frame now; each figure fills the Box's column",background:"only no fill reaches here: a node that paints a colour is skipped"}},SA={StatsParagraph:Mj,Stats:$j};function bA(){return{eyebrow:c("By the numbers"),title:c("What we count."),desc:c("A few numbers that matter to us."),stats:[],background:"transparent"}}var zj=[{key:"figure",label:"Figure"},{key:"superscript",label:"Superscript"},{key:"label",label:"Label"},{key:"body",label:"Text",multiline:!0}];function wA(){let e=(o,t,r,a="")=>({key:Dj("stat"),figure:o,superscript:a,label:t,body:r});return[e("28==_yr_==",c("Years in business"),c("Privately held since day one. Same two founders.")),e("==_8_==",c("Operating footprint"),c("Los Angeles \xB7 Fort Lauderdale \xB7 Bewdley \xB7 Drachten \xB7 Mumbai \xB7 Selangor \xB7 Ho Chi Minh \xB7 Sydney. Three continents covered from one California design studio."),c("cities")),e("\u221221==_%_==",c("Avg. weight saving"),c("Versus OEM equivalents, across our forged catalog.")),e("14==_\xD7_==",c("Finish steps"),c("Specified in California to a 14-step protocol. No two sets are identical."))]}function Uj(e){return{type:K,props:{...L,name:"Card",...structuredClone(pt[e].listCard)},slots:{[we]:[{type:K,props:{...gA,name:"Figure"},slots:{[we]:[Fe("figure",_a,xA),Fe("superscript",U,yA)]}},{type:K,props:{...L,name:"Words",gap:4,gapPhone:4},slots:{[we]:[Fe("label",{...U,widthFit:"fill"},hA),Fe("body",{...U,widthFit:"fill"},IA,!0)]}}]}}}function AI(e,o,t=4){return{type:K,props:{...L,name:"Stats",direction:"row",columns:t,...structuredClone(pt[o].items),[ns]:o},slots:{[we]:[{type:ro,props:_d(e,zj),slots:{[Pe]:[Uj(o)]}}]}}}var CA={heading:"Ways to pay"},kA=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],vA=()=>[{text:c("Secure encrypted checkout")},{text:c("30-day returns")}],SIe={label:"Payment Methods",drawsPictures:!0,defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};import{hiddenKeyOf as jj}from"efficient-easel/screen/lib/content/view-hide";import{parseOption as TA}from"efficient-shell/format";var Ep="Flex",Gj={FooterMenu:"MenuBlock",FooterEmailSignup:"EmailFormBlock",FooterSocial:"SocialLogosBlock"},Kj={FooterPayment:"PaymentLogosBlock"},qj=e=>{let{id:o,...t}=e;return t},PA=e=>typeof e=="string"?e:"",ss={sm:12,md:13,lg:15},OA={sm:{mark:16,words:ss.sm},md:{mark:20,words:ss.md}},Vj="md",EA=1.5,Yj={size:13,lineHeight:EA,width:280},Xj=14,Zj=40,Jj=e=>TA(["left","center","right"],"left",e);function Qj(e){let o={},t=[["padTop","sectionPaddingTop"],["padRight","sectionPaddingRight"],["padBottom","sectionPaddingBottom"],["padLeft","sectionPaddingLeft"]];for(let[r,a]of t){let n=Ie(e[r]);n&&(o[a]=n)}return o}function eG(e,o,t){let r=t(e,qj(o));if(Array.isArray(o.template))return{...r,props:{...r.props,template:_A(o.template,String(r.props.id))}};if(o.template!==void 0)return r;let a=Cd(e,r.props);return a===r.props?r:{...r,props:a}}function _A(e,o,t={at:0}){return e.map(r=>{let a={...r.props,id:`${o}~t${t.at++}`};for(let n of Lt(r))a[n]=_A(a[n],o,t);return{...r,props:a}})}function AA(e,o,t){let r=e.props??{},a=t?.(e,o);if(a)return a;let n=z(Gj,e.type)??z(Kj,e.type);if(n)return[eG(n,r,o)];switch(e.type){case"FooterLogo":{let s=Jj(r.align),l=o("LogoBlock",{...r.reverse?{reverse:r.reverse}:{},...typeof r.customColor=="string"&&r.customColor?{customColor:r.customColor}:{},heightPx:Math.round(Qv*((Ie(r.widthPct)??100)/100)),href:"/",align:s,...Qj(r)}),i=PA(r.tagline).trim();return i?[l,o("Text",{text:i,tone:"dim",align:s,_partStyles:{text:{...Yj}}})]:[l]}case"FooterText":{let s=typeof r.size=="string"&&co(ss,r.size)?r.size:Vj;return[o("Text",{text:PA(r.text),tone:typeof r.tone=="string"?r.tone:"default",_partStyles:{text:{size:ss[s],lineHeight:EA}}})]}case"FooterDivider":{let s=Ie(r.thickness),l=Ie(r.lengthPct);return[o("Divider",{...s!==void 0?{thickness:s}:{},...l!==void 0?{lengthPct:l}:{},...r.hideOnMobile===!0?{[jj("mobile")]:!0}:{}})]}case"FooterGroup":{let s=Array.isArray(r.blocks)?r.blocks:[];return[o(Ep,{direction:r.direction==="horizontal"?"row":"column",gap:eP("FooterGroup",r.gap),align:TA(["start","center","end","stretch"],"start",r.align),...Mm,content:s.flatMap(l=>AA(l,o,t))})]}default:return[]}}function ii(e,o,t,r){let a=e&&Array.isArray(e.props?.blocks)?e.props.blocks:[],n=f=>o(Ep,{direction:"row",wrap:!0,share:"equal",gap:Zj,content:f}),s=[],l=[];for(let f of a){let x=AA(f,o,r);if(f.type==="FooterDivider"){l.length&&s.push(n(l)),l=[],s.push(...x);continue}x.length<=1?l.push(...x):l.push(o(Ep,{direction:"column",gap:Xj,align:"stretch",...Mm,content:x}))}(l.length||!s.length)&&s.push(n(l));let i=o(Ep,{direction:"column",content:[o("LegalLineBlock")]}),d=sP(Je,t,[...s,i]);return{...d,props:{...d.props,...e?.props?.width==="full"?{fullWidth:!0}:{}}}}import{phoneKey as FI,readHidable as oG}from"efficient-easel/draw";import{parseOption as tG}from"efficient-shell/format";var BI={contained:!1},LI=(e,o)=>({logos:[{kind:"list",key:e,name:"Logo",flat:!0,parts:[{kind:"block",type:"LogoBlock",box:["src",[o,"alt"]],when:(t,r)=>He(r?.src)||He(r?.[o])}]}]}),rG={...ce("heading",{color:"labels",letterSpacing:.2}),props:{...U,align:"center"}},aG={name:"Logos",boxProps:e=>({...Y,direction:"column",gap:32,...ne(e,Cl(e))}),box:[...J,...fe(Cl),["bandPadding","sectionPaddingTop",(e,o)=>ne(o,Cl(o)).sectionPaddingTop]],parts:[rG,{kind:"core",keep:["columns","logoHeight","grayscale"],rename:{logosPerRow:"columns"},props:BI,slots:LI("items","alt")}],drop:{...X,...ae,contained:"the Box draws the site frame now; the Logos block inside it fills the Box's column (`contained: false`)",headPlacement:"a Logos band has no split head (not in SPLITTABLE_SECTIONS): no stored node can hold one, and the converted block stores own-box"}},nG={kind:"group",name:"Mark",keepEmpty:!0,parts:[],props:nw(4,"main",{sectionCorners:2})},sG={name:"Payment Methods",boxProps:e=>({...Y,direction:"column",...ne(e,sc)}),box:[...J,...fe(sc)],parts:[{kind:"group",name:"Methods",props:{...L,align:"center",gap:20,gapPhone:20,sectionBorder:{top:1,bottom:1},sectionPaddingTop:32,sectionPaddingBottom:32},parts:[{...ce("heading",{color:"labels"}),props:{...U,align:"center"}},{kind:"core",keep:[],as:"Logos",derive:{reads:[to,Yt],props:e=>He(e[to])?{[to]:e[to],...e[Yt]!==void 0?{[Yt]:e[Yt]}:{}}:{}},props:{...BI,look:"cards",grayscale:!1},slots:e=>({...LI("badges","label"),...He(e[to])?{[Pe]:[Gm()]}:{}})},{kind:"group",name:"Reassurance",props:{...L,direction:"row",wrap:!0,justify:"center",gap:24,gapPhone:24,phoneRow:2,[FI("share")]:"content"},parts:[{kind:"list",key:"assurances",name:"Line",of:e=>(Array.isArray(e.assurances)?e.assurances:[]).filter(o=>He(o?.text)),props:{...L,direction:"row",align:"center",gap:8,gapPhone:8,phoneRow:2,[FI("share")]:"content"},item:e=>oG(e.text).hidden?{props:{_hidden:!0}}:{},parts:[nG,{kind:"text",key:"text",props:{...U,align:"center"},style:{...W("label",13),color:"labels",lineHeight:1.5}}]}]}]}],drop:{...X,...ae,contained:"the Box draws the site frame now; the Logos block inside it fills the Box's column (`contained: false`)"}},FA=e=>Jb(e.align)??"left",BA=e=>tG(["sm","md"],"sm",e.size),LA=12,RA={name:"Payment logos",boxProps:e=>({...L,direction:"row",wrap:!0,align:"center",justify:hd[FA(e)],gap:LA,gapPhone:LA,phoneRow:2,[FI("share")]:"content"}),box:[...Sr],parts:[{kind:"text",key:"lead",props:re,styleFrom:e=>({size:ss[BA(e)],lineHeight:1.5})},{kind:"core",keep:[],as:"Logos",derive:{reads:[to,Yt],props:e=>({logoHeight:OA[BA(e)].mark,align:FA(e),...He(e[to])?{[to]:e[to],...e[Yt]!==void 0?{[Yt]:e[Yt]}:{}}:{}})},props:{...BI,look:"marks",grayscale:!1,sectionAccent:gr},slots:e=>({...LI("methods","label"),...He(e[to])?{[Pe]:[Gm()]}:{}})}],drop:{size:"read as the wall's Logo height (S 16, M 20) and the lead's size (the footer size table, 12 / 13)",align:"read as the Box's justify and the wall's own Alignment (start is left, end is right)",editing:"the editor's preview flag, never a stored setting: the editor tells every block it is editing"}},DA={Logos:aG,PaymentBadges:sG,FooterPayment:RA,PaymentLogosBlock:RA},NA=()=>({heading:DE.heading,items:$c()}),MA=()=>({heading:CA.heading,badges:kA(),assurances:vA()}),HA=()=>({...mf,methods:[]});import{mixHex as cG}from"efficient-shell/format";import{MOTION_EASING as lG,MOTION_TIMING as WA,motionSeconds as $A,parseOption as zA}from"efficient-shell/format";var RI="none",_p=[{label:"None",value:"none"},{label:"Marquee",value:"scroll"}];function ZIe(e){return zA(_p,RI,e)}var ls="_gLoop",di={field:"loop",is:"scroll"},fi="left",DI=[{label:"Left",value:"left",cell:"left"},{label:"Right",value:"right",cell:"right"},{label:"Up",value:"up",cell:"top"},{label:"Down",value:"down",cell:"bottom"}],iG={left:"storefront-ticker",right:"storefront-ticker-right",up:"storefront-ticker-up",down:"storefront-ticker-down"};function UA(e){return zA(DI,fi,e)}function jA(e){return e==="up"||e==="down"}function Ap(e){return $A("loop","duration",e.loopDuration!=null?e.loopDuration:e.speed)}var JIe=WA.loop.duration.default,dG=WA.loop.delay.default;function GA(e){return $A("loop","delay",e.loopDelay)}function QIe(e,o,t=dG){return`${iG[e]} ${o}s ${lG.loop}${t?` ${t}s`:""} infinite`}var Fp="_gEntrance";var rge="none",age=[{label:"Nothing",value:"none"},{label:"Section above",value:"above"},{label:"Section below",value:"below"}];function Bp(e){return e==="above"||e==="below"?e:null}var KA="sf-ticker-join";function fG(e){return e==="above"?"sf-ticker-join-above":"sf-ticker-join-below"}function qA(e){return`absolute inset-x-0 ${fG(e)}`}var VA=e=>e.size==="display",pG=(e,o)=>{let t=dp(e,o),r=e.tone!=="plain"&&t?.text&&t.background?cG(t.text,t.background,.3):null;return r?{color:r}:{}},uG=(e,o)=>e.tone!=="plain"&&tx(e.sectionAccent)===null?$o("background")(e,o):{},YA=(e,o)=>({kind:"list",key:"items",name:"Item",flat:!0,when:o,parts:[{kind:"text",key:"text",props:re,style:e,styleFrom:pG}]}),mG={name:"Scrolling Bar",boxProps:(e,o)=>({...Y,...ua,...ec,...ow[Nm(e.separator)]===""?rO:{},...ne(e,ma),...uG(e,o)}),box:[["scrollDirection","scrollDirection",e=>UA(e)],["speed","loopDuration",(e,o)=>o.loopDuration!=null?o.loopDuration:e],["loopDuration","loopDuration",(e,o)=>e??o.speed],["loopDelay","loopDelay",e=>e],["separator","separator",e=>Nm(e)],["join","join",e=>Bp(e)??void 0],["borders","sectionBorder",e=>e===!1?void 0:{top:1,bottom:1}],...J,["tone","sectionAccent",(e,o)=>tx(o.sectionAccent)??gr],...fe(ma)],parts:[YA(oc,e=>!VA(e)),YA(aO,VA)],drop:{...X,...ae,size:"each item's Text style: Small \u2192 Body 5, Display \u2192 Heading 3"}},XA=e=>e?.tone==="muted",ZA=e=>Ad(Pa(e)),xG={name:"Spec Strip",boxProps:(e,o)=>({...Y,...ua,...gl,...e.fill==="none"?{sectionBorder:{top:1}}:{sectionAccent:ZA(o)},...ne(e,xa)}),box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>o.fill==="none"?e:ZA(t)],...fe(xa)],parts:[{kind:"list",key:"cells",name:"Cell",flat:!0,parts:[{kind:"text",key:"text",props:U,style:yl,when:(e,o)=>!XA(o)},{kind:"text",key:"text",props:re,style:yl,when:(e,o)=>XA(o)}]}],drop:{...X,...ae,...ip,fill:"None \u2192 no fill and a line on top. Dark band (the default) \u2192 the Box's theme is the site's first dark preset that is not its page (lib/theme `darkBandIndex`; Theme 2 with no site theme): the old fixed `plate-band` colour, as a theme"}},JA={Ticker:mG,SpecStrip:xG};import{tabletKey as QA}from"efficient-easel/screen/lib/content/view-tiers";var eF={direction:"column",justify:"between",gap:14,gapPhone:14,sectionPaddingLeft:14,sectionPaddingRight:14,[QA("sectionPaddingLeft")]:0,sectionPaddingLeftPhone:0,sectionHeightMode:"fixed",sectionHeightValue:280,sectionHeightUnit:"px",[QA("sectionHeightMode")]:"auto",sectionHeightModePhone:"auto"},NI={name:"Year and title",direction:"column",gap:14,gapPhone:14};import{tabletKey as hG}from"efficient-easel/draw";var Lp={eyebrow:Te.eyebrow,title:`Section heading
321
321
  *Highlight line*`,intro:Te.body,imageCaption:Te.imageCaption,imageMeta:Te.imageMeta,cta:je.text},oF=()=>[{date:c("Year"),title:c("Milestone title."),body:c("Describe what happened, in a sentence or two.")},{date:c("Year"),title:c("Milestone title."),body:c("Describe what happened, in a sentence or two.")},{date:c("Year"),title:c("Milestone title."),body:c("Describe what happened, in a sentence or two.")}],Sge={label:"Story Timeline",drawsPictures:!0,defaultProps:{layout:"split",eyebrow:"",title:"",intro:"",imageSrc:"",imageCaption:"",imageMeta:"",ctaText:"",ctaHref:"",entries:[],padTop:120,padBottom:120}};var Rp={eyebrow:Te.eyebrow,title:Te.headingAccent,intro:Te.body,cta:je.text},tF=()=>[{date:c("Year"),title:c("Milestone"),blurb:c("A short line about this milestone."),future:!1},{date:c("Year"),title:c("Milestone"),blurb:c("A short line about this milestone."),future:!1},{date:c("Year"),title:c("Milestone"),blurb:c("A short line about this milestone."),future:!1},{date:c("Year \u2192"),title:c("Upcoming"),blurb:c("A milestone still to come."),future:!0}],vge={label:"Milestone Timeline",defaultProps:{eyebrow:"",title:"",intro:"",entries:[],ctaText:"",ctaHref:"",background:qv,padTop:120,padBottom:120}};var iF={buttonBorder:{width:0}},Mp=(e,o,t={})=>({textStyle:"body-5",...W("label",e),letterSpacing:o,lineHeight:1.5,weight:400,...t}),is=(e,o,t={})=>({...Mp(e,o),...Do,...t}),Hp=(e,o,t)=>({...e,case:"upper",weight:500,letterSpacing:o,lineHeight:t}),ci=(e,o,t={})=>({textStyle:"body-1",fontRole:"heading",...e,weight:400,case:"none",lineHeight:o,...t}),ut=(e,o,t={})=>({kind:"text",key:e,props:U,style:o,...t}),rF=(e,o)=>o?.future===!0,Dp=e=>tE(typeof e?.body=="string"?e.body:""),zI=e=>ia(typeof e.background=="string"?e.background:void 0,Ra.TimelineTrack),MI=e=>zI(e)===zt?e:{...e,background:"transparent"},IG={name:"Milestone Timeline",skip:e=>pp(zI(e)),boxProps:(e,o)=>{let t=Mr(MI(e),o);return{...Y,direction:"column",gap:60,[hG("gap")]:36,gapPhone:36,sectionBorder:{bottom:1},...zo,...dt(e,"TimelineTrack"),...cp(zI(e),e,o),...t>=0?{sectionAccent:t}:{}}},box:[...J.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,t)=>Hr(e,MI(o),t)],...Nr("TimelineTrack")],parts:[bI(wp(yp("eyebrow","title","intro"),["intro"])),{kind:"group",name:"Track",props:{...L,gap:48,gapPhone:48},parts:[{kind:"group",name:"Years",props:{...L,direction:"row",share:"equal",gap:0,line:!0,...zo},parts:[{kind:"list",key:"entries",name:"Year",props:{...L,...eF},item:e=>({props:e.future===!0?{upcoming:!0}:{}}),parts:[{kind:"group",name:NI.name,props:{...L,...NI},parts:[ut("date",Mp(13,.22,{color:"accent"}),{when:(e,o)=>!rF(e,o)}),ut("date",Mp(13,.22,{color:"labels"}),{when:rF}),ut("title",{textStyle:"heading-3",...Hp(W("headingSmall",20),-.02,1.1)},{role:"heading"})]},ut("blurb",ci(W("body",13),1.55),{props:re,mark:"accentItalic"})]}]},{kind:"group",name:"Button row",props:{...L,sectionBorder:{top:1,right:0,bottom:0,left:0},sectionPaddingTop:32},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"ghost",props:{...ao,align:"right",...iF},style:is(13,.3)}]}]}],site:(e,o)=>Wr({props:MI(e.props)},o),drop:{...X,...ae,background:"another colour is the Box's Fill, or a skip if no Fill holds it; the band is the Box's theme: the site's band preset (`sectionAccent`), or a declared band-preset write (`lib/theme` `bandPresetIndex`)",headPlacement:"needs a row per head placement: an own-box Milestone Timeline draws no head (its words sit in a Section Header above it), the row always draws the head"}},jI=e=>typeof e.layout=="string"?e.layout:"split",Np=e=>jI(e)==="split",UI=e=>!Np(e),dF=e=>jI(e)==="spine",gG=e=>UI(e)&&!dF(e),aF=(e,o,t,r)=>({kind:"group",name:"Picture",keepEmpty:!0,box:[["imageSrc","bgImage"]],props:{...L,sectionBorder:{top:1,right:1,bottom:1,left:1},darken:75,darkenStyle:"bottom",placement:"bottom-center",sectionHeightMode:"fixed",sectionHeightValue:e,sectionHeightUnit:"px",sectionHeightModePhone:"fixed",sectionHeightValuePhone:o,sectionHeightUnitPhone:"px",...wo(12,16),...t},when:a=>r(a)&&typeof a.imageSrc=="string"&&a.imageSrc.trim()!=="",parts:[{kind:"group",name:"Caption",props:{...L,direction:"row",justify:"between",align:"center",gap:12,gapPhone:12,share:"content",phoneRow:2},parts:[ut("imageCaption",is(11,.24,{color:"text"})),ut("imageMeta",is(11,.24,{color:"accent"}),{props:{...U,align:"right"}})]}]}),nF=(e={})=>({kind:"button",key:"ctaText",href:"ctaHref",variant:"ghost",props:{...ao,...e,...iF},style:is(13,.3)}),HI=()=>[ut("title",{textStyle:"heading-3",...Hp(W("headingSmall",24,20),-.02,1.5)},{role:"heading",mark:"accentItalic"}),{kind:"block",type:"Text",props:{...U,_partStyles:{text:ci(W("body",17,16),1.6)}},box:[["body","text",(e,o)=>Ns(Dp(o)[0]??"")]],when:(e,o)=>Dp(o).length>0},{kind:"block",type:"Text",props:{...re,_partStyles:{text:ci(W("body",17,16),1.6,{paragraphSpacing:14})}},box:[["body","text",(e,o)=>Ns(Dp(o).slice(1).join(`
322
322
 
323
323
  `))]],when:(e,o)=>Dp(o).length>1}],WI=()=>ut("date",Mp(13,.24,{color:"accent"})),$I=(e,o,t={})=>ut(e,o,{...t,props:{...U,...t.props??{},align:"center"}}),sF=Uo("headingMedium",40,5,76),lF={sectionBorder:{bottom:1}},yG={name:"Story Timeline",skip:e=>jI(e)==="track"?'display "track": not converted (it draws the Milestone rail; a Track story is not stored anywhere)':void 0,boxProps:e=>Np(e)?{...Y,direction:"row",share:[40],gap:80,gapPhone:48,align:"start",...lF,...dt(e,"Timeline")}:{...Y,direction:"column",gap:48,gapPhone:48,align:"center",...lF,...dt(e,"Timeline")},box:[...J,...Nr("Timeline")],parts:[{kind:"group",name:"Heading",props:{...L,gap:24,gapPhone:24},when:Np,parts:[ut("eyebrow",is(12,.3,{color:"accent"}),{role:"eyebrow"}),ut("title",{textStyle:"heading-2",...Hp(sF,-.03,.94)},{role:"heading",mark:"accentItalic"}),ut("intro",ci(W("body",14),1.6),{props:{...re,maxWidth:360},mark:"accentItalic"}),aF(667,419,{},()=>!0),nF()]},{kind:"group",name:"Chapters",props:{...L,gap:48,gapPhone:48,line:!1},when:Np,parts:[{kind:"list",key:"entries",name:"Chapter",props:{...L,direction:"row",gap:24,gapPhone:8,share:[12],align:"start"},parts:[WI(),{kind:"group",name:"Words",props:{...L,gap:14,gapPhone:14},parts:HI()}]}]},{kind:"group",name:"Heading",props:{...L,gap:24,gapPhone:24,align:"center",maxWidth:760,widthFit:"fill"},when:UI,parts:[$I("eyebrow",is(12,.3,{color:"accent"}),{role:"eyebrow"}),$I("title",{textStyle:"heading-2",...Hp(sF,-.03,.94)},{role:"heading",mark:"accentItalic"}),$I("intro",ci(W("body",14),1.6),{props:{...re,maxWidth:520},mark:"accentItalic"}),nF({align:"center"})]},aF(506,192,{maxWidth:900,widthFit:"fill"},UI),{kind:"group",name:"Chapters",props:{...L,gap:48,gapPhone:48,line:!0,maxWidth:760,widthFit:"fill",sectionPaddingTop:16},when:dF,parts:[{kind:"list",key:"entries",name:"Chapter",props:{...L,gap:8,gapPhone:8},parts:[WI(),{kind:"group",name:"Words",props:{...L,gap:14,gapPhone:14},parts:HI()}]}]},{kind:"group",name:"Chapters",props:{...L,gap:56,gapPhone:56,maxWidth:1e3,widthFit:"fill",sectionPaddingTop:16,mirrorCards:"even"},when:gG,parts:[{kind:"list",key:"entries",name:"Chapter",props:{...L,direction:"row",gap:64,gapPhone:0,share:[50],align:"start"},parts:[{kind:"group",name:"Entry",props:{...L,gap:8,gapPhone:8},parts:[WI(),{kind:"group",name:"Words",props:{...L,gap:14,gapPhone:14},parts:HI()}]},{kind:"group",name:"Spacer",props:{...L},keepEmpty:!0,parts:[]}]}]}],drop:{...X,...ae,layout:"the Box's own arrangement replaces it: Split a row of two Boxes; Spine and Alternating a centred column (Track is skipped)"}},fF=()=>({eyebrow:Lp.eyebrow,title:kt(Lp.title),intro:Lp.intro,ctaText:je.text,ctaHref:je.href,entries:oF()}),cF=()=>({eyebrow:Rp.eyebrow,title:kt(Rp.title),intro:Rp.intro,ctaText:je.text,ctaHref:je.href,entries:tF()}),pF={TimelineTrack:IG,Timeline:yG};import{tabletKey as SG}from"efficient-easel/draw";function uF(e){let o=String(e??"").replace(/[^+\d]/g,"");return o?`tel:${o}`:void 0}var mt=e=>typeof e=="string"?e:e==null?"":String(e),GI=e=>Array.isArray(e.locations)?e.locations.map(o=>o??{}):[],ds=e=>mt(e.group),wF=e=>`loc-${e}`,CF=e=>mt(e.state).trim()||Cx(mt(e.region)).state,kF=e=>mt(e.country).trim()||Cx(mt(e.region)).country,mF=e=>[CF(e),kF(e)].filter(Boolean).join(" \xB7 "),bG=e=>GI(e).some(o=>mt(o.photo).trim()!==""),wG=e=>GI(e).some(o=>yw(Number(o.lat),Number(o.lng))),CG=(e,o)=>GI(e).filter(t=>ds(t)===ds(o)).length,kG=(e,o)=>CG(e,o)===1?"wide":mP(e.imageShape),xF=48,Pt=(e,o={})=>({...bt(e),...o}),KI={top:1,right:1,bottom:1,left:1},qI={...L,direction:"row",share:"equal",gap:0},vG=e=>o=>o>bd(o)?{...L,gap:0}:{...qI,...o>1?{phoneRow:e}:{}},VI=!0,PG={kind:"group",name:"Gallery",props:{...L,gap:20,...VI?{_hidden:!0}:{}},when:bG,parts:[{kind:"group",name:"Gallery head",props:{...L,direction:"row",justify:"between",align:"end",gap:24,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:16},parts:[ce("galleryKicker",Pt(12,{color:"accent",letterSpacing:.3})),{kind:"text",key:"galleryHint",props:{...re,align:"right",alignPhone:"left"},style:Pt(11,{letterSpacing:.22,alignPhone:"left"})}]},{kind:"group",name:"Groups",props:{...L,gap:24},parts:[{kind:"list",key:"locations",name:"City picture",props:{...L,darken:85,darkenStyle:"bottom",placement:"bottom-left",sectionBorder:KI,...wo(12,12)},item:(e,o,t)=>({props:{...mt(e.photo).trim()?{bgImage:mt(e.photo),hover:"mono"}:{},link:`#${wF(o)}`,boxShape:kG(t,e)}}),parts:[{kind:"text",key:"name",props:U,style:Pt(11,{letterSpacing:.22,color:"text"})}],groups:{of:ds,name:"Group",props:{...L,gap:10},head:e=>({label:ds(e[0]??{})}),parts:[ce("label",Pt(11,{color:"accent",letterSpacing:.3}))],itemsName:"Cities",itemsProps:vG(2),perRow:bd,rowName:"Row",rowProps:{...qI,phoneRow:2}}}]}]},TG={kind:"group",name:"Words",props:{...L,gap:12,gapPhone:12,...wo(28,28),sectionHeightMode:"fixed",sectionHeightValue:280,sectionHeightUnit:"px",sectionHeightModePhone:"auto"},parts:[{kind:"group",name:"Name row",props:{...L,direction:"row",justify:"between",align:"start",gap:14,share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"wrap",sectionPaddingBottom:6,sectionPaddingBottomPhone:6},parts:[{kind:"group",name:"Name",props:{...L,gap:6,gapPhone:6},parts:[{kind:"text",key:"name",role:"heading",props:U,style:{textStyle:"heading-3",...W("headingSmall",30),case:"upper",weight:500,lineHeight:1,letterSpacing:-.02}},{kind:"block",type:"Text",props:{...U,_partStyles:{text:Pt(12,{color:"accent",letterSpacing:.24,lineHeight:1.5})}},box:["region","state","country"].map(e=>[e,"text",(o,t)=>mF(t)]),when:(e,o)=>mF(o??{})!==""}]},{kind:"group",name:"Time zone",props:{...L,sectionBorder:KI,...wo(6,10)},parts:[{kind:"text",key:"timezone",props:{...re,textFit:"line"},style:Pt(12,{letterSpacing:.22,lineHeight:1.5})}]}]},{kind:"text",key:"address",props:re,style:{textStyle:"body-5",fontRole:"heading",...W("body",14),lineHeight:1.5}},{kind:"block",type:"ButtonBlock",props:{...ao,...Aa,variant:"ghost",arrow:!1,_partStyles:{label:Pt(13,{letterSpacing:.18,color:"text",lineHeight:24/13})}},box:[["phone","label"],["phone","href",e=>uF(mt(e))??"#"]],when:(e,o)=>mt(o?.phone).trim()!==""},{kind:"text",key:"hours",props:re,style:Pt(12,{letterSpacing:.18,lineHeight:1.7})}]},OG={kind:"block",type:"LocationMap",props:e=>({mapTheme:typeof e.mapTheme=="string"?e.mapTheme:"auto"}),box:["name","lat","lng","mapsUrl","geocode",...["region","state"].map(e=>[e,"state",(o,t)=>CF(t)]),...["region","country"].map(e=>[e,"country",(o,t)=>kF(t)])]},EG={kind:"group",name:"Map",props:{...L,sectionBorder:{top:1,right:0,bottom:0,left:0}},parts:[OG]},_G={kind:"list",key:"locations",name:"City",props:(e,o)=>({...L,gap:0,justify:"between",sectionBorder:KI,jumpHighlight:!0,sectionAccent:Mr(e,o)>=0?Qn(e.sectionAccent,o):-1}),item:(e,o)=>({props:{anchor:wF(o)}}),parts:[TG,EG],groups:{of:ds,name:"Group",props:{...L,gap:20},head:e=>{let o=e[0]??{};return{key:ds(o),groupName:mt(o.groupName),count:`${e.length} location${e.length===1?"":"s"}`}},parts:[{kind:"group",name:"Group head",props:{...L,direction:"row",justify:"between",align:"end",gap:16,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:16},when:(e,o)=>mt(o?.key).trim()!=="",parts:[ce("key",Pt(13,{color:"accent",letterSpacing:.3})),{kind:"text",key:"groupName",role:"heading",props:U,style:{textStyle:"heading-3",...W("headingSmall",24),case:"upper",weight:500,letterSpacing:-.01}},{kind:"text",key:"count",props:re,style:Pt(12,{letterSpacing:.22})}]}],itemsName:"Cities",itemsProps:e=>({...qI,columns:bd(e),[SG("columns")]:1})}},hF=Pt(10,{letterSpacing:.25}),AG={kind:"block",type:Ut,props:{...L,name:"Credit",direction:"row",justify:"end",align:"center",gap:6,share:"content",wrap:!0},when:wG,slot:jt,keepEmpty:!0,parts:[{kind:"block",type:"Text",props:{...re,text:"Location coordinates \xA9",_partStyles:{text:hF}}},{kind:"block",type:"ButtonBlock",props:{...ao,...Aa,variant:"ghost",arrow:!1,label:"OpenStreetMap contributors",href:"https://www.openstreetmap.org/copyright",_partStyles:{label:{...hF,color:"labels"}}}}]},IF=(e,o)=>Object.fromEntries(o.filter(t=>e[t]!==void 0).map(t=>[t,e[t]])),gF=["sectionPaddingTop","sectionPaddingTopTablet","sectionPaddingTopPhone"],yF=["sectionPaddingBottom","sectionPaddingBottomTablet","sectionPaddingBottomPhone"],SF=e=>e.map(o=>[o,o,(t,r)=>ne(r,Mn)[o]]),bF=["sectionAccent","sectionAccent",Hr],FG=[...Sr,...Pn,...Object.values(Fo)],BG={name:"City pictures",skip:e=>Ne(e)?`fed by the data source "${Ne(e)}": its cities are read as the page is served, not stored on the node`:void 0,boxProps:(e,o)=>({...Y,direction:"column",gap:40,anchor:"studios",...zo,...IF(ne(e,Mn),gF),sectionPaddingBottom:xF,sectionPaddingBottomPhone:xF,...Fa(e,o)}),box:[...J.filter(e=>e!=="sectionAccent"&&e!=="anchor"),bF,["anchor","anchor",e=>Xv(e).trim()?e:"studios"],...SF(gF)],parts:[yp("sectionNumber","heading","tagline"),PG],also:[{name:"City maps",boxProps:(e,o)=>({...Y,direction:"column",gap:40,sectionBorder:{bottom:1},...zo,sectionPaddingTop:0,sectionPaddingTopPhone:0,...IF(ne(e,Mn),yF),...Fa(e,o)}),box:[...FG,bF,...SF(yF)],parts:[_G,AG]}],reads:{mapTheme:"City maps Box: each Map block's Map theme",imageShape:"City pictures Box: each picture Box's Box shape"},site:Wr,drop:{...X,...ae,apiKey:"a stored Google Maps key from before the map needed none: the website's one map (components/SiteMap) takes no key, and a key is a credential, never page content",mapId:"a Google Maps style id from the same retired map: nothing in src/ reads it",gallery:"the retired separate tile list: the wall is derived from the cities (`components/ContactLocations`), nothing in src/ reads it",dataSource:"always empty here: a node fed by a source is skipped (see skip)"}},vF={ContactLocations:BG};import{SITE_SIDE as PF,sideLengthAt as LG}from"efficient-easel/screen/lib/content/length-units";import{viewKeyAt as YI}from"efficient-easel/draw";var RG=["FAQ","Footprint","LongRead","ProcessSteps","RelatedProducts"];var $r=(e,o)=>()=>({top:e,topPhone:o}),TF=e=>o=>{let t=Hn(e),r={...o,[br.top]:Zd(o,t).top},a=i=>{let d=LG(r,br,Xd,i,"top");return d?.unit==="px"?d.value:void 0},n=i=>Ie(o[YI(br.top,i)])===void 0?void 0:a(i),s=n("tablet"),l=n("mobile");return{top:a("desktop")??t.top??0,...s!==void 0?{topTablet:s}:{},...l!==void 0?{topPhone:l}:{}}},DG={Collections:$r(120,70),Events:$r(120,70),FAQ:$r(ac.top,ac.topPhone),GalleryB:$r(120,70),FitmentTable:$r(120,80),SpecTable:$r(120,80),LongRead:$r(nc.top,nc.topPhone),RelatedProducts:$r(0,0),Footprint:TF("Footprint"),ProcessSteps:TF("ProcessSteps"),ProductGrid:e=>({top:Ie(e.padTop)??120,topPhone:0})};function NG(e,o={}){let t=z(wt,e),r=z(DG,e);if(!t||!r)throw new Error(`section-to-box-rows-head: "${e}" has no head row or no head room`);let a=t.padKey,n=ft(e),s=Cp(e),l=t.headRows.filter(d=>![t.num,t.title,t.description,"linkText","linkHref"].includes(d)),i={...Object.fromEntries(l.filter(d=>!(d in s)).map(d=>[d,"a head setting no Header Box part reads (lib/document/blocks/general/section-head-looks `headReads`)"])),...o.drop};return{name:z(Qr,e)??e,boxProps:(d,f)=>{let x=r(d),u=o.roomBelow?{sectionPaddingBottom:o.roomBelow.bottom,sectionPaddingBottomPhone:o.roomBelow.bottomPhone}:{},h=typeof o.boxProps=="function"?o.boxProps(d,f):o.boxProps??{},I=La(e)==="editorial"?zo:{};return{...Y,direction:"column",gap:ti[La(e)],sectionPaddingTop:x.top,...x.topTablet!==void 0?{sectionPaddingTopTablet:x.topTablet}:{},...x.topPhone!==void 0?{sectionPaddingTopPhone:x.topPhone}:{},...I,...u,...h}},box:[...J,...a?[[a,"sectionPaddingTop",(d,f)=>r(f).top]]:[]],parts:[n,...(()=>{let d=a&&pO.has(e)?{[YI(a,"tablet")]:0,[YI(a,"mobile")]:0}:{},f={...a?{[a]:0}:{},...d,...o.coreProps},x={kind:"core",keep:"rest",...Object.keys(f).length?{props:f}:{},...o.slots?{slots:o.slots}:{}};return[o.coreBox?{kind:"group",name:o.coreBox.name,props:o.coreBox.props,parts:[x]}:x]})(),...o.partsAfter??[]],...Object.keys(s).length?{reads:s}:{},...Object.keys(i).length?{drop:i}:{},...o.pressHeading?{pressKeepsEmpty:[t.title]}:{},...o.skip?{skip:o.skip}:{}}}var MG={...L,direction:"accordion",rowStyle:"numbered"},HG={sectionPaddingLeft:PF,sectionPaddingRight:PF},WG={Footprint:{slots:{[Pe]:[Sw()]},pressHeading:!0},ProcessSteps:{slots:(e,o)=>o.press?{[Rs]:t1().map(t=>({...t,props:{...t.props,...HG}}))}:{},boxProps:{gapPhone:ti.editorial}},FAQ:{slots:{[Pe]:[gw()]},pressHeading:!0,coreBox:{name:"Questions",props:MG},coreProps:{sectionAccent:gr},roomBelow:{bottom:120,bottomPhone:70},boxProps:(e,o)=>o.press?{}:{[X0]:hl},skip:e=>{let o=e._partStyles??{},t=Iw().filter(r=>o[r]!==void 0);return t.length?`held: its rows carry their own run style (_partStyles ${t.map(r=>`"${r}"`).join(", ")}), which the Box path does not draw the same`:void 0}}},OF=Object.fromEntries(RG.map(e=>[e,NG(e,z(WG,e))]));import{BLOCK_WIDTH_LIMIT as $G}from"efficient-easel/draw";var Wp={eyebrow:Te.eyebrow,title:Te.headingAccent,deck:"Add a sentence or two introducing this document."},Cye={label:"Document masthead",defaultProps:{eyebrow:"",title:"",deck:"",meta:[]}};var BF={minWidth:$G.min},EF=(e,o,t)=>({...ce(e,{...o,...Jl}),props:{...U,align:"right",...Ea,...t}}),LF={top:1,bottom:0},ZI=(e,o,t,r)=>({kind:"group",name:e,props:{...L,sectionPaddingBottom:o,sectionPaddingBottomPhone:t},parts:[r]}),_F={widthFit:"fill",...BF},zG={...W("label",13),letterSpacing:.22,lineHeight:1.8},AF={textStyle:"heading-1",...Uo("headingLarge",56,8,128),case:"upper",weight:500,lineHeight:.88,letterSpacing:-.04},UG=()=>({name:"Page Header",boxProps:e=>({...Y,direction:"column",gap:0,sectionBorder:{bottom:1},...ne(e,dc)}),box:[...J,...fe(dc)],parts:[{kind:"group",name:"Header",props:{...L,direction:"row",align:"end",justify:"between",gap:40,gapPhone:16,share:"content",sectionPaddingBottom:32},parts:[ZI("Eyebrow",12,0,{...ce("eyebrow",W("label",13)),props:{...U,...Ea}}),{kind:"text",key:"title",role:"heading",props:{...U,tag:"h1",..._F},style:AF,mark:"accentItalic",when:e=>!Kh(e)},{kind:"text",key:"title",role:"heading",props:{...U,tag:"h2",..._F},style:AF,mark:"accentItalic",when:Kh},{kind:"group",name:"Details",props:{...L,align:"stretch",gap:0,gapPhone:0,sectionPaddingBottom:12,sectionPaddingBottomPhone:0},parts:[{kind:"list",key:"meta",name:"Detail",flat:!0,parts:[Ql("label","value",zG,Ea)]}]}]},{kind:"group",name:"Deck",props:{...L,maxWidth:760,sectionBorder:LF,sectionPaddingTop:28},parts:[{kind:"text",key:"deck",props:re,style:{textStyle:"body-1",fontRole:"accent",...W("body",22,19),italic:!0,lineHeight:1.5}}]}],drop:{...X,...ae,[jc]:"read by the title part's `when`: 2 (set by lib/document/one-h1 on a later opener) makes the Text an h2, anything else an h1"}}),RF=()=>({eyebrow:Wp.eyebrow,title:kt(Wp.title),deck:Wp.deck,meta:[{label:Te.label,value:Te.value},{label:Te.label,value:Te.value}]}),jG={...W("label",13),letterSpacing:.18,lineHeight:1.8},FF={...W("label",13),letterSpacing:.22,lineHeight:1.9},GG=()=>({name:"Issue Header",boxProps:e=>({...Y,direction:"column",gap:0,sectionBorder:{bottom:1},...ne(e,bl)}),box:[...J,...fe(bl)],parts:[{kind:"group",name:"Top",props:{...L,direction:"row",align:"end",justify:"between",gap:60,gapPhone:16,share:"content",sectionPaddingBottom:32},parts:[ZI("Eyebrow",14,14,ce("eyebrow",W("label",14))),{kind:"group",name:"Issue",props:{...L,align:"end",gap:0,gapPhone:0,sectionPaddingBottom:14},parts:[{kind:"list",key:"issueMeta",name:"Issue line",flat:!0,parts:[Ql("lead","rest",jG)]}]}]},{kind:"group",name:"Bottom",props:{...L,direction:"row",align:"start",justify:"between",gap:60,gapPhone:16,share:"content",sectionBorder:LF,sectionPaddingTop:32},parts:[{kind:"text",key:"lead",props:{...U,maxWidth:720,...BF},style:{textStyle:"body-1",fontRole:"heading3",...W("headingSmall",20),lineHeight:1.5,letterSpacing:-.005,paragraphSpacing:16}},{kind:"group",name:"In this issue",props:{...L,align:"stretch",gap:0},parts:[ZI("Heading",6,6,{kind:"text",key:"issueHeading",props:{...U,align:"right",...Ea},style:{textStyle:"body-1",fontRole:"heading",...W("body",18),weight:400,letterSpacing:-.01,lineHeight:1.9,...Jl}}),{kind:"group",name:"Lines",props:{...L,align:"stretch",gap:0},parts:[{kind:"list",key:"issueList",name:"Line",flat:!0,parts:[EF("text",{color:"labels",...FF})]}]},EF("issueTotal",FF)]}]}],drop:{...X,...ae}}),XI={color:"labels",...W("label",13),letterSpacing:.2},DF=e=>(Array.isArray(e.items)?e.items:[]).filter(o=>o&&typeof o.label=="string"&&o.label.trim()!==""),JI=(e,o)=>o!==void 0&&DF(e).at(-1)===o,NF=(e,o)=>o!==void 0&&DF(e).includes(o),KG=(e,o)=>NF(e,o)&&!JI(e,o)&&He(o?.href),qG=()=>({name:"Breadcrumb",skip:e=>He(e.meta)?'a trailing note after "\xB7" needs a second mark; none live':void 0,boxProps:e=>({...Y,...ua,wrap:"wrap",gap:16,gapPhone:16,separator:"slash",sectionBorder:{bottom:1},...ne(e,Il)}),box:[...J,...fe(Il)],parts:[{kind:"list",key:"items",name:"Crumb",flat:!0,parts:[{kind:"button",key:"label",href:"href",variant:"ghost",when:KG,props:{...ao,...Aa,icon:"none"},style:XI},{...ce("label",XI),when:(e,o)=>NF(e,o)&&!JI(e,o)&&!He(o?.href)},{...ce("label",{...XI,color:"text"}),when:JI}]}],drop:{...X,...ae,meta:"a node that stores a note is skipped (`skip`); an empty one draws nothing",...ip}}),MF={DocMasthead:UG(),Masthead:GG(),Breadcrumb:qG()};import{BLOCK_WIDTH_LIMIT as YG,hiddenKeyOf as XG}from"efficient-easel/draw";import{readHidable as QI}from"efficient-easel/draw";function VG(e,o,t){return e||(t?.isEditing?c(o):void 0)}function Mye(e,o,t){let r=Array.isArray(e)?e:[];return r.length?r:t?.isEditing?o:[]}function HF(e,o,t){let r=QI(e);if(!r.hidden)return VG(r.text,o,t)}function WF(e){if(e==null)return;let o=QI(e);return o.hidden?"":o.text}function Hye(e,o,t){return QI(e).hidden?"":HF(e,o,t)}function Wye(e,o,t){return{text:HF(e,je.text,t),href:o||je.href}}var jF="MenuBlock",eg=e=>(Array.isArray(e)?e:[]).filter(o=>o&&He(o.label)),$F=e=>{let[o,t]=[e.metaLabel,e.metaValue].map(a=>(WF(a)??"").trim());if(!t)return o;let r=t.includes("==")?t:`==${t}==`;return o?`${o} ${r}`:r},zF={top:0,bottom:0,topPhone:0,bottomPhone:0},ZG={...Do,color:"labels",...W("label",12),letterSpacing:.24},JG={kind:"group",name:"Note",props:{...L,justify:"center",sectionBorder:{top:0,right:0,bottom:0,left:1},sectionPaddingLeft:28,[XG("mobile")]:!0},parts:[{kind:"block",type:"Text",when:e=>$F(e)!=="",props:e=>({...U,textFit:"line",text:$F(e),[Sv]:{text:ZG}})}]},GF=()=>({tabs:[],metaLabel:Te.label,metaValue:Te.value}),UF="the note Text inside the Box (the label, then the value in the accent); no words, no Text",KF={direction:"row",menuStyle:"tabs",currentPage:!0,minWidth:YG.min},qF=e=>({...e,boxProps:o=>({...Y,direction:"row",align:"stretch",justify:"between",gap:0,stickTop:!0,[bn]:0,[Js]:!0,sectionBorder:{bottom:1},...ne(o,zF)}),box:[...J,...fe(zF)]}),QG=()=>qF({name:"Tab Bar",skip:e=>eg(e.tabs).length?"its tabs need a Console menu first: they are typed labels and links, and the Menu block draws only a Console menu":void 0,reads:{metaLabel:UF,metaValue:UF},parts:[{kind:"block",type:jF,props:KF},JG],drop:{...X,...ae,tabs:"a node whose tabs hold words is skipped (`skip`): typed tabs are not a Console menu; a list of blank tabs draws nothing, so nothing is lost"}}),e8=()=>qF({name:"Category Bar",skip:e=>{if(eg(e.tabs).length)return"its tabs are typed words with typed counts, not the blog's categories: a Blog categories Menu would replace them";if(eg(e.links).length)return"its right-hand links are typed words: the bar holds the Menu only"},parts:[{kind:"block",type:jF,props:{...KF,[to]:rb}}],drop:{...X,...ae,tabs:"a node whose tabs hold words is skipped (`skip`); blank tabs draw nothing on a page, so nothing is lost. The Menu draws the blog's own categories",activeTab:"the Menu marks the page's own entry (Current page), not a typed active tab",links:"a node whose links hold words is skipped (`skip`); blank links draw nothing",sticky:"the bar is always pinned (the Box's own pin, Stays above): the merchant turns the Box's pin off",editing:"the editor's preview flag, never a stored setting: the editor tells every block it is editing"}}),VF={DocTabs:QG(),CategoryBar:e8()};import{jsx as Da,jsxs as og}from"react/jsx-runtime";import{slugify as i8}from"efficient-shell/format";import{jsx as zp,jsxs as ZF}from"react/jsx-runtime";import{jsx as o8}from"react/jsx-runtime";import{useEffect as t8,useRef as r8}from"react";var YF="data-current",a8=1/3,n8=2;function s8(e,o,t=!1){if(t&&e.length)return e[e.length-1].anchor;let r=null;for(let a of e)a.top<=o&&(!r||a.top>r.top)&&(r=a);return r?.anchor??null}function l8(e,o,t=!1){let r=Array.from(e.querySelectorAll("a[href^='#']")),a=l=>{try{return decodeURIComponent((l.getAttribute("href")??"").slice(1))}catch{return""}},n=r.flatMap(l=>{let i=a(l),d=i?e.ownerDocument.getElementById(i):null;return d?[{anchor:i,top:d.getBoundingClientRect().top}]:[]}),s=s8(n,o,t);for(let l of r)s!==null&&a(l)===s?(l.setAttribute(YF,""),l.setAttribute("aria-current","location")):(l.removeAttribute(YF),l.removeAttribute("aria-current"))}function XF(){let e=r8(null);return t8(()=>{let o=e.current?.parentElement;if(!o)return;let t=0,r=()=>{t=0;let n=document.documentElement,s=window.scrollY>0&&window.scrollY+window.innerHeight>=n.scrollHeight-n8;l8(o,window.innerHeight*a8,s)},a=()=>{t||(t=requestAnimationFrame(r))};return r(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a),t&&cancelAnimationFrame(t)}},[]),o8("span",{ref:e,hidden:!0})}var oSe="sticky top-[120px]";var $p={entry:{label:"Entry",follows:"Labels",builtIn:"13px",writable:!0},number:{label:"Entry number",follows:"Labels",builtIn:"13px",writable:!0}};var JF=(e,o)=>e?{[ta]:o}:{},QF=(e,o)=>xw(e?.[Ws(o)]?.role,$p[o],yb),eB=120;function oB({title:e,entries:o,stickyTop:t,sticky:r=!0,editing:a=!1,partStyles:n,numberForm:s=Yx,takesViewHide:l=!1,markCurrent:i=!1}){let d=s==="plain",f=at(),x=l?f:Cr;return x.scope(ZF("aside",{className:Co(`${r?"sticky ":""}flex flex-col self-start max-[900px]:static`,x.className),style:r?{top:t}:void 0,...x.attrs,children:[e&&zp("h4",{className:"mb-[18px] font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:Ve(e)}),o.map((u,h)=>{let I=zp("span",{...JF(a,"number"),style:QF(n,"number"),className:"text-accent",children:Wf(s,h)});return ZF("a",{href:`#${u.anchor}`,className:`flex items-center ${d?"justify-start gap-1":"justify-between gap-3"} border-b border-line py-2.5 font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.18em] text-fg-dim transition-colors hover:text-fg${h===0?" border-t":""}${i?" data-[current]:text-fg":""}`,children:[d&&I,zp("span",{...JF(a,"entry"),style:QF(n,"entry"),children:Ve(u.label||"Section")}),!d&&I]},`${h}-${u.anchor}`)}),i&&!a&&zp(XF,{})]}))}function tB(e){let o=new Set;return e.map(t=>{if(!t)return"";let r=t,a=2;for(;o.has(r);)r=`${t}-${a++}`;return o.add(r),r})}function d8(e,o){return i8(e)||`section-${o+1}`}var tg=e=>typeof e=="string"&&e.trim()!=="";function rg(e){return(e??[]).filter(o=>tg(o.heading)||tg(o.label)||tg(o.body))}function ag(e){return tB(e.map((o,t)=>d8(o.label||o.heading||"",t)))}function ng(e){let o=[];for(let t of e.replace(/\r\n?/g,`