efficient-storefront-blocks 0.125.5 → 0.125.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/chunks/CustomHtmlCodeWindow-KAHNIUZO.js +26 -0
  3. package/dist/chunks/{EditorPreviewCheckout-3ZX2DIIL.js → EditorPreviewCheckout-M5LLO3H2.js} +1 -1
  4. package/dist/chunks/SiteEditorProvider-6P7LYLL2.js +1 -0
  5. package/dist/chunks/{chunk-5SWY36EZ.js → chunk-4SIPG47B.js} +1 -1
  6. package/dist/chunks/chunk-7ARO3R4C.js +9 -0
  7. package/dist/chunks/chunk-7SLHEYYR.js +337 -0
  8. package/dist/chunks/chunk-COR5IL6E.js +2 -0
  9. package/dist/chunks/{chunk-4WRJWM6K.js → chunk-FD3ICZTF.js} +1 -1
  10. package/dist/chunks/{chunk-RGLTNGJH.js → chunk-L6MXM22Q.js} +1 -1
  11. package/dist/chunks/chunk-SB3V6PTJ.js +1 -0
  12. package/dist/chunks/chunk-SQ6D33WV.js +96 -0
  13. package/dist/chunks/{chunk-ACYEMD5J.js → chunk-UREPZPIT.js} +1 -1
  14. package/dist/chunks/{fitment-data-CFDAFXJB.js → fitment-data-BQFU5HN3.js} +1 -1
  15. package/dist/chunks/section-css-style-VF2FOE3B.js +1 -0
  16. package/dist/editor/lib/document/blocks/service/SiteHeader/fields.js +1 -1
  17. package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
  18. package/dist/editor/lib/storefront-editor-words.d.ts +2 -0
  19. package/dist/editor/lib/storefront-editor-words.js +1 -1
  20. package/dist/editor.css +1 -1
  21. package/dist/index.d.ts +29 -2
  22. package/dist/index.js +32 -32
  23. package/dist/render/app/globals.css +12 -0
  24. package/dist/render/built-with.json +1 -1
  25. package/dist/render/components/AppointmentBooking.js +1 -1
  26. package/dist/render/components/BoxHeaderBar.d.ts +3 -1
  27. package/dist/render/components/BoxHeaderBar.js +1 -1
  28. package/dist/render/components/CheckoutCTA.js +1 -1
  29. package/dist/render/components/Collections.js +1 -1
  30. package/dist/render/components/ContactRouting.d.ts +3 -1
  31. package/dist/render/components/ContactRouting.js +1 -1
  32. package/dist/render/components/DeliveryOptions.js +1 -1
  33. package/dist/render/components/FormBlock.js +1 -1
  34. package/dist/render/components/GalleryShowcase.js +1 -1
  35. package/dist/render/components/ProductHeroPanel.js +1 -1
  36. package/dist/render/components/PublishedHeader.js +1 -1
  37. package/dist/render/components/ReviewForm.js +1 -1
  38. package/dist/render/components/Reviews.js +1 -1
  39. package/dist/render/components/SectionBand.d.ts +2 -1
  40. package/dist/render/components/SectionBand.js +1 -1
  41. package/dist/render/components/SectionNotice.js +1 -1
  42. package/dist/render/components/SectionPadScope.d.ts +23 -0
  43. package/dist/render/components/SectionPadScope.js +1 -0
  44. package/dist/render/components/catalog/CatalogFilterBar.js +1 -1
  45. package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
  46. package/dist/render/lib/content/block-own-pads.d.ts +27 -0
  47. package/dist/render/lib/content/block-own-pads.js +1 -0
  48. package/dist/render/lib/content/header-bar.d.ts +8 -0
  49. package/dist/render/lib/content/header-bar.js +1 -1
  50. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.js +1 -1
  51. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
  52. package/dist/render/lib/document/blocks/commerce/BundleOffer/meta.js +1 -1
  53. package/dist/render/lib/document/blocks/commerce/BundleOffer/render.js +1 -1
  54. package/dist/render/lib/document/blocks/commerce/CatalogFilterBar/meta.js +1 -1
  55. package/dist/render/lib/document/blocks/commerce/CatalogFilterBar/render.js +1 -1
  56. package/dist/render/lib/document/blocks/commerce/CheckoutCTA/meta.js +1 -1
  57. package/dist/render/lib/document/blocks/commerce/CheckoutCTA/render.js +1 -1
  58. package/dist/render/lib/document/blocks/commerce/Collections/meta.js +1 -1
  59. package/dist/render/lib/document/blocks/commerce/Collections/render.js +1 -1
  60. package/dist/render/lib/document/blocks/commerce/CompatibleTyres/meta.js +1 -1
  61. package/dist/render/lib/document/blocks/commerce/CompatibleTyres/render.js +1 -1
  62. package/dist/render/lib/document/blocks/commerce/DeliveryOptions/meta.js +1 -1
  63. package/dist/render/lib/document/blocks/commerce/DeliveryOptions/render.js +1 -1
  64. package/dist/render/lib/document/blocks/commerce/EuTyreLabel/meta.js +1 -1
  65. package/dist/render/lib/document/blocks/commerce/EuTyreLabel/render.js +1 -1
  66. package/dist/render/lib/document/blocks/commerce/FitmentFinder/meta.js +1 -1
  67. package/dist/render/lib/document/blocks/commerce/FitmentFinder/render.js +1 -1
  68. package/dist/render/lib/document/blocks/commerce/FitmentTable/meta.js +1 -1
  69. package/dist/render/lib/document/blocks/commerce/FitmentTable/render.js +1 -1
  70. package/dist/render/lib/document/blocks/commerce/Gallery/meta.js +1 -1
  71. package/dist/render/lib/document/blocks/commerce/Gallery/render.js +1 -1
  72. package/dist/render/lib/document/blocks/commerce/ProductHero/meta.js +1 -1
  73. package/dist/render/lib/document/blocks/commerce/ProductHero/render.js +1 -1
  74. package/dist/render/lib/document/blocks/commerce/RelatedProducts/meta.js +1 -1
  75. package/dist/render/lib/document/blocks/commerce/RelatedProducts/render.js +1 -1
  76. package/dist/render/lib/document/blocks/commerce/SpecTable/meta.js +1 -1
  77. package/dist/render/lib/document/blocks/commerce/SpecTable/render.js +1 -1
  78. package/dist/render/lib/document/blocks/commerce/TyreFitment/meta.js +1 -1
  79. package/dist/render/lib/document/blocks/commerce/TyreFitment/render.js +1 -1
  80. package/dist/render/lib/document/blocks/commerce/TyreSizes/meta.js +1 -1
  81. package/dist/render/lib/document/blocks/commerce/TyreSizes/render.js +1 -1
  82. package/dist/render/lib/document/blocks/service/AppointmentBooking/meta.js +1 -1
  83. package/dist/render/lib/document/blocks/service/AppointmentBooking/render.js +1 -1
  84. package/dist/render/lib/document/blocks/service/ContactRouting/meta.js +1 -1
  85. package/dist/render/lib/document/blocks/service/ContactRouting/render.js +1 -1
  86. package/dist/render/lib/document/blocks/service/Form/meta.js +1 -1
  87. package/dist/render/lib/document/blocks/service/Form/render.js +1 -1
  88. package/dist/render/lib/document/blocks/service/ReviewForm/meta.js +1 -1
  89. package/dist/render/lib/document/blocks/service/ReviewForm/render.js +1 -1
  90. package/dist/render/lib/document/blocks/service/Reviews/meta.js +1 -1
  91. package/dist/render/lib/document/blocks/service/Reviews/render.js +1 -1
  92. package/dist/render/lib/document/blocks/service/SiteHeader/render.js +1 -1
  93. package/dist/render/lib/document/blocks/service/SubmitBuild/meta.js +1 -1
  94. package/dist/render/lib/document/blocks/service/SubmitBuild/render.js +1 -1
  95. package/dist/render/lib/document/blocks/service/Subscribe/meta.js +1 -1
  96. package/dist/render/lib/document/blocks/service/Subscribe/render.js +1 -1
  97. package/dist/render/lib/document/blocks/service/SubscribeBlogs/meta.js +1 -1
  98. package/dist/render/lib/document/blocks/service/SubscribeBlogs/render.js +1 -1
  99. package/dist/render/lib/document/pads-itself.d.ts +16 -0
  100. package/dist/render/lib/document/pads-itself.js +1 -0
  101. package/dist/render/lib/document/published-header-bar.d.ts +2 -0
  102. package/dist/render/lib/document/published-header-bar.js +1 -1
  103. package/dist/routine-index.json +1 -1
  104. package/dist/value-index.json +1 -1
  105. package/dist/words.d.ts +2 -0
  106. package/dist/words.js +1 -1
  107. package/package.json +2 -2
  108. package/dist/chunks/CustomHtmlCodeWindow-HSZVKXL4.js +0 -26
  109. package/dist/chunks/SiteEditorProvider-6X2YHTVA.js +0 -1
  110. package/dist/chunks/chunk-AEBQM5LZ.js +0 -2
  111. package/dist/chunks/chunk-B3U6XXDZ.js +0 -337
  112. package/dist/chunks/chunk-GATK7RJE.js +0 -7
  113. package/dist/chunks/chunk-HKL2EKLO.js +0 -96
  114. package/dist/chunks/section-css-style-TKWJ7WU2.js +0 -1
  115. /package/dist/chunks/{chunk-B3U6XXDZ.js.LEGAL.txt → chunk-7SLHEYYR.js.LEGAL.txt} +0 -0
  116. /package/dist/chunks/{chunk-3DCSW3PN.js → chunk-ECMYL3O7.js} +0 -0
  117. /package/dist/chunks/{chunk-ACYEMD5J.js.LEGAL.txt → chunk-UREPZPIT.js.LEGAL.txt} +0 -0
  118. /package/dist/chunks/{chunk-5NGS7VFJ.js → chunk-VYXOE5FY.js} +0 -0
@@ -1 +1 @@
1
- "use client";import{jsx as o,jsxs as l,Fragment as ue}from"react/jsx-runtime";import{useScopeClass as st}from"../../lib/use-scope-class.js";import{useCallback as m,useEffect as lt,useMemo as s,useRef as ct,useState as at}from"react";import{cardHoverOf as pt}from"efficient-web-builder/format/lib/animation/hover";import{pageTitleTag as mt}from"efficient-web-builder/format/lib/document/one-h1";import{SHARED_ROWS_LIST_CLASS as dt}from"efficient-web-builder/render/lib/content/box-shared-columns";import{NO_FIELD_ANSWERS as ut,answersForKind as fe}from"../../lib/content/field-usage.js";import{useCurrency as ft}from"../CurrencyContext.js";import ht from"../NoCurrencyNote.js";import{usePreviewDevice as gt}from"efficient-easel/screen/components/PreviewDeviceContext";import{renderGold as yt,renderHeadline as St}from"efficient-web-builder/render/components/goldPhrases";import{useUnifiedProductCatalog as xt}from"../useProductCatalog.js";import{scrollBehavior as bt}from"efficient-web-builder/render/components/useReducedMotion";import{normalizePlpColumns as wt,PLP_GRID_GAP_VAR as he,plpGridVars as kt}from"../../lib/wheels/plp-grid.js";import{plpCardImageSizes as vt}from"../../lib/sections/card-image-sizes.js";import{CARD_ROWS_GRID_CLASS as Pt,cardRowsGridStyle as Nt}from"../WheelCardFrame.js";import{applyPlpFilters as Ct,buildPlpFacets as Tt,buildPlpTypeOptions as _t,buildTyreSizeBoxes as At,EMPTY_PLP_FILTERS as ge,hasActivePlpFilters as Lt,paginatePlp as zt,pickTyreSize as Ft,plpTyreSizeBoxesShown as Ot,plpInStockCount as Vt,plpOpeningSort as Gt,plpPriceBounds as It,plpShownKinds as Mt,plpSortKeysFor as Rt,PLP_SORT_LABELS as Et}from"../../lib/wheels/plp-filters.js";import{itemKind as O,itemSlug as Kt,itemTyreSizes as jt,plpBrandVaries as Bt,plpProcessVaries as Dt,plpItemsOfKinds as Wt,plpKindNoun as ye,resolvePlpKinds as $t}from"../../lib/catalog/plp-item.js";import{plpGateWords as Ht,plpVehicleCopy as Yt}from"../../lib/catalog/plp-vehicle-copy.js";import{oemBadgeSize as qt,oemTyreSizes as Jt}from"../../lib/tyres/tyre-vehicle-fitment.js";import{wheelsFittingVehicle as Qt}from"../../lib/wheels/plp-fitment-match.js";import Ut from"./PlpActiveChips.js";import{GridCardProvider as Xt,GridMixedCards as Zt,gridIndexCss as eo,LISTING_CARD_RULES as to}from"../GridCardTemplate.js";import{wheelCardEyebrowShows as oo}from"../ProductCardEyebrow.js";import ro from"./PlpPagination.js";import no from"./PlpSidebar.js";import io from"./PlpFilterButton.js";import{plpFilterViews as so}from"../../lib/sections/shopper-filters.js";import{PlpResultRange as lo,PlpToolbar as co}from"./PlpToolbar.js";import ao from"../catalog/SortSelect.js";import po from"./PlpVehicleBar.js";import mo from"./PlpVehicleGate.js";import{useVehicleCatalog as uo}from"./useVehicleCatalog.js";import{useVehicleFit as fo}from"../fitment/useVehicleFit.js";import{usePlpFiltersInUrl as ho}from"./usePlpFiltersInUrl.js";import{productContentOf as go,rowsForGridSource as yo}from"../../lib/wheels/grid-source.js";import{say as B}from"efficient-web-builder/format/lib/editor-words";import{ALLOY_WHEELS_LISTING_TYPE as Se}from"../../lib/document/document-nodes.js";const ir={heading:"Let's find wheels that fit your car.",intro:"Tell us what you drive and we'll show you every set that bolts straight on — bolt pattern, offset and hub bore checked for you."};function So({level:v,className:P,children:N}){const V=mt(v);return o(V,{className:P,children:N})}const xo=pt({},Se);function bo({heading:v="",intro:P="",askForCar:N=!0,gateHeading:V="",gateIntro:xe="",perPage:D=24,columns:be,defaultSort:we="recommended",hiddenFacets:W=[],fieldUsage:h=ut,showPrice:$=!0,showInStock:ke=!0,kinds:ve,source:H,products:Pe,wheels:Ne,addressQuery:Ce,editing:d=!1,ownerId:Y="",template:Te,facetTemplate:_e,railTemplate:Ae,railHeadTemplate:Le,hover:ze=xo,titleLevel:Fe,omitHead:q=!1,cellLook:J,filterLook:Oe,filterLookPhone:Ve}){const{currency:a}=ft(),u=$t(ve),Q=gt(),U=wt(be),Ge=kt(U,d?Q:null),Ie=vt(U,d?Q:null),X=st("plp"),Me=eo(X),Re=xt(),Z=Pe??Ne??Re??[],x=go(H)==="category"?H?.name??"":null,ee=s(()=>{const t=Wt(Z,u);return x===null?t:yo({name:x},t)},[Z,u.join(","),x]),r=fo({editing:d,enabled:N,autoApply:!0}),[Ee,G]=at(!1),Ke=Gt(we,u),g=r.applied?.vehicle??null,[_,b]=ho({editing:d,openingSort:Ke,appliedVehicle:g,vehicleRestored:r.restored,addressQuery:Ce}),e=s(()=>x===null||_.collections.length===0?_:{..._,collections:[]},[_,x]),p=Mt(u,e.kind),n=m(t=>b(t),[b]),te=m((t,f)=>{const c=e[t],nt=c.map(String).includes(f)?c.filter(it=>String(it)!==f):[...c,t==="diameters"?Number(f):f];n({...e,[t]:nt,page:1})},[e,n]),oe=m(t=>n({...e,priceMin:t,page:1}),[e,n]),re=m(t=>n({...e,priceMax:t,page:1}),[e,n]),ne=m(t=>n({...e,inStockOnly:t,page:1}),[e,n]),ie=m(t=>n({...ge,kind:t,inStockOnly:e.inStockOnly,priceMin:e.priceMin,priceMax:e.priceMax,sort:e.sort}),[e.inStockOnly,e.priceMin,e.priceMax,e.sort,n]),je=m(t=>n({...e,sort:t,page:1}),[e,n]),Be=m(t=>{n({...e,page:t}),typeof window<"u"&&window.scrollTo({top:0,behavior:bt()})},[e,n]),se=m(()=>n({...ge,sort:e.sort}),[e.sort,n]),{clear:A}=r,le=m(()=>{A(),G(!0),b(t=>({...t,page:1}))},[A]),De=m(()=>{A(),G(!1),b(t=>({...t,page:1}))},[A]),L=g?[g.make,g.model,g.year,g.modification].join("|"):"",z=ct(null);lt(()=>{if(r.restored){if(z.current===null){z.current=L;return}z.current!==L&&(z.current=L,b(t=>t.page===1?t:{...t,page:1}))}},[r.restored,L,b]);const{items:F,failed:ce,retry:We}=uo({catalog:ee,shownKinds:u,vehicle:g,editing:d}),i=s(()=>{if(!r.fit)return F;const t=F.filter(c=>O(c)==="alloy-wheel"),f=new Set(Qt(t,r.fit).map(c=>c.slug));return F.filter(c=>O(c)!=="alloy-wheel"||f.has(Kt(c)))},[F,r.fit]),w=(x===null?W:[...W,"collections"]).join(","),$e=s(()=>{const t=new Set(w?w.split(","):[]);return Tt(i,e,a,p,h).filter(f=>!t.has(f.key))},[i,e,a,w,p.join(","),h]),y=s(()=>Ct(i,e,a),[i,e,a]),He=p.length>1,ae=s(()=>fe(h,"alloy-wheel"),[h]),Ye=s(()=>fe(h,"tyre"),[h]),I=s(()=>Bt(y),[y]),M=s(()=>Dt(y),[y]),R=He?ye(["alloy-wheel"]).one:null,qe=s(()=>({kindLabel:R,brand:I,process:M}),[R,I,M]),Je=oo({kind:!!R,brand:I,process:M},ae),Qe=s(()=>$?It(i,a):null,[i,a,$]),Ue=s(()=>Vt(i,e,a),[i,e,a]),Xe=s(()=>_t(i,u,e,a),[i,u.join(","),e,a]),Ze=m((t,f)=>{const c=Ft(i.flatMap(jt),e.tyreSizes[0]??"",t,f);n({...e,tyreSizes:c?[c]:[],page:1})},[i,e,n]),et=s(()=>{const t=new Set(w?w.split(","):[]);return!Ot(i,p)||t.has("tyreSizes")?null:At(i,e,a)},[i,e,a,w,p.join(","),h]),S=s(()=>zt(y,e.page,D),[y,e.page,D]),k=ye(p),E=Yt(p),pe=Ht(V,xe,p,u),me=p.length===1&&p[0]==="tyre",de=r.applied?.stock??null,C=s(()=>Jt(de),[de]),tt=s(()=>i.filter(t=>p.includes(O(t))).length,[i,p.join(",")]),K=ee.length===0,ot=!K&&i.length===0,rt=N&&!d&&!r.applied&&!Ee;if(u.length===0)return null;const j=o(no,{facets:$e,filters:e,typeOptions:Xe,sizeBoxes:et,sizeMatches:e.tyreSizes.length>0?y.length:null,noun:k,priceBounds:Qe,inStockCount:ke?Ue:null,onToggle:te,onPickType:ie,onPickSize:Ze,onPriceMin:oe,onPriceMax:re,onInStockOnly:ne,onClearAll:se,owner:{id:Y,facetTemplate:_e,railTemplate:Ae,railHeadTemplate:Le},editing:d}),T=so(Oe,Ve);return l("section",{children:[N&&o(po,{cascade:r.cascade,appliedName:r.appliedName,fit:r.fit,fitSummary:me&&C.length>0?`Takes ${C.join(" · ")}`:null,resolving:r.resolving,unresolved:me?!!r.applied&&!r.resolving&&C.length===0:r.unresolved,matchCount:tt,copy:E,onAmend:De,onClear:le,cellLook:J}),rt&&o(mo,{cascade:r.cascade,heading:pe.heading,intro:pe.intro,ready:r.restored,copy:E,onSkip:()=>G(!0),cellLook:J}),l("div",{className:q?void 0:"px-5 py-10 md:px-[max(2.5rem,calc((100%_-_var(--sf-content-cap,100%))/2_+_2.5rem))]",children:[!q&&(v||P)&&l("header",{className:"mb-6",children:[v&&o(So,{level:Fe,className:"font-display text-[clamp(28px,4vw,40px)] [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] leading-[1.05] tracking-[-0.02em]",children:St(v,!1)}),P&&o("p",{className:"mt-2 max-w-[60ch] text-[15px] text-fg-dim",children:yt(P)})]}),l("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-start",children:[T.rail===""?j:T.rail!==null&&o("div",{className:T.rail,children:j}),l("div",{className:"min-w-0 flex-1",children:[o(co,{className:"mb-4",start:l(ue,{children:[o(lo,{total:S.total,range:{from:S.from,to:S.to},noun:k}),o(Ut,{filters:e,onToggle:te,onPriceMin:oe,onPriceMax:re,onInStockOnly:ne,onPickType:ie})]}),end:l(ue,{children:[T.button!==null&&o("div",{className:T.button||void 0,children:o(io,{filters:e,editing:d,children:j})}),o(ao,{value:e.sort,keys:Rt(u),labels:Et,onChange:je})]})}),ce&&!K&&l("div",{role:"status",className:"mb-4 flex flex-wrap items-center gap-x-4 gap-y-2 border border-line px-4 py-3",children:[o("p",{className:"text-[14px] text-fg-dim",children:"We couldn't check your car just now — try again."}),o("button",{type:"button",onClick:We,className:"cursor-pointer bg-btn px-4 py-2 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-btn-ink hover:bg-fg",children:"Try again"})]}),K?o("div",{className:"border border-dashed border-line p-10",children:o("p",{className:"font-mono text-[12px] uppercase tracking-[0.16em] text-fg-dim",children:d?k.many==="wheels"?B("No wheels in this website's catalog yet — curate products to see them here."):k.many==="tyres"?B("No tyres in this website's catalog yet — curate products to see them here."):B("No products in this website's catalog yet — curate products to see them here."):"Our catalog is being updated. Please check back shortly."})}):ot?ce?null:l("div",{className:"border border-line p-10",children:[l("h3",{className:"font-display text-[22px] font-medium uppercase tracking-[-0.01em]",children:["No confirmed fit for your ",r.appliedName]}),o("p",{className:"mt-2 max-w-[52ch] text-[14px] text-fg-dim",children:E.nothingFits}),l("button",{type:"button",onClick:le,className:"mt-4 cursor-pointer bg-btn px-4 py-3 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-btn-ink hover:bg-fg",children:["Show all ",k.many]})]}):S.total===0?l("div",{className:"border border-line p-10",children:[l("h3",{className:"font-display text-[22px] font-medium uppercase tracking-[-0.01em]",children:["No ",k.many," match those filters"]}),o("p",{className:"mt-2 max-w-[46ch] text-[14px] text-fg-dim",children:"Try widening the price range or clearing a filter."}),Lt(e)&&o("button",{type:"button",onClick:se,className:"mt-4 cursor-pointer bg-btn px-4 py-3 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-btn-ink hover:bg-fg",children:"Clear all filters"})]}):l(Xt,{value:{ownerId:Y,ownerType:Se,Template:Te,hover:ze,imageSizes:Ie,fieldUsage:ae,tyreFieldUsage:Ye,reserveEyebrow:Je,editing:d,eyebrow:qe,fit:r.fit,colours:e.finishes,setGridGap:`var(${he})`,rules:to},children:[o("style",{children:Me}),o("div",{className:`plp-card-grid ${X} ${Pt} ${dt}`,style:{...Ge,...Nt(`var(${he})`)},children:o(Zt,{items:S.items,tyreOf:t=>O(t)==="tyre"?t:null,tyreFit:t=>C.length>0?qt(t.sizes,C):null})})]}),o(ro,{page:S.page,pageCount:S.pageCount,onPage:Be}),o(ht,{editing:d})]})]})]})]})}export{ir as PLP_GATE_DEFAULTS,bo as default};
1
+ "use client";import{jsx as o,jsxs as l,Fragment as fe}from"react/jsx-runtime";import{useScopeClass as ct}from"../../lib/use-scope-class.js";import{useCallback as m,useEffect as at,useMemo as s,useRef as pt,useState as mt}from"react";import{cardHoverOf as dt}from"efficient-web-builder/format/lib/animation/hover";import{pageTitleTag as ut}from"efficient-web-builder/format/lib/document/one-h1";import{SHARED_ROWS_LIST_CLASS as ft}from"efficient-web-builder/render/lib/content/box-shared-columns";import{NO_FIELD_ANSWERS as ht,answersForKind as he}from"../../lib/content/field-usage.js";import{useCurrency as gt}from"../CurrencyContext.js";import yt from"../NoCurrencyNote.js";import{usePreviewDevice as St}from"efficient-easel/screen/components/PreviewDeviceContext";import{renderGold as xt,renderHeadline as bt}from"efficient-web-builder/render/components/goldPhrases";import{useUnifiedProductCatalog as wt}from"../useProductCatalog.js";import{scrollBehavior as Pt}from"efficient-web-builder/render/components/useReducedMotion";import{normalizePlpColumns as kt,PLP_GRID_GAP_VAR as ge,plpGridVars as vt}from"../../lib/wheels/plp-grid.js";import{plpCardImageSizes as Nt}from"../../lib/sections/card-image-sizes.js";import{CARD_ROWS_GRID_CLASS as Ct,cardRowsGridStyle as Tt}from"../WheelCardFrame.js";import{applyPlpFilters as _t,buildPlpFacets as At,buildPlpTypeOptions as Lt,buildTyreSizeBoxes as Ft,EMPTY_PLP_FILTERS as ye,hasActivePlpFilters as zt,paginatePlp as It,pickTyreSize as Ot,plpTyreSizeBoxesShown as Gt,plpInStockCount as Mt,plpOpeningSort as Rt,plpPriceBounds as Vt,plpShownKinds as Et,plpSortKeysFor as Kt,PLP_SORT_LABELS as jt}from"../../lib/wheels/plp-filters.js";import{itemKind as I,itemSlug as Bt,itemTyreSizes as Dt,plpBrandVaries as Wt,plpProcessVaries as $t,plpItemsOfKinds as Yt,plpKindNoun as Se,resolvePlpKinds as Ht}from"../../lib/catalog/plp-item.js";import{plpGateWords as qt,plpVehicleCopy as Jt}from"../../lib/catalog/plp-vehicle-copy.js";import{oemBadgeSize as Qt,oemTyreSizes as Ut}from"../../lib/tyres/tyre-vehicle-fitment.js";import{wheelsFittingVehicle as Xt}from"../../lib/wheels/plp-fitment-match.js";import Zt from"./PlpActiveChips.js";import{GridCardProvider as eo,GridMixedCards as to,gridIndexCss as oo,LISTING_CARD_RULES as ro}from"../GridCardTemplate.js";import{wheelCardEyebrowShows as no}from"../ProductCardEyebrow.js";import io from"./PlpPagination.js";import so from"./PlpSidebar.js";import lo from"./PlpFilterButton.js";import{plpFilterViews as co}from"../../lib/sections/shopper-filters.js";import{PlpResultRange as ao,PlpToolbar as po}from"./PlpToolbar.js";import mo from"../catalog/SortSelect.js";import uo from"./PlpVehicleBar.js";import fo from"./PlpVehicleGate.js";import{useVehicleCatalog as ho}from"./useVehicleCatalog.js";import{useVehicleFit as go}from"../fitment/useVehicleFit.js";import{usePlpFiltersInUrl as yo}from"./usePlpFiltersInUrl.js";import{productContentOf as So,rowsForGridSource as xo}from"../../lib/wheels/grid-source.js";import{say as D}from"efficient-web-builder/format/lib/editor-words";import{ALLOY_WHEELS_LISTING_TYPE as xe}from"../../lib/document/document-nodes.js";import{withRootPad as bo}from"efficient-web-builder/render/lib/content/section-own-pads";import{useSectionPad as wo}from"../SectionPadScope.js";const mr={heading:"Let's find wheels that fit your car.",intro:"Tell us what you drive and we'll show you every set that bolts straight on — bolt pattern, offset and hub bore checked for you."};function Po({level:k,className:v,children:N}){const O=ut(k);return o(O,{className:v,children:N})}const ko=dt({},xe),be="px-5 py-10 md:px-[max(2.5rem,calc((100%_-_var(--sf-content-cap,100%))/2_+_2.5rem))]";function vo({heading:k="",intro:v="",askForCar:N=!0,gateHeading:O="",gateIntro:we="",perPage:W=24,columns:Pe,defaultSort:ke="recommended",hiddenFacets:$=[],fieldUsage:h=ht,showPrice:Y=!0,showInStock:ve=!0,kinds:Ne,source:H,products:Ce,wheels:Te,addressQuery:_e,editing:d=!1,ownerId:q="",template:Ae,facetTemplate:Le,railTemplate:Fe,railHeadTemplate:ze,hover:Ie=ko,titleLevel:Oe,omitHead:G=!1,cellLook:J,filterLook:Ge,filterLookPhone:Me}){const{currency:a}=gt(),Q=wo(),u=Ht(Ne),U=St(),X=kt(Pe),Re=vt(X,d?U:null),Ve=Nt(X,d?U:null),Z=ct("plp"),Ee=oo(Z),Ke=wt(),ee=Ce??Te??Ke??[],x=So(H)==="category"?H?.name??"":null,te=s(()=>{const t=Yt(ee,u);return x===null?t:xo({name:x},t)},[ee,u.join(","),x]),r=go({editing:d,enabled:N,autoApply:!0}),[je,M]=mt(!1),Be=Rt(ke,u),g=r.applied?.vehicle??null,[_,b]=yo({editing:d,openingSort:Be,appliedVehicle:g,vehicleRestored:r.restored,addressQuery:_e}),e=s(()=>x===null||_.collections.length===0?_:{..._,collections:[]},[_,x]),p=Et(u,e.kind),n=m(t=>b(t),[b]),oe=m((t,f)=>{const c=e[t],st=c.map(String).includes(f)?c.filter(lt=>String(lt)!==f):[...c,t==="diameters"?Number(f):f];n({...e,[t]:st,page:1})},[e,n]),re=m(t=>n({...e,priceMin:t,page:1}),[e,n]),ne=m(t=>n({...e,priceMax:t,page:1}),[e,n]),ie=m(t=>n({...e,inStockOnly:t,page:1}),[e,n]),se=m(t=>n({...ye,kind:t,inStockOnly:e.inStockOnly,priceMin:e.priceMin,priceMax:e.priceMax,sort:e.sort}),[e.inStockOnly,e.priceMin,e.priceMax,e.sort,n]),De=m(t=>n({...e,sort:t,page:1}),[e,n]),We=m(t=>{n({...e,page:t}),typeof window<"u"&&window.scrollTo({top:0,behavior:Pt()})},[e,n]),le=m(()=>n({...ye,sort:e.sort}),[e.sort,n]),{clear:A}=r,ce=m(()=>{A(),M(!0),b(t=>({...t,page:1}))},[A]),$e=m(()=>{A(),M(!1),b(t=>({...t,page:1}))},[A]),L=g?[g.make,g.model,g.year,g.modification].join("|"):"",F=pt(null);at(()=>{if(r.restored){if(F.current===null){F.current=L;return}F.current!==L&&(F.current=L,b(t=>t.page===1?t:{...t,page:1}))}},[r.restored,L,b]);const{items:z,failed:ae,retry:Ye}=ho({catalog:te,shownKinds:u,vehicle:g,editing:d}),i=s(()=>{if(!r.fit)return z;const t=z.filter(c=>I(c)==="alloy-wheel"),f=new Set(Xt(t,r.fit).map(c=>c.slug));return z.filter(c=>I(c)!=="alloy-wheel"||f.has(Bt(c)))},[z,r.fit]),w=(x===null?$:[...$,"collections"]).join(","),He=s(()=>{const t=new Set(w?w.split(","):[]);return At(i,e,a,p,h).filter(f=>!t.has(f.key))},[i,e,a,w,p.join(","),h]),y=s(()=>_t(i,e,a),[i,e,a]),qe=p.length>1,pe=s(()=>he(h,"alloy-wheel"),[h]),Je=s(()=>he(h,"tyre"),[h]),R=s(()=>Wt(y),[y]),V=s(()=>$t(y),[y]),E=qe?Se(["alloy-wheel"]).one:null,Qe=s(()=>({kindLabel:E,brand:R,process:V}),[E,R,V]),Ue=no({kind:!!E,brand:R,process:V},pe),Xe=s(()=>Y?Vt(i,a):null,[i,a,Y]),Ze=s(()=>Mt(i,e,a),[i,e,a]),et=s(()=>Lt(i,u,e,a),[i,u.join(","),e,a]),tt=m((t,f)=>{const c=Ot(i.flatMap(Dt),e.tyreSizes[0]??"",t,f);n({...e,tyreSizes:c?[c]:[],page:1})},[i,e,n]),ot=s(()=>{const t=new Set(w?w.split(","):[]);return!Gt(i,p)||t.has("tyreSizes")?null:Ft(i,e,a)},[i,e,a,w,p.join(","),h]),S=s(()=>It(y,e.page,W),[y,e.page,W]),P=Se(p),K=Jt(p),me=qt(O,we,p,u),de=p.length===1&&p[0]==="tyre",ue=r.applied?.stock??null,C=s(()=>Ut(ue),[ue]),rt=s(()=>i.filter(t=>p.includes(I(t))).length,[i,p.join(",")]),j=te.length===0,nt=!j&&i.length===0,it=N&&!d&&!r.applied&&!je;if(u.length===0)return null;const B=o(so,{facets:He,filters:e,typeOptions:et,sizeBoxes:ot,sizeMatches:e.tyreSizes.length>0?y.length:null,noun:P,priceBounds:Xe,inStockCount:ve?Ze:null,onToggle:oe,onPickType:se,onPickSize:tt,onPriceMin:re,onPriceMax:ne,onInStockOnly:ie,onClearAll:le,owner:{id:q,facetTemplate:Le,railTemplate:Fe,railHeadTemplate:ze},editing:d}),T=co(Ge,Me);return l("section",{children:[N&&o(uo,{cascade:r.cascade,appliedName:r.appliedName,fit:r.fit,fitSummary:de&&C.length>0?`Takes ${C.join(" · ")}`:null,resolving:r.resolving,unresolved:de?!!r.applied&&!r.resolving&&C.length===0:r.unresolved,matchCount:rt,copy:K,onAmend:$e,onClear:ce,cellLook:J}),it&&o(fo,{cascade:r.cascade,heading:me.heading,intro:me.intro,ready:r.restored,copy:K,onSkip:()=>M(!0),cellLook:J}),l("div",{...Q?bo(G?"":be,Q):{className:G?void 0:be},children:[!G&&(k||v)&&l("header",{className:"mb-6",children:[k&&o(Po,{level:Oe,className:"font-display text-[clamp(28px,4vw,40px)] [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] leading-[1.05] tracking-[-0.02em]",children:bt(k,!1)}),v&&o("p",{className:"mt-2 max-w-[60ch] text-[15px] text-fg-dim",children:xt(v)})]}),l("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-start",children:[T.rail===""?B:T.rail!==null&&o("div",{className:T.rail,children:B}),l("div",{className:"min-w-0 flex-1",children:[o(po,{className:"mb-4",start:l(fe,{children:[o(ao,{total:S.total,range:{from:S.from,to:S.to},noun:P}),o(Zt,{filters:e,onToggle:oe,onPriceMin:re,onPriceMax:ne,onInStockOnly:ie,onPickType:se})]}),end:l(fe,{children:[T.button!==null&&o("div",{className:T.button||void 0,children:o(lo,{filters:e,editing:d,children:B})}),o(mo,{value:e.sort,keys:Kt(u),labels:jt,onChange:De})]})}),ae&&!j&&l("div",{role:"status",className:"mb-4 flex flex-wrap items-center gap-x-4 gap-y-2 border border-line px-4 py-3",children:[o("p",{className:"text-[14px] text-fg-dim",children:"We couldn't check your car just now — try again."}),o("button",{type:"button",onClick:Ye,className:"cursor-pointer bg-btn px-4 py-2 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-btn-ink hover:bg-fg",children:"Try again"})]}),j?o("div",{className:"border border-dashed border-line p-10",children:o("p",{className:"font-mono text-[12px] uppercase tracking-[0.16em] text-fg-dim",children:d?P.many==="wheels"?D("No wheels in this website's catalog yet — curate products to see them here."):P.many==="tyres"?D("No tyres in this website's catalog yet — curate products to see them here."):D("No products in this website's catalog yet — curate products to see them here."):"Our catalog is being updated. Please check back shortly."})}):nt?ae?null:l("div",{className:"border border-line p-10",children:[l("h3",{className:"font-display text-[22px] font-medium uppercase tracking-[-0.01em]",children:["No confirmed fit for your ",r.appliedName]}),o("p",{className:"mt-2 max-w-[52ch] text-[14px] text-fg-dim",children:K.nothingFits}),l("button",{type:"button",onClick:ce,className:"mt-4 cursor-pointer bg-btn px-4 py-3 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-btn-ink hover:bg-fg",children:["Show all ",P.many]})]}):S.total===0?l("div",{className:"border border-line p-10",children:[l("h3",{className:"font-display text-[22px] font-medium uppercase tracking-[-0.01em]",children:["No ",P.many," match those filters"]}),o("p",{className:"mt-2 max-w-[46ch] text-[14px] text-fg-dim",children:"Try widening the price range or clearing a filter."}),zt(e)&&o("button",{type:"button",onClick:le,className:"mt-4 cursor-pointer bg-btn px-4 py-3 font-mono text-[11px] font-bold uppercase tracking-[0.24em] text-btn-ink hover:bg-fg",children:"Clear all filters"})]}):l(eo,{value:{ownerId:q,ownerType:xe,Template:Ae,hover:Ie,imageSizes:Ve,fieldUsage:pe,tyreFieldUsage:Je,reserveEyebrow:Ue,editing:d,eyebrow:Qe,fit:r.fit,colours:e.finishes,setGridGap:`var(${ge})`,rules:ro},children:[o("style",{children:Ee}),o("div",{className:`plp-card-grid ${Z} ${Ct} ${ft}`,style:{...Re,...Tt(`var(${ge})`)},children:o(to,{items:S.items,tyreOf:t=>I(t)==="tyre"?t:null,tyreFit:t=>C.length>0?Qt(t.sizes,C):null})})]}),o(io,{page:S.page,pageCount:S.pageCount,onPage:We}),o(yt,{editing:d})]})]})]})]})}export{mr as PLP_GATE_DEFAULTS,vo as default};
@@ -0,0 +1,27 @@
1
+ import type { SectionOwnPad } from "efficient-web-builder/render/lib/content/section-own-pads";
2
+ export declare const LISTING_OWN: SectionOwnPad;
3
+ export declare const APPOINTMENT_BOOKING_OWN: SectionOwnPad;
4
+ export declare const CATALOG_FILTER_BAR_OWN: SectionOwnPad;
5
+ export declare const CHECKOUT_CTA_OWN: SectionOwnPad;
6
+ export declare const COLLECTIONS_OWN: SectionOwnPad;
7
+ export declare const DELIVERY_OPTIONS_OWN: SectionOwnPad;
8
+ export declare const BAND_120_80_OWN: SectionOwnPad;
9
+ export declare const FITMENT_FINDER_OWN: SectionOwnPad;
10
+ export declare const BAND_120_OWN: SectionOwnPad;
11
+ export declare const FORM_OWN: SectionOwnPad;
12
+ export declare const GALLERY_OWN: SectionOwnPad;
13
+ export declare const REVIEWS_OWN: SectionOwnPad;
14
+ export declare const SUBMIT_BUILD_OWN: SectionOwnPad;
15
+ export declare const SUBSCRIBE_OWN: SectionOwnPad;
16
+ export declare const CONTACT_ROUTING_OWN: SectionOwnPad;
17
+ export declare const CONTACT_ROUTING_INNER: {
18
+ firstBottom: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
19
+ lastTop: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
20
+ };
21
+ export declare const CONTACT_ROUTING_ONLY_OWN: SectionOwnPad;
22
+ export declare const CONTACT_MESSAGE_ONLY_OWN: SectionOwnPad;
23
+ export declare const PRODUCT_HERO_OWN: SectionOwnPad;
24
+ export declare const PRODUCT_HERO_INNER: {
25
+ firstBottom: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
26
+ lastTop: Readonly<Record<import("efficient-easel/draw").ViewTier, number>>;
27
+ };
@@ -0,0 +1 @@
1
+ import{headInOwnBox as N}from"efficient-web-builder/render/lib/sections/section-to-box";const t=(o,_,x)=>({desktop:o,tablet:_,mobile:x}),n=o=>_=>N(_)?{top:0,bottom:o}:o,r=t(24,24,24),T=t(84,84,84),p=t(120,80,80),e=t(120,70,70),O=(o,_)=>_?{frame:o,edge:_}:{frame:o},C=O(o=>N(o)?0:t(40,40,40)),W=O(()=>t(88,64,64)),M=O(()=>t(16,16,12)),A=O(()=>r),B=O(o=>N(o)?Number(o.template?.blockCount??0)>0?0:{top:0,bottom:e}:e,!0),L=O(n(r)),S=O(()=>p),m=O(o=>n(o.layout==="bar"?t(32,20,20):t(80,60,60))(o)),U=O(n(p)),b=O(()=>T),G=O(o=>({top:o.showBreadcrumb===!1?t(100,60,60):t(24,24,16),bottom:t(80,80,80)})),i=O(n(T)),u=O(()=>t(120,60,60)),D=O(n(t(140,80,80))),s=t(60,60,60),c=t(80,60,60),a=O(o=>({top:N(o)?0:s,bottom:c})),l={firstBottom:s,lastTop:c},P=O(o=>({top:N(o)?0:s,bottom:s})),w=O(()=>c),R=t(16,16,16),I=t(56,56,32),F=O(()=>({top:R,bottom:I})),H={firstBottom:R,lastTop:I};export{W as APPOINTMENT_BOOKING_OWN,S as BAND_120_80_OWN,U as BAND_120_OWN,M as CATALOG_FILTER_BAR_OWN,A as CHECKOUT_CTA_OWN,B as COLLECTIONS_OWN,w as CONTACT_MESSAGE_ONLY_OWN,l as CONTACT_ROUTING_INNER,P as CONTACT_ROUTING_ONLY_OWN,a as CONTACT_ROUTING_OWN,L as DELIVERY_OPTIONS_OWN,m as FITMENT_FINDER_OWN,b as FORM_OWN,G as GALLERY_OWN,C as LISTING_OWN,H as PRODUCT_HERO_INNER,F as PRODUCT_HERO_OWN,i as REVIEWS_OWN,u as SUBMIT_BUILD_OWN,D as SUBSCRIBE_OWN};
@@ -32,3 +32,11 @@ export declare const HEADER_MENU_ROWS: readonly [{
32
32
  }];
33
33
  export declare const HEADER_MENU_ROW_FALLBACK = "top";
34
34
  export declare const resolveMenuRow: (v: unknown) => HeaderMenuRow | null;
35
+ export declare const HEADER_TOP_INK_CUSTOM = "custom";
36
+ export declare function readHeaderTopInk(mode: unknown, colour: unknown): string | null;
37
+ export declare const HEADER_LINK_OPACITY_DEFAULT = 80;
38
+ export declare const HEADER_LINK_OPACITY_MIN = 0;
39
+ export declare const HEADER_LINK_OPACITY_MAX = 100;
40
+ export declare const HEADER_LINK_OPACITY_ATTR = "data-header-link-opacity";
41
+ export declare const HEADER_LINK_OPACITY_VAR = "--sf-header-link-opacity";
42
+ export declare function readHeaderLinkOpacity(v: unknown): number | undefined;
@@ -1 +1 @@
1
- import{HEADER_HEIGHT_PX as o}from"efficient-web-builder/render/lib/document/header-clearance";import{parseOption as t}from"efficient-shell/format";function i(e){return typeof e=="number"&&Number.isInteger(e)&&e>=o.min&&e<=o.max?e:o.default}const c="fixed inset-x-0 bottom-0 top-[var(--sf-header-h,88px)]",_=e=>!!e&&e.startsWith("/wheels/")&&e!=="/wheels",x=(e,r)=>!e&&r?"var(--section-bg)":"var(--bg)",l=[{label:"Uppercase",value:"uppercase"},{label:"Capitalised",value:"capitalised"}],n="uppercase",A=e=>t(l,n,e),s=[{label:"Icon",value:"icon"},{label:"Text",value:"text"}],a="icon",u=e=>t(s,a,e),H=[{label:"Own row",value:"top"},{label:"Same row",value:"inline"}],S="top",b=e=>e==="inline"?"inline":e==="top"||e==="bottom"?"top":null;export{H as HEADER_MENU_ROWS,S as HEADER_MENU_ROW_FALLBACK,l as HEADER_NAV_TEXT_CASES,n as HEADER_NAV_TEXT_CASE_FALLBACK,s as HEADER_UTIL_STYLES,a as HEADER_UTIL_STYLE_FALLBACK,c as UNDER_HEADER_SHEET_CLASS,x as headerSolidBackground,_ as isProductPage,i as resolveHeaderHeightPx,b as resolveMenuRow,A as resolveNavTextCase,u as resolveUtilStyle};
1
+ import{HEADER_HEIGHT_PX as o}from"efficient-web-builder/render/lib/document/header-clearance";import{parseOption as r}from"efficient-shell/format";function A(e){return typeof e=="number"&&Number.isInteger(e)&&e>=o.min&&e<=o.max?e:o.default}const x="fixed inset-x-0 bottom-0 top-[var(--sf-header-h,88px)]",u=e=>!!e&&e.startsWith("/wheels/")&&e!=="/wheels",T=(e,t)=>!e&&t?"var(--section-bg)":"var(--bg)",n=[{label:"Uppercase",value:"uppercase"},{label:"Capitalised",value:"capitalised"}],a="uppercase",H=e=>r(n,a,e),p=[{label:"Icon",value:"icon"},{label:"Text",value:"text"}],i="icon",d=e=>r(p,i,e),R=[{label:"Own row",value:"top"},{label:"Same row",value:"inline"}],I="top",L=e=>e==="inline"?"inline":e==="top"||e==="bottom"?"top":null,s="custom";function D(e,t){return e!==s||typeof t!="string"?null:t.trim()||null}const f=80,E=0,l=100,m="data-header-link-opacity",N="--sf-header-link-opacity";function b(e){if(!(typeof e!="number"||!Number.isFinite(e)))return Math.min(l,Math.max(E,Math.round(e)))}export{m as HEADER_LINK_OPACITY_ATTR,f as HEADER_LINK_OPACITY_DEFAULT,l as HEADER_LINK_OPACITY_MAX,E as HEADER_LINK_OPACITY_MIN,N as HEADER_LINK_OPACITY_VAR,R as HEADER_MENU_ROWS,I as HEADER_MENU_ROW_FALLBACK,n as HEADER_NAV_TEXT_CASES,a as HEADER_NAV_TEXT_CASE_FALLBACK,s as HEADER_TOP_INK_CUSTOM,p as HEADER_UTIL_STYLES,i as HEADER_UTIL_STYLE_FALLBACK,x as UNDER_HEADER_SHEET_CLASS,T as headerSolidBackground,u as isProductPage,b as readHeaderLinkOpacity,D as readHeaderTopInk,A as resolveHeaderHeightPx,L as resolveMenuRow,H as resolveNavTextCase,d as resolveUtilStyle};
@@ -1 +1 @@
1
- import{PLP_DEFAULT_KINDS as o}from"../../../../catalog/plp-item.js";import{PLP_COLUMNS_DEFAULT as e}from"../../../../wheels/plp-grid.js";import{ProductGridSlots as r}from"../ProductGrid/meta.js";import{FACET_TEMPLATE_ALLOW as l,FACET_TEMPLATE_SLOT as L}from"../../../../content/facet-row-seed.js";import{RAIL_HEAD_TEMPLATE_SLOT as i,RAIL_TEMPLATE_ALLOW as t,RAIL_TEMPLATE_SLOT as s}from"../../../../content/rail-row-seed.js";const n={template:r.template,[L]:{type:"slot",allow:[...l]},[s]:{type:"slot",allow:[...t]},[i]:{type:"slot",allow:[...t]}},_={heading:"Alloy wheels",intro:"Filter by brand, colour, size and fitment to find your set."},p={label:"List",fields:n,defaultProps:{heading:"",intro:"",askForCar:!0,gateHeading:"",gateIntro:"",kinds:[...o],perPage:24,columns:e,defaultSort:"recommended",showInStock:!0,showCollection:!0,showPrice:!0}};export{_ as ALLOYWHEELSLISTING_PH,p as AlloyWheelsListingMeta,n as AlloyWheelsListingSlots};
1
+ import{PLP_DEFAULT_KINDS as t}from"../../../../catalog/plp-item.js";import{PLP_COLUMNS_DEFAULT as e}from"../../../../wheels/plp-grid.js";import{ProductGridSlots as r}from"../ProductGrid/meta.js";import{FACET_TEMPLATE_ALLOW as l,FACET_TEMPLATE_SLOT as L}from"../../../../content/facet-row-seed.js";import{RAIL_HEAD_TEMPLATE_SLOT as i,RAIL_TEMPLATE_ALLOW as o,RAIL_TEMPLATE_SLOT as s}from"../../../../content/rail-row-seed.js";import{LISTING_OWN as n}from"../../../../content/block-own-pads.js";const a={template:r.template,[L]:{type:"slot",allow:[...l]},[s]:{type:"slot",allow:[...o]},[i]:{type:"slot",allow:[...o]}},d={heading:"Alloy wheels",intro:"Filter by brand, colour, size and fitment to find your set."},P={ownPad:n,label:"List",fields:a,defaultProps:{heading:"",intro:"",askForCar:!0,gateHeading:"",gateIntro:"",kinds:[...t],perPage:24,columns:e,defaultSort:"recommended",showInStock:!0,showCollection:!0,showPrice:!0}};export{d as ALLOYWHEELSLISTING_PH,P as AlloyWheelsListingMeta,a as AlloyWheelsListingSlots};
@@ -1 +1 @@
1
- import{jsx as m}from"react/jsx-runtime";import{FITMENT_CELL_LOOK_PROP as l}from"../../../../sections/fitment-cell-look.js";import{LISTING_FILTER_LOOK_PROP as o,parseListingFilterLook as L,parseListingFilterLookPhone as f}from"../../../../sections/shopper-filters.js";import{phoneKey as T}from"efficient-easel/draw";import{PAGE_TITLE_LEVEL_PROP as g}from"efficient-web-builder/format/lib/document/one-h1";import h from"../../../../../components/wheels-plp/AlloyWheelsListing.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{asPlpSortKey as E,listingHiddenFacets as _}from"../../../../wheels/plp-filters.js";import{addressQueryOf as P}from"../../../../wheels/selected-ranges.js";import{cardHoverOf as c}from"efficient-web-builder/format/lib/animation/hover";import{phHide as a}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{headInOwnBox as I}from"efficient-web-builder/render/lib/sections/section-to-box";import{FACET_TEMPLATE_SLOT as s}from"../../../../content/facet-row-seed.js";import{RAIL_HEAD_TEMPLATE_SLOT as O,RAIL_TEMPLATE_SLOT as u}from"../../../../content/rail-row-seed.js";import{AlloyWheelsListingMeta as A,ALLOYWHEELSLISTING_PH as n}from"./meta.js";import{ALLOY_WHEELS_LISTING_TYPE as S}from"../../../document-nodes.js";const B={...A,render:e=>{const t=I(e),i=d=>t?void 0:d;return m(h,{titleLevel:e[g],heading:i(a(e.heading,n.heading,e.editor)),intro:i(a(e.intro,n.intro,e.editor)),omitHead:t,askForCar:e.askForCar!==!1,addressQuery:P(e)||void 0,gateHeading:r(e.gateHeading),gateIntro:r(e.gateIntro),perPage:e.perPage,columns:e.columns,defaultSort:E(e.defaultSort),ownerId:typeof e.id=="string"?e.id:"",template:e.template,facetTemplate:e[s],railTemplate:e[u],railHeadTemplate:e[O],hover:c(e,S),cellLook:e[l],filterLook:L(e[o]),filterLookPhone:f(e[T(o)]),hiddenFacets:_(e),showPrice:e.showPrice,showInStock:e.showInStock!==!1,kinds:e.kinds,source:e.source,products:e.products,wheels:e.wheels,fieldUsage:e.fieldUsage,editing:e.editor?.isEditing})}};export{B as AlloyWheelsListingRender};
1
+ import{jsx as l}from"react/jsx-runtime";import{FITMENT_CELL_LOOK_PROP as L}from"../../../../sections/fitment-cell-look.js";import{LISTING_FILTER_LOOK_PROP as o,parseListingFilterLook as f,parseListingFilterLookPhone as T}from"../../../../sections/shopper-filters.js";import{phoneKey as g}from"efficient-easel/draw";import{PAGE_TITLE_LEVEL_PROP as h}from"efficient-web-builder/format/lib/document/one-h1";import E from"../../../../../components/wheels-plp/AlloyWheelsListing.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{asPlpSortKey as _,listingHiddenFacets as P}from"../../../../wheels/plp-filters.js";import{addressQueryOf as c}from"../../../../wheels/selected-ranges.js";import{cardHoverOf as I}from"efficient-web-builder/format/lib/animation/hover";import{phHide as a}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{headInOwnBox as s}from"efficient-web-builder/render/lib/sections/section-to-box";import{FACET_TEMPLATE_SLOT as O}from"../../../../content/facet-row-seed.js";import{RAIL_HEAD_TEMPLATE_SLOT as u,RAIL_TEMPLATE_SLOT as A}from"../../../../content/rail-row-seed.js";import{AlloyWheelsListingMeta as S,ALLOYWHEELSLISTING_PH as n}from"./meta.js";import{ALLOY_WHEELS_LISTING_TYPE as d}from"../../../document-nodes.js";import{padsItself as k}from"../../../pads-itself.js";const U=k(d,{...S,render:e=>{const t=s(e),i=m=>t?void 0:m;return l(E,{titleLevel:e[h],heading:i(a(e.heading,n.heading,e.editor)),intro:i(a(e.intro,n.intro,e.editor)),omitHead:t,askForCar:e.askForCar!==!1,addressQuery:c(e)||void 0,gateHeading:r(e.gateHeading),gateIntro:r(e.gateIntro),perPage:e.perPage,columns:e.columns,defaultSort:_(e.defaultSort),ownerId:typeof e.id=="string"?e.id:"",template:e.template,facetTemplate:e[O],railTemplate:e[A],railHeadTemplate:e[u],hover:I(e,d),cellLook:e[L],filterLook:f(e[o]),filterLookPhone:T(e[g(o)]),hiddenFacets:P(e),showPrice:e.showPrice,showInStock:e.showInStock!==!1,kinds:e.kinds,source:e.source,products:e.products,wheels:e.wheels,fieldUsage:e.fieldUsage,editing:e.editor?.isEditing})}});export{U as AlloyWheelsListingRender};
@@ -1 +1 @@
1
- import{ProductGridSlots as t}from"../ProductGrid/meta.js";const l={label:"Bundle Products",fields:{template:t.template},defaultProps:{num:"",title:"",description:"",columns:3}};export{l as BundleOfferMeta};
1
+ import{ProductGridSlots as t}from"../ProductGrid/meta.js";import{BAND_120_80_OWN as e}from"../../../../content/block-own-pads.js";const r={ownPad:e,label:"Bundle Products",fields:{template:t.template},defaultProps:{num:"",title:"",description:"",columns:3}};export{r as BundleOfferMeta};
@@ -1 +1 @@
1
- import{bundleToGrid as e}from"../../../../sections/bundle-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{BundleOfferMeta as d}from"./meta.js";const m={...d,render:r=>o.render(e(r).props)};export{m as BundleOfferRender};
1
+ import{bundleToGrid as e}from"../../../../sections/bundle-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{BundleOfferMeta as d}from"./meta.js";import{padsItself as f}from"../../../pads-itself.js";const i=f("BundleOffer",{...d,render:r=>o.render(e(r).props)});export{i as BundleOfferRender};
@@ -1 +1 @@
1
- import{DEFAULT_FILTER_BAR_LAYOUT as e}from"../../../../sections/catalog-filter-layout.js";const t={label:"Catalog Filter Bar",defaultProps:{showProcess:!0,showLugs:!0,showPrice:!0,showVehicle:!0,showCount:!0,showSort:!0,layout:e,resultsHref:"",resultsLabel:""}};export{t as CatalogFilterBarMeta};
1
+ import{DEFAULT_FILTER_BAR_LAYOUT as r}from"../../../../sections/catalog-filter-layout.js";import{CATALOG_FILTER_BAR_OWN as t}from"../../../../content/block-own-pads.js";const s={ownPad:t,label:"Catalog Filter Bar",defaultProps:{showProcess:!0,showLugs:!0,showPrice:!0,showVehicle:!0,showCount:!0,showSort:!0,layout:r,resultsHref:"",resultsLabel:""}};export{s as CatalogFilterBarMeta};
@@ -1 +1 @@
1
- import{jsx as i}from"react/jsx-runtime";import r from"../../../../../components/CatalogFilterBarSection.js";import{hidableText as t}from"efficient-easel/screen/lib/document/hidable";import{parseFilterBarLayout as s}from"../../../../sections/catalog-filter-layout.js";import{CatalogFilterBarMeta as o}from"./meta.js";const f={...o,render:e=>i(r,{show:{process:e.showProcess,size:!0,lugs:e.showLugs,finish:!0,price:e.showPrice,vehicle:e.showVehicle,count:e.showCount,sort:e.showSort},layout:s(e.layout),processOptions:e.processOptions,fieldUsage:e.fieldUsage,resultsHref:t(e.resultsHref)||void 0,resultsLabel:t(e.resultsLabel)||void 0,editing:e.editor?.isEditing})};export{f as CatalogFilterBarRender};
1
+ import{jsx as r}from"react/jsx-runtime";import i from"../../../../../components/CatalogFilterBarSection.js";import{hidableText as t}from"efficient-easel/screen/lib/document/hidable";import{parseFilterBarLayout as o}from"../../../../sections/catalog-filter-layout.js";import{CatalogFilterBarMeta as s}from"./meta.js";import{padsItself as a}from"../../../pads-itself.js";const c=a("CatalogFilterBar",{...s,render:e=>r(i,{show:{process:e.showProcess,size:!0,lugs:e.showLugs,finish:!0,price:e.showPrice,vehicle:e.showVehicle,count:e.showCount,sort:e.showSort},layout:o(e.layout),processOptions:e.processOptions,fieldUsage:e.fieldUsage,resultsHref:t(e.resultsHref)||void 0,resultsLabel:t(e.resultsLabel)||void 0,editing:e.editor?.isEditing})});export{c as CatalogFilterBarRender};
@@ -1 +1 @@
1
- const e={title:"Ready when *you are.*",secondary:"Questions? Talk to us"},t={label:"Ready-to-Order Banner",defaultProps:{eyebrow:"",title:"",body:"",ctaText:"",ctaHref:"",secondaryText:"",secondaryHref:""}};export{e as CHECKOUT_CTA_PH,t as CheckoutCTAMeta};
1
+ import{CHECKOUT_CTA_OWN as e}from"../../../../content/block-own-pads.js";const o={title:"Ready when *you are.*",secondary:"Questions? Talk to us"},r={ownPad:e,label:"Ready-to-Order Banner",defaultProps:{eyebrow:"",title:"",body:"",ctaText:"",ctaHref:"",secondaryText:"",secondaryHref:""}};export{o as CHECKOUT_CTA_PH,r as CheckoutCTAMeta};
@@ -1 +1 @@
1
- import{jsx as T}from"react/jsx-runtime";import d from"../../../../../components/CheckoutCTA.js";import{hidableText as h}from"efficient-easel/screen/lib/document/hidable";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{ctaHide as x,phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CheckoutCTAMeta as y,CHECKOUT_CTA_PH as c}from"./meta.js";const _={...y,render:({eyebrow:m,title:a,body:n,ctaText:f,ctaHref:C,secondaryText:i,secondaryHref:p,contained:s,editor:e})=>{const o=x(f,C,e);return T(d,{eyebrow:t(m,r.eyebrow,e),title:t(a,c.title,e),body:t(n,r.body,e),ctaText:o.text,ctaHref:o.href||"/checkout",secondaryText:t(i,c.secondary,e),secondaryHref:h(p)||"#",contained:s})}};export{_ as CheckoutCTARender};
1
+ import{jsx as T}from"react/jsx-runtime";import d from"../../../../../components/CheckoutCTA.js";import{hidableText as h}from"efficient-easel/screen/lib/document/hidable";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{ctaHide as x,phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CheckoutCTAMeta as y,CHECKOUT_CTA_PH as c}from"./meta.js";import{padsItself as H}from"../../../pads-itself.js";const w=H("CheckoutCTA",{...y,render:({eyebrow:m,title:a,body:f,ctaText:C,ctaHref:n,secondaryText:p,secondaryHref:s,contained:i,editor:e})=>{const o=x(C,n,e);return T(d,{eyebrow:t(m,r.eyebrow,e),title:t(a,c.title,e),body:t(f,r.body,e),ctaText:o.text,ctaHref:o.href||"/checkout",secondaryText:t(p,c.secondary,e),secondaryHref:h(s)||"#",contained:i})}});export{w as CheckoutCTARender};
@@ -1 +1 @@
1
- import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";const l={cards:{type:"slot"},template:t()},e={label:"Collections",fields:l,defaultProps:{columns:3,limit:6}};export{e as CollectionsMeta,l as CollectionsSlots};
1
+ import{cardTemplateSlot as o}from"efficient-web-builder/format/lib/content/card-template";import{COLLECTIONS_OWN as t}from"../../../../content/block-own-pads.js";const l={cards:{type:"slot"},template:o()},r={ownPad:t,label:"Collections",fields:l,defaultProps:{columns:3,limit:6}};export{r as CollectionsMeta,l as CollectionsSlots};
@@ -1 +1 @@
1
- import{jsx as m}from"react/jsx-runtime";import r from"../../../../../components/Collections.js";import{readPartStyles as a}from"efficient-web-builder/render/lib/document/part-styles";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as n}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHideDefault as o}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CollectionsMeta as c}from"./meta.js";const H={...c,render:e=>{const t=l(e.headPlacement)==="own-box",i=d=>t?void 0:d;return m(r,{eyebrow:i(o(e.eyebrow,n.sectionNumber,e.editor)),heading:i(o(e.heading,n.sectionHeading,e.editor)),omitHead:t,nodeId:typeof e.id=="string"?e.id:void 0,partStyles:a(e),editing:e.editor?.isEditing,columns:e.columns,limit:e.limit,cards:e.cards,template:e.template})}};export{H as CollectionsRender};
1
+ import{jsx as m}from"react/jsx-runtime";import r from"../../../../../components/Collections.js";import{readPartStyles as a}from"efficient-web-builder/render/lib/document/part-styles";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHideDefault as n}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CollectionsMeta as c}from"./meta.js";import{padsItself as f}from"../../../pads-itself.js";const w=f("Collections",{...c,render:e=>{const t=l(e.headPlacement)==="own-box",i=d=>t?void 0:d;return m(r,{eyebrow:i(n(e.eyebrow,o.sectionNumber,e.editor)),heading:i(n(e.heading,o.sectionHeading,e.editor)),omitHead:t,nodeId:typeof e.id=="string"?e.id:void 0,partStyles:a(e),editing:e.editor?.isEditing,columns:e.columns,limit:e.limit,cards:e.cards,template:e.template})}});export{w as CollectionsRender};
@@ -1 +1 @@
1
- import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";const e={num:t.sectionNumber,title:"Compatible *tyres.*",description:t.body,footnote:"Tyres shown are fitment-matched companions.",footnoteLinkText:"Enquire about tyres"},n={label:"Compatible Tyres",defaultProps:{num:"",title:"",description:"",footnote:"",footnoteLinkText:"",footnoteLinkHref:""}};export{e as COMPATIBLETYRES_PH,n as CompatibleTyresMeta};
1
+ import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{BAND_120_80_OWN as t}from"../../../../content/block-own-pads.js";const i={num:o.sectionNumber,title:"Compatible *tyres.*",description:o.body,footnote:"Tyres shown are fitment-matched companions.",footnoteLinkText:"Enquire about tyres"},r={ownPad:t,label:"Compatible Tyres",defaultProps:{num:"",title:"",description:"",footnote:"",footnoteLinkText:"",footnoteLinkHref:""}};export{i as COMPATIBLETYRES_PH,r as CompatibleTyresMeta};
@@ -1 +1 @@
1
- import{jsx as r}from"react/jsx-runtime";import m from"../../../../../components/pdp-dynamic/DynamicRelatedProducts.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as f}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as e}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CompatibleTyresMeta as c,COMPATIBLETYRES_PH as o}from"./meta.js";const L={...c,render:t=>{const n=f(t.headPlacement)==="own-box",i=d=>n?void 0:d;return r(m,{num:i(e(t.num,o.num,t.editor)),title:i(e(t.title,o.title,t.editor)),description:i(e(t.description,o.description,t.editor)),omitHead:n,footnote:e(t.footnote,o.footnote,t.editor),footnoteLinkText:e(t.footnoteLinkText,o.footnoteLinkText,t.editor),footnoteLinkHref:a(t.footnoteLinkHref),relationship:"tyres-that-fit",cardImage:t.cardImage,editing:t.editor?.isEditing})}};export{L as CompatibleTyresRender};
1
+ import{jsx as d}from"react/jsx-runtime";import m from"../../../../../components/pdp-dynamic/DynamicRelatedProducts.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as f}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as e}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{CompatibleTyresMeta as c,COMPATIBLETYRES_PH as o}from"./meta.js";import{padsItself as l}from"../../../pads-itself.js";const b=l("CompatibleTyres",{...c,render:t=>{const n=f(t.headPlacement)==="own-box",i=r=>n?void 0:r;return d(m,{num:i(e(t.num,o.num,t.editor)),title:i(e(t.title,o.title,t.editor)),description:i(e(t.description,o.description,t.editor)),omitHead:n,footnote:e(t.footnote,o.footnote,t.editor),footnoteLinkText:e(t.footnoteLinkText,o.footnoteLinkText,t.editor),footnoteLinkHref:a(t.footnoteLinkHref),relationship:"tyres-that-fit",cardImage:t.cardImage,editing:t.editor?.isEditing})}});export{b as CompatibleTyresRender};
@@ -1 +1 @@
1
- const e={title:"Delivery, your way",badge:"Recommended"},t={label:"Delivery Options",defaultProps:{eyebrow:"",title:"",body:"",options:[],live:!0,highlightBadge:""}};export{e as DELIVERY_PH,t as DeliveryOptionsMeta};
1
+ import{DELIVERY_OPTIONS_OWN as e}from"../../../../content/block-own-pads.js";const t={title:"Delivery, your way",badge:"Recommended"},i={ownPad:e,label:"Delivery Options",defaultProps:{eyebrow:"",title:"",body:"",options:[],live:!0,highlightBadge:""}};export{t as DELIVERY_PH,i as DeliveryOptionsMeta};
@@ -1 +1 @@
1
- import{jsx as y}from"react/jsx-runtime";import f from"../../../../../components/DeliveryOptions.js";import u from"../../../../../components/DeliveryOptionsSource.js";import{parseSectionHeadPlacement as w}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as v}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as e}from"efficient-web-builder/format/lib/editor-words";import{DeliveryOptionsMeta as x,DELIVERY_PH as n}from"./meta.js";const H=()=>[{name:e("Standard"),eta:e("5–7 business days"),price:e("Free"),blurb:e("Tracked to your door.")},{name:e("Express"),eta:e("2–3 business days"),price:"$00",blurb:e("Priority handling."),highlighted:!0},{name:e("Pickup"),eta:e("Same day"),price:e("Free"),blurb:e("Collect from the warehouse.")}],k={...x,render:d=>{const a=w(d.headPlacement)==="own-box",i=g=>a?void 0:g,{eyebrow:s,title:m,body:l,options:c,live:h,highlightBadge:p,contained:b,editor:o}=d;return h?y(u,{eyebrow:i(t(s,r.eyebrow,o)),title:i(t(m,n.title,o)),body:i(t(l,r.body,o)),omitHead:a,highlightBadge:t(p,n.badge,o),contained:b}):y(f,{eyebrow:i(t(s,r.eyebrow,o)),title:i(t(m,n.title,o)),body:i(t(l,r.body,o)),omitHead:a,options:v(c,H(),o),highlightBadge:t(p,n.badge,o),contained:b})}};export{k as DeliveryOptionsRender};
1
+ import{jsx as b}from"react/jsx-runtime";import g from"../../../../../components/DeliveryOptions.js";import u from"../../../../../components/DeliveryOptionsSource.js";import{parseSectionHeadPlacement as w}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as v}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as e}from"efficient-web-builder/format/lib/editor-words";import{DeliveryOptionsMeta as x,DELIVERY_PH as n}from"./meta.js";import{padsItself as D}from"../../../pads-itself.js";const H=()=>[{name:e("Standard"),eta:e("5–7 business days"),price:e("Free"),blurb:e("Tracked to your door.")},{name:e("Express"),eta:e("2–3 business days"),price:"$00",blurb:e("Priority handling."),highlighted:!0},{name:e("Pickup"),eta:e("Same day"),price:e("Free"),blurb:e("Collect from the warehouse.")}],I=D("DeliveryOptions",{...x,render:d=>{const a=w(d.headPlacement)==="own-box",i=f=>a?void 0:f,{eyebrow:s,title:m,body:l,options:c,live:h,highlightBadge:p,contained:y,editor:o}=d;return h?b(u,{eyebrow:i(t(s,r.eyebrow,o)),title:i(t(m,n.title,o)),body:i(t(l,r.body,o)),omitHead:a,highlightBadge:t(p,n.badge,o),contained:y}):b(g,{eyebrow:i(t(s,r.eyebrow,o)),title:i(t(m,n.title,o)),body:i(t(l,r.body,o)),omitHead:a,options:v(c,H(),o),highlightBadge:t(p,n.badge,o),contained:y})}});export{I as DeliveryOptionsRender};
@@ -1 +1 @@
1
- const e={label:"EU Tyre Label",defaultProps:{num:""}};export{e as EuTyreLabelMeta};
1
+ import{BAND_120_80_OWN as e}from"../../../../content/block-own-pads.js";const o={ownPad:e,label:"EU Tyre Label",defaultProps:{num:""}};export{o as EuTyreLabelMeta};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import i from"../../../../../components/pdp-dynamic/DynamicEuTyreLabel.js";import{phHide as m}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as o}from"../placeholders.js";import{EuTyreLabelMeta as t}from"./meta.js";const y={...t,render:r=>e(i,{num:m(r.num,o.num,r.editor),editing:r.editor?.isEditing})};export{y as EuTyreLabelRender};
1
+ import{jsx as e}from"react/jsx-runtime";import m from"../../../../../components/pdp-dynamic/DynamicEuTyreLabel.js";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as o}from"../placeholders.js";import{EuTyreLabelMeta as t}from"./meta.js";import{padsItself as n}from"../../../pads-itself.js";const s=n("EuTyreLabel",{...t,render:r=>e(m,{num:i(r.num,o.num,r.editor),editing:r.editor?.isEditing})});export{s as EuTyreLabelRender};
@@ -1 +1 @@
1
- import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";const o={num:t.sectionNumber,title:"Find your *match.*",description:"A few quick picks and we show the right option for you.",ctaText:"Browse all products"},i={label:"Fitment Form",defaultProps:{num:"",title:"",description:"",ctaText:"",ctaHref:"",layout:"full"}};export{o as FITMENTFINDER_PH,i as FitmentFinderMeta};
1
+ import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{FITMENT_FINDER_OWN as o}from"../../../../content/block-own-pads.js";const i={num:t.sectionNumber,title:"Find your *match.*",description:"A few quick picks and we show the right option for you.",ctaText:"Browse all products"},n={ownPad:o,label:"Fitment Form",defaultProps:{num:"",title:"",description:"",ctaText:"",ctaHref:"",layout:"full"}};export{i as FITMENTFINDER_PH,n as FitmentFinderMeta};
@@ -1 +1 @@
1
- import{jsx as m}from"react/jsx-runtime";import r from"../../../../../components/fitment/FitmentFinder.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as e}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FITMENT_CELL_LOOK_PROP as f}from"../../../../sections/fitment-cell-look.js";import{FitmentFinderMeta as l,FITMENTFINDER_PH as i}from"./meta.js";const _={...l,render:t=>{const o=c(t.headPlacement)==="own-box",n=d=>o?void 0:d;return m(r,{num:n(e(t.num,i.num,t.editor)),title:n(e(t.title,i.title,t.editor)),description:n(e(t.description,i.description,t.editor)),omitHead:o,ctaText:e(t.ctaText,i.ctaText,t.editor),ctaHref:a(t.ctaHref)||"#",layout:t.layout,cellLook:t[f],editing:t.editor?.isEditing})}};export{_ as FitmentFinderRender};
1
+ import{jsx as d}from"react/jsx-runtime";import r from"../../../../../components/fitment/FitmentFinder.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as e}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FITMENT_CELL_LOOK_PROP as f}from"../../../../sections/fitment-cell-look.js";import{FitmentFinderMeta as l,FITMENTFINDER_PH as i}from"./meta.js";import{padsItself as F}from"../../../pads-itself.js";const I=F("FitmentFinder",{...l,render:t=>{const m=c(t.headPlacement)==="own-box",n=o=>m?void 0:o;return d(r,{num:n(e(t.num,i.num,t.editor)),title:n(e(t.title,i.title,t.editor)),description:n(e(t.description,i.description,t.editor)),omitHead:m,ctaText:e(t.ctaText,i.ctaText,t.editor),ctaHref:a(t.ctaHref)||"#",layout:t.layout,cellLook:t[f],editing:t.editor?.isEditing})}});export{I as FitmentFinderRender};
@@ -1 +1 @@
1
- import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{FITMENT_HEAD_TEMPLATE_SLOT as e}from"../../../../content/fitment-row-seed.js";const a={num:o.sectionNumber,title:"Specifications *table.*",description:o.body,footnote:"Add a short footnote here.",footnoteLinkText:"Contact us"},i={[e]:t(),template:t()},f={label:"Sizes",fields:i,defaultProps:{dynamic:!1,num:"",title:"",description:"",wheel:"",showFilter:!0,tooltipDefaultOn:!0,footnote:"",footnoteLinkText:"",footnoteLinkHref:""}};export{a as FITMENTTABLE_PH,f as FitmentTableMeta,i as FitmentTableSlots};
1
+ import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as o}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{FITMENT_HEAD_TEMPLATE_SLOT as e}from"../../../../content/fitment-row-seed.js";import{BAND_120_OWN as i}from"../../../../content/block-own-pads.js";const m={num:o.sectionNumber,title:"Specifications *table.*",description:o.body,footnote:"Add a short footnote here.",footnoteLinkText:"Contact us"},n={[e]:t(),template:t()},s={ownPad:i,label:"Sizes",fields:n,defaultProps:{dynamic:!1,num:"",title:"",description:"",wheel:"",showFilter:!0,tooltipDefaultOn:!0,footnote:"",footnoteLinkText:"",footnoteLinkHref:""}};export{m as FITMENTTABLE_PH,s as FitmentTableMeta,n as FitmentTableSlots};
@@ -1 +1 @@
1
- import{jsx as a}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/FitmentTableBlock.js";import{TYRE_SIZES_HEAD as d}from"../../../../../components/TyreSizeGrid.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as t,phHideDefault as m}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FitmentTableMeta as T,FITMENTTABLE_PH as i}from"./meta.js";const F={...T,render:e=>{const n=c(e.headPlacement)==="own-box",o=l=>n?void 0:l;return a(f,{dynamic:e.dynamic,wheel:e.wheel,num:o(t(e.num,i.num,e.editor)),title:o(t(e.title,i.title,e.editor)),description:o(t(e.description,i.description,e.editor)),tyreHead:n?void 0:{title:m(e.title,d.title,e.editor),description:m(e.description,d.description,e.editor)},omitHead:n,showFilter:e.showFilter,tooltipDefaultOn:e.tooltipDefaultOn,footnote:t(e.footnote,i.footnote,e.editor),footnoteLinkText:t(e.footnoteLinkText,i.footnoteLinkText,e.editor),footnoteLinkHref:r(e.footnoteLinkHref),editing:e.editor?.isEditing,template:e.template,headTemplate:e.headTemplate,nodeId:typeof e.id=="string"?e.id:void 0})}};export{F as FitmentTableRender};
1
+ import{jsx as a}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/FitmentTableBlock.js";import{TYRE_SIZES_HEAD as d}from"../../../../../components/TyreSizeGrid.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as c}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as t,phHideDefault as m}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{FitmentTableMeta as T,FITMENTTABLE_PH as i}from"./meta.js";import{padsItself as h}from"../../../pads-itself.js";const L=h("FitmentTable",{...T,render:e=>{const n=c(e.headPlacement)==="own-box",o=l=>n?void 0:l;return a(f,{dynamic:e.dynamic,wheel:e.wheel,num:o(t(e.num,i.num,e.editor)),title:o(t(e.title,i.title,e.editor)),description:o(t(e.description,i.description,e.editor)),tyreHead:n?void 0:{title:m(e.title,d.title,e.editor),description:m(e.description,d.description,e.editor)},omitHead:n,showFilter:e.showFilter,tooltipDefaultOn:e.tooltipDefaultOn,footnote:t(e.footnote,i.footnote,e.editor),footnoteLinkText:t(e.footnoteLinkText,i.footnoteLinkText,e.editor),footnoteLinkHref:r(e.footnoteLinkHref),editing:e.editor?.isEditing,template:e.template,headTemplate:e.headTemplate,nodeId:typeof e.id=="string"?e.id:void 0})}});export{L as FitmentTableRender};
@@ -1 +1 @@
1
- import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";const l={kicker:e.eyebrow,vehicleTitle:e.headingAccent,wheelTitle:e.headingAccent,vehicleBody1:e.body,vehicleBody2:"Add a second, shorter line if you need one.",wheelBody1:e.body,wheelBody2:"Add a second, shorter line if you need one.",othersTitle:e.headingAccent,othersBody1:e.body,othersBody2:"Add a second, shorter line if you need one."},r={label:"Tabbed Gallery",defaultProps:{mode:"both",source:null,kicker:"",breadcrumbLabel:"Gallery",vehicleTabLabel:"Gallery A",vehicleTitle:"",vehicleBody1:"",vehicleBody2:"",vehicleStats:[],vehicleCards:[],wheelTabLabel:"Gallery B",wheelTitle:"",wheelBody1:"",wheelBody2:"",wheelStats:[],wheelCards:[],othersTitle:"",othersBody1:"",othersBody2:"",othersStats:[],othersCards:[],showBreadcrumb:!0,showStats:!0,showIntro:!0,showTabs:!0,showFilters:!0,showCount:!0,showSort:!0,previewTab:"vehicles",previewHover:!1}};export{l as GALLERY_PH,r as GalleryMeta};
1
+ import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{GALLERY_OWN as o}from"../../../../content/block-own-pads.js";const t={kicker:e.eyebrow,vehicleTitle:e.headingAccent,wheelTitle:e.headingAccent,vehicleBody1:e.body,vehicleBody2:"Add a second, shorter line if you need one.",wheelBody1:e.body,wheelBody2:"Add a second, shorter line if you need one.",othersTitle:e.headingAccent,othersBody1:e.body,othersBody2:"Add a second, shorter line if you need one."},h={ownPad:o,label:"Tabbed Gallery",defaultProps:{mode:"both",source:null,kicker:"",breadcrumbLabel:"Gallery",vehicleTabLabel:"Gallery A",vehicleTitle:"",vehicleBody1:"",vehicleBody2:"",vehicleStats:[],vehicleCards:[],wheelTabLabel:"Gallery B",wheelTitle:"",wheelBody1:"",wheelBody2:"",wheelStats:[],wheelCards:[],othersTitle:"",othersBody1:"",othersBody2:"",othersStats:[],othersCards:[],showBreadcrumb:!0,showStats:!0,showIntro:!0,showTabs:!0,showFilters:!0,showCount:!0,showSort:!0,previewTab:"vehicles",previewHover:!1}};export{t as GALLERY_PH,h as GalleryMeta};
@@ -1 +1 @@
1
- import{jsx as y}from"react/jsx-runtime";import b from"../../../../../components/GalleryShowcase.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{PH as h}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{GalleryMeta as m,GALLERY_PH as l}from"./meta.js";const w=()=>[{value:"00",label:a(h.label)},{value:"00",label:a(h.label)},{value:"00",label:a(h.label)}],d=()=>({image:"",href:"#",process:a(h.category),eyebrow:a("Subtitle"),name:a("Item name"),meta:a("Detail")}),c=()=>[d(),d(),d(),d()],C={...m,render:e=>{const o=e.source;return y(b,{mode:e.mode,kicker:t(e.kicker,l.kicker,e.editor),breadcrumbLabel:r(e.breadcrumbLabel)||"Gallery",vehicleTabLabel:r(e.vehicleTabLabel)||"Gallery A",vehicleTitle:t(e.vehicleTitle,l.vehicleTitle,e.editor),vehicleBody1:t(e.vehicleBody1,l.vehicleBody1,e.editor),vehicleBody2:t(e.vehicleBody2,l.vehicleBody2,e.editor),vehicleStats:i(e.vehicleStats,w(),e.editor),vehicleCards:i(o?.vehicleCards??e.vehicleCards,c(),e.editor),wheelTabLabel:r(e.wheelTabLabel)||"Gallery B",wheelTitle:t(e.wheelTitle,l.wheelTitle,e.editor),wheelBody1:t(e.wheelBody1,l.wheelBody1,e.editor),wheelBody2:t(e.wheelBody2,l.wheelBody2,e.editor),wheelStats:i(e.wheelStats,w(),e.editor),wheelCards:i(o?.wheelCards??e.wheelCards,c(),e.editor),othersTitle:t(e.othersTitle,l.othersTitle,e.editor),othersBody1:t(e.othersBody1,l.othersBody1,e.editor),othersBody2:t(e.othersBody2,l.othersBody2,e.editor),othersStats:i(e.othersStats,w(),e.editor),othersCards:i(o?.othersCards??e.othersCards,c(),e.editor),showBreadcrumb:e.showBreadcrumb,showStats:e.showStats,showIntro:e.showIntro,showTabs:e.showTabs,showFilters:e.showFilters,showCount:e.showCount,showSort:e.showSort,previewTab:e.previewTab,previewHover:e.previewHover,editing:e.editor?.isEditing})}};export{C as GalleryRender};
1
+ import{jsx as y}from"react/jsx-runtime";import b from"../../../../../components/GalleryShowcase.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{PH as h}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t,phRows as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as a}from"efficient-web-builder/format/lib/editor-words";import{GalleryMeta as m,GALLERY_PH as l}from"./meta.js";import{padsItself as v}from"../../../pads-itself.js";const w=()=>[{value:"00",label:a(h.label)},{value:"00",label:a(h.label)},{value:"00",label:a(h.label)}],d=()=>({image:"",href:"#",process:a(h.category),eyebrow:a("Subtitle"),name:a("Item name"),meta:a("Detail")}),c=()=>[d(),d(),d(),d()],g=v("Gallery",{...m,render:e=>{const o=e.source;return y(b,{mode:e.mode,kicker:t(e.kicker,l.kicker,e.editor),breadcrumbLabel:r(e.breadcrumbLabel)||"Gallery",vehicleTabLabel:r(e.vehicleTabLabel)||"Gallery A",vehicleTitle:t(e.vehicleTitle,l.vehicleTitle,e.editor),vehicleBody1:t(e.vehicleBody1,l.vehicleBody1,e.editor),vehicleBody2:t(e.vehicleBody2,l.vehicleBody2,e.editor),vehicleStats:i(e.vehicleStats,w(),e.editor),vehicleCards:i(o?.vehicleCards??e.vehicleCards,c(),e.editor),wheelTabLabel:r(e.wheelTabLabel)||"Gallery B",wheelTitle:t(e.wheelTitle,l.wheelTitle,e.editor),wheelBody1:t(e.wheelBody1,l.wheelBody1,e.editor),wheelBody2:t(e.wheelBody2,l.wheelBody2,e.editor),wheelStats:i(e.wheelStats,w(),e.editor),wheelCards:i(o?.wheelCards??e.wheelCards,c(),e.editor),othersTitle:t(e.othersTitle,l.othersTitle,e.editor),othersBody1:t(e.othersBody1,l.othersBody1,e.editor),othersBody2:t(e.othersBody2,l.othersBody2,e.editor),othersStats:i(e.othersStats,w(),e.editor),othersCards:i(o?.othersCards??e.othersCards,c(),e.editor),showBreadcrumb:e.showBreadcrumb,showStats:e.showStats,showIntro:e.showIntro,showTabs:e.showTabs,showFilters:e.showFilters,showCount:e.showCount,showSort:e.showSort,previewTab:e.previewTab,previewHover:e.previewHover,editing:e.editor?.isEditing})}});export{g as GalleryRender};
@@ -1 +1 @@
1
- import{DEFAULT_HERO_PRICE_PLACEMENT as t}from"../../../../sections/hero-price-placement.js";import{DEFAULT_HERO_LAYOUT as e,DEFAULT_HERO_RATIO as r,DEFAULT_HERO_TEXT_ALIGN as l}from"../../../../sections/hero-arrangement.js";import{DEFAULT_HERO_GALLERY_MODE as E,DEFAULT_HERO_IMAGE_FIT as _}from"../../../../sections/hero-gallery.js";import{cardTemplateSlot as O}from"efficient-web-builder/format/lib/content/card-template";import{HERO_TEMPLATE_BLOCKS as m}from"../../../../content/hero-seed.js";import{HERO_OPTION_ALLOW as L,HERO_OPTION_SLOT as T}from"../../../../content/hero-option-seed.js";import{HERO_BUY_ALLOW as a,HERO_BUY_SLOT as i}from"../../../../content/hero-buy-seed.js";const o=O(),p={template:{...o,allow:[...o.allow,...m]},[T]:{type:"slot",allow:[...L]},[i]:{type:"slot",allow:[...a]}},f={label:"Product Hero",fields:p,defaultProps:{source:null,pricePlacement:t,showVehicleFitment:!0,heroLayout:e,imageRatio:r,textAlign:l,showSpecTable:!0,showPriceQuote:!0,galleryMode:E,imageFit:_}};export{f as ProductHeroMeta,p as ProductHeroSlots};
1
+ import{DEFAULT_HERO_PRICE_PLACEMENT as t}from"../../../../sections/hero-price-placement.js";import{DEFAULT_HERO_LAYOUT as e,DEFAULT_HERO_RATIO as r,DEFAULT_HERO_TEXT_ALIGN as _}from"../../../../sections/hero-arrangement.js";import{DEFAULT_HERO_GALLERY_MODE as l,DEFAULT_HERO_IMAGE_FIT as E}from"../../../../sections/hero-gallery.js";import{cardTemplateSlot as O}from"efficient-web-builder/format/lib/content/card-template";import{HERO_TEMPLATE_BLOCKS as m}from"../../../../content/hero-seed.js";import{HERO_OPTION_ALLOW as T,HERO_OPTION_SLOT as L}from"../../../../content/hero-option-seed.js";import{HERO_BUY_ALLOW as a,HERO_BUY_SLOT as i}from"../../../../content/hero-buy-seed.js";import{PRODUCT_HERO_OWN as p}from"../../../../content/block-own-pads.js";const o=O(),R={template:{...o,allow:[...o.allow,...m]},[L]:{type:"slot",allow:[...T]},[i]:{type:"slot",allow:[...a]}},F={ownPad:p,label:"Product Hero",fields:R,defaultProps:{source:null,pricePlacement:t,showVehicleFitment:!0,heroLayout:e,imageRatio:r,textAlign:_,showSpecTable:!0,showPriceQuote:!0,galleryMode:l,imageFit:E}};export{F as ProductHeroMeta,R as ProductHeroSlots};
@@ -1 +1 @@
1
- import{jsx as i}from"react/jsx-runtime";import{SITE_WIDTH_CAP as g}from"efficient-web-builder/format/lib/content/page-width";import{resolveWidth as E}from"efficient-web-builder/format/lib/content/section-width";import y from"../../../../../components/LinkedProductHero.js";import u from"../../../../../components/pdp-dynamic/DynamicProductHero.js";import P from"../../../../../components/SectionNotice.js";import{HERO_OPTION_SLOT as n}from"../../../../content/hero-option-seed.js";import{HERO_BUY_SLOT as d}from"../../../../content/hero-buy-seed.js";import{cardPressTitlesOf as L}from"efficient-web-builder/render/lib/document/card-press-titles";import{useCurrentProduct as k}from"../../../current-product.js";import{LINKED_HERO_RECORD_PROP as A,matchingLinkedRecord as D}from"../../../linked-hero-hydrate.js";import{isEditorOnDynamicPage as w}from"efficient-web-builder/format/lib/document/editor-page-context";import{DEFAULT_HERO_LAYOUT as C,DEFAULT_HERO_RATIO as I,DEFAULT_HERO_TEXT_ALIGN as x,parseHeroLayout as F,parseHeroRatio as S,parseHeroTextAlign as U}from"../../../../sections/hero-arrangement.js";import{say as N}from"efficient-web-builder/format/lib/editor-words";import{ProductHeroMeta as b}from"./meta.js";import{HideTaker as V}from"efficient-web-builder/render/components/ViewHideRoot";function j({source:e,editing:t=!1,showVehicleFitment:o=!0,heroLayout:a=C,imageRatio:c=I,textAlign:f=x,showSpecTable:l=!0,stickyColumns:s=!1,nodeId:T,template:h,optionTemplate:R,optionPressTitles:_,buyTemplate:H,linkedRecord:O}){const r={heroLayout:a,imageRatio:c,textAlign:f,showSpecTable:l,stickyColumns:s,nodeId:T,template:h,optionTemplate:R,optionPressTitles:_,buyTemplate:H};if(k()||t&&w())return i(u,{editing:t,showVehicleFitment:o,...r});if(e?.slug){const m=e.kind??"wheel";return i(y,{slug:e.slug,kind:m,initialRecord:D(O,m,e.slug),editing:t,showVehicleFitment:o,...r})}return t?i(P,{size:"tall",children:N("Pick a product in the panel to fill this hero.")}):i(u,{showVehicleFitment:o,...r})}function p(e,t){return E(e,"full").mode!=="page"?t:i(V,{as:"div",style:{"--sf-content-cap":g},children:t})}const oe={...b,render:e=>p(e,i(j,{source:e.source,editing:e.editor?.isEditing,showVehicleFitment:e.showVehicleFitment??!0,heroLayout:F(e.heroLayout),imageRatio:S(e.imageRatio),textAlign:U(e.textAlign),showSpecTable:e.showSpecTable??!0,stickyColumns:e.stickyColumns===!0,nodeId:typeof e.id=="string"?e.id:void 0,template:typeof e.template=="function"?e.template:void 0,optionTemplate:typeof e[n]=="function"?e[n]:void 0,optionPressTitles:L(e,n),buyTemplate:typeof e[d]=="function"?e[d]:void 0,linkedRecord:e[A]}))};export{oe as ProductHeroRender};
1
+ import{jsx as i}from"react/jsx-runtime";import{SITE_WIDTH_CAP as P}from"efficient-web-builder/format/lib/content/page-width";import{resolveWidth as H}from"efficient-web-builder/format/lib/content/section-width";import g from"../../../../../components/LinkedProductHero.js";import d from"../../../../../components/pdp-dynamic/DynamicProductHero.js";import y from"../../../../../components/SectionNotice.js";import{HERO_OPTION_SLOT as n}from"../../../../content/hero-option-seed.js";import{HERO_BUY_SLOT as f}from"../../../../content/hero-buy-seed.js";import{cardPressTitlesOf as L}from"efficient-web-builder/render/lib/document/card-press-titles";import{useCurrentProduct as k}from"../../../current-product.js";import{LINKED_HERO_RECORD_PROP as D,matchingLinkedRecord as A}from"../../../linked-hero-hydrate.js";import{isEditorOnDynamicPage as C}from"efficient-web-builder/format/lib/document/editor-page-context";import{DEFAULT_HERO_LAYOUT as p,DEFAULT_HERO_RATIO as I,DEFAULT_HERO_TEXT_ALIGN as S,parseHeroLayout as U,parseHeroRatio as w,parseHeroTextAlign as N}from"../../../../sections/hero-arrangement.js";import{say as x}from"efficient-web-builder/format/lib/editor-words";import{ProductHeroMeta as F}from"./meta.js";import{HideTaker as b}from"efficient-web-builder/render/components/ViewHideRoot";import{SplitPadScope as V}from"../../../../../components/SectionPadScope.js";import{PRODUCT_HERO_TYPE as W}from"../../../document-nodes.js";import{splitPads as Y}from"../../../pads-itself.js";import{PRODUCT_HERO_INNER as j,PRODUCT_HERO_OWN as v}from"../../../../content/block-own-pads.js";function B({source:e,editing:t=!1,showVehicleFitment:o=!0,heroLayout:a=p,imageRatio:c=I,textAlign:l=S,showSpecTable:u=!0,stickyColumns:s=!1,nodeId:R,template:T,optionTemplate:O,optionPressTitles:_,buyTemplate:h,linkedRecord:E}){const r={heroLayout:a,imageRatio:c,textAlign:l,showSpecTable:u,stickyColumns:s,nodeId:R,template:T,optionTemplate:O,optionPressTitles:_,buyTemplate:h};if(k()||t&&C())return i(d,{editing:t,showVehicleFitment:o,...r});if(e?.slug){const m=e.kind??"wheel";return i(g,{slug:e.slug,kind:m,initialRecord:A(E,m,e.slug),editing:t,showVehicleFitment:o,...r})}return t?i(y,{size:"tall",children:x("Pick a product in the panel to fill this hero.")}):i(d,{showVehicleFitment:o,...r})}function z(e,t){return H(e,"full").mode!=="page"?t:i(b,{as:"div",style:{"--sf-content-cap":P},children:t})}const ue={...F,render:e=>z(e,i(V,{pads:Y(W,e,{both:v},j),children:i(B,{source:e.source,editing:e.editor?.isEditing,showVehicleFitment:e.showVehicleFitment??!0,heroLayout:U(e.heroLayout),imageRatio:w(e.imageRatio),textAlign:N(e.textAlign),showSpecTable:e.showSpecTable??!0,stickyColumns:e.stickyColumns===!0,nodeId:typeof e.id=="string"?e.id:void 0,template:typeof e.template=="function"?e.template:void 0,optionTemplate:typeof e[n]=="function"?e[n]:void 0,optionPressTitles:L(e,n),buyTemplate:typeof e[f]=="function"?e[f]:void 0,linkedRecord:e[D]})}))};export{ue as ProductHeroRender};
@@ -1 +1 @@
1
- import{RELATED_CARDS_DEFAULT as t}from"../../../../catalog/related-cards.js";import{DEFAULT_RELATIONSHIP as o}from"../../../../catalog/relationships.js";import{ProductGridSlots as e}from"../ProductGrid/meta.js";const i={label:"Related Products",fields:{template:e.template},defaultProps:{num:"",title:"",description:"",cardCount:t,columns:3,relationship:o}};export{i as RelatedProductsMeta};
1
+ import{RELATED_CARDS_DEFAULT as t}from"../../../../catalog/related-cards.js";import{DEFAULT_RELATIONSHIP as o}from"../../../../catalog/relationships.js";import{ProductGridSlots as r}from"../ProductGrid/meta.js";import{BAND_120_80_OWN as e}from"../../../../content/block-own-pads.js";const a={ownPad:e,label:"Related Products",fields:{template:r.template},defaultProps:{num:"",title:"",description:"",cardCount:t,columns:3,relationship:o}};export{a as RelatedProductsMeta};
@@ -1 +1 @@
1
- import{relatedToGrid as e}from"../../../../sections/related-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{RelatedProductsMeta as d}from"./meta.js";const i={...d,render:r=>o.render(e(r).props)};export{i as RelatedProductsRender};
1
+ import{relatedToGrid as e}from"../../../../sections/related-to-grid.js";import{ProductGridRender as o}from"../ProductGrid/render.js";import{RelatedProductsMeta as t}from"./meta.js";import{padsItself as d}from"../../../pads-itself.js";const i=d("RelatedProducts",{...t,render:r=>o.render(e(r).props)});export{i as RelatedProductsRender};
@@ -1 +1 @@
1
- import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";const r={num:e.sectionNumber,title:"Specifications *table.*",description:e.body},o={template:t()},s={label:"Spec Table",fields:o,defaultProps:{dynamic:!1,num:"",title:"",description:"",source:null,finish:"",size:"",showDiagram:!0,rows:[]}};export{r as SPECTABLE_PH,s as SpecTableMeta,o as SpecTableSlots};
1
+ import{cardTemplateSlot as t}from"efficient-web-builder/format/lib/content/card-template";import{PH as e}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{BAND_120_OWN as o}from"../../../../content/block-own-pads.js";const s={num:e.sectionNumber,title:"Specifications *table.*",description:e.body},i={template:t()},p={ownPad:o,label:"Spec Table",fields:i,defaultProps:{dynamic:!1,num:"",title:"",description:"",source:null,finish:"",size:"",showDiagram:!0,rows:[]}};export{s as SPECTABLE_PH,p as SpecTableMeta,i as SpecTableSlots};
@@ -1 +1 @@
1
- import{jsx as h}from"react/jsx-runtime";import b from"../../../../../components/pdp-dynamic/DynamicSpecTable.js";import S from"../../../../../components/SpecTable.js";import{buildSpecSheet as y,buildLegacySpecSheet as E,dropSpecRows as w,hiddenSpecRows as o}from"../../../../wheels/spec-sheet.js";import{parseSectionHeadPlacement as L}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as n}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SpecTableMeta as x,SPECTABLE_PH as d}from"./meta.js";const j={...x,render:e=>{const m=L(e.headPlacement)==="own-box",t=i=>m?void 0:i;if(e.dynamic)return h(b,{nodeId:typeof e.id=="string"?e.id:void 0,num:t(n(e.num,d.num,e.editor)),title:t(n(e.title,d.title,e.editor)),description:t(n(e.description,d.description,e.editor)),showDiagram:e.showDiagram!==!1,omitHead:m,editing:e.editor?.isEditing,template:e.template,showEuLabel:e.showEuLabel===!0,hideRows:o(e)});const a=e.source??null,s=e.wheel,u=!a?.slug&&typeof s=="string"?s:"",f=typeof e.finish=="string"?e.finish:"",r=typeof e.size=="string"?e.size:"";let l,g=!0,c=null;if(a?.slug&&a.spec){const i=y(a,f,r);l=w(i.rows,o(e)),c=e.showDiagram===!1?null:i.diagram}else if(u){const i=E(u,f,r);l=w(i.rows,o(e)),c=e.showDiagram===!1?null:i.diagram}else l=e.rows??[],g=!1;return h(S,{capped:!1,nodeId:typeof e.id=="string"?e.id:void 0,num:t(n(e.num,d.num,e.editor)),title:t(n(e.title,d.title,e.editor)),description:t(n(e.description,d.description,e.editor)),rows:l,builtInLabels:g,diagram:c,omitHead:m,editing:e.editor?.isEditing,template:e.template})}};export{j as SpecTableRender};
1
+ import{jsx as h}from"react/jsx-runtime";import b from"../../../../../components/pdp-dynamic/DynamicSpecTable.js";import S from"../../../../../components/SpecTable.js";import{buildSpecSheet as y,buildLegacySpecSheet as E,dropSpecRows as w,hiddenSpecRows as o}from"../../../../wheels/spec-sheet.js";import{parseSectionHeadPlacement as L}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as n}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SpecTableMeta as T,SPECTABLE_PH as d}from"./meta.js";import{padsItself as x}from"../../../pads-itself.js";const W=x("SpecTable",{...T,render:e=>{const m=L(e.headPlacement)==="own-box",t=i=>m?void 0:i;if(e.dynamic)return h(b,{nodeId:typeof e.id=="string"?e.id:void 0,num:t(n(e.num,d.num,e.editor)),title:t(n(e.title,d.title,e.editor)),description:t(n(e.description,d.description,e.editor)),showDiagram:e.showDiagram!==!1,omitHead:m,editing:e.editor?.isEditing,template:e.template,showEuLabel:e.showEuLabel===!0,hideRows:o(e)});const a=e.source??null,s=e.wheel,f=!a?.slug&&typeof s=="string"?s:"",r=typeof e.finish=="string"?e.finish:"",u=typeof e.size=="string"?e.size:"";let l,g=!0,c=null;if(a?.slug&&a.spec){const i=y(a,r,u);l=w(i.rows,o(e)),c=e.showDiagram===!1?null:i.diagram}else if(f){const i=E(f,r,u);l=w(i.rows,o(e)),c=e.showDiagram===!1?null:i.diagram}else l=e.rows??[],g=!1;return h(S,{capped:!1,nodeId:typeof e.id=="string"?e.id:void 0,num:t(n(e.num,d.num,e.editor)),title:t(n(e.title,d.title,e.editor)),description:t(n(e.description,d.description,e.editor)),rows:l,builtInLabels:g,diagram:c,omitHead:m,editing:e.editor?.isEditing,template:e.template})}});export{W as SpecTableRender};
@@ -1 +1 @@
1
- const e={label:"Tyre Fitment Form",defaultProps:{num:"",title:"",description:"",escapeText:"",escapeHref:""}};export{e as TyreFitmentMeta};
1
+ import{BAND_120_OWN as e}from"../../../../content/block-own-pads.js";const r={ownPad:e,label:"Tyre Fitment Form",defaultProps:{num:"",title:"",description:"",escapeText:"",escapeHref:""}};export{r as TyreFitmentMeta};
@@ -1 +1 @@
1
- import{jsx as a}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/DynamicTyreFitment.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as T}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as n}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as s}from"../placeholders.js";import{FITMENT_CELL_LOOK_PROP as x}from"../../../../sections/fitment-cell-look.js";import{TyreFitmentMeta as H}from"./meta.js";const R={...H,render:e=>{const o=T(e.headPlacement)==="own-box",t=c=>o?void 0:c,r=m(e.escapeText),d=m(e.escapeHref);return a(f,{num:t(i(e.num,s.num,e.editor)),title:t(i(e.title,n.sectionHeading,e.editor)),description:t(i(e.description,n.body,e.editor)),escapeText:r,escapeHref:d,omitHead:o,cellLook:e[x],editing:e.editor?.isEditing})}};export{R as TyreFitmentRender};
1
+ import{jsx as c}from"react/jsx-runtime";import f from"../../../../../components/pdp-dynamic/DynamicTyreFitment.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as s}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as T}from"../placeholders.js";import{FITMENT_CELL_LOOK_PROP as x}from"../../../../sections/fitment-cell-look.js";import{TyreFitmentMeta as H}from"./meta.js";import{padsItself as l}from"../../../pads-itself.js";const g=l("TyreFitment",{...H,render:e=>{const o=s(e.headPlacement)==="own-box",t=a=>o?void 0:a,n=m(e.escapeText),d=m(e.escapeHref);return c(f,{num:t(i(e.num,T.num,e.editor)),title:t(i(e.title,r.sectionHeading,e.editor)),description:t(i(e.description,r.body,e.editor)),escapeText:n,escapeHref:d,omitHead:o,cellLook:e[x],editing:e.editor?.isEditing})}});export{g as TyreFitmentRender};
@@ -1 +1 @@
1
- const e={label:"Tyre Sizes",defaultProps:{num:"",title:"",description:""}};export{e as TyreSizesMeta};
1
+ import{BAND_120_OWN as e}from"../../../../content/block-own-pads.js";const o={ownPad:e,label:"Tyre Sizes",defaultProps:{num:"",title:"",description:""}};export{o as TyreSizesMeta};
@@ -1 +1 @@
1
- import{jsx as m}from"react/jsx-runtime";import d from"../../../../../components/pdp-dynamic/DynamicTyreSizes.js";import{parseSectionHeadPlacement as a}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as n}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as c}from"../placeholders.js";import{TyreSizesMeta as f}from"./meta.js";const S={...f,render:e=>{const o=a(e.headPlacement)==="own-box",i=r=>o?void 0:r;return m(d,{num:i(t(e.num,c.num,e.editor)),title:i(t(e.title,n.sectionHeading,e.editor)),description:i(t(e.description,n.body,e.editor)),omitHead:o,editing:e.editor?.isEditing})}};export{S as TyreSizesRender};
1
+ import{jsx as n}from"react/jsx-runtime";import d from"../../../../../components/pdp-dynamic/DynamicTyreSizes.js";import{parseSectionHeadPlacement as a}from"efficient-web-builder/format/lib/sections/section-head-placement";import{PH as r}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{PRODUCTGRID_PH as c}from"../placeholders.js";import{TyreSizesMeta as f}from"./meta.js";import{padsItself as s}from"../../../pads-itself.js";const z=s("TyreSizes",{...f,render:e=>{const o=a(e.headPlacement)==="own-box",i=m=>o?void 0:m;return n(d,{num:i(t(e.num,c.num,e.editor)),title:i(t(e.title,r.sectionHeading,e.editor)),description:i(t(e.description,r.body,e.editor)),omitHead:o,editing:e.editor?.isEditing})}});export{z as TyreSizesRender};
@@ -1 +1 @@
1
- import{BOOKING_TEMPLATE_SLOT_FIELDS as o}from"../../../../content/booking-card-seed.js";const e={boxes:{type:"slot",allow:["BookingBox"]},...o},n={label:"Booking Form",fields:e,defaultProps:{eyebrow:"",heading:"",intro:"",buttonLabel:"",successMessage:""}};export{n as AppointmentBookingMeta,e as AppointmentBookingSlots};
1
+ import{BOOKING_TEMPLATE_SLOT_FIELDS as o}from"../../../../content/booking-card-seed.js";import{APPOINTMENT_BOOKING_OWN as t}from"../../../../content/block-own-pads.js";const e={boxes:{type:"slot",allow:["BookingBox"]},...o},i={ownPad:t,label:"Booking Form",fields:e,defaultProps:{eyebrow:"",heading:"",intro:"",buttonLabel:"",successMessage:""}};export{i as AppointmentBookingMeta,e as AppointmentBookingSlots};
@@ -1 +1 @@
1
- import{jsx as m}from"react/jsx-runtime";import a from"../../../../../components/AppointmentBooking.js";import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{parseSectionHeadPlacement as r}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{AppointmentBookingMeta as b}from"./meta.js";const s={...b,render:e=>{const o=r(e.headPlacement)==="own-box",n=d=>o?void 0:d;return m(a,{eyebrow:n(i(e.eyebrow,t.eyebrow,e.editor)),heading:n(i(e.heading,t.heading,e.editor)),intro:n(i(e.intro,t.body,e.editor)),omitHead:o,buttonLabel:i(e.buttonLabel,t.button,e.editor),successMessage:i(e.successMessage,t.bookingConfirmation,e.editor),boxes:e.boxes,serviceTemplate:e.serviceTemplate,timeTemplate:e.timeTemplate,inBoxes:e.layout==="boxes",nodeId:typeof e.id=="string"?e.id:void 0,editing:e.editor?.isEditing})}};export{s as AppointmentBookingRender};
1
+ import{jsx as m}from"react/jsx-runtime";import a from"../../../../../components/AppointmentBooking.js";import{PH as t}from"efficient-web-builder/format/lib/document/blocks/placeholders";import{parseSectionHeadPlacement as r}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{AppointmentBookingMeta as b}from"./meta.js";import{padsItself as g}from"../../../pads-itself.js";const y=g("AppointmentBooking",{...b,render:e=>{const n=r(e.headPlacement)==="own-box",o=d=>n?void 0:d;return m(a,{eyebrow:o(i(e.eyebrow,t.eyebrow,e.editor)),heading:o(i(e.heading,t.heading,e.editor)),intro:o(i(e.intro,t.body,e.editor)),omitHead:n,buttonLabel:i(e.buttonLabel,t.button,e.editor),successMessage:i(e.successMessage,t.bookingConfirmation,e.editor),boxes:e.boxes,serviceTemplate:e.serviceTemplate,timeTemplate:e.timeTemplate,inBoxes:e.layout==="boxes",nodeId:typeof e.id=="string"?e.id:void 0,editing:e.editor?.isEditing})}});export{y as AppointmentBookingRender};
@@ -1 +1 @@
1
- import{CONTACT_ROUTING_DEFAULTS as t}from"efficient-web-builder/format/lib/content/contact";import{CONTACT_CHANNEL_SLOT as r,CONTACT_REASON_SLOT as T,CONTACT_TEMPLATE_ALLOW as o,CONTACT_TOPIC_SLOT as l}from"../../../../content/contact-card-seed.js";import{THANKS_ALLOW as n,THANKS_SLOT as a}from"../../../../content/thanks-slot.js";const m={[l]:{type:"slot",allow:[...o]},[T]:{type:"slot",allow:[...o]},[r]:{type:"slot",allow:[...o]},[a]:{type:"slot",allow:[...n]}},u={label:"Contact Form",fields:m,defaultProps:{routingNumber:t.routingNumber,routingTagline:t.routingTagline,groups:t.groups,formSlug:"",formNumber:t.formNumber,formHeading:t.formHeading,metaItems:t.metaLines.map(e=>({text:e})),showOther:t.showOther,otherLabel:t.otherLabel,otherNoteTitle:t.otherNoteTitle,otherNoteBody:t.otherNoteBody,buttonText:t.buttonText,consent:t.consent,channels:t.channels}};export{u as ContactRoutingMeta,m as ContactRoutingSlots};
1
+ import{CONTACT_ROUTING_DEFAULTS as o}from"efficient-web-builder/format/lib/content/contact";import{CONTACT_CHANNEL_SLOT as r,CONTACT_REASON_SLOT as T,CONTACT_TEMPLATE_ALLOW as t,CONTACT_TOPIC_SLOT as n}from"../../../../content/contact-card-seed.js";import{THANKS_ALLOW as l,THANKS_SLOT as a}from"../../../../content/thanks-slot.js";import{CONTACT_ROUTING_OWN as m}from"../../../../content/block-own-pads.js";const N={[n]:{type:"slot",allow:[...t]},[T]:{type:"slot",allow:[...t]},[r]:{type:"slot",allow:[...t]},[a]:{type:"slot",allow:[...l]}},u={ownPad:m,label:"Contact Form",fields:N,defaultProps:{routingNumber:o.routingNumber,routingTagline:o.routingTagline,groups:o.groups,formSlug:"",formNumber:o.formNumber,formHeading:o.formHeading,metaItems:o.metaLines.map(e=>({text:e})),showOther:o.showOther,otherLabel:o.otherLabel,otherNoteTitle:o.otherNoteTitle,otherNoteBody:o.otherNoteBody,buttonText:o.buttonText,consent:o.consent,channels:o.channels}};export{u as ContactRoutingMeta,N as ContactRoutingSlots};
@@ -1 +1 @@
1
- import{jsx as f}from"react/jsx-runtime";import h from"../../../../../components/ContactRouting.js";import{CONTACT_ROUTING_DEFAULTS as t}from"efficient-web-builder/format/lib/content/contact";import{hidableText as i}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as o}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{cardPressTitlesOf as r}from"efficient-web-builder/render/lib/document/card-press-titles";import{CONTACT_CHANNEL_SLOT as d,CONTACT_REASON_SLOT as T,CONTACT_TOPIC_SLOT as u}from"../../../../content/contact-card-seed.js";import{SHOW_SENT_KEY as g,THANKS_SLOT as N}from"../../../../content/thanks-slot.js";import{ContactRoutingMeta as c}from"./meta.js";const E={...c,render:e=>{const m=l(e.headPlacement)==="own-box",a=n=>m?void 0:n;return f(h,{routingNumber:a(o(e.routingNumber,t.routingNumber,e.editor)),routingTagline:a(o(e.routingTagline,t.routingTagline,e.editor)),omitHead:m,templates:{ownerId:String(e.id??""),topic:e[u],reason:e[T],channel:e[d],thanks:e[N],pressTitles:{topic:r(e,u),reason:r(e,T),channel:r(e,d)}},groups:e.groups??[],formNumber:o(e.formNumber,t.formNumber,e.editor),formHeading:o(e.formHeading,t.formHeading,e.editor),metaLines:(e.metaItems??[]).map(n=>n?.text??"").filter(Boolean),showOther:e.showOther,otherLabel:i(e.otherLabel)||t.otherLabel,otherNoteTitle:o(e.otherNoteTitle,t.otherNoteTitle,e.editor),otherNoteBody:o(e.otherNoteBody,t.otherNoteBody,e.editor),buttonText:i(e.buttonText)||t.buttonText,consent:o(e.consent,t.consent,e.editor),channels:e.channels??[],formSlug:i(e.formSlug)||void 0,form:e.form,editing:e.editor?.isEditing,showSent:e[g]})}};export{E as ContactRoutingRender};
1
+ import{jsx as O}from"react/jsx-runtime";import f from"../../../../../components/ContactRouting.js";import{CONTACT_ROUTING_DEFAULTS as e}from"efficient-web-builder/format/lib/content/contact";import{hidableText as i}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as l}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as o}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{cardPressTitlesOf as r}from"efficient-web-builder/render/lib/document/card-press-titles";import{CONTACT_CHANNEL_SLOT as a,CONTACT_REASON_SLOT as N,CONTACT_TOPIC_SLOT as d}from"../../../../content/contact-card-seed.js";import{SHOW_SENT_KEY as u,THANKS_SLOT as h}from"../../../../content/thanks-slot.js";import{ContactRoutingMeta as g}from"./meta.js";import{splitPads as C}from"../../../pads-itself.js";import{CONTACT_MESSAGE_ONLY_OWN as _,CONTACT_ROUTING_INNER as c,CONTACT_ROUTING_ONLY_OWN as S,CONTACT_ROUTING_OWN as b}from"../../../../content/block-own-pads.js";const U={...g,render:t=>{const m=l(t.headPlacement)==="own-box",T=n=>m?void 0:n;return O(f,{routingNumber:T(o(t.routingNumber,e.routingNumber,t.editor)),routingTagline:T(o(t.routingTagline,e.routingTagline,t.editor)),omitHead:m,templates:{ownerId:String(t.id??""),topic:t[d],reason:t[N],channel:t[a],thanks:t[h],pressTitles:{topic:r(t,d),reason:r(t,N),channel:r(t,a)}},groups:t.groups??[],formNumber:o(t.formNumber,e.formNumber,t.editor),formHeading:o(t.formHeading,e.formHeading,t.editor),metaLines:(t.metaItems??[]).map(n=>n?.text??"").filter(Boolean),showOther:t.showOther,otherLabel:i(t.otherLabel)||e.otherLabel,otherNoteTitle:o(t.otherNoteTitle,e.otherNoteTitle,t.editor),otherNoteBody:o(t.otherNoteBody,e.otherNoteBody,t.editor),buttonText:i(t.buttonText)||e.buttonText,consent:o(t.consent,e.consent,t.editor),channels:t.channels??[],formSlug:i(t.formSlug)||void 0,form:t.form,editing:t.editor?.isEditing,showSent:t[u],pads:C("ContactRouting",t,{both:b,firstOnly:S,secondOnly:_},c)})}};export{U as ContactRoutingRender};
@@ -1 +1 @@
1
- import{THANKS_ALLOW as o,THANKS_SLOT as t}from"../../../../content/thanks-slot.js";const r={[t]:{type:"slot",allow:[...o]}},l={label:"Form",fields:r,defaultProps:{formSlug:"",heading:"",intro:"",submitText:"",finePrint:""}};export{l as FormMeta,r as FormSlots};
1
+ import{THANKS_ALLOW as o,THANKS_SLOT as t}from"../../../../content/thanks-slot.js";import{FORM_OWN as r}from"../../../../content/block-own-pads.js";const e={[t]:{type:"slot",allow:[...o]}},i={ownPad:r,label:"Form",fields:e,defaultProps:{formSlug:"",heading:"",intro:"",submitText:"",finePrint:""}};export{i as FormMeta,e as FormSlots};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import r from"../../../../../components/FormBlock.js";import{hidableText as n}from"efficient-easel/screen/lib/document/hidable";import{BUTTON_STYLE_KEYS as i}from"efficient-easel/screen/lib/content/style-keys";import{BUTTON_CORNERS_UNIT_KEY as o}from"efficient-easel/screen/lib/content/length-units";import{SHOW_SENT_KEY as d,THANKS_SLOT as m}from"../../../../content/thanks-slot.js";import{FormMeta as f}from"./meta.js";const b={...f,render:e=>t(r,{formSlug:n(e.formSlug)||void 0,heading:n(e.heading)||void 0,intro:n(e.intro)||void 0,submitText:n(e.submitText)||void 0,finePrint:n(e.finePrint)||void 0,form:e.form,editing:e.editor?.isEditing,nodeId:typeof e.id=="string"?e.id:"",thanks:e[m],showSent:e[d],buttonCorners:e[i.corners],buttonCornerSides:e[i.cornerSides],buttonCornersUnit:e[o]})};export{b as FormRender};
1
+ import{jsx as t}from"react/jsx-runtime";import r from"../../../../../components/FormBlock.js";import{hidableText as i}from"efficient-easel/screen/lib/document/hidable";import{BUTTON_STYLE_KEYS as n}from"efficient-easel/screen/lib/content/style-keys";import{BUTTON_CORNERS_UNIT_KEY as o}from"efficient-easel/screen/lib/content/length-units";import{SHOW_SENT_KEY as m,THANKS_SLOT as d}from"../../../../content/thanks-slot.js";import{FormMeta as f}from"./meta.js";import{padsItself as u}from"../../../pads-itself.js";const N=u("Form",{...f,render:e=>t(r,{formSlug:i(e.formSlug)||void 0,heading:i(e.heading)||void 0,intro:i(e.intro)||void 0,submitText:i(e.submitText)||void 0,finePrint:i(e.finePrint)||void 0,form:e.form,editing:e.editor?.isEditing,nodeId:typeof e.id=="string"?e.id:"",thanks:e[d],showSent:e[m],buttonCorners:e[n.corners],buttonCornerSides:e[n.cornerSides],buttonCornersUnit:e[o]})});export{N as FormRender};
@@ -1 +1 @@
1
- const e={eyebrow:"Your turn",title:"Leave a *review.*"},o={label:"Review Form",defaultProps:{eyebrow:"",title:"",designCode:""}};export{e as REVIEW_FORM_PH,o as ReviewFormMeta};
1
+ import{REVIEWS_OWN as e}from"../../../../content/block-own-pads.js";const r={eyebrow:"Your turn",title:"Leave a *review.*"},t={ownPad:e,label:"Review Form",defaultProps:{eyebrow:"",title:"",designCode:""}};export{r as REVIEW_FORM_PH,t as ReviewFormMeta};
@@ -1 +1 @@
1
- import{jsx as n}from"react/jsx-runtime";import m from"../../../../../components/ReviewForm.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as f}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as o}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{ReviewFormMeta as w,REVIEW_FORM_PH as r}from"./meta.js";const h={...w,render:e=>{const i=f(e.headPlacement)==="own-box",t=d=>i?void 0:d;return n(m,{eyebrow:t(o(e.eyebrow,r.eyebrow,e.editor)),title:t(o(e.title,r.title,e.editor)),omitHead:i,designCode:a(e.designCode)||void 0,editing:e.editor?.isEditing})}};export{h as ReviewFormRender};
1
+ import{jsx as m}from"react/jsx-runtime";import n from"../../../../../components/ReviewForm.js";import{hidableText as a}from"efficient-easel/screen/lib/document/hidable";import{parseSectionHeadPlacement as f}from"efficient-web-builder/format/lib/sections/section-head-placement";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{ReviewFormMeta as w,REVIEW_FORM_PH as r}from"./meta.js";import{padsItself as l}from"../../../pads-itself.js";const h=l("ReviewForm",{...w,render:e=>{const i=f(e.headPlacement)==="own-box",o=d=>i?void 0:d;return m(n,{eyebrow:o(t(e.eyebrow,r.eyebrow,e.editor)),title:o(t(e.title,r.title,e.editor)),omitHead:i,designCode:a(e.designCode)||void 0,editing:e.editor?.isEditing})}});export{h as ReviewFormRender};
@@ -1 +1 @@
1
- import{cardTemplateSlot as e}from"efficient-web-builder/format/lib/content/card-template";import{PRODUCT_REVIEWS_SOURCE as t}from"../../../../sections/reviews.js";const i={eyebrow:"Reviews",title:"From our *customers.*"},o={template:e()},l={label:"Reviews",fields:o,defaultProps:{eyebrow:"",title:"",columns:3,limit:6,dataSource:t,items:[]}};export{i as REVIEWS_PH,l as ReviewsMeta,o as ReviewsSlots};
1
+ import{cardTemplateSlot as e}from"efficient-web-builder/format/lib/content/card-template";import{PRODUCT_REVIEWS_SOURCE as t}from"../../../../sections/reviews.js";import{REVIEWS_OWN as o}from"../../../../content/block-own-pads.js";const l={eyebrow:"Reviews",title:"From our *customers.*"},r={template:e()},a={ownPad:o,label:"Reviews",fields:r,defaultProps:{eyebrow:"",title:"",columns:3,limit:6,dataSource:t,items:[]}};export{l as REVIEWS_PH,a as ReviewsMeta,r as ReviewsSlots};
@@ -1 +1 @@
1
- import{jsx as s}from"react/jsx-runtime";import f from"../../../../../components/Reviews.js";import{CardTemplateRows as y}from"efficient-web-builder/render/components/CardRowContext";import{cardRow as h}from"efficient-web-builder/format/lib/content/card-template";import{declaredBlockSource as p,sourcedRows as b}from"efficient-web-builder/format/lib/content/block-sources";import{parseSectionHeadPlacement as R}from"efficient-web-builder/format/lib/sections/section-head-placement";import{parseSectionEyebrowLook as g}from"efficient-web-builder/format/lib/sections/section-eyebrow-look";import{phHide as c}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as i}from"efficient-web-builder/format/lib/editor-words";import{ReviewsMeta as k,REVIEWS_PH as d}from"./meta.js";const w=()=>[{key:"sample-review-1",name:i("Sample reviewer"),rating:"5",title:i("Sample review title"),quote:i("Approved customer reviews appear here automatically — this card is only a preview of the section's shape.")},{key:"sample-review-2",name:i("Sample reviewer"),rating:"4",title:"",quote:i("Reviews are collected by the Review Form section and wait for your approval before they show.")},{key:"sample-review-3",name:i("Sample reviewer"),rating:"5",title:i("Another sample"),quote:i("Set a product design code on this section to show one product's reviews; leave it blank for the whole store.")}],S=(e,o)=>{const a=Number.parseFloat(e.rating??"");return{key:e.key||`review-${o}`,quote:e.quote??"",title:e.title??"",name:e.name??"",meta:e.dateLabel||e.role||"",...Number.isFinite(a)?{rating:a}:{}}},q=e=>(Array.isArray(e)?e:[]).map(h).filter(o=>(o.quote??"").trim()),I={...k,render:e=>{const o=R(e.headPlacement)==="own-box",a=t=>o?void 0:t,m=!!e.editor?.isEditing;let r,l=!1;if(p(e)!==""){const t=b(e,m,w()),u=typeof e.limit=="number"&&e.limit>0?e.limit:6;r=t.sample?t.rows:t.rows.slice(0,u),l=t.sample}else r=q(e.items),!r.length&&m&&(r=w(),l=!0);const v=r.map(S),n=t=>s(f,{look:g(e.eyebrowLook,"Reviews"),eyebrow:a(c(e.eyebrow,d.eyebrow,e.editor)),title:a(c(e.title,d.title,e.editor)),omitHead:o,columns:e.columns,rows:v,sample:l,editing:m,cards:t});return s(y,{ownerId:String(e.id??""),ownerType:"Reviews",Template:e.template,rows:r,fallback:n(),children:t=>n(t)})}};export{I as ReviewsRender};
1
+ import{jsx as n}from"react/jsx-runtime";import u from"../../../../../components/Reviews.js";import{CardTemplateRows as y}from"efficient-web-builder/render/components/CardRowContext";import{cardRow as p}from"efficient-web-builder/format/lib/content/card-template";import{declaredBlockSource as h,sourcedRows as R}from"efficient-web-builder/format/lib/content/block-sources";import{parseSectionHeadPlacement as b}from"efficient-web-builder/format/lib/sections/section-head-placement";import{parseSectionEyebrowLook as g}from"efficient-web-builder/format/lib/sections/section-eyebrow-look";import{phHide as c}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{say as i}from"efficient-web-builder/format/lib/editor-words";import{ReviewsMeta as k,REVIEWS_PH as d}from"./meta.js";import{padsItself as S}from"../../../pads-itself.js";const w=()=>[{key:"sample-review-1",name:i("Sample reviewer"),rating:"5",title:i("Sample review title"),quote:i("Approved customer reviews appear here automatically — this card is only a preview of the section's shape.")},{key:"sample-review-2",name:i("Sample reviewer"),rating:"4",title:"",quote:i("Reviews are collected by the Review Form section and wait for your approval before they show.")},{key:"sample-review-3",name:i("Sample reviewer"),rating:"5",title:i("Another sample"),quote:i("Set a product design code on this section to show one product's reviews; leave it blank for the whole store.")}],q=(e,o)=>{const a=Number.parseFloat(e.rating??"");return{key:e.key||`review-${o}`,quote:e.quote??"",title:e.title??"",name:e.name??"",meta:e.dateLabel||e.role||"",...Number.isFinite(a)?{rating:a}:{}}},x=e=>(Array.isArray(e)?e:[]).map(p).filter(o=>(o.quote??"").trim()),_=S("Reviews",{...k,render:e=>{const o=b(e.headPlacement)==="own-box",a=t=>o?void 0:t,m=!!e.editor?.isEditing;let r,l=!1;if(h(e)!==""){const t=R(e,m,w()),f=typeof e.limit=="number"&&e.limit>0?e.limit:6;r=t.sample?t.rows:t.rows.slice(0,f),l=t.sample}else r=x(e.items),!r.length&&m&&(r=w(),l=!0);const v=r.map(q),s=t=>n(u,{look:g(e.eyebrowLook,"Reviews"),eyebrow:a(c(e.eyebrow,d.eyebrow,e.editor)),title:a(c(e.title,d.title,e.editor)),omitHead:o,columns:e.columns,rows:v,sample:l,editing:m,cards:t});return n(y,{ownerId:String(e.id??""),ownerType:"Reviews",Template:e.template,rows:r,fallback:s(),children:t=>s(t)})}});export{_ as ReviewsRender};
@@ -1 +1 @@
1
- import{jsx as i}from"react/jsx-runtime";import h from"../../../../../components/BoxHeaderBar.js";import f from"../../../../../components/SectionGroupBody.js";import{headerBarFromProps as l}from"../../../published-header-bar.js";import{SiteHeaderMeta as g}from"./meta.js";const S={...g,render:({sections:a,navTextCase:n,toolTextStyle:d,menuRow:p,sticky:m,topTextColor:s,heightPx:x,sectionAccent:c,editor:t,...r})=>{const o=i(f,{place:"header",sections:a,widths:r,navTextCase:n,menuRow:p,toolTextStyle:d,editing:t?.isEditing});if(!t?.isEditing)return o;const e=l({sticky:m,topTextColor:s,heightPx:x,sectionAccent:c,...r});return i(h,{sticky:e.sticky,topTextColor:e.topTextColor,heightPx:e.heightPx,theme:e.theme,bandCapped:e.bandCapped,children:o})}};export{S as SiteHeaderRender};
1
+ import{jsx as i}from"react/jsx-runtime";import y from"../../../../../components/BoxHeaderBar.js";import C from"../../../../../components/SectionGroupBody.js";import{headerBarFromProps as f}from"../../../published-header-bar.js";import{SiteHeaderMeta as u}from"./meta.js";const S={...u,render:({sections:a,navTextCase:n,toolTextStyle:p,menuRow:d,sticky:m,topTextColor:s,topTextCustom:x,linkOpacity:c,heightPx:h,sectionAccent:l,editor:t,...o})=>{const r=i(C,{place:"header",sections:a,widths:o,navTextCase:n,menuRow:d,toolTextStyle:p,editing:t?.isEditing});if(!t?.isEditing)return r;const e=f({sticky:m,topTextColor:s,topTextCustom:x,linkOpacity:c,heightPx:h,sectionAccent:l,...o});return i(y,{sticky:e.sticky,topTextColor:e.topTextColor,topTextCustom:e.topTextCustom,linkOpacity:e.linkOpacity,heightPx:e.heightPx,theme:e.theme,bandCapped:e.bandCapped,children:r})}};export{S as SiteHeaderRender};
@@ -1 +1 @@
1
- import{SUBMIT_DEFAULTS as t}from"../../../../sections/submit-build-copy.js";const o={boxes:{type:"slot",allow:["SubmitBox"]}},l={label:"Photo Submission Form",fields:o,defaultProps:{eyebrow:t.eyebrow,title:t.title,body:t.body,formSlug:"",buttonText:t.buttonText,consent:t.consent}};export{l as SubmitBuildMeta,o as SubmitBuildSlots};
1
+ import{SUBMIT_DEFAULTS as o}from"../../../../sections/submit-build-copy.js";import{SUBMIT_BUILD_OWN as t}from"../../../../content/block-own-pads.js";const e={boxes:{type:"slot",allow:["SubmitBox"]}},i={ownPad:t,label:"Photo Submission Form",fields:e,defaultProps:{eyebrow:o.eyebrow,title:o.title,body:o.body,formSlug:"",buttonText:o.buttonText,consent:o.consent}};export{i as SubmitBuildMeta,e as SubmitBuildSlots};
@@ -1 +1 @@
1
- import{jsx as o}from"react/jsx-runtime";import d from"../../../../../components/SubmitBuild.js";import{SUBMIT_DEFAULTS as e}from"../../../../sections/submit-build-copy.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{phHideDefault as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SubmitBuildMeta as n}from"./meta.js";const y={...n,render:t=>o(d,{boxes:t.boxes,inBoxes:t.layout==="boxes",eyebrow:i(t.eyebrow,e.eyebrow,t.editor),title:i(t.title,e.title,t.editor),body:i(t.body,e.body,t.editor),buttonText:i(t.buttonText,e.buttonText,t.editor),consent:i(t.consent,e.consent,t.editor),formSlug:m(t.formSlug)||void 0,form:t.form,editing:t.editor?.isEditing})};export{y as SubmitBuildRender};
1
+ import{jsx as o}from"react/jsx-runtime";import d from"../../../../../components/SubmitBuild.js";import{SUBMIT_DEFAULTS as e}from"../../../../sections/submit-build-copy.js";import{hidableText as m}from"efficient-easel/screen/lib/document/hidable";import{phHideDefault as i}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SubmitBuildMeta as b}from"./meta.js";import{padsItself as n}from"../../../pads-itself.js";const a=n("SubmitBuild",{...b,render:t=>o(d,{boxes:t.boxes,inBoxes:t.layout==="boxes",eyebrow:i(t.eyebrow,e.eyebrow,t.editor),title:i(t.title,e.title,t.editor),body:i(t.body,e.body,t.editor),buttonText:i(t.buttonText,e.buttonText,t.editor),consent:i(t.consent,e.consent,t.editor),formSlug:m(t.formSlug)||void 0,form:t.form,editing:t.editor?.isEditing})});export{a as SubmitBuildRender};
@@ -1 +1 @@
1
- const e={label:"Subscribe Form",defaultProps:{headNum:"",headTitle:"",headDesc:"",kicker:"",leadTitle:"",intro:"",emailPlaceholder:"",submitText:"",subscribedText:"",finePrint:"",issuesHeading:"",issues:[],archiveText:"",archiveHref:""}};export{e as SubscribeMeta};
1
+ import{SUBSCRIBE_OWN as e}from"../../../../content/block-own-pads.js";const r={ownPad:e,label:"Subscribe Form",defaultProps:{headNum:"",headTitle:"",headDesc:"",kicker:"",leadTitle:"",intro:"",emailPlaceholder:"",submitText:"",subscribedText:"",finePrint:"",issuesHeading:"",issues:[],archiveText:"",archiveHref:""}};export{r as SubscribeMeta};
@@ -1 +1 @@
1
- import{jsx as D}from"react/jsx-runtime";import{subscribeContentTypeOf as _}from"../../../subscribe-content-type.js";import j from"../../../../../components/Subscribe.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{NEWSLETTER_SOURCE as y}from"../../../../newsletter-signup.js";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SUBSCRIBE_PH as e,subscribeRailRows as O}from"../subscribe.js";import{parseSectionHeadPlacement as U}from"efficient-web-builder/format/lib/sections/section-head-placement";import{SubscribeMeta as I}from"./meta.js";const Q={...I,render:n=>{const{headNum:o,headTitle:l,headDesc:c,kicker:d,leadTitle:m,intro:b,emailPlaceholder:h,submitText:T,subscribedText:u,finePrint:x,issuesHeading:f,issues:g,contentType:p,posts:P,limit:H,archiveText:S,archiveHref:k,align:v,alignTablet:A,alignPhone:E,textAlign:R,textAlignTablet:N,textAlignPhone:w,panel:B,editor:i}=n,s=U(n.headPlacement)==="own-box",a=C=>s?void 0:C;return D(j,{headNum:a(t(o,e.headNum,i)),headTitle:a(t(l,e.headTitle,i)),headDesc:a(t(c,e.headDesc,i)),omitHead:s,kicker:t(d,e.kicker,i),leadTitle:t(m,e.leadTitle,i),intro:t(b,e.intro,i),emailPlaceholder:r(h)||e.emailPlaceholder,submitText:r(T)||e.submitText,subscribedText:r(u)||e.subscribedText,finePrint:t(x,e.finePrint,i),issuesHeading:t(f,e.issuesHeading,i),issues:O(_(p),{issues:g,posts:P,limit:H,editor:i}),source:y.subscribeSection,editing:i?.isEditing,archiveText:t(S,e.archiveText,i),archiveHref:r(k)||e.archiveHref,align:v,alignTablet:A,alignPhone:E,textAlign:R,textAlignTablet:N,textAlignPhone:w,panel:B!==!1})}};export{Q as SubscribeRender};
1
+ import{jsx as D}from"react/jsx-runtime";import{subscribeContentTypeOf as _}from"../../../subscribe-content-type.js";import j from"../../../../../components/Subscribe.js";import{hidableText as r}from"efficient-easel/screen/lib/document/hidable";import{NEWSLETTER_SOURCE as y}from"../../../../newsletter-signup.js";import{phHide as t}from"efficient-web-builder/render/lib/document/blocks/scaffold";import{SUBSCRIBE_PH as e,subscribeRailRows as I}from"../subscribe.js";import{parseSectionHeadPlacement as O}from"efficient-web-builder/format/lib/sections/section-head-placement";import{SubscribeMeta as U}from"./meta.js";import{padsItself as L}from"../../../pads-itself.js";const X=L("Subscribe",{...U,render:s=>{const{headNum:o,headTitle:l,headDesc:c,kicker:d,leadTitle:m,intro:b,emailPlaceholder:h,submitText:u,subscribedText:T,finePrint:x,issuesHeading:f,issues:g,contentType:p,posts:P,limit:H,archiveText:S,archiveHref:k,align:v,alignTablet:A,alignPhone:E,textAlign:R,textAlignTablet:N,textAlignPhone:w,panel:B,editor:i}=s,n=O(s.headPlacement)==="own-box",a=C=>n?void 0:C;return D(j,{headNum:a(t(o,e.headNum,i)),headTitle:a(t(l,e.headTitle,i)),headDesc:a(t(c,e.headDesc,i)),omitHead:n,kicker:t(d,e.kicker,i),leadTitle:t(m,e.leadTitle,i),intro:t(b,e.intro,i),emailPlaceholder:r(h)||e.emailPlaceholder,submitText:r(u)||e.submitText,subscribedText:r(T)||e.subscribedText,finePrint:t(x,e.finePrint,i),issuesHeading:t(f,e.issuesHeading,i),issues:I(_(p),{issues:g,posts:P,limit:H,editor:i}),source:y.subscribeSection,editing:i?.isEditing,archiveText:t(S,e.archiveText,i),archiveHref:r(k)||e.archiveHref,align:v,alignTablet:A,alignPhone:E,textAlign:R,textAlignTablet:N,textAlignPhone:w,panel:B!==!1})}});export{X as SubscribeRender};
@@ -1 +1 @@
1
- import{SUBSCRIBE_PH as e}from"../subscribe.js";const s={...e,issuesHeading:"Recent posts",archiveText:"Read all posts →"},t={label:"Subscribe with Posts",defaultProps:{headNum:"",headTitle:"",headDesc:"",kicker:"",leadTitle:"",intro:"",emailPlaceholder:"",submitText:"",subscribedText:"",finePrint:"",issuesHeading:"",limit:4,archiveText:"",archiveHref:""}};export{s as SUBSCRIBE_BLOGS_PH,t as SubscribeBlogsMeta};
1
+ import{SUBSCRIBE_PH as e}from"../subscribe.js";import{SUBSCRIBE_OWN as i}from"../../../../content/block-own-pads.js";const r={...e,issuesHeading:"Recent posts",archiveText:"Read all posts →"},a={ownPad:i,label:"Subscribe with Posts",defaultProps:{headNum:"",headTitle:"",headDesc:"",kicker:"",leadTitle:"",intro:"",emailPlaceholder:"",submitText:"",subscribedText:"",finePrint:"",issuesHeading:"",limit:4,archiveText:"",archiveHref:""}};export{r as SUBSCRIBE_BLOGS_PH,a as SubscribeBlogsMeta};