efficient-web-builder 59.2.0 → 59.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/editor/components/SectionThumbnail.js +1 -1
  3. package/dist/editor/components/storefront-editor.css +21 -7
  4. package/dist/editor/lib/animation/fields.js +1 -1
  5. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  6. package/dist/editor/lib/document/card-row-fields.d.ts +3 -1
  7. package/dist/editor/lib/document/card-row-fields.js +1 -1
  8. package/dist/editor/lib/document/mirror-cards-field.js +1 -1
  9. package/dist/format/lib/content/block-align.d.ts +3 -1
  10. package/dist/format/lib/content/block-align.js +1 -1
  11. package/dist/format/lib/content/box-background.d.ts +7 -0
  12. package/dist/format/lib/content/box-background.js +1 -1
  13. package/dist/format/lib/content/box-card-rule.d.ts +7 -0
  14. package/dist/format/lib/content/box-card-rule.js +1 -0
  15. package/dist/format/lib/content/box-layout.js +1 -1
  16. package/dist/format/lib/content/box-phone-place.d.ts +4 -4
  17. package/dist/format/lib/content/box-phone-place.js +1 -1
  18. package/dist/format/lib/content/box-shape.d.ts +1 -1
  19. package/dist/format/lib/content/box-shape.js +1 -1
  20. package/dist/format/lib/content/box-side-space.d.ts +2 -1
  21. package/dist/format/lib/content/box-side-space.js +1 -1
  22. package/dist/format/lib/content/button-icon.d.ts +3 -1
  23. package/dist/format/lib/content/button-icon.js +1 -1
  24. package/dist/format/lib/content/cell-picture-sizes.js +1 -1
  25. package/dist/format/lib/content/gallery-card-layout.d.ts +6 -1
  26. package/dist/format/lib/content/gallery-card-layout.js +1 -1
  27. package/dist/format/lib/content/image-aspect.d.ts +3 -3
  28. package/dist/format/lib/content/image-aspect.js +1 -1
  29. package/dist/format/lib/content/mirror-cards.d.ts +3 -0
  30. package/dist/format/lib/content/mirror-cards.js +1 -1
  31. package/dist/format/lib/content/part-display.d.ts +2 -1
  32. package/dist/format/lib/content/part-display.js +1 -1
  33. package/dist/format/lib/content/site-gutter.d.ts +2 -0
  34. package/dist/format/lib/content/site-gutter.js +1 -1
  35. package/dist/format/lib/content/view-hide-class.d.ts +5 -2
  36. package/dist/format/lib/content/view-hide-class.js +1 -1
  37. package/dist/format/lib/content/view-lines.d.ts +2 -1
  38. package/dist/format/lib/content/view-lines.js +1 -1
  39. package/dist/format/lib/document/row-hand.js +1 -1
  40. package/dist/format/lib/document/section-catalog.d.ts +2 -1
  41. package/dist/format/lib/document/section-catalog.js +10 -10
  42. package/dist/format/lib/document/section-descriptions.js +1 -1
  43. package/dist/format/lib/editor-words-catalogue.d.ts +7 -0
  44. package/dist/format/lib/editor-words-catalogue.js +3 -3
  45. package/dist/format/lib/editor-words-kept.js +1 -1
  46. package/dist/format/lib/fit-words.d.ts +1 -0
  47. package/dist/format/lib/fit-words.js +9 -8
  48. package/dist/format/lib/sized-image.js +1 -1
  49. package/dist/format/lib/source-rules/one-phone-edge.d.ts +13 -0
  50. package/dist/format/lib/source-rules/one-phone-edge.js +8 -0
  51. package/dist/format/lib/source-rules/published-mounts.d.ts +12 -0
  52. package/dist/format/lib/source-rules/published-mounts.js +10 -0
  53. package/dist/render/components/ButtonBlock.js +1 -1
  54. package/dist/render/components/CardRowContext.js +1 -1
  55. package/dist/render/components/Eyebrow.js +1 -1
  56. package/dist/render/components/Flex.d.ts +2 -1
  57. package/dist/render/components/Flex.js +1 -1
  58. package/dist/render/components/HeroPictures.js +1 -1
  59. package/dist/render/components/InBoxContext.d.ts +3 -0
  60. package/dist/render/components/InBoxContext.js +1 -1
  61. package/dist/render/components/LogoBlock.js +1 -1
  62. package/dist/render/components/Logos.js +1 -1
  63. package/dist/render/components/PublishedPartStylesContext.d.ts +2 -1
  64. package/dist/render/components/PublishedPartStylesContext.js +1 -1
  65. package/dist/render/components/SectionAnimation.d.ts +4 -2
  66. package/dist/render/components/SectionAnimation.js +1 -1
  67. package/dist/render/components/Split.js +1 -1
  68. package/dist/render/components/Text.js +1 -1
  69. package/dist/render/components/TitleWithButtons.js +1 -1
  70. package/dist/render/components/ViewHideRoot.d.ts +7 -1
  71. package/dist/render/components/ViewHideRoot.js +1 -1
  72. package/dist/render/lib/content/block-size.d.ts +4 -1
  73. package/dist/render/lib/content/block-size.js +1 -1
  74. package/dist/render/lib/content/box-cell-bound.js +1 -1
  75. package/dist/render/lib/content/box-shared-columns.js +1 -1
  76. package/dist/render/lib/content/box-stack-line.d.ts +1 -0
  77. package/dist/render/lib/content/box-stack-line.js +1 -1
  78. package/dist/render/lib/content/view-values.d.ts +2 -0
  79. package/dist/render/lib/content/view-values.js +1 -1
  80. package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
  81. package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
  82. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  83. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  84. package/dist/render/lib/document/blocks/general/section-to-box-rows-forms.js +1 -1
  85. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  86. package/dist/render/lib/document/page-render.js +1 -1
  87. package/dist/render/lib/document/part-styles.d.ts +3 -1
  88. package/dist/render/lib/document/part-styles.js +2 -2
  89. package/dist/render/lib/document/passes/block-size.js +1 -1
  90. package/dist/render/lib/document/passes/clickable-parts.js +1 -1
  91. package/dist/render/lib/document/passes/hidden-nodes.js +1 -1
  92. package/dist/render/lib/document/passes/section-animation.js +1 -1
  93. package/dist/render/lib/document/passes/section-width.js +1 -1
  94. package/dist/render/lib/document/published-passes.d.ts +13 -0
  95. package/dist/render/lib/document/published-passes.js +1 -0
  96. package/dist/render/lib/sections/section-to-box.d.ts +4 -0
  97. package/dist/render/lib/sections/section-to-box.js +1 -1
  98. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 59.3.0 - 2026-11-08
4
+
5
+ From main at `3d25076e`: #624, #625, #627, #629, #630, #632, #628. A minor: no `!` in any title, no declared export is removed (0 removed in `dist/**/*.d.ts` against npm 59.2.0), the peers stay `efficient-easel` `^29.0.0` and `efficient-shell` `^12.17.0`. No stored key or value moves. The history holds `8d9cdc24` (`feat(view)!:`), and `662d2753` reverts it before #628 merged, so the release is not a major.
6
+
7
+ **For hosts:**
8
+ - Five exported helpers now use the Box phone edge, 800, when a host passes no option: `viewHideClass`, `nodeViewHideClass`, `alignViewClasses`, `blockSizeOf` and `buttonWidthClass` (#628). A caller that draws a stored section passes `atSectionLine` and keeps 720. New export `phoneMediaOf`.
9
+ - The storefront's inline fit script text changes when it takes this release (sha256 `2cf46ff5` to `8d56bb94`). Nothing changes on screen (#628).
10
+ - storefront-blocks: a later bump takes `^59.3.0`. A host's published chrome can call `publishedChromeData` (#632).
11
+ - The Key Features delete date moves to 2027-02-05 (`KEY_FEATURES_DELETE_BY`, #630).
12
+
13
+ ### Added
14
+
15
+ - **One phone edge at 800 for Boxes** (#628): `PHONE_EDGE` is the one constant; stored sections do not change.
16
+ - **One ordered list of the published data passes** (#632): new exports `PUBLISHED_PASSES`, `publishedPageData` and `publishedChromeData` (render side, `lib/document/published-passes`), and the source rule `published-mounts`. `PageRender` calls only `publishedPageData`.
17
+ - **A card Box can stand on its row's picture** (#629): new prop `rowImageField` and the panel row Image content; a 16:10 "Screen" shape joins the one shape table; new exports `boxIsCard`, `boxCardProps`, `boxRowPicture` and the module `box-card-rule`.
18
+ - **Tabbed Gallery retires into Gallery** (#627): the Add menu offers one Gallery; new export `RETIRED_SECTION_LABELS`. A stored Tabbed Gallery keeps its name and still draws.
19
+
20
+ ### Fixed
21
+
22
+ - **A card template copy fills its stretched cell** (#624): a short card's ground reaches the foot of its cell.
23
+ - **Sections already on the Box path are held by the converter** (#625): a node whose head sits in a Box of its own is held for every row.
24
+
25
+ ### Changed
26
+
27
+ - **The Key Features delete date moves to 2027-02-05** (#630).
28
+
3
29
  ## 59.2.0 - 2026-11-08
4
30
 
5
31
  From main at `c14a6f97`: #620, #621, #622, #623. A minor: no `!` in any title, no declared export is removed (22 exports added in #621, vs npm 59.1.0), the peers stay `efficient-easel` `^29.0.0` and `efficient-shell` `^12.17.0`. No stored key or value moves.
@@ -1 +1 @@
1
- import{jsx as e,jsxs as n,Fragment as z}from"react/jsx-runtime";const p={dark:"var(--sf-thumb-bar-dark)",soft:"var(--sf-thumb-bar-light)",accent:"var(--sf-thumb-accent)",tint:"var(--sf-thumb-accent-tint)",block:"var(--sf-thumb-block)",line:"var(--sf-thumb-border)",card:"var(--sf-thumb-card)"},v="repeating-linear-gradient(135deg,var(--sf-thumb-hatch1) 0,var(--sf-thumb-hatch1) 5px,var(--sf-thumb-hatch2) 5px,var(--sf-thumb-hatch2) 10px)";function r({w:i,h:l,tone:d="dark",r:h=2,style:f}){return e("div",{style:{width:i,height:l,borderRadius:h,background:p[d],flex:"none",...f}})}const T={Hero:"hero",HeroSingle:"herosingle",IntroBleed:"intro",Collections:"collections",AlloyWheelsListing:"wheelslisting",CatalogFilterBar:"catalogfilterbar",ProductGrid:"productgrid",FitmentFinder:"fitmentfinder",Gallery:"gallery",GalleryB:"gallerygrid",SpecStrip:"specstrip",ProductHero:"producthero",SpecTable:"spectable",ProcessSteps:"processsteps",DetailRows:"detailrows",FitmentTable:"fitmenttable",CompatibleTyres:"compatibletyres",TyreSizes:"tyresizes",TyreFitment:"tyrefitment",EuTyreLabel:"eutyrelabel",RelatedProducts:"productgrid",BundleOffer:"bundleoffer",OrderSummary:"ordersummary",DeliveryOptions:"deliveryoptions",PaymentBadges:"paymentbadges",CheckoutCTA:"checkoutcta",Manifesto:"manifesto",ParagraphsA:"paragraphs",Prose:"prose",StatsParagraph:"statsparagraph",Chart:"chart",Mockup:"mockup",Footprint:"footprint",Timeline:"timeline",TimelineTrack:"timelinetrack",TitleWithButtons:"titlewithbuttons",Split:"split",Cards:"cards",FAQ:"faq",Testimonials:"testimonials",Masthead:"masthead",Breadcrumb:"breadcrumb",CategoryBar:"categorybar",FeaturedCover:"featuredcover",LongRead:"longread",ArticleBody:"articlebody",Series:"series",Subscribe:"subscribe",SubscribeBlogs:"subscribe",Events:"events",DocMasthead:"docmasthead",DocTabs:"doctabs",DocBody:"docbody",DocMetaCards:"docmetacards",Banner:"banner",Stats:"stats",KeyFeatures:"keyfeatures",Logos:"logos",Ticker:"ticker",Countdown:"countdown",Reviews:"reviews",SubmitBuild:"submitbuild",ReviewForm:"reviewform",Form:"form",AppointmentBooking:"appointmentbooking",ContactRouting:"contact",ContactLocations:"contactlocations",CityPictures:"citypictures",CityMaps:"citymaps",Header:"header",Footer:"footer",SectionHeader:"sectionheader",Grid:"grid",Flex:"blanksection",Spacer:"spacer",Divider:"divider",CustomHTML:"customhtml",Heading:"heading",Text:"text",ImageBlock:"image",ButtonBlock:"button",MenuBlock:"menu",EmailFormBlock:"emailform",SocialLogosBlock:"sociallogos",PaymentLogosBlock:"paymentlogos",LegalLineBlock:"legalline",SearchBlock:"search",CartBlock:"cart",CountrySwitchBlock:"countryswitch"},o={position:"absolute",inset:0},t={ink:"var(--sf-thumb-ink)",ink2:"var(--sf-thumb-ink-2)",inkSoft:"var(--sf-thumb-ink-soft)",inkSoft2:"var(--sf-thumb-ink-soft-2)",paper:"var(--sf-thumb-paper)",paper2:"var(--sf-thumb-paper-2)",warm:"var(--sf-thumb-warm)",rust:"var(--sf-thumb-rust)",onInk:"var(--sf-thumb-on-ink)",text:"var(--sf-thumb-scene-text)",muted:"var(--sf-thumb-scene-muted)",rule:"var(--sf-thumb-scene-rule)",mark1:"var(--sf-thumb-mark-1)",mark2:"var(--sf-thumb-mark-2)",card:"var(--sf-thumb-card)",scrim:"var(--sf-thumb-scrim)"},s=(i,l,d=160)=>({background:`linear-gradient(${d}deg,${i},${l})`});function y({size:i,style:l}){const d=Math.max(2,Math.round(i*.13)),h=(f,w,x)=>({position:"absolute",inset:f,background:w,borderRadius:d,...x?{mixBlendMode:x}:null});return n("span",{style:{position:"absolute",display:"block",width:i,height:i,...l},children:[e("span",{style:h("8% 26% 30% 6%",t.mark1)}),e("span",{style:h("26% 6% 8% 30%",t.mark2,"multiply")})]})}function m({children:i}){return e("span",{style:{fontSize:"4.64cqw",fontWeight:700,letterSpacing:"0.06em",textTransform:"uppercase",color:t.muted},children:i})}function C({over:i,overTone:l,head:d,headSize:h=11.5,cta:f,ctaBg:w,ctaFg:x,tone:I}){return n(z,{children:[i&&e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:l},children:i}),e("span",{style:{fontSize:h,lineHeight:1.15,fontWeight:700,maxWidth:"78%",color:I},children:d}),f&&e("span",{style:{alignSelf:"flex-start",fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"4px 8px",borderRadius:2,marginTop:2,background:w,color:x},children:f})]})}function k({name:i,price:l}){return n("div",{style:{display:"flex",flexDirection:"column",gap:2,minWidth:0},children:[e("div",{style:{flex:1,minHeight:0,borderRadius:3,position:"relative",overflow:"hidden",...s(t.paper,t.paper2,150)},children:e(y,{size:34,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),e("span",{style:{fontSize:"3.65cqw",fontWeight:600,color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:l})]})}function g({k:i,v:l,ok:d}){return n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:6,padding:"3.5px 2px",borderBottom:`1px solid ${t.rule}`,fontSize:"3.98cqw",color:t.muted},children:[e("span",{children:i}),n("span",{style:{display:"flex",gap:6,alignItems:"center"},children:[e("b",{style:{color:t.text,fontWeight:700},children:l}),d&&e("span",{style:{color:t.rust,fontWeight:700},children:"✓"})]})]})}function a({title:i,children:l}){return n("div",{style:{...o,background:t.card,padding:"9px 10px",display:"flex",flexDirection:"column",gap:6},children:[e(m,{children:i}),l]})}function q({size:i=14}){return e("span",{style:{width:i,height:i,borderRadius:"50%",flex:"none",display:"block",background:`linear-gradient(150deg,${t.mark1},${t.mark2})`}})}function S({filled:i=5,size:l=6}){return n("span",{style:{fontSize:l,letterSpacing:"0.06em",color:t.rust,lineHeight:1},children:["★".repeat(i),e("span",{style:{color:t.mark1},children:"★".repeat(5-i)})]})}function u({n:i,label:l,tone:d=t.text}){return n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[e("b",{style:{fontSize:"8.16cqw",lineHeight:1,color:d},children:i}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.08em",textTransform:"uppercase",opacity:.62,color:d},children:l})]})}function c({children:i,w:l}){return e("span",{style:{fontSize:"3.98cqw",lineHeight:1.45,color:t.muted,width:l,display:"block"},children:i})}function b({label:i,w:l="100%",filled:d}){return n("div",{style:{width:l,display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.08em",textTransform:"uppercase",color:t.muted},children:i}),e("span",{style:{height:9,borderRadius:3,border:`1px solid ${t.rule}`,background:d?t.paper:t.card}})]})}function R({children:i}){return e("span",{style:{alignSelf:"flex-start",fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,background:t.text,color:t.onInk},children:i})}const W={wheelslisting:e(a,{title:"All wheels",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[["Ridge 19","20×9 +12","$365"],["Ridge 29","18×9 +20","$410"],["Ridge 39","17×8 −10","$455"]].map(([i,l,d])=>n("div",{style:{display:"flex",alignItems:"center",gap:6},children:[e("span",{style:{width:20,height:15,borderRadius:3,flex:"none",position:"relative",overflow:"hidden",...s(t.paper,t.paper2,150)},children:e(y,{size:12,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),e("b",{style:{flex:1,fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:l}),e("b",{style:{fontSize:"4.31cqw",color:t.text,width:26,textAlign:"right"},children:d})]},i))})}),catalogfilterbar:n("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",justifyContent:"center",gap:7,padding:"0 11px"},children:[n("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[["20 inch","6×139.7","Black"].map(i=>n("span",{style:{fontSize:"3.65cqw",fontWeight:600,padding:"4px 7px",borderRadius:99,background:t.text,color:t.onInk,display:"flex",gap:4,alignItems:"center"},children:[i,e("span",{style:{opacity:.6},children:"✕"})]},i)),e("span",{style:{fontSize:"3.65cqw",color:t.rust,fontWeight:700},children:"Clear"})]}),n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"128 results"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted,border:`1px solid ${t.rule}`,borderRadius:3,padding:"3px 6px"},children:"Sort: Price ▾"})]})]}),fitmentfinder:n("div",{style:{...o,padding:"10px 12px",display:"flex",flexDirection:"column",gap:6,justifyContent:"center",...s(t.ink,t.inkSoft)},children:[e("span",{style:{fontSize:"5.31cqw",fontWeight:700,color:t.onInk},children:"Will it fit your rig?"}),n("div",{style:{display:"flex",gap:4},children:[["2021","Toyota","Hilux"].map(i=>n("span",{style:{flex:1,fontSize:"3.65cqw",color:t.text,background:t.card,borderRadius:3,padding:"5px 6px",display:"flex",justifyContent:"space-between"},children:[i," ",e("span",{style:{color:t.muted},children:"▾"})]},i)),e("span",{style:{fontSize:"3.65cqw",fontWeight:700,letterSpacing:"0.08em",background:t.warm,color:t.ink,borderRadius:3,padding:"5px 7px"},children:"GO"})]})]}),compatibletyres:e(a,{title:"Tyres that suit",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[["Ridge Grappler","$489"],["Trail Grappler","$525"],["Terra Grappler","$438"]].map(([i,l])=>n("div",{style:{display:"flex",flexDirection:"column",gap:2,minWidth:0},children:[e("div",{style:{flex:1,minHeight:0,borderRadius:3,position:"relative",overflow:"hidden",background:t.ink},children:e("span",{style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%,-50%)",width:26,height:26,borderRadius:"50%",border:`5px solid ${t.mark2}`,boxSizing:"border-box"}})}),e("span",{style:{fontSize:"3.32cqw",fontWeight:600,color:t.text,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:i}),e("span",{style:{fontSize:"3.32cqw",color:t.muted},children:l})]},i))})}),tyresizes:e(a,{title:"Available sizes",children:e("div",{style:{flex:1,display:"flex",flexWrap:"wrap",gap:4,alignContent:"center"},children:["265/65R17","285/70R17","265/60R18","275/55R20"].map((i,l)=>e("span",{style:{fontSize:"3.65cqw",fontWeight:600,padding:"5px 7px",borderRadius:3,border:`1px solid ${l===0?t.rust:t.rule}`,color:l===0?t.rust:t.text,background:l===0?t.paper:t.card},children:i},i))})}),tyrefitment:n(a,{title:"Will it fit your car?",children:[e("div",{style:{display:"flex",gap:3},children:["Make","Model","Year","Trim"].map(i=>n("span",{style:{flex:1,minWidth:0,fontSize:"3.32cqw",color:t.muted,background:t.paper,border:`1px solid ${t.rule}`,borderRadius:3,padding:"4px 5px",display:"flex",justifyContent:"space-between",gap:2,overflow:"hidden",whiteSpace:"nowrap"},children:[i," ",e("span",{style:{color:t.muted},children:"▾"})]},i))}),e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:2,justifyContent:"center",minHeight:0},children:[["265/65R17","Fits",!0],["285/70R17","Not your size",!1]].map(([i,l,d])=>n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:6,borderTop:`1px solid ${t.rule}`,paddingTop:3},children:[e("span",{style:{fontSize:"3.32cqw",fontWeight:600,color:t.text},children:i}),e("span",{style:{fontSize:"3.32cqw",fontWeight:d?700:400,letterSpacing:"0.06em",color:d?t.warm:t.muted},children:l})]},i))})]}),eutyrelabel:n("div",{style:{...o,background:t.card,padding:"9px 11px",display:"flex",gap:8,alignItems:"center"},children:[e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:1.5},children:[["A","42%"],["B","56%"],["C","70%"],["D","84%"]].map(([i,l],d)=>n("div",{style:{display:"flex",alignItems:"center",gap:3},children:[e("span",{style:{width:l,height:6,borderRadius:"0 2px 2px 0",background:d===1?t.rust:t.mark1}}),e("span",{style:{fontSize:"3.32cqw",fontWeight:700,color:d===1?t.rust:t.muted},children:i})]},i))}),n("div",{style:{flex:"none",display:"flex",flexDirection:"column",gap:3,alignItems:"center"},children:[e("b",{style:{fontSize:"6.63cqw",lineHeight:1,color:t.text},children:"72"}),e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.08em",color:t.muted},children:"dB"})]})]}),bundleoffer:n("div",{style:{...o,background:t.paper,padding:"9px 11px",display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[e(m,{children:"Buy it with"}),n("div",{style:{display:"flex",alignItems:"center",gap:5},children:[[0,1].map(i=>e("span",{style:{width:26,height:22,borderRadius:3,flex:"none",position:"relative",overflow:"hidden",background:t.card},children:e(y,{size:17,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})},i)),e("span",{style:{fontSize:"5.69cqw",fontWeight:700,color:t.muted},children:"+"}),n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:1},children:[e("span",{style:{fontSize:"3.65cqw",color:t.muted,textDecoration:"line-through"},children:"$1,024"}),e("b",{style:{fontSize:"6.02cqw",color:t.rust,lineHeight:1},children:"$899"})]})]})]}),checkoutcta:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 13px",gap:8,...s(t.ink,t.ink2)},children:[n("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",color:t.warm,fontWeight:700},children:"READY TO ORDER"}),e("b",{style:{fontSize:"6.63cqw",color:t.onInk,lineHeight:1},children:"$1,956"}),e("span",{style:{fontSize:"3.65cqw",color:t.onInk,opacity:.65},children:"4 items · fitted free"})]}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"6px 10px",borderRadius:2,background:t.warm,color:t.ink,flex:"none"},children:"CHECKOUT"})]}),contact:e(a,{title:"Who do you need?",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[["Fitment help","the workshop"],["Order status","the front desk"],["Trade accounts","sales"]].map(([i,l])=>n("div",{style:{display:"flex",alignItems:"center",gap:5},children:[e("b",{style:{flex:1,fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:l}),e("span",{style:{fontSize:"4.64cqw",color:t.rust,lineHeight:1},children:"›"})]},i))})}),contactlocations:e(a,{title:"Find us",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(2,1fr)",gap:5,minHeight:0},children:[["Brisbane","7 Kerry Rd","Mon–Sat"],["Townsville","12 Enterprise","Mon–Fri"]].map(([i,l,d])=>n("div",{style:{border:`1px solid ${t.rule}`,borderRadius:4,padding:"5px 6px",display:"flex",flexDirection:"column",gap:1},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.32cqw",color:t.muted},children:l}),e("span",{style:{fontSize:"3.32cqw",color:t.rust,fontWeight:700},children:d})]},i))})}),citypictures:e(a,{title:"Our studios",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:3,minHeight:0},children:[e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.12em",fontWeight:700,color:t.muted},children:"A · AMERICAS"}),e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:4,minHeight:0},children:["Los Angeles","Miami","Toronto"].map(i=>n("div",{style:{position:"relative",minHeight:0},children:[e(r,{r:3,style:{...o,background:`linear-gradient(transparent 45%,${t.scrim} 45%),${s(t.ink,t.inkSoft2).background}`}}),e("b",{style:{position:"absolute",left:5,bottom:4,fontSize:"3.65cqw",color:t.onInk},children:i})]},i))})]})}),citymaps:e(a,{title:"Find us",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(2,1fr)",gap:5,minHeight:0},children:[["Brisbane","7 Kerry Rd"],["Townsville","12 Enterprise"]].map(([i,l])=>n("div",{style:{position:"relative",padding:"4px 5px",display:"flex",flexDirection:"column",gap:2,minHeight:0},children:[e(r,{r:4,style:{...o,background:"none",border:`1px solid ${t.rule}`}}),e("b",{style:{position:"relative",fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{position:"relative",fontSize:"3.32cqw",color:t.muted},children:l}),n("div",{style:{flex:1,minHeight:0,position:"relative"},children:[e(r,{r:3,style:{...o,...s(t.paper,t.paper2,150)}}),e(r,{w:"60%",h:"60%",r:8,style:{position:"absolute",left:"12%",top:"20%",background:t.mark1,opacity:.75}}),e(r,{w:6,h:6,r:3,style:{position:"absolute",left:"44%",top:"34%",background:t.rust}})]})]},i))})}),form:e(a,{title:"Send us a message",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[n("div",{style:{display:"flex",gap:5},children:[e(b,{label:"Name"}),e(b,{label:"Email"})]}),e(b,{label:"Message",filled:!0}),e(R,{children:"SEND"})]})}),appointmentbooking:e(a,{title:"Book a fitting",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("div",{style:{display:"flex",gap:3},children:["Mon","Tue","Wed","Thu"].map((i,l)=>e("span",{style:{flex:1,textAlign:"center",fontSize:"3.32cqw",fontWeight:l===2?700:500,padding:"4px 0",borderRadius:3,background:l===2?t.text:t.paper,color:l===2?t.onInk:t.muted},children:i},i))}),e("div",{style:{display:"flex",gap:3},children:["8:00","10:30","13:00","15:30"].map((i,l)=>e("span",{style:{flex:1,textAlign:"center",fontSize:"3.32cqw",padding:"4px 0",borderRadius:3,border:`1px solid ${l===1?t.rust:t.rule}`,color:l===1?t.rust:t.muted,background:l===3?t.paper:t.card,textDecoration:l===3?"line-through":"none"},children:i},i))})]})}),reviewform:e(a,{title:"Leave a review",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[e(S,{filled:4,size:14}),e(b,{label:"Your review",filled:!0}),e(R,{children:"POST"})]})}),submitbuild:e(a,{title:"Show us your build",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:3,border:`1px dashed ${t.mark1}`,borderRadius:5,background:t.paper},children:[e("span",{style:{fontSize:"6.63cqw",lineHeight:1,color:t.rust,fontWeight:300},children:"+"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"Drop a photo of your rig"})]})}),masthead:n("div",{style:{...o,background:t.paper,display:"flex",flexDirection:"column",justifyContent:"center",padding:"0 13px",gap:5},children:[e("span",{style:{height:1.5,background:t.text}}),e("span",{style:{fontSize:"7.65cqw",fontWeight:800,letterSpacing:"0.02em",color:t.text,lineHeight:1},children:"THE TRACK"}),n("div",{style:{display:"flex",justifyContent:"space-between",fontSize:"3.65cqw",letterSpacing:"0.1em",textTransform:"uppercase",color:t.muted},children:[e("span",{children:"Issue 14"}),e("span",{children:"Spring 2026"})]}),e("span",{style:{height:1,background:t.rule}})]}),featuredcover:n("div",{style:{...o,overflow:"hidden",...s(t.ink,t.inkSoft2)},children:[e(y,{size:92,style:{right:-18,top:-14}}),e("div",{style:{position:"absolute",inset:0,background:`linear-gradient(0deg,${t.scrim},transparent 62%)`}}),n("div",{style:{position:"absolute",left:12,right:12,bottom:11,display:"flex",flexDirection:"column",gap:3},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:t.warm},children:"FEATURE"}),e("span",{style:{fontSize:"6.16cqw",lineHeight:1.15,fontWeight:700,color:t.onInk},children:"Four days on the Madigan Line"})]})]}),longread:n("div",{style:{...o,background:t.card,padding:"10px 14px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.14em",fontWeight:700,color:t.rust},children:"12 MIN READ"}),e("span",{style:{fontSize:"6.02cqw",lineHeight:1.15,fontWeight:700,color:t.text},children:"What breaks first, and why"}),e(c,{children:"Every failure starts in the same place:"}),e(c,{w:"80%",children:"the bolt nobody re-torqued."})]}),articlebody:n("div",{style:{...o,background:t.card,padding:"10px 22px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center",alignItems:"center",textAlign:"center"},children:[e("span",{style:{fontSize:"4.97cqw",lineHeight:1.2,fontWeight:700,color:t.text},children:"Why offset beats width"}),e(c,{w:"100%",children:"A wider wheel adds grip only if the offset still"}),e(c,{w:"88%",children:"clears the arch, so the offset is chosen first."}),e(c,{w:"80%",children:"Width follows from the space left."})]}),series:e(a,{title:"Recurring columns",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[["Shed Notes","Monthly"],["Track Tested","Fortnightly"],["Reader Rigs","Weekly"]].map(([i,l])=>n("div",{style:{display:"flex",alignItems:"center",gap:6},children:[e("span",{style:{width:3,height:12,borderRadius:2,background:t.rust,flex:"none"}}),e("b",{style:{flex:1,fontSize:"4.64cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.08em",textTransform:"uppercase",color:t.muted},children:l})]},i))})}),events:e(a,{title:"Latest posts",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[[t.inkSoft,t.inkSoft2,"Madigan Line, four days"],[t.rust,t.warm,"Why offset beats width"]].map(([i,l,d])=>n("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[e("span",{style:{width:24,height:18,borderRadius:3,flex:"none",...s(i,l,150)}}),n("div",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:d}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"4 Sep · Shed Notes"})]})]},d))})}),docmasthead:n("div",{style:{...o,background:t.card,padding:"12px 14px",display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:t.muted},children:"POLICY"}),e("span",{style:{fontSize:"6.49cqw",fontWeight:700,color:t.text,lineHeight:1.1},children:"Returns & refunds"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"Version 3 · Updated 4 Sep 2026"}),e("span",{style:{height:2,width:26,background:t.rust,borderRadius:1}})]}),docbody:e("div",{style:{...o,background:t.card,padding:"9px 13px",display:"flex",flexDirection:"column",gap:3,justifyContent:"center"},children:[["1.","You may return an unfitted wheel within 30 days."],["2.","Fitted wheels are covered by the structural warranty."],["3.","Freight on a change of mind is yours."]].map(([i,l])=>n("div",{style:{display:"flex",gap:5},children:[e("b",{style:{fontSize:"3.98cqw",color:t.rust,flex:"none"},children:i}),e(c,{children:l})]},i))}),docmetacards:e(a,{title:"At a glance",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(2,1fr)",gap:5,minHeight:0},children:[["30 days","To return"],["5 years","Structural"],["Free","Fitting"],["48 hrs","Dispatch"]].map(([i,l])=>n("div",{style:{border:`1px solid ${t.rule}`,borderRadius:4,padding:"5px 6px",display:"flex",flexDirection:"column",gap:1},children:[e("b",{style:{fontSize:"5.31cqw",color:t.text,lineHeight:1},children:i}),e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.08em",textTransform:"uppercase",color:t.muted},children:l})]},l))})}),doctabs:n("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",justifyContent:"center",gap:0,padding:"0 11px"},children:[e("div",{style:{display:"flex",gap:0},children:["Returns","Warranty","Shipping"].map((i,l)=>e("span",{style:{fontSize:"3.98cqw",fontWeight:l===0?700:500,padding:"5px 8px",color:l===0?t.text:t.muted,background:l===0?t.paper:"transparent",borderRadius:"4px 4px 0 0",border:`1px solid ${l===0?t.rule:"transparent"}`,borderBottom:"none"},children:i},i))}),e("span",{style:{height:1,background:t.rule}}),n("div",{style:{paddingTop:6,display:"flex",flexDirection:"column",gap:2},children:[e(c,{children:"Unfitted wheels come back within 30 days, no questions."}),e(c,{w:"58%",children:"Freight on a change of mind is yours."})]})]}),paragraphs:n("div",{style:{...o,background:t.card,padding:"11px 14px",display:"flex",gap:10,alignItems:"center"},children:[e("span",{style:{flex:1,fontSize:"5.86cqw",lineHeight:1.2,fontWeight:700,color:t.text},children:"The right wheel is the boring one."}),n("div",{style:{flex:1,display:"flex",flexDirection:"column"},children:[e(c,{children:"Forged, correctly offset, rated for what you actually"}),e(c,{children:"carry. Everything else is a photograph."})]})]}),keyfeatures:e(a,{title:"Key features",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:["Flow-formed barrel","1250 kg per corner","Hub-centric fit"].map(i=>n("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[e("span",{style:{fontSize:"4.64cqw",color:t.rust,fontWeight:700,lineHeight:1},children:"✓"}),e("span",{style:{fontSize:"4.31cqw",color:t.text},children:i})]},i))})}),statsparagraph:n("div",{style:{...o,background:t.paper,padding:"10px 12px",display:"flex",gap:10,alignItems:"center"},children:[n("div",{style:{flex:"none",display:"flex",flexDirection:"column",gap:5},children:[e(u,{n:"27k",label:"Rigs"}),e(u,{n:"4.9",label:"Rating"})]}),n("div",{style:{flex:1,display:"flex",flexDirection:"column"},children:[e(c,{children:"Twelve years of fitting the same three questions, and the"}),e(c,{children:"answer has not moved: load rating, offset, then looks."})]})]}),chart:n(a,{title:"Load vs weight",children:[e("div",{style:{flex:1,display:"flex",alignItems:"flex-end",gap:5,paddingBottom:2},children:[38,62,84,71,96].map((i,l)=>e("span",{style:{flex:1,height:`${i}%`,borderRadius:"2px 2px 0 0",background:l===4?t.rust:t.mark1}},l))}),e("span",{style:{height:1,background:t.rule,marginTop:-4}})]}),mockup:e("div",{style:{...o,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s(t.inkSoft,t.ink)},children:n("div",{style:{width:"72%",height:"74%",borderRadius:4,overflow:"hidden",background:t.card,boxShadow:`0 6px 14px ${t.scrim}`},children:[e("div",{style:{height:9,background:t.paper,display:"flex",alignItems:"center",gap:2,padding:"0 4px"},children:[0,1,2].map(i=>e("span",{style:{width:2.5,height:2.5,borderRadius:"50%",background:t.mark1}},i))}),n("div",{style:{padding:5,display:"flex",flexDirection:"column",gap:3},children:[e("span",{style:{height:4,width:"56%",borderRadius:1,background:t.mark2}}),e("span",{style:{height:14,borderRadius:2,...s(t.paper,t.paper2,150)}}),e("span",{style:{height:3,width:"38%",borderRadius:1,background:t.rust}})]})]})}),manifesto:e("div",{style:{...o,overflow:"hidden",display:"flex",alignItems:"center",padding:"0 16px",...s(t.ink,t.ink2)},children:n("span",{style:{fontSize:"6.63cqw",lineHeight:1.2,fontWeight:700,color:t.onInk},children:["We build for the ",e("span",{style:{color:t.warm},children:"last"})," ten percent of the track."]})}),timeline:e(a,{title:"Our story",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",gap:6,paddingLeft:4},children:[["1998","One shed, one lathe."],["2009","First forged rim."],["2024","27,000 rigs on."]].map(([i,l],d)=>n("div",{style:{display:"flex",gap:7,alignItems:"flex-start",position:"relative"},children:[d<2&&e("span",{style:{position:"absolute",left:3,top:8,bottom:-8,width:1,background:t.rule}}),e("span",{style:{width:7,height:7,borderRadius:"50%",flex:"none",marginTop:1,background:t.rust,zIndex:1}}),n("div",{style:{display:"flex",flexDirection:"column",gap:0,minWidth:0},children:[e("b",{style:{fontSize:"4.64cqw",color:t.text},children:i}),e(c,{children:l})]})]},i))})}),timelinetrack:n("div",{style:{...o,padding:"0 12px",display:"flex",flexDirection:"column",gap:10,justifyContent:"center",...s(t.ink,t.inkSoft)},children:[e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.warm},children:"Milestones"}),n("div",{style:{position:"relative",display:"flex",justifyContent:"space-between",paddingTop:7},children:[e("span",{style:{position:"absolute",left:0,right:0,top:3,height:1,background:t.mark2,opacity:.55}}),["1998","2009","2016","2024"].map((i,l)=>n("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:3,position:"relative"},children:[e("span",{style:{position:"absolute",top:-7,width:6,height:6,borderRadius:"50%",background:l===3?t.warm:t.mark1}}),e("span",{style:{fontSize:"4.31cqw",fontWeight:700,color:l===3?t.warm:t.onInk,opacity:l===3?1:.75},children:i})]},i))]})]}),footprint:n("div",{style:{...o,overflow:"hidden",...s(t.paper,t.paper2,150)},children:[e("span",{style:{position:"absolute",left:"8%",top:"18%",width:"62%",height:"64%",borderRadius:"48% 52% 40% 60% / 55% 45% 55% 45%",background:t.mark1,opacity:.75}}),e("span",{style:{position:"absolute",left:"52%",top:"52%",width:"34%",height:"34%",borderRadius:"58% 42% 55% 45% / 45% 58% 42% 55%",background:t.mark2,opacity:.55}}),[["26%","38%"],["44%","58%"],["62%","34%"]].map(([i,l])=>e("span",{style:{position:"absolute",left:i,top:l,width:7,height:7,borderRadius:"50% 50% 50% 0",transform:"rotate(-45deg)",background:t.rust}},i)),e("span",{style:{position:"absolute",left:11,bottom:9,fontSize:"4.64cqw",fontWeight:700,color:t.text},children:"3 fitting bays"})]}),banner:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 13px",gap:8,background:t.rust},children:[n("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[e("b",{style:{fontSize:"6.02cqw",color:t.onInk},children:"End of season · 20% off"}),e("span",{style:{fontSize:"3.98cqw",color:t.onInk,opacity:.8},children:"Fitted free, this month only."})]}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,background:t.onInk,color:t.text,flex:"none"},children:"SHOP"})]}),titlewithbuttons:n("div",{style:{...o,background:t.paper,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:7,padding:"0 14px",textAlign:"center"},children:[e("span",{style:{fontSize:"6.49cqw",lineHeight:1.15,fontWeight:700,color:t.text},children:"Not sure what fits?"}),n("div",{style:{display:"flex",gap:5},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,background:t.text,color:t.onInk},children:"FIND MY FIT"}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,border:`1px solid ${t.text}`,color:t.text},children:"CALL US"})]})]}),ticker:e("div",{style:{...o,overflow:"hidden",background:t.ink,display:"flex",alignItems:"center"},children:e("span",{style:{whiteSpace:"nowrap",fontSize:"6.29cqw",fontWeight:800,letterSpacing:"0.06em",color:t.warm,marginLeft:-14},children:"FREE FITTING · 48HR DISPATCH · FREE FITTING · 48HR DISPATCH"})}),countdown:n("div",{style:{...o,padding:"10px 12px",display:"flex",flexDirection:"column",alignItems:"center",gap:6,justifyContent:"center",...s(t.ink,t.ink2)},children:[e("span",{style:{fontSize:"3.65cqw",fontWeight:700,letterSpacing:"0.16em",textTransform:"uppercase",color:t.muted},children:"Back online in"}),e("div",{style:{display:"flex",alignItems:"flex-start",gap:5},children:[["23","Hours"],["59","Minutes"],["48","Seconds"]].map(([i,l],d)=>n("div",{style:{display:"flex",alignItems:"flex-start",gap:5},children:[d>0&&e("b",{style:{fontSize:"9.5cqw",lineHeight:1,color:t.warm},children:":"}),n("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:[e("b",{style:{fontSize:"11.5cqw",lineHeight:1,color:t.onInk,fontVariantNumeric:"tabular-nums"},children:i}),e("span",{style:{fontSize:"3.2cqw",letterSpacing:"0.1em",textTransform:"uppercase",opacity:.62,color:t.onInk},children:l})]})]},l))})]}),breadcrumb:e("div",{style:{...o,background:t.card,display:"flex",alignItems:"center",padding:"0 13px"},children:n("span",{style:{fontSize:"4.64cqw",color:t.muted},children:["Home ",e("span",{style:{opacity:.5},children:"/"})," Wheels ",e("span",{style:{opacity:.5},children:"/"})," ",e("span",{style:{color:t.text,fontWeight:700},children:"20 inch"})]})}),categorybar:n("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",justifyContent:"center",gap:7,padding:"0 11px"},children:[e("div",{style:{display:"flex",gap:5},children:["All","Wheels","Tyres","Lift"].map((i,l)=>e("span",{style:{fontSize:"3.98cqw",fontWeight:l===0?700:500,padding:"4px 7px",borderRadius:99,background:l===0?t.text:t.paper,color:l===0?t.onInk:t.muted},children:i},i))}),e("span",{style:{height:1,background:t.rule}})]}),intro:n("div",{style:{...o,overflow:"hidden",background:t.card},children:[e("div",{style:{position:"absolute",inset:0,...s(t.ink,t.inkSoft2)}}),e(y,{size:64,style:{right:8,top:6}}),n("div",{style:{position:"absolute",left:16,right:16,bottom:8,top:"46%",background:t.paper,borderRadius:6,padding:"8px 11px",display:"flex",flexDirection:"column",gap:2,boxShadow:`0 -4px 10px ${t.scrim}`},children:[e("span",{style:{fontSize:"5.69cqw",fontWeight:700,color:t.text},children:"Since 1998"}),e(c,{children:"One shed, one lathe, one idea."}),e(c,{w:"66%",children:"It turned out to be right."})]})]}),gallerygrid:e(a,{title:"From our customers",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"repeat(2,1fr)",gap:4,minHeight:0},children:[[t.rust,t.warm],[t.inkSoft,t.ink],[t.paper2,t.mark2],[t.ink,t.inkSoft2],[t.warm,t.paper2],[t.mark2,t.inkSoft]].map(([i,l],d)=>e("div",{style:{borderRadius:3,...s(i,l,140+d*22)}},d))})}),gallery:n(a,{title:"Gallery",children:[e("div",{style:{display:"flex",gap:8,alignItems:"center",marginTop:-2},children:["On the truck","Studio","Close-ups"].map((i,l)=>e("span",{style:{fontSize:"3.98cqw",fontWeight:l===0?700:500,color:l===0?t.text:t.muted,borderBottom:`1.5px solid ${l===0?t.rust:"transparent"}`,paddingBottom:2},children:i},i))}),e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:4,minHeight:0},children:[[t.rust,t.warm],[t.ink,t.inkSoft],[t.paper2,t.mark2]].map(([i,l],d)=>e("div",{style:{borderRadius:3,...s(i,l,150+d*20)}},d))})]}),ordersummary:n(a,{title:"Order summary",children:[n("div",{style:{display:"flex",gap:6,alignItems:"center",paddingBottom:4},children:[e("span",{style:{width:26,height:26,borderRadius:4,position:"relative",overflow:"hidden",flex:"none",...s(t.paper,t.paper2,150)},children:e(y,{size:18,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),n("div",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:"Ridge Grappler"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"20×9 +12 · qty 4"})]})]}),n("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column",justifyContent:"center"},children:[e(g,{k:"Subtotal",v:"$1,956"}),e(g,{k:"Fitting",v:"Free"}),n("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:5,fontSize:"4.64cqw"},children:[e("b",{style:{color:t.text},children:"Total"}),e("b",{style:{color:t.text,fontSize:"6.02cqw"},children:"$1,956"})]})]})]}),deliveryoptions:e(a,{title:"Delivery",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[["Standard","3–5 days","Free",!0],["Express","Next day","$19",!1]].map(([i,l,d,h])=>n("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"5px 6px",borderRadius:4,border:`1px solid ${h?t.rust:t.rule}`,background:h?t.paper:t.card},children:[e("span",{style:{width:7,height:7,borderRadius:"50%",flex:"none",border:`1.5px solid ${h?t.rust:t.mark1}`,background:h?t.rust:"transparent"}}),e("span",{style:{flex:1,fontSize:"4.31cqw",fontWeight:600,color:t.text},children:i}),e("span",{style:{fontSize:"3.98cqw",color:t.muted},children:l}),e("b",{style:{fontSize:"4.31cqw",color:t.text},children:d})]},i))})}),paymentbadges:n("div",{style:{...o,background:t.paper,display:"flex",flexDirection:"column",gap:8,justifyContent:"center",padding:"0 12px"},children:[e(m,{children:"Ways to pay"}),e("div",{style:{display:"flex",gap:5},children:[["VISA",t.ink],["MC",t.rust],["AMEX",t.inkSoft],["PayPal",t.ink2]].map(([i,l])=>e("span",{style:{flex:1,textAlign:"center",fontSize:"3.65cqw",fontWeight:800,letterSpacing:"0.06em",color:t.onInk,borderRadius:3,padding:"6px 0",background:l},children:i},i))})]}),stats:n("div",{style:{...o,padding:"10px 12px",display:"flex",flexDirection:"column",gap:9,justifyContent:"center",...s(t.ink,t.ink2)},children:[e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.warm},children:"By the numbers"}),n("div",{style:{display:"flex",gap:8},children:[e(u,{n:"27k",label:"Rigs fitted",tone:t.onInk}),e(u,{n:"12",label:"Years",tone:t.onInk}),e(u,{n:"4.9",label:"Avg rating",tone:t.warm})]})]}),testimonials:n("div",{style:{...o,overflow:"hidden",background:t.paper,padding:"10px 11px",display:"flex",flexDirection:"column",gap:6,justifyContent:"center"},children:[e("span",{style:{position:"absolute",right:10,top:2,fontSize:"22.4cqw",lineHeight:1,fontWeight:800,color:t.rust,opacity:.16},children:"”"}),e(S,{filled:5,size:7}),e("span",{style:{position:"relative",fontSize:"5.31cqw",lineHeight:1.35,color:t.text,fontWeight:600},children:"“Took them out to the Simpson and back. Not one chip.”"}),n("div",{style:{display:"flex",alignItems:"center",gap:5},children:[e(q,{}),e("span",{style:{fontSize:"3.98cqw",color:t.muted},children:"Dave M. · Hilux N80"})]})]}),reviews:n(a,{title:"Reviews",children:[e("div",{style:{display:"flex",gap:4,height:22},children:[[t.inkSoft,t.inkSoft2],[t.rust,t.warm],[t.ink,t.inkSoft],[t.mark2,t.mark1]].map(([i,l],d)=>e("div",{style:{flex:1,borderRadius:3,...s(i,l,140+d*15)}},d))}),e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[["Dave M.",5,"Not one chip after the Simpson."],["Sara K.",4,"Fitted in an hour, no fuss."]].map(([i,l,d])=>n("div",{style:{display:"flex",gap:5,alignItems:"flex-start"},children:[e(q,{size:12}),n("div",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[n("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[e("b",{style:{fontSize:"3.98cqw",color:t.text},children:i}),e(S,{filled:l})]}),e(c,{children:d})]})]},i))})]}),logos:n("div",{style:{...o,display:"flex",flexDirection:"column",gap:9,justifyContent:"center",padding:"0 12px",...s(t.ink,t.inkSoft)},children:[e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.warm},children:"As fitted by"}),e("div",{style:{display:"grid",gridTemplateColumns:"repeat(4,1fr)",gap:8},children:["ARB","TJM","IRONMAN","OPPOSITE"].map(i=>e("span",{style:{textAlign:"center",fontSize:"4.31cqw",fontWeight:800,letterSpacing:"0.08em",color:t.onInk,opacity:.82},children:i},i))})]}),prose:n("div",{style:{...o,background:t.paper,padding:"11px 14px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("span",{style:{fontSize:"5.86cqw",fontWeight:700,color:t.text},children:"Why offset matters"}),n("div",{style:{display:"flex",gap:6},children:[e("span",{style:{fontSize:"15.3cqw",lineHeight:.78,fontWeight:800,color:t.rust,marginTop:1},children:"T"}),n("div",{style:{display:"flex",flexDirection:"column"},children:[e(c,{children:"he number on the back of your wheel decides whether the"}),e(c,{w:"76%",children:"tyre sits under the guard or an inch outside it."})]})]})]}),cards:e(a,{title:"What you get",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[["Fitted free","In store, same day."],["5 yr cover","Structural, no fine print."],["Swap it","30 days, any reason."]].map(([i,l])=>n("div",{style:{border:`1px solid ${t.rule}`,borderRadius:4,padding:6,display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{width:11,height:11,borderRadius:3,background:t.rust,opacity:.9}}),e("b",{style:{fontSize:"3.98cqw",color:t.text},children:i}),e(c,{children:l})]},i))})}),faq:e(a,{title:"Questions",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},children:[["Will these fit my Hilux?",!0],["Do you fit them for me?",!1],["What if I pick wrong?",!1]].map(([i,l])=>n("div",{style:{borderBottom:`1px solid ${t.rule}`,padding:"4px 2px"},children:[n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:6},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"4.64cqw",color:t.muted,lineHeight:1},children:l?"−":"+"})]}),l&&e(c,{w:"90%",children:"Use the fitment finder — it reads your build, not just the model."})]},i))})}),hero:n("div",{style:{...o,overflow:"hidden",...s(t.ink,t.ink2)},children:[e("div",{style:{...o,background:`linear-gradient(90deg,${t.scrim},transparent 70%)`}}),e("div",{style:{position:"relative",height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",padding:"12px 14px",gap:5},children:e(C,{over:"NEW · SUMMER",overTone:t.warm,head:"Built for the worst road you own",cta:"SHOP ALL",ctaBg:t.warm,ctaFg:t.ink,tone:t.onInk})}),e(y,{size:104,style:{right:-24,bottom:-30}})]}),herosingle:n("div",{style:{...o,display:"flex",background:t.paper,overflow:"hidden"},children:[e("div",{style:{flex:1,padding:12,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:e(C,{over:"ALL-TERRAIN",overTone:t.rust,head:"Grip that does not ask",headSize:12,cta:"EXPLORE",ctaBg:t.text,ctaFg:t.onInk,tone:t.text})}),e("div",{style:{flex:1,position:"relative",...s(t.inkSoft,t.inkSoft2)},children:e(y,{size:74,style:{right:-14,top:16}})})]}),productgrid:e(a,{title:"Best sellers",children:n("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[e(k,{name:"Ridge 19",price:"$365"}),e(k,{name:"Ridge 29",price:"$410"}),e(k,{name:"Ridge 39",price:"$455"})]})}),collections:e(a,{title:"Shop by category",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[["Wheels",t.inkSoft,t.inkSoft2],["Tyres",t.rust,t.warm],["Lift kits",t.ink,t.inkSoft]].map(([i,l,d])=>e("div",{style:{borderRadius:4,display:"flex",alignItems:"flex-end",padding:5,color:t.onInk,...s(l,d)},children:e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.04em"},children:i})},i))})}),producthero:n("div",{style:{...o,display:"flex",background:t.card,overflow:"hidden"},children:[e("div",{style:{flex:1.1,position:"relative",...s(t.paper,t.paper2,150)},children:e(y,{size:78,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),n("div",{style:{flex:1,padding:"10px 10px 10px 8px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:t.rust},children:"NITTO"}),e("b",{style:{fontSize:"6.29cqw",color:t.text},children:"Ridge Grappler"}),e("span",{style:{fontSize:"6.63cqw",fontWeight:700,color:t.text},children:"$489"}),e("span",{style:{alignSelf:"flex-start",fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"4px 8px",borderRadius:2,background:t.text,color:t.onInk},children:"ADD TO CART"})]})]}),spectable:e(a,{title:"Specifications",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},children:[e(g,{k:"Diameter",v:'20"'}),e(g,{k:"Width",v:"9.0J"}),e(g,{k:"Offset",v:"+12"}),e(g,{k:"Load",v:"1250 kg"})]})}),fitmenttable:e(a,{title:"Will it fit?",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},children:[e(g,{k:"Hilux N80",v:"20×9 +12",ok:!0}),e(g,{k:"Ranger PX3",v:"20×9 +12",ok:!0}),e(g,{k:"LC79",v:"17×8 −10",ok:!0})]})}),processsteps:n("div",{style:{...o,background:t.paper,padding:10,display:"flex",flexDirection:"column",gap:7,justifyContent:"center"},children:[e(m,{children:"How it works"}),e("div",{style:{display:"flex",gap:6},children:["Pick your rig","Match the fit","We fit it"].map((i,l)=>n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{width:11,height:11,borderRadius:"50%",background:t.text,color:t.onInk,fontSize:"3.98cqw",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:700},children:l+1}),e("span",{style:{fontSize:"3.98cqw",color:t.text,fontWeight:600},children:i})]},i))})]}),detailrows:e("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",overflow:"hidden"},children:[["Forged, not cast","Half the weight, twice the road.",!1],["Fits your load","Rated to 1250 kg a corner.",!0]].map(([i,l,d])=>{const h=e("div",{style:{flex:1,...s(d?t.rust:t.inkSoft,d?t.warm:t.inkSoft2)}},"art"),f=n("div",{style:{flex:1.1,padding:8,display:"flex",flexDirection:"column",gap:2,justifyContent:"center"},children:[e("b",{style:{fontSize:"4.64cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.98cqw",color:t.muted,lineHeight:1.3},children:l})]},"tx");return e("div",{style:{flex:1,display:"flex",minHeight:0},children:d?[f,h]:[h,f]},i)})}),specstrip:e("div",{style:{...o,background:t.ink,color:t.onInk,display:"flex",alignItems:"center",justifyContent:"space-around",padding:"0 8px"},children:[["5 yr","Warranty"],["Free","Fitting"],["48 hr","Dispatch"]].map(([i,l])=>n("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:[e("b",{style:{fontSize:"5.69cqw",letterSpacing:"0.02em"},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.mark2,letterSpacing:"0.1em",textTransform:"uppercase"},children:l})]},l))})},D={subscribe:n("div",{style:{...o,padding:13,display:"flex",flexDirection:"column"},children:[n("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8},children:[n("div",{style:{display:"flex",alignItems:"center",gap:6},children:[e(r,{w:8,h:8,r:2,tone:"accent"}),e(r,{w:38,h:7,r:3,tone:"dark"}),e(r,{w:16,h:7,r:3,tone:"accent"})]}),e(r,{w:38,h:4,r:2,tone:"soft"})]}),e("div",{style:{height:1,background:p.line,marginBottom:10}}),n("div",{style:{flex:1,display:"flex",gap:10,border:`1px solid ${p.line}`,borderRadius:7,padding:10},children:[n("div",{style:{flex:1.1,display:"flex",flexDirection:"column",justifyContent:"center",gap:5},children:[e(r,{w:"46%",h:3,r:2,tone:"accent"}),e(r,{w:"84%",h:8,r:4,tone:"dark"}),e(r,{w:"56%",h:8,r:4,tone:"accent"}),e(r,{w:"96%",h:3,r:2,tone:"soft",style:{marginTop:2}}),n("div",{style:{display:"flex",gap:5,marginTop:4},children:[e("div",{style:{flex:1,height:13,borderRadius:5,border:`1px solid ${p.line}`,background:p.block}}),e(r,{w:34,h:13,r:5,tone:"accent"})]})]}),n("div",{style:{flex:1,background:p.block,borderRadius:6,padding:8,display:"flex",flexDirection:"column",gap:6},children:[e(r,{w:"52%",h:4,r:2,tone:"accent"}),Array.from({length:3}).map((i,l)=>n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:6,borderTop:l?`1px solid ${p.line}`:"none",paddingTop:l?4:0},children:[e(r,{w:34,h:4,r:2,tone:"dark"}),e(r,{w:16,h:3,r:2,tone:"soft"})]},l))]})]})]}),split:n("div",{style:{...o,display:"flex"},children:[e("div",{style:{width:"44%",background:v}}),n("div",{style:{flex:1,padding:15,display:"flex",flexDirection:"column",justifyContent:"center",gap:7},children:[e(r,{w:"44%",h:5,r:3,tone:"accent"}),e(r,{w:"88%",h:8,r:4,tone:"dark"}),e(r,{w:"70%",h:8,r:4,tone:"dark"}),e(r,{w:"94%",h:5,r:2,tone:"soft",style:{marginTop:2}}),e(r,{w:"80%",h:5,r:2,tone:"soft"}),e(r,{w:"40%",h:13,r:6,tone:"accent",style:{marginTop:5}})]})]}),sectionheader:n(z,{children:[e(r,{w:"18%",h:6,r:3,tone:"accent",style:{position:"absolute",top:15,right:16}}),n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:10},children:[n("div",{style:{display:"flex",alignItems:"center",gap:9},children:[e(r,{w:16,h:16,r:4,tone:"accent"}),e(r,{w:"20%",h:9,r:4,tone:"dark"})]}),e(r,{w:"62%",h:10,r:5,tone:"dark"}),e(r,{w:"42%",h:6,r:3,tone:"soft"})]})]}),header:e("div",{style:{...o,padding:14,display:"flex",flexDirection:"column",justifyContent:"center"},children:n("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e(r,{w:"22%",h:12,r:4,tone:"dark"}),n("div",{style:{display:"flex",gap:9,alignItems:"center"},children:[e(r,{w:26,h:6,r:3,tone:"soft"}),e(r,{w:26,h:6,r:3,tone:"soft"}),e(r,{w:26,h:6,r:3,tone:"soft"}),e(r,{w:18,h:14,r:5,tone:"accent"})]})]})}),footer:n("div",{style:{...o,padding:15,display:"flex",flexDirection:"column",justifyContent:"center",gap:12},children:[n("div",{style:{display:"flex",gap:14},children:[n("div",{style:{flex:1.4,display:"flex",flexDirection:"column",gap:6},children:[e(r,{w:"60%",h:9,r:4,tone:"dark"}),e(r,{w:"90%",h:5,r:2,tone:"soft"}),e(r,{w:"70%",h:5,r:2,tone:"soft"})]}),[0,1].map(i=>n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:6},children:[e(r,{w:"50%",h:6,r:3,tone:"dark"}),e(r,{w:"80%",h:5,r:2,tone:"soft"}),e(r,{w:"66%",h:5,r:2,tone:"soft"})]},i))]}),e("div",{style:{height:1,background:p.line}}),n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e(r,{w:"30%",h:5,r:2,tone:"soft"}),e(r,{w:"16%",h:5,r:2,tone:"soft"})]})]}),grid:e("div",{style:{...o,padding:14,display:"grid",gridTemplateColumns:"1fr 1fr",gridTemplateRows:"1fr 1fr",gap:9},children:Array.from({length:4}).map((i,l)=>e("div",{style:{borderRadius:6,background:p.block}},l))}),blanksection:e("div",{style:{...o,padding:14,display:"flex"},children:n("div",{style:{flex:1,border:`1px dashed ${p.line}`,borderRadius:7,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:[e(r,{w:14,h:2,r:1,tone:"tint"}),e(r,{w:2,h:14,r:1,tone:"tint",style:{position:"absolute"}})]})}),spacer:n("div",{style:{...o,padding:14,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[e(r,{w:"100%",h:6,r:3,tone:"soft"}),e(r,{w:16,h:22,r:3,tone:"block",style:{alignSelf:"center"}}),e(r,{w:"100%",h:6,r:3,tone:"soft"})]}),divider:e("div",{style:{...o,padding:14,display:"flex",alignItems:"center"},children:e(r,{w:"100%",h:3,r:2,tone:"dark"})}),customhtml:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:8,background:v},children:[e(r,{w:5,h:16,r:2,tone:"dark",style:{transform:"skewX(-14deg)"}}),e(r,{w:16,h:10,r:3,tone:"accent"}),e(r,{w:5,h:16,r:2,tone:"dark",style:{transform:"skewX(14deg)"}})]}),heading:e("div",{style:{...o,padding:14,display:"flex",alignItems:"center"},children:e(r,{w:"64%",h:13,r:4,tone:"dark"})}),text:n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:7},children:[e(r,{w:"100%",h:6,r:3,tone:"soft"}),e(r,{w:"96%",h:6,r:3,tone:"soft"}),e(r,{w:"100%",h:6,r:3,tone:"soft"}),e(r,{w:"58%",h:6,r:3,tone:"soft"})]}),image:e("div",{style:{position:"absolute",inset:14,borderRadius:7,background:v}}),button:e("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center"},children:e(r,{w:"34%",h:16,r:8,tone:"accent"})}),menu:n("div",{style:{...o,padding:"14px 22%",display:"flex",flexDirection:"column",justifyContent:"center",gap:7},children:[e(r,{w:"48%",h:7,r:3,tone:"dark"}),e(r,{w:"82%",h:5,r:2,tone:"soft"}),e(r,{w:"66%",h:5,r:2,tone:"soft"}),e(r,{w:"74%",h:5,r:2,tone:"soft"}),e(r,{w:"58%",h:5,r:2,tone:"soft"})]}),emailform:n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:9},children:[e(r,{w:"56%",h:8,r:3,tone:"dark"}),n("div",{style:{display:"flex",gap:6},children:[e("div",{style:{flex:1,height:16,borderRadius:5,border:`1px solid ${p.line}`}}),e(r,{w:"30%",h:16,r:5,tone:"accent"})]})]}),sociallogos:e("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:9},children:[0,1,2,3].map(i=>e(r,{w:16,h:16,r:8,tone:"dark"},i))}),paymentlogos:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:7},children:[e(r,{w:22,h:6,r:2,tone:"soft"}),[0,1,2,3].map(i=>e(r,{w:20,h:13,r:3,tone:"dark"},i))]}),search:e("div",{style:{...o,padding:"0 18%",display:"flex",alignItems:"center"},children:n("div",{style:{flex:1,height:22,borderRadius:11,border:`1px solid ${p.line}`,display:"flex",alignItems:"center",gap:7,padding:"0 9px"},children:[e("div",{style:{width:9,height:9,borderRadius:5,border:`2px solid ${p.dark}`}}),e(r,{w:"46%",h:5,r:2,tone:"soft"})]})}),cart:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:7},children:[e("div",{style:{width:22,height:18,borderRadius:"3px 3px 6px 6px",border:`2px solid ${p.dark}`}}),e("div",{style:{padding:"2px 6px",borderRadius:6,border:`1.5px solid ${p.dark}`},children:e(r,{w:7,h:7,r:2,tone:"dark"})})]}),countryswitch:n("div",{style:{...o,padding:14,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:5},children:[n("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"4px 8px",border:`1px solid ${p.line}`},children:[e(r,{w:22,h:6,r:2,tone:"dark"}),e(r,{w:6,h:4,r:1,tone:"soft"})]}),n("div",{style:{width:"46%",display:"flex",flexDirection:"column",gap:4,padding:6,border:`1px solid ${p.line}`},children:[e(r,{w:"80%",h:4,r:2,tone:"accent"}),e(r,{w:"64%",h:4,r:2,tone:"soft"}),e(r,{w:"72%",h:4,r:2,tone:"soft"})]})]}),legalline:n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:9},children:[e("div",{style:{height:1,background:p.line}}),n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e(r,{w:"38%",h:5,r:2,tone:"soft"}),n("div",{style:{display:"flex",gap:5},children:[e(r,{w:14,h:5,r:2,tone:"soft"}),e(r,{w:14,h:5,r:2,tone:"soft"}),e(r,{w:14,h:5,r:2,tone:"soft"})]})]})]}),fallback:e("div",{style:{position:"absolute",inset:14,borderRadius:8,background:p.block}})};function j({type:i}){const l=T[i]??"",d=W[l]??D[l]??D.fallback;return e("div",{className:"sf-thumb","aria-hidden":"true",style:{position:"absolute",inset:0,background:"var(--sf-thumb-thumb-bg)",pointerEvents:"none",containerType:"inline-size"},children:d})}export{j as default};
1
+ import{jsx as e,jsxs as n,Fragment as z}from"react/jsx-runtime";const p={dark:"var(--sf-thumb-bar-dark)",soft:"var(--sf-thumb-bar-light)",accent:"var(--sf-thumb-accent)",tint:"var(--sf-thumb-accent-tint)",block:"var(--sf-thumb-block)",line:"var(--sf-thumb-border)",card:"var(--sf-thumb-card)"},v="repeating-linear-gradient(135deg,var(--sf-thumb-hatch1) 0,var(--sf-thumb-hatch1) 5px,var(--sf-thumb-hatch2) 5px,var(--sf-thumb-hatch2) 10px)";function r({w:i,h:l,tone:d="dark",r:h=2,style:f}){return e("div",{style:{width:i,height:l,borderRadius:h,background:p[d],flex:"none",...f}})}const T={Hero:"hero",HeroSingle:"herosingle",IntroBleed:"intro",Collections:"collections",AlloyWheelsListing:"wheelslisting",CatalogFilterBar:"catalogfilterbar",ProductGrid:"productgrid",FitmentFinder:"fitmentfinder",Gallery:"gallery",GalleryB:"gallerygrid",SpecStrip:"specstrip",ProductHero:"producthero",SpecTable:"spectable",ProcessSteps:"processsteps",DetailRows:"detailrows",FitmentTable:"fitmenttable",CompatibleTyres:"compatibletyres",TyreSizes:"tyresizes",TyreFitment:"tyrefitment",EuTyreLabel:"eutyrelabel",RelatedProducts:"productgrid",BundleOffer:"bundleoffer",OrderSummary:"ordersummary",DeliveryOptions:"deliveryoptions",PaymentBadges:"paymentbadges",CheckoutCTA:"checkoutcta",Manifesto:"manifesto",ParagraphsA:"paragraphs",Prose:"prose",StatsParagraph:"statsparagraph",Chart:"chart",Mockup:"mockup",Footprint:"footprint",Timeline:"timeline",TimelineTrack:"timelinetrack",TitleWithButtons:"titlewithbuttons",Split:"split",Cards:"cards",FAQ:"faq",Testimonials:"testimonials",Masthead:"masthead",Breadcrumb:"breadcrumb",CategoryBar:"categorybar",FeaturedCover:"featuredcover",LongRead:"longread",ArticleBody:"articlebody",Series:"series",Subscribe:"subscribe",SubscribeBlogs:"subscribe",Events:"events",DocMasthead:"docmasthead",DocTabs:"doctabs",DocBody:"docbody",DocMetaCards:"docmetacards",Banner:"banner",Stats:"stats",KeyFeatures:"keyfeatures",Logos:"logos",Ticker:"ticker",Countdown:"countdown",Reviews:"reviews",SubmitBuild:"submitbuild",ReviewForm:"reviewform",Form:"form",AppointmentBooking:"appointmentbooking",ContactRouting:"contact",ContactLocations:"contactlocations",CityPictures:"citypictures",CityMaps:"citymaps",Header:"header",Footer:"footer",SectionHeader:"sectionheader",Grid:"grid",Flex:"blanksection",Spacer:"spacer",Divider:"divider",CustomHTML:"customhtml",Heading:"heading",Text:"text",ImageBlock:"image",ButtonBlock:"button",MenuBlock:"menu",EmailFormBlock:"emailform",SocialLogosBlock:"sociallogos",PaymentLogosBlock:"paymentlogos",LegalLineBlock:"legalline",SearchBlock:"search",CartBlock:"cart",CountrySwitchBlock:"countryswitch"},o={position:"absolute",inset:0},t={ink:"var(--sf-thumb-ink)",ink2:"var(--sf-thumb-ink-2)",inkSoft:"var(--sf-thumb-ink-soft)",inkSoft2:"var(--sf-thumb-ink-soft-2)",paper:"var(--sf-thumb-paper)",paper2:"var(--sf-thumb-paper-2)",warm:"var(--sf-thumb-warm)",rust:"var(--sf-thumb-rust)",onInk:"var(--sf-thumb-on-ink)",text:"var(--sf-thumb-scene-text)",muted:"var(--sf-thumb-scene-muted)",rule:"var(--sf-thumb-scene-rule)",mark1:"var(--sf-thumb-mark-1)",mark2:"var(--sf-thumb-mark-2)",card:"var(--sf-thumb-card)",scrim:"var(--sf-thumb-scrim)"},s=(i,l,d=160)=>({background:`linear-gradient(${d}deg,${i},${l})`});function y({size:i,style:l}){const d=Math.max(2,Math.round(i*.13)),h=(f,w,x)=>({position:"absolute",inset:f,background:w,borderRadius:d,...x?{mixBlendMode:x}:null});return n("span",{style:{position:"absolute",display:"block",width:i,height:i,...l},children:[e("span",{style:h("8% 26% 30% 6%",t.mark1)}),e("span",{style:h("26% 6% 8% 30%",t.mark2,"multiply")})]})}function m({children:i}){return e("span",{style:{fontSize:"4.64cqw",fontWeight:700,letterSpacing:"0.06em",textTransform:"uppercase",color:t.muted},children:i})}function C({over:i,overTone:l,head:d,headSize:h=11.5,cta:f,ctaBg:w,ctaFg:x,tone:I}){return n(z,{children:[i&&e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:l},children:i}),e("span",{style:{fontSize:h,lineHeight:1.15,fontWeight:700,maxWidth:"78%",color:I},children:d}),f&&e("span",{style:{alignSelf:"flex-start",fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"4px 8px",borderRadius:2,marginTop:2,background:w,color:x},children:f})]})}function k({name:i,price:l}){return n("div",{style:{display:"flex",flexDirection:"column",gap:2,minWidth:0},children:[e("div",{style:{flex:1,minHeight:0,borderRadius:3,position:"relative",overflow:"hidden",...s(t.paper,t.paper2,150)},children:e(y,{size:34,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),e("span",{style:{fontSize:"3.65cqw",fontWeight:600,color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:l})]})}function g({k:i,v:l,ok:d}){return n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:6,padding:"3.5px 2px",borderBottom:`1px solid ${t.rule}`,fontSize:"3.98cqw",color:t.muted},children:[e("span",{children:i}),n("span",{style:{display:"flex",gap:6,alignItems:"center"},children:[e("b",{style:{color:t.text,fontWeight:700},children:l}),d&&e("span",{style:{color:t.rust,fontWeight:700},children:"✓"})]})]})}function a({title:i,children:l}){return n("div",{style:{...o,background:t.card,padding:"9px 10px",display:"flex",flexDirection:"column",gap:6},children:[e(m,{children:i}),l]})}function q({size:i=14}){return e("span",{style:{width:i,height:i,borderRadius:"50%",flex:"none",display:"block",background:`linear-gradient(150deg,${t.mark1},${t.mark2})`}})}function S({filled:i=5,size:l=6}){return n("span",{style:{fontSize:l,letterSpacing:"0.06em",color:t.rust,lineHeight:1},children:["★".repeat(i),e("span",{style:{color:t.mark1},children:"★".repeat(5-i)})]})}function u({n:i,label:l,tone:d=t.text}){return n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[e("b",{style:{fontSize:"8.16cqw",lineHeight:1,color:d},children:i}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.08em",textTransform:"uppercase",opacity:.62,color:d},children:l})]})}function c({children:i,w:l}){return e("span",{style:{fontSize:"3.98cqw",lineHeight:1.45,color:t.muted,width:l,display:"block"},children:i})}function b({label:i,w:l="100%",filled:d}){return n("div",{style:{width:l,display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.08em",textTransform:"uppercase",color:t.muted},children:i}),e("span",{style:{height:9,borderRadius:3,border:`1px solid ${t.rule}`,background:d?t.paper:t.card}})]})}function R({children:i}){return e("span",{style:{alignSelf:"flex-start",fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,background:t.text,color:t.onInk},children:i})}const W={wheelslisting:e(a,{title:"All wheels",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[["Ridge 19","20×9 +12","$365"],["Ridge 29","18×9 +20","$410"],["Ridge 39","17×8 −10","$455"]].map(([i,l,d])=>n("div",{style:{display:"flex",alignItems:"center",gap:6},children:[e("span",{style:{width:20,height:15,borderRadius:3,flex:"none",position:"relative",overflow:"hidden",...s(t.paper,t.paper2,150)},children:e(y,{size:12,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),e("b",{style:{flex:1,fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:l}),e("b",{style:{fontSize:"4.31cqw",color:t.text,width:26,textAlign:"right"},children:d})]},i))})}),catalogfilterbar:n("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",justifyContent:"center",gap:7,padding:"0 11px"},children:[n("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[["20 inch","6×139.7","Black"].map(i=>n("span",{style:{fontSize:"3.65cqw",fontWeight:600,padding:"4px 7px",borderRadius:99,background:t.text,color:t.onInk,display:"flex",gap:4,alignItems:"center"},children:[i,e("span",{style:{opacity:.6},children:"✕"})]},i)),e("span",{style:{fontSize:"3.65cqw",color:t.rust,fontWeight:700},children:"Clear"})]}),n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"128 results"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted,border:`1px solid ${t.rule}`,borderRadius:3,padding:"3px 6px"},children:"Sort: Price ▾"})]})]}),fitmentfinder:n("div",{style:{...o,padding:"10px 12px",display:"flex",flexDirection:"column",gap:6,justifyContent:"center",...s(t.ink,t.inkSoft)},children:[e("span",{style:{fontSize:"5.31cqw",fontWeight:700,color:t.onInk},children:"Will it fit your rig?"}),n("div",{style:{display:"flex",gap:4},children:[["2021","Toyota","Hilux"].map(i=>n("span",{style:{flex:1,fontSize:"3.65cqw",color:t.text,background:t.card,borderRadius:3,padding:"5px 6px",display:"flex",justifyContent:"space-between"},children:[i," ",e("span",{style:{color:t.muted},children:"▾"})]},i)),e("span",{style:{fontSize:"3.65cqw",fontWeight:700,letterSpacing:"0.08em",background:t.warm,color:t.ink,borderRadius:3,padding:"5px 7px"},children:"GO"})]})]}),compatibletyres:e(a,{title:"Tyres that suit",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[["Ridge Grappler","$489"],["Trail Grappler","$525"],["Terra Grappler","$438"]].map(([i,l])=>n("div",{style:{display:"flex",flexDirection:"column",gap:2,minWidth:0},children:[e("div",{style:{flex:1,minHeight:0,borderRadius:3,position:"relative",overflow:"hidden",background:t.ink},children:e("span",{style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%,-50%)",width:26,height:26,borderRadius:"50%",border:`5px solid ${t.mark2}`,boxSizing:"border-box"}})}),e("span",{style:{fontSize:"3.32cqw",fontWeight:600,color:t.text,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:i}),e("span",{style:{fontSize:"3.32cqw",color:t.muted},children:l})]},i))})}),tyresizes:e(a,{title:"Available sizes",children:e("div",{style:{flex:1,display:"flex",flexWrap:"wrap",gap:4,alignContent:"center"},children:["265/65R17","285/70R17","265/60R18","275/55R20"].map((i,l)=>e("span",{style:{fontSize:"3.65cqw",fontWeight:600,padding:"5px 7px",borderRadius:3,border:`1px solid ${l===0?t.rust:t.rule}`,color:l===0?t.rust:t.text,background:l===0?t.paper:t.card},children:i},i))})}),tyrefitment:n(a,{title:"Will it fit your car?",children:[e("div",{style:{display:"flex",gap:3},children:["Make","Model","Year","Trim"].map(i=>n("span",{style:{flex:1,minWidth:0,fontSize:"3.32cqw",color:t.muted,background:t.paper,border:`1px solid ${t.rule}`,borderRadius:3,padding:"4px 5px",display:"flex",justifyContent:"space-between",gap:2,overflow:"hidden",whiteSpace:"nowrap"},children:[i," ",e("span",{style:{color:t.muted},children:"▾"})]},i))}),e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:2,justifyContent:"center",minHeight:0},children:[["265/65R17","Fits",!0],["285/70R17","Not your size",!1]].map(([i,l,d])=>n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:6,borderTop:`1px solid ${t.rule}`,paddingTop:3},children:[e("span",{style:{fontSize:"3.32cqw",fontWeight:600,color:t.text},children:i}),e("span",{style:{fontSize:"3.32cqw",fontWeight:d?700:400,letterSpacing:"0.06em",color:d?t.warm:t.muted},children:l})]},i))})]}),eutyrelabel:n("div",{style:{...o,background:t.card,padding:"9px 11px",display:"flex",gap:8,alignItems:"center"},children:[e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:1.5},children:[["A","42%"],["B","56%"],["C","70%"],["D","84%"]].map(([i,l],d)=>n("div",{style:{display:"flex",alignItems:"center",gap:3},children:[e("span",{style:{width:l,height:6,borderRadius:"0 2px 2px 0",background:d===1?t.rust:t.mark1}}),e("span",{style:{fontSize:"3.32cqw",fontWeight:700,color:d===1?t.rust:t.muted},children:i})]},i))}),n("div",{style:{flex:"none",display:"flex",flexDirection:"column",gap:3,alignItems:"center"},children:[e("b",{style:{fontSize:"6.63cqw",lineHeight:1,color:t.text},children:"72"}),e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.08em",color:t.muted},children:"dB"})]})]}),bundleoffer:n("div",{style:{...o,background:t.paper,padding:"9px 11px",display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[e(m,{children:"Buy it with"}),n("div",{style:{display:"flex",alignItems:"center",gap:5},children:[[0,1].map(i=>e("span",{style:{width:26,height:22,borderRadius:3,flex:"none",position:"relative",overflow:"hidden",background:t.card},children:e(y,{size:17,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})},i)),e("span",{style:{fontSize:"5.69cqw",fontWeight:700,color:t.muted},children:"+"}),n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:1},children:[e("span",{style:{fontSize:"3.65cqw",color:t.muted,textDecoration:"line-through"},children:"$1,024"}),e("b",{style:{fontSize:"6.02cqw",color:t.rust,lineHeight:1},children:"$899"})]})]})]}),checkoutcta:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 13px",gap:8,...s(t.ink,t.ink2)},children:[n("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",color:t.warm,fontWeight:700},children:"READY TO ORDER"}),e("b",{style:{fontSize:"6.63cqw",color:t.onInk,lineHeight:1},children:"$1,956"}),e("span",{style:{fontSize:"3.65cqw",color:t.onInk,opacity:.65},children:"4 items · fitted free"})]}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"6px 10px",borderRadius:2,background:t.warm,color:t.ink,flex:"none"},children:"CHECKOUT"})]}),contact:e(a,{title:"Who do you need?",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[["Fitment help","the workshop"],["Order status","the front desk"],["Trade accounts","sales"]].map(([i,l])=>n("div",{style:{display:"flex",alignItems:"center",gap:5},children:[e("b",{style:{flex:1,fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:l}),e("span",{style:{fontSize:"4.64cqw",color:t.rust,lineHeight:1},children:"›"})]},i))})}),contactlocations:e(a,{title:"Find us",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(2,1fr)",gap:5,minHeight:0},children:[["Brisbane","7 Kerry Rd","Mon–Sat"],["Townsville","12 Enterprise","Mon–Fri"]].map(([i,l,d])=>n("div",{style:{border:`1px solid ${t.rule}`,borderRadius:4,padding:"5px 6px",display:"flex",flexDirection:"column",gap:1},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.32cqw",color:t.muted},children:l}),e("span",{style:{fontSize:"3.32cqw",color:t.rust,fontWeight:700},children:d})]},i))})}),citypictures:e(a,{title:"Our studios",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:3,minHeight:0},children:[e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.12em",fontWeight:700,color:t.muted},children:"A · AMERICAS"}),e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:4,minHeight:0},children:["Los Angeles","Miami","Toronto"].map(i=>n("div",{style:{position:"relative",minHeight:0},children:[e(r,{r:3,style:{...o,background:`linear-gradient(transparent 45%,${t.scrim} 45%),${s(t.ink,t.inkSoft2).background}`}}),e("b",{style:{position:"absolute",left:5,bottom:4,fontSize:"3.65cqw",color:t.onInk},children:i})]},i))})]})}),citymaps:e(a,{title:"Find us",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(2,1fr)",gap:5,minHeight:0},children:[["Brisbane","7 Kerry Rd"],["Townsville","12 Enterprise"]].map(([i,l])=>n("div",{style:{position:"relative",padding:"4px 5px",display:"flex",flexDirection:"column",gap:2,minHeight:0},children:[e(r,{r:4,style:{...o,background:"none",border:`1px solid ${t.rule}`}}),e("b",{style:{position:"relative",fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{position:"relative",fontSize:"3.32cqw",color:t.muted},children:l}),n("div",{style:{flex:1,minHeight:0,position:"relative"},children:[e(r,{r:3,style:{...o,...s(t.paper,t.paper2,150)}}),e(r,{w:"60%",h:"60%",r:8,style:{position:"absolute",left:"12%",top:"20%",background:t.mark1,opacity:.75}}),e(r,{w:6,h:6,r:3,style:{position:"absolute",left:"44%",top:"34%",background:t.rust}})]})]},i))})}),form:e(a,{title:"Send us a message",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[n("div",{style:{display:"flex",gap:5},children:[e(b,{label:"Name"}),e(b,{label:"Email"})]}),e(b,{label:"Message",filled:!0}),e(R,{children:"SEND"})]})}),appointmentbooking:e(a,{title:"Book a fitting",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("div",{style:{display:"flex",gap:3},children:["Mon","Tue","Wed","Thu"].map((i,l)=>e("span",{style:{flex:1,textAlign:"center",fontSize:"3.32cqw",fontWeight:l===2?700:500,padding:"4px 0",borderRadius:3,background:l===2?t.text:t.paper,color:l===2?t.onInk:t.muted},children:i},i))}),e("div",{style:{display:"flex",gap:3},children:["8:00","10:30","13:00","15:30"].map((i,l)=>e("span",{style:{flex:1,textAlign:"center",fontSize:"3.32cqw",padding:"4px 0",borderRadius:3,border:`1px solid ${l===1?t.rust:t.rule}`,color:l===1?t.rust:t.muted,background:l===3?t.paper:t.card,textDecoration:l===3?"line-through":"none"},children:i},i))})]})}),reviewform:e(a,{title:"Leave a review",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[e(S,{filled:4,size:14}),e(b,{label:"Your review",filled:!0}),e(R,{children:"POST"})]})}),submitbuild:e(a,{title:"Show us your build",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:3,border:`1px dashed ${t.mark1}`,borderRadius:5,background:t.paper},children:[e("span",{style:{fontSize:"6.63cqw",lineHeight:1,color:t.rust,fontWeight:300},children:"+"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"Drop a photo of your rig"})]})}),masthead:n("div",{style:{...o,background:t.paper,display:"flex",flexDirection:"column",justifyContent:"center",padding:"0 13px",gap:5},children:[e("span",{style:{height:1.5,background:t.text}}),e("span",{style:{fontSize:"7.65cqw",fontWeight:800,letterSpacing:"0.02em",color:t.text,lineHeight:1},children:"THE TRACK"}),n("div",{style:{display:"flex",justifyContent:"space-between",fontSize:"3.65cqw",letterSpacing:"0.1em",textTransform:"uppercase",color:t.muted},children:[e("span",{children:"Issue 14"}),e("span",{children:"Spring 2026"})]}),e("span",{style:{height:1,background:t.rule}})]}),featuredcover:n("div",{style:{...o,overflow:"hidden",...s(t.ink,t.inkSoft2)},children:[e(y,{size:92,style:{right:-18,top:-14}}),e("div",{style:{position:"absolute",inset:0,background:`linear-gradient(0deg,${t.scrim},transparent 62%)`}}),n("div",{style:{position:"absolute",left:12,right:12,bottom:11,display:"flex",flexDirection:"column",gap:3},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:t.warm},children:"FEATURE"}),e("span",{style:{fontSize:"6.16cqw",lineHeight:1.15,fontWeight:700,color:t.onInk},children:"Four days on the Madigan Line"})]})]}),longread:n("div",{style:{...o,background:t.card,padding:"10px 14px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.14em",fontWeight:700,color:t.rust},children:"12 MIN READ"}),e("span",{style:{fontSize:"6.02cqw",lineHeight:1.15,fontWeight:700,color:t.text},children:"What breaks first, and why"}),e(c,{children:"Every failure starts in the same place:"}),e(c,{w:"80%",children:"the bolt nobody re-torqued."})]}),articlebody:n("div",{style:{...o,background:t.card,padding:"10px 22px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center",alignItems:"center",textAlign:"center"},children:[e("span",{style:{fontSize:"4.97cqw",lineHeight:1.2,fontWeight:700,color:t.text},children:"Why offset beats width"}),e(c,{w:"100%",children:"A wider wheel adds grip only if the offset still"}),e(c,{w:"88%",children:"clears the arch, so the offset is chosen first."}),e(c,{w:"80%",children:"Width follows from the space left."})]}),series:e(a,{title:"Recurring columns",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[["Shed Notes","Monthly"],["Track Tested","Fortnightly"],["Reader Rigs","Weekly"]].map(([i,l])=>n("div",{style:{display:"flex",alignItems:"center",gap:6},children:[e("span",{style:{width:3,height:12,borderRadius:2,background:t.rust,flex:"none"}}),e("b",{style:{flex:1,fontSize:"4.64cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.08em",textTransform:"uppercase",color:t.muted},children:l})]},i))})}),events:e(a,{title:"Latest posts",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[[t.inkSoft,t.inkSoft2,"Madigan Line, four days"],[t.rust,t.warm,"Why offset beats width"]].map(([i,l,d])=>n("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[e("span",{style:{width:24,height:18,borderRadius:3,flex:"none",...s(i,l,150)}}),n("div",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:d}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"4 Sep · Shed Notes"})]})]},d))})}),docmasthead:n("div",{style:{...o,background:t.card,padding:"12px 14px",display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:t.muted},children:"POLICY"}),e("span",{style:{fontSize:"6.49cqw",fontWeight:700,color:t.text,lineHeight:1.1},children:"Returns & refunds"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"Version 3 · Updated 4 Sep 2026"}),e("span",{style:{height:2,width:26,background:t.rust,borderRadius:1}})]}),docbody:e("div",{style:{...o,background:t.card,padding:"9px 13px",display:"flex",flexDirection:"column",gap:3,justifyContent:"center"},children:[["1.","You may return an unfitted wheel within 30 days."],["2.","Fitted wheels are covered by the structural warranty."],["3.","Freight on a change of mind is yours."]].map(([i,l])=>n("div",{style:{display:"flex",gap:5},children:[e("b",{style:{fontSize:"3.98cqw",color:t.rust,flex:"none"},children:i}),e(c,{children:l})]},i))}),docmetacards:e(a,{title:"At a glance",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(2,1fr)",gap:5,minHeight:0},children:[["30 days","To return"],["5 years","Structural"],["Free","Fitting"],["48 hrs","Dispatch"]].map(([i,l])=>n("div",{style:{border:`1px solid ${t.rule}`,borderRadius:4,padding:"5px 6px",display:"flex",flexDirection:"column",gap:1},children:[e("b",{style:{fontSize:"5.31cqw",color:t.text,lineHeight:1},children:i}),e("span",{style:{fontSize:"3.32cqw",letterSpacing:"0.08em",textTransform:"uppercase",color:t.muted},children:l})]},l))})}),doctabs:n("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",justifyContent:"center",gap:0,padding:"0 11px"},children:[e("div",{style:{display:"flex",gap:0},children:["Returns","Warranty","Shipping"].map((i,l)=>e("span",{style:{fontSize:"3.98cqw",fontWeight:l===0?700:500,padding:"5px 8px",color:l===0?t.text:t.muted,background:l===0?t.paper:"transparent",borderRadius:"4px 4px 0 0",border:`1px solid ${l===0?t.rule:"transparent"}`,borderBottom:"none"},children:i},i))}),e("span",{style:{height:1,background:t.rule}}),n("div",{style:{paddingTop:6,display:"flex",flexDirection:"column",gap:2},children:[e(c,{children:"Unfitted wheels come back within 30 days, no questions."}),e(c,{w:"58%",children:"Freight on a change of mind is yours."})]})]}),paragraphs:n("div",{style:{...o,background:t.card,padding:"11px 14px",display:"flex",gap:10,alignItems:"center"},children:[e("span",{style:{flex:1,fontSize:"5.86cqw",lineHeight:1.2,fontWeight:700,color:t.text},children:"The right wheel is the boring one."}),n("div",{style:{flex:1,display:"flex",flexDirection:"column"},children:[e(c,{children:"Forged, correctly offset, rated for what you actually"}),e(c,{children:"carry. Everything else is a photograph."})]})]}),keyfeatures:e(a,{title:"Key features",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:["Flow-formed barrel","1250 kg per corner","Hub-centric fit"].map(i=>n("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[e("span",{style:{fontSize:"4.64cqw",color:t.rust,fontWeight:700,lineHeight:1},children:"✓"}),e("span",{style:{fontSize:"4.31cqw",color:t.text},children:i})]},i))})}),statsparagraph:n("div",{style:{...o,background:t.paper,padding:"10px 12px",display:"flex",gap:10,alignItems:"center"},children:[n("div",{style:{flex:"none",display:"flex",flexDirection:"column",gap:5},children:[e(u,{n:"27k",label:"Rigs"}),e(u,{n:"4.9",label:"Rating"})]}),n("div",{style:{flex:1,display:"flex",flexDirection:"column"},children:[e(c,{children:"Twelve years of fitting the same three questions, and the"}),e(c,{children:"answer has not moved: load rating, offset, then looks."})]})]}),chart:n(a,{title:"Load vs weight",children:[e("div",{style:{flex:1,display:"flex",alignItems:"flex-end",gap:5,paddingBottom:2},children:[38,62,84,71,96].map((i,l)=>e("span",{style:{flex:1,height:`${i}%`,borderRadius:"2px 2px 0 0",background:l===4?t.rust:t.mark1}},l))}),e("span",{style:{height:1,background:t.rule,marginTop:-4}})]}),mockup:e("div",{style:{...o,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s(t.inkSoft,t.ink)},children:n("div",{style:{width:"72%",height:"74%",borderRadius:4,overflow:"hidden",background:t.card,boxShadow:`0 6px 14px ${t.scrim}`},children:[e("div",{style:{height:9,background:t.paper,display:"flex",alignItems:"center",gap:2,padding:"0 4px"},children:[0,1,2].map(i=>e("span",{style:{width:2.5,height:2.5,borderRadius:"50%",background:t.mark1}},i))}),n("div",{style:{padding:5,display:"flex",flexDirection:"column",gap:3},children:[e("span",{style:{height:4,width:"56%",borderRadius:1,background:t.mark2}}),e("span",{style:{height:14,borderRadius:2,...s(t.paper,t.paper2,150)}}),e("span",{style:{height:3,width:"38%",borderRadius:1,background:t.rust}})]})]})}),manifesto:e("div",{style:{...o,overflow:"hidden",display:"flex",alignItems:"center",padding:"0 16px",...s(t.ink,t.ink2)},children:n("span",{style:{fontSize:"6.63cqw",lineHeight:1.2,fontWeight:700,color:t.onInk},children:["We build for the ",e("span",{style:{color:t.warm},children:"last"})," ten percent of the track."]})}),timeline:e(a,{title:"Our story",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",gap:6,paddingLeft:4},children:[["1998","One shed, one lathe."],["2009","First forged rim."],["2024","27,000 rigs on."]].map(([i,l],d)=>n("div",{style:{display:"flex",gap:7,alignItems:"flex-start",position:"relative"},children:[d<2&&e("span",{style:{position:"absolute",left:3,top:8,bottom:-8,width:1,background:t.rule}}),e("span",{style:{width:7,height:7,borderRadius:"50%",flex:"none",marginTop:1,background:t.rust,zIndex:1}}),n("div",{style:{display:"flex",flexDirection:"column",gap:0,minWidth:0},children:[e("b",{style:{fontSize:"4.64cqw",color:t.text},children:i}),e(c,{children:l})]})]},i))})}),timelinetrack:n("div",{style:{...o,padding:"0 12px",display:"flex",flexDirection:"column",gap:10,justifyContent:"center",...s(t.ink,t.inkSoft)},children:[e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.warm},children:"Milestones"}),n("div",{style:{position:"relative",display:"flex",justifyContent:"space-between",paddingTop:7},children:[e("span",{style:{position:"absolute",left:0,right:0,top:3,height:1,background:t.mark2,opacity:.55}}),["1998","2009","2016","2024"].map((i,l)=>n("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:3,position:"relative"},children:[e("span",{style:{position:"absolute",top:-7,width:6,height:6,borderRadius:"50%",background:l===3?t.warm:t.mark1}}),e("span",{style:{fontSize:"4.31cqw",fontWeight:700,color:l===3?t.warm:t.onInk,opacity:l===3?1:.75},children:i})]},i))]})]}),footprint:n("div",{style:{...o,overflow:"hidden",...s(t.paper,t.paper2,150)},children:[e("span",{style:{position:"absolute",left:"8%",top:"18%",width:"62%",height:"64%",borderRadius:"48% 52% 40% 60% / 55% 45% 55% 45%",background:t.mark1,opacity:.75}}),e("span",{style:{position:"absolute",left:"52%",top:"52%",width:"34%",height:"34%",borderRadius:"58% 42% 55% 45% / 45% 58% 42% 55%",background:t.mark2,opacity:.55}}),[["26%","38%"],["44%","58%"],["62%","34%"]].map(([i,l])=>e("span",{style:{position:"absolute",left:i,top:l,width:7,height:7,borderRadius:"50% 50% 50% 0",transform:"rotate(-45deg)",background:t.rust}},i)),e("span",{style:{position:"absolute",left:11,bottom:9,fontSize:"4.64cqw",fontWeight:700,color:t.text},children:"3 fitting bays"})]}),banner:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 13px",gap:8,background:t.rust},children:[n("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[e("b",{style:{fontSize:"6.02cqw",color:t.onInk},children:"End of season · 20% off"}),e("span",{style:{fontSize:"3.98cqw",color:t.onInk,opacity:.8},children:"Fitted free, this month only."})]}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,background:t.onInk,color:t.text,flex:"none"},children:"SHOP"})]}),titlewithbuttons:n("div",{style:{...o,background:t.paper,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:7,padding:"0 14px",textAlign:"center"},children:[e("span",{style:{fontSize:"6.49cqw",lineHeight:1.15,fontWeight:700,color:t.text},children:"Not sure what fits?"}),n("div",{style:{display:"flex",gap:5},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,background:t.text,color:t.onInk},children:"FIND MY FIT"}),e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"5px 9px",borderRadius:2,border:`1px solid ${t.text}`,color:t.text},children:"CALL US"})]})]}),ticker:e("div",{style:{...o,overflow:"hidden",background:t.ink,display:"flex",alignItems:"center"},children:e("span",{style:{whiteSpace:"nowrap",fontSize:"6.29cqw",fontWeight:800,letterSpacing:"0.06em",color:t.warm,marginLeft:-14},children:"FREE FITTING · 48HR DISPATCH · FREE FITTING · 48HR DISPATCH"})}),countdown:n("div",{style:{...o,padding:"10px 12px",display:"flex",flexDirection:"column",alignItems:"center",gap:6,justifyContent:"center",...s(t.ink,t.ink2)},children:[e("span",{style:{fontSize:"3.65cqw",fontWeight:700,letterSpacing:"0.16em",textTransform:"uppercase",color:t.muted},children:"Back online in"}),e("div",{style:{display:"flex",alignItems:"flex-start",gap:5},children:[["23","Hours"],["59","Minutes"],["48","Seconds"]].map(([i,l],d)=>n("div",{style:{display:"flex",alignItems:"flex-start",gap:5},children:[d>0&&e("b",{style:{fontSize:"9.5cqw",lineHeight:1,color:t.warm},children:":"}),n("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:[e("b",{style:{fontSize:"11.5cqw",lineHeight:1,color:t.onInk,fontVariantNumeric:"tabular-nums"},children:i}),e("span",{style:{fontSize:"3.2cqw",letterSpacing:"0.1em",textTransform:"uppercase",opacity:.62,color:t.onInk},children:l})]})]},l))})]}),breadcrumb:e("div",{style:{...o,background:t.card,display:"flex",alignItems:"center",padding:"0 13px"},children:n("span",{style:{fontSize:"4.64cqw",color:t.muted},children:["Home ",e("span",{style:{opacity:.5},children:"/"})," Wheels ",e("span",{style:{opacity:.5},children:"/"})," ",e("span",{style:{color:t.text,fontWeight:700},children:"20 inch"})]})}),categorybar:n("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",justifyContent:"center",gap:7,padding:"0 11px"},children:[e("div",{style:{display:"flex",gap:5},children:["All","Wheels","Tyres","Lift"].map((i,l)=>e("span",{style:{fontSize:"3.98cqw",fontWeight:l===0?700:500,padding:"4px 7px",borderRadius:99,background:l===0?t.text:t.paper,color:l===0?t.onInk:t.muted},children:i},i))}),e("span",{style:{height:1,background:t.rule}})]}),intro:n("div",{style:{...o,overflow:"hidden",background:t.card},children:[e("div",{style:{position:"absolute",inset:0,...s(t.ink,t.inkSoft2)}}),e(y,{size:64,style:{right:8,top:6}}),n("div",{style:{position:"absolute",left:16,right:16,bottom:8,top:"46%",background:t.paper,borderRadius:6,padding:"8px 11px",display:"flex",flexDirection:"column",gap:2,boxShadow:`0 -4px 10px ${t.scrim}`},children:[e("span",{style:{fontSize:"5.69cqw",fontWeight:700,color:t.text},children:"Since 1998"}),e(c,{children:"One shed, one lathe, one idea."}),e(c,{w:"66%",children:"It turned out to be right."})]})]}),gallerygrid:e(a,{title:"Photo gallery",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"repeat(2,1fr)",gap:4,minHeight:0},children:[[t.rust,t.warm],[t.inkSoft,t.ink],[t.paper2,t.mark2],[t.ink,t.inkSoft2],[t.warm,t.paper2],[t.mark2,t.inkSoft]].map(([i,l],d)=>e("div",{style:{borderRadius:3,...s(i,l,140+d*22)}},d))})}),gallery:n(a,{title:"Gallery",children:[e("div",{style:{display:"flex",gap:8,alignItems:"center",marginTop:-2},children:["On the truck","Studio","Close-ups"].map((i,l)=>e("span",{style:{fontSize:"3.98cqw",fontWeight:l===0?700:500,color:l===0?t.text:t.muted,borderBottom:`1.5px solid ${l===0?t.rust:"transparent"}`,paddingBottom:2},children:i},i))}),e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:4,minHeight:0},children:[[t.rust,t.warm],[t.ink,t.inkSoft],[t.paper2,t.mark2]].map(([i,l],d)=>e("div",{style:{borderRadius:3,...s(i,l,150+d*20)}},d))})]}),ordersummary:n(a,{title:"Order summary",children:[n("div",{style:{display:"flex",gap:6,alignItems:"center",paddingBottom:4},children:[e("span",{style:{width:26,height:26,borderRadius:4,position:"relative",overflow:"hidden",flex:"none",...s(t.paper,t.paper2,150)},children:e(y,{size:18,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),n("div",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:"Ridge Grappler"}),e("span",{style:{fontSize:"3.65cqw",color:t.muted},children:"20×9 +12 · qty 4"})]})]}),n("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column",justifyContent:"center"},children:[e(g,{k:"Subtotal",v:"$1,956"}),e(g,{k:"Fitting",v:"Free"}),n("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:5,fontSize:"4.64cqw"},children:[e("b",{style:{color:t.text},children:"Total"}),e("b",{style:{color:t.text,fontSize:"6.02cqw"},children:"$1,956"})]})]})]}),deliveryoptions:e(a,{title:"Delivery",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[["Standard","3–5 days","Free",!0],["Express","Next day","$19",!1]].map(([i,l,d,h])=>n("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"5px 6px",borderRadius:4,border:`1px solid ${h?t.rust:t.rule}`,background:h?t.paper:t.card},children:[e("span",{style:{width:7,height:7,borderRadius:"50%",flex:"none",border:`1.5px solid ${h?t.rust:t.mark1}`,background:h?t.rust:"transparent"}}),e("span",{style:{flex:1,fontSize:"4.31cqw",fontWeight:600,color:t.text},children:i}),e("span",{style:{fontSize:"3.98cqw",color:t.muted},children:l}),e("b",{style:{fontSize:"4.31cqw",color:t.text},children:d})]},i))})}),paymentbadges:n("div",{style:{...o,background:t.paper,display:"flex",flexDirection:"column",gap:8,justifyContent:"center",padding:"0 12px"},children:[e(m,{children:"Ways to pay"}),e("div",{style:{display:"flex",gap:5},children:[["VISA",t.ink],["MC",t.rust],["AMEX",t.inkSoft],["PayPal",t.ink2]].map(([i,l])=>e("span",{style:{flex:1,textAlign:"center",fontSize:"3.65cqw",fontWeight:800,letterSpacing:"0.06em",color:t.onInk,borderRadius:3,padding:"6px 0",background:l},children:i},i))})]}),stats:n("div",{style:{...o,padding:"10px 12px",display:"flex",flexDirection:"column",gap:9,justifyContent:"center",...s(t.ink,t.ink2)},children:[e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.warm},children:"By the numbers"}),n("div",{style:{display:"flex",gap:8},children:[e(u,{n:"27k",label:"Rigs fitted",tone:t.onInk}),e(u,{n:"12",label:"Years",tone:t.onInk}),e(u,{n:"4.9",label:"Avg rating",tone:t.warm})]})]}),testimonials:n("div",{style:{...o,overflow:"hidden",background:t.paper,padding:"10px 11px",display:"flex",flexDirection:"column",gap:6,justifyContent:"center"},children:[e("span",{style:{position:"absolute",right:10,top:2,fontSize:"22.4cqw",lineHeight:1,fontWeight:800,color:t.rust,opacity:.16},children:"”"}),e(S,{filled:5,size:7}),e("span",{style:{position:"relative",fontSize:"5.31cqw",lineHeight:1.35,color:t.text,fontWeight:600},children:"“Took them out to the Simpson and back. Not one chip.”"}),n("div",{style:{display:"flex",alignItems:"center",gap:5},children:[e(q,{}),e("span",{style:{fontSize:"3.98cqw",color:t.muted},children:"Dave M. · Hilux N80"})]})]}),reviews:n(a,{title:"Reviews",children:[e("div",{style:{display:"flex",gap:4,height:22},children:[[t.inkSoft,t.inkSoft2],[t.rust,t.warm],[t.ink,t.inkSoft],[t.mark2,t.mark1]].map(([i,l],d)=>e("div",{style:{flex:1,borderRadius:3,...s(i,l,140+d*15)}},d))}),e("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:[["Dave M.",5,"Not one chip after the Simpson."],["Sara K.",4,"Fitted in an hour, no fuss."]].map(([i,l,d])=>n("div",{style:{display:"flex",gap:5,alignItems:"flex-start"},children:[e(q,{size:12}),n("div",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[n("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[e("b",{style:{fontSize:"3.98cqw",color:t.text},children:i}),e(S,{filled:l})]}),e(c,{children:d})]})]},i))})]}),logos:n("div",{style:{...o,display:"flex",flexDirection:"column",gap:9,justifyContent:"center",padding:"0 12px",...s(t.ink,t.inkSoft)},children:[e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.warm},children:"As fitted by"}),e("div",{style:{display:"grid",gridTemplateColumns:"repeat(4,1fr)",gap:8},children:["ARB","TJM","IRONMAN","OPPOSITE"].map(i=>e("span",{style:{textAlign:"center",fontSize:"4.31cqw",fontWeight:800,letterSpacing:"0.08em",color:t.onInk,opacity:.82},children:i},i))})]}),prose:n("div",{style:{...o,background:t.paper,padding:"11px 14px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("span",{style:{fontSize:"5.86cqw",fontWeight:700,color:t.text},children:"Why offset matters"}),n("div",{style:{display:"flex",gap:6},children:[e("span",{style:{fontSize:"15.3cqw",lineHeight:.78,fontWeight:800,color:t.rust,marginTop:1},children:"T"}),n("div",{style:{display:"flex",flexDirection:"column"},children:[e(c,{children:"he number on the back of your wheel decides whether the"}),e(c,{w:"76%",children:"tyre sits under the guard or an inch outside it."})]})]})]}),cards:e(a,{title:"What you get",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[["Fitted free","In store, same day."],["5 yr cover","Structural, no fine print."],["Swap it","30 days, any reason."]].map(([i,l])=>n("div",{style:{border:`1px solid ${t.rule}`,borderRadius:4,padding:6,display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{width:11,height:11,borderRadius:3,background:t.rust,opacity:.9}}),e("b",{style:{fontSize:"3.98cqw",color:t.text},children:i}),e(c,{children:l})]},i))})}),faq:e(a,{title:"Questions",children:e("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},children:[["Will these fit my Hilux?",!0],["Do you fit them for me?",!1],["What if I pick wrong?",!1]].map(([i,l])=>n("div",{style:{borderBottom:`1px solid ${t.rule}`,padding:"4px 2px"},children:[n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:6},children:[e("b",{style:{fontSize:"4.31cqw",color:t.text},children:i}),e("span",{style:{fontSize:"4.64cqw",color:t.muted,lineHeight:1},children:l?"−":"+"})]}),l&&e(c,{w:"90%",children:"Use the fitment finder — it reads your build, not just the model."})]},i))})}),hero:n("div",{style:{...o,overflow:"hidden",...s(t.ink,t.ink2)},children:[e("div",{style:{...o,background:`linear-gradient(90deg,${t.scrim},transparent 70%)`}}),e("div",{style:{position:"relative",height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",padding:"12px 14px",gap:5},children:e(C,{over:"NEW · SUMMER",overTone:t.warm,head:"Built for the worst road you own",cta:"SHOP ALL",ctaBg:t.warm,ctaFg:t.ink,tone:t.onInk})}),e(y,{size:104,style:{right:-24,bottom:-30}})]}),herosingle:n("div",{style:{...o,display:"flex",background:t.paper,overflow:"hidden"},children:[e("div",{style:{flex:1,padding:12,display:"flex",flexDirection:"column",gap:5,justifyContent:"center"},children:e(C,{over:"ALL-TERRAIN",overTone:t.rust,head:"Grip that does not ask",headSize:12,cta:"EXPLORE",ctaBg:t.text,ctaFg:t.onInk,tone:t.text})}),e("div",{style:{flex:1,position:"relative",...s(t.inkSoft,t.inkSoft2)},children:e(y,{size:74,style:{right:-14,top:16}})})]}),productgrid:e(a,{title:"Best sellers",children:n("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[e(k,{name:"Ridge 19",price:"$365"}),e(k,{name:"Ridge 29",price:"$410"}),e(k,{name:"Ridge 39",price:"$455"})]})}),collections:e(a,{title:"Shop by category",children:e("div",{style:{flex:1,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:5,minHeight:0},children:[["Wheels",t.inkSoft,t.inkSoft2],["Tyres",t.rust,t.warm],["Lift kits",t.ink,t.inkSoft]].map(([i,l,d])=>e("div",{style:{borderRadius:4,display:"flex",alignItems:"flex-end",padding:5,color:t.onInk,...s(l,d)},children:e("span",{style:{fontSize:"3.98cqw",fontWeight:700,letterSpacing:"0.04em"},children:i})},i))})}),producthero:n("div",{style:{...o,display:"flex",background:t.card,overflow:"hidden"},children:[e("div",{style:{flex:1.1,position:"relative",...s(t.paper,t.paper2,150)},children:e(y,{size:78,style:{left:"50%",top:"50%",transform:"translate(-50%,-50%)"}})}),n("div",{style:{flex:1,padding:"10px 10px 10px 8px",display:"flex",flexDirection:"column",gap:4,justifyContent:"center"},children:[e("span",{style:{fontSize:"3.65cqw",letterSpacing:"0.16em",fontWeight:700,color:t.rust},children:"NITTO"}),e("b",{style:{fontSize:"6.29cqw",color:t.text},children:"Ridge Grappler"}),e("span",{style:{fontSize:"6.63cqw",fontWeight:700,color:t.text},children:"$489"}),e("span",{style:{alignSelf:"flex-start",fontSize:"3.65cqw",letterSpacing:"0.12em",fontWeight:700,padding:"4px 8px",borderRadius:2,background:t.text,color:t.onInk},children:"ADD TO CART"})]})]}),spectable:e(a,{title:"Specifications",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},children:[e(g,{k:"Diameter",v:'20"'}),e(g,{k:"Width",v:"9.0J"}),e(g,{k:"Offset",v:"+12"}),e(g,{k:"Load",v:"1250 kg"})]})}),fitmenttable:e(a,{title:"Will it fit?",children:n("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},children:[e(g,{k:"Hilux N80",v:"20×9 +12",ok:!0}),e(g,{k:"Ranger PX3",v:"20×9 +12",ok:!0}),e(g,{k:"LC79",v:"17×8 −10",ok:!0})]})}),processsteps:n("div",{style:{...o,background:t.paper,padding:10,display:"flex",flexDirection:"column",gap:7,justifyContent:"center"},children:[e(m,{children:"How it works"}),e("div",{style:{display:"flex",gap:6},children:["Pick your rig","Match the fit","We fit it"].map((i,l)=>n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:2},children:[e("span",{style:{width:11,height:11,borderRadius:"50%",background:t.text,color:t.onInk,fontSize:"3.98cqw",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:700},children:l+1}),e("span",{style:{fontSize:"3.98cqw",color:t.text,fontWeight:600},children:i})]},i))})]}),detailrows:e("div",{style:{...o,background:t.card,display:"flex",flexDirection:"column",overflow:"hidden"},children:[["Forged, not cast","Half the weight, twice the road.",!1],["Fits your load","Rated to 1250 kg a corner.",!0]].map(([i,l,d])=>{const h=e("div",{style:{flex:1,...s(d?t.rust:t.inkSoft,d?t.warm:t.inkSoft2)}},"art"),f=n("div",{style:{flex:1.1,padding:8,display:"flex",flexDirection:"column",gap:2,justifyContent:"center"},children:[e("b",{style:{fontSize:"4.64cqw",color:t.text},children:i}),e("span",{style:{fontSize:"3.98cqw",color:t.muted,lineHeight:1.3},children:l})]},"tx");return e("div",{style:{flex:1,display:"flex",minHeight:0},children:d?[f,h]:[h,f]},i)})}),specstrip:e("div",{style:{...o,background:t.ink,color:t.onInk,display:"flex",alignItems:"center",justifyContent:"space-around",padding:"0 8px"},children:[["5 yr","Warranty"],["Free","Fitting"],["48 hr","Dispatch"]].map(([i,l])=>n("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:[e("b",{style:{fontSize:"5.69cqw",letterSpacing:"0.02em"},children:i}),e("span",{style:{fontSize:"3.65cqw",color:t.mark2,letterSpacing:"0.1em",textTransform:"uppercase"},children:l})]},l))})},D={subscribe:n("div",{style:{...o,padding:13,display:"flex",flexDirection:"column"},children:[n("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8},children:[n("div",{style:{display:"flex",alignItems:"center",gap:6},children:[e(r,{w:8,h:8,r:2,tone:"accent"}),e(r,{w:38,h:7,r:3,tone:"dark"}),e(r,{w:16,h:7,r:3,tone:"accent"})]}),e(r,{w:38,h:4,r:2,tone:"soft"})]}),e("div",{style:{height:1,background:p.line,marginBottom:10}}),n("div",{style:{flex:1,display:"flex",gap:10,border:`1px solid ${p.line}`,borderRadius:7,padding:10},children:[n("div",{style:{flex:1.1,display:"flex",flexDirection:"column",justifyContent:"center",gap:5},children:[e(r,{w:"46%",h:3,r:2,tone:"accent"}),e(r,{w:"84%",h:8,r:4,tone:"dark"}),e(r,{w:"56%",h:8,r:4,tone:"accent"}),e(r,{w:"96%",h:3,r:2,tone:"soft",style:{marginTop:2}}),n("div",{style:{display:"flex",gap:5,marginTop:4},children:[e("div",{style:{flex:1,height:13,borderRadius:5,border:`1px solid ${p.line}`,background:p.block}}),e(r,{w:34,h:13,r:5,tone:"accent"})]})]}),n("div",{style:{flex:1,background:p.block,borderRadius:6,padding:8,display:"flex",flexDirection:"column",gap:6},children:[e(r,{w:"52%",h:4,r:2,tone:"accent"}),Array.from({length:3}).map((i,l)=>n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:6,borderTop:l?`1px solid ${p.line}`:"none",paddingTop:l?4:0},children:[e(r,{w:34,h:4,r:2,tone:"dark"}),e(r,{w:16,h:3,r:2,tone:"soft"})]},l))]})]})]}),split:n("div",{style:{...o,display:"flex"},children:[e("div",{style:{width:"44%",background:v}}),n("div",{style:{flex:1,padding:15,display:"flex",flexDirection:"column",justifyContent:"center",gap:7},children:[e(r,{w:"44%",h:5,r:3,tone:"accent"}),e(r,{w:"88%",h:8,r:4,tone:"dark"}),e(r,{w:"70%",h:8,r:4,tone:"dark"}),e(r,{w:"94%",h:5,r:2,tone:"soft",style:{marginTop:2}}),e(r,{w:"80%",h:5,r:2,tone:"soft"}),e(r,{w:"40%",h:13,r:6,tone:"accent",style:{marginTop:5}})]})]}),sectionheader:n(z,{children:[e(r,{w:"18%",h:6,r:3,tone:"accent",style:{position:"absolute",top:15,right:16}}),n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:10},children:[n("div",{style:{display:"flex",alignItems:"center",gap:9},children:[e(r,{w:16,h:16,r:4,tone:"accent"}),e(r,{w:"20%",h:9,r:4,tone:"dark"})]}),e(r,{w:"62%",h:10,r:5,tone:"dark"}),e(r,{w:"42%",h:6,r:3,tone:"soft"})]})]}),header:e("div",{style:{...o,padding:14,display:"flex",flexDirection:"column",justifyContent:"center"},children:n("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e(r,{w:"22%",h:12,r:4,tone:"dark"}),n("div",{style:{display:"flex",gap:9,alignItems:"center"},children:[e(r,{w:26,h:6,r:3,tone:"soft"}),e(r,{w:26,h:6,r:3,tone:"soft"}),e(r,{w:26,h:6,r:3,tone:"soft"}),e(r,{w:18,h:14,r:5,tone:"accent"})]})]})}),footer:n("div",{style:{...o,padding:15,display:"flex",flexDirection:"column",justifyContent:"center",gap:12},children:[n("div",{style:{display:"flex",gap:14},children:[n("div",{style:{flex:1.4,display:"flex",flexDirection:"column",gap:6},children:[e(r,{w:"60%",h:9,r:4,tone:"dark"}),e(r,{w:"90%",h:5,r:2,tone:"soft"}),e(r,{w:"70%",h:5,r:2,tone:"soft"})]}),[0,1].map(i=>n("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:6},children:[e(r,{w:"50%",h:6,r:3,tone:"dark"}),e(r,{w:"80%",h:5,r:2,tone:"soft"}),e(r,{w:"66%",h:5,r:2,tone:"soft"})]},i))]}),e("div",{style:{height:1,background:p.line}}),n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e(r,{w:"30%",h:5,r:2,tone:"soft"}),e(r,{w:"16%",h:5,r:2,tone:"soft"})]})]}),grid:e("div",{style:{...o,padding:14,display:"grid",gridTemplateColumns:"1fr 1fr",gridTemplateRows:"1fr 1fr",gap:9},children:Array.from({length:4}).map((i,l)=>e("div",{style:{borderRadius:6,background:p.block}},l))}),blanksection:e("div",{style:{...o,padding:14,display:"flex"},children:n("div",{style:{flex:1,border:`1px dashed ${p.line}`,borderRadius:7,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:[e(r,{w:14,h:2,r:1,tone:"tint"}),e(r,{w:2,h:14,r:1,tone:"tint",style:{position:"absolute"}})]})}),spacer:n("div",{style:{...o,padding:14,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[e(r,{w:"100%",h:6,r:3,tone:"soft"}),e(r,{w:16,h:22,r:3,tone:"block",style:{alignSelf:"center"}}),e(r,{w:"100%",h:6,r:3,tone:"soft"})]}),divider:e("div",{style:{...o,padding:14,display:"flex",alignItems:"center"},children:e(r,{w:"100%",h:3,r:2,tone:"dark"})}),customhtml:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:8,background:v},children:[e(r,{w:5,h:16,r:2,tone:"dark",style:{transform:"skewX(-14deg)"}}),e(r,{w:16,h:10,r:3,tone:"accent"}),e(r,{w:5,h:16,r:2,tone:"dark",style:{transform:"skewX(14deg)"}})]}),heading:e("div",{style:{...o,padding:14,display:"flex",alignItems:"center"},children:e(r,{w:"64%",h:13,r:4,tone:"dark"})}),text:n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:7},children:[e(r,{w:"100%",h:6,r:3,tone:"soft"}),e(r,{w:"96%",h:6,r:3,tone:"soft"}),e(r,{w:"100%",h:6,r:3,tone:"soft"}),e(r,{w:"58%",h:6,r:3,tone:"soft"})]}),image:e("div",{style:{position:"absolute",inset:14,borderRadius:7,background:v}}),button:e("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center"},children:e(r,{w:"34%",h:16,r:8,tone:"accent"})}),menu:n("div",{style:{...o,padding:"14px 22%",display:"flex",flexDirection:"column",justifyContent:"center",gap:7},children:[e(r,{w:"48%",h:7,r:3,tone:"dark"}),e(r,{w:"82%",h:5,r:2,tone:"soft"}),e(r,{w:"66%",h:5,r:2,tone:"soft"}),e(r,{w:"74%",h:5,r:2,tone:"soft"}),e(r,{w:"58%",h:5,r:2,tone:"soft"})]}),emailform:n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:9},children:[e(r,{w:"56%",h:8,r:3,tone:"dark"}),n("div",{style:{display:"flex",gap:6},children:[e("div",{style:{flex:1,height:16,borderRadius:5,border:`1px solid ${p.line}`}}),e(r,{w:"30%",h:16,r:5,tone:"accent"})]})]}),sociallogos:e("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:9},children:[0,1,2,3].map(i=>e(r,{w:16,h:16,r:8,tone:"dark"},i))}),paymentlogos:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:7},children:[e(r,{w:22,h:6,r:2,tone:"soft"}),[0,1,2,3].map(i=>e(r,{w:20,h:13,r:3,tone:"dark"},i))]}),search:e("div",{style:{...o,padding:"0 18%",display:"flex",alignItems:"center"},children:n("div",{style:{flex:1,height:22,borderRadius:11,border:`1px solid ${p.line}`,display:"flex",alignItems:"center",gap:7,padding:"0 9px"},children:[e("div",{style:{width:9,height:9,borderRadius:5,border:`2px solid ${p.dark}`}}),e(r,{w:"46%",h:5,r:2,tone:"soft"})]})}),cart:n("div",{style:{...o,display:"flex",alignItems:"center",justifyContent:"center",gap:7},children:[e("div",{style:{width:22,height:18,borderRadius:"3px 3px 6px 6px",border:`2px solid ${p.dark}`}}),e("div",{style:{padding:"2px 6px",borderRadius:6,border:`1.5px solid ${p.dark}`},children:e(r,{w:7,h:7,r:2,tone:"dark"})})]}),countryswitch:n("div",{style:{...o,padding:14,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:5},children:[n("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"4px 8px",border:`1px solid ${p.line}`},children:[e(r,{w:22,h:6,r:2,tone:"dark"}),e(r,{w:6,h:4,r:1,tone:"soft"})]}),n("div",{style:{width:"46%",display:"flex",flexDirection:"column",gap:4,padding:6,border:`1px solid ${p.line}`},children:[e(r,{w:"80%",h:4,r:2,tone:"accent"}),e(r,{w:"64%",h:4,r:2,tone:"soft"}),e(r,{w:"72%",h:4,r:2,tone:"soft"})]})]}),legalline:n("div",{style:{...o,padding:16,display:"flex",flexDirection:"column",justifyContent:"center",gap:9},children:[e("div",{style:{height:1,background:p.line}}),n("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e(r,{w:"38%",h:5,r:2,tone:"soft"}),n("div",{style:{display:"flex",gap:5},children:[e(r,{w:14,h:5,r:2,tone:"soft"}),e(r,{w:14,h:5,r:2,tone:"soft"}),e(r,{w:14,h:5,r:2,tone:"soft"})]})]})]}),fallback:e("div",{style:{position:"absolute",inset:14,borderRadius:8,background:p.block}})};function j({type:i}){const l=T[i]??"",d=W[l]??D[l]??D.fallback;return e("div",{className:"sf-thumb","aria-hidden":"true",style:{position:"absolute",inset:0,background:"var(--sf-thumb-thumb-bg)",pointerEvents:"none",containerType:"inline-size"},children:d})}export{j as default};
@@ -761,18 +761,32 @@
761
761
  (`data-sf-part-host`, display: contents) between them for a block with
762
762
  parts, and would stay as an empty Box item, with its gap and its share. The
763
763
  root names its hidden views (`data-sf-view-hide="tablet mobile"`), so the
764
- item goes in the same views, on the editor's view widths (720 and 1100,
765
- lib/content/view-hide-class). The block stays in Layers, where the eye
766
- shows it again. */
764
+ item goes in the same views, on the widths the root hides on: the one
765
+ phone edge (800 and 1100, PHONE_EDGE) for a Box and a block in one (the
766
+ word `edge`), a stored section's own line (720 and 1100) for a section
767
+ that is neither (lib/content/view-hide-class, components/ViewHideRoot).
768
+ The block stays in Layers, where the eye shows it again. */
767
769
  @media (width < 720px) {
768
- [data-easel-block]:has(> [data-sf-view-hide~="mobile"]),
769
- [data-easel-block]:has(> [data-sf-part-host] > [data-sf-view-hide~="mobile"]) {
770
+ [data-easel-block]:has(> [data-sf-view-hide~="mobile"]:not([data-sf-view-hide~="edge"])),
771
+ [data-easel-block]:has(> [data-sf-part-host] > [data-sf-view-hide~="mobile"]:not([data-sf-view-hide~="edge"])) {
770
772
  display: none;
771
773
  }
772
774
  }
773
775
  @media (720px <= width < 1100px) {
774
- [data-easel-block]:has(> [data-sf-view-hide~="tablet"]),
775
- [data-easel-block]:has(> [data-sf-part-host] > [data-sf-view-hide~="tablet"]) {
776
+ [data-easel-block]:has(> [data-sf-view-hide~="tablet"]:not([data-sf-view-hide~="edge"])),
777
+ [data-easel-block]:has(> [data-sf-part-host] > [data-sf-view-hide~="tablet"]:not([data-sf-view-hide~="edge"])) {
778
+ display: none;
779
+ }
780
+ }
781
+ @media (width < 800px) {
782
+ [data-easel-block]:has(> [data-sf-view-hide~="mobile"][data-sf-view-hide~="edge"]),
783
+ [data-easel-block]:has(> [data-sf-part-host] > [data-sf-view-hide~="mobile"][data-sf-view-hide~="edge"]) {
784
+ display: none;
785
+ }
786
+ }
787
+ @media (800px <= width < 1100px) {
788
+ [data-easel-block]:has(> [data-sf-view-hide~="tablet"][data-sf-view-hide~="edge"]),
789
+ [data-easel-block]:has(> [data-sf-part-host] > [data-sf-view-hide~="tablet"][data-sf-view-hide~="edge"]) {
776
790
  display: none;
777
791
  }
778
792
  }
@@ -1 +1 @@
1
- import{loopDelayField as c,loopDurationField as a}from"./AnimationDurationRow.js";import{entranceFields as o}from"./entrance-fields.js";import{HOVER_GROUP_KEY as l,HOVER_KEY as p,cardHoverResting as m,pictureHoverResting as u}from"../../../format/lib/animation/hover.js";import{boxHoverFields as d,cardHoverFields as f,hoverFields as F,pictureHoverFields as H}from"./hover-fields.js";import{ON_A_CARD as g}from"../document/card-display-chips.js";import{customize as b}from"efficient-easel/screen/lib/document/box-fields";import{loopDirectionField as h,loopFields as v,loopHeading as D}from"./loop-fields.js";import{truthy as t,withRowsShownWhen as i}from"../../../format/lib/document/show-when-attach.js";function R(){const r=d(),e=[l,p],n=i(r,Object.keys(r).filter(s=>!e.includes(s)),t("bgImage"));return i(n,e,{any:[t("bgImage"),g]})}function I(r,e=""){switch(r){case"section":case"block":return o();case"box":return{...o(),...v(),...R()};case"picture":return{...o(),...H(u(e),e)};case"textPart":return{...o(),...F()};case"cards":return{...o(),...f(m(e))};case"marquee":return{...o(),_gLoop:D(),_cLoop:b(),scrollDirection:h(),loopDuration:a({readsSpeed:!0}),loopDelay:c()}}}export{I as animationTabFields};
1
+ import{loopDelayField as c,loopDurationField as l}from"./AnimationDurationRow.js";import{entranceFields as r}from"./entrance-fields.js";import{HOVER_GROUP_KEY as p,HOVER_KEY as a,cardHoverResting as m,pictureHoverResting as u}from"../../../format/lib/animation/hover.js";import{boxHoverFields as d,cardHoverFields as f,hoverFields as F,pictureHoverFields as _}from"./hover-fields.js";import{ON_A_CARD as H}from"../document/card-display-chips.js";import{customize as R}from"efficient-easel/screen/lib/document/box-fields";import{loopDirectionField as D,loopFields as v,loopHeading as O}from"./loop-fields.js";import{withRowsShownWhen as t}from"../../../format/lib/document/show-when-attach.js";import{BOX_IS_CARD_RULE as i}from"../../../format/lib/content/box-card-rule.js";function h(){const e=d(),o=[p,a],n=t(e,Object.keys(e).filter(s=>!o.includes(s)),i);return t(n,o,{any:[i,H]})}function S(e,o=""){switch(e){case"section":case"block":return r();case"box":return{...r(),...v(),...h()};case"picture":return{...r(),..._(u(o),o)};case"textPart":return{...r(),...F()};case"cards":return{...r(),...f(m(o))};case"marquee":return{...r(),_gLoop:O(),_cLoop:R(),scrollDirection:D(),loopDuration:l({readsSpeed:!0}),loopDelay:c()}}}export{S as animationTabFields};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import{phoneKey as r,tabletKey as i}from"efficient-easel/draw";import{BOX_CARD_PAD as C,BOX_SWATCH_PROP as To,isBackgroundBox as W}from"../../../../../../format/lib/content/box-background.js";import{CARD_ROW_FACTS as No,cardRowField as x,cardRowFields as go}from"../../../card-row-fields.js";import{CARD_ROW_LINK_PROP as Do}from"../../../../../../format/lib/content/card-template.js";import{HOVER_KEY as B}from"../../../../../../format/lib/animation/hover.js";import{BOX_HIGHLIGHT_ROW as Io}from"../../../../animation/hover-fields.js";import{darkenFields as Lo}from"../../../darken-fields.js";import{BOX_TAB_SHAPES as bo,REEL_SHAPE_LABELS as Po}from"../../../../../../format/lib/reel.js";import{LAYOUT_CELL as y,CARD_LIST_STYLE_PICTURES as Fo,TAB_SHAPE_PICTURES as Ho}from"../../../choice-pictures.js";import{CARD_STYLE_KEY as u,CARD_STYLE_POINTS as ko,applyCardStyle as Wo,isCardStyle as xo}from"../../../../../../render/lib/sections/card-list-style.js";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{ChevronDownIcon as Bo,ClockIcon as yo,CropIcon as M,GapIcon as Mo,MediaLayoutStackedIcon as Uo,LineBetweenIcon as Ko,LineSolidIcon as Xo,ListIcon as Go,NumberedListIcon as U,ShadowIcon as Yo,StylesIcon as K,TableIcon as X,TargetIcon as vo,WrapIcon as G}from"efficient-easel/icons";import{boxBlockSpacingField as jo,boxFillField as Vo,boxColumnsFields as Jo,boxShareField as zo,boxSharePhoneField as qo,boxShareTabletField as Qo,containerDirectionField as Zo,containerGapRows as $o,linkField as oe,plainText as ee,swapPadding as Y,toggle as c,upload as v,withPanelOnly as ne}from"../../../controls.js";import{BOX_STACK_LINE as j,BOX_STACK_RANGE as E,STACK_BELOW_PROP as V}from"../../../../../../render/lib/content/box-stack-line.js";import{BOX_SHAPES as J,boxShapeOf as te}from"../../../../../../format/lib/content/box-shape.js";import{BOX_ANGLE_PROP as re}from"../../../../../../format/lib/content/box-angle.js";import{shapeLines as z}from"../../../../../../format/lib/content/gallery-card-layout.js";import{shapePickerRow as q}from"../../../shape-picker.js";import{ACCORDION_COLUMN_COUNTS as ie,ACCORDION_PHONE_COLUMN_COUNTS as le,BOX_COLUMNS_MAX as T,BOX_COLUMNS_MIN as N,boxPhoneRowOneLine as ae,boxWrapWordOf as Q}from"../../../../../../format/lib/content/box-layout.js";import{BOX_SEPARATOR_POINTS as Z}from"../../../../../../format/lib/content/box-separator.js";import{BOX_WRAP_LABEL as $,VIEW_KEY_ACCESS as s,group as O,phoneTwinFields as d}from"efficient-easel/screen/lib/document/box-fields";import{angleRow as se,boxAlignField as de,boxJustifyField as ce,boxWrapField as w,iconPickerRow as g,placementField as pe,select as D,sidesPaddingFields as oo,slider as _e}from"../../../box-fields.js";import{withRowRules as Se,withShowWhen as me}from"../../../../../../render/lib/document/show-when.js";import{separatorField as Oe}from"../../../separator-field.js";import{LOOP_SCROLLS as fe}from"../../../../../../format/lib/animation/index.js";import{DEFAULT_TICKER_JOIN as he,TICKER_JOIN_OPTIONS as Re}from"../../../../../../format/lib/sections/ticker-join.js";import{NOT_HELD_BY_A_NODE as eo}from"../../../../../../format/lib/document/passes/document-position.js";import{BOX_SIDE_SPACE_PROP as no}from"../../../../../../format/lib/content/box-side-space.js";import{boxSideSpaceField as ue}from"../../../box-side-space-field.js";import{accordionOnSet as Ae}from"../../../box-accordion-seed.js";import{ACCORDION_ROW_STYLE_POINTS as Ce,ACCORDION_ROW_STYLE_PROP as I}from"../../../../../../format/lib/content/accordion-row-style.js";import{FlexSlots as to}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";import{BOX_TYPE as we,CONTAINER_BLOCKS_SLOT as Ee}from"../../../../../../format/lib/document/container-blocks.js";import{boxPhoneOrderField as Te}from"../../../box-phone-order-field.js";import{CARD_BOX_FACTS as Ne,ON_A_CARD as ro,cardDisplayField as L}from"../../../card-display-chips.js";import{MIRROR_CARDS_FACTS as ge,MIRROR_CARDS_MIRRORS as De,mirrorCardsField as Ie}from"../../../mirror-cards-field.js";import{handedRowOf as io}from"../../../../../../format/lib/document/row-hand.js";import{SHOW_FOR_FACTS as Le,showForField as be,showForFields as Pe}from"../../../show-for-field.js";import{SHARED_COLUMNS_KEY as f,SHARED_COLUMNS_LABEL as lo,SHARED_COLUMNS_OFF as ao,sharedColumnsDrawn as so,sharedColumnsFits as co,SHARED_COLUMNS_PHONE_POINTS as Fe,SHARED_COLUMNS_POINTS as He,sharedRowsDrawn as ke}from"../../../../../../render/lib/content/box-shared-columns.js";const b={field:"bgImage",set:!0},po={all:[{field:"phoneRow",in:[2,3]},{not:{field:"direction",is:"accordion"}}]},We={field:"direction",is:"tabs"},xe={field:"line",in:[!0,!1]},Be={field:"anchor",set:!0},P=["fixed","screen"],ye={not:{any:[{field:"sectionHeightMode",in:P},{field:"sectionHeightModeTablet",in:P},{field:"sectionHeightModePhone",in:P}]}},Me={context:"parent.line",is:!0},p={not:{field:"direction",is:"accordion"}},_o={field:"direction",is:"accordion"},So={any:[p,{not:{field:I,is:"numbered"}},{field:"columns",in:[...ie]},{field:"phoneRow",in:[...le]}]},mo="notAccordionRow",Ue={not:{context:mo,is:!0}},Ke={[mo]:(o,e)=>e.parent?.props?.direction!=="accordion"},F={field:"direction",is:"row",default:"row"},_={not:fe},S={all:[F,_,{not:{field:"separator",in:Z.map(o=>o.value)}},{not:{field:"line",is:!0}}]},Oo={all:[S,...["columns",i("columns")].map(o=>({not:{field:o,in:Array.from({length:T},(e,n)=>n+N)}}))]},Xe={all:[_,{not:{all:[F,{field:"separator",in:Z.map(o=>o.value)}]}}]},H={not:{all:[S,{field:"columns",in:Array.from({length:T},(o,e)=>e+N)}]}},Ge="sharedColumnsFits",fo="sharedColumnsMisfit",ho="sharedColumnsDraws",Ro="sharedColumnsPhoneDraws",Ye={[Ge]:o=>co(o.props??{}),[fo]:o=>!co(o.props??{}),[ho]:o=>so(o.props??{}).desktop,[Ro]:o=>so(o.props??{}).phone};function uo(o){return{all:[{not:{context:fo,is:!0}},{any:[ro,{field:o,set:!0}]}]}}const m={not:{context:ho,is:!0}},h={not:{context:Ro,is:!0}},Ao="sharedRowsDraws",ve={[Ao]:(o,e)=>ke(o.props??{})&&io(e.appState,o.props?.id)?.row===void 0},A={not:{context:Ao,is:!0}},je={any:[m,h]},k={not:b},Ve={not:{context:De,is:!0}},Co="rowHanded",Je={not:{context:Co,is:!0}},ze={[Co]:(o,e)=>{const n=io(e.appState,o.props?.id);return n===void 0?void 0:n?.row!==void 0}},wo={all:[p,k,m,h,Ve]},qe={field:"direction",is:"row"},Qe={field:"align",in:["start","center","end"]},Ze={all:[{field:"darken",set:!0},{not:{field:"darken",in:[0,"0"]}}]};function $e(){const{darken:o,darkenStyle:e}=Lo();return{...d("darken",o,s),...d("darkenStyle",e,s)}}const Eo={not:{all:[S,{field:i("columns"),in:Array.from({length:T},(o,e)=>e+N)}]}};function on(){const o=c($,!1,t(G,{})),e=n=>{const l=Q(n);return l===void 0?void 0:l==="wrap"};return{...w(),render:n=>o.render({...n,value:e(n.value),follows:e(n.follows)??!1,onChange:l=>n.onChange(l===void 0?void 0:l?"wrap":"nowrap")})}}function en(){const o=c($,!0,t(G,{})),e=n=>{const l=Q(n);return l===void 0?void 0:l==="wrap"};return{...w(),render:n=>{const l=n.followsView==="tablet";return o.render({...n,value:e(n.value),follows:!ae(void 0,l?n.follows:void 0),followsNoView:!l,onChange:R=>n.onChange(R===void 0?void 0:R?"wrap":"nowrap")})}}}const jn={fields:Se({_gContent:O("Content"),rowTitle:to.rowTitle,content:to.content,_gCardDisplay:O("Display"),cardDisplay:L("desktop"),cardDisplayTablet:L("tablet"),cardDisplayPhone:L("mobile"),showFor:be(),_gLayout:O("Layout"),direction:Zo("Flex"),tabShape:g("Tab shape",t(K,{}),bo.map(o=>({label:Po[o],value:o,picture:Ho[o]})),"tabs",{columns:2,cell:y}),mirrorCards:Ie(),[V]:a("desktop",_e("Stacks below",t(Uo,{}),E.min,E.max,E.step,j,"px",{clear:{hint:j},hint:"Under this screen width the blocks stand one under another, with the Phone Gap and Padding."})),[no]:ue(),startsOpen:a("desktop",c("Starts open",!1,t(Bo,{}))),[I]:a("desktop",g("Row style",t(U,{}),Ce.map(o=>({...o,picture:o.value==="numbered"?t(U,{}):t(Go,{})})),"plain",{columns:2})),label:ne(ee("Tab name")),...$o("Flex"),...d("justify",ce(),s),...d("align",de(),s),...(()=>{const o=d("wrap",w(),s,{phoneRow:en()}),e=d("wrap",w(),s,{phoneRow:on()});return{wrap:e.wrap,[i("wrap")]:e[i("wrap")],[r("wrap")]:o[r("wrap")]}})(),[r("order")]:Te(),...d("boxShape",q("Box shape",t(M,{}),z(J),"shape","auto"),s,{phoneRow:q("Box shape",t(M,{}),z(J),"shape","auto",{phoneRest:o=>te(o)})}),[re]:a("desktop",se(0,{clear:{hint:0},hint:"Turns the box. 0° is straight."})),separator:Oe(t(Ko,{size:18}),"none"),[u]:a("desktop",g("Card style",t(K,{}),ko.map(o=>({...o,picture:Fo[o.value]})),"table",{columns:2,cell:y})),share:a("desktop",zo()),[i("share")]:Qo(),[r("share")]:qo(),[f]:a("desktop",D(lo,t(X,{}),[...He],ao)),[r(f)]:a("mobile",D(lo,t(X,{}),[...Fe],ao)),...Jo(),...d("blockSpacing",jo(),s),line:c("Line",!1,t(Xo,{}),"A line across the blocks, with a dot on each."),upcoming:c("Upcoming",!1,t(yo,{}),"Still to come: a hollow dot, and the gold line stops before it."),join:D("Join",t(Mo,{}),Re,he),_gShadow:O("Shadow"),...d("shadow",c("Shadow",!1,t(Yo,{})),s),...d("fillColor",Vo(),s),[To]:x("Fill content","colour"),_gBackground:O("Background image"),bgImage:a("desktop",v("Image","image/*")),bgImagePhone:a("mobile",v("Image","image/*")),...$e(),placement:pe("Content position"),_gLink:O("Link"),link:oe("Link to"),[Do]:x("Link from","link"),jumpHighlight:c("Highlight when a link jumps here",!1,t(vo,{}),"When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.")},[[["darken","darkenStyle","placement"],b],[[r("share")],{all:[po,h]}],[[f],uo(f)],[[r(f)],uo(r(f))],[[r("wrap")],{all:[po,_,h,A]}],[[r("order")],{all:[S,h,m]}],[["phoneRow"],h],[[I],_o],[["tabShape"],We],[["rowTitle","startsOpen"],Ue],[["align","blockSpacing",i("blockSpacing"),r("blockSpacing")],p],[[i("justify"),r("justify")],{all:[_,wo,A]}],[[i("align"),r("align")],{all:[qe,Qe,wo]}],[[i("wrap")],{all:[_,H,Eo,m,p,A]}],[[i("shadow"),r("shadow")],k],[[i("darken"),r("darken"),i("darkenStyle"),r("darkenStyle")],{all:[b,Ze]}],[["separator"],F],[[u],{field:u,set:!0}],[["columns"],{any:[S,_o]}],[[i("columns")],S],[[V],{all:[S,k,Eo,{not:{all:[Oo,{field:i("share"),set:!0}]}}]}],[[i("gap")],{all:[Xe,So]}],[["gap",r("gap")],So],[["justify"],{all:[_,je,p,A]}],[["wrap"],{all:[_,H,m,p,A]}],[["share"],{all:[H,m,p]}],[[i("share")],{all:[Oo,m]}],[["line"],xe],[["upcoming"],Me],[["jumpHighlight"],Be],[["boxShape",i("boxShape"),r("boxShape")],ye],[["direction","share",r("order")],Je],[["join"],eo],[[no],eo]]),resolveData:(o,e)=>{const n=o.props,l=n[u];return e.changed?.[u]===!0&&xo(l)?{...o,props:Wo(n,l,we,Ee)}:n.direction==="accordion"&&(e.trigger==="insert"||e.changed?.direction===!0)?{...o,props:Ae(n)}:o},resolveFields:(o,e)=>tn(Pe(rn(o,{...e,fields:go(e.fields,o,e)}),o.props),o.props),showWhenFacts:{...No,...Ne,...ge,...ze,...Ye,...ve,...Le,...Ke}},nn=me(Io,ro);function tn(o,e){const n=o;return!(B in n)||W(e.bgImage)?o:{...n,[B]:nn}}function rn(...[o,{fields:e}]){{const n=o.props;if(W(n.bgImage)){const R=oo({fallback:{top:C.desktop,bottom:C.desktop,left:C.side,right:C.side},tablet:!0});return Y(e,R)}return o.props.padV2!==!0?Y(e,oo({fallback:{top:24,bottom:24},tablet:!0})):e}}export{jn as FlexFields};
1
+ import{jsx as t}from"react/jsx-runtime";import{phoneKey as r,tabletKey as i}from"efficient-easel/draw";import{BOX_CARD_PAD as w,BOX_SWATCH_PROP as No,boxCardProps as Do,boxIsCard as x}from"../../../../../../format/lib/content/box-background.js";import{BOX_IS_CARD_RULE as Io,BOX_IS_NOT_CARD_RULE as Lo,BOX_ROW_IMAGE_PROP as go}from"../../../../../../format/lib/content/box-card-rule.js";import{CARD_ROW_FACTS as bo,cardRowField as T,cardRowFields as Po}from"../../../card-row-fields.js";import{CARD_ROW_LINK_PROP as Fo,cardCopyPlace as Ho}from"../../../../../../format/lib/content/card-template.js";import{HOVER_KEY as y}from"../../../../../../format/lib/animation/hover.js";import{BOX_HIGHLIGHT_ROW as ko}from"../../../../animation/hover-fields.js";import{darkenFields as Wo}from"../../../darken-fields.js";import{BOX_TAB_SHAPES as xo,REEL_SHAPE_LABELS as yo}from"../../../../../../format/lib/reel.js";import{LAYOUT_CELL as B,CARD_LIST_STYLE_PICTURES as Bo,TAB_SHAPE_PICTURES as Mo}from"../../../choice-pictures.js";import{CARD_STYLE_KEY as A,CARD_STYLE_POINTS as Uo,applyCardStyle as Xo,isCardStyle as Ko}from"../../../../../../render/lib/sections/card-list-style.js";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{ChevronDownIcon as Go,ClockIcon as Yo,CropIcon as M,GapIcon as vo,MediaLayoutStackedIcon as jo,LineBetweenIcon as Vo,LineSolidIcon as Jo,ListIcon as zo,NumberedListIcon as U,ShadowIcon as qo,StylesIcon as X,TableIcon as K,TargetIcon as Qo,WrapIcon as G}from"efficient-easel/icons";import{boxBlockSpacingField as Zo,boxFillField as $o,boxColumnsFields as oe,boxShareField as ee,boxSharePhoneField as ne,boxShareTabletField as te,containerDirectionField as re,containerGapRows as ie,linkField as le,plainText as ae,swapPadding as Y,toggle as c,upload as v,withPanelOnly as se}from"../../../controls.js";import{BOX_STACK_LINE as j,BOX_STACK_RANGE as N,STACK_BELOW_PROP as V}from"../../../../../../render/lib/content/box-stack-line.js";import{BOX_SHAPES as J,boxShapeOf as de}from"../../../../../../format/lib/content/box-shape.js";import{BOX_ANGLE_PROP as ce}from"../../../../../../format/lib/content/box-angle.js";import{shapeLines as z}from"../../../../../../format/lib/content/gallery-card-layout.js";import{shapePickerRow as q}from"../../../shape-picker.js";import{ACCORDION_COLUMN_COUNTS as _e,ACCORDION_PHONE_COLUMN_COUNTS as pe,BOX_COLUMNS_MAX as D,BOX_COLUMNS_MIN as I,boxPhoneRowOneLine as Se,boxWrapWordOf as Q}from"../../../../../../format/lib/content/box-layout.js";import{BOX_SEPARATOR_POINTS as Z}from"../../../../../../format/lib/content/box-separator.js";import{BOX_WRAP_LABEL as $,VIEW_KEY_ACCESS as s,group as f,phoneTwinFields as d}from"efficient-easel/screen/lib/document/box-fields";import{angleRow as Oe,boxAlignField as me,boxJustifyField as fe,boxWrapField as E,iconPickerRow as L,placementField as Re,select as g,sidesPaddingFields as oo,slider as he}from"../../../box-fields.js";import{withRowRules as ue,withShowWhen as Ae}from"../../../../../../render/lib/document/show-when.js";import{separatorField as Ce}from"../../../separator-field.js";import{LOOP_SCROLLS as we}from"../../../../../../format/lib/animation/index.js";import{DEFAULT_TICKER_JOIN as Ee,TICKER_JOIN_OPTIONS as Te}from"../../../../../../format/lib/sections/ticker-join.js";import{NOT_HELD_BY_A_NODE as eo}from"../../../../../../format/lib/document/passes/document-position.js";import{BOX_SIDE_SPACE_PROP as no}from"../../../../../../format/lib/content/box-side-space.js";import{boxSideSpaceField as Ne}from"../../../box-side-space-field.js";import{accordionOnSet as De}from"../../../box-accordion-seed.js";import{ACCORDION_ROW_STYLE_POINTS as Ie,ACCORDION_ROW_STYLE_PROP as b}from"../../../../../../format/lib/content/accordion-row-style.js";import{FlexSlots as to}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";import{BOX_TYPE as Le,CONTAINER_BLOCKS_SLOT as ge}from"../../../../../../format/lib/document/container-blocks.js";import{boxPhoneOrderField as be}from"../../../box-phone-order-field.js";import{CARD_BOX_FACTS as Pe,ON_A_CARD as ro,cardDisplayField as P}from"../../../card-display-chips.js";import{MIRROR_CARDS_FACTS as Fe,MIRROR_CARDS_MIRRORS as He,mirrorCardsField as ke}from"../../../mirror-cards-field.js";import{handedRowOf as io}from"../../../../../../format/lib/document/row-hand.js";import{SHOW_FOR_FACTS as We,showForField as xe,showForFields as ye}from"../../../show-for-field.js";import{SHARED_COLUMNS_KEY as R,SHARED_COLUMNS_LABEL as lo,SHARED_COLUMNS_OFF as ao,sharedColumnsDrawn as so,sharedColumnsFits as co,SHARED_COLUMNS_PHONE_POINTS as Be,SHARED_COLUMNS_POINTS as Me,sharedRowsDrawn as Ue}from"../../../../../../render/lib/content/box-shared-columns.js";const _o=Io,po={all:[{field:"phoneRow",in:[2,3]},{not:{field:"direction",is:"accordion"}}]},Xe={field:"direction",is:"tabs"},Ke={field:"line",in:[!0,!1]},Ge={field:"anchor",set:!0},F=["fixed","screen"],Ye={not:{any:[{field:"sectionHeightMode",in:F},{field:"sectionHeightModeTablet",in:F},{field:"sectionHeightModePhone",in:F}]}},ve={context:"parent.line",is:!0},_={not:{field:"direction",is:"accordion"}},So={field:"direction",is:"accordion"},Oo={any:[_,{not:{field:b,is:"numbered"}},{field:"columns",in:[..._e]},{field:"phoneRow",in:[...pe]}]},mo="notAccordionRow",je={not:{context:mo,is:!0}},Ve={[mo]:(o,e)=>e.parent?.props?.direction!=="accordion"},H={field:"direction",is:"row",default:"row"},p={not:we},S={all:[H,p,{not:{field:"separator",in:Z.map(o=>o.value)}},{not:{field:"line",is:!0}}]},fo={all:[S,...["columns",i("columns")].map(o=>({not:{field:o,in:Array.from({length:D},(e,n)=>n+I)}}))]},Je={all:[p,{not:{all:[H,{field:"separator",in:Z.map(o=>o.value)}]}}]},k={not:{all:[S,{field:"columns",in:Array.from({length:D},(o,e)=>e+I)}]}},ze="sharedColumnsFits",Ro="sharedColumnsMisfit",ho="sharedColumnsDraws",uo="sharedColumnsPhoneDraws";function O(o,e){return Do(o.props??{},Ho(e.appState,o.props?.id)?.inCopy!==!1)}const qe={[ze]:(o,e)=>co(O(o,e)),[Ro]:(o,e)=>!co(O(o,e)),[ho]:(o,e)=>so(O(o,e)).desktop,[uo]:(o,e)=>so(O(o,e)).phone};function Ao(o){return{all:[{not:{context:Ro,is:!0}},{any:[ro,{field:o,set:!0}]}]}}const m={not:{context:ho,is:!0}},h={not:{context:uo,is:!0}},Co="sharedRowsDraws",Qe={[Co]:(o,e)=>Ue(O(o,e))&&io(e.appState,o.props?.id)?.row===void 0},C={not:{context:Co,is:!0}},Ze={any:[m,h]},W=Lo,$e={not:{context:He,is:!0}},wo="rowHanded",on={not:{context:wo,is:!0}},en={[wo]:(o,e)=>{const n=io(e.appState,o.props?.id);return n===void 0?void 0:n?.row!==void 0}},Eo={all:[_,W,m,h,$e]},nn={field:"direction",is:"row"},tn={field:"align",in:["start","center","end"]},rn={all:[{field:"darken",set:!0},{not:{field:"darken",in:[0,"0"]}}]};function ln(){const{darken:o,darkenStyle:e}=Wo();return{...d("darken",o,s),...d("darkenStyle",e,s)}}const To={not:{all:[S,{field:i("columns"),in:Array.from({length:D},(o,e)=>e+I)}]}};function an(){const o=c($,!1,t(G,{})),e=n=>{const l=Q(n);return l===void 0?void 0:l==="wrap"};return{...E(),render:n=>o.render({...n,value:e(n.value),follows:e(n.follows)??!1,onChange:l=>n.onChange(l===void 0?void 0:l?"wrap":"nowrap")})}}function sn(){const o=c($,!0,t(G,{})),e=n=>{const l=Q(n);return l===void 0?void 0:l==="wrap"};return{...E(),render:n=>{const l=n.followsView==="tablet";return o.render({...n,value:e(n.value),follows:!Se(void 0,l?n.follows:void 0),followsNoView:!l,onChange:u=>n.onChange(u===void 0?void 0:u?"wrap":"nowrap")})}}}const $n={fields:ue({_gContent:f("Content"),rowTitle:to.rowTitle,content:to.content,_gCardDisplay:f("Display"),cardDisplay:P("desktop"),cardDisplayTablet:P("tablet"),cardDisplayPhone:P("mobile"),showFor:xe(),_gLayout:f("Layout"),direction:re("Flex"),tabShape:L("Tab shape",t(X,{}),xo.map(o=>({label:yo[o],value:o,picture:Mo[o]})),"tabs",{columns:2,cell:B}),mirrorCards:ke(),[V]:a("desktop",he("Stacks below",t(jo,{}),N.min,N.max,N.step,j,"px",{clear:{hint:j},hint:"Under this screen width the blocks stand one under another, with the Phone Gap and Padding."})),[no]:Ne(),startsOpen:a("desktop",c("Starts open",!1,t(Go,{}))),[b]:a("desktop",L("Row style",t(U,{}),Ie.map(o=>({...o,picture:o.value==="numbered"?t(U,{}):t(zo,{})})),"plain",{columns:2})),label:se(ae("Tab name")),...ie("Flex"),...d("justify",fe(),s),...d("align",me(),s),...(()=>{const o=d("wrap",E(),s,{phoneRow:sn()}),e=d("wrap",E(),s,{phoneRow:an()});return{wrap:e.wrap,[i("wrap")]:e[i("wrap")],[r("wrap")]:o[r("wrap")]}})(),[r("order")]:be(),...d("boxShape",q("Box shape",t(M,{}),z(J),"shape","auto"),s,{phoneRow:q("Box shape",t(M,{}),z(J),"shape","auto",{phoneRest:o=>de(o)})}),[ce]:a("desktop",Oe(0,{clear:{hint:0},hint:"Turns the box. 0° is straight."})),separator:Ce(t(Vo,{size:18}),"none"),[A]:a("desktop",L("Card style",t(X,{}),Uo.map(o=>({...o,picture:Bo[o.value]})),"table",{columns:2,cell:B})),share:a("desktop",ee()),[i("share")]:te(),[r("share")]:ne(),[R]:a("desktop",g(lo,t(K,{}),[...Me],ao)),[r(R)]:a("mobile",g(lo,t(K,{}),[...Be],ao)),...oe(),...d("blockSpacing",Zo(),s),line:c("Line",!1,t(Jo,{}),"A line across the blocks, with a dot on each."),upcoming:c("Upcoming",!1,t(Yo,{}),"Still to come: a hollow dot, and the gold line stops before it."),join:g("Join",t(vo,{}),Te,Ee),_gShadow:f("Shadow"),...d("shadow",c("Shadow",!1,t(qo,{})),s),...d("fillColor",$o(),s),[No]:T("Fill content","colour"),_gBackground:f("Background image"),bgImage:a("desktop",v("Image","image/*")),bgImagePhone:a("mobile",v("Image","image/*")),[go]:T("Image content","image",{content:!0}),...ln(),placement:Re("Content position"),_gLink:f("Link"),link:le("Link to"),[Fo]:T("Link from","link"),jumpHighlight:c("Highlight when a link jumps here",!1,t(Qo,{}),"When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.")},[[["darken","darkenStyle","placement"],_o],[[r("share")],{all:[po,h]}],[[R],Ao(R)],[[r(R)],Ao(r(R))],[[r("wrap")],{all:[po,p,h,C]}],[[r("order")],{all:[S,h,m]}],[["phoneRow"],h],[[b],So],[["tabShape"],Xe],[["rowTitle","startsOpen"],je],[["align","blockSpacing",i("blockSpacing"),r("blockSpacing")],_],[[i("justify"),r("justify")],{all:[p,Eo,C]}],[[i("align"),r("align")],{all:[nn,tn,Eo]}],[[i("wrap")],{all:[p,k,To,m,_,C]}],[[i("shadow"),r("shadow")],W],[[i("darken"),r("darken"),i("darkenStyle"),r("darkenStyle")],{all:[_o,rn]}],[["separator"],H],[[A],{field:A,set:!0}],[["columns"],{any:[S,So]}],[[i("columns")],S],[[V],{all:[S,W,To,{not:{all:[fo,{field:i("share"),set:!0}]}}]}],[[i("gap")],{all:[Je,Oo]}],[["gap",r("gap")],Oo],[["justify"],{all:[p,Ze,_,C]}],[["wrap"],{all:[p,k,m,_,C]}],[["share"],{all:[k,m,_]}],[[i("share")],{all:[fo,m]}],[["line"],Ke],[["upcoming"],ve],[["jumpHighlight"],Ge],[["boxShape",i("boxShape"),r("boxShape")],Ye],[["direction","share",r("order")],on],[["join"],eo],[[no],eo]]),resolveData:(o,e)=>{const n=o.props,l=n[A];return e.changed?.[A]===!0&&Ko(l)?{...o,props:Xo(n,l,Le,ge)}:n.direction==="accordion"&&(e.trigger==="insert"||e.changed?.direction===!0)?{...o,props:De(n)}:o},resolveFields:(o,e)=>cn(ye(_n(o,{...e,fields:Po(e.fields,o,e)}),o.props),O(o,e)),showWhenFacts:{...bo,...Pe,...Fe,...en,...qe,...Qe,...We,...Ve}},dn=Ae(ko,ro);function cn(o,e){const n=o;return!(y in n)||x(e)?o:{...n,[y]:dn}}function _n(...[o,e]){const{fields:n}=e;{if(x(O(o,e))){const u=oo({fallback:{top:w.desktop,bottom:w.desktop,left:w.side,right:w.side},tablet:!0});return Y(n,u)}return o.props.padV2!==!0?Y(n,oo({fallback:{top:24,bottom:24},tablet:!0})):n}}export{$n as FlexFields};
@@ -5,7 +5,9 @@ import { type BlockShowWhenFacts, type ShowWhenRule } from "../../../format/lib/
5
5
  export declare const OUTSIDE_CARD_TEMPLATE = "outsideCardTemplate";
6
6
  export declare const IN_CARD_TEMPLATE: ShowWhenRule;
7
7
  export declare const CARD_ROW_FACTS: BlockShowWhenFacts;
8
- export declare function cardRowField(label: string, kind: CardRowFieldKind): SelectField;
8
+ export declare function cardRowField(label: string, kind: CardRowFieldKind, opts?: {
9
+ content?: boolean;
10
+ }): SelectField;
9
11
  export declare function cardRowItemField(f: CardRowFieldSpec): CustomField<string> | CustomField<import("efficient-easel/draw").HidableValue>;
10
12
  export declare function cardRowFields<Fields extends Record<string, unknown>>(fields: Fields, data: {
11
13
  props?: Record<string, unknown>;
@@ -1 +1 @@
1
- import{jsx as d}from"react/jsx-runtime";import{GroundIcon as _,ListIcon as M}from"efficient-easel/icons";import{FieldGlyph as P}from"../../components/FieldGlyph.js";import{CARD_LIST_FIELDS as W,CARD_LIST_TYPE as h,cardListFieldsOf as B,cardListShows as G,cardTemplateFieldsOf as N,cardTemplateOwner as b}from"../../../format/lib/content/card-template.js";import{copyText as $,plainText as J,plainTextarea as U,ThemeFillRow as Y,withOffPage as q}from"./controls.js";import{recordRowFields as k}from"../../../format/lib/content/record-row.js";import{recordTypesRevision as z}from"../../../format/lib/content/record-types.js";import{editorRecordType as H}from"../../../format/lib/document/editor-page-context.js";import{blockSourcesRevision as Q,declaredBlockSource as C}from"../../../format/lib/content/block-sources.js";import{select as V}from"./box-fields.js";import{withShowWhen as X}from"../../../format/lib/document/show-when-attach.js";function I(o){const t=o?.data?.root,e=H(t?.props)??"";return e&&k(e,"text").length?e:""}const L="outsideCardTemplate",Z={not:{context:L,is:!0}},wo={[L]:(o,t)=>{const e=b(t.appState,o.props?.id);if(e!==void 0)return e===null&&!I(t.appState)}};function fo(o,t){const e=t==="link"?d(P,{noun:"link"}):t==="colour"?d(_,{}):d(M,{}),a={...V(o,e,[t==="colour"?{label:"Manual",value:""}:{label:"Typed here",value:""}],""),cardRowKind:t};return X(a,Z)}function yo(o){return o.kind==="link"?q(J(o.label)):o.kind==="colour"?oo(o.label):o.multiline?U(o.label):$(o.label)}function oo(o){return{type:"custom",render:({value:t,onChange:e})=>d(Y,{label:o,icon:d(_,{}),value:t,shown:typeof t=="string"?t:"",onChange:e})}}function to(o){return!!(o&&typeof o=="object"&&"cardRowKind"in o)}const O=new WeakMap;function Ro(o,t,e){const a=Object.keys(o).filter(n=>to(o[n]));if(!a.length)return o;const f=t.props??{},r=b(e.appState,f.id),s=typeof r?.type=="string"?r.type:"",l=a.map(n=>typeof f[n]=="string"?f[n].trim():""),A=C(r?.props),c=s===h?b(e.appState,r?.props?.id):null,E=c?G(r?.props,c.type):"",K=c?C(c.props):"",D=c?`${String(c.type??"")}\0${K}`:"",j=s===h&&!c?JSON.stringify(r?.props?.[W]??null):"",y=r?"":I(e.appState),x=[s,A,E,D,j,Q(),y,z(),...l].join("\0");let m=O.get(o);m||O.set(o,m=new Map);const g=m.get(x);if(g)return g;const w={...o};return a.forEach((n,u)=>{const p=o[n],R=s===h?B(e.appState,r,p.cardRowKind):s?N(r,p.cardRowKind):k(y,p.cardRowKind);if(!R.length&&!l[u]&&(!s&&y||p.cardRowKind==="colour")){delete w[n];return}const T=l[u]&&!R.some(i=>i.key===l[u])?l[u]:"",F=p.cardRowKind==="list",v=(i,S)=>F&&S===0&&i.key!==l[u]?"":i.key;w[n]={...p,options:[...F?[]:p.options,...R.map((i,S)=>({label:i.label,value:v(i,S)})),...T?[{label:T,value:T}]:[]]}}),m.set(x,w),w}export{wo as CARD_ROW_FACTS,Z as IN_CARD_TEMPLATE,L as OUTSIDE_CARD_TEMPLATE,fo as cardRowField,Ro as cardRowFields,yo as cardRowItemField};
1
+ import{jsx as m}from"react/jsx-runtime";import{GroundIcon as x,ListIcon as M}from"efficient-easel/icons";import{FieldGlyph as B}from"../../components/FieldGlyph.js";import{BOX_IN_COPY as N,BOX_OUTSIDE_COPY as W}from"../../../format/lib/content/box-card-rule.js";import{CARD_LIST_FIELDS as Y,CARD_LIST_TYPE as h,cardCopyPlace as O,cardListFieldsOf as G,cardListShows as U,cardTemplateFieldsOf as X,cardTemplateOwner as C}from"../../../format/lib/content/card-template.js";import{copyText as $,plainText as J,plainTextarea as q,ThemeFillRow as z,withOffPage as H}from"./controls.js";import{recordRowFields as F}from"../../../format/lib/content/record-row.js";import{recordTypesRevision as Q}from"../../../format/lib/content/record-types.js";import{editorRecordType as V}from"../../../format/lib/document/editor-page-context.js";import{blockSourcesRevision as Z,declaredBlockSource as I}from"../../../format/lib/content/block-sources.js";import{select as tt}from"./box-fields.js";import{withShowWhen as ot}from"../../../format/lib/document/show-when-attach.js";function k(t){const o=t?.data?.root,e=V(o?.props)??"";return e&&F(e,"text").length?e:""}const E="outsideCardTemplate",et={not:{context:E,is:!0}},Rt={[E]:(t,o)=>{const e=C(o.appState,t.props?.id);if(e!==void 0)return e===null&&!k(o.appState)},[W]:(t,o)=>{const e=O(o.appState,t.props?.id);return e===void 0?void 0:!e.inCopy},[N]:(t,o)=>O(o.appState,t.props?.id)?.inCopy};function Tt(t,o,e){const l=o==="colour"||e?.content===!0,d=o==="link"?m(B,{noun:"link"}):o==="colour"?m(x,{}):m(M,{}),n={...tt(t,d,[l?{label:"Manual",value:""}:{label:"Typed here",value:""}],""),cardRowKind:o,...l?{cardRowContent:!0}:null};return ot(n,et)}function St(t){return t.kind==="link"?H(J(t.label)):t.kind==="colour"?nt(t.label):t.multiline?q(t.label):$(t.label)}function nt(t){return{type:"custom",render:({value:o,onChange:e})=>m(z,{label:t,icon:m(x,{}),value:o,shown:typeof o=="string"?o:"",onChange:e})}}function rt(t){return!!(t&&typeof t=="object"&&"cardRowKind"in t)}const L=new WeakMap;function ht(t,o,e){const l=Object.keys(t).filter(r=>rt(t[r]));if(!l.length)return t;const d=o.props??{},n=C(e.appState,d.id),p=typeof n?.type=="string"?n.type:"",a=l.map(r=>typeof d[r]=="string"?d[r].trim():""),A=I(n?.props),c=p===h?C(e.appState,n?.props?.id):null,D=c?U(n?.props,c.type):"",K=c?I(c.props):"",P=c?`${String(c.type??"")}\0${K}`:"",j=p===h&&!c?JSON.stringify(n?.props?.[Y]??null):"",R=n?"":k(e.appState),_=[p,A,D,P,j,Z(),R,Q(),...a].join("\0");let f=L.get(t);f||L.set(t,f=new Map);const b=f.get(_);if(b)return b;const w={...t};return l.forEach((r,u)=>{const i=t[r],y=p===h?G(e.appState,n,i.cardRowKind):p?X(n,i.cardRowKind):F(R,i.cardRowKind);if(!a[u]&&(i.cardRowContent?!p||!y.length:!y.length&&!p&&R)){delete w[r];return}const T=a[u]&&!y.some(s=>s.key===a[u])?a[u]:"",g=i.cardRowKind==="list",v=(s,S)=>g&&S===0&&s.key!==a[u]?"":s.key;w[r]={...i,options:[...g?[]:i.options,...y.map((s,S)=>({label:s.label,value:v(s,S)})),...T?[{label:T,value:T}]:[]]}}),f.set(_,w),w}export{Rt as CARD_ROW_FACTS,et as IN_CARD_TEMPLATE,E as OUTSIDE_CARD_TEMPLATE,Tt as cardRowField,ht as cardRowFields,St as cardRowItemField};
@@ -1 +1 @@
1
- "use client";import{jsx as s}from"react/jsx-runtime";import{SettingsDefaultReset as O,SettingsField as _}from"efficient-easel/panel";import{Segmented as h}from"efficient-shell/ui";import{SwapIcon as w}from"efficient-easel/icons";import{describedAs as A}from"efficient-easel/screen/lib/document/box-fields";import{deviceField as I}from"efficient-easel/screen/lib/document/device-fields";import{MIRROR_CARDS_LABEL as p,MIRROR_CARDS_OFF as d,MIRROR_CARDS_OPTIONS as u,MIRROR_CARDS_TITLES as b,mirrorCardsActs as a,mirrorCardsOf as R,mirrorChildrenActs as D,mirrorCardsWrite as M,ownsCard as f}from"../../../format/lib/content/mirror-cards.js";import{editorEaselWords as v,say as i}from"../../../format/lib/editor-words.js";import{cardCopyPlace as c}from"../../../format/lib/content/card-template.js";import{sharedColumnsDrawn as l}from"../../../render/lib/content/box-shared-columns.js";import{withShowWhen as x}from"../../../format/lib/document/show-when-attach.js";import{handedRowOf as C,holdsABox as y}from"../../../format/lib/document/row-hand.js";const S="mirrorCardsIdle",F="mirrorCardsMirrors",J={[F]:(r,e)=>{const t=c(e.appState,r.props?.id),o=r.props??{};if(t===void 0)return;const n=C(e.appState,r.props?.id);if(n){const m=n.row?{...o,direction:"row",share:n.row.share}:o;return n.mirror!==null&&a(m,!0,l(m).desktop)}return a(o,f(t),l(o).desktop)&&R(o.mirrorCards)!==null},[S]:(r,e)=>{const t=c(e.appState,r.props?.id),o=r.props??{};if(t!==void 0)return C(e.appState,r.props?.id)?!0:a(o,f(t),l(o).desktop)?!1:!(D(o,t.inCopy)&&y(o))}};function g(r=!1){return u.map(e=>({value:e.value,label:i(e.label),title:e.value===d?void 0:i(b[e.value]),disabled:r}))}function k({value:r,onChange:e,readOnly:t}){const o=R(r)??d;return s(_,{label:i(p),icon:s(w,{}),action:s(O,{words:v()?.panel,label:i(p),changed:o!==d,detail:i("Off"),onReset:()=>e(void 0)}),children:s(h,{size:"sm",block:!0,label:i(p),value:o,onChange:n=>e(M(n)),options:g(t===!0)})})}function K(){return x(I("desktop",{type:"custom",...A({},{type:"radio",label:p,options:u.map(r=>({value:r.value,label:r.label}))}),render:({value:r,onChange:e,readOnly:t})=>s(k,{value:r,onChange:e,readOnly:t})}),{not:{context:S,is:!0}})}export{J as MIRROR_CARDS_FACTS,S as MIRROR_CARDS_IDLE,F as MIRROR_CARDS_MIRRORS,K as mirrorCardsField,g as mirrorCardsOptions};
1
+ "use client";import{jsx as s}from"react/jsx-runtime";import{SettingsDefaultReset as _,SettingsField as h}from"efficient-easel/panel";import{Segmented as w}from"efficient-shell/ui";import{SwapIcon as A}from"efficient-easel/icons";import{describedAs as I}from"efficient-easel/screen/lib/document/box-fields";import{deviceField as b}from"efficient-easel/screen/lib/document/device-fields";import{MIRROR_CARDS_LABEL as p,MIRROR_CARDS_OFF as d,MIRROR_CARDS_OPTIONS as u,MIRROR_CARDS_TITLES as x,mirrorCardsActs as a,mirrorCardsOf as R,mirrorChildrenActs as D,mirrorCardsWrite as M,ownsCard as f}from"../../../format/lib/content/mirror-cards.js";import{editorEaselWords as v,say as i}from"../../../format/lib/editor-words.js";import{boxCardProps as c}from"../../../format/lib/content/box-background.js";import{cardCopyPlace as C}from"../../../format/lib/content/card-template.js";import{sharedColumnsDrawn as l}from"../../../render/lib/content/box-shared-columns.js";import{withShowWhen as y}from"../../../format/lib/document/show-when-attach.js";import{handedRowOf as S,holdsABox as F}from"../../../format/lib/document/row-hand.js";const O="mirrorCardsIdle",g="mirrorCardsMirrors",Q={[g]:(r,e)=>{const t=C(e.appState,r.props?.id);if(t===void 0)return;const o=c(r.props??{},t.inCopy),n=S(e.appState,r.props?.id);if(n){const m=n.row?{...o,direction:"row",share:n.row.share}:o;return n.mirror!==null&&a(m,!0,l(m).desktop)}return a(o,f(t),l(o).desktop)&&R(o.mirrorCards)!==null},[O]:(r,e)=>{const t=C(e.appState,r.props?.id);if(t===void 0)return;const o=c(r.props??{},t.inCopy);return S(e.appState,r.props?.id)?!0:a(o,f(t),l(o).desktop)?!1:!(D(o,t.inCopy)&&F(o))}};function k(r=!1){return u.map(e=>({value:e.value,label:i(e.label),title:e.value===d?void 0:i(x[e.value]),disabled:r}))}function E({value:r,onChange:e,readOnly:t}){const o=R(r)??d;return s(h,{label:i(p),icon:s(A,{}),action:s(_,{words:v()?.panel,label:i(p),changed:o!==d,detail:i("Off"),onReset:()=>e(void 0)}),children:s(w,{size:"sm",block:!0,label:i(p),value:o,onChange:n=>e(M(n)),options:k(t===!0)})})}function U(){return y(b("desktop",{type:"custom",...I({},{type:"radio",label:p,options:u.map(r=>({value:r.value,label:r.label}))}),render:({value:r,onChange:e,readOnly:t})=>s(E,{value:r,onChange:e,readOnly:t})}),{not:{context:O,is:!0}})}export{Q as MIRROR_CARDS_FACTS,O as MIRROR_CARDS_IDLE,g as MIRROR_CARDS_MIRRORS,U as mirrorCardsField,k as mirrorCardsOptions};
@@ -5,4 +5,6 @@ export type AlignKind = "text" | "place" | "justify" | "items";
5
5
  export declare function blockAlignOf(value: unknown): BlockAlign | undefined;
6
6
  export declare function legacyBlockAlignOf(value: unknown): BlockAlign | undefined;
7
7
  export declare function alignViewAnswers(desktop: unknown, tablet: unknown, phone: unknown): ViewOverrides<BlockAlign>;
8
- export declare function alignViewClasses(kind: AlignKind, desktop: unknown, tablet: unknown, phone: unknown): string;
8
+ export declare function alignViewClasses(kind: AlignKind, desktop: unknown, tablet: unknown, phone: unknown, { atSectionLine }?: {
9
+ readonly atSectionLine?: boolean;
10
+ }): string;
@@ -1 +1 @@
1
- import{viewOverrides as n}from"./view-overrides.js";const f={left:"justify-start",center:"justify-center",right:"justify-end"},o={text:{left:"view-tablet:max-view-desktop:text-left",center:"view-tablet:max-view-desktop:text-center",right:"view-tablet:max-view-desktop:text-right"},place:{left:"view-tablet:max-view-desktop:mx-0",center:"view-tablet:max-view-desktop:mx-auto",right:"view-tablet:max-view-desktop:ml-auto view-tablet:max-view-desktop:mr-0"},items:{left:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-start",center:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-center",right:"view-tablet:max-view-desktop:justify-items-end"},justify:{left:"view-tablet:max-view-desktop:justify-start",center:"view-tablet:max-view-desktop:justify-center",right:"view-tablet:max-view-desktop:justify-end"}},w={text:{left:"max-view-tablet:text-left",center:"max-view-tablet:text-center",right:"max-view-tablet:text-right"},place:{left:"max-view-tablet:mx-0",center:"max-view-tablet:mx-auto",right:"max-view-tablet:ml-auto max-view-tablet:mr-0"},items:{left:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-start",center:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-center",right:"max-view-tablet:justify-items-end"},justify:{left:"max-view-tablet:justify-start",center:"max-view-tablet:justify-center",right:"max-view-tablet:justify-end"}};function a(t){return t==="left"||t==="center"||t==="right"?t:void 0}function v(t){return t==="start"?"left":t==="end"?"right":a(t)}function m(t,r,s){const i=a(t)??"left",e=n("same",i,a(r),a(s)),l={};return e.tablet&&e.tablet!==i&&(l.tablet=e.tablet),e.phone&&e.phone!==i&&(l.phone=e.phone),l}function b(t,r,s,i){const e=m(r,s,i);return[e.tablet?o[t][e.tablet]:"",e.phone?w[t][e.phone]:""].filter(Boolean).join(" ")}export{f as BLOCK_ALIGN_JUSTIFY,m as alignViewAnswers,b as alignViewClasses,a as blockAlignOf,v as legacyBlockAlignOf};
1
+ import{viewOverrides as v}from"./view-overrides.js";const p={left:"justify-start",center:"justify-center",right:"justify-end"},o={text:{left:"view-wide:max-view-desktop:text-left",center:"view-wide:max-view-desktop:text-center",right:"view-wide:max-view-desktop:text-right"},place:{left:"view-wide:max-view-desktop:mx-0",center:"view-wide:max-view-desktop:mx-auto",right:"view-wide:max-view-desktop:ml-auto view-wide:max-view-desktop:mr-0"},items:{left:"view-wide:max-view-desktop:grid-cols-1 view-wide:max-view-desktop:justify-items-start",center:"view-wide:max-view-desktop:grid-cols-1 view-wide:max-view-desktop:justify-items-center",right:"view-wide:max-view-desktop:justify-items-end"},justify:{left:"view-wide:max-view-desktop:justify-start",center:"view-wide:max-view-desktop:justify-center",right:"view-wide:max-view-desktop:justify-end"}},n={text:{left:"max-view-wide:text-left",center:"max-view-wide:text-center",right:"max-view-wide:text-right"},place:{left:"max-view-wide:mx-0",center:"max-view-wide:mx-auto",right:"max-view-wide:ml-auto max-view-wide:mr-0"},items:{left:"max-view-wide:grid-cols-1 max-view-wide:justify-items-start",center:"max-view-wide:grid-cols-1 max-view-wide:justify-items-center",right:"max-view-wide:justify-items-end"},justify:{left:"max-view-wide:justify-start",center:"max-view-wide:justify-center",right:"max-view-wide:justify-end"}},l={text:{left:"view-tablet:max-view-desktop:text-left",center:"view-tablet:max-view-desktop:text-center",right:"view-tablet:max-view-desktop:text-right"},place:{left:"view-tablet:max-view-desktop:mx-0",center:"view-tablet:max-view-desktop:mx-auto",right:"view-tablet:max-view-desktop:ml-auto view-tablet:max-view-desktop:mr-0"},items:{left:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-start",center:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-center",right:"view-tablet:max-view-desktop:justify-items-end"},justify:{left:"view-tablet:max-view-desktop:justify-start",center:"view-tablet:max-view-desktop:justify-center",right:"view-tablet:max-view-desktop:justify-end"}},d={text:{left:"max-view-tablet:text-left",center:"max-view-tablet:text-center",right:"max-view-tablet:text-right"},place:{left:"max-view-tablet:mx-0",center:"max-view-tablet:mx-auto",right:"max-view-tablet:ml-auto max-view-tablet:mr-0"},items:{left:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-start",center:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-center",right:"max-view-tablet:justify-items-end"},justify:{left:"max-view-tablet:justify-start",center:"max-view-tablet:justify-center",right:"max-view-tablet:justify-end"}};function a(e){return e==="left"||e==="center"||e==="right"?e:void 0}function u(e){return e==="start"?"left":e==="end"?"right":a(e)}function f(e,s,r){const w=a(e)??"left",t=v("same",w,a(s),a(r)),i={};return t.tablet&&t.tablet!==w&&(i.tablet=t.tablet),t.phone&&t.phone!==w&&(i.phone=t.phone),i}function b(e,s,r,w,{atSectionLine:t=!1}={}){const i=f(s,r,w),m=t?l:o,x=t?d:n;return[i.tablet?m[e][i.tablet]:"",i.phone?x[e][i.phone]:""].filter(Boolean).join(" ")}export{p as BLOCK_ALIGN_JUSTIFY,f as alignViewAnswers,b as alignViewClasses,a as blockAlignOf,u as legacyBlockAlignOf};